var Xw=Object.defineProperty;var $w=(r,i,n)=>i in r?Xw(r,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[i]=n;var _e=(r,i,n)=>$w(r,typeof i!="symbol"?i+"":i,n);function Jw(r,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 r)){const s=Object.getOwnPropertyDescriptor(t,l);s&&Object.defineProperty(r,l,s.get?s:{enumerable:!0,get:()=>t[l]})}}}return Object.freeze(Object.defineProperty(r,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 dc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fr(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var y1={exports:{}},xs={};/**
 * @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 v6;function eE(){if(v6)return xs;v6=1;var r=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:r,type:t,key:c,ref:l!==void 0?l:null,props:s}}return xs.Fragment=i,xs.jsx=n,xs.jsxs=n,xs}var g6;function tE(){return g6||(g6=1,y1.exports=eE()),y1.exports}var K=tE(),b1={exports:{}},Os={},_1={exports:{}},w1={};/**
 * @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 y6;function nE(){return y6||(y6=1,function(r){function i(M,P){var L=M.length;M.push(P);e:for(;0<L;){var J=L-1>>>1,R=M[J];if(0<l(R,P))M[J]=P,M[L]=R,L=J;else break e}}function n(M){return M.length===0?null:M[0]}function t(M){if(M.length===0)return null;var P=M[0],L=M.pop();if(L!==P){M[0]=L;e:for(var J=0,R=M.length,I=R>>>1;J<I;){var ce=2*(J+1)-1,se=M[ce],de=ce+1,fe=M[de];if(0>l(se,L))de<R&&0>l(fe,se)?(M[J]=fe,M[de]=L,J=de):(M[J]=se,M[ce]=L,J=ce);else if(de<R&&0>l(fe,L))M[J]=fe,M[de]=L,J=de;else break e}}return P}function l(M,P){var L=M.sortIndex-P.sortIndex;return L!==0?L:M.id-P.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;r.unstable_now=function(){return s.now()}}else{var c=Date,d=c.now();r.unstable_now=function(){return c.now()-d}}var h=[],m=[],v=1,g=null,b=3,S=!1,x=!1,A=!1,C=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;function j(M){for(var P=n(m);P!==null;){if(P.callback===null)t(m);else if(P.startTime<=M)t(m),P.sortIndex=P.expirationTime,i(h,P);else break;P=n(m)}}function Q(M){if(A=!1,j(M),!x)if(n(h)!==null)x=!0,B();else{var P=n(m);P!==null&&U(Q,P.startTime-M)}}var $=!1,ne=-1,F=5,w=-1;function E(){return!(r.unstable_now()-w<F)}function D(){if($){var M=r.unstable_now();w=M;var P=!0;try{e:{x=!1,A&&(A=!1,N(ne),ne=-1),S=!0;var L=b;try{t:{for(j(M),g=n(h);g!==null&&!(g.expirationTime>M&&E());){var J=g.callback;if(typeof J=="function"){g.callback=null,b=g.priorityLevel;var R=J(g.expirationTime<=M);if(M=r.unstable_now(),typeof R=="function"){g.callback=R,j(M),P=!0;break t}g===n(h)&&t(h),j(M)}else t(h);g=n(h)}if(g!==null)P=!0;else{var I=n(m);I!==null&&U(Q,I.startTime-M),P=!1}}break e}finally{g=null,b=L,S=!1}P=void 0}}finally{P?k():$=!1}}}var k;if(typeof O=="function")k=function(){O(D)};else if(typeof MessageChannel<"u"){var q=new MessageChannel,z=q.port2;q.port1.onmessage=D,k=function(){z.postMessage(null)}}else k=function(){C(D,0)};function B(){$||($=!0,k())}function U(M,P){ne=C(function(){M(r.unstable_now())},P)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(M){M.callback=null},r.unstable_continueExecution=function(){x||S||(x=!0,B())},r.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<M?Math.floor(1e3/M):5},r.unstable_getCurrentPriorityLevel=function(){return b},r.unstable_getFirstCallbackNode=function(){return n(h)},r.unstable_next=function(M){switch(b){case 1:case 2:case 3:var P=3;break;default:P=b}var L=b;b=P;try{return M()}finally{b=L}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(M,P){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var L=b;b=M;try{return P()}finally{b=L}},r.unstable_scheduleCallback=function(M,P,L){var J=r.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?J+L:J):L=J,M){case 1:var R=-1;break;case 2:R=250;break;case 5:R=1073741823;break;case 4:R=1e4;break;default:R=5e3}return R=L+R,M={id:v++,callback:P,priorityLevel:M,startTime:L,expirationTime:R,sortIndex:-1},L>J?(M.sortIndex=L,i(m,M),n(h)===null&&M===n(m)&&(A?(N(ne),ne=-1):A=!0,U(Q,L-J))):(M.sortIndex=R,i(h,M),x||S||(x=!0,B())),M},r.unstable_shouldYield=E,r.unstable_wrapCallback=function(M){var P=b;return function(){var L=b;b=P;try{return M.apply(this,arguments)}finally{b=L}}}}(w1)),w1}var b6;function rE(){return b6||(b6=1,_1.exports=nE()),_1.exports}var E1={exports:{}},Ge={};/**
 * @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 _6;function aE(){if(_6)return Ge;_6=1;var r=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 b(R){return R===null||typeof R!="object"?null:(R=g&&R[g]||R["@@iterator"],typeof R=="function"?R:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,A={};function C(R,I,ce){this.props=R,this.context=I,this.refs=A,this.updater=ce||S}C.prototype.isReactComponent={},C.prototype.setState=function(R,I){if(typeof R!="object"&&typeof R!="function"&&R!=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,R,I,"setState")},C.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function N(){}N.prototype=C.prototype;function O(R,I,ce){this.props=R,this.context=I,this.refs=A,this.updater=ce||S}var j=O.prototype=new N;j.constructor=O,x(j,C.prototype),j.isPureReactComponent=!0;var Q=Array.isArray,$={H:null,A:null,T:null,S:null},ne=Object.prototype.hasOwnProperty;function F(R,I,ce,se,de,fe){return ce=fe.ref,{$$typeof:r,type:R,key:I,ref:ce!==void 0?ce:null,props:fe}}function w(R,I){return F(R.type,I,void 0,void 0,void 0,R.props)}function E(R){return typeof R=="object"&&R!==null&&R.$$typeof===r}function D(R){var I={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(ce){return I[ce]})}var k=/\/+/g;function q(R,I){return typeof R=="object"&&R!==null&&R.key!=null?D(""+R.key):I.toString(36)}function z(){}function B(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then(z,z):(R.status="pending",R.then(function(I){R.status==="pending"&&(R.status="fulfilled",R.value=I)},function(I){R.status==="pending"&&(R.status="rejected",R.reason=I)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function U(R,I,ce,se,de){var fe=typeof R;(fe==="undefined"||fe==="boolean")&&(R=null);var pe=!1;if(R===null)pe=!0;else switch(fe){case"bigint":case"string":case"number":pe=!0;break;case"object":switch(R.$$typeof){case r:case i:pe=!0;break;case v:return pe=R._init,U(pe(R._payload),I,ce,se,de)}}if(pe)return de=de(R),pe=se===""?"."+q(R,0):se,Q(de)?(ce="",pe!=null&&(ce=pe.replace(k,"$&/")+"/"),U(de,I,ce,"",function(Je){return Je})):de!=null&&(E(de)&&(de=w(de,ce+(de.key==null||R&&R.key===de.key?"":(""+de.key).replace(k,"$&/")+"/")+pe)),I.push(de)),1;pe=0;var Ye=se===""?".":se+":";if(Q(R))for(var Oe=0;Oe<R.length;Oe++)se=R[Oe],fe=Ye+q(se,Oe),pe+=U(se,I,ce,fe,de);else if(Oe=b(R),typeof Oe=="function")for(R=Oe.call(R),Oe=0;!(se=R.next()).done;)se=se.value,fe=Ye+q(se,Oe++),pe+=U(se,I,ce,fe,de);else if(fe==="object"){if(typeof R.then=="function")return U(B(R),I,ce,se,de);throw I=String(R),Error("Objects are not valid as a React child (found: "+(I==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.")}return pe}function M(R,I,ce){if(R==null)return R;var se=[],de=0;return U(R,se,"","",function(fe){return I.call(ce,fe,de++)}),se}function P(R){if(R._status===-1){var I=R._result;I=I(),I.then(function(ce){(R._status===0||R._status===-1)&&(R._status=1,R._result=ce)},function(ce){(R._status===0||R._status===-1)&&(R._status=2,R._result=ce)}),R._status===-1&&(R._status=0,R._result=I)}if(R._status===1)return R._result.default;throw R._result}var L=typeof reportError=="function"?reportError:function(R){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var I=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R),error:R});if(!window.dispatchEvent(I))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",R);return}console.error(R)};function J(){}return Ge.Children={map:M,forEach:function(R,I,ce){M(R,function(){I.apply(this,arguments)},ce)},count:function(R){var I=0;return M(R,function(){I++}),I},toArray:function(R){return M(R,function(I){return I})||[]},only:function(R){if(!E(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},Ge.Component=C,Ge.Fragment=n,Ge.Profiler=l,Ge.PureComponent=O,Ge.StrictMode=t,Ge.Suspense=h,Ge.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,Ge.act=function(){throw Error("act(...) is not supported in production builds of React.")},Ge.cache=function(R){return function(){return R.apply(null,arguments)}},Ge.cloneElement=function(R,I,ce){if(R==null)throw Error("The argument must be a React element, but you passed "+R+".");var se=x({},R.props),de=R.key,fe=void 0;if(I!=null)for(pe in I.ref!==void 0&&(fe=void 0),I.key!==void 0&&(de=""+I.key),I)!ne.call(I,pe)||pe==="key"||pe==="__self"||pe==="__source"||pe==="ref"&&I.ref===void 0||(se[pe]=I[pe]);var pe=arguments.length-2;if(pe===1)se.children=ce;else if(1<pe){for(var Ye=Array(pe),Oe=0;Oe<pe;Oe++)Ye[Oe]=arguments[Oe+2];se.children=Ye}return F(R.type,de,void 0,void 0,fe,se)},Ge.createContext=function(R){return R={$$typeof:c,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:s,_context:R},R},Ge.createElement=function(R,I,ce){var se,de={},fe=null;if(I!=null)for(se in I.key!==void 0&&(fe=""+I.key),I)ne.call(I,se)&&se!=="key"&&se!=="__self"&&se!=="__source"&&(de[se]=I[se]);var pe=arguments.length-2;if(pe===1)de.children=ce;else if(1<pe){for(var Ye=Array(pe),Oe=0;Oe<pe;Oe++)Ye[Oe]=arguments[Oe+2];de.children=Ye}if(R&&R.defaultProps)for(se in pe=R.defaultProps,pe)de[se]===void 0&&(de[se]=pe[se]);return F(R,fe,void 0,void 0,null,de)},Ge.createRef=function(){return{current:null}},Ge.forwardRef=function(R){return{$$typeof:d,render:R}},Ge.isValidElement=E,Ge.lazy=function(R){return{$$typeof:v,_payload:{_status:-1,_result:R},_init:P}},Ge.memo=function(R,I){return{$$typeof:m,type:R,compare:I===void 0?null:I}},Ge.startTransition=function(R){var I=$.T,ce={};$.T=ce;try{var se=R(),de=$.S;de!==null&&de(ce,se),typeof se=="object"&&se!==null&&typeof se.then=="function"&&se.then(J,L)}catch(fe){L(fe)}finally{$.T=I}},Ge.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},Ge.use=function(R){return $.H.use(R)},Ge.useActionState=function(R,I,ce){return $.H.useActionState(R,I,ce)},Ge.useCallback=function(R,I){return $.H.useCallback(R,I)},Ge.useContext=function(R){return $.H.useContext(R)},Ge.useDebugValue=function(){},Ge.useDeferredValue=function(R,I){return $.H.useDeferredValue(R,I)},Ge.useEffect=function(R,I){return $.H.useEffect(R,I)},Ge.useId=function(){return $.H.useId()},Ge.useImperativeHandle=function(R,I,ce){return $.H.useImperativeHandle(R,I,ce)},Ge.useInsertionEffect=function(R,I){return $.H.useInsertionEffect(R,I)},Ge.useLayoutEffect=function(R,I){return $.H.useLayoutEffect(R,I)},Ge.useMemo=function(R,I){return $.H.useMemo(R,I)},Ge.useOptimistic=function(R,I){return $.H.useOptimistic(R,I)},Ge.useReducer=function(R,I,ce){return $.H.useReducer(R,I,ce)},Ge.useRef=function(R){return $.H.useRef(R)},Ge.useState=function(R){return $.H.useState(R)},Ge.useSyncExternalStore=function(R,I,ce){return $.H.useSyncExternalStore(R,I,ce)},Ge.useTransition=function(){return $.H.useTransition()},Ge.version="19.0.0",Ge}var w6;function m2(){return w6||(w6=1,E1.exports=aE()),E1.exports}var S1={exports:{}},qn={};/**
 * @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 E6;function iE(){if(E6)return qn;E6=1;var r=m2();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=r.__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 qn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=t,qn.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)},qn.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()}},qn.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))},qn.prefetchDNS=function(h){typeof h=="string"&&t.d.D(h)},qn.preinit=function(h,m){if(typeof h=="string"&&m&&typeof m.as=="string"){var v=m.as,g=d(v,m.crossOrigin),b=typeof m.integrity=="string"?m.integrity:void 0,S=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:b,fetchPriority:S}):v==="script"&&t.d.X(h,{crossOrigin:g,integrity:b,fetchPriority:S,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},qn.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)},qn.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})}},qn.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)},qn.requestFormReset=function(h){t.d.r(h)},qn.unstable_batchedUpdates=function(h,m){return h(m)},qn.useFormState=function(h,m,v){return c.H.useFormState(h,m,v)},qn.useFormStatus=function(){return c.H.useHostTransitionStatus()},qn.version="19.0.0",qn}var S6;function Zb(){if(S6)return S1.exports;S6=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}return r(),S1.exports=iE(),S1.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 D6;function lE(){if(D6)return Os;D6=1;var r=rE(),i=m2(),n=Zb();function t(e){var a="https://react.dev/errors/"+e;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)a+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+a+" 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)}var s=Symbol.for("react.element"),c=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),b=Symbol.for("react.consumer"),S=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),j=Symbol.for("react.offscreen"),Q=Symbol.for("react.memo_cache_sentinel"),$=Symbol.iterator;function ne(e){return e===null||typeof e!="object"?null:(e=$&&e[$]||e["@@iterator"],typeof e=="function"?e:null)}var F=Symbol.for("react.client.reference");function w(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===F?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case h:return"Fragment";case d:return"Portal";case v:return"Profiler";case m:return"StrictMode";case A:return"Suspense";case C:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case S:return(e.displayName||"Context")+".Provider";case b:return(e._context.displayName||"Context")+".Consumer";case x:var a=e.render;return e=e.displayName,e||(e=a.displayName||a.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case N:return a=e.displayName||null,a!==null?a:w(e.type)||"Memo";case O:a=e._payload,e=e._init;try{return w(e(a))}catch{}}return null}var E=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=Object.assign,k,q;function z(e){if(k===void 0)try{throw Error()}catch(o){var a=o.stack.trim().match(/\n( *(at )?)/);k=a&&a[1]||"",q=-1<o.stack.indexOf(`
    at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
`+k+e+q}var B=!1;function U(e,a){if(!e||B)return"";B=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(a){var oe=function(){throw Error()};if(Object.defineProperty(oe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(oe,[])}catch(re){var te=re}Reflect.construct(e,[],oe)}else{try{oe.call()}catch(re){te=re}e.call(oe.prototype)}}else{try{throw Error()}catch(re){te=re}(oe=e())&&typeof oe.catch=="function"&&oe.catch(function(){})}}catch(re){if(re&&te&&typeof re.stack=="string")return[re.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(),_=p[0],T=p[1];if(_&&T){var H=_.split(`
`),Z=T.split(`
`);for(f=u=0;u<H.length&&!H[u].includes("DetermineComponentFrameRoot");)u++;for(;f<Z.length&&!Z[f].includes("DetermineComponentFrameRoot");)f++;if(u===H.length||f===Z.length)for(u=H.length-1,f=Z.length-1;1<=u&&0<=f&&H[u]!==Z[f];)f--;for(;1<=u&&0<=f;u--,f--)if(H[u]!==Z[f]){if(u!==1||f!==1)do if(u--,f--,0>f||H[u]!==Z[f]){var ae=`
`+H[u].replace(" at new "," at ");return e.displayName&&ae.includes("<anonymous>")&&(ae=ae.replace("<anonymous>",e.displayName)),ae}while(1<=u&&0<=f);break}}}finally{B=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?z(o):""}function M(e){switch(e.tag){case 26:case 27:case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 15:return e=U(e.type,!1),e;case 11:return e=U(e.type.render,!1),e;case 1:return e=U(e.type,!0),e;default:return""}}function P(e){try{var a="";do a+=M(e),e=e.return;while(e);return a}catch(o){return`
Error generating stack: `+o.message+`
`+o.stack}}function L(e){var a=e,o=e;if(e.alternate)for(;a.return;)a=a.return;else{e=a;do a=e,a.flags&4098&&(o=a.return),e=a.return;while(e)}return a.tag===3?o:null}function J(e){if(e.tag===13){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function R(e){if(L(e)!==e)throw Error(t(188))}function I(e){var a=e.alternate;if(!a){if(a=L(e),a===null)throw Error(t(188));return a!==e?null:e}for(var o=e,u=a;;){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 R(f),e;if(p===u)return R(f),a;p=p.sibling}throw Error(t(188))}if(o.return!==u.return)o=f,u=p;else{for(var _=!1,T=f.child;T;){if(T===o){_=!0,o=f,u=p;break}if(T===u){_=!0,u=f,o=p;break}T=T.sibling}if(!_){for(T=p.child;T;){if(T===o){_=!0,o=p,u=f;break}if(T===u){_=!0,u=p,o=f;break}T=T.sibling}if(!_)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:a}function ce(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e;for(e=e.child;e!==null;){if(a=ce(e),a!==null)return a;e=e.sibling}return null}var se=Array.isArray,de=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fe={pending:!1,data:null,method:null,action:null},pe=[],Ye=-1;function Oe(e){return{current:e}}function Je(e){0>Ye||(e.current=pe[Ye],pe[Ye]=null,Ye--)}function ze(e,a){Ye++,pe[Ye]=e.current,e.current=a}var rt=Oe(null),Mt=Oe(null),et=Oe(null),Qe=Oe(null);function He(e,a){switch(ze(et,a),ze(Mt,e),ze(rt,null),e=a.nodeType,e){case 9:case 11:a=(a=a.documentElement)&&(a=a.namespaceURI)?G3(a):0;break;default:if(e=e===8?a.parentNode:a,a=e.tagName,e=e.namespaceURI)e=G3(e),a=W3(e,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}Je(rt),ze(rt,a)}function xn(){Je(rt),Je(Mt),Je(et)}function Vt(e){e.memoizedState!==null&&ze(Qe,e);var a=rt.current,o=W3(a,e.type);a!==o&&(ze(Mt,e),ze(rt,o))}function Jt(e){Mt.current===e&&(Je(rt),Je(Mt)),Qe.current===e&&(Je(Qe),ws._currentValue=fe)}var ot=Object.prototype.hasOwnProperty,qe=r.unstable_scheduleCallback,ge=r.unstable_cancelCallback,Fe=r.unstable_shouldYield,Ue=r.unstable_requestPaint,Ke=r.unstable_now,Nt=r.unstable_getCurrentPriorityLevel,kt=r.unstable_ImmediatePriority,Un=r.unstable_UserBlockingPriority,pn=r.unstable_NormalPriority,On=r.unstable_LowPriority,Zn=r.unstable_IdlePriority,Jn=r.log,Qn=r.unstable_setDisableYieldValue,St=null,Re=null;function Pn(e){if(Re&&typeof Re.onCommitFiberRoot=="function")try{Re.onCommitFiberRoot(St,e,void 0,(e.current.flags&128)===128)}catch{}}function en(e){if(typeof Jn=="function"&&Qn(e),Re&&typeof Re.setStrictMode=="function")try{Re.setStrictMode(St,e)}catch{}}var At=Math.clz32?Math.clz32:vt,Rr=Math.log,mn=Math.LN2;function vt(e){return e>>>=0,e===0?32:31-(Rr(e)/mn|0)|0}var sn=128,tn=4194304;function kn(e){var a=e&42;if(a!==0)return a;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: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&4194176;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 Dt(e,a){var o=e.pendingLanes;if(o===0)return 0;var u=0,f=e.suspendedLanes,p=e.pingedLanes,_=e.warmLanes;e=e.finishedLanes!==0;var T=o&134217727;return T!==0?(o=T&~f,o!==0?u=kn(o):(p&=T,p!==0?u=kn(p):e||(_=T&~_,_!==0&&(u=kn(_))))):(T=o&~f,T!==0?u=kn(T):p!==0?u=kn(p):e||(_=o&~_,_!==0&&(u=kn(_)))),u===0?0:a!==0&&a!==u&&!(a&f)&&(f=u&-u,_=a&-a,f>=_||f===32&&(_&4194176)!==0)?a:u}function Ve(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function De(e,a){switch(e){case 1:case 2:case 4:case 8:return a+250;case 16:case 32:case 64: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 a+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 Ce(){var e=sn;return sn<<=1,!(sn&4194176)&&(sn=128),e}function Ht(){var e=tn;return tn<<=1,!(tn&62914560)&&(tn=4194304),e}function un(e){for(var a=[],o=0;31>o;o++)a.push(e);return a}function he(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ae(e,a,o,u,f,p){var _=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 T=e.entanglements,H=e.expirationTimes,Z=e.hiddenUpdates;for(o=_&~o;0<o;){var ae=31-At(o),oe=1<<ae;T[ae]=0,H[ae]=-1;var te=Z[ae];if(te!==null)for(Z[ae]=null,ae=0;ae<te.length;ae++){var re=te[ae];re!==null&&(re.lane&=-536870913)}o&=~oe}u!==0&&Ne(e,u,0),p!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=p&~(_&~a))}function Ne(e,a,o){e.pendingLanes|=a,e.suspendedLanes&=~a;var u=31-At(a);e.entangledLanes|=a,e.entanglements[u]=e.entanglements[u]|1073741824|o&4194218}function at(e,a){var o=e.entangledLanes|=a;for(e=e.entanglements;o;){var u=31-At(o),f=1<<u;f&a|e[u]&a&&(e[u]|=a),o&=~f}}function Tt(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function vn(){var e=de.p;return e!==0?e:(e=window.event,e===void 0?32:c6(e.type))}function gn(e,a){var o=de.p;try{return de.p=e,a()}finally{de.p=o}}var Pe=Math.random().toString(36).slice(2),it="__reactFiber$"+Pe,we="__reactProps$"+Pe,yn="__reactContainer$"+Pe,mt="__reactEvents$"+Pe,er="__reactListeners$"+Pe,Nr="__reactHandles$"+Pe,ia="__reactResources$"+Pe,Ee="__reactMarker$"+Pe;function Y(e){delete e[it],delete e[we],delete e[mt],delete e[er],delete e[Nr]}function le(e){var a=e[it];if(a)return a;for(var o=e.parentNode;o;){if(a=o[yn]||o[it]){if(o=a.alternate,a.child!==null||o!==null&&o.child!==null)for(e=Q3(e);e!==null;){if(o=e[it])return o;e=Q3(e)}return a}e=o,o=e.parentNode}return null}function me(e){if(e=e[it]||e[yn]){var a=e.tag;if(a===5||a===6||a===13||a===26||a===27||a===3)return e}return null}function We(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e.stateNode;throw Error(t(33))}function ct(e){var a=e[ia];return a||(a=e[ia]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function je(e){e[Ee]=!0}var Zt=new Set,nn={};function bn(e,a){xt(e,a),xt(e+"Capture",a)}function xt(e,a){for(nn[e]=a,e=0;e<a.length;e++)Zt.add(a[e])}var zn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),qi=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]*$"),cu={},Tl={};function Hi(e){return ot.call(Tl,e)?!0:ot.call(cu,e)?!1:qi.test(e)?Tl[e]=!0:(cu[e]=!0,!1)}function kr(e,a,o){if(Hi(a))if(o===null)e.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":e.removeAttribute(a);return;case"boolean":var u=a.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(a);return}}e.setAttribute(a,""+o)}}function Lr(e,a,o){if(o===null)e.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttribute(a,""+o)}}function dr(e,a,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(a,o,""+u)}}function Yn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ko(e){var a=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function Lo(e){var a=ko(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,a),u=""+e[a];if(!e.hasOwnProperty(a)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var f=o.get,p=o.set;return Object.defineProperty(e,a,{configurable:!0,get:function(){return f.call(this)},set:function(_){u=""+_,p.call(this,_)}}),Object.defineProperty(e,a,{enumerable:o.enumerable}),{getValue:function(){return u},setValue:function(_){u=""+_},stopTracking:function(){e._valueTracker=null,delete e[a]}}}}function Ui(e){e._valueTracker||(e._valueTracker=Lo(e))}function Pi(e){if(!e)return!1;var a=e._valueTracker;if(!a)return!0;var o=a.getValue(),u="";return e&&(u=ko(e)?e.checked?"true":"false":e.value),e=u,e!==o?(a.setValue(e),!0):!1}function Oa(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 qr=/[\n"\\]/g;function cn(e){return e.replace(qr,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function zi(e,a,o,u,f,p,_,T){e.name="",_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?e.type=_:e.removeAttribute("type"),a!=null?_==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+Yn(a)):e.value!==""+Yn(a)&&(e.value=""+Yn(a)):_!=="submit"&&_!=="reset"||e.removeAttribute("value"),a!=null?qo(e,_,Yn(a)):o!=null?qo(e,_,Yn(o)):u!=null&&e.removeAttribute("value"),f==null&&p!=null&&(e.defaultChecked=!!p),f!=null&&(e.checked=f&&typeof f!="function"&&typeof f!="symbol"),T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?e.name=""+Yn(T):e.removeAttribute("name")}function xl(e,a,o,u,f,p,_,T){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.type=p),a!=null||o!=null){if(!(p!=="submit"&&p!=="reset"||a!=null))return;o=o!=null?""+Yn(o):"",a=a!=null?""+Yn(a):o,T||a===e.value||(e.value=a),e.defaultValue=a}u=u??f,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=T?e.checked:!!u,e.defaultChecked=!!u,_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"&&(e.name=_)}function qo(e,a,o){a==="number"&&Oa(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function Hr(e,a,o,u){if(e=e.options,a){a={};for(var f=0;f<o.length;f++)a["$"+o[f]]=!0;for(o=0;o<e.length;o++)f=a.hasOwnProperty("$"+e[o].value),e[o].selected!==f&&(e[o].selected=f),f&&u&&(e[o].defaultSelected=!0)}else{for(o=""+Yn(o),a=null,f=0;f<e.length;f++){if(e[f].value===o){e[f].selected=!0,u&&(e[f].defaultSelected=!0);return}a!==null||e[f].disabled||(a=e[f])}a!==null&&(a.selected=!0)}}function Yi(e,a,o){if(a!=null&&(a=""+Yn(a),a!==e.value&&(e.value=a),o==null)){e.defaultValue!==a&&(e.defaultValue=a);return}e.defaultValue=o!=null?""+Yn(o):""}function fu(e,a,o,u){if(a==null){if(u!=null){if(o!=null)throw Error(t(92));if(se(u)){if(1<u.length)throw Error(t(93));u=u[0]}o=u}o==null&&(o=""),a=o}o=Yn(a),e.defaultValue=o,u=e.textContent,u===o&&u!==""&&u!==null&&(e.value=u)}function hr(e,a){if(a){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=a;return}}e.textContent=a}var Df=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 du(e,a,o){var u=a.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?u?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="":u?e.setProperty(a,o):typeof o!="number"||o===0||Df.has(a)?a==="float"?e.cssFloat=o:e[a]=(""+o).trim():e[a]=o+"px"}function Qt(e,a,o){if(a!=null&&typeof a!="object")throw Error(t(62));if(e=e.style,o!=null){for(var u in o)!o.hasOwnProperty(u)||a!=null&&a.hasOwnProperty(u)||(u.indexOf("--")===0?e.setProperty(u,""):u==="float"?e.cssFloat="":e[u]="");for(var f in a)u=a[f],a.hasOwnProperty(f)&&o[f]!==u&&du(e,f,u)}else for(var p in a)a.hasOwnProperty(p)&&du(e,p,a[p])}function la(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 Tf=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"]]),hu=/^[\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 ei(e){return hu.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Ol=null;function Ml(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ti=null,Mn=null;function ji(e){var a=me(e);if(a&&(e=a.stateNode)){var o=e[we]||null;e:switch(e=a.stateNode,a.type){case"input":if(zi(e,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),a=o.name,o.type==="radio"&&a!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+cn(""+a)+'"][type="radio"]'),a=0;a<o.length;a++){var u=o[a];if(u!==e&&u.form===e.form){var f=u[we]||null;if(!f)throw Error(t(90));zi(u,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(a=0;a<o.length;a++)u=o[a],u.form===e.form&&Pi(u)}break e;case"textarea":Yi(e,o.value,o.defaultValue);break e;case"select":a=o.value,a!=null&&Hr(e,!!o.multiple,a,!1)}}}var Al=!1;function Ho(e,a,o){if(Al)return e(a,o);Al=!0;try{var u=e(a);return u}finally{if(Al=!1,(ti!==null||Mn!==null)&&(Wu(),ti&&(a=ti,e=Mn,Mn=ti=null,ji(a),e)))for(a=0;a<e.length;a++)ji(e[a])}}function Ma(e,a){var o=e.stateNode;if(o===null)return null;var u=o[we]||null;if(u===null)return null;o=u[a];e:switch(a){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,a,typeof o));return o}var Cl=!1;if(zn)try{var jn={};Object.defineProperty(jn,"passive",{get:function(){Cl=!0}}),window.addEventListener("test",jn,jn),window.removeEventListener("test",jn,jn)}catch{Cl=!1}var Ur=null,Rl=null,Bi=null;function Uo(){if(Bi)return Bi;var e,a=Rl,o=a.length,u,f="value"in Ur?Ur.value:Ur.textContent,p=f.length;for(e=0;e<o&&a[e]===f[e];e++);var _=o-e;for(u=1;u<=_&&a[o-u]===f[p-u];u++);return Bi=f.slice(e,1<u?1-u:void 0)}function Nl(e){var a=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&a===13&&(e=13)):e=a,e===10&&(e=13),32<=e||e===13?e:0}function xe(){return!0}function V(){return!1}function ue(e){function a(o,u,f,p,_){this._reactName=o,this._targetInst=f,this.type=u,this.nativeEvent=p,this.target=_,this.currentTarget=null;for(var T in e)e.hasOwnProperty(T)&&(o=e[T],this[T]=o?o(p):p[T]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?xe:V,this.isPropagationStopped=V,this}return D(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=xe)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=xe)},persist:function(){},isPersistent:xe}),a}var be={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},gt=ue(be),jt=D({},be,{view:0,detail:0}),fn=ue(jt),_n,Kn,Pr,rn=D({},jt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Of,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!==Pr&&(Pr&&e.type==="mousemove"?(_n=e.screenX-Pr.screenX,Kn=e.screenY-Pr.screenY):Kn=_n=0,Pr=e),_n)},movementY:function(e){return"movementY"in e?e.movementY:Kn}}),Po=ue(rn),pu=D({},rn,{dataTransfer:0}),J9=ue(pu),e_=D({},jt,{relatedTarget:0}),xf=ue(e_),t_=D({},be,{animationName:0,elapsedTime:0,pseudoElement:0}),n_=ue(t_),r_=D({},be,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),a_=ue(r_),i_=D({},be,{data:0}),lv=ue(i_),l_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},o_={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"},s_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function u_(e){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(e):(e=s_[e])?!!a[e]:!1}function Of(){return u_}var c_=D({},jt,{key:function(e){if(e.key){var a=l_[e.key]||e.key;if(a!=="Unidentified")return a}return e.type==="keypress"?(e=Nl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?o_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Of,charCode:function(e){return e.type==="keypress"?Nl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Nl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),f_=ue(c_),d_=D({},rn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ov=ue(d_),h_=D({},jt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Of}),p_=ue(h_),m_=D({},be,{propertyName:0,elapsedTime:0,pseudoElement:0}),v_=ue(m_),g_=D({},rn,{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}),y_=ue(g_),b_=D({},be,{newState:0,oldState:0}),__=ue(b_),w_=[9,13,27,32],Mf=zn&&"CompositionEvent"in window,zo=null;zn&&"documentMode"in document&&(zo=document.documentMode);var E_=zn&&"TextEvent"in window&&!zo,sv=zn&&(!Mf||zo&&8<zo&&11>=zo),uv=" ",cv=!1;function fv(e,a){switch(e){case"keyup":return w_.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function dv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var kl=!1;function S_(e,a){switch(e){case"compositionend":return dv(a);case"keypress":return a.which!==32?null:(cv=!0,uv);case"textInput":return e=a.data,e===uv&&cv?null:e;default:return null}}function D_(e,a){if(kl)return e==="compositionend"||!Mf&&fv(e,a)?(e=Uo(),Bi=Rl=Ur=null,kl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return sv&&a.locale!=="ko"?null:a.data;default:return null}}var T_={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 hv(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a==="input"?!!T_[e.type]:a==="textarea"}function pv(e,a,o,u){ti?Mn?Mn.push(u):Mn=[u]:ti=u,a=Xu(a,"onChange"),0<a.length&&(o=new gt("onChange","change",null,o,u),e.push({event:o,listeners:a}))}var Yo=null,jo=null;function x_(e){Y3(e,0)}function mu(e){var a=We(e);if(Pi(a))return e}function mv(e,a){if(e==="change")return a}var vv=!1;if(zn){var Af;if(zn){var Cf="oninput"in document;if(!Cf){var gv=document.createElement("div");gv.setAttribute("oninput","return;"),Cf=typeof gv.oninput=="function"}Af=Cf}else Af=!1;vv=Af&&(!document.documentMode||9<document.documentMode)}function yv(){Yo&&(Yo.detachEvent("onpropertychange",bv),jo=Yo=null)}function bv(e){if(e.propertyName==="value"&&mu(jo)){var a=[];pv(a,jo,e,Ml(e)),Ho(x_,a)}}function O_(e,a,o){e==="focusin"?(yv(),Yo=a,jo=o,Yo.attachEvent("onpropertychange",bv)):e==="focusout"&&yv()}function M_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return mu(jo)}function A_(e,a){if(e==="click")return mu(a)}function C_(e,a){if(e==="input"||e==="change")return mu(a)}function R_(e,a){return e===a&&(e!==0||1/e===1/a)||e!==e&&a!==a}var tr=typeof Object.is=="function"?Object.is:R_;function Bo(e,a){if(tr(e,a))return!0;if(typeof e!="object"||e===null||typeof a!="object"||a===null)return!1;var o=Object.keys(e),u=Object.keys(a);if(o.length!==u.length)return!1;for(u=0;u<o.length;u++){var f=o[u];if(!ot.call(a,f)||!tr(e[f],a[f]))return!1}return!0}function _v(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function wv(e,a){var o=_v(e);e=0;for(var u;o;){if(o.nodeType===3){if(u=e+o.textContent.length,e<=a&&u>=a)return{node:o,offset:a-e};e=u}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=_v(o)}}function Ev(e,a){return e&&a?e===a?!0:e&&e.nodeType===3?!1:a&&a.nodeType===3?Ev(e,a.parentNode):"contains"in e?e.contains(a):e.compareDocumentPosition?!!(e.compareDocumentPosition(a)&16):!1:!1}function Sv(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var a=Oa(e.document);a instanceof e.HTMLIFrameElement;){try{var o=typeof a.contentWindow.location.href=="string"}catch{o=!1}if(o)e=a.contentWindow;else break;a=Oa(e.document)}return a}function Rf(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a&&(a==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||a==="textarea"||e.contentEditable==="true")}function N_(e,a){var o=Sv(a);a=e.focusedElem;var u=e.selectionRange;if(o!==a&&a&&a.ownerDocument&&Ev(a.ownerDocument.documentElement,a)){if(u!==null&&Rf(a)){if(e=u.start,o=u.end,o===void 0&&(o=e),"selectionStart"in a)a.selectionStart=e,a.selectionEnd=Math.min(o,a.value.length);else if(o=(e=a.ownerDocument||document)&&e.defaultView||window,o.getSelection){o=o.getSelection();var f=a.textContent.length,p=Math.min(u.start,f);u=u.end===void 0?p:Math.min(u.end,f),!o.extend&&p>u&&(f=u,u=p,p=f),f=wv(a,p);var _=wv(a,u);f&&_&&(o.rangeCount!==1||o.anchorNode!==f.node||o.anchorOffset!==f.offset||o.focusNode!==_.node||o.focusOffset!==_.offset)&&(e=e.createRange(),e.setStart(f.node,f.offset),o.removeAllRanges(),p>u?(o.addRange(e),o.extend(_.node,_.offset)):(e.setEnd(_.node,_.offset),o.addRange(e)))}}for(e=[],o=a;o=o.parentNode;)o.nodeType===1&&e.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<e.length;a++)o=e[a],o.element.scrollLeft=o.left,o.element.scrollTop=o.top}}var k_=zn&&"documentMode"in document&&11>=document.documentMode,Ll=null,Nf=null,Io=null,kf=!1;function Dv(e,a,o){var u=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;kf||Ll==null||Ll!==Oa(u)||(u=Ll,"selectionStart"in u&&Rf(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}),Io&&Bo(Io,u)||(Io=u,u=Xu(Nf,"onSelect"),0<u.length&&(a=new gt("onSelect","select",null,a,o),e.push({event:a,listeners:u}),a.target=Ll)))}function Ii(e,a){var o={};return o[e.toLowerCase()]=a.toLowerCase(),o["Webkit"+e]="webkit"+a,o["Moz"+e]="moz"+a,o}var ql={animationend:Ii("Animation","AnimationEnd"),animationiteration:Ii("Animation","AnimationIteration"),animationstart:Ii("Animation","AnimationStart"),transitionrun:Ii("Transition","TransitionRun"),transitionstart:Ii("Transition","TransitionStart"),transitioncancel:Ii("Transition","TransitionCancel"),transitionend:Ii("Transition","TransitionEnd")},Lf={},Tv={};zn&&(Tv=document.createElement("div").style,"AnimationEvent"in window||(delete ql.animationend.animation,delete ql.animationiteration.animation,delete ql.animationstart.animation),"TransitionEvent"in window||delete ql.transitionend.transition);function Fi(e){if(Lf[e])return Lf[e];if(!ql[e])return e;var a=ql[e],o;for(o in a)if(a.hasOwnProperty(o)&&o in Tv)return Lf[e]=a[o];return e}var xv=Fi("animationend"),Ov=Fi("animationiteration"),Mv=Fi("animationstart"),L_=Fi("transitionrun"),q_=Fi("transitionstart"),H_=Fi("transitioncancel"),Av=Fi("transitionend"),Cv=new Map,Rv="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 scrollEnd toggle touchMove waiting wheel".split(" ");function zr(e,a){Cv.set(e,a),bn(a,[e])}var pr=[],Hl=0,qf=0;function vu(){for(var e=Hl,a=qf=Hl=0;a<e;){var o=pr[a];pr[a++]=null;var u=pr[a];pr[a++]=null;var f=pr[a];pr[a++]=null;var p=pr[a];if(pr[a++]=null,u!==null&&f!==null){var _=u.pending;_===null?f.next=f:(f.next=_.next,_.next=f),u.pending=f}p!==0&&Nv(o,f,p)}}function gu(e,a,o,u){pr[Hl++]=e,pr[Hl++]=a,pr[Hl++]=o,pr[Hl++]=u,qf|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function Hf(e,a,o,u){return gu(e,a,o,u),yu(e)}function ni(e,a){return gu(e,null,null,a),yu(e)}function Nv(e,a,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;f&&a!==null&&e.tag===3&&(p=e.stateNode,f=31-At(o),p=p.hiddenUpdates,e=p[f],e===null?p[f]=[a]:e.push(a),a.lane=o|536870912)}function yu(e){if(50<ps)throw ps=0,Bd=null,Error(t(185));for(var a=e.return;a!==null;)e=a,a=e.return;return e.tag===3?e.stateNode:null}var Ul={},kv=new WeakMap;function mr(e,a){if(typeof e=="object"&&e!==null){var o=kv.get(e);return o!==void 0?o:(a={value:e,source:a,stack:P(a)},kv.set(e,a),a)}return{value:e,source:a,stack:P(a)}}var Pl=[],zl=0,bu=null,_u=0,vr=[],gr=0,Gi=null,Aa=1,Ca="";function Wi(e,a){Pl[zl++]=_u,Pl[zl++]=bu,bu=e,_u=a}function Lv(e,a,o){vr[gr++]=Aa,vr[gr++]=Ca,vr[gr++]=Gi,Gi=e;var u=Aa;e=Ca;var f=32-At(u)-1;u&=~(1<<f),o+=1;var p=32-At(a)+f;if(30<p){var _=f-f%5;p=(u&(1<<_)-1).toString(32),u>>=_,f-=_,Aa=1<<32-At(a)+f|o<<f|u,Ca=p+e}else Aa=1<<p|o<<f|u,Ca=e}function Uf(e){e.return!==null&&(Wi(e,1),Lv(e,1,0))}function Pf(e){for(;e===bu;)bu=Pl[--zl],Pl[zl]=null,_u=Pl[--zl],Pl[zl]=null;for(;e===Gi;)Gi=vr[--gr],vr[gr]=null,Ca=vr[--gr],vr[gr]=null,Aa=vr[--gr],vr[gr]=null}var Bn=null,An=null,dt=!1,Yr=null,oa=!1,zf=Error(t(519));function Vi(e){var a=Error(t(418,""));throw Wo(mr(a,e)),zf}function qv(e){var a=e.stateNode,o=e.type,u=e.memoizedProps;switch(a[it]=e,a[we]=u,o){case"dialog":lt("cancel",a),lt("close",a);break;case"iframe":case"object":case"embed":lt("load",a);break;case"video":case"audio":for(o=0;o<vs.length;o++)lt(vs[o],a);break;case"source":lt("error",a);break;case"img":case"image":case"link":lt("error",a),lt("load",a);break;case"details":lt("toggle",a);break;case"input":lt("invalid",a),xl(a,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0),Ui(a);break;case"select":lt("invalid",a);break;case"textarea":lt("invalid",a),fu(a,u.value,u.defaultValue,u.children),Ui(a)}o=u.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||a.textContent===""+o||u.suppressHydrationWarning===!0||F3(a.textContent,o)?(u.popover!=null&&(lt("beforetoggle",a),lt("toggle",a)),u.onScroll!=null&&lt("scroll",a),u.onScrollEnd!=null&&lt("scrollend",a),u.onClick!=null&&(a.onclick=$u),a=!0):a=!1,a||Vi(e)}function Hv(e){for(Bn=e.return;Bn;)switch(Bn.tag){case 3:case 27:oa=!0;return;case 5:case 13:oa=!1;return;default:Bn=Bn.return}}function Fo(e){if(e!==Bn)return!1;if(!dt)return Hv(e),dt=!0,!1;var a=!1,o;if((o=e.tag!==3&&e.tag!==27)&&((o=e.tag===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||i1(e.type,e.memoizedProps)),o=!o),o&&(a=!0),a&&An&&Vi(e),Hv(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(t(317));e:{for(e=e.nextSibling,a=0;e;){if(e.nodeType===8)if(o=e.data,o==="/$"){if(a===0){An=Br(e.nextSibling);break e}a--}else o!=="$"&&o!=="$!"&&o!=="$?"||a++;e=e.nextSibling}An=null}}else An=Bn?Br(e.stateNode.nextSibling):null;return!0}function Go(){An=Bn=null,dt=!1}function Wo(e){Yr===null?Yr=[e]:Yr.push(e)}var Vo=Error(t(460)),Uv=Error(t(474)),Yf={then:function(){}};function Pv(e){return e=e.status,e==="fulfilled"||e==="rejected"}function wu(){}function zv(e,a,o){switch(o=e[o],o===void 0?e.push(a):o!==a&&(a.then(wu,wu),a=o),a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,e===Vo?Error(t(483)):e;default:if(typeof a.status=="string")a.then(wu,wu);else{if(e=Ct,e!==null&&100<e.shellSuspendCounter)throw Error(t(482));e=a,e.status="pending",e.then(function(u){if(a.status==="pending"){var f=a;f.status="fulfilled",f.value=u}},function(u){if(a.status==="pending"){var f=a;f.status="rejected",f.reason=u}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,e===Vo?Error(t(483)):e}throw Zo=a,Vo}}var Zo=null;function Yv(){if(Zo===null)throw Error(t(459));var e=Zo;return Zo=null,e}var Yl=null,Qo=0;function Eu(e){var a=Qo;return Qo+=1,Yl===null&&(Yl=[]),zv(Yl,e,a)}function Ko(e,a){a=a.props.ref,e.ref=a!==void 0?a:null}function Su(e,a){throw a.$$typeof===s?Error(t(525)):(e=Object.prototype.toString.call(a),Error(t(31,e==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":e)))}function jv(e){var a=e._init;return a(e._payload)}function Bv(e){function a(X,W){if(e){var ee=X.deletions;ee===null?(X.deletions=[W],X.flags|=16):ee.push(W)}}function o(X,W){if(!e)return null;for(;W!==null;)a(X,W),W=W.sibling;return null}function u(X){for(var W=new Map;X!==null;)X.key!==null?W.set(X.key,X):W.set(X.index,X),X=X.sibling;return W}function f(X,W){return X=pi(X,W),X.index=0,X.sibling=null,X}function p(X,W,ee){return X.index=ee,e?(ee=X.alternate,ee!==null?(ee=ee.index,ee<W?(X.flags|=33554434,W):ee):(X.flags|=33554434,W)):(X.flags|=1048576,W)}function _(X){return e&&X.alternate===null&&(X.flags|=33554434),X}function T(X,W,ee,ie){return W===null||W.tag!==6?(W=Ld(ee,X.mode,ie),W.return=X,W):(W=f(W,ee),W.return=X,W)}function H(X,W,ee,ie){var Se=ee.type;return Se===h?ae(X,W,ee.props.children,ie,ee.key):W!==null&&(W.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===O&&jv(Se)===W.type)?(W=f(W,ee.props),Ko(W,ee),W.return=X,W):(W=ju(ee.type,ee.key,ee.props,null,X.mode,ie),Ko(W,ee),W.return=X,W)}function Z(X,W,ee,ie){return W===null||W.tag!==4||W.stateNode.containerInfo!==ee.containerInfo||W.stateNode.implementation!==ee.implementation?(W=qd(ee,X.mode,ie),W.return=X,W):(W=f(W,ee.children||[]),W.return=X,W)}function ae(X,W,ee,ie,Se){return W===null||W.tag!==7?(W=rl(ee,X.mode,ie,Se),W.return=X,W):(W=f(W,ee),W.return=X,W)}function oe(X,W,ee){if(typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint")return W=Ld(""+W,X.mode,ee),W.return=X,W;if(typeof W=="object"&&W!==null){switch(W.$$typeof){case c:return ee=ju(W.type,W.key,W.props,null,X.mode,ee),Ko(ee,W),ee.return=X,ee;case d:return W=qd(W,X.mode,ee),W.return=X,W;case O:var ie=W._init;return W=ie(W._payload),oe(X,W,ee)}if(se(W)||ne(W))return W=rl(W,X.mode,ee,null),W.return=X,W;if(typeof W.then=="function")return oe(X,Eu(W),ee);if(W.$$typeof===S)return oe(X,Pu(X,W),ee);Su(X,W)}return null}function te(X,W,ee,ie){var Se=W!==null?W.key:null;if(typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint")return Se!==null?null:T(X,W,""+ee,ie);if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case c:return ee.key===Se?H(X,W,ee,ie):null;case d:return ee.key===Se?Z(X,W,ee,ie):null;case O:return Se=ee._init,ee=Se(ee._payload),te(X,W,ee,ie)}if(se(ee)||ne(ee))return Se!==null?null:ae(X,W,ee,ie,null);if(typeof ee.then=="function")return te(X,W,Eu(ee),ie);if(ee.$$typeof===S)return te(X,W,Pu(X,ee),ie);Su(X,ee)}return null}function re(X,W,ee,ie,Se){if(typeof ie=="string"&&ie!==""||typeof ie=="number"||typeof ie=="bigint")return X=X.get(ee)||null,T(W,X,""+ie,Se);if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case c:return X=X.get(ie.key===null?ee:ie.key)||null,H(W,X,ie,Se);case d:return X=X.get(ie.key===null?ee:ie.key)||null,Z(W,X,ie,Se);case O:var Xe=ie._init;return ie=Xe(ie._payload),re(X,W,ee,ie,Se)}if(se(ie)||ne(ie))return X=X.get(ee)||null,ae(W,X,ie,Se,null);if(typeof ie.then=="function")return re(X,W,ee,Eu(ie),Se);if(ie.$$typeof===S)return re(X,W,ee,Pu(W,ie),Se);Su(W,ie)}return null}function Te(X,W,ee,ie){for(var Se=null,Xe=null,Me=W,ke=W=0,Sn=null;Me!==null&&ke<ee.length;ke++){Me.index>ke?(Sn=Me,Me=null):Sn=Me.sibling;var ht=te(X,Me,ee[ke],ie);if(ht===null){Me===null&&(Me=Sn);break}e&&Me&&ht.alternate===null&&a(X,Me),W=p(ht,W,ke),Xe===null?Se=ht:Xe.sibling=ht,Xe=ht,Me=Sn}if(ke===ee.length)return o(X,Me),dt&&Wi(X,ke),Se;if(Me===null){for(;ke<ee.length;ke++)Me=oe(X,ee[ke],ie),Me!==null&&(W=p(Me,W,ke),Xe===null?Se=Me:Xe.sibling=Me,Xe=Me);return dt&&Wi(X,ke),Se}for(Me=u(Me);ke<ee.length;ke++)Sn=re(Me,X,ke,ee[ke],ie),Sn!==null&&(e&&Sn.alternate!==null&&Me.delete(Sn.key===null?ke:Sn.key),W=p(Sn,W,ke),Xe===null?Se=Sn:Xe.sibling=Sn,Xe=Sn);return e&&Me.forEach(function(wi){return a(X,wi)}),dt&&Wi(X,ke),Se}function Be(X,W,ee,ie){if(ee==null)throw Error(t(151));for(var Se=null,Xe=null,Me=W,ke=W=0,Sn=null,ht=ee.next();Me!==null&&!ht.done;ke++,ht=ee.next()){Me.index>ke?(Sn=Me,Me=null):Sn=Me.sibling;var wi=te(X,Me,ht.value,ie);if(wi===null){Me===null&&(Me=Sn);break}e&&Me&&wi.alternate===null&&a(X,Me),W=p(wi,W,ke),Xe===null?Se=wi:Xe.sibling=wi,Xe=wi,Me=Sn}if(ht.done)return o(X,Me),dt&&Wi(X,ke),Se;if(Me===null){for(;!ht.done;ke++,ht=ee.next())ht=oe(X,ht.value,ie),ht!==null&&(W=p(ht,W,ke),Xe===null?Se=ht:Xe.sibling=ht,Xe=ht);return dt&&Wi(X,ke),Se}for(Me=u(Me);!ht.done;ke++,ht=ee.next())ht=re(Me,X,ke,ht.value,ie),ht!==null&&(e&&ht.alternate!==null&&Me.delete(ht.key===null?ke:ht.key),W=p(ht,W,ke),Xe===null?Se=ht:Xe.sibling=ht,Xe=ht);return e&&Me.forEach(function(Kw){return a(X,Kw)}),dt&&Wi(X,ke),Se}function Ft(X,W,ee,ie){if(typeof ee=="object"&&ee!==null&&ee.type===h&&ee.key===null&&(ee=ee.props.children),typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case c:e:{for(var Se=ee.key;W!==null;){if(W.key===Se){if(Se=ee.type,Se===h){if(W.tag===7){o(X,W.sibling),ie=f(W,ee.props.children),ie.return=X,X=ie;break e}}else if(W.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===O&&jv(Se)===W.type){o(X,W.sibling),ie=f(W,ee.props),Ko(ie,ee),ie.return=X,X=ie;break e}o(X,W);break}else a(X,W);W=W.sibling}ee.type===h?(ie=rl(ee.props.children,X.mode,ie,ee.key),ie.return=X,X=ie):(ie=ju(ee.type,ee.key,ee.props,null,X.mode,ie),Ko(ie,ee),ie.return=X,X=ie)}return _(X);case d:e:{for(Se=ee.key;W!==null;){if(W.key===Se)if(W.tag===4&&W.stateNode.containerInfo===ee.containerInfo&&W.stateNode.implementation===ee.implementation){o(X,W.sibling),ie=f(W,ee.children||[]),ie.return=X,X=ie;break e}else{o(X,W);break}else a(X,W);W=W.sibling}ie=qd(ee,X.mode,ie),ie.return=X,X=ie}return _(X);case O:return Se=ee._init,ee=Se(ee._payload),Ft(X,W,ee,ie)}if(se(ee))return Te(X,W,ee,ie);if(ne(ee)){if(Se=ne(ee),typeof Se!="function")throw Error(t(150));return ee=Se.call(ee),Be(X,W,ee,ie)}if(typeof ee.then=="function")return Ft(X,W,Eu(ee),ie);if(ee.$$typeof===S)return Ft(X,W,Pu(X,ee),ie);Su(X,ee)}return typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint"?(ee=""+ee,W!==null&&W.tag===6?(o(X,W.sibling),ie=f(W,ee),ie.return=X,X=ie):(o(X,W),ie=Ld(ee,X.mode,ie),ie.return=X,X=ie),_(X)):o(X,W)}return function(X,W,ee,ie){try{Qo=0;var Se=Ft(X,W,ee,ie);return Yl=null,Se}catch(Me){if(Me===Vo)throw Me;var Xe=wr(29,Me,null,X.mode);return Xe.lanes=ie,Xe.return=X,Xe}finally{}}}var Zi=Bv(!0),Iv=Bv(!1),jl=Oe(null),Du=Oe(0);function Fv(e,a){e=ja,ze(Du,e),ze(jl,a),ja=e|a.baseLanes}function jf(){ze(Du,ja),ze(jl,jl.current)}function Bf(){ja=Du.current,Je(jl),Je(Du)}var yr=Oe(null),sa=null;function ri(e){var a=e.alternate;ze(dn,dn.current&1),ze(yr,e),sa===null&&(a===null||jl.current!==null||a.memoizedState!==null)&&(sa=e)}function Gv(e){if(e.tag===22){if(ze(dn,dn.current),ze(yr,e),sa===null){var a=e.alternate;a!==null&&a.memoizedState!==null&&(sa=e)}}else ai()}function ai(){ze(dn,dn.current),ze(yr,yr.current)}function Ra(e){Je(yr),sa===e&&(sa=null),Je(dn)}var dn=Oe(0);function Tu(e){for(var a=e;a!==null;){if(a.tag===13){var o=a.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if(a.flags&128)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var U_=typeof AbortController<"u"?AbortController:function(){var e=[],a=this.signal={aborted:!1,addEventListener:function(o,u){e.push(u)}};this.abort=function(){a.aborted=!0,e.forEach(function(o){return o()})}},P_=r.unstable_scheduleCallback,z_=r.unstable_NormalPriority,hn={$$typeof:S,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function If(){return{controller:new U_,data:new Map,refCount:0}}function Xo(e){e.refCount--,e.refCount===0&&P_(z_,function(){e.controller.abort()})}var $o=null,Ff=0,Bl=0,Il=null;function Y_(e,a){if($o===null){var o=$o=[];Ff=0,Bl=Kd(),Il={status:"pending",value:void 0,then:function(u){o.push(u)}}}return Ff++,a.then(Wv,Wv),a}function Wv(){if(--Ff===0&&$o!==null){Il!==null&&(Il.status="fulfilled");var e=$o;$o=null,Bl=0,Il=null;for(var a=0;a<e.length;a++)(0,e[a])()}}function j_(e,a){var o=[],u={status:"pending",value:null,reason:null,then:function(f){o.push(f)}};return e.then(function(){u.status="fulfilled",u.value=a;for(var f=0;f<o.length;f++)(0,o[f])(a)},function(f){for(u.status="rejected",u.reason=f,f=0;f<o.length;f++)(0,o[f])(void 0)}),u}var Vv=E.S;E.S=function(e,a){typeof a=="object"&&a!==null&&typeof a.then=="function"&&Y_(e,a),Vv!==null&&Vv(e,a)};var Qi=Oe(null);function Gf(){var e=Qi.current;return e!==null?e:Ct.pooledCache}function xu(e,a){a===null?ze(Qi,Qi.current):ze(Qi,a.pool)}function Zv(){var e=Gf();return e===null?null:{parent:hn._currentValue,pool:e}}var ii=0,Ze=null,wt=null,an=null,Ou=!1,Fl=!1,Ki=!1,Mu=0,Jo=0,Gl=null,B_=0;function Kt(){throw Error(t(321))}function Wf(e,a){if(a===null)return!1;for(var o=0;o<a.length&&o<e.length;o++)if(!tr(e[o],a[o]))return!1;return!0}function Vf(e,a,o,u,f,p){return ii=p,Ze=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,E.H=e===null||e.memoizedState===null?Xi:li,Ki=!1,p=o(u,f),Ki=!1,Fl&&(p=Kv(a,o,u,f)),Qv(e),p}function Qv(e){E.H=ua;var a=wt!==null&&wt.next!==null;if(ii=0,an=wt=Ze=null,Ou=!1,Jo=0,Gl=null,a)throw Error(t(300));e===null||wn||(e=e.dependencies,e!==null&&Uu(e)&&(wn=!0))}function Kv(e,a,o,u){Ze=e;var f=0;do{if(Fl&&(Gl=null),Jo=0,Fl=!1,25<=f)throw Error(t(301));if(f+=1,an=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)}E.H=$i,p=a(o,u)}while(Fl);return p}function I_(){var e=E.H,a=e.useState()[0];return a=typeof a.then=="function"?es(a):a,e=e.useState()[0],(wt!==null?wt.memoizedState:null)!==e&&(Ze.flags|=1024),a}function Zf(){var e=Mu!==0;return Mu=0,e}function Qf(e,a,o){a.updateQueue=e.updateQueue,a.flags&=-2053,e.lanes&=~o}function Kf(e){if(Ou){for(e=e.memoizedState;e!==null;){var a=e.queue;a!==null&&(a.pending=null),e=e.next}Ou=!1}ii=0,an=wt=Ze=null,Fl=!1,Jo=Mu=0,Gl=null}function Xn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return an===null?Ze.memoizedState=an=e:an=an.next=e,an}function ln(){if(wt===null){var e=Ze.alternate;e=e!==null?e.memoizedState:null}else e=wt.next;var a=an===null?Ze.memoizedState:an.next;if(a!==null)an=a,wt=e;else{if(e===null)throw Ze.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},an===null?Ze.memoizedState=an=e:an=an.next=e}return an}var Au;Au=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function es(e){var a=Jo;return Jo+=1,Gl===null&&(Gl=[]),e=zv(Gl,e,a),a=Ze,(an===null?a.memoizedState:an.next)===null&&(a=a.alternate,E.H=a===null||a.memoizedState===null?Xi:li),e}function Cu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return es(e);if(e.$$typeof===S)return Ln(e)}throw Error(t(438,String(e)))}function Xf(e){var a=null,o=Ze.updateQueue;if(o!==null&&(a=o.memoCache),a==null){var u=Ze.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(a={data:u.data.map(function(f){return f.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),o===null&&(o=Au(),Ze.updateQueue=o),o.memoCache=a,o=a.data[a.index],o===void 0)for(o=a.data[a.index]=Array(e),u=0;u<e;u++)o[u]=Q;return a.index++,o}function Na(e,a){return typeof a=="function"?a(e):a}function Ru(e){var a=ln();return $f(a,wt,e)}function $f(e,a,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 _=f.next;f.next=p.next,p.next=_}a.baseQueue=f=p,u.pending=null}if(p=e.baseState,f===null)e.memoizedState=p;else{a=f.next;var T=_=null,H=null,Z=a,ae=!1;do{var oe=Z.lane&-536870913;if(oe!==Z.lane?(st&oe)===oe:(ii&oe)===oe){var te=Z.revertLane;if(te===0)H!==null&&(H=H.next={lane:0,revertLane:0,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null}),oe===Bl&&(ae=!0);else if((ii&te)===te){Z=Z.next,te===Bl&&(ae=!0);continue}else oe={lane:0,revertLane:Z.revertLane,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},H===null?(T=H=oe,_=p):H=H.next=oe,Ze.lanes|=te,mi|=te;oe=Z.action,Ki&&o(p,oe),p=Z.hasEagerState?Z.eagerState:o(p,oe)}else te={lane:oe,revertLane:Z.revertLane,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},H===null?(T=H=te,_=p):H=H.next=te,Ze.lanes|=oe,mi|=oe;Z=Z.next}while(Z!==null&&Z!==a);if(H===null?_=p:H.next=T,!tr(p,e.memoizedState)&&(wn=!0,ae&&(o=Il,o!==null)))throw o;e.memoizedState=p,e.baseState=_,e.baseQueue=H,u.lastRenderedState=p}return f===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function Jf(e){var a=ln(),o=a.queue;if(o===null)throw Error(t(311));o.lastRenderedReducer=e;var u=o.dispatch,f=o.pending,p=a.memoizedState;if(f!==null){o.pending=null;var _=f=f.next;do p=e(p,_.action),_=_.next;while(_!==f);tr(p,a.memoizedState)||(wn=!0),a.memoizedState=p,a.baseQueue===null&&(a.baseState=p),o.lastRenderedState=p}return[p,u]}function Xv(e,a,o){var u=Ze,f=ln(),p=dt;if(p){if(o===void 0)throw Error(t(407));o=o()}else o=a();var _=!tr((wt||f).memoizedState,o);if(_&&(f.memoizedState=o,wn=!0),f=f.queue,nd(eg.bind(null,u,f,e),[e]),f.getSnapshot!==a||_||an!==null&&an.memoizedState.tag&1){if(u.flags|=2048,Wl(9,Jv.bind(null,u,f,o,a),{destroy:void 0},null),Ct===null)throw Error(t(349));p||ii&60||$v(u,a,o)}return o}function $v(e,a,o){e.flags|=16384,e={getSnapshot:a,value:o},a=Ze.updateQueue,a===null?(a=Au(),Ze.updateQueue=a,a.stores=[e]):(o=a.stores,o===null?a.stores=[e]:o.push(e))}function Jv(e,a,o,u){a.value=o,a.getSnapshot=u,tg(a)&&ng(e)}function eg(e,a,o){return o(function(){tg(a)&&ng(e)})}function tg(e){var a=e.getSnapshot;e=e.value;try{var o=a();return!tr(e,o)}catch{return!0}}function ng(e){var a=ni(e,2);a!==null&&In(a,e,2)}function ed(e){var a=Xn();if(typeof e=="function"){var o=e;if(e=o(),Ki){en(!0);try{o()}finally{en(!1)}}}return a.memoizedState=a.baseState=e,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Na,lastRenderedState:e},a}function rg(e,a,o,u){return e.baseState=o,$f(e,wt,typeof u=="function"?u:Na)}function F_(e,a,o,u,f){if(Lu(e))throw Error(t(485));if(e=a.action,e!==null){var p={payload:f,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(_){p.listeners.push(_)}};E.T!==null?o(!0):p.isTransition=!1,u(p),o=a.pending,o===null?(p.next=a.pending=p,ag(a,p)):(p.next=o.next,a.pending=o.next=p)}}function ag(e,a){var o=a.action,u=a.payload,f=e.state;if(a.isTransition){var p=E.T,_={};E.T=_;try{var T=o(f,u),H=E.S;H!==null&&H(_,T),ig(e,a,T)}catch(Z){td(e,a,Z)}finally{E.T=p}}else try{p=o(f,u),ig(e,a,p)}catch(Z){td(e,a,Z)}}function ig(e,a,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(u){lg(e,a,u)},function(u){return td(e,a,u)}):lg(e,a,o)}function lg(e,a,o){a.status="fulfilled",a.value=o,og(a),e.state=o,a=e.pending,a!==null&&(o=a.next,o===a?e.pending=null:(o=o.next,a.next=o,ag(e,o)))}function td(e,a,o){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do a.status="rejected",a.reason=o,og(a),a=a.next;while(a!==u)}e.action=null}function og(e){e=e.listeners;for(var a=0;a<e.length;a++)(0,e[a])()}function sg(e,a){return a}function ug(e,a){if(dt){var o=Ct.formState;if(o!==null){e:{var u=Ze;if(dt){if(An){t:{for(var f=An,p=oa;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){An=Br(f.nextSibling),u=f.data==="F!";break e}}Vi(u)}u=!1}u&&(a=o[0])}}return o=Xn(),o.memoizedState=o.baseState=a,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:sg,lastRenderedState:a},o.queue=u,o=Og.bind(null,Ze,u),u.dispatch=o,u=ed(!1),p=od.bind(null,Ze,!1,u.queue),u=Xn(),f={state:a,dispatch:null,action:e,pending:null},u.queue=f,o=F_.bind(null,Ze,f,p,o),f.dispatch=o,u.memoizedState=e,[a,o,!1]}function cg(e){var a=ln();return fg(a,wt,e)}function fg(e,a,o){a=$f(e,a,sg)[0],e=Ru(Na)[0],a=typeof a=="object"&&a!==null&&typeof a.then=="function"?es(a):a;var u=ln(),f=u.queue,p=f.dispatch;return o!==u.memoizedState&&(Ze.flags|=2048,Wl(9,G_.bind(null,f,o),{destroy:void 0},null)),[a,p,e]}function G_(e,a){e.action=a}function dg(e){var a=ln(),o=wt;if(o!==null)return fg(a,o,e);ln(),a=a.memoizedState,o=ln();var u=o.queue.dispatch;return o.memoizedState=e,[a,u,!1]}function Wl(e,a,o,u){return e={tag:e,create:a,inst:o,deps:u,next:null},a=Ze.updateQueue,a===null&&(a=Au(),Ze.updateQueue=a),o=a.lastEffect,o===null?a.lastEffect=e.next=e:(u=o.next,o.next=e,e.next=u,a.lastEffect=e),e}function hg(){return ln().memoizedState}function Nu(e,a,o,u){var f=Xn();Ze.flags|=e,f.memoizedState=Wl(1|a,o,{destroy:void 0},u===void 0?null:u)}function ku(e,a,o,u){var f=ln();u=u===void 0?null:u;var p=f.memoizedState.inst;wt!==null&&u!==null&&Wf(u,wt.memoizedState.deps)?f.memoizedState=Wl(a,o,p,u):(Ze.flags|=e,f.memoizedState=Wl(1|a,o,p,u))}function pg(e,a){Nu(8390656,8,e,a)}function nd(e,a){ku(2048,8,e,a)}function mg(e,a){return ku(4,2,e,a)}function vg(e,a){return ku(4,4,e,a)}function gg(e,a){if(typeof a=="function"){e=e();var o=a(e);return function(){typeof o=="function"?o():a(null)}}if(a!=null)return e=e(),a.current=e,function(){a.current=null}}function yg(e,a,o){o=o!=null?o.concat([e]):null,ku(4,4,gg.bind(null,a,e),o)}function rd(){}function bg(e,a){var o=ln();a=a===void 0?null:a;var u=o.memoizedState;return a!==null&&Wf(a,u[1])?u[0]:(o.memoizedState=[e,a],e)}function _g(e,a){var o=ln();a=a===void 0?null:a;var u=o.memoizedState;if(a!==null&&Wf(a,u[1]))return u[0];if(u=e(),Ki){en(!0);try{e()}finally{en(!1)}}return o.memoizedState=[u,a],u}function ad(e,a,o){return o===void 0||ii&1073741824?e.memoizedState=a:(e.memoizedState=o,e=E3(),Ze.lanes|=e,mi|=e,o)}function wg(e,a,o,u){return tr(o,a)?o:jl.current!==null?(e=ad(e,o,u),tr(e,a)||(wn=!0),e):ii&42?(e=E3(),Ze.lanes|=e,mi|=e,a):(wn=!0,e.memoizedState=o)}function Eg(e,a,o,u,f){var p=de.p;de.p=p!==0&&8>p?p:8;var _=E.T,T={};E.T=T,od(e,!1,a,o);try{var H=f(),Z=E.S;if(Z!==null&&Z(T,H),H!==null&&typeof H=="object"&&typeof H.then=="function"){var ae=j_(H,u);ts(e,a,ae,ir(e))}else ts(e,a,u,ir(e))}catch(oe){ts(e,a,{then:function(){},status:"rejected",reason:oe},ir())}finally{de.p=p,E.T=_}}function W_(){}function id(e,a,o,u){if(e.tag!==5)throw Error(t(476));var f=Sg(e).queue;Eg(e,f,a,fe,o===null?W_:function(){return Dg(e),o(u)})}function Sg(e){var a=e.memoizedState;if(a!==null)return a;a={memoizedState:fe,baseState:fe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Na,lastRenderedState:fe},next:null};var o={};return a.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Na,lastRenderedState:o},next:null},e.memoizedState=a,e=e.alternate,e!==null&&(e.memoizedState=a),a}function Dg(e){var a=Sg(e).next.queue;ts(e,a,{},ir())}function ld(){return Ln(ws)}function Tg(){return ln().memoizedState}function xg(){return ln().memoizedState}function V_(e){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var o=ir();e=ui(o);var u=ci(a,e,o);u!==null&&(In(u,a,o),as(u,a,o)),a={cache:If()},e.payload=a;return}a=a.return}}function Z_(e,a,o){var u=ir();o={lane:u,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null},Lu(e)?Mg(a,o):(o=Hf(e,a,o,u),o!==null&&(In(o,e,u),Ag(o,a,u)))}function Og(e,a,o){var u=ir();ts(e,a,o,u)}function ts(e,a,o,u){var f={lane:u,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null};if(Lu(e))Mg(a,f);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=a.lastRenderedReducer,p!==null))try{var _=a.lastRenderedState,T=p(_,o);if(f.hasEagerState=!0,f.eagerState=T,tr(T,_))return gu(e,a,f,0),Ct===null&&vu(),!1}catch{}finally{}if(o=Hf(e,a,f,u),o!==null)return In(o,e,u),Ag(o,a,u),!0}return!1}function od(e,a,o,u){if(u={lane:2,revertLane:Kd(),action:u,hasEagerState:!1,eagerState:null,next:null},Lu(e)){if(a)throw Error(t(479))}else a=Hf(e,o,u,2),a!==null&&In(a,e,2)}function Lu(e){var a=e.alternate;return e===Ze||a!==null&&a===Ze}function Mg(e,a){Fl=Ou=!0;var o=e.pending;o===null?a.next=a:(a.next=o.next,o.next=a),e.pending=a}function Ag(e,a,o){if(o&4194176){var u=a.lanes;u&=e.pendingLanes,o|=u,a.lanes=o,at(e,o)}}var ua={readContext:Ln,use:Cu,useCallback:Kt,useContext:Kt,useEffect:Kt,useImperativeHandle:Kt,useLayoutEffect:Kt,useInsertionEffect:Kt,useMemo:Kt,useReducer:Kt,useRef:Kt,useState:Kt,useDebugValue:Kt,useDeferredValue:Kt,useTransition:Kt,useSyncExternalStore:Kt,useId:Kt};ua.useCacheRefresh=Kt,ua.useMemoCache=Kt,ua.useHostTransitionStatus=Kt,ua.useFormState=Kt,ua.useActionState=Kt,ua.useOptimistic=Kt;var Xi={readContext:Ln,use:Cu,useCallback:function(e,a){return Xn().memoizedState=[e,a===void 0?null:a],e},useContext:Ln,useEffect:pg,useImperativeHandle:function(e,a,o){o=o!=null?o.concat([e]):null,Nu(4194308,4,gg.bind(null,a,e),o)},useLayoutEffect:function(e,a){return Nu(4194308,4,e,a)},useInsertionEffect:function(e,a){Nu(4,2,e,a)},useMemo:function(e,a){var o=Xn();a=a===void 0?null:a;var u=e();if(Ki){en(!0);try{e()}finally{en(!1)}}return o.memoizedState=[u,a],u},useReducer:function(e,a,o){var u=Xn();if(o!==void 0){var f=o(a);if(Ki){en(!0);try{o(a)}finally{en(!1)}}}else f=a;return u.memoizedState=u.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},u.queue=e,e=e.dispatch=Z_.bind(null,Ze,e),[u.memoizedState,e]},useRef:function(e){var a=Xn();return e={current:e},a.memoizedState=e},useState:function(e){e=ed(e);var a=e.queue,o=Og.bind(null,Ze,a);return a.dispatch=o,[e.memoizedState,o]},useDebugValue:rd,useDeferredValue:function(e,a){var o=Xn();return ad(o,e,a)},useTransition:function(){var e=ed(!1);return e=Eg.bind(null,Ze,e.queue,!0,!1),Xn().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,a,o){var u=Ze,f=Xn();if(dt){if(o===void 0)throw Error(t(407));o=o()}else{if(o=a(),Ct===null)throw Error(t(349));st&60||$v(u,a,o)}f.memoizedState=o;var p={value:o,getSnapshot:a};return f.queue=p,pg(eg.bind(null,u,p,e),[e]),u.flags|=2048,Wl(9,Jv.bind(null,u,p,o,a),{destroy:void 0},null),o},useId:function(){var e=Xn(),a=Ct.identifierPrefix;if(dt){var o=Ca,u=Aa;o=(u&~(1<<32-At(u)-1)).toString(32)+o,a=":"+a+"R"+o,o=Mu++,0<o&&(a+="H"+o.toString(32)),a+=":"}else o=B_++,a=":"+a+"r"+o.toString(32)+":";return e.memoizedState=a},useCacheRefresh:function(){return Xn().memoizedState=V_.bind(null,Ze)}};Xi.useMemoCache=Xf,Xi.useHostTransitionStatus=ld,Xi.useFormState=ug,Xi.useActionState=ug,Xi.useOptimistic=function(e){var a=Xn();a.memoizedState=a.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=o,a=od.bind(null,Ze,!0,o),o.dispatch=a,[e,a]};var li={readContext:Ln,use:Cu,useCallback:bg,useContext:Ln,useEffect:nd,useImperativeHandle:yg,useInsertionEffect:mg,useLayoutEffect:vg,useMemo:_g,useReducer:Ru,useRef:hg,useState:function(){return Ru(Na)},useDebugValue:rd,useDeferredValue:function(e,a){var o=ln();return wg(o,wt.memoizedState,e,a)},useTransition:function(){var e=Ru(Na)[0],a=ln().memoizedState;return[typeof e=="boolean"?e:es(e),a]},useSyncExternalStore:Xv,useId:Tg};li.useCacheRefresh=xg,li.useMemoCache=Xf,li.useHostTransitionStatus=ld,li.useFormState=cg,li.useActionState=cg,li.useOptimistic=function(e,a){var o=ln();return rg(o,wt,e,a)};var $i={readContext:Ln,use:Cu,useCallback:bg,useContext:Ln,useEffect:nd,useImperativeHandle:yg,useInsertionEffect:mg,useLayoutEffect:vg,useMemo:_g,useReducer:Jf,useRef:hg,useState:function(){return Jf(Na)},useDebugValue:rd,useDeferredValue:function(e,a){var o=ln();return wt===null?ad(o,e,a):wg(o,wt.memoizedState,e,a)},useTransition:function(){var e=Jf(Na)[0],a=ln().memoizedState;return[typeof e=="boolean"?e:es(e),a]},useSyncExternalStore:Xv,useId:Tg};$i.useCacheRefresh=xg,$i.useMemoCache=Xf,$i.useHostTransitionStatus=ld,$i.useFormState=dg,$i.useActionState=dg,$i.useOptimistic=function(e,a){var o=ln();return wt!==null?rg(o,wt,e,a):(o.baseState=e,[e,o.queue.dispatch])};function sd(e,a,o,u){a=e.memoizedState,o=o(u,a),o=o==null?a:D({},a,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var ud={isMounted:function(e){return(e=e._reactInternals)?L(e)===e:!1},enqueueSetState:function(e,a,o){e=e._reactInternals;var u=ir(),f=ui(u);f.payload=a,o!=null&&(f.callback=o),a=ci(e,f,u),a!==null&&(In(a,e,u),as(a,e,u))},enqueueReplaceState:function(e,a,o){e=e._reactInternals;var u=ir(),f=ui(u);f.tag=1,f.payload=a,o!=null&&(f.callback=o),a=ci(e,f,u),a!==null&&(In(a,e,u),as(a,e,u))},enqueueForceUpdate:function(e,a){e=e._reactInternals;var o=ir(),u=ui(o);u.tag=2,a!=null&&(u.callback=a),a=ci(e,u,o),a!==null&&(In(a,e,o),as(a,e,o))}};function Cg(e,a,o,u,f,p,_){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(u,p,_):a.prototype&&a.prototype.isPureReactComponent?!Bo(o,u)||!Bo(f,p):!0}function Rg(e,a,o,u){e=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(o,u),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(o,u),a.state!==e&&ud.enqueueReplaceState(a,a.state,null)}function Ji(e,a){var o=a;if("ref"in a){o={};for(var u in a)u!=="ref"&&(o[u]=a[u])}if(e=e.defaultProps){o===a&&(o=D({},o));for(var f in e)o[f]===void 0&&(o[f]=e[f])}return o}var qu=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=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(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Ng(e){qu(e)}function kg(e){console.error(e)}function Lg(e){qu(e)}function Hu(e,a){try{var o=e.onUncaughtError;o(a.value,{componentStack:a.stack})}catch(u){setTimeout(function(){throw u})}}function qg(e,a,o){try{var u=e.onCaughtError;u(o.value,{componentStack:o.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function cd(e,a,o){return o=ui(o),o.tag=3,o.payload={element:null},o.callback=function(){Hu(e,a)},o}function Hg(e){return e=ui(e),e.tag=3,e}function Ug(e,a,o,u){var f=o.type.getDerivedStateFromError;if(typeof f=="function"){var p=u.value;e.payload=function(){return f(p)},e.callback=function(){qg(a,o,u)}}var _=o.stateNode;_!==null&&typeof _.componentDidCatch=="function"&&(e.callback=function(){qg(a,o,u),typeof f!="function"&&(vi===null?vi=new Set([this]):vi.add(this));var T=u.stack;this.componentDidCatch(u.value,{componentStack:T!==null?T:""})})}function Q_(e,a,o,u,f){if(o.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(a=o.alternate,a!==null&&rs(a,o,f,!0),o=yr.current,o!==null){switch(o.tag){case 13:return sa===null?Gd():o.alternate===null&&It===0&&(It=3),o.flags&=-257,o.flags|=65536,o.lanes=f,u===Yf?o.flags|=16384:(a=o.updateQueue,a===null?o.updateQueue=new Set([u]):a.add(u),Vd(e,u,f)),!1;case 22:return o.flags|=65536,u===Yf?o.flags|=16384:(a=o.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([u])},o.updateQueue=a):(o=a.retryQueue,o===null?a.retryQueue=new Set([u]):o.add(u)),Vd(e,u,f)),!1}throw Error(t(435,o.tag))}return Vd(e,u,f),Gd(),!1}if(dt)return a=yr.current,a!==null?(!(a.flags&65536)&&(a.flags|=256),a.flags|=65536,a.lanes=f,u!==zf&&(e=Error(t(422),{cause:u}),Wo(mr(e,o)))):(u!==zf&&(a=Error(t(423),{cause:u}),Wo(mr(a,o))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,u=mr(u,o),f=cd(e.stateNode,u,f),Td(e,f),It!==4&&(It=2)),!1;var p=Error(t(520),{cause:u});if(p=mr(p,o),ds===null?ds=[p]:ds.push(p),It!==4&&(It=2),a===null)return!0;u=mr(u,o),o=a;do{switch(o.tag){case 3:return o.flags|=65536,e=f&-f,o.lanes|=e,e=cd(o.stateNode,u,e),Td(o,e),!1;case 1:if(a=o.type,p=o.stateNode,(o.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(vi===null||!vi.has(p))))return o.flags|=65536,f&=-f,o.lanes|=f,f=Hg(f),Ug(f,e,o,u),Td(o,f),!1}o=o.return}while(o!==null);return!1}var Pg=Error(t(461)),wn=!1;function Cn(e,a,o,u){a.child=e===null?Iv(a,null,o,u):Zi(a,e.child,o,u)}function zg(e,a,o,u,f){o=o.render;var p=a.ref;if("ref"in u){var _={};for(var T in u)T!=="ref"&&(_[T]=u[T])}else _=u;return tl(a),u=Vf(e,a,o,_,p,f),T=Zf(),e!==null&&!wn?(Qf(e,a,f),ka(e,a,f)):(dt&&T&&Uf(a),a.flags|=1,Cn(e,a,u,f),a.child)}function Yg(e,a,o,u,f){if(e===null){var p=o.type;return typeof p=="function"&&!kd(p)&&p.defaultProps===void 0&&o.compare===null?(a.tag=15,a.type=p,jg(e,a,p,u,f)):(e=ju(o.type,null,u,a,a.mode,f),e.ref=a.ref,e.return=a,a.child=e)}if(p=e.child,!bd(e,f)){var _=p.memoizedProps;if(o=o.compare,o=o!==null?o:Bo,o(_,u)&&e.ref===a.ref)return ka(e,a,f)}return a.flags|=1,e=pi(p,u),e.ref=a.ref,e.return=a,a.child=e}function jg(e,a,o,u,f){if(e!==null){var p=e.memoizedProps;if(Bo(p,u)&&e.ref===a.ref)if(wn=!1,a.pendingProps=u=p,bd(e,f))e.flags&131072&&(wn=!0);else return a.lanes=e.lanes,ka(e,a,f)}return fd(e,a,o,u,f)}function Bg(e,a,o){var u=a.pendingProps,f=u.children,p=(a.stateNode._pendingVisibility&2)!==0,_=e!==null?e.memoizedState:null;if(ns(e,a),u.mode==="hidden"||p){if(a.flags&128){if(u=_!==null?_.baseLanes|o:o,e!==null){for(f=a.child=e.child,p=0;f!==null;)p=p|f.lanes|f.childLanes,f=f.sibling;a.childLanes=p&~u}else a.childLanes=0,a.child=null;return Ig(e,a,u,o)}if(o&536870912)a.memoizedState={baseLanes:0,cachePool:null},e!==null&&xu(a,_!==null?_.cachePool:null),_!==null?Fv(a,_):jf(),Gv(a);else return a.lanes=a.childLanes=536870912,Ig(e,a,_!==null?_.baseLanes|o:o,o)}else _!==null?(xu(a,_.cachePool),Fv(a,_),ai(),a.memoizedState=null):(e!==null&&xu(a,null),jf(),ai());return Cn(e,a,f,o),a.child}function Ig(e,a,o,u){var f=Gf();return f=f===null?null:{parent:hn._currentValue,pool:f},a.memoizedState={baseLanes:o,cachePool:f},e!==null&&xu(a,null),jf(),Gv(a),e!==null&&rs(e,a,u,!0),null}function ns(e,a){var o=a.ref;if(o===null)e!==null&&e.ref!==null&&(a.flags|=2097664);else{if(typeof o!="function"&&typeof o!="object")throw Error(t(284));(e===null||e.ref!==o)&&(a.flags|=2097664)}}function fd(e,a,o,u,f){return tl(a),o=Vf(e,a,o,u,void 0,f),u=Zf(),e!==null&&!wn?(Qf(e,a,f),ka(e,a,f)):(dt&&u&&Uf(a),a.flags|=1,Cn(e,a,o,f),a.child)}function Fg(e,a,o,u,f,p){return tl(a),a.updateQueue=null,o=Kv(a,u,o,f),Qv(e),u=Zf(),e!==null&&!wn?(Qf(e,a,p),ka(e,a,p)):(dt&&u&&Uf(a),a.flags|=1,Cn(e,a,o,p),a.child)}function Gg(e,a,o,u,f){if(tl(a),a.stateNode===null){var p=Ul,_=o.contextType;typeof _=="object"&&_!==null&&(p=Ln(_)),p=new o(u,p),a.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=ud,a.stateNode=p,p._reactInternals=a,p=a.stateNode,p.props=u,p.state=a.memoizedState,p.refs={},Sd(a),_=o.contextType,p.context=typeof _=="object"&&_!==null?Ln(_):Ul,p.state=a.memoizedState,_=o.getDerivedStateFromProps,typeof _=="function"&&(sd(a,o,_,u),p.state=a.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(_=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),_!==p.state&&ud.enqueueReplaceState(p,p.state,null),ls(a,u,p,f),is(),p.state=a.memoizedState),typeof p.componentDidMount=="function"&&(a.flags|=4194308),u=!0}else if(e===null){p=a.stateNode;var T=a.memoizedProps,H=Ji(o,T);p.props=H;var Z=p.context,ae=o.contextType;_=Ul,typeof ae=="object"&&ae!==null&&(_=Ln(ae));var oe=o.getDerivedStateFromProps;ae=typeof oe=="function"||typeof p.getSnapshotBeforeUpdate=="function",T=a.pendingProps!==T,ae||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(T||Z!==_)&&Rg(a,p,u,_),si=!1;var te=a.memoizedState;p.state=te,ls(a,u,p,f),is(),Z=a.memoizedState,T||te!==Z||si?(typeof oe=="function"&&(sd(a,o,oe,u),Z=a.memoizedState),(H=si||Cg(a,o,H,u,te,Z,_))?(ae||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"&&(a.flags|=4194308)):(typeof p.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=u,a.memoizedState=Z),p.props=u,p.state=Z,p.context=_,u=H):(typeof p.componentDidMount=="function"&&(a.flags|=4194308),u=!1)}else{p=a.stateNode,Dd(e,a),_=a.memoizedProps,ae=Ji(o,_),p.props=ae,oe=a.pendingProps,te=p.context,Z=o.contextType,H=Ul,typeof Z=="object"&&Z!==null&&(H=Ln(Z)),T=o.getDerivedStateFromProps,(Z=typeof T=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(_!==oe||te!==H)&&Rg(a,p,u,H),si=!1,te=a.memoizedState,p.state=te,ls(a,u,p,f),is();var re=a.memoizedState;_!==oe||te!==re||si||e!==null&&e.dependencies!==null&&Uu(e.dependencies)?(typeof T=="function"&&(sd(a,o,T,u),re=a.memoizedState),(ae=si||Cg(a,o,ae,u,te,re,H)||e!==null&&e.dependencies!==null&&Uu(e.dependencies))?(Z||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(u,re,H),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(u,re,H)),typeof p.componentDidUpdate=="function"&&(a.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof p.componentDidUpdate!="function"||_===e.memoizedProps&&te===e.memoizedState||(a.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||_===e.memoizedProps&&te===e.memoizedState||(a.flags|=1024),a.memoizedProps=u,a.memoizedState=re),p.props=u,p.state=re,p.context=H,u=ae):(typeof p.componentDidUpdate!="function"||_===e.memoizedProps&&te===e.memoizedState||(a.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||_===e.memoizedProps&&te===e.memoizedState||(a.flags|=1024),u=!1)}return p=u,ns(e,a),u=(a.flags&128)!==0,p||u?(p=a.stateNode,o=u&&typeof o.getDerivedStateFromError!="function"?null:p.render(),a.flags|=1,e!==null&&u?(a.child=Zi(a,e.child,null,f),a.child=Zi(a,null,o,f)):Cn(e,a,o,f),a.memoizedState=p.state,e=a.child):e=ka(e,a,f),e}function Wg(e,a,o,u){return Go(),a.flags|=256,Cn(e,a,o,u),a.child}var dd={dehydrated:null,treeContext:null,retryLane:0};function hd(e){return{baseLanes:e,cachePool:Zv()}}function pd(e,a,o){return e=e!==null?e.childLanes&~o:0,a&&(e|=Er),e}function Vg(e,a,o){var u=a.pendingProps,f=!1,p=(a.flags&128)!==0,_;if((_=p)||(_=e!==null&&e.memoizedState===null?!1:(dn.current&2)!==0),_&&(f=!0,a.flags&=-129),_=(a.flags&32)!==0,a.flags&=-33,e===null){if(dt){if(f?ri(a):ai(),dt){var T=An,H;if(H=T){e:{for(H=T,T=oa;H.nodeType!==8;){if(!T){T=null;break e}if(H=Br(H.nextSibling),H===null){T=null;break e}}T=H}T!==null?(a.memoizedState={dehydrated:T,treeContext:Gi!==null?{id:Aa,overflow:Ca}:null,retryLane:536870912},H=wr(18,null,null,0),H.stateNode=T,H.return=a,a.child=H,Bn=a,An=null,H=!0):H=!1}H||Vi(a)}if(T=a.memoizedState,T!==null&&(T=T.dehydrated,T!==null))return T.data==="$!"?a.lanes=16:a.lanes=536870912,null;Ra(a)}return T=u.children,u=u.fallback,f?(ai(),f=a.mode,T=vd({mode:"hidden",children:T},f),u=rl(u,f,o,null),T.return=a,u.return=a,T.sibling=u,a.child=T,f=a.child,f.memoizedState=hd(o),f.childLanes=pd(e,_,o),a.memoizedState=dd,u):(ri(a),md(a,T))}if(H=e.memoizedState,H!==null&&(T=H.dehydrated,T!==null)){if(p)a.flags&256?(ri(a),a.flags&=-257,a=gd(e,a,o)):a.memoizedState!==null?(ai(),a.child=e.child,a.flags|=128,a=null):(ai(),f=u.fallback,T=a.mode,u=vd({mode:"visible",children:u.children},T),f=rl(f,T,o,null),f.flags|=2,u.return=a,f.return=a,u.sibling=f,a.child=u,Zi(a,e.child,null,o),u=a.child,u.memoizedState=hd(o),u.childLanes=pd(e,_,o),a.memoizedState=dd,a=f);else if(ri(a),T.data==="$!"){if(_=T.nextSibling&&T.nextSibling.dataset,_)var Z=_.dgst;_=Z,u=Error(t(419)),u.stack="",u.digest=_,Wo({value:u,source:null,stack:null}),a=gd(e,a,o)}else if(wn||rs(e,a,o,!1),_=(o&e.childLanes)!==0,wn||_){if(_=Ct,_!==null){if(u=o&-o,u&42)u=1;else switch(u){case 2:u=1;break;case 8:u=4;break;case 32:u=16;break;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:case 4194304:case 8388608:case 16777216:case 33554432:u=64;break;case 268435456:u=134217728;break;default:u=0}if(u=u&(_.suspendedLanes|o)?0:u,u!==0&&u!==H.retryLane)throw H.retryLane=u,ni(e,u),In(_,e,u),Pg}T.data==="$?"||Gd(),a=gd(e,a,o)}else T.data==="$?"?(a.flags|=128,a.child=e.child,a=cw.bind(null,e),T._reactRetry=a,a=null):(e=H.treeContext,An=Br(T.nextSibling),Bn=a,dt=!0,Yr=null,oa=!1,e!==null&&(vr[gr++]=Aa,vr[gr++]=Ca,vr[gr++]=Gi,Aa=e.id,Ca=e.overflow,Gi=a),a=md(a,u.children),a.flags|=4096);return a}return f?(ai(),f=u.fallback,T=a.mode,H=e.child,Z=H.sibling,u=pi(H,{mode:"hidden",children:u.children}),u.subtreeFlags=H.subtreeFlags&31457280,Z!==null?f=pi(Z,f):(f=rl(f,T,o,null),f.flags|=2),f.return=a,u.return=a,u.sibling=f,a.child=u,u=f,f=a.child,T=e.child.memoizedState,T===null?T=hd(o):(H=T.cachePool,H!==null?(Z=hn._currentValue,H=H.parent!==Z?{parent:Z,pool:Z}:H):H=Zv(),T={baseLanes:T.baseLanes|o,cachePool:H}),f.memoizedState=T,f.childLanes=pd(e,_,o),a.memoizedState=dd,u):(ri(a),o=e.child,e=o.sibling,o=pi(o,{mode:"visible",children:u.children}),o.return=a,o.sibling=null,e!==null&&(_=a.deletions,_===null?(a.deletions=[e],a.flags|=16):_.push(e)),a.child=o,a.memoizedState=null,o)}function md(e,a){return a=vd({mode:"visible",children:a},e.mode),a.return=e,e.child=a}function vd(e,a){return b3(e,a,0,null)}function gd(e,a,o){return Zi(a,e.child,null,o),e=md(a,a.pendingProps.children),e.flags|=2,a.memoizedState=null,e}function Zg(e,a,o){e.lanes|=a;var u=e.alternate;u!==null&&(u.lanes|=a),wd(e.return,a,o)}function yd(e,a,o,u,f){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:u,tail:o,tailMode:f}:(p.isBackwards=a,p.rendering=null,p.renderingStartTime=0,p.last=u,p.tail=o,p.tailMode=f)}function Qg(e,a,o){var u=a.pendingProps,f=u.revealOrder,p=u.tail;if(Cn(e,a,u.children,o),u=dn.current,u&2)u=u&1|2,a.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=a.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Zg(e,o,a);else if(e.tag===19)Zg(e,o,a);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===a)break e;for(;e.sibling===null;){if(e.return===null||e.return===a)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}switch(ze(dn,u),f){case"forwards":for(o=a.child,f=null;o!==null;)e=o.alternate,e!==null&&Tu(e)===null&&(f=o),o=o.sibling;o=f,o===null?(f=a.child,a.child=null):(f=o.sibling,o.sibling=null),yd(a,!1,f,o,p);break;case"backwards":for(o=null,f=a.child,a.child=null;f!==null;){if(e=f.alternate,e!==null&&Tu(e)===null){a.child=f;break}e=f.sibling,f.sibling=o,o=f,f=e}yd(a,!0,o,null,p);break;case"together":yd(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function ka(e,a,o){if(e!==null&&(a.dependencies=e.dependencies),mi|=a.lanes,!(o&a.childLanes))if(e!==null){if(rs(e,a,o,!1),(o&a.childLanes)===0)return null}else return null;if(e!==null&&a.child!==e.child)throw Error(t(153));if(a.child!==null){for(e=a.child,o=pi(e,e.pendingProps),a.child=o,o.return=a;e.sibling!==null;)e=e.sibling,o=o.sibling=pi(e,e.pendingProps),o.return=a;o.sibling=null}return a.child}function bd(e,a){return e.lanes&a?!0:(e=e.dependencies,!!(e!==null&&Uu(e)))}function K_(e,a,o){switch(a.tag){case 3:He(a,a.stateNode.containerInfo),oi(a,hn,e.memoizedState.cache),Go();break;case 27:case 5:Vt(a);break;case 4:He(a,a.stateNode.containerInfo);break;case 10:oi(a,a.type,a.memoizedProps.value);break;case 13:var u=a.memoizedState;if(u!==null)return u.dehydrated!==null?(ri(a),a.flags|=128,null):o&a.child.childLanes?Vg(e,a,o):(ri(a),e=ka(e,a,o),e!==null?e.sibling:null);ri(a);break;case 19:var f=(e.flags&128)!==0;if(u=(o&a.childLanes)!==0,u||(rs(e,a,o,!1),u=(o&a.childLanes)!==0),f){if(u)return Qg(e,a,o);a.flags|=128}if(f=a.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),ze(dn,dn.current),u)break;return null;case 22:case 23:return a.lanes=0,Bg(e,a,o);case 24:oi(a,hn,e.memoizedState.cache)}return ka(e,a,o)}function Kg(e,a,o){if(e!==null)if(e.memoizedProps!==a.pendingProps)wn=!0;else{if(!bd(e,o)&&!(a.flags&128))return wn=!1,K_(e,a,o);wn=!!(e.flags&131072)}else wn=!1,dt&&a.flags&1048576&&Lv(a,_u,a.index);switch(a.lanes=0,a.tag){case 16:e:{e=a.pendingProps;var u=a.elementType,f=u._init;if(u=f(u._payload),a.type=u,typeof u=="function")kd(u)?(e=Ji(u,e),a.tag=1,a=Gg(null,a,u,e,o)):(a.tag=0,a=fd(null,a,u,e,o));else{if(u!=null){if(f=u.$$typeof,f===x){a.tag=11,a=zg(null,a,u,e,o);break e}else if(f===N){a.tag=14,a=Yg(null,a,u,e,o);break e}}throw a=w(u)||u,Error(t(306,a,""))}}return a;case 0:return fd(e,a,a.type,a.pendingProps,o);case 1:return u=a.type,f=Ji(u,a.pendingProps),Gg(e,a,u,f,o);case 3:e:{if(He(a,a.stateNode.containerInfo),e===null)throw Error(t(387));var p=a.pendingProps;f=a.memoizedState,u=f.element,Dd(e,a),ls(a,p,null,o);var _=a.memoizedState;if(p=_.cache,oi(a,hn,p),p!==f.cache&&Ed(a,[hn],o,!0),is(),p=_.element,f.isDehydrated)if(f={element:p,isDehydrated:!1,cache:_.cache},a.updateQueue.baseState=f,a.memoizedState=f,a.flags&256){a=Wg(e,a,p,o);break e}else if(p!==u){u=mr(Error(t(424)),a),Wo(u),a=Wg(e,a,p,o);break e}else for(An=Br(a.stateNode.containerInfo.firstChild),Bn=a,dt=!0,Yr=null,oa=!0,o=Iv(a,null,p,o),a.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(Go(),p===u){a=ka(e,a,o);break e}Cn(e,a,p,o)}a=a.child}return a;case 26:return ns(e,a),e===null?(o=J3(a.type,null,a.pendingProps,null))?a.memoizedState=o:dt||(o=a.type,e=a.pendingProps,u=Ju(et.current).createElement(o),u[it]=a,u[we]=e,Rn(u,o,e),je(u),a.stateNode=u):a.memoizedState=J3(a.type,e.memoizedProps,a.pendingProps,e.memoizedState),null;case 27:return Vt(a),e===null&&dt&&(u=a.stateNode=K3(a.type,a.pendingProps,et.current),Bn=a,oa=!0,An=Br(u.firstChild)),u=a.pendingProps.children,e!==null||dt?Cn(e,a,u,o):a.child=Zi(a,null,u,o),ns(e,a),a.child;case 5:return e===null&&dt&&((f=u=An)&&(u=xw(u,a.type,a.pendingProps,oa),u!==null?(a.stateNode=u,Bn=a,An=Br(u.firstChild),oa=!1,f=!0):f=!1),f||Vi(a)),Vt(a),f=a.type,p=a.pendingProps,_=e!==null?e.memoizedProps:null,u=p.children,i1(f,p)?u=null:_!==null&&i1(f,_)&&(a.flags|=32),a.memoizedState!==null&&(f=Vf(e,a,I_,null,null,o),ws._currentValue=f),ns(e,a),Cn(e,a,u,o),a.child;case 6:return e===null&&dt&&((e=o=An)&&(o=Ow(o,a.pendingProps,oa),o!==null?(a.stateNode=o,Bn=a,An=null,e=!0):e=!1),e||Vi(a)),null;case 13:return Vg(e,a,o);case 4:return He(a,a.stateNode.containerInfo),u=a.pendingProps,e===null?a.child=Zi(a,null,u,o):Cn(e,a,u,o),a.child;case 11:return zg(e,a,a.type,a.pendingProps,o);case 7:return Cn(e,a,a.pendingProps,o),a.child;case 8:return Cn(e,a,a.pendingProps.children,o),a.child;case 12:return Cn(e,a,a.pendingProps.children,o),a.child;case 10:return u=a.pendingProps,oi(a,a.type,u.value),Cn(e,a,u.children,o),a.child;case 9:return f=a.type._context,u=a.pendingProps.children,tl(a),f=Ln(f),u=u(f),a.flags|=1,Cn(e,a,u,o),a.child;case 14:return Yg(e,a,a.type,a.pendingProps,o);case 15:return jg(e,a,a.type,a.pendingProps,o);case 19:return Qg(e,a,o);case 22:return Bg(e,a,o);case 24:return tl(a),u=Ln(hn),e===null?(f=Gf(),f===null&&(f=Ct,p=If(),f.pooledCache=p,p.refCount++,p!==null&&(f.pooledCacheLanes|=o),f=p),a.memoizedState={parent:u,cache:f},Sd(a),oi(a,hn,f)):(e.lanes&o&&(Dd(e,a),ls(a,null,null,o),is()),f=e.memoizedState,p=a.memoizedState,f.parent!==u?(f={parent:u,cache:u},a.memoizedState=f,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=f),oi(a,hn,u)):(u=p.cache,oi(a,hn,u),u!==f.cache&&Ed(a,[hn],o,!0))),Cn(e,a,a.pendingProps.children,o),a.child;case 29:throw a.pendingProps}throw Error(t(156,a.tag))}var _d=Oe(null),el=null,La=null;function oi(e,a,o){ze(_d,a._currentValue),a._currentValue=o}function qa(e){e._currentValue=_d.current,Je(_d)}function wd(e,a,o){for(;e!==null;){var u=e.alternate;if((e.childLanes&a)!==a?(e.childLanes|=a,u!==null&&(u.childLanes|=a)):u!==null&&(u.childLanes&a)!==a&&(u.childLanes|=a),e===o)break;e=e.return}}function Ed(e,a,o,u){var f=e.child;for(f!==null&&(f.return=e);f!==null;){var p=f.dependencies;if(p!==null){var _=f.child;p=p.firstContext;e:for(;p!==null;){var T=p;p=f;for(var H=0;H<a.length;H++)if(T.context===a[H]){p.lanes|=o,T=p.alternate,T!==null&&(T.lanes|=o),wd(p.return,o,e),u||(_=null);break e}p=T.next}}else if(f.tag===18){if(_=f.return,_===null)throw Error(t(341));_.lanes|=o,p=_.alternate,p!==null&&(p.lanes|=o),wd(_,o,e),_=null}else _=f.child;if(_!==null)_.return=f;else for(_=f;_!==null;){if(_===e){_=null;break}if(f=_.sibling,f!==null){f.return=_.return,_=f;break}_=_.return}f=_}}function rs(e,a,o,u){e=null;for(var f=a,p=!1;f!==null;){if(!p){if(f.flags&524288)p=!0;else if(f.flags&262144)break}if(f.tag===10){var _=f.alternate;if(_===null)throw Error(t(387));if(_=_.memoizedProps,_!==null){var T=f.type;tr(f.pendingProps.value,_.value)||(e!==null?e.push(T):e=[T])}}else if(f===Qe.current){if(_=f.alternate,_===null)throw Error(t(387));_.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(ws):e=[ws])}f=f.return}e!==null&&Ed(a,e,o,u),a.flags|=262144}function Uu(e){for(e=e.firstContext;e!==null;){if(!tr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function tl(e){el=e,La=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ln(e){return Xg(el,e)}function Pu(e,a){return el===null&&tl(e),Xg(e,a)}function Xg(e,a){var o=a._currentValue;if(a={context:a,memoizedValue:o,next:null},La===null){if(e===null)throw Error(t(308));La=a,e.dependencies={lanes:0,firstContext:a},e.flags|=524288}else La=La.next=a;return o}var si=!1;function Sd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Dd(e,a){e=e.updateQueue,a.updateQueue===e&&(a.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ui(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ci(e,a,o){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,Pt&2){var f=u.pending;return f===null?a.next=a:(a.next=f.next,f.next=a),u.pending=a,a=yu(e),Nv(e,null,o),a}return gu(e,u,a,o),yu(e)}function as(e,a,o){if(a=a.updateQueue,a!==null&&(a=a.shared,(o&4194176)!==0)){var u=a.lanes;u&=e.pendingLanes,o|=u,a.lanes=o,at(e,o)}}function Td(e,a){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 _={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};p===null?f=p=_:p=p.next=_,o=o.next}while(o!==null);p===null?f=p=a:p=p.next=a}else f=p=a;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=a:e.next=a,o.lastBaseUpdate=a}var xd=!1;function is(){if(xd){var e=Il;if(e!==null)throw e}}function ls(e,a,o,u){xd=!1;var f=e.updateQueue;si=!1;var p=f.firstBaseUpdate,_=f.lastBaseUpdate,T=f.shared.pending;if(T!==null){f.shared.pending=null;var H=T,Z=H.next;H.next=null,_===null?p=Z:_.next=Z,_=H;var ae=e.alternate;ae!==null&&(ae=ae.updateQueue,T=ae.lastBaseUpdate,T!==_&&(T===null?ae.firstBaseUpdate=Z:T.next=Z,ae.lastBaseUpdate=H))}if(p!==null){var oe=f.baseState;_=0,ae=Z=H=null,T=p;do{var te=T.lane&-536870913,re=te!==T.lane;if(re?(st&te)===te:(u&te)===te){te!==0&&te===Bl&&(xd=!0),ae!==null&&(ae=ae.next={lane:0,tag:T.tag,payload:T.payload,callback:null,next:null});e:{var Te=e,Be=T;te=a;var Ft=o;switch(Be.tag){case 1:if(Te=Be.payload,typeof Te=="function"){oe=Te.call(Ft,oe,te);break e}oe=Te;break e;case 3:Te.flags=Te.flags&-65537|128;case 0:if(Te=Be.payload,te=typeof Te=="function"?Te.call(Ft,oe,te):Te,te==null)break e;oe=D({},oe,te);break e;case 2:si=!0}}te=T.callback,te!==null&&(e.flags|=64,re&&(e.flags|=8192),re=f.callbacks,re===null?f.callbacks=[te]:re.push(te))}else re={lane:te,tag:T.tag,payload:T.payload,callback:T.callback,next:null},ae===null?(Z=ae=re,H=oe):ae=ae.next=re,_|=te;if(T=T.next,T===null){if(T=f.shared.pending,T===null)break;re=T,T=re.next,re.next=null,f.lastBaseUpdate=re,f.shared.pending=null}}while(!0);ae===null&&(H=oe),f.baseState=H,f.firstBaseUpdate=Z,f.lastBaseUpdate=ae,p===null&&(f.shared.lanes=0),mi|=_,e.lanes=_,e.memoizedState=oe}}function $g(e,a){if(typeof e!="function")throw Error(t(191,e));e.call(a)}function Jg(e,a){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)$g(o[e],a)}function os(e,a){try{var o=a.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,_=o.inst;u=p(),_.destroy=u}o=o.next}while(o!==f)}}catch(T){Ot(a,a.return,T)}}function fi(e,a,o){try{var u=a.updateQueue,f=u!==null?u.lastEffect:null;if(f!==null){var p=f.next;u=p;do{if((u.tag&e)===e){var _=u.inst,T=_.destroy;if(T!==void 0){_.destroy=void 0,f=a;var H=o;try{T()}catch(Z){Ot(f,H,Z)}}}u=u.next}while(u!==p)}}catch(Z){Ot(a,a.return,Z)}}function e3(e){var a=e.updateQueue;if(a!==null){var o=e.stateNode;try{Jg(a,o)}catch(u){Ot(e,e.return,u)}}}function t3(e,a,o){o.props=Ji(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(u){Ot(e,a,u)}}function nl(e,a){try{var o=e.ref;if(o!==null){var u=e.stateNode;switch(e.tag){case 26:case 27:case 5:var f=u;break;default:f=u}typeof o=="function"?e.refCleanup=o(f):o.current=f}}catch(p){Ot(e,a,p)}}function nr(e,a){var o=e.ref,u=e.refCleanup;if(o!==null)if(typeof u=="function")try{u()}catch(f){Ot(e,a,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(f){Ot(e,a,f)}else o.current=null}function n3(e){var a=e.type,o=e.memoizedProps,u=e.stateNode;try{e:switch(a){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){Ot(e,e.return,f)}}function r3(e,a,o){try{var u=e.stateNode;ww(u,e.type,o,a),u[we]=a}catch(f){Ot(e,e.return,f)}}function a3(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27||e.tag===4}function Od(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||a3(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==27&&e.tag!==18;){if(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 Md(e,a,o){var u=e.tag;if(u===5||u===6)e=e.stateNode,a?o.nodeType===8?o.parentNode.insertBefore(e,a):o.insertBefore(e,a):(o.nodeType===8?(a=o.parentNode,a.insertBefore(e,o)):(a=o,a.appendChild(e)),o=o._reactRootContainer,o!=null||a.onclick!==null||(a.onclick=$u));else if(u!==4&&u!==27&&(e=e.child,e!==null))for(Md(e,a,o),e=e.sibling;e!==null;)Md(e,a,o),e=e.sibling}function zu(e,a,o){var u=e.tag;if(u===5||u===6)e=e.stateNode,a?o.insertBefore(e,a):o.appendChild(e);else if(u!==4&&u!==27&&(e=e.child,e!==null))for(zu(e,a,o),e=e.sibling;e!==null;)zu(e,a,o),e=e.sibling}var Ha=!1,Bt=!1,Ad=!1,i3=typeof WeakSet=="function"?WeakSet:Set,En=null,l3=!1;function X_(e,a){if(e=e.containerInfo,r1=ic,e=Sv(e),Rf(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 _=0,T=-1,H=-1,Z=0,ae=0,oe=e,te=null;t:for(;;){for(var re;oe!==o||f!==0&&oe.nodeType!==3||(T=_+f),oe!==p||u!==0&&oe.nodeType!==3||(H=_+u),oe.nodeType===3&&(_+=oe.nodeValue.length),(re=oe.firstChild)!==null;)te=oe,oe=re;for(;;){if(oe===e)break t;if(te===o&&++Z===f&&(T=_),te===p&&++ae===u&&(H=_),(re=oe.nextSibling)!==null)break;oe=te,te=oe.parentNode}oe=re}o=T===-1||H===-1?null:{start:T,end:H}}else o=null}o=o||{start:0,end:0}}else o=null;for(a1={focusedElem:e,selectionRange:o},ic=!1,En=a;En!==null;)if(a=En,e=a.child,(a.subtreeFlags&1028)!==0&&e!==null)e.return=a,En=e;else for(;En!==null;){switch(a=En,p=a.alternate,e=a.flags,a.tag){case 0:break;case 11:case 15:break;case 1:if(e&1024&&p!==null){e=void 0,o=a,f=p.memoizedProps,p=p.memoizedState,u=o.stateNode;try{var Te=Ji(o.type,f,o.elementType===o.type);e=u.getSnapshotBeforeUpdate(Te,p),u.__reactInternalSnapshotBeforeUpdate=e}catch(Be){Ot(o,o.return,Be)}}break;case 3:if(e&1024){if(e=a.stateNode.containerInfo,o=e.nodeType,o===9)s1(e);else if(o===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":s1(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(t(163))}if(e=a.sibling,e!==null){e.return=a.return,En=e;break}En=a.return}return Te=l3,l3=!1,Te}function o3(e,a,o){var u=o.flags;switch(o.tag){case 0:case 11:case 15:Pa(e,o),u&4&&os(5,o);break;case 1:if(Pa(e,o),u&4)if(e=o.stateNode,a===null)try{e.componentDidMount()}catch(T){Ot(o,o.return,T)}else{var f=Ji(o.type,a.memoizedProps);a=a.memoizedState;try{e.componentDidUpdate(f,a,e.__reactInternalSnapshotBeforeUpdate)}catch(T){Ot(o,o.return,T)}}u&64&&e3(o),u&512&&nl(o,o.return);break;case 3:if(Pa(e,o),u&64&&(u=o.updateQueue,u!==null)){if(e=null,o.child!==null)switch(o.child.tag){case 27:case 5:e=o.child.stateNode;break;case 1:e=o.child.stateNode}try{Jg(u,e)}catch(T){Ot(o,o.return,T)}}break;case 26:Pa(e,o),u&512&&nl(o,o.return);break;case 27:case 5:Pa(e,o),a===null&&u&4&&n3(o),u&512&&nl(o,o.return);break;case 12:Pa(e,o);break;case 13:Pa(e,o),u&4&&c3(e,o);break;case 22:if(f=o.memoizedState!==null||Ha,!f){a=a!==null&&a.memoizedState!==null||Bt;var p=Ha,_=Bt;Ha=f,(Bt=a)&&!_?di(e,o,(o.subtreeFlags&8772)!==0):Pa(e,o),Ha=p,Bt=_}u&512&&(o.memoizedProps.mode==="manual"?nl(o,o.return):nr(o,o.return));break;default:Pa(e,o)}}function s3(e){var a=e.alternate;a!==null&&(e.alternate=null,s3(a)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(a=e.stateNode,a!==null&&Y(a)),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 on=null,rr=!1;function Ua(e,a,o){for(o=o.child;o!==null;)u3(e,a,o),o=o.sibling}function u3(e,a,o){if(Re&&typeof Re.onCommitFiberUnmount=="function")try{Re.onCommitFiberUnmount(St,o)}catch{}switch(o.tag){case 26:Bt||nr(o,a),Ua(e,a,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:Bt||nr(o,a);var u=on,f=rr;for(on=o.stateNode,Ua(e,a,o),o=o.stateNode,a=o.attributes;a.length;)o.removeAttributeNode(a[0]);Y(o),on=u,rr=f;break;case 5:Bt||nr(o,a);case 6:f=on;var p=rr;if(on=null,Ua(e,a,o),on=f,rr=p,on!==null)if(rr)try{e=on,u=o.stateNode,e.nodeType===8?e.parentNode.removeChild(u):e.removeChild(u)}catch(_){Ot(o,a,_)}else try{on.removeChild(o.stateNode)}catch(_){Ot(o,a,_)}break;case 18:on!==null&&(rr?(a=on,o=o.stateNode,a.nodeType===8?o1(a.parentNode,o):a.nodeType===1&&o1(a,o),Ts(a)):o1(on,o.stateNode));break;case 4:u=on,f=rr,on=o.stateNode.containerInfo,rr=!0,Ua(e,a,o),on=u,rr=f;break;case 0:case 11:case 14:case 15:Bt||fi(2,o,a),Bt||fi(4,o,a),Ua(e,a,o);break;case 1:Bt||(nr(o,a),u=o.stateNode,typeof u.componentWillUnmount=="function"&&t3(o,a,u)),Ua(e,a,o);break;case 21:Ua(e,a,o);break;case 22:Bt||nr(o,a),Bt=(u=Bt)||o.memoizedState!==null,Ua(e,a,o),Bt=u;break;default:Ua(e,a,o)}}function c3(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ts(e)}catch(o){Ot(a,a.return,o)}}function $_(e){switch(e.tag){case 13:case 19:var a=e.stateNode;return a===null&&(a=e.stateNode=new i3),a;case 22:return e=e.stateNode,a=e._retryCache,a===null&&(a=e._retryCache=new i3),a;default:throw Error(t(435,e.tag))}}function Cd(e,a){var o=$_(e);a.forEach(function(u){var f=fw.bind(null,e,u);o.has(u)||(o.add(u),u.then(f,f))})}function br(e,a){var o=a.deletions;if(o!==null)for(var u=0;u<o.length;u++){var f=o[u],p=e,_=a,T=_;e:for(;T!==null;){switch(T.tag){case 27:case 5:on=T.stateNode,rr=!1;break e;case 3:on=T.stateNode.containerInfo,rr=!0;break e;case 4:on=T.stateNode.containerInfo,rr=!0;break e}T=T.return}if(on===null)throw Error(t(160));u3(p,_,f),on=null,rr=!1,p=f.alternate,p!==null&&(p.return=null),f.return=null}if(a.subtreeFlags&13878)for(a=a.child;a!==null;)f3(a,e),a=a.sibling}var jr=null;function f3(e,a){var o=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:br(a,e),_r(e),u&4&&(fi(3,e,e.return),os(3,e),fi(5,e,e.return));break;case 1:br(a,e),_r(e),u&512&&(Bt||o===null||nr(o,o.return)),u&64&&Ha&&(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(br(a,e),_r(e),u&512&&(Bt||o===null||nr(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[Ee]||p[it]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=f.createElement(u),f.head.insertBefore(p,f.querySelector("head > title"))),Rn(p,u,o),p[it]=e,je(p),u=p;break e;case"link":var _=n6("link","href",f).get(u+(o.href||""));if(_){for(var T=0;T<_.length;T++)if(p=_[T],p.getAttribute("href")===(o.href==null?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)){_.splice(T,1);break t}}p=f.createElement(u),Rn(p,u,o),f.head.appendChild(p);break;case"meta":if(_=n6("meta","content",f).get(u+(o.content||""))){for(T=0;T<_.length;T++)if(p=_[T],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)){_.splice(T,1);break t}}p=f.createElement(u),Rn(p,u,o),f.head.appendChild(p);break;default:throw Error(t(468,u))}p[it]=e,je(p),u=p}e.stateNode=u}else r6(f,e.type,e.stateNode);else e.stateNode=t6(f,u,e.memoizedProps);else p!==u?(p===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):p.count--,u===null?r6(f,e.type,e.stateNode):t6(f,u,e.memoizedProps)):u===null&&e.stateNode!==null&&r3(e,e.memoizedProps,o.memoizedProps)}break;case 27:if(u&4&&e.alternate===null){f=e.stateNode,p=e.memoizedProps;try{for(var H=f.firstChild;H;){var Z=H.nextSibling,ae=H.nodeName;H[Ee]||ae==="HEAD"||ae==="BODY"||ae==="SCRIPT"||ae==="STYLE"||ae==="LINK"&&H.rel.toLowerCase()==="stylesheet"||f.removeChild(H),H=Z}for(var oe=e.type,te=f.attributes;te.length;)f.removeAttributeNode(te[0]);Rn(f,oe,p),f[it]=e,f[we]=p}catch(Te){Ot(e,e.return,Te)}}case 5:if(br(a,e),_r(e),u&512&&(Bt||o===null||nr(o,o.return)),e.flags&32){f=e.stateNode;try{hr(f,"")}catch(Te){Ot(e,e.return,Te)}}u&4&&e.stateNode!=null&&(f=e.memoizedProps,r3(e,f,o!==null?o.memoizedProps:f)),u&1024&&(Ad=!0);break;case 6:if(br(a,e),_r(e),u&4){if(e.stateNode===null)throw Error(t(162));u=e.memoizedProps,o=e.stateNode;try{o.nodeValue=u}catch(Te){Ot(e,e.return,Te)}}break;case 3:if(nc=null,f=jr,jr=ec(a.containerInfo),br(a,e),jr=f,_r(e),u&4&&o!==null&&o.memoizedState.isDehydrated)try{Ts(a.containerInfo)}catch(Te){Ot(e,e.return,Te)}Ad&&(Ad=!1,d3(e));break;case 4:u=jr,jr=ec(e.stateNode.containerInfo),br(a,e),_r(e),jr=u;break;case 12:br(a,e),_r(e);break;case 13:br(a,e),_r(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(zd=Ke()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Cd(e,u)));break;case 22:if(u&512&&(Bt||o===null||nr(o,o.return)),H=e.memoizedState!==null,Z=o!==null&&o.memoizedState!==null,ae=Ha,oe=Bt,Ha=ae||H,Bt=oe||Z,br(a,e),Bt=oe,Ha=ae,_r(e),a=e.stateNode,a._current=e,a._visibility&=-3,a._visibility|=a._pendingVisibility&2,u&8192&&(a._visibility=H?a._visibility&-2:a._visibility|1,H&&(a=Ha||Bt,o===null||Z||a||Vl(e)),e.memoizedProps===null||e.memoizedProps.mode!=="manual"))e:for(o=null,a=e;;){if(a.tag===5||a.tag===26||a.tag===27){if(o===null){Z=o=a;try{if(f=Z.stateNode,H)p=f.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none";else{_=Z.stateNode,T=Z.memoizedProps.style;var re=T!=null&&T.hasOwnProperty("display")?T.display:null;_.style.display=re==null||typeof re=="boolean"?"":(""+re).trim()}}catch(Te){Ot(Z,Z.return,Te)}}}else if(a.tag===6){if(o===null){Z=a;try{Z.stateNode.nodeValue=H?"":Z.memoizedProps}catch(Te){Ot(Z,Z.return,Te)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===e)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break e;for(;a.sibling===null;){if(a.return===null||a.return===e)break e;o===a&&(o=null),a=a.return}o===a&&(o=null),a.sibling.return=a.return,a=a.sibling}u&4&&(u=e.updateQueue,u!==null&&(o=u.retryQueue,o!==null&&(u.retryQueue=null,Cd(e,o))));break;case 19:br(a,e),_r(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Cd(e,u)));break;case 21:break;default:br(a,e),_r(e)}}function _r(e){var a=e.flags;if(a&2){try{if(e.tag!==27){e:{for(var o=e.return;o!==null;){if(a3(o)){var u=o;break e}o=o.return}throw Error(t(160))}switch(u.tag){case 27:var f=u.stateNode,p=Od(e);zu(e,p,f);break;case 5:var _=u.stateNode;u.flags&32&&(hr(_,""),u.flags&=-33);var T=Od(e);zu(e,T,_);break;case 3:case 4:var H=u.stateNode.containerInfo,Z=Od(e);Md(e,Z,H);break;default:throw Error(t(161))}}}catch(ae){Ot(e,e.return,ae)}e.flags&=-3}a&4096&&(e.flags&=-4097)}function d3(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var a=e;d3(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),e=e.sibling}}function Pa(e,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)o3(e,a.alternate,a),a=a.sibling}function Vl(e){for(e=e.child;e!==null;){var a=e;switch(a.tag){case 0:case 11:case 14:case 15:fi(4,a,a.return),Vl(a);break;case 1:nr(a,a.return);var o=a.stateNode;typeof o.componentWillUnmount=="function"&&t3(a,a.return,o),Vl(a);break;case 26:case 27:case 5:nr(a,a.return),Vl(a);break;case 22:nr(a,a.return),a.memoizedState===null&&Vl(a);break;default:Vl(a)}e=e.sibling}}function di(e,a,o){for(o=o&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var u=a.alternate,f=e,p=a,_=p.flags;switch(p.tag){case 0:case 11:case 15:di(f,p,o),os(4,p);break;case 1:if(di(f,p,o),u=p,f=u.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(Z){Ot(u,u.return,Z)}if(u=p,f=u.updateQueue,f!==null){var T=u.stateNode;try{var H=f.shared.hiddenCallbacks;if(H!==null)for(f.shared.hiddenCallbacks=null,f=0;f<H.length;f++)$g(H[f],T)}catch(Z){Ot(u,u.return,Z)}}o&&_&64&&e3(p),nl(p,p.return);break;case 26:case 27:case 5:di(f,p,o),o&&u===null&&_&4&&n3(p),nl(p,p.return);break;case 12:di(f,p,o);break;case 13:di(f,p,o),o&&_&4&&c3(f,p);break;case 22:p.memoizedState===null&&di(f,p,o),nl(p,p.return);break;default:di(f,p,o)}a=a.sibling}}function Rd(e,a){var o=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),e=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(e=a.memoizedState.cachePool.pool),e!==o&&(e!=null&&e.refCount++,o!=null&&Xo(o))}function Nd(e,a){e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&Xo(e))}function hi(e,a,o,u){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)h3(e,a,o,u),a=a.sibling}function h3(e,a,o,u){var f=a.flags;switch(a.tag){case 0:case 11:case 15:hi(e,a,o,u),f&2048&&os(9,a);break;case 3:hi(e,a,o,u),f&2048&&(e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&Xo(e)));break;case 12:if(f&2048){hi(e,a,o,u),e=a.stateNode;try{var p=a.memoizedProps,_=p.id,T=p.onPostCommit;typeof T=="function"&&T(_,a.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(H){Ot(a,a.return,H)}}else hi(e,a,o,u);break;case 23:break;case 22:p=a.stateNode,a.memoizedState!==null?p._visibility&4?hi(e,a,o,u):ss(e,a):p._visibility&4?hi(e,a,o,u):(p._visibility|=4,Zl(e,a,o,u,(a.subtreeFlags&10256)!==0)),f&2048&&Rd(a.alternate,a);break;case 24:hi(e,a,o,u),f&2048&&Nd(a.alternate,a);break;default:hi(e,a,o,u)}}function Zl(e,a,o,u,f){for(f=f&&(a.subtreeFlags&10256)!==0,a=a.child;a!==null;){var p=e,_=a,T=o,H=u,Z=_.flags;switch(_.tag){case 0:case 11:case 15:Zl(p,_,T,H,f),os(8,_);break;case 23:break;case 22:var ae=_.stateNode;_.memoizedState!==null?ae._visibility&4?Zl(p,_,T,H,f):ss(p,_):(ae._visibility|=4,Zl(p,_,T,H,f)),f&&Z&2048&&Rd(_.alternate,_);break;case 24:Zl(p,_,T,H,f),f&&Z&2048&&Nd(_.alternate,_);break;default:Zl(p,_,T,H,f)}a=a.sibling}}function ss(e,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var o=e,u=a,f=u.flags;switch(u.tag){case 22:ss(o,u),f&2048&&Rd(u.alternate,u);break;case 24:ss(o,u),f&2048&&Nd(u.alternate,u);break;default:ss(o,u)}a=a.sibling}}var us=8192;function Ql(e){if(e.subtreeFlags&us)for(e=e.child;e!==null;)p3(e),e=e.sibling}function p3(e){switch(e.tag){case 26:Ql(e),e.flags&us&&e.memoizedState!==null&&Yw(jr,e.memoizedState,e.memoizedProps);break;case 5:Ql(e);break;case 3:case 4:var a=jr;jr=ec(e.stateNode.containerInfo),Ql(e),jr=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=us,us=16777216,Ql(e),us=a):Ql(e));break;default:Ql(e)}}function m3(e){var a=e.alternate;if(a!==null&&(e=a.child,e!==null)){a.child=null;do a=e.sibling,e.sibling=null,e=a;while(e!==null)}}function cs(e){var a=e.deletions;if(e.flags&16){if(a!==null)for(var o=0;o<a.length;o++){var u=a[o];En=u,g3(u,e)}m3(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)v3(e),e=e.sibling}function v3(e){switch(e.tag){case 0:case 11:case 15:cs(e),e.flags&2048&&fi(9,e,e.return);break;case 3:cs(e);break;case 12:cs(e);break;case 22:var a=e.stateNode;e.memoizedState!==null&&a._visibility&4&&(e.return===null||e.return.tag!==13)?(a._visibility&=-5,Yu(e)):cs(e);break;default:cs(e)}}function Yu(e){var a=e.deletions;if(e.flags&16){if(a!==null)for(var o=0;o<a.length;o++){var u=a[o];En=u,g3(u,e)}m3(e)}for(e=e.child;e!==null;){switch(a=e,a.tag){case 0:case 11:case 15:fi(8,a,a.return),Yu(a);break;case 22:o=a.stateNode,o._visibility&4&&(o._visibility&=-5,Yu(a));break;default:Yu(a)}e=e.sibling}}function g3(e,a){for(;En!==null;){var o=En;switch(o.tag){case 0:case 11:case 15:fi(8,o,a);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:Xo(o.memoizedState.cache)}if(u=o.child,u!==null)u.return=o,En=u;else e:for(o=e;En!==null;){u=En;var f=u.sibling,p=u.return;if(s3(u),u===o){En=null;break e}if(f!==null){f.return=p,En=f;break e}En=p}}}function J_(e,a,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=a,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 wr(e,a,o,u){return new J_(e,a,o,u)}function kd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pi(e,a){var o=e.alternate;return o===null?(o=wr(e.tag,a,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=a,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&31457280,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,a=e.dependencies,o.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.refCleanup=e.refCleanup,o}function y3(e,a){e.flags&=31457282;var o=e.alternate;return o===null?(e.childLanes=0,e.lanes=a,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,a=o.dependencies,e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),e}function ju(e,a,o,u,f,p){var _=0;if(u=e,typeof e=="function")kd(e)&&(_=1);else if(typeof e=="string")_=Pw(e,o,rt.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case h:return rl(o.children,f,p,a);case m:_=8,f|=24;break;case v:return e=wr(12,o,a,f|2),e.elementType=v,e.lanes=p,e;case A:return e=wr(13,o,a,f),e.elementType=A,e.lanes=p,e;case C:return e=wr(19,o,a,f),e.elementType=C,e.lanes=p,e;case j:return b3(o,f,p,a);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case g:case S:_=10;break e;case b:_=9;break e;case x:_=11;break e;case N:_=14;break e;case O:_=16,u=null;break e}_=29,o=Error(t(130,e===null?"null":typeof e,"")),u=null}return a=wr(_,o,a,f),a.elementType=e,a.type=u,a.lanes=p,a}function rl(e,a,o,u){return e=wr(7,e,u,a),e.lanes=o,e}function b3(e,a,o,u){e=wr(22,e,u,a),e.elementType=j,e.lanes=o;var f={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var p=f._current;if(p===null)throw Error(t(456));if(!(f._pendingVisibility&2)){var _=ni(p,2);_!==null&&(f._pendingVisibility|=2,In(_,p,2))}},attach:function(){var p=f._current;if(p===null)throw Error(t(456));if(f._pendingVisibility&2){var _=ni(p,2);_!==null&&(f._pendingVisibility&=-3,In(_,p,2))}}};return e.stateNode=f,e}function Ld(e,a,o){return e=wr(6,e,null,a),e.lanes=o,e}function qd(e,a,o){return a=wr(4,e.children!==null?e.children:[],e.key,a),a.lanes=o,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}function za(e){e.flags|=4}function _3(e,a){if(a.type!=="stylesheet"||a.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!a6(a)){if(a=yr.current,a!==null&&((st&4194176)===st?sa!==null:(st&62914560)!==st&&!(st&536870912)||a!==sa))throw Zo=Yf,Uv;e.flags|=8192}}function Bu(e,a){a!==null&&(e.flags|=4),e.flags&16384&&(a=e.tag!==22?Ht():536870912,e.lanes|=a,Xl|=a)}function fs(e,a){if(!dt)switch(e.tailMode){case"hidden":a=e.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.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?a||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Ut(e){var a=e.alternate!==null&&e.alternate.child===e.child,o=0,u=0;if(a)for(var f=e.child;f!==null;)o|=f.lanes|f.childLanes,u|=f.subtreeFlags&31457280,u|=f.flags&31457280,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,a}function ew(e,a,o){var u=a.pendingProps;switch(Pf(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ut(a),null;case 1:return Ut(a),null;case 3:return o=a.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),a.memoizedState.cache!==u&&(a.flags|=2048),qa(hn),xn(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(Fo(a)?za(a):e===null||e.memoizedState.isDehydrated&&!(a.flags&256)||(a.flags|=1024,Yr!==null&&(Id(Yr),Yr=null))),Ut(a),null;case 26:return o=a.memoizedState,e===null?(za(a),o!==null?(Ut(a),_3(a,o)):(Ut(a),a.flags&=-16777217)):o?o!==e.memoizedState?(za(a),Ut(a),_3(a,o)):(Ut(a),a.flags&=-16777217):(e.memoizedProps!==u&&za(a),Ut(a),a.flags&=-16777217),null;case 27:Jt(a),o=et.current;var f=a.type;if(e!==null&&a.stateNode!=null)e.memoizedProps!==u&&za(a);else{if(!u){if(a.stateNode===null)throw Error(t(166));return Ut(a),null}e=rt.current,Fo(a)?qv(a):(e=K3(f,u,o),a.stateNode=e,za(a))}return Ut(a),null;case 5:if(Jt(a),o=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==u&&za(a);else{if(!u){if(a.stateNode===null)throw Error(t(166));return Ut(a),null}if(e=rt.current,Fo(a))qv(a);else{switch(f=Ju(et.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[it]=a,e[we]=u;e:for(f=a.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===a)break e;for(;f.sibling===null;){if(f.return===null||f.return===a)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}a.stateNode=e;e:switch(Rn(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&&za(a)}}return Ut(a),a.flags&=-16777217,null;case 6:if(e&&a.stateNode!=null)e.memoizedProps!==u&&za(a);else{if(typeof u!="string"&&a.stateNode===null)throw Error(t(166));if(e=et.current,Fo(a)){if(e=a.stateNode,o=a.memoizedProps,u=null,f=Bn,f!==null)switch(f.tag){case 27:case 5:u=f.memoizedProps}e[it]=a,e=!!(e.nodeValue===o||u!==null&&u.suppressHydrationWarning===!0||F3(e.nodeValue,o)),e||Vi(a)}else e=Ju(e).createTextNode(u),e[it]=a,a.stateNode=e}return Ut(a),null;case 13:if(u=a.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=Fo(a),u!==null&&u.dehydrated!==null){if(e===null){if(!f)throw Error(t(318));if(f=a.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(t(317));f[it]=a}else Go(),!(a.flags&128)&&(a.memoizedState=null),a.flags|=4;Ut(a),f=!1}else Yr!==null&&(Id(Yr),Yr=null),f=!0;if(!f)return a.flags&256?(Ra(a),a):(Ra(a),null)}if(Ra(a),a.flags&128)return a.lanes=o,a;if(o=u!==null,e=e!==null&&e.memoizedState!==null,o){u=a.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&&(a.child.flags|=8192),Bu(a,a.updateQueue),Ut(a),null;case 4:return xn(),e===null&&e1(a.stateNode.containerInfo),Ut(a),null;case 10:return qa(a.type),Ut(a),null;case 19:if(Je(dn),f=a.memoizedState,f===null)return Ut(a),null;if(u=(a.flags&128)!==0,p=f.rendering,p===null)if(u)fs(f,!1);else{if(It!==0||e!==null&&e.flags&128)for(e=a.child;e!==null;){if(p=Tu(e),p!==null){for(a.flags|=128,fs(f,!1),e=p.updateQueue,a.updateQueue=e,Bu(a,e),a.subtreeFlags=0,e=o,o=a.child;o!==null;)y3(o,e),o=o.sibling;return ze(dn,dn.current&1|2),a.child}e=e.sibling}f.tail!==null&&Ke()>Iu&&(a.flags|=128,u=!0,fs(f,!1),a.lanes=4194304)}else{if(!u)if(e=Tu(p),e!==null){if(a.flags|=128,u=!0,e=e.updateQueue,a.updateQueue=e,Bu(a,e),fs(f,!0),f.tail===null&&f.tailMode==="hidden"&&!p.alternate&&!dt)return Ut(a),null}else 2*Ke()-f.renderingStartTime>Iu&&o!==536870912&&(a.flags|=128,u=!0,fs(f,!1),a.lanes=4194304);f.isBackwards?(p.sibling=a.child,a.child=p):(e=f.last,e!==null?e.sibling=p:a.child=p,f.last=p)}return f.tail!==null?(a=f.tail,f.rendering=a,f.tail=a.sibling,f.renderingStartTime=Ke(),a.sibling=null,e=dn.current,ze(dn,u?e&1|2:e&1),a):(Ut(a),null);case 22:case 23:return Ra(a),Bf(),u=a.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(a.flags|=8192):u&&(a.flags|=8192),u?o&536870912&&!(a.flags&128)&&(Ut(a),a.subtreeFlags&6&&(a.flags|=8192)):Ut(a),o=a.updateQueue,o!==null&&Bu(a,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==o&&(a.flags|=2048),e!==null&&Je(Qi),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),a.memoizedState.cache!==o&&(a.flags|=2048),qa(hn),Ut(a),null;case 25:return null}throw Error(t(156,a.tag))}function tw(e,a){switch(Pf(a),a.tag){case 1:return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 3:return qa(hn),xn(),e=a.flags,e&65536&&!(e&128)?(a.flags=e&-65537|128,a):null;case 26:case 27:case 5:return Jt(a),null;case 13:if(Ra(a),e=a.memoizedState,e!==null&&e.dehydrated!==null){if(a.alternate===null)throw Error(t(340));Go()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 19:return Je(dn),null;case 4:return xn(),null;case 10:return qa(a.type),null;case 22:case 23:return Ra(a),Bf(),e!==null&&Je(Qi),e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 24:return qa(hn),null;case 25:return null;default:return null}}function w3(e,a){switch(Pf(a),a.tag){case 3:qa(hn),xn();break;case 26:case 27:case 5:Jt(a);break;case 4:xn();break;case 13:Ra(a);break;case 19:Je(dn);break;case 10:qa(a.type);break;case 22:case 23:Ra(a),Bf(),e!==null&&Je(Qi);break;case 24:qa(hn)}}var nw={getCacheForType:function(e){var a=Ln(hn),o=a.data.get(e);return o===void 0&&(o=e(),a.data.set(e,o)),o}},rw=typeof WeakMap=="function"?WeakMap:Map,Pt=0,Ct=null,tt=null,st=0,Rt=0,ar=null,Ya=!1,Kl=!1,Hd=!1,ja=0,It=0,mi=0,al=0,Ud=0,Er=0,Xl=0,ds=null,ca=null,Pd=!1,zd=0,Iu=1/0,Fu=null,vi=null,Gu=!1,il=null,hs=0,Yd=0,jd=null,ps=0,Bd=null;function ir(){if(Pt&2&&st!==0)return st&-st;if(E.T!==null){var e=Bl;return e!==0?e:Kd()}return vn()}function E3(){Er===0&&(Er=!(st&536870912)||dt?Ce():536870912);var e=yr.current;return e!==null&&(e.flags|=32),Er}function In(e,a,o){(e===Ct&&Rt===2||e.cancelPendingCommit!==null)&&($l(e,0),Ba(e,st,Er,!1)),he(e,o),(!(Pt&2)||e!==Ct)&&(e===Ct&&(!(Pt&2)&&(al|=o),It===4&&Ba(e,st,Er,!1)),fa(e))}function S3(e,a,o){if(Pt&6)throw Error(t(327));var u=!o&&(a&60)===0&&(a&e.expiredLanes)===0||Ve(e,a),f=u?lw(e,a):Wd(e,a,!0),p=u;do{if(f===0){Kl&&!u&&Ba(e,a,0,!1);break}else if(f===6)Ba(e,a,0,!Ya);else{if(o=e.current.alternate,p&&!aw(o)){f=Wd(e,a,!1),p=!1;continue}if(f===2){if(p=a,e.errorRecoveryDisabledLanes&p)var _=0;else _=e.pendingLanes&-536870913,_=_!==0?_:_&536870912?536870912:0;if(_!==0){a=_;e:{var T=e;f=ds;var H=T.current.memoizedState.isDehydrated;if(H&&($l(T,_).flags|=256),_=Wd(T,_,!1),_!==2){if(Hd&&!H){T.errorRecoveryDisabledLanes|=p,al|=p,f=4;break e}p=ca,ca=f,p!==null&&Id(p)}f=_}if(p=!1,f!==2)continue}}if(f===1){$l(e,0),Ba(e,a,0,!0);break}e:{switch(u=e,f){case 0:case 1:throw Error(t(345));case 4:if((a&4194176)===a){Ba(u,a,Er,!Ya);break e}break;case 2:ca=null;break;case 3:case 5:break;default:throw Error(t(329))}if(u.finishedWork=o,u.finishedLanes=a,(a&62914560)===a&&(p=zd+300-Ke(),10<p)){if(Ba(u,a,Er,!Ya),Dt(u,0)!==0)break e;u.timeoutHandle=V3(D3.bind(null,u,o,ca,Fu,Pd,a,Er,al,Xl,Ya,2,-0,0),p);break e}D3(u,o,ca,Fu,Pd,a,Er,al,Xl,Ya,0,-0,0)}}break}while(!0);fa(e)}function Id(e){ca===null?ca=e:ca.push.apply(ca,e)}function D3(e,a,o,u,f,p,_,T,H,Z,ae,oe,te){var re=a.subtreeFlags;if((re&8192||(re&16785408)===16785408)&&(_s={stylesheets:null,count:0,unsuspend:zw},p3(a),a=jw(),a!==null)){e.cancelPendingCommit=a(R3.bind(null,e,o,u,f,_,T,H,1,oe,te)),Ba(e,p,_,!Z);return}R3(e,o,u,f,_,T,H,ae,oe,te)}function aw(e){for(var a=e;;){var o=a.tag;if((o===0||o===11||o===15)&&a.flags&16384&&(o=a.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(!tr(p(),f))return!1}catch{return!1}}if(o=a.child,a.subtreeFlags&16384&&o!==null)o.return=a,a=o;else{if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ba(e,a,o,u){a&=~Ud,a&=~al,e.suspendedLanes|=a,e.pingedLanes&=~a,u&&(e.warmLanes|=a),u=e.expirationTimes;for(var f=a;0<f;){var p=31-At(f),_=1<<p;u[p]=-1,f&=~_}o!==0&&Ne(e,o,a)}function Wu(){return Pt&6?!0:(ms(0),!1)}function Fd(){if(tt!==null){if(Rt===0)var e=tt.return;else e=tt,La=el=null,Kf(e),Yl=null,Qo=0,e=tt;for(;e!==null;)w3(e.alternate,e),e=e.return;tt=null}}function $l(e,a){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;o!==-1&&(e.timeoutHandle=-1,Sw(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),Fd(),Ct=e,tt=o=pi(e.current,null),st=a,Rt=0,ar=null,Ya=!1,Kl=Ve(e,a),Hd=!1,Xl=Er=Ud=al=mi=It=0,ca=ds=null,Pd=!1,a&8&&(a|=a&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=a;0<u;){var f=31-At(u),p=1<<f;a|=e[f],u&=~p}return ja=a,vu(),o}function T3(e,a){Ze=null,E.H=ua,a===Vo?(a=Yv(),Rt=3):a===Uv?(a=Yv(),Rt=4):Rt=a===Pg?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,ar=a,tt===null&&(It=1,Hu(e,mr(a,e.current)))}function x3(){var e=E.H;return E.H=ua,e===null?ua:e}function O3(){var e=E.A;return E.A=nw,e}function Gd(){It=4,Ya||(st&4194176)!==st&&yr.current!==null||(Kl=!0),!(mi&134217727)&&!(al&134217727)||Ct===null||Ba(Ct,st,Er,!1)}function Wd(e,a,o){var u=Pt;Pt|=2;var f=x3(),p=O3();(Ct!==e||st!==a)&&(Fu=null,$l(e,a)),a=!1;var _=It;e:do try{if(Rt!==0&&tt!==null){var T=tt,H=ar;switch(Rt){case 8:Fd(),_=6;break e;case 3:case 2:case 6:yr.current===null&&(a=!0);var Z=Rt;if(Rt=0,ar=null,Jl(e,T,H,Z),o&&Kl){_=0;break e}break;default:Z=Rt,Rt=0,ar=null,Jl(e,T,H,Z)}}iw(),_=It;break}catch(ae){T3(e,ae)}while(!0);return a&&e.shellSuspendCounter++,La=el=null,Pt=u,E.H=f,E.A=p,tt===null&&(Ct=null,st=0,vu()),_}function iw(){for(;tt!==null;)M3(tt)}function lw(e,a){var o=Pt;Pt|=2;var u=x3(),f=O3();Ct!==e||st!==a?(Fu=null,Iu=Ke()+500,$l(e,a)):Kl=Ve(e,a);e:do try{if(Rt!==0&&tt!==null){a=tt;var p=ar;t:switch(Rt){case 1:Rt=0,ar=null,Jl(e,a,p,1);break;case 2:if(Pv(p)){Rt=0,ar=null,A3(a);break}a=function(){Rt===2&&Ct===e&&(Rt=7),fa(e)},p.then(a,a);break e;case 3:Rt=7;break e;case 4:Rt=5;break e;case 7:Pv(p)?(Rt=0,ar=null,A3(a)):(Rt=0,ar=null,Jl(e,a,p,7));break;case 5:var _=null;switch(tt.tag){case 26:_=tt.memoizedState;case 5:case 27:var T=tt;if(!_||a6(_)){Rt=0,ar=null;var H=T.sibling;if(H!==null)tt=H;else{var Z=T.return;Z!==null?(tt=Z,Vu(Z)):tt=null}break t}}Rt=0,ar=null,Jl(e,a,p,5);break;case 6:Rt=0,ar=null,Jl(e,a,p,6);break;case 8:Fd(),It=6;break e;default:throw Error(t(462))}}ow();break}catch(ae){T3(e,ae)}while(!0);return La=el=null,E.H=u,E.A=f,Pt=o,tt!==null?0:(Ct=null,st=0,vu(),It)}function ow(){for(;tt!==null&&!Fe();)M3(tt)}function M3(e){var a=Kg(e.alternate,e,ja);e.memoizedProps=e.pendingProps,a===null?Vu(e):tt=a}function A3(e){var a=e,o=a.alternate;switch(a.tag){case 15:case 0:a=Fg(o,a,a.pendingProps,a.type,void 0,st);break;case 11:a=Fg(o,a,a.pendingProps,a.type.render,a.ref,st);break;case 5:Kf(a);default:w3(o,a),a=tt=y3(a,ja),a=Kg(o,a,ja)}e.memoizedProps=e.pendingProps,a===null?Vu(e):tt=a}function Jl(e,a,o,u){La=el=null,Kf(a),Yl=null,Qo=0;var f=a.return;try{if(Q_(e,f,a,o,st)){It=1,Hu(e,mr(o,e.current)),tt=null;return}}catch(p){if(f!==null)throw tt=f,p;It=1,Hu(e,mr(o,e.current)),tt=null;return}a.flags&32768?(dt||u===1?e=!0:Kl||st&536870912?e=!1:(Ya=e=!0,(u===2||u===3||u===6)&&(u=yr.current,u!==null&&u.tag===13&&(u.flags|=16384))),C3(a,e)):Vu(a)}function Vu(e){var a=e;do{if(a.flags&32768){C3(a,Ya);return}e=a.return;var o=ew(a.alternate,a,ja);if(o!==null){tt=o;return}if(a=a.sibling,a!==null){tt=a;return}tt=a=e}while(a!==null);It===0&&(It=5)}function C3(e,a){do{var o=tw(e.alternate,e);if(o!==null){o.flags&=32767,tt=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!a&&(e=e.sibling,e!==null)){tt=e;return}tt=e=o}while(e!==null);It=6,tt=null}function R3(e,a,o,u,f,p,_,T,H,Z){var ae=E.T,oe=de.p;try{de.p=2,E.T=null,sw(e,a,o,u,oe,f,p,_,T,H,Z)}finally{E.T=ae,de.p=oe}}function sw(e,a,o,u,f,p,_,T){do eo();while(il!==null);if(Pt&6)throw Error(t(327));var H=e.finishedWork;if(u=e.finishedLanes,H===null)return null;if(e.finishedWork=null,e.finishedLanes=0,H===e.current)throw Error(t(177));e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var Z=H.lanes|H.childLanes;if(Z|=qf,Ae(e,u,Z,p,_,T),e===Ct&&(tt=Ct=null,st=0),!(H.subtreeFlags&10256)&&!(H.flags&10256)||Gu||(Gu=!0,Yd=Z,jd=o,dw(pn,function(){return eo(),null})),o=(H.flags&15990)!==0,H.subtreeFlags&15990||o?(o=E.T,E.T=null,p=de.p,de.p=2,_=Pt,Pt|=4,X_(e,H),f3(H,e),N_(a1,e.containerInfo),ic=!!r1,a1=r1=null,e.current=H,o3(e,H.alternate,H),Ue(),Pt=_,de.p=p,E.T=o):e.current=H,Gu?(Gu=!1,il=e,hs=u):N3(e,Z),Z=e.pendingLanes,Z===0&&(vi=null),Pn(H.stateNode),fa(e),a!==null)for(f=e.onRecoverableError,H=0;H<a.length;H++)Z=a[H],f(Z.value,{componentStack:Z.stack});return hs&3&&eo(),Z=e.pendingLanes,u&4194218&&Z&42?e===Bd?ps++:(ps=0,Bd=e):ps=0,ms(0),null}function N3(e,a){(e.pooledCacheLanes&=a)===0&&(a=e.pooledCache,a!=null&&(e.pooledCache=null,Xo(a)))}function eo(){if(il!==null){var e=il,a=Yd;Yd=0;var o=Tt(hs),u=E.T,f=de.p;try{if(de.p=32>o?32:o,E.T=null,il===null)var p=!1;else{o=jd,jd=null;var _=il,T=hs;if(il=null,hs=0,Pt&6)throw Error(t(331));var H=Pt;if(Pt|=4,v3(_.current),h3(_,_.current,T,o),Pt=H,ms(0,!1),Re&&typeof Re.onPostCommitFiberRoot=="function")try{Re.onPostCommitFiberRoot(St,_)}catch{}p=!0}return p}finally{de.p=f,E.T=u,N3(e,a)}}return!1}function k3(e,a,o){a=mr(o,a),a=cd(e.stateNode,a,2),e=ci(e,a,2),e!==null&&(he(e,2),fa(e))}function Ot(e,a,o){if(e.tag===3)k3(e,e,o);else for(;a!==null;){if(a.tag===3){k3(a,e,o);break}else if(a.tag===1){var u=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(vi===null||!vi.has(u))){e=mr(o,e),o=Hg(2),u=ci(a,o,2),u!==null&&(Ug(o,u,a,e),he(u,2),fa(u));break}}a=a.return}}function Vd(e,a,o){var u=e.pingCache;if(u===null){u=e.pingCache=new rw;var f=new Set;u.set(a,f)}else f=u.get(a),f===void 0&&(f=new Set,u.set(a,f));f.has(o)||(Hd=!0,f.add(o),e=uw.bind(null,e,a,o),a.then(e,e))}function uw(e,a,o){var u=e.pingCache;u!==null&&u.delete(a),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,Ct===e&&(st&o)===o&&(It===4||It===3&&(st&62914560)===st&&300>Ke()-zd?!(Pt&2)&&$l(e,0):Ud|=o,Xl===st&&(Xl=0)),fa(e)}function L3(e,a){a===0&&(a=Ht()),e=ni(e,a),e!==null&&(he(e,a),fa(e))}function cw(e){var a=e.memoizedState,o=0;a!==null&&(o=a.retryLane),L3(e,o)}function fw(e,a){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(a),L3(e,o)}function dw(e,a){return qe(e,a)}var Zu=null,to=null,Zd=!1,Qu=!1,Qd=!1,ll=0;function fa(e){e!==to&&e.next===null&&(to===null?Zu=to=e:to=to.next=e),Qu=!0,Zd||(Zd=!0,pw(hw))}function ms(e,a){if(!Qd&&Qu){Qd=!0;do for(var o=!1,u=Zu;u!==null;){if(e!==0){var f=u.pendingLanes;if(f===0)var p=0;else{var _=u.suspendedLanes,T=u.pingedLanes;p=(1<<31-At(42|e)+1)-1,p&=f&~(_&~T),p=p&201326677?p&201326677|1:p?p|2:0}p!==0&&(o=!0,U3(u,p))}else p=st,p=Dt(u,u===Ct?p:0),!(p&3)||Ve(u,p)||(o=!0,U3(u,p));u=u.next}while(o);Qd=!1}}function hw(){Qu=Zd=!1;var e=0;ll!==0&&(Ew()&&(e=ll),ll=0);for(var a=Ke(),o=null,u=Zu;u!==null;){var f=u.next,p=q3(u,a);p===0?(u.next=null,o===null?Zu=f:o.next=f,f===null&&(to=o)):(o=u,(e!==0||p&3)&&(Qu=!0)),u=f}ms(e)}function q3(e,a){for(var o=e.suspendedLanes,u=e.pingedLanes,f=e.expirationTimes,p=e.pendingLanes&-62914561;0<p;){var _=31-At(p),T=1<<_,H=f[_];H===-1?(!(T&o)||T&u)&&(f[_]=De(T,a)):H<=a&&(e.expiredLanes|=T),p&=~T}if(a=Ct,o=st,o=Dt(e,e===a?o:0),u=e.callbackNode,o===0||e===a&&Rt===2||e.cancelPendingCommit!==null)return u!==null&&u!==null&&ge(u),e.callbackNode=null,e.callbackPriority=0;if(!(o&3)||Ve(e,o)){if(a=o&-o,a===e.callbackPriority)return a;switch(u!==null&&ge(u),Tt(o)){case 2:case 8:o=Un;break;case 32:o=pn;break;case 268435456:o=Zn;break;default:o=pn}return u=H3.bind(null,e),o=qe(o,u),e.callbackPriority=a,e.callbackNode=o,a}return u!==null&&u!==null&&ge(u),e.callbackPriority=2,e.callbackNode=null,2}function H3(e,a){var o=e.callbackNode;if(eo()&&e.callbackNode!==o)return null;var u=st;return u=Dt(e,e===Ct?u:0),u===0?null:(S3(e,u,a),q3(e,Ke()),e.callbackNode!=null&&e.callbackNode===o?H3.bind(null,e):null)}function U3(e,a){if(eo())return null;S3(e,a,!0)}function pw(e){Dw(function(){Pt&6?qe(kt,e):e()})}function Kd(){return ll===0&&(ll=Ce()),ll}function P3(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:ei(""+e)}function z3(e,a){var o=a.ownerDocument.createElement("input");return o.name=a.name,o.value=a.value,e.id&&o.setAttribute("form",e.id),a.parentNode.insertBefore(o,a),e=new FormData(e),o.parentNode.removeChild(o),e}function mw(e,a,o,u,f){if(a==="submit"&&o&&o.stateNode===f){var p=P3((f[we]||null).action),_=u.submitter;_&&(a=(a=_[we]||null)?P3(a.formAction):_.getAttribute("formAction"),a!==null&&(p=a,_=null));var T=new gt("action","action",null,u,f);e.push({event:T,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(ll!==0){var H=_?z3(f,_):new FormData(f);id(o,{pending:!0,data:H,method:f.method,action:p},null,H)}}else typeof p=="function"&&(T.preventDefault(),H=_?z3(f,_):new FormData(f),id(o,{pending:!0,data:H,method:f.method,action:p},p,H))},currentTarget:f}]})}}for(var Xd=0;Xd<Rv.length;Xd++){var $d=Rv[Xd],vw=$d.toLowerCase(),gw=$d[0].toUpperCase()+$d.slice(1);zr(vw,"on"+gw)}zr(xv,"onAnimationEnd"),zr(Ov,"onAnimationIteration"),zr(Mv,"onAnimationStart"),zr("dblclick","onDoubleClick"),zr("focusin","onFocus"),zr("focusout","onBlur"),zr(L_,"onTransitionRun"),zr(q_,"onTransitionStart"),zr(H_,"onTransitionCancel"),zr(Av,"onTransitionEnd"),xt("onMouseEnter",["mouseout","mouseover"]),xt("onMouseLeave",["mouseout","mouseover"]),xt("onPointerEnter",["pointerout","pointerover"]),xt("onPointerLeave",["pointerout","pointerover"]),bn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),bn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),bn("onBeforeInput",["compositionend","keypress","textInput","paste"]),bn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),bn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),bn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vs="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(" "),yw=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(vs));function Y3(e,a){a=(a&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(a)for(var _=u.length-1;0<=_;_--){var T=u[_],H=T.instance,Z=T.currentTarget;if(T=T.listener,H!==p&&f.isPropagationStopped())break e;p=T,f.currentTarget=Z;try{p(f)}catch(ae){qu(ae)}f.currentTarget=null,p=H}else for(_=0;_<u.length;_++){if(T=u[_],H=T.instance,Z=T.currentTarget,T=T.listener,H!==p&&f.isPropagationStopped())break e;p=T,f.currentTarget=Z;try{p(f)}catch(ae){qu(ae)}f.currentTarget=null,p=H}}}}function lt(e,a){var o=a[mt];o===void 0&&(o=a[mt]=new Set);var u=e+"__bubble";o.has(u)||(j3(a,e,2,!1),o.add(u))}function Jd(e,a,o){var u=0;a&&(u|=4),j3(o,e,u,a)}var Ku="_reactListening"+Math.random().toString(36).slice(2);function e1(e){if(!e[Ku]){e[Ku]=!0,Zt.forEach(function(o){o!=="selectionchange"&&(yw.has(o)||Jd(o,!1,e),Jd(o,!0,e))});var a=e.nodeType===9?e:e.ownerDocument;a===null||a[Ku]||(a[Ku]=!0,Jd("selectionchange",!1,a))}}function j3(e,a,o,u){switch(c6(a)){case 2:var f=Fw;break;case 8:f=Gw;break;default:f=h1}o=f.bind(null,a,o,e),f=void 0,!Cl||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(f=!0),u?f!==void 0?e.addEventListener(a,o,{capture:!0,passive:f}):e.addEventListener(a,o,!0):f!==void 0?e.addEventListener(a,o,{passive:f}):e.addEventListener(a,o,!1)}function t1(e,a,o,u,f){var p=u;if(!(a&1)&&!(a&2)&&u!==null)e:for(;;){if(u===null)return;var _=u.tag;if(_===3||_===4){var T=u.stateNode.containerInfo;if(T===f||T.nodeType===8&&T.parentNode===f)break;if(_===4)for(_=u.return;_!==null;){var H=_.tag;if((H===3||H===4)&&(H=_.stateNode.containerInfo,H===f||H.nodeType===8&&H.parentNode===f))return;_=_.return}for(;T!==null;){if(_=le(T),_===null)return;if(H=_.tag,H===5||H===6||H===26||H===27){u=p=_;continue e}T=T.parentNode}}u=u.return}Ho(function(){var Z=p,ae=Ml(o),oe=[];e:{var te=Cv.get(e);if(te!==void 0){var re=gt,Te=e;switch(e){case"keypress":if(Nl(o)===0)break e;case"keydown":case"keyup":re=f_;break;case"focusin":Te="focus",re=xf;break;case"focusout":Te="blur",re=xf;break;case"beforeblur":case"afterblur":re=xf;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":re=Po;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":re=J9;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":re=p_;break;case xv:case Ov:case Mv:re=n_;break;case Av:re=v_;break;case"scroll":case"scrollend":re=fn;break;case"wheel":re=y_;break;case"copy":case"cut":case"paste":re=a_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":re=ov;break;case"toggle":case"beforetoggle":re=__}var Be=(a&4)!==0,Ft=!Be&&(e==="scroll"||e==="scrollend"),X=Be?te!==null?te+"Capture":null:te;Be=[];for(var W=Z,ee;W!==null;){var ie=W;if(ee=ie.stateNode,ie=ie.tag,ie!==5&&ie!==26&&ie!==27||ee===null||X===null||(ie=Ma(W,X),ie!=null&&Be.push(gs(W,ie,ee))),Ft)break;W=W.return}0<Be.length&&(te=new re(te,Te,null,o,ae),oe.push({event:te,listeners:Be}))}}if(!(a&7)){e:{if(te=e==="mouseover"||e==="pointerover",re=e==="mouseout"||e==="pointerout",te&&o!==Ol&&(Te=o.relatedTarget||o.fromElement)&&(le(Te)||Te[yn]))break e;if((re||te)&&(te=ae.window===ae?ae:(te=ae.ownerDocument)?te.defaultView||te.parentWindow:window,re?(Te=o.relatedTarget||o.toElement,re=Z,Te=Te?le(Te):null,Te!==null&&(Ft=L(Te),Be=Te.tag,Te!==Ft||Be!==5&&Be!==27&&Be!==6)&&(Te=null)):(re=null,Te=Z),re!==Te)){if(Be=Po,ie="onMouseLeave",X="onMouseEnter",W="mouse",(e==="pointerout"||e==="pointerover")&&(Be=ov,ie="onPointerLeave",X="onPointerEnter",W="pointer"),Ft=re==null?te:We(re),ee=Te==null?te:We(Te),te=new Be(ie,W+"leave",re,o,ae),te.target=Ft,te.relatedTarget=ee,ie=null,le(ae)===Z&&(Be=new Be(X,W+"enter",Te,o,ae),Be.target=ee,Be.relatedTarget=Ft,ie=Be),Ft=ie,re&&Te)t:{for(Be=re,X=Te,W=0,ee=Be;ee;ee=no(ee))W++;for(ee=0,ie=X;ie;ie=no(ie))ee++;for(;0<W-ee;)Be=no(Be),W--;for(;0<ee-W;)X=no(X),ee--;for(;W--;){if(Be===X||X!==null&&Be===X.alternate)break t;Be=no(Be),X=no(X)}Be=null}else Be=null;re!==null&&B3(oe,te,re,Be,!1),Te!==null&&Ft!==null&&B3(oe,Ft,Te,Be,!0)}}e:{if(te=Z?We(Z):window,re=te.nodeName&&te.nodeName.toLowerCase(),re==="select"||re==="input"&&te.type==="file")var Se=mv;else if(hv(te))if(vv)Se=C_;else{Se=M_;var Xe=O_}else re=te.nodeName,!re||re.toLowerCase()!=="input"||te.type!=="checkbox"&&te.type!=="radio"?Z&&la(Z.elementType)&&(Se=mv):Se=A_;if(Se&&(Se=Se(e,Z))){pv(oe,Se,o,ae);break e}Xe&&Xe(e,te,Z),e==="focusout"&&Z&&te.type==="number"&&Z.memoizedProps.value!=null&&qo(te,"number",te.value)}switch(Xe=Z?We(Z):window,e){case"focusin":(hv(Xe)||Xe.contentEditable==="true")&&(Ll=Xe,Nf=Z,Io=null);break;case"focusout":Io=Nf=Ll=null;break;case"mousedown":kf=!0;break;case"contextmenu":case"mouseup":case"dragend":kf=!1,Dv(oe,o,ae);break;case"selectionchange":if(k_)break;case"keydown":case"keyup":Dv(oe,o,ae)}var Me;if(Mf)e:{switch(e){case"compositionstart":var ke="onCompositionStart";break e;case"compositionend":ke="onCompositionEnd";break e;case"compositionupdate":ke="onCompositionUpdate";break e}ke=void 0}else kl?fv(e,o)&&(ke="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(ke="onCompositionStart");ke&&(sv&&o.locale!=="ko"&&(kl||ke!=="onCompositionStart"?ke==="onCompositionEnd"&&kl&&(Me=Uo()):(Ur=ae,Rl="value"in Ur?Ur.value:Ur.textContent,kl=!0)),Xe=Xu(Z,ke),0<Xe.length&&(ke=new lv(ke,e,null,o,ae),oe.push({event:ke,listeners:Xe}),Me?ke.data=Me:(Me=dv(o),Me!==null&&(ke.data=Me)))),(Me=E_?S_(e,o):D_(e,o))&&(ke=Xu(Z,"onBeforeInput"),0<ke.length&&(Xe=new lv("onBeforeInput","beforeinput",null,o,ae),oe.push({event:Xe,listeners:ke}),Xe.data=Me)),mw(oe,e,Z,o,ae)}Y3(oe,a)})}function gs(e,a,o){return{instance:e,listener:a,currentTarget:o}}function Xu(e,a){for(var o=a+"Capture",u=[];e!==null;){var f=e,p=f.stateNode;f=f.tag,f!==5&&f!==26&&f!==27||p===null||(f=Ma(e,o),f!=null&&u.unshift(gs(e,f,p)),f=Ma(e,a),f!=null&&u.push(gs(e,f,p))),e=e.return}return u}function no(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function B3(e,a,o,u,f){for(var p=a._reactName,_=[];o!==null&&o!==u;){var T=o,H=T.alternate,Z=T.stateNode;if(T=T.tag,H!==null&&H===u)break;T!==5&&T!==26&&T!==27||Z===null||(H=Z,f?(Z=Ma(o,p),Z!=null&&_.unshift(gs(o,Z,H))):f||(Z=Ma(o,p),Z!=null&&_.push(gs(o,Z,H)))),o=o.return}_.length!==0&&e.push({event:a,listeners:_})}var bw=/\r\n?/g,_w=/\u0000|\uFFFD/g;function I3(e){return(typeof e=="string"?e:""+e).replace(bw,`
`).replace(_w,"")}function F3(e,a){return a=I3(a),I3(e)===a}function $u(){}function Et(e,a,o,u,f,p){switch(o){case"children":typeof u=="string"?a==="body"||a==="textarea"&&u===""||hr(e,u):(typeof u=="number"||typeof u=="bigint")&&a!=="body"&&hr(e,""+u);break;case"className":Lr(e,"class",u);break;case"tabIndex":Lr(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Lr(e,o,u);break;case"style":Qt(e,u,p);break;case"data":if(a!=="object"){Lr(e,"data",u);break}case"src":case"href":if(u===""&&(a!=="a"||o!=="href")){e.removeAttribute(o);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(o);break}u=ei(""+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"?(a!=="input"&&Et(e,a,"name",f.name,f,null),Et(e,a,"formEncType",f.formEncType,f,null),Et(e,a,"formMethod",f.formMethod,f,null),Et(e,a,"formTarget",f.formTarget,f,null)):(Et(e,a,"encType",f.encType,f,null),Et(e,a,"method",f.method,f,null),Et(e,a,"target",f.target,f,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(o);break}u=ei(""+u),e.setAttribute(o,u);break;case"onClick":u!=null&&(e.onclick=$u);break;case"onScroll":u!=null&&lt("scroll",e);break;case"onScrollEnd":u!=null&&lt("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=ei(""+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":lt("beforetoggle",e),lt("toggle",e),kr(e,"popover",u);break;case"xlinkActuate":dr(e,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":dr(e,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":dr(e,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":dr(e,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":dr(e,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":dr(e,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":dr(e,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":dr(e,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":dr(e,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":kr(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=Tf.get(o)||o,kr(e,o,u))}}function n1(e,a,o,u,f,p){switch(o){case"style":Qt(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&&lt("scroll",e);break;case"onScrollEnd":u!=null&&lt("scrollend",e);break;case"onClick":u!=null&&(e.onclick=$u);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!nn.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(f=o.endsWith("Capture"),a=o.slice(2,f?o.length-7:void 0),p=e[we]||null,p=p!=null?p[o]:null,typeof p=="function"&&e.removeEventListener(a,p,f),typeof u=="function")){typeof p!="function"&&p!==null&&(o in e?e[o]=null:e.hasAttribute(o)&&e.removeAttribute(o)),e.addEventListener(a,u,f);break e}o in e?e[o]=u:u===!0?e.setAttribute(o,""):kr(e,o,u)}}}function Rn(e,a,o){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":lt("error",e),lt("load",e);var u=!1,f=!1,p;for(p in o)if(o.hasOwnProperty(p)){var _=o[p];if(_!=null)switch(p){case"src":u=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t(137,a));default:Et(e,a,p,_,o,null)}}f&&Et(e,a,"srcSet",o.srcSet,o,null),u&&Et(e,a,"src",o.src,o,null);return;case"input":lt("invalid",e);var T=p=_=f=null,H=null,Z=null;for(u in o)if(o.hasOwnProperty(u)){var ae=o[u];if(ae!=null)switch(u){case"name":f=ae;break;case"type":_=ae;break;case"checked":H=ae;break;case"defaultChecked":Z=ae;break;case"value":p=ae;break;case"defaultValue":T=ae;break;case"children":case"dangerouslySetInnerHTML":if(ae!=null)throw Error(t(137,a));break;default:Et(e,a,u,ae,o,null)}}xl(e,p,T,H,Z,_,f,!1),Ui(e);return;case"select":lt("invalid",e),u=_=p=null;for(f in o)if(o.hasOwnProperty(f)&&(T=o[f],T!=null))switch(f){case"value":p=T;break;case"defaultValue":_=T;break;case"multiple":u=T;default:Et(e,a,f,T,o,null)}a=p,o=_,e.multiple=!!u,a!=null?Hr(e,!!u,a,!1):o!=null&&Hr(e,!!u,o,!0);return;case"textarea":lt("invalid",e),p=f=u=null;for(_ in o)if(o.hasOwnProperty(_)&&(T=o[_],T!=null))switch(_){case"value":u=T;break;case"defaultValue":f=T;break;case"children":p=T;break;case"dangerouslySetInnerHTML":if(T!=null)throw Error(t(91));break;default:Et(e,a,_,T,o,null)}fu(e,u,f,p),Ui(e);return;case"option":for(H in o)if(o.hasOwnProperty(H)&&(u=o[H],u!=null))switch(H){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:Et(e,a,H,u,o,null)}return;case"dialog":lt("cancel",e),lt("close",e);break;case"iframe":case"object":lt("load",e);break;case"video":case"audio":for(u=0;u<vs.length;u++)lt(vs[u],e);break;case"image":lt("error",e),lt("load",e);break;case"details":lt("toggle",e);break;case"embed":case"source":case"link":lt("error",e),lt("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(Z in o)if(o.hasOwnProperty(Z)&&(u=o[Z],u!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":throw Error(t(137,a));default:Et(e,a,Z,u,o,null)}return;default:if(la(a)){for(ae in o)o.hasOwnProperty(ae)&&(u=o[ae],u!==void 0&&n1(e,a,ae,u,o,void 0));return}}for(T in o)o.hasOwnProperty(T)&&(u=o[T],u!=null&&Et(e,a,T,u,o,null))}function ww(e,a,o,u){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,p=null,_=null,T=null,H=null,Z=null,ae=null;for(re in o){var oe=o[re];if(o.hasOwnProperty(re)&&oe!=null)switch(re){case"checked":break;case"value":break;case"defaultValue":H=oe;default:u.hasOwnProperty(re)||Et(e,a,re,null,u,oe)}}for(var te in u){var re=u[te];if(oe=o[te],u.hasOwnProperty(te)&&(re!=null||oe!=null))switch(te){case"type":p=re;break;case"name":f=re;break;case"checked":Z=re;break;case"defaultChecked":ae=re;break;case"value":_=re;break;case"defaultValue":T=re;break;case"children":case"dangerouslySetInnerHTML":if(re!=null)throw Error(t(137,a));break;default:re!==oe&&Et(e,a,te,re,u,oe)}}zi(e,_,T,H,Z,ae,p,f);return;case"select":re=_=T=te=null;for(p in o)if(H=o[p],o.hasOwnProperty(p)&&H!=null)switch(p){case"value":break;case"multiple":re=H;default:u.hasOwnProperty(p)||Et(e,a,p,null,u,H)}for(f in u)if(p=u[f],H=o[f],u.hasOwnProperty(f)&&(p!=null||H!=null))switch(f){case"value":te=p;break;case"defaultValue":T=p;break;case"multiple":_=p;default:p!==H&&Et(e,a,f,p,u,H)}a=T,o=_,u=re,te!=null?Hr(e,!!o,te,!1):!!u!=!!o&&(a!=null?Hr(e,!!o,a,!0):Hr(e,!!o,o?[]:"",!1));return;case"textarea":re=te=null;for(T in o)if(f=o[T],o.hasOwnProperty(T)&&f!=null&&!u.hasOwnProperty(T))switch(T){case"value":break;case"children":break;default:Et(e,a,T,null,u,f)}for(_ in u)if(f=u[_],p=o[_],u.hasOwnProperty(_)&&(f!=null||p!=null))switch(_){case"value":te=f;break;case"defaultValue":re=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(t(91));break;default:f!==p&&Et(e,a,_,f,u,p)}Yi(e,te,re);return;case"option":for(var Te in o)if(te=o[Te],o.hasOwnProperty(Te)&&te!=null&&!u.hasOwnProperty(Te))switch(Te){case"selected":e.selected=!1;break;default:Et(e,a,Te,null,u,te)}for(H in u)if(te=u[H],re=o[H],u.hasOwnProperty(H)&&te!==re&&(te!=null||re!=null))switch(H){case"selected":e.selected=te&&typeof te!="function"&&typeof te!="symbol";break;default:Et(e,a,H,te,u,re)}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 Be in o)te=o[Be],o.hasOwnProperty(Be)&&te!=null&&!u.hasOwnProperty(Be)&&Et(e,a,Be,null,u,te);for(Z in u)if(te=u[Z],re=o[Z],u.hasOwnProperty(Z)&&te!==re&&(te!=null||re!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(t(137,a));break;default:Et(e,a,Z,te,u,re)}return;default:if(la(a)){for(var Ft in o)te=o[Ft],o.hasOwnProperty(Ft)&&te!==void 0&&!u.hasOwnProperty(Ft)&&n1(e,a,Ft,void 0,u,te);for(ae in u)te=u[ae],re=o[ae],!u.hasOwnProperty(ae)||te===re||te===void 0&&re===void 0||n1(e,a,ae,te,u,re);return}}for(var X in o)te=o[X],o.hasOwnProperty(X)&&te!=null&&!u.hasOwnProperty(X)&&Et(e,a,X,null,u,te);for(oe in u)te=u[oe],re=o[oe],!u.hasOwnProperty(oe)||te===re||te==null&&re==null||Et(e,a,oe,te,u,re)}var r1=null,a1=null;function Ju(e){return e.nodeType===9?e:e.ownerDocument}function G3(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 W3(e,a){if(e===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&a==="foreignObject"?0:e}function i1(e,a){return e==="textarea"||e==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var l1=null;function Ew(){var e=window.event;return e&&e.type==="popstate"?e===l1?!1:(l1=e,!0):(l1=null,!1)}var V3=typeof setTimeout=="function"?setTimeout:void 0,Sw=typeof clearTimeout=="function"?clearTimeout:void 0,Z3=typeof Promise=="function"?Promise:void 0,Dw=typeof queueMicrotask=="function"?queueMicrotask:typeof Z3<"u"?function(e){return Z3.resolve(null).then(e).catch(Tw)}:V3;function Tw(e){setTimeout(function(){throw e})}function o1(e,a){var o=a,u=0;do{var f=o.nextSibling;if(e.removeChild(o),f&&f.nodeType===8)if(o=f.data,o==="/$"){if(u===0){e.removeChild(f),Ts(a);return}u--}else o!=="$"&&o!=="$?"&&o!=="$!"||u++;o=f}while(o);Ts(a)}function s1(e){var a=e.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var o=a;switch(a=a.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":s1(o),Y(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function xw(e,a,o,u){for(;e.nodeType===1;){var f=o;if(e.nodeName.toLowerCase()!==a.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[Ee])switch(a){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?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(a==="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 Ow(e,a,o){if(a==="")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 Br(e){for(;e!=null;e=e.nextSibling){var a=e.nodeType;if(a===1||a===3)break;if(a===8){if(a=e.data,a==="$"||a==="$!"||a==="$?"||a==="F!"||a==="F")break;if(a==="/$")return null}}return e}function Q3(e){e=e.previousSibling;for(var a=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(a===0)return e;a--}else o==="/$"&&a++}e=e.previousSibling}return null}function K3(e,a,o){switch(a=Ju(o),e){case"html":if(e=a.documentElement,!e)throw Error(t(452));return e;case"head":if(e=a.head,!e)throw Error(t(453));return e;case"body":if(e=a.body,!e)throw Error(t(454));return e;default:throw Error(t(451))}}var Sr=new Map,X3=new Set;function ec(e){return typeof e.getRootNode=="function"?e.getRootNode():e.ownerDocument}var Ia=de.d;de.d={f:Mw,r:Aw,D:Cw,C:Rw,L:Nw,m:kw,X:qw,S:Lw,M:Hw};function Mw(){var e=Ia.f(),a=Wu();return e||a}function Aw(e){var a=me(e);a!==null&&a.tag===5&&a.type==="form"?Dg(a):Ia.r(e)}var ro=typeof document>"u"?null:document;function $3(e,a,o){var u=ro;if(u&&typeof a=="string"&&a){var f=cn(a);f='link[rel="'+e+'"][href="'+f+'"]',typeof o=="string"&&(f+='[crossorigin="'+o+'"]'),X3.has(f)||(X3.add(f),e={rel:e,crossOrigin:o,href:a},u.querySelector(f)===null&&(a=u.createElement("link"),Rn(a,"link",e),je(a),u.head.appendChild(a)))}}function Cw(e){Ia.D(e),$3("dns-prefetch",e,null)}function Rw(e,a){Ia.C(e,a),$3("preconnect",e,a)}function Nw(e,a,o){Ia.L(e,a,o);var u=ro;if(u&&e&&a){var f='link[rel="preload"][as="'+cn(a)+'"]';a==="image"&&o&&o.imageSrcSet?(f+='[imagesrcset="'+cn(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(f+='[imagesizes="'+cn(o.imageSizes)+'"]')):f+='[href="'+cn(e)+'"]';var p=f;switch(a){case"style":p=ao(e);break;case"script":p=io(e)}Sr.has(p)||(e=D({rel:"preload",href:a==="image"&&o&&o.imageSrcSet?void 0:e,as:a},o),Sr.set(p,e),u.querySelector(f)!==null||a==="style"&&u.querySelector(ys(p))||a==="script"&&u.querySelector(bs(p))||(a=u.createElement("link"),Rn(a,"link",e),je(a),u.head.appendChild(a)))}}function kw(e,a){Ia.m(e,a);var o=ro;if(o&&e){var u=a&&typeof a.as=="string"?a.as:"script",f='link[rel="modulepreload"][as="'+cn(u)+'"][href="'+cn(e)+'"]',p=f;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=io(e)}if(!Sr.has(p)&&(e=D({rel:"modulepreload",href:e},a),Sr.set(p,e),o.querySelector(f)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(bs(p)))return}u=o.createElement("link"),Rn(u,"link",e),je(u),o.head.appendChild(u)}}}function Lw(e,a,o){Ia.S(e,a,o);var u=ro;if(u&&e){var f=ct(u).hoistableStyles,p=ao(e);a=a||"default";var _=f.get(p);if(!_){var T={loading:0,preload:null};if(_=u.querySelector(ys(p)))T.loading=5;else{e=D({rel:"stylesheet",href:e,"data-precedence":a},o),(o=Sr.get(p))&&u1(e,o);var H=_=u.createElement("link");je(H),Rn(H,"link",e),H._p=new Promise(function(Z,ae){H.onload=Z,H.onerror=ae}),H.addEventListener("load",function(){T.loading|=1}),H.addEventListener("error",function(){T.loading|=2}),T.loading|=4,tc(_,a,u)}_={type:"stylesheet",instance:_,count:1,state:T},f.set(p,_)}}}function qw(e,a){Ia.X(e,a);var o=ro;if(o&&e){var u=ct(o).hoistableScripts,f=io(e),p=u.get(f);p||(p=o.querySelector(bs(f)),p||(e=D({src:e,async:!0},a),(a=Sr.get(f))&&c1(e,a),p=o.createElement("script"),je(p),Rn(p,"link",e),o.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},u.set(f,p))}}function Hw(e,a){Ia.M(e,a);var o=ro;if(o&&e){var u=ct(o).hoistableScripts,f=io(e),p=u.get(f);p||(p=o.querySelector(bs(f)),p||(e=D({src:e,async:!0,type:"module"},a),(a=Sr.get(f))&&c1(e,a),p=o.createElement("script"),je(p),Rn(p,"link",e),o.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},u.set(f,p))}}function J3(e,a,o,u){var f=(f=et.current)?ec(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"?(a=ao(o.href),o=ct(f).hoistableStyles,u=o.get(a),u||(u={type:"style",instance:null,count:0,state:null},o.set(a,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=ao(o.href);var p=ct(f).hoistableStyles,_=p.get(e);if(_||(f=f.ownerDocument||f,_={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(e,_),(p=f.querySelector(ys(e)))&&!p._p&&(_.instance=p,_.state.loading=5),Sr.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},Sr.set(e,o),p||Uw(f,e,o,_.state))),a&&u===null)throw Error(t(528,""));return _}if(a&&u!==null)throw Error(t(529,""));return null;case"script":return a=o.async,o=o.src,typeof o=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=io(o),o=ct(f).hoistableScripts,u=o.get(a),u||(u={type:"script",instance:null,count:0,state:null},o.set(a,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(t(444,e))}}function ao(e){return'href="'+cn(e)+'"'}function ys(e){return'link[rel="stylesheet"]['+e+"]"}function e6(e){return D({},e,{"data-precedence":e.precedence,precedence:null})}function Uw(e,a,o,u){e.querySelector('link[rel="preload"][as="style"]['+a+"]")?u.loading=1:(a=e.createElement("link"),u.preload=a,a.addEventListener("load",function(){return u.loading|=1}),a.addEventListener("error",function(){return u.loading|=2}),Rn(a,"link",o),je(a),e.head.appendChild(a))}function io(e){return'[src="'+cn(e)+'"]'}function bs(e){return"script[async]"+e}function t6(e,a,o){if(a.count++,a.instance===null)switch(a.type){case"style":var u=e.querySelector('style[data-href~="'+cn(o.href)+'"]');if(u)return a.instance=u,je(u),u;var f=D({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),je(u),Rn(u,"style",f),tc(u,o.precedence,e),a.instance=u;case"stylesheet":f=ao(o.href);var p=e.querySelector(ys(f));if(p)return a.state.loading|=4,a.instance=p,je(p),p;u=e6(o),(f=Sr.get(f))&&u1(u,f),p=(e.ownerDocument||e).createElement("link"),je(p);var _=p;return _._p=new Promise(function(T,H){_.onload=T,_.onerror=H}),Rn(p,"link",u),a.state.loading|=4,tc(p,o.precedence,e),a.instance=p;case"script":return p=io(o.src),(f=e.querySelector(bs(p)))?(a.instance=f,je(f),f):(u=o,(f=Sr.get(p))&&(u=D({},o),c1(u,f)),e=e.ownerDocument||e,f=e.createElement("script"),je(f),Rn(f,"link",u),e.head.appendChild(f),a.instance=f);case"void":return null;default:throw Error(t(443,a.type))}else a.type==="stylesheet"&&!(a.state.loading&4)&&(u=a.instance,a.state.loading|=4,tc(u,o.precedence,e));return a.instance}function tc(e,a,o){for(var u=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=u.length?u[u.length-1]:null,p=f,_=0;_<u.length;_++){var T=u[_];if(T.dataset.precedence===a)p=T;else if(p!==f)break}p?p.parentNode.insertBefore(e,p.nextSibling):(a=o.nodeType===9?o.head:o,a.insertBefore(e,a.firstChild))}function u1(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.title==null&&(e.title=a.title)}function c1(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.integrity==null&&(e.integrity=a.integrity)}var nc=null;function n6(e,a,o){if(nc===null){var u=new Map,f=nc=new Map;f.set(o,u)}else f=nc,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[Ee]||p[it]||e==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var _=p.getAttribute(a)||"";_=e+_;var T=u.get(_);T?T.push(p):u.set(_,[p])}}return u}function r6(e,a,o){e=e.ownerDocument||e,e.head.insertBefore(o,a==="title"?e.querySelector("head > title"):null)}function Pw(e,a,o){if(o===1||a.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return e=a.disabled,typeof a.precedence=="string"&&e==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function a6(e){return!(e.type==="stylesheet"&&!(e.state.loading&3))}var _s=null;function zw(){}function Yw(e,a,o){if(_s===null)throw Error(t(475));var u=_s;if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&!(a.state.loading&4)){if(a.instance===null){var f=ao(o.href),p=e.querySelector(ys(f));if(p){e=p._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(u.count++,u=rc.bind(u),e.then(u,u)),a.state.loading|=4,a.instance=p,je(p);return}p=e.ownerDocument||e,o=e6(o),(f=Sr.get(f))&&u1(o,f),p=p.createElement("link"),je(p);var _=p;_._p=new Promise(function(T,H){_.onload=T,_.onerror=H}),Rn(p,"link",o),a.instance=p}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(a,e),(e=a.state.preload)&&!(a.state.loading&3)&&(u.count++,a=rc.bind(u),e.addEventListener("load",a),e.addEventListener("error",a))}}function jw(){if(_s===null)throw Error(t(475));var e=_s;return e.stylesheets&&e.count===0&&f1(e,e.stylesheets),0<e.count?function(a){var o=setTimeout(function(){if(e.stylesheets&&f1(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(o)}}:null}function rc(){if(this.count--,this.count===0){if(this.stylesheets)f1(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ac=null;function f1(e,a){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ac=new Map,a.forEach(Bw,e),ac=null,rc.call(e))}function Bw(e,a){if(!(a.state.loading&4)){var o=ac.get(e);if(o)var u=o.get(null);else{o=new Map,ac.set(e,o);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<f.length;p++){var _=f[p];(_.nodeName==="LINK"||_.getAttribute("media")!=="not all")&&(o.set(_.dataset.precedence,_),u=_)}u&&o.set(null,u)}f=a.instance,_=f.getAttribute("data-precedence"),p=o.get(_)||u,p===u&&o.set(null,f),o.set(_,f),this.count++,u=rc.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)),a.state.loading|=4}}var ws={$$typeof:S,Provider:null,Consumer:null,_currentValue:fe,_currentValue2:fe,_threadCount:0};function Iw(e,a,o,u,f,p,_,T){this.tag=1,this.containerInfo=e,this.finishedWork=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=un(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=un(0),this.hiddenUpdates=un(null),this.identifierPrefix=u,this.onUncaughtError=f,this.onCaughtError=p,this.onRecoverableError=_,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.incompleteTransitions=new Map}function i6(e,a,o,u,f,p,_,T,H,Z,ae,oe){return e=new Iw(e,a,o,_,T,H,Z,oe),a=1,p===!0&&(a|=24),p=wr(3,null,null,a),e.current=p,p.stateNode=e,a=If(),a.refCount++,e.pooledCache=a,a.refCount++,p.memoizedState={element:u,isDehydrated:o,cache:a},Sd(p),e}function l6(e){return e?(e=Ul,e):Ul}function o6(e,a,o,u,f,p){f=l6(f),u.context===null?u.context=f:u.pendingContext=f,u=ui(a),u.payload={element:o},p=p===void 0?null:p,p!==null&&(u.callback=p),o=ci(e,u,a),o!==null&&(In(o,e,a),as(o,e,a))}function s6(e,a){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<a?o:a}}function d1(e,a){s6(e,a),(e=e.alternate)&&s6(e,a)}function u6(e){if(e.tag===13){var a=ni(e,67108864);a!==null&&In(a,e,67108864),d1(e,67108864)}}var ic=!0;function Fw(e,a,o,u){var f=E.T;E.T=null;var p=de.p;try{de.p=2,h1(e,a,o,u)}finally{de.p=p,E.T=f}}function Gw(e,a,o,u){var f=E.T;E.T=null;var p=de.p;try{de.p=8,h1(e,a,o,u)}finally{de.p=p,E.T=f}}function h1(e,a,o,u){if(ic){var f=p1(u);if(f===null)t1(e,a,u,lc,o),f6(e,u);else if(Vw(f,e,a,o,u))u.stopPropagation();else if(f6(e,u),a&4&&-1<Ww.indexOf(e)){for(;f!==null;){var p=me(f);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var _=kn(p.pendingLanes);if(_!==0){var T=p;for(T.pendingLanes|=2,T.entangledLanes|=2;_;){var H=1<<31-At(_);T.entanglements[1]|=H,_&=~H}fa(p),!(Pt&6)&&(Iu=Ke()+500,ms(0))}}break;case 13:T=ni(p,2),T!==null&&In(T,p,2),Wu(),d1(p,2)}if(p=p1(u),p===null&&t1(e,a,u,lc,o),p===f)break;f=p}f!==null&&u.stopPropagation()}else t1(e,a,u,null,o)}}function p1(e){return e=Ml(e),m1(e)}var lc=null;function m1(e){if(lc=null,e=le(e),e!==null){var a=L(e);if(a===null)e=null;else{var o=a.tag;if(o===13){if(e=J(a),e!==null)return e;e=null}else if(o===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;e=null}else a!==e&&(e=null)}}return lc=e,null}function c6(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(Nt()){case kt:return 2;case Un:return 8;case pn:case On:return 32;case Zn:return 268435456;default:return 32}default:return 32}}var v1=!1,gi=null,yi=null,bi=null,Es=new Map,Ss=new Map,_i=[],Ww="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 f6(e,a){switch(e){case"focusin":case"focusout":gi=null;break;case"dragenter":case"dragleave":yi=null;break;case"mouseover":case"mouseout":bi=null;break;case"pointerover":case"pointerout":Es.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ss.delete(a.pointerId)}}function Ds(e,a,o,u,f,p){return e===null||e.nativeEvent!==p?(e={blockedOn:a,domEventName:o,eventSystemFlags:u,nativeEvent:p,targetContainers:[f]},a!==null&&(a=me(a),a!==null&&u6(a)),e):(e.eventSystemFlags|=u,a=e.targetContainers,f!==null&&a.indexOf(f)===-1&&a.push(f),e)}function Vw(e,a,o,u,f){switch(a){case"focusin":return gi=Ds(gi,e,a,o,u,f),!0;case"dragenter":return yi=Ds(yi,e,a,o,u,f),!0;case"mouseover":return bi=Ds(bi,e,a,o,u,f),!0;case"pointerover":var p=f.pointerId;return Es.set(p,Ds(Es.get(p)||null,e,a,o,u,f)),!0;case"gotpointercapture":return p=f.pointerId,Ss.set(p,Ds(Ss.get(p)||null,e,a,o,u,f)),!0}return!1}function d6(e){var a=le(e.target);if(a!==null){var o=L(a);if(o!==null){if(a=o.tag,a===13){if(a=J(o),a!==null){e.blockedOn=a,gn(e.priority,function(){if(o.tag===13){var u=ir(),f=ni(o,u);f!==null&&In(f,o,u),d1(o,u)}});return}}else if(a===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function oc(e){if(e.blockedOn!==null)return!1;for(var a=e.targetContainers;0<a.length;){var o=p1(e.nativeEvent);if(o===null){o=e.nativeEvent;var u=new o.constructor(o.type,o);Ol=u,o.target.dispatchEvent(u),Ol=null}else return a=me(o),a!==null&&u6(a),e.blockedOn=o,!1;a.shift()}return!0}function h6(e,a,o){oc(e)&&o.delete(a)}function Zw(){v1=!1,gi!==null&&oc(gi)&&(gi=null),yi!==null&&oc(yi)&&(yi=null),bi!==null&&oc(bi)&&(bi=null),Es.forEach(h6),Ss.forEach(h6)}function sc(e,a){e.blockedOn===a&&(e.blockedOn=null,v1||(v1=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Zw)))}var uc=null;function p6(e){uc!==e&&(uc=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){uc===e&&(uc=null);for(var a=0;a<e.length;a+=3){var o=e[a],u=e[a+1],f=e[a+2];if(typeof u!="function"){if(m1(u||o)===null)continue;break}var p=me(o);p!==null&&(e.splice(a,3),a-=3,id(p,{pending:!0,data:f,method:o.method,action:u},u,f))}}))}function Ts(e){function a(H){return sc(H,e)}gi!==null&&sc(gi,e),yi!==null&&sc(yi,e),bi!==null&&sc(bi,e),Es.forEach(a),Ss.forEach(a);for(var o=0;o<_i.length;o++){var u=_i[o];u.blockedOn===e&&(u.blockedOn=null)}for(;0<_i.length&&(o=_i[0],o.blockedOn===null);)d6(o),o.blockedOn===null&&_i.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],_=f[we]||null;if(typeof p=="function")_||p6(o);else if(_){var T=null;if(p&&p.hasAttribute("formAction")){if(f=p,_=p[we]||null)T=_.formAction;else if(m1(f)!==null)continue}else T=_.action;typeof T=="function"?o[u+1]=T:(o.splice(u,3),u-=3),p6(o)}}}function g1(e){this._internalRoot=e}cc.prototype.render=g1.prototype.render=function(e){var a=this._internalRoot;if(a===null)throw Error(t(409));var o=a.current,u=ir();o6(o,u,e,a,null,null)},cc.prototype.unmount=g1.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var a=e.containerInfo;e.tag===0&&eo(),o6(e.current,2,null,e,null,null),Wu(),a[yn]=null}};function cc(e){this._internalRoot=e}cc.prototype.unstable_scheduleHydration=function(e){if(e){var a=vn();e={blockedOn:null,target:e,priority:a};for(var o=0;o<_i.length&&a!==0&&a<_i[o].priority;o++);_i.splice(o,0,e),o===0&&d6(e)}};var m6=i.version;if(m6!=="19.0.0")throw Error(t(527,m6,"19.0.0"));de.findDOMNode=function(e){var a=e._reactInternals;if(a===void 0)throw typeof e.render=="function"?Error(t(188)):(e=Object.keys(e).join(","),Error(t(268,e)));return e=I(a),e=e!==null?ce(e):null,e=e===null?null:e.stateNode,e};var Qw={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:E,findFiberByHostInstance:le,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var fc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fc.isDisabled&&fc.supportsFiber)try{St=fc.inject(Qw),Re=fc}catch{}}return Os.createRoot=function(e,a){if(!l(e))throw Error(t(299));var o=!1,u="",f=Ng,p=kg,_=Lg,T=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(u=a.identifierPrefix),a.onUncaughtError!==void 0&&(f=a.onUncaughtError),a.onCaughtError!==void 0&&(p=a.onCaughtError),a.onRecoverableError!==void 0&&(_=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(T=a.unstable_transitionCallbacks)),a=i6(e,1,!1,null,null,o,u,f,p,_,T,null),e[yn]=a.current,e1(e.nodeType===8?e.parentNode:e),new g1(a)},Os.hydrateRoot=function(e,a,o){if(!l(e))throw Error(t(299));var u=!1,f="",p=Ng,_=kg,T=Lg,H=null,Z=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&&(_=o.onCaughtError),o.onRecoverableError!==void 0&&(T=o.onRecoverableError),o.unstable_transitionCallbacks!==void 0&&(H=o.unstable_transitionCallbacks),o.formState!==void 0&&(Z=o.formState)),a=i6(e,1,!0,a,o??null,u,f,p,_,T,H,Z),a.context=l6(null),o=a.current,u=ir(),f=ui(u),f.callback=null,ci(o,f,u),a.current.lanes=u,he(a,u),fa(a),e[yn]=a.current,e1(e),new cc(a)},Os.version="19.0.0",Os}var T6;function oE(){if(T6)return b1.exports;T6=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}return r(),b1.exports=lE(),b1.exports}var sE=oE(),y=m2();const G=fr(y),uE=Jw({__proto__:null,default:G},[y]);/*! @license DOMPurify 3.2.3 | (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.3/LICENSE */var D1,x6;function O6(){if(x6)return D1;x6=1;const{entries:r,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,Fe,Ue){return ge.apply(Fe,Ue)}),m||(m=function(ge,Fe){return new ge(...Fe)});const v=ne(Array.prototype.forEach),g=ne(Array.prototype.pop),b=ne(Array.prototype.push),S=ne(String.prototype.toLowerCase),x=ne(String.prototype.toString),A=ne(String.prototype.match),C=ne(String.prototype.replace),N=ne(String.prototype.indexOf),O=ne(String.prototype.trim),j=ne(Object.prototype.hasOwnProperty),Q=ne(RegExp.prototype.test),$=F(TypeError);function ne(qe){return function(ge){for(var Fe=arguments.length,Ue=new Array(Fe>1?Fe-1:0),Ke=1;Ke<Fe;Ke++)Ue[Ke-1]=arguments[Ke];return h(qe,ge,Ue)}}function F(qe){return function(){for(var ge=arguments.length,Fe=new Array(ge),Ue=0;Ue<ge;Ue++)Fe[Ue]=arguments[Ue];return m(qe,Fe)}}function w(qe,ge){let Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:S;i&&i(qe,null);let Ue=ge.length;for(;Ue--;){let Ke=ge[Ue];if(typeof Ke=="string"){const Nt=Fe(Ke);Nt!==Ke&&(n(ge)||(ge[Ue]=Nt),Ke=Nt)}qe[Ke]=!0}return qe}function E(qe){for(let ge=0;ge<qe.length;ge++)j(qe,ge)||(qe[ge]=null);return qe}function D(qe){const ge=d(null);for(const[Fe,Ue]of r(qe))j(qe,Fe)&&(Array.isArray(Ue)?ge[Fe]=E(Ue):Ue&&typeof Ue=="object"&&Ue.constructor===Object?ge[Fe]=D(Ue):ge[Fe]=Ue);return ge}function k(qe,ge){for(;qe!==null;){const Ue=l(qe,ge);if(Ue){if(Ue.get)return ne(Ue.get);if(typeof Ue.value=="function")return ne(Ue.value)}qe=t(qe)}function Fe(){return null}return Fe}const q=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"]),z=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"]),B=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"]),U=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"]),M=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"]),P=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),L=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"]),R=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"]),I=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"]),ce=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),se=c(/\{\{[\w\W]*|[\w\W]*\}\}/gm),de=c(/<%[\w\W]*|[\w\W]*%>/gm),fe=c(/\$\{[\w\W]*}/gm),pe=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ye=c(/^aria-[\-\w]+$/),Oe=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Je=c(/^(?:\w+script|data):/i),ze=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),rt=c(/^html$/i),Mt=c(/^[a-z][.\w]*(-[.\w]+)+$/i);var et=Object.freeze({__proto__:null,ARIA_ATTR:Ye,ATTR_WHITESPACE:ze,CUSTOM_ELEMENT:Mt,DATA_ATTR:pe,DOCTYPE_NAME:rt,ERB_EXPR:de,IS_ALLOWED_URI:Oe,IS_SCRIPT_OR_DATA:Je,MUSTACHE_EXPR:se,TMPLIT_EXPR:fe});const Qe={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},He=function(){return typeof window>"u"?null:window},xn=function(ge,Fe){if(typeof ge!="object"||typeof ge.createPolicy!="function")return null;let Ue=null;const Ke="data-tt-policy-suffix";Fe&&Fe.hasAttribute(Ke)&&(Ue=Fe.getAttribute(Ke));const Nt="dompurify"+(Ue?"#"+Ue:"");try{return ge.createPolicy(Nt,{createHTML(kt){return kt},createScriptURL(kt){return kt}})}catch{return console.warn("TrustedTypes policy "+Nt+" could not be created."),null}},Vt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Jt(){let qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:He();const ge=xe=>Jt(xe);if(ge.version="3.2.3",ge.removed=[],!qe||!qe.document||qe.document.nodeType!==Qe.document)return ge.isSupported=!1,ge;let{document:Fe}=qe;const Ue=Fe,Ke=Ue.currentScript,{DocumentFragment:Nt,HTMLTemplateElement:kt,Node:Un,Element:pn,NodeFilter:On,NamedNodeMap:Zn=qe.NamedNodeMap||qe.MozNamedAttrMap,HTMLFormElement:Jn,DOMParser:Qn,trustedTypes:St}=qe,Re=pn.prototype,Pn=k(Re,"cloneNode"),en=k(Re,"remove"),At=k(Re,"nextSibling"),Rr=k(Re,"childNodes"),mn=k(Re,"parentNode");if(typeof kt=="function"){const xe=Fe.createElement("template");xe.content&&xe.content.ownerDocument&&(Fe=xe.content.ownerDocument)}let vt,sn="";const{implementation:tn,createNodeIterator:kn,createDocumentFragment:Dt,getElementsByTagName:Ve}=Fe,{importNode:De}=Ue;let Ce=Vt();ge.isSupported=typeof r=="function"&&typeof mn=="function"&&tn&&tn.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Ht,ERB_EXPR:un,TMPLIT_EXPR:he,DATA_ATTR:Ae,ARIA_ATTR:Ne,IS_SCRIPT_OR_DATA:at,ATTR_WHITESPACE:Tt,CUSTOM_ELEMENT:vn}=et;let{IS_ALLOWED_URI:gn}=et,Pe=null;const it=w({},[...q,...z,...B,...M,...L]);let we=null;const yn=w({},[...J,...R,...I,...ce]);let mt=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}})),er=null,Nr=null,ia=!0,Ee=!0,Y=!1,le=!0,me=!1,We=!0,ct=!1,je=!1,Zt=!1,nn=!1,bn=!1,xt=!1,zn=!0,qi=!1;const cu="user-content-";let Tl=!0,Hi=!1,kr={},Lr=null;const dr=w({},["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 Yn=null;const ko=w({},["audio","video","img","source","image","track"]);let Lo=null;const Ui=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Pi="http://www.w3.org/1998/Math/MathML",Oa="http://www.w3.org/2000/svg",qr="http://www.w3.org/1999/xhtml";let cn=qr,zi=!1,xl=null;const qo=w({},[Pi,Oa,qr],x);let Hr=w({},["mi","mo","mn","ms","mtext"]),Yi=w({},["annotation-xml"]);const fu=w({},["title","style","font","a","script"]);let hr=null;const Df=["application/xhtml+xml","text/html"],du="text/html";let Qt=null,la=null;const Tf=Fe.createElement("form"),hu=function(V){return V instanceof RegExp||V instanceof Function},ei=function(){let V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(la&&la===V)){if((!V||typeof V!="object")&&(V={}),V=D(V),hr=Df.indexOf(V.PARSER_MEDIA_TYPE)===-1?du:V.PARSER_MEDIA_TYPE,Qt=hr==="application/xhtml+xml"?x:S,Pe=j(V,"ALLOWED_TAGS")?w({},V.ALLOWED_TAGS,Qt):it,we=j(V,"ALLOWED_ATTR")?w({},V.ALLOWED_ATTR,Qt):yn,xl=j(V,"ALLOWED_NAMESPACES")?w({},V.ALLOWED_NAMESPACES,x):qo,Lo=j(V,"ADD_URI_SAFE_ATTR")?w(D(Ui),V.ADD_URI_SAFE_ATTR,Qt):Ui,Yn=j(V,"ADD_DATA_URI_TAGS")?w(D(ko),V.ADD_DATA_URI_TAGS,Qt):ko,Lr=j(V,"FORBID_CONTENTS")?w({},V.FORBID_CONTENTS,Qt):dr,er=j(V,"FORBID_TAGS")?w({},V.FORBID_TAGS,Qt):{},Nr=j(V,"FORBID_ATTR")?w({},V.FORBID_ATTR,Qt):{},kr=j(V,"USE_PROFILES")?V.USE_PROFILES:!1,ia=V.ALLOW_ARIA_ATTR!==!1,Ee=V.ALLOW_DATA_ATTR!==!1,Y=V.ALLOW_UNKNOWN_PROTOCOLS||!1,le=V.ALLOW_SELF_CLOSE_IN_ATTR!==!1,me=V.SAFE_FOR_TEMPLATES||!1,We=V.SAFE_FOR_XML!==!1,ct=V.WHOLE_DOCUMENT||!1,nn=V.RETURN_DOM||!1,bn=V.RETURN_DOM_FRAGMENT||!1,xt=V.RETURN_TRUSTED_TYPE||!1,Zt=V.FORCE_BODY||!1,zn=V.SANITIZE_DOM!==!1,qi=V.SANITIZE_NAMED_PROPS||!1,Tl=V.KEEP_CONTENT!==!1,Hi=V.IN_PLACE||!1,gn=V.ALLOWED_URI_REGEXP||Oe,cn=V.NAMESPACE||qr,Hr=V.MATHML_TEXT_INTEGRATION_POINTS||Hr,Yi=V.HTML_INTEGRATION_POINTS||Yi,mt=V.CUSTOM_ELEMENT_HANDLING||{},V.CUSTOM_ELEMENT_HANDLING&&hu(V.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(mt.tagNameCheck=V.CUSTOM_ELEMENT_HANDLING.tagNameCheck),V.CUSTOM_ELEMENT_HANDLING&&hu(V.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(mt.attributeNameCheck=V.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),V.CUSTOM_ELEMENT_HANDLING&&typeof V.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(mt.allowCustomizedBuiltInElements=V.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),me&&(Ee=!1),bn&&(nn=!0),kr&&(Pe=w({},L),we=[],kr.html===!0&&(w(Pe,q),w(we,J)),kr.svg===!0&&(w(Pe,z),w(we,R),w(we,ce)),kr.svgFilters===!0&&(w(Pe,B),w(we,R),w(we,ce)),kr.mathMl===!0&&(w(Pe,M),w(we,I),w(we,ce))),V.ADD_TAGS&&(Pe===it&&(Pe=D(Pe)),w(Pe,V.ADD_TAGS,Qt)),V.ADD_ATTR&&(we===yn&&(we=D(we)),w(we,V.ADD_ATTR,Qt)),V.ADD_URI_SAFE_ATTR&&w(Lo,V.ADD_URI_SAFE_ATTR,Qt),V.FORBID_CONTENTS&&(Lr===dr&&(Lr=D(Lr)),w(Lr,V.FORBID_CONTENTS,Qt)),Tl&&(Pe["#text"]=!0),ct&&w(Pe,["html","head","body"]),Pe.table&&(w(Pe,["tbody"]),delete er.tbody),V.TRUSTED_TYPES_POLICY){if(typeof V.TRUSTED_TYPES_POLICY.createHTML!="function")throw $('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof V.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw $('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');vt=V.TRUSTED_TYPES_POLICY,sn=vt.createHTML("")}else vt===void 0&&(vt=xn(St,Ke)),vt!==null&&typeof sn=="string"&&(sn=vt.createHTML(""));s&&s(V),la=V}},Ol=w({},[...z,...B,...U]),Ml=w({},[...M,...P]),ti=function(V){let ue=mn(V);(!ue||!ue.tagName)&&(ue={namespaceURI:cn,tagName:"template"});const be=S(V.tagName),gt=S(ue.tagName);return xl[V.namespaceURI]?V.namespaceURI===Oa?ue.namespaceURI===qr?be==="svg":ue.namespaceURI===Pi?be==="svg"&&(gt==="annotation-xml"||Hr[gt]):!!Ol[be]:V.namespaceURI===Pi?ue.namespaceURI===qr?be==="math":ue.namespaceURI===Oa?be==="math"&&Yi[gt]:!!Ml[be]:V.namespaceURI===qr?ue.namespaceURI===Oa&&!Yi[gt]||ue.namespaceURI===Pi&&!Hr[gt]?!1:!Ml[be]&&(fu[be]||!Ol[be]):!!(hr==="application/xhtml+xml"&&xl[V.namespaceURI]):!1},Mn=function(V){b(ge.removed,{element:V});try{mn(V).removeChild(V)}catch{en(V)}},ji=function(V,ue){try{b(ge.removed,{attribute:ue.getAttributeNode(V),from:ue})}catch{b(ge.removed,{attribute:null,from:ue})}if(ue.removeAttribute(V),V==="is")if(nn||bn)try{Mn(ue)}catch{}else try{ue.setAttribute(V,"")}catch{}},Al=function(V){let ue=null,be=null;if(Zt)V="<remove></remove>"+V;else{const fn=A(V,/^[\r\n\t ]+/);be=fn&&fn[0]}hr==="application/xhtml+xml"&&cn===qr&&(V='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+V+"</body></html>");const gt=vt?vt.createHTML(V):V;if(cn===qr)try{ue=new Qn().parseFromString(gt,hr)}catch{}if(!ue||!ue.documentElement){ue=tn.createDocument(cn,"template",null);try{ue.documentElement.innerHTML=zi?sn:gt}catch{}}const jt=ue.body||ue.documentElement;return V&&be&&jt.insertBefore(Fe.createTextNode(be),jt.childNodes[0]||null),cn===qr?Ve.call(ue,ct?"html":"body")[0]:ct?ue.documentElement:jt},Ho=function(V){return kn.call(V.ownerDocument||V,V,On.SHOW_ELEMENT|On.SHOW_COMMENT|On.SHOW_TEXT|On.SHOW_PROCESSING_INSTRUCTION|On.SHOW_CDATA_SECTION,null)},Ma=function(V){return V instanceof Jn&&(typeof V.nodeName!="string"||typeof V.textContent!="string"||typeof V.removeChild!="function"||!(V.attributes instanceof Zn)||typeof V.removeAttribute!="function"||typeof V.setAttribute!="function"||typeof V.namespaceURI!="string"||typeof V.insertBefore!="function"||typeof V.hasChildNodes!="function")},Cl=function(V){return typeof Un=="function"&&V instanceof Un};function jn(xe,V,ue){v(xe,be=>{be.call(ge,V,ue,la)})}const Ur=function(V){let ue=null;if(jn(Ce.beforeSanitizeElements,V,null),Ma(V))return Mn(V),!0;const be=Qt(V.nodeName);if(jn(Ce.uponSanitizeElement,V,{tagName:be,allowedTags:Pe}),V.hasChildNodes()&&!Cl(V.firstElementChild)&&Q(/<[/\w]/g,V.innerHTML)&&Q(/<[/\w]/g,V.textContent)||V.nodeType===Qe.progressingInstruction||We&&V.nodeType===Qe.comment&&Q(/<[/\w]/g,V.data))return Mn(V),!0;if(!Pe[be]||er[be]){if(!er[be]&&Bi(be)&&(mt.tagNameCheck instanceof RegExp&&Q(mt.tagNameCheck,be)||mt.tagNameCheck instanceof Function&&mt.tagNameCheck(be)))return!1;if(Tl&&!Lr[be]){const gt=mn(V)||V.parentNode,jt=Rr(V)||V.childNodes;if(jt&&gt){const fn=jt.length;for(let _n=fn-1;_n>=0;--_n){const Kn=Pn(jt[_n],!0);Kn.__removalCount=(V.__removalCount||0)+1,gt.insertBefore(Kn,At(V))}}}return Mn(V),!0}return V instanceof pn&&!ti(V)||(be==="noscript"||be==="noembed"||be==="noframes")&&Q(/<\/no(script|embed|frames)/i,V.innerHTML)?(Mn(V),!0):(me&&V.nodeType===Qe.text&&(ue=V.textContent,v([Ht,un,he],gt=>{ue=C(ue,gt," ")}),V.textContent!==ue&&(b(ge.removed,{element:V.cloneNode()}),V.textContent=ue)),jn(Ce.afterSanitizeElements,V,null),!1)},Rl=function(V,ue,be){if(zn&&(ue==="id"||ue==="name")&&(be in Fe||be in Tf))return!1;if(!(Ee&&!Nr[ue]&&Q(Ae,ue))){if(!(ia&&Q(Ne,ue))){if(!we[ue]||Nr[ue]){if(!(Bi(V)&&(mt.tagNameCheck instanceof RegExp&&Q(mt.tagNameCheck,V)||mt.tagNameCheck instanceof Function&&mt.tagNameCheck(V))&&(mt.attributeNameCheck instanceof RegExp&&Q(mt.attributeNameCheck,ue)||mt.attributeNameCheck instanceof Function&&mt.attributeNameCheck(ue))||ue==="is"&&mt.allowCustomizedBuiltInElements&&(mt.tagNameCheck instanceof RegExp&&Q(mt.tagNameCheck,be)||mt.tagNameCheck instanceof Function&&mt.tagNameCheck(be))))return!1}else if(!Lo[ue]){if(!Q(gn,C(be,Tt,""))){if(!((ue==="src"||ue==="xlink:href"||ue==="href")&&V!=="script"&&N(be,"data:")===0&&Yn[V])){if(!(Y&&!Q(at,C(be,Tt,"")))){if(be)return!1}}}}}}return!0},Bi=function(V){return V!=="annotation-xml"&&A(V,vn)},Uo=function(V){jn(Ce.beforeSanitizeAttributes,V,null);const{attributes:ue}=V;if(!ue||Ma(V))return;const be={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:we,forceKeepAttr:void 0};let gt=ue.length;for(;gt--;){const jt=ue[gt],{name:fn,namespaceURI:_n,value:Kn}=jt,Pr=Qt(fn);let rn=fn==="value"?Kn:O(Kn);if(be.attrName=Pr,be.attrValue=rn,be.keepAttr=!0,be.forceKeepAttr=void 0,jn(Ce.uponSanitizeAttribute,V,be),rn=be.attrValue,qi&&(Pr==="id"||Pr==="name")&&(ji(fn,V),rn=cu+rn),We&&Q(/((--!?|])>)|<\/(style|title)/i,rn)){ji(fn,V);continue}if(be.forceKeepAttr||(ji(fn,V),!be.keepAttr))continue;if(!le&&Q(/\/>/i,rn)){ji(fn,V);continue}me&&v([Ht,un,he],pu=>{rn=C(rn,pu," ")});const Po=Qt(V.nodeName);if(Rl(Po,Pr,rn)){if(vt&&typeof St=="object"&&typeof St.getAttributeType=="function"&&!_n)switch(St.getAttributeType(Po,Pr)){case"TrustedHTML":{rn=vt.createHTML(rn);break}case"TrustedScriptURL":{rn=vt.createScriptURL(rn);break}}try{_n?V.setAttributeNS(_n,fn,rn):V.setAttribute(fn,rn),Ma(V)?Mn(V):g(ge.removed)}catch{}}}jn(Ce.afterSanitizeAttributes,V,null)},Nl=function xe(V){let ue=null;const be=Ho(V);for(jn(Ce.beforeSanitizeShadowDOM,V,null);ue=be.nextNode();)jn(Ce.uponSanitizeShadowNode,ue,null),Ur(ue),Uo(ue),ue.content instanceof Nt&&xe(ue.content);jn(Ce.afterSanitizeShadowDOM,V,null)};return ge.sanitize=function(xe){let V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ue=null,be=null,gt=null,jt=null;if(zi=!xe,zi&&(xe="<!-->"),typeof xe!="string"&&!Cl(xe))if(typeof xe.toString=="function"){if(xe=xe.toString(),typeof xe!="string")throw $("dirty is not a string, aborting")}else throw $("toString is not a function");if(!ge.isSupported)return xe;if(je||ei(V),ge.removed=[],typeof xe=="string"&&(Hi=!1),Hi){if(xe.nodeName){const Kn=Qt(xe.nodeName);if(!Pe[Kn]||er[Kn])throw $("root node is forbidden and cannot be sanitized in-place")}}else if(xe instanceof Un)ue=Al("<!---->"),be=ue.ownerDocument.importNode(xe,!0),be.nodeType===Qe.element&&be.nodeName==="BODY"||be.nodeName==="HTML"?ue=be:ue.appendChild(be);else{if(!nn&&!me&&!ct&&xe.indexOf("<")===-1)return vt&&xt?vt.createHTML(xe):xe;if(ue=Al(xe),!ue)return nn?null:xt?sn:""}ue&&Zt&&Mn(ue.firstChild);const fn=Ho(Hi?xe:ue);for(;gt=fn.nextNode();)Ur(gt),Uo(gt),gt.content instanceof Nt&&Nl(gt.content);if(Hi)return xe;if(nn){if(bn)for(jt=Dt.call(ue.ownerDocument);ue.firstChild;)jt.appendChild(ue.firstChild);else jt=ue;return(we.shadowroot||we.shadowrootmode)&&(jt=De.call(Ue,jt,!0)),jt}let _n=ct?ue.outerHTML:ue.innerHTML;return ct&&Pe["!doctype"]&&ue.ownerDocument&&ue.ownerDocument.doctype&&ue.ownerDocument.doctype.name&&Q(rt,ue.ownerDocument.doctype.name)&&(_n="<!DOCTYPE "+ue.ownerDocument.doctype.name+`>
`+_n),me&&v([Ht,un,he],Kn=>{_n=C(_n,Kn," ")}),vt&&xt?vt.createHTML(_n):_n},ge.setConfig=function(){let xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ei(xe),je=!0},ge.clearConfig=function(){la=null,je=!1},ge.isValidAttribute=function(xe,V,ue){la||ei({});const be=Qt(xe),gt=Qt(V);return Rl(be,gt,ue)},ge.addHook=function(xe,V){typeof V=="function"&&b(Ce[xe],V)},ge.removeHook=function(xe){return g(Ce[xe])},ge.removeHooks=function(xe){Ce[xe]=[]},ge.removeAllHooks=function(){Ce=Vt()},ge}var ot=Jt();return D1=ot,D1}var T1,M6;function cE(){return M6||(M6=1,T1=window.DOMPurify||(window.DOMPurify=O6().default||O6())),T1}var fE=cE();const dE=fr(fE),po=Math.min,dl=Math.max,Pc=Math.round,hc=Math.floor,ya=r=>({x:r,y:r}),hE={left:"right",right:"left",bottom:"top",top:"bottom"},pE={start:"end",end:"start"};function Lm(r,i,n){return dl(r,po(i,n))}function $s(r,i){return typeof r=="function"?r(i):r}function vl(r){return r.split("-")[0]}function Js(r){return r.split("-")[1]}function Qb(r){return r==="x"?"y":"x"}function v2(r){return r==="y"?"height":"width"}function mo(r){return["top","bottom"].includes(vl(r))?"y":"x"}function g2(r){return Qb(mo(r))}function mE(r,i,n){n===void 0&&(n=!1);const t=Js(r),l=g2(r),s=v2(l);let c=l==="x"?t===(n?"end":"start")?"right":"left":t==="start"?"bottom":"top";return i.reference[s]>i.floating[s]&&(c=zc(c)),[c,zc(c)]}function vE(r){const i=zc(r);return[qm(r),i,qm(i)]}function qm(r){return r.replace(/start|end/g,i=>pE[i])}function gE(r,i,n){const t=["left","right"],l=["right","left"],s=["top","bottom"],c=["bottom","top"];switch(r){case"top":case"bottom":return n?i?l:t:i?t:l;case"left":case"right":return i?s:c;default:return[]}}function yE(r,i,n,t){const l=Js(r);let s=gE(vl(r),n==="start",t);return l&&(s=s.map(c=>c+"-"+l),i&&(s=s.concat(s.map(qm)))),s}function zc(r){return r.replace(/left|right|bottom|top/g,i=>hE[i])}function bE(r){return{top:0,right:0,bottom:0,left:0,...r}}function Kb(r){return typeof r!="number"?bE(r):{top:r,right:r,bottom:r,left:r}}function vo(r){const{x:i,y:n,width:t,height:l}=r;return{width:t,height:l,top:n,left:i,right:i+t,bottom:n+l,x:i,y:n}}function A6(r,i,n){let{reference:t,floating:l}=r;const s=mo(i),c=g2(i),d=v2(c),h=vl(i),m=s==="y",v=t.x+t.width/2-l.width/2,g=t.y+t.height/2-l.height/2,b=t[d]/2-l[d]/2;let S;switch(h){case"top":S={x:v,y:t.y-l.height};break;case"bottom":S={x:v,y:t.y+t.height};break;case"right":S={x:t.x+t.width,y:g};break;case"left":S={x:t.x-l.width,y:g};break;default:S={x:t.x,y:t.y}}switch(Js(i)){case"start":S[c]-=b*(n&&m?-1:1);break;case"end":S[c]+=b*(n&&m?-1:1);break}return S}const Xb=async(r,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:r,floating:i,strategy:l}),{x:v,y:g}=A6(m,t,h),b=t,S={},x=0;for(let A=0;A<d.length;A++){const{name:C,fn:N}=d[A],{x:O,y:j,data:Q,reset:$}=await N({x:v,y:g,initialPlacement:t,placement:b,strategy:l,middlewareData:S,rects:m,platform:c,elements:{reference:r,floating:i}});v=O??v,g=j??g,S={...S,[C]:{...S[C],...Q}},$&&x<=50&&(x++,typeof $=="object"&&($.placement&&(b=$.placement),$.rects&&(m=$.rects===!0?await c.getElementRects({reference:r,floating:i,strategy:l}):$.rects),{x:v,y:g}=A6(m,b,h)),A=-1)}return{x:v,y:g,placement:b,strategy:l,middlewareData:S}};async function $b(r,i){var n;i===void 0&&(i={});const{x:t,y:l,platform:s,rects:c,elements:d,strategy:h}=r,{boundary:m="clippingAncestors",rootBoundary:v="viewport",elementContext:g="floating",altBoundary:b=!1,padding:S=0}=$s(i,r),x=Kb(S),C=d[b?g==="floating"?"reference":"floating":g],N=vo(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,j=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),Q=await(s.isElement==null?void 0:s.isElement(j))?await(s.getScale==null?void 0:s.getScale(j))||{x:1,y:1}:{x:1,y:1},$=vo(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:O,offsetParent:j,strategy:h}):O);return{top:(N.top-$.top+x.top)/Q.y,bottom:($.bottom-N.bottom+x.bottom)/Q.y,left:(N.left-$.left+x.left)/Q.x,right:($.right-N.right+x.right)/Q.x}}const Jb=r=>({name:"arrow",options:r,async fn(i){const{x:n,y:t,placement:l,rects:s,platform:c,elements:d,middlewareData:h}=i,{element:m,padding:v=0}=$s(r,i)||{};if(m==null)return{};const g=Kb(v),b={x:n,y:t},S=g2(l),x=v2(S),A=await c.getDimensions(m),C=S==="y",N=C?"top":"left",O=C?"bottom":"right",j=C?"clientHeight":"clientWidth",Q=s.reference[x]+s.reference[S]-b[S]-s.floating[x],$=b[S]-s.reference[S],ne=await(c.getOffsetParent==null?void 0:c.getOffsetParent(m));let F=ne?ne[j]:0;(!F||!await(c.isElement==null?void 0:c.isElement(ne)))&&(F=d.floating[j]||s.floating[x]);const w=Q/2-$/2,E=F/2-A[x]/2-1,D=po(g[N],E),k=po(g[O],E),q=D,z=F-A[x]-k,B=F/2-A[x]/2+w,U=Lm(q,B,z),M=!h.arrow&&Js(l)!=null&&B!==U&&s.reference[x]/2-(B<q?D:k)-A[x]/2<0,P=M?B<q?B-q:B-z:0;return{[S]:b[S]+P,data:{[S]:U,centerOffset:B-U-P,...M&&{alignmentOffset:P}},reset:M}}}),e8=function(r){return r===void 0&&(r={}),{name:"flip",options:r,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:b,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:A=!0,...C}=$s(r,i);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const N=vl(l),O=mo(d),j=vl(d)===d,Q=await(h.isRTL==null?void 0:h.isRTL(m.floating)),$=b||(j||!A?[zc(d)]:vE(d)),ne=x!=="none";!b&&ne&&$.push(...yE(d,A,x,Q));const F=[d,...$],w=await $b(i,C),E=[];let D=((t=s.flip)==null?void 0:t.overflows)||[];if(v&&E.push(w[N]),g){const B=mE(l,c,Q);E.push(w[B[0]],w[B[1]])}if(D=[...D,{placement:l,overflows:E}],!E.every(B=>B<=0)){var k,q;const B=(((k=s.flip)==null?void 0:k.index)||0)+1,U=F[B];if(U)return{data:{index:B,overflows:D},reset:{placement:U}};let M=(q=D.filter(P=>P.overflows[0]<=0).sort((P,L)=>P.overflows[1]-L.overflows[1])[0])==null?void 0:q.placement;if(!M)switch(S){case"bestFit":{var z;const P=(z=D.filter(L=>{if(ne){const J=mo(L.placement);return J===O||J==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(J=>J>0).reduce((J,R)=>J+R,0)]).sort((L,J)=>L[1]-J[1])[0])==null?void 0:z[0];P&&(M=P);break}case"initialPlacement":M=d;break}if(l!==M)return{reset:{placement:M}}}return{}}}};async function _E(r,i){const{placement:n,platform:t,elements:l}=r,s=await(t.isRTL==null?void 0:t.isRTL(l.floating)),c=vl(n),d=Js(n),h=mo(n)==="y",m=["left","top"].includes(c)?-1:1,v=s&&h?-1:1,g=$s(i,r);let{mainAxis:b,crossAxis:S,alignmentAxis:x}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return d&&typeof x=="number"&&(S=d==="end"?x*-1:x),h?{x:S*v,y:b*m}:{x:b*m,y:S*v}}const t8=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(i){var n,t;const{x:l,y:s,placement:c,middlewareData:d}=i,h=await _E(i,r);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}}}}},wE=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(i){const{x:n,y:t,placement:l}=i,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:C=>{let{x:N,y:O}=C;return{x:N,y:O}}},...h}=$s(r,i),m={x:n,y:t},v=await $b(i,h),g=mo(vl(l)),b=Qb(g);let S=m[b],x=m[g];if(s){const C=b==="y"?"top":"left",N=b==="y"?"bottom":"right",O=S+v[C],j=S-v[N];S=Lm(O,S,j)}if(c){const C=g==="y"?"top":"left",N=g==="y"?"bottom":"right",O=x+v[C],j=x-v[N];x=Lm(O,x,j)}const A=d.fn({...i,[b]:S,[g]:x});return{...A,data:{x:A.x-n,y:A.y-t,enabled:{[b]:s,[g]:c}}}}}};function tf(){return typeof window<"u"}function So(r){return n8(r)?(r.nodeName||"").toLowerCase():"#document"}function sr(r){var i;return(r==null||(i=r.ownerDocument)==null?void 0:i.defaultView)||window}function Da(r){var i;return(i=(n8(r)?r.ownerDocument:r.document)||window.document)==null?void 0:i.documentElement}function n8(r){return tf()?r instanceof Node||r instanceof sr(r).Node:!1}function Kr(r){return tf()?r instanceof Element||r instanceof sr(r).Element:!1}function Ea(r){return tf()?r instanceof HTMLElement||r instanceof sr(r).HTMLElement:!1}function C6(r){return!tf()||typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof sr(r).ShadowRoot}function eu(r){const{overflow:i,overflowX:n,overflowY:t,display:l}=Xr(r);return/auto|scroll|overlay|hidden|clip/.test(i+t+n)&&!["inline","contents"].includes(l)}function EE(r){return["table","td","th"].includes(So(r))}function nf(r){return[":popover-open",":modal"].some(i=>{try{return r.matches(i)}catch{return!1}})}function y2(r){const i=b2(),n=Kr(r)?Xr(r):r;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!i&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!i&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(t=>(n.willChange||"").includes(t))||["paint","layout","strict","content"].some(t=>(n.contain||"").includes(t))}function SE(r){let i=Ci(r);for(;Ea(i)&&!go(i);){if(y2(i))return i;if(nf(i))return null;i=Ci(i)}return null}function b2(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function go(r){return["html","body","#document"].includes(So(r))}function Xr(r){return sr(r).getComputedStyle(r)}function rf(r){return Kr(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function Ci(r){if(So(r)==="html")return r;const i=r.assignedSlot||r.parentNode||C6(r)&&r.host||Da(r);return C6(i)?i.host:i}function r8(r){const i=Ci(r);return go(i)?r.ownerDocument?r.ownerDocument.body:r.body:Ea(i)&&eu(i)?i:r8(i)}function Vs(r,i,n){var t;i===void 0&&(i=[]),n===void 0&&(n=!0);const l=r8(r),s=l===((t=r.ownerDocument)==null?void 0:t.body),c=sr(l);if(s){const d=Hm(c);return i.concat(c,c.visualViewport||[],eu(l)?l:[],d&&n?Vs(d):[])}return i.concat(l,Vs(l,[],n))}function Hm(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function a8(r){const i=Xr(r);let n=parseFloat(i.width)||0,t=parseFloat(i.height)||0;const l=Ea(r),s=l?r.offsetWidth:n,c=l?r.offsetHeight:t,d=Pc(n)!==s||Pc(t)!==c;return d&&(n=s,t=c),{width:n,height:t,$:d}}function _2(r){return Kr(r)?r:r.contextElement}function uo(r){const i=_2(r);if(!Ea(i))return ya(1);const n=i.getBoundingClientRect(),{width:t,height:l,$:s}=a8(i);let c=(s?Pc(n.width):n.width)/t,d=(s?Pc(n.height):n.height)/l;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const DE=ya(0);function i8(r){const i=sr(r);return!b2()||!i.visualViewport?DE:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function TE(r,i,n){return i===void 0&&(i=!1),!n||i&&n!==sr(r)?!1:i}function gl(r,i,n,t){i===void 0&&(i=!1),n===void 0&&(n=!1);const l=r.getBoundingClientRect(),s=_2(r);let c=ya(1);i&&(t?Kr(t)&&(c=uo(t)):c=uo(r));const d=TE(s,n,t)?i8(s):ya(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 b=sr(s),S=t&&Kr(t)?sr(t):t;let x=b,A=Hm(x);for(;A&&t&&S!==x;){const C=uo(A),N=A.getBoundingClientRect(),O=Xr(A),j=N.left+(A.clientLeft+parseFloat(O.paddingLeft))*C.x,Q=N.top+(A.clientTop+parseFloat(O.paddingTop))*C.y;h*=C.x,m*=C.y,v*=C.x,g*=C.y,h+=j,m+=Q,x=sr(A),A=Hm(x)}}return vo({width:v,height:g,x:h,y:m})}function w2(r,i){const n=rf(r).scrollLeft;return i?i.left+n:gl(Da(r)).left+n}function l8(r,i,n){n===void 0&&(n=!1);const t=r.getBoundingClientRect(),l=t.left+i.scrollLeft-(n?0:w2(r,t)),s=t.top+i.scrollTop;return{x:l,y:s}}function xE(r){let{elements:i,rect:n,offsetParent:t,strategy:l}=r;const s=l==="fixed",c=Da(t),d=i?nf(i.floating):!1;if(t===c||d&&s)return n;let h={scrollLeft:0,scrollTop:0},m=ya(1);const v=ya(0),g=Ea(t);if((g||!g&&!s)&&((So(t)!=="body"||eu(c))&&(h=rf(t)),Ea(t))){const S=gl(t);m=uo(t),v.x=S.x+t.clientLeft,v.y=S.y+t.clientTop}const b=c&&!g&&!s?l8(c,h,!0):ya(0);return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-h.scrollLeft*m.x+v.x+b.x,y:n.y*m.y-h.scrollTop*m.y+v.y+b.y}}function OE(r){return Array.from(r.getClientRects())}function ME(r){const i=Da(r),n=rf(r),t=r.ownerDocument.body,l=dl(i.scrollWidth,i.clientWidth,t.scrollWidth,t.clientWidth),s=dl(i.scrollHeight,i.clientHeight,t.scrollHeight,t.clientHeight);let c=-n.scrollLeft+w2(r);const d=-n.scrollTop;return Xr(t).direction==="rtl"&&(c+=dl(i.clientWidth,t.clientWidth)-l),{width:l,height:s,x:c,y:d}}function AE(r,i){const n=sr(r),t=Da(r),l=n.visualViewport;let s=t.clientWidth,c=t.clientHeight,d=0,h=0;if(l){s=l.width,c=l.height;const m=b2();(!m||m&&i==="fixed")&&(d=l.offsetLeft,h=l.offsetTop)}return{width:s,height:c,x:d,y:h}}function CE(r,i){const n=gl(r,!0,i==="fixed"),t=n.top+r.clientTop,l=n.left+r.clientLeft,s=Ea(r)?uo(r):ya(1),c=r.clientWidth*s.x,d=r.clientHeight*s.y,h=l*s.x,m=t*s.y;return{width:c,height:d,x:h,y:m}}function R6(r,i,n){let t;if(i==="viewport")t=AE(r,n);else if(i==="document")t=ME(Da(r));else if(Kr(i))t=CE(i,n);else{const l=i8(r);t={x:i.x-l.x,y:i.y-l.y,width:i.width,height:i.height}}return vo(t)}function o8(r,i){const n=Ci(r);return n===i||!Kr(n)||go(n)?!1:Xr(n).position==="fixed"||o8(n,i)}function RE(r,i){const n=i.get(r);if(n)return n;let t=Vs(r,[],!1).filter(d=>Kr(d)&&So(d)!=="body"),l=null;const s=Xr(r).position==="fixed";let c=s?Ci(r):r;for(;Kr(c)&&!go(c);){const d=Xr(c),h=y2(c);!h&&d.position==="fixed"&&(l=null),(s?!h&&!l:!h&&d.position==="static"&&!!l&&["absolute","fixed"].includes(l.position)||eu(c)&&!h&&o8(r,c))?t=t.filter(v=>v!==c):l=d,c=Ci(c)}return i.set(r,t),t}function NE(r){let{element:i,boundary:n,rootBoundary:t,strategy:l}=r;const c=[...n==="clippingAncestors"?nf(i)?[]:RE(i,this._c):[].concat(n),t],d=c[0],h=c.reduce((m,v)=>{const g=R6(i,v,l);return m.top=dl(g.top,m.top),m.right=po(g.right,m.right),m.bottom=po(g.bottom,m.bottom),m.left=dl(g.left,m.left),m},R6(i,d,l));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function kE(r){const{width:i,height:n}=a8(r);return{width:i,height:n}}function LE(r,i,n){const t=Ea(i),l=Da(i),s=n==="fixed",c=gl(r,!0,s,i);let d={scrollLeft:0,scrollTop:0};const h=ya(0);if(t||!t&&!s)if((So(i)!=="body"||eu(l))&&(d=rf(i)),t){const b=gl(i,!0,s,i);h.x=b.x+i.clientLeft,h.y=b.y+i.clientTop}else l&&(h.x=w2(l));const m=l&&!t&&!s?l8(l,d):ya(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 x1(r){return Xr(r).position==="static"}function N6(r,i){if(!Ea(r)||Xr(r).position==="fixed")return null;if(i)return i(r);let n=r.offsetParent;return Da(r)===n&&(n=n.ownerDocument.body),n}function s8(r,i){const n=sr(r);if(nf(r))return n;if(!Ea(r)){let l=Ci(r);for(;l&&!go(l);){if(Kr(l)&&!x1(l))return l;l=Ci(l)}return n}let t=N6(r,i);for(;t&&EE(t)&&x1(t);)t=N6(t,i);return t&&go(t)&&x1(t)&&!y2(t)?n:t||SE(r)||n}const qE=async function(r){const i=this.getOffsetParent||s8,n=this.getDimensions,t=await n(r.floating);return{reference:LE(r.reference,await i(r.floating),r.strategy),floating:{x:0,y:0,width:t.width,height:t.height}}};function HE(r){return Xr(r).direction==="rtl"}const UE={convertOffsetParentRelativeRectToViewportRelativeRect:xE,getDocumentElement:Da,getClippingRect:NE,getOffsetParent:s8,getElementRects:qE,getClientRects:OE,getDimensions:kE,getScale:uo,isElement:Kr,isRTL:HE};function PE(r,i){let n=null,t;const l=Da(r);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{left:m,top:v,width:g,height:b}=r.getBoundingClientRect();if(d||i(),!g||!b)return;const S=hc(v),x=hc(l.clientWidth-(m+g)),A=hc(l.clientHeight-(v+b)),C=hc(m),O={rootMargin:-S+"px "+-x+"px "+-A+"px "+-C+"px",threshold:dl(0,po(1,h))||1};let j=!0;function Q($){const ne=$[0].intersectionRatio;if(ne!==h){if(!j)return c();ne?c(!1,ne):t=setTimeout(()=>{c(!1,1e-7)},1e3)}j=!1}try{n=new IntersectionObserver(Q,{...O,root:l.ownerDocument})}catch{n=new IntersectionObserver(Q,O)}n.observe(r)}return c(!0),s}function zE(r,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=_2(r),v=l||s?[...m?Vs(m):[],...Vs(i)]:[];v.forEach(N=>{l&&N.addEventListener("scroll",n,{passive:!0}),s&&N.addEventListener("resize",n)});const g=m&&d?PE(m,n):null;let b=-1,S=null;c&&(S=new ResizeObserver(N=>{let[O]=N;O&&O.target===m&&S&&(S.unobserve(i),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var j;(j=S)==null||j.observe(i)})),n()}),m&&!h&&S.observe(m),S.observe(i));let x,A=h?gl(r):null;h&&C();function C(){const N=gl(r);A&&(N.x!==A.x||N.y!==A.y||N.width!==A.width||N.height!==A.height)&&n(),A=N,x=requestAnimationFrame(C)}return n(),()=>{var N;v.forEach(O=>{l&&O.removeEventListener("scroll",n),s&&O.removeEventListener("resize",n)}),g==null||g(),(N=S)==null||N.disconnect(),S=null,h&&cancelAnimationFrame(x)}}const YE=t8,jE=wE,BE=e8,IE=Jb,k6=(r,i,n)=>{const t=new Map,l={platform:UE,...n},s={...l.platform,_c:t};return Xb(r,i,{...l,platform:s})};var O1={exports:{}};/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/var L6;function FE(){return L6||(L6=1,function(r){(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}r.exports?(n.default=n,r.exports=n):window.classNames=n})()}(O1)),O1.exports}var GE=FE();const Um=fr(GE);var q6={};const WE="react-tooltip-core-styles",VE="react-tooltip-base-styles",H6={core:!1,base:!1};function U6({css:r,id:i=VE,type:n="base",ref:t}){var l,s;if(!r||typeof document>"u"||H6[n]||n==="core"&&typeof process<"u"&&(!((l=process==null?void 0:q6)===null||l===void 0)&&l.REACT_TOOLTIP_DISABLE_CORE_STYLES)||n!=="base"&&typeof process<"u"&&(!((s=process==null?void 0:q6)===null||s===void 0)&&s.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;n==="core"&&(i=WE),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=r:h.appendChild(document.createTextNode(r)),H6[n]=!0}const P6=async({elementReference:r=null,tooltipReference:i=null,tooltipArrowReference:n=null,place:t="top",offset:l=10,strategy:s="absolute",middlewares:c=[YE(Number(l)),BE({fallbackAxisSideDirection:"start"}),jE({padding:5})],border:d})=>{if(!r)return{tooltipStyles:{},tooltipArrowStyles:{},place:t};if(i===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:t};const h=c;return n?(h.push(IE({element:n,padding:5})),k6(r,i,{placement:t,strategy:s,middleware:h}).then(({x:m,y:v,placement:g,middlewareData:b})=>{var S,x;const A={left:`${m}px`,top:`${v}px`,border:d},{x:C,y:N}=(S=b.arrow)!==null&&S!==void 0?S:{x:0,y:0},O=(x={top:"bottom",right:"left",bottom:"top",left:"right"}[g.split("-")[0]])!==null&&x!==void 0?x:"bottom",j=d&&{borderBottom:d,borderRight:d};let Q=0;if(d){const $=`${d}`.match(/(\d+)px/);Q=$!=null&&$[1]?Number($[1]):1}return{tooltipStyles:A,tooltipArrowStyles:{left:C!=null?`${C}px`:"",top:N!=null?`${N}px`:"",right:"",bottom:"",...j,[O]:`-${4+Q}px`},place:g}})):k6(r,i,{placement:"bottom",strategy:s,middleware:h}).then(({x:m,y:v,placement:g})=>({tooltipStyles:{left:`${m}px`,top:`${v}px`},tooltipArrowStyles:{},place:g}))},z6=(r,i)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(r,i),Y6=(r,i,n)=>{let t=null;const l=function(...s){const c=()=>{t=null};!t&&(r.apply(this,s),t=setTimeout(c,i))};return l.cancel=()=>{t&&(clearTimeout(t),t=null)},l},j6=r=>r!==null&&!Array.isArray(r)&&typeof r=="object",Pm=(r,i)=>{if(r===i)return!0;if(Array.isArray(r)&&Array.isArray(i))return r.length===i.length&&r.every((l,s)=>Pm(l,i[s]));if(Array.isArray(r)!==Array.isArray(i))return!1;if(!j6(r)||!j6(i))return r===i;const n=Object.keys(r),t=Object.keys(i);return n.length===t.length&&n.every(l=>Pm(r[l],i[l]))},ZE=r=>{if(!(r instanceof HTMLElement||r instanceof SVGElement))return!1;const i=getComputedStyle(r);return["overflow","overflow-x","overflow-y"].some(n=>{const t=i.getPropertyValue(n);return t==="auto"||t==="scroll"})},B6=r=>{if(!r)return null;let i=r.parentElement;for(;i;){if(ZE(i))return i;i=i.parentElement}return document.scrollingElement||document.documentElement},QE=typeof window<"u"?y.useLayoutEffect:y.useEffect,Dr=r=>{r.current&&(clearTimeout(r.current),r.current=null)},KE="DEFAULT_TOOLTIP_ID",XE={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},$E=y.createContext({getTooltipData:()=>XE});function u8(r=KE){return y.useContext($E).getTooltipData(r)}var lo={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"},M1={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 JE=({forwardRef:r,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:b,wrapper:S,delayShow:x=0,delayHide:A=0,float:C=!1,hidden:N=!1,noArrow:O=!1,clickable:j=!1,closeOnEsc:Q=!1,closeOnScroll:$=!1,closeOnResize:ne=!1,openEvents:F,closeEvents:w,globalCloseEvents:E,imperativeModeOnly:D,style:k,position:q,afterShow:z,afterHide:B,disableTooltip:U,content:M,contentWrapperRef:P,isOpen:L,defaultIsOpen:J=!1,setIsOpen:R,activeAnchor:I,setActiveAnchor:ce,border:se,opacity:de,arrowColor:fe,role:pe="tooltip"})=>{var Ye;const Oe=y.useRef(null),Je=y.useRef(null),ze=y.useRef(null),rt=y.useRef(null),Mt=y.useRef(null),[et,Qe]=y.useState({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[He,xn]=y.useState(!1),[Vt,Jt]=y.useState(!1),[ot,qe]=y.useState(null),ge=y.useRef(!1),Fe=y.useRef(null),{anchorRefs:Ue,setActiveAnchor:Ke}=u8(i),Nt=y.useRef(!1),[kt,Un]=y.useState([]),pn=y.useRef(!1),On=v||m.includes("click"),Zn=On||(F==null?void 0:F.click)||(F==null?void 0:F.dblclick)||(F==null?void 0:F.mousedown),Jn=F?{...F}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!F&&On&&Object.assign(Jn,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Qn=w?{...w}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!w&&On&&Object.assign(Qn,{mouseleave:!1,blur:!1,mouseout:!1});const St=E?{...E}:{escape:Q||!1,scroll:$||!1,resize:ne||!1,clickOutsideAnchor:Zn||!1};D&&(Object.assign(Jn,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Qn,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(St,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),QE(()=>(pn.current=!0,()=>{pn.current=!1}),[]);const Re=he=>{pn.current&&(he&&Jt(!0),setTimeout(()=>{pn.current&&(R==null||R(he),L===void 0&&xn(he))},10))};y.useEffect(()=>{if(L===void 0)return()=>null;L&&Jt(!0);const he=setTimeout(()=>{xn(L)},10);return()=>{clearTimeout(he)}},[L]),y.useEffect(()=>{if(He!==ge.current)if(Dr(Mt),ge.current=He,He)z==null||z();else{const he=(Ae=>{const Ne=Ae.match(/^([\d.]+)(ms|s)$/);if(!Ne)return 0;const[,at,Tt]=Ne;return Number(at)*(Tt==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Mt.current=setTimeout(()=>{Jt(!1),qe(null),B==null||B()},he+25)}},[He]);const Pn=he=>{Qe(Ae=>Pm(Ae,he)?Ae:he)},en=(he=x)=>{Dr(ze),Vt?Re(!0):ze.current=setTimeout(()=>{Re(!0)},he)},At=(he=A)=>{Dr(rt),rt.current=setTimeout(()=>{Nt.current||Re(!1)},he)},Rr=he=>{var Ae;if(!he)return;const Ne=(Ae=he.currentTarget)!==null&&Ae!==void 0?Ae:he.target;if(!(Ne!=null&&Ne.isConnected))return ce(null),void Ke({current:null});x?en():Re(!0),ce(Ne),Ke({current:Ne}),Dr(rt)},mn=()=>{j?At(A||100):A?At():Re(!1),Dr(ze)},vt=({x:he,y:Ae})=>{var Ne;const at={getBoundingClientRect:()=>({x:he,y:Ae,width:0,height:0,top:Ae,left:he,right:he,bottom:Ae})};P6({place:(Ne=ot==null?void 0:ot.place)!==null&&Ne!==void 0?Ne:d,offset:h,elementReference:at,tooltipReference:Oe.current,tooltipArrowReference:Je.current,strategy:g,middlewares:b,border:se}).then(Tt=>{Pn(Tt)})},sn=he=>{if(!he)return;const Ae=he,Ne={x:Ae.clientX,y:Ae.clientY};vt(Ne),Fe.current=Ne},tn=he=>{var Ae;if(!He)return;const Ne=he.target;Ne.isConnected&&(!((Ae=Oe.current)===null||Ae===void 0)&&Ae.contains(Ne)||[document.querySelector(`[id='${s}']`),...kt].some(at=>at==null?void 0:at.contains(Ne))||(Re(!1),Dr(ze)))},kn=Y6(Rr,50),Dt=Y6(mn,50),Ve=he=>{Dt.cancel(),kn(he)},De=()=>{kn.cancel(),Dt()},Ce=y.useCallback(()=>{var he,Ae;const Ne=(he=ot==null?void 0:ot.position)!==null&&he!==void 0?he:q;Ne?vt(Ne):C?Fe.current&&vt(Fe.current):I!=null&&I.isConnected&&P6({place:(Ae=ot==null?void 0:ot.place)!==null&&Ae!==void 0?Ae:d,offset:h,elementReference:I,tooltipReference:Oe.current,tooltipArrowReference:Je.current,strategy:g,middlewares:b,border:se}).then(at=>{pn.current&&Pn(at)})},[He,I,M,k,d,ot==null?void 0:ot.place,h,g,q,ot==null?void 0:ot.position,C]);y.useEffect(()=>{var he,Ae;const Ne=new Set(Ue);kt.forEach(Y=>{U!=null&&U(Y)||Ne.add({current:Y})});const at=document.querySelector(`[id='${s}']`);at&&!(U!=null&&U(at))&&Ne.add({current:at});const Tt=()=>{Re(!1)},vn=B6(I),gn=B6(Oe.current);St.scroll&&(window.addEventListener("scroll",Tt),vn==null||vn.addEventListener("scroll",Tt),gn==null||gn.addEventListener("scroll",Tt));let Pe=null;St.resize?window.addEventListener("resize",Tt):I&&Oe.current&&(Pe=zE(I,Oe.current,Ce,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const it=Y=>{Y.key==="Escape"&&Re(!1)};St.escape&&window.addEventListener("keydown",it),St.clickOutsideAnchor&&window.addEventListener("click",tn);const we=[],yn=Y=>{He&&(Y==null?void 0:Y.target)===I||Rr(Y)},mt=Y=>{He&&(Y==null?void 0:Y.target)===I&&mn()},er=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],Nr=["click","dblclick","mousedown","mouseup"];Object.entries(Jn).forEach(([Y,le])=>{le&&(er.includes(Y)?we.push({event:Y,listener:Ve}):Nr.includes(Y)&&we.push({event:Y,listener:yn}))}),Object.entries(Qn).forEach(([Y,le])=>{le&&(er.includes(Y)?we.push({event:Y,listener:De}):Nr.includes(Y)&&we.push({event:Y,listener:mt}))}),C&&we.push({event:"pointermove",listener:sn});const ia=()=>{Nt.current=!0},Ee=()=>{Nt.current=!1,mn()};return j&&!Zn&&((he=Oe.current)===null||he===void 0||he.addEventListener("mouseenter",ia),(Ae=Oe.current)===null||Ae===void 0||Ae.addEventListener("mouseleave",Ee)),we.forEach(({event:Y,listener:le})=>{Ne.forEach(me=>{var We;(We=me.current)===null||We===void 0||We.addEventListener(Y,le)})}),()=>{var Y,le;St.scroll&&(window.removeEventListener("scroll",Tt),vn==null||vn.removeEventListener("scroll",Tt),gn==null||gn.removeEventListener("scroll",Tt)),St.resize?window.removeEventListener("resize",Tt):Pe==null||Pe(),St.clickOutsideAnchor&&window.removeEventListener("click",tn),St.escape&&window.removeEventListener("keydown",it),j&&!Zn&&((Y=Oe.current)===null||Y===void 0||Y.removeEventListener("mouseenter",ia),(le=Oe.current)===null||le===void 0||le.removeEventListener("mouseleave",Ee)),we.forEach(({event:me,listener:We})=>{Ne.forEach(ct=>{var je;(je=ct.current)===null||je===void 0||je.removeEventListener(me,We)})})}},[I,Ce,Vt,Ue,kt,F,w,E,On,x,A]),y.useEffect(()=>{var he,Ae;let Ne=(Ae=(he=ot==null?void 0:ot.anchorSelect)!==null&&he!==void 0?he:c)!==null&&Ae!==void 0?Ae:"";!Ne&&i&&(Ne=`[data-tooltip-id='${i.replace(/'/g,"\\'")}']`);const at=new MutationObserver(Tt=>{const vn=[],gn=[];Tt.forEach(Pe=>{if(Pe.type==="attributes"&&Pe.attributeName==="data-tooltip-id"&&(Pe.target.getAttribute("data-tooltip-id")===i?vn.push(Pe.target):Pe.oldValue===i&&gn.push(Pe.target)),Pe.type==="childList"){if(I){const it=[...Pe.removedNodes].filter(we=>we.nodeType===1);if(Ne)try{gn.push(...it.filter(we=>we.matches(Ne))),gn.push(...it.flatMap(we=>[...we.querySelectorAll(Ne)]))}catch{}it.some(we=>{var yn;return!!(!((yn=we==null?void 0:we.contains)===null||yn===void 0)&&yn.call(we,I))&&(Jt(!1),Re(!1),ce(null),Dr(ze),Dr(rt),!0)})}if(Ne)try{const it=[...Pe.addedNodes].filter(we=>we.nodeType===1);vn.push(...it.filter(we=>we.matches(Ne))),vn.push(...it.flatMap(we=>[...we.querySelectorAll(Ne)]))}catch{}}}),(vn.length||gn.length)&&Un(Pe=>[...Pe.filter(it=>!gn.includes(it)),...vn])});return at.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{at.disconnect()}},[i,c,ot==null?void 0:ot.anchorSelect,I]),y.useEffect(()=>{Ce()},[Ce]),y.useEffect(()=>{if(!(P!=null&&P.current))return()=>null;const he=new ResizeObserver(()=>{setTimeout(()=>Ce())});return he.observe(P.current),()=>{he.disconnect()}},[M,P==null?void 0:P.current]),y.useEffect(()=>{var he;const Ae=document.querySelector(`[id='${s}']`),Ne=[...kt,Ae];I&&Ne.includes(I)||ce((he=kt[0])!==null&&he!==void 0?he:Ae)},[s,kt,I]),y.useEffect(()=>(J&&Re(!0),()=>{Dr(ze),Dr(rt)}),[]),y.useEffect(()=>{var he;let Ae=(he=ot==null?void 0:ot.anchorSelect)!==null&&he!==void 0?he:c;if(!Ae&&i&&(Ae=`[data-tooltip-id='${i.replace(/'/g,"\\'")}']`),Ae)try{const Ne=Array.from(document.querySelectorAll(Ae));Un(Ne)}catch{Un([])}},[i,c,ot==null?void 0:ot.anchorSelect]),y.useEffect(()=>{ze.current&&(Dr(ze),en(x))},[x]);const Ht=(Ye=ot==null?void 0:ot.content)!==null&&Ye!==void 0?Ye:M,un=He&&Object.keys(et.tooltipStyles).length>0;return y.useImperativeHandle(r,()=>({open:he=>{if(he!=null&&he.anchorSelect)try{document.querySelector(he.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${he.anchorSelect}" is not a valid CSS selector`)}qe(he??null),he!=null&&he.delay?en(he.delay):Re(!0)},close:he=>{he!=null&&he.delay?At(he.delay):Re(!1)},activeAnchor:I,place:et.place,isOpen:!!(Vt&&!N&&Ht&&un)})),Vt&&!N&&Ht?G.createElement(S,{id:i,role:pe,className:Um("react-tooltip",lo.tooltip,M1.tooltip,M1[l],n,`react-tooltip__place-${et.place}`,lo[un?"show":"closing"],un?"react-tooltip__show":"react-tooltip__closing",g==="fixed"&&lo.fixed,j&&lo.clickable),onTransitionEnd:he=>{Dr(Mt),He||he.propertyName!=="opacity"||(Jt(!1),qe(null),B==null||B())},style:{...k,...et.tooltipStyles,opacity:de!==void 0&&un?de:void 0},ref:Oe},Ht,G.createElement(S,{className:Um("react-tooltip-arrow",lo.arrow,M1.arrow,t,O&&lo.noArrow),style:{...et.tooltipArrowStyles,background:fe?`linear-gradient(to right bottom, transparent 50%, ${fe} 50%)`:void 0},ref:Je})):null},eS=({content:r})=>G.createElement("span",{dangerouslySetInnerHTML:{__html:r}}),tS=G.forwardRef(({id:r,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:b=null,events:S=["hover"],openOnClick:x=!1,positionStrategy:A="absolute",middlewares:C,delayShow:N=0,delayHide:O=0,float:j=!1,hidden:Q=!1,noArrow:$=!1,clickable:ne=!1,closeOnEsc:F=!1,closeOnScroll:w=!1,closeOnResize:E=!1,openEvents:D,closeEvents:k,globalCloseEvents:q,imperativeModeOnly:z=!1,style:B,position:U,isOpen:M,defaultIsOpen:P=!1,disableStyleInjection:L=!1,border:J,opacity:R,arrowColor:I,setIsOpen:ce,afterShow:se,afterHide:de,disableTooltip:fe,role:pe="tooltip"},Ye)=>{const[Oe,Je]=y.useState(t),[ze,rt]=y.useState(l),[Mt,et]=y.useState(m),[Qe,He]=y.useState(h),[xn,Vt]=y.useState(v),[Jt,ot]=y.useState(N),[qe,ge]=y.useState(O),[Fe,Ue]=y.useState(j),[Ke,Nt]=y.useState(Q),[kt,Un]=y.useState(g),[pn,On]=y.useState(S),[Zn,Jn]=y.useState(A),[Qn,St]=y.useState(null),[Re,Pn]=y.useState(null),en=y.useRef(L),{anchorRefs:At,activeAnchor:Rr}=u8(r),mn=Dt=>Dt==null?void 0:Dt.getAttributeNames().reduce((Ve,De)=>{var Ce;return De.startsWith("data-tooltip-")&&(Ve[De.replace(/^data-tooltip-/,"")]=(Ce=Dt==null?void 0:Dt.getAttribute(De))!==null&&Ce!==void 0?Ce:null),Ve},{}),vt=Dt=>{const Ve={place:De=>{var Ce;et((Ce=De)!==null&&Ce!==void 0?Ce:m)},content:De=>{Je(De??t)},html:De=>{rt(De??l)},variant:De=>{var Ce;He((Ce=De)!==null&&Ce!==void 0?Ce:h)},offset:De=>{Vt(De===null?v:Number(De))},wrapper:De=>{var Ce;Un((Ce=De)!==null&&Ce!==void 0?Ce:g)},events:De=>{const Ce=De==null?void 0:De.split(" ");On(Ce??S)},"position-strategy":De=>{var Ce;Jn((Ce=De)!==null&&Ce!==void 0?Ce:A)},"delay-show":De=>{ot(De===null?N:Number(De))},"delay-hide":De=>{ge(De===null?O:Number(De))},float:De=>{Ue(De===null?j:De==="true")},hidden:De=>{Nt(De===null?Q:De==="true")},"class-name":De=>{St(De)}};Object.values(Ve).forEach(De=>De(null)),Object.entries(Dt).forEach(([De,Ce])=>{var Ht;(Ht=Ve[De])===null||Ht===void 0||Ht.call(Ve,Ce)})};y.useEffect(()=>{Je(t)},[t]),y.useEffect(()=>{rt(l)},[l]),y.useEffect(()=>{et(m)},[m]),y.useEffect(()=>{He(h)},[h]),y.useEffect(()=>{Vt(v)},[v]),y.useEffect(()=>{ot(N)},[N]),y.useEffect(()=>{ge(O)},[O]),y.useEffect(()=>{Ue(j)},[j]),y.useEffect(()=>{Nt(Q)},[Q]),y.useEffect(()=>{Jn(A)},[A]),y.useEffect(()=>{en.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 Dt;const Ve=new Set(At);let De=n;if(!De&&r&&(De=`[data-tooltip-id='${r.replace(/'/g,"\\'")}']`),De)try{document.querySelectorAll(De).forEach(Ae=>{Ve.add({current:Ae})})}catch{console.warn(`[react-tooltip] "${De}" is not a valid CSS selector`)}const Ce=document.querySelector(`[id='${i}']`);if(Ce&&Ve.add({current:Ce}),!Ve.size)return()=>null;const Ht=(Dt=Re??Ce)!==null&&Dt!==void 0?Dt:Rr.current,un=new MutationObserver(Ae=>{Ae.forEach(Ne=>{var at;if(!Ht||Ne.type!=="attributes"||!(!((at=Ne.attributeName)===null||at===void 0)&&at.startsWith("data-tooltip-")))return;const Tt=mn(Ht);vt(Tt)})}),he={attributes:!0,childList:!1,subtree:!1};if(Ht){const Ae=mn(Ht);vt(Ae),un.observe(Ht,he)}return()=>{un.disconnect()}},[At,Rr,Re,i,n]),y.useEffect(()=>{B!=null&&B.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),J&&!z6("border",`${J}`)&&console.warn(`[react-tooltip] "${J}" is not a valid \`border\`.`),B!=null&&B.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),R&&!z6("opacity",`${R}`)&&console.warn(`[react-tooltip] "${R}" is not a valid \`opacity\`.`)},[]);let sn=b;const tn=y.useRef(null);if(s){const Dt=s({content:(Re==null?void 0:Re.getAttribute("data-tooltip-content"))||Oe||null,activeAnchor:Re});sn=Dt?G.createElement("div",{ref:tn,className:"react-tooltip-content-wrapper"},Dt):null}else Oe&&(sn=Oe);ze&&(sn=G.createElement(eS,{content:ze}));const kn={forwardRef:Ye,id:r,anchorId:i,anchorSelect:n,className:Um(c,Qn),classNameArrow:d,content:sn,contentWrapperRef:tn,place:Mt,variant:Qe,offset:xn,wrapper:kt,events:pn,openOnClick:x,positionStrategy:Zn,middlewares:C,delayShow:Jt,delayHide:qe,float:Fe,hidden:Ke,noArrow:$,clickable:ne,closeOnEsc:F,closeOnScroll:w,closeOnResize:E,openEvents:D,closeEvents:k,globalCloseEvents:q,imperativeModeOnly:z,style:B,position:U,isOpen:M,defaultIsOpen:P,border:J,opacity:R,arrowColor:I,setIsOpen:ce,afterShow:se,afterHide:de,disableTooltip:fe,activeAnchor:Re,setActiveAnchor:Dt=>Pn(Dt),role:pe};return G.createElement(JE,{...kn})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",r=>{r.detail.disableCore||U6({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"}),r.detail.disableBase||U6({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 nS(r,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 r.concat(s||Array.prototype.slice.call(i))}var I6;function zm(){return zm=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(r[t]=n[t])}return r},zm.apply(null,arguments)}var rS=function(i){return y.createElement("svg",zm({xmlns:"http://www.w3.org/2000/svg",width:24,height:12.4,viewBox:"0 0 24 12.4"},i),I6||(I6=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"})))},F6,G6;function Ym(){return Ym=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(r[t]=n[t])}return r},Ym.apply(null,arguments)}var af=function(i){return y.createElement("svg",Ym({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,className:"info-svg",viewBox:"0 0 22.5 22.5"},i),F6||(F6=y.createElement("circle",{cx:11.2,cy:11.2,r:11.2,fill:"none",className:"bg"})),G6||(G6=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"}))))},W6,V6;function jm(){return jm=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(r[t]=n[t])}return r},jm.apply(null,arguments)}var E2=function(i){return y.createElement("svg",jm({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,viewBox:"0 0 22.5 22.5"},i),W6||(W6=y.createElement("circle",{cx:11.2,cy:11.2,r:11.2,fill:"none",className:"bg"})),V6||(V6=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"}))))},Z6,Q6,K6,X6;function Bm(){return Bm=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(r[t]=n[t])}return r},Bm.apply(null,arguments)}var S2=function(i){return y.createElement("svg",Bm({xmlns:"http://www.w3.org/2000/svg",width:22.6,height:22.6,viewBox:"0 0 22.6 22.6"},i),Z6||(Z6=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"})),Q6||(Q6=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"})),K6||(K6=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"})),X6||(X6=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M11.3 14.9V7.8"})))},$6;function Im(){return Im=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(r[t]=n[t])}return r},Im.apply(null,arguments)}var c8=function(i){return y.createElement("svg",Im({xmlns:"http://www.w3.org/2000/svg",width:13.5,height:13.5,viewBox:"0 0 13.5 13.5"},i),$6||($6=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m.8 12.8 12-12m0 12L.8.8"})))},Fm;(function(r){r.Default="sds--alert--status-default",r.Success="sds--alert--status-success",r.Warning="sds--alert--status-warning",r.Error="sds--alert--status-error",r.Info="sds--alert--status-info"})(Fm||(Fm={}));var Di=Fm;function f8(r){return r!=null?(r.preventDefault(),r.stopPropagation(),!1):!0}function Ms(r){return r==null?!0:Array.isArray(r)?r.length===0:typeof r=="string"?r.trim().length===0:r&&r.getTime&&typeof r.getTime=="function"?r.getTime()!==r.getTime():typeof r=="object"?Object.keys(r).length===0:!1}function Do(r){return dE.sanitize(r,{ADD_ATTR:["target"]})}function aS(){return crypto.randomUUID&&typeof crypto.randomUUID=="function"&&crypto.randomUUID()||Math.round(new Date().getTime()*Math.random()*1e3).toString()}var iS=function(r){var i=r.alertType||Di.Success,n=r.action?"sds--alert--has-action":"",t="sds--alert ".concat(i.toLowerCase()," ").concat(n," ").concat(r.hide?"hide":"");return G.createElement("div",{className:t},G.createElement("div",{className:"sds--alert--inner ".concat(r.asChild?"":"sds--page-container")},G.createElement("div",{className:"sds--alert--visual"},[Di.Error,Di.Warning].includes(i)&&G.createElement(S2,null),[Di.Default,Di.Info].includes(i)&&G.createElement(af,null),[Di.Success].includes(i)&&G.createElement(E2,null)),G.createElement("div",{className:"sds--alert--textual"},G.createElement("p",{dangerouslySetInnerHTML:{__html:Do(r.message)}}),r.action&&G.createElement("button",{type:"button",onClick:r.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},r.actionLabel)),r.close&&G.createElement("button",{className:"sds--alert--actions",onClick:r.close},G.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),G.createElement(c8,null))))},lS=function(r){var i="sds--badge--number ".concat(r.colored?"sds--badge--number--colored":""," ").concat(r.small?"sds--badge--number--small":"");return G.createElement("span",{className:i},r.value)},J6;(function(r){r.Horizontal="",r.Vertical="sds--block-switch--vertical"})(J6||(J6={}));var e4;function Gm(){return Gm=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(r[t]=n[t])}return r},Gm.apply(null,arguments)}var oS=function(i){return y.createElement("svg",Gm({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,className:"bin-svg",viewBox:"0 0 22.5 22.5"},i),e4||(e4=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"})))},Wm;(function(r){r.Primary="sds--btn--primary",r.Secondary="sds--btn--secondary",r.Tertiary="sds--btn--tertiary",r.GhostDark="sds--btn--ghost--dark",r.GhostLight="sds--btn--ghost--light",r.Delete="sds--btn--delete",r.DeleteSecondary="sds--btn--delete--secondary",r.Chevron="sds--btn--chevron",r.DestructivePrimary="sds--btn sds--btn-destructive--primary",r.DestructiveSecondary="sds--btn sds--btn-destructive--secondary",r.DestructiveTertiary="sds--btn sds--btn-destructive--tertiary"})(Wm||(Wm={}));var Oi=Wm,Vm;(function(r){r.Default="",r.Small="sds--btn--small",r.Full="sds--btn--full"})(Vm||(Vm={}));var D2=Vm;Oi.Primary,D2.Default;var Zs=function(r){var i="".concat((r.type||Oi.Primary).toLowerCase()," ")+"".concat(r.type&&r.type===Oi.DeleteSecondary?Oi.Secondary.toLowerCase():""),n="".concat((r.size||D2.Default).toLowerCase()),t=r.children?"sds--btn-chevron":"",l=r.active||!1,s="sds--btn ".concat(i," ").concat(n," ").concat(t," ").concat(l?"active":""),c=function(d){f8(d),!r.disabled&&r.onClick&&r.onClick(d)};return G.createElement("button",{type:"button",className:s,onClick:c,disabled:r.disabled},r.children,r.txt&&G.createElement("span",{className:"textual",dangerouslySetInnerHTML:{__html:Do(r.txt||"")}}),r.type===Oi.Delete?G.createElement(oS,null):r.icon)},sS=function(r){var i="A"+aS();return G.createElement("div",{"data-tooltip-id":i,className:"sds--tooltip-container ".concat(r.standalone?"":"sibbling"),"data-tooltip-html":Do(r.tip)},r.children?G.Children.map(r.children,function(n){return n}):G.createElement(af,null),G.createElement(tS,{id:i,place:r.place,clickable:r.clickable||!1,disableStyleInjection:"core"}))},t4;(function(r){r.Default="sds--card",r.Big="sds--card sds--card--big"})(t4||(t4={}));var Zm;(function(r){r.Main_100="main-100",r.Main_200="main-200",r.Main_300="main-300",r.Main_400="main-400",r.Main_500="main-500",r.Support_100="support-100",r.Support_400="support-400",r.Support_500="support-500",r.Status_default="status-default",r.Status_success="status-success",r.Status_warning="status-warning",r.Status_error="status-error",r.Status_info="status-info"})(Zm||(Zm={}));var d8=Zm,uS=function(r){var i=r.type?r.type:d8.Main_100;return G.createElement("button",{className:"sds--chips ".concat(i)},r.children&&G.createElement("span",{className:"sds--chips--visual"},r.children),G.createElement("span",{className:"sds--chips--textual sds--text--body--small"},r.label))},pc=35,cS=["Delete","Backspace"],h8=function(r){var i=y.useState(Array(r.size).fill("")),n=i[0],t=i[1],l=y.useRef([]),s=r.disabled||!1,c=r.focusFirst===void 0||r.focusFirst;y.useEffect(function(){var v=Ms(n.join(""));if(r.clear&&t(Array(r.size).fill("")),v&&c&&!r.disabled){var g=l.current[0];setTimeout(function(){return g.focus()},pc)}},[r]);var d=function(v,g){var b=g.target.value;if(!(r.validate&&!r.validate(b))){var S=nS([],n);if(S[v]=r.transformer?r.transformer(b):b,t(S),r.intermediateCallback&&r.intermediateCallback(S),v!==r.size-1&&!Ms(b)){var x=l.current[v+1];setTimeout(function(){return x.focus()},pc)}else Ms(b)||setTimeout(function(){return r.verify(S.join(""))},pc)}},h=function(v,g){if(cS.includes(g.key)&&v>0&&g.target.value===""){var b=l.current[v-1];b.focus()}return!0},m=function(v,g){if(v!==0)return!1;var b=g.clipboardData.getData("text/plain"),S=b.split("");if(S.length!==r.size||r.validate&&S.map(function(A){return r.validate(A)}).some(function(A){return!A}))return!1;t(r.transformer?S.map(function(A){return r.transformer(A)}):S);var x=l.current[r.size-1];return x.focus(),setTimeout(function(){return r.verify(S.join(""))},pc),!0};return G.createElement("div",{className:"sds--code-validation-container"},G.createElement("div",{className:"sds--code-validation"},Array(r.size).fill("").map(function(v,g){return G.createElement("input",{type:"text",key:"input_".concat(g),disabled:s||Ms(n[g])&&g!==0&&Ms(n[g-1]),value:n[g]||"",onChange:function(b){return d(g,b)},onKeyDown:function(b){return h(g,b)},onPaste:function(b){return m(g,b)},maxLength:1,ref:function(b){return l.current[g]=b},className:"value index_".concat(g)})})),r.info&&G.createElement("p",{className:"info",dangerouslySetInnerHTML:{__html:Do(r.info)}}))},Ti;(function(r){r.Default="sds--error-indicator--status-default",r.Success="sds--error-indicator--status-success",r.Warning="sds--error-indicator--status-warning",r.Error="sds--error-indicator--status-error",r.Info="sds--error-indicator--status-info"})(Ti||(Ti={}));var fS=function(r){var i=r.errorIndicatorType||Ti.Error,n="".concat(i.toLowerCase());return G.createElement("div",{className:"sds--error-indicator ".concat(n)},G.createElement("div",{className:"sds--error-indicator--visual"},[Ti.Error,Ti.Warning].includes(i)&&G.createElement(S2,null),[Ti.Default,Ti.Info].includes(i)&&G.createElement(af,null),[Ti.Success].includes(i)&&G.createElement(E2,null)),G.createElement("div",{className:"sds--error-indicator-textual"},r.message&&G.createElement("p",{dangerouslySetInnerHTML:{__html:Do(r.message)}})))},T2=function(r){return G.createElement("div",{className:"sds--loading-container"},G.createElement("div",{className:"sds--loading"},G.createElement("span",{className:"sds--loading--dot"}),G.createElement("span",{className:"sds--loading--dot"}),G.createElement("span",{className:"sds--loading--dot"})),r.children&&r.children)},n4,r4;function Qm(){return Qm=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(r[t]=n[t])}return r},Qm.apply(null,arguments)}var dS=function(i){return y.createElement("svg",Qm({xmlns:"http://www.w3.org/2000/svg",width:70.9,height:36,className:"logo-surf",viewBox:"0 0 70.9 36"},i),n4||(n4=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"})),r4||(r4=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"})))},Km;(function(r){r.White="White",r.Black="Black"})(Km||(Km={}));var Xm=Km,p8=function(r){var i=(r.color||Xm.Black)===Xm.White?"sds--branding--negative":"",n="sds--logo sds--branding sds--branding--name-".concat(r.position.toLowerCase()," ").concat(i);return G.createElement("div",{className:n},G.createElement("span",{className:"sds--branding--visual"},r.CustomLogo?G.createElement(r.CustomLogo,null):G.createElement(dS,null)),G.createElement("span",{className:"sds--branding--textual"},r.label))},$m;(function(r){r.Bottom="Bottom",r.Up="Up"})($m||($m={}));var m8=$m,a4;(function(r){r.row="row",r.column="column"})(a4||(a4={}));var i4=function(r){var i="sds--switch ".concat(r.value?"sds--switch--active":""," ").concat(r.disabled?"sds--switch--disabled":"");return G.createElement("div",{className:"sds--tooltip-parent",onClick:function(){return!r.disabled&&r.onChange(!r.value)}},G.createElement("span",{className:i,role:"switch","aria-checked":r.value}),r.tooltip&&G.createElement(sS,{tip:r.tooltip}))},Jm;(function(r){r.Default="sds--toaster--status-default",r.Success="sds--toaster--status-success",r.Warning="sds--toaster--status-warning",r.Error="sds--toaster--status-error",r.Info="sds--toaster--status-info"})(Jm||(Jm={}));var xi=Jm,x2=function(r){var i="".concat(r.toasterType.toLowerCase()),n=r.large?"sds--toaster--full-width":"",t=r.action?"sds--toaster--has-action":"",l="sds--toaster ".concat(i," ").concat(t," ").concat(n);return G.createElement("div",{className:l},G.createElement("div",{className:"sds--toaster--visual"},[xi.Error,xi.Warning].includes(r.toasterType)&&G.createElement(S2,null),[xi.Default,xi.Info].includes(r.toasterType)&&G.createElement(af,null),[xi.Success].includes(r.toasterType)&&G.createElement(E2,null)),G.createElement("div",{className:"sds--toaster--textual"},r.message&&G.createElement("p",{dangerouslySetInnerHTML:{__html:Do(r.message)}}),r.children&&r.children,r.action&&G.createElement("button",{type:"button",onClick:r.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},r.actionLabel)),r.close&&G.createElement("button",{className:"sds--alert--actions",onClick:r.close},G.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),G.createElement(c8,null)))},hS=function(r){return G.createElement("div",{className:"sds--toaster-container"},r.children)},pS=function(r){return G.createElement("nav",{className:"sds--user-info ".concat(r.isOpen?"is-open":"")},G.createElement("div",{className:"sds--user-info--textual"},G.createElement("p",{className:"name"},r.userName),G.createElement("p",{className:"role sds--text--body--small"},r.organisationName)),G.createElement("button",{type:"button",className:"sds--user-info--button",onClick:r.toggle},G.createElement(rS,null)),G.createElement("div",{className:"sds--user-info--dropdown"},r.children&&r.children))},As={},l4;function mS(){if(l4)return As;l4=1,Object.defineProperty(As,"__esModule",{value:!0}),As.parse=c,As.serialize=m;const r=/^[\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 b=function(){};return b.prototype=Object.create(null),b})();function c(b,S){const x=new s,A=b.length;if(A<2)return x;const C=(S==null?void 0:S.decode)||v;let N=0;do{const O=b.indexOf("=",N);if(O===-1)break;const j=b.indexOf(";",N),Q=j===-1?A:j;if(O>Q){N=b.lastIndexOf(";",O-1)+1;continue}const $=d(b,N,O),ne=h(b,O,$),F=b.slice($,ne);if(x[F]===void 0){let w=d(b,O+1,Q),E=h(b,Q,w);const D=C(b.slice(w,E));x[F]=D}N=Q+1}while(N<A);return x}function d(b,S,x){do{const A=b.charCodeAt(S);if(A!==32&&A!==9)return S}while(++S<x);return x}function h(b,S,x){for(;S>x;){const A=b.charCodeAt(--S);if(A!==32&&A!==9)return S+1}return x}function m(b,S,x){const A=(x==null?void 0:x.encode)||encodeURIComponent;if(!r.test(b))throw new TypeError(`argument name is invalid: ${b}`);const C=A(S);if(!i.test(C))throw new TypeError(`argument val is invalid: ${S}`);let N=b+"="+C;if(!x)return N;if(x.maxAge!==void 0){if(!Number.isInteger(x.maxAge))throw new TypeError(`option maxAge is invalid: ${x.maxAge}`);N+="; Max-Age="+x.maxAge}if(x.domain){if(!n.test(x.domain))throw new TypeError(`option domain is invalid: ${x.domain}`);N+="; Domain="+x.domain}if(x.path){if(!t.test(x.path))throw new TypeError(`option path is invalid: ${x.path}`);N+="; Path="+x.path}if(x.expires){if(!g(x.expires)||!Number.isFinite(x.expires.valueOf()))throw new TypeError(`option expires is invalid: ${x.expires}`);N+="; Expires="+x.expires.toUTCString()}if(x.httpOnly&&(N+="; HttpOnly"),x.secure&&(N+="; Secure"),x.partitioned&&(N+="; Partitioned"),x.priority)switch(typeof x.priority=="string"?x.priority.toLowerCase():void 0){case"low":N+="; Priority=Low";break;case"medium":N+="; Priority=Medium";break;case"high":N+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${x.priority}`)}if(x.sameSite)switch(typeof x.sameSite=="string"?x.sameSite.toLowerCase():x.sameSite){case!0:case"strict":N+="; SameSite=Strict";break;case"lax":N+="; SameSite=Lax";break;case"none":N+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${x.sameSite}`)}return N}function v(b){if(b.indexOf("%")===-1)return b;try{return decodeURIComponent(b)}catch{return b}}function g(b){return l.call(b)==="[object Date]"}return As}mS();/**
 * react-router v7.1.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var o4="popstate";function vS(r={}){function i(t,l){let{pathname:s,search:c,hash:d}=t.location;return e2("",{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:Qs(l)}return yS(i,n,null,r)}function qt(r,i){if(r===!1||r===null||typeof r>"u")throw new Error(i)}function $r(r,i){if(!r){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function gS(){return Math.random().toString(36).substring(2,10)}function s4(r,i){return{usr:r.state,key:r.key,idx:i}}function e2(r,i,n=null,t){return{pathname:typeof r=="string"?r:r.pathname,search:"",hash:"",...typeof i=="string"?To(i):i,state:n,key:i&&i.key||t||gS()}}function Qs({pathname:r="/",search:i="",hash:n=""}){return i&&i!=="?"&&(r+=i.charAt(0)==="?"?i:"?"+i),n&&n!=="#"&&(r+=n.charAt(0)==="#"?n:"#"+n),r}function To(r){let i={};if(r){let n=r.indexOf("#");n>=0&&(i.hash=r.substring(n),r=r.substring(0,n));let t=r.indexOf("?");t>=0&&(i.search=r.substring(t),r=r.substring(0,t)),r&&(i.pathname=r)}return i}function yS(r,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(),N=C==null?null:C-m;m=C,h&&h({action:d,location:A.location,delta:N})}function b(C,N){d="PUSH";let O=e2(A.location,C,N);m=v()+1;let j=s4(O,m),Q=A.createHref(O);try{c.pushState(j,"",Q)}catch($){if($ instanceof DOMException&&$.name==="DataCloneError")throw $;l.location.assign(Q)}s&&h&&h({action:d,location:A.location,delta:1})}function S(C,N){d="REPLACE";let O=e2(A.location,C,N);m=v();let j=s4(O,m),Q=A.createHref(O);c.replaceState(j,"",Q),s&&h&&h({action:d,location:A.location,delta:0})}function x(C){let N=l.location.origin!=="null"?l.location.origin:l.location.href,O=typeof C=="string"?C:Qs(C);return O=O.replace(/ $/,"%20"),qt(N,`No window.location.(origin|href) available to create URL for href: ${O}`),new URL(O,N)}let A={get action(){return d},get location(){return r(l,c)},listen(C){if(h)throw new Error("A history only accepts one active listener");return l.addEventListener(o4,g),h=C,()=>{l.removeEventListener(o4,g),h=null}},createHref(C){return i(l,C)},createURL:x,encodeLocation(C){let N=x(C);return{pathname:N.pathname,search:N.search,hash:N.hash}},push:b,replace:S,go(C){return c.go(C)}};return A}function v8(r,i,n="/"){return bS(r,i,n,!1)}function bS(r,i,n,t){let l=typeof i=="string"?To(i):i,s=Ri(l.pathname||"/",n);if(s==null)return null;let c=g8(r);_S(c);let d=null;for(let h=0;d==null&&h<c.length;++h){let m=RS(s);d=AS(c[h],m,t)}return d}function g8(r,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("/")&&(qt(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=Wa([t,h.relativePath]),v=n.concat(h);s.children&&s.children.length>0&&(qt(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),g8(s.children,i,v,m)),!(s.path==null&&!s.index)&&i.push({path:m,score:OS(m,s.index),routesMeta:v})};return r.forEach((s,c)=>{var d;if(s.path===""||!((d=s.path)!=null&&d.includes("?")))l(s,c);else for(let h of y8(s.path))l(s,c,h)}),i}function y8(r){let i=r.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=y8(t.join("/")),d=[];return d.push(...c.map(h=>h===""?s:[s,h].join("/"))),l&&d.push(...c),d.map(h=>r.startsWith("/")&&h===""?"/":h)}function _S(r){r.sort((i,n)=>i.score!==n.score?n.score-i.score:MS(i.routesMeta.map(t=>t.childrenIndex),n.routesMeta.map(t=>t.childrenIndex)))}var wS=/^:[\w-]+$/,ES=3,SS=2,DS=1,TS=10,xS=-2,u4=r=>r==="*";function OS(r,i){let n=r.split("/"),t=n.length;return n.some(u4)&&(t+=xS),i&&(t+=SS),n.filter(l=>!u4(l)).reduce((l,s)=>l+(wS.test(s)?ES:s===""?DS:TS),t)}function MS(r,i){return r.length===i.length&&r.slice(0,-1).every((t,l)=>t===i[l])?r[r.length-1]-i[i.length-1]:0}function AS(r,i,n=!1){let{routesMeta:t}=r,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=Yc({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},v),b=h.route;if(!g&&m&&n&&!t[t.length-1].route.index&&(g=Yc({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},v)),!g)return null;Object.assign(l,g.params),c.push({params:l,pathname:Wa([s,g.pathname]),pathnameBase:qS(Wa([s,g.pathnameBase])),route:b}),g.pathnameBase!=="/"&&(s=Wa([s,g.pathnameBase]))}return c}function Yc(r,i){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[n,t]=CS(r.path,r.caseSensitive,r.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},b)=>{if(v==="*"){let x=d[b]||"";c=s.slice(0,s.length-x.length).replace(/(.)\/+$/,"$1")}const S=d[b];return g&&!S?m[v]=void 0:m[v]=(S||"").replace(/%2F/g,"/"),m},{}),pathname:s,pathnameBase:c,pattern:r}}function CS(r,i=!1,n=!0){$r(r==="*"||!r.endsWith("*")||r.endsWith("/*"),`Route path "${r}" will be treated as if it were "${r.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${r.replace(/\*$/,"/*")}".`);let t=[],l="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,h)=>(t.push({paramName:d,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(t.push({paramName:"*"}),l+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":r!==""&&r!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,i?void 0:"i"),t]}function RS(r){try{return r.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return $r(!1,`The URL path "${r}" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),r}}function Ri(r,i){if(i==="/")return r;if(!r.toLowerCase().startsWith(i.toLowerCase()))return null;let n=i.endsWith("/")?i.length-1:i.length,t=r.charAt(n);return t&&t!=="/"?null:r.slice(n)||"/"}function NS(r,i="/"){let{pathname:n,search:t="",hash:l=""}=typeof r=="string"?To(r):r;return{pathname:n?n.startsWith("/")?n:kS(n,i):i,search:HS(t),hash:US(l)}}function kS(r,i){let n=i.replace(/\/+$/,"").split("/");return r.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function A1(r,i,n,t){return`Cannot include a '${r}' 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 LS(r){return r.filter((i,n)=>n===0||i.route.path&&i.route.path.length>0)}function O2(r){let i=LS(r);return i.map((n,t)=>t===i.length-1?n.pathname:n.pathnameBase)}function M2(r,i,n,t=!1){let l;typeof r=="string"?l=To(r):(l={...r},qt(!l.pathname||!l.pathname.includes("?"),A1("?","pathname","search",l)),qt(!l.pathname||!l.pathname.includes("#"),A1("#","pathname","hash",l)),qt(!l.search||!l.search.includes("#"),A1("#","search","hash",l)));let s=r===""||l.pathname==="",c=s?"/":l.pathname,d;if(c==null)d=n;else{let g=i.length-1;if(!t&&c.startsWith("..")){let b=c.split("/");for(;b[0]==="..";)b.shift(),g-=1;l.pathname=b.join("/")}d=g>=0?i[g]:"/"}let h=NS(l,d),m=c&&c!=="/"&&c.endsWith("/"),v=(s||c===".")&&n.endsWith("/");return!h.pathname.endsWith("/")&&(m||v)&&(h.pathname+="/"),h}var Wa=r=>r.join("/").replace(/\/\/+/g,"/"),qS=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),HS=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,US=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r;function PS(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var b8=["POST","PUT","PATCH","DELETE"];new Set(b8);var zS=["GET",...b8];new Set(zS);var xo=y.createContext(null);xo.displayName="DataRouter";var lf=y.createContext(null);lf.displayName="DataRouterState";var _8=y.createContext({isTransitioning:!1});_8.displayName="ViewTransition";var YS=y.createContext(new Map);YS.displayName="Fetchers";var jS=y.createContext(null);jS.displayName="Await";var na=y.createContext(null);na.displayName="Navigation";var tu=y.createContext(null);tu.displayName="Location";var ra=y.createContext({outlet:null,matches:[],isDataRoute:!1});ra.displayName="Route";var A2=y.createContext(null);A2.displayName="RouteError";function BS(r,{relative:i}={}){qt(Oo(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:t}=y.useContext(na),{hash:l,pathname:s,search:c}=nu(r,{relative:i}),d=s;return n!=="/"&&(d=s==="/"?n:Wa([n,s])),t.createHref({pathname:d,search:c,hash:l})}function Oo(){return y.useContext(tu)!=null}function Li(){return qt(Oo(),"useLocation() may be used only in the context of a <Router> component."),y.useContext(tu).location}var w8="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function E8(r){y.useContext(na).static||y.useLayoutEffect(r)}function Mo(){let{isDataRoute:r}=y.useContext(ra);return r?tD():IS()}function IS(){qt(Oo(),"useNavigate() may be used only in the context of a <Router> component.");let r=y.useContext(xo),{basename:i,navigator:n}=y.useContext(na),{matches:t}=y.useContext(ra),{pathname:l}=Li(),s=JSON.stringify(O2(t)),c=y.useRef(!1);return E8(()=>{c.current=!0}),y.useCallback((h,m={})=>{if($r(c.current,w8),!c.current)return;if(typeof h=="number"){n.go(h);return}let v=M2(h,JSON.parse(s),l,m.relative==="path");r==null&&i!=="/"&&(v.pathname=v.pathname==="/"?i:Wa([i,v.pathname])),(m.replace?n.replace:n.push)(v,m.state,m)},[i,n,s,l,r])}y.createContext(null);function S8(){let{matches:r}=y.useContext(ra),i=r[r.length-1];return i?i.params:{}}function nu(r,{relative:i}={}){let{matches:n}=y.useContext(ra),{pathname:t}=Li(),l=JSON.stringify(O2(n));return y.useMemo(()=>M2(r,JSON.parse(l),t,i==="path"),[r,l,t,i])}function FS(r,i){return D8(r,i)}function D8(r,i,n,t){var N;qt(Oo(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:l}=y.useContext(na),{matches:s}=y.useContext(ra),c=s[s.length-1],d=c?c.params:{},h=c?c.pathname:"/",m=c?c.pathnameBase:"/",v=c&&c.route;{let O=v&&v.path||"";T8(h,!v||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${O}">) 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="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let g=Li(),b;if(i){let O=typeof i=="string"?To(i):i;qt(m==="/"||((N=O.pathname)==null?void 0:N.startsWith(m)),`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 "${m}" but pathname "${O.pathname}" was given in the \`location\` prop.`),b=O}else b=g;let S=b.pathname||"/",x=S;if(m!=="/"){let O=m.replace(/^\//,"").split("/");x="/"+S.replace(/^\//,"").split("/").slice(O.length).join("/")}let A=v8(r,{pathname:x});$r(v||A!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),$r(A==null||A[A.length-1].route.element!==void 0||A[A.length-1].route.Component!==void 0||A[A.length-1].route.lazy!==void 0,`Matched leaf route at location "${b.pathname}${b.search}${b.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 C=QS(A&&A.map(O=>Object.assign({},O,{params:Object.assign({},d,O.params),pathname:Wa([m,l.encodeLocation?l.encodeLocation(O.pathname).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?m:Wa([m,l.encodeLocation?l.encodeLocation(O.pathnameBase).pathname:O.pathnameBase])})),s,n,t);return i&&C?y.createElement(tu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...b},navigationType:"POP"}},C):C}function GS(){let r=eD(),i=PS(r)?`${r.status} ${r.statusText}`:r instanceof Error?r.message:JSON.stringify(r),n=r instanceof Error?r.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:",r),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 WS=y.createElement(GS,null),VS=class extends y.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,i){return i.location!==r.location||i.revalidation!=="idle"&&r.revalidation==="idle"?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error!==void 0?r.error:i.error,location:i.location,revalidation:r.revalidation||i.revalidation}}componentDidCatch(r,i){console.error("React Router caught the following error during render",r,i)}render(){return this.state.error!==void 0?y.createElement(ra.Provider,{value:this.props.routeContext},y.createElement(A2.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function ZS({routeContext:r,match:i,children:n}){let t=y.useContext(xo);return t&&t.static&&t.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(t.staticContext._deepestRenderedBoundaryId=i.route.id),y.createElement(ra.Provider,{value:r},n)}function QS(r,i=[],n=null,t=null){if(r==null){if(!n)return null;if(n.errors)r=n.matches;else if(i.length===0&&!n.initialized&&n.matches.length>0)r=n.matches;else return null}let l=r,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);qt(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,b=m.route.loader&&!v.hasOwnProperty(m.route.id)&&(!g||g[m.route.id]===void 0);if(m.route.lazy||b){c=!0,d>=0?l=l.slice(0,d+1):l=[l[0]];break}}}return l.reduceRight((h,m,v)=>{let g,b=!1,S=null,x=null;n&&(g=s&&m.route.id?s[m.route.id]:void 0,S=m.route.errorElement||WS,c&&(d<0&&v===0?(T8("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,x=null):d===v&&(b=!0,x=m.route.hydrateFallbackElement||null)));let A=i.concat(l.slice(0,v+1)),C=()=>{let N;return g?N=S:b?N=x:m.route.Component?N=y.createElement(m.route.Component,null):m.route.element?N=m.route.element:N=h,y.createElement(ZS,{match:m,routeContext:{outlet:h,matches:A,isDataRoute:n!=null},children:N})};return n&&(m.route.ErrorBoundary||m.route.errorElement||v===0)?y.createElement(VS,{location:n.location,revalidation:n.revalidation,component:S,error:g,children:C(),routeContext:{outlet:null,matches:A,isDataRoute:!0}}):C()},null)}function C2(r){return`${r} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function KS(r){let i=y.useContext(xo);return qt(i,C2(r)),i}function XS(r){let i=y.useContext(lf);return qt(i,C2(r)),i}function $S(r){let i=y.useContext(ra);return qt(i,C2(r)),i}function R2(r){let i=$S(r),n=i.matches[i.matches.length-1];return qt(n.route.id,`${r} can only be used on routes that contain a unique "id"`),n.route.id}function JS(){return R2("useRouteId")}function eD(){var t;let r=y.useContext(A2),i=XS("useRouteError"),n=R2("useRouteError");return r!==void 0?r:(t=i.errors)==null?void 0:t[n]}function tD(){let{router:r}=KS("useNavigate"),i=R2("useNavigate"),n=y.useRef(!1);return E8(()=>{n.current=!0}),y.useCallback(async(l,s={})=>{$r(n.current,w8),n.current&&(typeof l=="number"?r.navigate(l):await r.navigate(l,{fromRouteId:i,...s}))},[r,i])}var c4={};function T8(r,i,n){!i&&!c4[r]&&(c4[r]=!0,$r(!1,n))}y.memo(nD);function nD({routes:r,future:i,state:n}){return D8(r,void 0,n,i)}function f4({to:r,replace:i,state:n,relative:t}){qt(Oo(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=y.useContext(na);$r(!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(ra),{pathname:c}=Li(),d=Mo(),h=M2(r,O2(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 Gr(r){qt(!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 rD({basename:r="/",children:i=null,location:n,navigationType:t="POP",navigator:l,static:s=!1}){qt(!Oo(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=r.replace(/^\/*/,"/"),d=y.useMemo(()=>({basename:c,navigator:l,static:s,future:{}}),[c,l,s]);typeof n=="string"&&(n=To(n));let{pathname:h="/",search:m="",hash:v="",state:g=null,key:b="default"}=n,S=y.useMemo(()=>{let x=Ri(h,c);return x==null?null:{location:{pathname:x,search:m,hash:v,state:g,key:b},navigationType:t}},[c,h,m,v,g,b,t]);return $r(S!=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.`),S==null?null:y.createElement(na.Provider,{value:d},y.createElement(tu.Provider,{children:i,value:S}))}function t2({children:r,location:i}){return FS(n2(r),i)}function n2(r,i=[]){let n=[];return y.Children.forEach(r,(t,l)=>{if(!y.isValidElement(t))return;let s=[...i,l];if(t.type===y.Fragment){n.push.apply(n,n2(t.props.children,s));return}qt(t.type===Gr,`[${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>`),qt(!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=n2(t.props.children,s)),n.push(c)}),n}var Ac="get",Cc="application/x-www-form-urlencoded";function of(r){return r!=null&&typeof r.tagName=="string"}function aD(r){return of(r)&&r.tagName.toLowerCase()==="button"}function iD(r){return of(r)&&r.tagName.toLowerCase()==="form"}function lD(r){return of(r)&&r.tagName.toLowerCase()==="input"}function oD(r){return!!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)}function sD(r,i){return r.button===0&&(!i||i==="_self")&&!oD(r)}var mc=null;function uD(){if(mc===null)try{new FormData(document.createElement("form"),0),mc=!1}catch{mc=!0}return mc}var cD=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function C1(r){return r!=null&&!cD.has(r)?($r(!1,`"${r}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Cc}"`),null):r}function fD(r,i){let n,t,l,s,c;if(iD(r)){let d=r.getAttribute("action");t=d?Ri(d,i):null,n=r.getAttribute("method")||Ac,l=C1(r.getAttribute("enctype"))||Cc,s=new FormData(r)}else if(aD(r)||lD(r)&&(r.type==="submit"||r.type==="image")){let d=r.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=r.getAttribute("formaction")||d.getAttribute("action");if(t=h?Ri(h,i):null,n=r.getAttribute("formmethod")||d.getAttribute("method")||Ac,l=C1(r.getAttribute("formenctype"))||C1(d.getAttribute("enctype"))||Cc,s=new FormData(d,r),!uD()){let{name:m,type:v,value:g}=r;if(v==="image"){let b=m?`${m}.`:"";s.append(`${b}x`,"0"),s.append(`${b}y`,"0")}else m&&s.append(m,g)}}else{if(of(r))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Ac,t=null,l=Cc,c=r}return s&&l==="text/plain"&&(c=s,s=void 0),{action:t,method:n.toLowerCase(),encType:l,formData:s,body:c}}function N2(r,i){if(r===!1||r===null||typeof r>"u")throw new Error(i)}async function dD(r,i){if(r.id in i)return i[r.id];try{let n=await import(r.module);return i[r.id]=n,n}catch(n){return console.error(`Error loading route module \`${r.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function hD(r){return r==null?!1:r.href==null?r.rel==="preload"&&typeof r.imageSrcSet=="string"&&typeof r.imageSizes=="string":typeof r.rel=="string"&&typeof r.href=="string"}async function pD(r,i,n){let t=await Promise.all(r.map(async l=>{let s=i.routes[l.route.id];if(s){let c=await dD(s,n);return c.links?c.links():[]}return[]}));return yD(t.flat(1).filter(hD).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function d4(r,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 b=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(r,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof b=="boolean")return b}return!0}):[]}function mD(r,i){return vD(r.map(n=>{let t=i.routes[n.route.id];if(!t)return[];let l=[t.module];return t.imports&&(l=l.concat(t.imports)),l}).flat(1))}function vD(r){return[...new Set(r)]}function gD(r){let i={},n=Object.keys(r).sort();for(let t of n)i[t]=r[t];return i}function yD(r,i){let n=new Set;return new Set(i),r.reduce((t,l)=>{let s=JSON.stringify(gD(l));return n.has(s)||(n.add(s),t.push({key:s,link:l})),t},[])}function bD(r){let i=typeof r=="string"?new URL(r,typeof window>"u"?"server://singlefetch/":window.location.origin):r;return i.pathname==="/"?i.pathname="_root.data":i.pathname=`${i.pathname.replace(/\/$/,"")}.data`,i}function _D(){let r=y.useContext(xo);return N2(r,"You must render this element inside a <DataRouterContext.Provider> element"),r}function wD(){let r=y.useContext(lf);return N2(r,"You must render this element inside a <DataRouterStateContext.Provider> element"),r}var k2=y.createContext(void 0);k2.displayName="FrameworkContext";function x8(){let r=y.useContext(k2);return N2(r,"You must render this element inside a <HydratedRouter> element"),r}function ED(r,i){let n=y.useContext(k2),[t,l]=y.useState(!1),[s,c]=y.useState(!1),{onFocus:d,onBlur:h,onMouseEnter:m,onMouseLeave:v,onTouchStart:g}=i,b=y.useRef(null);y.useEffect(()=>{if(r==="render"&&c(!0),r==="viewport"){let A=N=>{N.forEach(O=>{c(O.isIntersecting)})},C=new IntersectionObserver(A,{threshold:.5});return b.current&&C.observe(b.current),()=>{C.disconnect()}}},[r]),y.useEffect(()=>{if(t){let A=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(A)}}},[t]);let S=()=>{l(!0)},x=()=>{l(!1),c(!1)};return n?r!=="intent"?[s,b,{}]:[s,b,{onFocus:Cs(d,S),onBlur:Cs(h,x),onMouseEnter:Cs(m,S),onMouseLeave:Cs(v,x),onTouchStart:Cs(g,S)}]:[!1,b,{}]}function Cs(r,i){return n=>{r&&r(n),n.defaultPrevented||i(n)}}function SD({page:r,...i}){let{router:n}=_D(),t=y.useMemo(()=>v8(n.routes,r,n.basename),[n.routes,r,n.basename]);return t?y.createElement(TD,{page:r,matches:t,...i}):null}function DD(r){let{manifest:i,routeModules:n}=x8(),[t,l]=y.useState([]);return y.useEffect(()=>{let s=!1;return pD(r,i,n).then(c=>{s||l(c)}),()=>{s=!0}},[r,i,n]),t}function TD({page:r,matches:i,...n}){let t=Li(),{manifest:l,routeModules:s}=x8(),{loaderData:c,matches:d}=wD(),h=y.useMemo(()=>d4(r,i,d,l,t,"data"),[r,i,d,l,t]),m=y.useMemo(()=>d4(r,i,d,l,t,"assets"),[r,i,d,l,t]),v=y.useMemo(()=>{if(r===t.pathname+t.search+t.hash)return[];let S=new Set,x=!1;if(i.forEach(C=>{var O;let N=l.routes[C.route.id];!N||!N.hasLoader||(!h.some(j=>j.route.id===C.route.id)&&C.route.id in c&&((O=s[C.route.id])!=null&&O.shouldRevalidate)||N.hasClientLoader?x=!0:S.add(C.route.id))}),S.size===0)return[];let A=bD(r);return x&&S.size>0&&A.searchParams.set("_routes",i.filter(C=>S.has(C.route.id)).map(C=>C.route.id).join(",")),[A.pathname+A.search]},[c,t,l,h,i,r,s]),g=y.useMemo(()=>mD(m,l),[m,l]),b=DD(m);return y.createElement(y.Fragment,null,v.map(S=>y.createElement("link",{key:S,rel:"prefetch",as:"fetch",href:S,...n})),g.map(S=>y.createElement("link",{key:S,rel:"modulepreload",href:S,...n})),b.map(({key:S,link:x})=>y.createElement("link",{key:S,...x})))}function xD(...r){return i=>{r.forEach(n=>{typeof n=="function"?n(i):n!=null&&(n.current=i)})}}var O8=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{O8&&(window.__reactRouterVersion="7.1.0")}catch{}function OD({basename:r,children:i,window:n}){let t=y.useRef();t.current==null&&(t.current=vS({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(rD,{basename:r,children:i,location:s.location,navigationType:s.action,navigator:l})}var M8=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,sf=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,...b},S){let{basename:x}=y.useContext(na),A=typeof m=="string"&&M8.test(m),C,N=!1;if(typeof m=="string"&&A&&(C=m,O8))try{let E=new URL(window.location.href),D=m.startsWith("//")?new URL(E.protocol+m):new URL(m),k=Ri(D.pathname,x);D.origin===E.origin&&k!=null?m=k+D.search+D.hash:N=!0}catch{$r(!1,`<Link to="${m}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let O=BS(m,{relative:l}),[j,Q,$]=ED(t,b),ne=RD(m,{replace:c,state:d,target:h,preventScrollReset:v,relative:l,viewTransition:g});function F(E){i&&i(E),E.defaultPrevented||ne(E)}let w=y.createElement("a",{...b,...$,href:C||O,onClick:N||s?i:F,ref:xD(S,Q),target:h,"data-discover":!A&&n==="render"?"true":void 0});return j&&!A?y.createElement(y.Fragment,null,w,y.createElement(SD,{page:O})):w});sf.displayName="Link";var MD=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=nu(c,{relative:m.relative}),b=Li(),S=y.useContext(lf),{navigator:x,basename:A}=y.useContext(na),C=S!=null&&HD(g)&&d===!0,N=x.encodeLocation?x.encodeLocation(g).pathname:g.pathname,O=b.pathname,j=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;n||(O=O.toLowerCase(),j=j?j.toLowerCase():null,N=N.toLowerCase()),j&&A&&(j=Ri(j,A)||j);const Q=N!=="/"&&N.endsWith("/")?N.length-1:N.length;let $=O===N||!l&&O.startsWith(N)&&O.charAt(Q)==="/",ne=j!=null&&(j===N||!l&&j.startsWith(N)&&j.charAt(N.length)==="/"),F={isActive:$,isPending:ne,isTransitioning:C},w=$?i:void 0,E;typeof t=="function"?E=t(F):E=[t,$?"active":null,ne?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let D=typeof s=="function"?s(F):s;return y.createElement(sf,{...m,"aria-current":w,className:E,ref:v,style:D,to:c,viewTransition:d},typeof h=="function"?h(F):h)});MD.displayName="NavLink";var AD=y.forwardRef(({discover:r="render",fetcherKey:i,navigate:n,reloadDocument:t,replace:l,state:s,method:c=Ac,action:d,onSubmit:h,relative:m,preventScrollReset:v,viewTransition:g,...b},S)=>{let x=LD(),A=qD(d,{relative:m}),C=c.toLowerCase()==="get"?"get":"post",N=typeof d=="string"&&M8.test(d),O=j=>{if(h&&h(j),j.defaultPrevented)return;j.preventDefault();let Q=j.nativeEvent.submitter,$=(Q==null?void 0:Q.getAttribute("formmethod"))||c;x(Q||j.currentTarget,{fetcherKey:i,method:$,navigate:n,replace:l,state:s,relative:m,preventScrollReset:v,viewTransition:g})};return y.createElement("form",{ref:S,method:C,action:A,onSubmit:t?h:O,...b,"data-discover":!N&&r==="render"?"true":void 0})});AD.displayName="Form";function CD(r){return`${r} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function A8(r){let i=y.useContext(xo);return qt(i,CD(r)),i}function RD(r,{target:i,replace:n,state:t,preventScrollReset:l,relative:s,viewTransition:c}={}){let d=Mo(),h=Li(),m=nu(r,{relative:s});return y.useCallback(v=>{if(sD(v,i)){v.preventDefault();let g=n!==void 0?n:Qs(h)===Qs(m);d(r,{replace:g,state:t,preventScrollReset:l,relative:s,viewTransition:c})}},[h,d,m,n,t,i,r,l,s,c])}var ND=0,kD=()=>`__${String(++ND)}__`;function LD(){let{router:r}=A8("useSubmit"),{basename:i}=y.useContext(na),n=JS();return y.useCallback(async(t,l={})=>{let{action:s,method:c,encType:d,formData:h,body:m}=fD(t,i);if(l.navigate===!1){let v=l.fetcherKey||kD();await r.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 r.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})},[r,i,n])}function qD(r,{relative:i}={}){let{basename:n}=y.useContext(na),t=y.useContext(ra);qt(t,"useFormAction must be used inside a RouteContext");let[l]=t.matches.slice(-1),s={...nu(r||".",{relative:i})},c=Li();if(r==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(!r||r===".")&&l.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(s.pathname=s.pathname==="/"?n:Wa([n,s.pathname])),Qs(s)}function HD(r,i={}){let n=y.useContext(_8);qt(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:t}=A8("useViewTransitionState"),l=nu(r,{relative:i.relative});if(!n.isTransitioning)return!1;let s=Ri(n.currentLocation.pathname,t)||n.currentLocation.pathname,c=Ri(n.nextLocation.pathname,t)||n.nextLocation.pathname;return Yc(l.pathname,c)!=null||Yc(l.pathname,s)!=null}new TextEncoder;var C8=Zb();const UD=fr(C8),PD={code:"EN",name:"English",languages:{language:"Language",en:"English",nl:"Dutch"},landing:{header:{title:"ServiceDesk",subTitle:"",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:"EduID ServiceDesk",links:{logout:"Logout"}},serviceDesk:{member:"ServiceDesk member"},tabs:{home:"Home",verify:"Identity control"},verification:{header:"Enter the verification code",proceed:"Continue",error:"No user found for verification code {{code}}",info:"This code is generated by the user in eduID.",flash:"Verification code found for user {{name}}"},control:{header:"Identity control for 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:"Control the ID of this user",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 this all 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"},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"}},zD={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"},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 R1,h4;function aa(){if(h4)return R1;h4=1;var r=Array.isArray;return R1=r,R1}var N1,p4;function R8(){if(p4)return N1;p4=1;var r=typeof dc=="object"&&dc&&dc.Object===Object&&dc;return N1=r,N1}var k1,m4;function Ta(){if(m4)return k1;m4=1;var r=R8(),i=typeof self=="object"&&self&&self.Object===Object&&self,n=r||i||Function("return this")();return k1=n,k1}var L1,v4;function ru(){if(v4)return L1;v4=1;var r=Ta(),i=r.Symbol;return L1=i,L1}var q1,g4;function YD(){if(g4)return q1;g4=1;var r=ru(),i=Object.prototype,n=i.hasOwnProperty,t=i.toString,l=r?r.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 q1=s,q1}var H1,y4;function jD(){if(y4)return H1;y4=1;var r=Object.prototype,i=r.toString;function n(t){return i.call(t)}return H1=n,H1}var U1,b4;function Ao(){if(b4)return U1;b4=1;var r=ru(),i=YD(),n=jD(),t="[object Null]",l="[object Undefined]",s=r?r.toStringTag:void 0;function c(d){return d==null?d===void 0?l:t:s&&s in Object(d)?i(d):n(d)}return U1=c,U1}var P1,_4;function El(){if(_4)return P1;_4=1;function r(i){return i!=null&&typeof i=="object"}return P1=r,P1}var z1,w4;function au(){if(w4)return z1;w4=1;var r=Ao(),i=El(),n="[object Symbol]";function t(l){return typeof l=="symbol"||i(l)&&r(l)==n}return z1=t,z1}var Y1,E4;function L2(){if(E4)return Y1;E4=1;var r=aa(),i=au(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,t=/^\w*$/;function l(s,c){if(r(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 Y1=l,Y1}var j1,S4;function Ja(){if(S4)return j1;S4=1;function r(i){var n=typeof i;return i!=null&&(n=="object"||n=="function")}return j1=r,j1}var B1,D4;function q2(){if(D4)return B1;D4=1;var r=Ao(),i=Ja(),n="[object AsyncFunction]",t="[object Function]",l="[object GeneratorFunction]",s="[object Proxy]";function c(d){if(!i(d))return!1;var h=r(d);return h==t||h==l||h==n||h==s}return B1=c,B1}var I1,T4;function BD(){if(T4)return I1;T4=1;var r=Ta(),i=r["__core-js_shared__"];return I1=i,I1}var F1,x4;function ID(){if(x4)return F1;x4=1;var r=BD(),i=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function n(t){return!!i&&i in t}return F1=n,F1}var G1,O4;function N8(){if(O4)return G1;O4=1;var r=Function.prototype,i=r.toString;function n(t){if(t!=null){try{return i.call(t)}catch{}try{return t+""}catch{}}return""}return G1=n,G1}var W1,M4;function FD(){if(M4)return W1;M4=1;var r=q2(),i=ID(),n=Ja(),t=N8(),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(b){if(!n(b)||i(b))return!1;var S=r(b)?v:s;return S.test(t(b))}return W1=g,W1}var V1,A4;function GD(){if(A4)return V1;A4=1;function r(i,n){return i==null?void 0:i[n]}return V1=r,V1}var Z1,C4;function Sl(){if(C4)return Z1;C4=1;var r=FD(),i=GD();function n(t,l){var s=i(t,l);return r(s)?s:void 0}return Z1=n,Z1}var Q1,R4;function uf(){if(R4)return Q1;R4=1;var r=Sl(),i=r(Object,"create");return Q1=i,Q1}var K1,N4;function WD(){if(N4)return K1;N4=1;var r=uf();function i(){this.__data__=r?r(null):{},this.size=0}return K1=i,K1}var X1,k4;function VD(){if(k4)return X1;k4=1;function r(i){var n=this.has(i)&&delete this.__data__[i];return this.size-=n?1:0,n}return X1=r,X1}var $1,L4;function ZD(){if(L4)return $1;L4=1;var r=uf(),i="__lodash_hash_undefined__",n=Object.prototype,t=n.hasOwnProperty;function l(s){var c=this.__data__;if(r){var d=c[s];return d===i?void 0:d}return t.call(c,s)?c[s]:void 0}return $1=l,$1}var J1,q4;function QD(){if(q4)return J1;q4=1;var r=uf(),i=Object.prototype,n=i.hasOwnProperty;function t(l){var s=this.__data__;return r?s[l]!==void 0:n.call(s,l)}return J1=t,J1}var e0,H4;function KD(){if(H4)return e0;H4=1;var r=uf(),i="__lodash_hash_undefined__";function n(t,l){var s=this.__data__;return this.size+=this.has(t)?0:1,s[t]=r&&l===void 0?i:l,this}return e0=n,e0}var t0,U4;function XD(){if(U4)return t0;U4=1;var r=WD(),i=VD(),n=ZD(),t=QD(),l=KD();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=r,s.prototype.delete=i,s.prototype.get=n,s.prototype.has=t,s.prototype.set=l,t0=s,t0}var n0,P4;function $D(){if(P4)return n0;P4=1;function r(){this.__data__=[],this.size=0}return n0=r,n0}var r0,z4;function iu(){if(z4)return r0;z4=1;function r(i,n){return i===n||i!==i&&n!==n}return r0=r,r0}var a0,Y4;function cf(){if(Y4)return a0;Y4=1;var r=iu();function i(n,t){for(var l=n.length;l--;)if(r(n[l][0],t))return l;return-1}return a0=i,a0}var i0,j4;function JD(){if(j4)return i0;j4=1;var r=cf(),i=Array.prototype,n=i.splice;function t(l){var s=this.__data__,c=r(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 i0=t,i0}var l0,B4;function eT(){if(B4)return l0;B4=1;var r=cf();function i(n){var t=this.__data__,l=r(t,n);return l<0?void 0:t[l][1]}return l0=i,l0}var o0,I4;function tT(){if(I4)return o0;I4=1;var r=cf();function i(n){return r(this.__data__,n)>-1}return o0=i,o0}var s0,F4;function nT(){if(F4)return s0;F4=1;var r=cf();function i(n,t){var l=this.__data__,s=r(l,n);return s<0?(++this.size,l.push([n,t])):l[s][1]=t,this}return s0=i,s0}var u0,G4;function ff(){if(G4)return u0;G4=1;var r=$D(),i=JD(),n=eT(),t=tT(),l=nT();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=r,s.prototype.delete=i,s.prototype.get=n,s.prototype.has=t,s.prototype.set=l,u0=s,u0}var c0,W4;function H2(){if(W4)return c0;W4=1;var r=Sl(),i=Ta(),n=r(i,"Map");return c0=n,c0}var f0,V4;function rT(){if(V4)return f0;V4=1;var r=XD(),i=ff(),n=H2();function t(){this.size=0,this.__data__={hash:new r,map:new(n||i),string:new r}}return f0=t,f0}var d0,Z4;function aT(){if(Z4)return d0;Z4=1;function r(i){var n=typeof i;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?i!=="__proto__":i===null}return d0=r,d0}var h0,Q4;function df(){if(Q4)return h0;Q4=1;var r=aT();function i(n,t){var l=n.__data__;return r(t)?l[typeof t=="string"?"string":"hash"]:l.map}return h0=i,h0}var p0,K4;function iT(){if(K4)return p0;K4=1;var r=df();function i(n){var t=r(this,n).delete(n);return this.size-=t?1:0,t}return p0=i,p0}var m0,X4;function lT(){if(X4)return m0;X4=1;var r=df();function i(n){return r(this,n).get(n)}return m0=i,m0}var v0,$4;function oT(){if($4)return v0;$4=1;var r=df();function i(n){return r(this,n).has(n)}return v0=i,v0}var g0,J4;function sT(){if(J4)return g0;J4=1;var r=df();function i(n,t){var l=r(this,n),s=l.size;return l.set(n,t),this.size+=l.size==s?0:1,this}return g0=i,g0}var y0,ey;function U2(){if(ey)return y0;ey=1;var r=rT(),i=iT(),n=lT(),t=oT(),l=sT();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=r,s.prototype.delete=i,s.prototype.get=n,s.prototype.has=t,s.prototype.set=l,y0=s,y0}var b0,ty;function uT(){if(ty)return b0;ty=1;var r=U2(),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||r),s}return n.Cache=r,b0=n,b0}var _0,ny;function cT(){if(ny)return _0;ny=1;var r=uT(),i=500;function n(t){var l=r(t,function(c){return s.size===i&&s.clear(),c}),s=l.cache;return l}return _0=n,_0}var w0,ry;function fT(){if(ry)return w0;ry=1;var r=cT(),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,t=r(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 w0=t,w0}var E0,ay;function k8(){if(ay)return E0;ay=1;function r(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 E0=r,E0}var S0,iy;function dT(){if(iy)return S0;iy=1;var r=ru(),i=k8(),n=aa(),t=au(),l=1/0,s=r?r.prototype:void 0,c=s?s.toString:void 0;function d(h){if(typeof h=="string")return h;if(n(h))return i(h,d)+"";if(t(h))return c?c.call(h):"";var m=h+"";return m=="0"&&1/h==-l?"-0":m}return S0=d,S0}var D0,ly;function Co(){if(ly)return D0;ly=1;var r=dT();function i(n){return n==null?"":r(n)}return D0=i,D0}var T0,oy;function L8(){if(oy)return T0;oy=1;var r=aa(),i=L2(),n=fT(),t=Co();function l(s,c){return r(s)?s:i(s,c)?[s]:n(t(s))}return T0=l,T0}var x0,sy;function hf(){if(sy)return x0;sy=1;var r=au(),i=1/0;function n(t){if(typeof t=="string"||r(t))return t;var l=t+"";return l=="0"&&1/t==-i?"-0":l}return x0=n,x0}var O0,uy;function P2(){if(uy)return O0;uy=1;var r=L8(),i=hf();function n(t,l){l=r(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 O0=n,O0}var M0,cy;function q8(){if(cy)return M0;cy=1;var r=P2();function i(n,t,l){var s=n==null?void 0:r(n,t);return s===void 0?l:s}return M0=i,M0}var hT=q8();const pT=fr(hT);var A0,fy;function mT(){if(fy)return A0;fy=1;var r=Object.prototype,i=r.hasOwnProperty;function n(t,l){return t!=null&&i.call(t,l)}return A0=n,A0}var C0,dy;function vT(){if(dy)return C0;dy=1;var r=Ao(),i=El(),n="[object Arguments]";function t(l){return i(l)&&r(l)==n}return C0=t,C0}var R0,hy;function pf(){if(hy)return R0;hy=1;var r=vT(),i=El(),n=Object.prototype,t=n.hasOwnProperty,l=n.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(c){return i(c)&&t.call(c,"callee")&&!l.call(c,"callee")};return R0=s,R0}var N0,py;function z2(){if(py)return N0;py=1;var r=9007199254740991,i=/^(?:0|[1-9]\d*)$/;function n(t,l){var s=typeof t;return l=l??r,!!l&&(s=="number"||s!="symbol"&&i.test(t))&&t>-1&&t%1==0&&t<l}return N0=n,N0}var k0,my;function Y2(){if(my)return k0;my=1;var r=9007199254740991;function i(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=r}return k0=i,k0}var L0,vy;function H8(){if(vy)return L0;vy=1;var r=L8(),i=pf(),n=aa(),t=z2(),l=Y2(),s=hf();function c(d,h,m){h=r(h,d);for(var v=-1,g=h.length,b=!1;++v<g;){var S=s(h[v]);if(!(b=d!=null&&m(d,S)))break;d=d[S]}return b||++v!=g?b:(g=d==null?0:d.length,!!g&&l(g)&&t(S,g)&&(n(d)||i(d)))}return L0=c,L0}var q0,gy;function gT(){if(gy)return q0;gy=1;var r=mT(),i=H8();function n(t,l){return t!=null&&i(t,l,r)}return q0=n,q0}var yT=gT();const bT=fr(yT);var H0,yy;function _T(){if(yy)return H0;yy=1;var r=ff();function i(){this.__data__=new r,this.size=0}return H0=i,H0}var U0,by;function wT(){if(by)return U0;by=1;function r(i){var n=this.__data__,t=n.delete(i);return this.size=n.size,t}return U0=r,U0}var P0,_y;function ET(){if(_y)return P0;_y=1;function r(i){return this.__data__.get(i)}return P0=r,P0}var z0,wy;function ST(){if(wy)return z0;wy=1;function r(i){return this.__data__.has(i)}return z0=r,z0}var Y0,Ey;function DT(){if(Ey)return Y0;Ey=1;var r=ff(),i=H2(),n=U2(),t=200;function l(s,c){var d=this.__data__;if(d instanceof r){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 Y0=l,Y0}var j0,Sy;function j2(){if(Sy)return j0;Sy=1;var r=ff(),i=_T(),n=wT(),t=ET(),l=ST(),s=DT();function c(d){var h=this.__data__=new r(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,j0=c,j0}var B0,Dy;function U8(){if(Dy)return B0;Dy=1;var r=Sl(),i=function(){try{var n=r(Object,"defineProperty");return n({},"",{}),n}catch{}}();return B0=i,B0}var I0,Ty;function B2(){if(Ty)return I0;Ty=1;var r=U8();function i(n,t,l){t=="__proto__"&&r?r(n,t,{configurable:!0,enumerable:!0,value:l,writable:!0}):n[t]=l}return I0=i,I0}var F0,xy;function P8(){if(xy)return F0;xy=1;var r=B2(),i=iu();function n(t,l,s){(s!==void 0&&!i(t[l],s)||s===void 0&&!(l in t))&&r(t,l,s)}return F0=n,F0}var G0,Oy;function TT(){if(Oy)return G0;Oy=1;function r(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 G0=r,G0}var W0,My;function z8(){if(My)return W0;My=1;var r=TT(),i=r();return W0=i,W0}var js={exports:{}};js.exports;var Ay;function xT(){return Ay||(Ay=1,function(r,i){var n=Ta(),t=i&&!i.nodeType&&i,l=t&&!0&&r&&!r.nodeType&&r,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,b=d?d(g):new m.constructor(g);return m.copy(b),b}r.exports=h}(js,js.exports)),js.exports}var V0,Cy;function Y8(){if(Cy)return V0;Cy=1;var r=Ta(),i=r.Uint8Array;return V0=i,V0}var Z0,Ry;function OT(){if(Ry)return Z0;Ry=1;var r=Y8();function i(n){var t=new n.constructor(n.byteLength);return new r(t).set(new r(n)),t}return Z0=i,Z0}var Q0,Ny;function MT(){if(Ny)return Q0;Ny=1;var r=OT();function i(n,t){var l=t?r(n.buffer):n.buffer;return new n.constructor(l,n.byteOffset,n.length)}return Q0=i,Q0}var K0,ky;function AT(){if(ky)return K0;ky=1;function r(i,n){var t=-1,l=i.length;for(n||(n=Array(l));++t<l;)n[t]=i[t];return n}return K0=r,K0}var X0,Ly;function CT(){if(Ly)return X0;Ly=1;var r=Ja(),i=Object.create,n=function(){function t(){}return function(l){if(!r(l))return{};if(i)return i(l);t.prototype=l;var s=new t;return t.prototype=void 0,s}}();return X0=n,X0}var $0,qy;function j8(){if(qy)return $0;qy=1;function r(i,n){return function(t){return i(n(t))}}return $0=r,$0}var J0,Hy;function B8(){if(Hy)return J0;Hy=1;var r=j8(),i=r(Object.getPrototypeOf,Object);return J0=i,J0}var eh,Uy;function I2(){if(Uy)return eh;Uy=1;var r=Object.prototype;function i(n){var t=n&&n.constructor,l=typeof t=="function"&&t.prototype||r;return n===l}return eh=i,eh}var th,Py;function RT(){if(Py)return th;Py=1;var r=CT(),i=B8(),n=I2();function t(l){return typeof l.constructor=="function"&&!n(l)?r(i(l)):{}}return th=t,th}var nh,zy;function Ro(){if(zy)return nh;zy=1;var r=q2(),i=Y2();function n(t){return t!=null&&i(t.length)&&!r(t)}return nh=n,nh}var rh,Yy;function NT(){if(Yy)return rh;Yy=1;var r=Ro(),i=El();function n(t){return i(t)&&r(t)}return rh=n,rh}var Bs={exports:{}},ah,jy;function kT(){if(jy)return ah;jy=1;function r(){return!1}return ah=r,ah}Bs.exports;var By;function F2(){return By||(By=1,function(r,i){var n=Ta(),t=kT(),l=i&&!i.nodeType&&i,s=l&&!0&&r&&!r.nodeType&&r,c=s&&s.exports===l,d=c?n.Buffer:void 0,h=d?d.isBuffer:void 0,m=h||t;r.exports=m}(Bs,Bs.exports)),Bs.exports}var ih,Iy;function LT(){if(Iy)return ih;Iy=1;var r=Ao(),i=B8(),n=El(),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)||r(v)!=t)return!1;var g=i(v);if(g===null)return!0;var b=d.call(g,"constructor")&&g.constructor;return typeof b=="function"&&b instanceof b&&c.call(b)==h}return ih=m,ih}var lh,Fy;function qT(){if(Fy)return lh;Fy=1;var r=Ao(),i=Y2(),n=El(),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]",b="[object RegExp]",S="[object Set]",x="[object String]",A="[object WeakMap]",C="[object ArrayBuffer]",N="[object DataView]",O="[object Float32Array]",j="[object Float64Array]",Q="[object Int8Array]",$="[object Int16Array]",ne="[object Int32Array]",F="[object Uint8Array]",w="[object Uint8ClampedArray]",E="[object Uint16Array]",D="[object Uint32Array]",k={};k[O]=k[j]=k[Q]=k[$]=k[ne]=k[F]=k[w]=k[E]=k[D]=!0,k[t]=k[l]=k[C]=k[s]=k[N]=k[c]=k[d]=k[h]=k[m]=k[v]=k[g]=k[b]=k[S]=k[x]=k[A]=!1;function q(z){return n(z)&&i(z.length)&&!!k[r(z)]}return lh=q,lh}var oh,Gy;function I8(){if(Gy)return oh;Gy=1;function r(i){return function(n){return i(n)}}return oh=r,oh}var Is={exports:{}};Is.exports;var Wy;function HT(){return Wy||(Wy=1,function(r,i){var n=R8(),t=i&&!i.nodeType&&i,l=t&&!0&&r&&!r.nodeType&&r,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{}}();r.exports=d}(Is,Is.exports)),Is.exports}var sh,Vy;function G2(){if(Vy)return sh;Vy=1;var r=qT(),i=I8(),n=HT(),t=n&&n.isTypedArray,l=t?i(t):r;return sh=l,sh}var uh,Zy;function F8(){if(Zy)return uh;Zy=1;function r(i,n){if(!(n==="constructor"&&typeof i[n]=="function")&&n!="__proto__")return i[n]}return uh=r,uh}var ch,Qy;function G8(){if(Qy)return ch;Qy=1;var r=B2(),i=iu(),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))&&r(s,c,d)}return ch=l,ch}var fh,Ky;function UT(){if(Ky)return fh;Ky=1;var r=G8(),i=B2();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):r(s,v,g)}return s}return fh=n,fh}var dh,Xy;function PT(){if(Xy)return dh;Xy=1;function r(i,n){for(var t=-1,l=Array(i);++t<i;)l[t]=n(t);return l}return dh=r,dh}var hh,$y;function W8(){if($y)return hh;$y=1;var r=PT(),i=pf(),n=aa(),t=F2(),l=z2(),s=G2(),c=Object.prototype,d=c.hasOwnProperty;function h(m,v){var g=n(m),b=!g&&i(m),S=!g&&!b&&t(m),x=!g&&!b&&!S&&s(m),A=g||b||S||x,C=A?r(m.length,String):[],N=C.length;for(var O in m)(v||d.call(m,O))&&!(A&&(O=="length"||S&&(O=="offset"||O=="parent")||x&&(O=="buffer"||O=="byteLength"||O=="byteOffset")||l(O,N)))&&C.push(O);return C}return hh=h,hh}var ph,Jy;function zT(){if(Jy)return ph;Jy=1;function r(i){var n=[];if(i!=null)for(var t in Object(i))n.push(t);return n}return ph=r,ph}var mh,e5;function YT(){if(e5)return mh;e5=1;var r=Ja(),i=I2(),n=zT(),t=Object.prototype,l=t.hasOwnProperty;function s(c){if(!r(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 mh=s,mh}var vh,t5;function V8(){if(t5)return vh;t5=1;var r=W8(),i=YT(),n=Ro();function t(l){return n(l)?r(l,!0):i(l)}return vh=t,vh}var gh,n5;function jT(){if(n5)return gh;n5=1;var r=UT(),i=V8();function n(t){return r(t,i(t))}return gh=n,gh}var yh,r5;function BT(){if(r5)return yh;r5=1;var r=P8(),i=xT(),n=MT(),t=AT(),l=RT(),s=pf(),c=aa(),d=NT(),h=F2(),m=q2(),v=Ja(),g=LT(),b=G2(),S=F8(),x=jT();function A(C,N,O,j,Q,$,ne){var F=S(C,O),w=S(N,O),E=ne.get(w);if(E){r(C,O,E);return}var D=$?$(F,w,O+"",C,N,ne):void 0,k=D===void 0;if(k){var q=c(w),z=!q&&h(w),B=!q&&!z&&b(w);D=w,q||z||B?c(F)?D=F:d(F)?D=t(F):z?(k=!1,D=i(w,!0)):B?(k=!1,D=n(w,!0)):D=[]:g(w)||s(w)?(D=F,s(F)?D=x(F):(!v(F)||m(F))&&(D=l(w))):k=!1}k&&(ne.set(w,D),Q(D,w,j,$,ne),ne.delete(w)),r(C,O,D)}return yh=A,yh}var bh,a5;function IT(){if(a5)return bh;a5=1;var r=j2(),i=P8(),n=z8(),t=BT(),l=Ja(),s=V8(),c=F8();function d(h,m,v,g,b){h!==m&&n(m,function(S,x){if(b||(b=new r),l(S))t(h,m,x,v,d,g,b);else{var A=g?g(c(h,x),S,x+"",h,m,b):void 0;A===void 0&&(A=S),i(h,x,A)}},s)}return bh=d,bh}var _h,i5;function mf(){if(i5)return _h;i5=1;function r(i){return i}return _h=r,_h}var wh,l5;function FT(){if(l5)return wh;l5=1;function r(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 wh=r,wh}var Eh,o5;function GT(){if(o5)return Eh;o5=1;var r=FT(),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),r(t,this,v)}}return Eh=n,Eh}var Sh,s5;function WT(){if(s5)return Sh;s5=1;function r(i){return function(){return i}}return Sh=r,Sh}var Dh,u5;function VT(){if(u5)return Dh;u5=1;var r=WT(),i=U8(),n=mf(),t=i?function(l,s){return i(l,"toString",{configurable:!0,enumerable:!1,value:r(s),writable:!0})}:n;return Dh=t,Dh}var Th,c5;function ZT(){if(c5)return Th;c5=1;var r=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>=r)return arguments[0]}else s=0;return l.apply(void 0,arguments)}}return Th=t,Th}var xh,f5;function QT(){if(f5)return xh;f5=1;var r=VT(),i=ZT(),n=i(r);return xh=n,xh}var Oh,d5;function Z8(){if(d5)return Oh;d5=1;var r=mf(),i=GT(),n=QT();function t(l,s){return n(i(l,s,r),l+"")}return Oh=t,Oh}var Mh,h5;function vf(){if(h5)return Mh;h5=1;var r=iu(),i=Ro(),n=z2(),t=Ja();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)?r(d[c],s):!1}return Mh=l,Mh}var Ah,p5;function KT(){if(p5)return Ah;p5=1;var r=Z8(),i=vf();function n(t){return r(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 Ah=n,Ah}var Ch,m5;function XT(){if(m5)return Ch;m5=1;var r=IT(),i=KT(),n=i(function(t,l,s){r(t,l,s)});return Ch=n,Ch}var $T=XT();const JT=fr($T);var Rh,v5;function ex(){if(v5)return Rh;v5=1;var r="__lodash_hash_undefined__";function i(n){return this.__data__.set(n,r),this}return Rh=i,Rh}var Nh,g5;function tx(){if(g5)return Nh;g5=1;function r(i){return this.__data__.has(i)}return Nh=r,Nh}var kh,y5;function Q8(){if(y5)return kh;y5=1;var r=U2(),i=ex(),n=tx();function t(l){var s=-1,c=l==null?0:l.length;for(this.__data__=new r;++s<c;)this.add(l[s])}return t.prototype.add=t.prototype.push=i,t.prototype.has=n,kh=t,kh}var Lh,b5;function nx(){if(b5)return Lh;b5=1;function r(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 Lh=r,Lh}var qh,_5;function rx(){if(_5)return qh;_5=1;function r(i){return i!==i}return qh=r,qh}var Hh,w5;function ax(){if(w5)return Hh;w5=1;function r(i,n,t){for(var l=t-1,s=i.length;++l<s;)if(i[l]===n)return l;return-1}return Hh=r,Hh}var Uh,E5;function ix(){if(E5)return Uh;E5=1;var r=nx(),i=rx(),n=ax();function t(l,s,c){return s===s?n(l,s,c):r(l,i,c)}return Uh=t,Uh}var Ph,S5;function lx(){if(S5)return Ph;S5=1;var r=ix();function i(n,t){var l=n==null?0:n.length;return!!l&&r(n,t,0)>-1}return Ph=i,Ph}var zh,D5;function ox(){if(D5)return zh;D5=1;function r(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 zh=r,zh}var Yh,T5;function K8(){if(T5)return Yh;T5=1;function r(i,n){return i.has(n)}return Yh=r,Yh}var jh,x5;function X8(){if(x5)return jh;x5=1;var r=Sl(),i=Ta(),n=r(i,"Set");return jh=n,jh}var Bh,O5;function sx(){if(O5)return Bh;O5=1;function r(){}return Bh=r,Bh}var Ih,M5;function W2(){if(M5)return Ih;M5=1;function r(i){var n=-1,t=Array(i.size);return i.forEach(function(l){t[++n]=l}),t}return Ih=r,Ih}var Fh,A5;function ux(){if(A5)return Fh;A5=1;var r=X8(),i=sx(),n=W2(),t=1/0,l=r&&1/n(new r([,-0]))[1]==t?function(s){return new r(s)}:i;return Fh=l,Fh}var Gh,C5;function cx(){if(C5)return Gh;C5=1;var r=Q8(),i=lx(),n=ox(),t=K8(),l=ux(),s=W2(),c=200;function d(h,m,v){var g=-1,b=i,S=h.length,x=!0,A=[],C=A;if(v)x=!1,b=n;else if(S>=c){var N=m?null:l(h);if(N)return s(N);x=!1,b=t,C=new r}else C=m?[]:A;e:for(;++g<S;){var O=h[g],j=m?m(O):O;if(O=v||O!==0?O:0,x&&j===j){for(var Q=C.length;Q--;)if(C[Q]===j)continue e;m&&C.push(j),A.push(O)}else b(C,j,v)||(C!==A&&C.push(j),A.push(O))}return A}return Gh=d,Gh}var Wh,R5;function fx(){if(R5)return Wh;R5=1;var r=cx();function i(n){return n&&n.length?r(n):[]}return Wh=i,Wh}var dx=fx();const hx=fr(dx),px=(r,i)=>{const n=[],t=[];return n.push(i),i||n.push(r.locale),r.enableFallback&&n.push(r.defaultLocale),n.filter(Boolean).map(l=>l.toString()).forEach(function(l){if(t.includes(l)||t.push(l),!r.enableFallback)return;const s=l.split("-");s.length===3&&t.push(`${s[0]}-${s[1]}`),t.push(s[0])}),hx(t)};class mx{constructor(i){this.i18n=i,this.registry={},this.register("default",px)}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 vx=(r,i)=>{const n=String(r).split("."),t=!n[1],l=Number(n[0])==r,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":r==1&&t?"one":"other"};function gx({pluralizer:r,includeZero:i=!0,ordinal:n=!1}){return function(t,l){return[i&&l===0?"zero":"",r(l,n)].filter(Boolean)}}const yx=gx({pluralizer:vx,includeZero:!0});class bx{constructor(i){this.i18n=i,this.registry={},this.register("default",yx)}register(i,n){this.registry[i]=n}get(i){return this.registry[i]||this.registry[this.i18n.locale]||this.registry.default}}var Vh,N5;function _x(){if(N5)return Vh;N5=1;function r(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 Vh=r,Vh}var Zh,k5;function wx(){if(k5)return Zh;k5=1;var r=_x();function i(n,t,l){var s=n.length;return l=l===void 0?s:l,!t&&l>=s?n:r(n,t,l)}return Zh=i,Zh}var Qh,L5;function $8(){if(L5)return Qh;L5=1;var r="\\ud800-\\udfff",i="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",t="\\u20d0-\\u20ff",l=i+n+t,s="\\ufe0e\\ufe0f",c="\\u200d",d=RegExp("["+c+r+l+s+"]");function h(m){return d.test(m)}return Qh=h,Qh}var Kh,q5;function Ex(){if(q5)return Kh;q5=1;function r(i){return i.split("")}return Kh=r,Kh}var Xh,H5;function Sx(){if(H5)return Xh;H5=1;var r="\\ud800-\\udfff",i="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",t="\\u20d0-\\u20ff",l=i+n+t,s="\\ufe0e\\ufe0f",c="["+r+"]",d="["+l+"]",h="\\ud83c[\\udffb-\\udfff]",m="(?:"+d+"|"+h+")",v="[^"+r+"]",g="(?:\\ud83c[\\udde6-\\uddff]){2}",b="[\\ud800-\\udbff][\\udc00-\\udfff]",S="\\u200d",x=m+"?",A="["+s+"]?",C="(?:"+S+"(?:"+[v,g,b].join("|")+")"+A+x+")*",N=A+x+C,O="(?:"+[v+d+"?",d,g,b,c].join("|")+")",j=RegExp(h+"(?="+h+")|"+O+N,"g");function Q($){return $.match(j)||[]}return Xh=Q,Xh}var $h,U5;function Dx(){if(U5)return $h;U5=1;var r=Ex(),i=$8(),n=Sx();function t(l){return i(l)?n(l):r(l)}return $h=t,$h}var Jh,P5;function Tx(){if(P5)return Jh;P5=1;var r=wx(),i=$8(),n=Dx(),t=Co();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?r(d,1).join(""):c.slice(1);return h[s]()+m}}return Jh=l,Jh}var ep,z5;function xx(){if(z5)return ep;z5=1;var r=Tx(),i=r("toUpperCase");return ep=i,ep}var tp,Y5;function Ox(){if(Y5)return tp;Y5=1;var r=Co(),i=xx();function n(t){return i(r(t).toLowerCase())}return tp=n,tp}var np,j5;function Mx(){if(j5)return np;j5=1;function r(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 np=r,np}var rp,B5;function Ax(){if(B5)return rp;B5=1;function r(i){return function(n){return i==null?void 0:i[n]}}return rp=r,rp}var ap,I5;function Cx(){if(I5)return ap;I5=1;var r=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=r(i);return ap=n,ap}var ip,F5;function Rx(){if(F5)return ip;F5=1;var r=Cx(),i=Co(),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,r).replace(h,"")}return ip=m,ip}var lp,G5;function Nx(){if(G5)return lp;G5=1;var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function i(n){return n.match(r)||[]}return lp=i,lp}var op,W5;function kx(){if(W5)return op;W5=1;var r=/[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 r.test(n)}return op=i,op}var sp,V5;function Lx(){if(V5)return sp;V5=1;var r="\\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",b="\\ufe0e\\ufe0f",S=d+h+m+v,x="['’]",A="["+S+"]",C="["+l+"]",N="\\d+",O="["+s+"]",j="["+c+"]",Q="[^"+r+S+N+s+c+g+"]",$="\\ud83c[\\udffb-\\udfff]",ne="(?:"+C+"|"+$+")",F="[^"+r+"]",w="(?:\\ud83c[\\udde6-\\uddff]){2}",E="[\\ud800-\\udbff][\\udc00-\\udfff]",D="["+g+"]",k="\\u200d",q="(?:"+j+"|"+Q+")",z="(?:"+D+"|"+Q+")",B="(?:"+x+"(?:d|ll|m|re|s|t|ve))?",U="(?:"+x+"(?:D|LL|M|RE|S|T|VE))?",M=ne+"?",P="["+b+"]?",L="(?:"+k+"(?:"+[F,w,E].join("|")+")"+P+M+")*",J="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",R="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",I=P+M+L,ce="(?:"+[O,w,E].join("|")+")"+I,se=RegExp([D+"?"+j+"+"+B+"(?="+[A,D,"$"].join("|")+")",z+"+"+U+"(?="+[A,D+q,"$"].join("|")+")",D+"?"+q+"+"+B,D+"+"+U,R,J,N,ce].join("|"),"g");function de(fe){return fe.match(se)||[]}return sp=de,sp}var up,Z5;function qx(){if(Z5)return up;Z5=1;var r=Nx(),i=kx(),n=Co(),t=Lx();function l(s,c,d){return s=n(s),c=d?void 0:c,c===void 0?i(s)?t(s):r(s):s.match(c)||[]}return up=l,up}var cp,Q5;function Hx(){if(Q5)return cp;Q5=1;var r=Mx(),i=Rx(),n=qx(),t="['’]",l=RegExp(t,"g");function s(c){return function(d){return r(n(i(d).replace(l,"")),c,"")}}return cp=s,cp}var fp,K5;function Ux(){if(K5)return fp;K5=1;var r=Ox(),i=Hx(),n=i(function(t,l,s){return l=l.toLowerCase(),t+(s?r(l):l)});return fp=n,fp}var Px=Ux();const zx=fr(Px);function Ir(r){return r?Object.keys(r).reduce((i,n)=>(i[zx(n)]=r[n],i),{}):{}}function Va(r){return r!=null}function Yx(r,i,n){let t=[{scope:i}];if(Va(n.defaults)&&(t=t.concat(n.defaults)),Va(n.defaultValue)){const l=typeof n.defaultValue=="function"?n.defaultValue(r,i,n):n.defaultValue;t.push({message:l}),delete n.defaultValue}return t}var jx=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,dp=Math.ceil,xr=Math.floor,$n="[BigNumber Error] ",X5=$n+"Number primitive has more than 15 significant digits: ",Fr=1e14,Ie=14,hp=9007199254740991,pp=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],Ei=1e7,Dn=1e9;function J8(r){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,b=!1,S=1,x=0,A={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},C="0123456789abcdefghijklmnopqrstuvwxyz",N=!0;function O(w,E){var D,k,q,z,B,U,M,P,L=this;if(!(L instanceof O))return new O(w,E);if(E==null){if(w&&w._isBigNumber===!0){L.s=w.s,!w.c||w.e>g?L.c=L.e=null:w.e<v?L.c=[L.e=0]:(L.e=w.e,L.c=w.c.slice());return}if((U=typeof w=="number")&&w*0==0){if(L.s=1/w<0?(w=-w,-1):1,w===~~w){for(z=0,B=w;B>=10;B/=10,z++);z>g?L.c=L.e=null:(L.e=z,L.c=[w]);return}P=String(w)}else{if(!jx.test(P=String(w)))return t(L,P,U);L.s=P.charCodeAt(0)==45?(P=P.slice(1),-1):1}(z=P.indexOf("."))>-1&&(P=P.replace(".","")),(B=P.search(/e/i))>0?(z<0&&(z=B),z+=+P.slice(B+1),P=P.substring(0,B)):z<0&&(z=P.length)}else{if(zt(E,2,C.length,"Base"),E==10&&N)return L=new O(w),ne(L,c+L.e+1,d);if(P=String(w),U=typeof w=="number"){if(w*0!=0)return t(L,P,U,E);if(L.s=1/w<0?(P=P.slice(1),-1):1,O.DEBUG&&P.replace(/^0\.0*|\./,"").length>15)throw Error(X5+w)}else L.s=P.charCodeAt(0)===45?(P=P.slice(1),-1):1;for(D=C.slice(0,E),z=B=0,M=P.length;B<M;B++)if(D.indexOf(k=P.charAt(B))<0){if(k=="."){if(B>z){z=M;continue}}else if(!q&&(P==P.toUpperCase()&&(P=P.toLowerCase())||P==P.toLowerCase()&&(P=P.toUpperCase()))){q=!0,B=-1,z=0;continue}return t(L,String(w),U,E)}U=!1,P=n(P,E,10,L.s),(z=P.indexOf("."))>-1?P=P.replace(".",""):z=P.length}for(B=0;P.charCodeAt(B)===48;B++);for(M=P.length;P.charCodeAt(--M)===48;);if(P=P.slice(B,++M)){if(M-=B,U&&O.DEBUG&&M>15&&(w>hp||w!==xr(w)))throw Error(X5+L.s*w);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)%Ie,z<0&&(B+=Ie),B<M){for(B&&L.c.push(+P.slice(0,B)),M-=Ie;B<M;)L.c.push(+P.slice(B,B+=Ie));B=Ie-(P=P.slice(B)).length}else B-=M;for(;B--;P+="0");L.c.push(+P)}}else L.c=[L.e=0]}O.clone=J8,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(w){var E,D;if(w!=null)if(typeof w=="object"){if(w.hasOwnProperty(E="DECIMAL_PLACES")&&(D=w[E],zt(D,0,Dn,E),c=D),w.hasOwnProperty(E="ROUNDING_MODE")&&(D=w[E],zt(D,0,8,E),d=D),w.hasOwnProperty(E="EXPONENTIAL_AT")&&(D=w[E],D&&D.pop?(zt(D[0],-Dn,0,E),zt(D[1],0,Dn,E),h=D[0],m=D[1]):(zt(D,-Dn,Dn,E),h=-(m=D<0?-D:D))),w.hasOwnProperty(E="RANGE"))if(D=w[E],D&&D.pop)zt(D[0],-Dn,-1,E),zt(D[1],1,Dn,E),v=D[0],g=D[1];else if(zt(D,-Dn,Dn,E),D)v=-(g=D<0?-D:D);else throw Error($n+E+" cannot be zero: "+D);if(w.hasOwnProperty(E="CRYPTO"))if(D=w[E],D===!!D)if(D)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))b=D;else throw b=!D,Error($n+"crypto unavailable");else b=D;else throw Error($n+E+" not true or false: "+D);if(w.hasOwnProperty(E="MODULO_MODE")&&(D=w[E],zt(D,0,9,E),S=D),w.hasOwnProperty(E="POW_PRECISION")&&(D=w[E],zt(D,0,Dn,E),x=D),w.hasOwnProperty(E="FORMAT"))if(D=w[E],typeof D=="object")A=D;else throw Error($n+E+" not an object: "+D);if(w.hasOwnProperty(E="ALPHABET"))if(D=w[E],typeof D=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(D))N=D.slice(0,10)=="0123456789",C=D;else throw Error($n+E+" invalid: "+D)}else throw Error($n+"Object expected: "+w);return{DECIMAL_PLACES:c,ROUNDING_MODE:d,EXPONENTIAL_AT:[h,m],RANGE:[v,g],CRYPTO:b,MODULO_MODE:S,POW_PRECISION:x,FORMAT:A,ALPHABET:C}},O.isBigNumber=function(w){if(!w||w._isBigNumber!==!0)return!1;if(!O.DEBUG)return!0;var E,D,k=w.c,q=w.e,z=w.s;e:if({}.toString.call(k)=="[object Array]"){if((z===1||z===-1)&&q>=-Dn&&q<=Dn&&q===xr(q)){if(k[0]===0){if(q===0&&k.length===1)return!0;break e}if(E=(q+1)%Ie,E<1&&(E+=Ie),String(k[0]).length==E){for(E=0;E<k.length;E++)if(D=k[E],D<0||D>=Fr||D!==xr(D))break e;if(D!==0)return!0}}}else if(k===null&&q===null&&(z===null||z===1||z===-1))return!0;throw Error($n+"Invalid BigNumber: "+w)},O.maximum=O.max=function(){return Q(arguments,-1)},O.minimum=O.min=function(){return Q(arguments,1)},O.random=function(){var w=9007199254740992,E=Math.random()*w&2097151?function(){return xr(Math.random()*w)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(D){var k,q,z,B,U,M=0,P=[],L=new O(s);if(D==null?D=c:zt(D,0,Dn),B=dp(D/Ie),b)if(crypto.getRandomValues){for(k=crypto.getRandomValues(new Uint32Array(B*=2));M<B;)U=k[M]*131072+(k[M+1]>>>11),U>=9e15?(q=crypto.getRandomValues(new Uint32Array(2)),k[M]=q[0],k[M+1]=q[1]):(P.push(U%1e14),M+=2);M=B/2}else if(crypto.randomBytes){for(k=crypto.randomBytes(B*=7);M<B;)U=(k[M]&31)*281474976710656+k[M+1]*1099511627776+k[M+2]*4294967296+k[M+3]*16777216+(k[M+4]<<16)+(k[M+5]<<8)+k[M+6],U>=9e15?crypto.randomBytes(7).copy(k,M):(P.push(U%1e14),M+=7);M=B/7}else throw b=!1,Error($n+"crypto unavailable");if(!b)for(;M<B;)U=E(),U<9e15&&(P[M++]=U%1e14);for(B=P[--M],D%=Ie,B&&D&&(U=pp[Ie-D],P[M]=xr(B/U)*U);P[M]===0;P.pop(),M--);if(M<0)P=[z=0];else{for(z=-1;P[0]===0;P.splice(0,1),z-=Ie);for(M=1,U=P[0];U>=10;U/=10,M++);M<Ie&&(z-=Ie-M)}return L.e=z,L.c=P,L}}(),O.sum=function(){for(var w=1,E=arguments,D=new O(E[0]);w<E.length;)D=D.plus(E[w++]);return D},n=function(){var w="0123456789";function E(D,k,q,z){for(var B,U=[0],M,P=0,L=D.length;P<L;){for(M=U.length;M--;U[M]*=k);for(U[0]+=z.indexOf(D.charAt(P++)),B=0;B<U.length;B++)U[B]>q-1&&(U[B+1]==null&&(U[B+1]=0),U[B+1]+=U[B]/q|0,U[B]%=q)}return U.reverse()}return function(D,k,q,z,B){var U,M,P,L,J,R,I,ce,se=D.indexOf("."),de=c,fe=d;for(se>=0&&(L=x,x=0,D=D.replace(".",""),ce=new O(k),R=ce.pow(D.length-se),x=L,ce.c=E(Fa(Tr(R.c),R.e,"0"),10,q,w),ce.e=ce.c.length),I=E(D,k,q,B?(U=C,w):(U=w,C)),P=L=I.length;I[--L]==0;I.pop());if(!I[0])return U.charAt(0);if(se<0?--P:(R.c=I,R.e=P,R.s=z,R=i(R,ce,de,fe,q),I=R.c,J=R.r,P=R.e),M=P+de+1,se=I[M],L=q/2,J=J||M<0||I[M+1]!=null,J=fe<4?(se!=null||J)&&(fe==0||fe==(R.s<0?3:2)):se>L||se==L&&(fe==4||J||fe==6&&I[M-1]&1||fe==(R.s<0?8:7)),M<1||!I[0])D=J?Fa(U.charAt(1),-de,U.charAt(0)):U.charAt(0);else{if(I.length=M,J)for(--q;++I[--M]>q;)I[M]=0,M||(++P,I=[1].concat(I));for(L=I.length;!I[--L];);for(se=0,D="";se<=L;D+=U.charAt(I[se++]));D=Fa(D,P,U.charAt(0))}return D}}(),i=function(){function w(k,q,z){var B,U,M,P,L=0,J=k.length,R=q%Ei,I=q/Ei|0;for(k=k.slice();J--;)M=k[J]%Ei,P=k[J]/Ei|0,B=I*M+P*R,U=R*M+B%Ei*Ei+L,L=(U/z|0)+(B/Ei|0)+I*P,k[J]=U%z;return L&&(k=[L].concat(k)),k}function E(k,q,z,B){var U,M;if(z!=B)M=z>B?1:-1;else for(U=M=0;U<z;U++)if(k[U]!=q[U]){M=k[U]>q[U]?1:-1;break}return M}function D(k,q,z,B){for(var U=0;z--;)k[z]-=U,U=k[z]<q[z]?1:0,k[z]=U*B+k[z]-q[z];for(;!k[0]&&k.length>1;k.splice(0,1));}return function(k,q,z,B,U){var M,P,L,J,R,I,ce,se,de,fe,pe,Ye,Oe,Je,ze,rt,Mt,et=k.s==q.s?1:-1,Qe=k.c,He=q.c;if(!Qe||!Qe[0]||!He||!He[0])return new O(!k.s||!q.s||(Qe?He&&Qe[0]==He[0]:!He)?NaN:Qe&&Qe[0]==0||!He?et*0:et/0);for(se=new O(et),de=se.c=[],P=k.e-q.e,et=z+P+1,U||(U=Fr,P=Or(k.e/Ie)-Or(q.e/Ie),et=et/Ie|0),L=0;He[L]==(Qe[L]||0);L++);if(He[L]>(Qe[L]||0)&&P--,et<0)de.push(1),J=!0;else{for(Je=Qe.length,rt=He.length,L=0,et+=2,R=xr(U/(He[0]+1)),R>1&&(He=w(He,R,U),Qe=w(Qe,R,U),rt=He.length,Je=Qe.length),Oe=rt,fe=Qe.slice(0,rt),pe=fe.length;pe<rt;fe[pe++]=0);Mt=He.slice(),Mt=[0].concat(Mt),ze=He[0],He[1]>=U/2&&ze++;do{if(R=0,M=E(He,fe,rt,pe),M<0){if(Ye=fe[0],rt!=pe&&(Ye=Ye*U+(fe[1]||0)),R=xr(Ye/ze),R>1)for(R>=U&&(R=U-1),I=w(He,R,U),ce=I.length,pe=fe.length;E(I,fe,ce,pe)==1;)R--,D(I,rt<ce?Mt:He,ce,U),ce=I.length,M=1;else R==0&&(M=R=1),I=He.slice(),ce=I.length;if(ce<pe&&(I=[0].concat(I)),D(fe,I,pe,U),pe=fe.length,M==-1)for(;E(He,fe,rt,pe)<1;)R++,D(fe,rt<pe?Mt:He,pe,U),pe=fe.length}else M===0&&(R++,fe=[0]);de[L++]=R,fe[0]?fe[pe++]=Qe[Oe]||0:(fe=[Qe[Oe]],pe=1)}while((Oe++<Je||fe[0]!=null)&&et--);J=fe[0]!=null,de[0]||de.splice(0,1)}if(U==Fr){for(L=1,et=de[0];et>=10;et/=10,L++);ne(se,z+(se.e=L+P*Ie-1)+1,B,J)}else se.e=P,se.r=+J;return se}}();function j(w,E,D,k){var q,z,B,U,M;if(D==null?D=d:zt(D,0,8),!w.c)return w.toString();if(q=w.c[0],B=w.e,E==null)M=Tr(w.c),M=k==1||k==2&&(B<=h||B>=m)?gc(M,B):Fa(M,B,"0");else if(w=ne(new O(w),E,D),z=w.e,M=Tr(w.c),U=M.length,k==1||k==2&&(E<=z||z<=h)){for(;U<E;M+="0",U++);M=gc(M,z)}else if(E-=B,M=Fa(M,z,"0"),z+1>U){if(--E>0)for(M+=".";E--;M+="0");}else if(E+=z-U,E>0)for(z+1==U&&(M+=".");E--;M+="0");return w.s<0&&q?"-"+M:M}function Q(w,E){for(var D,k,q=1,z=new O(w[0]);q<w.length;q++)k=new O(w[q]),(!k.s||(D=ol(z,k))===E||D===0&&z.s===E)&&(z=k);return z}function $(w,E,D){for(var k=1,q=E.length;!E[--q];E.pop());for(q=E[0];q>=10;q/=10,k++);return(D=k+D*Ie-1)>g?w.c=w.e=null:D<v?w.c=[w.e=0]:(w.e=D,w.c=E),w}t=function(){var w=/^(-?)0([xbo])(?=\w[\w.]*$)/i,E=/^([^.]+)\.$/,D=/^\.([^.]+)$/,k=/^-?(Infinity|NaN)$/,q=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(z,B,U,M){var P,L=U?B:B.replace(q,"");if(k.test(L))z.s=isNaN(L)?null:L<0?-1:1;else{if(!U&&(L=L.replace(w,function(J,R,I){return P=(I=I.toLowerCase())=="x"?16:I=="b"?2:8,!M||M==P?R:J}),M&&(P=M,L=L.replace(E,"$1").replace(D,"0.$1")),B!=L))return new O(L,P);if(O.DEBUG)throw Error($n+"Not a"+(M?" base "+M:"")+" number: "+B);z.s=null}z.c=z.e=null}}();function ne(w,E,D,k){var q,z,B,U,M,P,L,J=w.c,R=pp;if(J){e:{for(q=1,U=J[0];U>=10;U/=10,q++);if(z=E-q,z<0)z+=Ie,B=E,M=J[P=0],L=xr(M/R[q-B-1]%10);else if(P=dp((z+1)/Ie),P>=J.length)if(k){for(;J.length<=P;J.push(0));M=L=0,q=1,z%=Ie,B=z-Ie+1}else break e;else{for(M=U=J[P],q=1;U>=10;U/=10,q++);z%=Ie,B=z-Ie+q,L=B<0?0:xr(M/R[q-B-1]%10)}if(k=k||E<0||J[P+1]!=null||(B<0?M:M%R[q-B-1]),k=D<4?(L||k)&&(D==0||D==(w.s<0?3:2)):L>5||L==5&&(D==4||k||D==6&&(z>0?B>0?M/R[q-B]:0:J[P-1])%10&1||D==(w.s<0?8:7)),E<1||!J[0])return J.length=0,k?(E-=w.e+1,J[0]=R[(Ie-E%Ie)%Ie],w.e=-E||0):J[0]=w.e=0,w;if(z==0?(J.length=P,U=1,P--):(J.length=P+1,U=R[Ie-z],J[P]=B>0?xr(M/R[q-B]%R[B])*U:0),k)for(;;)if(P==0){for(z=1,B=J[0];B>=10;B/=10,z++);for(B=J[0]+=U,U=1;B>=10;B/=10,U++);z!=U&&(w.e++,J[0]==Fr&&(J[0]=1));break}else{if(J[P]+=U,J[P]!=Fr)break;J[P--]=0,U=1}for(z=J.length;J[--z]===0;J.pop());}w.e>g?w.c=w.e=null:w.e<v&&(w.c=[w.e=0])}return w}function F(w){var E,D=w.e;return D===null?w.toString():(E=Tr(w.c),E=D<=h||D>=m?gc(E,D):Fa(E,D,"0"),w.s<0?"-"+E:E)}return l.absoluteValue=l.abs=function(){var w=new O(this);return w.s<0&&(w.s=1),w},l.comparedTo=function(w,E){return ol(this,new O(w,E))},l.decimalPlaces=l.dp=function(w,E){var D,k,q,z=this;if(w!=null)return zt(w,0,Dn),E==null?E=d:zt(E,0,8),ne(new O(z),w+z.e+1,E);if(!(D=z.c))return null;if(k=((q=D.length-1)-Or(this.e/Ie))*Ie,q=D[q])for(;q%10==0;q/=10,k--);return k<0&&(k=0),k},l.dividedBy=l.div=function(w,E){return i(this,new O(w,E),c,d)},l.dividedToIntegerBy=l.idiv=function(w,E){return i(this,new O(w,E),0,1)},l.exponentiatedBy=l.pow=function(w,E){var D,k,q,z,B,U,M,P,L,J=this;if(w=new O(w),w.c&&!w.isInteger())throw Error($n+"Exponent not an integer: "+F(w));if(E!=null&&(E=new O(E)),U=w.e>14,!J.c||!J.c[0]||J.c[0]==1&&!J.e&&J.c.length==1||!w.c||!w.c[0])return L=new O(Math.pow(+F(J),U?w.s*(2-vc(w)):+F(w))),E?L.mod(E):L;if(M=w.s<0,E){if(E.c?!E.c[0]:!E.s)return new O(NaN);k=!M&&J.isInteger()&&E.isInteger(),k&&(J=J.mod(E))}else{if(w.e>9&&(J.e>0||J.e<-1||(J.e==0?J.c[0]>1||U&&J.c[1]>=24e7:J.c[0]<8e13||U&&J.c[0]<=9999975e7)))return z=J.s<0&&vc(w)?-0:0,J.e>-1&&(z=1/z),new O(M?1/z:z);x&&(z=dp(x/Ie+2))}for(U?(D=new O(.5),M&&(w.s=1),P=vc(w)):(q=Math.abs(+F(w)),P=q%2),L=new O(s);;){if(P){if(L=L.times(J),!L.c)break;z?L.c.length>z&&(L.c.length=z):k&&(L=L.mod(E))}if(q){if(q=xr(q/2),q===0)break;P=q%2}else if(w=w.times(D),ne(w,w.e+1,1),w.e>14)P=vc(w);else{if(q=+F(w),q===0)break;P=q%2}J=J.times(J),z?J.c&&J.c.length>z&&(J.c.length=z):k&&(J=J.mod(E))}return k?L:(M&&(L=s.div(L)),E?L.mod(E):z?ne(L,x,d,B):L)},l.integerValue=function(w){var E=new O(this);return w==null?w=d:zt(w,0,8),ne(E,E.e+1,w)},l.isEqualTo=l.eq=function(w,E){return ol(this,new O(w,E))===0},l.isFinite=function(){return!!this.c},l.isGreaterThan=l.gt=function(w,E){return ol(this,new O(w,E))>0},l.isGreaterThanOrEqualTo=l.gte=function(w,E){return(E=ol(this,new O(w,E)))===1||E===0},l.isInteger=function(){return!!this.c&&Or(this.e/Ie)>this.c.length-2},l.isLessThan=l.lt=function(w,E){return ol(this,new O(w,E))<0},l.isLessThanOrEqualTo=l.lte=function(w,E){return(E=ol(this,new O(w,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(w,E){var D,k,q,z,B=this,U=B.s;if(w=new O(w,E),E=w.s,!U||!E)return new O(NaN);if(U!=E)return w.s=-E,B.plus(w);var M=B.e/Ie,P=w.e/Ie,L=B.c,J=w.c;if(!M||!P){if(!L||!J)return L?(w.s=-E,w):new O(J?B:NaN);if(!L[0]||!J[0])return J[0]?(w.s=-E,w):new O(L[0]?B:d==3?-0:0)}if(M=Or(M),P=Or(P),L=L.slice(),U=M-P){for((z=U<0)?(U=-U,q=L):(P=M,q=J),q.reverse(),E=U;E--;q.push(0));q.reverse()}else for(k=(z=(U=L.length)<(E=J.length))?U:E,U=E=0;E<k;E++)if(L[E]!=J[E]){z=L[E]<J[E];break}if(z&&(q=L,L=J,J=q,w.s=-w.s),E=(k=J.length)-(D=L.length),E>0)for(;E--;L[D++]=0);for(E=Fr-1;k>U;){if(L[--k]<J[k]){for(D=k;D&&!L[--D];L[D]=E);--L[D],L[k]+=Fr}L[k]-=J[k]}for(;L[0]==0;L.splice(0,1),--P);return L[0]?$(w,L,P):(w.s=d==3?-1:1,w.c=[w.e=0],w)},l.modulo=l.mod=function(w,E){var D,k,q=this;return w=new O(w,E),!q.c||!w.s||w.c&&!w.c[0]?new O(NaN):!w.c||q.c&&!q.c[0]?new O(q):(S==9?(k=w.s,w.s=1,D=i(q,w,0,3),w.s=k,D.s*=k):D=i(q,w,0,S),w=q.minus(D.times(w)),!w.c[0]&&S==1&&(w.s=q.s),w)},l.multipliedBy=l.times=function(w,E){var D,k,q,z,B,U,M,P,L,J,R,I,ce,se,de,fe=this,pe=fe.c,Ye=(w=new O(w,E)).c;if(!pe||!Ye||!pe[0]||!Ye[0])return!fe.s||!w.s||pe&&!pe[0]&&!Ye||Ye&&!Ye[0]&&!pe?w.c=w.e=w.s=null:(w.s*=fe.s,!pe||!Ye?w.c=w.e=null:(w.c=[0],w.e=0)),w;for(k=Or(fe.e/Ie)+Or(w.e/Ie),w.s*=fe.s,M=pe.length,J=Ye.length,M<J&&(ce=pe,pe=Ye,Ye=ce,q=M,M=J,J=q),q=M+J,ce=[];q--;ce.push(0));for(se=Fr,de=Ei,q=J;--q>=0;){for(D=0,R=Ye[q]%de,I=Ye[q]/de|0,B=M,z=q+B;z>q;)P=pe[--B]%de,L=pe[B]/de|0,U=I*P+L*R,P=R*P+U%de*de+ce[z]+D,D=(P/se|0)+(U/de|0)+I*L,ce[z--]=P%se;ce[z]=D}return D?++k:ce.splice(0,1),$(w,ce,k)},l.negated=function(){var w=new O(this);return w.s=-w.s||null,w},l.plus=function(w,E){var D,k=this,q=k.s;if(w=new O(w,E),E=w.s,!q||!E)return new O(NaN);if(q!=E)return w.s=-E,k.minus(w);var z=k.e/Ie,B=w.e/Ie,U=k.c,M=w.c;if(!z||!B){if(!U||!M)return new O(q/0);if(!U[0]||!M[0])return M[0]?w:new O(U[0]?k:q*0)}if(z=Or(z),B=Or(B),U=U.slice(),q=z-B){for(q>0?(B=z,D=M):(q=-q,D=U),D.reverse();q--;D.push(0));D.reverse()}for(q=U.length,E=M.length,q-E<0&&(D=M,M=U,U=D,E=q),q=0;E;)q=(U[--E]=U[E]+M[E]+q)/Fr|0,U[E]=Fr===U[E]?0:U[E]%Fr;return q&&(U=[q].concat(U),++B),$(w,U,B)},l.precision=l.sd=function(w,E){var D,k,q,z=this;if(w!=null&&w!==!!w)return zt(w,1,Dn),E==null?E=d:zt(E,0,8),ne(new O(z),w,E);if(!(D=z.c))return null;if(q=D.length-1,k=q*Ie+1,q=D[q]){for(;q%10==0;q/=10,k--);for(q=D[0];q>=10;q/=10,k++);}return w&&z.e+1>k&&(k=z.e+1),k},l.shiftedBy=function(w){return zt(w,-hp,hp),this.times("1e"+w)},l.squareRoot=l.sqrt=function(){var w,E,D,k,q,z=this,B=z.c,U=z.s,M=z.e,P=c+4,L=new O("0.5");if(U!==1||!B||!B[0])return new O(!U||U<0&&(!B||B[0])?NaN:B?z:1/0);if(U=Math.sqrt(+F(z)),U==0||U==1/0?(E=Tr(B),(E.length+M)%2==0&&(E+="0"),U=Math.sqrt(+E),M=Or((M+1)/2)-(M<0||M%2),U==1/0?E="5e"+M:(E=U.toExponential(),E=E.slice(0,E.indexOf("e")+1)+M),D=new O(E)):D=new O(U+""),D.c[0]){for(M=D.e,U=M+P,U<3&&(U=0);;)if(q=D,D=L.times(q.plus(i(z,q,P,1))),Tr(q.c).slice(0,U)===(E=Tr(D.c)).slice(0,U))if(D.e<M&&--U,E=E.slice(U-3,U+1),E=="9999"||!k&&E=="4999"){if(!k&&(ne(q,q.e+c+2,0),q.times(q).eq(z))){D=q;break}P+=4,U+=4,k=1}else{(!+E||!+E.slice(1)&&E.charAt(0)=="5")&&(ne(D,D.e+c+2,1),w=!D.times(D).eq(z));break}}return ne(D,D.e+c+1,d,w)},l.toExponential=function(w,E){return w!=null&&(zt(w,0,Dn),w++),j(this,w,E,1)},l.toFixed=function(w,E){return w!=null&&(zt(w,0,Dn),w=w+this.e+1),j(this,w,E)},l.toFormat=function(w,E,D){var k,q=this;if(D==null)w!=null&&E&&typeof E=="object"?(D=E,E=null):w&&typeof w=="object"?(D=w,w=E=null):D=A;else if(typeof D!="object")throw Error($n+"Argument not an object: "+D);if(k=q.toFixed(w,E),q.c){var z,B=k.split("."),U=+D.groupSize,M=+D.secondaryGroupSize,P=D.groupSeparator||"",L=B[0],J=B[1],R=q.s<0,I=R?L.slice(1):L,ce=I.length;if(M&&(z=U,U=M,M=z,ce-=z),U>0&&ce>0){for(z=ce%U||U,L=I.substr(0,z);z<ce;z+=U)L+=P+I.substr(z,U);M>0&&(L+=P+I.slice(z)),R&&(L="-"+L)}k=J?L+(D.decimalSeparator||"")+((M=+D.fractionGroupSize)?J.replace(new RegExp("\\d{"+M+"}\\B","g"),"$&"+(D.fractionGroupSeparator||"")):J):L}return(D.prefix||"")+k+(D.suffix||"")},l.toFraction=function(w){var E,D,k,q,z,B,U,M,P,L,J,R,I=this,ce=I.c;if(w!=null&&(U=new O(w),!U.isInteger()&&(U.c||U.s!==1)||U.lt(s)))throw Error($n+"Argument "+(U.isInteger()?"out of range: ":"not an integer: ")+F(U));if(!ce)return new O(I);for(E=new O(s),P=D=new O(s),k=M=new O(s),R=Tr(ce),z=E.e=R.length-I.e-1,E.c[0]=pp[(B=z%Ie)<0?Ie+B:B],w=!w||U.comparedTo(E)>0?z>0?E:P:U,B=g,g=1/0,U=new O(R),M.c[0]=0;L=i(U,E,0,1),q=D.plus(L.times(k)),q.comparedTo(w)!=1;)D=k,k=q,P=M.plus(L.times(q=P)),M=q,E=U.minus(L.times(q=E)),U=q;return q=i(w.minus(D),k,0,1),M=M.plus(q.times(P)),D=D.plus(q.times(k)),M.s=P.s=I.s,z=z*2,J=i(P,k,z,d).minus(I).abs().comparedTo(i(M,D,z,d).minus(I).abs())<1?[P,k]:[M,D],g=B,J},l.toNumber=function(){return+F(this)},l.toPrecision=function(w,E){return w!=null&&zt(w,1,Dn),j(this,w,E,2)},l.toString=function(w){var E,D=this,k=D.s,q=D.e;return q===null?k?(E="Infinity",k<0&&(E="-"+E)):E="NaN":(w==null?E=q<=h||q>=m?gc(Tr(D.c),q):Fa(Tr(D.c),q,"0"):w===10&&N?(D=ne(new O(D),c+q+1,d),E=Fa(Tr(D.c),D.e,"0")):(zt(w,2,C.length,"Base"),E=n(Fa(Tr(D.c),q,"0"),10,w,k,!0)),k<0&&D.c[0]&&(E="-"+E)),E},l.valueOf=l.toJSON=function(){return F(this)},l._isBigNumber=!0,l[Symbol.toStringTag]="BigNumber",l[Symbol.for("nodejs.util.inspect.custom")]=l.valueOf,r!=null&&O.set(r),O}function Or(r){var i=r|0;return r>0||r===i?i:i-1}function Tr(r){for(var i,n,t=1,l=r.length,s=r[0]+"";t<l;){for(i=r[t++]+"",n=Ie-i.length;n--;i="0"+i);s+=i}for(l=s.length;s.charCodeAt(--l)===48;);return s.slice(0,l+1||1)}function ol(r,i){var n,t,l=r.c,s=i.c,c=r.s,d=i.s,h=r.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 zt(r,i,n,t){if(r<i||r>n||r!==xr(r))throw Error($n+(t||"Argument")+(typeof r=="number"?r<i||r>n?" out of range: ":" not an integer: ":" not a primitive number: ")+String(r))}function vc(r){var i=r.c.length-1;return Or(r.e/Ie)==i&&r.c[i]%2!=0}function gc(r,i){return(r.length>1?r.charAt(0)+"."+r.slice(1):r)+(i<0?"e":"e+")+i}function Fa(r,i,n){var t,l;if(i<0){for(l=n+".";++i;l+=n);r=l+r}else if(t=r.length,++i>t){for(l=n,i-=t;--i;l+=n);r+=l}else i<t&&(r=r.slice(0,i)+"."+r.slice(i));return r}var Gt=J8(),jc;(function(r){r[r.up=Gt.ROUND_UP]="up",r[r.down=Gt.ROUND_DOWN]="down",r[r.truncate=Gt.ROUND_DOWN]="truncate",r[r.halfUp=Gt.ROUND_HALF_UP]="halfUp",r[r.default=Gt.ROUND_HALF_UP]="default",r[r.halfDown=Gt.ROUND_HALF_DOWN]="halfDown",r[r.halfEven=Gt.ROUND_HALF_EVEN]="halfEven",r[r.banker=Gt.ROUND_HALF_EVEN]="banker",r[r.ceiling=Gt.ROUND_CEIL]="ceiling",r[r.ceil=Gt.ROUND_CEIL]="ceil",r[r.floor=Gt.ROUND_FLOOR]="floor"})(jc||(jc={}));function e9(r){var i;return(i=jc[r])!==null&&i!==void 0?i:jc.default}var mp,$5;function Bx(){if($5)return mp;$5=1;var r=9007199254740991,i=Math.floor;function n(t,l){var s="";if(!t||l<1||l>r)return s;do l%2&&(s+=t),l=i(l/2),l&&(t+=t);while(l);return s}return mp=n,mp}var vp,J5;function Ix(){if(J5)return vp;J5=1;var r=/\s/;function i(n){for(var t=n.length;t--&&r.test(n.charAt(t)););return t}return vp=i,vp}var gp,e7;function Fx(){if(e7)return gp;e7=1;var r=Ix(),i=/^\s+/;function n(t){return t&&t.slice(0,r(t)+1).replace(i,"")}return gp=n,gp}var yp,t7;function Gx(){if(t7)return yp;t7=1;var r=Fx(),i=Ja(),n=au(),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=r(m);var g=s.test(m);return g||c.test(m)?d(m.slice(2),g?2:8):l.test(m)?t:+m}return yp=h,yp}var bp,n7;function t9(){if(n7)return bp;n7=1;var r=Gx(),i=1/0,n=17976931348623157e292;function t(l){if(!l)return l===0?l:0;if(l=r(l),l===i||l===-i){var s=l<0?-1:1;return s*n}return l===l?l:0}return bp=t,bp}var _p,r7;function Wx(){if(r7)return _p;r7=1;var r=t9();function i(n){var t=r(n),l=t%1;return t===t?l?t-l:t:0}return _p=i,_p}var wp,a7;function Vx(){if(a7)return wp;a7=1;var r=Bx(),i=vf(),n=Wx(),t=Co();function l(s,c,d){return(d?i(s,c,d):c===void 0)?c=1:c=n(c),r(t(s),c)}return wp=l,wp}var Zx=Vx();const Qx=fr(Zx);function Kx(r){return r.isZero()?1:Math.floor(Math.log10(r.abs().toNumber())+1)}function Xx(r,{precision:i,significant:n}){return n&&i!==null&&i>0?i-Kx(r):i}function Bc(r,i){const n=Xx(r,i);if(n===null)return r.toString();const t=e9(i.roundMode);if(n>=0)return r.toFixed(n,t);const l=Math.pow(10,Math.abs(n));return r=new Gt(r.div(l).toFixed(0,t)).times(l),r.toString()}function $x(r,{formattedNumber:i,unit:n}){return r.replace("%n",i).replace("%u",n)}function Jx({significand:r,whole:i,precision:n}){if(i==="0"||n===null)return r;const t=Math.max(0,n-i.length);return(r??"").substr(0,t)}function Rs(r,i){var n,t,l;const s=new Gt(r);if(i.raise&&!s.isFinite())throw new Error(`"${r}" is not a valid numeric value`);const c=Bc(s,i),d=new Gt(c),h=d.lt(0),m=d.isZero();let[v,g]=c.split(".");const b=[];let S;const x=(n=i.format)!==null&&n!==void 0?n:"%n",A=(t=i.negativeFormat)!==null&&t!==void 0?t:`-${x}`,C=h&&!m?A:x;for(v=v.replace("-","");v.length>0;)b.unshift(v.substr(Math.max(0,v.length-3),3)),v=v.substr(0,v.length-3);return v=b.join(""),S=b.join(i.delimiter),i.significant?g=Jx({whole:v,significand:g,precision:i.precision}):g=g??Qx("0",(l=i.precision)!==null&&l!==void 0?l:0),i.stripInsignificantZeros&&g&&(g=g.replace(/0+$/,"")),s.isNaN()&&(S=r.toString()),g&&s.isFinite()&&(S+=(i.separator||".")+g),$x(C,{formattedNumber:S,unit:i.unit})}function yo(r,i,n){let t="";return(i instanceof String||typeof i=="string")&&(t=i),i instanceof Array&&(t=i.join(r.defaultSeparator)),n.scope&&(t=[n.scope,t].join(r.defaultSeparator)),t}function cl(r){var i,n;if(r===null)return"null";const t=typeof r;return t!=="object"?t:((n=(i=r==null?void 0:r.constructor)===null||i===void 0?void 0:i.name)===null||n===void 0?void 0:n.toLowerCase())||"object"}function Ep(r,i,n){n=Object.keys(n).reduce((l,s)=>(l[r.transformKey(s)]=n[s],l),{});const t=i.match(r.placeholder);if(!t)return i;for(;t.length;){let l;const s=t.shift(),c=s.replace(r.placeholder,"$1");Va(n[c])?l=n[c].toString().replace(/\$/gm,"_#$#_"):c in n?l=r.nullPlaceholder(r,s,i,n):l=r.missingPlaceholder(r,s,i,n);const d=new RegExp(s.replace(/\{/gm,"\\{").replace(/\}/gm,"\\}"),"g");i=i.replace(d,l)}return i.replace(/_#\$#_/g,"$")}function da(r,i,n={}){n=Object.assign({},n);const t="locale"in n?n.locale:r.locale,l=cl(t),s=r.locales.get(l==="string"?t:typeof t).slice(),c=yo(r,i,n).split(r.defaultSeparator).map(h=>r.transformKey(h)),d=s.map(h=>c.reduce((m,v)=>m&&m[v],r.translations[h]));return d.push(n.defaultValue),d.find(h=>Va(h))}function eO(r,i){const n=new Gt(r);if(!n.isFinite())return r.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 Sp,i7;function n9(){if(i7)return Sp;i7=1;function r(i,n){for(var t=-1,l=n.length,s=i.length;++t<l;)i[s+t]=n[t];return i}return Sp=r,Sp}var Dp,l7;function tO(){if(l7)return Dp;l7=1;var r=ru(),i=pf(),n=aa(),t=r?r.isConcatSpreadable:void 0;function l(s){return n(s)||i(s)||!!(t&&s&&s[t])}return Dp=l,Dp}var Tp,o7;function nO(){if(o7)return Tp;o7=1;var r=n9(),i=tO();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):r(d,v):c||(d[d.length]=v)}return d}return Tp=n,Tp}var xp,s7;function rO(){if(s7)return xp;s7=1;function r(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 xp=r,xp}var Op,u7;function r9(){if(u7)return Op;u7=1;var r=Q8(),i=rO(),n=K8(),t=1,l=2;function s(c,d,h,m,v,g){var b=h&t,S=c.length,x=d.length;if(S!=x&&!(b&&x>S))return!1;var A=g.get(c),C=g.get(d);if(A&&C)return A==d&&C==c;var N=-1,O=!0,j=h&l?new r:void 0;for(g.set(c,d),g.set(d,c);++N<S;){var Q=c[N],$=d[N];if(m)var ne=b?m($,Q,N,d,c,g):m(Q,$,N,c,d,g);if(ne!==void 0){if(ne)continue;O=!1;break}if(j){if(!i(d,function(F,w){if(!n(j,w)&&(Q===F||v(Q,F,h,m,g)))return j.push(w)})){O=!1;break}}else if(!(Q===$||v(Q,$,h,m,g))){O=!1;break}}return g.delete(c),g.delete(d),O}return Op=s,Op}var Mp,c7;function aO(){if(c7)return Mp;c7=1;function r(i){var n=-1,t=Array(i.size);return i.forEach(function(l,s){t[++n]=[s,l]}),t}return Mp=r,Mp}var Ap,f7;function iO(){if(f7)return Ap;f7=1;var r=ru(),i=Y8(),n=iu(),t=r9(),l=aO(),s=W2(),c=1,d=2,h="[object Boolean]",m="[object Date]",v="[object Error]",g="[object Map]",b="[object Number]",S="[object RegExp]",x="[object Set]",A="[object String]",C="[object Symbol]",N="[object ArrayBuffer]",O="[object DataView]",j=r?r.prototype:void 0,Q=j?j.valueOf:void 0;function $(ne,F,w,E,D,k,q){switch(w){case O:if(ne.byteLength!=F.byteLength||ne.byteOffset!=F.byteOffset)return!1;ne=ne.buffer,F=F.buffer;case N:return!(ne.byteLength!=F.byteLength||!k(new i(ne),new i(F)));case h:case m:case b:return n(+ne,+F);case v:return ne.name==F.name&&ne.message==F.message;case S:case A:return ne==F+"";case g:var z=l;case x:var B=E&c;if(z||(z=s),ne.size!=F.size&&!B)return!1;var U=q.get(ne);if(U)return U==F;E|=d,q.set(ne,F);var M=t(z(ne),z(F),E,D,k,q);return q.delete(ne),M;case C:if(Q)return Q.call(ne)==Q.call(F)}return!1}return Ap=$,Ap}var Cp,d7;function lO(){if(d7)return Cp;d7=1;var r=n9(),i=aa();function n(t,l,s){var c=l(t);return i(t)?c:r(c,s(t))}return Cp=n,Cp}var Rp,h7;function oO(){if(h7)return Rp;h7=1;function r(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 Rp=r,Rp}var Np,p7;function sO(){if(p7)return Np;p7=1;function r(){return[]}return Np=r,Np}var kp,m7;function uO(){if(m7)return kp;m7=1;var r=oO(),i=sO(),n=Object.prototype,t=n.propertyIsEnumerable,l=Object.getOwnPropertySymbols,s=l?function(c){return c==null?[]:(c=Object(c),r(l(c),function(d){return t.call(c,d)}))}:i;return kp=s,kp}var Lp,v7;function cO(){if(v7)return Lp;v7=1;var r=j8(),i=r(Object.keys,Object);return Lp=i,Lp}var qp,g7;function fO(){if(g7)return qp;g7=1;var r=I2(),i=cO(),n=Object.prototype,t=n.hasOwnProperty;function l(s){if(!r(s))return i(s);var c=[];for(var d in Object(s))t.call(s,d)&&d!="constructor"&&c.push(d);return c}return qp=l,qp}var Hp,y7;function V2(){if(y7)return Hp;y7=1;var r=W8(),i=fO(),n=Ro();function t(l){return n(l)?r(l):i(l)}return Hp=t,Hp}var Up,b7;function dO(){if(b7)return Up;b7=1;var r=lO(),i=uO(),n=V2();function t(l){return r(l,n,i)}return Up=t,Up}var Pp,_7;function hO(){if(_7)return Pp;_7=1;var r=dO(),i=1,n=Object.prototype,t=n.hasOwnProperty;function l(s,c,d,h,m,v){var g=d&i,b=r(s),S=b.length,x=r(c),A=x.length;if(S!=A&&!g)return!1;for(var C=S;C--;){var N=b[C];if(!(g?N in c:t.call(c,N)))return!1}var O=v.get(s),j=v.get(c);if(O&&j)return O==c&&j==s;var Q=!0;v.set(s,c),v.set(c,s);for(var $=g;++C<S;){N=b[C];var ne=s[N],F=c[N];if(h)var w=g?h(F,ne,N,c,s,v):h(ne,F,N,s,c,v);if(!(w===void 0?ne===F||m(ne,F,d,h,v):w)){Q=!1;break}$||($=N=="constructor")}if(Q&&!$){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)&&(Q=!1)}return v.delete(s),v.delete(c),Q}return Pp=l,Pp}var zp,w7;function pO(){if(w7)return zp;w7=1;var r=Sl(),i=Ta(),n=r(i,"DataView");return zp=n,zp}var Yp,E7;function mO(){if(E7)return Yp;E7=1;var r=Sl(),i=Ta(),n=r(i,"Promise");return Yp=n,Yp}var jp,S7;function vO(){if(S7)return jp;S7=1;var r=Sl(),i=Ta(),n=r(i,"WeakMap");return jp=n,jp}var Bp,D7;function gO(){if(D7)return Bp;D7=1;var r=pO(),i=H2(),n=mO(),t=X8(),l=vO(),s=Ao(),c=N8(),d="[object Map]",h="[object Object]",m="[object Promise]",v="[object Set]",g="[object WeakMap]",b="[object DataView]",S=c(r),x=c(i),A=c(n),C=c(t),N=c(l),O=s;return(r&&O(new r(new ArrayBuffer(1)))!=b||i&&O(new i)!=d||n&&O(n.resolve())!=m||t&&O(new t)!=v||l&&O(new l)!=g)&&(O=function(j){var Q=s(j),$=Q==h?j.constructor:void 0,ne=$?c($):"";if(ne)switch(ne){case S:return b;case x:return d;case A:return m;case C:return v;case N:return g}return Q}),Bp=O,Bp}var Ip,T7;function yO(){if(T7)return Ip;T7=1;var r=j2(),i=r9(),n=iO(),t=hO(),l=gO(),s=aa(),c=F2(),d=G2(),h=1,m="[object Arguments]",v="[object Array]",g="[object Object]",b=Object.prototype,S=b.hasOwnProperty;function x(A,C,N,O,j,Q){var $=s(A),ne=s(C),F=$?v:l(A),w=ne?v:l(C);F=F==m?g:F,w=w==m?g:w;var E=F==g,D=w==g,k=F==w;if(k&&c(A)){if(!c(C))return!1;$=!0,E=!1}if(k&&!E)return Q||(Q=new r),$||d(A)?i(A,C,N,O,j,Q):n(A,C,F,N,O,j,Q);if(!(N&h)){var q=E&&S.call(A,"__wrapped__"),z=D&&S.call(C,"__wrapped__");if(q||z){var B=q?A.value():A,U=z?C.value():C;return Q||(Q=new r),j(B,U,N,O,Q)}}return k?(Q||(Q=new r),t(A,C,N,O,j,Q)):!1}return Ip=x,Ip}var Fp,x7;function a9(){if(x7)return Fp;x7=1;var r=yO(),i=El();function n(t,l,s,c,d){return t===l?!0:t==null||l==null||!i(t)&&!i(l)?t!==t&&l!==l:r(t,l,s,c,n,d)}return Fp=n,Fp}var Gp,O7;function bO(){if(O7)return Gp;O7=1;var r=j2(),i=a9(),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 b=d[m];if(g&&b[2]?b[1]!==s[b[0]]:!(b[0]in s))return!1}for(;++m<v;){b=d[m];var S=b[0],x=s[S],A=b[1];if(g&&b[2]){if(x===void 0&&!(S in s))return!1}else{var C=new r;if(h)var N=h(x,A,S,s,c,C);if(!(N===void 0?i(A,x,n|t,h,C):N))return!1}}return!0}return Gp=l,Gp}var Wp,M7;function i9(){if(M7)return Wp;M7=1;var r=Ja();function i(n){return n===n&&!r(n)}return Wp=i,Wp}var Vp,A7;function _O(){if(A7)return Vp;A7=1;var r=i9(),i=V2();function n(t){for(var l=i(t),s=l.length;s--;){var c=l[s],d=t[c];l[s]=[c,d,r(d)]}return l}return Vp=n,Vp}var Zp,C7;function l9(){if(C7)return Zp;C7=1;function r(i,n){return function(t){return t==null?!1:t[i]===n&&(n!==void 0||i in Object(t))}}return Zp=r,Zp}var Qp,R7;function wO(){if(R7)return Qp;R7=1;var r=bO(),i=_O(),n=l9();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||r(c,l,s)}}return Qp=t,Qp}var Kp,N7;function EO(){if(N7)return Kp;N7=1;function r(i,n){return i!=null&&n in Object(i)}return Kp=r,Kp}var Xp,k7;function SO(){if(k7)return Xp;k7=1;var r=EO(),i=H8();function n(t,l){return t!=null&&i(t,l,r)}return Xp=n,Xp}var $p,L7;function DO(){if(L7)return $p;L7=1;var r=a9(),i=q8(),n=SO(),t=L2(),l=i9(),s=l9(),c=hf(),d=1,h=2;function m(v,g){return t(v)&&l(g)?s(c(v),g):function(b){var S=i(b,v);return S===void 0&&S===g?n(b,v):r(g,S,d|h)}}return $p=m,$p}var Jp,q7;function TO(){if(q7)return Jp;q7=1;function r(i){return function(n){return n==null?void 0:n[i]}}return Jp=r,Jp}var em,H7;function xO(){if(H7)return em;H7=1;var r=P2();function i(n){return function(t){return r(t,n)}}return em=i,em}var tm,U7;function OO(){if(U7)return tm;U7=1;var r=TO(),i=xO(),n=L2(),t=hf();function l(s){return n(s)?r(t(s)):i(s)}return tm=l,tm}var nm,P7;function MO(){if(P7)return nm;P7=1;var r=wO(),i=DO(),n=mf(),t=aa(),l=OO();function s(c){return typeof c=="function"?c:c==null?n:typeof c=="object"?t(c)?i(c[0],c[1]):r(c):l(c)}return nm=s,nm}var rm,z7;function AO(){if(z7)return rm;z7=1;var r=z8(),i=V2();function n(t,l){return t&&r(t,l,i)}return rm=n,rm}var am,Y7;function CO(){if(Y7)return am;Y7=1;var r=Ro();function i(n,t){return function(l,s){if(l==null)return l;if(!r(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 am=i,am}var im,j7;function RO(){if(j7)return im;j7=1;var r=AO(),i=CO(),n=i(r);return im=n,im}var lm,B7;function NO(){if(B7)return lm;B7=1;var r=RO(),i=Ro();function n(t,l){var s=-1,c=i(t)?Array(t.length):[];return r(t,function(d,h,m){c[++s]=l(d,h,m)}),c}return lm=n,lm}var om,I7;function kO(){if(I7)return om;I7=1;function r(i,n){var t=i.length;for(i.sort(n);t--;)i[t]=i[t].value;return i}return om=r,om}var sm,F7;function LO(){if(F7)return sm;F7=1;var r=au();function i(n,t){if(n!==t){var l=n!==void 0,s=n===null,c=n===n,d=r(n),h=t!==void 0,m=t===null,v=t===t,g=r(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 sm=i,sm}var um,G7;function qO(){if(G7)return um;G7=1;var r=LO();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=r(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 um=i,um}var cm,W7;function HO(){if(W7)return cm;W7=1;var r=k8(),i=P2(),n=MO(),t=NO(),l=kO(),s=I8(),c=qO(),d=mf(),h=aa();function m(v,g,b){g.length?g=r(g,function(A){return h(A)?function(C){return i(C,A.length===1?A[0]:A)}:A}):g=[d];var S=-1;g=r(g,s(n));var x=t(v,function(A,C,N){var O=r(g,function(j){return j(A)});return{criteria:O,index:++S,value:A}});return l(x,function(A,C){return c(A,C,b)})}return cm=m,cm}var fm,V7;function UO(){if(V7)return fm;V7=1;var r=nO(),i=HO(),n=Z8(),t=vf(),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,r(c,1),[])});return fm=l,fm}var PO=UO();const zO=fr(PO);var dm,Z7;function YO(){if(Z7)return dm;Z7=1;function r(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 dm=r,dm}var hm,Q7;function jO(){if(Q7)return hm;Q7=1;var r=G8(),i=YO();function n(t,l){return i(t||[],l||[],r)}return hm=n,hm}var BO=jO();const IO=fr(BO),r2={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"},FO=IO(Object.values(r2),Object.keys(r2).map(r=>parseInt(r,10)));function GO(r,i,n){const t={roundMode:n.roundMode,precision:n.precision,significant:n.significant};let l;if(cl(n.units)==="string"){const g=n.units;if(l=da(r,g),!l)throw new Error(`The scope "${r.locale}${r.defaultSeparator}${yo(r,g,{})}" couldn't be found`)}else l=n.units;let s=Bc(new Gt(i),t);const c=g=>zO(Object.keys(g).map(b=>FO[b]),b=>b*-1),d=(g,b)=>{const S=g.isZero()?0:Math.floor(Math.log10(g.abs().toNumber()));return c(b).find(x=>S>=x)||0},h=(g,b)=>{const S=r2[b.toString()];return g[S]||""},m=d(new Gt(s),l),v=h(l,m);if(s=Bc(new Gt(s).div(Math.pow(10,m)),t),n.stripInsignificantZeros){let[g,b]=s.split(".");b=(b||"").replace(/0+$/,""),s=g,b&&(s+=`${n.separator}${b}`)}return n.format.replace("%n",s||"0").replace("%u",v).trim()}const K7=["byte","kb","mb","gb","tb","pb","eb"];function WO(r,i,n){const t=e9(n.roundMode),l=1024,s=new Gt(i).abs(),c=s.lt(l);let d;const h=(x,A)=>{const C=A.length-1,N=new Gt(Math.log(x.toNumber())).div(Math.log(l)).integerValue(Gt.ROUND_DOWN).toNumber();return Math.min(C,N)},m=x=>`number.human.storage_units.units.${c?"byte":x[v]}`,v=h(s,K7);c?d=s.integerValue():d=new Gt(Bc(s.div(Math.pow(l,v)),{significant:n.significant,precision:n.precision,roundMode:n.roundMode}));const g=r.translate("number.human.storage_units.format",{defaultValue:"%n %u"}),b=r.translate(m(K7),{count:s.integerValue().toNumber()});let S=d.toFixed(n.precision,t);return n.stripInsignificantZeros&&(S=S.replace(/(\..*?)0+$/,"$1").replace(/\.$/,"")),g.replace("%n",S).replace("%u",b)}function a2(r){if(r instanceof Date)return r;if(typeof r=="number"){const t=new Date;return t.setTime(r),t}const i=new String(r).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(b=>parseInt(b,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)}r.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(r)),n}function X7({i18n:r,count:i,scope:n,options:t,baseScope:l}){t=Object.assign({},t);let s,c;if(typeof n=="object"&&n?s=n:s=da(r,n,t),!s)return r.missingTranslation.get(n,t);const h=r.pluralization.get(t.locale)(r,i),m=[];for(;h.length;){const v=h.shift();if(Va(s[v])){c=s[v];break}m.push(v)}return Va(c)?(t.count=i,r.interpolate(r,c,t)):r.missingTranslation.get(l.split(r.defaultSeparator).concat([m[0]]),t)}const VO={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 ZO(r,i,n={}){const{abbrDayNames:t,dayNames:l,abbrMonthNames:s,monthNames:c,meridian:d,utc:h}=Object.assign(Object.assign({},VO),n);if(isNaN(r.getTime()))throw new Error("strftime() requires a valid date object, but received an invalid date.");const m=h?r.getUTCDay():r.getDay(),v=h?r.getUTCDate():r.getDate(),g=h?r.getUTCFullYear():r.getFullYear(),b=(h?r.getUTCMonth():r.getMonth())+1,S=h?r.getUTCHours():r.getHours();let x=S;const A=S>11?"pm":"am",C=h?r.getUTCSeconds():r.getSeconds(),N=h?r.getUTCMinutes():r.getMinutes(),O=h?0:r.getTimezoneOffset(),j=Math.floor(Math.abs(O/60)),Q=Math.abs(O)-j*60,$=(O>0?"-":"+")+(j.toString().length<2?"0"+j:j)+(Q.toString().length<2?"0"+Q:Q);return x>12?x=x-12:x===0&&(x=12),i=i.replace("%a",t[m]),i=i.replace("%A",l[m]),i=i.replace("%b",s[b]),i=i.replace("%B",c[b]),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",S.toString().padStart(2,"0")),i=i.replace("%-H",S.toString()),i=i.replace("%k",S.toString()),i=i.replace("%I",x.toString().padStart(2,"0")),i=i.replace("%-I",x.toString()),i=i.replace("%l",x.toString()),i=i.replace("%m",b.toString().padStart(2,"0")),i=i.replace("%-m",b.toString()),i=i.replace("%M",N.toString().padStart(2,"0")),i=i.replace("%-M",N.toString()),i=i.replace("%p",d[A]),i=i.replace("%P",d[A].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,$),i}var pm,$7;function QO(){if($7)return pm;$7=1;var r=Math.ceil,i=Math.max;function n(t,l,s,c){for(var d=-1,h=i(r((l-t)/(s||1)),0),m=Array(h);h--;)m[c?h:++d]=t,t+=s;return m}return pm=n,pm}var mm,J7;function KO(){if(J7)return mm;J7=1;var r=QO(),i=vf(),n=t9();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),r(s,c,d,l)}}return mm=t,mm}var vm,eb;function XO(){if(eb)return vm;eb=1;var r=KO(),i=r();return vm=i,vm}var $O=XO();const JO=fr($O),lr=(r,i,n)=>n>=r&&n<=i;function eM(r,i,n,t={}){const l=t.scope||"datetime.distance_in_words",s=(F,w=0)=>r.t(F,{count:w,scope:l});i=a2(i),n=a2(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,b=Math.round(m/60),S=Math.round(g),x=Math.round(S/30);if(lr(0,1,m))return t.includeSeconds?lr(0,4,h)?s("less_than_x_seconds",5):lr(5,9,h)?s("less_than_x_seconds",10):lr(10,19,h)?s("less_than_x_seconds",20):lr(20,39,h)?s("half_a_minute"):lr(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(lr(2,44,m))return s("x_minutes",m);if(lr(45,89,m))return s("about_x_hours",1);if(lr(90,1439,m))return s("about_x_hours",b);if(lr(1440,2519,m))return s("x_days",1);if(lr(2520,43199,m))return s("x_days",S);if(lr(43200,86399,m))return s("about_x_months",Math.round(m/43200));if(lr(86400,525599,m))return s("x_months",x);let A=i.getFullYear();i.getMonth()+1>=3&&(A+=1);let C=n.getFullYear();n.getMonth()+1<3&&(C-=1);const N=A>C?0:JO(A,C).filter(F=>new Date(F,1,29).getMonth()==1).length,O=525600,j=N*1440,Q=m-j,$=Math.trunc(Q/O),ne=parseFloat((Q/O-$).toPrecision(3));return ne<.25?s("about_x_years",$):ne<.75?s("over_x_years",$):s("almost_x_years",$+1)}const tM=function(r,i){i instanceof Array&&(i=i.join(r.defaultSeparator));const n=i.split(r.defaultSeparator).slice(-1)[0];return r.missingTranslationPrefix+n.replace("_"," ").replace(/([a-z])([A-Z])/g,(t,l,s)=>`${l} ${s.toLowerCase()}`)},nM=(r,i,n)=>{const t=yo(r,i,n),l="locale"in n?n.locale:r.locale,s=cl(l);return`[missing "${[s=="string"?l:s,t].join(r.defaultSeparator)}" translation]`},rM=(r,i,n)=>{const t=yo(r,i,n),l=[r.locale,t].join(r.defaultSeparator);throw new Error(`Missing translation: ${l}`)};class aM{constructor(i){this.i18n=i,this.registry={},this.register("guess",tM),this.register("message",nM),this.register("error",rM)}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 iM=function(r,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(r,i||[])).next())})};const gm={defaultLocale:"en",locale:"en",defaultSeparator:".",placeholder:/(?:\{\{|%\{)(.*?)(?:\}\}?)/gm,enableFallback:!1,missingBehavior:"message",missingTranslationPrefix:"",missingPlaceholder:(r,i)=>`[missing "${i}" value]`,nullPlaceholder:(r,i,n,t)=>r.missingPlaceholder(r,i,n,t),transformKey:r=>r};let lM=class{constructor(i={},n={}){this._locale=gm.locale,this._defaultLocale=gm.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:b}=Object.assign(Object.assign({},gm),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 bx(this),this.locales=new mx(this),this.missingTranslation=new aM(this),this.transformKey=b,this.interpolate=Ep,this.store(i)}store(i){JT(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 ${cl(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 ${cl(i)}`);const n=this._defaultLocale!==i;this._defaultLocale=i,n&&this.hasChanged()}translate(i,n){n=Object.assign({},n);const t=Yx(this,i,n);let l;return t.some(c=>(Va(c.scope)?l=da(this,c.scope,n):Va(c.message)&&(l=c.message),l!=null))?(typeof l=="string"?l=this.interpolate(this,l,n):typeof l=="object"&&l&&Va(n.count)&&(l=X7({i18n:this,count:n.count||0,scope:l,options:n,baseScope:yo(this,i,n)})),n&&l instanceof Array&&(l=l.map(c=>typeof c=="string"?Ep(this,c,n):c)),l):this.missingTranslation.get(i,n)}pluralize(i,n,t){return X7({i18n:this,count:i,scope:n,options:Object.assign({},t),baseScope:yo(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 Rs(n,Object.assign({delimiter:",",precision:3,separator:".",significant:!1,stripInsignificantZeros:!1},da(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(),Ep(this,l,t)}}}toTime(i,n){const t=a2(n),l=da(this,i);return t.toString().match(/invalid/i)||!l?t.toString():this.strftime(t,l)}numberToCurrency(i,n={}){return Rs(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 Rs(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 WO(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 GO(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 Rs(i,Object.assign({unit:"",precision:3,significant:!1,separator:".",delimiter:"",stripInsignificantZeros:!1},n))}numberToDelimited(i,n={}){return eO(i,Object.assign({delimiterPattern:/(\d)(?=(\d\d\d)+(?!\d))/g,delimiter:",",separator:"."},n))}withLocale(i,n){return iM(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 ZO(i,n,Object.assign(Object.assign(Object.assign({},Ir(da(this,"date"))),{meridian:{am:da(this,"time.am")||"AM",pm:da(this,"time.pm")||"PM"}}),t))}update(i,n,t={strict:!1}){if(t.strict&&!bT(this.translations,i))throw new Error(`The path "${i}" is not currently defined`);const l=pT(this.translations,i),s=cl(l),c=cl(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(da(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 eM(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),Rs(i,n)}get(i){return da(this,i)}runCallbacks(){this.onChangeHandlers.forEach(i=>i(this))}hasChanged(){this._version+=1,this.runCallbacks()}};function oM(r,i,n){const t=new URLSearchParams(r);return t.set(i,n),"?"+t.toString()}function sM(r,i){return new URLSearchParams(i).get(r)}function o9(r){return r!=null?(r.preventDefault(),r.stopPropagation(),!1):!0}function Vr(r){return r==null?!0:Array.isArray(r)?r.length===0:typeof r=="string"?r.trim().length===0:r&&r.getTime?r.getTime()!==r.getTime():typeof r=="object"?Object.keys(r).length===0:!1}/*! js-cookie v3.0.5 | MIT */function yc(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)r[t]=n[t]}return r}var uM={read:function(r){return r[0]==='"'&&(r=r.slice(1,-1)),r.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(r){return encodeURIComponent(r).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function i2(r,i){function n(l,s,c){if(!(typeof document>"u")){c=yc({},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+"="+r.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]=r.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,"",yc({},s,{expires:-1}))},withAttributes:function(l){return i2(this.converter,yc({},this.attributes,l))},withConverter:function(l){return i2(yc({},this.converter,l),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(r)}})}var s9=i2(uM,{path:"/"});const Le=new lM({en:PD,nl:zD});let yl=sM("lang",window.location.search);Vr(yl)&&(yl=s9.get("lang"));Vr(yl)&&(yl=navigator.language.toLowerCase().substring(0,2));["nl","en"].indexOf(yl)===-1&&(yl="en");Le.locale=yl;Le.missingTranslation.register("report-error",(r,i)=>`[missing "${i}" translation]`);Le.missingBehavior="report-error";const tb=r=>{let i;const n=new Set,t=(m,v)=>{const g=typeof m=="function"?m(i):m;if(!Object.is(g,i)){const b=i;i=v??(typeof g!="object"||g===null)?g:Object.assign({},i,g),n.forEach(S=>S(i,b))}},l=()=>i,d={setState:t,getState:l,getInitialState:()=>h,subscribe:m=>(n.add(m),()=>n.delete(m))},h=i=r(t,l,d);return d},cM=r=>r?tb(r):tb,fM=r=>r;function dM(r,i=fM){const n=G.useSyncExternalStore(r.subscribe,()=>i(r.getState()),()=>i(r.getInitialState()));return G.useDebugValue(n),n}const nb=r=>{const i=cM(r),n=t=>dM(i,t);return Object.assign(n,i),n},hM=r=>r?nb(r):nb,Hn=hM(r=>({user:{},controlCode:{},flash:{msg:"",className:"hide",type:"info"},setFlash:(i,n)=>{r({flash:{msg:i,type:n||"info"}}),(!n||n==="info")&&setTimeout(()=>r({flash:{}}),5e3)},clearFlash:()=>r({flash:{}}),breadcrumbPath:[]}));function pM(r){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,r&&i.status===401){window.location.reload(!0);return}throw r&&setTimeout(()=>{throw n},250),n}return i}}function mM(r,i,n={},t=!0){const l={Accept:"application/json","Content-Type":"application/json","Accept-Language":Le.locale,"X-CSRF-TOKEN":Hn.getState().csrfToken,...n},s=Object.assign({},{headers:l},i,{credentials:"same-origin",redirect:"manual",changeOrigin:!1});return fetch(r,s).then(pM(t))}function lu(r,i={},n={},t=!0){return mM(r,i,n,t).then(l=>l.json())}function vM(r,i,n,t=!0){const l=JSON.stringify(i);return lu(r,{method:n,body:l},{},t)}function gM(){return lu("/myconext/api/sp/me")}function yM(){const r={credentials:"same-origin",redirect:"manual"};return lu("/myconext/api/sp/logout").then(()=>fetch("/Shibboleth.sso/Logout",r))}function bM(r){return lu(`/myconext/api/servicedesk/user/${r}`)}function _M(r){return lu(`/myconext/api/servicedesk/validate?dayOfBirth=${encodeURIComponent(r)}`)}function wM(r,i,n,t,l,s){return vM("/myconext/api/servicedesk/approve",{firstName:r,lastName:i,dayOfBirth:n,code:t,documentId:l,userUid:s},"PUT",!1)}const EM=()=>{const r=Hn(n=>n.flash),i=Hn(n=>n.clearFlash);return!Vr(r)&&(r.type==="error"||r.type==="warning")?K.jsx(iS,{message:r.msg,action:r.action,actionLabel:r.actionLabel,alertType:r.type==="warning"?Di.Warning:Di.Error,close:i}):!Vr(r)&&!Vr(r.msg)?K.jsx(hS,{children:K.jsx(x2,{message:r.msg,toasterType:xi.Success})}):null},SM=({user:r})=>{const i=Mo(),[n,t]=y.useState(!1),l=c=>{o9(c),yM().then(()=>{Hn.setState(()=>({breadcrumbPath:[],user:{},controlCode:{}})),i("/login"),setTimeout(()=>Hn.setState(()=>({user:null,breadcrumbPath:[]})),125)})},s=()=>K.jsx(K.Fragment,{children:K.jsx("ul",{children:K.jsx("li",{children:K.jsx("a",{href:"/logout",onClick:l,children:Le.t("header.links.logout")})})})});return K.jsx("div",{className:"user-menu",tabIndex:1,onBlur:()=>setTimeout(()=>t(!1),325),children:K.jsx(pS,{isOpen:n,children:s(),organisationName:Le.t("serviceDesk.member"),userName:r.name,toggle:()=>t(!n)})})},DM=()=>{const{user:r}=Hn(i=>i);return K.jsx("div",{className:"header-container",children:K.jsxs("div",{className:"header-inner",children:[K.jsx(sf,{className:"logo",to:"/",children:K.jsx(p8,{label:Le.t("header.title"),position:m8.Bottom,color:Xm.White})}),r&&r.serviceDeskMember&&K.jsx(SM,{user:r,actions:[]})]})})};/*! @license DOMPurify 3.2.3 | (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.3/LICENSE */const{entries:u9,setPrototypeOf:rb,isFrozen:TM,getPrototypeOf:xM,getOwnPropertyDescriptor:OM}=Object;let{freeze:Vn,seal:Cr,create:c9}=Object,{apply:l2,construct:o2}=typeof Reflect<"u"&&Reflect;Vn||(Vn=function(i){return i});Cr||(Cr=function(i){return i});l2||(l2=function(i,n,t){return i.apply(n,t)});o2||(o2=function(i,n){return new i(...n)});const bc=cr(Array.prototype.forEach),ab=cr(Array.prototype.pop),Ns=cr(Array.prototype.push),Rc=cr(String.prototype.toLowerCase),ym=cr(String.prototype.toString),ib=cr(String.prototype.match),ks=cr(String.prototype.replace),MM=cr(String.prototype.indexOf),AM=cr(String.prototype.trim),Wr=cr(Object.prototype.hasOwnProperty),Fn=cr(RegExp.prototype.test),Ls=CM(TypeError);function cr(r){return function(i){for(var n=arguments.length,t=new Array(n>1?n-1:0),l=1;l<n;l++)t[l-1]=arguments[l];return l2(r,i,t)}}function CM(r){return function(){for(var i=arguments.length,n=new Array(i),t=0;t<i;t++)n[t]=arguments[t];return o2(r,n)}}function nt(r,i){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Rc;rb&&rb(r,null);let t=i.length;for(;t--;){let l=i[t];if(typeof l=="string"){const s=n(l);s!==l&&(TM(i)||(i[t]=s),l=s)}r[l]=!0}return r}function RM(r){for(let i=0;i<r.length;i++)Wr(r,i)||(r[i]=null);return r}function sl(r){const i=c9(null);for(const[n,t]of u9(r))Wr(r,n)&&(Array.isArray(t)?i[n]=RM(t):t&&typeof t=="object"&&t.constructor===Object?i[n]=sl(t):i[n]=t);return i}function qs(r,i){for(;r!==null;){const t=OM(r,i);if(t){if(t.get)return cr(t.get);if(typeof t.value=="function")return cr(t.value)}r=xM(r)}function n(){return null}return n}const lb=Vn(["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"]),bm=Vn(["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"]),_m=Vn(["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"]),NM=Vn(["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"]),wm=Vn(["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"]),kM=Vn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ob=Vn(["#text"]),sb=Vn(["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"]),Em=Vn(["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"]),ub=Vn(["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"]),_c=Vn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),LM=Cr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),qM=Cr(/<%[\w\W]*|[\w\W]*%>/gm),HM=Cr(/\$\{[\w\W]*}/gm),UM=Cr(/^data-[\-\w.\u00B7-\uFFFF]+$/),PM=Cr(/^aria-[\-\w]+$/),f9=Cr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),zM=Cr(/^(?:\w+script|data):/i),YM=Cr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),d9=Cr(/^html$/i),jM=Cr(/^[a-z][.\w]*(-[.\w]+)+$/i);var cb=Object.freeze({__proto__:null,ARIA_ATTR:PM,ATTR_WHITESPACE:YM,CUSTOM_ELEMENT:jM,DATA_ATTR:UM,DOCTYPE_NAME:d9,ERB_EXPR:qM,IS_ALLOWED_URI:f9,IS_SCRIPT_OR_DATA:zM,MUSTACHE_EXPR:LM,TMPLIT_EXPR:HM});const Hs={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},BM=function(){return typeof window>"u"?null:window},IM=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}},fb=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function h9(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:BM();const i=Ee=>h9(Ee);if(i.version="3.2.3",i.removed=[],!r||!r.document||r.document.nodeType!==Hs.document)return i.isSupported=!1,i;let{document:n}=r;const t=n,l=t.currentScript,{DocumentFragment:s,HTMLTemplateElement:c,Node:d,Element:h,NodeFilter:m,NamedNodeMap:v=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:g,DOMParser:b,trustedTypes:S}=r,x=h.prototype,A=qs(x,"cloneNode"),C=qs(x,"remove"),N=qs(x,"nextSibling"),O=qs(x,"childNodes"),j=qs(x,"parentNode");if(typeof c=="function"){const Ee=n.createElement("template");Ee.content&&Ee.content.ownerDocument&&(n=Ee.content.ownerDocument)}let Q,$="";const{implementation:ne,createNodeIterator:F,createDocumentFragment:w,getElementsByTagName:E}=n,{importNode:D}=t;let k=fb();i.isSupported=typeof u9=="function"&&typeof j=="function"&&ne&&ne.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:q,ERB_EXPR:z,TMPLIT_EXPR:B,DATA_ATTR:U,ARIA_ATTR:M,IS_SCRIPT_OR_DATA:P,ATTR_WHITESPACE:L,CUSTOM_ELEMENT:J}=cb;let{IS_ALLOWED_URI:R}=cb,I=null;const ce=nt({},[...lb,...bm,..._m,...wm,...ob]);let se=null;const de=nt({},[...sb,...Em,...ub,..._c]);let fe=Object.seal(c9(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}})),pe=null,Ye=null,Oe=!0,Je=!0,ze=!1,rt=!0,Mt=!1,et=!0,Qe=!1,He=!1,xn=!1,Vt=!1,Jt=!1,ot=!1,qe=!0,ge=!1;const Fe="user-content-";let Ue=!0,Ke=!1,Nt={},kt=null;const Un=nt({},["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 pn=null;const On=nt({},["audio","video","img","source","image","track"]);let Zn=null;const Jn=nt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qn="http://www.w3.org/1998/Math/MathML",St="http://www.w3.org/2000/svg",Re="http://www.w3.org/1999/xhtml";let Pn=Re,en=!1,At=null;const Rr=nt({},[Qn,St,Re],ym);let mn=nt({},["mi","mo","mn","ms","mtext"]),vt=nt({},["annotation-xml"]);const sn=nt({},["title","style","font","a","script"]);let tn=null;const kn=["application/xhtml+xml","text/html"],Dt="text/html";let Ve=null,De=null;const Ce=n.createElement("form"),Ht=function(Y){return Y instanceof RegExp||Y instanceof Function},un=function(){let Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(De&&De===Y)){if((!Y||typeof Y!="object")&&(Y={}),Y=sl(Y),tn=kn.indexOf(Y.PARSER_MEDIA_TYPE)===-1?Dt:Y.PARSER_MEDIA_TYPE,Ve=tn==="application/xhtml+xml"?ym:Rc,I=Wr(Y,"ALLOWED_TAGS")?nt({},Y.ALLOWED_TAGS,Ve):ce,se=Wr(Y,"ALLOWED_ATTR")?nt({},Y.ALLOWED_ATTR,Ve):de,At=Wr(Y,"ALLOWED_NAMESPACES")?nt({},Y.ALLOWED_NAMESPACES,ym):Rr,Zn=Wr(Y,"ADD_URI_SAFE_ATTR")?nt(sl(Jn),Y.ADD_URI_SAFE_ATTR,Ve):Jn,pn=Wr(Y,"ADD_DATA_URI_TAGS")?nt(sl(On),Y.ADD_DATA_URI_TAGS,Ve):On,kt=Wr(Y,"FORBID_CONTENTS")?nt({},Y.FORBID_CONTENTS,Ve):Un,pe=Wr(Y,"FORBID_TAGS")?nt({},Y.FORBID_TAGS,Ve):{},Ye=Wr(Y,"FORBID_ATTR")?nt({},Y.FORBID_ATTR,Ve):{},Nt=Wr(Y,"USE_PROFILES")?Y.USE_PROFILES:!1,Oe=Y.ALLOW_ARIA_ATTR!==!1,Je=Y.ALLOW_DATA_ATTR!==!1,ze=Y.ALLOW_UNKNOWN_PROTOCOLS||!1,rt=Y.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Mt=Y.SAFE_FOR_TEMPLATES||!1,et=Y.SAFE_FOR_XML!==!1,Qe=Y.WHOLE_DOCUMENT||!1,Vt=Y.RETURN_DOM||!1,Jt=Y.RETURN_DOM_FRAGMENT||!1,ot=Y.RETURN_TRUSTED_TYPE||!1,xn=Y.FORCE_BODY||!1,qe=Y.SANITIZE_DOM!==!1,ge=Y.SANITIZE_NAMED_PROPS||!1,Ue=Y.KEEP_CONTENT!==!1,Ke=Y.IN_PLACE||!1,R=Y.ALLOWED_URI_REGEXP||f9,Pn=Y.NAMESPACE||Re,mn=Y.MATHML_TEXT_INTEGRATION_POINTS||mn,vt=Y.HTML_INTEGRATION_POINTS||vt,fe=Y.CUSTOM_ELEMENT_HANDLING||{},Y.CUSTOM_ELEMENT_HANDLING&&Ht(Y.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(fe.tagNameCheck=Y.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Y.CUSTOM_ELEMENT_HANDLING&&Ht(Y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(fe.attributeNameCheck=Y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Y.CUSTOM_ELEMENT_HANDLING&&typeof Y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(fe.allowCustomizedBuiltInElements=Y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Mt&&(Je=!1),Jt&&(Vt=!0),Nt&&(I=nt({},ob),se=[],Nt.html===!0&&(nt(I,lb),nt(se,sb)),Nt.svg===!0&&(nt(I,bm),nt(se,Em),nt(se,_c)),Nt.svgFilters===!0&&(nt(I,_m),nt(se,Em),nt(se,_c)),Nt.mathMl===!0&&(nt(I,wm),nt(se,ub),nt(se,_c))),Y.ADD_TAGS&&(I===ce&&(I=sl(I)),nt(I,Y.ADD_TAGS,Ve)),Y.ADD_ATTR&&(se===de&&(se=sl(se)),nt(se,Y.ADD_ATTR,Ve)),Y.ADD_URI_SAFE_ATTR&&nt(Zn,Y.ADD_URI_SAFE_ATTR,Ve),Y.FORBID_CONTENTS&&(kt===Un&&(kt=sl(kt)),nt(kt,Y.FORBID_CONTENTS,Ve)),Ue&&(I["#text"]=!0),Qe&&nt(I,["html","head","body"]),I.table&&(nt(I,["tbody"]),delete pe.tbody),Y.TRUSTED_TYPES_POLICY){if(typeof Y.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ls('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Y.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ls('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Q=Y.TRUSTED_TYPES_POLICY,$=Q.createHTML("")}else Q===void 0&&(Q=IM(S,l)),Q!==null&&typeof $=="string"&&($=Q.createHTML(""));Vn&&Vn(Y),De=Y}},he=nt({},[...bm,..._m,...NM]),Ae=nt({},[...wm,...kM]),Ne=function(Y){let le=j(Y);(!le||!le.tagName)&&(le={namespaceURI:Pn,tagName:"template"});const me=Rc(Y.tagName),We=Rc(le.tagName);return At[Y.namespaceURI]?Y.namespaceURI===St?le.namespaceURI===Re?me==="svg":le.namespaceURI===Qn?me==="svg"&&(We==="annotation-xml"||mn[We]):!!he[me]:Y.namespaceURI===Qn?le.namespaceURI===Re?me==="math":le.namespaceURI===St?me==="math"&&vt[We]:!!Ae[me]:Y.namespaceURI===Re?le.namespaceURI===St&&!vt[We]||le.namespaceURI===Qn&&!mn[We]?!1:!Ae[me]&&(sn[me]||!he[me]):!!(tn==="application/xhtml+xml"&&At[Y.namespaceURI]):!1},at=function(Y){Ns(i.removed,{element:Y});try{j(Y).removeChild(Y)}catch{C(Y)}},Tt=function(Y,le){try{Ns(i.removed,{attribute:le.getAttributeNode(Y),from:le})}catch{Ns(i.removed,{attribute:null,from:le})}if(le.removeAttribute(Y),Y==="is")if(Vt||Jt)try{at(le)}catch{}else try{le.setAttribute(Y,"")}catch{}},vn=function(Y){let le=null,me=null;if(xn)Y="<remove></remove>"+Y;else{const je=ib(Y,/^[\r\n\t ]+/);me=je&&je[0]}tn==="application/xhtml+xml"&&Pn===Re&&(Y='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Y+"</body></html>");const We=Q?Q.createHTML(Y):Y;if(Pn===Re)try{le=new b().parseFromString(We,tn)}catch{}if(!le||!le.documentElement){le=ne.createDocument(Pn,"template",null);try{le.documentElement.innerHTML=en?$:We}catch{}}const ct=le.body||le.documentElement;return Y&&me&&ct.insertBefore(n.createTextNode(me),ct.childNodes[0]||null),Pn===Re?E.call(le,Qe?"html":"body")[0]:Qe?le.documentElement:ct},gn=function(Y){return F.call(Y.ownerDocument||Y,Y,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT|m.SHOW_PROCESSING_INSTRUCTION|m.SHOW_CDATA_SECTION,null)},Pe=function(Y){return Y instanceof g&&(typeof Y.nodeName!="string"||typeof Y.textContent!="string"||typeof Y.removeChild!="function"||!(Y.attributes instanceof v)||typeof Y.removeAttribute!="function"||typeof Y.setAttribute!="function"||typeof Y.namespaceURI!="string"||typeof Y.insertBefore!="function"||typeof Y.hasChildNodes!="function")},it=function(Y){return typeof d=="function"&&Y instanceof d};function we(Ee,Y,le){bc(Ee,me=>{me.call(i,Y,le,De)})}const yn=function(Y){let le=null;if(we(k.beforeSanitizeElements,Y,null),Pe(Y))return at(Y),!0;const me=Ve(Y.nodeName);if(we(k.uponSanitizeElement,Y,{tagName:me,allowedTags:I}),Y.hasChildNodes()&&!it(Y.firstElementChild)&&Fn(/<[/\w]/g,Y.innerHTML)&&Fn(/<[/\w]/g,Y.textContent)||Y.nodeType===Hs.progressingInstruction||et&&Y.nodeType===Hs.comment&&Fn(/<[/\w]/g,Y.data))return at(Y),!0;if(!I[me]||pe[me]){if(!pe[me]&&er(me)&&(fe.tagNameCheck instanceof RegExp&&Fn(fe.tagNameCheck,me)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(me)))return!1;if(Ue&&!kt[me]){const We=j(Y)||Y.parentNode,ct=O(Y)||Y.childNodes;if(ct&&We){const je=ct.length;for(let Zt=je-1;Zt>=0;--Zt){const nn=A(ct[Zt],!0);nn.__removalCount=(Y.__removalCount||0)+1,We.insertBefore(nn,N(Y))}}}return at(Y),!0}return Y instanceof h&&!Ne(Y)||(me==="noscript"||me==="noembed"||me==="noframes")&&Fn(/<\/no(script|embed|frames)/i,Y.innerHTML)?(at(Y),!0):(Mt&&Y.nodeType===Hs.text&&(le=Y.textContent,bc([q,z,B],We=>{le=ks(le,We," ")}),Y.textContent!==le&&(Ns(i.removed,{element:Y.cloneNode()}),Y.textContent=le)),we(k.afterSanitizeElements,Y,null),!1)},mt=function(Y,le,me){if(qe&&(le==="id"||le==="name")&&(me in n||me in Ce))return!1;if(!(Je&&!Ye[le]&&Fn(U,le))){if(!(Oe&&Fn(M,le))){if(!se[le]||Ye[le]){if(!(er(Y)&&(fe.tagNameCheck instanceof RegExp&&Fn(fe.tagNameCheck,Y)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(Y))&&(fe.attributeNameCheck instanceof RegExp&&Fn(fe.attributeNameCheck,le)||fe.attributeNameCheck instanceof Function&&fe.attributeNameCheck(le))||le==="is"&&fe.allowCustomizedBuiltInElements&&(fe.tagNameCheck instanceof RegExp&&Fn(fe.tagNameCheck,me)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(me))))return!1}else if(!Zn[le]){if(!Fn(R,ks(me,L,""))){if(!((le==="src"||le==="xlink:href"||le==="href")&&Y!=="script"&&MM(me,"data:")===0&&pn[Y])){if(!(ze&&!Fn(P,ks(me,L,"")))){if(me)return!1}}}}}}return!0},er=function(Y){return Y!=="annotation-xml"&&ib(Y,J)},Nr=function(Y){we(k.beforeSanitizeAttributes,Y,null);const{attributes:le}=Y;if(!le||Pe(Y))return;const me={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:se,forceKeepAttr:void 0};let We=le.length;for(;We--;){const ct=le[We],{name:je,namespaceURI:Zt,value:nn}=ct,bn=Ve(je);let xt=je==="value"?nn:AM(nn);if(me.attrName=bn,me.attrValue=xt,me.keepAttr=!0,me.forceKeepAttr=void 0,we(k.uponSanitizeAttribute,Y,me),xt=me.attrValue,ge&&(bn==="id"||bn==="name")&&(Tt(je,Y),xt=Fe+xt),et&&Fn(/((--!?|])>)|<\/(style|title)/i,xt)){Tt(je,Y);continue}if(me.forceKeepAttr||(Tt(je,Y),!me.keepAttr))continue;if(!rt&&Fn(/\/>/i,xt)){Tt(je,Y);continue}Mt&&bc([q,z,B],qi=>{xt=ks(xt,qi," ")});const zn=Ve(Y.nodeName);if(mt(zn,bn,xt)){if(Q&&typeof S=="object"&&typeof S.getAttributeType=="function"&&!Zt)switch(S.getAttributeType(zn,bn)){case"TrustedHTML":{xt=Q.createHTML(xt);break}case"TrustedScriptURL":{xt=Q.createScriptURL(xt);break}}try{Zt?Y.setAttributeNS(Zt,je,xt):Y.setAttribute(je,xt),Pe(Y)?at(Y):ab(i.removed)}catch{}}}we(k.afterSanitizeAttributes,Y,null)},ia=function Ee(Y){let le=null;const me=gn(Y);for(we(k.beforeSanitizeShadowDOM,Y,null);le=me.nextNode();)we(k.uponSanitizeShadowNode,le,null),yn(le),Nr(le),le.content instanceof s&&Ee(le.content);we(k.afterSanitizeShadowDOM,Y,null)};return i.sanitize=function(Ee){let Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},le=null,me=null,We=null,ct=null;if(en=!Ee,en&&(Ee="<!-->"),typeof Ee!="string"&&!it(Ee))if(typeof Ee.toString=="function"){if(Ee=Ee.toString(),typeof Ee!="string")throw Ls("dirty is not a string, aborting")}else throw Ls("toString is not a function");if(!i.isSupported)return Ee;if(He||un(Y),i.removed=[],typeof Ee=="string"&&(Ke=!1),Ke){if(Ee.nodeName){const nn=Ve(Ee.nodeName);if(!I[nn]||pe[nn])throw Ls("root node is forbidden and cannot be sanitized in-place")}}else if(Ee instanceof d)le=vn("<!---->"),me=le.ownerDocument.importNode(Ee,!0),me.nodeType===Hs.element&&me.nodeName==="BODY"||me.nodeName==="HTML"?le=me:le.appendChild(me);else{if(!Vt&&!Mt&&!Qe&&Ee.indexOf("<")===-1)return Q&&ot?Q.createHTML(Ee):Ee;if(le=vn(Ee),!le)return Vt?null:ot?$:""}le&&xn&&at(le.firstChild);const je=gn(Ke?Ee:le);for(;We=je.nextNode();)yn(We),Nr(We),We.content instanceof s&&ia(We.content);if(Ke)return Ee;if(Vt){if(Jt)for(ct=w.call(le.ownerDocument);le.firstChild;)ct.appendChild(le.firstChild);else ct=le;return(se.shadowroot||se.shadowrootmode)&&(ct=D.call(t,ct,!0)),ct}let Zt=Qe?le.outerHTML:le.innerHTML;return Qe&&I["!doctype"]&&le.ownerDocument&&le.ownerDocument.doctype&&le.ownerDocument.doctype.name&&Fn(d9,le.ownerDocument.doctype.name)&&(Zt="<!DOCTYPE "+le.ownerDocument.doctype.name+`>
`+Zt),Mt&&bc([q,z,B],nn=>{Zt=ks(Zt,nn," ")}),Q&&ot?Q.createHTML(Zt):Zt},i.setConfig=function(){let Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};un(Ee),He=!0},i.clearConfig=function(){De=null,He=!1},i.isValidAttribute=function(Ee,Y,le){De||un({});const me=Ve(Ee),We=Ve(Y);return mt(me,We,le)},i.addHook=function(Ee,Y){typeof Y=="function"&&Ns(k[Ee],Y)},i.removeHook=function(Ee){return ab(k[Ee])},i.removeHooks=function(Ee){k[Ee]=[]},i.removeAllHooks=function(){k=fb()},i}var Zr=h9();const FM=({title:r,titleId:i,...n},t)=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:12.4,height:24,viewBox:"0 0 12.4 24",ref:t,"aria-labelledby":i,...n},r?y.createElement("title",{id:i},r):null,y.createElement("path",{fill:"none",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M.8.8l10.7 10.7c.1.1.1.2.2.2 0 .1.1.2.1.3s0 .2-.1.3c0 .1-.1.2-.2.2L.8 23.2"})),GM=y.forwardRef(FM),WM=()=>{const r=Hn(n=>n.breadcrumbPath),i=Hn(n=>n.clearFlash);return Vr(r)?null:K.jsx("nav",{className:"sds--breadcrumb sds--text--body--small","aria-label":"breadcrumbs",children:K.jsx("ol",{className:"sds--breadcrumb--list",children:r.filter(n=>!Vr(n)).map((n,t)=>K.jsxs("li",{children:[t!==0&&K.jsx(GM,{}),t+1!==r.length&&n.path&&K.jsx(sf,{to:n.path,onClick:()=>i(),children:K.jsx("span",{dangerouslySetInnerHTML:{__html:Zr.sanitize(n.value)}})}),t+1!==r.length&&!n.path&&K.jsx("span",{className:"last",dangerouslySetInnerHTML:{__html:Zr.sanitize(n.value)}}),t+1===r.length&&K.jsx("span",{className:"last",dangerouslySetInnerHTML:{__html:Zr.sanitize(n.value)}})]},t))})})},VM=({title:r,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},r?y.createElement("title",{id:i},r):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"})),ZM=y.forwardRef(VM),Sm=()=>K.jsx("div",{className:"not-found",children:K.jsx(ZM,{})}),QM=()=>{const{path:r}=S8(),i=Mo();return y.useEffect(()=>{const n=decodeURIComponent(r);i(n)},[r,i]),K.jsx(T2,{})},KM=({title:r,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},r?y.createElement("title",{id:i},r):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"})),p9=y.forwardRef(KM),XM="/assets/desk-CxZ7J2lW.webp",$M="/assets/badge-CsAHMs-r.webp",JM="/assets/screen-DJqmZq6P.webp",eA=()=>{const r=(n,t,l)=>{const s=l%2===0?"reversed":"";return K.jsxs("div",{className:`mod-login info ${s}`,children:[K.jsxs("div",{className:"header-left info",children:[K.jsxs("div",{className:"info-title",children:[K.jsx("h2",{children:n[0]}),K.jsx("div",{className:"admin-function-container",children:K.jsx(uS,{label:Le.t(`landing.${n[2]?"adminFunction":"studentFunction"}`),type:d8.Main_400})})]}),K.jsx("p",{dangerouslySetInnerHTML:{__html:Zr.sanitize(n[1])}})]}),K.jsx("div",{className:"header-right info",children:K.jsx("img",{src:t,alt:"logo",className:`${s}`})})]},l)},i=[JM,XM,$M];return K.jsx("div",{className:"mod-login-container bottom",children:K.jsxs("div",{className:"mod-login bottom",children:[K.jsx("h1",{children:Le.t("landing.works")}),Le.translations[Le.locale].landing.info.map((n,t)=>r(n,i[t],t)),K.jsx("div",{className:"landing-footer",children:K.jsx("p",{dangerouslySetInnerHTML:{__html:Zr.sanitize(Le.t("landing.footer"))}})})]})})},db=()=>{const r=()=>{const i=window.location.origin;window.location.href=`${i}/Shibboleth.sso/Login?target=/`};return K.jsxs("div",{className:"top-container",children:[K.jsx("div",{className:"mod-login-container",children:K.jsxs("div",{className:"mod-login",children:[K.jsxs("div",{className:"header-left",children:[K.jsx("h1",{className:"header-title",dangerouslySetInnerHTML:{__html:Zr.sanitize(Le.t("landing.header.title"))}}),K.jsx(Zs,{onClick:()=>r(),txt:Le.t("landing.header.login"),type:Oi.Primary,size:D2.Full}),K.jsx("p",{className:"sup",dangerouslySetInnerHTML:{__html:Zr.sanitize(Le.t("landing.header.sup"))}})]}),K.jsx("div",{className:"header-right",children:K.jsx(p9,{})})]})}),K.jsx(eA,{})]})},tA=({title:r,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},r?y.createElement("title",{id:i},r):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}))),nA=y.forwardRef(tA);function rA({name:r,onClick:i,activeTab:n,className:t="",label:l,Icon:s,notifier:c,readOnly:d,busy:h}){const m=()=>{d||i(r)};t+=` tab ${r}`,n===r&&(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=K.jsx(lS,{value:g,small:!0})}return K.jsxs("div",{className:t,onClick:m,children:[c&&K.jsx("span",{className:"notifier",children:K.jsx(nA,{})}),K.jsxs("button",{className:"tab-label",children:[s&&K.jsx(s,{}),l,v]})]})}const aA=({children:r,className:i,activeTab:n,tabChanged:t})=>{const l=r.filter(s=>s);return r.some(s=>s.props&&s.props.name===n)||(n=(r[0]||{props:{name:n}}).props.name),K.jsxs(K.Fragment,{children:[K.jsx("div",{className:"tabs-container",children:K.jsx("div",{className:`tabs ${i||""}`,children:l.map(s=>{const{label:c,name:d,notifier:h,readOnly:m}=s.props;return K.jsx(rA,{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})]})},iA=({obj:r,children:i})=>{const[n,t]=y.useState(!1),l=()=>{t(!0),setTimeout(()=>t(!1),2250)};return K.jsx("div",{className:"unit-header-container",children:K.jsxs("div",{className:"unit-header",children:[K.jsx("div",{className:`image ${r.style||""} ${n?"animated":""}`,onClick:l,children:K.jsx(p9,{})}),K.jsxs("div",{className:"obj-name",children:[K.jsx("h1",{children:r.name}),r.description,i]})]})})},lA=({children:r,className:i=""})=>K.jsx("div",{className:`page ${i}`,children:r}),oA=({title:r,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},r?y.createElement("title",{id:i},r):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"}))),sA=y.forwardRef(oA),uA=({proceed:r})=>{const[i,n]=y.useState(!1),[t,l]=y.useState(!1),[s,c]=y.useState(""),{setFlash:d}=Hn(m=>m),h=m=>{c(m),bM(m).then(v=>{d(Le.t("verification.flash",{name:`${v.firstName} ${v.lastName}`})),Hn.setState(()=>({controlCode:v})),n(!1),c(""),l(!1),r()}).catch(()=>{n(!0),setTimeout(()=>n(!1),20),l(!0)})};return K.jsxs("div",{className:"verification",children:[K.jsx("h4",{children:Le.t("verification.header")}),K.jsxs("div",{className:"code-validation",children:[K.jsx(h8,{verify:m=>h(m),size:5,clear:i,intermediateCallback:()=>l(!1),validate:m=>!isNaN(m)}),K.jsx(Zs,{txt:Le.t("verification.proceed"),disabled:!0,onClick:()=>!0})]}),t&&K.jsx(fS,{message:Le.t("verification.error",{code:s})}),K.jsxs("div",{className:"disclaimer",children:[K.jsx(sA,{}),K.jsx("p",{children:Le.t("verification.info")})]})]})};function m9(r){var i,n,t="";if(typeof r=="string"||typeof r=="number")t+=r;else if(typeof r=="object")if(Array.isArray(r)){var l=r.length;for(i=0;i<l;i++)r[i]&&(n=m9(r[i]))&&(t&&(t+=" "),t+=n)}else for(n in r)r[n]&&(t&&(t+=" "),t+=n);return t}function Nn(){for(var r,i,n=0,t="",l=arguments.length;n<l;n++)(r=arguments[n])&&(i=m9(r))&&(t&&(t+=" "),t+=i);return t}function ye(r){const i=Object.prototype.toString.call(r);return r instanceof Date||typeof r=="object"&&i==="[object Date]"?new r.constructor(+r):typeof r=="number"||i==="[object Number]"||typeof r=="string"||i==="[object String]"?new Date(r):new Date(NaN)}function bt(r,i){return r instanceof Date?new r.constructor(i):new Date(i)}function Qr(r,i){const n=ye(r);return isNaN(i)?bt(r,NaN):(i&&n.setDate(n.getDate()+i),n)}function Jr(r,i){const n=ye(r);if(isNaN(i))return bt(r,NaN);if(!i)return n;const t=n.getDate(),l=bt(r,n.getTime());l.setMonth(n.getMonth()+i+1,0);const s=l.getDate();return t>=s?l:(n.setFullYear(l.getFullYear(),l.getMonth(),t),n)}function Z2(r,i){const n=+ye(r);return bt(r,n+i)}const v9=6048e5,cA=864e5,gf=6e4,yf=36e5,fA=1e3;function dA(r,i){return Z2(r,i*yf)}let hA={};function Dl(){return hA}function $a(r,i){var d,h,m,v;const n=Dl(),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=ye(r),s=l.getDay(),c=(s<t?7:0)+s-t;return l.setDate(l.getDate()-c),l.setHours(0,0,0,0),l}function bo(r){return $a(r,{weekStartsOn:1})}function g9(r){const i=ye(r),n=i.getFullYear(),t=bt(r,0);t.setFullYear(n+1,0,4),t.setHours(0,0,0,0);const l=bo(t),s=bt(r,0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);const c=bo(s);return i.getTime()>=l.getTime()?n+1:i.getTime()>=c.getTime()?n:n-1}function bl(r){const i=ye(r);return i.setHours(0,0,0,0),i}function Ic(r){const i=ye(r),n=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()));return n.setUTCFullYear(i.getFullYear()),+r-+n}function _o(r,i){const n=bl(r),t=bl(i),l=+n-Ic(n),s=+t-Ic(t);return Math.round((l-s)/cA)}function pA(r){const i=g9(r),n=bt(r,0);return n.setFullYear(i,0,4),n.setHours(0,0,0,0),bo(n)}function s2(r,i){return Z2(r,i*gf)}function Q2(r,i){const n=i*3;return Jr(r,n)}function mA(r,i){return Z2(r,i*1e3)}function Fc(r,i){const n=i*7;return Qr(r,n)}function Za(r,i){return Jr(r,i*12)}function hb(r){let i;return r.forEach(function(n){const t=ye(n);(i===void 0||i<t||isNaN(Number(t)))&&(i=t)}),i||new Date(NaN)}function pb(r){let i;return r.forEach(n=>{const t=ye(n);(!i||i>t||isNaN(+t))&&(i=t)}),i||new Date(NaN)}function vA(r,i){const n=bl(r),t=bl(i);return+n==+t}function Qa(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function Gc(r){if(!Qa(r)&&typeof r!="number")return!1;const i=ye(r);return!isNaN(Number(i))}function Wc(r,i){const n=ye(r),t=ye(i),l=n.getFullYear()-t.getFullYear(),s=n.getMonth()-t.getMonth();return l*12+s}function hl(r){const i=ye(r);return Math.trunc(i.getMonth()/3)+1}function Vc(r,i){const n=ye(r),t=ye(i),l=n.getFullYear()-t.getFullYear(),s=hl(n)-hl(t);return l*4+s}function Zc(r,i){const n=ye(r),t=ye(i);return n.getFullYear()-t.getFullYear()}function gA(r,i){const n=ye(r),t=ye(i),l=mb(n,t),s=Math.abs(_o(n,t));n.setDate(n.getDate()-l*s);const c=+(mb(n,t)===-l),d=l*(s-c);return d===0?0:d}function mb(r,i){const n=r.getFullYear()-i.getFullYear()||r.getMonth()-i.getMonth()||r.getDate()-i.getDate()||r.getHours()-i.getHours()||r.getMinutes()-i.getMinutes()||r.getSeconds()-i.getSeconds()||r.getMilliseconds()-i.getMilliseconds();return n<0?-1:n>0?1:n}function y9(r){const i=ye(r);return i.setHours(23,59,59,999),i}function b9(r){const i=ye(r),n=i.getMonth();return i.setFullYear(i.getFullYear(),n+1,0),i.setHours(23,59,59,999),i}function u2(r){const i=ye(r),n=i.getMonth(),t=n-n%3;return i.setMonth(t,1),i.setHours(0,0,0,0),i}function _9(r){const i=ye(r);return i.setDate(1),i.setHours(0,0,0,0),i}function w9(r){const i=ye(r),n=i.getFullYear();return i.setFullYear(n+1,0,0),i.setHours(23,59,59,999),i}function bf(r){const i=ye(r),n=bt(r,0);return n.setFullYear(i.getFullYear(),0,1),n.setHours(0,0,0,0),n}function yA(r,i){var d,h;const n=Dl(),t=n.weekStartsOn??((h=(d=n.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??0,l=ye(r),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 bA={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"}},_A=(r,i,n)=>{let t;const l=bA[r];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 Dm(r){return(i={})=>{const n=i.width?String(i.width):r.defaultWidth;return r.formats[n]||r.formats[r.defaultWidth]}}const wA={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},EA={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},SA={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},DA={date:Dm({formats:wA,defaultWidth:"full"}),time:Dm({formats:EA,defaultWidth:"full"}),dateTime:Dm({formats:SA,defaultWidth:"full"})},TA={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},xA=(r,i,n,t)=>TA[r];function Us(r){return(i,n)=>{const t=n!=null&&n.context?String(n.context):"standalone";let l;if(t==="formatting"&&r.formattingValues){const c=r.defaultFormattingWidth||r.defaultWidth,d=n!=null&&n.width?String(n.width):c;l=r.formattingValues[d]||r.formattingValues[c]}else{const c=r.defaultWidth,d=n!=null&&n.width?String(n.width):r.defaultWidth;l=r.values[d]||r.values[c]}const s=r.argumentCallback?r.argumentCallback(i):i;return l[s]}}const OA={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},MA={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},AA={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"]},CA={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"]},RA={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"}},NA={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"}},kA=(r,i)=>{const n=Number(r),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"},LA={ordinalNumber:kA,era:Us({values:OA,defaultWidth:"wide"}),quarter:Us({values:MA,defaultWidth:"wide",argumentCallback:r=>r-1}),month:Us({values:AA,defaultWidth:"wide"}),day:Us({values:CA,defaultWidth:"wide"}),dayPeriod:Us({values:RA,defaultWidth:"wide",formattingValues:NA,defaultFormattingWidth:"wide"})};function Ps(r){return(i,n={})=>{const t=n.width,l=t&&r.matchPatterns[t]||r.matchPatterns[r.defaultMatchWidth],s=i.match(l);if(!s)return null;const c=s[0],d=t&&r.parsePatterns[t]||r.parsePatterns[r.defaultParseWidth],h=Array.isArray(d)?HA(d,g=>g.test(c)):qA(d,g=>g.test(c));let m;m=r.valueCallback?r.valueCallback(h):h,m=n.valueCallback?n.valueCallback(m):m;const v=i.slice(c.length);return{value:m,rest:v}}}function qA(r,i){for(const n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&i(r[n]))return n}function HA(r,i){for(let n=0;n<r.length;n++)if(i(r[n]))return n}function UA(r){return(i,n={})=>{const t=i.match(r.matchPattern);if(!t)return null;const l=t[0],s=i.match(r.parsePattern);if(!s)return null;let c=r.valueCallback?r.valueCallback(s[0]):s[0];c=n.valueCallback?n.valueCallback(c):c;const d=i.slice(l.length);return{value:c,rest:d}}}const PA=/^(\d+)(th|st|nd|rd)?/i,zA=/\d+/i,YA={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},jA={any:[/^b/i,/^(a|c)/i]},BA={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},IA={any:[/1/i,/2/i,/3/i,/4/i]},FA={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},GA={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]},WA={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},VA={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]},ZA={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},QA={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}},KA={ordinalNumber:UA({matchPattern:PA,parsePattern:zA,valueCallback:r=>parseInt(r,10)}),era:Ps({matchPatterns:YA,defaultMatchWidth:"wide",parsePatterns:jA,defaultParseWidth:"any"}),quarter:Ps({matchPatterns:BA,defaultMatchWidth:"wide",parsePatterns:IA,defaultParseWidth:"any",valueCallback:r=>r+1}),month:Ps({matchPatterns:FA,defaultMatchWidth:"wide",parsePatterns:GA,defaultParseWidth:"any"}),day:Ps({matchPatterns:WA,defaultMatchWidth:"wide",parsePatterns:VA,defaultParseWidth:"any"}),dayPeriod:Ps({matchPatterns:ZA,defaultMatchWidth:"any",parsePatterns:QA,defaultParseWidth:"any"})},E9={code:"en-US",formatDistance:_A,formatLong:DA,formatRelative:xA,localize:LA,match:KA,options:{weekStartsOn:0,firstWeekContainsDate:1}};function XA(r){const i=ye(r);return _o(i,bf(i))+1}function K2(r){const i=ye(r),n=+bo(i)-+pA(i);return Math.round(n/v9)+1}function X2(r,i){var v,g,b,S;const n=ye(r),t=n.getFullYear(),l=Dl(),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??((S=(b=l.locale)==null?void 0:b.options)==null?void 0:S.firstWeekContainsDate)??1,c=bt(r,0);c.setFullYear(t+1,0,s),c.setHours(0,0,0,0);const d=$a(c,i),h=bt(r,0);h.setFullYear(t,0,s),h.setHours(0,0,0,0);const m=$a(h,i);return n.getTime()>=d.getTime()?t+1:n.getTime()>=m.getTime()?t:t-1}function $A(r,i){var d,h,m,v;const n=Dl(),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=X2(r,i),s=bt(r,0);return s.setFullYear(l,0,t),s.setHours(0,0,0,0),$a(s,i)}function S9(r,i){const n=ye(r),t=+$a(n,i)-+$A(n,i);return Math.round(t/v9)+1}function yt(r,i){const n=r<0?"-":"",t=Math.abs(r).toString().padStart(i,"0");return n+t}const Si={y(r,i){const n=r.getFullYear(),t=n>0?n:1-n;return yt(i==="yy"?t%100:t,i.length)},M(r,i){const n=r.getMonth();return i==="M"?String(n+1):yt(n+1,2)},d(r,i){return yt(r.getDate(),i.length)},a(r,i){const n=r.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(r,i){return yt(r.getHours()%12||12,i.length)},H(r,i){return yt(r.getHours(),i.length)},m(r,i){return yt(r.getMinutes(),i.length)},s(r,i){return yt(r.getSeconds(),i.length)},S(r,i){const n=i.length,t=r.getMilliseconds(),l=Math.trunc(t*Math.pow(10,n-3));return yt(l,i.length)}},oo={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},vb={G:function(r,i,n){const t=r.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(r,i,n){if(i==="yo"){const t=r.getFullYear(),l=t>0?t:1-t;return n.ordinalNumber(l,{unit:"year"})}return Si.y(r,i)},Y:function(r,i,n,t){const l=X2(r,t),s=l>0?l:1-l;if(i==="YY"){const c=s%100;return yt(c,2)}return i==="Yo"?n.ordinalNumber(s,{unit:"year"}):yt(s,i.length)},R:function(r,i){const n=g9(r);return yt(n,i.length)},u:function(r,i){const n=r.getFullYear();return yt(n,i.length)},Q:function(r,i,n){const t=Math.ceil((r.getMonth()+1)/3);switch(i){case"Q":return String(t);case"QQ":return yt(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(r,i,n){const t=Math.ceil((r.getMonth()+1)/3);switch(i){case"q":return String(t);case"qq":return yt(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(r,i,n){const t=r.getMonth();switch(i){case"M":case"MM":return Si.M(r,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(r,i,n){const t=r.getMonth();switch(i){case"L":return String(t+1);case"LL":return yt(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(r,i,n,t){const l=S9(r,t);return i==="wo"?n.ordinalNumber(l,{unit:"week"}):yt(l,i.length)},I:function(r,i,n){const t=K2(r);return i==="Io"?n.ordinalNumber(t,{unit:"week"}):yt(t,i.length)},d:function(r,i,n){return i==="do"?n.ordinalNumber(r.getDate(),{unit:"date"}):Si.d(r,i)},D:function(r,i,n){const t=XA(r);return i==="Do"?n.ordinalNumber(t,{unit:"dayOfYear"}):yt(t,i.length)},E:function(r,i,n){const t=r.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(r,i,n,t){const l=r.getDay(),s=(l-t.weekStartsOn+8)%7||7;switch(i){case"e":return String(s);case"ee":return yt(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(r,i,n,t){const l=r.getDay(),s=(l-t.weekStartsOn+8)%7||7;switch(i){case"c":return String(s);case"cc":return yt(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(r,i,n){const t=r.getDay(),l=t===0?7:t;switch(i){case"i":return String(l);case"ii":return yt(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(r,i,n){const l=r.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(r,i,n){const t=r.getHours();let l;switch(t===12?l=oo.noon:t===0?l=oo.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(r,i,n){const t=r.getHours();let l;switch(t>=17?l=oo.evening:t>=12?l=oo.afternoon:t>=4?l=oo.morning:l=oo.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(r,i,n){if(i==="ho"){let t=r.getHours()%12;return t===0&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return Si.h(r,i)},H:function(r,i,n){return i==="Ho"?n.ordinalNumber(r.getHours(),{unit:"hour"}):Si.H(r,i)},K:function(r,i,n){const t=r.getHours()%12;return i==="Ko"?n.ordinalNumber(t,{unit:"hour"}):yt(t,i.length)},k:function(r,i,n){let t=r.getHours();return t===0&&(t=24),i==="ko"?n.ordinalNumber(t,{unit:"hour"}):yt(t,i.length)},m:function(r,i,n){return i==="mo"?n.ordinalNumber(r.getMinutes(),{unit:"minute"}):Si.m(r,i)},s:function(r,i,n){return i==="so"?n.ordinalNumber(r.getSeconds(),{unit:"second"}):Si.s(r,i)},S:function(r,i){return Si.S(r,i)},X:function(r,i,n){const t=r.getTimezoneOffset();if(t===0)return"Z";switch(i){case"X":return yb(t);case"XXXX":case"XX":return ul(t);case"XXXXX":case"XXX":default:return ul(t,":")}},x:function(r,i,n){const t=r.getTimezoneOffset();switch(i){case"x":return yb(t);case"xxxx":case"xx":return ul(t);case"xxxxx":case"xxx":default:return ul(t,":")}},O:function(r,i,n){const t=r.getTimezoneOffset();switch(i){case"O":case"OO":case"OOO":return"GMT"+gb(t,":");case"OOOO":default:return"GMT"+ul(t,":")}},z:function(r,i,n){const t=r.getTimezoneOffset();switch(i){case"z":case"zz":case"zzz":return"GMT"+gb(t,":");case"zzzz":default:return"GMT"+ul(t,":")}},t:function(r,i,n){const t=Math.trunc(r.getTime()/1e3);return yt(t,i.length)},T:function(r,i,n){const t=r.getTime();return yt(t,i.length)}};function gb(r,i=""){const n=r>0?"-":"+",t=Math.abs(r),l=Math.trunc(t/60),s=t%60;return s===0?n+String(l):n+String(l)+i+yt(s,2)}function yb(r,i){return r%60===0?(r>0?"-":"+")+yt(Math.abs(r)/60,2):ul(r,i)}function ul(r,i=""){const n=r>0?"-":"+",t=Math.abs(r),l=yt(Math.trunc(t/60),2),s=yt(t%60,2);return n+l+i+s}const bb=(r,i)=>{switch(r){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"})}},D9=(r,i)=>{switch(r){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"})}},JA=(r,i)=>{const n=r.match(/(P+)(p+)?/)||[],t=n[1],l=n[2];if(!l)return bb(r,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}}",bb(t,i)).replace("{{time}}",D9(l,i))},Qc={p:D9,P:JA},eC=/^D+$/,tC=/^Y+$/,nC=["D","DD","YY","YYYY"];function T9(r){return eC.test(r)}function x9(r){return tC.test(r)}function c2(r,i,n){const t=rC(r,i,n);if(console.warn(t),nC.includes(r))throw new RangeError(t)}function rC(r,i,n){const t=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${i}\`) for formatting ${t} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const aC=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,iC=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,lC=/^'([^]*?)'?$/,oC=/''/g,sC=/[a-zA-Z]/;function _b(r,i,n){var v,g,b,S,x,A,C,N;const t=Dl(),l=(n==null?void 0:n.locale)??t.locale??E9,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??((S=(b=t.locale)==null?void 0:b.options)==null?void 0:S.firstWeekContainsDate)??1,c=(n==null?void 0:n.weekStartsOn)??((A=(x=n==null?void 0:n.locale)==null?void 0:x.options)==null?void 0:A.weekStartsOn)??t.weekStartsOn??((N=(C=t.locale)==null?void 0:C.options)==null?void 0:N.weekStartsOn)??0,d=ye(r);if(!Gc(d))throw new RangeError("Invalid time value");let h=i.match(iC).map(O=>{const j=O[0];if(j==="p"||j==="P"){const Q=Qc[j];return Q(O,l.formatLong)}return O}).join("").match(aC).map(O=>{if(O==="''")return{isToken:!1,value:"'"};const j=O[0];if(j==="'")return{isToken:!1,value:uC(O)};if(vb[j])return{isToken:!0,value:O};if(j.match(sC))throw new RangeError("Format string contains an unescaped latin alphabet character `"+j+"`");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 j=O.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&x9(j)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&T9(j))&&c2(j,i,String(r));const Q=vb[j[0]];return Q(d,j,l.localize,m)}).join("")}function uC(r){const i=r.match(lC);return i?i[1].replace(oC,"'"):r}function wb(r){return ye(r).getDate()}function cC(r){return ye(r).getDay()}function fC(r){const i=ye(r),n=i.getFullYear(),t=i.getMonth(),l=bt(r,0);return l.setFullYear(n,t+1,0),l.setHours(0,0,0,0),l.getDate()}function dC(){return Object.assign({},Dl())}function ba(r){return ye(r).getHours()}function hC(r){let n=ye(r).getDay();return n===0&&(n=7),n}function _a(r){return ye(r).getMinutes()}function Wn(r){return ye(r).getMonth()}function Ka(r){return ye(r).getSeconds()}function f2(r){return ye(r).getTime()}function $e(r){return ye(r).getFullYear()}function Ni(r,i){const n=ye(r),t=ye(i);return n.getTime()>t.getTime()}function _l(r,i){const n=ye(r),t=ye(i);return+n<+t}function pC(r,i){const n=ye(r),t=ye(i);return+n==+t}function mC(r,i){const n=i instanceof Date?bt(i,0):new i(0);return n.setFullYear(r.getFullYear(),r.getMonth(),r.getDate()),n.setHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),n}const vC=10;class O9{constructor(){_e(this,"subPriority",0)}validate(i,n){return!0}}class gC extends O9{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 yC extends O9{constructor(){super(...arguments);_e(this,"priority",vC);_e(this,"subPriority",-1)}set(n,t){return t.timestampIsSet?n:bt(n,mC(n,Date))}}class pt{run(i,n,t,l){const s=this.parse(i,n,t,l);return s?{setter:new gC(s.value,this.validate,this.set,this.priority,this.subPriority),rest:s.rest}:null}validate(i,n,t){return!0}}class bC extends pt{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 Xt={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}/},ma={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 $t(r,i){return r&&{value:i(r.value),rest:r.rest}}function Yt(r,i){const n=i.match(r);return n?{value:parseInt(n[0],10),rest:i.slice(n[0].length)}:null}function va(r,i){const n=i.match(r);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*yf+s*gf+c*fA),rest:i.slice(n[0].length)}}function M9(r){return Yt(Xt.anyDigitsSigned,r)}function Wt(r,i){switch(r){case 1:return Yt(Xt.singleDigit,i);case 2:return Yt(Xt.twoDigits,i);case 3:return Yt(Xt.threeDigits,i);case 4:return Yt(Xt.fourDigits,i);default:return Yt(new RegExp("^\\d{1,"+r+"}"),i)}}function Kc(r,i){switch(r){case 1:return Yt(Xt.singleDigitSigned,i);case 2:return Yt(Xt.twoDigitsSigned,i);case 3:return Yt(Xt.threeDigitsSigned,i);case 4:return Yt(Xt.fourDigitsSigned,i);default:return Yt(new RegExp("^-?\\d{1,"+r+"}"),i)}}function $2(r){switch(r){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 A9(r,i){const n=i>0,t=n?i:1-i;let l;if(t<=50)l=r||100;else{const s=t+50,c=Math.trunc(s/100)*100,d=r>=s%100;l=r+c-(d?100:0)}return n?l:1-l}function C9(r){return r%400===0||r%4===0&&r%100!==0}class _C extends pt{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 $t(Wt(4,n),s);case"yo":return $t(l.ordinalNumber(n,{unit:"year"}),s);default:return $t(Wt(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=A9(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 wC extends pt{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 $t(Wt(4,n),s);case"Yo":return $t(l.ordinalNumber(n,{unit:"year"}),s);default:return $t(Wt(t.length,n),s)}}validate(n,t){return t.isTwoDigitYear||t.year>0}set(n,t,l,s){const c=X2(n,s);if(l.isTwoDigitYear){const h=A9(l.year,c);return n.setFullYear(h,0,s.firstWeekContainsDate),n.setHours(0,0,0,0),$a(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),$a(n,s)}}class EC extends pt{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 Kc(t==="R"?4:t.length,n)}set(n,t,l){const s=bt(n,0);return s.setFullYear(l,0,4),s.setHours(0,0,0,0),bo(s)}}class SC extends pt{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 Kc(t==="u"?4:t.length,n)}set(n,t,l){return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}}class DC extends pt{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 Wt(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 TC extends pt{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 Wt(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 xC extends pt{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 $t(Yt(Xt.month,n),s);case"MM":return $t(Wt(2,n),s);case"Mo":return $t(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 OC extends pt{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 $t(Yt(Xt.month,n),s);case"LL":return $t(Wt(2,n),s);case"Lo":return $t(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 MC(r,i,n){const t=ye(r),l=S9(t,n)-i;return t.setDate(t.getDate()-l*7),t}class AC extends pt{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 Yt(Xt.week,n);case"wo":return l.ordinalNumber(n,{unit:"week"});default:return Wt(t.length,n)}}validate(n,t){return t>=1&&t<=53}set(n,t,l,s){return $a(MC(n,l,s),s)}}function CC(r,i){const n=ye(r),t=K2(n)-i;return n.setDate(n.getDate()-t*7),n}class RC extends pt{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 Yt(Xt.week,n);case"Io":return l.ordinalNumber(n,{unit:"week"});default:return Wt(t.length,n)}}validate(n,t){return t>=1&&t<=53}set(n,t,l){return bo(CC(n,l))}}const NC=[31,28,31,30,31,30,31,31,30,31,30,31],kC=[31,29,31,30,31,30,31,31,30,31,30,31];class LC extends pt{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 Yt(Xt.date,n);case"do":return l.ordinalNumber(n,{unit:"date"});default:return Wt(t.length,n)}}validate(n,t){const l=n.getFullYear(),s=C9(l),c=n.getMonth();return s?t>=1&&t<=kC[c]:t>=1&&t<=NC[c]}set(n,t,l){return n.setDate(l),n.setHours(0,0,0,0),n}}class qC extends pt{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 Yt(Xt.dayOfYear,n);case"Do":return l.ordinalNumber(n,{unit:"date"});default:return Wt(t.length,n)}}validate(n,t){const l=n.getFullYear();return C9(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 J2(r,i,n){var g,b,S,x;const t=Dl(),l=(n==null?void 0:n.weekStartsOn)??((b=(g=n==null?void 0:n.locale)==null?void 0:g.options)==null?void 0:b.weekStartsOn)??t.weekStartsOn??((x=(S=t.locale)==null?void 0:S.options)==null?void 0:x.weekStartsOn)??0,s=ye(r),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 Qr(s,v)}class HC extends pt{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=J2(n,l,s),n.setHours(0,0,0,0),n}}class UC extends pt{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 $t(Wt(t.length,n),c);case"eo":return $t(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=J2(n,l,s),n.setHours(0,0,0,0),n}}class PC extends pt{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 $t(Wt(t.length,n),c);case"co":return $t(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=J2(n,l,s),n.setHours(0,0,0,0),n}}function zC(r,i){const n=ye(r),t=hC(n),l=i-t;return Qr(n,l)}class YC extends pt{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 Wt(t.length,n);case"io":return l.ordinalNumber(n,{unit:"day"});case"iii":return $t(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 $t(l.day(n,{width:"narrow",context:"formatting"}),s);case"iiiiii":return $t(l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"}),s);case"iiii":default:return $t(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=zC(n,l),n.setHours(0,0,0,0),n}}class jC extends pt{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($2(l),0,0,0),n}}class BC extends pt{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($2(l),0,0,0),n}}class IC extends pt{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($2(l),0,0,0),n}}class FC extends pt{constructor(){super(...arguments);_e(this,"priority",70);_e(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,t,l){switch(t){case"h":return Yt(Xt.hour12h,n);case"ho":return l.ordinalNumber(n,{unit:"hour"});default:return Wt(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 GC extends pt{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 Yt(Xt.hour23h,n);case"Ho":return l.ordinalNumber(n,{unit:"hour"});default:return Wt(t.length,n)}}validate(n,t){return t>=0&&t<=23}set(n,t,l){return n.setHours(l,0,0,0),n}}class WC extends pt{constructor(){super(...arguments);_e(this,"priority",70);_e(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,t,l){switch(t){case"K":return Yt(Xt.hour11h,n);case"Ko":return l.ordinalNumber(n,{unit:"hour"});default:return Wt(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 VC extends pt{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 Yt(Xt.hour24h,n);case"ko":return l.ordinalNumber(n,{unit:"hour"});default:return Wt(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 ZC extends pt{constructor(){super(...arguments);_e(this,"priority",60);_e(this,"incompatibleTokens",["t","T"])}parse(n,t,l){switch(t){case"m":return Yt(Xt.minute,n);case"mo":return l.ordinalNumber(n,{unit:"minute"});default:return Wt(t.length,n)}}validate(n,t){return t>=0&&t<=59}set(n,t,l){return n.setMinutes(l,0,0),n}}class QC extends pt{constructor(){super(...arguments);_e(this,"priority",50);_e(this,"incompatibleTokens",["t","T"])}parse(n,t,l){switch(t){case"s":return Yt(Xt.second,n);case"so":return l.ordinalNumber(n,{unit:"second"});default:return Wt(t.length,n)}}validate(n,t){return t>=0&&t<=59}set(n,t,l){return n.setSeconds(l,0),n}}class KC extends pt{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 $t(Wt(t.length,n),l)}set(n,t,l){return n.setMilliseconds(l),n}}class XC extends pt{constructor(){super(...arguments);_e(this,"priority",10);_e(this,"incompatibleTokens",["t","T","x"])}parse(n,t){switch(t){case"X":return va(ma.basicOptionalMinutes,n);case"XX":return va(ma.basic,n);case"XXXX":return va(ma.basicOptionalSeconds,n);case"XXXXX":return va(ma.extendedOptionalSeconds,n);case"XXX":default:return va(ma.extended,n)}}set(n,t,l){return t.timestampIsSet?n:bt(n,n.getTime()-Ic(n)-l)}}class $C extends pt{constructor(){super(...arguments);_e(this,"priority",10);_e(this,"incompatibleTokens",["t","T","X"])}parse(n,t){switch(t){case"x":return va(ma.basicOptionalMinutes,n);case"xx":return va(ma.basic,n);case"xxxx":return va(ma.basicOptionalSeconds,n);case"xxxxx":return va(ma.extendedOptionalSeconds,n);case"xxx":default:return va(ma.extended,n)}}set(n,t,l){return t.timestampIsSet?n:bt(n,n.getTime()-Ic(n)-l)}}class JC extends pt{constructor(){super(...arguments);_e(this,"priority",40);_e(this,"incompatibleTokens","*")}parse(n){return M9(n)}set(n,t,l){return[bt(n,l*1e3),{timestampIsSet:!0}]}}class eR extends pt{constructor(){super(...arguments);_e(this,"priority",20);_e(this,"incompatibleTokens","*")}parse(n){return M9(n)}set(n,t,l){return[bt(n,l),{timestampIsSet:!0}]}}const tR={G:new bC,y:new _C,Y:new wC,R:new EC,u:new SC,Q:new DC,q:new TC,M:new xC,L:new OC,w:new AC,I:new RC,d:new LC,D:new qC,E:new HC,e:new UC,c:new PC,i:new YC,a:new jC,b:new BC,B:new IC,h:new FC,H:new GC,K:new WC,k:new VC,m:new ZC,s:new QC,S:new KC,X:new XC,x:new $C,t:new JC,T:new eR},nR=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,rR=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,aR=/^'([^]*?)'?$/,iR=/''/g,lR=/\S/,oR=/[a-zA-Z]/;function Tm(r,i,n,t){var A,C,N,O,j,Q,$,ne;const l=dC(),s=(t==null?void 0:t.locale)??l.locale??E9,c=(t==null?void 0:t.firstWeekContainsDate)??((C=(A=t==null?void 0:t.locale)==null?void 0:A.options)==null?void 0:C.firstWeekContainsDate)??l.firstWeekContainsDate??((O=(N=l.locale)==null?void 0:N.options)==null?void 0:O.firstWeekContainsDate)??1,d=(t==null?void 0:t.weekStartsOn)??((Q=(j=t==null?void 0:t.locale)==null?void 0:j.options)==null?void 0:Q.weekStartsOn)??l.weekStartsOn??((ne=($=l.locale)==null?void 0:$.options)==null?void 0:ne.weekStartsOn)??0;if(i==="")return r===""?ye(n):bt(n,NaN);const h={firstWeekContainsDate:c,weekStartsOn:d,locale:s},m=[new yC],v=i.match(rR).map(F=>{const w=F[0];if(w in Qc){const E=Qc[w];return E(F,s.formatLong)}return F}).join("").match(nR),g=[];for(let F of v){!(t!=null&&t.useAdditionalWeekYearTokens)&&x9(F)&&c2(F,i,r),!(t!=null&&t.useAdditionalDayOfYearTokens)&&T9(F)&&c2(F,i,r);const w=F[0],E=tR[w];if(E){const{incompatibleTokens:D}=E;if(Array.isArray(D)){const q=g.find(z=>D.includes(z.token)||z.token===w);if(q)throw new RangeError(`The format string mustn't contain \`${q.fullToken}\` and \`${F}\` at the same time`)}else if(E.incompatibleTokens==="*"&&g.length>0)throw new RangeError(`The format string mustn't contain \`${F}\` and any other token at the same time`);g.push({token:w,fullToken:F});const k=E.run(r,F,s.match,h);if(!k)return bt(n,NaN);m.push(k.setter),r=k.rest}else{if(w.match(oR))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");if(F==="''"?F="'":w==="'"&&(F=sR(F)),r.indexOf(F)===0)r=r.slice(F.length);else return bt(n,NaN)}}if(r.length>0&&lR.test(r))return bt(n,NaN);const b=m.map(F=>F.priority).sort((F,w)=>w-F).filter((F,w,E)=>E.indexOf(F)===w).map(F=>m.filter(w=>w.priority===F).sort((w,E)=>E.subPriority-w.subPriority)).map(F=>F[0]);let S=ye(n);if(isNaN(S.getTime()))return bt(n,NaN);const x={};for(const F of b){if(!F.validate(S,h))return bt(n,NaN);const w=F.set(S,x,h);Array.isArray(w)?(S=w[0],Object.assign(x,w[1])):S=w}return bt(n,S)}function sR(r){return r.match(aR)[1].replace(iR,"'")}function uR(r,i){const n=ye(r),t=ye(i);return n.getFullYear()===t.getFullYear()&&n.getMonth()===t.getMonth()}function cR(r,i){const n=u2(r),t=u2(i);return+n==+t}function fR(r,i){const n=ye(r),t=ye(i);return n.getFullYear()===t.getFullYear()}function Ks(r,i){const n=+ye(r),[t,l]=[+ye(i.start),+ye(i.end)].sort((s,c)=>s-c);return n>=t&&n<=l}function dR(r,i){return Qr(r,-i)}function hR(r,i){const t=gR(r);let l;if(t.date){const h=yR(t.date,2);l=bR(h.restDateString,h.year)}if(!l||isNaN(l.getTime()))return new Date(NaN);const s=l.getTime();let c=0,d;if(t.time&&(c=_R(t.time),isNaN(c)))return new Date(NaN);if(t.timezone){if(d=wR(t.timezone),isNaN(d))return new Date(NaN)}else{const h=new Date(s+c),m=new Date(0);return m.setFullYear(h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()),m.setHours(h.getUTCHours(),h.getUTCMinutes(),h.getUTCSeconds(),h.getUTCMilliseconds()),m}return new Date(s+c+d)}const wc={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},pR=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,mR=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,vR=/^([+-])(\d{2})(?::?(\d{2}))?$/;function gR(r){const i={},n=r.split(wc.dateTimeDelimiter);let t;if(n.length>2)return i;if(/:/.test(n[0])?t=n[0]:(i.date=n[0],t=n[1],wc.timeZoneDelimiter.test(i.date)&&(i.date=r.split(wc.timeZoneDelimiter)[0],t=r.substr(i.date.length,r.length))),t){const l=wc.timezone.exec(t);l?(i.time=t.replace(l[1],""),i.timezone=l[1]):i.time=t}return i}function yR(r,i){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+i)+"})|(\\d{2}|[+-]\\d{"+(2+i)+"})$)"),t=r.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:r.slice((t[1]||t[2]).length)}}function bR(r,i){if(i===null)return new Date(NaN);const n=r.match(pR);if(!n)return new Date(NaN);const t=!!n[4],l=zs(n[1]),s=zs(n[2])-1,c=zs(n[3]),d=zs(n[4]),h=zs(n[5])-1;if(t)return xR(i,d,h)?ER(i,d,h):new Date(NaN);{const m=new Date(0);return!DR(i,s,c)||!TR(i,l)?new Date(NaN):(m.setUTCFullYear(i,s,Math.max(l,c)),m)}}function zs(r){return r?parseInt(r):1}function _R(r){const i=r.match(mR);if(!i)return NaN;const n=xm(i[1]),t=xm(i[2]),l=xm(i[3]);return OR(n,t,l)?n*yf+t*gf+l*1e3:NaN}function xm(r){return r&&parseFloat(r.replace(",","."))||0}function wR(r){if(r==="Z")return 0;const i=r.match(vR);if(!i)return 0;const n=i[1]==="+"?-1:1,t=parseInt(i[2]),l=i[3]&&parseInt(i[3])||0;return MR(t,l)?n*(t*yf+l*gf):NaN}function ER(r,i,n){const t=new Date(0);t.setUTCFullYear(r,0,4);const l=t.getUTCDay()||7,s=(i-1)*7+n+1-l;return t.setUTCDate(t.getUTCDate()+s),t}const SR=[31,null,31,30,31,30,31,31,30,31,30,31];function R9(r){return r%400===0||r%4===0&&r%100!==0}function DR(r,i,n){return i>=0&&i<=11&&n>=1&&n<=(SR[i]||(R9(r)?29:28))}function TR(r,i){return i>=1&&i<=(R9(r)?366:365)}function xR(r,i,n){return i>=1&&i<=53&&n>=0&&n<=6}function OR(r,i,n){return r===24?i===0&&n===0:n>=0&&n<60&&i>=0&&i<60&&r>=0&&r<25}function MR(r,i){return i>=0&&i<=59}function or(r,i){const n=ye(r),t=n.getFullYear(),l=n.getDate(),s=bt(r,0);s.setFullYear(t,i,15),s.setHours(0,0,0,0);const c=fC(s);return n.setMonth(i,Math.min(l,c)),n}function AR(r,i){let n=ye(r);return isNaN(+n)?bt(r,NaN):(i.year!=null&&n.setFullYear(i.year),i.month!=null&&(n=or(n,i.month)),i.date!=null&&n.setDate(i.date),i.hours!=null&&n.setHours(i.hours),i.minutes!=null&&n.setMinutes(i.minutes),i.seconds!=null&&n.setSeconds(i.seconds),i.milliseconds!=null&&n.setMilliseconds(i.milliseconds),n)}function Nc(r,i){const n=ye(r);return n.setHours(i),n}function kc(r,i){const n=ye(r);return n.setMinutes(i),n}function so(r,i){const n=ye(r),t=Math.trunc(n.getMonth()/3)+1,l=i-t;return or(n,n.getMonth()+l*3)}function Lc(r,i){const n=ye(r);return n.setSeconds(i),n}function ha(r,i){const n=ye(r);return isNaN(+n)?bt(r,NaN):(n.setFullYear(i),n)}function pl(r,i){return Jr(r,-i)}function N9(r,i){return Q2(r,-i)}function Eb(r,i){return Fc(r,-i)}function wo(r,i){return Za(r,-i)}function CR(){return typeof window<"u"}function k9(r){var i;return(r==null||(i=r.ownerDocument)==null?void 0:i.defaultView)||window}function Ec(r){return CR()?r instanceof Element||r instanceof k9(r).Element:!1}function RR(r){return k9(r).getComputedStyle(r)}const d2=Math.min,co=Math.max,Xc=Math.round,Sc=Math.floor,wa=r=>({x:r,y:r});function _f(){return typeof window<"u"}function No(r){return L9(r)?(r.nodeName||"").toLowerCase():"#document"}function ur(r){var i;return(r==null||(i=r.ownerDocument)==null?void 0:i.defaultView)||window}function xa(r){var i;return(i=(L9(r)?r.ownerDocument:r.document)||window.document)==null?void 0:i.documentElement}function L9(r){return _f()?r instanceof Node||r instanceof ur(r).Node:!1}function ea(r){return _f()?r instanceof Element||r instanceof ur(r).Element:!1}function Sa(r){return _f()?r instanceof HTMLElement||r instanceof ur(r).HTMLElement:!1}function Sb(r){return!_f()||typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof ur(r).ShadowRoot}function ou(r){const{overflow:i,overflowX:n,overflowY:t,display:l}=ta(r);return/auto|scroll|overlay|hidden|clip/.test(i+t+n)&&!["inline","contents"].includes(l)}function NR(r){return["table","td","th"].includes(No(r))}function wf(r){return[":popover-open",":modal"].some(i=>{try{return r.matches(i)}catch{return!1}})}function ev(r){const i=tv(),n=ea(r)?ta(r):r;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 kR(r){let i=ki(r);for(;Sa(i)&&!Eo(i);){if(ev(i))return i;if(wf(i))return null;i=ki(i)}return null}function tv(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Eo(r){return["html","body","#document"].includes(No(r))}function ta(r){return ur(r).getComputedStyle(r)}function Ef(r){return ea(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function ki(r){if(No(r)==="html")return r;const i=r.assignedSlot||r.parentNode||Sb(r)&&r.host||xa(r);return Sb(i)?i.host:i}function q9(r){const i=ki(r);return Eo(i)?r.ownerDocument?r.ownerDocument.body:r.body:Sa(i)&&ou(i)?i:q9(i)}function Xs(r,i,n){var t;i===void 0&&(i=[]),n===void 0&&(n=!0);const l=q9(r),s=l===((t=r.ownerDocument)==null?void 0:t.body),c=ur(l);if(s){const d=h2(c);return i.concat(c,c.visualViewport||[],ou(l)?l:[],d&&n?Xs(d):[])}return i.concat(l,Xs(l,[],n))}function h2(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function H9(r){const i=ta(r);let n=parseFloat(i.width)||0,t=parseFloat(i.height)||0;const l=Sa(r),s=l?r.offsetWidth:n,c=l?r.offsetHeight:t,d=Xc(n)!==s||Xc(t)!==c;return d&&(n=s,t=c),{width:n,height:t,$:d}}function nv(r){return ea(r)?r:r.contextElement}function fo(r){const i=nv(r);if(!Sa(i))return wa(1);const n=i.getBoundingClientRect(),{width:t,height:l,$:s}=H9(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 LR=wa(0);function U9(r){const i=ur(r);return!tv()||!i.visualViewport?LR:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function qR(r,i,n){return i===void 0&&(i=!1),!n||i&&n!==ur(r)?!1:i}function wl(r,i,n,t){i===void 0&&(i=!1),n===void 0&&(n=!1);const l=r.getBoundingClientRect(),s=nv(r);let c=wa(1);i&&(t?ea(t)&&(c=fo(t)):c=fo(r));const d=qR(s,n,t)?U9(s):wa(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 b=ur(s),S=t&&ea(t)?ur(t):t;let x=b,A=h2(x);for(;A&&t&&S!==x;){const C=fo(A),N=A.getBoundingClientRect(),O=ta(A),j=N.left+(A.clientLeft+parseFloat(O.paddingLeft))*C.x,Q=N.top+(A.clientTop+parseFloat(O.paddingTop))*C.y;h*=C.x,m*=C.y,v*=C.x,g*=C.y,h+=j,m+=Q,x=ur(A),A=h2(x)}}return vo({width:v,height:g,x:h,y:m})}function rv(r,i){const n=Ef(r).scrollLeft;return i?i.left+n:wl(xa(r)).left+n}function P9(r,i,n){n===void 0&&(n=!1);const t=r.getBoundingClientRect(),l=t.left+i.scrollLeft-(n?0:rv(r,t)),s=t.top+i.scrollTop;return{x:l,y:s}}function HR(r){let{elements:i,rect:n,offsetParent:t,strategy:l}=r;const s=l==="fixed",c=xa(t),d=i?wf(i.floating):!1;if(t===c||d&&s)return n;let h={scrollLeft:0,scrollTop:0},m=wa(1);const v=wa(0),g=Sa(t);if((g||!g&&!s)&&((No(t)!=="body"||ou(c))&&(h=Ef(t)),Sa(t))){const S=wl(t);m=fo(t),v.x=S.x+t.clientLeft,v.y=S.y+t.clientTop}const b=c&&!g&&!s?P9(c,h,!0):wa(0);return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-h.scrollLeft*m.x+v.x+b.x,y:n.y*m.y-h.scrollTop*m.y+v.y+b.y}}function UR(r){return Array.from(r.getClientRects())}function PR(r){const i=xa(r),n=Ef(r),t=r.ownerDocument.body,l=co(i.scrollWidth,i.clientWidth,t.scrollWidth,t.clientWidth),s=co(i.scrollHeight,i.clientHeight,t.scrollHeight,t.clientHeight);let c=-n.scrollLeft+rv(r);const d=-n.scrollTop;return ta(t).direction==="rtl"&&(c+=co(i.clientWidth,t.clientWidth)-l),{width:l,height:s,x:c,y:d}}function zR(r,i){const n=ur(r),t=xa(r),l=n.visualViewport;let s=t.clientWidth,c=t.clientHeight,d=0,h=0;if(l){s=l.width,c=l.height;const m=tv();(!m||m&&i==="fixed")&&(d=l.offsetLeft,h=l.offsetTop)}return{width:s,height:c,x:d,y:h}}function YR(r,i){const n=wl(r,!0,i==="fixed"),t=n.top+r.clientTop,l=n.left+r.clientLeft,s=Sa(r)?fo(r):wa(1),c=r.clientWidth*s.x,d=r.clientHeight*s.y,h=l*s.x,m=t*s.y;return{width:c,height:d,x:h,y:m}}function Db(r,i,n){let t;if(i==="viewport")t=zR(r,n);else if(i==="document")t=PR(xa(r));else if(ea(i))t=YR(i,n);else{const l=U9(r);t={x:i.x-l.x,y:i.y-l.y,width:i.width,height:i.height}}return vo(t)}function z9(r,i){const n=ki(r);return n===i||!ea(n)||Eo(n)?!1:ta(n).position==="fixed"||z9(n,i)}function jR(r,i){const n=i.get(r);if(n)return n;let t=Xs(r,[],!1).filter(d=>ea(d)&&No(d)!=="body"),l=null;const s=ta(r).position==="fixed";let c=s?ki(r):r;for(;ea(c)&&!Eo(c);){const d=ta(c),h=ev(c);!h&&d.position==="fixed"&&(l=null),(s?!h&&!l:!h&&d.position==="static"&&!!l&&["absolute","fixed"].includes(l.position)||ou(c)&&!h&&z9(r,c))?t=t.filter(v=>v!==c):l=d,c=ki(c)}return i.set(r,t),t}function BR(r){let{element:i,boundary:n,rootBoundary:t,strategy:l}=r;const c=[...n==="clippingAncestors"?wf(i)?[]:jR(i,this._c):[].concat(n),t],d=c[0],h=c.reduce((m,v)=>{const g=Db(i,v,l);return m.top=co(g.top,m.top),m.right=d2(g.right,m.right),m.bottom=d2(g.bottom,m.bottom),m.left=co(g.left,m.left),m},Db(i,d,l));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function IR(r){const{width:i,height:n}=H9(r);return{width:i,height:n}}function FR(r,i,n){const t=Sa(i),l=xa(i),s=n==="fixed",c=wl(r,!0,s,i);let d={scrollLeft:0,scrollTop:0};const h=wa(0);if(t||!t&&!s)if((No(i)!=="body"||ou(l))&&(d=Ef(i)),t){const b=wl(i,!0,s,i);h.x=b.x+i.clientLeft,h.y=b.y+i.clientTop}else l&&(h.x=rv(l));const m=l&&!t&&!s?P9(l,d):wa(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 Om(r){return ta(r).position==="static"}function Tb(r,i){if(!Sa(r)||ta(r).position==="fixed")return null;if(i)return i(r);let n=r.offsetParent;return xa(r)===n&&(n=n.ownerDocument.body),n}function Y9(r,i){const n=ur(r);if(wf(r))return n;if(!Sa(r)){let l=ki(r);for(;l&&!Eo(l);){if(ea(l)&&!Om(l))return l;l=ki(l)}return n}let t=Tb(r,i);for(;t&&NR(t)&&Om(t);)t=Tb(t,i);return t&&Eo(t)&&Om(t)&&!ev(t)?n:t||kR(r)||n}const GR=async function(r){const i=this.getOffsetParent||Y9,n=this.getDimensions,t=await n(r.floating);return{reference:FR(r.reference,await i(r.floating),r.strategy),floating:{x:0,y:0,width:t.width,height:t.height}}};function WR(r){return ta(r).direction==="rtl"}const VR={convertOffsetParentRelativeRectToViewportRelativeRect:HR,getDocumentElement:xa,getClippingRect:BR,getOffsetParent:Y9,getElementRects:GR,getClientRects:UR,getDimensions:IR,getScale:fo,isElement:ea,isRTL:WR};function j9(r,i){return r.x===i.x&&r.y===i.y&&r.width===i.width&&r.height===i.height}function ZR(r,i){let n=null,t;const l=xa(r);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=r.getBoundingClientRect(),{left:v,top:g,width:b,height:S}=m;if(d||i(),!b||!S)return;const x=Sc(g),A=Sc(l.clientWidth-(v+b)),C=Sc(l.clientHeight-(g+S)),N=Sc(v),j={rootMargin:-x+"px "+-A+"px "+-C+"px "+-N+"px",threshold:co(0,d2(1,h))||1};let Q=!0;function $(ne){const F=ne[0].intersectionRatio;if(F!==h){if(!Q)return c();F?c(!1,F):t=setTimeout(()=>{c(!1,1e-7)},1e3)}F===1&&!j9(m,r.getBoundingClientRect())&&c(),Q=!1}try{n=new IntersectionObserver($,{...j,root:l.ownerDocument})}catch{n=new IntersectionObserver($,j)}n.observe(r)}return c(!0),s}function QR(r,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=nv(r),v=l||s?[...m?Xs(m):[],...Xs(i)]:[];v.forEach(N=>{l&&N.addEventListener("scroll",n,{passive:!0}),s&&N.addEventListener("resize",n)});const g=m&&d?ZR(m,n):null;let b=-1,S=null;c&&(S=new ResizeObserver(N=>{let[O]=N;O&&O.target===m&&S&&(S.unobserve(i),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var j;(j=S)==null||j.observe(i)})),n()}),m&&!h&&S.observe(m),S.observe(i));let x,A=h?wl(r):null;h&&C();function C(){const N=wl(r);A&&!j9(A,N)&&n(),A=N,x=requestAnimationFrame(C)}return n(),()=>{var N;v.forEach(O=>{l&&O.removeEventListener("scroll",n),s&&O.removeEventListener("resize",n)}),g==null||g(),(N=S)==null||N.disconnect(),S=null,h&&cancelAnimationFrame(x)}}const KR=t8,XR=e8,xb=Jb,$R=(r,i,n)=>{const t=new Map,l={platform:VR,...n},s={...l.platform,_c:t};return Xb(r,i,{...l,platform:s})};var qc=typeof document<"u"?y.useLayoutEffect:y.useEffect;function $c(r,i){if(r===i)return!0;if(typeof r!=typeof i)return!1;if(typeof r=="function"&&r.toString()===i.toString())return!0;let n,t,l;if(r&&i&&typeof r=="object"){if(Array.isArray(r)){if(n=r.length,n!==i.length)return!1;for(t=n;t--!==0;)if(!$c(r[t],i[t]))return!1;return!0}if(l=Object.keys(r),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"&&r.$$typeof)&&!$c(r[s],i[s]))return!1}return!0}return r!==r&&i!==i}function B9(r){return typeof window>"u"?1:(r.ownerDocument.defaultView||window).devicePixelRatio||1}function Ob(r,i){const n=B9(r);return Math.round(i*n)/n}function Mm(r){const i=y.useRef(r);return qc(()=>{i.current=r}),i}function JR(r){r===void 0&&(r={});const{placement:i="bottom",strategy:n="absolute",middleware:t=[],platform:l,elements:{reference:s,floating:c}={},transform:d=!0,whileElementsMounted:h,open:m}=r,[v,g]=y.useState({x:0,y:0,strategy:n,placement:i,middlewareData:{},isPositioned:!1}),[b,S]=y.useState(t);$c(b,t)||S(t);const[x,A]=y.useState(null),[C,N]=y.useState(null),O=y.useCallback(L=>{L!==ne.current&&(ne.current=L,A(L))},[]),j=y.useCallback(L=>{L!==F.current&&(F.current=L,N(L))},[]),Q=s||x,$=c||C,ne=y.useRef(null),F=y.useRef(null),w=y.useRef(v),E=h!=null,D=Mm(h),k=Mm(l),q=Mm(m),z=y.useCallback(()=>{if(!ne.current||!F.current)return;const L={placement:i,strategy:n,middleware:b};k.current&&(L.platform=k.current),$R(ne.current,F.current,L).then(J=>{const R={...J,isPositioned:q.current!==!1};B.current&&!$c(w.current,R)&&(w.current=R,C8.flushSync(()=>{g(R)}))})},[b,i,n,k,q]);qc(()=>{m===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,g(L=>({...L,isPositioned:!1})))},[m]);const B=y.useRef(!1);qc(()=>(B.current=!0,()=>{B.current=!1}),[]),qc(()=>{if(Q&&(ne.current=Q),$&&(F.current=$),Q&&$){if(D.current)return D.current(Q,$,z);z()}},[Q,$,z,D,E]);const U=y.useMemo(()=>({reference:ne,floating:F,setReference:O,setFloating:j}),[O,j]),M=y.useMemo(()=>({reference:Q,floating:$}),[Q,$]),P=y.useMemo(()=>{const L={position:n,left:0,top:0};if(!M.floating)return L;const J=Ob(M.floating,v.x),R=Ob(M.floating,v.y);return d?{...L,transform:"translate("+J+"px, "+R+"px)",...B9(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:J,top:R}},[n,d,M.floating,v.x,v.y]);return y.useMemo(()=>({...v,update:z,refs:U,elements:M,floatingStyles:P}),[v,z,U,M,P])}const eN=r=>{function i(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:r,fn(n){const{element:t,padding:l}=typeof r=="function"?r(n):r;return t&&i(t)?t.current!=null?xb({element:t.current,padding:l}).fn(n):{}:t?xb({element:t,padding:l}).fn(n):{}}}},tN=(r,i)=>({...KR(r),options:[r,i]}),nN=(r,i)=>({...XR(r),options:[r,i]}),rN=(r,i)=>({...eN(r),options:[r,i]}),I9={...uE},aN=I9.useInsertionEffect,iN=aN||(r=>r());function lN(r){const i=y.useRef(()=>{});return iN(()=>{i.current=r}),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 Jc=typeof document<"u"?y.useLayoutEffect:y.useEffect;let Mb=!1,oN=0;const Ab=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+oN++;function sN(){const[r,i]=y.useState(()=>Mb?Ab():void 0);return Jc(()=>{r==null&&i(Ab())},[]),y.useEffect(()=>{Mb=!0},[]),r}const uN=I9.useId,F9=uN||sN,cN=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:b,d:S,style:{transform:x,...A}={},...C}=i,N=F9(),[O,j]=y.useState(!1);if(Jc(()=>{if(!l)return;RR(l).direction==="rtl"&&j(!0)},[l]),!l)return null;const[Q,$]=t.split("-"),ne=Q==="top"||Q==="bottom";let F=g;(ne&&c!=null&&c.x||!ne&&c!=null&&c.y)&&(F=null);const w=v*2,E=w/2,D=d/2*(m/-8+1),k=h/2*m/4,q=!!S,z=F&&$==="end"?"bottom":"top";let B=F&&$==="end"?"right":"left";F&&O&&(B=$==="end"?"left":"right");const U=(s==null?void 0:s.x)!=null?F||s.x:"",M=(s==null?void 0:s.y)!=null?F||s.y:"",P=S||"M0,0"+(" H"+d)+(" L"+(d-D)+","+(h-k))+(" Q"+d/2+","+h+" "+D+","+(h-k))+" Z",L={top:q?"rotate(180deg)":"",left:q?"rotate(90deg)":"rotate(-90deg)",bottom:q?"":"rotate(180deg)",right:q?"rotate(-90deg)":"rotate(90deg)"}[Q];return K.jsxs("svg",{...C,"aria-hidden":!0,ref:n,width:q?d:d+w,height:d,viewBox:"0 0 "+d+" "+(h>d?h:d),style:{position:"absolute",pointerEvents:"none",[B]:U,[z]:M,[Q]:ne||q?"100%":"calc(100% - "+w/2+"px)",transform:[L,x].filter(J=>!!J).join(" "),...A},children:[w>0&&K.jsx("path",{clipPath:"url(#"+N+")",fill:"none",stroke:b,strokeWidth:w+(S?0:1),d:P}),K.jsx("path",{stroke:w&&!S?C.fill:"none",d:P}),K.jsx("clipPath",{id:N,children:K.jsx("rect",{x:-E,y:E*(q?-1:1),width:d+w,height:d})})]})});function fN(){const r=new Map;return{emit(i,n){var t;(t=r.get(i))==null||t.forEach(l=>l(n))},on(i,n){r.set(i,[...r.get(i)||[],n])},off(i,n){var t;r.set(i,((t=r.get(i))==null?void 0:t.filter(l=>l!==n))||[])}}}const dN=y.createContext(null),hN=y.createContext(null),pN=()=>{var r;return((r=y.useContext(dN))==null?void 0:r.id)||null},mN=()=>y.useContext(hN);function vN(r){const{open:i=!1,onOpenChange:n,elements:t}=r,l=F9(),s=y.useRef({}),[c]=y.useState(()=>fN()),d=pN()!=null,[h,m]=y.useState(t.reference),v=lN((S,x,A)=>{s.current.openEvent=S?x:void 0,c.emit("openchange",{open:S,event:x,reason:A,nested:d}),n==null||n(S,x,A)}),g=y.useMemo(()=>({setPositionReference:m}),[]),b=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:b,events:c,floatingId:l,refs:g}),[i,v,b,c,l,g])}function gN(r){r===void 0&&(r={});const{nodeId:i}=r,n=vN({...r,elements:{reference:null,floating:null,...r.elements}}),t=r.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),b=mN();Jc(()=>{v&&(g.current=v)},[v]);const S=JR({...r,elements:{...l,...d&&{reference:d}}}),x=y.useCallback(j=>{const Q=Ec(j)?{getBoundingClientRect:()=>j.getBoundingClientRect(),contextElement:j}:j;h(Q),S.refs.setReference(Q)},[S.refs]),A=y.useCallback(j=>{(Ec(j)||j===null)&&(g.current=j,c(j)),(Ec(S.refs.reference.current)||S.refs.reference.current===null||j!==null&&!Ec(j))&&S.refs.setReference(j)},[S.refs]),C=y.useMemo(()=>({...S.refs,setReference:A,setPositionReference:x,domReference:g}),[S.refs,A,x]),N=y.useMemo(()=>({...S.elements,domReference:v}),[S.elements,v]),O=y.useMemo(()=>({...S,...t,refs:C,elements:N,nodeId:i}),[S,C,N,i,t]);return Jc(()=>{t.dataRef.current.floatingContext=O;const j=b==null?void 0:b.nodesRef.current.find(Q=>Q.id===i);j&&(j.context=O)}),y.useMemo(()=>({...S,context:O,refs:C,elements:N}),[S,C,N,O])}/*!
  react-datepicker v7.6.0
  https://github.com/Hacker0x01/react-datepicker
  Released under the MIT License.
*/var p2=function(i,n){return p2=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])},p2(i,n)};function Tn(r,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");p2(r,i);function n(){this.constructor=r}r.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)}var ft=function(){return ft=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},ft.apply(this,arguments)};function ga(r,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 r.concat(s||Array.prototype.slice.call(i))}var yN=function(r){var i=r.showTimeSelectOnly,n=i===void 0?!1:i,t=r.showTime,l=t===void 0?!1:t,s=r.className,c=r.children,d=n?"Choose Time":"Choose Date".concat(l?" and Time":"");return G.createElement("div",{className:s,role:"dialog","aria-label":d,"aria-modal":"true"},c)},bN=function(r,i){var n=y.useRef(null),t=y.useRef(r);t.current=r;var l=y.useCallback(function(s){var c;n.current&&!n.current.contains(s.target)&&(i&&s.target instanceof HTMLElement&&s.target.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},Sf=function(r){var i=r.children,n=r.onClickOutside,t=r.className,l=r.containerRef,s=r.style,c=r.ignoreClass,d=bN(n,c);return G.createElement("div",{className:t,style:s,ref:function(h){d.current=h,l&&(l.current=h)}},i)},ve;(function(r){r.ArrowUp="ArrowUp",r.ArrowDown="ArrowDown",r.ArrowLeft="ArrowLeft",r.ArrowRight="ArrowRight",r.PageUp="PageUp",r.PageDown="PageDown",r.Home="Home",r.End="End",r.Enter="Enter",r.Space=" ",r.Tab="Tab",r.Escape="Escape",r.Backspace="Backspace",r.X="x"})(ve||(ve={}));function G9(){var r=typeof window<"u"?window:globalThis;return r}var su=12,_N=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;function _t(r){if(r==null)return new Date;var i=typeof r=="string"?hR(r):ye(r);return Ga(i)?i:new Date}function Am(r,i,n,t,l){var s,c=null,d=ml(n)||ml(Ws()),h=!0;if(Array.isArray(i))return i.forEach(function(v){var g=Tm(r,v,new Date,{locale:d,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});t&&(h=Ga(g,l)&&r===Lt(g,v,n)),Ga(g,l)&&h&&(c=g)}),c;if(c=Tm(r,i,new Date,{locale:d,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0}),t)h=Ga(c)&&r===Lt(c,i,n);else if(!Ga(c)){var m=((s=i.match(_N))!==null&&s!==void 0?s:[]).map(function(v){var g=v[0];if(g==="p"||g==="P"){var b=Qc[g];return d?b(v,d.formatLong):g}return v}).join("");r.length>0&&(c=Tm(r,m.slice(0,r.length),new Date,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})),Ga(c)||(c=new Date(r))}return Ga(c)&&h?c:null}function Ga(r,i){return Gc(r)&&!_l(r,i??new Date("1/1/1800"))}function Lt(r,i,n){if(n==="en")return _b(r,i,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var t=n?ml(n):void 0;return n&&!t&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!t&&Ws()&&ml(Ws())&&(t=ml(Ws())),_b(r,i,{locale:t,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function Mr(r,i){var n=i.dateFormat,t=i.locale,l=Array.isArray(n)&&n.length>0?n[0]:n;return r&&Lt(r,l,t)||""}function wN(r,i,n){if(!r)return"";var t=Mr(r,n),l=i?Mr(i,n):"";return"".concat(t," - ").concat(l)}function EN(r,i){if(!(r!=null&&r.length))return"";var n=r[0]?Mr(r[0],i):"";if(r.length===1)return n;if(r.length===2&&r[1]){var t=Mr(r[1],i);return"".concat(n,", ").concat(t)}var l=r.length-1;return"".concat(n," (+").concat(l,")")}function Cm(r,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 Nc(kc(Lc(r,d),s),t)}function SN(r){return K2(r)}function DN(r,i){return Lt(r,"ddd",i)}function Hc(r){return bl(r)}function Ai(r,i,n){var t=ml(i||Ws());return $a(r,{locale:t,weekStartsOn:n})}function Xa(r){return _9(r)}function Fs(r){return bf(r)}function Cb(r){return u2(r)}function Rb(){return bl(_t())}function Nb(r){return y9(r)}function TN(r){return yA(r)}function xN(r){return b9(r)}function pa(r,i){return r&&i?fR(r,i):!r&&!i}function Gn(r,i){return r&&i?uR(r,i):!r&&!i}function ef(r,i){return r&&i?cR(r,i):!r&&!i}function ut(r,i){return r&&i?vA(r,i):!r&&!i}function fl(r,i){return r&&i?pC(r,i):!r&&!i}function Gs(r,i,n){var t,l=bl(i),s=y9(n);try{t=Ks(r,{start:l,end:s})}catch{t=!1}return t}function Ws(){var r=G9();return r.__localeId__}function ml(r){if(typeof r=="string"){var i=G9();return i.__localeData__?i.__localeData__[r]:void 0}else return r}function ON(r,i,n){return i(Lt(r,"EEEE",n))}function MN(r,i){return Lt(r,"EEEEEE",i)}function AN(r,i){return Lt(r,"EEE",i)}function av(r,i){return Lt(or(_t(),r),"LLLL",i)}function W9(r,i){return Lt(or(_t(),r),"LLL",i)}function CN(r,i){return Lt(so(_t(),r),"QQQ",i)}function Ar(r,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 uu(r,{minDate:t,maxDate:l})||s&&s.some(function(v){return v instanceof Date?ut(r,v):ut(r,v.date)})||c&&c.some(function(v){var g=v.start,b=v.end;return Ks(r,{start:g,end:b})})||d&&!d.some(function(v){return ut(r,v)})||h&&!h.some(function(v){var g=v.start,b=v.end;return Ks(r,{start:g,end:b})})||m&&!m(_t(r))||!1}function iv(r,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 Ks(r,{start:c,end:d})}):t&&t.some(function(s){var c;return s instanceof Date?ut(r,s):ut(r,(c=s.date)!==null&&c!==void 0?c:new Date)})||!1}function V9(r,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates,d=n.filterDate;return uu(r,{minDate:t?_9(t):void 0,maxDate:l?b9(l):void 0})||(s==null?void 0:s.some(function(h){return Gn(r,h instanceof Date?h:h.date)}))||c&&!c.some(function(h){return Gn(r,h)})||d&&!d(_t(r))||!1}function Dc(r,i,n,t){var l=$e(r),s=Wn(r),c=$e(i),d=Wn(i),h=$e(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 RN(r,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates;return uu(r,{minDate:t,maxDate:l})||s&&s.some(function(d){return Gn(d instanceof Date?d:d.date,r)})||c&&!c.some(function(d){return Gn(d,r)})||!1}function Tc(r,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates,d=n.filterDate;return uu(r,{minDate:t,maxDate:l})||(s==null?void 0:s.some(function(h){return ef(r,h instanceof Date?h:h.date)}))||c&&!c.some(function(h){return ef(r,h)})||d&&!d(_t(r))||!1}function xc(r,i,n){if(!i||!n||!Gc(i)||!Gc(n))return!1;var t=$e(i),l=$e(n);return t<=r&&l>=r}function Uc(r,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(r,0,1);return uu(h,{minDate:t?bf(t):void 0,maxDate:l?w9(l):void 0})||(s==null?void 0:s.some(function(m){return pa(h,m instanceof Date?m:m.date)}))||c&&!c.some(function(m){return pa(h,m)})||d&&!d(_t(h))||!1}function Oc(r,i,n,t){var l=$e(r),s=hl(r),c=$e(i),d=hl(i),h=$e(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 uu(r,i){var n,t=i===void 0?{}:i,l=t.minDate,s=t.maxDate;return(n=l&&_o(r,l)<0||s&&_o(r,s)>0)!==null&&n!==void 0?n:!1}function kb(r,i){return i.some(function(n){return ba(n)===ba(r)&&_a(n)===_a(r)&&Ka(n)===Ka(r)})}function Lb(r,i){var n=i===void 0?{}:i,t=n.excludeTimes,l=n.includeTimes,s=n.filterTime;return t&&kb(r,t)||l&&!kb(r,l)||s&&!s(r)||!1}function qb(r,i){var n=i.minTime,t=i.maxTime;if(!n||!t)throw new Error("Both minTime and maxTime props required");var l=_t();l=Nc(l,ba(r)),l=kc(l,_a(r)),l=Lc(l,Ka(r));var s=_t();s=Nc(s,ba(n)),s=kc(s,_a(n)),s=Lc(s,Ka(n));var c=_t();c=Nc(c,ba(t)),c=kc(c,_a(t)),c=Lc(c,Ka(t));var d;try{d=!Ks(l,{start:s,end:c})}catch{d=!1}return d}function Hb(r,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=pl(r,1);return t&&Wc(t,s)>0||l&&l.every(function(c){return Wc(c,s)>0})||!1}function Ub(r,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=Jr(r,1);return t&&Wc(s,t)>0||l&&l.every(function(c){return Wc(s,c)>0})||!1}function NN(r,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=bf(r),c=N9(s,1);return t&&Vc(t,c)>0||l&&l.every(function(d){return Vc(d,c)>0})||!1}function kN(r,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=w9(r),c=Q2(s,1);return t&&Vc(c,t)>0||l&&l.every(function(d){return Vc(c,d)>0})||!1}function Pb(r,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=wo(r,1);return t&&Zc(t,s)>0||l&&l.every(function(c){return Zc(c,s)>0})||!1}function LN(r,i){var n=i===void 0?{}:i,t=n.minDate,l=n.yearItemNumber,s=l===void 0?su:l,c=Fs(wo(r,s)),d=Mi(c,s).endPeriod,h=t&&$e(t);return h&&h>d||!1}function zb(r,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=Za(r,1);return t&&Zc(s,t)>0||l&&l.every(function(c){return Zc(s,c)>0})||!1}function qN(r,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.yearItemNumber,s=l===void 0?su:l,c=Za(r,s),d=Mi(c,s).startPeriod,h=t&&$e(t);return h&&h<d||!1}function Z9(r){var i=r.minDate,n=r.includeDates;if(n&&i){var t=n.filter(function(l){return _o(l,i)>=0});return pb(t)}else return n?pb(n):i}function Q9(r){var i=r.maxDate,n=r.includeDates;if(n&&i){var t=n.filter(function(l){return _o(l,i)<=0});return hb(t)}else return n?hb(n):i}function Yb(r,i){var n;r===void 0&&(r=[]),i===void 0&&(i="react-datepicker__day--highlighted");for(var t=new Map,l=0,s=r.length;l<s;l++){var c=r[l];if(Qa(c)){var d=Lt(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 b=0,S=g.length;b<S;b++){var x=g[b];if(x){var d=Lt(x,"MM.dd.yyyy"),h=t.get(d)||[];h.includes(v)||(h.push(v),t.set(d,h))}}}}return t}function HN(r,i){return r.length!==i.length?!1:r.every(function(n,t){return n===i[t]})}function UN(r,i){r===void 0&&(r=[]),i===void 0&&(i="react-datepicker__day--holidays");var n=new Map;return r.forEach(function(t){var l=t.date,s=t.holidayName;if(Qa(l)){var c=Lt(l,"MM.dd.yyyy"),d=n.get(c)||{className:"",holidayNames:[]};if(!("className"in d&&d.className===i&&HN(d.holidayNames,[s]))){d.className=i;var h=d.holidayNames;d.holidayNames=h?ga(ga([],h,!0),[s],!1):[s],n.set(c,d)}}}),n}function PN(r,i,n,t,l){for(var s=l.length,c=[],d=0;d<s;d++){var h=r,m=l[d];m&&(h=dA(h,ba(m)),h=s2(h,_a(m)),h=mA(h,Ka(m)));var v=s2(r,(n+1)*t);Ni(h,i)&&_l(h,v)&&m!=null&&c.push(m)}return c}function jb(r){return r<10?"0".concat(r):"".concat(r)}function Mi(r,i){i===void 0&&(i=su);var n=Math.ceil($e(r)/i)*i,t=n-(i-1);return{startPeriod:t,endPeriod:n}}function zN(r){var i=new Date(r.getFullYear(),r.getMonth(),r.getDate()),n=new Date(r.getFullYear(),r.getMonth(),r.getDate(),24);return Math.round((+n-+i)/36e5)}function Bb(r){var i=r.getSeconds(),n=r.getMilliseconds();return ye(r.getTime()-i*1e3-n)}function YN(r,i){return Bb(r).getTime()===Bb(i).getTime()}function Ib(r){if(!Qa(r))throw new Error("Invalid date");var i=new Date(r);return i.setHours(0,0,0,0),i}function Fb(r,i){if(!Qa(r)||!Qa(i))throw new Error("Invalid date received");var n=Ib(r),t=Ib(i);return _l(n,t)}function K9(r){return r.key===ve.Space}var jN=function(r){Tn(i,r);function i(n){var t=r.call(this,n)||this;return t.inputRef=G.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],b=v[1];m.setHours(Number(g)),m.setMinutes(Number(b))}(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}):G.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 G.createElement("div",{className:"react-datepicker__input-time-container"},G.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),G.createElement("div",{className:"react-datepicker-time__input-container"},G.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))},i}(y.Component),BN=function(r){Tn(i,r);function i(){var n=r!==null&&r.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 ut(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),Ar(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 iv(n.props.day,{excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals})},n.isStartOfWeek=function(){return ut(n.props.day,Ai(n.props.day,n.props.locale,n.props.calendarStartDay))},n.isSameWeek=function(t){return n.props.showWeekPicker&&ut(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=Lt(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=Lt(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:Gs(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,b=(t=n.props.selectingDate)!==null&&t!==void 0?t:n.props.preSelection;return!(c||d||h)||!b||!m&&n.isDisabled()?!1:c&&g&&(_l(b,g)||fl(b,g))?Gs(s,b,g):d&&v&&(Ni(b,v)||fl(b,v))||h&&v&&!g&&(Ni(b,v)||fl(b,v))?Gs(s,v,b):!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?ut(s,h):ut(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?ut(s,m):ut(s,c)},n.isRangeStart=function(){var t=n.props,l=t.day,s=t.startDate,c=t.endDate;return!s||!c?!1:ut(s,l)},n.isRangeEnd=function(){var t=n.props,l=t.day,s=t.startDate,c=t.endDate;return!s||!c?!1:ut(c,l)},n.isWeekend=function(){var t=cC(n.props.day);return t===0||t===6},n.isAfterMonth=function(){return n.props.month!==void 0&&(n.props.month+1)%12===Wn(n.props.day)},n.isBeforeMonth=function(){return n.props.month!==void 0&&(Wn(n.props.day)+1)%12===n.props.month},n.isCurrentDay=function(){return n.isSameDay(_t())},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 Nn("react-datepicker__day",l,"react-datepicker__day--"+DN(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(Lt(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=Lt(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?ut(v,l):ut(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)&&ut(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(wb(n.props.day),n.props.day):wb(n.props.day)},n.render=function(){return G.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()!==""&&G.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),IN=function(r){Tn(i,r);function i(){var n=r!==null&&r.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&&!ut(n.props.date,n.props.selected)&&ut(n.props.date,n.props.preSelection)},n.getTabIndex=function(){return n.props.showWeekPicker&&n.props.showWeekNumber&&(n.isKeyboardSelected()||ut(n.props.date,n.props.selected)&&ut(n.props.preSelection,n.props.selected))?0:-1},n.handleFocusWeekNumber=function(t){var l=!1;n.getTabIndex()===0&&!(t!=null&&t.isInputFocused)&&ut(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&&ut(this.props.date,this.props.selected)};return G.createElement("div",{ref:this.weekNumberEl,className:Nn(h),"aria-label":"".concat(c," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},t)},i}(y.Component),FN=function(r){Tn(i,r);function i(){var n=r!==null&&r.apply(this,arguments)||this;return n.isDisabled=function(t){return Ar(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 b=!n.isDisabled(g);if(b){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):SN(t)},n.isWeekDisabled=function(){for(var t=n.startOfWeek(),l=Qr(t,6),s=new Date(t);s<=l;){if(!n.isDisabled(s))return!1;s=Qr(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(G.createElement(IN,ft({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=Qr(t,d);return G.createElement(BN,ft({},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&&!ut(n.startOfWeek(),n.props.selected)&&ut(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":ut(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()};return G.createElement("div",{className:Nn(n)},this.renderDays())},i}(y.Component),Ys,GN=6,ho={TWO_COLUMNS:"two_columns",THREE_COLUMNS:"three_columns",FOUR_COLUMNS:"four_columns"},Rm=(Ys={},Ys[ho.TWO_COLUMNS]={grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2},Ys[ho.THREE_COLUMNS]={grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3},Ys[ho.FOUR_COLUMNS]={grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4},Ys),Mc=1;function Gb(r,i){return r?ho.FOUR_COLUMNS:i?ho.TWO_COLUMNS:ho.THREE_COLUMNS}var WN=function(r){Tn(i,r);function i(){var n=r!==null&&r.apply(this,arguments)||this;return n.MONTH_REFS=ga([],Array(12),!0).map(function(){return y.createRef()}),n.QUARTER_REFS=ga([],Array(4),!0).map(function(){return y.createRef()}),n.isDisabled=function(t){return Ar(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 iv(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:Gn(or(s,t),c)},n.isRangeStartQuarter=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:ef(so(s,t),c)},n.isRangeEndMonth=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:Gn(or(s,t),d)},n.isRangeEndQuarter=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:ef(so(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,b=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return!(d||h||m)||!b?!1:d&&g?Dc(b,g,t,c):h&&v||m&&v&&!g?Dc(v,b,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=or(c,t),v=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return h?Gn(m,v):Gn(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=or(c,t),g=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return h||m?Gn(v,g):Gn(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,b=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return!(d||h||m)||!b?!1:d&&g?Oc(b,g,t,c):h&&v||m&&v&&!g?Oc(v,b,t,c):!1},n.isWeekInMonth=function(t){var l=n.props.day,s=Qr(t,6);return Gn(t,l)||Gn(s,l)},n.isCurrentMonth=function(t,l){return $e(t)===$e(_t())&&l===Wn(_t())},n.isCurrentQuarter=function(t,l){return $e(t)===$e(_t())&&l===hl(_t())},n.isSelectedMonth=function(t,l,s){return Wn(s)===l&&$e(t)===$e(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 hl(t)===l&&$e(t)===$e(s)},n.renderWeeks=function(){for(var t=[],l=n.props.fixedHeight,s=0,c=!1,d=Ai(Xa(n.props.day),n.props.locale,n.props.calendarStartDay),h=function(x){return n.props.showWeekPicker?Ai(x,n.props.locale,n.props.calendarStartDay):n.props.preSelection},m=function(x){return n.props.showWeekPicker?Ai(x,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(G.createElement(FN,ft({},n.props,{ariaLabelPrefix:n.props.weekAriaLabelPrefix,key:s,day:d,month:Wn(n.props.day),onDayClick:n.handleDayClick,onDayMouseEnter:n.handleDayMouseEnter,selected:v,preSelection:g,showWeekNumber:n.props.showWeekNumbers}))),!c;){s++,d=Fc(d,1);var b=l&&s>=GN,S=!l&&!n.isWeekInMonth(d);if(b||S)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(Xa(d),t)},n.onMonthMouseEnter=function(t){var l=n.isMonthDisabledForLabelDate(t),s=l.isDisabled,c=l.labelDate;s||n.handleDayMouseEnter(Xa(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,b=d.maxDate,S=d.showFourColumnMonthYearPicker,x=d.showTwoColumnMonthYearPicker;if(m){var A=Gb(S,x),C=n.getVerticalOffset(A),N=(c=Rm[A])===null||c===void 0?void 0:c.grid,O=function(F,w,E){var D,k,q=w,z=E;switch(F){case ve.ArrowRight:q=Jr(w,Mc),z=E===11?0:E+Mc;break;case ve.ArrowLeft:q=pl(w,Mc),z=E===0?11:E-Mc;break;case ve.ArrowUp:q=pl(w,C),z=!((D=N==null?void 0:N[0])===null||D===void 0)&&D.includes(E)?E+12-C:E-C;break;case ve.ArrowDown:q=Jr(w,C),z=!((k=N==null?void 0:N[N.length-1])===null||k===void 0)&&k.includes(E)?E-12+C:E+C;break}return{newCalculatedDate:q,newCalculatedMonth:z}},j=function(F,w,E){for(var D=40,k=F,q=!1,z=0,B=O(k,w,E),U=B.newCalculatedDate,M=B.newCalculatedMonth;!q;){if(z>=D){U=w,M=E;break}if(g&&U<g){k=ve.ArrowRight;var P=O(k,U,M);U=P.newCalculatedDate,M=P.newCalculatedMonth}if(b&&U>b){k=ve.ArrowLeft;var P=O(k,U,M);U=P.newCalculatedDate,M=P.newCalculatedMonth}if(RN(U,n.props)){var P=O(k,U,M);U=P.newCalculatedDate,M=P.newCalculatedMonth}else q=!0;z++}return{newCalculatedDate:U,newCalculatedMonth:M}};if(l===ve.Enter){n.isMonthDisabled(s)||(n.onMonthClick(t,s),v==null||v(h));return}var Q=j(l,m,s),$=Q.newCalculatedDate,ne=Q.newCalculatedMonth;switch(l){case ve.ArrowRight:case ve.ArrowLeft:case ve.ArrowUp:case ve.ArrowDown:n.handleMonthNavigation(ne,$);break}}},n.getVerticalOffset=function(t){var l,s;return(s=(l=Rm[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=so(n.props.day,l);Tc(s,n.props)||n.handleDayClick(Cb(s),t)},n.onQuarterMouseEnter=function(t){var l=so(n.props.day,t);Tc(l,n.props)||n.handleDayMouseEnter(Cb(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,Q2(n.props.preSelection,1));break;case ve.ArrowLeft:if(!n.props.preSelection)break;n.handleQuarterNavigation(l===1?4:l-1,N9(n.props.preSelection,1));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=or(c,t);return{isDisabled:(l=(d||h||m||v)&&V9(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(or(s,t)):void 0,g=n.getSelection();return Nn("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?Dc(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=Wn(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=hl(n.props.preSelection),s=Tc(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=or(m,t),b=n.isDisabled(g)||n.isExcluded(g)?h:c;return"".concat(b," ").concat(Lt(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,b=l.includeDates,S=l.filterDate,x=l.preSelection,A=l.disabledKeyboardNavigation,C=(m||v||g||b||S)&&Tc(so(s,t),n.props);return Nn("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":!A&&x&&n.isSelectedQuarter(s,t,x)&&!C,"react-datepicker__quarter-text--in-selecting-range":n.isInSelectingRangeQuarter(t),"react-datepicker__quarter-text--in-range":c&&d?Oc(c,d,t,s):void 0,"react-datepicker__quarter-text--range-start":n.isRangeStartQuarter(t),"react-datepicker__quarter-text--range-end":n.isRangeEndQuarter(t)})},n.getMonthContent=function(t){var l=n.props,s=l.showFullMonthYearPicker,c=l.renderMonthContent,d=l.locale,h=l.day,m=W9(t,d),v=av(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=CN(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=Rm[Gb(c,s)])===null||t===void 0?void 0:t.grid;return m==null?void 0:m.map(function(v,g){return G.createElement("div",{className:"react-datepicker__month-wrapper",key:g},v.map(function(b,S){return G.createElement("div",{ref:n.MONTH_REFS[b],key:S,onClick:function(x){n.onMonthClick(x,b)},onKeyDown:function(x){K9(x)&&(x.preventDefault(),x.key=ve.Enter),n.onMonthKeyDown(x,b)},onMouseEnter:n.props.usePointerEvent?void 0:function(){return n.onMonthMouseEnter(b)},onPointerEnter:n.props.usePointerEvent?function(){return n.onMonthMouseEnter(b)}:void 0,tabIndex:Number(n.getTabIndex(b)),className:n.getMonthClassNames(b),"aria-disabled":n.isMonthDisabled(b),role:"option","aria-label":n.getAriaLabel(b),"aria-current":n.isCurrentMonth(d,b)?"date":void 0,"aria-selected":h?n.isSelectedMonth(d,b,h):void 0},n.getMonthContent(b))}))})},n.renderQuarters=function(){var t=n.props,l=t.day,s=t.selected,c=[1,2,3,4];return G.createElement("div",{className:"react-datepicker__quarter-wrapper"},c.map(function(d,h){return G.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 Nn("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 G.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(Lt(s,"MMMM, yyyy",this.props.locale)),role:"listbox"},t?this.renderMonths():l?this.renderQuarters():this.renderWeeks())},i}(y.Component),VN=function(r){Tn(i,r);function i(){var n=r!==null&&r.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 G.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)?G.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 G.createElement(Sf,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),ZN=function(r){Tn(i,r);function i(){var n=r!==null&&r.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(t){return t.map(function(l,s){return G.createElement("option",{key:l,value:s},l)})},n.renderSelectMode=function(t){return G.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 G.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:n.toggleDropdown},G.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),G.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},l[n.props.month]))},n.renderDropdown=function(t){return G.createElement(VN,ft({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 W9(s,n.props.locale)}:function(s){return av(s,n.props.locale)}),l;switch(this.props.dropdownMode){case"scroll":l=this.renderScrollMode(t);break;case"select":l=this.renderSelectMode(t);break}return G.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},l)},i}(y.Component);function QN(r,i){for(var n=[],t=Xa(r),l=Xa(i);!Ni(t,l);)n.push(_t(t)),t=Jr(t,1);return n}var KN=function(r){Tn(i,r);function i(n){var t=r.call(this,n)||this;return t.renderOptions=function(){return t.state.monthYearsList.map(function(l){var s=f2(l),c=pa(t.props.date,l)&&Gn(t.props.date,l);return G.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?G.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",Lt(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:QN(t.props.minDate,t.props.maxDate)},t}return i.prototype.render=function(){var n=Nn({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return G.createElement(Sf,{className:n,onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),XN=function(r){Tn(i,r);function i(){var n=r!==null&&r.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var t=Xa(n.props.minDate),l=Xa(n.props.maxDate),s=[];!Ni(t,l);){var c=f2(t);s.push(G.createElement("option",{key:c,value:c},Lt(t,n.props.dateFormat,n.props.locale))),t=Jr(t,1)}return s},n.onSelectChange=function(t){n.onChange(parseInt(t.target.value))},n.renderSelectMode=function(){return G.createElement("select",{value:f2(Xa(n.props.date)),className:"react-datepicker__month-year-select",onChange:n.onSelectChange},n.renderSelectOptions())},n.renderReadView=function(t){var l=Lt(n.props.date,n.props.dateFormat,n.props.locale);return G.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:n.toggleDropdown},G.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),G.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},l))},n.renderDropdown=function(){return G.createElement(KN,ft({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=_t(t);pa(n.props.date,l)&&Gn(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 G.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},n)},i}(y.Component),$N=function(r){Tn(i,r);function i(){var n=r!==null&&r.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)&&qb(t,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&Lb(t,n.props)||(s=(l=n.props).onChange)===null||s===void 0||s.call(l,t)},n.isSelectedTime=function(t){return n.props.selected&&YN(n.props.selected,t)},n.isDisabledTime=function(t){return(n.props.minTime||n.props.maxTime)&&qb(t,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&Lb(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&&(ba(t)*3600+_a(t)*60+Ka(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||_t(),h=Hc(d),m=n.props.injectTimes&&n.props.injectTimes.sort(function(C,N){return C.getTime()-N.getTime()}),v=60*zN(d),g=v/c,b=0;b<g;b++){var S=s2(h,b*c);if(l.push(S),m){var x=PN(h,S,b,c,m);l=l.concat(x)}}var A=l.reduce(function(C,N){return N.getTime()<=d.getTime()?N:C},l[0]);return l.map(function(C){return G.createElement("li",{key:C.valueOf(),onClick:n.handleClick.bind(n,C),className:n.liClasses(C),ref:function(N){C===A&&(n.centerLi=N)},onKeyDown:function(N){n.handleOnKeyDown(N,C)},tabIndex:C===A?0:-1,role:"option","aria-selected":n.isSelectedTime(C)?"true":void 0,"aria-disabled":n.isDisabledTime(C)?"true":void 0},Lt(C,s,n.props.locale))})},n.renderTimeCaption=function(){return n.props.showTimeCaption===!1?G.createElement(G.Fragment,null):G.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}},G.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.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 G.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(),G.createElement("div",{className:"react-datepicker__time"},G.createElement("div",{className:"react-datepicker__time-box"},G.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),Wb=3,JN=function(r){Tn(i,r);function i(n){var t=r.call(this,n)||this;return t.YEAR_REFS=ga([],Array(t.props.yearItemNumber),!0).map(function(){return y.createRef()}),t.isDisabled=function(l){return Ar(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 iv(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,b=v.yearItemNumber;if(!(g===void 0||b===void 0)){var S=Mi(g,b).startPeriod;t.isDisabled(s)||t.isExcluded(s)||((d=(c=t.props).setPreSelection)===null||d===void 0||d.call(c,s),l-S<0?t.updateFocusOnPaginate(b-(S-l)):l-S>=b?t.updateFocusOnPaginate(Math.abs(b-(l-S))):(m=(h=t.YEAR_REFS[l-S])===null||h===void 0?void 0:h.current)===null||m===void 0||m.focus())}},t.isSameDay=function(l,s){return ut(l,s)},t.isCurrentYear=function(l){return l===$e(_t())},t.isRangeStart=function(l){return t.props.startDate&&t.props.endDate&&pa(ha(_t(),l),t.props.startDate)},t.isRangeEnd=function(l){return t.props.startDate&&t.props.endDate&&pa(ha(_t(),l),t.props.endDate)},t.isInRange=function(l){return xc(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?xc(l,t.selectingDate(),v):d&&m||h&&m&&!v?xc(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=ha(_t(),l);return h?pa(m,(s=t.selectingDate())!==null&&s!==void 0?s:null):pa(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=ha(_t(),l);return h||m?pa(v,(s=t.selectingDate())!==null&&s!==void 0?s:null):pa(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=Fs(ha(t.props.date,l)),b=(c||d||h||m||v)&&Uc(l,t.props);return!t.props.disabledKeyboardNavigation&&!t.props.inline&&!ut(g,Fs(t.props.selected))&&ut(g,Fs(t.props.preSelection))&&!b}},t.onYearClick=function(l,s){var c=t.props.date;c!==void 0&&t.handleYearClick(Fs(ha(c,s)),l)},t.onYearKeyDown=function(l,s){var c,d,h=l.key,m=t.props,v=m.date,g=m.yearItemNumber,b=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,wo(t.props.preSelection,1));break;case ve.ArrowUp:{if(v===void 0||g===void 0||t.props.preSelection==null)break;var S=Mi(v,g).startPeriod,x=Wb,A=s-x;if(A<S){var C=g%x;s>=S&&s<S+C?x=C:x+=C,A=s-x}t.handleYearNavigation(A,wo(t.props.preSelection,x));break}case ve.ArrowDown:{if(v===void 0||g===void 0||t.props.preSelection==null)break;var N=Mi(v,g).endPeriod,x=Wb,A=s+x;if(A>N){var C=g%x;s<=N&&s>N-C?x=C:x+=C,A=s+x}t.handleYearNavigation(A,Za(t.props.preSelection,x));break}}b&&b(l)},t.getYearClassNames=function(l){var s=t.props,c=s.date,d=s.minDate,h=s.maxDate,m=s.selected,v=s.excludeDates,g=s.includeDates,b=s.filterDate,S=s.yearClassName;return Nn("react-datepicker__year-text","react-datepicker__year-".concat(l),c?S==null?void 0:S(ha(c,l)):void 0,{"react-datepicker__year-text--selected":m?l===$e(m):void 0,"react-datepicker__year-text--disabled":(d||h||v||g||b)&&Uc(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=$e(t.props.preSelection),c=Uc(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,b=function(A){t.push(G.createElement("div",{ref:S.YEAR_REFS[A-v],onClick:function(C){n.onYearClick(C,A)},onKeyDown:function(C){K9(C)&&(C.preventDefault(),C.key=ve.Enter),n.onYearKeyDown(C,A)},tabIndex:Number(S.getYearTabIndex(A)),className:S.getYearClassNames(A),onMouseEnter:S.props.usePointerEvent?void 0:function(C){return d(C,A)},onPointerEnter:S.props.usePointerEvent?function(C){return d(C,A)}:void 0,onMouseLeave:S.props.usePointerEvent?void 0:function(C){return h(C,A)},onPointerLeave:S.props.usePointerEvent?function(C){return h(C,A)}:void 0,key:A,"aria-current":S.isCurrentYear(A)?"date":void 0},S.getYearContent(A)))},S=this,x=v;x<=g;x++)b(x);return G.createElement("div",{className:"react-datepicker__year"},G.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 ek(r,i,n,t){for(var l=[],s=0;s<2*i+1;s++){var c=r+i-s,d=!0;n&&(d=$e(n)<=c),t&&d&&(d=$e(t)>=c),d&&l.push(c)}return l}var tk=function(r){Tn(i,r);function i(n){var t=r.call(this,n)||this;t.renderOptions=function(){var d=t.props.year,h=t.state.yearsList.map(function(g){return G.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?G.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",g)}),m=t.props.minDate?$e(t.props.minDate):null,v=t.props.maxDate?$e(t.props.maxDate):null;return(!v||!t.state.yearsList.find(function(g){return g===v}))&&h.unshift(G.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:t.incrementYears},G.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(G.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:t.decrementYears},G.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:ek(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=Nn({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return G.createElement(Sf,{className:n,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),nk=function(r){Tn(i,r);function i(){var n=r!==null&&r.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var t=n.props.minDate?$e(n.props.minDate):1900,l=n.props.maxDate?$e(n.props.maxDate):2100,s=[],c=t;c<=l;c++)s.push(G.createElement("option",{key:c,value:c},c));return s},n.onSelectChange=function(t){n.onChange(parseInt(t.target.value))},n.renderSelectMode=function(){return G.createElement("select",{value:n.props.year,className:"react-datepicker__year-select",onChange:n.onSelectChange},n.renderSelectOptions())},n.renderReadView=function(t){return G.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(l){return n.toggleDropdown(l)}},G.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),G.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},n.props.year))},n.renderDropdown=function(){return G.createElement(tk,ft({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 G.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},n)},i}(y.Component),rk=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],ak=function(r){var i=(r.className||"").split(/\s+/);return rk.some(function(n){return i.indexOf(n)>=0})},ik=function(r){Tn(i,r);function i(n){var t=r.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;ak(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=Z9(t.props),m=Q9(t.props),v=_t(),g=d||c||s;return g||(h&&_l(v,h)?h:m&&Ni(v,m)?m:v)},t.increaseMonth=function(){t.setState(function(l){var s=l.date;return{date:Jr(s,1)}},function(){return t.handleMonthChange(t.state.date)})},t.decreaseMonth=function(){t.setState(function(l){var s=l.date;return{date:pl(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:ha(_t(),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(!Ar(l,t.props))return l;for(var s=Xa(l),c=xN(l),d=gA(c,s),h=null,m=0;m<=d;m++){var v=Qr(s,m);if(!Ar(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:ha(c,Number(l))}},function(){return t.handleYearChange(t.state.date)})},t.changeMonth=function(l){t.setState(function(s){var c=s.date;return{date:or(c,Number(l))}},function(){return t.handleMonthChange(t.state.date)})},t.changeMonthYear=function(l){t.setState(function(s){var c=s.date;return{date:ha(or(c,Wn(l)),$e(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(G.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=Qr(s,d),m=t.formatWeekday(h,t.props.locale),v=t.props.weekDayClassName?t.props.weekDayClassName(h):void 0;return G.createElement("div",{key:d,"aria-label":Lt(h,"EEEE",t.props.locale),className:Nn("react-datepicker__day-name",v)},m)}))},t.formatWeekday=function(l,s){return t.props.formatWeekDay?ON(l,t.props.formatWeekDay,s):t.props.useWeekdaysShort?AN(l,s):MN(l,s)},t.decreaseYear=function(){t.setState(function(l){var s,c=l.date;return{date:wo(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=pl(t.state.date,m),g;switch(!0){case t.props.showMonthYearPicker:g=Pb(t.state.date,t.props);break;case t.props.showYearPicker:g=LN(t.state.date,t.props);break;case t.props.showQuarterYearPicker:g=NN(t.state.date,t.props);break;default:g=Hb(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 b=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"],S=["react-datepicker__navigation","react-datepicker__navigation--previous"],x=t.decreaseMonth;(t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker)&&(x=t.decreaseYear),g&&t.props.showDisabledMonthNavigation&&(S.push("react-datepicker__navigation--previous--disabled"),x=void 0);var A=t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker,C=t.props,N=C.previousMonthButtonLabel,O=N===void 0?i.defaultProps.previousMonthButtonLabel:N,j=C.previousYearButtonLabel,Q=j===void 0?i.defaultProps.previousYearButtonLabel:j,$=t.props,ne=$.previousMonthAriaLabel,F=ne===void 0?typeof O=="string"?O:"Previous Month":ne,w=$.previousYearAriaLabel,E=w===void 0?typeof Q=="string"?Q:"Previous Year":w;return G.createElement("button",{type:"button",className:S.join(" "),onClick:x,onKeyDown:t.props.handleOnKeyDown,"aria-label":A?E:F},G.createElement("span",{className:b.join(" ")},A?Q: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=zb(t.state.date,t.props);break;case t.props.showYearPicker:s=qN(t.state.date,t.props);break;case t.props.showQuarterYearPicker:s=kN(t.state.date,t.props);break;default:s=Ub(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,b=g===void 0?i.defaultProps.nextMonthButtonLabel:g,S=v.nextYearButtonLabel,x=S===void 0?i.defaultProps.nextYearButtonLabel:S,A=t.props,C=A.nextMonthAriaLabel,N=C===void 0?typeof b=="string"?b:"Next Month":C,O=A.nextYearAriaLabel,j=O===void 0?typeof x=="string"?x:"Next Year":O;return G.createElement("button",{type:"button",className:c.join(" "),onClick:h,onKeyDown:t.props.handleOnKeyDown,"aria-label":m?j:N},G.createElement("span",{className:d.join(" ")},m?x:b))}}},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"),G.createElement("h2",{className:s.join(" ")},Lt(l,t.props.dateFormat,t.props.locale))},t.renderYearDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showYearDropdown||l))return G.createElement(nk,ft({},i.defaultProps,t.props,{date:t.state.date,onChange:t.changeYear,year:$e(t.state.date)}))},t.renderMonthDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showMonthDropdown||l))return G.createElement(ZN,ft({},i.defaultProps,t.props,{month:Wn(t.state.date),onChange:t.changeMonth}))},t.renderMonthYearDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showMonthYearDropdown||l))return G.createElement(XN,ft({},i.defaultProps,t.props,{date:t.state.date,onChange:t.changeMonthYear}))},t.handleTodayButtonClick=function(l){t.props.onSelect(Rb(),l),t.props.setPreSelection&&t.props.setPreSelection(Rb())},t.renderTodayButton=function(){if(!(!t.props.todayButton||t.props.showTimeSelectOnly))return G.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 G.createElement("div",{className:"react-datepicker__header ".concat(t.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},t.renderCurrentMonth(s),G.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)),G.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=Hb(t.state.date,t.props),v=Ub(t.state.date,t.props),g=Pb(t.state.date,t.props),b=zb(t.state.date,t.props),S=!t.props.showMonthYearPicker&&!t.props.showQuarterYearPicker&&!t.props.showYearPicker;return G.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,ft(ft({},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:b})),S&&G.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,b=v.endPeriod;return G.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},d?"".concat(g," - ").concat(b):$e(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):pl(t.state.date,h),v=(s=t.props.monthSelectedIn)!==null&&s!==void 0?s:h,g=0;g<d;++g){var b=g-v+h,S=t.props.showMonthYearPicker||t.props.showQuarterYearPicker?Za(m,b):Jr(m,b),x="month-".concat(g),A=g<d-1,C=g>0;c.push(G.createElement("div",{key:x,ref:function(N){t.monthContainer=N??void 0},className:"react-datepicker__month-container"},t.renderHeader({monthDate:S,i:g}),G.createElement(WN,ft({},i.defaultProps,t.props,{ariaLabelPrefix:t.props.monthAriaLabelPrefix,day:S,onDayClick:t.handleDayClick,handleOnKeyDown:t.props.handleOnDayKeyDown,handleOnMonthKeyDown:t.props.handleOnKeyDown,onDayMouseEnter:t.handleDayMouseEnter,onMouseLeave:t.handleMonthMouseLeave,orderInDisplay:g,selectingDate:t.state.selectingDate,monthShowsDuplicateDaysEnd:A,monthShowsDuplicateDaysStart:C}))))}return c}},t.renderYears=function(){if(!t.props.showTimeSelectOnly&&t.props.showYearPicker)return G.createElement("div",{className:"react-datepicker__year--container"},t.renderHeader({monthDate:t.state.date}),G.createElement(JN,ft({},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 G.createElement($N,ft({},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&&Ga(l)&&!!t.props.selected,c=s?"".concat(jb(l.getHours()),":").concat(jb(l.getMinutes())):"";if(t.props.showTimeInput)return G.createElement(jN,ft({},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=$e(t.state.date):h="".concat(av(Wn(t.state.date),t.props.locale)," ").concat($e(t.state.date)),G.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},t.state.isRenderAriaLiveMessage&&h)},t.renderChildren=function(){if(t.props.children)return G.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:su}},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&&(!ut(this.props.preSelection,n.preSelection)||this.props.monthSelectedIn!==n.monthSelectedIn)){var l=!Gn(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return l&&t.handleCustomMonthChange(t.state.date)})}else this.props.openToDate&&!ut(this.props.openToDate,n.openToDate)&&this.setState({date:this.props.openToDate})},i.prototype.render=function(){var n=this.props.container||yN;return G.createElement(Sf,{onClickOutside:this.handleClickOutside,style:{display:"contents"},containerRef:this.containerRef,ignoreClass:this.props.outsideClickIgnoreClass},G.createElement(n,{className:Nn("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),lk=function(r){var i=r.icon,n=r.className,t=n===void 0?"":n,l=r.onClick,s="react-datepicker__calendar-icon";return typeof i=="string"?G.createElement("i",{className:"".concat(s," ").concat(i," ").concat(t),"aria-hidden":"true",onClick:l}):G.isValidElement(i)?G.cloneElement(i,{className:"".concat(i.props.className||""," ").concat(s," ").concat(t),onClick:function(c){typeof i.props.onClick=="function"&&i.props.onClick(c),typeof l=="function"&&l(c)}}):G.createElement("svg",{className:"".concat(s," ").concat(t),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:l},G.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"}))},X9=function(r){Tn(i,r);function i(n){var t=r.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 UD.createPortal(this.props.children,this.el)},i}(y.Component),ok="[tabindex], a, button, input, select, textarea",sk=function(r){return(r instanceof HTMLAnchorElement||!r.disabled)&&r.tabIndex!==-1},$9=function(r){Tn(i,r);function i(n){var t=r.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(ok),1,-1).filter(sk)},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)?G.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},G.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,G.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},i.defaultProps={enableTabLoop:!0},i}(y.Component);function uk(r){var i=function(n){var t,l=typeof n.hidePopper=="boolean"?n.hidePopper:!0,s=y.useRef(null),c=gN(ft({open:!l,whileElementsMounted:QR,placement:n.popperPlacement,middleware:ga([nN({padding:15}),tN(10),rN({element:s})],(t=n.popperModifiers)!==null&&t!==void 0?t:[],!0)},n.popperProps)),d=ft(ft({},n),{hidePopper:l,popperProps:ft(ft({},c),{arrowRef:s})});return G.createElement(r,ft({},d))};return i}var ck=function(r){Tn(i,r);function i(){return r!==null&&r.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,b=n.portalHost,S=n.popperProps,x=n.showArrow,A=void 0;if(!c){var C=Nn("react-datepicker-popper",t);A=G.createElement($9,{enableTabLoop:m},G.createElement("div",{ref:S.refs.setFloating,style:S.floatingStyles,className:C,"data-placement":S.placement,onKeyDown:v},d,x&&G.createElement(cN,{ref:S.arrowRef,context:S.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(A=y.createElement(this.props.popperContainer,{},A)),g&&!c&&(A=G.createElement(X9,{portalId:g,portalHost:b},A));var N=Nn("react-datepicker-wrapper",l);return G.createElement(G.Fragment,null,G.createElement("div",{ref:S.refs.setReference,className:N},h),A)},i}(y.Component),fk=uk(ck),Vb="react-datepicker-ignore-onclickoutside";function dk(r,i){return r&&i?Wn(r)!==Wn(i)||$e(r)!==$e(i):r!==i}var Nm="Date input not valid.",hk=function(r){Tn(i,r);function i(n){var t=r.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:_t()},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 Ga(d)?ga(ga([],s,!0),[ft(ft({},c),{date:d})],!1):s},[])},t.calcInitialState=function(){var l,s=t.getPreSelection(),c=Z9(t.props),d=Q9(t.props),h=c&&_l(s,Hc(c))?c:d&&Ni(s,Nb(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:Yb(t.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},t.resetHiddenStatus=function(){t.setState(ft(ft({},t.state),{wasHidden:!1}))},t.setHiddenStatus=function(){t.setState(ft(ft({},t.state),{wasHidden:!0}))},t.setHiddenStateOnVisibilityHidden=function(){document.visibilityState==="hidden"&&t.setHiddenStatus()},t.clearPreventFocusTimeout=function(){t.preventFocusTimeout&&clearTimeout(t.preventFocusTimeout)},t.safeFocus=function(){setTimeout(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})},0)},t.safeBlur=function(){setTimeout(function(){var l,s;(s=(l=t.input)===null||l===void 0?void 0:l.blur)===null||s===void 0||s.call(l)},0)},t.setFocus=function(){t.safeFocus()},t.setBlur=function(){t.safeBlur(),t.cancelFocusInput()},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:km},function(){l||t.setState(function(c){return{focused:s?c.focused:!1}},function(){!s&&t.setBlur(),t.setState({inputValue:null})})})},t.inputOk=function(){return Qa(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&&h&&((c=(s=t.props).onFocus)===null||c===void 0||c.call(s,l),!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.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=0;d<arguments.length;d++)c[d]=arguments[d];var h=c[0];if(!(t.props.onChangeRaw&&(t.props.onChangeRaw.apply(t,c),!h||typeof h.isDefaultPrevented!="function"||h.isDefaultPrevented()))){t.setState({inputValue:(h==null?void 0:h.target)instanceof HTMLInputElement?h.target.value:null,lastPreSelectChange:pk});var m=t.props,v=m.dateFormat,g=v===void 0?i.defaultProps.dateFormat:v,b=m.strictParsing,S=b===void 0?i.defaultProps.strictParsing:b,x=m.selectsRange,A=m.startDate,C=m.endDate,N=(h==null?void 0:h.target)instanceof HTMLInputElement?h.target.value:"";if(x){var O=N.split("-",2).map(function(D){return D.trim()}),j=O[0],Q=O[1],$=Am(j??"",g,t.props.locale,S),ne=Am(Q??"",g,t.props.locale,S),F=(A==null?void 0:A.getTime())!==($==null?void 0:$.getTime()),w=(C==null?void 0:C.getTime())!==(ne==null?void 0:ne.getTime());if(!F&&!w||$&&Ar($,t.props)||ne&&Ar(ne,t.props))return;(s=(l=t.props).onChange)===null||s===void 0||s.call(l,[$,ne],h)}else{var E=Am(N,g,t.props.locale,S,t.props.minDate);t.props.showTimeSelectOnly&&t.props.selected&&E&&!ut(E,t.props.selected)&&(E=AR(t.props.selected,{hours:ba(E),minutes:_a(E),seconds:Ka(E)})),(E||!N)&&t.setSelected(E,h,!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||!Fb(l,h))&&t.setOpen(!1)}},t.setSelected=function(l,s,c,d){var h,m,v=l;if(t.props.showYearPicker){if(v!==null&&Uc($e(v),t.props))return}else if(t.props.showMonthYearPicker){if(v!==null&&V9(v,t.props))return}else if(v!==null&&Ar(v,t.props))return;var g=t.props,b=g.onChange,S=g.selectsRange,x=g.startDate,A=g.endDate,C=g.selectsMultiple,N=g.selectedDates,O=g.minTime,j=g.swapRange;if(!fl(t.props.selected,v)||t.props.allowSameDay||S||C)if(v!==null&&(t.props.selected&&(!c||!t.props.showTimeSelect&&!t.props.showTimeSelectOnly&&!t.props.showTimeInput)&&(v=Cm(v,{hour:ba(t.props.selected),minute:_a(t.props.selected),second:Ka(t.props.selected)})),!c&&(t.props.showTimeSelect||t.props.showTimeSelectOnly)&&O&&(v=Cm(v,{hour:O.getHours(),minute:O.getMinutes(),second:O.getSeconds()})),t.props.inline||t.setState({preSelection:v}),t.props.focusSelectedMonth||t.setState({monthSelectedIn:d})),S){var Q=!x&&!A,$=x&&!A,ne=x&&A;Q?b==null||b([v,null],s):$&&(v===null?b==null||b([null,null],s):Fb(v,x)?j?b==null||b([v,x],s):b==null||b([v,null],s):b==null||b([x,v],s)),ne&&(b==null||b([v,null],s))}else if(C){if(v!==null)if(!(N!=null&&N.length))b==null||b([v],s);else{var F=N.some(function(E){return ut(E,v)});if(F){var w=N.filter(function(E){return!ut(E,v)});b==null||b(w,s)}else b==null||b(ga(ga([],N,!0),[v],!1),s)}}else b==null||b(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=Qa(t.props.minDate),c=Qa(t.props.maxDate),d=!0;if(l){var h=Hc(l);if(s&&c)d=Gs(l,t.props.minDate,t.props.maxDate);else if(s){var m=Hc(t.props.minDate);d=Ni(l,m)||fl(h,m)}else if(c){var v=Nb(t.props.maxDate);d=_l(l,v)||fl(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:Cm(d,{hour:ba(l),minute:_a(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 b=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"]',S=((h=t.calendar)===null||h===void 0?void 0:h.containerRef.current)instanceof Element&&t.calendar.containerRef.current.querySelector(b);S instanceof HTMLElement&&S.focus({preventScroll:!0});return}var x=_t(t.state.preSelection);g===ve.Enter?(l.preventDefault(),l.target.blur(),t.inputOk()&&t.state.lastPreSelectChange===km?(t.handleSelect(x,l),!t.props.shouldCloseOnSelect&&t.setPreSelection(x)):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:Nm})}},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,b=g.minDate,S=g.maxDate,x=g.disabledKeyboardNavigation,A=g.showWeekPicker,C=g.shouldCloseOnSelect,N=g.locale,O=g.calendarStartDay,j=g.adjustDateOnChange,Q=g.inline;if((c=(s=t.props).onKeyDown)===null||c===void 0||c.call(s,l),!x){var $=l.key,ne=l.shiftKey,F=_t(t.state.preSelection),w=function(U,M){var P=M;switch(U){case ve.ArrowRight:P=A?Fc(M,1):Qr(M,1);break;case ve.ArrowLeft:P=A?Eb(M,1):dR(M,1);break;case ve.ArrowUp:P=Eb(M,1);break;case ve.ArrowDown:P=Fc(M,1);break;case ve.PageUp:P=ne?wo(M,1):pl(M,1);break;case ve.PageDown:P=ne?Za(M,1):Jr(M,1);break;case ve.Home:P=Ai(M,N,O);break;case ve.End:P=TN(M);break}return P},E=function(U,M){for(var P=40,L=U,J=!1,R=0,I=w(U,M);!J;){if(R>=P){I=M;break}b&&I<b&&(L=ve.ArrowRight,I=Ar(b,t.props)?w(L,I):b),S&&I>S&&(L=ve.ArrowLeft,I=Ar(S,t.props)?w(L,I):S),Ar(I,t.props)?((L===ve.PageUp||L===ve.Home)&&(L=ve.ArrowRight),(L===ve.PageDown||L===ve.End)&&(L=ve.ArrowLeft),I=w(L,I)):J=!0,R++}return I};if($===ve.Enter){l.preventDefault(),t.handleSelect(F,l),!C&&t.setPreSelection(F);return}else if($===ve.Escape){l.preventDefault(),t.setOpen(!1),t.inputOk()||(h=(d=t.props).onInputError)===null||h===void 0||h.call(d,{code:1,msg:Nm});return}var D=null;switch($){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($,F);break}if(!D){(v=(m=t.props).onInputError)===null||v===void 0||v.call(m,{code:1,msg:Nm});return}if(l.preventDefault(),t.setState({lastPreSelectChange:km}),j&&t.setSelected(D),t.setPreSelection(D),Q){var k=Wn(F),q=Wn(D),z=$e(F),B=$e(D);k!==q||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:G.createElement(ik,ft({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:UN(t.modifyHolidays()),outsideClickIgnoreClass:Vb,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(Mr(t.props.startDate,{dateFormat:m,locale:d}),". ").concat(t.props.endDate?"End date: "+Mr(t.props.endDate,{dateFormat:m,locale:d}):""):t.props.showTimeSelectOnly?v="Selected time: ".concat(Mr(t.props.selected,{dateFormat:c,locale:d})):t.props.showYearPicker?v="Selected year: ".concat(Mr(t.props.selected,{dateFormat:"yyyy",locale:d})):t.props.showMonthYearPicker?v="Selected month: ".concat(Mr(t.props.selected,{dateFormat:"MMMM yyyy",locale:d})):t.props.showQuarterYearPicker?v="Selected quarter: ".concat(Mr(t.props.selected,{dateFormat:"yyyy, QQQ",locale:d})):v="Selected date: ".concat(Mr(t.props.selected,{dateFormat:m,locale:d})),G.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},v)},t.renderDateInput=function(){var l,s,c,d=Nn(t.props.className,(l={},l[Vb]=t.state.open,l)),h=t.props.customInput||G.createElement("input",{type:"text"}),m=t.props.customInputRef||"ref",v=t.props,g=v.dateFormat,b=g===void 0?i.defaultProps.dateFormat:g,S=v.locale,x=typeof t.props.value=="string"?t.props.value:typeof t.state.inputValue=="string"?t.state.inputValue:t.props.selectsRange?wN(t.props.startDate,t.props.endDate,{dateFormat:b,locale:S}):t.props.selectsMultiple?EN((c=t.props.selectedDates)!==null&&c!==void 0?c:[],{dateFormat:b,locale:S}):Mr(t.props.selected,{dateFormat:b,locale:S});return y.cloneElement(h,(s={},s[m]=function(A){t.input=A},s.value=x,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=Nn(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,b=g===void 0?"":g,S=l.ariaLabelClose,x=S===void 0?"Close":S,A=l.selectedDates;return s&&(d!=null||h!=null||m!=null||A!=null&&A.length)?G.createElement("button",{type:"button",className:Nn("react-datepicker__close-icon",b,{"react-datepicker__close-icon--disabled":c}),disabled:c,"aria-label":x,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:su,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&&dk(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:Yb(this.props.highlightDates)}),!t.focused&&!fl(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."),G.createElement("div",{className:"react-datepicker__input-container".concat(t?" react-datepicker__view-calendar-icon":"")},t&&G.createElement(lk,ft({icon:l,className:Nn(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?G.createElement($9,{enableTabLoop:this.props.enableTabLoop},G.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},n)):null;return this.state.open&&this.props.portalId&&(t=G.createElement(X9,ft({portalId:this.props.portalId},this.props),t)),G.createElement("div",null,this.renderInputContainer(),t)}return G.createElement(fk,ft({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:n,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},i}(y.Component),pk="input",km="navigate";const mk=({title:r,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},r?y.createElement("title",{id:i},r):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"})),vk=y.forwardRef(mk),gk={year:"numeric",month:"long",day:"numeric"},yk=({restart:r,proceed:i})=>{const{controlCode:n}=Hn(F=>F),[t,l]=y.useState(!0),[s,c]=y.useState(!1),[d,h]=y.useState(Array(5).fill(!1)),[m,v]=y.useState(""),[g,b]=y.useState({}),[S,x]=y.useState(null),A=y.useRef(null),C=()=>A.current.setOpen(!0),N=["photo","valid","lastName","firstName"];y.useEffect(()=>{_M(n.dayOfBirth).then(F=>{l(F)})},[]);const O=(F,w)=>{const E=[...d];E[F]=w,h(E)},j=F=>F<10?`0${F}`:F.toString(),Q=()=>{const F=Le.locale==="nl"?"nl-NL":"en-EN";return{dayOfBirth:S.toLocaleDateString(F,gk)}},$=F=>{x(F);const w=`${F.getFullYear()}-${j(F.getMonth()+1)}-${j(F.getDate())}`,E={...n,dayOfBirth:w};Hn.setState(()=>({controlCode:E}))},ne=()=>{const{firstName:F,lastName:w,dayOfBirth:E,code:D,userUid:k}=n;c(!0),wM(F,w,E,D,m,k).then(()=>{b({}),c(!1),i()}).catch(q=>{c(!1),q.response.json().then(z=>{b(z),window.scrollTo({top:0,left:0,behavior:"smooth"})})})};return K.jsxs("div",{className:"control",children:[K.jsxs("div",{className:"control-header",children:[K.jsxs("h4",{children:[Le.t("control.header"),K.jsx("span",{className:"code",children:n.code})]}),K.jsx(Zs,{txt:Le.t("control.restart"),type:Oi.GhostDark,onClick:()=>r()})]}),!Vr(g)&&K.jsx("div",{className:"error",children:K.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Zr.sanitize(Le.t("control.error",g))}})}),K.jsxs("div",{className:"control-validation",children:[K.jsx("h4",{children:Le.t("control.info")}),K.jsx("p",{children:Le.t("control.validDocuments")}),K.jsx(x2,{toasterType:xi.Warning,message:Le.t("control.inValidDocuments")}),K.jsx("h4",{children:Le.t("control.isValid")}),N.map((F,w)=>K.jsxs("div",{className:"validation-item",children:[K.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Zr.sanitize(Le.t(`control.validations.${F}`,n))}}),K.jsx(i4,{value:d[w],onChange:E=>O(w,E)})]},F)),K.jsxs("div",{className:"validation-item column",children:[K.jsxs("div",{className:"validation-item-inner",children:[K.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Zr.sanitize(Le.t("control.validations.dayOfBirth",!t&&S!==null?Q():n))}}),K.jsx(i4,{value:d[4],disabled:!t&&S===null,onChange:F=>O(4,F)})]}),!t&&K.jsxs("div",{className:`validation-item-inner birthday ${S===null?"invalid":"valid"}`,children:[K.jsx("p",{children:Le.t(`control.${S===null?"invalidDate":"validDate"}`)}),K.jsx(hk,{ref:A,preventOpenOnFocus:!0,onChange:$,showWeekNumbers:!0,selected:S,showYearDropdown:!0,showMonthDropdown:!0,dropdownMode:"select",weekLabel:"Week",todayButton:null}),K.jsx("div",{className:"calendar",onClick:C,children:K.jsx(vk,{})})]})]}),K.jsxs("div",{className:"validation-item column",children:[K.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Zr.sanitize(Le.t("control.idDocument"))}}),K.jsxs("div",{className:"code-validation",children:[K.jsx(h8,{verify:F=>v(F),size:6,focusFirst:!1,validate:()=>!0}),K.jsx(Zs,{txt:Le.t("control.proceed"),disabled:Vr(m)||d.some(F=>!F)||s||!Vr(g)||!t&&Vr(S),onClick:()=>ne()})]})]})]})]})},bk=({title:r,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},r?y.createElement("title",{id:i},r):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})),_k=y.forwardRef(bk),wk=({restart:r})=>{const{controlCode:i}=Hn(n=>n);return K.jsxs("div",{className:"confirmation",children:[K.jsx("h4",{children:Le.t("confirmation.header")}),K.jsx(x2,{toasterType:xi.Success,message:Le.t("confirmation.info",{controlCode:i})}),K.jsx("div",{className:"img-container",children:K.jsx(_k,{})}),K.jsx("div",{className:"button-container",children:K.jsx(Zs,{txt:Le.t("confirmation.restart"),type:Oi.GhostDark,onClick:()=>r()})})]})},Ek=()=>{const[r,i]=y.useState(1);if(r===1)return K.jsx(uA,{proceed:()=>i(2)});if(r===2)return K.jsx(yk,{restart:()=>i(1),proceed:()=>i(3)});if(r===3)return K.jsx(wk,{restart:()=>i(1)})},Sk=()=>{const{tab:r="verify"}=S8(),[i,n]=y.useState(r),[t,l]=y.useState([]),[s,c]=y.useState(!0),d=Mo(),h=Hn(v=>v.user);y.useEffect(()=>{h&&Hn.setState({breadcrumbPath:[{path:"/home",value:Le.t("tabs.home")},{value:Le.t(`tabs.${i}`)}]});const v=[K.jsx(lA,{name:"verify",label:Le.t("tabs.verify"),children:K.jsx(Ek,{})},"verify")];l(v),c(!1)},[i,h]);const m=v=>{n(v),d(`/home/${v}`)};return s?K.jsx(T2,{}):K.jsx("div",{className:"home",children:K.jsxs("div",{className:"mod-home-container",children:[K.jsx(iA,{obj:{name:Le.t("landing.header.title")},children:K.jsx("p",{children:Le.t("landing.header.subTitle")})}),K.jsx(aA,{activeTab:i,tabChanged:m,children:t})]})})},Dk=()=>{const r=n=>t=>{o9(t),s9.set("lang",n,{expires:356,secure:document.location.protocol.endsWith("https")}),Le.locale=n,window.location.search=oM(window.location.search,"lang",n)},i=n=>K.jsx("a",{href:"locale",className:`${Le.locale===n?"is-active":"not-active"}`,title:Le.t("footer.select_locale"),onClick:r(n),children:Le.translations[n].code});return K.jsx("nav",{className:"sds--language-switcher sds--text--body--small","aria-label":"Language",children:K.jsxs("ul",{children:[K.jsxs("li",{children:[i("nl"),K.jsx("span",{className:"sds--language-sds--divider",children:"|"})]}),K.jsx("li",{children:i("en")})]})})},Tk=()=>K.jsx("footer",{className:"sds--footer sds--footer--single-bar",children:K.jsx("div",{className:"sds--page-container",children:K.jsxs("div",{className:"sds--footer--inner",children:[K.jsx("nav",{className:"menu sds--text--body--small",children:K.jsxs("ul",{children:[K.jsx("li",{children:K.jsx("a",{href:Le.t("footer.termsLink"),target:"_blank",rel:"noopener noreferrer",children:K.jsx("span",{children:Le.t("footer.terms")})})}),K.jsx("li",{children:K.jsx("a",{href:Le.t("footer.privacyLink"),target:"_blank",rel:"noopener noreferrer",children:K.jsx("span",{children:Le.t("footer.privacy")})})})]})}),K.jsx(Dk,{}),K.jsx("div",{className:"sds--branding",children:K.jsx("a",{href:Le.t("footer.surfLink"),target:"_blank",rel:"noopener noreferrer",children:K.jsx(p8,{label:"",position:m8.Bottom})})})]})})}),xk=()=>{const[r,i]=y.useState(!0),[n,t]=y.useState(!1),l=Mo();return y.useEffect(()=>{gM().then(s=>{Hn.setState(()=>({user:s})),i(!1),s.serviceDeskMember?(t(!0),l("/home")):l("/404")}).catch(()=>{i(!1),l("/login")})},[]),r?K.jsx(T2,{}):K.jsxs("div",{className:"service-desk",children:[K.jsxs("div",{className:"container",children:[K.jsx(EM,{}),K.jsx(DM,{}),n&&K.jsx(WM,{}),n&&K.jsxs(t2,{children:[K.jsx(Gr,{path:"/",element:K.jsx(f4,{replace:!0,to:"home"})}),K.jsx(Gr,{path:"/home/:tab?",element:K.jsx(Sk,{})}),K.jsx(Gr,{path:"/refresh-route/:path",element:K.jsx(QM,{})}),K.jsx(Gr,{path:"/login",element:K.jsx(db,{})}),K.jsx(Gr,{path:"*",element:K.jsx(Sm,{})})]}),!n&&K.jsxs(t2,{children:[K.jsx(Gr,{path:"/",element:K.jsx(f4,{replace:!0,to:"404"})}),K.jsx(Gr,{path:"/404",element:K.jsx(Sm,{})}),K.jsx(Gr,{path:"/login",element:K.jsx(db,{})}),K.jsx(Gr,{path:"/*",element:K.jsx(Sm,{})})]})]}),K.jsx(Tk,{})]})},Ok=sE.createRoot(document.getElementById("root"));Ok.render(K.jsx(y.StrictMode,{children:K.jsx(OD,{children:K.jsx(t2,{children:K.jsx(Gr,{path:"/*",element:K.jsx(xk,{})})})})}));
