var d5=Object.defineProperty,f5=Object.defineProperties;var p5=Object.getOwnPropertyDescriptors;var l0=Object.getOwnPropertySymbols;var h5=Object.prototype.hasOwnProperty,v5=Object.prototype.propertyIsEnumerable;var u0=(e,t,r)=>t in e?d5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Or=(e,t)=>{for(var r in t||(t={}))h5.call(t,r)&&u0(e,r,t[r]);if(l0)for(var r of l0(t))v5.call(t,r)&&u0(e,r,t[r]);return e},bn=(e,t)=>f5(e,p5(t));function m5(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const g5=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}};g5();var os=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},d={exports:{}},oe={};/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var c0=Object.getOwnPropertySymbols,y5=Object.prototype.hasOwnProperty,b5=Object.prototype.propertyIsEnumerable;function x5(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function S5(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(n.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Kg=S5()?Object.assign:function(e,t){for(var r,n=x5(e),i,o=1;o<arguments.length;o++){r=Object(arguments[o]);for(var a in r)y5.call(r,a)&&(n[a]=r[a]);if(c0){i=c0(r);for(var s=0;s<i.length;s++)b5.call(r,i[s])&&(n[i[s]]=r[i[s]])}}return n};/** @license React v17.0.2
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Wf=Kg,Oi=60103,Gg=60106;oe.Fragment=60107;oe.StrictMode=60108;oe.Profiler=60114;var qg=60109,Yg=60110,Zg=60112;oe.Suspense=60113;var Xg=60115,Qg=60116;if(typeof Symbol=="function"&&Symbol.for){var zt=Symbol.for;Oi=zt("react.element"),Gg=zt("react.portal"),oe.Fragment=zt("react.fragment"),oe.StrictMode=zt("react.strict_mode"),oe.Profiler=zt("react.profiler"),qg=zt("react.provider"),Yg=zt("react.context"),Zg=zt("react.forward_ref"),oe.Suspense=zt("react.suspense"),Xg=zt("react.memo"),Qg=zt("react.lazy")}var d0=typeof Symbol=="function"&&Symbol.iterator;function w5(e){return e===null||typeof e!="object"?null:(e=d0&&e[d0]||e["@@iterator"],typeof e=="function"?e:null)}function Aa(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Jg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},e1={};function Ni(e,t,r){this.props=e,this.context=t,this.refs=e1,this.updater=r||Jg}Ni.prototype.isReactComponent={};Ni.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(Aa(85));this.updater.enqueueSetState(this,e,t,"setState")};Ni.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function t1(){}t1.prototype=Ni.prototype;function Hf(e,t,r){this.props=e,this.context=t,this.refs=e1,this.updater=r||Jg}var Uf=Hf.prototype=new t1;Uf.constructor=Hf;Wf(Uf,Ni.prototype);Uf.isPureReactComponent=!0;var Kf={current:null},r1=Object.prototype.hasOwnProperty,n1={key:!0,ref:!0,__self:!0,__source:!0};function i1(e,t,r){var n,i={},o=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)r1.call(t,n)&&!n1.hasOwnProperty(n)&&(i[n]=t[n]);var s=arguments.length-2;if(s===1)i.children=r;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)i[n]===void 0&&(i[n]=s[n]);return{$$typeof:Oi,type:e,key:o,ref:a,props:i,_owner:Kf.current}}function C5(e,t){return{$$typeof:Oi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Gf(e){return typeof e=="object"&&e!==null&&e.$$typeof===Oi}function E5(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var f0=/\/+/g;function uc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?E5(""+e.key):t.toString(36)}function Vs(e,t,r,n,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Oi:case Gg:a=!0}}if(a)return a=e,i=i(a),e=n===""?"."+uc(a,0):n,Array.isArray(i)?(r="",e!=null&&(r=e.replace(f0,"$&/")+"/"),Vs(i,t,r,"",function(u){return u})):i!=null&&(Gf(i)&&(i=C5(i,r+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(f0,"$&/")+"/")+e)),t.push(i)),1;if(a=0,n=n===""?".":n+":",Array.isArray(e))for(var s=0;s<e.length;s++){o=e[s];var l=n+uc(o,s);a+=Vs(o,t,r,l,i)}else if(l=w5(e),typeof l=="function")for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=n+uc(o,s++),a+=Vs(o,t,r,l,i);else if(o==="object")throw t=""+e,Error(Aa(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return a}function as(e,t,r){if(e==null)return e;var n=[],i=0;return Vs(e,n,"","",function(o){return t.call(r,o,i++)}),n}function k5(e){if(e._status===-1){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(r){e._status===0&&(r=r.default,e._status=1,e._result=r)},function(r){e._status===0&&(e._status=2,e._result=r)})}if(e._status===1)return e._result;throw e._result}var o1={current:null};function Rr(){var e=o1.current;if(e===null)throw Error(Aa(321));return e}var _5={ReactCurrentDispatcher:o1,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:Kf,IsSomeRendererActing:{current:!1},assign:Wf};oe.Children={map:as,forEach:function(e,t,r){as(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return as(e,function(){t++}),t},toArray:function(e){return as(e,function(t){return t})||[]},only:function(e){if(!Gf(e))throw Error(Aa(143));return e}};oe.Component=Ni;oe.PureComponent=Hf;oe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_5;oe.cloneElement=function(e,t,r){if(e==null)throw Error(Aa(267,e));var n=Wf({},e.props),i=e.key,o=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,a=Kf.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)r1.call(t,l)&&!n1.hasOwnProperty(l)&&(n[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){s=Array(l);for(var u=0;u<l;u++)s[u]=arguments[u+2];n.children=s}return{$$typeof:Oi,type:e.type,key:i,ref:o,props:n,_owner:a}};oe.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:Yg,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:qg,_context:e},e.Consumer=e};oe.createElement=i1;oe.createFactory=function(e){var t=i1.bind(null,e);return t.type=e,t};oe.createRef=function(){return{current:null}};oe.forwardRef=function(e){return{$$typeof:Zg,render:e}};oe.isValidElement=Gf;oe.lazy=function(e){return{$$typeof:Qg,_payload:{_status:-1,_result:e},_init:k5}};oe.memo=function(e,t){return{$$typeof:Xg,type:e,compare:t===void 0?null:t}};oe.useCallback=function(e,t){return Rr().useCallback(e,t)};oe.useContext=function(e,t){return Rr().useContext(e,t)};oe.useDebugValue=function(){};oe.useEffect=function(e,t){return Rr().useEffect(e,t)};oe.useImperativeHandle=function(e,t,r){return Rr().useImperativeHandle(e,t,r)};oe.useLayoutEffect=function(e,t){return Rr().useLayoutEffect(e,t)};oe.useMemo=function(e,t){return Rr().useMemo(e,t)};oe.useReducer=function(e,t,r){return Rr().useReducer(e,t,r)};oe.useRef=function(e){return Rr().useRef(e)};oe.useState=function(e){return Rr().useState(e)};oe.version="17.0.2";d.exports=oe;var nu=d.exports,ki=m5({__proto__:null,default:nu},[d.exports]),a1={exports:{}},Bt={},s1={exports:{}},l1={};/** @license React v0.20.2
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){var t,r,n,i;if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var l=null,u=null,c=function(){if(l!==null)try{var $=e.unstable_now();l(!0,$),l=null}catch(M){throw setTimeout(c,0),M}};t=function($){l!==null?setTimeout(t,0,$):(l=$,setTimeout(c,0))},r=function($,M){u=setTimeout($,M)},n=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,f=window.clearTimeout;if(typeof console!="undefined"){var h=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof h!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,b=null,m=-1,v=5,y=0;e.unstable_shouldYield=function(){return e.unstable_now()>=y},i=function(){},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):v=0<$?Math.floor(1e3/$):5};var x=new MessageChannel,w=x.port2;x.port1.onmessage=function(){if(b!==null){var $=e.unstable_now();y=$+v;try{b(!0,$)?w.postMessage(null):(g=!1,b=null)}catch(M){throw w.postMessage(null),M}}else g=!1},t=function($){b=$,g||(g=!0,w.postMessage(null))},r=function($,M){m=p(function(){$(e.unstable_now())},M)},n=function(){f(m),m=-1}}function k($,M){var R=$.length;$.push(M);e:for(;;){var O=R-1>>>1,F=$[O];if(F!==void 0&&0<A(F,M))$[O]=M,$[R]=F,R=O;else break e}}function T($){return $=$[0],$===void 0?null:$}function _($){var M=$[0];if(M!==void 0){var R=$.pop();if(R!==M){$[0]=R;e:for(var O=0,F=$.length;O<F;){var ae=2*(O+1)-1,Be=$[ae],Ve=ae+1,Ke=$[Ve];if(Be!==void 0&&0>A(Be,R))Ke!==void 0&&0>A(Ke,Be)?($[O]=Ke,$[Ve]=R,O=Ve):($[O]=Be,$[ae]=R,O=ae);else if(Ke!==void 0&&0>A(Ke,R))$[O]=Ke,$[Ve]=R,O=Ve;else break e}}return M}return null}function A($,M){var R=$.sortIndex-M.sortIndex;return R!==0?R:$.id-M.id}var I=[],N=[],U=1,K=null,H=3,J=!1,Q=!1,ve=!1;function De($){for(var M=T(N);M!==null;){if(M.callback===null)_(N);else if(M.startTime<=$)_(N),M.sortIndex=M.expirationTime,k(I,M);else break;M=T(N)}}function Ue($){if(ve=!1,De($),!Q)if(T(I)!==null)Q=!0,t($e);else{var M=T(N);M!==null&&r(Ue,M.startTime-$)}}function $e($,M){Q=!1,ve&&(ve=!1,n()),J=!0;var R=H;try{for(De(M),K=T(I);K!==null&&(!(K.expirationTime>M)||$&&!e.unstable_shouldYield());){var O=K.callback;if(typeof O=="function"){K.callback=null,H=K.priorityLevel;var F=O(K.expirationTime<=M);M=e.unstable_now(),typeof F=="function"?K.callback=F:K===T(I)&&_(I),De(M)}else _(I);K=T(I)}if(K!==null)var ae=!0;else{var Be=T(N);Be!==null&&r(Ue,Be.startTime-M),ae=!1}return ae}finally{K=null,H=R,J=!1}}var bt=i;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function($){$.callback=null},e.unstable_continueExecution=function(){Q||J||(Q=!0,t($e))},e.unstable_getCurrentPriorityLevel=function(){return H},e.unstable_getFirstCallbackNode=function(){return T(I)},e.unstable_next=function($){switch(H){case 1:case 2:case 3:var M=3;break;default:M=H}var R=H;H=M;try{return $()}finally{H=R}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=bt,e.unstable_runWithPriority=function($,M){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var R=H;H=$;try{return M()}finally{H=R}},e.unstable_scheduleCallback=function($,M,R){var O=e.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?O+R:O):R=O,$){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=R+F,$={id:U++,callback:M,priorityLevel:$,startTime:R,expirationTime:F,sortIndex:-1},R>O?($.sortIndex=R,k(N,$),T(I)===null&&$===T(N)&&(ve?n():ve=!0,r(Ue,R-O))):($.sortIndex=F,k(I,$),Q||J||(Q=!0,t($e))),$},e.unstable_wrapCallback=function($){var M=H;return function(){var R=H;H=M;try{return $.apply(this,arguments)}finally{H=R}}}})(l1);s1.exports=l1;/** @license React v17.0.2
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var iu=d.exports,ke=Kg,We=s1.exports;function B(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!iu)throw Error(B(227));var u1=new Set,Zo={};function Bn(e,t){_i(e,t),_i(e+"Capture",t)}function _i(e,t){for(Zo[e]=t,e=0;e<t.length;e++)u1.add(t[e])}var Pr=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),T5=/^[: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]*$/,p0=Object.prototype.hasOwnProperty,h0={},v0={};function P5(e){return p0.call(v0,e)?!0:p0.call(h0,e)?!1:T5.test(e)?v0[e]=!0:(h0[e]=!0,!1)}function A5(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function I5(e,t,r,n){if(t===null||typeof t=="undefined"||A5(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ft(e,t,r,n,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var Je={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Je[e]=new ft(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Je[t]=new ft(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Je[e]=new ft(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Je[e]=new ft(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Je[e]=new ft(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Je[e]=new ft(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Je[e]=new ft(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Je[e]=new ft(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Je[e]=new ft(e,5,!1,e.toLowerCase(),null,!1,!1)});var qf=/[\-:]([a-z])/g;function Yf(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(qf,Yf);Je[t]=new ft(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(qf,Yf);Je[t]=new ft(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(qf,Yf);Je[t]=new ft(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Je[e]=new ft(e,1,!1,e.toLowerCase(),null,!1,!1)});Je.xlinkHref=new ft("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Je[e]=new ft(e,1,!1,e.toLowerCase(),null,!0,!0)});function Zf(e,t,r,n){var i=Je.hasOwnProperty(t)?Je[t]:null,o=i!==null?i.type===0:n?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");o||(I5(t,r,i,n)&&(r=null),n||i===null?P5(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=r===null?i.type===3?!1:"":r:(t=i.attributeName,n=i.attributeNamespace,r===null?e.removeAttribute(t):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var Fn=iu.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,bo=60103,kn=60106,Vr=60107,Xf=60108,ko=60114,Qf=60109,Jf=60110,ou=60112,_o=60113,ul=60120,au=60115,ep=60116,tp=60121,rp=60128,c1=60129,np=60130,ud=60131;if(typeof Symbol=="function"&&Symbol.for){var je=Symbol.for;bo=je("react.element"),kn=je("react.portal"),Vr=je("react.fragment"),Xf=je("react.strict_mode"),ko=je("react.profiler"),Qf=je("react.provider"),Jf=je("react.context"),ou=je("react.forward_ref"),_o=je("react.suspense"),ul=je("react.suspense_list"),au=je("react.memo"),ep=je("react.lazy"),tp=je("react.block"),je("react.scope"),rp=je("react.opaque.id"),c1=je("react.debug_trace_mode"),np=je("react.offscreen"),ud=je("react.legacy_hidden")}var m0=typeof Symbol=="function"&&Symbol.iterator;function to(e){return e===null||typeof e!="object"?null:(e=m0&&e[m0]||e["@@iterator"],typeof e=="function"?e:null)}var cc;function xo(e){if(cc===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);cc=t&&t[1]||""}return`
`+cc+e}var dc=!1;function ss(e,t){if(!e||dc)return"";dc=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var n=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){n=l}e.call(t.prototype)}else{try{throw Error()}catch(l){n=l}e()}}catch(l){if(l&&n&&typeof l.stack=="string"){for(var i=l.stack.split(`
`),o=n.stack.split(`
`),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(a!==1||s!==1)do if(a--,s--,0>s||i[a]!==o[s])return`
`+i[a].replace(" at new "," at ");while(1<=a&&0<=s);break}}}finally{dc=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?xo(e):""}function M5(e){switch(e.tag){case 5:return xo(e.type);case 16:return xo("Lazy");case 13:return xo("Suspense");case 19:return xo("SuspenseList");case 0:case 2:case 15:return e=ss(e.type,!1),e;case 11:return e=ss(e.type.render,!1),e;case 22:return e=ss(e.type._render,!1),e;case 1:return e=ss(e.type,!0),e;default:return""}}function ui(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Vr:return"Fragment";case kn:return"Portal";case ko:return"Profiler";case Xf:return"StrictMode";case _o:return"Suspense";case ul:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Jf:return(e.displayName||"Context")+".Consumer";case Qf:return(e._context.displayName||"Context")+".Provider";case ou:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case au:return ui(e.type);case tp:return ui(e._render);case ep:t=e._payload,e=e._init;try{return ui(e(t))}catch{}}return null}function sn(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function d1(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function R5(e){var t=d1(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r!="undefined"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){n=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ls(e){e._valueTracker||(e._valueTracker=R5(e))}function f1(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=d1(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function cl(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function cd(e,t){var r=t.checked;return ke({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function g0(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=sn(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function p1(e,t){t=t.checked,t!=null&&Zf(e,"checked",t,!1)}function dd(e,t){p1(e,t);var r=sn(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?fd(e,t.type,r):t.hasOwnProperty("defaultValue")&&fd(e,t.type,sn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function y0(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function fd(e,t,r){(t!=="number"||cl(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function L5(e){var t="";return iu.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function pd(e,t){return e=ke({children:void 0},t),(t=L5(t.children))&&(e.children=t),e}function ci(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+sn(r),t=null,i=0;i<e.length;i++){if(e[i].value===r){e[i].selected=!0,n&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function hd(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(B(91));return ke({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function b0(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(B(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(B(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:sn(r)}}function h1(e,t){var r=sn(t.value),n=sn(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function x0(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var vd={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function v1(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function md(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?v1(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var us,m1=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,r,n,i){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,i)})}:e}(function(e,t){if(e.namespaceURI!==vd.svg||"innerHTML"in e)e.innerHTML=t;else{for(us=us||document.createElement("div"),us.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=us.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Xo(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var To={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},O5=["Webkit","ms","Moz","O"];Object.keys(To).forEach(function(e){O5.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),To[t]=To[e]})});function g1(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||To.hasOwnProperty(e)&&To[e]?(""+t).trim():t+"px"}function y1(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=g1(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var N5=ke({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function gd(e,t){if(t){if(N5[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(B(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(B(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(B(61))}if(t.style!=null&&typeof t.style!="object")throw Error(B(62))}}function yd(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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}}function ip(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var bd=null,di=null,fi=null;function S0(e){if(e=Ma(e)){if(typeof bd!="function")throw Error(B(280));var t=e.stateNode;t&&(t=fu(t),bd(e.stateNode,e.type,t))}}function b1(e){di?fi?fi.push(e):fi=[e]:di=e}function x1(){if(di){var e=di,t=fi;if(fi=di=null,S0(e),t)for(e=0;e<t.length;e++)S0(t[e])}}function op(e,t){return e(t)}function S1(e,t,r,n,i){return e(t,r,n,i)}function ap(){}var w1=op,_n=!1,fc=!1;function sp(){(di!==null||fi!==null)&&(ap(),x1())}function D5(e,t,r){if(fc)return e(t,r);fc=!0;try{return w1(e,t,r)}finally{fc=!1,sp()}}function Qo(e,t){var r=e.stateNode;if(r===null)return null;var n=fu(r);if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(B(231,t,typeof r));return r}var xd=!1;if(Pr)try{var ro={};Object.defineProperty(ro,"passive",{get:function(){xd=!0}}),window.addEventListener("test",ro,ro),window.removeEventListener("test",ro,ro)}catch{xd=!1}function $5(e,t,r,n,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(c){this.onError(c)}}var Po=!1,dl=null,fl=!1,Sd=null,B5={onError:function(e){Po=!0,dl=e}};function F5(e,t,r,n,i,o,a,s,l){Po=!1,dl=null,$5.apply(B5,arguments)}function z5(e,t,r,n,i,o,a,s,l){if(F5.apply(this,arguments),Po){if(Po){var u=dl;Po=!1,dl=null}else throw Error(B(198));fl||(fl=!0,Sd=u)}}function zn(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&1026)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function C1(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function w0(e){if(zn(e)!==e)throw Error(B(188))}function V5(e){var t=e.alternate;if(!t){if(t=zn(e),t===null)throw Error(B(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(i===null)break;var o=i.alternate;if(o===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return w0(i),e;if(o===n)return w0(i),t;o=o.sibling}throw Error(B(188))}if(r.return!==n.return)r=i,n=o;else{for(var a=!1,s=i.child;s;){if(s===r){a=!0,r=i,n=o;break}if(s===n){a=!0,n=i,r=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===r){a=!0,r=o,n=i;break}if(s===n){a=!0,n=o,r=i;break}s=s.sibling}if(!a)throw Error(B(189))}}if(r.alternate!==n)throw Error(B(190))}if(r.tag!==3)throw Error(B(188));return r.stateNode.current===r?e:t}function E1(e){if(e=V5(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function C0(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var k1,lp,_1,T1,wd=!1,ir=[],Zr=null,Xr=null,Qr=null,Jo=new Map,ea=new Map,no=[],E0="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 submit".split(" ");function Cd(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function k0(e,t){switch(e){case"focusin":case"focusout":Zr=null;break;case"dragenter":case"dragleave":Xr=null;break;case"mouseover":case"mouseout":Qr=null;break;case"pointerover":case"pointerout":Jo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ea.delete(t.pointerId)}}function io(e,t,r,n,i,o){return e===null||e.nativeEvent!==o?(e=Cd(t,r,n,i,o),t!==null&&(t=Ma(t),t!==null&&lp(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function j5(e,t,r,n,i){switch(t){case"focusin":return Zr=io(Zr,e,t,r,n,i),!0;case"dragenter":return Xr=io(Xr,e,t,r,n,i),!0;case"mouseover":return Qr=io(Qr,e,t,r,n,i),!0;case"pointerover":var o=i.pointerId;return Jo.set(o,io(Jo.get(o)||null,e,t,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,ea.set(o,io(ea.get(o)||null,e,t,r,n,i)),!0}return!1}function W5(e){var t=Tn(e.target);if(t!==null){var r=zn(t);if(r!==null){if(t=r.tag,t===13){if(t=C1(r),t!==null){e.blockedOn=t,T1(e.lanePriority,function(){We.unstable_runWithPriority(e.priority,function(){_1(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function js(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=fp(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=Ma(r),t!==null&&lp(t),e.blockedOn=r,!1;t.shift()}return!0}function _0(e,t,r){js(e)&&r.delete(t)}function H5(){for(wd=!1;0<ir.length;){var e=ir[0];if(e.blockedOn!==null){e=Ma(e.blockedOn),e!==null&&k1(e);break}for(var t=e.targetContainers;0<t.length;){var r=fp(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&ir.shift()}Zr!==null&&js(Zr)&&(Zr=null),Xr!==null&&js(Xr)&&(Xr=null),Qr!==null&&js(Qr)&&(Qr=null),Jo.forEach(_0),ea.forEach(_0)}function oo(e,t){e.blockedOn===t&&(e.blockedOn=null,wd||(wd=!0,We.unstable_scheduleCallback(We.unstable_NormalPriority,H5)))}function P1(e){function t(i){return oo(i,e)}if(0<ir.length){oo(ir[0],e);for(var r=1;r<ir.length;r++){var n=ir[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Zr!==null&&oo(Zr,e),Xr!==null&&oo(Xr,e),Qr!==null&&oo(Qr,e),Jo.forEach(t),ea.forEach(t),r=0;r<no.length;r++)n=no[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<no.length&&(r=no[0],r.blockedOn===null);)W5(r),r.blockedOn===null&&no.shift()}function cs(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var ei={animationend:cs("Animation","AnimationEnd"),animationiteration:cs("Animation","AnimationIteration"),animationstart:cs("Animation","AnimationStart"),transitionend:cs("Transition","TransitionEnd")},pc={},A1={};Pr&&(A1=document.createElement("div").style,"AnimationEvent"in window||(delete ei.animationend.animation,delete ei.animationiteration.animation,delete ei.animationstart.animation),"TransitionEvent"in window||delete ei.transitionend.transition);function su(e){if(pc[e])return pc[e];if(!ei[e])return e;var t=ei[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in A1)return pc[e]=t[r];return e}var I1=su("animationend"),M1=su("animationiteration"),R1=su("animationstart"),L1=su("transitionend"),O1=new Map,up=new Map,U5=["abort","abort",I1,"animationEnd",M1,"animationIteration",R1,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",L1,"transitionEnd","waiting","waiting"];function cp(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],i=e[r+1];i="on"+(i[0].toUpperCase()+i.slice(1)),up.set(n,t),O1.set(n,i),Bn(i,[n])}}var K5=We.unstable_now;K5();var me=8;function Xn(e){if((1&e)!==0)return me=15,1;if((2&e)!==0)return me=14,2;if((4&e)!==0)return me=13,4;var t=24&e;return t!==0?(me=12,t):(e&32)!==0?(me=11,32):(t=192&e,t!==0?(me=10,t):(e&256)!==0?(me=9,256):(t=3584&e,t!==0?(me=8,t):(e&4096)!==0?(me=7,4096):(t=4186112&e,t!==0?(me=6,t):(t=62914560&e,t!==0?(me=5,t):e&67108864?(me=4,67108864):(e&134217728)!==0?(me=3,134217728):(t=805306368&e,t!==0?(me=2,t):(1073741824&e)!==0?(me=1,1073741824):(me=8,e))))))}function G5(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function q5(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(B(358,e))}}function ta(e,t){var r=e.pendingLanes;if(r===0)return me=0;var n=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(o!==0)n=o,i=me=15;else if(o=r&134217727,o!==0){var l=o&~a;l!==0?(n=Xn(l),i=me):(s&=o,s!==0&&(n=Xn(s),i=me))}else o=r&~a,o!==0?(n=Xn(o),i=me):s!==0&&(n=Xn(s),i=me);if(n===0)return 0;if(n=31-ln(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&(t&a)===0){if(Xn(t),i<=me)return t;me=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-ln(t),i=1<<r,n|=e[r],t&=~i;return n}function N1(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function pl(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=Qn(24&~t),e===0?pl(10,t):e;case 10:return e=Qn(192&~t),e===0?pl(8,t):e;case 8:return e=Qn(3584&~t),e===0&&(e=Qn(4186112&~t),e===0&&(e=512)),e;case 2:return t=Qn(805306368&~t),t===0&&(t=268435456),t}throw Error(B(358,e))}function Qn(e){return e&-e}function hc(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function lu(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-ln(t),e[t]=r}var ln=Math.clz32?Math.clz32:X5,Y5=Math.log,Z5=Math.LN2;function X5(e){return e===0?32:31-(Y5(e)/Z5|0)|0}var Q5=We.unstable_UserBlockingPriority,J5=We.unstable_runWithPriority,Ws=!0;function ew(e,t,r,n){_n||ap();var i=dp,o=_n;_n=!0;try{S1(i,e,t,r,n)}finally{(_n=o)||sp()}}function tw(e,t,r,n){J5(Q5,dp.bind(null,e,t,r,n))}function dp(e,t,r,n){if(Ws){var i;if((i=(t&4)===0)&&0<ir.length&&-1<E0.indexOf(e))e=Cd(null,e,t,r,n),ir.push(e);else{var o=fp(e,t,r,n);if(o===null)i&&k0(e,n);else{if(i){if(-1<E0.indexOf(e)){e=Cd(o,e,t,r,n),ir.push(e);return}if(j5(o,e,t,r,n))return;k0(e,n)}q1(e,t,n,null,r)}}}}function fp(e,t,r,n){var i=ip(n);if(i=Tn(i),i!==null){var o=zn(i);if(o===null)i=null;else{var a=o.tag;if(a===13){if(i=C1(o),i!==null)return i;i=null}else if(a===3){if(o.stateNode.hydrate)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return q1(e,t,n,i,r),null}var jr=null,pp=null,Hs=null;function D1(){if(Hs)return Hs;var e,t=pp,r=t.length,n,i="value"in jr?jr.value:jr.textContent,o=i.length;for(e=0;e<r&&t[e]===i[e];e++);var a=r-e;for(n=1;n<=a&&t[r-n]===i[o-n];n++);return Hs=i.slice(e,1<n?1-n:void 0)}function Us(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ds(){return!0}function T0(){return!1}function _t(e){function t(r,n,i,o,a){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(r=e[s],this[s]=r?r(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?ds:T0,this.isPropagationStopped=T0,this}return ke(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=ds)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=ds)},persist:function(){},isPersistent:ds}),t}var Di={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hp=_t(Di),Ia=ke({},Di,{view:0,detail:0}),rw=_t(Ia),vc,mc,ao,uu=ke({},Ia,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vp,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!==ao&&(ao&&e.type==="mousemove"?(vc=e.screenX-ao.screenX,mc=e.screenY-ao.screenY):mc=vc=0,ao=e),vc)},movementY:function(e){return"movementY"in e?e.movementY:mc}}),P0=_t(uu),nw=ke({},uu,{dataTransfer:0}),iw=_t(nw),ow=ke({},Ia,{relatedTarget:0}),gc=_t(ow),aw=ke({},Di,{animationName:0,elapsedTime:0,pseudoElement:0}),sw=_t(aw),lw=ke({},Di,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),uw=_t(lw),cw=ke({},Di,{data:0}),A0=_t(cw),dw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fw={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"},pw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hw(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=pw[e])?!!t[e]:!1}function vp(){return hw}var vw=ke({},Ia,{key:function(e){if(e.key){var t=dw[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Us(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?fw[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vp,charCode:function(e){return e.type==="keypress"?Us(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Us(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),mw=_t(vw),gw=ke({},uu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),I0=_t(gw),yw=ke({},Ia,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vp}),bw=_t(yw),xw=ke({},Di,{propertyName:0,elapsedTime:0,pseudoElement:0}),Sw=_t(xw),ww=ke({},uu,{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}),Cw=_t(ww),Ew=[9,13,27,32],mp=Pr&&"CompositionEvent"in window,Ao=null;Pr&&"documentMode"in document&&(Ao=document.documentMode);var kw=Pr&&"TextEvent"in window&&!Ao,$1=Pr&&(!mp||Ao&&8<Ao&&11>=Ao),M0=String.fromCharCode(32),R0=!1;function B1(e,t){switch(e){case"keyup":return Ew.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function F1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ti=!1;function _w(e,t){switch(e){case"compositionend":return F1(t);case"keypress":return t.which!==32?null:(R0=!0,M0);case"textInput":return e=t.data,e===M0&&R0?null:e;default:return null}}function Tw(e,t){if(ti)return e==="compositionend"||!mp&&B1(e,t)?(e=D1(),Hs=pp=jr=null,ti=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return $1&&t.locale!=="ko"?null:t.data;default:return null}}var Pw={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 L0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Pw[e.type]:t==="textarea"}function z1(e,t,r,n){b1(n),t=hl(t,"onChange"),0<t.length&&(r=new hp("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Io=null,ra=null;function Aw(e){U1(e,0)}function cu(e){var t=ni(e);if(f1(t))return e}function Iw(e,t){if(e==="change")return t}var V1=!1;if(Pr){var yc;if(Pr){var bc="oninput"in document;if(!bc){var O0=document.createElement("div");O0.setAttribute("oninput","return;"),bc=typeof O0.oninput=="function"}yc=bc}else yc=!1;V1=yc&&(!document.documentMode||9<document.documentMode)}function N0(){Io&&(Io.detachEvent("onpropertychange",j1),ra=Io=null)}function j1(e){if(e.propertyName==="value"&&cu(ra)){var t=[];if(z1(t,ra,e,ip(e)),e=Aw,_n)e(t);else{_n=!0;try{op(e,t)}finally{_n=!1,sp()}}}}function Mw(e,t,r){e==="focusin"?(N0(),Io=t,ra=r,Io.attachEvent("onpropertychange",j1)):e==="focusout"&&N0()}function Rw(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return cu(ra)}function Lw(e,t){if(e==="click")return cu(t)}function Ow(e,t){if(e==="input"||e==="change")return cu(t)}function Nw(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Mt=typeof Object.is=="function"?Object.is:Nw,Dw=Object.prototype.hasOwnProperty;function na(e,t){if(Mt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!Dw.call(t,r[n])||!Mt(e[r[n]],t[r[n]]))return!1;return!0}function D0(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $0(e,t){var r=D0(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=D0(r)}}function W1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?W1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function B0(){for(var e=window,t=cl();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=cl(e.document)}return t}function Ed(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var $w=Pr&&"documentMode"in document&&11>=document.documentMode,ri=null,kd=null,Mo=null,_d=!1;function F0(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;_d||ri==null||ri!==cl(n)||(n=ri,"selectionStart"in n&&Ed(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Mo&&na(Mo,n)||(Mo=n,n=hl(kd,"onSelect"),0<n.length&&(t=new hp("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=ri)))}cp("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);cp("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);cp(U5,2);for(var z0="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),xc=0;xc<z0.length;xc++)up.set(z0[xc],0);_i("onMouseEnter",["mouseout","mouseover"]);_i("onMouseLeave",["mouseout","mouseover"]);_i("onPointerEnter",["pointerout","pointerover"]);_i("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 So="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),H1=new Set("cancel close invalid load scroll toggle".split(" ").concat(So));function V0(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,z5(n,t,void 0,e),e.currentTarget=null}function U1(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var o=void 0;if(t)for(var a=n.length-1;0<=a;a--){var s=n[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;V0(i,s,u),o=l}else for(a=0;a<n.length;a++){if(s=n[a],l=s.instance,u=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;V0(i,s,u),o=l}}}if(fl)throw e=Sd,fl=!1,Sd=null,e}function be(e,t){var r=Z1(t),n=e+"__bubble";r.has(n)||(G1(t,e,2,!1),r.add(n))}var j0="_reactListening"+Math.random().toString(36).slice(2);function K1(e){e[j0]||(e[j0]=!0,u1.forEach(function(t){H1.has(t)||W0(t,!1,e,null),W0(t,!0,e,null)}))}function W0(e,t,r,n){var i=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,o=r;if(e==="selectionchange"&&r.nodeType!==9&&(o=r.ownerDocument),n!==null&&!t&&H1.has(e)){if(e!=="scroll")return;i|=2,o=n}var a=Z1(o),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(i|=4),G1(o,e,i,t),a.add(s))}function G1(e,t,r,n){var i=up.get(t);switch(i===void 0?2:i){case 0:i=ew;break;case 1:i=tw;break;default:i=dp}r=i.bind(null,t,r,e),i=void 0,!xd||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),n?i!==void 0?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):i!==void 0?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function q1(e,t,r,n,i){var o=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var a=n.tag;if(a===3||a===4){var s=n.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(a===4)for(a=n.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;a=a.return}for(;s!==null;){if(a=Tn(s),a===null)return;if(l=a.tag,l===5||l===6){n=o=a;continue e}s=s.parentNode}}n=n.return}D5(function(){var u=o,c=ip(r),p=[];e:{var f=O1.get(e);if(f!==void 0){var h=hp,g=e;switch(e){case"keypress":if(Us(r)===0)break e;case"keydown":case"keyup":h=mw;break;case"focusin":g="focus",h=gc;break;case"focusout":g="blur",h=gc;break;case"beforeblur":case"afterblur":h=gc;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=P0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=iw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=bw;break;case I1:case M1:case R1:h=sw;break;case L1:h=Sw;break;case"scroll":h=rw;break;case"wheel":h=Cw;break;case"copy":case"cut":case"paste":h=uw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=I0}var b=(t&4)!==0,m=!b&&e==="scroll",v=b?f!==null?f+"Capture":null:f;b=[];for(var y=u,x;y!==null;){x=y;var w=x.stateNode;if(x.tag===5&&w!==null&&(x=w,v!==null&&(w=Qo(y,v),w!=null&&b.push(ia(y,w,x)))),m)break;y=y.return}0<b.length&&(f=new h(f,g,null,r,c),p.push({event:f,listeners:b}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&(t&16)===0&&(g=r.relatedTarget||r.fromElement)&&(Tn(g)||g[$i]))break e;if((h||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,h?(g=r.relatedTarget||r.toElement,h=u,g=g?Tn(g):null,g!==null&&(m=zn(g),g!==m||g.tag!==5&&g.tag!==6)&&(g=null)):(h=null,g=u),h!==g)){if(b=P0,w="onMouseLeave",v="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(b=I0,w="onPointerLeave",v="onPointerEnter",y="pointer"),m=h==null?f:ni(h),x=g==null?f:ni(g),f=new b(w,y+"leave",h,r,c),f.target=m,f.relatedTarget=x,w=null,Tn(c)===u&&(b=new b(v,y+"enter",g,r,c),b.target=x,b.relatedTarget=m,w=b),m=w,h&&g)t:{for(b=h,v=g,y=0,x=b;x;x=Gn(x))y++;for(x=0,w=v;w;w=Gn(w))x++;for(;0<y-x;)b=Gn(b),y--;for(;0<x-y;)v=Gn(v),x--;for(;y--;){if(b===v||v!==null&&b===v.alternate)break t;b=Gn(b),v=Gn(v)}b=null}else b=null;h!==null&&H0(p,f,h,b,!1),g!==null&&m!==null&&H0(p,m,g,b,!0)}}e:{if(f=u?ni(u):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var k=Iw;else if(L0(f))if(V1)k=Ow;else{k=Rw;var T=Mw}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(k=Lw);if(k&&(k=k(e,u))){z1(p,k,r,c);break e}T&&T(e,f,u),e==="focusout"&&(T=f._wrapperState)&&T.controlled&&f.type==="number"&&fd(f,"number",f.value)}switch(T=u?ni(u):window,e){case"focusin":(L0(T)||T.contentEditable==="true")&&(ri=T,kd=u,Mo=null);break;case"focusout":Mo=kd=ri=null;break;case"mousedown":_d=!0;break;case"contextmenu":case"mouseup":case"dragend":_d=!1,F0(p,r,c);break;case"selectionchange":if($w)break;case"keydown":case"keyup":F0(p,r,c)}var _;if(mp)e:{switch(e){case"compositionstart":var A="onCompositionStart";break e;case"compositionend":A="onCompositionEnd";break e;case"compositionupdate":A="onCompositionUpdate";break e}A=void 0}else ti?B1(e,r)&&(A="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(A="onCompositionStart");A&&($1&&r.locale!=="ko"&&(ti||A!=="onCompositionStart"?A==="onCompositionEnd"&&ti&&(_=D1()):(jr=c,pp="value"in jr?jr.value:jr.textContent,ti=!0)),T=hl(u,A),0<T.length&&(A=new A0(A,e,null,r,c),p.push({event:A,listeners:T}),_?A.data=_:(_=F1(r),_!==null&&(A.data=_)))),(_=kw?_w(e,r):Tw(e,r))&&(u=hl(u,"onBeforeInput"),0<u.length&&(c=new A0("onBeforeInput","beforeinput",null,r,c),p.push({event:c,listeners:u}),c.data=_))}U1(p,t)})}function ia(e,t,r){return{instance:e,listener:t,currentTarget:r}}function hl(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Qo(e,r),o!=null&&n.unshift(ia(e,o,i)),o=Qo(e,t),o!=null&&n.push(ia(e,o,i))),e=e.return}return n}function Gn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function H0(e,t,r,n,i){for(var o=t._reactName,a=[];r!==null&&r!==n;){var s=r,l=s.alternate,u=s.stateNode;if(l!==null&&l===n)break;s.tag===5&&u!==null&&(s=u,i?(l=Qo(r,o),l!=null&&a.unshift(ia(r,l,s))):i||(l=Qo(r,o),l!=null&&a.push(ia(r,l,s)))),r=r.return}a.length!==0&&e.push({event:t,listeners:a})}function vl(){}var Sc=null,wc=null;function Y1(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Td(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var U0=typeof setTimeout=="function"?setTimeout:void 0,Bw=typeof clearTimeout=="function"?clearTimeout:void 0;function gp(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function pi(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function K0(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Cc=0;function Fw(e){return{$$typeof:rp,toString:e,valueOf:e}}var du=Math.random().toString(36).slice(2),Wr="__reactFiber$"+du,ml="__reactProps$"+du,$i="__reactContainer$"+du,G0="__reactEvents$"+du;function Tn(e){var t=e[Wr];if(t)return t;for(var r=e.parentNode;r;){if(t=r[$i]||r[Wr]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=K0(e);e!==null;){if(r=e[Wr])return r;e=K0(e)}return t}e=r,r=e.parentNode}return null}function Ma(e){return e=e[Wr]||e[$i],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ni(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(B(33))}function fu(e){return e[ml]||null}function Z1(e){var t=e[G0];return t===void 0&&(t=e[G0]=new Set),t}var Pd=[],ii=-1;function pn(e){return{current:e}}function Se(e){0>ii||(e.current=Pd[ii],Pd[ii]=null,ii--)}function Te(e,t){ii++,Pd[ii]=e.current,e.current=t}var un={},at=pn(un),mt=pn(!1),Nn=un;function Ti(e,t){var r=e.type.contextTypes;if(!r)return un;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function gt(e){return e=e.childContextTypes,e!=null}function gl(){Se(mt),Se(at)}function q0(e,t,r){if(at.current!==un)throw Error(B(168));Te(at,t),Te(mt,r)}function X1(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in e))throw Error(B(108,ui(t)||"Unknown",i));return ke({},r,n)}function Ks(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||un,Nn=at.current,Te(at,e),Te(mt,mt.current),!0}function Y0(e,t,r){var n=e.stateNode;if(!n)throw Error(B(169));r?(e=X1(e,t,Nn),n.__reactInternalMemoizedMergedChildContext=e,Se(mt),Se(at),Te(at,e)):Se(mt),Te(mt,r)}var yp=null,Ln=null,zw=We.unstable_runWithPriority,bp=We.unstable_scheduleCallback,Ad=We.unstable_cancelCallback,Vw=We.unstable_shouldYield,Z0=We.unstable_requestPaint,Id=We.unstable_now,jw=We.unstable_getCurrentPriorityLevel,pu=We.unstable_ImmediatePriority,Q1=We.unstable_UserBlockingPriority,J1=We.unstable_NormalPriority,ey=We.unstable_LowPriority,ty=We.unstable_IdlePriority,Ec={},Ww=Z0!==void 0?Z0:function(){},xr=null,Gs=null,kc=!1,X0=Id(),it=1e4>X0?Id:function(){return Id()-X0};function Pi(){switch(jw()){case pu:return 99;case Q1:return 98;case J1:return 97;case ey:return 96;case ty:return 95;default:throw Error(B(332))}}function ry(e){switch(e){case 99:return pu;case 98:return Q1;case 97:return J1;case 96:return ey;case 95:return ty;default:throw Error(B(332))}}function Dn(e,t){return e=ry(e),zw(e,t)}function oa(e,t,r){return e=ry(e),bp(e,t,r)}function hr(){if(Gs!==null){var e=Gs;Gs=null,Ad(e)}ny()}function ny(){if(!kc&&xr!==null){kc=!0;var e=0;try{var t=xr;Dn(99,function(){for(;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}}),xr=null}catch(r){throw xr!==null&&(xr=xr.slice(e+1)),bp(pu,hr),r}finally{kc=!1}}}var Hw=Fn.ReactCurrentBatchConfig;function Ht(e,t){if(e&&e.defaultProps){t=ke({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var yl=pn(null),bl=null,oi=null,xl=null;function xp(){xl=oi=bl=null}function Sp(e){var t=yl.current;Se(yl),e.type._context._currentValue=t}function iy(e,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t){if(r===null||(r.childLanes&t)===t)break;r.childLanes|=t}else e.childLanes|=t,r!==null&&(r.childLanes|=t);e=e.return}}function hi(e,t){bl=e,xl=oi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Gt=!0),e.firstContext=null)}function Nt(e,t){if(xl!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(xl=e,t=1073741823),t={context:e,observedBits:t,next:null},oi===null){if(bl===null)throw Error(B(308));oi=t,bl.dependencies={lanes:0,firstContext:t,responders:null}}else oi=oi.next=t;return e._currentValue}var zr=!1;function wp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function oy(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Jr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function en(e,t){if(e=e.updateQueue,e!==null){e=e.shared;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function Q0(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?i=o=a:o=o.next=a,r=r.next}while(r!==null);o===null?i=o=t:o=o.next=t}else i=o=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function aa(e,t,r,n){var i=e.updateQueue;zr=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,u=l.next;l.next=null,a===null?o=u:a.next=u,a=l;var c=e.alternate;if(c!==null){c=c.updateQueue;var p=c.lastBaseUpdate;p!==a&&(p===null?c.firstBaseUpdate=u:p.next=u,c.lastBaseUpdate=l)}}if(o!==null){p=i.baseState,a=0,c=u=l=null;do{s=o.lane;var f=o.eventTime;if((n&s)===s){c!==null&&(c=c.next={eventTime:f,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var h=e,g=o;switch(s=t,f=r,g.tag){case 1:if(h=g.payload,typeof h=="function"){p=h.call(f,p,s);break e}p=h;break e;case 3:h.flags=h.flags&-4097|64;case 0:if(h=g.payload,s=typeof h=="function"?h.call(f,p,s):h,s==null)break e;p=ke({},p,s);break e;case 2:zr=!0}}o.callback!==null&&(e.flags|=32,s=i.effects,s===null?i.effects=[o]:s.push(o))}else f={eventTime:f,lane:s,tag:o.tag,payload:o.payload,callback:o.callback,next:null},c===null?(u=c=f,l=p):c=c.next=f,a|=s;if(o=o.next,o===null){if(s=i.shared.pending,s===null)break;o=s.next,s.next=null,i.lastBaseUpdate=s,i.shared.pending=null}}while(1);c===null&&(l=p),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,La|=a,e.lanes=a,e.memoizedState=p}}function J0(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(i!==null){if(n.callback=null,n=r,typeof i!="function")throw Error(B(191,i));i.call(n)}}}var ay=new iu.Component().refs;function Sl(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:ke({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var hu={isMounted:function(e){return(e=e._reactInternals)?zn(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=wt(),i=tn(e),o=Jr(n,i);o.payload=t,r!=null&&(o.callback=r),en(e,o),rn(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=wt(),i=tn(e),o=Jr(n,i);o.tag=1,o.payload=t,r!=null&&(o.callback=r),en(e,o),rn(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=wt(),n=tn(e),i=Jr(r,n);i.tag=2,t!=null&&(i.callback=t),en(e,i),rn(e,n,r)}};function ev(e,t,r,n,i,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,o,a):t.prototype&&t.prototype.isPureReactComponent?!na(r,n)||!na(i,o):!0}function sy(e,t,r){var n=!1,i=un,o=t.contextType;return typeof o=="object"&&o!==null?o=Nt(o):(i=gt(t)?Nn:at.current,n=t.contextTypes,o=(n=n!=null)?Ti(e,i):un),t=new t(r,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=hu,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function tv(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&hu.enqueueReplaceState(t,t.state,null)}function Md(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=ay,wp(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Nt(o):(o=gt(t)?Nn:at.current,i.context=Ti(e,o)),aa(e,r,i,n),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Sl(e,t,o,r),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&hu.enqueueReplaceState(i,i.state,null),aa(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var fs=Array.isArray;function so(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(B(309));var n=r.stateNode}if(!n)throw Error(B(147,e));var i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=n.refs;a===ay&&(a=n.refs={}),o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(B(284));if(!r._owner)throw Error(B(290,e))}return e}function ps(e,t){if(e.type!=="textarea")throw Error(B(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function ly(e){function t(m,v){if(e){var y=m.lastEffect;y!==null?(y.nextEffect=v,m.lastEffect=v):m.firstEffect=m.lastEffect=v,v.nextEffect=null,v.flags=8}}function r(m,v){if(!e)return null;for(;v!==null;)t(m,v),v=v.sibling;return null}function n(m,v){for(m=new Map;v!==null;)v.key!==null?m.set(v.key,v):m.set(v.index,v),v=v.sibling;return m}function i(m,v){return m=dn(m,v),m.index=0,m.sibling=null,m}function o(m,v,y){return m.index=y,e?(y=m.alternate,y!==null?(y=y.index,y<v?(m.flags=2,v):y):(m.flags=2,v)):v}function a(m){return e&&m.alternate===null&&(m.flags=2),m}function s(m,v,y,x){return v===null||v.tag!==6?(v=Ic(y,m.mode,x),v.return=m,v):(v=i(v,y),v.return=m,v)}function l(m,v,y,x){return v!==null&&v.elementType===y.type?(x=i(v,y.props),x.ref=so(m,v,y),x.return=m,x):(x=Xs(y.type,y.key,y.props,null,m.mode,x),x.ref=so(m,v,y),x.return=m,x)}function u(m,v,y,x){return v===null||v.tag!==4||v.stateNode.containerInfo!==y.containerInfo||v.stateNode.implementation!==y.implementation?(v=Mc(y,m.mode,x),v.return=m,v):(v=i(v,y.children||[]),v.return=m,v)}function c(m,v,y,x,w){return v===null||v.tag!==7?(v=yi(y,m.mode,x,w),v.return=m,v):(v=i(v,y),v.return=m,v)}function p(m,v,y){if(typeof v=="string"||typeof v=="number")return v=Ic(""+v,m.mode,y),v.return=m,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case bo:return y=Xs(v.type,v.key,v.props,null,m.mode,y),y.ref=so(m,null,v),y.return=m,y;case kn:return v=Mc(v,m.mode,y),v.return=m,v}if(fs(v)||to(v))return v=yi(v,m.mode,y,null),v.return=m,v;ps(m,v)}return null}function f(m,v,y,x){var w=v!==null?v.key:null;if(typeof y=="string"||typeof y=="number")return w!==null?null:s(m,v,""+y,x);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case bo:return y.key===w?y.type===Vr?c(m,v,y.props.children,x,w):l(m,v,y,x):null;case kn:return y.key===w?u(m,v,y,x):null}if(fs(y)||to(y))return w!==null?null:c(m,v,y,x,null);ps(m,y)}return null}function h(m,v,y,x,w){if(typeof x=="string"||typeof x=="number")return m=m.get(y)||null,s(v,m,""+x,w);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case bo:return m=m.get(x.key===null?y:x.key)||null,x.type===Vr?c(v,m,x.props.children,w,x.key):l(v,m,x,w);case kn:return m=m.get(x.key===null?y:x.key)||null,u(v,m,x,w)}if(fs(x)||to(x))return m=m.get(y)||null,c(v,m,x,w,null);ps(v,x)}return null}function g(m,v,y,x){for(var w=null,k=null,T=v,_=v=0,A=null;T!==null&&_<y.length;_++){T.index>_?(A=T,T=null):A=T.sibling;var I=f(m,T,y[_],x);if(I===null){T===null&&(T=A);break}e&&T&&I.alternate===null&&t(m,T),v=o(I,v,_),k===null?w=I:k.sibling=I,k=I,T=A}if(_===y.length)return r(m,T),w;if(T===null){for(;_<y.length;_++)T=p(m,y[_],x),T!==null&&(v=o(T,v,_),k===null?w=T:k.sibling=T,k=T);return w}for(T=n(m,T);_<y.length;_++)A=h(T,m,_,y[_],x),A!==null&&(e&&A.alternate!==null&&T.delete(A.key===null?_:A.key),v=o(A,v,_),k===null?w=A:k.sibling=A,k=A);return e&&T.forEach(function(N){return t(m,N)}),w}function b(m,v,y,x){var w=to(y);if(typeof w!="function")throw Error(B(150));if(y=w.call(y),y==null)throw Error(B(151));for(var k=w=null,T=v,_=v=0,A=null,I=y.next();T!==null&&!I.done;_++,I=y.next()){T.index>_?(A=T,T=null):A=T.sibling;var N=f(m,T,I.value,x);if(N===null){T===null&&(T=A);break}e&&T&&N.alternate===null&&t(m,T),v=o(N,v,_),k===null?w=N:k.sibling=N,k=N,T=A}if(I.done)return r(m,T),w;if(T===null){for(;!I.done;_++,I=y.next())I=p(m,I.value,x),I!==null&&(v=o(I,v,_),k===null?w=I:k.sibling=I,k=I);return w}for(T=n(m,T);!I.done;_++,I=y.next())I=h(T,m,_,I.value,x),I!==null&&(e&&I.alternate!==null&&T.delete(I.key===null?_:I.key),v=o(I,v,_),k===null?w=I:k.sibling=I,k=I);return e&&T.forEach(function(U){return t(m,U)}),w}return function(m,v,y,x){var w=typeof y=="object"&&y!==null&&y.type===Vr&&y.key===null;w&&(y=y.props.children);var k=typeof y=="object"&&y!==null;if(k)switch(y.$$typeof){case bo:e:{for(k=y.key,w=v;w!==null;){if(w.key===k){switch(w.tag){case 7:if(y.type===Vr){r(m,w.sibling),v=i(w,y.props.children),v.return=m,m=v;break e}break;default:if(w.elementType===y.type){r(m,w.sibling),v=i(w,y.props),v.ref=so(m,w,y),v.return=m,m=v;break e}}r(m,w);break}else t(m,w);w=w.sibling}y.type===Vr?(v=yi(y.props.children,m.mode,x,y.key),v.return=m,m=v):(x=Xs(y.type,y.key,y.props,null,m.mode,x),x.ref=so(m,v,y),x.return=m,m=x)}return a(m);case kn:e:{for(w=y.key;v!==null;){if(v.key===w)if(v.tag===4&&v.stateNode.containerInfo===y.containerInfo&&v.stateNode.implementation===y.implementation){r(m,v.sibling),v=i(v,y.children||[]),v.return=m,m=v;break e}else{r(m,v);break}else t(m,v);v=v.sibling}v=Mc(y,m.mode,x),v.return=m,m=v}return a(m)}if(typeof y=="string"||typeof y=="number")return y=""+y,v!==null&&v.tag===6?(r(m,v.sibling),v=i(v,y),v.return=m,m=v):(r(m,v),v=Ic(y,m.mode,x),v.return=m,m=v),a(m);if(fs(y))return g(m,v,y,x);if(to(y))return b(m,v,y,x);if(k&&ps(m,y),typeof y=="undefined"&&!w)switch(m.tag){case 1:case 22:case 0:case 11:case 15:throw Error(B(152,ui(m.type)||"Component"))}return r(m,v)}}var wl=ly(!0),uy=ly(!1),Ra={},sr=pn(Ra),sa=pn(Ra),la=pn(Ra);function Pn(e){if(e===Ra)throw Error(B(174));return e}function Rd(e,t){switch(Te(la,t),Te(sa,e),Te(sr,Ra),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:md(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=md(t,e)}Se(sr),Te(sr,t)}function Ai(){Se(sr),Se(sa),Se(la)}function rv(e){Pn(la.current);var t=Pn(sr.current),r=md(t,e.type);t!==r&&(Te(sa,e),Te(sr,r))}function Cp(e){sa.current===e&&(Se(sr),Se(sa))}var _e=pn(0);function Cl(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&64)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Er=null,Hr=null,lr=!1;function cy(e,t){var r=Rt(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function nv(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function Ld(e){if(lr){var t=Hr;if(t){var r=t;if(!nv(e,t)){if(t=pi(r.nextSibling),!t||!nv(e,t)){e.flags=e.flags&-1025|2,lr=!1,Er=e;return}cy(Er,r)}Er=e,Hr=pi(t.firstChild)}else e.flags=e.flags&-1025|2,lr=!1,Er=e}}function iv(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Er=e}function hs(e){if(e!==Er)return!1;if(!lr)return iv(e),lr=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Td(t,e.memoizedProps))for(t=Hr;t;)cy(e,t),t=pi(t.nextSibling);if(iv(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(B(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Hr=pi(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Hr=null}}else Hr=Er?pi(e.stateNode.nextSibling):null;return!0}function _c(){Hr=Er=null,lr=!1}var vi=[];function Ep(){for(var e=0;e<vi.length;e++)vi[e]._workInProgressVersionPrimary=null;vi.length=0}var Ro=Fn.ReactCurrentDispatcher,Ot=Fn.ReactCurrentBatchConfig,ua=0,Ie=null,rt=null,Ye=null,El=!1,Lo=!1;function pt(){throw Error(B(321))}function kp(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Mt(e[r],t[r]))return!1;return!0}function _p(e,t,r,n,i,o){if(ua=o,Ie=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ro.current=e===null||e.memoizedState===null?Kw:Gw,e=r(n,i),Lo){o=0;do{if(Lo=!1,!(25>o))throw Error(B(301));o+=1,Ye=rt=null,t.updateQueue=null,Ro.current=qw,e=r(n,i)}while(Lo)}if(Ro.current=Pl,t=rt!==null&&rt.next!==null,ua=0,Ye=rt=Ie=null,El=!1,t)throw Error(B(300));return e}function An(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ye===null?Ie.memoizedState=Ye=e:Ye=Ye.next=e,Ye}function Vn(){if(rt===null){var e=Ie.alternate;e=e!==null?e.memoizedState:null}else e=rt.next;var t=Ye===null?Ie.memoizedState:Ye.next;if(t!==null)Ye=t,rt=e;else{if(e===null)throw Error(B(310));rt=e,e={memoizedState:rt.memoizedState,baseState:rt.baseState,baseQueue:rt.baseQueue,queue:rt.queue,next:null},Ye===null?Ie.memoizedState=Ye=e:Ye=Ye.next=e}return Ye}function or(e,t){return typeof t=="function"?t(e):t}function lo(e){var t=Vn(),r=t.queue;if(r===null)throw Error(B(311));r.lastRenderedReducer=e;var n=rt,i=n.baseQueue,o=r.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}n.baseQueue=i=o,r.pending=null}if(i!==null){i=i.next,n=n.baseState;var s=a=o=null,l=i;do{var u=l.lane;if((ua&u)===u)s!==null&&(s=s.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),n=l.eagerReducer===e?l.eagerState:e(n,l.action);else{var c={lane:u,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};s===null?(a=s=c,o=n):s=s.next=c,Ie.lanes|=u,La|=u}l=l.next}while(l!==null&&l!==i);s===null?o=n:s.next=a,Mt(n,t.memoizedState)||(Gt=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=s,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function uo(e){var t=Vn(),r=t.queue;if(r===null)throw Error(B(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,o=t.memoizedState;if(i!==null){r.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);Mt(o,t.memoizedState)||(Gt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function ov(e,t,r){var n=t._getVersion;n=n(t._source);var i=t._workInProgressVersionPrimary;if(i!==null?e=i===n:(e=e.mutableReadLanes,(e=(ua&e)===e)&&(t._workInProgressVersionPrimary=n,vi.push(t))),e)return r(t._source);throw vi.push(t),Error(B(350))}function dy(e,t,r,n){var i=dt;if(i===null)throw Error(B(349));var o=t._getVersion,a=o(t._source),s=Ro.current,l=s.useState(function(){return ov(i,t,r)}),u=l[1],c=l[0];l=Ye;var p=e.memoizedState,f=p.refs,h=f.getSnapshot,g=p.source;p=p.subscribe;var b=Ie;return e.memoizedState={refs:f,source:t,subscribe:n},s.useEffect(function(){f.getSnapshot=r,f.setSnapshot=u;var m=o(t._source);if(!Mt(a,m)){m=r(t._source),Mt(c,m)||(u(m),m=tn(b),i.mutableReadLanes|=m&i.pendingLanes),m=i.mutableReadLanes,i.entangledLanes|=m;for(var v=i.entanglements,y=m;0<y;){var x=31-ln(y),w=1<<x;v[x]|=m,y&=~w}}},[r,t,n]),s.useEffect(function(){return n(t._source,function(){var m=f.getSnapshot,v=f.setSnapshot;try{v(m(t._source));var y=tn(b);i.mutableReadLanes|=y&i.pendingLanes}catch(x){v(function(){throw x})}})},[t,n]),Mt(h,r)&&Mt(g,t)&&Mt(p,n)||(e={pending:null,dispatch:null,lastRenderedReducer:or,lastRenderedState:c},e.dispatch=u=Ap.bind(null,Ie,e),l.queue=e,l.baseQueue=null,c=ov(i,t,r),l.memoizedState=l.baseState=c),c}function fy(e,t,r){var n=Vn();return dy(n,e,t,r)}function co(e){var t=An();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:or,lastRenderedState:e},e=e.dispatch=Ap.bind(null,Ie,e),[t.memoizedState,e]}function kl(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=Ie.updateQueue,t===null?(t={lastEffect:null},Ie.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function av(e){var t=An();return e={current:e},t.memoizedState=e}function _l(){return Vn().memoizedState}function Od(e,t,r,n){var i=An();Ie.flags|=e,i.memoizedState=kl(1|t,r,void 0,n===void 0?null:n)}function Tp(e,t,r,n){var i=Vn();n=n===void 0?null:n;var o=void 0;if(rt!==null){var a=rt.memoizedState;if(o=a.destroy,n!==null&&kp(n,a.deps)){kl(t,r,o,n);return}}Ie.flags|=e,i.memoizedState=kl(1|t,r,o,n)}function sv(e,t){return Od(516,4,e,t)}function Tl(e,t){return Tp(516,4,e,t)}function py(e,t){return Tp(4,2,e,t)}function hy(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function vy(e,t,r){return r=r!=null?r.concat([e]):null,Tp(4,2,hy.bind(null,t,e),r)}function Pp(){}function my(e,t){var r=Vn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&kp(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function gy(e,t){var r=Vn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&kp(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Uw(e,t){var r=Pi();Dn(98>r?98:r,function(){e(!0)}),Dn(97<r?97:r,function(){var n=Ot.transition;Ot.transition=1;try{e(!1),t()}finally{Ot.transition=n}})}function Ap(e,t,r){var n=wt(),i=tn(e),o={lane:i,action:r,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(a===null?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===Ie||a!==null&&a===Ie)Lo=El=!0;else{if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var s=t.lastRenderedState,l=a(s,r);if(o.eagerReducer=a,o.eagerState=l,Mt(l,s))return}catch{}finally{}rn(e,i,n)}}var Pl={readContext:Nt,useCallback:pt,useContext:pt,useEffect:pt,useImperativeHandle:pt,useLayoutEffect:pt,useMemo:pt,useReducer:pt,useRef:pt,useState:pt,useDebugValue:pt,useDeferredValue:pt,useTransition:pt,useMutableSource:pt,useOpaqueIdentifier:pt,unstable_isNewReconciler:!1},Kw={readContext:Nt,useCallback:function(e,t){return An().memoizedState=[e,t===void 0?null:t],e},useContext:Nt,useEffect:sv,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Od(4,2,hy.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Od(4,2,e,t)},useMemo:function(e,t){var r=An();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=An();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=Ap.bind(null,Ie,e),[n.memoizedState,e]},useRef:av,useState:co,useDebugValue:Pp,useDeferredValue:function(e){var t=co(e),r=t[0],n=t[1];return sv(function(){var i=Ot.transition;Ot.transition=1;try{n(e)}finally{Ot.transition=i}},[e]),r},useTransition:function(){var e=co(!1),t=e[0];return e=Uw.bind(null,e[1]),av(e),[e,t]},useMutableSource:function(e,t,r){var n=An();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},dy(n,e,t,r)},useOpaqueIdentifier:function(){if(lr){var e=!1,t=Fw(function(){throw e||(e=!0,r("r:"+(Cc++).toString(36))),Error(B(355))}),r=co(t)[1];return(Ie.mode&2)===0&&(Ie.flags|=516,kl(5,function(){r("r:"+(Cc++).toString(36))},void 0,null)),t}return t="r:"+(Cc++).toString(36),co(t),t},unstable_isNewReconciler:!1},Gw={readContext:Nt,useCallback:my,useContext:Nt,useEffect:Tl,useImperativeHandle:vy,useLayoutEffect:py,useMemo:gy,useReducer:lo,useRef:_l,useState:function(){return lo(or)},useDebugValue:Pp,useDeferredValue:function(e){var t=lo(or),r=t[0],n=t[1];return Tl(function(){var i=Ot.transition;Ot.transition=1;try{n(e)}finally{Ot.transition=i}},[e]),r},useTransition:function(){var e=lo(or)[0];return[_l().current,e]},useMutableSource:fy,useOpaqueIdentifier:function(){return lo(or)[0]},unstable_isNewReconciler:!1},qw={readContext:Nt,useCallback:my,useContext:Nt,useEffect:Tl,useImperativeHandle:vy,useLayoutEffect:py,useMemo:gy,useReducer:uo,useRef:_l,useState:function(){return uo(or)},useDebugValue:Pp,useDeferredValue:function(e){var t=uo(or),r=t[0],n=t[1];return Tl(function(){var i=Ot.transition;Ot.transition=1;try{n(e)}finally{Ot.transition=i}},[e]),r},useTransition:function(){var e=uo(or)[0];return[_l().current,e]},useMutableSource:fy,useOpaqueIdentifier:function(){return uo(or)[0]},unstable_isNewReconciler:!1},Yw=Fn.ReactCurrentOwner,Gt=!1;function ht(e,t,r,n){t.child=e===null?uy(t,null,r,n):wl(t,e.child,r,n)}function lv(e,t,r,n,i){r=r.render;var o=t.ref;return hi(t,i),n=_p(e,t,r,n,o,i),e!==null&&!Gt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,kr(e,t,i)):(t.flags|=1,ht(e,t,n,i),t.child)}function uv(e,t,r,n,i,o){if(e===null){var a=r.type;return typeof a=="function"&&!Np(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,yy(e,t,a,n,i,o)):(e=Xs(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}return a=e.child,(i&o)===0&&(i=a.memoizedProps,r=r.compare,r=r!==null?r:na,r(i,n)&&e.ref===t.ref)?kr(e,t,o):(t.flags|=1,e=dn(a,n),e.ref=t.ref,e.return=t,t.child=e)}function yy(e,t,r,n,i,o){if(e!==null&&na(e.memoizedProps,n)&&e.ref===t.ref)if(Gt=!1,(o&i)!==0)(e.flags&16384)!==0&&(Gt=!0);else return t.lanes=e.lanes,kr(e,t,o);return Nd(e,t,r,n,o)}function Tc(e,t,r){var n=t.pendingProps,i=n.children,o=e!==null?e.memoizedState:null;if(n.mode==="hidden"||n.mode==="unstable-defer-without-hiding")if((t.mode&4)===0)t.memoizedState={baseLanes:0},ms(t,r);else if((r&1073741824)!==0)t.memoizedState={baseLanes:0},ms(t,o!==null?o.baseLanes:r);else return e=o!==null?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},ms(t,e),null;else o!==null?(n=o.baseLanes|r,t.memoizedState=null):n=r,ms(t,n);return ht(e,t,i,r),t.child}function by(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function Nd(e,t,r,n,i){var o=gt(r)?Nn:at.current;return o=Ti(t,o),hi(t,i),r=_p(e,t,r,n,o,i),e!==null&&!Gt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,kr(e,t,i)):(t.flags|=1,ht(e,t,r,i),t.child)}function cv(e,t,r,n,i){if(gt(r)){var o=!0;Ks(t)}else o=!1;if(hi(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),sy(t,r,n),Md(t,r,n,i),n=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=r.contextType;typeof u=="object"&&u!==null?u=Nt(u):(u=gt(r)?Nn:at.current,u=Ti(t,u));var c=r.getDerivedStateFromProps,p=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";p||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==n||l!==u)&&tv(t,a,n,u),zr=!1;var f=t.memoizedState;a.state=f,aa(t,n,a,i),l=t.memoizedState,s!==n||f!==l||mt.current||zr?(typeof c=="function"&&(Sl(t,r,c,n),l=t.memoizedState),(s=zr||ev(t,r,s,n,f,l,u))?(p||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4)):(typeof a.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=l),a.props=n,a.state=l,a.context=u,n=s):(typeof a.componentDidMount=="function"&&(t.flags|=4),n=!1)}else{a=t.stateNode,oy(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Ht(t.type,s),a.props=u,p=t.pendingProps,f=a.context,l=r.contextType,typeof l=="object"&&l!==null?l=Nt(l):(l=gt(r)?Nn:at.current,l=Ti(t,l));var h=r.getDerivedStateFromProps;(c=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==p||f!==l)&&tv(t,a,n,l),zr=!1,f=t.memoizedState,a.state=f,aa(t,n,a,i);var g=t.memoizedState;s!==p||f!==g||mt.current||zr?(typeof h=="function"&&(Sl(t,r,h,n),g=t.memoizedState),(u=zr||ev(t,r,u,n,f,g,l))?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(n,g,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(n,g,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=g),a.props=n,a.state=g,a.context=l,n=u):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),n=!1)}return Dd(e,t,r,n,o,i)}function Dd(e,t,r,n,i,o){by(e,t);var a=(t.flags&64)!==0;if(!n&&!a)return i&&Y0(t,r,!1),kr(e,t,o);n=t.stateNode,Yw.current=t;var s=a&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&a?(t.child=wl(t,e.child,null,o),t.child=wl(t,null,s,o)):ht(e,t,s,o),t.memoizedState=n.state,i&&Y0(t,r,!0),t.child}function dv(e){var t=e.stateNode;t.pendingContext?q0(e,t.pendingContext,t.pendingContext!==t.context):t.context&&q0(e,t.context,!1),Rd(e,t.containerInfo)}var vs={dehydrated:null,retryLane:0};function fv(e,t,r){var n=t.pendingProps,i=_e.current,o=!1,a;return(a=(t.flags&64)!==0)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-65):e!==null&&e.memoizedState===null||n.fallback===void 0||n.unstable_avoidThisFallback===!0||(i|=1),Te(_e,i&1),e===null?(n.fallback!==void 0&&Ld(t),e=n.children,i=n.fallback,o?(e=pv(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=vs,e):typeof n.unstable_expectedLoadTime=="number"?(e=pv(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=vs,t.lanes=33554432,e):(r=Dp({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?o?(n=vv(e,t,n.children,n.fallback,r),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},o.childLanes=e.childLanes&~r,t.memoizedState=vs,n):(r=hv(e,t,n.children,r),t.memoizedState=null,r):o?(n=vv(e,t,n.children,n.fallback,r),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},o.childLanes=e.childLanes&~r,t.memoizedState=vs,n):(r=hv(e,t,n.children,r),t.memoizedState=null,r)}function pv(e,t,r,n){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},(i&2)===0&&o!==null?(o.childLanes=0,o.pendingProps=t):o=Dp(t,i,0,null),r=yi(r,i,n,null),o.return=e,r.return=e,o.sibling=r,e.child=o,r}function hv(e,t,r,n){var i=e.child;return e=i.sibling,r=dn(i,{mode:"visible",children:r}),(t.mode&2)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=r}function vv(e,t,r,n,i){var o=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:r};return(o&2)===0&&t.child!==a?(r=t.child,r.childLanes=0,r.pendingProps=s,a=r.lastEffect,a!==null?(t.firstEffect=r.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):r=dn(a,s),e!==null?n=dn(e,n):(n=yi(n,o,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function mv(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),iy(e.return,t)}function Pc(e,t,r,n,i,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=i,a.lastEffect=o)}function gv(e,t,r){var n=t.pendingProps,i=n.revealOrder,o=n.tail;if(ht(e,t,n.children,r),n=_e.current,(n&2)!==0)n=n&1|2,t.flags|=64;else{if(e!==null&&(e.flags&64)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&mv(e,r);else if(e.tag===19)mv(e,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Te(_e,n),(t.mode&2)===0)t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&Cl(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Pc(t,!1,i,r,o,t.lastEffect);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Cl(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Pc(t,!0,r,null,o,t.lastEffect);break;case"together":Pc(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function kr(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),La|=t.lanes,(r&t.childLanes)!==0){if(e!==null&&t.child!==e.child)throw Error(B(153));if(t.child!==null){for(e=t.child,r=dn(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=dn(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var xy,$d,Sy,wy;xy=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};$d=function(){};Sy=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,Pn(sr.current);var o=null;switch(r){case"input":i=cd(e,i),n=cd(e,n),o=[];break;case"option":i=pd(e,i),n=pd(e,n),o=[];break;case"select":i=ke({},i,{value:void 0}),n=ke({},n,{value:void 0}),o=[];break;case"textarea":i=hd(e,i),n=hd(e,n),o=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=vl)}gd(r,n);var a;r=null;for(u in i)if(!n.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(a in s)s.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Zo.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in n){var l=n[u];if(s=i!=null?i[u]:void 0,n.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(r||(r={}),r[a]=l[a])}else r||(o||(o=[]),o.push(u,r)),r=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Zo.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&be("scroll",e),o||s===l||(o=[])):typeof l=="object"&&l!==null&&l.$$typeof===rp?l.toString():(o=o||[]).push(u,l))}r&&(o=o||[]).push("style",r);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};wy=function(e,t,r,n){r!==n&&(t.flags|=4)};function fo(e,t){if(!lr)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Zw(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return gt(t.type)&&gl(),null;case 3:return Ai(),Se(mt),Se(at),Ep(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(hs(t)?t.flags|=4:n.hydrate||(t.flags|=256)),$d(t),null;case 5:Cp(t);var i=Pn(la.current);if(r=t.type,e!==null&&t.stateNode!=null)Sy(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=128);else{if(!n){if(t.stateNode===null)throw Error(B(166));return null}if(e=Pn(sr.current),hs(t)){n=t.stateNode,r=t.type;var o=t.memoizedProps;switch(n[Wr]=t,n[ml]=o,r){case"dialog":be("cancel",n),be("close",n);break;case"iframe":case"object":case"embed":be("load",n);break;case"video":case"audio":for(e=0;e<So.length;e++)be(So[e],n);break;case"source":be("error",n);break;case"img":case"image":case"link":be("error",n),be("load",n);break;case"details":be("toggle",n);break;case"input":g0(n,o),be("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!o.multiple},be("invalid",n);break;case"textarea":b0(n,o),be("invalid",n)}gd(r,o),e=null;for(var a in o)o.hasOwnProperty(a)&&(i=o[a],a==="children"?typeof i=="string"?n.textContent!==i&&(e=["children",i]):typeof i=="number"&&n.textContent!==""+i&&(e=["children",""+i]):Zo.hasOwnProperty(a)&&i!=null&&a==="onScroll"&&be("scroll",n));switch(r){case"input":ls(n),y0(n,o,!0);break;case"textarea":ls(n),x0(n);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(n.onclick=vl)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(a=i.nodeType===9?i:i.ownerDocument,e===vd.html&&(e=v1(r)),e===vd.html?r==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[Wr]=t,e[ml]=n,xy(e,t,!1,!1),t.stateNode=e,a=yd(r,n),r){case"dialog":be("cancel",e),be("close",e),i=n;break;case"iframe":case"object":case"embed":be("load",e),i=n;break;case"video":case"audio":for(i=0;i<So.length;i++)be(So[i],e);i=n;break;case"source":be("error",e),i=n;break;case"img":case"image":case"link":be("error",e),be("load",e),i=n;break;case"details":be("toggle",e),i=n;break;case"input":g0(e,n),i=cd(e,n),be("invalid",e);break;case"option":i=pd(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=ke({},n,{value:void 0}),be("invalid",e);break;case"textarea":b0(e,n),i=hd(e,n),be("invalid",e);break;default:i=n}gd(r,i);var s=i;for(o in s)if(s.hasOwnProperty(o)){var l=s[o];o==="style"?y1(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&m1(e,l)):o==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&Xo(e,l):typeof l=="number"&&Xo(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Zo.hasOwnProperty(o)?l!=null&&o==="onScroll"&&be("scroll",e):l!=null&&Zf(e,o,l,a))}switch(r){case"input":ls(e),y0(e,n,!1);break;case"textarea":ls(e),x0(e);break;case"option":n.value!=null&&e.setAttribute("value",""+sn(n.value));break;case"select":e.multiple=!!n.multiple,o=n.value,o!=null?ci(e,!!n.multiple,o,!1):n.defaultValue!=null&&ci(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=vl)}Y1(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)wy(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(B(166));r=Pn(la.current),Pn(sr.current),hs(t)?(n=t.stateNode,r=t.memoizedProps,n[Wr]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Wr]=t,t.stateNode=n)}return null;case 13:return Se(_e),n=t.memoizedState,(t.flags&64)!==0?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&hs(t):r=e.memoizedState!==null,n&&!r&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(_e.current&1)!==0?Ze===0&&(Ze=3):((Ze===0||Ze===3)&&(Ze=4),dt===null||(La&134217727)===0&&(Fi&134217727)===0||mi(dt,ot))),(n||r)&&(t.flags|=4),null);case 4:return Ai(),$d(t),e===null&&K1(t.stateNode.containerInfo),null;case 10:return Sp(t),null;case 17:return gt(t.type)&&gl(),null;case 19:if(Se(_e),n=t.memoizedState,n===null)return null;if(o=(t.flags&64)!==0,a=n.rendering,a===null)if(o)fo(n,!1);else{if(Ze!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(a=Cl(e),a!==null){for(t.flags|=64,fo(n,!1),o=a.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),n.lastEffect===null&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=r,r=t.child;r!==null;)o=r,e=n,o.flags&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Te(_e,_e.current&1|2),t.child}e=e.sibling}n.tail!==null&&it()>Wd&&(t.flags|=64,o=!0,fo(n,!1),t.lanes=33554432)}else{if(!o)if(e=Cl(a),e!==null){if(t.flags|=64,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),fo(n,!0),n.tail===null&&n.tailMode==="hidden"&&!a.alternate&&!lr)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*it()-n.renderingStartTime>Wd&&r!==1073741824&&(t.flags|=64,o=!0,fo(n,!1),t.lanes=33554432);n.isBackwards?(a.sibling=t.child,t.child=a):(r=n.last,r!==null?r.sibling=a:t.child=a,n.last=a)}return n.tail!==null?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=it(),r.sibling=null,t=_e.current,Te(_e,o?t&1|2:t&1),r):null;case 23:case 24:return Op(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&n.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(B(156,t.tag))}function Xw(e){switch(e.tag){case 1:gt(e.type)&&gl();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Ai(),Se(mt),Se(at),Ep(),t=e.flags,(t&64)!==0)throw Error(B(285));return e.flags=t&-4097|64,e;case 5:return Cp(e),null;case 13:return Se(_e),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return Se(_e),null;case 4:return Ai(),null;case 10:return Sp(e),null;case 23:case 24:return Op(),null;default:return null}}function Ip(e,t){try{var r="",n=t;do r+=M5(n),n=n.return;while(n);var i=r}catch(o){i=`
Error generating stack: `+o.message+`
`+o.stack}return{value:e,source:t,stack:i}}function Bd(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var Qw=typeof WeakMap=="function"?WeakMap:Map;function Cy(e,t,r){r=Jr(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Il||(Il=!0,Hd=n),Bd(e,t)},r}function Ey(e,t,r){r=Jr(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return Bd(e,t),n(i)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(ar===null?ar=new Set([this]):ar.add(this),Bd(e,t));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),r}var Jw=typeof WeakSet=="function"?WeakSet:Set;function yv(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){nn(e,r)}else t.current=null}function eC(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var r=e.memoizedProps,n=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?r:Ht(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&gp(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(B(163))}function tC(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var i=e;n=i.next,i=i.tag,(i&4)!==0&&(i&1)!==0&&(Ly(r,e),uC(r,e)),e=n}while(e!==t)}return;case 1:e=r.stateNode,r.flags&4&&(t===null?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:Ht(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&J0(r,t,e);return;case 3:if(t=r.updateQueue,t!==null){if(e=null,r.child!==null)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}J0(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&Y1(r.type,r.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:r.memoizedState===null&&(r=r.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&P1(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(B(163))}function bv(e,t){for(var r=e;;){if(r.tag===5){var n=r.stateNode;if(t)n=n.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var i=r.memoizedProps.style;i=i!=null&&i.hasOwnProperty("display")?i.display:null,n.style.display=g1("display",i)}}else if(r.tag===6)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((r.tag!==23&&r.tag!==24||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function xv(e,t){if(Ln&&typeof Ln.onCommitFiberUnmount=="function")try{Ln.onCommitFiberUnmount(yp,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var r=e=e.next;do{var n=r,i=n.destroy;if(n=n.tag,i!==void 0)if((n&4)!==0)Ly(t,r);else{n=t;try{i()}catch(o){nn(n,o)}}r=r.next}while(r!==e)}break;case 1:if(yv(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){nn(t,o)}break;case 5:yv(t);break;case 4:ky(e,t)}}function Sv(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function wv(e){return e.tag===5||e.tag===3||e.tag===4}function Cv(e){e:{for(var t=e.return;t!==null;){if(wv(t))break e;t=t.return}throw Error(B(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:t=t.containerInfo,n=!0;break;case 4:t=t.containerInfo,n=!0;break;default:throw Error(B(161))}r.flags&16&&(Xo(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||wv(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue t;r.child.return=r,r=r.child}if(!(r.flags&2)){r=r.stateNode;break e}}n?Fd(e,r,t):zd(e,r,t)}function Fd(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=vl));else if(n!==4&&(e=e.child,e!==null))for(Fd(e,t,r),e=e.sibling;e!==null;)Fd(e,t,r),e=e.sibling}function zd(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(zd(e,t,r),e=e.sibling;e!==null;)zd(e,t,r),e=e.sibling}function ky(e,t){for(var r=t,n=!1,i,o;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(B(160));switch(i=n.stateNode,n.tag){case 5:o=!1;break e;case 3:i=i.containerInfo,o=!0;break e;case 4:i=i.containerInfo,o=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var a=e,s=r,l=s;;)if(xv(a,l),l.child!==null&&l.tag!==4)l.child.return=l,l=l.child;else{if(l===s)break e;for(;l.sibling===null;){if(l.return===null||l.return===s)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}o?(a=i,s=r.stateNode,a.nodeType===8?a.parentNode.removeChild(s):a.removeChild(s)):i.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){i=r.stateNode.containerInfo,o=!0,r.child.return=r,r=r.child;continue}}else if(xv(e,r),r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return,r.tag===4&&(n=!1)}r.sibling.return=r.return,r=r.sibling}}function Ac(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do(n.tag&3)===3&&(e=n.destroy,n.destroy=void 0,e!==void 0&&e()),n=n.next;while(n!==r)}return;case 1:return;case 5:if(r=t.stateNode,r!=null){n=t.memoizedProps;var i=e!==null?e.memoizedProps:n;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,o!==null){for(r[ml]=n,e==="input"&&n.type==="radio"&&n.name!=null&&p1(r,n),yd(e,i),t=yd(e,n),i=0;i<o.length;i+=2){var a=o[i],s=o[i+1];a==="style"?y1(r,s):a==="dangerouslySetInnerHTML"?m1(r,s):a==="children"?Xo(r,s):Zf(r,a,s,t)}switch(e){case"input":dd(r,n);break;case"textarea":h1(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,o=n.value,o!=null?ci(r,!!n.multiple,o,!1):e!==!!n.multiple&&(n.defaultValue!=null?ci(r,!!n.multiple,n.defaultValue,!0):ci(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(B(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:r=t.stateNode,r.hydrate&&(r.hydrate=!1,P1(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(Lp=it(),bv(t.child,!0)),Ev(t);return;case 19:Ev(t);return;case 17:return;case 23:case 24:bv(t,t.memoizedState!==null);return}throw Error(B(163))}function Ev(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new Jw),t.forEach(function(n){var i=fC.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function rC(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var nC=Math.ceil,Al=Fn.ReactCurrentDispatcher,Mp=Fn.ReactCurrentOwner,Z=0,dt=null,Fe=null,ot=0,$n=0,Vd=pn(0),Ze=0,vu=null,Bi=0,La=0,Fi=0,Rp=0,jd=null,Lp=0,Wd=1/0;function zi(){Wd=it()+500}var V=null,Il=!1,Hd=null,ar=null,cn=!1,Oo=null,wo=90,Ud=[],Kd=[],Tr=null,No=0,Gd=null,qs=-1,Sr=0,Ys=0,Do=null,Zs=!1;function wt(){return(Z&48)!==0?it():qs!==-1?qs:qs=it()}function tn(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return Pi()===99?1:2;if(Sr===0&&(Sr=Bi),Hw.transition!==0){Ys!==0&&(Ys=jd!==null?jd.pendingLanes:0),e=Sr;var t=4186112&~Ys;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=Pi(),(Z&4)!==0&&e===98?e=pl(12,Sr):(e=G5(e),e=pl(e,Sr)),e}function rn(e,t,r){if(50<No)throw No=0,Gd=null,Error(B(185));if(e=mu(e,t),e===null)return null;lu(e,t,r),e===dt&&(Fi|=t,Ze===4&&mi(e,ot));var n=Pi();t===1?(Z&8)!==0&&(Z&48)===0?qd(e):(Dt(e,r),Z===0&&(zi(),hr())):((Z&4)===0||n!==98&&n!==99||(Tr===null?Tr=new Set([e]):Tr.add(e)),Dt(e,r)),jd=e}function mu(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}function Dt(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var s=31-ln(a),l=1<<s,u=o[s];if(u===-1){if((l&n)===0||(l&i)!==0){u=t,Xn(l);var c=me;o[s]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=l);a&=~l}if(n=ta(e,e===dt?ot:0),t=me,n===0)r!==null&&(r!==Ec&&Ad(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==Ec&&Ad(r)}t===15?(r=qd.bind(null,e),xr===null?(xr=[r],Gs=bp(pu,ny)):xr.push(r),r=Ec):t===14?r=oa(99,qd.bind(null,e)):(r=q5(t),r=oa(r,_y.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function _y(e){if(qs=-1,Ys=Sr=0,(Z&48)!==0)throw Error(B(327));var t=e.callbackNode;if(hn()&&e.callbackNode!==t)return null;var r=ta(e,e===dt?ot:0);if(r===0)return null;var n=r,i=Z;Z|=16;var o=Iy();(dt!==e||ot!==n)&&(zi(),gi(e,n));do try{aC();break}catch(s){Ay(e,s)}while(1);if(xp(),Al.current=o,Z=i,Fe!==null?n=0:(dt=null,ot=0,n=Ze),(Bi&Fi)!==0)gi(e,0);else if(n!==0){if(n===2&&(Z|=64,e.hydrate&&(e.hydrate=!1,gp(e.containerInfo)),r=N1(e),r!==0&&(n=Co(e,r))),n===1)throw t=vu,gi(e,0),mi(e,r),Dt(e,it()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(B(345));case 2:wn(e);break;case 3:if(mi(e,r),(r&62914560)===r&&(n=Lp+500-it(),10<n)){if(ta(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){wt(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=U0(wn.bind(null,e),n);break}wn(e);break;case 4:if(mi(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var a=31-ln(r);o=1<<a,a=n[a],a>i&&(i=a),r&=~o}if(r=i,r=it()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*nC(r/1960))-r,10<r){e.timeoutHandle=U0(wn.bind(null,e),r);break}wn(e);break;case 5:wn(e);break;default:throw Error(B(329))}}return Dt(e,it()),e.callbackNode===t?_y.bind(null,e):null}function mi(e,t){for(t&=~Rp,t&=~Fi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-ln(t),n=1<<r;e[r]=-1,t&=~n}}function qd(e){if((Z&48)!==0)throw Error(B(327));if(hn(),e===dt&&(e.expiredLanes&ot)!==0){var t=ot,r=Co(e,t);(Bi&Fi)!==0&&(t=ta(e,t),r=Co(e,t))}else t=ta(e,0),r=Co(e,t);if(e.tag!==0&&r===2&&(Z|=64,e.hydrate&&(e.hydrate=!1,gp(e.containerInfo)),t=N1(e),t!==0&&(r=Co(e,t))),r===1)throw r=vu,gi(e,0),mi(e,t),Dt(e,it()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,wn(e),Dt(e,it()),null}function iC(){if(Tr!==null){var e=Tr;Tr=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,Dt(t,it())})}hr()}function Ty(e,t){var r=Z;Z|=1;try{return e(t)}finally{Z=r,Z===0&&(zi(),hr())}}function Py(e,t){var r=Z;Z&=-2,Z|=8;try{return e(t)}finally{Z=r,Z===0&&(zi(),hr())}}function ms(e,t){Te(Vd,$n),$n|=t,Bi|=t}function Op(){$n=Vd.current,Se(Vd)}function gi(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,Bw(r)),Fe!==null)for(r=Fe.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&gl();break;case 3:Ai(),Se(mt),Se(at),Ep();break;case 5:Cp(n);break;case 4:Ai();break;case 13:Se(_e);break;case 19:Se(_e);break;case 10:Sp(n);break;case 23:case 24:Op()}r=r.return}dt=e,Fe=dn(e.current,null),ot=$n=Bi=t,Ze=0,vu=null,Rp=Fi=La=0}function Ay(e,t){do{var r=Fe;try{if(xp(),Ro.current=Pl,El){for(var n=Ie.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}El=!1}if(ua=0,Ye=rt=Ie=null,Lo=!1,Mp.current=null,r===null||r.return===null){Ze=1,vu=t,Fe=null;break}e:{var o=e,a=r.return,s=r,l=t;if(t=ot,s.flags|=2048,s.firstEffect=s.lastEffect=null,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l;if((s.mode&2)===0){var c=s.alternate;c?(s.updateQueue=c.updateQueue,s.memoizedState=c.memoizedState,s.lanes=c.lanes):(s.updateQueue=null,s.memoizedState=null)}var p=(_e.current&1)!==0,f=a;do{var h;if(h=f.tag===13){var g=f.memoizedState;if(g!==null)h=g.dehydrated!==null;else{var b=f.memoizedProps;h=b.fallback===void 0?!1:b.unstable_avoidThisFallback!==!0?!0:!p}}if(h){var m=f.updateQueue;if(m===null){var v=new Set;v.add(u),f.updateQueue=v}else m.add(u);if((f.mode&2)===0){if(f.flags|=64,s.flags|=16384,s.flags&=-2981,s.tag===1)if(s.alternate===null)s.tag=17;else{var y=Jr(-1,1);y.tag=2,en(s,y)}s.lanes|=1;break e}l=void 0,s=t;var x=o.pingCache;if(x===null?(x=o.pingCache=new Qw,l=new Set,x.set(u,l)):(l=x.get(u),l===void 0&&(l=new Set,x.set(u,l))),!l.has(s)){l.add(s);var w=dC.bind(null,o,u,s);u.then(w,w)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(f!==null);l=Error((ui(s.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.

Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Ze!==5&&(Ze=2),l=Ip(l,s),f=a;do{switch(f.tag){case 3:o=l,f.flags|=4096,t&=-t,f.lanes|=t;var k=Cy(f,o,t);Q0(f,k);break e;case 1:o=l;var T=f.type,_=f.stateNode;if((f.flags&64)===0&&(typeof T.getDerivedStateFromError=="function"||_!==null&&typeof _.componentDidCatch=="function"&&(ar===null||!ar.has(_)))){f.flags|=4096,t&=-t,f.lanes|=t;var A=Ey(f,o,t);Q0(f,A);break e}}f=f.return}while(f!==null)}Ry(r)}catch(I){t=I,Fe===r&&r!==null&&(Fe=r=r.return);continue}break}while(1)}function Iy(){var e=Al.current;return Al.current=Pl,e===null?Pl:e}function Co(e,t){var r=Z;Z|=16;var n=Iy();dt===e&&ot===t||gi(e,t);do try{oC();break}catch(i){Ay(e,i)}while(1);if(xp(),Z=r,Al.current=n,Fe!==null)throw Error(B(261));return dt=null,ot=0,Ze}function oC(){for(;Fe!==null;)My(Fe)}function aC(){for(;Fe!==null&&!Vw();)My(Fe)}function My(e){var t=Oy(e.alternate,e,$n);e.memoizedProps=e.pendingProps,t===null?Ry(e):Fe=t,Mp.current=null}function Ry(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)===0){if(r=Zw(r,t,$n),r!==null){Fe=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||($n&1073741824)!==0||(r.mode&4)===0){for(var n=0,i=r.child;i!==null;)n|=i.lanes|i.childLanes,i=i.sibling;r.childLanes=n}e!==null&&(e.flags&2048)===0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(r=Xw(t),r!==null){r.flags&=2047,Fe=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){Fe=t;return}Fe=t=e}while(t!==null);Ze===0&&(Ze=5)}function wn(e){var t=Pi();return Dn(99,sC.bind(null,e,t)),null}function sC(e,t){do hn();while(Oo!==null);if((Z&48)!==0)throw Error(B(327));var r=e.finishedWork;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(B(177));e.callbackNode=null;var n=r.lanes|r.childLanes,i=n,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var a=e.eventTimes,s=e.expirationTimes;0<o;){var l=31-ln(o),u=1<<l;i[l]=0,a[l]=-1,s[l]=-1,o&=~u}if(Tr!==null&&(n&24)===0&&Tr.has(e)&&Tr.delete(e),e===dt&&(Fe=dt=null,ot=0),1<r.flags?r.lastEffect!==null?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,n!==null){if(i=Z,Z|=32,Mp.current=null,Sc=Ws,a=B0(),Ed(a)){if("selectionStart"in a)s={start:a.selectionStart,end:a.selectionEnd};else e:if(s=(s=a.ownerDocument)&&s.defaultView||window,(u=s.getSelection&&s.getSelection())&&u.rangeCount!==0){s=u.anchorNode,o=u.anchorOffset,l=u.focusNode,u=u.focusOffset;try{s.nodeType,l.nodeType}catch{s=null;break e}var c=0,p=-1,f=-1,h=0,g=0,b=a,m=null;t:for(;;){for(var v;b!==s||o!==0&&b.nodeType!==3||(p=c+o),b!==l||u!==0&&b.nodeType!==3||(f=c+u),b.nodeType===3&&(c+=b.nodeValue.length),(v=b.firstChild)!==null;)m=b,b=v;for(;;){if(b===a)break t;if(m===s&&++h===o&&(p=c),m===l&&++g===u&&(f=c),(v=b.nextSibling)!==null)break;b=m,m=b.parentNode}b=v}s=p===-1||f===-1?null:{start:p,end:f}}else s=null;s=s||{start:0,end:0}}else s=null;wc={focusedElem:a,selectionRange:s},Ws=!1,Do=null,Zs=!1,V=n;do try{lC()}catch(I){if(V===null)throw Error(B(330));nn(V,I),V=V.nextEffect}while(V!==null);Do=null,V=n;do try{for(a=e;V!==null;){var y=V.flags;if(y&16&&Xo(V.stateNode,""),y&128){var x=V.alternate;if(x!==null){var w=x.ref;w!==null&&(typeof w=="function"?w(null):w.current=null)}}switch(y&1038){case 2:Cv(V),V.flags&=-3;break;case 6:Cv(V),V.flags&=-3,Ac(V.alternate,V);break;case 1024:V.flags&=-1025;break;case 1028:V.flags&=-1025,Ac(V.alternate,V);break;case 4:Ac(V.alternate,V);break;case 8:s=V,ky(a,s);var k=s.alternate;Sv(s),k!==null&&Sv(k)}V=V.nextEffect}}catch(I){if(V===null)throw Error(B(330));nn(V,I),V=V.nextEffect}while(V!==null);if(w=wc,x=B0(),y=w.focusedElem,a=w.selectionRange,x!==y&&y&&y.ownerDocument&&W1(y.ownerDocument.documentElement,y)){for(a!==null&&Ed(y)&&(x=a.start,w=a.end,w===void 0&&(w=x),"selectionStart"in y?(y.selectionStart=x,y.selectionEnd=Math.min(w,y.value.length)):(w=(x=y.ownerDocument||document)&&x.defaultView||window,w.getSelection&&(w=w.getSelection(),s=y.textContent.length,k=Math.min(a.start,s),a=a.end===void 0?k:Math.min(a.end,s),!w.extend&&k>a&&(s=a,a=k,k=s),s=$0(y,k),o=$0(y,a),s&&o&&(w.rangeCount!==1||w.anchorNode!==s.node||w.anchorOffset!==s.offset||w.focusNode!==o.node||w.focusOffset!==o.offset)&&(x=x.createRange(),x.setStart(s.node,s.offset),w.removeAllRanges(),k>a?(w.addRange(x),w.extend(o.node,o.offset)):(x.setEnd(o.node,o.offset),w.addRange(x)))))),x=[],w=y;w=w.parentNode;)w.nodeType===1&&x.push({element:w,left:w.scrollLeft,top:w.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<x.length;y++)w=x[y],w.element.scrollLeft=w.left,w.element.scrollTop=w.top}Ws=!!Sc,wc=Sc=null,e.current=r,V=n;do try{for(y=e;V!==null;){var T=V.flags;if(T&36&&tC(y,V.alternate,V),T&128){x=void 0;var _=V.ref;if(_!==null){var A=V.stateNode;switch(V.tag){case 5:x=A;break;default:x=A}typeof _=="function"?_(x):_.current=x}}V=V.nextEffect}}catch(I){if(V===null)throw Error(B(330));nn(V,I),V=V.nextEffect}while(V!==null);V=null,Ww(),Z=i}else e.current=r;if(cn)cn=!1,Oo=e,wo=t;else for(V=n;V!==null;)t=V.nextEffect,V.nextEffect=null,V.flags&8&&(T=V,T.sibling=null,T.stateNode=null),V=t;if(n=e.pendingLanes,n===0&&(ar=null),n===1?e===Gd?No++:(No=0,Gd=e):No=0,r=r.stateNode,Ln&&typeof Ln.onCommitFiberRoot=="function")try{Ln.onCommitFiberRoot(yp,r,void 0,(r.current.flags&64)===64)}catch{}if(Dt(e,it()),Il)throw Il=!1,e=Hd,Hd=null,e;return(Z&8)!==0||hr(),null}function lC(){for(;V!==null;){var e=V.alternate;Zs||Do===null||((V.flags&8)!==0?C0(V,Do)&&(Zs=!0):V.tag===13&&rC(e,V)&&C0(V,Do)&&(Zs=!0));var t=V.flags;(t&256)!==0&&eC(e,V),(t&512)===0||cn||(cn=!0,oa(97,function(){return hn(),null})),V=V.nextEffect}}function hn(){if(wo!==90){var e=97<wo?97:wo;return wo=90,Dn(e,cC)}return!1}function uC(e,t){Ud.push(t,e),cn||(cn=!0,oa(97,function(){return hn(),null}))}function Ly(e,t){Kd.push(t,e),cn||(cn=!0,oa(97,function(){return hn(),null}))}function cC(){if(Oo===null)return!1;var e=Oo;if(Oo=null,(Z&48)!==0)throw Error(B(331));var t=Z;Z|=32;var r=Kd;Kd=[];for(var n=0;n<r.length;n+=2){var i=r[n],o=r[n+1],a=i.destroy;if(i.destroy=void 0,typeof a=="function")try{a()}catch(l){if(o===null)throw Error(B(330));nn(o,l)}}for(r=Ud,Ud=[],n=0;n<r.length;n+=2){i=r[n],o=r[n+1];try{var s=i.create;i.destroy=s()}catch(l){if(o===null)throw Error(B(330));nn(o,l)}}for(s=e.current.firstEffect;s!==null;)e=s.nextEffect,s.nextEffect=null,s.flags&8&&(s.sibling=null,s.stateNode=null),s=e;return Z=t,hr(),!0}function kv(e,t,r){t=Ip(r,t),t=Cy(e,t,1),en(e,t),t=wt(),e=mu(e,1),e!==null&&(lu(e,1,t),Dt(e,t))}function nn(e,t){if(e.tag===3)kv(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){kv(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(ar===null||!ar.has(n))){e=Ip(t,e);var i=Ey(r,e,1);if(en(r,i),i=wt(),r=mu(r,1),r!==null)lu(r,1,i),Dt(r,i);else if(typeof n.componentDidCatch=="function"&&(ar===null||!ar.has(n)))try{n.componentDidCatch(t,e)}catch{}break}}r=r.return}}function dC(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=wt(),e.pingedLanes|=e.suspendedLanes&r,dt===e&&(ot&r)===r&&(Ze===4||Ze===3&&(ot&62914560)===ot&&500>it()-Lp?gi(e,0):Rp|=r),Dt(e,t)}function fC(e,t){var r=e.stateNode;r!==null&&r.delete(t),t=0,t===0&&(t=e.mode,(t&2)===0?t=1:(t&4)===0?t=Pi()===99?1:2:(Sr===0&&(Sr=Bi),t=Qn(62914560&~Sr),t===0&&(t=4194304))),r=wt(),e=mu(e,t),e!==null&&(lu(e,t,r),Dt(e,r))}var Oy;Oy=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||mt.current)Gt=!0;else if((r&n)!==0)Gt=(e.flags&16384)!==0;else{switch(Gt=!1,t.tag){case 3:dv(t),_c();break;case 5:rv(t);break;case 1:gt(t.type)&&Ks(t);break;case 4:Rd(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;Te(yl,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!==0?fv(e,t,r):(Te(_e,_e.current&1),t=kr(e,t,r),t!==null?t.sibling:null);Te(_e,_e.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&64)!==0){if(n)return gv(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Te(_e,_e.current),n)break;return null;case 23:case 24:return t.lanes=0,Tc(e,t,r)}return kr(e,t,r)}else Gt=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=Ti(t,at.current),hi(t,r),i=_p(null,t,n,e,i,r),t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,gt(n)){var o=!0;Ks(t)}else o=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,wp(t);var a=n.getDerivedStateFromProps;typeof a=="function"&&Sl(t,n,a,e),i.updater=hu,t.stateNode=i,i._reactInternals=t,Md(t,n,e,r),t=Dd(null,t,n,!0,o,r)}else t.tag=0,ht(null,t,i,r),t=t.child;return t;case 16:i=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=i._init,i=o(i._payload),t.type=i,o=t.tag=hC(i),e=Ht(i,e),o){case 0:t=Nd(null,t,i,e,r);break e;case 1:t=cv(null,t,i,e,r);break e;case 11:t=lv(null,t,i,e,r);break e;case 14:t=uv(null,t,i,Ht(i.type,e),n,r);break e}throw Error(B(306,i,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Ht(n,i),Nd(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Ht(n,i),cv(e,t,n,i,r);case 3:if(dv(t),n=t.updateQueue,e===null||n===null)throw Error(B(282));if(n=t.pendingProps,i=t.memoizedState,i=i!==null?i.element:null,oy(e,t),aa(t,n,null,r),n=t.memoizedState.element,n===i)_c(),t=kr(e,t,r);else{if(i=t.stateNode,(o=i.hydrate)&&(Hr=pi(t.stateNode.containerInfo.firstChild),Er=t,o=lr=!0),o){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)o=e[i],o._workInProgressVersionPrimary=e[i+1],vi.push(o);for(r=uy(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else ht(e,t,n,r),_c();t=t.child}return t;case 5:return rv(t),e===null&&Ld(t),n=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,Td(n,i)?a=null:o!==null&&Td(n,o)&&(t.flags|=16),by(e,t),ht(e,t,a,r),t.child;case 6:return e===null&&Ld(t),null;case 13:return fv(e,t,r);case 4:return Rd(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=wl(t,null,n,r):ht(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Ht(n,i),lv(e,t,n,i,r);case 7:return ht(e,t,t.pendingProps,r),t.child;case 8:return ht(e,t,t.pendingProps.children,r),t.child;case 12:return ht(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value;var s=t.type._context;if(Te(yl,s._currentValue),s._currentValue=o,a!==null)if(s=a.value,o=Mt(s,o)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(s,o):1073741823)|0,o===0){if(a.children===i.children&&!mt.current){t=kr(e,t,r);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){a=s.child;for(var u=l.firstContext;u!==null;){if(u.context===n&&(u.observedBits&o)!==0){s.tag===1&&(u=Jr(-1,r&-r),u.tag=2,en(s,u)),s.lanes|=r,u=s.alternate,u!==null&&(u.lanes|=r),iy(s.return,r),l.lanes|=r;break}u=u.next}}else a=s.tag===10&&s.type===t.type?null:s.child;if(a!==null)a.return=s;else for(a=s;a!==null;){if(a===t){a=null;break}if(s=a.sibling,s!==null){s.return=a.return,a=s;break}a=a.return}s=a}ht(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,o=t.pendingProps,n=o.children,hi(t,r),i=Nt(i,o.unstable_observedBits),n=n(i),t.flags|=1,ht(e,t,n,r),t.child;case 14:return i=t.type,o=Ht(i,t.pendingProps),o=Ht(i.type,o),uv(e,t,i,o,n,r);case 15:return yy(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Ht(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,gt(n)?(e=!0,Ks(t)):e=!1,hi(t,r),sy(t,n,i),Md(t,n,i,r),Dd(null,t,n,!0,e,r);case 19:return gv(e,t,r);case 23:return Tc(e,t,r);case 24:return Tc(e,t,r)}throw Error(B(156,t.tag))};function pC(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Rt(e,t,r,n){return new pC(e,t,r,n)}function Np(e){return e=e.prototype,!(!e||!e.isReactComponent)}function hC(e){if(typeof e=="function")return Np(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ou)return 11;if(e===au)return 14}return 2}function dn(e,t){var r=e.alternate;return r===null?(r=Rt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Xs(e,t,r,n,i,o){var a=2;if(n=e,typeof e=="function")Np(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Vr:return yi(r.children,i,o,t);case c1:a=8,i|=16;break;case Xf:a=8,i|=1;break;case ko:return e=Rt(12,r,t,i|8),e.elementType=ko,e.type=ko,e.lanes=o,e;case _o:return e=Rt(13,r,t,i),e.type=_o,e.elementType=_o,e.lanes=o,e;case ul:return e=Rt(19,r,t,i),e.elementType=ul,e.lanes=o,e;case np:return Dp(r,i,o,t);case ud:return e=Rt(24,r,t,i),e.elementType=ud,e.lanes=o,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Qf:a=10;break e;case Jf:a=9;break e;case ou:a=11;break e;case au:a=14;break e;case ep:a=16,n=null;break e;case tp:a=22;break e}throw Error(B(130,e==null?e:typeof e,""))}return t=Rt(a,r,t,i),t.elementType=e,t.type=n,t.lanes=o,t}function yi(e,t,r,n){return e=Rt(7,e,n,t),e.lanes=r,e}function Dp(e,t,r,n){return e=Rt(23,e,n,t),e.elementType=np,e.lanes=r,e}function Ic(e,t,r){return e=Rt(6,e,null,t),e.lanes=r,e}function Mc(e,t,r){return t=Rt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function vC(e,t,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=hc(0),this.expirationTimes=hc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hc(0),this.mutableSourceEagerHydrationData=null}function mC(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:kn,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function Ml(e,t,r,n){var i=t.current,o=wt(),a=tn(i);e:if(r){r=r._reactInternals;t:{if(zn(r)!==r||r.tag!==1)throw Error(B(170));var s=r;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(gt(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(s!==null);throw Error(B(171))}if(r.tag===1){var l=r.type;if(gt(l)){r=X1(r,l,s);break e}}r=s}else r=un;return t.context===null?t.context=r:t.pendingContext=r,t=Jr(o,a),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),en(i,t),rn(i,a,o),a}function Rc(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function _v(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function $p(e,t){_v(e,t),(e=e.alternate)&&_v(e,t)}function gC(){return null}function Bp(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new vC(e,t,r!=null&&r.hydrate===!0),t=Rt(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,wp(t),e[$i]=r.current,K1(e.nodeType===8?e.parentNode:e),n)for(e=0;e<n.length;e++){t=n[e];var i=t._getVersion;i=i(t._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[t,i]:r.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=r}Bp.prototype.render=function(e){Ml(e,this._internalRoot,null,null)};Bp.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Ml(null,e,null,function(){t[$i]=null})};function Oa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function yC(e,t){if(t||(t=e?e.nodeType===9?e.documentElement:e.firstChild:null,t=!(!t||t.nodeType!==1||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new Bp(e,0,t?{hydrate:!0}:void 0)}function gu(e,t,r,n,i){var o=r._reactRootContainer;if(o){var a=o._internalRoot;if(typeof i=="function"){var s=i;i=function(){var u=Rc(a);s.call(u)}}Ml(t,a,e,i)}else{if(o=r._reactRootContainer=yC(r,n),a=o._internalRoot,typeof i=="function"){var l=i;i=function(){var u=Rc(a);l.call(u)}}Py(function(){Ml(t,a,e,i)})}return Rc(a)}k1=function(e){if(e.tag===13){var t=wt();rn(e,4,t),$p(e,4)}};lp=function(e){if(e.tag===13){var t=wt();rn(e,67108864,t),$p(e,67108864)}};_1=function(e){if(e.tag===13){var t=wt(),r=tn(e);rn(e,r,t),$p(e,r)}};T1=function(e,t){return t()};bd=function(e,t,r){switch(t){case"input":if(dd(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=fu(n);if(!i)throw Error(B(90));f1(n),dd(n,i)}}}break;case"textarea":h1(e,r);break;case"select":t=r.value,t!=null&&ci(e,!!r.multiple,t,!1)}};op=Ty;S1=function(e,t,r,n,i){var o=Z;Z|=4;try{return Dn(98,e.bind(null,t,r,n,i))}finally{Z=o,Z===0&&(zi(),hr())}};ap=function(){(Z&49)===0&&(iC(),hn())};w1=function(e,t){var r=Z;Z|=2;try{return e(t)}finally{Z=r,Z===0&&(zi(),hr())}};function Ny(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Oa(t))throw Error(B(200));return mC(e,t,null,r)}var bC={Events:[Ma,ni,fu,b1,x1,hn,{current:!1}]},po={findFiberByHostInstance:Tn,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},xC={bundleType:po.bundleType,version:po.version,rendererPackageName:po.rendererPackageName,rendererConfig:po.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Fn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=E1(e),e===null?null:e.stateNode},findFiberByHostInstance:po.findFiberByHostInstance||gC,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var gs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!gs.isDisabled&&gs.supportsFiber)try{yp=gs.inject(xC),Ln=gs}catch{}}Bt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=bC;Bt.createPortal=Ny;Bt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(B(188)):Error(B(268,Object.keys(e)));return e=E1(t),e=e===null?null:e.stateNode,e};Bt.flushSync=function(e,t){var r=Z;if((r&48)!==0)return e(t);Z|=1;try{if(e)return Dn(99,e.bind(null,t))}finally{Z=r,hr()}};Bt.hydrate=function(e,t,r){if(!Oa(t))throw Error(B(200));return gu(null,e,t,!0,r)};Bt.render=function(e,t,r){if(!Oa(t))throw Error(B(200));return gu(null,e,t,!1,r)};Bt.unmountComponentAtNode=function(e){if(!Oa(e))throw Error(B(40));return e._reactRootContainer?(Py(function(){gu(null,null,e,!1,function(){e._reactRootContainer=null,e[$i]=null})}),!0):!1};Bt.unstable_batchedUpdates=Ty;Bt.unstable_createPortal=function(e,t){return Ny(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)};Bt.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Oa(r))throw Error(B(200));if(e==null||e._reactInternals===void 0)throw Error(B(38));return gu(e,t,r,!1,n)};Bt.version="17.0.2";function Dy(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Dy)}catch(e){console.error(e)}}Dy(),a1.exports=Bt;var SC=a1.exports;function wC(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function CC(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var EC=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(CC(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=wC(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),et="-ms-",Rl="-moz-",le="-webkit-",$y="comm",Fp="rule",zp="decl",kC="@import",By="@keyframes",_C=Math.abs,yu=String.fromCharCode,TC=Object.assign;function PC(e,t){return(((t<<2^vt(e,0))<<2^vt(e,1))<<2^vt(e,2))<<2^vt(e,3)}function Fy(e){return e.trim()}function AC(e,t){return(e=t.exec(e))?e[0]:e}function ue(e,t,r){return e.replace(t,r)}function Yd(e,t){return e.indexOf(t)}function vt(e,t){return e.charCodeAt(t)|0}function ca(e,t,r){return e.slice(t,r)}function rr(e){return e.length}function Vp(e){return e.length}function ys(e,t){return t.push(e),e}function IC(e,t){return e.map(t).join("")}var bu=1,Ii=1,zy=0,yt=0,Oe=0,Vi="";function xu(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:bu,column:Ii,length:a,return:""}}function ho(e,t){return TC(xu("",null,null,"",null,null,0),e,{length:-e.length},t)}function MC(){return Oe}function RC(){return Oe=yt>0?vt(Vi,--yt):0,Ii--,Oe===10&&(Ii=1,bu--),Oe}function Ct(){return Oe=yt<zy?vt(Vi,yt++):0,Ii++,Oe===10&&(Ii=1,bu++),Oe}function ur(){return vt(Vi,yt)}function Qs(){return yt}function Na(e,t){return ca(Vi,e,t)}function da(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Vy(e){return bu=Ii=1,zy=rr(Vi=e),yt=0,[]}function jy(e){return Vi="",e}function Js(e){return Fy(Na(yt-1,Zd(e===91?e+2:e===40?e+1:e)))}function LC(e){for(;(Oe=ur())&&Oe<33;)Ct();return da(e)>2||da(Oe)>3?"":" "}function OC(e,t){for(;--t&&Ct()&&!(Oe<48||Oe>102||Oe>57&&Oe<65||Oe>70&&Oe<97););return Na(e,Qs()+(t<6&&ur()==32&&Ct()==32))}function Zd(e){for(;Ct();)switch(Oe){case e:return yt;case 34:case 39:e!==34&&e!==39&&Zd(Oe);break;case 40:e===41&&Zd(e);break;case 92:Ct();break}return yt}function NC(e,t){for(;Ct()&&e+Oe!==47+10;)if(e+Oe===42+42&&ur()===47)break;return"/*"+Na(t,yt-1)+"*"+yu(e===47?e:Ct())}function DC(e){for(;!da(ur());)Ct();return Na(e,yt)}function $C(e){return jy(el("",null,null,null,[""],e=Vy(e),0,[0],e))}function el(e,t,r,n,i,o,a,s,l){for(var u=0,c=0,p=a,f=0,h=0,g=0,b=1,m=1,v=1,y=0,x="",w=i,k=o,T=n,_=x;m;)switch(g=y,y=Ct()){case 40:if(g!=108&&_.charCodeAt(p-1)==58){Yd(_+=ue(Js(y),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:_+=Js(y);break;case 9:case 10:case 13:case 32:_+=LC(g);break;case 92:_+=OC(Qs()-1,7);continue;case 47:switch(ur()){case 42:case 47:ys(BC(NC(Ct(),Qs()),t,r),l);break;default:_+="/"}break;case 123*b:s[u++]=rr(_)*v;case 125*b:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+c:h>0&&rr(_)-p&&ys(h>32?Pv(_+";",n,r,p-1):Pv(ue(_," ","")+";",n,r,p-2),l);break;case 59:_+=";";default:if(ys(T=Tv(_,t,r,u,c,i,s,x,w=[],k=[],p),o),y===123)if(c===0)el(_,t,T,T,w,o,p,s,k);else switch(f){case 100:case 109:case 115:el(e,T,T,n&&ys(Tv(e,T,T,0,0,i,s,x,i,w=[],p),k),i,k,p,s,n?w:k);break;default:el(_,T,T,T,[""],k,0,s,k)}}u=c=h=0,b=v=1,x=_="",p=a;break;case 58:p=1+rr(_),h=g;default:if(b<1){if(y==123)--b;else if(y==125&&b++==0&&RC()==125)continue}switch(_+=yu(y),y*b){case 38:v=c>0?1:(_+="\f",-1);break;case 44:s[u++]=(rr(_)-1)*v,v=1;break;case 64:ur()===45&&(_+=Js(Ct())),f=ur(),c=p=rr(x=_+=DC(Qs())),y++;break;case 45:g===45&&rr(_)==2&&(b=0)}}return o}function Tv(e,t,r,n,i,o,a,s,l,u,c){for(var p=i-1,f=i===0?o:[""],h=Vp(f),g=0,b=0,m=0;g<n;++g)for(var v=0,y=ca(e,p+1,p=_C(b=a[g])),x=e;v<h;++v)(x=Fy(b>0?f[v]+" "+y:ue(y,/&\f/g,f[v])))&&(l[m++]=x);return xu(e,t,r,i===0?Fp:s,l,u,c)}function BC(e,t,r){return xu(e,t,r,$y,yu(MC()),ca(e,2,-2),0)}function Pv(e,t,r,n){return xu(e,t,r,zp,ca(e,0,n),ca(e,n+1,-1),n)}function Wy(e,t){switch(PC(e,t)){case 5103:return le+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return le+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return le+e+Rl+e+et+e+e;case 6828:case 4268:return le+e+et+e+e;case 6165:return le+e+et+"flex-"+e+e;case 5187:return le+e+ue(e,/(\w+).+(:[^]+)/,le+"box-$1$2"+et+"flex-$1$2")+e;case 5443:return le+e+et+"flex-item-"+ue(e,/flex-|-self/,"")+e;case 4675:return le+e+et+"flex-line-pack"+ue(e,/align-content|flex-|-self/,"")+e;case 5548:return le+e+et+ue(e,"shrink","negative")+e;case 5292:return le+e+et+ue(e,"basis","preferred-size")+e;case 6060:return le+"box-"+ue(e,"-grow","")+le+e+et+ue(e,"grow","positive")+e;case 4554:return le+ue(e,/([^-])(transform)/g,"$1"+le+"$2")+e;case 6187:return ue(ue(ue(e,/(zoom-|grab)/,le+"$1"),/(image-set)/,le+"$1"),e,"")+e;case 5495:case 3959:return ue(e,/(image-set\([^]*)/,le+"$1$`$1");case 4968:return ue(ue(e,/(.+:)(flex-)?(.*)/,le+"box-pack:$3"+et+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+le+e+e;case 4095:case 3583:case 4068:case 2532:return ue(e,/(.+)-inline(.+)/,le+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(rr(e)-1-t>6)switch(vt(e,t+1)){case 109:if(vt(e,t+4)!==45)break;case 102:return ue(e,/(.+:)(.+)-([^]+)/,"$1"+le+"$2-$3$1"+Rl+(vt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Yd(e,"stretch")?Wy(ue(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(vt(e,t+1)!==115)break;case 6444:switch(vt(e,rr(e)-3-(~Yd(e,"!important")&&10))){case 107:return ue(e,":",":"+le)+e;case 101:return ue(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+le+(vt(e,14)===45?"inline-":"")+"box$3$1"+le+"$2$3$1"+et+"$2box$3")+e}break;case 5936:switch(vt(e,t+11)){case 114:return le+e+et+ue(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return le+e+et+ue(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return le+e+et+ue(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return le+e+et+e+e}return e}function bi(e,t){for(var r="",n=Vp(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function FC(e,t,r,n){switch(e.type){case kC:case zp:return e.return=e.return||e.value;case $y:return"";case By:return e.return=e.value+"{"+bi(e.children,n)+"}";case Fp:e.value=e.props.join(",")}return rr(r=bi(e.children,n))?e.return=e.value+"{"+r+"}":""}function zC(e){var t=Vp(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function VC(e){return function(t){t.root||(t=t.return)&&e(t)}}function jC(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case zp:e.return=Wy(e.value,e.length);break;case By:return bi([ho(e,{value:ue(e.value,"@","@"+le)})],n);case Fp:if(e.length)return IC(e.props,function(i){switch(AC(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return bi([ho(e,{props:[ue(i,/:(read-\w+)/,":"+Rl+"$1")]})],n);case"::placeholder":return bi([ho(e,{props:[ue(i,/:(plac\w+)/,":"+le+"input-$1")]}),ho(e,{props:[ue(i,/:(plac\w+)/,":"+Rl+"$1")]}),ho(e,{props:[ue(i,/:(plac\w+)/,et+"input-$1")]})],n)}return""})}}var Av=function(t){var r=new WeakMap;return function(n){if(r.has(n))return r.get(n);var i=t(n);return r.set(n,i),i}};function Hy(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var WC=function(t,r,n){for(var i=0,o=0;i=o,o=ur(),i===38&&o===12&&(r[n]=1),!da(o);)Ct();return Na(t,yt)},HC=function(t,r){var n=-1,i=44;do switch(da(i)){case 0:i===38&&ur()===12&&(r[n]=1),t[n]+=WC(yt-1,r,n);break;case 2:t[n]+=Js(i);break;case 4:if(i===44){t[++n]=ur()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=yu(i)}while(i=Ct());return t},UC=function(t,r){return jy(HC(Vy(t),r))},Iv=new WeakMap,KC=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Iv.get(n))&&!i){Iv.set(t,!0);for(var o=[],a=UC(r,o),s=n.props,l=0,u=0;l<a.length;l++)for(var c=0;c<s.length;c++,u++)t.props[u]=o[l]?a[l].replace(/&\f/g,s[c]):s[c]+" "+a[l]}}},GC=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},qC=[jC],YC=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(b){var m=b.getAttribute("data-emotion");m.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var i=t.stylisPlugins||qC,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(b){for(var m=b.getAttribute("data-emotion").split(" "),v=1;v<m.length;v++)o[m[v]]=!0;s.push(b)});var l,u=[KC,GC];{var c,p=[FC,VC(function(b){c.insert(b)})],f=zC(u.concat(i,p)),h=function(m){return bi($C(m),f)};l=function(m,v,y,x){c=y,h(m?m+"{"+v.styles+"}":v.styles),x&&(g.inserted[v.name]=!0)}}var g={key:r,sheet:new EC({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:l};return g.sheet.hydrate(s),g};function Ll(){return Ll=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ll.apply(this,arguments)}var Uy={exports:{}},de={};/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var He=typeof Symbol=="function"&&Symbol.for,jp=He?Symbol.for("react.element"):60103,Wp=He?Symbol.for("react.portal"):60106,Su=He?Symbol.for("react.fragment"):60107,wu=He?Symbol.for("react.strict_mode"):60108,Cu=He?Symbol.for("react.profiler"):60114,Eu=He?Symbol.for("react.provider"):60109,ku=He?Symbol.for("react.context"):60110,Hp=He?Symbol.for("react.async_mode"):60111,_u=He?Symbol.for("react.concurrent_mode"):60111,Tu=He?Symbol.for("react.forward_ref"):60112,Pu=He?Symbol.for("react.suspense"):60113,ZC=He?Symbol.for("react.suspense_list"):60120,Au=He?Symbol.for("react.memo"):60115,Iu=He?Symbol.for("react.lazy"):60116,XC=He?Symbol.for("react.block"):60121,QC=He?Symbol.for("react.fundamental"):60117,JC=He?Symbol.for("react.responder"):60118,e4=He?Symbol.for("react.scope"):60119;function Tt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case jp:switch(e=e.type,e){case Hp:case _u:case Su:case Cu:case wu:case Pu:return e;default:switch(e=e&&e.$$typeof,e){case ku:case Tu:case Iu:case Au:case Eu:return e;default:return t}}case Wp:return t}}}function Ky(e){return Tt(e)===_u}de.AsyncMode=Hp;de.ConcurrentMode=_u;de.ContextConsumer=ku;de.ContextProvider=Eu;de.Element=jp;de.ForwardRef=Tu;de.Fragment=Su;de.Lazy=Iu;de.Memo=Au;de.Portal=Wp;de.Profiler=Cu;de.StrictMode=wu;de.Suspense=Pu;de.isAsyncMode=function(e){return Ky(e)||Tt(e)===Hp};de.isConcurrentMode=Ky;de.isContextConsumer=function(e){return Tt(e)===ku};de.isContextProvider=function(e){return Tt(e)===Eu};de.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===jp};de.isForwardRef=function(e){return Tt(e)===Tu};de.isFragment=function(e){return Tt(e)===Su};de.isLazy=function(e){return Tt(e)===Iu};de.isMemo=function(e){return Tt(e)===Au};de.isPortal=function(e){return Tt(e)===Wp};de.isProfiler=function(e){return Tt(e)===Cu};de.isStrictMode=function(e){return Tt(e)===wu};de.isSuspense=function(e){return Tt(e)===Pu};de.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Su||e===_u||e===Cu||e===wu||e===Pu||e===ZC||typeof e=="object"&&e!==null&&(e.$$typeof===Iu||e.$$typeof===Au||e.$$typeof===Eu||e.$$typeof===ku||e.$$typeof===Tu||e.$$typeof===QC||e.$$typeof===JC||e.$$typeof===e4||e.$$typeof===XC)};de.typeOf=Tt;Uy.exports=de;var Gy=Uy.exports,t4={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r4={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},qy={};qy[Gy.ForwardRef]=t4;qy[Gy.Memo]=r4;var n4=!0;function i4(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var Yy=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||n4===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Zy=function(t,r,n){Yy(t,r,n);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var o=r;do t.insert(r===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function o4(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var a4={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},s4=/[A-Z]|^ms/g,l4=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Xy=function(t){return t.charCodeAt(1)===45},Mv=function(t){return t!=null&&typeof t!="boolean"},Lc=Hy(function(e){return Xy(e)?e:e.replace(s4,"-$&").toLowerCase()}),Rv=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(l4,function(n,i,o){return nr={name:i,styles:o,next:nr},i})}return a4[t]!==1&&!Xy(t)&&typeof r=="number"&&r!==0?r+"px":r};function fa(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return nr={name:r.name,styles:r.styles,next:nr},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)nr={name:n.name,styles:n.styles,next:nr},n=n.next;var i=r.styles+";";return i}return u4(e,t,r)}case"function":{if(e!==void 0){var o=nr,a=r(e);return nr=o,fa(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function u4(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=fa(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=o+"{"+t[a]+"}":Mv(a)&&(n+=Lc(o)+":"+Rv(o,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)Mv(a[s])&&(n+=Lc(o)+":"+Rv(o,a[s])+";");else{var l=fa(e,t,a);switch(o){case"animation":case"animationName":{n+=Lc(o)+":"+l+";";break}default:n+=o+"{"+l+"}"}}}return n}var Lv=/label:\s*([^\s;\n{]+)\s*(;|$)/g,nr,Up=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";nr=void 0;var a=t[0];a==null||a.raw===void 0?(i=!1,o+=fa(n,r,a)):o+=a[0];for(var s=1;s<t.length;s++)o+=fa(n,r,t[s]),i&&(o+=a[s]);Lv.lastIndex=0;for(var l="",u;(u=Lv.exec(o))!==null;)l+="-"+u[1];var c=o4(o)+l;return{name:c,styles:o,next:nr}},Qy=d.exports.createContext(typeof HTMLElement!="undefined"?YC({key:"css"}):null);Qy.Provider;var Jy=function(t){return d.exports.forwardRef(function(r,n){var i=d.exports.useContext(Qy);return t(r,i,n)})},pa=d.exports.createContext({}),c4=function(t,r){if(typeof r=="function"){var n=r(t);return n}return Ll({},t,r)},d4=Av(function(e){return Av(function(t){return c4(e,t)})}),f4=function(t){var r=d.exports.useContext(pa);return t.theme!==r&&(r=d4(r)(t.theme)),d.exports.createElement(pa.Provider,{value:r},t.children)};ki["useInsertionEffect"]&&ki["useInsertionEffect"];var Ov=ki["useInsertionEffect"]?ki["useInsertionEffect"]:d.exports.useLayoutEffect,Kp=Jy(function(e,t){var r=e.styles,n=Up([r],void 0,d.exports.useContext(pa)),i=d.exports.useRef();return Ov(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",o),a.hydrate([l])),i.current=[a,s],function(){a.flush()}},[t]),Ov(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&Zy(t,n.next,!0),a.tags.length){var l=a.tags[a.tags.length-1].nextElementSibling;a.before=l,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function p4(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Up(t)}var eb=function(){var t=p4.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},h4=function(){return d.exports.createElement(Kp,{styles:`
      html {
        line-height: 1.5;
        -webkit-text-size-adjust: 100%;
        font-family: system-ui, sans-serif;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
        -moz-osx-font-smoothing: grayscale;
        touch-action: manipulation;
      }

      body {
        position: relative;
        min-height: 100%;
        font-feature-settings: 'kern';
      }

      *,
      *::before,
      *::after {
        border-width: 0;
        border-style: solid;
        box-sizing: border-box;
      }

      main {
        display: block;
      }

      hr {
        border-top-width: 1px;
        box-sizing: content-box;
        height: 0;
        overflow: visible;
      }

      pre,
      code,
      kbd,
      samp {
        font-family: SFMono-Regular,  Menlo, Monaco, Consolas, monospace;
        font-size: 1em;
      }

      a {
        background-color: transparent;
        color: inherit;
        text-decoration: inherit;
      }

      abbr[title] {
        border-bottom: none;
        text-decoration: underline;
        -webkit-text-decoration: underline dotted;
        text-decoration: underline dotted;
      }

      b,
      strong {
        font-weight: bold;
      }

      small {
        font-size: 80%;
      }

      sub,
      sup {
        font-size: 75%;
        line-height: 0;
        position: relative;
        vertical-align: baseline;
      }

      sub {
        bottom: -0.25em;
      }

      sup {
        top: -0.5em;
      }

      img {
        border-style: none;
      }

      button,
      input,
      optgroup,
      select,
      textarea {
        font-family: inherit;
        font-size: 100%;
        line-height: 1.15;
        margin: 0;
      }

      button,
      input {
        overflow: visible;
      }

      button,
      select {
        text-transform: none;
      }

      button::-moz-focus-inner,
      [type="button"]::-moz-focus-inner,
      [type="reset"]::-moz-focus-inner,
      [type="submit"]::-moz-focus-inner {
        border-style: none;
        padding: 0;
      }

      fieldset {
        padding: 0.35em 0.75em 0.625em;
      }

      legend {
        box-sizing: border-box;
        color: inherit;
        display: table;
        max-width: 100%;
        padding: 0;
        white-space: normal;
      }

      progress {
        vertical-align: baseline;
      }

      textarea {
        overflow: auto;
      }

      [type="checkbox"],
      [type="radio"] {
        box-sizing: border-box;
        padding: 0;
      }

      [type="number"]::-webkit-inner-spin-button,
      [type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none !important;
      }

      input[type="number"] {
        -moz-appearance: textfield;
      }

      [type="search"] {
        -webkit-appearance: textfield;
        outline-offset: -2px;
      }

      [type="search"]::-webkit-search-decoration {
        -webkit-appearance: none !important;
      }

      ::-webkit-file-upload-button {
        -webkit-appearance: button;
        font: inherit;
      }

      details {
        display: block;
      }

      summary {
        display: list-item;
      }

      template {
        display: none;
      }

      [hidden] {
        display: none !important;
      }

      body,
      blockquote,
      dl,
      dd,
      h1,
      h2,
      h3,
      h4,
      h5,
      h6,
      hr,
      figure,
      p,
      pre {
        margin: 0;
      }

      button {
        background: transparent;
        padding: 0;
      }

      fieldset {
        margin: 0;
        padding: 0;
      }

      ol,
      ul {
        margin: 0;
        padding: 0;
      }

      textarea {
        resize: vertical;
      }

      button,
      [role="button"] {
        cursor: pointer;
      }

      button::-moz-focus-inner {
        border: 0 !important;
      }

      table {
        border-collapse: collapse;
      }

      h1,
      h2,
      h3,
      h4,
      h5,
      h6 {
        font-size: inherit;
        font-weight: inherit;
      }

      button,
      input,
      optgroup,
      select,
      textarea {
        padding: 0;
        line-height: inherit;
        color: inherit;
      }

      img,
      svg,
      video,
      canvas,
      audio,
      iframe,
      embed,
      object {
        display: block;
      }

      img,
      video {
        max-width: 100%;
        height: auto;
      }

      [data-js-focus-visible] :focus:not([data-focus-visible-added]) {
        outline: none;
        box-shadow: none;
      }

      select::-ms-expand {
        display: none;
      }
    `})},v4=h4,Xd={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",p="[object Date]",f="[object Error]",h="[object Function]",g="[object GeneratorFunction]",b="[object Map]",m="[object Number]",v="[object Null]",y="[object Object]",x="[object Proxy]",w="[object RegExp]",k="[object Set]",T="[object String]",_="[object Undefined]",A="[object WeakMap]",I="[object ArrayBuffer]",N="[object DataView]",U="[object Float32Array]",K="[object Float64Array]",H="[object Int8Array]",J="[object Int16Array]",Q="[object Int32Array]",ve="[object Uint8Array]",De="[object Uint8ClampedArray]",Ue="[object Uint16Array]",$e="[object Uint32Array]",bt=/[\\^$.*+?()[\]{}|]/g,$=/^\[object .+?Constructor\]$/,M=/^(?:0|[1-9]\d*)$/,R={};R[U]=R[K]=R[H]=R[J]=R[Q]=R[ve]=R[De]=R[Ue]=R[$e]=!0,R[s]=R[l]=R[I]=R[c]=R[N]=R[p]=R[f]=R[h]=R[b]=R[m]=R[y]=R[w]=R[k]=R[T]=R[A]=!1;var O=typeof os=="object"&&os&&os.Object===Object&&os,F=typeof self=="object"&&self&&self.Object===Object&&self,ae=O||F||Function("return this")(),Be=t&&!t.nodeType&&t,Ve=Be&&!0&&e&&!e.nodeType&&e,Ke=Ve&&Ve.exports===Be,Wn=Ke&&O.process,Zi=function(){try{var S=Ve&&Ve.require&&Ve.require("util").types;return S||Wn&&Wn.binding&&Wn.binding("util")}catch{}}(),lt=Zi&&Zi.isTypedArray;function Ya(S,C,P){switch(P.length){case 0:return S.call(C);case 1:return S.call(C,P[0]);case 2:return S.call(C,P[0],P[1]);case 3:return S.call(C,P[0],P[1],P[2])}return S.apply(C,P)}function Za(S,C){for(var P=-1,z=Array(S);++P<S;)z[P]=C(P);return z}function Xa(S){return function(C){return S(C)}}function Qa(S,C){return S==null?void 0:S[C]}function qu(S,C){return function(P){return S(C(P))}}var Yu=Array.prototype,Zu=Function.prototype,Hn=Object.prototype,Xi=ae["__core-js_shared__"],X=Zu.toString,ye=Hn.hasOwnProperty,Qt=function(){var S=/[^.]+$/.exec(Xi&&Xi.keys&&Xi.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}(),Xu=Hn.toString,Qu=X.call(Object),aS=RegExp("^"+X.call(ye).replace(bt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ja=Ke?ae.Buffer:void 0,Uh=ae.Symbol,Kh=ae.Uint8Array,Gh=Ja?Ja.allocUnsafe:void 0,qh=qu(Object.getPrototypeOf,Object),Yh=Object.create,sS=Hn.propertyIsEnumerable,lS=Yu.splice,mn=Uh?Uh.toStringTag:void 0,es=function(){try{var S=tc(Object,"defineProperty");return S({},"",{}),S}catch{}}(),uS=Ja?Ja.isBuffer:void 0,Zh=Math.max,cS=Date.now,Xh=tc(ae,"Map"),Qi=tc(Object,"create"),dS=function(){function S(){}return function(C){if(!yn(C))return{};if(Yh)return Yh(C);S.prototype=C;var P=new S;return S.prototype=void 0,P}}();function gn(S){var C=-1,P=S==null?0:S.length;for(this.clear();++C<P;){var z=S[C];this.set(z[0],z[1])}}function fS(){this.__data__=Qi?Qi(null):{},this.size=0}function pS(S){var C=this.has(S)&&delete this.__data__[S];return this.size-=C?1:0,C}function hS(S){var C=this.__data__;if(Qi){var P=C[S];return P===n?void 0:P}return ye.call(C,S)?C[S]:void 0}function vS(S){var C=this.__data__;return Qi?C[S]!==void 0:ye.call(C,S)}function mS(S,C){var P=this.__data__;return this.size+=this.has(S)?0:1,P[S]=Qi&&C===void 0?n:C,this}gn.prototype.clear=fS,gn.prototype.delete=pS,gn.prototype.get=hS,gn.prototype.has=vS,gn.prototype.set=mS;function mr(S){var C=-1,P=S==null?0:S.length;for(this.clear();++C<P;){var z=S[C];this.set(z[0],z[1])}}function gS(){this.__data__=[],this.size=0}function yS(S){var C=this.__data__,P=ts(C,S);if(P<0)return!1;var z=C.length-1;return P==z?C.pop():lS.call(C,P,1),--this.size,!0}function bS(S){var C=this.__data__,P=ts(C,S);return P<0?void 0:C[P][1]}function xS(S){return ts(this.__data__,S)>-1}function SS(S,C){var P=this.__data__,z=ts(P,S);return z<0?(++this.size,P.push([S,C])):P[z][1]=C,this}mr.prototype.clear=gS,mr.prototype.delete=yS,mr.prototype.get=bS,mr.prototype.has=xS,mr.prototype.set=SS;function Un(S){var C=-1,P=S==null?0:S.length;for(this.clear();++C<P;){var z=S[C];this.set(z[0],z[1])}}function wS(){this.size=0,this.__data__={hash:new gn,map:new(Xh||mr),string:new gn}}function CS(S){var C=ns(this,S).delete(S);return this.size-=C?1:0,C}function ES(S){return ns(this,S).get(S)}function kS(S){return ns(this,S).has(S)}function _S(S,C){var P=ns(this,S),z=P.size;return P.set(S,C),this.size+=P.size==z?0:1,this}Un.prototype.clear=wS,Un.prototype.delete=CS,Un.prototype.get=ES,Un.prototype.has=kS,Un.prototype.set=_S;function Kn(S){var C=this.__data__=new mr(S);this.size=C.size}function TS(){this.__data__=new mr,this.size=0}function PS(S){var C=this.__data__,P=C.delete(S);return this.size=C.size,P}function AS(S){return this.__data__.get(S)}function IS(S){return this.__data__.has(S)}function MS(S,C){var P=this.__data__;if(P instanceof mr){var z=P.__data__;if(!Xh||z.length<r-1)return z.push([S,C]),this.size=++P.size,this;P=this.__data__=new Un(z)}return P.set(S,C),this.size=P.size,this}Kn.prototype.clear=TS,Kn.prototype.delete=PS,Kn.prototype.get=AS,Kn.prototype.has=IS,Kn.prototype.set=MS;function RS(S,C){var P=ic(S),z=!P&&nc(S),ne=!P&&!z&&r0(S),pe=!P&&!z&&!ne&&i0(S),we=P||z||ne||pe,te=we?Za(S.length,String):[],Ce=te.length;for(var At in S)(C||ye.call(S,At))&&!(we&&(At=="length"||ne&&(At=="offset"||At=="parent")||pe&&(At=="buffer"||At=="byteLength"||At=="byteOffset")||e0(At,Ce)))&&te.push(At);return te}function Ju(S,C,P){(P!==void 0&&!is(S[C],P)||P===void 0&&!(C in S))&&ec(S,C,P)}function LS(S,C,P){var z=S[C];(!(ye.call(S,C)&&is(z,P))||P===void 0&&!(C in S))&&ec(S,C,P)}function ts(S,C){for(var P=S.length;P--;)if(is(S[P][0],C))return P;return-1}function ec(S,C,P){C=="__proto__"&&es?es(S,C,{configurable:!0,enumerable:!0,value:P,writable:!0}):S[C]=P}var OS=GS();function rs(S){return S==null?S===void 0?_:v:mn&&mn in Object(S)?qS(S):e5(S)}function Qh(S){return Ji(S)&&rs(S)==s}function NS(S){if(!yn(S)||QS(S))return!1;var C=ac(S)?aS:$;return C.test(i5(S))}function DS(S){return Ji(S)&&n0(S.length)&&!!R[rs(S)]}function $S(S){if(!yn(S))return JS(S);var C=t0(S),P=[];for(var z in S)z=="constructor"&&(C||!ye.call(S,z))||P.push(z);return P}function Jh(S,C,P,z,ne){S!==C&&OS(C,function(pe,we){if(ne||(ne=new Kn),yn(pe))BS(S,C,we,P,Jh,z,ne);else{var te=z?z(rc(S,we),pe,we+"",S,C,ne):void 0;te===void 0&&(te=pe),Ju(S,we,te)}},o0)}function BS(S,C,P,z,ne,pe,we){var te=rc(S,P),Ce=rc(C,P),At=we.get(Ce);if(At){Ju(S,P,At);return}var xt=pe?pe(te,Ce,P+"",S,C,we):void 0,eo=xt===void 0;if(eo){var sc=ic(Ce),lc=!sc&&r0(Ce),s0=!sc&&!lc&&i0(Ce);xt=Ce,sc||lc||s0?ic(te)?xt=te:o5(te)?xt=HS(te):lc?(eo=!1,xt=VS(Ce,!0)):s0?(eo=!1,xt=WS(Ce,!0)):xt=[]:a5(Ce)||nc(Ce)?(xt=te,nc(te)?xt=s5(te):(!yn(te)||ac(te))&&(xt=YS(Ce))):eo=!1}eo&&(we.set(Ce,xt),ne(xt,Ce,z,pe,we),we.delete(Ce)),Ju(S,P,xt)}function FS(S,C){return r5(t5(S,C,a0),S+"")}var zS=es?function(S,C){return es(S,"toString",{configurable:!0,enumerable:!1,value:u5(C),writable:!0})}:a0;function VS(S,C){if(C)return S.slice();var P=S.length,z=Gh?Gh(P):new S.constructor(P);return S.copy(z),z}function jS(S){var C=new S.constructor(S.byteLength);return new Kh(C).set(new Kh(S)),C}function WS(S,C){var P=C?jS(S.buffer):S.buffer;return new S.constructor(P,S.byteOffset,S.length)}function HS(S,C){var P=-1,z=S.length;for(C||(C=Array(z));++P<z;)C[P]=S[P];return C}function US(S,C,P,z){var ne=!P;P||(P={});for(var pe=-1,we=C.length;++pe<we;){var te=C[pe],Ce=z?z(P[te],S[te],te,P,S):void 0;Ce===void 0&&(Ce=S[te]),ne?ec(P,te,Ce):LS(P,te,Ce)}return P}function KS(S){return FS(function(C,P){var z=-1,ne=P.length,pe=ne>1?P[ne-1]:void 0,we=ne>2?P[2]:void 0;for(pe=S.length>3&&typeof pe=="function"?(ne--,pe):void 0,we&&ZS(P[0],P[1],we)&&(pe=ne<3?void 0:pe,ne=1),C=Object(C);++z<ne;){var te=P[z];te&&S(C,te,z,pe)}return C})}function GS(S){return function(C,P,z){for(var ne=-1,pe=Object(C),we=z(C),te=we.length;te--;){var Ce=we[S?te:++ne];if(P(pe[Ce],Ce,pe)===!1)break}return C}}function ns(S,C){var P=S.__data__;return XS(C)?P[typeof C=="string"?"string":"hash"]:P.map}function tc(S,C){var P=Qa(S,C);return NS(P)?P:void 0}function qS(S){var C=ye.call(S,mn),P=S[mn];try{S[mn]=void 0;var z=!0}catch{}var ne=Xu.call(S);return z&&(C?S[mn]=P:delete S[mn]),ne}function YS(S){return typeof S.constructor=="function"&&!t0(S)?dS(qh(S)):{}}function e0(S,C){var P=typeof S;return C=C==null?a:C,!!C&&(P=="number"||P!="symbol"&&M.test(S))&&S>-1&&S%1==0&&S<C}function ZS(S,C,P){if(!yn(P))return!1;var z=typeof C;return(z=="number"?oc(P)&&e0(C,P.length):z=="string"&&C in P)?is(P[C],S):!1}function XS(S){var C=typeof S;return C=="string"||C=="number"||C=="symbol"||C=="boolean"?S!=="__proto__":S===null}function QS(S){return!!Qt&&Qt in S}function t0(S){var C=S&&S.constructor,P=typeof C=="function"&&C.prototype||Hn;return S===P}function JS(S){var C=[];if(S!=null)for(var P in Object(S))C.push(P);return C}function e5(S){return Xu.call(S)}function t5(S,C,P){return C=Zh(C===void 0?S.length-1:C,0),function(){for(var z=arguments,ne=-1,pe=Zh(z.length-C,0),we=Array(pe);++ne<pe;)we[ne]=z[C+ne];ne=-1;for(var te=Array(C+1);++ne<C;)te[ne]=z[ne];return te[C]=P(we),Ya(S,this,te)}}function rc(S,C){if(!(C==="constructor"&&typeof S[C]=="function")&&C!="__proto__")return S[C]}var r5=n5(zS);function n5(S){var C=0,P=0;return function(){var z=cS(),ne=o-(z-P);if(P=z,ne>0){if(++C>=i)return arguments[0]}else C=0;return S.apply(void 0,arguments)}}function i5(S){if(S!=null){try{return X.call(S)}catch{}try{return S+""}catch{}}return""}function is(S,C){return S===C||S!==S&&C!==C}var nc=Qh(function(){return arguments}())?Qh:function(S){return Ji(S)&&ye.call(S,"callee")&&!sS.call(S,"callee")},ic=Array.isArray;function oc(S){return S!=null&&n0(S.length)&&!ac(S)}function o5(S){return Ji(S)&&oc(S)}var r0=uS||c5;function ac(S){if(!yn(S))return!1;var C=rs(S);return C==h||C==g||C==u||C==x}function n0(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=a}function yn(S){var C=typeof S;return S!=null&&(C=="object"||C=="function")}function Ji(S){return S!=null&&typeof S=="object"}function a5(S){if(!Ji(S)||rs(S)!=y)return!1;var C=qh(S);if(C===null)return!0;var P=ye.call(C,"constructor")&&C.constructor;return typeof P=="function"&&P instanceof P&&X.call(P)==Qu}var i0=lt?Xa(lt):DS;function s5(S){return US(S,o0(S))}function o0(S){return oc(S)?RS(S,!0):$S(S)}var l5=KS(function(S,C,P,z){Jh(S,C,P,z)});function u5(S){return function(){return S}}function a0(S){return S}function c5(){return!1}e.exports=l5})(Xd,Xd.exports);var qt=Xd.exports;function m4(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function g4(e,t){return[].concat(e,[t])}function y4(e,t){return e.filter(function(r){return r!==t})}function on(e){return typeof e=="number"}function Mi(e){return Array.isArray(e)}function Mu(e){return typeof e=="function"}function b4(e){return typeof e=="undefined"||e===void 0}function Et(e){var t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Mi(e)}function x4(e){return Et(e)&&Object.keys(e).length===0}function tb(e){return e==null}function Gp(e){return Object.prototype.toString.call(e)==="[object String]"}function rb(e){return/^var\(--.+\)$/.test(e)}var fe=!1;function Da(e,t){var r={};return Object.keys(e).forEach(function(n){t.includes(n)||(r[n]=e[n])}),r}function S4(e,t){var r={};return t.forEach(function(n){n in e&&(r[n]=e[n])}),r}function w4(e,t,r,n){var i=typeof t=="string"?t.split("."):[t];for(n=0;n<i.length&&e;n+=1)e=e[i[n]];return e===void 0?r:e}var C4=function(t){var r=new WeakMap,n=function(o,a,s,l){if(typeof o=="undefined")return t(o,a,s);r.has(o)||r.set(o,new Map);var u=r.get(o);if(u.has(a))return u.get(a);var c=t(o,a,s,l);return u.set(a,c),c};return n},Ru=C4(w4);function nb(e,t){var r={};return Object.keys(e).forEach(function(n){var i=e[n],o=t(i,n,e);o&&(r[n]=i)}),r}var Lu=function(t){return nb(t,function(r){return r!=null})},qp=function(t){return Object.keys(t)},Ol=function(t){return t.reduce(function(r,n){var i=n[0],o=n[1];return r[i]=o,r},{})};function E4(e){var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}function Qd(e){if(e==null)return e;var t=E4(e),r=t.unitless;return r||on(e)?e+"px":e}var ib=function(t,r){return parseInt(t[1],10)>parseInt(r[1],10)?1:-1},Yp=function(t){return Ol(Object.entries(t).sort(ib))};function Nv(e){var t=Yp(e);return Object.assign(Object.values(t),t)}function k4(e){var t=Object.keys(Yp(e));return new Set(t)}function _4(e){var t;if(!e)return e;e=(t=Qd(e))!=null?t:e;var r=e.endsWith("px")?-1:-.0635;return on(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,function(n){return""+(parseFloat(n)+r)})}function bs(e,t){var r=["@media screen"];return e&&r.push("and","(min-width: "+Qd(e)+")"),t&&r.push("and","(max-width: "+Qd(t)+")"),r.join(" ")}function T4(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";var r=Nv(e),n=Object.entries(e).sort(ib).map(function(a,s,l){var u,c=a[0],p=a[1],f=(u=l[s+1])!=null?u:[],h=f[1];return h=parseFloat(h)>0?_4(h):void 0,{breakpoint:c,minW:p,maxW:h,maxWQuery:bs(null,h),minWQuery:bs(p),minMaxQuery:bs(p,h)}}),i=k4(e),o=Array.from(i.values());return{keys:i,normalized:r,isResponsive:function(s){var l=Object.keys(s);return l.length>0&&l.every(function(u){return i.has(u)})},asObject:Yp(e),asArray:Nv(e),details:n,media:[null].concat(r.map(function(a){return bs(a)}).slice(1)),toArrayValue:function(s){if(!Et(s))throw new Error("toArrayValue: value must be an object");for(var l=o.map(function(u){var c;return(c=s[u])!=null?c:null});m4(l)===null;)l.pop();return l},toObjectValue:function(s){if(!Array.isArray(s))throw new Error("toObjectValue: value must be an array");return s.reduce(function(l,u,c){var p=o[c];return p!=null&&u!=null&&(l[p]=u),l},{})}}}function ob(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function ab(e){var t;if(!ob(e))return!1;var r=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof r.HTMLElement}function sb(e){var t;return ob(e)&&(t=e.ownerDocument)!=null?t:document}function P4(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ji=P4(),qe=function(t){return t?"":void 0},Oc=function(t){return t?!0:void 0},ee=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.filter(Boolean).join(" ")};function lb(e){var t=e.key,r=e.keyCode,n=r>=37&&r<=40&&t.indexOf("Arrow")!==0,i=n?"Arrow"+t:t;return i}function Dv(e){return e.button!==0}function A4(e){return ab(e)&&e.tagName.toLowerCase()==="input"&&"select"in e}function I4(e){var t=ab(e)?sb(e):document;return t.activeElement===e}function $v(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function M4(e,t){if(!!e){if(typeof e=="string")return $v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $v(e,t)}}function R4(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=M4(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Mu(e)?e.apply(void 0,r):e}function Le(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){t.some(function(o){return o==null||o(i),i==null?void 0:i.defaultPrevented})}}function L4(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){t.forEach(function(o){o==null||o(i)})}}function O4(e){var t;return function(){if(e){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];t=e.apply(this,i),e=null}return t}}var ha=function(){},vn=O4(function(e){return function(){var t=e.condition,r=e.message;t&&fe&&console.warn(r)}});function _r(e,t){t===void 0&&(t={});var r=t,n=r.isActive,i=n===void 0?I4:n,o=r.nextTick,a=r.preventScroll,s=a===void 0?!0:a,l=r.selectTextIfInput,u=l===void 0?!0:l;if(!e||i(e))return-1;function c(){if(!e){vn({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"});return}if(N4())e.focus({preventScroll:s});else if(e.focus(),s){var p=D4(e);$4(p)}A4(e)&&u&&e.select()}return o?requestAnimationFrame(c):(c(),-1)}var xs=null;function N4(){if(xs==null){xs=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return xs=!0,!0}})}catch{}}return xs}function D4(e){for(var t,r=sb(e),n=(t=r.defaultView)!=null?t:window,i=e.parentNode,o=[],a=r.scrollingElement||r.documentElement;i instanceof n.HTMLElement&&i!==a;)(i.offsetHeight<i.scrollHeight||i.offsetWidth<i.scrollWidth)&&o.push({element:i,scrollTop:i.scrollTop,scrollLeft:i.scrollLeft}),i=i.parentNode;return a instanceof n.HTMLElement&&o.push({element:a,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft}),o}function $4(e){for(var t=R4(e),r;!(r=t()).done;){var n=r.value,i=n.element,o=n.scrollTop,a=n.scrollLeft;i.scrollTop=o,i.scrollLeft=a}}function Jd(e,t){return t===void 0&&(t=1/0),!Et(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce(function(r,n){var i=n[0],o=n[1];return Et(o)||Mi(o)?Object.entries(Jd(o,t-1)).forEach(function(a){var s=a[0],l=a[1];r[i+"."+s]=l}):r[i]=o,r},{})}function B4(e){var t=e.hasBeenSelected,r=e.isLazy,n=e.isSelected,i=e.lazyBehavior,o=i===void 0?"unmount":i;return!!(!r||n||o==="keepMounted"&&t)}Object.freeze(["base","sm","md","lg","xl","2xl"]);function Wi(e,t){return Mi(e)?e.map(function(r){return r===null?null:t(r)}):Et(e)?qp(e).reduce(function(r,n){return r[n]=t(e[n]),r},{}):e!=null?t(e):null}function ub(e){e===void 0&&(e={});var t=e,r=t.strict,n=r===void 0?!0:r,i=t.errorMessage,o=i===void 0?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":i,a=t.name,s=d.exports.createContext(void 0);s.displayName=a;function l(){var u=d.exports.useContext(s);if(!u&&n){var c=new Error(o);throw c.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(c,l),c}return u}return[s.Provider,l,s]}var Nl=ji?d.exports.useLayoutEffect:d.exports.useEffect;function $o(e,t){t===void 0&&(t=[]);var r=d.exports.useRef(e);return Nl(function(){r.current=e}),d.exports.useCallback(function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r.current==null?void 0:r.current.apply(r,i)},t)}function Nc(e){e===void 0&&(e=!1);var t=d.exports.useState(e),r=t[0],n=t[1],i=d.exports.useCallback(function(){n(!0)},[]),o=d.exports.useCallback(function(){n(!1)},[]),a=d.exports.useCallback(function(){n(function(s){return!s})},[]);return[r,{on:i,off:o,toggle:a}]}function F4(e,t){var r=e!==void 0,n=r&&typeof e!="undefined"?e:t;return[r,n]}function cb(e){var t=e.value,r=e.defaultValue,n=e.onChange,i=e.shouldUpdate,o=i===void 0?function(g,b){return g!==b}:i,a=$o(n),s=$o(o),l=d.exports.useState(r),u=l[0],c=l[1],p=t!==void 0,f=p?t:u,h=d.exports.useCallback(function(g){var b=Lt(g,f);!s(f,b)||(p||c(b),a(b))},[p,a,f,s]);return[f,h]}var z4={current:1},db=d.exports.createContext(z4),V4=d.exports.memo(function(e){var t=e.children;return d.exports.createElement(db.Provider,{value:{current:1}},t)}),j4=function(t){return t.current++};function fb(e,t){var r=d.exports.useContext(db),n=d.exports.useState(r.current),i=n[0],o=n[1];return d.exports.useEffect(function(){o(j4(r))},[r]),d.exports.useMemo(function(){return e||[t,i].filter(Boolean).join("-")},[e,t,i])}function W4(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=fb(e);return d.exports.useMemo(function(){return r.map(function(o){return o+"-"+i})},[i,r])}var H4=function(t,r){var n=d.exports.useRef(!1);return d.exports.useEffect(function(){if(n.current)return t();n.current=!0},r),n.current};function U4(e,t){return t===void 0&&(t=[]),d.exports.useEffect(function(){return function(){return e()}},t)}function K4(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function G4(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return d.exports.useMemo(function(){return t.every(function(n){return n==null})?null:function(n){t.forEach(function(i){i&&K4(i,n)})}},t)}var q4=ub({strict:!1,name:"PortalManagerContext"}),Y4=q4[0];function Z4(e){var t=e.children,r=e.zIndex;return d.exports.createElement(Y4,{value:{zIndex:r}},t)}ub({strict:!1,name:"PortalContext"});var Zp={exports:{}},$a={};/** @license React v17.0.2
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var X4=d.exports,pb=60103;$a.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var Bv=Symbol.for;pb=Bv("react.element"),$a.Fragment=Bv("react.fragment")}var Q4=X4.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,J4=Object.prototype.hasOwnProperty,eE={key:!0,ref:!0,__self:!0,__source:!0};function hb(e,t,r){var n,i={},o=null,a=null;r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(n in t)J4.call(t,n)&&!eE.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)i[n]===void 0&&(i[n]=t[n]);return{$$typeof:pb,type:e,key:o,ref:a,props:i,_owner:Q4.current}}$a.jsx=hb;$a.jsxs=hb;Zp.exports=$a;const j=Zp.exports.jsx,Ne=Zp.exports.jsxs;var tE={body:{classList:{add:function(){},remove:function(){}}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}}},vb=tE,qn=function(){},rE={document:vb,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:qn,removeEventListener:qn,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:qn,removeListener:qn}},requestAnimationFrame:function(t){return typeof setTimeout=="undefined"?(t(),null):setTimeout(t,0)},cancelAnimationFrame:function(t){typeof setTimeout!="undefined"&&clearTimeout(t)},setTimeout:function(){return 0},clearTimeout:qn,setInterval:function(){return 0},clearInterval:qn},nE=rE,iE={window:nE,document:vb},oE=ji?{window,document}:iE,aE=d.exports.createContext(oE);function sE(){return d.exports.useContext(aE)}var Ss={light:"chakra-ui-light",dark:"chakra-ui-dark"},lE={classList:{add:ha,remove:ha}},uE=function(t){return ji?t.body:lE};function cE(e,t){var r=uE(t);r.classList.add(e?Ss.dark:Ss.light),r.classList.remove(e?Ss.light:Ss.dark)}function dE(e){var t=window.matchMedia==null?void 0:window.matchMedia(e);if(!!t)return!!t.media===t.matches}var mb={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function fE(e){var t,r=(t=dE(mb.dark))!=null?t:e==="dark";return r?"dark":"light"}function pE(e){if(!("matchMedia"in window))return ha;var t=window.matchMedia(mb.dark),r=function(){e(t.matches?"dark":"light",!0)};return t.addEventListener("change",r),function(){t.removeEventListener("change",r)}}var Fv={get:function(){return document.documentElement.style.getPropertyValue("--chakra-ui-color-mode")||document.documentElement.dataset.theme},set:function(t){ji&&(document.documentElement.style.setProperty("--chakra-ui-color-mode",t),document.documentElement.setAttribute("data-theme",t))}},zv=function(){return typeof Storage!="undefined"},Vv="chakra-ui-color-mode",hE={get:function(t){if(!zv())return t;try{var r=localStorage.getItem(Vv);return r!=null?r:t}catch{return t}},set:function(t){if(!!zv())try{localStorage.setItem(Vv,t)}catch{}},type:"localStorage"},gb=d.exports.createContext({}),Hi=function(){var t=d.exports.useContext(gb);if(t===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return t};function vE(e){var t=e.value,r=e.children,n=e.options,i=n.useSystemColorMode,o=n.initialColorMode,a=e.colorModeManager,s=a===void 0?hE:a,l=o==="dark"?"dark":"light",u=d.exports.useState(s.type==="cookie"?s.get(l):l),c=u[0],p=u[1],f=sE(),h=f.document;d.exports.useEffect(function(){if(ji&&s.type==="localStorage"){var v=fE(l);if(i)return p(v);var y=Fv.get(),x=s.get();return p(y||x||(o==="system"?v:l))}},[s,i,l,o]),d.exports.useEffect(function(){var v=c==="dark";cE(v,h),Fv.set(v?"dark":"light")},[c,h]);var g=d.exports.useCallback(function(v,y){if(y===void 0&&(y=!1),!y)s.set(v);else if(s.get()&&!i)return;p(v)},[s,i]),b=d.exports.useCallback(function(){g(c==="light"?"dark":"light")},[c,g]);d.exports.useEffect(function(){var v=i||o==="system",y;return v&&(y=pE(g)),function(){y&&v&&y()}},[g,i,o]);var m=d.exports.useMemo(function(){return{colorMode:t!=null?t:c,toggleColorMode:t?ha:b,setColorMode:t?ha:g}},[c,g,b,t]);return d.exports.createElement(gb.Provider,{value:m},r)}function yb(e,t){var r=Hi(),n=r.colorMode;return n==="dark"?t:e}function va(){return va=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},va.apply(this,arguments)}var bb=function(t,r){return function(n){var i=String(r),o=t?t+"."+i:i;return Et(n.__cssMap)&&o in n.__cssMap?n.__cssMap[o].varRef:r}};function ma(e){var t=e.scale,r=e.transform,n=e.compose,i=function(a,s){var l,u=bb(t,a)(s),c=(l=r==null?void 0:r(u,s))!=null?l:u;return n&&(c=n(c,s)),c};return i}function Vt(e,t){return function(r){var n={property:r,scale:e};return n.transform=ma({scale:e,transform:t}),n}}var mE=function(t){var r=t.rtl,n=t.ltr;return function(i){return i.direction==="rtl"?r:n}};function gE(e){var t=e.property,r=e.scale,n=e.transform;return{scale:r,property:mE(t),transform:r?ma({scale:r,compose:n}):n}}var Dc,$c,xb=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function yE(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))"].concat(xb).join(" ")}function bE(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)"].concat(xb).join(" ")}var xE={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},SE={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function wE(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var CE={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Sb="& > :not(style) ~ :not(style)",EE=(Dc={},Dc[Sb]={marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"},Dc),kE=($c={},$c[Sb]={marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"},$c);function Dl(e,t){return Dl=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Dl(e,t)}function _E(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dl(e,t)}function ef(){ef=function(i,o){return new r(i,void 0,o)};var e=RegExp.prototype,t=new WeakMap;function r(i,o,a){var s=new RegExp(i,o);return t.set(s,a||t.get(i)),Dl(s,r.prototype)}_E(r,RegExp),r.prototype.exec=function(i){var o=e.exec.call(this,i);return o&&(o.groups=n(o,this)),o},r.prototype[Symbol.replace]=function(i,o){if(typeof o=="string"){var a=t.get(this);return e[Symbol.replace].call(this,i,o.replace(/\$<([^>]+)>/g,function(l,u){return"$"+a[u]}))}else if(typeof o=="function"){var s=this;return e[Symbol.replace].call(this,i,function(){var l=arguments;return typeof l[l.length-1]!="object"&&(l=[].slice.call(l),l.push(n(l,s))),o.apply(this,l)})}else return e[Symbol.replace].call(this,i,o)};function n(i,o){var a=t.get(o);return Object.keys(a).reduce(function(s,l){return s[l]=i[a[l]],s},Object.create(null))}return ef.apply(this,arguments)}var tf={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},TE=new Set(Object.values(tf)),wb=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),PE=function(t){return t.trim()};function AE(e,t){var r,n;if(e==null||wb.has(e))return e;var i=ef(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),o=(r=(n=i.exec(e))==null?void 0:n.groups)!=null?r:{},a=o.type,s=o.values;if(!a||!s)return e;var l=a.includes("-gradient")?a:a+"-gradient",u=s.split(",").map(PE).filter(Boolean),c=u[0],p=u.slice(1);if((p==null?void 0:p.length)===0)return e;var f=c in tf?tf[c]:c;p.unshift(f);var h=p.map(function(g){if(TE.has(g))return g;var b=g.indexOf(" "),m=b!==-1?[g.substr(0,b),g.substr(b+1)]:[g],v=m[0],y=m[1],x=Cb(y)?y:y&&y.split(" "),w="colors."+v,k=w in t.__cssMap?t.__cssMap[w].varRef:v;return x?[k].concat(Array.isArray(x)?x:[x]).join(" "):k});return l+"("+h.join(", ")+")"}var Cb=function(t){return Gp(t)&&t.includes("(")&&t.includes(")")},IE=function(t,r){return AE(t,r!=null?r:{})},ME=function(t){var r=parseFloat(t.toString()),n=t.toString().replace(String(r),"");return{unitless:!n,value:r,unit:n}},Jt=function(t){return function(r){return t+"("+r+")"}},ce={filter:function(t){return t!=="auto"?t:xE},backdropFilter:function(t){return t!=="auto"?t:SE},ring:function(t){return wE(ce.px(t))},bgClip:function(t){return t==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}},transform:function(t){return t==="auto"?yE():t==="auto-gpu"?bE():t},px:function(t){if(t==null)return t;var r=ME(t),n=r.unitless;return n||on(t)?t+"px":t},fraction:function(t){return!on(t)||t>1?t:t*100+"%"},float:function(t,r){var n={left:"right",right:"left"};return r.direction==="rtl"?n[t]:t},degree:function(t){if(rb(t)||t==null)return t;var r=Gp(t)&&!t.endsWith("deg");return on(t)||r?t+"deg":t},gradient:IE,blur:Jt("blur"),opacity:Jt("opacity"),brightness:Jt("brightness"),contrast:Jt("contrast"),dropShadow:Jt("drop-shadow"),grayscale:Jt("grayscale"),hueRotate:Jt("hue-rotate"),invert:Jt("invert"),saturate:Jt("saturate"),sepia:Jt("sepia"),bgImage:function(t){if(t==null)return t;var r=Cb(t)||wb.has(t);return r?t:"url("+t+")"},outline:function(t){var r=String(t)==="0"||String(t)==="none";return t!==null&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:t}},flexDirection:function(t){var r,n=(r=CE[t])!=null?r:{},i=n.space,o=n.divide,a={flexDirection:t};return i&&(a[i]=1),o&&(a[o]=1),a}},E={borderWidths:Vt("borderWidths"),borderStyles:Vt("borderStyles"),colors:Vt("colors"),borders:Vt("borders"),radii:Vt("radii",ce.px),space:Vt("space",ce.px),spaceT:Vt("space",ce.px),degreeT:function(t){return{property:t,transform:ce.degree}},prop:function(t,r,n){return va({property:t,scale:r},r&&{transform:ma({scale:r,transform:n})})},propT:function(t,r){return{property:t,transform:r}},sizes:Vt("sizes",ce.px),sizesT:Vt("sizes",ce.fraction),shadows:Vt("shadows"),logical:gE,blur:Vt("blur",ce.blur)},tl={background:E.colors("background"),backgroundColor:E.colors("backgroundColor"),backgroundImage:E.propT("backgroundImage",ce.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:ce.bgClip},bgSize:E.prop("backgroundSize"),bgPosition:E.prop("backgroundPosition"),bg:E.colors("background"),bgColor:E.colors("backgroundColor"),bgPos:E.prop("backgroundPosition"),bgRepeat:E.prop("backgroundRepeat"),bgAttachment:E.prop("backgroundAttachment"),bgGradient:E.propT("backgroundImage",ce.gradient),bgClip:{transform:ce.bgClip}};Object.assign(tl,{bgImage:tl.backgroundImage,bgImg:tl.backgroundImage});var se={border:E.borders("border"),borderWidth:E.borderWidths("borderWidth"),borderStyle:E.borderStyles("borderStyle"),borderColor:E.colors("borderColor"),borderRadius:E.radii("borderRadius"),borderTop:E.borders("borderTop"),borderBlockStart:E.borders("borderBlockStart"),borderTopLeftRadius:E.radii("borderTopLeftRadius"),borderStartStartRadius:E.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:E.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:E.radii("borderTopRightRadius"),borderStartEndRadius:E.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:E.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:E.borders("borderRight"),borderInlineEnd:E.borders("borderInlineEnd"),borderBottom:E.borders("borderBottom"),borderBlockEnd:E.borders("borderBlockEnd"),borderBottomLeftRadius:E.radii("borderBottomLeftRadius"),borderBottomRightRadius:E.radii("borderBottomRightRadius"),borderLeft:E.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:E.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:E.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:E.borders(["borderLeft","borderRight"]),borderInline:E.borders("borderInline"),borderY:E.borders(["borderTop","borderBottom"]),borderBlock:E.borders("borderBlock"),borderTopWidth:E.borderWidths("borderTopWidth"),borderBlockStartWidth:E.borderWidths("borderBlockStartWidth"),borderTopColor:E.colors("borderTopColor"),borderBlockStartColor:E.colors("borderBlockStartColor"),borderTopStyle:E.borderStyles("borderTopStyle"),borderBlockStartStyle:E.borderStyles("borderBlockStartStyle"),borderBottomWidth:E.borderWidths("borderBottomWidth"),borderBlockEndWidth:E.borderWidths("borderBlockEndWidth"),borderBottomColor:E.colors("borderBottomColor"),borderBlockEndColor:E.colors("borderBlockEndColor"),borderBottomStyle:E.borderStyles("borderBottomStyle"),borderBlockEndStyle:E.borderStyles("borderBlockEndStyle"),borderLeftWidth:E.borderWidths("borderLeftWidth"),borderInlineStartWidth:E.borderWidths("borderInlineStartWidth"),borderLeftColor:E.colors("borderLeftColor"),borderInlineStartColor:E.colors("borderInlineStartColor"),borderLeftStyle:E.borderStyles("borderLeftStyle"),borderInlineStartStyle:E.borderStyles("borderInlineStartStyle"),borderRightWidth:E.borderWidths("borderRightWidth"),borderInlineEndWidth:E.borderWidths("borderInlineEndWidth"),borderRightColor:E.colors("borderRightColor"),borderInlineEndColor:E.colors("borderInlineEndColor"),borderRightStyle:E.borderStyles("borderRightStyle"),borderInlineEndStyle:E.borderStyles("borderInlineEndStyle"),borderTopRadius:E.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:E.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:E.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:E.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(se,{rounded:se.borderRadius,roundedTop:se.borderTopRadius,roundedTopLeft:se.borderTopLeftRadius,roundedTopRight:se.borderTopRightRadius,roundedTopStart:se.borderStartStartRadius,roundedTopEnd:se.borderStartEndRadius,roundedBottom:se.borderBottomRadius,roundedBottomLeft:se.borderBottomLeftRadius,roundedBottomRight:se.borderBottomRightRadius,roundedBottomStart:se.borderEndStartRadius,roundedBottomEnd:se.borderEndEndRadius,roundedLeft:se.borderLeftRadius,roundedRight:se.borderRightRadius,roundedStart:se.borderInlineStartRadius,roundedEnd:se.borderInlineEndRadius,borderStart:se.borderInlineStart,borderEnd:se.borderInlineEnd,borderTopStartRadius:se.borderStartStartRadius,borderTopEndRadius:se.borderStartEndRadius,borderBottomStartRadius:se.borderEndStartRadius,borderBottomEndRadius:se.borderEndEndRadius,borderStartRadius:se.borderInlineStartRadius,borderEndRadius:se.borderInlineEndRadius,borderStartWidth:se.borderInlineStartWidth,borderEndWidth:se.borderInlineEndWidth,borderStartColor:se.borderInlineStartColor,borderEndColor:se.borderInlineEndColor,borderStartStyle:se.borderInlineStartStyle,borderEndStyle:se.borderInlineEndStyle});var RE={color:E.colors("color"),textColor:E.colors("color"),fill:E.colors("fill"),stroke:E.colors("stroke")},rf={boxShadow:E.shadows("boxShadow"),mixBlendMode:!0,blendMode:E.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:E.prop("backgroundBlendMode"),opacity:!0};Object.assign(rf,{shadow:rf.boxShadow});var LE={filter:{transform:ce.filter},blur:E.blur("--chakra-blur"),brightness:E.propT("--chakra-brightness",ce.brightness),contrast:E.propT("--chakra-contrast",ce.contrast),hueRotate:E.degreeT("--chakra-hue-rotate"),invert:E.propT("--chakra-invert",ce.invert),saturate:E.propT("--chakra-saturate",ce.saturate),dropShadow:E.propT("--chakra-drop-shadow",ce.dropShadow),backdropFilter:{transform:ce.backdropFilter},backdropBlur:E.blur("--chakra-backdrop-blur"),backdropBrightness:E.propT("--chakra-backdrop-brightness",ce.brightness),backdropContrast:E.propT("--chakra-backdrop-contrast",ce.contrast),backdropHueRotate:E.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:E.propT("--chakra-backdrop-invert",ce.invert),backdropSaturate:E.propT("--chakra-backdrop-saturate",ce.saturate)},$l={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:ce.flexDirection},experimental_spaceX:{static:EE,transform:ma({scale:"space",transform:function(t){return t!==null?{"--chakra-space-x":t}:null}})},experimental_spaceY:{static:kE,transform:ma({scale:"space",transform:function(t){return t!=null?{"--chakra-space-y":t}:null}})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:E.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:E.space("gap"),rowGap:E.space("rowGap"),columnGap:E.space("columnGap")};Object.assign($l,{flexDir:$l.flexDirection});var Eb={gridGap:E.space("gridGap"),gridColumnGap:E.space("gridColumnGap"),gridRowGap:E.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},OE={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:ce.outline},outlineOffset:!0,outlineColor:E.colors("outlineColor")},It={width:E.sizesT("width"),inlineSize:E.sizesT("inlineSize"),height:E.sizes("height"),blockSize:E.sizes("blockSize"),boxSize:E.sizes(["width","height"]),minWidth:E.sizes("minWidth"),minInlineSize:E.sizes("minInlineSize"),minHeight:E.sizes("minHeight"),minBlockSize:E.sizes("minBlockSize"),maxWidth:E.sizes("maxWidth"),maxInlineSize:E.sizes("maxInlineSize"),maxHeight:E.sizes("maxHeight"),maxBlockSize:E.sizes("maxBlockSize"),d:E.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:E.propT("float",ce.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(It,{w:It.width,h:It.height,minW:It.minWidth,maxW:It.maxWidth,minH:It.minHeight,maxH:It.maxHeight,overscroll:It.overscrollBehavior,overscrollX:It.overscrollBehaviorX,overscrollY:It.overscrollBehaviorY});var NE={listStyleType:!0,listStylePosition:!0,listStylePos:E.prop("listStylePosition"),listStyleImage:!0,listStyleImg:E.prop("listStyleImage")},DE={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},$E={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Bc=function(t,r,n){var i={},o=Ru(t,r,{});for(var a in o){var s=a in n&&n[a]!=null;s||(i[a]=o[a])}return i},BE={srOnly:{transform:function(t){return t===!0?DE:t==="focusable"?$E:{}}},layerStyle:{processResult:!0,transform:function(t,r,n){return Bc(r,"layerStyles."+t,n)}},textStyle:{processResult:!0,transform:function(t,r,n){return Bc(r,"textStyles."+t,n)}},apply:{processResult:!0,transform:function(t,r,n){return Bc(r,t,n)}}},Bo={position:!0,pos:E.prop("position"),zIndex:E.prop("zIndex","zIndices"),inset:E.spaceT("inset"),insetX:E.spaceT(["left","right"]),insetInline:E.spaceT("insetInline"),insetY:E.spaceT(["top","bottom"]),insetBlock:E.spaceT("insetBlock"),top:E.spaceT("top"),insetBlockStart:E.spaceT("insetBlockStart"),bottom:E.spaceT("bottom"),insetBlockEnd:E.spaceT("insetBlockEnd"),left:E.spaceT("left"),insetInlineStart:E.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:E.spaceT("right"),insetInlineEnd:E.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Bo,{insetStart:Bo.insetInlineStart,insetEnd:Bo.insetInlineEnd});var FE={ring:{transform:ce.ring},ringColor:E.colors("--chakra-ring-color"),ringOffset:E.prop("--chakra-ring-offset-width"),ringOffsetColor:E.colors("--chakra-ring-offset-color"),ringInset:E.prop("--chakra-ring-inset")},xe={margin:E.spaceT("margin"),marginTop:E.spaceT("marginTop"),marginBlockStart:E.spaceT("marginBlockStart"),marginRight:E.spaceT("marginRight"),marginInlineEnd:E.spaceT("marginInlineEnd"),marginBottom:E.spaceT("marginBottom"),marginBlockEnd:E.spaceT("marginBlockEnd"),marginLeft:E.spaceT("marginLeft"),marginInlineStart:E.spaceT("marginInlineStart"),marginX:E.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:E.spaceT("marginInline"),marginY:E.spaceT(["marginTop","marginBottom"]),marginBlock:E.spaceT("marginBlock"),padding:E.space("padding"),paddingTop:E.space("paddingTop"),paddingBlockStart:E.space("paddingBlockStart"),paddingRight:E.space("paddingRight"),paddingBottom:E.space("paddingBottom"),paddingBlockEnd:E.space("paddingBlockEnd"),paddingLeft:E.space("paddingLeft"),paddingInlineStart:E.space("paddingInlineStart"),paddingInlineEnd:E.space("paddingInlineEnd"),paddingX:E.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:E.space("paddingInline"),paddingY:E.space(["paddingTop","paddingBottom"]),paddingBlock:E.space("paddingBlock")};Object.assign(xe,{m:xe.margin,mt:xe.marginTop,mr:xe.marginRight,me:xe.marginInlineEnd,marginEnd:xe.marginInlineEnd,mb:xe.marginBottom,ml:xe.marginLeft,ms:xe.marginInlineStart,marginStart:xe.marginInlineStart,mx:xe.marginX,my:xe.marginY,p:xe.padding,pt:xe.paddingTop,py:xe.paddingY,px:xe.paddingX,pb:xe.paddingBottom,pl:xe.paddingLeft,ps:xe.paddingInlineStart,paddingStart:xe.paddingInlineStart,pr:xe.paddingRight,pe:xe.paddingInlineEnd,paddingEnd:xe.paddingInlineEnd});var zE={textDecorationColor:E.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:E.shadows("textShadow")},VE={clipPath:!0,transform:E.propT("transform",ce.transform),transformOrigin:!0,translateX:E.spaceT("--chakra-translate-x"),translateY:E.spaceT("--chakra-translate-y"),skewX:E.degreeT("--chakra-skew-x"),skewY:E.degreeT("--chakra-skew-y"),scaleX:E.prop("--chakra-scale-x"),scaleY:E.prop("--chakra-scale-y"),scale:E.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:E.degreeT("--chakra-rotate")},jE={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:E.prop("transitionDuration","transition.duration"),transitionProperty:E.prop("transitionProperty","transition.property"),transitionTimingFunction:E.prop("transitionTimingFunction","transition.easing")},WE={fontFamily:E.prop("fontFamily","fonts"),fontSize:E.prop("fontSize","fontSizes",ce.px),fontWeight:E.prop("fontWeight","fontWeights"),lineHeight:E.prop("lineHeight","lineHeights"),letterSpacing:E.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"},isTruncated:{transform:function(t){if(t===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}},HE={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:E.spaceT("scrollMargin"),scrollMarginTop:E.spaceT("scrollMarginTop"),scrollMarginBottom:E.spaceT("scrollMarginBottom"),scrollMarginLeft:E.spaceT("scrollMarginLeft"),scrollMarginRight:E.spaceT("scrollMarginRight"),scrollMarginX:E.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:E.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:E.spaceT("scrollPadding"),scrollPaddingTop:E.spaceT("scrollPaddingTop"),scrollPaddingBottom:E.spaceT("scrollPaddingBottom"),scrollPaddingLeft:E.spaceT("scrollPaddingLeft"),scrollPaddingRight:E.spaceT("scrollPaddingRight"),scrollPaddingX:E.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:E.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function jv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function UE(e,t){if(!!e){if(typeof e=="string")return jv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return jv(e,t)}}function KE(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=UE(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ge={hover:function(t,r){return t+":hover "+r+", "+t+"[data-hover] "+r},focus:function(t,r){return t+":focus "+r+", "+t+"[data-focus] "+r},focusVisible:function(t,r){return t+":focus-visible "+r},focusWithin:function(t,r){return t+":focus-within "+r},active:function(t,r){return t+":active "+r+", "+t+"[data-active] "+r},disabled:function(t,r){return t+":disabled "+r+", "+t+"[data-disabled] "+r},invalid:function(t,r){return t+":invalid "+r+", "+t+"[data-invalid] "+r},checked:function(t,r){return t+":checked "+r+", "+t+"[data-checked] "+r},indeterminate:function(t,r){return t+":indeterminate "+r+", "+t+"[aria-checked=mixed] "+r+", "+t+"[data-indeterminate] "+r},readOnly:function(t,r){return t+":read-only "+r+", "+t+"[readonly] "+r+", "+t+"[data-read-only] "+r},expanded:function(t,r){return t+":read-only "+r+", "+t+"[aria-expanded=true] "+r+", "+t+"[data-expanded] "+r},placeholderShown:function(t,r){return t+":placeholder-shown "+r}},Nr=function(t){return kb(function(r){return t(r,"&")},"[role=group]","[data-group]",".group")},gr=function(t){return kb(function(r){return t(r,"~ &")},"[data-peer]",".peer")},kb=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(t).join(", ")},ga={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible",_disabled:"&[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:Nr(Ge.hover),_peerHover:gr(Ge.hover),_groupFocus:Nr(Ge.focus),_peerFocus:gr(Ge.focus),_groupFocusVisible:Nr(Ge.focusVisible),_peerFocusVisible:gr(Ge.focusVisible),_groupActive:Nr(Ge.active),_peerActive:gr(Ge.active),_groupDisabled:Nr(Ge.disabled),_peerDisabled:gr(Ge.disabled),_groupInvalid:Nr(Ge.invalid),_peerInvalid:gr(Ge.invalid),_groupChecked:Nr(Ge.checked),_peerChecked:gr(Ge.checked),_groupFocusWithin:Nr(Ge.focusWithin),_peerFocusWithin:gr(Ge.focusWithin),_peerPlaceholderShown:gr(Ge.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},GE=qp(ga),Xp=qt({},tl,se,RE,$l,It,LE,FE,OE,Eb,BE,Bo,rf,xe,HE,WE,zE,VE,NE,jE);Object.assign({},xe,It,$l,Eb,Bo);var qE=[].concat(qp(Xp),GE),YE=va({},Xp,ga),ZE=function(t){return t in YE},XE=function(t){return function(r){if(!r.__breakpoints)return t;var n=r.__breakpoints,i=n.isResponsive,o=n.toArrayValue,a=n.media,s={};for(var l in t){var u=Lt(t[l],r);if(u!=null){if(u=Et(u)&&i(u)?o(u):u,!Array.isArray(u)){s[l]=u;continue}for(var c=u.slice(0,a.length).length,p=0;p<c;p+=1){var f=a==null?void 0:a[p];if(!f){s[l]=u[p];continue}s[f]=s[f]||{},u[p]!=null&&(s[f][l]=u[p])}}}return s}},QE=function(t,r){return t.startsWith("--")&&Gp(r)&&!rb(r)},JE=function(t,r){var n,i;if(r==null)return r;var o=function(p){var f,h;return(f=t.__cssMap)==null||(h=f[p])==null?void 0:h.varRef},a=function(p){var f;return(f=o(p))!=null?f:p},s=r.split(",").map(function(c){return c.trim()}),l=s[0],u=s[1];return r=(n=(i=o(l))!=null?i:a(u))!=null?n:a(r),r};function e3(e){var t=e.configs,r=t===void 0?{}:t,n=e.pseudos,i=n===void 0?{}:n,o=e.theme,a=function s(l,u){u===void 0&&(u=!1);var c=Lt(l,o),p=XE(c)(o),f={};for(var h in p){var g,b,m,v,y,x=p[h],w=Lt(x,o);h in i&&(h=i[h]),QE(h,w)&&(w=JE(o,w));var k=r[h];if(k===!0&&(k={property:h}),Et(w)){var T;f[h]=(T=f[h])!=null?T:{},f[h]=qt({},f[h],s(w,!0));continue}var _=(g=(b=k)==null||b.transform==null?void 0:b.transform(w,o,c))!=null?g:w;_=(m=k)!=null&&m.processResult?s(_,!0):_;var A=Lt((v=k)==null?void 0:v.property,o);if(!u&&(y=k)!=null&&y.static){var I=Lt(k.static,o);f=qt({},f,I)}if(A&&Array.isArray(A)){for(var N=KE(A),U;!(U=N()).done;){var K=U.value;f[K]=_}continue}if(A){A==="&"&&Et(_)?f=qt({},f,_):f[A]=_;continue}if(Et(_)){f=qt({},f,_);continue}f[h]=_}return f};return a}var _b=function(t){return function(r){var n=e3({theme:r,pseudos:ga,configs:Xp});return n(t)}};function Tb(e){return Et(e)&&e.reference?e.reference:String(e)}var Ou=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(Tb).join(" "+t+" ").replace(/calc/g,"")},Wv=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Ou.apply(void 0,["+"].concat(r))+")"},Hv=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Ou.apply(void 0,["-"].concat(r))+")"},nf=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Ou.apply(void 0,["*"].concat(r))+")"},Uv=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Ou.apply(void 0,["/"].concat(r))+")"},Kv=function(t){var r=Tb(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:nf(r,-1)},Cn=Object.assign(function(e){return{add:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Cn(Wv.apply(void 0,[e].concat(n)))},subtract:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Cn(Hv.apply(void 0,[e].concat(n)))},multiply:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Cn(nf.apply(void 0,[e].concat(n)))},divide:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Cn(Uv.apply(void 0,[e].concat(n)))},negate:function(){return Cn(Kv(e))},toString:function(){return e.toString()}}},{add:Wv,subtract:Hv,multiply:nf,divide:Uv,negate:Kv});function t3(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function Pb(e){var t=t3(e.toString());if(t.includes("\\."))return e;var r=!Number.isInteger(parseFloat(e.toString()));return r?t.replace(".","\\."):e}function r3(e,t){return t===void 0&&(t=""),[t,Pb(e)].filter(Boolean).join("-")}function n3(e,t){return"var("+Pb(e)+(t?", "+t:"")+")"}function i3(e,t){return t===void 0&&(t=""),"--"+r3(e,t)}function o3(e,t,r){var n=i3(e,r);return{variable:n,reference:n3(n,t)}}function Gv(e,t){return o3(String(e).replace(/\./g,"-"),void 0,t)}function a3(e,t){for(var r={},n={},i=function(){var u=a[o],c=u[0],p=u[1],f=p.isSemantic,h=p.value,g=Gv(c,t==null?void 0:t.cssVarPrefix),b=g.variable,m=g.reference;if(!f){if(c.startsWith("space")){var v=c.split("."),y=v[0],x=v.slice(1),w=y+".-"+x.join("."),k=Cn.negate(h),T=Cn.negate(m);n[w]={value:k,var:b,varRef:T}}return r[b]=h,n[c]={value:h,var:b,varRef:m},"continue"}var _=function(N){var U=String(c).split(".")[0],K=[U,N].join("."),H=e[K];if(!H)return N;var J=Gv(K,t==null?void 0:t.cssVarPrefix),Q=J.reference;return Q},A=Et(h)?h:{default:h};r=qt(r,Object.entries(A).reduce(function(I,N){var U,K,H=N[0],J=N[1],Q=_(J);if(H==="default")return I[b]=Q,I;var ve=(U=ga==null?void 0:ga[H])!=null?U:H;return I[ve]=(K={},K[b]=Q,K),I},{})),n[c]={value:m,var:b,varRef:m}},o=0,a=Object.entries(e);o<a.length;o++)var s=i();return{cssVars:r,cssMap:n}}function s3(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var l3=["__cssMap","__cssVars","__breakpoints"],u3=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function c3(e){var t=u3;return S4(e,t)}function d3(e){return e.semanticTokens}function f3(e){e.__cssMap,e.__cssVars,e.__breakpoints;var t=s3(e,l3);return t}function p3(e){var t,r,n=e.tokens,i=e.semanticTokens,o=Object.entries((t=Jd(n))!=null?t:{}).map(function(s){var l=s[0],u=s[1],c={isSemantic:!1,value:u};return[l,c]}),a=Object.entries((r=Jd(i,1))!=null?r:{}).map(function(s){var l=s[0],u=s[1],c={isSemantic:!0,value:u};return[l,c]});return Ol([].concat(o,a))}function h3(e){var t,r=f3(e),n=c3(r),i=d3(r),o=p3({tokens:n,semanticTokens:i}),a=(t=r.config)==null?void 0:t.cssVarPrefix,s=a3(o,{cssVarPrefix:a}),l=s.cssMap,u=s.cssVars,c={"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"};return Object.assign(r,{__cssVars:va({},c,u),__cssMap:l,__breakpoints:T4(r.breakpoints)}),r}var v3=typeof Element!="undefined",m3=typeof Map=="function",g3=typeof Set=="function",y3=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function rl(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!rl(e[n],t[n]))return!1;return!0}var o;if(m3&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;for(o=e.entries();!(n=o.next()).done;)if(!rl(n.value[1],t.get(n.value[0])))return!1;return!0}if(g3&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(y3&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;if(v3&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&e.$$typeof)&&!rl(e[i[n]],t[i[n]]))return!1;return!0}return e!==e&&t!==t}var b3=function(t,r){try{return rl(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}};function x3(e){e===void 0&&(e={});var t=e,r=t.strict,n=r===void 0?!0:r,i=t.errorMessage,o=i===void 0?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":i,a=t.name,s=d.exports.createContext(void 0);s.displayName=a;function l(){var u=d.exports.useContext(s);if(!u&&n){var c=new Error(o);throw c.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(c,l),c}return u}return[s.Provider,l,s]}var S3=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,w3=Hy(function(e){return S3.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),C3=w3,E3=function(t){return t!=="theme"},qv=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?C3:E3},Yv=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},k3=ki["useInsertionEffect"]?ki["useInsertionEffect"]:function(t){t()};function _3(e){k3(e)}var T3=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Yy(r,n,i),_3(function(){return Zy(r,n,i)}),null},P3=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var s=Yv(t,r,n),l=s||qv(i),u=!l("as");return function(){var c=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&p.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)p.push.apply(p,c);else{p.push(c[0][0]);for(var f=c.length,h=1;h<f;h++)p.push(c[h],c[0][h])}var g=Jy(function(b,m,v){var y=u&&b.as||i,x="",w=[],k=b;if(b.theme==null){k={};for(var T in b)k[T]=b[T];k.theme=d.exports.useContext(pa)}typeof b.className=="string"?x=i4(m.registered,w,b.className):b.className!=null&&(x=b.className+" ");var _=Up(p.concat(w),m.registered,k);x+=m.key+"-"+_.name,a!==void 0&&(x+=" "+a);var A=u&&s===void 0?qv(y):l,I={};for(var N in b)u&&N==="as"||A(N)&&(I[N]=b[N]);return I.className=x,I.ref=v,d.exports.createElement(d.exports.Fragment,null,d.exports.createElement(T3,{cache:m,serialized:_,isStringTag:typeof y=="string"}),d.exports.createElement(y,I))});return g.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=p,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return"."+a}}),g.withComponent=function(b,m){return e(b,Ll({},r,m,{shouldForwardProp:Yv(g,m,!0)})).apply(void 0,p)},g}},A3=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],of=P3.bind();A3.forEach(function(e){of[e]=of(e)});function af(){return af=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},af.apply(this,arguments)}var I3=function(t){var r=t.cssVarsRoot,n=t.theme,i=t.children,o=d.exports.useMemo(function(){return h3(n)},[n]);return d.exports.createElement(f4,{theme:o},d.exports.createElement(M3,{root:r}),i)},M3=function(t){var r=t.root,n=r===void 0?":host, :root":r,i=[n,"[data-theme]"].join(",");return d.exports.createElement(Kp,{styles:function(a){var s;return s={},s[i]=a.__cssVars,s}})};function R3(){var e=d.exports.useContext(pa);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var Ab=x3({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),Qp=Ab[0],vr=Ab[1],L3=function(){var t=Hi(),r=t.colorMode;return d.exports.createElement(Kp,{styles:function(i){var o=Ru(i,"styles.global"),a=Lt(o,{theme:i,colorMode:r});if(!!a){var s=_b(a)(i);return s}}})};function st(e){return Da(e,["styleConfig","size","variant","colorScheme"])}function O3(){var e=Hi(),t=R3();return af({},e,{theme:t})}function Jp(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var N3=new Set([].concat(qE,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),D3=new Set(["htmlWidth","htmlHeight","htmlSize"]),$3=function(t){return D3.has(t)||!N3.has(t)},B3=["theme","css","__css","sx"],F3=["baseStyle"],z3=function(t){var r=t.baseStyle;return function(n){n.theme;var i=n.css,o=n.__css,a=n.sx,s=Jp(n,B3),l=nb(s,function(f,h){return ZE(h)}),u=Lt(r,n),c=Object.assign({},o,u,Lu(l),a),p=_b(c)(n.theme);return i?[p,i]:p}};function Fc(e,t){var r=t!=null?t:{},n=r.baseStyle,i=Jp(r,F3);i.shouldForwardProp||(i.shouldForwardProp=$3);var o=z3({baseStyle:n});return of(e,i)(o)}function Y(e){return d.exports.forwardRef(e)}var V3=["styleConfig"];function Xt(e,t,r){var n;t===void 0&&(t={}),r===void 0&&(r={});var i=t,o=i.styleConfig,a=Jp(i,V3),s=O3(),l=s.theme,u=s.colorMode,c=Ru(l,"components."+e),p=o||c,f=qt({theme:l,colorMode:u},(n=p==null?void 0:p.defaultProps)!=null?n:{},Lu(Da(a,["children"]))),h=d.exports.useRef({});if(p){var g,b,m,v,y,x,w=Lt((g=p.baseStyle)!=null?g:{},f),k=Lt((b=(m=p.variants)==null?void 0:m[f.variant])!=null?b:{},f),T=Lt((v=(y=p.sizes)==null?void 0:y[f.size])!=null?v:{},f),_=qt({},w,T,k);(x=r)!=null&&x.isMultiPart&&p.parts&&p.parts.forEach(function(I){var N;_[I]=(N=_[I])!=null?N:{}});var A=b3(h.current,_);A||(h.current=_)}return h.current}function Ui(e,t){return Xt(e,t,{isMultiPart:!0})}function j3(){var e=new Map;return new Proxy(Fc,{apply:function(r,n,i){return Fc.apply(void 0,i)},get:function(r,n){return e.has(n)||e.set(n,Fc(n)),e.get(n)}})}var G=j3(),W3={body:{classList:{add:function(){},remove:function(){}}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}}},Ib=W3,Yn=function(){},H3={document:Ib,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Yn,removeEventListener:Yn,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:Yn,removeListener:Yn}},requestAnimationFrame:function(t){return typeof setTimeout=="undefined"?(t(),null):setTimeout(t,0)},cancelAnimationFrame:function(t){typeof setTimeout!="undefined"&&clearTimeout(t)},setTimeout:function(){return 0},clearTimeout:Yn,setInterval:function(){return 0},clearInterval:Yn},U3=H3,K3={window:U3,document:Ib},Mb=ji?{window,document}:K3,G3=d.exports.createContext(Mb);function q3(e){var t=e.children,r=e.environment,n=d.exports.useState(null),i=n[0],o=n[1],a=d.exports.useMemo(function(){var l,u=i==null?void 0:i.ownerDocument,c=i==null?void 0:i.ownerDocument.defaultView,p=u?{document:u,window:c}:void 0,f=(l=r!=null?r:p)!=null?l:Mb;return f},[i,r]),s=!i&&!r;return Ne(G3.Provider,{value:a,children:[t,s&&j("span",{ref:function(u){u&&o(u)}})]})}var Y3=function(t){var r=t.children,n=t.colorModeManager,i=t.portalZIndex,o=t.resetCSS,a=o===void 0?!0:o,s=t.theme,l=s===void 0?{}:s,u=t.environment,c=t.cssVarsRoot,p=d.exports.createElement(q3,{environment:u},r);return d.exports.createElement(V4,null,d.exports.createElement(I3,{theme:l,cssVarsRoot:c},d.exports.createElement(vE,{colorModeManager:n,options:l.config},a&&d.exports.createElement(v4,null),d.exports.createElement(L3,null),i?d.exports.createElement(Z4,{zIndex:i},p):p)))},Rb={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"};function Me(){return Me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Me.apply(this,arguments)}var Z3={max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem"},X3={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Lb=Me({},Rb,Z3,{container:X3});function Xe(e,t){Q3(e)&&(e="100%");var r=J3(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function ws(e){return Math.min(1,Math.max(0,e))}function Q3(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function J3(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Ob(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Cs(e){return e<=1?Number(e)*100+"%":e}function In(e){return e.length===1?"0"+e:String(e)}function ek(e,t,r){return{r:Xe(e,255)*255,g:Xe(t,255)*255,b:Xe(r,255)*255}}function Zv(e,t,r){e=Xe(e,255),t=Xe(t,255),r=Xe(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o=0,a=0,s=(n+i)/2;if(n===i)a=0,o=0;else{var l=n-i;switch(a=s>.5?l/(2-n-i):l/(n+i),n){case e:o=(t-r)/l+(t<r?6:0);break;case t:o=(r-e)/l+2;break;case r:o=(e-t)/l+4;break}o/=6}return{h:o,s:a,l:s}}function zc(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function tk(e,t,r){var n,i,o;if(e=Xe(e,360),t=Xe(t,100),r=Xe(r,100),t===0)i=r,o=r,n=r;else{var a=r<.5?r*(1+t):r+t-r*t,s=2*r-a;n=zc(s,a,e+1/3),i=zc(s,a,e),o=zc(s,a,e-1/3)}return{r:n*255,g:i*255,b:o*255}}function Xv(e,t,r){e=Xe(e,255),t=Xe(t,255),r=Xe(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o=0,a=n,s=n-i,l=n===0?0:s/n;if(n===i)o=0;else{switch(n){case e:o=(t-r)/s+(t<r?6:0);break;case t:o=(r-e)/s+2;break;case r:o=(e-t)/s+4;break}o/=6}return{h:o,s:l,v:a}}function rk(e,t,r){e=Xe(e,360)*6,t=Xe(t,100),r=Xe(r,100);var n=Math.floor(e),i=e-n,o=r*(1-t),a=r*(1-i*t),s=r*(1-(1-i)*t),l=n%6,u=[r,a,o,o,s,r][l],c=[s,r,r,a,o,o][l],p=[o,o,s,r,r,a][l];return{r:u*255,g:c*255,b:p*255}}function Qv(e,t,r,n){var i=[In(Math.round(e).toString(16)),In(Math.round(t).toString(16)),In(Math.round(r).toString(16))];return n&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function nk(e,t,r,n,i){var o=[In(Math.round(e).toString(16)),In(Math.round(t).toString(16)),In(Math.round(r).toString(16)),In(ik(n))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function ik(e){return Math.round(parseFloat(e)*255).toString(16)}function Jv(e){return St(e)/255}function St(e){return parseInt(e,16)}function ok(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var sf={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function ak(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,o=null,a=!1,s=!1;return typeof e=="string"&&(e=uk(e)),typeof e=="object"&&(yr(e.r)&&yr(e.g)&&yr(e.b)?(t=ek(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):yr(e.h)&&yr(e.s)&&yr(e.v)?(n=Cs(e.s),i=Cs(e.v),t=rk(e.h,n,i),a=!0,s="hsv"):yr(e.h)&&yr(e.s)&&yr(e.l)&&(n=Cs(e.s),o=Cs(e.l),t=tk(e.h,n,o),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=Ob(r),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var sk="[-\\+]?\\d+%?",lk="[-\\+]?\\d*\\.\\d+%?",Ur="(?:"+lk+")|(?:"+sk+")",Vc="[\\s|\\(]+("+Ur+")[,|\\s]+("+Ur+")[,|\\s]+("+Ur+")\\s*\\)?",jc="[\\s|\\(]+("+Ur+")[,|\\s]+("+Ur+")[,|\\s]+("+Ur+")[,|\\s]+("+Ur+")\\s*\\)?",Wt={CSS_UNIT:new RegExp(Ur),rgb:new RegExp("rgb"+Vc),rgba:new RegExp("rgba"+jc),hsl:new RegExp("hsl"+Vc),hsla:new RegExp("hsla"+jc),hsv:new RegExp("hsv"+Vc),hsva:new RegExp("hsva"+jc),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function uk(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(sf[e])e=sf[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=Wt.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=Wt.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=Wt.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=Wt.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=Wt.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=Wt.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=Wt.hex8.exec(e),r?{r:St(r[1]),g:St(r[2]),b:St(r[3]),a:Jv(r[4]),format:t?"name":"hex8"}:(r=Wt.hex6.exec(e),r?{r:St(r[1]),g:St(r[2]),b:St(r[3]),format:t?"name":"hex"}:(r=Wt.hex4.exec(e),r?{r:St(r[1]+r[1]),g:St(r[2]+r[2]),b:St(r[3]+r[3]),a:Jv(r[4]+r[4]),format:t?"name":"hex8"}:(r=Wt.hex3.exec(e),r?{r:St(r[1]+r[1]),g:St(r[2]+r[2]),b:St(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function yr(e){return Boolean(Wt.CSS_UNIT.exec(String(e)))}var Ba=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=ok(t)),this.originalInput=t;var i=ak(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:i.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,i,o=t.r/255,a=t.g/255,s=t.b/255;return o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*r+.7152*n+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Ob(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=Xv(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=Xv(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv("+r+", "+n+"%, "+i+"%)":"hsva("+r+", "+n+"%, "+i+"%, "+this.roundA+")"},e.prototype.toHsl=function(){var t=Zv(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Zv(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl("+r+", "+n+"%, "+i+"%)":"hsla("+r+", "+n+"%, "+i+"%, "+this.roundA+")"},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Qv(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),nk(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb("+t+", "+r+", "+n+")":"rgba("+t+", "+r+", "+n+", "+this.roundA+")"},e.prototype.toPercentageRgb=function(){var t=function(r){return Math.round(Xe(r,255)*100)+"%"};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(Xe(r,255)*100)};return this.a===1?"rgb("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%)":"rgba("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%, "+this.roundA+")"},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Qv(this.r,this.g,this.b,!1),r=0,n=Object.entries(sf);r<n.length;r++){var i=n[r],o=i[0],a=i[1];if(t===a)return o}return!1},e.prototype.toString=function(t){var r=Boolean(t);t=t!=null?t:this.format;var n=!1,i=this.a<1&&this.a>=0,o=!r&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=ws(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=ws(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=ws(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=ws(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),i=new e(t).toRgb(),o=r/100,a={r:(i.r-n.r)*o+n.r,g:(i.g-n.g)*o+n.g,b:(i.b-n.b)*o+n.b,a:(i.a-n.a)*o+n.a};return new e(a)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),i=360/r,o=[this];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,o.push(new e(n));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,i=r.s,o=r.v,a=[],s=1/t;t--;)a.push(new e({h:n,s:i,v:o})),o=(o+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb();return new e({r:n.r+(r.r-n.r)*r.a,g:n.g+(r.g-n.g)*r.a,b:n.b+(r.b-n.b)*r.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,i=[this],o=360/t,a=1;a<t;a++)i.push(new e({h:(n+a*o)%360,s:r.s,l:r.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function Nb(e){if(e===void 0&&(e={}),e.count!==void 0&&e.count!==null){var t=e.count,r=[];for(e.count=void 0;t>r.length;)e.count=null,e.seed&&(e.seed+=1),r.push(Nb(e));return e.count=t,r}var n=ck(e.hue,e.seed),i=dk(n,e),o=fk(n,i,e),a={h:n,s:i,v:o};return e.alpha!==void 0&&(a.a=e.alpha),new Ba(a)}function ck(e,t){var r=hk(e),n=Bl(r,t);return n<0&&(n=360+n),n}function dk(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return Bl([0,100],t.seed);var r=Db(e).saturationRange,n=r[0],i=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=i-10;break;case"light":i=55;break}return Bl([n,i],t.seed)}function fk(e,t,r){var n=pk(e,t),i=100;switch(r.luminosity){case"dark":i=n+20;break;case"light":n=(i+n)/2;break;case"random":n=0,i=100;break}return Bl([n,i],r.seed)}function pk(e,t){for(var r=Db(e).lowerBounds,n=0;n<r.length-1;n++){var i=r[n][0],o=r[n][1],a=r[n+1][0],s=r[n+1][1];if(t>=i&&t<=a){var l=(s-o)/(a-i),u=o-l*i;return l*t+u}}return 0}function hk(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var r=Bb.find(function(a){return a.name===e});if(r){var n=$b(r);if(n.hueRange)return n.hueRange}var i=new Ba(e);if(i.isValid){var o=i.toHsv().h;return[o,o]}}return[0,360]}function Db(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=Bb;t<r.length;t++){var n=r[t],i=$b(n);if(i.hueRange&&e>=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function Bl(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0;t=(t*9301+49297)%233280;var i=t/233280;return Math.floor(n+i*(r-n))}function $b(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],i=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,i]}}var Bb=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],ze=function(t,r,n){var i=Ru(t,"colors."+r,r),o=new Ba(i),a=o.isValid;return a?i:n},vk=function(t){return function(r){var n=ze(r,t),i=new Ba(n).isDark();return i?"dark":"light"}},mk=function(t){return function(r){return vk(t)(r)==="dark"}},Ri=function(t,r){return function(n){var i=ze(n,t);return new Ba(i).setAlpha(r).toRgbString()}};function em(e,t){return e===void 0&&(e="1rem"),t===void 0&&(t="rgba(255, 255, 255, 0.15)"),{backgroundImage:`linear-gradient(
    45deg,
    `+t+` 25%,
    transparent 25%,
    transparent 50%,
    `+t+` 50%,
    `+t+` 75%,
    transparent 75%,
    transparent
  )`,backgroundSize:e+" "+e}}function gk(e){var t=Nb().toHexString();return!e||x4(e)?t:e.string&&e.colors?bk(e.string,e.colors):e.string&&!e.colors?yk(e.string):e.colors&&!e.string?xk(e.colors):t}function yk(e){var t=0;if(e.length===0)return t.toString();for(var r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t=t&t;for(var n="#",i=0;i<3;i+=1){var o=t>>i*8&255;n+=("00"+o.toString(16)).substr(-2)}return n}function bk(e,t){var r=0;if(e.length===0)return t[0];for(var n=0;n<e.length;n+=1)r=e.charCodeAt(n)+((r<<5)-r),r=r&r;return r=(r%t.length+t.length)%t.length,t[r]}function xk(e){return e[Math.floor(Math.random()*e.length)]}function L(e,t){return function(r){return r.colorMode==="dark"?t:e}}function Fa(e){var t=e.orientation,r=e.vertical,n=e.horizontal;return t?t==="vertical"?r:n:{}}function lf(){return lf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lf.apply(this,arguments)}var Sk=function(t){return vn({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),lf({base:"0em"},t)};function tm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wk(e,t,r){return t&&tm(e.prototype,t),r&&tm(e,r),e}var Ck=function(){function e(t){var r=this;this.map={},this.called=!1,this.assert=function(){if(!r.called){r.called=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")},this.parts=function(){r.assert();for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];for(var a=0,s=i;a<s.length;a++){var l=s[a];r.map[l]=r.toPart(l)}return r},this.extend=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];for(var a=0,s=i;a<s.length;a++){var l=s[a];l in r.map||(r.map[l]=r.toPart(l))}return r},this.toPart=function(n){var i=["container","root"].includes(n!=null?n:"")?[r.name]:[r.name,n],o=i.filter(Boolean).join("__"),a="chakra-"+o,s={className:a,selector:"."+a,toString:function(){return n}};return s},this.__type={}}return wk(e,[{key:"selectors",get:function(){var r=Ol(Object.entries(this.map).map(function(n){var i=n[0],o=n[1];return[i,o.selector]}));return r}},{key:"classNames",get:function(){var r=Ol(Object.entries(this.map).map(function(n){var i=n[0],o=n[1];return[i,o.className]}));return r}},{key:"keys",get:function(){return Object.keys(this.map)}}]),e}();function he(e){return new Ck(e)}function Fb(e){return Et(e)&&e.reference?e.reference:String(e)}var Nu=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(Fb).join(" "+t+" ").replace(/calc/g,"")},rm=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Nu.apply(void 0,["+"].concat(r))+")"},nm=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Nu.apply(void 0,["-"].concat(r))+")"},uf=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Nu.apply(void 0,["*"].concat(r))+")"},im=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Nu.apply(void 0,["/"].concat(r))+")"},om=function(t){var r=Fb(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:uf(r,-1)},wr=Object.assign(function(e){return{add:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return wr(rm.apply(void 0,[e].concat(n)))},subtract:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return wr(nm.apply(void 0,[e].concat(n)))},multiply:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return wr(uf.apply(void 0,[e].concat(n)))},divide:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return wr(im.apply(void 0,[e].concat(n)))},negate:function(){return wr(om(e))},toString:function(){return e.toString()}}},{add:rm,subtract:nm,multiply:uf,divide:im,negate:om});function Ek(e){return!Number.isInteger(parseFloat(e.toString()))}function kk(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function zb(e){var t=kk(e.toString());return t.includes("\\.")?e:Ek(e)?t.replace(".","\\."):e}function _k(e,t){return t===void 0&&(t=""),[t,zb(e)].filter(Boolean).join("-")}function Tk(e,t){return"var("+zb(e)+(t?", "+t:"")+")"}function Pk(e,t){return t===void 0&&(t=""),"--"+_k(e,t)}function Pt(e,t){var r=Pk(e,t==null?void 0:t.prefix);return{variable:r,reference:Tk(r,Ak(t==null?void 0:t.fallback))}}function Ak(e){return typeof e=="string"?e:e==null?void 0:e.reference}var Ik=he("accordion").parts("root","container","button","panel").extend("icon"),Mk=he("alert").parts("title","description","container").extend("icon"),Rk=he("avatar").parts("label","badge","container").extend("excessLabel","group"),Lk=he("breadcrumb").parts("link","item","container").extend("separator");he("button").parts();var Ok=he("checkbox").parts("control","icon","container").extend("label");he("progress").parts("track","filledTrack").extend("label");var Nk=he("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Dk=he("editable").parts("preview","input","textarea"),$k=he("form").parts("container","requiredIndicator","helperText"),Bk=he("formError").parts("text","icon"),Fk=he("input").parts("addon","field","element"),zk=he("list").parts("container","item","icon"),Vk=he("menu").parts("button","list","item").extend("groupTitle","command","divider"),jk=he("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Wk=he("numberinput").parts("root","field","stepperGroup","stepper");he("pininput").parts("field");var Hk=he("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),Uk=he("progress").parts("label","filledTrack","track"),Kk=he("radio").parts("container","control","label"),Gk=he("select").parts("field","icon"),qk=he("slider").parts("container","track","thumb","filledTrack"),Yk=he("stat").parts("container","label","helpText","number","icon"),Zk=he("switch").parts("container","track","thumb"),Xk=he("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Qk=he("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Jk=he("tag").parts("container","label","closeButton"),Vb={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2","3":".75rem","4":"1rem","5":"1.25rem","6":"1.5rem","7":"1.75rem","8":"2rem","9":"2.25rem","10":"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},e_={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},t_={transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},r_={pt:2,px:4,pb:5},n_={fontSize:"1.25em"},i_={root:{},container:e_,button:t_,panel:r_,icon:n_},o_={parts:Ik.keys,baseStyle:i_},a_={container:{px:4,py:3},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6},icon:{flexShrink:0,marginEnd:3,w:5,h:6}};function eh(e){var t=e.theme,r=e.colorScheme,n=ze(t,r+".100",r),i=Ri(r+".200",.16)(t);return L(n,i)(e)}var s_=function(t){var r=t.colorScheme;return{container:{bg:eh(t)},icon:{color:L(r+".500",r+".200")(t)}}},l_=function(t){var r=t.colorScheme;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:L(r+".500",r+".200")(t),bg:eh(t)},icon:{color:L(r+".500",r+".200")(t)}}},u_=function(t){var r=t.colorScheme;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:L(r+".500",r+".200")(t),bg:eh(t)},icon:{color:L(r+".500",r+".200")(t)}}},c_=function(t){var r=t.colorScheme;return{container:{bg:L(r+".500",r+".200")(t),color:L("white","gray.900")(t)}}},d_={subtle:s_,"left-accent":l_,"top-accent":u_,solid:c_},f_={variant:"subtle",colorScheme:"blue"},p_={parts:Mk.keys,baseStyle:a_,variants:d_,defaultProps:f_},h_=function(t){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:L("white","gray.800")(t)}},v_=function(t){return{bg:L("gray.200","whiteAlpha.400")(t)}},m_=function(t){var r=t.name,n=t.theme,i=r?gk({string:r}):"gray.400",o=mk(i)(n),a="white";o||(a="gray.800");var s=L("white","gray.800")(t);return{bg:i,color:a,borderColor:s,verticalAlign:"top"}},g_=function(t){return{badge:h_(t),excessLabel:v_(t),container:m_(t)}};function Dr(e){var t=Lb[e];return{container:{width:e,height:e,fontSize:"calc("+(t!=null?t:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(t!=null?t:e)+" / 2.5)",lineHeight:e!=="100%"?t!=null?t:e:void 0}}}var y_={"2xs":Dr("4"),xs:Dr("6"),sm:Dr("8"),md:Dr("12"),lg:Dr("16"),xl:Dr("24"),"2xl":Dr("32"),full:Dr("100%")},b_={size:"md"},x_={parts:Rk.keys,baseStyle:g_,sizes:y_,defaultProps:b_},S_={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},w_=function(t){var r=t.colorScheme,n=t.theme,i=Ri(r+".500",.6)(n);return{bg:L(r+".500",i)(t),color:L("white","whiteAlpha.800")(t)}},C_=function(t){var r=t.colorScheme,n=t.theme,i=Ri(r+".200",.16)(n);return{bg:L(r+".100",i)(t),color:L(r+".800",r+".200")(t)}},E_=function(t){var r=t.colorScheme,n=t.theme,i=Ri(r+".200",.8)(n),o=ze(n,r+".500"),a=L(o,i)(t);return{color:a,boxShadow:"inset 0 0 0px 1px "+a}},k_={solid:w_,subtle:C_,outline:E_},__={variant:"subtle",colorScheme:"gray"},xi={baseStyle:S_,variants:k_,defaultProps:__},T_={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},P_={link:T_},A_={parts:Lk.keys,baseStyle:P_},I_={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},jb=function(t){var r=t.colorScheme,n=t.theme;if(r==="gray")return{color:L("inherit","whiteAlpha.900")(t),_hover:{bg:L("gray.100","whiteAlpha.200")(t)},_active:{bg:L("gray.200","whiteAlpha.300")(t)}};var i=Ri(r+".200",.12)(n),o=Ri(r+".200",.24)(n);return{color:L(r+".600",r+".200")(t),bg:"transparent",_hover:{bg:L(r+".50",i)(t)},_active:{bg:L(r+".100",o)(t)}}},M_=function(t){var r=t.colorScheme,n=L("gray.200","whiteAlpha.300")(t);return Me({border:"1px solid",borderColor:r==="gray"?n:"currentColor"},jb(t))},R_={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},L_=function(t){var r,n=t.colorScheme;if(n==="gray"){var i=L("gray.100","whiteAlpha.200")(t);return{bg:i,_hover:{bg:L("gray.200","whiteAlpha.300")(t),_disabled:{bg:i}},_active:{bg:L("gray.300","whiteAlpha.400")(t)}}}var o=(r=R_[n])!=null?r:{},a=o.bg,s=a===void 0?n+".500":a,l=o.color,u=l===void 0?"white":l,c=o.hoverBg,p=c===void 0?n+".600":c,f=o.activeBg,h=f===void 0?n+".700":f,g=L(s,n+".200")(t);return{bg:g,color:L(u,"gray.800")(t),_hover:{bg:L(p,n+".300")(t),_disabled:{bg:g}},_active:{bg:L(h,n+".400")(t)}}},O_=function(t){var r=t.colorScheme;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:L(r+".500",r+".200")(t),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:L(r+".700",r+".500")(t)}}},N_={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0},D_={ghost:jb,outline:M_,solid:L_,link:O_,unstyled:N_},$_={lg:{h:12,minW:12,fontSize:"lg",px:6},md:{h:10,minW:10,fontSize:"md",px:4},sm:{h:8,minW:8,fontSize:"sm",px:3},xs:{h:6,minW:6,fontSize:"xs",px:2}},B_={variant:"solid",size:"md",colorScheme:"gray"},F_={baseStyle:I_,variants:D_,sizes:$_,defaultProps:B_},z_=function(t){var r=t.colorScheme;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:L(r+".500",r+".200")(t),borderColor:L(r+".500",r+".200")(t),color:L("white","gray.900")(t),_hover:{bg:L(r+".600",r+".300")(t),borderColor:L(r+".600",r+".300")(t)},_disabled:{borderColor:L("gray.200","transparent")(t),bg:L("gray.200","whiteAlpha.300")(t),color:L("gray.500","whiteAlpha.500")(t)}},_indeterminate:{bg:L(r+".500",r+".200")(t),borderColor:L(r+".500",r+".200")(t),color:L("white","gray.900")(t)},_disabled:{bg:L("gray.100","whiteAlpha.100")(t),borderColor:L("gray.100","transparent")(t)},_focus:{boxShadow:"outline"},_invalid:{borderColor:L("red.500","red.300")(t)}}},V_={userSelect:"none",_disabled:{opacity:.4}},j_={transitionProperty:"transform",transitionDuration:"normal"},W_=function(t){return{icon:j_,control:z_(t),label:V_}},H_={sm:{control:{h:3,w:3},label:{fontSize:"sm"},icon:{fontSize:"0.45rem"}},md:{control:{w:4,h:4},label:{fontSize:"md"},icon:{fontSize:"0.625rem"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"},icon:{fontSize:"0.625rem"}}},U_={size:"md",colorScheme:"blue"},th={parts:Ok.keys,baseStyle:W_,sizes:H_,defaultProps:U_},Es,ks,_s,Fo=Pt("close-button-size"),K_=function(t){var r=L("blackAlpha.100","whiteAlpha.100")(t),n=L("blackAlpha.200","whiteAlpha.200")(t);return{w:[Fo.reference],h:[Fo.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:r},_active:{bg:n},_focus:{boxShadow:"outline"}}},G_={lg:(Es={},Es[Fo.variable]="40px",Es.fontSize="16px",Es),md:(ks={},ks[Fo.variable]="32px",ks.fontSize="12px",ks),sm:(_s={},_s[Fo.variable]="24px",_s.fontSize="10px",_s)},q_={size:"md"},Y_={baseStyle:K_,sizes:G_,defaultProps:q_},Z_=xi.variants,X_=xi.defaultProps,Q_={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},J_={baseStyle:Q_,variants:Z_,defaultProps:X_},eT={w:"100%",mx:"auto",maxW:"60ch",px:"1rem"},tT={baseStyle:eT},rT={opacity:.6,borderColor:"inherit"},nT={borderStyle:"solid"},iT={borderStyle:"dashed"},oT={solid:nT,dashed:iT},aT={variant:"solid"},sT={baseStyle:rT,variants:oT,defaultProps:aT};function Zn(e){return e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var lT={bg:"blackAlpha.600",zIndex:"overlay"},uT={display:"flex",zIndex:"modal",justifyContent:"center"},cT=function(t){var r=t.isFullHeight;return Me({},r&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:L("white","gray.700")(t),color:"inherit",boxShadow:L("lg","dark-lg")(t)})},dT={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},fT={position:"absolute",top:2,insetEnd:3},pT={px:6,py:2,flex:1,overflow:"auto"},hT={px:6,py:4},vT=function(t){return{overlay:lT,dialogContainer:uT,dialog:cT(t),header:dT,closeButton:fT,body:pT,footer:hT}},mT={xs:Zn("xs"),sm:Zn("md"),md:Zn("lg"),lg:Zn("2xl"),xl:Zn("4xl"),full:Zn("full")},gT={size:"xs"},yT={parts:Nk.keys,baseStyle:vT,sizes:mT,defaultProps:gT},bT={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},xT={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},ST={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},wT={preview:bT,input:xT,textarea:ST},CT={parts:Dk.keys,baseStyle:wT},ET=function(t){return{marginStart:1,color:L("red.500","red.300")(t)}},kT=function(t){return{mt:2,color:L("gray.500","whiteAlpha.600")(t),lineHeight:"normal",fontSize:"sm"}},_T=function(t){return{container:{width:"100%",position:"relative"},requiredIndicator:ET(t),helperText:kT(t)}},TT={parts:$k.keys,baseStyle:_T},PT=function(t){return{color:L("red.500","red.300")(t),mt:2,fontSize:"sm",lineHeight:"normal"}},AT=function(t){return{marginEnd:"0.5em",color:L("red.500","red.300")(t)}},IT=function(t){return{text:PT(t),icon:AT(t)}},MT={parts:Bk.keys,baseStyle:IT},RT={fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},LT={baseStyle:RT},OT={fontFamily:"heading",fontWeight:"bold"},NT={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},DT={size:"xl"},$T={baseStyle:OT,sizes:NT,defaultProps:DT},BT={field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},$r={lg:{fontSize:"lg",px:4,h:12,borderRadius:"md"},md:{fontSize:"md",px:4,h:10,borderRadius:"md"},sm:{fontSize:"sm",px:3,h:8,borderRadius:"sm"},xs:{fontSize:"xs",px:2,h:6,borderRadius:"sm"}},FT={lg:{field:$r.lg,addon:$r.lg},md:{field:$r.md,addon:$r.md},sm:{field:$r.sm,addon:$r.sm},xs:{field:$r.xs,addon:$r.xs}};function rh(e){var t=e.focusBorderColor,r=e.errorBorderColor;return{focusBorderColor:t||L("blue.500","blue.300")(e),errorBorderColor:r||L("red.500","red.300")(e)}}var zT=function(t){var r=t.theme,n=rh(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:L("gray.300","whiteAlpha.400")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:ze(r,o),boxShadow:"0 0 0 1px "+ze(r,o)},_focus:{zIndex:1,borderColor:ze(r,i),boxShadow:"0 0 0 1px "+ze(r,i)}},addon:{border:"1px solid",borderColor:L("inherit","whiteAlpha.50")(t),bg:L("gray.100","whiteAlpha.300")(t)}}},VT=function(t){var r=t.theme,n=rh(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{border:"2px solid",borderColor:"transparent",bg:L("gray.100","whiteAlpha.50")(t),_hover:{bg:L("gray.200","whiteAlpha.100")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:ze(r,o)},_focus:{bg:"transparent",borderColor:ze(r,i)}},addon:{border:"2px solid",borderColor:"transparent",bg:L("gray.100","whiteAlpha.50")(t)}}},jT=function(t){var r=t.theme,n=rh(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ze(r,o),boxShadow:"0px 1px 0px 0px "+ze(r,o)},_focus:{borderColor:ze(r,i),boxShadow:"0px 1px 0px 0px "+ze(r,i)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},WT={field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}},HT={outline:zT,filled:VT,flushed:jT,unstyled:WT},UT={size:"md",variant:"outline"},Ee={parts:Fk.keys,baseStyle:BT,sizes:FT,variants:HT,defaultProps:UT},KT=function(t){return{bg:L("gray.100","whiteAlpha")(t),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},GT={baseStyle:KT},qT={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},YT={baseStyle:qT},ZT={marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"},XT={container:{},item:{},icon:ZT},QT={parts:zk.keys,baseStyle:XT},JT=function(t){return{bg:L("#fff","gray.700")(t),boxShadow:L("sm","dark-lg")(t),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}},e6=function(t){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:L("gray.100","whiteAlpha.100")(t)},_active:{bg:L("gray.200","whiteAlpha.200")(t)},_expanded:{bg:L("gray.100","whiteAlpha.100")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},t6={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},r6={opacity:.6},n6={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},i6={transitionProperty:"common",transitionDuration:"normal"},o6=function(t){return{button:i6,list:JT(t),item:e6(t),groupTitle:t6,command:r6,divider:n6}},a6={parts:Vk.keys,baseStyle:o6},s6={bg:"blackAlpha.600",zIndex:"modal"},l6=function(t){var r=t.isCentered,n=t.scrollBehavior;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:r?"center":"flex-start",overflow:n==="inside"?"hidden":"auto"}},u6=function(t){var r=t.scrollBehavior;return{borderRadius:"md",bg:L("white","gray.700")(t),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:r==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:L("lg","dark-lg")(t)}},c6={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},d6={position:"absolute",top:2,insetEnd:3},f6=function(t){var r=t.scrollBehavior;return{px:6,py:2,flex:1,overflow:r==="inside"?"auto":void 0}},p6={px:6,py:4},h6=function(t){return{overlay:s6,dialogContainer:l6(t),dialog:u6(t),header:c6,closeButton:d6,body:f6(t),footer:p6}};function jt(e){return e==="full"?{dialog:{maxW:"100vw",minH:"100vh","@supports(min-height: -webkit-fill-available)":{minH:"-webkit-fill-available"},my:0}}:{dialog:{maxW:e}}}var v6={xs:jt("xs"),sm:jt("sm"),md:jt("md"),lg:jt("lg"),xl:jt("xl"),"2xl":jt("2xl"),"3xl":jt("3xl"),"4xl":jt("4xl"),"5xl":jt("5xl"),"6xl":jt("6xl"),full:jt("full")},m6={size:"md"},g6={parts:jk.keys,baseStyle:h6,sizes:v6,defaultProps:m6},Ts,am,sm,y6=Ee.variants,b6=Ee.defaultProps,nh=Pt("number-input-stepper-width"),Wb=Pt("number-input-input-padding"),x6=wr(nh).add("0.5rem").toString(),S6=(Ts={},Ts[nh.variable]="24px",Ts[Wb.variable]=x6,Ts),w6=(am=(sm=Ee.baseStyle)==null?void 0:sm.field)!=null?am:{},C6={width:[nh.reference]},E6=function(t){return{borderStart:"1px solid",borderStartColor:L("inherit","whiteAlpha.300")(t),color:L("inherit","whiteAlpha.800")(t),_active:{bg:L("gray.200","whiteAlpha.300")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},k6=function(t){return{root:S6,field:w6,stepperGroup:C6,stepper:E6(t)}};function Ps(e){var t,r,n=Ee.sizes[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},o=(t=(r=n.field)==null?void 0:r.fontSize)!=null?t:"md",a=Vb.fontSizes[o.toString()];return{field:Me({},n.field,{paddingInlineEnd:Wb.reference,verticalAlign:"top"}),stepper:{fontSize:wr(a).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}}}var _6={xs:Ps("xs"),sm:Ps("sm"),md:Ps("md"),lg:Ps("lg")},T6={parts:Wk.keys,baseStyle:k6,sizes:_6,variants:y6,defaultProps:b6},lm,P6=Me({},Ee.baseStyle.field,{textAlign:"center"}),A6={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},I6={outline:function(t){var r;return(r=Ee.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Ee.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Ee.variants.filled(t).field)!=null?r:{}},unstyled:(lm=Ee.variants.unstyled.field)!=null?lm:{}},M6=Ee.defaultProps,R6={baseStyle:P6,sizes:A6,variants:I6,defaultProps:M6},Wc=Pt("popper-bg"),L6=Pt("popper-arrow-bg"),O6=Pt("popper-arrow-shadow-color"),N6={zIndex:10},D6=function(t){var r,n=L("white","gray.700")(t),i=L("gray.200","whiteAlpha.300")(t);return r={},r[Wc.variable]="colors."+n,r.bg=Wc.reference,r[L6.variable]=Wc.reference,r[O6.variable]="colors."+i,r.width="xs",r.border="1px solid",r.borderColor="inherit",r.borderRadius="md",r.boxShadow="sm",r.zIndex="inherit",r._focus={outline:0,boxShadow:"outline"},r},$6={px:3,py:2,borderBottomWidth:"1px"},B6={px:3,py:2},F6={px:3,py:2,borderTopWidth:"1px"},z6={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},V6=function(t){return{popper:N6,content:D6(t),header:$6,body:B6,footer:F6,arrow:{},closeButton:z6}},j6={parts:Hk.keys,baseStyle:V6};function W6(e){var t=e.colorScheme,r=e.theme,n=e.isIndeterminate,i=e.hasStripe,o=L(em(),em("1rem","rgba(0,0,0,0.1)"))(e),a=L(t+".500",t+".200")(e),s=`linear-gradient(
    to right,
    transparent 0%,
    `+ze(r,a)+` 50%,
    transparent 100%
  )`,l=!n&&i;return Me({},l&&o,n?{bgImage:s}:{bgColor:a})}var H6={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},U6=function(t){return{bg:L("gray.100","whiteAlpha.300")(t)}},K6=function(t){return Me({transitionProperty:"common",transitionDuration:"slow"},W6(t))},G6=function(t){return{label:H6,filledTrack:K6(t),track:U6(t)}},q6={xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},Y6={size:"md",colorScheme:"blue"},Z6={parts:Uk.keys,sizes:q6,baseStyle:G6,defaultProps:Y6},X6=function(t){var r=th.baseStyle(t),n=r.control,i=n===void 0?{}:n;return Me({},i,{borderRadius:"full",_checked:Me({},i._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},Q6=function(t){return{label:th.baseStyle(t).label,control:X6(t)}},J6={md:{control:{w:4,h:4},label:{fontSize:"md"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"}},sm:{control:{width:3,height:3},label:{fontSize:"sm"}}},e8={size:"md",colorScheme:"blue"},t8={parts:Kk.keys,baseStyle:Q6,sizes:J6,defaultProps:e8},r8=function(t){return Me({},Ee.baseStyle.field,{bg:L("white","gray.700")(t),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:L("white","gray.700")(t)}})},n8={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},i8=function(t){return{field:r8(t),icon:n8}},As={paddingInlineEnd:"2rem"},o8=qt({},Ee.sizes,{lg:{field:As},md:{field:As},sm:{field:As},xs:{field:As,icon:{insetEnd:"0.25rem"}}}),a8={parts:Gk.keys,baseStyle:i8,sizes:o8,variants:Ee.variants,defaultProps:Ee.defaultProps},s8=function(t,r){return eb({from:{borderColor:t,background:t},to:{borderColor:r,background:r}})},l8=function(t){var r=L("gray.100","gray.800")(t),n=L("gray.400","gray.600")(t),i=t.startColor,o=i===void 0?r:i,a=t.endColor,s=a===void 0?n:a,l=t.speed,u=t.theme,c=ze(u,o),p=ze(u,s);return{opacity:.7,borderRadius:"2px",borderColor:c,background:p,animation:l+"s linear infinite alternate "+s8(c,p)}},u8={baseStyle:l8},c8=function(t){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:L("white","gray.700")(t)}}},d8={baseStyle:c8};function f8(e){return Fa({orientation:e.orientation,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}})}var p8=function(t){var r=t.orientation;return Me({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},Fa({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))},h8=function(t){return{overflow:"hidden",borderRadius:"sm",bg:L("gray.200","whiteAlpha.200")(t),_disabled:{bg:L("gray.300","whiteAlpha.300")(t)}}},v8=function(t){return Me({display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},f8(t))},m8=function(t){var r=t.colorScheme;return{width:"inherit",height:"inherit",bg:L(r+".500",r+".200")(t)}},g8=function(t){return{container:p8(t),track:h8(t),thumb:v8(t),filledTrack:m8(t)}},y8=function(t){return{thumb:{w:"16px",h:"16px"},track:Fa({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},b8=function(t){return{thumb:{w:"14px",h:"14px"},track:Fa({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},x8=function(t){return{thumb:{w:"10px",h:"10px"},track:Fa({orientation:t.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}},S8={lg:y8,md:b8,sm:x8},w8={size:"md",colorScheme:"blue"},C8={parts:qk.keys,sizes:S8,baseStyle:g8,defaultProps:w8},Hc,Uc,Kc,Gc,qc,En=Pt("spinner-size"),E8={width:[En.reference],height:[En.reference]},k8={xs:(Hc={},Hc[En.variable]="0.75rem",Hc),sm:(Uc={},Uc[En.variable]="1rem",Uc),md:(Kc={},Kc[En.variable]="1.5rem",Kc),lg:(Gc={},Gc[En.variable]="2rem",Gc),xl:(qc={},qc[En.variable]="3rem",qc)},_8={size:"md"},T8={baseStyle:E8,sizes:k8,defaultProps:_8},P8={fontWeight:"medium"},A8={opacity:.8,marginBottom:2},I8={verticalAlign:"baseline",fontWeight:"semibold"},M8={marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"},R8={container:{},label:P8,helpText:A8,number:I8,icon:M8},L8={md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},O8={size:"md"},N8={parts:Yk.keys,baseStyle:R8,sizes:L8,defaultProps:O8},Is,Ms,Rs,zo=Pt("switch-track-width"),On=Pt("switch-track-height"),Yc=Pt("switch-track-diff"),D8=wr.subtract(zo,On),cf=Pt("switch-thumb-x"),$8=function(t){var r=t.colorScheme;return{borderRadius:"full",p:"2px",width:[zo.reference],height:[On.reference],transitionProperty:"common",transitionDuration:"fast",bg:L("gray.300","whiteAlpha.400")(t),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:L(r+".500",r+".200")(t)}}},B8={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[On.reference],height:[On.reference],_checked:{transform:"translateX("+cf.reference+")"}},F8=function(t){var r,n;return{container:(n={},n[Yc.variable]=D8,n[cf.variable]=Yc.reference,n._rtl=(r={},r[cf.variable]=wr(Yc).negate().toString(),r),n),track:$8(t),thumb:B8}},z8={sm:{container:(Is={},Is[zo.variable]="1.375rem",Is[On.variable]="0.75rem",Is)},md:{container:(Ms={},Ms[zo.variable]="1.875rem",Ms[On.variable]="1rem",Ms)},lg:{container:(Rs={},Rs[zo.variable]="2.875rem",Rs[On.variable]="1.5rem",Rs)}},V8={size:"md",colorScheme:"blue"},j8={parts:Zk.keys,baseStyle:F8,sizes:z8,defaultProps:V8},W8={table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}},Fl={"&[data-is-numeric=true]":{textAlign:"end"}},H8=function(t){var r=t.colorScheme;return{th:Me({color:L("gray.600","gray.400")(t),borderBottom:"1px",borderColor:L(r+".100",r+".700")(t)},Fl),td:Me({borderBottom:"1px",borderColor:L(r+".100",r+".700")(t)},Fl),caption:{color:L("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},U8=function(t){var r=t.colorScheme;return{th:Me({color:L("gray.600","gray.400")(t),borderBottom:"1px",borderColor:L(r+".100",r+".700")(t)},Fl),td:Me({borderBottom:"1px",borderColor:L(r+".100",r+".700")(t)},Fl),caption:{color:L("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:L(r+".100",r+".700")(t)},td:{background:L(r+".100",r+".700")(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},K8={simple:H8,striped:U8,unstyled:{}},G8={sm:{th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}},md:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}}},q8={variant:"simple",size:"md",colorScheme:"gray"},Y8={parts:Xk.keys,baseStyle:W8,variants:K8,sizes:G8,defaultProps:q8},Z8=function(t){var r=t.orientation;return{display:r==="vertical"?"flex":"block"}},X8=function(t){var r=t.isFitted;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},Q8=function(t){var r=t.align,n=r===void 0?"start":r,i=t.orientation,o={end:"flex-end",center:"center",start:"flex-start"};return{justifyContent:o[n],flexDirection:i==="vertical"?"column":"row"}},J8={p:4},eP=function(t){return{root:Z8(t),tab:X8(t),tablist:Q8(t),tabpanel:J8}},tP={sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},rP=function(t){var r,n,i=t.colorScheme,o=t.orientation,a=o==="vertical",s=o==="vertical"?"borderStart":"borderBottom",l=a?"marginStart":"marginBottom";return{tablist:(r={},r[s]="2px solid",r.borderColor="inherit",r),tab:(n={},n[s]="2px solid",n.borderColor="transparent",n[l]="-2px",n._selected={color:L(i+".600",i+".300")(t),borderColor:"currentColor"},n._active={bg:L("gray.200","whiteAlpha.300")(t)},n._disabled={opacity:.4,cursor:"not-allowed"},n)}},nP=function(t){var r=t.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:L(r+".600",r+".300")(t),borderColor:"inherit",borderBottomColor:L("white","gray.800")(t)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},iP=function(t){var r=t.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:L("gray.50","whiteAlpha.50")(t),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:L("#fff","gray.800")(t),color:L(r+".600",r+".300")(t),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},oP=function(t){var r=t.colorScheme,n=t.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:ze(n,r+".700"),bg:ze(n,r+".100")}}}},aP=function(t){var r=t.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:L("gray.600","inherit")(t),_selected:{color:L("#fff","gray.800")(t),bg:L(r+".600",r+".300")(t)}}}},sP={},lP={line:rP,enclosed:nP,"enclosed-colored":iP,"soft-rounded":oP,"solid-rounded":aP,unstyled:sP},uP={size:"md",variant:"line",colorScheme:"blue"},cP={parts:Qk.keys,baseStyle:eP,sizes:tP,variants:lP,defaultProps:uP},dP={fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},fP={lineHeight:1.2,overflow:"visible"},pP={fontSize:"18px",w:"1.25rem",h:"1.25rem",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"0.375rem",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},hP={container:dP,label:fP,closeButton:pP},vP={sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},mP={subtle:function(t){return{container:xi.variants.subtle(t)}},solid:function(t){return{container:xi.variants.solid(t)}},outline:function(t){return{container:xi.variants.outline(t)}}},gP={size:"md",variant:"subtle",colorScheme:"gray"},yP={parts:Jk.keys,variants:mP,baseStyle:hP,sizes:vP,defaultProps:gP},um,cm,dm,fm,pm,bP=Me({},Ee.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),xP={outline:function(t){var r;return(r=Ee.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Ee.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Ee.variants.filled(t).field)!=null?r:{}},unstyled:(um=Ee.variants.unstyled.field)!=null?um:{}},SP={xs:(cm=Ee.sizes.xs.field)!=null?cm:{},sm:(dm=Ee.sizes.sm.field)!=null?dm:{},md:(fm=Ee.sizes.md.field)!=null?fm:{},lg:(pm=Ee.sizes.lg.field)!=null?pm:{}},wP={size:"md",variant:"outline"},CP={baseStyle:bP,sizes:SP,variants:xP,defaultProps:wP},Zc=Pt("tooltip-bg"),EP=Pt("popper-arrow-bg"),kP=function(t){var r,n=L("gray.700","gray.300")(t);return r={},r[Zc.variable]="colors."+n,r.px="8px",r.py="2px",r.bg=[Zc.reference],r[EP.variable]=[Zc.reference],r.color=L("whiteAlpha.900","gray.900")(t),r.borderRadius="sm",r.fontWeight="medium",r.fontSize="sm",r.boxShadow="md",r.maxW="320px",r.zIndex="tooltip",r},_P={baseStyle:kP},TP=Object.freeze({__proto__:null,Accordion:o_,Alert:p_,Avatar:x_,Badge:xi,Breadcrumb:A_,Button:F_,Checkbox:th,CloseButton:Y_,Code:J_,Container:tT,Divider:sT,Drawer:yT,Editable:CT,Form:TT,FormError:MT,FormLabel:LT,Heading:$T,Input:Ee,Kbd:GT,Link:YT,List:QT,Menu:a6,Modal:g6,NumberInput:T6,PinInput:R6,Popover:j6,Progress:Z6,Radio:t8,Select:a8,Skeleton:u8,SkipLink:d8,Slider:C8,Spinner:T8,Stat:N8,Switch:j8,Table:Y8,Tabs:cP,Tag:yP,Textarea:CP,Tooltip:_P}),PP={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},AP=Sk({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),IP={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},MP={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},RP={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},LP={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},OP={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},NP={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},DP={property:LP,easing:OP,duration:NP},$P={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},BP={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},FP=Me({breakpoints:AP,zIndices:$P,radii:MP,blur:BP,colors:IP},Vb,{sizes:Lb,shadows:RP,space:Rb,borders:PP,transition:DP}),zP={global:function(t){return{body:{fontFamily:"body",color:L("gray.800","whiteAlpha.900")(t),bg:L("white","gray.800")(t),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:L("gray.400","whiteAlpha.400")(t)},"*, *::before, &::after":{borderColor:L("gray.200","whiteAlpha.300")(t),wordWrap:"break-word"}}}},VP=zP,jP="ltr",WP={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},HP=Me({direction:jP},FP,{components:TP,styles:VP,config:WP});function Vo(){return Vo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vo.apply(this,arguments)}function UP(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var KP=["as","viewBox","color","focusable","children","className","__css"],hm={path:d.exports.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},d.exports.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),d.exports.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),d.exports.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},Hb=Y(function(e,t){var r=e.as,n=e.viewBox,i=e.color,o=i===void 0?"currentColor":i,a=e.focusable,s=a===void 0?!1:a,l=e.children,u=e.className,c=e.__css,p=UP(e,KP),f=ee("chakra-icon",u),h=Vo({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o},c),g={ref:t,focusable:s,className:f,__css:h},b=n!=null?n:hm.viewBox;if(r&&typeof r!="string")return d.exports.createElement(G.svg,Vo({as:r},g,p));var m=l!=null?l:hm.path;return d.exports.createElement(G.svg,Vo({verticalAlign:"middle",viewBox:b},g,p),m)});/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var df=function(e,t){return df=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},df(e,t)};function Ub(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");df(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var D=function(){return D=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},D.apply(this,arguments)};function Ft(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function GP(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ae(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function Yt(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}var br=function(e){return{isEnabled:function(t){return e.some(function(r){return!!t[r]})}}},ya={measureLayout:br(["layout","layoutId","drag"]),animation:br(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:br(["exit"]),drag:br(["drag","dragControls"]),focus:br(["whileFocus"]),hover:br(["whileHover","onHoverStart","onHoverEnd"]),tap:br(["whileTap","onTap","onTapStart","onTapCancel"]),pan:br(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:br(["whileInView","onViewportEnter","onViewportLeave"])};function qP(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?ya.projectionNodeConstructor=e[t]:ya[t].Component=e[t])}var YP=function(){},zl=function(){},Kb=d.exports.createContext({strict:!1}),Gb=Object.keys(ya),ZP=Gb.length;function XP(e,t,r){var n=[];if(d.exports.useContext(Kb),!t)return null;for(var i=0;i<ZP;i++){var o=Gb[i],a=ya[o],s=a.isEnabled,l=a.Component;s(e)&&l&&n.push(d.exports.createElement(l,D({key:o},e,{visualElement:t})))}return n}var ih=d.exports.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Du=d.exports.createContext({});function QP(){return d.exports.useContext(Du).visualElement}var za=d.exports.createContext(null),Va=typeof window!="undefined",Vl=Va?d.exports.useLayoutEffect:d.exports.useEffect,ff={current:null},qb=!1;function JP(){if(qb=!0,typeof window!="undefined")if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return ff.current=e.matches};e.addListener(t),t()}else ff.current=!1}function e9(){!qb&&JP();var e=Ae(d.exports.useState(ff.current),1),t=e[0];return t}function t9(){var e=e9(),t=d.exports.useContext(ih).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function r9(e,t,r,n){var i=d.exports.useContext(Kb),o=QP(),a=d.exports.useContext(za),s=t9(),l=d.exports.useRef(void 0);n||(n=i.renderer),!l.current&&n&&(l.current=n(e,{visualState:t,parent:o,props:r,presenceId:a==null?void 0:a.id,blockInitialAnimation:(a==null?void 0:a.initial)===!1,shouldReduceMotion:s}));var u=l.current;return Vl(function(){u==null||u.syncRender()}),d.exports.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),Vl(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function ai(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function n9(e,t,r){return d.exports.useCallback(function(n){var i;n&&((i=e.mount)===null||i===void 0||i.call(e,n)),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):ai(r)&&(r.current=n))},[t])}function Yb(e){return Array.isArray(e)}function Ut(e){return typeof e=="string"||Yb(e)}function i9(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.get()}),t}function o9(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.getVelocity()}),t}function Zb(e,t,r,n,i){var o;return n===void 0&&(n={}),i===void 0&&(i={}),typeof t=="function"&&(t=t(r!=null?r:e.custom,n,i)),typeof t=="string"&&(t=(o=e.variants)===null||o===void 0?void 0:o[t]),typeof t=="function"&&(t=t(r!=null?r:e.custom,n,i)),t}function $u(e,t,r){var n=e.getProps();return Zb(n,t,r!=null?r:n.custom,i9(e),o9(e))}function Bu(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||Ut(e.initial)||Ut(e.animate)||Ut(e.whileHover)||Ut(e.whileDrag)||Ut(e.whileTap)||Ut(e.whileFocus)||Ut(e.exit)}function Xb(e){return Boolean(Bu(e)||e.variants)}function a9(e,t){if(Bu(e)){var r=e.initial,n=e.animate;return{initial:r===!1||Ut(r)?r:void 0,animate:Ut(n)?n:void 0}}return e.inherit!==!1?t:{}}function s9(e){var t=a9(e,d.exports.useContext(Du)),r=t.initial,n=t.animate;return d.exports.useMemo(function(){return{initial:r,animate:n}},[vm(r),vm(n)])}function vm(e){return Array.isArray(e)?e.join(" "):e}function ja(e){var t=d.exports.useRef(null);return t.current===null&&(t.current=e()),t.current}const Qb=1/60*1e3,l9=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),Jb=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(l9()),Qb);function u9(e){let t=[],r=[],n=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(l,u=!1,c=!1)=>{const p=c&&i,f=p?t:r;return u&&a.add(l),f.indexOf(l)===-1&&(f.push(l),p&&i&&(n=t.length)),l},cancel:l=>{const u=r.indexOf(l);u!==-1&&r.splice(u,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let u=0;u<n;u++){const c=t[u];c(l),a.has(c)&&(s.schedule(c),e())}i=!1,o&&(o=!1,s.process(l))}};return s}const c9=40;let pf=!0,ba=!1,hf=!1;const Si={delta:0,timestamp:0},Wa=["read","update","preRender","render","postRender"],Fu=Wa.reduce((e,t)=>(e[t]=u9(()=>ba=!0),e),{}),cr=Wa.reduce((e,t)=>{const r=Fu[t];return e[t]=(n,i=!1,o=!1)=>(ba||f9(),r.schedule(n,i,o)),e},{}),xa=Wa.reduce((e,t)=>(e[t]=Fu[t].cancel,e),{}),Xc=Wa.reduce((e,t)=>(e[t]=()=>Fu[t].process(Si),e),{}),d9=e=>Fu[e].process(Si),ex=e=>{ba=!1,Si.delta=pf?Qb:Math.max(Math.min(e-Si.timestamp,c9),1),Si.timestamp=e,hf=!0,Wa.forEach(d9),hf=!1,ba&&(pf=!1,Jb(ex))},f9=()=>{ba=!0,pf=!0,hf||Jb(ex)},vf=()=>Si,jl=(e,t,r)=>Math.min(Math.max(r,e),t),Qc=.001,p9=.01,mm=10,h9=.05,v9=1;function m9({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,o;YP(e<=mm*1e3);let a=1-t;a=jl(h9,v9,a),e=jl(p9,mm,e/1e3),a<1?(i=u=>{const c=u*a,p=c*e,f=c-r,h=mf(u,a),g=Math.exp(-p);return Qc-f/h*g},o=u=>{const p=u*a*e,f=p*r+r,h=Math.pow(a,2)*Math.pow(u,2)*e,g=Math.exp(-p),b=mf(Math.pow(u,2),a);return(-i(u)+Qc>0?-1:1)*((f-h)*g)/b}):(i=u=>{const c=Math.exp(-u*e),p=(u-r)*e+1;return-Qc+c*p},o=u=>{const c=Math.exp(-u*e),p=(r-u)*(e*e);return c*p});const s=5/e,l=y9(i,o,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*n;return{stiffness:u,damping:a*2*Math.sqrt(n*u),duration:e}}}const g9=12;function y9(e,t,r){let n=r;for(let i=1;i<g9;i++)n=n-e(n)/t(n);return n}function mf(e,t){return e*Math.sqrt(1-t*t)}const b9=["duration","bounce"],x9=["stiffness","damping","mass"];function gm(e,t){return t.some(r=>e[r]!==void 0)}function S9(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!gm(e,x9)&&gm(e,b9)){const r=m9(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function oh(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:i}=e,o=Ft(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:c,duration:p,isResolvedFromDuration:f}=S9(o),h=ym,g=ym;function b(){const m=c?-(c/1e3):0,v=r-t,y=l/(2*Math.sqrt(s*u)),x=Math.sqrt(s/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(r-t)/100,.4)),y<1){const w=mf(x,y);h=k=>{const T=Math.exp(-y*x*k);return r-T*((m+y*x*v)/w*Math.sin(w*k)+v*Math.cos(w*k))},g=k=>{const T=Math.exp(-y*x*k);return y*x*T*(Math.sin(w*k)*(m+y*x*v)/w+v*Math.cos(w*k))-T*(Math.cos(w*k)*(m+y*x*v)-w*v*Math.sin(w*k))}}else if(y===1)h=w=>r-Math.exp(-x*w)*(v+(m+x*v)*w);else{const w=x*Math.sqrt(y*y-1);h=k=>{const T=Math.exp(-y*x*k),_=Math.min(w*k,300);return r-T*((m+y*x*v)*Math.sinh(_)+w*v*Math.cosh(_))/w}}}return b(),{next:m=>{const v=h(m);if(f)a.done=m>=p;else{const y=g(m)*1e3,x=Math.abs(y)<=n,w=Math.abs(r-v)<=i;a.done=x&&w}return a.value=a.done?r:v,a},flipTarget:()=>{c=-c,[t,r]=[r,t],b()}}}oh.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const ym=e=>0,Sa=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},Pe=(e,t,r)=>-r*e+r*t+e,tx=(e,t)=>r=>Math.max(Math.min(r,t),e),jo=e=>e%1?Number(e.toFixed(5)):e,wa=/(-)?([\d]*\.?[\d])+/g,gf=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,w9=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Ha(e){return typeof e=="string"}const jn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Wo=Object.assign(Object.assign({},jn),{transform:tx(0,1)}),Ls=Object.assign(Object.assign({},jn),{default:1}),Ua=e=>({test:t=>Ha(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Br=Ua("deg"),dr=Ua("%"),q=Ua("px"),C9=Ua("vh"),E9=Ua("vw"),bm=Object.assign(Object.assign({},dr),{parse:e=>dr.parse(e)/100,transform:e=>dr.transform(e*100)}),ah=(e,t)=>r=>Boolean(Ha(r)&&w9.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),rx=(e,t,r)=>n=>{if(!Ha(n))return n;const[i,o,a,s]=n.match(wa);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},Mn={test:ah("hsl","hue"),parse:rx("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+dr.transform(jo(t))+", "+dr.transform(jo(r))+", "+jo(Wo.transform(n))+")"},k9=tx(0,255),Jc=Object.assign(Object.assign({},jn),{transform:e=>Math.round(k9(e))}),Kr={test:ah("rgb","red"),parse:rx("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Jc.transform(e)+", "+Jc.transform(t)+", "+Jc.transform(r)+", "+jo(Wo.transform(n))+")"};function _9(e){let t="",r="",n="",i="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),i=e.substr(4,1),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}const yf={test:ah("#"),parse:_9,transform:Kr.transform},ut={test:e=>Kr.test(e)||yf.test(e)||Mn.test(e),parse:e=>Kr.test(e)?Kr.parse(e):Mn.test(e)?Mn.parse(e):yf.parse(e),transform:e=>Ha(e)?e:e.hasOwnProperty("red")?Kr.transform(e):Mn.transform(e)},nx="${c}",ix="${n}";function T9(e){var t,r,n,i;return isNaN(e)&&Ha(e)&&((r=(t=e.match(wa))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((i=(n=e.match(gf))===null||n===void 0?void 0:n.length)!==null&&i!==void 0?i:0)>0}function ox(e){typeof e=="number"&&(e=`${e}`);const t=[];let r=0;const n=e.match(gf);n&&(r=n.length,e=e.replace(gf,nx),t.push(...n.map(ut.parse)));const i=e.match(wa);return i&&(e=e.replace(wa,ix),t.push(...i.map(jn.parse))),{values:t,numColors:r,tokenised:e}}function ax(e){return ox(e).values}function sx(e){const{values:t,numColors:r,tokenised:n}=ox(e),i=t.length;return o=>{let a=n;for(let s=0;s<i;s++)a=a.replace(s<r?nx:ix,s<r?ut.transform(o[s]):jo(o[s]));return a}}const P9=e=>typeof e=="number"?0:e;function A9(e){const t=ax(e);return sx(e)(t.map(P9))}const Ar={test:T9,parse:ax,createTransformer:sx,getAnimatableNone:A9},I9=new Set(["brightness","contrast","saturate","opacity"]);function M9(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(wa)||[];if(!n)return e;const i=r.replace(n,"");let o=I9.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+i+")"}const R9=/([a-z-]*)\(.*?\)/g,bf=Object.assign(Object.assign({},Ar),{getAnimatableNone:e=>{const t=e.match(R9);return t?t.map(M9).join(" "):e}});function ed(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function xm({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let i=0,o=0,a=0;if(!t)i=o=a=r;else{const s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;i=ed(l,s,e+1/3),o=ed(l,s,e),a=ed(l,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:n}}const L9=(e,t,r)=>{const n=e*e,i=t*t;return Math.sqrt(Math.max(0,r*(i-n)+n))},O9=[yf,Kr,Mn],Sm=e=>O9.find(t=>t.test(e)),lx=(e,t)=>{let r=Sm(e),n=Sm(t),i=r.parse(e),o=n.parse(t);r===Mn&&(i=xm(i),r=Kr),n===Mn&&(o=xm(o),n=Kr);const a=Object.assign({},i);return s=>{for(const l in a)l!=="alpha"&&(a[l]=L9(i[l],o[l],s));return a.alpha=Pe(i.alpha,o.alpha,s),r.transform(a)}},xf=e=>typeof e=="number",N9=(e,t)=>r=>t(e(r)),zu=(...e)=>e.reduce(N9);function ux(e,t){return xf(e)?r=>Pe(e,t,r):ut.test(e)?lx(e,t):dx(e,t)}const cx=(e,t)=>{const r=[...e],n=r.length,i=e.map((o,a)=>ux(o,t[a]));return o=>{for(let a=0;a<n;a++)r[a]=i[a](o);return r}},D9=(e,t)=>{const r=Object.assign(Object.assign({},e),t),n={};for(const i in r)e[i]!==void 0&&t[i]!==void 0&&(n[i]=ux(e[i],t[i]));return i=>{for(const o in n)r[o]=n[o](i);return r}};function wm(e){const t=Ar.parse(e),r=t.length;let n=0,i=0,o=0;for(let a=0;a<r;a++)n||typeof t[a]=="number"?n++:t[a].hue!==void 0?o++:i++;return{parsed:t,numNumbers:n,numRGB:i,numHSL:o}}const dx=(e,t)=>{const r=Ar.createTransformer(t),n=wm(e),i=wm(t);return n.numHSL===i.numHSL&&n.numRGB===i.numRGB&&n.numNumbers>=i.numNumbers?zu(cx(n.parsed,i.parsed),r):a=>`${a>0?t:e}`},$9=(e,t)=>r=>Pe(e,t,r);function B9(e){if(typeof e=="number")return $9;if(typeof e=="string")return ut.test(e)?lx:dx;if(Array.isArray(e))return cx;if(typeof e=="object")return D9}function F9(e,t,r){const n=[],i=r||B9(e[0]),o=e.length-1;for(let a=0;a<o;a++){let s=i(e[a],e[a+1]);if(t){const l=Array.isArray(t)?t[a]:t;s=zu(l,s)}n.push(s)}return n}function z9([e,t],[r]){return n=>r(Sa(e,t,n))}function V9(e,t){const r=e.length,n=r-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[n]&&(o=n-1,a=!0),!a){let l=1;for(;l<r&&!(e[l]>i||l===n);l++);o=l-1}const s=Sa(e[o],e[o+1],i);return t[o](s)}}function fx(e,t,{clamp:r=!0,ease:n,mixer:i}={}){const o=e.length;zl(o===t.length),zl(!n||!Array.isArray(n)||n.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=F9(t,n,i),s=o===2?z9(e,a):V9(e,a);return r?l=>s(jl(e[0],e[o-1],l)):s}const Vu=e=>t=>1-e(1-t),sh=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,j9=e=>t=>Math.pow(t,e),px=e=>t=>t*t*((e+1)*t-e),W9=e=>{const t=px(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},hx=1.525,H9=4/11,U9=8/11,K9=9/10,lh=e=>e,uh=j9(2),G9=Vu(uh),vx=sh(uh),mx=e=>1-Math.sin(Math.acos(e)),ch=Vu(mx),q9=sh(ch),dh=px(hx),Y9=Vu(dh),Z9=sh(dh),X9=W9(hx),Q9=4356/361,J9=35442/1805,eA=16061/1805,Wl=e=>{if(e===1||e===0)return e;const t=e*e;return e<H9?7.5625*t:e<U9?9.075*t-9.9*e+3.4:e<K9?Q9*t-J9*e+eA:10.8*e*e-20.52*e+10.72},tA=Vu(Wl),rA=e=>e<.5?.5*(1-Wl(1-e*2)):.5*Wl(e*2-1)+.5;function nA(e,t){return e.map(()=>t||vx).splice(0,e.length-1)}function iA(e){const t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function oA(e,t){return e.map(r=>r*t)}function nl({from:e=0,to:t=1,ease:r,offset:n,duration:i=300}){const o={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=oA(n&&n.length===a.length?n:iA(a),i);function l(){return fx(s,a,{ease:Array.isArray(r)?r:nA(a,r)})}let u=l();return{next:c=>(o.value=u(c),o.done=c>=i,o),flipTarget:()=>{a.reverse(),u=l()}}}function aA({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:i=.5,modifyTarget:o}){const a={done:!1,value:t};let s=r*e;const l=t+s,u=o===void 0?l:o(l);return u!==l&&(s=u-t),{next:c=>{const p=-s*Math.exp(-c/n);return a.done=!(p>i||p<-i),a.value=a.done?u:u+p,a},flipTarget:()=>{}}}const Cm={keyframes:nl,spring:oh,decay:aA};function sA(e){if(Array.isArray(e.to))return nl;if(Cm[e.type])return Cm[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?nl:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?oh:nl}const gx=1/60*1e3,lA=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),yx=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(lA()),gx);function uA(e){let t=[],r=[],n=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(l,u=!1,c=!1)=>{const p=c&&i,f=p?t:r;return u&&a.add(l),f.indexOf(l)===-1&&(f.push(l),p&&i&&(n=t.length)),l},cancel:l=>{const u=r.indexOf(l);u!==-1&&r.splice(u,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let u=0;u<n;u++){const c=t[u];c(l),a.has(c)&&(s.schedule(c),e())}i=!1,o&&(o=!1,s.process(l))}};return s}const cA=40;let Sf=!0,Ca=!1,wf=!1;const wi={delta:0,timestamp:0},Ka=["read","update","preRender","render","postRender"],ju=Ka.reduce((e,t)=>(e[t]=uA(()=>Ca=!0),e),{}),dA=Ka.reduce((e,t)=>{const r=ju[t];return e[t]=(n,i=!1,o=!1)=>(Ca||hA(),r.schedule(n,i,o)),e},{}),fA=Ka.reduce((e,t)=>(e[t]=ju[t].cancel,e),{});Ka.reduce((e,t)=>(e[t]=()=>ju[t].process(wi),e),{});const pA=e=>ju[e].process(wi),bx=e=>{Ca=!1,wi.delta=Sf?gx:Math.max(Math.min(e-wi.timestamp,cA),1),wi.timestamp=e,wf=!0,Ka.forEach(pA),wf=!1,Ca&&(Sf=!1,yx(bx))},hA=()=>{Ca=!0,Sf=!0,wf||yx(bx)},vA=()=>wi;function xx(e,t,r=0){return e-t-r}function mA(e,t,r=0,n=!0){return n?xx(t+-e,t,r):t-(e-t)+r}function gA(e,t,r,n){return n?e>=t+r:e<=-r}const yA=e=>{const t=({delta:r})=>e(r);return{start:()=>dA.update(t,!0),stop:()=>fA.update(t)}};function Sx(e){var t,r,{from:n,autoplay:i=!0,driver:o=yA,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:p,onComplete:f,onRepeat:h,onUpdate:g}=e,b=Ft(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:m}=b,v,y=0,x=b.duration,w,k=!1,T=!0,_;const A=sA(b);!((r=(t=A).needsInterpolation)===null||r===void 0)&&r.call(t,n,m)&&(_=fx([0,100],[n,m],{clamp:!1}),n=0,m=100);const I=A(Object.assign(Object.assign({},b),{from:n,to:m}));function N(){y++,l==="reverse"?(T=y%2===0,a=mA(a,x,u,T)):(a=xx(a,x,u),l==="mirror"&&I.flipTarget()),k=!1,h&&h()}function U(){v.stop(),f&&f()}function K(J){if(T||(J=-J),a+=J,!k){const Q=I.next(Math.max(0,a));w=Q.value,_&&(w=_(w)),k=T?Q.done:a<=0}g==null||g(w),k&&(y===0&&(x!=null||(x=a)),y<s?gA(a,x,u,T)&&N():U())}function H(){c==null||c(),v=o(K),v.start()}return i&&H(),{stop:()=>{p==null||p(),v.stop()}}}function wx(e,t){return t?e*(1e3/t):0}function bA({from:e=0,velocity:t=0,min:r,max:n,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:p,onComplete:f,onStop:h}){let g;function b(x){return r!==void 0&&x<r||n!==void 0&&x>n}function m(x){return r===void 0?n:n===void 0||Math.abs(r-x)<Math.abs(n-x)?r:n}function v(x){g==null||g.stop(),g=Sx(Object.assign(Object.assign({},x),{driver:c,onUpdate:w=>{var k;p==null||p(w),(k=x.onUpdate)===null||k===void 0||k.call(x,w)},onComplete:f,onStop:h}))}function y(x){v(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},x))}if(b(e))y({from:e,velocity:t,to:m(e)});else{let x=i*t+e;typeof u!="undefined"&&(x=u(x));const w=m(x),k=w===r?-1:1;let T,_;const A=I=>{T=_,_=I,t=wx(I-T,vA().delta),(k===1&&I>w||k===-1&&I<w)&&y({from:I,to:w,velocity:t})};v({type:"decay",from:e,velocity:t,timeConstant:o,power:i,restDelta:l,modifyTarget:u,onUpdate:b(x)?A:void 0})}return{stop:()=>g==null?void 0:g.stop()}}const Cf=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),Em=e=>Cf(e)&&e.hasOwnProperty("z"),Os=(e,t)=>Math.abs(e-t);function Cx(e,t){if(xf(e)&&xf(t))return Os(e,t);if(Cf(e)&&Cf(t)){const r=Os(e.x,t.x),n=Os(e.y,t.y),i=Em(e)&&Em(t)?Os(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(i,2))}}const Ex=(e,t)=>1-3*t+3*e,kx=(e,t)=>3*t-6*e,_x=e=>3*e,Hl=(e,t,r)=>((Ex(t,r)*e+kx(t,r))*e+_x(t))*e,Tx=(e,t,r)=>3*Ex(t,r)*e*e+2*kx(t,r)*e+_x(t),xA=1e-7,SA=10;function wA(e,t,r,n,i){let o,a,s=0;do a=t+(r-t)/2,o=Hl(a,n,i)-e,o>0?r=a:t=a;while(Math.abs(o)>xA&&++s<SA);return a}const CA=8,EA=.001;function kA(e,t,r,n){for(let i=0;i<CA;++i){const o=Tx(t,r,n);if(o===0)return t;t-=(Hl(t,r,n)-e)/o}return t}const il=11,Ns=1/(il-1);function _A(e,t,r,n){if(e===t&&r===n)return lh;const i=new Float32Array(il);for(let a=0;a<il;++a)i[a]=Hl(a*Ns,e,r);function o(a){let s=0,l=1;const u=il-1;for(;l!==u&&i[l]<=a;++l)s+=Ns;--l;const c=(a-i[l])/(i[l+1]-i[l]),p=s+c*Ns,f=Tx(p,e,r);return f>=EA?kA(a,p,e,r):f===0?p:wA(a,s,s+Ns,e,r)}return a=>a===0||a===1?a:Hl(o(a),t,n)}function fh(e,t){e.indexOf(t)===-1&&e.push(t)}function ph(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var Ho=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return fh(this.subscriptions,t),function(){return ph(r.subscriptions,t)}},e.prototype.notify=function(t,r,n){var i=this.subscriptions.length;if(!!i)if(i===1)this.subscriptions[0](t,r,n);else for(var o=0;o<i;o++){var a=this.subscriptions[o];a&&a(t,r,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),TA=function(e){return!isNaN(parseFloat(e))},PA=function(){function e(t){var r=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Ho,this.velocityUpdateSubscribers=new Ho,this.renderSubscribers=new Ho,this.canTrackVelocity=!1,this.updateAndNotify=function(n,i){i===void 0&&(i=!0),r.prev=r.current,r.current=n;var o=vf(),a=o.delta,s=o.timestamp;r.lastUpdated!==s&&(r.timeDelta=a,r.lastUpdated=s,cr.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.updateSubscribers.notify(r.current),r.velocityUpdateSubscribers.getSize()&&r.velocityUpdateSubscribers.notify(r.getVelocity()),i&&r.renderSubscribers.notify(r.current)},this.scheduleVelocityCheck=function(){return cr.postRender(r.velocityCheck)},this.velocityCheck=function(n){var i=n.timestamp;i!==r.lastUpdated&&(r.prev=r.current,r.velocityUpdateSubscribers.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=TA(this.current)}return e.prototype.onChange=function(t){return this.updateSubscribers.add(t)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},e.prototype.attach=function(t){this.passiveEffect=t},e.prototype.set=function(t,r){r===void 0&&(r=!0),!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?wx(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(t){var r=this;return this.stop(),new Promise(function(n){r.hasAnimated=!0,r.stopAnimation=t(n)}).then(function(){return r.clearAnimation()})},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function Li(e){return new PA(e)}var Ir=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},Ul=function(e){return e*1e3},AA={linear:lh,easeIn:uh,easeInOut:vx,easeOut:G9,circIn:mx,circInOut:q9,circOut:ch,backIn:dh,backInOut:Z9,backOut:Y9,anticipate:X9,bounceIn:tA,bounceInOut:rA,bounceOut:Wl},km=function(e){if(Array.isArray(e)){zl(e.length===4);var t=Ae(e,4),r=t[0],n=t[1],i=t[2],o=t[3];return _A(r,n,i,o)}else if(typeof e=="string")return AA[e];return e},IA=function(e){return Array.isArray(e)&&typeof e[0]!="number"},_m=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Ar.test(t)&&!t.startsWith("url("))},Ea=function(e){return Array.isArray(e)},xn=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Ds=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},td=function(){return{type:"keyframes",ease:"linear",duration:.3}},MA=function(e){return{type:"keyframes",duration:.8,values:e}},Tm={x:xn,y:xn,z:xn,rotate:xn,rotateX:xn,rotateY:xn,rotateZ:xn,scaleX:Ds,scaleY:Ds,scale:Ds,opacity:td,backgroundColor:td,color:td,default:Ds},RA=function(e,t){var r;return Ea(t)?r=MA:r=Tm[e]||Tm.default,D({to:t},r(t))},Pm=D(D({},jn),{transform:Math.round}),Px={borderWidth:q,borderTopWidth:q,borderRightWidth:q,borderBottomWidth:q,borderLeftWidth:q,borderRadius:q,radius:q,borderTopLeftRadius:q,borderTopRightRadius:q,borderBottomRightRadius:q,borderBottomLeftRadius:q,width:q,maxWidth:q,height:q,maxHeight:q,size:q,top:q,right:q,bottom:q,left:q,padding:q,paddingTop:q,paddingRight:q,paddingBottom:q,paddingLeft:q,margin:q,marginTop:q,marginRight:q,marginBottom:q,marginLeft:q,rotate:Br,rotateX:Br,rotateY:Br,rotateZ:Br,scale:Ls,scaleX:Ls,scaleY:Ls,scaleZ:Ls,skew:Br,skewX:Br,skewY:Br,distance:q,translateX:q,translateY:q,translateZ:q,x:q,y:q,z:q,perspective:q,transformPerspective:q,opacity:Wo,originX:bm,originY:bm,originZ:q,zIndex:Pm,fillOpacity:Wo,strokeOpacity:Wo,numOctaves:Pm},LA=D(D({},Px),{color:ut,backgroundColor:ut,outlineColor:ut,fill:ut,stroke:ut,borderColor:ut,borderTopColor:ut,borderRightColor:ut,borderBottomColor:ut,borderLeftColor:ut,filter:bf,WebkitFilter:bf}),hh=function(e){return LA[e]};function vh(e,t){var r,n=hh(e);return n!==bf&&(n=Ar),(r=n.getAnimatableNone)===null||r===void 0?void 0:r.call(n,t)}var OA={current:!1},NA=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},Ax=function(e){return Ea(e)?e[e.length-1]||0:e};function DA(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=Ft(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function $A(e){var t=e.ease,r=e.times,n=e.yoyo,i=e.flip,o=e.loop,a=Ft(e,["ease","times","yoyo","flip","loop"]),s=D({},a);return r&&(s.offset=r),a.duration&&(s.duration=Ul(a.duration)),a.repeatDelay&&(s.repeatDelay=Ul(a.repeatDelay)),t&&(s.ease=IA(t)?t.map(km):km(t)),a.type==="tween"&&(s.type="keyframes"),(n||o||i)&&(n?s.repeatType="reverse":o?s.repeatType="loop":i&&(s.repeatType="mirror"),s.repeat=o||n||i||a.repeat),a.type!=="spring"&&(s.type="keyframes"),s}function BA(e,t){var r,n,i=mh(e,t)||{};return(n=(r=i.delay)!==null&&r!==void 0?r:e.delay)!==null&&n!==void 0?n:0}function FA(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=Yt([],Ae(e.to),!1),e.to[0]=e.from),e}function zA(e,t,r){var n;return Array.isArray(t.to)&&((n=e.duration)!==null&&n!==void 0||(e.duration=.8)),FA(t),DA(e)||(e=D(D({},e),RA(r,t.to))),D(D({},t),$A(e))}function VA(e,t,r,n,i){var o,a=mh(n,e),s=(o=a.from)!==null&&o!==void 0?o:t.get(),l=_m(e,r);s==="none"&&l&&typeof r=="string"?s=vh(e,r):Am(s)&&typeof r=="string"?s=Im(r):!Array.isArray(r)&&Am(r)&&typeof s=="string"&&(r=Im(s));var u=_m(e,s);function c(){var f={from:s,to:r,velocity:t.getVelocity(),onComplete:i,onUpdate:function(h){return t.set(h)}};return a.type==="inertia"||a.type==="decay"?bA(D(D({},f),a)):Sx(D(D({},zA(a,f,e)),{onUpdate:function(h){var g;f.onUpdate(h),(g=a.onUpdate)===null||g===void 0||g.call(a,h)},onComplete:function(){var h;f.onComplete(),(h=a.onComplete)===null||h===void 0||h.call(a)}}))}function p(){var f,h,g=Ax(r);return t.set(g),i(),(f=a==null?void 0:a.onUpdate)===null||f===void 0||f.call(a,g),(h=a==null?void 0:a.onComplete)===null||h===void 0||h.call(a),{stop:function(){}}}return!u||!l||a.type===!1?p:c}function Am(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function Im(e){return typeof e=="number"?0:vh("",e)}function mh(e,t){return e[t]||e.default||e}function gh(e,t,r,n){return n===void 0&&(n={}),OA.current&&(n={type:!1}),t.start(function(i){var o,a,s=VA(e,t,r,n,i),l=BA(n,e),u=function(){return a=s()};return l?o=window.setTimeout(u,Ul(l)):u(),function(){clearTimeout(o),a==null||a.stop()}})}function jA(e,t,r){r===void 0&&(r={});var n=Ir(e)?e:Li(e);return gh("",n,t,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}var Ix=["TopLeft","TopRight","BottomLeft","BottomRight"],WA=Ix.length,Mm=function(e){return typeof e=="string"?parseFloat(e):e},Rm=function(e){return typeof e=="number"||q.test(e)};function HA(e,t,r,n,i,o){var a,s,l,u;i?(e.opacity=Pe(0,(a=r.opacity)!==null&&a!==void 0?a:1,UA(n)),e.opacityExit=Pe((s=t.opacity)!==null&&s!==void 0?s:1,0,KA(n))):o&&(e.opacity=Pe((l=t.opacity)!==null&&l!==void 0?l:1,(u=r.opacity)!==null&&u!==void 0?u:1,n));for(var c=0;c<WA;c++){var p="border".concat(Ix[c],"Radius"),f=Lm(t,p),h=Lm(r,p);if(!(f===void 0&&h===void 0)){f||(f=0),h||(h=0);var g=f===0||h===0||Rm(f)===Rm(h);g?(e[p]=Math.max(Pe(Mm(f),Mm(h),n),0),(dr.test(h)||dr.test(f))&&(e[p]+="%")):e[p]=h}}(t.rotate||r.rotate)&&(e.rotate=Pe(t.rotate||0,r.rotate||0,n))}function Lm(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e.borderRadius}var UA=Mx(0,.5,ch),KA=Mx(.5,.95,lh);function Mx(e,t,r){return function(n){return n<e?0:n>t?1:r(Sa(e,t,n))}}function Om(e,t){e.min=t.min,e.max=t.max}function er(e,t){Om(e.x,t.x),Om(e.y,t.y)}function rd(e){return e===void 0||e===1}function Rx(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!rd(t)||!rd(r)||!rd(n)}function Fr(e){return Rx(e)||Nm(e.x)||Nm(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function Nm(e){return e&&e!=="0%"}function Kl(e,t,r){var n=e-r,i=t*n;return r+i}function Dm(e,t,r,n,i){return i!==void 0&&(e=Kl(e,i,n)),Kl(e,r,n)+t}function Ef(e,t,r,n,i){t===void 0&&(t=0),r===void 0&&(r=1),e.min=Dm(e.min,t,r,n,i),e.max=Dm(e.max,t,r,n,i)}function Lx(e,t){var r=t.x,n=t.y;Ef(e.x,r.translate,r.scale,r.originPoint),Ef(e.y,n.translate,n.scale,n.originPoint)}function GA(e,t,r,n){var i,o;n===void 0&&(n=!1);var a=r.length;if(!!a){t.x=t.y=1;for(var s,l,u=0;u<a;u++)s=r[u],l=s.projectionDelta,((o=(i=s.instance)===null||i===void 0?void 0:i.style)===null||o===void 0?void 0:o.display)!=="contents"&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&li(e,{x:-s.scroll.x,y:-s.scroll.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,Lx(e,l)),n&&Fr(s.latestValues)&&li(e,s.latestValues))}}function si(e,t){e.min=e.min+t,e.max=e.max+t}function $m(e,t,r){var n=Ae(r,3),i=n[0],o=n[1],a=n[2],s=t[a]!==void 0?t[a]:.5,l=Pe(e.min,e.max,s);Ef(e,t[i],t[o],l,t.scale)}var qA=["x","scaleX","originX"],YA=["y","scaleY","originY"];function li(e,t){$m(e.x,t,qA),$m(e.y,t,YA)}function Mr(e){return e.max-e.min}function Bm(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=.01),Cx(e,t)<r}function Fm(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=Pe(t.min,t.max,e.origin),e.scale=Mr(r)/Mr(t),(Bm(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Pe(r.min,r.max,e.origin)-e.originPoint,(Bm(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Uo(e,t,r,n){Fm(e.x,t.x,r.x,n==null?void 0:n.originX),Fm(e.y,t.y,r.y,n==null?void 0:n.originY)}function zm(e,t,r){e.min=r.min+t.min,e.max=e.min+Mr(t)}function ZA(e,t,r){zm(e.x,t.x,r.x),zm(e.y,t.y,r.y)}function Vm(e,t,r){e.min=t.min-r.min,e.max=e.min+Mr(t)}function Ko(e,t,r){Vm(e.x,t.x,r.x),Vm(e.y,t.y,r.y)}function jm(e,t,r,n,i){return e-=t,e=Kl(e,1/r,n),i!==void 0&&(e=Kl(e,1/i,n)),e}function XA(e,t,r,n,i,o,a){if(t===void 0&&(t=0),r===void 0&&(r=1),n===void 0&&(n=.5),o===void 0&&(o=e),a===void 0&&(a=e),dr.test(t)){t=parseFloat(t);var s=Pe(a.min,a.max,t/100);t=s-a.min}if(typeof t=="number"){var l=Pe(o.min,o.max,n);e===o&&(l-=t),e.min=jm(e.min,t,r,l,i),e.max=jm(e.max,t,r,l,i)}}function Wm(e,t,r,n,i){var o=Ae(r,3),a=o[0],s=o[1],l=o[2];XA(e,t[a],t[s],t[l],t.scale,n,i)}var QA=["x","scaleX","originX"],JA=["y","scaleY","originY"];function Hm(e,t,r,n){Wm(e.x,t,QA,r==null?void 0:r.x,n==null?void 0:n.x),Wm(e.y,t,JA,r==null?void 0:r.y,n==null?void 0:n.y)}var Um=function(){return{translate:0,scale:1,origin:0,originPoint:0}},Go=function(){return{x:Um(),y:Um()}},Km=function(){return{min:0,max:0}},tt=function(){return{x:Km(),y:Km()}};function Gm(e){return e.translate===0&&e.scale===1}function Ox(e){return Gm(e.x)&&Gm(e.y)}function Nx(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var e7=function(){function e(){this.members=[]}return e.prototype.add=function(t){fh(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(ph(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var r=this.members[this.members.length-1];r&&this.promote(r)}},e.prototype.relegate=function(t){var r=this.members.findIndex(function(a){return t===a});if(r===0)return!1;for(var n,i=r;i>=0;i--){var o=this.members[i];if(o.isPresent!==!1){n=o;break}}return n?(this.promote(n),!0):!1},e.prototype.promote=function(t,r){var n,i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,r&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues,t.snapshot.isShared=!0),!((n=t.root)===null||n===void 0)&&n.isUpdating&&(t.isLayoutDirty=!0);var o=t.options.crossfade;o===!1&&i.hide()}},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var r,n,i,o,a;(n=(r=t.options).onExitComplete)===null||n===void 0||n.call(r),(a=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||a===void 0||a.call(o)})},e.prototype.scheduleRender=function(){this.members.forEach(function(t){t.instance&&t.scheduleRender(!1)})},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),Gl={};function t7(e){Object.assign(Gl,e)}var r7="translate3d(0px, 0px, 0) scale(1, 1)";function qm(e,t,r){var n=e.x.translate/t.x,i=e.y.translate/t.y,o="translate3d(".concat(n,"px, ").concat(i,"px, 0) ");if(r){var a=r.rotate,s=r.rotateX,l=r.rotateY;a&&(o+="rotate(".concat(a,"deg) ")),s&&(o+="rotateX(".concat(s,"deg) ")),l&&(o+="rotateY(".concat(l,"deg) "))}return o+="scale(".concat(e.x.scale,", ").concat(e.y.scale,")"),o===r7?"none":o}function tr(e){return[e("x"),e("y")]}var kf=["","X","Y","Z"],n7=["translate","scale","rotate","skew"],ka=["transformPerspective","x","y","z"];n7.forEach(function(e){return kf.forEach(function(t){return ka.push(e+t)})});function i7(e,t){return ka.indexOf(e)-ka.indexOf(t)}var o7=new Set(ka);function Ga(e){return o7.has(e)}var a7=new Set(["originX","originY","originZ"]);function Dx(e){return a7.has(e)}var s7=function(e,t){return e.depth-t.depth},l7=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){fh(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){ph(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(s7),this.isDirty=!1,this.children.forEach(t)},e}();function ol(e){var t=Ir(e)?e.get():e;return NA(t)?t.toValue():t}var Ym=1e3,qo={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function $x(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,i=e.resetTransform;return function(){function o(a,s,l){var u=this;s===void 0&&(s={}),l===void 0&&(l=r==null?void 0:r()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){u.isUpdating&&(u.isUpdating=!1,u.clearAllSnapshots())},this.updateProjection=function(){u.nodes.forEach(h7),u.nodes.forEach(v7)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=a,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?Yt(Yt([],Ae(l.path),!1),[l],!1):[],this.parent=l,this.depth=l?l.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(var c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new l7)}return o.prototype.addEventListener=function(a,s){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Ho),this.eventHandlers.get(a).add(s)},o.prototype.notifyListeners=function(a){for(var s=[],l=1;l<arguments.length;l++)s[l-1]=arguments[l];var u=this.eventHandlers.get(a);u==null||u.notify.apply(u,Yt([],Ae(s),!1))},o.prototype.hasListeners=function(a){return this.eventHandlers.has(a)},o.prototype.registerPotentialNode=function(a,s){this.potentialNodes.set(a,s)},o.prototype.mount=function(a,s){var l=this,u;if(s===void 0&&(s=!1),!this.instance){this.isSVG=a instanceof SVGElement&&a.tagName!=="svg",this.instance=a;var c=this.options,p=c.layoutId,f=c.layout,h=c.visualElement;if(h&&!h.getInstance()&&h.mount(a),this.root.nodes.add(this),(u=this.parent)===null||u===void 0||u.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),s&&(f||p)&&(this.isLayoutDirty=!0),t){var g,b=function(){return l.root.updateBlockedByResize=!1};t(a,function(){l.root.updateBlockedByResize=!0,clearTimeout(g),g=window.setTimeout(b,250),qo.hasAnimatedSinceResize&&(qo.hasAnimatedSinceResize=!1,l.nodes.forEach(p7))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&h&&(p||f)&&this.addEventListener("didUpdate",function(m){var v,y,x,w,k,T=m.delta,_=m.hasLayoutChanged,A=m.hasRelativeTargetChanged,I=m.layout;if(l.isTreeAnimationBlocked()){l.target=void 0,l.relativeTarget=void 0;return}var N=(y=(v=l.options.transition)!==null&&v!==void 0?v:h.getDefaultTransition())!==null&&y!==void 0?y:x7,U=h.getProps().onLayoutAnimationComplete,K=!l.targetLayout||!Nx(l.targetLayout,I)||A,H=!_&&A;if(((x=l.resumeFrom)===null||x===void 0?void 0:x.instance)||H||_&&(K||!l.currentAnimation)){l.resumeFrom&&(l.resumingFrom=l.resumeFrom,l.resumingFrom.resumingFrom=void 0),l.setAnimationOrigin(T,H);var J=D(D({},mh(N,"layout")),{onComplete:U});h.shouldReduceMotion&&(J.delay=0,J.type=!1),l.startAnimation(J)}else!_&&l.animationProgress===0&&l.finishAnimation(),l.isLead()&&((k=(w=l.options).onExitComplete)===null||k===void 0||k.call(w));l.targetLayout=I})}},o.prototype.unmount=function(){var a,s;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(s=this.parent)===null||s===void 0||s.children.delete(this),this.instance=void 0,xa.preRender(this.updateProjection)},o.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},o.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},o.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},o.prototype.isTreeAnimationBlocked=function(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1},o.prototype.startUpdate=function(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(m7))},o.prototype.willUpdate=function(a){var s,l,u;if(a===void 0&&(a=!0),this.root.isUpdateBlocked()){(l=(s=this.options).onExitComplete)===null||l===void 0||l.call(s);return}if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var c=0;c<this.path.length;c++){var p=this.path[c];p.shouldResetTransform=!0,p.updateScroll()}var f=this.options,h=f.layoutId,g=f.layout;if(!(h===void 0&&!g)){var b=(u=this.options.visualElement)===null||u===void 0?void 0:u.getProps().transformTemplate;this.prevTransformTemplateValue=b==null?void 0:b(this.latestValues,""),this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}}},o.prototype.didUpdate=function(){var a=this.isUpdateBlocked();if(a){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Zm);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(S7),this.potentialNodes.clear()),this.nodes.forEach(f7),this.nodes.forEach(u7),this.nodes.forEach(c7),this.clearAllSnapshots(),Xc.update(),Xc.preRender(),Xc.render())},o.prototype.clearAllSnapshots=function(){this.nodes.forEach(d7),this.sharedNodes.forEach(g7)},o.prototype.scheduleUpdateProjection=function(){cr.preRender(this.updateProjection,!1,!0)},o.prototype.scheduleCheckAfterUnmount=function(){var a=this;cr.postRender(function(){a.isLayoutDirty?a.root.didUpdate():a.root.checkUpdateFailed()})},o.prototype.updateSnapshot=function(){if(!(this.snapshot||!this.instance)){var a=this.measure(),s=this.removeTransform(this.removeElementScroll(a));eg(s),this.snapshot={measured:a,layout:s,latestValues:{}}}},o.prototype.updateLayout=function(){var a;if(!!this.instance&&(this.updateScroll(),!(!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))){if(this.resumeFrom&&!this.resumeFrom.instance)for(var s=0;s<this.path.length;s++){var l=this.path[s];l.updateScroll()}var u=this.measure();eg(u);var c=this.layout;this.layout={measured:u,actual:this.removeElementScroll(u)},this.layoutCorrected=tt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),(a=this.options.visualElement)===null||a===void 0||a.notifyLayoutMeasure(this.layout.actual,c==null?void 0:c.actual)}},o.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=n(this.instance))},o.prototype.resetTransform=function(){var a;if(!!i){var s=this.isLayoutDirty||this.shouldResetTransform,l=this.projectionDelta&&!Ox(this.projectionDelta),u=(a=this.options.visualElement)===null||a===void 0?void 0:a.getProps().transformTemplate,c=u==null?void 0:u(this.latestValues,""),p=c!==this.prevTransformTemplateValue;s&&(l||Fr(this.latestValues)||p)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}},o.prototype.measure=function(){var a=this.options.visualElement;if(!a)return tt();var s=a.measureViewportBox(),l=this.root.scroll;return l&&(si(s.x,l.x),si(s.y,l.y)),s},o.prototype.removeElementScroll=function(a){var s=tt();er(s,a);for(var l=0;l<this.path.length;l++){var u=this.path[l],c=u.scroll,p=u.options;u!==this.root&&c&&p.layoutScroll&&(si(s.x,c.x),si(s.y,c.y))}return s},o.prototype.applyTransform=function(a,s){s===void 0&&(s=!1);var l=tt();er(l,a);for(var u=0;u<this.path.length;u++){var c=this.path[u];!s&&c.options.layoutScroll&&c.scroll&&c!==c.root&&li(l,{x:-c.scroll.x,y:-c.scroll.y}),Fr(c.latestValues)&&li(l,c.latestValues)}return Fr(this.latestValues)&&li(l,this.latestValues),l},o.prototype.removeTransform=function(a){var s,l=tt();er(l,a);for(var u=0;u<this.path.length;u++){var c=this.path[u];if(!!c.instance&&!!Fr(c.latestValues)){Rx(c.latestValues)&&c.updateSnapshot();var p=tt(),f=c.measure();er(p,f),Hm(l,c.latestValues,(s=c.snapshot)===null||s===void 0?void 0:s.layout,p)}}return Fr(this.latestValues)&&Hm(l,this.latestValues),l},o.prototype.setTargetDelta=function(a){this.targetDelta=a,this.root.scheduleUpdateProjection()},o.prototype.setOptions=function(a){var s;this.options=D(D(D({},this.options),a),{crossfade:(s=a.crossfade)!==null&&s!==void 0?s:!0})},o.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},o.prototype.resolveTargetDelta=function(){var a,s=this.options,l=s.layout,u=s.layoutId;!this.layout||!(l||u)||(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=tt(),this.relativeTargetOrigin=tt(),Ko(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),er(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=tt(),this.targetWithTransforms=tt()),this.relativeTarget&&this.relativeTargetOrigin&&((a=this.relativeParent)===null||a===void 0?void 0:a.target)?ZA(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):er(this.target,this.layout.actual),Lx(this.target,this.targetDelta)):er(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=tt(),this.relativeTargetOrigin=tt(),Ko(this.relativeTargetOrigin,this.target,this.relativeParent.target),er(this.relativeTarget,this.relativeTargetOrigin)))))},o.prototype.getClosestProjectingParent=function(){if(!(!this.parent||Fr(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},o.prototype.calcProjection=function(){var a,s=this.options,l=s.layout,u=s.layoutId;if(this.isTreeAnimating=Boolean(((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!(!this.layout||!(l||u))){var c=this.getLead();er(this.layoutCorrected,this.layout.actual),GA(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==c);var p=c.target;if(!!p){this.projectionDelta||(this.projectionDelta=Go(),this.projectionDeltaWithTransform=Go());var f=this.treeScale.x,h=this.treeScale.y,g=this.projectionTransform;Uo(this.projectionDelta,this.layoutCorrected,p,this.latestValues),this.projectionTransform=qm(this.projectionDelta,this.treeScale),(this.projectionTransform!==g||this.treeScale.x!==f||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}}},o.prototype.hide=function(){this.isVisible=!1},o.prototype.show=function(){this.isVisible=!0},o.prototype.scheduleRender=function(a){var s,l,u;a===void 0&&(a=!0),(l=(s=this.options).scheduleRender)===null||l===void 0||l.call(s),a&&((u=this.getStack())===null||u===void 0||u.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},o.prototype.setAnimationOrigin=function(a,s){var l=this,u;s===void 0&&(s=!1);var c=this.snapshot,p=(c==null?void 0:c.latestValues)||{},f=D({},this.latestValues),h=Go();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!s;var g=tt(),b=c==null?void 0:c.isShared,m=(((u=this.getStack())===null||u===void 0?void 0:u.members.length)||0)<=1,v=Boolean(b&&!m&&this.options.crossfade===!0&&!this.path.some(b7));this.animationProgress=0,this.mixTargetDelta=function(y){var x,w=y/1e3;Xm(h.x,a.x,w),Xm(h.y,a.y,w),l.setTargetDelta(h),l.relativeTarget&&l.relativeTargetOrigin&&l.layout&&((x=l.relativeParent)===null||x===void 0?void 0:x.layout)&&(Ko(g,l.layout.actual,l.relativeParent.layout.actual),y7(l.relativeTarget,l.relativeTargetOrigin,g,w)),b&&(l.animationValues=f,HA(f,p,l.latestValues,w,v,m)),l.root.scheduleUpdateProjection(),l.scheduleRender(),l.animationProgress=w},this.mixTargetDelta(0)},o.prototype.startAnimation=function(a){var s=this,l,u;(l=this.currentAnimation)===null||l===void 0||l.stop(),this.resumingFrom&&((u=this.resumingFrom.currentAnimation)===null||u===void 0||u.stop()),this.pendingAnimation&&(xa.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=cr.update(function(){qo.hasAnimatedSinceResize=!0,s.currentAnimation=jA(0,Ym,D(D({},a),{onUpdate:function(c){var p;s.mixTargetDelta(c),(p=a.onUpdate)===null||p===void 0||p.call(a,c)},onComplete:function(){var c;(c=a.onComplete)===null||c===void 0||c.call(a),s.completeAnimation()}})),s.resumingFrom&&(s.resumingFrom.currentAnimation=s.currentAnimation),s.pendingAnimation=void 0})},o.prototype.completeAnimation=function(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},o.prototype.finishAnimation=function(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,Ym),this.currentAnimation.stop()),this.completeAnimation()},o.prototype.applyTransformsToTarget=function(){var a=this.getLead(),s=a.targetWithTransforms,l=a.target,u=a.layout,c=a.latestValues;!s||!l||!u||(er(s,l),li(s,c),Uo(this.projectionDeltaWithTransform,this.layoutCorrected,s,c))},o.prototype.registerSharedNode=function(a,s){var l,u,c;this.sharedNodes.has(a)||this.sharedNodes.set(a,new e7);var p=this.sharedNodes.get(a);p.add(s),s.promote({transition:(l=s.options.initialPromotionConfig)===null||l===void 0?void 0:l.transition,preserveFollowOpacity:(c=(u=s.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||c===void 0?void 0:c.call(u,s)})},o.prototype.isLead=function(){var a=this.getStack();return a?a.lead===this:!0},o.prototype.getLead=function(){var a,s=this.options.layoutId;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this},o.prototype.getPrevLead=function(){var a,s=this.options.layoutId;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0},o.prototype.getStack=function(){var a=this.options.layoutId;if(a)return this.root.sharedNodes.get(a)},o.prototype.promote=function(a){var s=a===void 0?{}:a,l=s.needsReset,u=s.transition,c=s.preserveFollowOpacity,p=this.getStack();p&&p.promote(this,c),l&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})},o.prototype.relegate=function(){var a=this.getStack();return a?a.relegate(this):!1},o.prototype.resetRotation=function(){var a=this.options.visualElement;if(!!a){for(var s=!1,l={},u=0;u<kf.length;u++){var c=kf[u],p="rotate"+c;!a.getStaticValue(p)||(s=!0,l[p]=a.getStaticValue(p),a.setStaticValue(p,0))}if(!!s){a==null||a.syncRender();for(var p in l)a.setStaticValue(p,l[p]);a.scheduleRender()}}},o.prototype.getProjectionStyles=function(a){var s,l,u,c,p,f;a===void 0&&(a={});var h={};if(!this.instance||this.isSVG)return h;if(this.isVisible)h.visibility="";else return{visibility:"hidden"};var g=(s=this.options.visualElement)===null||s===void 0?void 0:s.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,h.opacity="",h.pointerEvents=ol(a.pointerEvents)||"",h.transform=g?g(this.latestValues,""):"none",h;var b=this.getLead();if(!this.projectionDelta||!this.layout||!b.target){var m={};return this.options.layoutId&&(m.opacity=(l=this.latestValues.opacity)!==null&&l!==void 0?l:1,m.pointerEvents=ol(a.pointerEvents)||""),this.hasProjected&&!Fr(this.latestValues)&&(m.transform=g?g({},""):"none",this.hasProjected=!1),m}var v=b.animationValues||b.latestValues;this.applyTransformsToTarget(),h.transform=qm(this.projectionDeltaWithTransform,this.treeScale,v),g&&(h.transform=g(v,h.transform));var y=this.projectionDelta,x=y.x,w=y.y;h.transformOrigin="".concat(x.origin*100,"% ").concat(w.origin*100,"% 0"),b.animationValues?h.opacity=b===this?(c=(u=v.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:h.opacity=b===this?(p=v.opacity)!==null&&p!==void 0?p:"":(f=v.opacityExit)!==null&&f!==void 0?f:0;for(var k in Gl)if(v[k]!==void 0){var T=Gl[k],_=T.correct,A=T.applyTo,I=_(v[k],b);if(A)for(var N=A.length,U=0;U<N;U++)h[A[U]]=I;else h[k]=I}return this.options.layoutId&&(h.pointerEvents=b===this?ol(a.pointerEvents)||"":"none"),h},o.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},o.prototype.resetTree=function(){this.root.nodes.forEach(function(a){var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(Zm),this.root.sharedNodes.clear()},o}()}function u7(e){e.updateLayout()}function c7(e){var t,r,n,i,o=(r=(t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)!==null&&r!==void 0?r:e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){var a=e.layout,s=a.actual,l=a.measured;e.options.animationType==="size"?tr(function(y){var x=o.isShared?o.measured[y]:o.layout[y],w=Mr(x);x.min=s[y].min,x.max=x.min+w}):e.options.animationType==="position"&&tr(function(y){var x=o.isShared?o.measured[y]:o.layout[y],w=Mr(s[y]);x.max=x.min+w});var u=Go();Uo(u,s,o.layout);var c=Go();o.isShared?Uo(c,e.applyTransform(l,!0),o.measured):Uo(c,s,o.layout);var p=!Ox(u),f=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var h=e.relativeParent,g=h.snapshot,b=h.layout;if(g&&b){var m=tt();Ko(m,o.layout,g.layout);var v=tt();Ko(v,s,b.actual),Nx(m,v)||(f=!0)}}e.notifyListeners("didUpdate",{layout:s,snapshot:o,delta:c,layoutDelta:u,hasLayoutChanged:p,hasRelativeTargetChanged:f})}else e.isLead()&&((i=(n=e.options).onExitComplete)===null||i===void 0||i.call(n));e.options.transition=void 0}function d7(e){e.clearSnapshot()}function Zm(e){e.clearMeasurements()}function f7(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function p7(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function h7(e){e.resolveTargetDelta()}function v7(e){e.calcProjection()}function m7(e){e.resetRotation()}function g7(e){e.removeLeadSnapshot()}function Xm(e,t,r){e.translate=Pe(t.translate,0,r),e.scale=Pe(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Qm(e,t,r,n){e.min=Pe(t.min,r.min,n),e.max=Pe(t.max,r.max,n)}function y7(e,t,r,n){Qm(e.x,t.x,r.x,n),Qm(e.y,t.y,r.y,n)}function b7(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var x7={duration:.45,ease:[.4,0,.1,1]};function S7(e,t){for(var r=e.root,n=e.path.length-1;n>=0;n--)if(Boolean(e.path[n].instance)){r=e.path[n];break}var i=r&&r!==e.root?r.instance:document,o=i.querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function Jm(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function eg(e){Jm(e.x),Jm(e.y)}var w7=1;function C7(){return ja(function(){if(qo.hasEverUpdated)return w7++})}var yh=d.exports.createContext({}),Bx=d.exports.createContext({});function E7(e,t,r,n){var i,o=t.layoutId,a=t.layout,s=t.drag,l=t.dragConstraints,u=t.layoutScroll,c=d.exports.useContext(Bx);!n||!r||(r==null?void 0:r.projection)||(r.projection=new n(e,r.getLatestValues(),(i=r.parent)===null||i===void 0?void 0:i.projection),r.projection.setOptions({layoutId:o,layout:a,alwaysMeasureLayout:Boolean(s)||l&&ai(l),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:typeof a=="string"?a:"both",initialPromotionConfig:c,layoutScroll:u}))}var k7=function(e){Ub(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var r=this.props,n=r.visualElement,i=r.props;n&&n.setProps(i)},t.prototype.render=function(){return this.props.children},t}(nu.Component);function _7(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,i=e.useRender,o=e.useVisualState,a=e.Component;t&&qP(t);function s(l,u){var c=T7(l);l=D(D({},l),{layoutId:c});var p=d.exports.useContext(ih),f=null,h=s9(l),g=p.isStatic?void 0:C7(),b=o(l,p.isStatic);return!p.isStatic&&Va&&(h.visualElement=r9(a,b,D(D({},p),l),r),E7(g,l,h.visualElement,n||ya.projectionNodeConstructor),f=XP(l,h.visualElement)),d.exports.createElement(k7,{visualElement:h.visualElement,props:D(D({},p),l)},f,d.exports.createElement(Du.Provider,{value:h},i(a,l,g,n9(b,h.visualElement,u),b,p.isStatic,h.visualElement)))}return d.exports.forwardRef(s)}function T7(e){var t,r=e.layoutId,n=(t=d.exports.useContext(yh))===null||t===void 0?void 0:t.id;return n&&r!==void 0?n+"-"+r:r}function P7(e){function t(n,i){return i===void 0&&(i={}),_7(e(n,i))}if(typeof Proxy=="undefined")return t;var r=new Map;return new Proxy(t,{get:function(n,i){return r.has(i)||r.set(i,t(i)),r.get(i)}})}var A7=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function bh(e){return typeof e!="string"||e.includes("-")?!1:!!(A7.indexOf(e)>-1||/[A-Z]/.test(e))}function Fx(e,t){var r=t.layout,n=t.layoutId;return Ga(e)||Dx(e)||(r||n!==void 0)&&(!!Gl[e]||e==="opacity")}var I7={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function M7(e,t,r,n){var i=e.transform,o=e.transformKeys,a=t.enableHardwareAcceleration,s=a===void 0?!0:a,l=t.allowTransformNone,u=l===void 0?!0:l,c="";o.sort(i7);for(var p=!1,f=o.length,h=0;h<f;h++){var g=o[h];c+="".concat(I7[g]||g,"(").concat(i[g],") "),g==="z"&&(p=!0)}return!p&&s?c+="translateZ(0)":c=c.trim(),n?c=n(i,r?"":c):u&&r&&(c="none"),c}function R7(e){var t=e.originX,r=t===void 0?"50%":t,n=e.originY,i=n===void 0?"50%":n,o=e.originZ,a=o===void 0?0:o;return"".concat(r," ").concat(i," ").concat(a)}function zx(e){return e.startsWith("--")}var L7=function(e,t){return t&&typeof e=="number"?t.transform(e):e};function xh(e,t,r,n){var i,o=e.style,a=e.vars,s=e.transform,l=e.transformKeys,u=e.transformOrigin;l.length=0;var c=!1,p=!1,f=!0;for(var h in t){var g=t[h];if(zx(h)){a[h]=g;continue}var b=Px[h],m=L7(g,b);if(Ga(h)){if(c=!0,s[h]=m,l.push(h),!f)continue;g!==((i=b.default)!==null&&i!==void 0?i:0)&&(f=!1)}else Dx(h)?(u[h]=m,p=!0):o[h]=m}c?o.transform=M7(e,r,f,n):n?o.transform=n({},""):!t.transform&&o.transform&&(o.transform="none"),p&&(o.transformOrigin=R7(u))}var Sh=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function Vx(e,t,r){for(var n in t)!Ir(t[n])&&!Fx(n,r)&&(e[n]=t[n])}function O7(e,t,r){var n=e.transformTemplate;return d.exports.useMemo(function(){var i=Sh();xh(i,t,{enableHardwareAcceleration:!r},n);var o=i.vars,a=i.style;return D(D({},o),a)},[t])}function N7(e,t,r){var n=e.style||{},i={};return Vx(i,n,e),Object.assign(i,O7(e,t,r)),e.transformValues&&(i=e.transformValues(i)),i}function D7(e,t,r){var n={},i=N7(e,t,r);return Boolean(e.drag)&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":"pan-".concat(e.drag==="x"?"y":"x")),n.style=i,n}var $7=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function ql(e){return $7.has(e)}var jx=function(e){return!ql(e)};function B7(e){!e||(jx=function(t){return t.startsWith("on")?!ql(t):e(t)})}try{B7(require("@emotion/is-prop-valid").default)}catch{}function F7(e,t,r){var n={};for(var i in e)(jx(i)||r===!0&&ql(i)||!t&&!ql(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function tg(e,t,r){return typeof e=="string"?e:q.transform(t+r*e)}function z7(e,t,r){var n=tg(t,e.x,e.width),i=tg(r,e.y,e.height);return"".concat(n," ").concat(i)}var V7={offset:"stroke-dashoffset",array:"stroke-dasharray"},j7={offset:"strokeDashoffset",array:"strokeDasharray"};function W7(e,t,r,n,i){r===void 0&&(r=1),n===void 0&&(n=0),i===void 0&&(i=!0),e.pathLength=1;var o=i?V7:j7;e[o.offset]=q.transform(-n);var a=q.transform(t),s=q.transform(r);e[o.array]="".concat(a," ").concat(s)}function wh(e,t,r,n){var i=t.attrX,o=t.attrY,a=t.originX,s=t.originY,l=t.pathLength,u=t.pathSpacing,c=u===void 0?1:u,p=t.pathOffset,f=p===void 0?0:p,h=Ft(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);xh(e,h,r,n),e.attrs=e.style,e.style={};var g=e.attrs,b=e.style,m=e.dimensions;g.transform&&(m&&(b.transform=g.transform),delete g.transform),m&&(a!==void 0||s!==void 0||b.transform)&&(b.transformOrigin=z7(m,a!==void 0?a:.5,s!==void 0?s:.5)),i!==void 0&&(g.x=i),o!==void 0&&(g.y=o),l!==void 0&&W7(g,l,c,f,!1)}var Wx=function(){return D(D({},Sh()),{attrs:{}})};function H7(e,t){var r=d.exports.useMemo(function(){var i=Wx();return wh(i,t,{enableHardwareAcceleration:!1},e.transformTemplate),D(D({},i.attrs),{style:D({},i.style)})},[t]);if(e.style){var n={};Vx(n,e.style,e),r.style=D(D({},n),r.style)}return r}function U7(e){e===void 0&&(e=!1);var t=function(r,n,i,o,a,s){var l=a.latestValues,u=bh(r)?H7:D7,c=u(n,l,s),p=F7(n,typeof r=="string",e),f=D(D(D({},p),c),{ref:o});return i&&(f["data-projection-id"]=i),d.exports.createElement(r,f)};return t}var K7=/([a-z])([A-Z])/g,G7="$1-$2",Hx=function(e){return e.replace(K7,G7).toLowerCase()};function Ux(e,t,r,n){var i=t.style,o=t.vars;Object.assign(e.style,i,n&&n.getProjectionStyles(r));for(var a in o)e.style.setProperty(a,o[a])}var Kx=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function Gx(e,t){Ux(e,t);for(var r in t.attrs)e.setAttribute(Kx.has(r)?r:Hx(r),t.attrs[r])}function Ch(e){var t=e.style,r={};for(var n in t)(Ir(t[n])||Fx(n,e))&&(r[n]=t[n]);return r}function qx(e){var t=Ch(e);for(var r in e)if(Ir(e[r])){var n=r==="x"||r==="y"?"attr"+r.toUpperCase():r;t[n]=e[r]}return t}function Eh(e){return typeof e=="object"&&typeof e.start=="function"}function rg(e,t,r,n){var i=e.scrapeMotionValuesFromProps,o=e.createRenderState,a=e.onMount,s={latestValues:q7(t,r,n,i),renderState:o()};return a&&(s.mount=function(l){return a(t,l,s)}),s}var Yx=function(e){return function(t,r){var n=d.exports.useContext(Du),i=d.exports.useContext(za);return r?rg(e,t,n,i):ja(function(){return rg(e,t,n,i)})}};function q7(e,t,r,n){var i={},o=(r==null?void 0:r.initial)===!1,a=n(e);for(var s in a)i[s]=ol(a[s]);var l=e.initial,u=e.animate,c=Bu(e),p=Xb(e);t&&p&&!c&&e.inherit!==!1&&(l!=null||(l=t.initial),u!=null||(u=t.animate));var f=o||l===!1,h=f?u:l;if(h&&typeof h!="boolean"&&!Eh(h)){var g=Array.isArray(h)?h:[h];g.forEach(function(b){var m=Zb(e,b);if(!!m){var v=m.transitionEnd;m.transition;var y=Ft(m,["transitionEnd","transition"]);for(var x in y){var w=y[x];if(Array.isArray(w)){var k=f?w.length-1:0;w=w[k]}w!==null&&(i[x]=w)}for(var x in v)i[x]=v[x]}})}return i}var Y7={useVisualState:Yx({scrapeMotionValuesFromProps:qx,createRenderState:Wx,onMount:function(e,t,r){var n=r.renderState,i=r.latestValues;try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}wh(n,i,{enableHardwareAcceleration:!1},e.transformTemplate),Gx(t,n)}})},Z7={useVisualState:Yx({scrapeMotionValuesFromProps:Ch,createRenderState:Sh})};function X7(e,t,r,n,i){var o=t.forwardMotionProps,a=o===void 0?!1:o,s=bh(e)?Y7:Z7;return D(D({},s),{preloadedFeatures:r,useRender:U7(a),createVisualElement:n,projectionNodeConstructor:i,Component:e})}var ge;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(ge||(ge={}));function kh(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}function _f(e,t,r,n){d.exports.useEffect(function(){var i=e.current;if(r&&i)return kh(i,t,r,n)},[e,t,r,n])}function Q7(e){var t=e.whileFocus,r=e.visualElement,n=function(){var o;(o=r.animationState)===null||o===void 0||o.setActive(ge.Focus,!0)},i=function(){var o;(o=r.animationState)===null||o===void 0||o.setActive(ge.Focus,!1)};_f(r,"focus",t?n:void 0),_f(r,"blur",t?i:void 0)}function Zx(e){return typeof PointerEvent!="undefined"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function Xx(e){var t=!!e.touches;return t}function J7(e){return function(t){var r=t instanceof MouseEvent,n=!r||r&&t.button===0;n&&e(t)}}var eI={pageX:0,pageY:0};function tI(e,t){t===void 0&&(t="page");var r=e.touches[0]||e.changedTouches[0],n=r||eI;return{x:n[t+"X"],y:n[t+"Y"]}}function rI(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function _h(e,t){return t===void 0&&(t="page"),{point:Xx(e)?tI(e,t):rI(e,t)}}var Qx=function(e,t){t===void 0&&(t=!1);var r=function(n){return e(n,_h(n))};return t?J7(r):r},nI=function(){return Va&&window.onpointerdown===null},iI=function(){return Va&&window.ontouchstart===null},oI=function(){return Va&&window.onmousedown===null},aI={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},sI={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Jx(e){return nI()?e:iI()?sI[e]:oI()?aI[e]:e}function Ci(e,t,r,n){return kh(e,Jx(t),Qx(r,t==="pointerdown"),n)}function Yl(e,t,r,n){return _f(e,Jx(t),r&&Qx(r,t==="pointerdown"),n)}function e2(e){var t=null;return function(){var r=function(){t=null};return t===null?(t=e,r):!1}}var ng=e2("dragHorizontal"),ig=e2("dragVertical");function t2(e){var t=!1;if(e==="y")t=ig();else if(e==="x")t=ng();else{var r=ng(),n=ig();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function r2(){var e=t2(!0);return e?(e(),!1):!0}function og(e,t,r){return function(n,i){var o;!Zx(n)||r2()||((o=e.animationState)===null||o===void 0||o.setActive(ge.Hover,t),r==null||r(n,i))}}function lI(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,i=e.visualElement;Yl(i,"pointerenter",t||n?og(i,!0,t):void 0),Yl(i,"pointerleave",r||n?og(i,!1,r):void 0)}var n2=function(e,t){return t?e===t?!0:n2(e,t.parentElement):!1};function Th(e){return d.exports.useEffect(function(){return function(){return e()}},[])}function uI(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,i=e.whileTap,o=e.visualElement,a=t||r||n||i,s=d.exports.useRef(!1),l=d.exports.useRef(null);function u(){var g;(g=l.current)===null||g===void 0||g.call(l),l.current=null}function c(){var g;return u(),s.current=!1,(g=o.animationState)===null||g===void 0||g.setActive(ge.Tap,!1),!r2()}function p(g,b){!c()||(n2(o.getInstance(),g.target)?t==null||t(g,b):n==null||n(g,b))}function f(g,b){!c()||n==null||n(g,b)}function h(g,b){var m;u(),!s.current&&(s.current=!0,l.current=zu(Ci(window,"pointerup",p),Ci(window,"pointercancel",f)),(m=o.animationState)===null||m===void 0||m.setActive(ge.Tap,!0),r==null||r(g,b))}Yl(o,"pointerdown",a?h:void 0),Th(u)}var Tf=new WeakMap,nd=new WeakMap,cI=function(e){var t;(t=Tf.get(e.target))===null||t===void 0||t(e)},dI=function(e){e.forEach(cI)};function fI(e){var t=e.root,r=Ft(e,["root"]),n=t||document;nd.has(n)||nd.set(n,{});var i=nd.get(n),o=JSON.stringify(r);return i[o]||(i[o]=new IntersectionObserver(dI,D({root:t},r))),i[o]}function pI(e,t,r){var n=fI(t);return Tf.set(e,r),n.observe(e),function(){Tf.delete(e),n.unobserve(e)}}function hI(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,i=e.onViewportLeave,o=e.viewport,a=o===void 0?{}:o,s=d.exports.useRef({hasEnteredView:!1,isInView:!1}),l=Boolean(r||n||i);a.once&&s.current.hasEnteredView&&(l=!1);var u=typeof IntersectionObserver=="undefined"?gI:mI;u(l,s.current,t,a)}var vI={some:0,all:1};function mI(e,t,r,n){var i=n.root,o=n.margin,a=n.amount,s=a===void 0?"some":a,l=n.once;d.exports.useEffect(function(){if(!!e){var u={root:i==null?void 0:i.current,rootMargin:o,threshold:typeof s=="number"?s:vI[s]},c=function(p){var f,h=p.isIntersecting;if(t.isInView!==h&&(t.isInView=h,!(l&&!h&&t.hasEnteredView))){h&&(t.hasEnteredView=!0),(f=r.animationState)===null||f===void 0||f.setActive(ge.InView,h);var g=r.getProps(),b=h?g.onViewportEnter:g.onViewportLeave;b==null||b(p)}};return pI(r.getInstance(),u,c)}},[e,i,o,s])}function gI(e,t,r,n){var i=n.fallback,o=i===void 0?!0:i;d.exports.useEffect(function(){!e||!o||requestAnimationFrame(function(){var a;t.hasEnteredView=!0;var s=r.getProps().onViewportEnter;s==null||s(null),(a=r.animationState)===null||a===void 0||a.setActive(ge.InView,!0)})},[e])}var Gr=function(e){return function(t){return e(t),null}},yI={inView:Gr(hI),tap:Gr(uI),focus:Gr(Q7),hover:Gr(lI)},bI=0,xI=function(){return bI++},i2=function(){return ja(xI)};function o2(){var e=d.exports.useContext(za);if(e===null)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,i=i2();d.exports.useEffect(function(){return n(i)},[]);var o=function(){return r==null?void 0:r(i)};return!t&&r?[!1,o]:[!0]}function a2(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}var SI=function(e){return/^\-?\d*\.?\d+$/.test(e)},wI=function(e){return/^0[^.\s]+$/.test(e)},s2=function(e){return function(t){return t.test(e)}},CI={test:function(e){return e==="auto"},parse:function(e){return e}},l2=[jn,q,dr,Br,E9,C9,CI],vo=function(e){return l2.find(s2(e))},EI=Yt(Yt([],Ae(l2),!1),[ut,Ar],!1),kI=function(e){return EI.find(s2(e))};function _I(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Li(r))}function TI(e,t){var r=$u(e,t),n=r?e.makeTargetAnimatable(r,!1):{},i=n.transitionEnd,o=i===void 0?{}:i;n.transition;var a=Ft(n,["transitionEnd","transition"]);a=D(D({},a),o);for(var s in a){var l=Ax(a[s]);_I(e,s,l)}}function PI(e,t,r){var n,i,o,a,s=Object.keys(t).filter(function(h){return!e.hasValue(h)}),l=s.length;if(!!l)for(var u=0;u<l;u++){var c=s[u],p=t[c],f=null;Array.isArray(p)&&(f=p[0]),f===null&&(f=(i=(n=r[c])!==null&&n!==void 0?n:e.readValue(c))!==null&&i!==void 0?i:t[c]),f!=null&&(typeof f=="string"&&(SI(f)||wI(f))?f=parseFloat(f):!kI(f)&&Ar.test(p)&&(f=vh(c,p)),e.addValue(c,Li(f)),(o=(a=r)[c])!==null&&o!==void 0||(a[c]=f),e.setBaseTarget(c,f))}}function AI(e,t){if(!!t){var r=t[e]||t.default||t;return r.from}}function II(e,t,r){var n,i,o={};for(var a in e)o[a]=(n=AI(a,t))!==null&&n!==void 0?n:(i=r.getValue(a))===null||i===void 0?void 0:i.get();return o}function MI(e,t,r){r===void 0&&(r={}),e.notifyAnimationStart(t);var n;if(Array.isArray(t)){var i=t.map(function(a){return Pf(e,a,r)});n=Promise.all(i)}else if(typeof t=="string")n=Pf(e,t,r);else{var o=typeof t=="function"?$u(e,t,r.custom):t;n=u2(e,o,r)}return n.then(function(){return e.notifyAnimationComplete(t)})}function Pf(e,t,r){var n;r===void 0&&(r={});var i=$u(e,t,r.custom),o=(i||{}).transition,a=o===void 0?e.getDefaultTransition()||{}:o;r.transitionOverride&&(a=r.transitionOverride);var s=i?function(){return u2(e,i,r)}:function(){return Promise.resolve()},l=!((n=e.variantChildren)===null||n===void 0)&&n.size?function(h){h===void 0&&(h=0);var g=a.delayChildren,b=g===void 0?0:g,m=a.staggerChildren,v=a.staggerDirection;return RI(e,t,b+h,m,v,r)}:function(){return Promise.resolve()},u=a.when;if(u){var c=Ae(u==="beforeChildren"?[s,l]:[l,s],2),p=c[0],f=c[1];return p().then(f)}else return Promise.all([s(),l(r.delay)])}function u2(e,t,r){var n,i=r===void 0?{}:r,o=i.delay,a=o===void 0?0:o,s=i.transitionOverride,l=i.type,u=e.makeTargetAnimatable(t),c=u.transition,p=c===void 0?e.getDefaultTransition():c,f=u.transitionEnd,h=Ft(u,["transition","transitionEnd"]);s&&(p=s);var g=[],b=l&&((n=e.animationState)===null||n===void 0?void 0:n.getState()[l]);for(var m in h){var v=e.getValue(m),y=h[m];if(!(!v||y===void 0||b&&OI(b,m))){var x=D({delay:a},p);e.shouldReduceMotion&&Ga(m)&&(x=D(D({},x),{type:!1,delay:0}));var w=gh(m,v,y,x);g.push(w)}}return Promise.all(g).then(function(){f&&TI(e,f)})}function RI(e,t,r,n,i,o){r===void 0&&(r=0),n===void 0&&(n=0),i===void 0&&(i=1);var a=[],s=(e.variantChildren.size-1)*n,l=i===1?function(u){return u===void 0&&(u=0),u*n}:function(u){return u===void 0&&(u=0),s-u*n};return Array.from(e.variantChildren).sort(LI).forEach(function(u,c){a.push(Pf(u,t,D(D({},o),{delay:r+l(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(a)}function LI(e,t){return e.sortNodePosition(t)}function OI(e,t){var r=e.protectedKeys,n=e.needsAnimating,i=r.hasOwnProperty(t)&&n[t]!==!0;return n[t]=!1,i}var Ph=[ge.Animate,ge.InView,ge.Focus,ge.Hover,ge.Tap,ge.Drag,ge.Exit],NI=Yt([],Ae(Ph),!1).reverse(),DI=Ph.length;function $I(e){return function(t){return Promise.all(t.map(function(r){var n=r.animation,i=r.options;return MI(e,n,i)}))}}function BI(e){var t=$I(e),r=zI(),n={},i=!0,o=function(c,p){var f=$u(e,p);if(f){f.transition;var h=f.transitionEnd,g=Ft(f,["transition","transitionEnd"]);c=D(D(D({},c),g),h)}return c};function a(c){return n[c]!==void 0}function s(c){t=c(e)}function l(c,p){for(var f,h=e.getProps(),g=e.getVariantContext(!0)||{},b=[],m=new Set,v={},y=1/0,x=function(_){var A=NI[_],I=r[A],N=(f=h[A])!==null&&f!==void 0?f:g[A],U=Ut(N),K=A===p?I.isActive:null;K===!1&&(y=_);var H=N===g[A]&&N!==h[A]&&U;if(H&&i&&e.manuallyAnimateOnMount&&(H=!1),I.protectedKeys=D({},v),!I.isActive&&K===null||!N&&!I.prevProp||Eh(N)||typeof N=="boolean")return"continue";var J=FI(I.prevProp,N),Q=J||A===p&&I.isActive&&!H&&U||_>y&&U,ve=Array.isArray(N)?N:[N],De=ve.reduce(o,{});K===!1&&(De={});var Ue=I.prevResolvedValues,$e=Ue===void 0?{}:Ue,bt=D(D({},$e),De),$=function(F){Q=!0,m.delete(F),I.needsAnimating[F]=!0};for(var M in bt){var R=De[M],O=$e[M];v.hasOwnProperty(M)||(R!==O?Ea(R)&&Ea(O)?!a2(R,O)||J?$(M):I.protectedKeys[M]=!0:R!==void 0?$(M):m.add(M):R!==void 0&&m.has(M)?$(M):I.protectedKeys[M]=!0)}I.prevProp=N,I.prevResolvedValues=De,I.isActive&&(v=D(D({},v),De)),i&&e.blockInitialAnimation&&(Q=!1),Q&&!H&&b.push.apply(b,Yt([],Ae(ve.map(function(F){return{animation:F,options:D({type:A},c)}})),!1))},w=0;w<DI;w++)x(w);if(n=D({},v),m.size){var k={};m.forEach(function(_){var A=e.getBaseTarget(_);A!==void 0&&(k[_]=A)}),b.push({animation:k})}var T=Boolean(b.length);return i&&h.initial===!1&&!e.manuallyAnimateOnMount&&(T=!1),i=!1,T?t(b):Promise.resolve()}function u(c,p,f){var h;if(r[c].isActive===p)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(function(m){var v;return(v=m.animationState)===null||v===void 0?void 0:v.setActive(c,p)}),r[c].isActive=p;var g=l(f,c);for(var b in r)r[b].protectedKeys={};return g}return{isAnimated:a,animateChanges:l,setActive:u,setAnimateFunction:s,getState:function(){return r}}}function FI(e,t){return typeof t=="string"?t!==e:Yb(t)?!a2(t,e):!1}function Sn(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function zI(){var e;return e={},e[ge.Animate]=Sn(!0),e[ge.InView]=Sn(),e[ge.Hover]=Sn(),e[ge.Tap]=Sn(),e[ge.Drag]=Sn(),e[ge.Focus]=Sn(),e[ge.Exit]=Sn(),e}var VI={animation:Gr(function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=BI(t)),Eh(r)&&d.exports.useEffect(function(){return r.subscribe(t)},[r])}),exit:Gr(function(e){var t=e.custom,r=e.visualElement,n=Ae(o2(),2),i=n[0],o=n[1],a=d.exports.useContext(za);d.exports.useEffect(function(){var s,l;r.isPresent=i;var u=(s=r.animationState)===null||s===void 0?void 0:s.setActive(ge.Exit,!i,{custom:(l=a==null?void 0:a.custom)!==null&&l!==void 0?l:t});!i&&(u==null||u.then(o))},[i])})},c2=function(){function e(t,r,n){var i=this,o=n===void 0?{}:n,a=o.transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(!!(i.lastMoveEvent&&i.lastMoveEventInfo)){var f=od(i.lastMoveEventInfo,i.history),h=i.startEvent!==null,g=Cx(f.offset,{x:0,y:0})>=3;if(!(!h&&!g)){var b=f.point,m=vf().timestamp;i.history.push(D(D({},b),{timestamp:m}));var v=i.handlers,y=v.onStart,x=v.onMove;h||(y&&y(i.lastMoveEvent,f),i.startEvent=i.lastMoveEvent),x&&x(i.lastMoveEvent,f)}}},this.handlePointerMove=function(f,h){if(i.lastMoveEvent=f,i.lastMoveEventInfo=id(h,i.transformPagePoint),Zx(f)&&f.buttons===0){i.handlePointerUp(f,h);return}cr.update(i.updatePoint,!0)},this.handlePointerUp=function(f,h){i.end();var g=i.handlers,b=g.onEnd,m=g.onSessionEnd,v=od(id(h,i.transformPagePoint),i.history);i.startEvent&&b&&b(f,v),m&&m(f,v)},!(Xx(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=a;var s=_h(t),l=id(s,this.transformPagePoint),u=l.point,c=vf().timestamp;this.history=[D(D({},u),{timestamp:c})];var p=r.onSessionStart;p&&p(t,od(l,this.history)),this.removeListeners=zu(Ci(window,"pointermove",this.handlePointerMove),Ci(window,"pointerup",this.handlePointerUp),Ci(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),xa.update(this.updatePoint)},e}();function id(e,t){return t?{point:t(e.point)}:e}function ag(e,t){return{x:e.x-t.x,y:e.y-t.y}}function od(e,t){var r=e.point;return{point:r,delta:ag(r,d2(t)),offset:ag(r,jI(t)),velocity:WI(t,.1)}}function jI(e){return e[0]}function d2(e){return e[e.length-1]}function WI(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,i=d2(e);r>=0&&(n=e[r],!(i.timestamp-n.timestamp>Ul(t)));)r--;if(!n)return{x:0,y:0};var o=(i.timestamp-n.timestamp)/1e3;if(o===0)return{x:0,y:0};var a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function HI(e,t,r){var n=t.min,i=t.max;return n!==void 0&&e<n?e=r?Pe(n,e,r.min):Math.max(e,n):i!==void 0&&e>i&&(e=r?Pe(i,e,r.max):Math.min(e,i)),e}function sg(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function UI(e,t){var r=t.top,n=t.left,i=t.bottom,o=t.right;return{x:sg(e.x,n,o),y:sg(e.y,r,i)}}function lg(e,t){var r,n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=Ae([i,n],2),n=r[0],i=r[1]),{min:n,max:i}}function KI(e,t){return{x:lg(e.x,t.x),y:lg(e.y,t.y)}}function GI(e,t){var r=.5,n=Mr(e),i=Mr(t);return i>n?r=Sa(t.min,t.max-n,e.min):n>i&&(r=Sa(e.min,e.max-i,t.min)),jl(0,1,r)}function qI(e,t){var r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var Af=.35;function YI(e){return e===void 0&&(e=Af),e===!1?e=0:e===!0&&(e=Af),{x:ug(e,"left","right"),y:ug(e,"top","bottom")}}function ug(e,t,r){return{min:cg(e,t),max:cg(e,r)}}function cg(e,t){var r;return typeof e=="number"?e:(r=e[t])!==null&&r!==void 0?r:0}function f2(e){var t=e.top,r=e.left,n=e.right,i=e.bottom;return{x:{min:r,max:n},y:{min:t,max:i}}}function ZI(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}function XI(e,t){if(!t)return e;var r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function p2(e,t){return f2(XI(e.getBoundingClientRect(),t))}function QI(e,t,r){var n=p2(e,r),i=t.scroll;return i&&(si(n.x,i.x),si(n.y,i.y)),n}var JI=new WeakMap,eM=function(){function e(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=tt(),this.visualElement=t}return e.prototype.start=function(t,r){var n=this,i=r===void 0?{}:r,o=i.snapToCursor,a=o===void 0?!1:o;if(this.visualElement.isPresent!==!1){var s=function(p){n.stopAnimation(),a&&n.snapToCursor(_h(p,"page").point)},l=function(p,f){var h,g=n.getProps(),b=g.drag,m=g.dragPropagation,v=g.onDragStart;b&&!m&&(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=t2(b),!n.openGlobalLock)||(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),tr(function(y){var x,w,k=n.getAxisMotionValue(y).get()||0;if(dr.test(k)){var T=(w=(x=n.visualElement.projection)===null||x===void 0?void 0:x.layout)===null||w===void 0?void 0:w.actual[y];if(T){var _=Mr(T);k=_*(parseFloat(k)/100)}}n.originPoint[y]=k}),v==null||v(p,f),(h=n.visualElement.animationState)===null||h===void 0||h.setActive(ge.Drag,!0))},u=function(p,f){var h=n.getProps(),g=h.dragPropagation,b=h.dragDirectionLock,m=h.onDirectionLock,v=h.onDrag;if(!(!g&&!n.openGlobalLock)){var y=f.offset;if(b&&n.currentDirection===null){n.currentDirection=tM(y),n.currentDirection!==null&&(m==null||m(n.currentDirection));return}n.updateAxis("x",f.point,y),n.updateAxis("y",f.point,y),n.visualElement.syncRender(),v==null||v(p,f)}},c=function(p,f){return n.stop(p,f)};this.panSession=new c2(t,{onSessionStart:s,onStart:l,onMove:u,onSessionEnd:c},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(t,r){var n=this.isDragging;if(this.cancel(),!!n){var i=r.velocity;this.startAnimation(i);var o=this.getProps().onDragEnd;o==null||o(t,r)}},e.prototype.cancel=function(){var t,r;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;var n=this.getProps().dragPropagation;!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(r=this.visualElement.animationState)===null||r===void 0||r.setActive(ge.Drag,!1)},e.prototype.updateAxis=function(t,r,n){var i=this.getProps().drag;if(!(!n||!$s(t,i,this.currentDirection))){var o=this.getAxisMotionValue(t),a=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(a=HI(a,this.constraints[t],this.elastic[t])),o.set(a)}},e.prototype.resolveConstraints=function(){var t=this,r=this.getProps(),n=r.dragConstraints,i=r.dragElastic,o=(this.visualElement.projection||{}).layout,a=this.constraints;n&&ai(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=UI(o.actual,n):this.constraints=!1,this.elastic=YI(i),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&tr(function(s){t.getAxisMotionValue(s)&&(t.constraints[s]=qI(o.actual[s],t.constraints[s]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),r=t.dragConstraints,n=t.onMeasureDragConstraints;if(!r||!ai(r))return!1;var i=r.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var a=QI(i,o.root,this.visualElement.getTransformPagePoint()),s=KI(o.layout.actual,a);if(n){var l=n(ZI(s));this.hasMutatedConstraints=!!l,l&&(s=f2(l))}return s},e.prototype.startAnimation=function(t){var r=this,n=this.getProps(),i=n.drag,o=n.dragMomentum,a=n.dragElastic,s=n.dragTransition,l=n.dragSnapToOrigin,u=n.onDragTransitionEnd,c=this.constraints||{},p=tr(function(f){var h;if(!!$s(f,i,r.currentDirection)){var g=(h=c==null?void 0:c[f])!==null&&h!==void 0?h:{};l&&(g={min:0,max:0});var b=a?200:1e6,m=a?40:1e7,v=D(D({type:"inertia",velocity:o?t[f]:0,bounceStiffness:b,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10},s),g);return r.startAxisValueAnimation(f,v)}});return Promise.all(p).then(u)},e.prototype.startAxisValueAnimation=function(t,r){var n=this.getAxisMotionValue(t);return gh(t,n,0,r)},e.prototype.stopAnimation=function(){var t=this;tr(function(r){return t.getAxisMotionValue(r).stop()})},e.prototype.getAxisMotionValue=function(t){var r,n,i="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[i];return o||this.visualElement.getValue(t,(n=(r=this.visualElement.getProps().initial)===null||r===void 0?void 0:r[t])!==null&&n!==void 0?n:0)},e.prototype.snapToCursor=function(t){var r=this;tr(function(n){var i=r.getProps().drag;if(!!$s(n,i,r.currentDirection)){var o=r.visualElement.projection,a=r.getAxisMotionValue(n);if(o&&o.layout){var s=o.layout.actual[n],l=s.min,u=s.max;a.set(t[n]-Pe(l,u,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var t=this,r,n=this.getProps(),i=n.drag,o=n.dragConstraints,a=this.visualElement.projection;if(!(!ai(o)||!a||!this.constraints)){this.stopAnimation();var s={x:0,y:0};tr(function(u){var c=t.getAxisMotionValue(u);if(c){var p=c.get();s[u]=GI({min:p,max:p},t.constraints[u])}});var l=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=l?l({},""):"none",(r=a.root)===null||r===void 0||r.updateScroll(),a.updateLayout(),this.resolveConstraints(),tr(function(u){if(!!$s(u,i,null)){var c=t.getAxisMotionValue(u),p=t.constraints[u],f=p.min,h=p.max;c.set(Pe(f,h,s[u]))}})}},e.prototype.addListeners=function(){var t=this,r;JI.set(this.visualElement,this);var n=this.visualElement.getInstance(),i=Ci(n,"pointerdown",function(u){var c=t.getProps(),p=c.drag,f=c.dragListener,h=f===void 0?!0:f;p&&h&&t.start(u)}),o=function(){var u=t.getProps().dragConstraints;ai(u)&&(t.constraints=t.resolveRefConstraints())},a=this.visualElement.projection,s=a.addEventListener("measure",o);a&&!a.layout&&((r=a.root)===null||r===void 0||r.updateScroll(),a.updateLayout()),o();var l=kh(window,"resize",function(){t.scalePositionWithinConstraints()});return a.addEventListener("didUpdate",function(u){var c=u.delta,p=u.hasLayoutChanged;t.isDragging&&p&&(tr(function(f){var h=t.getAxisMotionValue(f);!h||(t.originPoint[f]+=c[f].translate,h.set(h.get()+c[f].translate))}),t.visualElement.syncRender())}),function(){l(),i(),s()}},e.prototype.getProps=function(){var t=this.visualElement.getProps(),r=t.drag,n=r===void 0?!1:r,i=t.dragDirectionLock,o=i===void 0?!1:i,a=t.dragPropagation,s=a===void 0?!1:a,l=t.dragConstraints,u=l===void 0?!1:l,c=t.dragElastic,p=c===void 0?Af:c,f=t.dragMomentum,h=f===void 0?!0:f;return D(D({},t),{drag:n,dragDirectionLock:o,dragPropagation:s,dragConstraints:u,dragElastic:p,dragMomentum:h})},e}();function $s(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function tM(e,t){t===void 0&&(t=10);var r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}function rM(e){var t=e.dragControls,r=e.visualElement,n=ja(function(){return new eM(r)});d.exports.useEffect(function(){return t&&t.subscribe(n)},[n,t]),d.exports.useEffect(function(){return n.addListeners()},[n])}function nM(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,i=e.onPanSessionStart,o=e.visualElement,a=t||r||n||i,s=d.exports.useRef(null),l=d.exports.useContext(ih).transformPagePoint,u={onSessionStart:i,onStart:r,onMove:t,onEnd:function(p,f){s.current=null,n&&n(p,f)}};d.exports.useEffect(function(){s.current!==null&&s.current.updateHandlers(u)});function c(p){s.current=new c2(p,u,{transformPagePoint:l})}Yl(o,"pointerdown",a&&c),Th(function(){return s.current&&s.current.end()})}var iM={pan:Gr(nM),drag:Gr(rM)},Bs=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function oM(){var e=Bs.map(function(){return new Ho}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){Bs.forEach(function(i){var o,a="on"+i,s=n[a];(o=t[i])===null||o===void 0||o.call(t),s&&(t[i]=r[a](s))})}};return e.forEach(function(n,i){r["on"+Bs[i]]=function(o){return n.add(o)},r["notify"+Bs[i]]=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];return n.notify.apply(n,Yt([],Ae(o),!1))}}),r}function aM(e,t,r){var n;for(var i in t){var o=t[i],a=r[i];if(Ir(o))e.addValue(i,o);else if(Ir(a))e.addValue(i,Li(o));else if(a!==o)if(e.hasValue(i)){var s=e.getValue(i);!s.hasAnimated&&s.set(o)}else e.addValue(i,Li((n=e.getStaticValue(i))!==null&&n!==void 0?n:o))}for(var i in r)t[i]===void 0&&e.removeValue(i);return t}var h2=function(e){var t=e.treeType,r=t===void 0?"":t,n=e.build,i=e.getBaseTarget,o=e.makeTargetAnimatable,a=e.measureViewportBox,s=e.render,l=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,p=e.scrapeMotionValuesFromProps;return function(f,h){var g=f.parent,b=f.props,m=f.presenceId,v=f.blockInitialAnimation,y=f.visualState,x=f.shouldReduceMotion;h===void 0&&(h={});var w=!1,k=y.latestValues,T=y.renderState,_,A=oM(),I=new Map,N=new Map,U={},K=D({},k),H;function J(){!_||!w||(Q(),s(_,T,b.style,R.projection))}function Q(){n(R,T,k,h,b)}function ve(){A.notifyUpdate(k)}function De(O,F){var ae=F.onChange(function(Ve){k[O]=Ve,b.onUpdate&&cr.update(ve,!1,!0)}),Be=F.onRenderRequest(R.scheduleRender);N.set(O,function(){ae(),Be()})}var Ue=p(b);for(var $e in Ue){var bt=Ue[$e];k[$e]!==void 0&&Ir(bt)&&bt.set(k[$e],!1)}var $=Bu(b),M=Xb(b),R=D(D({treeType:r,current:null,depth:g?g.depth+1:0,parent:g,children:new Set,presenceId:m,shouldReduceMotion:x,variantChildren:M?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(g==null?void 0:g.isMounted()),blockInitialAnimation:v,isMounted:function(){return Boolean(_)},mount:function(O){w=!0,_=R.current=O,R.projection&&R.projection.mount(O),M&&g&&!$&&(H=g==null?void 0:g.addVariantChild(R)),I.forEach(function(F,ae){return De(ae,F)}),g==null||g.children.add(R),R.setProps(b)},unmount:function(){var O;(O=R.projection)===null||O===void 0||O.unmount(),xa.update(ve),xa.render(J),N.forEach(function(F){return F()}),H==null||H(),g==null||g.children.delete(R),A.clearAllListeners(),_=void 0,w=!1},addVariantChild:function(O){var F,ae=R.getClosestVariantNode();if(ae)return(F=ae.variantChildren)===null||F===void 0||F.add(O),function(){return ae.variantChildren.delete(O)}},sortNodePosition:function(O){return!c||r!==O.treeType?0:c(R.getInstance(),O.getInstance())},getClosestVariantNode:function(){return M?R:g==null?void 0:g.getClosestVariantNode()},getLayoutId:function(){return b.layoutId},getInstance:function(){return _},getStaticValue:function(O){return k[O]},setStaticValue:function(O,F){return k[O]=F},getLatestValues:function(){return k},setVisibility:function(O){R.isVisible!==O&&(R.isVisible=O,R.scheduleRender())},makeTargetAnimatable:function(O,F){return F===void 0&&(F=!0),o(R,O,b,F)},measureViewportBox:function(){return a(_,b)},addValue:function(O,F){R.hasValue(O)&&R.removeValue(O),I.set(O,F),k[O]=F.get(),De(O,F)},removeValue:function(O){var F;I.delete(O),(F=N.get(O))===null||F===void 0||F(),N.delete(O),delete k[O],u(O,T)},hasValue:function(O){return I.has(O)},getValue:function(O,F){var ae=I.get(O);return ae===void 0&&F!==void 0&&(ae=Li(F),R.addValue(O,ae)),ae},forEachValue:function(O){return I.forEach(O)},readValue:function(O){var F;return(F=k[O])!==null&&F!==void 0?F:l(_,O,h)},setBaseTarget:function(O,F){K[O]=F},getBaseTarget:function(O){if(i){var F=i(b,O);if(F!==void 0&&!Ir(F))return F}return K[O]}},A),{build:function(){return Q(),T},scheduleRender:function(){cr.render(J,!1,!0)},syncRender:J,setProps:function(O){(O.transformTemplate||b.transformTemplate)&&R.scheduleRender(),b=O,A.updatePropListeners(O),U=aM(R,p(b),U)},getProps:function(){return b},getVariant:function(O){var F;return(F=b.variants)===null||F===void 0?void 0:F[O]},getDefaultTransition:function(){return b.transition},getTransformPagePoint:function(){return b.transformPagePoint},getVariantContext:function(O){if(O===void 0&&(O=!1),O)return g==null?void 0:g.getVariantContext();if(!$){var F=(g==null?void 0:g.getVariantContext())||{};return b.initial!==void 0&&(F.initial=b.initial),F}for(var ae={},Be=0;Be<sM;Be++){var Ve=v2[Be],Ke=b[Ve];(Ut(Ke)||Ke===!1)&&(ae[Ve]=Ke)}return ae}});return R}},v2=Yt(["initial"],Ae(Ph),!1),sM=v2.length;function If(e){return typeof e=="string"&&e.startsWith("var(--")}var m2=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function lM(e){var t=m2.exec(e);if(!t)return[,];var r=Ae(t,3),n=r[1],i=r[2];return[n,i]}function Mf(e,t,r){var n=Ae(lM(e),2),i=n[0],o=n[1];if(!!i){var a=window.getComputedStyle(t).getPropertyValue(i);return a?a.trim():If(o)?Mf(o,t):o}}function uM(e,t,r){var n,i=Ft(t,[]),o=e.getInstance();if(!(o instanceof Element))return{target:i,transitionEnd:r};r&&(r=D({},r)),e.forEachValue(function(u){var c=u.get();if(!!If(c)){var p=Mf(c,o);p&&u.set(p)}});for(var a in i){var s=i[a];if(!!If(s)){var l=Mf(s,o);!l||(i[a]=l,r&&((n=r[a])!==null&&n!==void 0||(r[a]=s)))}}return{target:i,transitionEnd:r}}var cM=new Set(["width","height","top","left","right","bottom","x","y"]),g2=function(e){return cM.has(e)},dM=function(e){return Object.keys(e).some(g2)},y2=function(e,t){e.set(t,!1),e.set(t)},dg=function(e){return e===jn||e===q},fg;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(fg||(fg={}));var pg=function(e,t){return parseFloat(e.split(", ")[t])},hg=function(e,t){return function(r,n){var i=n.transform;if(i==="none"||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return pg(o[1],t);var a=i.match(/^matrix\((.+)\)$/);return a?pg(a[1],e):0}},fM=new Set(["x","y","z"]),pM=ka.filter(function(e){return!fM.has(e)});function hM(e){var t=[];return pM.forEach(function(r){var n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}var vg={width:function(e,t){var r=e.x,n=t.paddingLeft,i=n===void 0?"0":n,o=t.paddingRight,a=o===void 0?"0":o;return r.max-r.min-parseFloat(i)-parseFloat(a)},height:function(e,t){var r=e.y,n=t.paddingTop,i=n===void 0?"0":n,o=t.paddingBottom,a=o===void 0?"0":o;return r.max-r.min-parseFloat(i)-parseFloat(a)},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:hg(4,13),y:hg(5,14)},vM=function(e,t,r){var n=t.measureViewportBox(),i=t.getInstance(),o=getComputedStyle(i),a=o.display,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(function(u){s[u]=vg[u](n,o)}),t.syncRender();var l=t.measureViewportBox();return r.forEach(function(u){var c=t.getValue(u);y2(c,s[u]),e[u]=vg[u](l,o)}),e},mM=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=D({},t),n=D({},n);var i=Object.keys(t).filter(g2),o=[],a=!1,s=[];if(i.forEach(function(u){var c=e.getValue(u);if(!!e.hasValue(u)){var p=r[u],f=vo(p),h=t[u],g;if(Ea(h)){var b=h.length,m=h[0]===null?1:0;p=h[m],f=vo(p);for(var v=m;v<b;v++)g?zl(vo(h[v])===g):g=vo(h[v])}else g=vo(h);if(f!==g)if(dg(f)&&dg(g)){var y=c.get();typeof y=="string"&&c.set(parseFloat(y)),typeof h=="string"?t[u]=parseFloat(h):Array.isArray(h)&&g===q&&(t[u]=h.map(parseFloat))}else(f==null?void 0:f.transform)&&(g==null?void 0:g.transform)&&(p===0||h===0)?p===0?c.set(g.transform(p)):t[u]=f.transform(h):(a||(o=hM(e),a=!0),s.push(u),n[u]=n[u]!==void 0?n[u]:t[u],y2(c,h))}}),s.length){var l=vM(t,e,s);return o.length&&o.forEach(function(u){var c=Ae(u,2),p=c[0],f=c[1];e.getValue(p).set(f)}),e.syncRender(),{target:l,transitionEnd:n}}else return{target:t,transitionEnd:n}};function gM(e,t,r,n){return dM(t)?mM(e,t,r,n):{target:t,transitionEnd:n}}var yM=function(e,t,r,n){var i=uM(e,t,n);return t=i.target,n=i.transitionEnd,gM(e,t,r,n)};function bM(e){return window.getComputedStyle(e)}var b2={treeType:"dom",readValueFromInstance:function(e,t){if(Ga(t)){var r=hh(t);return r&&r.default||0}else{var n=bM(e);return(zx(t)?n.getPropertyValue(t):n[t])||0}},sortNodePosition:function(e,t){return e.compareDocumentPosition(t)&2?1:-1},getBaseTarget:function(e,t){var r;return(r=e.style)===null||r===void 0?void 0:r[t]},measureViewportBox:function(e,t){var r=t.transformPagePoint;return p2(e,r)},resetTransform:function(e,t,r){var n=r.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,n=t.style;delete r[e],delete n[e]},makeTargetAnimatable:function(e,t,r,n){var i=r.transformValues;n===void 0&&(n=!0);var o=t.transition,a=t.transitionEnd,s=Ft(t,["transition","transitionEnd"]),l=II(s,o||{},e);if(i&&(a&&(a=i(a)),s&&(s=i(s)),l&&(l=i(l))),n){PI(e,s,l);var u=yM(e,s,l,a);a=u.transitionEnd,s=u.target}return D({transition:o,transitionEnd:a},s)},scrapeMotionValuesFromProps:Ch,build:function(e,t,r,n,i){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),xh(t,r,n,i.transformTemplate)},render:Ux},xM=h2(b2),SM=h2(D(D({},b2),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return Ga(t)?((r=hh(t))===null||r===void 0?void 0:r.default)||0:(t=Kx.has(t)?t:Hx(t),e.getAttribute(t))},scrapeMotionValuesFromProps:qx,build:function(e,t,r,n,i){wh(t,r,n,i.transformTemplate)},render:Gx})),wM=function(e,t){return bh(e)?SM(t,{enableHardwareAcceleration:!1}):xM(t,{enableHardwareAcceleration:!0})};function mg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var mo={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(q.test(e))e=parseFloat(e);else return e;var r=mg(e,t.target.x),n=mg(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},gg="_$css",CM={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,i=e,o=e.includes("var("),a=[];o&&(e=e.replace(m2,function(b){return a.push(b),gg}));var s=Ar.parse(e);if(s.length>5)return i;var l=Ar.createTransformer(e),u=typeof s[0]!="number"?1:0,c=n.x.scale*r.x,p=n.y.scale*r.y;s[0+u]/=c,s[1+u]/=p;var f=Pe(c,p,.5);typeof s[2+u]=="number"&&(s[2+u]/=f),typeof s[3+u]=="number"&&(s[3+u]/=f);var h=l(s);if(o){var g=0;h=h.replace(gg,function(){var b=a[g];return g++,b})}return h}},EM=function(e){Ub(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var r=this,n=this.props,i=n.visualElement,o=n.layoutGroup,a=n.switchLayoutGroup,s=n.layoutId,l=i.projection;t7(_M),l&&(o!=null&&o.group&&o.group.add(l),(a==null?void 0:a.register)&&s&&a.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",function(){r.safeToRemove()}),l.setOptions(D(D({},l.options),{onExitComplete:function(){return r.safeToRemove()}}))),qo.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(r){var n=this,i=this.props,o=i.layoutDependency,a=i.visualElement,s=i.drag,l=i.isPresent,u=a.projection;return u&&(u.isPresent=l,s||r.layoutDependency!==o||o===void 0?u.willUpdate():this.safeToRemove(),r.isPresent!==l&&(l?u.promote():u.relegate()||cr.postRender(function(){var c;!((c=u.getStack())===null||c===void 0)&&c.members.length||n.safeToRemove()}))),null},t.prototype.componentDidUpdate=function(){var r=this.props.visualElement.projection;r&&(r.root.didUpdate(),!r.currentAnimation&&r.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var r=this.props,n=r.visualElement,i=r.layoutGroup,o=r.switchLayoutGroup,a=n.projection;a&&(a.scheduleCheckAfterUnmount(),i!=null&&i.group&&i.group.remove(a),o!=null&&o.deregister&&o.deregister(a))},t.prototype.safeToRemove=function(){var r=this.props.safeToRemove;r==null||r()},t.prototype.render=function(){return null},t}(nu.Component);function kM(e){var t=Ae(o2(),2),r=t[0],n=t[1],i=d.exports.useContext(yh);return j(EM,Or({},D({},e,{layoutGroup:i,switchLayoutGroup:d.exports.useContext(Bx),isPresent:r,safeToRemove:n})))}var _M={borderRadius:D(D({},mo),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:mo,borderTopRightRadius:mo,borderBottomLeftRadius:mo,borderBottomRightRadius:mo,boxShadow:CM},TM={measureLayout:kM},PM=$x({attachResizeListener:function(e,t){return e.addEventListener("resize",t,{passive:!0}),function(){return e.removeEventListener("resize",t)}},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}}}),ad={current:void 0},AM=$x({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!ad.current){var e=new PM(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),ad.current=e}return ad.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"}}),IM=D(D(D(D({},VI),yI),iM),TM),Yo=P7(function(e,t){return X7(e,t,IM,wM,AM)});function x2(){var e=d.exports.useRef(!1);return Vl(function(){return e.current=!0,function(){e.current=!1}},[]),e}function MM(){var e=x2(),t=Ae(d.exports.useState(0),2),r=t[0],n=t[1],i=d.exports.useCallback(function(){e.current&&n(r+1)},[r]),o=d.exports.useCallback(function(){return cr.postRender(i)},[i]);return[o,r]}var sd=function(e){var t=e.children,r=e.initial,n=e.isPresent,i=e.onExitComplete,o=e.custom,a=e.presenceAffectsLayout,s=ja(RM),l=i2(),u=d.exports.useMemo(function(){return{id:l,initial:r,isPresent:n,custom:o,onExitComplete:function(c){var p,f;s.set(c,!0);try{for(var h=GP(s.values()),g=h.next();!g.done;g=h.next()){var b=g.value;if(!b)return}}catch(m){p={error:m}}finally{try{g&&!g.done&&(f=h.return)&&f.call(h)}finally{if(p)throw p.error}}i==null||i()},register:function(c){return s.set(c,!1),function(){return s.delete(c)}}}},a?void 0:[n]);return d.exports.useMemo(function(){s.forEach(function(c,p){return s.set(p,!1)})},[n]),d.exports.useEffect(function(){!n&&!s.size&&(i==null||i())},[n]),d.exports.createElement(za.Provider,{value:u},t)};function RM(){return new Map}var Jn=function(e){return e.key||""};function LM(e,t){e.forEach(function(r){var n=Jn(r);t.set(n,r)})}function OM(e){var t=[];return d.exports.Children.forEach(e,function(r){d.exports.isValidElement(r)&&t.push(r)}),t}var S2=function(e){var t=e.children,r=e.custom,n=e.initial,i=n===void 0?!0:n,o=e.onExitComplete,a=e.exitBeforeEnter,s=e.presenceAffectsLayout,l=s===void 0?!0:s,u=Ae(MM(),1),c=u[0],p=d.exports.useContext(yh).forceRender;p&&(c=p);var f=x2(),h=OM(t),g=h,b=new Set,m=d.exports.useRef(g),v=d.exports.useRef(new Map).current,y=d.exports.useRef(!0);if(Vl(function(){y.current=!1,LM(h,v),m.current=g}),Th(function(){y.current=!0,v.clear(),b.clear()}),y.current)return d.exports.createElement(d.exports.Fragment,null,g.map(function(A){return d.exports.createElement(sd,{key:Jn(A),isPresent:!0,initial:i?void 0:!1,presenceAffectsLayout:l},A)}));g=Yt([],Ae(g),!1);for(var x=m.current.map(Jn),w=h.map(Jn),k=x.length,T=0;T<k;T++){var _=x[T];w.indexOf(_)===-1&&b.add(_)}return a&&b.size&&(g=[]),b.forEach(function(A){if(w.indexOf(A)===-1){var I=v.get(A);if(!!I){var N=x.indexOf(A),U=function(){v.delete(A),b.delete(A);var K=m.current.findIndex(function(H){return H.key===A});if(m.current.splice(K,1),!b.size){if(m.current=h,f.current===!1)return;c(),o&&o()}};g.splice(N,0,d.exports.createElement(sd,{key:Jn(I),isPresent:!1,onExitComplete:U,custom:r,presenceAffectsLayout:l},I))}}}),g=g.map(function(A){var I=A.key;return b.has(I)?A:d.exports.createElement(sd,{key:Jn(A),isPresent:!0,presenceAffectsLayout:l},A)}),d.exports.createElement(d.exports.Fragment,null,b.size?g:g.map(function(A){return d.exports.cloneElement(A)}))};function NM(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function fn(){return fn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fn.apply(this,arguments)}var Fs={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},yg={enter:function(t,r){return fn({},t,{delay:on(r)?r:r==null?void 0:r.enter})},exit:function(t,r){return fn({},t,{delay:on(r)?r:r==null?void 0:r.exit})}},DM=["in","unmountOnExit","animateOpacity","startingHeight","endingHeight","style","className","transition","transitionEnd"],$M=function(t){return t!=null&&parseInt(t.toString(),10)>0},bg={exit:{height:{duration:.2,ease:Fs.ease},opacity:{duration:.3,ease:Fs.ease}},enter:{height:{duration:.3,ease:Fs.ease},opacity:{duration:.4,ease:Fs.ease}}},BM={exit:function(t){var r,n=t.animateOpacity,i=t.startingHeight,o=t.transition,a=t.transitionEnd,s=t.delay;return fn({},n&&{opacity:$M(i)?1:0},{overflow:"hidden",height:i,transitionEnd:a==null?void 0:a.exit,transition:(r=o==null?void 0:o.exit)!=null?r:yg.exit(bg.exit,s)})},enter:function(t){var r,n=t.animateOpacity,i=t.endingHeight,o=t.transition,a=t.transitionEnd,s=t.delay;return fn({},n&&{opacity:1},{height:i,transitionEnd:a==null?void 0:a.enter,transition:(r=o==null?void 0:o.enter)!=null?r:yg.enter(bg.enter,s)})}},FM=d.exports.forwardRef(function(e,t){var r=e.in,n=e.unmountOnExit,i=e.animateOpacity,o=i===void 0?!0:i,a=e.startingHeight,s=a===void 0?0:a,l=e.endingHeight,u=l===void 0?"auto":l,c=e.style,p=e.className,f=e.transition,h=e.transitionEnd,g=NM(e,DM),b=d.exports.useState(!1),m=b[0],v=b[1];d.exports.useEffect(function(){var T=setTimeout(function(){v(!0)});return function(){return clearTimeout(T)}},[]),vn({condition:Boolean(s>0&&n),message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});var y=parseFloat(s.toString())>0,x={startingHeight:s,endingHeight:u,animateOpacity:o,transition:m?f:{enter:{duration:0}},transitionEnd:qt(h,{enter:{overflow:"initial"},exit:n?void 0:{display:y?"block":"none"}})},w=n?r:!0,k=r||n?"enter":"exit";return d.exports.createElement(S2,{initial:!1,custom:x},w&&d.exports.createElement(Yo.div,fn({ref:t},g,{className:ee("chakra-collapse",p),style:fn({overflow:"hidden",display:"block"},c),custom:x,variants:BM,initial:n?"exit":!1,animate:k,exit:"exit"})))});function zM(e,t){if(e!=null){if(Mu(e)){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function w2(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){t.forEach(function(i){return zM(i,n)})}}function Ah(e){e===void 0&&(e={});var t=e,r=t.strict,n=r===void 0?!0:r,i=t.errorMessage,o=i===void 0?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":i,a=t.name,s=d.exports.createContext(void 0);s.displayName=a;function l(){var u=d.exports.useContext(s);if(!u&&n){var c=new Error(o);throw c.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(c,l),c}return u}return[s.Provider,l,s]}function Rf(){return Rf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Rf.apply(this,arguments)}function xg(e){return e.sort(function(t,r){var n=t.compareDocumentPosition(r);if(n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(n&Node.DOCUMENT_POSITION_DISCONNECTED||n&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}var VM=function(t){return typeof t=="object"&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE};function Sg(e,t,r){var n=e+1;return r&&n>=t&&(n=0),n}function wg(e,t,r){var n=e-1;return r&&n<0&&(n=t),n}var Lf=typeof window!="undefined"?d.exports.useLayoutEffect:d.exports.useEffect,Zl=function(t){return t},jM=function(){var t=this;this.descendants=new Map,this.register=function(r){if(r!=null)return VM(r)?t.registerNode(r):function(n){t.registerNode(n,r)}},this.unregister=function(r){t.descendants.delete(r);var n=xg(Array.from(t.descendants.keys()));t.assignIndex(n)},this.destroy=function(){t.descendants.clear()},this.assignIndex=function(r){t.descendants.forEach(function(n){var i=r.indexOf(n.node);n.index=i,n.node.dataset.index=n.index.toString()})},this.count=function(){return t.descendants.size},this.enabledCount=function(){return t.enabledValues().length},this.values=function(){var r=Array.from(t.descendants.values());return r.sort(function(n,i){return n.index-i.index})},this.enabledValues=function(){return t.values().filter(function(r){return!r.disabled})},this.item=function(r){if(t.count()!==0)return t.values()[r]},this.enabledItem=function(r){if(t.enabledCount()!==0)return t.enabledValues()[r]},this.first=function(){return t.item(0)},this.firstEnabled=function(){return t.enabledItem(0)},this.last=function(){return t.item(t.descendants.size-1)},this.lastEnabled=function(){var r=t.enabledValues().length-1;return t.enabledItem(r)},this.indexOf=function(r){var n,i;return r&&(n=(i=t.descendants.get(r))==null?void 0:i.index)!=null?n:-1},this.enabledIndexOf=function(r){return r==null?-1:t.enabledValues().findIndex(function(n){return n.node.isSameNode(r)})},this.next=function(r,n){n===void 0&&(n=!0);var i=Sg(r,t.count(),n);return t.item(i)},this.nextEnabled=function(r,n){n===void 0&&(n=!0);var i=t.item(r);if(!!i){var o=t.enabledIndexOf(i.node),a=Sg(o,t.enabledCount(),n);return t.enabledItem(a)}},this.prev=function(r,n){n===void 0&&(n=!0);var i=wg(r,t.count()-1,n);return t.item(i)},this.prevEnabled=function(r,n){n===void 0&&(n=!0);var i=t.item(r);if(!!i){var o=t.enabledIndexOf(i.node),a=wg(o,t.enabledCount()-1,n);return t.enabledItem(a)}},this.registerNode=function(r,n){if(!(!r||t.descendants.has(r))){var i=Array.from(t.descendants.keys()).concat(r),o=xg(i);n!=null&&n.disabled&&(n.disabled=!!n.disabled);var a=Rf({node:r,index:-1},n);t.descendants.set(r,a),t.assignIndex(o)}}};function WM(){var e=d.exports.useRef(new jM);return Lf(function(){return function(){return e.current.destroy()}}),e.current}var C2=Ah({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"}),HM=C2[0],E2=C2[1];function UM(e){var t=E2(),r=d.exports.useState(-1),n=r[0],i=r[1],o=d.exports.useRef(null);Lf(function(){return function(){!o.current||t.unregister(o.current)}},[]),Lf(function(){if(!!o.current){var s=Number(o.current.dataset.index);n!=s&&!Number.isNaN(s)&&i(s)}});var a=Zl(e?t.register(e):t.register);return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(o.current),register:w2(a,o)}}function KM(){var e=Zl(HM),t=function(){return Zl(E2())},r=function(o){return UM(o)},n=function(){return WM()};return[e,t,n,r]}function kt(){return kt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kt.apply(this,arguments)}function _a(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var GM=["onChange","defaultIndex","index","allowMultiple","allowToggle"],qM=["isDisabled","isFocusable","id"],Ih=KM(),YM=Ih[0],ZM=Ih[2],XM=Ih[3];function QM(e){var t=e.onChange,r=e.defaultIndex,n=e.index,i=e.allowMultiple,o=e.allowToggle,a=_a(e,GM);tR(e),rR(e);var s=ZM(),l=d.exports.useState(-1),u=l[0],c=l[1];U4(function(){c(-1)});var p=cb({value:n,defaultValue:function(){return i?r!=null?r:[]:r!=null?r:-1},onChange:t}),f=p[0],h=p[1],g=function(m){var v=!1;m!==null&&(v=Mi(f)?f.includes(m):f===m);var y=function(w){if(m!==null)if(i&&Mi(f)){var k=w?g4(f,m):y4(f,m);h(k)}else w?h(m):o&&h(-1)};return{isOpen:v,onChange:y}};return{index:f,setIndex:h,htmlProps:a,getAccordionItemProps:g,focusedIndex:u,setFocusedIndex:c,descendants:s}}var k2=Ah({name:"AccordionContext",errorMessage:"useAccordionContext: `context` is undefined. Seems you forgot to wrap the accordion components in `<Accordion />`"}),JM=k2[0],Mh=k2[1];function eR(e){var t=e.isDisabled,r=e.isFocusable,n=e.id,i=_a(e,qM),o=Mh(),a=o.getAccordionItemProps,s=o.setFocusedIndex,l=d.exports.useRef(null),u=W4(n,"accordion-button","accordion-panel"),c=u[0],p=u[1];nR(e);var f=XM({disabled:t&&!r}),h=f.register,g=f.index,b=f.descendants,m=a(g===-1?null:g),v=m.isOpen,y=m.onChange;iR({isOpen:v,isDisabled:t});var x=function(){y==null||y(!0)},w=function(){y==null||y(!1)},k=d.exports.useCallback(function(){y==null||y(!v),s(g)},[g,s,v,y]),T=d.exports.useCallback(function(N){var U=lb(N),K={ArrowDown:function(){var Q=b.nextEnabled(g);Q&&_r(Q.node)},ArrowUp:function(){var Q=b.prevEnabled(g);Q&&_r(Q.node)},Home:function(){var Q=b.firstEnabled();Q&&_r(Q.node)},End:function(){var Q=b.lastEnabled();Q&&_r(Q.node)}},H=K[U];H&&(N.preventDefault(),H(N))},[b,g]),_=d.exports.useCallback(function(){s(g)},[s,g]),A=d.exports.useCallback(function(N,U){return N===void 0&&(N={}),U===void 0&&(U=null),kt({},N,{type:"button",ref:w2(h,l,U),id:c,disabled:!!t,"aria-expanded":!!v,"aria-controls":p,onClick:Le(N.onClick,k),onFocus:Le(N.onFocus,_),onKeyDown:Le(N.onKeyDown,T)})},[c,t,v,k,_,T,p,h]),I=d.exports.useCallback(function(N,U){return N===void 0&&(N={}),U===void 0&&(U=null),kt({},N,{ref:U,role:"region",id:p,"aria-labelledby":c,hidden:!v})},[c,v,p]);return{isOpen:v,isDisabled:t,isFocusable:r,onOpen:x,onClose:w,getButtonProps:A,getPanelProps:I,htmlProps:i}}function tR(e){var t=e.index||e.defaultIndex,r=!b4(t)&&!Mi(t)&&e.allowMultiple;vn({condition:!!r,message:"If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: "+typeof t+","})}function rR(e){vn({condition:!!(e.allowMultiple&&e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}function nR(e){vn({condition:!!(e.isFocusable&&!e.isDisabled),message:`Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well.
    `})}function iR(e){vn({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}var oR=["children","reduceMotion"],aR=["htmlProps","descendants"],sR=["htmlProps"],lR=Y(function(e,t){var r=e.children,n=e.reduceMotion,i=_a(e,oR),o=Ui("Accordion",i),a=st(i),s=QM(a),l=s.htmlProps,u=s.descendants,c=_a(s,aR),p=d.exports.useMemo(function(){return kt({},c,{reduceMotion:!!n})},[c,n]);return d.exports.createElement(YM,{value:u},d.exports.createElement(JM,{value:p},d.exports.createElement(Qp,{value:o},d.exports.createElement(G.div,kt({ref:t},l,{className:ee("chakra-accordion",i.className),__css:o.root}),r))))}),_2=Ah({name:"AccordionItemContext",errorMessage:"useAccordionItemContext: `context` is undefined. Seems you forgot to wrap the accordion item parts in `<AccordionItem />` "}),uR=_2[0],Rh=_2[1],cR=Y(function(e,t){var r=e.children,n=e.className,i=eR(e),o=i.htmlProps,a=_a(i,sR),s=vr(),l=kt({},s.container,{overflowAnchor:"none"}),u=d.exports.useMemo(function(){return a},[a]);return d.exports.createElement(uR,{value:u},d.exports.createElement(G.div,kt({ref:t},o,{className:ee("chakra-accordion__item",n),__css:l}),Lt(r,{isExpanded:!!a.isOpen,isDisabled:!!a.isDisabled})))}),dR=Y(function(e,t){var r=Rh(),n=r.getButtonProps,i=n(e,t),o=vr(),a=kt({display:"flex",alignItems:"center",width:"100%",outline:0},o.button);return d.exports.createElement(G.button,kt({},i,{className:ee("chakra-accordion__button",e.className),__css:a}))}),fR=Y(function(e,t){var r=Mh(),n=r.reduceMotion,i=Rh(),o=i.getPanelProps,a=i.isOpen,s=o(e,t),l=ee("chakra-accordion__panel",e.className),u=vr();n||delete s.hidden;var c=d.exports.createElement(G.div,kt({},s,{__css:u.panel,className:l}));return n?c:d.exports.createElement(FM,{in:a},c)}),pR=function(t){var r=Rh(),n=r.isOpen,i=r.isDisabled,o=Mh(),a=o.reduceMotion,s=ee("chakra-accordion__icon",t.className),l=vr(),u=kt({opacity:i?.4:1,transform:n?"rotate(-180deg)":void 0,transition:a?void 0:"transform 0.2s",transformOrigin:"center"},l.icon);return d.exports.createElement(Hb,kt({viewBox:"0 0 24 24","aria-hidden":!0,className:s,__css:u},t),d.exports.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))};function Rn(){return Rn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Rn.apply(this,arguments)}function T2(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function hR(e){var t=e.loading,r=e.src,n=e.srcSet,i=e.onLoad,o=e.onError,a=e.crossOrigin,s=e.sizes,l=e.ignoreFallback,u=d.exports.useState("pending"),c=u[0],p=u[1];d.exports.useEffect(function(){p(r?"loading":"pending")},[r]);var f=d.exports.useRef(),h=d.exports.useCallback(function(){if(!!r){g();var b=new Image;b.src=r,a&&(b.crossOrigin=a),n&&(b.srcset=n),s&&(b.sizes=s),t&&(b.loading=t),b.onload=function(m){g(),p("loaded"),i==null||i(m)},b.onerror=function(m){g(),p("failed"),o==null||o(m)},f.current=b}},[r,a,n,s,i,o,t]),g=function(){f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return Nl(function(){if(!l)return c==="loading"&&h(),function(){g()}},[c,h,l]),l?"loaded":c}var vR=["htmlWidth","htmlHeight","alt"],mR=["fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],Cg=d.exports.forwardRef(function(e,t){var r=e.htmlWidth,n=e.htmlHeight,i=e.alt,o=T2(e,vR);return d.exports.createElement("img",Rn({width:r,height:n,ref:t,alt:i},o))}),gR=Y(function(e,t){var r=e.fallbackSrc,n=e.fallback,i=e.src,o=e.srcSet,a=e.align,s=e.fit,l=e.loading,u=e.ignoreFallback,c=e.crossOrigin,p=T2(e,mR),f=l!=null||u||r===void 0&&n===void 0,h=hR(Rn({},e,{ignoreFallback:f})),g=Rn({ref:t,objectFit:s,objectPosition:a},f?p:Da(p,["onError","onLoad"]));return h!=="loaded"?n||d.exports.createElement(G.img,Rn({as:Cg,className:"chakra-image__placeholder",src:r},g)):d.exports.createElement(G.img,Rn({as:Cg,src:i,srcSet:o,crossOrigin:c,loading:l,className:"chakra-image"},g))});function yR(e){e===void 0&&(e={});var t=e,r=t.strict,n=r===void 0?!0:r,i=t.errorMessage,o=i===void 0?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":i,a=t.name,s=d.exports.createContext(void 0);s.displayName=a;function l(){var u=d.exports.useContext(s);if(!u&&n){var c=new Error(o);throw c.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(c,l),c}return u}return[s.Provider,l,s]}var Lh={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},bR=G("span",{baseStyle:Lh});G("input",{baseStyle:Lh});function Xl(){return Xl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xl.apply(this,arguments)}function xR(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var SR=["label","thickness","speed","emptyColor","className"],wR=eb({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),CR=Y(function(e,t){var r=Xt("Spinner",e),n=st(e),i=n.label,o=i===void 0?"Loading...":i,a=n.thickness,s=a===void 0?"2px":a,l=n.speed,u=l===void 0?"0.45s":l,c=n.emptyColor,p=c===void 0?"transparent":c,f=n.className,h=xR(n,SR),g=ee("chakra-spinner",f),b=Xl({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:s,borderBottomColor:p,borderLeftColor:p,animation:wR+" "+u+" linear infinite"},r);return d.exports.createElement(G.div,Xl({ref:t,__css:b,className:g},h),o&&d.exports.createElement(bR,null,o))});function Oh(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function an(){return an=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},an.apply(this,arguments)}var ER=yR({strict:!1,name:"ButtonGroupContext"}),kR=ER[1],_R=["label","placement","spacing","children","className","__css"],Eg=function(t){var r=t.label,n=t.placement,i=t.spacing,o=i===void 0?"0.5rem":i,a=t.children,s=a===void 0?d.exports.createElement(CR,{color:"currentColor",width:"1em",height:"1em"}):a,l=t.className,u=t.__css,c=Oh(t,_R),p=ee("chakra-button__spinner",l),f=n==="start"?"marginEnd":"marginStart",h=d.exports.useMemo(function(){var g;return an((g={display:"flex",alignItems:"center",position:r?"relative":"absolute"},g[f]=r?o:0,g.fontSize="1em",g.lineHeight="normal",g),u)},[u,r,f,o]);return d.exports.createElement(G.div,an({className:p},c,{__css:h}),s)},TR=["children","className"],kg=function(t){var r=t.children,n=t.className,i=Oh(t,TR),o=d.exports.isValidElement(r)?d.exports.cloneElement(r,{"aria-hidden":!0,focusable:!1}):r,a=ee("chakra-button__icon",n);return d.exports.createElement(G.span,an({display:"inline-flex",alignSelf:"center",flexShrink:0},i,{className:a}),o)};function PR(e){var t=d.exports.useState(!e),r=t[0],n=t[1],i=d.exports.useCallback(function(a){!a||n(a.tagName==="BUTTON")},[]),o=r?"button":void 0;return{ref:i,type:o}}var AR=["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"],Ta=Y(function(e,t){var r=kR(),n=Xt("Button",an({},r,e)),i=st(e),o=i.isDisabled,a=o===void 0?r==null?void 0:r.isDisabled:o,s=i.isLoading,l=i.isActive,u=i.isFullWidth,c=i.children,p=i.leftIcon,f=i.rightIcon,h=i.loadingText,g=i.iconSpacing,b=g===void 0?"0.5rem":g,m=i.type,v=i.spinner,y=i.spinnerPlacement,x=y===void 0?"start":y,w=i.className,k=i.as,T=Oh(i,AR),_=d.exports.useMemo(function(){var K,H=qt({},(K=n==null?void 0:n._focus)!=null?K:{},{zIndex:1});return an({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",width:u?"100%":"auto"},n,!!r&&{_focus:H})},[n,r,u]),A=PR(k),I=A.ref,N=A.type,U={rightIcon:f,leftIcon:p,iconSpacing:b,children:c};return d.exports.createElement(G.button,an({disabled:a||s,ref:G4(t,I),as:k,type:m!=null?m:N,"data-active":qe(l),"data-loading":qe(s),__css:_,className:ee("chakra-button",w)},T),s&&x==="start"&&d.exports.createElement(Eg,{className:"chakra-button__spinner--start",label:h,placement:"start",spacing:b},v),s?h||d.exports.createElement(G.span,{opacity:0},d.exports.createElement(_g,U)):d.exports.createElement(_g,U),s&&x==="end"&&d.exports.createElement(Eg,{className:"chakra-button__spinner--end",label:h,placement:"end",spacing:b},v))});function _g(e){var t=e.leftIcon,r=e.rightIcon,n=e.children,i=e.iconSpacing;return d.exports.createElement(d.exports.Fragment,null,t&&d.exports.createElement(kg,{marginEnd:i},t),n,r&&d.exports.createElement(kg,{marginStart:i},r))}function IR(e,t){if(e!=null){if(Mu(e)){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function Tg(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){t.forEach(function(i){return IR(i,n)})}}function MR(e){e===void 0&&(e={});var t=e,r=t.strict,n=r===void 0?!0:r,i=t.errorMessage,o=i===void 0?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":i,a=t.name,s=d.exports.createContext(void 0);s.displayName=a;function l(){var u=d.exports.useContext(s);if(!u&&n){var c=new Error(o);throw c.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(c,l),c}return u}return[s.Provider,l,s]}function RR(e){e===void 0&&(e={});var t=e,r=t.strict,n=r===void 0?!0:r,i=t.errorMessage,o=i===void 0?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":i,a=t.name,s=d.exports.createContext(void 0);s.displayName=a;function l(){var u=d.exports.useContext(s);if(!u&&n){var c=new Error(o);throw c.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(c,l),c}return u}return[s.Provider,l,s]}function Ql(){return Ql=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ql.apply(this,arguments)}function P2(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var LR=RR({strict:!1,name:"FormControlContext"}),OR=LR[1],NR=["isDisabled","isInvalid","isReadOnly","isRequired"],DR=["id","disabled","readOnly","required","isRequired","isInvalid","isReadOnly","isDisabled","onFocus","onBlur"];function $R(e){var t=A2(e),r=t.isDisabled,n=t.isInvalid,i=t.isReadOnly,o=t.isRequired,a=P2(t,NR);return Ql({},a,{disabled:r,readOnly:i,required:o,"aria-invalid":Oc(n),"aria-required":Oc(o),"aria-readonly":Oc(i)})}function A2(e){var t,r,n,i=OR(),o=e.id,a=e.disabled,s=e.readOnly,l=e.required,u=e.isRequired,c=e.isInvalid,p=e.isReadOnly,f=e.isDisabled,h=e.onFocus,g=e.onBlur,b=P2(e,DR),m=e["aria-describedby"]?[e["aria-describedby"]]:[];return i!=null&&i.hasFeedbackText&&i!=null&&i.isInvalid&&m.push(i.feedbackId),i!=null&&i.hasHelpText&&m.push(i.helpTextId),Ql({},b,{"aria-describedby":m.join(" ")||void 0,id:o!=null?o:i==null?void 0:i.id,isDisabled:(t=a!=null?a:f)!=null?t:i==null?void 0:i.isDisabled,isReadOnly:(r=s!=null?s:p)!=null?r:i==null?void 0:i.isReadOnly,isRequired:(n=l!=null?l:u)!=null?n:i==null?void 0:i.isRequired,isInvalid:c!=null?c:i==null?void 0:i.isInvalid,onFocus:Le(i==null?void 0:i.onFocus,h),onBlur:Le(i==null?void 0:i.onBlur,g)})}function nt(){return nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nt.apply(this,arguments)}var BR=MR({name:"CheckboxGroupContext",strict:!1}),FR=BR[1];function Nh(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var zR=["isIndeterminate","isChecked"],I2="custom"in Yo?Yo.custom(G.svg):Yo(G.svg),VR=function(t){return d.exports.createElement(I2,nt({width:"1.2em",viewBox:"0 0 12 10",variants:{unchecked:{opacity:0,strokeDashoffset:16},checked:{opacity:1,strokeDashoffset:0,transition:{duration:.2}}},style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16}},t),d.exports.createElement("polyline",{points:"1.5 6 4.5 9 10.5 1"}))},jR=function(t){return d.exports.createElement(I2,nt({width:"1.2em",viewBox:"0 0 24 24",variants:{unchecked:{scaleX:.65,opacity:0},checked:{scaleX:1,opacity:1,transition:{scaleX:{duration:0},opacity:{duration:.02}}}},style:{stroke:"currentColor",strokeWidth:4}},t),d.exports.createElement("line",{x1:"21",x2:"3",y1:"12",y2:"12"}))},WR=function(t){var r=t.open,n=t.children;return d.exports.createElement(S2,{initial:!1},r&&d.exports.createElement(Yo.div,{variants:{unchecked:{scale:.5},checked:{scale:1}},initial:"unchecked",animate:"checked",exit:"unchecked",style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}},n))},HR=function(t){var r=t.isIndeterminate,n=t.isChecked,i=Nh(t,zR),o=r?jR:VR;return d.exports.createElement(WR,{open:n||r},d.exports.createElement(o,i))},UR=["defaultIsChecked","defaultChecked","isChecked","isFocusable","onChange","isIndeterminate","name","value","tabIndex","aria-label","aria-labelledby","aria-invalid"];function KR(e){e===void 0&&(e={});var t=A2(e),r=t.isDisabled,n=t.isReadOnly,i=t.isRequired,o=t.isInvalid,a=t.id,s=t.onBlur,l=t.onFocus,u=t["aria-describedby"],c=e,p=c.defaultIsChecked,f=c.defaultChecked,h=f===void 0?p:f,g=c.isChecked,b=c.isFocusable,m=c.onChange,v=c.isIndeterminate,y=c.name,x=c.value,w=c.tabIndex,k=w===void 0?void 0:w,T=c["aria-label"],_=c["aria-labelledby"],A=c["aria-invalid"],I=Nh(c,UR),N=Da(I,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),U=$o(m),K=$o(s),H=$o(l),J=Nc(),Q=J[0],ve=J[1],De=Nc(),Ue=De[0],$e=De[1],bt=Nc(),$=bt[0],M=bt[1],R=d.exports.useRef(null),O=d.exports.useState(!0),F=O[0],ae=O[1],Be=d.exports.useState(!!h),Ve=Be[0],Ke=Be[1],Wn=F4(g,Ve),Zi=Wn[0],lt=Wn[1];vn({condition:!!p,message:'The "defaultIsChecked" prop has been deprecated and will be removed in a future version. Please use the "defaultChecked" prop instead, which mirrors default React checkbox behavior.'});var Ya=d.exports.useCallback(function(X){if(n||r){X.preventDefault();return}Zi||Ke(lt?X.target.checked:v?!0:X.target.checked),U==null||U(X)},[n,r,lt,Zi,v,U]);Nl(function(){R.current&&(R.current.indeterminate=Boolean(v))},[v]),H4(function(){r&&ve.off()},[r,ve]);var Za=r&&!b,Xa=d.exports.useCallback(function(X){X.key===" "&&M.on()},[M]),Qa=d.exports.useCallback(function(X){X.key===" "&&M.off()},[M]);Nl(function(){if(!!R.current){var X=R.current.checked!==lt;X&&Ke(R.current.checked)}},[R.current]);var qu=d.exports.useCallback(function(X,ye){X===void 0&&(X={}),ye===void 0&&(ye=null);var Qt=function(Qu){Qu.preventDefault(),M.on()};return nt({},X,{ref:ye,"data-active":qe($),"data-hover":qe(Ue),"data-checked":qe(lt),"data-focus":qe(Q),"data-indeterminate":qe(v),"data-disabled":qe(r),"data-invalid":qe(o),"data-readonly":qe(n),"aria-hidden":!0,onMouseDown:Le(X.onMouseDown,Qt),onMouseUp:Le(X.onMouseUp,M.off),onMouseEnter:Le(X.onMouseEnter,$e.on),onMouseLeave:Le(X.onMouseLeave,$e.off)})},[$,lt,r,Q,Ue,v,o,n,M,$e.off,$e.on]),Yu=d.exports.useCallback(function(X,ye){return X===void 0&&(X={}),ye===void 0&&(ye=null),nt({},N,X,{ref:Tg(ye,function(Qt){!Qt||ae(Qt.tagName==="LABEL")}),onClick:Le(X.onClick,function(){if(!F){var Qt;(Qt=R.current)==null||Qt.click(),_r(R.current,{nextTick:!0})}}),"data-disabled":qe(r),"data-checked":qe(lt),"data-invalid":qe(o)})},[N,r,lt,o,F]),Zu=d.exports.useCallback(function(X,ye){return X===void 0&&(X={}),ye===void 0&&(ye=null),nt({},X,{ref:Tg(R,ye),type:"checkbox",name:y,value:x,id:a,tabIndex:k,onChange:Le(X.onChange,Ya),onBlur:Le(X.onBlur,K,ve.off),onFocus:Le(X.onFocus,H,ve.on),onKeyDown:Le(X.onKeyDown,Xa),onKeyUp:Le(X.onKeyUp,Qa),required:i,checked:lt,disabled:Za,readOnly:n,"aria-label":T,"aria-labelledby":_,"aria-invalid":A?Boolean(A):o,"aria-describedby":u,"aria-disabled":r,style:Lh})},[y,x,a,Ya,ve.off,ve.on,K,H,Xa,Qa,i,lt,Za,n,T,_,A,o,u,r,k]),Hn=d.exports.useCallback(function(X,ye){return X===void 0&&(X={}),ye===void 0&&(ye=null),nt({},X,{ref:ye,onMouseDown:Le(X.onMouseDown,Pg),onTouchStart:Le(X.onTouchStart,Pg),"data-disabled":qe(r),"data-checked":qe(lt),"data-invalid":qe(o)})},[lt,r,o]),Xi={isInvalid:o,isFocused:Q,isChecked:lt,isActive:$,isHovered:Ue,isIndeterminate:v,isDisabled:r,isReadOnly:n,isRequired:i};return{state:Xi,getRootProps:Yu,getCheckboxProps:qu,getInputProps:Zu,getLabelProps:Hn,htmlProps:N}}function Pg(e){e.preventDefault(),e.stopPropagation()}var GR=["spacing","className","children","iconColor","iconSize","icon","isChecked","isDisabled","onChange","inputProps"],qR=G("span",{baseStyle:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0}}),YR=G("label",{baseStyle:{cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative",_disabled:{cursor:"not-allowed"}}}),Ag=Y(function(e,t){var r=FR(),n=nt({},r,e),i=Ui("Checkbox",n),o=st(e),a=o.spacing,s=a===void 0?"0.5rem":a,l=o.className,u=o.children,c=o.iconColor,p=o.iconSize,f=o.icon,h=f===void 0?d.exports.createElement(HR,null):f,g=o.isChecked,b=o.isDisabled,m=b===void 0?r==null?void 0:r.isDisabled:b,v=o.onChange,y=o.inputProps,x=Nh(o,GR),w=g;r!=null&&r.value&&o.value&&(w=r.value.includes(o.value));var k=v;r!=null&&r.onChange&&o.value&&(k=L4(r.onChange,v));var T=KR(nt({},x,{isDisabled:m,isChecked:w,onChange:k})),_=T.state,A=T.getInputProps,I=T.getCheckboxProps,N=T.getLabelProps,U=T.getRootProps,K=d.exports.useMemo(function(){return nt({opacity:_.isChecked||_.isIndeterminate?1:0,transform:_.isChecked||_.isIndeterminate?"scale(1)":"scale(0.95)",fontSize:p,color:c},i.icon)},[c,p,_.isChecked,_.isIndeterminate,i.icon]),H=d.exports.cloneElement(h,{__css:K,isIndeterminate:_.isIndeterminate,isChecked:_.isChecked});return d.exports.createElement(YR,nt({__css:i.container,className:ee("chakra-checkbox",l)},U()),d.exports.createElement("input",nt({className:"chakra-checkbox__input"},A(y,t))),d.exports.createElement(qR,nt({__css:i.control,className:"chakra-checkbox__control"},I()),H),u&&d.exports.createElement(G.span,nt({className:"chakra-checkbox__label"},N(),{__css:nt({marginStart:s},i.label)}),u))});function ZR(e){return d.exports.Children.toArray(e).filter(function(t){return d.exports.isValidElement(t)})}function $t(){return $t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$t.apply(this,arguments)}function Ki(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var XR=["htmlSize"],Dh=Y(function(e,t){var r=e.htmlSize,n=Ki(e,XR),i=Ui("Input",n),o=st(n),a=$R(o),s=ee("chakra-input",e.className);return d.exports.createElement(G.input,$t({size:r},a,{__css:i.field,ref:t,className:s}))});Dh.id="Input";var QR=["placement"],JR={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},eL=G("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),M2=Y(function(e,t){var r,n=e.placement,i=n===void 0?"left":n,o=Ki(e,QR),a=(r=JR[i])!=null?r:{},s=vr();return d.exports.createElement(eL,$t({ref:t},o,{__css:$t({},s.addon,a)}))}),tL=Y(function(e,t){return d.exports.createElement(M2,$t({ref:t,placement:"left"},e,{className:ee("chakra-input__left-addon",e.className)}))});tL.id="InputLeftAddon";var rL=Y(function(e,t){return d.exports.createElement(M2,$t({ref:t,placement:"right"},e,{className:ee("chakra-input__right-addon",e.className)}))});rL.id="InputRightAddon";var nL=["children","className"],R2=Y(function(e,t){var r=Ui("Input",e),n=st(e),i=n.children,o=n.className,a=Ki(n,nL),s=ee("chakra-input__group",o),l={},u=ZR(i),c=r.field;u.forEach(function(f){if(!!r){if(c&&f.type.id==="InputLeftElement"){var h;l.paddingStart=(h=c.height)!=null?h:c.h}if(c&&f.type.id==="InputRightElement"){var g;l.paddingEnd=(g=c.height)!=null?g:c.h}f.type.id==="InputRightAddon"&&(l.borderEndRadius=0),f.type.id==="InputLeftAddon"&&(l.borderStartRadius=0)}});var p=u.map(function(f){var h,g,b=Lu({size:((h=f.props)==null?void 0:h.size)||e.size,variant:((g=f.props)==null?void 0:g.variant)||e.variant});return f.type.id!=="Input"?d.exports.cloneElement(f,b):d.exports.cloneElement(f,Object.assign(b,l,f.props))});return d.exports.createElement(G.div,$t({className:s,ref:t,__css:{width:"100%",display:"flex",position:"relative"}},a),d.exports.createElement(Qp,{value:r},p))}),iL=["placement"],oL=["className"],aL=["className"],sL=G("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),$h=Y(function(e,t){var r,n,i,o=e.placement,a=o===void 0?"left":o,s=Ki(e,iL),l=vr(),u=l.field,c=a==="left"?"insetStart":"insetEnd",p=$t((i={},i[c]="0",i.width=(r=u==null?void 0:u.height)!=null?r:u==null?void 0:u.h,i.height=(n=u==null?void 0:u.height)!=null?n:u==null?void 0:u.h,i.fontSize=u==null?void 0:u.fontSize,i),l.element);return d.exports.createElement(sL,$t({ref:t,__css:p},s))});$h.id="InputElement";var lL=Y(function(e,t){var r=e.className,n=Ki(e,oL),i=ee("chakra-input__left-element",r);return d.exports.createElement($h,$t({ref:t,placement:"left",className:i},n))});lL.id="InputLeftElement";var Bh=Y(function(e,t){var r=e.className,n=Ki(e,aL),i=ee("chakra-input__right-element",r);return d.exports.createElement($h,$t({ref:t,placement:"right",className:i},n))});Bh.id="InputRightElement";function uL(e){e===void 0&&(e={});var t=e,r=t.strict,n=r===void 0?!0:r,i=t.errorMessage,o=i===void 0?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":i,a=t.name,s=d.exports.createContext(void 0);s.displayName=a;function l(){var u=d.exports.useContext(s);if(!u&&n){var c=new Error(o);throw c.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(c,l),c}return u}return[s.Provider,l,s]}function L2(e){return d.exports.Children.toArray(e).filter(function(t){return d.exports.isValidElement(t)})}function re(){return re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},re.apply(this,arguments)}function Re(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var cL=["ratio","children","className"],dL=Y(function(e,t){var r=e.ratio,n=r===void 0?4/3:r,i=e.children,o=e.className,a=Re(e,cL),s=d.exports.Children.only(i),l=ee("chakra-aspect-ratio",o);return d.exports.createElement(G.div,re({ref:t,position:"relative",className:l,_before:{height:0,content:'""',display:"block",paddingBottom:Wi(n,function(u){return 1/u*100+"%"})},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}}},a),s)});fe&&(dL.displayName="AspectRatio");var fL=["className"],pL=Y(function(e,t){var r=Xt("Badge",e),n=st(e);n.className;var i=Re(n,fL);return d.exports.createElement(G.span,re({ref:t,className:ee("chakra-badge",e.className)},i,{__css:re({display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle"},r)}))});fe&&(pL.displayName="Badge");var hL=["size","centerContent"],vL=["size"],Zt=G("div");fe&&(Zt.displayName="Box");var O2=Y(function(e,t){var r=e.size,n=e.centerContent,i=n===void 0?!0:n,o=Re(e,hL),a=i?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return d.exports.createElement(Zt,re({ref:t,boxSize:r,__css:re({},a,{flexShrink:0,flexGrow:0})},o))});fe&&(O2.displayName="Square");var N2=Y(function(e,t){var r=e.size,n=Re(e,vL);return d.exports.createElement(O2,re({size:r,ref:t,borderRadius:"9999px"},n))});fe&&(N2.displayName="Circle");var mL=G("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});fe&&(mL.displayName="Center");var gL=["className"],yL=Y(function(e,t){var r=Xt("Code",e),n=st(e);n.className;var i=Re(n,gL);return d.exports.createElement(G.code,re({ref:t,className:ee("chakra-code",e.className)},i,{__css:re({display:"inline-block"},r)}))});fe&&(yL.displayName="Code");var bL=["className","centerContent"],xL=Y(function(e,t){var r=st(e),n=r.className,i=r.centerContent,o=Re(r,bL),a=Xt("Container",e);return d.exports.createElement(G.div,re({ref:t,className:ee("chakra-container",n)},o,{__css:re({},a,i&&{display:"flex",flexDirection:"column",alignItems:"center"})}))});fe&&(xL.displayName="Container");var SL=["borderLeftWidth","borderBottomWidth","borderTopWidth","borderRightWidth","borderWidth","borderStyle","borderColor"],wL=["className","orientation","__css"],CL=Y(function(e,t){var r=Xt("Divider",e),n=r.borderLeftWidth,i=r.borderBottomWidth,o=r.borderTopWidth,a=r.borderRightWidth,s=r.borderWidth,l=r.borderStyle,u=r.borderColor,c=Re(r,SL),p=st(e),f=p.className,h=p.orientation,g=h===void 0?"horizontal":h,b=p.__css,m=Re(p,wL),v={vertical:{borderLeftWidth:n||a||s||"1px",height:"100%"},horizontal:{borderBottomWidth:i||o||s||"1px",width:"100%"}};return d.exports.createElement(G.hr,re({ref:t,"aria-orientation":g},m,{__css:re({},c,{border:"0",borderColor:u,borderStyle:l},v[g],b),className:ee("chakra-divider",f)}))});fe&&(CL.displayName="Divider");var EL=["direction","align","justify","wrap","basis","grow","shrink"],Gi=Y(function(e,t){var r=e.direction,n=e.align,i=e.justify,o=e.wrap,a=e.basis,s=e.grow,l=e.shrink,u=Re(e,EL),c={display:"flex",flexDirection:r,alignItems:n,justifyContent:i,flexWrap:o,flexBasis:a,flexGrow:s,flexShrink:l};return d.exports.createElement(G.div,re({ref:t,__css:c},u))});fe&&(Gi.displayName="Flex");var kL=["area","templateAreas","gap","rowGap","columnGap","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns"],D2=Y(function(e,t){var r=e.area,n=e.templateAreas,i=e.gap,o=e.rowGap,a=e.columnGap,s=e.column,l=e.row,u=e.autoFlow,c=e.autoRows,p=e.templateRows,f=e.autoColumns,h=e.templateColumns,g=Re(e,kL),b={display:"grid",gridArea:r,gridTemplateAreas:n,gridGap:i,gridRowGap:o,gridColumnGap:a,gridAutoColumns:f,gridColumn:s,gridRow:l,gridAutoFlow:u,gridAutoRows:c,gridTemplateRows:p,gridTemplateColumns:h};return d.exports.createElement(G.div,re({ref:t,__css:b},g))});fe&&(D2.displayName="Grid");var _L=["className"],Wu=Y(function(e,t){var r=Xt("Heading",e),n=st(e);n.className;var i=Re(n,_L);return d.exports.createElement(G.h2,re({ref:t,className:ee("chakra-heading",e.className)},i,{__css:r}))});fe&&(Wu.displayName="Heading");var TL=["className"],PL=Y(function(e,t){var r=Xt("Kbd",e),n=st(e),i=n.className,o=Re(n,TL);return d.exports.createElement(G.kbd,re({ref:t,className:ee("chakra-kbd",i)},o,{__css:re({fontFamily:"mono"},r)}))});fe&&(PL.displayName="Kbd");var AL=["className","isExternal"],IL=Y(function(e,t){var r=Xt("Link",e),n=st(e),i=n.className,o=n.isExternal,a=Re(n,AL);return d.exports.createElement(G.a,re({target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:t,className:ee("chakra-link",i)},a,{__css:r}))});fe&&(IL.displayName="Link");var ML=["children","styleType","stylePosition","spacing"],RL=["as"],LL=["as"],$2=uL({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in a `<*List />` "}),OL=$2[0],B2=$2[1],Fh=Y(function(e,t){var r,n=Ui("List",e),i=st(e),o=i.children,a=i.styleType,s=a===void 0?"none":a,l=i.stylePosition,u=i.spacing,c=Re(i,ML),p=L2(o),f="& > *:not(style) ~ *:not(style)",h=u?(r={},r[f]={mt:u},r):{};return d.exports.createElement(OL,{value:n},d.exports.createElement(G.ul,re({ref:t,listStyleType:s,listStylePosition:l,role:"list",__css:re({},n.container,h)},c),p))});fe&&(Fh.displayName="List");var NL=Y(function(e,t){e.as;var r=Re(e,RL);return d.exports.createElement(Fh,re({ref:t,as:"ol",styleType:"decimal",marginStart:"1em"},r))});fe&&(NL.displayName="OrderedList");var DL=Y(function(e,t){e.as;var r=Re(e,LL);return d.exports.createElement(Fh,re({ref:t,as:"ul",styleType:"initial",marginStart:"1em"},r))});fe&&(DL.displayName="UnorderedList");var $L=Y(function(e,t){var r=B2();return d.exports.createElement(G.li,re({ref:t},e,{__css:r.item}))});fe&&($L.displayName="ListItem");var BL=Y(function(e,t){var r=B2();return d.exports.createElement(Hb,re({ref:t,role:"presentation"},e,{__css:r.icon}))});fe&&(BL.displayName="ListIcon");var FL=["columns","spacingX","spacingY","spacing","minChildWidth"],zL=Y(function(e,t){var r=e.columns,n=e.spacingX,i=e.spacingY,o=e.spacing,a=e.minChildWidth,s=Re(e,FL),l=a?jL(a):WL(r);return d.exports.createElement(D2,re({ref:t,gap:o,columnGap:n,rowGap:i,templateColumns:l},s))});fe&&(zL.displayName="SimpleGrid");function VL(e){return on(e)?e+"px":e}function jL(e){return Wi(e,function(t){return tb(t)?null:"repeat(auto-fit, minmax("+VL(t)+", 1fr))"})}function WL(e){return Wi(e,function(t){return tb(t)?null:"repeat("+t+", minmax(0, 1fr))"})}var HL=G("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});fe&&(HL.displayName="Spacer");var Of="& > *:not(style) ~ *:not(style)";function UL(e){var t,r=e.spacing,n=e.direction,i={column:{marginTop:r,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:r},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:r,marginStart:0},"row-reverse":{marginTop:0,marginEnd:r,marginBottom:0,marginStart:0}};return t={flexDirection:n},t[Of]=Wi(n,function(o){return i[o]}),t}function KL(e){var t=e.spacing,r=e.direction,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":Wi(r,function(i){return n[i]})}}var GL=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],qL=function(t){return d.exports.createElement(G.div,re({className:"chakra-stack__item"},t,{__css:re({display:"inline-block",flex:"0 0 auto",minWidth:0},t.__css)}))},Hu=Y(function(e,t){var r,n=e.isInline,i=e.direction,o=e.align,a=e.justify,s=e.spacing,l=s===void 0?"0.5rem":s,u=e.wrap,c=e.children,p=e.divider,f=e.className,h=e.shouldWrapChildren,g=Re(e,GL),b=n?"row":i!=null?i:"column",m=d.exports.useMemo(function(){return UL({direction:b,spacing:l})},[b,l]),v=d.exports.useMemo(function(){return KL({spacing:l,direction:b})},[l,b]),y=!!p,x=!h&&!y,w=L2(c),k=x?w:w.map(function(_,A){var I=typeof _.key!="undefined"?_.key:A,N=A+1===w.length,U=d.exports.createElement(qL,{key:I},_),K=h?U:_;if(!y)return K;var H=d.exports.cloneElement(p,{__css:v}),J=N?null:H;return d.exports.createElement(d.exports.Fragment,{key:I},K,J)}),T=ee("chakra-stack",f);return d.exports.createElement(G.div,re({ref:t,display:"flex",alignItems:o,justifyContent:a,flexDirection:m.flexDirection,flexWrap:u,className:T,__css:y?{}:(r={},r[Of]=m[Of],r)},g),k)});fe&&(Hu.displayName="Stack");var YL=Y(function(e,t){return d.exports.createElement(Hu,re({align:"center"},e,{direction:"row",ref:t}))});fe&&(YL.displayName="HStack");var ZL=Y(function(e,t){return d.exports.createElement(Hu,re({align:"center"},e,{direction:"column",ref:t}))});fe&&(ZL.displayName="VStack");var XL=["className","align","decoration","casing"],QL=Y(function(e,t){var r=Xt("Text",e),n=st(e);n.className,n.align,n.decoration,n.casing;var i=Re(n,XL),o=Lu({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return d.exports.createElement(G.p,re({ref:t,className:ee("chakra-text",e.className)},o,i,{__css:r}))});fe&&(QL.displayName="Text");var JL=["spacing","children","justify","direction","align","className","shouldWrapChildren"],eO=["className"],F2=Y(function(e,t){var r=e.spacing,n=r===void 0?"0.5rem":r,i=e.children,o=e.justify,a=e.direction,s=e.align,l=e.className,u=e.shouldWrapChildren,c=Re(e,JL),p=d.exports.useMemo(function(){return{"--chakra-wrap-spacing":function(g){return Wi(n,function(b){return bb("space",b)(g)})},"--wrap-spacing":"calc(var(--chakra-wrap-spacing) / 2)",display:"flex",flexWrap:"wrap",justifyContent:o,alignItems:s,flexDirection:a,listStyleType:"none",padding:"0",margin:"calc(var(--wrap-spacing) * -1)","& > *:not(style)":{margin:"var(--wrap-spacing)"}}},[n,o,s,a]),f=u?d.exports.Children.map(i,function(h,g){return d.exports.createElement(Jl,{key:g},h)}):i;return d.exports.createElement(G.div,re({ref:t,className:ee("chakra-wrap",l)},c),d.exports.createElement(G.ul,{className:"chakra-wrap__list",__css:p},f))});fe&&(F2.displayName="Wrap");var Jl=Y(function(e,t){var r=e.className,n=Re(e,eO);return d.exports.createElement(G.li,re({ref:t,__css:{display:"flex",alignItems:"flex-start"},className:ee("chakra-wrap__listitem",r)},n))});fe&&(Jl.displayName="WrapItem");function tO(e,t){if(e!=null){if(Mu(e)){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function zh(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){t.forEach(function(i){return tO(i,n)})}}function z2(e){e===void 0&&(e={});var t=e,r=t.strict,n=r===void 0?!0:r,i=t.errorMessage,o=i===void 0?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":i,a=t.name,s=d.exports.createContext(void 0);s.displayName=a;function l(){var u=d.exports.useContext(s);if(!u&&n){var c=new Error(o);throw c.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(c,l),c}return u}return[s.Provider,l,s]}function rO(e){return d.exports.Children.toArray(e).filter(function(t){return d.exports.isValidElement(t)})}function eu(){return eu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},eu.apply(this,arguments)}function nO(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function iO(){var e=d.exports.useRef(new Map),t=e.current,r=d.exports.useCallback(function(i,o,a,s){e.current.set(a,{type:o,el:i,options:s}),i.addEventListener(o,a,s)},[]),n=d.exports.useCallback(function(i,o,a,s){i.removeEventListener(o,a,s),e.current.delete(a)},[]);return d.exports.useEffect(function(){return function(){t.forEach(function(i,o){n(i.el,i.type,o,i.options)})}},[n,t]),{add:r,remove:n}}var oO=["ref","isDisabled","isFocusable","clickOnEnter","clickOnSpace","onMouseDown","onMouseUp","onClick","onKeyDown","onKeyUp","tabIndex","onMouseOver","onMouseLeave"];function ld(e){var t=e.target,r=t.tagName,n=t.isContentEditable;return r!=="INPUT"&&r!=="TEXTAREA"&&n!==!0}function aO(e){e===void 0&&(e={});var t=e,r=t.ref,n=t.isDisabled,i=t.isFocusable,o=t.clickOnEnter,a=o===void 0?!0:o,s=t.clickOnSpace,l=s===void 0?!0:s,u=t.onMouseDown,c=t.onMouseUp,p=t.onClick,f=t.onKeyDown,h=t.onKeyUp,g=t.tabIndex,b=t.onMouseOver,m=t.onMouseLeave,v=nO(t,oO),y=d.exports.useState(!0),x=y[0],w=y[1],k=d.exports.useState(!1),T=k[0],_=k[1],A=iO(),I=function(R){!R||R.tagName!=="BUTTON"&&w(!1)},N=x?g:g||0,U=n&&!i,K=d.exports.useCallback(function(M){if(n){M.stopPropagation(),M.preventDefault();return}var R=M.currentTarget;R.focus(),p==null||p(M)},[n,p]),H=d.exports.useCallback(function(M){T&&ld(M)&&(M.preventDefault(),M.stopPropagation(),_(!1),A.remove(document,"keyup",H,!1))},[T,A]),J=d.exports.useCallback(function(M){if(f==null||f(M),!(n||M.defaultPrevented||M.metaKey)&&!(!ld(M.nativeEvent)||x)){var R=a&&M.key==="Enter",O=l&&M.key===" ";if(O&&(M.preventDefault(),_(!0)),R){M.preventDefault();var F=M.currentTarget;F.click()}A.add(document,"keyup",H,!1)}},[n,x,f,a,l,A,H]),Q=d.exports.useCallback(function(M){if(h==null||h(M),!(n||M.defaultPrevented||M.metaKey)&&!(!ld(M.nativeEvent)||x)){var R=l&&M.key===" ";if(R){M.preventDefault(),_(!1);var O=M.currentTarget;O.click()}}},[l,x,n,h]),ve=d.exports.useCallback(function(M){M.button===0&&(_(!1),A.remove(document,"mouseup",ve,!1))},[A]),De=d.exports.useCallback(function(M){if(!Dv(M)){if(n){M.stopPropagation(),M.preventDefault();return}x||_(!0);var R=M.currentTarget;R.focus({preventScroll:!0}),A.add(document,"mouseup",ve,!1),u==null||u(M)}},[n,x,u,A,ve]),Ue=d.exports.useCallback(function(M){Dv(M)||(x||_(!1),c==null||c(M))},[c,x]),$e=d.exports.useCallback(function(M){if(n){M.preventDefault();return}b==null||b(M)},[n,b]),bt=d.exports.useCallback(function(M){T&&(M.preventDefault(),_(!1)),m==null||m(M)},[T,m]),$=zh(r,I);return x?eu({},v,{ref:$,type:"button","aria-disabled":U?void 0:n,disabled:U,onClick:K,onMouseDown:u,onMouseUp:c,onKeyUp:h,onKeyDown:f,onMouseOver:b,onMouseLeave:m}):eu({},v,{ref:$,role:"button","data-active":qe(T),"aria-disabled":n?"true":void 0,tabIndex:U?void 0:N,onClick:K,onMouseDown:De,onMouseUp:Ue,onKeyUp:Q,onKeyDown:J,onMouseOver:$e,onMouseLeave:bt})}function Nf(){return Nf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Nf.apply(this,arguments)}function Ig(e){return e.sort(function(t,r){var n=t.compareDocumentPosition(r);if(n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(n&Node.DOCUMENT_POSITION_DISCONNECTED||n&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}var sO=function(t){return typeof t=="object"&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE};function Mg(e,t,r){var n=e+1;return r&&n>=t&&(n=0),n}function Rg(e,t,r){var n=e-1;return r&&n<0&&(n=t),n}var Df=typeof window!="undefined"?d.exports.useLayoutEffect:d.exports.useEffect,tu=function(t){return t},lO=function(){var t=this;this.descendants=new Map,this.register=function(r){if(r!=null)return sO(r)?t.registerNode(r):function(n){t.registerNode(n,r)}},this.unregister=function(r){t.descendants.delete(r);var n=Ig(Array.from(t.descendants.keys()));t.assignIndex(n)},this.destroy=function(){t.descendants.clear()},this.assignIndex=function(r){t.descendants.forEach(function(n){var i=r.indexOf(n.node);n.index=i,n.node.dataset.index=n.index.toString()})},this.count=function(){return t.descendants.size},this.enabledCount=function(){return t.enabledValues().length},this.values=function(){var r=Array.from(t.descendants.values());return r.sort(function(n,i){return n.index-i.index})},this.enabledValues=function(){return t.values().filter(function(r){return!r.disabled})},this.item=function(r){if(t.count()!==0)return t.values()[r]},this.enabledItem=function(r){if(t.enabledCount()!==0)return t.enabledValues()[r]},this.first=function(){return t.item(0)},this.firstEnabled=function(){return t.enabledItem(0)},this.last=function(){return t.item(t.descendants.size-1)},this.lastEnabled=function(){var r=t.enabledValues().length-1;return t.enabledItem(r)},this.indexOf=function(r){var n,i;return r&&(n=(i=t.descendants.get(r))==null?void 0:i.index)!=null?n:-1},this.enabledIndexOf=function(r){return r==null?-1:t.enabledValues().findIndex(function(n){return n.node.isSameNode(r)})},this.next=function(r,n){n===void 0&&(n=!0);var i=Mg(r,t.count(),n);return t.item(i)},this.nextEnabled=function(r,n){n===void 0&&(n=!0);var i=t.item(r);if(!!i){var o=t.enabledIndexOf(i.node),a=Mg(o,t.enabledCount(),n);return t.enabledItem(a)}},this.prev=function(r,n){n===void 0&&(n=!0);var i=Rg(r,t.count()-1,n);return t.item(i)},this.prevEnabled=function(r,n){n===void 0&&(n=!0);var i=t.item(r);if(!!i){var o=t.enabledIndexOf(i.node),a=Rg(o,t.enabledCount()-1,n);return t.enabledItem(a)}},this.registerNode=function(r,n){if(!(!r||t.descendants.has(r))){var i=Array.from(t.descendants.keys()).concat(r),o=Ig(i);n!=null&&n.disabled&&(n.disabled=!!n.disabled);var a=Nf({node:r,index:-1},n);t.descendants.set(r,a),t.assignIndex(o)}}};function uO(){var e=d.exports.useRef(new lO);return Df(function(){return function(){return e.current.destroy()}}),e.current}var V2=z2({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"}),cO=V2[0],j2=V2[1];function dO(e){var t=j2(),r=d.exports.useState(-1),n=r[0],i=r[1],o=d.exports.useRef(null);Df(function(){return function(){!o.current||t.unregister(o.current)}},[]),Df(function(){if(!!o.current){var s=Number(o.current.dataset.index);n!=s&&!Number.isNaN(s)&&i(s)}});var a=tu(e?t.register(e):t.register);return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(o.current),register:zh(a,o)}}function fO(){var e=tu(cO),t=function(){return tu(j2())},r=function(o){return dO(o)},n=function(){return uO()};return[e,t,n,r]}function Qe(){return Qe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qe.apply(this,arguments)}function Pa(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var pO=["defaultIndex","onChange","index","isManual","isLazy","lazyBehavior","orientation","direction"],hO=["isDisabled","isFocusable"],vO=["isSelected","id","children"],Uu=fO(),mO=Uu[0],gO=Uu[1],yO=Uu[2],bO=Uu[3];function xO(e){var t=e.defaultIndex,r=e.onChange,n=e.index,i=e.isManual,o=e.isLazy,a=e.lazyBehavior,s=a===void 0?"unmount":a,l=e.orientation,u=l===void 0?"horizontal":l,c=e.direction,p=c===void 0?"ltr":c,f=Pa(e,pO),h=d.exports.useState(t!=null?t:0),g=h[0],b=h[1],m=cb({defaultValue:t!=null?t:0,value:n,onChange:r}),v=m[0],y=m[1];d.exports.useEffect(function(){n!=null&&b(n)},[n]);var x=yO(),w=fb(e.id,"tabs");return{id:w,selectedIndex:v,focusedIndex:g,setSelectedIndex:y,setFocusedIndex:b,isManual:i,isLazy:o,lazyBehavior:s,orientation:u,descendants:x,direction:p,htmlProps:f}}var W2=z2({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"}),SO=W2[0],Ku=W2[1];function wO(e){var t=Ku(),r=t.focusedIndex,n=t.orientation,i=t.direction,o=gO(),a=d.exports.useCallback(function(s){var l,u=function(){var k=o.nextEnabled(r);k&&_r(k.node)},c=function(){var k=o.prevEnabled(r);k&&_r(k.node)},p=function(){var k=o.firstEnabled();k&&_r(k.node)},f=function(){var k=o.lastEnabled();k&&_r(k.node)},h=n==="horizontal",g=n==="vertical",b=lb(s),m=i==="ltr"?"ArrowLeft":"ArrowRight",v=i==="ltr"?"ArrowRight":"ArrowLeft",y=(l={},l[m]=function(){return h&&c()},l[v]=function(){return h&&u()},l.ArrowDown=function(){return g&&u()},l.ArrowUp=function(){return g&&c()},l.Home=p,l.End=f,l),x=y[b];x&&(s.preventDefault(),x(s))},[o,r,n,i]);return Qe({},e,{role:"tablist","aria-orientation":n,onKeyDown:Le(e.onKeyDown,a)})}function CO(e){var t=e.isDisabled,r=e.isFocusable,n=Pa(e,hO),i=Ku(),o=i.setSelectedIndex,a=i.isManual,s=i.id,l=i.setFocusedIndex,u=i.selectedIndex,c=bO({disabled:t&&!r}),p=c.index,f=c.register,h=p===u,g=function(){o(p)},b=function(){l(p);var x=t&&r,w=!a&&!x;w&&o(p)},m=aO(Qe({},n,{ref:zh(f,e.ref),isDisabled:t,isFocusable:r,onClick:Le(e.onClick,g)})),v="button";return Qe({},m,{id:H2(s,p),role:"tab",tabIndex:h?0:-1,type:v,"aria-selected":h,"aria-controls":U2(s,p),onFocus:t?void 0:Le(e.onFocus,b)})}function EO(e){var t=Ku(),r=t.id,n=t.selectedIndex,i=rO(e.children),o=i.map(function(a,s){return d.exports.cloneElement(a,{isSelected:s===n,id:U2(r,s),"aria-labelledby":H2(r,s)})});return Qe({},e,{children:o})}function kO(e){var t=e.isSelected,r=e.id,n=e.children,i=Pa(e,vO),o=Ku(),a=o.isLazy,s=o.lazyBehavior,l=d.exports.useRef(!1);t&&(l.current=!0);var u=B4({hasBeenSelected:l.current,isSelected:t,isLazy:a,lazyBehavior:s});return Qe({tabIndex:0},i,{children:u?n:null,role:"tabpanel",hidden:!t,id:r})}function H2(e,t){return e+"--tab-"+t}function U2(e,t){return e+"--tabpanel-"+t}var _O=["children","className"],TO=["htmlProps","descendants"],PO=Y(function(e,t){var r=Ui("Tabs",e),n=st(e),i=n.children,o=n.className,a=Pa(n,_O),s=xO(a),l=s.htmlProps,u=s.descendants,c=Pa(s,TO),p=d.exports.useMemo(function(){return c},[c]),f=Da(l,["isFitted"]);return d.exports.createElement(mO,{value:u},d.exports.createElement(SO,{value:p},d.exports.createElement(Qp,{value:r},d.exports.createElement(G.div,Qe({className:ee("chakra-tabs",o),ref:t},f,{__css:r.root}),i))))}),Lg=Y(function(e,t){var r=vr(),n=CO(Qe({},e,{ref:t})),i=Qe({outline:"0",display:"flex",alignItems:"center",justifyContent:"center"},r.tab);return d.exports.createElement(G.button,Qe({},n,{className:ee("chakra-tabs__tab",e.className),__css:i}))}),AO=Y(function(e,t){var r=wO(Qe({},e,{ref:t})),n=vr(),i=Qe({display:"flex"},n.tablist);return d.exports.createElement(G.div,Qe({},r,{className:ee("chakra-tabs__tablist",e.className),__css:i}))}),Og=Y(function(e,t){var r=kO(Qe({},e,{ref:t})),n=vr();return d.exports.createElement(G.div,Qe({outline:"0"},r,{className:ee("chakra-tabs__tab-panel",e.className),__css:n.tabpanel}))}),IO=Y(function(e,t){var r=EO(e),n=vr();return d.exports.createElement(G.div,Qe({},r,{width:"100%",ref:t,className:ee("chakra-tabs__tab-panels",e.className),__css:n.tabpanels}))}),K2=Y3;K2.defaultProps={theme:HP};const MO="connect",RO="disconnect",LO="connect_error",OO="send_broadcast_to_monitor",NO="confirm_reception_to_monitor",DO="new_robot";var $O=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,BO=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],$f=function(t){var r=t,n=t.indexOf("["),i=t.indexOf("]");n!=-1&&i!=-1&&(t=t.substring(0,n)+t.substring(n,i).replace(/:/g,";")+t.substring(i,t.length));for(var o=$O.exec(t||""),a={},s=14;s--;)a[BO[s]]=o[s]||"";return n!=-1&&i!=-1&&(a.source=r,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=FO(a,a.path),a.queryKey=zO(a,a.query),a};function FO(e,t){var r=/\/{2,9}/g,n=t.replace(r,"/").split("/");return(t.substr(0,1)=="/"||t.length===0)&&n.splice(0,1),t.substr(t.length-1,1)=="/"&&n.splice(n.length-1,1),n}function zO(e,t){var r={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(n,i,o){i&&(r[i]=o)}),r}function VO(e,t="",r){let n=e;r=r||typeof location!="undefined"&&location,e==null&&(e=r.protocol+"//"+r.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=r.protocol+e:e=r.host+e),/^(https?|wss?):\/\//.test(e)||(typeof r!="undefined"?e=r.protocol+"//"+e:e="https://"+e),n=$f(e)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";const o=n.host.indexOf(":")!==-1?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+o+":"+n.port+t,n.href=n.protocol+"://"+o+(r&&r.port===n.port?"":":"+n.port),n}var Bf={exports:{}};try{Bf.exports=typeof XMLHttpRequest!="undefined"&&"withCredentials"in new XMLHttpRequest}catch{Bf.exports=!1}var jO=Bf.exports,qr=(()=>typeof self!="undefined"?self:typeof window!="undefined"?window:Function("return this")())();function G2(e){const t=e.xdomain;try{if(typeof XMLHttpRequest!="undefined"&&(!t||jO))return new XMLHttpRequest}catch{}if(!t)try{return new qr[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function q2(e,...t){return t.reduce((r,n)=>(e.hasOwnProperty(n)&&(r[n]=e[n]),r),{})}const WO=setTimeout,HO=clearTimeout;function Gu(e,t){t.useNativeTimers?(e.setTimeoutFn=WO.bind(qr),e.clearTimeoutFn=HO.bind(qr)):(e.setTimeoutFn=setTimeout.bind(qr),e.clearTimeoutFn=clearTimeout.bind(qr))}var qi=ct;function ct(e){if(e)return UO(e)}function UO(e){for(var t in ct.prototype)e[t]=ct.prototype[t];return e}ct.prototype.on=ct.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};ct.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this};ct.prototype.off=ct.prototype.removeListener=ct.prototype.removeAllListeners=ct.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var r=this._callbacks["$"+e];if(!r)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var n,i=0;i<r.length;i++)if(n=r[i],n===t||n.fn===t){r.splice(i,1);break}return r.length===0&&delete this._callbacks["$"+e],this};ct.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(r){r=r.slice(0);for(var n=0,i=r.length;n<i;++n)r[n].apply(this,t)}return this};ct.prototype.emitReserved=ct.prototype.emit;ct.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};ct.prototype.hasListeners=function(e){return!!this.listeners(e).length};const pr=Object.create(null);pr.open="0";pr.close="1";pr.ping="2";pr.pong="3";pr.message="4";pr.upgrade="5";pr.noop="6";const al=Object.create(null);Object.keys(pr).forEach(e=>{al[pr[e]]=e});const KO={type:"error",data:"parser error"},GO=typeof Blob=="function"||typeof Blob!="undefined"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",qO=typeof ArrayBuffer=="function",YO=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,Y2=({type:e,data:t},r,n)=>GO&&t instanceof Blob?r?n(t):Ng(t,n):qO&&(t instanceof ArrayBuffer||YO(t))?r?n(t):Ng(new Blob([t]),n):n(pr[e]+(t||"")),Ng=(e,t)=>{const r=new FileReader;return r.onload=function(){const n=r.result.split(",")[1];t("b"+n)},r.readAsDataURL(e)};var Dg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Eo=typeof Uint8Array=="undefined"?[]:new Uint8Array(256);for(var zs=0;zs<Dg.length;zs++)Eo[Dg.charCodeAt(zs)]=zs;var ZO=function(e){var t=e.length*.75,r=e.length,n,i=0,o,a,s,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var u=new ArrayBuffer(t),c=new Uint8Array(u);for(n=0;n<r;n+=4)o=Eo[e.charCodeAt(n)],a=Eo[e.charCodeAt(n+1)],s=Eo[e.charCodeAt(n+2)],l=Eo[e.charCodeAt(n+3)],c[i++]=o<<2|a>>4,c[i++]=(a&15)<<4|s>>2,c[i++]=(s&3)<<6|l&63;return u};const XO=typeof ArrayBuffer=="function",Z2=(e,t)=>{if(typeof e!="string")return{type:"message",data:X2(e,t)};const r=e.charAt(0);return r==="b"?{type:"message",data:QO(e.substring(1),t)}:al[r]?e.length>1?{type:al[r],data:e.substring(1)}:{type:al[r]}:KO},QO=(e,t)=>{if(XO){const r=ZO(e);return X2(r,t)}else return{base64:!0,data:e}},X2=(e,t)=>{switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}},Q2=String.fromCharCode(30),JO=(e,t)=>{const r=e.length,n=new Array(r);let i=0;e.forEach((o,a)=>{Y2(o,!1,s=>{n[a]=s,++i===r&&t(n.join(Q2))})})},eN=(e,t)=>{const r=e.split(Q2),n=[];for(let i=0;i<r.length;i++){const o=Z2(r[i],t);if(n.push(o),o.type==="error")break}return n},J2=4;class eS extends qi{constructor(t){super();this.writable=!1,Gu(this,t),this.opts=t,this.query=t.query,this.readyState="",this.socket=t.socket}onError(t,r){const n=new Error(t);return n.type="TransportError",n.description=r,super.emit("error",n),this}open(){return(this.readyState==="closed"||this.readyState==="")&&(this.readyState="opening",this.doOpen()),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emit("open")}onData(t){const r=Z2(t,this.socket.binaryType);this.onPacket(r)}onPacket(t){super.emit("packet",t)}onClose(){this.readyState="closed",super.emit("close")}}var tS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),ru=64,rS={},$g=0,Yr=0,Bg;function Ff(e){var t="";do t=tS[e%ru]+t,e=Math.floor(e/ru);while(e>0);return t}function tN(e){var t=0;for(Yr=0;Yr<e.length;Yr++)t=t*ru+rS[e.charAt(Yr)];return t}function Vh(){var e=Ff(+new Date);return e!==Bg?($g=0,Bg=e):e+"."+Ff($g++)}for(;Yr<ru;Yr++)rS[tS[Yr]]=Yr;Vh.encode=Ff;Vh.decode=tN;var nS=Vh,qa={};qa.encode=function(e){var t="";for(var r in e)e.hasOwnProperty(r)&&(t.length&&(t+="&"),t+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t};qa.decode=function(e){for(var t={},r=e.split("&"),n=0,i=r.length;n<i;n++){var o=r[n].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t};class rN extends eS{constructor(){super(...arguments);this.polling=!1}get name(){return"polling"}doOpen(){this.poll()}pause(t){this.readyState="pausing";const r=()=>{this.readyState="paused",t()};if(this.polling||!this.writable){let n=0;this.polling&&(n++,this.once("pollComplete",function(){--n||r()})),this.writable||(n++,this.once("drain",function(){--n||r()}))}else r()}poll(){this.polling=!0,this.doPoll(),this.emit("poll")}onData(t){const r=n=>{if(this.readyState==="opening"&&n.type==="open"&&this.onOpen(),n.type==="close")return this.onClose(),!1;this.onPacket(n)};eN(t,this.socket.binaryType).forEach(r),this.readyState!=="closed"&&(this.polling=!1,this.emit("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,JO(t,r=>{this.doWrite(r,()=>{this.writable=!0,this.emit("drain")})})}uri(){let t=this.query||{};const r=this.opts.secure?"https":"http";let n="";this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=nS()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.opts.port&&(r==="https"&&Number(this.opts.port)!==443||r==="http"&&Number(this.opts.port)!==80)&&(n=":"+this.opts.port);const i=qa.encode(t),o=this.opts.hostname.indexOf(":")!==-1;return r+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+n+this.opts.path+(i.length?"?"+i:"")}}function nN(){}const iN=function(){return new G2({xdomain:!1}).responseType!=null}();class oN extends rN{constructor(t){super(t);if(typeof location!="undefined"){const n=location.protocol==="https:";let i=location.port;i||(i=n?"443":"80"),this.xd=typeof location!="undefined"&&t.hostname!==location.hostname||i!==t.port,this.xs=t.secure!==n}const r=t&&t.forceBase64;this.supportsBinary=iN&&!r}request(t={}){return Object.assign(t,{xd:this.xd,xs:this.xs},this.opts),new fr(this.uri(),t)}doWrite(t,r){const n=this.request({method:"POST",data:t});n.on("success",r),n.on("error",i=>{this.onError("xhr post error",i)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",r=>{this.onError("xhr poll error",r)}),this.pollXhr=t}}class fr extends qi{constructor(t,r){super();Gu(this,r),this.opts=r,this.method=r.method||"GET",this.uri=t,this.async=r.async!==!1,this.data=r.data!==void 0?r.data:null,this.create()}create(){const t=q2(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;const r=this.xhr=new G2(t);try{r.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let n in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(n)&&r.setRequestHeader(n,this.opts.extraHeaders[n])}}catch{}if(this.method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in r&&(r.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(r.timeout=this.opts.requestTimeout),r.onreadystatechange=()=>{r.readyState===4&&(r.status===200||r.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof r.status=="number"?r.status:0)},0))},r.send(this.data)}catch(n){this.setTimeoutFn(()=>{this.onError(n)},0);return}typeof document!="undefined"&&(this.index=fr.requestsCount++,fr.requests[this.index]=this)}onSuccess(){this.emit("success"),this.cleanup()}onData(t){this.emit("data",t),this.onSuccess()}onError(t){this.emit("error",t),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr=="undefined"||this.xhr===null)){if(this.xhr.onreadystatechange=nN,t)try{this.xhr.abort()}catch{}typeof document!="undefined"&&delete fr.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&this.onData(t)}abort(){this.cleanup()}}fr.requestsCount=0;fr.requests={};if(typeof document!="undefined"){if(typeof attachEvent=="function")attachEvent("onunload",Fg);else if(typeof addEventListener=="function"){const e="onpagehide"in qr?"pagehide":"unload";addEventListener(e,Fg,!1)}}function Fg(){for(let e in fr.requests)fr.requests.hasOwnProperty(e)&&fr.requests[e].abort()}const aN=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,r)=>r(t,0))(),go=qr.WebSocket||qr.MozWebSocket,zg=!0,sN="arraybuffer",Vg=typeof navigator!="undefined"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class jh extends eS{constructor(t){super(t);this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),r=this.opts.protocols,n=Vg?{}:q2(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=zg&&!Vg?r?new go(t,r):new go(t):new go(t,r,n)}catch(i){return this.emit("error",i)}this.ws.binaryType=this.socket.binaryType||sN,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=this.onClose.bind(this),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let r=0;r<t.length;r++){const n=t[r],i=r===t.length-1;Y2(n,this.supportsBinary,o=>{const a={};try{zg&&this.ws.send(o)}catch{}i&&aN(()=>{this.writable=!0,this.emit("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws!="undefined"&&(this.ws.close(),this.ws=null)}uri(){let t=this.query||{};const r=this.opts.secure?"wss":"ws";let n="";this.opts.port&&(r==="wss"&&Number(this.opts.port)!==443||r==="ws"&&Number(this.opts.port)!==80)&&(n=":"+this.opts.port),this.opts.timestampRequests&&(t[this.opts.timestampParam]=nS()),this.supportsBinary||(t.b64=1);const i=qa.encode(t),o=this.opts.hostname.indexOf(":")!==-1;return r+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+n+this.opts.path+(i.length?"?"+i:"")}check(){return!!go&&!("__initialize"in go&&this.name===jh.prototype.name)}}const lN={websocket:jh,polling:oN};class Cr extends qi{constructor(t,r={}){super();t&&typeof t=="object"&&(r=t,t=null),t?(t=$f(t),r.hostname=t.host,r.secure=t.protocol==="https"||t.protocol==="wss",r.port=t.port,t.query&&(r.query=t.query)):r.host&&(r.hostname=$f(r.host).host),Gu(this,r),this.secure=r.secure!=null?r.secure:typeof location!="undefined"&&location.protocol==="https:",r.hostname&&!r.port&&(r.port=this.secure?"443":"80"),this.hostname=r.hostname||(typeof location!="undefined"?location.hostname:"localhost"),this.port=r.port||(typeof location!="undefined"&&location.port?location.port:this.secure?"443":"80"),this.transports=r.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},r),this.opts.path=this.opts.path.replace(/\/$/,"")+"/",typeof this.opts.query=="string"&&(this.opts.query=qa.decode(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&addEventListener("beforeunload",()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},!1),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close")},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const r=uN(this.opts.query);r.EIO=J2,r.transport=t,this.id&&(r.sid=this.id);const n=Object.assign({},this.opts.transportOptions[t],this.opts,{query:r,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new lN[t](n)}open(){let t;if(this.opts.rememberUpgrade&&Cr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",()=>{this.onClose("transport close")})}probe(t){let r=this.createTransport(t),n=!1;Cr.priorWebsocketSuccess=!1;const i=()=>{n||(r.send([{type:"ping",data:"probe"}]),r.once("packet",p=>{if(!n)if(p.type==="pong"&&p.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",r),!r)return;Cr.priorWebsocketSuccess=r.name==="websocket",this.transport.pause(()=>{n||this.readyState!=="closed"&&(c(),this.setTransport(r),r.send([{type:"upgrade"}]),this.emitReserved("upgrade",r),r=null,this.upgrading=!1,this.flush())})}else{const f=new Error("probe error");f.transport=r.name,this.emitReserved("upgradeError",f)}}))};function o(){n||(n=!0,c(),r.close(),r=null)}const a=p=>{const f=new Error("probe error: "+p);f.transport=r.name,o(),this.emitReserved("upgradeError",f)};function s(){a("transport closed")}function l(){a("socket closed")}function u(p){r&&p.name!==r.name&&o()}const c=()=>{r.removeListener("open",i),r.removeListener("error",a),r.removeListener("close",s),this.off("close",l),this.off("upgrading",u)};r.once("open",i),r.once("error",a),r.once("close",s),this.once("close",l),this.once("upgrading",u),r.open()}onOpen(){if(this.readyState="open",Cr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade&&this.transport.pause){let t=0;const r=this.upgrades.length;for(;t<r;t++)this.probe(this.upgrades[t])}}onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const r=new Error("server error");r.code=t.data,this.onError(r);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emitReserved("flush"))}write(t,r,n){return this.sendPacket("message",t,r,n),this}send(t,r,n){return this.sendPacket("message",t,r,n),this}sendPacket(t,r,n,i){if(typeof r=="function"&&(i=r,r=void 0),typeof n=="function"&&(i=n,n=null),this.readyState==="closing"||this.readyState==="closed")return;n=n||{},n.compress=n.compress!==!1;const o={type:t,data:r,options:n};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},r=()=>{this.off("upgrade",r),this.off("upgradeError",r),t()},n=()=>{this.once("upgrade",r),this.once("upgradeError",r)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():t()}):this.upgrading?n():t()),this}onError(t){Cr.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,r){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&removeEventListener("offline",this.offlineEventListener,!1),this.readyState="closed",this.id=null,this.emitReserved("close",t,r),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const r=[];let n=0;const i=t.length;for(;n<i;n++)~this.transports.indexOf(t[n])&&r.push(t[n]);return r}}Cr.protocol=J2;function uN(e){const t={};for(let r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}Cr.protocol;const cN=typeof ArrayBuffer=="function",dN=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,iS=Object.prototype.toString,fN=typeof Blob=="function"||typeof Blob!="undefined"&&iS.call(Blob)==="[object BlobConstructor]",pN=typeof File=="function"||typeof File!="undefined"&&iS.call(File)==="[object FileConstructor]";function Wh(e){return cN&&(e instanceof ArrayBuffer||dN(e))||fN&&e instanceof Blob||pN&&e instanceof File}function sl(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let r=0,n=e.length;r<n;r++)if(sl(e[r]))return!0;return!1}if(Wh(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return sl(e.toJSON(),!0);for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&sl(e[r]))return!0;return!1}function hN(e){const t=[],r=e.data,n=e;return n.data=zf(r,t),n.attachments=t.length,{packet:n,buffers:t}}function zf(e,t){if(!e)return e;if(Wh(e)){const r={_placeholder:!0,num:t.length};return t.push(e),r}else if(Array.isArray(e)){const r=new Array(e.length);for(let n=0;n<e.length;n++)r[n]=zf(e[n],t);return r}else if(typeof e=="object"&&!(e instanceof Date)){const r={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=zf(e[n],t));return r}return e}function vN(e,t){return e.data=Vf(e.data,t),e.attachments=void 0,e}function Vf(e,t){if(!e)return e;if(e&&e._placeholder)return t[e.num];if(Array.isArray(e))for(let r=0;r<e.length;r++)e[r]=Vf(e[r],t);else if(typeof e=="object")for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=Vf(e[r],t));return e}const mN=5;var ie;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(ie||(ie={}));class gN{encode(t){return(t.type===ie.EVENT||t.type===ie.ACK)&&sl(t)?(t.type=t.type===ie.EVENT?ie.BINARY_EVENT:ie.BINARY_ACK,this.encodeAsBinary(t)):[this.encodeAsString(t)]}encodeAsString(t){let r=""+t.type;return(t.type===ie.BINARY_EVENT||t.type===ie.BINARY_ACK)&&(r+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(r+=t.nsp+","),t.id!=null&&(r+=t.id),t.data!=null&&(r+=JSON.stringify(t.data)),r}encodeAsBinary(t){const r=hN(t),n=this.encodeAsString(r.packet),i=r.buffers;return i.unshift(n),i}}class Hh extends qi{constructor(){super()}add(t){let r;if(typeof t=="string")r=this.decodeString(t),r.type===ie.BINARY_EVENT||r.type===ie.BINARY_ACK?(this.reconstructor=new bN(r),r.attachments===0&&super.emitReserved("decoded",r)):super.emitReserved("decoded",r);else if(Wh(t)||t.base64)if(this.reconstructor)r=this.reconstructor.takeBinaryData(t),r&&(this.reconstructor=null,super.emitReserved("decoded",r));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let r=0;const n={type:Number(t.charAt(0))};if(ie[n.type]===void 0)throw new Error("unknown packet type "+n.type);if(n.type===ie.BINARY_EVENT||n.type===ie.BINARY_ACK){const o=r+1;for(;t.charAt(++r)!=="-"&&r!=t.length;);const a=t.substring(o,r);if(a!=Number(a)||t.charAt(r)!=="-")throw new Error("Illegal attachments");n.attachments=Number(a)}if(t.charAt(r+1)==="/"){const o=r+1;for(;++r&&!(t.charAt(r)===","||r===t.length););n.nsp=t.substring(o,r)}else n.nsp="/";const i=t.charAt(r+1);if(i!==""&&Number(i)==i){const o=r+1;for(;++r;){const a=t.charAt(r);if(a==null||Number(a)!=a){--r;break}if(r===t.length)break}n.id=Number(t.substring(o,r+1))}if(t.charAt(++r)){const o=yN(t.substr(r));if(Hh.isPayloadValid(n.type,o))n.data=o;else throw new Error("invalid payload")}return n}static isPayloadValid(t,r){switch(t){case ie.CONNECT:return typeof r=="object";case ie.DISCONNECT:return r===void 0;case ie.CONNECT_ERROR:return typeof r=="string"||typeof r=="object";case ie.EVENT:case ie.BINARY_EVENT:return Array.isArray(r)&&r.length>0;case ie.ACK:case ie.BINARY_ACK:return Array.isArray(r)}}destroy(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}function yN(e){try{return JSON.parse(e)}catch{return!1}}class bN{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const r=vN(this.reconPack,this.buffers);return this.finishedReconstruction(),r}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}var xN=Object.freeze(Object.defineProperty({__proto__:null,protocol:mN,get PacketType(){return ie},Encoder:gN,Decoder:Hh},Symbol.toStringTag,{value:"Module"}));function Kt(e,t,r){return e.on(t,r),function(){e.off(t,r)}}const SN=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class oS extends qi{constructor(t,r,n){super();this.connected=!1,this.disconnected=!0,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=r,n&&n.auth&&(this.auth=n.auth),this.io._autoConnect&&this.open()}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Kt(t,"open",this.onopen.bind(this)),Kt(t,"packet",this.onpacket.bind(this)),Kt(t,"error",this.onerror.bind(this)),Kt(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...r){if(SN.hasOwnProperty(t))throw new Error('"'+t+'" is a reserved event name');r.unshift(t);const n={type:ie.EVENT,data:r};if(n.options={},n.options.compress=this.flags.compress!==!1,typeof r[r.length-1]=="function"){const a=this.ids++,s=r.pop();this._registerAckCallback(a,s),n.id=a}const i=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!i||!this.connected)||(this.connected?this.packet(n):this.sendBuffer.push(n)),this.flags={},this}_registerAckCallback(t,r){const n=this.flags.timeout;if(n===void 0){this.acks[t]=r;return}const i=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let o=0;o<this.sendBuffer.length;o++)this.sendBuffer[o].id===t&&this.sendBuffer.splice(o,1);r.call(this,new Error("operation has timed out"))},n);this.acks[t]=(...o)=>{this.io.clearTimeoutFn(i),r.apply(this,[null,...o])}}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this.packet({type:ie.CONNECT,data:t})}):this.packet({type:ie.CONNECT,data:this.auth})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t){this.connected=!1,this.disconnected=!0,delete this.id,this.emitReserved("disconnect",t)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case ie.CONNECT:if(t.data&&t.data.sid){const i=t.data.sid;this.onconnect(i)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case ie.EVENT:this.onevent(t);break;case ie.BINARY_EVENT:this.onevent(t);break;case ie.ACK:this.onack(t);break;case ie.BINARY_ACK:this.onack(t);break;case ie.DISCONNECT:this.ondisconnect();break;case ie.CONNECT_ERROR:this.destroy();const n=new Error(t.data.message);n.data=t.data.data,this.emitReserved("connect_error",n);break}}onevent(t){const r=t.data||[];t.id!=null&&r.push(this.ack(t.id)),this.connected?this.emitEvent(r):this.receiveBuffer.push(Object.freeze(r))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const r=this._anyListeners.slice();for(const n of r)n.apply(this,t)}super.emit.apply(this,t)}ack(t){const r=this;let n=!1;return function(...i){n||(n=!0,r.packet({type:ie.ACK,id:t,data:i}))}}onack(t){const r=this.acks[t.id];typeof r=="function"&&(r.apply(this,t.data),delete this.acks[t.id])}onconnect(t){this.id=t,this.connected=!0,this.disconnected=!1,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>this.packet(t)),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:ie.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const r=this._anyListeners;for(let n=0;n<r.length;n++)if(t===r[n])return r.splice(n,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}}var wN=Yi;function Yi(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Yi.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=(Math.floor(t*10)&1)==0?e-r:e+r}return Math.min(e,this.max)|0};Yi.prototype.reset=function(){this.attempts=0};Yi.prototype.setMin=function(e){this.ms=e};Yi.prototype.setMax=function(e){this.max=e};Yi.prototype.setJitter=function(e){this.jitter=e};class jf extends qi{constructor(t,r){var n;super();this.nsps={},this.subs=[],t&&typeof t=="object"&&(r=t,t=void 0),r=r||{},r.path=r.path||"/socket.io",this.opts=r,Gu(this,r),this.reconnection(r.reconnection!==!1),this.reconnectionAttempts(r.reconnectionAttempts||1/0),this.reconnectionDelay(r.reconnectionDelay||1e3),this.reconnectionDelayMax(r.reconnectionDelayMax||5e3),this.randomizationFactor((n=r.randomizationFactor)!==null&&n!==void 0?n:.5),this.backoff=new wN({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(r.timeout==null?2e4:r.timeout),this._readyState="closed",this.uri=t;const i=r.parser||xN;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=r.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var r;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(r=this.backoff)===null||r===void 0||r.setMin(t),this)}randomizationFactor(t){var r;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(r=this.backoff)===null||r===void 0||r.setJitter(t),this)}reconnectionDelayMax(t){var r;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(r=this.backoff)===null||r===void 0||r.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new Cr(this.uri,this.opts);const r=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const i=Kt(r,"open",function(){n.onopen(),t&&t()}),o=Kt(r,"error",a=>{n.cleanup(),n._readyState="closed",this.emitReserved("error",a),t?t(a):n.maybeReconnectOnOpen()});if(this._timeout!==!1){const a=this._timeout;a===0&&i();const s=this.setTimeoutFn(()=>{i(),r.close(),r.emit("error",new Error("timeout"))},a);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}return this.subs.push(i),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Kt(t,"ping",this.onping.bind(this)),Kt(t,"data",this.ondata.bind(this)),Kt(t,"error",this.onerror.bind(this)),Kt(t,"close",this.onclose.bind(this)),Kt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){this.decoder.add(t)}ondecoded(t){this.emitReserved("packet",t)}onerror(t){this.emitReserved("error",t)}socket(t,r){let n=this.nsps[t];return n||(n=new oS(this,t,r),this.nsps[t]=n),n}_destroy(t){const r=Object.keys(this.nsps);for(const n of r)if(this.nsps[n].active)return;this._close()}_packet(t){const r=this.encoder.encode(t);for(let n=0;n<r.length;n++)this.engine.write(r[n],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const r=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},r);this.opts.autoUnref&&n.unref(),this.subs.push(function(){clearTimeout(n)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const yo={};function ll(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const r=VO(e,t.path||"/socket.io"),n=r.source,i=r.id,o=r.path,a=yo[i]&&o in yo[i].nsps,s=t.forceNew||t["force new connection"]||t.multiplex===!1||a;let l;return s?l=new jf(n,t):(yo[i]||(yo[i]=new jf(n,t)),l=yo[i]),r.query&&!t.query&&(t.query=r.queryKey),l.socket(r.path,t)}Object.assign(ll,{Manager:jf,Socket:oS,io:ll,connect:ll});const jg="http://127.0.0.1:8000",Lr=d.exports.createContext(null);var CN=({children:e})=>{const[t,r]=d.exports.useState(null),[n,i]=d.exports.useState(!1),[o,a]=d.exports.useState({}),[s,l]=d.exports.useState([]),[u,c]=d.exports.useState({socket:null,connect:null,disconnect:null,reconnect:null}),p=()=>{r(ll(jg,{reconnectionAttempts:1}))},f=()=>{t.connect()},h=()=>{t.disconnect()};return d.exports.useEffect(()=>(t?(t.removeAllListeners(),t.on(MO,()=>{console.log("CONNECTED !"),i(!0),t.emit("monitor_online",t.id)}),t.on(LO,g=>{console.error("Error Logging"),i(!1)}),t.on(RO,()=>{console.log("DISCONNECTED !"),r(null),i(!1)}),t.on(DO,g=>{const{new_robot:b,msg:m}=g;a(v=>bn(Or({},v),{[b]:[]})),l(v=>v.includes(b)?v:[...v,b])}),t.on("is_alive",g=>{const{id:b}=g;a(m=>Object.keys(m).includes(b)?m:bn(Or({},m),{[b]:[]})),l(m=>m.includes(b)?m:[...m,b])}),t.on(OO,g=>{const{from:b,msg:m,is_receiver:v}=g,y=new Date().getTime();a(x=>x[b]===void 0?bn(Or({},x),{[b]:[{clientName:b,timestamp:y,msg:m,isReceiver:v}]}):bn(Or({},x),{[b]:[...x[b],{clientName:b,timestamp:y,msg:m,isReceiver:v}]}))}),t.on(NO,g=>{const{id:b,msg:m,is_receiver:v,timestamp:y}=g;a(x=>x[b]===void 0?bn(Or({},x),{[b]:[{clientName:b,timestamp:y,msg:m,isReceiver:v}]}):bn(Or({},x),{[b]:[...x[b],{clientName:b,timestamp:y,msg:m,isReceiver:v}]}))})):p(),()=>{t&&t.disconnect()}),[t]),d.exports.useEffect(()=>{c({socket:t,connect:p,disconnect:h,reconnect:f,isOnline:n})},[jg,t,n]),j(Lr.Provider,{value:{socketContext:u,logs:o,connectedListState:[s,l]},children:e})};const EN=()=>{const e=d.exports.useContext(Lr),{connectedListState:t}=e,{socket:r}=e.socketContext,[n,i]=t;return j(Zt,{children:j(Ta,{onClick:()=>{i([]),r.emit("ask_who_is_alive")},children:"Who is alive ? "})})};function Ei(){return Ei=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ei.apply(this,arguments)}function kN(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var _N=["as","viewBox","color","focusable","children","className","__css"],Wg={path:d.exports.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},d.exports.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),d.exports.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),d.exports.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},TN=Y(function(e,t){var r=e.as,n=e.viewBox,i=e.color,o=i===void 0?"currentColor":i,a=e.focusable,s=a===void 0?!1:a,l=e.children,u=e.className,c=e.__css,p=kN(e,_N),f=ee("chakra-icon",u),h=Ei({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o},c),g={ref:t,focusable:s,className:f,__css:h},b=n!=null?n:Wg.viewBox;if(r&&typeof r!="string")return d.exports.createElement(G.svg,Ei({as:r},g,p));var m=l!=null?l:Wg.path;return d.exports.createElement(G.svg,Ei({verticalAlign:"middle",viewBox:b},g,p),m)});function W(e){var t=e.viewBox,r=t===void 0?"0 0 24 24":t,n=e.d;e.displayName;var i=e.defaultProps,o=i===void 0?{}:i,a=d.exports.Children.toArray(e.path),s=Y(function(l,u){return d.exports.createElement(TN,Ei({ref:u,viewBox:r},o,l),a.length?a:d.exports.createElement("path",{fill:"currentColor",d:n}))});return s}W({d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",displayName:"CopyIcon"});W({d:"M23.384,21.619,16.855,15.09a9.284,9.284,0,1,0-1.768,1.768l6.529,6.529a1.266,1.266,0,0,0,1.768,0A1.251,1.251,0,0,0,23.384,21.619ZM2.75,9.5a6.75,6.75,0,1,1,6.75,6.75A6.758,6.758,0,0,1,2.75,9.5Z",displayName:"SearchIcon"});W({d:"M23.414,20.591l-4.645-4.645a10.256,10.256,0,1,0-2.828,2.829l4.645,4.644a2.025,2.025,0,0,0,2.828,0A2,2,0,0,0,23.414,20.591ZM10.25,3.005A7.25,7.25,0,1,1,3,10.255,7.258,7.258,0,0,1,10.25,3.005Z",displayName:"Search2Icon"});W({d:"M21.4,13.7C20.6,13.9,19.8,14,19,14c-5,0-9-4-9-9c0-0.8,0.1-1.6,0.3-2.4c0.1-0.3,0-0.7-0.3-1 c-0.3-0.3-0.6-0.4-1-0.3C4.3,2.7,1,7.1,1,12c0,6.1,4.9,11,11,11c4.9,0,9.3-3.3,10.6-8.1c0.1-0.3,0-0.7-0.3-1 C22.1,13.7,21.7,13.6,21.4,13.7z",displayName:"MoonIcon"});W({displayName:"SunIcon",path:d.exports.createElement("g",{strokeLinejoin:"round",strokeLinecap:"round",strokeWidth:"2",fill:"none",stroke:"currentColor"},d.exports.createElement("circle",{cx:"12",cy:"12",r:"5"}),d.exports.createElement("path",{d:"M12 1v2"}),d.exports.createElement("path",{d:"M12 21v2"}),d.exports.createElement("path",{d:"M4.22 4.22l1.42 1.42"}),d.exports.createElement("path",{d:"M18.36 18.36l1.42 1.42"}),d.exports.createElement("path",{d:"M1 12h2"}),d.exports.createElement("path",{d:"M21 12h2"}),d.exports.createElement("path",{d:"M4.22 19.78l1.42-1.42"}),d.exports.createElement("path",{d:"M18.36 5.64l1.42-1.42"}))});W({d:"M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z",displayName:"AddIcon"});W({displayName:"SmallAddIcon",viewBox:"0 0 20 20",path:d.exports.createElement("path",{fill:"currentColor",d:"M14 9h-3V6c0-.55-.45-1-1-1s-1 .45-1 1v3H6c-.55 0-1 .45-1 1s.45 1 1 1h3v3c0 .55.45 1 1 1s1-.45 1-1v-3h3c.55 0 1-.45 1-1s-.45-1-1-1z",fillRule:"evenodd"})});W({viewBox:"0 0 14 14",d:"M14,7.77 L14,6.17 L12.06,5.53 L11.61,4.44 L12.49,2.6 L11.36,1.47 L9.55,2.38 L8.46,1.93 L7.77,0.01 L6.17,0.01 L5.54,1.95 L4.43,2.4 L2.59,1.52 L1.46,2.65 L2.37,4.46 L1.92,5.55 L0,6.23 L0,7.82 L1.94,8.46 L2.39,9.55 L1.51,11.39 L2.64,12.52 L4.45,11.61 L5.54,12.06 L6.23,13.98 L7.82,13.98 L8.45,12.04 L9.56,11.59 L11.4,12.47 L12.53,11.34 L11.61,9.53 L12.08,8.44 L14,7.75 L14,7.77 Z M7,10 C5.34,10 4,8.66 4,7 C4,5.34 5.34,4 7,4 C8.66,4 10,5.34 10,7 C10,8.66 8.66,10 7,10 Z",displayName:"SettingsIcon"});W({displayName:"CheckCircleIcon",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"});W({d:"M19.5,9.5h-.75V6.75a6.75,6.75,0,0,0-13.5,0V9.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5ZM7.75,6.75a4.25,4.25,0,0,1,8.5,0V9a.5.5,0,0,1-.5.5H8.25a.5.5,0,0,1-.5-.5Z",displayName:"LockIcon"});W({d:"M19.5,9.5h-.75V6.75A6.751,6.751,0,0,0,5.533,4.811a1.25,1.25,0,1,0,2.395.717A4.251,4.251,0,0,1,16.25,6.75V9a.5.5,0,0,1-.5.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5Z",displayName:"UnlockIcon"});W({displayName:"ViewIcon",path:d.exports.createElement("g",{fill:"currentColor"},d.exports.createElement("path",{d:"M23.432,10.524C20.787,7.614,16.4,4.538,12,4.6,7.6,4.537,3.213,7.615.568,10.524a2.211,2.211,0,0,0,0,2.948C3.182,16.351,7.507,19.4,11.839,19.4h.308c4.347,0,8.671-3.049,11.288-5.929A2.21,2.21,0,0,0,23.432,10.524ZM7.4,12A4.6,4.6,0,1,1,12,16.6,4.6,4.6,0,0,1,7.4,12Z"}),d.exports.createElement("circle",{cx:"12",cy:"12",r:"2"}))});var PN=W({displayName:"ViewOffIcon",path:d.exports.createElement("g",{fill:"currentColor"},d.exports.createElement("path",{d:"M23.2,10.549a20.954,20.954,0,0,0-4.3-3.6l4-3.995a1,1,0,1,0-1.414-1.414l-.018.018a.737.737,0,0,1-.173.291l-19.5,19.5c-.008.007-.018.009-.026.017a1,1,0,0,0,1.631,1.088l4.146-4.146a11.26,11.26,0,0,0,4.31.939h.3c4.256,0,8.489-2.984,11.051-5.8A2.171,2.171,0,0,0,23.2,10.549ZM16.313,13.27a4.581,4.581,0,0,1-3,3.028,4.3,4.3,0,0,1-3.1-.19.253.253,0,0,1-.068-.407l5.56-5.559a.252.252,0,0,1,.407.067A4.3,4.3,0,0,1,16.313,13.27Z"}),d.exports.createElement("path",{d:"M7.615,13.4a.244.244,0,0,0,.061-.24A4.315,4.315,0,0,1,7.5,12,4.5,4.5,0,0,1,12,7.5a4.276,4.276,0,0,1,1.16.173.244.244,0,0,0,.24-.062l1.941-1.942a.254.254,0,0,0-.1-.421A10.413,10.413,0,0,0,12,4.75C7.7,4.692,3.4,7.7.813,10.549a2.15,2.15,0,0,0-.007,2.9,21.209,21.209,0,0,0,3.438,3.03.256.256,0,0,0,.326-.029Z"}))});W({d:"M11.2857,6.05714 L10.08571,4.85714 L7.85714,7.14786 L7.85714,1 L6.14286,1 L6.14286,7.14786 L3.91429,4.85714 L2.71429,6.05714 L7,10.42857 L11.2857,6.05714 Z M1,11.2857 L1,13 L13,13 L13,11.2857 L1,11.2857 Z",displayName:"DownloadIcon",viewBox:"0 0 14 14"});W({displayName:"DeleteIcon",path:d.exports.createElement("g",{fill:"currentColor"},d.exports.createElement("path",{d:"M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"}))});var AN=W({displayName:"RepeatIcon",path:d.exports.createElement("g",{fill:"currentColor"},d.exports.createElement("path",{d:"M10.319,4.936a7.239,7.239,0,0,1,7.1,2.252,1.25,1.25,0,1,0,1.872-1.657A9.737,9.737,0,0,0,9.743,2.5,10.269,10.269,0,0,0,2.378,9.61a.249.249,0,0,1-.271.178l-1.033-.13A.491.491,0,0,0,.6,9.877a.5.5,0,0,0-.019.526l2.476,4.342a.5.5,0,0,0,.373.248.43.43,0,0,0,.062,0,.5.5,0,0,0,.359-.152l3.477-3.593a.5.5,0,0,0-.3-.844L5.15,10.172a.25.25,0,0,1-.2-.333A7.7,7.7,0,0,1,10.319,4.936Z"}),d.exports.createElement("path",{d:"M23.406,14.1a.5.5,0,0,0,.015-.526l-2.5-4.329A.5.5,0,0,0,20.546,9a.489.489,0,0,0-.421.151l-3.456,3.614a.5.5,0,0,0,.3.842l1.848.221a.249.249,0,0,1,.183.117.253.253,0,0,1,.023.216,7.688,7.688,0,0,1-5.369,4.9,7.243,7.243,0,0,1-7.1-2.253,1.25,1.25,0,1,0-1.872,1.656,9.74,9.74,0,0,0,9.549,3.03,10.261,10.261,0,0,0,7.369-7.12.251.251,0,0,1,.27-.179l1.058.127a.422.422,0,0,0,.06,0A.5.5,0,0,0,23.406,14.1Z"}))});W({displayName:"RepeatClockIcon",path:d.exports.createElement("g",{fill:"currentColor"},d.exports.createElement("path",{d:"M12.965,6a1,1,0,0,0-1,1v5.5a1,1,0,0,0,1,1h5a1,1,0,0,0,0-2h-3.75a.25.25,0,0,1-.25-.25V7A1,1,0,0,0,12.965,6Z"}),d.exports.createElement("path",{d:"M12.567,1.258A10.822,10.822,0,0,0,2.818,8.4a.25.25,0,0,1-.271.163L.858,8.309a.514.514,0,0,0-.485.213.5.5,0,0,0-.021.53l2.679,4.7a.5.5,0,0,0,.786.107l3.77-3.746a.5.5,0,0,0-.279-.85L5.593,9.007a.25.25,0,0,1-.192-.35,8.259,8.259,0,1,1,7.866,11.59,1.25,1.25,0,0,0,.045,2.5h.047a10.751,10.751,0,1,0-.792-21.487Z"}))});W({displayName:"EditIcon",path:d.exports.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},d.exports.createElement("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),d.exports.createElement("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"}))});W({d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",displayName:"ChevronLeftIcon"});W({d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",displayName:"ChevronRightIcon"});W({displayName:"ChevronDownIcon",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"});W({d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",displayName:"ChevronUpIcon"});W({d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",displayName:"ArrowBackIcon"});W({d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",displayName:"ArrowForwardIcon"});W({d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z",displayName:"ArrowUpIcon"});W({viewBox:"0 0 16 16",d:"M11.891 9.992a1 1 0 1 1 1.416 1.415l-4.3 4.3a1 1 0 0 1-1.414 0l-4.3-4.3A1 1 0 0 1 4.71 9.992l3.59 3.591 3.591-3.591zm0-3.984L8.3 2.417 4.709 6.008a1 1 0 0 1-1.416-1.415l4.3-4.3a1 1 0 0 1 1.414 0l4.3 4.3a1 1 0 1 1-1.416 1.415z",displayName:"ArrowUpDownIcon"});W({d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z",displayName:"ArrowDownIcon"});W({displayName:"ExternalLinkIcon",path:d.exports.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},d.exports.createElement("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),d.exports.createElement("path",{d:"M15 3h6v6"}),d.exports.createElement("path",{d:"M10 14L21 3"}))});W({displayName:"LinkIcon",path:d.exports.createElement("g",{fill:"currentColor"},d.exports.createElement("path",{d:"M10.458,18.374,7.721,21.11a2.853,2.853,0,0,1-3.942,0l-.892-.891a2.787,2.787,0,0,1,0-3.941l5.8-5.8a2.789,2.789,0,0,1,3.942,0l.893.892A1,1,0,0,0,14.94,9.952l-.893-.892a4.791,4.791,0,0,0-6.771,0l-5.8,5.8a4.787,4.787,0,0,0,0,6.77l.892.891a4.785,4.785,0,0,0,6.771,0l2.736-2.735a1,1,0,1,0-1.414-1.415Z"}),d.exports.createElement("path",{d:"M22.526,2.363l-.892-.892a4.8,4.8,0,0,0-6.77,0l-2.905,2.9a1,1,0,0,0,1.414,1.414l2.9-2.9a2.79,2.79,0,0,1,3.941,0l.893.893a2.786,2.786,0,0,1,0,3.942l-5.8,5.8a2.769,2.769,0,0,1-1.971.817h0a2.766,2.766,0,0,1-1.969-.816,1,1,0,1,0-1.415,1.412,4.751,4.751,0,0,0,3.384,1.4h0a4.752,4.752,0,0,0,3.385-1.4l5.8-5.8a4.786,4.786,0,0,0,0-6.771Z"}))});W({displayName:"PlusSquareIcon",path:d.exports.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},d.exports.createElement("rect",{height:"18",width:"18",rx:"2",ry:"2",x:"3",y:"3"}),d.exports.createElement("path",{d:"M12 8v8"}),d.exports.createElement("path",{d:"M8 12h8"}))});W({displayName:"CalendarIcon",viewBox:"0 0 14 14",d:"M10.8889,5.5 L3.11111,5.5 L3.11111,7.05556 L10.8889,7.05556 L10.8889,5.5 Z M12.4444,1.05556 L11.6667,1.05556 L11.6667,0 L10.1111,0 L10.1111,1.05556 L3.88889,1.05556 L3.88889,0 L2.33333,0 L2.33333,1.05556 L1.55556,1.05556 C0.692222,1.05556 0.00777777,1.75556 0.00777777,2.61111 L0,12.5 C0,13.3556 0.692222,14 1.55556,14 L12.4444,14 C13.3,14 14,13.3556 14,12.5 L14,2.61111 C14,1.75556 13.3,1.05556 12.4444,1.05556 Z M12.4444,12.5 L1.55556,12.5 L1.55556,3.94444 L12.4444,3.94444 L12.4444,12.5 Z M8.55556,8.61111 L3.11111,8.61111 L3.11111,10.1667 L8.55556,10.1667 L8.55556,8.61111 Z"});W({d:"M0.913134,0.920639 C1.49851,0.331726 2.29348,0 3.12342,0 L10.8766,0 C11.7065,0 12.5015,0.331725 13.0869,0.920639 C13.6721,1.50939 14,2.30689 14,3.13746 L14,8.12943 C13.9962,8.51443 13.9059,8.97125 13.7629,9.32852 C13.6128,9.683 13.3552,10.0709 13.0869,10.3462 C12.813,10.6163 12.4265,10.8761 12.0734,11.0274 C11.7172,11.1716 11.2607,11.263 10.8766,11.2669 L10.1234,11.2669 L10.1234,12.5676 L10.1209,12.5676 C10.1204,12.793 10.0633,13.0791 9.97807,13.262 C9.8627,13.466 9.61158,13.7198 9.40818,13.8382 L9.40824,13.8383 C9.4077,13.8386 9.40716,13.8388 9.40661,13.8391 C9.40621,13.8393 9.4058,13.8396 9.40539,13.8398 L9.40535,13.8397 C9.22958,13.9254 8.94505,13.9951 8.75059,14 L8.74789,14 C8.35724,13.9963 7.98473,13.8383 7.71035,13.5617 L5.39553,11.2669 L3.12342,11.2669 C2.29348,11.2669 1.49851,10.9352 0.913134,10.3462 C0.644826,10.0709 0.387187,9.683 0.23711,9.32852 C0.0941235,8.97125 0.00379528,8.51443 0,8.12943 L0,3.13746 C0,2.30689 0.327915,1.50939 0.913134,0.920639 Z M3.12342,1.59494 C2.71959,1.59494 2.33133,1.75628 2.04431,2.04503 C1.75713,2.33395 1.59494,2.72681 1.59494,3.13746 L1.59494,8.12943 C1.59114,8.35901 1.62114,8.51076 1.71193,8.72129 C1.79563,8.9346 1.88065,9.06264 2.04431,9.22185 C2.33133,9.5106 2.71959,9.67195 3.12342,9.67195 L5.72383,9.67195 C5.93413,9.67195 6.13592,9.75502 6.28527,9.90308 L8.52848,12.1269 L8.52848,10.4694 C8.52848,10.029 8.88552,9.67195 9.32595,9.67195 L10.8766,9.67195 C11.1034,9.67583 11.2517,9.64614 11.4599,9.55518 C11.6712,9.47132 11.7976,9.38635 11.9557,9.22185 C12.1193,9.06264 12.2044,8.9346 12.2881,8.72129 C12.3789,8.51076 12.4089,8.35901 12.4051,8.12943 L12.4051,3.13746 C12.4051,2.72681 12.2429,2.33394 11.9557,2.04503 C11.6687,1.75628 11.2804,1.59494 10.8766,1.59494 L3.12342,1.59494 Z",displayName:"ChatIcon",viewBox:"0 0 14 14"});W({displayName:"TimeIcon",path:d.exports.createElement("g",{fill:"currentColor"},d.exports.createElement("path",{d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm0,22A10,10,0,1,1,22,12,10.011,10.011,0,0,1,12,22Z"}),d.exports.createElement("path",{d:"M17.134,15.81,12.5,11.561V6.5a1,1,0,0,0-2,0V12a1,1,0,0,0,.324.738l4.959,4.545a1.01,1.01,0,0,0,1.413-.061A1,1,0,0,0,17.134,15.81Z"}))});W({displayName:"ArrowRightIcon",path:d.exports.createElement("g",{fill:"currentColor"},d.exports.createElement("path",{d:"M13.584,12a2.643,2.643,0,0,1-.775,1.875L3.268,23.416a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L.768,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,13.584,12Z"}),d.exports.createElement("path",{d:"M23.75,12a2.643,2.643,0,0,1-.775,1.875l-9.541,9.541a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L10.934,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,23.75,12Z"}))});W({displayName:"ArrowLeftIcon",path:d.exports.createElement("g",{fill:"currentColor"},d.exports.createElement("path",{d:"M10.416,12a2.643,2.643,0,0,1,.775-1.875L20.732.584a1.768,1.768,0,0,1,2.5,2.5l-8.739,8.739a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5l-9.541-9.541A2.643,2.643,0,0,1,10.416,12Z"}),d.exports.createElement("path",{d:"M.25,12a2.643,2.643,0,0,1,.775-1.875L10.566.584a1.768,1.768,0,0,1,2.5,2.5L4.327,11.823a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5L1.025,13.875A2.643,2.643,0,0,1,.25,12Z"}))});W({displayName:"AtSignIcon",d:"M12,.5A11.634,11.634,0,0,0,.262,12,11.634,11.634,0,0,0,12,23.5a11.836,11.836,0,0,0,6.624-2,1.25,1.25,0,1,0-1.393-2.076A9.34,9.34,0,0,1,12,21a9.132,9.132,0,0,1-9.238-9A9.132,9.132,0,0,1,12,3a9.132,9.132,0,0,1,9.238,9v.891a1.943,1.943,0,0,1-3.884,0V12A5.355,5.355,0,1,0,12,17.261a5.376,5.376,0,0,0,3.861-1.634,4.438,4.438,0,0,0,7.877-2.736V12A11.634,11.634,0,0,0,12,.5Zm0,14.261A2.763,2.763,0,1,1,14.854,12,2.812,2.812,0,0,1,12,14.761Z"});W({displayName:"AttachmentIcon",d:"M21.843,3.455a6.961,6.961,0,0,0-9.846,0L1.619,13.832a5.128,5.128,0,0,0,7.252,7.252L17.3,12.653A3.293,3.293,0,1,0,12.646,8L7.457,13.184A1,1,0,1,0,8.871,14.6L14.06,9.409a1.294,1.294,0,0,1,1.829,1.83L7.457,19.67a3.128,3.128,0,0,1-4.424-4.424L13.411,4.869a4.962,4.962,0,1,1,7.018,7.018L12.646,19.67a1,1,0,1,0,1.414,1.414L21.843,13.3a6.96,6.96,0,0,0,0-9.846Z"});W({displayName:"UpDownIcon",viewBox:"-1 -1 9 11",d:"M 3.5 0L 3.98809 -0.569442L 3.5 -0.987808L 3.01191 -0.569442L 3.5 0ZM 3.5 9L 3.01191 9.56944L 3.5 9.98781L 3.98809 9.56944L 3.5 9ZM 0.488094 3.56944L 3.98809 0.569442L 3.01191 -0.569442L -0.488094 2.43056L 0.488094 3.56944ZM 3.01191 0.569442L 6.51191 3.56944L 7.48809 2.43056L 3.98809 -0.569442L 3.01191 0.569442ZM -0.488094 6.56944L 3.01191 9.56944L 3.98809 8.43056L 0.488094 5.43056L -0.488094 6.56944ZM 3.98809 9.56944L 7.48809 6.56944L 6.51191 5.43056L 3.01191 8.43056L 3.98809 9.56944Z"});W({d:"M23.555,8.729a1.505,1.505,0,0,0-1.406-.98H16.062a.5.5,0,0,1-.472-.334L13.405,1.222a1.5,1.5,0,0,0-2.81,0l-.005.016L8.41,7.415a.5.5,0,0,1-.471.334H1.85A1.5,1.5,0,0,0,.887,10.4l5.184,4.3a.5.5,0,0,1,.155.543L4.048,21.774a1.5,1.5,0,0,0,2.31,1.684l5.346-3.92a.5.5,0,0,1,.591,0l5.344,3.919a1.5,1.5,0,0,0,2.312-1.683l-2.178-6.535a.5.5,0,0,1,.155-.543l5.194-4.306A1.5,1.5,0,0,0,23.555,8.729Z",displayName:"StarIcon"});W({displayName:"EmailIcon",path:d.exports.createElement("g",{fill:"currentColor"},d.exports.createElement("path",{d:"M11.114,14.556a1.252,1.252,0,0,0,1.768,0L22.568,4.87a.5.5,0,0,0-.281-.849A1.966,1.966,0,0,0,22,4H2a1.966,1.966,0,0,0-.289.021.5.5,0,0,0-.281.849Z"}),d.exports.createElement("path",{d:"M23.888,5.832a.182.182,0,0,0-.2.039l-6.2,6.2a.251.251,0,0,0,0,.354l5.043,5.043a.75.75,0,1,1-1.06,1.061l-5.043-5.043a.25.25,0,0,0-.354,0l-2.129,2.129a2.75,2.75,0,0,1-3.888,0L7.926,13.488a.251.251,0,0,0-.354,0L2.529,18.531a.75.75,0,0,1-1.06-1.061l5.043-5.043a.251.251,0,0,0,0-.354l-6.2-6.2a.18.18,0,0,0-.2-.039A.182.182,0,0,0,0,6V18a2,2,0,0,0,2,2H22a2,2,0,0,0,2-2V6A.181.181,0,0,0,23.888,5.832Z"}))});W({d:"M2.20731,0.0127209 C2.1105,-0.0066419 1.99432,-0.00664663 1.91687,0.032079 C0.871279,0.438698 0.212942,1.92964 0.0580392,2.95587 C-0.426031,6.28627 2.20731,9.17133 4.62766,11.0689 C6.77694,12.7534 10.9012,15.5223 13.3409,12.8503 C13.6507,12.5211 14.0186,12.037 13.9993,11.553 C13.9412,10.7397 13.186,10.1588 12.6051,9.71349 C12.1598,9.38432 11.2304,8.47427 10.6495,8.49363 C10.1267,8.51299 9.79754,9.05515 9.46837,9.38432 L8.88748,9.96521 C8.79067,10.062 7.55145,9.24878 7.41591,9.15197 C6.91248,8.8228 6.4284,8.45491 6.00242,8.04829 C5.57644,7.64167 5.18919,7.19632 4.86002,6.73161 C4.7632,6.59607 3.96933,5.41495 4.04678,5.31813 C4.04678,5.31813 4.72448,4.58234 4.91811,4.2919 C5.32473,3.67229 5.63453,3.18822 5.16982,2.45243 C4.99556,2.18135 4.78257,1.96836 4.55021,1.73601 C4.14359,1.34875 3.73698,0.942131 3.27227,0.612963 C3.02055,0.419335 2.59457,0.0708094 2.20731,0.0127209 Z",displayName:"PhoneIcon",viewBox:"0 0 14 14"});W({viewBox:"0 0 10 10",d:"M3,2 C2.44771525,2 2,1.55228475 2,1 C2,0.44771525 2.44771525,0 3,0 C3.55228475,0 4,0.44771525 4,1 C4,1.55228475 3.55228475,2 3,2 Z M3,6 C2.44771525,6 2,5.55228475 2,5 C2,4.44771525 2.44771525,4 3,4 C3.55228475,4 4,4.44771525 4,5 C4,5.55228475 3.55228475,6 3,6 Z M3,10 C2.44771525,10 2,9.55228475 2,9 C2,8.44771525 2.44771525,8 3,8 C3.55228475,8 4,8.44771525 4,9 C4,9.55228475 3.55228475,10 3,10 Z M7,2 C6.44771525,2 6,1.55228475 6,1 C6,0.44771525 6.44771525,0 7,0 C7.55228475,0 8,0.44771525 8,1 C8,1.55228475 7.55228475,2 7,2 Z M7,6 C6.44771525,6 6,5.55228475 6,5 C6,4.44771525 6.44771525,4 7,4 C7.55228475,4 8,4.44771525 8,5 C8,5.55228475 7.55228475,6 7,6 Z M7,10 C6.44771525,10 6,9.55228475 6,9 C6,8.44771525 6.44771525,8 7,8 C7.55228475,8 8,8.44771525 8,9 C8,9.55228475 7.55228475,10 7,10 Z",displayName:"DragHandleIcon"});W({displayName:"SpinnerIcon",path:d.exports.createElement(d.exports.Fragment,null,d.exports.createElement("defs",null,d.exports.createElement("linearGradient",{x1:"28.154%",y1:"63.74%",x2:"74.629%",y2:"17.783%",id:"a"},d.exports.createElement("stop",{stopColor:"currentColor",offset:"0%"}),d.exports.createElement("stop",{stopColor:"#fff",stopOpacity:"0",offset:"100%"}))),d.exports.createElement("g",{transform:"translate(2)",fill:"none"},d.exports.createElement("circle",{stroke:"url(#a)",strokeWidth:"4",cx:"10",cy:"12",r:"10"}),d.exports.createElement("path",{d:"M10 2C4.477 2 0 6.477 0 12",stroke:"currentColor",strokeWidth:"4"}),d.exports.createElement("rect",{fill:"currentColor",x:"8",width:"4",height:"4",rx:"8"})))});W({displayName:"CloseIcon",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"});W({displayName:"SmallCloseIcon",viewBox:"0 0 16 16",path:d.exports.createElement("path",{d:"M9.41 8l2.29-2.29c.19-.18.3-.43.3-.71a1.003 1.003 0 0 0-1.71-.71L8 6.59l-2.29-2.3a1.003 1.003 0 0 0-1.42 1.42L6.59 8 4.3 10.29c-.19.18-.3.43-.3.71a1.003 1.003 0 0 0 1.71.71L8 9.41l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 0 0 .71-1.71L9.41 8z",fillRule:"evenodd",fill:"currentColor"})});W({d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z",displayName:"NotAllowedIcon"});W({d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z",displayName:"TriangleDownIcon"});W({d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z",displayName:"TriangleUpIcon"});W({displayName:"InfoOutlineIcon",path:d.exports.createElement("g",{fill:"currentColor",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2"},d.exports.createElement("circle",{cx:"12",cy:"12",fill:"none",r:"11",stroke:"currentColor"}),d.exports.createElement("line",{fill:"none",x1:"11.959",x2:"11.959",y1:"11",y2:"17"}),d.exports.createElement("circle",{cx:"11.959",cy:"7",r:"1",stroke:"none"}))});W({displayName:"BellIcon",d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"});W({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"});W({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm0,19a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,12,19Zm1.6-6.08a1,1,0,0,0-.6.917,1,1,0,1,1-2,0,3,3,0,0,1,1.8-2.75A2,2,0,1,0,10,9.255a1,1,0,1,1-2,0,4,4,0,1,1,5.6,3.666Z",displayName:"QuestionIcon"});W({displayName:"QuestionOutlineIcon",path:d.exports.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},d.exports.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),d.exports.createElement("path",{fill:"none",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),d.exports.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"}))});W({d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z",displayName:"WarningIcon"});W({displayName:"WarningTwoIcon",d:"M23.119,20,13.772,2.15h0a2,2,0,0,0-3.543,0L.881,20a2,2,0,0,0,1.772,2.928H21.347A2,2,0,0,0,23.119,20ZM11,8.423a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Zm1.05,11.51h-.028a1.528,1.528,0,0,1-1.522-1.47,1.476,1.476,0,0,1,1.448-1.53h.028A1.527,1.527,0,0,1,13.5,18.4,1.475,1.475,0,0,1,12.05,19.933Z"});W({viewBox:"0 0 14 14",path:d.exports.createElement("g",{fill:"currentColor"},d.exports.createElement("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"}))});W({displayName:"MinusIcon",path:d.exports.createElement("g",{fill:"currentColor"},d.exports.createElement("rect",{height:"4",width:"20",x:"2",y:"10"}))});W({displayName:"HamburgerIcon",viewBox:"0 0 24 24",d:"M 3 5 A 1.0001 1.0001 0 1 0 3 7 L 21 7 A 1.0001 1.0001 0 1 0 21 5 L 3 5 z M 3 11 A 1.0001 1.0001 0 1 0 3 13 L 21 13 A 1.0001 1.0001 0 1 0 21 11 L 3 11 z M 3 17 A 1.0001 1.0001 0 1 0 3 19 L 21 19 A 1.0001 1.0001 0 1 0 21 17 L 3 17 z"});const IN=()=>{const{colorMode:e,toggleColorMode:t}=Hi(),{socketContext:r}=d.exports.useContext(Lr),{isOnline:n,reconnect:i}=r;return Ne(Gi,{justifyContent:"space-between",children:[j(Zt,{children:n?j(N2,{size:"40px",bg:"green",color:"white",children:"ON"}):j(Ta,{leftIcon:j(AN,{}),onClick:i,children:"Reconnect"})}),j(Wu,{children:"Monitor Communcation"}),Ne(Ta,{onClick:t,children:["Toggle ",e==="light"?"Dark":"Light"]})]})},MN=()=>{const e=d.exports.useContext(Lr),{socket:t}=e.socketContext,[r,n]=d.exports.useState(""),i=()=>{r.trim()!==""&&(t.emit("broadcast",{from:"monitor",msg:r}),n(""))};return Ne(R2,{size:"md",width:"50%",margin:"0 10px",justifyContent:"center",children:[j(Dh,{pr:"4.5rem",type:"text",value:r,onChange:({target:a})=>{const{value:s}=a;n(s)},placeholder:"Broadcast",onKeyPress:a=>{a.key==="Enter"&&i()}}),j(Bh,{width:"4.5rem",children:j(Ta,{h:"1.75rem",size:"sm",onClick:i,disabled:r.trim()==="",children:"Send"})})]})},Hg=(e,t)=>e.timestamp-t.timestamp,RN=()=>{const{colorMode:e}=Hi(),t=yb("dark","white"),r=d.exports.useContext(Lr),{logs:n}=r,[i,o]=d.exports.useState(()=>Object.values(n).flat().sort(Hg));return d.exports.useEffect(()=>{o(()=>Object.values(n).flat().sort(Hg))},[n]),j(Zt,{height:"80vh",overflowY:"scroll",children:i.map(({clientName:a,isReceiver:s,msg:l,timestamp:u},c)=>j("div",{children:Ne(Gi,{width:"50%",padding:"0 12px",justify:"space-between",color:s?e==="light"?"#0000ff":"#82AAFF":t,children:[Ne("div",{children:[" @",new Date(u).toLocaleTimeString()," - ",a," ",s?"received":"sent",":"]}),j("div",{children:l})]})},c))})},LN=({dest:e})=>{const{socketContext:t}=d.exports.useContext(Lr),{socket:r}=t,[n,i]=d.exports.useState(""),o=({target:s})=>{const{value:l}=s;i(l)},a=()=>{n.trim()!==""&&(r.emit("send_msg_to",{dest:e,msg:n}),i(""))};return Ne(R2,{size:"md",marginBottom:3,children:[j(Dh,{pr:"4.5rem",type:"text",value:n,onChange:o,onKeyPress:s=>{s.key==="Enter"&&a()}}),j(Bh,{width:"4.5rem",children:j(Ta,{h:"1.75rem",size:"sm",onClick:a,disabled:n.trim()==="",children:"Send"})})]})},ON=({color:e,msg:t,timestamp:r})=>Ne(Gi,{justifyContent:"space-between",color:e,children:[j("div",{children:new Date(r).toLocaleTimeString()}),j("div",{children:t})]});var Ug=d.exports.memo(ON);const NN=({showSendedMessage:e,showReceivedMessage:t,logs:r})=>{const{colorMode:n}=Hi(),i=yb("dark","white");return j(Zt,{height:"200px",overflowY:"scroll",padding:"0 12px",children:r.length>0&&r.map(({timestamp:o,msg:a,isReceiver:s},l)=>s&&t?j(Ug,{timestamp:o,msg:a,color:s?n==="light"?"#0000ff":"#82AAFF":i},l):!s&&e?j(Ug,{timestamp:o,msg:a,color:s?"#0000ff":i},l):null)})};var DN="/assets/noCamera.ebb966a5.jpg";const $N=({img:e})=>j(Zt,{children:j(gR,{height:"120px",width:"160px",src:e||DN})}),BN=({id:e})=>{const t=d.exports.useContext(Lr),{socket:r}=t.socketContext,[n,i]=d.exports.useState(null),[o,a]=d.exports.useState(!1),s=d.exports.useRef(!1);return d.exports.useEffect(()=>{s.current=o},[o]),d.exports.useEffect(()=>{r&&(r.on(`${e}_init_camera`,l=>{console.log(e+"start camera"),a(!0)}),r.on(`${e}_stream_img_monitor`,l=>{if(s.current){const u=l,c=new Uint8Array(u),p=new Blob([c],{type:"image/jpeg"}),f=URL.createObjectURL(p);i(f)}}),r.on(`${e}_disable_camera`,l=>{i(null),a(!1)}))},[r]),j(lR,{allowMultiple:!0,children:Ne(cR,{children:[j("h2",{children:Ne(dR,{children:[Ne(Zt,{flex:"1",textAlign:"left",children:[o&&n?"Online":j(PN,{})," Live Camera"]}),j(pR,{})]})}),j(fR,{pb:4,justifyContent:"center",children:j(Gi,{justifyContent:"center",children:j($N,{img:n})})})]})})},FN=({id:e,logs:t})=>{const[r,n]=d.exports.useState(!0),[i,o]=d.exports.useState(!1),a=s=>{const{target:l}=s;l.name==="received"?n(l.checked):l.name==="sended"&&o(l.checked)};return Ne(Zt,{margin:8,padding:5,borderWidth:"2px",borderRadius:"lg",height:"100%",width:"400px",children:[j(Wu,{as:"h3",size:"lg",marginBottom:2,children:e}),j(BN,{id:e}),j(LN,{dest:e}),Ne(Hu,{margin:"0 0 20px 0",justify:"space-between",direction:"row",children:[j("div",{}),Ne("div",{children:[j(Ag,{padding:"0 5px",name:"sended",value:i,onChange:a,children:"Sent"}),j(Ag,{padding:"0 5px",defaultChecked:!0,name:"received",value:r,onChange:a,children:" Received "})]})]}),j(NN,{showSendedMessage:i,showReceivedMessage:r,logs:t})]})},zN=()=>{const e=d.exports.useContext(Lr),{logs:t,connectedListState:r}=e,[n,i]=r;return j(F2,{children:Object.entries(t).map(([o,a],s)=>n.includes(o)?j(Jl,{h:"100%",children:j(FN,{id:o,logs:a},o)},o):j(Jl,{},o))})},VN=()=>Ne(PO,{children:[Ne(AO,{children:[j(Lg,{children:"Cards"}),j(Lg,{children:"All Logs"})]}),Ne(IO,{children:[j(Og,{children:j(zN,{})}),j(Og,{children:j(RN,{})})]})]}),jN=()=>{const{socketContext:e}=d.exports.useContext(Lr),{isOnline:t}=e;return Ne(Zt,{padding:"20px 20px 0 20px",children:[j(IN,{}),t?Ne(Zt,{margin:"20px 0",children:[Ne(Gi,{alignItems:"end",justifyContent:"center",width:"100%",children:[j(EN,{}),j(MN,{})]}),j(VN,{})]}):j(Wu,{color:"red",children:"No connection to socket host"})]})};function WN(){return j("div",{className:"App",children:j(CN,{children:j(jN,{})})})}SC.render(j(nu.StrictMode,{children:j(K2,{children:j(WN,{})})}),document.getElementById("root"));
