GRAYBYTE WORDPRESS FILE MANAGER5210

Server IP : 68.65.123.43 / Your IP : 216.73.216.162
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/inteuuod/public_html/wp-content/plugins/user-registration/chunks/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/inteuuod/public_html/wp-content/plugins/user-registration/chunks//welcome.js
/*! For license information please see welcome.js.LICENSE.txt */
(()=>{var e={115:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var l,s,u,c;if(Array.isArray(e)){if((l=e.length)!=a.length)return!1;for(s=l;0!==s--;)if(!i(e[s],a[s]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!a.has(s.value[0]))return!1;for(c=e.entries();!(s=c.next()).done;)if(!i(s.value[1],a.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((l=e.length)!=a.length)return!1;for(s=l;0!==s--;)if(e[s]!==a[s])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof a.toString)return e.toString()===a.toString();if((l=(u=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(s=l;0!==s--;)if(!Object.prototype.hasOwnProperty.call(a,u[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!==s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!e.$$typeof)&&!i(e[u[s]],a[u[s]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(2551)},1020:(e,t,n)=>{"use strict";var r=n(6694),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:i,_owner:l.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},2551:(e,t,n)=>{"use strict";var r=n(6694),o=n(9982);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);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 a=new Set,l={};function s(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[: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]*$/,p={},h={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(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){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function y(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"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(g,b);v[t]=new m(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(g,b);v[t]=new m(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(g,b);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),k=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),O=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),I=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var j=Symbol.iterator;function z(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var M,F=Object.assign;function D(e){if(void 0===M)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||""}return"\n"+M+e}var N=!1;function B(e,t){if(!e||N)return"";N=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{N=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?D(e):""}function V(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return B(e.type,!1);case 11:return B(e.type.render,!1);case 1:return B(e.type,!0);default:return""}}function $(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case k:return"Portal";case E:return"Profiler";case C:return"StrictMode";case T:return"Suspense";case R:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case O:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case A:return null!==(t=e.displayName||null)?t:$(e.type)||"Memo";case I:t=e._payload,e=e._init;try{return $(e(t))}catch(e){}}return null}function W(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $(t);case 8:return t===C?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function U(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function X(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Z(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=U(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function K(e,t){Q(e,t);var n=U(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,U(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+U(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:U(n)}}function ie(e,t){var n=U(t.value),r=U(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(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 se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!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},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ge=F({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 be(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Se=null,Ce=null;function Ee(e){if(e=xo(e)){if("function"!=typeof ke)throw Error(i(280));var t=e.stateNode;t&&(t=ko(t),ke(e.stateNode,e.type,t))}}function _e(e){Se?Ce?Ce.push(e):Ce=[e]:Se=e}function Oe(){if(Se){var e=Se,t=Ce;if(Ce=Se=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Pe(e,t){return e(t)}function Te(){}var Re=!1;function Ae(e,t,n){if(Re)return e(t,n);Re=!0;try{return Pe(e,t,n)}finally{Re=!1,(null!==Se||null!==Ce)&&(Te(),Oe())}}function Ie(e,t){var n=e.stateNode;if(null===n)return null;var r=ko(n);if(null===r)return null;n=r[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":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var Le=!1;if(c)try{var je={};Object.defineProperty(je,"passive",{get:function(){Le=!0}}),window.addEventListener("test",je,je),window.removeEventListener("test",je,je)}catch(ce){Le=!1}function ze(e,t,n,r,o,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Me=!1,Fe=null,De=!1,Ne=null,Be={onError:function(e){Me=!0,Fe=e}};function Ve(e,t,n,r,o,i,a,l,s){Me=!1,Fe=null,ze.apply(Be,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function We(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Ue(e){if($e(e)!==e)throw Error(i(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Ue(o),e;if(a===r)return Ue(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,s=o.child;s;){if(s===n){l=!0,n=o,r=a;break}if(s===r){l=!0,r=o,n=a;break}s=s.sibling}if(!l){for(s=a.child;s;){if(s===n){l=!0,n=a,r=o;break}if(s===r){l=!0,r=a,n=o;break}s=s.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Ge=o.unstable_scheduleCallback,Ye=o.unstable_cancelCallback,Xe=o.unstable_shouldYield,Ze=o.unstable_requestPaint,Qe=o.unstable_now,Ke=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null,at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2,ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=dt(l):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return!(4194240&(ut<<=1))&&(ut=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var yt=0;function xt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var wt,kt,St,Ct,Et,_t=!1,Ot=[],Pt=null,Tt=null,Rt=null,At=new Map,It=new Map,Lt=[],jt="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 zt(e,t){switch(e){case"focusin":case"focusout":Pt=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":Rt=null;break;case"pointerover":case"pointerout":At.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":It.delete(t.pointerId)}}function Mt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&null!==(t=xo(t))&&kt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Ft(e){var t=yo(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=We(n)))return e.blockedOn=t,void Et(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Dt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=xo(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function Nt(e,t,n){Dt(e)&&n.delete(t)}function Bt(){_t=!1,null!==Pt&&Dt(Pt)&&(Pt=null),null!==Tt&&Dt(Tt)&&(Tt=null),null!==Rt&&Dt(Rt)&&(Rt=null),At.forEach(Nt),It.forEach(Nt)}function Vt(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bt)))}function $t(e){function t(t){return Vt(t,e)}if(0<Ot.length){Vt(Ot[0],e);for(var n=1;n<Ot.length;n++){var r=Ot[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Pt&&Vt(Pt,e),null!==Tt&&Vt(Tt,e),null!==Rt&&Vt(Rt,e),At.forEach(t),It.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)Ft(n),null===n.blockedOn&&Lt.shift()}var Wt=x.ReactCurrentBatchConfig,Ut=!0;function Ht(e,t,n,r){var o=yt,i=Wt.transition;Wt.transition=null;try{yt=1,Gt(e,t,n,r)}finally{yt=o,Wt.transition=i}}function qt(e,t,n,r){var o=yt,i=Wt.transition;Wt.transition=null;try{yt=4,Gt(e,t,n,r)}finally{yt=o,Wt.transition=i}}function Gt(e,t,n,r){if(Ut){var o=Xt(e,t,n,r);if(null===o)Ur(e,t,r,Yt,n),zt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Pt=Mt(Pt,e,t,n,r,o),!0;case"dragenter":return Tt=Mt(Tt,e,t,n,r,o),!0;case"mouseover":return Rt=Mt(Rt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return At.set(i,Mt(At.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,It.set(i,Mt(It.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(zt(e,r),4&t&&-1<jt.indexOf(e)){for(;null!==o;){var i=xo(o);if(null!==i&&wt(i),null===(i=Xt(e,t,n,r))&&Ur(e,t,r,Yt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Ur(e,t,r,null,n)}}var Yt=null;function Xt(e,t,n,r){if(Yt=null,null!==(e=yo(e=we(r))))if(null===(t=$e(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=We(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function Zt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ke()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Qt=null,Kt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Kt,r=n.length,o="value"in Qt?Qt.value:Qt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=F({},un,{view:0,detail:0}),fn=on(dn),pn=F({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=on(pn),mn=on(F({},pn,{dataTransfer:0})),vn=on(F({},dn,{relatedTarget:0})),gn=on(F({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=F({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=on(bn),xn=on(F({},un,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={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"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function En(){return Cn}var _n=F({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),On=on(_n),Pn=on(F({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=on(F({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),Rn=on(F({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),An=F({},pn,{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}),In=on(An),Ln=[9,13,27,32],jn=c&&"CompositionEvent"in window,zn=null;c&&"documentMode"in document&&(zn=document.documentMode);var Mn=c&&"TextEvent"in window&&!zn,Fn=c&&(!jn||zn&&8<zn&&11>=zn),Dn=String.fromCharCode(32),Nn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1,Wn={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 Un(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wn[e.type]:"textarea"===t}function Hn(e,t,n,r){_e(r),0<(t=qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Gn=null;function Yn(e){Dr(e,0)}function Xn(e){if(G(wo(e)))return e}function Zn(e,t){if("change"===e)return t}var Qn=!1;if(c){var Kn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Kn=Jn}else Kn=!1;Qn=Kn&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Gn=qn=null)}function nr(e){if("value"===e.propertyName&&Xn(Gn)){var t=[];Hn(t,Gn,e,we(e)),Ae(Yn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Gn)}function ir(e,t){if("click"===e)return Xn(t)}function ar(e,t){if("input"===e||"change"===e)return Xn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){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=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var a=cr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,vr=null,gr=null,br=null,yr=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==vr||vr!==Y(r)||(r="selectionStart"in(r=vr)&&pr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&sr(br,r)||(br=r,0<(r=qr(gr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Sr={},Cr={};function Er(e){if(Sr[e])return Sr[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Cr)return Sr[e]=n[t];return e}c&&(Cr=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var _r=Er("animationend"),Or=Er("animationiteration"),Pr=Er("animationstart"),Tr=Er("transitionend"),Rr=new Map,Ar="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ir(e,t){Rr.set(e,t),s(t,[e])}for(var Lr=0;Lr<Ar.length;Lr++){var jr=Ar[Lr];Ir(jr.toLowerCase(),"on"+(jr[0].toUpperCase()+jr.slice(1)))}Ir(_r,"onAnimationEnd"),Ir(Or,"onAnimationIteration"),Ir(Pr,"onAnimationStart"),Ir("dblclick","onDoubleClick"),Ir("focusin","onFocus"),Ir("focusout","onBlur"),Ir(Tr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Mr=new Set("cancel close invalid load scroll toggle".split(" ").concat(zr));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,l,s,u){if(Ve.apply(this,arguments),Me){if(!Me)throw Error(i(198));var c=Fe;Me=!1,Fe=null,De||(De=!0,Ne=c)}}(r,t,void 0,e),e.currentTarget=null}function Dr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;Fr(o,l,u),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;Fr(o,l,u),i=s}}}if(De)throw e=Ne,De=!1,Ne=null,e}function Nr(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(Wr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Wr(n,e,r,t)}var Vr="_reactListening"+Math.random().toString(36).slice(2);function $r(e){if(!e[Vr]){e[Vr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Mr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Vr]||(t[Vr]=!0,Br("selectionchange",!1,t))}}function Wr(e,t,n,r){switch(Zt(t)){case 1:var o=Ht;break;case 4:o=qt;break;default:o=Gt}n=o.bind(null,t,n,e),o=void 0,!Le||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Ur(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=yo(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}Ae((function(){var r=i,o=we(n),a=[];e:{var l=Rr.get(e);if(void 0!==l){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=On;break;case"focusin":u="focus",s=vn;break;case"focusout":u="blur",s=vn;break;case"beforeblur":case"afterblur":s=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Tn;break;case _r:case Or:case Pr:s=gn;break;case Tr:s=Rn;break;case"scroll":s=fn;break;case"wheel":s=In;break;case"copy":case"cut":case"paste":s=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Pn}var c=!!(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&null!=(m=Ie(h,f))&&c.push(Hr(h,m,p))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),a.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===xe||!(u=n.relatedTarget||n.fromElement)||!yo(u)&&!u[mo])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?yo(u):null)&&(u!==(d=$e(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Pn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:wo(s),p=null==u?l:wo(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=p,m=null,yo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=Gr(p))h++;for(p=0,m=f;m;m=Gr(m))p++;for(;0<h-p;)c=Gr(c),h--;for(;0<p-h;)f=Gr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Gr(c),f=Gr(f)}c=null}else c=null;null!==s&&Yr(a,l,s,c,!1),null!==u&&null!==d&&Yr(a,d,u,c,!0)}if("select"===(s=(l=r?wo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=Zn;else if(Un(l))if(Qn)v=ar;else{v=or;var g=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=ir);switch(v&&(v=v(e,r))?Hn(a,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&ee(l,"number",l.value)),g=r?wo(r):window,e){case"focusin":(Un(g)||"true"===g.contentEditable)&&(vr=g,gr=r,br=null);break;case"focusout":br=gr=vr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,xr(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(a,n,o)}var b;if(jn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else $n?Bn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Fn&&"ko"!==n.locale&&($n||"onCompositionStart"!==y?"onCompositionEnd"===y&&$n&&(b=en()):(Kt="value"in(Qt=o)?Qt.value:Qt.textContent,$n=!0)),0<(g=qr(r,y)).length&&(y=new xn(y,e,null,n,o),a.push({event:y,listeners:g}),(b||null!==(b=Vn(n)))&&(y.data=b))),(b=Mn?function(e,t){switch(e){case"compositionend":return Vn(t);case"keypress":return 32!==t.which?null:(Nn=!0,Dn);case"textInput":return(e=t.data)===Dn&&Nn?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!jn&&Bn(e,t)?(e=en(),Jt=Kt=Qt=null,$n=!1,e):null;switch(e){case"paste":default: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 Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=qr(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=b)}Dr(a,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ie(e,n))&&r.unshift(Hr(e,i,o)),null!=(i=Ie(e,t))&&r.push(Hr(e,i,o))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Ie(n,i))&&a.unshift(Hr(n,s,l)):o||null!=(s=Ie(n,i))&&a.push(Hr(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Xr=/\r\n?/g,Zr=/\u0000|\uFFFD/g;function Qr(e){return("string"==typeof e?e:""+e).replace(Xr,"\n").replace(Zr,"")}function Kr(e,t,n){if(t=Qr(t),Qr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(lo)}:ro;function lo(e){setTimeout((function(){throw e}))}function so(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void $t(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);$t(t)}function uo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,vo="__reactEvents$"+fo,go="__reactListeners$"+fo,bo="__reactHandles$"+fo;function yo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function xo(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function ko(e){return e[ho]||null}var So=[],Co=-1;function Eo(e){return{current:e}}function _o(e){0>Co||(e.current=So[Co],So[Co]=null,Co--)}function Oo(e,t){Co++,So[Co]=e.current,e.current=t}var Po={},To=Eo(Po),Ro=Eo(!1),Ao=Po;function Io(e,t){var n=e.type.contextTypes;if(!n)return Po;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Lo(e){return null!=e.childContextTypes}function jo(){_o(Ro),_o(To)}function zo(e,t,n){if(To.current!==Po)throw Error(i(168));Oo(To,t),Oo(Ro,n)}function Mo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,W(e)||"Unknown",o));return F({},n,r)}function Fo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Po,Ao=To.current,Oo(To,e),Oo(Ro,Ro.current),!0}function Do(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Mo(e,t,Ao),r.__reactInternalMemoizedMergedChildContext=e,_o(Ro),_o(To),Oo(To,e)):_o(Ro),Oo(Ro,n)}var No=null,Bo=!1,Vo=!1;function $o(e){null===No?No=[e]:No.push(e)}function Wo(){if(!Vo&&null!==No){Vo=!0;var e=0,t=yt;try{var n=No;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}No=null,Bo=!1}catch(t){throw null!==No&&(No=No.slice(e+1)),Ge(Je,Wo),t}finally{yt=t,Vo=!1}}return null}var Uo=[],Ho=0,qo=null,Go=0,Yo=[],Xo=0,Zo=null,Qo=1,Ko="";function Jo(e,t){Uo[Ho++]=Go,Uo[Ho++]=qo,qo=e,Go=t}function ei(e,t,n){Yo[Xo++]=Qo,Yo[Xo++]=Ko,Yo[Xo++]=Zo,Zo=e;var r=Qo;e=Ko;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Qo=1<<32-at(t)+o|n<<o|r,Ko=i+e}else Qo=1<<i|n<<o|r,Ko=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===qo;)qo=Uo[--Ho],Uo[Ho]=null,Go=Uo[--Ho],Uo[Ho]=null;for(;e===Zo;)Zo=Yo[--Xo],Yo[Xo]=null,Ko=Yo[--Xo],Yo[Xo]=null,Qo=Yo[--Xo],Yo[Xo]=null}var ri=null,oi=null,ii=!1,ai=null;function li(e,t){var n=Iu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function si(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Zo?{id:Qo,overflow:Ko}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Iu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ui(e){return!(!(1&e.mode)||128&e.flags)}function ci(e){if(ii){var t=oi;if(t){var n=t;if(!si(e,t)){if(ui(e))throw Error(i(418));t=uo(n.nextSibling);var r=ri;t&&si(e,t)?li(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ui(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ui(e))throw pi(),Error(i(418));for(;t;)li(e,t),t=uo(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=uo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?uo(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=uo(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var vi=x.ReactCurrentBatchConfig;function gi(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var bi=Eo(null),yi=null,xi=null,wi=null;function ki(){wi=xi=yi=null}function Si(e){var t=bi.current;_o(bi),e._currentValue=t}function Ci(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ei(e,t){yi=e,wi=xi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(xl=!0),e.firstContext=null)}function _i(e){var t=e._currentValue;if(wi!==e)if(e={context:e,memoizedValue:t,next:null},null===xi){if(null===yi)throw Error(i(308));xi=e,yi.dependencies={lanes:0,firstContext:e}}else xi=xi.next=e;return t}var Oi=null;function Pi(e){null===Oi?Oi=[e]:Oi.push(e)}function Ti(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Pi(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ri(e,r)}function Ri(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ai=!1;function Ii(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Li(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 ji(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function zi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Ts){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ri(e,n)}return null===(o=r.interleaved)?(t.next=t,Pi(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ri(e,n)}function Mi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function Fi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Di(e,t,n,r){var o=e.updateQueue;Ai=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==i){var d=o.baseState;for(a=0,c=u=s=null,l=i;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=F({},d,f);break e;case 2:Ai=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Fs|=a,e.lanes=a,e.memoizedState=d}}function Ni(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var Bi=(new r.Component).refs;function Vi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var $i={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),i=ji(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=zi(e,i,o))&&(ru(t,e,o,r),Mi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),i=ji(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=zi(e,i,o))&&(ru(t,e,o,r),Mi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),o=ji(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=zi(e,o,r))&&(ru(t,e,r,n),Mi(t,e,r))}};function Wi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&sr(n,r)&&sr(o,i))}function Ui(e,t,n){var r=!1,o=Po,i=t.contextType;return"object"==typeof i&&null!==i?i=_i(i):(o=Lo(t)?Ao:To.current,i=(r=null!=(r=t.contextTypes))?Io(e,o):Po),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=$i,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Hi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&$i.enqueueReplaceState(t,t.state,null)}function qi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Bi,Ii(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=_i(i):(i=Lo(t)?Ao:To.current,o.context=Io(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Vi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&$i.enqueueReplaceState(o,o.state,null),Di(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Gi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Bi&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Yi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xi(e){return(0,e._init)(e._payload)}function Zi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=ju(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Du(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===I&&Xi(i)===t.type)?((r=o(t,n.props)).ref=Gi(e,t,n),r.return=e,r):((r=zu(n.type,n.key,n.props,null,e.mode,r)).ref=Gi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Nu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Mu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Du(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=zu(t.type,t.key,t.props,null,e.mode,n)).ref=Gi(e,null,t),n.return=e,n;case k:return(t=Nu(t,e.mode,n)).return=e,t;case I:return f(e,(0,t._init)(t._payload),n)}if(te(t)||z(t))return(t=Mu(t,e.mode,n,null)).return=e,t;Yi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?u(e,t,n,r):null;case k:return n.key===o?c(e,t,n,r):null;case I:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||z(n))return null!==o?null:d(e,t,n,r,null);Yi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case I:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||z(r))return d(t,e=e.get(n)||null,r,o,null);Yi(t,r)}return null}function m(o,i,l,s){for(var u=null,c=null,d=i,m=i=0,v=null;null!==d&&m<l.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=p(o,d,l[m],s);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(o,d),i=a(g,i,m),null===c?u=g:c.sibling=g,c=g,d=v}if(m===l.length)return n(o,d),ii&&Jo(o,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(o,l[m],s))&&(i=a(d,i,m),null===c?u=d:c.sibling=d,c=d);return ii&&Jo(o,m),u}for(d=r(o,d);m<l.length;m++)null!==(v=h(d,o,m,l[m],s))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),u}function v(o,l,s,u){var c=z(s);if("function"!=typeof c)throw Error(i(150));if(null==(s=c.call(s)))throw Error(i(151));for(var d=c=null,m=l,v=l=0,g=null,b=s.next();null!==m&&!b.done;v++,b=s.next()){m.index>v?(g=m,m=null):g=m.sibling;var y=p(o,m,b.value,u);if(null===y){null===m&&(m=g);break}e&&m&&null===y.alternate&&t(o,m),l=a(y,l,v),null===d?c=y:d.sibling=y,d=y,m=g}if(b.done)return n(o,m),ii&&Jo(o,v),c;if(null===m){for(;!b.done;v++,b=s.next())null!==(b=f(o,b.value,u))&&(l=a(b,l,v),null===d?c=b:d.sibling=b,d=b);return ii&&Jo(o,v),c}for(m=r(o,m);!b.done;v++,b=s.next())null!==(b=h(m,o,v,b.value,u))&&(e&&null!==b.alternate&&m.delete(null===b.key?v:b.key),l=a(b,l,v),null===d?c=b:d.sibling=b,d=b);return e&&m.forEach((function(e){return t(o,e)})),ii&&Jo(o,v),c}return function e(r,i,a,s){if("object"==typeof a&&null!==a&&a.type===S&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var u=a.key,c=i;null!==c;){if(c.key===u){if((u=a.type)===S){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===I&&Xi(u)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=Gi(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===S?((i=Mu(a.props.children,r.mode,s,a.key)).return=r,r=i):((s=zu(a.type,a.key,a.props,null,r.mode,s)).ref=Gi(r,i,a),s.return=r,r=s)}return l(r);case k:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Nu(a,r.mode,s)).return=r,r=i}return l(r);case I:return e(r,i,(c=a._init)(a._payload),s)}if(te(a))return m(r,i,a,s);if(z(a))return v(r,i,a,s);Yi(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Du(a,r.mode,s)).return=r,r=i),l(r)):n(r,i)}}var Qi=Zi(!0),Ki=Zi(!1),Ji={},ea=Eo(Ji),ta=Eo(Ji),na=Eo(Ji);function ra(e){if(e===Ji)throw Error(i(174));return e}function oa(e,t){switch(Oo(na,t),Oo(ta,e),Oo(ea,Ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}_o(ea),Oo(ea,t)}function ia(){_o(ea),_o(ta),_o(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=se(t,e.type);t!==n&&(Oo(ta,e),Oo(ea,n))}function la(e){ta.current===e&&(_o(ea),_o(ta))}var sa=Eo(0);function ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ca=[];function da(){for(var e=0;e<ca.length;e++)ca[e]._workInProgressVersionPrimary=null;ca.length=0}var fa=x.ReactCurrentDispatcher,pa=x.ReactCurrentBatchConfig,ha=0,ma=null,va=null,ga=null,ba=!1,ya=!1,xa=0,wa=0;function ka(){throw Error(i(321))}function Sa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Ca(e,t,n,r,o,a){if(ha=a,ma=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fa.current=null===e||null===e.memoizedState?ll:sl,e=n(r,o),ya){a=0;do{if(ya=!1,xa=0,25<=a)throw Error(i(301));a+=1,ga=va=null,t.updateQueue=null,fa.current=ul,e=n(r,o)}while(ya)}if(fa.current=al,t=null!==va&&null!==va.next,ha=0,ga=va=ma=null,ba=!1,t)throw Error(i(300));return e}function Ea(){var e=0!==xa;return xa=0,e}function _a(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ga?ma.memoizedState=ga=e:ga=ga.next=e,ga}function Oa(){if(null===va){var e=ma.alternate;e=null!==e?e.memoizedState:null}else e=va.next;var t=null===ga?ma.memoizedState:ga.next;if(null!==t)ga=t,va=e;else{if(null===e)throw Error(i(310));e={memoizedState:(va=e).memoizedState,baseState:va.baseState,baseQueue:va.baseQueue,queue:va.queue,next:null},null===ga?ma.memoizedState=ga=e:ga=ga.next=e}return ga}function Pa(e,t){return"function"==typeof t?t(e):t}function Ta(e){var t=Oa(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=va,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var s=l=null,u=null,c=a;do{var d=c.lane;if((ha&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=r):u=u.next=f,ma.lanes|=d,Fs|=d}c=c.next}while(null!==c&&c!==a);null===u?l=r:u.next=s,lr(r,t.memoizedState)||(xl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,ma.lanes|=a,Fs|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ra(e){var t=Oa(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);lr(a,t.memoizedState)||(xl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Aa(){}function Ia(e,t){var n=ma,r=Oa(),o=t(),a=!lr(r.memoizedState,o);if(a&&(r.memoizedState=o,xl=!0),r=r.queue,Ua(za.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ga&&1&ga.memoizedState.tag){if(n.flags|=2048,Na(9,ja.bind(null,n,r,o,t),void 0,null),null===Rs)throw Error(i(349));30&ha||La(n,t,o)}return o}function La(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function ja(e,t,n,r){t.value=n,t.getSnapshot=r,Ma(t)&&Fa(e)}function za(e,t,n){return n((function(){Ma(t)&&Fa(e)}))}function Ma(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(e){return!0}}function Fa(e){var t=Ri(e,1);null!==t&&ru(t,e,1,-1)}function Da(e){var t=_a();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Pa,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,ma,e),[t.memoizedState,e]}function Na(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ba(){return Oa().memoizedState}function Va(e,t,n,r){var o=_a();ma.flags|=e,o.memoizedState=Na(1|t,n,void 0,void 0===r?null:r)}function $a(e,t,n,r){var o=Oa();r=void 0===r?null:r;var i=void 0;if(null!==va){var a=va.memoizedState;if(i=a.destroy,null!==r&&Sa(r,a.deps))return void(o.memoizedState=Na(t,n,i,r))}ma.flags|=e,o.memoizedState=Na(1|t,n,i,r)}function Wa(e,t){return Va(8390656,8,e,t)}function Ua(e,t){return $a(2048,8,e,t)}function Ha(e,t){return $a(4,2,e,t)}function qa(e,t){return $a(4,4,e,t)}function Ga(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ya(e,t,n){return n=null!=n?n.concat([e]):null,$a(4,4,Ga.bind(null,t,e),n)}function Xa(){}function Za(e,t){var n=Oa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Qa(e,t){var n=Oa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ka(e,t,n){return 21&ha?(lr(n,t)||(n=mt(),ma.lanes|=n,Fs|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,xl=!0),e.memoizedState=n)}function Ja(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=pa.transition;pa.transition={};try{e(!1),t()}finally{yt=n,pa.transition=r}}function el(){return Oa().memoizedState}function tl(e,t,n){var r=nu(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e)?ol(t,n):null!==(n=Ti(e,t,n,r))&&(ru(n,e,r,tu()),il(n,t,r))}function nl(e,t,n){var r=nu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))ol(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,a)){var s=t.interleaved;return null===s?(o.next=o,Pi(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Ti(e,t,o,r))&&(ru(n,e,r,o=tu()),il(n,t,r))}}function rl(e){var t=e.alternate;return e===ma||null!==t&&t===ma}function ol(e,t){ya=ba=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function il(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var al={readContext:_i,useCallback:ka,useContext:ka,useEffect:ka,useImperativeHandle:ka,useInsertionEffect:ka,useLayoutEffect:ka,useMemo:ka,useReducer:ka,useRef:ka,useState:ka,useDebugValue:ka,useDeferredValue:ka,useTransition:ka,useMutableSource:ka,useSyncExternalStore:ka,useId:ka,unstable_isNewReconciler:!1},ll={readContext:_i,useCallback:function(e,t){return _a().memoizedState=[e,void 0===t?null:t],e},useContext:_i,useEffect:Wa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Va(4194308,4,Ga.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Va(4194308,4,e,t)},useInsertionEffect:function(e,t){return Va(4,2,e,t)},useMemo:function(e,t){var n=_a();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_a();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,ma,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},_a().memoizedState=e},useState:Da,useDebugValue:Xa,useDeferredValue:function(e){return _a().memoizedState=e},useTransition:function(){var e=Da(!1),t=e[0];return e=Ja.bind(null,e[1]),_a().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ma,o=_a();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Rs)throw Error(i(349));30&ha||La(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Wa(za.bind(null,r,a,e),[e]),r.flags|=2048,Na(9,ja.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=_a(),t=Rs.identifierPrefix;if(ii){var n=Ko;t=":"+t+"R"+(n=(Qo&~(1<<32-at(Qo)-1)).toString(32)+n),0<(n=xa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:_i,useCallback:Za,useContext:_i,useEffect:Ua,useImperativeHandle:Ya,useInsertionEffect:Ha,useLayoutEffect:qa,useMemo:Qa,useReducer:Ta,useRef:Ba,useState:function(){return Ta(Pa)},useDebugValue:Xa,useDeferredValue:function(e){return Ka(Oa(),va.memoizedState,e)},useTransition:function(){return[Ta(Pa)[0],Oa().memoizedState]},useMutableSource:Aa,useSyncExternalStore:Ia,useId:el,unstable_isNewReconciler:!1},ul={readContext:_i,useCallback:Za,useContext:_i,useEffect:Ua,useImperativeHandle:Ya,useInsertionEffect:Ha,useLayoutEffect:qa,useMemo:Qa,useReducer:Ra,useRef:Ba,useState:function(){return Ra(Pa)},useDebugValue:Xa,useDeferredValue:function(e){var t=Oa();return null===va?t.memoizedState=e:Ka(t,va.memoizedState,e)},useTransition:function(){return[Ra(Pa)[0],Oa().memoizedState]},useMutableSource:Aa,useSyncExternalStore:Ia,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var pl="function"==typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=ji(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hs||(Hs=!0,qs=r),fl(0,t)},n}function ml(e,t,n){(n=ji(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fl(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!=typeof r&&(null===Gs?Gs=new Set([this]):Gs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=_u.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function bl(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=ji(-1,1)).tag=2,zi(n,t,1))),n.lanes|=1),e)}var yl=x.ReactCurrentOwner,xl=!1;function wl(e,t,n,r){t.child=null===e?Ki(t,null,n,r):Qi(t,e.child,n,r)}function kl(e,t,n,r,o){n=n.render;var i=t.ref;return Ei(t,o),r=Ca(e,t,n,r,i,o),n=Ea(),null===e||xl?(ii&&n&&ti(t),t.flags|=1,wl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function Sl(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Lu(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=zu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Cl(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(a,r)&&e.ref===t.ref)return Hl(e,t,o)}return t.flags|=1,(e=ju(i,r)).ref=t.ref,e.return=t,t.child=e}function Cl(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(sr(i,r)&&e.ref===t.ref){if(xl=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,Hl(e,t,o);131072&e.flags&&(xl=!0)}}return Ol(e,t,n,r,o)}function El(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Oo(js,Ls),Ls|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Oo(js,Ls),Ls|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Oo(js,Ls),Ls|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Oo(js,Ls),Ls|=r;return wl(e,t,o,n),t.child}function _l(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ol(e,t,n,r,o){var i=Lo(n)?Ao:To.current;return i=Io(t,i),Ei(t,o),n=Ca(e,t,n,r,i,o),r=Ea(),null===e||xl?(ii&&r&&ti(t),t.flags|=1,wl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function Pl(e,t,n,r,o){if(Lo(n)){var i=!0;Fo(t)}else i=!1;if(Ei(t,o),null===t.stateNode)Ul(e,t),Ui(t,n,r),qi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;u="object"==typeof u&&null!==u?_i(u):Io(t,u=Lo(n)?Ao:To.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&Hi(t,a,r,u),Ai=!1;var f=t.memoizedState;a.state=f,Di(t,r,a,o),s=t.memoizedState,l!==r||f!==s||Ro.current||Ai?("function"==typeof c&&(Vi(t,n,c,r),s=t.memoizedState),(l=Ai||Wi(t,n,l,r,f,s,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Li(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:gi(t.type,l),a.props=u,d=t.pendingProps,f=a.context,s="object"==typeof(s=n.contextType)&&null!==s?_i(s):Io(t,s=Lo(n)?Ao:To.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||f!==s)&&Hi(t,a,r,s),Ai=!1,f=t.memoizedState,a.state=f,Di(t,r,a,o);var h=t.memoizedState;l!==d||f!==h||Ro.current||Ai?("function"==typeof p&&(Vi(t,n,p,r),h=t.memoizedState),(u=Ai||Wi(t,n,u,r,f,h,s)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Tl(e,t,n,r,i,o)}function Tl(e,t,n,r,o,i){_l(e,t);var a=!!(128&t.flags);if(!r&&!a)return o&&Do(t,n,!1),Hl(e,t,i);r=t.stateNode,yl.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Qi(t,e.child,null,i),t.child=Qi(t,null,l,i)):wl(e,t,l,i),t.memoizedState=r.state,o&&Do(t,n,!0),t.child}function Rl(e){var t=e.stateNode;t.pendingContext?zo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&zo(0,t.context,!1),oa(e,t.containerInfo)}function Al(e,t,n,r,o){return hi(),mi(o),t.flags|=256,wl(e,t,n,r),t.child}var Il,Ll,jl,zl,Ml={dehydrated:null,treeContext:null,retryLane:0};function Fl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Dl(e,t,n){var r,o=t.pendingProps,a=sa.current,l=!1,s=!!(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&!!(2&a)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Oo(sa,1&a),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},1&o||null===l?l=Fu(s,o,0,null):(l.childLanes=0,l.pendingProps=s),e=Mu(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Fl(n),t.memoizedState=Ml,e):Nl(t,s));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,l){if(n)return 256&t.flags?(t.flags&=-257,Bl(e,t,l,r=dl(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Fu({mode:"visible",children:r.children},o,0,null),(a=Mu(a,o,l,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,1&t.mode&&Qi(t,e.child,null,l),t.child.memoizedState=Fl(l),t.memoizedState=Ml,a);if(!(1&t.mode))return Bl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Bl(e,t,l,r=dl(a=Error(i(419)),r,void 0))}if(s=0!==(l&e.childLanes),xl||s){if(null!==(r=Rs)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|l))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Ri(e,o),ru(r,e,o,-1))}return vu(),Bl(e,t,l,r=dl(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Pu.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=uo(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Yo[Xo++]=Qo,Yo[Xo++]=Ko,Yo[Xo++]=Zo,Qo=e.id,Ko=e.overflow,Zo=t),(t=Nl(t,r.children)).flags|=4096,t)}(e,t,s,o,r,a,n);if(l){l=o.fallback,s=t.mode,r=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 1&s||t.child===a?(o=ju(a,u)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null),null!==r?l=ju(r,l):(l=Mu(l,s,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Fl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Ml,o}return e=(l=e.child).sibling,o=ju(l,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Nl(e,t){return(t=Fu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bl(e,t,n,r){return null!==r&&mi(r),Qi(t,e.child,null,n),(e=Nl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Vl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ci(e.return,t,n)}function $l(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Wl(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(wl(e,t,r.children,n),2&(r=sa.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Vl(e,n,t);else if(19===e.tag)Vl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Oo(sa,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ua(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),$l(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ua(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}$l(t,!0,n,null,i);break;case"together":$l(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Ul(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fs|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=ju(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ju(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ql(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Gl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Yl(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gl(t),null;case 1:case 17:return Lo(t.type)&&jo(),Gl(t),null;case 3:return r=t.stateNode,ia(),_o(Ro),_o(To),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ai&&(lu(ai),ai=null))),Ll(e,t),Gl(t),null;case 5:la(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)jl(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Gl(t),null}if(e=ra(ea.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=!!(1&t.mode),n){case"dialog":Nr("cancel",r),Nr("close",r);break;case"iframe":case"object":case"embed":Nr("load",r);break;case"video":case"audio":for(o=0;o<zr.length;o++)Nr(zr[o],r);break;case"source":Nr("error",r);break;case"img":case"image":case"link":Nr("error",r),Nr("load",r);break;case"details":Nr("toggle",r);break;case"input":Z(r,a),Nr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Nr("invalid",r);break;case"textarea":oe(r,a),Nr("invalid",r)}for(var s in be(n,a),o=null,a)if(a.hasOwnProperty(s)){var u=a[s];"children"===s?"string"==typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Kr(r.textContent,u,e),o=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Kr(r.textContent,u,e),o=["children",""+u]):l.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Nr("scroll",r)}switch(n){case"input":q(r),J(r,a,!0);break;case"textarea":q(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[po]=t,e[ho]=r,Il(e,t,!1,!1),t.stateNode=e;e:{switch(s=ye(n,r),n){case"dialog":Nr("cancel",e),Nr("close",e),o=r;break;case"iframe":case"object":case"embed":Nr("load",e),o=r;break;case"video":case"audio":for(o=0;o<zr.length;o++)Nr(zr[o],e);o=r;break;case"source":Nr("error",e),o=r;break;case"img":case"image":case"link":Nr("error",e),Nr("load",e),o=r;break;case"details":Nr("toggle",e),o=r;break;case"input":Z(e,r),o=X(e,r),Nr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=F({},r,{value:void 0}),Nr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Nr("invalid",e)}for(a in be(n,o),u=o)if(u.hasOwnProperty(a)){var c=u[a];"style"===a?ve(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===a?"string"==typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(l.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Nr("scroll",e):null!=c&&y(e,a,c,s))}switch(n){case"input":q(e),J(e,r,!1);break;case"textarea":q(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+U(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Gl(t),null;case 6:if(e&&null!=t.stateNode)zl(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Kr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Kr(r.nodeValue,n,!!(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Gl(t),null;case 13:if(_o(sa),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&1&t.mode&&!(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Gl(t),a=!1}else null!==ai&&(lu(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&sa.current?0===zs&&(zs=3):vu())),null!==t.updateQueue&&(t.flags|=4),Gl(t),null);case 4:return ia(),Ll(e,t),null===e&&$r(t.stateNode.containerInfo),Gl(t),null;case 10:return Si(t.type._context),Gl(t),null;case 19:if(_o(sa),null===(a=t.memoizedState))return Gl(t),null;if(r=!!(128&t.flags),null===(s=a.rendering))if(r)ql(a,!1);else{if(0!==zs||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(s=ua(e))){for(t.flags|=128,ql(a,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(s=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Oo(sa,1&sa.current|2),t.child}e=e.sibling}null!==a.tail&&Qe()>Ws&&(t.flags|=128,r=!0,ql(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ua(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ql(a,!0),null===a.tail&&"hidden"===a.tailMode&&!s.alternate&&!ii)return Gl(t),null}else 2*Qe()-a.renderingStartTime>Ws&&1073741824!==n&&(t.flags|=128,r=!0,ql(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=a.last)?n.sibling=s:t.child=s,a.last=s)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Qe(),t.sibling=null,n=sa.current,Oo(sa,r?1&n|2:1&n),t):(Gl(t),null);case 22:case 23:return fu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Ls)&&(Gl(t),6&t.subtreeFlags&&(t.flags|=8192)):Gl(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Xl(e,t){switch(ni(t),t.tag){case 1:return Lo(t.type)&&jo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),_o(Ro),_o(To),da(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return la(t),null;case 13:if(_o(sa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return _o(sa),null;case 4:return ia(),null;case 10:return Si(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Il=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ll=function(){},jl=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=X(e,o),r=X(e,r),a=[];break;case"select":o=F({},o,{value:void 0}),r=F({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(c in be(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var s=o[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&s[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(a||(a=[]),a.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Nr("scroll",e),a||s===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},zl=function(e,t,n,r){n!==r&&(t.flags|=4)};var Zl=!1,Ql=!1,Kl="function"==typeof WeakSet?WeakSet:Set,Jl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Eu(e,t,n)}else n.current=null}function ts(e,t,n){try{n()}catch(n){Eu(e,t,n)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&ts(t,n,i)}o=o.next}while(o!==r)}}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function is(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function as(e){var t=e.alternate;null!==t&&(e.alternate=null,as(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[vo],delete t[go],delete t[bo]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}var ds=null,fs=!1;function ps(e,t,n){for(n=n.child;null!==n;)hs(e,t,n),n=n.sibling}function hs(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Ql||es(n,t);case 6:var r=ds,o=fs;ds=null,ps(e,t,n),fs=o,null!==(ds=r)&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),$t(e)):so(ds,n.stateNode));break;case 4:r=ds,o=fs,ds=n.stateNode.containerInfo,fs=!0,ps(e,t,n),ds=r,fs=o;break;case 0:case 11:case 14:case 15:if(!Ql&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&ts(n,t,a),o=o.next}while(o!==r)}ps(e,t,n);break;case 1:if(!Ql&&(es(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Eu(n,t,e)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Ql=(r=Ql)||null!==n.memoizedState,ps(e,t,n),Ql=r):ps(e,t,n);break;default:ps(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Kl),t.forEach((function(t){var r=Tu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,fs=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,fs=!0;break e}s=s.return}if(null===ds)throw Error(i(160));hs(a,l,o),ds=null,fs=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(e){Eu(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vs(t,e),bs(e),4&r){try{rs(3,e,e.return),os(3,e)}catch(t){Eu(e,e.return,t)}try{rs(5,e,e.return)}catch(t){Eu(e,e.return,t)}}break;case 1:vs(t,e),bs(e),512&r&&null!==n&&es(n,n.return);break;case 5:if(vs(t,e),bs(e),512&r&&null!==n&&es(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(t){Eu(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,l=null!==n?n.memoizedProps:a,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===a.type&&null!=a.name&&Q(o,a),ye(s,l);var c=ye(s,a);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?ve(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):y(o,d,f,c)}switch(s){case"input":K(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(t){Eu(e,e.return,t)}}break;case 6:if(vs(t,e),bs(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Eu(e,e.return,t)}}break;case 3:if(vs(t,e),bs(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{$t(t.containerInfo)}catch(t){Eu(e,e.return,t)}break;case 4:default:vs(t,e),bs(e);break;case 13:vs(t,e),bs(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||($s=Qe())),4&r&&ms(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ql=(c=Ql)||d,vs(t,e),Ql=c):vs(t,e),bs(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&1&e.mode)for(Jl=e,d=e.child;null!==d;){for(f=Jl=d;null!==Jl;){switch(h=(p=Jl).child,p.tag){case 0:case 11:case 14:case 15:rs(4,p,p.return);break;case 1:es(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Eu(r,n,e)}}break;case 5:es(p,p.return);break;case 22:if(null!==p.memoizedState){ks(f);continue}}null!==h?(h.return=p,Jl=h):ks(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(s=f.stateNode,l=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=me("display",l))}catch(t){Eu(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){Eu(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vs(t,e),bs(e),4&r&&ms(e);case 21:}}function bs(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ls(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),cs(e,ss(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;us(e,ss(e),a);break;default:throw Error(i(161))}}catch(t){Eu(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function ys(e,t,n){Jl=e,xs(e,t,n)}function xs(e,t,n){for(var r=!!(1&e.mode);null!==Jl;){var o=Jl,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Zl;if(!a){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Ql;l=Zl;var u=Ql;if(Zl=a,(Ql=s)&&!u)for(Jl=o;null!==Jl;)s=(a=Jl).child,22===a.tag&&null!==a.memoizedState?Ss(o):null!==s?(s.return=a,Jl=s):Ss(o);for(;null!==i;)Jl=i,xs(i,t,n),i=i.sibling;Jl=o,Zl=l,Ql=u}ws(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,Jl=i):ws(e)}}function ws(e){for(;null!==Jl;){var t=Jl;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ql||os(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ql)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:gi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Ni(t,a,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ni(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&$t(f)}}}break;default:throw Error(i(163))}Ql||512&t.flags&&is(t)}catch(e){Eu(t,t.return,e)}}if(t===e){Jl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Jl=n;break}Jl=t.return}}function ks(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function Ss(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{os(4,t)}catch(e){Eu(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Eu(t,o,e)}}var i=t.return;try{is(t)}catch(e){Eu(t,i,e)}break;case 5:var a=t.return;try{is(t)}catch(e){Eu(t,a,e)}}}catch(e){Eu(t,t.return,e)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var Cs,Es=Math.ceil,_s=x.ReactCurrentDispatcher,Os=x.ReactCurrentOwner,Ps=x.ReactCurrentBatchConfig,Ts=0,Rs=null,As=null,Is=0,Ls=0,js=Eo(0),zs=0,Ms=null,Fs=0,Ds=0,Ns=0,Bs=null,Vs=null,$s=0,Ws=1/0,Us=null,Hs=!1,qs=null,Gs=null,Ys=!1,Xs=null,Zs=0,Qs=0,Ks=null,Js=-1,eu=0;function tu(){return 6&Ts?Qe():-1!==Js?Js:Js=Qe()}function nu(e){return 1&e.mode?2&Ts&&0!==Is?Is&-Is:null!==vi.transition?(0===eu&&(eu=mt()),eu):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Zt(e.type):1}function ru(e,t,n,r){if(50<Qs)throw Qs=0,Ks=null,Error(i(185));gt(e,n,r),2&Ts&&e===Rs||(e===Rs&&(!(2&Ts)&&(Ds|=n),4===zs&&su(e,Is)),ou(e,r),1===n&&0===Ts&&!(1&t.mode)&&(Ws=Qe()+500,Bo&&Wo()))}function ou(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),l=1<<a,s=o[a];-1===s?0!==(l&n)&&0===(l&r)||(o[a]=pt(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=ft(e,e===Rs?Is:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Bo=!0,$o(e)}(uu.bind(null,e)):$o(uu.bind(null,e)),ao((function(){!(6&Ts)&&Wo()})),n=null;else{switch(xt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ru(n,iu.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function iu(e,t){if(Js=-1,eu=0,6&Ts)throw Error(i(327));var n=e.callbackNode;if(Su()&&e.callbackNode!==n)return null;var r=ft(e,e===Rs?Is:0);if(0===r)return null;if(30&r||0!==(r&e.expiredLanes)||t)t=gu(e,r);else{t=r;var o=Ts;Ts|=2;var a=mu();for(Rs===e&&Is===t||(Us=null,Ws=Qe()+500,pu(e,t));;)try{yu();break}catch(t){hu(e,t)}ki(),_s.current=a,Ts=o,null!==As?t=0:(Rs=null,Is=0,t=zs)}if(0!==t){if(2===t&&0!==(o=ht(e))&&(r=o,t=au(e,o)),1===t)throw n=Ms,pu(e,0),su(e,r),ou(e,Qe()),n;if(6===t)su(e,r);else{if(o=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!lr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=gu(e,r),2===t&&(a=ht(e),0!==a&&(r=a,t=au(e,a))),1!==t)))throw n=Ms,pu(e,0),su(e,r),ou(e,Qe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:ku(e,Vs,Us);break;case 3:if(su(e,r),(130023424&r)===r&&10<(t=$s+500-Qe())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(ku.bind(null,e,Vs,Us),t);break}ku(e,Vs,Us);break;case 4:if(su(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-at(r);a=1<<l,(l=t[l])>o&&(o=l),r&=~a}if(r=o,10<(r=(120>(r=Qe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Es(r/1960))-r)){e.timeoutHandle=ro(ku.bind(null,e,Vs,Us),r);break}ku(e,Vs,Us);break;default:throw Error(i(329))}}}return ou(e,Qe()),e.callbackNode===n?iu.bind(null,e):null}function au(e,t){var n=Bs;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Vs,Vs=n,null!==t&&lu(t)),e}function lu(e){null===Vs?Vs=e:Vs.push.apply(Vs,e)}function su(e,t){for(t&=~Ns,t&=~Ds,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(6&Ts)throw Error(i(327));Su();var t=ft(e,0);if(!(1&t))return ou(e,Qe()),null;var n=gu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=au(e,r))}if(1===n)throw n=Ms,pu(e,0),su(e,t),ou(e,Qe()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ku(e,Vs,Us),ou(e,Qe()),null}function cu(e,t){var n=Ts;Ts|=1;try{return e(t)}finally{0===(Ts=n)&&(Ws=Qe()+500,Bo&&Wo())}}function du(e){null!==Xs&&0===Xs.tag&&!(6&Ts)&&Su();var t=Ts;Ts|=1;var n=Ps.transition,r=yt;try{if(Ps.transition=null,yt=1,e)return e()}finally{yt=r,Ps.transition=n,!(6&(Ts=t))&&Wo()}}function fu(){Ls=js.current,_o(js)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==As)for(n=As.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&jo();break;case 3:ia(),_o(Ro),_o(To),da();break;case 5:la(r);break;case 4:ia();break;case 13:case 19:_o(sa);break;case 10:Si(r.type._context);break;case 22:case 23:fu()}n=n.return}if(Rs=e,As=e=ju(e.current,null),Is=Ls=t,zs=0,Ms=null,Ns=Ds=Fs=0,Vs=Bs=null,null!==Oi){for(t=0;t<Oi.length;t++)if(null!==(r=(n=Oi[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Oi=null}return e}function hu(e,t){for(;;){var n=As;try{if(ki(),fa.current=al,ba){for(var r=ma.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ba=!1}if(ha=0,ga=va=ma=null,ya=!1,xa=0,Os.current=null,null===n||null===n.return){zs=1,Ms=t,As=null;break}e:{var a=e,l=n.return,s=n,u=t;if(t=Is,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,f=d.tag;if(!(1&d.mode||0!==f&&11!==f&&15!==f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gl(l);if(null!==h){h.flags&=-257,bl(h,l,s,0,t),1&h.mode&&vl(a,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(u),t.updateQueue=v}else m.add(u);break e}if(!(1&t)){vl(a,c,t),vu();break e}u=Error(i(426))}else if(ii&&1&s.mode){var g=gl(l);if(null!==g){!(65536&g.flags)&&(g.flags|=256),bl(g,l,s,0,t),mi(cl(u,s));break e}}a=u=cl(u,s),4!==zs&&(zs=2),null===Bs?Bs=[a]:Bs.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Fi(a,hl(0,u,t));break e;case 1:s=u;var b=a.type,y=a.stateNode;if(!(128&a.flags||"function"!=typeof b.getDerivedStateFromError&&(null===y||"function"!=typeof y.componentDidCatch||null!==Gs&&Gs.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Fi(a,ml(a,s,t));break e}}a=a.return}while(null!==a)}wu(n)}catch(e){t=e,As===n&&null!==n&&(As=n=n.return);continue}break}}function mu(){var e=_s.current;return _s.current=al,null===e?al:e}function vu(){0!==zs&&3!==zs&&2!==zs||(zs=4),null===Rs||!(268435455&Fs)&&!(268435455&Ds)||su(Rs,Is)}function gu(e,t){var n=Ts;Ts|=2;var r=mu();for(Rs===e&&Is===t||(Us=null,pu(e,t));;)try{bu();break}catch(t){hu(e,t)}if(ki(),Ts=n,_s.current=r,null!==As)throw Error(i(261));return Rs=null,Is=0,zs}function bu(){for(;null!==As;)xu(As)}function yu(){for(;null!==As&&!Xe();)xu(As)}function xu(e){var t=Cs(e.alternate,e,Ls);e.memoizedProps=e.pendingProps,null===t?wu(e):As=t,Os.current=null}function wu(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Xl(n,t)))return n.flags&=32767,void(As=n);if(null===e)return zs=6,void(As=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Yl(n,t,Ls)))return void(As=n);if(null!==(t=t.sibling))return void(As=t);As=t=e}while(null!==t);0===zs&&(zs=5)}function ku(e,t,n){var r=yt,o=Ps.transition;try{Ps.transition=null,yt=1,function(e,t,n,r){do{Su()}while(null!==Xs);if(6&Ts)throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Rs&&(As=Rs=null,Is=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Ys||(Ys=!0,Ru(tt,(function(){return Su(),null}))),a=!!(15990&n.flags),15990&n.subtreeFlags||a){a=Ps.transition,Ps.transition=null;var l=yt;yt=1;var s=Ts;Ts|=4,Os.current=null,function(e,t){if(eo=Ut,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(s=l+o),f!==a||0!==r&&3!==f.nodeType||(u=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===o&&(s=l),p===a&&++d===r&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Ut=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,1028&t.subtreeFlags&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,g=m.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?v:gi(t.type,v),g);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(i(163))}}catch(e){Eu(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}m=ns,ns=!1}(e,n),gs(n,e),hr(to),Ut=!!eo,to=eo=null,e.current=n,ys(n,e,o),Ze(),Ts=s,yt=l,Ps.transition=a}else e.current=n;if(Ys&&(Ys=!1,Xs=e,Zs=o),0===(a=e.pendingLanes)&&(Gs=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),ou(e,Qe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(Hs)throw Hs=!1,e=qs,qs=null,e;!!(1&Zs)&&0!==e.tag&&Su(),1&(a=e.pendingLanes)?e===Ks?Qs++:(Qs=0,Ks=e):Qs=0,Wo()}(e,t,n,r)}finally{Ps.transition=o,yt=r}return null}function Su(){if(null!==Xs){var e=xt(Zs),t=Ps.transition,n=yt;try{if(Ps.transition=null,yt=16>e?16:e,null===Xs)var r=!1;else{if(e=Xs,Xs=null,Zs=0,6&Ts)throw Error(i(331));var o=Ts;for(Ts|=4,Jl=e.current;null!==Jl;){var a=Jl,l=a.child;if(16&Jl.flags){var s=a.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Jl=c;null!==Jl;){var d=Jl;switch(d.tag){case 0:case 11:case 15:rs(8,d,a)}var f=d.child;if(null!==f)f.return=d,Jl=f;else for(;null!==Jl;){var p=(d=Jl).sibling,h=d.return;if(as(d),d===c){Jl=null;break}if(null!==p){p.return=h,Jl=p;break}Jl=h}}}var m=a.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Jl=a}}if(2064&a.subtreeFlags&&null!==l)l.return=a,Jl=l;else e:for(;null!==Jl;){if(2048&(a=Jl).flags)switch(a.tag){case 0:case 11:case 15:rs(9,a,a.return)}var b=a.sibling;if(null!==b){b.return=a.return,Jl=b;break e}Jl=a.return}}var y=e.current;for(Jl=y;null!==Jl;){var x=(l=Jl).child;if(2064&l.subtreeFlags&&null!==x)x.return=l,Jl=x;else e:for(l=y;null!==Jl;){if(2048&(s=Jl).flags)try{switch(s.tag){case 0:case 11:case 15:os(9,s)}}catch(e){Eu(s,s.return,e)}if(s===l){Jl=null;break e}var w=s.sibling;if(null!==w){w.return=s.return,Jl=w;break e}Jl=s.return}}if(Ts=o,Wo(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{yt=n,Ps.transition=t}}return!1}function Cu(e,t,n){e=zi(e,t=hl(0,t=cl(n,t),1),1),t=tu(),null!==e&&(gt(e,1,t),ou(e,t))}function Eu(e,t,n){if(3===e.tag)Cu(e,e,n);else for(;null!==t;){if(3===t.tag){Cu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Gs||!Gs.has(r))){t=zi(t,e=ml(t,e=cl(n,e),1),1),e=tu(),null!==t&&(gt(t,1,e),ou(t,e));break}}t=t.return}}function _u(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,Rs===e&&(Is&n)===n&&(4===zs||3===zs&&(130023424&Is)===Is&&500>Qe()-$s?pu(e,0):Ns|=n),ou(e,t)}function Ou(e,t){0===t&&(1&e.mode?(t=ct,!(130023424&(ct<<=1))&&(ct=4194304)):t=1);var n=tu();null!==(e=Ri(e,t))&&(gt(e,t,n),ou(e,n))}function Pu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ou(e,n)}function Tu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Ou(e,n)}function Ru(e,t){return Ge(e,t)}function Au(e,t,n,r){this.tag=e,this.key=n,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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Iu(e,t,n,r){return new Au(e,t,n,r)}function Lu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ju(e,t){var n=e.alternate;return null===n?((n=Iu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zu(e,t,n,r,o,a){var l=2;if(r=e,"function"==typeof e)Lu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case S:return Mu(n.children,o,a,t);case C:l=8,o|=8;break;case E:return(e=Iu(12,n,t,2|o)).elementType=E,e.lanes=a,e;case T:return(e=Iu(13,n,t,o)).elementType=T,e.lanes=a,e;case R:return(e=Iu(19,n,t,o)).elementType=R,e.lanes=a,e;case L:return Fu(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:l=10;break e;case O:l=9;break e;case P:l=11;break e;case A:l=14;break e;case I:l=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Iu(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Mu(e,t,n,r){return(e=Iu(7,e,r,t)).lanes=n,e}function Fu(e,t,n,r){return(e=Iu(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function Du(e,t,n){return(e=Iu(6,e,null,t)).lanes=n,e}function Nu(e,t,n){return(t=Iu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Vu(e,t,n,r,o,i,a,l,s){return e=new Bu(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Iu(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ii(i),e}function $u(e){if(!e)return Po;e:{if($e(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Lo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Lo(n))return Mo(e,n,t)}return t}function Wu(e,t,n,r,o,i,a,l,s){return(e=Vu(n,r,!0,e,0,i,0,l,s)).context=$u(null),n=e.current,(i=ji(r=tu(),o=nu(n))).callback=null!=t?t:null,zi(n,i,o),e.current.lanes=o,gt(e,o,r),ou(e,r),e}function Uu(e,t,n,r){var o=t.current,i=tu(),a=nu(o);return n=$u(n),null===t.context?t.context=n:t.pendingContext=n,(t=ji(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=zi(o,t,a))&&(ru(e,o,a,i),Mi(e,o,a)),a}function Hu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Gu(e,t){qu(e,t),(e=e.alternate)&&qu(e,t)}Cs=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ro.current)xl=!0;else{if(0===(e.lanes&n)&&!(128&t.flags))return xl=!1,function(e,t,n){switch(t.tag){case 3:Rl(t),hi();break;case 5:aa(t);break;case 1:Lo(t.type)&&Fo(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Oo(bi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Oo(sa,1&sa.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Dl(e,t,n):(Oo(sa,1&sa.current),null!==(e=Hl(e,t,n))?e.sibling:null);Oo(sa,1&sa.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return Wl(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Oo(sa,sa.current),r)break;return null;case 22:case 23:return t.lanes=0,El(e,t,n)}return Hl(e,t,n)}(e,t,n);xl=!!(131072&e.flags)}else xl=!1,ii&&1048576&t.flags&&ei(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ul(e,t),e=t.pendingProps;var o=Io(t,To.current);Ei(t,n),o=Ca(null,t,r,e,o,n);var a=Ea();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Lo(r)?(a=!0,Fo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ii(t),o.updater=$i,t.stateNode=o,o._reactInternals=t,qi(t,r,e,n),t=Tl(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),wl(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ul(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Lu(e)?1:0;if(null!=e){if((e=e.$$typeof)===P)return 11;if(e===A)return 14}return 2}(r),e=gi(r,e),o){case 0:t=Ol(null,t,r,e,n);break e;case 1:t=Pl(null,t,r,e,n);break e;case 11:t=kl(null,t,r,e,n);break e;case 14:t=Sl(null,t,r,gi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ol(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Pl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 3:e:{if(Rl(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Li(e,t),Di(t,r,null,n);var l=t.memoizedState;if(r=l.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Al(e,t,r,n,o=cl(Error(i(423)),t));break e}if(r!==o){t=Al(e,t,r,n,o=cl(Error(i(424)),t));break e}for(oi=uo(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Ki(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=Hl(e,t,n);break e}wl(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ci(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,no(r,o)?l=null:null!==a&&no(r,a)&&(t.flags|=32),_l(e,t),wl(e,t,l,n),t.child;case 6:return null===e&&ci(t),null;case 13:return Dl(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Qi(t,null,r,n):wl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,kl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 7:return wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,Oo(bi,r._currentValue),r._currentValue=l,null!==a)if(lr(a.value,l)){if(a.children===o.children&&!Ro.current){t=Hl(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){l=a.child;for(var u=s.firstContext;null!==u;){if(u.context===r){if(1===a.tag){(u=ji(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),Ci(a.return,n,t),s.lanes|=n;break}u=u.next}}else if(10===a.tag)l=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(l=a.return))throw Error(i(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Ci(l,n,t),l=a.sibling}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===t){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}wl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ei(t,n),r=r(o=_i(o)),t.flags|=1,wl(e,t,r,n),t.child;case 14:return o=gi(r=t.type,t.pendingProps),Sl(e,t,r,o=gi(r.type,o),n);case 15:return Cl(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gi(r,o),Ul(e,t),t.tag=1,Lo(r)?(e=!0,Fo(t)):e=!1,Ei(t,n),Ui(t,r,o),qi(t,r,o,n),Tl(null,t,r,!0,e,n);case 19:return Wl(e,t,n);case 22:return El(e,t,n)}throw Error(i(156,t.tag))};var Yu="function"==typeof reportError?reportError:function(e){console.error(e)};function Xu(e){this._internalRoot=e}function Zu(e){this._internalRoot=e}function Qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ku(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function ec(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var l=o;o=function(){var e=Hu(a);l.call(e)}}Uu(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=Hu(a);i.call(e)}}var a=Wu(t,r,e,0,null,!1,0,"",Ju);return e._reactRootContainer=a,e[mo]=a.current,$r(8===e.nodeType?e.parentNode:e),du(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=Hu(s);l.call(e)}}var s=Vu(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=s,e[mo]=s.current,$r(8===e.nodeType?e.parentNode:e),du((function(){Uu(t,s,n,r)})),s}(n,t,e,o,r);return Hu(a)}Zu.prototype.render=Xu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Uu(e,t,null,null)},Zu.prototype.unmount=Xu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){Uu(null,e,null,null)})),t[mo]=null}},Zu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ct();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&Ft(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),ou(t,Qe()),!(6&Ts)&&(Ws=Qe()+500,Wo()))}break;case 13:du((function(){var t=Ri(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),Gu(e,1)}},kt=function(e){if(13===e.tag){var t=Ri(e,134217728);null!==t&&ru(t,e,134217728,tu()),Gu(e,134217728)}},St=function(e){if(13===e.tag){var t=nu(e),n=Ri(e,t);null!==n&&ru(n,e,t,tu()),Gu(e,t)}},Ct=function(){return yt},Et=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},ke=function(e,t,n){switch(t){case"input":if(K(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ko(r);if(!o)throw Error(i(90));G(r),K(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Pe=cu,Te=du;var tc={usingClientEntryPoint:!1,Events:[xo,wo,ko,_e,Oe,cu]},nc={findFiberByHostInstance:yo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{ot=oc.inject(rc),it=oc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qu(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Qu(e))throw Error(i(299));var n=!1,r="",o=Yu;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Vu(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,$r(8===e.nodeType?e.parentNode:e),new Xu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return du(e)},t.hydrate=function(e,t,n){if(!Ku(t))throw Error(i(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qu(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",l=Yu;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Wu(t,null,e,1,null!=n?n:null,o,0,a,l),e[mo]=t.current,$r(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Zu(t)},t.render=function(e,t,n){if(!Ku(t))throw Error(i(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ku(e))throw Error(i(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ku(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},3072:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case i:case l:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case v:case m:case s:return e;default:return t}}case o:return t}}}function k(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=l,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||w(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===l||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===y||e.$$typeof===x||e.$$typeof===g)},t.typeOf=w},3404:(e,t,n)=>{"use strict";e.exports=n(3072)},4146:(e,t,n)=>{"use strict";var r=n(3404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var l=s(t),m=s(n),v=0;v<a.length;++v){var g=a[v];if(!(i[g]||r&&r[g]||m&&m[g]||l&&l[g])){var b=f(n,g);try{u(t,g,b)}catch(e){}}}}return t}},4848:(e,t,n)=>{"use strict";e.exports=n(1020)},5338:(e,t,n)=>{"use strict";var r=n(961);t.createRoot=r.createRoot,r.hydrateRoot},6694:e=>{"use strict";e.exports=React},7463:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>i(s,n))u<o&&0>i(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,v=!1,g="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function w(e){if(v=!1,x(e),!m)if(null!==r(u))m=!0,L(k);else{var t=r(c);null!==t&&j(w,t.startTime-e)}}function k(e,n){m=!1,v&&(v=!1,b(_),_=-1),h=!0;var i=p;try{for(x(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!T());){var a=f.callback;if("function"==typeof a){f.callback=null,p=f.priorityLevel;var l=a(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?f.callback=l:f===r(u)&&o(u),x(n)}else o(u);f=r(u)}if(null!==f)var s=!0;else{var d=r(c);null!==d&&j(w,d.startTime-n),s=!1}return s}finally{f=null,p=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,C=!1,E=null,_=-1,O=5,P=-1;function T(){return!(t.unstable_now()-P<O)}function R(){if(null!==E){var e=t.unstable_now();P=e;var n=!0;try{n=E(!0,e)}finally{n?S():(C=!1,E=null)}}else C=!1}if("function"==typeof y)S=function(){y(R)};else if("undefined"!=typeof MessageChannel){var A=new MessageChannel,I=A.port2;A.port1.onmessage=R,S=function(){I.postMessage(null)}}else S=function(){g(R,0)};function L(e){E=e,C||(C=!0,S())}function j(e,n){_=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,L(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(v?(b(_),_=-1):v=!0,j(w,i-a))):(e.sortIndex=l,n(u,e),m||h||(m=!0,L(k))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},7604:(e,t,n)=>{var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return function(e,t){var n,r,a,l,s,u,c,d,f,p=1,h=e.length,m="";for(r=0;r<h;r++)if("string"==typeof e[r])m+=e[r];else if("object"==typeof e[r]){if((l=e[r]).keys)for(n=t[p],a=0;a<l.keys.length;a++){if(null==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',l.keys[a],l.keys[a-1]));n=n[l.keys[a]]}else n=l.param_no?t[l.param_no]:t[p++];if(o.not_type.test(l.type)&&o.not_primitive.test(l.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(l.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(o.number.test(l.type)&&(d=n>=0),l.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,l.width?parseInt(l.width):0);break;case"e":n=l.precision?parseFloat(n).toExponential(l.precision):parseFloat(n).toExponential();break;case"f":n=l.precision?parseFloat(n).toFixed(l.precision):parseFloat(n);break;case"g":n=l.precision?String(Number(n.toPrecision(l.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=l.precision?n.substring(0,l.precision):n;break;case"t":n=String(!!n),n=l.precision?n.substring(0,l.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=l.precision?n.substring(0,l.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=l.precision?n.substring(0,l.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(l.type)?m+=n:(!o.number.test(l.type)||d&&!l.sign?f="":(f=d?"+":"-",n=n.toString().replace(o.sign,"")),u=l.pad_char?"0"===l.pad_char?"0":l.pad_char.charAt(1):" ",c=l.width-(f+n).length,s=l.width&&c>0?u.repeat(c):"",m+=l.align?f+n+s:"0"===u?f+s+n:s+f+n)}return m}(function(e){if(l[e])return l[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],s=t[2],u=[];if(null===(u=o.key.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(u[1]);""!==(s=s.substring(u[0].length));)if(null!==(u=o.key_access.exec(s)))a.push(u[1]);else{if(null===(u=o.index_access.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(u[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return l[e]=r}(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}var l=Object.create(null);"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(r=function(){return{sprintf:i,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},8394:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Function]",l="[object Object]",s=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[i]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[a]=c["[object Map]"]=c["[object Number]"]=c[l]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var d,f,p,h="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,m="object"==typeof self&&self&&self.Object===Object&&self,v=h||m||Function("return this")(),g=t&&!t.nodeType&&t,b=g&&e&&!e.nodeType&&e,y=b&&b.exports===g,x=y&&h.process,w=function(){try{return b&&b.require&&b.require("util").types||x&&x.binding&&x.binding("util")}catch(e){}}(),k=w&&w.isTypedArray,S=Array.prototype,C=Function.prototype,E=Object.prototype,_=v["__core-js_shared__"],O=C.toString,P=E.hasOwnProperty,T=(d=/[^.]+$/.exec(_&&_.keys&&_.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",R=E.toString,A=O.call(Object),I=RegExp("^"+O.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),L=y?v.Buffer:void 0,j=v.Symbol,z=v.Uint8Array,M=(L&&L.allocUnsafe,f=Object.getPrototypeOf,p=Object,function(e){return f(p(e))}),F=Object.create,D=E.propertyIsEnumerable,N=S.splice,B=j?j.toStringTag:void 0,V=function(){try{var e=le(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),$=L?L.isBuffer:void 0,W=Math.max,U=Date.now,H=le(v,"Map"),q=le(Object,"create"),G=function(){function e(){}return function(t){if(!ye(t))return{};if(F)return F(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function X(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Z(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=this.__data__=new X(e);this.size=t.size}function K(e,t,n){(void 0!==n&&!fe(e[t],n)||void 0===n&&!(t in e))&&te(e,t,n)}function J(e,t,n){var r=e[t];P.call(e,t)&&fe(r,n)&&(void 0!==n||t in e)||te(e,t,n)}function ee(e,t){for(var n=e.length;n--;)if(fe(e[n][0],t))return n;return-1}function te(e,t,n){"__proto__"==t&&V?V(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}Y.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},Y.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Y.prototype.get=function(e){var t=this.__data__;if(q){var n=t[e];return n===r?void 0:n}return P.call(t,e)?t[e]:void 0},Y.prototype.has=function(e){var t=this.__data__;return q?void 0!==t[e]:P.call(t,e)},Y.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=q&&void 0===t?r:t,this},X.prototype.clear=function(){this.__data__=[],this.size=0},X.prototype.delete=function(e){var t=this.__data__,n=ee(t,e);return!(n<0||(n==t.length-1?t.pop():N.call(t,n,1),--this.size,0))},X.prototype.get=function(e){var t=this.__data__,n=ee(t,e);return n<0?void 0:t[n][1]},X.prototype.has=function(e){return ee(this.__data__,e)>-1},X.prototype.set=function(e,t){var n=this.__data__,r=ee(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Z.prototype.clear=function(){this.size=0,this.__data__={hash:new Y,map:new(H||X),string:new Y}},Z.prototype.delete=function(e){var t=ae(this,e).delete(e);return this.size-=t?1:0,t},Z.prototype.get=function(e){return ae(this,e).get(e)},Z.prototype.has=function(e){return ae(this,e).has(e)},Z.prototype.set=function(e,t){var n=ae(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Q.prototype.clear=function(){this.__data__=new X,this.size=0},Q.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Q.prototype.get=function(e){return this.__data__.get(e)},Q.prototype.has=function(e){return this.__data__.has(e)},Q.prototype.set=function(e,t){var n=this.__data__;if(n instanceof X){var r=n.__data__;if(!H||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Z(r)}return n.set(e,t),this.size=n.size,this};function ne(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":B&&B in Object(e)?function(e){var t=P.call(e,B),n=e[B];try{e[B]=void 0;var r=!0}catch(e){}var o=R.call(e);return r&&(t?e[B]=n:delete e[B]),o}(e):function(e){return R.call(e)}(e)}function re(e){return xe(e)&&ne(e)==i}function oe(e,t,n,r,o){e!==t&&function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var l=i[++r];if(!1===t(o[l],l,o))break}}(t,(function(i,a){if(o||(o=new Q),ye(i))!function(e,t,n,r,o,i,a){var s=ce(e,n),u=ce(t,n),c=a.get(u);if(c)K(e,n,c);else{var d,f,p,h,m,v=i?i(s,u,n+"",e,t,a):void 0,g=void 0===v;if(g){var b=he(u),y=!b&&ve(u),x=!b&&!y&&we(u);v=u,b||y||x?he(s)?v=s:xe(m=s)&&me(m)?v=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(s):y?(g=!1,v=function(e){return e.slice()}(u)):x?(g=!1,h=new(p=(d=u).buffer).constructor(p.byteLength),new z(h).set(new z(p)),f=h,v=new d.constructor(f,d.byteOffset,d.length)):v=[]:function(e){if(!xe(e)||ne(e)!=l)return!1;var t=M(e);if(null===t)return!0;var n=P.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&O.call(n)==A}(u)||pe(u)?(v=s,pe(s)?v=function(e){return function(e,t,n){var r=!n;n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],l=void 0;void 0===l&&(l=e[a]),r?te(n,a,l):J(n,a,l)}return n}(e,ke(e))}(s):ye(s)&&!ge(s)||(v=function(e){return"function"!=typeof e.constructor||ue(e)?{}:G(M(e))}(u))):g=!1}g&&(a.set(u,v),o(v,u,r,i,a),a.delete(u)),K(e,n,v)}}(e,t,a,n,oe,r,o);else{var s=r?r(ce(e,a),i,a+"",e,t,o):void 0;void 0===s&&(s=i),K(e,a,s)}}),ke)}var ie=V?function(e,t){return V(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Ee;function ae(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function le(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!ye(e)||function(e){return!!T&&T in e}(e))&&(ge(e)?I:s).test(function(e){if(null!=e){try{return O.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}function se(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&u.test(e))&&e>-1&&e%1==0&&e<t}function ue(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||E)}function ce(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var de=function(e){var t=0,n=0;return function(){var r=U(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ie);function fe(e,t){return e===t||e!=e&&t!=t}var pe=re(function(){return arguments}())?re:function(e){return xe(e)&&P.call(e,"callee")&&!D.call(e,"callee")},he=Array.isArray;function me(e){return null!=e&&be(e.length)&&!ge(e)}var ve=$||function(){return!1};function ge(e){if(!ye(e))return!1;var t=ne(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function be(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function ye(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function xe(e){return null!=e&&"object"==typeof e}var we=k?function(e){return function(t){return e(t)}}(k):function(e){return xe(e)&&be(e.length)&&!!c[ne(e)]};function ke(e){return me(e)?function(e,t){var n=he(e),r=!n&&pe(e),o=!n&&!r&&ve(e),i=!n&&!r&&!o&&we(e),a=n||r||o||i,l=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],s=l.length;for(var u in e)!t&&!P.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||se(u,s))||l.push(u);return l}(e,!0):function(e){if(!ye(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ue(e),n=[];for(var r in e)("constructor"!=r||!t&&P.call(e,r))&&n.push(r);return n}(e)}var Se,Ce=(Se=function(e,t,n,r){oe(e,t,n,r)},function(e,t){return de(function(e,t,n){return t=W(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=W(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=r[o];return l[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,l)}}(e,t,Ee),e+"")}((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Se.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!ye(n))return!1;var r=typeof t;return!!("number"==r?me(n)&&se(t,n.length):"string"==r&&t in n)&&fe(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&Se(e,a,n,o)}return e})));function Ee(e){return e}e.exports=Ce},9982:(e,t,n)=>{"use strict";e.exports=n(7463)}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r](i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";var e=n(6694),t=n.n(e),r=n(5338),o=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(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]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i=Math.abs,a=String.fromCharCode,l=Object.assign;function s(e){return e.trim()}function u(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function d(e,t){return 0|e.charCodeAt(t)}function f(e,t,n){return e.slice(t,n)}function p(e){return e.length}function h(e){return e.length}function m(e,t){return t.push(e),e}var v=1,g=1,b=0,y=0,x=0,w="";function k(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:v,column:g,length:a,return:""}}function S(e,t){return l(k("",null,null,"",null,null,0),e,{length:-e.length},t)}function C(){return x=y>0?d(w,--y):0,g--,10===x&&(g=1,v--),x}function E(){return x=y<b?d(w,y++):0,g++,10===x&&(g=1,v++),x}function _(){return d(w,y)}function O(){return y}function P(e,t){return f(w,e,t)}function T(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 R(e){return v=g=1,b=p(w=e),y=0,[]}function A(e){return w="",e}function I(e){return s(P(y-1,z(91===e?e+2:40===e?e+1:e)))}function L(e){for(;(x=_())&&x<33;)E();return T(e)>2||T(x)>3?"":" "}function j(e,t){for(;--t&&E()&&!(x<48||x>102||x>57&&x<65||x>70&&x<97););return P(e,O()+(t<6&&32==_()&&32==E()))}function z(e){for(;E();)switch(x){case e:return y;case 34:case 39:34!==e&&39!==e&&z(x);break;case 40:41===e&&z(e);break;case 92:E()}return y}function M(e,t){for(;E()&&e+x!==57&&(e+x!==84||47!==_()););return"/*"+P(t,y-1)+"*"+a(47===e?e:E())}function F(e){for(;!T(_());)E();return P(e,y)}var D="-ms-",N="-moz-",B="-webkit-",V="comm",$="rule",W="decl",U="@keyframes";function H(e,t){for(var n="",r=h(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function q(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case W:return e.return=e.return||e.value;case V:return"";case U:return e.return=e.value+"{"+H(e.children,r)+"}";case $:e.value=e.props.join(",")}return p(n=H(e.children,r))?e.return=e.value+"{"+n+"}":""}function G(e){return A(Y("",null,null,null,[""],e=R(e),0,[0],e))}function Y(e,t,n,r,o,i,l,s,f){for(var h=0,v=0,g=l,b=0,y=0,x=0,w=1,k=1,S=1,P=0,T="",R=o,A=i,z=r,D=T;k;)switch(x=P,P=E()){case 40:if(108!=x&&58==d(D,g-1)){-1!=c(D+=u(I(P),"&","&\f"),"&\f")&&(S=-1);break}case 34:case 39:case 91:D+=I(P);break;case 9:case 10:case 13:case 32:D+=L(x);break;case 92:D+=j(O()-1,7);continue;case 47:switch(_()){case 42:case 47:m(Z(M(E(),O()),t,n),f);break;default:D+="/"}break;case 123*w:s[h++]=p(D)*S;case 125*w:case 59:case 0:switch(P){case 0:case 125:k=0;case 59+v:-1==S&&(D=u(D,/\f/g,"")),y>0&&p(D)-g&&m(y>32?Q(D+";",r,n,g-1):Q(u(D," ","")+";",r,n,g-2),f);break;case 59:D+=";";default:if(m(z=X(D,t,n,h,v,o,s,T,R=[],A=[],g),i),123===P)if(0===v)Y(D,t,z,z,R,i,g,s,A);else switch(99===b&&110===d(D,3)?100:b){case 100:case 108:case 109:case 115:Y(e,z,z,r&&m(X(e,z,z,0,0,o,s,T,o,R=[],g),A),o,A,g,s,r?R:A);break;default:Y(D,z,z,z,[""],A,0,s,A)}}h=v=y=0,w=S=1,T=D="",g=l;break;case 58:g=1+p(D),y=x;default:if(w<1)if(123==P)--w;else if(125==P&&0==w++&&125==C())continue;switch(D+=a(P),P*w){case 38:S=v>0?1:(D+="\f",-1);break;case 44:s[h++]=(p(D)-1)*S,S=1;break;case 64:45===_()&&(D+=I(E())),b=_(),v=g=p(T=D+=F(O())),P++;break;case 45:45===x&&2==p(D)&&(w=0)}}return i}function X(e,t,n,r,o,a,l,c,d,p,m){for(var v=o-1,g=0===o?a:[""],b=h(g),y=0,x=0,w=0;y<r;++y)for(var S=0,C=f(e,v+1,v=i(x=l[y])),E=e;S<b;++S)(E=s(x>0?g[S]+" "+C:u(C,/&\f/g,g[S])))&&(d[w++]=E);return k(e,t,n,0===o?$:c,d,p,m)}function Z(e,t,n){return k(e,t,n,V,a(x),f(e,2,-2),0)}function Q(e,t,n,r){return k(e,t,n,W,f(e,0,r),f(e,r+1,-1),r)}var K=function(e,t,n){for(var r=0,o=0;r=o,o=_(),38===r&&12===o&&(t[n]=1),!T(o);)E();return P(e,y)},J=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var o=[],i=function(e,t){return A(function(e,t){var n=-1,r=44;do{switch(T(r)){case 0:38===r&&12===_()&&(t[n]=1),e[n]+=K(y-1,t,n);break;case 2:e[n]+=I(r);break;case 4:if(44===r){e[++n]=58===_()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=a(r)}}while(r=E());return e}(R(e),t))}(t,o),l=n.props,s=0,u=0;s<i.length;s++)for(var c=0;c<l.length;c++,u++)e.props[u]=o[s]?i[s].replace(/&\f/g,l[c]):l[c]+" "+i[s]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^d(e,0)?(((t<<2^d(e,0))<<2^d(e,1))<<2^d(e,2))<<2^d(e,3):0}(e,t)){case 5103:return B+"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 B+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return B+e+N+e+D+e+e;case 6828:case 4268:return B+e+D+e+e;case 6165:return B+e+D+"flex-"+e+e;case 5187:return B+e+u(e,/(\w+).+(:[^]+)/,B+"box-$1$2"+D+"flex-$1$2")+e;case 5443:return B+e+D+"flex-item-"+u(e,/flex-|-self/,"")+e;case 4675:return B+e+D+"flex-line-pack"+u(e,/align-content|flex-|-self/,"")+e;case 5548:return B+e+D+u(e,"shrink","negative")+e;case 5292:return B+e+D+u(e,"basis","preferred-size")+e;case 6060:return B+"box-"+u(e,"-grow","")+B+e+D+u(e,"grow","positive")+e;case 4554:return B+u(e,/([^-])(transform)/g,"$1"+B+"$2")+e;case 6187:return u(u(u(e,/(zoom-|grab)/,B+"$1"),/(image-set)/,B+"$1"),e,"")+e;case 5495:case 3959:return u(e,/(image-set\([^]*)/,B+"$1$`$1");case 4968:return u(u(e,/(.+:)(flex-)?(.*)/,B+"box-pack:$3"+D+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+B+e+e;case 4095:case 3583:case 4068:case 2532:return u(e,/(.+)-inline(.+)/,B+"$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(p(e)-1-t>6)switch(d(e,t+1)){case 109:if(45!==d(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1"+B+"$2-$3$1"+N+(108==d(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ne(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==d(e,t+1))break;case 6444:switch(d(e,p(e)-3-(~c(e,"!important")&&10))){case 107:return u(e,":",":"+B)+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+B+(45===d(e,14)?"inline-":"")+"box$3$1"+B+"$2$3$1"+D+"$2box$3")+e}break;case 5936:switch(d(e,t+11)){case 114:return B+e+D+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return B+e+D+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return B+e+D+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return B+e+D+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case W:e.return=ne(e.value,e.length);break;case U:return H([S(e,{value:u(e.value,"@","@"+B)})],r);case $:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return H([S(e,{props:[u(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return H([S(e,{props:[u(t,/:(plac\w+)/,":"+B+"input-$1")]}),S(e,{props:[u(t,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[u(t,/:(plac\w+)/,D+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,i,a=e.stylisPlugins||re,l={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)l[t[n]]=!0;s.push(e)}));var u,c,d,f,p=[q,(f=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],m=(c=[ee,te].concat(a,p),d=h(c),function(e,t,n,r){for(var o="",i=0;i<d;i++)o+=c[i](e,t,n,r)||"";return o});i=function(e,t,n,r){u=n,function(e){H(G(e),m)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)};var v={key:t,sheet:new o({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:i};return v.sheet.hydrate(s),v};function ie(){return ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ie.apply(null,arguments)}var ae=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}};function le(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}var se=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},ue=function(e,t,n){se(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},ce={animationIterationCount:1,aspectRatio: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,scale: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};function de(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var fe=/[A-Z]|^ms/g,pe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,he=function(e){return 45===e.charCodeAt(1)},me=function(e){return null!=e&&"boolean"!=typeof e},ve=de((function(e){return he(e)?e:e.replace(fe,"-$&").toLowerCase()})),ge=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(pe,(function(e,t,n){return ye={name:t,styles:n,next:ye},t}))}return 1===ce[e]||he(e)||"number"!=typeof t||0===t?t:t+"px"};function be(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return ye={name:o.name,styles:o.styles,next:ye},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)ye={name:a.name,styles:a.styles,next:ye},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=be(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var l=a;null!=t&&void 0!==t[l]?r+=i+"{"+t[l]+"}":me(l)&&(r+=ve(i)+":"+ge(i,l)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=be(e,t,a);switch(i){case"animation":case"animationName":r+=ve(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)me(a[u])&&(r+=ve(i)+":"+ge(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var l=ye,s=n(e);return ye=l,be(e,t,s)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var ye,xe=/label:\s*([^\s;{]+)\s*(;|$)/g;function we(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";ye=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=be(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=be(n,t,e[a]),r&&(o+=i[a]);xe.lastIndex=0;for(var l,s="";null!==(l=xe.exec(o));)s+="-"+l[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:ye}}var ke,Se,Ce=!!e.useInsertionEffect&&e.useInsertionEffect,Ee=Ce||function(e){return e()},_e=Ce||e.useLayoutEffect,Oe=e.createContext("undefined"!=typeof HTMLElement?oe({key:"css"}):null),Pe=(Oe.Provider,function(t){return(0,e.forwardRef)((function(n,r){var o=(0,e.useContext)(Oe);return t(n,o,r)}))}),Te=e.createContext({}),Re=ae((function(e){return ae((function(t){return function(e,t){return"function"==typeof t?t(e):ie({},e,t)}(e,t)}))})),Ae=function(t){var n=e.useContext(Te);return t.theme!==n&&(n=Re(n)(t.theme)),e.createElement(Te.Provider,{value:n},t.children)},Ie={}.hasOwnProperty,Le="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",je=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return se(t,n,r),Ee((function(){return ue(t,n,r)})),null},ze=Pe((function(t,n,r){var o=t.css;"string"==typeof o&&void 0!==n.registered[o]&&(o=n.registered[o]);var i=t[Le],a=[o],l="";"string"==typeof t.className?l=le(n.registered,a,t.className):null!=t.className&&(l=t.className+" ");var s=we(a,void 0,e.useContext(Te));l+=n.key+"-"+s.name;var u={};for(var c in t)Ie.call(t,c)&&"css"!==c&&c!==Le&&(u[c]=t[c]);return u.className=l,r&&(u.ref=r),e.createElement(e.Fragment,null,e.createElement(je,{cache:n,serialized:s,isStringTag:"string"==typeof i}),e.createElement(i,u))})),Me=(n(4146),function(t,n){var r=arguments;if(null==n||!Ie.call(n,"css"))return e.createElement.apply(void 0,r);var o=r.length,i=new Array(o);i[0]=ze,i[1]=function(e,t){var n={};for(var r in t)Ie.call(t,r)&&(n[r]=t[r]);return n[Le]=e,n}(t,n);for(var a=2;a<o;a++)i[a]=r[a];return e.createElement.apply(null,i)});ke=Me||(Me={}),Se||(Se=ke.JSX||(ke.JSX={}));var Fe=Pe((function(t,n){var r=we([t.styles],void 0,e.useContext(Te)),o=e.useRef();return _e((function(){var e=n.key+"-global",t=new n.sheet.constructor({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return n.sheet.tags.length&&(t.before=n.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),t.hydrate([a])),o.current=[t,i],function(){t.flush()}}),[n]),_e((function(){var e=o.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&ue(n,r.next,!0),t.tags.length){var i=t.tags[t.tags.length-1].nextElementSibling;t.before=i,t.flush()}n.insert("",r,t,!1)}}),[n,r.name]),null}));function De(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return we(t)}function Ne(){var e=De.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Be=n(4848),Ve=String.raw,$e=Ve`
  :root,
  :host {
    --chakra-vh: 100vh;
  }

  @supports (height: -webkit-fill-available) {
    :root,
    :host {
      --chakra-vh: -webkit-fill-available;
    }
  }

  @supports (height: -moz-fill-available) {
    :root,
    :host {
      --chakra-vh: -moz-fill-available;
    }
  }

  @supports (height: 100dvh) {
    :root,
    :host {
      --chakra-vh: 100dvh;
    }
  }
`,We=()=>(0,Be.jsx)(Fe,{styles:$e}),Ue=({scope:e=""})=>(0,Be.jsx)(Fe,{styles:Ve`
      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%;
        margin: 0;
        font-feature-settings: "kern";
      }

      ${e} :where(*, *::before, *::after) {
        border-width: 0;
        border-style: solid;
        box-sizing: border-box;
        word-wrap: break-word;
      }

      main {
        display: block;
      }

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

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

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

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

      ${e} :where(b, strong) {
        font-weight: bold;
      }

      ${e} small {
        font-size: 80%;
      }

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

      ${e} sub {
        bottom: -0.25em;
      }

      ${e} sup {
        top: -0.5em;
      }

      ${e} img {
        border-style: none;
      }

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

      ${e} :where(button, input) {
        overflow: visible;
      }

      ${e} :where(button, select) {
        text-transform: none;
      }

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

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

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

      ${e} progress {
        vertical-align: baseline;
      }

      ${e} textarea {
        overflow: auto;
      }

      ${e} :where([type="checkbox"], [type="radio"]) {
        box-sizing: border-box;
        padding: 0;
      }

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

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

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

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

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

      ${e} details {
        display: block;
      }

      ${e} summary {
        display: list-item;
      }

      template {
        display: none;
      }

      [hidden] {
        display: none !important;
      }

      ${e} :where(
          blockquote,
          dl,
          dd,
          h1,
          h2,
          h3,
          h4,
          h5,
          h6,
          hr,
          figure,
          p,
          pre
        ) {
        margin: 0;
      }

      ${e} button {
        background: transparent;
        padding: 0;
      }

      ${e} fieldset {
        margin: 0;
        padding: 0;
      }

      ${e} :where(ol, ul) {
        margin: 0;
        padding: 0;
      }

      ${e} textarea {
        resize: vertical;
      }

      ${e} :where(button, [role="button"]) {
        cursor: pointer;
      }

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

      ${e} table {
        border-collapse: collapse;
      }

      ${e} :where(h1, h2, h3, h4, h5, h6) {
        font-size: inherit;
        font-weight: inherit;
      }

      ${e} :where(button, input, optgroup, select, textarea) {
        padding: 0;
        line-height: inherit;
        color: inherit;
      }

      ${e} :where(img, svg, video, canvas, audio, iframe, embed, object) {
        display: block;
      }

      ${e} :where(img, video) {
        max-width: 100%;
        height: auto;
      }

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

      ${e} select::-ms-expand {
        display: none;
      }

      ${$e}
    `});function He(t={}){const{name:n,strict:r=!0,hookName:o="useContext",providerName:i="Provider",errorMessage:a,defaultValue:l}=t,s=(0,e.createContext)(l);return s.displayName=n,[s.Provider,function t(){var n;const l=(0,e.useContext)(s);if(!l&&r){const e=new Error(null!=a?a:`${o} returned \`undefined\`. Seems you forgot to wrap component within ${i}`);throw e.name="ContextError",null==(n=Error.captureStackTrace)||n.call(Error,e,t),e}return l},s]}var[qe,Ge]=He({strict:!1,name:"PortalManagerContext"});function Ye(e){const{children:t,zIndex:n}=e;return(0,Be.jsx)(qe,{value:{zIndex:n},children:t})}Ye.displayName="PortalManager";var Xe=(0,e.createContext)({});function Ze(){const t=(0,e.useContext)(Xe);if(void 0===t)throw new Error("useColorMode must be used within a ColorModeProvider");return t}function Qe(e,t){const{colorMode:n}=Ze();return"dark"===n?t:e}Xe.displayName="ColorModeContext";var Ke=(...e)=>e.filter(Boolean).join(" ");function Je(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}function et(e,...t){return tt(e)?e(...t):e}var tt=e=>"function"==typeof e,nt=e=>e?"":void 0,rt=e=>!!e||void 0;function ot(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}var it=n(8394),at=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e;function lt(e){const{scale:t,transform:n,compose:r}=e;return(e,o)=>{var i;const a=((e,t)=>n=>{const r=String(t),o=(e=>/!(important)?$/.test(e))(r),i=at(r),a=e?`${e}.${i}`:i;let l=Je(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return l=at(l),o?`${l} !important`:l})(t,e)(o);let l=null!=(i=null==n?void 0:n(a,o))?i:a;return r&&(l=r(l,o)),l}}var st=(...e)=>t=>e.reduce(((e,t)=>t(e)),t);function ut(e,t){return n=>{const r={property:n,scale:e};return r.transform=lt({scale:e,transform:t}),r}}var ct=({rtl:e,ltr:t})=>n=>"rtl"===n.direction?e:t,dt=["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))"],ft={"--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(" ")},pt={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,/*!*/ /*!*/)"},ht={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},mt={"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"},vt=new Set(Object.values(mt)),gt=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),bt=e=>e.trim(),yt=e=>"string"==typeof e&&e.includes("(")&&e.includes(")"),xt=e=>t=>`${e}(${t})`,wt={filter:e=>"auto"!==e?e:ft,backdropFilter:e=>"auto"!==e?e:pt,ring:e=>function(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(", ")}}(wt.px(e)),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...dt].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...dt].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;const{unitless:t}=(e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}})(e);return t||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:100*e+"%",float:(e,t)=>"rtl"===t.direction?{left:"right",right:"left"}[e]:e,degree(e){if(function(e){return/^var\(--.+\)$/.test(e)}(e)||null==e)return e;const t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>function(e,t){if(null==e||gt.has(e))return e;if(!yt(e)&&!gt.has(e))return`url('${e}')`;const n=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),r=null==n?void 0:n[1],o=null==n?void 0:n[2];if(!r||!o)return e;const i=r.includes("-gradient")?r:`${r}-gradient`,[a,...l]=o.split(",").map(bt).filter(Boolean);if(0===(null==l?void 0:l.length))return e;const s=a in mt?mt[a]:a;return l.unshift(s),`${i}(${l.map((e=>{if(vt.has(e))return e;const n=e.indexOf(" "),[r,o]=-1!==n?[e.substr(0,n),e.substr(n+1)]:[e],i=yt(o)?o:o&&o.split(" "),a=`colors.${r}`,l=a in t.__cssMap?t.__cssMap[a].varRef:r;return i?[l,...Array.isArray(i)?i:[i]].join(" "):l})).join(", ")})`}(e,null!=t?t:{}),blur:xt("blur"),opacity:xt("opacity"),brightness:xt("brightness"),contrast:xt("contrast"),dropShadow:xt("drop-shadow"),grayscale:xt("grayscale"),hueRotate:e=>xt("hue-rotate")(wt.degree(e)),invert:xt("invert"),saturate:xt("saturate"),sepia:xt("sepia"),bgImage:e=>null==e||yt(e)||gt.has(e)?e:`url(${e})`,outline(e){const t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;const{space:n,divide:r}=null!=(t=ht[e])?t:{},o={flexDirection:e};return n&&(o[n]=1),r&&(o[r]=1),o}},kt={borderWidths:ut("borderWidths"),borderStyles:ut("borderStyles"),colors:ut("colors"),borders:ut("borders"),gradients:ut("gradients",wt.gradient),radii:ut("radii",wt.px),space:ut("space",st(wt.vh,wt.px)),spaceT:ut("space",st(wt.vh,wt.px)),degreeT:e=>({property:e,transform:wt.degree}),prop:(e,t,n)=>({property:e,scale:t,...t&&{transform:lt({scale:t,transform:n})}}),propT:(e,t)=>({property:e,transform:t}),sizes:ut("sizes",st(wt.vh,wt.px)),sizesT:ut("sizes",st(wt.vh,wt.fraction)),shadows:ut("shadows"),logical:function(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:ct(t),transform:n?lt({scale:n,compose:r}):r}},blur:ut("blur",wt.blur)},St={background:kt.colors("background"),backgroundColor:kt.colors("backgroundColor"),backgroundImage:kt.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:wt.bgClip},bgSize:kt.prop("backgroundSize"),bgPosition:kt.prop("backgroundPosition"),bg:kt.colors("background"),bgColor:kt.colors("backgroundColor"),bgPos:kt.prop("backgroundPosition"),bgRepeat:kt.prop("backgroundRepeat"),bgAttachment:kt.prop("backgroundAttachment"),bgGradient:kt.gradients("backgroundImage"),bgClip:{transform:wt.bgClip}};Object.assign(St,{bgImage:St.backgroundImage,bgImg:St.backgroundImage});var Ct={border:kt.borders("border"),borderWidth:kt.borderWidths("borderWidth"),borderStyle:kt.borderStyles("borderStyle"),borderColor:kt.colors("borderColor"),borderRadius:kt.radii("borderRadius"),borderTop:kt.borders("borderTop"),borderBlockStart:kt.borders("borderBlockStart"),borderTopLeftRadius:kt.radii("borderTopLeftRadius"),borderStartStartRadius:kt.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:kt.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:kt.radii("borderTopRightRadius"),borderStartEndRadius:kt.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:kt.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:kt.borders("borderRight"),borderInlineEnd:kt.borders("borderInlineEnd"),borderBottom:kt.borders("borderBottom"),borderBlockEnd:kt.borders("borderBlockEnd"),borderBottomLeftRadius:kt.radii("borderBottomLeftRadius"),borderBottomRightRadius:kt.radii("borderBottomRightRadius"),borderLeft:kt.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:kt.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:kt.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:kt.borders(["borderLeft","borderRight"]),borderInline:kt.borders("borderInline"),borderY:kt.borders(["borderTop","borderBottom"]),borderBlock:kt.borders("borderBlock"),borderTopWidth:kt.borderWidths("borderTopWidth"),borderBlockStartWidth:kt.borderWidths("borderBlockStartWidth"),borderTopColor:kt.colors("borderTopColor"),borderBlockStartColor:kt.colors("borderBlockStartColor"),borderTopStyle:kt.borderStyles("borderTopStyle"),borderBlockStartStyle:kt.borderStyles("borderBlockStartStyle"),borderBottomWidth:kt.borderWidths("borderBottomWidth"),borderBlockEndWidth:kt.borderWidths("borderBlockEndWidth"),borderBottomColor:kt.colors("borderBottomColor"),borderBlockEndColor:kt.colors("borderBlockEndColor"),borderBottomStyle:kt.borderStyles("borderBottomStyle"),borderBlockEndStyle:kt.borderStyles("borderBlockEndStyle"),borderLeftWidth:kt.borderWidths("borderLeftWidth"),borderInlineStartWidth:kt.borderWidths("borderInlineStartWidth"),borderLeftColor:kt.colors("borderLeftColor"),borderInlineStartColor:kt.colors("borderInlineStartColor"),borderLeftStyle:kt.borderStyles("borderLeftStyle"),borderInlineStartStyle:kt.borderStyles("borderInlineStartStyle"),borderRightWidth:kt.borderWidths("borderRightWidth"),borderInlineEndWidth:kt.borderWidths("borderInlineEndWidth"),borderRightColor:kt.colors("borderRightColor"),borderInlineEndColor:kt.colors("borderInlineEndColor"),borderRightStyle:kt.borderStyles("borderRightStyle"),borderInlineEndStyle:kt.borderStyles("borderInlineEndStyle"),borderTopRadius:kt.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:kt.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:kt.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:kt.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(Ct,{rounded:Ct.borderRadius,roundedTop:Ct.borderTopRadius,roundedTopLeft:Ct.borderTopLeftRadius,roundedTopRight:Ct.borderTopRightRadius,roundedTopStart:Ct.borderStartStartRadius,roundedTopEnd:Ct.borderStartEndRadius,roundedBottom:Ct.borderBottomRadius,roundedBottomLeft:Ct.borderBottomLeftRadius,roundedBottomRight:Ct.borderBottomRightRadius,roundedBottomStart:Ct.borderEndStartRadius,roundedBottomEnd:Ct.borderEndEndRadius,roundedLeft:Ct.borderLeftRadius,roundedRight:Ct.borderRightRadius,roundedStart:Ct.borderInlineStartRadius,roundedEnd:Ct.borderInlineEndRadius,borderStart:Ct.borderInlineStart,borderEnd:Ct.borderInlineEnd,borderTopStartRadius:Ct.borderStartStartRadius,borderTopEndRadius:Ct.borderStartEndRadius,borderBottomStartRadius:Ct.borderEndStartRadius,borderBottomEndRadius:Ct.borderEndEndRadius,borderStartRadius:Ct.borderInlineStartRadius,borderEndRadius:Ct.borderInlineEndRadius,borderStartWidth:Ct.borderInlineStartWidth,borderEndWidth:Ct.borderInlineEndWidth,borderStartColor:Ct.borderInlineStartColor,borderEndColor:Ct.borderInlineEndColor,borderStartStyle:Ct.borderInlineStartStyle,borderEndStyle:Ct.borderInlineEndStyle});var Et={color:kt.colors("color"),textColor:kt.colors("color"),fill:kt.colors("fill"),stroke:kt.colors("stroke")},_t={boxShadow:kt.shadows("boxShadow"),mixBlendMode:!0,blendMode:kt.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:kt.prop("backgroundBlendMode"),opacity:!0};Object.assign(_t,{shadow:_t.boxShadow});var Ot={filter:{transform:wt.filter},blur:kt.blur("--chakra-blur"),brightness:kt.propT("--chakra-brightness",wt.brightness),contrast:kt.propT("--chakra-contrast",wt.contrast),hueRotate:kt.propT("--chakra-hue-rotate",wt.hueRotate),invert:kt.propT("--chakra-invert",wt.invert),saturate:kt.propT("--chakra-saturate",wt.saturate),dropShadow:kt.propT("--chakra-drop-shadow",wt.dropShadow),backdropFilter:{transform:wt.backdropFilter},backdropBlur:kt.blur("--chakra-backdrop-blur"),backdropBrightness:kt.propT("--chakra-backdrop-brightness",wt.brightness),backdropContrast:kt.propT("--chakra-backdrop-contrast",wt.contrast),backdropHueRotate:kt.propT("--chakra-backdrop-hue-rotate",wt.hueRotate),backdropInvert:kt.propT("--chakra-backdrop-invert",wt.invert),backdropSaturate:kt.propT("--chakra-backdrop-saturate",wt.saturate)},Pt={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:wt.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:kt.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:kt.space("gap"),rowGap:kt.space("rowGap"),columnGap:kt.space("columnGap")};Object.assign(Pt,{flexDir:Pt.flexDirection});var Tt={gridGap:kt.space("gridGap"),gridColumnGap:kt.space("gridColumnGap"),gridRowGap:kt.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},Rt={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:wt.outline},outlineOffset:!0,outlineColor:kt.colors("outlineColor")},At={width:kt.sizesT("width"),inlineSize:kt.sizesT("inlineSize"),height:kt.sizes("height"),blockSize:kt.sizes("blockSize"),boxSize:kt.sizes(["width","height"]),minWidth:kt.sizes("minWidth"),minInlineSize:kt.sizes("minInlineSize"),minHeight:kt.sizes("minHeight"),minBlockSize:kt.sizes("minBlockSize"),maxWidth:kt.sizes("maxWidth"),maxInlineSize:kt.sizes("maxInlineSize"),maxHeight:kt.sizes("maxHeight"),maxBlockSize:kt.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var n,r,o;const i=`@media screen and (min-width: ${null!=(o=null==(r=null==(n=t.__breakpoints)?void 0:n.get(e))?void 0:r.minW)?o:e})`;return{[i]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var n,r,o;const i=`@media screen and (max-width: ${null!=(o=null==(r=null==(n=t.__breakpoints)?void 0:n.get(e))?void 0:r._minW)?o:e})`;return{[i]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:kt.propT("float",wt.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(At,{w:At.width,h:At.height,minW:At.minWidth,maxW:At.maxWidth,minH:At.minHeight,maxH:At.maxHeight,overscroll:At.overscrollBehavior,overscrollX:At.overscrollBehaviorX,overscrollY:At.overscrollBehaviorY});var It={listStyleType:!0,listStylePosition:!0,listStylePos:kt.prop("listStylePosition"),listStyleImage:!0,listStyleImg:kt.prop("listStyleImage")},Lt=(e=>{const t=new WeakMap;return(n,r,o,i)=>{if(void 0===n)return e(n,r,o);t.has(n)||t.set(n,new Map);const a=t.get(n);if(a.has(r))return a.get(r);const l=e(n,r,o,i);return a.set(r,l),l}})((function(e,t,n,r){const o="string"==typeof t?t.split("."):[t];for(r=0;r<o.length&&e;r+=1)e=e[o[r]];return void 0===e?n:e})),jt={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},zt={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Mt=(e,t,n)=>{const r={},o=Lt(e,t,{});for(const e in o)e in n&&null!=n[e]||(r[e]=o[e]);return r},Ft={srOnly:{transform:e=>!0===e?jt:"focusable"===e?zt:{}},layerStyle:{processResult:!0,transform:(e,t,n)=>Mt(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>Mt(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>Mt(t,e,n)}},Dt={position:!0,pos:kt.prop("position"),zIndex:kt.prop("zIndex","zIndices"),inset:kt.spaceT("inset"),insetX:kt.spaceT(["left","right"]),insetInline:kt.spaceT("insetInline"),insetY:kt.spaceT(["top","bottom"]),insetBlock:kt.spaceT("insetBlock"),top:kt.spaceT("top"),insetBlockStart:kt.spaceT("insetBlockStart"),bottom:kt.spaceT("bottom"),insetBlockEnd:kt.spaceT("insetBlockEnd"),left:kt.spaceT("left"),insetInlineStart:kt.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:kt.spaceT("right"),insetInlineEnd:kt.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Dt,{insetStart:Dt.insetInlineStart,insetEnd:Dt.insetInlineEnd});var Nt={ring:{transform:wt.ring},ringColor:kt.colors("--chakra-ring-color"),ringOffset:kt.prop("--chakra-ring-offset-width"),ringOffsetColor:kt.colors("--chakra-ring-offset-color"),ringInset:kt.prop("--chakra-ring-inset")},Bt={margin:kt.spaceT("margin"),marginTop:kt.spaceT("marginTop"),marginBlockStart:kt.spaceT("marginBlockStart"),marginRight:kt.spaceT("marginRight"),marginInlineEnd:kt.spaceT("marginInlineEnd"),marginBottom:kt.spaceT("marginBottom"),marginBlockEnd:kt.spaceT("marginBlockEnd"),marginLeft:kt.spaceT("marginLeft"),marginInlineStart:kt.spaceT("marginInlineStart"),marginX:kt.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:kt.spaceT("marginInline"),marginY:kt.spaceT(["marginTop","marginBottom"]),marginBlock:kt.spaceT("marginBlock"),padding:kt.space("padding"),paddingTop:kt.space("paddingTop"),paddingBlockStart:kt.space("paddingBlockStart"),paddingRight:kt.space("paddingRight"),paddingBottom:kt.space("paddingBottom"),paddingBlockEnd:kt.space("paddingBlockEnd"),paddingLeft:kt.space("paddingLeft"),paddingInlineStart:kt.space("paddingInlineStart"),paddingInlineEnd:kt.space("paddingInlineEnd"),paddingX:kt.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:kt.space("paddingInline"),paddingY:kt.space(["paddingTop","paddingBottom"]),paddingBlock:kt.space("paddingBlock")};Object.assign(Bt,{m:Bt.margin,mt:Bt.marginTop,mr:Bt.marginRight,me:Bt.marginInlineEnd,marginEnd:Bt.marginInlineEnd,mb:Bt.marginBottom,ml:Bt.marginLeft,ms:Bt.marginInlineStart,marginStart:Bt.marginInlineStart,mx:Bt.marginX,my:Bt.marginY,p:Bt.padding,pt:Bt.paddingTop,py:Bt.paddingY,px:Bt.paddingX,pb:Bt.paddingBottom,pl:Bt.paddingLeft,ps:Bt.paddingInlineStart,paddingStart:Bt.paddingInlineStart,pr:Bt.paddingRight,pe:Bt.paddingInlineEnd,paddingEnd:Bt.paddingInlineEnd});var Vt={textDecorationColor:kt.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:kt.shadows("textShadow")},$t={clipPath:!0,transform:kt.propT("transform",wt.transform),transformOrigin:!0,translateX:kt.spaceT("--chakra-translate-x"),translateY:kt.spaceT("--chakra-translate-y"),skewX:kt.degreeT("--chakra-skew-x"),skewY:kt.degreeT("--chakra-skew-y"),scaleX:kt.prop("--chakra-scale-x"),scaleY:kt.prop("--chakra-scale-y"),scale:kt.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:kt.degreeT("--chakra-rotate")},Wt={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:kt.prop("transitionDuration","transition.duration"),transitionProperty:kt.prop("transitionProperty","transition.property"),transitionTimingFunction:kt.prop("transitionTimingFunction","transition.easing")},Ut={fontFamily:kt.prop("fontFamily","fonts"),fontSize:kt.prop("fontSize","fontSizes",wt.px),fontWeight:kt.prop("fontWeight","fontWeights"),lineHeight:kt.prop("lineHeight","lineHeights"),letterSpacing:kt.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},Ht={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:kt.spaceT("scrollMargin"),scrollMarginTop:kt.spaceT("scrollMarginTop"),scrollMarginBottom:kt.spaceT("scrollMarginBottom"),scrollMarginLeft:kt.spaceT("scrollMarginLeft"),scrollMarginRight:kt.spaceT("scrollMarginRight"),scrollMarginX:kt.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:kt.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:kt.spaceT("scrollPadding"),scrollPaddingTop:kt.spaceT("scrollPaddingTop"),scrollPaddingBottom:kt.spaceT("scrollPaddingBottom"),scrollPaddingLeft:kt.spaceT("scrollPaddingLeft"),scrollPaddingRight:kt.spaceT("scrollPaddingRight"),scrollPaddingX:kt.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:kt.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function qt(e){return Je(e)&&e.reference?e.reference:String(e)}var Gt=(e,...t)=>t.map(qt).join(` ${e} `).replace(/calc/g,""),Yt=(...e)=>`calc(${Gt("+",...e)})`,Xt=(...e)=>`calc(${Gt("-",...e)})`,Zt=(...e)=>`calc(${Gt("*",...e)})`,Qt=(...e)=>`calc(${Gt("/",...e)})`,Kt=e=>{const t=qt(e);return null==t||Number.isNaN(parseFloat(t))?Zt(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},Jt=Object.assign((e=>({add:(...t)=>Jt(Yt(e,...t)),subtract:(...t)=>Jt(Xt(e,...t)),multiply:(...t)=>Jt(Zt(e,...t)),divide:(...t)=>Jt(Qt(e,...t)),negate:()=>Jt(Kt(e)),toString:()=>e.toString()})),{add:Yt,subtract:Xt,multiply:Zt,divide:Qt,negate:Kt});function en(e,t){return`var(${e}${t?`, ${t}`:""})`}function tn(e,t=""){return function(e){return function(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(e){return e.includes("\\.")||Number.isInteger(parseFloat(e.toString()))?e:e.replace(".","\\.")}(function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString())))}(`--${function(e,t=""){return[t,e].filter(Boolean).join("-")}(e,t)}`)}function nn(e,t,n){const r=tn(e,n);return{variable:r,reference:en(r,t)}}function rn(e){const t=null==e?0:e.length;return t?e[t-1]:void 0}function on(e){if(null==e)return e;const{unitless:t}=function(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}(e);return t||"number"==typeof e?`${e}px`:e}var an=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,ln=e=>Object.fromEntries(Object.entries(e).sort(an));function sn(e){const t=ln(e);return Object.assign(Object.values(t),t)}function un(e){var t;return e?"number"==typeof(e=null!=(t=on(e))?t:e)?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,(e=>`${parseFloat(e)+-.02}`)):e}function cn(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${on(e)})`),t&&n.push("and",`(max-width: ${on(t)})`),n.join(" ")}function dn(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";const n=sn(e),r=Object.entries(e).sort(an).map((([e,t],n,r)=>{var o;let[,i]=null!=(o=r[n+1])?o:[];return i=parseFloat(i)>0?un(i):void 0,{_minW:un(t),breakpoint:e,minW:t,maxW:i,maxWQuery:cn(null,i),minWQuery:cn(t),minMaxQuery:cn(t,i)}})),o=function(e){const t=Object.keys(ln(e));return new Set(t)}(e),i=Array.from(o.values());return{keys:o,normalized:n,isResponsive(e){const t=Object.keys(e);return t.length>0&&t.every((e=>o.has(e)))},asObject:ln(e),asArray:sn(e),details:r,get:e=>r.find((t=>t.breakpoint===e)),media:[null,...n.map((e=>cn(e))).slice(1)],toArrayValue(e){if(!Je(e))throw new Error("toArrayValue: value must be an object");const t=i.map((t=>{var n;return null!=(n=e[t])?n:null}));for(;null===rn(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce(((e,t,n)=>{const r=i[n];return null!=r&&null!=t&&(e[r]=t),e}),{})}}}var fn=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,pn=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,hn=(e,t)=>`${e}:focus-visible ${t}`,mn=(e,t)=>`${e}:focus-within ${t}`,vn=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,gn=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,bn=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,yn=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,xn=e=>kn((t=>e(t,"&")),"[role=group]","[data-group]",".group"),wn=e=>kn((t=>e(t,"~ &")),"[data-peer]",".peer"),kn=(e,...t)=>t.map(e).join(", "),Sn={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&: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",_firstLetter:"&::first-letter",_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:xn(fn),_peerHover:wn(fn),_groupFocus:xn(pn),_peerFocus:wn(pn),_groupFocusVisible:xn(hn),_peerFocusVisible:wn(hn),_groupActive:xn(vn),_peerActive:wn(vn),_groupDisabled:xn(gn),_peerDisabled:wn(gn),_groupInvalid:xn(bn),_peerInvalid:wn(bn),_groupChecked:xn(yn),_peerChecked:wn(yn),_groupFocusWithin:xn(mn),_peerFocusWithin:wn(mn),_peerPlaceholderShown:wn(((e,t)=>`${e}:placeholder-shown ${t}`)),_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]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},Cn=Object.keys(Sn);function En(e,t){return nn(String(e).replace(/\./g,"-"),void 0,t)}function _n(e,t,n={}){const{stop:r,getKey:o}=n;return function e(n,i=[]){var a;if(function(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)}(n)||Array.isArray(n)){const l={};for(const[s,u]of Object.entries(n)){const c=null!=(a=null==o?void 0:o(s))?a:s,d=[...i,c];if(null==r?void 0:r(n,d))return t(n,i);l[c]=e(u,d)}return l}return t(n,i)}(e)}var On=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"],Pn=e=>Cn.includes(e)||"default"===e;var Tn=it({},St,Ct,Et,Pt,At,Ot,Nt,Rt,Tt,Ft,Dt,_t,Bt,Ht,Ut,Vt,$t,It,Wt),Rn=Object.assign({},Bt,At,Pt,Tt,Dt),An=(Object.keys(Rn),[...Object.keys(Tn),...Cn]),In={...Tn,...Sn},Ln=e=>e in In,jn=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!function(e){return/^var\(--.+\)$/.test(e)}(t),zn=(e,t)=>{var n,r;if(null==t)return t;const o=t=>{var n,r;return null==(r=null==(n=e.__cssMap)?void 0:n[t])?void 0:r.varRef},i=e=>{var t;return null!=(t=o(e))?t:e},[a,l]=function(e){const t=[];let n="",r=!1;for(let o=0;o<e.length;o++){const i=e[o];"("===i?(r=!0,n+=i):")"===i?(r=!1,n+=i):","!==i||r?n+=i:(t.push(n),n="")}return n=n.trim(),n&&t.push(n),t}(t);return null!=(r=null!=(n=o(a))?n:i(l))?r:i(t)};var Mn=e=>t=>function(e){const{configs:t={},pseudos:n={},theme:r}=e,o=(e,i=!1)=>{var a,l,s;const u=et(e,r),c=(e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:o}=t.__breakpoints,i={};for(const a in e){let l=et(e[a],t);if(null==l)continue;if(l=Je(l)&&n(l)?r(l):l,!Array.isArray(l)){i[a]=l;continue}const s=l.slice(0,o.length).length;for(let e=0;e<s;e+=1){const t=null==o?void 0:o[e];t?(i[t]=i[t]||{},null!=l[e]&&(i[t][a]=l[e])):i[a]=l[e]}}return i})(u)(r);let d={};for(let e in c){let f=et(c[e],r);e in n&&(e=n[e]),jn(e,f)&&(f=zn(r,f));let p=t[e];if(!0===p&&(p={property:e}),Je(f)){d[e]=null!=(a=d[e])?a:{},d[e]=it({},d[e],o(f,!0));continue}let h=null!=(s=null==(l=null==p?void 0:p.transform)?void 0:l.call(p,f,r,u))?s:f;h=(null==p?void 0:p.processResult)?o(h,!0):h;const m=et(null==p?void 0:p.property,r);if(!i&&(null==p?void 0:p.static)){const e=et(p.static,r);d=it({},d,e)}if(m&&Array.isArray(m))for(const e of m)d[e]=h;else m?"&"===m&&Je(h)?d=it({},d,h):d[m]=h:Je(h)?d=it({},d,h):d[e]=h}return d};return o}({theme:t,pseudos:Sn,configs:Tn})(e);function Fn(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function Dn(e,t){for(let n=t+1;n<e.length;n++)if(null!=e[n])return n;return-1}function Nn(e){return function(e,t=[]){const n=Object.assign({},e);for(const e of t)e in n&&delete n[e];return n}(e,["styleConfig","size","variant","colorScheme"])}var Bn=(e=>{const t=new WeakMap;return(n,r,o,i)=>{if(void 0===n)return e(n,r,o);t.has(n)||t.set(n,new Map);const a=t.get(n);if(a.has(r))return a.get(r);const l=e(n,r,o,i);return a.set(r,l),l}})((function(e,t,n,r){const o="string"==typeof t?t.split("."):[t];for(r=0;r<o.length&&e;r+=1)e=e[o[r]];return void 0===e?n:e}));function Vn(e,t){const n={};return Object.keys(e).forEach((r=>{const o=e[r];t(o,r,e)&&(n[r]=o)})),n}var $n=e=>Vn(e,(e=>null!=e));function Wn(e,...t){return"function"==typeof e?e(...t):e}function Un(t){const{cssVarsRoot:n,theme:r,children:o}=t,i=(0,e.useMemo)((()=>function(e){var t;const n=function(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...o}=e;return o}(e),r=function(e){return function(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}(e,On)}(n),o=function(e){return e.semanticTokens}(n),i=function({tokens:e,semanticTokens:t}){const n={};return _n(e,((e,t)=>{null!=e&&(n[t.join(".")]={isSemantic:!1,value:e})})),_n(t,((e,t)=>{null!=e&&(n[t.join(".")]={isSemantic:!0,value:e})}),{stop:e=>Object.keys(e).every(Pn)}),n}({tokens:r,semanticTokens:o}),a=null==(t=n.config)?void 0:t.cssVarPrefix,{cssMap:l,cssVars:s}=function(e,t){let n={};const r={};for(const[o,i]of Object.entries(e)){const{isSemantic:a,value:l}=i,{variable:s,reference:u}=En(o,null==t?void 0:t.cssVarPrefix);if(!a){if(o.startsWith("space")){const e=o.split("."),[t,...n]=e,i=`${t}.-${n.join(".")}`,a=Jt.negate(l),c=Jt.negate(u);r[i]={value:a,var:s,varRef:c}}n[s]=l,r[o]={value:l,var:s,varRef:u};continue}const c=n=>{const r=[String(o).split(".")[0],n].join(".");if(!e[r])return n;const{reference:i}=En(r,null==t?void 0:t.cssVarPrefix);return i},d=Je(l)?l:{default:l};n=it(n,Object.entries(d).reduce(((e,[t,n])=>{var r,o;if(!n)return e;const i=c(`${n}`);return"default"===t?(e[s]=i,e):(e[null!=(o=null==(r=Sn)?void 0:r[t])?o:t]={[s]:i},e)}),{})),r[o]={value:u,var:s,varRef:u}}return{cssVars:n,cssMap:r}}(i,{cssVarPrefix:a});return Object.assign(n,{__cssVars:{"--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",...s},__cssMap:l,__breakpoints:dn(n.breakpoints)}),n}(r)),[r]);return(0,Be.jsxs)(Ae,{theme:i,children:[(0,Be.jsx)(Hn,{root:n}),o]})}function Hn({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return(0,Be.jsx)(Fe,{styles:e=>({[t]:e.__cssVars})})}var[qn,Gn]=function(t={}){const{strict:n=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:o}=t,i=(0,e.createContext)(void 0);return i.displayName=o,[i.Provider,function t(){var o;const a=(0,e.useContext)(i);if(!a&&n){const e=new Error(r);throw e.name="ContextError",null==(o=Error.captureStackTrace)||o.call(Error,e,t),e}return a},i]}({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function Yn(){const{colorMode:e}=Ze();return(0,Be.jsx)(Fe,{styles:t=>{const n=Wn(Bn(t,"styles.global"),{theme:t,colorMode:e});if(n)return Mn(n)(t)}})}var Xn,Zn="chakra-ui-light",Qn="chakra-ui-dark",Kn="chakra-ui-color-mode",Jn=(Xn=Kn,{ssr:!1,type:"localStorage",get(e){if(!(null==globalThis?void 0:globalThis.document))return e;let t;try{t=localStorage.getItem(Xn)||e}catch(e){}return t||e},set(e){try{localStorage.setItem(Xn,e)}catch(e){}}});var er=Boolean(null==globalThis?void 0:globalThis.document)?e.useLayoutEffect:e.useEffect,tr=()=>{};function nr(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}function rr(t){const{value:n,children:r,options:{useSystemColorMode:o,initialColorMode:i,disableTransitionOnChange:a}={},colorModeManager:l=Jn}=t,s="dark"===i?"dark":"light",[u,c]=(0,e.useState)((()=>nr(l,s))),[d,f]=(0,e.useState)((()=>nr(l))),{getSystemTheme:p,setClassName:h,setDataset:m,addListener:v}=(0,e.useMemo)((()=>function(e={}){const{preventTransition:t=!0}=e,n={setDataset:e=>{const r=t?n.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,null==r||r()},setClassName(e){document.body.classList.add(e?Qn:Zn),document.body.classList.remove(e?Zn:Qn)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme(e){var t;return(null!=(t=n.query().matches)?t:"dark"===e)?"dark":"light"},addListener(e){const t=n.query(),r=t=>{e(t.matches?"dark":"light")};return"function"==typeof t.addListener?t.addListener(r):t.addEventListener("change",r),()=>{"function"==typeof t.removeListener?t.removeListener(r):t.removeEventListener("change",r)}},preventTransition(){const e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame((()=>{requestAnimationFrame((()=>{document.head.removeChild(e)}))}))}}};return n}({preventTransition:a})),[a]),g="system"!==i||u?u:d,b=(0,e.useCallback)((e=>{const t="system"===e?p():e;c(t),h("dark"===t),m(t),l.set(t)}),[l,p,h,m]);er((()=>{"system"===i&&f(p())}),[]),(0,e.useEffect)((()=>{const e=l.get();b(e||("system"!==i?s:"system"))}),[l,s,i,b]);const y=(0,e.useCallback)((()=>{b("dark"===g?"light":"dark")}),[g,b]);(0,e.useEffect)((()=>{if(o)return v(b)}),[o,v,b]);const x=(0,e.useMemo)((()=>({colorMode:null!=n?n:g,toggleColorMode:n?tr:y,setColorMode:n?tr:b,forced:void 0!==n})),[g,y,b,n]);return(0,Be.jsx)(Xe.Provider,{value:x,children:r})}rr.displayName="ColorModeProvider";var or=(0,e.createContext)({getDocument:()=>document,getWindow:()=>window});function ir(t){const{children:n,environment:r,disabled:o}=t,i=(0,e.useRef)(null),a=(0,e.useMemo)((()=>r||{getDocument:()=>{var e,t;return null!=(t=null==(e=i.current)?void 0:e.ownerDocument)?t:document},getWindow:()=>{var e,t;return null!=(t=null==(e=i.current)?void 0:e.ownerDocument.defaultView)?t:window}}),[r]),l=!o||!r;return(0,Be.jsxs)(or.Provider,{value:a,children:[n,l&&(0,Be.jsx)("span",{id:"__chakra_env",hidden:!0,ref:i})]})}or.displayName="EnvironmentContext",ir.displayName="EnvironmentProvider";var ar=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetScope:o,resetCSS:i=!0,theme:a={},environment:l,cssVarsRoot:s,disableEnvironment:u,disableGlobalStyle:c}=e,d=(0,Be.jsx)(ir,{environment:l,disabled:u,children:t});return(0,Be.jsx)(Un,{theme:a,cssVarsRoot:s,children:(0,Be.jsxs)(rr,{colorModeManager:n,options:a.config,children:[i?(0,Be.jsx)(Ue,{scope:o}):(0,Be.jsx)(We,{}),!c&&(0,Be.jsx)(Yn,{}),r?(0,Be.jsx)(Ye,{zIndex:r,children:d}):d]})})},lr={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:{"3xs":"0.45rem","2xs":"0.625rem",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"}},sr={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"},ur={...sr,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",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}},cr={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{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},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{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"}},...lr,sizes:ur,shadows:{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"},space:sr,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{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"},easing:{"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)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}},{defineMultiStyleConfig:dr,definePartsStyle:fr}=Fn(["stepper","step","title","description","indicator","separator","icon","number"]),pr=nn("stepper-indicator-size"),hr=nn("stepper-icon-size"),mr=nn("stepper-title-font-size"),vr=nn("stepper-description-font-size"),gr=nn("stepper-accent-color"),br=fr((({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[gr.variable]:`colors.${e}.500`,_dark:{[gr.variable]:`colors.${e}.200`}},title:{fontSize:mr.reference,fontWeight:"medium"},description:{fontSize:vr.reference,color:"chakra-subtle-text"},number:{fontSize:mr.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:hr.reference,height:hr.reference},indicator:{flexShrink:0,borderRadius:"full",width:pr.reference,height:pr.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:gr.reference},"&[data-status=complete]":{bg:gr.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:gr.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${pr.reference} - 8px)`,top:`calc(${pr.reference} + 4px)`,insetStart:`calc(${pr.reference} / 2 - 1px)`}}}))),yr=dr({baseStyle:br,sizes:{xs:fr({stepper:{[pr.variable]:"sizes.4",[hr.variable]:"sizes.3",[mr.variable]:"fontSizes.xs",[vr.variable]:"fontSizes.xs"}}),sm:fr({stepper:{[pr.variable]:"sizes.6",[hr.variable]:"sizes.4",[mr.variable]:"fontSizes.sm",[vr.variable]:"fontSizes.xs"}}),md:fr({stepper:{[pr.variable]:"sizes.8",[hr.variable]:"sizes.5",[mr.variable]:"fontSizes.md",[vr.variable]:"fontSizes.sm"}}),lg:fr({stepper:{[pr.variable]:"sizes.10",[hr.variable]:"sizes.6",[mr.variable]:"fontSizes.lg",[vr.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function xr(e,t={}){let n=!1;function r(t){const n=`chakra-${(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:n,selector:`.${n}`,toString:()=>t}}return{parts:function(...o){!function(){if(n)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");n=!0}();for(const e of o)t[e]=r(e);return xr(e,t)},toPart:r,extend:function(...n){for(const e of n)e in t||(t[e]=r(e));return xr(e,t)},selectors:function(){const e=Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.selector])));return e},classnames:function(){const e=Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.className])));return e},get keys(){return Object.keys(t)},__type:{}}}var wr=xr("accordion").parts("root","container","button","panel").extend("icon"),kr=xr("alert").parts("title","description","container").extend("icon","spinner"),Sr=xr("avatar").parts("label","badge","container").extend("excessLabel","group"),Cr=xr("breadcrumb").parts("link","item","container").extend("separator"),Er=(xr("button").parts(),xr("checkbox").parts("control","icon","container").extend("label")),_r=(xr("progress").parts("track","filledTrack").extend("label"),xr("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),Or=xr("editable").parts("preview","input","textarea"),Pr=xr("form").parts("container","requiredIndicator","helperText"),Tr=xr("formError").parts("text","icon"),Rr=xr("input").parts("addon","field","element","group"),Ar=xr("list").parts("container","item","icon"),Ir=xr("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),Lr=xr("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),jr=xr("numberinput").parts("root","field","stepperGroup","stepper"),zr=(xr("pininput").parts("field"),xr("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),Mr=xr("progress").parts("label","filledTrack","track"),Fr=xr("radio").parts("container","control","label"),Dr=xr("select").parts("field","icon"),Nr=xr("slider").parts("container","track","thumb","filledTrack","mark"),Br=xr("stat").parts("container","label","helpText","number","icon"),Vr=xr("switch").parts("container","track","thumb","label"),$r=xr("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Wr=xr("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Ur=xr("tag").parts("container","label","closeButton"),Hr=xr("card").parts("container","header","body","footer");function qr(e){const t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?t.replace(".","\\."):e}function Gr(e,t){return`var(${qr(e)}${t?`, ${t}`:""})`}function Yr(e,t){const n=function(e,t=""){return`--${function(e,t=""){return[t,qr(e)].filter(Boolean).join("-")}(e,t)}`}(e,null==t?void 0:t.prefix);return{variable:n,reference:Gr(n,(r=null==t?void 0:t.fallback,"string"==typeof r?r:null==r?void 0:r.reference))};var r}function Xr(e){return Je(e)&&e.reference?e.reference:String(e)}xr("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var Zr=(e,...t)=>t.map(Xr).join(` ${e} `).replace(/calc/g,""),Qr=(...e)=>`calc(${Zr("+",...e)})`,Kr=(...e)=>`calc(${Zr("-",...e)})`,Jr=(...e)=>`calc(${Zr("*",...e)})`,eo=(...e)=>`calc(${Zr("/",...e)})`,to=e=>{const t=Xr(e);return null==t||Number.isNaN(parseFloat(t))?Jr(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},no=Object.assign((e=>({add:(...t)=>no(Qr(e,...t)),subtract:(...t)=>no(Kr(e,...t)),multiply:(...t)=>no(Jr(e,...t)),divide:(...t)=>no(eo(e,...t)),negate:()=>no(to(e)),toString:()=>e.toString()})),{add:Qr,subtract:Kr,multiply:Jr,divide:eo,negate:to}),{defineMultiStyleConfig:ro,definePartsStyle:oo}=Fn(Vr.keys),io=Yr("switch-track-width"),ao=Yr("switch-track-height"),lo=Yr("switch-track-diff"),so=no.subtract(io,ao),uo=Yr("switch-thumb-x"),co=Yr("switch-bg"),fo=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[io.reference],height:[ao.reference],transitionProperty:"common",transitionDuration:"fast",[co.variable]:"colors.gray.300",_dark:{[co.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[co.variable]:`colors.${t}.500`,_dark:{[co.variable]:`colors.${t}.200`}},bg:co.reference}},po={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[ao.reference],height:[ao.reference],_checked:{transform:`translateX(${uo.reference})`}},ho=ro({baseStyle:oo((e=>({container:{[lo.variable]:so,[uo.variable]:lo.reference,_rtl:{[uo.variable]:no(lo).negate().toString()}},track:fo(e),thumb:po}))),sizes:{sm:oo({container:{[io.variable]:"1.375rem",[ao.variable]:"sizes.3"}}),md:oo({container:{[io.variable]:"1.875rem",[ao.variable]:"sizes.4"}}),lg:oo({container:{[io.variable]:"2.875rem",[ao.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}});function mo(e,t){return n=>"dark"===n.colorMode?t:e}function vo(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?"vertical"===t?n:r:{}}var{defineMultiStyleConfig:go,definePartsStyle:bo}=Fn($r.keys),yo=bo({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"}}),xo={"&[data-is-numeric=true]":{textAlign:"end"}},wo=bo((e=>{const{colorScheme:t}=e;return{th:{color:mo("gray.600","gray.400")(e),borderBottom:"1px",borderColor:mo(`${t}.100`,`${t}.700`)(e),...xo},td:{borderBottom:"1px",borderColor:mo(`${t}.100`,`${t}.700`)(e),...xo},caption:{color:mo("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),ko=bo((e=>{const{colorScheme:t}=e;return{th:{color:mo("gray.600","gray.400")(e),borderBottom:"1px",borderColor:mo(`${t}.100`,`${t}.700`)(e),...xo},td:{borderBottom:"1px",borderColor:mo(`${t}.100`,`${t}.700`)(e),...xo},caption:{color:mo("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:mo(`${t}.100`,`${t}.700`)(e)},td:{background:mo(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),So=go({baseStyle:yo,variants:{simple:wo,striped:ko,unstyled:{}},sizes:{sm:bo({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:bo({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:bo({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}});function Co(e,t,n){return Math.min(Math.max(e,n),t)}class Eo extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var _o=Eo;function Oo(e){if("string"!=typeof e)throw new _o(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=zo.test(e)?function(e){const t=e.toLowerCase().trim(),n=To[function(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return(t>>>0)%2341}(t)];if(!n)throw new _o(e);return`#${n}`}(e):e;const n=Ao.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map((e=>parseInt(Ro(e,2),16))),parseInt(Ro(e[3]||"f",2),16)/255]}const r=Io.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const o=Lo.exec(t);if(o){const e=Array.from(o).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const i=jo.exec(t);if(i){const[t,n,r,o]=Array.from(i).slice(1).map(parseFloat);if(Co(0,100,n)!==n)throw new _o(e);if(Co(0,100,r)!==r)throw new _o(e);return[...Fo(t,n,r),Number.isNaN(o)?1:o]}throw new _o(e)}const Po=e=>parseInt(e.replace(/_/g,""),36),To="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,t)=>{const n=Po(t.substring(0,3)),r=Po(t.substring(3)).toString(16);let o="";for(let e=0;e<6-r.length;e++)o+="0";return e[n]=`${o}${r}`,e}),{}),Ro=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),Ao=new RegExp(`^#${Ro("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Io=new RegExp(`^#${Ro("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Lo=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Ro(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),jo=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,zo=/^[a-z]+$/i,Mo=e=>Math.round(255*e),Fo=(e,t,n)=>{let r=n/100;if(0===t)return[r,r,r].map(Mo);const o=(e%360+360)%360/60,i=(1-Math.abs(2*r-1))*(t/100),a=i*(1-Math.abs(o%2-1));let l=0,s=0,u=0;o>=0&&o<1?(l=i,s=a):o>=1&&o<2?(l=a,s=i):o>=2&&o<3?(s=i,u=a):o>=3&&o<4?(s=a,u=i):o>=4&&o<5?(l=a,u=i):o>=5&&o<6&&(l=i,u=a);const c=r-i/2;return[l+c,s+c,u+c].map(Mo)};function Do(e,t){const[n,r,o,i]=Oo(e);return function(e,t,n,r){return`rgba(${Co(0,255,e).toFixed()}, ${Co(0,255,t).toFixed()}, ${Co(0,255,n).toFixed()}, ${parseFloat(Co(0,1,r).toFixed(3))})`}(n,r,o,i-t)}var No=(e,t,n)=>{const r=function(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}(e,`colors.${t}`,t);try{return function(e){const[t,n,r,o]=Oo(e);let i=e=>{const t=Co(0,255,e).toString(16);return 1===t.length?`0${t}`:t};i(t),i(n),i(r),o<1&&i(Math.round(255*o))}(r),r}catch{return null!=n?n:"#000000"}},Bo=(e,t)=>n=>Do(No(n,e),1-t);function Vo(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(\n    45deg,\n    ${t} 25%,\n    transparent 25%,\n    transparent 50%,\n    ${t} 50%,\n    ${t} 75%,\n    transparent 75%,\n    transparent\n  )`,backgroundSize:`${e} ${e}`}}var $o=nn("tabs-color"),Wo=nn("tabs-bg"),Uo=nn("tabs-border-color"),{defineMultiStyleConfig:Ho,definePartsStyle:qo}=Fn(Wr.keys),Go=e=>{const{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}},Yo=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},Xo=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===n?"column":"row"}},Zo={p:4},Qo=qo((e=>({root:Go(e),tab:Yo(e),tablist:Xo(e),tabpanel:Zo}))),Ko={sm:qo({tab:{py:1,px:4,fontSize:"sm"}}),md:qo({tab:{fontSize:"md",py:2,px:4}}),lg:qo({tab:{fontSize:"lg",py:3,px:4}})},Jo=qo((e=>{const{colorScheme:t,orientation:n}=e,r="vertical"===n,o=r?"borderStart":"borderBottom",i=r?"marginStart":"marginBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[i]:"-2px",_selected:{[$o.variable]:`colors.${t}.600`,_dark:{[$o.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Wo.variable]:"colors.gray.200",_dark:{[Wo.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:$o.reference,bg:Wo.reference}}})),ei=qo((e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[Uo.variable]:"transparent",_selected:{[$o.variable]:`colors.${t}.600`,[Uo.variable]:"colors.white",_dark:{[$o.variable]:`colors.${t}.300`,[Uo.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:Uo.reference},color:$o.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),ti=qo((e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Wo.variable]:"colors.gray.50",_dark:{[Wo.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Wo.variable]:"colors.white",[$o.variable]:`colors.${t}.600`,_dark:{[Wo.variable]:"colors.gray.800",[$o.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:$o.reference,bg:Wo.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),ni=qo((e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:No(n,`${t}.700`),bg:No(n,`${t}.100`)}}}})),ri=qo((e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[$o.variable]:"colors.gray.600",_dark:{[$o.variable]:"inherit"},_selected:{[$o.variable]:"colors.white",[Wo.variable]:`colors.${t}.600`,_dark:{[$o.variable]:"colors.gray.800",[Wo.variable]:`colors.${t}.300`}},color:$o.reference,bg:Wo.reference}}})),oi=Ho({baseStyle:Qo,sizes:Ko,variants:{line:Jo,enclosed:ei,"enclosed-colored":ti,"soft-rounded":ni,"solid-rounded":ri,unstyled:qo({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),ii=function(e){const t={};for(const n of["bg","color","shadow"])if(Array.isArray(n)){const[r,o]=n;t[r]=nn(`${e}-${r}`,o)}else t[n]=nn(`${e}-${n}`);return t}("badge"),ai={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:ii.bg.reference,color:ii.color.reference,boxShadow:ii.shadow.reference},variants:{solid:e=>{const{colorScheme:t,theme:n}=e,r=Bo(`${t}.500`,.6)(n);return{[ii.bg.variable]:`colors.${t}.500`,[ii.color.variable]:"colors.white",_dark:{[ii.bg.variable]:r,[ii.color.variable]:"colors.whiteAlpha.800"}}},subtle:e=>{const{colorScheme:t,theme:n}=e,r=Bo(`${t}.200`,.16)(n);return{[ii.bg.variable]:`colors.${t}.100`,[ii.color.variable]:`colors.${t}.800`,_dark:{[ii.bg.variable]:r,[ii.color.variable]:`colors.${t}.200`}}},outline:e=>{const{colorScheme:t,theme:n}=e,r=Bo(`${t}.200`,.8)(n);return{[ii.color.variable]:`colors.${t}.500`,_dark:{[ii.color.variable]:r},[ii.shadow.variable]:`inset 0 0 0px 1px ${ii.color.reference}`}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:li,definePartsStyle:si}=Fn(Ur.keys),ui=nn("tag-bg"),ci=nn("tag-color"),di=nn("tag-shadow"),fi=nn("tag-min-height"),pi=nn("tag-min-width"),hi=nn("tag-font-size"),mi=nn("tag-padding-inline"),vi=si({container:{fontWeight:"medium",lineHeight:1.2,outline:0,[ci.variable]:ii.color.reference,[ui.variable]:ii.bg.reference,[di.variable]:ii.shadow.reference,color:ci.reference,bg:ui.reference,boxShadow:di.reference,borderRadius:"md",minH:fi.reference,minW:pi.reference,fontSize:hi.reference,px:mi.reference,_focusVisible:{[di.variable]:"shadows.outline"}},label:{lineHeight:1.2,overflow:"visible"},closeButton:{fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}}),gi={sm:si({container:{[fi.variable]:"sizes.5",[pi.variable]:"sizes.5",[hi.variable]:"fontSizes.xs",[mi.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:si({container:{[fi.variable]:"sizes.6",[pi.variable]:"sizes.6",[hi.variable]:"fontSizes.sm",[mi.variable]:"space.2"}}),lg:si({container:{[fi.variable]:"sizes.8",[pi.variable]:"sizes.8",[hi.variable]:"fontSizes.md",[mi.variable]:"space.3"}})},bi={subtle:si((e=>{var t;return{container:null==(t=ai.variants)?void 0:t.subtle(e)}})),solid:si((e=>{var t;return{container:null==(t=ai.variants)?void 0:t.solid(e)}})),outline:si((e=>{var t;return{container:null==(t=ai.variants)?void 0:t.outline(e)}}))},yi=li({variants:bi,baseStyle:vi,sizes:gi,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:xi,defineMultiStyleConfig:wi}=Fn(Rr.keys),ki=nn("input-height"),Si=nn("input-font-size"),Ci=nn("input-padding"),Ei=nn("input-border-radius"),_i=xi({addon:{height:ki.reference,fontSize:Si.reference,px:Ci.reference,borderRadius:Ei.reference},field:{width:"100%",height:ki.reference,fontSize:Si.reference,px:Ci.reference,borderRadius:Ei.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Oi={lg:{[Si.variable]:"fontSizes.lg",[Ci.variable]:"space.4",[Ei.variable]:"radii.md",[ki.variable]:"sizes.12"},md:{[Si.variable]:"fontSizes.md",[Ci.variable]:"space.4",[Ei.variable]:"radii.md",[ki.variable]:"sizes.10"},sm:{[Si.variable]:"fontSizes.sm",[Ci.variable]:"space.3",[Ei.variable]:"radii.sm",[ki.variable]:"sizes.8"},xs:{[Si.variable]:"fontSizes.xs",[Ci.variable]:"space.2",[Ei.variable]:"radii.sm",[ki.variable]:"sizes.6"}},Pi={lg:xi({field:Oi.lg,group:Oi.lg}),md:xi({field:Oi.md,group:Oi.md}),sm:xi({field:Oi.sm,group:Oi.sm}),xs:xi({field:Oi.xs,group:Oi.xs})};function Ti(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||mo("blue.500","blue.300")(e),errorBorderColor:n||mo("red.500","red.300")(e)}}var Ri,Ai,Ii,Li,ji,zi,Mi,Fi,Di,Ni,Bi,Vi=xi((e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Ti(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:mo("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:No(t,r),boxShadow:`0 0 0 1px ${No(t,r)}`},_focusVisible:{zIndex:1,borderColor:No(t,n),boxShadow:`0 0 0 1px ${No(t,n)}`}},addon:{border:"1px solid",borderColor:mo("inherit","whiteAlpha.50")(e),bg:mo("gray.100","whiteAlpha.300")(e)}}})),$i=xi((e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Ti(e);return{field:{border:"2px solid",borderColor:"transparent",bg:mo("gray.100","whiteAlpha.50")(e),_hover:{bg:mo("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:No(t,r)},_focusVisible:{bg:"transparent",borderColor:No(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:mo("gray.100","whiteAlpha.50")(e)}}})),Wi=xi((e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Ti(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:No(t,r),boxShadow:`0px 1px 0px 0px ${No(t,r)}`},_focusVisible:{borderColor:No(t,n),boxShadow:`0px 1px 0px 0px ${No(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}})),Ui=wi({baseStyle:_i,sizes:Pi,variants:{outline:Vi,filled:$i,flushed:Wi,unstyled:xi({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),Hi={...null==(Ri=Ui.baseStyle)?void 0:Ri.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},qi={outline:e=>{var t,n;return null!=(n=null==(t=Ui.variants)?void 0:t.outline(e).field)?n:{}},flushed:e=>{var t,n;return null!=(n=null==(t=Ui.variants)?void 0:t.flushed(e).field)?n:{}},filled:e=>{var t,n;return null!=(n=null==(t=Ui.variants)?void 0:t.filled(e).field)?n:{}},unstyled:null!=(Ii=null==(Ai=Ui.variants)?void 0:Ai.unstyled.field)?Ii:{}},Gi={baseStyle:Hi,sizes:{xs:null!=(ji=null==(Li=Ui.sizes)?void 0:Li.xs.field)?ji:{},sm:null!=(Mi=null==(zi=Ui.sizes)?void 0:zi.sm.field)?Mi:{},md:null!=(Di=null==(Fi=Ui.sizes)?void 0:Fi.md.field)?Di:{},lg:null!=(Bi=null==(Ni=Ui.sizes)?void 0:Ni.lg.field)?Bi:{}},variants:qi,defaultProps:{size:"md",variant:"outline"}},Yi=Yr("tooltip-bg"),Xi=Yr("tooltip-fg"),Zi=Yr("popper-arrow-bg"),Qi={baseStyle:{bg:Yi.reference,color:Xi.reference,[Yi.variable]:"colors.gray.700",[Xi.variable]:"colors.whiteAlpha.900",_dark:{[Yi.variable]:"colors.gray.300",[Xi.variable]:"colors.gray.900"},[Zi.variable]:Yi.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}},{defineMultiStyleConfig:Ki,definePartsStyle:Ji}=Fn(Mr.keys),ea=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:o}=e,i=mo(Vo(),Vo("1rem","rgba(0,0,0,0.1)"))(e),a=mo(`${t}.500`,`${t}.200`)(e),l=`linear-gradient(\n    to right,\n    transparent 0%,\n    ${No(n,a)} 50%,\n    transparent 100%\n  )`;return{...!r&&o&&i,...r?{bgImage:l}:{bgColor:a}}},ta={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},na=e=>({bg:mo("gray.100","whiteAlpha.300")(e)}),ra=e=>({transitionProperty:"common",transitionDuration:"slow",...ea(e)}),oa=Ji((e=>({label:ta,filledTrack:ra(e),track:na(e)}))),ia=Ki({sizes:{xs:Ji({track:{h:"1"}}),sm:Ji({track:{h:"2"}}),md:Ji({track:{h:"3"}}),lg:Ji({track:{h:"4"}})},baseStyle:oa,defaultProps:{size:"md",colorScheme:"blue"}});function aa(e,...t){return"function"==typeof e?e(...t):e}var la,sa,ua,ca,da,fa,pa,ha,ma,{definePartsStyle:va,defineMultiStyleConfig:ga}=Fn(Er.keys),ba=nn("checkbox-size"),ya=e=>{const{colorScheme:t}=e;return{w:ba.reference,h:ba.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:mo(`${t}.500`,`${t}.200`)(e),borderColor:mo(`${t}.500`,`${t}.200`)(e),color:mo("white","gray.900")(e),_hover:{bg:mo(`${t}.600`,`${t}.300`)(e),borderColor:mo(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:mo("gray.200","transparent")(e),bg:mo("gray.200","whiteAlpha.300")(e),color:mo("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:mo(`${t}.500`,`${t}.200`)(e),borderColor:mo(`${t}.500`,`${t}.200`)(e),color:mo("white","gray.900")(e)},_disabled:{bg:mo("gray.100","whiteAlpha.100")(e),borderColor:mo("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:mo("red.500","red.300")(e)}}},xa={_disabled:{cursor:"not-allowed"}},wa={userSelect:"none",_disabled:{opacity:.4}},ka={transitionProperty:"transform",transitionDuration:"normal"},Sa=ga({baseStyle:va((e=>({icon:ka,container:xa,control:aa(ya,e),label:wa}))),sizes:{sm:va({control:{[ba.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:va({control:{[ba.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:va({control:{[ba.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Ca,definePartsStyle:Ea}=Fn(Fr.keys),_a=e=>{var t;const n=null==(t=aa(Sa.baseStyle,e))?void 0:t.control;return{...n,borderRadius:"full",_checked:{...null==n?void 0:n._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},Oa=Ea((e=>{var t,n,r,o;return{label:null==(n=(t=Sa).baseStyle)?void 0:n.call(t,e).label,container:null==(o=(r=Sa).baseStyle)?void 0:o.call(r,e).container,control:_a(e)}})),Pa=Ca({baseStyle:Oa,sizes:{md:Ea({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:Ea({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:Ea({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Ta,definePartsStyle:Ra}=Fn(Dr.keys),Aa=nn("select-bg"),Ia={paddingInlineEnd:"8"},La=Ta({baseStyle:Ra({field:{...null==(la=Ui.baseStyle)?void 0:la.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Aa.reference,[Aa.variable]:"colors.white",_dark:{[Aa.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Aa.reference}},icon:{width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}}),sizes:{lg:{...null==(sa=Ui.sizes)?void 0:sa.lg,field:{...null==(ua=Ui.sizes)?void 0:ua.lg.field,...Ia}},md:{...null==(ca=Ui.sizes)?void 0:ca.md,field:{...null==(da=Ui.sizes)?void 0:da.md.field,...Ia}},sm:{...null==(fa=Ui.sizes)?void 0:fa.sm,field:{...null==(pa=Ui.sizes)?void 0:pa.sm.field,...Ia}},xs:{...null==(ha=Ui.sizes)?void 0:ha.xs,field:{...null==(ma=Ui.sizes)?void 0:ma.xs.field,...Ia},icon:{insetEnd:"1"}}},variants:Ui.variants,defaultProps:Ui.defaultProps}),ja=nn("skeleton-start-color"),za=nn("skeleton-end-color"),Ma={baseStyle:{[ja.variable]:"colors.gray.100",[za.variable]:"colors.gray.400",_dark:{[ja.variable]:"colors.gray.800",[za.variable]:"colors.gray.600"},background:ja.reference,borderColor:za.reference,opacity:.7,borderRadius:"sm"}},Fa=nn("skip-link-bg"),Da={baseStyle:{borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[Fa.variable]:"colors.white",_dark:{[Fa.variable]:"colors.gray.700"},bg:Fa.reference}}},{defineMultiStyleConfig:Na,definePartsStyle:Ba}=Fn(Nr.keys),Va=nn("slider-thumb-size"),$a=nn("slider-track-size"),Wa=nn("slider-bg"),Ua=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...vo({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},Ha=e=>({...vo({orientation:e.orientation,horizontal:{h:$a.reference},vertical:{w:$a.reference}}),overflow:"hidden",borderRadius:"sm",[Wa.variable]:"colors.gray.200",_dark:{[Wa.variable]:"colors.whiteAlpha.200"},_disabled:{[Wa.variable]:"colors.gray.300",_dark:{[Wa.variable]:"colors.whiteAlpha.300"}},bg:Wa.reference}),qa=e=>{const{orientation:t}=e;return{...vo({orientation:t,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)"}}}),w:Va.reference,h:Va.reference,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",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},Ga=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[Wa.variable]:`colors.${t}.500`,_dark:{[Wa.variable]:`colors.${t}.200`},bg:Wa.reference}},Ya=Na({baseStyle:Ba((e=>({container:Ua(e),track:Ha(e),thumb:qa(e),filledTrack:Ga(e)}))),sizes:{lg:Ba({container:{[Va.variable]:"sizes.4",[$a.variable]:"sizes.1"}}),md:Ba({container:{[Va.variable]:"sizes.3.5",[$a.variable]:"sizes.1"}}),sm:Ba({container:{[Va.variable]:"sizes.2.5",[$a.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),Xa=Yr("spinner-size"),Za={baseStyle:{width:[Xa.reference],height:[Xa.reference]},sizes:{xs:{[Xa.variable]:"sizes.3"},sm:{[Xa.variable]:"sizes.4"},md:{[Xa.variable]:"sizes.6"},lg:{[Xa.variable]:"sizes.8"},xl:{[Xa.variable]:"sizes.12"}},defaultProps:{size:"md"}},{defineMultiStyleConfig:Qa,definePartsStyle:Ka}=Fn(Br.keys),Ja=Qa({baseStyle:Ka({container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:"2"},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"}}),sizes:{md:Ka({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),el=nn("kbd-bg"),tl={baseStyle:{[el.variable]:"colors.gray.100",_dark:{[el.variable]:"colors.whiteAlpha.100"},bg:el.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},{defineMultiStyleConfig:nl,definePartsStyle:rl}=Fn(Ar.keys),ol=nl({baseStyle:rl({icon:{marginEnd:"2",display:"inline",verticalAlign:"text-bottom"}})}),{defineMultiStyleConfig:il,definePartsStyle:al}=Fn(Ir.keys),ll=nn("menu-bg"),sl=nn("menu-shadow"),ul=il({baseStyle:al({button:{transitionProperty:"common",transitionDuration:"normal"},list:{[ll.variable]:"#fff",[sl.variable]:"shadows.sm",_dark:{[ll.variable]:"colors.gray.700",[sl.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:ll.reference,boxShadow:sl.reference},item:{py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[ll.variable]:"colors.gray.100",_dark:{[ll.variable]:"colors.whiteAlpha.100"}},_active:{[ll.variable]:"colors.gray.200",_dark:{[ll.variable]:"colors.whiteAlpha.200"}},_expanded:{[ll.variable]:"colors.gray.100",_dark:{[ll.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:ll.reference},groupTitle:{mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},icon:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},command:{opacity:.6},divider:{border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}})}),{defineMultiStyleConfig:cl,definePartsStyle:dl}=Fn(Lr.keys),fl=nn("modal-bg"),pl=nn("modal-shadow"),hl={bg:"blackAlpha.600",zIndex:"modal"},ml=e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===n?"hidden":"auto",overscrollBehaviorY:"none"}},vl=e=>{const{isCentered:t,scrollBehavior:n}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===n?"calc(100% - 7.5rem)":void 0,[fl.variable]:"colors.white",[pl.variable]:"shadows.lg",_dark:{[fl.variable]:"colors.gray.700",[pl.variable]:"shadows.dark-lg"},bg:fl.reference,boxShadow:pl.reference}},gl={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},bl={position:"absolute",top:"2",insetEnd:"3"},yl=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}},xl={px:"6",py:"4"};function wl(e){return dl("full"===e?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var kl=cl({baseStyle:dl((e=>({overlay:hl,dialogContainer:aa(ml,e),dialog:aa(vl,e),header:gl,closeButton:bl,body:aa(yl,e),footer:xl}))),sizes:{xs:wl("xs"),sm:wl("sm"),md:wl("md"),lg:wl("lg"),xl:wl("xl"),"2xl":wl("2xl"),"3xl":wl("3xl"),"4xl":wl("4xl"),"5xl":wl("5xl"),"6xl":wl("6xl"),full:wl("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:Sl,definePartsStyle:Cl}=Fn(jr.keys),El=Yr("number-input-stepper-width"),_l=Yr("number-input-input-padding"),Ol=no(El).add("0.5rem").toString(),Pl=Yr("number-input-bg"),Tl=Yr("number-input-color"),Rl=Yr("number-input-border-color"),Al={[El.variable]:"sizes.6",[_l.variable]:Ol},Il=e=>{var t,n;return null!=(n=null==(t=aa(Ui.baseStyle,e))?void 0:t.field)?n:{}},Ll={width:El.reference},jl={borderStart:"1px solid",borderStartColor:Rl.reference,color:Tl.reference,bg:Pl.reference,[Tl.variable]:"colors.chakra-body-text",[Rl.variable]:"colors.chakra-border-color",_dark:{[Tl.variable]:"colors.whiteAlpha.800",[Rl.variable]:"colors.whiteAlpha.300"},_active:{[Pl.variable]:"colors.gray.200",_dark:{[Pl.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},zl=Cl((e=>{var t;return{root:Al,field:null!=(t=aa(Il,e))?t:{},stepperGroup:Ll,stepper:jl}}));function Ml(e){var t,n,r;const o=null==(t=Ui.sizes)?void 0:t[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},a=null!=(r=null==(n=o.field)?void 0:n.fontSize)?r:"md",l=lr.fontSizes[a];return Cl({field:{...o.field,paddingInlineEnd:_l.reference,verticalAlign:"top"},stepper:{fontSize:no(l).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var Fl,Dl,Nl,Bl=Sl({baseStyle:zl,sizes:{xs:Ml("xs"),sm:Ml("sm"),md:Ml("md"),lg:Ml("lg")},variants:Ui.variants,defaultProps:Ui.defaultProps}),Vl={...null==(Fl=Ui.baseStyle)?void 0:Fl.field,textAlign:"center"},$l={outline:e=>{var t,n,r;return null!=(r=null==(n=aa(null==(t=Ui.variants)?void 0:t.outline,e))?void 0:n.field)?r:{}},flushed:e=>{var t,n,r;return null!=(r=null==(n=aa(null==(t=Ui.variants)?void 0:t.flushed,e))?void 0:n.field)?r:{}},filled:e=>{var t,n,r;return null!=(r=null==(n=aa(null==(t=Ui.variants)?void 0:t.filled,e))?void 0:n.field)?r:{}},unstyled:null!=(Nl=null==(Dl=Ui.variants)?void 0:Dl.unstyled.field)?Nl:{}},Wl={baseStyle:Vl,sizes:{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"}},variants:$l,defaultProps:Ui.defaultProps},{defineMultiStyleConfig:Ul,definePartsStyle:Hl}=Fn(zr.keys),ql=Yr("popper-bg"),Gl=Yr("popper-arrow-bg"),Yl=Yr("popper-arrow-shadow-color"),Xl=Ul({baseStyle:Hl({popper:{zIndex:10},content:{[ql.variable]:"colors.white",bg:ql.reference,[Gl.variable]:ql.reference,[Yl.variable]:"colors.gray.200",_dark:{[ql.variable]:"colors.gray.700",[Yl.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},header:{px:3,py:2,borderBottomWidth:"1px"},body:{px:3,py:2},footer:{px:3,py:2,borderTopWidth:"1px"},closeButton:{position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2}})}),{definePartsStyle:Zl,defineMultiStyleConfig:Ql}=Fn(_r.keys),Kl=nn("drawer-bg"),Jl=nn("drawer-box-shadow");function es(e){return Zl("full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var ts={bg:"blackAlpha.600",zIndex:"modal"},ns={display:"flex",zIndex:"modal",justifyContent:"center"},rs=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Kl.variable]:"colors.white",[Jl.variable]:"shadows.lg",_dark:{[Kl.variable]:"colors.gray.700",[Jl.variable]:"shadows.dark-lg"},bg:Kl.reference,boxShadow:Jl.reference}},os={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},is={position:"absolute",top:"2",insetEnd:"3"},as={px:"6",py:"2",flex:"1",overflow:"auto"},ls={px:"6",py:"4"},ss=Ql({baseStyle:Zl((e=>({overlay:ts,dialogContainer:ns,dialog:aa(rs,e),header:os,closeButton:is,body:as,footer:ls}))),sizes:{xs:es("xs"),sm:es("md"),md:es("lg"),lg:es("2xl"),xl:es("4xl"),full:es("full")},defaultProps:{size:"xs"}}),{definePartsStyle:us,defineMultiStyleConfig:cs}=Fn(Or.keys),ds=cs({baseStyle:us({preview:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},textarea:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}})}),{definePartsStyle:fs,defineMultiStyleConfig:ps}=Fn(Pr.keys),hs=nn("form-control-color"),ms=ps({baseStyle:fs({container:{width:"100%",position:"relative"},requiredIndicator:{marginStart:"1",[hs.variable]:"colors.red.500",_dark:{[hs.variable]:"colors.red.300"},color:hs.reference},helperText:{mt:"2",[hs.variable]:"colors.gray.600",_dark:{[hs.variable]:"colors.whiteAlpha.600"},color:hs.reference,lineHeight:"normal",fontSize:"sm"}})}),{definePartsStyle:vs,defineMultiStyleConfig:gs}=Fn(Tr.keys),bs=nn("form-error-color"),ys=gs({baseStyle:vs({text:{[bs.variable]:"colors.red.500",_dark:{[bs.variable]:"colors.red.300"},color:bs.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},icon:{marginEnd:"0.5em",[bs.variable]:"colors.red.500",_dark:{[bs.variable]:"colors.red.300"},color:bs.reference}})}),{defineMultiStyleConfig:xs,definePartsStyle:ws}=Fn(Cr.keys),ks=nn("breadcrumb-link-decor"),Ss=xs({baseStyle:ws({link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:ks.reference,[ks.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[ks.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}}})}),Cs=e=>{const{colorScheme:t,theme:n}=e;if("gray"===t)return{color:mo("gray.800","whiteAlpha.900")(e),_hover:{bg:mo("gray.100","whiteAlpha.200")(e)},_active:{bg:mo("gray.200","whiteAlpha.300")(e)}};const r=Bo(`${t}.200`,.12)(n),o=Bo(`${t}.200`,.24)(n);return{color:mo(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:mo(`${t}.50`,r)(e)},_active:{bg:mo(`${t}.100`,o)(e)}}},Es={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},_s={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:{ghost:Cs,outline:e=>{const{colorScheme:t}=e,n=mo("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?n:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...aa(Cs,e)}},solid:e=>{var t;const{colorScheme:n}=e;if("gray"===n){const t=mo("gray.100","whiteAlpha.200")(e);return{bg:t,color:mo("gray.800","whiteAlpha.900")(e),_hover:{bg:mo("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:mo("gray.300","whiteAlpha.400")(e)}}}const{bg:r=`${n}.500`,color:o="white",hoverBg:i=`${n}.600`,activeBg:a=`${n}.700`}=null!=(t=Es[n])?t:{},l=mo(r,`${n}.200`)(e);return{bg:l,color:mo(o,"gray.800")(e),_hover:{bg:mo(i,`${n}.300`)(e),_disabled:{bg:l}},_active:{bg:mo(a,`${n}.400`)(e)}}},link:e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:mo(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:mo(`${t}.700`,`${t}.500`)(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}},sizes:{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"}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:Os,defineMultiStyleConfig:Ps}=Fn(Hr.keys),Ts=nn("card-bg"),Rs=nn("card-padding"),As=nn("card-shadow"),Is=nn("card-radius"),Ls=nn("card-border-width","0"),js=nn("card-border-color"),zs=Os({container:{[Ts.variable]:"colors.chakra-body-bg",backgroundColor:Ts.reference,boxShadow:As.reference,borderRadius:Is.reference,color:"chakra-body-text",borderWidth:Ls.reference,borderColor:js.reference},body:{padding:Rs.reference,flex:"1 1 0%"},header:{padding:Rs.reference},footer:{padding:Rs.reference}}),Ms={sm:Os({container:{[Is.variable]:"radii.base",[Rs.variable]:"space.3"}}),md:Os({container:{[Is.variable]:"radii.md",[Rs.variable]:"space.5"}}),lg:Os({container:{[Is.variable]:"radii.xl",[Rs.variable]:"space.7"}})},Fs=Ps({baseStyle:zs,variants:{elevated:Os({container:{[As.variable]:"shadows.base",_dark:{[Ts.variable]:"colors.gray.700"}}}),outline:Os({container:{[Ls.variable]:"1px",[js.variable]:"colors.chakra-border-color"}}),filled:Os({container:{[Ts.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[Rs.variable]:0},header:{[Rs.variable]:0},footer:{[Rs.variable]:0}}},sizes:Ms,defaultProps:{variant:"elevated",size:"md"}}),Ds=Yr("close-button-size"),Ns=Yr("close-button-bg"),Bs={baseStyle:{w:[Ds.reference],h:[Ds.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[Ns.variable]:"colors.blackAlpha.100",_dark:{[Ns.variable]:"colors.whiteAlpha.100"}},_active:{[Ns.variable]:"colors.blackAlpha.200",_dark:{[Ns.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:Ns.reference},sizes:{lg:{[Ds.variable]:"sizes.10",fontSize:"md"},md:{[Ds.variable]:"sizes.8",fontSize:"xs"},sm:{[Ds.variable]:"sizes.6",fontSize:"2xs"}},defaultProps:{size:"md"}},{variants:Vs,defaultProps:$s}=ai,Ws={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:ii.bg.reference,color:ii.color.reference,boxShadow:ii.shadow.reference},variants:Vs,defaultProps:$s},{definePartsStyle:Us,defineMultiStyleConfig:Hs}=Fn(wr.keys),qs=Hs({baseStyle:Us({container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},panel:{pt:"2",px:"4",pb:"5"},icon:{fontSize:"1.25em"}})}),{definePartsStyle:Gs,defineMultiStyleConfig:Ys}=Fn(kr.keys),Xs=nn("alert-fg"),Zs=nn("alert-bg"),Qs=Gs({container:{bg:Zs.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Xs.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Xs.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function Ks(e){const{theme:t,colorScheme:n}=e;return{light:`colors.${n}.100`,dark:Bo(`${n}.200`,.16)(t)}}var Js=Gs((e=>{const{colorScheme:t}=e,n=Ks(e);return{container:{[Xs.variable]:`colors.${t}.600`,[Zs.variable]:n.light,_dark:{[Xs.variable]:`colors.${t}.200`,[Zs.variable]:n.dark}}}})),eu=Gs((e=>{const{colorScheme:t}=e,n=Ks(e);return{container:{[Xs.variable]:`colors.${t}.600`,[Zs.variable]:n.light,_dark:{[Xs.variable]:`colors.${t}.200`,[Zs.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Xs.reference}}})),tu=Gs((e=>{const{colorScheme:t}=e,n=Ks(e);return{container:{[Xs.variable]:`colors.${t}.600`,[Zs.variable]:n.light,_dark:{[Xs.variable]:`colors.${t}.200`,[Zs.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Xs.reference}}})),nu=Gs((e=>{const{colorScheme:t}=e;return{container:{[Xs.variable]:"colors.white",[Zs.variable]:`colors.${t}.600`,_dark:{[Xs.variable]:"colors.gray.900",[Zs.variable]:`colors.${t}.200`},color:Xs.reference}}})),ru=Ys({baseStyle:Qs,variants:{subtle:Js,"left-accent":eu,"top-accent":tu,solid:nu},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:ou,defineMultiStyleConfig:iu}=Fn(Sr.keys),au=nn("avatar-border-color"),lu=nn("avatar-bg"),su=nn("avatar-font-size"),uu=nn("avatar-size"),cu={borderRadius:"full",border:"0.2em solid",borderColor:au.reference,[au.variable]:"white",_dark:{[au.variable]:"colors.gray.800"}},du={bg:lu.reference,fontSize:su.reference,width:uu.reference,height:uu.reference,lineHeight:"1",[lu.variable]:"colors.gray.200",_dark:{[lu.variable]:"colors.whiteAlpha.400"}},fu=e=>{const{name:t,theme:n}=e,r=t?function(e){const t=`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`;return e&&(n=e,0!==Object.keys(n).length)?e.string&&e.colors?function(e,t){let n=0;if(0===e.length)return t[0];for(let t=0;t<e.length;t+=1)n=e.charCodeAt(t)+((n<<5)-n),n&=n;return n=(n%t.length+t.length)%t.length,t[n]}(e.string,e.colors):e.string&&!e.colors?function(e){let t=0;if(0===e.length)return t.toString();for(let n=0;n<e.length;n+=1)t=e.charCodeAt(n)+((t<<5)-t),t&=t;let n="#";for(let e=0;e<3;e+=1)n+=`00${(t>>8*e&255).toString(16)}`.substr(-2);return n}(e.string):e.colors&&!e.string?function(e){return e[Math.floor(Math.random()*e.length)]}(e.colors):t:t;var n}({string:t}):"colors.gray.400",o=(e=>t=>"dark"===(e=>t=>{const n=(e=>{const[t,n,r]=Oo(e);return(299*t+587*n+114*r)/1e3})(No(t,e));return n<128?"dark":"light"})(e)(t))(r)(n);let i="white";return o||(i="gray.800"),{bg:lu.reference,fontSize:su.reference,color:i,borderColor:au.reference,verticalAlign:"top",width:uu.reference,height:uu.reference,"&:not([data-loaded])":{[lu.variable]:r},[au.variable]:"colors.white",_dark:{[au.variable]:"colors.gray.800"}}},pu={fontSize:su.reference,lineHeight:"1"};function hu(e){const t="100%"!==e?ur[e]:void 0;return ou({container:{[uu.variable]:null!=t?t:e,[su.variable]:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{[uu.variable]:null!=t?t:e,[su.variable]:`calc(${null!=t?t:e} / 2.5)`}})}var mu={Accordion:qs,Alert:ru,Avatar:iu({baseStyle:ou((e=>({badge:aa(cu,e),excessLabel:aa(du,e),container:aa(fu,e),label:pu}))),sizes:{"2xs":hu(4),xs:hu(6),sm:hu(8),md:hu(12),lg:hu(16),xl:hu(24),"2xl":hu(32),full:hu("100%")},defaultProps:{size:"md"}}),Badge:ai,Breadcrumb:Ss,Button:_s,Checkbox:Sa,CloseButton:Bs,Code:Ws,Container:{baseStyle:{w:"100%",mx:"auto",maxW:"prose",px:"4"}},Divider:{baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},Drawer:ss,Editable:ds,Form:ms,FormError:ys,FormLabel:{baseStyle:{fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},Heading:{baseStyle:{fontFamily:"heading",fontWeight:"bold"},sizes:{"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}},defaultProps:{size:"xl"}},Input:Ui,Kbd:tl,Link:{baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}},List:ol,Menu:ul,Modal:kl,NumberInput:Bl,PinInput:Wl,Popover:Xl,Progress:ia,Radio:Pa,Select:La,Skeleton:Ma,SkipLink:Da,Slider:Ya,Spinner:Za,Stat:Ja,Switch:ho,Table:So,Tabs:oi,Tag:yi,Textarea:Gi,Tooltip:Qi,Card:Fs,Stepper:yr},vu={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},gu={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},bu={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},yu={semanticTokens:vu,direction:"ltr",...cr,components:mu,styles:gu,config:bu},xu={semanticTokens:vu,direction:"ltr",components:{},...cr,styles:gu,config:bu},wu=(e,t)=>e.find((e=>e.id===t));function ku(e,t){const n=Su(e,t);return{position:n,index:n?e[n].findIndex((e=>e.id===t)):-1}}function Su(e,t){for(const[n,r]of Object.entries(e))if(wu(r,t))return n}function Cu(e){return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,bottom:e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,right:e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",left:e.includes("right")?void 0:"env(safe-area-inset-left, 0px)"}}function Eu(t,n=[]){const r=(0,e.useRef)(t);return(0,e.useEffect)((()=>{r.current=t})),(0,e.useCallback)(((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)}),n)}function _u(t,n){const r=(0,e.useRef)(!1),o=(0,e.useRef)(!1);(0,e.useEffect)((()=>{if(r.current&&o.current)return t();o.current=!0}),n),(0,e.useEffect)((()=>(r.current=!0,()=>{r.current=!1})),[])}var Ou=(0,e.createContext)(null);function Pu(t){var n=(0,e.useRef)(null);return null===n.current&&(n.current=t()),n.current}function Tu(){var t=(0,e.useContext)(Ou);if(null===t)return[!0,null];var n=t.isPresent,r=t.onExitComplete,o=t.register,i=Iu();return(0,e.useEffect)((function(){return o(i)}),[]),!n&&r?[!1,function(){return null==r?void 0:r(i)}]:[!0]}var Ru=0,Au=function(){return Ru++},Iu=function(){return Pu(Au)},Lu=function(e,t){return Lu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Lu(e,t)};function ju(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Lu(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var zu=function(){return zu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},zu.apply(this,arguments)};function Mu(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function Fu(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Du(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var Nu=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},Bu={measureLayout:Nu(["layout","layoutId","drag"]),animation:Nu(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Nu(["exit"]),drag:Nu(["drag","dragControls"]),focus:Nu(["whileFocus"]),hover:Nu(["whileHover","onHoverStart","onHoverEnd"]),tap:Nu(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Nu(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Nu(["whileInView","onViewportEnter","onViewportLeave"])},Vu=(0,e.createContext)({strict:!1}),$u=Object.keys(Bu),Wu=$u.length,Uu=(0,e.createContext)({transformPagePoint:function(e){return e},isStatic:!1}),Hu=(0,e.createContext)({}),qu="undefined"!=typeof window,Gu=qu?e.useLayoutEffect:e.useEffect;function Yu(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Xu(e){return Array.isArray(e)}function Zu(e){return"string"==typeof e||Xu(e)}function Qu(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),"string"==typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),t}function Ku(e,t,n){var r=e.getProps();return Qu(r,t,null!=n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function Ju(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||Zu(e.initial)||Zu(e.animate)||Zu(e.whileHover)||Zu(e.whileDrag)||Zu(e.whileTap)||Zu(e.whileFocus)||Zu(e.exit)}function ec(e){return Boolean(Ju(e)||e.variants)}function tc(e){return Array.isArray(e)?e.join(" "):e}const nc=1/60*1e3,rc="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),oc="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(rc())),nc);let ic=!0,ac=!1,lc=!1;const sc={delta:0,timestamp:0},uc=["read","update","preRender","render","postRender"],cc=uc.reduce(((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,l={schedule:(e,i=!1,l=!1)=>{const s=l&&o,u=s?t:n;return i&&a.add(e),-1===u.indexOf(e)&&(u.push(e),s&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:s=>{if(o)i=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(s),a.has(r)&&(l.schedule(r),e())}o=!1,i&&(i=!1,l.process(s))}}};return l}((()=>ac=!0)),e)),{}),dc=uc.reduce(((e,t)=>{const n=cc[t];return e[t]=(e,t=!1,r=!1)=>(ac||vc(),n.schedule(e,t,r)),e}),{}),fc=uc.reduce(((e,t)=>(e[t]=cc[t].cancel,e)),{}),pc=uc.reduce(((e,t)=>(e[t]=()=>cc[t].process(sc),e)),{}),hc=e=>cc[e].process(sc),mc=e=>{ac=!1,sc.delta=ic?nc:Math.max(Math.min(e-sc.timestamp,40),1),sc.timestamp=e,lc=!0,uc.forEach(hc),lc=!1,ac&&(ic=!1,oc(mc))},vc=()=>{ac=!0,ic=!0,lc||oc(mc)},gc=()=>sc,bc=dc,yc=(e,t,n)=>-n*e+n*t+e;function xc(e,t){return t?e*(1e3/t):0}function wc(e,t){-1===e.indexOf(t)&&e.push(t)}function kc(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Sc=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return wc(this.subscriptions,e),function(){return kc(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),Cc=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Sc,this.velocityUpdateSubscribers=new Sc,this.renderSubscribers=new Sc,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=gc(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,bc.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return bc.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?xc(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.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 Ec(e){return new Cc(e)}var _c=function(e){return Boolean(null!==e&&"object"==typeof e&&e.getVelocity)};const Oc=(e,t,n)=>Math.min(Math.max(n,e),t);const Pc=12;function Tc(e,t){return e*Math.sqrt(1-t*t)}const Rc=["duration","bounce"],Ac=["stiffness","damping","mass"];function Ic(e,t){return t.some((t=>void 0!==e[t]))}function Lc(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:o}=e,i=Mu(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:l,damping:s,mass:u,velocity:c,duration:d,isResolvedFromDuration:f}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Ic(e,Ac)&&Ic(e,Rc)){const n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i,a=1-t;a=Oc(.05,1,a),e=Oc(.01,10,e/1e3),a<1?(o=t=>{const r=t*a,o=r*e;return.001-(r-n)/Tc(t,a)*Math.exp(-o)},i=t=>{const r=t*a*e,i=r*n+n,l=Math.pow(a,2)*Math.pow(t,2)*e,s=Math.exp(-r),u=Tc(Math.pow(t,2),a);return(.001-o(t)>0?-1:1)*((i-l)*s)/u}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const l=function(e,t,n){let r=n;for(let n=1;n<Pc;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e*=1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(l,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(i),p=jc,h=jc;function m(){const e=c?-c/1e3:0,r=n-t,i=s/(2*Math.sqrt(l*u)),a=Math.sqrt(l/u)/1e3;if(void 0===o&&(o=Math.min(Math.abs(n-t)/100,.4)),i<1){const t=Tc(a,i);p=o=>{const l=Math.exp(-i*a*o);return n-l*((e+i*a*r)/t*Math.sin(t*o)+r*Math.cos(t*o))},h=n=>{const o=Math.exp(-i*a*n);return i*a*o*(Math.sin(t*n)*(e+i*a*r)/t+r*Math.cos(t*n))-o*(Math.cos(t*n)*(e+i*a*r)-t*r*Math.sin(t*n))}}else if(1===i)p=t=>n-Math.exp(-a*t)*(r+(e+a*r)*t);else{const t=a*Math.sqrt(i*i-1);p=o=>{const l=Math.exp(-i*a*o),s=Math.min(t*o,300);return n-l*((e+i*a*r)*Math.sinh(s)+t*r*Math.cosh(s))/t}}}return m(),{next:e=>{const t=p(e);if(f)a.done=e>=d;else{const i=1e3*h(e),l=Math.abs(i)<=r,s=Math.abs(n-t)<=o;a.done=l&&s}return a.value=a.done?n:t,a},flipTarget:()=>{c=-c,[t,n]=[n,t],m()}}}Lc.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;const jc=e=>0,zc=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Mc=(e,t)=>n=>Math.max(Math.min(n,t),e),Fc=e=>e%1?Number(e.toFixed(5)):e,Dc=/(-)?([\d]*\.?[\d])+/g,Nc=/(#[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,Bc=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Vc(e){return"string"==typeof e}const $c={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Wc=Object.assign(Object.assign({},$c),{transform:Mc(0,1)}),Uc=Object.assign(Object.assign({},$c),{default:1}),Hc=(e,t)=>n=>Boolean(Vc(n)&&Bc.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),qc=(e,t,n)=>r=>{if(!Vc(r))return r;const[o,i,a,l]=r.match(Dc);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}},Gc=Mc(0,255),Yc=Object.assign(Object.assign({},$c),{transform:e=>Math.round(Gc(e))}),Xc={test:Hc("rgb","red"),parse:qc("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Yc.transform(e)+", "+Yc.transform(t)+", "+Yc.transform(n)+", "+Fc(Wc.transform(r))+")"},Zc={test:Hc("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:Xc.transform},Qc=e=>({test:t=>Vc(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Kc=Qc("deg"),Jc=Qc("%"),ed=Qc("px"),td=Qc("vh"),nd=Qc("vw"),rd=Object.assign(Object.assign({},Jc),{parse:e=>Jc.parse(e)/100,transform:e=>Jc.transform(100*e)}),od={test:Hc("hsl","hue"),parse:qc("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Jc.transform(Fc(t))+", "+Jc.transform(Fc(n))+", "+Fc(Wc.transform(r))+")"};function id(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ad({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,l=2*n-r;o=id(l,r,e+1/3),i=id(l,r,e),a=id(l,r,e-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}const ld=(e,t,n)=>{const r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},sd=[Zc,Xc,od],ud=e=>sd.find((t=>t.test(e))),cd=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,dd=(e,t)=>{let n=ud(e),r=ud(t);cd(e),cd(t);let o=n.parse(e),i=r.parse(t);n===od&&(o=ad(o),n=Xc),r===od&&(i=ad(i),r=Xc);const a=Object.assign({},o);return e=>{for(const t in a)"alpha"!==t&&(a[t]=ld(o[t],i[t],e));return a.alpha=yc(o.alpha,i.alpha,e),n.transform(a)}},fd={test:e=>Xc.test(e)||Zc.test(e)||od.test(e),parse:e=>Xc.test(e)?Xc.parse(e):od.test(e)?od.parse(e):Zc.parse(e),transform:e=>Vc(e)?e:e.hasOwnProperty("red")?Xc.transform(e):od.transform(e)},pd="${c}",hd="${n}";function md(e){"number"==typeof e&&(e=`${e}`);const t=[];let n=0;const r=e.match(Nc);r&&(n=r.length,e=e.replace(Nc,pd),t.push(...r.map(fd.parse)));const o=e.match(Dc);return o&&(e=e.replace(Dc,hd),t.push(...o.map($c.parse))),{values:t,numColors:n,tokenised:e}}function vd(e){return md(e).values}function gd(e){const{values:t,numColors:n,tokenised:r}=md(e),o=t.length;return e=>{let t=r;for(let r=0;r<o;r++)t=t.replace(r<n?pd:hd,r<n?fd.transform(e[r]):Fc(e[r]));return t}}const bd=e=>"number"==typeof e?0:e,yd={test:function(e){var t,n,r,o;return isNaN(e)&&Vc(e)&&(null!==(n=null===(t=e.match(Dc))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(Nc))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:vd,createTransformer:gd,getAnimatableNone:function(e){const t=vd(e);return gd(e)(t.map(bd))}},xd=e=>"number"==typeof e,wd=(e,t)=>n=>t(e(n)),kd=(...e)=>e.reduce(wd);function Sd(e,t){return xd(e)?n=>yc(e,t,n):fd.test(e)?dd(e,t):Od(e,t)}const Cd=(e,t)=>{const n=[...e],r=n.length,o=e.map(((e,n)=>Sd(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},Ed=(e,t)=>{const n=Object.assign(Object.assign({},e),t),r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Sd(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}};function _d(e){const t=yd.parse(e),n=t.length;let r=0,o=0,i=0;for(let e=0;e<n;e++)r||"number"==typeof t[e]?r++:void 0!==t[e].hue?i++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:i}}const Od=(e,t)=>{const n=yd.createTransformer(t),r=_d(e),o=_d(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?kd(Cd(r.parsed,o.parsed),n):n=>`${n>0?t:e}`},Pd=(e,t)=>n=>yc(e,t,n);function Td(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;t.length,!r||!Array.isArray(r)||r.length,e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=function(e,t,n){const r=[],o=n||("number"==typeof(i=e[0])?Pd:"string"==typeof i?fd.test(i)?dd:Od:Array.isArray(i)?Cd:"object"==typeof i?Ed:void 0);var i;const a=e.length-1;for(let n=0;n<a;n++){let i=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]:t;i=kd(e,i)}r.push(i)}return r}(t,r,o),l=2===i?function([e,t],[n]){return r=>n(zc(e,t,r))}(e,a):function(e,t){const n=e.length,r=n-1;return o=>{let i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){let t=1;for(;t<n&&!(e[t]>o||t===r);t++);i=t-1}const l=zc(e[i],e[i+1],o);return t[i](l)}}(e,a);return n?t=>l(Oc(e[0],e[i-1],t)):l}const Rd=e=>t=>1-e(1-t),Ad=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Id=e=>t=>t*t*((e+1)*t-e),Ld=4/11,jd=8/11,zd=e=>e,Md=e=>Math.pow(e,2);const Fd=Rd(Md),Dd=Ad(Md),Nd=e=>1-Math.sin(Math.acos(e)),Bd=Rd(Nd),Vd=Ad(Bd),$d=Id(1.525),Wd=Rd($d),Ud=Ad($d),Hd=(()=>{const e=Id(1.525);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(),qd=4356/361,Gd=35442/1805,Yd=16061/1805,Xd=e=>{if(1===e||0===e)return e;const t=e*e;return e<Ld?7.5625*t:e<jd?9.075*t-9.9*e+3.4:e<.9?qd*t-Gd*e+Yd:10.8*e*e-20.52*e+10.72},Zd=Rd(Xd);function Qd(e,t){return e.map((()=>t||Dd)).splice(0,e.length-1)}function Kd({from:e=0,to:t=1,ease:n,offset:r,duration:o=300}){const i={done:!1,value:e},a=Array.isArray(t)?t:[e,t],l=function(e,t){return e.map((e=>e*t))}(r&&r.length===a.length?r:function(e){const t=e.length;return e.map(((e,n)=>0!==n?n/(t-1):0))}(a),o);function s(){return Td(l,a,{ease:Array.isArray(n)?n:Qd(a,n)})}let u=s();return{next:e=>(i.value=u(e),i.done=e>=o,i),flipTarget:()=>{a.reverse(),u=s()}}}const Jd={keyframes:Kd,spring:Lc,decay:function({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:i}){const a={done:!1,value:t};let l=n*e;const s=t+l,u=void 0===i?s:i(s);return u!==s&&(l=u-t),{next:e=>{const t=-l*Math.exp(-e/r);return a.done=!(t>o||t<-o),a.value=a.done?u:u+t,a},flipTarget:()=>{}}}},ef=1/60*1e3,tf="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),nf="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(tf())),ef);let rf=!0,of=!1,af=!1;const lf={delta:0,timestamp:0},sf=["read","update","preRender","render","postRender"],uf=sf.reduce(((e,t)=>(e[t]=function(){let e=[],t=[],n=0,r=!1,o=!1;const i=new WeakSet,a={schedule:(o,a=!1,l=!1)=>{const s=l&&r,u=s?e:t;return a&&i.add(o),-1===u.indexOf(o)&&(u.push(o),s&&r&&(n=e.length)),o},cancel:e=>{const n=t.indexOf(e);-1!==n&&t.splice(n,1),i.delete(e)},process:l=>{if(r)o=!0;else{if(r=!0,[e,t]=[t,e],t.length=0,n=e.length,n)for(let t=0;t<n;t++){const n=e[t];n(l),i.has(n)&&(a.schedule(n),of=!0)}r=!1,o&&(o=!1,a.process(l))}}};return a}(),e)),{}),cf=sf.reduce(((e,t)=>{const n=uf[t];return e[t]=(e,t=!1,r=!1)=>(of||hf(),n.schedule(e,t,r)),e}),{}),df=sf.reduce(((e,t)=>(e[t]=uf[t].cancel,e)),{}),ff=(sf.reduce(((e,t)=>(e[t]=()=>uf[t].process(lf),e)),{}),e=>uf[e].process(lf)),pf=e=>{of=!1,lf.delta=rf?ef:Math.max(Math.min(e-lf.timestamp,40),1),lf.timestamp=e,af=!0,sf.forEach(ff),af=!1,of&&(rf=!1,nf(pf))},hf=()=>{of=!0,rf=!0,af||nf(pf)},mf=cf;function vf(e,t,n=0){return e-t-n}const gf=e=>{const t=({delta:t})=>e(t);return{start:()=>mf.update(t,!0),stop:()=>df.update(t)}};function bf(e){var t,n,{from:r,autoplay:o=!0,driver:i=gf,elapsed:a=0,repeat:l=0,repeatType:s="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:f,onRepeat:p,onUpdate:h}=e,m=Mu(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let v,g,b,{to:y}=m,x=0,w=m.duration,k=!1,S=!0;const C=function(e){if(Array.isArray(e.to))return Kd;if(Jd[e.type])return Jd[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Kd:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Lc:Kd}(m);(null===(n=(t=C).needsInterpolation)||void 0===n?void 0:n.call(t,r,y))&&(b=Td([0,100],[r,y],{clamp:!1}),r=0,y=100);const E=C(Object.assign(Object.assign({},m),{from:r,to:y}));return o&&(null==c||c(),v=i((function(e){if(S||(e=-e),a+=e,!k){const e=E.next(Math.max(0,a));g=e.value,b&&(g=b(g)),k=S?e.done:a<=0}null==h||h(g),k&&(0===x&&(null!=w||(w=a)),x<l?function(e,t,n,r){return r?e>=t+n:e<=-n}(a,w,u,S)&&(x++,"reverse"===s?(S=x%2==0,a=function(e,t,n=0,r=!0){return r?vf(t+-e,t,n):t-(e-t)+n}(a,w,u,S)):(a=vf(a,w,u),"mirror"===s&&E.flipTarget()),k=!1,p&&p()):(v.stop(),f&&f()))})),v.start()),{stop:()=>{null==d||d(),v.stop()}}}var yf=function(e){return 1e3*e};const xf=(e,t)=>1-3*t+3*e,wf=(e,t)=>3*t-6*e,kf=e=>3*e,Sf=(e,t,n)=>((xf(t,n)*e+wf(t,n))*e+kf(t))*e,Cf=(e,t,n)=>3*xf(t,n)*e*e+2*wf(t,n)*e+kf(t),Ef=.1;function _f(e,t,n,r){if(e===t&&n===r)return zd;const o=new Float32Array(11);for(let t=0;t<11;++t)o[t]=Sf(t*Ef,e,n);return i=>0===i||1===i?i:Sf(function(t){let r=0,i=1;for(;10!==i&&o[i]<=t;++i)r+=Ef;--i;const a=r+(t-o[i])/(o[i+1]-o[i])*Ef,l=Cf(a,e,n);return l>=.001?function(e,t,n,r){for(let o=0;o<8;++o){const o=Cf(t,n,r);if(0===o)return t;t-=(Sf(t,n,r)-e)/o}return t}(t,a,e,n):0===l?a:function(e,t,n,r,o){let i,a,l=0;do{a=t+(n-t)/2,i=Sf(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++l<10);return a}(t,r,r+Ef,e,n)}(i),t,r)}var Of={linear:zd,easeIn:Md,easeInOut:Dd,easeOut:Fd,circIn:Nd,circInOut:Vd,circOut:Bd,backIn:$d,backInOut:Ud,backOut:Wd,anticipate:Hd,bounceIn:Zd,bounceInOut:e=>e<.5?.5*(1-Xd(1-2*e)):.5*Xd(2*e-1)+.5,bounceOut:Xd},Pf=function(e){if(Array.isArray(e)){e.length;var t=Fu(e,4);return _f(t[0],t[1],t[2],t[3])}return"string"==typeof e?("Invalid easing type '".concat(e,"'"),Of[e]):e},Tf=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!yd.test(t)||t.startsWith("url(")))},Rf=function(e){return Array.isArray(e)},Af=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},If=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},Lf=function(){return{type:"keyframes",ease:"linear",duration:.3}},jf=function(e){return{type:"keyframes",duration:.8,values:e}},zf={x:Af,y:Af,z:Af,rotate:Af,rotateX:Af,rotateY:Af,rotateZ:Af,scaleX:If,scaleY:If,scale:If,opacity:Lf,backgroundColor:Lf,color:Lf,default:If};const Mf=new Set(["brightness","contrast","saturate","opacity"]);function Ff(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Dc)||[];if(!r)return e;const o=n.replace(r,"");let i=Mf.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const Df=/([a-z-]*)\(.*?\)/g,Nf=Object.assign(Object.assign({},yd),{getAnimatableNone:e=>{const t=e.match(Df);return t?t.map(Ff).join(" "):e}});var Bf=zu(zu({},$c),{transform:Math.round}),Vf={borderWidth:ed,borderTopWidth:ed,borderRightWidth:ed,borderBottomWidth:ed,borderLeftWidth:ed,borderRadius:ed,radius:ed,borderTopLeftRadius:ed,borderTopRightRadius:ed,borderBottomRightRadius:ed,borderBottomLeftRadius:ed,width:ed,maxWidth:ed,height:ed,maxHeight:ed,size:ed,top:ed,right:ed,bottom:ed,left:ed,padding:ed,paddingTop:ed,paddingRight:ed,paddingBottom:ed,paddingLeft:ed,margin:ed,marginTop:ed,marginRight:ed,marginBottom:ed,marginLeft:ed,rotate:Kc,rotateX:Kc,rotateY:Kc,rotateZ:Kc,scale:Uc,scaleX:Uc,scaleY:Uc,scaleZ:Uc,skew:Kc,skewX:Kc,skewY:Kc,distance:ed,translateX:ed,translateY:ed,translateZ:ed,x:ed,y:ed,z:ed,perspective:ed,transformPerspective:ed,opacity:Wc,originX:rd,originY:rd,originZ:ed,zIndex:Bf,fillOpacity:Wc,strokeOpacity:Wc,numOctaves:Bf},$f=zu(zu({},Vf),{color:fd,backgroundColor:fd,outlineColor:fd,fill:fd,stroke:fd,borderColor:fd,borderTopColor:fd,borderRightColor:fd,borderBottomColor:fd,borderLeftColor:fd,filter:Nf,WebkitFilter:Nf}),Wf=function(e){return $f[e]};function Uf(e,t){var n,r=Wf(e);return r!==Nf&&(r=yd),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var Hf=function(e){return Rf(e)?e[e.length-1]||0:e};function qf(e,t,n){var r,o,i,a;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=Du([],Fu(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=Mu(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=zu(zu({},e),(o=n,i=t.to,a=Rf(i)?jf:zf[o]||zf.default,zu({to:i},a(i))))),zu(zu({},t),function(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,i=e.loop,a=Mu(e,["ease","times","yoyo","flip","loop"]),l=zu({},a);return n&&(l.offset=n),a.duration&&(l.duration=yf(a.duration)),a.repeatDelay&&(l.repeatDelay=yf(a.repeatDelay)),t&&(l.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(Pf):Pf(t)),"tween"===a.type&&(l.type="keyframes"),(r||i||o)&&(r?l.repeatType="reverse":i?l.repeatType="loop":o&&(l.repeatType="mirror"),l.repeat=i||r||o||a.repeat),"spring"!==a.type&&(l.type="keyframes"),l}(e))}function Gf(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Yf(e){return"number"==typeof e?0:Uf("",e)}function Xf(e,t){return e[t]||e.default||e}function Zf(e,t,n,r){return void 0===r&&(r={}),t.start((function(o){var i,a,l=function(e,t,n,r,o){var i,a=Xf(r,e),l=null!==(i=a.from)&&void 0!==i?i:t.get(),s=Tf(e,n);"none"===l&&s&&"string"==typeof n?l=Uf(e,n):Gf(l)&&"string"==typeof n?l=Yf(n):!Array.isArray(n)&&Gf(n)&&"string"==typeof l&&(n=Yf(l));var u=Tf(e,l);return"You are trying to animate ".concat(e,' from "').concat(l,'" to "').concat(n,'". ').concat(l," is not an animatable value - to enable this animation set ").concat(l," to a value animatable to ").concat(n," via the `style` property."),u&&s&&!1!==a.type?function(){var r={from:l,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===a.type||"decay"===a.type?function({from:e=0,velocity:t=0,min:n,max:r,power:o=.8,timeConstant:i=750,bounceStiffness:a=500,bounceDamping:l=10,restDelta:s=1,modifyTarget:u,driver:c,onUpdate:d,onComplete:f,onStop:p}){let h;function m(e){return void 0!==n&&e<n||void 0!==r&&e>r}function v(e){return void 0===n?r:void 0===r||Math.abs(n-e)<Math.abs(r-e)?n:r}function g(e){null==h||h.stop(),h=bf(Object.assign(Object.assign({},e),{driver:c,onUpdate:t=>{var n;null==d||d(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:f,onStop:p}))}function b(e){g(Object.assign({type:"spring",stiffness:a,damping:l,restDelta:s},e))}if(m(e))b({from:e,velocity:t,to:v(e)});else{let r=o*t+e;void 0!==u&&(r=u(r));const a=v(r),l=a===n?-1:1;let c,d;const f=e=>{c=d,d=e,t=xc(e-c,lf.delta),(1===l&&e>a||-1===l&&e<a)&&b({from:e,to:a,velocity:t})};g({type:"decay",from:e,velocity:t,timeConstant:i,power:o,restDelta:s,modifyTarget:u,onUpdate:m(r)?f:void 0})}return{stop:()=>null==h?void 0:h.stop()}}(zu(zu({},r),a)):bf(zu(zu({},qf(a,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=a.onUpdate)||void 0===t||t.call(a,e)},onComplete:function(){var e;r.onComplete(),null===(e=a.onComplete)||void 0===e||e.call(a)}}))}:function(){var e,r,i=Hf(n);return t.set(i),o(),null===(e=null==a?void 0:a.onUpdate)||void 0===e||e.call(a,i),null===(r=null==a?void 0:a.onComplete)||void 0===r||r.call(a),{stop:function(){}}}}(e,t,n,r,o),s=function(e,t){var n,r;return null!==(r=null!==(n=(Xf(e,t)||{}).delay)&&void 0!==n?n:e.delay)&&void 0!==r?r:0}(r,e),u=function(){return a=l()};return s?i=setTimeout(u,yf(s)):u(),function(){clearTimeout(i),null==a||a.stop()}}))}var Qf=["TopLeft","TopRight","BottomLeft","BottomRight"],Kf=Qf.length,Jf=function(e){return"string"==typeof e?parseFloat(e):e},ep=function(e){return"number"==typeof e||ed.test(e)};function tp(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}var np=op(0,.5,Bd),rp=op(.5,.95,zd);function op(e,t,n){return function(r){return r<e?0:r>t?1:n(zc(e,t,r))}}function ip(e,t){e.min=t.min,e.max=t.max}function ap(e,t){ip(e.x,t.x),ip(e.y,t.y)}function lp(e){return void 0===e||1===e}function sp(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!lp(t)||!lp(n)||!lp(r)}function up(e){return sp(e)||cp(e.x)||cp(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function cp(e){return e&&"0%"!==e}function dp(e,t,n){return n+t*(e-n)}function fp(e,t,n,r,o){return void 0!==o&&(e=dp(e,o,r)),dp(e,n,r)+t}function pp(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=fp(e.min,t,n,r,o),e.max=fp(e.max,t,n,r,o)}function hp(e,t){var n=t.x,r=t.y;pp(e.x,n.translate,n.scale,n.originPoint),pp(e.y,r.translate,r.scale,r.originPoint)}function mp(e,t){e.min=e.min+t,e.max=e.max+t}function vp(e,t,n){var r=Fu(n,3),o=r[0],i=r[1],a=r[2],l=void 0!==t[a]?t[a]:.5,s=yc(e.min,e.max,l);pp(e,t[o],t[i],s,t.scale)}var gp=["x","scaleX","originX"],bp=["y","scaleY","originY"];function yp(e,t){vp(e.x,t,gp),vp(e.y,t,bp)}const xp=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),wp=e=>xp(e)&&e.hasOwnProperty("z"),kp=(e,t)=>Math.abs(e-t);function Sp(e,t){if(xd(e)&&xd(t))return kp(e,t);if(xp(e)&&xp(t)){const n=kp(e.x,t.x),r=kp(e.y,t.y),o=wp(e)&&wp(t)?kp(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}function Cp(e){return e.max-e.min}function Ep(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),Sp(e,t)<n}function _p(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=yc(t.min,t.max,e.origin),e.scale=Cp(n)/Cp(t),(Ep(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=yc(n.min,n.max,e.origin)-e.originPoint,(Ep(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Op(e,t,n,r){_p(e.x,t.x,n.x,null==r?void 0:r.originX),_p(e.y,t.y,n.y,null==r?void 0:r.originY)}function Pp(e,t,n){e.min=n.min+t.min,e.max=e.min+Cp(t)}function Tp(e,t,n){e.min=t.min-n.min,e.max=e.min+Cp(t)}function Rp(e,t,n){Tp(e.x,t.x,n.x),Tp(e.y,t.y,n.y)}function Ap(e,t,n,r,o){return e=dp(e-=t,1/n,r),void 0!==o&&(e=dp(e,1/o,r)),e}function Ip(e,t,n,r,o){var i=Fu(n,3),a=i[0],l=i[1],s=i[2];!function(e,t,n,r,o,i,a){if(void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===i&&(i=e),void 0===a&&(a=e),Jc.test(t)&&(t=parseFloat(t),t=yc(a.min,a.max,t/100)-a.min),"number"==typeof t){var l=yc(i.min,i.max,r);e===i&&(l-=t),e.min=Ap(e.min,t,n,l,o),e.max=Ap(e.max,t,n,l,o)}}(e,t[a],t[l],t[s],t.scale,r,o)}var Lp=["x","scaleX","originX"],jp=["y","scaleY","originY"];function zp(e,t,n,r){Ip(e.x,t,Lp,null==n?void 0:n.x,null==r?void 0:r.x),Ip(e.y,t,jp,null==n?void 0:n.y,null==r?void 0:r.y)}function Mp(e){return 0===e.translate&&1===e.scale}function Fp(e){return Mp(e.x)&&Mp(e.y)}function Dp(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 Np=function(){function e(){this.members=[]}return e.prototype.add=function(e){wc(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(kc(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,n=this.members.findIndex((function(t){return e===t}));if(0===n)return!1;for(var r=n;r>=0;r--){var o=this.members[r];if(!1!==o.isPresent){t=o;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var n,r=this.lead;e!==r&&(this.prevLead=r,this.lead=e,e.show(),r&&(r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues,e.snapshot.isShared=!0),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&r.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,n,r,o,i;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(i=null===(r=e.resumingFrom)||void 0===r?void 0:(o=r.options).onExitComplete)||void 0===i||i.call(o)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),Bp={};function Vp(e,t,n){var r=e.x.translate/t.x,o=e.y.translate/t.y,i="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(n){var a=n.rotate,l=n.rotateX,s=n.rotateY;a&&(i+="rotate(".concat(a,"deg) ")),l&&(i+="rotateX(".concat(l,"deg) ")),s&&(i+="rotateY(".concat(s,"deg) "))}return"translate3d(0px, 0px, 0) scale(1, 1)"===(i+="scale(".concat(e.x.scale,", ").concat(e.y.scale,")"))?"none":i}function $p(e){return[e("x"),e("y")]}var Wp=["","X","Y","Z"],Up=["transformPerspective","x","y","z"];function Hp(e,t){return Up.indexOf(e)-Up.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return Wp.forEach((function(t){return Up.push(e+t)}))}));var qp=new Set(Up);function Gp(e){return qp.has(e)}var Yp=new Set(["originX","originY","originZ"]);function Xp(e){return Yp.has(e)}var Zp=function(e,t){return e.depth-t.depth},Qp=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){wc(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){kc(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(Zp),this.isDirty=!1,this.children.forEach(e)},e}();function Kp(e){var t,n=_c(e)?e.get():e;return t=n,Boolean(t&&"object"==typeof t&&t.mix&&t.toValue)?n.toValue():n}var Jp={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function eh(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,o=e.resetTransform;return function(){function e(e,t,r){var o=this;void 0===t&&(t={}),void 0===r&&(r=null==n?void 0:n()),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(){o.isUpdating&&(o.isUpdating=!1,o.clearAllSnapshots())},this.updateProjection=function(){o.nodes.forEach(lh),o.nodes.forEach(sh)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?Du(Du([],Fu(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var i=0;i<this.path.length;i++)this.path[i].shouldResetTransform=!0;this.root===this&&(this.nodes=new Qp)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Sc),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.eventHandlers.get(e);null==r||r.notify.apply(r,Du([],Fu(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,n){var r,o=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var i=this.options,a=i.layoutId,l=i.layout,s=i.visualElement;if(s&&!s.getInstance()&&s.mount(e),this.root.nodes.add(this),null===(r=this.parent)||void 0===r||r.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(l||a)&&(this.isLayoutDirty=!0),t){var u,c=function(){return o.root.updateBlockedByResize=!1};t(e,(function(){o.root.updateBlockedByResize=!0,clearTimeout(u),u=setTimeout(c,250),Jp.hasAnimatedSinceResize&&(Jp.hasAnimatedSinceResize=!1,o.nodes.forEach(ah))}))}a&&this.root.registerSharedNode(a,this),!1!==this.options.animate&&s&&(a||l)&&this.addEventListener("didUpdate",(function(e){var t,n,r,i,a,l=e.delta,u=e.hasLayoutChanged,c=e.hasRelativeTargetChanged,d=e.layout;if(o.isTreeAnimationBlocked())return o.target=void 0,void(o.relativeTarget=void 0);var f=null!==(n=null!==(t=o.options.transition)&&void 0!==t?t:s.getDefaultTransition())&&void 0!==n?n:hh,p=s.getProps().onLayoutAnimationComplete,h=!o.targetLayout||!Dp(o.targetLayout,d)||c,m=!u&&c;(null===(r=o.resumeFrom)||void 0===r?void 0:r.instance)||m||u&&(h||!o.currentAnimation)?(o.resumeFrom&&(o.resumingFrom=o.resumeFrom,o.resumingFrom.resumingFrom=void 0),o.setAnimationOrigin(l,m),o.startAnimation(zu(zu({},Xf(f,"layout")),{onComplete:p}))):o.isLead()&&(null===(a=(i=o.options).onExitComplete)||void 0===a||a.call(i)),o.targetLayout=d}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,fc.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(uh))},e.prototype.willUpdate=function(e){var t,n,r;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var o=0;o<this.path.length;o++){var i=this.path[o];i.shouldResetTransform=!0,i.updateScroll()}var a=this.options,l=a.layoutId,s=a.layout;if(void 0!==l||s){var u=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==u?void 0:u(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(oh);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(mh),this.potentialNodes.clear()),this.nodes.forEach(ih),this.nodes.forEach(th),this.nodes.forEach(nh),this.clearAllSnapshots(),pc.update(),pc.preRender(),pc.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(rh),this.sharedNodes.forEach(ch)},e.prototype.scheduleUpdateProjection=function(){bc.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;bc.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));gh(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++)this.path[t].updateScroll();var n=this.measure();gh(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null==r?void 0:r.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=r(this.instance))},e.prototype.resetTransform=function(){var e;if(o){var t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!Fp(this.projectionDelta),r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,i=null==r?void 0:r(this.latestValues,""),a=i!==this.prevTransformTemplateValue;t&&(n||up(this.latestValues)||a)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};var t=e.measureViewportBox(),n=this.root.scroll;return n&&(mp(t.x,n.x),mp(t.y,n.y)),t},e.prototype.removeElementScroll=function(e){var t={x:{min:0,max:0},y:{min:0,max:0}};ap(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n],o=r.scroll,i=r.options;r!==this.root&&o&&i.layoutScroll&&(mp(t.x,o.x),mp(t.y,o.y))}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var n={x:{min:0,max:0},y:{min:0,max:0}};ap(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&yp(n,{x:-o.scroll.x,y:-o.scroll.y}),up(o.latestValues)&&yp(n,o.latestValues)}return up(this.latestValues)&&yp(n,this.latestValues),n},e.prototype.removeTransform=function(e){var t,n={x:{min:0,max:0},y:{min:0,max:0}};ap(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];if(o.instance&&up(o.latestValues)){sp(o.latestValues)&&o.updateSnapshot();var i={x:{min:0,max:0},y:{min:0,max:0}};ap(i,o.measure()),zp(n,o.latestValues,null===(t=o.snapshot)||void 0===t?void 0:t.layout,i)}}return up(this.latestValues)&&zp(n,this.latestValues),n},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=zu(zu(zu({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.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},e.prototype.resolveTargetDelta=function(){var e,t,n,r,o=this.options,i=o.layout,a=o.layoutId;this.layout&&(i||a)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Rp(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),ap(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,n=this.relativeTarget,r=this.relativeParent.target,Pp(t.x,n.x,r.x),Pp(t.y,n.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):ap(this.target,this.layout.actual),hp(this.target,this.targetDelta)):ap(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={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Rp(this.relativeTargetOrigin,this.target,this.relativeParent.target),ap(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!up(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,n=t.layout,r=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var o=this.getLead();ap(this.layoutCorrected,this.layout.actual),function(e,t,n,r){var o,i;void 0===r&&(r=!1);var a=n.length;if(a){var l,s;t.x=t.y=1;for(var u=0;u<a;u++)s=(l=n[u]).projectionDelta,"contents"!==(null===(i=null===(o=l.instance)||void 0===o?void 0:o.style)||void 0===i?void 0:i.display)&&(r&&l.options.layoutScroll&&l.scroll&&l!==l.root&&yp(e,{x:-l.scroll.x,y:-l.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,hp(e,s)),r&&up(l.latestValues)&&yp(e,l.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==o);var i=o.target;if(i){this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});var a=this.treeScale.x,l=this.treeScale.y,s=this.projectionTransform;Op(this.projectionDelta,this.layoutCorrected,i,this.latestValues),this.projectionTransform=Vp(this.projectionDelta,this.treeScale),this.projectionTransform===s&&this.treeScale.x===a&&this.treeScale.y===l||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",i))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,n,r;void 0===e&&(e=!0),null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var n,r=this;void 0===t&&(t=!1);var o=this.snapshot,i=(null==o?void 0:o.latestValues)||{},a=zu({},this.latestValues),l={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var s={x:{min:0,max:0},y:{min:0,max:0}},u=null==o?void 0:o.isShared,c=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,d=Boolean(u&&!c&&!0===this.options.crossfade&&!this.path.some(ph));this.mixTargetDelta=function(t){var n,o,f,p,h,m=t/1e3;dh(l.x,e.x,m),dh(l.y,e.y,m),r.setTargetDelta(l),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(n=r.relativeParent)||void 0===n?void 0:n.layout)&&(Rp(s,r.layout.actual,r.relativeParent.layout.actual),o=r.relativeTarget,f=r.relativeTargetOrigin,p=s,h=m,fh(o.x,f.x,p.x,h),fh(o.y,f.y,p.y,h)),u&&(r.animationValues=a,function(e,t,n,r,o,i){var a,l,s,u;o?(e.opacity=yc(0,null!==(a=n.opacity)&&void 0!==a?a:1,np(r)),e.opacityExit=yc(null!==(l=t.opacity)&&void 0!==l?l:1,0,rp(r))):i&&(e.opacity=yc(null!==(s=t.opacity)&&void 0!==s?s:1,null!==(u=n.opacity)&&void 0!==u?u:1,r));for(var c=0;c<Kf;c++){var d="border".concat(Qf[c],"Radius"),f=tp(t,d),p=tp(n,d);void 0===f&&void 0===p||(f||(f=0),p||(p=0),0===f||0===p||ep(f)===ep(p)?(e[d]=Math.max(yc(Jf(f),Jf(p),r),0),(Jc.test(p)||Jc.test(f))&&(e[d]+="%")):e[d]=p)}(t.rotate||n.rotate)&&(e.rotate=yc(t.rotate||0,n.rotate||0,r))}(a,i,r.latestValues,m,d,c)),r.root.scheduleUpdateProjection(),r.scheduleRender()},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,n,r=this;null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(fc.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=bc.update((function(){Jp.hasAnimatedSinceResize=!0,r.currentAnimation=function(e,t,n){void 0===n&&(n={});var r=_c(0)?0:Ec(0);return Zf("",r,1e3,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}(0,0,zu(zu({},e),{onUpdate:function(t){var n;r.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),r.completeAnimation()}})),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,n=e.target,r=e.layout,o=e.latestValues;t&&n&&r&&(ap(t,n),yp(t,o),Op(this.projectionDeltaWithTransform,this.layoutCorrected,t,o))},e.prototype.registerSharedNode=function(e,t){var n,r,o;this.sharedNodes.has(e)||this.sharedNodes.set(e,new Np),this.sharedNodes.get(e).add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(o=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===o?void 0:o.call(r,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,n=t.needsReset,r=t.transition,o=t.preserveFollowOpacity,i=this.getStack();i&&i.promote(this,o),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,n={},r=0;r<Wp.length;r++){var o="rotate"+Wp[r];e.getStaticValue(o)&&(t=!0,n[o]=e.getStaticValue(o),e.setStaticValue(o,0))}if(t){for(var o in null==e||e.syncRender(),n)e.setStaticValue(o,n[o]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,n,r,o,i,a;void 0===e&&(e={});var l={};if(!this.instance||this.isSVG)return l;if(!this.isVisible)return{visibility:"hidden"};l.visibility="";var s=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=Kp(e.pointerEvents)||"",l.transform=s?s(this.latestValues,""):"none",l;var u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){var c={};return this.options.layoutId&&(c.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,c.pointerEvents=Kp(e.pointerEvents)||""),this.hasProjected&&!up(this.latestValues)&&(c.transform=s?s({},""):"none",this.hasProjected=!1),c}var d=u.animationValues||u.latestValues;this.applyTransformsToTarget(),l.transform=Vp(this.projectionDeltaWithTransform,this.treeScale,d),s&&(l.transform=s(d,l.transform));var f=this.projectionDelta,p=f.x,h=f.y;for(var m in l.transformOrigin="".concat(100*p.origin,"% ").concat(100*h.origin,"% 0"),u.animationValues?l.opacity=u===this?null!==(o=null!==(r=d.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==o?o:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:l.opacity=u===this?null!==(i=d.opacity)&&void 0!==i?i:"":null!==(a=d.opacityExit)&&void 0!==a?a:0,Bp)if(void 0!==d[m]){var v=Bp[m],g=v.correct,b=v.applyTo,y=g(d[m],u);if(b)for(var x=b.length,w=0;w<x;w++)l[b[w]]=y;else l[m]=y}return this.options.layoutId&&(l.pointerEvents=u===this?Kp(e.pointerEvents)||"":"none"),l},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(oh),this.root.sharedNodes.clear()},e}()}function th(e){e.updateLayout()}function nh(e){var t,n,r,o,i=null!==(n=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==n?n:e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){var a=e.layout,l=a.actual,s=a.measured;"size"===e.options.animationType?$p((function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=Cp(t);t.min=l[e].min,t.max=t.min+n})):"position"===e.options.animationType&&$p((function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=Cp(l[e]);t.max=t.min+n}));var u={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Op(u,l,i.layout);var c={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i.isShared?Op(c,e.applyTransform(s,!0),i.measured):Op(c,l,i.layout);var d=!Fp(u),f=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var p=e.relativeParent,h=p.snapshot,m=p.layout;if(h&&m){var v={x:{min:0,max:0},y:{min:0,max:0}};Rp(v,i.layout,h.layout);var g={x:{min:0,max:0},y:{min:0,max:0}};Rp(g,l,m.actual),Dp(v,g)||(f=!0)}}e.notifyListeners("didUpdate",{layout:l,snapshot:i,delta:c,layoutDelta:u,hasLayoutChanged:d,hasRelativeTargetChanged:f})}else e.isLead()&&(null===(o=(r=e.options).onExitComplete)||void 0===o||o.call(r));e.options.transition=void 0}function rh(e){e.clearSnapshot()}function oh(e){e.clearMeasurements()}function ih(e){e.resetTransform()}function ah(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function lh(e){e.resolveTargetDelta()}function sh(e){e.calcProjection()}function uh(e){e.resetRotation()}function ch(e){e.removeLeadSnapshot()}function dh(e,t,n){e.translate=yc(t.translate,0,n),e.scale=yc(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function fh(e,t,n,r){e.min=yc(t.min,n.min,r),e.max=yc(t.max,n.max,r)}function ph(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var hh={duration:.45,ease:[.4,0,.1,1]};function mh(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var o=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function vh(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function gh(e){vh(e.x),vh(e.y)}var bh=1,yh=(0,e.createContext)({}),xh=(0,e.createContext)({}),wh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ju(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,n=e.props;t&&t.setProps(n)},t.prototype.render=function(){return this.props.children},t}(e.Component);function kh(t){var n=t.preloadedFeatures,r=t.createVisualElement,o=t.projectionNodeConstructor,i=t.useRender,a=t.useVisualState,l=t.Component;return n&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?Bu.projectionNodeConstructor=e[t]:Bu[t].Component=e[t])}(n),(0,e.forwardRef)((function(t,n){var s=function(t){var n,r=t.layoutId,o=null===(n=(0,e.useContext)(yh))||void 0===n?void 0:n.id;return o&&void 0!==r?o+"-"+r:r}(t);t=zu(zu({},t),{layoutId:s});var u=(0,e.useContext)(Uu),c=null,d=function(t){var n=function(e,t){if(Ju(e)){var n=e.initial,r=e.animate;return{initial:!1===n||Zu(n)?n:void 0,animate:Zu(r)?r:void 0}}return!1!==e.inherit?t:{}}(t,(0,e.useContext)(Hu)),r=n.initial,o=n.animate;return(0,e.useMemo)((function(){return{initial:r,animate:o}}),[tc(r),tc(o)])}(t),f=u.isStatic?void 0:Pu((function(){if(Jp.hasEverUpdated)return bh++})),p=a(t,u.isStatic);return!u.isStatic&&qu&&(d.visualElement=function(t,n,r,o){var i=(0,e.useContext)(Vu),a=(0,e.useContext)(Hu).visualElement,l=(0,e.useContext)(Ou),s=(0,e.useRef)(void 0);o||(o=i.renderer),!s.current&&o&&(s.current=o(t,{visualState:n,parent:a,props:r,presenceId:null==l?void 0:l.id,blockInitialAnimation:!1===(null==l?void 0:l.initial)}));var u=s.current;return Gu((function(){null==u||u.syncRender()})),(0,e.useEffect)((function(){var e;null===(e=null==u?void 0:u.animationState)||void 0===e||e.animateChanges()})),Gu((function(){return function(){return null==u?void 0:u.notifyUnmount()}}),[]),u}(l,p,zu(zu({},u),t),r),function(t,n,r,o){var i,a=n.layoutId,l=n.layout,s=n.drag,u=n.dragConstraints,c=n.layoutScroll,d=(0,e.useContext)(xh);o&&r&&!(null==r?void 0:r.projection)&&(r.projection=new o(t,r.getLatestValues(),null===(i=r.parent)||void 0===i?void 0:i.projection),r.projection.setOptions({layoutId:a,layout:l,alwaysMeasureLayout:Boolean(s)||u&&Yu(u),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"==typeof l?l:"both",initialPromotionConfig:d,layoutScroll:c}))}(f,t,d.visualElement,o||Bu.projectionNodeConstructor),c=function(t,n){var r=[];if((0,e.useContext)(Vu),!n)return null;for(var o=0;o<Wu;o++){var i=$u[o],a=Bu[i],l=a.isEnabled,s=a.Component;l(t)&&s&&r.push(e.createElement(s,zu({key:i},t,{visualElement:n})))}return r}(t,d.visualElement)),e.createElement(wh,{visualElement:d.visualElement,props:zu(zu({},u),t)},c,e.createElement(Hu.Provider,{value:d},i(l,t,f,function(t,n,r){return(0,e.useCallback)((function(e){var o;e&&(null===(o=t.mount)||void 0===o||o.call(t,e)),n&&(e?n.mount(e):n.unmount()),r&&("function"==typeof r?r(e):Yu(r)&&(r.current=e))}),[n])}(p,d.visualElement,n),p,u.isStatic,d.visualElement)))}))}function Sh(e){function t(t,n){return void 0===n&&(n={}),kh(e(t,n))}if("undefined"==typeof Proxy)return t;var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var Ch=["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 Eh(e){return"string"==typeof e&&!e.includes("-")&&!!(Ch.indexOf(e)>-1||/[A-Z]/.test(e))}function _h(e,t){var n=t.layout,r=t.layoutId;return Gp(e)||Xp(e)||(n||void 0!==r)&&(!!Bp[e]||"opacity"===e)}var Oh={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Ph(e){return e.startsWith("--")}var Th=function(e,t){return t&&"number"==typeof e?t.transform(e):e};function Rh(e,t,n,r){var o,i=e.style,a=e.vars,l=e.transform,s=e.transformKeys,u=e.transformOrigin;s.length=0;var c=!1,d=!1,f=!0;for(var p in t){var h=t[p];if(Ph(p))a[p]=h;else{var m=Vf[p],v=Th(h,m);if(Gp(p)){if(c=!0,l[p]=v,s.push(p),!f)continue;h!==(null!==(o=m.default)&&void 0!==o?o:0)&&(f=!1)}else Xp(p)?(u[p]=v,d=!0):i[p]=v}}c?i.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,l=void 0===a||a,s=t.allowTransformNone,u=void 0===s||s,c="";i.sort(Hp);for(var d=!1,f=i.length,p=0;p<f;p++){var h=i[p];c+="".concat(Oh[h]||h,"(").concat(o[h],") "),"z"===h&&(d=!0)}return!d&&l?c+="translateZ(0)":c=c.trim(),r?c=r(o,n?"":c):u&&n&&(c="none"),c}(e,n,f,r):r?i.transform=r({},""):!t.transform&&i.transform&&(i.transform="none"),d&&(i.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,i=e.originZ,a=void 0===i?0:i;return"".concat(n," ").concat(o," ").concat(a)}(u))}function Ah(e,t,n){for(var r in t)_c(t[r])||_h(r,n)||(e[r]=t[r])}function Ih(t,n,r){var o={},i=function(t,n,r){var o={};return Ah(o,t.style||{},t),Object.assign(o,function(t,n,r){var o=t.transformTemplate;return(0,e.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};Rh(e,n,{enableHardwareAcceleration:!r},o);var t=e.style;return zu(zu({},e.vars),t)}),[n])}(t,n,r)),t.transformValues&&(o=t.transformValues(o)),o}(t,n,r);return Boolean(t.drag)&&!1!==t.dragListener&&(o.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),o.style=i,o}var Lh=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 jh(e){return Lh.has(e)}var zh,Mh=function(e){return!jh(e)};try{(zh=require("@emotion/is-prop-valid").default)&&(Mh=function(e){return e.startsWith("on")?!jh(e):zh(e)})}catch(Ri){}function Fh(e,t,n){return"string"==typeof e?e:ed.transform(t+n*e)}var Dh={offset:"stroke-dashoffset",array:"stroke-dasharray"},Nh={offset:"strokeDashoffset",array:"strokeDasharray"};function Bh(e,t,n,r){var o=t.attrX,i=t.attrY,a=t.originX,l=t.originY,s=t.pathLength,u=t.pathSpacing,c=void 0===u?1:u,d=t.pathOffset,f=void 0===d?0:d;Rh(e,Mu(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r),e.attrs=e.style,e.style={};var p=e.attrs,h=e.style,m=e.dimensions;p.transform&&(m&&(h.transform=p.transform),delete p.transform),m&&(void 0!==a||void 0!==l||h.transform)&&(h.transformOrigin=function(e,t,n){var r=Fh(t,e.x,e.width),o=Fh(n,e.y,e.height);return"".concat(r," ").concat(o)}(m,void 0!==a?a:.5,void 0!==l?l:.5)),void 0!==o&&(p.x=o),void 0!==i&&(p.y=i),void 0!==s&&function(e,t,n,r,o){void 0===n&&(n=1),void 0===r&&(r=0),void 0===o&&(o=!0),e.pathLength=1;var i=o?Dh:Nh;e[i.offset]=ed.transform(-r);var a=ed.transform(t),l=ed.transform(n);e[i.array]="".concat(a," ").concat(l)}(p,s,c,f,!1)}var Vh=function(){return zu(zu({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function $h(t,n){var r=(0,e.useMemo)((function(){var e=Vh();return Bh(e,n,{enableHardwareAcceleration:!1},t.transformTemplate),zu(zu({},e.attrs),{style:zu({},e.style)})}),[n]);if(t.style){var o={};Ah(o,t.style,t),r.style=zu(zu({},o),r.style)}return r}function Wh(t){return void 0===t&&(t=!1),function(n,r,o,i,a,l){var s=a.latestValues,u=(Eh(n)?$h:Ih)(r,s,l),c=function(e,t,n){var r={};for(var o in e)(Mh(o)||!0===n&&jh(o)||!t&&!jh(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(r,"string"==typeof n,t),d=zu(zu(zu({},c),u),{ref:i});return o&&(d["data-projection-id"]=o),(0,e.createElement)(n,d)}}var Uh=/([a-z])([A-Z])/g,Hh=function(e){return e.replace(Uh,"$1-$2").toLowerCase()};function qh(e,t,n,r){var o=t.style,i=t.vars;for(var a in Object.assign(e.style,o,r&&r.getProjectionStyles(n)),i)e.style.setProperty(a,i[a])}var Gh=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function Yh(e,t){for(var n in qh(e,t),t.attrs)e.setAttribute(Gh.has(n)?n:Hh(n),t.attrs[n])}function Xh(e){var t=e.style,n={};for(var r in t)(_c(t[r])||_h(r,e))&&(n[r]=t[r]);return n}function Zh(e){var t=Xh(e);for(var n in e)_c(e[n])&&(t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]);return t}function Qh(e){return"object"==typeof e&&"function"==typeof e.start}function Kh(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,l={latestValues:em(t,n,r,o),renderState:i()};return a&&(l.mount=function(e){return a(t,e,l)}),l}var Jh=function(t){return function(n,r){var o=(0,e.useContext)(Hu),i=(0,e.useContext)(Ou);return r?Kh(t,n,o,i):Pu((function(){return Kh(t,n,o,i)}))}};function em(e,t,n,r){var o={},i=!1===(null==n?void 0:n.initial),a=r(e);for(var l in a)o[l]=Kp(a[l]);var s=e.initial,u=e.animate,c=Ju(e),d=ec(e);t&&d&&!c&&!1!==e.inherit&&(null!=s||(s=t.initial),null!=u||(u=t.animate));var f=i||!1===s,p=f?u:s;return p&&"boolean"!=typeof p&&!Qh(p)&&(Array.isArray(p)?p:[p]).forEach((function(t){var n=Qu(e,t);if(n){var r=n.transitionEnd;n.transition;var i=Mu(n,["transitionEnd","transition"]);for(var a in i){var l=i[a];Array.isArray(l)&&(l=l[f?l.length-1:0]),null!==l&&(o[a]=l)}for(var a in r)o[a]=r[a]}})),o}var tm,nm={useVisualState:Jh({scrapeMotionValuesFromProps:Zh,createRenderState:Vh,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}Bh(r,o,{enableHardwareAcceleration:!1},e.transformTemplate),Yh(t,r)}})},rm={useVisualState:Jh({scrapeMotionValuesFromProps:Xh,createRenderState:function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}}})};function om(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function im(t,n,r,o){(0,e.useEffect)((function(){var e=t.current;if(r&&e)return om(e,n,r,o)}),[t,n,r,o])}function am(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function lm(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(tm||(tm={}));var sm={pageX:0,pageY:0};function um(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||sm;return{x:n[t+"X"],y:n[t+"Y"]}}function cm(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function dm(e,t){return void 0===t&&(t="page"),{point:lm(e)?um(e,t):cm(e,t)}}var fm=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,dm(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},pm={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},hm={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function mm(e){return qu&&null===window.onpointerdown?e:qu&&null===window.ontouchstart?hm[e]:qu&&null===window.onmousedown?pm[e]:e}function vm(e,t,n,r){return om(e,mm(t),fm(n,"pointerdown"===t),r)}function gm(e,t,n,r){return im(e,mm(t),n&&fm(n,"pointerdown"===t),r)}function bm(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var ym=bm("dragHorizontal"),xm=bm("dragVertical");function wm(e){var t=!1;if("y"===e)t=xm();else if("x"===e)t=ym();else{var n=ym(),r=xm();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function km(){var e=wm(!0);return!e||(e(),!1)}function Sm(e,t,n){return function(r,o){var i;am(r)&&!km()&&(null===(i=e.animationState)||void 0===i||i.setActive(tm.Hover,t),null==n||n(r,o))}}var Cm=function(e,t){return!!t&&(e===t||Cm(e,t.parentElement))};function Em(t){return(0,e.useEffect)((function(){return function(){return t()}}),[])}var _m=new WeakMap,Om=new WeakMap,Pm=function(e){var t;null===(t=_m.get(e.target))||void 0===t||t(e)},Tm=function(e){e.forEach(Pm)};var Rm={some:0,all:1};function Am(t,n,r,o){var i=o.root,a=o.margin,l=o.amount,s=void 0===l?"some":l,u=o.once;(0,e.useEffect)((function(){if(t){var e={root:null==i?void 0:i.current,rootMargin:a,threshold:"number"==typeof s?s:Rm[s]};return function(e,t,n){var r=function(e){var t=e.root,n=Mu(e,["root"]),r=t||document;Om.has(r)||Om.set(r,{});var o=Om.get(r),i=JSON.stringify(n);return o[i]||(o[i]=new IntersectionObserver(Tm,zu({root:t},n))),o[i]}(t);return _m.set(e,n),r.observe(e),function(){_m.delete(e),r.unobserve(e)}}(r.getInstance(),e,(function(e){var t,o=e.isIntersecting;if(n.isInView!==o&&(n.isInView=o,!u||o||!n.hasEnteredView)){o&&(n.hasEnteredView=!0),null===(t=r.animationState)||void 0===t||t.setActive(tm.InView,o);var i=r.getProps(),a=o?i.onViewportEnter:i.onViewportLeave;null==a||a(e)}}))}}),[t,i,a,s])}function Im(t,n,r){(0,e.useEffect)((function(){t&&requestAnimationFrame((function(){var e;n.hasEnteredView=!0;var t=r.getProps().onViewportEnter;null==t||t(null),null===(e=r.animationState)||void 0===e||e.setActive(tm.InView,!0)}))}),[t])}var Lm=function(e){return function(t){return e(t),null}},jm={inView:Lm((function(t){var n=t.visualElement,r=t.whileInView,o=t.onViewportEnter,i=t.onViewportLeave,a=t.viewport,l=void 0===a?{}:a,s=(0,e.useRef)({hasEnteredView:!1,isInView:!1}),u=Boolean(r||o||i);l.once&&s.current.hasEnteredView&&(u=!1),("undefined"==typeof IntersectionObserver?Im:Am)(u,s.current,n,l)})),tap:Lm((function(t){var n=t.onTap,r=t.onTapStart,o=t.onTapCancel,i=t.whileTap,a=t.visualElement,l=n||r||o||i,s=(0,e.useRef)(!1),u=(0,e.useRef)(null);function c(){var e;null===(e=u.current)||void 0===e||e.call(u),u.current=null}function d(){var e;return c(),s.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(tm.Tap,!1),!km()}function f(e,t){d()&&(Cm(a.getInstance(),e.target)?null==n||n(e,t):null==o||o(e,t))}function p(e,t){d()&&(null==o||o(e,t))}gm(a,"pointerdown",l?function(e,t){var n;c(),s.current||(s.current=!0,u.current=kd(vm(window,"pointerup",f),vm(window,"pointercancel",p)),null===(n=a.animationState)||void 0===n||n.setActive(tm.Tap,!0),null==r||r(e,t))}:void 0),Em(c)})),focus:Lm((function(e){var t=e.whileFocus,n=e.visualElement;im(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(tm.Focus,!0)}:void 0),im(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(tm.Focus,!1)}:void 0)})),hover:Lm((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;gm(o,"pointerenter",t||r?Sm(o,!0,t):void 0),gm(o,"pointerleave",n||r?Sm(o,!1,n):void 0)}))};function zm(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Mm=function(e){return function(t){return t.test(e)}},Fm=[$c,ed,Jc,Kc,nd,td,{test:function(e){return"auto"===e},parse:function(e){return e}}],Dm=function(e){return Fm.find(Mm(e))},Nm=Du(Du([],Fu(Fm),!1),[fd,yd],!1),Bm=function(e){return Nm.find(Mm(e))};function Vm(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ec(n))}function $m(e,t){if(t)return(t[e]||t.default||t).from}function Wm(e,t,n){var r;void 0===n&&(n={});var o=Ku(e,t,n.custom),i=(o||{}).transition,a=void 0===i?e.getDefaultTransition()||{}:i;n.transitionOverride&&(a=n.transitionOverride);var l=o?function(){return Um(e,o,n)}:function(){return Promise.resolve()},s=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o=a.delayChildren,i=void 0===o?0:o,l=a.staggerChildren,s=a.staggerDirection;return function(e,t,n,r,o,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===o&&(o=1);var a=[],l=(e.variantChildren.size-1)*r,s=1===o?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),l-e*r};return Array.from(e.variantChildren).sort(Hm).forEach((function(e,r){a.push(Wm(e,t,zu(zu({},i),{delay:n+s(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(a)}(e,t,i+r,l,s,n)}:function(){return Promise.resolve()},u=a.when;if(u){var c=Fu("beforeChildren"===u?[l,s]:[s,l],2),d=c[0],f=c[1];return d().then(f)}return Promise.all([l(),s(n.delay)])}function Um(e,t,n){var r,o=void 0===n?{}:n,i=o.delay,a=void 0===i?0:i,l=o.transitionOverride,s=o.type,u=e.makeTargetAnimatable(t),c=u.transition,d=void 0===c?e.getDefaultTransition():c,f=u.transitionEnd,p=Mu(u,["transition","transitionEnd"]);l&&(d=l);var h=[],m=s&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[s]);for(var v in p){var g=e.getValue(v),b=p[v];if(!(!g||void 0===b||m&&qm(m,v))){var y=Zf(v,g,b,zu({delay:a},d));h.push(y)}}return Promise.all(h).then((function(){f&&function(e,t){var n=Ku(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,i=void 0===o?{}:o;r.transition;var a=Mu(r,["transitionEnd","transition"]);for(var l in a=zu(zu({},a),i))Vm(e,l,Hf(a[l]))}(e,f)}))}function Hm(e,t){return e.sortNodePosition(t)}function qm(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var Gm=[tm.Animate,tm.InView,tm.Focus,tm.Hover,tm.Tap,tm.Drag,tm.Exit],Ym=Du([],Fu(Gm),!1).reverse(),Xm=Gm.length;function Zm(e){var t=function(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(t),Array.isArray(t)){var o=t.map((function(t){return Wm(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=Wm(e,t,n);else{var i="function"==typeof t?Ku(e,t,n.custom):t;r=Um(e,i,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}(e),n=function(){var e;return(e={})[tm.Animate]=Qm(!0),e[tm.InView]=Qm(),e[tm.Hover]=Qm(),e[tm.Tap]=Qm(),e[tm.Drag]=Qm(),e[tm.Focus]=Qm(),e[tm.Exit]=Qm(),e}(),r={},o=!0,i=function(t,n){var r=Ku(e,n);if(r){r.transition;var o=r.transitionEnd,i=Mu(r,["transition","transitionEnd"]);t=zu(zu(zu({},t),i),o)}return t};function a(a,l){for(var s,u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set,p={},h=1/0,m=function(t){var r=Ym[t],m=n[r],v=null!==(s=u[r])&&void 0!==s?s:c[r],g=Zu(v),b=r===l?m.isActive:null;!1===b&&(h=t);var y=v===c[r]&&v!==u[r]&&g;if(y&&o&&e.manuallyAnimateOnMount&&(y=!1),m.protectedKeys=zu({},p),!m.isActive&&null===b||!v&&!m.prevProp||Qh(v)||"boolean"==typeof v)return"continue";var x=function(e,t){return"string"==typeof t?t!==e:!!Xu(t)&&!zm(t,e)}(m.prevProp,v),w=x||r===l&&m.isActive&&!y&&g||t>h&&g,k=Array.isArray(v)?v:[v],S=k.reduce(i,{});!1===b&&(S={});var C=m.prevResolvedValues,E=void 0===C?{}:C,_=zu(zu({},E),S),O=function(e){w=!0,f.delete(e),m.needsAnimating[e]=!0};for(var P in _){var T=S[P],R=E[P];p.hasOwnProperty(P)||(T!==R?Rf(T)&&Rf(R)?!zm(T,R)||x?O(P):m.protectedKeys[P]=!0:void 0!==T?O(P):f.add(P):void 0!==T&&f.has(P)?O(P):m.protectedKeys[P]=!0)}m.prevProp=v,m.prevResolvedValues=S,m.isActive&&(p=zu(zu({},p),S)),o&&e.blockInitialAnimation&&(w=!1),w&&!y&&d.push.apply(d,Du([],Fu(k.map((function(e){return{animation:e,options:zu({type:r},a)}}))),!1))},v=0;v<Xm;v++)m(v);if(r=zu({},p),f.size){var g={};f.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(g[t]=n)})),d.push({animation:g})}var b=Boolean(d.length);return o&&!1===u.initial&&!e.manuallyAnimateOnMount&&(b=!1),o=!1,b?t(d):Promise.resolve()}return{isAnimated:function(e){return void 0!==r[e]},animateChanges:a,setActive:function(t,r,o){var i;return n[t].isActive===r?Promise.resolve():(null===(i=e.variantChildren)||void 0===i||i.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r,a(o,t))},setAnimateFunction:function(n){t=n(e)},getState:function(){return n}}}function Qm(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Km={animation:Lm((function(t){var n=t.visualElement,r=t.animate;n.animationState||(n.animationState=Zm(n)),Qh(r)&&(0,e.useEffect)((function(){return r.subscribe(n)}),[r])})),exit:Lm((function(t){var n=t.custom,r=t.visualElement,o=Fu(Tu(),2),i=o[0],a=o[1],l=(0,e.useContext)(Ou);(0,e.useEffect)((function(){var e,t;r.isPresent=i;var o=null===(e=r.animationState)||void 0===e?void 0:e.setActive(tm.Exit,!i,{custom:null!==(t=null==l?void 0:l.custom)&&void 0!==t?t:n});!i&&(null==o||o.then(a))}),[i])}))},Jm=function(){function e(e,t,n){var r=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=nv(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=Sp(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,i=gc().timestamp;r.history.push(zu(zu({},o),{timestamp:i}));var a=r.handlers,l=a.onStart,s=a.onMove;t||(l&&l(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),s&&s(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=ev(t,r.transformPagePoint),am(e)&&0===e.buttons?r.handlePointerUp(e,t):bc.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=nv(ev(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)},!(lm(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var i=ev(dm(e),this.transformPagePoint),a=i.point,l=gc().timestamp;this.history=[zu(zu({},a),{timestamp:l})];var s=t.onSessionStart;s&&s(e,nv(i,this.history)),this.removeListeners=kd(vm(window,"pointermove",this.handlePointerMove),vm(window,"pointerup",this.handlePointerUp),vm(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),fc.update(this.updatePoint)},e}();function ev(e,t){return t?{point:t(e.point)}:e}function tv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function nv(e,t){var n=e.point;return{point:n,delta:tv(n,ov(t)),offset:tv(n,rv(t)),velocity:iv(t,.1)}}function rv(e){return e[0]}function ov(e){return e[e.length-1]}function iv(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=ov(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>yf(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function av(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function lv(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=Fu([o,r],2))[0],o=n[1]),{min:r,max:o}}var sv=.35;function uv(e,t,n){return{min:cv(e,t),max:cv(e,n)}}function cv(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function dv(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function fv(e,t){return dv(function(e,t){if(!t)return e;var n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}var pv=new WeakMap,hv=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}return e.prototype.start=function(e,t){var n=this,r=(void 0===t?{}:t).snapToCursor,o=void 0!==r&&r;!1!==this.visualElement.isPresent&&(this.panSession=new Jm(e,{onSessionStart:function(e){n.stopAnimation(),o&&n.snapToCursor(dm(e,"page").point)},onStart:function(e,t){var r,o=n.getProps(),i=o.drag,a=o.dragPropagation,l=o.onDragStart;(!i||a||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=wm(i),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),$p((function(e){var t,r,o=n.getAxisMotionValue(e).get()||0;if(Jc.test(o)){var i=null===(r=null===(t=n.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===r?void 0:r.actual[e];i&&(o=Cp(i)*(parseFloat(o)/100))}n.originPoint[e]=o})),null==l||l(e,t),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(tm.Drag,!0))},onMove:function(e,t){var r=n.getProps(),o=r.dragPropagation,i=r.dragDirectionLock,a=r.onDirectionLock,l=r.onDrag;if(o||n.openGlobalLock){var s=t.offset;if(i&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(s),void(null!==n.currentDirection&&(null==a||a(n.currentDirection)));n.updateAxis("x",t.point,s),n.updateAxis("y",t.point,s),n.visualElement.syncRender(),null==l||l(e,t)}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},e.prototype.stop=function(e,t){var n=this.isDragging;if(this.cancel(),n){var r=t.velocity;this.startAnimation(r);var o=this.getProps().onDragEnd;null==o||o(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(tm.Drag,!1)},e.prototype.updateAxis=function(e,t,n){var r=this.getProps().drag;if(n&&mv(e,r,this.currentDirection)){var o=this.getAxisMotionValue(e),i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?yc(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?yc(o,e,n.max):Math.min(e,o)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),n=t.dragConstraints,r=t.dragElastic,o=(this.visualElement.projection||{}).layout,i=this.constraints;n&&Yu(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!o)&&function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:av(e.x,r,i),y:av(e.y,n,o)}}(o.actual,n),this.elastic=function(e){return void 0===e&&(e=sv),!1===e?e=0:!0===e&&(e=sv),{x:uv(e,"left","right"),y:uv(e,"top","bottom")}}(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&$p((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!Yu(t))return!1;var r=t.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var i=function(e,t,n){var r=fv(e,n),o=t.scroll;return o&&(mp(r.x,o.x),mp(r.y,o.y)),r}(r,o.root,this.visualElement.getTransformPagePoint()),a=function(e,t){return{x:lv(e.x,t.x),y:lv(e.y,t.y)}}(o.layout.actual,i);if(n){var l=n(function(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}(a));this.hasMutatedConstraints=!!l,l&&(a=dv(l))}return a},e.prototype.startAnimation=function(e){var t=this,n=this.getProps(),r=n.drag,o=n.dragMomentum,i=n.dragElastic,a=n.dragTransition,l=n.dragSnapToOrigin,s=n.onDragTransitionEnd,u=this.constraints||{},c=$p((function(n){var s;if(mv(n,r,t.currentDirection)){var c=null!==(s=null==u?void 0:u[n])&&void 0!==s?s:{};l&&(c={min:0,max:0});var d=i?200:1e6,f=i?40:1e7,p=zu(zu({type:"inertia",velocity:o?e[n]:0,bounceStiffness:d,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},a),c);return t.startAxisValueAnimation(n,p)}}));return Promise.all(c).then(s)},e.prototype.startAxisValueAnimation=function(e,t){return Zf(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;$p((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,n,r="_drag"+e.toUpperCase();return this.visualElement.getProps()[r]||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)},e.prototype.snapToCursor=function(e){var t=this;$p((function(n){if(mv(n,t.getProps().drag,t.currentDirection)){var r=t.visualElement.projection,o=t.getAxisMotionValue(n);if(r&&r.layout){var i=r.layout.actual[n],a=i.min,l=i.max;o.set(e[n]-yc(a,l,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,n=this.getProps(),r=n.drag,o=n.dragConstraints,i=this.visualElement.projection;if(Yu(o)&&i&&this.constraints){this.stopAnimation();var a={x:0,y:0};$p((function(e){var n,r,o,i,l,s=t.getAxisMotionValue(e);if(s){var u=s.get();a[e]=(n={min:u,max:u},r=t.constraints[e],o=.5,i=Cp(n),(l=Cp(r))>i?o=zc(r.min,r.max-i,n.min):i>l&&(o=zc(n.min,n.max-l,r.min)),Oc(0,1,o))}}));var l=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=l?l({},""):"none",null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout(),this.resolveConstraints(),$p((function(e){if(mv(e,r,null)){var n=t.getAxisMotionValue(e),o=t.constraints[e],i=o.min,l=o.max;n.set(yc(i,l,a[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;pv.set(this.visualElement,this);var n=vm(this.visualElement.getInstance(),"pointerdown",(function(e){var n=t.getProps(),r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=function(){Yu(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},o=this.visualElement.projection,i=o.addEventListener("measure",r);o&&!o.layout&&(null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout()),r();var a=om(window,"resize",(function(){t.scalePositionWithinConstraints()}));return o.addEventListener("didUpdate",(function(e){var n=e.delta,r=e.hasLayoutChanged;t.isDragging&&r&&($p((function(e){var r=t.getAxisMotionValue(e);r&&(t.originPoint[e]+=n[e].translate,r.set(r.get()+n[e].translate))})),t.visualElement.syncRender())})),function(){a(),n(),i()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,o=void 0!==r&&r,i=e.dragPropagation,a=void 0!==i&&i,l=e.dragConstraints,s=void 0!==l&&l,u=e.dragElastic,c=void 0===u?sv:u,d=e.dragMomentum,f=void 0===d||d;return zu(zu({},e),{drag:n,dragDirectionLock:o,dragPropagation:a,dragConstraints:s,dragElastic:c,dragMomentum:f})},e}();function mv(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var vv={pan:Lm((function(t){var n=t.onPan,r=t.onPanStart,o=t.onPanEnd,i=t.onPanSessionStart,a=t.visualElement,l=n||r||o||i,s=(0,e.useRef)(null),u=(0,e.useContext)(Uu).transformPagePoint,c={onSessionStart:i,onStart:r,onMove:n,onEnd:function(e,t){s.current=null,o&&o(e,t)}};(0,e.useEffect)((function(){null!==s.current&&s.current.updateHandlers(c)})),gm(a,"pointerdown",l&&function(e){s.current=new Jm(e,c,{transformPagePoint:u})}),Em((function(){return s.current&&s.current.end()}))})),drag:Lm((function(t){var n=t.dragControls,r=t.visualElement,o=Pu((function(){return new hv(r)}));(0,e.useEffect)((function(){return n&&n.subscribe(o)}),[o,n]),(0,e.useEffect)((function(){return o.addListeners()}),[o])}))},gv=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"],bv=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,i=e.makeTargetAnimatable,a=e.measureViewportBox,l=e.render,s=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,d=e.scrapeMotionValuesFromProps;return function(e,t){var f=e.parent,p=e.props,h=e.presenceId,m=e.blockInitialAnimation,v=e.visualState;void 0===t&&(t={});var g,b,y=!1,x=v.latestValues,w=v.renderState,k=function(){var e=gv.map((function(){return new Sc})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){gv.forEach((function(r){var o,i="on"+r,a=e[i];null===(o=t[r])||void 0===o||o.call(t),a&&(t[r]=n[i](a))}))}};return e.forEach((function(e,t){n["on"+gv[t]]=function(t){return e.add(t)},n["notify"+gv[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.notify.apply(e,Du([],Fu(t),!1))}})),n}(),S=new Map,C=new Map,E={},_=zu({},x);function O(){g&&y&&(P(),l(g,w,p.style,z.projection))}function P(){r(z,w,x,t,p)}function T(){k.notifyUpdate(x)}var R=d(p);for(var A in R){var I=R[A];void 0!==x[A]&&_c(I)&&I.set(x[A],!1)}var L=Ju(p),j=ec(p),z=zu(zu({treeType:n,current:null,depth:f?f.depth+1:0,parent:f,children:new Set,presenceId:h,variantChildren:j?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==f?void 0:f.isMounted()),blockInitialAnimation:m,isMounted:function(){return Boolean(g)},mount:function(e){y=!0,g=z.current=e,z.projection&&z.projection.mount(e),j&&f&&!L&&(b=null==f?void 0:f.addVariantChild(z)),null==f||f.children.add(z),z.setProps(p)},unmount:function(){var e;null===(e=z.projection)||void 0===e||e.unmount(),fc.update(T),fc.render(O),C.forEach((function(e){return e()})),null==b||b(),null==f||f.children.delete(z),k.clearAllListeners(),g=void 0,y=!1},addVariantChild:function(e){var t,n=z.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return c&&n===e.treeType?c(z.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return j?z:null==f?void 0:f.getClosestVariantNode()},getLayoutId:function(){return p.layoutId},getInstance:function(){return g},getStaticValue:function(e){return x[e]},setStaticValue:function(e,t){return x[e]=t},getLatestValues:function(){return x},setVisibility:function(e){z.isVisible!==e&&(z.isVisible=e,z.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),i(z,e,p,t)},measureViewportBox:function(){return a(g,p)},addValue:function(e,t){z.hasValue(e)&&z.removeValue(e),S.set(e,t),x[e]=t.get(),function(e,t){var n=t.onChange((function(t){x[e]=t,p.onUpdate&&bc.update(T,!1,!0)})),r=t.onRenderRequest(z.scheduleRender);C.set(e,(function(){n(),r()}))}(e,t)},removeValue:function(e){var t;S.delete(e),null===(t=C.get(e))||void 0===t||t(),C.delete(e),delete x[e],u(e,w)},hasValue:function(e){return S.has(e)},getValue:function(e,t){var n=S.get(e);return void 0===n&&void 0!==t&&(n=Ec(t),z.addValue(e,n)),n},forEachValue:function(e){return S.forEach(e)},readValue:function(e){var n;return null!==(n=x[e])&&void 0!==n?n:s(g,e,t)},setBaseTarget:function(e,t){_[e]=t},getBaseTarget:function(e){if(o){var t=o(p,e);if(void 0!==t&&!_c(t))return t}return _[e]}},k),{build:function(){return P(),w},scheduleRender:function(){bc.render(O,!1,!0)},syncRender:O,setProps:function(e){(e.transformTemplate||p.transformTemplate)&&z.scheduleRender(),p=e,k.updatePropListeners(e),E=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(_c(i))e.addValue(o,i);else if(_c(a))e.addValue(o,Ec(i));else if(a!==i)if(e.hasValue(o)){var l=e.getValue(o);!l.hasAnimated&&l.set(i)}else e.addValue(o,Ec(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(z,d(p),E)},getProps:function(){return p},getVariant:function(e){var t;return null===(t=p.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return p.transition},getTransformPagePoint:function(){return p.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==f?void 0:f.getVariantContext();if(!L){var t=(null==f?void 0:f.getVariantContext())||{};return void 0!==p.initial&&(t.initial=p.initial),t}for(var n={},r=0;r<xv;r++){var o=yv[r],i=p[o];(Zu(i)||!1===i)&&(n[o]=i)}return n}});return z}},yv=Du(["initial"],Fu(Gm),!1),xv=yv.length;function wv(e){return"string"==typeof e&&e.startsWith("var(--")}var kv=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Sv(e,t,n){void 0===n&&(n=1),'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.');var r=Fu(function(e){var t=kv.exec(e);if(!t)return[,];var n=Fu(t,3);return[n[1],n[2]]}(e),2),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():wv(i)?Sv(i,t,n+1):i}}var Cv,Ev=new Set(["width","height","top","left","right","bottom","x","y"]),_v=function(e){return Ev.has(e)},Ov=function(e,t){e.set(t,!1),e.set(t)},Pv=function(e){return e===$c||e===ed};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Cv||(Cv={}));var Tv=function(e,t){return parseFloat(e.split(", ")[t])},Rv=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return Tv(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?Tv(a[1],e):0}},Av=new Set(["x","y","z"]),Iv=Up.filter((function(e){return!Av.has(e)})),Lv={width:function(e,t){var n=e.x,r=t.paddingLeft,o=void 0===r?"0":r,i=t.paddingRight,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},height:function(e,t){var n=e.y,r=t.paddingTop,o=void 0===r?"0":r,i=t.paddingBottom,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:Rv(4,13),y:Rv(5,14)};function jv(e,t,n,r){return function(e){return Object.keys(e).some(_v)}(t)?function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=zu({},t),r=zu({},r);var o=Object.keys(t).filter(_v),i=[],a=!1,l=[];if(o.forEach((function(o){var s=e.getValue(o);if(e.hasValue(o)){var u,c=n[o],d=Dm(c),f=t[o];if(Rf(f)){var p=f.length,h=null===f[0]?1:0;c=f[h],d=Dm(c);for(var m=h;m<p;m++)u?Dm(f[m]):(u=Dm(f[m]))===d||Pv(d)&&Pv(u)}else u=Dm(f);if(d!==u)if(Pv(d)&&Pv(u)){var v=s.get();"string"==typeof v&&s.set(parseFloat(v)),"string"==typeof f?t[o]=parseFloat(f):Array.isArray(f)&&u===ed&&(t[o]=f.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==u?void 0:u.transform)&&(0===c||0===f)?0===c?s.set(u.transform(c)):t[o]=d.transform(f):(a||(i=function(e){var t=[];return Iv.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),a=!0),l.push(o),r[o]=void 0!==r[o]?r[o]:t[o],Ov(s,f))}})),l.length){var s=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,l={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach((function(e){l[e]=Lv[e](r,i)})),t.syncRender();var s=t.measureViewportBox();return n.forEach((function(n){var r=t.getValue(n);Ov(r,l[n]),e[n]=Lv[n](s,i)})),e}(t,e,l);return i.length&&i.forEach((function(t){var n=Fu(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),{target:s,transitionEnd:r}}return{target:t,transitionEnd:r}}(e,t,n,r):{target:t,transitionEnd:r}}var zv={treeType:"dom",readValueFromInstance:function(e,t){if(Gp(t)){var n=Wf(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(Ph(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return fv(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;void 0===r&&(r=!0);var i=t.transition,a=t.transitionEnd,l=Mu(t,["transition","transitionEnd"]),s=function(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=$m(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(l,i||{},e);if(o&&(a&&(a=o(a)),l&&(l=o(l)),s&&(s=o(s))),r){!function(e,t,n){var r,o,i,a,l=Object.keys(t).filter((function(t){return!e.hasValue(t)})),s=l.length;if(s)for(var u=0;u<s;u++){var c=l[u],d=t[c],f=null;Array.isArray(d)&&(f=d[0]),null===f&&(f=null!==(o=null!==(r=n[c])&&void 0!==r?r:e.readValue(c))&&void 0!==o?o:t[c]),null!=f&&("string"==typeof f&&(/^\-?\d*\.?\d+$/.test(f)||/^0[^.\s]+$/.test(f))?f=parseFloat(f):!Bm(f)&&yd.test(d)&&(f=Uf(c,d)),e.addValue(c,Ec(f)),null!==(i=(a=n)[c])&&void 0!==i||(a[c]=f),e.setBaseTarget(c,f))}}(e,l,s);var u=function(e,t,n,r){var o=function(e,t,n){var r,o=Mu(t,[]),i=e.getInstance();if(!(i instanceof Element))return{target:o,transitionEnd:n};for(var a in n&&(n=zu({},n)),e.forEachValue((function(e){var t=e.get();if(wv(t)){var n=Sv(t,i);n&&e.set(n)}})),o){var l=o[a];if(wv(l)){var s=Sv(l,i);s&&(o[a]=s,n&&(null!==(r=n[a])&&void 0!==r||(n[a]=l)))}}return{target:o,transitionEnd:n}}(e,t,r);return jv(e,t=o.target,n,r=o.transitionEnd)}(e,l,s,a);a=u.transitionEnd,l=u.target}return zu({transition:i,transitionEnd:a},l)},scrapeMotionValuesFromProps:Xh,build:function(e,t,n,r,o){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),Rh(t,n,r,o.transformTemplate)},render:qh},Mv=bv(zv),Fv=bv(zu(zu({},zv),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return Gp(t)?(null===(n=Wf(t))||void 0===n?void 0:n.default)||0:(t=Gh.has(t)?t:Hh(t),e.getAttribute(t))},scrapeMotionValuesFromProps:Zh,build:function(e,t,n,r,o){Bh(t,n,r,o.transformTemplate)},render:Yh})),Dv=function(e,t){return Eh(e)?Fv(t,{enableHardwareAcceleration:!1}):Mv(t,{enableHardwareAcceleration:!0})};function Nv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Bv={correct:function(e,t){if(!t.target)return e;if("string"==typeof e){if(!ed.test(e))return e;e=parseFloat(e)}var n=Nv(e,t.target.x),r=Nv(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},Vv="_$css",$v={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(kv,(function(e){return a.push(e),Vv})));var l=yd.parse(e);if(l.length>5)return o;var s=yd.createTransformer(e),u="number"!=typeof l[0]?1:0,c=r.x.scale*n.x,d=r.y.scale*n.y;l[0+u]/=c,l[1+u]/=d;var f=yc(c,d,.5);"number"==typeof l[2+u]&&(l[2+u]/=f),"number"==typeof l[3+u]&&(l[3+u]/=f);var p=s(l);if(i){var h=0;p=p.replace(Vv,(function(){var e=a[h];return h++,e}))}return p}},Wv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ju(t,e),t.prototype.componentDidMount=function(){var e,t=this,n=this.props,r=n.visualElement,o=n.layoutGroup,i=n.switchLayoutGroup,a=n.layoutId,l=r.projection;e=Uv,Object.assign(Bp,e),l&&((null==o?void 0:o.group)&&o.group.add(l),(null==i?void 0:i.register)&&a&&i.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",(function(){t.safeToRemove()})),l.setOptions(zu(zu({},l.options),{onExitComplete:function(){return t.safeToRemove()}}))),Jp.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,n=this.props,r=n.layoutDependency,o=n.visualElement,i=n.drag,a=n.isPresent,l=o.projection;return l?(l.isPresent=a,i||e.layoutDependency!==r||void 0===r?l.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?l.promote():l.relegate()||bc.postRender((function(){var e;(null===(e=l.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,n=e.layoutGroup,r=e.switchLayoutGroup,o=t.projection;o&&(o.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(o),(null==r?void 0:r.deregister)&&r.deregister(o))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null==e||e()},t.prototype.render=function(){return null},t}(e.Component),Uv={borderRadius:zu(zu({},Bv),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Bv,borderTopRightRadius:Bv,borderBottomLeftRadius:Bv,borderBottomRightRadius:Bv,boxShadow:$v},Hv={measureLayout:function(t){var n=Fu(Tu(),2),r=n[0],o=n[1],i=(0,e.useContext)(yh);return e.createElement(Wv,zu({},t,{layoutGroup:i,switchLayoutGroup:(0,e.useContext)(xh),isPresent:r,safeToRemove:o}))}},qv=eh({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}}}),Gv={current:void 0},Yv=eh({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Gv.current){var e=new qv(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Gv.current=e}return Gv.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"}}),Xv=zu(zu(zu(zu({},Km),jm),vv),Hv),Zv=Sh((function(e,t){return function(e,t,n,r,o){var i=t.forwardMotionProps,a=void 0!==i&&i,l=Eh(e)?nm:rm;return zu(zu({},l),{preloadedFeatures:n,useRender:Wh(a),createVisualElement:r,projectionNodeConstructor:o,Component:e})}(e,t,Xv,Dv,Yv)})),Qv=new Set([...An,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Kv=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function Jv(e){return Kv.has(e)||!Qv.has(e)}var eg,tg=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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)-.*))$/,ng=de((function(e){return tg.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),rg=function(e){return"theme"!==e},og=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?ng:rg},ig=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},ag=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return se(t,n,r),Ee((function(){return ue(t,n,r)})),null},lg=function t(n,r){var o,i,a=n.__emotion_real===n,l=a&&n.__emotion_base||n;void 0!==r&&(o=r.label,i=r.target);var s=ig(n,r,a),u=s||og(l),c=!u("as");return function(){var d=arguments,f=a&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==o&&f.push("label:"+o+";"),null==d[0]||void 0===d[0].raw)f.push.apply(f,d);else{var p=d[0];f.push(p[0]);for(var h=d.length,m=1;m<h;m++)f.push(d[m],p[m])}var v=Pe((function(t,n,r){var o=c&&t.as||l,a="",d=[],p=t;if(null==t.theme){for(var h in p={},t)p[h]=t[h];p.theme=e.useContext(Te)}"string"==typeof t.className?a=le(n.registered,d,t.className):null!=t.className&&(a=t.className+" ");var m=we(f.concat(d),n.registered,p);a+=n.key+"-"+m.name,void 0!==i&&(a+=" "+i);var v=c&&void 0===s?og(o):u,g={};for(var b in t)c&&"as"===b||v(b)&&(g[b]=t[b]);return g.className=a,r&&(g.ref=r),e.createElement(e.Fragment,null,e.createElement(ag,{cache:n,serialized:m,isStringTag:"string"==typeof o}),e.createElement(o,g))}));return v.displayName=void 0!==o?o:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",v.defaultProps=n.defaultProps,v.__emotion_real=v,v.__emotion_base=l,v.__emotion_styles=f,v.__emotion_forwardProp=s,Object.defineProperty(v,"toString",{value:function(){return"."+i}}),v.withComponent=function(e,n){return t(e,ie({},r,n,{shouldForwardProp:ig(v,n,!0)})).apply(void 0,f)},v}}.bind(null);["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"].forEach((function(e){lg[e]=lg(e)}));var sg=null!=(eg=lg.default)?eg:lg;function ug(t,n){const{baseStyle:r,...o}=null!=n?n:{};o.shouldForwardProp||(o.shouldForwardProp=Jv);const i=(({baseStyle:e})=>t=>{const{theme:n,css:r,__css:o,sx:i,...a}=t,l=Vn(a,((e,t)=>Ln(t))),s=function(e,...t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const n={...e};for(const e of t)if(null!=e)for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(t in n&&delete n[t],n[t]=e[t]);return n}({},o,Wn(e,t),$n(l),i),u=Mn(s)(t.theme);return r?[u,r]:u})({baseStyle:r}),a=sg(t,o)(i);return e.forwardRef((function(t,n){const{colorMode:r,forced:o}=Ze();return e.createElement(a,{ref:n,"data-theme":o?r:void 0,...t})}))}var cg=function(){const e=new Map;return new Proxy(ug,{apply:(e,t,n)=>ug(...n),get:(t,n)=>(e.has(n)||e.set(n,ug(n)),e.get(n))})}(),dg={initial:e=>{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(r=1),{opacity:0,[n]:24*r}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},fg=(0,e.memo)((t=>{const{id:n,message:r,onCloseComplete:o,onRequestRemove:i,requestClose:a=!1,position:l="bottom",duration:s=5e3,containerStyle:u,motionVariants:c=dg,toastSpacing:d="0.5rem"}=t,[f,p]=(0,e.useState)(s),h=null===(m=(0,e.useContext)(Ou))||m.isPresent;var m;_u((()=>{h||null==o||o()}),[h]),_u((()=>{p(s)}),[s]);const v=()=>{h&&i()};(0,e.useEffect)((()=>{h&&a&&i()}),[h,a,i]),function(t,n){const r=Eu(t);(0,e.useEffect)((()=>{if(null==n)return;let e=null;return e=window.setTimeout((()=>{r()}),n),()=>{e&&window.clearTimeout(e)}}),[n,r])}(v,f);const g=(0,e.useMemo)((()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:d,...u})),[u,d]),b=(0,e.useMemo)((()=>function(e){let t="center";return e.includes("right")&&(t="flex-end"),e.includes("left")&&(t="flex-start"),{display:"flex",flexDirection:"column",alignItems:t}}(l)),[l]);return(0,Be.jsx)(Zv.div,{layout:!0,className:"chakra-toast",variants:c,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>p(null),onHoverEnd:()=>p(s),custom:{position:l},style:b,children:(0,Be.jsx)(cg.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:g,children:et(r,{id:n,onClose:v})})})}));function pg(t){return(0,e.forwardRef)(t)}function hg(){const t=(0,e.useContext)(Te);if(!t)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return t}fg.displayName="ToastComponent";var mg=n(115);function vg(t,n={}){var r;const{styleConfig:o,...i}=n,{theme:a,colorMode:l}={...Ze(),theme:hg()},s=t?Bn(a,`components.${t}`):void 0,u=o||s,c=it({theme:a,colorMode:l},null!=(r=null==u?void 0:u.defaultProps)?r:{},$n(function(e,t){const n={};return Object.keys(e).forEach((r=>{t.includes(r)||(n[r]=e[r])})),n}(i,["children"]))),d=(0,e.useRef)({});if(u){const e=function(e){return t=>{var n;const{variant:r,size:o,theme:i}=t,a=function(e){const t=e.__breakpoints;return function(e,n,r,o){var i,a;if(!t)return;const l={},s=function(e,t){return Array.isArray(e)?e:Je(e)?t(e):null!=e?[e]:void 0}(r,t.toArrayValue);if(!s)return l;const u=s.length,c=1===u,d=!!e.parts;for(let r=0;r<u;r++){const u=t.details[r],f=t.details[Dn(s,r)],p=cn(u.minW,null==f?void 0:f._minW),h=et(null==(i=e[n])?void 0:i[s[r]],o);h&&(d?null==(a=e.parts)||a.forEach((e=>{it(l,{[e]:c?h[e]:{[p]:h[e]}})})):d?l[p]=h:c?it(l,h):l[p]=h)}return l}}(i);return it({},et(null!=(n=e.baseStyle)?n:{},t),a(e,"sizes",o,t),a(e,"variants",r,t))}}(u),t=e(c);mg(d.current,t)||(d.current=t)}return d.current}function gg(e,t={}){return vg(e,t)}function bg(e,t={}){return vg(e,t)}var yg={path:(0,Be.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,Be.jsx)("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"}),(0,Be.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,Be.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},xg=pg(((e,t)=>{const{as:n,viewBox:r,color:o="currentColor",focusable:i=!1,children:a,className:l,__css:s,...u}=e,c={ref:t,focusable:i,className:Ke("chakra-icon",l),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...s,...gg("Icon",e)}},d=null!=r?r:yg.viewBox;if(n&&"string"!=typeof n)return(0,Be.jsx)(cg.svg,{as:n,...c,...u});const f=null!=a?a:yg.path;return(0,Be.jsx)(cg.svg,{verticalAlign:"middle",viewBox:d,...c,...u,children:f})}));function wg(e){return(0,Be.jsx)(xg,{viewBox:"0 0 24 24",...e,children:(0,Be.jsx)("path",{fill:"currentColor",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"})})}xg.displayName="Icon";var kg=Ne({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Sg=pg(((e,t)=>{const n=gg("Spinner",e),{label:r="Loading...",thickness:o="2px",speed:i="0.45s",emptyColor:a="transparent",className:l,...s}=Nn(e),u=Ke("chakra-spinner",l),c={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:a,borderLeftColor:a,animation:`${kg} ${i} linear infinite`,...n};return(0,Be.jsx)(cg.div,{ref:t,__css:c,className:u,...s,children:r&&(0,Be.jsx)(cg.span,{srOnly:!0,children:r})})}));Sg.displayName="Spinner";var[Cg,Eg]=He({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[_g,Og]=He({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),Pg={info:{icon:function(e){return(0,Be.jsx)(xg,{viewBox:"0 0 24 24",...e,children:(0,Be.jsx)("path",{fill:"currentColor",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"})})},colorScheme:"blue"},warning:{icon:wg,colorScheme:"orange"},success:{icon:function(e){return(0,Be.jsx)(xg,{viewBox:"0 0 24 24",...e,children:(0,Be.jsx)("path",{fill:"currentColor",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"})})},colorScheme:"green"},error:{icon:wg,colorScheme:"red"},loading:{icon:Sg,colorScheme:"blue"}},Tg=pg((function(e,t){var n;const{status:r="info",addRole:o=!0,...i}=Nn(e),a=null!=(n=e.colorScheme)?n:function(e){return Pg[e].colorScheme}(r),l=bg("Alert",{...e,colorScheme:a}),s={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...l.container};return(0,Be.jsx)(Cg,{value:{status:r},children:(0,Be.jsx)(_g,{value:l,children:(0,Be.jsx)(cg.div,{"data-status":r,role:o?"alert":void 0,ref:t,...i,className:Ke("chakra-alert",e.className),__css:s})})})}));function Rg(e){const{status:t}=Eg(),n=function(e){return Pg[e].icon}(t),r=Og(),o="loading"===t?r.spinner:r.icon;return(0,Be.jsx)(cg.span,{display:"inherit","data-status":t,...e,className:Ke("chakra-alert__icon",e.className),__css:o,children:e.children||(0,Be.jsx)(n,{h:"100%",w:"100%"})})}Tg.displayName="Alert",Rg.displayName="AlertIcon";var Ag=pg((function(e,t){const n=Og(),{status:r}=Eg();return(0,Be.jsx)(cg.div,{ref:t,"data-status":r,...e,className:Ke("chakra-alert__title",e.className),__css:n.title})}));Ag.displayName="AlertTitle";var Ig=pg((function(e,t){const n=Og(),{status:r}=Eg(),o={display:"inline",...n.description};return(0,Be.jsx)(cg.div,{ref:t,"data-status":r,...e,className:Ke("chakra-alert__desc",e.className),__css:o})}));function Lg(e){return(0,Be.jsx)(xg,{focusable:"false","aria-hidden":!0,...e,children:(0,Be.jsx)("path",{fill:"currentColor",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"})})}Ig.displayName="AlertDescription";var jg=pg((function(e,t){const n=gg("CloseButton",e),{children:r,isDisabled:o,__css:i,...a}=Nn(e);return(0,Be.jsx)(cg.button,{type:"button","aria-label":"Close",ref:t,disabled:o,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...n,...i},...a,children:r||(0,Be.jsx)(Lg,{width:"1em",height:"1em"})})}));jg.displayName="CloseButton";var zg=function(e){let t=e;const n=new Set,r=e=>{t=e(t),n.forEach((e=>e()))};return{getState:()=>t,subscribe:t=>(n.add(t),()=>{r((()=>e)),n.delete(t)}),removeToast:(e,t)=>{r((n=>({...n,[t]:n[t].filter((t=>t.id!=e))})))},notify:(e,t)=>{const n=function(e,t={}){var n,r;Mg+=1;const o=null!=(n=t.id)?n:Mg,i=null!=(r=t.position)?r:"bottom";return{id:o,message:e,position:i,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>zg.removeToast(String(o),i),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:o,id:i}=n;return r((e=>{var t,r;const i=o.includes("top")?[n,...null!=(t=e[o])?t:[]]:[...null!=(r=e[o])?r:[],n];return{...e,[o]:i}})),i},update:(e,t)=>{e&&r((n=>{const r={...n},{position:o,index:i}=ku(r,e);return o&&-1!==i&&(r[o][i]={...r[o][i],...t,message:Dg(t)}),r}))},closeAll:({positions:e}={})=>{r((t=>(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce(((e,n)=>(e[n]=t[n].map((e=>({...e,requestClose:!0}))),e)),{...t})))},close:e=>{r((t=>{const n=Su(t,e);return n?{...t,[n]:t[n].map((t=>t.id==e?{...t,requestClose:!0}:t))}:t}))},isActive:e=>Boolean(ku(zg.getState(),e).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]}),Mg=0,Fg=e=>{const{status:t,variant:n="solid",id:r,title:o,isClosable:i,onClose:a,description:l,colorScheme:s,icon:u}=e,c=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return(0,Be.jsxs)(Tg,{addRole:!1,status:t,variant:n,id:null==c?void 0:c.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:s,children:[(0,Be.jsx)(Rg,{children:u}),(0,Be.jsxs)(cg.div,{flex:"1",maxWidth:"100%",children:[o&&(0,Be.jsx)(Ag,{id:null==c?void 0:c.title,children:o}),l&&(0,Be.jsx)(Ig,{id:null==c?void 0:c.description,display:"block",children:l})]}),i&&(0,Be.jsx)(jg,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function Dg(e={}){const{render:t,toastComponent:n=Fg}=e;return r=>"function"==typeof t?t({...r,...e}):(0,Be.jsx)(n,{...r,...e})}var Ng=0;function Bg(){var e=Ng;return Ng++,e}var Vg=function(t){var n=t.children,r=t.initial,o=t.isPresent,i=t.onExitComplete,a=t.custom,l=t.presenceAffectsLayout,s=Pu($g),u=Pu(Bg),c=(0,e.useMemo)((function(){return{id:u,initial:r,isPresent:o,custom:a,onExitComplete:function(e){var t,n;s.set(e,!0);try{for(var r=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(s.values()),o=r.next();!o.done;o=r.next())if(!o.value)return}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}null==i||i()},register:function(e){return s.set(e,!1),function(){return s.delete(e)}}}}),l?void 0:[o]);return(0,e.useMemo)((function(){s.forEach((function(e,t){return s.set(t,!1)}))}),[o]),e.useEffect((function(){!o&&!s.size&&(null==i||i())}),[o]),e.createElement(Ou.Provider,{value:c},n)};function $g(){return new Map}function Wg(e){return e.key||""}var Ug=function(t){var n=t.children,r=t.custom,o=t.initial,i=void 0===o||o,a=t.onExitComplete,l=t.exitBeforeEnter,s=t.presenceAffectsLayout,u=void 0===s||s,c=Fu(function(){var t=(0,e.useRef)(!1),n=Fu((0,e.useState)(0),2),r=n[0],o=n[1];Em((function(){return t.current=!0}));var i=(0,e.useCallback)((function(){!t.current&&o(r+1)}),[r]);return[(0,e.useCallback)((function(){return bc.postRender(i)}),[i]),r]}(),1),d=c[0],f=(0,e.useContext)(yh).forceRender;f&&(d=f);var p=(0,e.useRef)(!0),h=(0,e.useRef)(!0);(0,e.useEffect)((function(){return function(){h.current=!1}}),[]);var m=function(t){var n=[];return e.Children.forEach(t,(function(t){(0,e.isValidElement)(t)&&n.push(t)})),n}(n),v=(0,e.useRef)(m),g=(0,e.useRef)(new Map).current,b=(0,e.useRef)(new Set).current;if(function(e,t){e.forEach((function(e){var n=Wg(e);t.set(n,e)}))}(m,g),p.current)return p.current=!1,e.createElement(e.Fragment,null,m.map((function(t){return e.createElement(Vg,{key:Wg(t),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:u},t)})));for(var y=Du([],Fu(m),!1),x=v.current.map(Wg),w=m.map(Wg),k=x.length,S=0;S<k;S++){var C=x[S];-1===w.indexOf(C)?b.add(C):b.delete(C)}return l&&b.size&&(y=[]),b.forEach((function(t){if(-1===w.indexOf(t)){var n=g.get(t);if(n){var o=x.indexOf(t);y.splice(o,0,e.createElement(Vg,{key:Wg(n),isPresent:!1,onExitComplete:function(){g.delete(t),b.delete(t);var e=v.current.findIndex((function(e){return e.key===t}));if(v.current.splice(e,1),!b.size){if(v.current=m,!1===h.current)return;d(),a&&a()}},custom:r,presenceAffectsLayout:u},n))}}})),y=y.map((function(t){var n=t.key;return b.has(n)?t:e.createElement(Vg,{key:Wg(t),isPresent:!0,presenceAffectsLayout:u},t)})),v.current=y,e.createElement(e.Fragment,null,b.size?y:y.map((function(t){return(0,e.cloneElement)(t)})))},Hg=n(961),[qg,Gg]=He({strict:!1,name:"PortalContext"}),Yg="chakra-portal",Xg=e=>(0,Be.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),Zg=t=>{const{appendToParentPortal:n,children:r}=t,[o,i]=(0,e.useState)(null),a=(0,e.useRef)(null),[,l]=(0,e.useState)({});(0,e.useEffect)((()=>l({})),[]);const s=Gg(),u=Ge();er((()=>{if(!o)return;const e=o.ownerDocument,t=n&&null!=s?s:e.body;if(!t)return;a.current=e.createElement("div"),a.current.className=Yg,t.appendChild(a.current),l({});const r=a.current;return()=>{t.contains(r)&&t.removeChild(r)}}),[o]);const c=(null==u?void 0:u.zIndex)?(0,Be.jsx)(Xg,{zIndex:null==u?void 0:u.zIndex,children:r}):r;return a.current?(0,Hg.createPortal)((0,Be.jsx)(qg,{value:a.current,children:c}),a.current):(0,Be.jsx)("span",{ref:e=>{e&&i(e)}})},Qg=t=>{const{children:n,containerRef:r,appendToParentPortal:o}=t,i=r.current,a=null!=i?i:"undefined"!=typeof window?document.body:void 0,l=(0,e.useMemo)((()=>{const e=null==i?void 0:i.ownerDocument.createElement("div");return e&&(e.className=Yg),e}),[i]),[,s]=(0,e.useState)({});return er((()=>s({})),[]),er((()=>{if(l&&a)return a.appendChild(l),()=>{a.removeChild(l)}}),[l,a]),a&&l?(0,Hg.createPortal)((0,Be.jsx)(qg,{value:o?l:null,children:n}),l):null};function Kg(e){const t={appendToParentPortal:!0,...e},{containerRef:n,...r}=t;return n?(0,Be.jsx)(Qg,{containerRef:n,...r}):(0,Be.jsx)(Zg,{...r})}Kg.className=Yg,Kg.selector=".chakra-portal",Kg.displayName="Portal";var[Jg,eb]=He({name:"ToastOptionsContext",strict:!1}),tb=t=>{const n=(0,e.useSyncExternalStore)(zg.subscribe,zg.getState,zg.getState),{motionVariants:r,component:o=fg,portalProps:i}=t,a=Object.keys(n).map((e=>{const t=n[e];return(0,Be.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${e}`,id:`chakra-toast-manager-${e}`,style:Cu(e),children:(0,Be.jsx)(Ug,{initial:!1,children:t.map((e=>(0,Be.jsx)(o,{motionVariants:r,...e},e.id)))})},e)}));return(0,Be.jsx)(Kg,{...i,children:a})},nb=e=>function({children:t,theme:n=e,toastOptions:r,...o}){return(0,Be.jsxs)(ar,{theme:n,...o,children:[(0,Be.jsx)(Jg,{value:null==r?void 0:r.defaultOptions,children:t}),(0,Be.jsx)(tb,{...r})]})},rb=nb(yu),ob=(nb(xu),pg((function(e,t){const{direction:n,align:r,justify:o,wrap:i,basis:a,grow:l,shrink:s,...u}=e,c={display:"flex",flexDirection:n,alignItems:r,justifyContent:o,flexWrap:i,flexBasis:a,flexGrow:l,flexShrink:s};return(0,Be.jsx)(cg.div,{ref:t,__css:c,...u})})));function ib(e){const t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}ob.displayName="Flex";var ab=pg((function(e,t){const n=gg("Text",e),{className:r,align:o,decoration:i,casing:a,...l}=Nn(e),s=ib({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return(0,Be.jsx)(cg.p,{ref:t,className:Ke("chakra-text",e.className),...s,...l,__css:n})}));ab.displayName="Text";var[lb,sb]=He({strict:!1,name:"ButtonGroupContext"});function ub(t){const{children:n,className:r,...o}=t,i=(0,e.isValidElement)(n)?(0,e.cloneElement)(n,{"aria-hidden":!0,focusable:!1}):n,a=Ke("chakra-button__icon",r);return(0,Be.jsx)(cg.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...o,className:a,children:i})}function cb(t){const{label:n,placement:r,spacing:o="0.5rem",children:i=(0,Be.jsx)(Sg,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:l,...s}=t,u=Ke("chakra-button__spinner",a),c="start"===r?"marginEnd":"marginStart",d=(0,e.useMemo)((()=>({display:"flex",alignItems:"center",position:n?"relative":"absolute",[c]:n?o:0,fontSize:"1em",lineHeight:"normal",...l})),[l,n,c,o]);return(0,Be.jsx)(cg.div,{className:u,...s,__css:d,children:i})}function db(...e){return t=>{e.forEach((e=>{!function(e,t){if(null!=e)if("function"!=typeof e)try{e.current=t}catch(n){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}(e,t)}))}}function fb(...t){return(0,e.useMemo)((()=>db(...t)),t)}ub.displayName="ButtonIcon",cb.displayName="ButtonSpinner";var pb=pg(((t,n)=>{const r=sb(),o=gg("Button",{...r,...t}),{isDisabled:i=(null==r?void 0:r.isDisabled),isLoading:a,isActive:l,children:s,leftIcon:u,rightIcon:c,loadingText:d,iconSpacing:f="0.5rem",type:p,spinner:h,spinnerPlacement:m="start",className:v,as:g,...b}=Nn(t),y=(0,e.useMemo)((()=>{const e={...null==o?void 0:o._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...o,...!!r&&{_focus:e}}}),[o,r]),{ref:x,type:w}=function(t){const[n,r]=(0,e.useState)(!t),o=(0,e.useCallback)((e=>{e&&r("BUTTON"===e.tagName)}),[]);return{ref:o,type:n?"button":void 0}}(g),k={rightIcon:c,leftIcon:u,iconSpacing:f,children:s};return(0,Be.jsxs)(cg.button,{ref:fb(n,x),as:g,type:null!=p?p:w,"data-active":nt(l),"data-loading":nt(a),__css:y,className:Ke("chakra-button",v),...b,disabled:i||a,children:[a&&"start"===m&&(0,Be.jsx)(cb,{className:"chakra-button__spinner--start",label:d,placement:"start",spacing:f,children:h}),a?d||(0,Be.jsx)(cg.span,{opacity:0,children:(0,Be.jsx)(hb,{...k})}):(0,Be.jsx)(hb,{...k}),a&&"end"===m&&(0,Be.jsx)(cb,{className:"chakra-button__spinner--end",label:d,placement:"end",spacing:f,children:h})]})}));function hb(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:o}=e;return(0,Be.jsxs)(Be.Fragment,{children:[t&&(0,Be.jsx)(ub,{marginEnd:o,children:t}),r,n&&(0,Be.jsx)(ub,{marginStart:o,children:n})]})}pb.displayName="Button";var mb=cg("div");mb.displayName="Box";var vb=pg((function(e,t){const{size:n,centerContent:r=!0,...o}=e,i=r?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return(0,Be.jsx)(mb,{ref:t,boxSize:n,__css:{...i,flexShrink:0,flexGrow:0},...o})}));vb.displayName="Square";var gb,bb,yb,xb,wb=pg((function(e,t){const{size:n,...r}=e;return(0,Be.jsx)(vb,{size:n,ref:t,borderRadius:"9999px",...r})}));wb.displayName="Circle",n(7604),function(e,t){t=t||{}}(console.error),gb={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},bb=["(","?"],yb={")":["("],":":["?","?:"]},xb=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var kb={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};var Sb={contextDelimiter:"",onMissingKey:null};function Cb(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},Sb)this.options[n]=void 0!==t&&n in t?t[n]:Sb[n]}Cb.prototype.getPluralForm=function(e,t){var n,r,o,i,a=this.pluralForms[e];return a||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=function(e){var t=function(e){for(var t,n,r,o,i=[],a=[];t=e.match(xb);){for(n=t[0],(r=e.substr(0,t.index).trim())&&i.push(r);o=a.pop();){if(yb[n]){if(yb[n][0]===o){n=yb[n][1]||n;break}}else if(bb.indexOf(o)>=0||gb[o]<gb[n]){a.push(o);break}i.push(o)}yb[n]||a.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&i.push(e),i.concat(a.reverse())}(e);return function(e){return function(e,t){var n,r,o,i,a,l,s=[];for(n=0;n<e.length;n++){if(a=e[n],i=kb[a]){for(r=i.length,o=Array(r);r--;)o[r]=s.pop();try{l=i.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(a)?t[a]:+a;s.push(l)}return s[0]}(t,e)}}(r),o=function(e){return+i({n:e})}),a=this.pluralForms[e]=o),a(t)},Cb.prototype.dcnpgettext=function(e,t,n,r,o){var i,a,l;return i=void 0===o?0:this.getPluralForm(e,o),a=n,t&&(a=t+this.options.contextDelimiter+n),(l=this.data[e][a])&&l[i]?l[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)};const Eb={plural_forms:e=>1===e?0:1},_b=/^i18n\.(n?gettext|has_translation)(_|$)/,Ob=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},Pb=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},Tb=function(e,t){return function(n,r,o,i=10){const a=e[t];if(!Pb(n))return;if(!Ob(r))return;if("function"!=typeof o)return void console.error("The hook callback must be a function.");if("number"!=typeof i)return void console.error("If specified, the hook priority must be a number.");const l={callback:o,priority:i,namespace:r};if(a[n]){const e=a[n].handlers;let t;for(t=e.length;t>0&&!(i>=e[t-1].priority);t--);t===e.length?e[t]=l:e.splice(t,0,l),a.__current.forEach((e=>{e.name===n&&e.currentIndex>=t&&e.currentIndex++}))}else a[n]={handlers:[l],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,o,i)}},Rb=function(e,t,n=!1){return function(r,o){const i=e[t];if(!Pb(r))return;if(!n&&!Ob(o))return;if(!i[r])return 0;let a=0;if(n)a=i[r].handlers.length,i[r]={runs:i[r].runs,handlers:[]};else{const e=i[r].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===o&&(e.splice(t,1),a++,i.__current.forEach((e=>{e.name===r&&e.currentIndex>=t&&e.currentIndex--})))}return"hookRemoved"!==r&&e.doAction("hookRemoved",r,o),a}},Ab=function(e,t){return function(n,r){const o=e[t];return void 0!==r?n in o&&o[n].handlers.some((e=>e.namespace===r)):n in o}},Ib=function(e,t,n=!1){return function(r,...o){const i=e[t];i[r]||(i[r]={handlers:[],runs:0}),i[r].runs++;const a=i[r].handlers;if(!a||!a.length)return n?o[0]:void 0;const l={name:r,currentIndex:0};for(i.__current.push(l);l.currentIndex<a.length;){const e=a[l.currentIndex].callback.apply(null,o);n&&(o[0]=e),l.currentIndex++}return i.__current.pop(),n?o[0]:void 0}},Lb=function(e,t){return function(){var n;const r=e[t];return null!==(n=r.__current[r.__current.length-1]?.name)&&void 0!==n?n:null}},jb=function(e,t){return function(n){const r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}},zb=function(e,t){return function(n){const r=e[t];if(Pb(n))return r[n]&&r[n].runs?r[n].runs:0}};class Mb{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=Tb(this,"actions"),this.addFilter=Tb(this,"filters"),this.removeAction=Rb(this,"actions"),this.removeFilter=Rb(this,"filters"),this.hasAction=Ab(this,"actions"),this.hasFilter=Ab(this,"filters"),this.removeAllActions=Rb(this,"actions",!0),this.removeAllFilters=Rb(this,"filters",!0),this.doAction=Ib(this,"actions"),this.applyFilters=Ib(this,"filters",!0),this.currentAction=Lb(this,"actions"),this.currentFilter=Lb(this,"filters"),this.doingAction=jb(this,"actions"),this.doingFilter=jb(this,"filters"),this.didAction=zb(this,"actions"),this.didFilter=zb(this,"filters")}}const Fb=new Mb,{addAction:Db,addFilter:Nb,removeAction:Bb,removeFilter:Vb,hasAction:$b,hasFilter:Wb,removeAllActions:Ub,removeAllFilters:Hb,doAction:qb,applyFilters:Gb,currentAction:Yb,currentFilter:Xb,doingAction:Zb,doingFilter:Qb,didAction:Kb,didFilter:Jb,actions:ey,filters:ty}=Fb,ny=((e,t,n)=>{const r=new Cb({}),o=new Set,i=()=>{o.forEach((e=>e()))},a=(e,t="default")=>{r.data[t]={...r.data[t],...e},r.data[t][""]={...Eb,...r.data[t]?.[""]},delete r.pluralForms[t]},l=(e,t)=>{a(e,t),i()},s=(e="default",t,n,o,i)=>(r.data[e]||a(void 0,e),r.dcnpgettext(e,t,n,o,i)),u=(e="default")=>e,c=(e,t,r)=>{let o=s(r,t,e);return n?(o=n.applyFilters("i18n.gettext_with_context",o,e,t,r),n.applyFilters("i18n.gettext_with_context_"+u(r),o,e,t,r)):o};if(n){const e=e=>{_b.test(e)&&i()};n.addAction("hookAdded","core/i18n",e),n.addAction("hookRemoved","core/i18n",e)}return{getLocaleData:(e="default")=>r.data[e],setLocaleData:l,addLocaleData:(e,t="default")=>{r.data[t]={...r.data[t],...e,"":{...Eb,...r.data[t]?.[""],...e?.[""]}},delete r.pluralForms[t],i()},resetLocaleData:(e,t)=>{r.data={},r.pluralForms={},l(e,t)},subscribe:e=>(o.add(e),()=>o.delete(e)),__:(e,t)=>{let r=s(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+u(t),r,e,t)):r},_x:c,_n:(e,t,r,o)=>{let i=s(o,void 0,e,t,r);return n?(i=n.applyFilters("i18n.ngettext",i,e,t,r,o),n.applyFilters("i18n.ngettext_"+u(o),i,e,t,r,o)):i},_nx:(e,t,r,o,i)=>{let a=s(i,o,e,t,r);return n?(a=n.applyFilters("i18n.ngettext_with_context",a,e,t,r,o,i),n.applyFilters("i18n.ngettext_with_context_"+u(i),a,e,t,r,o,i)):a},isRTL:()=>"rtl"===c("ltr","text direction"),hasTranslation:(e,t,o)=>{const i=t?t+""+e:e;let a=!!r.data?.[null!=o?o:"default"]?.[i];return n&&(a=n.applyFilters("i18n.has_translation",a,e,t,o),a=n.applyFilters("i18n.has_translation_"+u(o),a,e,t,o)),a}}})(0,0,Fb),ry=(ny.getLocaleData.bind(ny),ny.setLocaleData.bind(ny),ny.resetLocaleData.bind(ny),ny.subscribe.bind(ny),ny.__.bind(ny));ny._x.bind(ny),ny._n.bind(ny),ny._nx.bind(ny),ny.isRTL.bind(ny),ny.hasTranslation.bind(ny);const oy=(e,t)=>{let n,r,o=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(n=e.namespace.replace(/^\/|\/$/g,""),r=e.endpoint.replace(/^\//,""),o=r?n+"/"+r:n),delete e.namespace,delete e.endpoint,t({...e,path:o})};function iy(e){const t=e.split("?"),n=t[1],r=t[0];return n?r+"?"+n.split("&").map((e=>e.split("="))).map((e=>e.map(decodeURIComponent))).sort(((e,t)=>e[0].localeCompare(t[0]))).map((e=>e.map(encodeURIComponent))).map((e=>e.join("="))).join("&"):r}function ay(e){try{return decodeURIComponent(e)}catch(t){return e}}function ly(e){return(function(e){let t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t}(e)||"").replace(/\+/g,"%20").split("&").reduce(((e,t)=>{const[n,r=""]=t.split("=").filter(Boolean).map(ay);return n&&function(e,t,n){const r=t.length,o=r-1;for(let i=0;i<r;i++){let r=t[i];!r&&Array.isArray(e)&&(r=e.length.toString()),r=["__proto__","constructor","prototype"].includes(r)?r.toUpperCase():r;const a=!isNaN(Number(t[i+1]));e[r]=i===o?n:e[r]||(a?[]:{}),Array.isArray(e[r])&&!a&&(e[r]={...e[r]}),e=e[r]}}(e,n.replace(/\]/g,"").split("["),r),e}),Object.create(null))}function sy(e,t){return ly(e)[t]}function uy(e="",t){if(!t||!Object.keys(t).length)return e;let n=e;const r=e.indexOf("?");return-1!==r&&(t=Object.assign(ly(e),t),n=n.substr(0,r)),n+"?"+function(e){let t="";const n=Object.entries(e);let r;for(;r=n.shift();){let[e,o]=r;if(Array.isArray(o)||o&&o.constructor===Object){const t=Object.entries(o).reverse();for(const[r,o]of t)n.unshift([`${e}[${r}]`,o])}else void 0!==o&&(null===o&&(o=""),t+="&"+[e,o].map(encodeURIComponent).join("="))}return t.substr(1)}(t)}const cy=(e,t)=>{let{path:n,url:r,...o}=e;return{...o,url:r&&uy(r,t),path:n&&uy(n,t)}},dy=e=>e.json?e.json():Promise.reject(e),fy=e=>{const{next:t}=(e=>{if(!e)return{};const t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}})(e.headers.get("link"));return t},py=async(e,t)=>{if(!1===e.parse)return t(e);if(!(e=>{const t=!!e.path&&-1!==e.path.indexOf("per_page=-1"),n=!!e.url&&-1!==e.url.indexOf("per_page=-1");return t||n})(e))return t(e);const n=await Ey({...cy(e,{per_page:100}),parse:!1}),r=await dy(n);if(!Array.isArray(r))return r;let o=fy(n);if(!o)return r;let i=[].concat(r);for(;o;){const t=await Ey({...e,path:void 0,url:o,parse:!1}),n=await dy(t);i=i.concat(n),o=fy(t)}return i},hy=new Set(["PATCH","PUT","DELETE"]),my="GET";function vy(e,t){return void 0!==sy(e,t)}const gy=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.resolve(function(e){return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?e:204===e.status?null:e.json?e.json():Promise.reject(e)}(e,t)).catch((e=>by(e,t)))};function by(e){if(arguments.length>1&&void 0!==arguments[1]&&!arguments[1])throw e;return(e=>{const t={code:"invalid_json",message:ry("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch((()=>{throw t}))})(e).then((e=>{const t={code:"unknown_error",message:ry("An unknown error occurred.")};throw e||t}))}const yy={Accept:"application/json, */*;q=0.1"},xy={credentials:"include"},wy=[(e,t)=>("string"!=typeof e.url||vy(e.url,"_locale")||(e.url=uy(e.url,{_locale:"user"})),"string"!=typeof e.path||vy(e.path,"_locale")||(e.path=uy(e.path,{_locale:"user"})),t(e)),oy,(e,t)=>{const{method:n=my}=e;return hy.has(n.toUpperCase())&&(e={...e,headers:{...e.headers,"X-HTTP-Method-Override":n,"Content-Type":"application/json"},method:"POST"}),t(e)},py],ky=e=>{if(e.status>=200&&e.status<300)return e;throw e};let Sy=e=>{const{url:t,path:n,data:r,parse:o=!0,...i}=e;let{body:a,headers:l}=e;return l={...yy,...l},r&&(a=JSON.stringify(r),l["Content-Type"]="application/json"),window.fetch(t||n||window.location.href,{...xy,...i,body:a,headers:l}).then((e=>Promise.resolve(e).then(ky).catch((e=>by(e,o))).then((e=>gy(e,o)))),(e=>{if(e&&"AbortError"===e.name)throw e;throw{code:"fetch_error",message:ry("You are probably offline.")}}))};function Cy(e){const t=wy.reduceRight(((e,t)=>n=>t(n,e)),Sy);return t(e).catch((t=>"rest_cookie_invalid_nonce"!==t.code?Promise.reject(t):window.fetch(Cy.nonceEndpoint).then(ky).then((e=>e.text())).then((t=>(Cy.nonceMiddleware.nonce=t,Cy(e))))))}Cy.use=function(e){wy.unshift(e)},Cy.setFetchHandler=function(e){Sy=e},Cy.createNonceMiddleware=function(e){const t=(e,n)=>{const{headers:r={}}=e;for(const o in r)if("x-wp-nonce"===o.toLowerCase()&&r[o]===t.nonce)return n(e);return n({...e,headers:{...r,"X-WP-Nonce":t.nonce}})};return t.nonce=e,t},Cy.createPreloadingMiddleware=function(e){const t=Object.keys(e).reduce(((t,n)=>(t[iy(n)]=e[n],t)),{});return(e,n)=>{const{parse:r=!0}=e;let o=e.path;if(!o&&e.url){const t=sy(e.url,"rest_route");"string"==typeof t&&(o=t)}if("string"==typeof o){const n=e.method||"GET",i=iy(o);if("GET"===n&&t[i]){const e=t[i];return delete t[i],Promise.resolve(r?e.body:new window.Response(JSON.stringify(e.body),{status:200,statusText:"OK",headers:e.headers}))}if("OPTIONS"===n&&t[n]&&t[n][i]){const e=t[n][i];return delete t[n][i],Promise.resolve(r?e.body:e)}}return n(e)}},Cy.createRootURLMiddleware=e=>(t,n)=>oy(t,(t=>{let r,o=t.url,i=t.path;return"string"==typeof i&&(r=e,-1!==e.indexOf("?")&&(i=i.replace("?","&")),i=i.replace(/^\//,""),"string"==typeof r&&-1!==r.indexOf("?")&&(i=i.replace("?","&")),o=r+i),n({...t,url:o})})),Cy.fetchAllMiddleware=py,Cy.mediaUploadMiddleware=(e,t)=>{if(!function(e){const t=!!e.method&&"POST"===e.method;return(!!e.path&&-1!==e.path.indexOf("/wp/v2/media")||!!e.url&&-1!==e.url.indexOf("/wp/v2/media"))&&t}(e))return t(e);let n=0;const r=e=>(n++,t({path:`/wp/v2/media/${e}/post-process`,method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch((()=>n<5?r(e):(t({path:`/wp/v2/media/${e}?force=true`,method:"DELETE"}),Promise.reject()))));return t({...e,parse:!1}).catch((t=>{const n=t.headers.get("x-wp-upload-attachment-id");return t.status>=500&&t.status<600&&n?r(n).catch((()=>!1!==e.parse?Promise.reject({code:"post_process",message:ry("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(t))):by(t,e.parse)})).then((t=>gy(t,e.parse)))};const Ey=Cy,_y=function(e){var n=e.steps,r=e.activeStep,o=e.siteURL;return t().createElement("div",{className:"user-registration-setup-wizard__header"},t().createElement("div",{className:"user-registration-setup-wizard__header--logo"},t().createElement("img",{src:"".concat(o,"/wp-content/plugins/user-registration/assets/images/onboard-icons/logo.png"),alt:""})),t().createElement("ul",{className:"user-registration-setup-wizard__header--nav"},n.map((function(e,n){return t().createElement(t().Fragment,null,n>0&&t().createElement("li",{id:"center-line-step-".concat(n),className:"center-line ".concat(r.key===e.key||e.isDone?"done":""," ")}),t().createElement("li",{key:n,className:"user-registration-setup-wizard__header--nav-item step ".concat(r.key===e.key?"active":""," ").concat(e.isDone?"done":""),id:"step-".concat(n+1)},t().createElement("span",{className:"step-label"},e.label)))}))))};var[Oy,Py]=He({name:"CheckboxGroupContext",strict:!1});function Ty(e){return(0,Be.jsx)(cg.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e,children:(0,Be.jsx)("polyline",{points:"1.5 6 4.5 9 10.5 1"})})}function Ry(e){return(0,Be.jsx)(cg.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:(0,Be.jsx)("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function Ay(e){const{isIndeterminate:t,isChecked:n,...r}=e,o=t?Ry:Ty;return n||t?(0,Be.jsx)(cg.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:(0,Be.jsx)(o,{...r})}):null}var[Iy,Ly]=He({name:"FormControlStylesContext",errorMessage:"useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormControl />\" "}),[jy,zy]=He({strict:!1,name:"FormControlContext"}),My=pg((function(t,n){const r=bg("Form",t),o=Nn(t),{getRootProps:i,htmlProps:a,...l}=function(t){const{id:n,isRequired:r,isInvalid:o,isDisabled:i,isReadOnly:a,...l}=t,s=(0,e.useId)(),u=n||`field-${s}`,c=`${u}-label`,d=`${u}-feedback`,f=`${u}-helptext`,[p,h]=(0,e.useState)(!1),[m,v]=(0,e.useState)(!1),[g,b]=(0,e.useState)(!1),y=(0,e.useCallback)(((e={},t=null)=>({id:f,...e,ref:db(t,(e=>{e&&v(!0)}))})),[f]),x=(0,e.useCallback)(((e={},t=null)=>({...e,ref:t,"data-focus":nt(g),"data-disabled":nt(i),"data-invalid":nt(o),"data-readonly":nt(a),id:void 0!==e.id?e.id:c,htmlFor:void 0!==e.htmlFor?e.htmlFor:u})),[u,i,g,o,a,c]),w=(0,e.useCallback)(((e={},t=null)=>({id:d,...e,ref:db(t,(e=>{e&&h(!0)})),"aria-live":"polite"})),[d]),k=(0,e.useCallback)(((e={},t=null)=>({...e,...l,ref:t,role:"group","data-focus":nt(g),"data-disabled":nt(i),"data-invalid":nt(o),"data-readonly":nt(a)})),[l,i,g,o,a]),S=(0,e.useCallback)(((e={},t=null)=>({...e,ref:t,role:"presentation","aria-hidden":!0,children:e.children||"*"})),[]);return{isRequired:!!r,isInvalid:!!o,isReadOnly:!!a,isDisabled:!!i,isFocused:!!g,onFocus:()=>b(!0),onBlur:()=>b(!1),hasFeedbackText:p,setHasFeedbackText:h,hasHelpText:m,setHasHelpText:v,id:u,labelId:c,feedbackId:d,helpTextId:f,htmlProps:l,getHelpTextProps:y,getErrorMessageProps:w,getRootProps:k,getLabelProps:x,getRequiredIndicatorProps:S}}(o),s=Ke("chakra-form-control",t.className);return(0,Be.jsx)(jy,{value:l,children:(0,Be.jsx)(Iy,{value:r,children:(0,Be.jsx)(cg.div,{...i({},n),className:s,__css:r.container})})})}));My.displayName="FormControl";var Fy=pg((function(e,t){const n=zy(),r=Ly(),o=Ke("chakra-form__helper-text",e.className);return(0,Be.jsx)(cg.div,{...null==n?void 0:n.getHelpTextProps(e,t),__css:r.helperText,className:o})}));function Dy(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:o,...i}=Ny(e);return{...i,disabled:t,readOnly:r,required:o,"aria-invalid":rt(n),"aria-required":rt(o),"aria-readonly":rt(r)}}function Ny(e){var t,n,r;const o=zy(),{id:i,disabled:a,readOnly:l,required:s,isRequired:u,isInvalid:c,isReadOnly:d,isDisabled:f,onFocus:p,onBlur:h,...m}=e,v=e["aria-describedby"]?[e["aria-describedby"]]:[];return(null==o?void 0:o.hasFeedbackText)&&(null==o?void 0:o.isInvalid)&&v.push(o.feedbackId),(null==o?void 0:o.hasHelpText)&&v.push(o.helpTextId),{...m,"aria-describedby":v.join(" ")||void 0,id:null!=i?i:null==o?void 0:o.id,isDisabled:null!=(t=null!=a?a:f)?t:null==o?void 0:o.isDisabled,isReadOnly:null!=(n=null!=l?l:d)?n:null==o?void 0:o.isReadOnly,isRequired:null!=(r=null!=s?s:u)?r:null==o?void 0:o.isRequired,isInvalid:null!=c?c:null==o?void 0:o.isInvalid,onFocus:ot(null==o?void 0:o.onFocus,p),onBlur:ot(null==o?void 0:o.onBlur,h)}}Fy.displayName="FormHelperText";var By={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Vy=!1,$y=null,Wy=!1,Uy=!1,Hy=new Set;function qy(e,t){Hy.forEach((n=>n(e,t)))}var Gy="undefined"!=typeof window&&null!=window.navigator&&/^Mac/.test(window.navigator.platform);function Yy(e){var t;Wy=!0,(t=e).metaKey||!Gy&&t.altKey||t.ctrlKey||"Control"===t.key||"Shift"===t.key||"Meta"===t.key||($y="keyboard",qy("keyboard",e))}function Xy(e){if($y="pointer","mousedown"===e.type||"pointerdown"===e.type){Wy=!0;const t=e.composedPath?e.composedPath()[0]:e.target;let n=!1;try{n=t.matches(":focus-visible")}catch{}if(n)return;qy("pointer",e)}}function Zy(e){var t;(0===(t=e).mozInputSource&&t.isTrusted||0===t.detail&&!t.pointerType)&&(Wy=!0,$y="virtual")}function Qy(e){e.target!==window&&e.target!==document&&(Wy||Uy||($y="virtual",qy("virtual",e)),Wy=!1,Uy=!1)}function Ky(){Wy=!1,Uy=!0}function Jy(){return"pointer"!==$y}function ex(){if("undefined"==typeof document||Vy)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...t){Wy=!0,e.apply(this,t)},document.addEventListener("keydown",Yy,!0),document.addEventListener("keyup",Yy,!0),document.addEventListener("click",Zy,!0),window.addEventListener("focus",Qy,!0),window.addEventListener("blur",Ky,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",Xy,!0),document.addEventListener("pointermove",Xy,!0),document.addEventListener("pointerup",Xy,!0)):(document.addEventListener("mousedown",Xy,!0),document.addEventListener("mousemove",Xy,!0),document.addEventListener("mouseup",Xy,!0)),Vy=!0}function tx(e){ex(),e(Jy());const t=()=>e(Jy());return Hy.add(t),()=>{Hy.delete(t)}}function nx(t={}){const n=Ny(t),{isDisabled:r,isReadOnly:o,isRequired:i,isInvalid:a,id:l,onBlur:s,onFocus:u,"aria-describedby":c}=n,{defaultChecked:d,isChecked:f,isFocusable:p,onChange:h,isIndeterminate:m,name:v,value:g,tabIndex:b,"aria-label":y,"aria-labelledby":x,"aria-invalid":w,...k}=t,S=function(e,t=[]){const n=Object.assign({},e);for(const e of t)e in n&&delete n[e];return n}(k,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),C=Eu(h),E=Eu(s),_=Eu(u),[O,P]=(0,e.useState)(!1),[T,R]=(0,e.useState)(!1),[A,I]=(0,e.useState)(!1),[L,j]=(0,e.useState)(!1);(0,e.useEffect)((()=>tx(P)),[]);const z=(0,e.useRef)(null),[M,F]=(0,e.useState)(!0),[D,N]=(0,e.useState)(!!d),B=void 0!==f,V=B?f:D,$=(0,e.useCallback)((e=>{o||r?e.preventDefault():(B||N(V?e.target.checked:!!m||e.target.checked),null==C||C(e))}),[o,r,V,B,m,C]);er((()=>{z.current&&(z.current.indeterminate=Boolean(m))}),[m]),_u((()=>{r&&R(!1)}),[r,R]),er((()=>{const e=z.current;if(!(null==e?void 0:e.form))return;const t=()=>{N(!!d)};return e.form.addEventListener("reset",t),()=>{var n;return null==(n=e.form)?void 0:n.removeEventListener("reset",t)}}),[]);const W=r&&!p,U=(0,e.useCallback)((e=>{" "===e.key&&j(!0)}),[j]),H=(0,e.useCallback)((e=>{" "===e.key&&j(!1)}),[j]);er((()=>{z.current&&z.current.checked!==V&&N(z.current.checked)}),[z.current]);const q=(0,e.useCallback)(((e={},t=null)=>({...e,ref:t,"data-active":nt(L),"data-hover":nt(A),"data-checked":nt(V),"data-focus":nt(T),"data-focus-visible":nt(T&&O),"data-indeterminate":nt(m),"data-disabled":nt(r),"data-invalid":nt(a),"data-readonly":nt(o),"aria-hidden":!0,onMouseDown:ot(e.onMouseDown,(e=>{T&&e.preventDefault(),j(!0)})),onMouseUp:ot(e.onMouseUp,(()=>j(!1))),onMouseEnter:ot(e.onMouseEnter,(()=>I(!0))),onMouseLeave:ot(e.onMouseLeave,(()=>I(!1)))})),[L,V,r,T,O,A,m,a,o]),G=(0,e.useCallback)(((e={},t=null)=>({...e,ref:t,"data-active":nt(L),"data-hover":nt(A),"data-checked":nt(V),"data-focus":nt(T),"data-focus-visible":nt(T&&O),"data-indeterminate":nt(m),"data-disabled":nt(r),"data-invalid":nt(a),"data-readonly":nt(o)})),[L,V,r,T,O,A,m,a,o]),Y=(0,e.useCallback)(((e={},t=null)=>({...S,...e,ref:db(t,(e=>{e&&F("LABEL"===e.tagName)})),onClick:ot(e.onClick,(()=>{var e;M||(null==(e=z.current)||e.click(),requestAnimationFrame((()=>{var e;null==(e=z.current)||e.focus({preventScroll:!0})})))})),"data-disabled":nt(r),"data-checked":nt(V),"data-invalid":nt(a)})),[S,r,V,a,M]),X=(0,e.useCallback)(((e={},t=null)=>({...e,ref:db(z,t),type:"checkbox",name:v,value:g,id:l,tabIndex:b,onChange:ot(e.onChange,$),onBlur:ot(e.onBlur,E,(()=>R(!1))),onFocus:ot(e.onFocus,_,(()=>R(!0))),onKeyDown:ot(e.onKeyDown,U),onKeyUp:ot(e.onKeyUp,H),required:i,checked:V,disabled:W,readOnly:o,"aria-label":y,"aria-labelledby":x,"aria-invalid":w?Boolean(w):a,"aria-describedby":c,"aria-disabled":r,style:By})),[v,g,l,$,E,_,U,H,i,V,W,o,y,x,w,a,c,r,b]),Z=(0,e.useCallback)(((e={},t=null)=>({...e,ref:t,onMouseDown:ot(e.onMouseDown,rx),"data-disabled":nt(r),"data-checked":nt(V),"data-invalid":nt(a)})),[V,r,a]);return{state:{isInvalid:a,isFocused:T,isChecked:V,isActive:L,isHovered:A,isIndeterminate:m,isDisabled:r,isReadOnly:o,isRequired:i},getRootProps:Y,getCheckboxProps:q,getIndicatorProps:G,getInputProps:X,getLabelProps:Z,htmlProps:S}}function rx(e){e.preventDefault(),e.stopPropagation()}var ox={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},ix={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},ax=Ne({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),lx=Ne({from:{opacity:0},to:{opacity:1}}),sx=Ne({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),ux=pg((function(t,n){const r=Py(),o=bg("Checkbox",{...r,...t}),i=Nn(t),{spacing:a="0.5rem",className:l,children:s,iconColor:u,iconSize:c,icon:d=(0,Be.jsx)(Ay,{}),isChecked:f,isDisabled:p=(null==r?void 0:r.isDisabled),onChange:h,inputProps:m,...v}=i;let g=f;(null==r?void 0:r.value)&&i.value&&(g=r.value.includes(i.value));let b=h;(null==r?void 0:r.onChange)&&i.value&&(b=function(...e){return function(t){e.forEach((e=>{null==e||e(t)}))}}(r.onChange,h));const{state:y,getInputProps:x,getCheckboxProps:w,getLabelProps:k,getRootProps:S}=nx({...v,isDisabled:p,isChecked:g,onChange:b}),C=function(t){const[n,r]=(0,e.useState)(t),[o,i]=(0,e.useState)(!1);return t!==n&&(i(!0),r(t)),o}(y.isChecked),E=(0,e.useMemo)((()=>({animation:C?y.isIndeterminate?`${lx} 20ms linear, ${sx} 200ms linear`:`${ax} 200ms linear`:void 0,fontSize:c,color:u,...o.icon})),[u,c,C,y.isIndeterminate,o.icon]),_=(0,e.cloneElement)(d,{__css:E,isIndeterminate:y.isIndeterminate,isChecked:y.isChecked});return(0,Be.jsxs)(cg.label,{__css:{...ix,...o.container},className:Ke("chakra-checkbox",l),...S(),children:[(0,Be.jsx)("input",{className:"chakra-checkbox__input",...x(m,n)}),(0,Be.jsx)(cg.span,{__css:{...ox,...o.control},className:"chakra-checkbox__control",...w(),children:_}),s&&(0,Be.jsx)(cg.span,{className:"chakra-checkbox__label",...k(),__css:{marginStart:a,...o.label},children:s})]})}));ux.displayName="Checkbox";var cx=pg((function(e,t){const n=gg("Link",e),{className:r,isExternal:o,...i}=Nn(e);return(0,Be.jsx)(cg.a,{target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:t,className:Ke("chakra-link",r),...i,__css:n})}));cx.displayName="Link";var dx=pg((function(e,t){var n;const r=gg("FormLabel",e),o=Nn(e),{className:i,children:a,requiredIndicator:l=(0,Be.jsx)(fx,{}),optionalIndicator:s=null,...u}=o,c=zy(),d=null!=(n=null==c?void 0:c.getLabelProps(u,t))?n:{ref:t,...u};return(0,Be.jsxs)(cg.label,{...d,className:Ke("chakra-form__label",o.className),__css:{display:"block",textAlign:"start",...r},children:[a,(null==c?void 0:c.isRequired)?l:s]})}));dx.displayName="FormLabel";var fx=pg((function(e,t){const n=zy(),r=Ly();if(!(null==n?void 0:n.isRequired))return null;const o=Ke("chakra-form__required-indicator",e.className);return(0,Be.jsx)(cg.span,{...null==n?void 0:n.getRequiredIndicatorProps(e,t),__css:r.requiredIndicator,className:o})}));fx.displayName="RequiredIndicator";var px={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};function hx(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function mx(e){var t;return!!hx(e)&&e instanceof(null!=(t=e.ownerDocument.defaultView)?t:window).HTMLElement}function vx(e){return hx(e)?e.ownerDocument:document}function gx(e){return["html","body","#document"].includes(e.localName)?e.ownerDocument.body:mx(e)&&function(e){const t=e.ownerDocument.defaultView||window,{overflow:n,overflowX:r,overflowY:o}=t.getComputedStyle(e);return/auto|scroll|overlay|hidden/.test(n+o+r)}(e)?e:gx(function(e){return"html"===e.localName?e:e.assignedSlot||e.parentElement||e.ownerDocument.documentElement}(e))}var bx=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),yx={arrowShadowColor:bx("--popper-arrow-shadow-color"),arrowSize:bx("--popper-arrow-size","8px"),arrowSizeHalf:bx("--popper-arrow-size-half"),arrowBg:bx("--popper-arrow-bg"),transformOrigin:bx("--popper-transform-origin"),arrowOffset:bx("--popper-arrow-offset")},xx={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},wx={scroll:!0,resize:!0};function kx(e){let t;return t="object"==typeof e?{enabled:!0,options:{...wx,...e}}:{enabled:e,options:wx},t}var Sx={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},Cx={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{Ex(e)},effect:({state:e})=>()=>{Ex(e)}},Ex=e=>{var t;e.elements.popper.style.setProperty(yx.transformOrigin.var,(t=e.placement,xx[t]))},_x={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{Ox(e)}},Ox=e=>{var t;if(!e.placement)return;const n=Px(e.placement);if((null==(t=e.elements)?void 0:t.arrow)&&n){Object.assign(e.elements.arrow.style,{[n.property]:n.value,width:yx.arrowSize.varRef,height:yx.arrowSize.varRef,zIndex:-1});const t={[yx.arrowSizeHalf.var]:`calc(${yx.arrowSize.varRef} / 2 - 1px)`,[yx.arrowOffset.var]:`calc(${yx.arrowSizeHalf.varRef} * -1)`};for(const n in t)e.elements.arrow.style.setProperty(n,t[n])}},Px=e=>e.startsWith("top")?{property:"bottom",value:yx.arrowOffset.varRef}:e.startsWith("bottom")?{property:"top",value:yx.arrowOffset.varRef}:e.startsWith("left")?{property:"right",value:yx.arrowOffset.varRef}:e.startsWith("right")?{property:"left",value:yx.arrowOffset.varRef}:void 0,Tx={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{Rx(e)},effect:({state:e})=>()=>{Rx(e)}},Rx=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;const n=(r=e.placement).includes("top")?"1px 1px 0px 0 var(--popper-arrow-shadow-color)":r.includes("bottom")?"-1px -1px 0px 0 var(--popper-arrow-shadow-color)":r.includes("right")?"-1px 1px 0px 0 var(--popper-arrow-shadow-color)":r.includes("left")?"1px -1px 0px 0 var(--popper-arrow-shadow-color)":void 0;var r;n&&t.style.setProperty("--popper-arrow-default-shadow",n),Object.assign(t.style,{transform:"rotate(45deg)",background:yx.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},Ax={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},Ix={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function Lx(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function jx(e){return e instanceof Lx(e).Element||e instanceof Element}function zx(e){return e instanceof Lx(e).HTMLElement||e instanceof HTMLElement}function Mx(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Lx(e).ShadowRoot||e instanceof ShadowRoot)}var Fx=Math.max,Dx=Math.min,Nx=Math.round;function Bx(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Vx(){return!/^((?!chrome|android).)*safari/i.test(Bx())}function $x(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&zx(e)&&(o=e.offsetWidth>0&&Nx(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Nx(r.height)/e.offsetHeight||1);var a=(jx(e)?Lx(e):window).visualViewport,l=!Vx()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,u=(r.top+(l&&a?a.offsetTop:0))/i,c=r.width/o,d=r.height/i;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function Wx(e){var t=Lx(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ux(e){return e?(e.nodeName||"").toLowerCase():null}function Hx(e){return((jx(e)?e.ownerDocument:e.document)||window.document).documentElement}function qx(e){return $x(Hx(e)).left+Wx(e).scrollLeft}function Gx(e){return Lx(e).getComputedStyle(e)}function Yx(e){var t=Gx(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Xx(e,t,n){void 0===n&&(n=!1);var r=zx(t),o=zx(t)&&function(e){var t=e.getBoundingClientRect(),n=Nx(t.width)/e.offsetWidth||1,r=Nx(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=Hx(t),a=$x(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Ux(t)||Yx(i))&&(l=function(e){return e!==Lx(e)&&zx(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Wx(e);var t}(t)),zx(t)?((s=$x(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=qx(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Zx(e){var t=$x(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Qx(e){return"html"===Ux(e)?e:e.assignedSlot||e.parentNode||(Mx(e)?e.host:null)||Hx(e)}function Kx(e){return["html","body","#document"].indexOf(Ux(e))>=0?e.ownerDocument.body:zx(e)&&Yx(e)?e:Kx(Qx(e))}function Jx(e,t){var n;void 0===t&&(t=[]);var r=Kx(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Lx(r),a=o?[i].concat(i.visualViewport||[],Yx(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(Jx(Qx(a)))}function ew(e){return["table","td","th"].indexOf(Ux(e))>=0}function tw(e){return zx(e)&&"fixed"!==Gx(e).position?e.offsetParent:null}function nw(e){for(var t=Lx(e),n=tw(e);n&&ew(n)&&"static"===Gx(n).position;)n=tw(n);return n&&("html"===Ux(n)||"body"===Ux(n)&&"static"===Gx(n).position)?t:n||function(e){var t=/firefox/i.test(Bx());if(/Trident/i.test(Bx())&&zx(e)&&"fixed"===Gx(e).position)return null;var n=Qx(e);for(Mx(n)&&(n=n.host);zx(n)&&["html","body"].indexOf(Ux(n))<0;){var r=Gx(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var rw="top",ow="bottom",iw="right",aw="left",lw="auto",sw=[rw,ow,iw,aw],uw="start",cw="end",dw="viewport",fw="popper",pw=sw.reduce((function(e,t){return e.concat([t+"-"+uw,t+"-"+cw])}),[]),hw=[].concat(sw,[lw]).reduce((function(e,t){return e.concat([t,t+"-"+uw,t+"-"+cw])}),[]),mw=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function vw(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var gw={placement:"bottom",modifiers:[],strategy:"absolute"};function bw(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function yw(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?gw:o;return function(e,t,n){void 0===n&&(n=i);var o,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},gw,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],u=!1,c={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},i,l.options,o),l.scrollParents={reference:jx(e)?Jx(e):e.contextElement?Jx(e.contextElement):[],popper:Jx(t)};var a,u,f=function(e){var t=vw(e);return mw.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,l.options.modifiers),u=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return l.orderedModifiers=f.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:l,name:t,instance:c,options:r});s.push(i||function(){})}})),c.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(bw(t,n)){l.rects={reference:Xx(t,nw(n),"fixed"===l.options.strategy),popper:Zx(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,d=o.name;"function"==typeof i&&(l=i({state:l,options:s,name:d,instance:c})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){c.forceUpdate(),e(l)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){d(),u=!0}};if(!bw(e,t))return c;function d(){s.forEach((function(e){return e()})),s=[]}return c.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var xw={passive:!0};const ww={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=Lx(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,xw)})),l&&s.addEventListener("resize",n.update,xw),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,xw)})),l&&s.removeEventListener("resize",n.update,xw)}},data:{}};function kw(e){return e.split("-")[0]}function Sw(e){return e.split("-")[1]}function Cw(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ew(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?kw(o):null,a=o?Sw(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case rw:t={x:l,y:n.y-r.height};break;case ow:t={x:l,y:n.y+n.height};break;case iw:t={x:n.x+n.width,y:s};break;case aw:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?Cw(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case uw:t[u]=t[u]-(n[c]/2-r[c]/2);break;case cw:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}const _w={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ew({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Ow={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Pw(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,m=void 0===h?0:h,v="function"==typeof c?c({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var g=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=aw,x=rw,w=window;if(u){var k=nw(n),S="clientHeight",C="clientWidth";k===Lx(n)&&"static"!==Gx(k=Hx(n)).position&&"absolute"===l&&(S="scrollHeight",C="scrollWidth"),(o===rw||(o===aw||o===iw)&&i===cw)&&(x=ow,m-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[S])-r.height,m*=s?1:-1),o!==aw&&(o!==rw&&o!==ow||i!==cw)||(y=iw,p-=(d&&k===w&&w.visualViewport?w.visualViewport.width:k[C])-r.width,p*=s?1:-1)}var E,_=Object.assign({position:l},u&&Ow),O=!0===c?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Nx(n*o)/o||0,y:Nx(r*o)/o||0}}({x:p,y:m},Lx(n)):{x:p,y:m};return p=O.x,m=O.y,s?Object.assign({},_,((E={})[x]=b?"0":"",E[y]=g?"0":"",E.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",E)):Object.assign({},_,((t={})[x]=b?m+"px":"",t[y]=g?p+"px":"",t.transform="",t))}const Tw={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,u={placement:kw(t.placement),variation:Sw(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Pw(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Pw(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Rw={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];zx(o)&&Ux(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});zx(r)&&Ux(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},Aw={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=hw.reduce((function(e,n){return e[n]=function(e,t,n){var r=kw(e),o=[aw,rw].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[aw,iw].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var Iw={left:"right",right:"left",bottom:"top",top:"bottom"};function Lw(e){return e.replace(/left|right|bottom|top/g,(function(e){return Iw[e]}))}var jw={start:"end",end:"start"};function zw(e){return e.replace(/start|end/g,(function(e){return jw[e]}))}function Mw(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Mx(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Fw(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Dw(e,t,n){return t===dw?Fw(function(e,t){var n=Lx(e),r=Hx(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var u=Vx();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+qx(e),y:s}}(e,n)):jx(t)?function(e,t){var n=$x(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Fw(function(e){var t,n=Hx(e),r=Wx(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Fx(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Fx(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+qx(e),s=-r.scrollTop;return"rtl"===Gx(o||n).direction&&(l+=Fx(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(Hx(e)))}function Nw(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Bw(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Vw(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?"clippingParents":l,u=n.rootBoundary,c=void 0===u?dw:u,d=n.elementContext,f=void 0===d?fw:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,v=void 0===m?0:m,g=Nw("number"!=typeof v?v:Bw(v,sw)),b=f===fw?"reference":fw,y=e.rects.popper,x=e.elements[h?b:f],w=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=Jx(Qx(e)),n=["absolute","fixed"].indexOf(Gx(e).position)>=0&&zx(e)?nw(e):e;return jx(n)?t.filter((function(e){return jx(e)&&Mw(e,n)&&"body"!==Ux(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce((function(t,n){var o=Dw(e,n,r);return t.top=Fx(o.top,t.top),t.right=Dx(o.right,t.right),t.bottom=Dx(o.bottom,t.bottom),t.left=Fx(o.left,t.left),t}),Dw(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}(jx(x)?x:x.contextElement||Hx(e.elements.popper),s,c,a),k=$x(e.elements.reference),S=Ew({reference:k,element:y,strategy:"absolute",placement:o}),C=Fw(Object.assign({},y,S)),E=f===fw?C:k,_={top:w.top-E.top+g.top,bottom:E.bottom-w.bottom+g.bottom,left:w.left-E.left+g.left,right:E.right-w.right+g.right},O=e.modifiersData.offset;if(f===fw&&O){var P=O[o];Object.keys(_).forEach((function(e){var t=[iw,ow].indexOf(e)>=0?1:-1,n=[rw,ow].indexOf(e)>=0?"y":"x";_[e]+=P[n]*t}))}return _}const $w={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=kw(v),b=s||(g!==v&&h?function(e){if(kw(e)===lw)return[];var t=Lw(e);return[zw(e),t,zw(t)]}(v):[Lw(v)]),y=[v].concat(b).reduce((function(e,n){return e.concat(kw(n)===lw?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?hw:s,c=Sw(r),d=c?l?pw:pw.filter((function(e){return Sw(e)===c})):sw,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Vw(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[kw(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,k=new Map,S=!0,C=y[0],E=0;E<y.length;E++){var _=y[E],O=kw(_),P=Sw(_)===uw,T=[rw,ow].indexOf(O)>=0,R=T?"width":"height",A=Vw(t,{placement:_,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),I=T?P?iw:aw:P?ow:rw;x[R]>w[R]&&(I=Lw(I));var L=Lw(I),j=[];if(i&&j.push(A[O]<=0),l&&j.push(A[I]<=0,A[L]<=0),j.every((function(e){return e}))){C=_,S=!1;break}k.set(_,j)}if(S)for(var z=function(e){var t=y.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},M=h?3:1;M>0&&"break"!==z(M);M--);t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ww(e,t,n){return Fx(e,Dx(t,n))}const Uw={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,v=Vw(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),g=kw(t.placement),b=Sw(t.placement),y=!b,x=Cw(g),w="x"===x?"y":"x",k=t.modifiersData.popperOffsets,S=t.rects.reference,C=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,_="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(k){if(i){var T,R="y"===x?rw:aw,A="y"===x?ow:iw,I="y"===x?"height":"width",L=k[x],j=L+v[R],z=L-v[A],M=p?-C[I]/2:0,F=b===uw?S[I]:C[I],D=b===uw?-C[I]:-S[I],N=t.elements.arrow,B=p&&N?Zx(N):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=V[R],W=V[A],U=Ww(0,S[I],B[I]),H=y?S[I]/2-M-U-$-_.mainAxis:F-U-$-_.mainAxis,q=y?-S[I]/2+M+U+W+_.mainAxis:D+U+W+_.mainAxis,G=t.elements.arrow&&nw(t.elements.arrow),Y=G?"y"===x?G.clientTop||0:G.clientLeft||0:0,X=null!=(T=null==O?void 0:O[x])?T:0,Z=L+q-X,Q=Ww(p?Dx(j,L+H-X-Y):j,L,p?Fx(z,Z):z);k[x]=Q,P[x]=Q-L}if(l){var K,J="x"===x?rw:aw,ee="x"===x?ow:iw,te=k[w],ne="y"===w?"height":"width",re=te+v[J],oe=te-v[ee],ie=-1!==[rw,aw].indexOf(g),ae=null!=(K=null==O?void 0:O[w])?K:0,le=ie?re:te-S[ne]-C[ne]-ae+_.altAxis,se=ie?te+S[ne]+C[ne]-ae-_.altAxis:oe,ue=p&&ie?function(e,t,n){var r=Ww(e,t,n);return r>n?n:r}(le,te,se):Ww(p?le:re,te,p?se:oe);k[w]=ue,P[w]=ue-te}t.modifiersData[r]=P}},requiresIfExists:["offset"]},Hw={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=kw(n.placement),s=Cw(l),u=[aw,iw].indexOf(l)>=0?"height":"width";if(i&&a){var c=function(e,t){return Nw("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Bw(e,sw))}(o.padding,n),d=Zx(i),f="y"===s?rw:aw,p="y"===s?ow:iw,h=n.rects.reference[u]+n.rects.reference[s]-a[s]-n.rects.popper[u],m=a[s]-n.rects.reference[s],v=nw(i),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,b=h/2-m/2,y=c[f],x=g-d[u]-c[p],w=g/2-d[u]/2+b,k=Ww(y,w,x),S=s;n.modifiersData[r]=((t={})[S]=k,t.centerOffset=k-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Mw(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function qw(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Gw(e){return[rw,iw,ow,aw].some((function(t){return e[t]>=0}))}const Yw={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Vw(t,{elementContext:"reference"}),l=Vw(t,{altBoundary:!0}),s=qw(a,r),u=qw(l,o,i),c=Gw(s),d=Gw(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}};var Xw=yw({defaultModifiers:[ww,_w,Tw,Rw,Aw,$w,Uw,Hw,Yw]});function Zw(t={}){const{enabled:n=!0,modifiers:r,placement:o="bottom",strategy:i="absolute",arrowPadding:a=8,eventListeners:l=!0,offset:s,gutter:u=8,flip:c=!0,boundary:d="clippingParents",preventOverflow:f=!0,matchWidth:p,direction:h="ltr"}=t,m=(0,e.useRef)(null),v=(0,e.useRef)(null),g=(0,e.useRef)(null),b=function(e,t="ltr"){var n,r;const o=(null==(n=Ax[e])?void 0:n[t])||e;return"ltr"===t?o:null!=(r=Ix[e])?r:o}(o,h),y=(0,e.useRef)((()=>{})),x=(0,e.useCallback)((()=>{var e;n&&m.current&&v.current&&(null==(e=y.current)||e.call(y),g.current=Xw(m.current,v.current,{placement:b,modifiers:[Tx,_x,Cx,{...Sx,enabled:!!p},{name:"eventListeners",...kx(l)},{name:"arrow",options:{padding:a}},{name:"offset",options:{offset:null!=s?s:[0,u]}},{name:"flip",enabled:!!c,options:{padding:8}},{name:"preventOverflow",enabled:!!f,options:{boundary:d}},...null!=r?r:[]],strategy:i}),g.current.forceUpdate(),y.current=g.current.destroy)}),[b,n,r,p,l,a,s,u,c,f,d,i]);(0,e.useEffect)((()=>()=>{var e;m.current||v.current||(null==(e=g.current)||e.destroy(),g.current=null)}),[]);const w=(0,e.useCallback)((e=>{m.current=e,x()}),[x]),k=(0,e.useCallback)(((e={},t=null)=>({...e,ref:db(w,t)})),[w]),S=(0,e.useCallback)((e=>{v.current=e,x()}),[x]),C=(0,e.useCallback)(((e={},t=null)=>({...e,ref:db(S,t),style:{...e.style,position:i,minWidth:p?void 0:"max-content",inset:"0 auto auto 0"}})),[i,S,p]),E=(0,e.useCallback)(((e={},t=null)=>{const{size:n,shadowColor:r,bg:o,style:i,...a}=e;return{...a,ref:t,"data-popper-arrow":"",style:Qw(e)}}),[]),_=(0,e.useCallback)(((e={},t=null)=>({...e,ref:t,"data-popper-arrow-inner":""})),[]);return{update(){var e;null==(e=g.current)||e.update()},forceUpdate(){var e;null==(e=g.current)||e.forceUpdate()},transformOrigin:yx.transformOrigin.varRef,referenceRef:w,popperRef:S,getPopperProps:C,getArrowProps:E,getArrowInnerProps:_,getReferenceProps:k}}function Qw(e){const{size:t,shadowColor:n,bg:r,style:o}=e,i={...o,position:"absolute"};return t&&(i["--popper-arrow-size"]=t),n&&(i["--popper-arrow-shadow-color"]=n),r&&(i["--popper-arrow-bg"]=r),i}function Kw(t={}){const{onClose:n,onOpen:r,isOpen:o,id:i}=t,a=Eu(r),l=Eu(n),[s,u]=(0,e.useState)(t.defaultIsOpen||!1),c=void 0!==o?o:s,d=void 0!==o,f=(0,e.useId)(),p=null!=i?i:`disclosure-${f}`,h=(0,e.useCallback)((()=>{d||u(!1),null==l||l()}),[d,l]),m=(0,e.useCallback)((()=>{d||u(!0),null==a||a()}),[d,a]),v=(0,e.useCallback)((()=>{c?h():m()}),[c,m,h]);return{isOpen:c,onOpen:m,onClose:h,onToggle:v,isControlled:d,getButtonProps:function(e={}){return{...e,"aria-expanded":c,"aria-controls":p,onClick(t){var n;null==(n=e.onClick)||n.call(e,t),v()}}},getDisclosureProps:function(e={}){return{...e,hidden:!c,id:p}}}}function Jw(t,n,r,o){const i=Eu(r);return(0,e.useEffect)((()=>{const e="function"==typeof t?t():null!=t?t:document;if(r&&e)return e.addEventListener(n,i,o),()=>{e.removeEventListener(n,i,o)}}),[n,t,o,i,r]),()=>{const e="function"==typeof t?t():null!=t?t:document;null==e||e.removeEventListener(n,i,o)}}var ek=e=>{var t;return(null==(t=e.current)?void 0:t.ownerDocument)||document},tk=e=>{var t,n;return(null==(n=null==(t=e.current)?void 0:t.ownerDocument)?void 0:n.defaultView)||window};function nk(t={}){const{openDelay:n=0,closeDelay:r=0,closeOnClick:o=!0,closeOnMouseDown:i,closeOnScroll:a,closeOnPointerDown:l=i,closeOnEsc:s=!0,onOpen:u,onClose:c,placement:d,id:f,isOpen:p,defaultIsOpen:h,arrowSize:m=10,arrowShadowColor:v,arrowPadding:g,modifiers:b,isDisabled:y,gutter:x,offset:w,direction:k,...S}=t,{isOpen:C,onOpen:E,onClose:_}=Kw({isOpen:p,defaultIsOpen:h,onOpen:u,onClose:c}),{referenceRef:O,getPopperProps:P,getArrowInnerProps:T,getArrowProps:R}=Zw({enabled:C,placement:d,arrowPadding:g,modifiers:b,gutter:x,offset:w,direction:k}),A=(0,e.useId)(),I=`tooltip-${null!=f?f:A}`,L=(0,e.useRef)(null),j=(0,e.useRef)(),z=(0,e.useCallback)((()=>{j.current&&(clearTimeout(j.current),j.current=void 0)}),[]),M=(0,e.useRef)(),F=(0,e.useCallback)((()=>{M.current&&(clearTimeout(M.current),M.current=void 0)}),[]),D=(0,e.useCallback)((()=>{F(),_()}),[_,F]),N=function(t,n){return(0,e.useEffect)((()=>{const e=ek(t);return e.addEventListener(rk,n),()=>e.removeEventListener(rk,n)}),[n,t]),()=>{const e=ek(t),n=tk(t);e.dispatchEvent(new n.CustomEvent(rk))}}(L,D),B=(0,e.useCallback)((()=>{if(!y&&!j.current){C&&N();const e=tk(L);j.current=e.setTimeout(E,n)}}),[N,y,C,E,n]),V=(0,e.useCallback)((()=>{z();const e=tk(L);M.current=e.setTimeout(D,r)}),[r,D,z]),$=(0,e.useCallback)((()=>{C&&o&&V()}),[o,V,C]),W=(0,e.useCallback)((()=>{C&&l&&V()}),[l,V,C]),U=(0,e.useCallback)((e=>{C&&"Escape"===e.key&&V()}),[C,V]);Jw((()=>ek(L)),"keydown",s?U:void 0),Jw((()=>{if(!a)return null;const e=L.current;if(!e)return null;const t=gx(e);return"body"===t.localName?tk(L):t}),"scroll",(()=>{C&&a&&D()}),{passive:!0,capture:!0}),(0,e.useEffect)((()=>{y&&(z(),C&&_())}),[y,C,_,z]),(0,e.useEffect)((()=>()=>{z(),F()}),[z,F]),Jw((()=>L.current),"pointerleave",V);const H=(0,e.useCallback)(((e={},t=null)=>({...e,ref:db(L,t,O),onPointerEnter:ot(e.onPointerEnter,(e=>{"touch"!==e.pointerType&&B()})),onClick:ot(e.onClick,$),onPointerDown:ot(e.onPointerDown,W),onFocus:ot(e.onFocus,B),onBlur:ot(e.onBlur,V),"aria-describedby":C?I:void 0})),[B,V,W,C,I,$,O]),q=(0,e.useCallback)(((e={},t=null)=>P({...e,style:{...e.style,[yx.arrowSize.var]:m?`${m}px`:void 0,[yx.arrowShadowColor.var]:v}},t)),[P,m,v]),G=(0,e.useCallback)(((e={},t=null)=>{const n={...e.style,position:"relative",transformOrigin:yx.transformOrigin.varRef};return{ref:t,...S,...e,id:I,role:"tooltip",style:n}}),[S,I]);return{isOpen:C,show:B,hide:V,getTriggerProps:H,getTooltipProps:G,getTooltipPositionerProps:q,getArrowProps:R,getArrowInnerProps:T}}var rk="chakra-ui:close-tooltip",ok=cg(Zv.div),ik=pg(((t,n)=>{var r,o;const i=gg("Tooltip",t),a=Nn(t),l=hg(),{children:s,label:u,shouldWrapChildren:c,"aria-label":d,hasArrow:f,bg:p,portalProps:h,background:m,backgroundColor:v,bgColor:g,motionProps:b,...y}=a,x=null!=(o=null!=(r=null!=m?m:v)?r:p)?o:g;if(x){i.bg=x;const e=function(e,t,n){var r,o,i;return null!=(i=null==(o=null==(r=e.__cssMap)?void 0:r[`colors.${n}`])?void 0:o.varRef)?i:n}(l,0,x);i[yx.arrowBg.var]=e}const w=nk({...y,direction:l.direction});let k;if("string"==typeof s||c)k=(0,Be.jsx)(cg.span,{display:"inline-block",tabIndex:0,...w.getTriggerProps(),children:s});else{const t=e.Children.only(s);k=(0,e.cloneElement)(t,w.getTriggerProps(t.props,t.ref))}const S=!!d,C=w.getTooltipProps({},n),E=S?function(e,t=[]){const n=Object.assign({},e);for(const e of t)e in n&&delete n[e];return n}(C,["role","id"]):C,_=function(e){const t={};for(const n of["role","id"])n in e&&(t[n]=e[n]);return t}(C);return u?(0,Be.jsxs)(Be.Fragment,{children:[k,(0,Be.jsx)(Ug,{children:w.isOpen&&(0,Be.jsx)(Kg,{...h,children:(0,Be.jsx)(cg.div,{...w.getTooltipPositionerProps(),__css:{zIndex:i.zIndex,pointerEvents:"none"},children:(0,Be.jsxs)(ok,{variants:px,initial:"exit",animate:"enter",exit:"exit",...b,...E,__css:i,children:[u,S&&(0,Be.jsx)(cg.span,{srOnly:!0,..._,children:d}),f&&(0,Be.jsx)(cg.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:(0,Be.jsx)(cg.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:i.bg}})})]})})})})]}):(0,Be.jsx)(Be.Fragment,{children:s})}));ik.displayName="Tooltip";var ak=(0,e.createContext)(),lk=function(n){var r=n.reducer,o=n.initialState,i=n.children;return t().createElement(ak.Provider,{value:(0,e.useReducer)(r,o)},i)},sk=function(){return(0,e.useContext)(ak)};function uk(e){return uk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uk(e)}function ck(){return ck=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ck.apply(null,arguments)}function dk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dk(Object(n),!0).forEach((function(t){pk(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pk(e,t,n){return(t=function(e){var t=function(e){if("object"!=uk(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=uk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==uk(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return mk(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?mk(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const vk=function(){var n="undefined"!=typeof _UR_WIZARD_&&_UR_WIZARD_,r=(n.defaultFormId,n.registrationPageSlug,n.myAccountPageSlug,hk(sk(),2)),o=r[0].installedPages,i=(r[1],hk((0,e.useState)({}),2)),a=i[0],l=i[1],s=hk((0,e.useState)({}),2),u=s[0],c=s[1];(0,e.useEffect)((function(){var e=fk({},o),t=fk({},u);e.default_form_id&&(t.default_form_id=e.default_form_id,delete e.default_form_id),e.anyone_can_register&&(t.anyone_can_register=e.anyone_can_register,delete e.anyone_can_register),e.default_wordpress_login&&(t.default_wordpress_login=e.default_wordpress_login,delete e.default_wordpress_login),e.membership_details&&delete e.membership_details,l(e),c(t)}),[]);var d=function(e){return t().createElement(xg,ck({viewBox:"0 0 16 17"},e,{fill:"none",height:"17px",width:"16px"}),t().createElement("path",{d:"M14 9.16667V13.1667C14 13.5203 13.8595 13.8594 13.6095 14.1095C13.3594 14.3595 13.0203 14.5 12.6667 14.5H3.33333C2.97971 14.5 2.64057 14.3595 2.39052 14.1095C2.14048 13.8594 2 13.5203 2 13.1667V3.83333C2 3.47971 2.14048 3.14057 2.39052 2.89052C2.64057 2.64048 2.97971 2.5 3.33333 2.5H7.33333",stroke:"#8C8C8C",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"}),t().createElement("path",{d:"M14 2.5L8 8.5",stroke:"#8C8C8C",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"}),t().createElement("path",{d:"M10 2.5H14V6.5",stroke:"#8C8C8C",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"}))},f=function(e){var n=e.pageDetails;return t().createElement(mb,{bg:"#F8F9FC",w:"100%",p:"14px 16px",color:"#383838",border:"1px solid #EDEFF7",borderRadius:"md",display:"flex",flex:"0 0 48%"},t().createElement(ob,{justify:"space-between",align:"center",width:"100%"},t().createElement(ux,{isChecked:!0,isReadOnly:!0,className:"user-registration-setup-wizard__body--checkbox",color:"#475BB2"},t().createElement(ab,{fontSize:"15px",fontWeight:600,color:"#383838"},n.title)),""!==n.page_url&&t().createElement(cx,{href:n.page_url,isExternal:!0,textDecoration:"underline",fontSize:"12px",color:"#475BB2"},t().createElement(d,null))))};return t().createElement(ob,{direction:"column",justifyContent:"space-between",gap:"40px"},t().createElement(ob,{direction:"column",justifyContent:"space-between",alignItems:"left",gap:"20px"},t().createElement(ob,{gap:"20px",flexDirection:"column"},Object.keys(u).map((function(e){return t().createElement(ob,{flexDirection:"row"},t().createElement(ob,{align:"center",flex:"0 0 50%"},t().createElement(dx,{sx:{fontWeight:"500",fontSize:"15px",marginInlineEnd:"0.5rem"}},u[e].title),u[e].desc&&t().createElement(ik,{label:u[e].desc,hasArrow:!0,fontSize:"14px",fontWeight:"400px",backgroundColor:"#383838"},t().createElement("span",{className:"ur-setup-wizard-tool-tip",style:{color:"#BABABA",marginBottom:"5px"}}))),t().createElement(dx,{sx:pk({fontWeight:"500",fontSize:"15px",marginInlineEnd:"0.5rem",padding:"8px 12px",display:"flex",gap:"10px"},"fontWeight","500"),color:"enabled"===u[e].status?"#008000":"#F25656",bgColor:"enabled"===u[e].status?"#F0F8F0":"#FFF5F5"},u[e].status_label))}))),t().createElement(ob,{align:"center",flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start",gap:"20px"},t().createElement(dx,{sx:{fontWeight:"500",fontSize:"15px",marginInlineEnd:"0.5rem"}},ry("Installed Pages","user-registration")),t().createElement(ob,{align:"center",flexDirection:"row",gap:"20px",flexWrap:"wrap"},Object.keys(a).map((function(e){return t().createElement(f,{key:e,pageDetails:a[e]})}))))))};var gk=e=>(0,Be.jsx)(cg.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});gk.displayName="StackItem";var bk=Object.freeze(["base","sm","md","lg","xl","2xl"]);function yk(t){return e.Children.toArray(t).filter((t=>(0,e.isValidElement)(t)))}var xk=pg(((t,n)=>{const{isInline:r,direction:o,align:i,justify:a,spacing:l="0.5rem",wrap:s,children:u,divider:c,className:d,shouldWrapChildren:f,...p}=t,h=r?"row":null!=o?o:"column",m=(0,e.useMemo)((()=>function(e){const{spacing:t,direction:n}=e,r={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{"&":(o=n,i=e=>r[e],Array.isArray(o)?o.map((e=>null===e?null:i(e))):Je(o)?Object.keys(o).reduce(((e,t)=>(e[t]=i(o[t]),e)),{}):null!=o?i(o):null)};var o,i}({spacing:l,direction:h})),[l,h]),v=!!c,g=!f&&!v,b=(0,e.useMemo)((()=>{const t=yk(u);return g?t:t.map(((n,r)=>{const o=void 0!==n.key?n.key:r,i=r+1===t.length,a=f?(0,Be.jsx)(gk,{children:n},o):n;if(!v)return a;const l=(0,e.cloneElement)(c,{__css:m}),s=i?null:l;return(0,Be.jsxs)(e.Fragment,{children:[a,s]},o)}))}),[c,m,v,g,f,u]),y=Ke("chakra-stack",d);return(0,Be.jsx)(cg.div,{ref:n,display:"flex",alignItems:i,justifyContent:a,flexDirection:h,flexWrap:s,gap:v?void 0:l,className:y,...p,children:b})}));function wk(t={}){const{onChange:n,value:r,defaultValue:o,name:i,isDisabled:a,isFocusable:l,isNative:s,...u}=t,[c,d]=(0,e.useState)(o||""),f=void 0!==r,p=f?r:c,h=(0,e.useRef)(null),m=(0,e.useCallback)((()=>{const e=h.current;if(!e)return;let t="input:not(:disabled):checked";const n=e.querySelector(t);if(n)return void n.focus();t="input:not(:disabled)";const r=e.querySelector(t);null==r||r.focus()}),[]),v=(0,e.useId)(),g=i||`radio-${v}`,b=(0,e.useCallback)((e=>{const t=function(e){return e&&Je(e)&&Je(e.target)}(e)?e.target.value:e;f||d(t),null==n||n(String(t))}),[n,f]);return{getRootProps:(0,e.useCallback)(((e={},t=null)=>({...e,ref:db(t,h),role:"radiogroup"})),[]),getRadioProps:(0,e.useCallback)(((e={},t=null)=>{const n=s?"checked":"isChecked";return{...e,ref:t,name:g,[n]:null!=p?e.value===p:void 0,onChange(e){b(e)},"data-radiogroup":!0}}),[s,g,b,p]),name:g,ref:h,focus:m,setValue:d,value:p,onChange:b,isDisabled:a,isFocusable:l,htmlProps:u}}xk.displayName="Stack";var[kk,Sk]=He({name:"RadioGroupContext",strict:!1}),Ck=pg(((t,n)=>{const{colorScheme:r,size:o,variant:i,children:a,className:l,isDisabled:s,isFocusable:u,...c}=t,{value:d,onChange:f,getRootProps:p,name:h,htmlProps:m}=wk(c),v=(0,e.useMemo)((()=>({name:h,size:o,onChange:f,colorScheme:r,value:d,variant:i,isDisabled:s,isFocusable:u})),[h,o,f,r,d,i,s,u]);return(0,Be.jsx)(kk,{value:v,children:(0,Be.jsx)(cg.div,{...p(m,n),className:Ke("chakra-radio-group",l),children:a})})}));Ck.displayName="RadioGroup";var Ek={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"};function _k(t={}){const{defaultChecked:n,isChecked:r,isFocusable:o,isDisabled:i,isReadOnly:a,isRequired:l,onChange:s,isInvalid:u,name:c,value:d,id:f,"data-radiogroup":p,"aria-describedby":h,...m}=t,v=`radio-${(0,e.useId)()}`,g=zy(),b=Sk();let y=!g||b||p?v:g.id;y=null!=f?f:y;const x=null!=i?i:null==g?void 0:g.isDisabled,w=null!=a?a:null==g?void 0:g.isReadOnly,k=null!=l?l:null==g?void 0:g.isRequired,S=null!=u?u:null==g?void 0:g.isInvalid,[C,E]=(0,e.useState)(!1),[_,O]=(0,e.useState)(!1),[P,T]=(0,e.useState)(!1),[R,A]=(0,e.useState)(!1),[I,L]=(0,e.useState)(Boolean(n)),j=void 0!==r,z=j?r:I;(0,e.useEffect)((()=>tx(E)),[]);const M=(0,e.useCallback)((e=>{w||x?e.preventDefault():(j||L(e.target.checked),null==s||s(e))}),[j,x,w,s]),F=(0,e.useCallback)((e=>{" "===e.key&&A(!0)}),[A]),D=(0,e.useCallback)((e=>{" "===e.key&&A(!1)}),[A]),N=(0,e.useCallback)(((e={},t=null)=>({...e,ref:t,"data-active":nt(R),"data-hover":nt(P),"data-disabled":nt(x),"data-invalid":nt(S),"data-checked":nt(z),"data-focus":nt(_),"data-focus-visible":nt(_&&C),"data-readonly":nt(w),"aria-hidden":!0,onMouseDown:ot(e.onMouseDown,(()=>A(!0))),onMouseUp:ot(e.onMouseUp,(()=>A(!1))),onMouseEnter:ot(e.onMouseEnter,(()=>T(!0))),onMouseLeave:ot(e.onMouseLeave,(()=>T(!1)))})),[R,P,x,S,z,_,w,C]),{onFocus:B,onBlur:V}=null!=g?g:{},$=(0,e.useCallback)(((e={},t=null)=>{const n=x&&!o;return{...e,id:y,ref:t,type:"radio",name:c,value:d,onChange:ot(e.onChange,M),onBlur:ot(V,e.onBlur,(()=>O(!1))),onFocus:ot(B,e.onFocus,(()=>O(!0))),onKeyDown:ot(e.onKeyDown,F),onKeyUp:ot(e.onKeyUp,D),checked:z,disabled:n,readOnly:w,required:k,"aria-invalid":rt(S),"aria-disabled":rt(n),"aria-required":rt(k),"data-readonly":nt(w),"aria-describedby":h,style:Ek}}),[x,o,y,c,d,M,V,B,F,D,z,w,k,S,h]);return{state:{isInvalid:S,isFocused:_,isChecked:z,isActive:R,isHovered:P,isDisabled:x,isReadOnly:w,isRequired:k},getCheckboxProps:N,getRadioProps:N,getInputProps:$,getLabelProps:(e={},t=null)=>({...e,ref:t,onMouseDown:ot(e.onMouseDown,Ok),"data-disabled":nt(x),"data-checked":nt(z),"data-invalid":nt(S)}),getRootProps:(e,t=null)=>({...e,ref:t,"data-disabled":nt(x),"data-checked":nt(z),"data-invalid":nt(S)}),htmlProps:m}}function Ok(e){e.preventDefault(),e.stopPropagation()}var Pk=pg((function(e,t){const{htmlWidth:n,htmlHeight:r,alt:o,...i}=e;return(0,Be.jsx)("img",{width:n,height:r,ref:t,alt:o,...i})}));function Tk(e,t=[]){const n=Object.assign({},e);for(const e of t)e in n&&delete n[e];return n}Pk.displayName="NativeImage";var Rk=pg((function(t,n){const{fallbackSrc:r,fallback:o,src:i,srcSet:a,align:l,fit:s,loading:u,ignoreFallback:c,crossOrigin:d,fallbackStrategy:f="beforeLoadOrError",referrerPolicy:p,...h}=t,m=null!=u||c||!(void 0!==r||void 0!==o),v=function(t){const{loading:n,src:r,srcSet:o,onLoad:i,onError:a,crossOrigin:l,sizes:s,ignoreFallback:u}=t,[c,d]=(0,e.useState)("pending");(0,e.useEffect)((()=>{d(r?"loading":"pending")}),[r]);const f=(0,e.useRef)(),p=(0,e.useCallback)((()=>{if(!r)return;h();const e=new Image;e.src=r,l&&(e.crossOrigin=l),o&&(e.srcset=o),s&&(e.sizes=s),n&&(e.loading=n),e.onload=e=>{h(),d("loaded"),null==i||i(e)},e.onerror=e=>{h(),d("failed"),null==a||a(e)},f.current=e}),[r,l,o,s,i,a,n]),h=()=>{f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return er((()=>{if(!u)return"loading"===c&&p(),()=>{h()}}),[c,p,u]),u?"loaded":c}({...t,crossOrigin:d,ignoreFallback:m}),g=((e,t)=>"loaded"!==e&&"beforeLoadOrError"===t||"failed"===e&&"onError"===t)(v,f),b={ref:n,objectFit:s,objectPosition:l,...m?h:Tk(h,["onError","onLoad"])};return g?o||(0,Be.jsx)(cg.img,{as:Pk,className:"chakra-image__placeholder",src:r,...b}):(0,Be.jsx)(cg.img,{as:Pk,src:i,srcSet:a,crossOrigin:d,loading:u,referrerPolicy:p,className:"chakra-image",...b})}));Rk.displayName="Image";var[Ak,Ik]=He({name:"InputGroupStylesContext",errorMessage:"useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<InputGroup />\" "}),Lk=pg((function(t,n){const r=bg("Input",t),{children:o,className:i,...a}=Nn(t),l=Ke("chakra-input__group",i),s={},u=yk(o),c=r.field;u.forEach((e=>{var t,n;r&&(c&&"InputLeftElement"===e.type.id&&(s.paddingStart=null!=(t=c.height)?t:c.h),c&&"InputRightElement"===e.type.id&&(s.paddingEnd=null!=(n=c.height)?n:c.h),"InputRightAddon"===e.type.id&&(s.borderEndRadius=0),"InputLeftAddon"===e.type.id&&(s.borderStartRadius=0))}));const d=u.map((n=>{var r,o;const i=ib({size:(null==(r=n.props)?void 0:r.size)||t.size,variant:(null==(o=n.props)?void 0:o.variant)||t.variant});return"Input"!==n.type.id?(0,e.cloneElement)(n,i):(0,e.cloneElement)(n,Object.assign(i,s,n.props))}));return(0,Be.jsx)(cg.div,{className:l,ref:n,__css:{width:"100%",display:"flex",position:"relative",isolation:"isolate",...r.group},"data-group":!0,...a,children:(0,Be.jsx)(Ak,{value:r,children:d})})}));Lk.displayName="InputGroup";var jk=cg("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),zk=pg((function(e,t){var n,r;const{placement:o="left",...i}=e,a=Ik(),l=a.field,s="left"===o?"insetStart":"insetEnd",u={[s]:"0",width:null!=(n=null==l?void 0:l.height)?n:null==l?void 0:l.h,height:null!=(r=null==l?void 0:l.height)?r:null==l?void 0:l.h,fontSize:null==l?void 0:l.fontSize,...a.element};return(0,Be.jsx)(jk,{ref:t,__css:u,...i})}));zk.id="InputElement",zk.displayName="InputElement";var Mk=pg((function(e,t){const{className:n,...r}=e,o=Ke("chakra-input__left-element",n);return(0,Be.jsx)(zk,{ref:t,placement:"left",className:o,...r})}));Mk.id="InputLeftElement",Mk.displayName="InputLeftElement";var Fk=pg((function(e,t){const{className:n,...r}=e,o=Ke("chakra-input__right-element",n);return(0,Be.jsx)(zk,{ref:t,placement:"right",className:o,...r})}));Fk.id="InputRightElement",Fk.displayName="InputRightElement";var Dk=pg((function(e,t){const{htmlSize:n,...r}=e,o=bg("Input",r),i=Dy(Nn(r)),a=Ke("chakra-input",e.className);return(0,Be.jsx)(cg.input,{size:n,...i,__css:o.field,ref:t,className:a})}));Dk.displayName="Input",Dk.id="Input";var Nk=pg((function(t,n){const r=bg("Switch",t),{spacing:o="0.5rem",children:i,...a}=Nn(t),{getIndicatorProps:l,getInputProps:s,getCheckboxProps:u,getRootProps:c,getLabelProps:d}=nx(a),f=(0,e.useMemo)((()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...r.container})),[r.container]),p=(0,e.useMemo)((()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...r.track})),[r.track]),h=(0,e.useMemo)((()=>({userSelect:"none",marginStart:o,...r.label})),[o,r.label]);return(0,Be.jsxs)(cg.label,{...c(),className:Ke("chakra-switch",t.className),__css:f,children:[(0,Be.jsx)("input",{className:"chakra-switch__input",...s({},n)}),(0,Be.jsx)(cg.span,{...u(),className:"chakra-switch__track",__css:p,children:(0,Be.jsx)(cg.span,{__css:r.thumb,className:"chakra-switch__thumb",...l()})}),i&&(0,Be.jsx)(cg.span,{className:"chakra-switch__label",...d(),__css:h,children:i})]})}));Nk.displayName="Switch";var Bk=pg(((e,t)=>(0,Be.jsx)(xk,{align:"center",...e,direction:"row",ref:t})));function Vk(e){return Vk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vk(e)}function $k(e){var t=function(e){if("object"!=Vk(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Vk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Vk(t)?t:t+""}function Wk(e,t,n){return(t=$k(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Hk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uk(Object(n),!0).forEach((function(t){Wk(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Gk(e,t){if(e){if("string"==typeof e)return qk(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qk(e,t):void 0}}function Yk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||Gk(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xk(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}Bk.displayName="HStack";var Zk=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Qk(t){var n=t.defaultInputValue,r=void 0===n?"":n,o=t.defaultMenuIsOpen,i=void 0!==o&&o,a=t.defaultValue,l=void 0===a?null:a,s=t.inputValue,u=t.menuIsOpen,c=t.onChange,d=t.onInputChange,f=t.onMenuClose,p=t.onMenuOpen,h=t.value,m=Xk(t,Zk),v=Yk((0,e.useState)(void 0!==s?s:r),2),g=v[0],b=v[1],y=Yk((0,e.useState)(void 0!==u?u:i),2),x=y[0],w=y[1],k=Yk((0,e.useState)(void 0!==h?h:l),2),S=k[0],C=k[1],E=(0,e.useCallback)((function(e,t){"function"==typeof c&&c(e,t),C(e)}),[c]),_=(0,e.useCallback)((function(e,t){var n;"function"==typeof d&&(n=d(e,t)),b(void 0!==n?n:e)}),[d]),O=(0,e.useCallback)((function(){"function"==typeof p&&p(),w(!0)}),[p]),P=(0,e.useCallback)((function(){"function"==typeof f&&f(),w(!1)}),[f]),T=void 0!==s?s:g,R=void 0!==u?u:x,A=void 0!==h?h:S;return Hk(Hk({},m),{},{inputValue:T,menuIsOpen:R,onChange:E,onInputChange:_,onMenuClose:P,onMenuOpen:O,value:A})}function Kk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$k(r.key),r)}}function Jk(e,t){return Jk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Jk(e,t)}function eS(e){return eS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},eS(e)}function tS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tS=function(){return!!e})()}function nS(e){return function(e){if(Array.isArray(e))return qk(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Gk(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const rS=Math.min,oS=Math.max,iS=Math.round,aS=Math.floor,lS=e=>({x:e,y:e});function sS(){return"undefined"!=typeof window}function uS(e){return fS(e)?(e.nodeName||"").toLowerCase():"#document"}function cS(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function dS(e){var t;return null==(t=(fS(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function fS(e){return!!sS()&&(e instanceof Node||e instanceof cS(e).Node)}function pS(e){return!!sS()&&(e instanceof Element||e instanceof cS(e).Element)}function hS(e){return!!sS()&&(e instanceof HTMLElement||e instanceof cS(e).HTMLElement)}function mS(e){return!(!sS()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof cS(e).ShadowRoot)}function vS(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=gS(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function gS(e){return cS(e).getComputedStyle(e)}function bS(e){const t=function(e){if("html"===uS(e))return e;const t=e.assignedSlot||e.parentNode||mS(e)&&e.host||dS(e);return mS(t)?t.host:t}(e);return function(e){return["html","body","#document"].includes(uS(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:hS(t)&&vS(t)?t:bS(t)}function yS(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=bS(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=cS(o);if(i){const e=xS(a);return t.concat(a,a.visualViewport||[],vS(o)?o:[],e&&n?yS(e):[])}return t.concat(o,yS(o,[],n))}function xS(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function wS(e){return pS(e)?e:e.contextElement}function kS(e){const t=wS(e);if(!hS(t))return lS(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=gS(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=hS(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=iS(n)!==i||iS(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}(t);let a=(i?iS(n.width):n.width)/r,l=(i?iS(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const SS=lS(0);function CS(e){const t=cS(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:SS}function ES(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=wS(e);let a=lS(1);t&&(r?pS(r)&&(a=kS(r)):a=kS(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==cS(e))&&t}(i,n,r)?CS(i):lS(0);let s=(o.left+l.x)/a.x,u=(o.top+l.y)/a.y,c=o.width/a.x,d=o.height/a.y;if(i){const e=cS(i),t=r&&pS(r)?cS(r):r;let n=e,o=xS(n);for(;o&&r&&t!==n;){const e=kS(o),t=o.getBoundingClientRect(),r=gS(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,u*=e.y,c*=e.x,d*=e.y,s+=i,u+=a,n=cS(o),o=xS(n)}}return function(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}({width:c,height:d,x:s,y:u})}function _S(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}var OS=e.useLayoutEffect,PS=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],TS=function(){};function RS(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function AS(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(RS(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var IS=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Vk(e)&&null!==e?[e]:[];var t},LS=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,Hk({},Xk(e,PS))},jS=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function zS(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function MS(e){return zS(e)?window.pageYOffset:e.scrollTop}function FS(e,t){zS(e)?window.scrollTo(0,t):e.scrollTop=t}function DS(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:TS,o=MS(e),i=t-o,a=0;!function t(){var l=function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}(a+=10,o,i,n);FS(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function NS(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?FS(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&FS(e,Math.max(t.offsetTop-o,0))}function BS(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var VS=!1,$S={get passive(){return VS=!0}},WS="undefined"!=typeof window?window:{};WS.addEventListener&&WS.removeEventListener&&(WS.addEventListener("p",TS,$S),WS.removeEventListener("p",TS,!1));var US=VS;function HS(e){return null!=e}function qS(e,t,n){return e?t:n}var GS=["children","innerProps"],YS=["children","innerProps"];var XS,ZS=function(e){return"auto"===e?"bottom":e},QS=(0,e.createContext)(null),KS=function(t){var n=t.children,r=t.minMenuHeight,o=t.maxMenuHeight,i=t.menuPlacement,a=t.menuPosition,l=t.menuShouldScrollIntoView,s=t.theme,u=((0,e.useContext)(QS)||{}).setPortalPlacement,c=(0,e.useRef)(null),d=Yk((0,e.useState)(o),2),f=d[0],p=d[1],h=Yk((0,e.useState)(null),2),m=h[0],v=h[1],g=s.spacing.controlHeight;return OS((function(){var e=c.current;if(e){var t="fixed"===a,n=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,l=e.controlHeight,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c,d=s.getBoundingClientRect().height,f=n.getBoundingClientRect(),p=f.bottom,h=f.height,m=f.top,v=n.offsetParent.getBoundingClientRect().top,g=a||zS(c=s)?window.innerHeight:c.clientHeight,b=MS(s),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),w=v-x,k=g-m,S=w+b,C=d-b-m,E=p-g+b+y,_=b+m-x,O=160;switch(o){case"auto":case"bottom":if(k>=h)return{placement:"bottom",maxHeight:t};if(C>=h&&!a)return i&&DS(s,E,O),{placement:"bottom",maxHeight:t};if(!a&&C>=r||a&&k>=r)return i&&DS(s,E,O),{placement:"bottom",maxHeight:a?k-y:C-y};if("auto"===o||a){var P=t,T=a?w:S;return T>=r&&(P=Math.min(T-y-l,t)),{placement:"top",maxHeight:P}}if("bottom"===o)return i&&FS(s,E),{placement:"bottom",maxHeight:t};break;case"top":if(w>=h)return{placement:"top",maxHeight:t};if(S>=h&&!a)return i&&DS(s,_,O),{placement:"top",maxHeight:t};if(!a&&S>=r||a&&w>=r){var R=t;return(!a&&S>=r||a&&w>=r)&&(R=a?w-x:S-x),i&&DS(s,_,O),{placement:"top",maxHeight:R}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}({maxHeight:o,menuEl:e,minHeight:r,placement:i,shouldScroll:l&&!t,isFixedPosition:t,controlHeight:g});p(n.maxHeight),v(n.placement),null==u||u(n.placement)}}),[o,i,a,l,r,u,g]),n({ref:c,placerProps:Hk(Hk({},t),{},{placement:m||ZS(i),maxHeight:f})})},JS=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return Hk({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},eC=JS,tC=JS,nC=["size"],rC=["innerProps","isRtl","size"],oC={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},iC=function(e){var t=e.size,n=Xk(e,nC);return Me("svg",ie({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:oC},n))},aC=function(e){return Me(iC,ie({size:20},e),Me("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},lC=function(e){return Me(iC,ie({size:20},e),Me("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},sC=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Hk({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},uC=sC,cC=sC,dC=Ne(XS||(XS=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"]))),fC=function(e){var t=e.delay,n=e.offset;return Me("span",{css:De({animation:"".concat(dC," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},pC=["data"],hC=["innerRef","isDisabled","isHidden","inputClassName"],mC={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},vC={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Hk({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},mC)},gC=function(e){return Hk({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},mC)},bC=function(e){var t=e.children,n=e.innerProps;return Me("div",n,t)},yC={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Me("div",ie({},jS(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Me(aC,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Me("div",ie({ref:o},jS(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Me("div",ie({},jS(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Me(lC,null))},DownChevron:lC,CrossIcon:aC,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,l=e.innerProps,s=e.label,u=e.theme,c=e.selectProps;return Me("div",ie({},jS(e,"group",{group:!0}),l),Me(i,ie({},a,{selectProps:c,theme:u,getStyles:r,getClassNames:o,cx:n}),s),Me("div",null,t))},GroupHeading:function(e){var t=LS(e);t.data;var n=Xk(t,pC);return Me("div",ie({},jS(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Me("div",ie({},jS(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Me("span",ie({},t,jS(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=LS(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,l=r.inputClassName,s=Xk(r,hC);return Me("div",ie({},jS(e,"input",{"input-container":!0}),{"data-value":n||""}),Me("input",ie({className:t({input:!0},l),ref:o,style:gC(a),disabled:i},s)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=Xk(e,rC);return Me("div",ie({},jS(Hk(Hk({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Me(fC,{delay:0,offset:n}),Me(fC,{delay:160,offset:!0}),Me(fC,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Me("div",ie({},jS(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Me("div",ie({},jS(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(t){var n=t.appendTo,r=t.children,o=t.controlElement,i=t.innerProps,a=t.menuPlacement,l=t.menuPosition,s=(0,e.useRef)(null),u=(0,e.useRef)(null),c=Yk((0,e.useState)(ZS(a)),2),d=c[0],f=c[1],p=(0,e.useMemo)((function(){return{setPortalPlacement:f}}),[]),h=Yk((0,e.useState)(null),2),m=h[0],v=h[1],g=(0,e.useCallback)((function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===l?0:window.pageYOffset,n=e[d]+t;n===(null==m?void 0:m.offset)&&e.left===(null==m?void 0:m.rect.left)&&e.width===(null==m?void 0:m.rect.width)||v({offset:n,rect:e})}}),[o,l,d,null==m?void 0:m.offset,null==m?void 0:m.rect.left,null==m?void 0:m.rect.width]);OS((function(){g()}),[g]);var b=(0,e.useCallback)((function(){"function"==typeof u.current&&(u.current(),u.current=null),o&&s.current&&(u.current=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,u=wS(e),c=o||i?[...u?yS(u):[],...yS(t)]:[];c.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=u&&l?function(e,t){let n,r=null;const o=dS(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),i();const u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:p}=u;if(l||t(),!f||!p)return;const h={rootMargin:-aS(d)+"px "+-aS(o.clientWidth-(c+f))+"px "+-aS(o.clientHeight-(d+p))+"px "+-aS(c)+"px",threshold:oS(0,rS(1,s))||1};let m=!0;function v(t){const r=t[0].intersectionRatio;if(r!==s){if(!m)return a();r?a(!1,r):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==r||_S(u,e.getBoundingClientRect())||a(),m=!1}try{r=new IntersectionObserver(v,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(v,h)}r.observe(e)}(!0),i}(u,n):null;let f,p=-1,h=null;a&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),u&&!s&&h.observe(u),h.observe(t));let m=s?ES(e):null;return s&&function t(){const r=ES(e);m&&!_S(m,r)&&n(),m=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(f)}}(o,s.current,g,{elementResize:"ResizeObserver"in window}))}),[o,g]);OS((function(){b()}),[b]);var y=(0,e.useCallback)((function(e){s.current=e,b()}),[b]);if(!n&&"fixed"!==l||!m)return null;var x=Me("div",ie({ref:y},jS(Hk(Hk({},t),{},{offset:m.offset,position:l,rect:m.rect}),"menuPortal",{"menu-portal":!0}),i),r);return Me(QS.Provider,{value:p},n?(0,Hg.createPortal)(x,n):x)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=Xk(e,YS);return Me("div",ie({},jS(Hk(Hk({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=Xk(e,GS);return Me("div",ie({},jS(Hk(Hk({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,l=e.selectProps,s=n.Container,u=n.Label,c=n.Remove;return Me(s,{data:r,innerProps:Hk(Hk({},jS(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:l},Me(u,{data:r,innerProps:Hk({},jS(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},t),Me(c,{data:r,innerProps:Hk(Hk({},jS(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:l}))},MultiValueContainer:bC,MultiValueLabel:bC,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Me("div",ie({role:"button"},n),t||Me(aC,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,a=e.innerProps;return Me("div",ie({},jS(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Me("div",ie({},jS(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Me("div",ie({},jS(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Me("div",ie({},jS(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return Me("div",ie({},jS(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},xC=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function wC(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||xC(r)&&xC(o)))return!1;var r,o;return!0}for(var kC={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},SC=function(e){return Me("span",ie({css:kC},e))},CC={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,l=e.isDisabled,s=e.isSelected,u=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(c(a,n),".");if("menu"===t&&u){var d=l?" disabled":"",f="".concat(s?" selected":"").concat(d);return"".concat(i).concat(f,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},EC=function(t){var n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.focusableOptions,a=t.isFocused,l=t.selectValue,s=t.selectProps,u=t.id,c=t.isAppleDevice,d=s.ariaLiveMessages,f=s.getOptionLabel,p=s.inputValue,h=s.isMulti,m=s.isOptionDisabled,v=s.isSearchable,g=s.menuIsOpen,b=s.options,y=s.screenReaderStatus,x=s.tabSelectsValue,w=s.isLoading,k=s["aria-label"],S=s["aria-live"],C=(0,e.useMemo)((function(){return Hk(Hk({},CC),d||{})}),[d]),E=(0,e.useMemo)((function(){var e,t="";if(n&&C.onChange){var r=n.option,o=n.options,i=n.removedValue,a=n.removedValues,s=n.value,u=i||r||(e=s,Array.isArray(e)?null:e),c=u?f(u):"",d=o||a||void 0,p=d?d.map(f):[],h=Hk({isDisabled:u&&m(u,l),label:c,labels:p},n);t=C.onChange(h)}return t}),[n,C,m,l,f]),_=(0,e.useMemo)((function(){var e="",t=r||o,n=!!(r&&l&&l.includes(r));if(t&&C.onFocus){var a={focused:t,label:f(t),isDisabled:m(t,l),isSelected:n,options:i,context:t===r?"menu":"value",selectValue:l,isAppleDevice:c};e=C.onFocus(a)}return e}),[r,o,f,m,C,i,l,c]),O=(0,e.useMemo)((function(){var e="";if(g&&b.length&&!w&&C.onFilter){var t=y({count:i.length});e=C.onFilter({inputValue:p,resultsMessage:t})}return e}),[i,p,g,C,b,y,w]),P="initial-input-focus"===(null==n?void 0:n.action),T=(0,e.useMemo)((function(){var e="";if(C.guidance){var t=o?"value":g?"menu":"input";e=C.guidance({"aria-label":k,context:t,isDisabled:r&&m(r,l),isMulti:h,isSearchable:v,tabSelectsValue:x,isInitialFocus:P})}return e}),[k,r,o,h,m,v,g,C,l,x,P]),R=Me(e.Fragment,null,Me("span",{id:"aria-selection"},E),Me("span",{id:"aria-focused"},_),Me("span",{id:"aria-results"},O),Me("span",{id:"aria-guidance"},T));return Me(e.Fragment,null,Me(SC,{id:u},P&&R),Me(SC,{"aria-live":S,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!P&&R))},_C=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],OC=new RegExp("["+_C.map((function(e){return e.letters})).join("")+"]","g"),PC={},TC=0;TC<_C.length;TC++)for(var RC=_C[TC],AC=0;AC<RC.letters.length;AC++)PC[RC.letters[AC]]=RC.base;var IC=function(e){return e.replace(OC,(function(e){return PC[e]}))},LC=function(e,t){void 0===t&&(t=wC);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(IC),jC=function(e){return e.replace(/^\s+|\s+$/g,"")},zC=function(e){return"".concat(e.label," ").concat(e.value)},MC=["innerRef"];function FC(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter((function(e){var t=Yk(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=Yk(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}(Xk(e,MC),"onExited","in","enter","exit","appear");return Me("input",ie({ref:t},n,{css:De({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var DC=["boxSizing","height","overflow","paddingRight","position"],NC={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function BC(e){e.cancelable&&e.preventDefault()}function VC(e){e.stopPropagation()}function $C(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function WC(){return"ontouchstart"in window||navigator.maxTouchPoints}var UC=!("undefined"==typeof window||!window.document||!window.document.createElement),HC=0,qC={capture:!1,passive:!1},GC=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},YC={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function XC(t){var n=t.children,r=t.lockEnabled,o=t.captureEnabled,i=function(t){var n=t.isEnabled,r=t.onBottomArrive,o=t.onBottomLeave,i=t.onTopArrive,a=t.onTopLeave,l=(0,e.useRef)(!1),s=(0,e.useRef)(!1),u=(0,e.useRef)(0),c=(0,e.useRef)(null),d=(0,e.useCallback)((function(e,t){if(null!==c.current){var n=c.current,u=n.scrollTop,d=n.scrollHeight,f=n.clientHeight,p=c.current,h=t>0,m=d-f-u,v=!1;m>t&&l.current&&(o&&o(e),l.current=!1),h&&s.current&&(a&&a(e),s.current=!1),h&&t>m?(r&&!l.current&&r(e),p.scrollTop=d,v=!0,l.current=!0):!h&&-t>u&&(i&&!s.current&&i(e),p.scrollTop=0,v=!0,s.current=!0),v&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[r,o,i,a]),f=(0,e.useCallback)((function(e){d(e,e.deltaY)}),[d]),p=(0,e.useCallback)((function(e){u.current=e.changedTouches[0].clientY}),[]),h=(0,e.useCallback)((function(e){var t=u.current-e.changedTouches[0].clientY;d(e,t)}),[d]),m=(0,e.useCallback)((function(e){if(e){var t=!!US&&{passive:!1};e.addEventListener("wheel",f,t),e.addEventListener("touchstart",p,t),e.addEventListener("touchmove",h,t)}}),[h,p,f]),v=(0,e.useCallback)((function(e){e&&(e.removeEventListener("wheel",f,!1),e.removeEventListener("touchstart",p,!1),e.removeEventListener("touchmove",h,!1))}),[h,p,f]);return(0,e.useEffect)((function(){if(n){var e=c.current;return m(e),function(){v(e)}}}),[n,m,v]),function(e){c.current=e}}({isEnabled:void 0===o||o,onBottomArrive:t.onBottomArrive,onBottomLeave:t.onBottomLeave,onTopArrive:t.onTopArrive,onTopLeave:t.onTopLeave}),a=function(t){var n=t.isEnabled,r=t.accountForScrollbars,o=void 0===r||r,i=(0,e.useRef)({}),a=(0,e.useRef)(null),l=(0,e.useCallback)((function(e){if(UC){var t=document.body,n=t&&t.style;if(o&&DC.forEach((function(e){var t=n&&n[e];i.current[e]=t})),o&&HC<1){var r=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,l=window.innerWidth-a+r||0;Object.keys(NC).forEach((function(e){var t=NC[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(l,"px"))}t&&WC()&&(t.addEventListener("touchmove",BC,qC),e&&(e.addEventListener("touchstart",$C,qC),e.addEventListener("touchmove",VC,qC))),HC+=1}}),[o]),s=(0,e.useCallback)((function(e){if(UC){var t=document.body,n=t&&t.style;HC=Math.max(HC-1,0),o&&HC<1&&DC.forEach((function(e){var t=i.current[e];n&&(n[e]=t)})),t&&WC()&&(t.removeEventListener("touchmove",BC,qC),e&&(e.removeEventListener("touchstart",$C,qC),e.removeEventListener("touchmove",VC,qC)))}}),[o]);return(0,e.useEffect)((function(){if(n){var e=a.current;return l(e),function(){s(e)}}}),[n,l,s]),function(e){a.current=e}}({isEnabled:r});return Me(e.Fragment,null,r&&Me("div",{onClick:GC,css:YC}),n((function(e){i(e),a(e)})))}var ZC={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},QC=function(e){var t=e.name,n=e.onFocus;return Me("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:ZC,value:"",onChange:function(){}})};function KC(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function JC(){return KC(/^Mac/i)}var eE=function(e){return e.label},tE=function(e){return e.value},nE={clearIndicator:cC,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,i=o.colors,a=o.borderRadius;return Hk({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:uC,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return Hk({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Hk({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return Hk(Hk({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},vC),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return Hk({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:tC,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,l=o.colors;return Hk((Wk(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Wk(n,"position","absolute"),Wk(n,"width","100%"),Wk(n,"zIndex",1),n),t?{}:{backgroundColor:l.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Hk({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors;return Hk({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return Hk({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return Hk({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:eC,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,l=i.colors;return Hk({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?l.primary:r?l.primary25:"transparent",color:n?l.neutral20:o?l.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?l.primary:l.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return Hk({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return Hk({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return Hk({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},rE={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},oE={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:BS(),captureMenuScroll:!BS(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=Hk({ignoreCase:!0,ignoreAccents:!0,stringify:zC,trim:!0,matchFrom:"any"},void 0),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,l=n.matchFrom,s=a?jC(t):t,u=a?jC(i(e)):i(e);return r&&(s=s.toLowerCase(),u=u.toLowerCase()),o&&(s=LC(s),u=IC(u)),"start"===l?u.substr(0,s.length)===s:u.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:eE,getOptionValue:tE,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function iE(e,t,n,r){return{type:"option",data:t,isDisabled:pE(e,t,n),isSelected:hE(e,t,n),label:dE(e,t),value:fE(e,t),index:r}}function aE(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return iE(e,n,t,r)})).filter((function(t){return uE(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=iE(e,n,t,r);return uE(e,i)?i:void 0})).filter(HS)}function lE(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,nS(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function sE(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,nS(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function uE(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,l=t.value;return(!vE(e)||!i)&&mE(e,{label:a,value:l,data:o},r)}var cE=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},dE=function(e,t){return e.getOptionLabel(t)},fE=function(e,t){return e.getOptionValue(t)};function pE(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function hE(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=fE(e,t);return n.some((function(t){return fE(e,t)===r}))}function mE(e,t,n){return!e.filterOption||e.filterOption(t,n)}var vE=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},gE=1,bE=function(t){!function(e,t){if("function"!=typeof t&&null!==t)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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Jk(e,t)}(r,t);var n=function(e){var t=tS();return function(){var n,r=eS(e);if(t){var o=eS(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==Vk(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}(r);function r(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),(t=n.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=JC()||KC(/^iPhone/i)||KC(/^iPad/i)||JC()&&navigator.maxTouchPoints>1,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,i=r.name;n.name=i,t.ariaOnChange(e,n),o(e,n)},t.setValue=function(e,n,r){var o=t.props,i=o.closeMenuOnSelect,a=o.isMulti,l=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:l}),i&&(t.setState({inputIsHiddenAfterUpdate:!a}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,i=n.name,a=t.state.selectValue,l=o&&t.isOptionSelected(e,a),s=t.isOptionDisabled(e,a);if(l){var u=t.getOptionValue(e);t.setValue(a.filter((function(e){return t.getOptionValue(e)!==u})),"deselect-option",e)}else{if(s)return void t.ariaOnChange(e,{action:"select-option",option:e,name:i});o?t.setValue([].concat(nS(a),[e]),"select-option",e):t.setValue(e,"select-option")}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,o=t.getOptionValue(e),i=r.filter((function(e){return t.getOptionValue(e)!==o})),a=qS(n,i,i[0]||null);t.onChange(a,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(qS(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],o=n.slice(0,n.length-1),i=qS(e,o,o[0]||null);r&&t.onChange(i,{action:"pop-value",removedValue:r})},t.getFocusedOptionId=function(e){return cE(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return sE(aE(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return AS.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return dE(t.props,e)},t.getOptionValue=function(e){return fE(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,o=nE[e](n,r);o.boxSizing="border-box";var i=t.props.styles[e];return i?i(o,n):o},t.getClassNames=function(e,n){var r,o;return null===(r=(o=t.props.classNames)[e])||void 0===r?void 0:r.call(o,n)},t.getElementId=function(e){return"".concat(t.state.instancePrefix,"-").concat(e)},t.getComponents=function(){return e=t.props,Hk(Hk({},yC),e.components);var e},t.buildCategorizedOptions=function(){return aE(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return lE(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:Hk({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,o=n.menuIsOpen;t.focusInput(),o?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&zS(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var o=Math.abs(r.clientX-t.initialTouchX),i=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=o>5||i>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return vE(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,i=n.escapeClearsValue,a=n.inputValue,l=n.isClearable,s=n.isDisabled,u=n.menuIsOpen,c=n.onKeyDown,d=n.tabSelectsValue,f=n.openMenuOnFocus,p=t.state,h=p.focusedOption,m=p.focusedValue,v=p.selectValue;if(!(s||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;t.focusValue("previous");break;case"ArrowRight":if(!r||a)return;t.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)t.removeValue(m);else{if(!o)return;r?t.popValue():l&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!u||!d||!h||f&&t.isOptionSelected(h,v))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case"Escape":u?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):l&&i&&t.clearValue();break;case" ":if(a)return;if(!u){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":u?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":u?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!u)return;t.focusOption("pageup");break;case"PageDown":if(!u)return;t.focusOption("pagedown");break;case"Home":if(!u)return;t.focusOption("first");break;case"End":if(!u)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++gE),t.state.selectValue=IS(e.value),e.menuIsOpen&&t.state.selectValue.length){var o=t.getFocusableOptionsWithIds(),i=t.buildFocusableOptions(),a=i.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=o,t.state.focusedOption=i[a],t.state.focusedOptionId=cE(o,i[a])}return t}return function(e,t,n){t&&Kk(e.prototype,t),n&&Kk(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&NS(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(NS(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var l=i.indexOf(r[0]);l>-1&&(a=l)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(rE):Hk(Hk({},rE),this.props.theme):rE}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,l=this.props,s=l.isMulti,u=l.isRtl,c=l.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:s,isRtl:u,options:c,selectOption:i,selectProps:l,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return pE(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return hE(this.props,e,t)}},{key:"filterOption",value:function(e,t){return mE(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var t=this.props,n=t.isDisabled,r=t.isSearchable,o=t.inputId,i=t.inputValue,a=t.tabIndex,l=t.form,s=t.menuIsOpen,u=t.required,c=this.getComponents().Input,d=this.state,f=d.inputIsHidden,p=d.ariaSelection,h=this.commonProps,m=o||this.getElementId("input"),v=Hk(Hk(Hk({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},s&&{"aria-controls":this.getElementId("listbox")}),!r&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==p?void 0:p.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return r?e.createElement(c,ie({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:n,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:l,type:"text",value:i},v)):e.createElement(FC,ie({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:TS,onFocus:this.onInputFocus,disabled:n,tabIndex:a,inputMode:"none",form:l,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var t=this,n=this.getComponents(),r=n.MultiValue,o=n.MultiValueContainer,i=n.MultiValueLabel,a=n.MultiValueRemove,l=n.SingleValue,s=n.Placeholder,u=this.commonProps,c=this.props,d=c.controlShouldRenderValue,f=c.isDisabled,p=c.isMulti,h=c.inputValue,m=c.placeholder,v=this.state,g=v.selectValue,b=v.focusedValue,y=v.isFocused;if(!this.hasValue()||!d)return h?null:e.createElement(s,ie({},u,{key:"placeholder",isDisabled:f,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),m);if(p)return g.map((function(n,l){var s=n===b,c="".concat(t.getOptionLabel(n),"-").concat(t.getOptionValue(n));return e.createElement(r,ie({},u,{components:{Container:o,Label:i,Remove:a},isFocused:s,isDisabled:f,key:c,index:l,removeProps:{onClick:function(){return t.removeValue(n)},onTouchEnd:function(){return t.removeValue(n)},onMouseDown:function(e){e.preventDefault()}},data:n}),t.formatOptionLabel(n,"value"))}));if(h)return null;var x=g[0];return e.createElement(l,ie({},u,{data:x,isDisabled:f}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var t=this.getComponents().ClearIndicator,n=this.commonProps,r=this.props,o=r.isDisabled,i=r.isLoading,a=this.state.isFocused;if(!this.isClearable()||!t||o||!this.hasValue()||i)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return e.createElement(t,ie({},n,{innerProps:l,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var t=this.getComponents().LoadingIndicator,n=this.commonProps,r=this.props,o=r.isDisabled,i=r.isLoading,a=this.state.isFocused;return t&&i?e.createElement(t,ie({},n,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a})):null}},{key:"renderIndicatorSeparator",value:function(){var t=this.getComponents(),n=t.DropdownIndicator,r=t.IndicatorSeparator;if(!n||!r)return null;var o=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return e.createElement(r,ie({},o,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var t=this.getComponents().DropdownIndicator;if(!t)return null;var n=this.commonProps,r=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return e.createElement(t,ie({},n,{innerProps:i,isDisabled:r,isFocused:o}))}},{key:"renderMenu",value:function(){var t=this,n=this.getComponents(),r=n.Group,o=n.GroupHeading,i=n.Menu,a=n.MenuList,l=n.MenuPortal,s=n.LoadingMessage,u=n.NoOptionsMessage,c=n.Option,d=this.commonProps,f=this.state.focusedOption,p=this.props,h=p.captureMenuScroll,m=p.inputValue,v=p.isLoading,g=p.loadingMessage,b=p.minMenuHeight,y=p.maxMenuHeight,x=p.menuIsOpen,w=p.menuPlacement,k=p.menuPosition,S=p.menuPortalTarget,C=p.menuShouldBlockScroll,E=p.menuShouldScrollIntoView,_=p.noOptionsMessage,O=p.onMenuScrollToTop,P=p.onMenuScrollToBottom;if(!x)return null;var T,R=function(n,r){var o=n.type,i=n.data,a=n.isDisabled,l=n.isSelected,s=n.label,u=n.value,p=f===i,h=a?void 0:function(){return t.onOptionHover(i)},m=a?void 0:function(){return t.selectOption(i)},v="".concat(t.getElementId("option"),"-").concat(r),g={id:v,onClick:m,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":t.isAppleDevice?void 0:l};return e.createElement(c,ie({},d,{innerProps:g,data:i,isDisabled:a,isSelected:l,key:v,label:s,type:o,value:u,isFocused:p,innerRef:p?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(n.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map((function(n){if("group"===n.type){var i=n.data,a=n.options,l=n.index,s="".concat(t.getElementId("group"),"-").concat(l),u="".concat(s,"-heading");return e.createElement(r,ie({},d,{key:s,data:i,options:a,Heading:o,headingProps:{id:u,data:n.data},label:t.formatGroupLabel(n.data)}),n.options.map((function(e){return R(e,"".concat(l,"-").concat(e.index))})))}if("option"===n.type)return R(n,"".concat(n.index))}));else if(v){var A=g({inputValue:m});if(null===A)return null;T=e.createElement(s,d,A)}else{var I=_({inputValue:m});if(null===I)return null;T=e.createElement(u,d,I)}var L={minMenuHeight:b,maxMenuHeight:y,menuPlacement:w,menuPosition:k,menuShouldScrollIntoView:E},j=e.createElement(KS,ie({},d,L),(function(n){var r=n.ref,o=n.placerProps,l=o.placement,s=o.maxHeight;return e.createElement(i,ie({},d,L,{innerRef:r,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:v,placement:l}),e.createElement(XC,{captureEnabled:h,onTopArrive:O,onBottomArrive:P,lockEnabled:C},(function(n){return e.createElement(a,ie({},d,{innerRef:function(e){t.getMenuListRef(e),n(e)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:t.getElementId("listbox")},isLoading:v,maxHeight:s,focusedOption:f}),T)})))}));return S||"fixed"===k?e.createElement(l,ie({},d,{appendTo:S,controlElement:this.controlRef,menuPlacement:w,menuPosition:k}),j):j}},{key:"renderFormField",value:function(){var t=this,n=this.props,r=n.delimiter,o=n.isDisabled,i=n.isMulti,a=n.name,l=n.required,s=this.state.selectValue;if(l&&!this.hasValue()&&!o)return e.createElement(QC,{name:a,onFocus:this.onValueInputFocus});if(a&&!o){if(i){if(r){var u=s.map((function(e){return t.getOptionValue(e)})).join(r);return e.createElement("input",{name:a,type:"hidden",value:u})}var c=s.length>0?s.map((function(n,r){return e.createElement("input",{key:"i-".concat(r),name:a,type:"hidden",value:t.getOptionValue(n)})})):e.createElement("input",{name:a,type:"hidden",value:""});return e.createElement("div",null,c)}var d=s[0]?this.getOptionValue(s[0]):"";return e.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var t=this.commonProps,n=this.state,r=n.ariaSelection,o=n.focusedOption,i=n.focusedValue,a=n.isFocused,l=n.selectValue,s=this.getFocusableOptions();return e.createElement(EC,ie({},t,{id:this.getElementId("live-region"),ariaSelection:r,focusedOption:o,focusedValue:i,isFocused:a,selectValue:l,focusableOptions:s,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var t=this.getComponents(),n=t.Control,r=t.IndicatorsContainer,o=t.SelectContainer,i=t.ValueContainer,a=this.props,l=a.className,s=a.id,u=a.isDisabled,c=a.menuIsOpen,d=this.state.isFocused,f=this.commonProps=this.getCommonProps();return e.createElement(o,ie({},f,{className:l,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:d}),this.renderLiveRegion(),e.createElement(n,ie({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:d,menuIsOpen:c}),e.createElement(i,ie({},f,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),e.createElement(r,ie({},f,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,l=t.prevWasFocused,s=t.instancePrefix,u=e.options,c=e.value,d=e.menuIsOpen,f=e.inputValue,p=e.isMulti,h=IS(c),m={};if(n&&(c!==n.value||u!==n.options||d!==n.menuIsOpen||f!==n.inputValue)){var v=d?function(e,t){return lE(aE(e,t))}(e,h):[],g=d?sE(aE(e,h),"".concat(s,"-option")):[],b=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,v);m={selectValue:h,focusedOption:y,focusedOptionId:cE(g,y),focusableOptionsWithIds:g,focusedValue:b,clearFocusValueOnUpdate:!1}}var x=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},w=i,k=a&&l;return a&&!k&&(w={value:qS(p,h,h[0]||null),options:h,action:"initial-input-focus"},k=!l),"initial-input-focus"===(null==i?void 0:i.action)&&(w=null),Hk(Hk(Hk({},m),x),{},{prevProps:e,ariaSelection:w,prevWasFocused:k})}}]),r}(e.Component);bE.defaultProps=oE;var yE=(0,e.forwardRef)((function(t,n){var r=Qk(t);return e.createElement(bE,ie({ref:n},r))}));function xE(t,n){var r;const o=function(t){var n,r;const o=Je(t)?t:{fallback:null!=t?t:"base"},i=hg().__breakpoints.details.map((({minMaxQuery:e,breakpoint:t})=>({breakpoint:t,query:e.replace("@media screen and ","")}))),a=i.map((e=>e.breakpoint===o.fallback)),l=function(t,n={}){const{ssr:r=!0,fallback:o}=n,{getWindow:i}=function({defer:t}={}){const[,n]=(0,e.useReducer)((e=>e+1),0);return er((()=>{t&&n()}),[t]),(0,e.useContext)(or)}(),a=Array.isArray(t)?t:[t];let l=Array.isArray(o)?o:[o];l=l.filter((e=>null!=e));const[s,u]=(0,e.useState)((()=>a.map(((e,t)=>({media:e,matches:r?!!l[t]:i().matchMedia(e).matches})))));return(0,e.useEffect)((()=>{const e=i();u(a.map((t=>({media:t,matches:e.matchMedia(t).matches}))));const t=a.map((t=>e.matchMedia(t))),n=e=>{u((t=>t.slice().map((t=>t.media===e.media?{...t,matches:e.matches}:t))))};return t.forEach((e=>{"function"==typeof e.addListener?e.addListener(n):e.addEventListener("change",n)})),()=>{t.forEach((e=>{"function"==typeof e.removeListener?e.removeListener(n):e.removeEventListener("change",n)}))}}),[i]),s.map((e=>e.matches))}(i.map((e=>e.query)),{fallback:a,ssr:o.ssr});return null!=(r=null==(n=i[l.findIndex((e=>1==e))])?void 0:n.breakpoint)?r:o.fallback}(Je(n)?n:{fallback:null!=n?n:"base"}),i=hg();if(!o)return;const a=Array.from((null==(r=i.__breakpoints)?void 0:r.keys)||[]),l=Array.isArray(t)?Object.fromEntries(Object.entries(function(e,t=bk){const n={};return e.forEach(((e,r)=>{const o=t[r];null!=e&&(n[o]=e)})),n}(t,a)).map((([e,t])=>[e,t]))):t;return function(e,t,n=bk){let r=Object.keys(e).indexOf(t);if(-1!==r)return e[t];let o=n.indexOf(t);for(;o>=0;){const t=n[o];if(e.hasOwnProperty(t)){r=o;break}o-=1}return-1!==r?e[n[r]]:void 0}(l,o,a)}var wE=pg((function(e,t){const{borderLeftWidth:n,borderBottomWidth:r,borderTopWidth:o,borderRightWidth:i,borderWidth:a,borderStyle:l,borderColor:s,...u}=gg("Divider",e),{className:c,orientation:d="horizontal",__css:f,...p}=Nn(e),h={vertical:{borderLeftWidth:n||i||a||"1px",height:"100%"},horizontal:{borderBottomWidth:r||o||a||"1px",width:"100%"}};return(0,Be.jsx)(cg.hr,{ref:t,"aria-orientation":d,...p,__css:{...u,border:"0",borderColor:s,borderStyle:l,...h[d],...f},className:Ke("chakra-divider",c)})}));wE.displayName="Divider";var kE=Object.defineProperty,SE=(e,t,n)=>(((e,t,n)=>{t in e?kE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);function CE(e){return e.sort(((e,t)=>{const n=e.compareDocumentPosition(t);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}))}function EE(e,t,n){let r=e+1;return n&&r>=t&&(r=0),r}function _E(e,t,n){let r=e-1;return n&&r<0&&(r=t),r}var OE="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,PE=class{constructor(){SE(this,"descendants",new Map),SE(this,"register",(e=>{var t;if(null!=e)return"object"==typeof(t=e)&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE?this.registerNode(e):t=>{this.registerNode(t,e)}})),SE(this,"unregister",(e=>{this.descendants.delete(e);const t=CE(Array.from(this.descendants.keys()));this.assignIndex(t)})),SE(this,"destroy",(()=>{this.descendants.clear()})),SE(this,"assignIndex",(e=>{this.descendants.forEach((t=>{const n=e.indexOf(t.node);t.index=n,t.node.dataset.index=t.index.toString()}))})),SE(this,"count",(()=>this.descendants.size)),SE(this,"enabledCount",(()=>this.enabledValues().length)),SE(this,"values",(()=>Array.from(this.descendants.values()).sort(((e,t)=>e.index-t.index)))),SE(this,"enabledValues",(()=>this.values().filter((e=>!e.disabled)))),SE(this,"item",(e=>{if(0!==this.count())return this.values()[e]})),SE(this,"enabledItem",(e=>{if(0!==this.enabledCount())return this.enabledValues()[e]})),SE(this,"first",(()=>this.item(0))),SE(this,"firstEnabled",(()=>this.enabledItem(0))),SE(this,"last",(()=>this.item(this.descendants.size-1))),SE(this,"lastEnabled",(()=>{const e=this.enabledValues().length-1;return this.enabledItem(e)})),SE(this,"indexOf",(e=>{var t,n;return e&&null!=(n=null==(t=this.descendants.get(e))?void 0:t.index)?n:-1})),SE(this,"enabledIndexOf",(e=>null==e?-1:this.enabledValues().findIndex((t=>t.node.isSameNode(e))))),SE(this,"next",((e,t=!0)=>{const n=EE(e,this.count(),t);return this.item(n)})),SE(this,"nextEnabled",((e,t=!0)=>{const n=this.item(e);if(!n)return;const r=EE(this.enabledIndexOf(n.node),this.enabledCount(),t);return this.enabledItem(r)})),SE(this,"prev",((e,t=!0)=>{const n=_E(e,this.count()-1,t);return this.item(n)})),SE(this,"prevEnabled",((e,t=!0)=>{const n=this.item(e);if(!n)return;const r=_E(this.enabledIndexOf(n.node),this.enabledCount()-1,t);return this.enabledItem(r)})),SE(this,"registerNode",((e,t)=>{if(!e||this.descendants.has(e))return;const n=CE(Array.from(this.descendants.keys()).concat(e));(null==t?void 0:t.disabled)&&(t.disabled=!!t.disabled);const r={node:e,index:-1,...t};this.descendants.set(e,r),this.assignIndex(n)}))}},[TE,RE]=He({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"}),AE=e=>e.hasAttribute("tabindex");function IE(e){return!(!e.parentElement||!IE(e.parentElement))||e.hidden}function LE(e){if(!mx(e)||IE(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const n={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in n?n[t]():!!function(e){const t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||AE(e)}function jE(e){const t=e.current;if(!t)return!1;const n=function(e){return vx(e).activeElement}(t);return!(!n||t.contains(n)||(r=n,!(r&&mx(r)&&LE(r))||(e=>AE(e)&&-1===e.tabIndex)(r)));var r}function zE(e,t){var n;const r=e.target;return!(r&&!ME(r).contains(r))&&!(null==(n=t.current)?void 0:n.contains(r))}function ME(e){var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document}var[FE,DE,NE,BE]=[TE,()=>RE(),()=>function(){const t=(0,e.useRef)(new PE);return OE((()=>()=>t.current.destroy())),t.current}(),t=>function(t){const n=RE(),[r,o]=(0,e.useState)(-1),i=(0,e.useRef)(null);OE((()=>()=>{i.current&&n.unregister(i.current)}),[]),OE((()=>{if(!i.current)return;const e=Number(i.current.dataset.index);r==e||Number.isNaN(e)||o(e)}));const a=t?n.register(t):n.register;return{descendants:n,index:r,enabledIndex:n.enabledIndexOf(i.current),register:db(a,i)}}(t)],[VE,$E]=He({strict:!1,name:"MenuContext"});function WE(t={}){const{id:n,closeOnSelect:r=!0,closeOnBlur:o=!0,initialFocusRef:i,autoSelect:a=!0,isLazy:l,isOpen:s,defaultIsOpen:u,onClose:c,onOpen:d,placement:f="bottom-start",lazyBehavior:p="unmount",direction:h,computePositionOnMount:m=!1,...v}=t,g=(0,e.useRef)(null),b=(0,e.useRef)(null),y=NE(),x=(0,e.useCallback)((()=>{requestAnimationFrame((()=>{var e;null==(e=g.current)||e.focus({preventScroll:!1})}))}),[]),w=(0,e.useCallback)((()=>{const e=setTimeout((()=>{var e;if(i)null==(e=i.current)||e.focus();else{const e=y.firstEnabled();e&&R(e.index)}}));z.current.add(e)}),[y,i]),k=(0,e.useCallback)((()=>{const e=setTimeout((()=>{const e=y.lastEnabled();e&&R(e.index)}));z.current.add(e)}),[y]),S=(0,e.useCallback)((()=>{null==d||d(),a?w():x()}),[a,w,x,d]),{isOpen:C,onOpen:E,onClose:_,onToggle:O}=Kw({isOpen:s,defaultIsOpen:u,onClose:c,onOpen:S});!function(t){const{ref:n,handler:r,enabled:o=!0}=t,i=Eu(r),a=(0,e.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,e.useEffect)((()=>{if(!o)return;const e=e=>{zE(e,n)&&(a.isPointerDown=!0)},t=e=>{a.ignoreEmulatedMouseEvents?a.ignoreEmulatedMouseEvents=!1:a.isPointerDown&&r&&zE(e,n)&&(a.isPointerDown=!1,i(e))},l=e=>{a.ignoreEmulatedMouseEvents=!0,r&&a.isPointerDown&&zE(e,n)&&(a.isPointerDown=!1,i(e))},s=ME(n.current);return s.addEventListener("mousedown",e,!0),s.addEventListener("mouseup",t,!0),s.addEventListener("touchstart",e,!0),s.addEventListener("touchend",l,!0),()=>{s.removeEventListener("mousedown",e,!0),s.removeEventListener("mouseup",t,!0),s.removeEventListener("touchstart",e,!0),s.removeEventListener("touchend",l,!0)}}),[r,n,i,a,o])}({enabled:C&&o,ref:g,handler:e=>{var t;(null==(t=b.current)?void 0:t.contains(e.target))||_()}});const P=Zw({...v,enabled:C||m,placement:f,direction:h}),[T,R]=(0,e.useState)(-1);_u((()=>{C||R(-1)}),[C]),function(e,t){const{shouldFocus:n,visible:r,focusRef:o}=t,i=n&&!r;_u((()=>{if(!i)return;if(jE(e))return;const t=(null==o?void 0:o.current)||e.current;let n;return t?(n=requestAnimationFrame((()=>{t.focus({preventScroll:!0})})),()=>{cancelAnimationFrame(n)}):void 0}),[i,e,o])}(g,{focusRef:b,visible:C,shouldFocus:!0});const A=function(t){const{isOpen:n,ref:r}=t,[o,i]=(0,e.useState)(n),[a,l]=(0,e.useState)(!1);return(0,e.useEffect)((()=>{a||(i(n),l(!0))}),[n,a,o]),Jw((()=>r.current),"animationend",(()=>{i(n)})),{present:!(!n&&!o),onComplete(){var e;const t=function(e){var t,n;return null!=(n=null==(t=vx(e))?void 0:t.defaultView)?n:window}(r.current),n=new t.CustomEvent("animationend",{bubbles:!0});null==(e=r.current)||e.dispatchEvent(n)}}}({isOpen:C,ref:g}),[I,L]=function(t,...n){const r=(0,e.useId)(),o=t||r;return(0,e.useMemo)((()=>n.map((e=>`${e}-${o}`))),[o,n])}(n,"menu-button","menu-list"),j=(0,e.useCallback)((()=>{E(),x()}),[E,x]),z=(0,e.useRef)(new Set([]));(0,e.useEffect)((()=>{const e=z.current;return()=>{e.forEach((e=>clearTimeout(e))),e.clear()}}),[]);const M=(0,e.useCallback)((()=>{E(),w()}),[w,E]),F=(0,e.useCallback)((()=>{E(),k()}),[E,k]),D=(0,e.useCallback)((()=>{var e,t;const n=function(e){var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document}(g.current),r=null==(e=g.current)?void 0:e.contains(n.activeElement);if(!C||r)return;const o=null==(t=y.item(T))?void 0:t.node;null==o||o.focus({preventScroll:!0})}),[C,T,y]),N=(0,e.useRef)(null);return{openAndFocusMenu:j,openAndFocusFirstItem:M,openAndFocusLastItem:F,onTransitionEnd:D,unstable__animationState:A,descendants:y,popper:P,buttonId:I,menuId:L,forceUpdate:P.forceUpdate,orientation:"vertical",isOpen:C,onToggle:O,onOpen:E,onClose:_,menuRef:g,buttonRef:b,focusedIndex:T,closeOnSelect:r,closeOnBlur:o,autoSelect:a,setFocusedIndex:R,isLazy:l,lazyBehavior:p,initialFocusRef:i,rafId:N}}var[UE,HE]=He({name:"MenuStylesContext",errorMessage:"useMenuStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Menu />\" "}),qE=t=>{const{children:n}=t,r=bg("Menu",t),o=Nn(t),{direction:i}=hg(),{descendants:a,...l}=WE({...o,direction:i}),s=(0,e.useMemo)((()=>l),[l]),{isOpen:u,onClose:c,forceUpdate:d}=s;return(0,Be.jsx)(FE,{value:a,children:(0,Be.jsx)(VE,{value:s,children:(0,Be.jsx)(UE,{value:r,children:et(n,{isOpen:u,onClose:c,forceUpdate:d})})})})};qE.displayName="Menu";var GE=t=>{const{className:n,children:r,...o}=t,i=HE(),a=e.Children.only(r),l=(0,e.isValidElement)(a)?(0,e.cloneElement)(a,{focusable:"false","aria-hidden":!0,className:Ke("chakra-menu__icon",a.props.className)}):null,s=Ke("chakra-menu__icon-wrapper",n);return(0,Be.jsx)(cg.span,{className:s,...o,__css:i.icon,children:l})};GE.displayName="MenuIcon";var YE=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],XE=function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,n=String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase(),r=String(t.getOptionValue(e)).toLowerCase(),o=String(t.getOptionLabel(e)).toLowerCase();return r===n||o===n},ZE={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n,r){return!(!e||t.some((function(t){return XE(e,t,r)}))||n.some((function(t){return XE(e,t,r)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}};function QE(t){var n=t.allowCreateWhileLoading,r=void 0!==n&&n,o=t.createOptionPosition,i=void 0===o?"last":o,a=t.formatCreateLabel,l=void 0===a?ZE.formatCreateLabel:a,s=t.isValidNewOption,u=void 0===s?ZE.isValidNewOption:s,c=t.getNewOptionData,d=void 0===c?ZE.getNewOptionData:c,f=t.onCreateOption,p=t.options,h=void 0===p?[]:p,m=t.onChange,v=Xk(t,YE),g=v.getOptionValue,b=void 0===g?tE:g,y=v.getOptionLabel,x=void 0===y?eE:y,w=v.inputValue,k=v.isLoading,S=v.isMulti,C=v.value,E=v.name,_=(0,e.useMemo)((function(){return u(w,IS(C),h,{getOptionValue:b,getOptionLabel:x})?d(w,l(w)):void 0}),[l,d,x,b,w,u,h,C]),O=(0,e.useMemo)((function(){return!r&&k||!_?h:"first"===i?[_].concat(nS(h)):[].concat(nS(h),[_])}),[r,i,k,_,h]),P=(0,e.useCallback)((function(e,t){if("select-option"!==t.action)return m(e,t);var n=Array.isArray(e)?e:[e];if(n[n.length-1]!==_)m(e,t);else if(f)f(w);else{var r=d(w,w),o={action:"create-option",name:E,option:r};m(qS(S,[].concat(nS(IS(C)),[r]),r),o)}}),[d,w,S,E,_,f,m,C]);return Hk(Hk({},v),{},{options:O,onChange:P})}var KE=(0,e.forwardRef)((function(t,n){var r=QE(Qk(t));return e.createElement(bE,ie({ref:n},r))})),JE=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function e_(t){var n=t.defaultOptions,r=void 0!==n&&n,o=t.cacheOptions,i=void 0!==o&&o,a=t.loadOptions;t.options;var l=t.isLoading,s=void 0!==l&&l,u=t.onInputChange,c=t.filterOption,d=void 0===c?null:c,f=Xk(t,JE),p=f.inputValue,h=(0,e.useRef)(void 0),m=(0,e.useRef)(!1),v=Yk((0,e.useState)(Array.isArray(r)?r:void 0),2),g=v[0],b=v[1],y=Yk((0,e.useState)(void 0!==p?p:""),2),x=y[0],w=y[1],k=Yk((0,e.useState)(!0===r),2),S=k[0],C=k[1],E=Yk((0,e.useState)(void 0),2),_=E[0],O=E[1],P=Yk((0,e.useState)([]),2),T=P[0],R=P[1],A=Yk((0,e.useState)(!1),2),I=A[0],L=A[1],j=Yk((0,e.useState)({}),2),z=j[0],M=j[1],F=Yk((0,e.useState)(void 0),2),D=F[0],N=F[1],B=Yk((0,e.useState)(void 0),2),V=B[0],$=B[1];i!==V&&(M({}),$(i)),r!==D&&(b(Array.isArray(r)?r:void 0),N(r)),(0,e.useEffect)((function(){return m.current=!0,function(){m.current=!1}}),[]);var W=(0,e.useCallback)((function(e,t){if(!a)return t();var n=a(e,t);n&&"function"==typeof n.then&&n.then(t,(function(){return t()}))}),[a]);(0,e.useEffect)((function(){!0===r&&W(x,(function(e){m.current&&(b(e||[]),C(!!h.current))}))}),[]);var U=(0,e.useCallback)((function(e,t){var n=function(e,t,n){if(n){var r=n(e,t);if("string"==typeof r)return r}return e}(e,t,u);if(!n)return h.current=void 0,w(""),O(""),R([]),C(!1),void L(!1);if(i&&z[n])w(n),O(n),R(z[n]),C(!1),L(!1);else{var r=h.current={};w(n),C(!0),L(!_),W(n,(function(e){m&&r===h.current&&(h.current=void 0,C(!1),O(n),R(e||[]),L(!1),M(e?Hk(Hk({},z),{},Wk({},n,e)):z))}))}}),[i,W,_,z,u]),H=I?[]:x&&_?T:g||[];return Hk(Hk({},f),{},{options:H,isLoading:S||s,onInputChange:U,filterOption:d})}var t_=(0,e.forwardRef)((function(t,n){var r=Qk(e_(t));return e.createElement(bE,ie({ref:n},r))})),n_=(0,e.forwardRef)((function(t,n){var r=QE(Qk(e_(t)));return e.createElement(bE,ie({ref:n},r))})),r_=e=>{let{className:t,clearValue:n,cx:r,getStyles:o,getClassNames:i,getValue:a,hasValue:l,isMulti:s,isRtl:u,options:c,selectOption:d,selectProps:f,setValue:p,theme:h,...m}=e;return{...m}},o_=e=>{let t=(e=>(e=>"string"==typeof e&&["sm","md","lg"].includes(e))(e)?e:"xs"===e?"sm":"xl"===e?"lg":"md")(hg().components.Input.defaultProps.size),n=null!=e?e:t;return xE("string"==typeof n?[n]:n,{fallback:"md"})||t},i_=e=>(0,Be.jsx)(xg,{role:"presentation",focusable:"false","aria-hidden":"true",...e,children:(0,Be.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),a_=e=>(0,Be.jsx)(xg,{focusable:"false","aria-hidden":!0,...e,children:(0,Be.jsx)("path",{fill:"currentColor",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"})}),l_=e=>e?{bottom:"top",top:"bottom"}[e]:"top",s_=e=>(0,Be.jsx)("svg",{viewBox:"0 0 14 14",width:"1em",height:"1em",...e,children:(0,Be.jsx)("polygon",{fill:"currentColor",points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"})}),u_=e=>"object"==typeof e&&null!==e&&"isFixed"in e&&"boolean"==typeof e.isFixed,c_=e=>(0,Be.jsx)(xg,{verticalAlign:"inherit",viewBox:"0 0 512 512",...e,children:(0,Be.jsx)("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})}),d_={ClearIndicator:e=>{let{children:t,className:n,cx:r,innerProps:o,selectProps:{chakraStyles:i,size:a}}=e,l={...gg("CloseButton",{size:o_(a)}),marginX:1,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,cursor:"pointer"},s=null!=i&&i.clearIndicator?i.clearIndicator(l,e):l,u={width:"1em",height:"1em"},c=null!=i&&i.crossIcon?i.crossIcon(u,e):u;return(0,Be.jsx)(mb,{role:"button",className:r({indicator:!0,"clear-indicator":!0},n),sx:s,"aria-label":"Clear selected options",...o,children:t||(0,Be.jsx)(a_,{sx:c})})},Control:e=>{let{className:t,cx:n,children:r,innerRef:o,innerProps:i,isDisabled:a,isFocused:l,menuIsOpen:s,selectProps:{chakraStyles:u,size:c,variant:d,focusBorderColor:f,errorBorderColor:p,isInvalid:h,isReadOnly:m}}=e,v=o_(c),{field:{height:g,h:b,...y}}=bg("Input",{size:v,variant:d,focusBorderColor:f,errorBorderColor:p}),x={...y,position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",padding:0,overflow:"hidden",height:"auto",minH:g||b,...a?{pointerEvents:"none"}:{}},w=null!=u&&u.control?u.control(x,e):x;return(0,Be.jsx)(mb,{ref:o,className:n({control:!0,"control--is-disabled":a,"control--is-focused":l,"control--menu-is-open":s},t),sx:w,...i,"data-focus":!!l||void 0,"data-focus-visible":!!l||void 0,"data-invalid":!!h||void 0,"data-disabled":!!a||void 0,"data-readonly":!!m||void 0,children:r})},DropdownIndicator:e=>{let{children:t,className:n,cx:r,innerProps:o,selectProps:{chakraStyles:i,useBasicStyles:a,size:l,focusBorderColor:s,errorBorderColor:u,variant:c}}=e,d=o_(l),f=bg("Input",{size:d,variant:c,focusBorderColor:s,errorBorderColor:u}),p={sm:"16px",md:"20px",lg:"24px"}[d],h={...f.addon,display:"flex",alignItems:"center",justifyContent:"center",height:"100%",borderRadius:0,borderWidth:0,fontSize:p,...a&&{background:"transparent",padding:0,width:6,marginRight:2,marginLeft:1,cursor:"inherit"}},m=null!=i&&i.dropdownIndicator?i.dropdownIndicator(h,e):h,v={height:"1em",width:"1em"},g=null!=i&&i.downChevron?i.downChevron(v,e):v;return(0,Be.jsx)(mb,{...o,className:r({indicator:!0,"dropdown-indicator":!0},n),sx:m,children:t||(0,Be.jsx)(i_,{sx:g})})},Group:e=>{let{children:t,className:n,cx:r,theme:o,getStyles:i,Heading:a,headingProps:l,label:s,selectProps:u,innerProps:c,getClassNames:d}=e,{chakraStyles:f}=u,p={},h=null!=f&&f.group?f.group(p,e):p;return(0,Be.jsxs)(mb,{...c,className:r({group:!0},n),sx:h,children:[(0,Be.jsx)(a,{...l,selectProps:u,cx:r,theme:o,getStyles:i,getClassNames:d,children:s}),(0,Be.jsx)(mb,{children:t})]})},GroupHeading:e=>{let{cx:t,className:n,selectProps:{chakraStyles:r,size:o,hasStickyGroupHeaders:i}}=e,{data:a,...l}=r_(e),s=bg("Menu"),u=o_(o),c={...s.groupTitle,fontSize:{sm:"xs",md:"sm",lg:"md"}[u],padding:{sm:"0.4rem 0.8rem",md:"0.5rem 1rem",lg:"0.6rem 1.2rem"}[u],margin:0,borderBottomWidth:i?"1px":0,position:i?"sticky":"static",top:-2,bg:s.list.bg,zIndex:1},d=null!=r&&r.groupHeading?r.groupHeading(c,e):c;return(0,Be.jsx)(mb,{...l,className:t({"group-heading":!0},n),sx:d})},IndicatorSeparator:e=>{let{className:t,cx:n,selectProps:{chakraStyles:r,useBasicStyles:o,variant:i}}=e,a={opacity:1,...o||"outline"!==i?{display:"none"}:{}},l=null!=r&&r.indicatorSeparator?r.indicatorSeparator(a,e):a;return(0,Be.jsx)(wE,{className:n({"indicator-separator":!0},t),sx:l,orientation:"vertical"})},IndicatorsContainer:e=>{let{children:t,className:n,cx:r,innerProps:o,selectProps:{chakraStyles:i}}=e,a={display:"flex",alignItems:"center",alignSelf:"stretch",flexShrink:0},l=null!=i&&i.indicatorsContainer?i.indicatorsContainer(a,e):a;return(0,Be.jsx)(mb,{...o,className:r({indicators:!0},n),sx:l,children:t})},Input:e=>{let{className:t,cx:n,value:r,selectProps:{chakraStyles:o,isReadOnly:i}}=e,{innerRef:a,isDisabled:l,isHidden:s,inputClassName:u,...c}=r_(e),d={gridArea:"1 / 2",minW:"2px",border:0,margin:0,outline:0,padding:0},f={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content",color:"inherit",marginX:"0.125rem",paddingY:"0.125rem",visibility:l?"hidden":"visible",transform:r?"translateZ(0)":"",_after:{content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre",padding:0,...d}},p=null!=o&&o.inputContainer?o.inputContainer(f,e):f,h={background:0,opacity:s?0:1,width:"100%",...d},m=null!=o&&o.input?o.input(h,e):h;return(0,Be.jsx)(mb,{className:n({"input-container":!0},t),"data-value":r||"",sx:p,children:(0,Be.jsx)(cg.input,{className:n({input:!0},u),ref:a,sx:m,disabled:l,readOnly:!!i||void 0,...c})})},LoadingIndicator:e=>{let{className:t,cx:n,innerProps:r,selectProps:{chakraStyles:o,size:i},color:a,emptyColor:l,speed:s,thickness:u,spinnerSize:c}=e,d={sm:"xs",md:"sm",lg:"md"}[o_(i)],f={marginRight:3},p=null!=o&&o.loadingIndicator?o.loadingIndicator(f,e):f;return(0,Be.jsx)(Sg,{className:n({indicator:!0,"loading-indicator":!0},t),sx:p,...r,size:c||d,color:a,emptyColor:l,speed:s,thickness:u})},LoadingMessage:e=>{let{children:t,className:n,cx:r,innerProps:o,selectProps:{chakraStyles:i,size:a}}=e,l=o_(a),s={color:"chakra-subtle-text",textAlign:"center",paddingY:{sm:"6px",md:"8px",lg:"10px"}[l],fontSize:l},u=null!=i&&i.loadingMessage?i.loadingMessage(s,e):s;return(0,Be.jsx)(mb,{...o,className:r({"menu-notice":!0,"menu-notice--loading":!0},n),sx:u,children:t})},Menu:e=>{let{className:t,cx:n,children:r,innerProps:o,innerRef:i,placement:a,selectProps:{chakraStyles:l}}=e,s={position:"absolute",[l_(a)]:"100%",marginY:"8px",width:"100%",zIndex:1},u=null!=l&&l.menu?l.menu(s,e):s;return(0,Be.jsx)(qE,{children:(0,Be.jsx)(mb,{...o,ref:i,className:n({menu:!0},t),sx:u,children:r})})},MenuList:e=>{var t;let{className:n,cx:r,innerRef:o,children:i,maxHeight:a,isMulti:l,innerProps:s,selectProps:{chakraStyles:u,size:c,variant:d,focusBorderColor:f,errorBorderColor:p}}=e,h=bg("Menu"),m=bg("Input",{size:o_(c),variant:d,focusBorderColor:f,errorBorderColor:p}).field,v={...h.list,minW:"100%",maxHeight:`${a}px`,overflowY:"auto","--input-border-radius":null==m?void 0:m["--input-border-radius"],borderRadius:(null==m?void 0:m.borderRadius)||(null==(t=h.list)?void 0:t.borderRadius),position:"relative",WebkitOverflowScrolling:"touch"},g=null!=u&&u.menuList?u.menuList(v,e):v;return(0,Be.jsx)(mb,{...s,className:r({"menu-list":!0,"menu-list--is-multi":l},n),sx:g,ref:o,children:i})},MultiValue:e=>{let{children:t,className:n,components:r,cx:o,data:i,innerProps:a,isDisabled:l,isFocused:s,removeProps:u,selectProps:c,cropWithEllipsis:d}=e,{Container:f,Label:p,Remove:h}=r,{chakraStyles:m,colorScheme:v,tagVariant:g,size:b}=c,y=o_(b),x="",w="",k=!1;(e=>"object"==typeof e&&null!==e&&"colorScheme"in e&&"string"==typeof e.colorScheme)(i)&&(x=i.colorScheme),(e=>"object"==typeof e&&null!==e&&"variant"in e&&"string"==typeof e.variant)(i)&&(w=i.variant),u_(i)&&(k=i.isFixed);let S=bg("Tag",{size:y,colorScheme:x||v,variant:w||g||(k?"solid":"subtle")}),C={...S.container,display:"flex",alignItems:"center",minWidth:0,margin:"0.125rem"},E=null!=m&&m.multiValue?m.multiValue(C,e):C,_={...S.label,overflow:"hidden",textOverflow:d||void 0===d?"ellipsis":void 0,whiteSpace:"nowrap"},O=null!=m&&m.multiValueLabel?m.multiValueLabel(_,e):_,P={...S.closeButton,display:"flex",alignItems:"center",justifyContent:"center"},T=null!=m&&m.multiValueRemove?m.multiValueRemove(P,e):P;return(0,Be.jsxs)(f,{data:i,innerProps:{className:o({"multi-value":!0,"multi-value--is-disabled":l},n),...a},sx:E,selectProps:c,children:[(0,Be.jsx)(p,{data:i,innerProps:{className:o({"multi-value__label":!0},n)},sx:O,selectProps:c,children:t}),(0,Be.jsx)(h,{data:i,innerProps:{className:o({"multi-value__remove":!0},n),"aria-label":`Remove ${t||"option"}`,...u},sx:T,selectProps:c,isFocused:s})]})},MultiValueContainer:e=>{let{children:t,innerProps:n,sx:r}=e;return(0,Be.jsx)(cg.span,{...n,sx:r,children:t})},MultiValueLabel:e=>{let{children:t,innerProps:n,sx:r}=e;return(0,Be.jsx)(cg.span,{...n,sx:r,children:t})},MultiValueRemove:e=>{let{children:t,innerProps:n,isFocused:r,data:o,sx:i}=e;return u_(o)&&o.isFixed?null:(0,Be.jsx)(mb,{...n,role:"button",sx:i,"data-focus":!!r||void 0,"data-focus-visible":!!r||void 0,children:t||(0,Be.jsx)(c_,{})})},NoOptionsMessage:e=>{let{children:t,className:n,cx:r,innerProps:o,selectProps:{chakraStyles:i,size:a}}=e,l=o_(a),s={color:"chakra-subtle-text",textAlign:"center",paddingY:{sm:"6px",md:"8px",lg:"10px"}[l],fontSize:l},u=null!=i&&i.noOptionsMessage?i.noOptionsMessage(s,e):s;return(0,Be.jsx)(mb,{...o,className:r({"menu-notice":!0,"menu-notice--no-options":!0},n),sx:u,children:t})},Option:e=>{let{className:t,cx:n,innerRef:r,innerProps:o,children:i,isFocused:a,isDisabled:l,isSelected:s,selectProps:{chakraStyles:u,size:c,isMulti:d,hideSelectedOptions:f,selectedOptionStyle:p,selectedOptionColorScheme:h}}=e,m=bg("Menu").item,v=o_(c),g=Qe(`${h}.500`,`${h}.300`),b=Qe("white","black"),y="check"===p&&(!d||!1===f),x={...m,cursor:"pointer",display:"flex",alignItems:"center",width:"100%",textAlign:"start",fontSize:v,paddingX:{sm:"0.6rem",md:"0.8rem",lg:"1rem"}[v],paddingY:{sm:"0.3rem",md:"0.4rem",lg:"0.5rem"}[v],..."color"===p&&s?{bg:g,color:b,_active:{bg:g}}:{}},w=null!=u&&u.option?u.option(x,e):x;return(0,Be.jsxs)(mb,{...o,className:n({option:!0,"option--is-disabled":l,"option--is-focused":a,"option--is-selected":s},t),sx:w,ref:r,"data-focus":!!a||void 0,"aria-disabled":!!l||void 0,"aria-selected":s,children:[y&&(0,Be.jsx)(GE,{fontSize:"0.8em",marginEnd:"0.75rem",opacity:s?1:0,children:(0,Be.jsx)(s_,{})}),i]})},Placeholder:e=>{let{children:t,className:n,cx:r,innerProps:o,selectProps:{chakraStyles:i}}=e,a={gridArea:"1 / 1 / 2 / 3",color:"chakra-placeholder-color",mx:"0.125rem",userSelect:"none"},l=null!=i&&i.placeholder?i.placeholder(a,e):a;return(0,Be.jsx)(mb,{...o,className:r({placeholder:!0},n),sx:l,children:t})},SelectContainer:e=>{let{children:t,className:n,cx:r,innerProps:o,isDisabled:i,isRtl:a,hasValue:l,selectProps:{chakraStyles:s}}=e,u={position:"relative",direction:a?"rtl":void 0,...i?{cursor:"not-allowed"}:{}},c=null!=s&&s.container?s.container(u,e):u;return(0,Be.jsx)(mb,{...o,className:r({"--is-disabled":i,"--is-rtl":a,"--has-value":l},n),sx:c,children:t})},SingleValue:e=>{let{children:t,className:n,cx:r,isDisabled:o,innerProps:i,selectProps:{chakraStyles:a}}=e,l={gridArea:"1 / 1 / 2 / 3",mx:"0.125rem",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},s=null!=a&&a.singleValue?a.singleValue(l,e):l;return(0,Be.jsx)(mb,{className:r({"single-value":!0,"single-value--is-disabled":o},n),sx:s,...i,children:t})},ValueContainer:e=>{let{children:t,className:n,cx:r,isMulti:o,hasValue:i,innerProps:a,selectProps:{chakraStyles:l,size:s,variant:u,focusBorderColor:c,errorBorderColor:d,controlShouldRenderValue:f}}=e,p={display:o&&i&&f?"flex":"grid",alignItems:"center",flex:1,paddingY:"2px",paddingX:bg("Input",{size:o_(s),variant:u,focusBorderColor:c,errorBorderColor:d}).field.px,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},h=null!=l&&l.valueContainer?l.valueContainer(p,e):p;return(0,Be.jsx)(mb,{...a,className:r({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":i},n),sx:h,children:t})}},f_=d_,p_=({components:e={},theme:t,size:n,colorScheme:r="gray",isDisabled:o,isInvalid:i,isReadOnly:a,required:l,isRequired:s,inputId:u,tagVariant:c,selectedOptionStyle:d="color",selectedOptionColorScheme:f,selectedOptionColor:p,variant:h,focusBorderColor:m,errorBorderColor:v,chakraStyles:g={},onFocus:b,onBlur:y,menuIsOpen:x,...w})=>{var k;let S=hg(),{variant:C}=S.components.Input.defaultProps,E=Dy({id:u,isDisabled:o,isInvalid:i,isRequired:s,isReadOnly:a,onFocus:b,onBlur:y}),_=null!=x?x:!E.readOnly&&void 0,O=d;["color","check"].includes(d)||(O="color");let P=f||p||"blue";return"string"!=typeof P&&(P="blue"),{components:{...f_,...e},colorScheme:r,size:n,tagVariant:c,selectedOptionStyle:O,selectedOptionColorScheme:P,variant:null!=h?h:C,chakraStyles:g,focusBorderColor:m,errorBorderColor:v,onFocus:E.onFocus,onBlur:E.onBlur,isDisabled:E.disabled,isInvalid:!!E["aria-invalid"],inputId:E.id,isReadOnly:E.readOnly,required:null!=l?l:E.required,menuIsOpen:_,...w,"aria-invalid":null!=(k=w["aria-invalid"])?k:E["aria-invalid"]}},h_=(0,e.forwardRef)(((e,t)=>{let n=p_(e);return(0,Be.jsx)(yE,{ref:t,...n})}));function m_(e){return m_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m_(e)}function v_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v_(Object(n),!0).forEach((function(t){b_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b_(e,t,n){return(t=function(e){var t=function(e){if("object"!=m_(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=m_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==m_(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(0,e.forwardRef)(((e,t)=>{let n=p_(e);return(0,Be.jsx)(KE,{ref:t,...n})})),(0,e.forwardRef)(((e,t)=>{let n=p_(e);return(0,Be.jsx)(t_,{ref:t,...n})})),(0,e.forwardRef)(((e,t)=>{let n=p_(e);return(0,Be.jsx)(n_,{ref:t,...n})}));var y_={settings:{},isPro:!1,allowUsageData:{user_registration_allow_usage_tracking:"yes",user_registration_allow_email_updates:"yes",user_registration_updates_admin_email:("undefined"!=typeof _UR_WIZARD_&&_UR_WIZARD_).adminEmail},registrationType:"user_registration_normal_registration",defaultFormId:"",installedPages:{},registrationPageLink:"",defaultFormURL:""},x_=b_(b_(b_(b_(b_(b_(b_(b_({GET_SETTINGS:"GET_SETTINGS"},"GET_SETTINGS","GET_ALLOW_USAGE"),"GET_DEFAULT_REGISTRATION_PAGE","GET_DEFAULT_REGISTRATION_PAGE"),"GET_MEMBERSHIP_DETAILS","GET_MEMBERSHIP_DETAILS"),"GET_IS_PRO","GET_IS_PRO"),"GET_REGISTRATION_TYPE","GET_REGISTRATION_TYPE"),"GET_DEFAULT_FORM","GET_DEFAULT_FORM"),"GET_INSTALLED_PAGES","GET_INSTALLED_PAGES"),"GET_DEFAULT_FORM_URL","GET_DEFAULT_FORM_URL");const w_=function(e,t){switch(t.type){case x_.GET_SETTINGS:return g_(g_({},e),{},{settings:t.settings});case x_.GET_ALLOW_USAGE:return g_(g_({},e),{},{allowUsageData:t.allowUsageData});case x_.GET_DEFAULT_REGISTRATION_PAGE:return g_(g_({},e),{},{registrationPageLink:t.registrationPageLink});case x_.GET_MEMBERSHIP_DETAILS:return g_(g_({},e),{},{membershipDetails:t.membershipDetails});case x_.GET_IS_PRO:return g_(g_({},e),{},{isPro:t.isPro});case x_.GET_REGISTRATION_TYPE:return g_(g_({},e),{},{registrationType:t.registrationType});case x_.GET_DEFAULT_FORM:return g_(g_({},e),{},{defaultFormId:t.defaultFormId});case x_.GET_INSTALLED_PAGES:return g_(g_({},e),{},{installedPages:t.installedPages});case x_.GET_DEFAULT_FORM_URL:return g_(g_({},e),{},{defaultFormURL:t.defaultFormURL});default:return e}};function k_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k_(Object(n),!0).forEach((function(t){C_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C_(e,t,n){return(t=function(e){var t=function(e){if("object"!=__(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=__(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==__(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E_(){return E_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E_.apply(null,arguments)}function __(e){return __="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},__(e)}function O_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const P_=function(e){var n=e.setting,r=e.onBoardIconsURL,o=e.customStyle,i=e.onModify,a=e.hideElement,l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return O_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O_(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(sk(),2),s=l[0],u=s.settings,c=s.allowUsageData,d=l[1],f=function(){var e=[];if(n.options){var t=[n.default];Object.keys(n.options).map((function(r,o){return u[n.id]&&("string"!=typeof u[n.id]&&Object.values(u[n.id]).includes(r)?t.push(o):t=r===u[n.id]?[o]:t),e.default="object"===__(t)&&t.filter((function(e,n){return t.indexOf(e)===n})),e.push({label:n.options[r],value:r})}))}return e},p=function(e){var o=e.radioProps,i=e.label,a=e.identifier,l=e.color,s=e.backgroundColor,u=_k(o),c=u.state,d=u.getInputProps,f=u.getRadioProps,p=d(),h=f();return t().createElement(mb,{as:"label",marginleft:"0px !important",marginBottom:"0px"},t().createElement("input",p),t().createElement(mb,E_({},h,{cursor:"pointer",borderWidth:"1px",borderRadius:"7px",boxShadow:"md",borderColor:"user_registration_form_setting_minimum_password_strength"===n.id?"#6B6B6B":"#E9E9E9",_checked:{bg:s,borderColor:l},_focus:{boxShadow:"outline"},px:5,py:3,style:{flex:"1 0 30%"}}),"user_registration_login_options_form_template"===n.id||"user_registration_form_template"===n.id||"user_registration_my_account_layout"===n.id?t().createElement(ob,{direction:"column",align:"center"},t().createElement(Rk,{src:"".concat(r,"/").concat(a,".png")}),t().createElement(ab,{fontSize:"12px",fontWeight:"600",color:c.isChecked&&l,mt:2},i)):t().createElement(ab,{fontSize:"14px",fontWeight:"600",color:c.isChecked?l:"user_registration_form_setting_minimum_password_strength"===n.id?"#6B6B6B":"#212121"},i)))},h=function(e,t,r){var o=S_({},u),a=S_({},c);if("text"===e)o[t]=r.target.value;else if("switch"===e||"checkbox"===e)o[t]=r.target.checked?"yes":"no";else if("select"===e)o[t]=r.value;else if("radio"===e)o[t]=Object.keys(n.options)[r];else{var l=[];r.map((function(e){l.push(e.value)})),o[t]=l}Object.keys(o).map((function(e,t){a[e]&&"user_registration_updates_admin_email"!==e&&(a[e]=o[e],delete o[e])})),"user_registration_form_setting_enable_strong_password"===n.id&&"no"===o.user_registration_form_setting_enable_strong_password?i(!0):"user_registration_form_setting_enable_strong_password"===n.id&&"yes"===o.user_registration_form_setting_enable_strong_password&&i(!1),d({type:x_.GET_SETTINGS,settings:o}),d({type:x_.GET_ALLOW_USAGE,allowUsageData:a})},m=function(e){return t().createElement(xg,E_({viewBox:"0 0 24 24"},e),t().createElement("path",{fill:"#6B6B6B",stroke:"#6B6B6B","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m6 9 6 6 6-6H6Z"}))},v=function(e){return t().createElement(xg,E_({viewBox:"0 0 16 13"},e),t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.54552 1.36362C2.16896 1.36362 1.86371 1.66888 1.86371 2.04543V10.2272C1.86371 10.6037 2.16896 10.909 2.54552 10.909H13.4545C13.831 10.909 14.1363 10.6037 14.1363 10.2272V2.04543C14.1363 1.66888 13.831 1.36362 13.4545 1.36362H2.54552ZM0.500086 2.04543C0.500086 0.915771 1.41586 0 2.54552 0H13.4545C14.5841 0 15.4999 0.915771 15.4999 2.04543V10.2272C15.4999 11.3568 14.5841 12.2726 13.4545 12.2726H2.54552C1.41586 12.2726 0.500086 11.3568 0.500086 10.2272V2.04543Z",fill:"#6B6B6B"}),t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.606442 2.36157C0.808398 2.04375 1.22976 1.94983 1.54757 2.15179L7.66125 6.03673C7.76289 6.10002 7.88024 6.13357 8 6.13357C8.11976 6.13357 8.23711 6.10002 8.33875 6.03673L8.34027 6.03578L14.4524 2.15179C14.7702 1.94983 15.1916 2.04375 15.3936 2.36157C15.5955 2.67938 15.5016 3.10074 15.1838 3.3027L9.06427 7.19135C8.74527 7.39121 8.37643 7.49719 8 7.49719C7.62357 7.49719 7.25474 7.3912 6.93574 7.19134L6.93205 7.18903L0.816223 3.3027C0.498408 3.10074 0.404486 2.67938 0.606442 2.36157Z",fill:"#6B6B6B"}))},g=function(e){if(i(!0),e){var t=S_({},u),n=S_({},c);Object.keys(t).map((function(e,r){n[e]&&"user_registration_updates_admin_email"===e&&(n[e]=t[e],delete t[e])})),d({type:x_.GET_ALLOW_USAGE,allowUsageData:n})}};return void 0!==a[n.id]&&a[n.id]?"":t().createElement(ob,{justify:"space-between",align:"center",sx:o},t().createElement(ob,{align:"center",flex:"0 0 40%"},t().createElement(dx,{sx:{fontWeight:"600",fontSize:"15px",marginInlineEnd:"0.5rem"}},n.title,n.email&&t().createElement("strong",null,n.email),n.link&&("change"!==n.link?t().createElement(cx,{href:n.link,isExternal:!0,color:"#475BB2",textDecoration:"underline"},n.linkLabel):a.user_registration_updates_admin_email&&t().createElement(cx,{href:"#",color:"#475BB2",textDecoration:"underline",onClick:function(){i(!1)}},n.linkLabel))),n.desc&&t().createElement(ik,{label:n.desc,hasArrow:!0,fontSize:"14px",fontWeight:"400px",backgroundColor:"#383838"},t().createElement("span",{className:"ur-setup-wizard-tool-tip",style:{color:"#BABABA",marginBottom:"5px"}}))),function(){switch(n.type){case"text":return t().createElement(Lk,{flex:"1",marginLeft:"24px",gap:"10px"},t().createElement(Mk,null,t().createElement(v,null)),t().createElement(Dk,{className:"user-registration-setup-wizard__body--input-box",name:n.id,id:n.id,onChange:function(e){return h(n.type,n.id,e)},defaultValue:n.default,borderRadius:"8px"}),"user_registration_updates_admin_email"===n.id&&t().createElement(t().Fragment,null,t().createElement(pb,{colorScheme:"blue",backgroundColor:"#475BB2 !important",width:"30%",onClick:function(){g(!0)},borderRadius:"8px"},ry("Update","user-registration")),t().createElement(pb,{color:"white",backgroundColor:"#ff4f60 !important",width:"30%",onClick:function(){g(!1)},borderRadius:"8px"},ry("Cancel","user-registration"))));case"checkbox":return t().createElement(ux,E_({flex:"0 0 60%",className:"user-registration-setup-wizard__body--normal-checkbox",name:n.id,id:n.id,onChange:function(e){return h(n.type,n.id,e)},defaultChecked:"yes"===n.default},"yes"===u[n.id]&&{isChecked:!0}));case"switch":return t().createElement(Nk,E_({flex:"0 0 60%",className:"user-registration-setup-wizard__body--checkbox",name:n.id,id:n.id,onChange:function(e){return h(n.type,n.id,e)},defaultChecked:"yes"===n.default},"yes"===u[u.id]&&{isChecked:!0}));case"select":return t().createElement(h_,{icon:t().createElement(m,null),flex:"0 0 60%",focusBorderColor:"blue.500",className:"user-registration-setup-wizard__body--select",name:n.id,id:n.id,options:f(),onChange:function(e){return h(n.type,n.id,e)},defaultValue:f()[f().default],variant:"outline"});case"multiselect":var e=[];return f().default.map((function(t){return e.push(f()[t])})),t().createElement(h_,{icon:t().createElement(m,null),flex:"0 0 60%",isMulti:!0,focusBorderColor:"blue.500",className:"user-registration-setup-wizard__body--select",name:n.id,id:n.id,options:f(),onChange:function(e){return h(n.type,n.id,e)},defaultValue:e});case"radio":var r={activeBackgroundColor:"#F9FAFC",activeFontColor:"#475BB2"};"user_registration_form_setting_minimum_password_strength"!==n.id||3!=n.default||n.color||(n.color={activeBackgroundColor:"#F5FFF4",activeFontColor:"#4CC741"});var o=wk({name:n.id,defaultValue:u[n.id]?(s=Object.keys(n.options),Object.fromEntries(Object.entries(s).map((function(e){return e.reverse()}))))[u[n.id]]:n.default.toString(),onChange:function(e){"user_registration_form_setting_minimum_password_strength"===n.id&&(0==e?(r.activeBackgroundColor="#FFF4F4",r.activeFontColor="#F25656"):1==e?(r.activeBackgroundColor="#FFFAF5",r.activeFontColor="#EE9936"):2==e?(r.activeBackgroundColor="#FFFCF1",r.activeFontColor="#FFC700"):(r.activeBackgroundColor="#F5FFF4",r.activeFontColor="#4CC741")),n.color=r,h(n.type,n.id,e)}}),i=o.getRootProps,a=o.getRadioProps,l=i();return t().createElement(Bk,E_({},l,{sx:{flexWrap:"wrap",gap:"10px"},flex:"1 0 60%"}),Object.keys(n.options).map((function(e,r){return t().createElement(p,{key:e,radioProps:a({value:r.toString()}),label:n.options[e],identifier:e,color:n.color&&n.color.activeFontColor?n.color.activeFontColor:"#475BB2",backgroundColor:n.color&&n.color.activeBackgroundColor?n.color.activeBackgroundColor:"#F9FAFC"})})))}var s}())};function T_(e){return T_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T_(e)}function R_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R_(Object(n),!0).forEach((function(t){I_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function I_(e,t,n){return(t=function(e){var t=function(e){if("object"!=T_(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=T_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==T_(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const j_=function(n){var r=n.sectionSettings,o=(n.siteURL,n.onBoardIconsURL,function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return L_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L_(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,e.useState)({user_registration_form_setting_minimum_password_strength:!0}),2)),i=o[0],a=o[1];return(0,e.useEffect)((function(){}),[i]),t().createElement(ob,{direction:"column",justifyContent:"space-between",gap:"40px"},t().createElement(xk,{direction:"column",spacing:"8",mt:5},r.settings.map((function(e,n){return t().createElement(P_,{key:n,setting:e,onModify:function(e){return t=e,void a((function(e){return A_(A_({},e),{},{user_registration_form_setting_minimum_password_strength:t})}));var t},hideElement:i})}))))};function z_(){return z_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z_.apply(null,arguments)}function M_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return F_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?F_(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const D_=function(){var n=("undefined"!=typeof _UR_WIZARD_&&_UR_WIZARD_).onBoardIconsURL,r=M_(sk(),2),o=(r[0].registrationType,r[1]),i=M_((0,e.useState)("user_registration_normal_registration"),2),a=i[0],l=i[1],s={id:"user_registration_registration_type",options:{user_registration_normal_registration:{label:ry("Normal registration","user-registration"),desc:ry("Suitable for simple websites requiring basic user sign-ups without membership tiers.","user-registration"),image:"".concat(n,"/without-membership.png")},user_registration_membership_registration:{label:ry("Membership registration","user-registration"),desc:ry("Best for sites offering premium content, subscriptions, or exclusive member access with multiple membership levels.","user-registration"),image:"".concat(n,"/with-membership.png")}}},u=function(e){var n=e.radioProps,r=e.label,o=e.desc,i=e.image,a=(e.identifier,e.borderColor),l=(0,_k(n).getInputProps)();return t().createElement(mb,{as:"label",border:"1px solid ".concat(a),borderRadius:"12px",padding:"20px",flex:"0 0 48%",height:"445px"},t().createElement("input",l),t().createElement(ob,{direction:"column",align:"center",gap:"16px"},t().createElement(mb,{p:"20px",border:"1px solid #E1E1E1",borderRadius:"8px",width:"100%",height:"270px"},t().createElement(Rk,{src:i,width:"100%",height:"100%",objectFit:"contain"})),t().createElement(ob,{direction:"column",align:"center",gap:"6px"},t().createElement(ab,{fontSize:"18px",fontWeight:"600",lineHeight:"28px",color:"#222222"},r),t().createElement(ab,{fontSize:"16px",fontWeight:"400",lineHeight:"26px",color:"#383838",textAlign:"center"},o))))};(0,e.useEffect)((function(){o({type:x_.GET_REGISTRATION_TYPE,registrationType:a})}),[a]);var c=function(e){var n=e.registrationTypeData,r=wk({name:n.id,onChange:function(e){l(Object.keys(n.options)[e])}}),o=r.getRootProps,i=r.getRadioProps,s=o();return t().createElement(Bk,z_({},s,{gap:"32px",flex:"1 0 60%"}),Object.keys(n.options).map((function(e,r){var o=n.options[e];return t().createElement(u,{key:e,radioProps:i({value:r.toString()}),label:o.label,desc:o.desc,image:o.image,identifier:e,borderColor:a===e?"#475BB2":"#E1E1E1"})})))};return t().createElement(e.Fragment,null,t().createElement(c,{registrationTypeData:s}))};var N_=pg((function(e,t){const n=gg("Heading",e),{className:r,...o}=Nn(e);return(0,Be.jsx)(cg.h2,{ref:t,className:Ke("chakra-heading",e.className),...o,__css:n})}));function B_(){return B_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B_.apply(null,arguments)}N_.displayName="Heading";var V_=t().forwardRef((function(e,n){return t().createElement(cg.svg,B_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",height:"24px",width:"24px",ref:n},e),t().createElement("path",{d:"M17.2503 12.7496C17.2503 13.1946 17.1183 13.6296 16.8711 13.9997C16.6239 14.3697 16.2725 14.6581 15.8614 14.8284C15.4502 14.9987 14.9978 15.0433 14.5614 14.9565C14.1249 14.8696 13.724 14.6554 13.4093 14.3407C13.0946 14.026 12.8803 13.6251 12.7935 13.1887C12.7067 12.7522 12.7512 12.2998 12.9215 11.8887C13.0918 11.4776 13.3802 11.1261 13.7502 10.8789C14.1202 10.6317 14.5552 10.4997 15.0002 10.4997C15.597 10.4997 16.1693 10.7367 16.5912 11.1586C17.0132 11.5806 17.2503 12.1529 17.2503 12.7496ZM19.5004 19.4996L10.5004 19.4998L10.5004 17.7823C11.0634 17.1438 11.7559 16.6325 12.5317 16.2822C13.3076 15.932 14.1491 15.7508 15.0003 15.7508C15.8516 15.7508 16.6931 15.9319 17.469 16.2821C18.2449 16.6323 18.9373 17.1436 19.5004 17.7821L19.5004 19.4996ZM3.00018 8.99996L6.00018 8.99989L6.00029 13.4999L4.50029 13.4999L4.50032 14.9999L9.00032 14.9998L9.00029 13.4998L7.50029 13.4999L7.50018 8.99986L21.0002 8.99953L21.0005 20.9995L3.00047 21L3.00018 8.99996ZM1.5005 22.5L22.5005 22.4995L22.5001 7.4995L7.50014 7.49986L7.50004 2.99986L9.00004 2.99982L9 1.49982L4.5 1.49993L4.50004 2.99993L6.00004 2.99989L6.00014 7.49989L1.50014 7.5L1.5005 22.5Z",fill:"#475BB2"}))})),$_=t().forwardRef((function(e,n){return t().createElement(cg.svg,B_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",height:"24px",width:"24px",ref:n},e,{fill:"none"}),t().createElement("path",{d:"M12.886 2H12.446C11.9156 2 11.4069 2.21071 11.0318 2.58579C10.6567 2.96086 10.446 3.46957 10.446 4V4.18C10.4457 4.53073 10.3531 4.87519 10.1776 5.17884C10.002 5.48248 9.74975 5.73464 9.44602 5.91L9.01602 6.16C8.71198 6.33554 8.36709 6.42795 8.01602 6.42795C7.66494 6.42795 7.32006 6.33554 7.01602 6.16L6.86602 6.08C6.40708 5.81526 5.86185 5.74344 5.35002 5.88031C4.83818 6.01717 4.40157 6.35154 4.13602 6.81L3.91602 7.19C3.65128 7.64893 3.57946 8.19416 3.71633 8.706C3.85319 9.21783 4.18755 9.65445 4.64602 9.92L4.79602 10.02C5.09829 10.1945 5.34964 10.4451 5.52507 10.7468C5.7005 11.0486 5.79391 11.391 5.79602 11.74V12.25C5.79742 12.6024 5.70567 12.949 5.53006 13.2545C5.35445 13.5601 5.10123 13.8138 4.79602 13.99L4.64602 14.08C4.18755 14.3456 3.85319 14.7822 3.71633 15.294C3.57946 15.8058 3.65128 16.3511 3.91602 16.81L4.13602 17.19C4.40157 17.6485 4.83818 17.9828 5.35002 18.1197C5.86185 18.2566 6.40708 18.1847 6.86602 17.92L7.01602 17.84C7.32006 17.6645 7.66494 17.5721 8.01602 17.5721C8.36709 17.5721 8.71198 17.6645 9.01602 17.84L9.44602 18.09C9.74975 18.2654 10.002 18.5175 10.1776 18.8212C10.3531 19.1248 10.4457 19.4693 10.446 19.82V20C10.446 20.5304 10.6567 21.0391 11.0318 21.4142C11.4069 21.7893 11.9156 22 12.446 22H12.886C13.4165 22 13.9252 21.7893 14.3002 21.4142C14.6753 21.0391 14.886 20.5304 14.886 20V19.82C14.8864 19.4693 14.979 19.1248 15.1545 18.8212C15.33 18.5175 15.5823 18.2654 15.886 18.09L16.316 17.84C16.6201 17.6645 16.9649 17.5721 17.316 17.5721C17.6671 17.5721 18.012 17.6645 18.316 17.84L18.466 17.92C18.925 18.1847 19.4702 18.2566 19.982 18.1197C20.4939 17.9828 20.9305 17.6485 21.196 17.19L21.416 16.8C21.6808 16.3411 21.7526 15.7958 21.6157 15.284C21.4788 14.7722 21.1445 14.3356 20.686 14.07L20.536 13.99C20.2308 13.8138 19.9776 13.5601 19.802 13.2545C19.6264 12.949 19.5346 12.6024 19.536 12.25V11.75C19.5346 11.3976 19.6264 11.051 19.802 10.7455C19.9776 10.4399 20.2308 10.1862 20.536 10.01L20.686 9.92C21.1445 9.65445 21.4788 9.21783 21.6157 8.706C21.7526 8.19416 21.6808 7.64893 21.416 7.19L21.196 6.81C20.9305 6.35154 20.4939 6.01717 19.982 5.88031C19.4702 5.74344 18.925 5.81526 18.466 6.08L18.316 6.16C18.012 6.33554 17.6671 6.42795 17.316 6.42795C16.9649 6.42795 16.6201 6.33554 16.316 6.16L15.886 5.91C15.5823 5.73464 15.33 5.48248 15.1545 5.17884C14.979 4.87519 14.8864 4.53073 14.886 4.18V4C14.886 3.46957 14.6753 2.96086 14.3002 2.58579C13.9252 2.21071 13.4165 2 12.886 2Z",stroke:"#475BB2",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t().createElement("path",{d:"M12.666 15C14.3229 15 15.666 13.6569 15.666 12C15.666 10.3431 14.3229 9 12.666 9C11.0092 9 9.66602 10.3431 9.66602 12C9.66602 13.6569 11.0092 15 12.666 15Z",stroke:"#475BB2",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))})),W_=t().forwardRef((function(e,n){return t().createElement(cg.svg,B_({xmlns:"https://www.w3.org/2000/svg",height:"24px",width:"27px",ref:n,viewBox:"0 0 27 24"},e),t().createElement("path",{fill:"#475BB2",d:"M5.03703 4.41602C3.39276 4.41602 1.72266 5.7541 1.72266 7.39837V15.3513C1.72266 16.9956 3.39276 18.3337 5.03703 18.3337H12.6172L18.9547 20.3219L18.4867 18.3337H22.9311C24.5754 18.3337 25.9135 16.9956 25.9135 15.3513V7.39837C25.9135 5.7541 24.5754 4.41602 22.9311 4.41602H5.03703ZM5.03897 5.90719L14.1491 5.90719L22.9311 5.90719C23.4789 5.90719 24.5874 6.85061 24.5874 7.39837V15.3513C24.5874 15.8991 23.4789 17.0472 22.9311 17.0472H18.5411H16.1665L17.1315 18.3337L13.322 17.0472H12.9317H12.6172L5.03897 17.0472C4.49121 17.0472 2.91482 15.8991 2.91482 15.3513V7.40031C2.91482 6.85255 4.49121 5.90719 5.03897 5.90719ZM12.2424 7.39837C11.9528 7.39963 11.6736 7.57223 11.5551 7.85853C11.1187 8.90733 10.8124 10.2311 10.6464 11.767C10.1474 10.3643 9.87279 9.01432 9.86782 8.99245C9.8032 8.66936 9.53468 8.42719 9.2096 8.39637C8.87757 8.35959 8.57374 8.55333 8.44848 8.85653L7.08739 12.1845C6.83887 10.9935 6.58686 9.49173 6.5282 8.11289C6.5123 7.70132 6.15014 7.36651 5.75349 7.40031C5.34193 7.41621 5.02108 7.76346 5.03897 8.17502C5.16522 11.2111 6.14278 14.6644 6.18453 14.8096C6.27102 15.1158 6.54504 15.3315 6.86216 15.3494C7.17432 15.3683 7.47193 15.1815 7.59222 14.8873L8.98437 11.4855C9.36114 12.6894 9.92327 14.1235 10.6639 15.0659C10.809 15.2488 11.0256 15.3513 11.2503 15.3513C11.3318 15.3513 11.4134 15.3374 11.493 15.3105C11.7932 15.2061 11.9958 14.9228 11.9958 14.6057C11.9958 12.0737 12.3293 9.87979 12.9317 8.42938C13.0898 8.05062 12.9105 7.61468 12.5298 7.45662C12.4361 7.4171 12.339 7.39795 12.2424 7.39837ZM15.7238 8.39248C14.6362 8.39646 13.6252 9.44964 13.322 10.9438C13.1301 11.8942 13.2749 12.8507 13.7103 13.5048C14.0056 13.9472 14.409 14.2307 14.8792 14.3242C14.9905 14.3461 15.1028 14.3572 15.2131 14.3572C16.3017 14.3572 17.3243 13.3079 17.6285 11.8078C17.8204 10.8574 17.6756 9.90093 17.2402 9.2468C16.945 8.80442 16.5406 8.52088 16.0694 8.42743C15.9531 8.40357 15.8381 8.39248 15.7238 8.39248ZM20.9429 8.39248C19.8563 8.39646 18.8453 9.44964 18.5411 10.9438C18.3492 11.8942 18.494 12.8507 18.9294 13.5048C19.2247 13.9472 19.6281 14.2307 20.0983 14.3242C20.2096 14.3461 20.3219 14.3572 20.4323 14.3572C21.5208 14.3572 22.5434 13.3079 22.8476 11.8078C23.0395 10.8574 22.8947 9.90093 22.4593 9.2468C22.1641 8.80442 21.7597 8.52088 21.2885 8.42743C21.1722 8.40357 21.0572 8.39248 20.9429 8.39248ZM15.7413 9.8856C15.7532 9.8856 15.7662 9.8875 15.7782 9.88948C15.8716 9.90837 15.9508 9.99943 15.9995 10.072C16.1615 10.3166 16.3037 10.8397 16.1665 11.5127C15.9806 12.4352 15.4318 12.9079 15.1724 12.8621C15.0789 12.8432 15.0017 12.7522 14.953 12.6796C14.7909 12.4351 14.6488 11.9119 14.786 11.2389C14.9639 10.3571 15.4818 9.8856 15.7413 9.8856ZM20.9604 9.8856C20.9723 9.8856 20.9853 9.8875 20.9973 9.88948C21.0907 9.90837 21.1699 9.99943 21.2186 10.072C21.3807 10.3166 21.5228 10.8397 21.3856 11.5127C21.1997 12.4352 20.644 12.9079 20.3915 12.8621C20.298 12.8432 20.2208 12.7522 20.1721 12.6796C20.01 12.4351 19.8679 11.9119 20.0051 11.2389C20.183 10.3571 20.7009 9.8856 20.9604 9.8856Z"}))})),U_=t().forwardRef((function(e,n){return t().createElement(cg.svg,B_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",height:"24px",width:"24px",ref:n,fill:"none"},e),t().createElement("path",{d:"M12 17C12.5523 17 13 16.5523 13 16C13 15.4477 12.5523 15 12 15C11.4477 15 11 15.4477 11 16C11 16.5523 11.4477 17 12 17Z",stroke:"#475BB2",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t().createElement("path",{d:"M19 10H5C3.89543 10 3 10.8954 3 12V20C3 21.1046 3.89543 22 5 22H19C20.1046 22 21 21.1046 21 20V12C21 10.8954 20.1046 10 19 10Z",stroke:"#475BB2",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t().createElement("path",{d:"M7 10V7C7 5.67392 7.52678 4.40215 8.46447 3.46447C9.40215 2.52678 10.6739 2 12 2C13.3261 2 14.5979 2.52678 15.5355 3.46447C16.4732 4.40215 17 5.67392 17 7V10",stroke:"#475BB2",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))})),H_=t().forwardRef((function(e,n){return t().createElement(cg.svg,B_({viewBox:"0 0 25 24",xmlns:"https://www.w3.org/2000/svg",height:"24px",width:"25px",ref:n,fill:"none"},e),t().createElement("path",{d:"M15.2874 17.8974L4.60742 14.9844",stroke:"#475BB2",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t().createElement("path",{d:"M19.0414 2.62173C19.2386 2.42462 19.4726 2.26826 19.7301 2.16158C19.9876 2.05491 20.2637 2 20.5424 2C20.8212 2 21.0972 2.05491 21.3548 2.16158C21.6123 2.26826 21.8463 2.42462 22.0434 2.62173C22.2406 2.81885 22.3969 3.05286 22.5036 3.3104C22.6103 3.56794 22.6652 3.84397 22.6652 4.12273C22.6652 4.4015 22.6103 4.67753 22.5036 4.93507C22.3969 5.19261 22.2406 5.42662 22.0434 5.62373L18.0254 9.64273C17.9317 9.7365 17.879 9.86365 17.879 9.99623C17.879 10.1288 17.9317 10.256 18.0254 10.3497L18.9694 11.2937C19.4213 11.7457 19.6752 12.3586 19.6752 12.9977C19.6752 13.6368 19.4213 14.2498 18.9694 14.7017L18.0254 15.6457C17.9317 15.7395 17.8045 15.7921 17.6719 15.7921C17.5394 15.7921 17.4122 15.7395 17.3184 15.6457L9.01944 7.34773C8.92571 7.25397 8.87305 7.12682 8.87305 6.99424C8.87305 6.86165 8.92571 6.7345 9.01944 6.64073L9.96344 5.69673C10.4154 5.24485 11.0283 4.99099 11.6674 4.99099C12.3065 4.99099 12.9195 5.24485 13.3714 5.69673L14.3154 6.64073C14.4092 6.73447 14.5364 6.78713 14.6689 6.78713C14.8015 6.78713 14.9287 6.73447 15.0224 6.64073L19.0414 2.62173Z",stroke:"#475BB2",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t().createElement("path",{d:"M9.66691 8C7.86291 10.71 5.69691 11.46 3.08391 11.948C2.99723 11.9638 2.91617 12.002 2.84872 12.0587C2.78127 12.1154 2.72976 12.1887 2.69928 12.2713C2.66879 12.354 2.66038 12.4432 2.67487 12.5301C2.68936 12.617 2.72626 12.6987 2.78191 12.767L10.1019 21.65C10.2506 21.8079 10.4466 21.9132 10.6603 21.95C10.8741 21.9868 11.094 21.9531 11.2869 21.854C13.4019 20.405 16.6669 16.792 16.6669 15",stroke:"#475BB2",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))})),q_=t().forwardRef((function(e,n){return t().createElement(cg.svg,B_({viewBox:"0 0 34 34",xmlns:"https://www.w3.org/2000/svg",height:"34px",width:"34px",ref:n,fill:"none"},e),t().createElement("path",{d:"M26.293 10.125L24.4023 12.0156L20.6211 15.7969L13.0586 23.3594L9.62109 19.9219L7.90234 18.2031L7.04297 17.3438",stroke:"#4CA772",strokeWidth:"3.4375",strokeLinecap:"round",strokeLinejoin:"round"}))})),G_=t().forwardRef((function(e,n){return t().createElement(cg.svg,B_({viewBox:"0 0 18 18",xmlns:"https://www.w3.org/2000/svg",height:"18px",width:"18px",ref:n,fill:"none"},e),t().createElement("path",{d:"M3.75 9H14.25",stroke:"#383838",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t().createElement("path",{d:"M9 3.75L14.25 9L9 14.25",stroke:"#383838",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}));function Y_(e){return Y_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y_(e)}function X_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Z_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X_(Object(n),!0).forEach((function(t){Q_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Q_(e,t,n){return(t=function(e){var t=function(e){if("object"!=Y_(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Y_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Y_(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return J_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?J_(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}V_.displayName="AdvancedFieldsLogo",W_.displayName="WooCommerceLogo",V_.displayName="AdvancedFieldsLogo",U_.displayName="ContentRestrictionLogo",H_.displayName="StyleCustomizerLogo",q_.displayName="CheckIcon",G_.displayName="RightArrowIcon";const eO=function(n){n.onBoardIconsURL;var r="undefined"!=typeof _UR_WIZARD_&&_UR_WIZARD_,o=(r.restURL,r.adminEmail,r.urRestApiNonce,K_((0,e.useState)(!1),2)),i=(o[0],o[1],K_((0,e.useState)({user_registration_updates_admin_email:!0}),2)),a=i[0],l=i[1],s=K_(sk(),2),u=s[0].allowUsageData,c=(s[1],[{title:ry("Help us improve User Registration by sharing non-sensitive diagnostic and usage data. See what’s shared ","user-registration"),id:"user_registration_allow_usage_tracking",type:"checkbox",default:"yes",link:"https://wpuserregistration.com/privacy-policy/",linkLabel:ry("here.","user-registration")},{title:ry("Get security updates, new features, and occasional offers by email. We’ll use your email: ","user-registration"),id:"user_registration_allow_email_updates",type:"checkbox",default:"yes",link:"change",linkLabel:ry("Change","user-registration"),email:u.user_registration_updates_admin_email+". "},{id:"user_registration_updates_admin_email",type:"text",default:u.user_registration_updates_admin_email}]),d=[{title:ry("Advanced Fields","user-registration"),description:ry("Add custom fields like profile pictures, phone numbers, and more.","user-registration"),icon:t().createElement(V_,null)},{title:ry("Customize My Account","user-registration"),description:ry("Personalize user account pages with custom tabs and layouts.","user-registration"),icon:t().createElement($_,null)},{title:ry("WooCommerce","user-registration"),description:ry("Add and sync billing/shipping fields with the checkout page.","user-registration"),icon:t().createElement(W_,null)},{title:ry("Content Restriction","user-registration"),description:ry("Control content access by user role or login status.","user-registration"),icon:t().createElement(U_,null)},{title:ry("Style Customizer","user-registration"),description:ry("Style registration and login forms to match your brand.","user-registration"),icon:t().createElement(H_,null)}];return(0,e.useEffect)((function(){}),[a]),t().createElement(ob,{direction:"column",justifyContent:"space-between",gap:"24px"},t().createElement(ob,{direction:"column",justifyContent:"space-between",gap:"16px"},t().createElement(N_,{as:"h2",fontSize:"26px",fontWeight:"700",color:"#383838",lineHeight:"38px"},ry("Success! You're all set!","user-registration")),t().createElement("hr",{color:"#E1E1E1"})),t().createElement(mb,{w:"100%",color:"#2D3559",display:"flex",flexDirection:"column",gap:"24px"},t().createElement(ab,{fontSize:"18px",lineHeight:"28px",fontWeight:"600",color:"#383838"},ry("Help us serve you better – review these preferences before you start.","user-registration")),t().createElement(ob,{justify:"space-between",wrap:"wrap",gap:"20px"},c.map((function(e,n){return t().createElement(P_,{setting:e,customStyle:{flexDirection:"row-reverse",gap:"8px",alignItems:"top","> div, label":{flex:"auto",alignItems:"baseline"},"> div":{label:{fontSize:"16px",lineHeight:"26px",fontWeight:"400"}},"> .chakra-input__group":{marginTop:"4px",input:{borderColor:"#BDBDBD"}},"> label":{marginTop:"5px","> .chakra-switch__track":{width:"1.6rem",height:"0.8rem","> .chakra-switch__thumb":{width:"0.8rem",height:"0.8rem"}}}},onModify:function(e){return t=e,void l((function(e){return Z_(Z_({},e),{},{user_registration_updates_admin_email:t})}));var t},hideElement:a})})))),t().createElement("hr",{color:"#E1E1E1"}),t().createElement(mb,{w:"100%",color:"#2D3559",gap:"30px",display:"flex",flexDirection:"column"},t().createElement(ab,{fontSize:"16px",fontWeight:"600",color:"#383838",textAlign:"left"},t().createElement(cx,{href:"https://wpuserregistration.com/features/",isExternal:!0,display:"flex",alignItems:"center",gap:"5px"},ry("Unlock more features with PRO","user-registration"),t().createElement(G_,null))),t().createElement(mb,{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax( 220px, 1fr ))",gap:"10px"},d.map((function(e,n){return t().createElement(ob,{padding:"16px",justifyContent:"space-between",gap:"10px",borderRadius:"8px",_hover:{boxShadow:"0px 6px 20px rgba(71, 91, 178, 0.08)"},border:"1px solid #E1E1E1",background:"#FFFFFF",flexDirection:"column",flex:"0 0 32%"},e.icon,t().createElement(ob,{direction:"column"},t().createElement(ab,{fontSize:"16px",fontWeight:"500",mt:"6px",mb:"6px",color:"#383838",lineHeight:"26px"},e.title),t().createElement(ab,{fontSize:"14px",fontWeight:"400",noOfLines:3,lineHeight:"24px"},e.description)))})),t().createElement(cx,{href:"https://wpuserregistration.com/features/",isExternal:!0,flex:"0 0 32%",display:"flex"},t().createElement(ob,{padding:"20px",gap:"10px",borderRadius:"8px",_hover:{boxShadow:"0px 6px 20px rgba(71, 91, 178, 0.08)"},border:"1px solid #4CA772",background:"#FFFFFF",flexDirection:"column",alignItems:"center",textAlign:"center"},t().createElement(q_,null),t().createElement(ob,{direction:"column"},t().createElement(ab,{fontSize:"18px",fontWeight:"600",mt:"6px",mb:"6px",color:"#383838",lineHeight:"26px"},ry("30+ addons & tons of features","user-registration"))))))))};function tO(e){return tO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tO(e)}function nO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nO(Object(n),!0).forEach((function(t){oO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oO(e,t,n){return(t=function(e){var t=function(e){if("object"!=tO(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=tO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tO(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iO(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return aO(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?aO(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function aO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const lO=function(){var n=iO(sk(),2),r=n[0],o=r.settings,i=(r.registrationPageLink,r.registrationType),a=(r.defaultFormURL,r.membershipDetails),l=(r.installedPages,n[1]),s=iO((0,e.useState)(!1),2),u=s[0],c=s[1],d=iO((0,e.useState)(!1),2),f=d[0],p=d[1],h="undefined"!=typeof _UR_WIZARD_&&_UR_WIZARD_,m=h.adminURL,v=h.siteURL,g=h.urRestApiNonce,b=h.onBoardIconsURL,y=h.restURL,x=iO((0,e.useState)([{key:"registration_type",label:ry("Registration Type","user-registration"),title:ry("Registration Type","user-registration"),description:ry("Get started by choosing the type of registration that best fits your website's needs. Whether you're creating a simple sign-up process or a full membership platform, we've got you covered!","user-registration"),isDone:!0,component:t().createElement(D_,null)},{key:"install_pages",label:ry("Initial Setup Details","user-registration"),description:ry("To provide your users with a warm welcome, we've configured important settings and prepared essential pages.","user-registration"),isDone:!1,component:t().createElement(vk,null)},{key:"general_settings",label:ry("Settings","user-registration"),description:ry("Configure how new users register, gain access, and maintain account security.","user-registration"),isDone:!1,component:t().createElement(j_,null)},{key:"final_step",label:ry("Final Step","user-registration"),isDone:!1,component:t().createElement(eO,null)}]),2),w=x[0],k=x[1],S=iO((0,e.useState)(w[0]),2),C=S[0],E=S[1];(0,e.useEffect)((function(){if(Object.keys(o).length<1)Ey({path:y+"user-registration/v1/getting-started",headers:{"X-WP-Nonce":g}}).then((function(e){var t=w.map((function(t){return t.sectionSettings=e.options[t.key]?e.options[t.key]:{},rO({},t)})),n={};Object.keys(e.options).map((function(t){e.options[t].settings.map((function(e){n[e.id]=e.default}))})),k(t),l({type:x_.GET_SETTINGS,settings:n})}));else{var e=new URLSearchParams(window.location.href);if(e.get("step")&&!f){var t=w.findIndex((function(t){return t.key===e.get("step")}));if("final_step"===e.get("step"))return;k((function(t){return t.map((function(t){return t.key===e.get("step")&&("install_pages"===e.get("step")?null!==e.get("installed")?t.isDone=!0:t.isDone=!1:t.isDone=!0),t}))})),"install_pages"===e.get("step")?null!==e.get("installed")?E(w[t+1]):E(w[t]):E(w[t+1])}}}),[o]);var _=function(e){var t=rO({},o);"no"===o.user_registration_form_setting_enable_strong_password&&(t=Object.keys(o).filter((function(e){return"user_registration_form_setting_minimum_password_strength"!==e})).reduce((function(e,t){return e[t]=o[t],e}),{})),"final_step"===C.key&&((t=rO({},t)).user_registration_end_setup_wizard=!0),Ey({path:y+"user-registration/v1/getting-started/save",method:"POST",headers:{"X-WP-Nonce":g},data:{settings:t}}).then((function(t){t.success&&(""!==e?window.location.href=e:function(){var e=w.findIndex((function(e){return e.key===C.key}));k((function(e){return e.map((function(e){return e.key===C.key&&(e.isDone=!0),e}))})),"registration_type"===C.key?Ey({path:y+"user-registration/v1/getting-started/registration-type-selected",method:"POST",headers:{"X-WP-Nonce":g},data:{registrationType:i}}).then((function(t){if(t.success){l({type:x_.GET_INSTALLED_PAGES,installedPages:t.page_details});var n="";if(t.page_details.registration)n=t.page_details.registration.page_url;else{var r=Object.keys(t.page_details).filter((function(e){return 0===e.indexOf("membership-registration")}));n=t.page_details[r[0]].page_url}l({type:x_.GET_DEFAULT_FORM_URL,defaultFormURL:t.page_details.default_form_id.page_url}),l({type:x_.GET_DEFAULT_REGISTRATION_PAGE,registrationPageLink:n}),l({type:x_.GET_MEMBERSHIP_DETAILS,membershipDetails:t.page_details.membership_details}),E(w[e+1]),p(!0)}})):(E(w[e+1]),p(!0))}())})),t.user_registration_end_setup_wizard&&Ey({path:y+"user-registration/v1/getting-started/save-allow-usage-data",method:"POST",headers:{"X-WP-Nonce":g},data:{settings:allowUsageData}}).then((function(e){e.success&&setAllowTracking(!0)}))},O=a||{},P=(O.title,O.page_url),T="user_registration_membership_registration"===i,R=T?"Start Building Your Membership":"Visit Dashboard",A=T?P:m+"admin.php?page=user-registration-dashboard";return t().createElement(rb,null,Object.keys(o).length>0?t().createElement(t().Fragment,null,t().createElement(_y,{steps:w,activeStep:C,siteURL:v}),t().createElement("div",{className:"user-registration-setup-wizard__body"},w[w.length-1].key===C.key?(0,e.cloneElement)(C.component,{sectionSettings:C.sectionSettings&&{},siteURL:v,onBoardIconsURL:b}):t().createElement(ob,{direction:"column",justifyContent:"space-between",alignItems:"left",gap:"36px"},t().createElement(ob,{direction:"column",justifyContent:"space-between",alignItems:"left",gap:"12px"},C.description&&t().createElement(ab,{fontSize:"16px",as:"i",color:"#6B6B6B"},C.description)),(0,e.cloneElement)(C.component,{sectionSettings:C.sectionSettings,siteURL:v,onBoardIconsURL:b}))),t().createElement("div",{className:"user-registration-setup-wizard__footer"},t().createElement("div",{className:"user-registration-setup-wizard__footer--left"},w[w.length-1].key===C.key?"":w[0].key!==C.key&&w[1].key!==C.key?t().createElement(pb,{variant:"outline",onClick:function(){var e=w.findIndex((function(e){return e.key===C.key}));0!==e&&(k((function(e){return e.map((function(e){return e.key===C.key&&(e.isDone=!1),e}))})),E(w[e-1]))},style:{backgroundColor:"#FAFAFA",color:"#6B6B6B",border:"1px solid #999999"}},ry("Back","user-registration")):""),t().createElement("div",{className:"user-registration-setup-wizard__footer--right"},w[w.length-1].key===C.key?t().createElement(pb,{colorScheme:"blue",backgroundColor:"#475BB2 !important",color:"#FAFAFA !important",onClick:function(){c(!0),_(A+"&end-setup-wizard=1")},disabled:u},ry(R,"user-registration")):t().createElement(t().Fragment,null,t().createElement(pb,{colorScheme:"blue",backgroundColor:"#475BB2 !important",color:"#FAFAFA !important",disabled:w[w.length-1].key===C.key,onClick:function(){_("")}},ry("Next","user-registration")))))):t().createElement(mb,{display:"flex",justifyContent:"center",padding:"250px"},t().createElement(Sg,{size:"lg"})))};document.addEventListener("DOMContentLoaded",(function(){var e=document.getElementById("user-registration-setup-wizard");e&&(0,r.createRoot)(e).render(t().createElement(lk,{initialState:y_,reducer:w_},t().createElement(lO,null)))}))})()})();

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:25
inteuuod / inteuuod
0755
content-restriction-enhanced
--
July 10 2025 04:32:25
inteuuod / inteuuod
0755
edit-password
--
July 10 2025 04:32:25
inteuuod / inteuuod
0755
edit-profile
--
July 10 2025 04:32:25
inteuuod / inteuuod
0755
login-form
--
July 10 2025 04:32:25
inteuuod / inteuuod
0755
login-logout-menu
--
July 10 2025 04:32:25
inteuuod / inteuuod
0755
membership-listing
--
July 10 2025 04:32:25
inteuuod / inteuuod
0755
myaccount
--
July 10 2025 04:32:25
inteuuod / inteuuod
0755
registration-form
--
July 10 2025 04:32:25
inteuuod / inteuuod
0755
thank-you
--
July 10 2025 04:32:25
inteuuod / inteuuod
0755
.htaccess
0.41 KB
July 10 2025 04:32:25
inteuuod / inteuuod
0644
blocks.js
555.145 KB
June 19 2025 14:56:36
inteuuod / inteuuod
0644
blocks.js.LICENSE.txt
1.117 KB
June 19 2025 14:56:36
inteuuod / inteuuod
0644
dashboard.js
1.44 MB
June 19 2025 14:56:36
inteuuod / inteuuod
0644
dashboard.js.LICENSE.txt
2.111 KB
June 19 2025 14:56:36
inteuuod / inteuuod
0644
divi-builder.js
19.856 KB
April 16 2025 15:38:10
inteuuod / inteuuod
0644
form_templates.js
548.701 KB
June 19 2025 14:56:36
inteuuod / inteuuod
0644
form_templates.js.LICENSE.txt
1.37 KB
June 19 2025 14:56:36
inteuuod / inteuuod
0644
formblock.js
3.829 KB
July 03 2024 08:32:50
inteuuod / inteuuod
0644
reactPlayerPreview.js
2.597 KB
September 10 2024 15:52:12
inteuuod / inteuuod
0644
welcome.js
597.107 KB
June 19 2025 14:56:36
inteuuod / inteuuod
0644
welcome.js.LICENSE.txt
0.957 KB
April 15 2024 09:24:46
inteuuod / inteuuod
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF