var DS=Object.defineProperty;var TS=(a,i,n)=>i in a?DS(a,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[i]=n;var _e=(a,i,n)=>TS(a,typeof i!="symbol"?i+"":i,n);function xS(a,i){for(var n=0;n<i.length;n++){const t=i[n];if(typeof t!="string"&&!Array.isArray(t)){for(const l in t)if(l!=="default"&&!(l in a)){const s=Object.getOwnPropertyDescriptor(t,l);s&&Object.defineProperty(a,l,s.get?s:{enumerable:!0,get:()=>t[l]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))t(l);new MutationObserver(l=>{for(const s of l)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&t(c)}).observe(document,{childList:!0,subtree:!0});function n(l){const s={};return l.integrity&&(s.integrity=l.integrity),l.referrerPolicy&&(s.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?s.credentials="include":l.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function t(l){if(l.ep)return;l.ep=!0;const s=n(l);fetch(l.href,s)}})();var ec=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var e1={exports:{}},hs={};/**
 * @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 r4;function MS(){if(r4)return hs;r4=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function n(t,l,s){var c=null;if(s!==void 0&&(c=""+s),l.key!==void 0&&(c=""+l.key),"key"in l){s={};for(var d in l)d!=="key"&&(s[d]=l[d])}else s=l;return l=s.ref,{$$typeof:a,type:t,key:c,ref:l!==void 0?l:null,props:s}}return hs.Fragment=i,hs.jsx=n,hs.jsxs=n,hs}var a4;function OS(){return a4||(a4=1,e1.exports=MS()),e1.exports}var W=OS(),t1={exports:{}},ps={},n1={exports:{}},r1={};/**
 * @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 i4;function AS(){return i4||(i4=1,function(a){function i(T,N){var L=T.length;T.push(N);e:for(;0<L;){var $=L-1>>>1,A=T[$];if(0<l(A,N))T[$]=N,T[L]=A,L=$;else break e}}function n(T){return T.length===0?null:T[0]}function t(T){if(T.length===0)return null;var N=T[0],L=T.pop();if(L!==N){T[0]=L;e:for(var $=0,A=T.length,j=A>>>1;$<j;){var oe=2*($+1)-1,ae=T[oe],he=oe+1,fe=T[he];if(0>l(ae,L))he<A&&0>l(fe,ae)?(T[$]=fe,T[he]=L,$=he):(T[$]=ae,T[oe]=L,$=oe);else if(he<A&&0>l(fe,L))T[$]=fe,T[he]=L,$=he;else break e}}return N}function l(T,N){var L=T.sortIndex-N.sortIndex;return L!==0?L:T.id-N.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;a.unstable_now=function(){return s.now()}}else{var c=Date,d=c.now();a.unstable_now=function(){return c.now()-d}}var h=[],m=[],v=1,g=null,S=3,w=!1,M=!1,R=!1,C=!1,U=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,Y=typeof setImmediate<"u"?setImmediate:null;function K(T){for(var N=n(m);N!==null;){if(N.callback===null)t(m);else if(N.startTime<=T)t(m),N.sortIndex=N.expirationTime,i(h,N);else break;N=n(m)}}function X(T){if(R=!1,K(T),!M)if(n(h)!==null)M=!0,re||(re=!0,k());else{var N=n(m);N!==null&&H(X,N.startTime-T)}}var re=!1,V=-1,_=5,E=-1;function D(){return C?!0:!(a.unstable_now()-E<_)}function q(){if(C=!1,re){var T=a.unstable_now();E=T;var N=!0;try{e:{M=!1,R&&(R=!1,O(V),V=-1),w=!0;var L=S;try{t:{for(K(T),g=n(h);g!==null&&!(g.expirationTime>T&&D());){var $=g.callback;if(typeof $=="function"){g.callback=null,S=g.priorityLevel;var A=$(g.expirationTime<=T);if(T=a.unstable_now(),typeof A=="function"){g.callback=A,K(T),N=!0;break t}g===n(h)&&t(h),K(T)}else t(h);g=n(h)}if(g!==null)N=!0;else{var j=n(m);j!==null&&H(X,j.startTime-T),N=!1}}break e}finally{g=null,S=L,w=!1}N=void 0}}finally{N?k():re=!1}}}var k;if(typeof Y=="function")k=function(){Y(q)};else if(typeof MessageChannel<"u"){var z=new MessageChannel,B=z.port2;z.port1.onmessage=q,k=function(){B.postMessage(null)}}else k=function(){U(q,0)};function H(T,N){V=U(function(){T(a.unstable_now())},N)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(T){T.callback=null},a.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"):_=0<T?Math.floor(1e3/T):5},a.unstable_getCurrentPriorityLevel=function(){return S},a.unstable_next=function(T){switch(S){case 1:case 2:case 3:var N=3;break;default:N=S}var L=S;S=N;try{return T()}finally{S=L}},a.unstable_requestPaint=function(){C=!0},a.unstable_runWithPriority=function(T,N){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var L=S;S=T;try{return N()}finally{S=L}},a.unstable_scheduleCallback=function(T,N,L){var $=a.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?$+L:$):L=$,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:v++,callback:N,priorityLevel:T,startTime:L,expirationTime:A,sortIndex:-1},L>$?(T.sortIndex=L,i(m,T),n(h)===null&&T===n(m)&&(R?(O(V),V=-1):R=!0,H(X,L-$))):(T.sortIndex=A,i(h,T),M||w||(M=!0,re||(re=!0,k()))),T},a.unstable_shouldYield=D,a.unstable_wrapCallback=function(T){var N=S;return function(){var L=S;S=N;try{return T.apply(this,arguments)}finally{S=L}}}}(r1)),r1}var l4;function CS(){return l4||(l4=1,n1.exports=AS()),n1.exports}var a1={exports:{}},je={};/**
 * @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 o4;function RS(){if(o4)return je;o4=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),t=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.iterator;function S(A){return A===null||typeof A!="object"?null:(A=g&&A[g]||A["@@iterator"],typeof A=="function"?A:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M=Object.assign,R={};function C(A,j,oe){this.props=A,this.context=j,this.refs=R,this.updater=oe||w}C.prototype.isReactComponent={},C.prototype.setState=function(A,j){if(typeof A!="object"&&typeof A!="function"&&A!=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,A,j,"setState")},C.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function U(){}U.prototype=C.prototype;function O(A,j,oe){this.props=A,this.context=j,this.refs=R,this.updater=oe||w}var Y=O.prototype=new U;Y.constructor=O,M(Y,C.prototype),Y.isPureReactComponent=!0;var K=Array.isArray,X={H:null,A:null,T:null,S:null,V:null},re=Object.prototype.hasOwnProperty;function V(A,j,oe,ae,he,fe){return oe=fe.ref,{$$typeof:a,type:A,key:j,ref:oe!==void 0?oe:null,props:fe}}function _(A,j){return V(A.type,j,void 0,void 0,void 0,A.props)}function E(A){return typeof A=="object"&&A!==null&&A.$$typeof===a}function D(A){var j={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(oe){return j[oe]})}var q=/\/+/g;function k(A,j){return typeof A=="object"&&A!==null&&A.key!=null?D(""+A.key):j.toString(36)}function z(){}function B(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(z,z):(A.status="pending",A.then(function(j){A.status==="pending"&&(A.status="fulfilled",A.value=j)},function(j){A.status==="pending"&&(A.status="rejected",A.reason=j)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function H(A,j,oe,ae,he){var fe=typeof A;(fe==="undefined"||fe==="boolean")&&(A=null);var me=!1;if(A===null)me=!0;else switch(fe){case"bigint":case"string":case"number":me=!0;break;case"object":switch(A.$$typeof){case a:case i:me=!0;break;case v:return me=A._init,H(me(A._payload),j,oe,ae,he)}}if(me)return he=he(A),me=ae===""?"."+k(A,0):ae,K(he)?(oe="",me!=null&&(oe=me.replace(q,"$&/")+"/"),H(he,j,oe,"",function(qt){return qt})):he!=null&&(E(he)&&(he=_(he,oe+(he.key==null||A&&A.key===he.key?"":(""+he.key).replace(q,"$&/")+"/")+me)),j.push(he)),1;me=0;var ze=ae===""?".":ae+":";if(K(A))for(var Re=0;Re<A.length;Re++)ae=A[Re],fe=ze+k(ae,Re),me+=H(ae,j,oe,fe,he);else if(Re=S(A),typeof Re=="function")for(A=Re.call(A),Re=0;!(ae=A.next()).done;)ae=ae.value,fe=ze+k(ae,Re++),me+=H(ae,j,oe,fe,he);else if(fe==="object"){if(typeof A.then=="function")return H(B(A),j,oe,ae,he);throw j=String(A),Error("Objects are not valid as a React child (found: "+(j==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":j)+"). If you meant to render a collection of children, use an array instead.")}return me}function T(A,j,oe){if(A==null)return A;var ae=[],he=0;return H(A,ae,"","",function(fe){return j.call(oe,fe,he++)}),ae}function N(A){if(A._status===-1){var j=A._result;j=j(),j.then(function(oe){(A._status===0||A._status===-1)&&(A._status=1,A._result=oe)},function(oe){(A._status===0||A._status===-1)&&(A._status=2,A._result=oe)}),A._status===-1&&(A._status=0,A._result=j)}if(A._status===1)return A._result.default;throw A._result}var L=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var j=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(j))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)};function $(){}return je.Children={map:T,forEach:function(A,j,oe){T(A,function(){j.apply(this,arguments)},oe)},count:function(A){var j=0;return T(A,function(){j++}),j},toArray:function(A){return T(A,function(j){return j})||[]},only:function(A){if(!E(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},je.Component=C,je.Fragment=n,je.Profiler=l,je.PureComponent=O,je.StrictMode=t,je.Suspense=h,je.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X,je.__COMPILER_RUNTIME={__proto__:null,c:function(A){return X.H.useMemoCache(A)}},je.cache=function(A){return function(){return A.apply(null,arguments)}},je.cloneElement=function(A,j,oe){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var ae=M({},A.props),he=A.key,fe=void 0;if(j!=null)for(me in j.ref!==void 0&&(fe=void 0),j.key!==void 0&&(he=""+j.key),j)!re.call(j,me)||me==="key"||me==="__self"||me==="__source"||me==="ref"&&j.ref===void 0||(ae[me]=j[me]);var me=arguments.length-2;if(me===1)ae.children=oe;else if(1<me){for(var ze=Array(me),Re=0;Re<me;Re++)ze[Re]=arguments[Re+2];ae.children=ze}return V(A.type,he,void 0,void 0,fe,ae)},je.createContext=function(A){return A={$$typeof:c,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:s,_context:A},A},je.createElement=function(A,j,oe){var ae,he={},fe=null;if(j!=null)for(ae in j.key!==void 0&&(fe=""+j.key),j)re.call(j,ae)&&ae!=="key"&&ae!=="__self"&&ae!=="__source"&&(he[ae]=j[ae]);var me=arguments.length-2;if(me===1)he.children=oe;else if(1<me){for(var ze=Array(me),Re=0;Re<me;Re++)ze[Re]=arguments[Re+2];he.children=ze}if(A&&A.defaultProps)for(ae in me=A.defaultProps,me)he[ae]===void 0&&(he[ae]=me[ae]);return V(A,fe,void 0,void 0,null,he)},je.createRef=function(){return{current:null}},je.forwardRef=function(A){return{$$typeof:d,render:A}},je.isValidElement=E,je.lazy=function(A){return{$$typeof:v,_payload:{_status:-1,_result:A},_init:N}},je.memo=function(A,j){return{$$typeof:m,type:A,compare:j===void 0?null:j}},je.startTransition=function(A){var j=X.T,oe={};X.T=oe;try{var ae=A(),he=X.S;he!==null&&he(oe,ae),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&ae.then($,L)}catch(fe){L(fe)}finally{X.T=j}},je.unstable_useCacheRefresh=function(){return X.H.useCacheRefresh()},je.use=function(A){return X.H.use(A)},je.useActionState=function(A,j,oe){return X.H.useActionState(A,j,oe)},je.useCallback=function(A,j){return X.H.useCallback(A,j)},je.useContext=function(A){return X.H.useContext(A)},je.useDebugValue=function(){},je.useDeferredValue=function(A,j){return X.H.useDeferredValue(A,j)},je.useEffect=function(A,j,oe){var ae=X.H;if(typeof oe=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return ae.useEffect(A,j)},je.useId=function(){return X.H.useId()},je.useImperativeHandle=function(A,j,oe){return X.H.useImperativeHandle(A,j,oe)},je.useInsertionEffect=function(A,j){return X.H.useInsertionEffect(A,j)},je.useLayoutEffect=function(A,j){return X.H.useLayoutEffect(A,j)},je.useMemo=function(A,j){return X.H.useMemo(A,j)},je.useOptimistic=function(A,j){return X.H.useOptimistic(A,j)},je.useReducer=function(A,j,oe){return X.H.useReducer(A,j,oe)},je.useRef=function(A){return X.H.useRef(A)},je.useState=function(A){return X.H.useState(A)},je.useSyncExternalStore=function(A,j,oe){return X.H.useSyncExternalStore(A,j,oe)},je.useTransition=function(){return X.H.useTransition()},je.version="19.1.0",je}var s4;function K2(){return s4||(s4=1,a1.exports=RS()),a1.exports}var i1={exports:{}},Hn={};/**
 * @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 u4;function NS(){if(u4)return Hn;u4=1;var a=K2();function i(h){var m="https://react.dev/errors/"+h;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)m+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+h+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var t={d:{f:n,r:function(){throw Error(i(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},l=Symbol.for("react.portal");function s(h,m,v){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:g==null?null:""+g,children:h,containerInfo:m,implementation:v}}var c=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(h,m){if(h==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return Hn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=t,Hn.createPortal=function(h,m){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(i(299));return s(h,m,null,v)},Hn.flushSync=function(h){var m=c.T,v=t.p;try{if(c.T=null,t.p=2,h)return h()}finally{c.T=m,t.p=v,t.d.f()}},Hn.preconnect=function(h,m){typeof h=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,t.d.C(h,m))},Hn.prefetchDNS=function(h){typeof h=="string"&&t.d.D(h)},Hn.preinit=function(h,m){if(typeof h=="string"&&m&&typeof m.as=="string"){var v=m.as,g=d(v,m.crossOrigin),S=typeof m.integrity=="string"?m.integrity:void 0,w=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;v==="style"?t.d.S(h,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:g,integrity:S,fetchPriority:w}):v==="script"&&t.d.X(h,{crossOrigin:g,integrity:S,fetchPriority:w,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},Hn.preinitModule=function(h,m){if(typeof h=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var v=d(m.as,m.crossOrigin);t.d.M(h,{crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&t.d.M(h)},Hn.preload=function(h,m){if(typeof h=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var v=m.as,g=d(v,m.crossOrigin);t.d.L(h,v,{crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},Hn.preloadModule=function(h,m){if(typeof h=="string")if(m){var v=d(m.as,m.crossOrigin);t.d.m(h,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else t.d.m(h)},Hn.requestFormReset=function(h){t.d.r(h)},Hn.unstable_batchedUpdates=function(h,m){return h(m)},Hn.useFormState=function(h,m,v){return c.H.useFormState(h,m,v)},Hn.useFormStatus=function(){return c.H.useHostTransitionStatus()},Hn.version="19.1.0",Hn}var c4;function k9(){if(c4)return i1.exports;c4=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),i1.exports=NS(),i1.exports}/**
 * @license React
 * react-dom-client.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 f4;function kS(){if(f4)return ps;f4=1;var a=CS(),i=K2(),n=k9();function t(e){var r="https://react.dev/errors/"+e;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)r+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function s(e){var r=e,o=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do r=e,(r.flags&4098)!==0&&(o=r.return),e=r.return;while(e)}return r.tag===3?o:null}function c(e){if(e.tag===13){var r=e.memoizedState;if(r===null&&(e=e.alternate,e!==null&&(r=e.memoizedState)),r!==null)return r.dehydrated}return null}function d(e){if(s(e)!==e)throw Error(t(188))}function h(e){var r=e.alternate;if(!r){if(r=s(e),r===null)throw Error(t(188));return r!==e?null:e}for(var o=e,u=r;;){var f=o.return;if(f===null)break;var p=f.alternate;if(p===null){if(u=f.return,u!==null){o=u;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===o)return d(f),e;if(p===u)return d(f),r;p=p.sibling}throw Error(t(188))}if(o.return!==u.return)o=f,u=p;else{for(var b=!1,x=f.child;x;){if(x===o){b=!0,o=f,u=p;break}if(x===u){b=!0,u=f,o=p;break}x=x.sibling}if(!b){for(x=p.child;x;){if(x===o){b=!0,o=p,u=f;break}if(x===u){b=!0,u=p,o=f;break}x=x.sibling}if(!b)throw Error(t(189))}}if(o.alternate!==u)throw Error(t(190))}if(o.tag!==3)throw Error(t(188));return o.stateNode.current===o?e:r}function m(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e;for(e=e.child;e!==null;){if(r=m(e),r!==null)return r;e=e.sibling}return null}var v=Object.assign,g=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),U=Symbol.for("react.provider"),O=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),re=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),D=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function k(e){return e===null||typeof e!="object"?null:(e=q&&e[q]||e["@@iterator"],typeof e=="function"?e:null)}var z=Symbol.for("react.client.reference");function B(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===z?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case M:return"Fragment";case C:return"Profiler";case R:return"StrictMode";case X:return"Suspense";case re:return"SuspenseList";case E:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case w:return"Portal";case Y:return(e.displayName||"Context")+".Provider";case O:return(e._context.displayName||"Context")+".Consumer";case K:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case V:return r=e.displayName||null,r!==null?r:B(e.type)||"Memo";case _:r=e._payload,e=e._init;try{return B(e(r))}catch{}}return null}var H=Array.isArray,T=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L={pending:!1,data:null,method:null,action:null},$=[],A=-1;function j(e){return{current:e}}function oe(e){0>A||(e.current=$[A],$[A]=null,A--)}function ae(e,r){A++,$[A]=e.current,e.current=r}var he=j(null),fe=j(null),me=j(null),ze=j(null);function Re(e,r){switch(ae(me,r),ae(fe,e),ae(he,null),r.nodeType){case 9:case 11:e=(e=r.documentElement)&&(e=e.namespaceURI)?Rv(e):0;break;default:if(e=r.tagName,r=r.namespaceURI)r=Rv(r),e=Nv(r,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}oe(he),ae(he,e)}function qt(){oe(he),oe(fe),oe(me)}function Ut(e){e.memoizedState!==null&&ae(ze,e);var r=he.current,o=Nv(r,e.type);r!==o&&(ae(fe,e),ae(he,o))}function mt(e){fe.current===e&&(oe(he),oe(fe)),ze.current===e&&(oe(ze),ss._currentValue=L)}var Ht=Object.prototype.hasOwnProperty,lt=a.unstable_scheduleCallback,nt=a.unstable_cancelCallback,Ue=a.unstable_shouldYield,Rn=a.unstable_requestPaint,xt=a.unstable_now,Nn=a.unstable_getCurrentPriorityLevel,Je=a.unstable_ImmediatePriority,Wn=a.unstable_UserBlockingPriority,zn=a.unstable_NormalPriority,qe=a.unstable_LowPriority,ge=a.unstable_IdlePriority,He=a.log,Ae=a.unstable_setDisableYieldValue,Ze=null,ot=null;function Rt(e){if(typeof He=="function"&&Ae(e),ot&&typeof ot.setStrictMode=="function")try{ot.setStrictMode(Ze,e)}catch{}}var Mt=Math.clz32?Math.clz32:kn,vr=Math.log,En=Math.LN2;function kn(e){return e>>>=0,e===0?32:31-(vr(e)/En|0)|0}var Ft=256,We=4194304;function Pt(e){var r=e&42;if(r!==0)return r;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ln(e,r,o){var u=e.pendingLanes;if(u===0)return 0;var f=0,p=e.suspendedLanes,b=e.pingedLanes;e=e.warmLanes;var x=u&134217727;return x!==0?(u=x&~p,u!==0?f=Pt(u):(b&=x,b!==0?f=Pt(b):o||(o=x&~e,o!==0&&(f=Pt(o))))):(x=u&~p,x!==0?f=Pt(x):b!==0?f=Pt(b):o||(o=u&~e,o!==0&&(f=Pt(o)))),f===0?0:r!==0&&r!==f&&(r&p)===0&&(p=f&-f,o=r&-r,p>=o||p===32&&(o&4194048)!==0)?r:f}function vn(e,r){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&r)===0}function qr(e,r){switch(e){case 1:case 2:case 4:case 8:case 64:return r+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 r+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 Ln(){var e=Ft;return Ft<<=1,(Ft&4194048)===0&&(Ft=256),e}function qn(){var e=We;return We<<=1,(We&62914560)===0&&(We=4194304),e}function wn(e){for(var r=[],o=0;31>o;o++)r.push(e);return r}function rt(e,r){e.pendingLanes|=r,r!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Qn(e,r,o,u,f,p){var b=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var x=e.entanglements,P=e.expirationTimes,ee=e.hiddenUpdates;for(o=b&~o;0<o;){var ie=31-Mt(o),se=1<<ie;x[ie]=0,P[ie]=-1;var te=ee[ie];if(te!==null)for(ee[ie]=null,ie=0;ie<te.length;ie++){var ne=te[ie];ne!==null&&(ne.lane&=-536870913)}o&=~se}u!==0&&Ot(e,u,0),p!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=p&~(b&~r))}function Ot(e,r,o){e.pendingLanes|=r,e.suspendedLanes&=~r;var u=31-Mt(r);e.entangledLanes|=r,e.entanglements[u]=e.entanglements[u]|1073741824|o&4194090}function $e(e,r){var o=e.entangledLanes|=r;for(e=e.entanglements;o;){var u=31-Mt(o),f=1<<u;f&r|e[u]&r&&(e[u]|=r),o&=~f}}function Te(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Ye(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Jt(){var e=N.p;return e!==0?e:(e=window.event,e===void 0?32:Xv(e.type))}function vt(e,r){var o=N.p;try{return N.p=e,r()}finally{N.p=o}}var pe=Math.random().toString(36).slice(2),ye="__reactFiber$"+pe,we="__reactProps$"+pe,Be="__reactContainer$"+pe,At="__reactEvents$"+pe,Dn="__reactListeners$"+pe,gn="__reactHandles$"+pe,zt="__reactResources$"+pe,Yt="__reactMarker$"+pe;function Me(e){delete e[ye],delete e[we],delete e[At],delete e[Dn],delete e[gn]}function dn(e){var r=e[ye];if(r)return r;for(var o=e.parentNode;o;){if(r=o[Be]||o[ye]){if(o=r.alternate,r.child!==null||o!==null&&o.child!==null)for(e=Uv(e);e!==null;){if(o=e[ye])return o;e=Uv(e)}return r}e=o,o=e.parentNode}return null}function gt(e){if(e=e[ye]||e[Be]){var r=e.tag;if(r===5||r===6||r===13||r===26||r===27||r===3)return e}return null}function tr(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e.stateNode;throw Error(t(33))}function et(e){var r=e[zt];return r||(r=e[zt]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function yt(e){e[Yt]=!0}var Ee=new Set,F={};function ue(e,r){ce(e,r),ce(e+"Capture",r)}function ce(e,r){for(F[e]=r,e=0;e<r.length;e++)Ee.add(r[e])}var Ie=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]*$"),dt={},ht={};function Nt(e){return Ht.call(ht,e)?!0:Ht.call(dt,e)?!1:Ie.test(e)?ht[e]=!0:(dt[e]=!0,!1)}function Gt(e,r,o){if(Nt(r))if(o===null)e.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":e.removeAttribute(r);return;case"boolean":var u=r.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(r);return}}e.setAttribute(r,""+o)}}function Kn(e,r,o){if(o===null)e.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttribute(r,""+o)}}function st(e,r,o,u){if(u===null)e.removeAttribute(o);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(o);return}e.setAttributeNS(r,o,""+u)}}var Ur,$r;function ya(e){if(Ur===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);Ur=r&&r[1]||"",$r=-1<o.stack.indexOf(`
    at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Ur+e+$r}var pl=!1;function go(e,r){if(!e||pl)return"";pl=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(r){var se=function(){throw Error()};if(Object.defineProperty(se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(se,[])}catch(ne){var te=ne}Reflect.construct(e,[],se)}else{try{se.call()}catch(ne){te=ne}e.call(se.prototype)}}else{try{throw Error()}catch(ne){te=ne}(se=e())&&typeof se.catch=="function"&&se.catch(function(){})}}catch(ne){if(ne&&te&&typeof ne.stack=="string")return[ne.stack,te.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=u.DetermineComponentFrameRoot(),b=p[0],x=p[1];if(b&&x){var P=b.split(`
`),ee=x.split(`
`);for(f=u=0;u<P.length&&!P[u].includes("DetermineComponentFrameRoot");)u++;for(;f<ee.length&&!ee[f].includes("DetermineComponentFrameRoot");)f++;if(u===P.length||f===ee.length)for(u=P.length-1,f=ee.length-1;1<=u&&0<=f&&P[u]!==ee[f];)f--;for(;1<=u&&0<=f;u--,f--)if(P[u]!==ee[f]){if(u!==1||f!==1)do if(u--,f--,0>f||P[u]!==ee[f]){var ie=`
`+P[u].replace(" at new "," at ");return e.displayName&&ie.includes("<anonymous>")&&(ie=ie.replace("<anonymous>",e.displayName)),ie}while(1<=u&&0<=f);break}}}finally{pl=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?ya(o):""}function yo(e){switch(e.tag){case 26:case 27:case 5:return ya(e.type);case 16:return ya("Lazy");case 13:return ya("Suspense");case 19:return ya("SuspenseList");case 0:case 15:return go(e.type,!1);case 11:return go(e.type.render,!1);case 1:return go(e.type,!0);case 31:return ya("Activity");default:return""}}function Wa(e){try{var r="";do r+=yo(e),e=e.return;while(e);return r}catch(o){return`
Error generating stack: `+o.message+`
`+o.stack}}function hn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ba(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Vs(e){var r=ba(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),u=""+e[r];if(!e.hasOwnProperty(r)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var f=o.get,p=o.set;return Object.defineProperty(e,r,{configurable:!0,get:function(){return f.call(this)},set:function(b){u=""+b,p.call(this,b)}}),Object.defineProperty(e,r,{enumerable:o.enumerable}),{getValue:function(){return u},setValue:function(b){u=""+b},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function ki(e){e._valueTracker||(e._valueTracker=Vs(e))}function bo(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var o=r.getValue(),u="";return e&&(u=ba(e)?e.checked?"true":"false":e.value),e=u,e!==o?(r.setValue(e),!0):!1}function Qa(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Ws=/[\n"\\]/g;function Tn(e){return e.replace(Ws,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function Ka(e,r,o,u,f,p,b,x){e.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.type=b:e.removeAttribute("type"),r!=null?b==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+hn(r)):e.value!==""+hn(r)&&(e.value=""+hn(r)):b!=="submit"&&b!=="reset"||e.removeAttribute("value"),r!=null?Jr(e,b,hn(r)):o!=null?Jr(e,b,hn(o)):u!=null&&e.removeAttribute("value"),f==null&&p!=null&&(e.defaultChecked=!!p),f!=null&&(e.checked=f&&typeof f!="function"&&typeof f!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.name=""+hn(x):e.removeAttribute("name")}function gr(e,r,o,u,f,p,b,x){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.type=p),r!=null||o!=null){if(!(p!=="submit"&&p!=="reset"||r!=null))return;o=o!=null?""+hn(o):"",r=r!=null?""+hn(r):o,x||r===e.value||(e.value=r),e.defaultValue=r}u=u??f,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=x?e.checked:!!u,e.defaultChecked=!!u,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(e.name=b)}function Jr(e,r,o){r==="number"&&Qa(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function ea(e,r,o,u){if(e=e.options,r){r={};for(var f=0;f<o.length;f++)r["$"+o[f]]=!0;for(o=0;o<e.length;o++)f=r.hasOwnProperty("$"+e[o].value),e[o].selected!==f&&(e[o].selected=f),f&&u&&(e[o].defaultSelected=!0)}else{for(o=""+hn(o),r=null,f=0;f<e.length;f++){if(e[f].value===o){e[f].selected=!0,u&&(e[f].defaultSelected=!0);return}r!==null||e[f].disabled||(r=e[f])}r!==null&&(r.selected=!0)}}function ml(e,r,o){if(r!=null&&(r=""+hn(r),r!==e.value&&(e.value=r),o==null)){e.defaultValue!==r&&(e.defaultValue=r);return}e.defaultValue=o!=null?""+hn(o):""}function Qs(e,r,o,u){if(r==null){if(u!=null){if(o!=null)throw Error(t(92));if(H(u)){if(1<u.length)throw Error(t(93));u=u[0]}o=u}o==null&&(o=""),r=o}o=hn(r),e.defaultValue=o,u=e.textContent,u===o&&u!==""&&u!==null&&(e.value=u)}function Hr(e,r){if(r){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=r;return}}e.textContent=r}var vl=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 Ks(e,r,o){var u=r.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?u?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="":u?e.setProperty(r,o):typeof o!="number"||o===0||vl.has(r)?r==="float"?e.cssFloat=o:e[r]=(""+o).trim():e[r]=o+"px"}function Xa(e,r,o){if(r!=null&&typeof r!="object")throw Error(t(62));if(e=e.style,o!=null){for(var u in o)!o.hasOwnProperty(u)||r!=null&&r.hasOwnProperty(u)||(u.indexOf("--")===0?e.setProperty(u,""):u==="float"?e.cssFloat="":e[u]="");for(var f in r)u=r[f],r.hasOwnProperty(f)&&o[f]!==u&&Ks(e,f,u)}else for(var p in r)r.hasOwnProperty(p)&&Ks(e,p,r[p])}function _o(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var lf=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"]]),on=/^[\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 Pr(e){return on.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var So=null;function gl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ta=null,_a=null;function Eo(e){var r=gt(e);if(r&&(e=r.stateNode)){var o=e[we]||null;e:switch(e=r.stateNode,r.type){case"input":if(Ka(e,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),r=o.name,o.type==="radio"&&r!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+Tn(""+r)+'"][type="radio"]'),r=0;r<o.length;r++){var u=o[r];if(u!==e&&u.form===e.form){var f=u[we]||null;if(!f)throw Error(t(90));Ka(u,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(r=0;r<o.length;r++)u=o[r],u.form===e.form&&bo(u)}break e;case"textarea":ml(e,o.value,o.defaultValue);break e;case"select":r=o.value,r!=null&&ea(e,!!o.multiple,r,!1)}}}var wo=!1;function nr(e,r,o){if(wo)return e(r,o);wo=!0;try{var u=e(r);return u}finally{if(wo=!1,(ta!==null||_a!==null)&&(ku(),ta&&(r=ta,e=_a,_a=ta=null,Eo(r),e)))for(r=0;r<e.length;r++)Eo(e[r])}}function na(e,r){var o=e.stateNode;if(o===null)return null;var u=o[we]||null;if(u===null)return null;o=u[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(t(231,r,typeof o));return o}var yr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),yl=!1;if(yr)try{var Sa={};Object.defineProperty(Sa,"passive",{get:function(){yl=!0}}),window.addEventListener("test",Sa,Sa),window.removeEventListener("test",Sa,Sa)}catch{yl=!1}var zr=null,rr=null,Li=null;function Do(){if(Li)return Li;var e,r=rr,o=r.length,u,f="value"in zr?zr.value:zr.textContent,p=f.length;for(e=0;e<o&&r[e]===f[e];e++);var b=o-e;for(u=1;u<=b&&r[o-u]===f[p-u];u++);return Li=f.slice(e,1<u?1-u:void 0)}function qi(e){var r=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&r===13&&(e=13)):e=r,e===10&&(e=13),32<=e||e===13?e:0}function Ui(){return!0}function Xs(){return!1}function be(e){function r(o,u,f,p,b){this._reactName=o,this._targetInst=f,this.type=u,this.nativeEvent=p,this.target=b,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(o=e[x],this[x]=o?o(p):p[x]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?Ui:Xs,this.isPropagationStopped=Xs,this}return v(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Ui)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Ui)},persist:function(){},isPersistent:Ui}),r}var G={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},de=be(G),Se=v({},G,{view:0,detail:0}),kt=be(Se),sn,en,un,Yn=v({},Se,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:sf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&e.type==="mousemove"?(sn=e.screenX-un.screenX,en=e.screenY-un.screenY):en=sn=0,un=e),sn)},movementY:function(e){return"movementY"in e?e.movementY:en}}),$a=be(Yn),xn=v({},Yn,{dataTransfer:0}),$s=be(xn),Js=v({},Se,{relatedTarget:0}),of=be(Js),Ob=v({},G,{animationName:0,elapsedTime:0,pseudoElement:0}),Ab=be(Ob),Cb=v({},G,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Rb=be(Cb),Nb=v({},G,{data:0}),Pm=be(Nb),kb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lb={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"},qb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ub(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=qb[e])?!!r[e]:!1}function sf(){return Ub}var Hb=v({},Se,{key:function(e){if(e.key){var r=kb[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=qi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Lb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:sf,charCode:function(e){return e.type==="keypress"?qi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?qi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Pb=be(Hb),zb=v({},Yn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zm=be(zb),Yb=v({},Se,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:sf}),jb=be(Yb),Bb=v({},G,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ib=be(Bb),Fb=v({},Yn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Gb=be(Fb),Zb=v({},G,{newState:0,oldState:0}),Vb=be(Zb),Wb=[9,13,27,32],uf=yr&&"CompositionEvent"in window,To=null;yr&&"documentMode"in document&&(To=document.documentMode);var Qb=yr&&"TextEvent"in window&&!To,Ym=yr&&(!uf||To&&8<To&&11>=To),jm=" ",Bm=!1;function Im(e,r){switch(e){case"keyup":return Wb.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var bl=!1;function Kb(e,r){switch(e){case"compositionend":return Fm(r);case"keypress":return r.which!==32?null:(Bm=!0,jm);case"textInput":return e=r.data,e===jm&&Bm?null:e;default:return null}}function Xb(e,r){if(bl)return e==="compositionend"||!uf&&Im(e,r)?(e=Do(),Li=rr=zr=null,bl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return Ym&&r.locale!=="ko"?null:r.data;default:return null}}var $b={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 Gm(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!$b[e.type]:r==="textarea"}function Zm(e,r,o,u){ta?_a?_a.push(u):_a=[u]:ta=u,r=zu(r,"onChange"),0<r.length&&(o=new de("onChange","change",null,o,u),e.push({event:o,listeners:r}))}var xo=null,Mo=null;function Jb(e){xv(e,0)}function eu(e){var r=tr(e);if(bo(r))return e}function Vm(e,r){if(e==="change")return r}var Wm=!1;if(yr){var cf;if(yr){var ff="oninput"in document;if(!ff){var Qm=document.createElement("div");Qm.setAttribute("oninput","return;"),ff=typeof Qm.oninput=="function"}cf=ff}else cf=!1;Wm=cf&&(!document.documentMode||9<document.documentMode)}function Km(){xo&&(xo.detachEvent("onpropertychange",Xm),Mo=xo=null)}function Xm(e){if(e.propertyName==="value"&&eu(Mo)){var r=[];Zm(r,Mo,e,gl(e)),nr(Jb,r)}}function e_(e,r,o){e==="focusin"?(Km(),xo=r,Mo=o,xo.attachEvent("onpropertychange",Xm)):e==="focusout"&&Km()}function t_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return eu(Mo)}function n_(e,r){if(e==="click")return eu(r)}function r_(e,r){if(e==="input"||e==="change")return eu(r)}function a_(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var ar=typeof Object.is=="function"?Object.is:a_;function Oo(e,r){if(ar(e,r))return!0;if(typeof e!="object"||e===null||typeof r!="object"||r===null)return!1;var o=Object.keys(e),u=Object.keys(r);if(o.length!==u.length)return!1;for(u=0;u<o.length;u++){var f=o[u];if(!Ht.call(r,f)||!ar(e[f],r[f]))return!1}return!0}function $m(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Jm(e,r){var o=$m(e);e=0;for(var u;o;){if(o.nodeType===3){if(u=e+o.textContent.length,e<=r&&u>=r)return{node:o,offset:r-e};e=u}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=$m(o)}}function e3(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?e3(e,r.parentNode):"contains"in e?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function t3(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var r=Qa(e.document);r instanceof e.HTMLIFrameElement;){try{var o=typeof r.contentWindow.location.href=="string"}catch{o=!1}if(o)e=r.contentWindow;else break;r=Qa(e.document)}return r}function df(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r&&(r==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||r==="textarea"||e.contentEditable==="true")}var i_=yr&&"documentMode"in document&&11>=document.documentMode,_l=null,hf=null,Ao=null,pf=!1;function n3(e,r,o){var u=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;pf||_l==null||_l!==Qa(u)||(u=_l,"selectionStart"in u&&df(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Ao&&Oo(Ao,u)||(Ao=u,u=zu(hf,"onSelect"),0<u.length&&(r=new de("onSelect","select",null,r,o),e.push({event:r,listeners:u}),r.target=_l)))}function Hi(e,r){var o={};return o[e.toLowerCase()]=r.toLowerCase(),o["Webkit"+e]="webkit"+r,o["Moz"+e]="moz"+r,o}var Sl={animationend:Hi("Animation","AnimationEnd"),animationiteration:Hi("Animation","AnimationIteration"),animationstart:Hi("Animation","AnimationStart"),transitionrun:Hi("Transition","TransitionRun"),transitionstart:Hi("Transition","TransitionStart"),transitioncancel:Hi("Transition","TransitionCancel"),transitionend:Hi("Transition","TransitionEnd")},mf={},r3={};yr&&(r3=document.createElement("div").style,"AnimationEvent"in window||(delete Sl.animationend.animation,delete Sl.animationiteration.animation,delete Sl.animationstart.animation),"TransitionEvent"in window||delete Sl.transitionend.transition);function Pi(e){if(mf[e])return mf[e];if(!Sl[e])return e;var r=Sl[e],o;for(o in r)if(r.hasOwnProperty(o)&&o in r3)return mf[e]=r[o];return e}var a3=Pi("animationend"),i3=Pi("animationiteration"),l3=Pi("animationstart"),l_=Pi("transitionrun"),o_=Pi("transitionstart"),s_=Pi("transitioncancel"),o3=Pi("transitionend"),s3=new Map,vf="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(" ");vf.push("scrollEnd");function Yr(e,r){s3.set(e,r),ue(r,[e])}var u3=new WeakMap;function br(e,r){if(typeof e=="object"&&e!==null){var o=u3.get(e);return o!==void 0?o:(r={value:e,source:r,stack:Wa(r)},u3.set(e,r),r)}return{value:e,source:r,stack:Wa(r)}}var _r=[],El=0,gf=0;function tu(){for(var e=El,r=gf=El=0;r<e;){var o=_r[r];_r[r++]=null;var u=_r[r];_r[r++]=null;var f=_r[r];_r[r++]=null;var p=_r[r];if(_r[r++]=null,u!==null&&f!==null){var b=u.pending;b===null?f.next=f:(f.next=b.next,b.next=f),u.pending=f}p!==0&&c3(o,f,p)}}function nu(e,r,o,u){_r[El++]=e,_r[El++]=r,_r[El++]=o,_r[El++]=u,gf|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function yf(e,r,o,u){return nu(e,r,o,u),ru(e)}function wl(e,r){return nu(e,null,null,r),ru(e)}function c3(e,r,o){e.lanes|=o;var u=e.alternate;u!==null&&(u.lanes|=o);for(var f=!1,p=e.return;p!==null;)p.childLanes|=o,u=p.alternate,u!==null&&(u.childLanes|=o),p.tag===22&&(e=p.stateNode,e===null||e._visibility&1||(f=!0)),e=p,p=p.return;return e.tag===3?(p=e.stateNode,f&&r!==null&&(f=31-Mt(o),e=p.hiddenUpdates,u=e[f],u===null?e[f]=[r]:u.push(r),r.lane=o|536870912),p):null}function ru(e){if(50<es)throw es=0,Dd=null,Error(t(185));for(var r=e.return;r!==null;)e=r,r=e.return;return e.tag===3?e.stateNode:null}var Dl={};function u_(e,r,o,u){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ir(e,r,o,u){return new u_(e,r,o,u)}function bf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ea(e,r){var o=e.alternate;return o===null?(o=ir(e.tag,r,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=r,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&65011712,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,r=e.dependencies,o.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.refCleanup=e.refCleanup,o}function f3(e,r){e.flags&=65011714;var o=e.alternate;return o===null?(e.childLanes=0,e.lanes=r,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type,r=o.dependencies,e.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),e}function au(e,r,o,u,f,p){var b=0;if(u=e,typeof e=="function")bf(e)&&(b=1);else if(typeof e=="string")b=fS(e,o,he.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case E:return e=ir(31,o,r,f),e.elementType=E,e.lanes=p,e;case M:return zi(o.children,f,p,r);case R:b=8,f|=24;break;case C:return e=ir(12,o,r,f|2),e.elementType=C,e.lanes=p,e;case X:return e=ir(13,o,r,f),e.elementType=X,e.lanes=p,e;case re:return e=ir(19,o,r,f),e.elementType=re,e.lanes=p,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case U:case Y:b=10;break e;case O:b=9;break e;case K:b=11;break e;case V:b=14;break e;case _:b=16,u=null;break e}b=29,o=Error(t(130,e===null?"null":typeof e,"")),u=null}return r=ir(b,o,r,f),r.elementType=e,r.type=u,r.lanes=p,r}function zi(e,r,o,u){return e=ir(7,e,u,r),e.lanes=o,e}function _f(e,r,o){return e=ir(6,e,null,r),e.lanes=o,e}function Sf(e,r,o){return r=ir(4,e.children!==null?e.children:[],e.key,r),r.lanes=o,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}var Tl=[],xl=0,iu=null,lu=0,Sr=[],Er=0,Yi=null,wa=1,Da="";function ji(e,r){Tl[xl++]=lu,Tl[xl++]=iu,iu=e,lu=r}function d3(e,r,o){Sr[Er++]=wa,Sr[Er++]=Da,Sr[Er++]=Yi,Yi=e;var u=wa;e=Da;var f=32-Mt(u)-1;u&=~(1<<f),o+=1;var p=32-Mt(r)+f;if(30<p){var b=f-f%5;p=(u&(1<<b)-1).toString(32),u>>=b,f-=b,wa=1<<32-Mt(r)+f|o<<f|u,Da=p+e}else wa=1<<p|o<<f|u,Da=e}function Ef(e){e.return!==null&&(ji(e,1),d3(e,1,0))}function wf(e){for(;e===iu;)iu=Tl[--xl],Tl[xl]=null,lu=Tl[--xl],Tl[xl]=null;for(;e===Yi;)Yi=Sr[--Er],Sr[Er]=null,Da=Sr[--Er],Sr[Er]=null,wa=Sr[--Er],Sr[Er]=null}var jn=null,Qt=null,ct=!1,Bi=null,ra=!1,Df=Error(t(519));function Ii(e){var r=Error(t(418,""));throw No(br(r,e)),Df}function h3(e){var r=e.stateNode,o=e.type,u=e.memoizedProps;switch(r[ye]=e,r[we]=u,o){case"dialog":Ke("cancel",r),Ke("close",r);break;case"iframe":case"object":case"embed":Ke("load",r);break;case"video":case"audio":for(o=0;o<ns.length;o++)Ke(ns[o],r);break;case"source":Ke("error",r);break;case"img":case"image":case"link":Ke("error",r),Ke("load",r);break;case"details":Ke("toggle",r);break;case"input":Ke("invalid",r),gr(r,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0),ki(r);break;case"select":Ke("invalid",r);break;case"textarea":Ke("invalid",r),Qs(r,u.value,u.defaultValue,u.children),ki(r)}o=u.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||r.textContent===""+o||u.suppressHydrationWarning===!0||Cv(r.textContent,o)?(u.popover!=null&&(Ke("beforetoggle",r),Ke("toggle",r)),u.onScroll!=null&&Ke("scroll",r),u.onScrollEnd!=null&&Ke("scrollend",r),u.onClick!=null&&(r.onclick=Yu),r=!0):r=!1,r||Ii(e)}function p3(e){for(jn=e.return;jn;)switch(jn.tag){case 5:case 13:ra=!1;return;case 27:case 3:ra=!0;return;default:jn=jn.return}}function Co(e){if(e!==jn)return!1;if(!ct)return p3(e),ct=!0,!1;var r=e.tag,o;if((o=r!==3&&r!==27)&&((o=r===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||Yd(e.type,e.memoizedProps)),o=!o),o&&Qt&&Ii(e),p3(e),r===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(t(317));e:{for(e=e.nextSibling,r=0;e;){if(e.nodeType===8)if(o=e.data,o==="/$"){if(r===0){Qt=Br(e.nextSibling);break e}r--}else o!=="$"&&o!=="$!"&&o!=="$?"||r++;e=e.nextSibling}Qt=null}}else r===27?(r=Qt,pi(e.type)?(e=Fd,Fd=null,Qt=e):Qt=r):Qt=jn?Br(e.stateNode.nextSibling):null;return!0}function Ro(){Qt=jn=null,ct=!1}function m3(){var e=Bi;return e!==null&&(Jn===null?Jn=e:Jn.push.apply(Jn,e),Bi=null),e}function No(e){Bi===null?Bi=[e]:Bi.push(e)}var Tf=j(null),Fi=null,Ta=null;function Ja(e,r,o){ae(Tf,r._currentValue),r._currentValue=o}function xa(e){e._currentValue=Tf.current,oe(Tf)}function xf(e,r,o){for(;e!==null;){var u=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,u!==null&&(u.childLanes|=r)):u!==null&&(u.childLanes&r)!==r&&(u.childLanes|=r),e===o)break;e=e.return}}function Mf(e,r,o,u){var f=e.child;for(f!==null&&(f.return=e);f!==null;){var p=f.dependencies;if(p!==null){var b=f.child;p=p.firstContext;e:for(;p!==null;){var x=p;p=f;for(var P=0;P<r.length;P++)if(x.context===r[P]){p.lanes|=o,x=p.alternate,x!==null&&(x.lanes|=o),xf(p.return,o,e),u||(b=null);break e}p=x.next}}else if(f.tag===18){if(b=f.return,b===null)throw Error(t(341));b.lanes|=o,p=b.alternate,p!==null&&(p.lanes|=o),xf(b,o,e),b=null}else b=f.child;if(b!==null)b.return=f;else for(b=f;b!==null;){if(b===e){b=null;break}if(f=b.sibling,f!==null){f.return=b.return,b=f;break}b=b.return}f=b}}function ko(e,r,o,u){e=null;for(var f=r,p=!1;f!==null;){if(!p){if((f.flags&524288)!==0)p=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var b=f.alternate;if(b===null)throw Error(t(387));if(b=b.memoizedProps,b!==null){var x=f.type;ar(f.pendingProps.value,b.value)||(e!==null?e.push(x):e=[x])}}else if(f===ze.current){if(b=f.alternate,b===null)throw Error(t(387));b.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(ss):e=[ss])}f=f.return}e!==null&&Mf(r,e,o,u),r.flags|=262144}function ou(e){for(e=e.firstContext;e!==null;){if(!ar(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Gi(e){Fi=e,Ta=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Un(e){return v3(Fi,e)}function su(e,r){return Fi===null&&Gi(e),v3(e,r)}function v3(e,r){var o=r._currentValue;if(r={context:r,memoizedValue:o,next:null},Ta===null){if(e===null)throw Error(t(308));Ta=r,e.dependencies={lanes:0,firstContext:r},e.flags|=524288}else Ta=Ta.next=r;return o}var c_=typeof AbortController<"u"?AbortController:function(){var e=[],r=this.signal={aborted:!1,addEventListener:function(o,u){e.push(u)}};this.abort=function(){r.aborted=!0,e.forEach(function(o){return o()})}},f_=a.unstable_scheduleCallback,d_=a.unstable_NormalPriority,pn={$$typeof:Y,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Of(){return{controller:new c_,data:new Map,refCount:0}}function Lo(e){e.refCount--,e.refCount===0&&f_(d_,function(){e.controller.abort()})}var qo=null,Af=0,Ml=0,Ol=null;function h_(e,r){if(qo===null){var o=qo=[];Af=0,Ml=Rd(),Ol={status:"pending",value:void 0,then:function(u){o.push(u)}}}return Af++,r.then(g3,g3),r}function g3(){if(--Af===0&&qo!==null){Ol!==null&&(Ol.status="fulfilled");var e=qo;qo=null,Ml=0,Ol=null;for(var r=0;r<e.length;r++)(0,e[r])()}}function p_(e,r){var o=[],u={status:"pending",value:null,reason:null,then:function(f){o.push(f)}};return e.then(function(){u.status="fulfilled",u.value=r;for(var f=0;f<o.length;f++)(0,o[f])(r)},function(f){for(u.status="rejected",u.reason=f,f=0;f<o.length;f++)(0,o[f])(void 0)}),u}var y3=T.S;T.S=function(e,r){typeof r=="object"&&r!==null&&typeof r.then=="function"&&h_(e,r),y3!==null&&y3(e,r)};var Zi=j(null);function Cf(){var e=Zi.current;return e!==null?e:Lt.pooledCache}function uu(e,r){r===null?ae(Zi,Zi.current):ae(Zi,r.pool)}function b3(){var e=Cf();return e===null?null:{parent:pn._currentValue,pool:e}}var Uo=Error(t(460)),_3=Error(t(474)),cu=Error(t(542)),Rf={then:function(){}};function S3(e){return e=e.status,e==="fulfilled"||e==="rejected"}function fu(){}function E3(e,r,o){switch(o=e[o],o===void 0?e.push(r):o!==r&&(r.then(fu,fu),r=o),r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,D3(e),e;default:if(typeof r.status=="string")r.then(fu,fu);else{if(e=Lt,e!==null&&100<e.shellSuspendCounter)throw Error(t(482));e=r,e.status="pending",e.then(function(u){if(r.status==="pending"){var f=r;f.status="fulfilled",f.value=u}},function(u){if(r.status==="pending"){var f=r;f.status="rejected",f.reason=u}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,D3(e),e}throw Ho=r,Uo}}var Ho=null;function w3(){if(Ho===null)throw Error(t(459));var e=Ho;return Ho=null,e}function D3(e){if(e===Uo||e===cu)throw Error(t(483))}var ei=!1;function Nf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function kf(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ti(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ni(e,r,o){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,(bt&2)!==0){var f=u.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),u.pending=r,r=ru(e),c3(e,null,o),r}return nu(e,u,r,o),ru(e)}function Po(e,r,o){if(r=r.updateQueue,r!==null&&(r=r.shared,(o&4194048)!==0)){var u=r.lanes;u&=e.pendingLanes,o|=u,r.lanes=o,$e(e,o)}}function Lf(e,r){var o=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,o===u)){var f=null,p=null;if(o=o.firstBaseUpdate,o!==null){do{var b={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};p===null?f=p=b:p=p.next=b,o=o.next}while(o!==null);p===null?f=p=r:p=p.next=r}else f=p=r;o={baseState:u.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:u.shared,callbacks:u.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=r:e.next=r,o.lastBaseUpdate=r}var qf=!1;function zo(){if(qf){var e=Ol;if(e!==null)throw e}}function Yo(e,r,o,u){qf=!1;var f=e.updateQueue;ei=!1;var p=f.firstBaseUpdate,b=f.lastBaseUpdate,x=f.shared.pending;if(x!==null){f.shared.pending=null;var P=x,ee=P.next;P.next=null,b===null?p=ee:b.next=ee,b=P;var ie=e.alternate;ie!==null&&(ie=ie.updateQueue,x=ie.lastBaseUpdate,x!==b&&(x===null?ie.firstBaseUpdate=ee:x.next=ee,ie.lastBaseUpdate=P))}if(p!==null){var se=f.baseState;b=0,ie=ee=P=null,x=p;do{var te=x.lane&-536870913,ne=te!==x.lane;if(ne?(tt&te)===te:(u&te)===te){te!==0&&te===Ml&&(qf=!0),ie!==null&&(ie=ie.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var Le=e,Ce=x;te=r;var Tt=o;switch(Ce.tag){case 1:if(Le=Ce.payload,typeof Le=="function"){se=Le.call(Tt,se,te);break e}se=Le;break e;case 3:Le.flags=Le.flags&-65537|128;case 0:if(Le=Ce.payload,te=typeof Le=="function"?Le.call(Tt,se,te):Le,te==null)break e;se=v({},se,te);break e;case 2:ei=!0}}te=x.callback,te!==null&&(e.flags|=64,ne&&(e.flags|=8192),ne=f.callbacks,ne===null?f.callbacks=[te]:ne.push(te))}else ne={lane:te,tag:x.tag,payload:x.payload,callback:x.callback,next:null},ie===null?(ee=ie=ne,P=se):ie=ie.next=ne,b|=te;if(x=x.next,x===null){if(x=f.shared.pending,x===null)break;ne=x,x=ne.next,ne.next=null,f.lastBaseUpdate=ne,f.shared.pending=null}}while(!0);ie===null&&(P=se),f.baseState=P,f.firstBaseUpdate=ee,f.lastBaseUpdate=ie,p===null&&(f.shared.lanes=0),ci|=b,e.lanes=b,e.memoizedState=se}}function T3(e,r){if(typeof e!="function")throw Error(t(191,e));e.call(r)}function x3(e,r){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)T3(o[e],r)}var Al=j(null),du=j(0);function M3(e,r){e=ka,ae(du,e),ae(Al,r),ka=e|r.baseLanes}function Uf(){ae(du,ka),ae(Al,Al.current)}function Hf(){ka=du.current,oe(Al),oe(du)}var ri=0,Fe=null,wt=null,cn=null,hu=!1,Cl=!1,Vi=!1,pu=0,jo=0,Rl=null,m_=0;function tn(){throw Error(t(321))}function Pf(e,r){if(r===null)return!1;for(var o=0;o<r.length&&o<e.length;o++)if(!ar(e[o],r[o]))return!1;return!0}function zf(e,r,o,u,f,p){return ri=p,Fe=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,T.H=e===null||e.memoizedState===null?c6:f6,Vi=!1,p=o(u,f),Vi=!1,Cl&&(p=A3(r,o,u,f)),O3(e),p}function O3(e){T.H=_u;var r=wt!==null&&wt.next!==null;if(ri=0,cn=wt=Fe=null,hu=!1,jo=0,Rl=null,r)throw Error(t(300));e===null||yn||(e=e.dependencies,e!==null&&ou(e)&&(yn=!0))}function A3(e,r,o,u){Fe=e;var f=0;do{if(Cl&&(Rl=null),jo=0,Cl=!1,25<=f)throw Error(t(301));if(f+=1,cn=wt=null,e.updateQueue!=null){var p=e.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}T.H=E_,p=r(o,u)}while(Cl);return p}function v_(){var e=T.H,r=e.useState()[0];return r=typeof r.then=="function"?Bo(r):r,e=e.useState()[0],(wt!==null?wt.memoizedState:null)!==e&&(Fe.flags|=1024),r}function Yf(){var e=pu!==0;return pu=0,e}function jf(e,r,o){r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~o}function Bf(e){if(hu){for(e=e.memoizedState;e!==null;){var r=e.queue;r!==null&&(r.pending=null),e=e.next}hu=!1}ri=0,cn=wt=Fe=null,Cl=!1,jo=pu=0,Rl=null}function Xn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return cn===null?Fe.memoizedState=cn=e:cn=cn.next=e,cn}function fn(){if(wt===null){var e=Fe.alternate;e=e!==null?e.memoizedState:null}else e=wt.next;var r=cn===null?Fe.memoizedState:cn.next;if(r!==null)cn=r,wt=e;else{if(e===null)throw Fe.alternate===null?Error(t(467)):Error(t(310));wt=e,e={memoizedState:wt.memoizedState,baseState:wt.baseState,baseQueue:wt.baseQueue,queue:wt.queue,next:null},cn===null?Fe.memoizedState=cn=e:cn=cn.next=e}return cn}function If(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Bo(e){var r=jo;return jo+=1,Rl===null&&(Rl=[]),e=E3(Rl,e,r),r=Fe,(cn===null?r.memoizedState:cn.next)===null&&(r=r.alternate,T.H=r===null||r.memoizedState===null?c6:f6),e}function mu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Bo(e);if(e.$$typeof===Y)return Un(e)}throw Error(t(438,String(e)))}function Ff(e){var r=null,o=Fe.updateQueue;if(o!==null&&(r=o.memoCache),r==null){var u=Fe.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(r={data:u.data.map(function(f){return f.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),o===null&&(o=If(),Fe.updateQueue=o),o.memoCache=r,o=r.data[r.index],o===void 0)for(o=r.data[r.index]=Array(e),u=0;u<e;u++)o[u]=D;return r.index++,o}function Ma(e,r){return typeof r=="function"?r(e):r}function vu(e){var r=fn();return Gf(r,wt,e)}function Gf(e,r,o){var u=e.queue;if(u===null)throw Error(t(311));u.lastRenderedReducer=o;var f=e.baseQueue,p=u.pending;if(p!==null){if(f!==null){var b=f.next;f.next=p.next,p.next=b}r.baseQueue=f=p,u.pending=null}if(p=e.baseState,f===null)e.memoizedState=p;else{r=f.next;var x=b=null,P=null,ee=r,ie=!1;do{var se=ee.lane&-536870913;if(se!==ee.lane?(tt&se)===se:(ri&se)===se){var te=ee.revertLane;if(te===0)P!==null&&(P=P.next={lane:0,revertLane:0,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null}),se===Ml&&(ie=!0);else if((ri&te)===te){ee=ee.next,te===Ml&&(ie=!0);continue}else se={lane:0,revertLane:ee.revertLane,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null},P===null?(x=P=se,b=p):P=P.next=se,Fe.lanes|=te,ci|=te;se=ee.action,Vi&&o(p,se),p=ee.hasEagerState?ee.eagerState:o(p,se)}else te={lane:se,revertLane:ee.revertLane,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null},P===null?(x=P=te,b=p):P=P.next=te,Fe.lanes|=se,ci|=se;ee=ee.next}while(ee!==null&&ee!==r);if(P===null?b=p:P.next=x,!ar(p,e.memoizedState)&&(yn=!0,ie&&(o=Ol,o!==null)))throw o;e.memoizedState=p,e.baseState=b,e.baseQueue=P,u.lastRenderedState=p}return f===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function Zf(e){var r=fn(),o=r.queue;if(o===null)throw Error(t(311));o.lastRenderedReducer=e;var u=o.dispatch,f=o.pending,p=r.memoizedState;if(f!==null){o.pending=null;var b=f=f.next;do p=e(p,b.action),b=b.next;while(b!==f);ar(p,r.memoizedState)||(yn=!0),r.memoizedState=p,r.baseQueue===null&&(r.baseState=p),o.lastRenderedState=p}return[p,u]}function C3(e,r,o){var u=Fe,f=fn(),p=ct;if(p){if(o===void 0)throw Error(t(407));o=o()}else o=r();var b=!ar((wt||f).memoizedState,o);b&&(f.memoizedState=o,yn=!0),f=f.queue;var x=k3.bind(null,u,f,e);if(Io(2048,8,x,[e]),f.getSnapshot!==r||b||cn!==null&&cn.memoizedState.tag&1){if(u.flags|=2048,Nl(9,gu(),N3.bind(null,u,f,o,r),null),Lt===null)throw Error(t(349));p||(ri&124)!==0||R3(u,r,o)}return o}function R3(e,r,o){e.flags|=16384,e={getSnapshot:r,value:o},r=Fe.updateQueue,r===null?(r=If(),Fe.updateQueue=r,r.stores=[e]):(o=r.stores,o===null?r.stores=[e]:o.push(e))}function N3(e,r,o,u){r.value=o,r.getSnapshot=u,L3(r)&&q3(e)}function k3(e,r,o){return o(function(){L3(r)&&q3(e)})}function L3(e){var r=e.getSnapshot;e=e.value;try{var o=r();return!ar(e,o)}catch{return!0}}function q3(e){var r=wl(e,2);r!==null&&cr(r,e,2)}function Vf(e){var r=Xn();if(typeof e=="function"){var o=e;if(e=o(),Vi){Rt(!0);try{o()}finally{Rt(!1)}}}return r.memoizedState=r.baseState=e,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:e},r}function U3(e,r,o,u){return e.baseState=o,Gf(e,wt,typeof u=="function"?u:Ma)}function g_(e,r,o,u,f){if(bu(e))throw Error(t(485));if(e=r.action,e!==null){var p={payload:f,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){p.listeners.push(b)}};T.T!==null?o(!0):p.isTransition=!1,u(p),o=r.pending,o===null?(p.next=r.pending=p,H3(r,p)):(p.next=o.next,r.pending=o.next=p)}}function H3(e,r){var o=r.action,u=r.payload,f=e.state;if(r.isTransition){var p=T.T,b={};T.T=b;try{var x=o(f,u),P=T.S;P!==null&&P(b,x),P3(e,r,x)}catch(ee){Wf(e,r,ee)}finally{T.T=p}}else try{p=o(f,u),P3(e,r,p)}catch(ee){Wf(e,r,ee)}}function P3(e,r,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(u){z3(e,r,u)},function(u){return Wf(e,r,u)}):z3(e,r,o)}function z3(e,r,o){r.status="fulfilled",r.value=o,Y3(r),e.state=o,r=e.pending,r!==null&&(o=r.next,o===r?e.pending=null:(o=o.next,r.next=o,H3(e,o)))}function Wf(e,r,o){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do r.status="rejected",r.reason=o,Y3(r),r=r.next;while(r!==u)}e.action=null}function Y3(e){e=e.listeners;for(var r=0;r<e.length;r++)(0,e[r])()}function j3(e,r){return r}function B3(e,r){if(ct){var o=Lt.formState;if(o!==null){e:{var u=Fe;if(ct){if(Qt){t:{for(var f=Qt,p=ra;f.nodeType!==8;){if(!p){f=null;break t}if(f=Br(f.nextSibling),f===null){f=null;break t}}p=f.data,f=p==="F!"||p==="F"?f:null}if(f){Qt=Br(f.nextSibling),u=f.data==="F!";break e}}Ii(u)}u=!1}u&&(r=o[0])}}return o=Xn(),o.memoizedState=o.baseState=r,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:j3,lastRenderedState:r},o.queue=u,o=o6.bind(null,Fe,u),u.dispatch=o,u=Vf(!1),p=Jf.bind(null,Fe,!1,u.queue),u=Xn(),f={state:r,dispatch:null,action:e,pending:null},u.queue=f,o=g_.bind(null,Fe,f,p,o),f.dispatch=o,u.memoizedState=e,[r,o,!1]}function I3(e){var r=fn();return F3(r,wt,e)}function F3(e,r,o){if(r=Gf(e,r,j3)[0],e=vu(Ma)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var u=Bo(r)}catch(b){throw b===Uo?cu:b}else u=r;r=fn();var f=r.queue,p=f.dispatch;return o!==r.memoizedState&&(Fe.flags|=2048,Nl(9,gu(),y_.bind(null,f,o),null)),[u,p,e]}function y_(e,r){e.action=r}function G3(e){var r=fn(),o=wt;if(o!==null)return F3(r,o,e);fn(),r=r.memoizedState,o=fn();var u=o.queue.dispatch;return o.memoizedState=e,[r,u,!1]}function Nl(e,r,o,u){return e={tag:e,create:o,deps:u,inst:r,next:null},r=Fe.updateQueue,r===null&&(r=If(),Fe.updateQueue=r),o=r.lastEffect,o===null?r.lastEffect=e.next=e:(u=o.next,o.next=e,e.next=u,r.lastEffect=e),e}function gu(){return{destroy:void 0,resource:void 0}}function Z3(){return fn().memoizedState}function yu(e,r,o,u){var f=Xn();u=u===void 0?null:u,Fe.flags|=e,f.memoizedState=Nl(1|r,gu(),o,u)}function Io(e,r,o,u){var f=fn();u=u===void 0?null:u;var p=f.memoizedState.inst;wt!==null&&u!==null&&Pf(u,wt.memoizedState.deps)?f.memoizedState=Nl(r,p,o,u):(Fe.flags|=e,f.memoizedState=Nl(1|r,p,o,u))}function V3(e,r){yu(8390656,8,e,r)}function W3(e,r){Io(2048,8,e,r)}function Q3(e,r){return Io(4,2,e,r)}function K3(e,r){return Io(4,4,e,r)}function X3(e,r){if(typeof r=="function"){e=e();var o=r(e);return function(){typeof o=="function"?o():r(null)}}if(r!=null)return e=e(),r.current=e,function(){r.current=null}}function $3(e,r,o){o=o!=null?o.concat([e]):null,Io(4,4,X3.bind(null,r,e),o)}function Qf(){}function J3(e,r){var o=fn();r=r===void 0?null:r;var u=o.memoizedState;return r!==null&&Pf(r,u[1])?u[0]:(o.memoizedState=[e,r],e)}function e6(e,r){var o=fn();r=r===void 0?null:r;var u=o.memoizedState;if(r!==null&&Pf(r,u[1]))return u[0];if(u=e(),Vi){Rt(!0);try{e()}finally{Rt(!1)}}return o.memoizedState=[u,r],u}function Kf(e,r,o){return o===void 0||(ri&1073741824)!==0?e.memoizedState=r:(e.memoizedState=o,e=rv(),Fe.lanes|=e,ci|=e,o)}function t6(e,r,o,u){return ar(o,r)?o:Al.current!==null?(e=Kf(e,o,u),ar(e,r)||(yn=!0),e):(ri&42)===0?(yn=!0,e.memoizedState=o):(e=rv(),Fe.lanes|=e,ci|=e,r)}function n6(e,r,o,u,f){var p=N.p;N.p=p!==0&&8>p?p:8;var b=T.T,x={};T.T=x,Jf(e,!1,r,o);try{var P=f(),ee=T.S;if(ee!==null&&ee(x,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var ie=p_(P,u);Fo(e,r,ie,ur(e))}else Fo(e,r,u,ur(e))}catch(se){Fo(e,r,{then:function(){},status:"rejected",reason:se},ur())}finally{N.p=p,T.T=b}}function b_(){}function Xf(e,r,o,u){if(e.tag!==5)throw Error(t(476));var f=r6(e).queue;n6(e,f,r,L,o===null?b_:function(){return a6(e),o(u)})}function r6(e){var r=e.memoizedState;if(r!==null)return r;r={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:L},next:null};var o={};return r.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:o},next:null},e.memoizedState=r,e=e.alternate,e!==null&&(e.memoizedState=r),r}function a6(e){var r=r6(e).next.queue;Fo(e,r,{},ur())}function $f(){return Un(ss)}function i6(){return fn().memoizedState}function l6(){return fn().memoizedState}function __(e){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var o=ur();e=ti(o);var u=ni(r,e,o);u!==null&&(cr(u,r,o),Po(u,r,o)),r={cache:Of()},e.payload=r;return}r=r.return}}function S_(e,r,o){var u=ur();o={lane:u,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null},bu(e)?s6(r,o):(o=yf(e,r,o,u),o!==null&&(cr(o,e,u),u6(o,r,u)))}function o6(e,r,o){var u=ur();Fo(e,r,o,u)}function Fo(e,r,o,u){var f={lane:u,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null};if(bu(e))s6(r,f);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=r.lastRenderedReducer,p!==null))try{var b=r.lastRenderedState,x=p(b,o);if(f.hasEagerState=!0,f.eagerState=x,ar(x,b))return nu(e,r,f,0),Lt===null&&tu(),!1}catch{}finally{}if(o=yf(e,r,f,u),o!==null)return cr(o,e,u),u6(o,r,u),!0}return!1}function Jf(e,r,o,u){if(u={lane:2,revertLane:Rd(),action:u,hasEagerState:!1,eagerState:null,next:null},bu(e)){if(r)throw Error(t(479))}else r=yf(e,o,u,2),r!==null&&cr(r,e,2)}function bu(e){var r=e.alternate;return e===Fe||r!==null&&r===Fe}function s6(e,r){Cl=hu=!0;var o=e.pending;o===null?r.next=r:(r.next=o.next,o.next=r),e.pending=r}function u6(e,r,o){if((o&4194048)!==0){var u=r.lanes;u&=e.pendingLanes,o|=u,r.lanes=o,$e(e,o)}}var _u={readContext:Un,use:mu,useCallback:tn,useContext:tn,useEffect:tn,useImperativeHandle:tn,useLayoutEffect:tn,useInsertionEffect:tn,useMemo:tn,useReducer:tn,useRef:tn,useState:tn,useDebugValue:tn,useDeferredValue:tn,useTransition:tn,useSyncExternalStore:tn,useId:tn,useHostTransitionStatus:tn,useFormState:tn,useActionState:tn,useOptimistic:tn,useMemoCache:tn,useCacheRefresh:tn},c6={readContext:Un,use:mu,useCallback:function(e,r){return Xn().memoizedState=[e,r===void 0?null:r],e},useContext:Un,useEffect:V3,useImperativeHandle:function(e,r,o){o=o!=null?o.concat([e]):null,yu(4194308,4,X3.bind(null,r,e),o)},useLayoutEffect:function(e,r){return yu(4194308,4,e,r)},useInsertionEffect:function(e,r){yu(4,2,e,r)},useMemo:function(e,r){var o=Xn();r=r===void 0?null:r;var u=e();if(Vi){Rt(!0);try{e()}finally{Rt(!1)}}return o.memoizedState=[u,r],u},useReducer:function(e,r,o){var u=Xn();if(o!==void 0){var f=o(r);if(Vi){Rt(!0);try{o(r)}finally{Rt(!1)}}}else f=r;return u.memoizedState=u.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},u.queue=e,e=e.dispatch=S_.bind(null,Fe,e),[u.memoizedState,e]},useRef:function(e){var r=Xn();return e={current:e},r.memoizedState=e},useState:function(e){e=Vf(e);var r=e.queue,o=o6.bind(null,Fe,r);return r.dispatch=o,[e.memoizedState,o]},useDebugValue:Qf,useDeferredValue:function(e,r){var o=Xn();return Kf(o,e,r)},useTransition:function(){var e=Vf(!1);return e=n6.bind(null,Fe,e.queue,!0,!1),Xn().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,r,o){var u=Fe,f=Xn();if(ct){if(o===void 0)throw Error(t(407));o=o()}else{if(o=r(),Lt===null)throw Error(t(349));(tt&124)!==0||R3(u,r,o)}f.memoizedState=o;var p={value:o,getSnapshot:r};return f.queue=p,V3(k3.bind(null,u,p,e),[e]),u.flags|=2048,Nl(9,gu(),N3.bind(null,u,p,o,r),null),o},useId:function(){var e=Xn(),r=Lt.identifierPrefix;if(ct){var o=Da,u=wa;o=(u&~(1<<32-Mt(u)-1)).toString(32)+o,r="«"+r+"R"+o,o=pu++,0<o&&(r+="H"+o.toString(32)),r+="»"}else o=m_++,r="«"+r+"r"+o.toString(32)+"»";return e.memoizedState=r},useHostTransitionStatus:$f,useFormState:B3,useActionState:B3,useOptimistic:function(e){var r=Xn();r.memoizedState=r.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=o,r=Jf.bind(null,Fe,!0,o),o.dispatch=r,[e,r]},useMemoCache:Ff,useCacheRefresh:function(){return Xn().memoizedState=__.bind(null,Fe)}},f6={readContext:Un,use:mu,useCallback:J3,useContext:Un,useEffect:W3,useImperativeHandle:$3,useInsertionEffect:Q3,useLayoutEffect:K3,useMemo:e6,useReducer:vu,useRef:Z3,useState:function(){return vu(Ma)},useDebugValue:Qf,useDeferredValue:function(e,r){var o=fn();return t6(o,wt.memoizedState,e,r)},useTransition:function(){var e=vu(Ma)[0],r=fn().memoizedState;return[typeof e=="boolean"?e:Bo(e),r]},useSyncExternalStore:C3,useId:i6,useHostTransitionStatus:$f,useFormState:I3,useActionState:I3,useOptimistic:function(e,r){var o=fn();return U3(o,wt,e,r)},useMemoCache:Ff,useCacheRefresh:l6},E_={readContext:Un,use:mu,useCallback:J3,useContext:Un,useEffect:W3,useImperativeHandle:$3,useInsertionEffect:Q3,useLayoutEffect:K3,useMemo:e6,useReducer:Zf,useRef:Z3,useState:function(){return Zf(Ma)},useDebugValue:Qf,useDeferredValue:function(e,r){var o=fn();return wt===null?Kf(o,e,r):t6(o,wt.memoizedState,e,r)},useTransition:function(){var e=Zf(Ma)[0],r=fn().memoizedState;return[typeof e=="boolean"?e:Bo(e),r]},useSyncExternalStore:C3,useId:i6,useHostTransitionStatus:$f,useFormState:G3,useActionState:G3,useOptimistic:function(e,r){var o=fn();return wt!==null?U3(o,wt,e,r):(o.baseState=e,[e,o.queue.dispatch])},useMemoCache:Ff,useCacheRefresh:l6},kl=null,Go=0;function Su(e){var r=Go;return Go+=1,kl===null&&(kl=[]),E3(kl,e,r)}function Zo(e,r){r=r.props.ref,e.ref=r!==void 0?r:null}function Eu(e,r){throw r.$$typeof===g?Error(t(525)):(e=Object.prototype.toString.call(r),Error(t(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e)))}function d6(e){var r=e._init;return r(e._payload)}function h6(e){function r(Q,I){if(e){var J=Q.deletions;J===null?(Q.deletions=[I],Q.flags|=16):J.push(I)}}function o(Q,I){if(!e)return null;for(;I!==null;)r(Q,I),I=I.sibling;return null}function u(Q){for(var I=new Map;Q!==null;)Q.key!==null?I.set(Q.key,Q):I.set(Q.index,Q),Q=Q.sibling;return I}function f(Q,I){return Q=Ea(Q,I),Q.index=0,Q.sibling=null,Q}function p(Q,I,J){return Q.index=J,e?(J=Q.alternate,J!==null?(J=J.index,J<I?(Q.flags|=67108866,I):J):(Q.flags|=67108866,I)):(Q.flags|=1048576,I)}function b(Q){return e&&Q.alternate===null&&(Q.flags|=67108866),Q}function x(Q,I,J,le){return I===null||I.tag!==6?(I=_f(J,Q.mode,le),I.return=Q,I):(I=f(I,J),I.return=Q,I)}function P(Q,I,J,le){var De=J.type;return De===M?ie(Q,I,J.props.children,le,J.key):I!==null&&(I.elementType===De||typeof De=="object"&&De!==null&&De.$$typeof===_&&d6(De)===I.type)?(I=f(I,J.props),Zo(I,J),I.return=Q,I):(I=au(J.type,J.key,J.props,null,Q.mode,le),Zo(I,J),I.return=Q,I)}function ee(Q,I,J,le){return I===null||I.tag!==4||I.stateNode.containerInfo!==J.containerInfo||I.stateNode.implementation!==J.implementation?(I=Sf(J,Q.mode,le),I.return=Q,I):(I=f(I,J.children||[]),I.return=Q,I)}function ie(Q,I,J,le,De){return I===null||I.tag!==7?(I=zi(J,Q.mode,le,De),I.return=Q,I):(I=f(I,J),I.return=Q,I)}function se(Q,I,J){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return I=_f(""+I,Q.mode,J),I.return=Q,I;if(typeof I=="object"&&I!==null){switch(I.$$typeof){case S:return J=au(I.type,I.key,I.props,null,Q.mode,J),Zo(J,I),J.return=Q,J;case w:return I=Sf(I,Q.mode,J),I.return=Q,I;case _:var le=I._init;return I=le(I._payload),se(Q,I,J)}if(H(I)||k(I))return I=zi(I,Q.mode,J,null),I.return=Q,I;if(typeof I.then=="function")return se(Q,Su(I),J);if(I.$$typeof===Y)return se(Q,su(Q,I),J);Eu(Q,I)}return null}function te(Q,I,J,le){var De=I!==null?I.key:null;if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return De!==null?null:x(Q,I,""+J,le);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case S:return J.key===De?P(Q,I,J,le):null;case w:return J.key===De?ee(Q,I,J,le):null;case _:return De=J._init,J=De(J._payload),te(Q,I,J,le)}if(H(J)||k(J))return De!==null?null:ie(Q,I,J,le,null);if(typeof J.then=="function")return te(Q,I,Su(J),le);if(J.$$typeof===Y)return te(Q,I,su(Q,J),le);Eu(Q,J)}return null}function ne(Q,I,J,le,De){if(typeof le=="string"&&le!==""||typeof le=="number"||typeof le=="bigint")return Q=Q.get(J)||null,x(I,Q,""+le,De);if(typeof le=="object"&&le!==null){switch(le.$$typeof){case S:return Q=Q.get(le.key===null?J:le.key)||null,P(I,Q,le,De);case w:return Q=Q.get(le.key===null?J:le.key)||null,ee(I,Q,le,De);case _:var Ve=le._init;return le=Ve(le._payload),ne(Q,I,J,le,De)}if(H(le)||k(le))return Q=Q.get(J)||null,ie(I,Q,le,De,null);if(typeof le.then=="function")return ne(Q,I,J,Su(le),De);if(le.$$typeof===Y)return ne(Q,I,J,su(I,le),De);Eu(I,le)}return null}function Le(Q,I,J,le){for(var De=null,Ve=null,Oe=I,Ne=I=0,_n=null;Oe!==null&&Ne<J.length;Ne++){Oe.index>Ne?(_n=Oe,Oe=null):_n=Oe.sibling;var ut=te(Q,Oe,J[Ne],le);if(ut===null){Oe===null&&(Oe=_n);break}e&&Oe&&ut.alternate===null&&r(Q,Oe),I=p(ut,I,Ne),Ve===null?De=ut:Ve.sibling=ut,Ve=ut,Oe=_n}if(Ne===J.length)return o(Q,Oe),ct&&ji(Q,Ne),De;if(Oe===null){for(;Ne<J.length;Ne++)Oe=se(Q,J[Ne],le),Oe!==null&&(I=p(Oe,I,Ne),Ve===null?De=Oe:Ve.sibling=Oe,Ve=Oe);return ct&&ji(Q,Ne),De}for(Oe=u(Oe);Ne<J.length;Ne++)_n=ne(Oe,Q,Ne,J[Ne],le),_n!==null&&(e&&_n.alternate!==null&&Oe.delete(_n.key===null?Ne:_n.key),I=p(_n,I,Ne),Ve===null?De=_n:Ve.sibling=_n,Ve=_n);return e&&Oe.forEach(function(bi){return r(Q,bi)}),ct&&ji(Q,Ne),De}function Ce(Q,I,J,le){if(J==null)throw Error(t(151));for(var De=null,Ve=null,Oe=I,Ne=I=0,_n=null,ut=J.next();Oe!==null&&!ut.done;Ne++,ut=J.next()){Oe.index>Ne?(_n=Oe,Oe=null):_n=Oe.sibling;var bi=te(Q,Oe,ut.value,le);if(bi===null){Oe===null&&(Oe=_n);break}e&&Oe&&bi.alternate===null&&r(Q,Oe),I=p(bi,I,Ne),Ve===null?De=bi:Ve.sibling=bi,Ve=bi,Oe=_n}if(ut.done)return o(Q,Oe),ct&&ji(Q,Ne),De;if(Oe===null){for(;!ut.done;Ne++,ut=J.next())ut=se(Q,ut.value,le),ut!==null&&(I=p(ut,I,Ne),Ve===null?De=ut:Ve.sibling=ut,Ve=ut);return ct&&ji(Q,Ne),De}for(Oe=u(Oe);!ut.done;Ne++,ut=J.next())ut=ne(Oe,Q,Ne,ut.value,le),ut!==null&&(e&&ut.alternate!==null&&Oe.delete(ut.key===null?Ne:ut.key),I=p(ut,I,Ne),Ve===null?De=ut:Ve.sibling=ut,Ve=ut);return e&&Oe.forEach(function(wS){return r(Q,wS)}),ct&&ji(Q,Ne),De}function Tt(Q,I,J,le){if(typeof J=="object"&&J!==null&&J.type===M&&J.key===null&&(J=J.props.children),typeof J=="object"&&J!==null){switch(J.$$typeof){case S:e:{for(var De=J.key;I!==null;){if(I.key===De){if(De=J.type,De===M){if(I.tag===7){o(Q,I.sibling),le=f(I,J.props.children),le.return=Q,Q=le;break e}}else if(I.elementType===De||typeof De=="object"&&De!==null&&De.$$typeof===_&&d6(De)===I.type){o(Q,I.sibling),le=f(I,J.props),Zo(le,J),le.return=Q,Q=le;break e}o(Q,I);break}else r(Q,I);I=I.sibling}J.type===M?(le=zi(J.props.children,Q.mode,le,J.key),le.return=Q,Q=le):(le=au(J.type,J.key,J.props,null,Q.mode,le),Zo(le,J),le.return=Q,Q=le)}return b(Q);case w:e:{for(De=J.key;I!==null;){if(I.key===De)if(I.tag===4&&I.stateNode.containerInfo===J.containerInfo&&I.stateNode.implementation===J.implementation){o(Q,I.sibling),le=f(I,J.children||[]),le.return=Q,Q=le;break e}else{o(Q,I);break}else r(Q,I);I=I.sibling}le=Sf(J,Q.mode,le),le.return=Q,Q=le}return b(Q);case _:return De=J._init,J=De(J._payload),Tt(Q,I,J,le)}if(H(J))return Le(Q,I,J,le);if(k(J)){if(De=k(J),typeof De!="function")throw Error(t(150));return J=De.call(J),Ce(Q,I,J,le)}if(typeof J.then=="function")return Tt(Q,I,Su(J),le);if(J.$$typeof===Y)return Tt(Q,I,su(Q,J),le);Eu(Q,J)}return typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint"?(J=""+J,I!==null&&I.tag===6?(o(Q,I.sibling),le=f(I,J),le.return=Q,Q=le):(o(Q,I),le=_f(J,Q.mode,le),le.return=Q,Q=le),b(Q)):o(Q,I)}return function(Q,I,J,le){try{Go=0;var De=Tt(Q,I,J,le);return kl=null,De}catch(Oe){if(Oe===Uo||Oe===cu)throw Oe;var Ve=ir(29,Oe,null,Q.mode);return Ve.lanes=le,Ve.return=Q,Ve}finally{}}}var Ll=h6(!0),p6=h6(!1),wr=j(null),aa=null;function ai(e){var r=e.alternate;ae(mn,mn.current&1),ae(wr,e),aa===null&&(r===null||Al.current!==null||r.memoizedState!==null)&&(aa=e)}function m6(e){if(e.tag===22){if(ae(mn,mn.current),ae(wr,e),aa===null){var r=e.alternate;r!==null&&r.memoizedState!==null&&(aa=e)}}else ii()}function ii(){ae(mn,mn.current),ae(wr,wr.current)}function Oa(e){oe(wr),aa===e&&(aa=null),oe(mn)}var mn=j(0);function wu(e){for(var r=e;r!==null;){if(r.tag===13){var o=r.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||Id(o)))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}function ed(e,r,o,u){r=e.memoizedState,o=o(u,r),o=o==null?r:v({},r,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var td={enqueueSetState:function(e,r,o){e=e._reactInternals;var u=ur(),f=ti(u);f.payload=r,o!=null&&(f.callback=o),r=ni(e,f,u),r!==null&&(cr(r,e,u),Po(r,e,u))},enqueueReplaceState:function(e,r,o){e=e._reactInternals;var u=ur(),f=ti(u);f.tag=1,f.payload=r,o!=null&&(f.callback=o),r=ni(e,f,u),r!==null&&(cr(r,e,u),Po(r,e,u))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var o=ur(),u=ti(o);u.tag=2,r!=null&&(u.callback=r),r=ni(e,u,o),r!==null&&(cr(r,e,o),Po(r,e,o))}};function v6(e,r,o,u,f,p,b){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(u,p,b):r.prototype&&r.prototype.isPureReactComponent?!Oo(o,u)||!Oo(f,p):!0}function g6(e,r,o,u){e=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(o,u),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(o,u),r.state!==e&&td.enqueueReplaceState(r,r.state,null)}function Wi(e,r){var o=r;if("ref"in r){o={};for(var u in r)u!=="ref"&&(o[u]=r[u])}if(e=e.defaultProps){o===r&&(o=v({},o));for(var f in e)o[f]===void 0&&(o[f]=e[f])}return o}var Du=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function y6(e){Du(e)}function b6(e){console.error(e)}function _6(e){Du(e)}function Tu(e,r){try{var o=e.onUncaughtError;o(r.value,{componentStack:r.stack})}catch(u){setTimeout(function(){throw u})}}function S6(e,r,o){try{var u=e.onCaughtError;u(o.value,{componentStack:o.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function nd(e,r,o){return o=ti(o),o.tag=3,o.payload={element:null},o.callback=function(){Tu(e,r)},o}function E6(e){return e=ti(e),e.tag=3,e}function w6(e,r,o,u){var f=o.type.getDerivedStateFromError;if(typeof f=="function"){var p=u.value;e.payload=function(){return f(p)},e.callback=function(){S6(r,o,u)}}var b=o.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(e.callback=function(){S6(r,o,u),typeof f!="function"&&(fi===null?fi=new Set([this]):fi.add(this));var x=u.stack;this.componentDidCatch(u.value,{componentStack:x!==null?x:""})})}function w_(e,r,o,u,f){if(o.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(r=o.alternate,r!==null&&ko(r,o,f,!0),o=wr.current,o!==null){switch(o.tag){case 13:return aa===null?xd():o.alternate===null&&Kt===0&&(Kt=3),o.flags&=-257,o.flags|=65536,o.lanes=f,u===Rf?o.flags|=16384:(r=o.updateQueue,r===null?o.updateQueue=new Set([u]):r.add(u),Od(e,u,f)),!1;case 22:return o.flags|=65536,u===Rf?o.flags|=16384:(r=o.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([u])},o.updateQueue=r):(o=r.retryQueue,o===null?r.retryQueue=new Set([u]):o.add(u)),Od(e,u,f)),!1}throw Error(t(435,o.tag))}return Od(e,u,f),xd(),!1}if(ct)return r=wr.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=f,u!==Df&&(e=Error(t(422),{cause:u}),No(br(e,o)))):(u!==Df&&(r=Error(t(423),{cause:u}),No(br(r,o))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,u=br(u,o),f=nd(e.stateNode,u,f),Lf(e,f),Kt!==4&&(Kt=2)),!1;var p=Error(t(520),{cause:u});if(p=br(p,o),Jo===null?Jo=[p]:Jo.push(p),Kt!==4&&(Kt=2),r===null)return!0;u=br(u,o),o=r;do{switch(o.tag){case 3:return o.flags|=65536,e=f&-f,o.lanes|=e,e=nd(o.stateNode,u,e),Lf(o,e),!1;case 1:if(r=o.type,p=o.stateNode,(o.flags&128)===0&&(typeof r.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(fi===null||!fi.has(p))))return o.flags|=65536,f&=-f,o.lanes|=f,f=E6(f),w6(f,e,o,u),Lf(o,f),!1}o=o.return}while(o!==null);return!1}var D6=Error(t(461)),yn=!1;function Mn(e,r,o,u){r.child=e===null?p6(r,null,o,u):Ll(r,e.child,o,u)}function T6(e,r,o,u,f){o=o.render;var p=r.ref;if("ref"in u){var b={};for(var x in u)x!=="ref"&&(b[x]=u[x])}else b=u;return Gi(r),u=zf(e,r,o,b,p,f),x=Yf(),e!==null&&!yn?(jf(e,r,f),Aa(e,r,f)):(ct&&x&&Ef(r),r.flags|=1,Mn(e,r,u,f),r.child)}function x6(e,r,o,u,f){if(e===null){var p=o.type;return typeof p=="function"&&!bf(p)&&p.defaultProps===void 0&&o.compare===null?(r.tag=15,r.type=p,M6(e,r,p,u,f)):(e=au(o.type,null,u,r,r.mode,f),e.ref=r.ref,e.return=r,r.child=e)}if(p=e.child,!cd(e,f)){var b=p.memoizedProps;if(o=o.compare,o=o!==null?o:Oo,o(b,u)&&e.ref===r.ref)return Aa(e,r,f)}return r.flags|=1,e=Ea(p,u),e.ref=r.ref,e.return=r,r.child=e}function M6(e,r,o,u,f){if(e!==null){var p=e.memoizedProps;if(Oo(p,u)&&e.ref===r.ref)if(yn=!1,r.pendingProps=u=p,cd(e,f))(e.flags&131072)!==0&&(yn=!0);else return r.lanes=e.lanes,Aa(e,r,f)}return rd(e,r,o,u,f)}function O6(e,r,o){var u=r.pendingProps,f=u.children,p=e!==null?e.memoizedState:null;if(u.mode==="hidden"){if((r.flags&128)!==0){if(u=p!==null?p.baseLanes|o:o,e!==null){for(f=r.child=e.child,p=0;f!==null;)p=p|f.lanes|f.childLanes,f=f.sibling;r.childLanes=p&~u}else r.childLanes=0,r.child=null;return A6(e,r,u,o)}if((o&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},e!==null&&uu(r,p!==null?p.cachePool:null),p!==null?M3(r,p):Uf(),m6(r);else return r.lanes=r.childLanes=536870912,A6(e,r,p!==null?p.baseLanes|o:o,o)}else p!==null?(uu(r,p.cachePool),M3(r,p),ii(),r.memoizedState=null):(e!==null&&uu(r,null),Uf(),ii());return Mn(e,r,f,o),r.child}function A6(e,r,o,u){var f=Cf();return f=f===null?null:{parent:pn._currentValue,pool:f},r.memoizedState={baseLanes:o,cachePool:f},e!==null&&uu(r,null),Uf(),m6(r),e!==null&&ko(e,r,u,!0),null}function xu(e,r){var o=r.ref;if(o===null)e!==null&&e.ref!==null&&(r.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(t(284));(e===null||e.ref!==o)&&(r.flags|=4194816)}}function rd(e,r,o,u,f){return Gi(r),o=zf(e,r,o,u,void 0,f),u=Yf(),e!==null&&!yn?(jf(e,r,f),Aa(e,r,f)):(ct&&u&&Ef(r),r.flags|=1,Mn(e,r,o,f),r.child)}function C6(e,r,o,u,f,p){return Gi(r),r.updateQueue=null,o=A3(r,u,o,f),O3(e),u=Yf(),e!==null&&!yn?(jf(e,r,p),Aa(e,r,p)):(ct&&u&&Ef(r),r.flags|=1,Mn(e,r,o,p),r.child)}function R6(e,r,o,u,f){if(Gi(r),r.stateNode===null){var p=Dl,b=o.contextType;typeof b=="object"&&b!==null&&(p=Un(b)),p=new o(u,p),r.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=td,r.stateNode=p,p._reactInternals=r,p=r.stateNode,p.props=u,p.state=r.memoizedState,p.refs={},Nf(r),b=o.contextType,p.context=typeof b=="object"&&b!==null?Un(b):Dl,p.state=r.memoizedState,b=o.getDerivedStateFromProps,typeof b=="function"&&(ed(r,o,b,u),p.state=r.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(b=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),b!==p.state&&td.enqueueReplaceState(p,p.state,null),Yo(r,u,p,f),zo(),p.state=r.memoizedState),typeof p.componentDidMount=="function"&&(r.flags|=4194308),u=!0}else if(e===null){p=r.stateNode;var x=r.memoizedProps,P=Wi(o,x);p.props=P;var ee=p.context,ie=o.contextType;b=Dl,typeof ie=="object"&&ie!==null&&(b=Un(ie));var se=o.getDerivedStateFromProps;ie=typeof se=="function"||typeof p.getSnapshotBeforeUpdate=="function",x=r.pendingProps!==x,ie||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(x||ee!==b)&&g6(r,p,u,b),ei=!1;var te=r.memoizedState;p.state=te,Yo(r,u,p,f),zo(),ee=r.memoizedState,x||te!==ee||ei?(typeof se=="function"&&(ed(r,o,se,u),ee=r.memoizedState),(P=ei||v6(r,o,P,u,te,ee,b))?(ie||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(r.flags|=4194308)):(typeof p.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=ee),p.props=u,p.state=ee,p.context=b,u=P):(typeof p.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{p=r.stateNode,kf(e,r),b=r.memoizedProps,ie=Wi(o,b),p.props=ie,se=r.pendingProps,te=p.context,ee=o.contextType,P=Dl,typeof ee=="object"&&ee!==null&&(P=Un(ee)),x=o.getDerivedStateFromProps,(ee=typeof x=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(b!==se||te!==P)&&g6(r,p,u,P),ei=!1,te=r.memoizedState,p.state=te,Yo(r,u,p,f),zo();var ne=r.memoizedState;b!==se||te!==ne||ei||e!==null&&e.dependencies!==null&&ou(e.dependencies)?(typeof x=="function"&&(ed(r,o,x,u),ne=r.memoizedState),(ie=ei||v6(r,o,ie,u,te,ne,P)||e!==null&&e.dependencies!==null&&ou(e.dependencies))?(ee||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(u,ne,P),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(u,ne,P)),typeof p.componentDidUpdate=="function"&&(r.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof p.componentDidUpdate!="function"||b===e.memoizedProps&&te===e.memoizedState||(r.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&te===e.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=ne),p.props=u,p.state=ne,p.context=P,u=ie):(typeof p.componentDidUpdate!="function"||b===e.memoizedProps&&te===e.memoizedState||(r.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&te===e.memoizedState||(r.flags|=1024),u=!1)}return p=u,xu(e,r),u=(r.flags&128)!==0,p||u?(p=r.stateNode,o=u&&typeof o.getDerivedStateFromError!="function"?null:p.render(),r.flags|=1,e!==null&&u?(r.child=Ll(r,e.child,null,f),r.child=Ll(r,null,o,f)):Mn(e,r,o,f),r.memoizedState=p.state,e=r.child):e=Aa(e,r,f),e}function N6(e,r,o,u){return Ro(),r.flags|=256,Mn(e,r,o,u),r.child}var ad={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function id(e){return{baseLanes:e,cachePool:b3()}}function ld(e,r,o){return e=e!==null?e.childLanes&~o:0,r&&(e|=Dr),e}function k6(e,r,o){var u=r.pendingProps,f=!1,p=(r.flags&128)!==0,b;if((b=p)||(b=e!==null&&e.memoizedState===null?!1:(mn.current&2)!==0),b&&(f=!0,r.flags&=-129),b=(r.flags&32)!==0,r.flags&=-33,e===null){if(ct){if(f?ai(r):ii(),ct){var x=Qt,P;if(P=x){e:{for(P=x,x=ra;P.nodeType!==8;){if(!x){x=null;break e}if(P=Br(P.nextSibling),P===null){x=null;break e}}x=P}x!==null?(r.memoizedState={dehydrated:x,treeContext:Yi!==null?{id:wa,overflow:Da}:null,retryLane:536870912,hydrationErrors:null},P=ir(18,null,null,0),P.stateNode=x,P.return=r,r.child=P,jn=r,Qt=null,P=!0):P=!1}P||Ii(r)}if(x=r.memoizedState,x!==null&&(x=x.dehydrated,x!==null))return Id(x)?r.lanes=32:r.lanes=536870912,null;Oa(r)}return x=u.children,u=u.fallback,f?(ii(),f=r.mode,x=Mu({mode:"hidden",children:x},f),u=zi(u,f,o,null),x.return=r,u.return=r,x.sibling=u,r.child=x,f=r.child,f.memoizedState=id(o),f.childLanes=ld(e,b,o),r.memoizedState=ad,u):(ai(r),od(r,x))}if(P=e.memoizedState,P!==null&&(x=P.dehydrated,x!==null)){if(p)r.flags&256?(ai(r),r.flags&=-257,r=sd(e,r,o)):r.memoizedState!==null?(ii(),r.child=e.child,r.flags|=128,r=null):(ii(),f=u.fallback,x=r.mode,u=Mu({mode:"visible",children:u.children},x),f=zi(f,x,o,null),f.flags|=2,u.return=r,f.return=r,u.sibling=f,r.child=u,Ll(r,e.child,null,o),u=r.child,u.memoizedState=id(o),u.childLanes=ld(e,b,o),r.memoizedState=ad,r=f);else if(ai(r),Id(x)){if(b=x.nextSibling&&x.nextSibling.dataset,b)var ee=b.dgst;b=ee,u=Error(t(419)),u.stack="",u.digest=b,No({value:u,source:null,stack:null}),r=sd(e,r,o)}else if(yn||ko(e,r,o,!1),b=(o&e.childLanes)!==0,yn||b){if(b=Lt,b!==null&&(u=o&-o,u=(u&42)!==0?1:Te(u),u=(u&(b.suspendedLanes|o))!==0?0:u,u!==0&&u!==P.retryLane))throw P.retryLane=u,wl(e,u),cr(b,e,u),D6;x.data==="$?"||xd(),r=sd(e,r,o)}else x.data==="$?"?(r.flags|=192,r.child=e.child,r=null):(e=P.treeContext,Qt=Br(x.nextSibling),jn=r,ct=!0,Bi=null,ra=!1,e!==null&&(Sr[Er++]=wa,Sr[Er++]=Da,Sr[Er++]=Yi,wa=e.id,Da=e.overflow,Yi=r),r=od(r,u.children),r.flags|=4096);return r}return f?(ii(),f=u.fallback,x=r.mode,P=e.child,ee=P.sibling,u=Ea(P,{mode:"hidden",children:u.children}),u.subtreeFlags=P.subtreeFlags&65011712,ee!==null?f=Ea(ee,f):(f=zi(f,x,o,null),f.flags|=2),f.return=r,u.return=r,u.sibling=f,r.child=u,u=f,f=r.child,x=e.child.memoizedState,x===null?x=id(o):(P=x.cachePool,P!==null?(ee=pn._currentValue,P=P.parent!==ee?{parent:ee,pool:ee}:P):P=b3(),x={baseLanes:x.baseLanes|o,cachePool:P}),f.memoizedState=x,f.childLanes=ld(e,b,o),r.memoizedState=ad,u):(ai(r),o=e.child,e=o.sibling,o=Ea(o,{mode:"visible",children:u.children}),o.return=r,o.sibling=null,e!==null&&(b=r.deletions,b===null?(r.deletions=[e],r.flags|=16):b.push(e)),r.child=o,r.memoizedState=null,o)}function od(e,r){return r=Mu({mode:"visible",children:r},e.mode),r.return=e,e.child=r}function Mu(e,r){return e=ir(22,e,null,r),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function sd(e,r,o){return Ll(r,e.child,null,o),e=od(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function L6(e,r,o){e.lanes|=r;var u=e.alternate;u!==null&&(u.lanes|=r),xf(e.return,r,o)}function ud(e,r,o,u,f){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:o,tailMode:f}:(p.isBackwards=r,p.rendering=null,p.renderingStartTime=0,p.last=u,p.tail=o,p.tailMode=f)}function q6(e,r,o){var u=r.pendingProps,f=u.revealOrder,p=u.tail;if(Mn(e,r,u.children,o),u=mn.current,(u&2)!==0)u=u&1|2,r.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&L6(e,o,r);else if(e.tag===19)L6(e,o,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===r)break e;for(;e.sibling===null;){if(e.return===null||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}switch(ae(mn,u),f){case"forwards":for(o=r.child,f=null;o!==null;)e=o.alternate,e!==null&&wu(e)===null&&(f=o),o=o.sibling;o=f,o===null?(f=r.child,r.child=null):(f=o.sibling,o.sibling=null),ud(r,!1,f,o,p);break;case"backwards":for(o=null,f=r.child,r.child=null;f!==null;){if(e=f.alternate,e!==null&&wu(e)===null){r.child=f;break}e=f.sibling,f.sibling=o,o=f,f=e}ud(r,!0,o,null,p);break;case"together":ud(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Aa(e,r,o){if(e!==null&&(r.dependencies=e.dependencies),ci|=r.lanes,(o&r.childLanes)===0)if(e!==null){if(ko(e,r,o,!1),(o&r.childLanes)===0)return null}else return null;if(e!==null&&r.child!==e.child)throw Error(t(153));if(r.child!==null){for(e=r.child,o=Ea(e,e.pendingProps),r.child=o,o.return=r;e.sibling!==null;)e=e.sibling,o=o.sibling=Ea(e,e.pendingProps),o.return=r;o.sibling=null}return r.child}function cd(e,r){return(e.lanes&r)!==0?!0:(e=e.dependencies,!!(e!==null&&ou(e)))}function D_(e,r,o){switch(r.tag){case 3:Re(r,r.stateNode.containerInfo),Ja(r,pn,e.memoizedState.cache),Ro();break;case 27:case 5:Ut(r);break;case 4:Re(r,r.stateNode.containerInfo);break;case 10:Ja(r,r.type,r.memoizedProps.value);break;case 13:var u=r.memoizedState;if(u!==null)return u.dehydrated!==null?(ai(r),r.flags|=128,null):(o&r.child.childLanes)!==0?k6(e,r,o):(ai(r),e=Aa(e,r,o),e!==null?e.sibling:null);ai(r);break;case 19:var f=(e.flags&128)!==0;if(u=(o&r.childLanes)!==0,u||(ko(e,r,o,!1),u=(o&r.childLanes)!==0),f){if(u)return q6(e,r,o);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),ae(mn,mn.current),u)break;return null;case 22:case 23:return r.lanes=0,O6(e,r,o);case 24:Ja(r,pn,e.memoizedState.cache)}return Aa(e,r,o)}function U6(e,r,o){if(e!==null)if(e.memoizedProps!==r.pendingProps)yn=!0;else{if(!cd(e,o)&&(r.flags&128)===0)return yn=!1,D_(e,r,o);yn=(e.flags&131072)!==0}else yn=!1,ct&&(r.flags&1048576)!==0&&d3(r,lu,r.index);switch(r.lanes=0,r.tag){case 16:e:{e=r.pendingProps;var u=r.elementType,f=u._init;if(u=f(u._payload),r.type=u,typeof u=="function")bf(u)?(e=Wi(u,e),r.tag=1,r=R6(null,r,u,e,o)):(r.tag=0,r=rd(null,r,u,e,o));else{if(u!=null){if(f=u.$$typeof,f===K){r.tag=11,r=T6(null,r,u,e,o);break e}else if(f===V){r.tag=14,r=x6(null,r,u,e,o);break e}}throw r=B(u)||u,Error(t(306,r,""))}}return r;case 0:return rd(e,r,r.type,r.pendingProps,o);case 1:return u=r.type,f=Wi(u,r.pendingProps),R6(e,r,u,f,o);case 3:e:{if(Re(r,r.stateNode.containerInfo),e===null)throw Error(t(387));u=r.pendingProps;var p=r.memoizedState;f=p.element,kf(e,r),Yo(r,u,null,o);var b=r.memoizedState;if(u=b.cache,Ja(r,pn,u),u!==p.cache&&Mf(r,[pn],o,!0),zo(),u=b.element,p.isDehydrated)if(p={element:u,isDehydrated:!1,cache:b.cache},r.updateQueue.baseState=p,r.memoizedState=p,r.flags&256){r=N6(e,r,u,o);break e}else if(u!==f){f=br(Error(t(424)),r),No(f),r=N6(e,r,u,o);break e}else{switch(e=r.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Qt=Br(e.firstChild),jn=r,ct=!0,Bi=null,ra=!0,o=p6(r,null,u,o),r.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(Ro(),u===f){r=Aa(e,r,o);break e}Mn(e,r,u,o)}r=r.child}return r;case 26:return xu(e,r),e===null?(o=Yv(r.type,null,r.pendingProps,null))?r.memoizedState=o:ct||(o=r.type,e=r.pendingProps,u=ju(me.current).createElement(o),u[ye]=r,u[we]=e,An(u,o,e),yt(u),r.stateNode=u):r.memoizedState=Yv(r.type,e.memoizedProps,r.pendingProps,e.memoizedState),null;case 27:return Ut(r),e===null&&ct&&(u=r.stateNode=Hv(r.type,r.pendingProps,me.current),jn=r,ra=!0,f=Qt,pi(r.type)?(Fd=f,Qt=Br(u.firstChild)):Qt=f),Mn(e,r,r.pendingProps.children,o),xu(e,r),e===null&&(r.flags|=4194304),r.child;case 5:return e===null&&ct&&((f=u=Qt)&&(u=$_(u,r.type,r.pendingProps,ra),u!==null?(r.stateNode=u,jn=r,Qt=Br(u.firstChild),ra=!1,f=!0):f=!1),f||Ii(r)),Ut(r),f=r.type,p=r.pendingProps,b=e!==null?e.memoizedProps:null,u=p.children,Yd(f,p)?u=null:b!==null&&Yd(f,b)&&(r.flags|=32),r.memoizedState!==null&&(f=zf(e,r,v_,null,null,o),ss._currentValue=f),xu(e,r),Mn(e,r,u,o),r.child;case 6:return e===null&&ct&&((e=o=Qt)&&(o=J_(o,r.pendingProps,ra),o!==null?(r.stateNode=o,jn=r,Qt=null,e=!0):e=!1),e||Ii(r)),null;case 13:return k6(e,r,o);case 4:return Re(r,r.stateNode.containerInfo),u=r.pendingProps,e===null?r.child=Ll(r,null,u,o):Mn(e,r,u,o),r.child;case 11:return T6(e,r,r.type,r.pendingProps,o);case 7:return Mn(e,r,r.pendingProps,o),r.child;case 8:return Mn(e,r,r.pendingProps.children,o),r.child;case 12:return Mn(e,r,r.pendingProps.children,o),r.child;case 10:return u=r.pendingProps,Ja(r,r.type,u.value),Mn(e,r,u.children,o),r.child;case 9:return f=r.type._context,u=r.pendingProps.children,Gi(r),f=Un(f),u=u(f),r.flags|=1,Mn(e,r,u,o),r.child;case 14:return x6(e,r,r.type,r.pendingProps,o);case 15:return M6(e,r,r.type,r.pendingProps,o);case 19:return q6(e,r,o);case 31:return u=r.pendingProps,o=r.mode,u={mode:u.mode,children:u.children},e===null?(o=Mu(u,o),o.ref=r.ref,r.child=o,o.return=r,r=o):(o=Ea(e.child,u),o.ref=r.ref,r.child=o,o.return=r,r=o),r;case 22:return O6(e,r,o);case 24:return Gi(r),u=Un(pn),e===null?(f=Cf(),f===null&&(f=Lt,p=Of(),f.pooledCache=p,p.refCount++,p!==null&&(f.pooledCacheLanes|=o),f=p),r.memoizedState={parent:u,cache:f},Nf(r),Ja(r,pn,f)):((e.lanes&o)!==0&&(kf(e,r),Yo(r,null,null,o),zo()),f=e.memoizedState,p=r.memoizedState,f.parent!==u?(f={parent:u,cache:u},r.memoizedState=f,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=f),Ja(r,pn,u)):(u=p.cache,Ja(r,pn,u),u!==f.cache&&Mf(r,[pn],o,!0))),Mn(e,r,r.pendingProps.children,o),r.child;case 29:throw r.pendingProps}throw Error(t(156,r.tag))}function Ca(e){e.flags|=4}function H6(e,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Gv(r)){if(r=wr.current,r!==null&&((tt&4194048)===tt?aa!==null:(tt&62914560)!==tt&&(tt&536870912)===0||r!==aa))throw Ho=Rf,_3;e.flags|=8192}}function Ou(e,r){r!==null&&(e.flags|=4),e.flags&16384&&(r=e.tag!==22?qn():536870912,e.lanes|=r,Pl|=r)}function Vo(e,r){if(!ct)switch(e.tailMode){case"hidden":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var u=null;o!==null;)o.alternate!==null&&(u=o),o=o.sibling;u===null?r||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Zt(e){var r=e.alternate!==null&&e.alternate.child===e.child,o=0,u=0;if(r)for(var f=e.child;f!==null;)o|=f.lanes|f.childLanes,u|=f.subtreeFlags&65011712,u|=f.flags&65011712,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)o|=f.lanes|f.childLanes,u|=f.subtreeFlags,u|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=u,e.childLanes=o,r}function T_(e,r,o){var u=r.pendingProps;switch(wf(r),r.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zt(r),null;case 1:return Zt(r),null;case 3:return o=r.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),r.memoizedState.cache!==u&&(r.flags|=2048),xa(pn),qt(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(Co(r)?Ca(r):e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,m3())),Zt(r),null;case 26:return o=r.memoizedState,e===null?(Ca(r),o!==null?(Zt(r),H6(r,o)):(Zt(r),r.flags&=-16777217)):o?o!==e.memoizedState?(Ca(r),Zt(r),H6(r,o)):(Zt(r),r.flags&=-16777217):(e.memoizedProps!==u&&Ca(r),Zt(r),r.flags&=-16777217),null;case 27:mt(r),o=me.current;var f=r.type;if(e!==null&&r.stateNode!=null)e.memoizedProps!==u&&Ca(r);else{if(!u){if(r.stateNode===null)throw Error(t(166));return Zt(r),null}e=he.current,Co(r)?h3(r):(e=Hv(f,u,o),r.stateNode=e,Ca(r))}return Zt(r),null;case 5:if(mt(r),o=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==u&&Ca(r);else{if(!u){if(r.stateNode===null)throw Error(t(166));return Zt(r),null}if(e=he.current,Co(r))h3(r);else{switch(f=ju(me.current),e){case 1:e=f.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:e=f.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":e=f.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":e=f.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":e=f.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof u.is=="string"?f.createElement("select",{is:u.is}):f.createElement("select"),u.multiple?e.multiple=!0:u.size&&(e.size=u.size);break;default:e=typeof u.is=="string"?f.createElement(o,{is:u.is}):f.createElement(o)}}e[ye]=r,e[we]=u;e:for(f=r.child;f!==null;){if(f.tag===5||f.tag===6)e.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===r)break e;for(;f.sibling===null;){if(f.return===null||f.return===r)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}r.stateNode=e;e:switch(An(e,o,u),o){case"button":case"input":case"select":case"textarea":e=!!u.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Ca(r)}}return Zt(r),r.flags&=-16777217,null;case 6:if(e&&r.stateNode!=null)e.memoizedProps!==u&&Ca(r);else{if(typeof u!="string"&&r.stateNode===null)throw Error(t(166));if(e=me.current,Co(r)){if(e=r.stateNode,o=r.memoizedProps,u=null,f=jn,f!==null)switch(f.tag){case 27:case 5:u=f.memoizedProps}e[ye]=r,e=!!(e.nodeValue===o||u!==null&&u.suppressHydrationWarning===!0||Cv(e.nodeValue,o)),e||Ii(r)}else e=ju(e).createTextNode(u),e[ye]=r,r.stateNode=e}return Zt(r),null;case 13:if(u=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=Co(r),u!==null&&u.dehydrated!==null){if(e===null){if(!f)throw Error(t(318));if(f=r.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(t(317));f[ye]=r}else Ro(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Zt(r),f=!1}else f=m3(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f)return r.flags&256?(Oa(r),r):(Oa(r),null)}if(Oa(r),(r.flags&128)!==0)return r.lanes=o,r;if(o=u!==null,e=e!==null&&e.memoizedState!==null,o){u=r.child,f=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(f=u.alternate.memoizedState.cachePool.pool);var p=null;u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(p=u.memoizedState.cachePool.pool),p!==f&&(u.flags|=2048)}return o!==e&&o&&(r.child.flags|=8192),Ou(r,r.updateQueue),Zt(r),null;case 4:return qt(),e===null&&qd(r.stateNode.containerInfo),Zt(r),null;case 10:return xa(r.type),Zt(r),null;case 19:if(oe(mn),f=r.memoizedState,f===null)return Zt(r),null;if(u=(r.flags&128)!==0,p=f.rendering,p===null)if(u)Vo(f,!1);else{if(Kt!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(p=wu(e),p!==null){for(r.flags|=128,Vo(f,!1),e=p.updateQueue,r.updateQueue=e,Ou(r,e),r.subtreeFlags=0,e=o,o=r.child;o!==null;)f3(o,e),o=o.sibling;return ae(mn,mn.current&1|2),r.child}e=e.sibling}f.tail!==null&&xt()>Ru&&(r.flags|=128,u=!0,Vo(f,!1),r.lanes=4194304)}else{if(!u)if(e=wu(p),e!==null){if(r.flags|=128,u=!0,e=e.updateQueue,r.updateQueue=e,Ou(r,e),Vo(f,!0),f.tail===null&&f.tailMode==="hidden"&&!p.alternate&&!ct)return Zt(r),null}else 2*xt()-f.renderingStartTime>Ru&&o!==536870912&&(r.flags|=128,u=!0,Vo(f,!1),r.lanes=4194304);f.isBackwards?(p.sibling=r.child,r.child=p):(e=f.last,e!==null?e.sibling=p:r.child=p,f.last=p)}return f.tail!==null?(r=f.tail,f.rendering=r,f.tail=r.sibling,f.renderingStartTime=xt(),r.sibling=null,e=mn.current,ae(mn,u?e&1|2:e&1),r):(Zt(r),null);case 22:case 23:return Oa(r),Hf(),u=r.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(r.flags|=8192):u&&(r.flags|=8192),u?(o&536870912)!==0&&(r.flags&128)===0&&(Zt(r),r.subtreeFlags&6&&(r.flags|=8192)):Zt(r),o=r.updateQueue,o!==null&&Ou(r,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),u=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),u!==o&&(r.flags|=2048),e!==null&&oe(Zi),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),r.memoizedState.cache!==o&&(r.flags|=2048),xa(pn),Zt(r),null;case 25:return null;case 30:return null}throw Error(t(156,r.tag))}function x_(e,r){switch(wf(r),r.tag){case 1:return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return xa(pn),qt(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 26:case 27:case 5:return mt(r),null;case 13:if(Oa(r),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(t(340));Ro()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return oe(mn),null;case 4:return qt(),null;case 10:return xa(r.type),null;case 22:case 23:return Oa(r),Hf(),e!==null&&oe(Zi),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 24:return xa(pn),null;case 25:return null;default:return null}}function P6(e,r){switch(wf(r),r.tag){case 3:xa(pn),qt();break;case 26:case 27:case 5:mt(r);break;case 4:qt();break;case 13:Oa(r);break;case 19:oe(mn);break;case 10:xa(r.type);break;case 22:case 23:Oa(r),Hf(),e!==null&&oe(Zi);break;case 24:xa(pn)}}function Wo(e,r){try{var o=r.updateQueue,u=o!==null?o.lastEffect:null;if(u!==null){var f=u.next;o=f;do{if((o.tag&e)===e){u=void 0;var p=o.create,b=o.inst;u=p(),b.destroy=u}o=o.next}while(o!==f)}}catch(x){Ct(r,r.return,x)}}function li(e,r,o){try{var u=r.updateQueue,f=u!==null?u.lastEffect:null;if(f!==null){var p=f.next;u=p;do{if((u.tag&e)===e){var b=u.inst,x=b.destroy;if(x!==void 0){b.destroy=void 0,f=r;var P=o,ee=x;try{ee()}catch(ie){Ct(f,P,ie)}}}u=u.next}while(u!==p)}}catch(ie){Ct(r,r.return,ie)}}function z6(e){var r=e.updateQueue;if(r!==null){var o=e.stateNode;try{x3(r,o)}catch(u){Ct(e,e.return,u)}}}function Y6(e,r,o){o.props=Wi(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(u){Ct(e,r,u)}}function Qo(e,r){try{var o=e.ref;if(o!==null){switch(e.tag){case 26:case 27:case 5:var u=e.stateNode;break;case 30:u=e.stateNode;break;default:u=e.stateNode}typeof o=="function"?e.refCleanup=o(u):o.current=u}}catch(f){Ct(e,r,f)}}function ia(e,r){var o=e.ref,u=e.refCleanup;if(o!==null)if(typeof u=="function")try{u()}catch(f){Ct(e,r,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(f){Ct(e,r,f)}else o.current=null}function j6(e){var r=e.type,o=e.memoizedProps,u=e.stateNode;try{e:switch(r){case"button":case"input":case"select":case"textarea":o.autoFocus&&u.focus();break e;case"img":o.src?u.src=o.src:o.srcSet&&(u.srcset=o.srcSet)}}catch(f){Ct(e,e.return,f)}}function fd(e,r,o){try{var u=e.stateNode;V_(u,e.type,o,r),u[we]=r}catch(f){Ct(e,e.return,f)}}function B6(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&pi(e.type)||e.tag===4}function dd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||B6(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&pi(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function hd(e,r,o){var u=e.tag;if(u===5||u===6)e=e.stateNode,r?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(e,r):(r=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,r.appendChild(e),o=o._reactRootContainer,o!=null||r.onclick!==null||(r.onclick=Yu));else if(u!==4&&(u===27&&pi(e.type)&&(o=e.stateNode,r=null),e=e.child,e!==null))for(hd(e,r,o),e=e.sibling;e!==null;)hd(e,r,o),e=e.sibling}function Au(e,r,o){var u=e.tag;if(u===5||u===6)e=e.stateNode,r?o.insertBefore(e,r):o.appendChild(e);else if(u!==4&&(u===27&&pi(e.type)&&(o=e.stateNode),e=e.child,e!==null))for(Au(e,r,o),e=e.sibling;e!==null;)Au(e,r,o),e=e.sibling}function I6(e){var r=e.stateNode,o=e.memoizedProps;try{for(var u=e.type,f=r.attributes;f.length;)r.removeAttributeNode(f[0]);An(r,u,o),r[ye]=e,r[we]=o}catch(p){Ct(e,e.return,p)}}var Ra=!1,nn=!1,pd=!1,F6=typeof WeakSet=="function"?WeakSet:Set,bn=null;function M_(e,r){if(e=e.containerInfo,Pd=Vu,e=t3(e),df(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var u=o.getSelection&&o.getSelection();if(u&&u.rangeCount!==0){o=u.anchorNode;var f=u.anchorOffset,p=u.focusNode;u=u.focusOffset;try{o.nodeType,p.nodeType}catch{o=null;break e}var b=0,x=-1,P=-1,ee=0,ie=0,se=e,te=null;t:for(;;){for(var ne;se!==o||f!==0&&se.nodeType!==3||(x=b+f),se!==p||u!==0&&se.nodeType!==3||(P=b+u),se.nodeType===3&&(b+=se.nodeValue.length),(ne=se.firstChild)!==null;)te=se,se=ne;for(;;){if(se===e)break t;if(te===o&&++ee===f&&(x=b),te===p&&++ie===u&&(P=b),(ne=se.nextSibling)!==null)break;se=te,te=se.parentNode}se=ne}o=x===-1||P===-1?null:{start:x,end:P}}else o=null}o=o||{start:0,end:0}}else o=null;for(zd={focusedElem:e,selectionRange:o},Vu=!1,bn=r;bn!==null;)if(r=bn,e=r.child,(r.subtreeFlags&1024)!==0&&e!==null)e.return=r,bn=e;else for(;bn!==null;){switch(r=bn,p=r.alternate,e=r.flags,r.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&p!==null){e=void 0,o=r,f=p.memoizedProps,p=p.memoizedState,u=o.stateNode;try{var Le=Wi(o.type,f,o.elementType===o.type);e=u.getSnapshotBeforeUpdate(Le,p),u.__reactInternalSnapshotBeforeUpdate=e}catch(Ce){Ct(o,o.return,Ce)}}break;case 3:if((e&1024)!==0){if(e=r.stateNode.containerInfo,o=e.nodeType,o===9)Bd(e);else if(o===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Bd(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(t(163))}if(e=r.sibling,e!==null){e.return=r.return,bn=e;break}bn=r.return}}function G6(e,r,o){var u=o.flags;switch(o.tag){case 0:case 11:case 15:oi(e,o),u&4&&Wo(5,o);break;case 1:if(oi(e,o),u&4)if(e=o.stateNode,r===null)try{e.componentDidMount()}catch(b){Ct(o,o.return,b)}else{var f=Wi(o.type,r.memoizedProps);r=r.memoizedState;try{e.componentDidUpdate(f,r,e.__reactInternalSnapshotBeforeUpdate)}catch(b){Ct(o,o.return,b)}}u&64&&z6(o),u&512&&Qo(o,o.return);break;case 3:if(oi(e,o),u&64&&(e=o.updateQueue,e!==null)){if(r=null,o.child!==null)switch(o.child.tag){case 27:case 5:r=o.child.stateNode;break;case 1:r=o.child.stateNode}try{x3(e,r)}catch(b){Ct(o,o.return,b)}}break;case 27:r===null&&u&4&&I6(o);case 26:case 5:oi(e,o),r===null&&u&4&&j6(o),u&512&&Qo(o,o.return);break;case 12:oi(e,o);break;case 13:oi(e,o),u&4&&W6(e,o),u&64&&(e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(o=U_.bind(null,o),eS(e,o))));break;case 22:if(u=o.memoizedState!==null||Ra,!u){r=r!==null&&r.memoizedState!==null||nn,f=Ra;var p=nn;Ra=u,(nn=r)&&!p?si(e,o,(o.subtreeFlags&8772)!==0):oi(e,o),Ra=f,nn=p}break;case 30:break;default:oi(e,o)}}function Z6(e){var r=e.alternate;r!==null&&(e.alternate=null,Z6(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&Me(r)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var jt=null,$n=!1;function Na(e,r,o){for(o=o.child;o!==null;)V6(e,r,o),o=o.sibling}function V6(e,r,o){if(ot&&typeof ot.onCommitFiberUnmount=="function")try{ot.onCommitFiberUnmount(Ze,o)}catch{}switch(o.tag){case 26:nn||ia(o,r),Na(e,r,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:nn||ia(o,r);var u=jt,f=$n;pi(o.type)&&(jt=o.stateNode,$n=!1),Na(e,r,o),as(o.stateNode),jt=u,$n=f;break;case 5:nn||ia(o,r);case 6:if(u=jt,f=$n,jt=null,Na(e,r,o),jt=u,$n=f,jt!==null)if($n)try{(jt.nodeType===9?jt.body:jt.nodeName==="HTML"?jt.ownerDocument.body:jt).removeChild(o.stateNode)}catch(p){Ct(o,r,p)}else try{jt.removeChild(o.stateNode)}catch(p){Ct(o,r,p)}break;case 18:jt!==null&&($n?(e=jt,qv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),ds(e)):qv(jt,o.stateNode));break;case 4:u=jt,f=$n,jt=o.stateNode.containerInfo,$n=!0,Na(e,r,o),jt=u,$n=f;break;case 0:case 11:case 14:case 15:nn||li(2,o,r),nn||li(4,o,r),Na(e,r,o);break;case 1:nn||(ia(o,r),u=o.stateNode,typeof u.componentWillUnmount=="function"&&Y6(o,r,u)),Na(e,r,o);break;case 21:Na(e,r,o);break;case 22:nn=(u=nn)||o.memoizedState!==null,Na(e,r,o),nn=u;break;default:Na(e,r,o)}}function W6(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ds(e)}catch(o){Ct(r,r.return,o)}}function O_(e){switch(e.tag){case 13:case 19:var r=e.stateNode;return r===null&&(r=e.stateNode=new F6),r;case 22:return e=e.stateNode,r=e._retryCache,r===null&&(r=e._retryCache=new F6),r;default:throw Error(t(435,e.tag))}}function md(e,r){var o=O_(e);r.forEach(function(u){var f=H_.bind(null,e,u);o.has(u)||(o.add(u),u.then(f,f))})}function lr(e,r){var o=r.deletions;if(o!==null)for(var u=0;u<o.length;u++){var f=o[u],p=e,b=r,x=b;e:for(;x!==null;){switch(x.tag){case 27:if(pi(x.type)){jt=x.stateNode,$n=!1;break e}break;case 5:jt=x.stateNode,$n=!1;break e;case 3:case 4:jt=x.stateNode.containerInfo,$n=!0;break e}x=x.return}if(jt===null)throw Error(t(160));V6(p,b,f),jt=null,$n=!1,p=f.alternate,p!==null&&(p.return=null),f.return=null}if(r.subtreeFlags&13878)for(r=r.child;r!==null;)Q6(r,e),r=r.sibling}var jr=null;function Q6(e,r){var o=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:lr(r,e),or(e),u&4&&(li(3,e,e.return),Wo(3,e),li(5,e,e.return));break;case 1:lr(r,e),or(e),u&512&&(nn||o===null||ia(o,o.return)),u&64&&Ra&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(o=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=o===null?u:o.concat(u))));break;case 26:var f=jr;if(lr(r,e),or(e),u&512&&(nn||o===null||ia(o,o.return)),u&4){var p=o!==null?o.memoizedState:null;if(u=e.memoizedState,o===null)if(u===null)if(e.stateNode===null){e:{u=e.type,o=e.memoizedProps,f=f.ownerDocument||f;t:switch(u){case"title":p=f.getElementsByTagName("title")[0],(!p||p[Yt]||p[ye]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=f.createElement(u),f.head.insertBefore(p,f.querySelector("head > title"))),An(p,u,o),p[ye]=e,yt(p),u=p;break e;case"link":var b=Iv("link","href",f).get(u+(o.href||""));if(b){for(var x=0;x<b.length;x++)if(p=b[x],p.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&p.getAttribute("rel")===(o.rel==null?null:o.rel)&&p.getAttribute("title")===(o.title==null?null:o.title)&&p.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){b.splice(x,1);break t}}p=f.createElement(u),An(p,u,o),f.head.appendChild(p);break;case"meta":if(b=Iv("meta","content",f).get(u+(o.content||""))){for(x=0;x<b.length;x++)if(p=b[x],p.getAttribute("content")===(o.content==null?null:""+o.content)&&p.getAttribute("name")===(o.name==null?null:o.name)&&p.getAttribute("property")===(o.property==null?null:o.property)&&p.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&p.getAttribute("charset")===(o.charSet==null?null:o.charSet)){b.splice(x,1);break t}}p=f.createElement(u),An(p,u,o),f.head.appendChild(p);break;default:throw Error(t(468,u))}p[ye]=e,yt(p),u=p}e.stateNode=u}else Fv(f,e.type,e.stateNode);else e.stateNode=Bv(f,u,e.memoizedProps);else p!==u?(p===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):p.count--,u===null?Fv(f,e.type,e.stateNode):Bv(f,u,e.memoizedProps)):u===null&&e.stateNode!==null&&fd(e,e.memoizedProps,o.memoizedProps)}break;case 27:lr(r,e),or(e),u&512&&(nn||o===null||ia(o,o.return)),o!==null&&u&4&&fd(e,e.memoizedProps,o.memoizedProps);break;case 5:if(lr(r,e),or(e),u&512&&(nn||o===null||ia(o,o.return)),e.flags&32){f=e.stateNode;try{Hr(f,"")}catch(ne){Ct(e,e.return,ne)}}u&4&&e.stateNode!=null&&(f=e.memoizedProps,fd(e,f,o!==null?o.memoizedProps:f)),u&1024&&(pd=!0);break;case 6:if(lr(r,e),or(e),u&4){if(e.stateNode===null)throw Error(t(162));u=e.memoizedProps,o=e.stateNode;try{o.nodeValue=u}catch(ne){Ct(e,e.return,ne)}}break;case 3:if(Fu=null,f=jr,jr=Bu(r.containerInfo),lr(r,e),jr=f,or(e),u&4&&o!==null&&o.memoizedState.isDehydrated)try{ds(r.containerInfo)}catch(ne){Ct(e,e.return,ne)}pd&&(pd=!1,K6(e));break;case 4:u=jr,jr=Bu(e.stateNode.containerInfo),lr(r,e),or(e),jr=u;break;case 12:lr(r,e),or(e);break;case 13:lr(r,e),or(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Sd=xt()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,md(e,u)));break;case 22:f=e.memoizedState!==null;var P=o!==null&&o.memoizedState!==null,ee=Ra,ie=nn;if(Ra=ee||f,nn=ie||P,lr(r,e),nn=ie,Ra=ee,or(e),u&8192)e:for(r=e.stateNode,r._visibility=f?r._visibility&-2:r._visibility|1,f&&(o===null||P||Ra||nn||Qi(e)),o=null,r=e;;){if(r.tag===5||r.tag===26){if(o===null){P=o=r;try{if(p=P.stateNode,f)b=p.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{x=P.stateNode;var se=P.memoizedProps.style,te=se!=null&&se.hasOwnProperty("display")?se.display:null;x.style.display=te==null||typeof te=="boolean"?"":(""+te).trim()}}catch(ne){Ct(P,P.return,ne)}}}else if(r.tag===6){if(o===null){P=r;try{P.stateNode.nodeValue=f?"":P.memoizedProps}catch(ne){Ct(P,P.return,ne)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break e;for(;r.sibling===null;){if(r.return===null||r.return===e)break e;o===r&&(o=null),r=r.return}o===r&&(o=null),r.sibling.return=r.return,r=r.sibling}u&4&&(u=e.updateQueue,u!==null&&(o=u.retryQueue,o!==null&&(u.retryQueue=null,md(e,o))));break;case 19:lr(r,e),or(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,md(e,u)));break;case 30:break;case 21:break;default:lr(r,e),or(e)}}function or(e){var r=e.flags;if(r&2){try{for(var o,u=e.return;u!==null;){if(B6(u)){o=u;break}u=u.return}if(o==null)throw Error(t(160));switch(o.tag){case 27:var f=o.stateNode,p=dd(e);Au(e,p,f);break;case 5:var b=o.stateNode;o.flags&32&&(Hr(b,""),o.flags&=-33);var x=dd(e);Au(e,x,b);break;case 3:case 4:var P=o.stateNode.containerInfo,ee=dd(e);hd(e,ee,P);break;default:throw Error(t(161))}}catch(ie){Ct(e,e.return,ie)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function K6(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var r=e;K6(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),e=e.sibling}}function oi(e,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)G6(e,r.alternate,r),r=r.sibling}function Qi(e){for(e=e.child;e!==null;){var r=e;switch(r.tag){case 0:case 11:case 14:case 15:li(4,r,r.return),Qi(r);break;case 1:ia(r,r.return);var o=r.stateNode;typeof o.componentWillUnmount=="function"&&Y6(r,r.return,o),Qi(r);break;case 27:as(r.stateNode);case 26:case 5:ia(r,r.return),Qi(r);break;case 22:r.memoizedState===null&&Qi(r);break;case 30:Qi(r);break;default:Qi(r)}e=e.sibling}}function si(e,r,o){for(o=o&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var u=r.alternate,f=e,p=r,b=p.flags;switch(p.tag){case 0:case 11:case 15:si(f,p,o),Wo(4,p);break;case 1:if(si(f,p,o),u=p,f=u.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(ee){Ct(u,u.return,ee)}if(u=p,f=u.updateQueue,f!==null){var x=u.stateNode;try{var P=f.shared.hiddenCallbacks;if(P!==null)for(f.shared.hiddenCallbacks=null,f=0;f<P.length;f++)T3(P[f],x)}catch(ee){Ct(u,u.return,ee)}}o&&b&64&&z6(p),Qo(p,p.return);break;case 27:I6(p);case 26:case 5:si(f,p,o),o&&u===null&&b&4&&j6(p),Qo(p,p.return);break;case 12:si(f,p,o);break;case 13:si(f,p,o),o&&b&4&&W6(f,p);break;case 22:p.memoizedState===null&&si(f,p,o),Qo(p,p.return);break;case 30:break;default:si(f,p,o)}r=r.sibling}}function vd(e,r){var o=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),e=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(e=r.memoizedState.cachePool.pool),e!==o&&(e!=null&&e.refCount++,o!=null&&Lo(o))}function gd(e,r){e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&Lo(e))}function la(e,r,o,u){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)X6(e,r,o,u),r=r.sibling}function X6(e,r,o,u){var f=r.flags;switch(r.tag){case 0:case 11:case 15:la(e,r,o,u),f&2048&&Wo(9,r);break;case 1:la(e,r,o,u);break;case 3:la(e,r,o,u),f&2048&&(e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&Lo(e)));break;case 12:if(f&2048){la(e,r,o,u),e=r.stateNode;try{var p=r.memoizedProps,b=p.id,x=p.onPostCommit;typeof x=="function"&&x(b,r.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(P){Ct(r,r.return,P)}}else la(e,r,o,u);break;case 13:la(e,r,o,u);break;case 23:break;case 22:p=r.stateNode,b=r.alternate,r.memoizedState!==null?p._visibility&2?la(e,r,o,u):Ko(e,r):p._visibility&2?la(e,r,o,u):(p._visibility|=2,ql(e,r,o,u,(r.subtreeFlags&10256)!==0)),f&2048&&vd(b,r);break;case 24:la(e,r,o,u),f&2048&&gd(r.alternate,r);break;default:la(e,r,o,u)}}function ql(e,r,o,u,f){for(f=f&&(r.subtreeFlags&10256)!==0,r=r.child;r!==null;){var p=e,b=r,x=o,P=u,ee=b.flags;switch(b.tag){case 0:case 11:case 15:ql(p,b,x,P,f),Wo(8,b);break;case 23:break;case 22:var ie=b.stateNode;b.memoizedState!==null?ie._visibility&2?ql(p,b,x,P,f):Ko(p,b):(ie._visibility|=2,ql(p,b,x,P,f)),f&&ee&2048&&vd(b.alternate,b);break;case 24:ql(p,b,x,P,f),f&&ee&2048&&gd(b.alternate,b);break;default:ql(p,b,x,P,f)}r=r.sibling}}function Ko(e,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var o=e,u=r,f=u.flags;switch(u.tag){case 22:Ko(o,u),f&2048&&vd(u.alternate,u);break;case 24:Ko(o,u),f&2048&&gd(u.alternate,u);break;default:Ko(o,u)}r=r.sibling}}var Xo=8192;function Ul(e){if(e.subtreeFlags&Xo)for(e=e.child;e!==null;)$6(e),e=e.sibling}function $6(e){switch(e.tag){case 26:Ul(e),e.flags&Xo&&e.memoizedState!==null&&hS(jr,e.memoizedState,e.memoizedProps);break;case 5:Ul(e);break;case 3:case 4:var r=jr;jr=Bu(e.stateNode.containerInfo),Ul(e),jr=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Xo,Xo=16777216,Ul(e),Xo=r):Ul(e));break;default:Ul(e)}}function J6(e){var r=e.alternate;if(r!==null&&(e=r.child,e!==null)){r.child=null;do r=e.sibling,e.sibling=null,e=r;while(e!==null)}}function $o(e){var r=e.deletions;if((e.flags&16)!==0){if(r!==null)for(var o=0;o<r.length;o++){var u=r[o];bn=u,tv(u,e)}J6(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)ev(e),e=e.sibling}function ev(e){switch(e.tag){case 0:case 11:case 15:$o(e),e.flags&2048&&li(9,e,e.return);break;case 3:$o(e);break;case 12:$o(e);break;case 22:var r=e.stateNode;e.memoizedState!==null&&r._visibility&2&&(e.return===null||e.return.tag!==13)?(r._visibility&=-3,Cu(e)):$o(e);break;default:$o(e)}}function Cu(e){var r=e.deletions;if((e.flags&16)!==0){if(r!==null)for(var o=0;o<r.length;o++){var u=r[o];bn=u,tv(u,e)}J6(e)}for(e=e.child;e!==null;){switch(r=e,r.tag){case 0:case 11:case 15:li(8,r,r.return),Cu(r);break;case 22:o=r.stateNode,o._visibility&2&&(o._visibility&=-3,Cu(r));break;default:Cu(r)}e=e.sibling}}function tv(e,r){for(;bn!==null;){var o=bn;switch(o.tag){case 0:case 11:case 15:li(8,o,r);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var u=o.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:Lo(o.memoizedState.cache)}if(u=o.child,u!==null)u.return=o,bn=u;else e:for(o=e;bn!==null;){u=bn;var f=u.sibling,p=u.return;if(Z6(u),u===o){bn=null;break e}if(f!==null){f.return=p,bn=f;break e}bn=p}}}var A_={getCacheForType:function(e){var r=Un(pn),o=r.data.get(e);return o===void 0&&(o=e(),r.data.set(e,o)),o}},C_=typeof WeakMap=="function"?WeakMap:Map,bt=0,Lt=null,Qe=null,tt=0,_t=0,sr=null,ui=!1,Hl=!1,yd=!1,ka=0,Kt=0,ci=0,Ki=0,bd=0,Dr=0,Pl=0,Jo=null,Jn=null,_d=!1,Sd=0,Ru=1/0,Nu=null,fi=null,On=0,di=null,zl=null,Yl=0,Ed=0,wd=null,nv=null,es=0,Dd=null;function ur(){if((bt&2)!==0&&tt!==0)return tt&-tt;if(T.T!==null){var e=Ml;return e!==0?e:Rd()}return Jt()}function rv(){Dr===0&&(Dr=(tt&536870912)===0||ct?Ln():536870912);var e=wr.current;return e!==null&&(e.flags|=32),Dr}function cr(e,r,o){(e===Lt&&(_t===2||_t===9)||e.cancelPendingCommit!==null)&&(jl(e,0),hi(e,tt,Dr,!1)),rt(e,o),((bt&2)===0||e!==Lt)&&(e===Lt&&((bt&2)===0&&(Ki|=o),Kt===4&&hi(e,tt,Dr,!1)),oa(e))}function av(e,r,o){if((bt&6)!==0)throw Error(t(327));var u=!o&&(r&124)===0&&(r&e.expiredLanes)===0||vn(e,r),f=u?k_(e,r):Md(e,r,!0),p=u;do{if(f===0){Hl&&!u&&hi(e,r,0,!1);break}else{if(o=e.current.alternate,p&&!R_(o)){f=Md(e,r,!1),p=!1;continue}if(f===2){if(p=r,e.errorRecoveryDisabledLanes&p)var b=0;else b=e.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){r=b;e:{var x=e;f=Jo;var P=x.current.memoizedState.isDehydrated;if(P&&(jl(x,b).flags|=256),b=Md(x,b,!1),b!==2){if(yd&&!P){x.errorRecoveryDisabledLanes|=p,Ki|=p,f=4;break e}p=Jn,Jn=f,p!==null&&(Jn===null?Jn=p:Jn.push.apply(Jn,p))}f=b}if(p=!1,f!==2)continue}}if(f===1){jl(e,0),hi(e,r,0,!0);break}e:{switch(u=e,p=f,p){case 0:case 1:throw Error(t(345));case 4:if((r&4194048)!==r)break;case 6:hi(u,r,Dr,!ui);break e;case 2:Jn=null;break;case 3:case 5:break;default:throw Error(t(329))}if((r&62914560)===r&&(f=Sd+300-xt(),10<f)){if(hi(u,r,Dr,!ui),ln(u,0,!0)!==0)break e;u.timeoutHandle=kv(iv.bind(null,u,o,Jn,Nu,_d,r,Dr,Ki,Pl,ui,p,2,-0,0),f);break e}iv(u,o,Jn,Nu,_d,r,Dr,Ki,Pl,ui,p,0,-0,0)}}break}while(!0);oa(e)}function iv(e,r,o,u,f,p,b,x,P,ee,ie,se,te,ne){if(e.timeoutHandle=-1,se=r.subtreeFlags,(se&8192||(se&16785408)===16785408)&&(os={stylesheets:null,count:0,unsuspend:dS},$6(r),se=pS(),se!==null)){e.cancelPendingCommit=se(dv.bind(null,e,r,p,o,u,f,b,x,P,ie,1,te,ne)),hi(e,p,b,!ee);return}dv(e,r,p,o,u,f,b,x,P)}function R_(e){for(var r=e;;){var o=r.tag;if((o===0||o===11||o===15)&&r.flags&16384&&(o=r.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var u=0;u<o.length;u++){var f=o[u],p=f.getSnapshot;f=f.value;try{if(!ar(p(),f))return!1}catch{return!1}}if(o=r.child,r.subtreeFlags&16384&&o!==null)o.return=r,r=o;else{if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function hi(e,r,o,u){r&=~bd,r&=~Ki,e.suspendedLanes|=r,e.pingedLanes&=~r,u&&(e.warmLanes|=r),u=e.expirationTimes;for(var f=r;0<f;){var p=31-Mt(f),b=1<<p;u[p]=-1,f&=~b}o!==0&&Ot(e,o,r)}function ku(){return(bt&6)===0?(ts(0),!1):!0}function Td(){if(Qe!==null){if(_t===0)var e=Qe.return;else e=Qe,Ta=Fi=null,Bf(e),kl=null,Go=0,e=Qe;for(;e!==null;)P6(e.alternate,e),e=e.return;Qe=null}}function jl(e,r){var o=e.timeoutHandle;o!==-1&&(e.timeoutHandle=-1,Q_(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),Td(),Lt=e,Qe=o=Ea(e.current,null),tt=r,_t=0,sr=null,ui=!1,Hl=vn(e,r),yd=!1,Pl=Dr=bd=Ki=ci=Kt=0,Jn=Jo=null,_d=!1,(r&8)!==0&&(r|=r&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=r;0<u;){var f=31-Mt(u),p=1<<f;r|=e[f],u&=~p}return ka=r,tu(),o}function lv(e,r){Fe=null,T.H=_u,r===Uo||r===cu?(r=w3(),_t=3):r===_3?(r=w3(),_t=4):_t=r===D6?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,sr=r,Qe===null&&(Kt=1,Tu(e,br(r,e.current)))}function ov(){var e=T.H;return T.H=_u,e===null?_u:e}function sv(){var e=T.A;return T.A=A_,e}function xd(){Kt=4,ui||(tt&4194048)!==tt&&wr.current!==null||(Hl=!0),(ci&134217727)===0&&(Ki&134217727)===0||Lt===null||hi(Lt,tt,Dr,!1)}function Md(e,r,o){var u=bt;bt|=2;var f=ov(),p=sv();(Lt!==e||tt!==r)&&(Nu=null,jl(e,r)),r=!1;var b=Kt;e:do try{if(_t!==0&&Qe!==null){var x=Qe,P=sr;switch(_t){case 8:Td(),b=6;break e;case 3:case 2:case 9:case 6:wr.current===null&&(r=!0);var ee=_t;if(_t=0,sr=null,Bl(e,x,P,ee),o&&Hl){b=0;break e}break;default:ee=_t,_t=0,sr=null,Bl(e,x,P,ee)}}N_(),b=Kt;break}catch(ie){lv(e,ie)}while(!0);return r&&e.shellSuspendCounter++,Ta=Fi=null,bt=u,T.H=f,T.A=p,Qe===null&&(Lt=null,tt=0,tu()),b}function N_(){for(;Qe!==null;)uv(Qe)}function k_(e,r){var o=bt;bt|=2;var u=ov(),f=sv();Lt!==e||tt!==r?(Nu=null,Ru=xt()+500,jl(e,r)):Hl=vn(e,r);e:do try{if(_t!==0&&Qe!==null){r=Qe;var p=sr;t:switch(_t){case 1:_t=0,sr=null,Bl(e,r,p,1);break;case 2:case 9:if(S3(p)){_t=0,sr=null,cv(r);break}r=function(){_t!==2&&_t!==9||Lt!==e||(_t=7),oa(e)},p.then(r,r);break e;case 3:_t=7;break e;case 4:_t=5;break e;case 7:S3(p)?(_t=0,sr=null,cv(r)):(_t=0,sr=null,Bl(e,r,p,7));break;case 5:var b=null;switch(Qe.tag){case 26:b=Qe.memoizedState;case 5:case 27:var x=Qe;if(!b||Gv(b)){_t=0,sr=null;var P=x.sibling;if(P!==null)Qe=P;else{var ee=x.return;ee!==null?(Qe=ee,Lu(ee)):Qe=null}break t}}_t=0,sr=null,Bl(e,r,p,5);break;case 6:_t=0,sr=null,Bl(e,r,p,6);break;case 8:Td(),Kt=6;break e;default:throw Error(t(462))}}L_();break}catch(ie){lv(e,ie)}while(!0);return Ta=Fi=null,T.H=u,T.A=f,bt=o,Qe!==null?0:(Lt=null,tt=0,tu(),Kt)}function L_(){for(;Qe!==null&&!Ue();)uv(Qe)}function uv(e){var r=U6(e.alternate,e,ka);e.memoizedProps=e.pendingProps,r===null?Lu(e):Qe=r}function cv(e){var r=e,o=r.alternate;switch(r.tag){case 15:case 0:r=C6(o,r,r.pendingProps,r.type,void 0,tt);break;case 11:r=C6(o,r,r.pendingProps,r.type.render,r.ref,tt);break;case 5:Bf(r);default:P6(o,r),r=Qe=f3(r,ka),r=U6(o,r,ka)}e.memoizedProps=e.pendingProps,r===null?Lu(e):Qe=r}function Bl(e,r,o,u){Ta=Fi=null,Bf(r),kl=null,Go=0;var f=r.return;try{if(w_(e,f,r,o,tt)){Kt=1,Tu(e,br(o,e.current)),Qe=null;return}}catch(p){if(f!==null)throw Qe=f,p;Kt=1,Tu(e,br(o,e.current)),Qe=null;return}r.flags&32768?(ct||u===1?e=!0:Hl||(tt&536870912)!==0?e=!1:(ui=e=!0,(u===2||u===9||u===3||u===6)&&(u=wr.current,u!==null&&u.tag===13&&(u.flags|=16384))),fv(r,e)):Lu(r)}function Lu(e){var r=e;do{if((r.flags&32768)!==0){fv(r,ui);return}e=r.return;var o=T_(r.alternate,r,ka);if(o!==null){Qe=o;return}if(r=r.sibling,r!==null){Qe=r;return}Qe=r=e}while(r!==null);Kt===0&&(Kt=5)}function fv(e,r){do{var o=x_(e.alternate,e);if(o!==null){o.flags&=32767,Qe=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!r&&(e=e.sibling,e!==null)){Qe=e;return}Qe=e=o}while(e!==null);Kt=6,Qe=null}function dv(e,r,o,u,f,p,b,x,P){e.cancelPendingCommit=null;do qu();while(On!==0);if((bt&6)!==0)throw Error(t(327));if(r!==null){if(r===e.current)throw Error(t(177));if(p=r.lanes|r.childLanes,p|=gf,Qn(e,o,p,b,x,P),e===Lt&&(Qe=Lt=null,tt=0),zl=r,di=e,Yl=o,Ed=p,wd=f,nv=u,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,P_(zn,function(){return gv(),null})):(e.callbackNode=null,e.callbackPriority=0),u=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||u){u=T.T,T.T=null,f=N.p,N.p=2,b=bt,bt|=4;try{M_(e,r,o)}finally{bt=b,N.p=f,T.T=u}}On=1,hv(),pv(),mv()}}function hv(){if(On===1){On=0;var e=di,r=zl,o=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||o){o=T.T,T.T=null;var u=N.p;N.p=2;var f=bt;bt|=4;try{Q6(r,e);var p=zd,b=t3(e.containerInfo),x=p.focusedElem,P=p.selectionRange;if(b!==x&&x&&x.ownerDocument&&e3(x.ownerDocument.documentElement,x)){if(P!==null&&df(x)){var ee=P.start,ie=P.end;if(ie===void 0&&(ie=ee),"selectionStart"in x)x.selectionStart=ee,x.selectionEnd=Math.min(ie,x.value.length);else{var se=x.ownerDocument||document,te=se&&se.defaultView||window;if(te.getSelection){var ne=te.getSelection(),Le=x.textContent.length,Ce=Math.min(P.start,Le),Tt=P.end===void 0?Ce:Math.min(P.end,Le);!ne.extend&&Ce>Tt&&(b=Tt,Tt=Ce,Ce=b);var Q=Jm(x,Ce),I=Jm(x,Tt);if(Q&&I&&(ne.rangeCount!==1||ne.anchorNode!==Q.node||ne.anchorOffset!==Q.offset||ne.focusNode!==I.node||ne.focusOffset!==I.offset)){var J=se.createRange();J.setStart(Q.node,Q.offset),ne.removeAllRanges(),Ce>Tt?(ne.addRange(J),ne.extend(I.node,I.offset)):(J.setEnd(I.node,I.offset),ne.addRange(J))}}}}for(se=[],ne=x;ne=ne.parentNode;)ne.nodeType===1&&se.push({element:ne,left:ne.scrollLeft,top:ne.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<se.length;x++){var le=se[x];le.element.scrollLeft=le.left,le.element.scrollTop=le.top}}Vu=!!Pd,zd=Pd=null}finally{bt=f,N.p=u,T.T=o}}e.current=r,On=2}}function pv(){if(On===2){On=0;var e=di,r=zl,o=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||o){o=T.T,T.T=null;var u=N.p;N.p=2;var f=bt;bt|=4;try{G6(e,r.alternate,r)}finally{bt=f,N.p=u,T.T=o}}On=3}}function mv(){if(On===4||On===3){On=0,Rn();var e=di,r=zl,o=Yl,u=nv;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?On=5:(On=0,zl=di=null,vv(e,e.pendingLanes));var f=e.pendingLanes;if(f===0&&(fi=null),Ye(o),r=r.stateNode,ot&&typeof ot.onCommitFiberRoot=="function")try{ot.onCommitFiberRoot(Ze,r,void 0,(r.current.flags&128)===128)}catch{}if(u!==null){r=T.T,f=N.p,N.p=2,T.T=null;try{for(var p=e.onRecoverableError,b=0;b<u.length;b++){var x=u[b];p(x.value,{componentStack:x.stack})}}finally{T.T=r,N.p=f}}(Yl&3)!==0&&qu(),oa(e),f=e.pendingLanes,(o&4194090)!==0&&(f&42)!==0?e===Dd?es++:(es=0,Dd=e):es=0,ts(0)}}function vv(e,r){(e.pooledCacheLanes&=r)===0&&(r=e.pooledCache,r!=null&&(e.pooledCache=null,Lo(r)))}function qu(e){return hv(),pv(),mv(),gv()}function gv(){if(On!==5)return!1;var e=di,r=Ed;Ed=0;var o=Ye(Yl),u=T.T,f=N.p;try{N.p=32>o?32:o,T.T=null,o=wd,wd=null;var p=di,b=Yl;if(On=0,zl=di=null,Yl=0,(bt&6)!==0)throw Error(t(331));var x=bt;if(bt|=4,ev(p.current),X6(p,p.current,b,o),bt=x,ts(0,!1),ot&&typeof ot.onPostCommitFiberRoot=="function")try{ot.onPostCommitFiberRoot(Ze,p)}catch{}return!0}finally{N.p=f,T.T=u,vv(e,r)}}function yv(e,r,o){r=br(o,r),r=nd(e.stateNode,r,2),e=ni(e,r,2),e!==null&&(rt(e,2),oa(e))}function Ct(e,r,o){if(e.tag===3)yv(e,e,o);else for(;r!==null;){if(r.tag===3){yv(r,e,o);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(fi===null||!fi.has(u))){e=br(o,e),o=E6(2),u=ni(r,o,2),u!==null&&(w6(o,u,r,e),rt(u,2),oa(u));break}}r=r.return}}function Od(e,r,o){var u=e.pingCache;if(u===null){u=e.pingCache=new C_;var f=new Set;u.set(r,f)}else f=u.get(r),f===void 0&&(f=new Set,u.set(r,f));f.has(o)||(yd=!0,f.add(o),e=q_.bind(null,e,r,o),r.then(e,e))}function q_(e,r,o){var u=e.pingCache;u!==null&&u.delete(r),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,Lt===e&&(tt&o)===o&&(Kt===4||Kt===3&&(tt&62914560)===tt&&300>xt()-Sd?(bt&2)===0&&jl(e,0):bd|=o,Pl===tt&&(Pl=0)),oa(e)}function bv(e,r){r===0&&(r=qn()),e=wl(e,r),e!==null&&(rt(e,r),oa(e))}function U_(e){var r=e.memoizedState,o=0;r!==null&&(o=r.retryLane),bv(e,o)}function H_(e,r){var o=0;switch(e.tag){case 13:var u=e.stateNode,f=e.memoizedState;f!==null&&(o=f.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error(t(314))}u!==null&&u.delete(r),bv(e,o)}function P_(e,r){return lt(e,r)}var Uu=null,Il=null,Ad=!1,Hu=!1,Cd=!1,Xi=0;function oa(e){e!==Il&&e.next===null&&(Il===null?Uu=Il=e:Il=Il.next=e),Hu=!0,Ad||(Ad=!0,Y_())}function ts(e,r){if(!Cd&&Hu){Cd=!0;do for(var o=!1,u=Uu;u!==null;){if(e!==0){var f=u.pendingLanes;if(f===0)var p=0;else{var b=u.suspendedLanes,x=u.pingedLanes;p=(1<<31-Mt(42|e)+1)-1,p&=f&~(b&~x),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(o=!0,wv(u,p))}else p=tt,p=ln(u,u===Lt?p:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(p&3)===0||vn(u,p)||(o=!0,wv(u,p));u=u.next}while(o);Cd=!1}}function z_(){_v()}function _v(){Hu=Ad=!1;var e=0;Xi!==0&&(W_()&&(e=Xi),Xi=0);for(var r=xt(),o=null,u=Uu;u!==null;){var f=u.next,p=Sv(u,r);p===0?(u.next=null,o===null?Uu=f:o.next=f,f===null&&(Il=o)):(o=u,(e!==0||(p&3)!==0)&&(Hu=!0)),u=f}ts(e)}function Sv(e,r){for(var o=e.suspendedLanes,u=e.pingedLanes,f=e.expirationTimes,p=e.pendingLanes&-62914561;0<p;){var b=31-Mt(p),x=1<<b,P=f[b];P===-1?((x&o)===0||(x&u)!==0)&&(f[b]=qr(x,r)):P<=r&&(e.expiredLanes|=x),p&=~x}if(r=Lt,o=tt,o=ln(e,e===r?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u=e.callbackNode,o===0||e===r&&(_t===2||_t===9)||e.cancelPendingCommit!==null)return u!==null&&u!==null&&nt(u),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||vn(e,o)){if(r=o&-o,r===e.callbackPriority)return r;switch(u!==null&&nt(u),Ye(o)){case 2:case 8:o=Wn;break;case 32:o=zn;break;case 268435456:o=ge;break;default:o=zn}return u=Ev.bind(null,e),o=lt(o,u),e.callbackPriority=r,e.callbackNode=o,r}return u!==null&&u!==null&&nt(u),e.callbackPriority=2,e.callbackNode=null,2}function Ev(e,r){if(On!==0&&On!==5)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(qu()&&e.callbackNode!==o)return null;var u=tt;return u=ln(e,e===Lt?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u===0?null:(av(e,u,r),Sv(e,xt()),e.callbackNode!=null&&e.callbackNode===o?Ev.bind(null,e):null)}function wv(e,r){if(qu())return null;av(e,r,!0)}function Y_(){K_(function(){(bt&6)!==0?lt(Je,z_):_v()})}function Rd(){return Xi===0&&(Xi=Ln()),Xi}function Dv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Pr(""+e)}function Tv(e,r){var o=r.ownerDocument.createElement("input");return o.name=r.name,o.value=r.value,e.id&&o.setAttribute("form",e.id),r.parentNode.insertBefore(o,r),e=new FormData(e),o.parentNode.removeChild(o),e}function j_(e,r,o,u,f){if(r==="submit"&&o&&o.stateNode===f){var p=Dv((f[we]||null).action),b=u.submitter;b&&(r=(r=b[we]||null)?Dv(r.formAction):b.getAttribute("formAction"),r!==null&&(p=r,b=null));var x=new de("action","action",null,u,f);e.push({event:x,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Xi!==0){var P=b?Tv(f,b):new FormData(f);Xf(o,{pending:!0,data:P,method:f.method,action:p},null,P)}}else typeof p=="function"&&(x.preventDefault(),P=b?Tv(f,b):new FormData(f),Xf(o,{pending:!0,data:P,method:f.method,action:p},p,P))},currentTarget:f}]})}}for(var Nd=0;Nd<vf.length;Nd++){var kd=vf[Nd],B_=kd.toLowerCase(),I_=kd[0].toUpperCase()+kd.slice(1);Yr(B_,"on"+I_)}Yr(a3,"onAnimationEnd"),Yr(i3,"onAnimationIteration"),Yr(l3,"onAnimationStart"),Yr("dblclick","onDoubleClick"),Yr("focusin","onFocus"),Yr("focusout","onBlur"),Yr(l_,"onTransitionRun"),Yr(o_,"onTransitionStart"),Yr(s_,"onTransitionCancel"),Yr(o3,"onTransitionEnd"),ce("onMouseEnter",["mouseout","mouseover"]),ce("onMouseLeave",["mouseout","mouseover"]),ce("onPointerEnter",["pointerout","pointerover"]),ce("onPointerLeave",["pointerout","pointerover"]),ue("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ue("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ue("onBeforeInput",["compositionend","keypress","textInput","paste"]),ue("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ue("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ue("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ns="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(" "),F_=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ns));function xv(e,r){r=(r&4)!==0;for(var o=0;o<e.length;o++){var u=e[o],f=u.event;u=u.listeners;e:{var p=void 0;if(r)for(var b=u.length-1;0<=b;b--){var x=u[b],P=x.instance,ee=x.currentTarget;if(x=x.listener,P!==p&&f.isPropagationStopped())break e;p=x,f.currentTarget=ee;try{p(f)}catch(ie){Du(ie)}f.currentTarget=null,p=P}else for(b=0;b<u.length;b++){if(x=u[b],P=x.instance,ee=x.currentTarget,x=x.listener,P!==p&&f.isPropagationStopped())break e;p=x,f.currentTarget=ee;try{p(f)}catch(ie){Du(ie)}f.currentTarget=null,p=P}}}}function Ke(e,r){var o=r[At];o===void 0&&(o=r[At]=new Set);var u=e+"__bubble";o.has(u)||(Mv(r,e,2,!1),o.add(u))}function Ld(e,r,o){var u=0;r&&(u|=4),Mv(o,e,u,r)}var Pu="_reactListening"+Math.random().toString(36).slice(2);function qd(e){if(!e[Pu]){e[Pu]=!0,Ee.forEach(function(o){o!=="selectionchange"&&(F_.has(o)||Ld(o,!1,e),Ld(o,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[Pu]||(r[Pu]=!0,Ld("selectionchange",!1,r))}}function Mv(e,r,o,u){switch(Xv(r)){case 2:var f=gS;break;case 8:f=yS;break;default:f=Qd}o=f.bind(null,r,o,e),f=void 0,!yl||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),u?f!==void 0?e.addEventListener(r,o,{capture:!0,passive:f}):e.addEventListener(r,o,!0):f!==void 0?e.addEventListener(r,o,{passive:f}):e.addEventListener(r,o,!1)}function Ud(e,r,o,u,f){var p=u;if((r&1)===0&&(r&2)===0&&u!==null)e:for(;;){if(u===null)return;var b=u.tag;if(b===3||b===4){var x=u.stateNode.containerInfo;if(x===f)break;if(b===4)for(b=u.return;b!==null;){var P=b.tag;if((P===3||P===4)&&b.stateNode.containerInfo===f)return;b=b.return}for(;x!==null;){if(b=dn(x),b===null)return;if(P=b.tag,P===5||P===6||P===26||P===27){u=p=b;continue e}x=x.parentNode}}u=u.return}nr(function(){var ee=p,ie=gl(o),se=[];e:{var te=s3.get(e);if(te!==void 0){var ne=de,Le=e;switch(e){case"keypress":if(qi(o)===0)break e;case"keydown":case"keyup":ne=Pb;break;case"focusin":Le="focus",ne=of;break;case"focusout":Le="blur",ne=of;break;case"beforeblur":case"afterblur":ne=of;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ne=$a;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ne=$s;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ne=jb;break;case a3:case i3:case l3:ne=Ab;break;case o3:ne=Ib;break;case"scroll":case"scrollend":ne=kt;break;case"wheel":ne=Gb;break;case"copy":case"cut":case"paste":ne=Rb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ne=zm;break;case"toggle":case"beforetoggle":ne=Vb}var Ce=(r&4)!==0,Tt=!Ce&&(e==="scroll"||e==="scrollend"),Q=Ce?te!==null?te+"Capture":null:te;Ce=[];for(var I=ee,J;I!==null;){var le=I;if(J=le.stateNode,le=le.tag,le!==5&&le!==26&&le!==27||J===null||Q===null||(le=na(I,Q),le!=null&&Ce.push(rs(I,le,J))),Tt)break;I=I.return}0<Ce.length&&(te=new ne(te,Le,null,o,ie),se.push({event:te,listeners:Ce}))}}if((r&7)===0){e:{if(te=e==="mouseover"||e==="pointerover",ne=e==="mouseout"||e==="pointerout",te&&o!==So&&(Le=o.relatedTarget||o.fromElement)&&(dn(Le)||Le[Be]))break e;if((ne||te)&&(te=ie.window===ie?ie:(te=ie.ownerDocument)?te.defaultView||te.parentWindow:window,ne?(Le=o.relatedTarget||o.toElement,ne=ee,Le=Le?dn(Le):null,Le!==null&&(Tt=s(Le),Ce=Le.tag,Le!==Tt||Ce!==5&&Ce!==27&&Ce!==6)&&(Le=null)):(ne=null,Le=ee),ne!==Le)){if(Ce=$a,le="onMouseLeave",Q="onMouseEnter",I="mouse",(e==="pointerout"||e==="pointerover")&&(Ce=zm,le="onPointerLeave",Q="onPointerEnter",I="pointer"),Tt=ne==null?te:tr(ne),J=Le==null?te:tr(Le),te=new Ce(le,I+"leave",ne,o,ie),te.target=Tt,te.relatedTarget=J,le=null,dn(ie)===ee&&(Ce=new Ce(Q,I+"enter",Le,o,ie),Ce.target=J,Ce.relatedTarget=Tt,le=Ce),Tt=le,ne&&Le)t:{for(Ce=ne,Q=Le,I=0,J=Ce;J;J=Fl(J))I++;for(J=0,le=Q;le;le=Fl(le))J++;for(;0<I-J;)Ce=Fl(Ce),I--;for(;0<J-I;)Q=Fl(Q),J--;for(;I--;){if(Ce===Q||Q!==null&&Ce===Q.alternate)break t;Ce=Fl(Ce),Q=Fl(Q)}Ce=null}else Ce=null;ne!==null&&Ov(se,te,ne,Ce,!1),Le!==null&&Tt!==null&&Ov(se,Tt,Le,Ce,!0)}}e:{if(te=ee?tr(ee):window,ne=te.nodeName&&te.nodeName.toLowerCase(),ne==="select"||ne==="input"&&te.type==="file")var De=Vm;else if(Gm(te))if(Wm)De=r_;else{De=t_;var Ve=e_}else ne=te.nodeName,!ne||ne.toLowerCase()!=="input"||te.type!=="checkbox"&&te.type!=="radio"?ee&&_o(ee.elementType)&&(De=Vm):De=n_;if(De&&(De=De(e,ee))){Zm(se,De,o,ie);break e}Ve&&Ve(e,te,ee),e==="focusout"&&ee&&te.type==="number"&&ee.memoizedProps.value!=null&&Jr(te,"number",te.value)}switch(Ve=ee?tr(ee):window,e){case"focusin":(Gm(Ve)||Ve.contentEditable==="true")&&(_l=Ve,hf=ee,Ao=null);break;case"focusout":Ao=hf=_l=null;break;case"mousedown":pf=!0;break;case"contextmenu":case"mouseup":case"dragend":pf=!1,n3(se,o,ie);break;case"selectionchange":if(i_)break;case"keydown":case"keyup":n3(se,o,ie)}var Oe;if(uf)e:{switch(e){case"compositionstart":var Ne="onCompositionStart";break e;case"compositionend":Ne="onCompositionEnd";break e;case"compositionupdate":Ne="onCompositionUpdate";break e}Ne=void 0}else bl?Im(e,o)&&(Ne="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(Ne="onCompositionStart");Ne&&(Ym&&o.locale!=="ko"&&(bl||Ne!=="onCompositionStart"?Ne==="onCompositionEnd"&&bl&&(Oe=Do()):(zr=ie,rr="value"in zr?zr.value:zr.textContent,bl=!0)),Ve=zu(ee,Ne),0<Ve.length&&(Ne=new Pm(Ne,e,null,o,ie),se.push({event:Ne,listeners:Ve}),Oe?Ne.data=Oe:(Oe=Fm(o),Oe!==null&&(Ne.data=Oe)))),(Oe=Qb?Kb(e,o):Xb(e,o))&&(Ne=zu(ee,"onBeforeInput"),0<Ne.length&&(Ve=new Pm("onBeforeInput","beforeinput",null,o,ie),se.push({event:Ve,listeners:Ne}),Ve.data=Oe)),j_(se,e,ee,o,ie)}xv(se,r)})}function rs(e,r,o){return{instance:e,listener:r,currentTarget:o}}function zu(e,r){for(var o=r+"Capture",u=[];e!==null;){var f=e,p=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||p===null||(f=na(e,o),f!=null&&u.unshift(rs(e,f,p)),f=na(e,r),f!=null&&u.push(rs(e,f,p))),e.tag===3)return u;e=e.return}return[]}function Fl(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Ov(e,r,o,u,f){for(var p=r._reactName,b=[];o!==null&&o!==u;){var x=o,P=x.alternate,ee=x.stateNode;if(x=x.tag,P!==null&&P===u)break;x!==5&&x!==26&&x!==27||ee===null||(P=ee,f?(ee=na(o,p),ee!=null&&b.unshift(rs(o,ee,P))):f||(ee=na(o,p),ee!=null&&b.push(rs(o,ee,P)))),o=o.return}b.length!==0&&e.push({event:r,listeners:b})}var G_=/\r\n?/g,Z_=/\u0000|\uFFFD/g;function Av(e){return(typeof e=="string"?e:""+e).replace(G_,`
`).replace(Z_,"")}function Cv(e,r){return r=Av(r),Av(e)===r}function Yu(){}function Dt(e,r,o,u,f,p){switch(o){case"children":typeof u=="string"?r==="body"||r==="textarea"&&u===""||Hr(e,u):(typeof u=="number"||typeof u=="bigint")&&r!=="body"&&Hr(e,""+u);break;case"className":Kn(e,"class",u);break;case"tabIndex":Kn(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Kn(e,o,u);break;case"style":Xa(e,u,p);break;case"data":if(r!=="object"){Kn(e,"data",u);break}case"src":case"href":if(u===""&&(r!=="a"||o!=="href")){e.removeAttribute(o);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(o);break}u=Pr(""+u),e.setAttribute(o,u);break;case"action":case"formAction":if(typeof u=="function"){e.setAttribute(o,"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 p=="function"&&(o==="formAction"?(r!=="input"&&Dt(e,r,"name",f.name,f,null),Dt(e,r,"formEncType",f.formEncType,f,null),Dt(e,r,"formMethod",f.formMethod,f,null),Dt(e,r,"formTarget",f.formTarget,f,null)):(Dt(e,r,"encType",f.encType,f,null),Dt(e,r,"method",f.method,f,null),Dt(e,r,"target",f.target,f,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(o);break}u=Pr(""+u),e.setAttribute(o,u);break;case"onClick":u!=null&&(e.onclick=Yu);break;case"onScroll":u!=null&&Ke("scroll",e);break;case"onScrollEnd":u!=null&&Ke("scrollend",e);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(t(61));if(o=u.__html,o!=null){if(f.children!=null)throw Error(t(60));e.innerHTML=o}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}o=Pr(""+u),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(o,""+u):e.removeAttribute(o);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":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(o,""):e.removeAttribute(o);break;case"capture":case"download":u===!0?e.setAttribute(o,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(o,u):e.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?e.setAttribute(o,u):e.removeAttribute(o);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(o):e.setAttribute(o,u);break;case"popover":Ke("beforetoggle",e),Ke("toggle",e),Gt(e,"popover",u);break;case"xlinkActuate":st(e,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":st(e,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":st(e,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":st(e,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":st(e,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":st(e,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":st(e,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":st(e,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":st(e,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":Gt(e,"is",u);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=lf.get(o)||o,Gt(e,o,u))}}function Hd(e,r,o,u,f,p){switch(o){case"style":Xa(e,u,p);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(t(61));if(o=u.__html,o!=null){if(f.children!=null)throw Error(t(60));e.innerHTML=o}}break;case"children":typeof u=="string"?Hr(e,u):(typeof u=="number"||typeof u=="bigint")&&Hr(e,""+u);break;case"onScroll":u!=null&&Ke("scroll",e);break;case"onScrollEnd":u!=null&&Ke("scrollend",e);break;case"onClick":u!=null&&(e.onclick=Yu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!F.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(f=o.endsWith("Capture"),r=o.slice(2,f?o.length-7:void 0),p=e[we]||null,p=p!=null?p[o]:null,typeof p=="function"&&e.removeEventListener(r,p,f),typeof u=="function")){typeof p!="function"&&p!==null&&(o in e?e[o]=null:e.hasAttribute(o)&&e.removeAttribute(o)),e.addEventListener(r,u,f);break e}o in e?e[o]=u:u===!0?e.setAttribute(o,""):Gt(e,o,u)}}}function An(e,r,o){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ke("error",e),Ke("load",e);var u=!1,f=!1,p;for(p in o)if(o.hasOwnProperty(p)){var b=o[p];if(b!=null)switch(p){case"src":u=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t(137,r));default:Dt(e,r,p,b,o,null)}}f&&Dt(e,r,"srcSet",o.srcSet,o,null),u&&Dt(e,r,"src",o.src,o,null);return;case"input":Ke("invalid",e);var x=p=b=f=null,P=null,ee=null;for(u in o)if(o.hasOwnProperty(u)){var ie=o[u];if(ie!=null)switch(u){case"name":f=ie;break;case"type":b=ie;break;case"checked":P=ie;break;case"defaultChecked":ee=ie;break;case"value":p=ie;break;case"defaultValue":x=ie;break;case"children":case"dangerouslySetInnerHTML":if(ie!=null)throw Error(t(137,r));break;default:Dt(e,r,u,ie,o,null)}}gr(e,p,x,P,ee,b,f,!1),ki(e);return;case"select":Ke("invalid",e),u=b=p=null;for(f in o)if(o.hasOwnProperty(f)&&(x=o[f],x!=null))switch(f){case"value":p=x;break;case"defaultValue":b=x;break;case"multiple":u=x;default:Dt(e,r,f,x,o,null)}r=p,o=b,e.multiple=!!u,r!=null?ea(e,!!u,r,!1):o!=null&&ea(e,!!u,o,!0);return;case"textarea":Ke("invalid",e),p=f=u=null;for(b in o)if(o.hasOwnProperty(b)&&(x=o[b],x!=null))switch(b){case"value":u=x;break;case"defaultValue":f=x;break;case"children":p=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(t(91));break;default:Dt(e,r,b,x,o,null)}Qs(e,u,f,p),ki(e);return;case"option":for(P in o)if(o.hasOwnProperty(P)&&(u=o[P],u!=null))switch(P){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:Dt(e,r,P,u,o,null)}return;case"dialog":Ke("beforetoggle",e),Ke("toggle",e),Ke("cancel",e),Ke("close",e);break;case"iframe":case"object":Ke("load",e);break;case"video":case"audio":for(u=0;u<ns.length;u++)Ke(ns[u],e);break;case"image":Ke("error",e),Ke("load",e);break;case"details":Ke("toggle",e);break;case"embed":case"source":case"link":Ke("error",e),Ke("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(ee in o)if(o.hasOwnProperty(ee)&&(u=o[ee],u!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":throw Error(t(137,r));default:Dt(e,r,ee,u,o,null)}return;default:if(_o(r)){for(ie in o)o.hasOwnProperty(ie)&&(u=o[ie],u!==void 0&&Hd(e,r,ie,u,o,void 0));return}}for(x in o)o.hasOwnProperty(x)&&(u=o[x],u!=null&&Dt(e,r,x,u,o,null))}function V_(e,r,o,u){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,p=null,b=null,x=null,P=null,ee=null,ie=null;for(ne in o){var se=o[ne];if(o.hasOwnProperty(ne)&&se!=null)switch(ne){case"checked":break;case"value":break;case"defaultValue":P=se;default:u.hasOwnProperty(ne)||Dt(e,r,ne,null,u,se)}}for(var te in u){var ne=u[te];if(se=o[te],u.hasOwnProperty(te)&&(ne!=null||se!=null))switch(te){case"type":p=ne;break;case"name":f=ne;break;case"checked":ee=ne;break;case"defaultChecked":ie=ne;break;case"value":b=ne;break;case"defaultValue":x=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(t(137,r));break;default:ne!==se&&Dt(e,r,te,ne,u,se)}}Ka(e,b,x,P,ee,ie,p,f);return;case"select":ne=b=x=te=null;for(p in o)if(P=o[p],o.hasOwnProperty(p)&&P!=null)switch(p){case"value":break;case"multiple":ne=P;default:u.hasOwnProperty(p)||Dt(e,r,p,null,u,P)}for(f in u)if(p=u[f],P=o[f],u.hasOwnProperty(f)&&(p!=null||P!=null))switch(f){case"value":te=p;break;case"defaultValue":x=p;break;case"multiple":b=p;default:p!==P&&Dt(e,r,f,p,u,P)}r=x,o=b,u=ne,te!=null?ea(e,!!o,te,!1):!!u!=!!o&&(r!=null?ea(e,!!o,r,!0):ea(e,!!o,o?[]:"",!1));return;case"textarea":ne=te=null;for(x in o)if(f=o[x],o.hasOwnProperty(x)&&f!=null&&!u.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Dt(e,r,x,null,u,f)}for(b in u)if(f=u[b],p=o[b],u.hasOwnProperty(b)&&(f!=null||p!=null))switch(b){case"value":te=f;break;case"defaultValue":ne=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(t(91));break;default:f!==p&&Dt(e,r,b,f,u,p)}ml(e,te,ne);return;case"option":for(var Le in o)if(te=o[Le],o.hasOwnProperty(Le)&&te!=null&&!u.hasOwnProperty(Le))switch(Le){case"selected":e.selected=!1;break;default:Dt(e,r,Le,null,u,te)}for(P in u)if(te=u[P],ne=o[P],u.hasOwnProperty(P)&&te!==ne&&(te!=null||ne!=null))switch(P){case"selected":e.selected=te&&typeof te!="function"&&typeof te!="symbol";break;default:Dt(e,r,P,te,u,ne)}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 Ce in o)te=o[Ce],o.hasOwnProperty(Ce)&&te!=null&&!u.hasOwnProperty(Ce)&&Dt(e,r,Ce,null,u,te);for(ee in u)if(te=u[ee],ne=o[ee],u.hasOwnProperty(ee)&&te!==ne&&(te!=null||ne!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(t(137,r));break;default:Dt(e,r,ee,te,u,ne)}return;default:if(_o(r)){for(var Tt in o)te=o[Tt],o.hasOwnProperty(Tt)&&te!==void 0&&!u.hasOwnProperty(Tt)&&Hd(e,r,Tt,void 0,u,te);for(ie in u)te=u[ie],ne=o[ie],!u.hasOwnProperty(ie)||te===ne||te===void 0&&ne===void 0||Hd(e,r,ie,te,u,ne);return}}for(var Q in o)te=o[Q],o.hasOwnProperty(Q)&&te!=null&&!u.hasOwnProperty(Q)&&Dt(e,r,Q,null,u,te);for(se in u)te=u[se],ne=o[se],!u.hasOwnProperty(se)||te===ne||te==null&&ne==null||Dt(e,r,se,te,u,ne)}var Pd=null,zd=null;function ju(e){return e.nodeType===9?e:e.ownerDocument}function Rv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Nv(e,r){if(e===0)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&r==="foreignObject"?0:e}function Yd(e,r){return e==="textarea"||e==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.children=="bigint"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var jd=null;function W_(){var e=window.event;return e&&e.type==="popstate"?e===jd?!1:(jd=e,!0):(jd=null,!1)}var kv=typeof setTimeout=="function"?setTimeout:void 0,Q_=typeof clearTimeout=="function"?clearTimeout:void 0,Lv=typeof Promise=="function"?Promise:void 0,K_=typeof queueMicrotask=="function"?queueMicrotask:typeof Lv<"u"?function(e){return Lv.resolve(null).then(e).catch(X_)}:kv;function X_(e){setTimeout(function(){throw e})}function pi(e){return e==="head"}function qv(e,r){var o=r,u=0,f=0;do{var p=o.nextSibling;if(e.removeChild(o),p&&p.nodeType===8)if(o=p.data,o==="/$"){if(0<u&&8>u){o=u;var b=e.ownerDocument;if(o&1&&as(b.documentElement),o&2&&as(b.body),o&4)for(o=b.head,as(o),b=o.firstChild;b;){var x=b.nextSibling,P=b.nodeName;b[Yt]||P==="SCRIPT"||P==="STYLE"||P==="LINK"&&b.rel.toLowerCase()==="stylesheet"||o.removeChild(b),b=x}}if(f===0){e.removeChild(p),ds(r);return}f--}else o==="$"||o==="$?"||o==="$!"?f++:u=o.charCodeAt(0)-48;else u=0;o=p}while(o);ds(r)}function Bd(e){var r=e.firstChild;for(r&&r.nodeType===10&&(r=r.nextSibling);r;){var o=r;switch(r=r.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":Bd(o),Me(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function $_(e,r,o,u){for(;e.nodeType===1;){var f=o;if(e.nodeName.toLowerCase()!==r.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[Yt])switch(r){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(p=e.getAttribute("rel"),p==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(p!==f.rel||e.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||e.getAttribute("title")!==(f.title==null?null:f.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(p=e.getAttribute("src"),(p!==(f.src==null?null:f.src)||e.getAttribute("type")!==(f.type==null?null:f.type)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&p&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(r==="input"&&e.type==="hidden"){var p=f.name==null?null:""+f.name;if(f.type==="hidden"&&e.getAttribute("name")===p)return e}else return e;if(e=Br(e.nextSibling),e===null)break}return null}function J_(e,r,o){if(r==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o||(e=Br(e.nextSibling),e===null))return null;return e}function Id(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function eS(e,r){var o=e.ownerDocument;if(e.data!=="$?"||o.readyState==="complete")r();else{var u=function(){r(),o.removeEventListener("DOMContentLoaded",u)};o.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function Br(e){for(;e!=null;e=e.nextSibling){var r=e.nodeType;if(r===1||r===3)break;if(r===8){if(r=e.data,r==="$"||r==="$!"||r==="$?"||r==="F!"||r==="F")break;if(r==="/$")return null}}return e}var Fd=null;function Uv(e){e=e.previousSibling;for(var r=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(r===0)return e;r--}else o==="/$"&&r++}e=e.previousSibling}return null}function Hv(e,r,o){switch(r=ju(o),e){case"html":if(e=r.documentElement,!e)throw Error(t(452));return e;case"head":if(e=r.head,!e)throw Error(t(453));return e;case"body":if(e=r.body,!e)throw Error(t(454));return e;default:throw Error(t(451))}}function as(e){for(var r=e.attributes;r.length;)e.removeAttributeNode(r[0]);Me(e)}var Tr=new Map,Pv=new Set;function Bu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var La=N.d;N.d={f:tS,r:nS,D:rS,C:aS,L:iS,m:lS,X:sS,S:oS,M:uS};function tS(){var e=La.f(),r=ku();return e||r}function nS(e){var r=gt(e);r!==null&&r.tag===5&&r.type==="form"?a6(r):La.r(e)}var Gl=typeof document>"u"?null:document;function zv(e,r,o){var u=Gl;if(u&&typeof r=="string"&&r){var f=Tn(r);f='link[rel="'+e+'"][href="'+f+'"]',typeof o=="string"&&(f+='[crossorigin="'+o+'"]'),Pv.has(f)||(Pv.add(f),e={rel:e,crossOrigin:o,href:r},u.querySelector(f)===null&&(r=u.createElement("link"),An(r,"link",e),yt(r),u.head.appendChild(r)))}}function rS(e){La.D(e),zv("dns-prefetch",e,null)}function aS(e,r){La.C(e,r),zv("preconnect",e,r)}function iS(e,r,o){La.L(e,r,o);var u=Gl;if(u&&e&&r){var f='link[rel="preload"][as="'+Tn(r)+'"]';r==="image"&&o&&o.imageSrcSet?(f+='[imagesrcset="'+Tn(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(f+='[imagesizes="'+Tn(o.imageSizes)+'"]')):f+='[href="'+Tn(e)+'"]';var p=f;switch(r){case"style":p=Zl(e);break;case"script":p=Vl(e)}Tr.has(p)||(e=v({rel:"preload",href:r==="image"&&o&&o.imageSrcSet?void 0:e,as:r},o),Tr.set(p,e),u.querySelector(f)!==null||r==="style"&&u.querySelector(is(p))||r==="script"&&u.querySelector(ls(p))||(r=u.createElement("link"),An(r,"link",e),yt(r),u.head.appendChild(r)))}}function lS(e,r){La.m(e,r);var o=Gl;if(o&&e){var u=r&&typeof r.as=="string"?r.as:"script",f='link[rel="modulepreload"][as="'+Tn(u)+'"][href="'+Tn(e)+'"]',p=f;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=Vl(e)}if(!Tr.has(p)&&(e=v({rel:"modulepreload",href:e},r),Tr.set(p,e),o.querySelector(f)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(ls(p)))return}u=o.createElement("link"),An(u,"link",e),yt(u),o.head.appendChild(u)}}}function oS(e,r,o){La.S(e,r,o);var u=Gl;if(u&&e){var f=et(u).hoistableStyles,p=Zl(e);r=r||"default";var b=f.get(p);if(!b){var x={loading:0,preload:null};if(b=u.querySelector(is(p)))x.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":r},o),(o=Tr.get(p))&&Gd(e,o);var P=b=u.createElement("link");yt(P),An(P,"link",e),P._p=new Promise(function(ee,ie){P.onload=ee,P.onerror=ie}),P.addEventListener("load",function(){x.loading|=1}),P.addEventListener("error",function(){x.loading|=2}),x.loading|=4,Iu(b,r,u)}b={type:"stylesheet",instance:b,count:1,state:x},f.set(p,b)}}}function sS(e,r){La.X(e,r);var o=Gl;if(o&&e){var u=et(o).hoistableScripts,f=Vl(e),p=u.get(f);p||(p=o.querySelector(ls(f)),p||(e=v({src:e,async:!0},r),(r=Tr.get(f))&&Zd(e,r),p=o.createElement("script"),yt(p),An(p,"link",e),o.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},u.set(f,p))}}function uS(e,r){La.M(e,r);var o=Gl;if(o&&e){var u=et(o).hoistableScripts,f=Vl(e),p=u.get(f);p||(p=o.querySelector(ls(f)),p||(e=v({src:e,async:!0,type:"module"},r),(r=Tr.get(f))&&Zd(e,r),p=o.createElement("script"),yt(p),An(p,"link",e),o.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},u.set(f,p))}}function Yv(e,r,o,u){var f=(f=me.current)?Bu(f):null;if(!f)throw Error(t(446));switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(r=Zl(o.href),o=et(f).hoistableStyles,u=o.get(r),u||(u={type:"style",instance:null,count:0,state:null},o.set(r,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){e=Zl(o.href);var p=et(f).hoistableStyles,b=p.get(e);if(b||(f=f.ownerDocument||f,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(e,b),(p=f.querySelector(is(e)))&&!p._p&&(b.instance=p,b.state.loading=5),Tr.has(e)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Tr.set(e,o),p||cS(f,e,o,b.state))),r&&u===null)throw Error(t(528,""));return b}if(r&&u!==null)throw Error(t(529,""));return null;case"script":return r=o.async,o=o.src,typeof o=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=Vl(o),o=et(f).hoistableScripts,u=o.get(r),u||(u={type:"script",instance:null,count:0,state:null},o.set(r,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(t(444,e))}}function Zl(e){return'href="'+Tn(e)+'"'}function is(e){return'link[rel="stylesheet"]['+e+"]"}function jv(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function cS(e,r,o,u){e.querySelector('link[rel="preload"][as="style"]['+r+"]")?u.loading=1:(r=e.createElement("link"),u.preload=r,r.addEventListener("load",function(){return u.loading|=1}),r.addEventListener("error",function(){return u.loading|=2}),An(r,"link",o),yt(r),e.head.appendChild(r))}function Vl(e){return'[src="'+Tn(e)+'"]'}function ls(e){return"script[async]"+e}function Bv(e,r,o){if(r.count++,r.instance===null)switch(r.type){case"style":var u=e.querySelector('style[data-href~="'+Tn(o.href)+'"]');if(u)return r.instance=u,yt(u),u;var f=v({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),yt(u),An(u,"style",f),Iu(u,o.precedence,e),r.instance=u;case"stylesheet":f=Zl(o.href);var p=e.querySelector(is(f));if(p)return r.state.loading|=4,r.instance=p,yt(p),p;u=jv(o),(f=Tr.get(f))&&Gd(u,f),p=(e.ownerDocument||e).createElement("link"),yt(p);var b=p;return b._p=new Promise(function(x,P){b.onload=x,b.onerror=P}),An(p,"link",u),r.state.loading|=4,Iu(p,o.precedence,e),r.instance=p;case"script":return p=Vl(o.src),(f=e.querySelector(ls(p)))?(r.instance=f,yt(f),f):(u=o,(f=Tr.get(p))&&(u=v({},o),Zd(u,f)),e=e.ownerDocument||e,f=e.createElement("script"),yt(f),An(f,"link",u),e.head.appendChild(f),r.instance=f);case"void":return null;default:throw Error(t(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(u=r.instance,r.state.loading|=4,Iu(u,o.precedence,e));return r.instance}function Iu(e,r,o){for(var u=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=u.length?u[u.length-1]:null,p=f,b=0;b<u.length;b++){var x=u[b];if(x.dataset.precedence===r)p=x;else if(p!==f)break}p?p.parentNode.insertBefore(e,p.nextSibling):(r=o.nodeType===9?o.head:o,r.insertBefore(e,r.firstChild))}function Gd(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.title==null&&(e.title=r.title)}function Zd(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.integrity==null&&(e.integrity=r.integrity)}var Fu=null;function Iv(e,r,o){if(Fu===null){var u=new Map,f=Fu=new Map;f.set(o,u)}else f=Fu,u=f.get(o),u||(u=new Map,f.set(o,u));if(u.has(e))return u;for(u.set(e,null),o=o.getElementsByTagName(e),f=0;f<o.length;f++){var p=o[f];if(!(p[Yt]||p[ye]||e==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var b=p.getAttribute(r)||"";b=e+b;var x=u.get(b);x?x.push(p):u.set(b,[p])}}return u}function Fv(e,r,o){e=e.ownerDocument||e,e.head.insertBefore(o,r==="title"?e.querySelector("head > title"):null)}function fS(e,r,o){if(o===1||r.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof r.precedence!="string"||typeof r.href!="string"||r.href==="")break;return!0;case"link":if(typeof r.rel!="string"||typeof r.href!="string"||r.href===""||r.onLoad||r.onError)break;switch(r.rel){case"stylesheet":return e=r.disabled,typeof r.precedence=="string"&&e==null;default:return!0}case"script":if(r.async&&typeof r.async!="function"&&typeof r.async!="symbol"&&!r.onLoad&&!r.onError&&r.src&&typeof r.src=="string")return!0}return!1}function Gv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var os=null;function dS(){}function hS(e,r,o){if(os===null)throw Error(t(475));var u=os;if(r.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var f=Zl(o.href),p=e.querySelector(is(f));if(p){e=p._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(u.count++,u=Gu.bind(u),e.then(u,u)),r.state.loading|=4,r.instance=p,yt(p);return}p=e.ownerDocument||e,o=jv(o),(f=Tr.get(f))&&Gd(o,f),p=p.createElement("link"),yt(p);var b=p;b._p=new Promise(function(x,P){b.onload=x,b.onerror=P}),An(p,"link",o),r.instance=p}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(r,e),(e=r.state.preload)&&(r.state.loading&3)===0&&(u.count++,r=Gu.bind(u),e.addEventListener("load",r),e.addEventListener("error",r))}}function pS(){if(os===null)throw Error(t(475));var e=os;return e.stylesheets&&e.count===0&&Vd(e,e.stylesheets),0<e.count?function(r){var o=setTimeout(function(){if(e.stylesheets&&Vd(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(o)}}:null}function Gu(){if(this.count--,this.count===0){if(this.stylesheets)Vd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Zu=null;function Vd(e,r){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Zu=new Map,r.forEach(mS,e),Zu=null,Gu.call(e))}function mS(e,r){if(!(r.state.loading&4)){var o=Zu.get(e);if(o)var u=o.get(null);else{o=new Map,Zu.set(e,o);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<f.length;p++){var b=f[p];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(o.set(b.dataset.precedence,b),u=b)}u&&o.set(null,u)}f=r.instance,b=f.getAttribute("data-precedence"),p=o.get(b)||u,p===u&&o.set(null,f),o.set(b,f),this.count++,u=Gu.bind(this),f.addEventListener("load",u),f.addEventListener("error",u),p?p.parentNode.insertBefore(f,p.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(f,e.firstChild)),r.state.loading|=4}}var ss={$$typeof:Y,Provider:null,Consumer:null,_currentValue:L,_currentValue2:L,_threadCount:0};function vS(e,r,o,u,f,p,b,x){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=wn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wn(0),this.hiddenUpdates=wn(null),this.identifierPrefix=u,this.onUncaughtError=f,this.onCaughtError=p,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function Zv(e,r,o,u,f,p,b,x,P,ee,ie,se){return e=new vS(e,r,o,b,x,P,ee,se),r=1,p===!0&&(r|=24),p=ir(3,null,null,r),e.current=p,p.stateNode=e,r=Of(),r.refCount++,e.pooledCache=r,r.refCount++,p.memoizedState={element:u,isDehydrated:o,cache:r},Nf(p),e}function Vv(e){return e?(e=Dl,e):Dl}function Wv(e,r,o,u,f,p){f=Vv(f),u.context===null?u.context=f:u.pendingContext=f,u=ti(r),u.payload={element:o},p=p===void 0?null:p,p!==null&&(u.callback=p),o=ni(e,u,r),o!==null&&(cr(o,e,r),Po(o,e,r))}function Qv(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<r?o:r}}function Wd(e,r){Qv(e,r),(e=e.alternate)&&Qv(e,r)}function Kv(e){if(e.tag===13){var r=wl(e,67108864);r!==null&&cr(r,e,67108864),Wd(e,67108864)}}var Vu=!0;function gS(e,r,o,u){var f=T.T;T.T=null;var p=N.p;try{N.p=2,Qd(e,r,o,u)}finally{N.p=p,T.T=f}}function yS(e,r,o,u){var f=T.T;T.T=null;var p=N.p;try{N.p=8,Qd(e,r,o,u)}finally{N.p=p,T.T=f}}function Qd(e,r,o,u){if(Vu){var f=Kd(u);if(f===null)Ud(e,r,u,Wu,o),$v(e,u);else if(_S(f,e,r,o,u))u.stopPropagation();else if($v(e,u),r&4&&-1<bS.indexOf(e)){for(;f!==null;){var p=gt(f);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var b=Pt(p.pendingLanes);if(b!==0){var x=p;for(x.pendingLanes|=2,x.entangledLanes|=2;b;){var P=1<<31-Mt(b);x.entanglements[1]|=P,b&=~P}oa(p),(bt&6)===0&&(Ru=xt()+500,ts(0))}}break;case 13:x=wl(p,2),x!==null&&cr(x,p,2),ku(),Wd(p,2)}if(p=Kd(u),p===null&&Ud(e,r,u,Wu,o),p===f)break;f=p}f!==null&&u.stopPropagation()}else Ud(e,r,u,null,o)}}function Kd(e){return e=gl(e),Xd(e)}var Wu=null;function Xd(e){if(Wu=null,e=dn(e),e!==null){var r=s(e);if(r===null)e=null;else{var o=r.tag;if(o===13){if(e=c(r),e!==null)return e;e=null}else if(o===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;e=null}else r!==e&&(e=null)}}return Wu=e,null}function Xv(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Nn()){case Je:return 2;case Wn:return 8;case zn:case qe:return 32;case ge:return 268435456;default:return 32}default:return 32}}var $d=!1,mi=null,vi=null,gi=null,us=new Map,cs=new Map,yi=[],bS="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 $v(e,r){switch(e){case"focusin":case"focusout":mi=null;break;case"dragenter":case"dragleave":vi=null;break;case"mouseover":case"mouseout":gi=null;break;case"pointerover":case"pointerout":us.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":cs.delete(r.pointerId)}}function fs(e,r,o,u,f,p){return e===null||e.nativeEvent!==p?(e={blockedOn:r,domEventName:o,eventSystemFlags:u,nativeEvent:p,targetContainers:[f]},r!==null&&(r=gt(r),r!==null&&Kv(r)),e):(e.eventSystemFlags|=u,r=e.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),e)}function _S(e,r,o,u,f){switch(r){case"focusin":return mi=fs(mi,e,r,o,u,f),!0;case"dragenter":return vi=fs(vi,e,r,o,u,f),!0;case"mouseover":return gi=fs(gi,e,r,o,u,f),!0;case"pointerover":var p=f.pointerId;return us.set(p,fs(us.get(p)||null,e,r,o,u,f)),!0;case"gotpointercapture":return p=f.pointerId,cs.set(p,fs(cs.get(p)||null,e,r,o,u,f)),!0}return!1}function Jv(e){var r=dn(e.target);if(r!==null){var o=s(r);if(o!==null){if(r=o.tag,r===13){if(r=c(o),r!==null){e.blockedOn=r,vt(e.priority,function(){if(o.tag===13){var u=ur();u=Te(u);var f=wl(o,u);f!==null&&cr(f,o,u),Wd(o,u)}});return}}else if(r===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Qu(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var o=Kd(e.nativeEvent);if(o===null){o=e.nativeEvent;var u=new o.constructor(o.type,o);So=u,o.target.dispatchEvent(u),So=null}else return r=gt(o),r!==null&&Kv(r),e.blockedOn=o,!1;r.shift()}return!0}function e4(e,r,o){Qu(e)&&o.delete(r)}function SS(){$d=!1,mi!==null&&Qu(mi)&&(mi=null),vi!==null&&Qu(vi)&&(vi=null),gi!==null&&Qu(gi)&&(gi=null),us.forEach(e4),cs.forEach(e4)}function Ku(e,r){e.blockedOn===r&&(e.blockedOn=null,$d||($d=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,SS)))}var Xu=null;function t4(e){Xu!==e&&(Xu=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){Xu===e&&(Xu=null);for(var r=0;r<e.length;r+=3){var o=e[r],u=e[r+1],f=e[r+2];if(typeof u!="function"){if(Xd(u||o)===null)continue;break}var p=gt(o);p!==null&&(e.splice(r,3),r-=3,Xf(p,{pending:!0,data:f,method:o.method,action:u},u,f))}}))}function ds(e){function r(P){return Ku(P,e)}mi!==null&&Ku(mi,e),vi!==null&&Ku(vi,e),gi!==null&&Ku(gi,e),us.forEach(r),cs.forEach(r);for(var o=0;o<yi.length;o++){var u=yi[o];u.blockedOn===e&&(u.blockedOn=null)}for(;0<yi.length&&(o=yi[0],o.blockedOn===null);)Jv(o),o.blockedOn===null&&yi.shift();if(o=(e.ownerDocument||e).$$reactFormReplay,o!=null)for(u=0;u<o.length;u+=3){var f=o[u],p=o[u+1],b=f[we]||null;if(typeof p=="function")b||t4(o);else if(b){var x=null;if(p&&p.hasAttribute("formAction")){if(f=p,b=p[we]||null)x=b.formAction;else if(Xd(f)!==null)continue}else x=b.action;typeof x=="function"?o[u+1]=x:(o.splice(u,3),u-=3),t4(o)}}}function Jd(e){this._internalRoot=e}$u.prototype.render=Jd.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(t(409));var o=r.current,u=ur();Wv(o,u,e,r,null,null)},$u.prototype.unmount=Jd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;Wv(e.current,2,null,e,null,null),ku(),r[Be]=null}};function $u(e){this._internalRoot=e}$u.prototype.unstable_scheduleHydration=function(e){if(e){var r=Jt();e={blockedOn:null,target:e,priority:r};for(var o=0;o<yi.length&&r!==0&&r<yi[o].priority;o++);yi.splice(o,0,e),o===0&&Jv(e)}};var n4=i.version;if(n4!=="19.1.0")throw Error(t(527,n4,"19.1.0"));N.findDOMNode=function(e){var r=e._reactInternals;if(r===void 0)throw typeof e.render=="function"?Error(t(188)):(e=Object.keys(e).join(","),Error(t(268,e)));return e=h(r),e=e!==null?m(e):null,e=e===null?null:e.stateNode,e};var ES={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:T,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ju=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ju.isDisabled&&Ju.supportsFiber)try{Ze=Ju.inject(ES),ot=Ju}catch{}}return ps.createRoot=function(e,r){if(!l(e))throw Error(t(299));var o=!1,u="",f=y6,p=b6,b=_6,x=null;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onUncaughtError!==void 0&&(f=r.onUncaughtError),r.onCaughtError!==void 0&&(p=r.onCaughtError),r.onRecoverableError!==void 0&&(b=r.onRecoverableError),r.unstable_transitionCallbacks!==void 0&&(x=r.unstable_transitionCallbacks)),r=Zv(e,1,!1,null,null,o,u,f,p,b,x,null),e[Be]=r.current,qd(e),new Jd(r)},ps.hydrateRoot=function(e,r,o){if(!l(e))throw Error(t(299));var u=!1,f="",p=y6,b=b6,x=_6,P=null,ee=null;return o!=null&&(o.unstable_strictMode===!0&&(u=!0),o.identifierPrefix!==void 0&&(f=o.identifierPrefix),o.onUncaughtError!==void 0&&(p=o.onUncaughtError),o.onCaughtError!==void 0&&(b=o.onCaughtError),o.onRecoverableError!==void 0&&(x=o.onRecoverableError),o.unstable_transitionCallbacks!==void 0&&(P=o.unstable_transitionCallbacks),o.formState!==void 0&&(ee=o.formState)),r=Zv(e,1,!0,r,o??null,u,f,p,b,x,P,ee),r.context=Vv(null),o=r.current,u=ur(),u=Te(u),f=ti(u),f.callback=null,ni(o,f,u),o=u,r.current.lanes=o,rt(r,o),oa(r),e[Be]=r.current,qd(e),new $u(r)},ps.version="19.1.0",ps}var d4;function LS(){if(d4)return t1.exports;d4=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),t1.exports=kS(),t1.exports}var qS=LS(),y=K2();const Z=mr(y),US=xS({__proto__:null,default:Z},[y]);/*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */var l1,h4;function p4(){if(h4)return l1;h4=1;const{entries:a,setPrototypeOf:i,isFrozen:n,getPrototypeOf:t,getOwnPropertyDescriptor:l}=Object;let{freeze:s,seal:c,create:d}=Object,{apply:h,construct:m}=typeof Reflect<"u"&&Reflect;s||(s=function(ge){return ge}),c||(c=function(ge){return ge}),h||(h=function(ge,He,Ae){return ge.apply(He,Ae)}),m||(m=function(ge,He){return new ge(...He)});const v=_(Array.prototype.forEach),g=_(Array.prototype.lastIndexOf),S=_(Array.prototype.pop),w=_(Array.prototype.push),M=_(Array.prototype.splice),R=_(String.prototype.toLowerCase),C=_(String.prototype.toString),U=_(String.prototype.match),O=_(String.prototype.replace),Y=_(String.prototype.indexOf),K=_(String.prototype.trim),X=_(Object.prototype.hasOwnProperty),re=_(RegExp.prototype.test),V=E(TypeError);function _(qe){return function(ge){ge instanceof RegExp&&(ge.lastIndex=0);for(var He=arguments.length,Ae=new Array(He>1?He-1:0),Ze=1;Ze<He;Ze++)Ae[Ze-1]=arguments[Ze];return h(qe,ge,Ae)}}function E(qe){return function(){for(var ge=arguments.length,He=new Array(ge),Ae=0;Ae<ge;Ae++)He[Ae]=arguments[Ae];return m(qe,He)}}function D(qe,ge){let He=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R;i&&i(qe,null);let Ae=ge.length;for(;Ae--;){let Ze=ge[Ae];if(typeof Ze=="string"){const ot=He(Ze);ot!==Ze&&(n(ge)||(ge[Ae]=ot),Ze=ot)}qe[Ze]=!0}return qe}function q(qe){for(let ge=0;ge<qe.length;ge++)X(qe,ge)||(qe[ge]=null);return qe}function k(qe){const ge=d(null);for(const[He,Ae]of a(qe))X(qe,He)&&(Array.isArray(Ae)?ge[He]=q(Ae):Ae&&typeof Ae=="object"&&Ae.constructor===Object?ge[He]=k(Ae):ge[He]=Ae);return ge}function z(qe,ge){for(;qe!==null;){const Ae=l(qe,ge);if(Ae){if(Ae.get)return _(Ae.get);if(typeof Ae.value=="function")return _(Ae.value)}qe=t(qe)}function He(){return null}return He}const B=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),H=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),T=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),N=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),L=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),$=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),A=s(["#text"]),j=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),oe=s(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ae=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),he=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fe=c(/\{\{[\w\W]*|[\w\W]*\}\}/gm),me=c(/<%[\w\W]*|[\w\W]*%>/gm),ze=c(/\$\{[\w\W]*/gm),Re=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),qt=c(/^aria-[\-\w]+$/),Ut=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),mt=c(/^(?:\w+script|data):/i),Ht=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),lt=c(/^html$/i),nt=c(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ue=Object.freeze({__proto__:null,ARIA_ATTR:qt,ATTR_WHITESPACE:Ht,CUSTOM_ELEMENT:nt,DATA_ATTR:Re,DOCTYPE_NAME:lt,ERB_EXPR:me,IS_ALLOWED_URI:Ut,IS_SCRIPT_OR_DATA:mt,MUSTACHE_EXPR:fe,TMPLIT_EXPR:ze});const Rn={element:1,text:3,progressingInstruction:7,comment:8,document:9},xt=function(){return typeof window>"u"?null:window},Nn=function(ge,He){if(typeof ge!="object"||typeof ge.createPolicy!="function")return null;let Ae=null;const Ze="data-tt-policy-suffix";He&&He.hasAttribute(Ze)&&(Ae=He.getAttribute(Ze));const ot="dompurify"+(Ae?"#"+Ae:"");try{return ge.createPolicy(ot,{createHTML(Rt){return Rt},createScriptURL(Rt){return Rt}})}catch{return console.warn("TrustedTypes policy "+ot+" could not be created."),null}},Je=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Wn(){let qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:xt();const ge=be=>Wn(be);if(ge.version="3.2.5",ge.removed=[],!qe||!qe.document||qe.document.nodeType!==Rn.document||!qe.Element)return ge.isSupported=!1,ge;let{document:He}=qe;const Ae=He,Ze=Ae.currentScript,{DocumentFragment:ot,HTMLTemplateElement:Rt,Node:Mt,Element:vr,NodeFilter:En,NamedNodeMap:kn=qe.NamedNodeMap||qe.MozNamedAttrMap,HTMLFormElement:Ft,DOMParser:We,trustedTypes:Pt}=qe,ln=vr.prototype,vn=z(ln,"cloneNode"),qr=z(ln,"remove"),Ln=z(ln,"nextSibling"),qn=z(ln,"childNodes"),wn=z(ln,"parentNode");if(typeof Rt=="function"){const be=He.createElement("template");be.content&&be.content.ownerDocument&&(He=be.content.ownerDocument)}let rt,Qn="";const{implementation:Ot,createNodeIterator:$e,createDocumentFragment:Te,getElementsByTagName:Ye}=He,{importNode:Jt}=Ae;let vt=Je();ge.isSupported=typeof a=="function"&&typeof wn=="function"&&Ot&&Ot.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:pe,ERB_EXPR:ye,TMPLIT_EXPR:we,DATA_ATTR:Be,ARIA_ATTR:At,IS_SCRIPT_OR_DATA:Dn,ATTR_WHITESPACE:gn,CUSTOM_ELEMENT:zt}=Ue;let{IS_ALLOWED_URI:Yt}=Ue,Me=null;const dn=D({},[...B,...H,...T,...L,...A]);let gt=null;const tr=D({},[...j,...oe,...ae,...he]);let et=Object.seal(d(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),yt=null,Ee=null,F=!0,ue=!0,ce=!1,Ie=!0,dt=!1,ht=!0,Nt=!1,Gt=!1,Kn=!1,st=!1,Ur=!1,$r=!1,ya=!0,pl=!1;const go="user-content-";let yo=!0,Wa=!1,hn={},ba=null;const Vs=D({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ki=null;const bo=D({},["audio","video","img","source","image","track"]);let Qa=null;const Ws=D({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Tn="http://www.w3.org/1998/Math/MathML",Ka="http://www.w3.org/2000/svg",gr="http://www.w3.org/1999/xhtml";let Jr=gr,ea=!1,ml=null;const Qs=D({},[Tn,Ka,gr],C);let Hr=D({},["mi","mo","mn","ms","mtext"]),vl=D({},["annotation-xml"]);const Ks=D({},["title","style","font","a","script"]);let Xa=null;const _o=["application/xhtml+xml","text/html"],lf="text/html";let on=null,Pr=null;const So=He.createElement("form"),gl=function(G){return G instanceof RegExp||G instanceof Function},ta=function(){let G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Pr&&Pr===G)){if((!G||typeof G!="object")&&(G={}),G=k(G),Xa=_o.indexOf(G.PARSER_MEDIA_TYPE)===-1?lf:G.PARSER_MEDIA_TYPE,on=Xa==="application/xhtml+xml"?C:R,Me=X(G,"ALLOWED_TAGS")?D({},G.ALLOWED_TAGS,on):dn,gt=X(G,"ALLOWED_ATTR")?D({},G.ALLOWED_ATTR,on):tr,ml=X(G,"ALLOWED_NAMESPACES")?D({},G.ALLOWED_NAMESPACES,C):Qs,Qa=X(G,"ADD_URI_SAFE_ATTR")?D(k(Ws),G.ADD_URI_SAFE_ATTR,on):Ws,ki=X(G,"ADD_DATA_URI_TAGS")?D(k(bo),G.ADD_DATA_URI_TAGS,on):bo,ba=X(G,"FORBID_CONTENTS")?D({},G.FORBID_CONTENTS,on):Vs,yt=X(G,"FORBID_TAGS")?D({},G.FORBID_TAGS,on):{},Ee=X(G,"FORBID_ATTR")?D({},G.FORBID_ATTR,on):{},hn=X(G,"USE_PROFILES")?G.USE_PROFILES:!1,F=G.ALLOW_ARIA_ATTR!==!1,ue=G.ALLOW_DATA_ATTR!==!1,ce=G.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=G.ALLOW_SELF_CLOSE_IN_ATTR!==!1,dt=G.SAFE_FOR_TEMPLATES||!1,ht=G.SAFE_FOR_XML!==!1,Nt=G.WHOLE_DOCUMENT||!1,st=G.RETURN_DOM||!1,Ur=G.RETURN_DOM_FRAGMENT||!1,$r=G.RETURN_TRUSTED_TYPE||!1,Kn=G.FORCE_BODY||!1,ya=G.SANITIZE_DOM!==!1,pl=G.SANITIZE_NAMED_PROPS||!1,yo=G.KEEP_CONTENT!==!1,Wa=G.IN_PLACE||!1,Yt=G.ALLOWED_URI_REGEXP||Ut,Jr=G.NAMESPACE||gr,Hr=G.MATHML_TEXT_INTEGRATION_POINTS||Hr,vl=G.HTML_INTEGRATION_POINTS||vl,et=G.CUSTOM_ELEMENT_HANDLING||{},G.CUSTOM_ELEMENT_HANDLING&&gl(G.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(et.tagNameCheck=G.CUSTOM_ELEMENT_HANDLING.tagNameCheck),G.CUSTOM_ELEMENT_HANDLING&&gl(G.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(et.attributeNameCheck=G.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),G.CUSTOM_ELEMENT_HANDLING&&typeof G.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(et.allowCustomizedBuiltInElements=G.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),dt&&(ue=!1),Ur&&(st=!0),hn&&(Me=D({},A),gt=[],hn.html===!0&&(D(Me,B),D(gt,j)),hn.svg===!0&&(D(Me,H),D(gt,oe),D(gt,he)),hn.svgFilters===!0&&(D(Me,T),D(gt,oe),D(gt,he)),hn.mathMl===!0&&(D(Me,L),D(gt,ae),D(gt,he))),G.ADD_TAGS&&(Me===dn&&(Me=k(Me)),D(Me,G.ADD_TAGS,on)),G.ADD_ATTR&&(gt===tr&&(gt=k(gt)),D(gt,G.ADD_ATTR,on)),G.ADD_URI_SAFE_ATTR&&D(Qa,G.ADD_URI_SAFE_ATTR,on),G.FORBID_CONTENTS&&(ba===Vs&&(ba=k(ba)),D(ba,G.FORBID_CONTENTS,on)),yo&&(Me["#text"]=!0),Nt&&D(Me,["html","head","body"]),Me.table&&(D(Me,["tbody"]),delete yt.tbody),G.TRUSTED_TYPES_POLICY){if(typeof G.TRUSTED_TYPES_POLICY.createHTML!="function")throw V('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof G.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw V('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');rt=G.TRUSTED_TYPES_POLICY,Qn=rt.createHTML("")}else rt===void 0&&(rt=Nn(Pt,Ze)),rt!==null&&typeof Qn=="string"&&(Qn=rt.createHTML(""));s&&s(G),Pr=G}},_a=D({},[...H,...T,...N]),Eo=D({},[...L,...$]),wo=function(G){let de=wn(G);(!de||!de.tagName)&&(de={namespaceURI:Jr,tagName:"template"});const Se=R(G.tagName),kt=R(de.tagName);return ml[G.namespaceURI]?G.namespaceURI===Ka?de.namespaceURI===gr?Se==="svg":de.namespaceURI===Tn?Se==="svg"&&(kt==="annotation-xml"||Hr[kt]):!!_a[Se]:G.namespaceURI===Tn?de.namespaceURI===gr?Se==="math":de.namespaceURI===Ka?Se==="math"&&vl[kt]:!!Eo[Se]:G.namespaceURI===gr?de.namespaceURI===Ka&&!vl[kt]||de.namespaceURI===Tn&&!Hr[kt]?!1:!Eo[Se]&&(Ks[Se]||!_a[Se]):!!(Xa==="application/xhtml+xml"&&ml[G.namespaceURI]):!1},nr=function(G){w(ge.removed,{element:G});try{wn(G).removeChild(G)}catch{qr(G)}},na=function(G,de){try{w(ge.removed,{attribute:de.getAttributeNode(G),from:de})}catch{w(ge.removed,{attribute:null,from:de})}if(de.removeAttribute(G),G==="is")if(st||Ur)try{nr(de)}catch{}else try{de.setAttribute(G,"")}catch{}},yr=function(G){let de=null,Se=null;if(Kn)G="<remove></remove>"+G;else{const en=U(G,/^[\r\n\t ]+/);Se=en&&en[0]}Xa==="application/xhtml+xml"&&Jr===gr&&(G='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+G+"</body></html>");const kt=rt?rt.createHTML(G):G;if(Jr===gr)try{de=new We().parseFromString(kt,Xa)}catch{}if(!de||!de.documentElement){de=Ot.createDocument(Jr,"template",null);try{de.documentElement.innerHTML=ea?Qn:kt}catch{}}const sn=de.body||de.documentElement;return G&&Se&&sn.insertBefore(He.createTextNode(Se),sn.childNodes[0]||null),Jr===gr?Ye.call(de,Nt?"html":"body")[0]:Nt?de.documentElement:sn},yl=function(G){return $e.call(G.ownerDocument||G,G,En.SHOW_ELEMENT|En.SHOW_COMMENT|En.SHOW_TEXT|En.SHOW_PROCESSING_INSTRUCTION|En.SHOW_CDATA_SECTION,null)},Sa=function(G){return G instanceof Ft&&(typeof G.nodeName!="string"||typeof G.textContent!="string"||typeof G.removeChild!="function"||!(G.attributes instanceof kn)||typeof G.removeAttribute!="function"||typeof G.setAttribute!="function"||typeof G.namespaceURI!="string"||typeof G.insertBefore!="function"||typeof G.hasChildNodes!="function")},zr=function(G){return typeof Mt=="function"&&G instanceof Mt};function rr(be,G,de){v(be,Se=>{Se.call(ge,G,de,Pr)})}const Li=function(G){let de=null;if(rr(vt.beforeSanitizeElements,G,null),Sa(G))return nr(G),!0;const Se=on(G.nodeName);if(rr(vt.uponSanitizeElement,G,{tagName:Se,allowedTags:Me}),G.hasChildNodes()&&!zr(G.firstElementChild)&&re(/<[/\w!]/g,G.innerHTML)&&re(/<[/\w!]/g,G.textContent)||G.nodeType===Rn.progressingInstruction||ht&&G.nodeType===Rn.comment&&re(/<[/\w]/g,G.data))return nr(G),!0;if(!Me[Se]||yt[Se]){if(!yt[Se]&&qi(Se)&&(et.tagNameCheck instanceof RegExp&&re(et.tagNameCheck,Se)||et.tagNameCheck instanceof Function&&et.tagNameCheck(Se)))return!1;if(yo&&!ba[Se]){const kt=wn(G)||G.parentNode,sn=qn(G)||G.childNodes;if(sn&&kt){const en=sn.length;for(let un=en-1;un>=0;--un){const Yn=vn(sn[un],!0);Yn.__removalCount=(G.__removalCount||0)+1,kt.insertBefore(Yn,Ln(G))}}}return nr(G),!0}return G instanceof vr&&!wo(G)||(Se==="noscript"||Se==="noembed"||Se==="noframes")&&re(/<\/no(script|embed|frames)/i,G.innerHTML)?(nr(G),!0):(dt&&G.nodeType===Rn.text&&(de=G.textContent,v([pe,ye,we],kt=>{de=O(de,kt," ")}),G.textContent!==de&&(w(ge.removed,{element:G.cloneNode()}),G.textContent=de)),rr(vt.afterSanitizeElements,G,null),!1)},Do=function(G,de,Se){if(ya&&(de==="id"||de==="name")&&(Se in He||Se in So))return!1;if(!(ue&&!Ee[de]&&re(Be,de))){if(!(F&&re(At,de))){if(!gt[de]||Ee[de]){if(!(qi(G)&&(et.tagNameCheck instanceof RegExp&&re(et.tagNameCheck,G)||et.tagNameCheck instanceof Function&&et.tagNameCheck(G))&&(et.attributeNameCheck instanceof RegExp&&re(et.attributeNameCheck,de)||et.attributeNameCheck instanceof Function&&et.attributeNameCheck(de))||de==="is"&&et.allowCustomizedBuiltInElements&&(et.tagNameCheck instanceof RegExp&&re(et.tagNameCheck,Se)||et.tagNameCheck instanceof Function&&et.tagNameCheck(Se))))return!1}else if(!Qa[de]){if(!re(Yt,O(Se,gn,""))){if(!((de==="src"||de==="xlink:href"||de==="href")&&G!=="script"&&Y(Se,"data:")===0&&ki[G])){if(!(ce&&!re(Dn,O(Se,gn,"")))){if(Se)return!1}}}}}}return!0},qi=function(G){return G!=="annotation-xml"&&U(G,zt)},Ui=function(G){rr(vt.beforeSanitizeAttributes,G,null);const{attributes:de}=G;if(!de||Sa(G))return;const Se={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:gt,forceKeepAttr:void 0};let kt=de.length;for(;kt--;){const sn=de[kt],{name:en,namespaceURI:un,value:Yn}=sn,$a=on(en);let xn=en==="value"?Yn:K(Yn);if(Se.attrName=$a,Se.attrValue=xn,Se.keepAttr=!0,Se.forceKeepAttr=void 0,rr(vt.uponSanitizeAttribute,G,Se),xn=Se.attrValue,pl&&($a==="id"||$a==="name")&&(na(en,G),xn=go+xn),ht&&re(/((--!?|])>)|<\/(style|title)/i,xn)){na(en,G);continue}if(Se.forceKeepAttr||(na(en,G),!Se.keepAttr))continue;if(!Ie&&re(/\/>/i,xn)){na(en,G);continue}dt&&v([pe,ye,we],Js=>{xn=O(xn,Js," ")});const $s=on(G.nodeName);if(Do($s,$a,xn)){if(rt&&typeof Pt=="object"&&typeof Pt.getAttributeType=="function"&&!un)switch(Pt.getAttributeType($s,$a)){case"TrustedHTML":{xn=rt.createHTML(xn);break}case"TrustedScriptURL":{xn=rt.createScriptURL(xn);break}}try{un?G.setAttributeNS(un,en,xn):G.setAttribute(en,xn),Sa(G)?nr(G):S(ge.removed)}catch{}}}rr(vt.afterSanitizeAttributes,G,null)},Xs=function be(G){let de=null;const Se=yl(G);for(rr(vt.beforeSanitizeShadowDOM,G,null);de=Se.nextNode();)rr(vt.uponSanitizeShadowNode,de,null),Li(de),Ui(de),de.content instanceof ot&&be(de.content);rr(vt.afterSanitizeShadowDOM,G,null)};return ge.sanitize=function(be){let G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},de=null,Se=null,kt=null,sn=null;if(ea=!be,ea&&(be="<!-->"),typeof be!="string"&&!zr(be))if(typeof be.toString=="function"){if(be=be.toString(),typeof be!="string")throw V("dirty is not a string, aborting")}else throw V("toString is not a function");if(!ge.isSupported)return be;if(Gt||ta(G),ge.removed=[],typeof be=="string"&&(Wa=!1),Wa){if(be.nodeName){const Yn=on(be.nodeName);if(!Me[Yn]||yt[Yn])throw V("root node is forbidden and cannot be sanitized in-place")}}else if(be instanceof Mt)de=yr("<!---->"),Se=de.ownerDocument.importNode(be,!0),Se.nodeType===Rn.element&&Se.nodeName==="BODY"||Se.nodeName==="HTML"?de=Se:de.appendChild(Se);else{if(!st&&!dt&&!Nt&&be.indexOf("<")===-1)return rt&&$r?rt.createHTML(be):be;if(de=yr(be),!de)return st?null:$r?Qn:""}de&&Kn&&nr(de.firstChild);const en=yl(Wa?be:de);for(;kt=en.nextNode();)Li(kt),Ui(kt),kt.content instanceof ot&&Xs(kt.content);if(Wa)return be;if(st){if(Ur)for(sn=Te.call(de.ownerDocument);de.firstChild;)sn.appendChild(de.firstChild);else sn=de;return(gt.shadowroot||gt.shadowrootmode)&&(sn=Jt.call(Ae,sn,!0)),sn}let un=Nt?de.outerHTML:de.innerHTML;return Nt&&Me["!doctype"]&&de.ownerDocument&&de.ownerDocument.doctype&&de.ownerDocument.doctype.name&&re(lt,de.ownerDocument.doctype.name)&&(un="<!DOCTYPE "+de.ownerDocument.doctype.name+`>
`+un),dt&&v([pe,ye,we],Yn=>{un=O(un,Yn," ")}),rt&&$r?rt.createHTML(un):un},ge.setConfig=function(){let be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ta(be),Gt=!0},ge.clearConfig=function(){Pr=null,Gt=!1},ge.isValidAttribute=function(be,G,de){Pr||ta({});const Se=on(be),kt=on(G);return Do(Se,kt,de)},ge.addHook=function(be,G){typeof G=="function"&&w(vt[be],G)},ge.removeHook=function(be,G){if(G!==void 0){const de=g(vt[be],G);return de===-1?void 0:M(vt[be],de,1)[0]}return S(vt[be])},ge.removeHooks=function(be){vt[be]=[]},ge.removeAllHooks=function(){vt=Je()},ge}var zn=Wn();return l1=zn,l1}var o1,m4;function HS(){return m4||(m4=1,o1=window.DOMPurify||(window.DOMPurify=p4().default||p4())),o1}var PS=HS();const zS=mr(PS),h2=Math.min,YS=Math.max,jS={left:"right",right:"left",bottom:"top",top:"bottom"},BS={start:"end",end:"start"};function p2(a,i,n){return YS(a,h2(i,n))}function Us(a,i){return typeof a=="function"?a(i):a}function il(a){return a.split("-")[0]}function Hs(a){return a.split("-")[1]}function L9(a){return a==="x"?"y":"x"}function X2(a){return a==="y"?"height":"width"}function eo(a){return["top","bottom"].includes(il(a))?"y":"x"}function $2(a){return L9(eo(a))}function IS(a,i,n){n===void 0&&(n=!1);const t=Hs(a),l=$2(a),s=X2(l);let c=l==="x"?t===(n?"end":"start")?"right":"left":t==="start"?"bottom":"top";return i.reference[s]>i.floating[s]&&(c=Dc(c)),[c,Dc(c)]}function FS(a){const i=Dc(a);return[m2(a),i,m2(i)]}function m2(a){return a.replace(/start|end/g,i=>BS[i])}function GS(a,i,n){const t=["left","right"],l=["right","left"],s=["top","bottom"],c=["bottom","top"];switch(a){case"top":case"bottom":return n?i?l:t:i?t:l;case"left":case"right":return i?s:c;default:return[]}}function ZS(a,i,n,t){const l=Hs(a);let s=GS(il(a),n==="start",t);return l&&(s=s.map(c=>c+"-"+l),i&&(s=s.concat(s.map(m2)))),s}function Dc(a){return a.replace(/left|right|bottom|top/g,i=>jS[i])}function VS(a){return{top:0,right:0,bottom:0,left:0,...a}}function q9(a){return typeof a!="number"?VS(a):{top:a,right:a,bottom:a,left:a}}function Tc(a){const{x:i,y:n,width:t,height:l}=a;return{width:t,height:l,top:n,left:i,right:i+t,bottom:n+l,x:i,y:n}}function v4(a,i,n){let{reference:t,floating:l}=a;const s=eo(i),c=$2(i),d=X2(c),h=il(i),m=s==="y",v=t.x+t.width/2-l.width/2,g=t.y+t.height/2-l.height/2,S=t[d]/2-l[d]/2;let w;switch(h){case"top":w={x:v,y:t.y-l.height};break;case"bottom":w={x:v,y:t.y+t.height};break;case"right":w={x:t.x+t.width,y:g};break;case"left":w={x:t.x-l.width,y:g};break;default:w={x:t.x,y:t.y}}switch(Hs(i)){case"start":w[c]-=S*(n&&m?-1:1);break;case"end":w[c]+=S*(n&&m?-1:1);break}return w}const WS=async(a,i,n)=>{const{placement:t="bottom",strategy:l="absolute",middleware:s=[],platform:c}=n,d=s.filter(Boolean),h=await(c.isRTL==null?void 0:c.isRTL(i));let m=await c.getElementRects({reference:a,floating:i,strategy:l}),{x:v,y:g}=v4(m,t,h),S=t,w={},M=0;for(let R=0;R<d.length;R++){const{name:C,fn:U}=d[R],{x:O,y:Y,data:K,reset:X}=await U({x:v,y:g,initialPlacement:t,placement:S,strategy:l,middlewareData:w,rects:m,platform:c,elements:{reference:a,floating:i}});v=O??v,g=Y??g,w={...w,[C]:{...w[C],...K}},X&&M<=50&&(M++,typeof X=="object"&&(X.placement&&(S=X.placement),X.rects&&(m=X.rects===!0?await c.getElementRects({reference:a,floating:i,strategy:l}):X.rects),{x:v,y:g}=v4(m,S,h)),R=-1)}return{x:v,y:g,placement:S,strategy:l,middlewareData:w}};async function U9(a,i){var n;i===void 0&&(i={});const{x:t,y:l,platform:s,rects:c,elements:d,strategy:h}=a,{boundary:m="clippingAncestors",rootBoundary:v="viewport",elementContext:g="floating",altBoundary:S=!1,padding:w=0}=Us(i,a),M=q9(w),C=d[S?g==="floating"?"reference":"floating":g],U=Tc(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(C)))==null||n?C:C.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:m,rootBoundary:v,strategy:h})),O=g==="floating"?{x:t,y:l,width:c.floating.width,height:c.floating.height}:c.reference,Y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),K=await(s.isElement==null?void 0:s.isElement(Y))?await(s.getScale==null?void 0:s.getScale(Y))||{x:1,y:1}:{x:1,y:1},X=Tc(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:O,offsetParent:Y,strategy:h}):O);return{top:(U.top-X.top+M.top)/K.y,bottom:(X.bottom-U.bottom+M.bottom)/K.y,left:(U.left-X.left+M.left)/K.x,right:(X.right-U.right+M.right)/K.x}}const QS=a=>({name:"arrow",options:a,async fn(i){const{x:n,y:t,placement:l,rects:s,platform:c,elements:d,middlewareData:h}=i,{element:m,padding:v=0}=Us(a,i)||{};if(m==null)return{};const g=q9(v),S={x:n,y:t},w=$2(l),M=X2(w),R=await c.getDimensions(m),C=w==="y",U=C?"top":"left",O=C?"bottom":"right",Y=C?"clientHeight":"clientWidth",K=s.reference[M]+s.reference[w]-S[w]-s.floating[M],X=S[w]-s.reference[w],re=await(c.getOffsetParent==null?void 0:c.getOffsetParent(m));let V=re?re[Y]:0;(!V||!await(c.isElement==null?void 0:c.isElement(re)))&&(V=d.floating[Y]||s.floating[M]);const _=K/2-X/2,E=V/2-R[M]/2-1,D=h2(g[U],E),q=h2(g[O],E),k=D,z=V-R[M]-q,B=V/2-R[M]/2+_,H=p2(k,B,z),T=!h.arrow&&Hs(l)!=null&&B!==H&&s.reference[M]/2-(B<k?D:q)-R[M]/2<0,N=T?B<k?B-k:B-z:0;return{[w]:S[w]+N,data:{[w]:H,centerOffset:B-H-N,...T&&{alignmentOffset:N}},reset:T}}}),KS=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(i){var n,t;const{placement:l,middlewareData:s,rects:c,initialPlacement:d,platform:h,elements:m}=i,{mainAxis:v=!0,crossAxis:g=!0,fallbackPlacements:S,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:R=!0,...C}=Us(a,i);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const U=il(l),O=eo(d),Y=il(d)===d,K=await(h.isRTL==null?void 0:h.isRTL(m.floating)),X=S||(Y||!R?[Dc(d)]:FS(d)),re=M!=="none";!S&&re&&X.push(...ZS(d,R,M,K));const V=[d,...X],_=await U9(i,C),E=[];let D=((t=s.flip)==null?void 0:t.overflows)||[];if(v&&E.push(_[U]),g){const B=IS(l,c,K);E.push(_[B[0]],_[B[1]])}if(D=[...D,{placement:l,overflows:E}],!E.every(B=>B<=0)){var q,k;const B=(((q=s.flip)==null?void 0:q.index)||0)+1,H=V[B];if(H)return{data:{index:B,overflows:D},reset:{placement:H}};let T=(k=D.filter(N=>N.overflows[0]<=0).sort((N,L)=>N.overflows[1]-L.overflows[1])[0])==null?void 0:k.placement;if(!T)switch(w){case"bestFit":{var z;const N=(z=D.filter(L=>{if(re){const $=eo(L.placement);return $===O||$==="y"}return!0}).map(L=>[L.placement,L.overflows.filter($=>$>0).reduce(($,A)=>$+A,0)]).sort((L,$)=>L[1]-$[1])[0])==null?void 0:z[0];N&&(T=N);break}case"initialPlacement":T=d;break}if(l!==T)return{reset:{placement:T}}}return{}}}};async function XS(a,i){const{placement:n,platform:t,elements:l}=a,s=await(t.isRTL==null?void 0:t.isRTL(l.floating)),c=il(n),d=Hs(n),h=eo(n)==="y",m=["left","top"].includes(c)?-1:1,v=s&&h?-1:1,g=Us(i,a);let{mainAxis:S,crossAxis:w,alignmentAxis:M}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return d&&typeof M=="number"&&(w=d==="end"?M*-1:M),h?{x:w*v,y:S*m}:{x:S*m,y:w*v}}const $S=function(a){return a===void 0&&(a=0),{name:"offset",options:a,async fn(i){var n,t;const{x:l,y:s,placement:c,middlewareData:d}=i,h=await XS(i,a);return c===((n=d.offset)==null?void 0:n.placement)&&(t=d.arrow)!=null&&t.alignmentOffset?{}:{x:l+h.x,y:s+h.y,data:{...h,placement:c}}}}},JS=function(a){return a===void 0&&(a={}),{name:"shift",options:a,async fn(i){const{x:n,y:t,placement:l}=i,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:C=>{let{x:U,y:O}=C;return{x:U,y:O}}},...h}=Us(a,i),m={x:n,y:t},v=await U9(i,h),g=eo(il(l)),S=L9(g);let w=m[S],M=m[g];if(s){const C=S==="y"?"top":"left",U=S==="y"?"bottom":"right",O=w+v[C],Y=w-v[U];w=p2(O,w,Y)}if(c){const C=g==="y"?"top":"left",U=g==="y"?"bottom":"right",O=M+v[C],Y=M-v[U];M=p2(O,M,Y)}const R=d.fn({...i,[S]:w,[g]:M});return{...R,data:{x:R.x-n,y:R.y-t,enabled:{[S]:s,[g]:c}}}}}},v2=Math.min,Xl=Math.max,xc=Math.round,tc=Math.floor,pa=a=>({x:a,y:a});function Yc(){return typeof window<"u"}function so(a){return H9(a)?(a.nodeName||"").toLowerCase():"#document"}function pr(a){var i;return(a==null||(i=a.ownerDocument)==null?void 0:i.defaultView)||window}function va(a){var i;return(i=(H9(a)?a.ownerDocument:a.document)||window.document)==null?void 0:i.documentElement}function H9(a){return Yc()?a instanceof Node||a instanceof pr(a).Node:!1}function Fn(a){return Yc()?a instanceof Element||a instanceof pr(a).Element:!1}function ma(a){return Yc()?a instanceof HTMLElement||a instanceof pr(a).HTMLElement:!1}function g4(a){return!Yc()||typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof pr(a).ShadowRoot}function Ps(a){const{overflow:i,overflowX:n,overflowY:t,display:l}=kr(a);return/auto|scroll|overlay|hidden|clip/.test(i+t+n)&&!["inline","contents"].includes(l)}function eE(a){return["table","td","th"].includes(so(a))}function jc(a){return[":popover-open",":modal"].some(i=>{try{return a.matches(i)}catch{return!1}})}function J2(a){const i=em(),n=Fn(a)?kr(a):a;return["transform","translate","scale","rotate","perspective"].some(t=>n[t]?n[t]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!i&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!i&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(t=>(n.willChange||"").includes(t))||["paint","layout","strict","content"].some(t=>(n.contain||"").includes(t))}function tE(a){let i=Ci(a);for(;ma(i)&&!to(i);){if(J2(i))return i;if(jc(i))return null;i=Ci(i)}return null}function em(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function to(a){return["html","body","#document"].includes(so(a))}function kr(a){return pr(a).getComputedStyle(a)}function Bc(a){return Fn(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function Ci(a){if(so(a)==="html")return a;const i=a.assignedSlot||a.parentNode||g4(a)&&a.host||va(a);return g4(i)?i.host:i}function P9(a){const i=Ci(a);return to(i)?a.ownerDocument?a.ownerDocument.body:a.body:ma(i)&&Ps(i)?i:P9(i)}function ks(a,i,n){var t;i===void 0&&(i=[]),n===void 0&&(n=!0);const l=P9(a),s=l===((t=a.ownerDocument)==null?void 0:t.body),c=pr(l);if(s){const d=g2(c);return i.concat(c,c.visualViewport||[],Ps(l)?l:[],d&&n?ks(d):[])}return i.concat(l,ks(l,[],n))}function g2(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function z9(a){const i=kr(a);let n=parseFloat(i.width)||0,t=parseFloat(i.height)||0;const l=ma(a),s=l?a.offsetWidth:n,c=l?a.offsetHeight:t,d=xc(n)!==s||xc(t)!==c;return d&&(n=s,t=c),{width:n,height:t,$:d}}function tm(a){return Fn(a)?a:a.contextElement}function $l(a){const i=tm(a);if(!ma(i))return pa(1);const n=i.getBoundingClientRect(),{width:t,height:l,$:s}=z9(i);let c=(s?xc(n.width):n.width)/t,d=(s?xc(n.height):n.height)/l;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const nE=pa(0);function Y9(a){const i=pr(a);return!em()||!i.visualViewport?nE:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function rE(a,i,n){return i===void 0&&(i=!1),!n||i&&n!==pr(a)?!1:i}function ll(a,i,n,t){i===void 0&&(i=!1),n===void 0&&(n=!1);const l=a.getBoundingClientRect(),s=tm(a);let c=pa(1);i&&(t?Fn(t)&&(c=$l(t)):c=$l(a));const d=rE(s,n,t)?Y9(s):pa(0);let h=(l.left+d.x)/c.x,m=(l.top+d.y)/c.y,v=l.width/c.x,g=l.height/c.y;if(s){const S=pr(s),w=t&&Fn(t)?pr(t):t;let M=S,R=g2(M);for(;R&&t&&w!==M;){const C=$l(R),U=R.getBoundingClientRect(),O=kr(R),Y=U.left+(R.clientLeft+parseFloat(O.paddingLeft))*C.x,K=U.top+(R.clientTop+parseFloat(O.paddingTop))*C.y;h*=C.x,m*=C.y,v*=C.x,g*=C.y,h+=Y,m+=K,M=pr(R),R=g2(M)}}return Tc({width:v,height:g,x:h,y:m})}function nm(a,i){const n=Bc(a).scrollLeft;return i?i.left+n:ll(va(a)).left+n}function j9(a,i,n){n===void 0&&(n=!1);const t=a.getBoundingClientRect(),l=t.left+i.scrollLeft-(n?0:nm(a,t)),s=t.top+i.scrollTop;return{x:l,y:s}}function aE(a){let{elements:i,rect:n,offsetParent:t,strategy:l}=a;const s=l==="fixed",c=va(t),d=i?jc(i.floating):!1;if(t===c||d&&s)return n;let h={scrollLeft:0,scrollTop:0},m=pa(1);const v=pa(0),g=ma(t);if((g||!g&&!s)&&((so(t)!=="body"||Ps(c))&&(h=Bc(t)),ma(t))){const w=ll(t);m=$l(t),v.x=w.x+t.clientLeft,v.y=w.y+t.clientTop}const S=c&&!g&&!s?j9(c,h,!0):pa(0);return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-h.scrollLeft*m.x+v.x+S.x,y:n.y*m.y-h.scrollTop*m.y+v.y+S.y}}function iE(a){return Array.from(a.getClientRects())}function lE(a){const i=va(a),n=Bc(a),t=a.ownerDocument.body,l=Xl(i.scrollWidth,i.clientWidth,t.scrollWidth,t.clientWidth),s=Xl(i.scrollHeight,i.clientHeight,t.scrollHeight,t.clientHeight);let c=-n.scrollLeft+nm(a);const d=-n.scrollTop;return kr(t).direction==="rtl"&&(c+=Xl(i.clientWidth,t.clientWidth)-l),{width:l,height:s,x:c,y:d}}function oE(a,i){const n=pr(a),t=va(a),l=n.visualViewport;let s=t.clientWidth,c=t.clientHeight,d=0,h=0;if(l){s=l.width,c=l.height;const m=em();(!m||m&&i==="fixed")&&(d=l.offsetLeft,h=l.offsetTop)}return{width:s,height:c,x:d,y:h}}function sE(a,i){const n=ll(a,!0,i==="fixed"),t=n.top+a.clientTop,l=n.left+a.clientLeft,s=ma(a)?$l(a):pa(1),c=a.clientWidth*s.x,d=a.clientHeight*s.y,h=l*s.x,m=t*s.y;return{width:c,height:d,x:h,y:m}}function y4(a,i,n){let t;if(i==="viewport")t=oE(a,n);else if(i==="document")t=lE(va(a));else if(Fn(i))t=sE(i,n);else{const l=Y9(a);t={x:i.x-l.x,y:i.y-l.y,width:i.width,height:i.height}}return Tc(t)}function B9(a,i){const n=Ci(a);return n===i||!Fn(n)||to(n)?!1:kr(n).position==="fixed"||B9(n,i)}function uE(a,i){const n=i.get(a);if(n)return n;let t=ks(a,[],!1).filter(d=>Fn(d)&&so(d)!=="body"),l=null;const s=kr(a).position==="fixed";let c=s?Ci(a):a;for(;Fn(c)&&!to(c);){const d=kr(c),h=J2(c);!h&&d.position==="fixed"&&(l=null),(s?!h&&!l:!h&&d.position==="static"&&!!l&&["absolute","fixed"].includes(l.position)||Ps(c)&&!h&&B9(a,c))?t=t.filter(v=>v!==c):l=d,c=Ci(c)}return i.set(a,t),t}function cE(a){let{element:i,boundary:n,rootBoundary:t,strategy:l}=a;const c=[...n==="clippingAncestors"?jc(i)?[]:uE(i,this._c):[].concat(n),t],d=c[0],h=c.reduce((m,v)=>{const g=y4(i,v,l);return m.top=Xl(g.top,m.top),m.right=v2(g.right,m.right),m.bottom=v2(g.bottom,m.bottom),m.left=Xl(g.left,m.left),m},y4(i,d,l));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function fE(a){const{width:i,height:n}=z9(a);return{width:i,height:n}}function dE(a,i,n){const t=ma(i),l=va(i),s=n==="fixed",c=ll(a,!0,s,i);let d={scrollLeft:0,scrollTop:0};const h=pa(0);if(t||!t&&!s)if((so(i)!=="body"||Ps(l))&&(d=Bc(i)),t){const S=ll(i,!0,s,i);h.x=S.x+i.clientLeft,h.y=S.y+i.clientTop}else l&&(h.x=nm(l));const m=l&&!t&&!s?j9(l,d):pa(0),v=c.left+d.scrollLeft-h.x-m.x,g=c.top+d.scrollTop-h.y-m.y;return{x:v,y:g,width:c.width,height:c.height}}function s1(a){return kr(a).position==="static"}function b4(a,i){if(!ma(a)||kr(a).position==="fixed")return null;if(i)return i(a);let n=a.offsetParent;return va(a)===n&&(n=n.ownerDocument.body),n}function I9(a,i){const n=pr(a);if(jc(a))return n;if(!ma(a)){let l=Ci(a);for(;l&&!to(l);){if(Fn(l)&&!s1(l))return l;l=Ci(l)}return n}let t=b4(a,i);for(;t&&eE(t)&&s1(t);)t=b4(t,i);return t&&to(t)&&s1(t)&&!J2(t)?n:t||tE(a)||n}const hE=async function(a){const i=this.getOffsetParent||I9,n=this.getDimensions,t=await n(a.floating);return{reference:dE(a.reference,await i(a.floating),a.strategy),floating:{x:0,y:0,width:t.width,height:t.height}}};function pE(a){return kr(a).direction==="rtl"}const mE={convertOffsetParentRelativeRectToViewportRelativeRect:aE,getDocumentElement:va,getClippingRect:cE,getOffsetParent:I9,getElementRects:hE,getClientRects:iE,getDimensions:fE,getScale:$l,isElement:Fn,isRTL:pE};function F9(a,i){return a.x===i.x&&a.y===i.y&&a.width===i.width&&a.height===i.height}function vE(a,i){let n=null,t;const l=va(a);function s(){var d;clearTimeout(t),(d=n)==null||d.disconnect(),n=null}function c(d,h){d===void 0&&(d=!1),h===void 0&&(h=1),s();const m=a.getBoundingClientRect(),{left:v,top:g,width:S,height:w}=m;if(d||i(),!S||!w)return;const M=tc(g),R=tc(l.clientWidth-(v+S)),C=tc(l.clientHeight-(g+w)),U=tc(v),Y={rootMargin:-M+"px "+-R+"px "+-C+"px "+-U+"px",threshold:Xl(0,v2(1,h))||1};let K=!0;function X(re){const V=re[0].intersectionRatio;if(V!==h){if(!K)return c();V?c(!1,V):t=setTimeout(()=>{c(!1,1e-7)},1e3)}V===1&&!F9(m,a.getBoundingClientRect())&&c(),K=!1}try{n=new IntersectionObserver(X,{...Y,root:l.ownerDocument})}catch{n=new IntersectionObserver(X,Y)}n.observe(a)}return c(!0),s}function G9(a,i,n,t){t===void 0&&(t={});const{ancestorScroll:l=!0,ancestorResize:s=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:h=!1}=t,m=tm(a),v=l||s?[...m?ks(m):[],...ks(i)]:[];v.forEach(U=>{l&&U.addEventListener("scroll",n,{passive:!0}),s&&U.addEventListener("resize",n)});const g=m&&d?vE(m,n):null;let S=-1,w=null;c&&(w=new ResizeObserver(U=>{let[O]=U;O&&O.target===m&&w&&(w.unobserve(i),cancelAnimationFrame(S),S=requestAnimationFrame(()=>{var Y;(Y=w)==null||Y.observe(i)})),n()}),m&&!h&&w.observe(m),w.observe(i));let M,R=h?ll(a):null;h&&C();function C(){const U=ll(a);R&&!F9(R,U)&&n(),R=U,M=requestAnimationFrame(C)}return n(),()=>{var U;v.forEach(O=>{l&&O.removeEventListener("scroll",n),s&&O.removeEventListener("resize",n)}),g==null||g(),(U=w)==null||U.disconnect(),w=null,h&&cancelAnimationFrame(M)}}const Z9=$S,gE=JS,V9=KS,y2=QS,b2=(a,i,n)=>{const t=new Map,l={platform:mE,...n},s={...l.platform,_c:t};return WS(a,i,{...l,platform:s})};var u1={exports:{}};/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/var _4;function yE(){return _4||(_4=1,function(a){(function(){var i={}.hasOwnProperty;function n(){for(var s="",c=0;c<arguments.length;c++){var d=arguments[c];d&&(s=l(s,t(d)))}return s}function t(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var c="";for(var d in s)i.call(s,d)&&s[d]&&(c=l(c,d));return c}function l(s,c){return c?s?s+" "+c:s+c:s}a.exports?(n.default=n,a.exports=n):window.classNames=n})()}(u1)),u1.exports}var bE=yE();const _2=mr(bE);var S4={};const _E="react-tooltip-core-styles",SE="react-tooltip-base-styles",E4={core:!1,base:!1};function w4({css:a,id:i=SE,type:n="base",ref:t}){var l,s;if(!a||typeof document>"u"||E4[n]||n==="core"&&typeof process<"u"&&(!((l=process==null?void 0:S4)===null||l===void 0)&&l.REACT_TOOLTIP_DISABLE_CORE_STYLES)||n!=="base"&&typeof process<"u"&&(!((s=process==null?void 0:S4)===null||s===void 0)&&s.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;n==="core"&&(i=_E),t||(t={});const{insertAt:c}=t;if(document.getElementById(i))return;const d=document.head||document.getElementsByTagName("head")[0],h=document.createElement("style");h.id=i,h.type="text/css",c==="top"&&d.firstChild?d.insertBefore(h,d.firstChild):d.appendChild(h),h.styleSheet?h.styleSheet.cssText=a:h.appendChild(document.createTextNode(a)),E4[n]=!0}const D4=async({elementReference:a=null,tooltipReference:i=null,tooltipArrowReference:n=null,place:t="top",offset:l=10,strategy:s="absolute",middlewares:c=[Z9(Number(l)),V9({fallbackAxisSideDirection:"start"}),gE({padding:5})],border:d})=>{if(!a)return{tooltipStyles:{},tooltipArrowStyles:{},place:t};if(i===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:t};const h=c;return n?(h.push(y2({element:n,padding:5})),b2(a,i,{placement:t,strategy:s,middleware:h}).then(({x:m,y:v,placement:g,middlewareData:S})=>{var w,M;const R={left:`${m}px`,top:`${v}px`,border:d},{x:C,y:U}=(w=S.arrow)!==null&&w!==void 0?w:{x:0,y:0},O=(M={top:"bottom",right:"left",bottom:"top",left:"right"}[g.split("-")[0]])!==null&&M!==void 0?M:"bottom",Y=d&&{borderBottom:d,borderRight:d};let K=0;if(d){const X=`${d}`.match(/(\d+)px/);K=X!=null&&X[1]?Number(X[1]):1}return{tooltipStyles:R,tooltipArrowStyles:{left:C!=null?`${C}px`:"",top:U!=null?`${U}px`:"",right:"",bottom:"",...Y,[O]:`-${4+K}px`},place:g}})):b2(a,i,{placement:"bottom",strategy:s,middleware:h}).then(({x:m,y:v,placement:g})=>({tooltipStyles:{left:`${m}px`,top:`${v}px`},tooltipArrowStyles:{},place:g}))},T4=(a,i)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(a,i),x4=(a,i,n)=>{let t=null;const l=function(...s){const c=()=>{t=null};!t&&(a.apply(this,s),t=setTimeout(c,i))};return l.cancel=()=>{t&&(clearTimeout(t),t=null)},l},M4=a=>a!==null&&!Array.isArray(a)&&typeof a=="object",S2=(a,i)=>{if(a===i)return!0;if(Array.isArray(a)&&Array.isArray(i))return a.length===i.length&&a.every((l,s)=>S2(l,i[s]));if(Array.isArray(a)!==Array.isArray(i))return!1;if(!M4(a)||!M4(i))return a===i;const n=Object.keys(a),t=Object.keys(i);return n.length===t.length&&n.every(l=>S2(a[l],i[l]))},EE=a=>{if(!(a instanceof HTMLElement||a instanceof SVGElement))return!1;const i=getComputedStyle(a);return["overflow","overflow-x","overflow-y"].some(n=>{const t=i.getPropertyValue(n);return t==="auto"||t==="scroll"})},O4=a=>{if(!a)return null;let i=a.parentElement;for(;i;){if(EE(i))return i;i=i.parentElement}return document.scrollingElement||document.documentElement},wE=typeof window<"u"?y.useLayoutEffect:y.useEffect,xr=a=>{a.current&&(clearTimeout(a.current),a.current=null)},DE="DEFAULT_TOOLTIP_ID",TE={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},xE=y.createContext({getTooltipData:()=>TE});function W9(a=DE){return y.useContext(xE).getTooltipData(a)}var Wl={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},c1={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const ME=({forwardRef:a,id:i,className:n,classNameArrow:t,variant:l="dark",anchorId:s,anchorSelect:c,place:d="top",offset:h=10,events:m=["hover"],openOnClick:v=!1,positionStrategy:g="absolute",middlewares:S,wrapper:w,delayShow:M=0,delayHide:R=0,float:C=!1,hidden:U=!1,noArrow:O=!1,clickable:Y=!1,closeOnEsc:K=!1,closeOnScroll:X=!1,closeOnResize:re=!1,openEvents:V,closeEvents:_,globalCloseEvents:E,imperativeModeOnly:D,style:q,position:k,afterShow:z,afterHide:B,disableTooltip:H,content:T,contentWrapperRef:N,isOpen:L,defaultIsOpen:$=!1,setIsOpen:A,activeAnchor:j,setActiveAnchor:oe,border:ae,opacity:he,arrowColor:fe,role:me="tooltip"})=>{var ze;const Re=y.useRef(null),qt=y.useRef(null),Ut=y.useRef(null),mt=y.useRef(null),Ht=y.useRef(null),[lt,nt]=y.useState({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[Ue,Rn]=y.useState(!1),[xt,Nn]=y.useState(!1),[Je,Wn]=y.useState(null),zn=y.useRef(!1),qe=y.useRef(null),{anchorRefs:ge,setActiveAnchor:He}=W9(i),Ae=y.useRef(!1),[Ze,ot]=y.useState([]),Rt=y.useRef(!1),Mt=v||m.includes("click"),vr=Mt||(V==null?void 0:V.click)||(V==null?void 0:V.dblclick)||(V==null?void 0:V.mousedown),En=V?{...V}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!V&&Mt&&Object.assign(En,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const kn=_?{..._}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!_&&Mt&&Object.assign(kn,{mouseleave:!1,blur:!1,mouseout:!1});const Ft=E?{...E}:{escape:K||!1,scroll:X||!1,resize:re||!1,clickOutsideAnchor:vr||!1};D&&(Object.assign(En,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(kn,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(Ft,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),wE(()=>(Rt.current=!0,()=>{Rt.current=!1}),[]);const We=pe=>{Rt.current&&(pe&&Nn(!0),setTimeout(()=>{Rt.current&&(A==null||A(pe),L===void 0&&Rn(pe))},10))};y.useEffect(()=>{if(L===void 0)return()=>null;L&&Nn(!0);const pe=setTimeout(()=>{Rn(L)},10);return()=>{clearTimeout(pe)}},[L]),y.useEffect(()=>{if(Ue!==zn.current)if(xr(Ht),zn.current=Ue,Ue)z==null||z();else{const pe=(ye=>{const we=ye.match(/^([\d.]+)(ms|s)$/);if(!we)return 0;const[,Be,At]=we;return Number(Be)*(At==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Ht.current=setTimeout(()=>{Nn(!1),Wn(null),B==null||B()},pe+25)}},[Ue]);const Pt=pe=>{nt(ye=>S2(ye,pe)?ye:pe)},ln=(pe=M)=>{xr(Ut),xt?We(!0):Ut.current=setTimeout(()=>{We(!0)},pe)},vn=(pe=R)=>{xr(mt),mt.current=setTimeout(()=>{Ae.current||We(!1)},pe)},qr=pe=>{var ye;if(!pe)return;const we=(ye=pe.currentTarget)!==null&&ye!==void 0?ye:pe.target;if(!(we!=null&&we.isConnected))return oe(null),void He({current:null});M?ln():We(!0),oe(we),He({current:we}),xr(mt)},Ln=()=>{Y?vn(R||100):R?vn():We(!1),xr(Ut)},qn=({x:pe,y:ye})=>{var we;const Be={getBoundingClientRect:()=>({x:pe,y:ye,width:0,height:0,top:ye,left:pe,right:pe,bottom:ye})};D4({place:(we=Je==null?void 0:Je.place)!==null&&we!==void 0?we:d,offset:h,elementReference:Be,tooltipReference:Re.current,tooltipArrowReference:qt.current,strategy:g,middlewares:S,border:ae}).then(At=>{Pt(At)})},wn=pe=>{if(!pe)return;const ye=pe,we={x:ye.clientX,y:ye.clientY};qn(we),qe.current=we},rt=pe=>{var ye;if(!Ue)return;const we=pe.target;we.isConnected&&(!((ye=Re.current)===null||ye===void 0)&&ye.contains(we)||[document.querySelector(`[id='${s}']`),...Ze].some(Be=>Be==null?void 0:Be.contains(we))||(We(!1),xr(Ut)))},Qn=x4(qr,50),Ot=x4(Ln,50),$e=pe=>{Ot.cancel(),Qn(pe)},Te=()=>{Qn.cancel(),Ot()},Ye=y.useCallback(()=>{var pe,ye;const we=(pe=Je==null?void 0:Je.position)!==null&&pe!==void 0?pe:k;we?qn(we):C?qe.current&&qn(qe.current):j!=null&&j.isConnected&&D4({place:(ye=Je==null?void 0:Je.place)!==null&&ye!==void 0?ye:d,offset:h,elementReference:j,tooltipReference:Re.current,tooltipArrowReference:qt.current,strategy:g,middlewares:S,border:ae}).then(Be=>{Rt.current&&Pt(Be)})},[Ue,j,T,q,d,Je==null?void 0:Je.place,h,g,k,Je==null?void 0:Je.position,C]);y.useEffect(()=>{var pe,ye;const we=new Set(ge);Ze.forEach(ce=>{H!=null&&H(ce)||we.add({current:ce})});const Be=document.querySelector(`[id='${s}']`);Be&&!(H!=null&&H(Be))&&we.add({current:Be});const At=()=>{We(!1)},Dn=O4(j),gn=O4(Re.current);Ft.scroll&&(window.addEventListener("scroll",At),Dn==null||Dn.addEventListener("scroll",At),gn==null||gn.addEventListener("scroll",At));let zt=null;Ft.resize?window.addEventListener("resize",At):j&&Re.current&&(zt=G9(j,Re.current,Ye,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const Yt=ce=>{ce.key==="Escape"&&We(!1)};Ft.escape&&window.addEventListener("keydown",Yt),Ft.clickOutsideAnchor&&window.addEventListener("click",rt);const Me=[],dn=ce=>!!(ce!=null&&ce.target&&(j!=null&&j.contains(ce.target))),gt=ce=>{Ue&&dn(ce)||qr(ce)},tr=ce=>{Ue&&dn(ce)&&Ln()},et=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],yt=["click","dblclick","mousedown","mouseup"];Object.entries(En).forEach(([ce,Ie])=>{Ie&&(et.includes(ce)?Me.push({event:ce,listener:$e}):yt.includes(ce)&&Me.push({event:ce,listener:gt}))}),Object.entries(kn).forEach(([ce,Ie])=>{Ie&&(et.includes(ce)?Me.push({event:ce,listener:Te}):yt.includes(ce)&&Me.push({event:ce,listener:tr}))}),C&&Me.push({event:"pointermove",listener:wn});const Ee=()=>{Ae.current=!0},F=()=>{Ae.current=!1,Ln()},ue=Y&&(kn.mouseout||kn.mouseleave);return ue&&((pe=Re.current)===null||pe===void 0||pe.addEventListener("mouseover",Ee),(ye=Re.current)===null||ye===void 0||ye.addEventListener("mouseout",F)),Me.forEach(({event:ce,listener:Ie})=>{we.forEach(dt=>{var ht;(ht=dt.current)===null||ht===void 0||ht.addEventListener(ce,Ie)})}),()=>{var ce,Ie;Ft.scroll&&(window.removeEventListener("scroll",At),Dn==null||Dn.removeEventListener("scroll",At),gn==null||gn.removeEventListener("scroll",At)),Ft.resize?window.removeEventListener("resize",At):zt==null||zt(),Ft.clickOutsideAnchor&&window.removeEventListener("click",rt),Ft.escape&&window.removeEventListener("keydown",Yt),ue&&((ce=Re.current)===null||ce===void 0||ce.removeEventListener("mouseover",Ee),(Ie=Re.current)===null||Ie===void 0||Ie.removeEventListener("mouseout",F)),Me.forEach(({event:dt,listener:ht})=>{we.forEach(Nt=>{var Gt;(Gt=Nt.current)===null||Gt===void 0||Gt.removeEventListener(dt,ht)})})}},[j,Ye,xt,ge,Ze,V,_,E,Mt,M,R]),y.useEffect(()=>{var pe,ye;let we=(ye=(pe=Je==null?void 0:Je.anchorSelect)!==null&&pe!==void 0?pe:c)!==null&&ye!==void 0?ye:"";!we&&i&&(we=`[data-tooltip-id='${i.replace(/'/g,"\\'")}']`);const Be=new MutationObserver(At=>{const Dn=[],gn=[];At.forEach(zt=>{if(zt.type==="attributes"&&zt.attributeName==="data-tooltip-id"&&(zt.target.getAttribute("data-tooltip-id")===i?Dn.push(zt.target):zt.oldValue===i&&gn.push(zt.target)),zt.type==="childList"){if(j){const Yt=[...zt.removedNodes].filter(Me=>Me.nodeType===1);if(we)try{gn.push(...Yt.filter(Me=>Me.matches(we))),gn.push(...Yt.flatMap(Me=>[...Me.querySelectorAll(we)]))}catch{}Yt.some(Me=>{var dn;return!!(!((dn=Me==null?void 0:Me.contains)===null||dn===void 0)&&dn.call(Me,j))&&(Nn(!1),We(!1),oe(null),xr(Ut),xr(mt),!0)})}if(we)try{const Yt=[...zt.addedNodes].filter(Me=>Me.nodeType===1);Dn.push(...Yt.filter(Me=>Me.matches(we))),Dn.push(...Yt.flatMap(Me=>[...Me.querySelectorAll(we)]))}catch{}}}),(Dn.length||gn.length)&&ot(zt=>[...zt.filter(Yt=>!gn.includes(Yt)),...Dn])});return Be.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Be.disconnect()}},[i,c,Je==null?void 0:Je.anchorSelect,j]),y.useEffect(()=>{Ye()},[Ye]),y.useEffect(()=>{if(!(N!=null&&N.current))return()=>null;const pe=new ResizeObserver(()=>{setTimeout(()=>Ye())});return pe.observe(N.current),()=>{pe.disconnect()}},[T,N==null?void 0:N.current]),y.useEffect(()=>{var pe;const ye=document.querySelector(`[id='${s}']`),we=[...Ze,ye];j&&we.includes(j)||oe((pe=Ze[0])!==null&&pe!==void 0?pe:ye)},[s,Ze,j]),y.useEffect(()=>($&&We(!0),()=>{xr(Ut),xr(mt)}),[]),y.useEffect(()=>{var pe;let ye=(pe=Je==null?void 0:Je.anchorSelect)!==null&&pe!==void 0?pe:c;if(!ye&&i&&(ye=`[data-tooltip-id='${i.replace(/'/g,"\\'")}']`),ye)try{const we=Array.from(document.querySelectorAll(ye));ot(we)}catch{ot([])}},[i,c,Je==null?void 0:Je.anchorSelect]),y.useEffect(()=>{Ut.current&&(xr(Ut),ln(M))},[M]);const Jt=(ze=Je==null?void 0:Je.content)!==null&&ze!==void 0?ze:T,vt=Ue&&Object.keys(lt.tooltipStyles).length>0;return y.useImperativeHandle(a,()=>({open:pe=>{if(pe!=null&&pe.anchorSelect)try{document.querySelector(pe.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${pe.anchorSelect}" is not a valid CSS selector`)}Wn(pe??null),pe!=null&&pe.delay?ln(pe.delay):We(!0)},close:pe=>{pe!=null&&pe.delay?vn(pe.delay):We(!1)},activeAnchor:j,place:lt.place,isOpen:!!(xt&&!U&&Jt&&vt)})),xt&&!U&&Jt?Z.createElement(w,{id:i,role:me,className:_2("react-tooltip",Wl.tooltip,c1.tooltip,c1[l],n,`react-tooltip__place-${lt.place}`,Wl[vt?"show":"closing"],vt?"react-tooltip__show":"react-tooltip__closing",g==="fixed"&&Wl.fixed,Y&&Wl.clickable),onTransitionEnd:pe=>{xr(Ht),Ue||pe.propertyName!=="opacity"||(Nn(!1),Wn(null),B==null||B())},style:{...q,...lt.tooltipStyles,opacity:he!==void 0&&vt?he:void 0},ref:Re},Jt,Z.createElement(w,{className:_2("react-tooltip-arrow",Wl.arrow,c1.arrow,t,O&&Wl.noArrow),style:{...lt.tooltipArrowStyles,background:fe?`linear-gradient(to right bottom, transparent 50%, ${fe} 50%)`:void 0},ref:qt})):null},OE=({content:a})=>Z.createElement("span",{dangerouslySetInnerHTML:{__html:a}}),AE=Z.forwardRef(({id:a,anchorId:i,anchorSelect:n,content:t,html:l,render:s,className:c,classNameArrow:d,variant:h="dark",place:m="top",offset:v=10,wrapper:g="div",children:S=null,events:w=["hover"],openOnClick:M=!1,positionStrategy:R="absolute",middlewares:C,delayShow:U=0,delayHide:O=0,float:Y=!1,hidden:K=!1,noArrow:X=!1,clickable:re=!1,closeOnEsc:V=!1,closeOnScroll:_=!1,closeOnResize:E=!1,openEvents:D,closeEvents:q,globalCloseEvents:k,imperativeModeOnly:z=!1,style:B,position:H,isOpen:T,defaultIsOpen:N=!1,disableStyleInjection:L=!1,border:$,opacity:A,arrowColor:j,setIsOpen:oe,afterShow:ae,afterHide:he,disableTooltip:fe,role:me="tooltip"},ze)=>{const[Re,qt]=y.useState(t),[Ut,mt]=y.useState(l),[Ht,lt]=y.useState(m),[nt,Ue]=y.useState(h),[Rn,xt]=y.useState(v),[Nn,Je]=y.useState(U),[Wn,zn]=y.useState(O),[qe,ge]=y.useState(Y),[He,Ae]=y.useState(K),[Ze,ot]=y.useState(g),[Rt,Mt]=y.useState(w),[vr,En]=y.useState(R),[kn,Ft]=y.useState(null),[We,Pt]=y.useState(null),ln=y.useRef(L),{anchorRefs:vn,activeAnchor:qr}=W9(a),Ln=Ot=>Ot==null?void 0:Ot.getAttributeNames().reduce(($e,Te)=>{var Ye;return Te.startsWith("data-tooltip-")&&($e[Te.replace(/^data-tooltip-/,"")]=(Ye=Ot==null?void 0:Ot.getAttribute(Te))!==null&&Ye!==void 0?Ye:null),$e},{}),qn=Ot=>{const $e={place:Te=>{var Ye;lt((Ye=Te)!==null&&Ye!==void 0?Ye:m)},content:Te=>{qt(Te??t)},html:Te=>{mt(Te??l)},variant:Te=>{var Ye;Ue((Ye=Te)!==null&&Ye!==void 0?Ye:h)},offset:Te=>{xt(Te===null?v:Number(Te))},wrapper:Te=>{var Ye;ot((Ye=Te)!==null&&Ye!==void 0?Ye:g)},events:Te=>{const Ye=Te==null?void 0:Te.split(" ");Mt(Ye??w)},"position-strategy":Te=>{var Ye;En((Ye=Te)!==null&&Ye!==void 0?Ye:R)},"delay-show":Te=>{Je(Te===null?U:Number(Te))},"delay-hide":Te=>{zn(Te===null?O:Number(Te))},float:Te=>{ge(Te===null?Y:Te==="true")},hidden:Te=>{Ae(Te===null?K:Te==="true")},"class-name":Te=>{Ft(Te)}};Object.values($e).forEach(Te=>Te(null)),Object.entries(Ot).forEach(([Te,Ye])=>{var Jt;(Jt=$e[Te])===null||Jt===void 0||Jt.call($e,Ye)})};y.useEffect(()=>{qt(t)},[t]),y.useEffect(()=>{mt(l)},[l]),y.useEffect(()=>{lt(m)},[m]),y.useEffect(()=>{Ue(h)},[h]),y.useEffect(()=>{xt(v)},[v]),y.useEffect(()=>{Je(U)},[U]),y.useEffect(()=>{zn(O)},[O]),y.useEffect(()=>{ge(Y)},[Y]),y.useEffect(()=>{Ae(K)},[K]),y.useEffect(()=>{En(R)},[R]),y.useEffect(()=>{ln.current!==L&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[L]),y.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:L==="core",disableBase:L}}))},[]),y.useEffect(()=>{var Ot;const $e=new Set(vn);let Te=n;if(!Te&&a&&(Te=`[data-tooltip-id='${a.replace(/'/g,"\\'")}']`),Te)try{document.querySelectorAll(Te).forEach(ye=>{$e.add({current:ye})})}catch{console.warn(`[react-tooltip] "${Te}" is not a valid CSS selector`)}const Ye=document.querySelector(`[id='${i}']`);if(Ye&&$e.add({current:Ye}),!$e.size)return()=>null;const Jt=(Ot=We??Ye)!==null&&Ot!==void 0?Ot:qr.current,vt=new MutationObserver(ye=>{ye.forEach(we=>{var Be;if(!Jt||we.type!=="attributes"||!(!((Be=we.attributeName)===null||Be===void 0)&&Be.startsWith("data-tooltip-")))return;const At=Ln(Jt);qn(At)})}),pe={attributes:!0,childList:!1,subtree:!1};if(Jt){const ye=Ln(Jt);qn(ye),vt.observe(Jt,pe)}return()=>{vt.disconnect()}},[vn,qr,We,i,n]),y.useEffect(()=>{B!=null&&B.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),$&&!T4("border",`${$}`)&&console.warn(`[react-tooltip] "${$}" is not a valid \`border\`.`),B!=null&&B.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),A&&!T4("opacity",`${A}`)&&console.warn(`[react-tooltip] "${A}" is not a valid \`opacity\`.`)},[]);let wn=S;const rt=y.useRef(null);if(s){const Ot=s({content:(We==null?void 0:We.getAttribute("data-tooltip-content"))||Re||null,activeAnchor:We});wn=Ot?Z.createElement("div",{ref:rt,className:"react-tooltip-content-wrapper"},Ot):null}else Re&&(wn=Re);Ut&&(wn=Z.createElement(OE,{content:Ut}));const Qn={forwardRef:ze,id:a,anchorId:i,anchorSelect:n,className:_2(c,kn),classNameArrow:d,content:wn,contentWrapperRef:rt,place:Ht,variant:nt,offset:Rn,wrapper:Ze,events:Rt,openOnClick:M,positionStrategy:vr,middlewares:C,delayShow:Nn,delayHide:Wn,float:qe,hidden:He,noArrow:X,clickable:re,closeOnEsc:V,closeOnScroll:_,closeOnResize:E,openEvents:D,closeEvents:q,globalCloseEvents:k,imperativeModeOnly:z,style:B,position:H,isOpen:T,defaultIsOpen:N,border:$,opacity:A,arrowColor:j,setIsOpen:oe,afterShow:ae,afterHide:he,disableTooltip:fe,activeAnchor:We,setActiveAnchor:Ot=>Pt(Ot),role:me};return Z.createElement(ME,{...Qn})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",a=>{a.detail.disableCore||w4({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),a.detail.disableBase||w4({css:`
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});function CE(a,i,n){for(var t=0,l=i.length,s;t<l;t++)(s||!(t in i))&&(s||(s=Array.prototype.slice.call(i,0,t)),s[t]=i[t]);return a.concat(s||Array.prototype.slice.call(i))}var A4;function E2(){return E2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},E2.apply(null,arguments)}var RE=function(i){return y.createElement("svg",E2({xmlns:"http://www.w3.org/2000/svg",width:24,height:12.4,viewBox:"0 0 24 12.4"},i),A4||(A4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M23.2.8 12.5 11.5c-.1.1-.2.1-.2.2-.1 0-.2.1-.3.1s-.2 0-.3-.1c-.1 0-.2-.1-.2-.2L.8.8"})))},C4,R4;function w2(){return w2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},w2.apply(null,arguments)}var Ic=function(i){return y.createElement("svg",w2({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,className:"info-svg",viewBox:"0 0 22.5 22.5"},i),C4||(C4=y.createElement("circle",{cx:11.2,cy:11.2,r:11.2,fill:"none",className:"bg"})),R4||(R4=y.createElement("g",{fill:"none"},y.createElement("path",{d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5"}),y.createElement("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5"}),y.createElement("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M13.5 15.8h-.8c-.4 0-.8-.2-1.1-.4-.3-.3-.4-.7-.4-1.1v-3.8c0-.2-.1-.4-.2-.5s-.3-.2-.5-.2h-.7M10.9 6c-.1 0-.1 0-.2.1-.1 0-.1.1-.1.2v.2c0 .1.1.1.1.2.1.1.1.1.2.1h.2c.1 0 .1-.1.2-.1 0-.1.1-.1.1-.2s0-.2-.1-.3c-.2-.2-.3-.2-.4-.2"}))))},N4,k4;function D2(){return D2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},D2.apply(null,arguments)}var rm=function(i){return y.createElement("svg",D2({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,viewBox:"0 0 22.5 22.5"},i),N4||(N4=y.createElement("circle",{cx:11.2,cy:11.2,r:11.2,fill:"none",className:"bg"})),k4||(k4=y.createElement("g",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5},y.createElement("path",{d:"M11.2 21.8c5.8 0 10.5-4.7 10.5-10.6C21.7 5.4 17 .7 11.2.7S.7 5.5.7 11.3s4.7 10.5 10.5 10.5"}),y.createElement("path",{d:"m5.6 12.4 2.2 3.3c.2.1.4.3.4.3.1.1.3.1.5.1s.3 0 .5-.1.3-.2.4-.3l7.3-9.3"}))))},L4,q4,U4,H4;function T2(){return T2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},T2.apply(null,arguments)}var am=function(i){return y.createElement("svg",T2({xmlns:"http://www.w3.org/2000/svg",width:22.6,height:22.6,viewBox:"0 0 22.6 22.6"},i),L4||(L4=y.createElement("path",{fill:"none",d:"M12.8 1.8c-.1-.3-.4-.6-.6-.7q-.45-.3-.9-.3-.6 0-.9.3c-.3.3-.5.3-.7.6L.9 19.9c-.1.2-.2.5-.2.7 0 .3.1.5.2.7s.3.4.6.5c.2.1.5.2.7.2h18.3c.3 0 .5-.1.7-.2s.4-.3.6-.5c.1-.2.2-.5.2-.7 0-.3 0-.5-.2-.7z",className:"bg"})),q4||(q4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12.8 1.8c-.1-.3-.4-.6-.6-.7q-.45-.3-.9-.3-.6 0-.9.3c-.3.3-.5.3-.7.6L.9 19.9c-.1.2-.2.5-.2.7 0 .3.1.5.2.7s.3.4.6.5c.2.1.5.2.7.2h18.3c.3 0 .5-.1.7-.2s.4-.3.6-.5c.1-.2.2-.5.2-.7 0-.3 0-.5-.2-.7z"})),U4||(U4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M11.3 17.7c-.1 0-.1 0-.2.1-.1 0-.1.1-.1.2v.2c0 .1.1.1.1.2.1.1.1.1.2.1h.2c.1 0 .1-.1.2-.1 0-.1.1-.1.1-.2s0-.2-.1-.3c-.2-.2-.3-.2-.4-.2"})),H4||(H4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M11.3 14.9V7.8"})))},P4;function x2(){return x2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},x2.apply(null,arguments)}var Q9=function(i){return y.createElement("svg",x2({xmlns:"http://www.w3.org/2000/svg",width:13.5,height:13.5,viewBox:"0 0 13.5 13.5"},i),P4||(P4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m.8 12.8 12-12m0 12L.8.8"})))},M2;(function(a){a.Default="sds--alert--status-default",a.Success="sds--alert--status-success",a.Warning="sds--alert--status-warning",a.Error="sds--alert--status-error",a.Info="sds--alert--status-info"})(M2||(M2={}));var Ei=M2;function NE(a){return a!=null?(a.preventDefault(),a.stopPropagation(),!1):!0}function ms(a){return a==null?!0:Array.isArray(a)?a.length===0:typeof a=="string"?a.trim().length===0:a&&a.getTime&&typeof a.getTime=="function"?a.getTime()!==a.getTime():typeof a=="object"?Object.keys(a).length===0:!1}function uo(a){return zS.sanitize(a,{ADD_ATTR:["target"]})}function kE(){return crypto.randomUUID&&typeof crypto.randomUUID=="function"&&crypto.randomUUID()||Math.round(new Date().getTime()*Math.random()*1e3).toString()}var LE=function(a){var i=a.alertType||Ei.Success,n=a.action?"sds--alert--has-action":"",t="sds--alert ".concat(i.toLowerCase()," ").concat(n," ").concat(a.hide?"hide":"");return Z.createElement("div",{className:t},Z.createElement("div",{className:"sds--alert--inner ".concat(a.asChild?"":"sds--page-container")},Z.createElement("div",{className:"sds--alert--visual"},[Ei.Error,Ei.Warning].includes(i)&&Z.createElement(am,null),[Ei.Default,Ei.Info].includes(i)&&Z.createElement(Ic,null),[Ei.Success].includes(i)&&Z.createElement(rm,null)),Z.createElement("div",{className:"sds--alert--textual"},Z.createElement("p",{dangerouslySetInnerHTML:{__html:uo(a.message)}}),a.action&&Z.createElement("button",{type:"button",onClick:a.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},a.actionLabel)),a.close&&Z.createElement("button",{className:"sds--alert--actions",onClick:a.close},Z.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),Z.createElement(Q9,null))))},qE=function(a){var i="sds--badge--number ".concat(a.colored?"sds--badge--number--colored":""," ").concat(a.small?"sds--badge--number--small":"");return Z.createElement("span",{className:i},a.value)},z4;(function(a){a.Horizontal="",a.Vertical="sds--block-switch--vertical"})(z4||(z4={}));var Y4;function O2(){return O2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},O2.apply(null,arguments)}var UE=function(i){return y.createElement("svg",O2({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,className:"bin-svg",viewBox:"0 0 22.5 22.5"},i),Y4||(Y4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M.8 3.8h21m-8.3-3H9c-.4 0-.8.2-1.1.4-.2.3-.4.7-.4 1v1.5H15V2.2c0-.4-.2-.8-.4-1.1-.3-.2-.7-.3-1.1-.3M9 16.5V9m4.5 7.5V9m4.6 11.4c0 .4-.2.7-.5 1s-.6.4-1 .4H5.9c-.4 0-.7-.1-1-.4s-.4-.6-.5-1L3 3.8h16.5z"})))},A2;(function(a){a.Primary="sds--btn--primary",a.Secondary="sds--btn--secondary",a.Tertiary="sds--btn--tertiary",a.GhostDark="sds--btn--ghost--dark",a.GhostLight="sds--btn--ghost--light",a.Delete="sds--btn--delete",a.DeleteSecondary="sds--btn--delete--secondary",a.Chevron="sds--btn--chevron",a.DestructivePrimary="sds--btn sds--btn-destructive--primary",a.DestructiveSecondary="sds--btn sds--btn-destructive--secondary",a.DestructiveTertiary="sds--btn sds--btn-destructive--tertiary"})(A2||(A2={}));var Ti=A2,C2;(function(a){a.Default="",a.Small="sds--btn--small",a.Full="sds--btn--full"})(C2||(C2={}));var im=C2;Ti.Primary,im.Default;var no=function(a){var i="".concat((a.type||Ti.Primary).toLowerCase()," ")+"".concat(a.type&&a.type===Ti.DeleteSecondary?Ti.Secondary.toLowerCase():""),n="".concat((a.size||im.Default).toLowerCase()),t=a.children?"sds--btn-chevron":"",l=a.active||!1,s="sds--btn ".concat(i," ").concat(n," ").concat(t," ").concat(l?"active":""),c=function(d){NE(d),!a.disabled&&a.onClick&&a.onClick(d)};return Z.createElement("button",{type:"button",className:s,onClick:c,disabled:a.disabled},a.children,a.txt&&Z.createElement("span",{className:"textual",dangerouslySetInnerHTML:{__html:uo(a.txt||"")}}),a.type===Ti.Delete?Z.createElement(UE,null):a.icon)},HE=function(a){var i="A"+kE();return Z.createElement("div",{"data-tooltip-id":i,className:"sds--tooltip-container ".concat(a.standalone?"":"sibbling"),"data-tooltip-html":uo(a.tip)},a.children?Z.Children.map(a.children,function(n){return n}):Z.createElement(Ic,null),Z.createElement(AE,{id:i,place:a.place,clickable:a.clickable||!1,disableStyleInjection:"core"}))},j4;(function(a){a.Default="sds--card",a.Big="sds--card sds--card--big"})(j4||(j4={}));var R2;(function(a){a.Main_100="main-100",a.Main_200="main-200",a.Main_300="main-300",a.Main_400="main-400",a.Main_500="main-500",a.Support_100="support-100",a.Support_400="support-400",a.Support_500="support-500",a.Status_default="status-default",a.Status_success="status-success",a.Status_warning="status-warning",a.Status_error="status-error",a.Status_info="status-info"})(R2||(R2={}));var K9=R2,PE=function(a){var i=a.type?a.type:K9.Main_100;return Z.createElement("button",{className:"sds--chips ".concat(i)},a.children&&Z.createElement("span",{className:"sds--chips--visual"},a.children),Z.createElement("span",{className:"sds--chips--textual sds--text--body--small"},a.label))},nc=35,zE=["Delete","Backspace"],X9=function(a){var i=y.useState(Array(a.size).fill("")),n=i[0],t=i[1],l=y.useRef([]),s=a.disabled||!1,c=a.focusFirst===void 0||a.focusFirst;y.useEffect(function(){var v=ms(n.join(""));if(a.clear&&t(Array(a.size).fill("")),v&&c&&!a.disabled){var g=l.current[0];setTimeout(function(){return g.focus()},nc)}},[a]);var d=function(v,g){var S=g.target.value;if(!(a.validate&&!a.validate(S))){var w=CE([],n);if(w[v]=a.transformer?a.transformer(S):S,t(w),a.intermediateCallback&&a.intermediateCallback(w),v!==a.size-1&&!ms(S)){var M=l.current[v+1];setTimeout(function(){return M.focus()},nc)}else ms(S)||setTimeout(function(){return a.verify(w.join(""))},nc)}},h=function(v,g){if(zE.includes(g.key)&&v>0&&g.target.value===""){var S=l.current[v-1];S.focus()}return!0},m=function(v,g){if(v!==0)return!1;var S=g.clipboardData.getData("text/plain"),w=S.split("");if(w.length!==a.size||a.validate&&w.map(function(R){return a.validate(R)}).some(function(R){return!R}))return!1;t(a.transformer?w.map(function(R){return a.transformer(R)}):w);var M=l.current[a.size-1];return M.focus(),setTimeout(function(){return a.verify(w.join(""))},nc),!0};return Z.createElement("div",{className:"sds--code-validation-container"},Z.createElement("div",{className:"sds--code-validation"},Array(a.size).fill("").map(function(v,g){return Z.createElement("input",{type:"text",key:"input_".concat(g),disabled:s||ms(n[g])&&g!==0&&ms(n[g-1]),value:n[g]||"",onChange:function(S){return d(g,S)},onKeyDown:function(S){return h(g,S)},onPaste:function(S){return m(g,S)},maxLength:1,ref:function(S){return l.current[g]=S},className:"value index_".concat(g)})})),a.info&&Z.createElement("p",{className:"info",dangerouslySetInnerHTML:{__html:uo(a.info)}}))},wi;(function(a){a.Default="sds--error-indicator--status-default",a.Success="sds--error-indicator--status-success",a.Warning="sds--error-indicator--status-warning",a.Error="sds--error-indicator--status-error",a.Info="sds--error-indicator--status-info"})(wi||(wi={}));var YE=function(a){var i=a.errorIndicatorType||wi.Error,n="".concat(i.toLowerCase());return Z.createElement("div",{className:"sds--error-indicator ".concat(n)},Z.createElement("div",{className:"sds--error-indicator--visual"},[wi.Error,wi.Warning].includes(i)&&Z.createElement(am,null),[wi.Default,wi.Info].includes(i)&&Z.createElement(Ic,null),[wi.Success].includes(i)&&Z.createElement(rm,null)),Z.createElement("div",{className:"sds--error-indicator-textual"},a.message&&Z.createElement("p",{dangerouslySetInnerHTML:{__html:uo(a.message)}})))},lm=function(a){var i="sds--loading-container ".concat(a.className||"");return Z.createElement("div",{className:i},Z.createElement("div",{className:"sds--loading"},Z.createElement("span",{className:"sds--loading--dot"}),Z.createElement("span",{className:"sds--loading--dot"}),Z.createElement("span",{className:"sds--loading--dot"})),a.children&&a.children)},B4,I4;function N2(){return N2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},N2.apply(null,arguments)}var jE=function(i){return y.createElement("svg",N2({xmlns:"http://www.w3.org/2000/svg",width:70.9,height:36,className:"logo-surf",viewBox:"0 0 70.9 36"},i),B4||(B4=y.createElement("path",{fillRule:"evenodd",d:"M65.5 21.8c3 0 5.4 2.4 5.4 5.4v3.4c0 3-2.4 5.4-5.4 5.4h-8.1c-3 0-5.4-2.4-5.4-5.4v-2.1c0-3.7-3-6.7-6.7-6.7H6.7C3 21.8 0 18.7 0 15V6.7C0 3 3 0 6.7 0h38.5C49 0 52 3 52 6.7V15c0 3.7 3 6.7 6.7 6.7h6.8z",className:"shape",clipRule:"evenodd"})),I4||(I4=y.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M43.4 12.5c.7 0 1.1-.4 1.1-1.1s-.3-1.1-1.1-1.1h-2.7v-2H45c.7 0 1.1-.4 1.1-1.1s-.4-1.1-1.1-1.1h-5.4c-.7 0-1.1.4-1.1 1.1v7.6c0 .7.4 1.1 1.1 1.1s1.1-.4 1.1-1.1v-2.4h2.7zM32.2 8.3c.9 0 1.5.4 1.5 1.3s-.7 1.3-1.5 1.3h-1.9V8.3zm1.3 7c.2.5.5.7.9.7.6 0 1.3-.4 1.3-1.1 0-.2 0-.4-.1-.6l-1-2.1q1.5-.75 1.5-2.7c0-2-1.5-3.4-3.6-3.4h-3.2c-.7 0-1.1.4-1.1 1.1v7.6c0 .7.4 1.1 1.1 1.1s1.1-.4 1.1-1.1v-2h2.1zm-10.3-3.9c0 1.5-.9 2.4-2.2 2.4s-2.2-.9-2.2-2.4V7.2c0-.7-.4-1.1-1.1-1.1s-1.1.4-1.1 1.1v4.3c0 2.8 1.9 4.6 4.4 4.6 2.6 0 4.5-1.8 4.5-4.6V7.2c0-.7-.4-1.1-1.1-1.1s-1.1.4-1.1 1.1v4.2zM10.5 14c-.9 0-1.5-.2-1.9-.4-.4-.1-.7-.2-1-.2-.6 0-1 .4-1 1 0 1 2.1 1.6 4 1.6 2.2 0 3.9-1.2 3.9-3 0-1.7-1.1-2.4-2.4-2.8l-1.8-.6C9.4 9.5 9 9.3 9 8.8s.8-.7 1.4-.7c.8 0 1.3.2 1.8.4.3.1.6.2.9.2.6 0 .9-.4.9-1 0-1-1.9-1.6-3.6-1.6C8.3 6 6.7 7.2 6.7 8.9c0 1.4 1 2.3 2.2 2.6l1.6.5c.8.2 1.5.5 1.5 1 .1.6-.8 1-1.5 1",className:"text",clipRule:"evenodd"})))},k2;(function(a){a.White="White",a.Black="Black"})(k2||(k2={}));var L2=k2,$9=function(a){var i=(a.color||L2.Black)===L2.White?"sds--branding--negative":"",n="sds--logo sds--branding sds--branding--name-".concat(a.position.toLowerCase()," ").concat(i);return Z.createElement("div",{className:n},Z.createElement("span",{className:"sds--branding--visual"},a.CustomLogo?Z.createElement(a.CustomLogo,null):Z.createElement(jE,null)),Z.createElement("span",{className:"sds--branding--textual"},a.label))},q2;(function(a){a.Bottom="Bottom",a.Up="Up"})(q2||(q2={}));var J9=q2,F4;(function(a){a.row="row",a.column="column"})(F4||(F4={}));var G4=function(a){var i="sds--switch ".concat(a.value?"sds--switch--active":""," ").concat(a.disabled?"sds--switch--disabled":"");return Z.createElement("div",{className:"sds--tooltip-parent",onClick:function(){return!a.disabled&&a.onChange(!a.value)}},Z.createElement("span",{className:i,role:"switch","aria-checked":a.value}),a.tooltip&&Z.createElement(HE,{tip:a.tooltip}))},U2;(function(a){a.Default="sds--toaster--status-default",a.Success="sds--toaster--status-success",a.Warning="sds--toaster--status-warning",a.Error="sds--toaster--status-error",a.Info="sds--toaster--status-info"})(U2||(U2={}));var Di=U2,om=function(a){var i="".concat(a.toasterType.toLowerCase()),n=a.large?"sds--toaster--full-width":"",t=a.action?"sds--toaster--has-action":"",l="sds--toaster ".concat(i," ").concat(t," ").concat(n);return Z.createElement("div",{className:l},Z.createElement("div",{className:"sds--toaster--visual"},[Di.Error,Di.Warning].includes(a.toasterType)&&Z.createElement(am,null),[Di.Default,Di.Info].includes(a.toasterType)&&Z.createElement(Ic,null),[Di.Success].includes(a.toasterType)&&Z.createElement(rm,null)),Z.createElement("div",{className:"sds--toaster--textual"},a.message&&Z.createElement("p",{dangerouslySetInnerHTML:{__html:uo(a.message)}}),a.children&&a.children,a.action&&Z.createElement("button",{type:"button",onClick:a.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},a.actionLabel)),a.close&&Z.createElement("button",{className:"sds--alert--actions",onClick:a.close},Z.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),Z.createElement(Q9,null)))},BE=function(a){return Z.createElement("div",{className:"sds--toaster-container"},a.children)},IE=function(a){return Z.createElement("nav",{className:"sds--user-info ".concat(a.isOpen?"is-open":"")},Z.createElement("div",{className:"sds--user-info--textual"},Z.createElement("p",{className:"name"},a.userName),Z.createElement("p",{className:"role sds--text--body--small"},a.organisationName)),Z.createElement("button",{type:"button",className:"sds--user-info--button",onClick:a.toggle},Z.createElement(RE,null)),Z.createElement("div",{className:"sds--user-info--dropdown"},a.children&&a.children))},vs={},Z4;function FE(){if(Z4)return vs;Z4=1,Object.defineProperty(vs,"__esModule",{value:!0}),vs.parse=c,vs.serialize=m;const a=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,i=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,t=/^[\u0020-\u003A\u003D-\u007E]*$/,l=Object.prototype.toString,s=(()=>{const S=function(){};return S.prototype=Object.create(null),S})();function c(S,w){const M=new s,R=S.length;if(R<2)return M;const C=(w==null?void 0:w.decode)||v;let U=0;do{const O=S.indexOf("=",U);if(O===-1)break;const Y=S.indexOf(";",U),K=Y===-1?R:Y;if(O>K){U=S.lastIndexOf(";",O-1)+1;continue}const X=d(S,U,O),re=h(S,O,X),V=S.slice(X,re);if(M[V]===void 0){let _=d(S,O+1,K),E=h(S,K,_);const D=C(S.slice(_,E));M[V]=D}U=K+1}while(U<R);return M}function d(S,w,M){do{const R=S.charCodeAt(w);if(R!==32&&R!==9)return w}while(++w<M);return M}function h(S,w,M){for(;w>M;){const R=S.charCodeAt(--w);if(R!==32&&R!==9)return w+1}return M}function m(S,w,M){const R=(M==null?void 0:M.encode)||encodeURIComponent;if(!a.test(S))throw new TypeError(`argument name is invalid: ${S}`);const C=R(w);if(!i.test(C))throw new TypeError(`argument val is invalid: ${w}`);let U=S+"="+C;if(!M)return U;if(M.maxAge!==void 0){if(!Number.isInteger(M.maxAge))throw new TypeError(`option maxAge is invalid: ${M.maxAge}`);U+="; Max-Age="+M.maxAge}if(M.domain){if(!n.test(M.domain))throw new TypeError(`option domain is invalid: ${M.domain}`);U+="; Domain="+M.domain}if(M.path){if(!t.test(M.path))throw new TypeError(`option path is invalid: ${M.path}`);U+="; Path="+M.path}if(M.expires){if(!g(M.expires)||!Number.isFinite(M.expires.valueOf()))throw new TypeError(`option expires is invalid: ${M.expires}`);U+="; Expires="+M.expires.toUTCString()}if(M.httpOnly&&(U+="; HttpOnly"),M.secure&&(U+="; Secure"),M.partitioned&&(U+="; Partitioned"),M.priority)switch(typeof M.priority=="string"?M.priority.toLowerCase():void 0){case"low":U+="; Priority=Low";break;case"medium":U+="; Priority=Medium";break;case"high":U+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${M.priority}`)}if(M.sameSite)switch(typeof M.sameSite=="string"?M.sameSite.toLowerCase():M.sameSite){case!0:case"strict":U+="; SameSite=Strict";break;case"lax":U+="; SameSite=Lax";break;case"none":U+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${M.sameSite}`)}return U}function v(S){if(S.indexOf("%")===-1)return S;try{return decodeURIComponent(S)}catch{return S}}function g(S){return l.call(S)==="[object Date]"}return vs}FE();var V4="popstate";function GE(a={}){function i(t,l){let{pathname:s,search:c,hash:d}=t.location;return H2("",{pathname:s,search:c,hash:d},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(t,l){return typeof l=="string"?l:Ls(l)}return VE(i,n,null,a)}function It(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}function Vr(a,i){if(!a){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function ZE(){return Math.random().toString(36).substring(2,10)}function W4(a,i){return{usr:a.state,key:a.key,idx:i}}function H2(a,i,n=null,t){return{pathname:typeof a=="string"?a:a.pathname,search:"",hash:"",...typeof i=="string"?co(i):i,state:n,key:i&&i.key||t||ZE()}}function Ls({pathname:a="/",search:i="",hash:n=""}){return i&&i!=="?"&&(a+=i.charAt(0)==="?"?i:"?"+i),n&&n!=="#"&&(a+=n.charAt(0)==="#"?n:"#"+n),a}function co(a){let i={};if(a){let n=a.indexOf("#");n>=0&&(i.hash=a.substring(n),a=a.substring(0,n));let t=a.indexOf("?");t>=0&&(i.search=a.substring(t),a=a.substring(0,t)),a&&(i.pathname=a)}return i}function VE(a,i,n,t={}){let{window:l=document.defaultView,v5Compat:s=!1}=t,c=l.history,d="POP",h=null,m=v();m==null&&(m=0,c.replaceState({...c.state,idx:m},""));function v(){return(c.state||{idx:null}).idx}function g(){d="POP";let C=v(),U=C==null?null:C-m;m=C,h&&h({action:d,location:R.location,delta:U})}function S(C,U){d="PUSH";let O=H2(R.location,C,U);m=v()+1;let Y=W4(O,m),K=R.createHref(O);try{c.pushState(Y,"",K)}catch(X){if(X instanceof DOMException&&X.name==="DataCloneError")throw X;l.location.assign(K)}s&&h&&h({action:d,location:R.location,delta:1})}function w(C,U){d="REPLACE";let O=H2(R.location,C,U);m=v();let Y=W4(O,m),K=R.createHref(O);c.replaceState(Y,"",K),s&&h&&h({action:d,location:R.location,delta:0})}function M(C){let U=l.location.origin!=="null"?l.location.origin:l.location.href,O=typeof C=="string"?C:Ls(C);return O=O.replace(/ $/,"%20"),It(U,`No window.location.(origin|href) available to create URL for href: ${O}`),new URL(O,U)}let R={get action(){return d},get location(){return a(l,c)},listen(C){if(h)throw new Error("A history only accepts one active listener");return l.addEventListener(V4,g),h=C,()=>{l.removeEventListener(V4,g),h=null}},createHref(C){return i(l,C)},createURL:M,encodeLocation(C){let U=M(C);return{pathname:U.pathname,search:U.search,hash:U.hash}},push:S,replace:w,go(C){return c.go(C)}};return R}function e8(a,i,n="/"){return WE(a,i,n,!1)}function WE(a,i,n,t){let l=typeof i=="string"?co(i):i,s=Fa(l.pathname||"/",n);if(s==null)return null;let c=t8(a);QE(c);let d=null;for(let h=0;d==null&&h<c.length;++h){let m=lw(s);d=aw(c[h],m,t)}return d}function t8(a,i=[],n=[],t=""){let l=(s,c,d)=>{let h={relativePath:d===void 0?s.path||"":d,caseSensitive:s.caseSensitive===!0,childrenIndex:c,route:s};h.relativePath.startsWith("/")&&(It(h.relativePath.startsWith(t),`Absolute route path "${h.relativePath}" nested under path "${t}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(t.length));let m=Ha([t,h.relativePath]),v=n.concat(h);s.children&&s.children.length>0&&(It(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),t8(s.children,i,v,m)),!(s.path==null&&!s.index)&&i.push({path:m,score:nw(m,s.index),routesMeta:v})};return a.forEach((s,c)=>{var d;if(s.path===""||!((d=s.path)!=null&&d.includes("?")))l(s,c);else for(let h of n8(s.path))l(s,c,h)}),i}function n8(a){let i=a.split("/");if(i.length===0)return[];let[n,...t]=i,l=n.endsWith("?"),s=n.replace(/\?$/,"");if(t.length===0)return l?[s,""]:[s];let c=n8(t.join("/")),d=[];return d.push(...c.map(h=>h===""?s:[s,h].join("/"))),l&&d.push(...c),d.map(h=>a.startsWith("/")&&h===""?"/":h)}function QE(a){a.sort((i,n)=>i.score!==n.score?n.score-i.score:rw(i.routesMeta.map(t=>t.childrenIndex),n.routesMeta.map(t=>t.childrenIndex)))}var KE=/^:[\w-]+$/,XE=3,$E=2,JE=1,ew=10,tw=-2,Q4=a=>a==="*";function nw(a,i){let n=a.split("/"),t=n.length;return n.some(Q4)&&(t+=tw),i&&(t+=$E),n.filter(l=>!Q4(l)).reduce((l,s)=>l+(KE.test(s)?XE:s===""?JE:ew),t)}function rw(a,i){return a.length===i.length&&a.slice(0,-1).every((t,l)=>t===i[l])?a[a.length-1]-i[i.length-1]:0}function aw(a,i,n=!1){let{routesMeta:t}=a,l={},s="/",c=[];for(let d=0;d<t.length;++d){let h=t[d],m=d===t.length-1,v=s==="/"?i:i.slice(s.length)||"/",g=Mc({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},v),S=h.route;if(!g&&m&&n&&!t[t.length-1].route.index&&(g=Mc({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},v)),!g)return null;Object.assign(l,g.params),c.push({params:l,pathname:Ha([s,g.pathname]),pathnameBase:cw(Ha([s,g.pathnameBase])),route:S}),g.pathnameBase!=="/"&&(s=Ha([s,g.pathnameBase]))}return c}function Mc(a,i){typeof a=="string"&&(a={path:a,caseSensitive:!1,end:!0});let[n,t]=iw(a.path,a.caseSensitive,a.end),l=i.match(n);if(!l)return null;let s=l[0],c=s.replace(/(.)\/+$/,"$1"),d=l.slice(1);return{params:t.reduce((m,{paramName:v,isOptional:g},S)=>{if(v==="*"){let M=d[S]||"";c=s.slice(0,s.length-M.length).replace(/(.)\/+$/,"$1")}const w=d[S];return g&&!w?m[v]=void 0:m[v]=(w||"").replace(/%2F/g,"/"),m},{}),pathname:s,pathnameBase:c,pattern:a}}function iw(a,i=!1,n=!0){Vr(a==="*"||!a.endsWith("*")||a.endsWith("/*"),`Route path "${a}" will be treated as if it were "${a.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${a.replace(/\*$/,"/*")}".`);let t=[],l="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,h)=>(t.push({paramName:d,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return a.endsWith("*")?(t.push({paramName:"*"}),l+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":a!==""&&a!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,i?void 0:"i"),t]}function lw(a){try{return a.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return Vr(!1,`The URL path "${a}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),a}}function Fa(a,i){if(i==="/")return a;if(!a.toLowerCase().startsWith(i.toLowerCase()))return null;let n=i.endsWith("/")?i.length-1:i.length,t=a.charAt(n);return t&&t!=="/"?null:a.slice(n)||"/"}function ow(a,i="/"){let{pathname:n,search:t="",hash:l=""}=typeof a=="string"?co(a):a;return{pathname:n?n.startsWith("/")?n:sw(n,i):i,search:fw(t),hash:dw(l)}}function sw(a,i){let n=i.replace(/\/+$/,"").split("/");return a.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function f1(a,i,n,t){return`Cannot include a '${a}' character in a manually specified \`to.${i}\` field [${JSON.stringify(t)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function uw(a){return a.filter((i,n)=>n===0||i.route.path&&i.route.path.length>0)}function sm(a){let i=uw(a);return i.map((n,t)=>t===i.length-1?n.pathname:n.pathnameBase)}function um(a,i,n,t=!1){let l;typeof a=="string"?l=co(a):(l={...a},It(!l.pathname||!l.pathname.includes("?"),f1("?","pathname","search",l)),It(!l.pathname||!l.pathname.includes("#"),f1("#","pathname","hash",l)),It(!l.search||!l.search.includes("#"),f1("#","search","hash",l)));let s=a===""||l.pathname==="",c=s?"/":l.pathname,d;if(c==null)d=n;else{let g=i.length-1;if(!t&&c.startsWith("..")){let S=c.split("/");for(;S[0]==="..";)S.shift(),g-=1;l.pathname=S.join("/")}d=g>=0?i[g]:"/"}let h=ow(l,d),m=c&&c!=="/"&&c.endsWith("/"),v=(s||c===".")&&n.endsWith("/");return!h.pathname.endsWith("/")&&(m||v)&&(h.pathname+="/"),h}var Ha=a=>a.join("/").replace(/\/\/+/g,"/"),cw=a=>a.replace(/\/+$/,"").replace(/^\/*/,"/"),fw=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,dw=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a;function hw(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}var r8=["POST","PUT","PATCH","DELETE"];new Set(r8);var pw=["GET",...r8];new Set(pw);var fo=y.createContext(null);fo.displayName="DataRouter";var Fc=y.createContext(null);Fc.displayName="DataRouterState";var a8=y.createContext({isTransitioning:!1});a8.displayName="ViewTransition";var mw=y.createContext(new Map);mw.displayName="Fetchers";var vw=y.createContext(null);vw.displayName="Await";var Qr=y.createContext(null);Qr.displayName="Navigation";var zs=y.createContext(null);zs.displayName="Location";var Kr=y.createContext({outlet:null,matches:[],isDataRoute:!1});Kr.displayName="Route";var cm=y.createContext(null);cm.displayName="RouteError";function gw(a,{relative:i}={}){It(ho(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:t}=y.useContext(Qr),{hash:l,pathname:s,search:c}=Ys(a,{relative:i}),d=s;return n!=="/"&&(d=s==="/"?n:Ha([n,s])),t.createHref({pathname:d,search:c,hash:l})}function ho(){return y.useContext(zs)!=null}function Ni(){return It(ho(),"useLocation() may be used only in the context of a <Router> component."),y.useContext(zs).location}var i8="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function l8(a){y.useContext(Qr).static||y.useLayoutEffect(a)}function cl(){let{isDataRoute:a}=y.useContext(Kr);return a?Cw():yw()}function yw(){It(ho(),"useNavigate() may be used only in the context of a <Router> component.");let a=y.useContext(fo),{basename:i,navigator:n}=y.useContext(Qr),{matches:t}=y.useContext(Kr),{pathname:l}=Ni(),s=JSON.stringify(sm(t)),c=y.useRef(!1);return l8(()=>{c.current=!0}),y.useCallback((h,m={})=>{if(Vr(c.current,i8),!c.current)return;if(typeof h=="number"){n.go(h);return}let v=um(h,JSON.parse(s),l,m.relative==="path");a==null&&i!=="/"&&(v.pathname=v.pathname==="/"?i:Ha([i,v.pathname])),(m.replace?n.replace:n.push)(v,m.state,m)},[i,n,s,l,a])}y.createContext(null);function o8(){let{matches:a}=y.useContext(Kr),i=a[a.length-1];return i?i.params:{}}function Ys(a,{relative:i}={}){let{matches:n}=y.useContext(Kr),{pathname:t}=Ni(),l=JSON.stringify(sm(n));return y.useMemo(()=>um(a,JSON.parse(l),t,i==="path"),[a,l,t,i])}function bw(a,i){return s8(a,i)}function s8(a,i,n,t){var O;It(ho(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:l,static:s}=y.useContext(Qr),{matches:c}=y.useContext(Kr),d=c[c.length-1],h=d?d.params:{},m=d?d.pathname:"/",v=d?d.pathnameBase:"/",g=d&&d.route;{let Y=g&&g.path||"";u8(m,!g||Y.endsWith("*")||Y.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${Y}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.

Please change the parent <Route path="${Y}"> to <Route path="${Y==="/"?"*":`${Y}/*`}">.`)}let S=Ni(),w;if(i){let Y=typeof i=="string"?co(i):i;It(v==="/"||((O=Y.pathname)==null?void 0:O.startsWith(v)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${v}" but pathname "${Y.pathname}" was given in the \`location\` prop.`),w=Y}else w=S;let M=w.pathname||"/",R=M;if(v!=="/"){let Y=v.replace(/^\//,"").split("/");R="/"+M.replace(/^\//,"").split("/").slice(Y.length).join("/")}let C=!s&&n&&n.matches&&n.matches.length>0?n.matches:e8(a,{pathname:R});Vr(g||C!=null,`No routes matched location "${w.pathname}${w.search}${w.hash}" `),Vr(C==null||C[C.length-1].route.element!==void 0||C[C.length-1].route.Component!==void 0||C[C.length-1].route.lazy!==void 0,`Matched leaf route at location "${w.pathname}${w.search}${w.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let U=Dw(C&&C.map(Y=>Object.assign({},Y,{params:Object.assign({},h,Y.params),pathname:Ha([v,l.encodeLocation?l.encodeLocation(Y.pathname).pathname:Y.pathname]),pathnameBase:Y.pathnameBase==="/"?v:Ha([v,l.encodeLocation?l.encodeLocation(Y.pathnameBase).pathname:Y.pathnameBase])})),c,n,t);return i&&U?y.createElement(zs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...w},navigationType:"POP"}},U):U}function _w(){let a=Aw(),i=hw(a)?`${a.status} ${a.statusText}`:a instanceof Error?a.message:JSON.stringify(a),n=a instanceof Error?a.stack:null,t="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:t},s={padding:"2px 4px",backgroundColor:t},c=null;return console.error("Error handled by React Router default ErrorBoundary:",a),c=y.createElement(y.Fragment,null,y.createElement("p",null,"💿 Hey developer 👋"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:s},"ErrorBoundary")," or"," ",y.createElement("code",{style:s},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},i),n?y.createElement("pre",{style:l},n):null,c)}var Sw=y.createElement(_w,null),Ew=class extends y.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,i){return i.location!==a.location||i.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:i.error,location:i.location,revalidation:a.revalidation||i.revalidation}}componentDidCatch(a,i){console.error("React Router caught the following error during render",a,i)}render(){return this.state.error!==void 0?y.createElement(Kr.Provider,{value:this.props.routeContext},y.createElement(cm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function ww({routeContext:a,match:i,children:n}){let t=y.useContext(fo);return t&&t.static&&t.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(t.staticContext._deepestRenderedBoundaryId=i.route.id),y.createElement(Kr.Provider,{value:a},n)}function Dw(a,i=[],n=null,t=null){if(a==null){if(!n)return null;if(n.errors)a=n.matches;else if(i.length===0&&!n.initialized&&n.matches.length>0)a=n.matches;else return null}let l=a,s=n==null?void 0:n.errors;if(s!=null){let h=l.findIndex(m=>m.route.id&&(s==null?void 0:s[m.route.id])!==void 0);It(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),l=l.slice(0,Math.min(l.length,h+1))}let c=!1,d=-1;if(n)for(let h=0;h<l.length;h++){let m=l[h];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(d=h),m.route.id){let{loaderData:v,errors:g}=n,S=m.route.loader&&!v.hasOwnProperty(m.route.id)&&(!g||g[m.route.id]===void 0);if(m.route.lazy||S){c=!0,d>=0?l=l.slice(0,d+1):l=[l[0]];break}}}return l.reduceRight((h,m,v)=>{let g,S=!1,w=null,M=null;n&&(g=s&&m.route.id?s[m.route.id]:void 0,w=m.route.errorElement||Sw,c&&(d<0&&v===0?(u8("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,M=null):d===v&&(S=!0,M=m.route.hydrateFallbackElement||null)));let R=i.concat(l.slice(0,v+1)),C=()=>{let U;return g?U=w:S?U=M:m.route.Component?U=y.createElement(m.route.Component,null):m.route.element?U=m.route.element:U=h,y.createElement(ww,{match:m,routeContext:{outlet:h,matches:R,isDataRoute:n!=null},children:U})};return n&&(m.route.ErrorBoundary||m.route.errorElement||v===0)?y.createElement(Ew,{location:n.location,revalidation:n.revalidation,component:w,error:g,children:C(),routeContext:{outlet:null,matches:R,isDataRoute:!0}}):C()},null)}function fm(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Tw(a){let i=y.useContext(fo);return It(i,fm(a)),i}function xw(a){let i=y.useContext(Fc);return It(i,fm(a)),i}function Mw(a){let i=y.useContext(Kr);return It(i,fm(a)),i}function dm(a){let i=Mw(a),n=i.matches[i.matches.length-1];return It(n.route.id,`${a} can only be used on routes that contain a unique "id"`),n.route.id}function Ow(){return dm("useRouteId")}function Aw(){var t;let a=y.useContext(cm),i=xw("useRouteError"),n=dm("useRouteError");return a!==void 0?a:(t=i.errors)==null?void 0:t[n]}function Cw(){let{router:a}=Tw("useNavigate"),i=dm("useNavigate"),n=y.useRef(!1);return l8(()=>{n.current=!0}),y.useCallback(async(l,s={})=>{Vr(n.current,i8),n.current&&(typeof l=="number"?a.navigate(l):await a.navigate(l,{fromRouteId:i,...s}))},[a,i])}var K4={};function u8(a,i,n){!i&&!K4[a]&&(K4[a]=!0,Vr(!1,n))}y.memo(Rw);function Rw({routes:a,future:i,state:n}){return s8(a,void 0,n,i)}function X4({to:a,replace:i,state:n,relative:t}){It(ho(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=y.useContext(Qr);Vr(!l,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:s}=y.useContext(Kr),{pathname:c}=Ni(),d=cl(),h=um(a,sm(s),c,t==="path"),m=JSON.stringify(h);return y.useEffect(()=>{d(JSON.parse(m),{replace:i,state:n,relative:t})},[d,m,t,i,n]),null}function hr(a){It(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Nw({basename:a="/",children:i=null,location:n,navigationType:t="POP",navigator:l,static:s=!1}){It(!ho(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=a.replace(/^\/*/,"/"),d=y.useMemo(()=>({basename:c,navigator:l,static:s,future:{}}),[c,l,s]);typeof n=="string"&&(n=co(n));let{pathname:h="/",search:m="",hash:v="",state:g=null,key:S="default"}=n,w=y.useMemo(()=>{let M=Fa(h,c);return M==null?null:{location:{pathname:M,search:m,hash:v,state:g,key:S},navigationType:t}},[c,h,m,v,g,S,t]);return Vr(w!=null,`<Router basename="${c}"> is not able to match the URL "${h}${m}${v}" because it does not start with the basename, so the <Router> won't render anything.`),w==null?null:y.createElement(Qr.Provider,{value:d},y.createElement(zs.Provider,{children:i,value:w}))}function P2({children:a,location:i}){return bw(z2(a),i)}function z2(a,i=[]){let n=[];return y.Children.forEach(a,(t,l)=>{if(!y.isValidElement(t))return;let s=[...i,l];if(t.type===y.Fragment){n.push.apply(n,z2(t.props.children,s));return}It(t.type===hr,`[${typeof t.type=="string"?t.type:t.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),It(!t.props.index||!t.props.children,"An index route cannot have child routes.");let c={id:t.props.id||s.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,hydrateFallbackElement:t.props.hydrateFallbackElement,HydrateFallback:t.props.HydrateFallback,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:t.props.hasErrorBoundary===!0||t.props.ErrorBoundary!=null||t.props.errorElement!=null,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(c.children=z2(t.props.children,s)),n.push(c)}),n}var mc="get",vc="application/x-www-form-urlencoded";function Gc(a){return a!=null&&typeof a.tagName=="string"}function kw(a){return Gc(a)&&a.tagName.toLowerCase()==="button"}function Lw(a){return Gc(a)&&a.tagName.toLowerCase()==="form"}function qw(a){return Gc(a)&&a.tagName.toLowerCase()==="input"}function Uw(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function Hw(a,i){return a.button===0&&(!i||i==="_self")&&!Uw(a)}var rc=null;function Pw(){if(rc===null)try{new FormData(document.createElement("form"),0),rc=!1}catch{rc=!0}return rc}var zw=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function d1(a){return a!=null&&!zw.has(a)?(Vr(!1,`"${a}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${vc}"`),null):a}function Yw(a,i){let n,t,l,s,c;if(Lw(a)){let d=a.getAttribute("action");t=d?Fa(d,i):null,n=a.getAttribute("method")||mc,l=d1(a.getAttribute("enctype"))||vc,s=new FormData(a)}else if(kw(a)||qw(a)&&(a.type==="submit"||a.type==="image")){let d=a.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=a.getAttribute("formaction")||d.getAttribute("action");if(t=h?Fa(h,i):null,n=a.getAttribute("formmethod")||d.getAttribute("method")||mc,l=d1(a.getAttribute("formenctype"))||d1(d.getAttribute("enctype"))||vc,s=new FormData(d,a),!Pw()){let{name:m,type:v,value:g}=a;if(v==="image"){let S=m?`${m}.`:"";s.append(`${S}x`,"0"),s.append(`${S}y`,"0")}else m&&s.append(m,g)}}else{if(Gc(a))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=mc,t=null,l=vc,c=a}return s&&l==="text/plain"&&(c=s,s=void 0),{action:t,method:n.toLowerCase(),encType:l,formData:s,body:c}}function hm(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}async function jw(a,i){if(a.id in i)return i[a.id];try{let n=await import(a.module);return i[a.id]=n,n}catch(n){return console.error(`Error loading route module \`${a.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Bw(a){return a==null?!1:a.href==null?a.rel==="preload"&&typeof a.imageSrcSet=="string"&&typeof a.imageSizes=="string":typeof a.rel=="string"&&typeof a.href=="string"}async function Iw(a,i,n){let t=await Promise.all(a.map(async l=>{let s=i.routes[l.route.id];if(s){let c=await jw(s,n);return c.links?c.links():[]}return[]}));return Vw(t.flat(1).filter(Bw).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function $4(a,i,n,t,l,s){let c=(h,m)=>n[m]?h.route.id!==n[m].route.id:!0,d=(h,m)=>{var v;return n[m].pathname!==h.pathname||((v=n[m].route.path)==null?void 0:v.endsWith("*"))&&n[m].params["*"]!==h.params["*"]};return s==="assets"?i.filter((h,m)=>c(h,m)||d(h,m)):s==="data"?i.filter((h,m)=>{var g;let v=t.routes[h.route.id];if(!v||!v.hasLoader)return!1;if(c(h,m)||d(h,m))return!0;if(h.route.shouldRevalidate){let S=h.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:((g=n[0])==null?void 0:g.params)||{},nextUrl:new URL(a,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof S=="boolean")return S}return!0}):[]}function Fw(a,i,{includeHydrateFallback:n}={}){return Gw(a.map(t=>{let l=i.routes[t.route.id];if(!l)return[];let s=[l.module];return l.clientActionModule&&(s=s.concat(l.clientActionModule)),l.clientLoaderModule&&(s=s.concat(l.clientLoaderModule)),n&&l.hydrateFallbackModule&&(s=s.concat(l.hydrateFallbackModule)),l.imports&&(s=s.concat(l.imports)),s}).flat(1))}function Gw(a){return[...new Set(a)]}function Zw(a){let i={},n=Object.keys(a).sort();for(let t of n)i[t]=a[t];return i}function Vw(a,i){let n=new Set;return new Set(i),a.reduce((t,l)=>{let s=JSON.stringify(Zw(l));return n.has(s)||(n.add(s),t.push({key:s,link:l})),t},[])}var Ww=new Set([100,101,204,205]);function Qw(a,i){let n=typeof a=="string"?new URL(a,typeof window>"u"?"server://singlefetch/":window.location.origin):a;return n.pathname==="/"?n.pathname="_root.data":i&&Fa(n.pathname,i)==="/"?n.pathname=`${i.replace(/\/$/,"")}/_root.data`:n.pathname=`${n.pathname.replace(/\/$/,"")}.data`,n}function c8(){let a=y.useContext(fo);return hm(a,"You must render this element inside a <DataRouterContext.Provider> element"),a}function Kw(){let a=y.useContext(Fc);return hm(a,"You must render this element inside a <DataRouterStateContext.Provider> element"),a}var pm=y.createContext(void 0);pm.displayName="FrameworkContext";function f8(){let a=y.useContext(pm);return hm(a,"You must render this element inside a <HydratedRouter> element"),a}function Xw(a,i){let n=y.useContext(pm),[t,l]=y.useState(!1),[s,c]=y.useState(!1),{onFocus:d,onBlur:h,onMouseEnter:m,onMouseLeave:v,onTouchStart:g}=i,S=y.useRef(null);y.useEffect(()=>{if(a==="render"&&c(!0),a==="viewport"){let R=U=>{U.forEach(O=>{c(O.isIntersecting)})},C=new IntersectionObserver(R,{threshold:.5});return S.current&&C.observe(S.current),()=>{C.disconnect()}}},[a]),y.useEffect(()=>{if(t){let R=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(R)}}},[t]);let w=()=>{l(!0)},M=()=>{l(!1),c(!1)};return n?a!=="intent"?[s,S,{}]:[s,S,{onFocus:gs(d,w),onBlur:gs(h,M),onMouseEnter:gs(m,w),onMouseLeave:gs(v,M),onTouchStart:gs(g,w)}]:[!1,S,{}]}function gs(a,i){return n=>{a&&a(n),n.defaultPrevented||i(n)}}function $w({page:a,...i}){let{router:n}=c8(),t=y.useMemo(()=>e8(n.routes,a,n.basename),[n.routes,a,n.basename]);return t?y.createElement(eD,{page:a,matches:t,...i}):null}function Jw(a){let{manifest:i,routeModules:n}=f8(),[t,l]=y.useState([]);return y.useEffect(()=>{let s=!1;return Iw(a,i,n).then(c=>{s||l(c)}),()=>{s=!0}},[a,i,n]),t}function eD({page:a,matches:i,...n}){let t=Ni(),{manifest:l,routeModules:s}=f8(),{basename:c}=c8(),{loaderData:d,matches:h}=Kw(),m=y.useMemo(()=>$4(a,i,h,l,t,"data"),[a,i,h,l,t]),v=y.useMemo(()=>$4(a,i,h,l,t,"assets"),[a,i,h,l,t]),g=y.useMemo(()=>{if(a===t.pathname+t.search+t.hash)return[];let M=new Set,R=!1;if(i.forEach(U=>{var Y;let O=l.routes[U.route.id];!O||!O.hasLoader||(!m.some(K=>K.route.id===U.route.id)&&U.route.id in d&&((Y=s[U.route.id])!=null&&Y.shouldRevalidate)||O.hasClientLoader?R=!0:M.add(U.route.id))}),M.size===0)return[];let C=Qw(a,c);return R&&M.size>0&&C.searchParams.set("_routes",i.filter(U=>M.has(U.route.id)).map(U=>U.route.id).join(",")),[C.pathname+C.search]},[c,d,t,l,m,i,a,s]),S=y.useMemo(()=>Fw(v,l),[v,l]),w=Jw(v);return y.createElement(y.Fragment,null,g.map(M=>y.createElement("link",{key:M,rel:"prefetch",as:"fetch",href:M,...n})),S.map(M=>y.createElement("link",{key:M,rel:"modulepreload",href:M,...n})),w.map(({key:M,link:R})=>y.createElement("link",{key:M,...R})))}function tD(...a){return i=>{a.forEach(n=>{typeof n=="function"?n(i):n!=null&&(n.current=i)})}}var d8=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{d8&&(window.__reactRouterVersion="7.5.2")}catch{}function nD({basename:a,children:i,window:n}){let t=y.useRef();t.current==null&&(t.current=GE({window:n,v5Compat:!0}));let l=t.current,[s,c]=y.useState({action:l.action,location:l.location}),d=y.useCallback(h=>{y.startTransition(()=>c(h))},[c]);return y.useLayoutEffect(()=>l.listen(d),[l,d]),y.createElement(Nw,{basename:a,children:i,location:s.location,navigationType:s.action,navigator:l})}var h8=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,mm=y.forwardRef(function({onClick:i,discover:n="render",prefetch:t="none",relative:l,reloadDocument:s,replace:c,state:d,target:h,to:m,preventScrollReset:v,viewTransition:g,...S},w){let{basename:M}=y.useContext(Qr),R=typeof m=="string"&&h8.test(m),C,U=!1;if(typeof m=="string"&&R&&(C=m,d8))try{let E=new URL(window.location.href),D=m.startsWith("//")?new URL(E.protocol+m):new URL(m),q=Fa(D.pathname,M);D.origin===E.origin&&q!=null?m=q+D.search+D.hash:U=!0}catch{Vr(!1,`<Link to="${m}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let O=gw(m,{relative:l}),[Y,K,X]=Xw(t,S),re=lD(m,{replace:c,state:d,target:h,preventScrollReset:v,relative:l,viewTransition:g});function V(E){i&&i(E),E.defaultPrevented||re(E)}let _=y.createElement("a",{...S,...X,href:C||O,onClick:U||s?i:V,ref:tD(w,K),target:h,"data-discover":!R&&n==="render"?"true":void 0});return Y&&!R?y.createElement(y.Fragment,null,_,y.createElement($w,{page:O})):_});mm.displayName="Link";var rD=y.forwardRef(function({"aria-current":i="page",caseSensitive:n=!1,className:t="",end:l=!1,style:s,to:c,viewTransition:d,children:h,...m},v){let g=Ys(c,{relative:m.relative}),S=Ni(),w=y.useContext(Fc),{navigator:M,basename:R}=y.useContext(Qr),C=w!=null&&fD(g)&&d===!0,U=M.encodeLocation?M.encodeLocation(g).pathname:g.pathname,O=S.pathname,Y=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;n||(O=O.toLowerCase(),Y=Y?Y.toLowerCase():null,U=U.toLowerCase()),Y&&R&&(Y=Fa(Y,R)||Y);const K=U!=="/"&&U.endsWith("/")?U.length-1:U.length;let X=O===U||!l&&O.startsWith(U)&&O.charAt(K)==="/",re=Y!=null&&(Y===U||!l&&Y.startsWith(U)&&Y.charAt(U.length)==="/"),V={isActive:X,isPending:re,isTransitioning:C},_=X?i:void 0,E;typeof t=="function"?E=t(V):E=[t,X?"active":null,re?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let D=typeof s=="function"?s(V):s;return y.createElement(mm,{...m,"aria-current":_,className:E,ref:v,style:D,to:c,viewTransition:d},typeof h=="function"?h(V):h)});rD.displayName="NavLink";var aD=y.forwardRef(({discover:a="render",fetcherKey:i,navigate:n,reloadDocument:t,replace:l,state:s,method:c=mc,action:d,onSubmit:h,relative:m,preventScrollReset:v,viewTransition:g,...S},w)=>{let M=uD(),R=cD(d,{relative:m}),C=c.toLowerCase()==="get"?"get":"post",U=typeof d=="string"&&h8.test(d),O=Y=>{if(h&&h(Y),Y.defaultPrevented)return;Y.preventDefault();let K=Y.nativeEvent.submitter,X=(K==null?void 0:K.getAttribute("formmethod"))||c;M(K||Y.currentTarget,{fetcherKey:i,method:X,navigate:n,replace:l,state:s,relative:m,preventScrollReset:v,viewTransition:g})};return y.createElement("form",{ref:w,method:C,action:R,onSubmit:t?h:O,...S,"data-discover":!U&&a==="render"?"true":void 0})});aD.displayName="Form";function iD(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function p8(a){let i=y.useContext(fo);return It(i,iD(a)),i}function lD(a,{target:i,replace:n,state:t,preventScrollReset:l,relative:s,viewTransition:c}={}){let d=cl(),h=Ni(),m=Ys(a,{relative:s});return y.useCallback(v=>{if(Hw(v,i)){v.preventDefault();let g=n!==void 0?n:Ls(h)===Ls(m);d(a,{replace:g,state:t,preventScrollReset:l,relative:s,viewTransition:c})}},[h,d,m,n,t,i,a,l,s,c])}var oD=0,sD=()=>`__${String(++oD)}__`;function uD(){let{router:a}=p8("useSubmit"),{basename:i}=y.useContext(Qr),n=Ow();return y.useCallback(async(t,l={})=>{let{action:s,method:c,encType:d,formData:h,body:m}=Yw(t,i);if(l.navigate===!1){let v=l.fetcherKey||sD();await a.fetch(v,n,l.action||s,{preventScrollReset:l.preventScrollReset,formData:h,body:m,formMethod:l.method||c,formEncType:l.encType||d,flushSync:l.flushSync})}else await a.navigate(l.action||s,{preventScrollReset:l.preventScrollReset,formData:h,body:m,formMethod:l.method||c,formEncType:l.encType||d,replace:l.replace,state:l.state,fromRouteId:n,flushSync:l.flushSync,viewTransition:l.viewTransition})},[a,i,n])}function cD(a,{relative:i}={}){let{basename:n}=y.useContext(Qr),t=y.useContext(Kr);It(t,"useFormAction must be used inside a RouteContext");let[l]=t.matches.slice(-1),s={...Ys(a||".",{relative:i})},c=Ni();if(a==null){s.search=c.search;let d=new URLSearchParams(s.search),h=d.getAll("index");if(h.some(v=>v==="")){d.delete("index"),h.filter(g=>g).forEach(g=>d.append("index",g));let v=d.toString();s.search=v?`?${v}`:""}}return(!a||a===".")&&l.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(s.pathname=s.pathname==="/"?n:Ha([n,s.pathname])),Ls(s)}function fD(a,i={}){let n=y.useContext(a8);It(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:t}=p8("useViewTransitionState"),l=Ys(a,{relative:i.relative});if(!n.isTransitioning)return!1;let s=Fa(n.currentLocation.pathname,t)||n.currentLocation.pathname,c=Fa(n.nextLocation.pathname,t)||n.nextLocation.pathname;return Mc(l.pathname,c)!=null||Mc(l.pathname,s)!=null}new TextEncoder;[...Ww];var m8=k9();const dD=mr(m8),hD={code:"EN",name:"English",languages:{language:"Language",en:"English",nl:"Dutch"},landing:{header:{title:"ServiceDesk",subTitle:"Hello {{name}}",login:"Log in",sup:"EduID ServiceDesk is by invitation only."},works:"How does it work?",adminFunction:"Employee",studentFunction:"Student",info:[["Security","<p>EduID ServiceDesk is a secure platform designed to validate the identity of students who have applied for an identity check. This service ensures compliance with formal identification standards while providing a user-friendly process for employees and students.</p>",!0],["Compliance","<p>Built to adhere to formal identification regulations and ensure accuracy in identity verification. Reduces errors through a structured and step-by-step validation process</p>",!0],["Authentication","<p>Employees initiate the verification process using a unique code sent to the student via email. The system ensures that only students with valid application codes can proceed with the identity check.</p><br/>",!1]],footer:"<p>The eduID ServiceDesk simplifies the identity verification process, ensuring security and efficiency.</p><p>Do you want to know more? <a href='https://support.surfconext.nl/servicedesk-en'>Read more</a>.</p>"},header:{title:"ServiceDesk eduID",links:{logout:"Logout"}},serviceDesk:{member:"ServiceDesk member"},tabs:{home:"Home",verify:"Identity check"},verification:{header:"Enter the verification code",proceed:"Continue",error:"No user found for verification code {{code}}",info:"The person generated this code in eduID.",flash:"Verification code found for user {{name}}"},control:{header:"Verification code ",restart:"Start again",proceed:"Ready",error:"An unexpected error has occurred. Please contact <a href='mailto:servicedesk@surf.nl?subject=Reference {{reference}}'>SURF ServiceDesk</a>",info:"Check this person’s ID",validDocuments:"Valid documents: passports, EEA ID cards, Dutch driving licenses and Dutch residence permits",inValidDocuments:"Copies, public transport tickets and student cards are not valid documents",isValid:"Is everything correct?",validations:{photo:"The person <span>looks like the photo</span> in the document",valid:"The document is <span>still valid</span>",lastName:"The last name in the document: <span>{{lastName}}</span>",firstName:"The first names in the document: <span>{{firstName}}</span>",dayOfBirth:"The date of birth in the document: <span>{{dayOfBirth}}</span> "},invalidDate:"The day of birth has an invalid format, first select the correct date by pressing the calendar button at the right",validDate:"The day of birth is now valid and can be confirmed",idDocument:"Fill in the <span>last 6 characters</span> of the ID document"},forbidden:{info:"Unfortunately you do not have access to the ServiceDesk. If you logout, you can try again with a different account.",logout:"Logout"},confirmation:{header:"The identity of the person has been confirmed",info:"From now on, the person will see a check mark in front of the personal data in eduID",restart:"Back to home"},footer:{terms:"Terms of Use",termsLink:"https://support.surfconext.nl/terms-en",privacy:"Privacy policy",privacyLink:"https://support.surfconext.nl/privacy-en",surfLink:"https://surf.nl",select_locale:"Select your preferred language"}},pD={code:"NL",name:"Nederlands",languages:{language:"Language",en:"Engels",nl:"Nederlands"},landing:{header:{title:"ServiceDesk",subTitle:"",login:"Log in",sup:"EduID ServiceDesk is alleen op uitnodiging beschikbaar."},works:"Hoe werkt het?",adminFunction:"Medewerker",studentFunction:"Student",info:[["Beveiliging","<p>EduID ServiceDesk is een beveiligd platform ontworpen om de identiteit te valideren van studenten die een identiteitscontrole hebben aangevraagd. Deze dienst waarborgt naleving van formele identificatienormen en biedt tegelijkertijd een gebruiksvriendelijk proces voor medewerkers en studenten. </p>",!0],["Compliance","<p>Gebouwd om te voldoen aan de formele identificatievoorschriften en nauwkeurigheid bij identiteitsverificatie te garanderen. Vermindert fouten door een gestructureerd en stapsgewijs validatieproces</p>",!0],["Authenticatie","<p>Medewerkers initiëren het verificatieproces met behulp van een unieke code die via e-mail naar de student wordt verzonden. Het systeem zorgt ervoor dat alleen studenten met geldige aanmeldingscodes door kunnen gaan met de identiteitscontrole.</p><br/> ",!1]],footer:"<p>De eduID ServiceDesk vereenvoudigt het identiteitsverificatieproces en zorgt voor veiligheid en efficiëntie.</p><p>Wil je meer weten? <a href='https://support.surfconext.nl/servicedesk-nl'>Lees verder</a>.</p>"},header:{title:"EduID ServiceDesk",links:{logout:"Logout"}},serviceDesk:{member:"ServiceDesk lid"},tabs:{home:"Home",verify:"Identiteitscontrole"},verification:{header:"Vul de controlecode in",proceed:"Ga verder",error:"Geen gebruiker gevonden voor de verificatiecode {{code}}",info:"Deze code heeft de persoon gegenereerd in eduID",flash:"Verificatie code gevonden voor gebruiker {{name}}"},control:{header:"Identiteitscontrole voor code: ",restart:"Start opnieuw",proceed:"Klaar",error:"Er is een onverwachte fout opgetreden. Neem dan contact op met <a href='mailto:servicedesk@surf.nl>?subject=Referentie {{reference}}'>SURF ServiceDesk</a>",info:"Controleer het identiteitsbewijs van deze persoon",validDocuments:"Geldige documenten: paspoorten, EER ID-kaarten, Nederlandse rijbewijzen en Nederlandse verblijfsvergunningen",inValidDocuments:"Kopieën, OV-kaarten en studentenkaarten zijn geen geldige documenten",isValid:"Klopt dit allemaal?",validations:{photo:"De persoon <span>lijkt op de foto</span> in het document",valid:"Het document is <span>nog geldig</span>",lastName:"De achternaam in het document: <span>{{lastName}}</span>",firstName:"De voornamen in het document: <span>{{firstName}}</span>",dayOfBirth:"De geboortedatum in het document: <span>{{dayOfBirth}}</span>"},invalidDate:"De geboortedatum heeft een ongeldig formaat, selecteer eerst de juiste geboortedatum door op de kalendar knop rechts te drukken",validDate:"De geboortedatum is nu correct en kan worden bevestigd",idDocument:"Vul de <span>laatste 6 karakters</span> van het document in"},forbidden:{info:"Helaas heb je geen toegang tot de ServiceDesk. Als je uitlogt, dan kan je het opnieuw proberen met een andere account",logout:"Uitloggen"},confirmation:{header:"De identiteit van de persoon is bevestigd",info:"De persoon ziet vanaf nu in eduID een vinkje voor de persoonsgegevens",restart:"Terug naar home"},footer:{terms:"Gebruiksvoorwaarden",termsLink:"https://support.surfconext.nl/terms-nl",privacy:"Privacybeleid",privacyLink:"https://support.surfconext.nl/privacy-nl",surfLink:"https://surf.nl",select_locale:"Kies jouw taal"}};var h1,J4;function Xr(){if(J4)return h1;J4=1;var a=Array.isArray;return h1=a,h1}var p1,eg;function v8(){if(eg)return p1;eg=1;var a=typeof ec=="object"&&ec&&ec.Object===Object&&ec;return p1=a,p1}var m1,tg;function ga(){if(tg)return m1;tg=1;var a=v8(),i=typeof self=="object"&&self&&self.Object===Object&&self,n=a||i||Function("return this")();return m1=n,m1}var v1,ng;function js(){if(ng)return v1;ng=1;var a=ga(),i=a.Symbol;return v1=i,v1}var g1,rg;function mD(){if(rg)return g1;rg=1;var a=js(),i=Object.prototype,n=i.hasOwnProperty,t=i.toString,l=a?a.toStringTag:void 0;function s(c){var d=n.call(c,l),h=c[l];try{c[l]=void 0;var m=!0}catch{}var v=t.call(c);return m&&(d?c[l]=h:delete c[l]),v}return g1=s,g1}var y1,ag;function vD(){if(ag)return y1;ag=1;var a=Object.prototype,i=a.toString;function n(t){return i.call(t)}return y1=n,y1}var b1,ig;function po(){if(ig)return b1;ig=1;var a=js(),i=mD(),n=vD(),t="[object Null]",l="[object Undefined]",s=a?a.toStringTag:void 0;function c(d){return d==null?d===void 0?l:t:s&&s in Object(d)?i(d):n(d)}return b1=c,b1}var _1,lg;function fl(){if(lg)return _1;lg=1;function a(i){return i!=null&&typeof i=="object"}return _1=a,_1}var S1,og;function Bs(){if(og)return S1;og=1;var a=po(),i=fl(),n="[object Symbol]";function t(l){return typeof l=="symbol"||i(l)&&a(l)==n}return S1=t,S1}var E1,sg;function vm(){if(sg)return E1;sg=1;var a=Xr(),i=Bs(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,t=/^\w*$/;function l(s,c){if(a(s))return!1;var d=typeof s;return d=="number"||d=="symbol"||d=="boolean"||s==null||i(s)?!0:t.test(s)||!n.test(s)||c!=null&&s in Object(c)}return E1=l,E1}var w1,ug;function Za(){if(ug)return w1;ug=1;function a(i){var n=typeof i;return i!=null&&(n=="object"||n=="function")}return w1=a,w1}var D1,cg;function gm(){if(cg)return D1;cg=1;var a=po(),i=Za(),n="[object AsyncFunction]",t="[object Function]",l="[object GeneratorFunction]",s="[object Proxy]";function c(d){if(!i(d))return!1;var h=a(d);return h==t||h==l||h==n||h==s}return D1=c,D1}var T1,fg;function gD(){if(fg)return T1;fg=1;var a=ga(),i=a["__core-js_shared__"];return T1=i,T1}var x1,dg;function yD(){if(dg)return x1;dg=1;var a=gD(),i=function(){var t=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function n(t){return!!i&&i in t}return x1=n,x1}var M1,hg;function g8(){if(hg)return M1;hg=1;var a=Function.prototype,i=a.toString;function n(t){if(t!=null){try{return i.call(t)}catch{}try{return t+""}catch{}}return""}return M1=n,M1}var O1,pg;function bD(){if(pg)return O1;pg=1;var a=gm(),i=yD(),n=Za(),t=g8(),l=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,d=Object.prototype,h=c.toString,m=d.hasOwnProperty,v=RegExp("^"+h.call(m).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function g(S){if(!n(S)||i(S))return!1;var w=a(S)?v:s;return w.test(t(S))}return O1=g,O1}var A1,mg;function _D(){if(mg)return A1;mg=1;function a(i,n){return i==null?void 0:i[n]}return A1=a,A1}var C1,vg;function dl(){if(vg)return C1;vg=1;var a=bD(),i=_D();function n(t,l){var s=i(t,l);return a(s)?s:void 0}return C1=n,C1}var R1,gg;function Zc(){if(gg)return R1;gg=1;var a=dl(),i=a(Object,"create");return R1=i,R1}var N1,yg;function SD(){if(yg)return N1;yg=1;var a=Zc();function i(){this.__data__=a?a(null):{},this.size=0}return N1=i,N1}var k1,bg;function ED(){if(bg)return k1;bg=1;function a(i){var n=this.has(i)&&delete this.__data__[i];return this.size-=n?1:0,n}return k1=a,k1}var L1,_g;function wD(){if(_g)return L1;_g=1;var a=Zc(),i="__lodash_hash_undefined__",n=Object.prototype,t=n.hasOwnProperty;function l(s){var c=this.__data__;if(a){var d=c[s];return d===i?void 0:d}return t.call(c,s)?c[s]:void 0}return L1=l,L1}var q1,Sg;function DD(){if(Sg)return q1;Sg=1;var a=Zc(),i=Object.prototype,n=i.hasOwnProperty;function t(l){var s=this.__data__;return a?s[l]!==void 0:n.call(s,l)}return q1=t,q1}var U1,Eg;function TD(){if(Eg)return U1;Eg=1;var a=Zc(),i="__lodash_hash_undefined__";function n(t,l){var s=this.__data__;return this.size+=this.has(t)?0:1,s[t]=a&&l===void 0?i:l,this}return U1=n,U1}var H1,wg;function xD(){if(wg)return H1;wg=1;var a=SD(),i=ED(),n=wD(),t=DD(),l=TD();function s(c){var d=-1,h=c==null?0:c.length;for(this.clear();++d<h;){var m=c[d];this.set(m[0],m[1])}}return s.prototype.clear=a,s.prototype.delete=i,s.prototype.get=n,s.prototype.has=t,s.prototype.set=l,H1=s,H1}var P1,Dg;function MD(){if(Dg)return P1;Dg=1;function a(){this.__data__=[],this.size=0}return P1=a,P1}var z1,Tg;function Is(){if(Tg)return z1;Tg=1;function a(i,n){return i===n||i!==i&&n!==n}return z1=a,z1}var Y1,xg;function Vc(){if(xg)return Y1;xg=1;var a=Is();function i(n,t){for(var l=n.length;l--;)if(a(n[l][0],t))return l;return-1}return Y1=i,Y1}var j1,Mg;function OD(){if(Mg)return j1;Mg=1;var a=Vc(),i=Array.prototype,n=i.splice;function t(l){var s=this.__data__,c=a(s,l);if(c<0)return!1;var d=s.length-1;return c==d?s.pop():n.call(s,c,1),--this.size,!0}return j1=t,j1}var B1,Og;function AD(){if(Og)return B1;Og=1;var a=Vc();function i(n){var t=this.__data__,l=a(t,n);return l<0?void 0:t[l][1]}return B1=i,B1}var I1,Ag;function CD(){if(Ag)return I1;Ag=1;var a=Vc();function i(n){return a(this.__data__,n)>-1}return I1=i,I1}var F1,Cg;function RD(){if(Cg)return F1;Cg=1;var a=Vc();function i(n,t){var l=this.__data__,s=a(l,n);return s<0?(++this.size,l.push([n,t])):l[s][1]=t,this}return F1=i,F1}var G1,Rg;function Wc(){if(Rg)return G1;Rg=1;var a=MD(),i=OD(),n=AD(),t=CD(),l=RD();function s(c){var d=-1,h=c==null?0:c.length;for(this.clear();++d<h;){var m=c[d];this.set(m[0],m[1])}}return s.prototype.clear=a,s.prototype.delete=i,s.prototype.get=n,s.prototype.has=t,s.prototype.set=l,G1=s,G1}var Z1,Ng;function ym(){if(Ng)return Z1;Ng=1;var a=dl(),i=ga(),n=a(i,"Map");return Z1=n,Z1}var V1,kg;function ND(){if(kg)return V1;kg=1;var a=xD(),i=Wc(),n=ym();function t(){this.size=0,this.__data__={hash:new a,map:new(n||i),string:new a}}return V1=t,V1}var W1,Lg;function kD(){if(Lg)return W1;Lg=1;function a(i){var n=typeof i;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?i!=="__proto__":i===null}return W1=a,W1}var Q1,qg;function Qc(){if(qg)return Q1;qg=1;var a=kD();function i(n,t){var l=n.__data__;return a(t)?l[typeof t=="string"?"string":"hash"]:l.map}return Q1=i,Q1}var K1,Ug;function LD(){if(Ug)return K1;Ug=1;var a=Qc();function i(n){var t=a(this,n).delete(n);return this.size-=t?1:0,t}return K1=i,K1}var X1,Hg;function qD(){if(Hg)return X1;Hg=1;var a=Qc();function i(n){return a(this,n).get(n)}return X1=i,X1}var $1,Pg;function UD(){if(Pg)return $1;Pg=1;var a=Qc();function i(n){return a(this,n).has(n)}return $1=i,$1}var J1,zg;function HD(){if(zg)return J1;zg=1;var a=Qc();function i(n,t){var l=a(this,n),s=l.size;return l.set(n,t),this.size+=l.size==s?0:1,this}return J1=i,J1}var e0,Yg;function bm(){if(Yg)return e0;Yg=1;var a=ND(),i=LD(),n=qD(),t=UD(),l=HD();function s(c){var d=-1,h=c==null?0:c.length;for(this.clear();++d<h;){var m=c[d];this.set(m[0],m[1])}}return s.prototype.clear=a,s.prototype.delete=i,s.prototype.get=n,s.prototype.has=t,s.prototype.set=l,e0=s,e0}var t0,jg;function PD(){if(jg)return t0;jg=1;var a=bm(),i="Expected a function";function n(t,l){if(typeof t!="function"||l!=null&&typeof l!="function")throw new TypeError(i);var s=function(){var c=arguments,d=l?l.apply(this,c):c[0],h=s.cache;if(h.has(d))return h.get(d);var m=t.apply(this,c);return s.cache=h.set(d,m)||h,m};return s.cache=new(n.Cache||a),s}return n.Cache=a,t0=n,t0}var n0,Bg;function zD(){if(Bg)return n0;Bg=1;var a=PD(),i=500;function n(t){var l=a(t,function(c){return s.size===i&&s.clear(),c}),s=l.cache;return l}return n0=n,n0}var r0,Ig;function YD(){if(Ig)return r0;Ig=1;var a=zD(),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,t=a(function(l){var s=[];return l.charCodeAt(0)===46&&s.push(""),l.replace(i,function(c,d,h,m){s.push(h?m.replace(n,"$1"):d||c)}),s});return r0=t,r0}var a0,Fg;function y8(){if(Fg)return a0;Fg=1;function a(i,n){for(var t=-1,l=i==null?0:i.length,s=Array(l);++t<l;)s[t]=n(i[t],t,i);return s}return a0=a,a0}var i0,Gg;function jD(){if(Gg)return i0;Gg=1;var a=js(),i=y8(),n=Xr(),t=Bs(),l=a?a.prototype:void 0,s=l?l.toString:void 0;function c(d){if(typeof d=="string")return d;if(n(d))return i(d,c)+"";if(t(d))return s?s.call(d):"";var h=d+"";return h=="0"&&1/d==-1/0?"-0":h}return i0=c,i0}var l0,Zg;function mo(){if(Zg)return l0;Zg=1;var a=jD();function i(n){return n==null?"":a(n)}return l0=i,l0}var o0,Vg;function b8(){if(Vg)return o0;Vg=1;var a=Xr(),i=vm(),n=YD(),t=mo();function l(s,c){return a(s)?s:i(s,c)?[s]:n(t(s))}return o0=l,o0}var s0,Wg;function Kc(){if(Wg)return s0;Wg=1;var a=Bs();function i(n){if(typeof n=="string"||a(n))return n;var t=n+"";return t=="0"&&1/n==-1/0?"-0":t}return s0=i,s0}var u0,Qg;function _m(){if(Qg)return u0;Qg=1;var a=b8(),i=Kc();function n(t,l){l=a(l,t);for(var s=0,c=l.length;t!=null&&s<c;)t=t[i(l[s++])];return s&&s==c?t:void 0}return u0=n,u0}var c0,Kg;function _8(){if(Kg)return c0;Kg=1;var a=_m();function i(n,t,l){var s=n==null?void 0:a(n,t);return s===void 0?l:s}return c0=i,c0}var BD=_8();const ID=mr(BD);var f0,Xg;function FD(){if(Xg)return f0;Xg=1;var a=Object.prototype,i=a.hasOwnProperty;function n(t,l){return t!=null&&i.call(t,l)}return f0=n,f0}var d0,$g;function GD(){if($g)return d0;$g=1;var a=po(),i=fl(),n="[object Arguments]";function t(l){return i(l)&&a(l)==n}return d0=t,d0}var h0,Jg;function Xc(){if(Jg)return h0;Jg=1;var a=GD(),i=fl(),n=Object.prototype,t=n.hasOwnProperty,l=n.propertyIsEnumerable,s=a(function(){return arguments}())?a:function(c){return i(c)&&t.call(c,"callee")&&!l.call(c,"callee")};return h0=s,h0}var p0,e5;function Sm(){if(e5)return p0;e5=1;var a=9007199254740991,i=/^(?:0|[1-9]\d*)$/;function n(t,l){var s=typeof t;return l=l??a,!!l&&(s=="number"||s!="symbol"&&i.test(t))&&t>-1&&t%1==0&&t<l}return p0=n,p0}var m0,t5;function Em(){if(t5)return m0;t5=1;var a=9007199254740991;function i(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=a}return m0=i,m0}var v0,n5;function S8(){if(n5)return v0;n5=1;var a=b8(),i=Xc(),n=Xr(),t=Sm(),l=Em(),s=Kc();function c(d,h,m){h=a(h,d);for(var v=-1,g=h.length,S=!1;++v<g;){var w=s(h[v]);if(!(S=d!=null&&m(d,w)))break;d=d[w]}return S||++v!=g?S:(g=d==null?0:d.length,!!g&&l(g)&&t(w,g)&&(n(d)||i(d)))}return v0=c,v0}var g0,r5;function ZD(){if(r5)return g0;r5=1;var a=FD(),i=S8();function n(t,l){return t!=null&&i(t,l,a)}return g0=n,g0}var VD=ZD();const WD=mr(VD);var y0,a5;function QD(){if(a5)return y0;a5=1;var a=Wc();function i(){this.__data__=new a,this.size=0}return y0=i,y0}var b0,i5;function KD(){if(i5)return b0;i5=1;function a(i){var n=this.__data__,t=n.delete(i);return this.size=n.size,t}return b0=a,b0}var _0,l5;function XD(){if(l5)return _0;l5=1;function a(i){return this.__data__.get(i)}return _0=a,_0}var S0,o5;function $D(){if(o5)return S0;o5=1;function a(i){return this.__data__.has(i)}return S0=a,S0}var E0,s5;function JD(){if(s5)return E0;s5=1;var a=Wc(),i=ym(),n=bm(),t=200;function l(s,c){var d=this.__data__;if(d instanceof a){var h=d.__data__;if(!i||h.length<t-1)return h.push([s,c]),this.size=++d.size,this;d=this.__data__=new n(h)}return d.set(s,c),this.size=d.size,this}return E0=l,E0}var w0,u5;function wm(){if(u5)return w0;u5=1;var a=Wc(),i=QD(),n=KD(),t=XD(),l=$D(),s=JD();function c(d){var h=this.__data__=new a(d);this.size=h.size}return c.prototype.clear=i,c.prototype.delete=n,c.prototype.get=t,c.prototype.has=l,c.prototype.set=s,w0=c,w0}var D0,c5;function E8(){if(c5)return D0;c5=1;var a=dl(),i=function(){try{var n=a(Object,"defineProperty");return n({},"",{}),n}catch{}}();return D0=i,D0}var T0,f5;function Dm(){if(f5)return T0;f5=1;var a=E8();function i(n,t,l){t=="__proto__"&&a?a(n,t,{configurable:!0,enumerable:!0,value:l,writable:!0}):n[t]=l}return T0=i,T0}var x0,d5;function w8(){if(d5)return x0;d5=1;var a=Dm(),i=Is();function n(t,l,s){(s!==void 0&&!i(t[l],s)||s===void 0&&!(l in t))&&a(t,l,s)}return x0=n,x0}var M0,h5;function eT(){if(h5)return M0;h5=1;function a(i){return function(n,t,l){for(var s=-1,c=Object(n),d=l(n),h=d.length;h--;){var m=d[i?h:++s];if(t(c[m],m,c)===!1)break}return n}}return M0=a,M0}var O0,p5;function D8(){if(p5)return O0;p5=1;var a=eT(),i=a();return O0=i,O0}var Os={exports:{}};Os.exports;var m5;function tT(){return m5||(m5=1,function(a,i){var n=ga(),t=i&&!i.nodeType&&i,l=t&&!0&&a&&!a.nodeType&&a,s=l&&l.exports===t,c=s?n.Buffer:void 0,d=c?c.allocUnsafe:void 0;function h(m,v){if(v)return m.slice();var g=m.length,S=d?d(g):new m.constructor(g);return m.copy(S),S}a.exports=h}(Os,Os.exports)),Os.exports}var A0,v5;function T8(){if(v5)return A0;v5=1;var a=ga(),i=a.Uint8Array;return A0=i,A0}var C0,g5;function nT(){if(g5)return C0;g5=1;var a=T8();function i(n){var t=new n.constructor(n.byteLength);return new a(t).set(new a(n)),t}return C0=i,C0}var R0,y5;function rT(){if(y5)return R0;y5=1;var a=nT();function i(n,t){var l=t?a(n.buffer):n.buffer;return new n.constructor(l,n.byteOffset,n.length)}return R0=i,R0}var N0,b5;function aT(){if(b5)return N0;b5=1;function a(i,n){var t=-1,l=i.length;for(n||(n=Array(l));++t<l;)n[t]=i[t];return n}return N0=a,N0}var k0,_5;function iT(){if(_5)return k0;_5=1;var a=Za(),i=Object.create,n=function(){function t(){}return function(l){if(!a(l))return{};if(i)return i(l);t.prototype=l;var s=new t;return t.prototype=void 0,s}}();return k0=n,k0}var L0,S5;function x8(){if(S5)return L0;S5=1;function a(i,n){return function(t){return i(n(t))}}return L0=a,L0}var q0,E5;function M8(){if(E5)return q0;E5=1;var a=x8(),i=a(Object.getPrototypeOf,Object);return q0=i,q0}var U0,w5;function Tm(){if(w5)return U0;w5=1;var a=Object.prototype;function i(n){var t=n&&n.constructor,l=typeof t=="function"&&t.prototype||a;return n===l}return U0=i,U0}var H0,D5;function lT(){if(D5)return H0;D5=1;var a=iT(),i=M8(),n=Tm();function t(l){return typeof l.constructor=="function"&&!n(l)?a(i(l)):{}}return H0=t,H0}var P0,T5;function vo(){if(T5)return P0;T5=1;var a=gm(),i=Em();function n(t){return t!=null&&i(t.length)&&!a(t)}return P0=n,P0}var z0,x5;function oT(){if(x5)return z0;x5=1;var a=vo(),i=fl();function n(t){return i(t)&&a(t)}return z0=n,z0}var As={exports:{}},Y0,M5;function sT(){if(M5)return Y0;M5=1;function a(){return!1}return Y0=a,Y0}As.exports;var O5;function xm(){return O5||(O5=1,function(a,i){var n=ga(),t=sT(),l=i&&!i.nodeType&&i,s=l&&!0&&a&&!a.nodeType&&a,c=s&&s.exports===l,d=c?n.Buffer:void 0,h=d?d.isBuffer:void 0,m=h||t;a.exports=m}(As,As.exports)),As.exports}var j0,A5;function uT(){if(A5)return j0;A5=1;var a=po(),i=M8(),n=fl(),t="[object Object]",l=Function.prototype,s=Object.prototype,c=l.toString,d=s.hasOwnProperty,h=c.call(Object);function m(v){if(!n(v)||a(v)!=t)return!1;var g=i(v);if(g===null)return!0;var S=d.call(g,"constructor")&&g.constructor;return typeof S=="function"&&S instanceof S&&c.call(S)==h}return j0=m,j0}var B0,C5;function cT(){if(C5)return B0;C5=1;var a=po(),i=Em(),n=fl(),t="[object Arguments]",l="[object Array]",s="[object Boolean]",c="[object Date]",d="[object Error]",h="[object Function]",m="[object Map]",v="[object Number]",g="[object Object]",S="[object RegExp]",w="[object Set]",M="[object String]",R="[object WeakMap]",C="[object ArrayBuffer]",U="[object DataView]",O="[object Float32Array]",Y="[object Float64Array]",K="[object Int8Array]",X="[object Int16Array]",re="[object Int32Array]",V="[object Uint8Array]",_="[object Uint8ClampedArray]",E="[object Uint16Array]",D="[object Uint32Array]",q={};q[O]=q[Y]=q[K]=q[X]=q[re]=q[V]=q[_]=q[E]=q[D]=!0,q[t]=q[l]=q[C]=q[s]=q[U]=q[c]=q[d]=q[h]=q[m]=q[v]=q[g]=q[S]=q[w]=q[M]=q[R]=!1;function k(z){return n(z)&&i(z.length)&&!!q[a(z)]}return B0=k,B0}var I0,R5;function O8(){if(R5)return I0;R5=1;function a(i){return function(n){return i(n)}}return I0=a,I0}var Cs={exports:{}};Cs.exports;var N5;function fT(){return N5||(N5=1,function(a,i){var n=v8(),t=i&&!i.nodeType&&i,l=t&&!0&&a&&!a.nodeType&&a,s=l&&l.exports===t,c=s&&n.process,d=function(){try{var h=l&&l.require&&l.require("util").types;return h||c&&c.binding&&c.binding("util")}catch{}}();a.exports=d}(Cs,Cs.exports)),Cs.exports}var F0,k5;function Mm(){if(k5)return F0;k5=1;var a=cT(),i=O8(),n=fT(),t=n&&n.isTypedArray,l=t?i(t):a;return F0=l,F0}var G0,L5;function A8(){if(L5)return G0;L5=1;function a(i,n){if(!(n==="constructor"&&typeof i[n]=="function")&&n!="__proto__")return i[n]}return G0=a,G0}var Z0,q5;function C8(){if(q5)return Z0;q5=1;var a=Dm(),i=Is(),n=Object.prototype,t=n.hasOwnProperty;function l(s,c,d){var h=s[c];(!(t.call(s,c)&&i(h,d))||d===void 0&&!(c in s))&&a(s,c,d)}return Z0=l,Z0}var V0,U5;function dT(){if(U5)return V0;U5=1;var a=C8(),i=Dm();function n(t,l,s,c){var d=!s;s||(s={});for(var h=-1,m=l.length;++h<m;){var v=l[h],g=c?c(s[v],t[v],v,s,t):void 0;g===void 0&&(g=t[v]),d?i(s,v,g):a(s,v,g)}return s}return V0=n,V0}var W0,H5;function hT(){if(H5)return W0;H5=1;function a(i,n){for(var t=-1,l=Array(i);++t<i;)l[t]=n(t);return l}return W0=a,W0}var Q0,P5;function R8(){if(P5)return Q0;P5=1;var a=hT(),i=Xc(),n=Xr(),t=xm(),l=Sm(),s=Mm(),c=Object.prototype,d=c.hasOwnProperty;function h(m,v){var g=n(m),S=!g&&i(m),w=!g&&!S&&t(m),M=!g&&!S&&!w&&s(m),R=g||S||w||M,C=R?a(m.length,String):[],U=C.length;for(var O in m)(v||d.call(m,O))&&!(R&&(O=="length"||w&&(O=="offset"||O=="parent")||M&&(O=="buffer"||O=="byteLength"||O=="byteOffset")||l(O,U)))&&C.push(O);return C}return Q0=h,Q0}var K0,z5;function pT(){if(z5)return K0;z5=1;function a(i){var n=[];if(i!=null)for(var t in Object(i))n.push(t);return n}return K0=a,K0}var X0,Y5;function mT(){if(Y5)return X0;Y5=1;var a=Za(),i=Tm(),n=pT(),t=Object.prototype,l=t.hasOwnProperty;function s(c){if(!a(c))return n(c);var d=i(c),h=[];for(var m in c)m=="constructor"&&(d||!l.call(c,m))||h.push(m);return h}return X0=s,X0}var $0,j5;function N8(){if(j5)return $0;j5=1;var a=R8(),i=mT(),n=vo();function t(l){return n(l)?a(l,!0):i(l)}return $0=t,$0}var J0,B5;function vT(){if(B5)return J0;B5=1;var a=dT(),i=N8();function n(t){return a(t,i(t))}return J0=n,J0}var eh,I5;function gT(){if(I5)return eh;I5=1;var a=w8(),i=tT(),n=rT(),t=aT(),l=lT(),s=Xc(),c=Xr(),d=oT(),h=xm(),m=gm(),v=Za(),g=uT(),S=Mm(),w=A8(),M=vT();function R(C,U,O,Y,K,X,re){var V=w(C,O),_=w(U,O),E=re.get(_);if(E){a(C,O,E);return}var D=X?X(V,_,O+"",C,U,re):void 0,q=D===void 0;if(q){var k=c(_),z=!k&&h(_),B=!k&&!z&&S(_);D=_,k||z||B?c(V)?D=V:d(V)?D=t(V):z?(q=!1,D=i(_,!0)):B?(q=!1,D=n(_,!0)):D=[]:g(_)||s(_)?(D=V,s(V)?D=M(V):(!v(V)||m(V))&&(D=l(_))):q=!1}q&&(re.set(_,D),K(D,_,Y,X,re),re.delete(_)),a(C,O,D)}return eh=R,eh}var th,F5;function yT(){if(F5)return th;F5=1;var a=wm(),i=w8(),n=D8(),t=gT(),l=Za(),s=N8(),c=A8();function d(h,m,v,g,S){h!==m&&n(m,function(w,M){if(S||(S=new a),l(w))t(h,m,M,v,d,g,S);else{var R=g?g(c(h,M),w,M+"",h,m,S):void 0;R===void 0&&(R=w),i(h,M,R)}},s)}return th=d,th}var nh,G5;function $c(){if(G5)return nh;G5=1;function a(i){return i}return nh=a,nh}var rh,Z5;function bT(){if(Z5)return rh;Z5=1;function a(i,n,t){switch(t.length){case 0:return i.call(n);case 1:return i.call(n,t[0]);case 2:return i.call(n,t[0],t[1]);case 3:return i.call(n,t[0],t[1],t[2])}return i.apply(n,t)}return rh=a,rh}var ah,V5;function _T(){if(V5)return ah;V5=1;var a=bT(),i=Math.max;function n(t,l,s){return l=i(l===void 0?t.length-1:l,0),function(){for(var c=arguments,d=-1,h=i(c.length-l,0),m=Array(h);++d<h;)m[d]=c[l+d];d=-1;for(var v=Array(l+1);++d<l;)v[d]=c[d];return v[l]=s(m),a(t,this,v)}}return ah=n,ah}var ih,W5;function ST(){if(W5)return ih;W5=1;function a(i){return function(){return i}}return ih=a,ih}var lh,Q5;function ET(){if(Q5)return lh;Q5=1;var a=ST(),i=E8(),n=$c(),t=i?function(l,s){return i(l,"toString",{configurable:!0,enumerable:!1,value:a(s),writable:!0})}:n;return lh=t,lh}var oh,K5;function wT(){if(K5)return oh;K5=1;var a=800,i=16,n=Date.now;function t(l){var s=0,c=0;return function(){var d=n(),h=i-(d-c);if(c=d,h>0){if(++s>=a)return arguments[0]}else s=0;return l.apply(void 0,arguments)}}return oh=t,oh}var sh,X5;function DT(){if(X5)return sh;X5=1;var a=ET(),i=wT(),n=i(a);return sh=n,sh}var uh,$5;function k8(){if($5)return uh;$5=1;var a=$c(),i=_T(),n=DT();function t(l,s){return n(i(l,s,a),l+"")}return uh=t,uh}var ch,J5;function Jc(){if(J5)return ch;J5=1;var a=Is(),i=vo(),n=Sm(),t=Za();function l(s,c,d){if(!t(d))return!1;var h=typeof c;return(h=="number"?i(d)&&n(c,d.length):h=="string"&&c in d)?a(d[c],s):!1}return ch=l,ch}var fh,ey;function TT(){if(ey)return fh;ey=1;var a=k8(),i=Jc();function n(t){return a(function(l,s){var c=-1,d=s.length,h=d>1?s[d-1]:void 0,m=d>2?s[2]:void 0;for(h=t.length>3&&typeof h=="function"?(d--,h):void 0,m&&i(s[0],s[1],m)&&(h=d<3?void 0:h,d=1),l=Object(l);++c<d;){var v=s[c];v&&t(l,v,c,h)}return l})}return fh=n,fh}var dh,ty;function xT(){if(ty)return dh;ty=1;var a=yT(),i=TT(),n=i(function(t,l,s){a(t,l,s)});return dh=n,dh}var MT=xT();const OT=mr(MT);var hh,ny;function AT(){if(ny)return hh;ny=1;var a="__lodash_hash_undefined__";function i(n){return this.__data__.set(n,a),this}return hh=i,hh}var ph,ry;function CT(){if(ry)return ph;ry=1;function a(i){return this.__data__.has(i)}return ph=a,ph}var mh,ay;function L8(){if(ay)return mh;ay=1;var a=bm(),i=AT(),n=CT();function t(l){var s=-1,c=l==null?0:l.length;for(this.__data__=new a;++s<c;)this.add(l[s])}return t.prototype.add=t.prototype.push=i,t.prototype.has=n,mh=t,mh}var vh,iy;function RT(){if(iy)return vh;iy=1;function a(i,n,t,l){for(var s=i.length,c=t+(l?1:-1);l?c--:++c<s;)if(n(i[c],c,i))return c;return-1}return vh=a,vh}var gh,ly;function NT(){if(ly)return gh;ly=1;function a(i){return i!==i}return gh=a,gh}var yh,oy;function kT(){if(oy)return yh;oy=1;function a(i,n,t){for(var l=t-1,s=i.length;++l<s;)if(i[l]===n)return l;return-1}return yh=a,yh}var bh,sy;function LT(){if(sy)return bh;sy=1;var a=RT(),i=NT(),n=kT();function t(l,s,c){return s===s?n(l,s,c):a(l,i,c)}return bh=t,bh}var _h,uy;function qT(){if(uy)return _h;uy=1;var a=LT();function i(n,t){var l=n==null?0:n.length;return!!l&&a(n,t,0)>-1}return _h=i,_h}var Sh,cy;function UT(){if(cy)return Sh;cy=1;function a(i,n,t){for(var l=-1,s=i==null?0:i.length;++l<s;)if(t(n,i[l]))return!0;return!1}return Sh=a,Sh}var Eh,fy;function q8(){if(fy)return Eh;fy=1;function a(i,n){return i.has(n)}return Eh=a,Eh}var wh,dy;function U8(){if(dy)return wh;dy=1;var a=dl(),i=ga(),n=a(i,"Set");return wh=n,wh}var Dh,hy;function HT(){if(hy)return Dh;hy=1;function a(){}return Dh=a,Dh}var Th,py;function Om(){if(py)return Th;py=1;function a(i){var n=-1,t=Array(i.size);return i.forEach(function(l){t[++n]=l}),t}return Th=a,Th}var xh,my;function PT(){if(my)return xh;my=1;var a=U8(),i=HT(),n=Om(),t=1/0,l=a&&1/n(new a([,-0]))[1]==t?function(s){return new a(s)}:i;return xh=l,xh}var Mh,vy;function zT(){if(vy)return Mh;vy=1;var a=L8(),i=qT(),n=UT(),t=q8(),l=PT(),s=Om(),c=200;function d(h,m,v){var g=-1,S=i,w=h.length,M=!0,R=[],C=R;if(v)M=!1,S=n;else if(w>=c){var U=m?null:l(h);if(U)return s(U);M=!1,S=t,C=new a}else C=m?[]:R;e:for(;++g<w;){var O=h[g],Y=m?m(O):O;if(O=v||O!==0?O:0,M&&Y===Y){for(var K=C.length;K--;)if(C[K]===Y)continue e;m&&C.push(Y),R.push(O)}else S(C,Y,v)||(C!==R&&C.push(Y),R.push(O))}return R}return Mh=d,Mh}var Oh,gy;function YT(){if(gy)return Oh;gy=1;var a=zT();function i(n){return n&&n.length?a(n):[]}return Oh=i,Oh}var jT=YT();const BT=mr(jT),IT=(a,i)=>{const n=[],t=[];return n.push(i),i||n.push(a.locale),a.enableFallback&&n.push(a.defaultLocale),n.filter(Boolean).map(l=>l.toString()).forEach(function(l){if(t.includes(l)||t.push(l),!a.enableFallback)return;const s=l.split("-");s.length===3&&t.push(`${s[0]}-${s[1]}`),t.push(s[0])}),BT(t)};class FT{constructor(i){this.i18n=i,this.registry={},this.register("default",IT)}register(i,n){if(typeof n!="function"){const t=n;n=()=>t}this.registry[i]=n}get(i){let n=this.registry[i]||this.registry[this.i18n.locale]||this.registry.default;return typeof n=="function"&&(n=n(this.i18n,i)),n instanceof Array||(n=[n]),n}}const GT=(a,i)=>{const n=String(a).split("."),t=!n[1],l=Number(n[0])==a,s=l&&n[0].slice(-1),c=l&&n[0].slice(-2);return i?s==1&&c!=11?"one":s==2&&c!=12?"two":s==3&&c!=13?"few":"other":a==1&&t?"one":"other"};function ZT({pluralizer:a,includeZero:i=!0,ordinal:n=!1}){return function(t,l){return[i&&l===0?"zero":"",a(l,n)].filter(Boolean)}}const VT=ZT({pluralizer:GT,includeZero:!0});class WT{constructor(i){this.i18n=i,this.registry={},this.register("default",VT)}register(i,n){this.registry[i]=n}get(i){return this.registry[i]||this.registry[this.i18n.locale]||this.registry.default}}var Ah,yy;function QT(){if(yy)return Ah;yy=1;function a(i,n,t){var l=-1,s=i.length;n<0&&(n=-n>s?0:s+n),t=t>s?s:t,t<0&&(t+=s),s=n>t?0:t-n>>>0,n>>>=0;for(var c=Array(s);++l<s;)c[l]=i[l+n];return c}return Ah=a,Ah}var Ch,by;function KT(){if(by)return Ch;by=1;var a=QT();function i(n,t,l){var s=n.length;return l=l===void 0?s:l,!t&&l>=s?n:a(n,t,l)}return Ch=i,Ch}var Rh,_y;function H8(){if(_y)return Rh;_y=1;var a="\\ud800-\\udfff",i="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",t="\\u20d0-\\u20ff",l=i+n+t,s="\\ufe0e\\ufe0f",c="\\u200d",d=RegExp("["+c+a+l+s+"]");function h(m){return d.test(m)}return Rh=h,Rh}var Nh,Sy;function XT(){if(Sy)return Nh;Sy=1;function a(i){return i.split("")}return Nh=a,Nh}var kh,Ey;function $T(){if(Ey)return kh;Ey=1;var a="\\ud800-\\udfff",i="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",t="\\u20d0-\\u20ff",l=i+n+t,s="\\ufe0e\\ufe0f",c="["+a+"]",d="["+l+"]",h="\\ud83c[\\udffb-\\udfff]",m="(?:"+d+"|"+h+")",v="[^"+a+"]",g="(?:\\ud83c[\\udde6-\\uddff]){2}",S="[\\ud800-\\udbff][\\udc00-\\udfff]",w="\\u200d",M=m+"?",R="["+s+"]?",C="(?:"+w+"(?:"+[v,g,S].join("|")+")"+R+M+")*",U=R+M+C,O="(?:"+[v+d+"?",d,g,S,c].join("|")+")",Y=RegExp(h+"(?="+h+")|"+O+U,"g");function K(X){return X.match(Y)||[]}return kh=K,kh}var Lh,wy;function JT(){if(wy)return Lh;wy=1;var a=XT(),i=H8(),n=$T();function t(l){return i(l)?n(l):a(l)}return Lh=t,Lh}var qh,Dy;function ex(){if(Dy)return qh;Dy=1;var a=KT(),i=H8(),n=JT(),t=mo();function l(s){return function(c){c=t(c);var d=i(c)?n(c):void 0,h=d?d[0]:c.charAt(0),m=d?a(d,1).join(""):c.slice(1);return h[s]()+m}}return qh=l,qh}var Uh,Ty;function tx(){if(Ty)return Uh;Ty=1;var a=ex(),i=a("toUpperCase");return Uh=i,Uh}var Hh,xy;function nx(){if(xy)return Hh;xy=1;var a=mo(),i=tx();function n(t){return i(a(t).toLowerCase())}return Hh=n,Hh}var Ph,My;function rx(){if(My)return Ph;My=1;function a(i,n,t,l){var s=-1,c=i==null?0:i.length;for(l&&c&&(t=i[++s]);++s<c;)t=n(t,i[s],s,i);return t}return Ph=a,Ph}var zh,Oy;function ax(){if(Oy)return zh;Oy=1;function a(i){return function(n){return i==null?void 0:i[n]}}return zh=a,zh}var Yh,Ay;function ix(){if(Ay)return Yh;Ay=1;var a=ax(),i={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"},n=a(i);return Yh=n,Yh}var jh,Cy;function lx(){if(Cy)return jh;Cy=1;var a=ix(),i=mo(),n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,t="\\u0300-\\u036f",l="\\ufe20-\\ufe2f",s="\\u20d0-\\u20ff",c=t+l+s,d="["+c+"]",h=RegExp(d,"g");function m(v){return v=i(v),v&&v.replace(n,a).replace(h,"")}return jh=m,jh}var Bh,Ry;function ox(){if(Ry)return Bh;Ry=1;var a=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function i(n){return n.match(a)||[]}return Bh=i,Bh}var Ih,Ny;function sx(){if(Ny)return Ih;Ny=1;var a=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function i(n){return a.test(n)}return Ih=i,Ih}var Fh,ky;function ux(){if(ky)return Fh;ky=1;var a="\\ud800-\\udfff",i="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",t="\\u20d0-\\u20ff",l=i+n+t,s="\\u2700-\\u27bf",c="a-z\\xdf-\\xf6\\xf8-\\xff",d="\\xac\\xb1\\xd7\\xf7",h="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",m="\\u2000-\\u206f",v=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",g="A-Z\\xc0-\\xd6\\xd8-\\xde",S="\\ufe0e\\ufe0f",w=d+h+m+v,M="['’]",R="["+w+"]",C="["+l+"]",U="\\d+",O="["+s+"]",Y="["+c+"]",K="[^"+a+w+U+s+c+g+"]",X="\\ud83c[\\udffb-\\udfff]",re="(?:"+C+"|"+X+")",V="[^"+a+"]",_="(?:\\ud83c[\\udde6-\\uddff]){2}",E="[\\ud800-\\udbff][\\udc00-\\udfff]",D="["+g+"]",q="\\u200d",k="(?:"+Y+"|"+K+")",z="(?:"+D+"|"+K+")",B="(?:"+M+"(?:d|ll|m|re|s|t|ve))?",H="(?:"+M+"(?:D|LL|M|RE|S|T|VE))?",T=re+"?",N="["+S+"]?",L="(?:"+q+"(?:"+[V,_,E].join("|")+")"+N+T+")*",$="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",A="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",j=N+T+L,oe="(?:"+[O,_,E].join("|")+")"+j,ae=RegExp([D+"?"+Y+"+"+B+"(?="+[R,D,"$"].join("|")+")",z+"+"+H+"(?="+[R,D+k,"$"].join("|")+")",D+"?"+k+"+"+B,D+"+"+H,A,$,U,oe].join("|"),"g");function he(fe){return fe.match(ae)||[]}return Fh=he,Fh}var Gh,Ly;function cx(){if(Ly)return Gh;Ly=1;var a=ox(),i=sx(),n=mo(),t=ux();function l(s,c,d){return s=n(s),c=d?void 0:c,c===void 0?i(s)?t(s):a(s):s.match(c)||[]}return Gh=l,Gh}var Zh,qy;function fx(){if(qy)return Zh;qy=1;var a=rx(),i=lx(),n=cx(),t="['’]",l=RegExp(t,"g");function s(c){return function(d){return a(n(i(d).replace(l,"")),c,"")}}return Zh=s,Zh}var Vh,Uy;function dx(){if(Uy)return Vh;Uy=1;var a=nx(),i=fx(),n=i(function(t,l,s){return l=l.toLowerCase(),t+(s?a(l):l)});return Vh=n,Vh}var hx=dx();const px=mr(hx);function Ir(a){return a?Object.keys(a).reduce((i,n)=>(i[px(n)]=a[n],i),{}):{}}function Pa(a){return a!=null}function mx(a,i,n){let t=[{scope:i}];if(Pa(n.defaults)&&(t=t.concat(n.defaults)),Pa(n.defaultValue)){const l=typeof n.defaultValue=="function"?n.defaultValue(a,i,n):n.defaultValue;t.push({message:l}),delete n.defaultValue}return t}var vx=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,Wh=Math.ceil,Or=Math.floor,er="[BigNumber Error] ",Hy=er+"Number primitive has more than 15 significant digits: ",Fr=1e14,Pe=14,Py=9007199254740991,Qh=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],_i=1e7,fr=1e9;function P8(a){var i,n,t,l=O.prototype={constructor:O,toString:null,valueOf:null},s=new O(1),c=20,d=4,h=-7,m=21,v=-1e7,g=1e7,S=!1,w=1,M=0,R={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},C="0123456789abcdefghijklmnopqrstuvwxyz",U=!0;function O(_,E){var D,q,k,z,B,H,T,N,L=this;if(!(L instanceof O))return new O(_,E);if(E==null){if(_&&_._isBigNumber===!0){L.s=_.s,!_.c||_.e>g?L.c=L.e=null:_.e<v?L.c=[L.e=0]:(L.e=_.e,L.c=_.c.slice());return}if((H=typeof _=="number")&&_*0==0){if(L.s=1/_<0?(_=-_,-1):1,_===~~_){for(z=0,B=_;B>=10;B/=10,z++);z>g?L.c=L.e=null:(L.e=z,L.c=[_]);return}N=String(_)}else{if(!vx.test(N=String(_)))return t(L,N,H);L.s=N.charCodeAt(0)==45?(N=N.slice(1),-1):1}(z=N.indexOf("."))>-1&&(N=N.replace(".","")),(B=N.search(/e/i))>0?(z<0&&(z=B),z+=+N.slice(B+1),N=N.substring(0,B)):z<0&&(z=N.length)}else{if(Vt(E,2,C.length,"Base"),E==10&&U)return L=new O(_),re(L,c+L.e+1,d);if(N=String(_),H=typeof _=="number"){if(_*0!=0)return t(L,N,H,E);if(L.s=1/_<0?(N=N.slice(1),-1):1,O.DEBUG&&N.replace(/^0\.0*|\./,"").length>15)throw Error(Hy+_)}else L.s=N.charCodeAt(0)===45?(N=N.slice(1),-1):1;for(D=C.slice(0,E),z=B=0,T=N.length;B<T;B++)if(D.indexOf(q=N.charAt(B))<0){if(q=="."){if(B>z){z=T;continue}}else if(!k&&(N==N.toUpperCase()&&(N=N.toLowerCase())||N==N.toLowerCase()&&(N=N.toUpperCase()))){k=!0,B=-1,z=0;continue}return t(L,String(_),H,E)}H=!1,N=n(N,E,10,L.s),(z=N.indexOf("."))>-1?N=N.replace(".",""):z=N.length}for(B=0;N.charCodeAt(B)===48;B++);for(T=N.length;N.charCodeAt(--T)===48;);if(N=N.slice(B,++T)){if(T-=B,H&&O.DEBUG&&T>15&&(_>Py||_!==Or(_)))throw Error(Hy+L.s*_);if((z=z-B-1)>g)L.c=L.e=null;else if(z<v)L.c=[L.e=0];else{if(L.e=z,L.c=[],B=(z+1)%Pe,z<0&&(B+=Pe),B<T){for(B&&L.c.push(+N.slice(0,B)),T-=Pe;B<T;)L.c.push(+N.slice(B,B+=Pe));B=Pe-(N=N.slice(B)).length}else B-=T;for(;B--;N+="0");L.c.push(+N)}}else L.c=[L.e=0]}O.clone=P8,O.ROUND_UP=0,O.ROUND_DOWN=1,O.ROUND_CEIL=2,O.ROUND_FLOOR=3,O.ROUND_HALF_UP=4,O.ROUND_HALF_DOWN=5,O.ROUND_HALF_EVEN=6,O.ROUND_HALF_CEIL=7,O.ROUND_HALF_FLOOR=8,O.EUCLID=9,O.config=O.set=function(_){var E,D;if(_!=null)if(typeof _=="object"){if(_.hasOwnProperty(E="DECIMAL_PLACES")&&(D=_[E],Vt(D,0,fr,E),c=D),_.hasOwnProperty(E="ROUNDING_MODE")&&(D=_[E],Vt(D,0,8,E),d=D),_.hasOwnProperty(E="EXPONENTIAL_AT")&&(D=_[E],D&&D.pop?(Vt(D[0],-1e9,0,E),Vt(D[1],0,fr,E),h=D[0],m=D[1]):(Vt(D,-1e9,fr,E),h=-(m=D<0?-D:D))),_.hasOwnProperty(E="RANGE"))if(D=_[E],D&&D.pop)Vt(D[0],-1e9,-1,E),Vt(D[1],1,fr,E),v=D[0],g=D[1];else if(Vt(D,-1e9,fr,E),D)v=-(g=D<0?-D:D);else throw Error(er+E+" cannot be zero: "+D);if(_.hasOwnProperty(E="CRYPTO"))if(D=_[E],D===!!D)if(D)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))S=D;else throw S=!D,Error(er+"crypto unavailable");else S=D;else throw Error(er+E+" not true or false: "+D);if(_.hasOwnProperty(E="MODULO_MODE")&&(D=_[E],Vt(D,0,9,E),w=D),_.hasOwnProperty(E="POW_PRECISION")&&(D=_[E],Vt(D,0,fr,E),M=D),_.hasOwnProperty(E="FORMAT"))if(D=_[E],typeof D=="object")R=D;else throw Error(er+E+" not an object: "+D);if(_.hasOwnProperty(E="ALPHABET"))if(D=_[E],typeof D=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(D))U=D.slice(0,10)=="0123456789",C=D;else throw Error(er+E+" invalid: "+D)}else throw Error(er+"Object expected: "+_);return{DECIMAL_PLACES:c,ROUNDING_MODE:d,EXPONENTIAL_AT:[h,m],RANGE:[v,g],CRYPTO:S,MODULO_MODE:w,POW_PRECISION:M,FORMAT:R,ALPHABET:C}},O.isBigNumber=function(_){if(!_||_._isBigNumber!==!0)return!1;if(!O.DEBUG)return!0;var E,D,q=_.c,k=_.e,z=_.s;e:if({}.toString.call(q)=="[object Array]"){if((z===1||z===-1)&&k>=-1e9&&k<=fr&&k===Or(k)){if(q[0]===0){if(k===0&&q.length===1)return!0;break e}if(E=(k+1)%Pe,E<1&&(E+=Pe),String(q[0]).length==E){for(E=0;E<q.length;E++)if(D=q[E],D<0||D>=Fr||D!==Or(D))break e;if(D!==0)return!0}}}else if(q===null&&k===null&&(z===null||z===1||z===-1))return!0;throw Error(er+"Invalid BigNumber: "+_)},O.maximum=O.max=function(){return K(arguments,-1)},O.minimum=O.min=function(){return K(arguments,1)},O.random=function(){var _=9007199254740992,E=Math.random()*_&2097151?function(){return Or(Math.random()*_)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(D){var q,k,z,B,H,T=0,N=[],L=new O(s);if(D==null?D=c:Vt(D,0,fr),B=Wh(D/Pe),S)if(crypto.getRandomValues){for(q=crypto.getRandomValues(new Uint32Array(B*=2));T<B;)H=q[T]*131072+(q[T+1]>>>11),H>=9e15?(k=crypto.getRandomValues(new Uint32Array(2)),q[T]=k[0],q[T+1]=k[1]):(N.push(H%1e14),T+=2);T=B/2}else if(crypto.randomBytes){for(q=crypto.randomBytes(B*=7);T<B;)H=(q[T]&31)*281474976710656+q[T+1]*1099511627776+q[T+2]*4294967296+q[T+3]*16777216+(q[T+4]<<16)+(q[T+5]<<8)+q[T+6],H>=9e15?crypto.randomBytes(7).copy(q,T):(N.push(H%1e14),T+=7);T=B/7}else throw S=!1,Error(er+"crypto unavailable");if(!S)for(;T<B;)H=E(),H<9e15&&(N[T++]=H%1e14);for(B=N[--T],D%=Pe,B&&D&&(H=Qh[Pe-D],N[T]=Or(B/H)*H);N[T]===0;N.pop(),T--);if(T<0)N=[z=0];else{for(z=-1;N[0]===0;N.splice(0,1),z-=Pe);for(T=1,H=N[0];H>=10;H/=10,T++);T<Pe&&(z-=Pe-T)}return L.e=z,L.c=N,L}}(),O.sum=function(){for(var _=1,E=arguments,D=new O(E[0]);_<E.length;)D=D.plus(E[_++]);return D},n=function(){var _="0123456789";function E(D,q,k,z){for(var B,H=[0],T,N=0,L=D.length;N<L;){for(T=H.length;T--;H[T]*=q);for(H[0]+=z.indexOf(D.charAt(N++)),B=0;B<H.length;B++)H[B]>k-1&&(H[B+1]==null&&(H[B+1]=0),H[B+1]+=H[B]/k|0,H[B]%=k)}return H.reverse()}return function(D,q,k,z,B){var H,T,N,L,$,A,j,oe,ae=D.indexOf("."),he=c,fe=d;for(ae>=0&&(L=M,M=0,D=D.replace(".",""),oe=new O(q),A=oe.pow(D.length-ae),M=L,oe.c=E(qa(Mr(A.c),A.e,"0"),10,k,_),oe.e=oe.c.length),j=E(D,q,k,B?(H=C,_):(H=_,C)),N=L=j.length;j[--L]==0;j.pop());if(!j[0])return H.charAt(0);if(ae<0?--N:(A.c=j,A.e=N,A.s=z,A=i(A,oe,he,fe,k),j=A.c,$=A.r,N=A.e),T=N+he+1,ae=j[T],L=k/2,$=$||T<0||j[T+1]!=null,$=fe<4?(ae!=null||$)&&(fe==0||fe==(A.s<0?3:2)):ae>L||ae==L&&(fe==4||$||fe==6&&j[T-1]&1||fe==(A.s<0?8:7)),T<1||!j[0])D=$?qa(H.charAt(1),-he,H.charAt(0)):H.charAt(0);else{if(j.length=T,$)for(--k;++j[--T]>k;)j[T]=0,T||(++N,j=[1].concat(j));for(L=j.length;!j[--L];);for(ae=0,D="";ae<=L;D+=H.charAt(j[ae++]));D=qa(D,N,H.charAt(0))}return D}}(),i=function(){function _(q,k,z){var B,H,T,N,L=0,$=q.length,A=k%_i,j=k/_i|0;for(q=q.slice();$--;)T=q[$]%_i,N=q[$]/_i|0,B=j*T+N*A,H=A*T+B%_i*_i+L,L=(H/z|0)+(B/_i|0)+j*N,q[$]=H%z;return L&&(q=[L].concat(q)),q}function E(q,k,z,B){var H,T;if(z!=B)T=z>B?1:-1;else for(H=T=0;H<z;H++)if(q[H]!=k[H]){T=q[H]>k[H]?1:-1;break}return T}function D(q,k,z,B){for(var H=0;z--;)q[z]-=H,H=q[z]<k[z]?1:0,q[z]=H*B+q[z]-k[z];for(;!q[0]&&q.length>1;q.splice(0,1));}return function(q,k,z,B,H){var T,N,L,$,A,j,oe,ae,he,fe,me,ze,Re,qt,Ut,mt,Ht,lt=q.s==k.s?1:-1,nt=q.c,Ue=k.c;if(!nt||!nt[0]||!Ue||!Ue[0])return new O(!q.s||!k.s||(nt?Ue&&nt[0]==Ue[0]:!Ue)?NaN:nt&&nt[0]==0||!Ue?lt*0:lt/0);for(ae=new O(lt),he=ae.c=[],N=q.e-k.e,lt=z+N+1,H||(H=Fr,N=Ar(q.e/Pe)-Ar(k.e/Pe),lt=lt/Pe|0),L=0;Ue[L]==(nt[L]||0);L++);if(Ue[L]>(nt[L]||0)&&N--,lt<0)he.push(1),$=!0;else{for(qt=nt.length,mt=Ue.length,L=0,lt+=2,A=Or(H/(Ue[0]+1)),A>1&&(Ue=_(Ue,A,H),nt=_(nt,A,H),mt=Ue.length,qt=nt.length),Re=mt,fe=nt.slice(0,mt),me=fe.length;me<mt;fe[me++]=0);Ht=Ue.slice(),Ht=[0].concat(Ht),Ut=Ue[0],Ue[1]>=H/2&&Ut++;do{if(A=0,T=E(Ue,fe,mt,me),T<0){if(ze=fe[0],mt!=me&&(ze=ze*H+(fe[1]||0)),A=Or(ze/Ut),A>1)for(A>=H&&(A=H-1),j=_(Ue,A,H),oe=j.length,me=fe.length;E(j,fe,oe,me)==1;)A--,D(j,mt<oe?Ht:Ue,oe,H),oe=j.length,T=1;else A==0&&(T=A=1),j=Ue.slice(),oe=j.length;if(oe<me&&(j=[0].concat(j)),D(fe,j,me,H),me=fe.length,T==-1)for(;E(Ue,fe,mt,me)<1;)A++,D(fe,mt<me?Ht:Ue,me,H),me=fe.length}else T===0&&(A++,fe=[0]);he[L++]=A,fe[0]?fe[me++]=nt[Re]||0:(fe=[nt[Re]],me=1)}while((Re++<qt||fe[0]!=null)&&lt--);$=fe[0]!=null,he[0]||he.splice(0,1)}if(H==Fr){for(L=1,lt=he[0];lt>=10;lt/=10,L++);re(ae,z+(ae.e=L+N*Pe-1)+1,B,$)}else ae.e=N,ae.r=+$;return ae}}();function Y(_,E,D,q){var k,z,B,H,T;if(D==null?D=d:Vt(D,0,8),!_.c)return _.toString();if(k=_.c[0],B=_.e,E==null)T=Mr(_.c),T=q==1||q==2&&(B<=h||B>=m)?ic(T,B):qa(T,B,"0");else if(_=re(new O(_),E,D),z=_.e,T=Mr(_.c),H=T.length,q==1||q==2&&(E<=z||z<=h)){for(;H<E;T+="0",H++);T=ic(T,z)}else if(E-=B,T=qa(T,z,"0"),z+1>H){if(--E>0)for(T+=".";E--;T+="0");}else if(E+=z-H,E>0)for(z+1==H&&(T+=".");E--;T+="0");return _.s<0&&k?"-"+T:T}function K(_,E){for(var D,q,k=1,z=new O(_[0]);k<_.length;k++)q=new O(_[k]),(!q.s||(D=$i(z,q))===E||D===0&&z.s===E)&&(z=q);return z}function X(_,E,D){for(var q=1,k=E.length;!E[--k];E.pop());for(k=E[0];k>=10;k/=10,q++);return(D=q+D*Pe-1)>g?_.c=_.e=null:D<v?_.c=[_.e=0]:(_.e=D,_.c=E),_}t=function(){var _=/^(-?)0([xbo])(?=\w[\w.]*$)/i,E=/^([^.]+)\.$/,D=/^\.([^.]+)$/,q=/^-?(Infinity|NaN)$/,k=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(z,B,H,T){var N,L=H?B:B.replace(k,"");if(q.test(L))z.s=isNaN(L)?null:L<0?-1:1;else{if(!H&&(L=L.replace(_,function($,A,j){return N=(j=j.toLowerCase())=="x"?16:j=="b"?2:8,!T||T==N?A:$}),T&&(N=T,L=L.replace(E,"$1").replace(D,"0.$1")),B!=L))return new O(L,N);if(O.DEBUG)throw Error(er+"Not a"+(T?" base "+T:"")+" number: "+B);z.s=null}z.c=z.e=null}}();function re(_,E,D,q){var k,z,B,H,T,N,L,$=_.c,A=Qh;if($){e:{for(k=1,H=$[0];H>=10;H/=10,k++);if(z=E-k,z<0)z+=Pe,B=E,T=$[N=0],L=Or(T/A[k-B-1]%10);else if(N=Wh((z+1)/Pe),N>=$.length)if(q){for(;$.length<=N;$.push(0));T=L=0,k=1,z%=Pe,B=z-Pe+1}else break e;else{for(T=H=$[N],k=1;H>=10;H/=10,k++);z%=Pe,B=z-Pe+k,L=B<0?0:Or(T/A[k-B-1]%10)}if(q=q||E<0||$[N+1]!=null||(B<0?T:T%A[k-B-1]),q=D<4?(L||q)&&(D==0||D==(_.s<0?3:2)):L>5||L==5&&(D==4||q||D==6&&(z>0?B>0?T/A[k-B]:0:$[N-1])%10&1||D==(_.s<0?8:7)),E<1||!$[0])return $.length=0,q?(E-=_.e+1,$[0]=A[(Pe-E%Pe)%Pe],_.e=-E||0):$[0]=_.e=0,_;if(z==0?($.length=N,H=1,N--):($.length=N+1,H=A[Pe-z],$[N]=B>0?Or(T/A[k-B]%A[B])*H:0),q)for(;;)if(N==0){for(z=1,B=$[0];B>=10;B/=10,z++);for(B=$[0]+=H,H=1;B>=10;B/=10,H++);z!=H&&(_.e++,$[0]==Fr&&($[0]=1));break}else{if($[N]+=H,$[N]!=Fr)break;$[N--]=0,H=1}for(z=$.length;$[--z]===0;$.pop());}_.e>g?_.c=_.e=null:_.e<v&&(_.c=[_.e=0])}return _}function V(_){var E,D=_.e;return D===null?_.toString():(E=Mr(_.c),E=D<=h||D>=m?ic(E,D):qa(E,D,"0"),_.s<0?"-"+E:E)}return l.absoluteValue=l.abs=function(){var _=new O(this);return _.s<0&&(_.s=1),_},l.comparedTo=function(_,E){return $i(this,new O(_,E))},l.decimalPlaces=l.dp=function(_,E){var D,q,k,z=this;if(_!=null)return Vt(_,0,fr),E==null?E=d:Vt(E,0,8),re(new O(z),_+z.e+1,E);if(!(D=z.c))return null;if(q=((k=D.length-1)-Ar(this.e/Pe))*Pe,k=D[k])for(;k%10==0;k/=10,q--);return q<0&&(q=0),q},l.dividedBy=l.div=function(_,E){return i(this,new O(_,E),c,d)},l.dividedToIntegerBy=l.idiv=function(_,E){return i(this,new O(_,E),0,1)},l.exponentiatedBy=l.pow=function(_,E){var D,q,k,z,B,H,T,N,L,$=this;if(_=new O(_),_.c&&!_.isInteger())throw Error(er+"Exponent not an integer: "+V(_));if(E!=null&&(E=new O(E)),H=_.e>14,!$.c||!$.c[0]||$.c[0]==1&&!$.e&&$.c.length==1||!_.c||!_.c[0])return L=new O(Math.pow(+V($),H?_.s*(2-ac(_)):+V(_))),E?L.mod(E):L;if(T=_.s<0,E){if(E.c?!E.c[0]:!E.s)return new O(NaN);q=!T&&$.isInteger()&&E.isInteger(),q&&($=$.mod(E))}else{if(_.e>9&&($.e>0||$.e<-1||($.e==0?$.c[0]>1||H&&$.c[1]>=24e7:$.c[0]<8e13||H&&$.c[0]<=9999975e7)))return z=$.s<0&&ac(_)?-0:0,$.e>-1&&(z=1/z),new O(T?1/z:z);M&&(z=Wh(M/Pe+2))}for(H?(D=new O(.5),T&&(_.s=1),N=ac(_)):(k=Math.abs(+V(_)),N=k%2),L=new O(s);;){if(N){if(L=L.times($),!L.c)break;z?L.c.length>z&&(L.c.length=z):q&&(L=L.mod(E))}if(k){if(k=Or(k/2),k===0)break;N=k%2}else if(_=_.times(D),re(_,_.e+1,1),_.e>14)N=ac(_);else{if(k=+V(_),k===0)break;N=k%2}$=$.times($),z?$.c&&$.c.length>z&&($.c.length=z):q&&($=$.mod(E))}return q?L:(T&&(L=s.div(L)),E?L.mod(E):z?re(L,M,d,B):L)},l.integerValue=function(_){var E=new O(this);return _==null?_=d:Vt(_,0,8),re(E,E.e+1,_)},l.isEqualTo=l.eq=function(_,E){return $i(this,new O(_,E))===0},l.isFinite=function(){return!!this.c},l.isGreaterThan=l.gt=function(_,E){return $i(this,new O(_,E))>0},l.isGreaterThanOrEqualTo=l.gte=function(_,E){return(E=$i(this,new O(_,E)))===1||E===0},l.isInteger=function(){return!!this.c&&Ar(this.e/Pe)>this.c.length-2},l.isLessThan=l.lt=function(_,E){return $i(this,new O(_,E))<0},l.isLessThanOrEqualTo=l.lte=function(_,E){return(E=$i(this,new O(_,E)))===-1||E===0},l.isNaN=function(){return!this.s},l.isNegative=function(){return this.s<0},l.isPositive=function(){return this.s>0},l.isZero=function(){return!!this.c&&this.c[0]==0},l.minus=function(_,E){var D,q,k,z,B=this,H=B.s;if(_=new O(_,E),E=_.s,!H||!E)return new O(NaN);if(H!=E)return _.s=-E,B.plus(_);var T=B.e/Pe,N=_.e/Pe,L=B.c,$=_.c;if(!T||!N){if(!L||!$)return L?(_.s=-E,_):new O($?B:NaN);if(!L[0]||!$[0])return $[0]?(_.s=-E,_):new O(L[0]?B:d==3?-0:0)}if(T=Ar(T),N=Ar(N),L=L.slice(),H=T-N){for((z=H<0)?(H=-H,k=L):(N=T,k=$),k.reverse(),E=H;E--;k.push(0));k.reverse()}else for(q=(z=(H=L.length)<(E=$.length))?H:E,H=E=0;E<q;E++)if(L[E]!=$[E]){z=L[E]<$[E];break}if(z&&(k=L,L=$,$=k,_.s=-_.s),E=(q=$.length)-(D=L.length),E>0)for(;E--;L[D++]=0);for(E=Fr-1;q>H;){if(L[--q]<$[q]){for(D=q;D&&!L[--D];L[D]=E);--L[D],L[q]+=Fr}L[q]-=$[q]}for(;L[0]==0;L.splice(0,1),--N);return L[0]?X(_,L,N):(_.s=d==3?-1:1,_.c=[_.e=0],_)},l.modulo=l.mod=function(_,E){var D,q,k=this;return _=new O(_,E),!k.c||!_.s||_.c&&!_.c[0]?new O(NaN):!_.c||k.c&&!k.c[0]?new O(k):(w==9?(q=_.s,_.s=1,D=i(k,_,0,3),_.s=q,D.s*=q):D=i(k,_,0,w),_=k.minus(D.times(_)),!_.c[0]&&w==1&&(_.s=k.s),_)},l.multipliedBy=l.times=function(_,E){var D,q,k,z,B,H,T,N,L,$,A,j,oe,ae,he,fe=this,me=fe.c,ze=(_=new O(_,E)).c;if(!me||!ze||!me[0]||!ze[0])return!fe.s||!_.s||me&&!me[0]&&!ze||ze&&!ze[0]&&!me?_.c=_.e=_.s=null:(_.s*=fe.s,!me||!ze?_.c=_.e=null:(_.c=[0],_.e=0)),_;for(q=Ar(fe.e/Pe)+Ar(_.e/Pe),_.s*=fe.s,T=me.length,$=ze.length,T<$&&(oe=me,me=ze,ze=oe,k=T,T=$,$=k),k=T+$,oe=[];k--;oe.push(0));for(ae=Fr,he=_i,k=$;--k>=0;){for(D=0,A=ze[k]%he,j=ze[k]/he|0,B=T,z=k+B;z>k;)N=me[--B]%he,L=me[B]/he|0,H=j*N+L*A,N=A*N+H%he*he+oe[z]+D,D=(N/ae|0)+(H/he|0)+j*L,oe[z--]=N%ae;oe[z]=D}return D?++q:oe.splice(0,1),X(_,oe,q)},l.negated=function(){var _=new O(this);return _.s=-_.s||null,_},l.plus=function(_,E){var D,q=this,k=q.s;if(_=new O(_,E),E=_.s,!k||!E)return new O(NaN);if(k!=E)return _.s=-E,q.minus(_);var z=q.e/Pe,B=_.e/Pe,H=q.c,T=_.c;if(!z||!B){if(!H||!T)return new O(k/0);if(!H[0]||!T[0])return T[0]?_:new O(H[0]?q:k*0)}if(z=Ar(z),B=Ar(B),H=H.slice(),k=z-B){for(k>0?(B=z,D=T):(k=-k,D=H),D.reverse();k--;D.push(0));D.reverse()}for(k=H.length,E=T.length,k-E<0&&(D=T,T=H,H=D,E=k),k=0;E;)k=(H[--E]=H[E]+T[E]+k)/Fr|0,H[E]=Fr===H[E]?0:H[E]%Fr;return k&&(H=[k].concat(H),++B),X(_,H,B)},l.precision=l.sd=function(_,E){var D,q,k,z=this;if(_!=null&&_!==!!_)return Vt(_,1,fr),E==null?E=d:Vt(E,0,8),re(new O(z),_,E);if(!(D=z.c))return null;if(k=D.length-1,q=k*Pe+1,k=D[k]){for(;k%10==0;k/=10,q--);for(k=D[0];k>=10;k/=10,q++);}return _&&z.e+1>q&&(q=z.e+1),q},l.shiftedBy=function(_){return Vt(_,-9007199254740991,Py),this.times("1e"+_)},l.squareRoot=l.sqrt=function(){var _,E,D,q,k,z=this,B=z.c,H=z.s,T=z.e,N=c+4,L=new O("0.5");if(H!==1||!B||!B[0])return new O(!H||H<0&&(!B||B[0])?NaN:B?z:1/0);if(H=Math.sqrt(+V(z)),H==0||H==1/0?(E=Mr(B),(E.length+T)%2==0&&(E+="0"),H=Math.sqrt(+E),T=Ar((T+1)/2)-(T<0||T%2),H==1/0?E="5e"+T:(E=H.toExponential(),E=E.slice(0,E.indexOf("e")+1)+T),D=new O(E)):D=new O(H+""),D.c[0]){for(T=D.e,H=T+N,H<3&&(H=0);;)if(k=D,D=L.times(k.plus(i(z,k,N,1))),Mr(k.c).slice(0,H)===(E=Mr(D.c)).slice(0,H))if(D.e<T&&--H,E=E.slice(H-3,H+1),E=="9999"||!q&&E=="4999"){if(!q&&(re(k,k.e+c+2,0),k.times(k).eq(z))){D=k;break}N+=4,H+=4,q=1}else{(!+E||!+E.slice(1)&&E.charAt(0)=="5")&&(re(D,D.e+c+2,1),_=!D.times(D).eq(z));break}}return re(D,D.e+c+1,d,_)},l.toExponential=function(_,E){return _!=null&&(Vt(_,0,fr),_++),Y(this,_,E,1)},l.toFixed=function(_,E){return _!=null&&(Vt(_,0,fr),_=_+this.e+1),Y(this,_,E)},l.toFormat=function(_,E,D){var q,k=this;if(D==null)_!=null&&E&&typeof E=="object"?(D=E,E=null):_&&typeof _=="object"?(D=_,_=E=null):D=R;else if(typeof D!="object")throw Error(er+"Argument not an object: "+D);if(q=k.toFixed(_,E),k.c){var z,B=q.split("."),H=+D.groupSize,T=+D.secondaryGroupSize,N=D.groupSeparator||"",L=B[0],$=B[1],A=k.s<0,j=A?L.slice(1):L,oe=j.length;if(T&&(z=H,H=T,T=z,oe-=z),H>0&&oe>0){for(z=oe%H||H,L=j.substr(0,z);z<oe;z+=H)L+=N+j.substr(z,H);T>0&&(L+=N+j.slice(z)),A&&(L="-"+L)}q=$?L+(D.decimalSeparator||"")+((T=+D.fractionGroupSize)?$.replace(new RegExp("\\d{"+T+"}\\B","g"),"$&"+(D.fractionGroupSeparator||"")):$):L}return(D.prefix||"")+q+(D.suffix||"")},l.toFraction=function(_){var E,D,q,k,z,B,H,T,N,L,$,A,j=this,oe=j.c;if(_!=null&&(H=new O(_),!H.isInteger()&&(H.c||H.s!==1)||H.lt(s)))throw Error(er+"Argument "+(H.isInteger()?"out of range: ":"not an integer: ")+V(H));if(!oe)return new O(j);for(E=new O(s),N=D=new O(s),q=T=new O(s),A=Mr(oe),z=E.e=A.length-j.e-1,E.c[0]=Qh[(B=z%Pe)<0?Pe+B:B],_=!_||H.comparedTo(E)>0?z>0?E:N:H,B=g,g=1/0,H=new O(A),T.c[0]=0;L=i(H,E,0,1),k=D.plus(L.times(q)),k.comparedTo(_)!=1;)D=q,q=k,N=T.plus(L.times(k=N)),T=k,E=H.minus(L.times(k=E)),H=k;return k=i(_.minus(D),q,0,1),T=T.plus(k.times(N)),D=D.plus(k.times(q)),T.s=N.s=j.s,z=z*2,$=i(N,q,z,d).minus(j).abs().comparedTo(i(T,D,z,d).minus(j).abs())<1?[N,q]:[T,D],g=B,$},l.toNumber=function(){return+V(this)},l.toPrecision=function(_,E){return _!=null&&Vt(_,1,fr),Y(this,_,E,2)},l.toString=function(_){var E,D=this,q=D.s,k=D.e;return k===null?q?(E="Infinity",q<0&&(E="-"+E)):E="NaN":(_==null?E=k<=h||k>=m?ic(Mr(D.c),k):qa(Mr(D.c),k,"0"):_===10&&U?(D=re(new O(D),c+k+1,d),E=qa(Mr(D.c),D.e,"0")):(Vt(_,2,C.length,"Base"),E=n(qa(Mr(D.c),k,"0"),10,_,q,!0)),q<0&&D.c[0]&&(E="-"+E)),E},l.valueOf=l.toJSON=function(){return V(this)},l._isBigNumber=!0,l[Symbol.toStringTag]="BigNumber",l[Symbol.for("nodejs.util.inspect.custom")]=l.valueOf,a!=null&&O.set(a),O}function Ar(a){var i=a|0;return a>0||a===i?i:i-1}function Mr(a){for(var i,n,t=1,l=a.length,s=a[0]+"";t<l;){for(i=a[t++]+"",n=Pe-i.length;n--;i="0"+i);s+=i}for(l=s.length;s.charCodeAt(--l)===48;);return s.slice(0,l+1||1)}function $i(a,i){var n,t,l=a.c,s=i.c,c=a.s,d=i.s,h=a.e,m=i.e;if(!c||!d)return null;if(n=l&&!l[0],t=s&&!s[0],n||t)return n?t?0:-d:c;if(c!=d)return c;if(n=c<0,t=h==m,!l||!s)return t?0:!l^n?1:-1;if(!t)return h>m^n?1:-1;for(d=(h=l.length)<(m=s.length)?h:m,c=0;c<d;c++)if(l[c]!=s[c])return l[c]>s[c]^n?1:-1;return h==m?0:h>m^n?1:-1}function Vt(a,i,n,t){if(a<i||a>n||a!==Or(a))throw Error(er+(t||"Argument")+(typeof a=="number"?a<i||a>n?" out of range: ":" not an integer: ":" not a primitive number: ")+String(a))}function ac(a){var i=a.c.length-1;return Ar(a.e/Pe)==i&&a.c[i]%2!=0}function ic(a,i){return(a.length>1?a.charAt(0)+"."+a.slice(1):a)+(i<0?"e":"e+")+i}function qa(a,i,n){var t,l;if(i<0){for(l=n+".";++i;l+=n);a=l+a}else if(t=a.length,++i>t){for(l=n,i-=t;--i;l+=n);a+=l}else i<t&&(a=a.slice(0,i)+"."+a.slice(i));return a}var Xt=P8(),Oc;(function(a){a[a.up=Xt.ROUND_UP]="up",a[a.down=Xt.ROUND_DOWN]="down",a[a.truncate=Xt.ROUND_DOWN]="truncate",a[a.halfUp=Xt.ROUND_HALF_UP]="halfUp",a[a.default=Xt.ROUND_HALF_UP]="default",a[a.halfDown=Xt.ROUND_HALF_DOWN]="halfDown",a[a.halfEven=Xt.ROUND_HALF_EVEN]="halfEven",a[a.banker=Xt.ROUND_HALF_EVEN]="banker",a[a.ceiling=Xt.ROUND_CEIL]="ceiling",a[a.ceil=Xt.ROUND_CEIL]="ceil",a[a.floor=Xt.ROUND_FLOOR]="floor"})(Oc||(Oc={}));function z8(a){var i;return(i=Oc[a])!==null&&i!==void 0?i:Oc.default}var Kh,zy;function gx(){if(zy)return Kh;zy=1;var a=9007199254740991,i=Math.floor;function n(t,l){var s="";if(!t||l<1||l>a)return s;do l%2&&(s+=t),l=i(l/2),l&&(t+=t);while(l);return s}return Kh=n,Kh}var Xh,Yy;function yx(){if(Yy)return Xh;Yy=1;var a=/\s/;function i(n){for(var t=n.length;t--&&a.test(n.charAt(t)););return t}return Xh=i,Xh}var $h,jy;function bx(){if(jy)return $h;jy=1;var a=yx(),i=/^\s+/;function n(t){return t&&t.slice(0,a(t)+1).replace(i,"")}return $h=n,$h}var Jh,By;function _x(){if(By)return Jh;By=1;var a=bx(),i=Za(),n=Bs(),t=NaN,l=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;function h(m){if(typeof m=="number")return m;if(n(m))return t;if(i(m)){var v=typeof m.valueOf=="function"?m.valueOf():m;m=i(v)?v+"":v}if(typeof m!="string")return m===0?m:+m;m=a(m);var g=s.test(m);return g||c.test(m)?d(m.slice(2),g?2:8):l.test(m)?t:+m}return Jh=h,Jh}var ep,Iy;function Y8(){if(Iy)return ep;Iy=1;var a=_x(),i=1/0,n=17976931348623157e292;function t(l){if(!l)return l===0?l:0;if(l=a(l),l===i||l===-1/0){var s=l<0?-1:1;return s*n}return l===l?l:0}return ep=t,ep}var tp,Fy;function Sx(){if(Fy)return tp;Fy=1;var a=Y8();function i(n){var t=a(n),l=t%1;return t===t?l?t-l:t:0}return tp=i,tp}var np,Gy;function Ex(){if(Gy)return np;Gy=1;var a=gx(),i=Jc(),n=Sx(),t=mo();function l(s,c,d){return(d?i(s,c,d):c===void 0)?c=1:c=n(c),a(t(s),c)}return np=l,np}var wx=Ex();const Dx=mr(wx);function Tx(a){return a.isZero()?1:Math.floor(Math.log10(a.abs().toNumber())+1)}function xx(a,{precision:i,significant:n}){return n&&i!==null&&i>0?i-Tx(a):i}function Ac(a,i){const n=xx(a,i);if(n===null)return a.toString();const t=z8(i.roundMode);if(n>=0)return a.toFixed(n,t);const l=Math.pow(10,Math.abs(n));return a=new Xt(a.div(l).toFixed(0,t)).times(l),a.toString()}function Mx(a,{formattedNumber:i,unit:n}){return a.replace("%n",i).replace("%u",n)}function Ox({significand:a,whole:i,precision:n}){if(i==="0"||n===null)return a;const t=Math.max(0,n-i.length);return(a??"").substr(0,t)}function ys(a,i){var n,t,l;const s=new Xt(a);if(i.raise&&!s.isFinite())throw new Error(`"${a}" is not a valid numeric value`);const c=Ac(s,i),d=new Xt(c),h=d.lt(0),m=d.isZero();let[v,g]=c.split(".");const S=[];let w;const M=(n=i.format)!==null&&n!==void 0?n:"%n",R=(t=i.negativeFormat)!==null&&t!==void 0?t:`-${M}`,C=h&&!m?R:M;for(v=v.replace("-","");v.length>0;)S.unshift(v.substr(Math.max(0,v.length-3),3)),v=v.substr(0,v.length-3);return v=S.join(""),w=S.join(i.delimiter),i.significant?g=Ox({whole:v,significand:g,precision:i.precision}):g=g??Dx("0",(l=i.precision)!==null&&l!==void 0?l:0),i.stripInsignificantZeros&&g&&(g=g.replace(/0+$/,"")),s.isNaN()&&(w=a.toString()),g&&s.isFinite()&&(w+=(i.separator||".")+g),Mx(C,{formattedNumber:w,unit:i.unit})}function ro(a,i,n){let t="";return(i instanceof String||typeof i=="string")&&(t=i),i instanceof Array&&(t=i.join(a.defaultSeparator)),n.scope&&(t=[n.scope,t].join(a.defaultSeparator)),t}function tl(a){var i,n;if(a===null)return"null";const t=typeof a;return t!=="object"?t:((n=(i=a==null?void 0:a.constructor)===null||i===void 0?void 0:i.name)===null||n===void 0?void 0:n.toLowerCase())||"object"}function rp(a,i,n){n=Object.keys(n).reduce((l,s)=>(l[a.transformKey(s)]=n[s],l),{});const t=i.match(a.placeholder);if(!t)return i;for(;t.length;){let l;const s=t.shift(),c=s.replace(a.placeholder,"$1");Pa(n[c])?l=n[c].toString().replace(/\$/gm,"_#$#_"):c in n?l=a.nullPlaceholder(a,s,i,n):l=a.missingPlaceholder(a,s,i,n);const d=new RegExp(s.replace(/\{/gm,"\\{").replace(/\}/gm,"\\}"),"g");i=i.replace(d,l)}return i.replace(/_#\$#_/g,"$")}function sa(a,i,n={}){n=Object.assign({},n);const t="locale"in n?n.locale:a.locale,l=tl(t),s=a.locales.get(l==="string"?t:typeof t).slice(),c=ro(a,i,n).split(a.defaultSeparator).map(h=>a.transformKey(h)),d=s.map(h=>c.reduce((m,v)=>m&&m[v],a.translations[h]));return d.push(n.defaultValue),d.find(h=>Pa(h))}function Ax(a,i){const n=new Xt(a);if(!n.isFinite())return a.toString();if(!i.delimiterPattern.global)throw new Error(`options.delimiterPattern must be a global regular expression; received ${i.delimiterPattern}`);let[t,l]=n.toString().split(".");return t=t.replace(i.delimiterPattern,s=>`${s}${i.delimiter}`),[t,l].filter(Boolean).join(i.separator)}var ap,Zy;function j8(){if(Zy)return ap;Zy=1;function a(i,n){for(var t=-1,l=n.length,s=i.length;++t<l;)i[s+t]=n[t];return i}return ap=a,ap}var ip,Vy;function Cx(){if(Vy)return ip;Vy=1;var a=js(),i=Xc(),n=Xr(),t=a?a.isConcatSpreadable:void 0;function l(s){return n(s)||i(s)||!!(t&&s&&s[t])}return ip=l,ip}var lp,Wy;function Rx(){if(Wy)return lp;Wy=1;var a=j8(),i=Cx();function n(t,l,s,c,d){var h=-1,m=t.length;for(s||(s=i),d||(d=[]);++h<m;){var v=t[h];l>0&&s(v)?l>1?n(v,l-1,s,c,d):a(d,v):c||(d[d.length]=v)}return d}return lp=n,lp}var op,Qy;function Nx(){if(Qy)return op;Qy=1;function a(i,n){for(var t=-1,l=i==null?0:i.length;++t<l;)if(n(i[t],t,i))return!0;return!1}return op=a,op}var sp,Ky;function B8(){if(Ky)return sp;Ky=1;var a=L8(),i=Nx(),n=q8(),t=1,l=2;function s(c,d,h,m,v,g){var S=h&t,w=c.length,M=d.length;if(w!=M&&!(S&&M>w))return!1;var R=g.get(c),C=g.get(d);if(R&&C)return R==d&&C==c;var U=-1,O=!0,Y=h&l?new a:void 0;for(g.set(c,d),g.set(d,c);++U<w;){var K=c[U],X=d[U];if(m)var re=S?m(X,K,U,d,c,g):m(K,X,U,c,d,g);if(re!==void 0){if(re)continue;O=!1;break}if(Y){if(!i(d,function(V,_){if(!n(Y,_)&&(K===V||v(K,V,h,m,g)))return Y.push(_)})){O=!1;break}}else if(!(K===X||v(K,X,h,m,g))){O=!1;break}}return g.delete(c),g.delete(d),O}return sp=s,sp}var up,Xy;function kx(){if(Xy)return up;Xy=1;function a(i){var n=-1,t=Array(i.size);return i.forEach(function(l,s){t[++n]=[s,l]}),t}return up=a,up}var cp,$y;function Lx(){if($y)return cp;$y=1;var a=js(),i=T8(),n=Is(),t=B8(),l=kx(),s=Om(),c=1,d=2,h="[object Boolean]",m="[object Date]",v="[object Error]",g="[object Map]",S="[object Number]",w="[object RegExp]",M="[object Set]",R="[object String]",C="[object Symbol]",U="[object ArrayBuffer]",O="[object DataView]",Y=a?a.prototype:void 0,K=Y?Y.valueOf:void 0;function X(re,V,_,E,D,q,k){switch(_){case O:if(re.byteLength!=V.byteLength||re.byteOffset!=V.byteOffset)return!1;re=re.buffer,V=V.buffer;case U:return!(re.byteLength!=V.byteLength||!q(new i(re),new i(V)));case h:case m:case S:return n(+re,+V);case v:return re.name==V.name&&re.message==V.message;case w:case R:return re==V+"";case g:var z=l;case M:var B=E&c;if(z||(z=s),re.size!=V.size&&!B)return!1;var H=k.get(re);if(H)return H==V;E|=d,k.set(re,V);var T=t(z(re),z(V),E,D,q,k);return k.delete(re),T;case C:if(K)return K.call(re)==K.call(V)}return!1}return cp=X,cp}var fp,Jy;function qx(){if(Jy)return fp;Jy=1;var a=j8(),i=Xr();function n(t,l,s){var c=l(t);return i(t)?c:a(c,s(t))}return fp=n,fp}var dp,e7;function Ux(){if(e7)return dp;e7=1;function a(i,n){for(var t=-1,l=i==null?0:i.length,s=0,c=[];++t<l;){var d=i[t];n(d,t,i)&&(c[s++]=d)}return c}return dp=a,dp}var hp,t7;function Hx(){if(t7)return hp;t7=1;function a(){return[]}return hp=a,hp}var pp,n7;function Px(){if(n7)return pp;n7=1;var a=Ux(),i=Hx(),n=Object.prototype,t=n.propertyIsEnumerable,l=Object.getOwnPropertySymbols,s=l?function(c){return c==null?[]:(c=Object(c),a(l(c),function(d){return t.call(c,d)}))}:i;return pp=s,pp}var mp,r7;function zx(){if(r7)return mp;r7=1;var a=x8(),i=a(Object.keys,Object);return mp=i,mp}var vp,a7;function Yx(){if(a7)return vp;a7=1;var a=Tm(),i=zx(),n=Object.prototype,t=n.hasOwnProperty;function l(s){if(!a(s))return i(s);var c=[];for(var d in Object(s))t.call(s,d)&&d!="constructor"&&c.push(d);return c}return vp=l,vp}var gp,i7;function Am(){if(i7)return gp;i7=1;var a=R8(),i=Yx(),n=vo();function t(l){return n(l)?a(l):i(l)}return gp=t,gp}var yp,l7;function jx(){if(l7)return yp;l7=1;var a=qx(),i=Px(),n=Am();function t(l){return a(l,n,i)}return yp=t,yp}var bp,o7;function Bx(){if(o7)return bp;o7=1;var a=jx(),i=1,n=Object.prototype,t=n.hasOwnProperty;function l(s,c,d,h,m,v){var g=d&i,S=a(s),w=S.length,M=a(c),R=M.length;if(w!=R&&!g)return!1;for(var C=w;C--;){var U=S[C];if(!(g?U in c:t.call(c,U)))return!1}var O=v.get(s),Y=v.get(c);if(O&&Y)return O==c&&Y==s;var K=!0;v.set(s,c),v.set(c,s);for(var X=g;++C<w;){U=S[C];var re=s[U],V=c[U];if(h)var _=g?h(V,re,U,c,s,v):h(re,V,U,s,c,v);if(!(_===void 0?re===V||m(re,V,d,h,v):_)){K=!1;break}X||(X=U=="constructor")}if(K&&!X){var E=s.constructor,D=c.constructor;E!=D&&"constructor"in s&&"constructor"in c&&!(typeof E=="function"&&E instanceof E&&typeof D=="function"&&D instanceof D)&&(K=!1)}return v.delete(s),v.delete(c),K}return bp=l,bp}var _p,s7;function Ix(){if(s7)return _p;s7=1;var a=dl(),i=ga(),n=a(i,"DataView");return _p=n,_p}var Sp,u7;function Fx(){if(u7)return Sp;u7=1;var a=dl(),i=ga(),n=a(i,"Promise");return Sp=n,Sp}var Ep,c7;function Gx(){if(c7)return Ep;c7=1;var a=dl(),i=ga(),n=a(i,"WeakMap");return Ep=n,Ep}var wp,f7;function Zx(){if(f7)return wp;f7=1;var a=Ix(),i=ym(),n=Fx(),t=U8(),l=Gx(),s=po(),c=g8(),d="[object Map]",h="[object Object]",m="[object Promise]",v="[object Set]",g="[object WeakMap]",S="[object DataView]",w=c(a),M=c(i),R=c(n),C=c(t),U=c(l),O=s;return(a&&O(new a(new ArrayBuffer(1)))!=S||i&&O(new i)!=d||n&&O(n.resolve())!=m||t&&O(new t)!=v||l&&O(new l)!=g)&&(O=function(Y){var K=s(Y),X=K==h?Y.constructor:void 0,re=X?c(X):"";if(re)switch(re){case w:return S;case M:return d;case R:return m;case C:return v;case U:return g}return K}),wp=O,wp}var Dp,d7;function Vx(){if(d7)return Dp;d7=1;var a=wm(),i=B8(),n=Lx(),t=Bx(),l=Zx(),s=Xr(),c=xm(),d=Mm(),h=1,m="[object Arguments]",v="[object Array]",g="[object Object]",S=Object.prototype,w=S.hasOwnProperty;function M(R,C,U,O,Y,K){var X=s(R),re=s(C),V=X?v:l(R),_=re?v:l(C);V=V==m?g:V,_=_==m?g:_;var E=V==g,D=_==g,q=V==_;if(q&&c(R)){if(!c(C))return!1;X=!0,E=!1}if(q&&!E)return K||(K=new a),X||d(R)?i(R,C,U,O,Y,K):n(R,C,V,U,O,Y,K);if(!(U&h)){var k=E&&w.call(R,"__wrapped__"),z=D&&w.call(C,"__wrapped__");if(k||z){var B=k?R.value():R,H=z?C.value():C;return K||(K=new a),Y(B,H,U,O,K)}}return q?(K||(K=new a),t(R,C,U,O,Y,K)):!1}return Dp=M,Dp}var Tp,h7;function I8(){if(h7)return Tp;h7=1;var a=Vx(),i=fl();function n(t,l,s,c,d){return t===l?!0:t==null||l==null||!i(t)&&!i(l)?t!==t&&l!==l:a(t,l,s,c,n,d)}return Tp=n,Tp}var xp,p7;function Wx(){if(p7)return xp;p7=1;var a=wm(),i=I8(),n=1,t=2;function l(s,c,d,h){var m=d.length,v=m,g=!h;if(s==null)return!v;for(s=Object(s);m--;){var S=d[m];if(g&&S[2]?S[1]!==s[S[0]]:!(S[0]in s))return!1}for(;++m<v;){S=d[m];var w=S[0],M=s[w],R=S[1];if(g&&S[2]){if(M===void 0&&!(w in s))return!1}else{var C=new a;if(h)var U=h(M,R,w,s,c,C);if(!(U===void 0?i(R,M,n|t,h,C):U))return!1}}return!0}return xp=l,xp}var Mp,m7;function F8(){if(m7)return Mp;m7=1;var a=Za();function i(n){return n===n&&!a(n)}return Mp=i,Mp}var Op,v7;function Qx(){if(v7)return Op;v7=1;var a=F8(),i=Am();function n(t){for(var l=i(t),s=l.length;s--;){var c=l[s],d=t[c];l[s]=[c,d,a(d)]}return l}return Op=n,Op}var Ap,g7;function G8(){if(g7)return Ap;g7=1;function a(i,n){return function(t){return t==null?!1:t[i]===n&&(n!==void 0||i in Object(t))}}return Ap=a,Ap}var Cp,y7;function Kx(){if(y7)return Cp;y7=1;var a=Wx(),i=Qx(),n=G8();function t(l){var s=i(l);return s.length==1&&s[0][2]?n(s[0][0],s[0][1]):function(c){return c===l||a(c,l,s)}}return Cp=t,Cp}var Rp,b7;function Xx(){if(b7)return Rp;b7=1;function a(i,n){return i!=null&&n in Object(i)}return Rp=a,Rp}var Np,_7;function $x(){if(_7)return Np;_7=1;var a=Xx(),i=S8();function n(t,l){return t!=null&&i(t,l,a)}return Np=n,Np}var kp,S7;function Jx(){if(S7)return kp;S7=1;var a=I8(),i=_8(),n=$x(),t=vm(),l=F8(),s=G8(),c=Kc(),d=1,h=2;function m(v,g){return t(v)&&l(g)?s(c(v),g):function(S){var w=i(S,v);return w===void 0&&w===g?n(S,v):a(g,w,d|h)}}return kp=m,kp}var Lp,E7;function eM(){if(E7)return Lp;E7=1;function a(i){return function(n){return n==null?void 0:n[i]}}return Lp=a,Lp}var qp,w7;function tM(){if(w7)return qp;w7=1;var a=_m();function i(n){return function(t){return a(t,n)}}return qp=i,qp}var Up,D7;function nM(){if(D7)return Up;D7=1;var a=eM(),i=tM(),n=vm(),t=Kc();function l(s){return n(s)?a(t(s)):i(s)}return Up=l,Up}var Hp,T7;function rM(){if(T7)return Hp;T7=1;var a=Kx(),i=Jx(),n=$c(),t=Xr(),l=nM();function s(c){return typeof c=="function"?c:c==null?n:typeof c=="object"?t(c)?i(c[0],c[1]):a(c):l(c)}return Hp=s,Hp}var Pp,x7;function aM(){if(x7)return Pp;x7=1;var a=D8(),i=Am();function n(t,l){return t&&a(t,l,i)}return Pp=n,Pp}var zp,M7;function iM(){if(M7)return zp;M7=1;var a=vo();function i(n,t){return function(l,s){if(l==null)return l;if(!a(l))return n(l,s);for(var c=l.length,d=t?c:-1,h=Object(l);(t?d--:++d<c)&&s(h[d],d,h)!==!1;);return l}}return zp=i,zp}var Yp,O7;function lM(){if(O7)return Yp;O7=1;var a=aM(),i=iM(),n=i(a);return Yp=n,Yp}var jp,A7;function oM(){if(A7)return jp;A7=1;var a=lM(),i=vo();function n(t,l){var s=-1,c=i(t)?Array(t.length):[];return a(t,function(d,h,m){c[++s]=l(d,h,m)}),c}return jp=n,jp}var Bp,C7;function sM(){if(C7)return Bp;C7=1;function a(i,n){var t=i.length;for(i.sort(n);t--;)i[t]=i[t].value;return i}return Bp=a,Bp}var Ip,R7;function uM(){if(R7)return Ip;R7=1;var a=Bs();function i(n,t){if(n!==t){var l=n!==void 0,s=n===null,c=n===n,d=a(n),h=t!==void 0,m=t===null,v=t===t,g=a(t);if(!m&&!g&&!d&&n>t||d&&h&&v&&!m&&!g||s&&h&&v||!l&&v||!c)return 1;if(!s&&!d&&!g&&n<t||g&&l&&c&&!s&&!d||m&&l&&c||!h&&c||!v)return-1}return 0}return Ip=i,Ip}var Fp,N7;function cM(){if(N7)return Fp;N7=1;var a=uM();function i(n,t,l){for(var s=-1,c=n.criteria,d=t.criteria,h=c.length,m=l.length;++s<h;){var v=a(c[s],d[s]);if(v){if(s>=m)return v;var g=l[s];return v*(g=="desc"?-1:1)}}return n.index-t.index}return Fp=i,Fp}var Gp,k7;function fM(){if(k7)return Gp;k7=1;var a=y8(),i=_m(),n=rM(),t=oM(),l=sM(),s=O8(),c=cM(),d=$c(),h=Xr();function m(v,g,S){g.length?g=a(g,function(R){return h(R)?function(C){return i(C,R.length===1?R[0]:R)}:R}):g=[d];var w=-1;g=a(g,s(n));var M=t(v,function(R,C,U){var O=a(g,function(Y){return Y(R)});return{criteria:O,index:++w,value:R}});return l(M,function(R,C){return c(R,C,S)})}return Gp=m,Gp}var Zp,L7;function dM(){if(L7)return Zp;L7=1;var a=Rx(),i=fM(),n=k8(),t=Jc(),l=n(function(s,c){if(s==null)return[];var d=c.length;return d>1&&t(s,c[0],c[1])?c=[]:d>2&&t(c[0],c[1],c[2])&&(c=[c[0]]),i(s,a(c,1),[])});return Zp=l,Zp}var hM=dM();const pM=mr(hM);var Vp,q7;function mM(){if(q7)return Vp;q7=1;function a(i,n,t){for(var l=-1,s=i.length,c=n.length,d={};++l<s;){var h=l<c?n[l]:void 0;t(d,i[l],h)}return d}return Vp=a,Vp}var Wp,U7;function vM(){if(U7)return Wp;U7=1;var a=C8(),i=mM();function n(t,l){return i(t||[],l||[],a)}return Wp=n,Wp}var gM=vM();const yM=mr(gM),Y2={0:"unit",1:"ten",2:"hundred",3:"thousand",6:"million",9:"billion",12:"trillion",15:"quadrillion","-1":"deci","-2":"centi","-3":"mili","-6":"micro","-9":"nano","-12":"pico","-15":"femto"},bM=yM(Object.values(Y2),Object.keys(Y2).map(a=>parseInt(a,10)));function _M(a,i,n){const t={roundMode:n.roundMode,precision:n.precision,significant:n.significant};let l;if(tl(n.units)==="string"){const g=n.units;if(l=sa(a,g),!l)throw new Error(`The scope "${a.locale}${a.defaultSeparator}${ro(a,g,{})}" couldn't be found`)}else l=n.units;let s=Ac(new Xt(i),t);const c=g=>pM(Object.keys(g).map(S=>bM[S]),S=>S*-1),d=(g,S)=>{const w=g.isZero()?0:Math.floor(Math.log10(g.abs().toNumber()));return c(S).find(M=>w>=M)||0},h=(g,S)=>{const w=Y2[S.toString()];return g[w]||""},m=d(new Xt(s),l),v=h(l,m);if(s=Ac(new Xt(s).div(Math.pow(10,m)),t),n.stripInsignificantZeros){let[g,S]=s.split(".");S=(S||"").replace(/0+$/,""),s=g,S&&(s+=`${n.separator}${S}`)}return n.format.replace("%n",s||"0").replace("%u",v).trim()}const H7=["byte","kb","mb","gb","tb","pb","eb"];function SM(a,i,n){const t=z8(n.roundMode),l=1024,s=new Xt(i).abs(),c=s.lt(l);let d;const h=(M,R)=>{const C=R.length-1,U=new Xt(Math.log(M.toNumber())).div(Math.log(l)).integerValue(Xt.ROUND_DOWN).toNumber();return Math.min(C,U)},m=M=>`number.human.storage_units.units.${c?"byte":M[v]}`,v=h(s,H7);c?d=s.integerValue():d=new Xt(Ac(s.div(Math.pow(l,v)),{significant:n.significant,precision:n.precision,roundMode:n.roundMode}));const g=a.translate("number.human.storage_units.format",{defaultValue:"%n %u"}),S=a.translate(m(H7),{count:s.integerValue().toNumber()});let w=d.toFixed(n.precision,t);return n.stripInsignificantZeros&&(w=w.replace(/(\..*?)0+$/,"$1").replace(/\.$/,"")),g.replace("%n",w).replace("%u",S)}function j2(a){if(a instanceof Date)return a;if(typeof a=="number"){const t=new Date;return t.setTime(a),t}const i=new String(a).match(/(\d{4})-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2}):(\d{2})(?:[.,](\d{1,3}))?)?(Z|\+00:?00)?/);if(i){const t=i.slice(1,8).map(S=>parseInt(S,10)||0);t[1]-=1;const[l,s,c,d,h,m,v]=t;return i[8]?new Date(Date.UTC(l,s,c,d,h,m,v)):new Date(l,s,c,d,h,m,v)}a.match(/([A-Z][a-z]{2}) ([A-Z][a-z]{2}) (\d+) (\d+:\d+:\d+) ([+-]\d+) (\d+)/)&&new Date().setTime(Date.parse([RegExp.$1,RegExp.$2,RegExp.$3,RegExp.$6,RegExp.$4,RegExp.$5].join(" ")));const n=new Date;return n.setTime(Date.parse(a)),n}function P7({i18n:a,count:i,scope:n,options:t,baseScope:l}){t=Object.assign({},t);let s,c;if(typeof n=="object"&&n?s=n:s=sa(a,n,t),!s)return a.missingTranslation.get(n,t);const h=a.pluralization.get(t.locale)(a,i),m=[];for(;h.length;){const v=h.shift();if(Pa(s[v])){c=s[v];break}m.push(v)}return Pa(c)?(t.count=i,a.interpolate(a,c,t)):a.missingTranslation.get(l.split(a.defaultSeparator).concat([m[0]]),t)}const EM={meridian:{am:"AM",pm:"PM"},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbrDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],monthNames:[null,"January","February","March","April","May","June","July","August","September","October","November","December"],abbrMonthNames:[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]};function wM(a,i,n={}){const{abbrDayNames:t,dayNames:l,abbrMonthNames:s,monthNames:c,meridian:d,utc:h}=Object.assign(Object.assign({},EM),n);if(isNaN(a.getTime()))throw new Error("strftime() requires a valid date object, but received an invalid date.");const m=h?a.getUTCDay():a.getDay(),v=h?a.getUTCDate():a.getDate(),g=h?a.getUTCFullYear():a.getFullYear(),S=(h?a.getUTCMonth():a.getMonth())+1,w=h?a.getUTCHours():a.getHours();let M=w;const R=w>11?"pm":"am",C=h?a.getUTCSeconds():a.getSeconds(),U=h?a.getUTCMinutes():a.getMinutes(),O=h?0:a.getTimezoneOffset(),Y=Math.floor(Math.abs(O/60)),K=Math.abs(O)-Y*60,X=(O>0?"-":"+")+(Y.toString().length<2?"0"+Y:Y)+(K.toString().length<2?"0"+K:K);return M>12?M=M-12:M===0&&(M=12),i=i.replace("%a",t[m]),i=i.replace("%A",l[m]),i=i.replace("%b",s[S]),i=i.replace("%B",c[S]),i=i.replace("%d",v.toString().padStart(2,"0")),i=i.replace("%e",v.toString()),i=i.replace("%-d",v.toString()),i=i.replace("%H",w.toString().padStart(2,"0")),i=i.replace("%-H",w.toString()),i=i.replace("%k",w.toString()),i=i.replace("%I",M.toString().padStart(2,"0")),i=i.replace("%-I",M.toString()),i=i.replace("%l",M.toString()),i=i.replace("%m",S.toString().padStart(2,"0")),i=i.replace("%-m",S.toString()),i=i.replace("%M",U.toString().padStart(2,"0")),i=i.replace("%-M",U.toString()),i=i.replace("%p",d[R]),i=i.replace("%P",d[R].toLowerCase()),i=i.replace("%S",C.toString().padStart(2,"0")),i=i.replace("%-S",C.toString()),i=i.replace("%w",m.toString()),i=i.replace("%y",g.toString().padStart(2,"0").substr(-2)),i=i.replace("%-y",g.toString().padStart(2,"0").substr(-2).replace(/^0+/,"")),i=i.replace("%Y",g.toString()),i=i.replace(/%z/i,X),i}var Qp,z7;function DM(){if(z7)return Qp;z7=1;var a=Math.ceil,i=Math.max;function n(t,l,s,c){for(var d=-1,h=i(a((l-t)/(s||1)),0),m=Array(h);h--;)m[c?h:++d]=t,t+=s;return m}return Qp=n,Qp}var Kp,Y7;function TM(){if(Y7)return Kp;Y7=1;var a=DM(),i=Jc(),n=Y8();function t(l){return function(s,c,d){return d&&typeof d!="number"&&i(s,c,d)&&(c=d=void 0),s=n(s),c===void 0?(c=s,s=0):c=n(c),d=d===void 0?s<c?1:-1:n(d),a(s,c,d,l)}}return Kp=t,Kp}var Xp,j7;function xM(){if(j7)return Xp;j7=1;var a=TM(),i=a();return Xp=i,Xp}var MM=xM();const OM=mr(MM),dr=(a,i,n)=>n>=a&&n<=i;function AM(a,i,n,t={}){const l=t.scope||"datetime.distance_in_words",s=(V,_=0)=>a.t(V,{count:_,scope:l});i=j2(i),n=j2(n);let c=i.getTime()/1e3,d=n.getTime()/1e3;c>d&&([i,n,c,d]=[n,i,d,c]);const h=Math.round(d-c),m=Math.round((d-c)/60),g=m/60/24,S=Math.round(m/60),w=Math.round(g),M=Math.round(w/30);if(dr(0,1,m))return t.includeSeconds?dr(0,4,h)?s("less_than_x_seconds",5):dr(5,9,h)?s("less_than_x_seconds",10):dr(10,19,h)?s("less_than_x_seconds",20):dr(20,39,h)?s("half_a_minute"):dr(40,59,h)?s("less_than_x_minutes",1):s("x_minutes",1):m===0?s("less_than_x_minutes",1):s("x_minutes",m);if(dr(2,44,m))return s("x_minutes",m);if(dr(45,89,m))return s("about_x_hours",1);if(dr(90,1439,m))return s("about_x_hours",S);if(dr(1440,2519,m))return s("x_days",1);if(dr(2520,43199,m))return s("x_days",w);if(dr(43200,86399,m))return s("about_x_months",Math.round(m/43200));if(dr(86400,525599,m))return s("x_months",M);let R=i.getFullYear();i.getMonth()+1>=3&&(R+=1);let C=n.getFullYear();n.getMonth()+1<3&&(C-=1);const U=R>C?0:OM(R,C).filter(V=>new Date(V,1,29).getMonth()==1).length,O=525600,Y=U*1440,K=m-Y,X=Math.trunc(K/O),re=parseFloat((K/O-X).toPrecision(3));return re<.25?s("about_x_years",X):re<.75?s("over_x_years",X):s("almost_x_years",X+1)}const CM=function(a,i){i instanceof Array&&(i=i.join(a.defaultSeparator));const n=i.split(a.defaultSeparator).slice(-1)[0];return a.missingTranslationPrefix+n.replace("_"," ").replace(/([a-z])([A-Z])/g,(t,l,s)=>`${l} ${s.toLowerCase()}`)},RM=(a,i,n)=>{const t=ro(a,i,n),l="locale"in n?n.locale:a.locale,s=tl(l);return`[missing "${[s=="string"?l:s,t].join(a.defaultSeparator)}" translation]`},NM=(a,i,n)=>{const t=ro(a,i,n),l=[a.locale,t].join(a.defaultSeparator);throw new Error(`Missing translation: ${l}`)};class kM{constructor(i){this.i18n=i,this.registry={},this.register("guess",CM),this.register("message",RM),this.register("error",NM)}register(i,n){this.registry[i]=n}get(i,n){var t;return this.registry[(t=n.missingBehavior)!==null&&t!==void 0?t:this.i18n.missingBehavior](this.i18n,i,n)}}var LM=function(a,i,n,t){function l(s){return s instanceof n?s:new n(function(c){c(s)})}return new(n||(n=Promise))(function(s,c){function d(v){try{m(t.next(v))}catch(g){c(g)}}function h(v){try{m(t.throw(v))}catch(g){c(g)}}function m(v){v.done?s(v.value):l(v.value).then(d,h)}m((t=t.apply(a,i||[])).next())})};const $p={defaultLocale:"en",locale:"en",defaultSeparator:".",placeholder:/(?:\{\{|%\{)(.*?)(?:\}\}?)/gm,enableFallback:!1,missingBehavior:"message",missingTranslationPrefix:"",missingPlaceholder:(a,i)=>`[missing "${i}" value]`,nullPlaceholder:(a,i,n,t)=>a.missingPlaceholder(a,i,n,t),transformKey:a=>a};let qM=class{constructor(i={},n={}){this._locale=$p.locale,this._defaultLocale=$p.defaultLocale,this._version=0,this.onChangeHandlers=[],this.translations={},this.t=this.translate,this.p=this.pluralize,this.l=this.localize,this.distanceOfTimeInWords=this.timeAgoInWords;const{locale:t,enableFallback:l,missingBehavior:s,missingTranslationPrefix:c,missingPlaceholder:d,nullPlaceholder:h,defaultLocale:m,defaultSeparator:v,placeholder:g,transformKey:S}=Object.assign(Object.assign({},$p),n);this.locale=t,this.defaultLocale=m,this.defaultSeparator=v,this.enableFallback=l,this.locale=t,this.missingBehavior=s,this.missingTranslationPrefix=c,this.missingPlaceholder=d,this.nullPlaceholder=h,this.placeholder=g,this.pluralization=new WT(this),this.locales=new FT(this),this.missingTranslation=new kM(this),this.transformKey=S,this.interpolate=rp,this.store(i)}store(i){OT(this.translations,i),this.hasChanged()}get locale(){return this._locale||this.defaultLocale||"en"}set locale(i){if(typeof i!="string")throw new Error(`Expected newLocale to be a string; got ${tl(i)}`);const n=this._locale!==i;this._locale=i,n&&this.hasChanged()}get defaultLocale(){return this._defaultLocale||"en"}set defaultLocale(i){if(typeof i!="string")throw new Error(`Expected newLocale to be a string; got ${tl(i)}`);const n=this._defaultLocale!==i;this._defaultLocale=i,n&&this.hasChanged()}translate(i,n){n=Object.assign({},n);const t=mx(this,i,n);let l;return t.some(c=>(Pa(c.scope)?l=sa(this,c.scope,n):Pa(c.message)&&(l=c.message),l!=null))?(typeof l=="string"?l=this.interpolate(this,l,n):typeof l=="object"&&l&&Pa(n.count)&&(l=P7({i18n:this,count:n.count||0,scope:l,options:n,baseScope:ro(this,i,n)})),n&&l instanceof Array&&(l=l.map(c=>typeof c=="string"?rp(this,c,n):c)),l):this.missingTranslation.get(i,n)}pluralize(i,n,t){return P7({i18n:this,count:i,scope:n,options:Object.assign({},t),baseScope:ro(this,n,t??{})})}localize(i,n,t){if(t=Object.assign({},t),n==null)return"";switch(i){case"currency":return this.numberToCurrency(n);case"number":return ys(n,Object.assign({delimiter:",",precision:3,separator:".",significant:!1,stripInsignificantZeros:!1},sa(this,"number.format")));case"percentage":return this.numberToPercentage(n);default:{let l;return i.match(/^(date|time)/)?l=this.toTime(i,n):l=n.toString(),rp(this,l,t)}}}toTime(i,n){const t=j2(n),l=sa(this,i);return t.toString().match(/invalid/i)||!l?t.toString():this.strftime(t,l)}numberToCurrency(i,n={}){return ys(i,Object.assign(Object.assign(Object.assign({delimiter:",",format:"%u%n",precision:2,separator:".",significant:!1,stripInsignificantZeros:!1,unit:"$"},Ir(this.get("number.format"))),Ir(this.get("number.currency.format"))),n))}numberToPercentage(i,n={}){return ys(i,Object.assign(Object.assign(Object.assign({delimiter:"",format:"%n%",precision:3,stripInsignificantZeros:!1,separator:".",significant:!1},Ir(this.get("number.format"))),Ir(this.get("number.percentage.format"))),n))}numberToHumanSize(i,n={}){return SM(this,i,Object.assign(Object.assign(Object.assign({delimiter:"",precision:3,significant:!0,stripInsignificantZeros:!0,units:{billion:"Billion",million:"Million",quadrillion:"Quadrillion",thousand:"Thousand",trillion:"Trillion",unit:""}},Ir(this.get("number.human.format"))),Ir(this.get("number.human.storage_units"))),n))}numberToHuman(i,n={}){return _M(this,i,Object.assign(Object.assign(Object.assign({delimiter:"",separator:".",precision:3,significant:!0,stripInsignificantZeros:!0,format:"%n %u",roundMode:"default",units:{billion:"Billion",million:"Million",quadrillion:"Quadrillion",thousand:"Thousand",trillion:"Trillion",unit:""}},Ir(this.get("number.human.format"))),Ir(this.get("number.human.decimal_units"))),n))}numberToRounded(i,n){return ys(i,Object.assign({unit:"",precision:3,significant:!1,separator:".",delimiter:"",stripInsignificantZeros:!1},n))}numberToDelimited(i,n={}){return Ax(i,Object.assign({delimiterPattern:/(\d)(?=(\d\d\d)+(?!\d))/g,delimiter:",",separator:"."},n))}withLocale(i,n){return LM(this,void 0,void 0,function*(){const t=this.locale;try{this.locale=i,yield n()}finally{this.locale=t}})}strftime(i,n,t={}){return wM(i,n,Object.assign(Object.assign(Object.assign({},Ir(sa(this,"date"))),{meridian:{am:sa(this,"time.am")||"AM",pm:sa(this,"time.pm")||"PM"}}),t))}update(i,n,t={strict:!1}){if(t.strict&&!WD(this.translations,i))throw new Error(`The path "${i}" is not currently defined`);const l=ID(this.translations,i),s=tl(l),c=tl(n);if(t.strict&&s!==c)throw new Error(`The current type for "${i}" is "${s}", but you're trying to override it with "${c}"`);let d;c==="object"?d=Object.assign(Object.assign({},l),n):d=n;const h=i.split(this.defaultSeparator),m=h.pop();let v=this.translations;for(const g of h)v[g]||(v[g]={}),v=v[g];v[m]=d,this.hasChanged()}toSentence(i,n={}){const{wordsConnector:t,twoWordsConnector:l,lastWordConnector:s}=Object.assign(Object.assign({wordsConnector:", ",twoWordsConnector:" and ",lastWordConnector:", and "},Ir(sa(this,"support.array"))),n),c=i.length;switch(c){case 0:return"";case 1:return`${i[0]}`;case 2:return i.join(l);default:return[i.slice(0,c-1).join(t),s,i[c-1]].join("")}}timeAgoInWords(i,n,t={}){return AM(this,i,n,t)}onChange(i){return this.onChangeHandlers.push(i),()=>{this.onChangeHandlers.splice(this.onChangeHandlers.indexOf(i),1)}}get version(){return this._version}formatNumber(i,n={}){return n=Object.assign(Object.assign({delimiter:",",precision:3,separator:".",unit:"",format:"%u%n",significant:!1,stripInsignificantZeros:!1},Ir(this.get("number.format"))),n),ys(i,n)}get(i){return sa(this,i)}runCallbacks(){this.onChangeHandlers.forEach(i=>i(this))}hasChanged(){this._version+=1,this.runCallbacks()}};function UM(a,i,n){const t=new URLSearchParams(a);return t.set(i,n),"?"+t.toString()}function HM(a,i){return new URLSearchParams(i).get(a)}function Z8(a){return a!=null?(a.preventDefault(),a.stopPropagation(),!1):!0}function Ua(a){return a==null?!0:Array.isArray(a)?a.length===0:typeof a=="string"?a.trim().length===0:a&&a.getTime?a.getTime()!==a.getTime():typeof a=="object"?Object.keys(a).length===0:!1}/*! js-cookie v3.0.5 | MIT */function lc(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)a[t]=n[t]}return a}var PM={read:function(a){return a[0]==='"'&&(a=a.slice(1,-1)),a.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(a){return encodeURIComponent(a).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function B2(a,i){function n(l,s,c){if(!(typeof document>"u")){c=lc({},i,c),typeof c.expires=="number"&&(c.expires=new Date(Date.now()+c.expires*864e5)),c.expires&&(c.expires=c.expires.toUTCString()),l=encodeURIComponent(l).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var d="";for(var h in c)c[h]&&(d+="; "+h,c[h]!==!0&&(d+="="+c[h].split(";")[0]));return document.cookie=l+"="+a.write(s,l)+d}}function t(l){if(!(typeof document>"u"||arguments.length&&!l)){for(var s=document.cookie?document.cookie.split("; "):[],c={},d=0;d<s.length;d++){var h=s[d].split("="),m=h.slice(1).join("=");try{var v=decodeURIComponent(h[0]);if(c[v]=a.read(m,v),l===v)break}catch{}}return l?c[l]:c}}return Object.create({set:n,get:t,remove:function(l,s){n(l,"",lc({},s,{expires:-1}))},withAttributes:function(l){return B2(this.converter,lc({},this.attributes,l))},withConverter:function(l){return B2(lc({},this.converter,l),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(a)}})}var V8=B2(PM,{path:"/"});const ke=new qM({en:hD,nl:pD});let ol=HM("lang",window.location.search);Ua(ol)&&(ol=V8.get("lang"));Ua(ol)&&(ol=navigator.language.toLowerCase().substring(0,2));["nl","en"].indexOf(ol)===-1&&(ol="en");ke.locale=ol;ke.missingTranslation.register("report-error",(a,i)=>`[missing "${i}" translation]`);ke.missingBehavior="report-error";const B7=a=>{let i;const n=new Set,t=(m,v)=>{const g=typeof m=="function"?m(i):m;if(!Object.is(g,i)){const S=i;i=v??(typeof g!="object"||g===null)?g:Object.assign({},i,g),n.forEach(w=>w(i,S))}},l=()=>i,d={setState:t,getState:l,getInitialState:()=>h,subscribe:m=>(n.add(m),()=>n.delete(m))},h=i=a(t,l,d);return d},zM=a=>a?B7(a):B7,YM=a=>a;function jM(a,i=YM){const n=Z.useSyncExternalStore(a.subscribe,()=>i(a.getState()),()=>i(a.getInitialState()));return Z.useDebugValue(n),n}const I7=a=>{const i=zM(a),n=t=>jM(i,t);return Object.assign(n,i),n},BM=a=>a?I7(a):I7,Pn=BM(a=>({user:{},controlCode:{},flash:{msg:"",className:"hide",type:"info"},setFlash:(i,n)=>{a({flash:{msg:i,type:n||"info"}}),(!n||n==="info")&&setTimeout(()=>a({flash:{}}),5e3)},clearFlash:()=>a({flash:{}}),breadcrumbPath:[]}));function IM(a){return i=>{if(!i.ok){if(i.type==="opaqueredirect")return setTimeout(()=>window.location.reload(!0),100),i;const n=new Error(i.statusText);if(n.response=i,a&&i.status===401){window.location.reload(!0);return}throw a&&setTimeout(()=>{throw n},250),n}return i}}function FM(a,i,n={},t=!0){const l={Accept:"application/json","Content-Type":"application/json","Accept-Language":ke.locale,"X-CSRF-TOKEN":Pn.getState().csrfToken,...n},s=Object.assign({},{headers:l},i,{credentials:"same-origin",redirect:"manual",changeOrigin:!1});return fetch(a,s).then(IM(t))}function Fs(a,i={},n={},t=!0){return FM(a,i,n,t).then(l=>l.json())}function GM(a,i,n,t=!0){const l=JSON.stringify(i);return Fs(a,{method:n,body:l},{},t)}function ZM(){return Fs("/myconext/api/sp/me")}function W8(){const a={credentials:"same-origin",redirect:"manual"};return Fs("/myconext/api/sp/logout").then(()=>fetch("/Shibboleth.sso/Logout",a))}function VM(a){return Fs(`/myconext/api/servicedesk/user/${a}`)}function WM(a){return Fs(`/myconext/api/servicedesk/validate?dayOfBirth=${encodeURIComponent(a)}`)}function QM(a,i,n,t,l,s){return GM("/myconext/api/servicedesk/approve",{firstName:a,lastName:i,dayOfBirth:n,code:t,documentId:l,userUid:s},"PUT",!1)}const KM=()=>{const a=Pn(n=>n.flash),i=Pn(n=>n.clearFlash);return!Ua(a)&&(a.type==="error"||a.type==="warning")?W.jsx(LE,{message:a.msg,action:a.action,actionLabel:a.actionLabel,alertType:a.type==="warning"?Ei.Warning:Ei.Error,close:i}):!Ua(a)&&!Ua(a.msg)?W.jsx(BE,{children:W.jsx(om,{message:a.msg,toasterType:Di.Success})}):null},XM=({user:a})=>{const i=cl(),[n,t]=y.useState(!1),l=c=>{Z8(c),W8().then(()=>{Pn.setState(()=>({breadcrumbPath:[],user:{},controlCode:{}})),i("/login"),setTimeout(()=>Pn.setState(()=>({user:null,breadcrumbPath:[]})),125)})},s=()=>W.jsx(W.Fragment,{children:W.jsx("ul",{children:W.jsx("li",{children:W.jsx("a",{href:"/logout",onClick:l,children:ke.t("header.links.logout")})})})});return W.jsx("div",{className:"user-menu",tabIndex:1,onBlur:()=>setTimeout(()=>t(!1),325),children:W.jsx(IE,{isOpen:n,children:s(),userName:a.displayName,organisationName:a.schacHomeOrganization,toggle:()=>t(!n)})})},$M=()=>{const{user:a}=Pn(i=>i);return W.jsx("div",{className:"header-container",children:W.jsxs("div",{className:"header-inner",children:[W.jsx(mm,{className:"logo",to:"/",children:W.jsx($9,{label:ke.t("header.title"),position:J9.Bottom,color:L2.White})}),a&&a.serviceDeskMember&&W.jsx(XM,{user:a,actions:[]})]})})},JM=({title:a,titleId:i,...n},t)=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",width:860.13137,height:571.14799,viewBox:"0 0 860.13137 571.14799",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("path",{d:"M605.66974,324.95306c-7.66934-12.68446-16.7572-26.22768-30.98954-30.36953-16.482-4.7965-33.4132,4.73193-47.77473,14.13453a1392.15692,1392.15692,0,0,0-123.89338,91.28311l.04331.49238q46.22556-3.1878,92.451-6.37554c22.26532-1.53546,45.29557-3.2827,64.97195-13.8156,7.46652-3.99683,14.74475-9.33579,23.20555-9.70782,10.51175-.46217,19.67733,6.87923,26.8802,14.54931,42.60731,45.371,54.937,114.75409,102.73817,154.61591A1516.99453,1516.99453,0,0,0,605.66974,324.95306Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M867.57068,709.78146c-4.71167-5.94958-6.6369-7.343-11.28457-13.34761q-56.7644-73.41638-106.70791-151.79237-33.92354-53.23-64.48275-108.50439-14.54864-26.2781-28.29961-52.96872-10.67044-20.6952-20.8646-41.63793c-1.94358-3.98782-3.8321-7.99393-5.71122-12.00922-4.42788-9.44232-8.77341-18.93047-13.43943-28.24449-5.31686-10.61572-11.789-21.74485-21.55259-28.877a29.40493,29.40493,0,0,0-15.31855-5.89458c-7.948-.51336-15.28184,2.76855-22.17568,6.35295-50.43859,26.301-97.65922,59.27589-140.3696,96.79771A730.77816,730.77816,0,0,0,303.32241,496.24719c-1.008,1.43927-3.39164.06417-2.37419-1.38422q6.00933-8.49818,12.25681-16.81288A734.817,734.817,0,0,1,500.80465,303.06436q18.24824-11.82581,37.18269-22.54245c6.36206-3.60275,12.75188-7.15967,19.25136-10.49653,6.37146-3.27274,13.13683-6.21547,20.41563-6.32547,24.7701-.385,37.59539,27.66695,46.40506,46.54248q4.15283,8.9106,8.40636,17.76626,16.0748,33.62106,33.38729,66.628,10.68453,20.379,21.83683,40.51955,34.7071,62.71816,73.77854,122.897c34.5059,53.1429,68.73651,100.08874,108.04585,149.78472C870.59617,709.21309,868.662,711.17491,867.57068,709.78146Z",transform:"translate(-169.93432 -164.42601)",fill:"#e4e4e4"}),y.createElement("path",{d:"M414.91613,355.804c-1.43911-1.60428-2.86927-3.20856-4.31777-4.81284-11.42244-12.63259-23.6788-25.11847-39.3644-32.36067a57.11025,57.11025,0,0,0-23.92679-5.54622c-8.56213.02753-16.93178,2.27348-24.84306,5.41792-3.74034,1.49427-7.39831,3.1902-11.00078,4.99614-4.11634,2.07182-8.15927,4.28118-12.1834,6.50883q-11.33112,6.27044-22.36816,13.09089-21.9606,13.57221-42.54566,29.21623-10.67111,8.11311-20.90174,16.75788-9.51557,8.03054-18.64618,16.492c-1.30169,1.20091-3.24527-.74255-1.94358-1.94347,1.60428-1.49428,3.22691-2.97938,4.84955-4.44613q6.87547-6.21546,13.9712-12.19257,12.93921-10.91827,26.54851-20.99312,21.16293-15.67614,43.78288-29.22541,11.30361-6.76545,22.91829-12.96259c2.33794-1.24675,4.70318-2.466,7.09572-3.6211a113.11578,113.11578,0,0,1,16.86777-6.86632,60.0063,60.0063,0,0,1,25.476-2.50265,66.32706,66.32706,0,0,1,23.50512,8.1314c15.40091,8.60812,27.34573,21.919,38.97,34.90915C418.03337,355.17141,416.09875,357.12405,414.91613,355.804Z",transform:"translate(-169.93432 -164.42601)",fill:"#e4e4e4"}),y.createElement("path",{d:"M730.47659,486.71092l36.90462-13.498,18.32327-6.70183c5.96758-2.18267,11.92082-4.66747,18.08988-6.23036a28.53871,28.53871,0,0,1,16.37356.20862,37.73753,37.73753,0,0,1,12.771,7.91666,103.63965,103.63965,0,0,1,10.47487,11.18643c3.98932,4.79426,7.91971,9.63877,11.86772,14.46706q24.44136,29.89094,48.56307,60.04134,24.12117,30.14991,47.91981,60.556,23.85681,30.48041,47.38548,61.21573,2.88229,3.76518,5.75966,7.53415c1.0598,1.38809,3.44949.01962,2.37472-1.38808Q983.582,650.9742,959.54931,620.184q-24.09177-30.86383-48.51647-61.46586-24.42421-30.60141-49.17853-60.93743-6.16706-7.55761-12.35445-15.09858c-3.47953-4.24073-6.91983-8.52718-10.73628-12.47427-7.00539-7.24516-15.75772-13.64794-26.23437-13.82166-6.15972-.10214-12.121,1.85248-17.844,3.92287-6.16968,2.232-12.32455,4.50571-18.48633,6.75941l-37.16269,13.59243-9.29067,3.3981c-1.64875.603-.93651,3.2619.73111,2.652Z",transform:"translate(-169.93432 -164.42601)",fill:"#e4e4e4"}),y.createElement("path",{d:"M366.37741,334.52609c-18.75411-9.63866-42.77137-7.75087-60.00508,4.29119a855.84708,855.84708,0,0,1,97.37056,22.72581C390.4603,353.75916,380.07013,341.5635,366.37741,334.52609Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M306.18775,338.7841l-3.61042,2.93462c1.22123-1.02713,2.4908-1.99013,3.795-2.90144C306.31073,338.80665,306.24935,338.79473,306.18775,338.7841Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M831.54929,486.84576c-3.6328-4.42207-7.56046-9.05222-12.99421-10.84836l-5.07308.20008A575.436,575.436,0,0,0,966.74929,651.418Q899.14929,569.13192,831.54929,486.84576Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M516.08388,450.36652A37.4811,37.4811,0,0,0,531.015,471.32518c2.82017,1.92011,6.15681,3.76209,7.12158,7.03463a8.37858,8.37858,0,0,1-.87362,6.1499,24.88351,24.88351,0,0,1-3.86126,5.04137l-.13667.512c-6.99843-4.14731-13.65641-9.3934-17.52227-16.55115s-4.40553-16.53895.34116-23.14544",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M749.08388,653.36652A37.4811,37.4811,0,0,0,764.015,674.32518c2.82017,1.92011,6.15681,3.76209,7.12158,7.03463a8.37858,8.37858,0,0,1-.87362,6.1499,24.88351,24.88351,0,0,1-3.86126,5.04137l-.13667.512c-6.99843-4.14731-13.65641-9.3934-17.52227-16.55115s-4.40553-16.53895.34116-23.14544",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M284.08388,639.36652A37.4811,37.4811,0,0,0,299.015,660.32518c2.82017,1.92011,6.15681,3.76209,7.12158,7.03463a8.37858,8.37858,0,0,1-.87362,6.1499,24.88351,24.88351,0,0,1-3.86126,5.04137l-.13667.512c-6.99843-4.14731-13.65641-9.3934-17.52227-16.55115s-4.40553-16.53895.34116-23.14544",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("circle",{cx:649.24878,cy:51,r:51,fill:"#6c63ff"}),y.createElement("path",{d:"M911.21851,176.29639c-24.7168-3.34094-52.93512,10.01868-59.34131,34.12353a21.59653,21.59653,0,0,0-41.09351,2.10871l2.82972,2.02667a372.27461,372.27461,0,0,0,160.65881-.72638C957.07935,195.76,935.93537,179.63727,911.21851,176.29639Z",transform:"translate(-169.93432 -164.42601)",fill:"#f0f0f0"}),y.createElement("path",{d:"M805.21851,244.29639c-24.7168-3.34094-52.93512,10.01868-59.34131,34.12353a21.59653,21.59653,0,0,0-41.09351,2.10871l2.82972,2.02667a372.27461,372.27461,0,0,0,160.65881-.72638C851.07935,263.76,829.93537,247.63727,805.21851,244.29639Z",transform:"translate(-169.93432 -164.42601)",fill:"#f0f0f0"}),y.createElement("path",{d:"M1020.94552,257.15423a.98189.98189,0,0,1-.30176-.04688C756.237,173.48919,523.19942,184.42376,374.26388,208.32122c-20.26856,3.251-40.59131,7.00586-60.40381,11.16113-5.05811,1.05957-10.30567,2.19532-15.59668,3.37793-6.31885,1.40723-12.55371,2.85645-18.53223,4.30567q-3.873.917-7.59472,1.84863c-3.75831.92773-7.57178,1.89453-11.65967,2.957-4.56787,1.17774-9.209,2.41309-13.79737,3.67188a.44239.44239,0,0,1-.05127.01465l.00049.001c-5.18261,1.415-10.33789,2.8711-15.32324,4.3252-2.69824.77929-5.30371,1.54785-7.79932,2.30664-.2788.07715-.52587.15136-.77636.22754l-.53614.16308c-.31054.09473-.61718.1875-.92382.27539l-.01953.00586.00048.001-.81152.252c-.96777.293-1.91211.5791-2.84082.86426-24.54492,7.56641-38.03809,12.94922-38.17139,13.00195a1,1,0,1,1-.74414-1.85644c.13428-.05274,13.69336-5.46289,38.32764-13.05762.93213-.28613,1.87891-.57226,2.84961-.86621l.7539-.23438c.02588-.00976.05176-.01757.07813-.02539.30518-.08691.60986-.17968.91943-.27343l.53711-.16309c.26758-.08105.53125-.16113.80127-.23535,2.47852-.75391,5.09278-1.52441,7.79785-2.30664,4.98731-1.45508,10.14746-2.91113,15.334-4.32813.01611-.00586.03271-.00976.04883-.01464v-.001c4.60449-1.2627,9.26269-2.50293,13.84521-3.68457,4.09424-1.06348,7.915-2.03223,11.67969-2.96192q3.73755-.93017,7.60937-1.85253c5.98536-1.45118,12.23291-2.90235,18.563-4.3125,5.29932-1.1836,10.55567-2.32227,15.62207-3.38282,19.84326-4.16211,40.19776-7.92285,60.49707-11.17871C523.09591,182.415,756.46749,171.46282,1021.2463,255.2011a.99974.99974,0,0,1-.30078,1.95313Z",transform:"translate(-169.93432 -164.42601)",fill:"#ccc"}),y.createElement("path",{d:"M432.92309,584.266a6.72948,6.72948,0,0,0-1.7-2.67,6.42983,6.42983,0,0,0-.92-.71c-2.61-1.74-6.51-2.13-8.99,0a5.81012,5.81012,0,0,0-.69.71q-1.11,1.365-2.28,2.67c-1.28,1.46-2.59,2.87-3.96,4.24-.39.38-.78.77-1.18,1.15-.23.23-.46.45-.69.67-.88.84-1.78,1.65-2.69,2.45-.48.43-.96.85-1.45,1.26-.73.61-1.46,1.22-2.2,1.81-.07.05-.14.1-.21.16-.02.01-.03.03-.05.04-.01,0-.02,0-.03.02a.17861.17861,0,0,0-.07.05c-.22.15-.37.25-.48.34.04-.01995.08-.05.12-.07-.18.14-.37.28-.55.42-1.75,1.29-3.54,2.53-5.37,3.69a99.21022,99.21022,0,0,1-14.22,7.55c-.33.13-.67.27-1.01.4a85.96993,85.96993,0,0,1-40.85,6.02q-2.13008-.165-4.26-.45c-1.64-.24-3.27-.53-4.89-.86a97.93186,97.93186,0,0,1-18.02-5.44,118.65185,118.65185,0,0,1-20.66-12.12c-1-.71-2.01-1.42-3.02-2.11,1.15-2.82,2.28-5.64,3.38-8.48.55-1.37,1.08-2.74,1.6-4.12,4.09-10.63,7.93-21.36,11.61-32.13q5.58-16.365,10.53-32.92.51-1.68.99-3.36,2.595-8.745,4.98-17.53c.15-.56994.31-1.12994.45-1.7q.68994-2.52,1.35-5.04c1-3.79-1.26-8.32-5.24-9.23a7.63441,7.63441,0,0,0-9.22,5.24c-.43,1.62-.86,3.23-1.3,4.85q-3.165,11.74494-6.66,23.41-.51,1.68-1.02,3.36-7.71,25.41-16.93,50.31-1.11,3.015-2.25,6.01c-.37.98-.74,1.96-1.12,2.94-.73,1.93-1.48,3.86-2.23,5.79-.43006,1.13-.87006,2.26-1.31,3.38-.29.71-.57,1.42-.85,2.12a41.80941,41.80941,0,0,0-8.81-2.12l-.48-.06a27.397,27.397,0,0,0-7.01.06,23.91419,23.91419,0,0,0-17.24,10.66c-4.77,7.51-4.71,18.25,1.98,24.63,6.89,6.57,17.32,6.52,25.43,2.41a28.35124,28.35124,0,0,0,10.52-9.86,50.56939,50.56939,0,0,0,2.74-4.65c.21.14.42.28.63.43.8.56,1.6,1.13,2.39,1.69a111.73777,111.73777,0,0,0,14.51,8.91,108.35887,108.35887,0,0,0,34.62,10.47c.27.03.53.07.8.1,1.33.17,2.67.3,4.01.41a103.78229,103.78229,0,0,0,55.58-11.36q2.175-1.125,4.31-2.36,3.315-1.92,6.48-4.08c1.15-.78,2.27-1.57,3.38-2.4a101.04244,101.04244,0,0,0,13.51-11.95q2.35491-2.475,4.51-5.11005a8.0612,8.0612,0,0,0,2.2-5.3A7.5644,7.5644,0,0,0,432.92309,584.266Zm-165.59,23.82c.21-.15.42-.31.62-.47C267.89312,607.766,267.60308,607.936,267.33312,608.086Zm3.21-3.23c-.23.26-.44.52-.67.78a23.36609,23.36609,0,0,1-2.25,2.2c-.11.1-.23.2-.35.29a.00976.00976,0,0,0-.01.01,3.80417,3.80417,0,0,0-.42005.22q-.645.39-1.31994.72a17.00459,17.00459,0,0,1-2.71.75,16.79925,16.79925,0,0,1-2.13.02h-.02a14.82252,14.82252,0,0,1-1.45-.4c-.24-.12-.47-.25994-.7-.4-.09-.08-.17005-.16-.22-.21a2.44015,2.44015,0,0,1-.26995-.29.0098.0098,0,0,0-.01-.01c-.11005-.2-.23005-.4-.34-.6a.031.031,0,0,1-.01-.02c-.08-.25-.15-.51-.21-.77a12.51066,12.51066,0,0,1,.01-1.37,13.4675,13.4675,0,0,1,.54-1.88,11.06776,11.06776,0,0,1,.69-1.26c.02-.04.12-.2.23-.38.01-.01.01-.01.01-.02.15-.17.3-.35.46-.51.27-.3.56-.56.85-.83a18.02212,18.02212,0,0,1,1.75-1.01,19.48061,19.48061,0,0,1,2.93-.79,24.98945,24.98945,0,0,1,4.41.04,30.30134,30.30134,0,0,1,4.1,1.01,36.94452,36.94452,0,0,1-2.77,4.54C270.6231,604.746,270.58312,604.806,270.54308,604.856Zm-11.12-3.29a2.18029,2.18029,0,0,1-.31.38995A1.40868,1.40868,0,0,1,259.42309,601.566Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M402.86309,482.136q-.13494,4.71-.27,9.42-.285,10.455-.59,20.92-.315,11.775-.66,23.54-.165,6.07507-.34,12.15-.465,16.365-.92,32.72c-.03,1.13-.07,2.25-.1,3.38q-.225,8.11506-.45,16.23-.255,8.805-.5,17.61-.18,6.59994-.37,13.21-1.34994,47.895-2.7,95.79a7.64844,7.64844,0,0,1-7.5,7.5,7.56114,7.56114,0,0,1-7.5-7.5q.75-26.94,1.52-53.88.675-24.36,1.37-48.72.225-8.025.45-16.06.345-12.09.68-24.18c.03-1.13.07-2.25.1-3.38.02-.99.05-1.97.08-2.96q.66-23.475,1.32-46.96.27-9.24.52-18.49.3-10.545.6-21.08c.09-3.09.17005-6.17.26-9.26a7.64844,7.64844,0,0,1,7.5-7.5A7.56116,7.56116,0,0,1,402.86309,482.136Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M814.29118,484.2172a893.23753,893.23753,0,0,1-28.16112,87.94127c-3.007,7.94641-6.08319,15.877-9.3715,23.71185l.75606-1.7916a54.58274,54.58274,0,0,1-5.58953,10.61184q-.22935.32119-.46685.63642,1.16559-1.49043.4428-.589c-.25405.30065-.5049.60219-.7676.89546a23.66436,23.66436,0,0,1-2.2489,2.20318q-.30139.25767-.61188.5043l.93783-.729c-.10884.25668-.87275.59747-1.11067.74287a18.25362,18.25362,0,0,1-2.40479,1.21853l1.7916-.75606a19.0859,19.0859,0,0,1-4.23122,1.16069l1.9938-.26791a17.02055,17.02055,0,0,1-4.29785.046l1.99379.2679a14.0022,14.0022,0,0,1-3.40493-.917l1.79159.75606a12.01175,12.01175,0,0,1-1.67882-.89614c-.27135-.17688-1.10526-.80852-.01487.02461,1.13336.86595.14562.07434-.08763-.15584-.19427-.19171-.36962-.4-.55974-.595-.88208-.90454.99637,1.55662.39689.49858a18.18179,18.18179,0,0,1-.87827-1.63672l.75606,1.7916a11.92493,11.92493,0,0,1-.728-2.65143l.26791,1.9938a13.65147,13.65147,0,0,1-.00316-3.40491l-.2679,1.9938a15.96371,15.96371,0,0,1,.99486-3.68011l-.75606,1.7916a16.72914,16.72914,0,0,1,1.17794-2.29848,6.72934,6.72934,0,0,1,.72851-1.0714c.04915.01594-1.26865,1.51278-.56937.757.1829-.19767.354-.40592.539-.602.29617-.31382.61354-.60082.92561-.89791,1.04458-.99442-1.46188.966-.25652.17907a19.0489,19.0489,0,0,1,2.74925-1.49923l-1.79159.75606a20.31136,20.31136,0,0,1,4.99523-1.33984l-1.9938.2679a25.62828,25.62828,0,0,1,6.46062.07647l-1.9938-.2679a33.21056,33.21056,0,0,1,7.89178,2.2199l-1.7916-.75606c5.38965,2.31383,10.16308,5.74926,14.928,9.118a111.94962,111.94962,0,0,0,14.50615,8.9065,108.38849,108.38849,0,0,0,34.62226,10.47371,103.93268,103.93268,0,0,0,92.58557-36.75192,8.07773,8.07773,0,0,0,2.1967-5.3033,7.63232,7.63232,0,0,0-2.1967-5.3033c-2.75154-2.52586-7.94926-3.239-10.6066,0a95.63575,95.63575,0,0,1-8.10664,8.72692q-2.01736,1.914-4.14232,3.70983-1.21364,1.02588-2.46086,2.01121c-.3934.31081-1.61863,1.13807.26309-.19744-.43135.30614-.845.64036-1.27058.95478a99.26881,99.26881,0,0,1-20.33215,11.56478l1.79159-.75606a96.8364,96.8364,0,0,1-24.17119,6.62249l1.99379-.2679a97.64308,97.64308,0,0,1-25.75362-.03807l1.99379.2679a99.79982,99.79982,0,0,1-24.857-6.77027l1.7916.75607a116.02515,116.02515,0,0,1-21.7364-12.59112,86.87725,86.87725,0,0,0-11.113-6.99417,42.8238,42.8238,0,0,0-14.43784-4.38851c-9.43884-1.11076-19.0571,2.56562-24.24624,10.72035-4.77557,7.50482-4.71394,18.24362,1.97369,24.62519,6.8877,6.5725,17.31846,6.51693,25.43556,2.40567,7.81741-3.95946,12.51288-12.18539,15.815-19.94186,7.43109-17.45514,14.01023-35.31364,20.1399-53.263q9.09651-26.63712,16.49855-53.81332.91661-3.36581,1.80683-6.73869c1.001-3.78869-1.26094-8.32-5.23829-9.22589a7.63317,7.63317,0,0,0-9.22589,5.23829Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M889.12382,482.13557l-2.69954,95.79311-2.68548,95.29418-1.5185,53.88362a7.56465,7.56465,0,0,0,7.5,7.5,7.64923,7.64923,0,0,0,7.5-7.5l2.69955-95.79311,2.68548-95.29418,1.51849-53.88362a7.56465,7.56465,0,0,0-7.5-7.5,7.64923,7.64923,0,0,0-7.5,7.5Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M629.52566,700.36106h2.32885V594.31942h54.32863v-2.32291H631.85451V547.25214H673.8102q-.92256-1.17339-1.89893-2.31694H631.85451V515.38231c-.7703-.32846-1.54659-.64493-2.32885-.9435V544.9352h-45.652V507.07c-.78227.03583-1.55258.08959-2.3289.15527v37.71h-36.4201V516.68409c-.78227.34636-1.55258.71061-2.31694,1.0928V544.9352h-30.6158v2.31694h30.6158v44.74437h-30.6158v2.32291h30.6158V700.36106h2.31694V594.31942a36.41283,36.41283,0,0,1,36.4201,36.42007v69.62157h2.3289V594.31942h45.652Zm-84.401-108.36455V547.25214h36.4201v44.74437Zm38.749,0V547.25214h.91362a44.74135,44.74135,0,0,1,44.73842,44.74437Z",transform:"translate(-169.93432 -164.42601)",opacity:.2}),y.createElement("path",{d:"M615.30309,668.566a63.05854,63.05854,0,0,1-20.05,33.7c-.74.64-1.48,1.26-2.25,1.87q-2.805.25506-5.57.52c-1.53.14-3.04.29-4.54.43l-.27.03-.19-1.64-.76-6.64a37.623,37.623,0,0,1-3.3-32.44c2.64-7.12,7.42-13.41,12.12-19.65,6.49-8.62,12.8-17.14,13.03-27.65a60.54415,60.54415,0,0,1,7.9,13.33,16.432,16.432,0,0,0-5.12,3.76995c-.41.45-.82,1.08-.54,1.62006.24.46.84.57,1.36.62994,1.25.13,2.51.26,3.76.39,1,.11,2,.21,3,.32a63.99025,63.99025,0,0,1,2.45,12.18A61.18851,61.18851,0,0,1,615.30309,668.566Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M648.50311,642.356c-5.9,4.29-9.35,10.46-12.03,17.26a16.62776,16.62776,0,0,0-7.17,4.58c-.41.45-.82,1.08-.54,1.62006.24.46.84.57,1.36.62994,1.25.13,2.51.26,3.76.39-2.68,8.04-5.14,16.36-9.88,23.15a36.98942,36.98942,0,0,1-12.03,10.91,38.49166,38.49166,0,0,1-4.02,1.99q-7.62.585-14.95,1.25-2.805.25506-5.57.52c-1.53.14-3.04.29-4.54.43q-.015-.825,0-1.65a63.30382,63.30382,0,0,1,15.25-39.86c.45-.52.91-1.03,1.38-1.54a61.7925,61.7925,0,0,1,16.81-12.7A62.65425,62.65425,0,0,1,648.50311,642.356Z",transform:"translate(-169.93432 -164.42601)",fill:"#6c63ff"}),y.createElement("path",{d:"M589.16308,699.526l-1.15,3.4-.58,1.73c-1.53.14-3.04.29-4.54.43l-.27.03c-1.66.17-3.31.34-4.96.51-.43-.5-.86-1.01-1.28-1.53a62.03045,62.03045,0,0,1,8.07-87.11c-1.32,6.91.22,13.53,2.75,20.1-.27.11-.53.22-.78.34a16.432,16.432,0,0,0-5.12,3.76995c-.41.45-.82,1.08-.54,1.62006.24.46.84.57,1.36.62994,1.25.13,2.51.26,3.76.39,1,.11,2,.21,3,.32q.705.075,1.41.15c.07.15.13.29.2.44,2.85,6.18,5.92,12.39,7.65,18.83a43.66591,43.66591,0,0,1,1.02,4.91A37.604,37.604,0,0,1,589.16308,699.526Z",transform:"translate(-169.93432 -164.42601)",fill:"#6c63ff"}),y.createElement("path",{d:"M689.82123,554.48655c-8.60876-16.79219-21.94605-30.92088-37.63219-41.30357a114.2374,114.2374,0,0,0-52.5626-18.37992q-3.69043-.33535-7.399-.39281c-2.92141-.04371-46.866,12.63176-61.58712,22.98214a114.29462,114.29462,0,0,0-35.333,39.527,102.49972,102.49972,0,0,0-12.12557,51.6334,113.56387,113.56387,0,0,0,14.70268,51.47577,110.47507,110.47507,0,0,0,36.44425,38.74592C549.66655,708.561,565.07375,734.51,583.1831,735.426c18.24576.923,39.05418-23.55495,55.6951-30.98707a104.42533,104.42533,0,0,0,41.72554-34.005,110.24964,110.24964,0,0,0,19.599-48.94777c2.57368-18.08313,1.37415-36.73271-4.80123-54.01627a111.85969,111.85969,0,0,0-5.58024-12.9833c-1.77961-3.50519-6.996-4.7959-10.26142-2.69063a7.67979,7.67979,0,0,0-2.69064,10.26142q1.56766,3.08773,2.91536,6.27758l-.75606-1.7916a101.15088,101.15088,0,0,1,6.87641,25.53816l-.26791-1.99379a109.2286,109.2286,0,0,1-.06613,28.68252l.26791-1.9938a109.73379,109.73379,0,0,1-7.55462,27.67419l.75606-1.79159a104.212,104.212,0,0,1-6.67151,13.09835q-1.92308,3.18563-4.08062,6.22159c-.63172.8881-1.28287,1.761-1.939,2.63114-.85625,1.13555,1.16691-1.48321.28228-.36941-.15068.18972-.30049.3801-.45182.5693q-.68121.85165-1.3818,1.68765a93.61337,93.61337,0,0,1-10.17647,10.38359q-1.36615,1.19232-2.77786,2.33115c-.46871.37832-.932.77269-1.42079,1.12472.01861-.0134,1.57956-1.19945.65556-.511-.2905.21644-.57851.43619-.86961.65184q-2.90994,2.1558-5.97433,4.092a103.48509,103.48509,0,0,1-14.75565,7.7131l1.7916-.75606a109.21493,109.21493,0,0,1-27.59663,7.55154l1.9938-.26791a108.15361,108.15361,0,0,1-28.58907.0506l1.99379.2679a99.835,99.835,0,0,1-25.09531-6.78448l1.79159.75607a93.64314,93.64314,0,0,1-13.41605-6.99094q-3.17437-2-6.18358-4.24743c-.2862-.21359-.56992-.43038-.855-.64549-.9155-.69088.65765.50965.67021.51787a19.16864,19.16864,0,0,1-1.535-1.22469q-1.45353-1.18358-2.86136-2.4218a101.98931,101.98931,0,0,1-10.49319-10.70945q-1.21308-1.43379-2.37407-2.91054c-.33524-.4263-.9465-1.29026.40424.5289-.17775-.23939-.36206-.47414-.54159-.71223q-.64657-.85751-1.27568-1.72793-2.203-3.048-4.18787-6.24586a109.29037,109.29037,0,0,1-7.8054-15.10831l.75606,1.7916a106.58753,106.58753,0,0,1-7.34039-26.837l.26791,1.9938a97.86589,97.86589,0,0,1-.04843-25.63587l-.2679,1.9938A94.673,94.673,0,0,1,505.27587,570.55l-.75606,1.7916a101.55725,101.55725,0,0,1,7.19519-13.85624q2.0655-3.32328,4.37767-6.4847.52528-.71832,1.06244-1.42786c.324-.4279,1.215-1.49333-.30537.38842.14906-.18449.29252-.37428.43942-.56041q1.26882-1.60756,2.59959-3.1649A107.40164,107.40164,0,0,1,530.772,536.21508q1.47408-1.29171,2.99464-2.52906.6909-.56218,1.39108-1.11284c.18664-.14673.37574-.29073.56152-.43858-1.99743,1.58953-.555.43261-.10157.09288q3.13393-2.34833,6.43534-4.46134a103.64393,103.64393,0,0,1,15.38655-8.10791l-1.7916.75606c7.76008-3.25839,42.14086-10.9492,48.394-10.10973l-1.99379-.26791A106.22471,106.22471,0,0,1,628.768,517.419l-1.7916-.75606a110.31334,110.31334,0,0,1,12.6002,6.32922q3.04344,1.78405,5.96742,3.76252,1.38351.93658,2.73809,1.915.677.48917,1.34626.98885c.24789.185.49386.37253.74135.558,1.03924.779-1.43148-1.1281-.34209-.26655a110.84261,110.84261,0,0,1,10.36783,9.2532q2.401,2.445,4.63686,5.04515,1.14659,1.33419,2.24643,2.70757c.36436.45495,1.60506,2.101.08448.08457.37165.49285.74744.98239,1.11436,1.47884a97.97718,97.97718,0,0,1,8.39161,13.53807c1.79317,3.49775,6.98675,4.80186,10.26142,2.69064A7.67666,7.67666,0,0,0,689.82123,554.48655Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M602.43116,676.88167a3.77983,3.77983,0,0,1-2.73939-6.55137c.09531-.37882.16368-.65085.259-1.02968q-.05115-.12366-.1029-.24717c-3.47987-8.29769-25.685,14.83336-26.645,22.63179a30.029,30.029,0,0,0,.52714,10.32752A120.39223,120.39223,0,0,1,562.77838,652.01a116.20247,116.20247,0,0,1,.72078-12.96332q.59712-5.293,1.65679-10.51055a121.78667,121.78667,0,0,1,24.1515-51.61646c6.87378.38364,12.898-.66348,13.47967-13.98532.10346-2.36972,1.86113-4.42156,2.24841-6.756-.65621.08607-1.32321.13985-1.97941.18285-.20444.0107-.41958.02149-.624.03228l-.07709.00346a3.745,3.745,0,0,1-3.07566-6.10115q.425-.52305.85054-1.04557c.43036-.53793.87143-1.06507,1.30171-1.60292a1.865,1.865,0,0,0,.13986-.16144c.49494-.61322.98971-1.21564,1.48465-1.82885a10.82911,10.82911,0,0,0-3.55014-3.43169c-4.95941-2.90463-11.80146-.89293-15.38389,3.59313-3.59313,4.486-4.27083,10.77947-3.023,16.3843a43.39764,43.39764,0,0,0,6.003,13.3828c-.269.34429-.54872.67779-.81765,1.02209a122.57366,122.57366,0,0,0-12.79359,20.2681c1.0163-7.93863-11.41159-36.60795-16.21776-42.68052-5.773-7.29409-17.61108-4.11077-18.62815,5.13562q-.01476.13428-.02884.26849,1.07082.60411,2.0964,1.28237a5.12707,5.12707,0,0,1-2.06713,9.33031l-.10452.01613c-9.55573,13.64367,21.07745,49.1547,28.74518,41.18139a125.11045,125.11045,0,0,0-6.73449,31.69282,118.66429,118.66429,0,0,0,.08607,19.15986l-.03231-.22593C558.90163,648.154,529.674,627.51374,521.139,629.233c-4.91675.99041-9.75952.76525-9.01293,5.72484q.01788.11874.03635.2375a34.4418,34.4418,0,0,1,3.862,1.86105q1.07082.60423,2.09639,1.28237a5.12712,5.12712,0,0,1-2.06712,9.33039l-.10464.01606c-.07528.01079-.13987.02157-.21507.03237-4.34967,14.96631,27.90735,39.12,47.5177,31.43461h.01081a125.07484,125.07484,0,0,0,8.402,24.52806H601.679c.10765-.3335.20443-.67779.3013-1.01129a34.102,34.102,0,0,1-8.30521-.49477c2.22693-2.73257,4.45377-5.48664,6.6807-8.21913a1.86122,1.86122,0,0,0,.13986-.16135c1.12956-1.39849,2.26992-2.78627,3.39948-4.18476l.00061-.00173a49.95232,49.95232,0,0,0-1.46367-12.72495Zm-34.37066-67.613.0158-.02133-.0158.04282Zm-6.64832,59.93237-.25822-.58084c.01079-.41957.01079-.83914,0-1.26942,0-.11845-.0215-.23672-.0215-.35508.09678.74228.18285,1.48464.29042,2.22692Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("circle",{cx:95.24878,cy:439,r:11,fill:"#3f3d56"}),y.createElement("circle",{cx:227.24878,cy:559,r:11,fill:"#3f3d56"}),y.createElement("circle",{cx:728.24878,cy:559,r:11,fill:"#3f3d56"}),y.createElement("circle",{cx:755.24878,cy:419,r:11,fill:"#3f3d56"}),y.createElement("circle",{cx:723.24878,cy:317,r:11,fill:"#3f3d56"}),y.createElement("path",{d:"M434.1831,583.426a10.949,10.949,0,1,1-.21-2.16A10.9921,10.9921,0,0,1,434.1831,583.426Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("circle",{cx:484.24878,cy:349,r:11,fill:"#3f3d56"}),y.createElement("path",{d:"M545.1831,513.426a10.949,10.949,0,1,1-.21-2.16A10.9921,10.9921,0,0,1,545.1831,513.426Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M403.1831,481.426a10.949,10.949,0,1,1-.21-2.16A10.9921,10.9921,0,0,1,403.1831,481.426Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("circle",{cx:599.24878,cy:443,r:11,fill:"#3f3d56"}),y.createElement("circle",{cx:426.24878,cy:338,r:16,fill:"#3f3d56"}),y.createElement("path",{d:"M1028.875,735.26666l-857.75.30733a1.19068,1.19068,0,1,1,0-2.38136l857.75-.30734a1.19069,1.19069,0,0,1,0,2.38137Z",transform:"translate(-169.93432 -164.42601)",fill:"#cacaca"})),eO=y.forwardRef(JM),Jp=()=>W.jsx("div",{className:"not-found",children:W.jsx(eO,{})}),tO=()=>{const{path:a}=o8(),i=cl();return y.useEffect(()=>{const n=decodeURIComponent(a);i(n)},[a,i]),W.jsx(lm,{})};/*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */const{entries:Q8,setPrototypeOf:F7,isFrozen:nO,getPrototypeOf:rO,getOwnPropertyDescriptor:aO}=Object;let{freeze:Zn,seal:Lr,create:K8}=Object,{apply:I2,construct:F2}=typeof Reflect<"u"&&Reflect;Zn||(Zn=function(i){return i});Lr||(Lr=function(i){return i});I2||(I2=function(i,n,t){return i.apply(n,t)});F2||(F2=function(i,n){return new i(...n)});const oc=Vn(Array.prototype.forEach),iO=Vn(Array.prototype.lastIndexOf),G7=Vn(Array.prototype.pop),bs=Vn(Array.prototype.push),lO=Vn(Array.prototype.splice),gc=Vn(String.prototype.toLowerCase),e2=Vn(String.prototype.toString),Z7=Vn(String.prototype.match),_s=Vn(String.prototype.replace),oO=Vn(String.prototype.indexOf),sO=Vn(String.prototype.trim),Gr=Vn(Object.prototype.hasOwnProperty),Bn=Vn(RegExp.prototype.test),Ss=uO(TypeError);function Vn(a){return function(i){i instanceof RegExp&&(i.lastIndex=0);for(var n=arguments.length,t=new Array(n>1?n-1:0),l=1;l<n;l++)t[l-1]=arguments[l];return I2(a,i,t)}}function uO(a){return function(){for(var i=arguments.length,n=new Array(i),t=0;t<i;t++)n[t]=arguments[t];return F2(a,n)}}function Xe(a,i){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:gc;F7&&F7(a,null);let t=i.length;for(;t--;){let l=i[t];if(typeof l=="string"){const s=n(l);s!==l&&(nO(i)||(i[t]=s),l=s)}a[l]=!0}return a}function cO(a){for(let i=0;i<a.length;i++)Gr(a,i)||(a[i]=null);return a}function Ji(a){const i=K8(null);for(const[n,t]of Q8(a))Gr(a,n)&&(Array.isArray(t)?i[n]=cO(t):t&&typeof t=="object"&&t.constructor===Object?i[n]=Ji(t):i[n]=t);return i}function Es(a,i){for(;a!==null;){const t=aO(a,i);if(t){if(t.get)return Vn(t.get);if(typeof t.value=="function")return Vn(t.value)}a=rO(a)}function n(){return null}return n}const V7=Zn(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),t2=Zn(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),n2=Zn(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),fO=Zn(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),r2=Zn(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),dO=Zn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),W7=Zn(["#text"]),Q7=Zn(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),a2=Zn(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),K7=Zn(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),sc=Zn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),hO=Lr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),pO=Lr(/<%[\w\W]*|[\w\W]*%>/gm),mO=Lr(/\$\{[\w\W]*/gm),vO=Lr(/^data-[\-\w.\u00B7-\uFFFF]+$/),gO=Lr(/^aria-[\-\w]+$/),X8=Lr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),yO=Lr(/^(?:\w+script|data):/i),bO=Lr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$8=Lr(/^html$/i),_O=Lr(/^[a-z][.\w]*(-[.\w]+)+$/i);var X7=Object.freeze({__proto__:null,ARIA_ATTR:gO,ATTR_WHITESPACE:bO,CUSTOM_ELEMENT:_O,DATA_ATTR:vO,DOCTYPE_NAME:$8,ERB_EXPR:pO,IS_ALLOWED_URI:X8,IS_SCRIPT_OR_DATA:yO,MUSTACHE_EXPR:hO,TMPLIT_EXPR:mO});const ws={element:1,text:3,progressingInstruction:7,comment:8,document:9},SO=function(){return typeof window>"u"?null:window},EO=function(i,n){if(typeof i!="object"||typeof i.createPolicy!="function")return null;let t=null;const l="data-tt-policy-suffix";n&&n.hasAttribute(l)&&(t=n.getAttribute(l));const s="dompurify"+(t?"#"+t:"");try{return i.createPolicy(s,{createHTML(c){return c},createScriptURL(c){return c}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},$7=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function J8(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:SO();const i=Ee=>J8(Ee);if(i.version="3.2.5",i.removed=[],!a||!a.document||a.document.nodeType!==ws.document||!a.Element)return i.isSupported=!1,i;let{document:n}=a;const t=n,l=t.currentScript,{DocumentFragment:s,HTMLTemplateElement:c,Node:d,Element:h,NodeFilter:m,NamedNodeMap:v=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:g,DOMParser:S,trustedTypes:w}=a,M=h.prototype,R=Es(M,"cloneNode"),C=Es(M,"remove"),U=Es(M,"nextSibling"),O=Es(M,"childNodes"),Y=Es(M,"parentNode");if(typeof c=="function"){const Ee=n.createElement("template");Ee.content&&Ee.content.ownerDocument&&(n=Ee.content.ownerDocument)}let K,X="";const{implementation:re,createNodeIterator:V,createDocumentFragment:_,getElementsByTagName:E}=n,{importNode:D}=t;let q=$7();i.isSupported=typeof Q8=="function"&&typeof Y=="function"&&re&&re.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:k,ERB_EXPR:z,TMPLIT_EXPR:B,DATA_ATTR:H,ARIA_ATTR:T,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:L,CUSTOM_ELEMENT:$}=X7;let{IS_ALLOWED_URI:A}=X7,j=null;const oe=Xe({},[...V7,...t2,...n2,...r2,...W7]);let ae=null;const he=Xe({},[...Q7,...a2,...K7,...sc]);let fe=Object.seal(K8(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),me=null,ze=null,Re=!0,qt=!0,Ut=!1,mt=!0,Ht=!1,lt=!0,nt=!1,Ue=!1,Rn=!1,xt=!1,Nn=!1,Je=!1,Wn=!0,zn=!1;const qe="user-content-";let ge=!0,He=!1,Ae={},Ze=null;const ot=Xe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Rt=null;const Mt=Xe({},["audio","video","img","source","image","track"]);let vr=null;const En=Xe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),kn="http://www.w3.org/1998/Math/MathML",Ft="http://www.w3.org/2000/svg",We="http://www.w3.org/1999/xhtml";let Pt=We,ln=!1,vn=null;const qr=Xe({},[kn,Ft,We],e2);let Ln=Xe({},["mi","mo","mn","ms","mtext"]),qn=Xe({},["annotation-xml"]);const wn=Xe({},["title","style","font","a","script"]);let rt=null;const Qn=["application/xhtml+xml","text/html"],Ot="text/html";let $e=null,Te=null;const Ye=n.createElement("form"),Jt=function(F){return F instanceof RegExp||F instanceof Function},vt=function(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Te&&Te===F)){if((!F||typeof F!="object")&&(F={}),F=Ji(F),rt=Qn.indexOf(F.PARSER_MEDIA_TYPE)===-1?Ot:F.PARSER_MEDIA_TYPE,$e=rt==="application/xhtml+xml"?e2:gc,j=Gr(F,"ALLOWED_TAGS")?Xe({},F.ALLOWED_TAGS,$e):oe,ae=Gr(F,"ALLOWED_ATTR")?Xe({},F.ALLOWED_ATTR,$e):he,vn=Gr(F,"ALLOWED_NAMESPACES")?Xe({},F.ALLOWED_NAMESPACES,e2):qr,vr=Gr(F,"ADD_URI_SAFE_ATTR")?Xe(Ji(En),F.ADD_URI_SAFE_ATTR,$e):En,Rt=Gr(F,"ADD_DATA_URI_TAGS")?Xe(Ji(Mt),F.ADD_DATA_URI_TAGS,$e):Mt,Ze=Gr(F,"FORBID_CONTENTS")?Xe({},F.FORBID_CONTENTS,$e):ot,me=Gr(F,"FORBID_TAGS")?Xe({},F.FORBID_TAGS,$e):{},ze=Gr(F,"FORBID_ATTR")?Xe({},F.FORBID_ATTR,$e):{},Ae=Gr(F,"USE_PROFILES")?F.USE_PROFILES:!1,Re=F.ALLOW_ARIA_ATTR!==!1,qt=F.ALLOW_DATA_ATTR!==!1,Ut=F.ALLOW_UNKNOWN_PROTOCOLS||!1,mt=F.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ht=F.SAFE_FOR_TEMPLATES||!1,lt=F.SAFE_FOR_XML!==!1,nt=F.WHOLE_DOCUMENT||!1,xt=F.RETURN_DOM||!1,Nn=F.RETURN_DOM_FRAGMENT||!1,Je=F.RETURN_TRUSTED_TYPE||!1,Rn=F.FORCE_BODY||!1,Wn=F.SANITIZE_DOM!==!1,zn=F.SANITIZE_NAMED_PROPS||!1,ge=F.KEEP_CONTENT!==!1,He=F.IN_PLACE||!1,A=F.ALLOWED_URI_REGEXP||X8,Pt=F.NAMESPACE||We,Ln=F.MATHML_TEXT_INTEGRATION_POINTS||Ln,qn=F.HTML_INTEGRATION_POINTS||qn,fe=F.CUSTOM_ELEMENT_HANDLING||{},F.CUSTOM_ELEMENT_HANDLING&&Jt(F.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(fe.tagNameCheck=F.CUSTOM_ELEMENT_HANDLING.tagNameCheck),F.CUSTOM_ELEMENT_HANDLING&&Jt(F.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(fe.attributeNameCheck=F.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),F.CUSTOM_ELEMENT_HANDLING&&typeof F.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(fe.allowCustomizedBuiltInElements=F.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ht&&(qt=!1),Nn&&(xt=!0),Ae&&(j=Xe({},W7),ae=[],Ae.html===!0&&(Xe(j,V7),Xe(ae,Q7)),Ae.svg===!0&&(Xe(j,t2),Xe(ae,a2),Xe(ae,sc)),Ae.svgFilters===!0&&(Xe(j,n2),Xe(ae,a2),Xe(ae,sc)),Ae.mathMl===!0&&(Xe(j,r2),Xe(ae,K7),Xe(ae,sc))),F.ADD_TAGS&&(j===oe&&(j=Ji(j)),Xe(j,F.ADD_TAGS,$e)),F.ADD_ATTR&&(ae===he&&(ae=Ji(ae)),Xe(ae,F.ADD_ATTR,$e)),F.ADD_URI_SAFE_ATTR&&Xe(vr,F.ADD_URI_SAFE_ATTR,$e),F.FORBID_CONTENTS&&(Ze===ot&&(Ze=Ji(Ze)),Xe(Ze,F.FORBID_CONTENTS,$e)),ge&&(j["#text"]=!0),nt&&Xe(j,["html","head","body"]),j.table&&(Xe(j,["tbody"]),delete me.tbody),F.TRUSTED_TYPES_POLICY){if(typeof F.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ss('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof F.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ss('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');K=F.TRUSTED_TYPES_POLICY,X=K.createHTML("")}else K===void 0&&(K=EO(w,l)),K!==null&&typeof X=="string"&&(X=K.createHTML(""));Zn&&Zn(F),Te=F}},pe=Xe({},[...t2,...n2,...fO]),ye=Xe({},[...r2,...dO]),we=function(F){let ue=Y(F);(!ue||!ue.tagName)&&(ue={namespaceURI:Pt,tagName:"template"});const ce=gc(F.tagName),Ie=gc(ue.tagName);return vn[F.namespaceURI]?F.namespaceURI===Ft?ue.namespaceURI===We?ce==="svg":ue.namespaceURI===kn?ce==="svg"&&(Ie==="annotation-xml"||Ln[Ie]):!!pe[ce]:F.namespaceURI===kn?ue.namespaceURI===We?ce==="math":ue.namespaceURI===Ft?ce==="math"&&qn[Ie]:!!ye[ce]:F.namespaceURI===We?ue.namespaceURI===Ft&&!qn[Ie]||ue.namespaceURI===kn&&!Ln[Ie]?!1:!ye[ce]&&(wn[ce]||!pe[ce]):!!(rt==="application/xhtml+xml"&&vn[F.namespaceURI]):!1},Be=function(F){bs(i.removed,{element:F});try{Y(F).removeChild(F)}catch{C(F)}},At=function(F,ue){try{bs(i.removed,{attribute:ue.getAttributeNode(F),from:ue})}catch{bs(i.removed,{attribute:null,from:ue})}if(ue.removeAttribute(F),F==="is")if(xt||Nn)try{Be(ue)}catch{}else try{ue.setAttribute(F,"")}catch{}},Dn=function(F){let ue=null,ce=null;if(Rn)F="<remove></remove>"+F;else{const ht=Z7(F,/^[\r\n\t ]+/);ce=ht&&ht[0]}rt==="application/xhtml+xml"&&Pt===We&&(F='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+F+"</body></html>");const Ie=K?K.createHTML(F):F;if(Pt===We)try{ue=new S().parseFromString(Ie,rt)}catch{}if(!ue||!ue.documentElement){ue=re.createDocument(Pt,"template",null);try{ue.documentElement.innerHTML=ln?X:Ie}catch{}}const dt=ue.body||ue.documentElement;return F&&ce&&dt.insertBefore(n.createTextNode(ce),dt.childNodes[0]||null),Pt===We?E.call(ue,nt?"html":"body")[0]:nt?ue.documentElement:dt},gn=function(F){return V.call(F.ownerDocument||F,F,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT|m.SHOW_PROCESSING_INSTRUCTION|m.SHOW_CDATA_SECTION,null)},zt=function(F){return F instanceof g&&(typeof F.nodeName!="string"||typeof F.textContent!="string"||typeof F.removeChild!="function"||!(F.attributes instanceof v)||typeof F.removeAttribute!="function"||typeof F.setAttribute!="function"||typeof F.namespaceURI!="string"||typeof F.insertBefore!="function"||typeof F.hasChildNodes!="function")},Yt=function(F){return typeof d=="function"&&F instanceof d};function Me(Ee,F,ue){oc(Ee,ce=>{ce.call(i,F,ue,Te)})}const dn=function(F){let ue=null;if(Me(q.beforeSanitizeElements,F,null),zt(F))return Be(F),!0;const ce=$e(F.nodeName);if(Me(q.uponSanitizeElement,F,{tagName:ce,allowedTags:j}),F.hasChildNodes()&&!Yt(F.firstElementChild)&&Bn(/<[/\w!]/g,F.innerHTML)&&Bn(/<[/\w!]/g,F.textContent)||F.nodeType===ws.progressingInstruction||lt&&F.nodeType===ws.comment&&Bn(/<[/\w]/g,F.data))return Be(F),!0;if(!j[ce]||me[ce]){if(!me[ce]&&tr(ce)&&(fe.tagNameCheck instanceof RegExp&&Bn(fe.tagNameCheck,ce)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(ce)))return!1;if(ge&&!Ze[ce]){const Ie=Y(F)||F.parentNode,dt=O(F)||F.childNodes;if(dt&&Ie){const ht=dt.length;for(let Nt=ht-1;Nt>=0;--Nt){const Gt=R(dt[Nt],!0);Gt.__removalCount=(F.__removalCount||0)+1,Ie.insertBefore(Gt,U(F))}}}return Be(F),!0}return F instanceof h&&!we(F)||(ce==="noscript"||ce==="noembed"||ce==="noframes")&&Bn(/<\/no(script|embed|frames)/i,F.innerHTML)?(Be(F),!0):(Ht&&F.nodeType===ws.text&&(ue=F.textContent,oc([k,z,B],Ie=>{ue=_s(ue,Ie," ")}),F.textContent!==ue&&(bs(i.removed,{element:F.cloneNode()}),F.textContent=ue)),Me(q.afterSanitizeElements,F,null),!1)},gt=function(F,ue,ce){if(Wn&&(ue==="id"||ue==="name")&&(ce in n||ce in Ye))return!1;if(!(qt&&!ze[ue]&&Bn(H,ue))){if(!(Re&&Bn(T,ue))){if(!ae[ue]||ze[ue]){if(!(tr(F)&&(fe.tagNameCheck instanceof RegExp&&Bn(fe.tagNameCheck,F)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(F))&&(fe.attributeNameCheck instanceof RegExp&&Bn(fe.attributeNameCheck,ue)||fe.attributeNameCheck instanceof Function&&fe.attributeNameCheck(ue))||ue==="is"&&fe.allowCustomizedBuiltInElements&&(fe.tagNameCheck instanceof RegExp&&Bn(fe.tagNameCheck,ce)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(ce))))return!1}else if(!vr[ue]){if(!Bn(A,_s(ce,L,""))){if(!((ue==="src"||ue==="xlink:href"||ue==="href")&&F!=="script"&&oO(ce,"data:")===0&&Rt[F])){if(!(Ut&&!Bn(N,_s(ce,L,"")))){if(ce)return!1}}}}}}return!0},tr=function(F){return F!=="annotation-xml"&&Z7(F,$)},et=function(F){Me(q.beforeSanitizeAttributes,F,null);const{attributes:ue}=F;if(!ue||zt(F))return;const ce={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ae,forceKeepAttr:void 0};let Ie=ue.length;for(;Ie--;){const dt=ue[Ie],{name:ht,namespaceURI:Nt,value:Gt}=dt,Kn=$e(ht);let st=ht==="value"?Gt:sO(Gt);if(ce.attrName=Kn,ce.attrValue=st,ce.keepAttr=!0,ce.forceKeepAttr=void 0,Me(q.uponSanitizeAttribute,F,ce),st=ce.attrValue,zn&&(Kn==="id"||Kn==="name")&&(At(ht,F),st=qe+st),lt&&Bn(/((--!?|])>)|<\/(style|title)/i,st)){At(ht,F);continue}if(ce.forceKeepAttr||(At(ht,F),!ce.keepAttr))continue;if(!mt&&Bn(/\/>/i,st)){At(ht,F);continue}Ht&&oc([k,z,B],$r=>{st=_s(st,$r," ")});const Ur=$e(F.nodeName);if(gt(Ur,Kn,st)){if(K&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!Nt)switch(w.getAttributeType(Ur,Kn)){case"TrustedHTML":{st=K.createHTML(st);break}case"TrustedScriptURL":{st=K.createScriptURL(st);break}}try{Nt?F.setAttributeNS(Nt,ht,st):F.setAttribute(ht,st),zt(F)?Be(F):G7(i.removed)}catch{}}}Me(q.afterSanitizeAttributes,F,null)},yt=function Ee(F){let ue=null;const ce=gn(F);for(Me(q.beforeSanitizeShadowDOM,F,null);ue=ce.nextNode();)Me(q.uponSanitizeShadowNode,ue,null),dn(ue),et(ue),ue.content instanceof s&&Ee(ue.content);Me(q.afterSanitizeShadowDOM,F,null)};return i.sanitize=function(Ee){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ue=null,ce=null,Ie=null,dt=null;if(ln=!Ee,ln&&(Ee="<!-->"),typeof Ee!="string"&&!Yt(Ee))if(typeof Ee.toString=="function"){if(Ee=Ee.toString(),typeof Ee!="string")throw Ss("dirty is not a string, aborting")}else throw Ss("toString is not a function");if(!i.isSupported)return Ee;if(Ue||vt(F),i.removed=[],typeof Ee=="string"&&(He=!1),He){if(Ee.nodeName){const Gt=$e(Ee.nodeName);if(!j[Gt]||me[Gt])throw Ss("root node is forbidden and cannot be sanitized in-place")}}else if(Ee instanceof d)ue=Dn("<!---->"),ce=ue.ownerDocument.importNode(Ee,!0),ce.nodeType===ws.element&&ce.nodeName==="BODY"||ce.nodeName==="HTML"?ue=ce:ue.appendChild(ce);else{if(!xt&&!Ht&&!nt&&Ee.indexOf("<")===-1)return K&&Je?K.createHTML(Ee):Ee;if(ue=Dn(Ee),!ue)return xt?null:Je?X:""}ue&&Rn&&Be(ue.firstChild);const ht=gn(He?Ee:ue);for(;Ie=ht.nextNode();)dn(Ie),et(Ie),Ie.content instanceof s&&yt(Ie.content);if(He)return Ee;if(xt){if(Nn)for(dt=_.call(ue.ownerDocument);ue.firstChild;)dt.appendChild(ue.firstChild);else dt=ue;return(ae.shadowroot||ae.shadowrootmode)&&(dt=D.call(t,dt,!0)),dt}let Nt=nt?ue.outerHTML:ue.innerHTML;return nt&&j["!doctype"]&&ue.ownerDocument&&ue.ownerDocument.doctype&&ue.ownerDocument.doctype.name&&Bn($8,ue.ownerDocument.doctype.name)&&(Nt="<!DOCTYPE "+ue.ownerDocument.doctype.name+`>
`+Nt),Ht&&oc([k,z,B],Gt=>{Nt=_s(Nt,Gt," ")}),K&&Je?K.createHTML(Nt):Nt},i.setConfig=function(){let Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};vt(Ee),Ue=!0},i.clearConfig=function(){Te=null,Ue=!1},i.isValidAttribute=function(Ee,F,ue){Te||vt({});const ce=$e(Ee),Ie=$e(F);return gt(ce,Ie,ue)},i.addHook=function(Ee,F){typeof F=="function"&&bs(q[Ee],F)},i.removeHook=function(Ee,F){if(F!==void 0){const ue=iO(q[Ee],F);return ue===-1?void 0:lO(q[Ee],ue,1)[0]}return G7(q[Ee])},i.removeHooks=function(Ee){q[Ee]=[]},i.removeAllHooks=function(){q=$7()},i}var xi=J8();const wO=({title:a,titleId:i,...n},t)=>y.createElement("svg",{height:"300px",width:"300px",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 100 100",xmlSpace:"preserve",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("path",{d:"M66.55,46.015c5.367,0,9.733-4.367,9.733-9.734s-4.366-9.734-9.733-9.734s-9.733,4.367-9.733,9.734  S61.183,46.015,66.55,46.015z M66.55,29.548c3.713,0,6.733,3.021,6.733,6.734s-3.021,6.734-6.733,6.734s-6.733-3.021-6.733-6.734  S62.837,29.548,66.55,29.548z M23.698,30.048c0-4.222,3.422-7.644,7.645-7.644c4.223,0,7.645,3.422,7.645,7.644  c0,4.222-3.422,7.645-7.645,7.645C27.121,37.692,23.698,34.27,23.698,30.048z M96.021,64.201H83.41v21.783h-3V61.749  c0-6.025-4.902-10.928-10.928-10.928h-3.865c-6.025,0-10.928,4.902-10.928,10.928v24.235h-3V64.201H6.021v-3h12.918v-9.557  c0-6.373,5.166-11.539,11.538-11.539h1.731c6.372,0,11.539,5.166,11.539,11.539v9.557h7.97c0.291-7.425,6.405-13.38,13.9-13.38  h3.865c7.495,0,13.609,5.955,13.9,13.38h12.639V64.201z"})),DO=y.forwardRef(wO),TO="/assets/desk-CxZ7J2lW.webp",xO="/assets/badge-CsAHMs-r.webp",MO="/assets/screen-DJqmZq6P.webp",OO=()=>{const a=(n,t,l)=>{const s=l%2===0?"reversed":"";return W.jsxs("div",{className:`mod-login info ${s}`,children:[W.jsxs("div",{className:"header-left info",children:[W.jsxs("div",{className:"info-title",children:[W.jsx("h2",{children:n[0]}),W.jsx("div",{className:"admin-function-container",children:W.jsx(PE,{label:ke.t(`landing.${n[2]?"adminFunction":"studentFunction"}`),type:K9.Main_400})})]}),W.jsx("p",{dangerouslySetInnerHTML:{__html:xi.sanitize(n[1])}})]}),W.jsx("div",{className:"header-right info",children:W.jsx("img",{src:t,alt:"logo",className:`${s}`})})]},l)},i=[MO,TO,xO];return W.jsx("div",{className:"mod-login-container bottom",children:W.jsxs("div",{className:"mod-login bottom",children:[W.jsx("h1",{children:ke.t("landing.works")}),ke.translations[ke.locale].landing.info.map((n,t)=>a(n,i[t],t)),W.jsx("div",{className:"landing-footer",children:W.jsx("p",{dangerouslySetInnerHTML:{__html:xi.sanitize(ke.t("landing.footer"))}})})]})})},J7=()=>{const[a,i]=y.useState(!1),n=()=>{i(!0),setTimeout(()=>i(!1),2250)},t=()=>{const l=window.location.origin;window.location.href=`${l}/Shibboleth.sso/Login?target=/&forceAuthn=true`};return W.jsxs("div",{className:"top-container",children:[W.jsx("div",{className:"mod-login-container",children:W.jsxs("div",{className:"mod-login",children:[W.jsxs("div",{className:"header-left",children:[W.jsx("h1",{className:"header-title",dangerouslySetInnerHTML:{__html:xi.sanitize(ke.t("landing.header.title"))}}),W.jsx(no,{onClick:()=>t(),txt:ke.t("landing.header.login"),type:Ti.Primary,size:im.Full}),W.jsx("p",{className:"sup",dangerouslySetInnerHTML:{__html:xi.sanitize(ke.t("landing.header.sup"))}})]}),W.jsx("div",{className:`header-right ${a?"animated":""}`,onClick:n,children:W.jsx(DO,{})})]})}),W.jsx(OO,{})]})},AO=({title:a,titleId:i,...n},t)=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,viewBox:"0 0 22.5 22.5",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("circle",{className:"bg",cx:11.2,cy:11.2,r:11.2,fill:"none"}),y.createElement("g",{fill:"none",stroke:"#000",strokeWidth:1.5},y.createElement("path",{d:"M11.2 21.8c5.8 0 10.5-4.7 10.5-10.5S17.1.8 11.2.8.8 5.4.8 11.2s4.6 10.6 10.4 10.6z",strokeMiterlimit:10}),y.createElement("path",{d:"M11.2 15.5c-.1 0-.1 0-.2.1-.1 0-.1.1-.1.2v.2c0 .1.1.1.1.2.1.1.1.1.2.1h.2c.1 0 .1-.1.2-.1 0-.1.1-.1.1-.2s0-.2-.1-.3c-.2-.2-.3-.2-.4-.2z",strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M11.2 12.7V4.9",strokeLinecap:"round",strokeMiterlimit:10}))),CO=y.forwardRef(AO);function RO({name:a,onClick:i,activeTab:n,className:t="",label:l,Icon:s,notifier:c,readOnly:d,busy:h}){const m=()=>{d||i(a)};t+=` tab ${a}`,n===a&&(t+=" active"),d&&(t+=" read-only"),h&&(t+=" busy");let v=null;if(l&&l.indexOf("(")>-1){const g=l.substring(l.indexOf("(")+1,l.indexOf(")"));l=l.substring(0,l.indexOf("(")-1),v=W.jsx(qE,{value:g,small:!0})}return W.jsxs("div",{className:t,onClick:m,children:[c&&W.jsx("span",{className:"notifier",children:W.jsx(CO,{})}),W.jsxs("button",{className:"tab-label",children:[s&&W.jsx(s,{}),l,v]})]})}const NO=({children:a,className:i,activeTab:n,tabChanged:t})=>{const l=a.filter(s=>s);return a.some(s=>s.props&&s.props.name===n)||(n=(a[0]||{props:{name:n}}).props.name),W.jsxs(W.Fragment,{children:[W.jsx("div",{className:"tabs-container",children:W.jsx("div",{className:`tabs ${i||""}`,children:l.map(s=>{const{label:c,name:d,notifier:h,readOnly:m}=s.props;return W.jsx(RO,{activeTab:n,readOnly:m,name:d,notifier:h,label:c,onClick:v=>t(v),className:i},d)})})}),l.map(s=>{if(s.props.name===n)return s})]})},kO=({children:a})=>W.jsx("div",{className:"unit-header-container",children:W.jsx("div",{className:"unit-header",children:W.jsx("div",{className:"obj-name",children:a})})}),LO=({children:a,className:i=""})=>W.jsx("div",{className:`page ${i}`,children:a}),qO=({title:a,titleId:i,...n},t)=>y.createElement("svg",{className:"info-svg",xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,viewBox:"0 0 22.5 22.5",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("circle",{className:"bg",cx:11.2,cy:11.2,r:11.2,fill:"none"}),y.createElement("g",{fill:"none"},y.createElement("path",{d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5z"}),y.createElement("path",{d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5z",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M13.5 15.8h-.8c-.4 0-.8-.2-1.1-.4-.3-.3-.4-.7-.4-1.1v-3.8c0-.2-.1-.4-.2-.5-.1-.1-.3-.2-.5-.2h-.7M10.9 6c-.1 0-.1 0-.2.1-.1 0-.1.1-.1.2v.2c0 .1.1.1.1.2.1.1.1.1.2.1h.2c.1 0 .1-.1.2-.1 0-.1.1-.1.1-.2s0-.2-.1-.3c-.2-.2-.3-.2-.4-.2z",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),UO=y.forwardRef(qO),HO=({proceed:a})=>{const[i,n]=y.useState(!1),[t,l]=y.useState(!1),[s,c]=y.useState(""),{setFlash:d}=Pn(m=>m),h=m=>{c(m),VM(m).then(v=>{d(ke.t("verification.flash",{name:`${v.firstName} ${v.lastName}`})),Pn.setState(()=>({controlCode:v})),n(!1),c(""),l(!1),a()}).catch(()=>{n(!0),setTimeout(()=>n(!1),20),l(!0)})};return W.jsxs("div",{className:"verification",children:[W.jsx("h4",{children:ke.t("verification.header")}),W.jsxs("div",{className:"code-validation",children:[W.jsx(X9,{verify:m=>h(m),size:5,clear:i,intermediateCallback:()=>l(!1),validate:m=>!isNaN(m)}),W.jsx(no,{txt:ke.t("verification.proceed"),disabled:!0,onClick:()=>!0})]}),t&&W.jsx(YE,{message:ke.t("verification.error",{code:s})}),W.jsxs("div",{className:"disclaimer",children:[W.jsx(UO,{}),W.jsx("p",{children:ke.t("verification.info")})]})]})};function eb(a){var i,n,t="";if(typeof a=="string"||typeof a=="number")t+=a;else if(typeof a=="object")if(Array.isArray(a)){var l=a.length;for(i=0;i<l;i++)a[i]&&(n=eb(a[i]))&&(t&&(t+=" "),t+=n)}else for(n in a)a[n]&&(t&&(t+=" "),t+=n);return t}function Cn(){for(var a,i,n=0,t="",l=arguments.length;n<l;n++)(a=arguments[n])&&(i=eb(a))&&(t&&(t+=" "),t+=i);return t}const tb=6048e5,PO=864e5,ef=6e4,tf=36e5,zO=1e3,e9=Symbol.for("constructDateFrom");function Et(a,i){return typeof a=="function"?a(i):a&&typeof a=="object"&&e9 in a?a[e9](i):a instanceof Date?new a.constructor(i):new Date(i)}function xe(a,i){return Et(i||a,a)}function Zr(a,i,n){const t=xe(a,n==null?void 0:n.in);return isNaN(i)?Et((n==null?void 0:n.in)||a,NaN):(i&&t.setDate(t.getDate()+i),t)}function Wr(a,i,n){const t=xe(a,n==null?void 0:n.in);if(isNaN(i))return Et(a,NaN);if(!i)return t;const l=t.getDate(),s=Et(a,t.getTime());s.setMonth(t.getMonth()+i+1,0);const c=s.getDate();return l>=c?s:(t.setFullYear(s.getFullYear(),s.getMonth(),l),t)}function nb(a,i,n){return Et(a,+xe(a)+i)}function YO(a,i,n){return nb(a,i*tf)}let jO={};function hl(){return jO}function Ga(a,i){var d,h,m,v;const n=hl(),t=(i==null?void 0:i.weekStartsOn)??((h=(d=i==null?void 0:i.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??n.weekStartsOn??((v=(m=n.locale)==null?void 0:m.options)==null?void 0:v.weekStartsOn)??0,l=xe(a,i==null?void 0:i.in),s=l.getDay(),c=(s<t?7:0)+s-t;return l.setDate(l.getDate()-c),l.setHours(0,0,0,0),l}function ao(a,i){return Ga(a,{...i,weekStartsOn:1})}function rb(a,i){const n=xe(a,i==null?void 0:i.in),t=n.getFullYear(),l=Et(n,0);l.setFullYear(t+1,0,4),l.setHours(0,0,0,0);const s=ao(l),c=Et(n,0);c.setFullYear(t,0,4),c.setHours(0,0,0,0);const d=ao(c);return n.getTime()>=s.getTime()?t+1:n.getTime()>=d.getTime()?t:t-1}function Cc(a){const i=xe(a),n=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()));return n.setUTCFullYear(i.getFullYear()),+a-+n}function Va(a,...i){const n=Et.bind(null,i.find(t=>typeof t=="object"));return i.map(n)}function sl(a,i){const n=xe(a,i==null?void 0:i.in);return n.setHours(0,0,0,0),n}function io(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i),s=sl(t),c=sl(l),d=+s-Cc(s),h=+c-Cc(c);return Math.round((d-h)/PO)}function BO(a,i){const n=rb(a,i),t=Et(a,0);return t.setFullYear(n,0,4),t.setHours(0,0,0,0),ao(t)}function G2(a,i,n){const t=xe(a,n==null?void 0:n.in);return t.setTime(t.getTime()+i*ef),t}function Cm(a,i,n){return Wr(a,i*3,n)}function IO(a,i,n){return nb(a,i*1e3)}function Rc(a,i,n){return Zr(a,i*7,n)}function za(a,i,n){return Wr(a,i*12,n)}function t9(a,i){let n,t=i==null?void 0:i.in;return a.forEach(l=>{!t&&typeof l=="object"&&(t=Et.bind(null,l));const s=xe(l,t);(!n||n<s||isNaN(+s))&&(n=s)}),Et(t,n||NaN)}function n9(a,i){let n,t=i==null?void 0:i.in;return a.forEach(l=>{!t&&typeof l=="object"&&(t=Et.bind(null,l));const s=xe(l,t);(!n||n>s||isNaN(+s))&&(n=s)}),Et(t,n||NaN)}function FO(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i);return+sl(t)==+sl(l)}function Ya(a){return a instanceof Date||typeof a=="object"&&Object.prototype.toString.call(a)==="[object Date]"}function Nc(a){return!(!Ya(a)&&typeof a!="number"||isNaN(+xe(a)))}function kc(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i),s=t.getFullYear()-l.getFullYear(),c=t.getMonth()-l.getMonth();return s*12+c}function rl(a,i){const n=xe(a,i==null?void 0:i.in);return Math.trunc(n.getMonth()/3)+1}function Lc(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i),s=t.getFullYear()-l.getFullYear(),c=rl(t)-rl(l);return s*4+c}function qc(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i);return t.getFullYear()-l.getFullYear()}function GO(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i),s=r9(t,l),c=Math.abs(io(t,l));t.setDate(t.getDate()-s*c);const d=+(r9(t,l)===-s),h=s*(c-d);return h===0?0:h}function r9(a,i){const n=a.getFullYear()-i.getFullYear()||a.getMonth()-i.getMonth()||a.getDate()-i.getDate()||a.getHours()-i.getHours()||a.getMinutes()-i.getMinutes()||a.getSeconds()-i.getSeconds()||a.getMilliseconds()-i.getMilliseconds();return n<0?-1:n>0?1:n}function ab(a,i){const n=xe(a,i==null?void 0:i.in);return n.setHours(23,59,59,999),n}function ib(a,i){const n=xe(a,i==null?void 0:i.in),t=n.getMonth();return n.setFullYear(n.getFullYear(),t+1,0),n.setHours(23,59,59,999),n}function Z2(a,i){const n=xe(a,i==null?void 0:i.in),t=n.getMonth(),l=t-t%3;return n.setMonth(l,1),n.setHours(0,0,0,0),n}function lb(a,i){const n=xe(a,i==null?void 0:i.in);return n.setDate(1),n.setHours(0,0,0,0),n}function ob(a,i){const n=xe(a,i==null?void 0:i.in),t=n.getFullYear();return n.setFullYear(t+1,0,0),n.setHours(23,59,59,999),n}function nf(a,i){const n=xe(a,i==null?void 0:i.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function ZO(a,i){var d,h;const n=hl(),t=n.weekStartsOn??((h=(d=n.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??0,l=xe(a,i==null?void 0:i.in),s=l.getDay(),c=(s<t?-7:0)+6-(s-t);return l.setDate(l.getDate()+c),l.setHours(23,59,59,999),l}const VO={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},WO=(a,i,n)=>{let t;const l=VO[a];return typeof l=="string"?t=l:i===1?t=l.one:t=l.other.replace("{{count}}",i.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+t:t+" ago":t};function i2(a){return(i={})=>{const n=i.width?String(i.width):a.defaultWidth;return a.formats[n]||a.formats[a.defaultWidth]}}const QO={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},KO={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},XO={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$O={date:i2({formats:QO,defaultWidth:"full"}),time:i2({formats:KO,defaultWidth:"full"}),dateTime:i2({formats:XO,defaultWidth:"full"})},JO={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},eA=(a,i,n,t)=>JO[a];function Ds(a){return(i,n)=>{const t=n!=null&&n.context?String(n.context):"standalone";let l;if(t==="formatting"&&a.formattingValues){const c=a.defaultFormattingWidth||a.defaultWidth,d=n!=null&&n.width?String(n.width):c;l=a.formattingValues[d]||a.formattingValues[c]}else{const c=a.defaultWidth,d=n!=null&&n.width?String(n.width):a.defaultWidth;l=a.values[d]||a.values[c]}const s=a.argumentCallback?a.argumentCallback(i):i;return l[s]}}const tA={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},nA={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},rA={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},aA={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},iA={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},lA={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},oA=(a,i)=>{const n=Number(a),t=n%100;if(t>20||t<10)switch(t%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},sA={ordinalNumber:oA,era:Ds({values:tA,defaultWidth:"wide"}),quarter:Ds({values:nA,defaultWidth:"wide",argumentCallback:a=>a-1}),month:Ds({values:rA,defaultWidth:"wide"}),day:Ds({values:aA,defaultWidth:"wide"}),dayPeriod:Ds({values:iA,defaultWidth:"wide",formattingValues:lA,defaultFormattingWidth:"wide"})};function Ts(a){return(i,n={})=>{const t=n.width,l=t&&a.matchPatterns[t]||a.matchPatterns[a.defaultMatchWidth],s=i.match(l);if(!s)return null;const c=s[0],d=t&&a.parsePatterns[t]||a.parsePatterns[a.defaultParseWidth],h=Array.isArray(d)?cA(d,g=>g.test(c)):uA(d,g=>g.test(c));let m;m=a.valueCallback?a.valueCallback(h):h,m=n.valueCallback?n.valueCallback(m):m;const v=i.slice(c.length);return{value:m,rest:v}}}function uA(a,i){for(const n in a)if(Object.prototype.hasOwnProperty.call(a,n)&&i(a[n]))return n}function cA(a,i){for(let n=0;n<a.length;n++)if(i(a[n]))return n}function fA(a){return(i,n={})=>{const t=i.match(a.matchPattern);if(!t)return null;const l=t[0],s=i.match(a.parsePattern);if(!s)return null;let c=a.valueCallback?a.valueCallback(s[0]):s[0];c=n.valueCallback?n.valueCallback(c):c;const d=i.slice(l.length);return{value:c,rest:d}}}const dA=/^(\d+)(th|st|nd|rd)?/i,hA=/\d+/i,pA={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},mA={any:[/^b/i,/^(a|c)/i]},vA={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},gA={any:[/1/i,/2/i,/3/i,/4/i]},yA={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},bA={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},_A={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},SA={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},EA={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},wA={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},DA={ordinalNumber:fA({matchPattern:dA,parsePattern:hA,valueCallback:a=>parseInt(a,10)}),era:Ts({matchPatterns:pA,defaultMatchWidth:"wide",parsePatterns:mA,defaultParseWidth:"any"}),quarter:Ts({matchPatterns:vA,defaultMatchWidth:"wide",parsePatterns:gA,defaultParseWidth:"any",valueCallback:a=>a+1}),month:Ts({matchPatterns:yA,defaultMatchWidth:"wide",parsePatterns:bA,defaultParseWidth:"any"}),day:Ts({matchPatterns:_A,defaultMatchWidth:"wide",parsePatterns:SA,defaultParseWidth:"any"}),dayPeriod:Ts({matchPatterns:EA,defaultMatchWidth:"any",parsePatterns:wA,defaultParseWidth:"any"})},sb={code:"en-US",formatDistance:WO,formatLong:$O,formatRelative:eA,localize:sA,match:DA,options:{weekStartsOn:0,firstWeekContainsDate:1}};function TA(a,i){const n=xe(a,i==null?void 0:i.in);return io(n,nf(n))+1}function Rm(a,i){const n=xe(a,i==null?void 0:i.in),t=+ao(n)-+BO(n);return Math.round(t/tb)+1}function Nm(a,i){var v,g,S,w;const n=xe(a,i==null?void 0:i.in),t=n.getFullYear(),l=hl(),s=(i==null?void 0:i.firstWeekContainsDate)??((g=(v=i==null?void 0:i.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??l.firstWeekContainsDate??((w=(S=l.locale)==null?void 0:S.options)==null?void 0:w.firstWeekContainsDate)??1,c=Et((i==null?void 0:i.in)||a,0);c.setFullYear(t+1,0,s),c.setHours(0,0,0,0);const d=Ga(c,i),h=Et((i==null?void 0:i.in)||a,0);h.setFullYear(t,0,s),h.setHours(0,0,0,0);const m=Ga(h,i);return+n>=+d?t+1:+n>=+m?t:t-1}function xA(a,i){var d,h,m,v;const n=hl(),t=(i==null?void 0:i.firstWeekContainsDate)??((h=(d=i==null?void 0:i.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??n.firstWeekContainsDate??((v=(m=n.locale)==null?void 0:m.options)==null?void 0:v.firstWeekContainsDate)??1,l=Nm(a,i),s=Et((i==null?void 0:i.in)||a,0);return s.setFullYear(l,0,t),s.setHours(0,0,0,0),Ga(s,i)}function ub(a,i){const n=xe(a,i==null?void 0:i.in),t=+Ga(n,i)-+xA(n,i);return Math.round(t/tb)+1}function St(a,i){const n=a<0?"-":"",t=Math.abs(a).toString().padStart(i,"0");return n+t}const Si={y(a,i){const n=a.getFullYear(),t=n>0?n:1-n;return St(i==="yy"?t%100:t,i.length)},M(a,i){const n=a.getMonth();return i==="M"?String(n+1):St(n+1,2)},d(a,i){return St(a.getDate(),i.length)},a(a,i){const n=a.getHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(a,i){return St(a.getHours()%12||12,i.length)},H(a,i){return St(a.getHours(),i.length)},m(a,i){return St(a.getMinutes(),i.length)},s(a,i){return St(a.getSeconds(),i.length)},S(a,i){const n=i.length,t=a.getMilliseconds(),l=Math.trunc(t*Math.pow(10,n-3));return St(l,i.length)}},Ql={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},a9={G:function(a,i,n){const t=a.getFullYear()>0?1:0;switch(i){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"});case"GGGGG":return n.era(t,{width:"narrow"});case"GGGG":default:return n.era(t,{width:"wide"})}},y:function(a,i,n){if(i==="yo"){const t=a.getFullYear(),l=t>0?t:1-t;return n.ordinalNumber(l,{unit:"year"})}return Si.y(a,i)},Y:function(a,i,n,t){const l=Nm(a,t),s=l>0?l:1-l;if(i==="YY"){const c=s%100;return St(c,2)}return i==="Yo"?n.ordinalNumber(s,{unit:"year"}):St(s,i.length)},R:function(a,i){const n=rb(a);return St(n,i.length)},u:function(a,i){const n=a.getFullYear();return St(n,i.length)},Q:function(a,i,n){const t=Math.ceil((a.getMonth()+1)/3);switch(i){case"Q":return String(t);case"QQ":return St(t,2);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(t,{width:"wide",context:"formatting"})}},q:function(a,i,n){const t=Math.ceil((a.getMonth()+1)/3);switch(i){case"q":return String(t);case"qq":return St(t,2);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(t,{width:"wide",context:"standalone"})}},M:function(a,i,n){const t=a.getMonth();switch(i){case"M":case"MM":return Si.M(a,i);case"Mo":return n.ordinalNumber(t+1,{unit:"month"});case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})}},L:function(a,i,n){const t=a.getMonth();switch(i){case"L":return String(t+1);case"LL":return St(t+1,2);case"Lo":return n.ordinalNumber(t+1,{unit:"month"});case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(t,{width:"wide",context:"standalone"})}},w:function(a,i,n,t){const l=ub(a,t);return i==="wo"?n.ordinalNumber(l,{unit:"week"}):St(l,i.length)},I:function(a,i,n){const t=Rm(a);return i==="Io"?n.ordinalNumber(t,{unit:"week"}):St(t,i.length)},d:function(a,i,n){return i==="do"?n.ordinalNumber(a.getDate(),{unit:"date"}):Si.d(a,i)},D:function(a,i,n){const t=TA(a);return i==="Do"?n.ordinalNumber(t,{unit:"dayOfYear"}):St(t,i.length)},E:function(a,i,n){const t=a.getDay();switch(i){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"});case"EEEE":default:return n.day(t,{width:"wide",context:"formatting"})}},e:function(a,i,n,t){const l=a.getDay(),s=(l-t.weekStartsOn+8)%7||7;switch(i){case"e":return String(s);case"ee":return St(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(l,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(l,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(l,{width:"short",context:"formatting"});case"eeee":default:return n.day(l,{width:"wide",context:"formatting"})}},c:function(a,i,n,t){const l=a.getDay(),s=(l-t.weekStartsOn+8)%7||7;switch(i){case"c":return String(s);case"cc":return St(s,i.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(l,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(l,{width:"narrow",context:"standalone"});case"cccccc":return n.day(l,{width:"short",context:"standalone"});case"cccc":default:return n.day(l,{width:"wide",context:"standalone"})}},i:function(a,i,n){const t=a.getDay(),l=t===0?7:t;switch(i){case"i":return String(l);case"ii":return St(l,i.length);case"io":return n.ordinalNumber(l,{unit:"day"});case"iii":return n.day(t,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(t,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(t,{width:"short",context:"formatting"});case"iiii":default:return n.day(t,{width:"wide",context:"formatting"})}},a:function(a,i,n){const l=a.getHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(l,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},b:function(a,i,n){const t=a.getHours();let l;switch(t===12?l=Ql.noon:t===0?l=Ql.midnight:l=t/12>=1?"pm":"am",i){case"b":case"bb":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(l,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},B:function(a,i,n){const t=a.getHours();let l;switch(t>=17?l=Ql.evening:t>=12?l=Ql.afternoon:t>=4?l=Ql.morning:l=Ql.night,i){case"B":case"BB":case"BBB":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(l,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},h:function(a,i,n){if(i==="ho"){let t=a.getHours()%12;return t===0&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return Si.h(a,i)},H:function(a,i,n){return i==="Ho"?n.ordinalNumber(a.getHours(),{unit:"hour"}):Si.H(a,i)},K:function(a,i,n){const t=a.getHours()%12;return i==="Ko"?n.ordinalNumber(t,{unit:"hour"}):St(t,i.length)},k:function(a,i,n){let t=a.getHours();return t===0&&(t=24),i==="ko"?n.ordinalNumber(t,{unit:"hour"}):St(t,i.length)},m:function(a,i,n){return i==="mo"?n.ordinalNumber(a.getMinutes(),{unit:"minute"}):Si.m(a,i)},s:function(a,i,n){return i==="so"?n.ordinalNumber(a.getSeconds(),{unit:"second"}):Si.s(a,i)},S:function(a,i){return Si.S(a,i)},X:function(a,i,n){const t=a.getTimezoneOffset();if(t===0)return"Z";switch(i){case"X":return l9(t);case"XXXX":case"XX":return el(t);case"XXXXX":case"XXX":default:return el(t,":")}},x:function(a,i,n){const t=a.getTimezoneOffset();switch(i){case"x":return l9(t);case"xxxx":case"xx":return el(t);case"xxxxx":case"xxx":default:return el(t,":")}},O:function(a,i,n){const t=a.getTimezoneOffset();switch(i){case"O":case"OO":case"OOO":return"GMT"+i9(t,":");case"OOOO":default:return"GMT"+el(t,":")}},z:function(a,i,n){const t=a.getTimezoneOffset();switch(i){case"z":case"zz":case"zzz":return"GMT"+i9(t,":");case"zzzz":default:return"GMT"+el(t,":")}},t:function(a,i,n){const t=Math.trunc(+a/1e3);return St(t,i.length)},T:function(a,i,n){return St(+a,i.length)}};function i9(a,i=""){const n=a>0?"-":"+",t=Math.abs(a),l=Math.trunc(t/60),s=t%60;return s===0?n+String(l):n+String(l)+i+St(s,2)}function l9(a,i){return a%60===0?(a>0?"-":"+")+St(Math.abs(a)/60,2):el(a,i)}function el(a,i=""){const n=a>0?"-":"+",t=Math.abs(a),l=St(Math.trunc(t/60),2),s=St(t%60,2);return n+l+i+s}const o9=(a,i)=>{switch(a){case"P":return i.date({width:"short"});case"PP":return i.date({width:"medium"});case"PPP":return i.date({width:"long"});case"PPPP":default:return i.date({width:"full"})}},cb=(a,i)=>{switch(a){case"p":return i.time({width:"short"});case"pp":return i.time({width:"medium"});case"ppp":return i.time({width:"long"});case"pppp":default:return i.time({width:"full"})}},MA=(a,i)=>{const n=a.match(/(P+)(p+)?/)||[],t=n[1],l=n[2];if(!l)return o9(a,i);let s;switch(t){case"P":s=i.dateTime({width:"short"});break;case"PP":s=i.dateTime({width:"medium"});break;case"PPP":s=i.dateTime({width:"long"});break;case"PPPP":default:s=i.dateTime({width:"full"});break}return s.replace("{{date}}",o9(t,i)).replace("{{time}}",cb(l,i))},V2={p:cb,P:MA},OA=/^D+$/,AA=/^Y+$/,CA=["D","DD","YY","YYYY"];function RA(a){return OA.test(a)}function NA(a){return AA.test(a)}function kA(a,i,n){const t=LA(a,i,n);if(console.warn(t),CA.includes(a))throw new RangeError(t)}function LA(a,i,n){const t=a[0]==="Y"?"years":"days of the month";return`Use \`${a.toLowerCase()}\` instead of \`${a}\` (in \`${i}\`) for formatting ${t} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const qA=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,UA=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,HA=/^'([^]*?)'?$/,PA=/''/g,zA=/[a-zA-Z]/;function s9(a,i,n){var v,g,S,w,M,R,C,U;const t=hl(),l=(n==null?void 0:n.locale)??t.locale??sb,s=(n==null?void 0:n.firstWeekContainsDate)??((g=(v=n==null?void 0:n.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??t.firstWeekContainsDate??((w=(S=t.locale)==null?void 0:S.options)==null?void 0:w.firstWeekContainsDate)??1,c=(n==null?void 0:n.weekStartsOn)??((R=(M=n==null?void 0:n.locale)==null?void 0:M.options)==null?void 0:R.weekStartsOn)??t.weekStartsOn??((U=(C=t.locale)==null?void 0:C.options)==null?void 0:U.weekStartsOn)??0,d=xe(a,n==null?void 0:n.in);if(!Nc(d))throw new RangeError("Invalid time value");let h=i.match(UA).map(O=>{const Y=O[0];if(Y==="p"||Y==="P"){const K=V2[Y];return K(O,l.formatLong)}return O}).join("").match(qA).map(O=>{if(O==="''")return{isToken:!1,value:"'"};const Y=O[0];if(Y==="'")return{isToken:!1,value:YA(O)};if(a9[Y])return{isToken:!0,value:O};if(Y.match(zA))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Y+"`");return{isToken:!1,value:O}});l.localize.preprocessor&&(h=l.localize.preprocessor(d,h));const m={firstWeekContainsDate:s,weekStartsOn:c,locale:l};return h.map(O=>{if(!O.isToken)return O.value;const Y=O.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&NA(Y)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&RA(Y))&&kA(Y,i,String(a));const K=a9[Y[0]];return K(d,Y,l.localize,m)}).join("")}function YA(a){const i=a.match(HA);return i?i[1].replace(PA,"'"):a}function u9(a,i){return xe(a,i==null?void 0:i.in).getDate()}function jA(a,i){return xe(a,i==null?void 0:i.in).getDay()}function BA(a,i){const n=xe(a,i==null?void 0:i.in),t=n.getFullYear(),l=n.getMonth(),s=Et(n,0);return s.setFullYear(t,l+1,0),s.setHours(0,0,0,0),s.getDate()}function IA(){return Object.assign({},hl())}function ja(a,i){return xe(a,i==null?void 0:i.in).getHours()}function FA(a,i){const n=xe(a,i==null?void 0:i.in).getDay();return n===0?7:n}function Ba(a,i){return xe(a,i==null?void 0:i.in).getMinutes()}function Gn(a,i){return xe(a,i==null?void 0:i.in).getMonth()}function Oi(a){return xe(a).getSeconds()}function W2(a){return+xe(a)}function Ge(a,i){return xe(a,i==null?void 0:i.in).getFullYear()}function Ri(a,i){return+xe(a)>+xe(i)}function ul(a,i){return+xe(a)<+xe(i)}function GA(a,i){return+xe(a)==+xe(i)}function ZA(a,i){const n=VA(i)?new i(0):Et(i,0);return n.setFullYear(a.getFullYear(),a.getMonth(),a.getDate()),n.setHours(a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()),n}function VA(a){var i;return typeof a=="function"&&((i=a.prototype)==null?void 0:i.constructor)===a}const WA=10;class fb{constructor(){_e(this,"subPriority",0)}validate(i,n){return!0}}class QA extends fb{constructor(i,n,t,l,s){super(),this.value=i,this.validateValue=n,this.setValue=t,this.priority=l,s&&(this.subPriority=s)}validate(i,n){return this.validateValue(i,this.value,n)}set(i,n,t){return this.setValue(i,n,this.value,t)}}class KA extends fb{constructor(n,t){super();_e(this,"priority",WA);_e(this,"subPriority",-1);this.context=n||(l=>Et(t,l))}set(n,t){return t.timestampIsSet?n:Et(n,ZA(n,this.context))}}class ft{run(i,n,t,l){const s=this.parse(i,n,t,l);return s?{setter:new QA(s.value,this.validate,this.set,this.priority,this.subPriority),rest:s.rest}:null}validate(i,n,t){return!0}}class XA extends ft{constructor(){super(...arguments);_e(this,"priority",140);_e(this,"incompatibleTokens",["R","u","t","T"])}parse(n,t,l){switch(t){case"G":case"GG":case"GGG":return l.era(n,{width:"abbreviated"})||l.era(n,{width:"narrow"});case"GGGGG":return l.era(n,{width:"narrow"});case"GGGG":default:return l.era(n,{width:"wide"})||l.era(n,{width:"abbreviated"})||l.era(n,{width:"narrow"})}}set(n,t,l){return t.era=l,n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}}const rn={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},fa={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function an(a,i){return a&&{value:i(a.value),rest:a.rest}}function Wt(a,i){const n=i.match(a);return n?{value:parseInt(n[0],10),rest:i.slice(n[0].length)}:null}function da(a,i){const n=i.match(a);if(!n)return null;if(n[0]==="Z")return{value:0,rest:i.slice(1)};const t=n[1]==="+"?1:-1,l=n[2]?parseInt(n[2],10):0,s=n[3]?parseInt(n[3],10):0,c=n[5]?parseInt(n[5],10):0;return{value:t*(l*tf+s*ef+c*zO),rest:i.slice(n[0].length)}}function db(a){return Wt(rn.anyDigitsSigned,a)}function $t(a,i){switch(a){case 1:return Wt(rn.singleDigit,i);case 2:return Wt(rn.twoDigits,i);case 3:return Wt(rn.threeDigits,i);case 4:return Wt(rn.fourDigits,i);default:return Wt(new RegExp("^\\d{1,"+a+"}"),i)}}function Uc(a,i){switch(a){case 1:return Wt(rn.singleDigitSigned,i);case 2:return Wt(rn.twoDigitsSigned,i);case 3:return Wt(rn.threeDigitsSigned,i);case 4:return Wt(rn.fourDigitsSigned,i);default:return Wt(new RegExp("^-?\\d{1,"+a+"}"),i)}}function km(a){switch(a){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function hb(a,i){const n=i>0,t=n?i:1-i;let l;if(t<=50)l=a||100;else{const s=t+50,c=Math.trunc(s/100)*100,d=a>=s%100;l=a+c-(d?100:0)}return n?l:1-l}function pb(a){return a%400===0||a%4===0&&a%100!==0}class $A extends ft{constructor(){super(...arguments);_e(this,"priority",130);_e(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,t,l){const s=c=>({year:c,isTwoDigitYear:t==="yy"});switch(t){case"y":return an($t(4,n),s);case"yo":return an(l.ordinalNumber(n,{unit:"year"}),s);default:return an($t(t.length,n),s)}}validate(n,t){return t.isTwoDigitYear||t.year>0}set(n,t,l){const s=n.getFullYear();if(l.isTwoDigitYear){const d=hb(l.year,s);return n.setFullYear(d,0,1),n.setHours(0,0,0,0),n}const c=!("era"in t)||t.era===1?l.year:1-l.year;return n.setFullYear(c,0,1),n.setHours(0,0,0,0),n}}class JA extends ft{constructor(){super(...arguments);_e(this,"priority",130);_e(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,t,l){const s=c=>({year:c,isTwoDigitYear:t==="YY"});switch(t){case"Y":return an($t(4,n),s);case"Yo":return an(l.ordinalNumber(n,{unit:"year"}),s);default:return an($t(t.length,n),s)}}validate(n,t){return t.isTwoDigitYear||t.year>0}set(n,t,l,s){const c=Nm(n,s);if(l.isTwoDigitYear){const h=hb(l.year,c);return n.setFullYear(h,0,s.firstWeekContainsDate),n.setHours(0,0,0,0),Ga(n,s)}const d=!("era"in t)||t.era===1?l.year:1-l.year;return n.setFullYear(d,0,s.firstWeekContainsDate),n.setHours(0,0,0,0),Ga(n,s)}}class eC extends ft{constructor(){super(...arguments);_e(this,"priority",130);_e(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,t){return Uc(t==="R"?4:t.length,n)}set(n,t,l){const s=Et(n,0);return s.setFullYear(l,0,4),s.setHours(0,0,0,0),ao(s)}}class tC extends ft{constructor(){super(...arguments);_e(this,"priority",130);_e(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,t){return Uc(t==="u"?4:t.length,n)}set(n,t,l){return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}}class nC extends ft{constructor(){super(...arguments);_e(this,"priority",120);_e(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"Q":case"QQ":return $t(t.length,n);case"Qo":return l.ordinalNumber(n,{unit:"quarter"});case"QQQ":return l.quarter(n,{width:"abbreviated",context:"formatting"})||l.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return l.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return l.quarter(n,{width:"wide",context:"formatting"})||l.quarter(n,{width:"abbreviated",context:"formatting"})||l.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,t){return t>=1&&t<=4}set(n,t,l){return n.setMonth((l-1)*3,1),n.setHours(0,0,0,0),n}}class rC extends ft{constructor(){super(...arguments);_e(this,"priority",120);_e(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"q":case"qq":return $t(t.length,n);case"qo":return l.ordinalNumber(n,{unit:"quarter"});case"qqq":return l.quarter(n,{width:"abbreviated",context:"standalone"})||l.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return l.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return l.quarter(n,{width:"wide",context:"standalone"})||l.quarter(n,{width:"abbreviated",context:"standalone"})||l.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,t){return t>=1&&t<=4}set(n,t,l){return n.setMonth((l-1)*3,1),n.setHours(0,0,0,0),n}}class aC extends ft{constructor(){super(...arguments);_e(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);_e(this,"priority",110)}parse(n,t,l){const s=c=>c-1;switch(t){case"M":return an(Wt(rn.month,n),s);case"MM":return an($t(2,n),s);case"Mo":return an(l.ordinalNumber(n,{unit:"month"}),s);case"MMM":return l.month(n,{width:"abbreviated",context:"formatting"})||l.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return l.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return l.month(n,{width:"wide",context:"formatting"})||l.month(n,{width:"abbreviated",context:"formatting"})||l.month(n,{width:"narrow",context:"formatting"})}}validate(n,t){return t>=0&&t<=11}set(n,t,l){return n.setMonth(l,1),n.setHours(0,0,0,0),n}}class iC extends ft{constructor(){super(...arguments);_e(this,"priority",110);_e(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,t,l){const s=c=>c-1;switch(t){case"L":return an(Wt(rn.month,n),s);case"LL":return an($t(2,n),s);case"Lo":return an(l.ordinalNumber(n,{unit:"month"}),s);case"LLL":return l.month(n,{width:"abbreviated",context:"standalone"})||l.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return l.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return l.month(n,{width:"wide",context:"standalone"})||l.month(n,{width:"abbreviated",context:"standalone"})||l.month(n,{width:"narrow",context:"standalone"})}}validate(n,t){return t>=0&&t<=11}set(n,t,l){return n.setMonth(l,1),n.setHours(0,0,0,0),n}}function lC(a,i,n){const t=xe(a,n==null?void 0:n.in),l=ub(t,n)-i;return t.setDate(t.getDate()-l*7),xe(t,n==null?void 0:n.in)}class oC extends ft{constructor(){super(...arguments);_e(this,"priority",100);_e(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,t,l){switch(t){case"w":return Wt(rn.week,n);case"wo":return l.ordinalNumber(n,{unit:"week"});default:return $t(t.length,n)}}validate(n,t){return t>=1&&t<=53}set(n,t,l,s){return Ga(lC(n,l,s),s)}}function sC(a,i,n){const t=xe(a,n==null?void 0:n.in),l=Rm(t,n)-i;return t.setDate(t.getDate()-l*7),t}class uC extends ft{constructor(){super(...arguments);_e(this,"priority",100);_e(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,t,l){switch(t){case"I":return Wt(rn.week,n);case"Io":return l.ordinalNumber(n,{unit:"week"});default:return $t(t.length,n)}}validate(n,t){return t>=1&&t<=53}set(n,t,l){return ao(sC(n,l))}}const cC=[31,28,31,30,31,30,31,31,30,31,30,31],fC=[31,29,31,30,31,30,31,31,30,31,30,31];class dC extends ft{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"subPriority",1);_e(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"d":return Wt(rn.date,n);case"do":return l.ordinalNumber(n,{unit:"date"});default:return $t(t.length,n)}}validate(n,t){const l=n.getFullYear(),s=pb(l),c=n.getMonth();return s?t>=1&&t<=fC[c]:t>=1&&t<=cC[c]}set(n,t,l){return n.setDate(l),n.setHours(0,0,0,0),n}}class hC extends ft{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"subpriority",1);_e(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,t,l){switch(t){case"D":case"DD":return Wt(rn.dayOfYear,n);case"Do":return l.ordinalNumber(n,{unit:"date"});default:return $t(t.length,n)}}validate(n,t){const l=n.getFullYear();return pb(l)?t>=1&&t<=366:t>=1&&t<=365}set(n,t,l){return n.setMonth(0,l),n.setHours(0,0,0,0),n}}function Lm(a,i,n){var g,S,w,M;const t=hl(),l=(n==null?void 0:n.weekStartsOn)??((S=(g=n==null?void 0:n.locale)==null?void 0:g.options)==null?void 0:S.weekStartsOn)??t.weekStartsOn??((M=(w=t.locale)==null?void 0:w.options)==null?void 0:M.weekStartsOn)??0,s=xe(a,n==null?void 0:n.in),c=s.getDay(),h=(i%7+7)%7,m=7-l,v=i<0||i>6?i-(c+m)%7:(h+m)%7-(c+m)%7;return Zr(s,v,n)}class pC extends ft{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"E":case"EE":case"EEE":return l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return l.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return l.day(n,{width:"wide",context:"formatting"})||l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"})}}validate(n,t){return t>=0&&t<=6}set(n,t,l,s){return n=Lm(n,l,s),n.setHours(0,0,0,0),n}}class mC extends ft{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,t,l,s){const c=d=>{const h=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+h};switch(t){case"e":case"ee":return an($t(t.length,n),c);case"eo":return an(l.ordinalNumber(n,{unit:"day"}),c);case"eee":return l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"eeeee":return l.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return l.day(n,{width:"wide",context:"formatting"})||l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"})}}validate(n,t){return t>=0&&t<=6}set(n,t,l,s){return n=Lm(n,l,s),n.setHours(0,0,0,0),n}}class vC extends ft{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,t,l,s){const c=d=>{const h=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+h};switch(t){case"c":case"cc":return an($t(t.length,n),c);case"co":return an(l.ordinalNumber(n,{unit:"day"}),c);case"ccc":return l.day(n,{width:"abbreviated",context:"standalone"})||l.day(n,{width:"short",context:"standalone"})||l.day(n,{width:"narrow",context:"standalone"});case"ccccc":return l.day(n,{width:"narrow",context:"standalone"});case"cccccc":return l.day(n,{width:"short",context:"standalone"})||l.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return l.day(n,{width:"wide",context:"standalone"})||l.day(n,{width:"abbreviated",context:"standalone"})||l.day(n,{width:"short",context:"standalone"})||l.day(n,{width:"narrow",context:"standalone"})}}validate(n,t){return t>=0&&t<=6}set(n,t,l,s){return n=Lm(n,l,s),n.setHours(0,0,0,0),n}}function gC(a,i,n){const t=xe(a,n==null?void 0:n.in),l=FA(t,n),s=i-l;return Zr(t,s,n)}class yC extends ft{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,t,l){const s=c=>c===0?7:c;switch(t){case"i":case"ii":return $t(t.length,n);case"io":return l.ordinalNumber(n,{unit:"day"});case"iii":return an(l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"}),s);case"iiiii":return an(l.day(n,{width:"narrow",context:"formatting"}),s);case"iiiiii":return an(l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"}),s);case"iiii":default:return an(l.day(n,{width:"wide",context:"formatting"})||l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"}),s)}}validate(n,t){return t>=1&&t<=7}set(n,t,l){return n=gC(n,l),n.setHours(0,0,0,0),n}}class bC extends ft{constructor(){super(...arguments);_e(this,"priority",80);_e(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,t,l){switch(t){case"a":case"aa":case"aaa":return l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return l.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return l.dayPeriod(n,{width:"wide",context:"formatting"})||l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,t,l){return n.setHours(km(l),0,0,0),n}}class _C extends ft{constructor(){super(...arguments);_e(this,"priority",80);_e(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,t,l){switch(t){case"b":case"bb":case"bbb":return l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return l.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return l.dayPeriod(n,{width:"wide",context:"formatting"})||l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,t,l){return n.setHours(km(l),0,0,0),n}}class SC extends ft{constructor(){super(...arguments);_e(this,"priority",80);_e(this,"incompatibleTokens",["a","b","t","T"])}parse(n,t,l){switch(t){case"B":case"BB":case"BBB":return l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return l.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return l.dayPeriod(n,{width:"wide",context:"formatting"})||l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,t,l){return n.setHours(km(l),0,0,0),n}}class EC extends ft{constructor(){super(...arguments);_e(this,"priority",70);_e(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,t,l){switch(t){case"h":return Wt(rn.hour12h,n);case"ho":return l.ordinalNumber(n,{unit:"hour"});default:return $t(t.length,n)}}validate(n,t){return t>=1&&t<=12}set(n,t,l){const s=n.getHours()>=12;return s&&l<12?n.setHours(l+12,0,0,0):!s&&l===12?n.setHours(0,0,0,0):n.setHours(l,0,0,0),n}}class wC extends ft{constructor(){super(...arguments);_e(this,"priority",70);_e(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,t,l){switch(t){case"H":return Wt(rn.hour23h,n);case"Ho":return l.ordinalNumber(n,{unit:"hour"});default:return $t(t.length,n)}}validate(n,t){return t>=0&&t<=23}set(n,t,l){return n.setHours(l,0,0,0),n}}class DC extends ft{constructor(){super(...arguments);_e(this,"priority",70);_e(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,t,l){switch(t){case"K":return Wt(rn.hour11h,n);case"Ko":return l.ordinalNumber(n,{unit:"hour"});default:return $t(t.length,n)}}validate(n,t){return t>=0&&t<=11}set(n,t,l){return n.getHours()>=12&&l<12?n.setHours(l+12,0,0,0):n.setHours(l,0,0,0),n}}class TC extends ft{constructor(){super(...arguments);_e(this,"priority",70);_e(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,t,l){switch(t){case"k":return Wt(rn.hour24h,n);case"ko":return l.ordinalNumber(n,{unit:"hour"});default:return $t(t.length,n)}}validate(n,t){return t>=1&&t<=24}set(n,t,l){const s=l<=24?l%24:l;return n.setHours(s,0,0,0),n}}class xC extends ft{constructor(){super(...arguments);_e(this,"priority",60);_e(this,"incompatibleTokens",["t","T"])}parse(n,t,l){switch(t){case"m":return Wt(rn.minute,n);case"mo":return l.ordinalNumber(n,{unit:"minute"});default:return $t(t.length,n)}}validate(n,t){return t>=0&&t<=59}set(n,t,l){return n.setMinutes(l,0,0),n}}class MC extends ft{constructor(){super(...arguments);_e(this,"priority",50);_e(this,"incompatibleTokens",["t","T"])}parse(n,t,l){switch(t){case"s":return Wt(rn.second,n);case"so":return l.ordinalNumber(n,{unit:"second"});default:return $t(t.length,n)}}validate(n,t){return t>=0&&t<=59}set(n,t,l){return n.setSeconds(l,0),n}}class OC extends ft{constructor(){super(...arguments);_e(this,"priority",30);_e(this,"incompatibleTokens",["t","T"])}parse(n,t){const l=s=>Math.trunc(s*Math.pow(10,-t.length+3));return an($t(t.length,n),l)}set(n,t,l){return n.setMilliseconds(l),n}}class AC extends ft{constructor(){super(...arguments);_e(this,"priority",10);_e(this,"incompatibleTokens",["t","T","x"])}parse(n,t){switch(t){case"X":return da(fa.basicOptionalMinutes,n);case"XX":return da(fa.basic,n);case"XXXX":return da(fa.basicOptionalSeconds,n);case"XXXXX":return da(fa.extendedOptionalSeconds,n);case"XXX":default:return da(fa.extended,n)}}set(n,t,l){return t.timestampIsSet?n:Et(n,n.getTime()-Cc(n)-l)}}class CC extends ft{constructor(){super(...arguments);_e(this,"priority",10);_e(this,"incompatibleTokens",["t","T","X"])}parse(n,t){switch(t){case"x":return da(fa.basicOptionalMinutes,n);case"xx":return da(fa.basic,n);case"xxxx":return da(fa.basicOptionalSeconds,n);case"xxxxx":return da(fa.extendedOptionalSeconds,n);case"xxx":default:return da(fa.extended,n)}}set(n,t,l){return t.timestampIsSet?n:Et(n,n.getTime()-Cc(n)-l)}}class RC extends ft{constructor(){super(...arguments);_e(this,"priority",40);_e(this,"incompatibleTokens","*")}parse(n){return db(n)}set(n,t,l){return[Et(n,l*1e3),{timestampIsSet:!0}]}}class NC extends ft{constructor(){super(...arguments);_e(this,"priority",20);_e(this,"incompatibleTokens","*")}parse(n){return db(n)}set(n,t,l){return[Et(n,l),{timestampIsSet:!0}]}}const kC={G:new XA,y:new $A,Y:new JA,R:new eC,u:new tC,Q:new nC,q:new rC,M:new aC,L:new iC,w:new oC,I:new uC,d:new dC,D:new hC,E:new pC,e:new mC,c:new vC,i:new yC,a:new bC,b:new _C,B:new SC,h:new EC,H:new wC,K:new DC,k:new TC,m:new xC,s:new MC,S:new OC,X:new AC,x:new CC,t:new RC,T:new NC},LC=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,qC=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,UC=/^'([^]*?)'?$/,HC=/''/g,PC=/\S/,zC=/[a-zA-Z]/;function YC(a,i,n,t){var C,U,O,Y,K,X,re,V;const l=()=>Et((t==null?void 0:t.in)||n,NaN),s=IA(),c=(t==null?void 0:t.locale)??s.locale??sb,d=(t==null?void 0:t.firstWeekContainsDate)??((U=(C=t==null?void 0:t.locale)==null?void 0:C.options)==null?void 0:U.firstWeekContainsDate)??s.firstWeekContainsDate??((Y=(O=s.locale)==null?void 0:O.options)==null?void 0:Y.firstWeekContainsDate)??1,h=(t==null?void 0:t.weekStartsOn)??((X=(K=t==null?void 0:t.locale)==null?void 0:K.options)==null?void 0:X.weekStartsOn)??s.weekStartsOn??((V=(re=s.locale)==null?void 0:re.options)==null?void 0:V.weekStartsOn)??0;if(!i)return a?l():xe(n,t==null?void 0:t.in);const m={firstWeekContainsDate:d,weekStartsOn:h,locale:c},v=[new KA(t==null?void 0:t.in,n)],g=i.match(qC).map(_=>{const E=_[0];if(E in V2){const D=V2[E];return D(_,c.formatLong)}return _}).join("").match(LC),S=[];for(let _ of g){const E=_[0],D=kC[E];if(D){const{incompatibleTokens:q}=D;if(Array.isArray(q)){const z=S.find(B=>q.includes(B.token)||B.token===E);if(z)throw new RangeError(`The format string mustn't contain \`${z.fullToken}\` and \`${_}\` at the same time`)}else if(D.incompatibleTokens==="*"&&S.length>0)throw new RangeError(`The format string mustn't contain \`${_}\` and any other token at the same time`);S.push({token:E,fullToken:_});const k=D.run(a,_,c.match,m);if(!k)return l();v.push(k.setter),a=k.rest}else{if(E.match(zC))throw new RangeError("Format string contains an unescaped latin alphabet character `"+E+"`");if(_==="''"?_="'":E==="'"&&(_=jC(_)),a.indexOf(_)===0)a=a.slice(_.length);else return l()}}if(a.length>0&&PC.test(a))return l();const w=v.map(_=>_.priority).sort((_,E)=>E-_).filter((_,E,D)=>D.indexOf(_)===E).map(_=>v.filter(E=>E.priority===_).sort((E,D)=>D.subPriority-E.subPriority)).map(_=>_[0]);let M=xe(n,t==null?void 0:t.in);if(isNaN(+M))return l();const R={};for(const _ of w){if(!_.validate(M,m))return l();const E=_.set(M,R,m);Array.isArray(E)?(M=E[0],Object.assign(R,E[1])):M=E}return M}function jC(a){return a.match(UC)[1].replace(HC,"'")}function BC(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i);return t.getFullYear()===l.getFullYear()&&t.getMonth()===l.getMonth()}function IC(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i);return+Z2(t)==+Z2(l)}function FC(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i);return t.getFullYear()===l.getFullYear()}function qs(a,i,n){const t=+xe(a,n==null?void 0:n.in),[l,s]=[+xe(i.start,n==null?void 0:n.in),+xe(i.end,n==null?void 0:n.in)].sort((c,d)=>c-d);return t>=l&&t<=s}function GC(a,i,n){return Zr(a,-1,n)}function ZC(a,i){const n=()=>Et(i==null?void 0:i.in,NaN),l=KC(a);let s;if(l.date){const m=XC(l.date,2);s=$C(m.restDateString,m.year)}if(!s||isNaN(+s))return n();const c=+s;let d=0,h;if(l.time&&(d=JC(l.time),isNaN(d)))return n();if(l.timezone){if(h=eR(l.timezone),isNaN(h))return n()}else{const m=new Date(c+d),v=xe(0,i==null?void 0:i.in);return v.setFullYear(m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate()),v.setHours(m.getUTCHours(),m.getUTCMinutes(),m.getUTCSeconds(),m.getUTCMilliseconds()),v}return xe(c+d+h,i==null?void 0:i.in)}const uc={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},VC=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,WC=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,QC=/^([+-])(\d{2})(?::?(\d{2}))?$/;function KC(a){const i={},n=a.split(uc.dateTimeDelimiter);let t;if(n.length>2)return i;if(/:/.test(n[0])?t=n[0]:(i.date=n[0],t=n[1],uc.timeZoneDelimiter.test(i.date)&&(i.date=a.split(uc.timeZoneDelimiter)[0],t=a.substr(i.date.length,a.length))),t){const l=uc.timezone.exec(t);l?(i.time=t.replace(l[1],""),i.timezone=l[1]):i.time=t}return i}function XC(a,i){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+i)+"})|(\\d{2}|[+-]\\d{"+(2+i)+"})$)"),t=a.match(n);if(!t)return{year:NaN,restDateString:""};const l=t[1]?parseInt(t[1]):null,s=t[2]?parseInt(t[2]):null;return{year:s===null?l:s*100,restDateString:a.slice((t[1]||t[2]).length)}}function $C(a,i){if(i===null)return new Date(NaN);const n=a.match(VC);if(!n)return new Date(NaN);const t=!!n[4],l=xs(n[1]),s=xs(n[2])-1,c=xs(n[3]),d=xs(n[4]),h=xs(n[5])-1;if(t)return iR(i,d,h)?tR(i,d,h):new Date(NaN);{const m=new Date(0);return!rR(i,s,c)||!aR(i,l)?new Date(NaN):(m.setUTCFullYear(i,s,Math.max(l,c)),m)}}function xs(a){return a?parseInt(a):1}function JC(a){const i=a.match(WC);if(!i)return NaN;const n=l2(i[1]),t=l2(i[2]),l=l2(i[3]);return lR(n,t,l)?n*tf+t*ef+l*1e3:NaN}function l2(a){return a&&parseFloat(a.replace(",","."))||0}function eR(a){if(a==="Z")return 0;const i=a.match(QC);if(!i)return 0;const n=i[1]==="+"?-1:1,t=parseInt(i[2]),l=i[3]&&parseInt(i[3])||0;return oR(t,l)?n*(t*tf+l*ef):NaN}function tR(a,i,n){const t=new Date(0);t.setUTCFullYear(a,0,4);const l=t.getUTCDay()||7,s=(i-1)*7+n+1-l;return t.setUTCDate(t.getUTCDate()+s),t}const nR=[31,null,31,30,31,30,31,31,30,31,30,31];function mb(a){return a%400===0||a%4===0&&a%100!==0}function rR(a,i,n){return i>=0&&i<=11&&n>=1&&n<=(nR[i]||(mb(a)?29:28))}function aR(a,i){return i>=1&&i<=(mb(a)?366:365)}function iR(a,i,n){return i>=1&&i<=53&&n>=0&&n<=6}function lR(a,i,n){return a===24?i===0&&n===0:n>=0&&n<60&&i>=0&&i<60&&a>=0&&a<25}function oR(a,i){return i>=0&&i<=59}function Rr(a,i,n){const t=xe(a,n==null?void 0:n.in),l=t.getFullYear(),s=t.getDate(),c=Et(a,0);c.setFullYear(l,i,15),c.setHours(0,0,0,0);const d=BA(c);return t.setMonth(i,Math.min(s,d)),t}function yc(a,i,n){const t=xe(a,n==null?void 0:n.in);return t.setHours(i),t}function bc(a,i,n){const t=xe(a,n==null?void 0:n.in);return t.setMinutes(i),t}function Kl(a,i,n){const t=xe(a,n==null?void 0:n.in),l=Math.trunc(t.getMonth()/3)+1,s=i-l;return Rr(t,t.getMonth()+s*3)}function _c(a,i,n){const t=xe(a,n==null?void 0:n.in);return t.setSeconds(i),t}function ua(a,i,n){const t=xe(a,n==null?void 0:n.in);return isNaN(+t)?Et(a,NaN):(t.setFullYear(i),t)}function al(a,i,n){return Wr(a,-i,n)}function vb(a,i,n){return Cm(a,-1,n)}function c9(a,i,n){return Rc(a,-1,n)}function lo(a,i,n){return za(a,-i,n)}var Sc=typeof document<"u"?y.useLayoutEffect:y.useEffect;function Hc(a,i){if(a===i)return!0;if(typeof a!=typeof i)return!1;if(typeof a=="function"&&a.toString()===i.toString())return!0;let n,t,l;if(a&&i&&typeof a=="object"){if(Array.isArray(a)){if(n=a.length,n!==i.length)return!1;for(t=n;t--!==0;)if(!Hc(a[t],i[t]))return!1;return!0}if(l=Object.keys(a),n=l.length,n!==Object.keys(i).length)return!1;for(t=n;t--!==0;)if(!{}.hasOwnProperty.call(i,l[t]))return!1;for(t=n;t--!==0;){const s=l[t];if(!(s==="_owner"&&a.$$typeof)&&!Hc(a[s],i[s]))return!1}return!0}return a!==a&&i!==i}function gb(a){return typeof window>"u"?1:(a.ownerDocument.defaultView||window).devicePixelRatio||1}function f9(a,i){const n=gb(a);return Math.round(i*n)/n}function o2(a){const i=y.useRef(a);return Sc(()=>{i.current=a}),i}function sR(a){a===void 0&&(a={});const{placement:i="bottom",strategy:n="absolute",middleware:t=[],platform:l,elements:{reference:s,floating:c}={},transform:d=!0,whileElementsMounted:h,open:m}=a,[v,g]=y.useState({x:0,y:0,strategy:n,placement:i,middlewareData:{},isPositioned:!1}),[S,w]=y.useState(t);Hc(S,t)||w(t);const[M,R]=y.useState(null),[C,U]=y.useState(null),O=y.useCallback(L=>{L!==re.current&&(re.current=L,R(L))},[]),Y=y.useCallback(L=>{L!==V.current&&(V.current=L,U(L))},[]),K=s||M,X=c||C,re=y.useRef(null),V=y.useRef(null),_=y.useRef(v),E=h!=null,D=o2(h),q=o2(l),k=o2(m),z=y.useCallback(()=>{if(!re.current||!V.current)return;const L={placement:i,strategy:n,middleware:S};q.current&&(L.platform=q.current),b2(re.current,V.current,L).then($=>{const A={...$,isPositioned:k.current!==!1};B.current&&!Hc(_.current,A)&&(_.current=A,m8.flushSync(()=>{g(A)}))})},[S,i,n,q,k]);Sc(()=>{m===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,g(L=>({...L,isPositioned:!1})))},[m]);const B=y.useRef(!1);Sc(()=>(B.current=!0,()=>{B.current=!1}),[]),Sc(()=>{if(K&&(re.current=K),X&&(V.current=X),K&&X){if(D.current)return D.current(K,X,z);z()}},[K,X,z,D,E]);const H=y.useMemo(()=>({reference:re,floating:V,setReference:O,setFloating:Y}),[O,Y]),T=y.useMemo(()=>({reference:K,floating:X}),[K,X]),N=y.useMemo(()=>{const L={position:n,left:0,top:0};if(!T.floating)return L;const $=f9(T.floating,v.x),A=f9(T.floating,v.y);return d?{...L,transform:"translate("+$+"px, "+A+"px)",...gb(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:$,top:A}},[n,d,T.floating,v.x,v.y]);return y.useMemo(()=>({...v,update:z,refs:H,elements:T,floatingStyles:N}),[v,z,H,T,N])}const uR=a=>{function i(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:a,fn(n){const{element:t,padding:l}=typeof a=="function"?a(n):a;return t&&i(t)?t.current!=null?y2({element:t.current,padding:l}).fn(n):{}:t?y2({element:t,padding:l}).fn(n):{}}}},cR=(a,i)=>({...Z9(a),options:[a,i]}),fR=(a,i)=>({...V9(a),options:[a,i]}),dR=(a,i)=>({...uR(a),options:[a,i]}),yb={...US},hR=yb.useInsertionEffect,pR=hR||(a=>a());function mR(a){const i=y.useRef(()=>{});return pR(()=>{i.current=a}),y.useCallback(function(){for(var n=arguments.length,t=new Array(n),l=0;l<n;l++)t[l]=arguments[l];return i.current==null?void 0:i.current(...t)},[])}var Pc=typeof document<"u"?y.useLayoutEffect:y.useEffect;let d9=!1,vR=0;const h9=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+vR++;function gR(){const[a,i]=y.useState(()=>d9?h9():void 0);return Pc(()=>{a==null&&i(h9())},[]),y.useEffect(()=>{d9=!0},[]),a}const yR=yb.useId,bb=yR||gR,bR=y.forwardRef(function(i,n){const{context:{placement:t,elements:{floating:l},middlewareData:{arrow:s,shift:c}},width:d=14,height:h=7,tipRadius:m=0,strokeWidth:v=0,staticOffset:g,stroke:S,d:w,style:{transform:M,...R}={},...C}=i,U=bb(),[O,Y]=y.useState(!1);if(Pc(()=>{if(!l)return;kr(l).direction==="rtl"&&Y(!0)},[l]),!l)return null;const[K,X]=t.split("-"),re=K==="top"||K==="bottom";let V=g;(re&&c!=null&&c.x||!re&&c!=null&&c.y)&&(V=null);const _=v*2,E=_/2,D=d/2*(m/-8+1),q=h/2*m/4,k=!!w,z=V&&X==="end"?"bottom":"top";let B=V&&X==="end"?"right":"left";V&&O&&(B=X==="end"?"left":"right");const H=(s==null?void 0:s.x)!=null?V||s.x:"",T=(s==null?void 0:s.y)!=null?V||s.y:"",N=w||"M0,0"+(" H"+d)+(" L"+(d-D)+","+(h-q))+(" Q"+d/2+","+h+" "+D+","+(h-q))+" Z",L={top:k?"rotate(180deg)":"",left:k?"rotate(90deg)":"rotate(-90deg)",bottom:k?"":"rotate(180deg)",right:k?"rotate(-90deg)":"rotate(90deg)"}[K];return W.jsxs("svg",{...C,"aria-hidden":!0,ref:n,width:k?d:d+_,height:d,viewBox:"0 0 "+d+" "+(h>d?h:d),style:{position:"absolute",pointerEvents:"none",[B]:H,[z]:T,[K]:re||k?"100%":"calc(100% - "+_/2+"px)",transform:[L,M].filter($=>!!$).join(" "),...R},children:[_>0&&W.jsx("path",{clipPath:"url(#"+U+")",fill:"none",stroke:S,strokeWidth:_+(w?0:1),d:N}),W.jsx("path",{stroke:_&&!w?C.fill:"none",d:N}),W.jsx("clipPath",{id:U,children:W.jsx("rect",{x:-E,y:E*(k?-1:1),width:d+_,height:d})})]})});function _R(){const a=new Map;return{emit(i,n){var t;(t=a.get(i))==null||t.forEach(l=>l(n))},on(i,n){a.set(i,[...a.get(i)||[],n])},off(i,n){var t;a.set(i,((t=a.get(i))==null?void 0:t.filter(l=>l!==n))||[])}}}const SR=y.createContext(null),ER=y.createContext(null),wR=()=>{var a;return((a=y.useContext(SR))==null?void 0:a.id)||null},DR=()=>y.useContext(ER);function TR(a){const{open:i=!1,onOpenChange:n,elements:t}=a,l=bb(),s=y.useRef({}),[c]=y.useState(()=>_R()),d=wR()!=null,[h,m]=y.useState(t.reference),v=mR((w,M,R)=>{s.current.openEvent=w?M:void 0,c.emit("openchange",{open:w,event:M,reason:R,nested:d}),n==null||n(w,M,R)}),g=y.useMemo(()=>({setPositionReference:m}),[]),S=y.useMemo(()=>({reference:h||t.reference||null,floating:t.floating||null,domReference:t.reference}),[h,t.reference,t.floating]);return y.useMemo(()=>({dataRef:s,open:i,onOpenChange:v,elements:S,events:c,floatingId:l,refs:g}),[i,v,S,c,l,g])}function xR(a){a===void 0&&(a={});const{nodeId:i}=a,n=TR({...a,elements:{reference:null,floating:null,...a.elements}}),t=a.rootContext||n,l=t.elements,[s,c]=y.useState(null),[d,h]=y.useState(null),v=(l==null?void 0:l.domReference)||s,g=y.useRef(null),S=DR();Pc(()=>{v&&(g.current=v)},[v]);const w=sR({...a,elements:{...l,...d&&{reference:d}}}),M=y.useCallback(Y=>{const K=Fn(Y)?{getBoundingClientRect:()=>Y.getBoundingClientRect(),contextElement:Y}:Y;h(K),w.refs.setReference(K)},[w.refs]),R=y.useCallback(Y=>{(Fn(Y)||Y===null)&&(g.current=Y,c(Y)),(Fn(w.refs.reference.current)||w.refs.reference.current===null||Y!==null&&!Fn(Y))&&w.refs.setReference(Y)},[w.refs]),C=y.useMemo(()=>({...w.refs,setReference:R,setPositionReference:M,domReference:g}),[w.refs,R,M]),U=y.useMemo(()=>({...w.elements,domReference:v}),[w.elements,v]),O=y.useMemo(()=>({...w,...t,refs:C,elements:U,nodeId:i}),[w,C,U,i,t]);return Pc(()=>{t.dataRef.current.floatingContext=O;const Y=S==null?void 0:S.nodesRef.current.find(K=>K.id===i);Y&&(Y.context=O)}),y.useMemo(()=>({...w,context:O,refs:C,elements:U}),[w,C,U,O])}/*!
  react-datepicker v8.3.0
  https://github.com/Hacker0x01/react-datepicker
  Released under the MIT License.
*/var Q2=function(i,n){return Q2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,l){t.__proto__=l}||function(t,l){for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(t[s]=l[s])},Q2(i,n)};function Sn(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");Q2(a,i);function n(){this.constructor=a}a.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)}var it=function(){return it=Object.assign||function(n){for(var t,l=1,s=arguments.length;l<s;l++){t=arguments[l];for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&(n[c]=t[c])}return n},it.apply(this,arguments)};function ha(a,i,n){if(n||arguments.length===2)for(var t=0,l=i.length,s;t<l;t++)(s||!(t in i))&&(s||(s=Array.prototype.slice.call(i,0,t)),s[t]=i[t]);return a.concat(s||Array.prototype.slice.call(i))}var MR=function(a){var i=a.showTimeSelectOnly,n=i===void 0?!1:i,t=a.showTime,l=t===void 0?!1:t,s=a.className,c=a.children,d=n?"Choose Time":"Choose Date".concat(l?" and Time":"");return Z.createElement("div",{className:s,role:"dialog","aria-label":d,"aria-modal":"true"},c)},OR=function(a,i){var n=y.useRef(null),t=y.useRef(a);t.current=a;var l=y.useCallback(function(s){var c,d=s.composed&&s.composedPath&&s.composedPath().find(function(h){return h instanceof Node})||s.target;n.current&&!n.current.contains(d)&&(i&&d instanceof HTMLElement&&d.classList.contains(i)||(c=t.current)===null||c===void 0||c.call(t,s))},[i]);return y.useEffect(function(){return document.addEventListener("mousedown",l),function(){document.removeEventListener("mousedown",l)}},[l]),n},rf=function(a){var i=a.children,n=a.onClickOutside,t=a.className,l=a.containerRef,s=a.style,c=a.ignoreClass,d=OR(n,c);return Z.createElement("div",{className:t,style:s,ref:function(h){d.current=h,l&&(l.current=h)}},i)},ve;(function(a){a.ArrowUp="ArrowUp",a.ArrowDown="ArrowDown",a.ArrowLeft="ArrowLeft",a.ArrowRight="ArrowRight",a.PageUp="PageUp",a.PageDown="PageDown",a.Home="Home",a.End="End",a.Enter="Enter",a.Space=" ",a.Tab="Tab",a.Escape="Escape",a.Backspace="Backspace",a.X="x"})(ve||(ve={}));function _b(){var a=typeof window<"u"?window:globalThis;return a}var Gs=12;function pt(a){if(a==null)return new Date;var i=typeof a=="string"?ZC(a):xe(a);return af(i)?i:new Date}function s2(a,i,n,t,l){l===void 0&&(l=pt());for(var s=oo(n)||oo(qm()),c=Array.isArray(i)?i:[i],d=0,h=c;d<h.length;d++){var m=h[d],v=YC(a,m,l,{locale:s});if(af(v)&&(!t||a===Bt(v,m,n)))return v}return null}function af(a,i){return Nc(a)&&!ul(a,new Date("1/1/1800"))}function Bt(a,i,n){if(n==="en")return s9(a,i,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var t=n?oo(n):void 0;return n&&!t&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),t=t||oo(qm()),s9(a,i,{locale:t,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function Cr(a,i){var n=i.dateFormat,t=i.locale,l=Array.isArray(n)&&n.length>0?n[0]:n;return a&&Bt(a,l,t)||""}function AR(a,i,n){if(!a)return"";var t=Cr(a,n),l=i?Cr(i,n):"";return"".concat(t," - ").concat(l)}function CR(a,i){if(!(a!=null&&a.length))return"";var n=a[0]?Cr(a[0],i):"";if(a.length===1)return n;if(a.length===2&&a[1]){var t=Cr(a[1],i);return"".concat(n,", ").concat(t)}var l=a.length-1;return"".concat(n," (+").concat(l,")")}function u2(a,i){var n=i.hour,t=n===void 0?0:n,l=i.minute,s=l===void 0?0:l,c=i.second,d=c===void 0?0:c;return yc(bc(_c(a,d),s),t)}function RR(a){return Rm(a)}function NR(a,i){return Bt(a,"ddd",i)}function Ec(a){return sl(a)}function Ai(a,i,n){var t=oo(i||qm());return Ga(a,{locale:t,weekStartsOn:n})}function Ia(a){return lb(a)}function Rs(a){return nf(a)}function p9(a){return Z2(a)}function m9(){return sl(pt())}function v9(a){return ab(a)}function kR(a){return ZO(a)}function LR(a){return ib(a)}function ca(a,i){return a&&i?FC(a,i):!a&&!i}function In(a,i){return a&&i?BC(a,i):!a&&!i}function zc(a,i){return a&&i?IC(a,i):!a&&!i}function at(a,i){return a&&i?FO(a,i):!a&&!i}function nl(a,i){return a&&i?GA(a,i):!a&&!i}function Ns(a,i,n){var t,l=sl(i),s=ab(n);try{t=qs(a,{start:l,end:s})}catch{t=!1}return t}function qm(){var a=_b();return a.__localeId__}function oo(a){if(typeof a=="string"){var i=_b();return i.__localeData__?i.__localeData__[a]:void 0}else return a}function qR(a,i,n){return i(Bt(a,"EEEE",n))}function UR(a,i){return Bt(a,"EEEEEE",i)}function HR(a,i){return Bt(a,"EEE",i)}function Um(a,i){return Bt(Rr(pt(),a),"LLLL",i)}function Sb(a,i){return Bt(Rr(pt(),a),"LLL",i)}function PR(a,i){return Bt(Kl(pt(),a),"QQQ",i)}function Nr(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.excludeDateIntervals,d=n.includeDates,h=n.includeDateIntervals,m=n.filterDate;return Zs(a,{minDate:t,maxDate:l})||s&&s.some(function(v){return v instanceof Date?at(a,v):at(a,v.date)})||c&&c.some(function(v){var g=v.start,S=v.end;return qs(a,{start:g,end:S})})||d&&!d.some(function(v){return at(a,v)})||h&&!h.some(function(v){var g=v.start,S=v.end;return qs(a,{start:g,end:S})})||m&&!m(pt(a))||!1}function Hm(a,i){var n=i===void 0?{}:i,t=n.excludeDates,l=n.excludeDateIntervals;return l&&l.length>0?l.some(function(s){var c=s.start,d=s.end;return qs(a,{start:c,end:d})}):t&&t.some(function(s){var c;return s instanceof Date?at(a,s):at(a,(c=s.date)!==null&&c!==void 0?c:new Date)})||!1}function Eb(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates,d=n.filterDate;return Zs(a,{minDate:t?lb(t):void 0,maxDate:l?ib(l):void 0})||(s==null?void 0:s.some(function(h){return In(a,h instanceof Date?h:h.date)}))||c&&!c.some(function(h){return In(a,h)})||d&&!d(pt(a))||!1}function cc(a,i,n,t){var l=Ge(a),s=Gn(a),c=Ge(i),d=Gn(i),h=Ge(t);return l===c&&l===h?s<=n&&n<=d:l<c?h===l&&s<=n||h===c&&d>=n||h<c&&h>l:!1}function zR(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates;return Zs(a,{minDate:t,maxDate:l})||s&&s.some(function(d){return In(d instanceof Date?d:d.date,a)})||c&&!c.some(function(d){return In(d,a)})||!1}function fc(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates,d=n.filterDate;return Zs(a,{minDate:t,maxDate:l})||(s==null?void 0:s.some(function(h){return zc(a,h instanceof Date?h:h.date)}))||c&&!c.some(function(h){return zc(a,h)})||d&&!d(pt(a))||!1}function dc(a,i,n){if(!i||!n||!Nc(i)||!Nc(n))return!1;var t=Ge(i),l=Ge(n);return t<=a&&l>=a}function wc(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates,d=n.filterDate,h=new Date(a,0,1);return Zs(h,{minDate:t?nf(t):void 0,maxDate:l?ob(l):void 0})||(s==null?void 0:s.some(function(m){return ca(h,m instanceof Date?m:m.date)}))||c&&!c.some(function(m){return ca(h,m)})||d&&!d(pt(h))||!1}function hc(a,i,n,t){var l=Ge(a),s=rl(a),c=Ge(i),d=rl(i),h=Ge(t);return l===c&&l===h?s<=n&&n<=d:l<c?h===l&&s<=n||h===c&&d>=n||h<c&&h>l:!1}function Zs(a,i){var n,t=i===void 0?{}:i,l=t.minDate,s=t.maxDate;return(n=l&&io(a,l)<0||s&&io(a,s)>0)!==null&&n!==void 0?n:!1}function g9(a,i){return i.some(function(n){return ja(n)===ja(a)&&Ba(n)===Ba(a)&&Oi(n)===Oi(a)})}function y9(a,i){var n=i===void 0?{}:i,t=n.excludeTimes,l=n.includeTimes,s=n.filterTime;return t&&g9(a,t)||l&&!g9(a,l)||s&&!s(a)||!1}function b9(a,i){var n=i.minTime,t=i.maxTime;if(!n||!t)throw new Error("Both minTime and maxTime props required");var l=pt();l=yc(l,ja(a)),l=bc(l,Ba(a)),l=_c(l,Oi(a));var s=pt();s=yc(s,ja(n)),s=bc(s,Ba(n)),s=_c(s,Oi(n));var c=pt();c=yc(c,ja(t)),c=bc(c,Ba(t)),c=_c(c,Oi(t));var d;try{d=!qs(l,{start:s,end:c})}catch{d=!1}return d}function _9(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=al(a,1);return t&&kc(t,s)>0||l&&l.every(function(c){return kc(c,s)>0})||!1}function S9(a,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=Wr(a,1);return t&&kc(s,t)>0||l&&l.every(function(c){return kc(s,c)>0})||!1}function YR(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=nf(a),c=vb(s);return t&&Lc(t,c)>0||l&&l.every(function(d){return Lc(d,c)>0})||!1}function jR(a,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=ob(a),c=Cm(s,1);return t&&Lc(c,t)>0||l&&l.every(function(d){return Lc(c,d)>0})||!1}function E9(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=lo(a,1);return t&&qc(t,s)>0||l&&l.every(function(c){return qc(c,s)>0})||!1}function BR(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.yearItemNumber,s=l===void 0?Gs:l,c=Rs(lo(a,s)),d=Mi(c,s).endPeriod,h=t&&Ge(t);return h&&h>d||!1}function w9(a,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=za(a,1);return t&&qc(s,t)>0||l&&l.every(function(c){return qc(s,c)>0})||!1}function IR(a,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.yearItemNumber,s=l===void 0?Gs:l,c=za(a,s),d=Mi(c,s).startPeriod,h=t&&Ge(t);return h&&h<d||!1}function wb(a){var i=a.minDate,n=a.includeDates;if(n&&i){var t=n.filter(function(l){return io(l,i)>=0});return n9(t)}else return n?n9(n):i}function Db(a){var i=a.maxDate,n=a.includeDates;if(n&&i){var t=n.filter(function(l){return io(l,i)<=0});return t9(t)}else return n?t9(n):i}function D9(a,i){var n;a===void 0&&(a=[]),i===void 0&&(i="react-datepicker__day--highlighted");for(var t=new Map,l=0,s=a.length;l<s;l++){var c=a[l];if(Ya(c)){var d=Bt(c,"MM.dd.yyyy"),h=t.get(d)||[];h.includes(i)||(h.push(i),t.set(d,h))}else if(typeof c=="object"){var m=Object.keys(c),v=(n=m[0])!==null&&n!==void 0?n:"",g=c[v];if(typeof v=="string"&&Array.isArray(g))for(var S=0,w=g.length;S<w;S++){var M=g[S];if(M){var d=Bt(M,"MM.dd.yyyy"),h=t.get(d)||[];h.includes(v)||(h.push(v),t.set(d,h))}}}}return t}function FR(a,i){return a.length!==i.length?!1:a.every(function(n,t){return n===i[t]})}function GR(a,i){a===void 0&&(a=[]),i===void 0&&(i="react-datepicker__day--holidays");var n=new Map;return a.forEach(function(t){var l=t.date,s=t.holidayName;if(Ya(l)){var c=Bt(l,"MM.dd.yyyy"),d=n.get(c)||{className:"",holidayNames:[]};if(!("className"in d&&d.className===i&&FR(d.holidayNames,[s]))){d.className=i;var h=d.holidayNames;d.holidayNames=h?ha(ha([],h,!0),[s],!1):[s],n.set(c,d)}}}),n}function ZR(a,i,n,t,l){for(var s=l.length,c=[],d=0;d<s;d++){var h=a,m=l[d];m&&(h=YO(h,ja(m)),h=G2(h,Ba(m)),h=IO(h,Oi(m)));var v=G2(a,(n+1)*t);Ri(h,i)&&ul(h,v)&&m!=null&&c.push(m)}return c}function T9(a){return a<10?"0".concat(a):"".concat(a)}function Mi(a,i){i===void 0&&(i=Gs);var n=Math.ceil(Ge(a)/i)*i,t=n-(i-1);return{startPeriod:t,endPeriod:n}}function VR(a){var i=new Date(a.getFullYear(),a.getMonth(),a.getDate()),n=new Date(a.getFullYear(),a.getMonth(),a.getDate(),24);return Math.round((+n-+i)/36e5)}function x9(a){var i=a.getSeconds(),n=a.getMilliseconds();return xe(a.getTime()-i*1e3-n)}function WR(a,i){return x9(a).getTime()===x9(i).getTime()}function M9(a){if(!Ya(a))throw new Error("Invalid date");var i=new Date(a);return i.setHours(0,0,0,0),i}function O9(a,i){if(!Ya(a)||!Ya(i))throw new Error("Invalid date received");var n=M9(a),t=M9(i);return ul(n,t)}function Tb(a){return a.key===ve.Space}var QR=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;return t.inputRef=Z.createRef(),t.onTimeChange=function(l){var s,c;t.setState({time:l});var d=t.props.date,h=d instanceof Date&&!isNaN(+d),m=h?d:new Date;if(l!=null&&l.includes(":")){var v=l.split(":"),g=v[0],S=v[1];m.setHours(Number(g)),m.setMinutes(Number(S))}(c=(s=t.props).onChange)===null||c===void 0||c.call(s,m)},t.renderTimeInput=function(){var l=t.state.time,s=t.props,c=s.date,d=s.timeString,h=s.customTimeInput;return h?y.cloneElement(h,{date:c,value:l,onChange:t.onTimeChange}):Z.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",ref:t.inputRef,onClick:function(){var m;(m=t.inputRef.current)===null||m===void 0||m.focus()},required:!0,value:l,onChange:function(m){t.onTimeChange(m.target.value||d)}})},t.state={time:t.props.timeString},t}return i.getDerivedStateFromProps=function(n,t){return n.timeString!==t.time?{time:n.timeString}:null},i.prototype.render=function(){return Z.createElement("div",{className:"react-datepicker__input-time-container"},Z.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),Z.createElement("div",{className:"react-datepicker-time__input-container"},Z.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))},i}(y.Component),KR=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.dayEl=y.createRef(),n.handleClick=function(t){!n.isDisabled()&&n.props.onClick&&n.props.onClick(t)},n.handleMouseEnter=function(t){!n.isDisabled()&&n.props.onMouseEnter&&n.props.onMouseEnter(t)},n.handleOnKeyDown=function(t){var l,s,c=t.key;c===ve.Space&&(t.preventDefault(),t.key=ve.Enter),(s=(l=n.props).handleOnKeyDown)===null||s===void 0||s.call(l,t)},n.isSameDay=function(t){return at(n.props.day,t)},n.isKeyboardSelected=function(){var t;if(n.props.disabledKeyboardNavigation)return!1;var l=n.props.selectsMultiple?(t=n.props.selectedDates)===null||t===void 0?void 0:t.some(function(c){return n.isSameDayOrWeek(c)}):n.isSameDayOrWeek(n.props.selected),s=n.props.preSelection&&n.isDisabled(n.props.preSelection);return!l&&n.isSameDayOrWeek(n.props.preSelection)&&!s},n.isDisabled=function(t){return t===void 0&&(t=n.props.day),Nr(t,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,includeDateIntervals:n.props.includeDateIntervals,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.isExcluded=function(){return Hm(n.props.day,{excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals})},n.isStartOfWeek=function(){return at(n.props.day,Ai(n.props.day,n.props.locale,n.props.calendarStartDay))},n.isSameWeek=function(t){return n.props.showWeekPicker&&at(t,Ai(n.props.day,n.props.locale,n.props.calendarStartDay))},n.isSameDayOrWeek=function(t){return n.isSameDay(t)||n.isSameWeek(t)},n.getHighLightedClass=function(){var t=n.props,l=t.day,s=t.highlightDates;if(!s)return!1;var c=Bt(l,"MM.dd.yyyy");return s.get(c)},n.getHolidaysClass=function(){var t,l=n.props,s=l.day,c=l.holidays;if(!c)return[void 0];var d=Bt(s,"MM.dd.yyyy");return c.has(d)?[(t=c.get(d))===null||t===void 0?void 0:t.className]:[void 0]},n.isInRange=function(){var t=n.props,l=t.day,s=t.startDate,c=t.endDate;return!s||!c?!1:Ns(l,s,c)},n.isInSelectingRange=function(){var t,l=n.props,s=l.day,c=l.selectsStart,d=l.selectsEnd,h=l.selectsRange,m=l.selectsDisabledDaysInRange,v=l.startDate,g=l.endDate,S=(t=n.props.selectingDate)!==null&&t!==void 0?t:n.props.preSelection;return!(c||d||h)||!S||!m&&n.isDisabled()?!1:c&&g&&(ul(S,g)||nl(S,g))?Ns(s,S,g):d&&v&&!g&&(Ri(S,v)||nl(S,v))||h&&v&&!g&&(Ri(S,v)||nl(S,v))?Ns(s,v,S):!1},n.isSelectingRangeStart=function(){var t;if(!n.isInSelectingRange())return!1;var l=n.props,s=l.day,c=l.startDate,d=l.selectsStart,h=(t=n.props.selectingDate)!==null&&t!==void 0?t:n.props.preSelection;return d?at(s,h):at(s,c)},n.isSelectingRangeEnd=function(){var t;if(!n.isInSelectingRange())return!1;var l=n.props,s=l.day,c=l.endDate,d=l.selectsEnd,h=l.selectsRange,m=(t=n.props.selectingDate)!==null&&t!==void 0?t:n.props.preSelection;return d||h?at(s,m):at(s,c)},n.isRangeStart=function(){var t=n.props,l=t.day,s=t.startDate,c=t.endDate;return!s||!c?!1:at(s,l)},n.isRangeEnd=function(){var t=n.props,l=t.day,s=t.startDate,c=t.endDate;return!s||!c?!1:at(c,l)},n.isWeekend=function(){var t=jA(n.props.day);return t===0||t===6},n.isAfterMonth=function(){return n.props.month!==void 0&&(n.props.month+1)%12===Gn(n.props.day)},n.isBeforeMonth=function(){return n.props.month!==void 0&&(Gn(n.props.day)+1)%12===n.props.month},n.isCurrentDay=function(){return n.isSameDay(pt())},n.isSelected=function(){var t;return n.props.selectsMultiple?(t=n.props.selectedDates)===null||t===void 0?void 0:t.some(function(l){return n.isSameDayOrWeek(l)}):n.isSameDayOrWeek(n.props.selected)},n.getClassNames=function(t){var l=n.props.dayClassName?n.props.dayClassName(t):void 0;return Cn("react-datepicker__day",l,"react-datepicker__day--"+NR(n.props.day),{"react-datepicker__day--disabled":n.isDisabled(),"react-datepicker__day--excluded":n.isExcluded(),"react-datepicker__day--selected":n.isSelected(),"react-datepicker__day--keyboard-selected":n.isKeyboardSelected(),"react-datepicker__day--range-start":n.isRangeStart(),"react-datepicker__day--range-end":n.isRangeEnd(),"react-datepicker__day--in-range":n.isInRange(),"react-datepicker__day--in-selecting-range":n.isInSelectingRange(),"react-datepicker__day--selecting-range-start":n.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":n.isSelectingRangeEnd(),"react-datepicker__day--today":n.isCurrentDay(),"react-datepicker__day--weekend":n.isWeekend(),"react-datepicker__day--outside-month":n.isAfterMonth()||n.isBeforeMonth()},n.getHighLightedClass(),n.getHolidaysClass())},n.getAriaLabel=function(){var t=n.props,l=t.day,s=t.ariaLabelPrefixWhenEnabled,c=s===void 0?"Choose":s,d=t.ariaLabelPrefixWhenDisabled,h=d===void 0?"Not available":d,m=n.isDisabled()||n.isExcluded()?h:c;return"".concat(m," ").concat(Bt(l,"PPPP",n.props.locale))},n.getTitle=function(){var t=n.props,l=t.day,s=t.holidays,c=s===void 0?new Map:s,d=t.excludeDates,h=Bt(l,"MM.dd.yyyy"),m=[];return c.has(h)&&m.push.apply(m,c.get(h).holidayNames),n.isExcluded()&&m.push(d==null?void 0:d.filter(function(v){return v instanceof Date?at(v,l):at(v==null?void 0:v.date,l)}).map(function(v){if(!(v instanceof Date))return v==null?void 0:v.message})),m.join(", ")},n.getTabIndex=function(){var t=n.props.selected,l=n.props.preSelection,s=!(n.props.showWeekPicker&&(n.props.showWeekNumber||!n.isStartOfWeek()))&&(n.isKeyboardSelected()||n.isSameDay(t)&&at(l,t))?0:-1;return s},n.handleFocusDay=function(){var t;n.shouldFocusDay()&&((t=n.dayEl.current)===null||t===void 0||t.focus({preventScroll:!0}))},n.renderDayContents=function(){return n.props.monthShowsDuplicateDaysEnd&&n.isAfterMonth()||n.props.monthShowsDuplicateDaysStart&&n.isBeforeMonth()?null:n.props.renderDayContents?n.props.renderDayContents(u9(n.props.day),n.props.day):u9(n.props.day)},n.render=function(){return Z.createElement("div",{ref:n.dayEl,className:n.getClassNames(n.props.day),onKeyDown:n.handleOnKeyDown,onClick:n.handleClick,onMouseEnter:n.props.usePointerEvent?void 0:n.handleMouseEnter,onPointerEnter:n.props.usePointerEvent?n.handleMouseEnter:void 0,tabIndex:n.getTabIndex(),"aria-label":n.getAriaLabel(),role:"option",title:n.getTitle(),"aria-disabled":n.isDisabled(),"aria-current":n.isCurrentDay()?"date":void 0,"aria-selected":n.isSelected()||n.isInRange()},n.renderDayContents(),n.getTitle()!==""&&Z.createElement("span",{className:"overlay"},n.getTitle()))},n}return i.prototype.componentDidMount=function(){this.handleFocusDay()},i.prototype.componentDidUpdate=function(){this.handleFocusDay()},i.prototype.shouldFocusDay=function(){var n=!1;return this.getTabIndex()===0&&this.isSameDay(this.props.preSelection)&&((!document.activeElement||document.activeElement===document.body)&&(n=!0),this.props.inline&&!this.props.shouldFocusDayInline&&(n=!1),this.isDayActiveElement()&&(n=!0),this.isDuplicateDay()&&(n=!1)),n},i.prototype.isDayActiveElement=function(){var n,t,l;return((t=(n=this.props.containerRef)===null||n===void 0?void 0:n.current)===null||t===void 0?void 0:t.contains(document.activeElement))&&((l=document.activeElement)===null||l===void 0?void 0:l.classList.contains("react-datepicker__day"))},i.prototype.isDuplicateDay=function(){return this.props.monthShowsDuplicateDaysEnd&&this.isAfterMonth()||this.props.monthShowsDuplicateDaysStart&&this.isBeforeMonth()},i}(y.Component),XR=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.weekNumberEl=y.createRef(),n.handleClick=function(t){n.props.onClick&&n.props.onClick(t)},n.handleOnKeyDown=function(t){var l,s,c=t.key;c===ve.Space&&(t.preventDefault(),t.key=ve.Enter),(s=(l=n.props).handleOnKeyDown)===null||s===void 0||s.call(l,t)},n.isKeyboardSelected=function(){return!n.props.disabledKeyboardNavigation&&!at(n.props.date,n.props.selected)&&at(n.props.date,n.props.preSelection)},n.getTabIndex=function(){return n.props.showWeekPicker&&n.props.showWeekNumber&&(n.isKeyboardSelected()||at(n.props.date,n.props.selected)&&at(n.props.preSelection,n.props.selected))?0:-1},n.handleFocusWeekNumber=function(t){var l=!1;n.getTabIndex()===0&&!(t!=null&&t.isInputFocused)&&at(n.props.date,n.props.preSelection)&&((!document.activeElement||document.activeElement===document.body)&&(l=!0),n.props.inline&&!n.props.shouldFocusDayInline&&(l=!1),n.props.containerRef&&n.props.containerRef.current&&n.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(l=!0)),l&&n.weekNumberEl.current&&n.weekNumberEl.current.focus({preventScroll:!0})},n}return Object.defineProperty(i,"defaultProps",{get:function(){return{ariaLabelPrefix:"week "}},enumerable:!1,configurable:!0}),i.prototype.componentDidMount=function(){this.handleFocusWeekNumber()},i.prototype.componentDidUpdate=function(n){this.handleFocusWeekNumber(n)},i.prototype.render=function(){var n=this.props,t=n.weekNumber,l=n.isWeekDisabled,s=n.ariaLabelPrefix,c=s===void 0?i.defaultProps.ariaLabelPrefix:s,d=n.onClick,h={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!d&&!l,"react-datepicker__week-number--selected":!!d&&at(this.props.date,this.props.selected)};return Z.createElement("div",{ref:this.weekNumberEl,className:Cn(h),"aria-label":"".concat(c," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},t)},i}(y.Component),$R=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.isDisabled=function(t){return Nr(t,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,includeDateIntervals:n.props.includeDateIntervals,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.handleDayClick=function(t,l){n.props.onDayClick&&n.props.onDayClick(t,l)},n.handleDayMouseEnter=function(t){n.props.onDayMouseEnter&&n.props.onDayMouseEnter(t)},n.handleWeekClick=function(t,l,s){for(var c,d,h,m=new Date(t),v=0;v<7;v++){var g=new Date(t);g.setDate(g.getDate()+v);var S=!n.isDisabled(g);if(S){m=g;break}}typeof n.props.onWeekSelect=="function"&&n.props.onWeekSelect(m,l,s),n.props.showWeekPicker&&n.handleDayClick(m,s),((c=n.props.shouldCloseOnSelect)!==null&&c!==void 0?c:i.defaultProps.shouldCloseOnSelect)&&((h=(d=n.props).setOpen)===null||h===void 0||h.call(d,!1))},n.formatWeekNumber=function(t){return n.props.formatWeekNumber?n.props.formatWeekNumber(t):RR(t)},n.isWeekDisabled=function(){for(var t=n.startOfWeek(),l=Zr(t,6),s=new Date(t);s<=l;){if(!n.isDisabled(s))return!1;s=Zr(s,1)}return!0},n.renderDays=function(){var t=n.startOfWeek(),l=[],s=n.formatWeekNumber(t);if(n.props.showWeekNumber){var c=n.props.onWeekSelect||n.props.showWeekPicker?n.handleWeekClick.bind(n,t,s):void 0;l.push(Z.createElement(XR,it({key:"W"},i.defaultProps,n.props,{weekNumber:s,isWeekDisabled:n.isWeekDisabled(),date:t,onClick:c})))}return l.concat([0,1,2,3,4,5,6].map(function(d){var h=Zr(t,d);return Z.createElement(KR,it({},i.defaultProps,n.props,{ariaLabelPrefixWhenEnabled:n.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:n.props.disabledDayAriaLabelPrefix,key:h.valueOf(),day:h,onClick:n.handleDayClick.bind(n,h),onMouseEnter:n.handleDayMouseEnter.bind(n,h)}))}))},n.startOfWeek=function(){return Ai(n.props.day,n.props.locale,n.props.calendarStartDay)},n.isKeyboardSelected=function(){return!n.props.disabledKeyboardNavigation&&!at(n.startOfWeek(),n.props.selected)&&at(n.startOfWeek(),n.props.preSelection)},n}return Object.defineProperty(i,"defaultProps",{get:function(){return{shouldCloseOnSelect:!0}},enumerable:!1,configurable:!0}),i.prototype.render=function(){var n={"react-datepicker__week":!0,"react-datepicker__week--selected":at(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()};return Z.createElement("div",{className:Cn(n)},this.renderDays())},i}(y.Component),Ms,JR=6,Jl={TWO_COLUMNS:"two_columns",THREE_COLUMNS:"three_columns",FOUR_COLUMNS:"four_columns"},c2=(Ms={},Ms[Jl.TWO_COLUMNS]={grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2},Ms[Jl.THREE_COLUMNS]={grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3},Ms[Jl.FOUR_COLUMNS]={grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4},Ms),pc=1;function A9(a,i){return a?Jl.FOUR_COLUMNS:i?Jl.TWO_COLUMNS:Jl.THREE_COLUMNS}var eN=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.MONTH_REFS=ha([],Array(12),!0).map(function(){return y.createRef()}),n.QUARTER_REFS=ha([],Array(4),!0).map(function(){return y.createRef()}),n.isDisabled=function(t){return Nr(t,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,includeDateIntervals:n.props.includeDateIntervals,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.isExcluded=function(t){return Hm(t,{excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals})},n.handleDayClick=function(t,l){var s,c;(c=(s=n.props).onDayClick)===null||c===void 0||c.call(s,t,l,n.props.orderInDisplay)},n.handleDayMouseEnter=function(t){var l,s;(s=(l=n.props).onDayMouseEnter)===null||s===void 0||s.call(l,t)},n.handleMouseLeave=function(){var t,l;(l=(t=n.props).onMouseLeave)===null||l===void 0||l.call(t)},n.isRangeStartMonth=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:In(Rr(s,t),c)},n.isRangeStartQuarter=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:zc(Kl(s,t),c)},n.isRangeEndMonth=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:In(Rr(s,t),d)},n.isRangeEndQuarter=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:zc(Kl(s,t),d)},n.isInSelectingRangeMonth=function(t){var l,s=n.props,c=s.day,d=s.selectsStart,h=s.selectsEnd,m=s.selectsRange,v=s.startDate,g=s.endDate,S=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return!(d||h||m)||!S?!1:d&&g?cc(S,g,t,c):h&&v||m&&v&&!g?cc(v,S,t,c):!1},n.isSelectingMonthRangeStart=function(t){var l;if(!n.isInSelectingRangeMonth(t))return!1;var s=n.props,c=s.day,d=s.startDate,h=s.selectsStart,m=Rr(c,t),v=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return h?In(m,v):In(m,d)},n.isSelectingMonthRangeEnd=function(t){var l;if(!n.isInSelectingRangeMonth(t))return!1;var s=n.props,c=s.day,d=s.endDate,h=s.selectsEnd,m=s.selectsRange,v=Rr(c,t),g=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return h||m?In(v,g):In(v,d)},n.isInSelectingRangeQuarter=function(t){var l,s=n.props,c=s.day,d=s.selectsStart,h=s.selectsEnd,m=s.selectsRange,v=s.startDate,g=s.endDate,S=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return!(d||h||m)||!S?!1:d&&g?hc(S,g,t,c):h&&v||m&&v&&!g?hc(v,S,t,c):!1},n.isWeekInMonth=function(t){var l=n.props.day,s=Zr(t,6);return In(t,l)||In(s,l)},n.isCurrentMonth=function(t,l){return Ge(t)===Ge(pt())&&l===Gn(pt())},n.isCurrentQuarter=function(t,l){return Ge(t)===Ge(pt())&&l===rl(pt())},n.isSelectedMonth=function(t,l,s){return Gn(s)===l&&Ge(t)===Ge(s)},n.isSelectMonthInList=function(t,l,s){return s.some(function(c){return n.isSelectedMonth(t,l,c)})},n.isSelectedQuarter=function(t,l,s){return rl(t)===l&&Ge(t)===Ge(s)},n.renderWeeks=function(){for(var t=[],l=n.props.fixedHeight,s=0,c=!1,d=Ai(Ia(n.props.day),n.props.locale,n.props.calendarStartDay),h=function(M){return n.props.showWeekPicker?Ai(M,n.props.locale,n.props.calendarStartDay):n.props.preSelection},m=function(M){return n.props.showWeekPicker?Ai(M,n.props.locale,n.props.calendarStartDay):n.props.selected},v=n.props.selected?m(n.props.selected):void 0,g=n.props.preSelection?h(n.props.preSelection):void 0;t.push(Z.createElement($R,it({},n.props,{ariaLabelPrefix:n.props.weekAriaLabelPrefix,key:s,day:d,month:Gn(n.props.day),onDayClick:n.handleDayClick,onDayMouseEnter:n.handleDayMouseEnter,selected:v,preSelection:g,showWeekNumber:n.props.showWeekNumbers}))),!c;){s++,d=Rc(d,1);var S=l&&s>=JR,w=!l&&!n.isWeekInMonth(d);if(S||w)if(n.props.peekNextMonth)c=!0;else break}return t},n.onMonthClick=function(t,l){var s=n.isMonthDisabledForLabelDate(l),c=s.isDisabled,d=s.labelDate;c||n.handleDayClick(Ia(d),t)},n.onMonthMouseEnter=function(t){var l=n.isMonthDisabledForLabelDate(t),s=l.isDisabled,c=l.labelDate;s||n.handleDayMouseEnter(Ia(c))},n.handleMonthNavigation=function(t,l){var s,c,d,h;(c=(s=n.props).setPreSelection)===null||c===void 0||c.call(s,l),(h=(d=n.MONTH_REFS[t])===null||d===void 0?void 0:d.current)===null||h===void 0||h.focus()},n.handleKeyboardNavigation=function(t,l,s){var c,d=n.props,h=d.selected,m=d.preSelection,v=d.setPreSelection,g=d.minDate,S=d.maxDate,w=d.showFourColumnMonthYearPicker,M=d.showTwoColumnMonthYearPicker;if(m){var R=A9(w,M),C=n.getVerticalOffset(R),U=(c=c2[R])===null||c===void 0?void 0:c.grid,O=function(V,_,E){var D,q,k=_,z=E;switch(V){case ve.ArrowRight:k=Wr(_,pc),z=E===11?0:E+pc;break;case ve.ArrowLeft:k=al(_,pc),z=E===0?11:E-pc;break;case ve.ArrowUp:k=al(_,C),z=!((D=U==null?void 0:U[0])===null||D===void 0)&&D.includes(E)?E+12-C:E-C;break;case ve.ArrowDown:k=Wr(_,C),z=!((q=U==null?void 0:U[U.length-1])===null||q===void 0)&&q.includes(E)?E-12+C:E+C;break}return{newCalculatedDate:k,newCalculatedMonth:z}},Y=function(V,_,E){for(var D=40,q=V,k=!1,z=0,B=O(q,_,E),H=B.newCalculatedDate,T=B.newCalculatedMonth;!k;){if(z>=D){H=_,T=E;break}if(g&&H<g){q=ve.ArrowRight;var N=O(q,H,T);H=N.newCalculatedDate,T=N.newCalculatedMonth}if(S&&H>S){q=ve.ArrowLeft;var N=O(q,H,T);H=N.newCalculatedDate,T=N.newCalculatedMonth}if(zR(H,n.props)){var N=O(q,H,T);H=N.newCalculatedDate,T=N.newCalculatedMonth}else k=!0;z++}return{newCalculatedDate:H,newCalculatedMonth:T}};if(l===ve.Enter){n.isMonthDisabled(s)||(n.onMonthClick(t,s),v==null||v(h));return}var K=Y(l,m,s),X=K.newCalculatedDate,re=K.newCalculatedMonth;switch(l){case ve.ArrowRight:case ve.ArrowLeft:case ve.ArrowUp:case ve.ArrowDown:n.handleMonthNavigation(re,X);break}}},n.getVerticalOffset=function(t){var l,s;return(s=(l=c2[t])===null||l===void 0?void 0:l.verticalNavigationOffset)!==null&&s!==void 0?s:0},n.onMonthKeyDown=function(t,l){var s=n.props,c=s.disabledKeyboardNavigation,d=s.handleOnMonthKeyDown,h=t.key;h!==ve.Tab&&t.preventDefault(),c||n.handleKeyboardNavigation(t,h,l),d&&d(t)},n.onQuarterClick=function(t,l){var s=Kl(n.props.day,l);fc(s,n.props)||n.handleDayClick(p9(s),t)},n.onQuarterMouseEnter=function(t){var l=Kl(n.props.day,t);fc(l,n.props)||n.handleDayMouseEnter(p9(l))},n.handleQuarterNavigation=function(t,l){var s,c,d,h;n.isDisabled(l)||n.isExcluded(l)||((c=(s=n.props).setPreSelection)===null||c===void 0||c.call(s,l),(h=(d=n.QUARTER_REFS[t-1])===null||d===void 0?void 0:d.current)===null||h===void 0||h.focus())},n.onQuarterKeyDown=function(t,l){var s,c,d=t.key;if(!n.props.disabledKeyboardNavigation)switch(d){case ve.Enter:n.onQuarterClick(t,l),(c=(s=n.props).setPreSelection)===null||c===void 0||c.call(s,n.props.selected);break;case ve.ArrowRight:if(!n.props.preSelection)break;n.handleQuarterNavigation(l===4?1:l+1,Cm(n.props.preSelection,1));break;case ve.ArrowLeft:if(!n.props.preSelection)break;n.handleQuarterNavigation(l===1?4:l-1,vb(n.props.preSelection));break}},n.isMonthDisabledForLabelDate=function(t){var l,s=n.props,c=s.day,d=s.minDate,h=s.maxDate,m=s.excludeDates,v=s.includeDates,g=Rr(c,t);return{isDisabled:(l=(d||h||m||v)&&Eb(g,n.props))!==null&&l!==void 0?l:!1,labelDate:g}},n.isMonthDisabled=function(t){var l=n.isMonthDisabledForLabelDate(t).isDisabled;return l},n.getMonthClassNames=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate,h=l.preSelection,m=l.monthClassName,v=m?m(Rr(s,t)):void 0,g=n.getSelection();return Cn("react-datepicker__month-text","react-datepicker__month-".concat(t),v,{"react-datepicker__month-text--disabled":n.isMonthDisabled(t),"react-datepicker__month-text--selected":g?n.isSelectMonthInList(s,t,g):void 0,"react-datepicker__month-text--keyboard-selected":!n.props.disabledKeyboardNavigation&&h&&n.isSelectedMonth(s,t,h)&&!n.isMonthDisabled(t),"react-datepicker__month-text--in-selecting-range":n.isInSelectingRangeMonth(t),"react-datepicker__month-text--in-range":c&&d?cc(c,d,t,s):void 0,"react-datepicker__month-text--range-start":n.isRangeStartMonth(t),"react-datepicker__month-text--range-end":n.isRangeEndMonth(t),"react-datepicker__month-text--selecting-range-start":n.isSelectingMonthRangeStart(t),"react-datepicker__month-text--selecting-range-end":n.isSelectingMonthRangeEnd(t),"react-datepicker__month-text--today":n.isCurrentMonth(s,t)})},n.getTabIndex=function(t){if(n.props.preSelection==null)return"-1";var l=Gn(n.props.preSelection),s=n.isMonthDisabledForLabelDate(l).isDisabled,c=t===l&&!(s||n.props.disabledKeyboardNavigation)?"0":"-1";return c},n.getQuarterTabIndex=function(t){if(n.props.preSelection==null)return"-1";var l=rl(n.props.preSelection),s=fc(n.props.day,n.props),c=t===l&&!(s||n.props.disabledKeyboardNavigation)?"0":"-1";return c},n.getAriaLabel=function(t){var l=n.props,s=l.chooseDayAriaLabelPrefix,c=s===void 0?"Choose":s,d=l.disabledDayAriaLabelPrefix,h=d===void 0?"Not available":d,m=l.day,v=l.locale,g=Rr(m,t),S=n.isDisabled(g)||n.isExcluded(g)?h:c;return"".concat(S," ").concat(Bt(g,"MMMM yyyy",v))},n.getQuarterClassNames=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate,h=l.selected,m=l.minDate,v=l.maxDate,g=l.excludeDates,S=l.includeDates,w=l.filterDate,M=l.preSelection,R=l.disabledKeyboardNavigation,C=(m||v||g||S||w)&&fc(Kl(s,t),n.props);return Cn("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter-text--disabled":C,"react-datepicker__quarter-text--selected":h?n.isSelectedQuarter(s,t,h):void 0,"react-datepicker__quarter-text--keyboard-selected":!R&&M&&n.isSelectedQuarter(s,t,M)&&!C,"react-datepicker__quarter-text--in-selecting-range":n.isInSelectingRangeQuarter(t),"react-datepicker__quarter-text--in-range":c&&d?hc(c,d,t,s):void 0,"react-datepicker__quarter-text--range-start":n.isRangeStartQuarter(t),"react-datepicker__quarter-text--range-end":n.isRangeEndQuarter(t),"react-datepicker__quarter-text--today":n.isCurrentQuarter(s,t)})},n.getMonthContent=function(t){var l=n.props,s=l.showFullMonthYearPicker,c=l.renderMonthContent,d=l.locale,h=l.day,m=Sb(t,d),v=Um(t,d);return c?c(t,m,v,h):s?v:m},n.getQuarterContent=function(t){var l,s=n.props,c=s.renderQuarterContent,d=s.locale,h=PR(t,d);return(l=c==null?void 0:c(t,h))!==null&&l!==void 0?l:h},n.renderMonths=function(){var t,l=n.props,s=l.showTwoColumnMonthYearPicker,c=l.showFourColumnMonthYearPicker,d=l.day,h=l.selected,m=(t=c2[A9(c,s)])===null||t===void 0?void 0:t.grid;return m==null?void 0:m.map(function(v,g){return Z.createElement("div",{className:"react-datepicker__month-wrapper",key:g},v.map(function(S,w){return Z.createElement("div",{ref:n.MONTH_REFS[S],key:w,onClick:function(M){n.onMonthClick(M,S)},onKeyDown:function(M){Tb(M)&&(M.preventDefault(),M.key=ve.Enter),n.onMonthKeyDown(M,S)},onMouseEnter:n.props.usePointerEvent?void 0:function(){return n.onMonthMouseEnter(S)},onPointerEnter:n.props.usePointerEvent?function(){return n.onMonthMouseEnter(S)}:void 0,tabIndex:Number(n.getTabIndex(S)),className:n.getMonthClassNames(S),"aria-disabled":n.isMonthDisabled(S),role:"option","aria-label":n.getAriaLabel(S),"aria-current":n.isCurrentMonth(d,S)?"date":void 0,"aria-selected":h?n.isSelectedMonth(d,S,h):void 0},n.getMonthContent(S))}))})},n.renderQuarters=function(){var t=n.props,l=t.day,s=t.selected,c=[1,2,3,4];return Z.createElement("div",{className:"react-datepicker__quarter-wrapper"},c.map(function(d,h){return Z.createElement("div",{key:h,ref:n.QUARTER_REFS[h],role:"option",onClick:function(m){n.onQuarterClick(m,d)},onKeyDown:function(m){n.onQuarterKeyDown(m,d)},onMouseEnter:n.props.usePointerEvent?void 0:function(){return n.onQuarterMouseEnter(d)},onPointerEnter:n.props.usePointerEvent?function(){return n.onQuarterMouseEnter(d)}:void 0,className:n.getQuarterClassNames(d),"aria-selected":s?n.isSelectedQuarter(l,d,s):void 0,tabIndex:Number(n.getQuarterTabIndex(d)),"aria-current":n.isCurrentQuarter(l,d)?"date":void 0},n.getQuarterContent(d))}))},n.getClassNames=function(){var t=n.props,l=t.selectingDate,s=t.selectsStart,c=t.selectsEnd,d=t.showMonthYearPicker,h=t.showQuarterYearPicker,m=t.showWeekPicker;return Cn("react-datepicker__month",{"react-datepicker__month--selecting-range":l&&(s||c)},{"react-datepicker__monthPicker":d},{"react-datepicker__quarterPicker":h},{"react-datepicker__weekPicker":m})},n}return i.prototype.getSelection=function(){var n=this.props,t=n.selected,l=n.selectedDates,s=n.selectsMultiple;if(s)return l;if(t)return[t]},i.prototype.render=function(){var n=this.props,t=n.showMonthYearPicker,l=n.showQuarterYearPicker,s=n.day,c=n.ariaLabelPrefix,d=c===void 0?"Month ":c,h=d?d.trim()+" ":"";return Z.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":"".concat(h).concat(Bt(s,"MMMM, yyyy",this.props.locale)),role:"listbox"},t?this.renderMonths():l?this.renderQuarters():this.renderWeeks())},i}(y.Component),tN=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.isSelectedMonth=function(t){return n.props.month===t},n.renderOptions=function(){return n.props.monthNames.map(function(t,l){return Z.createElement("div",{className:n.isSelectedMonth(l)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:t,onClick:n.onChange.bind(n,l),"aria-selected":n.isSelectedMonth(l)?"true":void 0},n.isSelectedMonth(l)?Z.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",t)})},n.onChange=function(t){return n.props.onChange(t)},n.handleClickOutside=function(){return n.props.onCancel()},n}return i.prototype.render=function(){return Z.createElement(rf,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),nN=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(t){return t.map(function(l,s){return Z.createElement("option",{key:l,value:s},l)})},n.renderSelectMode=function(t){return Z.createElement("select",{value:n.props.month,className:"react-datepicker__month-select",onChange:function(l){return n.onChange(parseInt(l.target.value))}},n.renderSelectOptions(t))},n.renderReadView=function(t,l){return Z.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:n.toggleDropdown},Z.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),Z.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},l[n.props.month]))},n.renderDropdown=function(t){return Z.createElement(tN,it({key:"dropdown"},n.props,{monthNames:t,onChange:n.onChange,onCancel:n.toggleDropdown}))},n.renderScrollMode=function(t){var l=n.state.dropdownVisible,s=[n.renderReadView(!l,t)];return l&&s.unshift(n.renderDropdown(t)),s},n.onChange=function(t){n.toggleDropdown(),t!==n.props.month&&n.props.onChange(t)},n.toggleDropdown=function(){return n.setState({dropdownVisible:!n.state.dropdownVisible})},n}return i.prototype.render=function(){var n=this,t=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(s){return Sb(s,n.props.locale)}:function(s){return Um(s,n.props.locale)}),l;switch(this.props.dropdownMode){case"scroll":l=this.renderScrollMode(t);break;case"select":l=this.renderSelectMode(t);break}return Z.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},l)},i}(y.Component);function rN(a,i){for(var n=[],t=Ia(a),l=Ia(i);!Ri(t,l);)n.push(pt(t)),t=Wr(t,1);return n}var aN=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;return t.renderOptions=function(){return t.state.monthYearsList.map(function(l){var s=W2(l),c=ca(t.props.date,l)&&In(t.props.date,l);return Z.createElement("div",{className:c?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:s,onClick:t.onChange.bind(t,s),"aria-selected":c?"true":void 0},c?Z.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",Bt(l,t.props.dateFormat,t.props.locale))})},t.onChange=function(l){return t.props.onChange(l)},t.handleClickOutside=function(){t.props.onCancel()},t.state={monthYearsList:rN(t.props.minDate,t.props.maxDate)},t}return i.prototype.render=function(){var n=Cn({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return Z.createElement(rf,{className:n,onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),iN=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var t=Ia(n.props.minDate),l=Ia(n.props.maxDate),s=[];!Ri(t,l);){var c=W2(t);s.push(Z.createElement("option",{key:c,value:c},Bt(t,n.props.dateFormat,n.props.locale))),t=Wr(t,1)}return s},n.onSelectChange=function(t){n.onChange(parseInt(t.target.value))},n.renderSelectMode=function(){return Z.createElement("select",{value:W2(Ia(n.props.date)),className:"react-datepicker__month-year-select",onChange:n.onSelectChange},n.renderSelectOptions())},n.renderReadView=function(t){var l=Bt(n.props.date,n.props.dateFormat,n.props.locale);return Z.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:n.toggleDropdown},Z.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),Z.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},l))},n.renderDropdown=function(){return Z.createElement(aN,it({key:"dropdown"},n.props,{onChange:n.onChange,onCancel:n.toggleDropdown}))},n.renderScrollMode=function(){var t=n.state.dropdownVisible,l=[n.renderReadView(!t)];return t&&l.unshift(n.renderDropdown()),l},n.onChange=function(t){n.toggleDropdown();var l=pt(t);ca(n.props.date,l)&&In(n.props.date,l)||n.props.onChange(l)},n.toggleDropdown=function(){return n.setState({dropdownVisible:!n.state.dropdownVisible})},n}return i.prototype.render=function(){var n;switch(this.props.dropdownMode){case"scroll":n=this.renderScrollMode();break;case"select":n=this.renderSelectMode();break}return Z.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},n)},i}(y.Component),lN=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.state={height:null},n.scrollToTheSelectedTime=function(){requestAnimationFrame(function(){var t,l,s;n.list&&(n.list.scrollTop=(s=n.centerLi&&i.calcCenterPosition(n.props.monthRef?n.props.monthRef.clientHeight-((l=(t=n.header)===null||t===void 0?void 0:t.clientHeight)!==null&&l!==void 0?l:0):n.list.clientHeight,n.centerLi))!==null&&s!==void 0?s:0)})},n.handleClick=function(t){var l,s;(n.props.minTime||n.props.maxTime)&&b9(t,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&y9(t,n.props)||(s=(l=n.props).onChange)===null||s===void 0||s.call(l,t)},n.isSelectedTime=function(t){return n.props.selected&&WR(n.props.selected,t)},n.isDisabledTime=function(t){return(n.props.minTime||n.props.maxTime)&&b9(t,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&y9(t,n.props)},n.liClasses=function(t){var l,s=["react-datepicker__time-list-item",n.props.timeClassName?n.props.timeClassName(t):void 0];return n.isSelectedTime(t)&&s.push("react-datepicker__time-list-item--selected"),n.isDisabledTime(t)&&s.push("react-datepicker__time-list-item--disabled"),n.props.injectTimes&&(ja(t)*3600+Ba(t)*60+Oi(t))%(((l=n.props.intervals)!==null&&l!==void 0?l:i.defaultProps.intervals)*60)!==0&&s.push("react-datepicker__time-list-item--injected"),s.join(" ")},n.handleOnKeyDown=function(t,l){var s,c;t.key===ve.Space&&(t.preventDefault(),t.key=ve.Enter),(t.key===ve.ArrowUp||t.key===ve.ArrowLeft)&&t.target instanceof HTMLElement&&t.target.previousSibling&&(t.preventDefault(),t.target.previousSibling instanceof HTMLElement&&t.target.previousSibling.focus()),(t.key===ve.ArrowDown||t.key===ve.ArrowRight)&&t.target instanceof HTMLElement&&t.target.nextSibling&&(t.preventDefault(),t.target.nextSibling instanceof HTMLElement&&t.target.nextSibling.focus()),t.key===ve.Enter&&n.handleClick(l),(c=(s=n.props).handleOnKeyDown)===null||c===void 0||c.call(s,t)},n.renderTimes=function(){for(var t,l=[],s=typeof n.props.format=="string"?n.props.format:"p",c=(t=n.props.intervals)!==null&&t!==void 0?t:i.defaultProps.intervals,d=n.props.selected||n.props.openToDate||pt(),h=Ec(d),m=n.props.injectTimes&&n.props.injectTimes.sort(function(C,U){return C.getTime()-U.getTime()}),v=60*VR(d),g=v/c,S=0;S<g;S++){var w=G2(h,S*c);if(l.push(w),m){var M=ZR(h,w,S,c,m);l=l.concat(M)}}var R=l.reduce(function(C,U){return U.getTime()<=d.getTime()?U:C},l[0]);return l.map(function(C){return Z.createElement("li",{key:C.valueOf(),onClick:n.handleClick.bind(n,C),className:n.liClasses(C),ref:function(U){C===R&&(n.centerLi=U)},onKeyDown:function(U){n.handleOnKeyDown(U,C)},tabIndex:C===R?0:-1,role:"option","aria-selected":n.isSelectedTime(C)?"true":void 0,"aria-disabled":n.isDisabledTime(C)?"true":void 0},Bt(C,s,n.props.locale))})},n.renderTimeCaption=function(){return n.props.showTimeCaption===!1?Z.createElement(Z.Fragment,null):Z.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(n.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(t){n.header=t}},Z.createElement("div",{className:"react-datepicker-time__header"},n.props.timeCaption))},n}return Object.defineProperty(i,"defaultProps",{get:function(){return{intervals:30,todayButton:null,timeCaption:"Time",showTimeCaption:!0}},enumerable:!1,configurable:!0}),i.prototype.componentDidMount=function(){this.scrollToTheSelectedTime(),this.observeDatePickerHeightChanges()},i.prototype.componentWillUnmount=function(){var n;(n=this.resizeObserver)===null||n===void 0||n.disconnect()},i.prototype.observeDatePickerHeightChanges=function(){var n=this,t=this.props.monthRef;this.updateContainerHeight(),t&&(this.resizeObserver=new ResizeObserver(function(){n.updateContainerHeight()}),this.resizeObserver.observe(t))},i.prototype.updateContainerHeight=function(){this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})},i.prototype.render=function(){var n=this,t,l=this.state.height;return Z.createElement("div",{className:"react-datepicker__time-container ".concat(((t=this.props.todayButton)!==null&&t!==void 0?t:i.defaultProps.todayButton)?"react-datepicker__time-container--with-today-button":"")},this.renderTimeCaption(),Z.createElement("div",{className:"react-datepicker__time"},Z.createElement("div",{className:"react-datepicker__time-box"},Z.createElement("ul",{className:"react-datepicker__time-list",ref:function(s){n.list=s},style:l?{height:l}:{},role:"listbox","aria-label":this.props.timeCaption},this.renderTimes()))))},i.calcCenterPosition=function(n,t){return t.offsetTop-(n/2-t.clientHeight/2)},i}(y.Component),C9=3,oN=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;return t.YEAR_REFS=ha([],Array(t.props.yearItemNumber),!0).map(function(){return y.createRef()}),t.isDisabled=function(l){return Nr(l,{minDate:t.props.minDate,maxDate:t.props.maxDate,excludeDates:t.props.excludeDates,includeDates:t.props.includeDates,filterDate:t.props.filterDate})},t.isExcluded=function(l){return Hm(l,{excludeDates:t.props.excludeDates})},t.selectingDate=function(){var l;return(l=t.props.selectingDate)!==null&&l!==void 0?l:t.props.preSelection},t.updateFocusOnPaginate=function(l){var s=function(){var c,d;(d=(c=t.YEAR_REFS[l])===null||c===void 0?void 0:c.current)===null||d===void 0||d.focus()};window.requestAnimationFrame(s)},t.handleYearClick=function(l,s){t.props.onDayClick&&t.props.onDayClick(l,s)},t.handleYearNavigation=function(l,s){var c,d,h,m,v=t.props,g=v.date,S=v.yearItemNumber;if(!(g===void 0||S===void 0)){var w=Mi(g,S).startPeriod;t.isDisabled(s)||t.isExcluded(s)||((d=(c=t.props).setPreSelection)===null||d===void 0||d.call(c,s),l-w<0?t.updateFocusOnPaginate(S-(w-l)):l-w>=S?t.updateFocusOnPaginate(Math.abs(S-(l-w))):(m=(h=t.YEAR_REFS[l-w])===null||h===void 0?void 0:h.current)===null||m===void 0||m.focus())}},t.isSameDay=function(l,s){return at(l,s)},t.isCurrentYear=function(l){return l===Ge(pt())},t.isRangeStart=function(l){return t.props.startDate&&t.props.endDate&&ca(ua(pt(),l),t.props.startDate)},t.isRangeEnd=function(l){return t.props.startDate&&t.props.endDate&&ca(ua(pt(),l),t.props.endDate)},t.isInRange=function(l){return dc(l,t.props.startDate,t.props.endDate)},t.isInSelectingRange=function(l){var s=t.props,c=s.selectsStart,d=s.selectsEnd,h=s.selectsRange,m=s.startDate,v=s.endDate;return!(c||d||h)||!t.selectingDate()?!1:c&&v?dc(l,t.selectingDate(),v):d&&m||h&&m&&!v?dc(l,m,t.selectingDate()):!1},t.isSelectingRangeStart=function(l){var s;if(!t.isInSelectingRange(l))return!1;var c=t.props,d=c.startDate,h=c.selectsStart,m=ua(pt(),l);return h?ca(m,(s=t.selectingDate())!==null&&s!==void 0?s:null):ca(m,d??null)},t.isSelectingRangeEnd=function(l){var s;if(!t.isInSelectingRange(l))return!1;var c=t.props,d=c.endDate,h=c.selectsEnd,m=c.selectsRange,v=ua(pt(),l);return h||m?ca(v,(s=t.selectingDate())!==null&&s!==void 0?s:null):ca(v,d??null)},t.isKeyboardSelected=function(l){if(!(t.props.date===void 0||t.props.selected==null||t.props.preSelection==null)){var s=t.props,c=s.minDate,d=s.maxDate,h=s.excludeDates,m=s.includeDates,v=s.filterDate,g=Rs(ua(t.props.date,l)),S=(c||d||h||m||v)&&wc(l,t.props);return!t.props.disabledKeyboardNavigation&&!t.props.inline&&!at(g,Rs(t.props.selected))&&at(g,Rs(t.props.preSelection))&&!S}},t.isSelectedYear=function(l){var s=t.props,c=s.selectsMultiple,d=s.selected,h=s.selectedDates;return c?h==null?void 0:h.some(function(m){return l===Ge(m)}):!d||l===Ge(d)},t.onYearClick=function(l,s){var c=t.props.date;c!==void 0&&t.handleYearClick(Rs(ua(c,s)),l)},t.onYearKeyDown=function(l,s){var c,d,h=l.key,m=t.props,v=m.date,g=m.yearItemNumber,S=m.handleOnKeyDown;if(h!==ve.Tab&&l.preventDefault(),!t.props.disabledKeyboardNavigation)switch(h){case ve.Enter:if(t.props.selected==null)break;t.onYearClick(l,s),(d=(c=t.props).setPreSelection)===null||d===void 0||d.call(c,t.props.selected);break;case ve.ArrowRight:if(t.props.preSelection==null)break;t.handleYearNavigation(s+1,za(t.props.preSelection,1));break;case ve.ArrowLeft:if(t.props.preSelection==null)break;t.handleYearNavigation(s-1,lo(t.props.preSelection,1));break;case ve.ArrowUp:{if(v===void 0||g===void 0||t.props.preSelection==null)break;var w=Mi(v,g).startPeriod,M=C9,R=s-M;if(R<w){var C=g%M;s>=w&&s<w+C?M=C:M+=C,R=s-M}t.handleYearNavigation(R,lo(t.props.preSelection,M));break}case ve.ArrowDown:{if(v===void 0||g===void 0||t.props.preSelection==null)break;var U=Mi(v,g).endPeriod,M=C9,R=s+M;if(R>U){var C=g%M;s<=U&&s>U-C?M=C:M+=C,R=s+M}t.handleYearNavigation(R,za(t.props.preSelection,M));break}}S&&S(l)},t.getYearClassNames=function(l){var s=t.props,c=s.date,d=s.minDate,h=s.maxDate,m=s.excludeDates,v=s.includeDates,g=s.filterDate,S=s.yearClassName;return Cn("react-datepicker__year-text","react-datepicker__year-".concat(l),c?S==null?void 0:S(ua(c,l)):void 0,{"react-datepicker__year-text--selected":t.isSelectedYear(l),"react-datepicker__year-text--disabled":(d||h||m||v||g)&&wc(l,t.props),"react-datepicker__year-text--keyboard-selected":t.isKeyboardSelected(l),"react-datepicker__year-text--range-start":t.isRangeStart(l),"react-datepicker__year-text--range-end":t.isRangeEnd(l),"react-datepicker__year-text--in-range":t.isInRange(l),"react-datepicker__year-text--in-selecting-range":t.isInSelectingRange(l),"react-datepicker__year-text--selecting-range-start":t.isSelectingRangeStart(l),"react-datepicker__year-text--selecting-range-end":t.isSelectingRangeEnd(l),"react-datepicker__year-text--today":t.isCurrentYear(l)})},t.getYearTabIndex=function(l){if(t.props.disabledKeyboardNavigation||t.props.preSelection==null)return"-1";var s=Ge(t.props.preSelection),c=wc(l,t.props);return l===s&&!c?"0":"-1"},t.getYearContent=function(l){return t.props.renderYearContent?t.props.renderYearContent(l):l},t}return i.prototype.render=function(){var n=this,t=[],l=this.props,s=l.date,c=l.yearItemNumber,d=l.onYearMouseEnter,h=l.onYearMouseLeave;if(s===void 0)return null;for(var m=Mi(s,c),v=m.startPeriod,g=m.endPeriod,S=function(R){t.push(Z.createElement("div",{ref:w.YEAR_REFS[R-v],onClick:function(C){n.onYearClick(C,R)},onKeyDown:function(C){Tb(C)&&(C.preventDefault(),C.key=ve.Enter),n.onYearKeyDown(C,R)},tabIndex:Number(w.getYearTabIndex(R)),className:w.getYearClassNames(R),onMouseEnter:w.props.usePointerEvent?void 0:function(C){return d(C,R)},onPointerEnter:w.props.usePointerEvent?function(C){return d(C,R)}:void 0,onMouseLeave:w.props.usePointerEvent?void 0:function(C){return h(C,R)},onPointerLeave:w.props.usePointerEvent?function(C){return h(C,R)}:void 0,key:R,"aria-current":w.isCurrentYear(R)?"date":void 0},w.getYearContent(R)))},w=this,M=v;M<=g;M++)S(M);return Z.createElement("div",{className:"react-datepicker__year"},Z.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},t))},i}(y.Component);function sN(a,i,n,t){for(var l=[],s=0;s<2*i+1;s++){var c=a+i-s,d=!0;n&&(d=Ge(n)<=c),t&&d&&(d=Ge(t)>=c),d&&l.push(c)}return l}var uN=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;t.renderOptions=function(){var d=t.props.year,h=t.state.yearsList.map(function(g){return Z.createElement("div",{className:d===g?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:g,onClick:t.onChange.bind(t,g),"aria-selected":d===g?"true":void 0},d===g?Z.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",g)}),m=t.props.minDate?Ge(t.props.minDate):null,v=t.props.maxDate?Ge(t.props.maxDate):null;return(!v||!t.state.yearsList.find(function(g){return g===v}))&&h.unshift(Z.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:t.incrementYears},Z.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),(!m||!t.state.yearsList.find(function(g){return g===m}))&&h.push(Z.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:t.decrementYears},Z.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),h},t.onChange=function(d){t.props.onChange(d)},t.handleClickOutside=function(){t.props.onCancel()},t.shiftYears=function(d){var h=t.state.yearsList.map(function(m){return m+d});t.setState({yearsList:h})},t.incrementYears=function(){return t.shiftYears(1)},t.decrementYears=function(){return t.shiftYears(-1)};var l=n.yearDropdownItemNumber,s=n.scrollableYearDropdown,c=l||(s?10:5);return t.state={yearsList:sN(t.props.year,c,t.props.minDate,t.props.maxDate)},t.dropdownRef=y.createRef(),t}return i.prototype.componentDidMount=function(){var n=this.dropdownRef.current;if(n){var t=n.children?Array.from(n.children):null,l=t?t.find(function(s){return s.ariaSelected}):null;n.scrollTop=l&&l instanceof HTMLElement?l.offsetTop+(l.clientHeight-n.clientHeight)/2:(n.scrollHeight-n.clientHeight)/2}},i.prototype.render=function(){var n=Cn({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return Z.createElement(rf,{className:n,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),cN=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var t=n.props.minDate?Ge(n.props.minDate):1900,l=n.props.maxDate?Ge(n.props.maxDate):2100,s=[],c=t;c<=l;c++)s.push(Z.createElement("option",{key:c,value:c},c));return s},n.onSelectChange=function(t){n.onChange(parseInt(t.target.value))},n.renderSelectMode=function(){return Z.createElement("select",{value:n.props.year,className:"react-datepicker__year-select",onChange:n.onSelectChange},n.renderSelectOptions())},n.renderReadView=function(t){return Z.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(l){return n.toggleDropdown(l)}},Z.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),Z.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},n.props.year))},n.renderDropdown=function(){return Z.createElement(uN,it({key:"dropdown"},n.props,{onChange:n.onChange,onCancel:n.toggleDropdown}))},n.renderScrollMode=function(){var t=n.state.dropdownVisible,l=[n.renderReadView(!t)];return t&&l.unshift(n.renderDropdown()),l},n.onChange=function(t){n.toggleDropdown(),t!==n.props.year&&n.props.onChange(t)},n.toggleDropdown=function(t){n.setState({dropdownVisible:!n.state.dropdownVisible},function(){n.props.adjustDateOnChange&&n.handleYearChange(n.props.date,t)})},n.handleYearChange=function(t,l){var s;(s=n.onSelect)===null||s===void 0||s.call(n,t,l),n.setOpen()},n.onSelect=function(t,l){var s,c;(c=(s=n.props).onSelect)===null||c===void 0||c.call(s,t,l)},n.setOpen=function(){var t,l;(l=(t=n.props).setOpen)===null||l===void 0||l.call(t,!0)},n}return i.prototype.render=function(){var n;switch(this.props.dropdownMode){case"scroll":n=this.renderScrollMode();break;case"select":n=this.renderSelectMode();break}return Z.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},n)},i}(y.Component),fN=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],dN=function(a){var i=(a.className||"").split(/\s+/);return fN.some(function(n){return i.indexOf(n)>=0})},hN=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;return t.monthContainer=void 0,t.handleClickOutside=function(l){t.props.onClickOutside(l)},t.setClickOutsideRef=function(){return t.containerRef.current},t.handleDropdownFocus=function(l){var s,c;dN(l.target)&&((c=(s=t.props).onDropdownFocus)===null||c===void 0||c.call(s,l))},t.getDateInView=function(){var l=t.props,s=l.preSelection,c=l.selected,d=l.openToDate,h=wb(t.props),m=Db(t.props),v=pt(),g=d||c||s;return g||(h&&ul(v,h)?h:m&&Ri(v,m)?m:v)},t.increaseMonth=function(){t.setState(function(l){var s=l.date;return{date:Wr(s,1)}},function(){return t.handleMonthChange(t.state.date)})},t.decreaseMonth=function(){t.setState(function(l){var s=l.date;return{date:al(s,1)}},function(){return t.handleMonthChange(t.state.date)})},t.handleDayClick=function(l,s,c){t.props.onSelect(l,s,c),t.props.setPreSelection&&t.props.setPreSelection(l)},t.handleDayMouseEnter=function(l){t.setState({selectingDate:l}),t.props.onDayMouseEnter&&t.props.onDayMouseEnter(l)},t.handleMonthMouseLeave=function(){t.setState({selectingDate:void 0}),t.props.onMonthMouseLeave&&t.props.onMonthMouseLeave()},t.handleYearMouseEnter=function(l,s){t.setState({selectingDate:ua(pt(),s)}),t.props.onYearMouseEnter&&t.props.onYearMouseEnter(l,s)},t.handleYearMouseLeave=function(l,s){t.props.onYearMouseLeave&&t.props.onYearMouseLeave(l,s)},t.handleYearChange=function(l){var s,c,d,h;(c=(s=t.props).onYearChange)===null||c===void 0||c.call(s,l),t.setState({isRenderAriaLiveMessage:!0}),t.props.adjustDateOnChange&&(t.props.onSelect(l),(h=(d=t.props).setOpen)===null||h===void 0||h.call(d,!0)),t.props.setPreSelection&&t.props.setPreSelection(l)},t.getEnabledPreSelectionDateForMonth=function(l){if(!Nr(l,t.props))return l;for(var s=Ia(l),c=LR(l),d=GO(c,s),h=null,m=0;m<=d;m++){var v=Zr(s,m);if(!Nr(v,t.props)){h=v;break}}return h},t.handleMonthChange=function(l){var s,c,d,h=(s=t.getEnabledPreSelectionDateForMonth(l))!==null&&s!==void 0?s:l;t.handleCustomMonthChange(h),t.props.adjustDateOnChange&&(t.props.onSelect(h),(d=(c=t.props).setOpen)===null||d===void 0||d.call(c,!0)),t.props.setPreSelection&&t.props.setPreSelection(h)},t.handleCustomMonthChange=function(l){var s,c;(c=(s=t.props).onMonthChange)===null||c===void 0||c.call(s,l),t.setState({isRenderAriaLiveMessage:!0})},t.handleMonthYearChange=function(l){t.handleYearChange(l),t.handleMonthChange(l)},t.changeYear=function(l){t.setState(function(s){var c=s.date;return{date:ua(c,Number(l))}},function(){return t.handleYearChange(t.state.date)})},t.changeMonth=function(l){t.setState(function(s){var c=s.date;return{date:Rr(c,Number(l))}},function(){return t.handleMonthChange(t.state.date)})},t.changeMonthYear=function(l){t.setState(function(s){var c=s.date;return{date:ua(Rr(c,Gn(l)),Ge(l))}},function(){return t.handleMonthYearChange(t.state.date)})},t.header=function(l){l===void 0&&(l=t.state.date);var s=Ai(l,t.props.locale,t.props.calendarStartDay),c=[];return t.props.showWeekNumbers&&c.push(Z.createElement("div",{key:"W",className:"react-datepicker__day-name"},t.props.weekLabel||"#")),c.concat([0,1,2,3,4,5,6].map(function(d){var h=Zr(s,d),m=t.formatWeekday(h,t.props.locale),v=t.props.weekDayClassName?t.props.weekDayClassName(h):void 0;return Z.createElement("div",{key:d,"aria-label":Bt(h,"EEEE",t.props.locale),className:Cn("react-datepicker__day-name",v)},m)}))},t.formatWeekday=function(l,s){return t.props.formatWeekDay?qR(l,t.props.formatWeekDay,s):t.props.useWeekdaysShort?HR(l,s):UR(l,s)},t.decreaseYear=function(){t.setState(function(l){var s,c=l.date;return{date:lo(c,t.props.showYearPicker?(s=t.props.yearItemNumber)!==null&&s!==void 0?s:i.defaultProps.yearItemNumber:1)}},function(){return t.handleYearChange(t.state.date)})},t.clearSelectingDate=function(){t.setState({selectingDate:void 0})},t.renderPreviousButton=function(){var l,s,c;if(!t.props.renderCustomHeader){var d=(l=t.props.monthsShown)!==null&&l!==void 0?l:i.defaultProps.monthsShown,h=t.props.showPreviousMonths?d-1:0,m=(s=t.props.monthSelectedIn)!==null&&s!==void 0?s:h,v=al(t.state.date,m),g;switch(!0){case t.props.showMonthYearPicker:g=E9(t.state.date,t.props);break;case t.props.showYearPicker:g=BR(t.state.date,t.props);break;case t.props.showQuarterYearPicker:g=YR(t.state.date,t.props);break;default:g=_9(v,t.props);break}if(!(!((c=t.props.forceShowMonthNavigation)!==null&&c!==void 0?c:i.defaultProps.forceShowMonthNavigation)&&!t.props.showDisabledMonthNavigation&&g||t.props.showTimeSelectOnly)){var S=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"],w=["react-datepicker__navigation","react-datepicker__navigation--previous"],M=t.decreaseMonth;(t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker)&&(M=t.decreaseYear),g&&t.props.showDisabledMonthNavigation&&(w.push("react-datepicker__navigation--previous--disabled"),M=void 0);var R=t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker,C=t.props,U=C.previousMonthButtonLabel,O=U===void 0?i.defaultProps.previousMonthButtonLabel:U,Y=C.previousYearButtonLabel,K=Y===void 0?i.defaultProps.previousYearButtonLabel:Y,X=t.props,re=X.previousMonthAriaLabel,V=re===void 0?typeof O=="string"?O:"Previous Month":re,_=X.previousYearAriaLabel,E=_===void 0?typeof K=="string"?K:"Previous Year":_;return Z.createElement("button",{type:"button",className:w.join(" "),onClick:M,onKeyDown:t.props.handleOnKeyDown,"aria-label":R?E:V},Z.createElement("span",{className:S.join(" ")},R?K:O))}}},t.increaseYear=function(){t.setState(function(l){var s,c=l.date;return{date:za(c,t.props.showYearPicker?(s=t.props.yearItemNumber)!==null&&s!==void 0?s:i.defaultProps.yearItemNumber:1)}},function(){return t.handleYearChange(t.state.date)})},t.renderNextButton=function(){var l;if(!t.props.renderCustomHeader){var s;switch(!0){case t.props.showMonthYearPicker:s=w9(t.state.date,t.props);break;case t.props.showYearPicker:s=IR(t.state.date,t.props);break;case t.props.showQuarterYearPicker:s=jR(t.state.date,t.props);break;default:s=S9(t.state.date,t.props);break}if(!(!((l=t.props.forceShowMonthNavigation)!==null&&l!==void 0?l:i.defaultProps.forceShowMonthNavigation)&&!t.props.showDisabledMonthNavigation&&s||t.props.showTimeSelectOnly)){var c=["react-datepicker__navigation","react-datepicker__navigation--next"],d=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"];t.props.showTimeSelect&&c.push("react-datepicker__navigation--next--with-time"),t.props.todayButton&&c.push("react-datepicker__navigation--next--with-today-button");var h=t.increaseMonth;(t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker)&&(h=t.increaseYear),s&&t.props.showDisabledMonthNavigation&&(c.push("react-datepicker__navigation--next--disabled"),h=void 0);var m=t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker,v=t.props,g=v.nextMonthButtonLabel,S=g===void 0?i.defaultProps.nextMonthButtonLabel:g,w=v.nextYearButtonLabel,M=w===void 0?i.defaultProps.nextYearButtonLabel:w,R=t.props,C=R.nextMonthAriaLabel,U=C===void 0?typeof S=="string"?S:"Next Month":C,O=R.nextYearAriaLabel,Y=O===void 0?typeof M=="string"?M:"Next Year":O;return Z.createElement("button",{type:"button",className:c.join(" "),onClick:h,onKeyDown:t.props.handleOnKeyDown,"aria-label":m?Y:U},Z.createElement("span",{className:d.join(" ")},m?M:S))}}},t.renderCurrentMonth=function(l){l===void 0&&(l=t.state.date);var s=["react-datepicker__current-month"];return t.props.showYearDropdown&&s.push("react-datepicker__current-month--hasYearDropdown"),t.props.showMonthDropdown&&s.push("react-datepicker__current-month--hasMonthDropdown"),t.props.showMonthYearDropdown&&s.push("react-datepicker__current-month--hasMonthYearDropdown"),Z.createElement("h2",{className:s.join(" ")},Bt(l,t.props.dateFormat,t.props.locale))},t.renderYearDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showYearDropdown||l))return Z.createElement(cN,it({},i.defaultProps,t.props,{date:t.state.date,onChange:t.changeYear,year:Ge(t.state.date)}))},t.renderMonthDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showMonthDropdown||l))return Z.createElement(nN,it({},i.defaultProps,t.props,{month:Gn(t.state.date),onChange:t.changeMonth}))},t.renderMonthYearDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showMonthYearDropdown||l))return Z.createElement(iN,it({},i.defaultProps,t.props,{date:t.state.date,onChange:t.changeMonthYear}))},t.handleTodayButtonClick=function(l){t.props.onSelect(m9(),l),t.props.setPreSelection&&t.props.setPreSelection(m9())},t.renderTodayButton=function(){if(!(!t.props.todayButton||t.props.showTimeSelectOnly))return Z.createElement("div",{className:"react-datepicker__today-button",onClick:t.handleTodayButtonClick},t.props.todayButton)},t.renderDefaultHeader=function(l){var s=l.monthDate,c=l.i;return Z.createElement("div",{className:"react-datepicker__header ".concat(t.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},t.renderCurrentMonth(s),Z.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(t.props.dropdownMode),onFocus:t.handleDropdownFocus},t.renderMonthDropdown(c!==0),t.renderMonthYearDropdown(c!==0),t.renderYearDropdown(c!==0)),Z.createElement("div",{className:"react-datepicker__day-names"},t.header(s)))},t.renderCustomHeader=function(l){var s,c,d=l.monthDate,h=l.i;if(t.props.showTimeSelect&&!t.state.monthContainer||t.props.showTimeSelectOnly)return null;var m=_9(t.state.date,t.props),v=S9(t.state.date,t.props),g=E9(t.state.date,t.props),S=w9(t.state.date,t.props),w=!t.props.showMonthYearPicker&&!t.props.showQuarterYearPicker&&!t.props.showYearPicker;return Z.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:t.props.onDropdownFocus},(c=(s=t.props).renderCustomHeader)===null||c===void 0?void 0:c.call(s,it(it({},t.state),{customHeaderCount:h,monthDate:d,changeMonth:t.changeMonth,changeYear:t.changeYear,decreaseMonth:t.decreaseMonth,increaseMonth:t.increaseMonth,decreaseYear:t.decreaseYear,increaseYear:t.increaseYear,prevMonthButtonDisabled:m,nextMonthButtonDisabled:v,prevYearButtonDisabled:g,nextYearButtonDisabled:S})),w&&Z.createElement("div",{className:"react-datepicker__day-names"},t.header(d)))},t.renderYearHeader=function(l){var s=l.monthDate,c=t.props,d=c.showYearPicker,h=c.yearItemNumber,m=h===void 0?i.defaultProps.yearItemNumber:h,v=Mi(s,m),g=v.startPeriod,S=v.endPeriod;return Z.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},d?"".concat(g," - ").concat(S):Ge(s))},t.renderHeader=function(l){var s=l.monthDate,c=l.i,d=c===void 0?0:c,h={monthDate:s,i:d};switch(!0){case t.props.renderCustomHeader!==void 0:return t.renderCustomHeader(h);case(t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker):return t.renderYearHeader(h);default:return t.renderDefaultHeader(h)}},t.renderMonths=function(){var l,s;if(!(t.props.showTimeSelectOnly||t.props.showYearPicker)){for(var c=[],d=(l=t.props.monthsShown)!==null&&l!==void 0?l:i.defaultProps.monthsShown,h=t.props.showPreviousMonths?d-1:0,m=t.props.showMonthYearPicker||t.props.showQuarterYearPicker?za(t.state.date,h):al(t.state.date,h),v=(s=t.props.monthSelectedIn)!==null&&s!==void 0?s:h,g=0;g<d;++g){var S=g-v+h,w=t.props.showMonthYearPicker||t.props.showQuarterYearPicker?za(m,S):Wr(m,S),M="month-".concat(g),R=g<d-1,C=g>0;c.push(Z.createElement("div",{key:M,ref:function(U){t.monthContainer=U??void 0},className:"react-datepicker__month-container"},t.renderHeader({monthDate:w,i:g}),Z.createElement(eN,it({},i.defaultProps,t.props,{containerRef:t.containerRef,ariaLabelPrefix:t.props.monthAriaLabelPrefix,day:w,onDayClick:t.handleDayClick,handleOnKeyDown:t.props.handleOnDayKeyDown,handleOnMonthKeyDown:t.props.handleOnKeyDown,onDayMouseEnter:t.handleDayMouseEnter,onMouseLeave:t.handleMonthMouseLeave,orderInDisplay:g,selectingDate:t.state.selectingDate,monthShowsDuplicateDaysEnd:R,monthShowsDuplicateDaysStart:C}))))}return c}},t.renderYears=function(){if(!t.props.showTimeSelectOnly&&t.props.showYearPicker)return Z.createElement("div",{className:"react-datepicker__year--container"},t.renderHeader({monthDate:t.state.date}),Z.createElement(oN,it({},i.defaultProps,t.props,{selectingDate:t.state.selectingDate,date:t.state.date,onDayClick:t.handleDayClick,clearSelectingDate:t.clearSelectingDate,onYearMouseEnter:t.handleYearMouseEnter,onYearMouseLeave:t.handleYearMouseLeave})))},t.renderTimeSection=function(){if(t.props.showTimeSelect&&(t.state.monthContainer||t.props.showTimeSelectOnly))return Z.createElement(lN,it({},i.defaultProps,t.props,{onChange:t.props.onTimeChange,format:t.props.timeFormat,intervals:t.props.timeIntervals,monthRef:t.state.monthContainer}))},t.renderInputTimeSection=function(){var l=t.props.selected?new Date(t.props.selected):void 0,s=l&&af(l)&&!!t.props.selected,c=s?"".concat(T9(l.getHours()),":").concat(T9(l.getMinutes())):"";if(t.props.showTimeInput)return Z.createElement(QR,it({},i.defaultProps,t.props,{date:l,timeString:c,onChange:t.props.onTimeChange}))},t.renderAriaLiveRegion=function(){var l,s=Mi(t.state.date,(l=t.props.yearItemNumber)!==null&&l!==void 0?l:i.defaultProps.yearItemNumber),c=s.startPeriod,d=s.endPeriod,h;return t.props.showYearPicker?h="".concat(c," - ").concat(d):t.props.showMonthYearPicker||t.props.showQuarterYearPicker?h=Ge(t.state.date):h="".concat(Um(Gn(t.state.date),t.props.locale)," ").concat(Ge(t.state.date)),Z.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},t.state.isRenderAriaLiveMessage&&h)},t.renderChildren=function(){if(t.props.children)return Z.createElement("div",{className:"react-datepicker__children-container"},t.props.children)},t.containerRef=y.createRef(),t.state={date:t.getDateInView(),selectingDate:void 0,monthContainer:void 0,isRenderAriaLiveMessage:!1},t}return Object.defineProperty(i,"defaultProps",{get:function(){return{monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",yearItemNumber:Gs}},enumerable:!1,configurable:!0}),i.prototype.componentDidMount=function(){var n=this;this.props.showTimeSelect&&(this.assignMonthContainer=function(){n.setState({monthContainer:n.monthContainer})}())},i.prototype.componentDidUpdate=function(n){var t=this;if(this.props.preSelection&&(!at(this.props.preSelection,n.preSelection)||this.props.monthSelectedIn!==n.monthSelectedIn)){var l=!In(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return l&&t.handleCustomMonthChange(t.state.date)})}else this.props.openToDate&&!at(this.props.openToDate,n.openToDate)&&this.setState({date:this.props.openToDate})},i.prototype.render=function(){var n=this.props.container||MR;return Z.createElement(rf,{onClickOutside:this.handleClickOutside,style:{display:"contents"},ignoreClass:this.props.outsideClickIgnoreClass},Z.createElement("div",{style:{display:"contents"},ref:this.containerRef},Z.createElement(n,{className:Cn("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren())))},i}(y.Component),pN=function(a){var i=a.icon,n=a.className,t=n===void 0?"":n,l=a.onClick,s="react-datepicker__calendar-icon";if(typeof i=="string")return Z.createElement("i",{className:"".concat(s," ").concat(i," ").concat(t),"aria-hidden":"true",onClick:l});if(Z.isValidElement(i)){var c=i;return Z.cloneElement(c,{className:"".concat(c.props.className||""," ").concat(s," ").concat(t),onClick:function(d){typeof c.props.onClick=="function"&&c.props.onClick(d),typeof l=="function"&&l(d)}})}return Z.createElement("svg",{className:"".concat(s," ").concat(t),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:l},Z.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},xb=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;return t.portalRoot=null,t.el=document.createElement("div"),t}return i.prototype.componentDidMount=function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)},i.prototype.componentWillUnmount=function(){this.portalRoot&&this.portalRoot.removeChild(this.el)},i.prototype.render=function(){return dD.createPortal(this.props.children,this.el)},i}(y.Component),mN="[tabindex], a, button, input, select, textarea",vN=function(a){return(a instanceof HTMLAnchorElement||!a.disabled)&&a.tabIndex!==-1},Mb=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;return t.getTabChildren=function(){var l;return Array.prototype.slice.call((l=t.tabLoopRef.current)===null||l===void 0?void 0:l.querySelectorAll(mN),1,-1).filter(vN)},t.handleFocusStart=function(){var l=t.getTabChildren();l&&l.length>1&&l[l.length-1].focus()},t.handleFocusEnd=function(){var l=t.getTabChildren();l&&l.length>1&&l[0].focus()},t.tabLoopRef=y.createRef(),t}return i.prototype.render=function(){var n;return((n=this.props.enableTabLoop)!==null&&n!==void 0?n:i.defaultProps.enableTabLoop)?Z.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},Z.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,Z.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},i.defaultProps={enableTabLoop:!0},i}(y.Component);function gN(a){var i=function(n){var t,l=typeof n.hidePopper=="boolean"?n.hidePopper:!0,s=y.useRef(null),c=xR(it({open:!l,whileElementsMounted:G9,placement:n.popperPlacement,middleware:ha([fR({padding:15}),cR(10),dR({element:s})],(t=n.popperModifiers)!==null&&t!==void 0?t:[],!0)},n.popperProps)),d=it(it({},n),{hidePopper:l,popperProps:it(it({},c),{arrowRef:s})});return Z.createElement(a,it({},d))};return i}var yN=function(a){Sn(i,a);function i(){return a!==null&&a.apply(this,arguments)||this}return Object.defineProperty(i,"defaultProps",{get:function(){return{hidePopper:!0}},enumerable:!1,configurable:!0}),i.prototype.render=function(){var n=this.props,t=n.className,l=n.wrapperClassName,s=n.hidePopper,c=s===void 0?i.defaultProps.hidePopper:s,d=n.popperComponent,h=n.targetComponent,m=n.enableTabLoop,v=n.popperOnKeyDown,g=n.portalId,S=n.portalHost,w=n.popperProps,M=n.showArrow,R=void 0;if(!c){var C=Cn("react-datepicker-popper",t);R=Z.createElement(Mb,{enableTabLoop:m},Z.createElement("div",{ref:w.refs.setFloating,style:w.floatingStyles,className:C,"data-placement":w.placement,onKeyDown:v},d,M&&Z.createElement(bR,{ref:w.arrowRef,context:w.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(R=y.createElement(this.props.popperContainer,{},R)),g&&!c&&(R=Z.createElement(xb,{portalId:g,portalHost:S},R));var U=Cn("react-datepicker-wrapper",l);return Z.createElement(Z.Fragment,null,Z.createElement("div",{ref:w.refs.setReference,className:U},h),R)},i}(y.Component),bN=gN(yN),R9="react-datepicker-ignore-onclickoutside";function _N(a,i){return a&&i?Gn(a)!==Gn(i)||Ge(a)!==Ge(i):a!==i}var f2="Date input not valid.",SN=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;return t.calendar=null,t.input=null,t.getPreSelection=function(){return t.props.openToDate?t.props.openToDate:t.props.selectsEnd&&t.props.startDate?t.props.startDate:t.props.selectsStart&&t.props.endDate?t.props.endDate:pt()},t.modifyHolidays=function(){var l;return(l=t.props.holidays)===null||l===void 0?void 0:l.reduce(function(s,c){var d=new Date(c.date);return af(d)?ha(ha([],s,!0),[it(it({},c),{date:d})],!1):s},[])},t.calcInitialState=function(){var l,s=t.getPreSelection(),c=wb(t.props),d=Db(t.props),h=c&&ul(s,Ec(c))?c:d&&Ri(s,v9(d))?d:s;return{open:t.props.startOpen||!1,preventFocus:!1,inputValue:null,preSelection:(l=t.props.selectsRange?t.props.startDate:t.props.selected)!==null&&l!==void 0?l:h,highlightDates:D9(t.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},t.resetHiddenStatus=function(){t.setState(it(it({},t.state),{wasHidden:!1}))},t.setHiddenStatus=function(){t.setState(it(it({},t.state),{wasHidden:!0}))},t.setHiddenStateOnVisibilityHidden=function(){document.visibilityState==="hidden"&&t.setHiddenStatus()},t.clearPreventFocusTimeout=function(){t.preventFocusTimeout&&clearTimeout(t.preventFocusTimeout)},t.setFocus=function(){var l,s;(s=(l=t.input)===null||l===void 0?void 0:l.focus)===null||s===void 0||s.call(l,{preventScroll:!0})},t.setBlur=function(){var l,s;(s=(l=t.input)===null||l===void 0?void 0:l.blur)===null||s===void 0||s.call(l),t.cancelFocusInput()},t.deferBlur=function(){requestAnimationFrame(function(){t.setBlur()})},t.setOpen=function(l,s){s===void 0&&(s=!1),t.setState({open:l,preSelection:l&&t.state.open?t.state.preSelection:t.calcInitialState().preSelection,lastPreSelectChange:d2},function(){l||t.setState(function(c){return{focused:s?c.focused:!1}},function(){!s&&t.deferBlur(),t.setState({inputValue:null})})})},t.inputOk=function(){return Ya(t.state.preSelection)},t.isCalendarOpen=function(){return t.props.open===void 0?t.state.open&&!t.props.disabled&&!t.props.readOnly:t.props.open},t.handleFocus=function(l){var s,c,d=t.state.wasHidden,h=d?t.state.open:!0;d&&t.resetHiddenStatus(),t.state.preventFocus||((c=(s=t.props).onFocus)===null||c===void 0||c.call(s,l),h&&!t.props.preventOpenOnFocus&&!t.props.readOnly&&t.setOpen(!0)),t.setState({focused:!0})},t.sendFocusBackToInput=function(){t.preventFocusTimeout&&t.clearPreventFocusTimeout(),t.setState({preventFocus:!0},function(){t.preventFocusTimeout=setTimeout(function(){t.setFocus(),t.setState({preventFocus:!1})})})},t.cancelFocusInput=function(){clearTimeout(t.inputFocusTimeout),t.inputFocusTimeout=void 0},t.deferFocusInput=function(){t.cancelFocusInput(),t.inputFocusTimeout=setTimeout(function(){return t.setFocus()},1)},t.handleDropdownFocus=function(){t.cancelFocusInput()},t.handleBlur=function(l){var s,c;(!t.state.open||t.props.withPortal||t.props.showTimeInput)&&((c=(s=t.props).onBlur)===null||c===void 0||c.call(s,l)),t.state.open&&t.props.open===!1&&t.setOpen(!1),t.setState({focused:!1})},t.handleCalendarClickOutside=function(l){var s,c;t.props.inline||t.setOpen(!1),(c=(s=t.props).onClickOutside)===null||c===void 0||c.call(s,l),t.props.withPortal&&l.preventDefault()},t.handleChange=function(){for(var l,s,c,d,h,m=[],v=0;v<arguments.length;v++)m[v]=arguments[v];var g=m[0];if(!(t.props.onChangeRaw&&(t.props.onChangeRaw.apply(t,m),!g||typeof g.isDefaultPrevented!="function"||g.isDefaultPrevented()))){t.setState({inputValue:(g==null?void 0:g.target)instanceof HTMLInputElement?g.target.value:null,lastPreSelectChange:EN});var S=t.props,w=S.selectsRange,M=S.startDate,R=S.endDate,C=(l=t.props.dateFormat)!==null&&l!==void 0?l:i.defaultProps.dateFormat,U=(s=t.props.strictParsing)!==null&&s!==void 0?s:i.defaultProps.strictParsing,O=(g==null?void 0:g.target)instanceof HTMLInputElement?g.target.value:"";if(w){var Y=O.split("-",2).map(function(q){return q.trim()}),K=Y[0],X=Y[1],re=s2(K??"",C,t.props.locale,U),V=s2(X??"",C,t.props.locale,U),_=(M==null?void 0:M.getTime())!==(re==null?void 0:re.getTime()),E=(R==null?void 0:R.getTime())!==(V==null?void 0:V.getTime());if(!_&&!E||re&&Nr(re,t.props)||V&&Nr(V,t.props))return;(d=(c=t.props).onChange)===null||d===void 0||d.call(c,[re,V],g)}else{var D=s2(O,C,t.props.locale,U,(h=t.props.selected)!==null&&h!==void 0?h:void 0);(D||!O)&&t.setSelected(D,g,!0)}}},t.handleSelect=function(l,s,c){if(t.props.shouldCloseOnSelect&&!t.props.showTimeSelect&&t.sendFocusBackToInput(),t.props.onChangeRaw&&t.props.onChangeRaw(s),t.setSelected(l,s,!1,c),t.props.showDateSelect&&t.setState({isRenderAriaLiveMessage:!0}),!t.props.shouldCloseOnSelect||t.props.showTimeSelect)t.setPreSelection(l);else if(!t.props.inline){t.props.selectsRange||t.setOpen(!1);var d=t.props,h=d.startDate,m=d.endDate;h&&!m&&(t.props.swapRange||!O9(l,h))&&t.setOpen(!1)}},t.setSelected=function(l,s,c,d){var h,m,v=l;if(t.props.showYearPicker){if(v!==null&&wc(Ge(v),t.props))return}else if(t.props.showMonthYearPicker){if(v!==null&&Eb(v,t.props))return}else if(v!==null&&Nr(v,t.props))return;var g=t.props,S=g.onChange,w=g.selectsRange,M=g.startDate,R=g.endDate,C=g.selectsMultiple,U=g.selectedDates,O=g.minTime,Y=g.swapRange;if(!nl(t.props.selected,v)||t.props.allowSameDay||w||C)if(v!==null&&(t.props.selected&&(!c||!t.props.showTimeSelect&&!t.props.showTimeSelectOnly&&!t.props.showTimeInput)&&(v=u2(v,{hour:ja(t.props.selected),minute:Ba(t.props.selected),second:Oi(t.props.selected)})),!c&&(t.props.showTimeSelect||t.props.showTimeSelectOnly)&&O&&(v=u2(v,{hour:O.getHours(),minute:O.getMinutes(),second:O.getSeconds()})),t.props.inline||t.setState({preSelection:v}),t.props.focusSelectedMonth||t.setState({monthSelectedIn:d})),w){var K=!M&&!R,X=M&&!R,re=M&&R;K?S==null||S([v,null],s):X&&(v===null?S==null||S([null,null],s):O9(v,M)?Y?S==null||S([v,M],s):S==null||S([v,null],s):S==null||S([M,v],s)),re&&(S==null||S([v,null],s))}else if(C){if(v!==null)if(!(U!=null&&U.length))S==null||S([v],s);else{var V=U.some(function(E){return at(E,v)});if(V){var _=U.filter(function(E){return!at(E,v)});S==null||S(_,s)}else S==null||S(ha(ha([],U,!0),[v],!1),s)}}else S==null||S(v,s);c||((m=(h=t.props).onSelect)===null||m===void 0||m.call(h,v,s),t.setState({inputValue:null}))},t.setPreSelection=function(l){var s=Ya(t.props.minDate),c=Ya(t.props.maxDate),d=!0;if(l){var h=Ec(l);if(s&&c)d=Ns(l,t.props.minDate,t.props.maxDate);else if(s){var m=Ec(t.props.minDate);d=Ri(l,m)||nl(h,m)}else if(c){var v=v9(t.props.maxDate);d=ul(l,v)||nl(h,v)}}d&&t.setState({preSelection:l})},t.toggleCalendar=function(){t.setOpen(!t.state.open)},t.handleTimeChange=function(l){var s,c;if(!(t.props.selectsRange||t.props.selectsMultiple)){var d=t.props.selected?t.props.selected:t.getPreSelection(),h=t.props.selected?l:u2(d,{hour:ja(l),minute:Ba(l)});t.setState({preSelection:h}),(c=(s=t.props).onChange)===null||c===void 0||c.call(s,h),t.props.shouldCloseOnSelect&&!t.props.showTimeInput&&(t.sendFocusBackToInput(),t.setOpen(!1)),t.props.showTimeInput&&t.setOpen(!0),(t.props.showTimeSelectOnly||t.props.showTimeSelect)&&t.setState({isRenderAriaLiveMessage:!0}),t.setState({inputValue:null})}},t.onInputClick=function(){var l,s;!t.props.disabled&&!t.props.readOnly&&t.setOpen(!0),(s=(l=t.props).onInputClick)===null||s===void 0||s.call(l)},t.onInputKeyDown=function(l){var s,c,d,h,m,v;(c=(s=t.props).onKeyDown)===null||c===void 0||c.call(s,l);var g=l.key;if(!t.state.open&&!t.props.inline&&!t.props.preventOpenOnFocus){(g===ve.ArrowDown||g===ve.ArrowUp||g===ve.Enter)&&((d=t.onInputClick)===null||d===void 0||d.call(t));return}if(t.state.open){if(g===ve.ArrowDown||g===ve.ArrowUp){l.preventDefault();var S=t.props.showTimeSelectOnly?".react-datepicker__time-list-item[tabindex='0']":t.props.showWeekPicker&&t.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':t.props.showFullMonthYearPicker||t.props.showMonthYearPicker?'.react-datepicker__month-text[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',w=((h=t.calendar)===null||h===void 0?void 0:h.containerRef.current)instanceof Element&&t.calendar.containerRef.current.querySelector(S);w instanceof HTMLElement&&w.focus({preventScroll:!0});return}var M=pt(t.state.preSelection);g===ve.Enter?(l.preventDefault(),l.target.blur(),t.inputOk()&&t.state.lastPreSelectChange===d2?(t.handleSelect(M,l),!t.props.shouldCloseOnSelect&&t.setPreSelection(M)):t.setOpen(!1)):g===ve.Escape?(l.preventDefault(),l.target.blur(),t.sendFocusBackToInput(),t.setOpen(!1)):g===ve.Tab&&t.setOpen(!1),t.inputOk()||(v=(m=t.props).onInputError)===null||v===void 0||v.call(m,{code:1,msg:f2})}},t.onPortalKeyDown=function(l){var s=l.key;s===ve.Escape&&(l.preventDefault(),t.setState({preventFocus:!0},function(){t.setOpen(!1),setTimeout(function(){t.setFocus(),t.setState({preventFocus:!1})})}))},t.onDayKeyDown=function(l){var s,c,d,h,m,v,g=t.props,S=g.minDate,w=g.maxDate,M=g.disabledKeyboardNavigation,R=g.showWeekPicker,C=g.shouldCloseOnSelect,U=g.locale,O=g.calendarStartDay,Y=g.adjustDateOnChange,K=g.inline;if((c=(s=t.props).onKeyDown)===null||c===void 0||c.call(s,l),!M){var X=l.key,re=l.shiftKey,V=pt(t.state.preSelection),_=function(H,T){var N=T;switch(H){case ve.ArrowRight:N=R?Rc(T,1):Zr(T,1);break;case ve.ArrowLeft:N=R?c9(T):GC(T);break;case ve.ArrowUp:N=c9(T);break;case ve.ArrowDown:N=Rc(T,1);break;case ve.PageUp:N=re?lo(T,1):al(T,1);break;case ve.PageDown:N=re?za(T,1):Wr(T,1);break;case ve.Home:N=Ai(T,U,O);break;case ve.End:N=kR(T);break}return N},E=function(H,T){for(var N=40,L=H,$=!1,A=0,j=_(H,T);!$;){if(A>=N){j=T;break}S&&j<S&&(L=ve.ArrowRight,j=Nr(S,t.props)?_(L,j):S),w&&j>w&&(L=ve.ArrowLeft,j=Nr(w,t.props)?_(L,j):w),Nr(j,t.props)?((L===ve.PageUp||L===ve.Home)&&(L=ve.ArrowRight),(L===ve.PageDown||L===ve.End)&&(L=ve.ArrowLeft),j=_(L,j)):$=!0,A++}return j};if(X===ve.Enter){l.preventDefault(),t.handleSelect(V,l),!C&&t.setPreSelection(V);return}else if(X===ve.Escape){l.preventDefault(),t.setOpen(!1),t.inputOk()||(h=(d=t.props).onInputError)===null||h===void 0||h.call(d,{code:1,msg:f2});return}var D=null;switch(X){case ve.ArrowLeft:case ve.ArrowRight:case ve.ArrowUp:case ve.ArrowDown:case ve.PageUp:case ve.PageDown:case ve.Home:case ve.End:D=E(X,V);break}if(!D){(v=(m=t.props).onInputError)===null||v===void 0||v.call(m,{code:1,msg:f2});return}if(l.preventDefault(),t.setState({lastPreSelectChange:d2}),Y&&t.setSelected(D),t.setPreSelection(D),K){var q=Gn(V),k=Gn(D),z=Ge(V),B=Ge(D);q!==k||z!==B?t.setState({shouldFocusDayInline:!0}):t.setState({shouldFocusDayInline:!1})}}},t.onPopperKeyDown=function(l){var s=l.key;s===ve.Escape&&(l.preventDefault(),t.sendFocusBackToInput())},t.onClearClick=function(l){l&&l.preventDefault&&l.preventDefault(),t.sendFocusBackToInput();var s=t.props,c=s.selectsRange,d=s.onChange;c?d==null||d([null,null],l):d==null||d(null,l),t.setState({inputValue:null})},t.clear=function(){t.onClearClick()},t.onScroll=function(l){typeof t.props.closeOnScroll=="boolean"&&t.props.closeOnScroll?(l.target===document||l.target===document.documentElement||l.target===document.body)&&t.setOpen(!1):typeof t.props.closeOnScroll=="function"&&t.props.closeOnScroll(l)&&t.setOpen(!1)},t.renderCalendar=function(){var l,s;return!t.props.inline&&!t.isCalendarOpen()?null:Z.createElement(hN,it({showMonthYearDropdown:void 0,ref:function(c){t.calendar=c}},t.props,t.state,{setOpen:t.setOpen,dateFormat:(l=t.props.dateFormatCalendar)!==null&&l!==void 0?l:i.defaultProps.dateFormatCalendar,onSelect:t.handleSelect,onClickOutside:t.handleCalendarClickOutside,holidays:GR(t.modifyHolidays()),outsideClickIgnoreClass:R9,onDropdownFocus:t.handleDropdownFocus,onTimeChange:t.handleTimeChange,className:t.props.calendarClassName,container:t.props.calendarContainer,handleOnKeyDown:t.props.onKeyDown,handleOnDayKeyDown:t.onDayKeyDown,setPreSelection:t.setPreSelection,dropdownMode:(s=t.props.dropdownMode)!==null&&s!==void 0?s:i.defaultProps.dropdownMode}),t.props.children)},t.renderAriaLiveRegion=function(){var l=t.props,s=l.dateFormat,c=s===void 0?i.defaultProps.dateFormat:s,d=l.locale,h=t.props.showTimeInput||t.props.showTimeSelect,m=h?"PPPPp":"PPPP",v;return t.props.selectsRange?v="Selected start date: ".concat(Cr(t.props.startDate,{dateFormat:m,locale:d}),". ").concat(t.props.endDate?"End date: "+Cr(t.props.endDate,{dateFormat:m,locale:d}):""):t.props.showTimeSelectOnly?v="Selected time: ".concat(Cr(t.props.selected,{dateFormat:c,locale:d})):t.props.showYearPicker?v="Selected year: ".concat(Cr(t.props.selected,{dateFormat:"yyyy",locale:d})):t.props.showMonthYearPicker?v="Selected month: ".concat(Cr(t.props.selected,{dateFormat:"MMMM yyyy",locale:d})):t.props.showQuarterYearPicker?v="Selected quarter: ".concat(Cr(t.props.selected,{dateFormat:"yyyy, QQQ",locale:d})):v="Selected date: ".concat(Cr(t.props.selected,{dateFormat:m,locale:d})),Z.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},v)},t.renderDateInput=function(){var l,s,c,d=Cn(t.props.className,(l={},l[R9]=t.state.open,l)),h=t.props.customInput||Z.createElement("input",{type:"text"}),m=t.props.customInputRef||"ref",v=t.props,g=v.dateFormat,S=g===void 0?i.defaultProps.dateFormat:g,w=v.locale,M=typeof t.props.value=="string"?t.props.value:typeof t.state.inputValue=="string"?t.state.inputValue:t.props.selectsRange?AR(t.props.startDate,t.props.endDate,{dateFormat:S,locale:w}):t.props.selectsMultiple?CR((c=t.props.selectedDates)!==null&&c!==void 0?c:[],{dateFormat:S,locale:w}):Cr(t.props.selected,{dateFormat:S,locale:w});return y.cloneElement(h,(s={},s[m]=function(R){t.input=R},s.value=M,s.onBlur=t.handleBlur,s.onChange=t.handleChange,s.onClick=t.onInputClick,s.onFocus=t.handleFocus,s.onKeyDown=t.onInputKeyDown,s.id=t.props.id,s.name=t.props.name,s.form=t.props.form,s.autoFocus=t.props.autoFocus,s.placeholder=t.props.placeholderText,s.disabled=t.props.disabled,s.autoComplete=t.props.autoComplete,s.className=Cn(h.props.className,d),s.title=t.props.title,s.readOnly=t.props.readOnly,s.required=t.props.required,s.tabIndex=t.props.tabIndex,s["aria-describedby"]=t.props.ariaDescribedBy,s["aria-invalid"]=t.props.ariaInvalid,s["aria-labelledby"]=t.props.ariaLabelledBy,s["aria-required"]=t.props.ariaRequired,s))},t.renderClearButton=function(){var l=t.props,s=l.isClearable,c=l.disabled,d=l.selected,h=l.startDate,m=l.endDate,v=l.clearButtonTitle,g=l.clearButtonClassName,S=g===void 0?"":g,w=l.ariaLabelClose,M=w===void 0?"Close":w,R=l.selectedDates;return s&&(d!=null||h!=null||m!=null||R!=null&&R.length)?Z.createElement("button",{type:"button",className:Cn("react-datepicker__close-icon",S,{"react-datepicker__close-icon--disabled":c}),disabled:c,"aria-label":M,onClick:t.onClearClick,title:v,tabIndex:-1}):null},t.state=t.calcInitialState(),t.preventFocusTimeout=void 0,t}return Object.defineProperty(i,"defaultProps",{get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",preventOpenOnFocus:!1,monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:Gs,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}},enumerable:!1,configurable:!0}),i.prototype.componentDidMount=function(){window.addEventListener("scroll",this.onScroll,!0),document.addEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},i.prototype.componentDidUpdate=function(n,t){var l,s,c,d;n.inline&&_N(n.selected,this.props.selected)&&this.setPreSelection(this.props.selected),this.state.monthSelectedIn!==void 0&&n.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),n.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:D9(this.props.highlightDates)}),!t.focused&&!nl(n.selected,this.props.selected)&&this.setState({inputValue:null}),t.open!==this.state.open&&(t.open===!1&&this.state.open===!0&&((s=(l=this.props).onCalendarOpen)===null||s===void 0||s.call(l)),t.open===!0&&this.state.open===!1&&((d=(c=this.props).onCalendarClose)===null||d===void 0||d.call(c)))},i.prototype.componentWillUnmount=function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0),document.removeEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},i.prototype.renderInputContainer=function(){var n=this.props,t=n.showIcon,l=n.icon,s=n.calendarIconClassname,c=n.calendarIconClassName,d=n.toggleCalendarOnIconClick,h=this.state.open;return s&&console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."),Z.createElement("div",{className:"react-datepicker__input-container".concat(t?" react-datepicker__view-calendar-icon":"")},t&&Z.createElement(pN,it({icon:l,className:Cn(c,!c&&s,h&&"react-datepicker-ignore-onclickoutside")},d?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())},i.prototype.render=function(){var n=this.renderCalendar();if(this.props.inline)return n;if(this.props.withPortal){var t=this.state.open?Z.createElement(Mb,{enableTabLoop:this.props.enableTabLoop},Z.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},n)):null;return this.state.open&&this.props.portalId&&(t=Z.createElement(xb,it({portalId:this.props.portalId},this.props),t)),Z.createElement("div",null,this.renderInputContainer(),t)}return Z.createElement(bN,it({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:n,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},i}(y.Component),EN="input",d2="navigate";const wN=({title:a,titleId:i,...n},t)=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("path",{fill:"currentColor",d:"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"})),DN=y.forwardRef(wN),TN={year:"numeric",month:"long",day:"numeric"},xN=({restart:a,proceed:i})=>{const{controlCode:n}=Pn(V=>V),[t,l]=y.useState(!0),[s,c]=y.useState(!1),[d,h]=y.useState(Array(5).fill(!1)),[m,v]=y.useState(""),[g,S]=y.useState({}),[w,M]=y.useState(null),R=y.useRef(null),C=()=>R.current.setOpen(!0),U=["photo","valid","lastName","firstName"];y.useEffect(()=>{WM(n.dayOfBirth).then(V=>{l(V)})},[]);const O=(V,_)=>{const E=[...d];E[V]=_,h(E)},Y=V=>V<10?`0${V}`:V.toString(),K=()=>{const V=ke.locale==="nl"?"nl-NL":"en-EN";return{dayOfBirth:w.toLocaleDateString(V,TN)}},X=V=>{M(V);const _=`${V.getFullYear()}-${Y(V.getMonth()+1)}-${Y(V.getDate())}`,E={...n,dayOfBirth:_};Pn.setState(()=>({controlCode:E}))},re=()=>{const{firstName:V,lastName:_,dayOfBirth:E,code:D,userUid:q}=n;c(!0),QM(V,_,E,D,m,q).then(()=>{S({}),c(!1),i()}).catch(k=>{c(!1),k.response.json().then(z=>{S(z),window.scrollTo({top:0,left:0,behavior:"smooth"})})})};return W.jsxs("div",{className:"control",children:[W.jsxs("div",{className:"control-header",children:[W.jsxs("h2",{children:[ke.t("control.header"),W.jsx("span",{className:"code",children:n.code})]}),W.jsx(no,{txt:ke.t("control.restart"),type:Ti.GhostDark,onClick:()=>a()})]}),!Ua(g)&&W.jsx("div",{className:"error",children:W.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:xi.sanitize(ke.t("control.error",g))}})}),W.jsxs("div",{className:"control-validation",children:[W.jsx("h4",{children:ke.t("control.info")}),W.jsx("p",{children:ke.t("control.validDocuments")}),W.jsx(om,{toasterType:Di.Warning,message:ke.t("control.inValidDocuments")}),W.jsx("h4",{children:ke.t("control.isValid")}),U.map((V,_)=>W.jsxs("div",{className:"validation-item",children:[W.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:xi.sanitize(ke.t(`control.validations.${V}`,n))}}),W.jsx(G4,{value:d[_],onChange:E=>O(_,E)})]},V)),W.jsxs("div",{className:"validation-item column",children:[W.jsxs("div",{className:"validation-item-inner",children:[W.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:xi.sanitize(ke.t("control.validations.dayOfBirth",!t&&w!==null?K():n))}}),W.jsx(G4,{value:d[4],disabled:!t&&w===null,onChange:V=>O(4,V)})]}),!t&&W.jsxs("div",{className:`validation-item-inner birthday ${w===null?"invalid":"valid"}`,children:[W.jsx("p",{children:ke.t(`control.${w===null?"invalidDate":"validDate"}`)}),W.jsx(SN,{ref:R,preventOpenOnFocus:!0,onChange:X,showWeekNumbers:!0,selected:w,showYearDropdown:!0,showMonthDropdown:!0,dropdownMode:"select",weekLabel:"Week",todayButton:null}),W.jsx("div",{className:"calendar",onClick:C,children:W.jsx(DN,{})})]})]}),W.jsxs("div",{className:"validation-item column",children:[W.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:xi.sanitize(ke.t("control.idDocument"))}}),W.jsxs("div",{className:"code-validation",children:[W.jsx(X9,{verify:V=>v(V),size:6,focusFirst:!1,validate:()=>!0}),W.jsx(no,{txt:ke.t("control.proceed"),disabled:Ua(m)||d.some(V=>!V)||s||!Ua(g)||!t&&Ua(w),onClick:()=>re()})]})]})]})]})},MN=({title:a,titleId:i,...n},t)=>y.createElement("svg",{id:"dcc22515-6e5c-427c-a472-433a07234f27","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",width:1009.54,height:766.62,viewBox:"0 0 1009.54 766.62",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("defs",null,y.createElement("linearGradient",{id:"43242edf-68b9-436b-b935-0b4e021271d5",x1:625.8,y1:769.51,x2:625.8,y2:88.59,gradientUnits:"userSpaceOnUse"},y.createElement("stop",{offset:0,stopColor:"gray",stopOpacity:.25}),y.createElement("stop",{offset:.54,stopColor:"gray",stopOpacity:.12}),y.createElement("stop",{offset:1,stopColor:"gray",stopOpacity:.1}))),y.createElement("path",{d:"M335.05,706.45c-8.5-.86-17.38-1.78-25.43.47s-14.72,8.82-12.33,15.1c5.34,14,36.68,4.25,51.13,13.82,5.16,3.42,7.17,8.8,11.2,13,6.52,6.82,17.73,10,28.55,11.75,65,10.51,139.1-16.54,196.07,9.51,18.45,8.44,33,21.87,53.23,27.5,26.8,7.46,56.15-.51,83.88-5.62a410.28,410.28,0,0,1,104.89-5.5c25.93,2,60.42,2.67,68.72-16.16C900.3,758.21,889,744.73,874,739s-32.56-5.55-49.31-5c-32.33,1.16-64.67,3.5-97,2.36-62.52-2.22-121.58-27-182.46-27.82C474.33,707.68,406.28,713.63,335.05,706.45Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M269.32,393c-10,10.11-10.61,25.61-10.61,25.61s15.49-.88,25.45-11S294.78,382,294.78,382,279.28,382.91,269.32,393Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M309.57,143.24c3.53,13.75,16.48,22.3,16.48,22.3s7.23-13.73,3.7-27.48-16.48-22.29-16.48-22.29S306,129.5,309.57,143.24Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M894.41,181.06c-10,10.11-10.62,25.61-10.62,25.61s15.5-.88,25.46-11,10.61-25.62,10.61-25.62S904.37,171,894.41,181.06Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M589.62,322.74c-1.16,14.14,8.27,26.46,8.27,26.46s11.33-10.61,12.49-24.76S602.11,298,602.11,298,590.78,308.59,589.62,322.74Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M917.68,521.05c-1.16,14.14,8.27,26.46,8.27,26.46s11.33-10.61,12.49-24.75-8.27-26.46-8.27-26.46S918.84,506.91,917.68,521.05Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M681.78,163.07c-64.72-1.95-126.36-20-185.22-39.8S379.4,81.58,316.23,71.1c-40.63-6.74-87.1-7.69-119.83,11.16-31.51,18.13-41.69,49.44-47.16,78.49-4.12,21.85-6.54,44.85,4.74,65.31,7.84,14.21,21.74,26.15,31.36,39.75,33.47,47.35,9.81,105.73-26.45,152-17,21.69-36.75,42.37-49.88,65.46s-19.2,49.53-7.71,73.07c11.38,23.34,38.51,40.87,67.9,53.2,59.69,25,130,32.21,198.61,36.27,151.83,9,304.46,5.1,456.69,1.2,56.34-1.44,112.92-2.9,168.34-10.44,30.78-4.18,62.55-10.82,84.9-26.86,28.36-20.36,35.39-54.83,16.38-80.36-31.88-42.81-120-53.45-142.31-99.4-12.26-25.29.33-53.46,18.16-76.92,38.24-50.32,102.33-94.47,105.7-152,2.32-39.5-28.49-79.06-76.13-97.75-49.93-19.6-119.18-17.13-156,15.3C805.59,151.93,738.93,164.78,681.78,163.07Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M896.32,351.32a9,9,0,0,0-6.14,5.41l-1-.16-3.73-.6s-19.76-1.63-23.45-1.38-6-3.39-6-3.39l-14.69-12.43-1.14-1c1.59-.6,2.58-.91,2.58-.91s-39.42-49-47.92-49.95-22.55-12.39-22.69-12.5l-.15-.78c-.31-1.65-.54-3.32-.71-5l2.09,1.28h0c0-.58,0-1.16.06-1.74h0a31.64,31.64,0,0,1,5.88-16.8c4.11-5.7,10.19-10.18,12.62-16.75a24.21,24.21,0,0,0,1.29-8.79,29.3,29.3,0,0,0-4.1-15.29,19.1,19.1,0,0,0-12.9-8.9c-1.4-.22-2.83-.25-4.21-.57-8.21-1.93-11.23-12.94-19.21-15.64-3.72-1.26-7.86-.43-11.45,1.13s-6.84,3.8-10.35,5.53-7.49,3-10.68,5.45c-.33.25-.68.55-1,.86h0l-.63.61h0a22.64,22.64,0,0,0-3.41,4.45l-.15.25c-.1.17-.19.35-.28.53s-.15.28-.21.42-.16.32-.23.48l-.21.48-.18.46c-.06.17-.13.34-.18.52s-.1.29-.14.44l-.15.53-.09.43c0,.18-.07.37-.1.55s0,.27,0,.4,0,.38,0,.57,0,.25,0,.37,0,.4,0,.61,0,.2,0,.3a6.09,6.09,0,0,0,.18.87v0c.54,1.84,2.4,3.72,3.82,5.36-.16.15-.32.29-.48.45a34.86,34.86,0,0,0-10.67,25.11,34.4,34.4,0,0,0,.57,6.21,33.32,33.32,0,0,0-5.83-3.53,50.89,50.89,0,0,0-21.69-5c-12.25-.14-29.46-4.74-29.46-4.74a11.7,11.7,0,0,1,1,2.65c-.75-.43-1.56-.89-2.45-1.37a71.82,71.82,0,0,0-23-7.7s-5.1.71-5.78-10a45.41,45.41,0,0,0-1.8-9.87,168.22,168.22,0,0,1-6.06-30L610,163.52s7.7-41,3.07-58.48c1.49-5.48.65-10.5-4.26-14.11-19.37-14.26-38.91,41.24-38.91,41.24l-7.26,7.05a15.58,15.58,0,0,0-6.16-2.35s-3.91,4-6.63,14.92c-1.44,5.79-11.28,15.46-20.18,23.25-6.32,5.53-12.42,11.28-18.51,17.05-4.5,4.28-14.53,10.4-36.41,13.86-3.43.54-6.55,1.05-9.4,1.52a29.33,29.33,0,0,0,1.1-7.94,29.78,29.78,0,0,0-23.36-28.93,7.46,7.46,0,0,0,0-2.11,8.74,8.74,0,0,0-2.21-4c-4.61-5.7-9.61-11.56-16.47-14.26a21.45,21.45,0,0,0-8.89-1.43h-1.52c-.31,0-.61,0-.92,0h0a22.78,22.78,0,0,0-16.66,8.68c-2.46,3.29-3.94,7.19-6.06,10.7-3.94,6.5-10,11.51-16.57,15.47-3.95,2.39-8.1,4.45-11.83,7.16-13.53,9.83-19.77,28-16.37,44.24,1.5,7.13,4.67,14.15,3.82,21.38-.67,5.61-3.69,10.65-6.77,15.41s-6.34,9.6-7.56,15.11.06,12,4.68,15.34c1.7,1.22,3.76,2,5.21,3.48a16.7,16.7,0,0,1,2.4,3.76,37.42,37.42,0,0,0,23.27,18.08,17,17,0,0,0,4.76.52h.17l.31,0c3.67.23,7.43-.75,8.66-4a9.08,9.08,0,0,1,.83-2.12,2.49,2.49,0,0,1,1.45-1,13.32,13.32,0,0,1,3.39,1.28A43.12,43.12,0,0,0,406.69,327a23.2,23.2,0,0,0,2.89.05,12.78,12.78,0,0,0,5.89-.84,12.62,12.62,0,0,0,4.53-3.88c.26-.33.5-.68.75-1a82.71,82.71,0,0,1-7.38,23s-6,10-5.57,20.08a20.17,20.17,0,0,0,2.25,10.6s.17-.44.52-1.13c1.72,2.88,7.36,12.09,11.06,15.32.18,9.51.14,21.42-1.05,23.87-2,4.19-8.32,34,18.86,54.33l6.27,13.73-25.81,1.83c-2.61-.36-36.36-4.9-36.53,1.71-.17,6.87,5.1,73.77,22.6,69.24,16.31-4.22,10.93-23.73,10.12-26.35l.58-.16-.64-.18,13.05-12.37a5.78,5.78,0,0,0-1-4.29l.13-.07,31.52,1.41L467.14,528s12.57,19.12,2.38,35.21-20.73,41.25-22.43,56.51c-1.39,12.48-10.63,24.74-13.94,28.78-5.91,2-28.58,10.9-19.53,24.37,10.36,15.42,44,44.77,57.6,43.76s8.15-10.9,8.15-10.9L468,694.71s-2-23.48-1.19-30.35c.44-3.57-2.19-6.14-5-7.23,1.07-7.65,3.78-22.15,9.6-30.16,8.15-11.24,34.32-60.7,34.32-60.7s8.32-7.38,6.45-29.34c-.75-8.86-1.17-16.64-1.41-22.79l29.62,1.33s31.77-3.19,10.19-37.23-67.45-67.4-67.45-67.4l-.41-21.07c2.08.52,3.3.78,3.3.78s-.18-.76-.48-2.12l.48.11s-6.63-28.69-8.67-51.5l1.87.86c19.71,22.81,33,3.53,33,3.53s41.63-58.52,37.55-55.84a3.54,3.54,0,0,1-2.74.17l3-9.56s12.29-18.78-5.55-29.34c-14.56-8.62-14.18,18.4-13.55,28.61l-.72-.61s-13.93,21-21.41,32.7-13.76,4-13.76,4l-9.45-10.65a37.41,37.41,0,0,0,2.25-13.32,22.63,22.63,0,0,0-6.39-17.28c-7.21-7.35-9.32-14.47-9.54-19.95a21.12,21.12,0,0,1,1.89-8.22l49.11-26s10.36.16,24.29-21.3a368.42,368.42,0,0,1,29.74-39.23s-.29-.42-.79-1.11c.5-.59.79-.91.79-.91s-.57-.83-1.54-2.11l7.57-8.73a112,112,0,0,0-.09,11.85l3.92,13.25,2.2,73.77s-2.38,7,12.92,14.09c12.94,6,33.44,16,39.42,18.95-.22.54-.35.83-.35.83l1.78-.12.26.12h0c29.89-2.68,28.87,27.16,28.87,27.16s2,60.7-7.13,81.83-7.82,47.28-7.82,47.28.91-4.46,6,1.37c-.1.51-.21,1.06-.33,1.63-2.92,14.63-9,45.75-10.13,58.37a204.52,204.52,0,0,1-6.63,34l-3,55.83,19.11.93-.21,2a6.28,6.28,0,0,1-3.24,4.87c-6.54,3.55-22,16-20.76,54.42l-.66,6.18a77.64,77.64,0,0,1-9.33,29.81c-.44.78-.83,1.53-1.16,2.25a1.84,1.84,0,0,1,.52-1.07s-9.93,2.06-7.89,28.89,5.1,31.52,9.18,31.85,24,5.2,22.93-4.69-2-31.86-.68-35.21,6.74-12.39,1.6-14.57h0a76.64,76.64,0,0,0,2.15-18.8s10-15.76,17.15-21.63,11-15.84,13.59-28.67c.18-.84,21.07-14.76,18-26.32-.54-2-.93-3.77-1.23-5.37-.13-.71-.24-1.38-.34-2l.37,0,4.25-25.49v24.82l2.52.33-.09,2-1.07,23.8a39.18,39.18,0,0,1-3,13.48c-4.5,10.65-12.8,34.36-10.54,60l-.24,22.86c-.72.14-11.1,2.59-9.13,28.5,2,26.82,5.09,31.52,9.17,31.85s24,5.2,22.94-4.69-2-31.86-.68-35.21,3.7-12.21-1.44-14.39a19.16,19.16,0,0,1,2.14-8.63c2.24-3.81,9.72-21.92,15.35-35.85a128.31,128.31,0,0,0,9.45-44.33c0-.17,0-.34,0-.51a41.56,41.56,0,0,1,3.25-14.93,96.28,96.28,0,0,0,5.44-16.41c.14-.67.25-1.32.35-2l4.88.65,16.66-72.1s4.56-39.08,2.33-56.73c-.09-.73-.19-1.4-.31-2.05l1,.09s3.4-8.71,2.38-45.94,6.8-49,6.8-49c4.22-13.38,8.88-17.86,11.6-19.36h0a4.91,4.91,0,0,1,2.33-.76l12.61,14.43h0l2.32,2.66a.86.86,0,0,0,0-.16l1,1.17a10.78,10.78,0,0,1-.08-1.79c6.73,3.91,22.28,13.05,31.56,19.61,12.1,8.55,15.42,7.55,26,6.66,6.42-.53,15.1-4.13,20.92-6.87l.53-.25a25.54,25.54,0,0,0,4.92,2s17.08,14.47,18.73-11.94S896.32,351.32,896.32,351.32Zm-443,307.56a24.7,24.7,0,0,1-5-2.11ZM426.58,373l.06,3.75-.26.12C426.46,375.55,426.52,374.25,426.58,373ZM693.72,707.72l0,1.46A1.07,1.07,0,0,1,693.72,707.72Z",transform:"translate(-95.23 -66.69)",fill:"url(#43242edf-68b9-436b-b935-0b4e021271d5)"}),y.createElement("rect",{x:624.01,y:201.63,width:29,height:30.5,fill:"#ff7590"}),y.createElement("path",{d:"M684,620.49c-2.55,12.75-6.33,22.66-13.33,28.5s-16.83,21.5-16.83,21.5c-.17,20.83-5.67,27.16-5.67,27.16l-5.67,1.5h-14s-2.5-7-3-11.16c-.17-1.39.82-3.72,2.2-6.22a77.92,77.92,0,0,0,9.15-29.63l.65-6.15c-1.18-38.17,14-50.56,20.37-54.09a6.24,6.24,0,0,0,3.17-4.84h0l1.13-10.91L699.83,578s-.8,3.32.63,11c.29,1.59.68,3.36,1.2,5.33C704.66,605.82,684.16,619.65,684,620.49Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M747.86,594.13a97.09,97.09,0,0,1-5.33,16.31,41.88,41.88,0,0,0-3.2,14.84c0,.17,0,.34,0,.51a129.17,129.17,0,0,1-9.27,44.06c-5.53,13.84-12.86,31.85-15.06,35.64-3.66,6.33-1.5,17-1.5,17l-21.2-1.5.37-35.67c-2.21-25.47,5.93-49,10.34-59.63a39.08,39.08,0,0,0,3-13.39l1-23.66.31-7s37.48-5.33,40.64,3.17C748.83,587.06,748.62,590.41,747.86,594.13Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M700.46,589,661,587.06l1.13-10.91L699.83,578S699,581.31,700.46,589Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M747.86,594.13,707,588.64l.31-7s37.48-5.33,40.64,3.17C748.83,587.06,748.62,590.41,747.86,594.13Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M769.33,521.15,753,592.82l-48.33-6.5V561.65L700.49,587l-58-2.84,3-55.5a205.85,205.85,0,0,0,6.5-33.83c1.13-12.54,7.07-43.47,9.94-58,1-4.79,1.56-7.81,1.56-7.81s99.34,20.66,105.84,28.16c1.11,1.28,1.84,4,2.29,7.61C773.8,482.31,769.33,521.15,769.33,521.15Z",transform:"translate(-95.23 -66.69)",fill:"#bdd2e8"}),y.createElement("path",{d:"M653.33,525.82s39.1-20.5,48.63-16.17Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M674.66,458.82s32.5,24.67,33.5,31.33Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M665.83,543.82s23.5-1,31,5Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M708.16,517.44S719.33,554,714.49,564s-9.83-2.34-9.83-2.34Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M692.47,708s-11,1.67-9,28.33,5,31.34,9,31.67,23.5,5.17,22.5-4.67-2-31.66-.67-35,3.63-12.13-1.41-14.3l-1.09,5.14s-10.67-9.84-17-2.67a27.7,27.7,0,0,0-1.31-5.13C692.86,709.81,691.48,709,692.47,708Z",transform:"translate(-95.23 -66.69)",fill:"#494457"}),y.createElement("path",{d:"M893.78,380.82s-2.52,1.41-6.22,3.17c-5.71,2.72-14.22,6.3-20.52,6.83-10.38.88-13.63,1.88-25.5-6.62-9.11-6.52-24.36-15.61-31-19.49L807.65,363l-.29-.17,0-.12,5.51-15.14,19.5-10.37,4.84,4.15,14.41,12.35s2.25,3.62,5.88,3.37,23,1.37,23,1.37l3.66.6,7.71,1.28Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M893.78,380.82s-2.52,1.41-6.22,3.17c-3.91-2-8.77-5.75-6.9-11.92,1.69-5.55,2.15-9.88,3.54-13l7.71,1.28Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M891.16,353.82s21.75-6.25,20.13,20-18.38,11.88-18.38,11.88-14.25-3.75-11.25-13.63S883.79,356.2,891.16,353.82Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M665.66,268.82,643,278.34l-.35.15-.25-.12-1.41-.71c-5.86-2.92-26-12.91-38.67-18.84-15-7-12.67-14-12.67-14l-2.16-73.33-3.84-13.17s-2.71-44.64,19-55.83,7.67,64.66,7.67,64.66L612,182.91a168.78,168.78,0,0,0,5.95,29.77,46.24,46.24,0,0,1,1.76,9.81c.67,10.66,5.67,9.95,5.67,9.95a69.61,69.61,0,0,1,22.54,7.66,56.38,56.38,0,0,1,7.46,4.72Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M746.33,303.82l-19.34-2s5.7-8.48,8.21-16.73a28.42,28.42,0,0,0,.85-3.45c.58-3.27.43-6.3-1.06-8.49-5.66-8.33,33.67-20,33.67-20a96.07,96.07,0,0,0-.43,13.88,70.23,70.23,0,0,0,1,9.61c1.19,6.47,3.56,12.56,8.08,15.68C789.66,300.82,746.33,303.82,746.33,303.82Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M746.33,303.82l-19.34-2s5.7-8.48,8.21-16.73c2.23,3.17,3,3.1,6.13,3.73,0,0,19.52,2.89,27.92-12.18,1.19,6.47,3.56,12.56,8.08,15.68C789.66,300.82,746.33,303.82,746.33,303.82Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M810.58,364.71a10.71,10.71,0,0,0,.08,1.78l-3-3.49-.25-.29,5.51-15.14,19.5-10.37,4.84,4.15C830.33,344,810.89,352.41,810.58,364.71Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M665.66,268.82,643,278.34l-.6,0-1.75.12s.13-.29.34-.83c1.89-4.59,10.66-27,6.87-37.56a56.38,56.38,0,0,1,7.46,4.72Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M771.62,464.76c-8.82-.79-97.06-8.95-105.29-21.94a45.64,45.64,0,0,0-4.4-6c1-4.79,1.56-7.81,1.56-7.81s99.34,20.66,105.84,28.16C770.44,458.43,771.17,461.14,771.62,464.76Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M741.33,289.82s19.73,2.92,28.07-12.41c0,0,13.93,11.44,22.26,12.42s47,49.66,47,49.66-31,10-29,26l-14.67-17s-7.33-.34-13.66,20c0,0-7.67,11.66-6.67,48.66s-2.33,45.67-2.33,45.67-97.34-8.33-106-22-10-7-10-7-1.34-26,7.66-47,7-81.33,7-81.33,1-29.67-28.33-27c0,0,12.33-28.67,6.67-39.67,0,0,16.87,4.58,28.89,4.72a49.42,49.42,0,0,1,21.28,5c3.61,1.77,6.94,4,8.83,6.66,5.66,8,15,4.34,15,4.34a151.41,151.41,0,0,0,8.7,21.33c.39.73.78,1.45,1.18,2.14.58,1,1.18,2,1.78,2.82C737.39,289.26,738.07,289.17,741.33,289.82Z",transform:"translate(-95.23 -66.69)",fill:"#ff7590"}),y.createElement("path",{d:"M768.23,267a34.24,34.24,0,0,1-3.54,4.25,34.89,34.89,0,0,1-25,10.54,35.91,35.91,0,0,1-3.61-.18c.58-3.27.43-6.3-1.06-8.49-5.66-8.33,33.67-20,33.67-20A96.07,96.07,0,0,0,768.23,267Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M774.66,245.82a35,35,0,1,1-35-35A34.87,34.87,0,0,1,774.66,245.82Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M792,325.82l.72,23.42s10.45-8.42,10.78-16.42S792,325.82,792,325.82Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M707.66,349.24s27.5,37.75,43.5,41.58S713.66,361.48,707.66,349.24Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M736.83,353.17s15.33,17.32,26.33,19.48Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M682.83,396.82s28,27.5,44,29.17Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M774.66,245.82a34.87,34.87,0,0,1-10,24.46l-3.84-2.39a10.62,10.62,0,0,1-3.74-3.25c-1.27-2.12-.9-4.78-.8-7.25.21-5.23-1.23-10.89-5.32-14.16-6.63-5.31-17.26-2.37-24-7.58a23.66,23.66,0,0,1-4.25-4.73l-6.32-8.47c-.38-.5-.84-1-1.33-1.59a35,35,0,0,1,59.54,25Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M718.57,201c3.13-2.39,6.95-3.65,10.47-5.41s6.63-4,10.15-5.5,7.59-2.38,11.24-1.13c7.83,2.69,10.79,13.63,18.84,15.55,1.36.32,2.76.35,4.13.56a18.8,18.8,0,0,1,12.65,8.85,29.46,29.46,0,0,1,4,15.21,24.37,24.37,0,0,1-1.27,8.73c-2.38,6.53-8.35,11-12.38,16.65A31.66,31.66,0,0,0,770.61,273l-9.76-6.07a10.52,10.52,0,0,1-3.74-3.25c-1.27-2.12-.9-4.78-.8-7.25.21-5.23-1.23-10.89-5.31-14.16-6.64-5.31-17.27-2.37-24-7.58a23.66,23.66,0,0,1-4.25-4.73l-6.32-8.47c-1.37-1.84-4-4.13-4.6-6.37C710.5,210.3,715.05,203.71,718.57,201Z",transform:"translate(-95.23 -66.69)",fill:"#362133"}),y.createElement("path",{d:"M761.94,265.8a10.52,10.52,0,0,1-3.74-3.25c-1.27-2.12-.9-4.78-.8-7.25.21-5.23-1.23-10.89-5.32-14.16-6.63-5.31-17.26-2.37-24-7.58a23.66,23.66,0,0,1-4.25-4.73l-6.32-8.47c-1.38-1.84-4-4.13-4.6-6.37-1.09-3.86,1.67-8.89,4.62-12.11-3.31,3.06-6.94,8.87-5.71,13.2.64,2.24,3.23,4.53,4.6,6.37l6.32,8.47a23.66,23.66,0,0,0,4.25,4.73c6.71,5.21,17.34,2.27,24,7.58,4.08,3.27,5.52,8.93,5.31,14.16-.1,2.47-.47,5.13.8,7.25a10.52,10.52,0,0,0,3.74,3.25l9.76,6.07c0-.58,0-1.16.06-1.73Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M627.07,682.94s-9.74,2-7.74,28.71,5,31.34,9,31.67,23.5,5.17,22.5-4.67-2-31.66-.67-35,6.61-12.31,1.57-14.48l-4.07,5.32s-10.67-9.84-17-2.67C630.66,691.82,624.74,685.27,627.07,682.94Z",transform:"translate(-95.23 -66.69)",fill:"#494457"}),y.createElement("path",{d:"M633.23,699.5c2.11,1,4.08,2.22,6.18,3.22a13.87,13.87,0,0,0,6.71,1.58,4.68,4.68,0,0,0,2.74-.95",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M697.33,725.62c1.25,1.15,2.22,2.62,3.63,3.57,2,1.34,4.56,1.42,7,1.45a2.84,2.84,0,0,0,1.2-.15,2.92,2.92,0,0,0,1.07-1l1.31-1.69",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M533,282.15s-4.5-42.66,13-32.16,5.45,29.16,5.45,29.16l-4.11,13.17Z",transform:"translate(-95.23 -66.69)",fill:"#ffc1c7"}),y.createElement("path",{d:"M561,145.82,571,136s19.17-55.17,38.17-41-24.08,50-24.08,50l-11.42,13.33Z",transform:"translate(-95.23 -66.69)",fill:"#ffc1c7"}),y.createElement("path",{d:"M414.66,364l-.5,11.33s9.17,16,13,17.17,3.5-33.84,3.5-33.84Z",transform:"translate(-95.23 -66.69)",fill:"#ff5374"}),y.createElement("path",{d:"M414.66,364l-.5,11.33s9.17,16,13,17.17,3.5-33.84,3.5-33.84Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("polygon",{points:"334.76 284.87 335.44 326.63 381.93 326.63 378.43 302.3 334.76 284.87",fill:"#ffc1c7"}),y.createElement("path",{d:"M440.83,455.82,443,469.15l27.17,60.34s12.33,19,2.33,35-20.33,41-22,56.16-14.83,30-14.83,30l28.67,12.17s2-23.83,10-35S508,567.49,508,567.49s8.17-7.34,6.34-29.17-1.67-37.17-1.67-37.17l-2.83-34.83Z",transform:"translate(-95.23 -66.69)",fill:"#575988"}),y.createElement("path",{d:"M440.83,455.82,443,469.15l27.17,60.34s12.33,19,2.33,35-20.33,41-22,56.16-14.83,30-14.83,30l28.67,12.17s2-23.83,10-35S508,567.49,508,567.49s8.17-7.34,6.34-29.17-1.67-37.17-1.67-37.17l-2.83-34.83Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M438.16,648.82s-30.67,9.33-20.5,24.67,43.17,44.5,56.5,43.5,8-10.84,8-10.84l-11.17-11s-2-23.33-1.16-30.16-9.5-10-10.84-6S438.16,648.82,438.16,648.82Z",transform:"translate(-95.23 -66.69)",fill:"#c4747b"}),y.createElement("path",{d:"M457.49,375.58l-24.31,2.69a8.72,8.72,0,0,0-7.76,8.89c.26,9.72.43,25.18-.93,28-2,4.17-8.16,33.84,18.5,54l36.17,11.5-58,4.17L423,517l9-5,110,5s31.17-3.17,10-37-66.16-67-66.16-67l-.5-26.34L482,379Z",transform:"translate(-95.23 -66.69)",fill:"#575988"}),y.createElement("path",{d:"M487.66,480.15a31.24,31.24,0,0,1,25,0Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M424,484.65s-35.83-5.16-36,1.67,5,73.33,22.17,68.83,9.83-26.5,9.83-26.5l12.84-12.33s1.33-6.83-7.17-6.17Z",transform:"translate(-95.23 -66.69)",fill:"#c4747b"}),y.createElement("path",{d:"M483.33,298.15l14.16,16.17s6.17,7.67,13.5-4,21-32.5,21-32.5,15.17,13.33,19.17,10.67S514.33,344,514.33,344s-13,19.16-32.34-3.5l-5.66-2.67Z",transform:"translate(-95.23 -66.69)",fill:"#ff5374"}),y.createElement("path",{d:"M483.33,298.15l14.16,16.17s6.17,7.67,13.5-4,21-32.5,21-32.5,15.17,13.33,19.17,10.67S514.33,344,514.33,344s-13,19.16-32.34-3.5l-5.66-2.67Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("circle",{cx:344.78,cy:136.25,r:29.5,fill:"#ffc1c7"}),y.createElement("path",{d:"M440,218.82s-25.35,12-22.35,33,3.5,47.5,3.5,47.5,11.51,17-3.75,49.5c0,0-9.75,16.5-3.25,28.5,0,0,7.21-19,25.85-5s48.65,20.5,48.65,20.5-15.5-68-6-77.5c0,0,16.5-24.5,1.5-40s-7.5-30-7.5-30l48.17-25.83s10.16.16,23.83-21.17a367.33,367.33,0,0,1,29.17-39s-10.34-15.5-20-16.67c0,0-3.84,4-6.5,14.84-1.42,5.75-11.07,15.36-19.8,23.11-6.2,5.5-12.18,11.21-18.15,17-4.42,4.25-14.26,10.33-35.72,13.77C442.33,217,440,218.82,440,218.82Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M440,216.82s-25.35,12-22.35,33,3.5,47.5,3.5,47.5,11.51,17-3.75,49.5c0,0-9.75,16.5-3.25,28.5,0,0,7.21-19,25.85-5s48.65,20.5,48.65,20.5-15.5-68-6-77.5c0,0,16.5-24.5,1.5-40s-7.5-30-7.5-30l48.17-25.83s10.16.16,23.83-21.17a367.33,367.33,0,0,1,29.17-39s-10.34-15.5-20-16.67c0,0-3.84,4-6.5,14.84-1.42,5.75-11.07,15.36-19.8,23.11-6.2,5.5-12.18,11.21-18.15,17-4.42,4.25-14.26,10.33-35.72,13.77C442.33,215,440,216.82,440,216.82Z",transform:"translate(-95.23 -66.69)",fill:"#ff5374"}),y.createElement("path",{d:"M461.83,342.49s19.66,29,20.16,34C482,376.49,479,345.32,461.83,342.49Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M436,244.82s13.71,16.5,33.52,2.67A42.49,42.49,0,0,1,436,244.82Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M446.63,172.09a8.85,8.85,0,0,0-2.16-4c-4.52-5.67-9.43-11.49-16.16-14.18a22.34,22.34,0,0,0-25.49,7.26c-2.42,3.26-3.86,7.14-5.95,10.63-3.86,6.46-9.83,11.44-16.25,15.38-3.87,2.37-7.95,4.42-11.6,7.11-13.27,9.77-19.4,27.83-16.06,44,1.47,7.08,4.58,14.06,3.74,21.25-.65,5.58-3.62,10.58-6.63,15.32s-6.22,9.54-7.42,15,.06,11.93,4.59,15.24c1.67,1.22,3.68,2,5.11,3.46a16.61,16.61,0,0,1,2.35,3.74,36.77,36.77,0,0,0,22.83,18c4.3,1.13,10.07.72,11.64-3.44a9,9,0,0,1,.81-2.11c1.42-2,4.55-.88,6.75.27a41.79,41.79,0,0,0,16.13,4.63,13.45,13.45,0,0,0,6.61-.79,12.21,12.21,0,0,0,4.45-3.85c5.26-6.85,6.77-15.8,7.67-24.39.59-5.59,1-11.28-.07-16.8-1.7-8.86-7.09-17.14-6.29-26.12.85-9.6,8.64-17.45,9.83-27a20.59,20.59,0,0,0-3.51-14.19,20.29,20.29,0,0,1-2.67-4.18,4.15,4.15,0,0,1,.8-4.59,7,7,0,0,1,2.08-1c6.43-2.47,9.86-8.91,10.32-15.5.18-2.5,0-4.8.69-7.24C443.87,180.23,447.2,176.11,446.63,172.09Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M444.63,172.09a8.85,8.85,0,0,0-2.16-4c-4.52-5.67-9.43-11.49-16.16-14.18a22.34,22.34,0,0,0-25.49,7.26c-2.42,3.26-3.86,7.14-5.95,10.63-3.86,6.46-9.83,11.44-16.25,15.38-3.87,2.37-7.95,4.42-11.6,7.11-13.27,9.77-19.4,27.83-16.06,44,1.47,7.08,4.58,14.06,3.74,21.25-.65,5.58-3.62,10.58-6.63,15.32s-6.22,9.54-7.42,15,.06,11.93,4.59,15.24c1.67,1.22,3.68,2,5.11,3.46a16.61,16.61,0,0,1,2.35,3.74,36.77,36.77,0,0,0,22.83,18c4.3,1.13,10.07.72,11.64-3.44a9,9,0,0,1,.81-2.11c1.42-2,4.55-.88,6.75.27a41.79,41.79,0,0,0,16.13,4.63,13.45,13.45,0,0,0,6.61-.79,12.21,12.21,0,0,0,4.45-3.85c5.26-6.85,6.77-15.8,7.67-24.39.59-5.59,1-11.28-.07-16.8-1.7-8.86-7.09-17.14-6.29-26.12.85-9.6,8.64-17.45,9.83-27a20.59,20.59,0,0,0-3.51-14.19,20.29,20.29,0,0,1-2.67-4.18,4.15,4.15,0,0,1,.8-4.59,7,7,0,0,1,2.08-1c6.43-2.47,9.86-8.91,10.32-15.5.18-2.5,0-4.8.69-7.24C441.87,180.23,445.2,176.11,444.63,172.09Z",transform:"translate(-95.23 -66.69)",fill:"#bb7684"}),y.createElement("g",{opacity:.1},y.createElement("path",{d:"M385,324.7a9.43,9.43,0,0,0-.82,2.11c-.93,2.48-3.36,3.62-6.07,3.9,3.77.38,7.8-.53,9.07-3.9a9.43,9.43,0,0,1,.82-2.11,2.5,2.5,0,0,1,1-.85C387.48,323.41,385.92,323.43,385,324.7Z",transform:"translate(-95.23 -66.69)"}),y.createElement("path",{d:"M444.68,172.08a8.63,8.63,0,0,0-2.16-4c-4.52-5.67-9.43-11.49-16.16-14.18a21,21,0,0,0-9.2-1.38,20.42,20.42,0,0,1,6.2,1.38c6.73,2.69,11.64,8.51,16.16,14.18a8.63,8.63,0,0,1,2.16,4c.57,4-2.75,8.15-3.85,11.85-.73,2.44-.52,4.73-.69,7.24-.47,6.58-3.89,13-10.33,15.5a7,7,0,0,0-2.08,1,4.15,4.15,0,0,0-.79,4.6,20.24,20.24,0,0,0,2.66,4.18,20.57,20.57,0,0,1,3.52,14.18c-1.2,9.57-9,17.41-9.84,27-.8,9,4.6,17.26,6.29,26.11,1.06,5.52.66,11.21.07,16.8-.9,8.59-2.4,17.55-7.67,24.39a12.17,12.17,0,0,1-4.44,3.85,9.94,9.94,0,0,1-3.27.81,12.93,12.93,0,0,0,6.27-.81A12.17,12.17,0,0,0,422,325c5.27-6.84,6.77-15.8,7.67-24.39.59-5.59,1-11.28-.07-16.8-1.69-8.85-7.09-17.14-6.29-26.11.86-9.61,8.64-17.45,9.84-27a20.57,20.57,0,0,0-3.52-14.18,20.24,20.24,0,0,1-2.66-4.18,4.15,4.15,0,0,1,.79-4.6,7,7,0,0,1,2.08-1c6.44-2.48,9.86-8.92,10.33-15.5.17-2.51,0-4.8.69-7.24C441.93,180.23,445.25,176.11,444.68,172.08Z",transform:"translate(-95.23 -66.69)"})),y.createElement("path",{d:"M406.82,525a13.51,13.51,0,0,0,13.83,3.82",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M470.9,696a8.49,8.49,0,0,1-6.9,1.74",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("ellipse",{cx:105.15,cy:655.8,rx:26.93,ry:4.55,fill:"#d1061a",opacity:.1}),y.createElement("ellipse",{cx:842.43,cy:746.4,rx:26.93,ry:4.55,fill:"#d1061a"}),y.createElement("ellipse",{cx:842.43,cy:658.82,rx:26.93,ry:4.55,fill:"#d1061a",opacity:.1}),y.createElement("ellipse",{cx:181.51,cy:698.05,rx:26.93,ry:4.55,fill:"#d1061a",opacity:.1}),y.createElement("ellipse",{cx:927.6,cy:698.05,rx:40.21,ry:6.8,fill:"#d1061a"}),y.createElement("ellipse",{cx:349.46,cy:751.28,rx:90.76,ry:15.34,fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M1039.45,753.62a11.73,11.73,0,0,0,3.84-5.79c.49-2.3-.49-5.05-2.68-5.89-2.46-.94-5.09.76-7.08,2.49s-4.28,3.68-6.89,3.32a10.47,10.47,0,0,0,3.24-9.81,4.11,4.11,0,0,0-.9-2c-1.37-1.46-3.84-.83-5.48.32-5.2,3.66-6.65,10.72-6.68,17.08-.52-2.29-.08-4.68-.09-7s-.66-5-2.64-6.23a8.07,8.07,0,0,0-4-1c-2.34-.08-4.94.15-6.54,1.86-2,2.13-1.47,5.69.26,8s4.35,3.8,6.76,5.42a15,15,0,0,1,4.84,4.61,5.08,5.08,0,0,1,.36.82h14.65A40.73,40.73,0,0,0,1039.45,753.62Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M954.29,802.21a11.71,11.71,0,0,0,3.83-5.79c.49-2.3-.48-5-2.68-5.89-2.46-.94-5.09.76-7.08,2.49s-4.28,3.68-6.89,3.32a10.47,10.47,0,0,0,3.24-9.81,4,4,0,0,0-.9-2c-1.36-1.46-3.84-.83-5.47.32-5.2,3.66-6.65,10.72-6.68,17.08-.53-2.29-.09-4.68-.1-7s-.66-5-2.64-6.23a8,8,0,0,0-4-.95c-2.34-.08-4.94.15-6.54,1.86-2,2.13-1.47,5.69.26,8s4.35,3.8,6.77,5.42a15,15,0,0,1,4.83,4.61,5.08,5.08,0,0,1,.36.82h14.65A41,41,0,0,0,954.29,802.21Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M307.24,712s-14.05-47.71,2.64-82.82A75.36,75.36,0,0,0,316,581.88a126.56,126.56,0,0,0-6.69-22.19",transform:"translate(-95.23 -66.69)",fill:"none",stroke:"#535461",strokeMiterlimit:10,strokeWidth:2}),y.createElement("path",{d:"M319.66,537.5c0,5.85-10.59,22.8-10.59,22.8s-10.58-16.95-10.58-22.8a10.59,10.59,0,1,1,21.17,0Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M337.16,569.89c-3.18,4.9-21.28,13.38-21.28,13.38s.33-20,3.51-24.89a10.59,10.59,0,0,1,17.77,11.51Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M336.4,625.23c-5.22,2.64-25.13.82-25.13.82s10.37-17.09,15.59-19.72a10.59,10.59,0,0,1,9.54,18.9Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M326.39,667c-4.7,3.47-24.63,5-24.63,5s7.34-18.6,12-22.08a10.59,10.59,0,0,1,12.59,17Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M293.65,584.41c4.2,4.07,23.73,8.29,23.73,8.29s-4.78-19.41-9-23.48a10.59,10.59,0,0,0-14.75,15.19Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M282.57,633.38c5.22,2.63,25.12.81,25.12.81s-10.37-17.09-15.59-19.72a10.59,10.59,0,0,0-9.53,18.91Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M278.32,682.45c4.7,3.48,24.63,5,24.63,5s-7.34-18.6-12-22.07a10.59,10.59,0,0,0-12.59,17Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M274,709s17.11-3.4,21.68-7.93,25.09-12.45,27.37-6.79,30.8,24.91,11.41,28.31-45.63,4.53-51.33,2.27S274,709,274,709Z",transform:"translate(-95.23 -66.69)",fill:"#a8a8a8"}),y.createElement("path",{d:"M334.49,720.46c-19.39,3.4-45.63,4.53-51.33,2.26-4.35-1.72-7.37-10-8.56-13.87L274,709s3.42,13.59,9.13,15.86,31.94,1.13,51.33-2.27c5.6-1,7.2-3.28,6.6-6.2C340.61,718.26,338.66,719.73,334.49,720.46Z",transform:"translate(-95.23 -66.69)",opacity:.2}),y.createElement("path",{d:"M943.17,659.91s5.5,7.19-2.53,18-14.65,20-12,26.77c0,0,12.12-20.15,22-20.43S954,672,943.17,659.91Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M943.17,659.91a9,9,0,0,1,1.13,2.26c9.62,11.3,14.74,21.85,5.49,22.11-8.61.25-18.94,15.65-21.42,19.54a9.24,9.24,0,0,0,.29.89s12.12-20.15,22-20.43S954,672,943.17,659.91Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M953.39,669.07c0,2.53-.29,4.58-.64,4.58s-.63-2-.63-4.58.35-1.34.7-1.34S953.39,666.54,953.39,669.07Z",transform:"translate(-95.23 -66.69)",fill:"#ffd037"}),y.createElement("path",{d:"M956.89,672.09c-2.22,1.21-4.16,1.94-4.32,1.63s1.49-1.53,3.71-2.74,1.35-.33,1.52,0S959.11,670.88,956.89,672.09Z",transform:"translate(-95.23 -66.69)",fill:"#ffd037"}),y.createElement("path",{d:"M914.16,659.91s-5.5,7.19,2.53,18,14.65,20,12,26.77c0,0-12.11-20.15-22-20.43S903.31,672,914.16,659.91Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M914.16,659.91a9,9,0,0,0-1.13,2.26c-9.62,11.3-14.74,21.85-5.49,22.11,8.61.25,18.94,15.65,21.42,19.54a7.16,7.16,0,0,1-.3.89s-12.11-20.15-22-20.43S903.31,672,914.16,659.91Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M903.94,669.07c0,2.53.29,4.58.64,4.58s.63-2,.63-4.58-.35-1.34-.7-1.34S903.94,666.54,903.94,669.07Z",transform:"translate(-95.23 -66.69)",fill:"#ffd037"}),y.createElement("path",{d:"M900.44,672.09c2.22,1.21,4.15,1.94,4.32,1.63s-1.49-1.53-3.71-2.74-1.35-.33-1.52,0S898.22,670.88,900.44,672.09Z",transform:"translate(-95.23 -66.69)",fill:"#ffd037"}),y.createElement("path",{d:"M905.69,703.77s15.36-.48,20-3.77,23.63-7.23,24.78-2,23.08,26.29,5.74,26.43-40.29-2.7-44.91-5.51S905.69,703.77,905.69,703.77Z",transform:"translate(-95.23 -66.69)",fill:"#a8a8a8"}),y.createElement("path",{d:"M956.51,722.64c-17.34.14-40.29-2.7-44.91-5.51-3.52-2.14-4.93-9.83-5.39-13.38l-.52,0s1,12.39,5.6,15.2,27.57,5.65,44.91,5.51c5,0,6.73-1.82,6.64-4.45C962.14,721.62,960.23,722.61,956.51,722.64Z",transform:"translate(-95.23 -66.69)",opacity:.2})),ON=y.forwardRef(MN),AN=({restart:a})=>{const{controlCode:i}=Pn(n=>n);return W.jsxs("div",{className:"confirmation",children:[W.jsx("h4",{children:ke.t("confirmation.header")}),W.jsx(om,{toasterType:Di.Success,message:ke.t("confirmation.info",{controlCode:i})}),W.jsx("div",{className:"img-container",children:W.jsx(ON,{})}),W.jsx("div",{className:"button-container",children:W.jsx(no,{txt:ke.t("confirmation.restart"),type:Ti.GhostDark,onClick:()=>a()})})]})},CN=()=>{const[a,i]=y.useState(1);if(a===1)return W.jsx(HO,{proceed:()=>i(2)});if(a===2)return W.jsx(xN,{restart:()=>i(1),proceed:()=>i(3)});if(a===3)return W.jsx(AN,{restart:()=>i(1)})},RN=()=>{const{tab:a="verify"}=o8(),[i,n]=y.useState(a),[t,l]=y.useState([]),[s,c]=y.useState(!0),d=cl(),h=Pn(v=>v.user);y.useEffect(()=>{h&&Pn.setState({breadcrumbPath:[{path:"/home",value:ke.t("tabs.home")},{value:ke.t(`tabs.${i}`)}]});const v=[W.jsx(LO,{name:"verify",label:ke.t("tabs.verify"),children:W.jsx(CN,{})},"verify")];l(v),c(!1)},[i,h]);const m=v=>{n(v),d(`/home/${v}`)};return s?W.jsx(lm,{}):W.jsx("div",{className:"home",children:W.jsxs("div",{className:"mod-home-container",children:[W.jsx(kO,{children:W.jsx("h1",{children:ke.t("landing.header.subTitle",{name:h.displayName})})}),W.jsx(NO,{activeTab:i,tabChanged:m,children:t})]})})},NN=()=>{const a=n=>t=>{Z8(t),V8.set("lang",n,{expires:356,secure:document.location.protocol.endsWith("https")}),ke.locale=n,window.location.search=UM(window.location.search,"lang",n)},i=n=>W.jsx("a",{href:"locale",className:`${ke.locale===n?"is-active":"not-active"}`,title:ke.t("footer.select_locale"),onClick:a(n),children:ke.translations[n].code});return W.jsx("nav",{className:"sds--language-switcher sds--text--body--small","aria-label":"Language",children:W.jsxs("ul",{children:[W.jsxs("li",{children:[i("nl"),W.jsx("span",{className:"sds--language-sds--divider",children:"|"})]}),W.jsx("li",{children:i("en")})]})})},kN=()=>W.jsx("footer",{className:"sds--footer sds--footer--single-bar",children:W.jsx("div",{className:"sds--page-container",children:W.jsxs("div",{className:"sds--footer--inner",children:[W.jsx("nav",{className:"menu sds--text--body--small",children:W.jsxs("ul",{children:[W.jsx("li",{children:W.jsx("a",{href:ke.t("footer.termsLink"),target:"_blank",rel:"noopener noreferrer",children:W.jsx("span",{children:ke.t("footer.terms")})})}),W.jsx("li",{children:W.jsx("a",{href:ke.t("footer.privacyLink"),target:"_blank",rel:"noopener noreferrer",children:W.jsx("span",{children:ke.t("footer.privacy")})})})]})}),W.jsx(NN,{}),W.jsx("div",{className:"sds--branding",children:W.jsx("a",{href:ke.t("footer.surfLink"),target:"_blank",rel:"noopener noreferrer",children:W.jsx($9,{label:"",position:J9.Bottom})})})]})})}),LN=({title:a,titleId:i,...n},t)=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:524.67001,height:418.27099,viewBox:"0 0 524.67001 418.27099",xmlnsXlink:"http://www.w3.org/1999/xlink",role:"img",artist:"Katerina Limpitsouni",source:"https://undraw.co/",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("path",{d:"M442.17403,400.47713c2.06599,.12871,3.20692-2.43846,1.64338-3.93389l-.1557-.61814c.0204-.04935,.04089-.09868,.06153-.14794,1.23211-2.94003,4.62545-4.33201,7.57137-3.11404,9.3142,3.85087-.51966,12.69986,.21957,18.68773,.25911,2.06671,8.35473,2.18034,7.89681,4.2086,4.30482-9.41207,6.56835-19.68889,6.56478-30.02306-.0009-2.59653-.14392-5.19297-.43543-7.78281-.23975-2.11845-.56985-4.22389-.9969-6.30999-2.30966-11.27639-7.30614-22.01572-14.51084-30.98461-3.46263-1.89129-1.35074-4.85018-3.09586-8.39544-.62694-1.27868-6.21792-1.30745-6.45092-2.70892,.25019,.03272,3.86434-3.721,2.6705-5.5767-.78555-1.22107-.54106-2.7763,.4681-3.82017,.09887-.1023,.19234-.2103,.27796-.32648,2.98093-4.04443,7.09003-3.33985,9.23695,2.15406,4.58304,2.31107,4.62871,6.14647,1.81834,9.83619-1.78798,2.34745-2.03264,5.52304-3.60129,8.03604,.16157,.20664,.32958,.40684,.49112,.61348,2.96237,3.79686,5.52482,7.87809,7.68524,12.16592-.61182-4.76599,.28705-10.50831,1.8215-14.21023,1.75933-4.24835,5.06953-7.8221,7.96883-11.49665,3.46275-4.38865,10.5104-2.39707,11.12286,3.15951,.00588,.05337,.0116,.10665,.01724,.16003-.42884,.24212-.84895,.49935-1.25929,.77094-2.33882,1.54808-1.52824,5.17442,1.24391,5.60071l.06278,.00965c-.1545,1.54372-5.63258,6.40679-6.01957,7.91187,3.70514,14.30838,.93282,16.19755-10.46624,16.43703l-.59825,.8522c1.08024,3.1058,1.94956,6.2861,2.60235,9.50743,.61462,2.99021,1.042,6.01282,1.28197,9.04845,.29847,3.82994,.27396,7.6795-.04769,11.50325l.01933-.13563c.81879-4.21143,3.1039-8.1457,6.42284-10.87249,4.94421-4.06436,11.93091-5.56281,17.2652-8.83022,2.56778-1.57285,5.85959,.45742,5.41241,3.4352l-.02177,.14262c-.79432,.32315-1.56922,.69808-2.31831,1.11814-.42921,.24237-.84965,.49978-1.26032,.77165-2.33916,1.54848-1.52796,5.1753,1.24498,5.60009l.06281,.00962c.0452,.00645,.08399,.01291,.12913,.0194-1.3617,3.23628-14.33553,7.80147-16.71149,10.39229-2.31031,12.49793-1.17531,12.12596-11.81075,8.49032h-.00647c-1.16085,5.06419-2.8578,10.01225-5.03931,14.72794l-18.0202,.00623c-.06471-.2002-.12288-.40688-.18109-.60712,1.66645,.10285,3.34571,.00534,4.98619-.29875-1.33757-1.64013-2.67509-3.29317-4.01266-4.93324-.0323-.03228-.05819-.06459-.08402-.09686l-.02036-.02517-1.85532-6.10724c.14644-1.35476,.38536-2.69828,.70958-4.02051l.00049-.00037v.00006Z",fill:"#f2f2f2"}),y.createElement("path",{d:"M251.74443,416.41995l-159.45702,.05516c-8.01074,.00277-15.18649-4.13684-19.19426-11.07295-2.00413-3.46855-3.00642-7.27337-3.00774-11.07904-.00132-3.80518,.99882-7.61119,3.00007-11.08063l79.67786-145.04905c4.00346-6.93937,11.17634-11.08346,19.18708-11.08623s15.18649,4.13635,19.19475,11.07295l79.78843,145.01196c1.99876,3.45927,2.99861,7.25971,2.99894,11.06293-.00015,3.80322-.99981,7.60874-3.00154,11.07868-4.00297,6.93889-11.17585,11.08346-19.1866,11.08623h.00002Zm-179.65463-22.09948c-.00026,3.46387,17.5953-4.00023,19.41817-.8451,3.64623,6.31026-6.50934,21.00225,.77874,20.99973,0,0,173.27016-3.828,176.91202-10.14078,1.82069-3.15639,2.73062-6.61911,2.72942-10.08102s-.91353-6.92351-2.73688-10.07864l-79.78845-145.01196c-3.63597-6.2922-10.16364-10.05801-17.45172-10.05549-7.28467,.00252-99.86105,161.74891-99.86132,165.21326h.00002Z",fill:"#3f3d56"}),y.createElement("path",{d:"M253.51521,414.41934c-1.99862,4.00069,91.61376,2.7712,92.72051,2.77082,0,0,26.3119-.58131,26.86492-1.53993,.27648-.47931,.41466-1.00515,.41448-1.53084s-.13873-1.05137-.4156-1.5305l-12.11626-22.02074c-.55215-.9555-1.54341-1.52736-2.65013-1.52698-.04608,.00002-.11394,.04093-.20168,.11933-16.16328,14.44385-36.0828,23.99237-57.75707,24.31469-23.047,.34272-46.73217,.6899-46.85919,.94416h.00002Z",fill:"#3f3d56"}),y.createElement("path",{d:"M0,417.0814c.00023,.66003,.53044,1.18982,1.19047,1.18959l522.28995-.18066c.65997-.00023,1.18982-.53038,1.18959-1.19041-.00023-.65997-.53044-1.18982-1.19041-1.18959l-522.28995,.18066c-.66003,.00023-1.18988,.53044-1.18965,1.19041Z",fill:"#ccc"}),y.createElement("g",null,y.createElement("polygon",{points:"403.87773 411.30541 394.83299 411.30765 390.51828 376.42194 403.86746 376.41823 403.87773 411.30541",fill:"#a0616a"}),y.createElement("path",{d:"M372.88925,411.11096h0c-.28145,.4744-.42951,2.00528-.42932,2.55685h0c.00059,1.6954,1.37542,3.06935,3.07089,3.06876l28.01047-.00969c1.15659-.0004,2.09391-.93832,2.09351-2.09496l-.0004-1.16617s1.38444-3.50542-1.46987-7.82444c0,0-3.54448,3.38386-8.84444-1.91244l-1.56336-2.82981-11.30656,8.27506-6.26838,.77377c-1.3714,.16927-2.58738-.02532-3.29241,1.16307h-.00012Z",fill:"#2f2e41"})),y.createElement("g",null,y.createElement("polygon",{points:"369.19708 381.46752 360.62951 384.36642 345.36911 352.70019 358.01396 348.42131 369.19708 381.46752",fill:"#a0616a"}),y.createElement("path",{d:"M339.77867,391.20807h0c-.11468,.53956,.23535,2.03724,.41217,2.5597h0c.54355,1.60589,2.28601,2.46714,3.89196,1.92358l26.53193-8.98019c1.09554-.3708,1.68312-1.55951,1.31228-2.65512l-.37389-1.10461s.18882-3.76416-3.8984-6.94155c0,0-2.27401,4.34084-8.99107,1.02096l-2.38732-2.18005-8.0607,11.46034-5.69037,2.74062c-1.24494,.59958-2.45919,.80471-2.74651,2.15628l-.00009,.00003Z",fill:"#2f2e41"})),y.createElement("polygon",{points:"355.22599 179.09003 337.68255 237.19081 316.97199 289.45207 349.76053 364.08569 361.91802 358.67731 347.37062 290.11706 377.87822 243.59436 392.11437 388.82623 404.27349 388.14652 420.76309 212.84336 423.11421 174.67566 355.22599 179.09003",fill:"#2f2e41"}),y.createElement("path",{d:"M408.20979,50.38513l-25.66813,4.73752-2.02258,11.48454-15.53439,7.43609-8.07702,84.4428s-13.50433,17.56819-2.69414,22.96862l68.9007-6.77904s3.37327-12.4903-.00473-13.67529-3.38832-31.01955-3.38832-31.01955l15.51573-61.36599-22.97048-8.09829-4.05664-10.13141Z",fill:"#e6e6e6"}),y.createElement("circle",{cx:393.06995,cy:29.43589,r:20.7276,fill:"#a0616a"}),y.createElement("path",{d:"M406.79605,32.51227c-1.65401,.9055-.08471,5.22869-1.11848,5.60245-1.19492,.43202-5.55162-4.52715-5.60554-10.08176-.01633-1.68115,.37051-2.48839-.00155-4.48164-.48668-2.6073-1.98045-5.68253-3.36317-5.60089-.81965,.04839-1.62013,1.20723-1.67986,2.2414-.0837,1.44941,1.32419,2.01989,1.12139,2.80064-.38627,1.4871-6.29829,2.5138-8.40308,.00291-1.65013-1.9685-.38463-5.4247-1.12236-5.60167-.54378-.13045-1.12759,1.77241-3.35988,3.9226-.84103,.8101-2.09186,2.0149-2.80044,1.68159-1.02397-.48167-.28003-3.87624-.56157-3.92125-.23314-.03727-.37947,2.3487-1.67908,4.48223-1.66968,2.74103-5.11398,4.85374-6.72112,3.92377-.98466-.56978-1.06245-2.15606-1.12158-3.36084-.1245-2.53816-3.81308-8.37644-2.85882-11.09166,1.94221-5.5263,5.2701-1.63078,6.7752-3.47504,2.03756-2.49669,3.86572-1.15434,7.28133-3.92396,3.33668-2.70564,3.36577-5.42504,5.60011-5.604,2.01221-.16116,2.7278,1.98528,5.04242,1.67887,1.96079-.25957,2.38749-1.92436,3.92087-1.68198,1.40389,.2219,1.49646,1.68849,3.36201,2.23966,1.19101,.35188,1.45267-.15743,2.80103-.00097,2.80559,.32556,4.69002,2.88083,5.043,3.35949,1.36081,1.84526,.83282,2.62341,2.24236,4.48086,1.21555,1.6018,3.90913,.9216,4.92189,1.72162,3.30928,2.61409,4.73124,7.43497,4.75994,12.92962,.0201,3.8431-.48103,5.78482-1.59913,10.63564-.84901,3.6834-4.78175,8.44334-6.94987,10.5659-.58199,.56975-2.21351,2.167-3.36066,1.68178-1.08704-.45979-1.11995-2.52764-1.12139-2.80064-.0049-.93901,.24521-2.1009,2.23907-5.04263,2.09442-3.09006,2.92645-3.44271,2.79948-4.48262-.22445-1.83818-3.16424-3.52123-4.48263-2.79948h.00012Z",fill:"#2f2e41"}),y.createElement("g",null,y.createElement("path",{d:"M334.49457,225.75979c-.64513,5.40264,1.61895,10.11513,5.05699,10.52567s6.7481-3.63632,7.39324-9.03898c.28242-2.36492,.00723-4.59754-.6797-6.39504l2.44642-22.92684-10.7834-.91891-1.26717,22.69891c-1.09088,1.58522-1.88401,3.69026-2.16639,6.05519h.00003Z",fill:"#a0616a"}),y.createElement("path",{d:"M365.49095,73.49769s-5.58664,.07946-9.28568,7.30383c-1.96565,3.83897-12.48211,75.62767-12.48211,75.62767l-9.68742,58.80847,16.50214,.08313,12.859-55.69302,10.81723-32.30088-8.72315-53.82921Z",fill:"#e6e6e6"})),y.createElement("path",{d:"M411.92961,217.13028c-1.58023,5.20651-.17535,10.24237,3.13786,11.24797s7.28015-2.39987,8.86035-7.60638c.69172-2.27906,.81133-4.5254,.44941-6.41533l6.4191-22.14543-10.45641-2.79098-5.21815,22.12729c-1.35133,1.36996-2.50044,3.30383-3.19216,5.58289v-.00003Z",fill:"#a0616a"}),y.createElement("path",{d:"M423.41564,69.63219s8.10413-6.08248,14.86262,3.37246c6.75846,9.45495,9.48742,87.1388,9.48742,87.1388l-18.89796,47.96845-14.18755-4.72373,13.49008-58.7749-23.65861-44.57614,18.90403-30.40494h-.00003Z",fill:"#e6e6e6"}),y.createElement("g",null,y.createElement("circle",{cx:218.47958,cy:311.43145,r:73,fill:"#83201B"}),y.createElement("g",null,y.createElement("circle",{cx:218.49274,cy:349.47878,r:6.70264,fill:"#fff"}),y.createElement("path",{d:"M218.4641,266.68145c-.6157,4.0912,.48747,4.94727,.49357,22.58508,.0061,17.63782,3.66579,41.28574-.47148,41.28717s-5.65047-48.80276-20.01681-53.12218c-16.89088-5.07846,21.98785-23.99409,19.99471-10.75007Z",fill:"#fff"}))),y.createElement("path",{d:"M120.50313,348.70219l-6.59532,13.93527c7.97328-5.71745,20.42715-10.64598,30.3376-13.28567-9.23403-4.46037-20.53313-11.65189-27.2835-18.77194l3.7934,14.72434c-44.47393-9.0585-76.41138-43.17661-76.4249-82.25924l-1.60648-.5527c.01412,40.82281,31.50971,76.96121,77.7792,86.20995Z",fill:"#3f3d56"})),qN=y.forwardRef(LN),N9=()=>{const a=cl(),i=()=>{W8().then(()=>{Pn.setState(()=>({breadcrumbPath:[],user:{},controlCode:{}})),a("/login"),setTimeout(()=>Pn.setState(()=>({user:null,breadcrumbPath:[]})),125)})};return W.jsx("div",{className:"forbidden-container",children:W.jsxs("div",{className:"forbidden",children:[W.jsx("p",{children:ke.t("forbidden.info")}),W.jsx(qN,{}),W.jsx("div",{className:"actions",children:W.jsx(no,{txt:ke.t("forbidden.logout"),onClick:()=>i()})})]})})},UN=()=>{const[a,i]=y.useState(!0),[n,t]=y.useState(!1),l=cl();return y.useEffect(()=>{if(window.location.pathname.endsWith("/login")){i(!1);return}ZM().then(s=>{Pn.setState(()=>({user:s})),i(!1),s.serviceDeskMember?(t(!0),l("/home")):l("/forbidden")}).catch(()=>{i(!1),l("/login")})},[]),a?W.jsx(lm,{}):W.jsxs("div",{className:"service-desk",children:[W.jsxs("div",{className:"container",children:[W.jsx(KM,{}),W.jsx($M,{}),n&&W.jsxs(P2,{children:[W.jsx(hr,{path:"/",element:W.jsx(X4,{replace:!0,to:"home"})}),W.jsx(hr,{path:"/home/:tab?",element:W.jsx(RN,{})}),W.jsx(hr,{path:"/refresh-route/:path",element:W.jsx(tO,{})}),W.jsx(hr,{path:"/forbidden",element:W.jsx(N9,{})}),W.jsx(hr,{path:"/login",element:W.jsx(J7,{})}),W.jsx(hr,{path:"*",element:W.jsx(Jp,{})})]}),!n&&W.jsxs(P2,{children:[W.jsx(hr,{path:"/login",element:W.jsx(J7,{})}),W.jsx(hr,{path:"/",element:W.jsx(X4,{replace:!0,to:"forbidden"})}),W.jsx(hr,{path:"/forbidden",element:W.jsx(N9,{})}),W.jsx(hr,{path:"/404",element:W.jsx(Jp,{})}),W.jsx(hr,{path:"/*",element:W.jsx(Jp,{})})]})]}),W.jsx(kN,{})]})},HN=qS.createRoot(document.getElementById("root"));HN.render(W.jsx(y.StrictMode,{children:W.jsx(nD,{children:W.jsx(P2,{children:W.jsx(hr,{path:"/*",element:W.jsx(UN,{})})})})}));
