diff --git a/blog-react/dist/assets/index-a1d89006.js b/blog-react/dist/assets/index-a1d89006.js new file mode 100644 index 0000000..bb92b16 --- /dev/null +++ b/blog-react/dist/assets/index-a1d89006.js @@ -0,0 +1,299 @@ +function Im(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var gC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ju(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function vC(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var o=[null];o.push.apply(o,arguments);var i=Function.bind.apply(t,o);return new i}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Mb={exports:{}},Fu={},jb={exports:{}},ye={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var pl=Symbol.for("react.element"),yC=Symbol.for("react.portal"),bC=Symbol.for("react.fragment"),wC=Symbol.for("react.strict_mode"),xC=Symbol.for("react.profiler"),SC=Symbol.for("react.provider"),EC=Symbol.for("react.context"),CC=Symbol.for("react.forward_ref"),_C=Symbol.for("react.suspense"),$C=Symbol.for("react.memo"),kC=Symbol.for("react.lazy"),Yv=Symbol.iterator;function PC(e){return e===null||typeof e!="object"?null:(e=Yv&&e[Yv]||e["@@iterator"],typeof e=="function"?e:null)}var Fb={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Nb=Object.assign,Lb={};function _a(e,t,n){this.props=e,this.context=t,this.refs=Lb,this.updater=n||Fb}_a.prototype.isReactComponent={};_a.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};_a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function zb(){}zb.prototype=_a.prototype;function Mm(e,t,n){this.props=e,this.context=t,this.refs=Lb,this.updater=n||Fb}var jm=Mm.prototype=new zb;jm.constructor=Mm;Nb(jm,_a.prototype);jm.isPureReactComponent=!0;var Xv=Array.isArray,Bb=Object.prototype.hasOwnProperty,Fm={current:null},Db={key:!0,ref:!0,__self:!0,__source:!0};function Hb(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Bb.call(t,r)&&!Db.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1>>1,B=j[D];if(0>>1;Do(Y,z))Xo(Q,Y)?(j[D]=Q,j[X]=z,D=X):(j[D]=Y,j[W]=z,D=W);else if(Xo(Q,z))j[D]=Q,j[X]=z,D=X;else break e}}return L}function o(j,L){var z=j.sortIndex-L.sortIndex;return z!==0?z:j.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],u=1,d=null,f=3,g=!1,y=!1,h=!1,x=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(j){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=j)r(c),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(c)}}function w(j){if(h=!1,v(j),!y)if(n(l)!==null)y=!0,A(S);else{var L=n(c);L!==null&&N(w,L.startTime-j)}}function S(j,L){y=!1,h&&(h=!1,p(P),P=-1),g=!0;var z=f;try{for(v(L),d=n(l);d!==null&&(!(d.expirationTime>L)||j&&!I());){var D=d.callback;if(typeof D=="function"){d.callback=null,f=d.priorityLevel;var B=D(d.expirationTime<=L);L=e.unstable_now(),typeof B=="function"?d.callback=B:d===n(l)&&r(l),v(L)}else r(l);d=n(l)}if(d!==null)var U=!0;else{var W=n(c);W!==null&&N(w,W.startTime-L),U=!1}return U}finally{d=null,f=z,g=!1}}var C=!1,E=null,P=-1,M=5,k=-1;function I(){return!(e.unstable_now()-kj||125D?(j.sortIndex=z,t(c,j),n(l)===null&&j===n(c)&&(h?(p(P),P=-1):h=!0,N(w,z-D))):(j.sortIndex=B,t(l,j),y||g||(y=!0,A(S))),j},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(j){var L=f;return function(){var z=f;f=L;try{return j.apply(this,arguments)}finally{f=z}}}})(Gb);Ub.exports=Gb;var zC=Ub.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Kb=b,gn=zC;function V(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Op=Object.prototype.hasOwnProperty,BC=/^[: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]*$/,Jv={},Zv={};function DC(e){return Op.call(Zv,e)?!0:Op.call(Jv,e)?!1:BC.test(e)?Zv[e]=!0:(Jv[e]=!0,!1)}function HC(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function WC(e,t,n,r){if(t===null||typeof t>"u"||HC(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Dt(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var $t={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$t[e]=new Dt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$t[t]=new Dt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$t[e]=new Dt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$t[e]=new Dt(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){$t[e]=new Dt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$t[e]=new Dt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$t[e]=new Dt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$t[e]=new Dt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$t[e]=new Dt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Lm=/[\-:]([a-z])/g;function zm(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Lm,zm);$t[t]=new Dt(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(Lm,zm);$t[t]=new Dt(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(Lm,zm);$t[t]=new Dt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$t[e]=new Dt(e,1,!1,e.toLowerCase(),null,!1,!1)});$t.xlinkHref=new Dt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$t[e]=new Dt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Bm(e,t,n,r){var o=$t.hasOwnProperty(t)?$t[t]:null;(o!==null?o.type!==0:r||!(2s||o[a]!==i[s]){var l=` +`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{ff=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?rs(e):""}function VC(e){switch(e.tag){case 5:return rs(e.type);case 16:return rs("Lazy");case 13:return rs("Suspense");case 19:return rs("SuspenseList");case 0:case 2:case 15:return e=pf(e.type,!1),e;case 11:return e=pf(e.type.render,!1),e;case 1:return e=pf(e.type,!0),e;default:return""}}function jp(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ri:return"Fragment";case Pi:return"Portal";case Ap:return"Profiler";case Dm:return"StrictMode";case Ip:return"Suspense";case Mp:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Xb:return(e.displayName||"Context")+".Consumer";case Yb:return(e._context.displayName||"Context")+".Provider";case Hm:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Wm:return t=e.displayName||null,t!==null?t:jp(e.type)||"Memo";case Ur:t=e._payload,e=e._init;try{return jp(e(t))}catch{}}return null}function UC(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=t.render,e=e.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 jp(t);case 8:return t===Dm?"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(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function po(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Jb(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function GC(e){var t=Jb(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Fl(e){e._valueTracker||(e._valueTracker=GC(e))}function Zb(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Jb(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Uc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Fp(e,t){var n=t.checked;return Je({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function t0(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=po(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ew(e,t){t=t.checked,t!=null&&Bm(e,"checked",t,!1)}function Np(e,t){ew(e,t);var n=po(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Lp(e,t.type,n):t.hasOwnProperty("defaultValue")&&Lp(e,t.type,po(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function n0(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Lp(e,t,n){(t!=="number"||Uc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var os=Array.isArray;function Ki(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Nl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ns(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ps={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},KC=["Webkit","ms","Moz","O"];Object.keys(ps).forEach(function(e){KC.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ps[t]=ps[e]})});function ow(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ps.hasOwnProperty(e)&&ps[e]?(""+t).trim():t+"px"}function iw(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=ow(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var qC=Je({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 Dp(e,t){if(t){if(qC[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(V(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(V(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(V(61))}if(t.style!=null&&typeof t.style!="object")throw Error(V(62))}}function Hp(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Wp=null;function Vm(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Vp=null,qi=null,Yi=null;function i0(e){if(e=gl(e)){if(typeof Vp!="function")throw Error(V(280));var t=e.stateNode;t&&(t=Du(t),Vp(e.stateNode,e.type,t))}}function aw(e){qi?Yi?Yi.push(e):Yi=[e]:qi=e}function sw(){if(qi){var e=qi,t=Yi;if(Yi=qi=null,i0(e),t)for(e=0;e>>=0,e===0?32:31-(i3(e)/a3|0)|0}var Ll=64,zl=4194304;function is(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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Yc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=is(s):(i&=a,i!==0&&(r=is(i)))}else a=n&~o,a!==0?r=is(a):i!==0&&(r=is(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function hl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Yn(t),e[t]=n}function u3(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=ms),h0=String.fromCharCode(32),m0=!1;function kw(e,t){switch(e){case"keyup":return L3.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ti=!1;function B3(e,t){switch(e){case"compositionend":return Pw(t);case"keypress":return t.which!==32?null:(m0=!0,h0);case"textInput":return e=t.data,e===h0&&m0?null:e;default:return null}}function D3(e,t){if(Ti)return e==="compositionend"||!Jm&&kw(e,t)?(e=_w(),Ec=Ym=Xr=null,Ti=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=b0(n)}}function Aw(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Aw(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Iw(){for(var e=window,t=Uc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Uc(e.document)}return t}function Zm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function X3(e){var t=Iw(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Aw(n.ownerDocument.documentElement,n)){if(r!==null&&Zm(n)){if(t=r.start,e=r.end,e===void 0&&(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,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=w0(n,i);var a=w0(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.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;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Oi=null,Xp=null,vs=null,Qp=!1;function x0(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Qp||Oi==null||Oi!==Uc(r)||(r=Oi,"selectionStart"in r&&Zm(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),vs&&Ws(vs,r)||(vs=r,r=Jc(Xp,"onSelect"),0Mi||(e.current=rh[Mi],rh[Mi]=null,Mi--)}function De(e,t){Mi++,rh[Mi]=e.current,e.current=t}var ho={},It=vo(ho),qt=vo(!1),Qo=ho;function oa(e,t){var n=e.type.contextTypes;if(!n)return ho;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Yt(e){return e=e.childContextTypes,e!=null}function eu(){Ge(qt),Ge(It)}function P0(e,t,n){if(It.current!==ho)throw Error(V(168));De(It,t),De(qt,n)}function Hw(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(V(108,UC(e)||"Unknown",o));return Je({},n,r)}function tu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ho,Qo=It.current,De(It,e),De(qt,qt.current),!0}function R0(e,t,n){var r=e.stateNode;if(!r)throw Error(V(169));n?(e=Hw(e,t,Qo),r.__reactInternalMemoizedMergedChildContext=e,Ge(qt),Ge(It),De(It,e)):Ge(qt),De(qt,n)}var br=null,Hu=!1,kf=!1;function Ww(e){br===null?br=[e]:br.push(e)}function l_(e){Hu=!0,Ww(e)}function yo(){if(!kf&&br!==null){kf=!0;var e=0,t=je;try{var n=br;for(je=1;e>=a,o-=a,wr=1<<32-Yn(t)+o|n<P?(M=E,E=null):M=E.sibling;var k=f(p,E,v[P],w);if(k===null){E===null&&(E=M);break}e&&E&&k.alternate===null&&t(p,E),m=i(k,m,P),C===null?S=k:C.sibling=k,C=k,E=M}if(P===v.length)return n(p,E),Ye&&$o(p,P),S;if(E===null){for(;PP?(M=E,E=null):M=E.sibling;var I=f(p,E,k.value,w);if(I===null){E===null&&(E=M);break}e&&E&&I.alternate===null&&t(p,E),m=i(I,m,P),C===null?S=I:C.sibling=I,C=I,E=M}if(k.done)return n(p,E),Ye&&$o(p,P),S;if(E===null){for(;!k.done;P++,k=v.next())k=d(p,k.value,w),k!==null&&(m=i(k,m,P),C===null?S=k:C.sibling=k,C=k);return Ye&&$o(p,P),S}for(E=r(p,E);!k.done;P++,k=v.next())k=g(E,p,P,k.value,w),k!==null&&(e&&k.alternate!==null&&E.delete(k.key===null?P:k.key),m=i(k,m,P),C===null?S=k:C.sibling=k,C=k);return e&&E.forEach(function(O){return t(p,O)}),Ye&&$o(p,P),S}function x(p,m,v,w){if(typeof v=="object"&&v!==null&&v.type===Ri&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case jl:e:{for(var S=v.key,C=m;C!==null;){if(C.key===S){if(S=v.type,S===Ri){if(C.tag===7){n(p,C.sibling),m=o(C,v.props.children),m.return=p,p=m;break e}}else if(C.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Ur&&F0(S)===C.type){n(p,C.sibling),m=o(C,v.props),m.ref=Va(p,C,v),m.return=p,p=m;break e}n(p,C);break}else t(p,C);C=C.sibling}v.type===Ri?(m=Go(v.props.children,p.mode,w,v.key),m.return=p,p=m):(w=Oc(v.type,v.key,v.props,null,p.mode,w),w.ref=Va(p,m,v),w.return=p,p=w)}return a(p);case Pi:e:{for(C=v.key;m!==null;){if(m.key===C)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(p,m.sibling),m=o(m,v.children||[]),m.return=p,p=m;break e}else{n(p,m);break}else t(p,m);m=m.sibling}m=jf(v,p.mode,w),m.return=p,p=m}return a(p);case Ur:return C=v._init,x(p,m,C(v._payload),w)}if(os(v))return y(p,m,v,w);if(za(v))return h(p,m,v,w);Gl(p,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(p,m.sibling),m=o(m,v),m.return=p,p=m):(n(p,m),m=Mf(v,p.mode,w),m.return=p,p=m),a(p)):n(p,m)}return x}var aa=Qw(!0),Jw=Qw(!1),vl={},lr=vo(vl),Ks=vo(vl),qs=vo(vl);function Lo(e){if(e===vl)throw Error(V(174));return e}function lg(e,t){switch(De(qs,t),De(Ks,e),De(lr,vl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Bp(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Bp(t,e)}Ge(lr),De(lr,t)}function sa(){Ge(lr),Ge(Ks),Ge(qs)}function Zw(e){Lo(qs.current);var t=Lo(lr.current),n=Bp(t,e.type);t!==n&&(De(Ks,e),De(lr,n))}function cg(e){Ks.current===e&&(Ge(lr),Ge(Ks))}var Xe=vo(0);function su(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Pf=[];function ug(){for(var e=0;en?n:4,e(!0);var r=Rf.transition;Rf.transition={};try{e(!1),t()}finally{je=n,Rf.transition=r}}function m2(){return In().memoizedState}function f_(e,t,n){var r=lo(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},g2(e))v2(t,n);else if(n=Kw(e,t,n,r),n!==null){var o=Nt();Xn(n,e,r,o),y2(n,t,r)}}function p_(e,t,n){var r=lo(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(g2(e))v2(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,Jn(s,a)){var l=t.interleaved;l===null?(o.next=o,ag(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Kw(e,t,o,r),n!==null&&(o=Nt(),Xn(n,e,r,o),y2(n,t,r))}}function g2(e){var t=e.alternate;return e===Qe||t!==null&&t===Qe}function v2(e,t){ys=lu=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function y2(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Gm(e,n)}}var cu={readContext:An,useCallback:Pt,useContext:Pt,useEffect:Pt,useImperativeHandle:Pt,useInsertionEffect:Pt,useLayoutEffect:Pt,useMemo:Pt,useReducer:Pt,useRef:Pt,useState:Pt,useDebugValue:Pt,useDeferredValue:Pt,useTransition:Pt,useMutableSource:Pt,useSyncExternalStore:Pt,useId:Pt,unstable_isNewReconciler:!1},h_={readContext:An,useCallback:function(e,t){return tr().memoizedState=[e,t===void 0?null:t],e},useContext:An,useEffect:L0,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,kc(4194308,4,u2.bind(null,t,e),n)},useLayoutEffect:function(e,t){return kc(4194308,4,e,t)},useInsertionEffect:function(e,t){return kc(4,2,e,t)},useMemo:function(e,t){var n=tr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=tr();return t=n!==void 0?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=f_.bind(null,Qe,e),[r.memoizedState,e]},useRef:function(e){var t=tr();return e={current:e},t.memoizedState=e},useState:N0,useDebugValue:mg,useDeferredValue:function(e){return tr().memoizedState=e},useTransition:function(){var e=N0(!1),t=e[0];return e=d_.bind(null,e[1]),tr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Qe,o=tr();if(Ye){if(n===void 0)throw Error(V(407));n=n()}else{if(n=t(),bt===null)throw Error(V(349));Zo&30||n2(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,L0(o2.bind(null,r,i,e),[e]),r.flags|=2048,Qs(9,r2.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=tr(),t=bt.identifierPrefix;if(Ye){var n=xr,r=wr;n=(r&~(1<<32-Yn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ys++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[ir]=t,e[Gs]=r,k2(e,t,!1,!1),t.stateNode=e;e:{switch(a=Hp(n,r),n){case"dialog":Ve("cancel",e),Ve("close",e),o=r;break;case"iframe":case"object":case"embed":Ve("load",e),o=r;break;case"video":case"audio":for(o=0;oca&&(t.flags|=128,r=!0,Ua(i,!1),t.lanes=4194304)}else{if(!r)if(e=su(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ua(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Ye)return Rt(t),null}else 2*it()-i.renderingStartTime>ca&&n!==1073741824&&(t.flags|=128,r=!0,Ua(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=it(),t.sibling=null,n=Xe.current,De(Xe,r?n&1|2:n&1),t):(Rt(t),null);case 22:case 23:return xg(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ln&1073741824&&(Rt(t),t.subtreeFlags&6&&(t.flags|=8192)):Rt(t),null;case 24:return null;case 25:return null}throw Error(V(156,t.tag))}function S_(e,t){switch(tg(t),t.tag){case 1:return Yt(t.type)&&eu(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return sa(),Ge(qt),Ge(It),ug(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return cg(t),null;case 13:if(Ge(Xe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(V(340));ia()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ge(Xe),null;case 4:return sa(),null;case 10:return ig(t.type._context),null;case 22:case 23:return xg(),null;case 24:return null;default:return null}}var ql=!1,At=!1,E_=typeof WeakSet=="function"?WeakSet:Set,K=null;function Li(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){nt(e,t,r)}else n.current=null}function mh(e,t,n){try{n()}catch(r){nt(e,t,r)}}var K0=!1;function C_(e,t){if(Jp=Xc,e=Iw(),Zm(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var g;d!==n||o!==0&&d.nodeType!==3||(s=a+o),d!==i||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(g=d.firstChild)!==null;)f=d,d=g;for(;;){if(d===e)break t;if(f===n&&++c===o&&(s=a),f===i&&++u===r&&(l=a),(g=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=g}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Zp={focusedElem:e,selectionRange:n},Xc=!1,K=t;K!==null;)if(t=K,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,K=e;else for(;K!==null;){t=K;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var h=y.memoizedProps,x=y.memoizedState,p=t.stateNode,m=p.getSnapshotBeforeUpdate(t.elementType===t.type?h:Hn(t.type,h),x);p.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(V(163))}}catch(w){nt(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,K=e;break}K=t.return}return y=K0,K0=!1,y}function bs(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&mh(t,n,i)}o=o.next}while(o!==r)}}function Uu(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==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 gh(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function T2(e){var t=e.alternate;t!==null&&(e.alternate=null,T2(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ir],delete t[Gs],delete t[nh],delete t[a_],delete t[s_])),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 O2(e){return e.tag===5||e.tag===3||e.tag===4}function q0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||O2(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function vh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Zc));else if(r!==4&&(e=e.child,e!==null))for(vh(e,t,n),e=e.sibling;e!==null;)vh(e,t,n),e=e.sibling}function yh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(yh(e,t,n),e=e.sibling;e!==null;)yh(e,t,n),e=e.sibling}var St=null,Wn=!1;function Hr(e,t,n){for(n=n.child;n!==null;)A2(e,t,n),n=n.sibling}function A2(e,t,n){if(sr&&typeof sr.onCommitFiberUnmount=="function")try{sr.onCommitFiberUnmount(Nu,n)}catch{}switch(n.tag){case 5:At||Li(n,t);case 6:var r=St,o=Wn;St=null,Hr(e,t,n),St=r,Wn=o,St!==null&&(Wn?(e=St,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):St.removeChild(n.stateNode));break;case 18:St!==null&&(Wn?(e=St,n=n.stateNode,e.nodeType===8?$f(e.parentNode,n):e.nodeType===1&&$f(e,n),Ds(e)):$f(St,n.stateNode));break;case 4:r=St,o=Wn,St=n.stateNode.containerInfo,Wn=!0,Hr(e,t,n),St=r,Wn=o;break;case 0:case 11:case 14:case 15:if(!At&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&mh(n,t,a),o=o.next}while(o!==r)}Hr(e,t,n);break;case 1:if(!At&&(Li(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){nt(n,t,s)}Hr(e,t,n);break;case 21:Hr(e,t,n);break;case 22:n.mode&1?(At=(r=At)||n.memoizedState!==null,Hr(e,t,n),At=r):Hr(e,t,n);break;default:Hr(e,t,n)}}function Y0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new E_),t.forEach(function(r){var o=I_.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Bn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~i}if(r=o,r=it()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*$_(r/1960))-r,10e?16:e,Qr===null)var r=!1;else{if(e=Qr,Qr=null,fu=0,Ee&6)throw Error(V(331));var o=Ee;for(Ee|=4,K=e.current;K!==null;){var i=K,a=i.child;if(K.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lit()-bg?Uo(e,0):yg|=n),Xt(e,t)}function B2(e,t){t===0&&(e.mode&1?(t=zl,zl<<=1,!(zl&130023424)&&(zl=4194304)):t=1);var n=Nt();e=kr(e,t),e!==null&&(hl(e,t,n),Xt(e,n))}function A_(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),B2(e,n)}function I_(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(V(314))}r!==null&&r.delete(t),B2(e,n)}var D2;D2=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||qt.current)Ut=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ut=!1,w_(e,t,n);Ut=!!(e.flags&131072)}else Ut=!1,Ye&&t.flags&1048576&&Vw(t,ru,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Pc(e,t),e=t.pendingProps;var o=oa(t,It.current);Qi(t,n),o=fg(null,t,r,e,o,n);var i=pg();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Yt(r)?(i=!0,tu(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,sg(t),o.updater=Wu,t.stateNode=o,o._reactInternals=t,lh(t,r,e,n),t=dh(null,t,r,!0,i,n)):(t.tag=0,Ye&&i&&eg(t),Ft(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Pc(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=j_(r),e=Hn(r,e),o){case 0:t=uh(null,t,r,e,n);break e;case 1:t=V0(null,t,r,e,n);break e;case 11:t=H0(null,t,r,e,n);break e;case 14:t=W0(null,t,r,Hn(r.type,e),n);break e}throw Error(V(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Hn(r,o),uh(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Hn(r,o),V0(e,t,r,o,n);case 3:e:{if(C2(t),e===null)throw Error(V(387));r=t.pendingProps,i=t.memoizedState,o=i.element,qw(e,t),au(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=la(Error(V(423)),t),t=U0(e,t,r,n,o);break e}else if(r!==o){o=la(Error(V(424)),t),t=U0(e,t,r,n,o);break e}else for(un=io(t.stateNode.containerInfo.firstChild),pn=t,Ye=!0,Kn=null,n=Jw(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ia(),r===o){t=Pr(e,t,n);break e}Ft(e,t,r,n)}t=t.child}return t;case 5:return Zw(t),e===null&&ih(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,eh(r,o)?a=null:i!==null&&eh(r,i)&&(t.flags|=32),E2(e,t),Ft(e,t,a,n),t.child;case 6:return e===null&&ih(t),null;case 13:return _2(e,t,n);case 4:return lg(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=aa(t,null,r,n):Ft(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Hn(r,o),H0(e,t,r,o,n);case 7:return Ft(e,t,t.pendingProps,n),t.child;case 8:return Ft(e,t,t.pendingProps.children,n),t.child;case 12:return Ft(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,De(ou,r._currentValue),r._currentValue=a,i!==null)if(Jn(i.value,a)){if(i.children===o.children&&!qt.current){t=Pr(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Sr(-1,n&-n),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),ah(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(V(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),ah(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Ft(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Qi(t,n),o=An(o),r=r(o),t.flags|=1,Ft(e,t,r,n),t.child;case 14:return r=t.type,o=Hn(r,t.pendingProps),o=Hn(r.type,o),W0(e,t,r,o,n);case 15:return x2(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Hn(r,o),Pc(e,t),t.tag=1,Yt(r)?(e=!0,tu(t)):e=!1,Qi(t,n),Xw(t,r,o),lh(t,r,o,n),dh(null,t,r,!0,e,n);case 19:return $2(e,t,n);case 22:return S2(e,t,n)}throw Error(V(156,t.tag))};function H2(e,t){return hw(e,t)}function M_(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 Rn(e,t,n,r){return new M_(e,t,n,r)}function Eg(e){return e=e.prototype,!(!e||!e.isReactComponent)}function j_(e){if(typeof e=="function")return Eg(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Hm)return 11;if(e===Wm)return 14}return 2}function co(e,t){var n=e.alternate;return n===null?(n=Rn(e.tag,t,e.key,e.mode),n.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=e.flags&14680064,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Oc(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")Eg(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Ri:return Go(n.children,o,i,t);case Dm:a=8,o|=8;break;case Ap:return e=Rn(12,n,t,o|2),e.elementType=Ap,e.lanes=i,e;case Ip:return e=Rn(13,n,t,o),e.elementType=Ip,e.lanes=i,e;case Mp:return e=Rn(19,n,t,o),e.elementType=Mp,e.lanes=i,e;case Qb:return Ku(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Yb:a=10;break e;case Xb:a=9;break e;case Hm:a=11;break e;case Wm:a=14;break e;case Ur:a=16,r=null;break e}throw Error(V(130,e==null?e:typeof e,""))}return t=Rn(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Go(e,t,n,r){return e=Rn(7,e,r,t),e.lanes=n,e}function Ku(e,t,n,r){return e=Rn(22,e,r,t),e.elementType=Qb,e.lanes=n,e.stateNode={isHidden:!1},e}function Mf(e,t,n){return e=Rn(6,e,null,t),e.lanes=n,e}function jf(e,t,n){return t=Rn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function F_(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=mf(0),this.expirationTimes=mf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mf(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Cg(e,t,n,r,o,i,a,s,l){return e=new F_(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Rn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},sg(i),e}function N_(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(G2)}catch(e){console.error(e)}}G2(),Vb.exports=bn;var Ju=Vb.exports;const Bi=ju(Ju),H_=Im({__proto__:null,default:Bi},[Ju]);var r1=Ju;Tp.createRoot=r1.createRoot,Tp.hydrateRoot=r1.hydrateRoot;const W_="modulepreload",V_=function(e){return"/"+e},o1={},Zu=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=V_(i),i in o1)return;o1[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!r)for(let u=o.length-1;u>=0;u--){const d=o[u];if(d.href===i&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const c=document.createElement("link");if(c.rel=a?"stylesheet":W_,a||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),a)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})};var U_=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(r.next(u))}catch(d){a(d)}}function l(u){try{c(r.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})};const G_=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>U_(void 0,void 0,void 0,function*(){return yield(yield Zu(()=>Promise.resolve().then(()=>ed),void 0)).fetch(...n)}):t=fetch,(...n)=>t(...n)};class Pg extends Error{constructor(t,n="FunctionsError",r){super(t),this.name=n,this.context=r}}class K_ extends Pg{constructor(t){super("Failed to send a request to the Edge Function","FunctionsFetchError",t)}}class q_ extends Pg{constructor(t){super("Relay Error invoking the Edge Function","FunctionsRelayError",t)}}class Y_ extends Pg{constructor(t){super("Edge Function returned a non-2xx status code","FunctionsHttpError",t)}}var X_=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(r.next(u))}catch(d){a(d)}}function l(u){try{c(r.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})};class Q_{constructor(t,{headers:n={},customFetch:r}={}){this.url=t,this.headers=n,this.fetch=G_(r)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t,n={}){var r;return X_(this,void 0,void 0,function*(){try{const{headers:o,method:i,body:a}=n;let s={},l;a&&(o&&!Object.prototype.hasOwnProperty.call(o,"Content-Type")||!o)&&(typeof Blob<"u"&&a instanceof Blob||a instanceof ArrayBuffer?(s["Content-Type"]="application/octet-stream",l=a):typeof a=="string"?(s["Content-Type"]="text/plain",l=a):typeof FormData<"u"&&a instanceof FormData?l=a:(s["Content-Type"]="application/json",l=JSON.stringify(a)));const c=yield this.fetch(`${this.url}/${t}`,{method:i||"POST",headers:Object.assign(Object.assign(Object.assign({},s),this.headers),o),body:l}).catch(g=>{throw new K_(g)}),u=c.headers.get("x-relay-error");if(u&&u==="true")throw new q_(c);if(!c.ok)throw new Y_(c);let d=((r=c.headers.get("Content-Type"))!==null&&r!==void 0?r:"text/plain").split(";")[0].trim(),f;return d==="application/json"?f=yield c.json():d==="application/octet-stream"?f=yield c.blob():d==="multipart/form-data"?f=yield c.formData():f=yield c.text(),{data:f,error:null}}catch(o){return{data:null,error:o}}})}}var Eh={exports:{}};(function(e,t){var n=typeof self<"u"?self:gC,r=function(){function i(){this.fetch=!1,this.DOMException=n.DOMException}return i.prototype=n,new i}();(function(i){(function(a){var s={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function l(_){return _&&DataView.prototype.isPrototypeOf(_)}if(s.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(_){return _&&c.indexOf(Object.prototype.toString.call(_))>-1};function d(_){if(typeof _!="string"&&(_=String(_)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(_))throw new TypeError("Invalid character in header field name");return _.toLowerCase()}function f(_){return typeof _!="string"&&(_=String(_)),_}function g(_){var $={next:function(){var A=_.shift();return{done:A===void 0,value:A}}};return s.iterable&&($[Symbol.iterator]=function(){return $}),$}function y(_){this.map={},_ instanceof y?_.forEach(function($,A){this.append(A,$)},this):Array.isArray(_)?_.forEach(function($){this.append($[0],$[1])},this):_&&Object.getOwnPropertyNames(_).forEach(function($){this.append($,_[$])},this)}y.prototype.append=function(_,$){_=d(_),$=f($);var A=this.map[_];this.map[_]=A?A+", "+$:$},y.prototype.delete=function(_){delete this.map[d(_)]},y.prototype.get=function(_){return _=d(_),this.has(_)?this.map[_]:null},y.prototype.has=function(_){return this.map.hasOwnProperty(d(_))},y.prototype.set=function(_,$){this.map[d(_)]=f($)},y.prototype.forEach=function(_,$){for(var A in this.map)this.map.hasOwnProperty(A)&&_.call($,this.map[A],A,this)},y.prototype.keys=function(){var _=[];return this.forEach(function($,A){_.push(A)}),g(_)},y.prototype.values=function(){var _=[];return this.forEach(function($){_.push($)}),g(_)},y.prototype.entries=function(){var _=[];return this.forEach(function($,A){_.push([A,$])}),g(_)},s.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function h(_){if(_.bodyUsed)return Promise.reject(new TypeError("Already read"));_.bodyUsed=!0}function x(_){return new Promise(function($,A){_.onload=function(){$(_.result)},_.onerror=function(){A(_.error)}})}function p(_){var $=new FileReader,A=x($);return $.readAsArrayBuffer(_),A}function m(_){var $=new FileReader,A=x($);return $.readAsText(_),A}function v(_){for(var $=new Uint8Array(_),A=new Array($.length),N=0;N<$.length;N++)A[N]=String.fromCharCode($[N]);return A.join("")}function w(_){if(_.slice)return _.slice(0);var $=new Uint8Array(_.byteLength);return $.set(new Uint8Array(_)),$.buffer}function S(){return this.bodyUsed=!1,this._initBody=function(_){this._bodyInit=_,_?typeof _=="string"?this._bodyText=_:s.blob&&Blob.prototype.isPrototypeOf(_)?this._bodyBlob=_:s.formData&&FormData.prototype.isPrototypeOf(_)?this._bodyFormData=_:s.searchParams&&URLSearchParams.prototype.isPrototypeOf(_)?this._bodyText=_.toString():s.arrayBuffer&&s.blob&&l(_)?(this._bodyArrayBuffer=w(_.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(_)||u(_))?this._bodyArrayBuffer=w(_):this._bodyText=_=Object.prototype.toString.call(_):this._bodyText="",this.headers.get("content-type")||(typeof _=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):s.searchParams&&URLSearchParams.prototype.isPrototypeOf(_)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s.blob&&(this.blob=function(){var _=h(this);if(_)return _;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var _=h(this);if(_)return _;if(this._bodyBlob)return m(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(v(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s.formData&&(this.formData=function(){return this.text().then(M)}),this.json=function(){return this.text().then(JSON.parse)},this}var C=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function E(_){var $=_.toUpperCase();return C.indexOf($)>-1?$:_}function P(_,$){$=$||{};var A=$.body;if(_ instanceof P){if(_.bodyUsed)throw new TypeError("Already read");this.url=_.url,this.credentials=_.credentials,$.headers||(this.headers=new y(_.headers)),this.method=_.method,this.mode=_.mode,this.signal=_.signal,!A&&_._bodyInit!=null&&(A=_._bodyInit,_.bodyUsed=!0)}else this.url=String(_);if(this.credentials=$.credentials||this.credentials||"same-origin",($.headers||!this.headers)&&(this.headers=new y($.headers)),this.method=E($.method||this.method||"GET"),this.mode=$.mode||this.mode||null,this.signal=$.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&A)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(A)}P.prototype.clone=function(){return new P(this,{body:this._bodyInit})};function M(_){var $=new FormData;return _.trim().split("&").forEach(function(A){if(A){var N=A.split("="),j=N.shift().replace(/\+/g," "),L=N.join("=").replace(/\+/g," ");$.append(decodeURIComponent(j),decodeURIComponent(L))}}),$}function k(_){var $=new y,A=_.replace(/\r?\n[\t ]+/g," ");return A.split(/\r?\n/).forEach(function(N){var j=N.split(":"),L=j.shift().trim();if(L){var z=j.join(":").trim();$.append(L,z)}}),$}S.call(P.prototype);function I(_,$){$||($={}),this.type="default",this.status=$.status===void 0?200:$.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in $?$.statusText:"OK",this.headers=new y($.headers),this.url=$.url||"",this._initBody(_)}S.call(I.prototype),I.prototype.clone=function(){return new I(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},I.error=function(){var _=new I(null,{status:0,statusText:""});return _.type="error",_};var O=[301,302,303,307,308];I.redirect=function(_,$){if(O.indexOf($)===-1)throw new RangeError("Invalid status code");return new I(null,{status:$,headers:{location:_}})},a.DOMException=i.DOMException;try{new a.DOMException}catch{a.DOMException=function($,A){this.message=$,this.name=A;var N=Error($);this.stack=N.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function T(_,$){return new Promise(function(A,N){var j=new P(_,$);if(j.signal&&j.signal.aborted)return N(new a.DOMException("Aborted","AbortError"));var L=new XMLHttpRequest;function z(){L.abort()}L.onload=function(){var D={status:L.status,statusText:L.statusText,headers:k(L.getAllResponseHeaders()||"")};D.url="responseURL"in L?L.responseURL:D.headers.get("X-Request-URL");var B="response"in L?L.response:L.responseText;A(new I(B,D))},L.onerror=function(){N(new TypeError("Network request failed"))},L.ontimeout=function(){N(new TypeError("Network request failed"))},L.onabort=function(){N(new a.DOMException("Aborted","AbortError"))},L.open(j.method,j.url,!0),j.credentials==="include"?L.withCredentials=!0:j.credentials==="omit"&&(L.withCredentials=!1),"responseType"in L&&s.blob&&(L.responseType="blob"),j.headers.forEach(function(D,B){L.setRequestHeader(B,D)}),j.signal&&(j.signal.addEventListener("abort",z),L.onreadystatechange=function(){L.readyState===4&&j.signal.removeEventListener("abort",z)}),L.send(typeof j._bodyInit>"u"?null:j._bodyInit)})}return T.polyfill=!0,i.fetch||(i.fetch=T,i.Headers=y,i.Request=P,i.Response=I),a.Headers=y,a.Request=P,a.Response=I,a.fetch=T,Object.defineProperty(a,"__esModule",{value:!0}),a})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=r;t=o.fetch,t.default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t})(Eh,Eh.exports);var Rg=Eh.exports;const Tg=ju(Rg),ed=Im({__proto__:null,default:Tg},[Rg]);class J_{constructor(t){this.shouldThrowOnError=!1,this.method=t.method,this.url=t.url,this.headers=t.headers,this.schema=t.schema,this.body=t.body,this.shouldThrowOnError=t.shouldThrowOnError,this.signal=t.signal,this.isMaybeSingle=t.isMaybeSingle,t.fetch?this.fetch=t.fetch:typeof fetch>"u"?this.fetch=Tg:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}then(t,n){this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers["Accept-Profile"]=this.schema:this.headers["Content-Profile"]=this.schema),this.method!=="GET"&&this.method!=="HEAD"&&(this.headers["Content-Type"]="application/json");const r=this.fetch;let o=r(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async i=>{var a,s,l;let c=null,u=null,d=null,f=i.status,g=i.statusText;if(i.ok){if(this.method!=="HEAD"){const p=await i.text();p===""||(this.headers.Accept==="text/csv"||this.headers.Accept&&this.headers.Accept.includes("application/vnd.pgrst.plan+text")?u=p:u=JSON.parse(p))}const h=(a=this.headers.Prefer)===null||a===void 0?void 0:a.match(/count=(exact|planned|estimated)/),x=(s=i.headers.get("content-range"))===null||s===void 0?void 0:s.split("/");h&&x&&x.length>1&&(d=parseInt(x[1])),this.isMaybeSingle&&this.method==="GET"&&Array.isArray(u)&&(u.length>1?(c={code:"PGRST116",details:`Results contain ${u.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},u=null,d=null,f=406,g="Not Acceptable"):u.length===1?u=u[0]:u=null)}else{const h=await i.text();try{c=JSON.parse(h),Array.isArray(c)&&i.status===404&&(u=[],c=null,f=200,g="OK")}catch{i.status===404&&h===""?(f=204,g="No Content"):c={message:h}}if(c&&this.isMaybeSingle&&(!((l=c==null?void 0:c.details)===null||l===void 0)&&l.includes("Results contain 0 rows"))&&(c=null,f=200,g="OK"),c&&this.shouldThrowOnError)throw c}return{error:c,data:u,count:d,status:f,statusText:g}});return this.shouldThrowOnError||(o=o.catch(i=>{var a,s,l;return{error:{message:`${(a=i==null?void 0:i.name)!==null&&a!==void 0?a:"FetchError"}: ${i==null?void 0:i.message}`,details:`${(s=i==null?void 0:i.stack)!==null&&s!==void 0?s:""}`,hint:"",code:`${(l=i==null?void 0:i.code)!==null&&l!==void 0?l:""}`},data:null,count:null,status:0,statusText:""}})),o.then(t,n)}}class Z_ extends J_{select(t){let n=!1;const r=(t??"*").split("").map(o=>/\s/.test(o)&&!n?"":(o==='"'&&(n=!n),o)).join("");return this.url.searchParams.set("select",r),this.headers.Prefer&&(this.headers.Prefer+=","),this.headers.Prefer+="return=representation",this}order(t,{ascending:n=!0,nullsFirst:r,foreignTable:o}={}){const i=o?`${o}.order`:"order",a=this.url.searchParams.get(i);return this.url.searchParams.set(i,`${a?`${a},`:""}${t}.${n?"asc":"desc"}${r===void 0?"":r?".nullsfirst":".nullslast"}`),this}limit(t,{foreignTable:n}={}){const r=typeof n>"u"?"limit":`${n}.limit`;return this.url.searchParams.set(r,`${t}`),this}range(t,n,{foreignTable:r}={}){const o=typeof r>"u"?"offset":`${r}.offset`,i=typeof r>"u"?"limit":`${r}.limit`;return this.url.searchParams.set(o,`${t}`),this.url.searchParams.set(i,`${n-t+1}`),this}abortSignal(t){return this.signal=t,this}single(){return this.headers.Accept="application/vnd.pgrst.object+json",this}maybeSingle(){return this.method==="GET"?this.headers.Accept="application/json":this.headers.Accept="application/vnd.pgrst.object+json",this.isMaybeSingle=!0,this}csv(){return this.headers.Accept="text/csv",this}geojson(){return this.headers.Accept="application/geo+json",this}explain({analyze:t=!1,verbose:n=!1,settings:r=!1,buffers:o=!1,wal:i=!1,format:a="text"}={}){const s=[t?"analyze":null,n?"verbose":null,r?"settings":null,o?"buffers":null,i?"wal":null].filter(Boolean).join("|"),l=this.headers.Accept;return this.headers.Accept=`application/vnd.pgrst.plan+${a}; for="${l}"; options=${s};`,a==="json"?this:this}rollback(){var t;return((t=this.headers.Prefer)!==null&&t!==void 0?t:"").trim().length>0?this.headers.Prefer+=",tx=rollback":this.headers.Prefer="tx=rollback",this}returns(){return this}}class _i extends Z_{eq(t,n){return this.url.searchParams.append(t,`eq.${n}`),this}neq(t,n){return this.url.searchParams.append(t,`neq.${n}`),this}gt(t,n){return this.url.searchParams.append(t,`gt.${n}`),this}gte(t,n){return this.url.searchParams.append(t,`gte.${n}`),this}lt(t,n){return this.url.searchParams.append(t,`lt.${n}`),this}lte(t,n){return this.url.searchParams.append(t,`lte.${n}`),this}like(t,n){return this.url.searchParams.append(t,`like.${n}`),this}likeAllOf(t,n){return this.url.searchParams.append(t,`like(all).{${n.join(",")}}`),this}likeAnyOf(t,n){return this.url.searchParams.append(t,`like(any).{${n.join(",")}}`),this}ilike(t,n){return this.url.searchParams.append(t,`ilike.${n}`),this}ilikeAllOf(t,n){return this.url.searchParams.append(t,`ilike(all).{${n.join(",")}}`),this}ilikeAnyOf(t,n){return this.url.searchParams.append(t,`ilike(any).{${n.join(",")}}`),this}is(t,n){return this.url.searchParams.append(t,`is.${n}`),this}in(t,n){const r=n.map(o=>typeof o=="string"&&new RegExp("[,()]").test(o)?`"${o}"`:`${o}`).join(",");return this.url.searchParams.append(t,`in.(${r})`),this}contains(t,n){return typeof n=="string"?this.url.searchParams.append(t,`cs.${n}`):Array.isArray(n)?this.url.searchParams.append(t,`cs.{${n.join(",")}}`):this.url.searchParams.append(t,`cs.${JSON.stringify(n)}`),this}containedBy(t,n){return typeof n=="string"?this.url.searchParams.append(t,`cd.${n}`):Array.isArray(n)?this.url.searchParams.append(t,`cd.{${n.join(",")}}`):this.url.searchParams.append(t,`cd.${JSON.stringify(n)}`),this}rangeGt(t,n){return this.url.searchParams.append(t,`sr.${n}`),this}rangeGte(t,n){return this.url.searchParams.append(t,`nxl.${n}`),this}rangeLt(t,n){return this.url.searchParams.append(t,`sl.${n}`),this}rangeLte(t,n){return this.url.searchParams.append(t,`nxr.${n}`),this}rangeAdjacent(t,n){return this.url.searchParams.append(t,`adj.${n}`),this}overlaps(t,n){return typeof n=="string"?this.url.searchParams.append(t,`ov.${n}`):this.url.searchParams.append(t,`ov.{${n.join(",")}}`),this}textSearch(t,n,{config:r,type:o}={}){let i="";o==="plain"?i="pl":o==="phrase"?i="ph":o==="websearch"&&(i="w");const a=r===void 0?"":`(${r})`;return this.url.searchParams.append(t,`${i}fts${a}.${n}`),this}match(t){return Object.entries(t).forEach(([n,r])=>{this.url.searchParams.append(n,`eq.${r}`)}),this}not(t,n,r){return this.url.searchParams.append(t,`not.${n}.${r}`),this}or(t,{foreignTable:n}={}){const r=n?`${n}.or`:"or";return this.url.searchParams.append(r,`(${t})`),this}filter(t,n,r){return this.url.searchParams.append(t,`${n}.${r}`),this}}class e4{constructor(t,{headers:n={},schema:r,fetch:o}){this.url=t,this.headers=n,this.schema=r,this.fetch=o}select(t,{head:n=!1,count:r}={}){const o=n?"HEAD":"GET";let i=!1;const a=(t??"*").split("").map(s=>/\s/.test(s)&&!i?"":(s==='"'&&(i=!i),s)).join("");return this.url.searchParams.set("select",a),r&&(this.headers.Prefer=`count=${r}`),new _i({method:o,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}insert(t,{count:n,defaultToNull:r=!0}={}){const o="POST",i=[];if(this.headers.Prefer&&i.push(this.headers.Prefer),n&&i.push(`count=${n}`),r||i.push("missing=default"),this.headers.Prefer=i.join(","),Array.isArray(t)){const a=t.reduce((s,l)=>s.concat(Object.keys(l)),[]);if(a.length>0){const s=[...new Set(a)].map(l=>`"${l}"`);this.url.searchParams.set("columns",s.join(","))}}return new _i({method:o,url:this.url,headers:this.headers,schema:this.schema,body:t,fetch:this.fetch,allowEmpty:!1})}upsert(t,{onConflict:n,ignoreDuplicates:r=!1,count:o,defaultToNull:i=!0}={}){const a="POST",s=[`resolution=${r?"ignore":"merge"}-duplicates`];if(n!==void 0&&this.url.searchParams.set("on_conflict",n),this.headers.Prefer&&s.push(this.headers.Prefer),o&&s.push(`count=${o}`),i||s.push("missing=default"),this.headers.Prefer=s.join(","),Array.isArray(t)){const l=t.reduce((c,u)=>c.concat(Object.keys(u)),[]);if(l.length>0){const c=[...new Set(l)].map(u=>`"${u}"`);this.url.searchParams.set("columns",c.join(","))}}return new _i({method:a,url:this.url,headers:this.headers,schema:this.schema,body:t,fetch:this.fetch,allowEmpty:!1})}update(t,{count:n}={}){const r="PATCH",o=[];return this.headers.Prefer&&o.push(this.headers.Prefer),n&&o.push(`count=${n}`),this.headers.Prefer=o.join(","),new _i({method:r,url:this.url,headers:this.headers,schema:this.schema,body:t,fetch:this.fetch,allowEmpty:!1})}delete({count:t}={}){const n="DELETE",r=[];return t&&r.push(`count=${t}`),this.headers.Prefer&&r.unshift(this.headers.Prefer),this.headers.Prefer=r.join(","),new _i({method:n,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}}const t4="1.7.2",n4={"X-Client-Info":`postgrest-js/${t4}`};class r4{constructor(t,{headers:n={},schema:r,fetch:o}={}){this.url=t,this.headers=Object.assign(Object.assign({},n4),n),this.schema=r,this.fetch=o}from(t){const n=new URL(`${this.url}/${t}`);return new e4(n,{headers:Object.assign({},this.headers),schema:this.schema,fetch:this.fetch})}rpc(t,n={},{head:r=!1,count:o}={}){let i;const a=new URL(`${this.url}/rpc/${t}`);let s;r?(i="HEAD",Object.entries(n).forEach(([c,u])=>{a.searchParams.append(c,`${u}`)})):(i="POST",s=n);const l=Object.assign({},this.headers);return o&&(l.Prefer=`count=${o}`),new _i({method:i,url:a,headers:l,schema:this.schema,body:s,fetch:this.fetch,allowEmpty:!1})}}var Ff,i1;function o4(){if(i1)return Ff;i1=1;var e=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};return Ff=function(){if(this)return this;if(typeof globalThis=="object"&&globalThis)return globalThis;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return e()}try{return __global__||e()}finally{delete Object.prototype.__global__}}(),Ff}const i4="websocket",a4="Websocket Client & Server Library implementing the WebSocket protocol as specified in RFC 6455.",s4=["websocket","websockets","socket","networking","comet","push","RFC-6455","realtime","server","client"],l4="Brian McKelvey (https://github.com/theturtle32)",c4=["Iñaki Baz Castillo (http://dev.sipdoc.net)"],u4="1.0.34",d4={type:"git",url:"https://github.com/theturtle32/WebSocket-Node.git"},f4="https://github.com/theturtle32/WebSocket-Node",p4={node:">=4.0.0"},h4={bufferutil:"^4.0.1",debug:"^2.2.0","es5-ext":"^0.10.50","typedarray-to-buffer":"^3.1.5","utf-8-validate":"^5.0.2",yaeti:"^0.0.6"},m4={"buffer-equal":"^1.0.0",gulp:"^4.0.2","gulp-jshint":"^2.0.4","jshint-stylish":"^2.2.1",jshint:"^2.0.0",tape:"^4.9.1"},g4={verbose:!1},v4={test:"tape test/unit/*.js",gulp:"gulp"},y4="index",b4={lib:"./lib"},w4="lib/browser.js",x4="Apache-2.0",S4={name:i4,description:a4,keywords:s4,author:l4,contributors:c4,version:u4,repository:d4,homepage:f4,engines:p4,dependencies:h4,devDependencies:m4,config:g4,scripts:v4,main:y4,directories:b4,browser:w4,license:x4};var E4=S4.version,Oo;if(typeof globalThis=="object")Oo=globalThis;else try{Oo=o4()}catch{}finally{if(!Oo&&typeof window<"u"&&(Oo=window),!Oo)throw new Error("Could not determine global this")}var Zs=Oo.WebSocket||Oo.MozWebSocket,C4=E4;function K2(e,t){var n;return t?n=new Zs(e,t):n=new Zs(e),n}Zs&&["CONNECTING","OPEN","CLOSING","CLOSED"].forEach(function(e){Object.defineProperty(K2,e,{get:function(){return Zs[e]}})});var _4={w3cwebsocket:Zs?K2:null,version:C4};const $4="2.7.3",k4={"X-Client-Info":`realtime-js/${$4}`},P4="1.0.0",q2=1e4,R4=1e3;var Ss;(function(e){e[e.connecting=0]="connecting",e[e.open=1]="open",e[e.closing=2]="closing",e[e.closed=3]="closed"})(Ss||(Ss={}));var sn;(function(e){e.closed="closed",e.errored="errored",e.joined="joined",e.joining="joining",e.leaving="leaving"})(sn||(sn={}));var Vn;(function(e){e.close="phx_close",e.error="phx_error",e.join="phx_join",e.reply="phx_reply",e.leave="phx_leave",e.access_token="access_token"})(Vn||(Vn={}));var Ch;(function(e){e.websocket="websocket"})(Ch||(Ch={}));var Ao;(function(e){e.Connecting="connecting",e.Open="open",e.Closing="closing",e.Closed="closed"})(Ao||(Ao={}));class Y2{constructor(t,n){this.callback=t,this.timerCalc=n,this.timer=void 0,this.tries=0,this.callback=t,this.timerCalc=n}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}class T4{constructor(){this.HEADER_LENGTH=1}decode(t,n){return t.constructor===ArrayBuffer?n(this._binaryDecode(t)):n(typeof t=="string"?JSON.parse(t):{})}_binaryDecode(t){const n=new DataView(t),r=new TextDecoder;return this._decodeBroadcast(t,n,r)}_decodeBroadcast(t,n,r){const o=n.getUint8(1),i=n.getUint8(2);let a=this.HEADER_LENGTH+2;const s=r.decode(t.slice(a,a+o));a=a+o;const l=r.decode(t.slice(a,a+i));a=a+i;const c=JSON.parse(r.decode(t.slice(a,t.byteLength)));return{ref:null,topic:s,event:l,payload:c}}}class Nf{constructor(t,n,r={},o=q2){this.channel=t,this.event=n,this.payload=r,this.timeout=o,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null,this.rateLimited=!1}resend(t){this.timeout=t,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){if(this._hasReceived("timeout"))return;this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()})==="rate limited"&&(this.rateLimited=!0)}updatePayload(t){this.payload=Object.assign(Object.assign({},this.payload),t)}receive(t,n){var r;return this._hasReceived(t)&&n((r=this.receivedResp)===null||r===void 0?void 0:r.response),this.recHooks.push({status:t,callback:n}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const t=n=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=n,this._matchReceive(n)};this.channel._on(this.refEvent,{},t),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(t,n){this.refEvent&&this.channel._trigger(this.refEvent,{status:t,response:n})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:t,response:n}){this.recHooks.filter(r=>r.status===t).forEach(r=>r.callback(n))}_hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}}var a1;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(a1||(a1={}));class Es{constructor(t,n){this.channel=t,this.state={},this.pendingDiffs=[],this.joinRef=null,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const r=(n==null?void 0:n.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(r.state,{},o=>{const{onJoin:i,onLeave:a,onSync:s}=this.caller;this.joinRef=this.channel._joinRef(),this.state=Es.syncState(this.state,o,i,a),this.pendingDiffs.forEach(l=>{this.state=Es.syncDiff(this.state,l,i,a)}),this.pendingDiffs=[],s()}),this.channel._on(r.diff,{},o=>{const{onJoin:i,onLeave:a,onSync:s}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(o):(this.state=Es.syncDiff(this.state,o,i,a),s())}),this.onJoin((o,i,a)=>{this.channel._trigger("presence",{event:"join",key:o,currentPresences:i,newPresences:a})}),this.onLeave((o,i,a)=>{this.channel._trigger("presence",{event:"leave",key:o,currentPresences:i,leftPresences:a})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(t,n,r,o){const i=this.cloneDeep(t),a=this.transformState(n),s={},l={};return this.map(i,(c,u)=>{a[c]||(l[c]=u)}),this.map(a,(c,u)=>{const d=i[c];if(d){const f=u.map(x=>x.presence_ref),g=d.map(x=>x.presence_ref),y=u.filter(x=>g.indexOf(x.presence_ref)<0),h=d.filter(x=>f.indexOf(x.presence_ref)<0);y.length>0&&(s[c]=y),h.length>0&&(l[c]=h)}else s[c]=u}),this.syncDiff(i,{joins:s,leaves:l},r,o)}static syncDiff(t,n,r,o){const{joins:i,leaves:a}={joins:this.transformState(n.joins),leaves:this.transformState(n.leaves)};return r||(r=()=>{}),o||(o=()=>{}),this.map(i,(s,l)=>{var c;const u=(c=t[s])!==null&&c!==void 0?c:[];if(t[s]=this.cloneDeep(l),u.length>0){const d=t[s].map(g=>g.presence_ref),f=u.filter(g=>d.indexOf(g.presence_ref)<0);t[s].unshift(...f)}r(s,u,l)}),this.map(a,(s,l)=>{let c=t[s];if(!c)return;const u=l.map(d=>d.presence_ref);c=c.filter(d=>u.indexOf(d.presence_ref)<0),t[s]=c,o(s,c,l),c.length===0&&delete t[s]}),t}static map(t,n){return Object.getOwnPropertyNames(t).map(r=>n(r,t[r]))}static transformState(t){return t=this.cloneDeep(t),Object.getOwnPropertyNames(t).reduce((n,r)=>{const o=t[r];return"metas"in o?n[r]=o.metas.map(i=>(i.presence_ref=i.phx_ref,delete i.phx_ref,delete i.phx_ref_prev,i)):n[r]=o,n},{})}static cloneDeep(t){return JSON.parse(JSON.stringify(t))}onJoin(t){this.caller.onJoin=t}onLeave(t){this.caller.onLeave=t}onSync(t){this.caller.onSync=t}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var Be;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(Be||(Be={}));const s1=(e,t,n={})=>{var r;const o=(r=n.skipTypes)!==null&&r!==void 0?r:[];return Object.keys(t).reduce((i,a)=>(i[a]=O4(a,e,t,o),i),{})},O4=(e,t,n,r)=>{const o=t.find(s=>s.name===e),i=o==null?void 0:o.type,a=n[e];return i&&!r.includes(i)?X2(i,a):_h(a)},X2=(e,t)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return j4(t,n)}switch(e){case Be.bool:return A4(t);case Be.float4:case Be.float8:case Be.int2:case Be.int4:case Be.int8:case Be.numeric:case Be.oid:return I4(t);case Be.json:case Be.jsonb:return M4(t);case Be.timestamp:return F4(t);case Be.abstime:case Be.date:case Be.daterange:case Be.int4range:case Be.int8range:case Be.money:case Be.reltime:case Be.text:case Be.time:case Be.timestamptz:case Be.timetz:case Be.tsrange:case Be.tstzrange:return _h(t);default:return _h(t)}},_h=e=>e,A4=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},I4=e=>{if(typeof e=="string"){const t=parseFloat(e);if(!Number.isNaN(t))return t}return e},M4=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch(t){return console.log(`JSON parse error: ${t}`),e}return e},j4=(e,t)=>{if(typeof e!="string")return e;const n=e.length-1,r=e[n];if(e[0]==="{"&&r==="}"){let i;const a=e.slice(1,n);try{i=JSON.parse("["+a+"]")}catch{i=a?a.split(","):[]}return i.map(s=>X2(t,s))}return e},F4=e=>typeof e=="string"?e.replace(" ","T"):e;var l1=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(r.next(u))}catch(d){a(d)}}function l(u){try{c(r.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})},c1;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(c1||(c1={}));var u1;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes"})(u1||(u1={}));var d1;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(d1||(d1={}));class Og{constructor(t,n={config:{}},r){this.topic=t,this.params=n,this.socket=r,this.bindings={},this.state=sn.closed,this.joinedOnce=!1,this.pushBuffer=[],this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:""}},n.config),this.timeout=this.socket.timeout,this.joinPush=new Nf(this,Vn.join,this.params,this.timeout),this.rejoinTimer=new Y2(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=sn.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(o=>o.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=sn.closed,this.socket._remove(this)}),this._onError(o=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,o),this.state=sn.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=sn.errored,this.rejoinTimer.scheduleTimeout())}),this._on(Vn.reply,{},(o,i)=>{this._trigger(this._replyEventName(i),o)}),this.presence=new Es(this)}subscribe(t,n=this.timeout){var r,o;if(this.joinedOnce)throw"tried to subscribe multiple times. 'subscribe' can only be called a single time per channel instance";{const{config:{broadcast:i,presence:a}}=this.params;this._onError(c=>t&&t("CHANNEL_ERROR",c)),this._onClose(()=>t&&t("CLOSED"));const s={},l={broadcast:i,presence:a,postgres_changes:(o=(r=this.bindings.postgres_changes)===null||r===void 0?void 0:r.map(c=>c.filter))!==null&&o!==void 0?o:[]};this.socket.accessToken&&(s.access_token=this.socket.accessToken),this.updateJoinPayload(Object.assign({config:l},s)),this.joinedOnce=!0,this._rejoin(n),this.joinPush.receive("ok",({postgres_changes:c})=>{var u;if(this.socket.accessToken&&this.socket.setAuth(this.socket.accessToken),c===void 0){t&&t("SUBSCRIBED");return}else{const d=this.bindings.postgres_changes,f=(u=d==null?void 0:d.length)!==null&&u!==void 0?u:0,g=[];for(let y=0;y{t&&t("CHANNEL_ERROR",new Error(JSON.stringify(Object.values(c).join(", ")||"error")))}).receive("timeout",()=>{t&&t("TIMED_OUT")})}return this}presenceState(){return this.presence.state}track(t,n={}){return l1(this,void 0,void 0,function*(){return yield this.send({type:"presence",event:"track",payload:t},n.timeout||this.timeout)})}untrack(t={}){return l1(this,void 0,void 0,function*(){return yield this.send({type:"presence",event:"untrack"},t)})}on(t,n,r){return this._on(t,n,r)}send(t,n={}){return new Promise(r=>{var o,i,a;const s=this._push(t.type,t,n.timeout||this.timeout);s.rateLimited&&r("rate limited"),t.type==="broadcast"&&!(!((a=(i=(o=this.params)===null||o===void 0?void 0:o.config)===null||i===void 0?void 0:i.broadcast)===null||a===void 0)&&a.ack)&&r("ok"),s.receive("ok",()=>r("ok")),s.receive("timeout",()=>r("timed out"))})}updateJoinPayload(t){this.joinPush.updatePayload(t)}unsubscribe(t=this.timeout){this.state=sn.leaving;const n=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(Vn.close,"leave",this._joinRef())};return this.rejoinTimer.reset(),this.joinPush.destroy(),new Promise(r=>{const o=new Nf(this,Vn.leave,{},t);o.receive("ok",()=>{n(),r("ok")}).receive("timeout",()=>{n(),r("timed out")}).receive("error",()=>{r("error")}),o.send(),this._canPush()||o.trigger("ok",{})})}_push(t,n,r=this.timeout){if(!this.joinedOnce)throw`tried to push '${t}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let o=new Nf(this,t,n,r);return this._canPush()?o.send():(o.startTimeout(),this.pushBuffer.push(o)),o}_onMessage(t,n,r){return n}_isMember(t){return this.topic===t}_joinRef(){return this.joinPush.ref}_trigger(t,n,r){var o,i;const a=t.toLocaleLowerCase(),{close:s,error:l,leave:c,join:u}=Vn;if(r&&[s,l,c,u].indexOf(a)>=0&&r!==this._joinRef())return;let f=this._onMessage(a,n,r);if(n&&!f)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(a)?(o=this.bindings.postgres_changes)===null||o===void 0||o.filter(g=>{var y,h,x;return((y=g.filter)===null||y===void 0?void 0:y.event)==="*"||((x=(h=g.filter)===null||h===void 0?void 0:h.event)===null||x===void 0?void 0:x.toLocaleLowerCase())===a}).map(g=>g.callback(f,r)):(i=this.bindings[a])===null||i===void 0||i.filter(g=>{var y,h,x,p,m,v;if(["broadcast","presence","postgres_changes"].includes(a))if("id"in g){const w=g.id,S=(y=g.filter)===null||y===void 0?void 0:y.event;return w&&((h=n.ids)===null||h===void 0?void 0:h.includes(w))&&(S==="*"||(S==null?void 0:S.toLocaleLowerCase())===((x=n.data)===null||x===void 0?void 0:x.type.toLocaleLowerCase()))}else{const w=(m=(p=g==null?void 0:g.filter)===null||p===void 0?void 0:p.event)===null||m===void 0?void 0:m.toLocaleLowerCase();return w==="*"||w===((v=n==null?void 0:n.event)===null||v===void 0?void 0:v.toLocaleLowerCase())}else return g.type.toLocaleLowerCase()===a}).map(g=>{if(typeof f=="object"&&"ids"in f){const y=f.data,{schema:h,table:x,commit_timestamp:p,type:m,errors:v}=y;f=Object.assign(Object.assign({},{schema:h,table:x,commit_timestamp:p,eventType:m,new:{},old:{},errors:v}),this._getPayloadRecords(y))}g.callback(f,r)})}_isClosed(){return this.state===sn.closed}_isJoined(){return this.state===sn.joined}_isJoining(){return this.state===sn.joining}_isLeaving(){return this.state===sn.leaving}_replyEventName(t){return`chan_reply_${t}`}_on(t,n,r){const o=t.toLocaleLowerCase(),i={type:o,filter:n,callback:r};return this.bindings[o]?this.bindings[o].push(i):this.bindings[o]=[i],this}_off(t,n){const r=t.toLocaleLowerCase();return this.bindings[r]=this.bindings[r].filter(o=>{var i;return!(((i=o.type)===null||i===void 0?void 0:i.toLocaleLowerCase())===r&&Og.isEqual(o.filter,n))}),this}static isEqual(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const r in t)if(t[r]!==n[r])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(t){this._on(Vn.close,{},t)}_onError(t){this._on(Vn.error,{},n=>t(n))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(t=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=sn.joining,this.joinPush.resend(t))}_getPayloadRecords(t){const n={new:{},old:{}};return(t.type==="INSERT"||t.type==="UPDATE")&&(n.new=s1(t.columns,t.record)),(t.type==="UPDATE"||t.type==="DELETE")&&(n.old=s1(t.columns,t.old_record)),n}}var Lf=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(r.next(u))}catch(d){a(d)}}function l(u){try{c(r.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})};const N4=()=>{};class L4{constructor(t,n){var r;this.accessToken=null,this.channels=[],this.endPoint="",this.headers=k4,this.params={},this.timeout=q2,this.transport=_4.w3cwebsocket,this.heartbeatIntervalMs=3e4,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.ref=0,this.logger=N4,this.conn=null,this.sendBuffer=[],this.serializer=new T4,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.eventsPerSecondLimitMs=100,this.inThrottle=!1,this.endPoint=`${t}/${Ch.websocket}`,n!=null&&n.params&&(this.params=n.params),n!=null&&n.headers&&(this.headers=Object.assign(Object.assign({},this.headers),n.headers)),n!=null&&n.timeout&&(this.timeout=n.timeout),n!=null&&n.logger&&(this.logger=n.logger),n!=null&&n.transport&&(this.transport=n.transport),n!=null&&n.heartbeatIntervalMs&&(this.heartbeatIntervalMs=n.heartbeatIntervalMs);const o=(r=n==null?void 0:n.params)===null||r===void 0?void 0:r.eventsPerSecond;o&&(this.eventsPerSecondLimitMs=Math.floor(1e3/o)),this.reconnectAfterMs=n!=null&&n.reconnectAfterMs?n.reconnectAfterMs:i=>[1e3,2e3,5e3,1e4][i-1]||1e4,this.encode=n!=null&&n.encode?n.encode:(i,a)=>a(JSON.stringify(i)),this.decode=n!=null&&n.decode?n.decode:this.serializer.decode.bind(this.serializer),this.reconnectTimer=new Y2(()=>Lf(this,void 0,void 0,function*(){this.disconnect(),this.connect()}),this.reconnectAfterMs)}connect(){this.conn||(this.conn=new this.transport(this._endPointURL(),[],null,this.headers),this.conn&&(this.conn.binaryType="arraybuffer",this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=t=>this._onConnError(t),this.conn.onmessage=t=>this._onConnMessage(t),this.conn.onclose=t=>this._onConnClose(t)))}disconnect(t,n){this.conn&&(this.conn.onclose=function(){},t?this.conn.close(t,n??""):this.conn.close(),this.conn=null,this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.reset())}getChannels(){return this.channels}removeChannel(t){return Lf(this,void 0,void 0,function*(){const n=yield t.unsubscribe();return this.channels.length===0&&this.disconnect(),n})}removeAllChannels(){return Lf(this,void 0,void 0,function*(){const t=yield Promise.all(this.channels.map(n=>n.unsubscribe()));return this.disconnect(),t})}log(t,n,r){this.logger(t,n,r)}connectionState(){switch(this.conn&&this.conn.readyState){case Ss.connecting:return Ao.Connecting;case Ss.open:return Ao.Open;case Ss.closing:return Ao.Closing;default:return Ao.Closed}}isConnected(){return this.connectionState()===Ao.Open}channel(t,n={config:{}}){this.isConnected()||this.connect();const r=new Og(`realtime:${t}`,n,this);return this.channels.push(r),r}push(t){const{topic:n,event:r,payload:o,ref:i}=t;let a=()=>{this.encode(t,s=>{var l;(l=this.conn)===null||l===void 0||l.send(s)})};if(this.log("push",`${n} ${r} (${i})`,o),this.isConnected())if(["broadcast","presence","postgres_changes"].includes(r)){if(this._throttle(a)())return"rate limited"}else a();else this.sendBuffer.push(a)}setAuth(t){this.accessToken=t,this.channels.forEach(n=>{t&&n.updateJoinPayload({access_token:t}),n.joinedOnce&&n._isJoined()&&n._push(Vn.access_token,{access_token:t})})}_makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,this.ref.toString()}_leaveOpenTopic(t){let n=this.channels.find(r=>r.topic===t&&(r._isJoined()||r._isJoining()));n&&(this.log("transport",`leaving duplicate topic "${t}"`),n.unsubscribe())}_remove(t){this.channels=this.channels.filter(n=>n._joinRef()!==t._joinRef())}_endPointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:P4}))}_onConnMessage(t){this.decode(t.data,n=>{let{topic:r,event:o,payload:i,ref:a}=n;(a&&a===this.pendingHeartbeatRef||o===(i==null?void 0:i.type))&&(this.pendingHeartbeatRef=null),this.log("receive",`${i.status||""} ${r} ${o} ${a&&"("+a+")"||""}`,i),this.channels.filter(s=>s._isMember(r)).forEach(s=>s._trigger(o,i,a)),this.stateChangeCallbacks.message.forEach(s=>s(n))})}_onConnOpen(){this.log("transport",`connected to ${this._endPointURL()}`),this._flushSendBuffer(),this.reconnectTimer.reset(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this._sendHeartbeat(),this.heartbeatIntervalMs),this.stateChangeCallbacks.open.forEach(t=>t())}_onConnClose(t){this.log("transport","close",t),this._triggerChanError(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(n=>n(t))}_onConnError(t){this.log("transport",t.message),this._triggerChanError(),this.stateChangeCallbacks.error.forEach(n=>n(t))}_triggerChanError(){this.channels.forEach(t=>t._trigger(Vn.error))}_appendParams(t,n){if(Object.keys(n).length===0)return t;const r=t.match(/\?/)?"&":"?",o=new URLSearchParams(n);return`${t}${r}${o}`}_flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(t=>t()),this.sendBuffer=[])}_sendHeartbeat(){var t;if(this.isConnected()){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection"),(t=this.conn)===null||t===void 0||t.close(R4,"hearbeat timeout");return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.setAuth(this.accessToken)}}_throttle(t,n=this.eventsPerSecondLimitMs){return()=>this.inThrottle?!0:(t(),n>0&&(this.inThrottle=!0,setTimeout(()=>{this.inThrottle=!1},n)),!1)}}class Ag extends Error{constructor(t){super(t),this.__isStorageError=!0,this.name="StorageError"}}function Ot(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}class z4 extends Ag{constructor(t,n){super(t),this.name="StorageApiError",this.status=n}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class f1 extends Ag{constructor(t,n){super(t),this.name="StorageUnknownError",this.originalError=n}}var Q2=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(r.next(u))}catch(d){a(d)}}function l(u){try{c(r.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})};const J2=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>Q2(void 0,void 0,void 0,function*(){return yield(yield Zu(()=>Promise.resolve().then(()=>ed),void 0)).fetch(...n)}):t=fetch,(...n)=>t(...n)},B4=()=>Q2(void 0,void 0,void 0,function*(){return typeof Response>"u"?(yield Zu(()=>Promise.resolve().then(()=>ed),void 0)).Response:Response});var Pa=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(r.next(u))}catch(d){a(d)}}function l(u){try{c(r.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})};const zf=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),D4=(e,t)=>Pa(void 0,void 0,void 0,function*(){const n=yield B4();e instanceof n?e.json().then(r=>{t(new z4(zf(r),e.status||500))}).catch(r=>{t(new f1(zf(r),r))}):t(new f1(zf(e),e))}),H4=(e,t,n,r)=>{const o={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?o:(o.headers=Object.assign({"Content-Type":"application/json"},t==null?void 0:t.headers),o.body=JSON.stringify(r),Object.assign(Object.assign({},o),n))};function td(e,t,n,r,o,i){return Pa(this,void 0,void 0,function*(){return new Promise((a,s)=>{e(n,H4(t,r,o,i)).then(l=>{if(!l.ok)throw l;return r!=null&&r.noResolveJson?l:l.json()}).then(l=>a(l)).catch(l=>D4(l,s))})})}function $h(e,t,n,r){return Pa(this,void 0,void 0,function*(){return td(e,"GET",t,n,r)})}function Kr(e,t,n,r,o){return Pa(this,void 0,void 0,function*(){return td(e,"POST",t,r,o,n)})}function W4(e,t,n,r,o){return Pa(this,void 0,void 0,function*(){return td(e,"PUT",t,r,o,n)})}function Z2(e,t,n,r,o){return Pa(this,void 0,void 0,function*(){return td(e,"DELETE",t,r,o,n)})}var En=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(r.next(u))}catch(d){a(d)}}function l(u){try{c(r.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})};const V4={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},p1={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class U4{constructor(t,n={},r,o){this.url=t,this.headers=n,this.bucketId=r,this.fetch=J2(o)}uploadOrUpdate(t,n,r,o){return En(this,void 0,void 0,function*(){try{let i;const a=Object.assign(Object.assign({},p1),o),s=Object.assign(Object.assign({},this.headers),t==="POST"&&{"x-upsert":String(a.upsert)});typeof Blob<"u"&&r instanceof Blob?(i=new FormData,i.append("cacheControl",a.cacheControl),i.append("",r)):typeof FormData<"u"&&r instanceof FormData?(i=r,i.append("cacheControl",a.cacheControl)):(i=r,s["cache-control"]=`max-age=${a.cacheControl}`,s["content-type"]=a.contentType);const l=this._removeEmptyFolders(n),c=this._getFinalPath(l),u=yield this.fetch(`${this.url}/object/${c}`,Object.assign({method:t,body:i,headers:s},a!=null&&a.duplex?{duplex:a.duplex}:{}));return u.ok?{data:{path:l},error:null}:{data:null,error:yield u.json()}}catch(i){if(Ot(i))return{data:null,error:i};throw i}})}upload(t,n,r){return En(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",t,n,r)})}uploadToSignedUrl(t,n,r,o){return En(this,void 0,void 0,function*(){const i=this._removeEmptyFolders(t),a=this._getFinalPath(i),s=new URL(this.url+`/object/upload/sign/${a}`);s.searchParams.set("token",n);try{let l;const c=Object.assign({upsert:p1.upsert},o),u=Object.assign(Object.assign({},this.headers),{"x-upsert":String(c.upsert)});typeof Blob<"u"&&r instanceof Blob?(l=new FormData,l.append("cacheControl",c.cacheControl),l.append("",r)):typeof FormData<"u"&&r instanceof FormData?(l=r,l.append("cacheControl",c.cacheControl)):(l=r,u["cache-control"]=`max-age=${c.cacheControl}`,u["content-type"]=c.contentType);const d=yield this.fetch(s.toString(),{method:"PUT",body:l,headers:u});return d.ok?{data:{path:i},error:null}:{data:null,error:yield d.json()}}catch(l){if(Ot(l))return{data:null,error:l};throw l}})}createSignedUploadUrl(t){return En(this,void 0,void 0,function*(){try{let n=this._getFinalPath(t);const r=yield Kr(this.fetch,`${this.url}/object/upload/sign/${n}`,{},{headers:this.headers}),o=new URL(this.url+r.url),i=o.searchParams.get("token");if(!i)throw new Ag("No token returned by API");return{data:{signedUrl:o.toString(),path:t,token:i},error:null}}catch(n){if(Ot(n))return{data:null,error:n};throw n}})}update(t,n,r){return En(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",t,n,r)})}move(t,n){return En(this,void 0,void 0,function*(){try{return{data:yield Kr(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:t,destinationKey:n},{headers:this.headers}),error:null}}catch(r){if(Ot(r))return{data:null,error:r};throw r}})}copy(t,n){return En(this,void 0,void 0,function*(){try{return{data:{path:(yield Kr(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:t,destinationKey:n},{headers:this.headers})).Key},error:null}}catch(r){if(Ot(r))return{data:null,error:r};throw r}})}createSignedUrl(t,n,r){return En(this,void 0,void 0,function*(){try{let o=this._getFinalPath(t),i=yield Kr(this.fetch,`${this.url}/object/sign/${o}`,Object.assign({expiresIn:n},r!=null&&r.transform?{transform:r.transform}:{}),{headers:this.headers});const a=r!=null&&r.download?`&download=${r.download===!0?"":r.download}`:"";return i={signedUrl:encodeURI(`${this.url}${i.signedURL}${a}`)},{data:i,error:null}}catch(o){if(Ot(o))return{data:null,error:o};throw o}})}createSignedUrls(t,n,r){return En(this,void 0,void 0,function*(){try{const o=yield Kr(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:n,paths:t},{headers:this.headers}),i=r!=null&&r.download?`&download=${r.download===!0?"":r.download}`:"";return{data:o.map(a=>Object.assign(Object.assign({},a),{signedUrl:a.signedURL?encodeURI(`${this.url}${a.signedURL}${i}`):null})),error:null}}catch(o){if(Ot(o))return{data:null,error:o};throw o}})}download(t,n){return En(this,void 0,void 0,function*(){const o=typeof(n==null?void 0:n.transform)<"u"?"render/image/authenticated":"object",i=this.transformOptsToQueryString((n==null?void 0:n.transform)||{}),a=i?`?${i}`:"";try{const s=this._getFinalPath(t);return{data:yield(yield $h(this.fetch,`${this.url}/${o}/${s}${a}`,{headers:this.headers,noResolveJson:!0})).blob(),error:null}}catch(s){if(Ot(s))return{data:null,error:s};throw s}})}getPublicUrl(t,n){const r=this._getFinalPath(t),o=[],i=n!=null&&n.download?`download=${n.download===!0?"":n.download}`:"";i!==""&&o.push(i);const s=typeof(n==null?void 0:n.transform)<"u"?"render/image":"object",l=this.transformOptsToQueryString((n==null?void 0:n.transform)||{});l!==""&&o.push(l);let c=o.join("&");return c!==""&&(c=`?${c}`),{data:{publicUrl:encodeURI(`${this.url}/${s}/public/${r}${c}`)}}}remove(t){return En(this,void 0,void 0,function*(){try{return{data:yield Z2(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:t},{headers:this.headers}),error:null}}catch(n){if(Ot(n))return{data:null,error:n};throw n}})}list(t,n,r){return En(this,void 0,void 0,function*(){try{const o=Object.assign(Object.assign(Object.assign({},V4),n),{prefix:t||""});return{data:yield Kr(this.fetch,`${this.url}/object/list/${this.bucketId}`,o,{headers:this.headers},r),error:null}}catch(o){if(Ot(o))return{data:null,error:o};throw o}})}_getFinalPath(t){return`${this.bucketId}/${t}`}_removeEmptyFolders(t){return t.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(t){const n=[];return t.width&&n.push(`width=${t.width}`),t.height&&n.push(`height=${t.height}`),t.resize&&n.push(`resize=${t.resize}`),t.format&&n.push(`format=${t.format}`),t.quality&&n.push(`quality=${t.quality}`),n.join("&")}}const G4="2.5.1",K4={"X-Client-Info":`storage-js/${G4}`};var di=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(r.next(u))}catch(d){a(d)}}function l(u){try{c(r.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})};class q4{constructor(t,n={},r){this.url=t,this.headers=Object.assign(Object.assign({},K4),n),this.fetch=J2(r)}listBuckets(){return di(this,void 0,void 0,function*(){try{return{data:yield $h(this.fetch,`${this.url}/bucket`,{headers:this.headers}),error:null}}catch(t){if(Ot(t))return{data:null,error:t};throw t}})}getBucket(t){return di(this,void 0,void 0,function*(){try{return{data:yield $h(this.fetch,`${this.url}/bucket/${t}`,{headers:this.headers}),error:null}}catch(n){if(Ot(n))return{data:null,error:n};throw n}})}createBucket(t,n={public:!1}){return di(this,void 0,void 0,function*(){try{return{data:yield Kr(this.fetch,`${this.url}/bucket`,{id:t,name:t,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(r){if(Ot(r))return{data:null,error:r};throw r}})}updateBucket(t,n){return di(this,void 0,void 0,function*(){try{return{data:yield W4(this.fetch,`${this.url}/bucket/${t}`,{id:t,name:t,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(r){if(Ot(r))return{data:null,error:r};throw r}})}emptyBucket(t){return di(this,void 0,void 0,function*(){try{return{data:yield Kr(this.fetch,`${this.url}/bucket/${t}/empty`,{},{headers:this.headers}),error:null}}catch(n){if(Ot(n))return{data:null,error:n};throw n}})}deleteBucket(t){return di(this,void 0,void 0,function*(){try{return{data:yield Z2(this.fetch,`${this.url}/bucket/${t}`,{},{headers:this.headers}),error:null}}catch(n){if(Ot(n))return{data:null,error:n};throw n}})}}class Y4 extends q4{constructor(t,n={},r){super(t,n,r)}from(t){return new U4(this.url,this.headers,t,this.fetch)}}const X4="2.26.0",Q4={"X-Client-Info":`supabase-js/${X4}`};var J4=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(r.next(u))}catch(d){a(d)}}function l(u){try{c(r.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})};const Z4=e=>{let t;return e?t=e:typeof fetch>"u"?t=Tg:t=fetch,(...n)=>t(...n)},e$=()=>typeof Headers>"u"?Rg.Headers:Headers,t$=(e,t,n)=>{const r=Z4(n),o=e$();return(i,a)=>J4(void 0,void 0,void 0,function*(){var s;const l=(s=yield t())!==null&&s!==void 0?s:e;let c=new o(a==null?void 0:a.headers);return c.has("apikey")||c.set("apikey",e),c.has("Authorization")||c.set("Authorization",`Bearer ${l}`),r(i,Object.assign(Object.assign({},a),{headers:c}))})};function n$(e){return e.replace(/\/$/,"")}function r$(e,t){const{db:n,auth:r,realtime:o,global:i}=e,{db:a,auth:s,realtime:l,global:c}=t;return{db:Object.assign(Object.assign({},a),n),auth:Object.assign(Object.assign({},s),r),realtime:Object.assign(Object.assign({},l),o),global:Object.assign(Object.assign({},c),i)}}function o$(e){return Math.round(Date.now()/1e3)+e}function i$(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}const gr=()=>typeof document<"u",_o={tested:!1,writable:!1},Ac=()=>{if(!gr())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(_o.tested)return _o.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),_o.tested=!0,_o.writable=!0}catch{_o.tested=!0,_o.writable=!1}return _o.writable};function Wt(e,t){var n;t||(t=((n=window==null?void 0:window.location)===null||n===void 0?void 0:n.href)||""),e=e.replace(/[\[\]]/g,"\\$&");const r=new RegExp("[?&#]"+e+"(=([^&#]*)|&|#|$)"),o=r.exec(t);return o?o[2]?decodeURIComponent(o[2].replace(/\+/g," ")):"":null}const ex=e=>{let t;return e?t=e:typeof fetch>"u"?t=async(...n)=>await(await Zu(()=>Promise.resolve().then(()=>ed),void 0)).fetch(...n):t=fetch,(...n)=>t(...n)},a$=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",Ka=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},Ql=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return n}},Bf=async(e,t)=>{await e.removeItem(t)};function s$(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let n="",r,o,i,a,s,l,c,u=0;for(e=e.replace("-","+").replace("_","/");u>4,o=(s&15)<<4|l>>2,i=(l&3)<<6|c,n=n+String.fromCharCode(r),l!=64&&o!=0&&(n=n+String.fromCharCode(o)),c!=64&&i!=0&&(n=n+String.fromCharCode(i));return n}class nd{constructor(){this.promise=new nd.promiseConstructor((t,n)=>{this.resolve=t,this.reject=n})}}nd.promiseConstructor=Promise;function h1(e){const t=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}=?$|[a-z0-9_-]{2}(==)?$)$/i,n=e.split(".");if(n.length!==3)throw new Error("JWT is not valid: not a JWT structure");if(!t.test(n[1]))throw new Error("JWT is not valid: payload is not in base64url format");const r=n[1];return JSON.parse(s$(r))}function l$(e){return new Promise(t=>{setTimeout(()=>t(null),e)})}function c$(e,t){return new Promise((r,o)=>{(async()=>{for(let i=0;i<1/0;i++)try{const a=await e(i);if(!t(i,null,a)){r(a);return}}catch(a){if(!t(i,a)){o(a);return}}})()})}function u$(e){return("0"+e.toString(16)).substr(-2)}function Jl(){const t=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=n.length;let o="";for(let i=0;i<56;i++)o+=n.charAt(Math.floor(Math.random()*r));return o}return crypto.getRandomValues(t),Array.from(t,u$).join("")}async function d$(e){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),o=new Uint8Array(r);return Array.from(o).map(i=>String.fromCharCode(i)).join("")}function f$(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Zl(e){if(typeof crypto>"u")return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const t=await d$(e);return f$(t)}class Ig extends Error{constructor(t,n){super(t),this.__isAuthError=!0,this.name="AuthError",this.status=n}}function Se(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class p$ extends Ig{constructor(t,n){super(t,n),this.name="AuthApiError",this.status=n}toJSON(){return{name:this.name,message:this.message,status:this.status}}}function h$(e){return Se(e)&&e.name==="AuthApiError"}class tx extends Ig{constructor(t,n){super(t),this.name="AuthUnknownError",this.originalError=n}}class Ra extends Ig{constructor(t,n,r){super(t),this.name=n,this.status=r}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class fi extends Ra{constructor(){super("Auth session missing!","AuthSessionMissingError",400)}}class Df extends Ra{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500)}}class ec extends Ra{constructor(t){super(t,"AuthInvalidCredentialsError",400)}}class pr extends Ra{constructor(t,n=null){super(t,"AuthImplicitGrantRedirectError",500),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class Hf extends Ra{constructor(t,n=null){super(t,"AuthPKCEGrantCodeExchangeError",500),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class kh extends Ra{constructor(t,n){super(t,"AuthRetryableFetchError",n)}}function m1(e){return Se(e)&&e.name==="AuthRetryableFetchError"}var m$=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);oe.msg||e.message||e.error_description||e.error||JSON.stringify(e),g$=[502,503,504];async function g1(e){if(!a$(e))throw new kh(ss(e),0);if(g$.includes(e.status))throw new kh(ss(e),e.status);let t;try{t=await e.json()}catch(n){throw new tx(ss(n),n)}throw new p$(ss(t),e.status||500)}const v$=(e,t,n,r)=>{const o={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?o:(o.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},t==null?void 0:t.headers),o.body=JSON.stringify(r),Object.assign(Object.assign({},o),n))};async function Pe(e,t,n,r){var o;const i=Object.assign({},r==null?void 0:r.headers);r!=null&&r.jwt&&(i.Authorization=`Bearer ${r.jwt}`);const a=(o=r==null?void 0:r.query)!==null&&o!==void 0?o:{};r!=null&&r.redirectTo&&(a.redirect_to=r.redirectTo);const s=Object.keys(a).length?"?"+new URLSearchParams(a).toString():"",l=await y$(e,t,n+s,{headers:i,noResolveJson:r==null?void 0:r.noResolveJson},{},r==null?void 0:r.body);return r!=null&&r.xform?r==null?void 0:r.xform(l):{data:Object.assign({},l),error:null}}async function y$(e,t,n,r,o,i){const a=v$(t,r,o,i);let s;try{s=await e(n,a)}catch(l){throw console.error(l),new kh(ss(l),0)}if(s.ok||await g1(s),r!=null&&r.noResolveJson)return s;try{return await s.json()}catch(l){await g1(l)}}function Wr(e){var t;let n=null;S$(e)&&(n=Object.assign({},e),n.expires_at=o$(e.expires_in));const r=(t=e.user)!==null&&t!==void 0?t:e;return{data:{session:n,user:r},error:null}}function Io(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function b$(e){return{data:e,error:null}}function w$(e){const{action_link:t,email_otp:n,hashed_token:r,redirect_to:o,verification_type:i}=e,a=m$(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),s={action_link:t,email_otp:n,hashed_token:r,redirect_to:o,verification_type:i},l=Object.assign({},a);return{data:{properties:s,user:l},error:null}}function x$(e){return e}function S$(e){return e.access_token&&e.refresh_token&&e.expires_in}var E$=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o0&&(g.forEach(y=>{const h=parseInt(y.split(";")[0].split("=")[1].substring(0,1)),x=JSON.parse(y.split(";")[1].split("=")[1]);c[`${x}Page`]=h}),c.total=parseInt(f)),{data:Object.assign(Object.assign({},d),c),error:null}}catch(c){if(Se(c))return{data:{users:[]},error:c};throw c}}async getUserById(t){try{return await Pe(this.fetch,"GET",`${this.url}/admin/users/${t}`,{headers:this.headers,xform:Io})}catch(n){if(Se(n))return{data:{user:null},error:n};throw n}}async updateUserById(t,n){try{return await Pe(this.fetch,"PUT",`${this.url}/admin/users/${t}`,{body:n,headers:this.headers,xform:Io})}catch(r){if(Se(r))return{data:{user:null},error:r};throw r}}async deleteUser(t,n=!1){try{return await Pe(this.fetch,"DELETE",`${this.url}/admin/users/${t}`,{headers:this.headers,body:{should_soft_delete:n},xform:Io})}catch(r){if(Se(r))return{data:{user:null},error:r};throw r}}async _listFactors(t){try{const{data:n,error:r}=await Pe(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/factors`,{headers:this.headers,xform:o=>({data:{factors:o},error:null})});return{data:n,error:r}}catch(n){if(Se(n))return{data:null,error:n};throw n}}async _deleteFactor(t){try{return{data:await Pe(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/factors/${t.id}`,{headers:this.headers}),error:null}}catch(n){if(Se(n))return{data:null,error:n};throw n}}}const _$="2.42.0",$$="http://localhost:9999",k$="supabase.auth.token",P$={"X-Client-Info":`gotrue-js/${_$}`},v1=10,y1={getItem:e=>Ac()?globalThis.localStorage.getItem(e):null,setItem:(e,t)=>{Ac()&&globalThis.localStorage.setItem(e,t)},removeItem:e=>{Ac()&&globalThis.localStorage.removeItem(e)}};function R$(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}R$();const T$={url:$$,storageKey:k$,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:P$,flowType:"implicit",debug:!1},tc=30*1e3,b1=3;class el{constructor(t){var n;this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.broadcastChannel=null,this.instanceID=el.nextInstanceID,el.nextInstanceID+=1,this.instanceID>0&&gr()&&console.warn("Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.");const r=Object.assign(Object.assign({},T$),t);if(this.logDebugMessages=r.debug,this.inMemorySession=null,this.storageKey=r.storageKey,this.autoRefreshToken=r.autoRefreshToken,this.persistSession=r.persistSession,this.storage=r.storage||y1,this.admin=new C$({url:r.url,headers:r.headers,fetch:r.fetch}),this.url=r.url,this.headers=r.headers,this.fetch=ex(r.fetch),this.detectSessionInUrl=r.detectSessionInUrl,this.flowType=r.flowType,this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this)},this.persistSession&&this.storage===y1&&!Ac()&&console.warn(`No storage option exists to persist the session, which may result in unexpected behavior when using auth. + If you want to set persistSession to true, please provide a storage option or you may set persistSession to false to disable this warning.`),gr()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(o){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",o)}(n=this.broadcastChannel)===null||n===void 0||n.addEventListener("message",async o=>{this._debug("received broadcast notification from other tab or client",o),await this._notifyAllSubscribers(o.data.event,o.data.session,!1)})}this.initialize()}_debug(...t){return this.logDebugMessages&&console.log(`GoTrueClient@${this.instanceID} ${new Date().toISOString()}`,...t),this}initialize(){return this.initializePromise||(this.initializePromise=this._initialize()),this.initializePromise}async _initialize(){if(this.initializePromise)return this.initializePromise;try{const t=gr()?await this._isPKCEFlow():!1;if(this._debug("#_initialize()","begin","is PKCE flow",t),t||this.detectSessionInUrl&&this._isImplicitGrantFlow()){const{data:n,error:r}=await this._getSessionFromUrl(t);if(r)return this._debug("#_initialize()","error detecting session from URL",r),await this._removeSession(),{error:r};const{session:o,redirectType:i}=n;return this._debug("#_initialize()","detected session in URL",o,"redirect type",i),await this._saveSession(o),setTimeout(async()=>{i==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",o):await this._notifyAllSubscribers("SIGNED_IN",o)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(t){return Se(t)?{error:t}:{error:new tx("Unexpected error during initialization",t)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signUp(t){var n,r,o;try{await this._removeSession();let i;if("email"in t){const{email:u,password:d,options:f}=t;let g=null,y=null;if(this.flowType==="pkce"){const h=Jl();await Ka(this.storage,`${this.storageKey}-code-verifier`,h),g=await Zl(h),y=h===g?"plain":"s256"}i=await Pe(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:f==null?void 0:f.emailRedirectTo,body:{email:u,password:d,data:(n=f==null?void 0:f.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken},code_challenge:g,code_challenge_method:y},xform:Wr})}else if("phone"in t){const{phone:u,password:d,options:f}=t;i=await Pe(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:u,password:d,data:(r=f==null?void 0:f.data)!==null&&r!==void 0?r:{},channel:(o=f==null?void 0:f.channel)!==null&&o!==void 0?o:"sms",gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken}},xform:Wr})}else throw new ec("You must provide either an email or phone number and a password");const{data:a,error:s}=i;if(s||!a)return{data:{user:null,session:null},error:s};const l=a.session,c=a.user;return a.session&&(await this._saveSession(a.session),await this._notifyAllSubscribers("SIGNED_IN",l)),{data:{user:c,session:l},error:null}}catch(i){if(Se(i))return{data:{user:null,session:null},error:i};throw i}}async signInWithPassword(t){try{await this._removeSession();let n;if("email"in t){const{email:i,password:a,options:s}=t;n=await Pe(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:i,password:a,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}},xform:Wr})}else if("phone"in t){const{phone:i,password:a,options:s}=t;n=await Pe(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:i,password:a,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}},xform:Wr})}else throw new ec("You must provide either an email or phone number and a password");const{data:r,error:o}=n;return o?{data:{user:null,session:null},error:o}:!r||!r.session||!r.user?{data:{user:null,session:null},error:new Df}:(r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),{data:{user:r.user,session:r.session},error:o})}catch(n){if(Se(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOAuth(t){var n,r,o,i;return await this._removeSession(),await this._handleProviderSignIn(t.provider,{redirectTo:(n=t.options)===null||n===void 0?void 0:n.redirectTo,scopes:(r=t.options)===null||r===void 0?void 0:r.scopes,queryParams:(o=t.options)===null||o===void 0?void 0:o.queryParams,skipBrowserRedirect:(i=t.options)===null||i===void 0?void 0:i.skipBrowserRedirect})}async exchangeCodeForSession(t){const n=await Ql(this.storage,`${this.storageKey}-code-verifier`),{data:r,error:o}=await Pe(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:n},xform:Wr});return await Bf(this.storage,`${this.storageKey}-code-verifier`),o?{data:{user:null,session:null},error:o}:!r||!r.session||!r.user?{data:{user:null,session:null},error:new Df}:(r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),{data:r,error:o})}async signInWithIdToken(t){await this._removeSession();try{const{options:n,provider:r,token:o,access_token:i,nonce:a}=t,s=await Pe(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:o,access_token:i,nonce:a,gotrue_meta_security:{captcha_token:n==null?void 0:n.captchaToken}},xform:Wr}),{data:l,error:c}=s;return c?{data:{user:null,session:null},error:c}:!l||!l.session||!l.user?{data:{user:null,session:null},error:new Df}:(l.session&&(await this._saveSession(l.session),await this._notifyAllSubscribers("SIGNED_IN",l.session)),{data:l,error:c})}catch(n){if(Se(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOtp(t){var n,r,o,i,a;try{if(await this._removeSession(),"email"in t){const{email:s,options:l}=t;let c=null,u=null;if(this.flowType==="pkce"){const f=Jl();await Ka(this.storage,`${this.storageKey}-code-verifier`,f),c=await Zl(f),u=f===c?"plain":"s256"}const{error:d}=await Pe(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:s,data:(n=l==null?void 0:l.data)!==null&&n!==void 0?n:{},create_user:(r=l==null?void 0:l.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},code_challenge:c,code_challenge_method:u},redirectTo:l==null?void 0:l.emailRedirectTo});return{data:{user:null,session:null},error:d}}if("phone"in t){const{phone:s,options:l}=t,{data:c,error:u}=await Pe(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:s,data:(o=l==null?void 0:l.data)!==null&&o!==void 0?o:{},create_user:(i=l==null?void 0:l.shouldCreateUser)!==null&&i!==void 0?i:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},channel:(a=l==null?void 0:l.channel)!==null&&a!==void 0?a:"sms"}});return{data:{user:null,session:null,messageId:c==null?void 0:c.message_id},error:u}}throw new ec("You must provide either an email or phone number.")}catch(s){if(Se(s))return{data:{user:null,session:null},error:s};throw s}}async verifyOtp(t){var n,r;try{t.type!=="email_change"&&t.type!=="phone_change"&&await this._removeSession();const{data:o,error:i}=await Pe(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:(n=t.options)===null||n===void 0?void 0:n.captchaToken}}),redirectTo:(r=t.options)===null||r===void 0?void 0:r.redirectTo,xform:Wr});if(i)throw i;if(!o)throw new Error("An error occurred on token verification.");const a=o.session,s=o.user;return a!=null&&a.access_token&&(await this._saveSession(a),await this._notifyAllSubscribers("SIGNED_IN",a)),{data:{user:s,session:a},error:null}}catch(o){if(Se(o))return{data:{user:null,session:null},error:o};throw o}}async signInWithSSO(t){var n,r,o;try{return await this._removeSession(),await Pe(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in t?{provider_id:t.providerId}:null),"domain"in t?{domain:t.domain}:null),{redirect_to:(r=(n=t.options)===null||n===void 0?void 0:n.redirectTo)!==null&&r!==void 0?r:void 0}),!((o=t==null?void 0:t.options)===null||o===void 0)&&o.captchaToken?{gotrue_meta_security:{captcha_token:t.options.captchaToken}}:null),{skip_http_redirect:!0}),headers:this.headers,xform:b$})}catch(i){if(Se(i))return{data:null,error:i};throw i}}async reauthenticate(){try{const{data:{session:t},error:n}=await this.getSession();if(n)throw n;if(!t)throw new fi;const{error:r}=await Pe(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:t.access_token});return{data:{user:null,session:null},error:r}}catch(t){if(Se(t))return{data:{user:null,session:null},error:t};throw t}}async resend(t){try{t.type!="email_change"&&t.type!="phone_change"&&await this._removeSession();const n=`${this.url}/resend`;if("email"in t){const{email:r,type:o,options:i}=t,{error:a}=await Pe(this.fetch,"POST",n,{headers:this.headers,body:{email:r,type:o,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}},redirectTo:i==null?void 0:i.emailRedirectTo});return{data:{user:null,session:null},error:a}}else if("phone"in t){const{phone:r,type:o,options:i}=t,{data:a,error:s}=await Pe(this.fetch,"POST",n,{headers:this.headers,body:{phone:r,type:o,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}}});return{data:{user:null,session:null,messageId:a==null?void 0:a.message_id},error:s}}throw new ec("You must provide either an email or phone number and a type")}catch(n){if(Se(n))return{data:{user:null,session:null},error:n};throw n}}async getSession(){await this.initializePromise,this._debug("#getSession()","begin");try{let t=null;if(this.persistSession){const i=await Ql(this.storage,this.storageKey);this._debug("#getSession()","session from storage",i),i!==null&&(this._isValidSession(i)?t=i:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession()))}else t=this.inMemorySession,this._debug("#getSession()","session from memory",t);if(!t)return{data:{session:null},error:null};const n=t.expires_at?t.expires_at<=Date.now()/1e3:!1;if(this._debug("#getSession()",`session has${n?"":" not"} expired`,"expires_at",t.expires_at),!n)return{data:{session:t},error:null};const{session:r,error:o}=await this._callRefreshToken(t.refresh_token);return o?{data:{session:null},error:o}:{data:{session:r},error:null}}finally{this._debug("#getSession()","end")}}async getUser(t){var n,r;try{if(!t){const{data:o,error:i}=await this.getSession();if(i)throw i;t=(r=(n=o.session)===null||n===void 0?void 0:n.access_token)!==null&&r!==void 0?r:void 0}return await Pe(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:t,xform:Io})}catch(o){if(Se(o))return{data:{user:null},error:o};throw o}}async updateUser(t,n={}){try{const{data:r,error:o}=await this.getSession();if(o)throw o;if(!r.session)throw new fi;const i=r.session,{data:a,error:s}=await Pe(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n==null?void 0:n.emailRedirectTo,body:t,jwt:i.access_token,xform:Io});if(s)throw s;return i.user=a.user,await this._saveSession(i),await this._notifyAllSubscribers("USER_UPDATED",i),{data:{user:i.user},error:null}}catch(r){if(Se(r))return{data:{user:null},error:r};throw r}}_decodeJWT(t){return h1(t)}async setSession(t){try{if(!t.access_token||!t.refresh_token)throw new fi;const n=Date.now()/1e3;let r=n,o=!0,i=null;const a=h1(t.access_token);if(a.exp&&(r=a.exp,o=r<=n),o){const{session:s,error:l}=await this._callRefreshToken(t.refresh_token);if(l)return{data:{user:null,session:null},error:l};if(!s)return{data:{user:null,session:null},error:null};i=s}else{const{data:s,error:l}=await this.getUser(t.access_token);if(l)throw l;i={access_token:t.access_token,refresh_token:t.refresh_token,user:s.user,token_type:"bearer",expires_in:r-n,expires_at:r},await this._saveSession(i),await this._notifyAllSubscribers("SIGNED_IN",i)}return{data:{user:i.user,session:i},error:null}}catch(n){if(Se(n))return{data:{session:null,user:null},error:n};throw n}}async refreshSession(t){var n;try{if(!t){const{data:i,error:a}=await this.getSession();if(a)throw a;t=(n=i.session)!==null&&n!==void 0?n:void 0}if(!(t!=null&&t.refresh_token))throw new fi;const{session:r,error:o}=await this._callRefreshToken(t.refresh_token);return o?{data:{user:null,session:null},error:o}:r?{data:{user:r.user,session:r},error:null}:{data:{user:null,session:null},error:null}}catch(r){if(Se(r))return{data:{user:null,session:null},error:r};throw r}}async _getSessionFromUrl(t){try{if(!gr())throw new pr("No browser detected.");if(this.flowType==="implicit"&&!this._isImplicitGrantFlow())throw new pr("Not a valid implicit grant flow url.");if(this.flowType=="pkce"&&!t)throw new Hf("Not a valid PKCE flow url.");if(t){const x=Wt("code");if(!x)throw new Hf("No code detected.");const{data:p,error:m}=await this.exchangeCodeForSession(x);if(m)throw m;if(!p.session)throw new Hf("No session detected.");let v=new URL(window.location.href);return v.searchParams.delete("code"),window.history.replaceState(window.history.state,"",v.toString()),{data:{session:p.session,redirectType:null},error:null}}const n=Wt("error_description");if(n){const x=Wt("error_code");if(!x)throw new pr("No error_code detected.");const p=Wt("error");throw p?new pr(n,{error:p,code:x}):new pr("No error detected.")}const r=Wt("provider_token"),o=Wt("provider_refresh_token"),i=Wt("access_token");if(!i)throw new pr("No access_token detected.");const a=Wt("expires_in");if(!a)throw new pr("No expires_in detected.");const s=Wt("refresh_token");if(!s)throw new pr("No refresh_token detected.");const l=Wt("token_type");if(!l)throw new pr("No token_type detected.");const u=Math.round(Date.now()/1e3)+parseInt(a),{data:d,error:f}=await this.getUser(i);if(f)throw f;const g=d.user,y={provider_token:r,provider_refresh_token:o,access_token:i,expires_in:parseInt(a),expires_at:u,refresh_token:s,token_type:l,user:g},h=Wt("type");return window.location.hash="",this._debug("#_getSessionFromUrl()","clearing window.location.hash"),{data:{session:y,redirectType:h},error:null}}catch(n){if(Se(n))return{data:{session:null,redirectType:null},error:n};throw n}}_isImplicitGrantFlow(){return gr()&&(!!Wt("access_token")||!!Wt("error_description"))}async _isPKCEFlow(){const t=await Ql(this.storage,`${this.storageKey}-code-verifier`);return!!Wt("code")&&!!t}async signOut({scope:t}={scope:"global"}){var n;const{data:r,error:o}=await this.getSession();if(o)return{error:o};const i=(n=r.session)===null||n===void 0?void 0:n.access_token;if(i){const{error:a}=await this.admin.signOut(i,t);if(a&&!(h$(a)&&(a.status===404||a.status===401)))return{error:a}}return t!=="others"&&(await this._removeSession(),await Bf(this.storage,`${this.storageKey}-code-verifier`),await this._notifyAllSubscribers("SIGNED_OUT",null)),{error:null}}onAuthStateChange(t){const n=i$(),r={id:n,callback:t,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,r),this._emitInitialSession(n),{data:{subscription:r}}}async _emitInitialSession(t){var n,r;try{const{data:{session:o},error:i}=await this.getSession();if(i)throw i;await((n=this.stateChangeEmitters.get(t))===null||n===void 0?void 0:n.callback("INITIAL_SESSION",o)),this._debug("INITIAL_SESSION","callback id",t,"session",o)}catch(o){await((r=this.stateChangeEmitters.get(t))===null||r===void 0?void 0:r.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",t,"error",o),console.error(o)}}async resetPasswordForEmail(t,n={}){let r=null,o=null;if(this.flowType==="pkce"){const i=Jl();await Ka(this.storage,`${this.storageKey}-code-verifier`,i),r=await Zl(i),o=i===r?"plain":"s256"}try{return await Pe(this.fetch,"POST",`${this.url}/recover`,{body:{email:t,code_challenge:r,code_challenge_method:o,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(i){if(Se(i))return{data:null,error:i};throw i}}async _refreshAccessToken(t){const n=`#_refreshAccessToken(${t.substring(0,5)}...)`;this._debug(n,"begin");try{const r=Date.now();return await c$(async o=>(await l$(o*200),this._debug(n,"refreshing attempt",o),await Pe(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:Wr})),(o,i,a)=>a&&a.error&&m1(a.error)&&Date.now()+(o+1)*200-r{try{await s.callback(t,n)}catch(l){i.push(l)}});if(await Promise.all(a),i.length>0){for(let s=0;sthis._autoRefreshTokenTick(),tc);this.autoRefreshTicker=t,t&&typeof t=="object"&&typeof t.unref=="function"?t.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(t),await this._autoRefreshTokenTick()}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const t=this.autoRefreshTicker;this.autoRefreshTicker=null,t&&clearInterval(t)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{const t=Date.now();try{const{data:{session:n}}=await this.getSession();if(!n||!n.refresh_token||!n.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const r=Math.floor((n.expires_at*1e3-t)/tc);this._debug("#_autoRefreshTokenTick()",`access token expires in ${r} ticks, a tick lasts ${tc}ms, refresh threshold is ${b1} ticks`),r<=b1&&await this._callRefreshToken(n.refresh_token)}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!gr()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(t){console.error("_handleVisibilityChange",t)}}async _onVisibilityChanged(t){this._debug(`#_onVisibilityChanged(${t})`,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(t||(await this.initializePromise,await this._recoverAndRefresh(),this._debug("#_onVisibilityChanged()","finished waiting for initialize, _recoverAndRefresh")),this.autoRefreshToken&&this._startAutoRefresh()):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(t,n){const r=[`provider=${encodeURIComponent(t)}`];if(n!=null&&n.redirectTo&&r.push(`redirect_to=${encodeURIComponent(n.redirectTo)}`),n!=null&&n.scopes&&r.push(`scopes=${encodeURIComponent(n.scopes)}`),this.flowType==="pkce"){const o=Jl();await Ka(this.storage,`${this.storageKey}-code-verifier`,o);const i=await Zl(o),a=o===i?"plain":"s256";this._debug("PKCE","code verifier",`${o.substring(0,5)}...`,"code challenge",i,"method",a);const s=new URLSearchParams({code_challenge:`${encodeURIComponent(i)}`,code_challenge_method:`${encodeURIComponent(a)}`});r.push(s.toString())}if(n!=null&&n.queryParams){const o=new URLSearchParams(n.queryParams);r.push(o.toString())}return`${this.url}/authorize?${r.join("&")}`}async _unenroll(t){var n;try{const{data:r,error:o}=await this.getSession();return o?{data:null,error:o}:await Pe(this.fetch,"DELETE",`${this.url}/factors/${t.factorId}`,{headers:this.headers,jwt:(n=r==null?void 0:r.session)===null||n===void 0?void 0:n.access_token})}catch(r){if(Se(r))return{data:null,error:r};throw r}}async _enroll(t){var n,r;try{const{data:o,error:i}=await this.getSession();if(i)return{data:null,error:i};const{data:a,error:s}=await Pe(this.fetch,"POST",`${this.url}/factors`,{body:{friendly_name:t.friendlyName,factor_type:t.factorType,issuer:t.issuer},headers:this.headers,jwt:(n=o==null?void 0:o.session)===null||n===void 0?void 0:n.access_token});return s?{data:null,error:s}:(!((r=a==null?void 0:a.totp)===null||r===void 0)&&r.qr_code&&(a.totp.qr_code=`data:image/svg+xml;utf-8,${a.totp.qr_code}`),{data:a,error:null})}catch(o){if(Se(o))return{data:null,error:o};throw o}}async _verify(t){var n;try{const{data:r,error:o}=await this.getSession();if(o)return{data:null,error:o};const{data:i,error:a}=await Pe(this.fetch,"POST",`${this.url}/factors/${t.factorId}/verify`,{body:{code:t.code,challenge_id:t.challengeId},headers:this.headers,jwt:(n=r==null?void 0:r.session)===null||n===void 0?void 0:n.access_token});return a?{data:null,error:a}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+i.expires_in},i)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",i),{data:i,error:a})}catch(r){if(Se(r))return{data:null,error:r};throw r}}async _challenge(t){var n;try{const{data:r,error:o}=await this.getSession();return o?{data:null,error:o}:await Pe(this.fetch,"POST",`${this.url}/factors/${t.factorId}/challenge`,{headers:this.headers,jwt:(n=r==null?void 0:r.session)===null||n===void 0?void 0:n.access_token})}catch(r){if(Se(r))return{data:null,error:r};throw r}}async _challengeAndVerify(t){const{data:n,error:r}=await this._challenge({factorId:t.factorId});return r?{data:null,error:r}:await this._verify({factorId:t.factorId,challengeId:n.id,code:t.code})}async _listFactors(){const{data:{user:t},error:n}=await this.getUser();if(n)return{data:null,error:n};const r=(t==null?void 0:t.factors)||[],o=r.filter(i=>i.factor_type==="totp"&&i.status==="verified");return{data:{all:r,totp:o},error:null}}async _getAuthenticatorAssuranceLevel(){var t,n;const{data:{session:r},error:o}=await this.getSession();if(o)return{data:null,error:o};if(!r)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const i=this._decodeJWT(r.access_token);let a=null;i.aal&&(a=i.aal);let s=a;((n=(t=r.user.factors)===null||t===void 0?void 0:t.filter(u=>u.status==="verified"))!==null&&n!==void 0?n:[]).length>0&&(s="aal2");const c=i.amr||[];return{data:{currentLevel:a,nextLevel:s,currentAuthenticationMethods:c},error:null}}}el.nextInstanceID=0;class O$ extends el{constructor(t){super(t)}}var A$=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(r.next(u))}catch(d){a(d)}}function l(u){try{c(r.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})};const I$={headers:Q4},M$={schema:"public"},j$={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},F$={};class N${constructor(t,n,r){var o,i,a,s,l,c,u,d;if(this.supabaseUrl=t,this.supabaseKey=n,!t)throw new Error("supabaseUrl is required.");if(!n)throw new Error("supabaseKey is required.");const f=n$(t);this.realtimeUrl=`${f}/realtime/v1`.replace(/^http/i,"ws"),this.authUrl=`${f}/auth/v1`,this.storageUrl=`${f}/storage/v1`,this.functionsUrl=`${f}/functions/v1`;const g=`sb-${new URL(this.authUrl).hostname.split(".")[0]}-auth-token`,y={db:M$,realtime:F$,auth:Object.assign(Object.assign({},j$),{storageKey:g}),global:I$},h=r$(r??{},y);this.storageKey=(i=(o=h.auth)===null||o===void 0?void 0:o.storageKey)!==null&&i!==void 0?i:"",this.headers=(s=(a=h.global)===null||a===void 0?void 0:a.headers)!==null&&s!==void 0?s:{},this.auth=this._initSupabaseAuthClient((l=h.auth)!==null&&l!==void 0?l:{},this.headers,(c=h.global)===null||c===void 0?void 0:c.fetch),this.fetch=t$(n,this._getAccessToken.bind(this),(u=h.global)===null||u===void 0?void 0:u.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers},h.realtime)),this.rest=new r4(`${f}/rest/v1`,{headers:this.headers,schema:(d=h.db)===null||d===void 0?void 0:d.schema,fetch:this.fetch}),this._listenForAuthEvents()}get functions(){return new Q_(this.functionsUrl,{headers:this.headers,customFetch:this.fetch})}get storage(){return new Y4(this.storageUrl,this.headers,this.fetch)}from(t){return this.rest.from(t)}rpc(t,n={},r){return this.rest.rpc(t,n,r)}channel(t,n={config:{}}){return this.realtime.channel(t,n)}getChannels(){return this.realtime.getChannels()}removeChannel(t){return this.realtime.removeChannel(t)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){var t,n;return A$(this,void 0,void 0,function*(){const{data:r}=yield this.auth.getSession();return(n=(t=r.session)===null||t===void 0?void 0:t.access_token)!==null&&n!==void 0?n:null})}_initSupabaseAuthClient({autoRefreshToken:t,persistSession:n,detectSessionInUrl:r,storage:o,storageKey:i,flowType:a},s,l){const c={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new O$({url:this.authUrl,headers:Object.assign(Object.assign({},c),s),storageKey:i,autoRefreshToken:t,persistSession:n,detectSessionInUrl:r,storage:o,flowType:a,fetch:l})}_initRealtimeClient(t){return new L4(this.realtimeUrl,Object.assign(Object.assign({},t),{params:Object.assign({apikey:this.supabaseKey},t==null?void 0:t.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((n,r)=>{this._handleTokenChanged(n,"CLIENT",r==null?void 0:r.access_token)})}_handleTokenChanged(t,n,r){(t==="TOKEN_REFRESHED"||t==="SIGNED_IN")&&this.changedAccessToken!==r?(this.realtime.setAuth(r??null),this.changedAccessToken=r):t==="SIGNED_OUT"&&(this.realtime.setAuth(this.supabaseKey),n=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}}const L$=(e,t,n)=>new N$(e,t,n);var w1,Ne="colors",jt="sizes",q="space",z$={gap:q,gridGap:q,columnGap:q,gridColumnGap:q,rowGap:q,gridRowGap:q,inset:q,insetBlock:q,insetBlockEnd:q,insetBlockStart:q,insetInline:q,insetInlineEnd:q,insetInlineStart:q,margin:q,marginTop:q,marginRight:q,marginBottom:q,marginLeft:q,marginBlock:q,marginBlockEnd:q,marginBlockStart:q,marginInline:q,marginInlineEnd:q,marginInlineStart:q,padding:q,paddingTop:q,paddingRight:q,paddingBottom:q,paddingLeft:q,paddingBlock:q,paddingBlockEnd:q,paddingBlockStart:q,paddingInline:q,paddingInlineEnd:q,paddingInlineStart:q,top:q,right:q,bottom:q,left:q,scrollMargin:q,scrollMarginTop:q,scrollMarginRight:q,scrollMarginBottom:q,scrollMarginLeft:q,scrollMarginX:q,scrollMarginY:q,scrollMarginBlock:q,scrollMarginBlockEnd:q,scrollMarginBlockStart:q,scrollMarginInline:q,scrollMarginInlineEnd:q,scrollMarginInlineStart:q,scrollPadding:q,scrollPaddingTop:q,scrollPaddingRight:q,scrollPaddingBottom:q,scrollPaddingLeft:q,scrollPaddingX:q,scrollPaddingY:q,scrollPaddingBlock:q,scrollPaddingBlockEnd:q,scrollPaddingBlockStart:q,scrollPaddingInline:q,scrollPaddingInlineEnd:q,scrollPaddingInlineStart:q,fontSize:"fontSizes",background:Ne,backgroundColor:Ne,backgroundImage:Ne,borderImage:Ne,border:Ne,borderBlock:Ne,borderBlockEnd:Ne,borderBlockStart:Ne,borderBottom:Ne,borderBottomColor:Ne,borderColor:Ne,borderInline:Ne,borderInlineEnd:Ne,borderInlineStart:Ne,borderLeft:Ne,borderLeftColor:Ne,borderRight:Ne,borderRightColor:Ne,borderTop:Ne,borderTopColor:Ne,caretColor:Ne,color:Ne,columnRuleColor:Ne,fill:Ne,outline:Ne,outlineColor:Ne,stroke:Ne,textDecorationColor:Ne,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:jt,minBlockSize:jt,maxBlockSize:jt,inlineSize:jt,minInlineSize:jt,maxInlineSize:jt,width:jt,minWidth:jt,maxWidth:jt,height:jt,minHeight:jt,maxHeight:jt,flexBasis:jt,gridTemplateColumns:jt,gridTemplateRows:jt,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},B$=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,yl=()=>{const e=Object.create(null);return(t,n,...r)=>{const o=(i=>JSON.stringify(i,B$))(t);return o in e?e[o]:e[o]=n(t,...r)}},Ic=Symbol.for("sxs.internal"),Mg=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),x1=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:D$}=Object.prototype,Ph=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),H$=/\s+(?![^()]*\))/,pi=e=>t=>e(...typeof t=="string"?String(t).split(H$):[t]),S1={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:pi((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:pi((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:pi((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:pi((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:pi((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:pi((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},Wf=/([\d.]+)([^]*)/,W$=(e,t)=>e.length?e.reduce((n,r)=>(n.push(...t.map(o=>o.includes("&")?o.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(o)?`:is(${r})`:r):r+" "+o)),n),[]):t,V$=(e,t)=>e in U$&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(n,r,o,i)=>r+(o==="stretch"?`-moz-available${i};${Ph(e)}:${r}-webkit-fill-available`:`-moz-fit-content${i};${Ph(e)}:${r}fit-content`)+i):String(t),U$={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},Rr=e=>e?e+"-":"",nx=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(r,o,i,a,s)=>a=="$"==!!i?r:(o||a=="--"?"calc(":"")+"var(--"+(a==="$"?Rr(t)+(s.includes("$")?"":Rr(n))+s.replace(/\$/g,"-"):s)+")"+(o||a=="--"?"*"+(o||"")+(i||"1")+")":"")),G$=/\s*,\s*(?![^()]*\))/,K$=Object.prototype.toString,Di=(e,t,n,r,o)=>{let i,a,s;const l=(c,u,d)=>{let f,g;const y=h=>{for(f in h){const m=f.charCodeAt(0)===64,v=m&&Array.isArray(h[f])?h[f]:[h[f]];for(g of v){const w=/[A-Z]/.test(p=f)?p:p.replace(/-[^]/g,C=>C[1].toUpperCase()),S=typeof g=="object"&&g&&g.toString===K$&&(!r.utils[w]||!u.length);if(w in r.utils&&!S){const C=r.utils[w];if(C!==a){a=C,y(C(g)),a=null;continue}}else if(w in S1){const C=S1[w];if(C!==s){s=C,y(C(g)),s=null;continue}}if(m&&(x=f.slice(1)in r.media?"@media "+r.media[f.slice(1)]:f,f=x.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(C,E,P,M,k,I)=>{const O=Wf.test(E),T=.0625*(O?-1:1),[_,$]=O?[M,E]:[E,M];return"("+(P[0]==="="?"":P[0]===">"===O?"max-":"min-")+_+":"+(P[0]!=="="&&P.length===1?$.replace(Wf,(A,N,j)=>Number(N)+T*(P===">"?1:-1)+j):$)+(k?") and ("+(k[0]===">"?"min-":"max-")+_+":"+(k.length===1?I.replace(Wf,(A,N,j)=>Number(N)+T*(k===">"?-1:1)+j):I):"")+")"})),S){const C=m?d.concat(f):[...d],E=m?[...u]:W$(u,f.split(G$));i!==void 0&&o(E1(...i)),i=void 0,l(g,E,C)}else i===void 0&&(i=[[],u,d]),f=m||f.charCodeAt(0)!==36?f:`--${Rr(r.prefix)}${f.slice(1).replace(/\$/g,"-")}`,g=S?g:typeof g=="number"?g&&w in q$?String(g)+"px":String(g):nx(V$(w,g??""),r.prefix,r.themeMap[w]),i[0].push(`${m?`${f} `:`${Ph(f)}:`}${g}`)}}var x,p};y(c),i!==void 0&&o(E1(...i)),i=void 0};l(e,t,n)},E1=(e,t,n)=>`${n.map(r=>`${r}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,q$={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},C1=e=>String.fromCharCode(e+(e>25?39:97)),Ko=e=>(t=>{let n,r="";for(n=Math.abs(t);n>52;n=n/52|0)r=C1(n%52)+r;return C1(n%52)+r})(((t,n)=>{let r=n.length;for(;r;)t=33*t^n.charCodeAt(--r);return t})(5381,JSON.stringify(e))>>>0),ls=["themed","global","styled","onevar","resonevar","allvar","inline"],Y$=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},X$=e=>{let t;const n=()=>{const{cssRules:o}=t.sheet;return[].map.call(o,(i,a)=>{const{cssText:s}=i;let l="";if(s.startsWith("--sxs"))return"";if(o[a-1]&&(l=o[a-1].cssText).startsWith("--sxs")){if(!i.cssRules.length)return"";for(const c in t.rules)if(t.rules[c].group===i)return`--sxs{--sxs:${[...t.rules[c].cache].join(" ")}}${s}`;return i.cssRules.length?`${l}${s}`:""}return s}).join("")},r=()=>{if(t){const{rules:s,sheet:l}=t;if(!l.deleteRule){for(;Object(Object(l.cssRules)[0]).type===3;)l.cssRules.splice(0,1);l.cssRules=[]}for(const c in s)delete s[c]}const o=Object(e).styleSheets||[];for(const s of o)if(Y$(s)){for(let l=0,c=s.cssRules;c[l];++l){const u=Object(c[l]);if(u.type!==1)continue;const d=Object(c[l+1]);if(d.type!==4)continue;++l;const{cssText:f}=u;if(!f.startsWith("--sxs"))continue;const g=f.slice(14,-3).trim().split(/\s+/),y=ls[g[0]];y&&(t||(t={sheet:s,reset:r,rules:{},toString:n}),t.rules[y]={group:d,index:l,cache:new Set(g)})}if(t)break}if(!t){const s=(l,c)=>({type:c,cssRules:[],insertRule(u,d){this.cssRules.splice(d,0,s(u,{import:3,undefined:1}[(u.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return l==="@media{}"?`@media{${[].map.call(this.cssRules,u=>u.cssText).join("")}}`:l}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:s("","text/css"),rules:{},reset:r,toString:n}}const{sheet:i,rules:a}=t;for(let s=ls.length-1;s>=0;--s){const l=ls[s];if(!a[l]){const c=ls[s+1],u=a[c]?a[c].index:i.cssRules.length;i.insertRule("@media{}",u),i.insertRule(`--sxs{--sxs:${s}}`,u),a[l]={group:i.cssRules[u+1],index:u,cache:new Set([s])}}Q$(a[l])}};return r(),t},Q$=e=>{const t=e.group;let n=t.cssRules.length;e.apply=r=>{try{t.insertRule(r,n),++n}catch{}}},qa=Symbol(),J$=yl(),Z$=(e,t)=>J$(e,()=>(...n)=>{let r={type:null,composers:new Set};for(const o of n)if(o!=null)if(o[Ic]){r.type==null&&(r.type=o[Ic].type);for(const i of o[Ic].composers)r.composers.add(i)}else o.constructor!==Object||o.$$typeof?r.type==null&&(r.type=o):r.composers.add(e5(o,e));return r.type==null&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),t5(e,r,t)}),e5=({variants:e,compoundVariants:t,defaultVariants:n,...r},o)=>{const i=`${Rr(o.prefix)}c-${Ko(r)}`,a=[],s=[],l=Object.create(null),c=[];for(const f in n)l[f]=String(n[f]);if(typeof e=="object"&&e)for(const f in e){u=l,d=f,D$.call(u,d)||(l[f]="undefined");const g=e[f];for(const y in g){const h={[f]:String(y)};String(y)==="undefined"&&c.push(f);const x=g[y],p=[h,x,!x1(x)];a.push(p)}}var u,d;if(typeof t=="object"&&t)for(const f of t){let{css:g,...y}=f;g=typeof g=="object"&&g||{};for(const x in y)y[x]=String(y[x]);const h=[y,g,!x1(g)];s.push(h)}return[i,r,a,s,l,c]},t5=(e,t,n)=>{const[r,o,i,a]=n5(t.composers),s=typeof t.type=="function"||t.type.$$typeof?(d=>{function f(){for(let g=0;gf.rules[g]={apply:y=>f[qa].push([g,y])}),f})(n):null,l=(s||n).rules,c=`.${r}${o.length>1?`:where(.${o.slice(1).join(".")})`:""}`,u=d=>{d=typeof d=="object"&&d||r5;const{css:f,...g}=d,y={};for(const p in i)if(delete g[p],p in d){let m=d[p];typeof m=="object"&&m?y[p]={"@initial":i[p],...m}:(m=String(m),y[p]=m!=="undefined"||a.has(p)?m:i[p])}else y[p]=i[p];const h=new Set([...o]);for(const[p,m,v,w]of t.composers){n.rules.styled.cache.has(p)||(n.rules.styled.cache.add(p),Di(m,[`.${p}`],[],e,E=>{l.styled.apply(E)}));const S=_1(v,y,e.media),C=_1(w,y,e.media,!0);for(const E of S)if(E!==void 0)for(const[P,M,k]of E){const I=`${p}-${Ko(M)}-${P}`;h.add(I);const O=(k?n.rules.resonevar:n.rules.onevar).cache,T=k?l.resonevar:l.onevar;O.has(I)||(O.add(I),Di(M,[`.${I}`],[],e,_=>{T.apply(_)}))}for(const E of C)if(E!==void 0)for(const[P,M]of E){const k=`${p}-${Ko(M)}-${P}`;h.add(k),n.rules.allvar.cache.has(k)||(n.rules.allvar.cache.add(k),Di(M,[`.${k}`],[],e,I=>{l.allvar.apply(I)}))}}if(typeof f=="object"&&f){const p=`${r}-i${Ko(f)}-css`;h.add(p),n.rules.inline.cache.has(p)||(n.rules.inline.cache.add(p),Di(f,[`.${p}`],[],e,m=>{l.inline.apply(m)}))}for(const p of String(d.className||"").trim().split(/\s+/))p&&h.add(p);const x=g.className=[...h].join(" ");return{type:t.type,className:x,selector:c,props:g,toString:()=>x,deferredInjector:s}};return Mg(u,{className:r,selector:c,[Ic]:t,toString:()=>(n.rules.styled.cache.has(r)||u(),r)})},n5=e=>{let t="";const n=[],r={},o=[];for(const[i,,,,a,s]of e){t===""&&(t=i),n.push(i),o.push(...s);for(const l in a){const c=a[l];(r[l]===void 0||c!=="undefined"||s.includes(c))&&(r[l]=c)}}return[t,n,r,new Set(o)]},_1=(e,t,n,r)=>{const o=[];e:for(let[i,a,s]of e){if(s)continue;let l,c=0,u=!1;for(l in i){const d=i[l];let f=t[l];if(f!==d){if(typeof f!="object"||!f)continue e;{let g,y,h=0;for(const x in f){if(d===String(f[x])){if(x!=="@initial"){const p=x.slice(1);(y=y||[]).push(p in n?n[p]:x.replace(/^@media ?/,"")),u=!0}c+=h,g=!0}++h}if(y&&y.length&&(a={["@media "+y.join(", ")]:a}),!g)continue e}}}(o[c]=o[c]||[]).push([r?"cv":`${l}-${i[l]}`,a,u])}return o},r5={},o5=yl(),i5=(e,t)=>o5(e,()=>(...n)=>{const r=()=>{for(let o of n){o=typeof o=="object"&&o||{};let i=Ko(o);if(!t.rules.global.cache.has(i)){if(t.rules.global.cache.add(i),"@import"in o){let a=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let s of[].concat(o["@import"]))s=s.includes('"')||s.includes("'")?s:`"${s}"`,t.sheet.insertRule(`@import ${s};`,a++);delete o["@import"]}Di(o,[],[],e,a=>{t.rules.global.apply(a)})}}return""};return Mg(r,{toString:r})}),a5=yl(),s5=(e,t)=>a5(e,()=>n=>{const r=`${Rr(e.prefix)}k-${Ko(n)}`,o=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const i=[];Di(n,[],[],e,s=>i.push(s));const a=`@keyframes ${r}{${i.join("")}}`;t.rules.global.apply(a)}return r};return Mg(o,{get name(){return o()},toString:o})}),l5=class{constructor(t,n,r,o){this.token=t==null?"":String(t),this.value=n==null?"":String(n),this.scale=r==null?"":String(r),this.prefix=o==null?"":String(o)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+Rr(this.prefix)+Rr(this.scale)+this.token}toString(){return this.computedValue}},c5=yl(),u5=(e,t)=>c5(e,()=>(n,r)=>{r=typeof n=="object"&&n||Object(r);const o=`.${n=(n=typeof n=="string"?n:"")||`${Rr(e.prefix)}t-${Ko(r)}`}`,i={},a=[];for(const l in r){i[l]={};for(const c in r[l]){const u=`--${Rr(e.prefix)}${l}-${c}`,d=nx(String(r[l][c]),e.prefix,l);i[l][c]=new l5(c,d,l,e.prefix),a.push(`${u}:${d}`)}}const s=()=>{if(a.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const l=`${r===e.theme?":root,":""}.${n}{${a.join(";")}}`;t.rules.themed.apply(l)}return n};return{...i,get className(){return s()},selector:o,toString:s}}),d5=yl(),rx=e=>{let t=!1;const n=d5(e,r=>{t=!0;const o="prefix"in(r=typeof r=="object"&&r||{})?String(r.prefix):"",i=typeof r.media=="object"&&r.media||{},a=typeof r.root=="object"?r.root||null:globalThis.document||null,s=typeof r.theme=="object"&&r.theme||{},l={prefix:o,media:i,theme:s,themeMap:typeof r.themeMap=="object"&&r.themeMap||{...z$},utils:typeof r.utils=="object"&&r.utils||{}},c=X$(a),u={css:Z$(l,c),globalCss:i5(l,c),keyframes:s5(l,c),createTheme:u5(l,c),reset(){c.reset(),u.theme.toString()},theme:{},sheet:c,config:l,prefix:o,getCssText:c.toString,toString:c.toString};return String(u.theme=u.createTheme(s)),u});return t||n.reset(),n},ox=()=>w1||(w1=rx()),f5=(...e)=>ox().createTheme(...e),jr=(...e)=>ox().css(...e),p5={default:{colors:{brand:"hsl(153 60.0% 53.0%)",brandAccent:"hsl(154 54.8% 45.1%)",brandButtonText:"white",defaultButtonBackground:"white",defaultButtonBackgroundHover:"#eaeaea",defaultButtonBorder:"lightgray",defaultButtonText:"gray",dividerBackground:"#eaeaea",inputBackground:"transparent",inputBorder:"lightgray",inputBorderHover:"gray",inputBorderFocus:"gray",inputText:"black",inputLabelText:"gray",inputPlaceholder:"darkgray",messageText:"gray",messageTextDanger:"red",anchorTextColor:"gray",anchorTextHoverColor:"darkgray"},space:{spaceSmall:"4px",spaceMedium:"8px",spaceLarge:"16px",labelBottomMargin:"8px",anchorBottomMargin:"4px",emailInputSpacing:"4px",socialAuthSpacing:"4px",buttonPadding:"10px 15px",inputPadding:"10px 15px"},fontSizes:{baseBodySize:"13px",baseInputSize:"14px",baseLabelSize:"14px",baseButtonSize:"14px"},fonts:{bodyFontFamily:"ui-sans-serif, sans-serif",buttonFontFamily:"ui-sans-serif, sans-serif",inputFontFamily:"ui-sans-serif, sans-serif",labelFontFamily:"ui-sans-serif, sans-serif"},borderWidths:{buttonBorderWidth:"1px",inputBorderWidth:"1px"},radii:{borderRadiusButton:"4px",buttonBorderRadius:"4px",inputBorderRadius:"4px"}},dark:{colors:{brandButtonText:"white",defaultButtonBackground:"#2e2e2e",defaultButtonBackgroundHover:"#3e3e3e",defaultButtonBorder:"#3e3e3e",defaultButtonText:"white",dividerBackground:"#2e2e2e",inputBackground:"#1e1e1e",inputBorder:"#3e3e3e",inputBorderHover:"gray",inputBorderFocus:"gray",inputText:"white",inputPlaceholder:"darkgray"}}},ot={SIGN_IN:"sign_in",SIGN_UP:"sign_up",FORGOTTEN_PASSWORD:"forgotten_password",MAGIC_LINK:"magic_link",UPDATE_PASSWORD:"update_password",VERIFY_OTP:"verify_otp"},h5="supabase-auth-ui",m5={ROOT:"root",SIGN_IN:ot.SIGN_IN,SIGN_UP:ot.SIGN_UP,FORGOTTEN_PASSWORD:ot.FORGOTTEN_PASSWORD,MAGIC_LINK:ot.MAGIC_LINK,UPDATE_PASSWORD:ot.UPDATE_PASSWORD,anchor:"ui-anchor",button:"ui-button",container:"ui-container",divider:"ui-divider",input:"ui-input",label:"ui-label",loader:"ui-loader",message:"ui-message"};function li(e,t,n){var r,o;const i=[],a=m5[e];return i.push(n!=null&&n.prependedClassName?(n==null?void 0:n.prependedClassName)+"_"+a:h5+"_"+a),(r=n==null?void 0:n.className)!=null&&r[e]&&i.push((o=n==null?void 0:n.className)==null?void 0:o[e]),((n==null?void 0:n.extend)===void 0||(n==null?void 0:n.extend)===!0)&&i.push(t),i}function Rh(e,t){let n;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(Array.isArray(t))for(n=0;nt.hasOwnProperty(r)?t[r]:n)}var v5={sign_up:{email_label:"Email address",password_label:"Create a Password",email_input_placeholder:"Your email address",password_input_placeholder:"Your password",button_label:"Sign up",loading_button_label:"Signing up ...",social_provider_text:"Sign in with {{provider}}",link_text:"Don't have an account? Sign up",confirmation_text:"Check your email for the confirmation link"},sign_in:{email_label:"Email address",password_label:"Your Password",email_input_placeholder:"Your email address",password_input_placeholder:"Your password",button_label:"Sign in",loading_button_label:"Signing in ...",social_provider_text:"Sign in with {{provider}}",link_text:"Already have an account? Sign in"},magic_link:{email_input_label:"Email address",email_input_placeholder:"Your email address",button_label:"Send Magic Link",loading_button_label:"Sending Magic Link ...",link_text:"Send a magic link email",confirmation_text:"Check your email for the magic link"},forgotten_password:{email_label:"Email address",password_label:"Your Password",email_input_placeholder:"Your email address",button_label:"Send reset password instructions",loading_button_label:"Sending reset instructions ...",link_text:"Forgot your password?",confirmation_text:"Check your email for the password reset link"},update_password:{password_label:"New password",password_input_placeholder:"Your new password",button_label:"Update password",loading_button_label:"Updating password ...",confirmation_text:"Your password has been updated"},verify_otp:{email_input_label:"Email address",email_input_placeholder:"Your email address",phone_input_label:"Phone number",phone_input_placeholder:"Your phone number",token_input_label:"Token",token_input_placeholder:"Your Otp token",button_label:"Verify token",loading_button_label:"Signing in ..."}};const y5=jr({fontFamily:"$bodyFontFamily",fontSize:"$baseBodySize",marginBottom:"$anchorBottomMargin",color:"$anchorTextColor",display:"block",textAlign:"center",textDecoration:"underline","&:hover":{color:"$anchorTextHoverColor"}}),zo=({children:e,appearance:t,...n})=>{var r;const o=li("anchor",y5(),t);return R.createElement("a",{...n,style:(r=t==null?void 0:t.style)==null?void 0:r.anchor,className:o.join(" ")},e)},b5=jr({fontFamily:"$buttonFontFamily",display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",borderRadius:"$borderRadiusButton",fontSize:"$baseButtonSize",padding:"$buttonPadding",cursor:"pointer",borderWidth:"$buttonBorderWidth",borderStyle:"solid",width:"100%",transitionPproperty:"background-color",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"100ms","&:disabled":{opacity:.7,cursor:"unset"},variants:{color:{default:{backgroundColor:"$defaultButtonBackground",color:"$defaultButtonText",borderColor:"$defaultButtonBorder","&:hover:not(:disabled)":{backgroundColor:"$defaultButtonBackgroundHover"}},primary:{backgroundColor:"$brand",color:"$brandButtonText",borderColor:"$brandAccent","&:hover:not(:disabled)":{backgroundColor:"$brandAccent"}}}}}),Ta=({children:e,color:t="default",appearance:n,icon:r,loading:o=!1,...i})=>{var a;const s=li("button",b5({color:t}),n);return R.createElement("button",{...i,style:(a=n==null?void 0:n.style)==null?void 0:a.button,className:s.join(" "),disabled:o},r,e)},w5=jr({display:"flex",gap:"4px",variants:{direction:{horizontal:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(48px, 1fr))"},vertical:{flexDirection:"column",margin:"8px 0"}},gap:{small:{gap:"4px"},medium:{gap:"8px"},large:{gap:"16px"}}}}),Er=({children:e,appearance:t,...n})=>{var r;const o=li("container",w5({direction:n.direction,gap:n.gap}),t);return R.createElement("div",{...n,style:(r=t==null?void 0:t.style)==null?void 0:r.container,className:o.join(" ")},e)},x5=jr({background:"$dividerBackground",display:"block",margin:"16px 0",height:"1px",width:"100%"}),S5=({children:e,appearance:t,...n})=>{var r;const o=li("divider",x5(),t);return R.createElement("div",{...n,style:(r=t==null?void 0:t.style)==null?void 0:r.divider,className:o.join(" ")})},E5=jr({fontFamily:"$inputFontFamily",background:"$inputBackground",borderRadius:"$inputBorderRadius",padding:"$inputPadding",cursor:"text",borderWidth:"$inputBorderWidth",borderColor:"$inputBorder",borderStyle:"solid",fontSize:"$baseInputSize",width:"100%",color:"$inputText",boxSizing:"border-box","&:hover":{borderColor:"$inputBorderHover",outline:"none"},"&:focus":{borderColor:"$inputBorderFocus",outline:"none"},"&::placeholder":{color:"$inputPlaceholder",letterSpacing:"initial"},transitionPproperty:"background-color, border",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"100ms",variants:{type:{default:{letterSpacing:"0px"},password:{letterSpacing:"6px"}}}}),uo=({children:e,appearance:t,...n})=>{var r;const o=li("input",E5({type:n.type==="password"?"password":"default"}),t);return R.createElement("input",{...n,style:(r=t==null?void 0:t.style)==null?void 0:r.input,className:o.join(" ")},e)},C5=jr({fontFamily:"$labelFontFamily",fontSize:"$baseLabelSize",marginBottom:"$labelBottomMargin",color:"$inputLabelText",display:"block"}),fo=({children:e,appearance:t,...n})=>{var r;const o=li("label",C5(),t);return R.createElement("label",{...n,style:(r=t==null?void 0:t.style)==null?void 0:r.label,className:o.join(" ")},e)},_5=jr({fontFamily:"$bodyFontFamily",fontSize:"$baseBodySize",marginBottom:"$labelBottomMargin",display:"block",textAlign:"center",variants:{color:{default:{color:"$messageText"},danger:{color:"$messageTextDanger"}}}}),dr=({children:e,appearance:t,...n})=>{var r;const o=li("message",_5({color:n.color}),t);return R.createElement("span",{...n,style:(r=t==null?void 0:t.style)==null?void 0:r.message,className:o.join(" ")},e)};function ix({setAuthView:e=()=>{},supabaseClient:t,redirectTo:n,i18n:r,appearance:o,showLinks:i=!1}){var a;const[s,l]=b.useState(""),[c,u]=b.useState(""),[d,f]=b.useState(""),[g,y]=b.useState(!1),h=async p=>{var m;p.preventDefault(),u(""),f(""),y(!0);const{error:v}=await t.auth.signInWithOtp({email:s,options:{emailRedirectTo:n}});v?u(v.message):f((m=r==null?void 0:r.magic_link)==null?void 0:m.confirmation_text),y(!1)},x=r==null?void 0:r.magic_link;return R.createElement("form",{id:"auth-magic-link",onSubmit:h},R.createElement(Er,{gap:"large",direction:"vertical",appearance:o},R.createElement("div",null,R.createElement(fo,{htmlFor:"email",appearance:o},x==null?void 0:x.email_input_label),R.createElement(uo,{id:"email",name:"email",type:"email",autoFocus:!0,placeholder:x==null?void 0:x.email_input_placeholder,onChange:p=>l(p.target.value),appearance:o})),R.createElement(Ta,{color:"primary",type:"submit",loading:g,appearance:o},g?x==null?void 0:x.loading_button_label:x==null?void 0:x.button_label),i&&R.createElement(zo,{href:"#auth-sign-in",onClick:p=>{p.preventDefault(),e(ot.SIGN_IN)},appearance:o},(a=r==null?void 0:r.sign_in)==null?void 0:a.link_text),d&&R.createElement(dr,{appearance:o},d),c&&R.createElement(dr,{color:"danger",appearance:o},c)))}const Mt=jr({width:"21px",height:"21px"}),$5=()=>R.createElement("svg",{className:Mt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},R.createElement("path",{fill:"#FFC107",d:"M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12c0-6.627,5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24c0,11.045,8.955,20,20,20c11.045,0,20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z"}),R.createElement("path",{fill:"#FF3D00",d:"M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z"}),R.createElement("path",{fill:"#4CAF50",d:"M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36c-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z"}),R.createElement("path",{fill:"#1976D2",d:"M43.611,20.083H42V20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.571c0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z"})),k5=()=>R.createElement("svg",{className:Mt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},R.createElement("path",{fill:"#039be5",d:"M24 5A19 19 0 1 0 24 43A19 19 0 1 0 24 5Z"}),R.createElement("path",{fill:"#fff",d:"M26.572,29.036h4.917l0.772-4.995h-5.69v-2.73c0-2.075,0.678-3.915,2.619-3.915h3.119v-4.359c-0.548-0.074-1.707-0.236-3.897-0.236c-4.573,0-7.254,2.415-7.254,7.917v3.323h-4.701v4.995h4.701v13.729C22.089,42.905,23.032,43,24,43c0.875,0,1.729-0.08,2.572-0.194V29.036z"})),P5=()=>R.createElement("svg",{className:Mt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},R.createElement("path",{fill:"#03A9F4",d:"M42,12.429c-1.323,0.586-2.746,0.977-4.247,1.162c1.526-0.906,2.7-2.351,3.251-4.058c-1.428,0.837-3.01,1.452-4.693,1.776C34.967,9.884,33.05,9,30.926,9c-4.08,0-7.387,3.278-7.387,7.32c0,0.572,0.067,1.129,0.193,1.67c-6.138-0.308-11.582-3.226-15.224-7.654c-0.64,1.082-1,2.349-1,3.686c0,2.541,1.301,4.778,3.285,6.096c-1.211-0.037-2.351-0.374-3.349-0.914c0,0.022,0,0.055,0,0.086c0,3.551,2.547,6.508,5.923,7.181c-0.617,0.169-1.269,0.263-1.941,0.263c-0.477,0-0.942-0.054-1.392-0.135c0.94,2.902,3.667,5.023,6.898,5.086c-2.528,1.96-5.712,3.134-9.174,3.134c-0.598,0-1.183-0.034-1.761-0.104C9.268,36.786,13.152,38,17.321,38c13.585,0,21.017-11.156,21.017-20.834c0-0.317-0.01-0.633-0.025-0.945C39.763,15.197,41.013,13.905,42,12.429"})),R5=()=>R.createElement("svg",{className:Mt(),fill:"gray",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"21px",height:"21px"}," ",R.createElement("path",{d:"M 15.904297 1.078125 C 15.843359 1.06875 15.774219 1.0746094 15.699219 1.0996094 C 14.699219 1.2996094 13.600391 1.8996094 12.900391 2.5996094 C 12.300391 3.1996094 11.800781 4.1996094 11.800781 5.0996094 C 11.800781 5.2996094 11.999219 5.5 12.199219 5.5 C 13.299219 5.4 14.399609 4.7996094 15.099609 4.0996094 C 15.699609 3.2996094 16.199219 2.4 16.199219 1.5 C 16.199219 1.275 16.087109 1.10625 15.904297 1.078125 z M 16.199219 5.4003906 C 14.399219 5.4003906 13.600391 6.5 12.400391 6.5 C 11.100391 6.5 9.9003906 5.5 8.4003906 5.5 C 6.3003906 5.5 3.0996094 7.4996094 3.0996094 12.099609 C 2.9996094 16.299609 6.8 21 9 21 C 10.3 21 10.600391 20.199219 12.400391 20.199219 C 14.200391 20.199219 14.600391 21 15.900391 21 C 17.400391 21 18.500391 19.399609 19.400391 18.099609 C 19.800391 17.399609 20.100391 17.000391 20.400391 16.400391 C 20.600391 16.000391 20.4 15.600391 20 15.400391 C 17.4 14.100391 16.900781 9.9003906 19.800781 8.4003906 C 20.300781 8.1003906 20.4 7.4992188 20 7.1992188 C 18.9 6.1992187 17.299219 5.4003906 16.199219 5.4003906 z"})),T5=()=>R.createElement("svg",{className:Mt(),fill:"gray",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",width:"21px",height:"21px"}," ",R.createElement("path",{d:"M15,3C8.373,3,3,8.373,3,15c0,5.623,3.872,10.328,9.092,11.63C12.036,26.468,12,26.28,12,26.047v-2.051 c-0.487,0-1.303,0-1.508,0c-0.821,0-1.551-0.353-1.905-1.009c-0.393-0.729-0.461-1.844-1.435-2.526 c-0.289-0.227-0.069-0.486,0.264-0.451c0.615,0.174,1.125,0.596,1.605,1.222c0.478,0.627,0.703,0.769,1.596,0.769 c0.433,0,1.081-0.025,1.691-0.121c0.328-0.833,0.895-1.6,1.588-1.962c-3.996-0.411-5.903-2.399-5.903-5.098 c0-1.162,0.495-2.286,1.336-3.233C9.053,10.647,8.706,8.73,9.435,8c1.798,0,2.885,1.166,3.146,1.481C13.477,9.174,14.461,9,15.495,9 c1.036,0,2.024,0.174,2.922,0.483C18.675,9.17,19.763,8,21.565,8c0.732,0.731,0.381,2.656,0.102,3.594 c0.836,0.945,1.328,2.066,1.328,3.226c0,2.697-1.904,4.684-5.894,5.097C18.199,20.49,19,22.1,19,23.313v2.734 c0,0.104-0.023,0.179-0.035,0.268C23.641,24.676,27,20.236,27,15C27,8.373,21.627,3,15,3z"})),O5=()=>R.createElement("svg",{className:Mt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},R.createElement("path",{fill:"#e53935",d:"M24 43L16 20 32 20z"}),R.createElement("path",{fill:"#ff7043",d:"M24 43L42 20 32 20z"}),R.createElement("path",{fill:"#e53935",d:"M37 5L42 20 32 20z"}),R.createElement("path",{fill:"#ffa726",d:"M24 43L42 20 45 28z"}),R.createElement("path",{fill:"#ff7043",d:"M24 43L6 20 16 20z"}),R.createElement("path",{fill:"#e53935",d:"M11 5L6 20 16 20z"}),R.createElement("path",{fill:"#ffa726",d:"M24 43L6 20 3 28z"})),A5=()=>R.createElement("svg",{className:Mt(),xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",viewBox:"0 0 62.42 62.42"},R.createElement("defs",null,R.createElement("linearGradient",{id:"New_Gradient_Swatch_1",x1:"64.01",y1:"30.27",x2:"32.99",y2:"54.48",gradientUnits:"userSpaceOnUse"},R.createElement("stop",{offset:"0.18",stopColor:"#0052cc"}),R.createElement("stop",{offset:"1",stopColor:"#2684ff"}))),R.createElement("title",null,"Bitbucket-blue"),R.createElement("g",{id:"Layer_2","data-name":"Layer 2"},R.createElement("g",{id:"Blue",transform:"translate(0 -3.13)"},R.createElement("path",{d:"M2,6.26A2,2,0,0,0,0,8.58L8.49,60.12a2.72,2.72,0,0,0,2.66,2.27H51.88a2,2,0,0,0,2-1.68L62.37,8.59a2,2,0,0,0-2-2.32ZM37.75,43.51h-13L21.23,25.12H40.9Z",fill:"#2684ff"}),R.createElement("path",{d:"M59.67,25.12H40.9L37.75,43.51h-13L9.4,61.73a2.71,2.71,0,0,0,1.75.66H51.89a2,2,0,0,0,2-1.68Z",fill:"url(#New_Gradient_Swatch_1)"})))),I5=()=>R.createElement("svg",{className:Mt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},R.createElement("path",{fill:"#536dfe",d:"M39.248,10.177c-2.804-1.287-5.812-2.235-8.956-2.778c-0.057-0.01-0.114,0.016-0.144,0.068 c-0.387,0.688-0.815,1.585-1.115,2.291c-3.382-0.506-6.747-0.506-10.059,0c-0.3-0.721-0.744-1.603-1.133-2.291 c-0.03-0.051-0.087-0.077-0.144-0.068c-3.143,0.541-6.15,1.489-8.956,2.778c-0.024,0.01-0.045,0.028-0.059,0.051 c-5.704,8.522-7.267,16.835-6.5,25.044c0.003,0.04,0.026,0.079,0.057,0.103c3.763,2.764,7.409,4.442,10.987,5.554 c0.057,0.017,0.118-0.003,0.154-0.051c0.846-1.156,1.601-2.374,2.248-3.656c0.038-0.075,0.002-0.164-0.076-0.194 c-1.197-0.454-2.336-1.007-3.432-1.636c-0.087-0.051-0.094-0.175-0.014-0.234c0.231-0.173,0.461-0.353,0.682-0.534 c0.04-0.033,0.095-0.04,0.142-0.019c7.201,3.288,14.997,3.288,22.113,0c0.047-0.023,0.102-0.016,0.144,0.017 c0.22,0.182,0.451,0.363,0.683,0.536c0.08,0.059,0.075,0.183-0.012,0.234c-1.096,0.641-2.236,1.182-3.434,1.634 c-0.078,0.03-0.113,0.12-0.075,0.196c0.661,1.28,1.415,2.498,2.246,3.654c0.035,0.049,0.097,0.07,0.154,0.052 c3.595-1.112,7.241-2.79,11.004-5.554c0.033-0.024,0.054-0.061,0.057-0.101c0.917-9.491-1.537-17.735-6.505-25.044 C39.293,10.205,39.272,10.187,39.248,10.177z M16.703,30.273c-2.168,0-3.954-1.99-3.954-4.435s1.752-4.435,3.954-4.435 c2.22,0,3.989,2.008,3.954,4.435C20.658,28.282,18.906,30.273,16.703,30.273z M31.324,30.273c-2.168,0-3.954-1.99-3.954-4.435 s1.752-4.435,3.954-4.435c2.22,0,3.989,2.008,3.954,4.435C35.278,28.282,33.544,30.273,31.324,30.273z"})),M5=()=>R.createElement("svg",{className:Mt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},R.createElement("linearGradient",{id:"k8yl7~hDat~FaoWq8WjN6a",x1:"-1254.397",x2:"-1261.911",y1:"877.268",y2:"899.466",gradientTransform:"translate(1981.75 -1362.063) scale(1.5625)",gradientUnits:"userSpaceOnUse"},R.createElement("stop",{offset:"0",stopColor:"#114a8b"}),R.createElement("stop",{offset:"1",stopColor:"#0669bc"})),R.createElement("path",{fill:"url(#k8yl7~hDat~FaoWq8WjN6a)",d:"M17.634,6h11.305L17.203,40.773c-0.247,0.733-0.934,1.226-1.708,1.226H6.697 c-0.994,0-1.8-0.806-1.8-1.8c0-0.196,0.032-0.39,0.094-0.576L15.926,7.227C16.173,6.494,16.86,6,17.634,6L17.634,6z"}),R.createElement("path",{fill:"#0078d4",d:"M34.062,29.324H16.135c-0.458-0.001-0.83,0.371-0.831,0.829c0,0.231,0.095,0.451,0.264,0.608 l11.52,10.752C27.423,41.826,27.865,42,28.324,42h10.151L34.062,29.324z"}),R.createElement("linearGradient",{id:"k8yl7~hDat~FaoWq8WjN6b",x1:"-1252.05",x2:"-1253.788",y1:"887.612",y2:"888.2",gradientTransform:"translate(1981.75 -1362.063) scale(1.5625)",gradientUnits:"userSpaceOnUse"},R.createElement("stop",{offset:"0",stopOpacity:".3"}),R.createElement("stop",{offset:".071",stopOpacity:".2"}),R.createElement("stop",{offset:".321",stopOpacity:".1"}),R.createElement("stop",{offset:".623",stopOpacity:".05"}),R.createElement("stop",{offset:"1",stopOpacity:"0"})),R.createElement("path",{fill:"url(#k8yl7~hDat~FaoWq8WjN6b)",d:"M17.634,6c-0.783-0.003-1.476,0.504-1.712,1.25L5.005,39.595 c-0.335,0.934,0.151,1.964,1.085,2.299C6.286,41.964,6.493,42,6.702,42h9.026c0.684-0.122,1.25-0.603,1.481-1.259l2.177-6.416 l7.776,7.253c0.326,0.27,0.735,0.419,1.158,0.422h10.114l-4.436-12.676l-12.931,0.003L28.98,6H17.634z"}),R.createElement("linearGradient",{id:"k8yl7~hDat~FaoWq8WjN6c",x1:"-1252.952",x2:"-1244.704",y1:"876.6",y2:"898.575",gradientTransform:"translate(1981.75 -1362.063) scale(1.5625)",gradientUnits:"userSpaceOnUse"},R.createElement("stop",{offset:"0",stopColor:"#3ccbf4"}),R.createElement("stop",{offset:"1",stopColor:"#2892df"})),R.createElement("path",{fill:"url(#k8yl7~hDat~FaoWq8WjN6c)",d:"M32.074,7.225C31.827,6.493,31.141,6,30.368,6h-12.6c0.772,0,1.459,0.493,1.705,1.224 l10.935,32.399c0.318,0.942-0.188,1.963-1.13,2.281C29.093,41.968,28.899,42,28.703,42h12.6c0.994,0,1.8-0.806,1.8-1.801 c0-0.196-0.032-0.39-0.095-0.575L32.074,7.225z"})),j5=()=>R.createElement("svg",{className:Mt(),width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},R.createElement("path",{d:"M472.136 163.959H408.584C407.401 163.959 406.218 163.327 405.666 162.3L354.651 73.6591C354.02 72.632 352.916 72 351.654 72H143.492C142.309 72 141.126 72.632 140.574 73.6591L87.5084 165.618L36.414 254.259C35.862 255.286 35.862 256.55 36.414 257.656L87.5084 346.297L140.495 438.335C141.047 439.362 142.23 440.073 143.413 439.994H351.654C352.837 439.994 354.02 439.362 354.651 438.335L405.745 349.694C406.297 348.667 407.48 347.956 408.663 348.035H472.215C474.344 348.035 476 346.297 476 344.243V167.83C475.921 165.697 474.186 163.959 472.136 163.959ZM228.728 349.694L212.721 377.345C212.485 377.74 212.091 378.135 211.696 378.372C211.223 378.609 210.75 378.767 210.198 378.767H178.422C177.318 378.767 176.293 378.214 175.82 377.187L128.431 294.787L123.779 286.65L106.748 257.498C106.511 257.103 106.353 256.629 106.432 256.076C106.432 255.602 106.59 255.049 106.827 254.654L123.937 224.949L175.899 134.886C176.451 133.938 177.476 133.306 178.501 133.306H210.198C210.75 133.306 211.302 133.464 211.854 133.701C212.248 133.938 212.643 134.254 212.879 134.728L228.886 162.537C229.359 163.485 229.28 164.67 228.728 165.539L177.397 254.654C177.16 255.049 177.081 255.523 177.081 255.918C177.081 256.392 177.239 256.787 177.397 257.182L228.728 346.218C229.438 347.403 229.359 348.667 228.728 349.694V349.694ZM388.083 257.498L371.051 286.65L366.399 294.787L319.011 377.187C318.459 378.135 317.512 378.767 316.409 378.767H284.632C284.08 378.767 283.607 378.609 283.134 378.372C282.74 378.135 282.346 377.819 282.109 377.345L266.103 349.694C265.393 348.667 265.393 347.403 266.024 346.376L317.355 257.34C317.591 256.945 317.67 256.471 317.67 256.076C317.67 255.602 317.513 255.207 317.355 254.812L266.024 165.697C265.472 164.749 265.393 163.643 265.866 162.695L281.873 134.886C282.109 134.491 282.503 134.096 282.898 133.859C283.371 133.543 283.923 133.464 284.553 133.464H316.409C317.512 133.464 318.538 134.017 319.011 135.044L370.972 225.107L388.083 254.812C388.319 255.286 388.477 255.76 388.477 256.234C388.477 256.55 388.319 257.024 388.083 257.498V257.498Z",fill:"#008AAA"})),F5=()=>R.createElement("svg",{className:Mt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},R.createElement("path",{fill:"#0288D1",d:"M42,37c0,2.762-2.238,5-5,5H11c-2.761,0-5-2.238-5-5V11c0-2.762,2.239-5,5-5h26c2.762,0,5,2.238,5,5V37z"}),R.createElement("path",{fill:"#FFF",d:"M12 19H17V36H12zM14.485 17h-.028C12.965 17 12 15.888 12 14.499 12 13.08 12.995 12 14.514 12c1.521 0 2.458 1.08 2.486 2.499C17 15.887 16.035 17 14.485 17zM36 36h-5v-9.099c0-2.198-1.225-3.698-3.192-3.698-1.501 0-2.313 1.012-2.707 1.99C24.957 25.543 25 26.511 25 27v9h-5V19h5v2.616C25.721 20.5 26.85 19 29.738 19c3.578 0 6.261 2.25 6.261 7.274L36 36 36 36z"})),N5=()=>R.createElement("svg",{className:Mt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px",fillRule:"evenodd",clipRule:"evenodd"},R.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M11.553,11.099c1.232,1.001,1.694,0.925,4.008,0.77 l21.812-1.31c0.463,0,0.078-0.461-0.076-0.538l-3.622-2.619c-0.694-0.539-1.619-1.156-3.391-1.002l-21.12,1.54 c-0.77,0.076-0.924,0.461-0.617,0.77L11.553,11.099z",clipRule:"evenodd"}),R.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M12.862,16.182v22.95c0,1.233,0.616,1.695,2.004,1.619 l23.971-1.387c1.388-0.076,1.543-0.925,1.543-1.927V14.641c0-1-0.385-1.54-1.234-1.463l-25.05,1.463 C13.171,14.718,12.862,15.181,12.862,16.182L12.862,16.182z",clipRule:"evenodd"}),R.createElement("path",{fill:"#424242",fillRule:"evenodd",d:"M11.553,11.099c1.232,1.001,1.694,0.925,4.008,0.77 l21.812-1.31c0.463,0,0.078-0.461-0.076-0.538l-3.622-2.619c-0.694-0.539-1.619-1.156-3.391-1.002l-21.12,1.54 c-0.77,0.076-0.924,0.461-0.617,0.77L11.553,11.099z M12.862,16.182v22.95c0,1.233,0.616,1.695,2.004,1.619l23.971-1.387 c1.388-0.076,1.543-0.925,1.543-1.927V14.641c0-1-0.385-1.54-1.234-1.463l-25.05,1.463C13.171,14.718,12.862,15.181,12.862,16.182 L12.862,16.182z M36.526,17.413c0.154,0.694,0,1.387-0.695,1.465l-1.155,0.23v16.943c-1.003,0.539-1.928,0.847-2.698,0.847 c-1.234,0-1.543-0.385-2.467-1.54l-7.555-11.86v11.475l2.391,0.539c0,0,0,1.386-1.929,1.386l-5.317,0.308 c-0.154-0.308,0-1.078,0.539-1.232l1.388-0.385V20.418l-1.927-0.154c-0.155-0.694,0.23-1.694,1.31-1.772l5.704-0.385l7.862,12.015 V19.493l-2.005-0.23c-0.154-0.848,0.462-1.464,1.233-1.54L36.526,17.413z M7.389,5.862l21.968-1.618 c2.698-0.231,3.392-0.076,5.087,1.155l7.013,4.929C42.614,11.176,43,11.407,43,12.33v27.032c0,1.694-0.617,2.696-2.775,2.849 l-25.512,1.541c-1.62,0.077-2.391-0.154-3.239-1.232l-5.164-6.7C5.385,34.587,5,33.664,5,32.585V8.556 C5,7.171,5.617,6.015,7.389,5.862z",clipRule:"evenodd"})),L5=()=>R.createElement("svg",{className:Mt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},R.createElement("path",{fill:"#33d375",d:"M33,8c0-2.209-1.791-4-4-4s-4,1.791-4,4c0,1.254,0,9.741,0,11c0,2.209,1.791,4,4,4s4-1.791,4-4 C33,17.741,33,9.254,33,8z"}),R.createElement("path",{fill:"#33d375",d:"M43,19c0,2.209-1.791,4-4,4c-1.195,0-4,0-4,0s0-2.986,0-4c0-2.209,1.791-4,4-4S43,16.791,43,19z"}),R.createElement("path",{fill:"#40c4ff",d:"M8,14c-2.209,0-4,1.791-4,4s1.791,4,4,4c1.254,0,9.741,0,11,0c2.209,0,4-1.791,4-4s-1.791-4-4-4 C17.741,14,9.254,14,8,14z"}),R.createElement("path",{fill:"#40c4ff",d:"M19,4c2.209,0,4,1.791,4,4c0,1.195,0,4,0,4s-2.986,0-4,0c-2.209,0-4-1.791-4-4S16.791,4,19,4z"}),R.createElement("path",{fill:"#e91e63",d:"M14,39.006C14,41.212,15.791,43,18,43s4-1.788,4-3.994c0-1.252,0-9.727,0-10.984 c0-2.206-1.791-3.994-4-3.994s-4,1.788-4,3.994C14,29.279,14,37.754,14,39.006z"}),R.createElement("path",{fill:"#e91e63",d:"M4,28.022c0-2.206,1.791-3.994,4-3.994c1.195,0,4,0,4,0s0,2.981,0,3.994c0,2.206-1.791,3.994-4,3.994 S4,30.228,4,28.022z"}),R.createElement("path",{fill:"#ffc107",d:"M39,33c2.209,0,4-1.791,4-4s-1.791-4-4-4c-1.254,0-9.741,0-11,0c-2.209,0-4,1.791-4,4s1.791,4,4,4 C29.258,33,37.746,33,39,33z"}),R.createElement("path",{fill:"#ffc107",d:"M28,43c-2.209,0-4-1.791-4-4c0-1.195,0-4,0-4s2.986,0,4,0c2.209,0,4,1.791,4,4S30.209,43,28,43z"})),z5=()=>R.createElement("svg",{className:Mt(),width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},R.createElement("path",{d:"M255.498 31.0034C131.513 31.0034 31 131.515 31 255.502C31 379.492 131.513 480 255.498 480C379.497 480 480 379.495 480 255.502C480 131.522 379.497 31.0135 255.495 31.0135L255.498 31V31.0034ZM358.453 354.798C354.432 361.391 345.801 363.486 339.204 359.435C286.496 327.237 220.139 319.947 141.993 337.801C134.463 339.516 126.957 334.798 125.24 327.264C123.516 319.731 128.217 312.225 135.767 310.511C221.284 290.972 294.639 299.384 353.816 335.549C360.413 339.596 362.504 348.2 358.453 354.798ZM385.932 293.67C380.864 301.903 370.088 304.503 361.858 299.438C301.512 262.345 209.528 251.602 138.151 273.272C128.893 276.067 119.118 270.851 116.309 261.61C113.521 252.353 118.74 242.597 127.981 239.782C209.512 215.044 310.87 227.026 380.17 269.612C388.4 274.68 391 285.456 385.935 293.676V293.673L385.932 293.67ZM388.293 230.016C315.935 187.039 196.56 183.089 127.479 204.055C116.387 207.42 104.654 201.159 101.293 190.063C97.9326 178.964 104.189 167.241 115.289 163.87C194.59 139.796 326.418 144.446 409.723 193.902C419.722 199.826 422.995 212.71 417.068 222.675C411.168 232.653 398.247 235.943 388.303 230.016H388.293V230.016Z",fill:"#1ED760"})),B5=()=>R.createElement("svg",{className:Mt(),width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},R.createElement("path",{d:"M416 240L352 304H288L232 360V304H160V64H416V240Z",fill:"white"}),R.createElement("path",{d:"M144 32L64 112V400H160V480L240 400H304L448 256V32H144ZM416 240L352 304H288L232 360V304H160V64H416V240Z",fill:"#9146FF"}),R.createElement("path",{d:"M368 120H336V216H368V120Z",fill:"#9146FF"}),R.createElement("path",{d:"M280 120H248V216H280V120Z",fill:"#9146FF"})),D5=()=>R.createElement("svg",{className:Mt(),width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},R.createElement("path",{d:"M33 256.043C33 264.556 35.3159 273.069 39.4845 280.202L117.993 415.493C126.098 429.298 138.373 440.572 153.657 445.634C183.764 455.528 214.797 442.873 229.618 417.333L248.609 384.661L173.806 256.043L252.777 119.831L271.768 87.1591C277.557 77.2654 284.968 69.4424 294 63H285.894H172.185C150.878 63 131.193 74.2742 120.54 92.6812L39.7161 231.884C35.3159 239.016 33 247.53 33 256.043Z",fill:"#6363F1"}),R.createElement("path",{d:"M480 256.058C480 247.539 477.684 239.021 473.516 231.883L393.849 94.6596C379.028 69.3331 347.995 56.4396 317.888 66.34C302.603 71.4053 290.329 82.6871 282.224 96.5015L264.391 127.354L339.194 256.058L260.223 392.131L241.232 424.825C235.443 434.495 228.032 442.553 219 449H227.106H340.815C362.122 449 381.807 437.718 392.46 419.299L473.284 280.003C477.684 272.866 480 264.577 480 256.058Z",fill:"#6363F1"})),H5=Object.freeze(Object.defineProperty({__proto__:null,apple:R5,azure:M5,bitbucket:A5,discord:I5,facebook:k5,github:T5,gitlab:O5,google:$5,keycloak:j5,linkedin:F5,notion:N5,slack:L5,spotify:z5,twitch:B5,twitter:P5,workos:D5},Symbol.toStringTag,{value:"Module"}));function W5({supabaseClient:e,socialLayout:t="vertical",providers:n=["github","google","azure"],providerScopes:r,queryParams:o,redirectTo:i,onlyThirdPartyProviders:a=!0,view:s="sign_in",i18n:l,appearance:c}){const[u,d]=b.useState(!1),[f,g]=b.useState(""),y=t==="vertical",h=s==="magic_link"?"sign_in":s,x=async m=>{d(!0);const{error:v}=await e.auth.signInWithOAuth({provider:m,options:{redirectTo:i,scopes:r==null?void 0:r[m],queryParams:o}});v&&g(v.message),d(!1)};function p(m){const v=m.toLowerCase();return m.charAt(0).toUpperCase()+v.slice(1)}return R.createElement(R.Fragment,null,n&&n.length>0&&R.createElement(R.Fragment,null,R.createElement(Er,{gap:"large",direction:"vertical",appearance:c},R.createElement(Er,{direction:y?"vertical":"horizontal",gap:y?"small":"medium",appearance:c},n.map(m=>{var v;const w=H5[m];return R.createElement(Ta,{key:m,color:"default",icon:w?R.createElement(w,null):"",loading:u,onClick:()=>x(m),appearance:c},y&&g5((v=l==null?void 0:l[h])==null?void 0:v.social_provider_text,{provider:p(m)}))}))),!a&&R.createElement(S5,{appearance:c})))}function $1({authView:e="sign_in",defaultEmail:t="",defaultPassword:n="",setAuthView:r=()=>{},setDefaultEmail:o=y=>{},setDefaultPassword:i=y=>{},supabaseClient:a,showLinks:s=!1,redirectTo:l,additionalData:c,magicLink:u,i18n:d,appearance:f,children:g}){var y,h,x,p;const m=b.useRef(!0),[v,w]=b.useState(t),[S,C]=b.useState(n),[E,P]=b.useState(""),[M,k]=b.useState(!1),[I,O]=b.useState("");b.useEffect(()=>(m.current=!0,w(t),C(n),()=>{m.current=!1}),[e]);const T=async A=>{var N;switch(A.preventDefault(),P(""),k(!0),e){case"sign_in":const{error:j}=await a.auth.signInWithPassword({email:v,password:S});j&&P(j.message);break;case"sign_up":let L={emailRedirectTo:l};c&&(L.data=c);const{data:{user:z,session:D},error:B}=await a.auth.signUp({email:v,password:S,options:L});B?P(B.message):z&&!D&&O((N=d==null?void 0:d.sign_up)==null?void 0:N.confirmation_text);break}m.current&&k(!1)},_=A=>{o(v),i(S),r(A)},$=d==null?void 0:d[e];return R.createElement("form",{id:e==="sign_in"?"auth-sign-in":"auth-sign-up",onSubmit:T,autoComplete:"on",style:{width:"100%"}},R.createElement(Er,{direction:"vertical",gap:"large",appearance:f},R.createElement(Er,{direction:"vertical",gap:"large",appearance:f},R.createElement("div",null,R.createElement(fo,{htmlFor:"email",appearance:f},$==null?void 0:$.email_label),R.createElement(uo,{id:"email",type:"email",name:"email",placeholder:$==null?void 0:$.email_input_placeholder,defaultValue:v,onChange:A=>w(A.target.value),autoComplete:"email",appearance:f})),R.createElement("div",null,R.createElement(fo,{htmlFor:"password",appearance:f},$==null?void 0:$.password_label),R.createElement(uo,{id:"password",type:"password",name:"password",placeholder:$==null?void 0:$.password_input_placeholder,defaultValue:S,onChange:A=>C(A.target.value),autoComplete:e==="sign_in"?"current-password":"new-password",appearance:f})),g),R.createElement(Ta,{type:"submit",color:"primary",loading:M,appearance:f},M?$==null?void 0:$.loading_button_label:$==null?void 0:$.button_label),s&&R.createElement(Er,{direction:"vertical",gap:"small",appearance:f},e===ot.SIGN_IN&&u&&R.createElement(zo,{href:"#auth-magic-link",onClick:A=>{A.preventDefault(),r(ot.MAGIC_LINK)},appearance:f},(y=d==null?void 0:d.magic_link)==null?void 0:y.link_text),e===ot.SIGN_IN&&R.createElement(zo,{href:"#auth-forgot-password",onClick:A=>{A.preventDefault(),r(ot.FORGOTTEN_PASSWORD)},appearance:f},(h=d==null?void 0:d.forgotten_password)==null?void 0:h.link_text),e===ot.SIGN_IN?R.createElement(zo,{href:"#auth-sign-up",onClick:A=>{A.preventDefault(),_(ot.SIGN_UP)},appearance:f},(x=d==null?void 0:d.sign_up)==null?void 0:x.link_text):R.createElement(zo,{href:"#auth-sign-in",onClick:A=>{A.preventDefault(),_(ot.SIGN_IN)},appearance:f},(p=d==null?void 0:d.sign_in)==null?void 0:p.link_text))),I&&R.createElement(dr,{appearance:f},I),E&&R.createElement(dr,{color:"danger",appearance:f},E))}function ax({setAuthView:e=()=>{},supabaseClient:t,redirectTo:n,i18n:r,appearance:o,showLinks:i=!1}){var a;const[s,l]=b.useState(""),[c,u]=b.useState(""),[d,f]=b.useState(""),[g,y]=b.useState(!1),h=async p=>{var m;p.preventDefault(),u(""),f(""),y(!0);const{error:v}=await t.auth.resetPasswordForEmail(s,{redirectTo:n});v?u(v.message):f((m=r==null?void 0:r.forgotten_password)==null?void 0:m.confirmation_text),y(!1)},x=r==null?void 0:r.forgotten_password;return R.createElement("form",{id:"auth-forgot-password",onSubmit:h},R.createElement(Er,{gap:"large",direction:"vertical",appearance:o},R.createElement("div",null,R.createElement(fo,{htmlFor:"email",appearance:o},x==null?void 0:x.email_label),R.createElement(uo,{id:"email",name:"email",type:"email",autoFocus:!0,placeholder:x==null?void 0:x.email_input_placeholder,onChange:p=>l(p.target.value),appearance:o})),R.createElement(Ta,{type:"submit",color:"primary",loading:g,appearance:o},g?x==null?void 0:x.loading_button_label:x==null?void 0:x.button_label),i&&R.createElement(zo,{href:"#auth-sign-in",onClick:p=>{p.preventDefault(),e(ot.SIGN_IN)},appearance:o},(a=r==null?void 0:r.sign_in)==null?void 0:a.link_text),d&&R.createElement(dr,{appearance:o},d),c&&R.createElement(dr,{color:"danger",appearance:o},c)))}function sx({supabaseClient:e,i18n:t,appearance:n}){const[r,o]=b.useState(""),[i,a]=b.useState(""),[s,l]=b.useState(""),[c,u]=b.useState(!1),d=async g=>{var y;g.preventDefault(),a(""),l(""),u(!0);const{error:h}=await e.auth.updateUser({password:r});h?a(h.message):l((y=t==null?void 0:t.update_password)==null?void 0:y.confirmation_text),u(!1)},f=t==null?void 0:t.update_password;return R.createElement("form",{id:"auth-update-password",onSubmit:d},R.createElement(Er,{gap:"large",direction:"vertical",appearance:n},R.createElement("div",null,R.createElement(fo,{htmlFor:"password",appearance:n},f==null?void 0:f.password_label),R.createElement(uo,{id:"password",name:"password",placeholder:f==null?void 0:f.password_label,type:"password",autoFocus:!0,onChange:g=>o(g.target.value),appearance:n})),R.createElement(Ta,{type:"submit",color:"primary",loading:c,appearance:n},c?f==null?void 0:f.loading_button_label:f==null?void 0:f.button_label),s&&R.createElement(dr,{appearance:n},s),i&&R.createElement(dr,{color:"danger",appearance:n},i)))}function V5({setAuthView:e=()=>{},supabaseClient:t,otpType:n="email",i18n:r,appearance:o,showLinks:i=!1}){var a;const[s,l]=b.useState(""),[c,u]=b.useState(""),[d,f]=b.useState(""),[g,y]=b.useState(""),[h,x]=b.useState(""),[p,m]=b.useState(!1),v=async S=>{S.preventDefault(),y(""),x(""),m(!0);let C={email:s,token:d,type:n};["sms","phone_change"].includes(n)&&(C={phone:c,token:d,type:n});const{error:E}=await t.auth.verifyOtp(C);E&&y(E.message),m(!1)},w=r==null?void 0:r.verify_otp;return R.createElement("form",{id:"auth-magic-link",onSubmit:v},R.createElement(Er,{gap:"large",direction:"vertical",appearance:o},["sms","phone_change"].includes(n)?R.createElement("div",null,R.createElement(fo,{htmlFor:"phone",appearance:o},w==null?void 0:w.phone_input_label),R.createElement(uo,{id:"phone",name:"phone",type:"text",autoFocus:!0,placeholder:w==null?void 0:w.phone_input_placeholder,onChange:S=>u(S.target.value),appearance:o})):R.createElement("div",null,R.createElement(fo,{htmlFor:"email",appearance:o},w==null?void 0:w.email_input_label),R.createElement(uo,{id:"email",name:"email",type:"email",autoFocus:!0,placeholder:w==null?void 0:w.email_input_placeholder,onChange:S=>l(S.target.value),appearance:o})),R.createElement("div",null,R.createElement(fo,{htmlFor:"token",appearance:o},w==null?void 0:w.token_input_label),R.createElement(uo,{id:"token",name:"token",type:"text",placeholder:w==null?void 0:w.token_input_placeholder,onChange:S=>f(S.target.value),appearance:o})),R.createElement(Ta,{color:"primary",type:"submit",loading:p,appearance:o},p?w==null?void 0:w.loading_button_label:w==null?void 0:w.button_label),i&&R.createElement(zo,{href:"#auth-sign-in",onClick:S=>{S.preventDefault(),e(ot.SIGN_IN)},appearance:o},(a=r==null?void 0:r.sign_in)==null?void 0:a.link_text),h&&R.createElement(dr,{appearance:o},h),g&&R.createElement(dr,{color:"danger",appearance:o},g)))}const lx=b.createContext({user:null,session:null}),U5=e=>{const{supabaseClient:t}=e,[n,r]=b.useState(null),[o,i]=b.useState((n==null?void 0:n.user)??null);b.useEffect(()=>{(async()=>{var l;const{data:c}=await t.auth.getSession();r(c.session),i(((l=c.session)==null?void 0:l.user)??null)})();const{data:s}=t.auth.onAuthStateChange(async(l,c)=>{r(c),i((c==null?void 0:c.user)??null)});return()=>{s==null||s.subscription.unsubscribe()}},[]);const a={session:n,user:o};return R.createElement(lx.Provider,{value:a,...e})},G5=()=>{const e=b.useContext(lx);if(e===void 0)throw new Error("useUser must be used within a UserContextProvider.");return e};function Oa({supabaseClient:e,socialLayout:t="vertical",providers:n,providerScopes:r,queryParams:o,view:i="sign_in",redirectTo:a,onlyThirdPartyProviders:s=!1,magicLink:l=!1,showLinks:c=!0,appearance:u,theme:d="default",localization:f={variables:{}},otpType:g="email",additionalData:y,children:h}){const x=Vf(v5,f.variables??{}),[p,m]=b.useState(i),[v,w]=b.useState(""),[S,C]=b.useState(""),E=p==="sign_in"||p==="sign_up"||p==="magic_link";b.useEffect(()=>{var k,I;rx({theme:Vf(((k=u==null?void 0:u.theme)==null?void 0:k.default)??{},((I=u==null?void 0:u.variables)==null?void 0:I.default)??{})})},[u]);const P=({children:k})=>{var I;return R.createElement("div",{className:d!=="default"?f5(Vf(u==null?void 0:u.theme[d],((I=u==null?void 0:u.variables)==null?void 0:I[d])??{})):""},E&&R.createElement(W5,{appearance:u,supabaseClient:e,providers:n,providerScopes:r,queryParams:o,socialLayout:t,redirectTo:a,onlyThirdPartyProviders:s,i18n:x,view:p}),!s&&k)};b.useEffect(()=>{const{data:k}=e.auth.onAuthStateChange(I=>{I==="PASSWORD_RECOVERY"?m("update_password"):I==="USER_UPDATED"&&m("sign_in")});return m(i),()=>k.subscription.unsubscribe()},[i]);const M={supabaseClient:e,setAuthView:m,defaultEmail:v,defaultPassword:S,setDefaultEmail:w,setDefaultPassword:C,redirectTo:a,magicLink:l,showLinks:c,i18n:x,appearance:u};switch(p){case ot.SIGN_IN:return R.createElement(P,null,R.createElement($1,{...M,authView:"sign_in"}));case ot.SIGN_UP:return R.createElement(P,null,R.createElement($1,{appearance:u,supabaseClient:e,authView:"sign_up",setAuthView:m,defaultEmail:v,defaultPassword:S,setDefaultEmail:w,setDefaultPassword:C,redirectTo:a,magicLink:l,showLinks:c,i18n:x,additionalData:y,children:h}));case ot.FORGOTTEN_PASSWORD:return R.createElement(ax,{appearance:u,supabaseClient:e,setAuthView:m,redirectTo:a,showLinks:c,i18n:x});case ot.MAGIC_LINK:return R.createElement(P,null,R.createElement(ix,{appearance:u,supabaseClient:e,setAuthView:m,redirectTo:a,showLinks:c,i18n:x}));case ot.UPDATE_PASSWORD:return R.createElement(sx,{appearance:u,supabaseClient:e,i18n:x});case ot.VERIFY_OTP:return R.createElement(V5,{appearance:u,supabaseClient:e,otpType:g,i18n:x});default:return null}}Oa.ForgottenPassword=ax;Oa.UpdatePassword=sx;Oa.MagicLink=ix;Oa.UserContextProvider=U5;Oa.useUser=G5;jr({borderRadius:"12px",boxShadow:"rgba(100, 100, 111, 0.2) 0px 7px 29px 0px",width:"360px",padding:"28px 32px"});var Gt=function(){return Gt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r0?yt(Aa,--Mn):0,da--,lt===10&&(da=1,od--),lt}function Qn(){return lt=Mn2||Oh(lt)>3?"":" "}function ik(e,t){for(;--t&&Qn()&&!(lt<48||lt>102||lt>57&<<65||lt>70&<<97););return ad(e,jc()+(t<6&&qo()==32&&Qn()==32))}function Ah(e){for(;Qn();)switch(lt){case e:return Mn;case 34:case 39:e!==34&&e!==39&&Ah(lt);break;case 40:e===41&&Ah(e);break;case 92:Qn();break}return Mn}function ak(e,t){for(;Qn()&&e+lt!==47+10;)if(e+lt===42+42&&qo()===47)break;return"/*"+ad(t,Mn-1)+"*"+Fg(e===47?e:Qn())}function sk(e){for(;!Oh(qo());)Qn();return ad(e,Mn)}function mx(e){return rk(Fc("",null,null,null,[""],e=nk(e),0,[0],e))}function Fc(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,f=0,g=0,y=0,h=1,x=1,p=1,m=0,v="",w=o,S=i,C=r,E=v;x;)switch(y=m,m=Qn()){case 40:if(y!=108&&yt(E,d-1)==58){Mc(E+=ue(Uf(m),"&","&\f"),"&\f")!=-1&&(p=-1);break}case 34:case 39:case 91:E+=Uf(m);break;case 9:case 10:case 13:case 32:E+=ok(y);break;case 92:E+=ik(jc()-1,7);continue;case 47:switch(qo()){case 42:case 47:cs(lk(ak(Qn(),jc()),t,n,l),l);break;default:E+="/"}break;case 123*h:s[c++]=nr(E)*p;case 125*h:case 59:case 0:switch(m){case 0:case 125:x=0;case 59+u:p==-1&&(E=ue(E,/\f/g,"")),g>0&&nr(E)-d&&cs(g>32?R1(E+";",r,n,d-1,l):R1(ue(E," ","")+";",r,n,d-2,l),l);break;case 59:E+=";";default:if(cs(C=P1(E,t,n,c,u,o,s,v,w=[],S=[],d,i),i),m===123)if(u===0)Fc(E,t,C,C,w,i,d,s,S);else switch(f===99&&yt(E,3)===110?100:f){case 100:case 108:case 109:case 115:Fc(e,C,C,r&&cs(P1(e,C,C,0,0,o,s,v,o,w=[],d,S),S),o,S,d,s,r?w:S);break;default:Fc(E,C,C,C,[""],S,0,s,S)}}c=u=g=0,h=p=1,v=E="",d=a;break;case 58:d=1+nr(E),g=y;default:if(h<1){if(m==123)--h;else if(m==125&&h++==0&&tk()==125)continue}switch(E+=Fg(m),m*h){case 38:p=u>0?1:(E+="\f",-1);break;case 44:s[c++]=(nr(E)-1)*p,p=1;break;case 64:qo()===45&&(E+=Uf(Qn())),f=qo(),u=d=nr(v=E+=sk(jc())),m++;break;case 45:y===45&&nr(E)==2&&(h=0)}}return i}function P1(e,t,n,r,o,i,a,s,l,c,u,d){for(var f=o-1,g=o===0?i:[""],y=px(g),h=0,x=0,p=0;h0?g[m]+" "+v:ue(v,/&\f/g,g[m])))&&(l[p++]=w);return id(e,t,n,o===0?rd:s,l,c,u,d)}function lk(e,t,n,r){return id(e,t,n,ux,Fg(ek()),ua(e,2,-2),0,r)}function R1(e,t,n,r,o){return id(e,t,n,jg,ua(e,0,r),ua(e,r+1,-1),r,o)}function gx(e,t,n){switch(J5(e,t)){case 5103:return Oe+"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 Oe+e+e;case 4789:return Cs+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Oe+e+Cs+e+Ue+e+e;case 5936:switch(yt(e,t+11)){case 114:return Oe+e+Ue+ue(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Oe+e+Ue+ue(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Oe+e+Ue+ue(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Oe+e+Ue+e+e;case 6165:return Oe+e+Ue+"flex-"+e+e;case 5187:return Oe+e+ue(e,/(\w+).+(:[^]+)/,Oe+"box-$1$2"+Ue+"flex-$1$2")+e;case 5443:return Oe+e+Ue+"flex-item-"+ue(e,/flex-|-self/g,"")+(yr(e,/flex-|baseline/)?"":Ue+"grid-row-"+ue(e,/flex-|-self/g,""))+e;case 4675:return Oe+e+Ue+"flex-line-pack"+ue(e,/align-content|flex-|-self/g,"")+e;case 5548:return Oe+e+Ue+ue(e,"shrink","negative")+e;case 5292:return Oe+e+Ue+ue(e,"basis","preferred-size")+e;case 6060:return Oe+"box-"+ue(e,"-grow","")+Oe+e+Ue+ue(e,"grow","positive")+e;case 4554:return Oe+ue(e,/([^-])(transform)/g,"$1"+Oe+"$2")+e;case 6187:return ue(ue(ue(e,/(zoom-|grab)/,Oe+"$1"),/(image-set)/,Oe+"$1"),e,"")+e;case 5495:case 3959:return ue(e,/(image-set\([^]*)/,Oe+"$1$`$1");case 4968:return ue(ue(e,/(.+:)(flex-)?(.*)/,Oe+"box-pack:$3"+Ue+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Oe+e+e;case 4200:if(!yr(e,/flex-|baseline/))return Ue+"grid-column-align"+ua(e,t)+e;break;case 2592:case 3360:return Ue+ue(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,yr(r.props,/grid-\w+-end/)})?~Mc(e+(n=n[t].value),"span")?e:Ue+ue(e,"-start","")+e+Ue+"grid-row-span:"+(~Mc(n,"span")?yr(n,/\d+/):+yr(n,/\d+/)-+yr(e,/\d+/))+";":Ue+ue(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return yr(r.props,/grid-\w+-start/)})?e:Ue+ue(ue(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ue(e,/(.+)-inline(.+)/,Oe+"$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(nr(e)-1-t>6)switch(yt(e,t+1)){case 109:if(yt(e,t+4)!==45)break;case 102:return ue(e,/(.+:)(.+)-([^]+)/,"$1"+Oe+"$2-$3$1"+Cs+(yt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Mc(e,"stretch")?gx(ue(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return ue(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,i,a,s,l,c){return Ue+o+":"+i+c+(a?Ue+o+"-span:"+(s?l:+l-+i)+c:"")+e});case 4949:if(yt(e,t+6)===121)return ue(e,":",":"+Oe)+e;break;case 6444:switch(yt(e,yt(e,14)===45?18:11)){case 120:return ue(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Oe+(yt(e,14)===45?"inline-":"")+"box$3$1"+Oe+"$2$3$1"+Ue+"$2box$3")+e;case 100:return ue(e,":",":"+Ue)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ue(e,"scroll-","scroll-snap-")+e}return e}function tl(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case jg:e.return=gx(e.value,e.length,n);return;case dx:return tl([Vr(e,{value:ue(e.value,"@","@"+Oe)})],r);case rd:if(e.length)return Z5(n=e.props,function(o){switch(yr(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":hi(Vr(e,{props:[ue(o,/:(read-\w+)/,":"+Cs+"$1")]})),hi(Vr(e,{props:[o]})),Th(e,{props:k1(n,r)});break;case"::placeholder":hi(Vr(e,{props:[ue(o,/:(plac\w+)/,":"+Oe+"input-$1")]})),hi(Vr(e,{props:[ue(o,/:(plac\w+)/,":"+Cs+"$1")]})),hi(Vr(e,{props:[ue(o,/:(plac\w+)/,Ue+"input-$1")]})),hi(Vr(e,{props:[o]})),Th(e,{props:k1(n,r)});break}return""})}}var yx={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,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},fa=typeof process<"u"&&process.env!==void 0&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",Ng=typeof window<"u"&&"HTMLElement"in window,fk=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""&&{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY),sd=Object.freeze([]),pa=Object.freeze({});function pk(e,t,n){return n===void 0&&(n=pa),e.theme!==n.theme&&e.theme||t||n.theme}var bx=new Set(["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","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","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),hk=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,mk=/(^-|-$)/g;function T1(e){return e.replace(hk,"-").replace(mk,"")}var gk=/(a)(d)/gi,O1=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ih(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=O1(t%52)+n;return(O1(t%52)+n).replace(gk,"$1-$2")}var Gf,Hi=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},wx=function(e){return Hi(5381,e)};function vk(e){return Ih(wx(e)>>>0)}function yk(e){return e.displayName||e.name||"Component"}function Kf(e){return typeof e=="string"&&!0}var xx=typeof Symbol=="function"&&Symbol.for,Sx=xx?Symbol.for("react.memo"):60115,bk=xx?Symbol.for("react.forward_ref"):60112,wk={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},xk={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ex={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Sk=((Gf={})[bk]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Gf[Sx]=Ex,Gf);function A1(e){return("type"in(t=e)&&t.type.$$typeof)===Sx?Ex:"$$typeof"in e?Sk[e.$$typeof]:wk;var t}var Ek=Object.defineProperty,Ck=Object.getOwnPropertyNames,I1=Object.getOwnPropertySymbols,_k=Object.getOwnPropertyDescriptor,$k=Object.getPrototypeOf,M1=Object.prototype;function Cx(e,t,n){if(typeof t!="string"){if(M1){var r=$k(t);r&&r!==M1&&Cx(e,r,n)}var o=Ck(t);I1&&(o=o.concat(I1(t)));for(var i=A1(e),a=A1(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var kk=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,i=o;t>=i;)if((i<<=1)<0)throw bl(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var a=o;a=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],o=this.indexOfGroup(t),i=o+r,a=o;a=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(x+="".concat(p,","))}),l+="".concat(y).concat(h,'{content:"').concat(x,'"}').concat(`/*!sc*/ +`)},u=0;u0?".".concat(t):f},u=l.slice();u.push(function(f){f.type===rd&&f.value.includes("&")&&(f.props[0]=f.props[0].replace(Lk,n).replace(r,c))}),a.prefix&&u.push(dk),u.push(vx);var d=function(f,g,y,h){g===void 0&&(g=""),y===void 0&&(y=""),h===void 0&&(h="&"),t=h,n=g,r=new RegExp("\\".concat(n,"\\b"),"g");var x=f.replace(zk,""),p=mx(y||g?"".concat(y," ").concat(g," { ").concat(x," }"):x);a.namespace&&(p=kx(p,a.namespace));var m=[];return tl(p,ck(u.concat(uk(function(v){return m.push(v)})))),m};return d.hash=l.length?l.reduce(function(f,g){return g.name||bl(15),Hi(f,g.name)},5381).toString():"",d}var Dk=new $x,jh=Bk(),Px=R.createContext({shouldForwardProp:void 0,styleSheet:Dk,stylis:jh});Px.Consumer;R.createContext(void 0);function N1(){return b.useContext(Px)}var Hk=function(){function e(t,n){var r=this;this.inject=function(o,i){i===void 0&&(i=jh);var a=r.name+i.hash;o.hasNameForId(r.id,a)||o.insertRules(r.id,a,i(r.rules,a,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,zg(this,function(){throw bl(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=jh),this.name+t.hash},e}(),Wk=function(e){return e>="A"&&e<="Z"};function L1(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,a)){var s=r(i,".".concat(a),void 0,this.componentId);n.insertRules(this.componentId,a,s)}o=Bo(o,a),this.staticRulesId=a}else{for(var l=Hi(this.baseHash,r.hash),c="",u=0;u>>0);n.hasNameForId(this.componentId,g)||n.insertRules(this.componentId,g,r(c,".".concat(g),void 0,this.componentId)),o=Bo(o,g)}}return o},e}(),Ox=R.createContext(void 0);Ox.Consumer;var Yf={};function Kk(e,t,n){var r=Lg(e),o=e,i=!Kf(e),a=t.attrs,s=a===void 0?sd:a,l=t.componentId,c=l===void 0?function(v,w){var S=typeof v!="string"?"sc":T1(v);Yf[S]=(Yf[S]||0)+1;var C="".concat(S,"-").concat(vk("6.0.4"+S+Yf[S]));return w?"".concat(w,"-").concat(C):C}(t.displayName,t.parentComponentId):l,u=t.displayName;u===void 0&&function(v){return Kf(v)?"styled.".concat(v):"Styled(".concat(yk(v),")")}(e);var d=t.displayName&&t.componentId?"".concat(T1(t.displayName),"-").concat(t.componentId):t.componentId||c,f=r&&o.attrs?o.attrs.concat(s).filter(Boolean):s,g=t.shouldForwardProp;if(r&&o.shouldForwardProp){var y=o.shouldForwardProp;if(t.shouldForwardProp){var h=t.shouldForwardProp;g=function(v,w){return y(v,w)&&h(v,w)}}else g=y}var x=new Gk(n,d,r?o.componentStyle:void 0);function p(v,w){return function(S,C,E){var P=S.attrs,M=S.componentStyle,k=S.defaultProps,I=S.foldedComponentIds,O=S.styledComponentId,T=S.target,_=R.useContext(Ox),$=N1(),A=S.shouldForwardProp||$.shouldForwardProp,N=function(U,W,Y){for(var X,Q=Gt(Gt({},W),{className:void 0,theme:Y}),ne=0;ne{t[n]=Mx(e[n])}),t}function Cr(e,t,n={clone:!0}){const r=n.clone?F({},e):e;return Mo(e)&&Mo(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Mo(t[o])&&o in e&&Mo(e[o])?r[o]=Cr(e[o],t[o],n):n.clone?r[o]=Mo(t[o])?Mx(t[o]):t[o]:r[o]=t[o])}),r}function ma(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function jx(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function Yk(e,t){return()=>null}function Xk(e,t){return b.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function Lt(e){return e&&e.ownerDocument||document}function ga(e){return Lt(e).defaultView||window}function Qk(e,t){return()=>null}function vu(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Jk=typeof window<"u"?b.useLayoutEffect:b.useEffect,mo=Jk;let D1=0;function Zk(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(D1+=1,n(`mui-${D1}`))},[t]),r}const H1=js["useId".toString()];function Fx(e){if(H1!==void 0){const t=H1();return e??t}return Zk(e)}function eP(e,t,n,r,o){return null}function Nx({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=b.useRef(e!==void 0),[i,a]=b.useState(t),s=o?e:i,l=b.useCallback(c=>{o||a(c)},[]);return[s,l]}function Jr(e){const t=b.useRef(e);return mo(()=>{t.current=e}),b.useCallback((...n)=>(0,t.current)(...n),[])}function zt(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{vu(n,t)})},e)}let ld=!0,Lh=!1,W1;const tP={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function nP(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&tP[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function rP(e){e.metaKey||e.altKey||e.ctrlKey||(ld=!0)}function Qf(){ld=!1}function oP(){this.visibilityState==="hidden"&&Lh&&(ld=!0)}function iP(e){e.addEventListener("keydown",rP,!0),e.addEventListener("mousedown",Qf,!0),e.addEventListener("pointerdown",Qf,!0),e.addEventListener("touchstart",Qf,!0),e.addEventListener("visibilitychange",oP,!0)}function aP(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return ld||nP(t)}function Hg(){const e=b.useCallback(o=>{o!=null&&iP(o.ownerDocument)},[]),t=b.useRef(!1);function n(){return t.current?(Lh=!0,window.clearTimeout(W1),W1=window.setTimeout(()=>{Lh=!1},100),t.current=!1,!0):!1}function r(o){return aP(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Lx(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Wg(e,t){const n=F({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=F({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=F({},i),Object.keys(o).forEach(a=>{n[r][a]=Wg(o[a],i[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function wt(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,a)=>{if(a){const s=t(a);s!==""&&i.push(s),n&&n[a]&&i.push(n[a])}return i},[]).join(" ")}),r}const V1=e=>e,sP=()=>{let e=V1;return{configure(t){e=t},generate(t){return e(t)},reset(){e=V1}}},lP=sP(),Vg=lP,cP={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function mt(e,t,n="Mui"){const r=cP[t];return r?`${n}-${r}`:`${Vg.generate(e)}-${t}`}function at(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=mt(e,o,n)}),r}function se(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function zx(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;tt?"":e(n)}function fP(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function zh(e,t,n){return typeof e=="function"?e(t,n):e}function U1(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function pP(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const g=ge(o==null?void 0:o.className,r==null?void 0:r.className,i,n==null?void 0:n.className),y=F({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),h=F({},n,o,r);return g.length>0&&(h.className=g),Object.keys(y).length>0&&(h.style=y),{props:h,internalRef:void 0}}const a=fP(F({},o,r)),s=U1(r),l=U1(o),c=t(a),u=ge(c==null?void 0:c.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),d=F({},c==null?void 0:c.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),f=F({},c,n,l,s);return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}}const hP=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function rl(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=se(e,hP),s=i?{}:zh(r,o),{props:l,internalRef:c}=pP(F({},a,{externalSlotProps:s})),u=zt(c,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return us(n,F({},l,{ref:u}),o)}const mP=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function gP(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function vP(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function yP(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||vP(e))}function bP(e){const t=[],n=[];return Array.from(e.querySelectorAll(mP)).forEach((r,o)=>{const i=gP(r);i===-1||!yP(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function wP(){return!0}function xP(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=bP,isEnabled:a=wP,open:s}=e,l=b.useRef(!1),c=b.useRef(null),u=b.useRef(null),d=b.useRef(null),f=b.useRef(null),g=b.useRef(!1),y=b.useRef(null),h=zt(t.ref,y),x=b.useRef(null);b.useEffect(()=>{!s||!y.current||(g.current=!n)},[n,s]),b.useEffect(()=>{if(!s||!y.current)return;const v=Lt(y.current);return y.current.contains(v.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex","-1"),g.current&&y.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[s]),b.useEffect(()=>{if(!s||!y.current)return;const v=Lt(y.current),w=E=>{const{current:P}=y;if(P!==null){if(!v.hasFocus()||r||!a()||l.current){l.current=!1;return}if(!P.contains(v.activeElement)){if(E&&f.current!==E.target||v.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!g.current)return;let I=[];if((v.activeElement===c.current||v.activeElement===u.current)&&(I=i(y.current)),I.length>0){var M,k;const O=!!((M=x.current)!=null&&M.shiftKey&&((k=x.current)==null?void 0:k.key)==="Tab"),T=I[0],_=I[I.length-1];typeof T!="string"&&typeof _!="string"&&(O?_.focus():T.focus())}else P.focus()}}},S=E=>{x.current=E,!(r||!a()||E.key!=="Tab")&&v.activeElement===y.current&&E.shiftKey&&(l.current=!0,u.current&&u.current.focus())};v.addEventListener("focusin",w),v.addEventListener("keydown",S,!0);const C=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&w(null)},50);return()=>{clearInterval(C),v.removeEventListener("focusin",w),v.removeEventListener("keydown",S,!0)}},[n,r,o,a,s,i]);const p=v=>{d.current===null&&(d.current=v.relatedTarget),g.current=!0,f.current=v.target;const w=t.props.onFocus;w&&w(v)},m=v=>{d.current===null&&(d.current=v.relatedTarget),g.current=!0};return H.jsxs(b.Fragment,{children:[H.jsx("div",{tabIndex:s?0:-1,onFocus:m,ref:c,"data-testid":"sentinelStart"}),b.cloneElement(t,{ref:h,onFocus:p}),H.jsx("div",{tabIndex:s?0:-1,onFocus:m,ref:u,"data-testid":"sentinelEnd"})]})}var Qt="top",jn="bottom",Fn="right",Jt="left",Gg="auto",xl=[Qt,jn,Fn,Jt],va="start",ol="end",SP="clippingParents",Dx="viewport",Ya="popper",EP="reference",G1=xl.reduce(function(e,t){return e.concat([t+"-"+va,t+"-"+ol])},[]),Hx=[].concat(xl,[Gg]).reduce(function(e,t){return e.concat([t,t+"-"+va,t+"-"+ol])},[]),CP="beforeRead",_P="read",$P="afterRead",kP="beforeMain",PP="main",RP="afterMain",TP="beforeWrite",OP="write",AP="afterWrite",IP=[CP,_P,$P,kP,PP,RP,TP,OP,AP];function fr(e){return e?(e.nodeName||"").toLowerCase():null}function vn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ni(e){var t=vn(e).Element;return e instanceof t||e instanceof Element}function On(e){var t=vn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Kg(e){if(typeof ShadowRoot>"u")return!1;var t=vn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function MP(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!On(i)||!fr(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function jP(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(r){var o=t.elements[r],i=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,c){return l[c]="",l},{});!On(o)||!fr(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const FP={name:"applyStyles",enabled:!0,phase:"write",fn:MP,effect:jP,requires:["computeStyles"]};function cr(e){return e.split("-")[0]}var Xo=Math.max,yu=Math.min,ya=Math.round;function Bh(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Wx(){return!/^((?!chrome|android).)*safari/i.test(Bh())}function ba(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&On(e)&&(o=e.offsetWidth>0&&ya(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&ya(r.height)/e.offsetHeight||1);var a=ni(e)?vn(e):window,s=a.visualViewport,l=!Wx()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/o,u=(r.top+(l&&s?s.offsetTop:0))/i,d=r.width/o,f=r.height/i;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function qg(e){var t=ba(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 Vx(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Kg(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Tr(e){return vn(e).getComputedStyle(e)}function NP(e){return["table","td","th"].indexOf(fr(e))>=0}function bo(e){return((ni(e)?e.ownerDocument:e.document)||window.document).documentElement}function cd(e){return fr(e)==="html"?e:e.assignedSlot||e.parentNode||(Kg(e)?e.host:null)||bo(e)}function K1(e){return!On(e)||Tr(e).position==="fixed"?null:e.offsetParent}function LP(e){var t=/firefox/i.test(Bh()),n=/Trident/i.test(Bh());if(n&&On(e)){var r=Tr(e);if(r.position==="fixed")return null}var o=cd(e);for(Kg(o)&&(o=o.host);On(o)&&["html","body"].indexOf(fr(o))<0;){var i=Tr(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Sl(e){for(var t=vn(e),n=K1(e);n&&NP(n)&&Tr(n).position==="static";)n=K1(n);return n&&(fr(n)==="html"||fr(n)==="body"&&Tr(n).position==="static")?t:n||LP(e)||t}function Yg(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function _s(e,t,n){return Xo(e,yu(t,n))}function zP(e,t,n){var r=_s(e,t,n);return r>n?n:r}function Ux(){return{top:0,right:0,bottom:0,left:0}}function Gx(e){return Object.assign({},Ux(),e)}function Kx(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var BP=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Gx(typeof t!="number"?t:Kx(t,xl))};function DP(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=cr(n.placement),l=Yg(s),c=[Jt,Fn].indexOf(s)>=0,u=c?"height":"width";if(!(!i||!a)){var d=BP(o.padding,n),f=qg(i),g=l==="y"?Qt:Jt,y=l==="y"?jn:Fn,h=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],x=a[l]-n.rects.reference[l],p=Sl(i),m=p?l==="y"?p.clientHeight||0:p.clientWidth||0:0,v=h/2-x/2,w=d[g],S=m-f[u]-d[y],C=m/2-f[u]/2+v,E=_s(w,C,S),P=l;n.modifiersData[r]=(t={},t[P]=E,t.centerOffset=E-C,t)}}function HP(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Vx(t.elements.popper,o)&&(t.elements.arrow=o))}const WP={name:"arrow",enabled:!0,phase:"main",fn:DP,effect:HP,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function wa(e){return e.split("-")[1]}var VP={top:"auto",right:"auto",bottom:"auto",left:"auto"};function UP(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:ya(n*o)/o||0,y:ya(r*o)/o||0}}function q1(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,g=f===void 0?0:f,y=a.y,h=y===void 0?0:y,x=typeof u=="function"?u({x:g,y:h}):{x:g,y:h};g=x.x,h=x.y;var p=a.hasOwnProperty("x"),m=a.hasOwnProperty("y"),v=Jt,w=Qt,S=window;if(c){var C=Sl(n),E="clientHeight",P="clientWidth";if(C===vn(n)&&(C=bo(n),Tr(C).position!=="static"&&s==="absolute"&&(E="scrollHeight",P="scrollWidth")),C=C,o===Qt||(o===Jt||o===Fn)&&i===ol){w=jn;var M=d&&C===S&&S.visualViewport?S.visualViewport.height:C[E];h-=M-r.height,h*=l?1:-1}if(o===Jt||(o===Qt||o===jn)&&i===ol){v=Fn;var k=d&&C===S&&S.visualViewport?S.visualViewport.width:C[P];g-=k-r.width,g*=l?1:-1}}var I=Object.assign({position:s},c&&VP),O=u===!0?UP({x:g,y:h},vn(n)):{x:g,y:h};if(g=O.x,h=O.y,l){var T;return Object.assign({},I,(T={},T[w]=m?"0":"",T[v]=p?"0":"",T.transform=(S.devicePixelRatio||1)<=1?"translate("+g+"px, "+h+"px)":"translate3d("+g+"px, "+h+"px, 0)",T))}return Object.assign({},I,(t={},t[w]=m?h+"px":"",t[v]=p?g+"px":"",t.transform="",t))}function GP(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:cr(t.placement),variation:wa(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,q1(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,q1(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const KP={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:GP,data:{}};var rc={passive:!0};function qP(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,s=a===void 0?!0:a,l=vn(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",n.update,rc)}),s&&l.addEventListener("resize",n.update,rc),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",n.update,rc)}),s&&l.removeEventListener("resize",n.update,rc)}}const YP={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qP,data:{}};var XP={left:"right",right:"left",bottom:"top",top:"bottom"};function Lc(e){return e.replace(/left|right|bottom|top/g,function(t){return XP[t]})}var QP={start:"end",end:"start"};function Y1(e){return e.replace(/start|end/g,function(t){return QP[t]})}function Xg(e){var t=vn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Qg(e){return ba(bo(e)).left+Xg(e).scrollLeft}function JP(e,t){var n=vn(e),r=bo(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=Wx();(c||!c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+Qg(e),y:l}}function ZP(e){var t,n=bo(e),r=Xg(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Xo(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Xo(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Qg(e),l=-r.scrollTop;return Tr(o||n).direction==="rtl"&&(s+=Xo(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function Jg(e){var t=Tr(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function qx(e){return["html","body","#document"].indexOf(fr(e))>=0?e.ownerDocument.body:On(e)&&Jg(e)?e:qx(cd(e))}function $s(e,t){var n;t===void 0&&(t=[]);var r=qx(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=vn(r),a=o?[i].concat(i.visualViewport||[],Jg(r)?r:[]):r,s=t.concat(a);return o?s:s.concat($s(cd(a)))}function Dh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function eR(e,t){var n=ba(e,!1,t==="fixed");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}function X1(e,t,n){return t===Dx?Dh(JP(e,n)):ni(t)?eR(t,n):Dh(ZP(bo(e)))}function tR(e){var t=$s(cd(e)),n=["absolute","fixed"].indexOf(Tr(e).position)>=0,r=n&&On(e)?Sl(e):e;return ni(r)?t.filter(function(o){return ni(o)&&Vx(o,r)&&fr(o)!=="body"}):[]}function nR(e,t,n,r){var o=t==="clippingParents"?tR(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(l,c){var u=X1(e,c,r);return l.top=Xo(u.top,l.top),l.right=yu(u.right,l.right),l.bottom=yu(u.bottom,l.bottom),l.left=Xo(u.left,l.left),l},X1(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Yx(e){var t=e.reference,n=e.element,r=e.placement,o=r?cr(r):null,i=r?wa(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(o){case Qt:l={x:a,y:t.y-n.height};break;case jn:l={x:a,y:t.y+t.height};break;case Fn:l={x:t.x+t.width,y:s};break;case Jt:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var c=o?Yg(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case va:l[c]=l[c]-(t[u]/2-n[u]/2);break;case ol:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function il(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,s=n.boundary,l=s===void 0?SP:s,c=n.rootBoundary,u=c===void 0?Dx:c,d=n.elementContext,f=d===void 0?Ya:d,g=n.altBoundary,y=g===void 0?!1:g,h=n.padding,x=h===void 0?0:h,p=Gx(typeof x!="number"?x:Kx(x,xl)),m=f===Ya?EP:Ya,v=e.rects.popper,w=e.elements[y?m:f],S=nR(ni(w)?w:w.contextElement||bo(e.elements.popper),l,u,a),C=ba(e.elements.reference),E=Yx({reference:C,element:v,strategy:"absolute",placement:o}),P=Dh(Object.assign({},v,E)),M=f===Ya?P:C,k={top:S.top-M.top+p.top,bottom:M.bottom-S.bottom+p.bottom,left:S.left-M.left+p.left,right:M.right-S.right+p.right},I=e.modifiersData.offset;if(f===Ya&&I){var O=I[o];Object.keys(k).forEach(function(T){var _=[Fn,jn].indexOf(T)>=0?1:-1,$=[Qt,jn].indexOf(T)>=0?"y":"x";k[T]+=O[$]*_})}return k}function rR(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Hx:l,u=wa(r),d=u?s?G1:G1.filter(function(y){return wa(y)===u}):xl,f=d.filter(function(y){return c.indexOf(y)>=0});f.length===0&&(f=d);var g=f.reduce(function(y,h){return y[h]=il(e,{placement:h,boundary:o,rootBoundary:i,padding:a})[cr(h)],y},{});return Object.keys(g).sort(function(y,h){return g[y]-g[h]})}function oR(e){if(cr(e)===Gg)return[];var t=Lc(e);return[Y1(e),t,Y1(t)]}function iR(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,g=n.flipVariations,y=g===void 0?!0:g,h=n.allowedAutoPlacements,x=t.options.placement,p=cr(x),m=p===x,v=l||(m||!y?[Lc(x)]:oR(x)),w=[x].concat(v).reduce(function(W,Y){return W.concat(cr(Y)===Gg?rR(t,{placement:Y,boundary:u,rootBoundary:d,padding:c,flipVariations:y,allowedAutoPlacements:h}):Y)},[]),S=t.rects.reference,C=t.rects.popper,E=new Map,P=!0,M=w[0],k=0;k=0,$=_?"width":"height",A=il(t,{placement:I,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),N=_?T?Fn:Jt:T?jn:Qt;S[$]>C[$]&&(N=Lc(N));var j=Lc(N),L=[];if(i&&L.push(A[O]<=0),s&&L.push(A[N]<=0,A[j]<=0),L.every(function(W){return W})){M=I,P=!1;break}E.set(I,L)}if(P)for(var z=y?3:1,D=function(Y){var X=w.find(function(Q){var ne=E.get(Q);if(ne)return ne.slice(0,Y).every(function(J){return J})});if(X)return M=X,"break"},B=z;B>0;B--){var U=D(B);if(U==="break")break}t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}}const aR={name:"flip",enabled:!0,phase:"main",fn:iR,requiresIfExists:["offset"],data:{_skip:!1}};function Q1(e,t,n){return n===void 0&&(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 J1(e){return[Qt,Fn,jn,Jt].some(function(t){return e[t]>=0})}function sR(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=il(t,{elementContext:"reference"}),s=il(t,{altBoundary:!0}),l=Q1(a,r),c=Q1(s,o,i),u=J1(l),d=J1(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const lR={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:sR};function cR(e,t,n){var r=cr(e),o=[Jt,Qt].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Jt,Fn].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function uR(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=Hx.reduce(function(u,d){return u[d]=cR(d,t.rects,i),u},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}const dR={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:uR};function fR(e){var t=e.state,n=e.name;t.modifiersData[n]=Yx({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const pR={name:"popperOffsets",enabled:!0,phase:"read",fn:fR,data:{}};function hR(e){return e==="x"?"y":"x"}function mR(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,g=f===void 0?!0:f,y=n.tetherOffset,h=y===void 0?0:y,x=il(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),p=cr(t.placement),m=wa(t.placement),v=!m,w=Yg(p),S=hR(w),C=t.modifiersData.popperOffsets,E=t.rects.reference,P=t.rects.popper,M=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,k=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(C){if(i){var T,_=w==="y"?Qt:Jt,$=w==="y"?jn:Fn,A=w==="y"?"height":"width",N=C[w],j=N+x[_],L=N-x[$],z=g?-P[A]/2:0,D=m===va?E[A]:P[A],B=m===va?-P[A]:-E[A],U=t.elements.arrow,W=g&&U?qg(U):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ux(),X=Y[_],Q=Y[$],ne=_s(0,E[A],W[A]),J=v?E[A]/2-z-ne-X-k.mainAxis:D-ne-X-k.mainAxis,pe=v?-E[A]/2+z+ne+Q+k.mainAxis:B+ne+Q+k.mainAxis,Re=t.elements.arrow&&Sl(t.elements.arrow),le=Re?w==="y"?Re.clientTop||0:Re.clientLeft||0:0,be=(T=I==null?void 0:I[w])!=null?T:0,Ce=N+J-be-le,xe=N+pe-be,He=_s(g?yu(j,Ce):j,N,g?Xo(L,xe):L);C[w]=He,O[w]=He-N}if(s){var re,We=w==="x"?Qt:Jt,he=w==="x"?jn:Fn,Z=C[S],te=S==="y"?"height":"width",_e=Z+x[We],ce=Z-x[he],ae=[Qt,Jt].indexOf(p)!==-1,Te=(re=I==null?void 0:I[S])!=null?re:0,Ke=ae?_e:Z-E[te]-P[te]-Te+k.altAxis,Sn=ae?Z+E[te]+P[te]-Te-k.altAxis:ce,zr=g&&ae?zP(Ke,Z,Sn):_s(g?Ke:_e,Z,g?Sn:ce);C[S]=zr,O[S]=zr-Z}t.modifiersData[r]=O}}const gR={name:"preventOverflow",enabled:!0,phase:"main",fn:mR,requiresIfExists:["offset"]};function vR(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function yR(e){return e===vn(e)||!On(e)?Xg(e):vR(e)}function bR(e){var t=e.getBoundingClientRect(),n=ya(t.width)/e.offsetWidth||1,r=ya(t.height)/e.offsetHeight||1;return n!==1||r!==1}function wR(e,t,n){n===void 0&&(n=!1);var r=On(t),o=On(t)&&bR(t),i=bo(t),a=ba(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((fr(t)!=="body"||Jg(i))&&(s=yR(t)),On(t)?(l=ba(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Qg(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function xR(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&o(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function SR(e){var t=xR(e);return IP.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function ER(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function CR(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Z1={placement:"bottom",modifiers:[],strategy:"absolute"};function ey(){for(var e=arguments.length,t=new Array(e),n=0;n{i||s(PR(o)||document.body)},[o,i]),mo(()=>{if(a&&!i)return vu(n,a),()=>{vu(n,null)}},[n,a,i]),i){if(b.isValidElement(r)){const c={ref:l};return b.cloneElement(r,c)}return H.jsx(b.Fragment,{children:r})}return H.jsx(b.Fragment,{children:a&&Ju.createPortal(r,a)})}),Xx=RR;function TR(e){return mt("MuiPopper",e)}at("MuiPopper",["root"]);const OR=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],AR=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function IR(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Hh(e){return typeof e=="function"?e():e}function MR(e){return e.nodeType!==void 0}const jR=()=>wt({root:["root"]},Bx(TR)),FR={},NR=b.forwardRef(function(t,n){var r;const{anchorEl:o,children:i,direction:a,disablePortal:s,modifiers:l,open:c,placement:u,popperOptions:d,popperRef:f,slotProps:g={},slots:y={},TransitionProps:h}=t,x=se(t,OR),p=b.useRef(null),m=zt(p,n),v=b.useRef(null),w=zt(v,f),S=b.useRef(w);mo(()=>{S.current=w},[w]),b.useImperativeHandle(f,()=>v.current,[]);const C=IR(u,a),[E,P]=b.useState(C),[M,k]=b.useState(Hh(o));b.useEffect(()=>{v.current&&v.current.forceUpdate()}),b.useEffect(()=>{o&&k(Hh(o))},[o]),mo(()=>{if(!M||!c)return;const $=j=>{P(j.placement)};let A=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:j})=>{$(j)}}];l!=null&&(A=A.concat(l)),d&&d.modifiers!=null&&(A=A.concat(d.modifiers));const N=kR(M,p.current,F({placement:C},d,{modifiers:A}));return S.current(N),()=>{N.destroy(),S.current(null)}},[M,s,l,c,d,C]);const I={placement:E};h!==null&&(I.TransitionProps=h);const O=jR(),T=(r=y.root)!=null?r:"div",_=rl({elementType:T,externalSlotProps:g.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:m},ownerState:t,className:O.root});return H.jsx(T,F({},_,{children:typeof i=="function"?i(I):i}))}),LR=b.forwardRef(function(t,n){const{anchorEl:r,children:o,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:u,placement:d="bottom",popperOptions:f=FR,popperRef:g,style:y,transition:h=!1,slotProps:x={},slots:p={}}=t,m=se(t,AR),[v,w]=b.useState(!0),S=()=>{w(!1)},C=()=>{w(!0)};if(!l&&!u&&(!h||v))return null;let E;if(i)E=i;else if(r){const k=Hh(r);E=k&&MR(k)?Lt(k).body:Lt(null).body}const P=!u&&l&&(!h||v)?"none":void 0,M=h?{in:u,onEnter:S,onExited:C}:void 0;return H.jsx(Xx,{disablePortal:s,container:E,children:H.jsx(NR,F({anchorEl:r,direction:a,disablePortal:s,modifiers:c,ref:n,open:h?!v:u,placement:d,popperOptions:f,popperRef:g,slotProps:x,slots:p},m,{style:F({position:"fixed",top:0,left:0,display:P},y),TransitionProps:M,children:o}))})}),zR=LR;function BR(e){const t=Lt(e);return t.body===e?ga(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ks(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ty(e){return parseInt(ga(e).getComputedStyle(e).paddingRight,10)||0}function DR(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function ny(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,a=>{const s=i.indexOf(a)===-1,l=!DR(a);s&&l&&ks(a,o)})}function Jf(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function HR(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(BR(r)){const a=Lx(Lt(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${ty(r)+a}px`;const s=Lt(r).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${ty(l)+a}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Lt(r).body;else{const a=r.parentElement,s=ga(r);i=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:a,property:s})=>{i?a.style.setProperty(s,i):a.style.removeProperty(s)})}}function WR(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class VR{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&ks(t.modalRef,!1);const o=WR(n);ny(n,t.mount,t.modalRef,o,!0);const i=Jf(this.containers,a=>a.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=Jf(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=HR(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Jf(this.containers,a=>a.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&ks(t.modalRef,n),ny(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&ks(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function UR(e){return mt("MuiModal",e)}at("MuiModal",["root","hidden","backdrop"]);const GR=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],KR=e=>{const{open:t,exited:n}=e;return wt({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Bx(UR))};function qR(e){return typeof e=="function"?e():e}function YR(e){return e?e.props.hasOwnProperty("in"):!1}const XR=new VR,QR=b.forwardRef(function(t,n){var r,o;const{children:i,closeAfterTransition:a=!1,container:s,disableAutoFocus:l=!1,disableEnforceFocus:c=!1,disableEscapeKeyDown:u=!1,disablePortal:d=!1,disableRestoreFocus:f=!1,disableScrollLock:g=!1,hideBackdrop:y=!1,keepMounted:h=!1,manager:x=XR,onBackdropClick:p,onClose:m,onKeyDown:v,open:w,onTransitionEnter:S,onTransitionExited:C,slotProps:E={},slots:P={}}=t,M=se(t,GR),k=x,[I,O]=b.useState(!w),T=b.useRef({}),_=b.useRef(null),$=b.useRef(null),A=zt($,n),N=YR(i),j=(r=t["aria-hidden"])!=null?r:!0,L=()=>Lt(_.current),z=()=>(T.current.modalRef=$.current,T.current.mountNode=_.current,T.current),D=()=>{k.mount(z(),{disableScrollLock:g}),$.current&&($.current.scrollTop=0)},B=Jr(()=>{const re=qR(s)||L().body;k.add(z(),re),$.current&&D()}),U=b.useCallback(()=>k.isTopModal(z()),[k]),W=Jr(re=>{_.current=re,!(!re||!$.current)&&(w&&U()?D():ks($.current,j))}),Y=b.useCallback(()=>{k.remove(z(),j)},[k,j]);b.useEffect(()=>()=>{Y()},[Y]),b.useEffect(()=>{w?B():(!N||!a)&&Y()},[w,Y,N,a,B]);const X=F({},t,{closeAfterTransition:a,disableAutoFocus:l,disableEnforceFocus:c,disableEscapeKeyDown:u,disablePortal:d,disableRestoreFocus:f,disableScrollLock:g,exited:I,hideBackdrop:y,keepMounted:h}),Q=KR(X),ne=()=>{O(!1),S&&S()},J=()=>{O(!0),C&&C(),a&&Y()},pe=re=>{re.target===re.currentTarget&&(p&&p(re),m&&m(re,"backdropClick"))},Re=re=>{v&&v(re),!(re.key!=="Escape"||!U())&&(u||(re.stopPropagation(),m&&m(re,"escapeKeyDown")))},le={};i.props.tabIndex===void 0&&(le.tabIndex="-1"),N&&(le.onEnter=Nh(ne,i.props.onEnter),le.onExited=Nh(J,i.props.onExited));const be=(o=P.root)!=null?o:"div",Ce=rl({elementType:be,externalSlotProps:E.root,externalForwardedProps:M,additionalProps:{ref:A,role:"presentation",onKeyDown:Re},className:Q.root,ownerState:X}),xe=P.backdrop,He=rl({elementType:xe,externalSlotProps:E.backdrop,additionalProps:{"aria-hidden":!0,onClick:pe,open:w},className:Q.backdrop,ownerState:X});return!h&&!w&&(!N||I)?null:H.jsx(Xx,{ref:W,container:s,disablePortal:d,children:H.jsxs(be,F({},Ce,{children:[!y&&xe?H.jsx(xe,F({},He)):null,H.jsx(xP,{disableEnforceFocus:c,disableAutoFocus:l,disableRestoreFocus:f,isEnabled:U,open:w,children:b.cloneElement(i,le)})]}))})}),JR=QR;function ZR(e){if(e.sheet)return e.sheet;for(var t=0;t0?Et(Ia,--Zt):0,xa--,ct===10&&(xa=1,dd--),ct}function hn(){return ct=Zt2||sl(ct)>3?"":" "}function f6(e,t){for(;--t&&hn()&&!(ct<48||ct>102||ct>57&&ct<65||ct>70&&ct<97););return El(e,zc()+(t<6&&ur()==32&&hn()==32))}function Vh(e){for(;hn();)switch(ct){case e:return Zt;case 34:case 39:e!==34&&e!==39&&Vh(ct);break;case 40:e===41&&Vh(e);break;case 92:hn();break}return Zt}function p6(e,t){for(;hn()&&e+ct!==47+10;)if(e+ct===42+42&&ur()===47)break;return"/*"+El(t,Zt-1)+"*"+ud(e===47?e:hn())}function h6(e){for(;!sl(ur());)hn();return El(e,Zt)}function m6(e){return nS(Dc("",null,null,null,[""],e=tS(e),0,[0],e))}function Dc(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,f=0,g=0,y=0,h=1,x=1,p=1,m=0,v="",w=o,S=i,C=r,E=v;x;)switch(y=m,m=hn()){case 40:if(y!=108&&Et(E,d-1)==58){Wh(E+=ke(Bc(m),"&","&\f"),"&\f")!=-1&&(p=-1);break}case 34:case 39:case 91:E+=Bc(m);break;case 9:case 10:case 13:case 32:E+=d6(y);break;case 92:E+=f6(zc()-1,7);continue;case 47:switch(ur()){case 42:case 47:oc(g6(p6(hn(),zc()),t,n),l);break;default:E+="/"}break;case 123*h:s[c++]=rr(E)*p;case 125*h:case 59:case 0:switch(m){case 0:case 125:x=0;case 59+u:p==-1&&(E=ke(E,/\f/g,"")),g>0&&rr(E)-d&&oc(g>32?oy(E+";",r,n,d-1):oy(ke(E," ","")+";",r,n,d-2),l);break;case 59:E+=";";default:if(oc(C=ry(E,t,n,c,u,o,s,v,w=[],S=[],d),i),m===123)if(u===0)Dc(E,t,C,C,w,i,d,s,S);else switch(f===99&&Et(E,3)===110?100:f){case 100:case 108:case 109:case 115:Dc(e,C,C,r&&oc(ry(e,C,C,0,0,o,s,v,o,w=[],d),S),o,S,d,s,r?w:S);break;default:Dc(E,C,C,C,[""],S,0,s,S)}}c=u=g=0,h=p=1,v=E="",d=a;break;case 58:d=1+rr(E),g=y;default:if(h<1){if(m==123)--h;else if(m==125&&h++==0&&u6()==125)continue}switch(E+=ud(m),m*h){case 38:p=u>0?1:(E+="\f",-1);break;case 44:s[c++]=(rr(E)-1)*p,p=1;break;case 64:ur()===45&&(E+=Bc(hn())),f=ur(),u=d=rr(v=E+=h6(zc())),m++;break;case 45:y===45&&rr(E)==2&&(h=0)}}return i}function ry(e,t,n,r,o,i,a,s,l,c,u){for(var d=o-1,f=o===0?i:[""],g=tv(f),y=0,h=0,x=0;y0?f[p]+" "+m:ke(m,/&\f/g,f[p])))&&(l[x++]=v);return fd(e,t,n,o===0?Zg:s,l,c,u)}function g6(e,t,n){return fd(e,t,n,Qx,ud(c6()),al(e,2,-2),0)}function oy(e,t,n,r){return fd(e,t,n,ev,al(e,0,r),al(e,r+1,-1),r)}function Zi(e,t){for(var n="",r=tv(e),o=0;o6)switch(Et(e,t+1)){case 109:if(Et(e,t+4)!==45)break;case 102:return ke(e,/(.+:)(.+)-([^]+)/,"$1"+$e+"$2-$3$1"+bu+(Et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Wh(e,"stretch")?rS(ke(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Et(e,t+1)!==115)break;case 6444:switch(Et(e,rr(e)-3-(~Wh(e,"!important")&&10))){case 107:return ke(e,":",":"+$e)+e;case 101:return ke(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+$e+(Et(e,14)===45?"inline-":"")+"box$3$1"+$e+"$2$3$1"+Tt+"$2box$3")+e}break;case 5936:switch(Et(e,t+11)){case 114:return $e+e+Tt+ke(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $e+e+Tt+ke(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $e+e+Tt+ke(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return $e+e+Tt+e+e}return e}var _6=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case ev:t.return=rS(t.value,t.length);break;case Jx:return Zi([Xa(t,{value:ke(t.value,"@","@"+$e)})],o);case Zg:if(t.length)return l6(t.props,function(i){switch(s6(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Zi([Xa(t,{props:[ke(i,/:(read-\w+)/,":"+bu+"$1")]})],o);case"::placeholder":return Zi([Xa(t,{props:[ke(i,/:(plac\w+)/,":"+$e+"input-$1")]}),Xa(t,{props:[ke(i,/:(plac\w+)/,":"+bu+"$1")]}),Xa(t,{props:[ke(i,/:(plac\w+)/,Tt+"input-$1")]})],o)}return""})}},$6=[_6],k6=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(h){var x=h.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var o=t.stylisPlugins||$6,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(h){for(var x=h.getAttribute("data-emotion").split(" "),p=1;p=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var z6=/[A-Z]|^ms/g,B6=/_EMO_([^_]+?)_([^]*?)_EMO_/g,cS=function(t){return t.charCodeAt(1)===45},ay=function(t){return t!=null&&typeof t!="boolean"},Zf=cx(function(e){return cS(e)?e:e.replace(z6,"-$&").toLowerCase()}),sy=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(B6,function(r,o,i){return or={name:o,styles:i,next:or},o})}return yx[t]!==1&&!cS(t)&&typeof n=="number"&&n!==0?n+"px":n};function ll(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return or={name:n.name,styles:n.styles,next:or},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)or={name:r.name,styles:r.styles,next:or},r=r.next;var o=n.styles+";";return o}return D6(e,t,n)}case"function":{if(e!==void 0){var i=or,a=n(e);return or=i,ll(e,t,a)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function D6(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?K6:q6},uy=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},Y6=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return lS(n,r,o),V6(function(){return N6(n,r,o)}),null},X6=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,a;n!==void 0&&(i=n.label,a=n.target);var s=uy(t,n,r),l=s||cy(o),c=!l("as");return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{d.push(u[0][0]);for(var f=u.length,g=1;g{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Z6=["values","unit","step"],eT=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>F({},n,{[r.key]:r.val}),{})};function tT(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=se(e,Z6),i=eT(t),a=Object.keys(i);function s(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function c(f,g){const y=a.indexOf(g);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(y!==-1&&typeof t[a[y]]=="number"?t[a[y]]:g)-r/100}${n})`}function u(f){return a.indexOf(f)+1`@media (min-width:${sv[e]}px)`};function Or(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||dy;return t.reduce((a,s,l)=>(a[i.up(i.keys[l])]=n(t[l]),a),{})}if(typeof t=="object"){const i=r.breakpoints||dy;return Object.keys(t).reduce((a,s)=>{if(Object.keys(i.values||sv).indexOf(s)!==-1){const l=i.up(s);a[l]=n(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return n(t)}function oT(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function iT(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Ed(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function wu(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Ed(e,n)||r,t&&(o=t(o,r,e)),o}function Ie(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,c=Ed(l,r)||{};return Or(a,s,d=>{let f=wu(c,o,d);return d===f&&typeof d=="string"&&(f=wu(c,o,`${t}${d==="default"?"":fe(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function aT(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const sT={m:"margin",p:"padding"},lT={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},fy={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},cT=aT(e=>{if(e.length>2)if(fy[e])e=fy[e];else return[e];const[t,n]=e.split(""),r=sT[t],o=lT[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),lv=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],cv=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...lv,...cv];function Cl(e,t,n,r){var o;const i=(o=Ed(e,t,!1))!=null?o:n;return typeof i=="number"?a=>typeof a=="string"?a:i*a:Array.isArray(i)?a=>typeof a=="string"?a:i[a]:typeof i=="function"?i:()=>{}}function hS(e){return Cl(e,"spacing",8)}function _l(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function uT(e,t){return n=>e.reduce((r,o)=>(r[o]=_l(t,n),r),{})}function dT(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=cT(n),i=uT(o,r),a=e[n];return Or(e,a,i)}function mS(e,t){const n=hS(e.theme);return Object.keys(e).map(r=>dT(e,t,r,n)).reduce(Ps,{})}function et(e){return mS(e,lv)}et.propTypes={};et.filterProps=lv;function tt(e){return mS(e,cv)}tt.propTypes={};tt.filterProps=cv;function fT(e=8){if(e.mui)return e;const t=hS({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function Cd(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Ps(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function ar(e){return typeof e!="number"?e:`${e}px solid`}const pT=Ie({prop:"border",themeKey:"borders",transform:ar}),hT=Ie({prop:"borderTop",themeKey:"borders",transform:ar}),mT=Ie({prop:"borderRight",themeKey:"borders",transform:ar}),gT=Ie({prop:"borderBottom",themeKey:"borders",transform:ar}),vT=Ie({prop:"borderLeft",themeKey:"borders",transform:ar}),yT=Ie({prop:"borderColor",themeKey:"palette"}),bT=Ie({prop:"borderTopColor",themeKey:"palette"}),wT=Ie({prop:"borderRightColor",themeKey:"palette"}),xT=Ie({prop:"borderBottomColor",themeKey:"palette"}),ST=Ie({prop:"borderLeftColor",themeKey:"palette"}),_d=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Cl(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:_l(t,r)});return Or(e,e.borderRadius,n)}return null};_d.propTypes={};_d.filterProps=["borderRadius"];Cd(pT,hT,mT,gT,vT,yT,bT,wT,xT,ST,_d);const $d=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Cl(e.theme,"spacing",8),n=r=>({gap:_l(t,r)});return Or(e,e.gap,n)}return null};$d.propTypes={};$d.filterProps=["gap"];const kd=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Cl(e.theme,"spacing",8),n=r=>({columnGap:_l(t,r)});return Or(e,e.columnGap,n)}return null};kd.propTypes={};kd.filterProps=["columnGap"];const Pd=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Cl(e.theme,"spacing",8),n=r=>({rowGap:_l(t,r)});return Or(e,e.rowGap,n)}return null};Pd.propTypes={};Pd.filterProps=["rowGap"];const ET=Ie({prop:"gridColumn"}),CT=Ie({prop:"gridRow"}),_T=Ie({prop:"gridAutoFlow"}),$T=Ie({prop:"gridAutoColumns"}),kT=Ie({prop:"gridAutoRows"}),PT=Ie({prop:"gridTemplateColumns"}),RT=Ie({prop:"gridTemplateRows"}),TT=Ie({prop:"gridTemplateAreas"}),OT=Ie({prop:"gridArea"});Cd($d,kd,Pd,ET,CT,_T,$T,kT,PT,RT,TT,OT);function ea(e,t){return t==="grey"?t:e}const AT=Ie({prop:"color",themeKey:"palette",transform:ea}),IT=Ie({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ea}),MT=Ie({prop:"backgroundColor",themeKey:"palette",transform:ea});Cd(AT,IT,MT);function cn(e){return e<=1&&e!==0?`${e*100}%`:e}const jT=Ie({prop:"width",transform:cn}),uv=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o,i;return{maxWidth:((r=e.theme)==null||(o=r.breakpoints)==null||(i=o.values)==null?void 0:i[n])||sv[n]||cn(n)}};return Or(e,e.maxWidth,t)}return null};uv.filterProps=["maxWidth"];const FT=Ie({prop:"minWidth",transform:cn}),NT=Ie({prop:"height",transform:cn}),LT=Ie({prop:"maxHeight",transform:cn}),zT=Ie({prop:"minHeight",transform:cn});Ie({prop:"size",cssProperty:"width",transform:cn});Ie({prop:"size",cssProperty:"height",transform:cn});const BT=Ie({prop:"boxSizing"});Cd(jT,uv,FT,NT,LT,zT,BT);const DT={border:{themeKey:"borders",transform:ar},borderTop:{themeKey:"borders",transform:ar},borderRight:{themeKey:"borders",transform:ar},borderBottom:{themeKey:"borders",transform:ar},borderLeft:{themeKey:"borders",transform:ar},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_d},color:{themeKey:"palette",transform:ea},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ea},backgroundColor:{themeKey:"palette",transform:ea},p:{style:tt},pt:{style:tt},pr:{style:tt},pb:{style:tt},pl:{style:tt},px:{style:tt},py:{style:tt},padding:{style:tt},paddingTop:{style:tt},paddingRight:{style:tt},paddingBottom:{style:tt},paddingLeft:{style:tt},paddingX:{style:tt},paddingY:{style:tt},paddingInline:{style:tt},paddingInlineStart:{style:tt},paddingInlineEnd:{style:tt},paddingBlock:{style:tt},paddingBlockStart:{style:tt},paddingBlockEnd:{style:tt},m:{style:et},mt:{style:et},mr:{style:et},mb:{style:et},ml:{style:et},mx:{style:et},my:{style:et},margin:{style:et},marginTop:{style:et},marginRight:{style:et},marginBottom:{style:et},marginLeft:{style:et},marginX:{style:et},marginY:{style:et},marginInline:{style:et},marginInlineStart:{style:et},marginInlineEnd:{style:et},marginBlock:{style:et},marginBlockStart:{style:et},marginBlockEnd:{style:et},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:$d},rowGap:{style:Pd},columnGap:{style:kd},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:cn},maxWidth:{style:uv},minWidth:{transform:cn},height:{transform:cn},maxHeight:{transform:cn},minHeight:{transform:cn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Rd=DT;function HT(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function WT(e,t){return typeof e=="function"?e(t):e}function VT(){function e(n,r,o,i){const a={[n]:r,theme:o},s=i[n];if(!s)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:d}=s;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const f=Ed(o,c)||{};return d?d(a):Or(a,r,y=>{let h=wu(f,u,y);return y===h&&typeof y=="string"&&(h=wu(f,u,`${n}${y==="default"?"":fe(y)}`,y)),l===!1?h:{[l]:h}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=(r=i.unstable_sxConfig)!=null?r:Rd;function s(l){let c=l;if(typeof l=="function")c=l(i);else if(typeof l!="object")return l;if(!c)return null;const u=oT(i.breakpoints),d=Object.keys(u);let f=u;return Object.keys(c).forEach(g=>{const y=WT(c[g],i);if(y!=null)if(typeof y=="object")if(a[g])f=Ps(f,e(g,y,i,a));else{const h=Or({theme:i},y,x=>({[g]:x}));HT(h,y)?f[g]=t({sx:y,theme:i}):f=Ps(f,h)}else f=Ps(f,e(g,y,i,a))}),iT(d,f)}return Array.isArray(o)?o.map(s):s(o)}return t}const gS=VT();gS.filterProps=["sx"];const Td=gS,UT=["breakpoints","palette","spacing","shape"];function Od(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=se(e,UT),s=tT(n),l=fT(o);let c=Cr({breakpoints:s,direction:"ltr",components:{},palette:F({mode:"light"},r),spacing:l,shape:F({},rT,i)},a);return c=t.reduce((u,d)=>Cr(u,d),c),c.unstable_sxConfig=F({},Rd,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(d){return Td({sx:d,theme:this})},c}function GT(e){return Object.keys(e).length===0}function vS(e=null){const t=b.useContext(fS);return!t||GT(t)?e:t}const KT=Od();function dv(e=KT){return vS(e)}const qT=["sx"],YT=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Rd;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function yS(e){const{sx:t}=e,n=se(e,qT),{systemProps:r,otherProps:o}=YT(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...a)=>{const s=t(...a);return Mo(s)?F({},r,s):r}:i=F({},r,t),F({},o,{sx:i})}const XT=["className","component"];function QT(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=pS("div",{shouldForwardProp:s=>s!=="theme"&&s!=="sx"&&s!=="as"})(Td);return b.forwardRef(function(l,c){const u=dv(n),d=yS(l),{className:f,component:g="div"}=d,y=se(d,XT);return H.jsx(i,F({as:g,ref:c,className:ge(f,o?o(r):r),theme:t&&u[t]||u},y))})}const JT=["variant"];function py(e){return e.length===0}function bS(e){const{variant:t}=e,n=se(e,JT);let r=t||"";return Object.keys(n).sort().forEach(o=>{o==="color"?r+=py(r)?e[o]:fe(e[o]):r+=`${py(r)?o:fe(o)}${fe(e[o].toString())}`}),r}const ZT=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function eO(e){return Object.keys(e).length===0}function tO(e){return typeof e=="string"&&e.charCodeAt(0)>96}const nO=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,rO=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(o=>{const i=bS(o.props);r[i]=o.style}),r},oO=(e,t,n,r)=>{var o,i;const{ownerState:a={}}=e,s=[],l=n==null||(o=n.components)==null||(i=o[r])==null?void 0:i.variants;return l&&l.forEach(c=>{let u=!0;Object.keys(c.props).forEach(d=>{a[d]!==c.props[d]&&e[d]!==c.props[d]&&(u=!1)}),u&&s.push(t[bS(c.props)])}),s};function Hc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const iO=Od();function Qa({defaultTheme:e,theme:t,themeId:n}){return eO(t)?e:t[n]||t}function wS(e={}){const{themeId:t,defaultTheme:n=iO,rootShouldForwardProp:r=Hc,slotShouldForwardProp:o=Hc}=e,i=a=>Td(F({},a,{theme:Qa(F({},a,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{J6(a,w=>w.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:d,overridesResolver:f}=s,g=se(s,ZT),y=u!==void 0?u:c&&c!=="Root"||!1,h=d||!1;let x,p=Hc;c==="Root"?p=r:c?p=o:tO(a)&&(p=void 0);const m=pS(a,F({shouldForwardProp:p,label:x},g)),v=(w,...S)=>{const C=S?S.map(k=>typeof k=="function"&&k.__emotion_real!==k?I=>k(F({},I,{theme:Qa(F({},I,{defaultTheme:n,themeId:t}))})):k):[];let E=w;l&&f&&C.push(k=>{const I=Qa(F({},k,{defaultTheme:n,themeId:t})),O=nO(l,I);if(O){const T={};return Object.entries(O).forEach(([_,$])=>{T[_]=typeof $=="function"?$(F({},k,{theme:I})):$}),f(k,T)}return null}),l&&!y&&C.push(k=>{const I=Qa(F({},k,{defaultTheme:n,themeId:t}));return oO(k,rO(l,I),I,l)}),h||C.push(i);const P=C.length-S.length;if(Array.isArray(w)&&P>0){const k=new Array(P).fill("");E=[...w,...k],E.raw=[...w.raw,...k]}else typeof w=="function"&&w.__emotion_real!==w&&(E=k=>w(F({},k,{theme:Qa(F({},k,{defaultTheme:n,themeId:t}))})));const M=m(E,...C);return a.muiName&&(M.muiName=a.muiName),M};return m.withConfig&&(v.withConfig=m.withConfig),v}}const aO=wS(),sO=aO;function lO(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Wg(t.components[n].defaultProps,r)}function xS({props:e,name:t,defaultTheme:n,themeId:r}){let o=dv(n);return r&&(o=o[r]||o),lO({theme:o,name:t,props:e})}function fv(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function cO(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function ri(e){if(e.type)return e;if(e.charAt(0)==="#")return ri(cO(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(ma(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(ma(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}function Ad(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function uO(e){e=ri(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(c,u=(c+n/30)%12)=>o-i*Math.max(Math.min(u-3,9-u,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),Ad({type:s,values:l})}function hy(e){e=ri(e);let t=e.type==="hsl"||e.type==="hsla"?ri(uO(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function dO(e,t){const n=hy(e),r=hy(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Kt(e,t){return e=ri(e),t=fv(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ad(e)}function fO(e,t){if(e=ri(e),t=fv(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Ad(e)}function pO(e,t){if(e=ri(e),t=fv(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Ad(e)}const hO=["className","component","disableGutters","fixed","maxWidth","classes"],mO=Od(),gO=sO("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${fe(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),vO=e=>xS({props:e,name:"MuiContainer",defaultTheme:mO}),yO=(e,t)=>{const n=l=>mt(t,l),{classes:r,fixed:o,disableGutters:i,maxWidth:a}=e,s={root:["root",a&&`maxWidth${fe(String(a))}`,o&&"fixed",i&&"disableGutters"]};return wt(s,n,r)};function bO(e={}){const{createStyledComponent:t=gO,useThemeProps:n=vO,componentName:r="MuiContainer"}=e,o=t(({theme:a,ownerState:s})=>F({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!s.disableGutters&&{paddingLeft:a.spacing(2),paddingRight:a.spacing(2),[a.breakpoints.up("sm")]:{paddingLeft:a.spacing(3),paddingRight:a.spacing(3)}}),({theme:a,ownerState:s})=>s.fixed&&Object.keys(a.breakpoints.values).reduce((l,c)=>{const u=c,d=a.breakpoints.values[u];return d!==0&&(l[a.breakpoints.up(u)]={maxWidth:`${d}${a.breakpoints.unit}`}),l},{}),({theme:a,ownerState:s})=>F({},s.maxWidth==="xs"&&{[a.breakpoints.up("xs")]:{maxWidth:Math.max(a.breakpoints.values.xs,444)}},s.maxWidth&&s.maxWidth!=="xs"&&{[a.breakpoints.up(s.maxWidth)]:{maxWidth:`${a.breakpoints.values[s.maxWidth]}${a.breakpoints.unit}`}}));return b.forwardRef(function(s,l){const c=n(s),{className:u,component:d="div",disableGutters:f=!1,fixed:g=!1,maxWidth:y="lg"}=c,h=se(c,hO),x=F({},c,{component:d,disableGutters:f,fixed:g,maxWidth:y}),p=yO(x,r);return H.jsx(o,F({as:d,ownerState:x,className:ge(p.root,u),ref:l},h))})}function wO(e,t){return F({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const xO={black:"#000",white:"#fff"},cl=xO,SO={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},EO=SO,CO={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},mi=CO,_O={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},gi=_O,$O={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ja=$O,kO={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},vi=kO,PO={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},yi=PO,RO={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},bi=RO,TO=["mode","contrastThreshold","tonalOffset"],my={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:cl.white,default:cl.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ep={text:{primary:cl.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:cl.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function gy(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=pO(e.main,o):t==="dark"&&(e.dark=fO(e.main,i)))}function OO(e="light"){return e==="dark"?{main:vi[200],light:vi[50],dark:vi[400]}:{main:vi[700],light:vi[400],dark:vi[800]}}function AO(e="light"){return e==="dark"?{main:mi[200],light:mi[50],dark:mi[400]}:{main:mi[500],light:mi[300],dark:mi[700]}}function IO(e="light"){return e==="dark"?{main:gi[500],light:gi[300],dark:gi[700]}:{main:gi[700],light:gi[400],dark:gi[800]}}function MO(e="light"){return e==="dark"?{main:yi[400],light:yi[300],dark:yi[700]}:{main:yi[700],light:yi[500],dark:yi[900]}}function jO(e="light"){return e==="dark"?{main:bi[400],light:bi[300],dark:bi[700]}:{main:bi[800],light:bi[500],dark:bi[900]}}function FO(e="light"){return e==="dark"?{main:Ja[400],light:Ja[300],dark:Ja[700]}:{main:"#ed6c02",light:Ja[500],dark:Ja[900]}}function NO(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=se(e,TO),i=e.primary||OO(t),a=e.secondary||AO(t),s=e.error||IO(t),l=e.info||MO(t),c=e.success||jO(t),u=e.warning||FO(t);function d(h){return dO(h,ep.text.primary)>=n?ep.text.primary:my.text.primary}const f=({color:h,name:x,mainShade:p=500,lightShade:m=300,darkShade:v=700})=>{if(h=F({},h),!h.main&&h[p]&&(h.main=h[p]),!h.hasOwnProperty("main"))throw new Error(ma(11,x?` (${x})`:"",p));if(typeof h.main!="string")throw new Error(ma(12,x?` (${x})`:"",JSON.stringify(h.main)));return gy(h,"light",m,r),gy(h,"dark",v,r),h.contrastText||(h.contrastText=d(h.main)),h},g={dark:ep,light:my};return Cr(F({common:F({},cl),mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:s,name:"error"}),warning:f({color:u,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:c,name:"success"}),grey:EO,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},g[t]),o)}const LO=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function zO(e){return Math.round(e*1e5)/1e5}const vy={textTransform:"uppercase"},yy='"Roboto", "Helvetica", "Arial", sans-serif';function BO(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=yy,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,f=se(n,LO),g=o/14,y=d||(p=>`${p/c*g}rem`),h=(p,m,v,w,S)=>F({fontFamily:r,fontWeight:p,fontSize:y(m),lineHeight:v},r===yy?{letterSpacing:`${zO(w/m)}em`}:{},S,u),x={h1:h(i,96,1.167,-1.5),h2:h(i,60,1.2,-.5),h3:h(a,48,1.167,0),h4:h(a,34,1.235,.25),h5:h(a,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(a,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(a,16,1.5,.15),body2:h(a,14,1.43,.15),button:h(s,14,1.75,.4,vy),caption:h(a,12,1.66,.4),overline:h(a,12,2.66,1,vy),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Cr(F({htmlFontSize:c,pxToRem:y,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},x),f,{clone:!1})}const DO=.2,HO=.14,WO=.12;function qe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${DO})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${HO})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${WO})`].join(",")}const VO=["none",qe(0,2,1,-1,0,1,1,0,0,1,3,0),qe(0,3,1,-2,0,2,2,0,0,1,5,0),qe(0,3,3,-2,0,3,4,0,0,1,8,0),qe(0,2,4,-1,0,4,5,0,0,1,10,0),qe(0,3,5,-1,0,5,8,0,0,1,14,0),qe(0,3,5,-1,0,6,10,0,0,1,18,0),qe(0,4,5,-2,0,7,10,1,0,2,16,1),qe(0,5,5,-3,0,8,10,1,0,3,14,2),qe(0,5,6,-3,0,9,12,1,0,3,16,2),qe(0,6,6,-3,0,10,14,1,0,4,18,3),qe(0,6,7,-4,0,11,15,1,0,4,20,3),qe(0,7,8,-4,0,12,17,2,0,5,22,4),qe(0,7,8,-4,0,13,19,2,0,5,24,4),qe(0,7,9,-4,0,14,21,2,0,5,26,4),qe(0,8,9,-5,0,15,22,2,0,6,28,5),qe(0,8,10,-5,0,16,24,2,0,6,30,5),qe(0,8,11,-5,0,17,26,2,0,6,32,5),qe(0,9,11,-5,0,18,28,2,0,7,34,6),qe(0,9,12,-6,0,19,29,2,0,7,36,6),qe(0,10,13,-6,0,20,31,3,0,8,38,7),qe(0,10,13,-6,0,21,33,3,0,8,40,7),qe(0,10,14,-6,0,22,35,3,0,8,42,7),qe(0,11,14,-7,0,23,36,3,0,9,44,8),qe(0,11,15,-7,0,24,38,3,0,9,46,8)],UO=VO,GO=["duration","easing","delay"],KO={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},qO={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function by(e){return`${Math.round(e)}ms`}function YO(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function XO(e){const t=F({},KO,e.easing),n=F({},qO,e.duration);return F({getAutoHeightDuration:YO,create:(o=["all"],i={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:l=0}=i;return se(i,GO),(Array.isArray(o)?o:[o]).map(c=>`${c} ${typeof a=="string"?a:by(a)} ${s} ${typeof l=="string"?l:by(l)}`).join(",")}},e,{easing:t,duration:n})}const QO={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},JO=QO,ZO=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function SS(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=se(e,ZO);if(e.vars)throw new Error(ma(18));const s=NO(r),l=Od(e);let c=Cr(l,{mixins:wO(l.breakpoints,n),palette:s,shadows:UO.slice(),typography:BO(s,i),transitions:XO(o),zIndex:F({},JO)});return c=Cr(c,a),c=t.reduce((u,d)=>Cr(u,d),c),c.unstable_sxConfig=F({},Rd,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(d){return Td({sx:d,theme:this})},c}const e8=SS(),pv=e8,Id="$$material";function gt({props:e,name:t}){return xS({props:e,name:t,defaultTheme:pv,themeId:Id})}const Md=e=>Hc(e)&&e!=="classes",t8=wS({themeId:Id,defaultTheme:pv,rootShouldForwardProp:Md}),Me=t8;function n8(e){return mt("MuiSvgIcon",e)}at("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const r8=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],o8=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${fe(t)}`,`fontSize${fe(n)}`]};return wt(o,n8,r)},i8=Me("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${fe(n.color)}`],t[`fontSize${fe(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,c,u,d,f,g,y,h,x,p,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(i=o.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((a=e.typography)==null||(s=a.pxToRem)==null?void 0:s.call(a,20))||"1.25rem",medium:((l=e.typography)==null||(c=l.pxToRem)==null?void 0:c.call(l,24))||"1.5rem",large:((u=e.typography)==null||(d=u.pxToRem)==null?void 0:d.call(u,35))||"2.1875rem"}[t.fontSize],color:(f=(g=(e.vars||e).palette)==null||(y=g[t.color])==null?void 0:y.main)!=null?f:{action:(h=(e.vars||e).palette)==null||(x=h.action)==null?void 0:x.active,disabled:(p=(e.vars||e).palette)==null||(m=p.action)==null?void 0:m.disabled,inherit:void 0}[t.color]}}),ES=b.forwardRef(function(t,n){const r=gt({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,g=se(r,r8),y=b.isValidElement(o)&&o.type==="svg",h=F({},r,{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:f,hasSvgAsChild:y}),x={};u||(x.viewBox=f);const p=o8(h);return H.jsxs(i8,F({as:s,className:ge(p.root,i),focusable:"false",color:c,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},x,g,y&&o.props,{ownerState:h,children:[y?o.props.children:o,d?H.jsx("title",{children:d}):null]}))});ES.muiName="SvgIcon";const wy=ES;function CS(e,t){function n(r,o){return H.jsx(wy,F({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return n.muiName=wy.muiName,b.memo(b.forwardRef(n))}const a8={configure:e=>{Vg.configure(e)}},s8=Object.freeze(Object.defineProperty({__proto__:null,capitalize:fe,createChainedFunction:Nh,createSvgIcon:CS,debounce:jx,deprecatedPropType:Yk,isMuiElement:Xk,ownerDocument:Lt,ownerWindow:ga,requirePropFactory:Qk,setRef:vu,unstable_ClassNameGenerator:a8,unstable_useEnhancedEffect:mo,unstable_useId:Fx,unsupportedProp:eP,useControlled:Nx,useEventCallback:Jr,useForkRef:zt,useIsFocusVisible:Hg},Symbol.toStringTag,{value:"Module"})),l8=vC(s8);var xy;function hv(){return xy||(xy=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=l8}(Xf)),Xf}var c8=Dg;Object.defineProperty(Bg,"__esModule",{value:!0});var _S=Bg.default=void 0,u8=c8(hv()),d8=H,f8=(0,u8.default)((0,d8.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6zm0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20z"}),"AccountCircle");_S=Bg.default=f8;const p8=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Sy=p8;function jd(){const e=dv(pv);return e[Id]||e}function h8(e){return mt("MuiPaper",e)}at("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const m8=["className","component","elevation","square","variant"],g8=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return wt(i,h8,o)},v8=Me("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return F({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&F({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Kt("#fff",Sy(t.elevation))}, ${Kt("#fff",Sy(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),y8=b.forwardRef(function(t,n){const r=gt({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:a=1,square:s=!1,variant:l="elevation"}=r,c=se(r,m8),u=F({},r,{component:i,elevation:a,square:s,variant:l}),d=g8(u);return H.jsx(v8,F({as:i,ownerState:u,className:ge(d.root,o),ref:n},c))}),$S=y8;function b8(e){return mt("MuiAppBar",e)}at("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const w8=["className","color","enableColorOnDark","position"],x8=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${fe(t)}`,`position${fe(n)}`]};return wt(o,b8,r)},ic=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,S8=Me($S,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${fe(n.position)}`],t[`color${fe(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return F({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&F({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&F({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&F({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:ic(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:ic(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:ic(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:ic(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),E8=b.forwardRef(function(t,n){const r=gt({props:t,name:"MuiAppBar"}),{className:o,color:i="primary",enableColorOnDark:a=!1,position:s="fixed"}=r,l=se(r,w8),c=F({},r,{color:i,position:s,enableColorOnDark:a}),u=x8(c);return H.jsx(S8,F({square:!0,component:"header",ownerState:c,elevation:4,className:ge(u.root,o,s==="fixed"&&"mui-fixed"),ref:n},l))}),C8=E8,_8=SS(),$8=QT({themeId:Id,defaultTheme:_8,defaultClassName:"MuiBox-root",generateClassName:Vg.generate}),tp=$8;function k8(e){return mt("MuiToolbar",e)}at("MuiToolbar",["root","gutters","regular","dense"]);const P8=["className","component","disableGutters","variant"],R8=e=>{const{classes:t,disableGutters:n,variant:r}=e;return wt({root:["root",!n&&"gutters",r]},k8,t)},T8=Me("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>F({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),O8=b.forwardRef(function(t,n){const r=gt({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:a=!1,variant:s="regular"}=r,l=se(r,P8),c=F({},r,{component:i,disableGutters:a,variant:s}),u=R8(c);return H.jsx(T8,F({as:i,className:ge(u.root,o),ref:n,ownerState:c},l))}),A8=O8;function xu(e,t){return xu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},xu(e,t)}function kS(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,xu(e,t)}const Ey={disabled:!1},Su=R.createContext(null);var I8=function(t){return t.scrollTop},ds="unmounted",Po="exited",Ro="entering",$i="entered",Gh="exiting",Fr=function(e){kS(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var a=o,s=a&&!a.isMounting?r.enter:r.appear,l;return i.appearStatus=null,r.in?s?(l=Po,i.appearStatus=Ro):l=$i:r.unmountOnExit||r.mountOnEnter?l=ds:l=Po,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===ds?{status:Po}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==Ro&&a!==$i&&(i=Ro):(a===Ro||a===$i)&&(i=Gh)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,a,s;return i=a=s=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,s=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:s}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Ro){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Bi.findDOMNode(this);a&&I8(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Po&&this.setState({status:ds})},n.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,l=this.props.nodeRef?[s]:[Bi.findDOMNode(this),s],c=l[0],u=l[1],d=this.getTimeouts(),f=s?d.appear:d.enter;if(!o&&!a||Ey.disabled){this.safeSetState({status:$i},function(){i.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:Ro},function(){i.props.onEntering(c,u),i.onTransitionEnd(f,function(){i.safeSetState({status:$i},function(){i.props.onEntered(c,u)})})})},n.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:Bi.findDOMNode(this);if(!i||Ey.disabled){this.safeSetState({status:Po},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Gh},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:Po},function(){o.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,o(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:Bi.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===ds)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var s=se(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return R.createElement(Su.Provider,{value:null},typeof a=="function"?a(o,s):R.cloneElement(R.Children.only(a),s))},t}(R.Component);Fr.contextType=Su;Fr.propTypes={};function wi(){}Fr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:wi,onEntering:wi,onEntered:wi,onExit:wi,onExiting:wi,onExited:wi};Fr.UNMOUNTED=ds;Fr.EXITED=Po;Fr.ENTERING=Ro;Fr.ENTERED=$i;Fr.EXITING=Gh;const PS=Fr;function ul(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mv(e,t){var n=function(i){return t&&b.isValidElement(i)?t(i):i},r=Object.create(null);return e&&b.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function M8(e,t){e=e||{},t=t||{};function n(u){return u in t?t[u]:e[u]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var a,s={};for(var l in t){if(r[l])for(a=0;a{if(!s&&l!=null){const h=setTimeout(l,c);return()=>{clearTimeout(h)}}},[l,s,c]),H.jsx("span",{className:f,style:g,children:H.jsx("span",{className:y})})}const D8=at("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),$n=D8,H8=["center","classes","className"];let Fd=e=>e,Cy,_y,$y,ky;const Kh=550,W8=80,V8=av(Cy||(Cy=Fd` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),U8=av(_y||(_y=Fd` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),G8=av($y||($y=Fd` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),K8=Me("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),q8=Me(B8,{name:"MuiTouchRipple",slot:"Ripple"})(ky||(ky=Fd` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),$n.rippleVisible,V8,Kh,({theme:e})=>e.transitions.easing.easeInOut,$n.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,$n.child,$n.childLeaving,U8,Kh,({theme:e})=>e.transitions.easing.easeInOut,$n.childPulsate,G8,({theme:e})=>e.transitions.easing.easeInOut),Y8=b.forwardRef(function(t,n){const r=gt({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=r,s=se(r,H8),[l,c]=b.useState([]),u=b.useRef(0),d=b.useRef(null);b.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=b.useRef(!1),g=b.useRef(0),y=b.useRef(null),h=b.useRef(null);b.useEffect(()=>()=>{g.current&&clearTimeout(g.current)},[]);const x=b.useCallback(w=>{const{pulsate:S,rippleX:C,rippleY:E,rippleSize:P,cb:M}=w;c(k=>[...k,H.jsx(q8,{classes:{ripple:ge(i.ripple,$n.ripple),rippleVisible:ge(i.rippleVisible,$n.rippleVisible),ripplePulsate:ge(i.ripplePulsate,$n.ripplePulsate),child:ge(i.child,$n.child),childLeaving:ge(i.childLeaving,$n.childLeaving),childPulsate:ge(i.childPulsate,$n.childPulsate)},timeout:Kh,pulsate:S,rippleX:C,rippleY:E,rippleSize:P},u.current)]),u.current+=1,d.current=M},[i]),p=b.useCallback((w={},S={},C=()=>{})=>{const{pulsate:E=!1,center:P=o||S.pulsate,fakeElement:M=!1}=S;if((w==null?void 0:w.type)==="mousedown"&&f.current){f.current=!1;return}(w==null?void 0:w.type)==="touchstart"&&(f.current=!0);const k=M?null:h.current,I=k?k.getBoundingClientRect():{width:0,height:0,left:0,top:0};let O,T,_;if(P||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)O=Math.round(I.width/2),T=Math.round(I.height/2);else{const{clientX:$,clientY:A}=w.touches&&w.touches.length>0?w.touches[0]:w;O=Math.round($-I.left),T=Math.round(A-I.top)}if(P)_=Math.sqrt((2*I.width**2+I.height**2)/3),_%2===0&&(_+=1);else{const $=Math.max(Math.abs((k?k.clientWidth:0)-O),O)*2+2,A=Math.max(Math.abs((k?k.clientHeight:0)-T),T)*2+2;_=Math.sqrt($**2+A**2)}w!=null&&w.touches?y.current===null&&(y.current=()=>{x({pulsate:E,rippleX:O,rippleY:T,rippleSize:_,cb:C})},g.current=setTimeout(()=>{y.current&&(y.current(),y.current=null)},W8)):x({pulsate:E,rippleX:O,rippleY:T,rippleSize:_,cb:C})},[o,x]),m=b.useCallback(()=>{p({},{pulsate:!0})},[p]),v=b.useCallback((w,S)=>{if(clearTimeout(g.current),(w==null?void 0:w.type)==="touchend"&&y.current){y.current(),y.current=null,g.current=setTimeout(()=>{v(w,S)});return}y.current=null,c(C=>C.length>0?C.slice(1):C),d.current=S},[]);return b.useImperativeHandle(n,()=>({pulsate:m,start:p,stop:v}),[m,p,v]),H.jsx(K8,F({className:ge($n.root,i.root,a),ref:h},s,{children:H.jsx(z8,{component:null,exit:!0,children:l})}))}),X8=Y8;function Q8(e){return mt("MuiButtonBase",e)}const J8=at("MuiButtonBase",["root","disabled","focusVisible"]),Z8=J8,e9=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],t9=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=wt({root:["root",t&&"disabled",n&&"focusVisible"]},Q8,o);return n&&r&&(a.root+=` ${r}`),a},n9=Me("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Z8.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),r9=b.forwardRef(function(t,n){const r=gt({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:g="a",onBlur:y,onClick:h,onContextMenu:x,onDragLeave:p,onFocus:m,onFocusVisible:v,onKeyDown:w,onKeyUp:S,onMouseDown:C,onMouseLeave:E,onMouseUp:P,onTouchEnd:M,onTouchMove:k,onTouchStart:I,tabIndex:O=0,TouchRippleProps:T,touchRippleRef:_,type:$}=r,A=se(r,e9),N=b.useRef(null),j=b.useRef(null),L=zt(j,_),{isFocusVisibleRef:z,onFocus:D,onBlur:B,ref:U}=Hg(),[W,Y]=b.useState(!1);c&&W&&Y(!1),b.useImperativeHandle(o,()=>({focusVisible:()=>{Y(!0),N.current.focus()}}),[]);const[X,Q]=b.useState(!1);b.useEffect(()=>{Q(!0)},[]);const ne=X&&!u&&!c;b.useEffect(()=>{W&&f&&!u&&X&&j.current.pulsate()},[u,f,W,X]);function J(ee,dt,xo=d){return Jr(Ht=>(dt&&dt(Ht),!xo&&j.current&&j.current[ee](Ht),!0))}const pe=J("start",C),Re=J("stop",x),le=J("stop",p),be=J("stop",P),Ce=J("stop",ee=>{W&&ee.preventDefault(),E&&E(ee)}),xe=J("start",I),He=J("stop",M),re=J("stop",k),We=J("stop",ee=>{B(ee),z.current===!1&&Y(!1),y&&y(ee)},!1),he=Jr(ee=>{N.current||(N.current=ee.currentTarget),D(ee),z.current===!0&&(Y(!0),v&&v(ee)),m&&m(ee)}),Z=()=>{const ee=N.current;return l&&l!=="button"&&!(ee.tagName==="A"&&ee.href)},te=b.useRef(!1),_e=Jr(ee=>{f&&!te.current&&W&&j.current&&ee.key===" "&&(te.current=!0,j.current.stop(ee,()=>{j.current.start(ee)})),ee.target===ee.currentTarget&&Z()&&ee.key===" "&&ee.preventDefault(),w&&w(ee),ee.target===ee.currentTarget&&Z()&&ee.key==="Enter"&&!c&&(ee.preventDefault(),h&&h(ee))}),ce=Jr(ee=>{f&&ee.key===" "&&j.current&&W&&!ee.defaultPrevented&&(te.current=!1,j.current.stop(ee,()=>{j.current.pulsate(ee)})),S&&S(ee),h&&ee.target===ee.currentTarget&&Z()&&ee.key===" "&&!ee.defaultPrevented&&h(ee)});let ae=l;ae==="button"&&(A.href||A.to)&&(ae=g);const Te={};ae==="button"?(Te.type=$===void 0?"button":$,Te.disabled=c):(!A.href&&!A.to&&(Te.role="button"),c&&(Te["aria-disabled"]=c));const Ke=zt(n,U,N),Sn=F({},r,{centerRipple:i,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:O,focusVisible:W}),zr=t9(Sn);return H.jsxs(n9,F({as:ae,className:ge(zr.root,s),ownerState:Sn,onBlur:We,onClick:h,onContextMenu:Re,onFocus:he,onKeyDown:_e,onKeyUp:ce,onMouseDown:pe,onMouseLeave:Ce,onMouseUp:be,onDragLeave:le,onTouchEnd:He,onTouchMove:re,onTouchStart:xe,ref:Ke,tabIndex:c?-1:O,type:$},Te,A,{children:[a,ne?H.jsx(X8,F({ref:L,center:i},T)):null]}))}),vv=r9;function o9(e){return mt("MuiIconButton",e)}const i9=at("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),a9=i9,s9=["edge","children","className","color","disabled","disableFocusRipple","size"],l9=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled",r!=="default"&&`color${fe(r)}`,o&&`edge${fe(o)}`,`size${fe(i)}`]};return wt(a,o9,t)},c9=Me(vv,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${fe(n.color)}`],n.edge&&t[`edge${fe(n.edge)}`],t[`size${fe(n.size)}`]]}})(({theme:e,ownerState:t})=>F({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Kt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return F({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&F({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":F({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Kt(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${a9.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),u9=b.forwardRef(function(t,n){const r=gt({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium"}=r,d=se(r,s9),f=F({},r,{edge:o,color:s,disabled:l,disableFocusRipple:c,size:u}),g=l9(f);return H.jsx(c9,F({className:ge(g.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:n,ownerState:f},d,{children:i}))}),Py=u9;function d9(e){return mt("MuiTypography",e)}at("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const f9=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],p9=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,e.align!=="inherit"&&`align${fe(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return wt(s,d9,a)},h9=Me("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${fe(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>F({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),Ry={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},m9={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},g9=e=>m9[e]||e,v9=b.forwardRef(function(t,n){const r=gt({props:t,name:"MuiTypography"}),o=g9(r.color),i=yS(F({},r,{color:o})),{align:a="inherit",className:s,component:l,gutterBottom:c=!1,noWrap:u=!1,paragraph:d=!1,variant:f="body1",variantMapping:g=Ry}=i,y=se(i,f9),h=F({},i,{align:a,color:o,className:s,component:l,gutterBottom:c,noWrap:u,paragraph:d,variant:f,variantMapping:g}),x=l||(d?"p":g[f]||Ry[f])||"span",p=p9(h);return H.jsx(h9,F({as:x,ref:n,ownerState:h,className:ge(p.root,s)},y))}),ac=v9;var ze={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var yv=Symbol.for("react.element"),bv=Symbol.for("react.portal"),Nd=Symbol.for("react.fragment"),Ld=Symbol.for("react.strict_mode"),zd=Symbol.for("react.profiler"),Bd=Symbol.for("react.provider"),Dd=Symbol.for("react.context"),y9=Symbol.for("react.server_context"),Hd=Symbol.for("react.forward_ref"),Wd=Symbol.for("react.suspense"),Vd=Symbol.for("react.suspense_list"),Ud=Symbol.for("react.memo"),Gd=Symbol.for("react.lazy"),b9=Symbol.for("react.offscreen"),RS;RS=Symbol.for("react.module.reference");function Nn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case yv:switch(e=e.type,e){case Nd:case zd:case Ld:case Wd:case Vd:return e;default:switch(e=e&&e.$$typeof,e){case y9:case Dd:case Hd:case Gd:case Ud:case Bd:return e;default:return t}}case bv:return t}}}ze.ContextConsumer=Dd;ze.ContextProvider=Bd;ze.Element=yv;ze.ForwardRef=Hd;ze.Fragment=Nd;ze.Lazy=Gd;ze.Memo=Ud;ze.Portal=bv;ze.Profiler=zd;ze.StrictMode=Ld;ze.Suspense=Wd;ze.SuspenseList=Vd;ze.isAsyncMode=function(){return!1};ze.isConcurrentMode=function(){return!1};ze.isContextConsumer=function(e){return Nn(e)===Dd};ze.isContextProvider=function(e){return Nn(e)===Bd};ze.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===yv};ze.isForwardRef=function(e){return Nn(e)===Hd};ze.isFragment=function(e){return Nn(e)===Nd};ze.isLazy=function(e){return Nn(e)===Gd};ze.isMemo=function(e){return Nn(e)===Ud};ze.isPortal=function(e){return Nn(e)===bv};ze.isProfiler=function(e){return Nn(e)===zd};ze.isStrictMode=function(e){return Nn(e)===Ld};ze.isSuspense=function(e){return Nn(e)===Wd};ze.isSuspenseList=function(e){return Nn(e)===Vd};ze.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Nd||e===zd||e===Ld||e===Wd||e===Vd||e===b9||typeof e=="object"&&e!==null&&(e.$$typeof===Gd||e.$$typeof===Ud||e.$$typeof===Bd||e.$$typeof===Dd||e.$$typeof===Hd||e.$$typeof===RS||e.getModuleId!==void 0)};ze.typeOf=Nn;const w9=b.createContext({}),qh=w9;function x9(e){return mt("MuiList",e)}at("MuiList",["root","padding","dense","subheader"]);const S9=["children","className","component","dense","disablePadding","subheader"],E9=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return wt({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},x9,t)},C9=Me("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>F({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),_9=b.forwardRef(function(t,n){const r=gt({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c}=r,u=se(r,S9),d=b.useMemo(()=>({dense:s}),[s]),f=F({},r,{component:a,dense:s,disablePadding:l}),g=E9(f);return H.jsx(qh.Provider,{value:d,children:H.jsxs(C9,F({as:a,className:ge(g.root,i),ref:n,ownerState:f},u,{children:[c,o]}))})}),$9=_9,k9=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function np(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Ty(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function TS(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function Za(e,t,n,r,o,i){let a=!1,s=o(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!TS(s,i)||l)s=o(e,s,n);else return s.focus(),!0}return!1}const P9=b.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu"}=t,f=se(t,k9),g=b.useRef(null),y=b.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});mo(()=>{o&&g.current.focus()},[o]),b.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(v,w)=>{const S=!g.current.style.width;if(v.clientHeight{const w=g.current,S=v.key,C=Lt(w).activeElement;if(S==="ArrowDown")v.preventDefault(),Za(w,C,c,l,np);else if(S==="ArrowUp")v.preventDefault(),Za(w,C,c,l,Ty);else if(S==="Home")v.preventDefault(),Za(w,null,c,l,np);else if(S==="End")v.preventDefault(),Za(w,null,c,l,Ty);else if(S.length===1){const E=y.current,P=S.toLowerCase(),M=performance.now();E.keys.length>0&&(M-E.lastTime>500?(E.keys=[],E.repeating=!0,E.previousKeyMatched=!0):E.repeating&&P!==E.keys[0]&&(E.repeating=!1)),E.lastTime=M,E.keys.push(P);const k=C&&!E.repeating&&TS(C,E);E.previousKeyMatched&&(k||Za(w,C,!1,l,np,E))?v.preventDefault():E.previousKeyMatched=!1}u&&u(v)},x=zt(g,n);let p=-1;b.Children.forEach(a,(v,w)=>{if(!b.isValidElement(v)){p===w&&(p+=1,p>=a.length&&(p=-1));return}v.props.disabled||(d==="selectedMenu"&&v.props.selected||p===-1)&&(p=w),p===w&&(v.props.disabled||v.props.muiSkipListHighlight||v.type.muiSkipListHighlight)&&(p+=1,p>=a.length&&(p=-1))});const m=b.Children.map(a,(v,w)=>{if(w===p){const S={};return i&&(S.autoFocus=!0),v.props.tabIndex===void 0&&d==="selectedMenu"&&(S.tabIndex=0),b.cloneElement(v,S)}return v});return H.jsx($9,F({role:"menu",ref:x,className:s,onKeyDown:h,tabIndex:o?0:-1},f,{children:m}))}),R9=P9,OS=e=>e.scrollTop;function Eu(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:(n=a.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=a.transitionTimingFunction)!=null?r:typeof i=="object"?i[t.mode]:i,delay:a.transitionDelay}}const T9=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Yh(e){return`scale(${e}, ${e**2})`}const O9={entering:{opacity:1,transform:Yh(1)},entered:{opacity:1,transform:"none"}},rp=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),AS=b.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:a,in:s,onEnter:l,onEntered:c,onEntering:u,onExit:d,onExited:f,onExiting:g,style:y,timeout:h="auto",TransitionComponent:x=PS}=t,p=se(t,T9),m=b.useRef(),v=b.useRef(),w=jd(),S=b.useRef(null),C=zt(S,i.ref,n),E=$=>A=>{if($){const N=S.current;A===void 0?$(N):$(N,A)}},P=E(u),M=E(($,A)=>{OS($);const{duration:N,delay:j,easing:L}=Eu({style:y,timeout:h,easing:a},{mode:"enter"});let z;h==="auto"?(z=w.transitions.getAutoHeightDuration($.clientHeight),v.current=z):z=N,$.style.transition=[w.transitions.create("opacity",{duration:z,delay:j}),w.transitions.create("transform",{duration:rp?z:z*.666,delay:j,easing:L})].join(","),l&&l($,A)}),k=E(c),I=E(g),O=E($=>{const{duration:A,delay:N,easing:j}=Eu({style:y,timeout:h,easing:a},{mode:"exit"});let L;h==="auto"?(L=w.transitions.getAutoHeightDuration($.clientHeight),v.current=L):L=A,$.style.transition=[w.transitions.create("opacity",{duration:L,delay:N}),w.transitions.create("transform",{duration:rp?L:L*.666,delay:rp?N:N||L*.333,easing:j})].join(","),$.style.opacity=0,$.style.transform=Yh(.75),d&&d($)}),T=E(f),_=$=>{h==="auto"&&(m.current=setTimeout($,v.current||0)),r&&r(S.current,$)};return b.useEffect(()=>()=>{clearTimeout(m.current)},[]),H.jsx(x,F({appear:o,in:s,nodeRef:S,onEnter:M,onEntered:k,onEntering:P,onExit:O,onExited:T,onExiting:I,addEndListener:_,timeout:h==="auto"?null:h},p,{children:($,A)=>b.cloneElement(i,F({style:F({opacity:0,transform:Yh(.75),visibility:$==="exited"&&!s?"hidden":void 0},O9[$],y,i.props.style),ref:C},A))}))});AS.muiSupportAuto=!0;const Xh=AS,A9=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],I9={entering:{opacity:1},entered:{opacity:1}},M9=b.forwardRef(function(t,n){const r=jd(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:u,onEntered:d,onEntering:f,onExit:g,onExited:y,onExiting:h,style:x,timeout:p=o,TransitionComponent:m=PS}=t,v=se(t,A9),w=b.useRef(null),S=zt(w,s.ref,n),C=_=>$=>{if(_){const A=w.current;$===void 0?_(A):_(A,$)}},E=C(f),P=C((_,$)=>{OS(_);const A=Eu({style:x,timeout:p,easing:l},{mode:"enter"});_.style.webkitTransition=r.transitions.create("opacity",A),_.style.transition=r.transitions.create("opacity",A),u&&u(_,$)}),M=C(d),k=C(h),I=C(_=>{const $=Eu({style:x,timeout:p,easing:l},{mode:"exit"});_.style.webkitTransition=r.transitions.create("opacity",$),_.style.transition=r.transitions.create("opacity",$),g&&g(_)}),O=C(y),T=_=>{i&&i(w.current,_)};return H.jsx(m,F({appear:a,in:c,nodeRef:w,onEnter:P,onEntered:M,onEntering:E,onExit:I,onExited:O,onExiting:k,addEndListener:T,timeout:p},v,{children:(_,$)=>b.cloneElement(s,F({style:F({opacity:0,visibility:_==="exited"&&!c?"hidden":void 0},I9[_],x,s.props.style),ref:S},$))}))}),j9=M9;function F9(e){return mt("MuiBackdrop",e)}at("MuiBackdrop",["root","invisible"]);const N9=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],L9=e=>{const{classes:t,invisible:n}=e;return wt({root:["root",n&&"invisible"]},F9,t)},z9=Me("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>F({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),B9=b.forwardRef(function(t,n){var r,o,i;const a=gt({props:t,name:"MuiBackdrop"}),{children:s,className:l,component:c="div",components:u={},componentsProps:d={},invisible:f=!1,open:g,slotProps:y={},slots:h={},TransitionComponent:x=j9,transitionDuration:p}=a,m=se(a,N9),v=F({},a,{component:c,invisible:f}),w=L9(v),S=(r=y.root)!=null?r:d.root;return H.jsx(x,F({in:g,timeout:p},m,{children:H.jsx(z9,F({"aria-hidden":!0},S,{as:(o=(i=h.root)!=null?i:u.Root)!=null?o:c,className:ge(w.root,l,S==null?void 0:S.className),ownerState:F({},v,S==null?void 0:S.ownerState),classes:w,ref:n,children:s}))}))}),D9=B9,H9=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],W9=Me("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>F({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),V9=Me(D9,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),U9=b.forwardRef(function(t,n){var r,o,i,a,s,l;const c=gt({name:"MuiModal",props:t}),{BackdropComponent:u=V9,BackdropProps:d,classes:f,className:g,closeAfterTransition:y=!1,children:h,container:x,component:p,components:m={},componentsProps:v={},disableAutoFocus:w=!1,disableEnforceFocus:S=!1,disableEscapeKeyDown:C=!1,disablePortal:E=!1,disableRestoreFocus:P=!1,disableScrollLock:M=!1,hideBackdrop:k=!1,keepMounted:I=!1,onBackdropClick:O,onClose:T,open:_,slotProps:$,slots:A,theme:N}=c,j=se(c,H9),[L,z]=b.useState(!0),D={container:x,closeAfterTransition:y,disableAutoFocus:w,disableEnforceFocus:S,disableEscapeKeyDown:C,disablePortal:E,disableRestoreFocus:P,disableScrollLock:M,hideBackdrop:k,keepMounted:I,onBackdropClick:O,onClose:T,open:_},B=F({},c,D,{exited:L}),U=(r=(o=A==null?void 0:A.root)!=null?o:m.Root)!=null?r:W9,W=(i=(a=A==null?void 0:A.backdrop)!=null?a:m.Backdrop)!=null?i:u,Y=(s=$==null?void 0:$.root)!=null?s:v.root,X=(l=$==null?void 0:$.backdrop)!=null?l:v.backdrop;return H.jsx(JR,F({slots:{root:U,backdrop:W},slotProps:{root:()=>F({},zh(Y,B),!Ug(U)&&{as:p,theme:N},{className:ge(g,Y==null?void 0:Y.className,f==null?void 0:f.root,!B.open&&B.exited&&(f==null?void 0:f.hidden))}),backdrop:()=>F({},d,zh(X,B),{className:ge(X==null?void 0:X.className,d==null?void 0:d.className,f==null?void 0:f.backdrop)})},onTransitionEnter:()=>z(!1),onTransitionExited:()=>z(!0),ref:n},j,D,{children:h}))}),G9=U9;function K9(e){return mt("MuiPopover",e)}at("MuiPopover",["root","paper"]);const q9=["onEntering"],Y9=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"],X9=["slotProps"];function Oy(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Ay(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Iy(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function op(e){return typeof e=="function"?e():e}const Q9=e=>{const{classes:t}=e;return wt({root:["root"],paper:["paper"]},K9,t)},J9=Me(G9,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),IS=Me($S,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Z9=b.forwardRef(function(t,n){var r,o,i;const a=gt({props:t,name:"MuiPopover"}),{action:s,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:d="anchorEl",children:f,className:g,container:y,elevation:h=8,marginThreshold:x=16,open:p,PaperProps:m={},slots:v,slotProps:w,transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:C=Xh,transitionDuration:E="auto",TransitionProps:{onEntering:P}={}}=a,M=se(a.TransitionProps,q9),k=se(a,Y9),I=(r=w==null?void 0:w.paper)!=null?r:m,O=b.useRef(),T=zt(O,I.ref),_=F({},a,{anchorOrigin:c,anchorReference:d,elevation:h,marginThreshold:x,externalPaperSlotProps:I,transformOrigin:S,TransitionComponent:C,transitionDuration:E,TransitionProps:M}),$=Q9(_),A=b.useCallback(()=>{if(d==="anchorPosition")return u;const le=op(l),Ce=(le&&le.nodeType===1?le:Lt(O.current).body).getBoundingClientRect();return{top:Ce.top+Oy(Ce,c.vertical),left:Ce.left+Ay(Ce,c.horizontal)}},[l,c.horizontal,c.vertical,u,d]),N=b.useCallback(le=>({vertical:Oy(le,S.vertical),horizontal:Ay(le,S.horizontal)}),[S.horizontal,S.vertical]),j=b.useCallback(le=>{const be={width:le.offsetWidth,height:le.offsetHeight},Ce=N(be);if(d==="none")return{top:null,left:null,transformOrigin:Iy(Ce)};const xe=A();let He=xe.top-Ce.vertical,re=xe.left-Ce.horizontal;const We=He+be.height,he=re+be.width,Z=ga(op(l)),te=Z.innerHeight-x,_e=Z.innerWidth-x;if(Hete){const ce=We-te;He-=ce,Ce.vertical+=ce}if(re_e){const ce=he-_e;re-=ce,Ce.horizontal+=ce}return{top:`${Math.round(He)}px`,left:`${Math.round(re)}px`,transformOrigin:Iy(Ce)}},[l,d,A,N,x]),[L,z]=b.useState(p),D=b.useCallback(()=>{const le=O.current;if(!le)return;const be=j(le);be.top!==null&&(le.style.top=be.top),be.left!==null&&(le.style.left=be.left),le.style.transformOrigin=be.transformOrigin,z(!0)},[j]),B=(le,be)=>{P&&P(le,be),D()},U=()=>{z(!1)};b.useEffect(()=>{p&&D()}),b.useImperativeHandle(s,()=>p?{updatePosition:()=>{D()}}:null,[p,D]),b.useEffect(()=>{if(!p)return;const le=jx(()=>{D()}),be=ga(l);return be.addEventListener("resize",le),()=>{le.clear(),be.removeEventListener("resize",le)}},[l,p,D]);let W=E;E==="auto"&&!C.muiSupportAuto&&(W=void 0);const Y=y||(l?Lt(op(l)).body:void 0),X=(o=v==null?void 0:v.root)!=null?o:J9,Q=(i=v==null?void 0:v.paper)!=null?i:IS,ne=rl({elementType:Q,externalSlotProps:F({},I,{style:L?I.style:F({},I.style,{opacity:0})}),additionalProps:{elevation:h,ref:T},ownerState:_,className:ge($.paper,I==null?void 0:I.className)}),J=rl({elementType:X,externalSlotProps:(w==null?void 0:w.root)||{},externalForwardedProps:k,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:Y,open:p},ownerState:_,className:ge($.root,g)}),{slotProps:pe}=J,Re=se(J,X9);return H.jsx(X,F({},Re,!Ug(X)&&{slotProps:pe},{children:H.jsx(C,F({appear:!0,in:p,onEntering:B,onExited:U,timeout:W},M,{children:H.jsx(Q,F({},ne,{children:f}))}))}))}),eA=Z9;function tA(e){return mt("MuiMenu",e)}at("MuiMenu",["root","paper","list"]);const nA=["onEntering"],rA=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],oA={vertical:"top",horizontal:"right"},iA={vertical:"top",horizontal:"left"},aA=e=>{const{classes:t}=e;return wt({root:["root"],paper:["paper"],list:["list"]},tA,t)},sA=Me(eA,{shouldForwardProp:e=>Md(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),lA=Me(IS,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),cA=Me(R9,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),uA=b.forwardRef(function(t,n){const r=gt({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,disableAutoFocusItem:a=!1,MenuListProps:s={},onClose:l,open:c,PaperProps:u={},PopoverClasses:d,transitionDuration:f="auto",TransitionProps:{onEntering:g}={},variant:y="selectedMenu"}=r,h=se(r.TransitionProps,nA),x=se(r,rA),p=jd(),m=p.direction==="rtl",v=F({},r,{autoFocus:o,disableAutoFocusItem:a,MenuListProps:s,onEntering:g,PaperProps:u,transitionDuration:f,TransitionProps:h,variant:y}),w=aA(v),S=o&&!a&&c,C=b.useRef(null),E=(k,I)=>{C.current&&C.current.adjustStyleForScrollbar(k,p),g&&g(k,I)},P=k=>{k.key==="Tab"&&(k.preventDefault(),l&&l(k,"tabKeyDown"))};let M=-1;return b.Children.map(i,(k,I)=>{b.isValidElement(k)&&(k.props.disabled||(y==="selectedMenu"&&k.props.selected||M===-1)&&(M=I))}),H.jsx(sA,F({onClose:l,anchorOrigin:{vertical:"bottom",horizontal:m?"right":"left"},transformOrigin:m?oA:iA,slots:{paper:lA},slotProps:{paper:F({},u,{classes:F({},u.classes,{root:w.paper})})},className:w.root,open:c,ref:n,transitionDuration:f,TransitionProps:F({onEntering:E},h),ownerState:v},x,{classes:d,children:H.jsx(cA,F({onKeyDown:P,actions:C,autoFocus:o&&(M===-1||a),autoFocusItem:S,variant:y},s,{className:ge(w.list,s.className),children:i}))}))}),My=uA;var wv={},dA=Dg;Object.defineProperty(wv,"__esModule",{value:!0});var MS=wv.default=void 0,fA=dA(hv()),pA=H,hA=(0,fA.default)((0,pA.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu");MS=wv.default=hA;const mA=bO({createStyledComponent:Me("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${fe(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>gt({props:e,name:"MuiContainer"})}),gA=mA,vA=CS(H.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function yA(e){return mt("MuiAvatar",e)}at("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const bA=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],wA=e=>{const{classes:t,variant:n,colorDefault:r}=e;return wt({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},yA,t)},xA=Me("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e,ownerState:t})=>F({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},t.variant==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius},t.variant==="square"&&{borderRadius:0},t.colorDefault&&F({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[600]}))),SA=Me("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),EA=Me(vA,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function CA({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,i]=b.useState(!1);return b.useEffect(()=>{if(!n&&!r)return;i(!1);let a=!0;const s=new Image;return s.onload=()=>{a&&i("loaded")},s.onerror=()=>{a&&i("error")},s.crossOrigin=e,s.referrerPolicy=t,s.src=n,r&&(s.srcset=r),()=>{a=!1}},[e,t,n,r]),o}const _A=b.forwardRef(function(t,n){const r=gt({props:t,name:"MuiAvatar"}),{alt:o,children:i,className:a,component:s="div",imgProps:l,sizes:c,src:u,srcSet:d,variant:f="circular"}=r,g=se(r,bA);let y=null;const h=CA(F({},l,{src:u,srcSet:d})),x=u||d,p=x&&h!=="error",m=F({},r,{colorDefault:!p,component:s,variant:f}),v=wA(m);return p?y=H.jsx(SA,F({alt:o,src:u,srcSet:d,sizes:c,ownerState:m,className:v.img},l)):i!=null?y=i:x&&o?y=o[0]:y=H.jsx(EA,{ownerState:m,className:v.fallback}),H.jsx(xA,F({as:s,ownerState:m,className:ge(v.root,a),ref:n},g,{children:y}))}),$A=_A;function kA(e){return mt("MuiButton",e)}const PA=at("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),sc=PA,RA=b.createContext({}),TA=RA,OA=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],AA=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e,s={root:["root",i,`${i}${fe(t)}`,`size${fe(o)}`,`${i}Size${fe(o)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${fe(o)}`],endIcon:["endIcon",`iconSize${fe(o)}`]},l=wt(s,kA,a);return F({},a,l)},jS=e=>F({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),IA=Me(vv,{shouldForwardProp:e=>Md(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${fe(n.color)}`],t[`size${fe(n.size)}`],t[`${n.variant}Size${fe(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return F({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":F({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Kt(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Kt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Kt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":F({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${sc.focusVisible}`]:F({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${sc.disabled}`]:F({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Kt(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${sc.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${sc.disabled}`]:{boxShadow:"none"}}),MA=Me("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${fe(n.size)}`]]}})(({ownerState:e})=>F({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},jS(e))),jA=Me("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${fe(n.size)}`]]}})(({ownerState:e})=>F({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},jS(e))),FA=b.forwardRef(function(t,n){const r=b.useContext(TA),o=Wg(r,t),i=gt({props:o,name:"MuiButton"}),{children:a,color:s="primary",component:l="button",className:c,disabled:u=!1,disableElevation:d=!1,disableFocusRipple:f=!1,endIcon:g,focusVisibleClassName:y,fullWidth:h=!1,size:x="medium",startIcon:p,type:m,variant:v="text"}=i,w=se(i,OA),S=F({},i,{color:s,component:l,disabled:u,disableElevation:d,disableFocusRipple:f,fullWidth:h,size:x,type:m,variant:v}),C=AA(S),E=p&&H.jsx(MA,{className:C.startIcon,ownerState:S,children:p}),P=g&&H.jsx(jA,{className:C.endIcon,ownerState:S,children:g});return H.jsxs(IA,F({ownerState:S,className:ge(r.className,C.root,c),component:l,disabled:u,focusRipple:!f,focusVisibleClassName:ge(C.focusVisible,y),ref:n,type:m},w,{classes:C,children:[E,a,P]}))}),NA=FA,LA=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],zA=Me(zR,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),BA=b.forwardRef(function(t,n){var r;const o=vS(),i=gt({props:t,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:c,container:u,disablePortal:d,keepMounted:f,modifiers:g,open:y,placement:h,popperOptions:x,popperRef:p,transition:m,slots:v,slotProps:w}=i,S=se(i,LA),C=(r=v==null?void 0:v.root)!=null?r:l==null?void 0:l.Root,E=F({anchorEl:a,container:u,disablePortal:d,keepMounted:f,modifiers:g,open:y,placement:h,popperOptions:x,popperRef:p,transition:m},S);return H.jsx(zA,F({as:s,direction:o==null?void 0:o.direction,slots:{root:C},slotProps:w??c},E,{ref:n}))}),FS=BA;function DA(e){return mt("MuiTooltip",e)}const HA=at("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Zr=HA,WA=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function VA(e){return Math.round(e*1e5)/1e5}const UA=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${fe(i.split("-")[0])}`],arrow:["arrow"]};return wt(a,DA,t)},GA=Me(FS,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>F({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Zr.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Zr.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Zr.arrow}`]:F({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Zr.arrow}`]:F({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),KA=Me("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${fe(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>F({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Kt(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${VA(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Zr.popper}[data-popper-placement*="left"] &`]:F({transformOrigin:"right center"},t.isRtl?F({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):F({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Zr.popper}[data-popper-placement*="right"] &`]:F({transformOrigin:"left center"},t.isRtl?F({marginRight:"14px"},t.touch&&{marginRight:"24px"}):F({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Zr.popper}[data-popper-placement*="top"] &`]:F({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Zr.popper}[data-popper-placement*="bottom"] &`]:F({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),qA=Me("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Kt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let lc=!1,ip=null,es={x:0,y:0};function cc(e,t){return n=>{t&&t(n),e(n)}}const YA=b.forwardRef(function(t,n){var r,o,i,a,s,l,c,u,d,f,g,y,h,x,p,m,v,w,S;const C=gt({props:t,name:"MuiTooltip"}),{arrow:E=!1,children:P,components:M={},componentsProps:k={},describeChild:I=!1,disableFocusListener:O=!1,disableHoverListener:T=!1,disableInteractive:_=!1,disableTouchListener:$=!1,enterDelay:A=100,enterNextDelay:N=0,enterTouchDelay:j=700,followCursor:L=!1,id:z,leaveDelay:D=0,leaveTouchDelay:B=1500,onClose:U,onOpen:W,open:Y,placement:X="bottom",PopperComponent:Q,PopperProps:ne={},slotProps:J={},slots:pe={},title:Re,TransitionComponent:le=Xh,TransitionProps:be}=C,Ce=se(C,WA),xe=b.isValidElement(P)?P:H.jsx("span",{children:P}),He=jd(),re=He.direction==="rtl",[We,he]=b.useState(),[Z,te]=b.useState(null),_e=b.useRef(!1),ce=_||L,ae=b.useRef(),Te=b.useRef(),Ke=b.useRef(),Sn=b.useRef(),[zr,ee]=Nx({controlled:Y,default:!1,name:"Tooltip",state:"open"});let dt=zr;const xo=Fx(z),Ht=b.useRef(),So=b.useCallback(()=>{Ht.current!==void 0&&(document.body.style.WebkitUserSelect=Ht.current,Ht.current=void 0),clearTimeout(Sn.current)},[]);b.useEffect(()=>()=>{clearTimeout(ae.current),clearTimeout(Te.current),clearTimeout(Ke.current),So()},[So]);const ci=me=>{clearTimeout(ip),lc=!0,ee(!0),W&&!dt&&W(me)},Br=Jr(me=>{clearTimeout(ip),ip=setTimeout(()=>{lc=!1},800+D),ee(!1),U&&dt&&U(me),clearTimeout(ae.current),ae.current=setTimeout(()=>{_e.current=!1},He.transitions.duration.shortest)}),Dr=me=>{_e.current&&me.type!=="touchstart"||(We&&We.removeAttribute("title"),clearTimeout(Te.current),clearTimeout(Ke.current),A||lc&&N?Te.current=setTimeout(()=>{ci(me)},lc?N:A):ci(me))},Eo=me=>{clearTimeout(Te.current),clearTimeout(Ke.current),Ke.current=setTimeout(()=>{Br(me)},D)},{isFocusVisibleRef:Al,onBlur:kt,onFocus:Il,ref:af}=Hg(),[,Ze]=b.useState(!1),st=me=>{kt(me),Al.current===!1&&(Ze(!1),Eo(me))},en=me=>{We||he(me.currentTarget),Il(me),Al.current===!0&&(Ze(!0),Dr(me))},tn=me=>{_e.current=!0;const nn=xe.props;nn.onTouchStart&&nn.onTouchStart(me)},Co=Dr,Vv=Eo,sC=me=>{tn(me),clearTimeout(Ke.current),clearTimeout(ae.current),So(),Ht.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Sn.current=setTimeout(()=>{document.body.style.WebkitUserSelect=Ht.current,Dr(me)},j)},lC=me=>{xe.props.onTouchEnd&&xe.props.onTouchEnd(me),So(),clearTimeout(Ke.current),Ke.current=setTimeout(()=>{Br(me)},B)};b.useEffect(()=>{if(!dt)return;function me(nn){(nn.key==="Escape"||nn.key==="Esc")&&Br(nn)}return document.addEventListener("keydown",me),()=>{document.removeEventListener("keydown",me)}},[Br,dt]);const cC=zt(xe.ref,af,he,n);!Re&&Re!==0&&(dt=!1);const sf=b.useRef(),uC=me=>{const nn=xe.props;nn.onMouseMove&&nn.onMouseMove(me),es={x:me.clientX,y:me.clientY},sf.current&&sf.current.update()},Fa={},lf=typeof Re=="string";I?(Fa.title=!dt&&lf&&!T?Re:null,Fa["aria-describedby"]=dt?xo:null):(Fa["aria-label"]=lf?Re:null,Fa["aria-labelledby"]=dt&&!lf?xo:null);const zn=F({},Fa,Ce,xe.props,{className:ge(Ce.className,xe.props.className),onTouchStart:tn,ref:cC},L?{onMouseMove:uC}:{}),Na={};$||(zn.onTouchStart=sC,zn.onTouchEnd=lC),T||(zn.onMouseOver=cc(Co,zn.onMouseOver),zn.onMouseLeave=cc(Vv,zn.onMouseLeave),ce||(Na.onMouseOver=Co,Na.onMouseLeave=Vv)),O||(zn.onFocus=cc(en,zn.onFocus),zn.onBlur=cc(st,zn.onBlur),ce||(Na.onFocus=en,Na.onBlur=st));const dC=b.useMemo(()=>{var me;let nn=[{name:"arrow",enabled:!!Z,options:{element:Z,padding:4}}];return(me=ne.popperOptions)!=null&&me.modifiers&&(nn=nn.concat(ne.popperOptions.modifiers)),F({},ne.popperOptions,{modifiers:nn})},[Z,ne]),La=F({},C,{isRtl:re,arrow:E,disableInteractive:ce,placement:X,PopperComponentProp:Q,touch:_e.current}),cf=UA(La),Uv=(r=(o=pe.popper)!=null?o:M.Popper)!=null?r:GA,Gv=(i=(a=(s=pe.transition)!=null?s:M.Transition)!=null?a:le)!=null?i:Xh,Kv=(l=(c=pe.tooltip)!=null?c:M.Tooltip)!=null?l:KA,qv=(u=(d=pe.arrow)!=null?d:M.Arrow)!=null?u:qA,fC=us(Uv,F({},ne,(f=J.popper)!=null?f:k.popper,{className:ge(cf.popper,ne==null?void 0:ne.className,(g=(y=J.popper)!=null?y:k.popper)==null?void 0:g.className)}),La),pC=us(Gv,F({},be,(h=J.transition)!=null?h:k.transition),La),hC=us(Kv,F({},(x=J.tooltip)!=null?x:k.tooltip,{className:ge(cf.tooltip,(p=(m=J.tooltip)!=null?m:k.tooltip)==null?void 0:p.className)}),La),mC=us(qv,F({},(v=J.arrow)!=null?v:k.arrow,{className:ge(cf.arrow,(w=(S=J.arrow)!=null?S:k.arrow)==null?void 0:w.className)}),La);return H.jsxs(b.Fragment,{children:[b.cloneElement(xe,zn),H.jsx(Uv,F({as:Q??FS,placement:X,anchorEl:L?{getBoundingClientRect:()=>({top:es.y,left:es.x,right:es.x,bottom:es.y,width:0,height:0})}:We,popperRef:sf,open:We?dt:!1,id:xo,transition:!0},Na,fC,{popperOptions:dC,children:({TransitionProps:me})=>H.jsx(Gv,F({timeout:He.transitions.duration.shorter},me,pC,{children:H.jsxs(Kv,F({},hC,{children:[Re,E?H.jsx(qv,F({},mC,{ref:te})):null]}))}))}))]})}),XA=YA,QA=at("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),jy=QA,JA=at("MuiListItemIcon",["root","alignItemsFlexStart"]),Fy=JA,ZA=at("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Ny=ZA;function eI(e){return mt("MuiMenuItem",e)}const tI=at("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),ts=tI,nI=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],rI=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},oI=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e,l=wt({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},eI,a);return F({},a,l)},iI=Me(vv,{shouldForwardProp:e=>Md(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:rI})(({theme:e,ownerState:t})=>F({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ts.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Kt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ts.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Kt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ts.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Kt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Kt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ts.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ts.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${jy.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${jy.inset}`]:{marginLeft:52},[`& .${Ny.root}`]:{marginTop:0,marginBottom:0},[`& .${Ny.inset}`]:{paddingLeft:36},[`& .${Fy.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&F({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Fy.root} svg`]:{fontSize:"1.25rem"}}))),aI=b.forwardRef(function(t,n){const r=gt({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:f}=r,g=se(r,nI),y=b.useContext(qh),h=b.useMemo(()=>({dense:a||y.dense||!1,disableGutters:l}),[y.dense,a,l]),x=b.useRef(null);mo(()=>{o&&x.current&&x.current.focus()},[o]);const p=F({},r,{dense:h.dense,divider:s,disableGutters:l}),m=oI(r),v=zt(x,n);let w;return r.disabled||(w=d!==void 0?d:-1),H.jsx(qh.Provider,{value:h,children:H.jsx(iI,F({ref:v,role:u,tabIndex:w,component:i,focusVisibleClassName:ge(m.focusVisible,c),className:ge(m.root,f)},g,{ownerState:p,classes:m}))})}),Ly=aI;var xv={},sI=Dg;Object.defineProperty(xv,"__esModule",{value:!0});var Qh=xv.default=void 0,lI=sI(hv()),cI=H,uI=(0,lI.default)((0,cI.jsx)("path",{d:"M5 16c0 3.87 3.13 7 7 7s7-3.13 7-7v-4H5v4zM16.12 4.37l2.1-2.1-.82-.83-2.3 2.31C14.16 3.28 13.12 3 12 3s-2.16.28-3.09.75L6.6 1.44l-.82.83 2.1 2.1C6.14 5.64 5 7.68 5 10v1h14v-1c0-2.32-1.14-4.36-2.88-5.63zM9 9c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm6 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"}),"Adb");Qh=xv.default=uI;const zy=["Products","Pricing","Blog"],dI=["Profile","Account","Dashboard","Logout"];function fI(){const[e,t]=R.useState(null),[n,r]=R.useState(null),o=l=>{t(l.currentTarget)},i=l=>{r(l.currentTarget)},a=()=>{t(null)},s=()=>{r(null)};return H.jsx(C8,{position:"static",children:H.jsx(gA,{maxWidth:"xl",children:H.jsxs(A8,{disableGutters:!0,children:[H.jsx(Qh,{sx:{display:{xs:"none",md:"flex"},mr:1}}),H.jsx(ac,{variant:"h6",noWrap:!0,component:"a",href:"/",sx:{mr:2,display:{xs:"none",md:"flex"},fontFamily:"monospace",fontWeight:700,letterSpacing:".3rem",color:"inherit",textDecoration:"none"},children:"LOGO"}),H.jsxs(tp,{sx:{flexGrow:1,display:{xs:"flex",md:"none"}},children:[H.jsx(Py,{size:"large","aria-label":"account of current user","aria-controls":"menu-appbar","aria-haspopup":"true",onClick:o,color:"inherit",children:H.jsx(MS,{})}),H.jsx(My,{id:"menu-appbar",anchorEl:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"left"},open:!!e,onClose:a,sx:{display:{xs:"block",md:"none"}},children:zy.map(l=>H.jsx(Ly,{onClick:a,children:H.jsx(ac,{textAlign:"center",children:l})},l))})]}),H.jsx(Qh,{sx:{display:{xs:"flex",md:"none"},mr:1}}),H.jsx(ac,{variant:"h5",noWrap:!0,component:"a",href:"",sx:{mr:2,display:{xs:"flex",md:"none"},flexGrow:1,fontFamily:"monospace",fontWeight:700,letterSpacing:".3rem",color:"inherit",textDecoration:"none"},children:"LOGO"}),H.jsx(tp,{sx:{flexGrow:1,display:{xs:"none",md:"flex"}},children:zy.map(l=>H.jsx(NA,{onClick:a,sx:{my:2,color:"white",display:"block"},children:l},l))}),H.jsxs(tp,{sx:{flexGrow:0},children:[H.jsx(XA,{title:"Open settings",children:H.jsx(Py,{onClick:i,sx:{p:0},children:H.jsx($A,{alt:"Remy Sharp",src:"https://ik.imagekit.io/hbzknb1hm/automate.png?updatedAt=1689357604358",sx:{width:32,height:32}})})}),H.jsx(My,{sx:{mt:"45px"},id:"menu-appbar",anchorEl:n,anchorOrigin:{vertical:"top",horizontal:"right"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"right"},open:!!n,onClose:s,children:dI.map(l=>H.jsx(Ly,{onClick:s,children:H.jsx(ac,{textAlign:"center",children:l})},l))})]})]})})})}function Nr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ae(e){"@babel/helpers - typeof";return Ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ae(e)}function pI(e,t){if(Ae(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Ae(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function NS(e){var t=pI(e,"string");return Ae(t)==="symbol"?t:String(t)}function By(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function mI(e,t){if(t&&(Ae(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ul(e)}function qd(e){var t=hI();return function(){var r=Cu(e),o;if(t){var i=Cu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mI(this,o)}}var LS={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],o=0;o1&&arguments[1]!==void 0?arguments[1]:{},n=[];return R.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(_u(r)):iv.isFragment(r)&&r.props?n=n.concat(_u(r.props.children,t)):n.push(r))}),n}var Jh={},vI=function(t){};function yI(e,t){}function bI(e,t){}function wI(){Jh={}}function zS(e,t,n){!t&&!Jh[n]&&(e(!1,n),Jh[n]=!0)}function mn(e,t){zS(yI,e,t)}function xI(e,t){zS(bI,e,t)}mn.preMessage=vI;mn.resetWarned=wI;mn.noteOnce=xI;function oe(e,t,n){return t=NS(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function G(e){for(var t=1;t0},e.prototype.connect_=function(){!em||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),PI?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!em||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,o=kI.some(function(i){return!!~r.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),WS=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof Sa(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new NI(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Sa(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new LI(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),US=typeof WeakMap<"u"?new WeakMap:new HS,GS=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=RI.getInstance(),r=new zI(t,n,this);US.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){GS.prototype[e]=function(){var t;return(t=US.get(this))[e].apply(t,arguments)}});var BI=function(){return typeof $u.ResizeObserver<"u"?$u.ResizeObserver:GS}(),eo=new Map;function DI(e){e.forEach(function(t){var n,r=t.target;(n=eo.get(r))===null||n===void 0||n.forEach(function(o){return o(r)})})}var KS=new BI(DI);function HI(e,t){eo.has(e)||(eo.set(e,new Set),KS.observe(e)),eo.get(e).add(t)}function WI(e,t){eo.has(e)&&(eo.get(e).delete(t),eo.get(e).size||(KS.unobserve(e),eo.delete(e)))}var VI=function(e){Kd(n,e);var t=qd(n);function n(){return Nr(this,n),t.apply(this,arguments)}return Lr(n,[{key:"render",value:function(){return this.props.children}}]),n}(b.Component),tm=b.createContext(null);function UI(e){var t=e.children,n=e.onBatchResize,r=b.useRef(0),o=b.useRef([]),i=b.useContext(tm),a=b.useCallback(function(s,l,c){r.current+=1;var u=r.current;o.current.push({size:s,element:l,data:c}),Promise.resolve().then(function(){u===r.current&&(n==null||n(o.current),o.current=[])}),i==null||i(s,l,c)},[n,i]);return b.createElement(tm.Provider,{value:a},t)}function GI(e,t){var n=e.children,r=e.disabled,o=b.useRef(null),i=b.useRef(null),a=b.useContext(tm),s=typeof n=="function",l=s?n(o):n,c=b.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),u=!s&&b.isValidElement(l)&&Sv(l),d=u?l.ref:null,f=b.useMemo(function(){return Ma(d,o)},[d,o]),g=function(){return Zh(o.current)||Zh(i.current)};b.useImperativeHandle(t,function(){return g()});var y=b.useRef(e);y.current=e;var h=b.useCallback(function(x){var p=y.current,m=p.onResize,v=p.data,w=x.getBoundingClientRect(),S=w.width,C=w.height,E=x.offsetWidth,P=x.offsetHeight,M=Math.floor(S),k=Math.floor(C);if(c.current.width!==M||c.current.height!==k||c.current.offsetWidth!==E||c.current.offsetHeight!==P){var I={width:M,height:k,offsetWidth:E,offsetHeight:P};c.current=I;var O=E===Math.round(S)?S:E,T=P===Math.round(C)?C:P,_=G(G({},I),{},{offsetWidth:O,offsetHeight:T});a==null||a(_,x,v),m&&Promise.resolve().then(function(){m(_,x)})}},[]);return b.useEffect(function(){var x=g();return x&&!r&&HI(x,h),function(){return WI(x,h)}},[o.current,r]),b.createElement(VI,{ref:i},u?b.cloneElement(l,{ref:f}):l)}var KI=b.forwardRef(GI),qI="rc-observer-key";function YI(e,t){var n=e.children,r=typeof n=="function"?[n]:_u(n);return r.map(function(o,i){var a=(o==null?void 0:o.key)||"".concat(qI,"-").concat(i);return b.createElement(KI,F({},e,{key:a,ref:i===0?t:void 0}),o)})}var qS=b.forwardRef(YI);qS.Collection=UI;function Ev(e,t){var n=G({},e);return Array.isArray(t)&&t.forEach(function(r){delete n[r]}),n}function nm(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:1;Wy+=1;var r=Wy;function o(i){if(i===0)JS(r),t();else{var a=XS(function(){o(i-1)});_v.set(r,a)}}return o(n),r};oi.cancel=function(e){var t=_v.get(e);return JS(t),QS(t)};function $v(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Zn(e,t){if(e==null)return{};var n=se(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ZS(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(i,a){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(i);if(mn(!l,"Warning: There may be circular references"),l)return!1;if(i===a)return!0;if(n&&s>1)return!1;r.add(i);var c=s+1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(var u=0;u0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):n7}function Xd(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function r7(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function tE(e){return Array.from((om.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function nE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!wo())return null;var n=t.csp,r=t.prepend,o=document.createElement("style");o.setAttribute(Vy,r7(r)),n!=null&&n.nonce&&(o.nonce=n==null?void 0:n.nonce),o.innerHTML=e;var i=Xd(t),a=i.firstChild;if(r){if(r==="queue"){var s=tE(i).filter(function(l){return["prepend","prependQueue"].includes(l.getAttribute(Vy))});if(s.length)return i.insertBefore(o,s[s.length-1].nextSibling),o}i.insertBefore(o,a)}else i.appendChild(o);return o}function rE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Xd(t);return tE(n).find(function(r){return r.getAttribute(eE(t))===e})}function oE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=rE(e,t);if(n){var r=Xd(t);r.removeChild(n)}}function o7(e,t){var n=om.get(e);if(!n||!t7(document,n)){var r=nE("",t),o=r.parentNode;om.set(e,o),e.removeChild(r)}}function dl(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Xd(n);o7(r,n);var o=rE(t,n);if(o){var i,a;if((i=n.csp)!==null&&i!==void 0&&i.nonce&&o.nonce!==((a=n.csp)===null||a===void 0?void 0:a.nonce)){var s;o.nonce=(s=n.csp)===null||s===void 0?void 0:s.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var l=nE(e,n);return l.setAttribute(eE(n),t),l}function Pu(e){var t="";return Object.keys(e).forEach(function(n){var r=e[n];t+=n,r&&Ae(r)==="object"?t+=Pu(r):t+=r}),t}function i7(e,t){return $v("".concat(t,"_").concat(Pu(e)))}var Rs="layer-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),iE="903px";function a7(e,t){if(wo()){var n;dl(e,Rs);var r=document.createElement("div");r.style.position="fixed",r.style.left="0",r.style.top="0",t==null||t(r),document.body.appendChild(r);var o=getComputedStyle(r).width===iE;return(n=r.parentNode)===null||n===void 0||n.removeChild(r),oE(Rs),o}return!1}var ap=void 0;function s7(){return ap===void 0&&(ap=a7("@layer ".concat(Rs," { .").concat(Rs," { width: ").concat(iE,"!important; } }"),function(e){e.className=Rs})),ap}function aE(e){if(Array.isArray(e))return e}function l7(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,o=u}finally{try{if(!l&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function sE(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function de(e,t){return aE(e)||l7(e,t)||Cv(e,t)||sE()}var Uy=wo()?b.useLayoutEffect:b.useEffect,Ru=function(t,n){var r=b.useRef(!0);Uy(function(){return t(r.current)},n),Uy(function(){return r.current=!1,function(){r.current=!0}},[])},Gy=function(t,n){Ru(function(r){if(!r)return t()},n)},c7=G({},js),Ky=c7.useInsertionEffect,u7=function(t,n,r){b.useMemo(t,r),Ru(n,r)},d7=Ky?function(e,t,n){return Ky(function(){return e(),t()},n)}:u7;const f7=d7;function lE(e,t,n,r,o){var i=b.useContext(kv),a=i.cache,s=[e].concat(ie(t)),l=s.join("_"),c=function(f){a.update(s,function(g){var y=g||[],h=de(y,2),x=h[0],p=x===void 0?0:x,m=h[1],v=m,w=v||n(),S=[p,w];return f?f(S):S})};b.useMemo(function(){return c()},[l]);var u=a.get(s)[1];return f7(function(){o==null||o(u)},function(){return c(function(d){var f=de(d,2),g=f[0],y=f[1];return[g+1,y]}),function(){a.update(s,function(d){var f=d||[],g=de(f,2),y=g[0],h=y===void 0?0:y,x=g[1],p=h-1;return p===0?(r==null||r(x,!1),null):[h-1,x]})}},[l]),u}var p7={},h7="css",jo=new Map;function m7(e){jo.set(e,(jo.get(e)||0)+1)}function g7(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(rm,'="').concat(e,'"]'));n.forEach(function(r){if(r[Wi]===t){var o;(o=r.parentNode)===null||o===void 0||o.removeChild(r)}})}}function v7(e,t){jo.set(e,(jo.get(e)||0)-1);var n=Array.from(jo.keys()),r=n.filter(function(o){var i=jo.get(o)||0;return i<=0});r.length2&&arguments[2]!==void 0?arguments[2]:{},r=b.useContext(kv),o=r.cache.instanceId,i=n.salt,a=i===void 0?"":i,s=n.override,l=s===void 0?p7:s,c=n.formatToken,u=b.useMemo(function(){return Object.assign.apply(Object,[{}].concat(ie(t)))},[t]),d=b.useMemo(function(){return Pu(u)},[u]),f=b.useMemo(function(){return Pu(l)},[l]),g=lE("token",[a,e.id,d,f],function(){var y=y7(u,l,e,c),h=i7(y,a);y._tokenKey=h,m7(h);var x="".concat(h7,"-").concat($v(h));return y._hashId=x,[y,x]},function(y){v7(y[0]._tokenKey,o)});return g}var w7={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},qy=wo(),x7="_skip_check_",cE="_multi_value_";function Yy(e){var t=tl(mx(e),vx);return t.replace(/\{%%%\:[^;];}/g,";")}function S7(e){return Ae(e)==="object"&&e&&(x7 in e||cE in e)}function E7(e,t,n){if(!t)return e;var r=".".concat(t),o=n==="low"?":where(".concat(r,")"):r,i=e.split(",").map(function(a){var s,l=a.trim().split(/\s+/),c=l[0]||"",u=((s=c.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return c="".concat(u).concat(o).concat(c.slice(u.length)),[c].concat(ie(l.slice(1))).join(" ")});return i.join(",")}var C7=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,i=r.injectHash,a=r.parentSelectors,s=n.hashId,l=n.layer;n.path;var c=n.hashPriority,u=n.transformers,d=u===void 0?[]:u;n.linters;var f="",g={};function y(v){var w=v.getName(s);if(!g[w]){var S=e(v.style,n,{root:!1,parentSelectors:a}),C=de(S,1),E=C[0];g[w]="@keyframes ".concat(v.getName(s)).concat(E)}}function h(v){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return v.forEach(function(S){Array.isArray(S)?h(S,w):S&&w.push(S)}),w}var x=h(Array.isArray(t)?t:[t]);if(x.forEach(function(v){var w=typeof v=="string"&&!o?{}:v;if(typeof w=="string")f+="".concat(w,` +`);else if(w._keyframe)y(w);else{var S=d.reduce(function(C,E){var P;return(E==null||(P=E.visit)===null||P===void 0?void 0:P.call(E,C))||C},w);Object.keys(S).forEach(function(C){var E=S[C];if(Ae(E)==="object"&&E&&(C!=="animationName"||!E._keyframe)&&!S7(E)){var P=!1,M=C.trim(),k=!1;(o||i)&&s?M.startsWith("@")?P=!0:M=E7(C,s,c):o&&!s&&(M==="&"||M==="")&&(M="",k=!0);var I=e(E,n,{root:k,injectHash:P,parentSelectors:[].concat(ie(a),[M])}),O=de(I,2),T=O[0],_=O[1];g=G(G({},g),_),f+="".concat(M).concat(T)}else{let j=function(L,z){var D=L.replace(/[A-Z]/g,function(U){return"-".concat(U.toLowerCase())}),B=z;!w7[L]&&typeof B=="number"&&B!==0&&(B="".concat(B,"px")),L==="animationName"&&z!==null&&z!==void 0&&z._keyframe&&(y(z),B=z.getName(s)),f+="".concat(D,":").concat(B,";")};var N=j,$,A=($=E==null?void 0:E.value)!==null&&$!==void 0?$:E;Ae(E)==="object"&&E!==null&&E!==void 0&&E[cE]&&Array.isArray(A)?A.forEach(function(L){j(C,L)}):j(C,A)}})}}),!o)f="{".concat(f,"}");else if(l&&s7()){var p=l.split(","),m=p[p.length-1].trim();f="@layer ".concat(m," {").concat(f,"}"),p.length>1&&(f="@layer ".concat(l,"{%%%:%}").concat(f))}return[f,g]};function _7(e,t){return $v("".concat(e.join("%")).concat(t))}function $7(){return null}function im(e,t){var n=e.token,r=e.path,o=e.hashId,i=e.layer,a=e.nonce,s=b.useContext(kv),l=s.autoClear;s.mock;var c=s.defaultCache,u=s.hashPriority,d=s.container,f=s.ssrInline,g=s.transformers,y=s.linters,h=s.cache,x=n._tokenKey,p=[x].concat(ie(r)),m=qy,v=lE("style",p,function(){var P=t(),M=C7(P,{hashId:o,hashPriority:u,layer:i,path:r.join("-"),transformers:g,linters:y}),k=de(M,2),I=k[0],O=k[1],T=Yy(I),_=_7(p,T);return[T,x,_,O]},function(P,M){var k=de(P,3),I=k[2];(M||l)&&qy&&oE(I,{mark:ta})},function(P){var M=de(P,4),k=M[0];M[1];var I=M[2],O=M[3];if(m){var T={mark:ta,prepend:"queue",attachTo:d},_=typeof a=="function"?a():a;_&&(T.csp={nonce:_});var $=dl(k,I,T);$[Wi]=h.instanceId,$.setAttribute(rm,x),Object.keys(O).forEach(function(A){dl(Yy(O[A]),"_effect-".concat(A),T)})}}),w=de(v,3),S=w[0],C=w[1],E=w[2];return function(P){var M;if(!f||m||!c)M=b.createElement($7,null);else{var k;M=b.createElement("style",F({},(k={},oe(k,rm,C),oe(k,ta,E),k),{dangerouslySetInnerHTML:{__html:S}}))}return b.createElement(b.Fragment,null,M,P)}}function k7(e,t){if(e.length!==t.length)return!1;for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return n.forEach(function(s){if(!a)a=void 0;else{var l,c;a=(l=a)===null||l===void 0||(c=l.map)===null||c===void 0?void 0:c.get(s)}}),(r=a)!==null&&r!==void 0&&r.value&&i&&(a.value[1]=this.cacheCallTimes++),(o=a)===null||o===void 0?void 0:o.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var o=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(c,u){var d=de(c,2),f=d[1];return o.internalGet(u)[1]0,void 0),Xy+=1}return Lr(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,o){return o(n,r)},void 0)}}]),e}(),sp=new Pv;function uE(e){var t=Array.isArray(e)?e:[e];return sp.has(t)||sp.set(t,new P7(t)),sp.get(t)}function xi(e){return e.notSplit=!0,e}xi(["borderTop","borderBottom"]),xi(["borderTop"]),xi(["borderBottom"]),xi(["borderLeft","borderRight"]),xi(["borderLeft"]),xi(["borderRight"]);var R7=b.createContext({});const Rv=R7;function T7(e){return aE(e)||YS(e)||Cv(e)||sE()}function qn(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!qn(e,t.slice(0,-1))?e:dE(e,t,n,r)}function O7(e){return Ae(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function Qy(e){return Array.isArray(e)?[]:{}}var A7=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Vi(){for(var e=arguments.length,t=new Array(e),n=0;n{const{locale:t={},children:n,_ANT_MARK__:r}=e;b.useEffect(()=>(Zy(t&&t.Modal),()=>{Zy()}),[t]);const o=b.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return b.createElement(pE.Provider,{value:o},n)},H7=D7,W7="5.7.0";function _t(e,t){V7(e)&&(e="100%");var n=U7(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function uc(e){return Math.min(1,Math.max(0,e))}function V7(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function U7(e){return typeof e=="string"&&e.indexOf("%")!==-1}function hE(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function dc(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Ho(e){return e.length===1?"0"+e:String(e)}function G7(e,t,n){return{r:_t(e,255)*255,g:_t(t,255)*255,b:_t(n,255)*255}}function eb(e,t,n){e=_t(e,255),t=_t(t,255),n=_t(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=0,s=(r+o)/2;if(r===o)a=0,i=0;else{var l=r-o;switch(a=s>.5?l/(2-r-o):l/(r+o),r){case e:i=(t-n)/l+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function K7(e,t,n){var r,o,i;if(e=_t(e,360),t=_t(t,100),n=_t(n,100),t===0)o=n,i=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=cp(s,a,e+1/3),o=cp(s,a,e),i=cp(s,a,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function am(e,t,n){e=_t(e,255),t=_t(t,255),n=_t(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=r,s=r-o,l=r===0?0:s/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var lm={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function ki(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,s=!1;return typeof e=="string"&&(e=eM(e)),typeof e=="object"&&(hr(e.r)&&hr(e.g)&&hr(e.b)?(t=G7(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):hr(e.h)&&hr(e.s)&&hr(e.v)?(r=dc(e.s),o=dc(e.v),t=q7(e.h,r,o),a=!0,s="hsv"):hr(e.h)&&hr(e.s)&&hr(e.l)&&(r=dc(e.s),i=dc(e.l),t=K7(e.h,r,i),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=hE(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var J7="[-\\+]?\\d+%?",Z7="[-\\+]?\\d*\\.\\d+%?",to="(?:".concat(Z7,")|(?:").concat(J7,")"),up="[\\s|\\(]+(".concat(to,")[,|\\s]+(").concat(to,")[,|\\s]+(").concat(to,")\\s*\\)?"),dp="[\\s|\\(]+(".concat(to,")[,|\\s]+(").concat(to,")[,|\\s]+(").concat(to,")[,|\\s]+(").concat(to,")\\s*\\)?"),Dn={CSS_UNIT:new RegExp(to),rgb:new RegExp("rgb"+up),rgba:new RegExp("rgba"+dp),hsl:new RegExp("hsl"+up),hsla:new RegExp("hsla"+dp),hsv:new RegExp("hsv"+up),hsva:new RegExp("hsva"+dp),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function eM(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(lm[e])e=lm[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Dn.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Dn.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Dn.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Dn.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Dn.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Dn.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Dn.hex8.exec(e),n?{r:an(n[1]),g:an(n[2]),b:an(n[3]),a:tb(n[4]),format:t?"name":"hex8"}:(n=Dn.hex6.exec(e),n?{r:an(n[1]),g:an(n[2]),b:an(n[3]),format:t?"name":"hex"}:(n=Dn.hex4.exec(e),n?{r:an(n[1]+n[1]),g:an(n[2]+n[2]),b:an(n[3]+n[3]),a:tb(n[4]+n[4]),format:t?"name":"hex8"}:(n=Dn.hex3.exec(e),n?{r:an(n[1]+n[1]),g:an(n[2]+n[2]),b:an(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function hr(e){return!!Dn.CSS_UNIT.exec(String(e))}var dn=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Q7(t)),this.originalInput=t;var o=ki(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,o,i=t.r/255,a=t.g/255,s=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),s<=.03928?o=s/12.92:o=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=hE(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=am(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=am(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=eb(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=eb(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),sm(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Y7(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(_t(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(_t(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+sm(this.r,this.g,this.b,!1),n=0,r=Object.entries(lm);n=0,i=!n&&o&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=uc(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=uc(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=uc(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=uc(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-fc*t:Math.round(e.h)+fc*t:r=n?Math.round(e.h)+fc*t:Math.round(e.h)-fc*t,r<0?r+=360:r>=360&&(r-=360),r}function ib(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-nb*t:t===gE?r=e.s+nb:r=e.s+tM*t,r>1&&(r=1),n&&t===mE&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function ab(e,t,n){var r;return n?r=e.v+nM*t:r=e.v-rM*t,r>1&&(r=1),Number(r.toFixed(2))}function ii(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=ki(e),o=mE;o>0;o-=1){var i=rb(r),a=pc(ki({h:ob(i,o,!0),s:ib(i,o,!0),v:ab(i,o,!0)}));n.push(a)}n.push(pc(r));for(var s=1;s<=gE;s+=1){var l=rb(r),c=pc(ki({h:ob(l,s),s:ib(l,s),v:ab(l,s)}));n.push(c)}return t.theme==="dark"?oM.map(function(u){var d=u.index,f=u.opacity,g=pc(iM(ki(t.backgroundColor||"#141414"),ki(n[d]),f*100));return g}):n}var fp={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Wc={},pp={};Object.keys(fp).forEach(function(e){Wc[e]=ii(fp[e]),Wc[e].primary=Wc[e][5],pp[e]=ii(fp[e],{theme:"dark",backgroundColor:"#141414"}),pp[e].primary=pp[e][5]});var aM=Wc.blue;const sM=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},lM=sM;function cM(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const vE={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},uM=Object.assign(Object.assign({},vE),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, +'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', +'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0}),Qd=uM;function dM(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,d=n(l),f=n(o),g=n(i),y=n(a),h=n(s),x=r(c,u),p=e.colorLink||e.colorInfo,m=n(p);return Object.assign(Object.assign({},x),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:y[1],colorErrorBgHover:y[2],colorErrorBorder:y[3],colorErrorBorderHover:y[4],colorErrorHover:y[5],colorError:y[6],colorErrorActive:y[7],colorErrorTextHover:y[8],colorErrorText:y[9],colorErrorTextActive:y[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:m[4],colorLink:m[6],colorLinkActive:m[7],colorBgMask:new dn("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const fM=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},pM=fM;function hM(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},pM(r))}const mr=(e,t)=>new dn(e).setAlpha(t).toRgbString(),ns=(e,t)=>new dn(e).darken(t).toHexString(),mM=e=>{const t=ii(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},gM=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:mr(r,.88),colorTextSecondary:mr(r,.65),colorTextTertiary:mr(r,.45),colorTextQuaternary:mr(r,.25),colorFill:mr(r,.15),colorFillSecondary:mr(r,.06),colorFillTertiary:mr(r,.04),colorFillQuaternary:mr(r,.02),colorBgLayout:ns(n,4),colorBgContainer:ns(n,0),colorBgElevated:ns(n,0),colorBgSpotlight:mr(r,.85),colorBorder:ns(n,15),colorBorderSecondary:ns(n,6)}};function vM(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,i=e*Math.pow(2.71828,o/5),a=r>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>{const r=n+8;return{size:n,lineHeight:r/n}})}const yM=e=>{const t=vM(e),n=t.map(o=>o.size),r=t.map(o=>o.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},bM=yM;function wM(e){const t=Object.keys(vE).map(n=>{const r=ii(e[n]);return new Array(10).fill(1).reduce((o,i,a)=>(o[`${n}-${a+1}`]=r[a],o[`${n}${a+1}`]=r[a],o),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),dM(e,{generateColorPalettes:mM,generateNeutralColorPalettes:gM})),bM(e.fontSize)),cM(e)),lM(e)),hM(e))}const xM=uE(wM),yE={token:Qd,hashed:!0},bE=R.createContext(yE);function hp(e){return e>=0&&e<=255}function hc(e,t){const{r:n,g:r,b:o,a:i}=new dn(e).toRgb();if(i<1)return e;const{r:a,g:s,b:l}=new dn(t).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((n-a*(1-c))/c),d=Math.round((r-s*(1-c))/c),f=Math.round((o-l*(1-c))/c);if(hp(u)&&hp(d)&&hp(f))return new dn({r:u,g:d,b:f,a:Math.round(c*100)/100}).toRgbString()}return new dn({r:n,g:r,b:o,a:1}).toRgbString()}var SM=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{delete r[f]});const o=Object.assign(Object.assign({},n),r),i=480,a=576,s=768,l=992,c=1200,u=1600;if(o.motion===!1){const f="0s";o.motionDurationFast=f,o.motionDurationMid=f,o.motionDurationSlow=f}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:hc(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:hc(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:hc(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:hc(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowSecondary:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTertiary:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:u-1,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` + 0 1px 2px -2px ${new dn("rgba(0, 0, 0, 0.16)").toRgbString()}, + 0 3px 6px 0 ${new dn("rgba(0, 0, 0, 0.12)").toRgbString()}, + 0 5px 12px 4px ${new dn("rgba(0, 0, 0, 0.09)").toRgbString()} + `,boxShadowDrawerRight:` + -6px 0 16px 0 rgba(0, 0, 0, 0.08), + -3px 0 6px -4px rgba(0, 0, 0, 0.12), + -9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerLeft:` + 6px 0 16px 0 rgba(0, 0, 0, 0.08), + 3px 0 6px -4px rgba(0, 0, 0, 0.12), + 9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerUp:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerDown:` + 0 -6px 16px 0 rgba(0, 0, 0, 0.08), + 0 -3px 6px -4px rgba(0, 0, 0, 0.12), + 0 -9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}function Jd(){const{token:e,hashed:t,theme:n,components:r}=R.useContext(bE),o=`${W7}-${t||""}`,i=n||xM,[a,s]=b7(i,[Qd,e],{salt:o,override:Object.assign({override:e},r),formatToken:EM});return[i,a,t?s:""]}function sb(e){var t=b.useRef();t.current=e;var n=b.useCallback(function(){for(var r,o=arguments.length,i=new Array(o),a=0;at||(e?`ant-${e}`:"ant"),Ln=b.createContext({getPrefixCls:CM,iconPrefixCls:wE}),xE=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),_M=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),$M=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),kM=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),PM=(e,t)=>{const{fontFamily:n,fontSize:r}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},RM=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),TM=e=>({"&:focus-visible":Object.assign({},RM(e))}),SE=typeof CSSINJS_STATISTIC<"u";let cm=!0;function Ar(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(o).forEach(a=>{Object.defineProperty(r,a,{configurable:!0,enumerable:!0,get:()=>o[a]})})}),cm=!0,r}function OM(){}function AM(e){let t,n=e,r=OM;return SE&&(t=new Set,n=new Proxy(e,{get(o,i){return cm&&t.add(i),o[i]}}),r=(o,i)=>{Array.from(t)}),{token:n,keys:t,flush:r}}function Av(e,t,n,r){return o=>{const[i,a,s]=Jd(),{getPrefixCls:l,iconPrefixCls:c,csp:u}=b.useContext(Ln),d=l(),f={theme:i,token:a,hashId:s,nonce:()=>u==null?void 0:u.nonce};return im(Object.assign(Object.assign({},f),{path:["Shared",d]}),()=>[{"&":kM(a)}]),[im(Object.assign(Object.assign({},f),{path:[e,o,c]}),()=>{const{token:g,flush:y}=AM(a),h=Object.assign({},a[e]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:S}=r;S.forEach(C=>{let[E,P]=C;var M;(h!=null&&h[E]||h!=null&&h[P])&&((M=h[P])!==null&&M!==void 0||(h[P]=h==null?void 0:h[E]))})}const x=typeof n=="function"?n(Ar(g,h??{})):n,p=Object.assign(Object.assign({},x),h),m=`.${o}`,v=Ar(g,{componentCls:m,prefixCls:o,iconCls:`.${c}`,antCls:`.${d}`},p),w=t(v,{hashId:s,prefixCls:o,rootPrefixCls:d,iconPrefixCls:c,overrideComponentToken:h});return y(e,p),[(r==null?void 0:r.resetStyle)===!1?null:PM(a,o),w]}),s]}}const IM=`-ant-${Date.now()}-${Math.random()}`;function MM(e,t){const n={},r=(a,s)=>{let l=a.clone();return l=(s==null?void 0:s(l))||l,l.toRgbString()},o=(a,s)=>{const l=new dn(a),c=ii(l.toRgbString());n[`${s}-color`]=r(l),n[`${s}-color-disabled`]=c[1],n[`${s}-color-hover`]=c[4],n[`${s}-color-active`]=c[6],n[`${s}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),n[`${s}-color-deprecated-bg`]=c[0],n[`${s}-color-deprecated-border`]=c[2]};if(t.primaryColor){o(t.primaryColor,"primary");const a=new dn(t.primaryColor),s=ii(a.toRgbString());s.forEach((c,u)=>{n[`primary-${u+1}`]=c}),n["primary-color-deprecated-l-35"]=r(a,c=>c.lighten(35)),n["primary-color-deprecated-l-20"]=r(a,c=>c.lighten(20)),n["primary-color-deprecated-t-20"]=r(a,c=>c.tint(20)),n["primary-color-deprecated-t-50"]=r(a,c=>c.tint(50)),n["primary-color-deprecated-f-12"]=r(a,c=>c.setAlpha(c.getAlpha()*.12));const l=new dn(s[0]);n["primary-color-active-deprecated-f-30"]=r(l,c=>c.setAlpha(c.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(l,c=>c.darken(2))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),` + :root { + ${Object.keys(n).map(a=>`--${e}-${a}: ${n[a]};`).join(` +`)} + } + `.trim()}function jM(e,t){const n=MM(e,t);wo()&&dl(n,`${IM}-dynamic-theme`)}const um=b.createContext(!1),FM=e=>{let{children:t,disabled:n}=e;const r=b.useContext(um);return b.createElement(um.Provider,{value:n??r},t)},Zd=um,dm=b.createContext(void 0),NM=e=>{let{children:t,size:n}=e;const r=b.useContext(dm);return b.createElement(dm.Provider,{value:n||r},t)},ef=dm;function LM(){const e=b.useContext(Zd),t=b.useContext(ef);return{componentDisabled:e,componentSize:t}}function zM(e,t){const n=e||{},r=n.inherit===!1||!t?yE:t;return BS(()=>{if(!e)return t;const i=Object.assign({},r.components);return Object.keys(e.components||{}).forEach(a=>{i[a]=Object.assign(Object.assign({},i[a]),e.components[a])}),Object.assign(Object.assign(Object.assign({},r),n),{token:Object.assign(Object.assign({},r.token),n.token),components:i})},[n,r],(i,a)=>i.some((s,l)=>{const c=a[l];return!ZS(s,c,!0)}))}var BM=["children"],EE=b.createContext({});function DM(e){var t=e.children,n=Zn(e,BM);return b.createElement(EE.Provider,{value:n},t)}var HM=function(e){Kd(n,e);var t=qd(n);function n(){return Nr(this,n),t.apply(this,arguments)}return Lr(n,[{key:"render",value:function(){return this.props.children}}]),n}(b.Component),To="none",mc="appear",gc="enter",vc="leave",lb="none",Gn="prepare",Ui="start",Gi="active",Iv="end",CE="prepared";function cb(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function WM(e,t){var n={animationend:cb("Animation","AnimationEnd"),transitionend:cb("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var VM=WM(wo(),typeof window<"u"?window:{}),_E={};if(wo()){var UM=document.createElement("div");_E=UM.style}var yc={};function $E(e){if(yc[e])return yc[e];var t=VM[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&arguments[1]!==void 0?arguments[1]:2;t();var i=oi(function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)});e.current=i}return b.useEffect(function(){return function(){t()}},[]),[n,t]};var qM=[Gn,Ui,Gi,Iv],YM=[Gn,CE],OE=!1,XM=!0;function AE(e){return e===Gi||e===Iv}const QM=function(e,t,n){var r=na(lb),o=de(r,2),i=o[0],a=o[1],s=KM(),l=de(s,2),c=l[0],u=l[1];function d(){a(Gn,!0)}var f=t?YM:qM;return TE(function(){if(i!==lb&&i!==Iv){var g=f.indexOf(i),y=f[g+1],h=n(i);h===OE?a(y,!0):y&&c(function(x){function p(){x.isCanceled()||a(y,!0)}h===!0?p():Promise.resolve(h).then(p)})}},[e,i]),b.useEffect(function(){return function(){u()}},[]),[d,i]};function JM(e,t,n,r){var o=r.motionEnter,i=o===void 0?!0:o,a=r.motionAppear,s=a===void 0?!0:a,l=r.motionLeave,c=l===void 0?!0:l,u=r.motionDeadline,d=r.motionLeaveImmediately,f=r.onAppearPrepare,g=r.onEnterPrepare,y=r.onLeavePrepare,h=r.onAppearStart,x=r.onEnterStart,p=r.onLeaveStart,m=r.onAppearActive,v=r.onEnterActive,w=r.onLeaveActive,S=r.onAppearEnd,C=r.onEnterEnd,E=r.onLeaveEnd,P=r.onVisibleChanged,M=na(),k=de(M,2),I=k[0],O=k[1],T=na(To),_=de(T,2),$=_[0],A=_[1],N=na(null),j=de(N,2),L=j[0],z=j[1],D=b.useRef(!1),B=b.useRef(null);function U(){return n()}var W=b.useRef(!1);function Y(){A(To,!0),z(null,!0)}function X(he){var Z=U();if(!(he&&!he.deadline&&he.target!==Z)){var te=W.current,_e;$===mc&&te?_e=S==null?void 0:S(Z,he):$===gc&&te?_e=C==null?void 0:C(Z,he):$===vc&&te&&(_e=E==null?void 0:E(Z,he)),$!==To&&te&&_e!==!1&&Y()}}var Q=GM(X),ne=de(Q,1),J=ne[0],pe=function(Z){var te,_e,ce;switch(Z){case mc:return te={},oe(te,Gn,f),oe(te,Ui,h),oe(te,Gi,m),te;case gc:return _e={},oe(_e,Gn,g),oe(_e,Ui,x),oe(_e,Gi,v),_e;case vc:return ce={},oe(ce,Gn,y),oe(ce,Ui,p),oe(ce,Gi,w),ce;default:return{}}},Re=b.useMemo(function(){return pe($)},[$]),le=QM($,!e,function(he){if(he===Gn){var Z=Re[Gn];return Z?Z(U()):OE}if(xe in Re){var te;z(((te=Re[xe])===null||te===void 0?void 0:te.call(Re,U(),null))||null)}return xe===Gi&&(J(U()),u>0&&(clearTimeout(B.current),B.current=setTimeout(function(){X({deadline:!0})},u))),xe===CE&&Y(),XM}),be=de(le,2),Ce=be[0],xe=be[1],He=AE(xe);W.current=He,TE(function(){O(t);var he=D.current;D.current=!0;var Z;!he&&t&&s&&(Z=mc),he&&t&&i&&(Z=gc),(he&&!t&&c||!he&&d&&!t&&c)&&(Z=vc);var te=pe(Z);Z&&(e||te[Gn])?(A(Z),Ce()):A(To)},[t]),b.useEffect(function(){($===mc&&!s||$===gc&&!i||$===vc&&!c)&&A(To)},[s,i,c]),b.useEffect(function(){return function(){D.current=!1,clearTimeout(B.current)}},[]);var re=b.useRef(!1);b.useEffect(function(){I&&(re.current=!0),I!==void 0&&$===To&&((re.current||I)&&(P==null||P(I)),re.current=!0)},[I,$]);var We=L;return Re[Gn]&&xe===Ui&&(We=G({transition:"none"},We)),[$,xe,We,I??t]}function ZM(e){var t=e;Ae(e)==="object"&&(t=e.transitionSupport);function n(o,i){return!!(o.motionName&&t&&i!==!1)}var r=b.forwardRef(function(o,i){var a=o.visible,s=a===void 0?!0:a,l=o.removeOnLeave,c=l===void 0?!0:l,u=o.forceRender,d=o.children,f=o.motionName,g=o.leavedClassName,y=o.eventProps,h=b.useContext(EE),x=h.motion,p=n(o,x),m=b.useRef(),v=b.useRef();function w(){try{return m.current instanceof HTMLElement?m.current:Zh(v.current)}catch{return null}}var S=JM(p,s,w,o),C=de(S,4),E=C[0],P=C[1],M=C[2],k=C[3],I=b.useRef(k);k&&(I.current=!0);var O=b.useCallback(function(z){m.current=z,DS(i,z)},[i]),T,_=G(G({},y),{},{visible:s});if(!d)T=null;else if(E===To)k?T=d(G({},_),O):!c&&I.current&&g?T=d(G(G({},_),{},{className:g}),O):u||!c&&!g?T=d(G(G({},_),{},{style:{display:"none"}}),O):T=null;else{var $,A;P===Gn?A="prepare":AE(P)?A="active":P===Ui&&(A="start");var N=fb(f,"".concat(E,"-").concat(A));T=d(G(G({},_),{},{className:we(fb(f,E),($={},oe($,N,N&&A),oe($,f,typeof f=="string"),$)),style:M}),O)}if(b.isValidElement(T)&&Sv(T)){var j=T,L=j.ref;L||(T=b.cloneElement(T,{ref:O}))}return b.createElement(HM,{ref:v},T)});return r.displayName="CSSMotion",r}const Mv=ZM(RE);var fm="add",pm="keep",hm="remove",gp="removed";function ej(e){var t;return e&&Ae(e)==="object"&&"key"in e?t=e:t={key:e},G(G({},t),{},{key:String(t.key)})}function mm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(ej)}function tj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,o=t.length,i=mm(e),a=mm(t);i.forEach(function(c){for(var u=!1,d=r;d1});return l.forEach(function(c){n=n.filter(function(u){var d=u.key,f=u.status;return d!==c||f!==hm}),n.forEach(function(u){u.key===c&&(u.status=pm)})}),n}var nj=["component","children","onVisibleChanged","onAllRemoved"],rj=["status"],oj=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function ij(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Mv,n=function(r){Kd(i,r);var o=qd(i);function i(){var a;Nr(this,i);for(var s=arguments.length,l=new Array(s),c=0;c{const[n,r]=Jd();return im({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},_M()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},lj=sj;var cj=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);ot.endsWith("Color"))}const hj=e=>{let{prefixCls:t,iconPrefixCls:n,theme:r}=e;t!==void 0&&(IE=t),r&&pj(r)&&jM(fj(),r)},mj=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:a,locale:s,componentSize:l,direction:c,space:u,virtual:d,dropdownMatchSelectWidth:f,popupMatchSelectWidth:g,popupOverflow:y,legacyLocale:h,parentContext:x,iconPrefixCls:p,theme:m,componentDisabled:v,segmented:w,statistic:S,spin:C,calendar:E,carousel:P,cascader:M,collapse:k,typography:I,checkbox:O,descriptions:T,divider:_,drawer:$,skeleton:A,steps:N,image:j,layout:L,list:z,mentions:D,modal:B,progress:U,result:W,slider:Y,breadcrumb:X,menu:Q,pagination:ne,input:J,empty:pe,badge:Re,radio:le,rate:be,switch:Ce,transfer:xe,avatar:He,message:re,tag:We,table:he,card:Z,tabs:te,timeline:_e,timePicker:ce,upload:ae,notification:Te,tree:Ke,colorPicker:Sn,datePicker:zr}=e,ee=b.useCallback((Ze,st)=>{const{prefixCls:en}=e;if(st)return st;const tn=en||x.getPrefixCls("");return Ze?`${tn}-${Ze}`:tn},[x.getPrefixCls,e.prefixCls]),dt=p||x.iconPrefixCls||wE,xo=dt!==x.iconPrefixCls,Ht=n||x.csp,So=lj(dt,Ht),ci=zM(m,x.theme),Br={csp:Ht,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:s||h,direction:c,space:u,virtual:d,popupMatchSelectWidth:g??f,popupOverflow:y,getPrefixCls:ee,iconPrefixCls:dt,theme:ci,segmented:w,statistic:S,spin:C,calendar:E,carousel:P,cascader:M,collapse:k,typography:I,checkbox:O,descriptions:T,divider:_,drawer:$,skeleton:A,steps:N,image:j,input:J,layout:L,list:z,mentions:D,modal:B,progress:U,result:W,slider:Y,breadcrumb:X,menu:Q,pagination:ne,empty:pe,badge:Re,radio:le,rate:be,switch:Ce,transfer:xe,avatar:He,message:re,tag:We,table:he,card:Z,tabs:te,timeline:_e,timePicker:ce,upload:ae,notification:Te,tree:Ke,colorPicker:Sn,datePicker:zr},Dr=Object.assign({},x);Object.keys(Br).forEach(Ze=>{Br[Ze]!==void 0&&(Dr[Ze]=Br[Ze])}),uj.forEach(Ze=>{const st=e[Ze];st&&(Dr[Ze]=st)});const Eo=BS(()=>Dr,Dr,(Ze,st)=>{const en=Object.keys(Ze),tn=Object.keys(st);return en.length!==tn.length||en.some(Co=>Ze[Co]!==st[Co])}),Al=b.useMemo(()=>({prefixCls:dt,csp:Ht}),[dt,Ht]);let kt=xo?So(t):t;const Il=b.useMemo(()=>{var Ze,st,en,tn;return Vi(((Ze=Tv.Form)===null||Ze===void 0?void 0:Ze.defaultValidateMessages)||{},((en=(st=Eo.locale)===null||st===void 0?void 0:st.Form)===null||en===void 0?void 0:en.defaultValidateMessages)||{},((tn=Eo.form)===null||tn===void 0?void 0:tn.validateMessages)||{},(a==null?void 0:a.validateMessages)||{})},[Eo,a==null?void 0:a.validateMessages]);Object.keys(Il).length>0&&(kt=b.createElement(I7.Provider,{value:Il},t)),s&&(kt=b.createElement(H7,{locale:s,_ANT_MARK__:B7},kt)),(dt||Ht)&&(kt=b.createElement(Rv.Provider,{value:Al},kt)),l&&(kt=b.createElement(NM,{size:l},kt)),kt=b.createElement(aj,null,kt);const af=b.useMemo(()=>{const Ze=ci||{},{algorithm:st,token:en}=Ze,tn=cj(Ze,["algorithm","token"]),Co=st&&(!Array.isArray(st)||st.length>0)?uE(st):void 0;return Object.assign(Object.assign({},tn),{theme:Co,token:Object.assign(Object.assign({},Qd),en)})},[ci]);return m&&(kt=b.createElement(bE.Provider,{value:af},kt)),v!==void 0&&(kt=b.createElement(FM,{disabled:v},kt)),b.createElement(Ln.Provider,{value:Eo},kt)},$l=e=>{const t=b.useContext(Ln),n=b.useContext(pE);return b.createElement(mj,Object.assign({parentContext:t,legacyLocale:n},e))};$l.ConfigContext=Ln;$l.SizeContext=ef;$l.config=hj;$l.useConfig=LM;Object.defineProperty($l,"SizeContext",{get:()=>ef});function ME(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function gj(e){return ME(e)!==(e==null?void 0:e.ownerDocument)}function vj(e){return gj(e)?ME(e):null}function yj(e,t){mn(e,"[@ant-design/icons] ".concat(t))}function pb(e){return Ae(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(Ae(e.icon)==="object"||typeof e.icon=="function")}function hb(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:t[n]=r}return t},{})}function gm(e,t,n){return n?R.createElement(e.tag,G(G({key:t},hb(e.attrs)),n),(e.children||[]).map(function(r,o){return gm(r,"".concat(t,"-").concat(e.tag,"-").concat(o))})):R.createElement(e.tag,G({key:t},hb(e.attrs)),(e.children||[]).map(function(r,o){return gm(r,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function jE(e){return ii(e)[0]}function FE(e){return e?Array.isArray(e)?e:[e]:[]}var bj=` +.anticon { + display: inline-block; + color: inherit; + font-style: normal; + line-height: 0; + text-align: center; + text-transform: none; + vertical-align: -0.125em; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.anticon > * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`,wj=function(t){var n=b.useContext(Rv),r=n.csp,o=n.prefixCls,i=bj;o&&(i=i.replace(/anticon/g,o)),b.useEffect(function(){var a=t.current,s=vj(a);dl(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:s})},[])},xj=["icon","className","onClick","style","primaryColor","secondaryColor"],Ts={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Sj(e){var t=e.primaryColor,n=e.secondaryColor;Ts.primaryColor=t,Ts.secondaryColor=n||jE(t),Ts.calculated=!!n}function Ej(){return G({},Ts)}var tf=function(t){var n=t.icon,r=t.className,o=t.onClick,i=t.style,a=t.primaryColor,s=t.secondaryColor,l=Zn(t,xj),c=b.useRef(),u=Ts;if(a&&(u={primaryColor:a,secondaryColor:s||jE(a)}),wj(c),yj(pb(n),"icon should be icon definiton, but got ".concat(n)),!pb(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=G(G({},d),{},{icon:d.icon(u.primaryColor,u.secondaryColor)})),gm(d.icon,"svg-".concat(d.name),G(G({className:r,onClick:o,style:i,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:c}))};tf.displayName="IconReact";tf.getTwoToneColors=Ej;tf.setTwoToneColors=Sj;const jv=tf;function NE(e){var t=FE(e),n=de(t,2),r=n[0],o=n[1];return jv.setTwoToneColors({primaryColor:r,secondaryColor:o})}function Cj(){var e=jv.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var _j=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];NE(aM.primary);var nf=b.forwardRef(function(e,t){var n,r=e.className,o=e.icon,i=e.spin,a=e.rotate,s=e.tabIndex,l=e.onClick,c=e.twoToneColor,u=Zn(e,_j),d=b.useContext(Rv),f=d.prefixCls,g=f===void 0?"anticon":f,y=d.rootClassName,h=we(y,g,(n={},oe(n,"".concat(g,"-").concat(o.name),!!o.name),oe(n,"".concat(g,"-spin"),!!i||o.name==="loading"),n),r),x=s;x===void 0&&l&&(x=-1);var p=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,m=FE(c),v=de(m,2),w=v[0],S=v[1];return b.createElement("span",F({role:"img","aria-label":o.name},u,{ref:t,tabIndex:x,onClick:l,className:h}),b.createElement(jv,{icon:o,primaryColor:w,secondaryColor:S,style:p}))});nf.displayName="AntdIcon";nf.getTwoToneColor=Cj;nf.setTwoToneColor=NE;const kl=nf;var $j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"};const kj=$j;var Pj=function(t,n){return b.createElement(kl,F({},t,{ref:n,icon:kj}))};const LE=b.forwardRef(Pj),{isValidElement:zE}=js;function Rj(e){return e&&zE(e)&&e.type===b.Fragment}function Tj(e,t,n){return zE(e)?b.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t}function Tu(e,t){return Tj(e,e,t)}var Oj={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};const Aj=Oj;var Ij=function(t,n){return b.createElement(kl,F({},t,{ref:n,icon:Aj}))};const Mj=b.forwardRef(Ij);function yn(){yn=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(O,T,_){O[T]=_.value},o=typeof Symbol=="function"?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(O,T,_){return Object.defineProperty(O,T,{value:_,enumerable:!0,configurable:!0,writable:!0}),O[T]}try{l({},"")}catch{l=function(_,$,A){return _[$]=A}}function c(O,T,_,$){var A=T&&T.prototype instanceof f?T:f,N=Object.create(A.prototype),j=new M($||[]);return r(N,"_invoke",{value:S(O,_,j)}),N}function u(O,T,_){try{return{type:"normal",arg:O.call(T,_)}}catch($){return{type:"throw",arg:$}}}e.wrap=c;var d={};function f(){}function g(){}function y(){}var h={};l(h,i,function(){return this});var x=Object.getPrototypeOf,p=x&&x(x(k([])));p&&p!==t&&n.call(p,i)&&(h=p);var m=y.prototype=f.prototype=Object.create(h);function v(O){["next","throw","return"].forEach(function(T){l(O,T,function(_){return this._invoke(T,_)})})}function w(O,T){function _(A,N,j,L){var z=u(O[A],O,N);if(z.type!=="throw"){var D=z.arg,B=D.value;return B&&Ae(B)=="object"&&n.call(B,"__await")?T.resolve(B.__await).then(function(U){_("next",U,j,L)},function(U){_("throw",U,j,L)}):T.resolve(B).then(function(U){D.value=U,j(D)},function(U){return _("throw",U,j,L)})}L(z.arg)}var $;r(this,"_invoke",{value:function(N,j){function L(){return new T(function(z,D){_(N,j,z,D)})}return $=$?$.then(L,L):L()}})}function S(O,T,_){var $="suspendedStart";return function(A,N){if($==="executing")throw new Error("Generator is already running");if($==="completed"){if(A==="throw")throw N;return I()}for(_.method=A,_.arg=N;;){var j=_.delegate;if(j){var L=C(j,_);if(L){if(L===d)continue;return L}}if(_.method==="next")_.sent=_._sent=_.arg;else if(_.method==="throw"){if($==="suspendedStart")throw $="completed",_.arg;_.dispatchException(_.arg)}else _.method==="return"&&_.abrupt("return",_.arg);$="executing";var z=u(O,T,_);if(z.type==="normal"){if($=_.done?"completed":"suspendedYield",z.arg===d)continue;return{value:z.arg,done:_.done}}z.type==="throw"&&($="completed",_.method="throw",_.arg=z.arg)}}}function C(O,T){var _=T.method,$=O.iterator[_];if($===void 0)return T.delegate=null,_==="throw"&&O.iterator.return&&(T.method="return",T.arg=void 0,C(O,T),T.method==="throw")||_!=="return"&&(T.method="throw",T.arg=new TypeError("The iterator does not provide a '"+_+"' method")),d;var A=u($,O.iterator,T.arg);if(A.type==="throw")return T.method="throw",T.arg=A.arg,T.delegate=null,d;var N=A.arg;return N?N.done?(T[O.resultName]=N.value,T.next=O.nextLoc,T.method!=="return"&&(T.method="next",T.arg=void 0),T.delegate=null,d):N:(T.method="throw",T.arg=new TypeError("iterator result is not an object"),T.delegate=null,d)}function E(O){var T={tryLoc:O[0]};1 in O&&(T.catchLoc=O[1]),2 in O&&(T.finallyLoc=O[2],T.afterLoc=O[3]),this.tryEntries.push(T)}function P(O){var T=O.completion||{};T.type="normal",delete T.arg,O.completion=T}function M(O){this.tryEntries=[{tryLoc:"root"}],O.forEach(E,this),this.reset(!0)}function k(O){if(O){var T=O[i];if(T)return T.call(O);if(typeof O.next=="function")return O;if(!isNaN(O.length)){var _=-1,$=function A(){for(;++_=0;--A){var N=this.tryEntries[A],j=N.completion;if(N.tryLoc==="root")return $("end");if(N.tryLoc<=this.prev){var L=n.call(N,"catchLoc"),z=n.call(N,"finallyLoc");if(L&&z){if(this.prev=0;--$){var A=this.tryEntries[$];if(A.tryLoc<=this.prev&&n.call(A,"finallyLoc")&&this.prev=0;--_){var $=this.tryEntries[_];if($.finallyLoc===T)return this.complete($.completion,$.afterLoc),P($),d}},catch:function(T){for(var _=this.tryEntries.length-1;_>=0;--_){var $=this.tryEntries[_];if($.tryLoc===T){var A=$.completion;if(A.type==="throw"){var N=A.arg;P($)}return N}}throw new Error("illegal catch attempt")},delegateYield:function(T,_,$){return this.delegate={iterator:k(T),resultName:_,nextLoc:$},this.method==="next"&&(this.arg=void 0),d}},e}function mb(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(c){n(c);return}s.done?t(l):Promise.resolve(l).then(r,o)}function ja(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(l){mb(i,r,o,a,s,"next",l)}function s(l){mb(i,r,o,a,s,"throw",l)}a(void 0)})}}var Pl=G({},H_),jj=Pl.version,Fj=Pl.render,Nj=Pl.unmountComponentAtNode,rf;try{var Lj=Number((jj||"").split(".")[0]);Lj>=18&&(rf=Pl.createRoot)}catch{}function gb(e){var t=Pl.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&Ae(t)==="object"&&(t.usingClientEntryPoint=e)}var Ou="__rc_react_root__";function zj(e,t){gb(!0);var n=t[Ou]||rf(t);gb(!1),n.render(e),t[Ou]=n}function Bj(e,t){Fj(e,t)}function Dj(e,t){if(rf){zj(e,t);return}Bj(e,t)}function Hj(e){return vm.apply(this,arguments)}function vm(){return vm=ja(yn().mark(function e(t){return yn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var o;(o=t[Ou])===null||o===void 0||o.unmount(),delete t[Ou]}));case 1:case"end":return r.stop()}},e)})),vm.apply(this,arguments)}function Wj(e){Nj(e)}function Vj(e){return ym.apply(this,arguments)}function ym(){return ym=ja(yn().mark(function e(t){return yn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(rf===void 0){r.next=2;break}return r.abrupt("return",Hj(t));case 2:Wj(t);case 3:case"end":return r.stop()}},e)})),ym.apply(this,arguments)}const Uj=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1},Gj=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0}}}}},Kj=Av("Wave",e=>[Gj(e)]);function qj(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function vp(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&qj(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function Yj(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return vp(t)?t:vp(n)?n:vp(r)?r:null}function yp(e){return Number.isNaN(e)?0:e}const Xj=e=>{const{className:t,target:n}=e,r=b.useRef(null),[o,i]=b.useState(null),[a,s]=b.useState([]),[l,c]=b.useState(0),[u,d]=b.useState(0),[f,g]=b.useState(0),[y,h]=b.useState(0),[x,p]=b.useState(!1),m={left:l,top:u,width:f,height:y,borderRadius:a.map(w=>`${w}px`).join(" ")};o&&(m["--wave-color"]=o);function v(){const w=getComputedStyle(n);i(Yj(n));const S=w.position==="static",{borderLeftWidth:C,borderTopWidth:E}=w;c(S?n.offsetLeft:yp(-parseFloat(C))),d(S?n.offsetTop:yp(-parseFloat(E))),g(n.offsetWidth),h(n.offsetHeight);const{borderTopLeftRadius:P,borderTopRightRadius:M,borderBottomLeftRadius:k,borderBottomRightRadius:I}=w;s([P,M,I,k].map(O=>yp(parseFloat(O))))}return b.useEffect(()=>{if(n){const w=oi(()=>{v(),p(!0)});let S;return typeof ResizeObserver<"u"&&(S=new ResizeObserver(v),S.observe(n)),()=>{oi.cancel(w),S==null||S.disconnect()}}},[]),x?b.createElement(Mv,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(w,S)=>{var C;if(S.deadline||S.propertyName==="opacity"){const E=(C=r.current)===null||C===void 0?void 0:C.parentElement;Vj(E).then(()=>{E==null||E.remove()})}return!1}},w=>{let{className:S}=w;return b.createElement("div",{ref:r,className:we(t,S),style:m})}):null};function Qj(e,t){const n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e==null||e.insertBefore(n,e==null?void 0:e.firstChild),Dj(b.createElement(Xj,{target:e,className:t}),n)}function Jj(e,t){function n(){const r=e.current;Qj(r,t)}return n}const Zj=e=>{const{children:t,disabled:n}=e,{getPrefixCls:r}=b.useContext(Ln),o=b.useRef(null),i=r("wave"),[,a]=Kj(i),s=Jj(o,we(i,a));if(R.useEffect(()=>{const c=o.current;if(!c||c.nodeType!==1||n)return;const u=d=>{d.target.tagName==="INPUT"||!Uj(d.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")||c.className.includes("-leave")||s()};return c.addEventListener("click",u,!0),()=>{c.removeEventListener("click",u,!0)}},[n]),!R.isValidElement(t))return t??null;const l=Sv(t)?Ma(t.ref,o):o;return Tu(t,{ref:l})},eF=Zj,tF=e=>{const t=R.useContext(ef);return R.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},of=tF;globalThis&&globalThis.__rest;const BE=b.createContext(null),Fv=(e,t)=>{const n=b.useContext(BE),r=b.useMemo(()=>{if(!n)return"";const{compactDirection:o,isFirstItem:i,isLastItem:a}=n,s=o==="vertical"?"-vertical-":"-";return we({[`${e}-compact${s}item`]:!0,[`${e}-compact${s}first-item`]:i,[`${e}-compact${s}last-item`]:a,[`${e}-compact${s}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},vb=e=>{let{children:t}=e;return b.createElement(BE.Provider,{value:null},t)},nF=b.forwardRef((e,t)=>{const{className:n,style:r,children:o,prefixCls:i}=e,a=we(`${i}-icon`,n);return R.createElement("span",{ref:t,className:a,style:r},o)}),DE=nF,yb=b.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:o,iconClassName:i}=e;const a=we(`${n}-loading-icon`,r);return R.createElement(DE,{prefixCls:n,className:a,style:o,ref:t},R.createElement(Mj,{className:i}))}),bp=()=>({width:0,opacity:0,transform:"scale(0)"}),wp=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),rF=e=>{const{prefixCls:t,loading:n,existIcon:r,className:o,style:i}=e,a=!!n;return r?R.createElement(yb,{prefixCls:t,className:o,style:i}):R.createElement(Mv,{visible:a,motionName:`${t}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:bp,onAppearActive:wp,onEnterStart:bp,onEnterActive:wp,onLeaveStart:wp,onLeaveActive:bp},(s,l)=>{let{className:c,style:u}=s;return R.createElement(yb,{prefixCls:t,className:o,style:Object.assign(Object.assign({},i),u),ref:l,iconClassName:c})})},oF=rF;var iF=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:n}=b.useContext(Ln),{prefixCls:r,size:o,className:i}=e,a=iF(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,l]=Jd();let c="";switch(o){case"large":c="lg";break;case"small":c="sm";break}const u=we(s,{[`${s}-${c}`]:c,[`${s}-rtl`]:n==="rtl"},i,l);return b.createElement(HE.Provider,{value:o},b.createElement("div",Object.assign({},a,{className:u})))},sF=aF,bb=/^[\u4e00-\u9fa5]{2}$/,bm=bb.test.bind(bb);function lF(e){return typeof e=="string"}function xp(e){return e==="text"||e==="link"}function cF(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&lF(e.type)&&bm(e.props.children)?Tu(e,{children:e.props.children.split("").join(n)}):typeof e=="string"?bm(e)?R.createElement("span",null,e.split("").join(n)):R.createElement("span",null,e):Rj(e)?R.createElement("span",null,e):e}function uF(e,t){let n=!1;const r=[];return R.Children.forEach(e,o=>{const i=typeof o,a=i==="string"||i==="number";if(n&&a){const s=r.length-1,l=r[s];r[s]=`${l}${o}`}else r.push(o);n=a}),R.Children.map(r,o=>cF(o,t))}function dF(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",s=["hover",o?"focus":null,"active"].filter(Boolean).map(l=>`&:${l} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function fF(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function WE(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},dF(e,r,t)),fF(n,r,t))}}function pF(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function hF(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function mF(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},pF(e,t)),hF(e.componentCls,t))}}const wb=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),gF=e=>{const{componentCls:t,fontSize:n,lineWidth:r,colorPrimaryHover:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-r,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},wb(`${t}-primary`,o),wb(`${t}-danger`,i)]}},vF=gF,yF=e=>{const{componentCls:t,iconCls:n,buttonFontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},TM(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${e.lineWidth*2}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${e.lineWidth*2}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},Ir=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),bF=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),wF=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),xF=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),Au=(e,t,n,r,o,i,a)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},Ir(e,Object.assign({backgroundColor:"transparent"},i),Object.assign({backgroundColor:"transparent"},a))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:o||void 0}})}),Nv=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},xF(e))}),VE=e=>Object.assign({},Nv(e)),Iu=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),UE=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},VE(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),Ir(e.componentCls,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),Au(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},Ir(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Au(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Nv(e))}),SF=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},VE(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),Ir(e.componentCls,{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),Au(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},Ir(e.componentCls,{backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),Au(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Nv(e))}),EF=e=>Object.assign(Object.assign({},UE(e)),{borderStyle:"dashed"}),CF=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},Ir(e.componentCls,{color:e.colorLinkHover},{color:e.colorLinkActive})),Iu(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Ir(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),Iu(e))}),_F=e=>Object.assign(Object.assign(Object.assign({},Ir(e.componentCls,{color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),Iu(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Iu(e)),Ir(e.componentCls,{color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),$F=e=>{const{componentCls:t}=e;return{[`${t}-default`]:UE(e),[`${t}-primary`]:SF(e),[`${t}-dashed`]:EF(e),[`${t}-link`]:CF(e),[`${t}-text`]:_F(e)}},Lv=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:o,lineHeight:i,lineWidth:a,borderRadius:s,buttonPaddingHorizontal:l,iconCls:c}=e,u=Math.max(0,(r-o*i)/2-a),d=l-a,f=`${n}-icon-only`;return[{[`${n}${t}`]:{fontSize:o,height:r,padding:`${u}px ${d}px`,borderRadius:s,[`&${f}`]:{width:r,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},[c]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:bF(e)},{[`${n}${n}-round${t}`]:wF(e)}]},kF=e=>Lv(e),PF=e=>{const t=Ar(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.fontSizeLG-2});return Lv(t,`${e.componentCls}-sm`)},RF=e=>{const t=Ar(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.fontSizeLG+2});return Lv(t,`${e.componentCls}-lg`)},TF=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},OF=Av("Button",e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,r=Ar(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n,buttonIconOnlyFontSize:e.fontSizeLG,buttonFontWeight:400});return[yF(r),PF(r),kF(r),RF(r),TF(r),$F(r),vF(r),WE(e),mF(e)]});var AF=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,r;const{loading:o=!1,prefixCls:i,type:a="default",danger:s,shape:l="default",size:c,styles:u,disabled:d,className:f,rootClassName:g,children:y,icon:h,ghost:x=!1,block:p=!1,htmlType:m="button",classNames:v,style:w={}}=e,S=AF(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:C,autoInsertSpaceInButton:E,direction:P,button:M}=b.useContext(Ln),k=C("btn",i),[I,O]=OF(k),T=b.useContext(Zd),_=d??T,$=b.useContext(HE),A=b.useMemo(()=>IF(o),[o]),[N,j]=b.useState(A.loading),[L,z]=b.useState(!1),B=Ma(t,b.createRef()),U=b.Children.count(y)===1&&!h&&!xp(a);b.useEffect(()=>{let Z=null;A.delay>0?Z=setTimeout(()=>{Z=null,j(!0)},A.delay):j(A.loading);function te(){Z&&(clearTimeout(Z),Z=null)}return te},[A]),b.useEffect(()=>{if(!B||!B.current||E===!1)return;const Z=B.current.textContent;U&&bm(Z)?L||z(!0):L&&z(!1)},[B]);const W=Z=>{const{onClick:te}=e;if(N||_){Z.preventDefault();return}te==null||te(Z)},Y=E!==!1,{compactSize:X,compactItemClassnames:Q}=Fv(k,P),ne={large:"lg",small:"sm",middle:void 0},J=of(Z=>{var te,_e;return(_e=(te=c??X)!==null&&te!==void 0?te:$)!==null&&_e!==void 0?_e:Z}),pe=J&&ne[J]||"",Re=N?"loading":h,le=Ev(S,["navigate"]),be=we(k,O,{[`${k}-${l}`]:l!=="default"&&l,[`${k}-${a}`]:a,[`${k}-${pe}`]:pe,[`${k}-icon-only`]:!y&&y!==0&&!!Re,[`${k}-background-ghost`]:x&&!xp(a),[`${k}-loading`]:N,[`${k}-two-chinese-chars`]:L&&Y&&!N,[`${k}-block`]:p,[`${k}-dangerous`]:!!s,[`${k}-rtl`]:P==="rtl"},Q,f,g,M==null?void 0:M.className),Ce=Object.assign(Object.assign({},M==null?void 0:M.style),w),xe=we(v==null?void 0:v.icon,(n=M==null?void 0:M.classNames)===null||n===void 0?void 0:n.icon),He=Object.assign(Object.assign({},(u==null?void 0:u.icon)||{}),((r=M==null?void 0:M.styles)===null||r===void 0?void 0:r.icon)||{}),re=h&&!N?R.createElement(DE,{prefixCls:k,className:xe,style:He},h):R.createElement(oF,{existIcon:!!h,prefixCls:k,loading:!!N}),We=y||y===0?uF(y,U&&Y):null;if(le.href!==void 0)return I(R.createElement("a",Object.assign({},le,{className:we(be,{[`${k}-disabled`]:_}),style:Ce,onClick:W,ref:B}),re,We));let he=R.createElement("button",Object.assign({},S,{type:m,className:be,style:Ce,onClick:W,disabled:_,ref:B}),re,We);return xp(a)||(he=R.createElement(eF,{disabled:!!N},he)),I(he)},zv=b.forwardRef(MF);zv.Group=sF;zv.__ANT_BUTTON=!0;const jF=zv;var FF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};const NF=FF;var LF=function(t,n){return b.createElement(kl,F({},t,{ref:n,icon:NF}))};const zF=b.forwardRef(LF);var BF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};const DF=BF;var HF=function(t,n){return b.createElement(kl,F({},t,{ref:n,icon:DF}))};const WF=b.forwardRef(HF);var VF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};const UF=VF;var GF=function(t,n){return b.createElement(kl,F({},t,{ref:n,icon:UF}))};const KF=b.forwardRef(GF);var Wo="RC_FORM_INTERNAL_HOOKS",Le=function(){mn(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Ea=b.createContext({getFieldValue:Le,getFieldsValue:Le,getFieldError:Le,getFieldWarning:Le,getFieldsError:Le,isFieldsTouched:Le,isFieldTouched:Le,isFieldValidating:Le,isFieldsValidating:Le,resetFields:Le,setFields:Le,setFieldValue:Le,setFieldsValue:Le,validateFields:Le,submit:Le,getInternalHooks:function(){return Le(),{dispatch:Le,initEntityValue:Le,registerField:Le,useSubscribe:Le,setInitialValues:Le,destroyForm:Le,setCallbacks:Le,registerWatch:Le,getFields:Le,setValidateMessages:Le,setPreserve:Le,getInitialValue:Le}}}),Mu=b.createContext(null);function wm(e){return e==null?[]:Array.isArray(e)?e:[e]}function qF(e){return e&&!!e._init}function Vo(){return Vo=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Vc(e,t,n){return XF()?Vc=Reflect.construct.bind():Vc=function(o,i,a){var s=[null];s.push.apply(s,i);var l=Function.bind.apply(o,s),c=new l;return a&&fl(c,a.prototype),c},Vc.apply(null,arguments)}function QF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Sm(e){var t=typeof Map=="function"?new Map:void 0;return Sm=function(r){if(r===null||!QF(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Vc(r,arguments,xm(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),fl(o,r)},Sm(e)}var JF=/%[sdj%]/g,ZF=function(){};typeof process<"u"&&process.env;function Em(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function fn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=i)return s;switch(s){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch{return"[Circular]"}break;default:return s}});return a}return e}function eN(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function ht(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||eN(t)&&typeof e=="string"&&!e)}function tN(e,t,n){var r=[],o=0,i=e.length;function a(s){r.push.apply(r,s||[]),o++,o===i&&n(r)}e.forEach(function(s){t(s,a)})}function xb(e,t,n){var r=0,o=e.length;function i(a){if(a&&a.length){n(a);return}var s=r;r=r+1,s()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},fs={integer:function(t){return fs.number(t)&&parseInt(t,10)===t},float:function(t){return fs.number(t)&&!fs.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!fs.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(_b.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(sN())},hex:function(t){return typeof t=="string"&&!!t.match(_b.hex)}},lN=function(t,n,r,o,i){if(t.required&&n===void 0){GE(t,n,r,o,i);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;a.indexOf(s)>-1?fs[s](n)||o.push(fn(i.messages.types[s],t.fullField,t.type)):s&&typeof n!==t.type&&o.push(fn(i.messages.types[s],t.fullField,t.type))},cN=function(t,n,r,o,i){var a=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=n,d=null,f=typeof n=="number",g=typeof n=="string",y=Array.isArray(n);if(f?d="number":g?d="string":y&&(d="array"),!d)return!1;y&&(u=n.length),g&&(u=n.replace(c,"_").length),a?u!==t.len&&o.push(fn(i.messages[d].len,t.fullField,t.len)):s&&!l&&ut.max?o.push(fn(i.messages[d].max,t.fullField,t.max)):s&&l&&(ut.max)&&o.push(fn(i.messages[d].range,t.fullField,t.min,t.max))},Si="enum",uN=function(t,n,r,o,i){t[Si]=Array.isArray(t[Si])?t[Si]:[],t[Si].indexOf(n)===-1&&o.push(fn(i.messages[Si],t.fullField,t[Si].join(", ")))},dN=function(t,n,r,o,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(fn(i.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||o.push(fn(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},ve={required:GE,whitespace:aN,type:lN,range:cN,enum:uN,pattern:dN},fN=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ht(n,"string")&&!t.required)return r();ve.required(t,n,o,a,i,"string"),ht(n,"string")||(ve.type(t,n,o,a,i),ve.range(t,n,o,a,i),ve.pattern(t,n,o,a,i),t.whitespace===!0&&ve.whitespace(t,n,o,a,i))}r(a)},pN=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ht(n)&&!t.required)return r();ve.required(t,n,o,a,i),n!==void 0&&ve.type(t,n,o,a,i)}r(a)},hN=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),ht(n)&&!t.required)return r();ve.required(t,n,o,a,i),n!==void 0&&(ve.type(t,n,o,a,i),ve.range(t,n,o,a,i))}r(a)},mN=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ht(n)&&!t.required)return r();ve.required(t,n,o,a,i),n!==void 0&&ve.type(t,n,o,a,i)}r(a)},gN=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ht(n)&&!t.required)return r();ve.required(t,n,o,a,i),ht(n)||ve.type(t,n,o,a,i)}r(a)},vN=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ht(n)&&!t.required)return r();ve.required(t,n,o,a,i),n!==void 0&&(ve.type(t,n,o,a,i),ve.range(t,n,o,a,i))}r(a)},yN=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ht(n)&&!t.required)return r();ve.required(t,n,o,a,i),n!==void 0&&(ve.type(t,n,o,a,i),ve.range(t,n,o,a,i))}r(a)},bN=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();ve.required(t,n,o,a,i,"array"),n!=null&&(ve.type(t,n,o,a,i),ve.range(t,n,o,a,i))}r(a)},wN=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ht(n)&&!t.required)return r();ve.required(t,n,o,a,i),n!==void 0&&ve.type(t,n,o,a,i)}r(a)},xN="enum",SN=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ht(n)&&!t.required)return r();ve.required(t,n,o,a,i),n!==void 0&&ve[xN](t,n,o,a,i)}r(a)},EN=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ht(n,"string")&&!t.required)return r();ve.required(t,n,o,a,i),ht(n,"string")||ve.pattern(t,n,o,a,i)}r(a)},CN=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ht(n,"date")&&!t.required)return r();if(ve.required(t,n,o,a,i),!ht(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),ve.type(t,l,o,a,i),l&&ve.range(t,l.getTime(),o,a,i)}}r(a)},_N=function(t,n,r,o,i){var a=[],s=Array.isArray(n)?"array":typeof n;ve.required(t,n,o,a,i,s),r(a)},Sp=function(t,n,r,o,i){var a=t.type,s=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(ht(n,a)&&!t.required)return r();ve.required(t,n,o,s,i,a),ht(n,a)||ve.type(t,n,o,s,i)}r(s)},$N=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ht(n)&&!t.required)return r();ve.required(t,n,o,a,i)}r(a)},Os={string:fN,method:pN,number:hN,boolean:mN,regexp:gN,integer:vN,float:yN,array:bN,object:wN,enum:SN,pattern:EN,date:CN,url:Sp,hex:Sp,email:Sp,required:_N,any:$N};function Cm(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var _m=Cm(),Rl=function(){function e(n){this.rules=null,this._messages=_m,this.define(n)}var t=e.prototype;return t.define=function(r){var o=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(i){var a=r[i];o.rules[i]=Array.isArray(a)?a:[a]})},t.messages=function(r){return r&&(this._messages=Cb(Cm(),r)),this._messages},t.validate=function(r,o,i){var a=this;o===void 0&&(o={}),i===void 0&&(i=function(){});var s=r,l=o,c=i;if(typeof l=="function"&&(c=l,l={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,s),Promise.resolve(s);function u(h){var x=[],p={};function m(w){if(Array.isArray(w)){var S;x=(S=x).concat.apply(S,w)}else x.push(w)}for(var v=0;v=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat(ie(e.slice(0,n)),[o],ie(e.slice(n,t)),ie(e.slice(t+1,r))):i<0?[].concat(ie(e.slice(0,t)),ie(e.slice(t+1,n+1)),[o],ie(e.slice(n+1,r))):e}var IN=["name"],Cn=[];function Tb(e,t,n,r,o,i){return typeof e=="function"?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var Bv=function(e){Kd(n,e);var t=qd(n);function n(r){var o;if(Nr(this,n),o=t.call(this,r),o.state={resetCount:0},o.cancelRegisterFunc=null,o.mounted=!1,o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.prevValidating=void 0,o.errors=Cn,o.warnings=Cn,o.cancelRegister=function(){var l=o.props,c=l.preserve,u=l.isListField,d=l.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(u,c,rt(d)),o.cancelRegisterFunc=null},o.getNamePath=function(){var l=o.props,c=l.name,u=l.fieldContext,d=u.prefixName,f=d===void 0?[]:d;return c!==void 0?[].concat(ie(f),ie(c)):[]},o.getRules=function(){var l=o.props,c=l.rules,u=c===void 0?[]:c,d=l.fieldContext;return u.map(function(f){return typeof f=="function"?f(d):f})},o.refresh=function(){o.mounted&&o.setState(function(l){var c=l.resetCount;return{resetCount:c+1}})},o.metaCache=null,o.triggerMetaEvent=function(l){var c=o.props.onMetaChange;if(c){var u=G(G({},o.getMeta()),{},{destroy:l});ZS(o.metaCache,u)||c(u),o.metaCache=u}else o.metaCache=null},o.onStoreChange=function(l,c,u){var d=o.props,f=d.shouldUpdate,g=d.dependencies,y=g===void 0?[]:g,h=d.onReset,x=u.store,p=o.getNamePath(),m=o.getValue(l),v=o.getValue(x),w=c&&As(c,p);switch(u.type==="valueUpdate"&&u.source==="external"&&m!==v&&(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=Cn,o.warnings=Cn,o.triggerMetaEvent()),u.type){case"reset":if(!c||w){o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.errors=Cn,o.warnings=Cn,o.triggerMetaEvent(),h==null||h(),o.refresh();return}break;case"remove":{if(f){o.reRender();return}break}case"setField":{if(w){var S=u.data;"touched"in S&&(o.touched=S.touched),"validating"in S&&!("originRCField"in S)&&(o.validatePromise=S.validating?Promise.resolve([]):null),"errors"in S&&(o.errors=S.errors||Cn),"warnings"in S&&(o.warnings=S.warnings||Cn),o.dirty=!0,o.triggerMetaEvent(),o.reRender();return}if(f&&!p.length&&Tb(f,l,x,m,v,u)){o.reRender();return}break}case"dependenciesUpdate":{var C=y.map(rt);if(C.some(function(E){return As(u.relatedFields,E)})){o.reRender();return}break}default:if(w||(!y.length||p.length||f)&&Tb(f,l,x,m,v,u)){o.reRender();return}break}f===!0&&o.reRender()},o.validateRules=function(l){var c=o.getNamePath(),u=o.getValue(),d=l||{},f=d.triggerName,g=d.validateOnly,y=g===void 0?!1:g,h=Promise.resolve().then(function(){if(!o.mounted)return[];var x=o.props,p=x.validateFirst,m=p===void 0?!1:p,v=x.messageVariables,w=o.getRules();f&&(w=w.filter(function(C){return C}).filter(function(C){var E=C.validateTrigger;if(!E)return!0;var P=wm(E);return P.includes(f)}));var S=PN(c,u,w,l,m,v);return S.catch(function(C){return C}).then(function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Cn;if(o.validatePromise===h){var E;o.validatePromise=null;var P=[],M=[];(E=C.forEach)===null||E===void 0||E.call(C,function(k){var I=k.rule.warningOnly,O=k.errors,T=O===void 0?Cn:O;I?M.push.apply(M,ie(T)):P.push.apply(P,ie(T))}),o.errors=P,o.warnings=M,o.triggerMetaEvent(),o.reRender()}}),S});return y||(o.validatePromise=h,o.dirty=!0,o.errors=Cn,o.warnings=Cn,o.triggerMetaEvent(),o.reRender()),h},o.isFieldValidating=function(){return!!o.validatePromise},o.isFieldTouched=function(){return o.touched},o.isFieldDirty=function(){if(o.dirty||o.props.initialValue!==void 0)return!0;var l=o.props.fieldContext,c=l.getInternalHooks(Wo),u=c.getInitialValue;return u(o.getNamePath())!==void 0},o.getErrors=function(){return o.errors},o.getWarnings=function(){return o.warnings},o.isListField=function(){return o.props.isListField},o.isList=function(){return o.props.isList},o.isPreserve=function(){return o.props.preserve},o.getMeta=function(){o.prevValidating=o.isFieldValidating();var l={touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:o.validatePromise===null};return l},o.getOnlyChild=function(l){if(typeof l=="function"){var c=o.getMeta();return G(G({},o.getOnlyChild(l(o.getControlled(),c,o.props.fieldContext))),{},{isFunction:!0})}var u=_u(l);return u.length!==1||!b.isValidElement(u[0])?{child:u,isFunction:!1}:{child:u[0],isFunction:!1}},o.getValue=function(l){var c=o.props.fieldContext.getFieldsValue,u=o.getNamePath();return qn(l||c(!0),u)},o.getControlled=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=o.props,u=c.trigger,d=c.validateTrigger,f=c.getValueFromEvent,g=c.normalize,y=c.valuePropName,h=c.getValueProps,x=c.fieldContext,p=d!==void 0?d:x.validateTrigger,m=o.getNamePath(),v=x.getInternalHooks,w=x.getFieldsValue,S=v(Wo),C=S.dispatch,E=o.getValue(),P=h||function(O){return oe({},y,O)},M=l[u],k=G(G({},l),P(E));k[u]=function(){o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var O,T=arguments.length,_=new Array(T),$=0;$=0&&I<=O.length?(d.keys=[].concat(ie(d.keys.slice(0,I)),[d.id],ie(d.keys.slice(I))),w([].concat(ie(O.slice(0,I)),[k],ie(O.slice(I))))):(d.keys=[].concat(ie(d.keys),[d.id]),w([].concat(ie(O),[k]))),d.id+=1},remove:function(k){var I=C(),O=new Set(Array.isArray(k)?k:[k]);O.size<=0||(d.keys=d.keys.filter(function(T,_){return!O.has(_)}),w(I.filter(function(T,_){return!O.has(_)})))},move:function(k,I){if(k!==I){var O=C();k<0||k>=O.length||I<0||I>=O.length||(d.keys=Rb(d.keys,k,I),w(Rb(O,k,I)))}}},P=v||[];return Array.isArray(P)||(P=[]),o(P.map(function(M,k){var I=d.keys[k];return I===void 0&&(d.keys[k]=d.id,I=d.keys[k],d.id+=1),{name:k,key:I,isListField:!0}}),E,p)})))};function jN(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(o,i){e.forEach(function(a,s){a.catch(function(l){return t=!0,l}).then(function(l){n-=1,r[s]=l,!(n>0)&&(t&&i(r),o(r))})})}):Promise.resolve([])}var XE="__@field_split__";function Ep(e){return e.map(function(t){return"".concat(Ae(t),":").concat(t)}).join(XE)}var Ei=function(){function e(){Nr(this,e),this.kvs=new Map}return Lr(e,[{key:"set",value:function(n,r){this.kvs.set(Ep(n),r)}},{key:"get",value:function(n){return this.kvs.get(Ep(n))}},{key:"update",value:function(n,r){var o=this.get(n),i=r(o);i?this.set(n,i):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(Ep(n))}},{key:"map",value:function(n){return ie(this.kvs.entries()).map(function(r){var o=de(r,2),i=o[0],a=o[1],s=i.split(XE);return n({key:s.map(function(l){var c=l.match(/^([^:]*):(.*)$/),u=de(c,3),d=u[1],f=u[2];return d==="number"?Number(f):f}),value:a})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var o=r.key,i=r.value;return n[o.join(".")]=i,null}),n}}]),e}(),FN=["name"],NN=Lr(function e(t){var n=this;Nr(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(r){return r===Wo?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(mn(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(r){n.subscribable=r},this.prevWithoutPreserves=null,this.setInitialValues=function(r,o){if(n.initialValues=r||{},o){var i,a=Vi(r,n.store);(i=n.prevWithoutPreserves)===null||i===void 0||i.map(function(s){var l=s.key;a=Un(a,l,qn(r,l))}),n.prevWithoutPreserves=null,n.updateStore(a)}},this.destroyForm=function(){var r=new Ei;n.getFieldEntities(!0).forEach(function(o){n.isMergedPreserve(o.isPreserve())||r.set(o.getNamePath(),!0)}),n.prevWithoutPreserves=r},this.getInitialValue=function(r){var o=qn(n.initialValues,r);return r.length?Vi(o):o},this.setCallbacks=function(r){n.callbacks=r},this.setValidateMessages=function(r){n.validateMessages=r},this.setPreserve=function(r){n.preserve=r},this.watchList=[],this.registerWatch=function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(o){return o!==r})}},this.notifyWatch=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var o=n.getFieldsValue(),i=n.getFieldsValue(!0);n.watchList.forEach(function(a){a(o,i,r)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(r){n.store=r},this.getFieldEntities=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(o){return o.getNamePath().length}):n.fieldEntities},this.getFieldsMap=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=new Ei;return n.getFieldEntities(r).forEach(function(i){var a=i.getNamePath();o.set(a,i)}),o},this.getFieldEntitiesForNamePathList=function(r){if(!r)return n.getFieldEntities(!0);var o=n.getFieldsMap(!0);return r.map(function(i){var a=rt(i);return o.get(a)||{INVALIDATE_NAME_PATH:rt(i)}})},this.getFieldsValue=function(r,o){if(n.warningUnhooked(),r===!0&&!o)return n.store;var i=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),a=[];return i.forEach(function(s){var l,c="INVALIDATE_NAME_PATH"in s?s.INVALIDATE_NAME_PATH:s.getNamePath();if(!(!r&&(!((l=s.isListField)===null||l===void 0)&&l.call(s))))if(!o)a.push(c);else{var u="getMeta"in s?s.getMeta():null;o(u)&&a.push(c)}}),Pb(n.store,a.map(rt))},this.getFieldValue=function(r){n.warningUnhooked();var o=rt(r);return qn(n.store,o)},this.getFieldsError=function(r){n.warningUnhooked();var o=n.getFieldEntitiesForNamePathList(r);return o.map(function(i,a){return i&&!("INVALIDATE_NAME_PATH"in i)?{name:i.getNamePath(),errors:i.getErrors(),warnings:i.getWarnings()}:{name:rt(r[a]),errors:[],warnings:[]}})},this.getFieldError=function(r){n.warningUnhooked();var o=rt(r),i=n.getFieldsError([o])[0];return i.errors},this.getFieldWarning=function(r){n.warningUnhooked();var o=rt(r),i=n.getFieldsError([o])[0];return i.warnings},this.isFieldsTouched=function(){n.warningUnhooked();for(var r=arguments.length,o=new Array(r),i=0;i0&&arguments[0]!==void 0?arguments[0]:{},o=new Ei,i=n.getFieldEntities(!0);i.forEach(function(l){var c=l.props.initialValue,u=l.getNamePath();if(c!==void 0){var d=o.get(u)||new Set;d.add({entity:l,value:c}),o.set(u,d)}});var a=function(c){c.forEach(function(u){var d=u.props.initialValue;if(d!==void 0){var f=u.getNamePath(),g=n.getInitialValue(f);if(g!==void 0)mn(!1,"Form already set 'initialValues' with path '".concat(f.join("."),"'. Field can not overwrite it."));else{var y=o.get(f);if(y&&y.size>1)mn(!1,"Multiple Field with path '".concat(f.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(y){var h=n.getFieldValue(f);(!r.skipExist||h===void 0)&&n.updateStore(Un(n.store,f,ie(y)[0].value))}}}})},s;r.entities?s=r.entities:r.namePathList?(s=[],r.namePathList.forEach(function(l){var c=o.get(l);if(c){var u;(u=s).push.apply(u,ie(ie(c).map(function(d){return d.entity})))}})):s=i,a(s)},this.resetFields=function(r){n.warningUnhooked();var o=n.store;if(!r){n.updateStore(Vi(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(o,null,{type:"reset"}),n.notifyWatch();return}var i=r.map(rt);i.forEach(function(a){var s=n.getInitialValue(a);n.updateStore(Un(n.store,a,s))}),n.resetWithFieldInitialValue({namePathList:i}),n.notifyObservers(o,i,{type:"reset"}),n.notifyWatch(i)},this.setFields=function(r){n.warningUnhooked();var o=n.store,i=[];r.forEach(function(a){var s=a.name,l=Zn(a,FN),c=rt(s);i.push(c),"value"in l&&n.updateStore(Un(n.store,c,l.value)),n.notifyObservers(o,[c],{type:"setField",data:a})}),n.notifyWatch(i)},this.getFields=function(){var r=n.getFieldEntities(!0),o=r.map(function(i){var a=i.getNamePath(),s=i.getMeta(),l=G(G({},s),{},{name:a,value:n.getFieldValue(a)});return Object.defineProperty(l,"originRCField",{value:!0}),l});return o},this.initEntityValue=function(r){var o=r.props.initialValue;if(o!==void 0){var i=r.getNamePath(),a=qn(n.store,i);a===void 0&&n.updateStore(Un(n.store,i,o))}},this.isMergedPreserve=function(r){var o=r!==void 0?r:n.preserve;return o??!0},this.registerField=function(r){n.fieldEntities.push(r);var o=r.getNamePath();if(n.notifyWatch([o]),r.props.initialValue!==void 0){var i=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(i,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(a,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(d){return d!==r}),!n.isMergedPreserve(s)&&(!a||l.length>1)){var c=a?void 0:n.getInitialValue(o);if(o.length&&n.getFieldValue(o)!==c&&n.fieldEntities.every(function(d){return!qE(d.getNamePath(),o)})){var u=n.store;n.updateStore(Un(u,o,c,!0)),n.notifyObservers(u,[o],{type:"remove"}),n.triggerDependenciesUpdate(u,o)}}n.notifyWatch([o])}},this.dispatch=function(r){switch(r.type){case"updateValue":{var o=r.namePath,i=r.value;n.updateValue(o,i);break}case"validateField":{var a=r.namePath,s=r.triggerName;n.validateFields([a],{triggerName:s});break}}},this.notifyObservers=function(r,o,i){if(n.subscribable){var a=G(G({},i),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(s){var l=s.onStoreChange;l(r,o,a)})}else n.forceRootUpdate()},this.triggerDependenciesUpdate=function(r,o){var i=n.getDependencyChildrenFields(o);return i.length&&n.validateFields(i),n.notifyObservers(r,i,{type:"dependenciesUpdate",relatedFields:[o].concat(ie(i))}),i},this.updateValue=function(r,o){var i=rt(r),a=n.store;n.updateStore(Un(n.store,i,o)),n.notifyObservers(a,[i],{type:"valueUpdate",source:"internal"}),n.notifyWatch([i]);var s=n.triggerDependenciesUpdate(a,i),l=n.callbacks.onValuesChange;if(l){var c=Pb(n.store,[i]);l(c,n.getFieldsValue())}n.triggerOnFieldsChange([i].concat(ie(s)))},this.setFieldsValue=function(r){n.warningUnhooked();var o=n.store;if(r){var i=Vi(n.store,r);n.updateStore(i)}n.notifyObservers(o,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()},this.setFieldValue=function(r,o){n.setFields([{name:r,value:o}])},this.getDependencyChildrenFields=function(r){var o=new Set,i=[],a=new Ei;n.getFieldEntities().forEach(function(l){var c=l.props.dependencies;(c||[]).forEach(function(u){var d=rt(u);a.update(d,function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return f.add(l),f})})});var s=function l(c){var u=a.get(c)||new Set;u.forEach(function(d){if(!o.has(d)){o.add(d);var f=d.getNamePath();d.isFieldDirty()&&f.length&&(i.push(f),l(f))}})};return s(r),i},this.triggerOnFieldsChange=function(r,o){var i=n.callbacks.onFieldsChange;if(i){var a=n.getFields();if(o){var s=new Ei;o.forEach(function(c){var u=c.name,d=c.errors;s.set(u,d)}),a.forEach(function(c){c.errors=s.get(c.name)||c.errors})}var l=a.filter(function(c){var u=c.name;return As(r,u)});l.length&&i(l,a)}},this.validateFields=function(r,o){n.warningUnhooked();var i,a;Array.isArray(r)||typeof r=="string"||typeof o=="string"?(i=r,a=o):a=r;var s=!!i,l=s?i.map(rt):[],c=[],u=String(Date.now()),d=new Set;n.getFieldEntities(!0).forEach(function(h){var x;if(s||l.push(h.getNamePath()),!((x=a)===null||x===void 0)&&x.recursive&&s){var p=h.getNamePath();p.every(function(w,S){return i[S]===w||i[S]===void 0})&&l.push(p)}if(!(!h.props.rules||!h.props.rules.length)){var m=h.getNamePath();if(d.add(m.join(u)),!s||As(l,m)){var v=h.validateRules(G({validateMessages:G(G({},KE),n.validateMessages)},a));c.push(v.then(function(){return{name:m,errors:[],warnings:[]}}).catch(function(w){var S,C=[],E=[];return(S=w.forEach)===null||S===void 0||S.call(w,function(P){var M=P.rule.warningOnly,k=P.errors;M?E.push.apply(E,ie(k)):C.push.apply(C,ie(k))}),C.length?Promise.reject({name:m,errors:C,warnings:E}):{name:m,errors:C,warnings:E}}))}}});var f=jN(c);n.lastValidatePromise=f,f.catch(function(h){return h}).then(function(h){var x=h.map(function(p){var m=p.name;return m});n.notifyObservers(n.store,x,{type:"validateFinish"}),n.triggerOnFieldsChange(x,h)});var g=f.then(function(){return n.lastValidatePromise===f?Promise.resolve(n.getFieldsValue(l)):Promise.reject([])}).catch(function(h){var x=h.filter(function(p){return p&&p.errors.length});return Promise.reject({values:n.getFieldsValue(l),errorFields:x,outOfDate:n.lastValidatePromise!==f})});g.catch(function(h){return h});var y=l.filter(function(h){return d.has(h.join(u))});return n.triggerOnFieldsChange(y),g},this.submit=function(){n.warningUnhooked(),n.validateFields().then(function(r){var o=n.callbacks.onFinish;if(o)try{o(r)}catch(i){console.error(i)}}).catch(function(r){var o=n.callbacks.onFinishFailed;o&&o(r)})},this.forceRootUpdate=t});function QE(e){var t=b.useRef(),n=b.useState({}),r=de(n,2),o=r[1];if(!t.current)if(e)t.current=e;else{var i=function(){o({})},a=new NN(i);t.current=a.getForm()}return[t.current]}var Tm=b.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),LN=function(t){var n=t.validateMessages,r=t.onFormChange,o=t.onFormFinish,i=t.children,a=b.useContext(Tm),s=b.useRef({});return b.createElement(Tm.Provider,{value:G(G({},a),{},{validateMessages:G(G({},a.validateMessages),n),triggerFormChange:function(c,u){r&&r(c,{changedFields:u,forms:s.current}),a.triggerFormChange(c,u)},triggerFormFinish:function(c,u){o&&o(c,{values:u,forms:s.current}),a.triggerFormFinish(c,u)},registerForm:function(c,u){c&&(s.current=G(G({},s.current),{},oe({},c,u))),a.registerForm(c,u)},unregisterForm:function(c){var u=G({},s.current);delete u[c],s.current=u,a.unregisterForm(c)}})},i)},zN=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],BN=function(t,n){var r=t.name,o=t.initialValues,i=t.fields,a=t.form,s=t.preserve,l=t.children,c=t.component,u=c===void 0?"form":c,d=t.validateMessages,f=t.validateTrigger,g=f===void 0?"onChange":f,y=t.onValuesChange,h=t.onFieldsChange,x=t.onFinish,p=t.onFinishFailed,m=Zn(t,zN),v=b.useContext(Tm),w=QE(a),S=de(w,1),C=S[0],E=C.getInternalHooks(Wo),P=E.useSubscribe,M=E.setInitialValues,k=E.setCallbacks,I=E.setValidateMessages,O=E.setPreserve,T=E.destroyForm;b.useImperativeHandle(n,function(){return C}),b.useEffect(function(){return v.registerForm(r,C),function(){v.unregisterForm(r)}},[v,C,r]),I(G(G({},v.validateMessages),d)),k({onValuesChange:y,onFieldsChange:function(B){if(v.triggerFormChange(r,B),h){for(var U=arguments.length,W=new Array(U>1?U-1:0),Y=1;Y{let{children:t,status:n,override:r}=e;const o=b.useContext(Ca),i=b.useMemo(()=>{const a=Object.assign({},o);return r&&delete a.isFormItemInput,n&&(delete a.status,delete a.hasFeedback,delete a.feedbackIcon),a},[n,r,o]);return b.createElement(Ca.Provider,{value:i},t)};function Is(e,t,n){return we({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const JE=(e,t)=>t||e,WN=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Dv=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),Om=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),ZE=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},Dv(Ar(e,{inputBorderHoverColor:e.colorBorder})))}),eC=e=>{const{inputPaddingVerticalLG:t,fontSizeLG:n,lineHeightLG:r,borderRadiusLG:o,inputPaddingHorizontalLG:i}=e;return{padding:`${t}px ${i}px`,fontSize:n,lineHeight:r,borderRadius:o}},tC=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),nC=(e,t)=>{const{componentCls:n,colorError:r,colorWarning:o,colorErrorOutline:i,colorWarningOutline:a,colorErrorBorderHover:s,colorWarningBorderHover:l}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:s},"&:focus, &-focused":Object.assign({},Om(Ar(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:i}))),[`${n}-prefix, ${n}-suffix`]:{color:r}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:o,"&:hover":{borderColor:l},"&:focus, &-focused":Object.assign({},Om(Ar(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:a}))),[`${n}-prefix, ${n}-suffix`]:{color:o}}}},rC=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},WN(e.colorTextPlaceholder)),{"&:hover":Object.assign({},Dv(e)),"&:focus, &-focused":Object.assign({},Om(e)),"&-disabled, &[disabled]":Object.assign({},ZE(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},eC(e)),"&-sm":Object.assign({},tC(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),VN=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},eC(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},tC(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${n}-select-single:not(${n}-select-customize-input)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},$M()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` + & > ${t}-affix-wrapper, + & > ${t}-number-affix-wrapper, + & > ${n}-picker-range + `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, + & > ${n}-select-auto-complete ${t}, + & > ${n}-cascader-picker ${t}, + & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${n}-select:first-child > ${n}-select-selector, + & > ${n}-select-auto-complete:first-child ${t}, + & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, + & > ${n}-select:last-child > ${n}-select-selector, + & > ${n}-cascader-picker:last-child ${t}, + & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},UN=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r}=e,o=16,i=(n-r*2-o)/2;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},xE(e)),rC(e)),nC(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},GN=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}}}},KN=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},rC(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},Dv(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),GN(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),nC(e,`${t}-affix-wrapper`))}},qN=e=>{const{componentCls:t,colorError:n,colorWarning:r,borderRadiusLG:o,borderRadiusSM:i}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},xE(e)),VN(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:o}},"&-sm":{[`${t}-group-addon`]:{borderRadius:i}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon`]:{color:r,borderColor:r}},"&-disabled":{[`${t}-group-addon`]:Object.assign({},ZE(e))},[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},YN=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, + > ${t}, + ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}};function XN(e){return Ar(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}const QN=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:-e.fontSize*e.lineHeight,insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.inputPaddingHorizontal,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},Hv=Av("Input",e=>{const t=XN(e);return[UN(t),QN(t),KN(t),qN(t),YN(t),WE(t)]});function Ci(e){return!!(e.addonBefore||e.addonAfter)}function Cp(e){return!!(e.prefix||e.suffix||e.allowClear)}function Ms(e,t,n,r){if(n){var o=t;if(t.type==="click"){var i=e.cloneNode(!0);o=Object.create(t,{target:{value:i},currentTarget:{value:i}}),i.value="",n(o);return}if(r!==void 0){o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,n(o);return}n(o)}}function JN(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var o=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}}function Am(e){return typeof e>"u"||e===null?"":String(e)}var oC=function(t){var n,r,o=t.inputElement,i=t.prefixCls,a=t.prefix,s=t.suffix,l=t.addonBefore,c=t.addonAfter,u=t.className,d=t.style,f=t.disabled,g=t.readOnly,y=t.focused,h=t.triggerFocus,x=t.allowClear,p=t.value,m=t.handleReset,v=t.hidden,w=t.classes,S=t.classNames,C=t.dataAttrs,E=t.styles,P=t.components,M=(P==null?void 0:P.affixWrapper)||"span",k=(P==null?void 0:P.groupWrapper)||"span",I=(P==null?void 0:P.wrapper)||"span",O=(P==null?void 0:P.groupAddon)||"span",T=b.useRef(null),_=function(X){var Q;(Q=T.current)!==null&&Q!==void 0&&Q.contains(X.target)&&(h==null||h())},$=function(){var X;if(!x)return null;var Q=!f&&!g&&p,ne="".concat(i,"-clear-icon"),J=Ae(x)==="object"&&x!==null&&x!==void 0&&x.clearIcon?x.clearIcon:"✖";return R.createElement("span",{onClick:m,onMouseDown:function(Re){return Re.preventDefault()},className:we(ne,(X={},oe(X,"".concat(ne,"-hidden"),!Q),oe(X,"".concat(ne,"-has-suffix"),!!s),X)),role:"button",tabIndex:-1},J)},A=b.cloneElement(o,{value:p,hidden:v,className:we((n=o.props)===null||n===void 0?void 0:n.className,!Cp(t)&&!Ci(t)&&u)||null,style:G(G({},(r=o.props)===null||r===void 0?void 0:r.style),!Cp(t)&&!Ci(t)?d:{})});if(Cp(t)){var N,j="".concat(i,"-affix-wrapper"),L=we(j,(N={},oe(N,"".concat(j,"-disabled"),f),oe(N,"".concat(j,"-focused"),y),oe(N,"".concat(j,"-readonly"),g),oe(N,"".concat(j,"-input-with-clear-btn"),s&&x&&p),N),!Ci(t)&&u,w==null?void 0:w.affixWrapper,S==null?void 0:S.affixWrapper),z=(s||x)&&R.createElement("span",{className:we("".concat(i,"-suffix"),S==null?void 0:S.suffix),style:E==null?void 0:E.suffix},$(),s);A=R.createElement(M,F({className:L,style:Ci(t)?void 0:d,hidden:!Ci(t)&&v,onClick:_},C==null?void 0:C.affixWrapper,{ref:T}),a&&R.createElement("span",{className:we("".concat(i,"-prefix"),S==null?void 0:S.prefix),style:E==null?void 0:E.prefix},a),b.cloneElement(o,{value:p,hidden:null}),z)}if(Ci(t)){var D="".concat(i,"-group"),B="".concat(D,"-addon"),U=we("".concat(i,"-wrapper"),D,w==null?void 0:w.wrapper),W=we("".concat(i,"-group-wrapper"),u,w==null?void 0:w.group);return R.createElement(k,{className:W,style:d,hidden:v},R.createElement(I,{className:U},l&&R.createElement(O,{className:B},l),b.cloneElement(A,{hidden:null}),c&&R.createElement(O,{className:B},c)))}return A},ZN=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],eL=b.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,o=e.onFocus,i=e.onBlur,a=e.onPressEnter,s=e.onKeyDown,l=e.prefixCls,c=l===void 0?"rc-input":l,u=e.disabled,d=e.htmlSize,f=e.className,g=e.maxLength,y=e.suffix,h=e.showCount,x=e.type,p=x===void 0?"text":x,m=e.classes,v=e.classNames,w=e.styles,S=Zn(e,ZN),C=Ov(e.defaultValue,{value:e.value}),E=de(C,2),P=E[0],M=E[1],k=b.useState(!1),I=de(k,2),O=I[0],T=I[1],_=b.useRef(null),$=function(W){_.current&&JN(_.current,W)};b.useImperativeHandle(t,function(){return{focus:$,blur:function(){var W;(W=_.current)===null||W===void 0||W.blur()},setSelectionRange:function(W,Y,X){var Q;(Q=_.current)===null||Q===void 0||Q.setSelectionRange(W,Y,X)},select:function(){var W;(W=_.current)===null||W===void 0||W.select()},input:_.current}}),b.useEffect(function(){T(function(U){return U&&u?!1:U})},[u]);var A=function(W){e.value===void 0&&M(W.target.value),_.current&&Ms(_.current,W,r)},N=function(W){a&&W.key==="Enter"&&a(W),s==null||s(W)},j=function(W){T(!0),o==null||o(W)},L=function(W){T(!1),i==null||i(W)},z=function(W){M(""),$(),_.current&&Ms(_.current,W,r)},D=function(){var W=Ev(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return R.createElement("input",F({autoComplete:n},W,{onChange:A,onFocus:j,onBlur:L,onKeyDown:N,className:we(c,oe({},"".concat(c,"-disabled"),u),v==null?void 0:v.input),style:w==null?void 0:w.input,ref:_,size:d,type:p}))},B=function(){var W=Number(g)>0;if(y||h){var Y=Am(P),X=ie(Y).length,Q=Ae(h)==="object"?h.formatter({value:Y,count:X,maxLength:g}):"".concat(X).concat(W?" / ".concat(g):"");return R.createElement(R.Fragment,null,!!h&&R.createElement("span",{className:we("".concat(c,"-show-count-suffix"),oe({},"".concat(c,"-show-count-has-suffix"),!!y),v==null?void 0:v.count),style:G({},w==null?void 0:w.count)},Q),y)}return null};return R.createElement(oC,F({},S,{prefixCls:c,className:f,inputElement:D(),handleReset:z,value:Am(P),focused:O,triggerFocus:$,suffix:B(),disabled:u,classes:m,classNames:v,styles:w}))});const tL=e=>{const{getPrefixCls:t,direction:n}=b.useContext(Ln),{prefixCls:r,className:o}=e,i=t("input-group",r),a=t("input"),[s,l]=Hv(a),c=we(i,{[`${i}-lg`]:e.size==="large",[`${i}-sm`]:e.size==="small",[`${i}-compact`]:e.compact,[`${i}-rtl`]:n==="rtl"},l,o),u=b.useContext(Ca),d=b.useMemo(()=>Object.assign(Object.assign({},u),{isFormItemInput:!1}),[u]);return s(b.createElement("span",{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},b.createElement(Ca.Provider,{value:d},e.children)))},nL=tL;function iC(e,t){const n=b.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var o,i,a,s;!((o=e.current)===null||o===void 0)&&o.input&&((i=e.current)===null||i===void 0?void 0:i.input.getAttribute("type"))==="password"&&(!((a=e.current)===null||a===void 0)&&a.input.hasAttribute("value"))&&((s=e.current)===null||s===void 0||s.input.removeAttribute("value"))}))};return b.useEffect(()=>(t&&r(),()=>n.current.forEach(o=>{o&&clearTimeout(o)})),[]),r}function rL(e){return!!(e.prefix||e.suffix||e.allowClear)}var oL=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n;const{prefixCls:r,bordered:o=!0,status:i,size:a,disabled:s,onBlur:l,onFocus:c,suffix:u,allowClear:d,addonAfter:f,addonBefore:g,className:y,style:h,styles:x,rootClassName:p,onChange:m,classNames:v}=e,w=oL(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:S,direction:C,input:E}=R.useContext(Ln),P=S("input",r),M=b.useRef(null),[k,I]=Hv(P),{compactSize:O,compactItemClassnames:T}=Fv(P,C),_=of(J=>{var pe;return(pe=a??O)!==null&&pe!==void 0?pe:J}),$=R.useContext(Zd),A=s??$,{status:N,hasFeedback:j,feedbackIcon:L}=b.useContext(Ca),z=JE(N,i),D=rL(e)||!!j,B=b.useRef(D);b.useEffect(()=>{D&&B.current,B.current=D},[D]);const U=iC(M,!0),W=J=>{U(),l==null||l(J)},Y=J=>{U(),c==null||c(J)},X=J=>{U(),m==null||m(J)},Q=(j||u)&&R.createElement(R.Fragment,null,u,j&&L);let ne;return typeof d=="object"&&(d!=null&&d.clearIcon)?ne=d:d&&(ne={clearIcon:R.createElement(LE,null)}),k(R.createElement(eL,Object.assign({ref:Ma(t,M),prefixCls:P,autoComplete:E==null?void 0:E.autoComplete},w,{disabled:A,onBlur:W,onFocus:Y,style:Object.assign(Object.assign({},E==null?void 0:E.style),h),styles:Object.assign(Object.assign({},E==null?void 0:E.styles),x),suffix:Q,allowClear:ne,className:we(y,p,T,E==null?void 0:E.className),onChange:X,addonAfter:f&&R.createElement(vb,null,R.createElement(Ab,{override:!0,status:!0},f)),addonBefore:g&&R.createElement(vb,null,R.createElement(Ab,{override:!0,status:!0},g)),classNames:Object.assign(Object.assign(Object.assign({},v),E==null?void 0:E.classNames),{input:we({[`${P}-sm`]:_==="small",[`${P}-lg`]:_==="large",[`${P}-rtl`]:C==="rtl",[`${P}-borderless`]:!o},!D&&Is(P,z),v==null?void 0:v.input,(n=E==null?void 0:E.classNames)===null||n===void 0?void 0:n.input,I)}),classes:{affixWrapper:we({[`${P}-affix-wrapper-sm`]:_==="small",[`${P}-affix-wrapper-lg`]:_==="large",[`${P}-affix-wrapper-rtl`]:C==="rtl",[`${P}-affix-wrapper-borderless`]:!o},Is(`${P}-affix-wrapper`,z,j),I),wrapper:we({[`${P}-group-rtl`]:C==="rtl"},I),group:we({[`${P}-group-wrapper-sm`]:_==="small",[`${P}-group-wrapper-lg`]:_==="large",[`${P}-group-wrapper-rtl`]:C==="rtl",[`${P}-group-wrapper-disabled`]:A},Is(`${P}-group-wrapper`,z,j),I)}})))}),Wv=aL;var sL=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);oe?b.createElement(WF,null):b.createElement(zF,null),cL={click:"onClick",hover:"onMouseOver"},uL=b.forwardRef((e,t)=>{const{visibilityToggle:n=!0}=e,r=typeof n=="object"&&n.visible!==void 0,[o,i]=b.useState(()=>r?n.visible:!1),a=b.useRef(null);b.useEffect(()=>{r&&i(n.visible)},[r,n]);const s=iC(a),l=()=>{const{disabled:S}=e;S||(o&&s(),i(C=>{var E;const P=!C;return typeof n=="object"&&((E=n.onVisibleChange)===null||E===void 0||E.call(n,P)),P}))},c=S=>{const{action:C="click",iconRender:E=lL}=e,P=cL[C]||"",M=E(o),k={[P]:l,className:`${S}-icon`,key:"passwordIcon",onMouseDown:I=>{I.preventDefault()},onMouseUp:I=>{I.preventDefault()}};return b.cloneElement(b.isValidElement(M)?M:b.createElement("span",null,M),k)},{className:u,prefixCls:d,inputPrefixCls:f,size:g}=e,y=sL(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:h}=b.useContext(Ln),x=h("input",f),p=h("input-password",d),m=n&&c(p),v=we(p,u,{[`${p}-${g}`]:!!g}),w=Object.assign(Object.assign({},Ev(y,["suffix","iconRender","visibilityToggle"])),{type:o?"text":"password",className:v,prefixCls:x,suffix:m});return g&&(w.size=g),b.createElement(Wv,Object.assign({ref:Ma(t,a)},w))}),dL=uL;var fL=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,inputPrefixCls:r,className:o,size:i,suffix:a,enterButton:s=!1,addonAfter:l,loading:c,disabled:u,onSearch:d,onChange:f,onCompositionStart:g,onCompositionEnd:y}=e,h=fL(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:x,direction:p}=b.useContext(Ln),m=b.useRef(!1),v=x("input-search",n),w=x("input",r),{compactSize:S}=Fv(v,p),C=of(z=>{var D;return(D=i??S)!==null&&D!==void 0?D:z}),E=b.useRef(null),P=z=>{z&&z.target&&z.type==="click"&&d&&d(z.target.value,z),f&&f(z)},M=z=>{var D;document.activeElement===((D=E.current)===null||D===void 0?void 0:D.input)&&z.preventDefault()},k=z=>{var D,B;d&&d((B=(D=E.current)===null||D===void 0?void 0:D.input)===null||B===void 0?void 0:B.value,z)},I=z=>{m.current||c||k(z)},O=typeof s=="boolean"?b.createElement(KF,null):null,T=`${v}-button`;let _;const $=s||{},A=$.type&&$.type.__ANT_BUTTON===!0;A||$.type==="button"?_=Tu($,Object.assign({onMouseDown:M,onClick:z=>{var D,B;(B=(D=$==null?void 0:$.props)===null||D===void 0?void 0:D.onClick)===null||B===void 0||B.call(D,z),k(z)},key:"enterButton"},A?{className:T,size:C}:{})):_=b.createElement(jF,{className:T,type:s?"primary":void 0,size:C,disabled:u,key:"enterButton",onMouseDown:M,onClick:k,loading:c,icon:O},s),l&&(_=[_,Tu(l,{key:"addonAfter"})]);const N=we(v,{[`${v}-rtl`]:p==="rtl",[`${v}-${C}`]:!!C,[`${v}-with-button`]:!!s},o),j=z=>{m.current=!0,g==null||g(z)},L=z=>{m.current=!1,y==null||y(z)};return b.createElement(Wv,Object.assign({ref:Ma(E,t),onPressEnter:I},h,{size:C,onCompositionStart:j,onCompositionEnd:L,prefixCls:w,addonAfter:_,suffix:a,onChange:P,className:N,disabled:u}))}),hL=pL;var mL=` + min-height:0 !important; + max-height:none !important; + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; + pointer-events: none !important; +`,gL=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],_p={},_n;function vL(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&_p[n])return _p[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=gL.map(function(c){return"".concat(c,":").concat(r.getPropertyValue(c))}).join(";"),l={sizingStyle:s,paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(_p[n]=l),l}function yL(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;_n||(_n=document.createElement("textarea"),_n.setAttribute("tab-index","-1"),_n.setAttribute("aria-hidden","true"),document.body.appendChild(_n)),e.getAttribute("wrap")?_n.setAttribute("wrap",e.getAttribute("wrap")):_n.removeAttribute("wrap");var o=vL(e,t),i=o.paddingSize,a=o.borderSize,s=o.boxSizing,l=o.sizingStyle;_n.setAttribute("style","".concat(l,";").concat(mL)),_n.value=e.value||e.placeholder||"";var c=void 0,u=void 0,d,f=_n.scrollHeight;if(s==="border-box"?f+=a:s==="content-box"&&(f-=i),n!==null||r!==null){_n.value=" ";var g=_n.scrollHeight-i;n!==null&&(c=g*n,s==="border-box"&&(c=c+i+a),f=Math.max(c,f)),r!==null&&(u=g*r,s==="border-box"&&(u=u+i+a),d=f>u?"":"hidden",f=Math.min(u,f))}var y={height:f,overflowY:d,resize:"none"};return c&&(y.minHeight=c),u&&(y.maxHeight=u),y}var bL=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],$p=0,kp=1,Pp=2,wL=b.forwardRef(function(e,t){var n=e,r=n.prefixCls;n.onPressEnter;var o=n.defaultValue,i=n.value,a=n.autoSize,s=n.onResize,l=n.className,c=n.style,u=n.disabled,d=n.onChange;n.onInternalAutoSize;var f=Zn(n,bL),g=Ov(o,{value:i,postState:function(W){return W??""}}),y=de(g,2),h=y[0],x=y[1],p=function(W){x(W.target.value),d==null||d(W)},m=b.useRef();b.useImperativeHandle(t,function(){return{textArea:m.current}});var v=b.useMemo(function(){return a&&Ae(a)==="object"?[a.minRows,a.maxRows]:[]},[a]),w=de(v,2),S=w[0],C=w[1],E=!!a,P=function(){try{if(document.activeElement===m.current){var W=m.current,Y=W.selectionStart,X=W.selectionEnd,Q=W.scrollTop;m.current.setSelectionRange(Y,X),m.current.scrollTop=Q}}catch{}},M=b.useState(Pp),k=de(M,2),I=k[0],O=k[1],T=b.useState(),_=de(T,2),$=_[0],A=_[1],N=function(){O($p)};Ru(function(){E&&N()},[i,S,C,E]),Ru(function(){if(I===$p)O(kp);else if(I===kp){var U=yL(m.current,!1,S,C);O(Pp),A(U)}else P()},[I]);var j=b.useRef(),L=function(){oi.cancel(j.current)},z=function(W){I===Pp&&(s==null||s(W),a&&(L(),j.current=oi(function(){N()})))};b.useEffect(function(){return L},[]);var D=E?$:null,B=G(G({},c),D);return(I===$p||I===kp)&&(B.overflowY="hidden",B.overflowX="hidden"),b.createElement(qS,{onResize:z,disabled:!(a||s)},b.createElement("textarea",F({},f,{ref:m,style:B,className:we(r,l,oe({},"".concat(r,"-disabled"),u)),disabled:u,value:h,onChange:p})))}),xL=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function aC(e,t){return ie(e||"").slice(0,t).join("")}function Ib(e,t,n,r){var o=n;return e?o=aC(n,r):ie(t||"").lengthr&&(o=t),o}var SL=R.forwardRef(function(e,t){var n,r=e.defaultValue,o=e.value,i=e.onFocus,a=e.onBlur,s=e.onChange,l=e.allowClear,c=e.maxLength,u=e.onCompositionStart,d=e.onCompositionEnd,f=e.suffix,g=e.prefixCls,y=g===void 0?"rc-textarea":g,h=e.classes,x=e.showCount,p=e.className,m=e.style,v=e.disabled,w=e.hidden,S=e.classNames,C=e.styles,E=e.onResize,P=Zn(e,xL),M=Ov(r,{value:o,defaultValue:r}),k=de(M,2),I=k[0],O=k[1],T=b.useRef(null),_=R.useState(!1),$=de(_,2),A=$[0],N=$[1],j=R.useState(!1),L=de(j,2),z=L[0],D=L[1],B=R.useRef(),U=R.useRef(0),W=R.useState(null),Y=de(W,2),X=Y[0],Q=Y[1],ne=function(){T.current.textArea.focus()};b.useImperativeHandle(t,function(){return{resizableTextArea:T.current,focus:ne,blur:function(){T.current.textArea.blur()}}}),b.useEffect(function(){N(function(ce){return!v&&ce})},[v]);var J=Number(c)>0,pe=function(ae){D(!0),B.current=I,U.current=ae.currentTarget.selectionStart,u==null||u(ae)},Re=function(ae){D(!1);var Te=ae.currentTarget.value;if(J){var Ke,Sn=U.current>=c+1||U.current===((Ke=B.current)===null||Ke===void 0?void 0:Ke.length);Te=Ib(Sn,B.current,Te,c)}Te!==I&&(O(Te),Ms(ae.currentTarget,ae,s,Te)),d==null||d(ae)},le=function(ae){var Te=ae.target.value;if(!z&&J){var Ke=ae.target.selectionStart>=c+1||ae.target.selectionStart===Te.length||!ae.target.selectionStart;Te=Ib(Ke,I,Te,c)}O(Te),Ms(ae.currentTarget,ae,s,Te)},be=function(ae){var Te=P.onPressEnter,Ke=P.onKeyDown;ae.key==="Enter"&&Te&&Te(ae),Ke==null||Ke(ae)},Ce=function(ae){N(!0),i==null||i(ae)},xe=function(ae){N(!1),a==null||a(ae)},He=function(ae){O(""),ne(),Ms(T.current.textArea,ae,s)},re=Am(I);!z&&J&&o==null&&(re=aC(re,c));var We=f,he;if(x){var Z=ie(re).length;Ae(x)==="object"?he=x.formatter({value:re,count:Z,maxLength:c}):he="".concat(Z).concat(J?" / ".concat(c):""),We=R.createElement(R.Fragment,null,We,R.createElement("span",{className:we("".concat(y,"-data-count"),S==null?void 0:S.count),style:C==null?void 0:C.count},he))}var te=function(ae){E==null||E(ae),T.current.textArea.style.height&&Q(!0)},_e=R.createElement(oC,{value:re,allowClear:l,handleReset:He,suffix:We,prefixCls:y,classes:{affixWrapper:we(h==null?void 0:h.affixWrapper,(n={},oe(n,"".concat(y,"-show-count"),x),oe(n,"".concat(y,"-textarea-allow-clear"),l),n))},disabled:v,focused:A,className:p,style:G(G({},m),X?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof he=="string"?he:void 0}},hidden:w,inputElement:R.createElement(wL,F({},P,{onKeyDown:be,onChange:le,onFocus:Ce,onBlur:xe,onCompositionStart:pe,onCompositionEnd:Re,className:S==null?void 0:S.textarea,style:G(G({},C==null?void 0:C.textarea),{},{resize:m==null?void 0:m.resize}),disabled:v,prefixCls:y,onResize:te,ref:T}))});return _e}),EL=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,bordered:r=!0,size:o,disabled:i,status:a,allowClear:s,showCount:l,classNames:c}=e,u=EL(e,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames"]),{getPrefixCls:d,direction:f}=b.useContext(Ln),g=of(o),y=b.useContext(Zd),h=i??y,{status:x,hasFeedback:p,feedbackIcon:m}=b.useContext(Ca),v=JE(x,a),w=b.useRef(null);b.useImperativeHandle(t,()=>{var M;return{resizableTextArea:(M=w.current)===null||M===void 0?void 0:M.resizableTextArea,focus:k=>{var I,O;iL((O=(I=w.current)===null||I===void 0?void 0:I.resizableTextArea)===null||O===void 0?void 0:O.textArea,k)},blur:()=>{var k;return(k=w.current)===null||k===void 0?void 0:k.blur()}}});const S=d("input",n);let C;typeof s=="object"&&(s!=null&&s.clearIcon)?C=s:s&&(C={clearIcon:b.createElement(LE,null)});const[E,P]=Hv(S);return E(b.createElement(SL,Object.assign({},u,{disabled:h,allowClear:C,classes:{affixWrapper:we(`${S}-textarea-affix-wrapper`,{[`${S}-affix-wrapper-rtl`]:f==="rtl",[`${S}-affix-wrapper-borderless`]:!r,[`${S}-affix-wrapper-sm`]:g==="small",[`${S}-affix-wrapper-lg`]:g==="large",[`${S}-textarea-show-count`]:l},Is(`${S}-affix-wrapper`,v),P)},classNames:Object.assign(Object.assign({},c),{textarea:we({[`${S}-borderless`]:!r,[`${S}-sm`]:g==="small",[`${S}-lg`]:g==="large"},Is(S,v),P,c==null?void 0:c.textarea)}),prefixCls:S,suffix:p&&b.createElement("span",{className:`${S}-textarea-suffix`},m),showCount:l,ref:w})))}),_L=CL,Ol=Wv;Ol.Group=nL;Ol.Search=hL;Ol.TextArea=_L;Ol.Password=dL;const $L=Ol,{Search:kL}=$L,PL=()=>H.jsx(H.Fragment,{children:H.jsx(kL,{placeholder:"input search text",enterButton:"Search",size:"large",loading:!0})}),Rp=L$("https://cyfpjgfjgocvjoqdblbp.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImN5ZnBqZ2ZqZ29jdmpvcWRibGJwIiwicm9sZSI6ImFub24iLCJpYXQiOjE2ODg0OTIzNTIsImV4cCI6MjAwNDA2ODM1Mn0.3hq1S-yAh1Uq2K5lBbYJSvvmvGlg8NHd0kq7P-rlwQs"),RL=wl.div` + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + height: 100vh; + gap: 1rem; +`,TL=wl.div` + box-sizing: border-box; + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-between; + height: 100vh; + width: 100vw; + gap: 1rem; +`,OL=wl.div` +width:95vw; +padding: 1rem; +`;function AL(){const[e,t]=b.useState(null);return b.useState(!1),b.useEffect(()=>{Rp.auth.getSession().then(({data:{session:r}})=>{t(r)});const{data:{subscription:n}}=Rp.auth.onAuthStateChange((r,o)=>{t(o)});return()=>n.unsubscribe()},[]),e?H.jsx(H.Fragment,{children:H.jsxs(TL,{children:[H.jsx(fI,{}),H.jsx(OL,{children:H.jsx(PL,{})})]})}):H.jsx(H.Fragment,{children:H.jsxs(RL,{children:[H.jsx(_S,{sx:{fontSize:100}}),H.jsx(Oa,{supabaseClient:Rp,appearance:{theme:p5},providers:["google","github"]})]})})}const IL=wl.div` + width:100vw; + display: flex; + justify-content: center; + align-items: center; +`;Tp.createRoot(document.getElementById("root")).render(H.jsx(R.StrictMode,{children:H.jsx(IL,{children:H.jsx(AL,{})})})); diff --git a/blog-react/dist/assets/index-e9d2ffc8.js b/blog-react/dist/assets/index-e9d2ffc8.js deleted file mode 100644 index 7272e18..0000000 --- a/blog-react/dist/assets/index-e9d2ffc8.js +++ /dev/null @@ -1,294 +0,0 @@ -function u1(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var c1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function d1(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var o=Function.bind.apply(t,i);return new o}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var f1={exports:{}},Eu={},h1={exports:{}},ye={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Ea=Symbol.for("react.element"),h2=Symbol.for("react.portal"),p2=Symbol.for("react.fragment"),m2=Symbol.for("react.strict_mode"),g2=Symbol.for("react.profiler"),v2=Symbol.for("react.provider"),y2=Symbol.for("react.context"),w2=Symbol.for("react.forward_ref"),b2=Symbol.for("react.suspense"),S2=Symbol.for("react.memo"),_2=Symbol.for("react.lazy"),Ap=Symbol.iterator;function k2(e){return e===null||typeof e!="object"?null:(e=Ap&&e[Ap]||e["@@iterator"],typeof e=="function"?e:null)}var p1={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m1=Object.assign,g1={};function es(e,t,n){this.props=e,this.context=t,this.refs=g1,this.updater=n||p1}es.prototype.isReactComponent={};es.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};es.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function v1(){}v1.prototype=es.prototype;function Uf(e,t,n){this.props=e,this.context=t,this.refs=g1,this.updater=n||p1}var Hf=Uf.prototype=new v1;Hf.constructor=Uf;m1(Hf,es.prototype);Hf.isPureReactComponent=!0;var Rp=Array.isArray,y1=Object.prototype.hasOwnProperty,Wf={current:null},w1={key:!0,ref:!0,__self:!0,__source:!0};function b1(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)y1.call(t,r)&&!w1.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1>>1,he=j[ue];if(0>>1;uei(ot,X))Jei(Ue,ot)?(j[ue]=Ue,j[Je]=X,ue=Je):(j[ue]=ot,j[gt]=X,ue=gt);else if(Jei(Ue,X))j[ue]=Ue,j[Je]=X,ue=Je;else break e}}return D}function i(j,D){var X=j.sortIndex-D.sortIndex;return X!==0?X:j.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],c=[],u=1,f=null,d=3,p=!1,m=!1,y=!1,S=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(j){for(var D=n(c);D!==null;){if(D.callback===null)r(c);else if(D.startTime<=j)r(c),D.sortIndex=D.expirationTime,t(l,D);else break;D=n(c)}}function _(j){if(y=!1,w(j),!m)if(n(l)!==null)m=!0,H(O);else{var D=n(c);D!==null&&ee(_,D.startTime-j)}}function O(j,D){m=!1,y&&(y=!1,v(R),R=-1),p=!0;var X=d;try{for(w(D),f=n(l);f!==null&&(!(f.expirationTime>D)||j&&!K());){var ue=f.callback;if(typeof ue=="function"){f.callback=null,d=f.priorityLevel;var he=ue(f.expirationTime<=D);D=e.unstable_now(),typeof he=="function"?f.callback=he:f===n(l)&&r(l),w(D)}else r(l);f=n(l)}if(f!==null)var nt=!0;else{var gt=n(c);gt!==null&&ee(_,gt.startTime-D),nt=!1}return nt}finally{f=null,d=X,p=!1}}var T=!1,C=null,R=-1,q=5,z=-1;function K(){return!(e.unstable_now()-zj||125ue?(j.sortIndex=X,t(c,j),n(l)===null&&j===n(c)&&(y?(v(R),R=-1):y=!0,ee(_,X-ue))):(j.sortIndex=he,t(l,j),m||p||(m=!0,H(O))),j},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(j){var D=d;return function(){var X=d;d=D;try{return j.apply(this,arguments)}finally{d=X}}}})(x1);k1.exports=x1;var j2=k1.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var E1=B,pn=j2;function M(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Od=Object.prototype.hasOwnProperty,N2=/^[: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]*$/,jp={},Np={};function L2(e){return Od.call(Np,e)?!0:Od.call(jp,e)?!1:N2.test(e)?Np[e]=!0:(jp[e]=!0,!1)}function z2(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function M2(e,t,n,r){if(t===null||typeof t>"u"||z2(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Wt(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var Et={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Et[e]=new Wt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Et[t]=new Wt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Et[e]=new Wt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Et[e]=new Wt(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){Et[e]=new Wt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Et[e]=new Wt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Et[e]=new Wt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Et[e]=new Wt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Et[e]=new Wt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Gf=/[\-:]([a-z])/g;function qf(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Gf,qf);Et[t]=new Wt(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(Gf,qf);Et[t]=new Wt(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(Gf,qf);Et[t]=new Wt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Et[e]=new Wt(e,1,!1,e.toLowerCase(),null,!1,!1)});Et.xlinkHref=new Wt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Et[e]=new Wt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Kf(e,t,n,r){var i=Et.hasOwnProperty(t)?Et[t]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==o[a]){var l=` -`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Rc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?As(e):""}function D2(e){switch(e.tag){case 5:return As(e.type);case 16:return As("Lazy");case 13:return As("Suspense");case 19:return As("SuspenseList");case 0:case 2:case 15:return e=Ic(e.type,!1),e;case 11:return e=Ic(e.type.render,!1),e;case 1:return e=Ic(e.type,!0),e;default:return""}}function Ad(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case go:return"Fragment";case mo:return"Portal";case $d:return"Profiler";case Yf:return"StrictMode";case Td:return"Suspense";case Pd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case $1:return(e.displayName||"Context")+".Consumer";case O1:return(e._context.displayName||"Context")+".Provider";case Qf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Jf:return t=e.displayName||null,t!==null?t:Ad(e.type)||"Memo";case Mr:t=e._payload,e=e._init;try{return Ad(e(t))}catch{}}return null}function F2(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=t.render,e=e.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 Ad(t);case 8:return t===Yf?"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(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ti(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function P1(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function B2(e){var t=P1(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Za(e){e._valueTracker||(e._valueTracker=B2(e))}function A1(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=P1(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Rd(e,t){var n=t.checked;return Qe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function zp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ti(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function R1(e,t){t=t.checked,t!=null&&Kf(e,"checked",t,!1)}function Id(e,t){R1(e,t);var n=ti(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?jd(e,t.type,n):t.hasOwnProperty("defaultValue")&&jd(e,t.type,ti(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Mp(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function jd(e,t,n){(t!=="number"||Wl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Rs=Array.isArray;function To(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=el.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ea(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ds={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},U2=["Webkit","ms","Moz","O"];Object.keys(Ds).forEach(function(e){U2.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ds[t]=Ds[e]})});function L1(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ds.hasOwnProperty(e)&&Ds[e]?(""+t).trim():t+"px"}function z1(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=L1(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var H2=Qe({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 zd(e,t){if(t){if(H2[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function Md(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Dd=null;function Xf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Fd=null,Po=null,Ao=null;function Bp(e){if(e=$a(e)){if(typeof Fd!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Pu(t),Fd(e.stateNode,e.type,t))}}function M1(e){Po?Ao?Ao.push(e):Ao=[e]:Po=e}function D1(){if(Po){var e=Po,t=Ao;if(Ao=Po=null,Bp(e),t)for(e=0;e>>=0,e===0?32:31-(ew(e)/tw|0)|0}var tl=64,nl=4194304;function Is(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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Kl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=Is(a):(o&=s,o!==0&&(r=Is(o)))}else s=n&~i,s!==0?r=Is(s):o!==0&&(r=Is(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ca(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Dn(t),e[t]=n}function ow(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=Bs),Qp=String.fromCharCode(32),Jp=!1;function og(e,t){switch(e){case"keyup":return Iw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vo=!1;function Nw(e,t){switch(e){case"compositionend":return sg(t);case"keypress":return t.which!==32?null:(Jp=!0,Qp);case"textInput":return e=t.data,e===Qp&&Jp?null:e;default:return null}}function Lw(e,t){if(vo)return e==="compositionend"||!sh&&og(e,t)?(e=rg(),El=rh=Hr=null,vo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=t0(n)}}function cg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?cg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function dg(){for(var e=window,t=Wl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wl(e.document)}return t}function ah(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Vw(e){var t=dg(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&cg(n.ownerDocument.documentElement,n)){if(r!==null&&ah(n)){if(t=r.start,e=r.end,e===void 0&&(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,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=n0(n,o);var s=n0(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,yo=null,Gd=null,Hs=null,qd=!1;function r0(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;qd||yo==null||yo!==Wl(r)||(r=yo,"selectionStart"in r&&ah(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Hs&&sa(Hs,r)||(Hs=r,r=Jl(Gd,"onSelect"),0So||(e.current=Zd[So],Zd[So]=null,So--)}function ze(e,t){So++,Zd[So]=e.current,e.current=t}var ni={},jt=ii(ni),Xt=ii(!1),Ai=ni;function Do(e,t){var n=e.type.contextTypes;if(!n)return ni;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Zt(e){return e=e.childContextTypes,e!=null}function Zl(){Be(Xt),Be(jt)}function c0(e,t,n){if(jt.current!==ni)throw Error(M(168));ze(jt,t),ze(Xt,n)}function bg(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(M(108,F2(e)||"Unknown",i));return Qe({},n,r)}function eu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ni,Ai=jt.current,ze(jt,e),ze(Xt,Xt.current),!0}function d0(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=bg(e,t,Ai),r.__reactInternalMemoizedMergedChildContext=e,Be(Xt),Be(jt),ze(jt,e)):Be(Xt),ze(Xt,n)}var hr=null,Au=!1,qc=!1;function Sg(e){hr===null?hr=[e]:hr.push(e)}function r3(e){Au=!0,Sg(e)}function oi(){if(!qc&&hr!==null){qc=!0;var e=0,t=Pe;try{var n=hr;for(Pe=1;e>=s,i-=s,pr=1<<32-Dn(t)+i|n<R?(q=C,C=null):q=C.sibling;var z=d(v,C,w[R],_);if(z===null){C===null&&(C=q);break}e&&C&&z.alternate===null&&t(v,C),h=o(z,h,R),T===null?O=z:T.sibling=z,T=z,C=q}if(R===w.length)return n(v,C),Ve&&gi(v,R),O;if(C===null){for(;RR?(q=C,C=null):q=C.sibling;var K=d(v,C,z.value,_);if(K===null){C===null&&(C=q);break}e&&C&&K.alternate===null&&t(v,C),h=o(K,h,R),T===null?O=K:T.sibling=K,T=K,C=q}if(z.done)return n(v,C),Ve&&gi(v,R),O;if(C===null){for(;!z.done;R++,z=w.next())z=f(v,z.value,_),z!==null&&(h=o(z,h,R),T===null?O=z:T.sibling=z,T=z);return Ve&&gi(v,R),O}for(C=r(v,C);!z.done;R++,z=w.next())z=p(C,v,R,z.value,_),z!==null&&(e&&z.alternate!==null&&C.delete(z.key===null?R:z.key),h=o(z,h,R),T===null?O=z:T.sibling=z,T=z);return e&&C.forEach(function(Me){return t(v,Me)}),Ve&&gi(v,R),O}function S(v,h,w,_){if(typeof w=="object"&&w!==null&&w.type===go&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Xa:e:{for(var O=w.key,T=h;T!==null;){if(T.key===O){if(O=w.type,O===go){if(T.tag===7){n(v,T.sibling),h=i(T,w.props.children),h.return=v,v=h;break e}}else if(T.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===Mr&&y0(O)===T.type){n(v,T.sibling),h=i(T,w.props),h.ref=ks(v,T,w),h.return=v,v=h;break e}n(v,T);break}else t(v,T);T=T.sibling}w.type===go?(h=Oi(w.props.children,v.mode,_,w.key),h.return=v,v=h):(_=Il(w.type,w.key,w.props,null,v.mode,_),_.ref=ks(v,h,w),_.return=v,v=_)}return s(v);case mo:e:{for(T=w.key;h!==null;){if(h.key===T)if(h.tag===4&&h.stateNode.containerInfo===w.containerInfo&&h.stateNode.implementation===w.implementation){n(v,h.sibling),h=i(h,w.children||[]),h.return=v,v=h;break e}else{n(v,h);break}else t(v,h);h=h.sibling}h=td(w,v.mode,_),h.return=v,v=h}return s(v);case Mr:return T=w._init,S(v,h,T(w._payload),_)}if(Rs(w))return m(v,h,w,_);if(ys(w))return y(v,h,w,_);ul(v,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,h!==null&&h.tag===6?(n(v,h.sibling),h=i(h,w),h.return=v,v=h):(n(v,h),h=ed(w,v.mode,_),h.return=v,v=h),s(v)):n(v,h)}return S}var Bo=Tg(!0),Pg=Tg(!1),Ta={},tr=ii(Ta),ca=ii(Ta),da=ii(Ta);function ki(e){if(e===Ta)throw Error(M(174));return e}function gh(e,t){switch(ze(da,t),ze(ca,e),ze(tr,Ta),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ld(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ld(t,e)}Be(tr),ze(tr,t)}function Uo(){Be(tr),Be(ca),Be(da)}function Ag(e){ki(da.current);var t=ki(tr.current),n=Ld(t,e.type);t!==n&&(ze(ca,e),ze(tr,n))}function vh(e){ca.current===e&&(Be(tr),Be(ca))}var Ke=ii(0);function su(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Kc=[];function yh(){for(var e=0;en?n:4,e(!0);var r=Yc.transition;Yc.transition={};try{e(!1),t()}finally{Pe=n,Yc.transition=r}}function qg(){return Tn().memoizedState}function a3(e,t,n){var r=Jr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Kg(e))Yg(t,n);else if(n=Eg(e,t,n,r),n!==null){var i=Ut();Fn(n,e,r,i),Qg(n,t,r)}}function l3(e,t,n){var r=Jr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Kg(e))Yg(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,Un(a,s)){var l=t.interleaved;l===null?(i.next=i,ph(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Eg(e,t,i,r),n!==null&&(i=Ut(),Fn(n,e,r,i),Qg(n,t,r))}}function Kg(e){var t=e.alternate;return e===Ye||t!==null&&t===Ye}function Yg(e,t){Ws=au=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Qg(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,eh(e,n)}}var lu={readContext:$n,useCallback:$t,useContext:$t,useEffect:$t,useImperativeHandle:$t,useInsertionEffect:$t,useLayoutEffect:$t,useMemo:$t,useReducer:$t,useRef:$t,useState:$t,useDebugValue:$t,useDeferredValue:$t,useTransition:$t,useMutableSource:$t,useSyncExternalStore:$t,useId:$t,unstable_isNewReconciler:!1},u3={readContext:$n,useCallback:function(e,t){return Kn().memoizedState=[e,t===void 0?null:t],e},useContext:$n,useEffect:b0,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Tl(4194308,4,Ug.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Tl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Tl(4,2,e,t)},useMemo:function(e,t){var n=Kn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Kn();return t=n!==void 0?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=a3.bind(null,Ye,e),[r.memoizedState,e]},useRef:function(e){var t=Kn();return e={current:e},t.memoizedState=e},useState:w0,useDebugValue:kh,useDeferredValue:function(e){return Kn().memoizedState=e},useTransition:function(){var e=w0(!1),t=e[0];return e=s3.bind(null,e[1]),Kn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ye,i=Kn();if(Ve){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),wt===null)throw Error(M(349));Ii&30||jg(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,b0(Lg.bind(null,r,o,e),[e]),r.flags|=2048,pa(9,Ng.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Kn(),t=wt.identifierPrefix;if(Ve){var n=mr,r=pr;n=(r&~(1<<32-Dn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=fa++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Xn]=t,e[ua]=r,ov(e,t,!1,!1),t.stateNode=e;e:{switch(s=Md(n,r),n){case"dialog":De("cancel",e),De("close",e),i=r;break;case"iframe":case"object":case"embed":De("load",e),i=r;break;case"video":case"audio":for(i=0;iWo&&(t.flags|=128,r=!0,xs(o,!1),t.lanes=4194304)}else{if(!r)if(e=su(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),xs(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Ve)return Tt(t),null}else 2*it()-o.renderingStartTime>Wo&&n!==1073741824&&(t.flags|=128,r=!0,xs(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=it(),t.sibling=null,n=Ke.current,ze(Ke,r?n&1|2:n&1),t):(Tt(t),null);case 22:case 23:return Th(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?un&1073741824&&(Tt(t),t.subtreeFlags&6&&(t.flags|=8192)):Tt(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function v3(e,t){switch(uh(t),t.tag){case 1:return Zt(t.type)&&Zl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Uo(),Be(Xt),Be(jt),yh(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return vh(t),null;case 13:if(Be(Ke),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));Fo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Be(Ke),null;case 4:return Uo(),null;case 10:return hh(t.type._context),null;case 22:case 23:return Th(),null;case 24:return null;default:return null}}var dl=!1,Rt=!1,y3=typeof WeakSet=="function"?WeakSet:Set,Y=null;function Eo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){tt(e,t,r)}else n.current=null}function ff(e,t,n){try{n()}catch(r){tt(e,t,r)}}var T0=!1;function w3(e,t){if(Kd=Yl,e=dg(),ah(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,f=e,d=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===e)break t;if(d===n&&++c===i&&(a=s),d===o&&++u===r&&(l=s),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Yd={focusedElem:e,selectionRange:n},Yl=!1,Y=t;Y!==null;)if(t=Y,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Y=e;else for(;Y!==null;){t=Y;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var y=m.memoizedProps,S=m.memoizedState,v=t.stateNode,h=v.getSnapshotBeforeUpdate(t.elementType===t.type?y:Nn(t.type,y),S);v.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(_){tt(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,Y=e;break}Y=t.return}return m=T0,T0=!1,m}function Vs(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&ff(t,n,o)}i=i.next}while(i!==r)}}function ju(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==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 hf(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function lv(e){var t=e.alternate;t!==null&&(e.alternate=null,lv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Xn],delete t[ua],delete t[Xd],delete t[t3],delete t[n3])),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 uv(e){return e.tag===5||e.tag===3||e.tag===4}function P0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||uv(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function pf(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Xl));else if(r!==4&&(e=e.child,e!==null))for(pf(e,t,n),e=e.sibling;e!==null;)pf(e,t,n),e=e.sibling}function mf(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(mf(e,t,n),e=e.sibling;e!==null;)mf(e,t,n),e=e.sibling}var St=null,Ln=!1;function Nr(e,t,n){for(n=n.child;n!==null;)cv(e,t,n),n=n.sibling}function cv(e,t,n){if(er&&typeof er.onCommitFiberUnmount=="function")try{er.onCommitFiberUnmount(Cu,n)}catch{}switch(n.tag){case 5:Rt||Eo(n,t);case 6:var r=St,i=Ln;St=null,Nr(e,t,n),St=r,Ln=i,St!==null&&(Ln?(e=St,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):St.removeChild(n.stateNode));break;case 18:St!==null&&(Ln?(e=St,n=n.stateNode,e.nodeType===8?Gc(e.parentNode,n):e.nodeType===1&&Gc(e,n),ia(e)):Gc(St,n.stateNode));break;case 4:r=St,i=Ln,St=n.stateNode.containerInfo,Ln=!0,Nr(e,t,n),St=r,Ln=i;break;case 0:case 11:case 14:case 15:if(!Rt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&ff(n,t,s),i=i.next}while(i!==r)}Nr(e,t,n);break;case 1:if(!Rt&&(Eo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){tt(n,t,a)}Nr(e,t,n);break;case 21:Nr(e,t,n);break;case 22:n.mode&1?(Rt=(r=Rt)||n.memoizedState!==null,Nr(e,t,n),Rt=r):Nr(e,t,n);break;default:Nr(e,t,n)}}function A0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new y3),t.forEach(function(r){var i=$3.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function jn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=it()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*S3(r/1960))-r,10e?16:e,Wr===null)var r=!1;else{if(e=Wr,Wr=null,du=0,Se&6)throw Error(M(331));var i=Se;for(Se|=4,Y=e.current;Y!==null;){var o=Y,s=o.child;if(Y.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lit()-Oh?Ci(e,0):Ch|=n),en(e,t)}function yv(e,t){t===0&&(e.mode&1?(t=nl,nl<<=1,!(nl&130023424)&&(nl=4194304)):t=1);var n=Ut();e=Sr(e,t),e!==null&&(Ca(e,t,n),en(e,n))}function O3(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),yv(e,n)}function $3(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),yv(e,n)}var wv;wv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Xt.current)Jt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Jt=!1,m3(e,t,n);Jt=!!(e.flags&131072)}else Jt=!1,Ve&&t.flags&1048576&&_g(t,nu,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Pl(e,t),e=t.pendingProps;var i=Do(t,jt.current);Io(t,n),i=bh(null,t,r,e,i,n);var o=Sh();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Zt(r)?(o=!0,eu(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,mh(t),i.updater=Ru,t.stateNode=i,i._reactInternals=t,of(t,r,e,n),t=lf(null,t,r,!0,o,n)):(t.tag=0,Ve&&o&&lh(t),Bt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Pl(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=P3(r),e=Nn(r,e),i){case 0:t=af(null,t,r,e,n);break e;case 1:t=C0(null,t,r,e,n);break e;case 11:t=x0(null,t,r,e,n);break e;case 14:t=E0(null,t,r,Nn(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Nn(r,i),af(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Nn(r,i),C0(e,t,r,i,n);case 3:e:{if(nv(t),e===null)throw Error(M(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Cg(e,t),ou(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Ho(Error(M(423)),t),t=O0(e,t,r,n,i);break e}else if(r!==i){i=Ho(Error(M(424)),t),t=O0(e,t,r,n,i);break e}else for(dn=Kr(t.stateNode.containerInfo.firstChild),fn=t,Ve=!0,Mn=null,n=Pg(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Fo(),r===i){t=_r(e,t,n);break e}Bt(e,t,r,n)}t=t.child}return t;case 5:return Ag(t),e===null&&tf(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Qd(r,i)?s=null:o!==null&&Qd(r,o)&&(t.flags|=32),tv(e,t),Bt(e,t,s,n),t.child;case 6:return e===null&&tf(t),null;case 13:return rv(e,t,n);case 4:return gh(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Bo(t,null,r,n):Bt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Nn(r,i),x0(e,t,r,i,n);case 7:return Bt(e,t,t.pendingProps,n),t.child;case 8:return Bt(e,t,t.pendingProps.children,n),t.child;case 12:return Bt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,ze(ru,r._currentValue),r._currentValue=s,o!==null)if(Un(o.value,s)){if(o.children===i.children&&!Xt.current){t=_r(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=gr(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),nf(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(M(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),nf(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Bt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Io(t,n),i=$n(i),r=r(i),t.flags|=1,Bt(e,t,r,n),t.child;case 14:return r=t.type,i=Nn(r,t.pendingProps),i=Nn(r.type,i),E0(e,t,r,i,n);case 15:return Zg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Nn(r,i),Pl(e,t),t.tag=1,Zt(r)?(e=!0,eu(t)):e=!1,Io(t,n),$g(t,r,i),of(t,r,i,n),lf(null,t,r,!0,e,n);case 19:return iv(e,t,n);case 22:return ev(e,t,n)}throw Error(M(156,t.tag))};function bv(e,t){return G1(e,t)}function T3(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 Cn(e,t,n,r){return new T3(e,t,n,r)}function Ah(e){return e=e.prototype,!(!e||!e.isReactComponent)}function P3(e){if(typeof e=="function")return Ah(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Qf)return 11;if(e===Jf)return 14}return 2}function Xr(e,t){var n=e.alternate;return n===null?(n=Cn(e.tag,t,e.key,e.mode),n.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=e.flags&14680064,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Il(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Ah(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case go:return Oi(n.children,i,o,t);case Yf:s=8,i|=8;break;case $d:return e=Cn(12,n,t,i|2),e.elementType=$d,e.lanes=o,e;case Td:return e=Cn(13,n,t,i),e.elementType=Td,e.lanes=o,e;case Pd:return e=Cn(19,n,t,i),e.elementType=Pd,e.lanes=o,e;case T1:return Lu(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case O1:s=10;break e;case $1:s=9;break e;case Qf:s=11;break e;case Jf:s=14;break e;case Mr:s=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=Cn(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Oi(e,t,n,r){return e=Cn(7,e,r,t),e.lanes=n,e}function Lu(e,t,n,r){return e=Cn(22,e,r,t),e.elementType=T1,e.lanes=n,e.stateNode={isHidden:!1},e}function ed(e,t,n){return e=Cn(6,e,null,t),e.lanes=n,e}function td(e,t,n){return t=Cn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function A3(e,t,n,r,i){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=Nc(0),this.expirationTimes=Nc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nc(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Rh(e,t,n,r,i,o,s,a,l){return e=new A3(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Cn(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},mh(o),e}function R3(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(xv)}catch(e){console.error(e)}}xv(),_1.exports=mn;var z3=_1.exports,D0=z3;Cd.createRoot=D0.createRoot,Cd.hydrateRoot=D0.hydrateRoot;const M3="modulepreload",D3=function(e){return"/"+e},F0={},Bu=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=D3(o),o in F0)return;F0[o]=!0;const s=o.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(!!r)for(let u=i.length-1;u>=0;u--){const f=i[u];if(f.href===o&&(!s||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const c=document.createElement("link");if(c.rel=s?"stylesheet":M3,s||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),s)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o})};var F3=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(f){s(f)}}function l(u){try{c(r.throw(u))}catch(f){s(f)}}function c(u){u.done?o(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};const B3=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>F3(void 0,void 0,void 0,function*(){return yield(yield Bu(()=>Promise.resolve().then(()=>Uu),void 0)).fetch(...n)}):t=fetch,(...n)=>t(...n)};class Lh extends Error{constructor(t,n="FunctionsError",r){super(t),this.name=n,this.context=r}}class U3 extends Lh{constructor(t){super("Failed to send a request to the Edge Function","FunctionsFetchError",t)}}class H3 extends Lh{constructor(t){super("Relay Error invoking the Edge Function","FunctionsRelayError",t)}}class W3 extends Lh{constructor(t){super("Edge Function returned a non-2xx status code","FunctionsHttpError",t)}}var V3=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(f){s(f)}}function l(u){try{c(r.throw(u))}catch(f){s(f)}}function c(u){u.done?o(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};class G3{constructor(t,{headers:n={},customFetch:r}={}){this.url=t,this.headers=n,this.fetch=B3(r)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t,n={}){var r;return V3(this,void 0,void 0,function*(){try{const{headers:i,method:o,body:s}=n;let a={},l;s&&(i&&!Object.prototype.hasOwnProperty.call(i,"Content-Type")||!i)&&(typeof Blob<"u"&&s instanceof Blob||s instanceof ArrayBuffer?(a["Content-Type"]="application/octet-stream",l=s):typeof s=="string"?(a["Content-Type"]="text/plain",l=s):typeof FormData<"u"&&s instanceof FormData?l=s:(a["Content-Type"]="application/json",l=JSON.stringify(s)));const c=yield this.fetch(`${this.url}/${t}`,{method:o||"POST",headers:Object.assign(Object.assign(Object.assign({},a),this.headers),i),body:l}).catch(p=>{throw new U3(p)}),u=c.headers.get("x-relay-error");if(u&&u==="true")throw new H3(c);if(!c.ok)throw new W3(c);let f=((r=c.headers.get("Content-Type"))!==null&&r!==void 0?r:"text/plain").split(";")[0].trim(),d;return f==="application/json"?d=yield c.json():f==="application/octet-stream"?d=yield c.blob():f==="multipart/form-data"?d=yield c.formData():d=yield c.text(),{data:d,error:null}}catch(i){return{data:null,error:i}}})}}var bf={exports:{}};(function(e,t){var n=typeof self<"u"?self:c1,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(s){var a={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function l($){return $&&DataView.prototype.isPrototypeOf($)}if(a.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function($){return $&&c.indexOf(Object.prototype.toString.call($))>-1};function f($){if(typeof $!="string"&&($=String($)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test($))throw new TypeError("Invalid character in header field name");return $.toLowerCase()}function d($){return typeof $!="string"&&($=String($)),$}function p($){var P={next:function(){var H=$.shift();return{done:H===void 0,value:H}}};return a.iterable&&(P[Symbol.iterator]=function(){return P}),P}function m($){this.map={},$ instanceof m?$.forEach(function(P,H){this.append(H,P)},this):Array.isArray($)?$.forEach(function(P){this.append(P[0],P[1])},this):$&&Object.getOwnPropertyNames($).forEach(function(P){this.append(P,$[P])},this)}m.prototype.append=function($,P){$=f($),P=d(P);var H=this.map[$];this.map[$]=H?H+", "+P:P},m.prototype.delete=function($){delete this.map[f($)]},m.prototype.get=function($){return $=f($),this.has($)?this.map[$]:null},m.prototype.has=function($){return this.map.hasOwnProperty(f($))},m.prototype.set=function($,P){this.map[f($)]=d(P)},m.prototype.forEach=function($,P){for(var H in this.map)this.map.hasOwnProperty(H)&&$.call(P,this.map[H],H,this)},m.prototype.keys=function(){var $=[];return this.forEach(function(P,H){$.push(H)}),p($)},m.prototype.values=function(){var $=[];return this.forEach(function(P){$.push(P)}),p($)},m.prototype.entries=function(){var $=[];return this.forEach(function(P,H){$.push([H,P])}),p($)},a.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function y($){if($.bodyUsed)return Promise.reject(new TypeError("Already read"));$.bodyUsed=!0}function S($){return new Promise(function(P,H){$.onload=function(){P($.result)},$.onerror=function(){H($.error)}})}function v($){var P=new FileReader,H=S(P);return P.readAsArrayBuffer($),H}function h($){var P=new FileReader,H=S(P);return P.readAsText($),H}function w($){for(var P=new Uint8Array($),H=new Array(P.length),ee=0;ee-1?P:$}function R($,P){P=P||{};var H=P.body;if($ instanceof R){if($.bodyUsed)throw new TypeError("Already read");this.url=$.url,this.credentials=$.credentials,P.headers||(this.headers=new m($.headers)),this.method=$.method,this.mode=$.mode,this.signal=$.signal,!H&&$._bodyInit!=null&&(H=$._bodyInit,$.bodyUsed=!0)}else this.url=String($);if(this.credentials=P.credentials||this.credentials||"same-origin",(P.headers||!this.headers)&&(this.headers=new m(P.headers)),this.method=C(P.method||this.method||"GET"),this.mode=P.mode||this.mode||null,this.signal=P.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&H)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(H)}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function q($){var P=new FormData;return $.trim().split("&").forEach(function(H){if(H){var ee=H.split("="),j=ee.shift().replace(/\+/g," "),D=ee.join("=").replace(/\+/g," ");P.append(decodeURIComponent(j),decodeURIComponent(D))}}),P}function z($){var P=new m,H=$.replace(/\r?\n[\t ]+/g," ");return H.split(/\r?\n/).forEach(function(ee){var j=ee.split(":"),D=j.shift().trim();if(D){var X=j.join(":").trim();P.append(D,X)}}),P}O.call(R.prototype);function K($,P){P||(P={}),this.type="default",this.status=P.status===void 0?200:P.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in P?P.statusText:"OK",this.headers=new m(P.headers),this.url=P.url||"",this._initBody($)}O.call(K.prototype),K.prototype.clone=function(){return new K(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},K.error=function(){var $=new K(null,{status:0,statusText:""});return $.type="error",$};var Me=[301,302,303,307,308];K.redirect=function($,P){if(Me.indexOf(P)===-1)throw new RangeError("Invalid status code");return new K(null,{status:P,headers:{location:$}})},s.DOMException=o.DOMException;try{new s.DOMException}catch{s.DOMException=function(P,H){this.message=P,this.name=H;var ee=Error(P);this.stack=ee.stack},s.DOMException.prototype=Object.create(Error.prototype),s.DOMException.prototype.constructor=s.DOMException}function Ne($,P){return new Promise(function(H,ee){var j=new R($,P);if(j.signal&&j.signal.aborted)return ee(new s.DOMException("Aborted","AbortError"));var D=new XMLHttpRequest;function X(){D.abort()}D.onload=function(){var ue={status:D.status,statusText:D.statusText,headers:z(D.getAllResponseHeaders()||"")};ue.url="responseURL"in D?D.responseURL:ue.headers.get("X-Request-URL");var he="response"in D?D.response:D.responseText;H(new K(he,ue))},D.onerror=function(){ee(new TypeError("Network request failed"))},D.ontimeout=function(){ee(new TypeError("Network request failed"))},D.onabort=function(){ee(new s.DOMException("Aborted","AbortError"))},D.open(j.method,j.url,!0),j.credentials==="include"?D.withCredentials=!0:j.credentials==="omit"&&(D.withCredentials=!1),"responseType"in D&&a.blob&&(D.responseType="blob"),j.headers.forEach(function(ue,he){D.setRequestHeader(he,ue)}),j.signal&&(j.signal.addEventListener("abort",X),D.onreadystatechange=function(){D.readyState===4&&j.signal.removeEventListener("abort",X)}),D.send(typeof j._bodyInit>"u"?null:j._bodyInit)})}return Ne.polyfill=!0,o.fetch||(o.fetch=Ne,o.Headers=m,o.Request=R,o.Response=K),s.Headers=m,s.Request=R,s.Response=K,s.fetch=Ne,Object.defineProperty(s,"__esModule",{value:!0}),s})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=r;t=i.fetch,t.default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t})(bf,bf.exports);var zh=bf.exports;const Mh=xa(zh),Uu=u1({__proto__:null,default:Mh},[zh]);class q3{constructor(t){this.shouldThrowOnError=!1,this.method=t.method,this.url=t.url,this.headers=t.headers,this.schema=t.schema,this.body=t.body,this.shouldThrowOnError=t.shouldThrowOnError,this.signal=t.signal,this.isMaybeSingle=t.isMaybeSingle,t.fetch?this.fetch=t.fetch:typeof fetch>"u"?this.fetch=Mh:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}then(t,n){this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers["Accept-Profile"]=this.schema:this.headers["Content-Profile"]=this.schema),this.method!=="GET"&&this.method!=="HEAD"&&(this.headers["Content-Type"]="application/json");const r=this.fetch;let i=r(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async o=>{var s,a,l;let c=null,u=null,f=null,d=o.status,p=o.statusText;if(o.ok){if(this.method!=="HEAD"){const v=await o.text();v===""||(this.headers.Accept==="text/csv"||this.headers.Accept&&this.headers.Accept.includes("application/vnd.pgrst.plan+text")?u=v:u=JSON.parse(v))}const y=(s=this.headers.Prefer)===null||s===void 0?void 0:s.match(/count=(exact|planned|estimated)/),S=(a=o.headers.get("content-range"))===null||a===void 0?void 0:a.split("/");y&&S&&S.length>1&&(f=parseInt(S[1])),this.isMaybeSingle&&this.method==="GET"&&Array.isArray(u)&&(u.length>1?(c={code:"PGRST116",details:`Results contain ${u.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},u=null,f=null,d=406,p="Not Acceptable"):u.length===1?u=u[0]:u=null)}else{const y=await o.text();try{c=JSON.parse(y),Array.isArray(c)&&o.status===404&&(u=[],c=null,d=200,p="OK")}catch{o.status===404&&y===""?(d=204,p="No Content"):c={message:y}}if(c&&this.isMaybeSingle&&(!((l=c==null?void 0:c.details)===null||l===void 0)&&l.includes("Results contain 0 rows"))&&(c=null,d=200,p="OK"),c&&this.shouldThrowOnError)throw c}return{error:c,data:u,count:f,status:d,statusText:p}});return this.shouldThrowOnError||(i=i.catch(o=>{var s,a,l;return{error:{message:`${(s=o==null?void 0:o.name)!==null&&s!==void 0?s:"FetchError"}: ${o==null?void 0:o.message}`,details:`${(a=o==null?void 0:o.stack)!==null&&a!==void 0?a:""}`,hint:"",code:`${(l=o==null?void 0:o.code)!==null&&l!==void 0?l:""}`},data:null,count:null,status:0,statusText:""}})),i.then(t,n)}}class K3 extends q3{select(t){let n=!1;const r=(t??"*").split("").map(i=>/\s/.test(i)&&!n?"":(i==='"'&&(n=!n),i)).join("");return this.url.searchParams.set("select",r),this.headers.Prefer&&(this.headers.Prefer+=","),this.headers.Prefer+="return=representation",this}order(t,{ascending:n=!0,nullsFirst:r,foreignTable:i}={}){const o=i?`${i}.order`:"order",s=this.url.searchParams.get(o);return this.url.searchParams.set(o,`${s?`${s},`:""}${t}.${n?"asc":"desc"}${r===void 0?"":r?".nullsfirst":".nullslast"}`),this}limit(t,{foreignTable:n}={}){const r=typeof n>"u"?"limit":`${n}.limit`;return this.url.searchParams.set(r,`${t}`),this}range(t,n,{foreignTable:r}={}){const i=typeof r>"u"?"offset":`${r}.offset`,o=typeof r>"u"?"limit":`${r}.limit`;return this.url.searchParams.set(i,`${t}`),this.url.searchParams.set(o,`${n-t+1}`),this}abortSignal(t){return this.signal=t,this}single(){return this.headers.Accept="application/vnd.pgrst.object+json",this}maybeSingle(){return this.method==="GET"?this.headers.Accept="application/json":this.headers.Accept="application/vnd.pgrst.object+json",this.isMaybeSingle=!0,this}csv(){return this.headers.Accept="text/csv",this}geojson(){return this.headers.Accept="application/geo+json",this}explain({analyze:t=!1,verbose:n=!1,settings:r=!1,buffers:i=!1,wal:o=!1,format:s="text"}={}){const a=[t?"analyze":null,n?"verbose":null,r?"settings":null,i?"buffers":null,o?"wal":null].filter(Boolean).join("|"),l=this.headers.Accept;return this.headers.Accept=`application/vnd.pgrst.plan+${s}; for="${l}"; options=${a};`,s==="json"?this:this}rollback(){var t;return((t=this.headers.Prefer)!==null&&t!==void 0?t:"").trim().length>0?this.headers.Prefer+=",tx=rollback":this.headers.Prefer="tx=rollback",this}returns(){return this}}class ho extends K3{eq(t,n){return this.url.searchParams.append(t,`eq.${n}`),this}neq(t,n){return this.url.searchParams.append(t,`neq.${n}`),this}gt(t,n){return this.url.searchParams.append(t,`gt.${n}`),this}gte(t,n){return this.url.searchParams.append(t,`gte.${n}`),this}lt(t,n){return this.url.searchParams.append(t,`lt.${n}`),this}lte(t,n){return this.url.searchParams.append(t,`lte.${n}`),this}like(t,n){return this.url.searchParams.append(t,`like.${n}`),this}likeAllOf(t,n){return this.url.searchParams.append(t,`like(all).{${n.join(",")}}`),this}likeAnyOf(t,n){return this.url.searchParams.append(t,`like(any).{${n.join(",")}}`),this}ilike(t,n){return this.url.searchParams.append(t,`ilike.${n}`),this}ilikeAllOf(t,n){return this.url.searchParams.append(t,`ilike(all).{${n.join(",")}}`),this}ilikeAnyOf(t,n){return this.url.searchParams.append(t,`ilike(any).{${n.join(",")}}`),this}is(t,n){return this.url.searchParams.append(t,`is.${n}`),this}in(t,n){const r=n.map(i=>typeof i=="string"&&new RegExp("[,()]").test(i)?`"${i}"`:`${i}`).join(",");return this.url.searchParams.append(t,`in.(${r})`),this}contains(t,n){return typeof n=="string"?this.url.searchParams.append(t,`cs.${n}`):Array.isArray(n)?this.url.searchParams.append(t,`cs.{${n.join(",")}}`):this.url.searchParams.append(t,`cs.${JSON.stringify(n)}`),this}containedBy(t,n){return typeof n=="string"?this.url.searchParams.append(t,`cd.${n}`):Array.isArray(n)?this.url.searchParams.append(t,`cd.{${n.join(",")}}`):this.url.searchParams.append(t,`cd.${JSON.stringify(n)}`),this}rangeGt(t,n){return this.url.searchParams.append(t,`sr.${n}`),this}rangeGte(t,n){return this.url.searchParams.append(t,`nxl.${n}`),this}rangeLt(t,n){return this.url.searchParams.append(t,`sl.${n}`),this}rangeLte(t,n){return this.url.searchParams.append(t,`nxr.${n}`),this}rangeAdjacent(t,n){return this.url.searchParams.append(t,`adj.${n}`),this}overlaps(t,n){return typeof n=="string"?this.url.searchParams.append(t,`ov.${n}`):this.url.searchParams.append(t,`ov.{${n.join(",")}}`),this}textSearch(t,n,{config:r,type:i}={}){let o="";i==="plain"?o="pl":i==="phrase"?o="ph":i==="websearch"&&(o="w");const s=r===void 0?"":`(${r})`;return this.url.searchParams.append(t,`${o}fts${s}.${n}`),this}match(t){return Object.entries(t).forEach(([n,r])=>{this.url.searchParams.append(n,`eq.${r}`)}),this}not(t,n,r){return this.url.searchParams.append(t,`not.${n}.${r}`),this}or(t,{foreignTable:n}={}){const r=n?`${n}.or`:"or";return this.url.searchParams.append(r,`(${t})`),this}filter(t,n,r){return this.url.searchParams.append(t,`${n}.${r}`),this}}class Y3{constructor(t,{headers:n={},schema:r,fetch:i}){this.url=t,this.headers=n,this.schema=r,this.fetch=i}select(t,{head:n=!1,count:r}={}){const i=n?"HEAD":"GET";let o=!1;const s=(t??"*").split("").map(a=>/\s/.test(a)&&!o?"":(a==='"'&&(o=!o),a)).join("");return this.url.searchParams.set("select",s),r&&(this.headers.Prefer=`count=${r}`),new ho({method:i,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}insert(t,{count:n,defaultToNull:r=!0}={}){const i="POST",o=[];if(this.headers.Prefer&&o.push(this.headers.Prefer),n&&o.push(`count=${n}`),r||o.push("missing=default"),this.headers.Prefer=o.join(","),Array.isArray(t)){const s=t.reduce((a,l)=>a.concat(Object.keys(l)),[]);if(s.length>0){const a=[...new Set(s)].map(l=>`"${l}"`);this.url.searchParams.set("columns",a.join(","))}}return new ho({method:i,url:this.url,headers:this.headers,schema:this.schema,body:t,fetch:this.fetch,allowEmpty:!1})}upsert(t,{onConflict:n,ignoreDuplicates:r=!1,count:i,defaultToNull:o=!0}={}){const s="POST",a=[`resolution=${r?"ignore":"merge"}-duplicates`];if(n!==void 0&&this.url.searchParams.set("on_conflict",n),this.headers.Prefer&&a.push(this.headers.Prefer),i&&a.push(`count=${i}`),o||a.push("missing=default"),this.headers.Prefer=a.join(","),Array.isArray(t)){const l=t.reduce((c,u)=>c.concat(Object.keys(u)),[]);if(l.length>0){const c=[...new Set(l)].map(u=>`"${u}"`);this.url.searchParams.set("columns",c.join(","))}}return new ho({method:s,url:this.url,headers:this.headers,schema:this.schema,body:t,fetch:this.fetch,allowEmpty:!1})}update(t,{count:n}={}){const r="PATCH",i=[];return this.headers.Prefer&&i.push(this.headers.Prefer),n&&i.push(`count=${n}`),this.headers.Prefer=i.join(","),new ho({method:r,url:this.url,headers:this.headers,schema:this.schema,body:t,fetch:this.fetch,allowEmpty:!1})}delete({count:t}={}){const n="DELETE",r=[];return t&&r.push(`count=${t}`),this.headers.Prefer&&r.unshift(this.headers.Prefer),this.headers.Prefer=r.join(","),new ho({method:n,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}}const Q3="1.7.2",J3={"X-Client-Info":`postgrest-js/${Q3}`};class X3{constructor(t,{headers:n={},schema:r,fetch:i}={}){this.url=t,this.headers=Object.assign(Object.assign({},J3),n),this.schema=r,this.fetch=i}from(t){const n=new URL(`${this.url}/${t}`);return new Y3(n,{headers:Object.assign({},this.headers),schema:this.schema,fetch:this.fetch})}rpc(t,n={},{head:r=!1,count:i}={}){let o;const s=new URL(`${this.url}/rpc/${t}`);let a;r?(o="HEAD",Object.entries(n).forEach(([c,u])=>{s.searchParams.append(c,`${u}`)})):(o="POST",a=n);const l=Object.assign({},this.headers);return i&&(l.Prefer=`count=${i}`),new ho({method:o,url:s,headers:l,schema:this.schema,body:a,fetch:this.fetch,allowEmpty:!1})}}var nd,B0;function Z3(){if(B0)return nd;B0=1;var e=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};return nd=function(){if(this)return this;if(typeof globalThis=="object"&&globalThis)return globalThis;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return e()}try{return __global__||e()}finally{delete Object.prototype.__global__}}(),nd}const eb="websocket",tb="Websocket Client & Server Library implementing the WebSocket protocol as specified in RFC 6455.",nb=["websocket","websockets","socket","networking","comet","push","RFC-6455","realtime","server","client"],rb="Brian McKelvey (https://github.com/theturtle32)",ib=["Iñaki Baz Castillo (http://dev.sipdoc.net)"],ob="1.0.34",sb={type:"git",url:"https://github.com/theturtle32/WebSocket-Node.git"},ab="https://github.com/theturtle32/WebSocket-Node",lb={node:">=4.0.0"},ub={bufferutil:"^4.0.1",debug:"^2.2.0","es5-ext":"^0.10.50","typedarray-to-buffer":"^3.1.5","utf-8-validate":"^5.0.2",yaeti:"^0.0.6"},cb={"buffer-equal":"^1.0.0",gulp:"^4.0.2","gulp-jshint":"^2.0.4","jshint-stylish":"^2.2.1",jshint:"^2.0.0",tape:"^4.9.1"},db={verbose:!1},fb={test:"tape test/unit/*.js",gulp:"gulp"},hb="index",pb={lib:"./lib"},mb="lib/browser.js",gb="Apache-2.0",vb={name:eb,description:tb,keywords:nb,author:rb,contributors:ib,version:ob,repository:sb,homepage:ab,engines:lb,dependencies:ub,devDependencies:cb,config:db,scripts:fb,main:hb,directories:pb,browser:mb,license:gb};var yb=vb.version,yi;if(typeof globalThis=="object")yi=globalThis;else try{yi=Z3()}catch{}finally{if(!yi&&typeof window<"u"&&(yi=window),!yi)throw new Error("Could not determine global this")}var ga=yi.WebSocket||yi.MozWebSocket,wb=yb;function Ev(e,t){var n;return t?n=new ga(e,t):n=new ga(e),n}ga&&["CONNECTING","OPEN","CLOSING","CLOSED"].forEach(function(e){Object.defineProperty(Ev,e,{get:function(){return ga[e]}})});var bb={w3cwebsocket:ga?Ev:null,version:wb};const Sb="2.7.3",_b={"X-Client-Info":`realtime-js/${Sb}`},kb="1.0.0",Cv=1e4,xb=1e3;var Ks;(function(e){e[e.connecting=0]="connecting",e[e.open=1]="open",e[e.closing=2]="closing",e[e.closed=3]="closed"})(Ks||(Ks={}));var ln;(function(e){e.closed="closed",e.errored="errored",e.joined="joined",e.joining="joining",e.leaving="leaving"})(ln||(ln={}));var zn;(function(e){e.close="phx_close",e.error="phx_error",e.join="phx_join",e.reply="phx_reply",e.leave="phx_leave",e.access_token="access_token"})(zn||(zn={}));var Sf;(function(e){e.websocket="websocket"})(Sf||(Sf={}));var wi;(function(e){e.Connecting="connecting",e.Open="open",e.Closing="closing",e.Closed="closed"})(wi||(wi={}));class Ov{constructor(t,n){this.callback=t,this.timerCalc=n,this.timer=void 0,this.tries=0,this.callback=t,this.timerCalc=n}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}class Eb{constructor(){this.HEADER_LENGTH=1}decode(t,n){return t.constructor===ArrayBuffer?n(this._binaryDecode(t)):n(typeof t=="string"?JSON.parse(t):{})}_binaryDecode(t){const n=new DataView(t),r=new TextDecoder;return this._decodeBroadcast(t,n,r)}_decodeBroadcast(t,n,r){const i=n.getUint8(1),o=n.getUint8(2);let s=this.HEADER_LENGTH+2;const a=r.decode(t.slice(s,s+i));s=s+i;const l=r.decode(t.slice(s,s+o));s=s+o;const c=JSON.parse(r.decode(t.slice(s,t.byteLength)));return{ref:null,topic:a,event:l,payload:c}}}class rd{constructor(t,n,r={},i=Cv){this.channel=t,this.event=n,this.payload=r,this.timeout=i,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null,this.rateLimited=!1}resend(t){this.timeout=t,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){if(this._hasReceived("timeout"))return;this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()})==="rate limited"&&(this.rateLimited=!0)}updatePayload(t){this.payload=Object.assign(Object.assign({},this.payload),t)}receive(t,n){var r;return this._hasReceived(t)&&n((r=this.receivedResp)===null||r===void 0?void 0:r.response),this.recHooks.push({status:t,callback:n}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const t=n=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=n,this._matchReceive(n)};this.channel._on(this.refEvent,{},t),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(t,n){this.refEvent&&this.channel._trigger(this.refEvent,{status:t,response:n})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:t,response:n}){this.recHooks.filter(r=>r.status===t).forEach(r=>r.callback(n))}_hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}}var U0;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(U0||(U0={}));class Ys{constructor(t,n){this.channel=t,this.state={},this.pendingDiffs=[],this.joinRef=null,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const r=(n==null?void 0:n.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(r.state,{},i=>{const{onJoin:o,onLeave:s,onSync:a}=this.caller;this.joinRef=this.channel._joinRef(),this.state=Ys.syncState(this.state,i,o,s),this.pendingDiffs.forEach(l=>{this.state=Ys.syncDiff(this.state,l,o,s)}),this.pendingDiffs=[],a()}),this.channel._on(r.diff,{},i=>{const{onJoin:o,onLeave:s,onSync:a}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(i):(this.state=Ys.syncDiff(this.state,i,o,s),a())}),this.onJoin((i,o,s)=>{this.channel._trigger("presence",{event:"join",key:i,currentPresences:o,newPresences:s})}),this.onLeave((i,o,s)=>{this.channel._trigger("presence",{event:"leave",key:i,currentPresences:o,leftPresences:s})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(t,n,r,i){const o=this.cloneDeep(t),s=this.transformState(n),a={},l={};return this.map(o,(c,u)=>{s[c]||(l[c]=u)}),this.map(s,(c,u)=>{const f=o[c];if(f){const d=u.map(S=>S.presence_ref),p=f.map(S=>S.presence_ref),m=u.filter(S=>p.indexOf(S.presence_ref)<0),y=f.filter(S=>d.indexOf(S.presence_ref)<0);m.length>0&&(a[c]=m),y.length>0&&(l[c]=y)}else a[c]=u}),this.syncDiff(o,{joins:a,leaves:l},r,i)}static syncDiff(t,n,r,i){const{joins:o,leaves:s}={joins:this.transformState(n.joins),leaves:this.transformState(n.leaves)};return r||(r=()=>{}),i||(i=()=>{}),this.map(o,(a,l)=>{var c;const u=(c=t[a])!==null&&c!==void 0?c:[];if(t[a]=this.cloneDeep(l),u.length>0){const f=t[a].map(p=>p.presence_ref),d=u.filter(p=>f.indexOf(p.presence_ref)<0);t[a].unshift(...d)}r(a,u,l)}),this.map(s,(a,l)=>{let c=t[a];if(!c)return;const u=l.map(f=>f.presence_ref);c=c.filter(f=>u.indexOf(f.presence_ref)<0),t[a]=c,i(a,c,l),c.length===0&&delete t[a]}),t}static map(t,n){return Object.getOwnPropertyNames(t).map(r=>n(r,t[r]))}static transformState(t){return t=this.cloneDeep(t),Object.getOwnPropertyNames(t).reduce((n,r)=>{const i=t[r];return"metas"in i?n[r]=i.metas.map(o=>(o.presence_ref=o.phx_ref,delete o.phx_ref,delete o.phx_ref_prev,o)):n[r]=i,n},{})}static cloneDeep(t){return JSON.parse(JSON.stringify(t))}onJoin(t){this.caller.onJoin=t}onLeave(t){this.caller.onLeave=t}onSync(t){this.caller.onSync=t}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var Le;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(Le||(Le={}));const H0=(e,t,n={})=>{var r;const i=(r=n.skipTypes)!==null&&r!==void 0?r:[];return Object.keys(t).reduce((o,s)=>(o[s]=Cb(s,e,t,i),o),{})},Cb=(e,t,n,r)=>{const i=t.find(a=>a.name===e),o=i==null?void 0:i.type,s=n[e];return o&&!r.includes(o)?$v(o,s):_f(s)},$v=(e,t)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return Pb(t,n)}switch(e){case Le.bool:return Ob(t);case Le.float4:case Le.float8:case Le.int2:case Le.int4:case Le.int8:case Le.numeric:case Le.oid:return $b(t);case Le.json:case Le.jsonb:return Tb(t);case Le.timestamp:return Ab(t);case Le.abstime:case Le.date:case Le.daterange:case Le.int4range:case Le.int8range:case Le.money:case Le.reltime:case Le.text:case Le.time:case Le.timestamptz:case Le.timetz:case Le.tsrange:case Le.tstzrange:return _f(t);default:return _f(t)}},_f=e=>e,Ob=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},$b=e=>{if(typeof e=="string"){const t=parseFloat(e);if(!Number.isNaN(t))return t}return e},Tb=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch(t){return console.log(`JSON parse error: ${t}`),e}return e},Pb=(e,t)=>{if(typeof e!="string")return e;const n=e.length-1,r=e[n];if(e[0]==="{"&&r==="}"){let o;const s=e.slice(1,n);try{o=JSON.parse("["+s+"]")}catch{o=s?s.split(","):[]}return o.map(a=>$v(t,a))}return e},Ab=e=>typeof e=="string"?e.replace(" ","T"):e;var W0=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(f){s(f)}}function l(u){try{c(r.throw(u))}catch(f){s(f)}}function c(u){u.done?o(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})},V0;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(V0||(V0={}));var G0;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes"})(G0||(G0={}));var q0;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(q0||(q0={}));class Dh{constructor(t,n={config:{}},r){this.topic=t,this.params=n,this.socket=r,this.bindings={},this.state=ln.closed,this.joinedOnce=!1,this.pushBuffer=[],this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:""}},n.config),this.timeout=this.socket.timeout,this.joinPush=new rd(this,zn.join,this.params,this.timeout),this.rejoinTimer=new Ov(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=ln.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(i=>i.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=ln.closed,this.socket._remove(this)}),this._onError(i=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,i),this.state=ln.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=ln.errored,this.rejoinTimer.scheduleTimeout())}),this._on(zn.reply,{},(i,o)=>{this._trigger(this._replyEventName(o),i)}),this.presence=new Ys(this)}subscribe(t,n=this.timeout){var r,i;if(this.joinedOnce)throw"tried to subscribe multiple times. 'subscribe' can only be called a single time per channel instance";{const{config:{broadcast:o,presence:s}}=this.params;this._onError(c=>t&&t("CHANNEL_ERROR",c)),this._onClose(()=>t&&t("CLOSED"));const a={},l={broadcast:o,presence:s,postgres_changes:(i=(r=this.bindings.postgres_changes)===null||r===void 0?void 0:r.map(c=>c.filter))!==null&&i!==void 0?i:[]};this.socket.accessToken&&(a.access_token=this.socket.accessToken),this.updateJoinPayload(Object.assign({config:l},a)),this.joinedOnce=!0,this._rejoin(n),this.joinPush.receive("ok",({postgres_changes:c})=>{var u;if(this.socket.accessToken&&this.socket.setAuth(this.socket.accessToken),c===void 0){t&&t("SUBSCRIBED");return}else{const f=this.bindings.postgres_changes,d=(u=f==null?void 0:f.length)!==null&&u!==void 0?u:0,p=[];for(let m=0;m{t&&t("CHANNEL_ERROR",new Error(JSON.stringify(Object.values(c).join(", ")||"error")))}).receive("timeout",()=>{t&&t("TIMED_OUT")})}return this}presenceState(){return this.presence.state}track(t,n={}){return W0(this,void 0,void 0,function*(){return yield this.send({type:"presence",event:"track",payload:t},n.timeout||this.timeout)})}untrack(t={}){return W0(this,void 0,void 0,function*(){return yield this.send({type:"presence",event:"untrack"},t)})}on(t,n,r){return this._on(t,n,r)}send(t,n={}){return new Promise(r=>{var i,o,s;const a=this._push(t.type,t,n.timeout||this.timeout);a.rateLimited&&r("rate limited"),t.type==="broadcast"&&!(!((s=(o=(i=this.params)===null||i===void 0?void 0:i.config)===null||o===void 0?void 0:o.broadcast)===null||s===void 0)&&s.ack)&&r("ok"),a.receive("ok",()=>r("ok")),a.receive("timeout",()=>r("timed out"))})}updateJoinPayload(t){this.joinPush.updatePayload(t)}unsubscribe(t=this.timeout){this.state=ln.leaving;const n=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(zn.close,"leave",this._joinRef())};return this.rejoinTimer.reset(),this.joinPush.destroy(),new Promise(r=>{const i=new rd(this,zn.leave,{},t);i.receive("ok",()=>{n(),r("ok")}).receive("timeout",()=>{n(),r("timed out")}).receive("error",()=>{r("error")}),i.send(),this._canPush()||i.trigger("ok",{})})}_push(t,n,r=this.timeout){if(!this.joinedOnce)throw`tried to push '${t}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let i=new rd(this,t,n,r);return this._canPush()?i.send():(i.startTimeout(),this.pushBuffer.push(i)),i}_onMessage(t,n,r){return n}_isMember(t){return this.topic===t}_joinRef(){return this.joinPush.ref}_trigger(t,n,r){var i,o;const s=t.toLocaleLowerCase(),{close:a,error:l,leave:c,join:u}=zn;if(r&&[a,l,c,u].indexOf(s)>=0&&r!==this._joinRef())return;let d=this._onMessage(s,n,r);if(n&&!d)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(s)?(i=this.bindings.postgres_changes)===null||i===void 0||i.filter(p=>{var m,y,S;return((m=p.filter)===null||m===void 0?void 0:m.event)==="*"||((S=(y=p.filter)===null||y===void 0?void 0:y.event)===null||S===void 0?void 0:S.toLocaleLowerCase())===s}).map(p=>p.callback(d,r)):(o=this.bindings[s])===null||o===void 0||o.filter(p=>{var m,y,S,v,h,w;if(["broadcast","presence","postgres_changes"].includes(s))if("id"in p){const _=p.id,O=(m=p.filter)===null||m===void 0?void 0:m.event;return _&&((y=n.ids)===null||y===void 0?void 0:y.includes(_))&&(O==="*"||(O==null?void 0:O.toLocaleLowerCase())===((S=n.data)===null||S===void 0?void 0:S.type.toLocaleLowerCase()))}else{const _=(h=(v=p==null?void 0:p.filter)===null||v===void 0?void 0:v.event)===null||h===void 0?void 0:h.toLocaleLowerCase();return _==="*"||_===((w=n==null?void 0:n.event)===null||w===void 0?void 0:w.toLocaleLowerCase())}else return p.type.toLocaleLowerCase()===s}).map(p=>{if(typeof d=="object"&&"ids"in d){const m=d.data,{schema:y,table:S,commit_timestamp:v,type:h,errors:w}=m;d=Object.assign(Object.assign({},{schema:y,table:S,commit_timestamp:v,eventType:h,new:{},old:{},errors:w}),this._getPayloadRecords(m))}p.callback(d,r)})}_isClosed(){return this.state===ln.closed}_isJoined(){return this.state===ln.joined}_isJoining(){return this.state===ln.joining}_isLeaving(){return this.state===ln.leaving}_replyEventName(t){return`chan_reply_${t}`}_on(t,n,r){const i=t.toLocaleLowerCase(),o={type:i,filter:n,callback:r};return this.bindings[i]?this.bindings[i].push(o):this.bindings[i]=[o],this}_off(t,n){const r=t.toLocaleLowerCase();return this.bindings[r]=this.bindings[r].filter(i=>{var o;return!(((o=i.type)===null||o===void 0?void 0:o.toLocaleLowerCase())===r&&Dh.isEqual(i.filter,n))}),this}static isEqual(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const r in t)if(t[r]!==n[r])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(t){this._on(zn.close,{},t)}_onError(t){this._on(zn.error,{},n=>t(n))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(t=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=ln.joining,this.joinPush.resend(t))}_getPayloadRecords(t){const n={new:{},old:{}};return(t.type==="INSERT"||t.type==="UPDATE")&&(n.new=H0(t.columns,t.record)),(t.type==="UPDATE"||t.type==="DELETE")&&(n.old=H0(t.columns,t.old_record)),n}}var id=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(f){s(f)}}function l(u){try{c(r.throw(u))}catch(f){s(f)}}function c(u){u.done?o(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};const Rb=()=>{};class Ib{constructor(t,n){var r;this.accessToken=null,this.channels=[],this.endPoint="",this.headers=_b,this.params={},this.timeout=Cv,this.transport=bb.w3cwebsocket,this.heartbeatIntervalMs=3e4,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.ref=0,this.logger=Rb,this.conn=null,this.sendBuffer=[],this.serializer=new Eb,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.eventsPerSecondLimitMs=100,this.inThrottle=!1,this.endPoint=`${t}/${Sf.websocket}`,n!=null&&n.params&&(this.params=n.params),n!=null&&n.headers&&(this.headers=Object.assign(Object.assign({},this.headers),n.headers)),n!=null&&n.timeout&&(this.timeout=n.timeout),n!=null&&n.logger&&(this.logger=n.logger),n!=null&&n.transport&&(this.transport=n.transport),n!=null&&n.heartbeatIntervalMs&&(this.heartbeatIntervalMs=n.heartbeatIntervalMs);const i=(r=n==null?void 0:n.params)===null||r===void 0?void 0:r.eventsPerSecond;i&&(this.eventsPerSecondLimitMs=Math.floor(1e3/i)),this.reconnectAfterMs=n!=null&&n.reconnectAfterMs?n.reconnectAfterMs:o=>[1e3,2e3,5e3,1e4][o-1]||1e4,this.encode=n!=null&&n.encode?n.encode:(o,s)=>s(JSON.stringify(o)),this.decode=n!=null&&n.decode?n.decode:this.serializer.decode.bind(this.serializer),this.reconnectTimer=new Ov(()=>id(this,void 0,void 0,function*(){this.disconnect(),this.connect()}),this.reconnectAfterMs)}connect(){this.conn||(this.conn=new this.transport(this._endPointURL(),[],null,this.headers),this.conn&&(this.conn.binaryType="arraybuffer",this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=t=>this._onConnError(t),this.conn.onmessage=t=>this._onConnMessage(t),this.conn.onclose=t=>this._onConnClose(t)))}disconnect(t,n){this.conn&&(this.conn.onclose=function(){},t?this.conn.close(t,n??""):this.conn.close(),this.conn=null,this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.reset())}getChannels(){return this.channels}removeChannel(t){return id(this,void 0,void 0,function*(){const n=yield t.unsubscribe();return this.channels.length===0&&this.disconnect(),n})}removeAllChannels(){return id(this,void 0,void 0,function*(){const t=yield Promise.all(this.channels.map(n=>n.unsubscribe()));return this.disconnect(),t})}log(t,n,r){this.logger(t,n,r)}connectionState(){switch(this.conn&&this.conn.readyState){case Ks.connecting:return wi.Connecting;case Ks.open:return wi.Open;case Ks.closing:return wi.Closing;default:return wi.Closed}}isConnected(){return this.connectionState()===wi.Open}channel(t,n={config:{}}){this.isConnected()||this.connect();const r=new Dh(`realtime:${t}`,n,this);return this.channels.push(r),r}push(t){const{topic:n,event:r,payload:i,ref:o}=t;let s=()=>{this.encode(t,a=>{var l;(l=this.conn)===null||l===void 0||l.send(a)})};if(this.log("push",`${n} ${r} (${o})`,i),this.isConnected())if(["broadcast","presence","postgres_changes"].includes(r)){if(this._throttle(s)())return"rate limited"}else s();else this.sendBuffer.push(s)}setAuth(t){this.accessToken=t,this.channels.forEach(n=>{t&&n.updateJoinPayload({access_token:t}),n.joinedOnce&&n._isJoined()&&n._push(zn.access_token,{access_token:t})})}_makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,this.ref.toString()}_leaveOpenTopic(t){let n=this.channels.find(r=>r.topic===t&&(r._isJoined()||r._isJoining()));n&&(this.log("transport",`leaving duplicate topic "${t}"`),n.unsubscribe())}_remove(t){this.channels=this.channels.filter(n=>n._joinRef()!==t._joinRef())}_endPointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:kb}))}_onConnMessage(t){this.decode(t.data,n=>{let{topic:r,event:i,payload:o,ref:s}=n;(s&&s===this.pendingHeartbeatRef||i===(o==null?void 0:o.type))&&(this.pendingHeartbeatRef=null),this.log("receive",`${o.status||""} ${r} ${i} ${s&&"("+s+")"||""}`,o),this.channels.filter(a=>a._isMember(r)).forEach(a=>a._trigger(i,o,s)),this.stateChangeCallbacks.message.forEach(a=>a(n))})}_onConnOpen(){this.log("transport",`connected to ${this._endPointURL()}`),this._flushSendBuffer(),this.reconnectTimer.reset(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this._sendHeartbeat(),this.heartbeatIntervalMs),this.stateChangeCallbacks.open.forEach(t=>t())}_onConnClose(t){this.log("transport","close",t),this._triggerChanError(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(n=>n(t))}_onConnError(t){this.log("transport",t.message),this._triggerChanError(),this.stateChangeCallbacks.error.forEach(n=>n(t))}_triggerChanError(){this.channels.forEach(t=>t._trigger(zn.error))}_appendParams(t,n){if(Object.keys(n).length===0)return t;const r=t.match(/\?/)?"&":"?",i=new URLSearchParams(n);return`${t}${r}${i}`}_flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(t=>t()),this.sendBuffer=[])}_sendHeartbeat(){var t;if(this.isConnected()){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection"),(t=this.conn)===null||t===void 0||t.close(xb,"hearbeat timeout");return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.setAuth(this.accessToken)}}_throttle(t,n=this.eventsPerSecondLimitMs){return()=>this.inThrottle?!0:(t(),n>0&&(this.inThrottle=!0,setTimeout(()=>{this.inThrottle=!1},n)),!1)}}class Fh extends Error{constructor(t){super(t),this.__isStorageError=!0,this.name="StorageError"}}function At(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}class jb extends Fh{constructor(t,n){super(t),this.name="StorageApiError",this.status=n}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class K0 extends Fh{constructor(t,n){super(t),this.name="StorageUnknownError",this.originalError=n}}var Tv=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(f){s(f)}}function l(u){try{c(r.throw(u))}catch(f){s(f)}}function c(u){u.done?o(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};const Pv=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>Tv(void 0,void 0,void 0,function*(){return yield(yield Bu(()=>Promise.resolve().then(()=>Uu),void 0)).fetch(...n)}):t=fetch,(...n)=>t(...n)},Nb=()=>Tv(void 0,void 0,void 0,function*(){return typeof Response>"u"?(yield Bu(()=>Promise.resolve().then(()=>Uu),void 0)).Response:Response});var rs=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(f){s(f)}}function l(u){try{c(r.throw(u))}catch(f){s(f)}}function c(u){u.done?o(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};const od=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),Lb=(e,t)=>rs(void 0,void 0,void 0,function*(){const n=yield Nb();e instanceof n?e.json().then(r=>{t(new jb(od(r),e.status||500))}).catch(r=>{t(new K0(od(r),r))}):t(new K0(od(e),e))}),zb=(e,t,n,r)=>{const i={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?i:(i.headers=Object.assign({"Content-Type":"application/json"},t==null?void 0:t.headers),i.body=JSON.stringify(r),Object.assign(Object.assign({},i),n))};function Hu(e,t,n,r,i,o){return rs(this,void 0,void 0,function*(){return new Promise((s,a)=>{e(n,zb(t,r,i,o)).then(l=>{if(!l.ok)throw l;return r!=null&&r.noResolveJson?l:l.json()}).then(l=>s(l)).catch(l=>Lb(l,a))})})}function kf(e,t,n,r){return rs(this,void 0,void 0,function*(){return Hu(e,"GET",t,n,r)})}function Fr(e,t,n,r,i){return rs(this,void 0,void 0,function*(){return Hu(e,"POST",t,r,i,n)})}function Mb(e,t,n,r,i){return rs(this,void 0,void 0,function*(){return Hu(e,"PUT",t,r,i,n)})}function Av(e,t,n,r,i){return rs(this,void 0,void 0,function*(){return Hu(e,"DELETE",t,r,i,n)})}var kn=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(f){s(f)}}function l(u){try{c(r.throw(u))}catch(f){s(f)}}function c(u){u.done?o(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};const Db={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},Y0={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class Fb{constructor(t,n={},r,i){this.url=t,this.headers=n,this.bucketId=r,this.fetch=Pv(i)}uploadOrUpdate(t,n,r,i){return kn(this,void 0,void 0,function*(){try{let o;const s=Object.assign(Object.assign({},Y0),i),a=Object.assign(Object.assign({},this.headers),t==="POST"&&{"x-upsert":String(s.upsert)});typeof Blob<"u"&&r instanceof Blob?(o=new FormData,o.append("cacheControl",s.cacheControl),o.append("",r)):typeof FormData<"u"&&r instanceof FormData?(o=r,o.append("cacheControl",s.cacheControl)):(o=r,a["cache-control"]=`max-age=${s.cacheControl}`,a["content-type"]=s.contentType);const l=this._removeEmptyFolders(n),c=this._getFinalPath(l),u=yield this.fetch(`${this.url}/object/${c}`,Object.assign({method:t,body:o,headers:a},s!=null&&s.duplex?{duplex:s.duplex}:{}));return u.ok?{data:{path:l},error:null}:{data:null,error:yield u.json()}}catch(o){if(At(o))return{data:null,error:o};throw o}})}upload(t,n,r){return kn(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",t,n,r)})}uploadToSignedUrl(t,n,r,i){return kn(this,void 0,void 0,function*(){const o=this._removeEmptyFolders(t),s=this._getFinalPath(o),a=new URL(this.url+`/object/upload/sign/${s}`);a.searchParams.set("token",n);try{let l;const c=Object.assign({upsert:Y0.upsert},i),u=Object.assign(Object.assign({},this.headers),{"x-upsert":String(c.upsert)});typeof Blob<"u"&&r instanceof Blob?(l=new FormData,l.append("cacheControl",c.cacheControl),l.append("",r)):typeof FormData<"u"&&r instanceof FormData?(l=r,l.append("cacheControl",c.cacheControl)):(l=r,u["cache-control"]=`max-age=${c.cacheControl}`,u["content-type"]=c.contentType);const f=yield this.fetch(a.toString(),{method:"PUT",body:l,headers:u});return f.ok?{data:{path:o},error:null}:{data:null,error:yield f.json()}}catch(l){if(At(l))return{data:null,error:l};throw l}})}createSignedUploadUrl(t){return kn(this,void 0,void 0,function*(){try{let n=this._getFinalPath(t);const r=yield Fr(this.fetch,`${this.url}/object/upload/sign/${n}`,{},{headers:this.headers}),i=new URL(this.url+r.url),o=i.searchParams.get("token");if(!o)throw new Fh("No token returned by API");return{data:{signedUrl:i.toString(),path:t,token:o},error:null}}catch(n){if(At(n))return{data:null,error:n};throw n}})}update(t,n,r){return kn(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",t,n,r)})}move(t,n){return kn(this,void 0,void 0,function*(){try{return{data:yield Fr(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:t,destinationKey:n},{headers:this.headers}),error:null}}catch(r){if(At(r))return{data:null,error:r};throw r}})}copy(t,n){return kn(this,void 0,void 0,function*(){try{return{data:{path:(yield Fr(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:t,destinationKey:n},{headers:this.headers})).Key},error:null}}catch(r){if(At(r))return{data:null,error:r};throw r}})}createSignedUrl(t,n,r){return kn(this,void 0,void 0,function*(){try{let i=this._getFinalPath(t),o=yield Fr(this.fetch,`${this.url}/object/sign/${i}`,Object.assign({expiresIn:n},r!=null&&r.transform?{transform:r.transform}:{}),{headers:this.headers});const s=r!=null&&r.download?`&download=${r.download===!0?"":r.download}`:"";return o={signedUrl:encodeURI(`${this.url}${o.signedURL}${s}`)},{data:o,error:null}}catch(i){if(At(i))return{data:null,error:i};throw i}})}createSignedUrls(t,n,r){return kn(this,void 0,void 0,function*(){try{const i=yield Fr(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:n,paths:t},{headers:this.headers}),o=r!=null&&r.download?`&download=${r.download===!0?"":r.download}`:"";return{data:i.map(s=>Object.assign(Object.assign({},s),{signedUrl:s.signedURL?encodeURI(`${this.url}${s.signedURL}${o}`):null})),error:null}}catch(i){if(At(i))return{data:null,error:i};throw i}})}download(t,n){return kn(this,void 0,void 0,function*(){const i=typeof(n==null?void 0:n.transform)<"u"?"render/image/authenticated":"object",o=this.transformOptsToQueryString((n==null?void 0:n.transform)||{}),s=o?`?${o}`:"";try{const a=this._getFinalPath(t);return{data:yield(yield kf(this.fetch,`${this.url}/${i}/${a}${s}`,{headers:this.headers,noResolveJson:!0})).blob(),error:null}}catch(a){if(At(a))return{data:null,error:a};throw a}})}getPublicUrl(t,n){const r=this._getFinalPath(t),i=[],o=n!=null&&n.download?`download=${n.download===!0?"":n.download}`:"";o!==""&&i.push(o);const a=typeof(n==null?void 0:n.transform)<"u"?"render/image":"object",l=this.transformOptsToQueryString((n==null?void 0:n.transform)||{});l!==""&&i.push(l);let c=i.join("&");return c!==""&&(c=`?${c}`),{data:{publicUrl:encodeURI(`${this.url}/${a}/public/${r}${c}`)}}}remove(t){return kn(this,void 0,void 0,function*(){try{return{data:yield Av(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:t},{headers:this.headers}),error:null}}catch(n){if(At(n))return{data:null,error:n};throw n}})}list(t,n,r){return kn(this,void 0,void 0,function*(){try{const i=Object.assign(Object.assign(Object.assign({},Db),n),{prefix:t||""});return{data:yield Fr(this.fetch,`${this.url}/object/list/${this.bucketId}`,i,{headers:this.headers},r),error:null}}catch(i){if(At(i))return{data:null,error:i};throw i}})}_getFinalPath(t){return`${this.bucketId}/${t}`}_removeEmptyFolders(t){return t.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(t){const n=[];return t.width&&n.push(`width=${t.width}`),t.height&&n.push(`height=${t.height}`),t.resize&&n.push(`resize=${t.resize}`),t.format&&n.push(`format=${t.format}`),t.quality&&n.push(`quality=${t.quality}`),n.join("&")}}const Bb="2.5.1",Ub={"X-Client-Info":`storage-js/${Bb}`};var ro=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(f){s(f)}}function l(u){try{c(r.throw(u))}catch(f){s(f)}}function c(u){u.done?o(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};class Hb{constructor(t,n={},r){this.url=t,this.headers=Object.assign(Object.assign({},Ub),n),this.fetch=Pv(r)}listBuckets(){return ro(this,void 0,void 0,function*(){try{return{data:yield kf(this.fetch,`${this.url}/bucket`,{headers:this.headers}),error:null}}catch(t){if(At(t))return{data:null,error:t};throw t}})}getBucket(t){return ro(this,void 0,void 0,function*(){try{return{data:yield kf(this.fetch,`${this.url}/bucket/${t}`,{headers:this.headers}),error:null}}catch(n){if(At(n))return{data:null,error:n};throw n}})}createBucket(t,n={public:!1}){return ro(this,void 0,void 0,function*(){try{return{data:yield Fr(this.fetch,`${this.url}/bucket`,{id:t,name:t,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(r){if(At(r))return{data:null,error:r};throw r}})}updateBucket(t,n){return ro(this,void 0,void 0,function*(){try{return{data:yield Mb(this.fetch,`${this.url}/bucket/${t}`,{id:t,name:t,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(r){if(At(r))return{data:null,error:r};throw r}})}emptyBucket(t){return ro(this,void 0,void 0,function*(){try{return{data:yield Fr(this.fetch,`${this.url}/bucket/${t}/empty`,{},{headers:this.headers}),error:null}}catch(n){if(At(n))return{data:null,error:n};throw n}})}deleteBucket(t){return ro(this,void 0,void 0,function*(){try{return{data:yield Av(this.fetch,`${this.url}/bucket/${t}`,{},{headers:this.headers}),error:null}}catch(n){if(At(n))return{data:null,error:n};throw n}})}}class Wb extends Hb{constructor(t,n={},r){super(t,n,r)}from(t){return new Fb(this.url,this.headers,t,this.fetch)}}const Vb="2.26.0",Gb={"X-Client-Info":`supabase-js/${Vb}`};var qb=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(f){s(f)}}function l(u){try{c(r.throw(u))}catch(f){s(f)}}function c(u){u.done?o(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};const Kb=e=>{let t;return e?t=e:typeof fetch>"u"?t=Mh:t=fetch,(...n)=>t(...n)},Yb=()=>typeof Headers>"u"?zh.Headers:Headers,Qb=(e,t,n)=>{const r=Kb(n),i=Yb();return(o,s)=>qb(void 0,void 0,void 0,function*(){var a;const l=(a=yield t())!==null&&a!==void 0?a:e;let c=new i(s==null?void 0:s.headers);return c.has("apikey")||c.set("apikey",e),c.has("Authorization")||c.set("Authorization",`Bearer ${l}`),r(o,Object.assign(Object.assign({},s),{headers:c}))})};function Jb(e){return e.replace(/\/$/,"")}function Xb(e,t){const{db:n,auth:r,realtime:i,global:o}=e,{db:s,auth:a,realtime:l,global:c}=t;return{db:Object.assign(Object.assign({},s),n),auth:Object.assign(Object.assign({},a),r),realtime:Object.assign(Object.assign({},l),i),global:Object.assign(Object.assign({},c),o)}}function Zb(e){return Math.round(Date.now()/1e3)+e}function eS(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}const cr=()=>typeof document<"u",mi={tested:!1,writable:!1},jl=()=>{if(!cr())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(mi.tested)return mi.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),mi.tested=!0,mi.writable=!0}catch{mi.tested=!0,mi.writable=!1}return mi.writable};function Yt(e,t){var n;t||(t=((n=window==null?void 0:window.location)===null||n===void 0?void 0:n.href)||""),e=e.replace(/[\[\]]/g,"\\$&");const r=new RegExp("[?&#]"+e+"(=([^&#]*)|&|#|$)"),i=r.exec(t);return i?i[2]?decodeURIComponent(i[2].replace(/\+/g," ")):"":null}const Rv=e=>{let t;return e?t=e:typeof fetch>"u"?t=async(...n)=>await(await Bu(()=>Promise.resolve().then(()=>Uu),void 0)).fetch(...n):t=fetch,(...n)=>t(...n)},tS=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",Cs=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},pl=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return n}},sd=async(e,t)=>{await e.removeItem(t)};function nS(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let n="",r,i,o,s,a,l,c,u=0;for(e=e.replace("-","+").replace("_","/");u>4,i=(a&15)<<4|l>>2,o=(l&3)<<6|c,n=n+String.fromCharCode(r),l!=64&&i!=0&&(n=n+String.fromCharCode(i)),c!=64&&o!=0&&(n=n+String.fromCharCode(o));return n}class Wu{constructor(){this.promise=new Wu.promiseConstructor((t,n)=>{this.resolve=t,this.reject=n})}}Wu.promiseConstructor=Promise;function Q0(e){const t=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}=?$|[a-z0-9_-]{2}(==)?$)$/i,n=e.split(".");if(n.length!==3)throw new Error("JWT is not valid: not a JWT structure");if(!t.test(n[1]))throw new Error("JWT is not valid: payload is not in base64url format");const r=n[1];return JSON.parse(nS(r))}function rS(e){return new Promise(t=>{setTimeout(()=>t(null),e)})}function iS(e,t){return new Promise((r,i)=>{(async()=>{for(let o=0;o<1/0;o++)try{const s=await e(o);if(!t(o,null,s)){r(s);return}}catch(s){if(!t(o,s)){i(s);return}}})()})}function oS(e){return("0"+e.toString(16)).substr(-2)}function ml(){const t=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=n.length;let i="";for(let o=0;o<56;o++)i+=n.charAt(Math.floor(Math.random()*r));return i}return crypto.getRandomValues(t),Array.from(t,oS).join("")}async function sS(e){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),i=new Uint8Array(r);return Array.from(i).map(o=>String.fromCharCode(o)).join("")}function aS(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function gl(e){if(typeof crypto>"u")return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const t=await sS(e);return aS(t)}class Bh extends Error{constructor(t,n){super(t),this.__isAuthError=!0,this.name="AuthError",this.status=n}}function be(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class lS extends Bh{constructor(t,n){super(t,n),this.name="AuthApiError",this.status=n}toJSON(){return{name:this.name,message:this.message,status:this.status}}}function uS(e){return be(e)&&e.name==="AuthApiError"}class Iv extends Bh{constructor(t,n){super(t),this.name="AuthUnknownError",this.originalError=n}}class is extends Bh{constructor(t,n,r){super(t),this.name=n,this.status=r}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class io extends is{constructor(){super("Auth session missing!","AuthSessionMissingError",400)}}class ad extends is{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500)}}class vl extends is{constructor(t){super(t,"AuthInvalidCredentialsError",400)}}class ur extends is{constructor(t,n=null){super(t,"AuthImplicitGrantRedirectError",500),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class ld extends is{constructor(t,n=null){super(t,"AuthPKCEGrantCodeExchangeError",500),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class xf extends is{constructor(t,n){super(t,"AuthRetryableFetchError",n)}}function J0(e){return be(e)&&e.name==="AuthRetryableFetchError"}var cS=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.msg||e.message||e.error_description||e.error||JSON.stringify(e),dS=[502,503,504];async function X0(e){if(!tS(e))throw new xf(Ns(e),0);if(dS.includes(e.status))throw new xf(Ns(e),e.status);let t;try{t=await e.json()}catch(n){throw new Iv(Ns(n),n)}throw new lS(Ns(t),e.status||500)}const fS=(e,t,n,r)=>{const i={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?i:(i.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},t==null?void 0:t.headers),i.body=JSON.stringify(r),Object.assign(Object.assign({},i),n))};async function Ce(e,t,n,r){var i;const o=Object.assign({},r==null?void 0:r.headers);r!=null&&r.jwt&&(o.Authorization=`Bearer ${r.jwt}`);const s=(i=r==null?void 0:r.query)!==null&&i!==void 0?i:{};r!=null&&r.redirectTo&&(s.redirect_to=r.redirectTo);const a=Object.keys(s).length?"?"+new URLSearchParams(s).toString():"",l=await hS(e,t,n+a,{headers:o,noResolveJson:r==null?void 0:r.noResolveJson},{},r==null?void 0:r.body);return r!=null&&r.xform?r==null?void 0:r.xform(l):{data:Object.assign({},l),error:null}}async function hS(e,t,n,r,i,o){const s=fS(t,r,i,o);let a;try{a=await e(n,s)}catch(l){throw console.error(l),new xf(Ns(l),0)}if(a.ok||await X0(a),r!=null&&r.noResolveJson)return a;try{return await a.json()}catch(l){await X0(l)}}function Lr(e){var t;let n=null;vS(e)&&(n=Object.assign({},e),n.expires_at=Zb(e.expires_in));const r=(t=e.user)!==null&&t!==void 0?t:e;return{data:{session:n,user:r},error:null}}function bi(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function pS(e){return{data:e,error:null}}function mS(e){const{action_link:t,email_otp:n,hashed_token:r,redirect_to:i,verification_type:o}=e,s=cS(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),a={action_link:t,email_otp:n,hashed_token:r,redirect_to:i,verification_type:o},l=Object.assign({},s);return{data:{properties:a,user:l},error:null}}function gS(e){return e}function vS(e){return e.access_token&&e.refresh_token&&e.expires_in}var yS=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0&&(p.forEach(m=>{const y=parseInt(m.split(";")[0].split("=")[1].substring(0,1)),S=JSON.parse(m.split(";")[1].split("=")[1]);c[`${S}Page`]=y}),c.total=parseInt(d)),{data:Object.assign(Object.assign({},f),c),error:null}}catch(c){if(be(c))return{data:{users:[]},error:c};throw c}}async getUserById(t){try{return await Ce(this.fetch,"GET",`${this.url}/admin/users/${t}`,{headers:this.headers,xform:bi})}catch(n){if(be(n))return{data:{user:null},error:n};throw n}}async updateUserById(t,n){try{return await Ce(this.fetch,"PUT",`${this.url}/admin/users/${t}`,{body:n,headers:this.headers,xform:bi})}catch(r){if(be(r))return{data:{user:null},error:r};throw r}}async deleteUser(t,n=!1){try{return await Ce(this.fetch,"DELETE",`${this.url}/admin/users/${t}`,{headers:this.headers,body:{should_soft_delete:n},xform:bi})}catch(r){if(be(r))return{data:{user:null},error:r};throw r}}async _listFactors(t){try{const{data:n,error:r}=await Ce(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/factors`,{headers:this.headers,xform:i=>({data:{factors:i},error:null})});return{data:n,error:r}}catch(n){if(be(n))return{data:null,error:n};throw n}}async _deleteFactor(t){try{return{data:await Ce(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/factors/${t.id}`,{headers:this.headers}),error:null}}catch(n){if(be(n))return{data:null,error:n};throw n}}}const bS="2.42.0",SS="http://localhost:9999",_S="supabase.auth.token",kS={"X-Client-Info":`gotrue-js/${bS}`},Z0=10,em={getItem:e=>jl()?globalThis.localStorage.getItem(e):null,setItem:(e,t)=>{jl()&&globalThis.localStorage.setItem(e,t)},removeItem:e=>{jl()&&globalThis.localStorage.removeItem(e)}};function xS(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}xS();const ES={url:SS,storageKey:_S,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:kS,flowType:"implicit",debug:!1},yl=30*1e3,tm=3;class va{constructor(t){var n;this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.broadcastChannel=null,this.instanceID=va.nextInstanceID,va.nextInstanceID+=1,this.instanceID>0&&cr()&&console.warn("Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.");const r=Object.assign(Object.assign({},ES),t);if(this.logDebugMessages=r.debug,this.inMemorySession=null,this.storageKey=r.storageKey,this.autoRefreshToken=r.autoRefreshToken,this.persistSession=r.persistSession,this.storage=r.storage||em,this.admin=new wS({url:r.url,headers:r.headers,fetch:r.fetch}),this.url=r.url,this.headers=r.headers,this.fetch=Rv(r.fetch),this.detectSessionInUrl=r.detectSessionInUrl,this.flowType=r.flowType,this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this)},this.persistSession&&this.storage===em&&!jl()&&console.warn(`No storage option exists to persist the session, which may result in unexpected behavior when using auth. - If you want to set persistSession to true, please provide a storage option or you may set persistSession to false to disable this warning.`),cr()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(i){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",i)}(n=this.broadcastChannel)===null||n===void 0||n.addEventListener("message",async i=>{this._debug("received broadcast notification from other tab or client",i),await this._notifyAllSubscribers(i.data.event,i.data.session,!1)})}this.initialize()}_debug(...t){return this.logDebugMessages&&console.log(`GoTrueClient@${this.instanceID} ${new Date().toISOString()}`,...t),this}initialize(){return this.initializePromise||(this.initializePromise=this._initialize()),this.initializePromise}async _initialize(){if(this.initializePromise)return this.initializePromise;try{const t=cr()?await this._isPKCEFlow():!1;if(this._debug("#_initialize()","begin","is PKCE flow",t),t||this.detectSessionInUrl&&this._isImplicitGrantFlow()){const{data:n,error:r}=await this._getSessionFromUrl(t);if(r)return this._debug("#_initialize()","error detecting session from URL",r),await this._removeSession(),{error:r};const{session:i,redirectType:o}=n;return this._debug("#_initialize()","detected session in URL",i,"redirect type",o),await this._saveSession(i),setTimeout(async()=>{o==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",i):await this._notifyAllSubscribers("SIGNED_IN",i)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(t){return be(t)?{error:t}:{error:new Iv("Unexpected error during initialization",t)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signUp(t){var n,r,i;try{await this._removeSession();let o;if("email"in t){const{email:u,password:f,options:d}=t;let p=null,m=null;if(this.flowType==="pkce"){const y=ml();await Cs(this.storage,`${this.storageKey}-code-verifier`,y),p=await gl(y),m=y===p?"plain":"s256"}o=await Ce(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:d==null?void 0:d.emailRedirectTo,body:{email:u,password:f,data:(n=d==null?void 0:d.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:d==null?void 0:d.captchaToken},code_challenge:p,code_challenge_method:m},xform:Lr})}else if("phone"in t){const{phone:u,password:f,options:d}=t;o=await Ce(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:u,password:f,data:(r=d==null?void 0:d.data)!==null&&r!==void 0?r:{},channel:(i=d==null?void 0:d.channel)!==null&&i!==void 0?i:"sms",gotrue_meta_security:{captcha_token:d==null?void 0:d.captchaToken}},xform:Lr})}else throw new vl("You must provide either an email or phone number and a password");const{data:s,error:a}=o;if(a||!s)return{data:{user:null,session:null},error:a};const l=s.session,c=s.user;return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",l)),{data:{user:c,session:l},error:null}}catch(o){if(be(o))return{data:{user:null,session:null},error:o};throw o}}async signInWithPassword(t){try{await this._removeSession();let n;if("email"in t){const{email:o,password:s,options:a}=t;n=await Ce(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:o,password:s,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:Lr})}else if("phone"in t){const{phone:o,password:s,options:a}=t;n=await Ce(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:o,password:s,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:Lr})}else throw new vl("You must provide either an email or phone number and a password");const{data:r,error:i}=n;return i?{data:{user:null,session:null},error:i}:!r||!r.session||!r.user?{data:{user:null,session:null},error:new ad}:(r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),{data:{user:r.user,session:r.session},error:i})}catch(n){if(be(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOAuth(t){var n,r,i,o;return await this._removeSession(),await this._handleProviderSignIn(t.provider,{redirectTo:(n=t.options)===null||n===void 0?void 0:n.redirectTo,scopes:(r=t.options)===null||r===void 0?void 0:r.scopes,queryParams:(i=t.options)===null||i===void 0?void 0:i.queryParams,skipBrowserRedirect:(o=t.options)===null||o===void 0?void 0:o.skipBrowserRedirect})}async exchangeCodeForSession(t){const n=await pl(this.storage,`${this.storageKey}-code-verifier`),{data:r,error:i}=await Ce(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:n},xform:Lr});return await sd(this.storage,`${this.storageKey}-code-verifier`),i?{data:{user:null,session:null},error:i}:!r||!r.session||!r.user?{data:{user:null,session:null},error:new ad}:(r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),{data:r,error:i})}async signInWithIdToken(t){await this._removeSession();try{const{options:n,provider:r,token:i,access_token:o,nonce:s}=t,a=await Ce(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:i,access_token:o,nonce:s,gotrue_meta_security:{captcha_token:n==null?void 0:n.captchaToken}},xform:Lr}),{data:l,error:c}=a;return c?{data:{user:null,session:null},error:c}:!l||!l.session||!l.user?{data:{user:null,session:null},error:new ad}:(l.session&&(await this._saveSession(l.session),await this._notifyAllSubscribers("SIGNED_IN",l.session)),{data:l,error:c})}catch(n){if(be(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOtp(t){var n,r,i,o,s;try{if(await this._removeSession(),"email"in t){const{email:a,options:l}=t;let c=null,u=null;if(this.flowType==="pkce"){const d=ml();await Cs(this.storage,`${this.storageKey}-code-verifier`,d),c=await gl(d),u=d===c?"plain":"s256"}const{error:f}=await Ce(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:a,data:(n=l==null?void 0:l.data)!==null&&n!==void 0?n:{},create_user:(r=l==null?void 0:l.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},code_challenge:c,code_challenge_method:u},redirectTo:l==null?void 0:l.emailRedirectTo});return{data:{user:null,session:null},error:f}}if("phone"in t){const{phone:a,options:l}=t,{data:c,error:u}=await Ce(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:a,data:(i=l==null?void 0:l.data)!==null&&i!==void 0?i:{},create_user:(o=l==null?void 0:l.shouldCreateUser)!==null&&o!==void 0?o:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},channel:(s=l==null?void 0:l.channel)!==null&&s!==void 0?s:"sms"}});return{data:{user:null,session:null,messageId:c==null?void 0:c.message_id},error:u}}throw new vl("You must provide either an email or phone number.")}catch(a){if(be(a))return{data:{user:null,session:null},error:a};throw a}}async verifyOtp(t){var n,r;try{t.type!=="email_change"&&t.type!=="phone_change"&&await this._removeSession();const{data:i,error:o}=await Ce(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:(n=t.options)===null||n===void 0?void 0:n.captchaToken}}),redirectTo:(r=t.options)===null||r===void 0?void 0:r.redirectTo,xform:Lr});if(o)throw o;if(!i)throw new Error("An error occurred on token verification.");const s=i.session,a=i.user;return s!=null&&s.access_token&&(await this._saveSession(s),await this._notifyAllSubscribers("SIGNED_IN",s)),{data:{user:a,session:s},error:null}}catch(i){if(be(i))return{data:{user:null,session:null},error:i};throw i}}async signInWithSSO(t){var n,r,i;try{return await this._removeSession(),await Ce(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in t?{provider_id:t.providerId}:null),"domain"in t?{domain:t.domain}:null),{redirect_to:(r=(n=t.options)===null||n===void 0?void 0:n.redirectTo)!==null&&r!==void 0?r:void 0}),!((i=t==null?void 0:t.options)===null||i===void 0)&&i.captchaToken?{gotrue_meta_security:{captcha_token:t.options.captchaToken}}:null),{skip_http_redirect:!0}),headers:this.headers,xform:pS})}catch(o){if(be(o))return{data:null,error:o};throw o}}async reauthenticate(){try{const{data:{session:t},error:n}=await this.getSession();if(n)throw n;if(!t)throw new io;const{error:r}=await Ce(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:t.access_token});return{data:{user:null,session:null},error:r}}catch(t){if(be(t))return{data:{user:null,session:null},error:t};throw t}}async resend(t){try{t.type!="email_change"&&t.type!="phone_change"&&await this._removeSession();const n=`${this.url}/resend`;if("email"in t){const{email:r,type:i,options:o}=t,{error:s}=await Ce(this.fetch,"POST",n,{headers:this.headers,body:{email:r,type:i,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken}},redirectTo:o==null?void 0:o.emailRedirectTo});return{data:{user:null,session:null},error:s}}else if("phone"in t){const{phone:r,type:i,options:o}=t,{data:s,error:a}=await Ce(this.fetch,"POST",n,{headers:this.headers,body:{phone:r,type:i,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken}}});return{data:{user:null,session:null,messageId:s==null?void 0:s.message_id},error:a}}throw new vl("You must provide either an email or phone number and a type")}catch(n){if(be(n))return{data:{user:null,session:null},error:n};throw n}}async getSession(){await this.initializePromise,this._debug("#getSession()","begin");try{let t=null;if(this.persistSession){const o=await pl(this.storage,this.storageKey);this._debug("#getSession()","session from storage",o),o!==null&&(this._isValidSession(o)?t=o:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession()))}else t=this.inMemorySession,this._debug("#getSession()","session from memory",t);if(!t)return{data:{session:null},error:null};const n=t.expires_at?t.expires_at<=Date.now()/1e3:!1;if(this._debug("#getSession()",`session has${n?"":" not"} expired`,"expires_at",t.expires_at),!n)return{data:{session:t},error:null};const{session:r,error:i}=await this._callRefreshToken(t.refresh_token);return i?{data:{session:null},error:i}:{data:{session:r},error:null}}finally{this._debug("#getSession()","end")}}async getUser(t){var n,r;try{if(!t){const{data:i,error:o}=await this.getSession();if(o)throw o;t=(r=(n=i.session)===null||n===void 0?void 0:n.access_token)!==null&&r!==void 0?r:void 0}return await Ce(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:t,xform:bi})}catch(i){if(be(i))return{data:{user:null},error:i};throw i}}async updateUser(t,n={}){try{const{data:r,error:i}=await this.getSession();if(i)throw i;if(!r.session)throw new io;const o=r.session,{data:s,error:a}=await Ce(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n==null?void 0:n.emailRedirectTo,body:t,jwt:o.access_token,xform:bi});if(a)throw a;return o.user=s.user,await this._saveSession(o),await this._notifyAllSubscribers("USER_UPDATED",o),{data:{user:o.user},error:null}}catch(r){if(be(r))return{data:{user:null},error:r};throw r}}_decodeJWT(t){return Q0(t)}async setSession(t){try{if(!t.access_token||!t.refresh_token)throw new io;const n=Date.now()/1e3;let r=n,i=!0,o=null;const s=Q0(t.access_token);if(s.exp&&(r=s.exp,i=r<=n),i){const{session:a,error:l}=await this._callRefreshToken(t.refresh_token);if(l)return{data:{user:null,session:null},error:l};if(!a)return{data:{user:null,session:null},error:null};o=a}else{const{data:a,error:l}=await this.getUser(t.access_token);if(l)throw l;o={access_token:t.access_token,refresh_token:t.refresh_token,user:a.user,token_type:"bearer",expires_in:r-n,expires_at:r},await this._saveSession(o),await this._notifyAllSubscribers("SIGNED_IN",o)}return{data:{user:o.user,session:o},error:null}}catch(n){if(be(n))return{data:{session:null,user:null},error:n};throw n}}async refreshSession(t){var n;try{if(!t){const{data:o,error:s}=await this.getSession();if(s)throw s;t=(n=o.session)!==null&&n!==void 0?n:void 0}if(!(t!=null&&t.refresh_token))throw new io;const{session:r,error:i}=await this._callRefreshToken(t.refresh_token);return i?{data:{user:null,session:null},error:i}:r?{data:{user:r.user,session:r},error:null}:{data:{user:null,session:null},error:null}}catch(r){if(be(r))return{data:{user:null,session:null},error:r};throw r}}async _getSessionFromUrl(t){try{if(!cr())throw new ur("No browser detected.");if(this.flowType==="implicit"&&!this._isImplicitGrantFlow())throw new ur("Not a valid implicit grant flow url.");if(this.flowType=="pkce"&&!t)throw new ld("Not a valid PKCE flow url.");if(t){const S=Yt("code");if(!S)throw new ld("No code detected.");const{data:v,error:h}=await this.exchangeCodeForSession(S);if(h)throw h;if(!v.session)throw new ld("No session detected.");let w=new URL(window.location.href);return w.searchParams.delete("code"),window.history.replaceState(window.history.state,"",w.toString()),{data:{session:v.session,redirectType:null},error:null}}const n=Yt("error_description");if(n){const S=Yt("error_code");if(!S)throw new ur("No error_code detected.");const v=Yt("error");throw v?new ur(n,{error:v,code:S}):new ur("No error detected.")}const r=Yt("provider_token"),i=Yt("provider_refresh_token"),o=Yt("access_token");if(!o)throw new ur("No access_token detected.");const s=Yt("expires_in");if(!s)throw new ur("No expires_in detected.");const a=Yt("refresh_token");if(!a)throw new ur("No refresh_token detected.");const l=Yt("token_type");if(!l)throw new ur("No token_type detected.");const u=Math.round(Date.now()/1e3)+parseInt(s),{data:f,error:d}=await this.getUser(o);if(d)throw d;const p=f.user,m={provider_token:r,provider_refresh_token:i,access_token:o,expires_in:parseInt(s),expires_at:u,refresh_token:a,token_type:l,user:p},y=Yt("type");return window.location.hash="",this._debug("#_getSessionFromUrl()","clearing window.location.hash"),{data:{session:m,redirectType:y},error:null}}catch(n){if(be(n))return{data:{session:null,redirectType:null},error:n};throw n}}_isImplicitGrantFlow(){return cr()&&(!!Yt("access_token")||!!Yt("error_description"))}async _isPKCEFlow(){const t=await pl(this.storage,`${this.storageKey}-code-verifier`);return!!Yt("code")&&!!t}async signOut({scope:t}={scope:"global"}){var n;const{data:r,error:i}=await this.getSession();if(i)return{error:i};const o=(n=r.session)===null||n===void 0?void 0:n.access_token;if(o){const{error:s}=await this.admin.signOut(o,t);if(s&&!(uS(s)&&(s.status===404||s.status===401)))return{error:s}}return t!=="others"&&(await this._removeSession(),await sd(this.storage,`${this.storageKey}-code-verifier`),await this._notifyAllSubscribers("SIGNED_OUT",null)),{error:null}}onAuthStateChange(t){const n=eS(),r={id:n,callback:t,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,r),this._emitInitialSession(n),{data:{subscription:r}}}async _emitInitialSession(t){var n,r;try{const{data:{session:i},error:o}=await this.getSession();if(o)throw o;await((n=this.stateChangeEmitters.get(t))===null||n===void 0?void 0:n.callback("INITIAL_SESSION",i)),this._debug("INITIAL_SESSION","callback id",t,"session",i)}catch(i){await((r=this.stateChangeEmitters.get(t))===null||r===void 0?void 0:r.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",t,"error",i),console.error(i)}}async resetPasswordForEmail(t,n={}){let r=null,i=null;if(this.flowType==="pkce"){const o=ml();await Cs(this.storage,`${this.storageKey}-code-verifier`,o),r=await gl(o),i=o===r?"plain":"s256"}try{return await Ce(this.fetch,"POST",`${this.url}/recover`,{body:{email:t,code_challenge:r,code_challenge_method:i,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(o){if(be(o))return{data:null,error:o};throw o}}async _refreshAccessToken(t){const n=`#_refreshAccessToken(${t.substring(0,5)}...)`;this._debug(n,"begin");try{const r=Date.now();return await iS(async i=>(await rS(i*200),this._debug(n,"refreshing attempt",i),await Ce(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:Lr})),(i,o,s)=>s&&s.error&&J0(s.error)&&Date.now()+(i+1)*200-r{try{await a.callback(t,n)}catch(l){o.push(l)}});if(await Promise.all(s),o.length>0){for(let a=0;athis._autoRefreshTokenTick(),yl);this.autoRefreshTicker=t,t&&typeof t=="object"&&typeof t.unref=="function"?t.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(t),await this._autoRefreshTokenTick()}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const t=this.autoRefreshTicker;this.autoRefreshTicker=null,t&&clearInterval(t)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{const t=Date.now();try{const{data:{session:n}}=await this.getSession();if(!n||!n.refresh_token||!n.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const r=Math.floor((n.expires_at*1e3-t)/yl);this._debug("#_autoRefreshTokenTick()",`access token expires in ${r} ticks, a tick lasts ${yl}ms, refresh threshold is ${tm} ticks`),r<=tm&&await this._callRefreshToken(n.refresh_token)}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!cr()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(t){console.error("_handleVisibilityChange",t)}}async _onVisibilityChanged(t){this._debug(`#_onVisibilityChanged(${t})`,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(t||(await this.initializePromise,await this._recoverAndRefresh(),this._debug("#_onVisibilityChanged()","finished waiting for initialize, _recoverAndRefresh")),this.autoRefreshToken&&this._startAutoRefresh()):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(t,n){const r=[`provider=${encodeURIComponent(t)}`];if(n!=null&&n.redirectTo&&r.push(`redirect_to=${encodeURIComponent(n.redirectTo)}`),n!=null&&n.scopes&&r.push(`scopes=${encodeURIComponent(n.scopes)}`),this.flowType==="pkce"){const i=ml();await Cs(this.storage,`${this.storageKey}-code-verifier`,i);const o=await gl(i),s=i===o?"plain":"s256";this._debug("PKCE","code verifier",`${i.substring(0,5)}...`,"code challenge",o,"method",s);const a=new URLSearchParams({code_challenge:`${encodeURIComponent(o)}`,code_challenge_method:`${encodeURIComponent(s)}`});r.push(a.toString())}if(n!=null&&n.queryParams){const i=new URLSearchParams(n.queryParams);r.push(i.toString())}return`${this.url}/authorize?${r.join("&")}`}async _unenroll(t){var n;try{const{data:r,error:i}=await this.getSession();return i?{data:null,error:i}:await Ce(this.fetch,"DELETE",`${this.url}/factors/${t.factorId}`,{headers:this.headers,jwt:(n=r==null?void 0:r.session)===null||n===void 0?void 0:n.access_token})}catch(r){if(be(r))return{data:null,error:r};throw r}}async _enroll(t){var n,r;try{const{data:i,error:o}=await this.getSession();if(o)return{data:null,error:o};const{data:s,error:a}=await Ce(this.fetch,"POST",`${this.url}/factors`,{body:{friendly_name:t.friendlyName,factor_type:t.factorType,issuer:t.issuer},headers:this.headers,jwt:(n=i==null?void 0:i.session)===null||n===void 0?void 0:n.access_token});return a?{data:null,error:a}:(!((r=s==null?void 0:s.totp)===null||r===void 0)&&r.qr_code&&(s.totp.qr_code=`data:image/svg+xml;utf-8,${s.totp.qr_code}`),{data:s,error:null})}catch(i){if(be(i))return{data:null,error:i};throw i}}async _verify(t){var n;try{const{data:r,error:i}=await this.getSession();if(i)return{data:null,error:i};const{data:o,error:s}=await Ce(this.fetch,"POST",`${this.url}/factors/${t.factorId}/verify`,{body:{code:t.code,challenge_id:t.challengeId},headers:this.headers,jwt:(n=r==null?void 0:r.session)===null||n===void 0?void 0:n.access_token});return s?{data:null,error:s}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+o.expires_in},o)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",o),{data:o,error:s})}catch(r){if(be(r))return{data:null,error:r};throw r}}async _challenge(t){var n;try{const{data:r,error:i}=await this.getSession();return i?{data:null,error:i}:await Ce(this.fetch,"POST",`${this.url}/factors/${t.factorId}/challenge`,{headers:this.headers,jwt:(n=r==null?void 0:r.session)===null||n===void 0?void 0:n.access_token})}catch(r){if(be(r))return{data:null,error:r};throw r}}async _challengeAndVerify(t){const{data:n,error:r}=await this._challenge({factorId:t.factorId});return r?{data:null,error:r}:await this._verify({factorId:t.factorId,challengeId:n.id,code:t.code})}async _listFactors(){const{data:{user:t},error:n}=await this.getUser();if(n)return{data:null,error:n};const r=(t==null?void 0:t.factors)||[],i=r.filter(o=>o.factor_type==="totp"&&o.status==="verified");return{data:{all:r,totp:i},error:null}}async _getAuthenticatorAssuranceLevel(){var t,n;const{data:{session:r},error:i}=await this.getSession();if(i)return{data:null,error:i};if(!r)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const o=this._decodeJWT(r.access_token);let s=null;o.aal&&(s=o.aal);let a=s;((n=(t=r.user.factors)===null||t===void 0?void 0:t.filter(u=>u.status==="verified"))!==null&&n!==void 0?n:[]).length>0&&(a="aal2");const c=o.amr||[];return{data:{currentLevel:s,nextLevel:a,currentAuthenticationMethods:c},error:null}}}va.nextInstanceID=0;class CS extends va{constructor(t){super(t)}}var OS=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(f){s(f)}}function l(u){try{c(r.throw(u))}catch(f){s(f)}}function c(u){u.done?o(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};const $S={headers:Gb},TS={schema:"public"},PS={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},AS={};class RS{constructor(t,n,r){var i,o,s,a,l,c,u,f;if(this.supabaseUrl=t,this.supabaseKey=n,!t)throw new Error("supabaseUrl is required.");if(!n)throw new Error("supabaseKey is required.");const d=Jb(t);this.realtimeUrl=`${d}/realtime/v1`.replace(/^http/i,"ws"),this.authUrl=`${d}/auth/v1`,this.storageUrl=`${d}/storage/v1`,this.functionsUrl=`${d}/functions/v1`;const p=`sb-${new URL(this.authUrl).hostname.split(".")[0]}-auth-token`,m={db:TS,realtime:AS,auth:Object.assign(Object.assign({},PS),{storageKey:p}),global:$S},y=Xb(r??{},m);this.storageKey=(o=(i=y.auth)===null||i===void 0?void 0:i.storageKey)!==null&&o!==void 0?o:"",this.headers=(a=(s=y.global)===null||s===void 0?void 0:s.headers)!==null&&a!==void 0?a:{},this.auth=this._initSupabaseAuthClient((l=y.auth)!==null&&l!==void 0?l:{},this.headers,(c=y.global)===null||c===void 0?void 0:c.fetch),this.fetch=Qb(n,this._getAccessToken.bind(this),(u=y.global)===null||u===void 0?void 0:u.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers},y.realtime)),this.rest=new X3(`${d}/rest/v1`,{headers:this.headers,schema:(f=y.db)===null||f===void 0?void 0:f.schema,fetch:this.fetch}),this._listenForAuthEvents()}get functions(){return new G3(this.functionsUrl,{headers:this.headers,customFetch:this.fetch})}get storage(){return new Wb(this.storageUrl,this.headers,this.fetch)}from(t){return this.rest.from(t)}rpc(t,n={},r){return this.rest.rpc(t,n,r)}channel(t,n={config:{}}){return this.realtime.channel(t,n)}getChannels(){return this.realtime.getChannels()}removeChannel(t){return this.realtime.removeChannel(t)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){var t,n;return OS(this,void 0,void 0,function*(){const{data:r}=yield this.auth.getSession();return(n=(t=r.session)===null||t===void 0?void 0:t.access_token)!==null&&n!==void 0?n:null})}_initSupabaseAuthClient({autoRefreshToken:t,persistSession:n,detectSessionInUrl:r,storage:i,storageKey:o,flowType:s},a,l){const c={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new CS({url:this.authUrl,headers:Object.assign(Object.assign({},c),a),storageKey:o,autoRefreshToken:t,persistSession:n,detectSessionInUrl:r,storage:i,flowType:s,fetch:l})}_initRealtimeClient(t){return new Ib(this.realtimeUrl,Object.assign(Object.assign({},t),{params:Object.assign({apikey:this.supabaseKey},t==null?void 0:t.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((n,r)=>{this._handleTokenChanged(n,"CLIENT",r==null?void 0:r.access_token)})}_handleTokenChanged(t,n,r){(t==="TOKEN_REFRESHED"||t==="SIGNED_IN")&&this.changedAccessToken!==r?(this.realtime.setAuth(r??null),this.changedAccessToken=r):t==="SIGNED_OUT"&&(this.realtime.setAuth(this.supabaseKey),n=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}}const IS=(e,t,n)=>new RS(e,t,n);var nm,Ie="colors",Ft="sizes",Q="space",jS={gap:Q,gridGap:Q,columnGap:Q,gridColumnGap:Q,rowGap:Q,gridRowGap:Q,inset:Q,insetBlock:Q,insetBlockEnd:Q,insetBlockStart:Q,insetInline:Q,insetInlineEnd:Q,insetInlineStart:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,marginBlock:Q,marginBlockEnd:Q,marginBlockStart:Q,marginInline:Q,marginInlineEnd:Q,marginInlineStart:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,paddingBlock:Q,paddingBlockEnd:Q,paddingBlockStart:Q,paddingInline:Q,paddingInlineEnd:Q,paddingInlineStart:Q,top:Q,right:Q,bottom:Q,left:Q,scrollMargin:Q,scrollMarginTop:Q,scrollMarginRight:Q,scrollMarginBottom:Q,scrollMarginLeft:Q,scrollMarginX:Q,scrollMarginY:Q,scrollMarginBlock:Q,scrollMarginBlockEnd:Q,scrollMarginBlockStart:Q,scrollMarginInline:Q,scrollMarginInlineEnd:Q,scrollMarginInlineStart:Q,scrollPadding:Q,scrollPaddingTop:Q,scrollPaddingRight:Q,scrollPaddingBottom:Q,scrollPaddingLeft:Q,scrollPaddingX:Q,scrollPaddingY:Q,scrollPaddingBlock:Q,scrollPaddingBlockEnd:Q,scrollPaddingBlockStart:Q,scrollPaddingInline:Q,scrollPaddingInlineEnd:Q,scrollPaddingInlineStart:Q,fontSize:"fontSizes",background:Ie,backgroundColor:Ie,backgroundImage:Ie,borderImage:Ie,border:Ie,borderBlock:Ie,borderBlockEnd:Ie,borderBlockStart:Ie,borderBottom:Ie,borderBottomColor:Ie,borderColor:Ie,borderInline:Ie,borderInlineEnd:Ie,borderInlineStart:Ie,borderLeft:Ie,borderLeftColor:Ie,borderRight:Ie,borderRightColor:Ie,borderTop:Ie,borderTopColor:Ie,caretColor:Ie,color:Ie,columnRuleColor:Ie,fill:Ie,outline:Ie,outlineColor:Ie,stroke:Ie,textDecorationColor:Ie,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:Ft,minBlockSize:Ft,maxBlockSize:Ft,inlineSize:Ft,minInlineSize:Ft,maxInlineSize:Ft,width:Ft,minWidth:Ft,maxWidth:Ft,height:Ft,minHeight:Ft,maxHeight:Ft,flexBasis:Ft,gridTemplateColumns:Ft,gridTemplateRows:Ft,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},NS=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,Pa=()=>{const e=Object.create(null);return(t,n,...r)=>{const i=(o=>JSON.stringify(o,NS))(t);return i in e?e[i]:e[i]=n(t,...r)}},Nl=Symbol.for("sxs.internal"),Uh=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),rm=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:LS}=Object.prototype,Ef=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),zS=/\s+(?![^()]*\))/,oo=e=>t=>e(...typeof t=="string"?String(t).split(zS):[t]),im={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:oo((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:oo((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:oo((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:oo((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:oo((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:oo((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},ud=/([\d.]+)([^]*)/,MS=(e,t)=>e.length?e.reduce((n,r)=>(n.push(...t.map(i=>i.includes("&")?i.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(i)?`:is(${r})`:r):r+" "+i)),n),[]):t,DS=(e,t)=>e in FS&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(n,r,i,o)=>r+(i==="stretch"?`-moz-available${o};${Ef(e)}:${r}-webkit-fill-available`:`-moz-fit-content${o};${Ef(e)}:${r}fit-content`)+o):String(t),FS={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},kr=e=>e?e+"-":"",jv=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(r,i,o,s,a)=>s=="$"==!!o?r:(i||s=="--"?"calc(":"")+"var(--"+(s==="$"?kr(t)+(a.includes("$")?"":kr(n))+a.replace(/\$/g,"-"):a)+")"+(i||s=="--"?"*"+(i||"")+(o||"1")+")":"")),BS=/\s*,\s*(?![^()]*\))/,US=Object.prototype.toString,Oo=(e,t,n,r,i)=>{let o,s,a;const l=(c,u,f)=>{let d,p;const m=y=>{for(d in y){const h=d.charCodeAt(0)===64,w=h&&Array.isArray(y[d])?y[d]:[y[d]];for(p of w){const _=/[A-Z]/.test(v=d)?v:v.replace(/-[^]/g,T=>T[1].toUpperCase()),O=typeof p=="object"&&p&&p.toString===US&&(!r.utils[_]||!u.length);if(_ in r.utils&&!O){const T=r.utils[_];if(T!==s){s=T,m(T(p)),s=null;continue}}else if(_ in im){const T=im[_];if(T!==a){a=T,m(T(p)),a=null;continue}}if(h&&(S=d.slice(1)in r.media?"@media "+r.media[d.slice(1)]:d,d=S.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(T,C,R,q,z,K)=>{const Me=ud.test(C),Ne=.0625*(Me?-1:1),[$,P]=Me?[q,C]:[C,q];return"("+(R[0]==="="?"":R[0]===">"===Me?"max-":"min-")+$+":"+(R[0]!=="="&&R.length===1?P.replace(ud,(H,ee,j)=>Number(ee)+Ne*(R===">"?1:-1)+j):P)+(z?") and ("+(z[0]===">"?"min-":"max-")+$+":"+(z.length===1?K.replace(ud,(H,ee,j)=>Number(ee)+Ne*(z===">"?-1:1)+j):K):"")+")"})),O){const T=h?f.concat(d):[...f],C=h?[...u]:MS(u,d.split(BS));o!==void 0&&i(om(...o)),o=void 0,l(p,C,T)}else o===void 0&&(o=[[],u,f]),d=h||d.charCodeAt(0)!==36?d:`--${kr(r.prefix)}${d.slice(1).replace(/\$/g,"-")}`,p=O?p:typeof p=="number"?p&&_ in HS?String(p)+"px":String(p):jv(DS(_,p??""),r.prefix,r.themeMap[_]),o[0].push(`${h?`${d} `:`${Ef(d)}:`}${p}`)}}var S,v};m(c),o!==void 0&&i(om(...o)),o=void 0};l(e,t,n)},om=(e,t,n)=>`${n.map(r=>`${r}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,HS={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},sm=e=>String.fromCharCode(e+(e>25?39:97)),$i=e=>(t=>{let n,r="";for(n=Math.abs(t);n>52;n=n/52|0)r=sm(n%52)+r;return sm(n%52)+r})(((t,n)=>{let r=n.length;for(;r;)t=33*t^n.charCodeAt(--r);return t})(5381,JSON.stringify(e))>>>0),Ls=["themed","global","styled","onevar","resonevar","allvar","inline"],WS=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},VS=e=>{let t;const n=()=>{const{cssRules:i}=t.sheet;return[].map.call(i,(o,s)=>{const{cssText:a}=o;let l="";if(a.startsWith("--sxs"))return"";if(i[s-1]&&(l=i[s-1].cssText).startsWith("--sxs")){if(!o.cssRules.length)return"";for(const c in t.rules)if(t.rules[c].group===o)return`--sxs{--sxs:${[...t.rules[c].cache].join(" ")}}${a}`;return o.cssRules.length?`${l}${a}`:""}return a}).join("")},r=()=>{if(t){const{rules:a,sheet:l}=t;if(!l.deleteRule){for(;Object(Object(l.cssRules)[0]).type===3;)l.cssRules.splice(0,1);l.cssRules=[]}for(const c in a)delete a[c]}const i=Object(e).styleSheets||[];for(const a of i)if(WS(a)){for(let l=0,c=a.cssRules;c[l];++l){const u=Object(c[l]);if(u.type!==1)continue;const f=Object(c[l+1]);if(f.type!==4)continue;++l;const{cssText:d}=u;if(!d.startsWith("--sxs"))continue;const p=d.slice(14,-3).trim().split(/\s+/),m=Ls[p[0]];m&&(t||(t={sheet:a,reset:r,rules:{},toString:n}),t.rules[m]={group:f,index:l,cache:new Set(p)})}if(t)break}if(!t){const a=(l,c)=>({type:c,cssRules:[],insertRule(u,f){this.cssRules.splice(f,0,a(u,{import:3,undefined:1}[(u.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return l==="@media{}"?`@media{${[].map.call(this.cssRules,u=>u.cssText).join("")}}`:l}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:a("","text/css"),rules:{},reset:r,toString:n}}const{sheet:o,rules:s}=t;for(let a=Ls.length-1;a>=0;--a){const l=Ls[a];if(!s[l]){const c=Ls[a+1],u=s[c]?s[c].index:o.cssRules.length;o.insertRule("@media{}",u),o.insertRule(`--sxs{--sxs:${a}}`,u),s[l]={group:o.cssRules[u+1],index:u,cache:new Set([a])}}GS(s[l])}};return r(),t},GS=e=>{const t=e.group;let n=t.cssRules.length;e.apply=r=>{try{t.insertRule(r,n),++n}catch{}}},Os=Symbol(),qS=Pa(),KS=(e,t)=>qS(e,()=>(...n)=>{let r={type:null,composers:new Set};for(const i of n)if(i!=null)if(i[Nl]){r.type==null&&(r.type=i[Nl].type);for(const o of i[Nl].composers)r.composers.add(o)}else i.constructor!==Object||i.$$typeof?r.type==null&&(r.type=i):r.composers.add(YS(i,e));return r.type==null&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),QS(e,r,t)}),YS=({variants:e,compoundVariants:t,defaultVariants:n,...r},i)=>{const o=`${kr(i.prefix)}c-${$i(r)}`,s=[],a=[],l=Object.create(null),c=[];for(const d in n)l[d]=String(n[d]);if(typeof e=="object"&&e)for(const d in e){u=l,f=d,LS.call(u,f)||(l[d]="undefined");const p=e[d];for(const m in p){const y={[d]:String(m)};String(m)==="undefined"&&c.push(d);const S=p[m],v=[y,S,!rm(S)];s.push(v)}}var u,f;if(typeof t=="object"&&t)for(const d of t){let{css:p,...m}=d;p=typeof p=="object"&&p||{};for(const S in m)m[S]=String(m[S]);const y=[m,p,!rm(p)];a.push(y)}return[o,r,s,a,l,c]},QS=(e,t,n)=>{const[r,i,o,s]=JS(t.composers),a=typeof t.type=="function"||t.type.$$typeof?(f=>{function d(){for(let p=0;pd.rules[p]={apply:m=>d[Os].push([p,m])}),d})(n):null,l=(a||n).rules,c=`.${r}${i.length>1?`:where(.${i.slice(1).join(".")})`:""}`,u=f=>{f=typeof f=="object"&&f||XS;const{css:d,...p}=f,m={};for(const v in o)if(delete p[v],v in f){let h=f[v];typeof h=="object"&&h?m[v]={"@initial":o[v],...h}:(h=String(h),m[v]=h!=="undefined"||s.has(v)?h:o[v])}else m[v]=o[v];const y=new Set([...i]);for(const[v,h,w,_]of t.composers){n.rules.styled.cache.has(v)||(n.rules.styled.cache.add(v),Oo(h,[`.${v}`],[],e,C=>{l.styled.apply(C)}));const O=am(w,m,e.media),T=am(_,m,e.media,!0);for(const C of O)if(C!==void 0)for(const[R,q,z]of C){const K=`${v}-${$i(q)}-${R}`;y.add(K);const Me=(z?n.rules.resonevar:n.rules.onevar).cache,Ne=z?l.resonevar:l.onevar;Me.has(K)||(Me.add(K),Oo(q,[`.${K}`],[],e,$=>{Ne.apply($)}))}for(const C of T)if(C!==void 0)for(const[R,q]of C){const z=`${v}-${$i(q)}-${R}`;y.add(z),n.rules.allvar.cache.has(z)||(n.rules.allvar.cache.add(z),Oo(q,[`.${z}`],[],e,K=>{l.allvar.apply(K)}))}}if(typeof d=="object"&&d){const v=`${r}-i${$i(d)}-css`;y.add(v),n.rules.inline.cache.has(v)||(n.rules.inline.cache.add(v),Oo(d,[`.${v}`],[],e,h=>{l.inline.apply(h)}))}for(const v of String(f.className||"").trim().split(/\s+/))v&&y.add(v);const S=p.className=[...y].join(" ");return{type:t.type,className:S,selector:c,props:p,toString:()=>S,deferredInjector:a}};return Uh(u,{className:r,selector:c,[Nl]:t,toString:()=>(n.rules.styled.cache.has(r)||u(),r)})},JS=e=>{let t="";const n=[],r={},i=[];for(const[o,,,,s,a]of e){t===""&&(t=o),n.push(o),i.push(...a);for(const l in s){const c=s[l];(r[l]===void 0||c!=="undefined"||a.includes(c))&&(r[l]=c)}}return[t,n,r,new Set(i)]},am=(e,t,n,r)=>{const i=[];e:for(let[o,s,a]of e){if(a)continue;let l,c=0,u=!1;for(l in o){const f=o[l];let d=t[l];if(d!==f){if(typeof d!="object"||!d)continue e;{let p,m,y=0;for(const S in d){if(f===String(d[S])){if(S!=="@initial"){const v=S.slice(1);(m=m||[]).push(v in n?n[v]:S.replace(/^@media ?/,"")),u=!0}c+=y,p=!0}++y}if(m&&m.length&&(s={["@media "+m.join(", ")]:s}),!p)continue e}}}(i[c]=i[c]||[]).push([r?"cv":`${l}-${o[l]}`,s,u])}return i},XS={},ZS=Pa(),e4=(e,t)=>ZS(e,()=>(...n)=>{const r=()=>{for(let i of n){i=typeof i=="object"&&i||{};let o=$i(i);if(!t.rules.global.cache.has(o)){if(t.rules.global.cache.add(o),"@import"in i){let s=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let a of[].concat(i["@import"]))a=a.includes('"')||a.includes("'")?a:`"${a}"`,t.sheet.insertRule(`@import ${a};`,s++);delete i["@import"]}Oo(i,[],[],e,s=>{t.rules.global.apply(s)})}}return""};return Uh(r,{toString:r})}),t4=Pa(),n4=(e,t)=>t4(e,()=>n=>{const r=`${kr(e.prefix)}k-${$i(n)}`,i=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const o=[];Oo(n,[],[],e,a=>o.push(a));const s=`@keyframes ${r}{${o.join("")}}`;t.rules.global.apply(s)}return r};return Uh(i,{get name(){return i()},toString:i})}),r4=class{constructor(t,n,r,i){this.token=t==null?"":String(t),this.value=n==null?"":String(n),this.scale=r==null?"":String(r),this.prefix=i==null?"":String(i)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+kr(this.prefix)+kr(this.scale)+this.token}toString(){return this.computedValue}},i4=Pa(),o4=(e,t)=>i4(e,()=>(n,r)=>{r=typeof n=="object"&&n||Object(r);const i=`.${n=(n=typeof n=="string"?n:"")||`${kr(e.prefix)}t-${$i(r)}`}`,o={},s=[];for(const l in r){o[l]={};for(const c in r[l]){const u=`--${kr(e.prefix)}${l}-${c}`,f=jv(String(r[l][c]),e.prefix,l);o[l][c]=new r4(c,f,l,e.prefix),s.push(`${u}:${f}`)}}const a=()=>{if(s.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const l=`${r===e.theme?":root,":""}.${n}{${s.join(";")}}`;t.rules.themed.apply(l)}return n};return{...o,get className(){return a()},selector:i,toString:a}}),s4=Pa(),Nv=e=>{let t=!1;const n=s4(e,r=>{t=!0;const i="prefix"in(r=typeof r=="object"&&r||{})?String(r.prefix):"",o=typeof r.media=="object"&&r.media||{},s=typeof r.root=="object"?r.root||null:globalThis.document||null,a=typeof r.theme=="object"&&r.theme||{},l={prefix:i,media:o,theme:a,themeMap:typeof r.themeMap=="object"&&r.themeMap||{...jS},utils:typeof r.utils=="object"&&r.utils||{}},c=VS(s),u={css:KS(l,c),globalCss:e4(l,c),keyframes:n4(l,c),createTheme:o4(l,c),reset(){c.reset(),u.theme.toString()},theme:{},sheet:c,config:l,prefix:i,getCssText:c.toString,toString:c.toString};return String(u.theme=u.createTheme(a)),u});return t||n.reset(),n},Lv=()=>nm||(nm=Nv()),a4=(...e)=>Lv().createTheme(...e),$r=(...e)=>Lv().css(...e),l4={default:{colors:{brand:"hsl(153 60.0% 53.0%)",brandAccent:"hsl(154 54.8% 45.1%)",brandButtonText:"white",defaultButtonBackground:"white",defaultButtonBackgroundHover:"#eaeaea",defaultButtonBorder:"lightgray",defaultButtonText:"gray",dividerBackground:"#eaeaea",inputBackground:"transparent",inputBorder:"lightgray",inputBorderHover:"gray",inputBorderFocus:"gray",inputText:"black",inputLabelText:"gray",inputPlaceholder:"darkgray",messageText:"gray",messageTextDanger:"red",anchorTextColor:"gray",anchorTextHoverColor:"darkgray"},space:{spaceSmall:"4px",spaceMedium:"8px",spaceLarge:"16px",labelBottomMargin:"8px",anchorBottomMargin:"4px",emailInputSpacing:"4px",socialAuthSpacing:"4px",buttonPadding:"10px 15px",inputPadding:"10px 15px"},fontSizes:{baseBodySize:"13px",baseInputSize:"14px",baseLabelSize:"14px",baseButtonSize:"14px"},fonts:{bodyFontFamily:"ui-sans-serif, sans-serif",buttonFontFamily:"ui-sans-serif, sans-serif",inputFontFamily:"ui-sans-serif, sans-serif",labelFontFamily:"ui-sans-serif, sans-serif"},borderWidths:{buttonBorderWidth:"1px",inputBorderWidth:"1px"},radii:{borderRadiusButton:"4px",buttonBorderRadius:"4px",inputBorderRadius:"4px"}},dark:{colors:{brandButtonText:"white",defaultButtonBackground:"#2e2e2e",defaultButtonBackgroundHover:"#3e3e3e",defaultButtonBorder:"#3e3e3e",defaultButtonText:"white",dividerBackground:"#2e2e2e",inputBackground:"#1e1e1e",inputBorder:"#3e3e3e",inputBorderHover:"gray",inputBorderFocus:"gray",inputText:"white",inputPlaceholder:"darkgray"}}},rt={SIGN_IN:"sign_in",SIGN_UP:"sign_up",FORGOTTEN_PASSWORD:"forgotten_password",MAGIC_LINK:"magic_link",UPDATE_PASSWORD:"update_password",VERIFY_OTP:"verify_otp"},u4="supabase-auth-ui",c4={ROOT:"root",SIGN_IN:rt.SIGN_IN,SIGN_UP:rt.SIGN_UP,FORGOTTEN_PASSWORD:rt.FORGOTTEN_PASSWORD,MAGIC_LINK:rt.MAGIC_LINK,UPDATE_PASSWORD:rt.UPDATE_PASSWORD,anchor:"ui-anchor",button:"ui-button",container:"ui-container",divider:"ui-divider",input:"ui-input",label:"ui-label",loader:"ui-loader",message:"ui-message"};function Bi(e,t,n){var r,i;const o=[],s=c4[e];return o.push(n!=null&&n.prependedClassName?(n==null?void 0:n.prependedClassName)+"_"+s:u4+"_"+s),(r=n==null?void 0:n.className)!=null&&r[e]&&o.push((i=n==null?void 0:n.className)==null?void 0:i[e]),((n==null?void 0:n.extend)===void 0||(n==null?void 0:n.extend)===!0)&&o.push(t),o}function Cf(e,t){let n;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(Array.isArray(t))for(n=0;nt.hasOwnProperty(r)?t[r]:n)}var f4={sign_up:{email_label:"Email address",password_label:"Create a Password",email_input_placeholder:"Your email address",password_input_placeholder:"Your password",button_label:"Sign up",loading_button_label:"Signing up ...",social_provider_text:"Sign in with {{provider}}",link_text:"Don't have an account? Sign up",confirmation_text:"Check your email for the confirmation link"},sign_in:{email_label:"Email address",password_label:"Your Password",email_input_placeholder:"Your email address",password_input_placeholder:"Your password",button_label:"Sign in",loading_button_label:"Signing in ...",social_provider_text:"Sign in with {{provider}}",link_text:"Already have an account? Sign in"},magic_link:{email_input_label:"Email address",email_input_placeholder:"Your email address",button_label:"Send Magic Link",loading_button_label:"Sending Magic Link ...",link_text:"Send a magic link email",confirmation_text:"Check your email for the magic link"},forgotten_password:{email_label:"Email address",password_label:"Your Password",email_input_placeholder:"Your email address",button_label:"Send reset password instructions",loading_button_label:"Sending reset instructions ...",link_text:"Forgot your password?",confirmation_text:"Check your email for the password reset link"},update_password:{password_label:"New password",password_input_placeholder:"Your new password",button_label:"Update password",loading_button_label:"Updating password ...",confirmation_text:"Your password has been updated"},verify_otp:{email_input_label:"Email address",email_input_placeholder:"Your email address",phone_input_label:"Phone number",phone_input_placeholder:"Your phone number",token_input_label:"Token",token_input_placeholder:"Your Otp token",button_label:"Verify token",loading_button_label:"Signing in ..."}};const h4=$r({fontFamily:"$bodyFontFamily",fontSize:"$baseBodySize",marginBottom:"$anchorBottomMargin",color:"$anchorTextColor",display:"block",textAlign:"center",textDecoration:"underline","&:hover":{color:"$anchorTextHoverColor"}}),xi=({children:e,appearance:t,...n})=>{var r;const i=Bi("anchor",h4(),t);return x.createElement("a",{...n,style:(r=t==null?void 0:t.style)==null?void 0:r.anchor,className:i.join(" ")},e)},p4=$r({fontFamily:"$buttonFontFamily",display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",borderRadius:"$borderRadiusButton",fontSize:"$baseButtonSize",padding:"$buttonPadding",cursor:"pointer",borderWidth:"$buttonBorderWidth",borderStyle:"solid",width:"100%",transitionPproperty:"background-color",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"100ms","&:disabled":{opacity:.7,cursor:"unset"},variants:{color:{default:{backgroundColor:"$defaultButtonBackground",color:"$defaultButtonText",borderColor:"$defaultButtonBorder","&:hover:not(:disabled)":{backgroundColor:"$defaultButtonBackgroundHover"}},primary:{backgroundColor:"$brand",color:"$brandButtonText",borderColor:"$brandAccent","&:hover:not(:disabled)":{backgroundColor:"$brandAccent"}}}}}),os=({children:e,color:t="default",appearance:n,icon:r,loading:i=!1,...o})=>{var s;const a=Bi("button",p4({color:t}),n);return x.createElement("button",{...o,style:(s=n==null?void 0:n.style)==null?void 0:s.button,className:a.join(" "),disabled:i},r,e)},m4=$r({display:"flex",gap:"4px",variants:{direction:{horizontal:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(48px, 1fr))"},vertical:{flexDirection:"column",margin:"8px 0"}},gap:{small:{gap:"4px"},medium:{gap:"8px"},large:{gap:"16px"}}}}),vr=({children:e,appearance:t,...n})=>{var r;const i=Bi("container",m4({direction:n.direction,gap:n.gap}),t);return x.createElement("div",{...n,style:(r=t==null?void 0:t.style)==null?void 0:r.container,className:i.join(" ")},e)},g4=$r({background:"$dividerBackground",display:"block",margin:"16px 0",height:"1px",width:"100%"}),v4=({children:e,appearance:t,...n})=>{var r;const i=Bi("divider",g4(),t);return x.createElement("div",{...n,style:(r=t==null?void 0:t.style)==null?void 0:r.divider,className:i.join(" ")})},y4=$r({fontFamily:"$inputFontFamily",background:"$inputBackground",borderRadius:"$inputBorderRadius",padding:"$inputPadding",cursor:"text",borderWidth:"$inputBorderWidth",borderColor:"$inputBorder",borderStyle:"solid",fontSize:"$baseInputSize",width:"100%",color:"$inputText",boxSizing:"border-box","&:hover":{borderColor:"$inputBorderHover",outline:"none"},"&:focus":{borderColor:"$inputBorderFocus",outline:"none"},"&::placeholder":{color:"$inputPlaceholder",letterSpacing:"initial"},transitionPproperty:"background-color, border",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"100ms",variants:{type:{default:{letterSpacing:"0px"},password:{letterSpacing:"6px"}}}}),Zr=({children:e,appearance:t,...n})=>{var r;const i=Bi("input",y4({type:n.type==="password"?"password":"default"}),t);return x.createElement("input",{...n,style:(r=t==null?void 0:t.style)==null?void 0:r.input,className:i.join(" ")},e)},w4=$r({fontFamily:"$labelFontFamily",fontSize:"$baseLabelSize",marginBottom:"$labelBottomMargin",color:"$inputLabelText",display:"block"}),ei=({children:e,appearance:t,...n})=>{var r;const i=Bi("label",w4(),t);return x.createElement("label",{...n,style:(r=t==null?void 0:t.style)==null?void 0:r.label,className:i.join(" ")},e)},b4=$r({fontFamily:"$bodyFontFamily",fontSize:"$baseBodySize",marginBottom:"$labelBottomMargin",display:"block",textAlign:"center",variants:{color:{default:{color:"$messageText"},danger:{color:"$messageTextDanger"}}}}),ir=({children:e,appearance:t,...n})=>{var r;const i=Bi("message",b4({color:n.color}),t);return x.createElement("span",{...n,style:(r=t==null?void 0:t.style)==null?void 0:r.message,className:i.join(" ")},e)};function zv({setAuthView:e=()=>{},supabaseClient:t,redirectTo:n,i18n:r,appearance:i,showLinks:o=!1}){var s;const[a,l]=B.useState(""),[c,u]=B.useState(""),[f,d]=B.useState(""),[p,m]=B.useState(!1),y=async v=>{var h;v.preventDefault(),u(""),d(""),m(!0);const{error:w}=await t.auth.signInWithOtp({email:a,options:{emailRedirectTo:n}});w?u(w.message):d((h=r==null?void 0:r.magic_link)==null?void 0:h.confirmation_text),m(!1)},S=r==null?void 0:r.magic_link;return x.createElement("form",{id:"auth-magic-link",onSubmit:y},x.createElement(vr,{gap:"large",direction:"vertical",appearance:i},x.createElement("div",null,x.createElement(ei,{htmlFor:"email",appearance:i},S==null?void 0:S.email_input_label),x.createElement(Zr,{id:"email",name:"email",type:"email",autoFocus:!0,placeholder:S==null?void 0:S.email_input_placeholder,onChange:v=>l(v.target.value),appearance:i})),x.createElement(os,{color:"primary",type:"submit",loading:p,appearance:i},p?S==null?void 0:S.loading_button_label:S==null?void 0:S.button_label),o&&x.createElement(xi,{href:"#auth-sign-in",onClick:v=>{v.preventDefault(),e(rt.SIGN_IN)},appearance:i},(s=r==null?void 0:r.sign_in)==null?void 0:s.link_text),f&&x.createElement(ir,{appearance:i},f),c&&x.createElement(ir,{color:"danger",appearance:i},c)))}const Nt=$r({width:"21px",height:"21px"}),S4=()=>x.createElement("svg",{className:Nt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},x.createElement("path",{fill:"#FFC107",d:"M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12c0-6.627,5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24c0,11.045,8.955,20,20,20c11.045,0,20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z"}),x.createElement("path",{fill:"#FF3D00",d:"M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z"}),x.createElement("path",{fill:"#4CAF50",d:"M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36c-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z"}),x.createElement("path",{fill:"#1976D2",d:"M43.611,20.083H42V20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.571c0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z"})),_4=()=>x.createElement("svg",{className:Nt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},x.createElement("path",{fill:"#039be5",d:"M24 5A19 19 0 1 0 24 43A19 19 0 1 0 24 5Z"}),x.createElement("path",{fill:"#fff",d:"M26.572,29.036h4.917l0.772-4.995h-5.69v-2.73c0-2.075,0.678-3.915,2.619-3.915h3.119v-4.359c-0.548-0.074-1.707-0.236-3.897-0.236c-4.573,0-7.254,2.415-7.254,7.917v3.323h-4.701v4.995h4.701v13.729C22.089,42.905,23.032,43,24,43c0.875,0,1.729-0.08,2.572-0.194V29.036z"})),k4=()=>x.createElement("svg",{className:Nt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},x.createElement("path",{fill:"#03A9F4",d:"M42,12.429c-1.323,0.586-2.746,0.977-4.247,1.162c1.526-0.906,2.7-2.351,3.251-4.058c-1.428,0.837-3.01,1.452-4.693,1.776C34.967,9.884,33.05,9,30.926,9c-4.08,0-7.387,3.278-7.387,7.32c0,0.572,0.067,1.129,0.193,1.67c-6.138-0.308-11.582-3.226-15.224-7.654c-0.64,1.082-1,2.349-1,3.686c0,2.541,1.301,4.778,3.285,6.096c-1.211-0.037-2.351-0.374-3.349-0.914c0,0.022,0,0.055,0,0.086c0,3.551,2.547,6.508,5.923,7.181c-0.617,0.169-1.269,0.263-1.941,0.263c-0.477,0-0.942-0.054-1.392-0.135c0.94,2.902,3.667,5.023,6.898,5.086c-2.528,1.96-5.712,3.134-9.174,3.134c-0.598,0-1.183-0.034-1.761-0.104C9.268,36.786,13.152,38,17.321,38c13.585,0,21.017-11.156,21.017-20.834c0-0.317-0.01-0.633-0.025-0.945C39.763,15.197,41.013,13.905,42,12.429"})),x4=()=>x.createElement("svg",{className:Nt(),fill:"gray",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"21px",height:"21px"}," ",x.createElement("path",{d:"M 15.904297 1.078125 C 15.843359 1.06875 15.774219 1.0746094 15.699219 1.0996094 C 14.699219 1.2996094 13.600391 1.8996094 12.900391 2.5996094 C 12.300391 3.1996094 11.800781 4.1996094 11.800781 5.0996094 C 11.800781 5.2996094 11.999219 5.5 12.199219 5.5 C 13.299219 5.4 14.399609 4.7996094 15.099609 4.0996094 C 15.699609 3.2996094 16.199219 2.4 16.199219 1.5 C 16.199219 1.275 16.087109 1.10625 15.904297 1.078125 z M 16.199219 5.4003906 C 14.399219 5.4003906 13.600391 6.5 12.400391 6.5 C 11.100391 6.5 9.9003906 5.5 8.4003906 5.5 C 6.3003906 5.5 3.0996094 7.4996094 3.0996094 12.099609 C 2.9996094 16.299609 6.8 21 9 21 C 10.3 21 10.600391 20.199219 12.400391 20.199219 C 14.200391 20.199219 14.600391 21 15.900391 21 C 17.400391 21 18.500391 19.399609 19.400391 18.099609 C 19.800391 17.399609 20.100391 17.000391 20.400391 16.400391 C 20.600391 16.000391 20.4 15.600391 20 15.400391 C 17.4 14.100391 16.900781 9.9003906 19.800781 8.4003906 C 20.300781 8.1003906 20.4 7.4992188 20 7.1992188 C 18.9 6.1992187 17.299219 5.4003906 16.199219 5.4003906 z"})),E4=()=>x.createElement("svg",{className:Nt(),fill:"gray",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",width:"21px",height:"21px"}," ",x.createElement("path",{d:"M15,3C8.373,3,3,8.373,3,15c0,5.623,3.872,10.328,9.092,11.63C12.036,26.468,12,26.28,12,26.047v-2.051 c-0.487,0-1.303,0-1.508,0c-0.821,0-1.551-0.353-1.905-1.009c-0.393-0.729-0.461-1.844-1.435-2.526 c-0.289-0.227-0.069-0.486,0.264-0.451c0.615,0.174,1.125,0.596,1.605,1.222c0.478,0.627,0.703,0.769,1.596,0.769 c0.433,0,1.081-0.025,1.691-0.121c0.328-0.833,0.895-1.6,1.588-1.962c-3.996-0.411-5.903-2.399-5.903-5.098 c0-1.162,0.495-2.286,1.336-3.233C9.053,10.647,8.706,8.73,9.435,8c1.798,0,2.885,1.166,3.146,1.481C13.477,9.174,14.461,9,15.495,9 c1.036,0,2.024,0.174,2.922,0.483C18.675,9.17,19.763,8,21.565,8c0.732,0.731,0.381,2.656,0.102,3.594 c0.836,0.945,1.328,2.066,1.328,3.226c0,2.697-1.904,4.684-5.894,5.097C18.199,20.49,19,22.1,19,23.313v2.734 c0,0.104-0.023,0.179-0.035,0.268C23.641,24.676,27,20.236,27,15C27,8.373,21.627,3,15,3z"})),C4=()=>x.createElement("svg",{className:Nt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},x.createElement("path",{fill:"#e53935",d:"M24 43L16 20 32 20z"}),x.createElement("path",{fill:"#ff7043",d:"M24 43L42 20 32 20z"}),x.createElement("path",{fill:"#e53935",d:"M37 5L42 20 32 20z"}),x.createElement("path",{fill:"#ffa726",d:"M24 43L42 20 45 28z"}),x.createElement("path",{fill:"#ff7043",d:"M24 43L6 20 16 20z"}),x.createElement("path",{fill:"#e53935",d:"M11 5L6 20 16 20z"}),x.createElement("path",{fill:"#ffa726",d:"M24 43L6 20 3 28z"})),O4=()=>x.createElement("svg",{className:Nt(),xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",viewBox:"0 0 62.42 62.42"},x.createElement("defs",null,x.createElement("linearGradient",{id:"New_Gradient_Swatch_1",x1:"64.01",y1:"30.27",x2:"32.99",y2:"54.48",gradientUnits:"userSpaceOnUse"},x.createElement("stop",{offset:"0.18",stopColor:"#0052cc"}),x.createElement("stop",{offset:"1",stopColor:"#2684ff"}))),x.createElement("title",null,"Bitbucket-blue"),x.createElement("g",{id:"Layer_2","data-name":"Layer 2"},x.createElement("g",{id:"Blue",transform:"translate(0 -3.13)"},x.createElement("path",{d:"M2,6.26A2,2,0,0,0,0,8.58L8.49,60.12a2.72,2.72,0,0,0,2.66,2.27H51.88a2,2,0,0,0,2-1.68L62.37,8.59a2,2,0,0,0-2-2.32ZM37.75,43.51h-13L21.23,25.12H40.9Z",fill:"#2684ff"}),x.createElement("path",{d:"M59.67,25.12H40.9L37.75,43.51h-13L9.4,61.73a2.71,2.71,0,0,0,1.75.66H51.89a2,2,0,0,0,2-1.68Z",fill:"url(#New_Gradient_Swatch_1)"})))),$4=()=>x.createElement("svg",{className:Nt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},x.createElement("path",{fill:"#536dfe",d:"M39.248,10.177c-2.804-1.287-5.812-2.235-8.956-2.778c-0.057-0.01-0.114,0.016-0.144,0.068 c-0.387,0.688-0.815,1.585-1.115,2.291c-3.382-0.506-6.747-0.506-10.059,0c-0.3-0.721-0.744-1.603-1.133-2.291 c-0.03-0.051-0.087-0.077-0.144-0.068c-3.143,0.541-6.15,1.489-8.956,2.778c-0.024,0.01-0.045,0.028-0.059,0.051 c-5.704,8.522-7.267,16.835-6.5,25.044c0.003,0.04,0.026,0.079,0.057,0.103c3.763,2.764,7.409,4.442,10.987,5.554 c0.057,0.017,0.118-0.003,0.154-0.051c0.846-1.156,1.601-2.374,2.248-3.656c0.038-0.075,0.002-0.164-0.076-0.194 c-1.197-0.454-2.336-1.007-3.432-1.636c-0.087-0.051-0.094-0.175-0.014-0.234c0.231-0.173,0.461-0.353,0.682-0.534 c0.04-0.033,0.095-0.04,0.142-0.019c7.201,3.288,14.997,3.288,22.113,0c0.047-0.023,0.102-0.016,0.144,0.017 c0.22,0.182,0.451,0.363,0.683,0.536c0.08,0.059,0.075,0.183-0.012,0.234c-1.096,0.641-2.236,1.182-3.434,1.634 c-0.078,0.03-0.113,0.12-0.075,0.196c0.661,1.28,1.415,2.498,2.246,3.654c0.035,0.049,0.097,0.07,0.154,0.052 c3.595-1.112,7.241-2.79,11.004-5.554c0.033-0.024,0.054-0.061,0.057-0.101c0.917-9.491-1.537-17.735-6.505-25.044 C39.293,10.205,39.272,10.187,39.248,10.177z M16.703,30.273c-2.168,0-3.954-1.99-3.954-4.435s1.752-4.435,3.954-4.435 c2.22,0,3.989,2.008,3.954,4.435C20.658,28.282,18.906,30.273,16.703,30.273z M31.324,30.273c-2.168,0-3.954-1.99-3.954-4.435 s1.752-4.435,3.954-4.435c2.22,0,3.989,2.008,3.954,4.435C35.278,28.282,33.544,30.273,31.324,30.273z"})),T4=()=>x.createElement("svg",{className:Nt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},x.createElement("linearGradient",{id:"k8yl7~hDat~FaoWq8WjN6a",x1:"-1254.397",x2:"-1261.911",y1:"877.268",y2:"899.466",gradientTransform:"translate(1981.75 -1362.063) scale(1.5625)",gradientUnits:"userSpaceOnUse"},x.createElement("stop",{offset:"0",stopColor:"#114a8b"}),x.createElement("stop",{offset:"1",stopColor:"#0669bc"})),x.createElement("path",{fill:"url(#k8yl7~hDat~FaoWq8WjN6a)",d:"M17.634,6h11.305L17.203,40.773c-0.247,0.733-0.934,1.226-1.708,1.226H6.697 c-0.994,0-1.8-0.806-1.8-1.8c0-0.196,0.032-0.39,0.094-0.576L15.926,7.227C16.173,6.494,16.86,6,17.634,6L17.634,6z"}),x.createElement("path",{fill:"#0078d4",d:"M34.062,29.324H16.135c-0.458-0.001-0.83,0.371-0.831,0.829c0,0.231,0.095,0.451,0.264,0.608 l11.52,10.752C27.423,41.826,27.865,42,28.324,42h10.151L34.062,29.324z"}),x.createElement("linearGradient",{id:"k8yl7~hDat~FaoWq8WjN6b",x1:"-1252.05",x2:"-1253.788",y1:"887.612",y2:"888.2",gradientTransform:"translate(1981.75 -1362.063) scale(1.5625)",gradientUnits:"userSpaceOnUse"},x.createElement("stop",{offset:"0",stopOpacity:".3"}),x.createElement("stop",{offset:".071",stopOpacity:".2"}),x.createElement("stop",{offset:".321",stopOpacity:".1"}),x.createElement("stop",{offset:".623",stopOpacity:".05"}),x.createElement("stop",{offset:"1",stopOpacity:"0"})),x.createElement("path",{fill:"url(#k8yl7~hDat~FaoWq8WjN6b)",d:"M17.634,6c-0.783-0.003-1.476,0.504-1.712,1.25L5.005,39.595 c-0.335,0.934,0.151,1.964,1.085,2.299C6.286,41.964,6.493,42,6.702,42h9.026c0.684-0.122,1.25-0.603,1.481-1.259l2.177-6.416 l7.776,7.253c0.326,0.27,0.735,0.419,1.158,0.422h10.114l-4.436-12.676l-12.931,0.003L28.98,6H17.634z"}),x.createElement("linearGradient",{id:"k8yl7~hDat~FaoWq8WjN6c",x1:"-1252.952",x2:"-1244.704",y1:"876.6",y2:"898.575",gradientTransform:"translate(1981.75 -1362.063) scale(1.5625)",gradientUnits:"userSpaceOnUse"},x.createElement("stop",{offset:"0",stopColor:"#3ccbf4"}),x.createElement("stop",{offset:"1",stopColor:"#2892df"})),x.createElement("path",{fill:"url(#k8yl7~hDat~FaoWq8WjN6c)",d:"M32.074,7.225C31.827,6.493,31.141,6,30.368,6h-12.6c0.772,0,1.459,0.493,1.705,1.224 l10.935,32.399c0.318,0.942-0.188,1.963-1.13,2.281C29.093,41.968,28.899,42,28.703,42h12.6c0.994,0,1.8-0.806,1.8-1.801 c0-0.196-0.032-0.39-0.095-0.575L32.074,7.225z"})),P4=()=>x.createElement("svg",{className:Nt(),width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},x.createElement("path",{d:"M472.136 163.959H408.584C407.401 163.959 406.218 163.327 405.666 162.3L354.651 73.6591C354.02 72.632 352.916 72 351.654 72H143.492C142.309 72 141.126 72.632 140.574 73.6591L87.5084 165.618L36.414 254.259C35.862 255.286 35.862 256.55 36.414 257.656L87.5084 346.297L140.495 438.335C141.047 439.362 142.23 440.073 143.413 439.994H351.654C352.837 439.994 354.02 439.362 354.651 438.335L405.745 349.694C406.297 348.667 407.48 347.956 408.663 348.035H472.215C474.344 348.035 476 346.297 476 344.243V167.83C475.921 165.697 474.186 163.959 472.136 163.959ZM228.728 349.694L212.721 377.345C212.485 377.74 212.091 378.135 211.696 378.372C211.223 378.609 210.75 378.767 210.198 378.767H178.422C177.318 378.767 176.293 378.214 175.82 377.187L128.431 294.787L123.779 286.65L106.748 257.498C106.511 257.103 106.353 256.629 106.432 256.076C106.432 255.602 106.59 255.049 106.827 254.654L123.937 224.949L175.899 134.886C176.451 133.938 177.476 133.306 178.501 133.306H210.198C210.75 133.306 211.302 133.464 211.854 133.701C212.248 133.938 212.643 134.254 212.879 134.728L228.886 162.537C229.359 163.485 229.28 164.67 228.728 165.539L177.397 254.654C177.16 255.049 177.081 255.523 177.081 255.918C177.081 256.392 177.239 256.787 177.397 257.182L228.728 346.218C229.438 347.403 229.359 348.667 228.728 349.694V349.694ZM388.083 257.498L371.051 286.65L366.399 294.787L319.011 377.187C318.459 378.135 317.512 378.767 316.409 378.767H284.632C284.08 378.767 283.607 378.609 283.134 378.372C282.74 378.135 282.346 377.819 282.109 377.345L266.103 349.694C265.393 348.667 265.393 347.403 266.024 346.376L317.355 257.34C317.591 256.945 317.67 256.471 317.67 256.076C317.67 255.602 317.513 255.207 317.355 254.812L266.024 165.697C265.472 164.749 265.393 163.643 265.866 162.695L281.873 134.886C282.109 134.491 282.503 134.096 282.898 133.859C283.371 133.543 283.923 133.464 284.553 133.464H316.409C317.512 133.464 318.538 134.017 319.011 135.044L370.972 225.107L388.083 254.812C388.319 255.286 388.477 255.76 388.477 256.234C388.477 256.55 388.319 257.024 388.083 257.498V257.498Z",fill:"#008AAA"})),A4=()=>x.createElement("svg",{className:Nt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},x.createElement("path",{fill:"#0288D1",d:"M42,37c0,2.762-2.238,5-5,5H11c-2.761,0-5-2.238-5-5V11c0-2.762,2.239-5,5-5h26c2.762,0,5,2.238,5,5V37z"}),x.createElement("path",{fill:"#FFF",d:"M12 19H17V36H12zM14.485 17h-.028C12.965 17 12 15.888 12 14.499 12 13.08 12.995 12 14.514 12c1.521 0 2.458 1.08 2.486 2.499C17 15.887 16.035 17 14.485 17zM36 36h-5v-9.099c0-2.198-1.225-3.698-3.192-3.698-1.501 0-2.313 1.012-2.707 1.99C24.957 25.543 25 26.511 25 27v9h-5V19h5v2.616C25.721 20.5 26.85 19 29.738 19c3.578 0 6.261 2.25 6.261 7.274L36 36 36 36z"})),R4=()=>x.createElement("svg",{className:Nt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px",fillRule:"evenodd",clipRule:"evenodd"},x.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M11.553,11.099c1.232,1.001,1.694,0.925,4.008,0.77 l21.812-1.31c0.463,0,0.078-0.461-0.076-0.538l-3.622-2.619c-0.694-0.539-1.619-1.156-3.391-1.002l-21.12,1.54 c-0.77,0.076-0.924,0.461-0.617,0.77L11.553,11.099z",clipRule:"evenodd"}),x.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M12.862,16.182v22.95c0,1.233,0.616,1.695,2.004,1.619 l23.971-1.387c1.388-0.076,1.543-0.925,1.543-1.927V14.641c0-1-0.385-1.54-1.234-1.463l-25.05,1.463 C13.171,14.718,12.862,15.181,12.862,16.182L12.862,16.182z",clipRule:"evenodd"}),x.createElement("path",{fill:"#424242",fillRule:"evenodd",d:"M11.553,11.099c1.232,1.001,1.694,0.925,4.008,0.77 l21.812-1.31c0.463,0,0.078-0.461-0.076-0.538l-3.622-2.619c-0.694-0.539-1.619-1.156-3.391-1.002l-21.12,1.54 c-0.77,0.076-0.924,0.461-0.617,0.77L11.553,11.099z M12.862,16.182v22.95c0,1.233,0.616,1.695,2.004,1.619l23.971-1.387 c1.388-0.076,1.543-0.925,1.543-1.927V14.641c0-1-0.385-1.54-1.234-1.463l-25.05,1.463C13.171,14.718,12.862,15.181,12.862,16.182 L12.862,16.182z M36.526,17.413c0.154,0.694,0,1.387-0.695,1.465l-1.155,0.23v16.943c-1.003,0.539-1.928,0.847-2.698,0.847 c-1.234,0-1.543-0.385-2.467-1.54l-7.555-11.86v11.475l2.391,0.539c0,0,0,1.386-1.929,1.386l-5.317,0.308 c-0.154-0.308,0-1.078,0.539-1.232l1.388-0.385V20.418l-1.927-0.154c-0.155-0.694,0.23-1.694,1.31-1.772l5.704-0.385l7.862,12.015 V19.493l-2.005-0.23c-0.154-0.848,0.462-1.464,1.233-1.54L36.526,17.413z M7.389,5.862l21.968-1.618 c2.698-0.231,3.392-0.076,5.087,1.155l7.013,4.929C42.614,11.176,43,11.407,43,12.33v27.032c0,1.694-0.617,2.696-2.775,2.849 l-25.512,1.541c-1.62,0.077-2.391-0.154-3.239-1.232l-5.164-6.7C5.385,34.587,5,33.664,5,32.585V8.556 C5,7.171,5.617,6.015,7.389,5.862z",clipRule:"evenodd"})),I4=()=>x.createElement("svg",{className:Nt(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"21px",height:"21px"},x.createElement("path",{fill:"#33d375",d:"M33,8c0-2.209-1.791-4-4-4s-4,1.791-4,4c0,1.254,0,9.741,0,11c0,2.209,1.791,4,4,4s4-1.791,4-4 C33,17.741,33,9.254,33,8z"}),x.createElement("path",{fill:"#33d375",d:"M43,19c0,2.209-1.791,4-4,4c-1.195,0-4,0-4,0s0-2.986,0-4c0-2.209,1.791-4,4-4S43,16.791,43,19z"}),x.createElement("path",{fill:"#40c4ff",d:"M8,14c-2.209,0-4,1.791-4,4s1.791,4,4,4c1.254,0,9.741,0,11,0c2.209,0,4-1.791,4-4s-1.791-4-4-4 C17.741,14,9.254,14,8,14z"}),x.createElement("path",{fill:"#40c4ff",d:"M19,4c2.209,0,4,1.791,4,4c0,1.195,0,4,0,4s-2.986,0-4,0c-2.209,0-4-1.791-4-4S16.791,4,19,4z"}),x.createElement("path",{fill:"#e91e63",d:"M14,39.006C14,41.212,15.791,43,18,43s4-1.788,4-3.994c0-1.252,0-9.727,0-10.984 c0-2.206-1.791-3.994-4-3.994s-4,1.788-4,3.994C14,29.279,14,37.754,14,39.006z"}),x.createElement("path",{fill:"#e91e63",d:"M4,28.022c0-2.206,1.791-3.994,4-3.994c1.195,0,4,0,4,0s0,2.981,0,3.994c0,2.206-1.791,3.994-4,3.994 S4,30.228,4,28.022z"}),x.createElement("path",{fill:"#ffc107",d:"M39,33c2.209,0,4-1.791,4-4s-1.791-4-4-4c-1.254,0-9.741,0-11,0c-2.209,0-4,1.791-4,4s1.791,4,4,4 C29.258,33,37.746,33,39,33z"}),x.createElement("path",{fill:"#ffc107",d:"M28,43c-2.209,0-4-1.791-4-4c0-1.195,0-4,0-4s2.986,0,4,0c2.209,0,4,1.791,4,4S30.209,43,28,43z"})),j4=()=>x.createElement("svg",{className:Nt(),width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},x.createElement("path",{d:"M255.498 31.0034C131.513 31.0034 31 131.515 31 255.502C31 379.492 131.513 480 255.498 480C379.497 480 480 379.495 480 255.502C480 131.522 379.497 31.0135 255.495 31.0135L255.498 31V31.0034ZM358.453 354.798C354.432 361.391 345.801 363.486 339.204 359.435C286.496 327.237 220.139 319.947 141.993 337.801C134.463 339.516 126.957 334.798 125.24 327.264C123.516 319.731 128.217 312.225 135.767 310.511C221.284 290.972 294.639 299.384 353.816 335.549C360.413 339.596 362.504 348.2 358.453 354.798ZM385.932 293.67C380.864 301.903 370.088 304.503 361.858 299.438C301.512 262.345 209.528 251.602 138.151 273.272C128.893 276.067 119.118 270.851 116.309 261.61C113.521 252.353 118.74 242.597 127.981 239.782C209.512 215.044 310.87 227.026 380.17 269.612C388.4 274.68 391 285.456 385.935 293.676V293.673L385.932 293.67ZM388.293 230.016C315.935 187.039 196.56 183.089 127.479 204.055C116.387 207.42 104.654 201.159 101.293 190.063C97.9326 178.964 104.189 167.241 115.289 163.87C194.59 139.796 326.418 144.446 409.723 193.902C419.722 199.826 422.995 212.71 417.068 222.675C411.168 232.653 398.247 235.943 388.303 230.016H388.293V230.016Z",fill:"#1ED760"})),N4=()=>x.createElement("svg",{className:Nt(),width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},x.createElement("path",{d:"M416 240L352 304H288L232 360V304H160V64H416V240Z",fill:"white"}),x.createElement("path",{d:"M144 32L64 112V400H160V480L240 400H304L448 256V32H144ZM416 240L352 304H288L232 360V304H160V64H416V240Z",fill:"#9146FF"}),x.createElement("path",{d:"M368 120H336V216H368V120Z",fill:"#9146FF"}),x.createElement("path",{d:"M280 120H248V216H280V120Z",fill:"#9146FF"})),L4=()=>x.createElement("svg",{className:Nt(),width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},x.createElement("path",{d:"M33 256.043C33 264.556 35.3159 273.069 39.4845 280.202L117.993 415.493C126.098 429.298 138.373 440.572 153.657 445.634C183.764 455.528 214.797 442.873 229.618 417.333L248.609 384.661L173.806 256.043L252.777 119.831L271.768 87.1591C277.557 77.2654 284.968 69.4424 294 63H285.894H172.185C150.878 63 131.193 74.2742 120.54 92.6812L39.7161 231.884C35.3159 239.016 33 247.53 33 256.043Z",fill:"#6363F1"}),x.createElement("path",{d:"M480 256.058C480 247.539 477.684 239.021 473.516 231.883L393.849 94.6596C379.028 69.3331 347.995 56.4396 317.888 66.34C302.603 71.4053 290.329 82.6871 282.224 96.5015L264.391 127.354L339.194 256.058L260.223 392.131L241.232 424.825C235.443 434.495 228.032 442.553 219 449H227.106H340.815C362.122 449 381.807 437.718 392.46 419.299L473.284 280.003C477.684 272.866 480 264.577 480 256.058Z",fill:"#6363F1"})),z4=Object.freeze(Object.defineProperty({__proto__:null,apple:x4,azure:T4,bitbucket:O4,discord:$4,facebook:_4,github:E4,gitlab:C4,google:S4,keycloak:P4,linkedin:A4,notion:R4,slack:I4,spotify:j4,twitch:N4,twitter:k4,workos:L4},Symbol.toStringTag,{value:"Module"}));function M4({supabaseClient:e,socialLayout:t="vertical",providers:n=["github","google","azure"],providerScopes:r,queryParams:i,redirectTo:o,onlyThirdPartyProviders:s=!0,view:a="sign_in",i18n:l,appearance:c}){const[u,f]=B.useState(!1),[d,p]=B.useState(""),m=t==="vertical",y=a==="magic_link"?"sign_in":a,S=async h=>{f(!0);const{error:w}=await e.auth.signInWithOAuth({provider:h,options:{redirectTo:o,scopes:r==null?void 0:r[h],queryParams:i}});w&&p(w.message),f(!1)};function v(h){const w=h.toLowerCase();return h.charAt(0).toUpperCase()+w.slice(1)}return x.createElement(x.Fragment,null,n&&n.length>0&&x.createElement(x.Fragment,null,x.createElement(vr,{gap:"large",direction:"vertical",appearance:c},x.createElement(vr,{direction:m?"vertical":"horizontal",gap:m?"small":"medium",appearance:c},n.map(h=>{var w;const _=z4[h];return x.createElement(os,{key:h,color:"default",icon:_?x.createElement(_,null):"",loading:u,onClick:()=>S(h),appearance:c},m&&d4((w=l==null?void 0:l[y])==null?void 0:w.social_provider_text,{provider:v(h)}))}))),!s&&x.createElement(v4,{appearance:c})))}function lm({authView:e="sign_in",defaultEmail:t="",defaultPassword:n="",setAuthView:r=()=>{},setDefaultEmail:i=m=>{},setDefaultPassword:o=m=>{},supabaseClient:s,showLinks:a=!1,redirectTo:l,additionalData:c,magicLink:u,i18n:f,appearance:d,children:p}){var m,y,S,v;const h=B.useRef(!0),[w,_]=B.useState(t),[O,T]=B.useState(n),[C,R]=B.useState(""),[q,z]=B.useState(!1),[K,Me]=B.useState("");B.useEffect(()=>(h.current=!0,_(t),T(n),()=>{h.current=!1}),[e]);const Ne=async H=>{var ee;switch(H.preventDefault(),R(""),z(!0),e){case"sign_in":const{error:j}=await s.auth.signInWithPassword({email:w,password:O});j&&R(j.message);break;case"sign_up":let D={emailRedirectTo:l};c&&(D.data=c);const{data:{user:X,session:ue},error:he}=await s.auth.signUp({email:w,password:O,options:D});he?R(he.message):X&&!ue&&Me((ee=f==null?void 0:f.sign_up)==null?void 0:ee.confirmation_text);break}h.current&&z(!1)},$=H=>{i(w),o(O),r(H)},P=f==null?void 0:f[e];return x.createElement("form",{id:e==="sign_in"?"auth-sign-in":"auth-sign-up",onSubmit:Ne,autoComplete:"on",style:{width:"100%"}},x.createElement(vr,{direction:"vertical",gap:"large",appearance:d},x.createElement(vr,{direction:"vertical",gap:"large",appearance:d},x.createElement("div",null,x.createElement(ei,{htmlFor:"email",appearance:d},P==null?void 0:P.email_label),x.createElement(Zr,{id:"email",type:"email",name:"email",placeholder:P==null?void 0:P.email_input_placeholder,defaultValue:w,onChange:H=>_(H.target.value),autoComplete:"email",appearance:d})),x.createElement("div",null,x.createElement(ei,{htmlFor:"password",appearance:d},P==null?void 0:P.password_label),x.createElement(Zr,{id:"password",type:"password",name:"password",placeholder:P==null?void 0:P.password_input_placeholder,defaultValue:O,onChange:H=>T(H.target.value),autoComplete:e==="sign_in"?"current-password":"new-password",appearance:d})),p),x.createElement(os,{type:"submit",color:"primary",loading:q,appearance:d},q?P==null?void 0:P.loading_button_label:P==null?void 0:P.button_label),a&&x.createElement(vr,{direction:"vertical",gap:"small",appearance:d},e===rt.SIGN_IN&&u&&x.createElement(xi,{href:"#auth-magic-link",onClick:H=>{H.preventDefault(),r(rt.MAGIC_LINK)},appearance:d},(m=f==null?void 0:f.magic_link)==null?void 0:m.link_text),e===rt.SIGN_IN&&x.createElement(xi,{href:"#auth-forgot-password",onClick:H=>{H.preventDefault(),r(rt.FORGOTTEN_PASSWORD)},appearance:d},(y=f==null?void 0:f.forgotten_password)==null?void 0:y.link_text),e===rt.SIGN_IN?x.createElement(xi,{href:"#auth-sign-up",onClick:H=>{H.preventDefault(),$(rt.SIGN_UP)},appearance:d},(S=f==null?void 0:f.sign_up)==null?void 0:S.link_text):x.createElement(xi,{href:"#auth-sign-in",onClick:H=>{H.preventDefault(),$(rt.SIGN_IN)},appearance:d},(v=f==null?void 0:f.sign_in)==null?void 0:v.link_text))),K&&x.createElement(ir,{appearance:d},K),C&&x.createElement(ir,{color:"danger",appearance:d},C))}function Mv({setAuthView:e=()=>{},supabaseClient:t,redirectTo:n,i18n:r,appearance:i,showLinks:o=!1}){var s;const[a,l]=B.useState(""),[c,u]=B.useState(""),[f,d]=B.useState(""),[p,m]=B.useState(!1),y=async v=>{var h;v.preventDefault(),u(""),d(""),m(!0);const{error:w}=await t.auth.resetPasswordForEmail(a,{redirectTo:n});w?u(w.message):d((h=r==null?void 0:r.forgotten_password)==null?void 0:h.confirmation_text),m(!1)},S=r==null?void 0:r.forgotten_password;return x.createElement("form",{id:"auth-forgot-password",onSubmit:y},x.createElement(vr,{gap:"large",direction:"vertical",appearance:i},x.createElement("div",null,x.createElement(ei,{htmlFor:"email",appearance:i},S==null?void 0:S.email_label),x.createElement(Zr,{id:"email",name:"email",type:"email",autoFocus:!0,placeholder:S==null?void 0:S.email_input_placeholder,onChange:v=>l(v.target.value),appearance:i})),x.createElement(os,{type:"submit",color:"primary",loading:p,appearance:i},p?S==null?void 0:S.loading_button_label:S==null?void 0:S.button_label),o&&x.createElement(xi,{href:"#auth-sign-in",onClick:v=>{v.preventDefault(),e(rt.SIGN_IN)},appearance:i},(s=r==null?void 0:r.sign_in)==null?void 0:s.link_text),f&&x.createElement(ir,{appearance:i},f),c&&x.createElement(ir,{color:"danger",appearance:i},c)))}function Dv({supabaseClient:e,i18n:t,appearance:n}){const[r,i]=B.useState(""),[o,s]=B.useState(""),[a,l]=B.useState(""),[c,u]=B.useState(!1),f=async p=>{var m;p.preventDefault(),s(""),l(""),u(!0);const{error:y}=await e.auth.updateUser({password:r});y?s(y.message):l((m=t==null?void 0:t.update_password)==null?void 0:m.confirmation_text),u(!1)},d=t==null?void 0:t.update_password;return x.createElement("form",{id:"auth-update-password",onSubmit:f},x.createElement(vr,{gap:"large",direction:"vertical",appearance:n},x.createElement("div",null,x.createElement(ei,{htmlFor:"password",appearance:n},d==null?void 0:d.password_label),x.createElement(Zr,{id:"password",name:"password",placeholder:d==null?void 0:d.password_label,type:"password",autoFocus:!0,onChange:p=>i(p.target.value),appearance:n})),x.createElement(os,{type:"submit",color:"primary",loading:c,appearance:n},c?d==null?void 0:d.loading_button_label:d==null?void 0:d.button_label),a&&x.createElement(ir,{appearance:n},a),o&&x.createElement(ir,{color:"danger",appearance:n},o)))}function D4({setAuthView:e=()=>{},supabaseClient:t,otpType:n="email",i18n:r,appearance:i,showLinks:o=!1}){var s;const[a,l]=B.useState(""),[c,u]=B.useState(""),[f,d]=B.useState(""),[p,m]=B.useState(""),[y,S]=B.useState(""),[v,h]=B.useState(!1),w=async O=>{O.preventDefault(),m(""),S(""),h(!0);let T={email:a,token:f,type:n};["sms","phone_change"].includes(n)&&(T={phone:c,token:f,type:n});const{error:C}=await t.auth.verifyOtp(T);C&&m(C.message),h(!1)},_=r==null?void 0:r.verify_otp;return x.createElement("form",{id:"auth-magic-link",onSubmit:w},x.createElement(vr,{gap:"large",direction:"vertical",appearance:i},["sms","phone_change"].includes(n)?x.createElement("div",null,x.createElement(ei,{htmlFor:"phone",appearance:i},_==null?void 0:_.phone_input_label),x.createElement(Zr,{id:"phone",name:"phone",type:"text",autoFocus:!0,placeholder:_==null?void 0:_.phone_input_placeholder,onChange:O=>u(O.target.value),appearance:i})):x.createElement("div",null,x.createElement(ei,{htmlFor:"email",appearance:i},_==null?void 0:_.email_input_label),x.createElement(Zr,{id:"email",name:"email",type:"email",autoFocus:!0,placeholder:_==null?void 0:_.email_input_placeholder,onChange:O=>l(O.target.value),appearance:i})),x.createElement("div",null,x.createElement(ei,{htmlFor:"token",appearance:i},_==null?void 0:_.token_input_label),x.createElement(Zr,{id:"token",name:"token",type:"text",placeholder:_==null?void 0:_.token_input_placeholder,onChange:O=>d(O.target.value),appearance:i})),x.createElement(os,{color:"primary",type:"submit",loading:v,appearance:i},v?_==null?void 0:_.loading_button_label:_==null?void 0:_.button_label),o&&x.createElement(xi,{href:"#auth-sign-in",onClick:O=>{O.preventDefault(),e(rt.SIGN_IN)},appearance:i},(s=r==null?void 0:r.sign_in)==null?void 0:s.link_text),y&&x.createElement(ir,{appearance:i},y),p&&x.createElement(ir,{color:"danger",appearance:i},p)))}const Fv=B.createContext({user:null,session:null}),F4=e=>{const{supabaseClient:t}=e,[n,r]=B.useState(null),[i,o]=B.useState((n==null?void 0:n.user)??null);B.useEffect(()=>{(async()=>{var l;const{data:c}=await t.auth.getSession();r(c.session),o(((l=c.session)==null?void 0:l.user)??null)})();const{data:a}=t.auth.onAuthStateChange(async(l,c)=>{r(c),o((c==null?void 0:c.user)??null)});return()=>{a==null||a.subscription.unsubscribe()}},[]);const s={session:n,user:i};return x.createElement(Fv.Provider,{value:s,...e})},B4=()=>{const e=B.useContext(Fv);if(e===void 0)throw new Error("useUser must be used within a UserContextProvider.");return e};function ss({supabaseClient:e,socialLayout:t="vertical",providers:n,providerScopes:r,queryParams:i,view:o="sign_in",redirectTo:s,onlyThirdPartyProviders:a=!1,magicLink:l=!1,showLinks:c=!0,appearance:u,theme:f="default",localization:d={variables:{}},otpType:p="email",additionalData:m,children:y}){const S=cd(f4,d.variables??{}),[v,h]=B.useState(o),[w,_]=B.useState(""),[O,T]=B.useState(""),C=v==="sign_in"||v==="sign_up"||v==="magic_link";B.useEffect(()=>{var z,K;Nv({theme:cd(((z=u==null?void 0:u.theme)==null?void 0:z.default)??{},((K=u==null?void 0:u.variables)==null?void 0:K.default)??{})})},[u]);const R=({children:z})=>{var K;return x.createElement("div",{className:f!=="default"?a4(cd(u==null?void 0:u.theme[f],((K=u==null?void 0:u.variables)==null?void 0:K[f])??{})):""},C&&x.createElement(M4,{appearance:u,supabaseClient:e,providers:n,providerScopes:r,queryParams:i,socialLayout:t,redirectTo:s,onlyThirdPartyProviders:a,i18n:S,view:v}),!a&&z)};B.useEffect(()=>{const{data:z}=e.auth.onAuthStateChange(K=>{K==="PASSWORD_RECOVERY"?h("update_password"):K==="USER_UPDATED"&&h("sign_in")});return h(o),()=>z.subscription.unsubscribe()},[o]);const q={supabaseClient:e,setAuthView:h,defaultEmail:w,defaultPassword:O,setDefaultEmail:_,setDefaultPassword:T,redirectTo:s,magicLink:l,showLinks:c,i18n:S,appearance:u};switch(v){case rt.SIGN_IN:return x.createElement(R,null,x.createElement(lm,{...q,authView:"sign_in"}));case rt.SIGN_UP:return x.createElement(R,null,x.createElement(lm,{appearance:u,supabaseClient:e,authView:"sign_up",setAuthView:h,defaultEmail:w,defaultPassword:O,setDefaultEmail:_,setDefaultPassword:T,redirectTo:s,magicLink:l,showLinks:c,i18n:S,additionalData:m,children:y}));case rt.FORGOTTEN_PASSWORD:return x.createElement(Mv,{appearance:u,supabaseClient:e,setAuthView:h,redirectTo:s,showLinks:c,i18n:S});case rt.MAGIC_LINK:return x.createElement(R,null,x.createElement(zv,{appearance:u,supabaseClient:e,setAuthView:h,redirectTo:s,showLinks:c,i18n:S}));case rt.UPDATE_PASSWORD:return x.createElement(Dv,{appearance:u,supabaseClient:e,i18n:S});case rt.VERIFY_OTP:return x.createElement(D4,{appearance:u,supabaseClient:e,otpType:p,i18n:S});default:return null}}ss.ForgottenPassword=Mv;ss.UpdatePassword=Dv;ss.MagicLink=zv;ss.UserContextProvider=F4;ss.useUser=B4;$r({borderRadius:"12px",boxShadow:"rgba(100, 100, 111, 0.2) 0px 7px 29px 0px",width:"360px",padding:"28px 32px"});var It=function(){return It=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0?yt(as,--Pn):0,Go--,lt===10&&(Go=1,Gu--),lt}function Bn(){return lt=Pn2||$f(lt)>3?"":" "}function e_(e,t){for(;--t&&Bn()&&!(lt<48||lt>102||lt>57&<<65||lt>70&<<97););return Ku(e,zl()+(t<6&&Ti()==32&&Bn()==32))}function Tf(e){for(;Bn();)switch(lt){case e:return Pn;case 34:case 39:e!==34&&e!==39&&Tf(lt);break;case 40:e===41&&Tf(e);break;case 92:Bn();break}return Pn}function t_(e,t){for(;Bn()&&e+lt!==47+10;)if(e+lt===42+42&&Ti()===47)break;return"/*"+Ku(t,Pn-1)+"*"+Wh(e===47?e:Bn())}function n_(e){for(;!$f(Ti());)Bn();return Ku(e,Pn)}function r_(e){return X4(Ml("",null,null,null,[""],e=J4(e),0,[0],e))}function Ml(e,t,n,r,i,o,s,a,l){for(var c=0,u=0,f=s,d=0,p=0,m=0,y=1,S=1,v=1,h=0,w="",_=i,O=o,T=r,C=w;S;)switch(m=h,h=Bn()){case 40:if(m!=108&&yt(C,f-1)==58){Ll(C+=de(dd(h),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:C+=dd(h);break;case 9:case 10:case 13:case 32:C+=Z4(m);break;case 92:C+=e_(zl()-1,7);continue;case 47:switch(Ti()){case 42:case 47:zs(i_(t_(Bn(),zl()),t,n,l),l);break;default:C+="/"}break;case 123*y:a[c++]=Yn(C)*v;case 125*y:case 59:case 0:switch(h){case 0:case 125:S=0;case 59+u:v==-1&&(C=de(C,/\f/g,"")),p>0&&Yn(C)-f&&zs(p>32?dm(C+";",r,n,f-1,l):dm(de(C," ","")+";",r,n,f-2,l),l);break;case 59:C+=";";default:if(zs(T=cm(C,t,n,c,u,i,a,w,_=[],O=[],f,o),o),h===123)if(u===0)Ml(C,t,T,T,_,o,f,a,O);else switch(d===99&&yt(C,3)===110?100:d){case 100:case 108:case 109:case 115:Ml(e,T,T,r&&zs(cm(e,T,T,0,0,i,a,w,i,_=[],f,O),O),i,O,f,a,r?_:O);break;default:Ml(C,T,T,T,[""],O,0,a,O)}}c=u=p=0,y=v=1,w=C="",f=s;break;case 58:f=1+Yn(C),p=m;default:if(y<1){if(h==123)--y;else if(h==125&&y++==0&&Q4()==125)continue}switch(C+=Wh(h),h*y){case 38:v=u>0?1:(C+="\f",-1);break;case 44:a[c++]=(Yn(C)-1)*v,v=1;break;case 64:Ti()===45&&(C+=dd(Bn())),d=Ti(),u=f=Yn(w=C+=n_(zl())),h++;break;case 45:m===45&&Yn(C)==2&&(y=0)}}return o}function cm(e,t,n,r,i,o,s,a,l,c,u,f){for(var d=i-1,p=i===0?o:[""],m=Vv(p),y=0,S=0,v=0;y0?p[h]+" "+w:de(w,/&\f/g,p[h])))&&(l[v++]=_);return qu(e,t,n,i===0?Vu:a,l,c,u,f)}function i_(e,t,n,r){return qu(e,t,n,Uv,Wh(Y4()),Vo(e,2,-2),0,r)}function dm(e,t,n,r,i){return qu(e,t,n,Hh,Vo(e,0,r),Vo(e,r+1,-1),r,i)}function qv(e,t,n){switch(q4(e,t)){case 5103:return Oe+"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 Oe+e+e;case 4789:return Qs+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Oe+e+Qs+e+Fe+e+e;case 5936:switch(yt(e,t+11)){case 114:return Oe+e+Fe+de(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Oe+e+Fe+de(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Oe+e+Fe+de(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Oe+e+Fe+e+e;case 6165:return Oe+e+Fe+"flex-"+e+e;case 5187:return Oe+e+de(e,/(\w+).+(:[^]+)/,Oe+"box-$1$2"+Fe+"flex-$1$2")+e;case 5443:return Oe+e+Fe+"flex-item-"+de(e,/flex-|-self/g,"")+(fr(e,/flex-|baseline/)?"":Fe+"grid-row-"+de(e,/flex-|-self/g,""))+e;case 4675:return Oe+e+Fe+"flex-line-pack"+de(e,/align-content|flex-|-self/g,"")+e;case 5548:return Oe+e+Fe+de(e,"shrink","negative")+e;case 5292:return Oe+e+Fe+de(e,"basis","preferred-size")+e;case 6060:return Oe+"box-"+de(e,"-grow","")+Oe+e+Fe+de(e,"grow","positive")+e;case 4554:return Oe+de(e,/([^-])(transform)/g,"$1"+Oe+"$2")+e;case 6187:return de(de(de(e,/(zoom-|grab)/,Oe+"$1"),/(image-set)/,Oe+"$1"),e,"")+e;case 5495:case 3959:return de(e,/(image-set\([^]*)/,Oe+"$1$`$1");case 4968:return de(de(e,/(.+:)(flex-)?(.*)/,Oe+"box-pack:$3"+Fe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Oe+e+e;case 4200:if(!fr(e,/flex-|baseline/))return Fe+"grid-column-align"+Vo(e,t)+e;break;case 2592:case 3360:return Fe+de(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,i){return t=i,fr(r.props,/grid-\w+-end/)})?~Ll(e+(n=n[t].value),"span")?e:Fe+de(e,"-start","")+e+Fe+"grid-row-span:"+(~Ll(n,"span")?fr(n,/\d+/):+fr(n,/\d+/)-+fr(e,/\d+/))+";":Fe+de(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return fr(r.props,/grid-\w+-start/)})?e:Fe+de(de(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return de(e,/(.+)-inline(.+)/,Oe+"$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(Yn(e)-1-t>6)switch(yt(e,t+1)){case 109:if(yt(e,t+4)!==45)break;case 102:return de(e,/(.+:)(.+)-([^]+)/,"$1"+Oe+"$2-$3$1"+Qs+(yt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ll(e,"stretch")?qv(de(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return de(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,o,s,a,l,c){return Fe+i+":"+o+c+(s?Fe+i+"-span:"+(a?l:+l-+o)+c:"")+e});case 4949:if(yt(e,t+6)===121)return de(e,":",":"+Oe)+e;break;case 6444:switch(yt(e,yt(e,14)===45?18:11)){case 120:return de(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Oe+(yt(e,14)===45?"inline-":"")+"box$3$1"+Oe+"$2$3$1"+Fe+"$2box$3")+e;case 100:return de(e,":",":"+Fe)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return de(e,"scroll-","scroll-snap-")+e}return e}function mu(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case Hh:e.return=qv(e.value,e.length,n);return;case Hv:return mu([zr(e,{value:de(e.value,"@","@"+Oe)})],r);case Vu:if(e.length)return K4(n=e.props,function(i){switch(fr(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":so(zr(e,{props:[de(i,/:(read-\w+)/,":"+Qs+"$1")]})),so(zr(e,{props:[i]})),Of(e,{props:um(n,r)});break;case"::placeholder":so(zr(e,{props:[de(i,/:(plac\w+)/,":"+Oe+"input-$1")]})),so(zr(e,{props:[de(i,/:(plac\w+)/,":"+Qs+"$1")]})),so(zr(e,{props:[de(i,/:(plac\w+)/,Fe+"input-$1")]})),so(zr(e,{props:[i]})),Of(e,{props:um(n,r)});break}return""})}}var Kv={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,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},qo=typeof process<"u"&&process.env!==void 0&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",Vh=typeof window<"u"&&"HTMLElement"in window,u_=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""&&{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY),Yu=Object.freeze([]),Ko=Object.freeze({});function c_(e,t,n){return n===void 0&&(n=Ko),e.theme!==n.theme&&e.theme||t||n.theme}var Yv=new Set(["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","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","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),d_=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,f_=/(^-|-$)/g;function fm(e){return e.replace(d_,"-").replace(f_,"")}var h_=/(a)(d)/gi,hm=function(e){return String.fromCharCode(e+(e>25?39:97))};function Pf(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=hm(t%52)+n;return(hm(t%52)+n).replace(h_,"$1-$2")}var fd,$o=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Qv=function(e){return $o(5381,e)};function p_(e){return Pf(Qv(e)>>>0)}function m_(e){return e.displayName||e.name||"Component"}function hd(e){return typeof e=="string"&&!0}var Jv=typeof Symbol=="function"&&Symbol.for,Xv=Jv?Symbol.for("react.memo"):60115,g_=Jv?Symbol.for("react.forward_ref"):60112,v_={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},y_={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Zv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},w_=((fd={})[g_]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},fd[Xv]=Zv,fd);function pm(e){return("type"in(t=e)&&t.type.$$typeof)===Xv?Zv:"$$typeof"in e?w_[e.$$typeof]:v_;var t}var b_=Object.defineProperty,S_=Object.getOwnPropertyNames,mm=Object.getOwnPropertySymbols,__=Object.getOwnPropertyDescriptor,k_=Object.getPrototypeOf,gm=Object.prototype;function ey(e,t,n){if(typeof t!="string"){if(gm){var r=k_(t);r&&r!==gm&&ey(e,r,n)}var i=S_(t);mm&&(i=i.concat(mm(t)));for(var o=pm(e),s=pm(t),a=0;a0?" Args: ".concat(t.join(", ")):""))}var x_=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,i=r.length,o=i;t>=o;)if((o<<=1)<0)throw zi(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var s=i;s=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],i=this.indexOfGroup(t),o=i+r,s=i;s=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(S+="".concat(v,","))}),l+="".concat(m).concat(y,'{content:"').concat(S,'"}').concat(`/*!sc*/ -`)},u=0;u0?".".concat(t):d},u=l.slice();u.push(function(d){d.type===Vu&&d.value.includes("&")&&(d.props[0]=d.props[0].replace(N_,n).replace(r,c))}),s.prefix&&u.push(l_),u.push(o_);var f=function(d,p,m,y){p===void 0&&(p=""),m===void 0&&(m=""),y===void 0&&(y="&"),t=y,n=p,r=new RegExp("\\".concat(n,"\\b"),"g");var S=d.replace(L_,""),v=r_(m||p?"".concat(m," ").concat(p," { ").concat(S," }"):S);s.namespace&&(v=ry(v,s.namespace));var h=[];return mu(v,s_(u.concat(a_(function(w){return h.push(w)})))),h};return f.hash=l.length?l.reduce(function(d,p){return p.name||zi(15),$o(d,p.name)},5381).toString():"",f}var M_=new ny,Rf=z_(),iy=x.createContext({shouldForwardProp:void 0,styleSheet:M_,stylis:Rf});iy.Consumer;x.createContext(void 0);function wm(){return B.useContext(iy)}var D_=function(){function e(t,n){var r=this;this.inject=function(i,o){o===void 0&&(o=Rf);var s=r.name+o.hash;i.hasNameForId(r.id,s)||i.insertRules(r.id,s,o(r.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,qh(this,function(){throw zi(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Rf),this.name+t.hash},e}(),F_=function(e){return e>="A"&&e<="Z"};function bm(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,s)){var a=r(o,".".concat(s),void 0,this.componentId);n.insertRules(this.componentId,s,a)}i=Ei(i,s),this.staticRulesId=s}else{for(var l=$o(this.baseHash,r.hash),c="",u=0;u>>0);n.hasNameForId(this.componentId,p)||n.insertRules(this.componentId,p,r(c,".".concat(p),void 0,this.componentId)),i=Ei(i,p)}}return i},e}(),vu=x.createContext(void 0);vu.Consumer;function W_(e){var t=x.useContext(vu),n=B.useMemo(function(){return function(r,i){if(!r)throw zi(14);if(Li(r)){var o=r(i);return o}if(Array.isArray(r)||typeof r!="object")throw zi(8);return i?It(It({},i),r):r}(e.theme,t)},[e.theme,t]);return e.children?x.createElement(vu.Provider,{value:n},e.children):null}var md={};function V_(e,t,n){var r=Gh(e),i=e,o=!hd(e),s=t.attrs,a=s===void 0?Yu:s,l=t.componentId,c=l===void 0?function(w,_){var O=typeof w!="string"?"sc":fm(w);md[O]=(md[O]||0)+1;var T="".concat(O,"-").concat(p_("6.0.4"+O+md[O]));return _?"".concat(_,"-").concat(T):T}(t.displayName,t.parentComponentId):l,u=t.displayName;u===void 0&&function(w){return hd(w)?"styled.".concat(w):"Styled(".concat(m_(w),")")}(e);var f=t.displayName&&t.componentId?"".concat(fm(t.displayName),"-").concat(t.componentId):t.componentId||c,d=r&&i.attrs?i.attrs.concat(a).filter(Boolean):a,p=t.shouldForwardProp;if(r&&i.shouldForwardProp){var m=i.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;p=function(w,_){return m(w,_)&&y(w,_)}}else p=m}var S=new H_(n,f,r?i.componentStyle:void 0);function v(w,_){return function(O,T,C){var R=O.attrs,q=O.componentStyle,z=O.defaultProps,K=O.foldedComponentIds,Me=O.styledComponentId,Ne=O.target,$=x.useContext(vu),P=wm(),H=O.shouldForwardProp||P.shouldForwardProp,ee=function(nt,gt,ot){for(var Je,Ue=It(It({},gt),{className:void 0,theme:ot}),An=0;An{t[n]=uy(e[n])}),t}function yr(e,t,n={clone:!0}){const r=n.clone?ve({},e):e;return po(e)&&po(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(po(t[i])&&i in e&&po(e[i])?r[i]=yr(e[i],t[i],n):n.clone?r[i]=po(t[i])?uy(t[i]):t[i]:r[i]=t[i])}),r}function Yo(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function Y_(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function Q_(e,t){return()=>null}function J_(e,t){return B.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function cy(e){return e&&e.ownerDocument||document}function X_(e){return cy(e).defaultView||window}function Z_(e,t){return()=>null}function dy(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const e5=typeof window<"u"?B.useLayoutEffect:B.useEffect,fy=e5;let km=0;function t5(e){const[t,n]=B.useState(e),r=e||t;return B.useEffect(()=>{t==null&&(km+=1,n(`mui-${km}`))},[t]),r}const xm=Ed["useId".toString()];function n5(e){if(xm!==void 0){const t=xm();return e??t}return t5(e)}function r5(e,t,n,r,i){return null}function i5({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=B.useRef(e!==void 0),[o,s]=B.useState(t),a=i?e:o,l=B.useCallback(c=>{i||s(c)},[]);return[a,l]}function o5(e){const t=B.useRef(e);return fy(()=>{t.current=e}),B.useCallback((...n)=>(0,t.current)(...n),[])}function s5(...e){return B.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{dy(n,t)})},e)}let Qu=!0,jf=!1,Em;const a5={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function l5(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&a5[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function u5(e){e.metaKey||e.altKey||e.ctrlKey||(Qu=!0)}function vd(){Qu=!1}function c5(){this.visibilityState==="hidden"&&jf&&(Qu=!0)}function d5(e){e.addEventListener("keydown",u5,!0),e.addEventListener("mousedown",vd,!0),e.addEventListener("pointerdown",vd,!0),e.addEventListener("touchstart",vd,!0),e.addEventListener("visibilitychange",c5,!0)}function f5(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Qu||l5(t)}function h5(){const e=B.useCallback(i=>{i!=null&&d5(i.ownerDocument)},[]),t=B.useRef(!1);function n(){return t.current?(jf=!0,window.clearTimeout(Em),Em=window.setTimeout(()=>{jf=!1},100),t.current=!1,!0):!1}function r(i){return f5(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function hy(e,t){const n=ve({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=ve({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},o=t[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=ve({},o),Object.keys(i).forEach(s=>{n[r][s]=hy(i[s],o[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function p5(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,s)=>{if(s){const a=t(s);a!==""&&o.push(a),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),r}const Cm=e=>e,m5=()=>{let e=Cm;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Cm}}},g5=m5(),py=g5,v5={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function my(e,t,n="Mui"){const r=v5[t];return r?`${n}-${r}`:`${py.generate(e)}-${t}`}function y5(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=my(e,i,n)}),r}function Tr(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function gy(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t0?kt(ls,--nn):0,Qo--,ut===10&&(Qo=1,Xu--),ut}function hn(){return ut=nn2||ba(ut)>3?"":" "}function I5(e,t){for(;--t&&hn()&&!(ut<48||ut>102||ut>57&&ut<65||ut>70&&ut<97););return Aa(e,Fl()+(t<6&&rr()==32&&hn()==32))}function Lf(e){for(;hn();)switch(ut){case e:return nn;case 34:case 39:e!==34&&e!==39&&Lf(ut);break;case 40:e===41&&Lf(e);break;case 92:hn();break}return nn}function j5(e,t){for(;hn()&&e+ut!==47+10;)if(e+ut===42+42&&rr()===47)break;return"/*"+Aa(t,nn-1)+"*"+Ju(e===47?e:hn())}function N5(e){for(;!ba(rr());)hn();return Aa(e,nn)}function L5(e){return _y(Ul("",null,null,null,[""],e=Sy(e),0,[0],e))}function Ul(e,t,n,r,i,o,s,a,l){for(var c=0,u=0,f=s,d=0,p=0,m=0,y=1,S=1,v=1,h=0,w="",_=i,O=o,T=r,C=w;S;)switch(m=h,h=hn()){case 40:if(m!=108&&kt(C,f-1)==58){Nf(C+=Ee(Bl(h),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:C+=Bl(h);break;case 9:case 10:case 13:case 32:C+=R5(m);break;case 92:C+=I5(Fl()-1,7);continue;case 47:switch(rr()){case 42:case 47:bl(z5(j5(hn(),Fl()),t,n),l);break;default:C+="/"}break;case 123*y:a[c++]=Qn(C)*v;case 125*y:case 59:case 0:switch(h){case 0:case 125:S=0;case 59+u:v==-1&&(C=Ee(C,/\f/g,"")),p>0&&Qn(C)-f&&bl(p>32?$m(C+";",r,n,f-1):$m(Ee(C," ","")+";",r,n,f-2),l);break;case 59:C+=";";default:if(bl(T=Om(C,t,n,c,u,i,a,w,_=[],O=[],f),o),h===123)if(u===0)Ul(C,t,T,T,_,o,f,a,O);else switch(d===99&&kt(C,3)===110?100:d){case 100:case 108:case 109:case 115:Ul(e,T,T,r&&bl(Om(e,T,T,0,0,i,a,w,i,_=[],f),O),i,O,f,a,r?_:O);break;default:Ul(C,T,T,T,[""],O,0,a,O)}}c=u=p=0,y=v=1,w=C="",f=s;break;case 58:f=1+Qn(C),p=m;default:if(y<1){if(h==123)--y;else if(h==125&&y++==0&&A5()==125)continue}switch(C+=Ju(h),h*y){case 38:v=u>0?1:(C+="\f",-1);break;case 44:a[c++]=(Qn(C)-1)*v,v=1;break;case 64:rr()===45&&(C+=Bl(hn())),d=rr(),u=f=Qn(w=C+=N5(Fl())),h++;break;case 45:m===45&&Qn(C)==2&&(y=0)}}return o}function Om(e,t,n,r,i,o,s,a,l,c,u){for(var f=i-1,d=i===0?o:[""],p=Xh(d),m=0,y=0,S=0;m0?d[v]+" "+h:Ee(h,/&\f/g,d[v])))&&(l[S++]=w);return Zu(e,t,n,i===0?Qh:a,l,c,u)}function z5(e,t,n){return Zu(e,t,n,vy,Ju(P5()),wa(e,2,-2),0)}function $m(e,t,n,r){return Zu(e,t,n,Jh,wa(e,0,r),wa(e,r+1,-1),r)}function No(e,t){for(var n="",r=Xh(e),i=0;i6)switch(kt(e,t+1)){case 109:if(kt(e,t+4)!==45)break;case 102:return Ee(e,/(.+:)(.+)-([^]+)/,"$1"+xe+"$2-$3$1"+yu+(kt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Nf(e,"stretch")?ky(Ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(kt(e,t+1)!==115)break;case 6444:switch(kt(e,Qn(e)-3-(~Nf(e,"!important")&&10))){case 107:return Ee(e,":",":"+xe)+e;case 101:return Ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+xe+(kt(e,14)===45?"inline-":"")+"box$3$1"+xe+"$2$3$1"+Pt+"$2box$3")+e}break;case 5936:switch(kt(e,t+11)){case 114:return xe+e+Pt+Ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return xe+e+Pt+Ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return xe+e+Pt+Ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return xe+e+Pt+e+e}return e}var G5=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case Jh:t.return=ky(t.value,t.length);break;case yy:return No([$s(t,{value:Ee(t.value,"@","@"+xe)})],i);case Qh:if(t.length)return T5(t.props,function(o){switch($5(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return No([$s(t,{props:[Ee(o,/:(read-\w+)/,":"+yu+"$1")]})],i);case"::placeholder":return No([$s(t,{props:[Ee(o,/:(plac\w+)/,":"+xe+"input-$1")]}),$s(t,{props:[Ee(o,/:(plac\w+)/,":"+yu+"$1")]}),$s(t,{props:[Ee(o,/:(plac\w+)/,Pt+"input-$1")]})],i)}return""})}},q5=[G5],K5=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var S=y.getAttribute("data-emotion");S.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=t.stylisPlugins||q5,o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var S=y.getAttribute("data-emotion").split(" "),v=1;v=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Z5=/[A-Z]|^ms/g,ek=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ey=function(t){return t.charCodeAt(1)===45},Pm=function(t){return t!=null&&typeof t!="boolean"},yd=Bv(function(e){return Ey(e)?e:e.replace(Z5,"-$&").toLowerCase()}),Am=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(ek,function(r,i,o){return Jn={name:i,styles:o,next:Jn},i})}return Kv[t]!==1&&!Ey(t)&&typeof n=="number"&&n!==0?n+"px":n};function Sa(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Jn={name:n.name,styles:n.styles,next:Jn},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Jn={name:r.name,styles:r.styles,next:Jn},r=r.next;var i=n.styles+";";return i}return tk(e,t,n)}case"function":{if(e!==void 0){var o=Jn,s=n(e);return Jn=o,Sa(e,t,s)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function tk(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?ak:lk},jm=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},uk=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return xy(n,r,i),ok(function(){return J5(n,r,i)}),null},ck=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,s;n!==void 0&&(o=n.label,s=n.target);var a=jm(t,n,r),l=a||Im(i),c=!l("as");return function(){var u=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)f.push.apply(f,u);else{f.push(u[0][0]);for(var d=u.length,p=1;p{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},pk=["values","unit","step"],mk=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>ve({},n,{[r.key]:r.val}),{})};function gk(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=Tr(e,pk),o=mk(t),s=Object.keys(o);function a(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function l(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function c(d,p){const m=s.indexOf(p);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(m!==-1&&typeof t[s[m]]=="number"?t[s[m]]:p)-r/100}${n})`}function u(d){return s.indexOf(d)+1`@media (min-width:${Zh[e]}px)`};function xr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||Nm;return t.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const o=r.breakpoints||Nm;return Object.keys(t).reduce((s,a)=>{if(Object.keys(o.values||Zh).indexOf(a)!==-1){const l=o.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function wk(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function bk(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function ec(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function wu(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=ec(e,n)||r,t&&(i=t(i,r,e)),i}function $e(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,c=ec(l,r)||{};return xr(s,a,f=>{let d=wu(c,i,f);return f===d&&typeof f=="string"&&(d=wu(c,i,`${t}${f==="default"?"":nr(f)}`,f)),n===!1?d:{[n]:d}})};return o.propTypes={},o.filterProps=[t],o}function Sk(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const _k={m:"margin",p:"padding"},kk={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Lm={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},xk=Sk(e=>{if(e.length>2)if(Lm[e])e=Lm[e];else return[e];const[t,n]=e.split(""),r=_k[t],i=kk[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),ep=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],tp=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ep,...tp];function Ra(e,t,n,r){var i;const o=(i=ec(e,t,!1))!=null?i:n;return typeof o=="number"?s=>typeof s=="string"?s:o*s:Array.isArray(o)?s=>typeof s=="string"?s:o[s]:typeof o=="function"?o:()=>{}}function $y(e){return Ra(e,"spacing",8)}function Ia(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function Ek(e,t){return n=>e.reduce((r,i)=>(r[i]=Ia(t,n),r),{})}function Ck(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=xk(n),o=Ek(i,r),s=e[n];return xr(e,s,o)}function Ty(e,t){const n=$y(e.theme);return Object.keys(e).map(r=>Ck(e,t,r,n)).reduce(Js,{})}function Ze(e){return Ty(e,ep)}Ze.propTypes={};Ze.filterProps=ep;function et(e){return Ty(e,tp)}et.propTypes={};et.filterProps=tp;function Ok(e=8){if(e.mui)return e;const t=$y({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const s=t(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function tc(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>t[o]?Js(i,t[o](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function Zn(e){return typeof e!="number"?e:`${e}px solid`}const $k=$e({prop:"border",themeKey:"borders",transform:Zn}),Tk=$e({prop:"borderTop",themeKey:"borders",transform:Zn}),Pk=$e({prop:"borderRight",themeKey:"borders",transform:Zn}),Ak=$e({prop:"borderBottom",themeKey:"borders",transform:Zn}),Rk=$e({prop:"borderLeft",themeKey:"borders",transform:Zn}),Ik=$e({prop:"borderColor",themeKey:"palette"}),jk=$e({prop:"borderTopColor",themeKey:"palette"}),Nk=$e({prop:"borderRightColor",themeKey:"palette"}),Lk=$e({prop:"borderBottomColor",themeKey:"palette"}),zk=$e({prop:"borderLeftColor",themeKey:"palette"}),nc=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ra(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Ia(t,r)});return xr(e,e.borderRadius,n)}return null};nc.propTypes={};nc.filterProps=["borderRadius"];tc($k,Tk,Pk,Ak,Rk,Ik,jk,Nk,Lk,zk,nc);const rc=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ra(e.theme,"spacing",8),n=r=>({gap:Ia(t,r)});return xr(e,e.gap,n)}return null};rc.propTypes={};rc.filterProps=["gap"];const ic=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ra(e.theme,"spacing",8),n=r=>({columnGap:Ia(t,r)});return xr(e,e.columnGap,n)}return null};ic.propTypes={};ic.filterProps=["columnGap"];const oc=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ra(e.theme,"spacing",8),n=r=>({rowGap:Ia(t,r)});return xr(e,e.rowGap,n)}return null};oc.propTypes={};oc.filterProps=["rowGap"];const Mk=$e({prop:"gridColumn"}),Dk=$e({prop:"gridRow"}),Fk=$e({prop:"gridAutoFlow"}),Bk=$e({prop:"gridAutoColumns"}),Uk=$e({prop:"gridAutoRows"}),Hk=$e({prop:"gridTemplateColumns"}),Wk=$e({prop:"gridTemplateRows"}),Vk=$e({prop:"gridTemplateAreas"}),Gk=$e({prop:"gridArea"});tc(rc,ic,oc,Mk,Dk,Fk,Bk,Uk,Hk,Wk,Vk,Gk);function Lo(e,t){return t==="grey"?t:e}const qk=$e({prop:"color",themeKey:"palette",transform:Lo}),Kk=$e({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Lo}),Yk=$e({prop:"backgroundColor",themeKey:"palette",transform:Lo});tc(qk,Kk,Yk);function cn(e){return e<=1&&e!==0?`${e*100}%`:e}const Qk=$e({prop:"width",transform:cn}),np=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i,o;return{maxWidth:((r=e.theme)==null||(i=r.breakpoints)==null||(o=i.values)==null?void 0:o[n])||Zh[n]||cn(n)}};return xr(e,e.maxWidth,t)}return null};np.filterProps=["maxWidth"];const Jk=$e({prop:"minWidth",transform:cn}),Xk=$e({prop:"height",transform:cn}),Zk=$e({prop:"maxHeight",transform:cn}),ex=$e({prop:"minHeight",transform:cn});$e({prop:"size",cssProperty:"width",transform:cn});$e({prop:"size",cssProperty:"height",transform:cn});const tx=$e({prop:"boxSizing"});tc(Qk,np,Jk,Xk,Zk,ex,tx);const nx={border:{themeKey:"borders",transform:Zn},borderTop:{themeKey:"borders",transform:Zn},borderRight:{themeKey:"borders",transform:Zn},borderBottom:{themeKey:"borders",transform:Zn},borderLeft:{themeKey:"borders",transform:Zn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:nc},color:{themeKey:"palette",transform:Lo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Lo},backgroundColor:{themeKey:"palette",transform:Lo},p:{style:et},pt:{style:et},pr:{style:et},pb:{style:et},pl:{style:et},px:{style:et},py:{style:et},padding:{style:et},paddingTop:{style:et},paddingRight:{style:et},paddingBottom:{style:et},paddingLeft:{style:et},paddingX:{style:et},paddingY:{style:et},paddingInline:{style:et},paddingInlineStart:{style:et},paddingInlineEnd:{style:et},paddingBlock:{style:et},paddingBlockStart:{style:et},paddingBlockEnd:{style:et},m:{style:Ze},mt:{style:Ze},mr:{style:Ze},mb:{style:Ze},ml:{style:Ze},mx:{style:Ze},my:{style:Ze},margin:{style:Ze},marginTop:{style:Ze},marginRight:{style:Ze},marginBottom:{style:Ze},marginLeft:{style:Ze},marginX:{style:Ze},marginY:{style:Ze},marginInline:{style:Ze},marginInlineStart:{style:Ze},marginInlineEnd:{style:Ze},marginBlock:{style:Ze},marginBlockStart:{style:Ze},marginBlockEnd:{style:Ze},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:rc},rowGap:{style:oc},columnGap:{style:ic},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:cn},maxWidth:{style:np},minWidth:{transform:cn},height:{transform:cn},maxHeight:{transform:cn},minHeight:{transform:cn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},rp=nx;function rx(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function ix(e,t){return typeof e=="function"?e(t):e}function ox(){function e(n,r,i,o){const s={[n]:r,theme:i},a=o[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:f}=a;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const d=ec(i,c)||{};return f?f(s):xr(s,r,m=>{let y=wu(d,u,m);return m===y&&typeof m=="string"&&(y=wu(d,u,`${n}${m==="default"?"":nr(m)}`,m)),l===!1?y:{[l]:y}})}function t(n){var r;const{sx:i,theme:o={}}=n||{};if(!i)return null;const s=(r=o.unstable_sxConfig)!=null?r:rp;function a(l){let c=l;if(typeof l=="function")c=l(o);else if(typeof l!="object")return l;if(!c)return null;const u=wk(o.breakpoints),f=Object.keys(u);let d=u;return Object.keys(c).forEach(p=>{const m=ix(c[p],o);if(m!=null)if(typeof m=="object")if(s[p])d=Js(d,e(p,m,o,s));else{const y=xr({theme:o},m,S=>({[p]:S}));rx(y,m)?d[p]=t({sx:m,theme:o}):d=Js(d,y)}else d=Js(d,e(p,m,o,s))}),bk(f,d)}return Array.isArray(i)?i.map(a):a(i)}return t}const Py=ox();Py.filterProps=["sx"];const ip=Py,sx=["breakpoints","palette","spacing","shape"];function op(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,s=Tr(e,sx),a=gk(n),l=Ok(i);let c=yr({breakpoints:a,direction:"ltr",components:{},palette:ve({mode:"light"},r),spacing:l,shape:ve({},yk,o)},s);return c=t.reduce((u,f)=>yr(u,f),c),c.unstable_sxConfig=ve({},rp,s==null?void 0:s.unstable_sxConfig),c.unstable_sx=function(f){return ip({sx:f,theme:this})},c}function ax(e){return Object.keys(e).length===0}function lx(e=null){const t=B.useContext(Oy);return!t||ax(t)?e:t}const ux=op();function cx(e=ux){return lx(e)}const dx=["variant"];function zm(e){return e.length===0}function Ay(e){const{variant:t}=e,n=Tr(e,dx);let r=t||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=zm(r)?e[i]:nr(e[i]):r+=`${zm(r)?i:nr(i)}${nr(e[i].toString())}`}),r}const fx=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function hx(e){return Object.keys(e).length===0}function px(e){return typeof e=="string"&&e.charCodeAt(0)>96}const mx=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,gx=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(i=>{const o=Ay(i.props);r[o]=i.style}),r},vx=(e,t,n,r)=>{var i,o;const{ownerState:s={}}=e,a=[],l=n==null||(i=n.components)==null||(o=i[r])==null?void 0:o.variants;return l&&l.forEach(c=>{let u=!0;Object.keys(c.props).forEach(f=>{s[f]!==c.props[f]&&e[f]!==c.props[f]&&(u=!1)}),u&&a.push(t[Ay(c.props)])}),a};function Hl(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const yx=op();function Ts({defaultTheme:e,theme:t,themeId:n}){return hx(t)?e:t[n]||t}function wx(e={}){const{themeId:t,defaultTheme:n=yx,rootShouldForwardProp:r=Hl,slotShouldForwardProp:i=Hl}=e,o=s=>ip(ve({},s,{theme:Ts(ve({},s,{defaultTheme:n,themeId:t}))}));return o.__mui_systemSx=!0,(s,a={})=>{hk(s,_=>_.filter(O=>!(O!=null&&O.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:f,overridesResolver:d}=a,p=Tr(a,fx),m=u!==void 0?u:c&&c!=="Root"||!1,y=f||!1;let S,v=Hl;c==="Root"?v=r:c?v=i:px(s)&&(v=void 0);const h=fk(s,ve({shouldForwardProp:v,label:S},p)),w=(_,...O)=>{const T=O?O.map(z=>typeof z=="function"&&z.__emotion_real!==z?K=>z(ve({},K,{theme:Ts(ve({},K,{defaultTheme:n,themeId:t}))})):z):[];let C=_;l&&d&&T.push(z=>{const K=Ts(ve({},z,{defaultTheme:n,themeId:t})),Me=mx(l,K);if(Me){const Ne={};return Object.entries(Me).forEach(([$,P])=>{Ne[$]=typeof P=="function"?P(ve({},z,{theme:K})):P}),d(z,Ne)}return null}),l&&!m&&T.push(z=>{const K=Ts(ve({},z,{defaultTheme:n,themeId:t}));return vx(z,gx(l,K),K,l)}),y||T.push(o);const R=T.length-O.length;if(Array.isArray(_)&&R>0){const z=new Array(R).fill("");C=[..._,...z],C.raw=[..._.raw,...z]}else typeof _=="function"&&_.__emotion_real!==_&&(C=z=>_(ve({},z,{theme:Ts(ve({},z,{defaultTheme:n,themeId:t}))})));const q=h(C,...T);return s.muiName&&(q.muiName=s.muiName),q};return h.withConfig&&(w.withConfig=h.withConfig),w}}function bx(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:hy(t.components[n].defaultProps,r)}function Sx({props:e,name:t,defaultTheme:n,themeId:r}){let i=cx(n);return r&&(i=i[r]||i),bx({theme:i,name:t,props:e})}function Ry(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function _x(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Jo(e){if(e.type)return e;if(e.charAt(0)==="#")return Jo(_x(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Yo(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(Yo(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}function sp(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function kx(e){e=Jo(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),s=(c,u=(c+n/30)%12)=>i-o*Math.max(Math.min(u-3,9-u,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),sp({type:a,values:l})}function Mm(e){e=Jo(e);let t=e.type==="hsl"||e.type==="hsla"?Jo(kx(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function xx(e,t){const n=Mm(e),r=Mm(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Ex(e,t){if(e=Jo(e),t=Ry(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return sp(e)}function Cx(e,t){if(e=Jo(e),t=Ry(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return sp(e)}function Ox(e,t){return ve({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const $x={black:"#000",white:"#fff"},_a=$x,Tx={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Px=Tx,Ax={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ao=Ax,Rx={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},lo=Rx,Ix={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ps=Ix,jx={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},uo=jx,Nx={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},co=Nx,Lx={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},fo=Lx,zx=["mode","contrastThreshold","tonalOffset"],Dm={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:_a.white,default:_a.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},wd={text:{primary:_a.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:_a.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Fm(e,t,n,r){const i=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Cx(e.main,i):t==="dark"&&(e.dark=Ex(e.main,o)))}function Mx(e="light"){return e==="dark"?{main:uo[200],light:uo[50],dark:uo[400]}:{main:uo[700],light:uo[400],dark:uo[800]}}function Dx(e="light"){return e==="dark"?{main:ao[200],light:ao[50],dark:ao[400]}:{main:ao[500],light:ao[300],dark:ao[700]}}function Fx(e="light"){return e==="dark"?{main:lo[500],light:lo[300],dark:lo[700]}:{main:lo[700],light:lo[400],dark:lo[800]}}function Bx(e="light"){return e==="dark"?{main:co[400],light:co[300],dark:co[700]}:{main:co[700],light:co[500],dark:co[900]}}function Ux(e="light"){return e==="dark"?{main:fo[400],light:fo[300],dark:fo[700]}:{main:fo[800],light:fo[500],dark:fo[900]}}function Hx(e="light"){return e==="dark"?{main:Ps[400],light:Ps[300],dark:Ps[700]}:{main:"#ed6c02",light:Ps[500],dark:Ps[900]}}function Wx(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=Tr(e,zx),o=e.primary||Mx(t),s=e.secondary||Dx(t),a=e.error||Fx(t),l=e.info||Bx(t),c=e.success||Ux(t),u=e.warning||Hx(t);function f(y){return xx(y,wd.text.primary)>=n?wd.text.primary:Dm.text.primary}const d=({color:y,name:S,mainShade:v=500,lightShade:h=300,darkShade:w=700})=>{if(y=ve({},y),!y.main&&y[v]&&(y.main=y[v]),!y.hasOwnProperty("main"))throw new Error(Yo(11,S?` (${S})`:"",v));if(typeof y.main!="string")throw new Error(Yo(12,S?` (${S})`:"",JSON.stringify(y.main)));return Fm(y,"light",h,r),Fm(y,"dark",w,r),y.contrastText||(y.contrastText=f(y.main)),y},p={dark:wd,light:Dm};return yr(ve({common:ve({},_a),mode:t,primary:d({color:o,name:"primary"}),secondary:d({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:a,name:"error"}),warning:d({color:u,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:c,name:"success"}),grey:Px,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r},p[t]),i)}const Vx=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Gx(e){return Math.round(e*1e5)/1e5}const Bm={textTransform:"uppercase"},Um='"Roboto", "Helvetica", "Arial", sans-serif';function qx(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Um,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:f}=n,d=Tr(n,Vx),p=i/14,m=f||(v=>`${v/c*p}rem`),y=(v,h,w,_,O)=>ve({fontFamily:r,fontWeight:v,fontSize:m(h),lineHeight:w},r===Um?{letterSpacing:`${Gx(_/h)}em`}:{},O,u),S={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(s,48,1.167,0),h4:y(s,34,1.235,.25),h5:y(s,24,1.334,0),h6:y(a,20,1.6,.15),subtitle1:y(s,16,1.75,.15),subtitle2:y(a,14,1.57,.1),body1:y(s,16,1.5,.15),body2:y(s,14,1.43,.15),button:y(a,14,1.75,.4,Bm),caption:y(s,12,1.66,.4),overline:y(s,12,2.66,1,Bm),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return yr(ve({htmlFontSize:c,pxToRem:m,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},S),d,{clone:!1})}const Kx=.2,Yx=.14,Qx=.12;function We(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Kx})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Yx})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Qx})`].join(",")}const Jx=["none",We(0,2,1,-1,0,1,1,0,0,1,3,0),We(0,3,1,-2,0,2,2,0,0,1,5,0),We(0,3,3,-2,0,3,4,0,0,1,8,0),We(0,2,4,-1,0,4,5,0,0,1,10,0),We(0,3,5,-1,0,5,8,0,0,1,14,0),We(0,3,5,-1,0,6,10,0,0,1,18,0),We(0,4,5,-2,0,7,10,1,0,2,16,1),We(0,5,5,-3,0,8,10,1,0,3,14,2),We(0,5,6,-3,0,9,12,1,0,3,16,2),We(0,6,6,-3,0,10,14,1,0,4,18,3),We(0,6,7,-4,0,11,15,1,0,4,20,3),We(0,7,8,-4,0,12,17,2,0,5,22,4),We(0,7,8,-4,0,13,19,2,0,5,24,4),We(0,7,9,-4,0,14,21,2,0,5,26,4),We(0,8,9,-5,0,15,22,2,0,6,28,5),We(0,8,10,-5,0,16,24,2,0,6,30,5),We(0,8,11,-5,0,17,26,2,0,6,32,5),We(0,9,11,-5,0,18,28,2,0,7,34,6),We(0,9,12,-6,0,19,29,2,0,7,36,6),We(0,10,13,-6,0,20,31,3,0,8,38,7),We(0,10,13,-6,0,21,33,3,0,8,40,7),We(0,10,14,-6,0,22,35,3,0,8,42,7),We(0,11,14,-7,0,23,36,3,0,9,44,8),We(0,11,15,-7,0,24,38,3,0,9,46,8)],Xx=Jx,Zx=["duration","easing","delay"],e6={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},t6={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Hm(e){return`${Math.round(e)}ms`}function n6(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function r6(e){const t=ve({},e6,e.easing),n=ve({},t6,e.duration);return ve({getAutoHeightDuration:n6,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0}=o;return Tr(o,Zx),(Array.isArray(i)?i:[i]).map(c=>`${c} ${typeof s=="string"?s:Hm(s)} ${a} ${typeof l=="string"?l:Hm(l)}`).join(",")}},e,{easing:t,duration:n})}const i6={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},o6=i6,s6=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function a6(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,s=Tr(e,s6);if(e.vars)throw new Error(Yo(18));const a=Wx(r),l=op(e);let c=yr(l,{mixins:Ox(l.breakpoints,n),palette:a,shadows:Xx.slice(),typography:qx(a,o),transitions:r6(i),zIndex:ve({},o6)});return c=yr(c,s),c=t.reduce((u,f)=>yr(u,f),c),c.unstable_sxConfig=ve({},rp,s==null?void 0:s.unstable_sxConfig),c.unstable_sx=function(f){return ip({sx:f,theme:this})},c}const l6=a6(),Iy=l6,jy="$$material";function u6({props:e,name:t}){return Sx({props:e,name:t,defaultTheme:Iy,themeId:jy})}const c6=e=>Hl(e)&&e!=="classes",d6=wx({themeId:jy,defaultTheme:Iy,rootShouldForwardProp:c6}),f6=d6;function h6(e){return my("MuiSvgIcon",e)}y5("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const p6=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],m6=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${nr(t)}`,`fontSize${nr(n)}`]};return p5(i,h6,r)},g6=f6("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${nr(n.color)}`],t[`fontSize${nr(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,o,s,a,l,c,u,f,d,p,m,y,S,v,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=e.transitions)==null||(o=i.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((s=e.typography)==null||(a=s.pxToRem)==null?void 0:a.call(s,20))||"1.25rem",medium:((l=e.typography)==null||(c=l.pxToRem)==null?void 0:c.call(l,24))||"1.5rem",large:((u=e.typography)==null||(f=u.pxToRem)==null?void 0:f.call(u,35))||"2.1875rem"}[t.fontSize],color:(d=(p=(e.vars||e).palette)==null||(m=p[t.color])==null?void 0:m.main)!=null?d:{action:(y=(e.vars||e).palette)==null||(S=y.action)==null?void 0:S.active,disabled:(v=(e.vars||e).palette)==null||(h=v.action)==null?void 0:h.disabled,inherit:void 0}[t.color]}}),Ny=B.forwardRef(function(t,n){const r=u6({props:t,name:"MuiSvgIcon"}),{children:i,className:o,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:f,viewBox:d="0 0 24 24"}=r,p=Tr(r,p6),m=B.isValidElement(i)&&i.type==="svg",y=ve({},r,{color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:d,hasSvgAsChild:m}),S={};u||(S.viewBox=d);const v=m6(y);return _t.jsxs(g6,ve({as:a,className:w5(v.root,o),focusable:"false",color:c,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n},S,p,m&&i.props,{ownerState:y,children:[m?i.props.children:i,f?_t.jsx("title",{children:f}):null]}))});Ny.muiName="SvgIcon";const Wm=Ny;function v6(e,t){function n(r,i){return _t.jsx(Wm,ve({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return n.muiName=Wm.muiName,B.memo(B.forwardRef(n))}const y6={configure:e=>{py.configure(e)}},w6=Object.freeze(Object.defineProperty({__proto__:null,capitalize:nr,createChainedFunction:K_,createSvgIcon:v6,debounce:Y_,deprecatedPropType:Q_,isMuiElement:J_,ownerDocument:cy,ownerWindow:X_,requirePropFactory:Z_,setRef:dy,unstable_ClassNameGenerator:y6,unstable_useEnhancedEffect:fy,unstable_useId:n5,unsupportedProp:r5,useControlled:i5,useEventCallback:o5,useForkRef:s5,useIsFocusVisible:h5},Symbol.toStringTag,{value:"Module"})),b6=d1(w6);var Vm;function S6(){return Vm||(Vm=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=b6}(gd)),gd}var _6=q_;Object.defineProperty(Yh,"__esModule",{value:!0});var Ly=Yh.default=void 0,k6=_6(S6()),x6=_t,E6=(0,k6.default)((0,x6.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6zm0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20z"}),"AccountCircle");Ly=Yh.default=E6;var zy={exports:{}},My={exports:{}};(function(e,t){(function(n){e.exports=n(null)})(function n(r){var i=/^\0+/g,o=/[\0\r\f]/g,s=/: */g,a=/zoo|gra/,l=/([,: ])(transform)/g,c=/,+\s*(?![^(]*[)])/g,u=/ +\s*(?![^(]*[)])/g,f=/ *[\0] */g,d=/,\r+?/g,p=/([\t\r\n ])*\f?&/g,m=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,y=/\W+/g,S=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,h=/:(read-only)/g,w=/\s+(?=[{\];=:>])/g,_=/([[}=:>])\s+/g,O=/(\{[^{]+?);(?=\})/g,T=/\s{2,}/g,C=/([^\(])(:+) */g,R=/[svh]\w+-[tblr]{2}/,q=/\(\s*(.*)\s*\)/g,z=/([\s\S]*?);/g,K=/-self|flex-/g,Me=/[^]*?(:[rp][el]a[\w-]+)[^]*/,Ne=/stretch|:\s*\w+\-(?:conte|avail)/,$=/([^-])(image-set\()/,P="-webkit-",H="-moz-",ee="-ms-",j=59,D=125,X=123,ue=40,he=41,nt=91,gt=93,ot=10,Je=13,Ue=9,An=64,dt=32,Vt=38,Gt=45,wc=95,yn=42,Rn=44,Lt=58,si=39,ai=34,rn=47,li=62,ui=43,Ui=126,ci=0,La=12,za=11,Hi=107,Wi=109,Ma=115,us=112,Da=111,Fa=105,Ba=99,Hn=100,cs=112,qt=1,Wn=1,Vn=0,wn=1,on=1,ds=1,Ua=0,ar=0,di=0,Vi=[],fs=[],bn=0,Gi=null,bc=-2,Ha=-1,Sc=0,Wa=1,Va=2,_c=3,hs=0,Pr=1,qi="",In="",fi="";function Ki(se,te,Z,ce,W){for(var _e,A,me=0,pe=0,He=0,fe=0,Xe=0,Re=0,ge=0,ft=0,Ct=0,Gn=0,Ot=0,sn=0,hi=0,Sn=0,we=0,st=0,lr=0,Ir=0,Te=0,ie=Z.length,je=ie-1,at="",le="",g="",b="",k="",L="";we0&&(le=le.replace(o,"")),le.trim().length>0)){switch(ge){case dt:case Ue:case j:case Je:case ot:break;default:le+=Z.charAt(we)}ge=j}if(lr===1)switch(ge){case X:case D:case j:case ai:case si:case ue:case he:case Rn:lr=0;case Ue:case Je:case ot:case dt:break;default:for(lr=0,Te=we,Xe=ge,we--,ge=j;Te0&&(++we,ge=Xe);case X:Te=ie}}switch(ge){case X:for(Xe=(le=le.trim()).charCodeAt(0),Ot=1,Te=++we;we0&&(le=le.replace(o,"")),Re=le.charCodeAt(1)){case Hn:case Wi:case Ma:case Gt:_e=te;break;default:_e=Vi}if(Te=(g=Ki(te,_e,g,Re,W+1)).length,di>0&&Te===0&&(Te=le.length),bn>0&&(_e=ps(Vi,le,Ir),A=Ar(_c,g,_e,te,Wn,qt,Te,Re,W,ce),le=_e.join(""),A!==void 0&&(Te=(g=A.trim()).length)===0&&(Re=0,g="")),Te>0)switch(Re){case Ma:le=le.replace(q,qa);case Hn:case Wi:case Gt:g=le+"{"+g+"}";break;case Hi:g=(le=le.replace(S,"$1 $2"+(Pr>0?qi:"")))+"{"+g+"}",on===1||on===2&&Qi("@"+g,3)?g="@"+P+g+"@"+g:g="@"+g;break;default:g=le+g,ce===cs&&(b+=g,g="")}else g="";break;default:g=Ki(te,ps(te,le,Ir),g,ce,W+1)}k+=g,sn=0,lr=0,Sn=0,st=0,Ir=0,hi=0,le="",g="",ge=Z.charCodeAt(++we);break;case D:case j:if((Te=(le=(st>0?le.replace(o,""):le).trim()).length)>1)switch(Sn===0&&((Xe=le.charCodeAt(0))===Gt||Xe>96&&Xe<123)&&(Te=(le=le.replace(" ",":")).length),bn>0&&(A=Ar(Wa,le,te,se,Wn,qt,b.length,ce,W,ce))!==void 0&&(Te=(le=A.trim()).length)===0&&(le="\0\0"),Xe=le.charCodeAt(0),Re=le.charCodeAt(1),Xe){case ci:break;case An:if(Re===Fa||Re===Ba){L+=le+Z.charAt(we);break}default:if(le.charCodeAt(Te-1)===Lt)break;b+=Yi(le,Xe,Re,le.charCodeAt(2))}sn=0,lr=0,Sn=0,st=0,Ir=0,le="",ge=Z.charCodeAt(++we)}}switch(ge){case Je:case ot:if(pe+fe+He+me+ar===0)switch(Gn){case he:case si:case ai:case An:case Ui:case li:case yn:case ui:case rn:case Gt:case Lt:case Rn:case j:case X:case D:break;default:Sn>0&&(lr=1)}pe===rn?pe=0:wn+sn===0&&ce!==Hi&&le.length>0&&(st=1,le+="\0"),bn*hs>0&&Ar(Sc,le,te,se,Wn,qt,b.length,ce,W,ce),qt=1,Wn++;break;case j:case D:if(pe+fe+He+me===0){qt++;break}default:switch(qt++,at=Z.charAt(we),ge){case Ue:case dt:if(fe+me+pe===0)switch(ft){case Rn:case Lt:case Ue:case dt:at="";break;default:ge!==dt&&(at=" ")}break;case ci:at="\\0";break;case La:at="\\f";break;case za:at="\\v";break;case Vt:fe+pe+me===0&&wn>0&&(Ir=1,st=1,at="\f"+at);break;case 108:if(fe+pe+me+Vn===0&&Sn>0)switch(we-Sn){case 2:ft===us&&Z.charCodeAt(we-3)===Lt&&(Vn=ft);case 8:Ct===Da&&(Vn=Ct)}break;case Lt:fe+pe+me===0&&(Sn=we);break;case Rn:pe+He+fe+me===0&&(st=1,at+="\r");break;case ai:case si:pe===0&&(fe=fe===ge?0:fe===0?ge:fe);break;case nt:fe+pe+He===0&&me++;break;case gt:fe+pe+He===0&&me--;break;case he:fe+pe+me===0&&He--;break;case ue:if(fe+pe+me===0){if(sn===0)switch(2*ft+3*Ct){case 533:break;default:Ot=0,sn=1}He++}break;case An:pe+He+fe+me+Sn+hi===0&&(hi=1);break;case yn:case rn:if(fe+me+He>0)break;switch(pe){case 0:switch(2*ge+3*Z.charCodeAt(we+1)){case 235:pe=rn;break;case 220:Te=we,pe=yn}break;case yn:ge===rn&&ft===yn&&Te+2!==we&&(Z.charCodeAt(Te+2)===33&&(b+=Z.substring(Te,we+1)),at="",pe=0)}}if(pe===0){if(wn+fe+me+hi===0&&ce!==Hi&&ge!==j)switch(ge){case Rn:case Ui:case li:case ui:case he:case ue:if(sn===0){switch(ft){case Ue:case dt:case ot:case Je:at+="\0";break;default:at="\0"+at+(ge===Rn?"":"\0")}st=1}else switch(ge){case ue:Sn+7===we&&ft===108&&(Sn=0),sn=++Ot;break;case he:(sn=--Ot)==0&&(st=1,at+="\0")}break;case Ue:case dt:switch(ft){case ci:case X:case D:case j:case Rn:case La:case Ue:case dt:case ot:case Je:break;default:sn===0&&(st=1,at+="\0")}}le+=at,ge!==dt&&ge!==Ue&&(Gn=ge)}}Ct=ft,ft=ge,we++}if(Te=b.length,di>0&&Te===0&&k.length===0&&te[0].length!==0&&(ce!==Wi||te.length===1&&(wn>0?In:fi)===te[0])&&(Te=te.join(",").length+2),Te>0){if(_e=wn===0&&ce!==Hi?function(V){for(var I,E,J=0,ae=V.length,N=Array(ae);J1)){if(oe=U.charCodeAt(U.length-1),re=E.charCodeAt(0),I="",G!==0)switch(oe){case yn:case Ui:case li:case ui:case dt:case ue:break;default:I=" "}switch(re){case Vt:E=I+In;case Ui:case li:case ui:case dt:case he:case ue:break;case nt:E=I+E+In;break;case Lt:switch(2*E.charCodeAt(1)+3*E.charCodeAt(2)){case 530:if(ds>0){E=I+E.substring(8,ne-1);break}default:(G<1||F[G-1].length<1)&&(E=I+In+E)}break;case Rn:I="";default:ne>1&&E.indexOf(":")>0?E=I+E.replace(C,"$1"+In+"$2"):E=I+E+In}U+=E}N[J]=U.replace(o,"").trim()}return N}(te):te,bn>0&&(A=Ar(Va,b,_e,se,Wn,qt,Te,ce,W,ce))!==void 0&&(b=A).length===0)return L+b+k;if(b=_e.join(",")+"{"+b+"}",on*Vn!=0){switch(on===2&&!Qi(b,2)&&(Vn=0),Vn){case Da:b=b.replace(h,":"+H+"$1")+b;break;case us:b=b.replace(v,"::"+P+"input-$1")+b.replace(v,"::"+H+"$1")+b.replace(v,":"+ee+"input-$1")+b}Vn=0}}return L+b+k}function ps(se,te,Z){var ce=te.trim().split(d),W=ce,_e=ce.length,A=se.length;switch(A){case 0:case 1:for(var me=0,pe=A===0?"":se[0]+" ";me<_e;++me)W[me]=Ga(pe,W[me],Z,A).trim();break;default:me=0;var He=0;for(W=[];me<_e;++me)for(var fe=0;fe0&&wn>0)return W.replace(m,"$1").replace(p,"$1"+fi);break;default:return se.trim()+W.replace(p,"$1"+se.trim())}default:if(Z*wn>0&&W.indexOf("\f")>0)return W.replace(p,(se.charCodeAt(0)===Lt?"":"$1")+se.trim())}return se+W}function Yi(se,te,Z,ce){var W,_e=0,A=se+";",me=2*te+3*Z+4*ce;if(me===944)return function(pe){var He=pe.length,fe=pe.indexOf(":",9)+1,Xe=pe.substring(0,fe).trim(),Re=pe.substring(fe,He-1).trim();switch(pe.charCodeAt(9)*Pr){case 0:break;case Gt:if(pe.charCodeAt(10)!==110)break;default:for(var ge=Re.split((Re="",c)),ft=0,fe=0,He=ge.length;ftAn&&Ot<90||Ot>96&&Ot<123||Ot===wc||Ot===Gt&&Ct.charCodeAt(1)!==Gt))switch(isNaN(parseFloat(Ct))+(Ct.indexOf("(")!==-1)){case 1:switch(Ct){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:Ct+=qi}}Gn[fe++]=Ct}Re+=(ft===0?"":",")+Gn.join(" ")}}return Re=Xe+Re+";",on===1||on===2&&Qi(Re,1)?P+Re+Re:Re}(A);if(on===0||on===2&&!Qi(A,1))return A;switch(me){case 1015:return A.charCodeAt(10)===97?P+A+A:A;case 951:return A.charCodeAt(3)===116?P+A+A:A;case 963:return A.charCodeAt(5)===110?P+A+A:A;case 1009:if(A.charCodeAt(4)!==100)break;case 969:case 942:return P+A+A;case 978:return P+A+H+A+A;case 1019:case 983:return P+A+H+A+ee+A+A;case 883:return A.charCodeAt(8)===Gt?P+A+A:A.indexOf("image-set(",11)>0?A.replace($,"$1"+P+"$2")+A:A;case 932:if(A.charCodeAt(4)===Gt)switch(A.charCodeAt(5)){case 103:return P+"box-"+A.replace("-grow","")+P+A+ee+A.replace("grow","positive")+A;case 115:return P+A+ee+A.replace("shrink","negative")+A;case 98:return P+A+ee+A.replace("basis","preferred-size")+A}return P+A+ee+A+A;case 964:return P+A+ee+"flex-"+A+A;case 1023:if(A.charCodeAt(8)!==99)break;return W=A.substring(A.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),P+"box-pack"+W+P+A+ee+"flex-pack"+W+A;case 1005:return a.test(A)?A.replace(s,":"+P)+A.replace(s,":"+H)+A:A;case 1e3:switch(_e=(W=A.substring(13).trim()).indexOf("-")+1,W.charCodeAt(0)+W.charCodeAt(_e)){case 226:W=A.replace(R,"tb");break;case 232:W=A.replace(R,"tb-rl");break;case 220:W=A.replace(R,"lr");break;default:return A}return P+A+ee+W+A;case 1017:if(A.indexOf("sticky",9)===-1)return A;case 975:switch(_e=(A=se).length-10,me=(W=(A.charCodeAt(_e)===33?A.substring(0,_e):A).substring(se.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|W.charCodeAt(7))){case 203:if(W.charCodeAt(8)<111)break;case 115:A=A.replace(W,P+W)+";"+A;break;case 207:case 102:A=A.replace(W,P+(me>102?"inline-":"")+"box")+";"+A.replace(W,P+W)+";"+A.replace(W,ee+W+"box")+";"+A}return A+";";case 938:if(A.charCodeAt(5)===Gt)switch(A.charCodeAt(6)){case 105:return W=A.replace("-items",""),P+A+P+"box-"+W+ee+"flex-"+W+A;case 115:return P+A+ee+"flex-item-"+A.replace(K,"")+A;default:return P+A+ee+"flex-line-pack"+A.replace("align-content","").replace(K,"")+A}break;case 973:case 989:if(A.charCodeAt(3)!==Gt||A.charCodeAt(4)===122)break;case 931:case 953:if(Ne.test(se)===!0)return(W=se.substring(se.indexOf(":")+1)).charCodeAt(0)===115?Yi(se.replace("stretch","fill-available"),te,Z,ce).replace(":fill-available",":stretch"):A.replace(W,P+W)+A.replace(W,H+W.replace("fill-",""))+A;break;case 962:if(A=P+A+(A.charCodeAt(5)===102?ee+A:"")+A,Z+ce===211&&A.charCodeAt(13)===105&&A.indexOf("transform",10)>0)return A.substring(0,A.indexOf(";",27)+1).replace(l,"$1"+P+"$2")+A}return A}function Qi(se,te){var Z=se.indexOf(te===1?":":"{"),ce=se.substring(0,te!==3?Z:10),W=se.substring(Z+1,se.length-1);return Gi(te!==2?ce:ce.replace(Me,"$1"),W,te)}function qa(se,te){var Z=Yi(te,te.charCodeAt(0),te.charCodeAt(1),te.charCodeAt(2));return Z!==te+";"?Z.replace(z," or ($1)").substring(4):"("+te+")"}function Ar(se,te,Z,ce,W,_e,A,me,pe,He){for(var fe,Xe=0,Re=te;Xe0&&(qi=Z.replace(y,ce===nt?"":"-")),ce=1,wn===1?fi=Z:In=Z;var W,_e=[fi];bn>0&&(W=Ar(Ha,te,_e,_e,Wn,qt,0,0,0,0))!==void 0&&typeof W=="string"&&(te=W);var A=Ki(Vi,_e,te,0,0);return bn>0&&(W=Ar(bc,A,_e,_e,Wn,qt,A.length,0,0,0))!==void 0&&typeof(A=W)!="string"&&(ce=0),qi="",fi="",In="",Vn=0,Wn=1,qt=1,Ua*ce==0?A:A.replace(o,"").replace(w,"").replace(_,"$1").replace(O,"$1").replace(T," ")}return Rr.use=function se(te){switch(te){case void 0:case null:bn=fs.length=0;break;default:if(typeof te=="function")fs[bn++]=te;else if(typeof te=="object")for(var Z=0,ce=te.length;Z=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},Xo=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},dp=function(e){return(typeof e>"u"?"undefined":Gy(e))==="object"&&e.constructor===Object},bu=Object.freeze([]),Xs=Object.freeze({});function Er(e){return typeof e=="function"}function fp(e){return e.displayName||e.name||"Component"}function H6(e){return typeof e=="function"&&!(e.prototype&&e.prototype.isReactComponent)}function Na(e){return e&&typeof e.styledComponentId=="string"}var ka=typeof process<"u"&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",gc="data-styled-version",W6="data-styled-streamed",Mi=typeof window<"u"&&"HTMLElement"in window,qy=typeof SC_DISABLE_SPEEDY=="boolean"&&SC_DISABLE_SPEEDY||typeof process<"u"&&({}.REACT_APP_SC_DISABLE_SPEEDY||{}.SC_DISABLE_SPEEDY)||!1,V6={},or=function(e){ja(t,e);function t(n){sr(this,t);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o0?" Additional arguments: "+i.join(", "):"")));return Xo(s)}return t}(Error),G6=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,q6=function(e){var t=""+(e||""),n=[];return t.replace(G6,function(r,i,o){return n.push({componentId:i,matchIndex:o}),r}),n.map(function(r,i){var o=r.componentId,s=r.matchIndex,a=n[i+1],l=a?t.slice(s,a.matchIndex):t.slice(s);return{componentId:o,cssFromDOM:l}})},K6=/^\s*\/\/.*$/gm,Ky=new Dy({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),Yy=new Dy({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),Mf=[],Qy=function(t){if(t===-2){var n=Mf;return Mf=[],n}},Jy=$6(function(e){Mf.push(e)}),Xy=void 0,zo=void 0,Zy=void 0,Y6=function(t,n,r){return n>0&&r.slice(0,n).indexOf(zo)!==-1&&r.slice(n-zo.length,n)!==zo?"."+Xy:t},Q6=function(t,n,r){t===2&&r.length&&r[0].lastIndexOf(zo)>0&&(r[0]=r[0].replace(Zy,Y6))};Yy.use([Q6,Jy,Qy]);Ky.use([Jy,Qy]);var J6=function(t){return Ky("",t)};function hp(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"&",i=e.join("").replace(K6,""),o=t&&n?n+" "+t+" { "+i+" }":i;return Xy=r,zo=t,Zy=new RegExp("\\"+zo+"\\b","g"),Yy(n||!t?"":t,o)}var pp=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null},mp=function(t,n,r){if(r){var i=t[n]||(t[n]=Object.create(null));i[r]=!0}},Su=function(t,n){t[n]=Object.create(null)},gp=function(t){return function(n,r){return t[n]!==void 0&&t[n][r]}},e2=function(t){var n="";for(var r in t)n+=Object.keys(t[r]).join(" ")+" ";return n.trim()},X6=function(t){var n=Object.create(null);for(var r in t)n[r]=tn({},t[r]);return n},bd=function(t){if(t.sheet)return t.sheet;for(var n=t.ownerDocument.styleSheets.length,r=0;ri;o-=1)t.deleteRule(o)},vp=function(t){return` -/* sc-component-id: `+t+` */ -`},Sd=function(t,n){for(var r=0,i=0;i<=n;i+=1)r+=t[i];return r},t9=function(t,n,r){var i=document;t?i=t.ownerDocument:n&&(i=n.ownerDocument);var o=i.createElement("style");o.setAttribute(ka,""),o.setAttribute(gc,"4.4.1");var s=pp();if(s&&o.setAttribute("nonce",s),o.appendChild(i.createTextNode("")),t&&!n)t.appendChild(o);else{if(!n||!t||!n.parentNode)throw new or(6);n.parentNode.insertBefore(o,r?n:n.nextSibling)}return o},yp=function(t,n){return function(r){var i=pp(),o=[i&&'nonce="'+i+'"',ka+'="'+e2(n)+'"',gc+'="4.4.1"',r],s=o.filter(Boolean).join(" ");return""}},wp=function(t,n){return function(){var r,i=(r={},r[ka]=e2(n),r[gc]="4.4.1",r),o=pp();return o&&(i.nonce=o),x.createElement("style",tn({},i,{dangerouslySetInnerHTML:{__html:t()}}))}},bp=function(t){return function(){return Object.keys(t)}},n9=function(t,n){var r=Object.create(null),i=Object.create(null),o=[],s=n!==void 0,a=!1,l=function(p){var m=i[p];return m!==void 0?m:(i[p]=o.length,o.push(0),Su(r,p),i[p])},c=function(p,m,y){for(var S=l(p),v=bd(t),h=Sd(o,S),w=0,_=[],O=m.length,T=0;T0&&(a=!0,n().insertRules(p+"-import",_)),o[S]+=w,mp(r,p,y)},u=function(p){var m=i[p];if(m!==void 0&&t.isConnected!==!1){var y=o[m],S=bd(t),v=Sd(o,m)-1;e9(S,v,y),o[m]=0,Su(r,p),s&&a&&n().removeRules(p+"-import")}},f=function(){var p=bd(t),m=p.cssRules,y="";for(var S in i){y+=vp(S);for(var v=i[S],h=Sd(o,v),w=o[v],_=h-w;_0&&(s=!0,n().insertRules(d+"-import",S))},c=function(d){var p=i[d];if(p!==void 0){var m=Xm(t.ownerDocument,d);t.replaceChild(m,p),i[d]=m,Su(r,d),o&&s&&n().removeRules(d+"-import")}},u=function(){var d="";for(var p in i)d+=i[p].data;return d};return{clone:function(){throw new or(5)},css:u,getIds:bp(i),hasNameForId:gp(r),insertMarker:a,insertRules:l,removeRules:c,sealed:!1,styleTag:t,toElement:wp(u,r),toHTML:yp(u,r)}},i9=function e(t,n){var r=t===void 0?Object.create(null):t,i=n===void 0?Object.create(null):n,o=function(d){var p=i[d];return p!==void 0?p:i[d]=[""]},s=function(d,p,m){var y=o(d);y[0]+=p.join(" "),mp(r,d,m)},a=function(d){var p=i[d];p!==void 0&&(p[0]="",Su(r,d))},l=function(){var d="";for(var p in i){var m=i[p][0];m&&(d+=vp(p)+m)}return d},c=function(){var d=X6(r),p=Object.create(null);for(var m in i)p[m]=[i[m][0]];return e(d,p)},u={clone:c,css:l,getIds:bp(i),hasNameForId:gp(r),insertMarker:o,insertRules:s,removeRules:a,sealed:!1,styleTag:null,toElement:wp(l,r),toHTML:yp(l,r)};return u},Zm=function(t,n,r,i,o){if(Mi&&!r){var s=t9(t,n,i);return qy?r9(s,o):n9(s,o)}return i9()},o9=function(t,n,r){for(var i=0,o=r.length;i0&&arguments[0]!==void 0?arguments[0]:Mi?document.head:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;sr(this,e),this.getImportRuleTag=function(){var i=t.importRuleTag;if(i!==void 0)return i;var o=t.tags[0],s=!0;return t.importRuleTag=Zm(t.target,o?o.styleTag:null,t.forceServer,s)},e1+=1,this.id=e1,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!Mi||this.forceServer)return this;var n=[],r=[],i=!1,o=document.querySelectorAll("style["+ka+"]["+gc+'="4.4.1"]'),s=o.length;if(!s)return this;for(var a=0;a0&&arguments[0]!==void 0?arguments[0]:!1;_d=new e(void 0,n).rehydrate()},e.prototype.clone=function(){var n=new e(this.target,this.forceServer);return this.clones.push(n),n.tags=this.tags.map(function(r){for(var i=r.getIds(),o=r.clone(),s=0;s1?t-1:0),r=1;r2&&arguments[2]!==void 0?arguments[2]:Xs;if(!Hy.isValidElementType(t))throw new or(1,String(t));var r=function(){return e(t,n,vc.apply(void 0,arguments))};return r.withConfig=function(i){return Df(e,t,tn({},n,i))},r.attrs=function(i){return Df(e,t,tn({},n,{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},r}function Sp(e){for(var t=e.length|0,n=t|0,r=0,i;t>=4;)i=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,i=1540483477*(i&65535)+((1540483477*(i>>>16)&65535)<<16),i^=i>>>24,i=1540483477*(i&65535)+((1540483477*(i>>>16)&65535)<<16),n=1540483477*(n&65535)+((1540483477*(n>>>16)&65535)<<16)^i,t-=4,++r;switch(t){case 3:n^=(e.charCodeAt(r+2)&255)<<16;case 2:n^=(e.charCodeAt(r+1)&255)<<8;case 1:n^=e.charCodeAt(r)&255,n=1540483477*(n&65535)+((1540483477*(n>>>16)&65535)<<16)}return n^=n>>>13,n=1540483477*(n&65535)+((1540483477*(n>>>16)&65535)<<16),(n^n>>>15)>>>0}var Sl=52,n1=function(t){return String.fromCharCode(t+(t>25?39:97))};function r2(e){var t="",n=void 0;for(n=e;n>Sl;n=Math.floor(n/Sl))t=n1(n%Sl)+t;return n1(n%Sl)+t}function d9(e){for(var t in e)if(Er(e[t]))return!0;return!1}function _p(e,t){for(var n=0;n2&&arguments[2]!==void 0?arguments[2]:Xs,r=n?e.theme===n.theme:!1,i=e.theme&&!r?e.theme:t||n.theme;return i},f9=/[[\].#*$><+~=|^:(),"'`-]+/g,h9=/(^-|-$)/g;function Ff(e){return e.replace(f9,"-").replace(h9,"")}function ku(e){return typeof e=="string"&&!0}function p9(e){return ku(e)?"styled."+e:"Styled("+fp(e)+")"}var kd,o1={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},m9={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s1=(kd={},kd[Hy.ForwardRef]={$$typeof:!0,render:!0},kd),g9=Object.defineProperty,v9=Object.getOwnPropertyNames,a1=Object.getOwnPropertySymbols,y9=a1===void 0?function(){return[]}:a1,w9=Object.getOwnPropertyDescriptor,b9=Object.getPrototypeOf,S9=Object.prototype,_9=Array.prototype;function xp(e,t,n){if(typeof t!="string"){var r=b9(t);r&&r!==S9&&xp(e,r,n);for(var i=_9.concat(v9(t),y9(t)),o=s1[e.$$typeof]||o1,s=s1[t.$$typeof]||o1,a=i.length,l=void 0,c=void 0;a--;)if(c=i[a],!m9[c]&&!(n&&n[c])&&!(s&&s[c])&&!(o&&o[c])&&(l=w9(t,c),l))try{g9(e,c,l)}catch{}return e}return e}function k9(e){return!!(e&&e.prototype&&e.prototype.isReactComponent)}var xu=B.createContext(),yc=xu.Consumer,x9=function(e){ja(t,e);function t(n){sr(this,t);var r=Xo(this,e.call(this,n));return r.getContext=Wy(r.getContext.bind(r)),r.renderInner=r.renderInner.bind(r),r}return t.prototype.render=function(){return this.props.children?x.createElement(xu.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(r){var i=this.getContext(this.props.theme,r);return x.createElement(xu.Provider,{value:i},this.props.children)},t.prototype.getTheme=function(r,i){if(Er(r)){var o=r(i);return o}if(r===null||Array.isArray(r)||(typeof r>"u"?"undefined":Gy(r))!=="object")throw new or(8);return tn({},i,r)},t.prototype.getContext=function(r,i){return this.getTheme(r,i)},t}(B.Component),E9=function(){function e(){sr(this,e),this.masterSheet=Cr.master,this.instance=this.masterSheet.clone(),this.sealed=!1}return e.prototype.seal=function(){if(!this.sealed){var n=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(n,1),this.sealed=!0}},e.prototype.collectStyles=function(n){if(this.sealed)throw new or(2);return x.createElement(i2,{sheet:this.instance},n)},e.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},e.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},e.prototype.interleaveWithNodeStream=function(n){throw new or(3)},e}(),Ep=B.createContext(),Cp=Ep.Consumer,i2=function(e){ja(t,e);function t(n){sr(this,t);var r=Xo(this,e.call(this,n));return r.getContext=Wy(r.getContext),r}return t.prototype.getContext=function(r,i){if(r)return r;if(i)return new Cr(i);throw new or(4)},t.prototype.render=function(){var r=this.props,i=r.children,o=r.sheet,s=r.target;return x.createElement(Ep.Provider,{value:this.getContext(o,s)},i)},t}(B.Component),l1={};function C9(e,t,n){var r=typeof t!="string"?"sc":Ff(t),i=(l1[r]||0)+1;l1[r]=i;var o=r+"-"+e.generateName(r+i);return n?n+"-"+o:o}var O9=function(e){ja(t,e);function t(){sr(this,t);var n=Xo(this,e.call(this));return n.attrs={},n.renderOuter=n.renderOuter.bind(n),n.renderInner=n.renderInner.bind(n),n}return t.prototype.render=function(){return x.createElement(Cp,null,this.renderOuter)},t.prototype.renderOuter=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Cr.master;return this.styleSheet=r,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():x.createElement(yc,null,this.renderInner)},t.prototype.renderInner=function(r){var i=this.props.forwardedComponent,o=i.componentStyle,s=i.defaultProps;i.displayName;var a=i.foldedComponentIds,l=i.styledComponentId,c=i.target,u=void 0;o.isStatic?u=this.generateAndInjectStyles(Xs,this.props):u=this.generateAndInjectStyles(kp(this.props,r,s)||Xs,this.props);var f=this.props.as||this.attrs.as||c,d=ku(f),p={},m=tn({},this.props,this.attrs),y=void 0;for(y in m)y==="forwardedComponent"||y==="as"||(y==="forwardedRef"?p.ref=m[y]:y==="forwardedAs"?p.as=m[y]:(!d||D6(y))&&(p[y]=m[y]));return this.props.style&&this.attrs.style&&(p.style=tn({},this.attrs.style,this.props.style)),p.className=Array.prototype.concat(a,l,u!==l?u:null,this.props.className,this.attrs.className).filter(Boolean).join(" "),B.createElement(f,p)},t.prototype.buildExecutionContext=function(r,i,o){var s=this,a=tn({},i,{theme:r});return o.length&&(this.attrs={},o.forEach(function(l){var c=l,u=!1,f=void 0,d=void 0;Er(c)&&(c=c(a),u=!0);for(d in c)f=c[d],u||Er(f)&&!k9(f)&&!Na(f)&&(f=f(a)),s.attrs[d]=f,a[d]=f})),a},t.prototype.generateAndInjectStyles=function(r,i){var o=i.forwardedComponent,s=o.attrs,a=o.componentStyle;if(o.warnTooManyClasses,a.isStatic&&!s.length)return a.generateAndInjectStyles(Xs,this.styleSheet);var l=a.generateAndInjectStyles(this.buildExecutionContext(r,i,s),this.styleSheet);return l},t}(B.Component);function o2(e,t,n){var r=Na(e),i=!ku(e),o=t.displayName,s=o===void 0?p9(e):o,a=t.componentId,l=a===void 0?C9(i1,t.displayName,t.parentComponentId):a,c=t.ParentComponent,u=c===void 0?O9:c,f=t.attrs,d=f===void 0?bu:f,p=t.displayName&&t.componentId?Ff(t.displayName)+"-"+t.componentId:t.componentId||l,m=r&&e.attrs?Array.prototype.concat(e.attrs,d).filter(Boolean):d,y=new i1(r?e.componentStyle.rules.concat(n):n,m,p),S=void 0,v=function(w,_){return x.createElement(u,tn({},w,{forwardedComponent:S,forwardedRef:_}))};return v.displayName=s,S=x.forwardRef(v),S.displayName=s,S.attrs=m,S.componentStyle=y,S.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):bu,S.styledComponentId=p,S.target=r?e.target:e,S.withComponent=function(w){var _=t.componentId,O=U6(t,["componentId"]),T=_&&_+"-"+(ku(w)?w:Ff(fp(w))),C=tn({},O,{attrs:m,componentId:T,ParentComponent:u});return o2(w,C,n)},Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(w){this._foldedDefaultProps=r?F6(e.defaultProps,w):w}}),S.toString=function(){return"."+S.styledComponentId},i&&xp(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),S}var $9=["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","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Bf=function(t){return Df(o2,t)};$9.forEach(function(e){Bf[e]=Bf(e)});var T9=function(){function e(t,n){sr(this,e),this.rules=t,this.componentId=n,this.isStatic=_p(t,bu),Cr.master.hasId(n)||Cr.master.deferredInject(n,[])}return e.prototype.createStyles=function(n,r){var i=Zo(this.rules,n,r),o=hp(i,"");r.inject(this.componentId,o)},e.prototype.removeStyles=function(n){var r=this.componentId;n.hasId(r)&&n.remove(r)},e.prototype.renderStyles=function(n,r){this.removeStyles(r),this.createStyles(n,r)},e}();Mi&&(window.scCGSHMRCache={});function P9(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;r1&&arguments[1]!==void 0?arguments[1]:1,k=function(L){L=L.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(I,E,J,ae){return E+E+J+J+ae+ae});var V=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(L);return V?{r:parseInt(V[1],16),g:parseInt(V[2],16),b:parseInt(V[3],16)}:null}(g);return"rgba(".concat(k.r,", ").concat(k.g,", ").concat(k.b,", ").concat(b,")")};function S(){var g=_([` - 0% { box-shadow: 0 0 0 0 `,`; } - 70% { box-shadow: 0 0 0 10px `,`; } - 100% { box-shadow: 0 0 0 0 `,`; } -`]);return S=function(){return g},g}function v(){var g=_([` - 25% { transform: rotate(-1deg); } - 100% { transform: rotate(1deg); } -`]);return v=function(){return g},g}function h(){var g=_([` - 100% { transform: scale(1); } -`]);return h=function(){return g},g}function w(){var g=_([` - 0% { opacity: .2; } - 20% { opacity: 1; } - 100% { opacity: .2; } -`]);return w=function(){return g},g}function _(g,b){return b||(b=g.slice(0)),Object.freeze(Object.defineProperties(g,{raw:{value:Object.freeze(b)}}))}var O=Object(p.keyframes)(w()),T=Object(p.keyframes)(h()),C=Object(p.keyframes)(v());function R(){var g=function(b,k){return k||(k=b.slice(0)),Object.freeze(Object.defineProperties(b,{raw:{value:Object.freeze(k)}}))}([` - animation: `,` 1.4s infinite both; - animation-delay: `,`; -`]);return R=function(){return g},g}var q=m.a.span(R(),O,function(g){return g.delay}),z=function(){return l.a.createElement("span",{className:"rsc-loading"},l.a.createElement(q,{delay:"0s"},"."),l.a.createElement(q,{delay:".2s"},"."),l.a.createElement(q,{delay:".4s"},"."))};function K(){var g=function(b,k){return k||(k=b.slice(0)),Object.freeze(Object.defineProperties(b,{raw:{value:Object.freeze(k)}}))}([` - background: #fff; - border-radius: 5px; - box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 2px 0px; - display: flex; - justify-content: center; - margin: 0 6px 10px 6px; - padding: 16px; -`]);return K=function(){return g},g}var Me=m.a.div(K());function Ne(g){return(Ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b})(g)}function $(g,b){for(var k=0;k0&&arguments[0]!==void 0?arguments[0]:fe,k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fe,L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe,V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"en";return function(I,E){if(!(I instanceof E))throw new TypeError("Cannot call a class as a function")}(this,g),He||(He=this),this.state={inputValue:"",lang:V,onChange:b,onEnd:k,onStop:L},this.onResult=this.onResult.bind(this),this.onEnd=this.onEnd.bind(this),this.setup(),He}return pe(g,null,[{key:"isSupported",value:function(){return"webkitSpeechRecognition"in window}}]),pe(g,[{key:"onChange",value:function(b){var k=this.state.onChange;this.setState({inputValue:b}),k(b)}},{key:"onFinal",value:function(b){this.setState({inputValue:b}),this.recognition.stop()}},{key:"onEnd",value:function(){var b=this.state,k=b.onStop,L=b.onEnd,V=b.force;this.setState({speaking:!1}),V?k():L()}},{key:"onResult",value:function(b){for(var k="",L="",V=b.resultIndex;V0?F.length-1:0,G=E.generateRenderedStepsById(),ne=F[U].value;return typeof N=="function"?N({previousValue:ne,steps:G}):N}),je(ie(ie(E)),"generateRenderedStepsById",function(){for(var N=E.state.previousSteps,F={},U=0,G=N.length;U0?U[F-1]:{};return _n&&!qe?l.a.createElement(X,{key:F,speak:E.speak,step:N,steps:Mt,style:Ge,previousStep:Dt,previousValue:Dt.value,triggerNextStep:E.triggerNextStep}):ht?l.a.createElement(rn,{key:F,step:N,speak:E.speak,previousValue:Dt.value,triggerNextStep:E.triggerNextStep,bubbleOptionStyle:re}):l.a.createElement(Wn,{key:F,step:N,steps:Mt,speak:E.speak,previousStep:Dt,previousValue:Dt.value,triggerNextStep:E.triggerNextStep,avatarStyle:ne,bubbleStyle:oe,hideBotAvatar:ke,hideUserAvatar:zt,speechSynthesis:an,isFirst:E.isFirstPosition(N),isLast:E.isLastPosition(N)})}),E.content=null,E.input=null,E.supportsScrollBehavior=!1,E.setContentRef=function(N){E.content=N},E.setInputRef=function(N){E.input=N},E.state={renderedSteps:[],previousSteps:[],currentStep:{},previousStep:{},steps:{},disabled:!0,opened:I.opened||!I.floating,inputValue:"",inputInvalid:!1,speaking:!1,recognitionEnable:I.recognitionEnable&&Xe.isSupported(),defaultUserSettings:{}},E.speak=Sn(I.speechSynthesis),E}var k,L,V;return function(I,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");I.prototype=Object.create(E&&E.prototype,{constructor:{value:I,writable:!0,configurable:!0}}),E&&Te(I,E)}(b,a.Component),k=b,V=[{key:"getDerivedStateFromProps",value:function(I,E){var J=I.opened;return I.toggleFloating!==void 0&&J!==void 0&&J!==E.opened?function(ae){for(var N=1;N_t.jsxs(W_,{theme:D9,children:[_t.jsx(M9,{steps:F9}),";"]}),xd=IS("https://cyfpjgfjgocvjoqdblbp.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImN5ZnBqZ2ZqZ29jdmpvcWRibGJwIiwicm9sZSI6ImFub24iLCJpYXQiOjE2ODg0OTIzNTIsImV4cCI6MjAwNDA2ODM1Mn0.3hq1S-yAh1Uq2K5lBbYJSvvmvGlg8NHd0kq7P-rlwQs"),U9=Kh.div` - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - height: 100vh; - gap: 1rem; -`;function H9(){const[e,t]=B.useState(null);return B.useEffect(()=>{xd.auth.getSession().then(({data:{session:r}})=>{t(r)});const{data:{subscription:n}}=xd.auth.onAuthStateChange((r,i)=>{t(i)});return()=>n.unsubscribe()},[]),e?_t.jsx(_t.Fragment,{children:_t.jsx(B9,{})}):_t.jsx(_t.Fragment,{children:_t.jsxs(U9,{children:[_t.jsx(Ly,{sx:{fontSize:100}}),_t.jsx(ss,{supabaseClient:xd,appearance:{theme:l4},providers:["google","github"]})]})})}const W9=Kh.div` - width:100vw; - display: flex; - justify-content: center; - align-items: center; -`;Cd.createRoot(document.getElementById("root")).render(_t.jsx(x.StrictMode,{children:_t.jsx(W9,{children:_t.jsx(H9,{})})})); diff --git a/blog-react/dist/index.html b/blog-react/dist/index.html index 86b227e..ae865f5 100644 --- a/blog-react/dist/index.html +++ b/blog-react/dist/index.html @@ -9,7 +9,7 @@ Gmate - + diff --git a/blog-react/package-lock.json b/blog-react/package-lock.json index 55f13f9..f60534b 100644 --- a/blog-react/package-lock.json +++ b/blog-react/package-lock.json @@ -8,6 +8,7 @@ "name": "blog-react", "version": "0.0.0", "dependencies": { + "@chakra-ui/react": "^2.7.1", "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", "@mui/icons-material": "^5.14.0", @@ -15,8 +16,9 @@ "@supabase/auth-ui-react": "^0.4.2", "@supabase/auth-ui-shared": "^0.1.6", "@supabase/supabase-js": "^2.26.0", + "antd": "^5.7.0", + "framer-motion": "^10.12.21", "react": "^18.2.0", - "react-chatbot-kit": "^2.1.2", "react-dom": "^18.2.0", "styled-components": "^6.0.4" }, @@ -52,6 +54,81 @@ "node": ">=6.0.0" } }, + "node_modules/@ant-design/colors": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@ant-design/colors/-/colors-7.0.0.tgz", + "integrity": "sha512-iVm/9PfGCbC0dSMBrz7oiEXZaaGH7ceU40OJEfKmyuzR9R5CRimJYPlRiFtMQGQcbNMea/ePcoIebi4ASGYXtg==", + "dependencies": { + "@ctrl/tinycolor": "^3.4.0" + } + }, + "node_modules/@ant-design/cssinjs": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@ant-design/cssinjs/-/cssinjs-1.11.1.tgz", + "integrity": "sha512-ya0wpkOzBTdQX4u2h6xpluflKPPQuq7LtvJQ9ThDXwu6t67CNFr6SJCEvkuQ9+4rU89VhYMP4IUaTaqYgtsBTQ==", + "dependencies": { + "@babel/runtime": "^7.11.1", + "@emotion/hash": "^0.8.0", + "@emotion/unitless": "^0.7.5", + "classnames": "^2.3.1", + "csstype": "^3.0.10", + "rc-util": "^5.34.1", + "stylis": "^4.0.13" + }, + "peerDependencies": { + "react": ">=16.0.0", + "react-dom": ">=16.0.0" + } + }, + "node_modules/@ant-design/cssinjs/node_modules/@emotion/hash": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz", + "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==" + }, + "node_modules/@ant-design/cssinjs/node_modules/@emotion/unitless": { + "version": "0.7.5", + "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz", + "integrity": "sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==" + }, + "node_modules/@ant-design/icons": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/@ant-design/icons/-/icons-5.1.4.tgz", + "integrity": "sha512-YHKL7Jx3bM12OxvtiYDon04BsBT/6LGitYEqar3GljzWaAyMOAD8i/uF1Rsi5Us/YNdWWXBGSvZV2OZWMpJlcA==", + "dependencies": { + "@ant-design/colors": "^7.0.0", + "@ant-design/icons-svg": "^4.2.1", + "@babel/runtime": "^7.11.2", + "classnames": "^2.2.6", + "rc-util": "^5.31.1" + }, + "engines": { + "node": ">=8" + }, + "peerDependencies": { + "react": ">=16.0.0", + "react-dom": ">=16.0.0" + } + }, + "node_modules/@ant-design/icons-svg": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@ant-design/icons-svg/-/icons-svg-4.2.1.tgz", + "integrity": "sha512-EB0iwlKDGpG93hW8f85CTJTs4SvMX7tt5ceupvhALp1IF44SeUFOMhKUOYqpsoYWQKAOuTRDMqn75rEaKDp0Xw==" + }, + "node_modules/@ant-design/react-slick": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@ant-design/react-slick/-/react-slick-1.0.1.tgz", + "integrity": "sha512-ARM0TmpGdDuUVE10NwUCENQlJSInNKo5NiBjL5szu5BxWNEHNwQMcDrlVCqFbkvFLy+2CvywW8Y59QJtC0YDag==", + "dependencies": { + "@babel/runtime": "^7.10.4", + "classnames": "^2.2.5", + "json2mq": "^0.2.0", + "resize-observer-polyfill": "^1.5.1", + "throttle-debounce": "^5.0.0" + }, + "peerDependencies": { + "react": ">=16.9.0" + } + }, "node_modules/@babel/cli": { "version": "7.22.9", "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.22.9.tgz", @@ -1867,1270 +1944,3139 @@ "node": ">=6.9.0" } }, - "node_modules/@emotion/babel-plugin": { - "version": "11.11.0", - "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.11.0.tgz", - "integrity": "sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==", + "node_modules/@chakra-ui/accordion": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.2.0.tgz", + "integrity": "sha512-2IK1iLzTZ22u8GKPPPn65mqJdZidn4AvkgAbv17ISdKA07VHJ8jSd4QF1T5iCXjKfZ0XaXozmhP4kDhjwF2IbQ==", "dependencies": { - "@babel/helper-module-imports": "^7.16.7", - "@babel/runtime": "^7.18.3", - "@emotion/hash": "^0.9.1", - "@emotion/memoize": "^0.8.1", - "@emotion/serialize": "^1.1.2", - "babel-plugin-macros": "^3.1.0", - "convert-source-map": "^1.5.0", - "escape-string-regexp": "^4.0.0", - "find-root": "^1.1.0", - "source-map": "^0.5.7", - "stylis": "4.2.0" + "@chakra-ui/descendant": "3.0.14", + "@chakra-ui/icon": "3.0.16", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-use-controllable-state": "2.0.8", + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@chakra-ui/shared-utils": "2.0.5", + "@chakra-ui/transition": "2.0.16" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "framer-motion": ">=4.0.0", + "react": ">=18" } }, - "node_modules/@emotion/babel-plugin/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "engines": { - "node": ">=10" + "node_modules/@chakra-ui/alert": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.1.0.tgz", + "integrity": "sha512-OcfHwoXI5VrmM+tHJTHT62Bx6TfyfCxSa0PWUOueJzSyhlUOKBND5we6UtrOB7D0jwX45qKKEDJOLG5yCG21jQ==", + "dependencies": { + "@chakra-ui/icon": "3.0.16", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/shared-utils": "2.0.5", + "@chakra-ui/spinner": "2.0.13" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" } }, - "node_modules/@emotion/babel-plugin/node_modules/stylis": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", - "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==" + "node_modules/@chakra-ui/anatomy": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.1.2.tgz", + "integrity": "sha512-pKfOS/mztc4sUXHNc8ypJ1gPWSolWT770jrgVRfolVbYlki8y5Y+As996zMF6k5lewTu6j9DQequ7Cc9a69IVQ==" }, - "node_modules/@emotion/cache": { - "version": "11.11.0", - "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.11.0.tgz", - "integrity": "sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==", + "node_modules/@chakra-ui/avatar": { + "version": "2.2.11", + "resolved": "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.11.tgz", + "integrity": "sha512-CJFkoWvlCTDJTUBrKA/aVyG5Zz6TBEIVmmsJtqC6VcQuVDTxkWod8ruXnjb0LT2DUveL7xR5qZM9a5IXcsH3zg==", "dependencies": { - "@emotion/memoize": "^0.8.1", - "@emotion/sheet": "^1.2.2", - "@emotion/utils": "^1.2.1", - "@emotion/weak-memoize": "^0.3.1", - "stylis": "4.2.0" + "@chakra-ui/image": "2.0.16", + "@chakra-ui/react-children-utils": "2.0.6", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" } }, - "node_modules/@emotion/cache/node_modules/stylis": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", - "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==" - }, - "node_modules/@emotion/hash": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz", - "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ==" + "node_modules/@chakra-ui/breadcrumb": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.1.5.tgz", + "integrity": "sha512-p3eQQrHQBkRB69xOmNyBJqEdfCrMt+e0eOH+Pm/DjFWfIVIbnIaFbmDCeWClqlLa21Ypc6h1hR9jEmvg8kmOog==", + "dependencies": { + "@chakra-ui/react-children-utils": "2.0.6", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } }, - "node_modules/@emotion/is-prop-valid": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.1.tgz", - "integrity": "sha512-61Mf7Ufx4aDxx1xlDeOm8aFFigGHE4z+0sKCa+IHCeZKiyP9RLD0Mmx7m8b9/Cf37f7NAvQOOJAbQQGVr5uERw==", + "node_modules/@chakra-ui/breakpoint-utils": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.8.tgz", + "integrity": "sha512-Pq32MlEX9fwb5j5xx8s18zJMARNHlQZH2VH1RZgfgRDpp7DcEgtRW5AInfN5CfqdHLO1dGxA7I3MqEuL5JnIsA==", "dependencies": { - "@emotion/memoize": "^0.8.1" + "@chakra-ui/shared-utils": "2.0.5" } }, - "node_modules/@emotion/memoize": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz", - "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==" + "node_modules/@chakra-ui/button": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.18.tgz", + "integrity": "sha512-E3c99+lOm6ou4nQVOTLkG+IdOPMjsQK+Qe7VyP8A/xeAMFONuibrWPRPpprr4ZkB4kEoLMfNuyH2+aEza3ScUA==", + "dependencies": { + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@chakra-ui/shared-utils": "2.0.5", + "@chakra-ui/spinner": "2.0.13" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } }, - "node_modules/@emotion/react": { - "version": "11.11.1", - "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.11.1.tgz", - "integrity": "sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==", + "node_modules/@chakra-ui/card": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@chakra-ui/card/-/card-2.1.6.tgz", + "integrity": "sha512-fFd/WAdRNVY/WOSQv4skpy0WeVhhI0f7dTY1Sm0jVl0KLmuP/GnpsWtKtqWjNcV00K963EXDyhlk6+9oxbP4gw==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.11.0", - "@emotion/cache": "^11.11.0", - "@emotion/serialize": "^1.1.2", - "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", - "@emotion/utils": "^1.2.1", - "@emotion/weak-memoize": "^0.3.1", - "hoist-non-react-statics": "^3.3.1" + "@chakra-ui/shared-utils": "2.0.5" }, "peerDependencies": { - "react": ">=16.8.0" + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/checkbox": { + "version": "2.2.15", + "resolved": "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.15.tgz", + "integrity": "sha512-Ju2yQjX8azgFa5f6VLPuwdGYobZ+rdbcYqjiks848JvPc75UsPhpS05cb4XlrKT7M16I8txDA5rPJdqqFicHCA==", + "dependencies": { + "@chakra-ui/form-control": "2.0.18", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-types": "2.0.7", + "@chakra-ui/react-use-callback-ref": "2.0.7", + "@chakra-ui/react-use-controllable-state": "2.0.8", + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@chakra-ui/react-use-safe-layout-effect": "2.0.5", + "@chakra-ui/react-use-update-effect": "2.0.7", + "@chakra-ui/shared-utils": "2.0.5", + "@chakra-ui/visually-hidden": "2.0.15", + "@zag-js/focus-visible": "0.2.2" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" } }, - "node_modules/@emotion/serialize": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.2.tgz", - "integrity": "sha512-zR6a/fkFP4EAcCMQtLOhIgpprZOwNmCldtpaISpvz348+DP4Mz8ZoKaGGCQpbzepNIUWbq4w6hNZkwDyKoS+HA==", + "node_modules/@chakra-ui/clickable": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.14.tgz", + "integrity": "sha512-jfsM1qaD74ZykLHmvmsKRhDyokLUxEfL8Il1VoZMNX5RBI0xW/56vKpLTFF/v/+vLPLS+Te2cZdD4+2O+G6ulA==", "dependencies": { - "@emotion/hash": "^0.9.1", - "@emotion/memoize": "^0.8.1", - "@emotion/unitless": "^0.8.1", - "@emotion/utils": "^1.2.1", - "csstype": "^3.0.2" + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "react": ">=18" } }, - "node_modules/@emotion/sheet": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.2.tgz", - "integrity": "sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==" - }, - "node_modules/@emotion/styled": { - "version": "11.11.0", - "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.11.0.tgz", - "integrity": "sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng==", + "node_modules/@chakra-ui/close-button": { + "version": "2.0.17", + "resolved": "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.17.tgz", + "integrity": "sha512-05YPXk456t1Xa3KpqTrvm+7smx+95dmaPiwjiBN3p7LHUQVHJd8ZXSDB0V+WKi419k3cVQeJUdU/azDO2f40sw==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.11.0", - "@emotion/is-prop-valid": "^1.2.1", - "@emotion/serialize": "^1.1.2", - "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", - "@emotion/utils": "^1.2.1" + "@chakra-ui/icon": "3.0.16" }, "peerDependencies": { - "@emotion/react": "^11.0.0-rc.0", - "react": ">=16.8.0" + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/color-mode": { + "version": "2.1.12", + "resolved": "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.12.tgz", + "integrity": "sha512-sYyfJGDoJSLYO+V2hxV9r033qhte5Nw/wAn5yRGGZnEEN1dKPEdWQ3XZvglWSDTNd0w9zkoH2w6vP4FBBYb/iw==", + "dependencies": { + "@chakra-ui/react-use-safe-layout-effect": "2.0.5" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "peerDependencies": { + "react": ">=18" } }, - "node_modules/@emotion/unitless": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz", - "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==" + "node_modules/@chakra-ui/control-box": { + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.13.tgz", + "integrity": "sha512-FEyrU4crxati80KUF/+1Z1CU3eZK6Sa0Yv7Z/ydtz9/tvGblXW9NFanoomXAOvcIFLbaLQPPATm9Gmpr7VG05A==", + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } }, - "node_modules/@emotion/use-insertion-effect-with-fallbacks": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.1.tgz", - "integrity": "sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==", + "node_modules/@chakra-ui/counter": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.14.tgz", + "integrity": "sha512-KxcSRfUbb94dP77xTip2myoE7P2HQQN4V5fRJmNAGbzcyLciJ+aDylUU/UxgNcEjawUp6Q242NbWb1TSbKoqog==", + "dependencies": { + "@chakra-ui/number-utils": "2.0.7", + "@chakra-ui/react-use-callback-ref": "2.0.7", + "@chakra-ui/shared-utils": "2.0.5" + }, "peerDependencies": { - "react": ">=16.8.0" + "react": ">=18" } }, - "node_modules/@emotion/utils": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.1.tgz", - "integrity": "sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==" + "node_modules/@chakra-ui/css-reset": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.1.2.tgz", + "integrity": "sha512-4ySTLd+3iRpp4lX0yI9Yo2uQm2f+qwYGNOZF0cNcfN+4UJCd3IsaWxYRR/Anz+M51NVldZbYzC+TEYC/kpJc4A==", + "peerDependencies": { + "@emotion/react": ">=10.0.35", + "react": ">=18" + } }, - "node_modules/@emotion/weak-memoize": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz", - "integrity": "sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==" + "node_modules/@chakra-ui/descendant": { + "version": "3.0.14", + "resolved": "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.14.tgz", + "integrity": "sha512-+Ahvp9H4HMpfScIv9w1vaecGz7qWAaK1YFHHolz/SIsGLaLGlbdp+5UNabQC7L6TUnzzJDQDxzwif78rTD7ang==", + "dependencies": { + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-use-merge-refs": "2.0.7" + }, + "peerDependencies": { + "react": ">=18" + } }, - "node_modules/@esbuild/android-arm": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.11.tgz", - "integrity": "sha512-q4qlUf5ucwbUJZXF5tEQ8LF7y0Nk4P58hOsGk3ucY0oCwgQqAnqXVbUuahCddVHfrxmpyewRpiTHwVHIETYu7Q==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/dom-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.1.0.tgz", + "integrity": "sha512-ZmF2qRa1QZ0CMLU8M1zCfmw29DmPNtfjR9iTo74U5FPr3i1aoAh7fbJ4qAlZ197Xw9eAW28tvzQuoVWeL5C7fQ==" + }, + "node_modules/@chakra-ui/editable": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@chakra-ui/editable/-/editable-3.0.0.tgz", + "integrity": "sha512-q/7C/TM3iLaoQKlEiM8AY565i9NoaXtS6N6N4HWIEL5mZJPbMeHKxrCHUZlHxYuQJqFOGc09ZPD9fAFx1GkYwQ==", + "dependencies": { + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-types": "2.0.7", + "@chakra-ui/react-use-callback-ref": "2.0.7", + "@chakra-ui/react-use-controllable-state": "2.0.8", + "@chakra-ui/react-use-focus-on-pointer-down": "2.0.6", + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@chakra-ui/react-use-safe-layout-effect": "2.0.5", + "@chakra-ui/react-use-update-effect": "2.0.7", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" } }, - "node_modules/@esbuild/android-arm64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.11.tgz", - "integrity": "sha512-snieiq75Z1z5LJX9cduSAjUr7vEI1OdlzFPMw0HH5YI7qQHDd3qs+WZoMrWYDsfRJSq36lIA6mfZBkvL46KoIw==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/event-utils": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.8.tgz", + "integrity": "sha512-IGM/yGUHS+8TOQrZGpAKOJl/xGBrmRYJrmbHfUE7zrG3PpQyXvbLDP1M+RggkCFVgHlJi2wpYIf0QtQlU0XZfw==" + }, + "node_modules/@chakra-ui/focus-lock": { + "version": "2.0.17", + "resolved": "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.17.tgz", + "integrity": "sha512-V+m4Ml9E8QY66DUpHX/imInVvz5XJ5zx59Tl0aNancXgeVY1Rt/ZdxuZdPLCAmPC/MF3GUOgnEA+WU8i+VL6Gw==", + "dependencies": { + "@chakra-ui/dom-utils": "2.1.0", + "react-focus-lock": "^2.9.4" + }, + "peerDependencies": { + "react": ">=18" } }, - "node_modules/@esbuild/android-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.11.tgz", - "integrity": "sha512-iPuoxQEV34+hTF6FT7om+Qwziv1U519lEOvekXO9zaMMlT9+XneAhKL32DW3H7okrCOBQ44BMihE8dclbZtTuw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/form-control": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.18.tgz", + "integrity": "sha512-I0a0jG01IAtRPccOXSNugyRdUAe8Dy40ctqedZvznMweOXzbMCF1m+sHPLdWeWC/VI13VoAispdPY0/zHOdjsQ==", + "dependencies": { + "@chakra-ui/icon": "3.0.16", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-types": "2.0.7", + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" } }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.11.tgz", - "integrity": "sha512-Gm0QkI3k402OpfMKyQEEMG0RuW2LQsSmI6OeO4El2ojJMoF5NLYb3qMIjvbG/lbMeLOGiW6ooU8xqc+S0fgz2w==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/hooks": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.2.0.tgz", + "integrity": "sha512-GZE64mcr20w+3KbCUPqQJHHmiFnX5Rcp8jS3YntGA4D5X2qU85jka7QkjfBwv/iduZ5Ei0YpCMYGCpi91dhD1Q==", + "dependencies": { + "@chakra-ui/react-utils": "2.0.12", + "@chakra-ui/utils": "2.0.15", + "compute-scroll-into-view": "1.0.20", + "copy-to-clipboard": "3.3.3" + }, + "peerDependencies": { + "react": ">=18" } }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.11.tgz", - "integrity": "sha512-N15Vzy0YNHu6cfyDOjiyfJlRJCB/ngKOAvoBf1qybG3eOq0SL2Lutzz9N7DYUbb7Q23XtHPn6lMDF6uWbGv9Fw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/icon": { + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.16.tgz", + "integrity": "sha512-RpA1X5Ptz8Mt39HSyEIW1wxAz2AXyf9H0JJ5HVx/dBdMZaGMDJ0HyyPBVci0m4RCoJuyG1HHG/DXJaVfUTVAeg==", + "dependencies": { + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" } }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.11.tgz", - "integrity": "sha512-atEyuq6a3omEY5qAh5jIORWk8MzFnCpSTUruBgeyN9jZq1K/QI9uke0ATi3MHu4L8c59CnIi4+1jDKMuqmR71A==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/image": { + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.16.tgz", + "integrity": "sha512-iFypk1slgP3OK7VIPOtkB0UuiqVxNalgA59yoRM43xLIeZAEZpKngUVno4A2kFS61yKN0eIY4hXD3Xjm+25EJA==", + "dependencies": { + "@chakra-ui/react-use-safe-layout-effect": "2.0.5", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" } }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.11.tgz", - "integrity": "sha512-XtuPrEfBj/YYYnAAB7KcorzzpGTvOr/dTtXPGesRfmflqhA4LMF0Gh/n5+a9JBzPuJ+CGk17CA++Hmr1F/gI0Q==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/input": { + "version": "2.0.22", + "resolved": "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.22.tgz", + "integrity": "sha512-dCIC0/Q7mjZf17YqgoQsnXn0bus6vgriTRn8VmxOc+WcVl+KBSTBWujGrS5yu85WIFQ0aeqQvziDnDQybPqAbA==", + "dependencies": { + "@chakra-ui/form-control": "2.0.18", + "@chakra-ui/object-utils": "2.1.0", + "@chakra-ui/react-children-utils": "2.0.6", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" } }, - "node_modules/@esbuild/linux-arm": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.11.tgz", - "integrity": "sha512-Idipz+Taso/toi2ETugShXjQ3S59b6m62KmLHkJlSq/cBejixmIydqrtM2XTvNCywFl3VC7SreSf6NV0i6sRyg==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/layout": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.2.0.tgz", + "integrity": "sha512-WvfsWQjqzbCxv7pbpPGVKxj9eQr7MC2i37ag4Wn7ClIG7uPuwHYTUWOnjnu27O3H/zA4cRVZ4Hs3GpSPbojZFQ==", + "dependencies": { + "@chakra-ui/breakpoint-utils": "2.0.8", + "@chakra-ui/icon": "3.0.16", + "@chakra-ui/object-utils": "2.1.0", + "@chakra-ui/react-children-utils": "2.0.6", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" } }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.11.tgz", - "integrity": "sha512-c6Vh2WS9VFKxKZ2TvJdA7gdy0n6eSy+yunBvv4aqNCEhSWVor1TU43wNRp2YLO9Vng2G+W94aRz+ILDSwAiYog==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/lazy-utils": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.5.tgz", + "integrity": "sha512-UULqw7FBvcckQk2n3iPO56TMJvDsNv0FKZI6PlUNJVaGsPbsYxK/8IQ60vZgaTVPtVcjY6BE+y6zg8u9HOqpyg==" + }, + "node_modules/@chakra-ui/live-region": { + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.13.tgz", + "integrity": "sha512-Ja+Slk6ZkxSA5oJzU2VuGU7TpZpbMb/4P4OUhIf2D30ctmIeXkxTWw1Bs1nGJAVtAPcGS5sKA+zb89i8g+0cTQ==", + "peerDependencies": { + "react": ">=18" } }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.11.tgz", - "integrity": "sha512-S3hkIF6KUqRh9n1Q0dSyYcWmcVa9Cg+mSoZEfFuzoYXXsk6196qndrM+ZiHNwpZKi3XOXpShZZ+9dfN5ykqjjw==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/media-query": { + "version": "3.2.12", + "resolved": "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.12.tgz", + "integrity": "sha512-8pSLDf3oxxhFrhd40rs7vSeIBfvOmIKHA7DJlGUC/y+9irD24ZwgmCtFnn+y3gI47hTJsopbSX+wb8nr7XPswA==", + "dependencies": { + "@chakra-ui/breakpoint-utils": "2.0.8", + "@chakra-ui/react-env": "3.0.0", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/menu": { + "version": "2.1.15", + "resolved": "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.15.tgz", + "integrity": "sha512-+1fh7KBKZyhy8wi7Q6nQAzrvjM6xggyhGMnSna0rt6FJVA2jlfkjb5FozyIVPnkfJKjkKd8THVhrs9E7pHNV/w==", + "dependencies": { + "@chakra-ui/clickable": "2.0.14", + "@chakra-ui/descendant": "3.0.14", + "@chakra-ui/lazy-utils": "2.0.5", + "@chakra-ui/popper": "3.0.14", + "@chakra-ui/react-children-utils": "2.0.6", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-use-animation-state": "2.0.9", + "@chakra-ui/react-use-controllable-state": "2.0.8", + "@chakra-ui/react-use-disclosure": "2.0.8", + "@chakra-ui/react-use-focus-effect": "2.0.11", + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@chakra-ui/react-use-outside-click": "2.1.0", + "@chakra-ui/react-use-update-effect": "2.0.7", + "@chakra-ui/shared-utils": "2.0.5", + "@chakra-ui/transition": "2.0.16" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "framer-motion": ">=4.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/modal": { + "version": "2.2.12", + "resolved": "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.12.tgz", + "integrity": "sha512-F1nNmYGvyqlmxidbwaBM3y57NhZ/Qeyc8BE9tb1FL1v9nxQhkfrPvMQ9miK0O1syPN6aZ5MMj+uD3AsRFE+/tA==", + "dependencies": { + "@chakra-ui/close-button": "2.0.17", + "@chakra-ui/focus-lock": "2.0.17", + "@chakra-ui/portal": "2.0.16", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-types": "2.0.7", + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@chakra-ui/shared-utils": "2.0.5", + "@chakra-ui/transition": "2.0.16", + "aria-hidden": "^1.2.2", + "react-remove-scroll": "^2.5.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "framer-motion": ">=4.0.0", + "react": ">=18", + "react-dom": ">=18" + } + }, + "node_modules/@chakra-ui/number-input": { + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.19.tgz", + "integrity": "sha512-HDaITvtMEqOauOrCPsARDxKD9PSHmhWywpcyCSOX0lMe4xx2aaGhU0QQFhsJsykj8Er6pytMv6t0KZksdDv3YA==", + "dependencies": { + "@chakra-ui/counter": "2.0.14", + "@chakra-ui/form-control": "2.0.18", + "@chakra-ui/icon": "3.0.16", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-types": "2.0.7", + "@chakra-ui/react-use-callback-ref": "2.0.7", + "@chakra-ui/react-use-event-listener": "2.0.7", + "@chakra-ui/react-use-interval": "2.0.5", + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@chakra-ui/react-use-safe-layout-effect": "2.0.5", + "@chakra-ui/react-use-update-effect": "2.0.7", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" } }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.11.tgz", - "integrity": "sha512-MRESANOoObQINBA+RMZW+Z0TJWpibtE7cPFnahzyQHDCA9X9LOmGh68MVimZlM9J8n5Ia8lU773te6O3ILW8kw==", - "cpu": [ - "loong64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/number-utils": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.7.tgz", + "integrity": "sha512-yOGxBjXNvLTBvQyhMDqGU0Oj26s91mbAlqKHiuw737AXHt0aPllOthVUqQMeaYLwLCjGMg0jtI7JReRzyi94Dg==" + }, + "node_modules/@chakra-ui/object-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.1.0.tgz", + "integrity": "sha512-tgIZOgLHaoti5PYGPTwK3t/cqtcycW0owaiOXoZOcpwwX/vlVb+H1jFsQyWiiwQVPt9RkoSLtxzXamx+aHH+bQ==" + }, + "node_modules/@chakra-ui/pin-input": { + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.20.tgz", + "integrity": "sha512-IHVmerrtHN8F+jRB3W1HnMir1S1TUCWhI7qDInxqPtoRffHt6mzZgLZ0izx8p1fD4HkW4c1d4/ZLEz9uH9bBRg==", + "dependencies": { + "@chakra-ui/descendant": "3.0.14", + "@chakra-ui/react-children-utils": "2.0.6", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-use-controllable-state": "2.0.8", + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/popover": { + "version": "2.1.12", + "resolved": "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.12.tgz", + "integrity": "sha512-Corh8trA1f3ydcMQqomgSvYNNhAlpxiBpMY2sglwYazOJcueHA8CI05cJVD0T/wwoTob7BShabhCGFZThn61Ng==", + "dependencies": { + "@chakra-ui/close-button": "2.0.17", + "@chakra-ui/lazy-utils": "2.0.5", + "@chakra-ui/popper": "3.0.14", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-types": "2.0.7", + "@chakra-ui/react-use-animation-state": "2.0.9", + "@chakra-ui/react-use-disclosure": "2.0.8", + "@chakra-ui/react-use-focus-effect": "2.0.11", + "@chakra-ui/react-use-focus-on-pointer-down": "2.0.6", + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "framer-motion": ">=4.0.0", + "react": ">=18" } }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.11.tgz", - "integrity": "sha512-qVyPIZrXNMOLYegtD1u8EBccCrBVshxMrn5MkuFc3mEVsw7CCQHaqZ4jm9hbn4gWY95XFnb7i4SsT3eflxZsUg==", - "cpu": [ - "mips64el" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/popper": { + "version": "3.0.14", + "resolved": "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.14.tgz", + "integrity": "sha512-RDMmmSfjsmHJbVn2agDyoJpTbQK33fxx//njwJdeyM0zTG/3/4xjI/Cxru3acJ2Y+1jFGmPqhO81stFjnbtfIw==", + "dependencies": { + "@chakra-ui/react-types": "2.0.7", + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@popperjs/core": "^2.9.3" + }, + "peerDependencies": { + "react": ">=18" } }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.11.tgz", - "integrity": "sha512-T3yd8vJXfPirZaUOoA9D2ZjxZX4Gr3QuC3GztBJA6PklLotc/7sXTOuuRkhE9W/5JvJP/K9b99ayPNAD+R+4qQ==", - "cpu": [ - "ppc64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/portal": { + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.16.tgz", + "integrity": "sha512-bVID0qbQ0l4xq38LdqAN4EKD4/uFkDnXzFwOlviC9sl0dNhzICDb1ltuH/Adl1d2HTMqyN60O3GO58eHy7plnQ==", + "dependencies": { + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-use-safe-layout-effect": "2.0.5" + }, + "peerDependencies": { + "react": ">=18", + "react-dom": ">=18" } }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.11.tgz", - "integrity": "sha512-evUoRPWiwuFk++snjH9e2cAjF5VVSTj+Dnf+rkO/Q20tRqv+644279TZlPK8nUGunjPAtQRCj1jQkDAvL6rm2w==", - "cpu": [ - "riscv64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/progress": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.1.6.tgz", + "integrity": "sha512-hHh5Ysv4z6bK+j2GJbi/FT9CVyto2PtNUNwBmr3oNMVsoOUMoRjczfXvvYqp0EHr9PCpxqrq7sRwgQXUzhbDSw==", + "dependencies": { + "@chakra-ui/react-context": "2.0.8" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" } }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.11.tgz", - "integrity": "sha512-/SlRJ15XR6i93gRWquRxYCfhTeC5PdqEapKoLbX63PLCmAkXZHY2uQm2l9bN0oPHBsOw2IswRZctMYS0MijFcg==", - "cpu": [ - "s390x" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/provider": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.3.0.tgz", + "integrity": "sha512-vKgmjoLVS3NnHW8RSYwmhhda2ZTi3fQc1egkYSVwngGky4CsN15I+XDhxJitVd66H41cjah/UNJyoeq7ACseLA==", + "dependencies": { + "@chakra-ui/css-reset": "2.1.2", + "@chakra-ui/portal": "2.0.16", + "@chakra-ui/react-env": "3.0.0", + "@chakra-ui/system": "2.5.8", + "@chakra-ui/utils": "2.0.15" + }, + "peerDependencies": { + "@emotion/react": "^11.0.0", + "@emotion/styled": "^11.0.0", + "react": ">=18", + "react-dom": ">=18" } }, - "node_modules/@esbuild/linux-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.11.tgz", - "integrity": "sha512-xcncej+wF16WEmIwPtCHi0qmx1FweBqgsRtEL1mSHLFR6/mb3GEZfLQnx+pUDfRDEM4DQF8dpXIW7eDOZl1IbA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" + "node_modules/@chakra-ui/radio": { + "version": "2.0.22", + "resolved": "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.22.tgz", + "integrity": "sha512-GsQ5WAnLwivWl6gPk8P1x+tCcpVakCt5R5T0HumF7DGPXKdJbjS+RaFySrbETmyTJsKY4QrfXn+g8CWVrMjPjw==", + "dependencies": { + "@chakra-ui/form-control": "2.0.18", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-types": "2.0.7", + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@chakra-ui/shared-utils": "2.0.5", + "@zag-js/focus-visible": "0.2.2" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/@chakra-ui/react/-/react-2.7.1.tgz", + "integrity": "sha512-uIYIAg+gnUoRbgdCfSEVvQnrEz0oWWXATGGSQpxmuJovNVyZKnX/Xug7NkWQfBUJPYRSG+VB69ZmsAFpyLSMtA==", + "dependencies": { + "@chakra-ui/accordion": "2.2.0", + "@chakra-ui/alert": "2.1.0", + "@chakra-ui/avatar": "2.2.11", + "@chakra-ui/breadcrumb": "2.1.5", + "@chakra-ui/button": "2.0.18", + "@chakra-ui/card": "2.1.6", + "@chakra-ui/checkbox": "2.2.15", + "@chakra-ui/close-button": "2.0.17", + "@chakra-ui/control-box": "2.0.13", + "@chakra-ui/counter": "2.0.14", + "@chakra-ui/css-reset": "2.1.2", + "@chakra-ui/editable": "3.0.0", + "@chakra-ui/focus-lock": "2.0.17", + "@chakra-ui/form-control": "2.0.18", + "@chakra-ui/hooks": "2.2.0", + "@chakra-ui/icon": "3.0.16", + "@chakra-ui/image": "2.0.16", + "@chakra-ui/input": "2.0.22", + "@chakra-ui/layout": "2.2.0", + "@chakra-ui/live-region": "2.0.13", + "@chakra-ui/media-query": "3.2.12", + "@chakra-ui/menu": "2.1.15", + "@chakra-ui/modal": "2.2.12", + "@chakra-ui/number-input": "2.0.19", + "@chakra-ui/pin-input": "2.0.20", + "@chakra-ui/popover": "2.1.12", + "@chakra-ui/popper": "3.0.14", + "@chakra-ui/portal": "2.0.16", + "@chakra-ui/progress": "2.1.6", + "@chakra-ui/provider": "2.3.0", + "@chakra-ui/radio": "2.0.22", + "@chakra-ui/react-env": "3.0.0", + "@chakra-ui/select": "2.0.19", + "@chakra-ui/skeleton": "2.0.24", + "@chakra-ui/skip-nav": "2.0.15", + "@chakra-ui/slider": "2.0.25", + "@chakra-ui/spinner": "2.0.13", + "@chakra-ui/stat": "2.0.18", + "@chakra-ui/stepper": "2.2.0", + "@chakra-ui/styled-system": "2.9.1", + "@chakra-ui/switch": "2.0.27", + "@chakra-ui/system": "2.5.8", + "@chakra-ui/table": "2.0.17", + "@chakra-ui/tabs": "2.1.9", + "@chakra-ui/tag": "3.0.0", + "@chakra-ui/textarea": "2.0.19", + "@chakra-ui/theme": "3.1.2", + "@chakra-ui/theme-utils": "2.0.18", + "@chakra-ui/toast": "6.1.4", + "@chakra-ui/tooltip": "2.2.9", + "@chakra-ui/transition": "2.0.16", + "@chakra-ui/utils": "2.0.15", + "@chakra-ui/visually-hidden": "2.0.15" + }, + "peerDependencies": { + "@emotion/react": "^11.0.0", + "@emotion/styled": "^11.0.0", + "framer-motion": ">=4.0.0", + "react": ">=18", + "react-dom": ">=18" } }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.11.tgz", - "integrity": "sha512-aSjMHj/F7BuS1CptSXNg6S3M4F3bLp5wfFPIJM+Km2NfIVfFKhdmfHF9frhiCLIGVzDziggqWll0B+9AUbud/Q==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "netbsd" - ], + "node_modules/@chakra-ui/react-children-utils": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.6.tgz", + "integrity": "sha512-QVR2RC7QsOsbWwEnq9YduhpqSFnZGvjjGREV8ygKi8ADhXh93C8azLECCUVgRJF2Wc+So1fgxmjLcbZfY2VmBA==", + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-context": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.8.tgz", + "integrity": "sha512-tRTKdn6lCTXM6WPjSokAAKCw2ioih7Eg8cNgaYRSwKBck8nkz9YqxgIIEj3dJD7MGtpl24S/SNI98iRWkRwR/A==", + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-env": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-3.0.0.tgz", + "integrity": "sha512-tfMRO2v508HQWAqSADFrwZgR9oU10qC97oV6zGbjHh9ALP0/IcFR+Bi71KRTveDTm85fMeAzZYGj57P3Dsipkw==", + "dependencies": { + "@chakra-ui/react-use-safe-layout-effect": "2.0.5" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-types": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.7.tgz", + "integrity": "sha512-12zv2qIZ8EHwiytggtGvo4iLT0APris7T0qaAWqzpUGS0cdUtR8W+V1BJ5Ocq+7tA6dzQ/7+w5hmXih61TuhWQ==", + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-animation-state": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.9.tgz", + "integrity": "sha512-WFoD5OG03PBmzJCoRwM8rVfU442AvKBPPgA0yGGlKioH29OGuX7W78Ml+cYdXxonTiB03YSRZzUwaUnP4wAy1Q==", + "dependencies": { + "@chakra-ui/dom-utils": "2.1.0", + "@chakra-ui/react-use-event-listener": "2.0.7" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-callback-ref": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.7.tgz", + "integrity": "sha512-YjT76nTpfHAK5NxplAlZsQwNju5KmQExnqsWNPFeOR6vvbC34+iPSTr+r91i1Hdy7gBSbevsOsd5Wm6RN3GuMw==", + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-controllable-state": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.8.tgz", + "integrity": "sha512-F7rdCbLEmRjwwODqWZ3y+mKgSSHPcLQxeUygwk1BkZPXbKkJJKymOIjIynil2cbH7ku3hcSIWRvuhpCcfQWJ7Q==", + "dependencies": { + "@chakra-ui/react-use-callback-ref": "2.0.7" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-disclosure": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.8.tgz", + "integrity": "sha512-2ir/mHe1YND40e+FyLHnDsnDsBQPwzKDLzfe9GZri7y31oU83JSbHdlAXAhp3bpjohslwavtRCp+S/zRxfO9aQ==", + "dependencies": { + "@chakra-ui/react-use-callback-ref": "2.0.7" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-event-listener": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.7.tgz", + "integrity": "sha512-4wvpx4yudIO3B31pOrXuTHDErawmwiXnvAN7gLEOVREi16+YGNcFnRJ5X5nRrmB7j2MDUtsEDpRBFfw5Z9xQ5g==", + "dependencies": { + "@chakra-ui/react-use-callback-ref": "2.0.7" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-focus-effect": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.11.tgz", + "integrity": "sha512-/zadgjaCWD50TfuYsO1vDS2zSBs2p/l8P2DPEIA8FuaowbBubKrk9shKQDWmbfDU7KArGxPxrvo+VXvskPPjHw==", + "dependencies": { + "@chakra-ui/dom-utils": "2.1.0", + "@chakra-ui/react-use-event-listener": "2.0.7", + "@chakra-ui/react-use-safe-layout-effect": "2.0.5", + "@chakra-ui/react-use-update-effect": "2.0.7" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-focus-on-pointer-down": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.6.tgz", + "integrity": "sha512-OigXiLRVySn3tyVqJ/rn57WGuukW8TQe8fJYiLwXbcNyAMuYYounvRxvCy2b53sQ7QIZamza0N0jhirbH5FNoQ==", + "dependencies": { + "@chakra-ui/react-use-event-listener": "2.0.7" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-interval": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.5.tgz", + "integrity": "sha512-1nbdwMi2K87V6p5f5AseOKif2CkldLaJlq1TOqaPRwb7v3aU9rltBtYdf+fIyuHSToNJUV6wd9budCFdLCl3Fg==", + "dependencies": { + "@chakra-ui/react-use-callback-ref": "2.0.7" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-latest-ref": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.5.tgz", + "integrity": "sha512-3mIuFzMyIo3Ok/D8uhV9voVg7KkrYVO/pwVvNPJOHsDQqCA6DpYE4WDsrIx+fVcwad3Ta7SupexR5PoI+kq6QQ==", + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-merge-refs": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.7.tgz", + "integrity": "sha512-zds4Uhsc+AMzdH8JDDkLVet9baUBgtOjPbhC5r3A0ZXjZvGhCztFAVE3aExYiVoMPoHLKbLcqvCWE6ioFKz1lw==", + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-outside-click": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.1.0.tgz", + "integrity": "sha512-JanCo4QtWvMl9ZZUpKJKV62RlMWDFdPCE0Q64a7eWTOQgWWcpyBW7TOYRunQTqrK30FqkYFJCOlAWOtn+6Rw7A==", + "dependencies": { + "@chakra-ui/react-use-callback-ref": "2.0.7" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-pan-event": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.9.tgz", + "integrity": "sha512-xu35QXkiyrgsHUOnctl+SwNcwf9Rl62uYE5y8soKOZdBm8E+FvZIt2hxUzK1EoekbJCMzEZ0Yv1ZQCssVkSLaQ==", + "dependencies": { + "@chakra-ui/event-utils": "2.0.8", + "@chakra-ui/react-use-latest-ref": "2.0.5", + "framesync": "6.1.2" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-previous": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.5.tgz", + "integrity": "sha512-BIZgjycPE4Xr+MkhKe0h67uHXzQQkBX/u5rYPd65iMGdX1bCkbE0oorZNfOHLKdTmnEb4oVsNvfN6Rfr+Mnbxw==", + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-safe-layout-effect": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.5.tgz", + "integrity": "sha512-MwAQBz3VxoeFLaesaSEN87reVNVbjcQBDex2WGexAg6hUB6n4gc1OWYH/iXp4tzp4kuggBNhEHkk9BMYXWfhJQ==", + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-size": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.10.tgz", + "integrity": "sha512-fdIkH14GDnKQrtQfxX8N3gxbXRPXEl67Y3zeD9z4bKKcQUAYIMqs0MsPZY+FMpGQw8QqafM44nXfL038aIrC5w==", + "dependencies": { + "@zag-js/element-size": "0.3.2" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-timeout": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.5.tgz", + "integrity": "sha512-QqmB+jVphh3h/CS60PieorpY7UqSPkrQCB7f7F+i9vwwIjtP8fxVHMmkb64K7VlzQiMPzv12nlID5dqkzlv0mw==", + "dependencies": { + "@chakra-ui/react-use-callback-ref": "2.0.7" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-use-update-effect": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.7.tgz", + "integrity": "sha512-vBM2bmmM83ZdDtasWv3PXPznpTUd+FvqBC8J8rxoRmvdMEfrxTiQRBJhiGHLpS9BPLLPQlosN6KdFU97csB6zg==", + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/react-utils": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.12.tgz", + "integrity": "sha512-GbSfVb283+YA3kA8w8xWmzbjNWk14uhNpntnipHCftBibl0lxtQ9YqMFQLwuFOO0U2gYVocszqqDWX+XNKq9hw==", + "dependencies": { + "@chakra-ui/utils": "2.0.15" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@chakra-ui/select": { + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.19.tgz", + "integrity": "sha512-eAlFh+JhwtJ17OrB6fO6gEAGOMH18ERNrXLqWbYLrs674Le7xuREgtuAYDoxUzvYXYYTTdOJtVbcHGriI3o6rA==", + "dependencies": { + "@chakra-ui/form-control": "2.0.18", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/shared-utils": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.5.tgz", + "integrity": "sha512-4/Wur0FqDov7Y0nCXl7HbHzCg4aq86h+SXdoUeuCMD3dSj7dpsVnStLYhng1vxvlbUnLpdF4oz5Myt3i/a7N3Q==" + }, + "node_modules/@chakra-ui/skeleton": { + "version": "2.0.24", + "resolved": "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.24.tgz", + "integrity": "sha512-1jXtVKcl/jpbrJlc/TyMsFyI651GTXY5ma30kWyTXoby2E+cxbV6OR8GB/NMZdGxbQBax8/VdtYVjI0n+OBqWA==", + "dependencies": { + "@chakra-ui/media-query": "3.2.12", + "@chakra-ui/react-use-previous": "2.0.5", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/skip-nav": { + "version": "2.0.15", + "resolved": "https://registry.npmjs.org/@chakra-ui/skip-nav/-/skip-nav-2.0.15.tgz", + "integrity": "sha512-5UtmlnV4BmIgEk6lQ0h81JEYhPX04wJEk5ZMoilQ2zEQYL6TkVVHkhRXyc1Zfq76hmHuZPXZV/yJeTecj6jIrA==", + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/slider": { + "version": "2.0.25", + "resolved": "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.25.tgz", + "integrity": "sha512-FnWSi0AIXP+9sHMCPboOKGqm902k8dJtsJ7tu3D0AcKkE62WtYLZ2sTqvwJxCfSl4KqVI1i571SrF9WadnnJ8w==", + "dependencies": { + "@chakra-ui/number-utils": "2.0.7", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-types": "2.0.7", + "@chakra-ui/react-use-callback-ref": "2.0.7", + "@chakra-ui/react-use-controllable-state": "2.0.8", + "@chakra-ui/react-use-latest-ref": "2.0.5", + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@chakra-ui/react-use-pan-event": "2.0.9", + "@chakra-ui/react-use-size": "2.0.10", + "@chakra-ui/react-use-update-effect": "2.0.7" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/spinner": { + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.13.tgz", + "integrity": "sha512-T1/aSkVpUIuiYyrjfn1+LsQEG7Onbi1UE9ccS/evgf61Dzy4GgTXQUnDuWFSgpV58owqirqOu6jn/9eCwDlzlg==", + "dependencies": { + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/stat": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.18.tgz", + "integrity": "sha512-wKyfBqhVlIs9bkSerUc6F9KJMw0yTIEKArW7dejWwzToCLPr47u+CtYO6jlJHV6lRvkhi4K4Qc6pyvtJxZ3VpA==", + "dependencies": { + "@chakra-ui/icon": "3.0.16", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/stepper": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@chakra-ui/stepper/-/stepper-2.2.0.tgz", + "integrity": "sha512-8ZLxV39oghSVtOUGK8dX8Z6sWVSQiKVmsK4c3OQDa8y2TvxP0VtFD0Z5U1xJlOjQMryZRWhGj9JBc3iQLukuGg==", + "dependencies": { + "@chakra-ui/icon": "3.0.16", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/styled-system": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.9.1.tgz", + "integrity": "sha512-jhYKBLxwOPi9/bQt9kqV3ELa/4CjmNNruTyXlPp5M0v0+pDMUngPp48mVLoskm9RKZGE0h1qpvj/jZ3K7c7t8w==", + "dependencies": { + "@chakra-ui/shared-utils": "2.0.5", + "csstype": "^3.0.11", + "lodash.mergewith": "4.6.2" + } + }, + "node_modules/@chakra-ui/switch": { + "version": "2.0.27", + "resolved": "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.27.tgz", + "integrity": "sha512-z76y2fxwMlvRBrC5W8xsZvo3gP+zAEbT3Nqy5P8uh/IPd5OvDsGeac90t5cgnQTyxMOpznUNNK+1eUZqtLxWnQ==", + "dependencies": { + "@chakra-ui/checkbox": "2.2.15", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "framer-motion": ">=4.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/system": { + "version": "2.5.8", + "resolved": "https://registry.npmjs.org/@chakra-ui/system/-/system-2.5.8.tgz", + "integrity": "sha512-Vy8UUaCxikOzOGE54IP8tKouvU38rEYU1HCSquU9+oe7Jd70HaiLa4vmUKvHyMUmxkOzDHIkgZLbVQCubSnN5w==", + "dependencies": { + "@chakra-ui/color-mode": "2.1.12", + "@chakra-ui/object-utils": "2.1.0", + "@chakra-ui/react-utils": "2.0.12", + "@chakra-ui/styled-system": "2.9.1", + "@chakra-ui/theme-utils": "2.0.18", + "@chakra-ui/utils": "2.0.15", + "react-fast-compare": "3.2.1" + }, + "peerDependencies": { + "@emotion/react": "^11.0.0", + "@emotion/styled": "^11.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/table": { + "version": "2.0.17", + "resolved": "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.17.tgz", + "integrity": "sha512-OScheTEp1LOYvTki2NFwnAYvac8siAhW9BI5RKm5f5ORL2gVJo4I72RUqE0aKe1oboxgm7CYt5afT5PS5cG61A==", + "dependencies": { + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/tabs": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.9.tgz", + "integrity": "sha512-Yf8e0kRvaGM6jfkJum0aInQ0U3ZlCafmrYYni2lqjcTtThqu+Yosmo3iYlnullXxCw5MVznfrkb9ySvgQowuYg==", + "dependencies": { + "@chakra-ui/clickable": "2.0.14", + "@chakra-ui/descendant": "3.0.14", + "@chakra-ui/lazy-utils": "2.0.5", + "@chakra-ui/react-children-utils": "2.0.6", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-use-controllable-state": "2.0.8", + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@chakra-ui/react-use-safe-layout-effect": "2.0.5", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/tag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@chakra-ui/tag/-/tag-3.0.0.tgz", + "integrity": "sha512-YWdMmw/1OWRwNkG9pX+wVtZio+B89odaPj6XeMn5nfNN8+jyhIEpouWv34+CO9G0m1lupJTxPSfgLAd7cqXZMA==", + "dependencies": { + "@chakra-ui/icon": "3.0.16", + "@chakra-ui/react-context": "2.0.8" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/textarea": { + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.19.tgz", + "integrity": "sha512-adJk+qVGsFeJDvfn56CcJKKse8k7oMGlODrmpnpTdF+xvlsiTM+1GfaJvgNSpHHuQFdz/A0z1uJtfGefk0G2ZA==", + "dependencies": { + "@chakra-ui/form-control": "2.0.18", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/theme": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@chakra-ui/theme/-/theme-3.1.2.tgz", + "integrity": "sha512-ebUXMS3LZw2OZxEQNYaFw3/XuA3jpyprhS/frjHMvZKSOaCjMW+c9z25S0jp1NnpQff08VGI8EWbyVZECXU1QA==", + "dependencies": { + "@chakra-ui/anatomy": "2.1.2", + "@chakra-ui/shared-utils": "2.0.5", + "@chakra-ui/theme-tools": "2.0.18" + }, + "peerDependencies": { + "@chakra-ui/styled-system": ">=2.8.0" + } + }, + "node_modules/@chakra-ui/theme-tools": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.18.tgz", + "integrity": "sha512-MbiRuXb2tb41FbnW41zhsYYAU0znlpfYZnu0mxCf8U2otCwPekJCfESUGYypjq4JnydQ7TDOk+Kz/Wi974l4mw==", + "dependencies": { + "@chakra-ui/anatomy": "2.1.2", + "@chakra-ui/shared-utils": "2.0.5", + "color2k": "^2.0.0" + }, + "peerDependencies": { + "@chakra-ui/styled-system": ">=2.0.0" + } + }, + "node_modules/@chakra-ui/theme-utils": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.18.tgz", + "integrity": "sha512-aSbkUUiFpc1NHC7lQdA6uYlr6EcZFXz6b4aJ7VRDpqTiywvqYnvfGzhmsB0z94vgtS9qXc6HoIwBp25jYGV2MA==", + "dependencies": { + "@chakra-ui/shared-utils": "2.0.5", + "@chakra-ui/styled-system": "2.9.1", + "@chakra-ui/theme": "3.1.2", + "lodash.mergewith": "4.6.2" + } + }, + "node_modules/@chakra-ui/toast": { + "version": "6.1.4", + "resolved": "https://registry.npmjs.org/@chakra-ui/toast/-/toast-6.1.4.tgz", + "integrity": "sha512-wAcPHq/N/ar4jQxkUGhnsbp+lx2eKOpHxn1KaWdHXUkqCNUA1z09fvBsoMyzObSiiwbDuQPZG5RxsOhzfPZX4Q==", + "dependencies": { + "@chakra-ui/alert": "2.1.0", + "@chakra-ui/close-button": "2.0.17", + "@chakra-ui/portal": "2.0.16", + "@chakra-ui/react-context": "2.0.8", + "@chakra-ui/react-use-timeout": "2.0.5", + "@chakra-ui/react-use-update-effect": "2.0.7", + "@chakra-ui/shared-utils": "2.0.5", + "@chakra-ui/styled-system": "2.9.1", + "@chakra-ui/theme": "3.1.2" + }, + "peerDependencies": { + "@chakra-ui/system": "2.5.8", + "framer-motion": ">=4.0.0", + "react": ">=18", + "react-dom": ">=18" + } + }, + "node_modules/@chakra-ui/tooltip": { + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.2.9.tgz", + "integrity": "sha512-ZoksllanqXRUyMDaiogvUVJ+RdFXwZrfrwx3RV22fejYZIQ602hZ3QHtHLB5ZnKFLbvXKMZKM23HxFTSb0Ytqg==", + "dependencies": { + "@chakra-ui/dom-utils": "2.1.0", + "@chakra-ui/popper": "3.0.14", + "@chakra-ui/portal": "2.0.16", + "@chakra-ui/react-types": "2.0.7", + "@chakra-ui/react-use-disclosure": "2.0.8", + "@chakra-ui/react-use-event-listener": "2.0.7", + "@chakra-ui/react-use-merge-refs": "2.0.7", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "framer-motion": ">=4.0.0", + "react": ">=18", + "react-dom": ">=18" + } + }, + "node_modules/@chakra-ui/transition": { + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.16.tgz", + "integrity": "sha512-E+RkwlPc3H7P1crEXmXwDXMB2lqY2LLia2P5siQ4IEnRWIgZXlIw+8Em+NtHNgusel2N+9yuB0wT9SeZZeZ3CQ==", + "dependencies": { + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "framer-motion": ">=4.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/utils": { + "version": "2.0.15", + "resolved": "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.15.tgz", + "integrity": "sha512-El4+jL0WSaYYs+rJbuYFDbjmfCcfGDmRY95GO4xwzit6YAPZBLcR65rOEwLps+XWluZTy1xdMrusg/hW0c1aAA==", + "dependencies": { + "@types/lodash.mergewith": "4.6.7", + "css-box-model": "1.2.1", + "framesync": "6.1.2", + "lodash.mergewith": "4.6.2" + } + }, + "node_modules/@chakra-ui/visually-hidden": { + "version": "2.0.15", + "resolved": "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.15.tgz", + "integrity": "sha512-WWULIiucYRBIewHKFA7BssQ2ABLHLVd9lrUo3N3SZgR0u4ZRDDVEUNOy+r+9ruDze8+36dGbN9wsN1IdELtdOw==", + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@ctrl/tinycolor": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.6.0.tgz", + "integrity": "sha512-/Z3l6pXthq0JvMYdUFyX9j0MaCltlIn6mfh9jLyQwg5aPKxkyNa0PTHtU1AlFXLNk55ZuAeJRcpvq+tmLfKmaQ==", + "engines": { + "node": ">=10" + } + }, + "node_modules/@emotion/babel-plugin": { + "version": "11.11.0", + "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.11.0.tgz", + "integrity": "sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==", + "dependencies": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/runtime": "^7.18.3", + "@emotion/hash": "^0.9.1", + "@emotion/memoize": "^0.8.1", + "@emotion/serialize": "^1.1.2", + "babel-plugin-macros": "^3.1.0", + "convert-source-map": "^1.5.0", + "escape-string-regexp": "^4.0.0", + "find-root": "^1.1.0", + "source-map": "^0.5.7", + "stylis": "4.2.0" + } + }, + "node_modules/@emotion/babel-plugin/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@emotion/babel-plugin/node_modules/stylis": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", + "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==" + }, + "node_modules/@emotion/cache": { + "version": "11.11.0", + "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.11.0.tgz", + "integrity": "sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==", + "dependencies": { + "@emotion/memoize": "^0.8.1", + "@emotion/sheet": "^1.2.2", + "@emotion/utils": "^1.2.1", + "@emotion/weak-memoize": "^0.3.1", + "stylis": "4.2.0" + } + }, + "node_modules/@emotion/cache/node_modules/stylis": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", + "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==" + }, + "node_modules/@emotion/hash": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz", + "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ==" + }, + "node_modules/@emotion/is-prop-valid": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.1.tgz", + "integrity": "sha512-61Mf7Ufx4aDxx1xlDeOm8aFFigGHE4z+0sKCa+IHCeZKiyP9RLD0Mmx7m8b9/Cf37f7NAvQOOJAbQQGVr5uERw==", + "dependencies": { + "@emotion/memoize": "^0.8.1" + } + }, + "node_modules/@emotion/memoize": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz", + "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==" + }, + "node_modules/@emotion/react": { + "version": "11.11.1", + "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.11.1.tgz", + "integrity": "sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.11.0", + "@emotion/cache": "^11.11.0", + "@emotion/serialize": "^1.1.2", + "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", + "@emotion/utils": "^1.2.1", + "@emotion/weak-memoize": "^0.3.1", + "hoist-non-react-statics": "^3.3.1" + }, + "peerDependencies": { + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@emotion/serialize": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.2.tgz", + "integrity": "sha512-zR6a/fkFP4EAcCMQtLOhIgpprZOwNmCldtpaISpvz348+DP4Mz8ZoKaGGCQpbzepNIUWbq4w6hNZkwDyKoS+HA==", + "dependencies": { + "@emotion/hash": "^0.9.1", + "@emotion/memoize": "^0.8.1", + "@emotion/unitless": "^0.8.1", + "@emotion/utils": "^1.2.1", + "csstype": "^3.0.2" + } + }, + "node_modules/@emotion/sheet": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.2.tgz", + "integrity": "sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==" + }, + "node_modules/@emotion/styled": { + "version": "11.11.0", + "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.11.0.tgz", + "integrity": "sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.11.0", + "@emotion/is-prop-valid": "^1.2.1", + "@emotion/serialize": "^1.1.2", + "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", + "@emotion/utils": "^1.2.1" + }, + "peerDependencies": { + "@emotion/react": "^11.0.0-rc.0", + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@emotion/unitless": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz", + "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==" + }, + "node_modules/@emotion/use-insertion-effect-with-fallbacks": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.1.tgz", + "integrity": "sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==", + "peerDependencies": { + "react": ">=16.8.0" + } + }, + "node_modules/@emotion/utils": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.1.tgz", + "integrity": "sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==" + }, + "node_modules/@emotion/weak-memoize": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz", + "integrity": "sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==" + }, + "node_modules/@esbuild/android-arm": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.11.tgz", + "integrity": "sha512-q4qlUf5ucwbUJZXF5tEQ8LF7y0Nk4P58hOsGk3ucY0oCwgQqAnqXVbUuahCddVHfrxmpyewRpiTHwVHIETYu7Q==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.11.tgz", + "integrity": "sha512-snieiq75Z1z5LJX9cduSAjUr7vEI1OdlzFPMw0HH5YI7qQHDd3qs+WZoMrWYDsfRJSq36lIA6mfZBkvL46KoIw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.11.tgz", + "integrity": "sha512-iPuoxQEV34+hTF6FT7om+Qwziv1U519lEOvekXO9zaMMlT9+XneAhKL32DW3H7okrCOBQ44BMihE8dclbZtTuw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.11.tgz", + "integrity": "sha512-Gm0QkI3k402OpfMKyQEEMG0RuW2LQsSmI6OeO4El2ojJMoF5NLYb3qMIjvbG/lbMeLOGiW6ooU8xqc+S0fgz2w==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.11.tgz", + "integrity": "sha512-N15Vzy0YNHu6cfyDOjiyfJlRJCB/ngKOAvoBf1qybG3eOq0SL2Lutzz9N7DYUbb7Q23XtHPn6lMDF6uWbGv9Fw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.11.tgz", + "integrity": "sha512-atEyuq6a3omEY5qAh5jIORWk8MzFnCpSTUruBgeyN9jZq1K/QI9uke0ATi3MHu4L8c59CnIi4+1jDKMuqmR71A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.11.tgz", + "integrity": "sha512-XtuPrEfBj/YYYnAAB7KcorzzpGTvOr/dTtXPGesRfmflqhA4LMF0Gh/n5+a9JBzPuJ+CGk17CA++Hmr1F/gI0Q==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.11.tgz", + "integrity": "sha512-Idipz+Taso/toi2ETugShXjQ3S59b6m62KmLHkJlSq/cBejixmIydqrtM2XTvNCywFl3VC7SreSf6NV0i6sRyg==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.11.tgz", + "integrity": "sha512-c6Vh2WS9VFKxKZ2TvJdA7gdy0n6eSy+yunBvv4aqNCEhSWVor1TU43wNRp2YLO9Vng2G+W94aRz+ILDSwAiYog==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.11.tgz", + "integrity": "sha512-S3hkIF6KUqRh9n1Q0dSyYcWmcVa9Cg+mSoZEfFuzoYXXsk6196qndrM+ZiHNwpZKi3XOXpShZZ+9dfN5ykqjjw==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.11.tgz", + "integrity": "sha512-MRESANOoObQINBA+RMZW+Z0TJWpibtE7cPFnahzyQHDCA9X9LOmGh68MVimZlM9J8n5Ia8lU773te6O3ILW8kw==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.11.tgz", + "integrity": "sha512-qVyPIZrXNMOLYegtD1u8EBccCrBVshxMrn5MkuFc3mEVsw7CCQHaqZ4jm9hbn4gWY95XFnb7i4SsT3eflxZsUg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.11.tgz", + "integrity": "sha512-T3yd8vJXfPirZaUOoA9D2ZjxZX4Gr3QuC3GztBJA6PklLotc/7sXTOuuRkhE9W/5JvJP/K9b99ayPNAD+R+4qQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.11.tgz", + "integrity": "sha512-evUoRPWiwuFk++snjH9e2cAjF5VVSTj+Dnf+rkO/Q20tRqv+644279TZlPK8nUGunjPAtQRCj1jQkDAvL6rm2w==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.11.tgz", + "integrity": "sha512-/SlRJ15XR6i93gRWquRxYCfhTeC5PdqEapKoLbX63PLCmAkXZHY2uQm2l9bN0oPHBsOw2IswRZctMYS0MijFcg==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.11.tgz", + "integrity": "sha512-xcncej+wF16WEmIwPtCHi0qmx1FweBqgsRtEL1mSHLFR6/mb3GEZfLQnx+pUDfRDEM4DQF8dpXIW7eDOZl1IbA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.11.tgz", + "integrity": "sha512-aSjMHj/F7BuS1CptSXNg6S3M4F3bLp5wfFPIJM+Km2NfIVfFKhdmfHF9frhiCLIGVzDziggqWll0B+9AUbud/Q==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.11.tgz", + "integrity": "sha512-tNBq+6XIBZtht0xJGv7IBB5XaSyvYPCm1PxJ33zLQONdZoLVM0bgGqUrXnJyiEguD9LU4AHiu+GCXy/Hm9LsdQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.11.tgz", + "integrity": "sha512-kxfbDOrH4dHuAAOhr7D7EqaYf+W45LsAOOhAet99EyuxxQmjbk8M9N4ezHcEiCYPaiW8Dj3K26Z2V17Gt6p3ng==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.11.tgz", + "integrity": "sha512-Sh0dDRyk1Xi348idbal7lZyfSkjhJsdFeuC13zqdipsvMetlGiFQNdO+Yfp6f6B4FbyQm7qsk16yaZk25LChzg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.11.tgz", + "integrity": "sha512-o9JUIKF1j0rqJTFbIoF4bXj6rvrTZYOrfRcGyL0Vm5uJ/j5CkBD/51tpdxe9lXEDouhRgdr/BYzUrDOvrWwJpg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.11.tgz", + "integrity": "sha512-rQI4cjLHd2hGsM1LqgDI7oOCYbQ6IBOVsX9ejuRMSze0GqXUG2ekwiKkiBU1pRGSeCqFFHxTrcEydB2Hyoz9CA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz", + "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==", + "dev": true, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.0.tgz", + "integrity": "sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "8.44.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.44.0.tgz", + "integrity": "sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", + "integrity": "sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "dev": true + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", + "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.18", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", + "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", + "dependencies": { + "@jridgewell/resolve-uri": "3.1.0", + "@jridgewell/sourcemap-codec": "1.4.14" + } + }, + "node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" + }, + "node_modules/@mui/base": { + "version": "5.0.0-beta.7", + "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-beta.7.tgz", + "integrity": "sha512-Pjbwm6gjiS96kOMF7E5fjEJsenc0tZBesrLQ4rrdi3eT/c/yhSWnPbCUkHSz8bnS0l3/VQ8bA+oERSGSV2PK6A==", + "dependencies": { + "@babel/runtime": "^7.22.5", + "@emotion/is-prop-valid": "^1.2.1", + "@mui/types": "^7.2.4", + "@mui/utils": "^5.13.7", + "@popperjs/core": "^2.11.8", + "clsx": "^1.2.1", + "prop-types": "^15.8.1", + "react-is": "^18.2.0" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0", + "react-dom": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/base/node_modules/react-is": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" + }, + "node_modules/@mui/core-downloads-tracker": { + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.14.0.tgz", + "integrity": "sha512-SYBOVCatVDUf/lbrLGah09bHhX5WfUXg7kSskfLILr6SvKRni0NLp0aonxQ0SMALVVK3Qwa6cW4CdWuwS0gC1w==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui" + } + }, + "node_modules/@mui/icons-material": { + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-5.14.0.tgz", + "integrity": "sha512-z7lYNteDi1GMkF9JP/m2RWuCYK1M/FlaeBSUK7/IhIYzIXNhAVjfD8jRq5vFBV31qkEi2aGBS2z5SfLXwH6U0A==", + "dependencies": { + "@babel/runtime": "^7.22.5" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui" + }, + "peerDependencies": { + "@mui/material": "^5.0.0", + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/material": { + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.14.0.tgz", + "integrity": "sha512-HP7CP71NhMkui2HUIEKl2/JfuHMuoarSUWAKlNw6s17bl/Num9rN61EM6uUzc2A2zHjj/00A66GnvDnmixEJEw==", + "dependencies": { + "@babel/runtime": "^7.22.5", + "@mui/base": "5.0.0-beta.7", + "@mui/core-downloads-tracker": "^5.14.0", + "@mui/system": "^5.14.0", + "@mui/types": "^7.2.4", + "@mui/utils": "^5.13.7", + "@types/react-transition-group": "^4.4.6", + "clsx": "^1.2.1", + "csstype": "^3.1.2", + "prop-types": "^15.8.1", + "react-is": "^18.2.0", + "react-transition-group": "^4.4.5" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0", + "react-dom": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/material/node_modules/react-is": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" + }, + "node_modules/@mui/private-theming": { + "version": "5.13.7", + "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.13.7.tgz", + "integrity": "sha512-qbSr+udcij5F9dKhGX7fEdx2drXchq7htLNr2Qg2Ma+WJ6q0ERlEqGSBiPiVDJkptcjeVL4DGmcf1wl5+vD4EA==", + "dependencies": { + "@babel/runtime": "^7.22.5", + "@mui/utils": "^5.13.7", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/styled-engine": { + "version": "5.13.2", + "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.13.2.tgz", + "integrity": "sha512-VCYCU6xVtXOrIN8lcbuPmoG+u7FYuOERG++fpY74hPpEWkyFQG97F+/XfTQVYzlR2m7nPjnwVUgATcTCMEaMvw==", + "dependencies": { + "@babel/runtime": "^7.21.0", + "@emotion/cache": "^11.11.0", + "csstype": "^3.1.2", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui" + }, + "peerDependencies": { + "@emotion/react": "^11.4.1", + "@emotion/styled": "^11.3.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + } + } + }, + "node_modules/@mui/system": { + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.14.0.tgz", + "integrity": "sha512-0HZGkX8miJbiNw+rjlZ9l0Cfkz1bSqfSHQH0EH9J+nx0aAm5cBleg9piOlLdCNIWGgecCqsw4x62erGrGjjcJg==", + "dependencies": { + "@babel/runtime": "^7.22.5", + "@mui/private-theming": "^5.13.7", + "@mui/styled-engine": "^5.13.2", + "@mui/types": "^7.2.4", + "@mui/utils": "^5.13.7", + "clsx": "^1.2.1", + "csstype": "^3.1.2", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/types": { + "version": "7.2.4", + "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.4.tgz", + "integrity": "sha512-LBcwa8rN84bKF+f5sDyku42w1NTxaPgPyYKODsh01U1fVstTClbUoSA96oyRBnSNyEiAVjKm6Gwx9vjR+xyqHA==", + "peerDependencies": { + "@types/react": "*" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/utils": { + "version": "5.13.7", + "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.13.7.tgz", + "integrity": "sha512-/3BLptG/q0u36eYED7Nhf4fKXmcKb6LjjT7ZMwhZIZSdSxVqDqSTmATW3a56n3KEPQUXCU9TpxAfCBQhs6brVA==", + "dependencies": { + "@babel/runtime": "^7.22.5", + "@types/prop-types": "^15.7.5", + "@types/react-is": "^18.2.1", + "prop-types": "^15.8.1", + "react-is": "^18.2.0" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui" + }, + "peerDependencies": { + "react": "^17.0.0 || ^18.0.0" + } + }, + "node_modules/@mui/utils/node_modules/react-is": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" + }, + "node_modules/@nicolo-ribaudo/chokidar-2": { + "version": "2.1.8-no-fsevents.3", + "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz", + "integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==", + "optional": true + }, + "node_modules/@nicolo-ribaudo/semver-v6": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/semver-v6/-/semver-v6-6.3.3.tgz", + "integrity": "sha512-3Yc1fUTs69MG/uZbJlLSI3JISMn2UV2rg+1D/vROUqZyh3l6iYHCs7GMp+M40ZD7yOdDbYjJcU1oTJhrc+dGKg==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, "engines": { - "node": ">=12" + "node": ">= 8" } }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.11.tgz", - "integrity": "sha512-tNBq+6XIBZtht0xJGv7IBB5XaSyvYPCm1PxJ33zLQONdZoLVM0bgGqUrXnJyiEguD9LU4AHiu+GCXy/Hm9LsdQ==", - "cpu": [ - "x64" - ], + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", "dev": true, - "optional": true, - "os": [ - "openbsd" - ], "engines": { - "node": ">=12" + "node": ">= 8" } }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.11.tgz", - "integrity": "sha512-kxfbDOrH4dHuAAOhr7D7EqaYf+W45LsAOOhAet99EyuxxQmjbk8M9N4ezHcEiCYPaiW8Dj3K26Z2V17Gt6p3ng==", - "cpu": [ - "x64" - ], + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", "dev": true, - "optional": true, - "os": [ - "sunos" - ], + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, "engines": { - "node": ">=12" + "node": ">= 8" } }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.11.tgz", - "integrity": "sha512-Sh0dDRyk1Xi348idbal7lZyfSkjhJsdFeuC13zqdipsvMetlGiFQNdO+Yfp6f6B4FbyQm7qsk16yaZk25LChzg==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" } }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.11.tgz", - "integrity": "sha512-o9JUIKF1j0rqJTFbIoF4bXj6rvrTZYOrfRcGyL0Vm5uJ/j5CkBD/51tpdxe9lXEDouhRgdr/BYzUrDOvrWwJpg==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" + "node_modules/@rc-component/color-picker": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rc-component/color-picker/-/color-picker-1.4.0.tgz", + "integrity": "sha512-hNlJQnrT/vFwpS5+OhoFw7LHcBbmEBxS1RugJuCuL5FBqp9pMIAy2E8uqg87MvxqIsAccwd5r+vvaLterT+t7g==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@ctrl/tinycolor": "^3.6.0", + "classnames": "^2.2.6", + "rc-util": "^5.30.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/@esbuild/win32-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.11.tgz", - "integrity": "sha512-rQI4cjLHd2hGsM1LqgDI7oOCYbQ6IBOVsX9ejuRMSze0GqXUG2ekwiKkiBU1pRGSeCqFFHxTrcEydB2Hyoz9CA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], + "node_modules/@rc-component/context": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@rc-component/context/-/context-1.3.0.tgz", + "integrity": "sha512-6QdaCJ7Wn5UZLJs15IEfqy4Ru3OaL5ctqpQYWd5rlfV9wwzrzdt6+kgAQZV/qdB0MUPN4nhyBfRembQCIvBf+w==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "rc-util": "^5.27.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@rc-component/mini-decimal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@rc-component/mini-decimal/-/mini-decimal-1.1.0.tgz", + "integrity": "sha512-jS4E7T9Li2GuYwI6PyiVXmxTiM6b07rlD9Ge8uGZSCz3WlzcG5ZK7g5bbuKNeZ9pgUuPK/5guV781ujdVpm4HQ==", + "dependencies": { + "@babel/runtime": "^7.18.0" + }, "engines": { - "node": ">=12" + "node": ">=8.x" } }, - "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", - "dev": true, + "node_modules/@rc-component/mutate-observer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rc-component/mutate-observer/-/mutate-observer-1.0.0.tgz", + "integrity": "sha512-okqRJSfNisXdI6CUeOLZC5ukBW/8kir2Ii4PJiKpUt+3+uS7dxwJUMxsUZquxA1rQuL8YcEmKVp/TCnR+yUdZA==", "dependencies": { - "eslint-visitor-keys": "^3.3.0" + "@babel/runtime": "^7.18.0", + "classnames": "^2.3.2", + "rc-util": "^5.24.4" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=8.x" }, "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/@eslint-community/regexpp": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz", - "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==", - "dev": true, + "node_modules/@rc-component/portal": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@rc-component/portal/-/portal-1.1.1.tgz", + "integrity": "sha512-m8w3dFXX0H6UkJ4wtfrSwhe2/6M08uz24HHrF8pWfAXPwA9hwCuTE5per/C86KwNLouRpwFGcr7LfpHaa1F38g==", + "dependencies": { + "@babel/runtime": "^7.18.0", + "classnames": "^2.3.2", + "rc-util": "^5.24.4" + }, "engines": { - "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/@eslint/eslintrc": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.0.tgz", - "integrity": "sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==", - "dev": true, + "node_modules/@rc-component/tour": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@rc-component/tour/-/tour-1.8.0.tgz", + "integrity": "sha512-rrRGioHTLQlGca27G2+lw7QpRb3uuMYCUIJjj31/B44VCJS0P2tqYhOgtzvWQmaLMlWH3ZlpzotkKX13NT4XEA==", "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" + "@babel/runtime": "^7.18.0", + "@rc-component/portal": "^1.0.0-9", + "@rc-component/trigger": "^1.3.6", + "classnames": "^2.3.2", + "rc-util": "^5.24.4" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=8.x" }, - "funding": { - "url": "https://opencollective.com/eslint" + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", - "dev": true, + "node_modules/@rc-component/trigger": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@rc-component/trigger/-/trigger-1.14.1.tgz", + "integrity": "sha512-P6guwJV0etdP4pPEl3MY6SlqNuAhHfV1b793b/oXE8LTQJDR+kaxYZ0E8tFgZtnDr+FZ4zL/Txg5ri2cT2V3lg==", "dependencies": { - "type-fest": "^0.20.2" + "@babel/runtime": "^7.18.3", + "@rc-component/portal": "^1.1.0", + "classnames": "^2.3.2", + "rc-align": "^4.0.0", + "rc-motion": "^2.0.0", + "rc-resize-observer": "^1.3.1", + "rc-util": "^5.33.0" }, "engines": { - "node": ">=8" + "node": ">=8.x" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/@eslint/js": { - "version": "8.44.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.44.0.tgz", - "integrity": "sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node_modules/@stitches/core": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@stitches/core/-/core-1.2.8.tgz", + "integrity": "sha512-Gfkvwk9o9kE9r9XNBmJRfV8zONvXThnm1tcuojL04Uy5uRyqg93DC83lDebl0rocZCfKSjUv+fWYtMQmEDJldg==" + }, + "node_modules/@supabase/auth-ui-react": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/@supabase/auth-ui-react/-/auth-ui-react-0.4.2.tgz", + "integrity": "sha512-NLP1udNtbteWDZYUoJKD/sDzi1BeZpS+CvUk1D0FwHevlVDT1fUf27sVLtrAgchSIQxHwZHTiUPJC9auCF3Zyw==", + "dependencies": { + "@stitches/core": "^1.2.8", + "@supabase/auth-ui-shared": "0.1.6", + "prop-types": "^15.7.2", + "react": "^18.2.0", + "react-dom": "^18.2.0" + }, + "peerDependencies": { + "@supabase/supabase-js": "^2.21.0" + } + }, + "node_modules/@supabase/auth-ui-shared": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@supabase/auth-ui-shared/-/auth-ui-shared-0.1.6.tgz", + "integrity": "sha512-dBlP2XR5KSSCBMgkWJMkc2UVA21V5AobKmekwIiHVvyVtzAiFqE5XWJiPV+kMlnRLzFXDeA0Z/CqdKTL/Kbs4A==", + "peerDependencies": { + "@supabase/supabase-js": "^2.21.0" + } + }, + "node_modules/@supabase/functions-js": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.2.tgz", + "integrity": "sha512-QCR6pwJs9exCl37bmpMisUd6mf+0SUBJ6mUpiAjEkSJ/+xW8TCuO14bvkWHADd5hElJK9MxNlMQXxSA4DRz9nQ==", + "dependencies": { + "cross-fetch": "^3.1.5" + } + }, + "node_modules/@supabase/gotrue-js": { + "version": "2.42.0", + "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-2.42.0.tgz", + "integrity": "sha512-qYyTD+WVP9gjE7Hzw/ywoL9f+1kuUxeKJbb9JSsxV4wZHdKKPFHczfna8ecbmapH7423OXp0lgQAUDX97M39qw==", + "dependencies": { + "cross-fetch": "^3.1.5" + } + }, + "node_modules/@supabase/postgrest-js": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-1.7.2.tgz", + "integrity": "sha512-GK80JpRq8l6Qll85erICypAfQCied8tdlXfsDN14W844HqXCSOisk8AaE01DAwGJanieaoN5fuqhzA2yKxDvEQ==", + "dependencies": { + "cross-fetch": "^3.1.5" + } + }, + "node_modules/@supabase/realtime-js": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-2.7.3.tgz", + "integrity": "sha512-c7TzL81sx2kqyxsxcDduJcHL9KJdCOoKimGP6lQSqiZKX42ATlBZpWbyy9KFGFBjAP4nyopMf5JhPi2ZH9jyNw==", + "dependencies": { + "@types/phoenix": "^1.5.4", + "@types/websocket": "^1.0.3", + "websocket": "^1.0.34" + } + }, + "node_modules/@supabase/storage-js": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-2.5.1.tgz", + "integrity": "sha512-nkR0fQA9ScAtIKA3vNoPEqbZv1k5B5HVRYEvRWdlP6mUpFphM9TwPL2jZ/ztNGMTG5xT6SrHr+H7Ykz8qzbhjw==", + "dependencies": { + "cross-fetch": "^3.1.5" + } + }, + "node_modules/@supabase/supabase-js": { + "version": "2.26.0", + "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.26.0.tgz", + "integrity": "sha512-RXmTPTobaYAwkSobadHZmEVLmzX3SGrtRZIGfLWnLv92VzBRrjuXn0a+bJqKl50GUzsyqPA+j5pod7EwMkcH5A==", + "dependencies": { + "@supabase/functions-js": "^2.1.0", + "@supabase/gotrue-js": "^2.31.0", + "@supabase/postgrest-js": "^1.7.0", + "@supabase/realtime-js": "^2.7.3", + "@supabase/storage-js": "^2.5.1", + "cross-fetch": "^3.1.5" } }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", - "integrity": "sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==", - "dev": true, + "node_modules/@types/lodash": { + "version": "4.14.195", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.195.tgz", + "integrity": "sha512-Hwx9EUgdwf2GLarOjQp5ZH8ZmblzcbTBC2wtQWNKARBSxM9ezRIAUpeDTgoQRAFB0+8CNWXVA9+MaSOzOF3nPg==" + }, + "node_modules/@types/lodash.mergewith": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.7.tgz", + "integrity": "sha512-3m+lkO5CLRRYU0fhGRp7zbsGi6+BZj0uTVSwvcKU+nSlhjA9/QRNfuSGnD2mX6hQA7ZbmcCkzk5h4ZYGOtk14A==", + "dependencies": { + "@types/lodash": "*" + } + }, + "node_modules/@types/node": { + "version": "20.4.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.2.tgz", + "integrity": "sha512-Dd0BYtWgnWJKwO1jkmTrzofjK2QXXcai0dmtzvIBhcA+RsG5h8R3xlyta0kGOZRNfL9GuRtb1knmPEhQrePCEw==" + }, + "node_modules/@types/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" + }, + "node_modules/@types/phoenix": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@types/phoenix/-/phoenix-1.6.0.tgz", + "integrity": "sha512-qwfpsHmFuhAS/dVd4uBIraMxRd56vwBUYQGZ6GpXnFuM2XMRFJbIyruFKKlW2daQliuYZwe0qfn/UjFCDKic5g==" + }, + "node_modules/@types/prop-types": { + "version": "15.7.5", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz", + "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==" + }, + "node_modules/@types/react": { + "version": "18.2.14", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.14.tgz", + "integrity": "sha512-A0zjq+QN/O0Kpe30hA1GidzyFjatVvrpIvWLxD+xv67Vt91TWWgco9IvrJBkeyHm1trGaFS/FSGqPlhyeZRm0g==", "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", - "minimatch": "^3.0.5" - }, - "engines": { - "node": ">=10.10.0" + "@types/prop-types": "*", + "@types/scheduler": "*", + "csstype": "^3.0.2" } }, - "node_modules/@humanwhocodes/module-importer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "node_modules/@types/react-dom": { + "version": "18.2.6", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.6.tgz", + "integrity": "sha512-2et4PDvg6PVCyS7fuTc4gPoksV58bW0RwSxWKcPRcHZf0PRUGq03TKcD/rUHe3azfV6/5/biUBJw+HhCQjaP0A==", "dev": true, - "engines": { - "node": ">=12.22" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" + "dependencies": { + "@types/react": "*" } }, - "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", - "dev": true - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "node_modules/@types/react-is": { + "version": "18.2.1", + "resolved": "https://registry.npmjs.org/@types/react-is/-/react-is-18.2.1.tgz", + "integrity": "sha512-wyUkmaaSZEzFZivD8F2ftSyAfk6L+DfFliVj/mYdOXbVjRcS87fQJLTnhk6dRZPuJjI+9g6RZJO4PNCngUrmyw==", "dependencies": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" + "@types/react": "*" } }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", - "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", - "engines": { - "node": ">=6.0.0" + "node_modules/@types/react-transition-group": { + "version": "4.4.6", + "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.6.tgz", + "integrity": "sha512-VnCdSxfcm08KjsJVQcfBmhEQAPnLB8G08hAxn39azX1qYBQ/5RVQuoHuKIcfKOdncuaUvEpFKFzEvbtIMsfVew==", + "dependencies": { + "@types/react": "*" } }, - "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", - "engines": { - "node": ">=6.0.0" - } + "node_modules/@types/scheduler": { + "version": "0.16.3", + "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz", + "integrity": "sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==" }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" + "node_modules/@types/stylis": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@types/stylis/-/stylis-4.2.0.tgz", + "integrity": "sha512-n4sx2bqL0mW1tvDf/loQ+aMX7GQD3lc3fkCMC55VFNDu/vBOabO+LTIeXKM14xK0ppk5TUGcWRjiSpIlUpghKw==" }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.18", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", - "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", + "node_modules/@types/websocket": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/websocket/-/websocket-1.0.5.tgz", + "integrity": "sha512-NbsqiNX9CnEfC1Z0Vf4mE1SgAJ07JnRYcNex7AJ9zAVzmiGHmjKFEk7O4TJIsgv2B1sLEb6owKFZrACwdYngsQ==", "dependencies": { - "@jridgewell/resolve-uri": "3.1.0", - "@jridgewell/sourcemap-codec": "1.4.14" + "@types/node": "*" } }, - "node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" - }, - "node_modules/@mui/base": { - "version": "5.0.0-beta.7", - "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-beta.7.tgz", - "integrity": "sha512-Pjbwm6gjiS96kOMF7E5fjEJsenc0tZBesrLQ4rrdi3eT/c/yhSWnPbCUkHSz8bnS0l3/VQ8bA+oERSGSV2PK6A==", + "node_modules/@vitejs/plugin-react": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.0.3.tgz", + "integrity": "sha512-pwXDog5nwwvSIzwrvYYmA2Ljcd/ZNlcsSG2Q9CNDBwnsd55UGAyr2doXtB5j+2uymRCnCfExlznzzSFbBRcoCg==", + "dev": true, "dependencies": { - "@babel/runtime": "^7.22.5", - "@emotion/is-prop-valid": "^1.2.1", - "@mui/types": "^7.2.4", - "@mui/utils": "^5.13.7", - "@popperjs/core": "^2.11.8", - "clsx": "^1.2.1", - "prop-types": "^15.8.1", - "react-is": "^18.2.0" + "@babel/core": "^7.22.5", + "@babel/plugin-transform-react-jsx-self": "^7.22.5", + "@babel/plugin-transform-react-jsx-source": "^7.22.5", + "react-refresh": "^0.14.0" }, "engines": { - "node": ">=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" + "node": "^14.18.0 || >=16.0.0" }, "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "vite": "^4.2.0" } }, - "node_modules/@mui/base/node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" + "node_modules/@zag-js/element-size": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.3.2.tgz", + "integrity": "sha512-bVvvigUGvAuj7PCkE5AbzvTJDTw5f3bg9nQdv+ErhVN8SfPPppLJEmmWdxqsRzrHXgx8ypJt/+Ty0kjtISVDsQ==" }, - "node_modules/@mui/core-downloads-tracker": { - "version": "5.14.0", - "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.14.0.tgz", - "integrity": "sha512-SYBOVCatVDUf/lbrLGah09bHhX5WfUXg7kSskfLILr6SvKRni0NLp0aonxQ0SMALVVK3Qwa6cW4CdWuwS0gC1w==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - } + "node_modules/@zag-js/focus-visible": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.2.2.tgz", + "integrity": "sha512-0j2gZq8HiZ51z4zNnSkF1iSkqlwRDvdH+son3wHdoz+7IUdMN/5Exd4TxMJ+gq2Of1DiXReYLL9qqh2PdQ4wgA==" }, - "node_modules/@mui/icons-material": { - "version": "5.14.0", - "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-5.14.0.tgz", - "integrity": "sha512-z7lYNteDi1GMkF9JP/m2RWuCYK1M/FlaeBSUK7/IhIYzIXNhAVjfD8jRq5vFBV31qkEi2aGBS2z5SfLXwH6U0A==", - "dependencies": { - "@babel/runtime": "^7.22.5" + "node_modules/acorn": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", + "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", + "dev": true, + "bin": { + "acorn": "bin/acorn" }, "engines": { - "node": ">=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, "peerDependencies": { - "@mui/material": "^5.0.0", - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, - "node_modules/@mui/material": { - "version": "5.14.0", - "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.14.0.tgz", - "integrity": "sha512-HP7CP71NhMkui2HUIEKl2/JfuHMuoarSUWAKlNw6s17bl/Num9rN61EM6uUzc2A2zHjj/00A66GnvDnmixEJEw==", + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, "dependencies": { - "@babel/runtime": "^7.22.5", - "@mui/base": "5.0.0-beta.7", - "@mui/core-downloads-tracker": "^5.14.0", - "@mui/system": "^5.14.0", - "@mui/types": "^7.2.4", - "@mui/utils": "^5.13.7", - "@types/react-transition-group": "^4.4.6", - "clsx": "^1.2.1", - "csstype": "^3.1.2", - "prop-types": "^15.8.1", - "react-is": "^18.2.0", - "react-transition-group": "^4.4.5" - }, - "engines": { - "node": ">=12.0.0" + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, - "peerDependencies": { - "@emotion/react": "^11.5.0", - "@emotion/styled": "^11.3.0", - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@emotion/react": { - "optional": true - }, - "@emotion/styled": { - "optional": true - }, - "@types/react": { - "optional": true - } + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/@mui/material/node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } }, - "node_modules/@mui/private-theming": { - "version": "5.13.7", - "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.13.7.tgz", - "integrity": "sha512-qbSr+udcij5F9dKhGX7fEdx2drXchq7htLNr2Qg2Ma+WJ6q0ERlEqGSBiPiVDJkptcjeVL4DGmcf1wl5+vD4EA==", + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dependencies": { - "@babel/runtime": "^7.22.5", - "@mui/utils": "^5.13.7", - "prop-types": "^15.8.1" + "color-convert": "^1.9.0" }, "engines": { - "node": ">=12.0.0" + "node": ">=4" + } + }, + "node_modules/antd": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/antd/-/antd-5.7.0.tgz", + "integrity": "sha512-jUu6wfoN633rKsTSJcfVtXYTMdVu885LoYm2A52Vur8gnYfP3GzekCuGpTXZKGZRwGLNs3D2HbpaHciusF+2Gg==", + "dependencies": { + "@ant-design/colors": "^7.0.0", + "@ant-design/cssinjs": "^1.10.1", + "@ant-design/icons": "^5.1.0", + "@ant-design/react-slick": "~1.0.0", + "@babel/runtime": "^7.18.3", + "@ctrl/tinycolor": "^3.6.0", + "@rc-component/color-picker": "~1.4.0", + "@rc-component/mutate-observer": "^1.0.0", + "@rc-component/tour": "~1.8.0", + "@rc-component/trigger": "^1.13.0", + "classnames": "^2.2.6", + "copy-to-clipboard": "^3.2.0", + "dayjs": "^1.11.1", + "qrcode.react": "^3.1.0", + "rc-cascader": "~3.12.0", + "rc-checkbox": "~3.1.0", + "rc-collapse": "~3.7.0", + "rc-dialog": "~9.1.0", + "rc-drawer": "~6.2.0", + "rc-dropdown": "~4.1.0", + "rc-field-form": "~1.34.0", + "rc-image": "~7.0.0-2", + "rc-input": "~1.1.0", + "rc-input-number": "~8.0.0", + "rc-mentions": "~2.5.0", + "rc-menu": "~9.10.0", + "rc-motion": "^2.7.3", + "rc-notification": "~5.0.4", + "rc-pagination": "~3.5.0", + "rc-picker": "~3.10.0", + "rc-progress": "~3.4.1", + "rc-rate": "~2.12.0", + "rc-resize-observer": "^1.2.0", + "rc-segmented": "~2.2.0", + "rc-select": "~14.5.0", + "rc-slider": "~10.1.0", + "rc-steps": "~6.0.0", + "rc-switch": "~4.1.0", + "rc-table": "~7.32.1", + "rc-tabs": "~12.9.0", + "rc-textarea": "~1.3.2", + "rc-tooltip": "~6.0.0", + "rc-tree": "~5.7.6", + "rc-tree-select": "~5.9.0", + "rc-upload": "~4.3.0", + "rc-util": "^5.32.0", + "scroll-into-view-if-needed": "^3.0.3", + "throttle-debounce": "^5.0.0" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/mui" + "url": "https://opencollective.com/ant-design" }, "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/@mui/styled-engine": { - "version": "5.13.2", - "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.13.2.tgz", - "integrity": "sha512-VCYCU6xVtXOrIN8lcbuPmoG+u7FYuOERG++fpY74hPpEWkyFQG97F+/XfTQVYzlR2m7nPjnwVUgATcTCMEaMvw==", + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "optional": true, "dependencies": { - "@babel/runtime": "^7.21.0", - "@emotion/cache": "^11.11.0", - "csstype": "^3.1.2", - "prop-types": "^15.8.1" + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" }, "engines": { - "node": ">=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, - "peerDependencies": { - "@emotion/react": "^11.4.1", - "@emotion/styled": "^11.3.0", - "react": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@emotion/react": { - "optional": true - }, - "@emotion/styled": { - "optional": true - } + "node": ">= 8" } }, - "node_modules/@mui/system": { - "version": "5.14.0", - "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.14.0.tgz", - "integrity": "sha512-0HZGkX8miJbiNw+rjlZ9l0Cfkz1bSqfSHQH0EH9J+nx0aAm5cBleg9piOlLdCNIWGgecCqsw4x62erGrGjjcJg==", + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/aria-hidden": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.3.tgz", + "integrity": "sha512-xcLxITLe2HYa1cnYnwCjkOO1PqUHQpozB8x9AR0OgWN2woOBi5kSDVxKfd0b7sb1hw5qFeJhXm9H1nu3xSfLeQ==", "dependencies": { - "@babel/runtime": "^7.22.5", - "@mui/private-theming": "^5.13.7", - "@mui/styled-engine": "^5.13.2", - "@mui/types": "^7.2.4", - "@mui/utils": "^5.13.7", - "clsx": "^1.2.1", - "csstype": "^3.1.2", - "prop-types": "^15.8.1" + "tslib": "^2.0.0" }, "engines": { - "node": ">=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, - "peerDependencies": { - "@emotion/react": "^11.5.0", - "@emotion/styled": "^11.3.0", - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@emotion/react": { - "optional": true - }, - "@emotion/styled": { - "optional": true - }, - "@types/react": { - "optional": true - } + "node": ">=10" } }, - "node_modules/@mui/types": { - "version": "7.2.4", - "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.4.tgz", - "integrity": "sha512-LBcwa8rN84bKF+f5sDyku42w1NTxaPgPyYKODsh01U1fVstTClbUoSA96oyRBnSNyEiAVjKm6Gwx9vjR+xyqHA==", - "peerDependencies": { - "@types/react": "*" + "node_modules/array-buffer-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", + "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "is-array-buffer": "^3.0.1" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/@mui/utils": { - "version": "5.13.7", - "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.13.7.tgz", - "integrity": "sha512-/3BLptG/q0u36eYED7Nhf4fKXmcKb6LjjT7ZMwhZIZSdSxVqDqSTmATW3a56n3KEPQUXCU9TpxAfCBQhs6brVA==", + "node_modules/array-includes": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz", + "integrity": "sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==", + "dev": true, "dependencies": { - "@babel/runtime": "^7.22.5", - "@types/prop-types": "^15.7.5", - "@types/react-is": "^18.2.1", - "prop-types": "^15.8.1", - "react-is": "^18.2.0" + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "get-intrinsic": "^1.1.3", + "is-string": "^1.0.7" }, "engines": { - "node": ">=12.0.0" + "node": ">= 0.4" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, - "peerDependencies": { - "react": "^17.0.0 || ^18.0.0" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/@mui/utils/node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" - }, - "node_modules/@nicolo-ribaudo/chokidar-2": { - "version": "2.1.8-no-fsevents.3", - "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz", - "integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==", - "optional": true + "node_modules/array-tree-filter": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-tree-filter/-/array-tree-filter-2.1.0.tgz", + "integrity": "sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw==" }, - "node_modules/@nicolo-ribaudo/semver-v6": { - "version": "6.3.3", - "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/semver-v6/-/semver-v6-6.3.3.tgz", - "integrity": "sha512-3Yc1fUTs69MG/uZbJlLSI3JISMn2UV2rg+1D/vROUqZyh3l6iYHCs7GMp+M40ZD7yOdDbYjJcU1oTJhrc+dGKg==", - "bin": { - "semver": "bin/semver.js" + "node_modules/array.prototype.flat": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", + "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "node_modules/array.prototype.flatmap": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz", + "integrity": "sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==", "dev": true, "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "es-shim-unscopables": "^1.0.0" }, "engines": { - "node": ">= 8" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "node_modules/array.prototype.tosorted": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.1.tgz", + "integrity": "sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ==", "dev": true, - "engines": { - "node": ">= 8" + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "es-shim-unscopables": "^1.0.0", + "get-intrinsic": "^1.1.3" } }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "node_modules/async-validator": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/async-validator/-/async-validator-4.2.5.tgz", + "integrity": "sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==" + }, + "node_modules/available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/babel-plugin-macros": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", + "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" + "@babel/runtime": "^7.12.5", + "cosmiconfig": "^7.0.0", + "resolve": "^1.19.0" }, "engines": { - "node": ">= 8" + "node": ">=10", + "npm": ">=6" } }, - "node_modules/@popperjs/core": { - "version": "2.11.8", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", - "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "node_modules/babel-plugin-macros/node_modules/resolve": { + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", + "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", + "dependencies": { + "is-core-module": "^2.11.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/@stitches/core": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@stitches/core/-/core-1.2.8.tgz", - "integrity": "sha512-Gfkvwk9o9kE9r9XNBmJRfV8zONvXThnm1tcuojL04Uy5uRyqg93DC83lDebl0rocZCfKSjUv+fWYtMQmEDJldg==" - }, - "node_modules/@supabase/auth-ui-react": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/@supabase/auth-ui-react/-/auth-ui-react-0.4.2.tgz", - "integrity": "sha512-NLP1udNtbteWDZYUoJKD/sDzi1BeZpS+CvUk1D0FwHevlVDT1fUf27sVLtrAgchSIQxHwZHTiUPJC9auCF3Zyw==", + "node_modules/babel-plugin-polyfill-corejs2": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.4.tgz", + "integrity": "sha512-9WeK9snM1BfxB38goUEv2FLnA6ja07UMfazFHzCXUb3NyDZAwfXvQiURQ6guTTMeHcOsdknULm1PDhs4uWtKyA==", "dependencies": { - "@stitches/core": "^1.2.8", - "@supabase/auth-ui-shared": "0.1.6", - "prop-types": "^15.7.2", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "@babel/compat-data": "^7.22.6", + "@babel/helper-define-polyfill-provider": "^0.4.1", + "@nicolo-ribaudo/semver-v6": "^6.3.3" }, "peerDependencies": { - "@supabase/supabase-js": "^2.21.0" + "@babel/core": "^7.0.0-0" } }, - "node_modules/@supabase/auth-ui-shared": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@supabase/auth-ui-shared/-/auth-ui-shared-0.1.6.tgz", - "integrity": "sha512-dBlP2XR5KSSCBMgkWJMkc2UVA21V5AobKmekwIiHVvyVtzAiFqE5XWJiPV+kMlnRLzFXDeA0Z/CqdKTL/Kbs4A==", + "node_modules/babel-plugin-polyfill-corejs3": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.2.tgz", + "integrity": "sha512-Cid+Jv1BrY9ReW9lIfNlNpsI53N+FN7gE+f73zLAUbr9C52W4gKLWSByx47pfDJsEysojKArqOtOKZSVIIUTuQ==", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.4.1", + "core-js-compat": "^3.31.0" + }, "peerDependencies": { - "@supabase/supabase-js": "^2.21.0" + "@babel/core": "^7.0.0-0" } }, - "node_modules/@supabase/functions-js": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.2.tgz", - "integrity": "sha512-QCR6pwJs9exCl37bmpMisUd6mf+0SUBJ6mUpiAjEkSJ/+xW8TCuO14bvkWHADd5hElJK9MxNlMQXxSA4DRz9nQ==", + "node_modules/babel-plugin-polyfill-regenerator": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.1.tgz", + "integrity": "sha512-L8OyySuI6OSQ5hFy9O+7zFjyr4WhAfRjLIOkhQGYl+emwJkd/S4XXT1JpfrgR1jrQ1NcGiOh+yAdGlF8pnC3Jw==", "dependencies": { - "cross-fetch": "^3.1.5" + "@babel/helper-define-polyfill-provider": "^0.4.1" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@supabase/gotrue-js": { - "version": "2.42.0", - "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-2.42.0.tgz", - "integrity": "sha512-qYyTD+WVP9gjE7Hzw/ywoL9f+1kuUxeKJbb9JSsxV4wZHdKKPFHczfna8ecbmapH7423OXp0lgQAUDX97M39qw==", + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "optional": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dependencies": { - "cross-fetch": "^3.1.5" + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, - "node_modules/@supabase/postgrest-js": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-1.7.2.tgz", - "integrity": "sha512-GK80JpRq8l6Qll85erICypAfQCied8tdlXfsDN14W844HqXCSOisk8AaE01DAwGJanieaoN5fuqhzA2yKxDvEQ==", + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "optional": true, "dependencies": { - "cross-fetch": "^3.1.5" + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" } }, - "node_modules/@supabase/realtime-js": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-2.7.3.tgz", - "integrity": "sha512-c7TzL81sx2kqyxsxcDduJcHL9KJdCOoKimGP6lQSqiZKX42ATlBZpWbyy9KFGFBjAP4nyopMf5JhPi2ZH9jyNw==", + "node_modules/browserslist": { + "version": "4.21.9", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.9.tgz", + "integrity": "sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "dependencies": { - "@types/phoenix": "^1.5.4", - "@types/websocket": "^1.0.3", - "websocket": "^1.0.34" + "caniuse-lite": "^1.0.30001503", + "electron-to-chromium": "^1.4.431", + "node-releases": "^2.0.12", + "update-browserslist-db": "^1.0.11" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, - "node_modules/@supabase/storage-js": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-2.5.1.tgz", - "integrity": "sha512-nkR0fQA9ScAtIKA3vNoPEqbZv1k5B5HVRYEvRWdlP6mUpFphM9TwPL2jZ/ztNGMTG5xT6SrHr+H7Ykz8qzbhjw==", + "node_modules/bufferutil": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.7.tgz", + "integrity": "sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw==", + "hasInstallScript": true, "dependencies": { - "cross-fetch": "^3.1.5" + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" } }, - "node_modules/@supabase/supabase-js": { - "version": "2.26.0", - "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.26.0.tgz", - "integrity": "sha512-RXmTPTobaYAwkSobadHZmEVLmzX3SGrtRZIGfLWnLv92VzBRrjuXn0a+bJqKl50GUzsyqPA+j5pod7EwMkcH5A==", + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, "dependencies": { - "@supabase/functions-js": "^2.1.0", - "@supabase/gotrue-js": "^2.31.0", - "@supabase/postgrest-js": "^1.7.0", - "@supabase/realtime-js": "^2.7.3", - "@supabase/storage-js": "^2.5.1", - "cross-fetch": "^3.1.5" + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/@types/node": { - "version": "20.4.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.2.tgz", - "integrity": "sha512-Dd0BYtWgnWJKwO1jkmTrzofjK2QXXcai0dmtzvIBhcA+RsG5h8R3xlyta0kGOZRNfL9GuRtb1knmPEhQrePCEw==" + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "engines": { + "node": ">=6" + } }, - "node_modules/@types/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" + "node_modules/camelize": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/camelize/-/camelize-1.0.1.tgz", + "integrity": "sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "node_modules/@types/phoenix": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@types/phoenix/-/phoenix-1.6.0.tgz", - "integrity": "sha512-qwfpsHmFuhAS/dVd4uBIraMxRd56vwBUYQGZ6GpXnFuM2XMRFJbIyruFKKlW2daQliuYZwe0qfn/UjFCDKic5g==" + "node_modules/caniuse-lite": { + "version": "1.0.30001515", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001515.tgz", + "integrity": "sha512-eEFDwUOZbE24sb+Ecsx3+OvNETqjWIdabMy52oOkIgcUtAsQifjUG9q4U9dgTHJM2mfk4uEPxc0+xuFdJ629QA==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] }, - "node_modules/@types/prop-types": { - "version": "15.7.5", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz", - "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==" + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } }, - "node_modules/@types/react": { - "version": "18.2.14", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.14.tgz", - "integrity": "sha512-A0zjq+QN/O0Kpe30hA1GidzyFjatVvrpIvWLxD+xv67Vt91TWWgco9IvrJBkeyHm1trGaFS/FSGqPlhyeZRm0g==", + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "optional": true, "dependencies": { - "@types/prop-types": "*", - "@types/scheduler": "*", - "csstype": "^3.0.2" + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" } }, - "node_modules/@types/react-dom": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.6.tgz", - "integrity": "sha512-2et4PDvg6PVCyS7fuTc4gPoksV58bW0RwSxWKcPRcHZf0PRUGq03TKcD/rUHe3azfV6/5/biUBJw+HhCQjaP0A==", - "dev": true, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "optional": true, "dependencies": { - "@types/react": "*" + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" } }, - "node_modules/@types/react-is": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@types/react-is/-/react-is-18.2.1.tgz", - "integrity": "sha512-wyUkmaaSZEzFZivD8F2ftSyAfk6L+DfFliVj/mYdOXbVjRcS87fQJLTnhk6dRZPuJjI+9g6RZJO4PNCngUrmyw==", - "dependencies": { - "@types/react": "*" + "node_modules/classnames": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.2.tgz", + "integrity": "sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==" + }, + "node_modules/clsx": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz", + "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==", + "engines": { + "node": ">=6" } }, - "node_modules/@types/react-transition-group": { - "version": "4.4.6", - "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.6.tgz", - "integrity": "sha512-VnCdSxfcm08KjsJVQcfBmhEQAPnLB8G08hAxn39azX1qYBQ/5RVQuoHuKIcfKOdncuaUvEpFKFzEvbtIMsfVew==", + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dependencies": { - "@types/react": "*" + "color-name": "1.1.3" } }, - "node_modules/@types/scheduler": { - "version": "0.16.3", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz", - "integrity": "sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==" + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" }, - "node_modules/@types/stylis": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@types/stylis/-/stylis-4.2.0.tgz", - "integrity": "sha512-n4sx2bqL0mW1tvDf/loQ+aMX7GQD3lc3fkCMC55VFNDu/vBOabO+LTIeXKM14xK0ppk5TUGcWRjiSpIlUpghKw==" + "node_modules/color2k": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/color2k/-/color2k-2.0.2.tgz", + "integrity": "sha512-kJhwH5nAwb34tmyuqq/lgjEKzlFXn1U99NlnB6Ws4qVaERcRUYeYP1cBw6BJ4vxaWStAUEef4WMr7WjOCnBt8w==" }, - "node_modules/@types/websocket": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/websocket/-/websocket-1.0.5.tgz", - "integrity": "sha512-NbsqiNX9CnEfC1Z0Vf4mE1SgAJ07JnRYcNex7AJ9zAVzmiGHmjKFEk7O4TJIsgv2B1sLEb6owKFZrACwdYngsQ==", + "node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/compute-scroll-into-view": { + "version": "1.0.20", + "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz", + "integrity": "sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + }, + "node_modules/convert-source-map": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" + }, + "node_modules/copy-to-clipboard": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz", + "integrity": "sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==", "dependencies": { - "@types/node": "*" + "toggle-selection": "^1.0.6" } }, - "node_modules/@vitejs/plugin-react": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.0.3.tgz", - "integrity": "sha512-pwXDog5nwwvSIzwrvYYmA2Ljcd/ZNlcsSG2Q9CNDBwnsd55UGAyr2doXtB5j+2uymRCnCfExlznzzSFbBRcoCg==", - "dev": true, + "node_modules/core-js-compat": { + "version": "3.31.1", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.31.1.tgz", + "integrity": "sha512-wIDWd2s5/5aJSdpOJHfSibxNODxoGoWOBHt8JSPB41NOE94M7kuTPZCYLOlTtuoXTsBPKobpJ6T+y0SSy5L9SA==", "dependencies": { - "@babel/core": "^7.22.5", - "@babel/plugin-transform-react-jsx-self": "^7.22.5", - "@babel/plugin-transform-react-jsx-source": "^7.22.5", - "react-refresh": "^0.14.0" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" + "browserslist": "^4.21.9" }, - "peerDependencies": { - "vite": "^4.2.0" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" } }, - "node_modules/acorn": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", - "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", - "dev": true, - "bin": { - "acorn": "bin/acorn" + "node_modules/cosmiconfig": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", + "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", + "dependencies": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" }, "engines": { - "node": ">=0.4.0" + "node": ">=10" } }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + "node_modules/cross-fetch": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", + "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", + "dependencies": { + "node-fetch": "^2.6.12" } }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, "engines": { - "node": ">=8" + "node": ">= 8" } }, - "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "node_modules/css-box-model": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz", + "integrity": "sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw==", "dependencies": { - "color-convert": "^1.9.0" - }, + "tiny-invariant": "^1.0.6" + } + }, + "node_modules/css-color-keywords": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/css-color-keywords/-/css-color-keywords-1.0.0.tgz", + "integrity": "sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg==", "engines": { "node": ">=4" } }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "optional": true, + "node_modules/css-to-react-native": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/css-to-react-native/-/css-to-react-native-3.2.0.tgz", + "integrity": "sha512-e8RKaLXMOFii+02mOlqwjbD00KSEKqblnpO9e++1aXS1fPQOpS1YoqdVHBqPjHNoxeF2mimzVqawm2KCbEdtHQ==", "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" + "camelize": "^1.0.0", + "css-color-keywords": "^1.0.0", + "postcss-value-parser": "^4.0.2" } }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "node_modules/csstype": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz", + "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==" }, - "node_modules/array-buffer-byte-length": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", - "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", - "dev": true, + "node_modules/d": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", + "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", "dependencies": { - "call-bind": "^1.0.2", - "is-array-buffer": "^3.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "es5-ext": "^0.10.50", + "type": "^1.0.1" } }, - "node_modules/array-includes": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz", - "integrity": "sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==", - "dev": true, + "node_modules/dayjs": { + "version": "1.11.9", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.9.tgz", + "integrity": "sha512-QvzAURSbQ0pKdIye2txOzNaHmxtUBXerpY0FJsFXUMKbIZeFm5ht1LS/jFsrncjnmtv8HsG0W2g6c0zUjZWmpA==" + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "get-intrinsic": "^1.1.3", - "is-string": "^1.0.7" + "ms": "2.1.2" }, "engines": { - "node": ">= 0.4" + "node": ">=6.0" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, - "node_modules/array.prototype.flat": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", - "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/define-properties": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", + "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "es-shim-unscopables": "^1.0.0" + "dependencies": { + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" }, "engines": { "node": ">= 0.4" @@ -3139,1111 +5085,1081 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/array.prototype.flatmap": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz", - "integrity": "sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==", + "node_modules/detect-node-es": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz", + "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==" + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "es-shim-unscopables": "^1.0.0" + "esutils": "^2.0.2" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=6.0.0" } }, - "node_modules/array.prototype.tosorted": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.1.tgz", - "integrity": "sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ==", - "dev": true, + "node_modules/dom-align": { + "version": "1.12.4", + "resolved": "https://registry.npmjs.org/dom-align/-/dom-align-1.12.4.tgz", + "integrity": "sha512-R8LUSEay/68zE5c8/3BDxiTEvgb4xZTF0RKmAHfiEVN3klfIpXfi2/QCoiWPccVQ0J/ZGdz9OjzL4uJEP/MRAw==" + }, + "node_modules/dom-helpers": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz", + "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "es-shim-unscopables": "^1.0.0", - "get-intrinsic": "^1.1.3" + "@babel/runtime": "^7.8.7", + "csstype": "^3.0.2" } }, - "node_modules/available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } + "node_modules/electron-to-chromium": { + "version": "1.4.457", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.457.tgz", + "integrity": "sha512-/g3UyNDmDd6ebeWapmAoiyy+Sy2HyJ+/X8KyvNeHfKRFfHaA2W8oF5fxD5F3tjBDcjpwo0iek6YNgxNXDBoEtA==" }, - "node_modules/babel-plugin-macros": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", - "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "dependencies": { - "@babel/runtime": "^7.12.5", - "cosmiconfig": "^7.0.0", - "resolve": "^1.19.0" - }, - "engines": { - "node": ">=10", - "npm": ">=6" + "is-arrayish": "^0.2.1" } }, - "node_modules/babel-plugin-macros/node_modules/resolve": { - "version": "1.22.2", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", - "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", + "node_modules/es-abstract": { + "version": "1.21.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz", + "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==", + "dev": true, "dependencies": { - "is-core-module": "^2.11.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" + "array-buffer-byte-length": "^1.0.0", + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-set-tostringtag": "^2.0.1", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.5", + "get-intrinsic": "^1.2.0", + "get-symbol-description": "^1.0.0", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has": "^1.0.3", + "has-property-descriptors": "^1.0.0", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.5", + "is-array-buffer": "^3.0.2", + "is-callable": "^1.2.7", + "is-negative-zero": "^2.0.2", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.10", + "is-weakref": "^1.0.2", + "object-inspect": "^1.12.3", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.4.3", + "safe-regex-test": "^1.0.0", + "string.prototype.trim": "^1.2.7", + "string.prototype.trimend": "^1.0.6", + "string.prototype.trimstart": "^1.0.6", + "typed-array-length": "^1.0.4", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.9" }, - "bin": { - "resolve": "bin/resolve" + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.4.tgz", - "integrity": "sha512-9WeK9snM1BfxB38goUEv2FLnA6ja07UMfazFHzCXUb3NyDZAwfXvQiURQ6guTTMeHcOsdknULm1PDhs4uWtKyA==", + "node_modules/es-set-tostringtag": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", + "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "dev": true, "dependencies": { - "@babel/compat-data": "^7.22.6", - "@babel/helper-define-polyfill-provider": "^0.4.1", - "@nicolo-ribaudo/semver-v6": "^6.3.3" + "get-intrinsic": "^1.1.3", + "has": "^1.0.3", + "has-tostringtag": "^1.0.0" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "engines": { + "node": ">= 0.4" } }, - "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.2.tgz", - "integrity": "sha512-Cid+Jv1BrY9ReW9lIfNlNpsI53N+FN7gE+f73zLAUbr9C52W4gKLWSByx47pfDJsEysojKArqOtOKZSVIIUTuQ==", + "node_modules/es-shim-unscopables": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", + "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", + "dev": true, "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.4.1", - "core-js-compat": "^3.31.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "has": "^1.0.3" } }, - "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.1.tgz", - "integrity": "sha512-L8OyySuI6OSQ5hFy9O+7zFjyr4WhAfRjLIOkhQGYl+emwJkd/S4XXT1JpfrgR1jrQ1NcGiOh+yAdGlF8pnC3Jw==", + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.4.1" + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "optional": true, "engines": { - "node": ">=8" - } - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "optional": true, + "node_modules/es5-ext": { + "version": "0.10.62", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz", + "integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==", + "hasInstallScript": true, "dependencies": { - "fill-range": "^7.0.1" + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.3", + "next-tick": "^1.1.0" }, "engines": { - "node": ">=8" + "node": ">=0.10" } }, - "node_modules/browserslist": { - "version": "4.21.9", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.9.tgz", - "integrity": "sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], + "node_modules/es6-iterator": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", + "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==", "dependencies": { - "caniuse-lite": "^1.0.30001503", - "electron-to-chromium": "^1.4.431", - "node-releases": "^2.0.12", - "update-browserslist-db": "^1.0.11" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" } }, - "node_modules/bufferutil": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.7.tgz", - "integrity": "sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw==", - "hasInstallScript": true, + "node_modules/es6-symbol": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", + "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", "dependencies": { - "node-gyp-build": "^4.3.0" - }, - "engines": { - "node": ">=6.14.2" + "d": "^1.0.1", + "ext": "^1.1.2" } }, - "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "node_modules/esbuild": { + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.11.tgz", + "integrity": "sha512-i8u6mQF0JKJUlGR3OdFLKldJQMMs8OqM9Cc3UCi9XXziJ9WERM5bfkHaEAy0YAvPRMgqSW55W7xYn84XtEFTtA==", "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/android-arm": "0.18.11", + "@esbuild/android-arm64": "0.18.11", + "@esbuild/android-x64": "0.18.11", + "@esbuild/darwin-arm64": "0.18.11", + "@esbuild/darwin-x64": "0.18.11", + "@esbuild/freebsd-arm64": "0.18.11", + "@esbuild/freebsd-x64": "0.18.11", + "@esbuild/linux-arm": "0.18.11", + "@esbuild/linux-arm64": "0.18.11", + "@esbuild/linux-ia32": "0.18.11", + "@esbuild/linux-loong64": "0.18.11", + "@esbuild/linux-mips64el": "0.18.11", + "@esbuild/linux-ppc64": "0.18.11", + "@esbuild/linux-riscv64": "0.18.11", + "@esbuild/linux-s390x": "0.18.11", + "@esbuild/linux-x64": "0.18.11", + "@esbuild/netbsd-x64": "0.18.11", + "@esbuild/openbsd-x64": "0.18.11", + "@esbuild/sunos-x64": "0.18.11", + "@esbuild/win32-arm64": "0.18.11", + "@esbuild/win32-ia32": "0.18.11", + "@esbuild/win32-x64": "0.18.11" } }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", "engines": { "node": ">=6" } }, - "node_modules/camelize": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/camelize/-/camelize-1.0.1.tgz", - "integrity": "sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ==", - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "engines": { + "node": ">=0.8.0" } }, - "node_modules/caniuse-lite": { - "version": "1.0.30001515", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001515.tgz", - "integrity": "sha512-eEFDwUOZbE24sb+Ecsx3+OvNETqjWIdabMy52oOkIgcUtAsQifjUG9q4U9dgTHJM2mfk4uEPxc0+xuFdJ629QA==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ] - }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "node_modules/eslint": { + "version": "8.44.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.44.0.tgz", + "integrity": "sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A==", + "dev": true, "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.4.0", + "@eslint/eslintrc": "^2.1.0", + "@eslint/js": "8.44.0", + "@humanwhocodes/config-array": "^0.11.10", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.0", + "eslint-visitor-keys": "^3.4.1", + "espree": "^9.6.0", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.0", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" }, "engines": { - "node": ">=4" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], - "optional": true, + "node_modules/eslint-plugin-react": { + "version": "7.32.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.32.2.tgz", + "integrity": "sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==", + "dev": true, "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" + "array-includes": "^3.1.6", + "array.prototype.flatmap": "^1.3.1", + "array.prototype.tosorted": "^1.1.1", + "doctrine": "^2.1.0", + "estraverse": "^5.3.0", + "jsx-ast-utils": "^2.4.1 || ^3.0.0", + "minimatch": "^3.1.2", + "object.entries": "^1.1.6", + "object.fromentries": "^2.0.6", + "object.hasown": "^1.1.2", + "object.values": "^1.1.6", + "prop-types": "^15.8.1", + "resolve": "^2.0.0-next.4", + "semver": "^6.3.0", + "string.prototype.matchall": "^4.0.8" }, "engines": { - "node": ">= 8.10.0" + "node": ">=4" }, - "optionalDependencies": { - "fsevents": "~2.3.2" + "peerDependencies": { + "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" } }, - "node_modules/chokidar/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "optional": true, - "dependencies": { - "is-glob": "^4.0.1" - }, + "node_modules/eslint-plugin-react-hooks": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", + "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", + "dev": true, "engines": { - "node": ">= 6" + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" } }, - "node_modules/clsx": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz", - "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==", - "engines": { - "node": ">=6" + "node_modules/eslint-plugin-react-refresh": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.3.tgz", + "integrity": "sha512-Hh0wv8bUNY877+sI0BlCUlsS0TYYQqvzEwJsJJPM2WF4RnTStSnSR3zdJYa2nPOJgg3UghXi54lVyMSmpCalzA==", + "dev": true, + "peerDependencies": { + "eslint": ">=7" } }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "node_modules/eslint-plugin-react/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, "dependencies": { - "color-name": "1.1.3" + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" } }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" - }, - "node_modules/commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "node_modules/eslint-scope": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", + "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, "engines": { - "node": ">= 6" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - }, - "node_modules/convert-source-map": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" - }, - "node_modules/core-js-compat": { - "version": "3.31.1", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.31.1.tgz", - "integrity": "sha512-wIDWd2s5/5aJSdpOJHfSibxNODxoGoWOBHt8JSPB41NOE94M7kuTPZCYLOlTtuoXTsBPKobpJ6T+y0SSy5L9SA==", - "dependencies": { - "browserslist": "^4.21.9" + "node_modules/eslint-visitor-keys": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", + "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" + "url": "https://opencollective.com/eslint" } }, - "node_modules/cosmiconfig": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", - "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", + "node_modules/eslint/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, "dependencies": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" + "color-convert": "^2.0.1" }, "engines": { - "node": ">=10" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/cross-fetch": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", - "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", + "node_modules/eslint/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, "dependencies": { - "node-fetch": "^2.6.12" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "node_modules/eslint/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" + "color-name": "~1.1.4" }, "engines": { - "node": ">= 8" + "node": ">=7.0.0" } }, - "node_modules/css-color-keywords": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/css-color-keywords/-/css-color-keywords-1.0.0.tgz", - "integrity": "sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg==", + "node_modules/eslint/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/eslint/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, "engines": { - "node": ">=4" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/css-to-react-native": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/css-to-react-native/-/css-to-react-native-3.2.0.tgz", - "integrity": "sha512-e8RKaLXMOFii+02mOlqwjbD00KSEKqblnpO9e++1aXS1fPQOpS1YoqdVHBqPjHNoxeF2mimzVqawm2KCbEdtHQ==", + "node_modules/eslint/node_modules/globals": { + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "dev": true, "dependencies": { - "camelize": "^1.0.0", - "css-color-keywords": "^1.0.0", - "postcss-value-parser": "^4.0.2" + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/csstype": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz", - "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==" + "node_modules/eslint/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } }, - "node_modules/d": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", - "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", + "node_modules/eslint/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, "dependencies": { - "es5-ext": "^0.10.50", - "type": "^1.0.1" + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "node_modules/espree": { + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.0.tgz", + "integrity": "sha512-1FH/IiruXZ84tpUlm0aCUEwMl2Ho5ilqVh0VvQXw+byAz/4SAciyHLlfmL5WYqsvD38oymdUwBss0LtK8m4s/A==", + "dev": true, "dependencies": { - "ms": "2.1.2" + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" }, "engines": { - "node": ">=6.0" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true - }, - "node_modules/define-properties": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", - "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "node_modules/esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", "dev": true, "dependencies": { - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" + "estraverse": "^5.1.0" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.10" } }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, "dependencies": { - "esutils": "^2.0.2" + "estraverse": "^5.2.0" }, "engines": { - "node": ">=6.0.0" + "node": ">=4.0" } }, - "node_modules/dom-helpers": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz", - "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==", + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ext": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz", + "integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==", "dependencies": { - "@babel/runtime": "^7.8.7", - "csstype": "^3.0.2" + "type": "^2.7.2" } }, - "node_modules/electron-to-chromium": { - "version": "1.4.457", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.457.tgz", - "integrity": "sha512-/g3UyNDmDd6ebeWapmAoiyy+Sy2HyJ+/X8KyvNeHfKRFfHaA2W8oF5fxD5F3tjBDcjpwo0iek6YNgxNXDBoEtA==" + "node_modules/ext/node_modules/type": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz", + "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "node_modules/fastq": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "dev": true, "dependencies": { - "is-arrayish": "^0.2.1" + "reusify": "^1.0.4" } }, - "node_modules/es-abstract": { - "version": "1.21.2", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz", - "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==", + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", "dev": true, "dependencies": { - "array-buffer-byte-length": "^1.0.0", - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "es-set-tostringtag": "^2.0.1", - "es-to-primitive": "^1.2.1", - "function.prototype.name": "^1.1.5", - "get-intrinsic": "^1.2.0", - "get-symbol-description": "^1.0.0", - "globalthis": "^1.0.3", - "gopd": "^1.0.1", - "has": "^1.0.3", - "has-property-descriptors": "^1.0.0", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.5", - "is-array-buffer": "^3.0.2", - "is-callable": "^1.2.7", - "is-negative-zero": "^2.0.2", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", - "is-string": "^1.0.7", - "is-typed-array": "^1.1.10", - "is-weakref": "^1.0.2", - "object-inspect": "^1.12.3", - "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.4.3", - "safe-regex-test": "^1.0.0", - "string.prototype.trim": "^1.2.7", - "string.prototype.trimend": "^1.0.6", - "string.prototype.trimstart": "^1.0.6", - "typed-array-length": "^1.0.4", - "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.9" + "flat-cache": "^3.0.4" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/es-set-tostringtag": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", - "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", - "dev": true, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "optional": true, "dependencies": { - "get-intrinsic": "^1.1.3", - "has": "^1.0.3", - "has-tostringtag": "^1.0.0" + "to-regex-range": "^5.0.1" }, "engines": { - "node": ">= 0.4" + "node": ">=8" } }, - "node_modules/es-shim-unscopables": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", - "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", - "dev": true, - "dependencies": { - "has": "^1.0.3" - } + "node_modules/find-root": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", + "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==" }, - "node_modules/es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" }, "engines": { - "node": ">= 0.4" + "node": ">=10" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/es5-ext": { - "version": "0.10.62", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz", - "integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==", - "hasInstallScript": true, + "node_modules/flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "dev": true, "dependencies": { - "es6-iterator": "^2.0.3", - "es6-symbol": "^3.1.3", - "next-tick": "^1.1.0" + "flatted": "^3.1.0", + "rimraf": "^3.0.2" }, "engines": { - "node": ">=0.10" + "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/es6-iterator": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", - "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==", + "node_modules/flatted": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", + "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "dev": true + }, + "node_modules/focus-lock": { + "version": "0.11.6", + "resolved": "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.6.tgz", + "integrity": "sha512-KSuV3ur4gf2KqMNoZx3nXNVhqCkn42GuTYCX4tXPEwf0MjpFQmNMiN6m7dXaUXgIoivL6/65agoUMg4RLS0Vbg==", "dependencies": { - "d": "1", - "es5-ext": "^0.10.35", - "es6-symbol": "^3.1.1" + "tslib": "^2.0.3" + }, + "engines": { + "node": ">=10" } }, - "node_modules/es6-symbol": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", - "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", + "node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, "dependencies": { - "d": "^1.0.1", - "ext": "^1.1.2" + "is-callable": "^1.1.3" } }, - "node_modules/esbuild": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.11.tgz", - "integrity": "sha512-i8u6mQF0JKJUlGR3OdFLKldJQMMs8OqM9Cc3UCi9XXziJ9WERM5bfkHaEAy0YAvPRMgqSW55W7xYn84XtEFTtA==", - "dev": true, - "hasInstallScript": true, - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=12" + "node_modules/framer-motion": { + "version": "10.12.21", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-10.12.21.tgz", + "integrity": "sha512-EmnP73O5+1OGm2jtQNoBPPuAJvhySl+p4/9PL7PPJHt58nkPWeFaxhCJaUDXDf6N3jSLluefxopc0FrMCQ+/tQ==", + "dependencies": { + "tslib": "^2.4.0" }, "optionalDependencies": { - "@esbuild/android-arm": "0.18.11", - "@esbuild/android-arm64": "0.18.11", - "@esbuild/android-x64": "0.18.11", - "@esbuild/darwin-arm64": "0.18.11", - "@esbuild/darwin-x64": "0.18.11", - "@esbuild/freebsd-arm64": "0.18.11", - "@esbuild/freebsd-x64": "0.18.11", - "@esbuild/linux-arm": "0.18.11", - "@esbuild/linux-arm64": "0.18.11", - "@esbuild/linux-ia32": "0.18.11", - "@esbuild/linux-loong64": "0.18.11", - "@esbuild/linux-mips64el": "0.18.11", - "@esbuild/linux-ppc64": "0.18.11", - "@esbuild/linux-riscv64": "0.18.11", - "@esbuild/linux-s390x": "0.18.11", - "@esbuild/linux-x64": "0.18.11", - "@esbuild/netbsd-x64": "0.18.11", - "@esbuild/openbsd-x64": "0.18.11", - "@esbuild/sunos-x64": "0.18.11", - "@esbuild/win32-arm64": "0.18.11", - "@esbuild/win32-ia32": "0.18.11", - "@esbuild/win32-x64": "0.18.11" - } - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "engines": { - "node": ">=6" + "@emotion/is-prop-valid": "^0.8.2" + }, + "peerDependencies": { + "react": "^18.0.0", + "react-dom": "^18.0.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } } }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "engines": { - "node": ">=0.8.0" + "node_modules/framer-motion/node_modules/@emotion/is-prop-valid": { + "version": "0.8.8", + "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz", + "integrity": "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==", + "optional": true, + "dependencies": { + "@emotion/memoize": "0.7.4" } }, - "node_modules/eslint": { - "version": "8.44.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.44.0.tgz", - "integrity": "sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A==", - "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.1.0", - "@eslint/js": "8.44.0", - "@humanwhocodes/config-array": "^0.11.10", - "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.10.0", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.3.2", - "doctrine": "^3.0.0", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.0", - "eslint-visitor-keys": "^3.4.1", - "espree": "^9.6.0", - "esquery": "^1.4.2", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "find-up": "^5.0.0", - "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", - "ignore": "^5.2.0", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", - "natural-compare": "^1.4.0", - "optionator": "^0.9.3", - "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", - "text-table": "^0.2.0" - }, - "bin": { - "eslint": "bin/eslint.js" - }, + "node_modules/framer-motion/node_modules/@emotion/memoize": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz", + "integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==", + "optional": true + }, + "node_modules/framesync": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz", + "integrity": "sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g==", + "dependencies": { + "tslib": "2.4.0" + } + }, + "node_modules/framesync/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + }, + "node_modules/fs-readdir-recursive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", + "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==" + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "node_modules/eslint-plugin-react": { - "version": "7.32.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.32.2.tgz", - "integrity": "sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==", + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "node_modules/function.prototype.name": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", + "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", "dev": true, "dependencies": { - "array-includes": "^3.1.6", - "array.prototype.flatmap": "^1.3.1", - "array.prototype.tosorted": "^1.1.1", - "doctrine": "^2.1.0", - "estraverse": "^5.3.0", - "jsx-ast-utils": "^2.4.1 || ^3.0.0", - "minimatch": "^3.1.2", - "object.entries": "^1.1.6", - "object.fromentries": "^2.0.6", - "object.hasown": "^1.1.2", - "object.values": "^1.1.6", - "prop-types": "^15.8.1", - "resolve": "^2.0.0-next.4", - "semver": "^6.3.0", - "string.prototype.matchall": "^4.0.8" + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.0", + "functions-have-names": "^1.2.2" }, "engines": { - "node": ">=4" + "node": ">= 0.4" }, - "peerDependencies": { - "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint-plugin-react-hooks": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", - "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", "dev": true, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint-plugin-react-refresh": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.3.tgz", - "integrity": "sha512-Hh0wv8bUNY877+sI0BlCUlsS0TYYQqvzEwJsJJPM2WF4RnTStSnSR3zdJYa2nPOJgg3UghXi54lVyMSmpCalzA==", - "dev": true, - "peerDependencies": { - "eslint": ">=7" + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "engines": { + "node": ">=6.9.0" } }, - "node_modules/eslint-plugin-react/node_modules/doctrine": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "node_modules/get-intrinsic": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", + "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", "dev": true, "dependencies": { - "esutils": "^2.0.2" + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3" }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-nonce": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz", + "integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==", "engines": { - "node": ">=0.10.0" + "node": ">=6" } }, - "node_modules/eslint-scope": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", - "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", + "node_modules/get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", "dev": true, "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">= 0.4" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint-visitor-keys": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", - "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", - "dev": true, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "*" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/eslint/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, "dependencies": { - "color-convert": "^2.0.1" + "is-glob": "^4.0.3" }, "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "node": ">=10.13.0" } }, - "node_modules/eslint/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "engines": { + "node": ">=4" + } + }, + "node_modules/globalthis": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", + "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", "dev": true, "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" + "define-properties": "^1.1.3" }, "engines": { - "node": ">=10" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", "dev": true, "dependencies": { - "color-name": "~1.1.4" + "get-intrinsic": "^1.1.3" }, - "engines": { - "node": ">=7.0.0" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", "dev": true }, - "node_modules/eslint/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, - "engines": { - "node": ">=10" + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dependencies": { + "function-bind": "^1.1.1" }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint/node_modules/globals": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "engines": { + "node": ">=4" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", "dev": true, "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" + "get-intrinsic": "^1.1.1" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "node_modules/has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", "dev": true, "engines": { - "node": ">=8" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, "engines": { - "node": ">=8" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/espree": { - "version": "9.6.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.0.tgz", - "integrity": "sha512-1FH/IiruXZ84tpUlm0aCUEwMl2Ho5ilqVh0VvQXw+byAz/4SAciyHLlfmL5WYqsvD38oymdUwBss0LtK8m4s/A==", + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", "dev": true, "dependencies": { - "acorn": "^8.9.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" + "has-symbols": "^1.0.2" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">= 0.4" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/esquery": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", - "dev": true, + "node_modules/hoist-non-react-statics": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", + "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", "dependencies": { - "estraverse": "^5.1.0" - }, - "engines": { - "node": ">=0.10" + "react-is": "^16.7.0" } }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "node_modules/ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", "dev": true, - "dependencies": { - "estraverse": "^5.2.0" - }, "engines": { - "node": ">=4.0" + "node": ">= 4" } }, - "node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, "engines": { - "node": ">=4.0" + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=0.8.19" } }, - "node_modules/ext": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz", - "integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==", + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "dependencies": { - "type": "^2.7.2" + "once": "^1.3.0", + "wrappy": "1" } }, - "node_modules/ext/node_modules/type": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz", - "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true - }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true - }, - "node_modules/fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", - "dev": true, - "dependencies": { - "reusify": "^1.0.4" - } + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, - "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "node_modules/internal-slot": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", + "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", "dev": true, "dependencies": { - "flat-cache": "^3.0.4" + "get-intrinsic": "^1.2.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">= 0.4" } }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "optional": true, + "node_modules/invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" + "loose-envify": "^1.0.0" } }, - "node_modules/find-root": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==" - }, - "node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "node_modules/is-array-buffer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", + "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", "dev": true, "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=10" + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "is-typed-array": "^1.1.10" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", - "dev": true, - "dependencies": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", - "dev": true + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" }, - "node_modules/for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", "dev": true, "dependencies": { - "is-callable": "^1.1.3" + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/fs-readdir-recursive": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", - "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==" - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" - }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "hasInstallScript": true, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", "optional": true, - "os": [ - "darwin" - ], + "dependencies": { + "binary-extensions": "^2.0.0" + }, "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + "node": ">=8" } }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "node_modules/function.prototype.name": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", - "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", "dev": true, "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.0", - "functions-have-names": "^1.2.2" + "has-tostringtag": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -4252,46 +6168,36 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/functions-have-names": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", "dev": true, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-intrinsic": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", - "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", - "dev": true, + "node_modules/is-core-module": { + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", + "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3" + "has": "^1.0.3" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" + "has-tostringtag": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -4300,52 +6206,80 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "devOptional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "devOptional": true, "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "is-extglob": "^2.1.1" }, "engines": { - "node": "*" + "node": ">=0.10.0" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true, + "engines": { + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "optional": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", "dev": true, "dependencies": { - "is-glob": "^4.0.3" + "has-tostringtag": "^1.0.0" }, "engines": { - "node": ">=10.13.0" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/globalthis": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", "dev": true, "dependencies": { - "define-properties": "^1.1.3" + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -4354,343 +6288,380 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "node_modules/is-shared-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", + "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", "dev": true, "dependencies": { - "get-intrinsic": "^1.1.3" + "call-bind": "^1.0.2" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/graphemer": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, "dependencies": { - "function-bind": "^1.1.1" + "has-tostringtag": "^1.0.0" }, "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-bigints": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", - "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", - "dev": true, + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, "engines": { - "node": ">=4" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/has-property-descriptors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "node_modules/is-typed-array": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", + "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", "dev": true, "dependencies": { - "get-intrinsic": "^1.1.1" + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==" + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", "dev": true, - "engines": { - "node": ">= 0.4" + "dependencies": { + "call-bind": "^1.0.2" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, - "engines": { - "node": ">= 0.4" + "dependencies": { + "argparse": "^2.0.1" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "node_modules/has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", - "dev": true, - "dependencies": { - "has-symbols": "^1.0.2" + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "bin": { + "jsesc": "bin/jsesc" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=4" } }, - "node_modules/hoist-non-react-statics": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", - "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", - "dependencies": { - "react-is": "^16.7.0" - } + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" }, - "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", - "dev": true, - "engines": { - "node": ">= 4" - } + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, + "node_modules/json2mq": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/json2mq/-/json2mq-0.2.0.tgz", + "integrity": "sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA==", "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" + "string-convert": "^0.2.0" + } + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "bin": { + "json5": "lib/cli.js" }, "engines": { "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "node_modules/jsx-ast-utils": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.4.tgz", + "integrity": "sha512-fX2TVdCViod6HwKEtSWGHs57oFhVfCMwieb9PuRDgjDPh5XeqJiHFFFJCHxU5cnTc3Bu/GRL+kPiFmw8XWOfKw==", "dev": true, - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "dependencies": { - "once": "^1.3.0", - "wrappy": "1" + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "object.assign": "^4.1.4", + "object.values": "^1.1.6" + }, + "engines": { + "node": ">=4.0" } }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/internal-slot": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", - "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, "dependencies": { - "get-intrinsic": "^1.2.0", - "has": "^1.0.3", - "side-channel": "^1.0.4" + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" }, "engines": { - "node": ">= 0.4" + "node": ">= 0.8.0" } }, - "node_modules/is-array-buffer": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", - "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.0", - "is-typed-array": "^1.1.10" + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==" }, - "node_modules/is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "dev": true, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/lodash.mergewith": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz", + "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==" + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "dependencies": { - "has-bigints": "^1.0.1" + "js-tokens": "^3.0.0 || ^4.0.0" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "bin": { + "loose-envify": "cli.js" } }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "optional": true, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" + "yallist": "^3.0.2" } }, - "node_modules/is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "dev": true, + "node_modules/make-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", + "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" + "pify": "^4.0.1", + "semver": "^5.6.0" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=6" } }, - "node_modules/is-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node_modules/make-dir/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "bin": { + "semver": "bin/semver" } }, - "node_modules/is-core-module": { - "version": "2.12.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", - "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dependencies": { - "has": "^1.0.3" + "brace-expansion": "^1.1.7" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": "*" } }, - "node_modules/is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/nanoid": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", + "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" } }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "devOptional": true, - "engines": { - "node": ">=0.10.0" - } + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "devOptional": true, + "node_modules/next-tick": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz", + "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" + }, + "node_modules/node-fetch": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz", + "integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==", "dependencies": { - "is-extglob": "^2.1.1" + "whatwg-url": "^5.0.0" }, "engines": { - "node": ">=0.10.0" + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } } }, - "node_modules/is-negative-zero": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node_modules/node-gyp-build": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", + "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" } }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "node_modules/node-releases": { + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", + "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==" + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "optional": true, "engines": { - "node": ">=0.12.0" + "node": ">=0.10.0" } }, - "node_modules/is-number-object": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", - "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", "engines": { - "node": ">= 0.4" - }, + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", + "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true, "engines": { - "node": ">=8" + "node": ">= 0.4" } }, - "node_modules/is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "node_modules/object.assign": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", + "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", "dev": true, "dependencies": { "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" + "define-properties": "^1.1.4", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" }, "engines": { "node": ">= 0.4" @@ -4699,25 +6670,29 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-shared-array-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", - "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "node_modules/object.entries": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz", + "integrity": "sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==", "dev": true, "dependencies": { - "call-bind": "^1.0.2" + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">= 0.4" } }, - "node_modules/is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "node_modules/object.fromentries": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.6.tgz", + "integrity": "sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==", "dev": true, "dependencies": { - "has-tostringtag": "^1.0.0" + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" }, "engines": { "node": ">= 0.4" @@ -4726,32 +6701,28 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "node_modules/object.hasown": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.2.tgz", + "integrity": "sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==", "dev": true, "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-typed-array": { - "version": "1.1.10", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", - "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "node_modules/object.values": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", + "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", "dev": true, "dependencies": { - "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" }, "engines": { "node": ">= 0.4" @@ -4760,601 +6731,825 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==" - }, - "node_modules/is-weakref": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" - }, - "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=4" + "wrappy": "1" } }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", - "dev": true - }, - "node_modules/json5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "bin": { - "json5": "lib/cli.js" + "node_modules/optionator": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "dev": true, + "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0" }, "engines": { - "node": ">=6" + "node": ">= 0.8.0" } }, - "node_modules/jsx-ast-utils": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.4.tgz", - "integrity": "sha512-fX2TVdCViod6HwKEtSWGHs57oFhVfCMwieb9PuRDgjDPh5XeqJiHFFFJCHxU5cnTc3Bu/GRL+kPiFmw8XWOfKw==", + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, "dependencies": { - "array-includes": "^3.1.6", - "array.prototype.flat": "^1.3.1", - "object.assign": "^4.1.4", - "object.values": "^1.1.6" + "yocto-queue": "^0.1.0" }, "engines": { - "node": ">=4.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" + "p-limit": "^3.0.2" }, "engines": { - "node": ">= 0.8.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } }, - "node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dev": true, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", "dependencies": { - "p-locate": "^5.0.0" + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" }, "engines": { - "node": ">=10" + "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==" + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "engines": { + "node": ">=0.10.0" + } }, - "node_modules/loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "optional": true, + "engines": { + "node": ">=8.6" }, - "bin": { - "loose-envify": "cli.js" + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "dependencies": { - "yallist": "^3.0.2" + "node_modules/pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "engines": { + "node": ">=6" } }, - "node_modules/make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "node_modules/postcss": { + "version": "8.4.25", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.25.tgz", + "integrity": "sha512-7taJ/8t2av0Z+sQEvNzCkpDynl0tX3uJMCODi6nT3PfASC7dYCWV9aQ+uiCf+KBD4SEFcu+GvJdGdwzQ6OSjCw==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" + "nanoid": "^3.3.6", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" }, "engines": { - "node": ">=6" + "node": "^10 || ^12 || >=14" } }, - "node_modules/make-dir/node_modules/semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "bin": { - "semver": "bin/semver" + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" } }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", "dependencies": { - "brace-expansion": "^1.1.7" - }, + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/punycode": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "dev": true, "engines": { - "node": "*" + "node": ">=6" } }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "node_modules/qrcode.react": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz", + "integrity": "sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q==", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } }, - "node_modules/nanoid": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", - "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, "funding": [ { "type": "github", - "url": "https://github.com/sponsors/ai" + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" } - ], - "bin": { - "nanoid": "bin/nanoid.cjs" + ] + }, + "node_modules/rc-align": { + "version": "4.0.15", + "resolved": "https://registry.npmjs.org/rc-align/-/rc-align-4.0.15.tgz", + "integrity": "sha512-wqJtVH60pka/nOX7/IspElA8gjPNQKIx/ZqJ6heATCkXpe1Zg4cPVrMD2vC96wjsFFL8WsmhPbx9tdMo1qqlIA==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "2.x", + "dom-align": "^1.7.0", + "rc-util": "^5.26.0", + "resize-observer-polyfill": "^1.5.1" }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true - }, - "node_modules/next-tick": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz", - "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" - }, - "node_modules/node-fetch": { - "version": "2.6.12", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz", - "integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==", + "node_modules/rc-cascader": { + "version": "3.12.1", + "resolved": "https://registry.npmjs.org/rc-cascader/-/rc-cascader-3.12.1.tgz", + "integrity": "sha512-g6In2y6eudHXS/Fs9dKFhp9acvHRUPqem/7xReR9ng8M1pNAE137uGBOt9WNpgsKT/cDGudXZQVehaBwAKg6hQ==", "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" + "@babel/runtime": "^7.12.5", + "array-tree-filter": "^2.1.0", + "classnames": "^2.3.1", + "rc-select": "~14.5.0", + "rc-tree": "~5.7.0", + "rc-util": "^5.6.1" }, "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/node-gyp-build": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", - "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==", - "bin": { - "node-gyp-build": "bin.js", - "node-gyp-build-optional": "optional.js", - "node-gyp-build-test": "build-test.js" + "node_modules/rc-checkbox": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/rc-checkbox/-/rc-checkbox-3.1.0.tgz", + "integrity": "sha512-PAwpJFnBa3Ei+5pyqMMXdcKYKNBMS+TvSDiLdDnARnMJHC8ESxwPfm4Ao1gJiKtWLdmGfigascnCpwrHFgoOBQ==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.3.2", + "rc-util": "^5.25.2" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/node-releases": { - "version": "2.0.13", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", - "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==" - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "optional": true, - "engines": { - "node": ">=0.10.0" + "node_modules/rc-collapse": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/rc-collapse/-/rc-collapse-3.7.0.tgz", + "integrity": "sha512-Cir1c89cENiK5wryd9ut+XltrIfx/+KH1/63uJIVjuXkgfrIvIy6W1fYGgEYtttbHW2fEfxg1s31W+Vm98fSRw==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "2.x", + "rc-motion": "^2.3.4", + "rc-util": "^5.27.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", - "engines": { - "node": ">=0.10.0" + "node_modules/rc-dialog": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/rc-dialog/-/rc-dialog-9.1.0.tgz", + "integrity": "sha512-5ry+JABAWEbaKyYsmITtrJbZbJys8CtMyzV8Xn4LYuXMeUx5XVHNyJRoqLFE4AzBuXXzOWeaC49cg+XkxK6kHA==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/portal": "^1.0.0-8", + "classnames": "^2.2.6", + "rc-motion": "^2.3.0", + "rc-util": "^5.21.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node_modules/rc-drawer": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/rc-drawer/-/rc-drawer-6.2.0.tgz", + "integrity": "sha512-spPkZ3WvP0U0vy5dyzSwlUJ/+vLFtjP/cTwSwejhQRoDBaexSZHsBhELoCZcEggI7LQ7typmtG30lAue2HEhvA==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/portal": "^1.1.1", + "classnames": "^2.2.6", + "rc-motion": "^2.6.1", + "rc-util": "^5.21.2" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true, - "engines": { - "node": ">= 0.4" + "node_modules/rc-dropdown": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/rc-dropdown/-/rc-dropdown-4.1.0.tgz", + "integrity": "sha512-VZjMunpBdlVzYpEdJSaV7WM7O0jf8uyDjirxXLZRNZ+tAC+NzD3PXPEtliFwGzVwBBdCmGuSqiS9DWcOLxQ9tw==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@rc-component/trigger": "^1.7.0", + "classnames": "^2.2.6", + "rc-util": "^5.17.0" + }, + "peerDependencies": { + "react": ">=16.11.0", + "react-dom": ">=16.11.0" } }, - "node_modules/object.assign": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", - "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", - "dev": true, + "node_modules/rc-field-form": { + "version": "1.34.2", + "resolved": "https://registry.npmjs.org/rc-field-form/-/rc-field-form-1.34.2.tgz", + "integrity": "sha512-BdciU5C7dBO51/9ZKcMvK2f8zaaO12Lt1eBhlAo8nNv+6htlNcgY9DAkUlZ7gfyWjnCc1Oo4hHIXau1m6tLw1A==", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "has-symbols": "^1.0.3", - "object-keys": "^1.1.1" + "@babel/runtime": "^7.18.0", + "async-validator": "^4.1.0", + "rc-util": "^5.32.2" }, "engines": { - "node": ">= 0.4" + "node": ">=8.x" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/object.entries": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz", - "integrity": "sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==", - "dev": true, + "node_modules/rc-image": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/rc-image/-/rc-image-7.0.0.tgz", + "integrity": "sha512-pOr/LYthg5a+R2LDlFPv8u2ndX4aJQNghWCiWxflmLglC3p0uts/NIWLAituQOKvV1wO1aFI1CZtLMT7jrU3vA==", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "@babel/runtime": "^7.11.2", + "@rc-component/portal": "^1.0.2", + "classnames": "^2.2.6", + "rc-dialog": "~9.1.0", + "rc-motion": "^2.6.2", + "rc-util": "^5.34.1" }, - "engines": { - "node": ">= 0.4" + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/object.fromentries": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.6.tgz", - "integrity": "sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==", - "dev": true, + "node_modules/rc-input": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/rc-input/-/rc-input-1.1.0.tgz", + "integrity": "sha512-izuNXPABQPh4KD7ANFcTrIGp9EZU0FkjTw6AvwCQ/rGPrdDsUTHLsp/Wju/kzGMLJFJWKNF3smbmXRNO23DtXA==", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, - "engines": { - "node": ">= 0.4" + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-util": "^5.18.1" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "peerDependencies": { + "react": ">=16.0.0", + "react-dom": ">=16.0.0" } }, - "node_modules/object.hasown": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.2.tgz", - "integrity": "sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==", - "dev": true, + "node_modules/rc-input-number": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/rc-input-number/-/rc-input-number-8.0.1.tgz", + "integrity": "sha512-b5LIQ9hmqPI/5NwoRQsQXftrrmuXxcaO9pftFnq4AkjPVtfCG+sqcGEIBmXC/YkS4p6R6dwqclpQLFJyMYx7DA==", "dependencies": { - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "@babel/runtime": "^7.10.1", + "@rc-component/mini-decimal": "^1.0.1", + "classnames": "^2.2.5", + "rc-input": "~1.1.0", + "rc-util": "^5.28.0" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/object.values": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", - "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", - "dev": true, + "node_modules/rc-mentions": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/rc-mentions/-/rc-mentions-2.5.0.tgz", + "integrity": "sha512-rERXsbUTNVrb5T/iDC0ki/SRGWJnOVraDy6O25Us3FSpuUZ3uq2TPZB4fRk0Hss5kyiEPzz2sprhkI4b+F4jUw==", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "@babel/runtime": "^7.22.5", + "@rc-component/trigger": "^1.5.0", + "classnames": "^2.2.6", + "rc-input": "~1.1.0", + "rc-menu": "~9.10.0", + "rc-textarea": "~1.3.0", + "rc-util": "^5.22.5" }, - "engines": { - "node": ">= 0.4" + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-menu": { + "version": "9.10.0", + "resolved": "https://registry.npmjs.org/rc-menu/-/rc-menu-9.10.0.tgz", + "integrity": "sha512-g27kpXaAoJh/fkPZF65/d4V+w4DhDeqomBdPcGnkFAcJnEM4o21TnVccrBUoDedLKzC7wJRw1Q7VTqEsfEufmw==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/trigger": "^1.6.2", + "classnames": "2.x", + "rc-motion": "^2.4.3", + "rc-overflow": "^1.3.1", + "rc-util": "^5.27.0" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "node_modules/rc-motion": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/rc-motion/-/rc-motion-2.7.3.tgz", + "integrity": "sha512-2xUvo8yGHdOHeQbdI8BtBsCIrWKchEmFEIskf0nmHtJsou+meLd/JE+vnvSX2JxcBrJtXY2LuBpxAOxrbY/wMQ==", "dependencies": { - "wrappy": "1" + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-util": "^5.21.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/optionator": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", - "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", - "dev": true, + "node_modules/rc-notification": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/rc-notification/-/rc-notification-5.0.4.tgz", + "integrity": "sha512-3535oellIRlt1LspERfK8yvCqb8Gio3R02rULciaSc1xe3H7ArTU/khlUTv1ddGzua4HhmF4D4Rwz/+mBxETvg==", "dependencies": { - "@aashutoshrathi/word-wrap": "^1.2.3", - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0" + "@babel/runtime": "^7.10.1", + "classnames": "2.x", + "rc-motion": "^2.6.0", + "rc-util": "^5.20.1" }, "engines": { - "node": ">= 0.8.0" + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, + "node_modules/rc-overflow": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/rc-overflow/-/rc-overflow-1.3.1.tgz", + "integrity": "sha512-RY0nVBlfP9CkxrpgaLlGzkSoh9JhjJLu6Icqs9E7CW6Ewh9s0peF9OHIex4OhfoPsR92LR0fN6BlCY9Z4VoUtA==", "dependencies": { - "yocto-queue": "^0.1.0" + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.19.2" }, - "engines": { - "node": ">=10" + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-pagination": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/rc-pagination/-/rc-pagination-3.5.0.tgz", + "integrity": "sha512-lUBVtVVUn7gGsq4mTyVpcZQr+AMcljbMiL/HcCmSdFrcsK0iZVKwwbXDxhz2IV0JXUs9Hzepr5sQFaF+9ad/pQ==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.1", + "rc-util": "^5.32.2" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "dev": true, + "node_modules/rc-picker": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/rc-picker/-/rc-picker-3.10.0.tgz", + "integrity": "sha512-Euki50qtEct6ByOeYlnA4TLs/LcXz7BAYS4cmCTKJ3dWg2sNTVtredLdbS9aJ/9fhMacxGAYAlcQJpQx+av43A==", "dependencies": { - "p-limit": "^3.0.2" + "@babel/runtime": "^7.10.1", + "@rc-component/trigger": "^1.5.0", + "classnames": "^2.2.1", + "rc-util": "^5.30.0" }, "engines": { - "node": ">=10" + "node": ">=8.x" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "date-fns": ">= 2.x", + "dayjs": ">= 1.x", + "luxon": ">= 3.x", + "moment": ">= 2.x", + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + }, + "peerDependenciesMeta": { + "date-fns": { + "optional": true + }, + "dayjs": { + "optional": true + }, + "luxon": { + "optional": true + }, + "moment": { + "optional": true + } } }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "node_modules/rc-progress": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/rc-progress/-/rc-progress-3.4.2.tgz", + "integrity": "sha512-iAGhwWU+tsayP+Jkl9T4+6rHeQTG9kDz8JAHZk4XtQOcYN5fj9H34NXNEdRdZx94VUDHMqCb1yOIvi8eJRh67w==", "dependencies": { - "callsites": "^3.0.0" + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.6", + "rc-util": "^5.16.1" }, - "engines": { - "node": ">=6" + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "node_modules/rc-rate": { + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/rc-rate/-/rc-rate-2.12.0.tgz", + "integrity": "sha512-g092v5iZCdVzbjdn28FzvWebK2IutoVoiTeqoLTj9WM7SjA/gOJIw5/JFZMRyJYYVe1jLAU2UhAfstIpCNRozg==", "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.5", + "rc-util": "^5.0.1" }, "engines": { - "node": ">=8" + "node": ">=8.x" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "engines": { - "node": ">=8" + "node_modules/rc-resize-observer": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/rc-resize-observer/-/rc-resize-observer-1.3.1.tgz", + "integrity": "sha512-iFUdt3NNhflbY3mwySv5CA1TC06zdJ+pfo0oc27xpf4PIOvfZwZGtD9Kz41wGYqC4SLio93RVAirSSpYlV/uYg==", + "dependencies": { + "@babel/runtime": "^7.20.7", + "classnames": "^2.2.1", + "rc-util": "^5.27.0", + "resize-observer-polyfill": "^1.5.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "node_modules/rc-segmented": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/rc-segmented/-/rc-segmented-2.2.2.tgz", + "integrity": "sha512-Mq52M96QdHMsNdE/042ibT5vkcGcD5jxKp7HgPC2SRofpia99P5fkfHy1pEaajLMF/kj0+2Lkq1UZRvqzo9mSA==", + "dependencies": { + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-motion": "^2.4.4", + "rc-util": "^5.17.0" + }, + "peerDependencies": { + "react": ">=16.0.0", + "react-dom": ">=16.0.0" + } + }, + "node_modules/rc-select": { + "version": "14.5.2", + "resolved": "https://registry.npmjs.org/rc-select/-/rc-select-14.5.2.tgz", + "integrity": "sha512-Np/lDHvxCnVhVsheQjSV1I/OMJTWJf1n10wq8q1AGy3ytyYLfjNpi6uaz/pmjsbbiSddSWzJnNZCli9LmgBZsA==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/trigger": "^1.5.0", + "classnames": "2.x", + "rc-motion": "^2.0.1", + "rc-overflow": "^1.0.0", + "rc-util": "^5.16.1", + "rc-virtual-list": "^3.5.2" + }, "engines": { - "node": ">=0.10.0" + "node": ">=8.x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*" } }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, + "node_modules/rc-slider": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/rc-slider/-/rc-slider-10.1.1.tgz", + "integrity": "sha512-gn8oXazZISEhnmRinI89Z/JD/joAaM35jp+gDtIVSTD/JJMCCBqThqLk1SVJmvtfeiEF/kKaFY0+qt4SDHFUDw==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.5", + "rc-util": "^5.27.0" + }, "engines": { - "node": ">=8" + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "node_modules/rc-steps": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/rc-steps/-/rc-steps-6.0.0.tgz", + "integrity": "sha512-+KfMZIty40mYCQSDvYbZ1jwnuObLauTiIskT1hL4FFOBHP6ZOr8LK0m143yD3kEN5XKHSEX1DIwCj3AYZpoeNQ==", + "dependencies": { + "@babel/runtime": "^7.16.7", + "classnames": "^2.2.3", + "rc-util": "^5.16.1" + }, "engines": { - "node": ">=8" + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + "node_modules/rc-switch": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/rc-switch/-/rc-switch-4.1.0.tgz", + "integrity": "sha512-TI8ufP2Az9oEbvyCeVE4+90PDSljGyuwix3fV58p7HV2o4wBnVToEyomJRVyTaZeqNPAp+vqeo4Wnj5u0ZZQBg==", + "dependencies": { + "@babel/runtime": "^7.21.0", + "classnames": "^2.2.1", + "rc-util": "^5.30.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "optional": true, + "node_modules/rc-table": { + "version": "7.32.1", + "resolved": "https://registry.npmjs.org/rc-table/-/rc-table-7.32.1.tgz", + "integrity": "sha512-fHMQteKMocUC9I9Vex3eBLH7QsiaMR/qtzh3B1Ty2PoNGwVTwVdDFyRL05zch+JU3KnNNczgQeVvtf/p//gdrQ==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/context": "^1.3.0", + "classnames": "^2.2.5", + "rc-resize-observer": "^1.1.0", + "rc-util": "^5.27.1" + }, "engines": { - "node": ">=8.6" + "node": ">=8.x" }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "node_modules/rc-tabs": { + "version": "12.9.0", + "resolved": "https://registry.npmjs.org/rc-tabs/-/rc-tabs-12.9.0.tgz", + "integrity": "sha512-2HnVowgMVrq0DfQtyu4mCd9E6pXlWNdM6VaDvOOHMsLYqPmpY+7zBqUC6YrrQ9xYXHciTS0e7TtjOHIvpVCHLQ==", + "dependencies": { + "@babel/runtime": "^7.11.2", + "classnames": "2.x", + "rc-dropdown": "~4.1.0", + "rc-menu": "~9.10.0", + "rc-motion": "^2.6.2", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.16.0" + }, "engines": { - "node": ">=6" + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/postcss": { - "version": "8.4.25", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.25.tgz", - "integrity": "sha512-7taJ/8t2av0Z+sQEvNzCkpDynl0tX3uJMCODi6nT3PfASC7dYCWV9aQ+uiCf+KBD4SEFcu+GvJdGdwzQ6OSjCw==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], + "node_modules/rc-textarea": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/rc-textarea/-/rc-textarea-1.3.2.tgz", + "integrity": "sha512-6+lq161wBLEr3ZM9IGxIWmuc7odKVobjtwQeEGHi1jiqqL9bFEipFedi4kA5RuVUgyVklDqYkK0MHdhtBb46yg==", "dependencies": { - "nanoid": "^3.3.6", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.1", + "rc-input": "~1.1.0", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.27.0" }, - "engines": { - "node": "^10 || ^12 || >=14" + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/postcss-value-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + "node_modules/rc-tooltip": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/rc-tooltip/-/rc-tooltip-6.0.1.tgz", + "integrity": "sha512-MdvPlsD1fDSxKp9+HjXrc/CxLmA/s11QYIh1R7aExxfodKP7CZA++DG1AjrW80F8IUdHYcR43HAm0Y2BYPelHA==", + "dependencies": { + "@babel/runtime": "^7.11.2", + "@rc-component/trigger": "^1.0.4", + "classnames": "^2.3.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "dev": true, + "node_modules/rc-tree": { + "version": "5.7.9", + "resolved": "https://registry.npmjs.org/rc-tree/-/rc-tree-5.7.9.tgz", + "integrity": "sha512-1hKkToz/EVjJlMVwmZnpXeLXt/1iQMsaAq9m+GNkUbK746gkc7QpJXSN/TzjhTI5Hi+LOSlrMaXLMT0bHPqILQ==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "2.x", + "rc-motion": "^2.0.1", + "rc-util": "^5.16.1", + "rc-virtual-list": "^3.5.1" + }, "engines": { - "node": ">= 0.8.0" + "node": ">=10.x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*" } }, - "node_modules/prop-types": { - "version": "15.8.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", - "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "node_modules/rc-tree-select": { + "version": "5.9.0", + "resolved": "https://registry.npmjs.org/rc-tree-select/-/rc-tree-select-5.9.0.tgz", + "integrity": "sha512-oh3blESzLfLCBPSiVDtZ2irzrWWZUMeHvnSwRvFo79br8Z+K/1OhXhXBZmROvfKwaH8YUugAQy8B2j5EGQbdyA==", "dependencies": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.13.1" + "@babel/runtime": "^7.10.1", + "classnames": "2.x", + "rc-select": "~14.5.0", + "rc-tree": "~5.7.0", + "rc-util": "^5.16.1" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*" } }, - "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", - "dev": true, - "engines": { - "node": ">=6" + "node_modules/rc-upload": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/rc-upload/-/rc-upload-4.3.4.tgz", + "integrity": "sha512-uVbtHFGNjHG/RyAfm9fluXB6pvArAGyAx8z7XzXXyorEgVIWj6mOlriuDm0XowDHYz4ycNK0nE0oP3cbFnzxiQ==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "classnames": "^2.2.5", + "rc-util": "^5.2.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] + "node_modules/rc-util": { + "version": "5.34.1", + "resolved": "https://registry.npmjs.org/rc-util/-/rc-util-5.34.1.tgz", + "integrity": "sha512-SqiUT8Ssgh5C+hu4y887xwCrMNcxLm6ScOo8AFlWYYF3z9uNNiPpwwSjvicqOlWd79rNw1g44rnP7tz9MrO1ZQ==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "react-is": "^16.12.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-virtual-list": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/rc-virtual-list/-/rc-virtual-list-3.5.3.tgz", + "integrity": "sha512-rG6IuD4EYM8K6oZ8Shu2BC/CmcTdqng4yBWkc/5fjWhB20bl6QwR2Upyt7+MxvfscoVm8zOQY+tcpEO5cu4GaQ==", + "dependencies": { + "@babel/runtime": "^7.20.0", + "classnames": "^2.2.6", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.15.0" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*" + } }, "node_modules/react": { "version": "18.2.0", @@ -5367,19 +7562,17 @@ "node": ">=0.10.0" } }, - "node_modules/react-chatbot-kit": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/react-chatbot-kit/-/react-chatbot-kit-2.1.2.tgz", - "integrity": "sha512-N9bhg7/YnVz3TcNaV19szfBqCLHfVevisdqg38QowOI1hxgebwejrkggGz+T04yJK2j7dhwNqHpx5nWMfugzZw==", + "node_modules/react-clientside-effect": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz", + "integrity": "sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg==", "dependencies": { - "react-conditionally-render": "^1.0.2" + "@babel/runtime": "^7.12.13" + }, + "peerDependencies": { + "react": "^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" } }, - "node_modules/react-conditionally-render": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/react-conditionally-render/-/react-conditionally-render-1.0.2.tgz", - "integrity": "sha512-CtjIgaLHVDSgHis3gv/PT/8EnD6GPUL8PrhUjh7DP6S5Y3p56dGu7y2nVg6pYv1kv+fGznRhRmX3assr/vRw3A==" - }, "node_modules/react-dom": { "version": "18.2.0", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", @@ -5392,6 +7585,33 @@ "react": "^18.2.0" } }, + "node_modules/react-fast-compare": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.1.tgz", + "integrity": "sha512-xTYf9zFim2pEif/Fw16dBiXpe0hoy5PxcD8+OwBnTtNLfIm3g6WxhKNurY+6OmdH1u6Ta/W/Vl6vjbYP1MFnDg==" + }, + "node_modules/react-focus-lock": { + "version": "2.9.5", + "resolved": "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.5.tgz", + "integrity": "sha512-h6vrdgUbsH2HeD5I7I3Cx1PPrmwGuKYICS+kB9m+32X/9xHRrAbxgvaBpG7BFBN9h3tO+C3qX1QAVESmi4CiIA==", + "dependencies": { + "@babel/runtime": "^7.0.0", + "focus-lock": "^0.11.6", + "prop-types": "^15.6.2", + "react-clientside-effect": "^1.2.6", + "use-callback-ref": "^1.3.0", + "use-sidecar": "^1.1.2" + }, + "peerDependencies": { + "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/react-is": { "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", @@ -5406,6 +7626,73 @@ "node": ">=0.10.0" } }, + "node_modules/react-remove-scroll": { + "version": "2.5.6", + "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.6.tgz", + "integrity": "sha512-bO856ad1uDYLefgArk559IzUNeQ6SWH4QnrevIUjH+GczV56giDfl3h0Idptf2oIKxQmd1p9BN25jleKodTALg==", + "dependencies": { + "react-remove-scroll-bar": "^2.3.4", + "react-style-singleton": "^2.2.1", + "tslib": "^2.1.0", + "use-callback-ref": "^1.3.0", + "use-sidecar": "^1.1.2" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-remove-scroll-bar": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz", + "integrity": "sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A==", + "dependencies": { + "react-style-singleton": "^2.2.1", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-style-singleton": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz", + "integrity": "sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==", + "dependencies": { + "get-nonce": "^1.0.0", + "invariant": "^2.2.4", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/react-transition-group": { "version": "4.4.5", "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz", @@ -5514,6 +7801,11 @@ "jsesc": "bin/jsesc" } }, + "node_modules/resize-observer-polyfill": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", + "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==" + }, "node_modules/resolve": { "version": "2.0.0-next.4", "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.4.tgz", @@ -5625,6 +7917,19 @@ "loose-envify": "^1.1.0" } }, + "node_modules/scroll-into-view-if-needed": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-3.0.10.tgz", + "integrity": "sha512-t44QCeDKAPf1mtQH3fYpWz8IM/DyvHLjs8wUvvwMYxk5moOqCzrMSxK6HQVD0QVmVjXFavoFIPRVrMuJPKAvtg==", + "dependencies": { + "compute-scroll-into-view": "^3.0.2" + } + }, + "node_modules/scroll-into-view-if-needed/node_modules/compute-scroll-into-view": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-3.0.3.tgz", + "integrity": "sha512-nadqwNxghAGTamwIqQSG433W6OADZx2vCo3UXHNrzTRHK/htu+7+L0zhjEoaeaQVNAi3YgqWDv8+tzf0hRfR+A==" + }, "node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", @@ -5697,6 +8002,11 @@ "node": ">=0.10.0" } }, + "node_modules/string-convert": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/string-convert/-/string-convert-0.2.1.tgz", + "integrity": "sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A==" + }, "node_modules/string.prototype.matchall": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz", @@ -5861,6 +8171,19 @@ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true }, + "node_modules/throttle-debounce": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-5.0.0.tgz", + "integrity": "sha512-2iQTSgkkc1Zyk0MeVrt/3BvuOXYPl/R8Z0U2xxo9rjwNciaHDG3R+Lm6dh4EeUci49DanvBnuqI6jshoQQRGEg==", + "engines": { + "node": ">=12.22" + } + }, + "node_modules/tiny-invariant": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz", + "integrity": "sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw==" + }, "node_modules/to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", @@ -5881,6 +8204,11 @@ "node": ">=8.0" } }, + "node_modules/toggle-selection": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz", + "integrity": "sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==" + }, "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", @@ -6031,6 +8359,47 @@ "punycode": "^2.1.0" } }, + "node_modules/use-callback-ref": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz", + "integrity": "sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w==", + "dependencies": { + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/use-sidecar": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz", + "integrity": "sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw==", + "dependencies": { + "detect-node-es": "^1.1.0", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "^16.9.0 || ^17.0.0 || ^18.0.0", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/utf-8-validate": { "version": "5.0.10", "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz", diff --git a/blog-react/package.json b/blog-react/package.json index 74fd15f..353593b 100644 --- a/blog-react/package.json +++ b/blog-react/package.json @@ -10,6 +10,7 @@ "preview": "vite preview" }, "dependencies": { + "@chakra-ui/react": "^2.7.1", "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", "@mui/icons-material": "^5.14.0", @@ -17,8 +18,9 @@ "@supabase/auth-ui-react": "^0.4.2", "@supabase/auth-ui-shared": "^0.1.6", "@supabase/supabase-js": "^2.26.0", + "antd": "^5.7.0", + "framer-motion": "^10.12.21", "react": "^18.2.0", - "react-chatbot-kit": "^2.1.2", "react-dom": "^18.2.0", "styled-components": "^6.0.4" }, diff --git a/blog-react/src/App.jsx b/blog-react/src/App.jsx index cfe5b96..50f26ec 100644 --- a/blog-react/src/App.jsx +++ b/blog-react/src/App.jsx @@ -4,10 +4,10 @@ import { useState, useEffect } from 'react' import { ThemeSupa } from '@supabase/auth-ui-shared' import styled from 'styled-components' import AccountCircleIcon from '@mui/icons-material/AccountCircle'; -import ThemedExample from './components/Chat' +import Header from './components/Header'; +import Footer from './components/Footer'; const supabase = createClient('https://cyfpjgfjgocvjoqdblbp.supabase.co', 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImN5ZnBqZ2ZqZ29jdmpvcWRibGJwIiwicm9sZSI6ImFub24iLCJpYXQiOjE2ODg0OTIzNTIsImV4cCI6MjAwNDA2ODM1Mn0.3hq1S-yAh1Uq2K5lBbYJSvvmvGlg8NHd0kq7P-rlwQs') -// create a styled component to make the items in in it display column const StyledDiv = styled.div` display: flex; flex-direction: column; @@ -17,9 +17,28 @@ const StyledDiv = styled.div` gap: 1rem; ` +const StyledChat = styled.div` + box-sizing: border-box; + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-between; + height: 100vh; + width: 100vw; + gap: 1rem; +` + +// style footer +const StyledFooter = styled.div` +width:95vw; +padding: 1rem; +` + export default function App() { - const [session, setSession] = useState(null) + const [session, setSession] = useState(null); + const [show, setShow] = useState(false); + const handleClick = () => setShow(!show); useEffect(() => { supabase.auth.getSession().then(({ data: { session } }) => { setSession(session) @@ -51,7 +70,12 @@ export default function App() { else { return ( <> - + +
+ +