diff --git a/assets/index-d66d5ac0.js b/assets/index-d66d5ac0.js deleted file mode 100644 index a2d97c1..0000000 --- a/assets/index-d66d5ac0.js +++ /dev/null @@ -1,104 +0,0 @@ -var Pd=Object.defineProperty;var _d=(e,t,n)=>t in e?Pd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var On=(e,t,n)=>(_d(e,typeof t!="symbol"?t+"":t,n),n);(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 l of o)if(l.type==="childList")for(const i of l.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();function Od(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Td(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 l=Function.bind.apply(t,o);return new l}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 Ra={exports:{}},jo={},Na={exports:{}},A={};/** - * @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 yr=Symbol.for("react.element"),Ld=Symbol.for("react.portal"),zd=Symbol.for("react.fragment"),Ad=Symbol.for("react.strict_mode"),jd=Symbol.for("react.profiler"),Dd=Symbol.for("react.provider"),Fd=Symbol.for("react.context"),Id=Symbol.for("react.forward_ref"),Md=Symbol.for("react.suspense"),Ud=Symbol.for("react.memo"),Bd=Symbol.for("react.lazy"),Wu=Symbol.iterator;function $d(e){return e===null||typeof e!="object"?null:(e=Wu&&e[Wu]||e["@@iterator"],typeof e=="function"?e:null)}var Pa={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_a=Object.assign,Oa={};function kn(e,t,n){this.props=e,this.context=t,this.refs=Oa,this.updater=n||Pa}kn.prototype.isReactComponent={};kn.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")};kn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ta(){}Ta.prototype=kn.prototype;function $i(e,t,n){this.props=e,this.context=t,this.refs=Oa,this.updater=n||Pa}var Hi=$i.prototype=new Ta;Hi.constructor=$i;_a(Hi,kn.prototype);Hi.isPureReactComponent=!0;var Qu=Array.isArray,La=Object.prototype.hasOwnProperty,Vi={current:null},za={key:!0,ref:!0,__self:!0,__source:!0};function Aa(e,t,n){var r,o={},l=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(l=""+t.key),t)La.call(t,r)&&!za.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,b=C[J];if(0>>1;Jo(ul,L))Lto(Cr,ul)?(C[J]=Cr,C[Lt]=L,J=Lt):(C[J]=ul,C[Tt]=L,J=Tt);else if(Lto(Cr,L))C[J]=Cr,C[Lt]=L,J=Lt;else break e}}return T}function o(C,T){var L=C.sortIndex-T.sortIndex;return L!==0?L:C.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],a=[],f=1,p=null,m=3,w=!1,y=!1,v=!1,R=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(C){for(var T=n(a);T!==null;){if(T.callback===null)r(a);else if(T.startTime<=C)r(a),T.sortIndex=T.expirationTime,t(s,T);else break;T=n(a)}}function S(C){if(v=!1,h(C),!y)if(n(s)!==null)y=!0,ll(k);else{var T=n(a);T!==null&&il(S,T.startTime-C)}}function k(C,T){y=!1,v&&(v=!1,d(_),_=-1),w=!0;var L=m;try{for(h(T),p=n(s);p!==null&&(!(p.expirationTime>T)||C&&!je());){var J=p.callback;if(typeof J=="function"){p.callback=null,m=p.priorityLevel;var b=J(p.expirationTime<=T);T=e.unstable_now(),typeof b=="function"?p.callback=b:p===n(s)&&r(s),h(T)}else r(s);p=n(s)}if(p!==null)var kr=!0;else{var Tt=n(a);Tt!==null&&il(S,Tt.startTime-T),kr=!1}return kr}finally{p=null,m=L,w=!1}}var N=!1,P=null,_=-1,K=5,j=-1;function je(){return!(e.unstable_now()-jC||125J?(C.sortIndex=L,t(a,C),n(s)===null&&C===n(a)&&(v?(d(_),_=-1):v=!0,il(S,L-J))):(C.sortIndex=b,t(s,C),y||w||(y=!0,ll(k))),C},e.unstable_shouldYield=je,e.unstable_wrapCallback=function(C){var T=m;return function(){var L=m;m=T;try{return C.apply(this,arguments)}finally{m=L}}}})(Ia);Fa.exports=Ia;var Zd=Fa.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 Ma=O,Ce=Zd;function E(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"),$l=Object.prototype.hasOwnProperty,bd=/^[: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]*$/,Ju={},Xu={};function ep(e){return $l.call(Xu,e)?!0:$l.call(Ju,e)?!1:bd.test(e)?Xu[e]=!0:(Ju[e]=!0,!1)}function tp(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 np(e,t,n,r){if(t===null||typeof t>"u"||tp(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 de(e,t,n,r,o,l,i){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=l,this.removeEmptyString=i}var oe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){oe[e]=new de(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];oe[t]=new de(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){oe[e]=new de(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){oe[e]=new de(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){oe[e]=new de(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){oe[e]=new de(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){oe[e]=new de(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){oe[e]=new de(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){oe[e]=new de(e,5,!1,e.toLowerCase(),null,!1,!1)});var Qi=/[\-:]([a-z])/g;function Ki(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(Qi,Ki);oe[t]=new de(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(Qi,Ki);oe[t]=new de(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(Qi,Ki);oe[t]=new de(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){oe[e]=new de(e,1,!1,e.toLowerCase(),null,!1,!1)});oe.xlinkHref=new de("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){oe[e]=new de(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ji(e,t,n,r){var o=oe.hasOwnProperty(t)?oe[t]:null;(o!==null?o.type!==0:r||!(2u||o[i]!==l[u]){var s=` -`+o[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{cl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Un(e):""}function rp(e){switch(e.tag){case 5:return Un(e.type);case 16:return Un("Lazy");case 13:return Un("Suspense");case 19:return Un("SuspenseList");case 0:case 2:case 15:return e=fl(e.type,!1),e;case 11:return e=fl(e.type.render,!1),e;case 1:return e=fl(e.type,!0),e;default:return""}}function Ql(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 Yt:return"Fragment";case Xt:return"Portal";case Hl:return"Profiler";case Xi:return"StrictMode";case Vl:return"Suspense";case Wl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case $a:return(e.displayName||"Context")+".Consumer";case Ba:return(e._context.displayName||"Context")+".Provider";case Yi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Gi:return t=e.displayName||null,t!==null?t:Ql(e.type)||"Memo";case st:t=e._payload,e=e._init;try{return Ql(e(t))}catch{}}return null}function op(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 Ql(t);case 8:return t===Xi?"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 Ct(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Va(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lp(e){var t=Va(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,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,l.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Pr(e){e._valueTracker||(e._valueTracker=lp(e))}function Wa(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Va(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function lo(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 Kl(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Gu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ct(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 Qa(e,t){t=t.checked,t!=null&&Ji(e,"checked",t,!1)}function Jl(e,t){Qa(e,t);var n=Ct(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")?Xl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Xl(e,t.type,Ct(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function qu(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 Xl(e,t,n){(t!=="number"||lo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Bn=Array.isArray;function sn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=_r.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function bn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Vn={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},ip=["Webkit","ms","Moz","O"];Object.keys(Vn).forEach(function(e){ip.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Vn[t]=Vn[e]})});function Ya(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Vn.hasOwnProperty(e)&&Vn[e]?(""+t).trim():t+"px"}function Ga(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Ya(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var up=W({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 ql(e,t){if(t){if(up[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function Zl(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 bl=null;function qi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ei=null,an=null,cn=null;function es(e){if(e=wr(e)){if(typeof ei!="function")throw Error(E(280));var t=e.stateNode;t&&(t=Uo(t),ei(e.stateNode,e.type,t))}}function qa(e){an?cn?cn.push(e):cn=[e]:an=e}function Za(){if(an){var e=an,t=cn;if(cn=an=null,es(e),t)for(e=0;e>>=0,e===0?32:31-(gp(e)/wp|0)|0}var Or=64,Tr=4194304;function $n(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 ao(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~o;u!==0?r=$n(u):(l&=i,l!==0&&(r=$n(l)))}else i=n&~o,i!==0?r=$n(i):l!==0&&(r=$n(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,l=t&-t,o>=l||o===16&&(l&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 vr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ue(t),e[t]=n}function kp(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=Qn),as=String.fromCharCode(32),cs=!1;function gc(e,t){switch(e){case"keyup":return qp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gt=!1;function bp(e,t){switch(e){case"compositionend":return wc(t);case"keypress":return t.which!==32?null:(cs=!0,as);case"textInput":return e=t.data,e===as&&cs?null:e;default:return null}}function eh(e,t){if(Gt)return e==="compositionend"||!lu&&gc(e,t)?(e=yc(),Kr=nu=pt=null,Gt=!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=hs(n)}}function kc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?kc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Cc(){for(var e=window,t=lo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=lo(e.document)}return t}function iu(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 ah(e){var t=Cc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&kc(n.ownerDocument.documentElement,n)){if(r!==null&&iu(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,l=Math.min(r.start,o);r=r.end===void 0?l:Math.min(r.end,o),!e.extend&&l>r&&(o=r,r=l,l=o),o=ms(n,l);var i=ms(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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,qt=null,ii=null,Jn=null,ui=!1;function ys(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ui||qt==null||qt!==lo(r)||(r=qt,"selectionStart"in r&&iu(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}),Jn&&lr(Jn,r)||(Jn=r,r=po(ii,"onSelect"),0en||(e.current=pi[en],pi[en]=null,en--)}function M(e,t){en++,pi[en]=e.current,e.current=t}var Rt={},se=Pt(Rt),me=Pt(!1),Bt=Rt;function yn(e,t){var n=e.type.contextTypes;if(!n)return Rt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ye(e){return e=e.childContextTypes,e!=null}function mo(){B(me),B(se)}function ks(e,t,n){if(se.current!==Rt)throw Error(E(168));M(se,t),M(me,n)}function Ac(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(E(108,op(e)||"Unknown",o));return W({},n,r)}function yo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Rt,Bt=se.current,M(se,e),M(me,me.current),!0}function Cs(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=Ac(e,t,Bt),r.__reactInternalMemoizedMergedChildContext=e,B(me),B(se),M(se,e)):B(me),M(me,n)}var Ge=null,Bo=!1,Rl=!1;function jc(e){Ge===null?Ge=[e]:Ge.push(e)}function Eh(e){Bo=!0,jc(e)}function _t(){if(!Rl&&Ge!==null){Rl=!0;var e=0,t=I;try{var n=Ge;for(I=1;e>=i,o-=i,qe=1<<32-Ue(t)+o|n<_?(K=P,P=null):K=P.sibling;var j=m(d,P,h[_],S);if(j===null){P===null&&(P=K);break}e&&P&&j.alternate===null&&t(d,P),c=l(j,c,_),N===null?k=j:N.sibling=j,N=j,P=K}if(_===h.length)return n(d,P),$&&zt(d,_),k;if(P===null){for(;__?(K=P,P=null):K=P.sibling;var je=m(d,P,j.value,S);if(je===null){P===null&&(P=K);break}e&&P&&je.alternate===null&&t(d,P),c=l(je,c,_),N===null?k=je:N.sibling=je,N=je,P=K}if(j.done)return n(d,P),$&&zt(d,_),k;if(P===null){for(;!j.done;_++,j=h.next())j=p(d,j.value,S),j!==null&&(c=l(j,c,_),N===null?k=j:N.sibling=j,N=j);return $&&zt(d,_),k}for(P=r(d,P);!j.done;_++,j=h.next())j=w(P,d,_,j.value,S),j!==null&&(e&&j.alternate!==null&&P.delete(j.key===null?_:j.key),c=l(j,c,_),N===null?k=j:N.sibling=j,N=j);return e&&P.forEach(function(Pn){return t(d,Pn)}),$&&zt(d,_),k}function R(d,c,h,S){if(typeof h=="object"&&h!==null&&h.type===Yt&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Nr:e:{for(var k=h.key,N=c;N!==null;){if(N.key===k){if(k=h.type,k===Yt){if(N.tag===7){n(d,N.sibling),c=o(N,h.props.children),c.return=d,d=c;break e}}else if(N.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===st&&Ls(k)===N.type){n(d,N.sibling),c=o(N,h.props),c.ref=Dn(d,N,h),c.return=d,d=c;break e}n(d,N);break}else t(d,N);N=N.sibling}h.type===Yt?(c=Ut(h.props.children,d.mode,S,h.key),c.return=d,d=c):(S=eo(h.type,h.key,h.props,null,d.mode,S),S.ref=Dn(d,c,h),S.return=d,d=S)}return i(d);case Xt:e:{for(N=h.key;c!==null;){if(c.key===N)if(c.tag===4&&c.stateNode.containerInfo===h.containerInfo&&c.stateNode.implementation===h.implementation){n(d,c.sibling),c=o(c,h.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=Al(h,d.mode,S),c.return=d,d=c}return i(d);case st:return N=h._init,R(d,c,N(h._payload),S)}if(Bn(h))return y(d,c,h,S);if(Tn(h))return v(d,c,h,S);Ir(d,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,c!==null&&c.tag===6?(n(d,c.sibling),c=o(c,h),c.return=d,d=c):(n(d,c),c=zl(h,d.mode,S),c.return=d,d=c),i(d)):n(d,c)}return R}var gn=Hc(!0),Vc=Hc(!1),Sr={},Je=Pt(Sr),ar=Pt(Sr),cr=Pt(Sr);function It(e){if(e===Sr)throw Error(E(174));return e}function mu(e,t){switch(M(cr,t),M(ar,e),M(Je,Sr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Gl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Gl(t,e)}B(Je),M(Je,t)}function wn(){B(Je),B(ar),B(cr)}function Wc(e){It(cr.current);var t=It(Je.current),n=Gl(t,e.type);t!==n&&(M(ar,e),M(Je,n))}function yu(e){ar.current===e&&(B(Je),B(ar))}var H=Pt(0);function xo(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 Nl=[];function vu(){for(var e=0;en?n:4,e(!0);var r=Pl.transition;Pl.transition={};try{e(!1),t()}finally{I=n,Pl.transition=r}}function uf(){return Ae().memoizedState}function Rh(e,t,n){var r=xt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},sf(e))af(t,n);else if(n=Mc(e,t,n,r),n!==null){var o=ce();Be(n,e,r,o),cf(n,t,r)}}function Nh(e,t,n){var r=xt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(sf(e))af(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var i=t.lastRenderedState,u=l(i,n);if(o.hasEagerState=!0,o.eagerState=u,$e(u,i)){var s=t.interleaved;s===null?(o.next=o,pu(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=Mc(e,t,o,r),n!==null&&(o=ce(),Be(n,e,r,o),cf(n,t,r))}}function sf(e){var t=e.alternate;return e===V||t!==null&&t===V}function af(e,t){Xn=ko=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,bi(e,n)}}var Co={readContext:ze,useCallback:le,useContext:le,useEffect:le,useImperativeHandle:le,useInsertionEffect:le,useLayoutEffect:le,useMemo:le,useReducer:le,useRef:le,useState:le,useDebugValue:le,useDeferredValue:le,useTransition:le,useMutableSource:le,useSyncExternalStore:le,useId:le,unstable_isNewReconciler:!1},Ph={readContext:ze,useCallback:function(e,t){return Ve().memoizedState=[e,t===void 0?null:t],e},useContext:ze,useEffect:As,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Gr(4194308,4,tf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Gr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Gr(4,2,e,t)},useMemo:function(e,t){var n=Ve();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ve();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=Rh.bind(null,V,e),[r.memoizedState,e]},useRef:function(e){var t=Ve();return e={current:e},t.memoizedState=e},useState:zs,useDebugValue:xu,useDeferredValue:function(e){return Ve().memoizedState=e},useTransition:function(){var e=zs(!1),t=e[0];return e=Ch.bind(null,e[1]),Ve().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=V,o=Ve();if($){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),te===null)throw Error(E(349));Ht&30||Jc(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,As(Yc.bind(null,r,l,e),[e]),r.flags|=2048,pr(9,Xc.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Ve(),t=te.identifierPrefix;if($){var n=Ze,r=qe;n=(r&~(1<<32-Ue(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=fr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[We]=t,e[sr]=r,wf(e,t,!1,!1),t.stateNode=e;e:{switch(i=Zl(n,r),n){case"dialog":U("cancel",e),U("close",e),o=r;break;case"iframe":case"object":case"embed":U("load",e),o=r;break;case"video":case"audio":for(o=0;oEn&&(t.flags|=128,r=!0,Fn(l,!1),t.lanes=4194304)}else{if(!r)if(e=xo(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Fn(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!$)return ie(t),null}else 2*X()-l.renderingStartTime>En&&n!==1073741824&&(t.flags|=128,r=!0,Fn(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(n=l.last,n!==null?n.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=X(),t.sibling=null,n=H.current,M(H,r?n&1|2:n&1),t):(ie(t),null);case 22:case 23:return _u(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Se&1073741824&&(ie(t),t.subtreeFlags&6&&(t.flags|=8192)):ie(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function Dh(e,t){switch(su(t),t.tag){case 1:return ye(t.type)&&mo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wn(),B(me),B(se),vu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return yu(t),null;case 13:if(B(H),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));vn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return B(H),null;case 4:return wn(),null;case 10:return du(t.type._context),null;case 22:case 23:return _u(),null;case 24:return null;default:return null}}var Ur=!1,ue=!1,Fh=typeof WeakSet=="function"?WeakSet:Set,x=null;function on(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Q(e,t,r)}else n.current=null}function Ri(e,t,n){try{n()}catch(r){Q(e,t,r)}}var Hs=!1;function Ih(e,t){if(si=co,e=Cc(),iu(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,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,a=0,f=0,p=e,m=null;t:for(;;){for(var w;p!==n||o!==0&&p.nodeType!==3||(u=i+o),p!==l||r!==0&&p.nodeType!==3||(s=i+r),p.nodeType===3&&(i+=p.nodeValue.length),(w=p.firstChild)!==null;)m=p,p=w;for(;;){if(p===e)break t;if(m===n&&++a===o&&(u=i),m===l&&++f===r&&(s=i),(w=p.nextSibling)!==null)break;p=m,m=p.parentNode}p=w}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(ai={focusedElem:e,selectionRange:n},co=!1,x=t;x!==null;)if(t=x,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,x=e;else for(;x!==null;){t=x;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 v=y.memoizedProps,R=y.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?v:Fe(t.type,v),R);d.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(S){Q(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,x=e;break}x=t.return}return y=Hs,Hs=!1,y}function Yn(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 l=o.destroy;o.destroy=void 0,l!==void 0&&Ri(t,n,l)}o=o.next}while(o!==r)}}function Vo(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 Ni(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 xf(e){var t=e.alternate;t!==null&&(e.alternate=null,xf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[We],delete t[sr],delete t[di],delete t[wh],delete t[Sh])),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 kf(e){return e.tag===5||e.tag===3||e.tag===4}function Vs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||kf(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 Pi(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=ho));else if(r!==4&&(e=e.child,e!==null))for(Pi(e,t,n),e=e.sibling;e!==null;)Pi(e,t,n),e=e.sibling}function _i(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(_i(e,t,n),e=e.sibling;e!==null;)_i(e,t,n),e=e.sibling}var ne=null,Ie=!1;function it(e,t,n){for(n=n.child;n!==null;)Cf(e,t,n),n=n.sibling}function Cf(e,t,n){if(Ke&&typeof Ke.onCommitFiberUnmount=="function")try{Ke.onCommitFiberUnmount(Do,n)}catch{}switch(n.tag){case 5:ue||on(n,t);case 6:var r=ne,o=Ie;ne=null,it(e,t,n),ne=r,Ie=o,ne!==null&&(Ie?(e=ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ne.removeChild(n.stateNode));break;case 18:ne!==null&&(Ie?(e=ne,n=n.stateNode,e.nodeType===8?Cl(e.parentNode,n):e.nodeType===1&&Cl(e,n),rr(e)):Cl(ne,n.stateNode));break;case 4:r=ne,o=Ie,ne=n.stateNode.containerInfo,Ie=!0,it(e,t,n),ne=r,Ie=o;break;case 0:case 11:case 14:case 15:if(!ue&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var l=o,i=l.destroy;l=l.tag,i!==void 0&&(l&2||l&4)&&Ri(n,t,i),o=o.next}while(o!==r)}it(e,t,n);break;case 1:if(!ue&&(on(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){Q(n,t,u)}it(e,t,n);break;case 21:it(e,t,n);break;case 22:n.mode&1?(ue=(r=ue)||n.memoizedState!==null,it(e,t,n),ue=r):it(e,t,n);break;default:it(e,t,n)}}function Ws(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Fh),t.forEach(function(r){var o=Kh.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function De(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=i),r&=~l}if(r=o,r=X()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Uh(r/1960))-r,10e?16:e,ht===null)var r=!1;else{if(e=ht,ht=null,Po=0,F&6)throw Error(E(331));var o=F;for(F|=4,x=e.current;x!==null;){var l=x,i=l.child;if(x.flags&16){var u=l.deletions;if(u!==null){for(var s=0;sX()-Nu?Mt(e,0):Ru|=n),ve(e,t)}function zf(e,t){t===0&&(e.mode&1?(t=Tr,Tr<<=1,!(Tr&130023424)&&(Tr=4194304)):t=1);var n=ce();e=rt(e,t),e!==null&&(vr(e,t,n),ve(e,n))}function Qh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),zf(e,n)}function Kh(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(E(314))}r!==null&&r.delete(t),zf(e,n)}var Af;Af=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||me.current)he=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return he=!1,Ah(e,t,n);he=!!(e.flags&131072)}else he=!1,$&&t.flags&1048576&&Dc(t,go,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;qr(e,t),e=t.pendingProps;var o=yn(t,se.current);dn(t,n),o=wu(null,t,r,e,o,n);var l=Su();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,ye(r)?(l=!0,yo(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,hu(t),o.updater=$o,t.stateNode=o,o._reactInternals=t,gi(t,r,e,n),t=Ei(null,t,r,!0,l,n)):(t.tag=0,$&&l&&uu(t),ae(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(qr(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Xh(r),e=Fe(r,e),o){case 0:t=Si(null,t,r,e,n);break e;case 1:t=Us(null,t,r,e,n);break e;case 11:t=Is(null,t,r,e,n);break e;case 14:t=Ms(null,t,r,Fe(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Fe(r,o),Si(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Fe(r,o),Us(e,t,r,o,n);case 3:e:{if(yf(t),e===null)throw Error(E(387));r=t.pendingProps,l=t.memoizedState,o=l.element,Uc(e,t),Eo(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=Sn(Error(E(423)),t),t=Bs(e,t,r,n,o);break e}else if(r!==o){o=Sn(Error(E(424)),t),t=Bs(e,t,r,n,o);break e}else for(xe=wt(t.stateNode.containerInfo.firstChild),ke=t,$=!0,Me=null,n=Vc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(vn(),r===o){t=ot(e,t,n);break e}ae(e,t,r,n)}t=t.child}return t;case 5:return Wc(t),e===null&&mi(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,ci(r,o)?i=null:l!==null&&ci(r,l)&&(t.flags|=32),mf(e,t),ae(e,t,i,n),t.child;case 6:return e===null&&mi(t),null;case 13:return vf(e,t,n);case 4:return mu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=gn(t,null,r,n):ae(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Fe(r,o),Is(e,t,r,o,n);case 7:return ae(e,t,t.pendingProps,n),t.child;case 8:return ae(e,t,t.pendingProps.children,n),t.child;case 12:return ae(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value,M(wo,r._currentValue),r._currentValue=i,l!==null)if($e(l.value,i)){if(l.children===o.children&&!me.current){t=ot(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var u=l.dependencies;if(u!==null){i=l.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(l.tag===1){s=be(-1,n&-n),s.tag=2;var a=l.updateQueue;if(a!==null){a=a.shared;var f=a.pending;f===null?s.next=s:(s.next=f.next,f.next=s),a.pending=s}}l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),yi(l.return,n,t),u.lanes|=n;break}s=s.next}}else if(l.tag===10)i=l.type===t.type?null:l.child;else if(l.tag===18){if(i=l.return,i===null)throw Error(E(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),yi(i,n,t),i=l.sibling}else i=l.child;if(i!==null)i.return=l;else for(i=l;i!==null;){if(i===t){i=null;break}if(l=i.sibling,l!==null){l.return=i.return,i=l;break}i=i.return}l=i}ae(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,dn(t,n),o=ze(o),r=r(o),t.flags|=1,ae(e,t,r,n),t.child;case 14:return r=t.type,o=Fe(r,t.pendingProps),o=Fe(r.type,o),Ms(e,t,r,o,n);case 15:return pf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Fe(r,o),qr(e,t),t.tag=1,ye(r)?(e=!0,yo(t)):e=!1,dn(t,n),$c(t,r,o),gi(t,r,o,n),Ei(null,t,r,!0,e,n);case 19:return gf(e,t,n);case 22:return hf(e,t,n)}throw Error(E(156,t.tag))};function jf(e,t){return lc(e,t)}function Jh(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 Oe(e,t,n,r){return new Jh(e,t,n,r)}function Tu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Xh(e){if(typeof e=="function")return Tu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Yi)return 11;if(e===Gi)return 14}return 2}function kt(e,t){var n=e.alternate;return n===null?(n=Oe(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 eo(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")Tu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Yt:return Ut(n.children,o,l,t);case Xi:i=8,o|=8;break;case Hl:return e=Oe(12,n,t,o|2),e.elementType=Hl,e.lanes=l,e;case Vl:return e=Oe(13,n,t,o),e.elementType=Vl,e.lanes=l,e;case Wl:return e=Oe(19,n,t,o),e.elementType=Wl,e.lanes=l,e;case Ha:return Qo(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ba:i=10;break e;case $a:i=9;break e;case Yi:i=11;break e;case Gi:i=14;break e;case st:i=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=Oe(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function Ut(e,t,n,r){return e=Oe(7,e,r,t),e.lanes=n,e}function Qo(e,t,n,r){return e=Oe(22,e,r,t),e.elementType=Ha,e.lanes=n,e.stateNode={isHidden:!1},e}function zl(e,t,n){return e=Oe(6,e,null,t),e.lanes=n,e}function Al(e,t,n){return t=Oe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yh(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=pl(0),this.expirationTimes=pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Lu(e,t,n,r,o,l,i,u,s){return e=new Yh(e,t,n,u,s),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Oe(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},hu(l),e}function Gh(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Mf)}catch(e){console.error(e)}}Mf(),Da.exports=Re;var tm=Da.exports,Zs=tm;Bl.createRoot=Zs.createRoot,Bl.hydrateRoot=Zs.hydrateRoot;/** - * @remix-run/router v1.6.2 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function To(){return To=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Du(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function rm(){return Math.random().toString(36).substr(2,8)}function ea(e,t){return{usr:e.state,key:e.key,idx:t}}function Ai(e,t,n,r){return n===void 0&&(n=null),To({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Go(t):t,{state:n,key:t&&t.key||r||rm()})}function Uf(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Go(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function om(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:l=!1}=r,i=o.history,u=mt.Pop,s=null,a=f();a==null&&(a=0,i.replaceState(To({},i.state,{idx:a}),""));function f(){return(i.state||{idx:null}).idx}function p(){u=mt.Pop;let R=f(),d=R==null?null:R-a;a=R,s&&s({action:u,location:v.location,delta:d})}function m(R,d){u=mt.Push;let c=Ai(v.location,R,d);n&&n(c,R),a=f()+1;let h=ea(c,a),S=v.createHref(c);try{i.pushState(h,"",S)}catch{o.location.assign(S)}l&&s&&s({action:u,location:v.location,delta:1})}function w(R,d){u=mt.Replace;let c=Ai(v.location,R,d);n&&n(c,R),a=f();let h=ea(c,a),S=v.createHref(c);i.replaceState(h,"",S),l&&s&&s({action:u,location:v.location,delta:0})}function y(R){let d=o.location.origin!=="null"?o.location.origin:o.location.href,c=typeof R=="string"?R:Uf(R);return ge(d,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,d)}let v={get action(){return u},get location(){return e(o,i)},listen(R){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(bs,p),s=R,()=>{o.removeEventListener(bs,p),s=null}},createHref(R){return t(o,R)},createURL:y,encodeLocation(R){let d=y(R);return{pathname:d.pathname,search:d.search,hash:d.hash}},push:m,replace:w,go(R){return i.go(R)}};return v}var ta;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ta||(ta={}));function lm(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Go(t):t,o=Hf(r.pathname||"/",n);if(o==null)return null;let l=Bf(e);im(l);let i=null;for(let u=0;i==null&&u{let s={relativePath:u===void 0?l.path||"":u,caseSensitive:l.caseSensitive===!0,childrenIndex:i,route:l};s.relativePath.startsWith("/")&&(ge(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let a=hn([r,s.relativePath]),f=n.concat(s);l.children&&l.children.length>0&&(ge(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),Bf(l.children,t,f,a)),!(l.path==null&&!l.index)&&t.push({path:a,score:pm(a,l.index),routesMeta:f})};return e.forEach((l,i)=>{var u;if(l.path===""||!((u=l.path)!=null&&u.includes("?")))o(l,i);else for(let s of $f(l.path))o(l,i,s)}),t}function $f(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return o?[l,""]:[l];let i=$f(r.join("/")),u=[];return u.push(...i.map(s=>s===""?l:[l,s].join("/"))),o&&u.push(...i),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function im(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:hm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const um=/^:\w+$/,sm=3,am=2,cm=1,fm=10,dm=-2,na=e=>e==="*";function pm(e,t){let n=e.split("/"),r=n.length;return n.some(na)&&(r+=dm),t&&(r+=am),n.filter(o=>!na(o)).reduce((o,l)=>o+(um.test(l)?sm:l===""?cm:fm),r)}function hm(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function mm(e,t){let{routesMeta:n}=e,r={},o="/",l=[];for(let i=0;i{if(f==="*"){let m=u[p]||"";i=l.slice(0,l.length-m.length).replace(/(.)\/+$/,"$1")}return a[f]=wm(u[p]||"",f),a},{}),pathname:l,pathnameBase:i,pattern:e}}function vm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Du(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(i,u)=>(r.push(u),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function gm(e){try{return decodeURI(e)}catch(t){return Du(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function wm(e,t){try{return decodeURIComponent(e)}catch(n){return Du(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Hf(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const hn=e=>e.join("/").replace(/\/\/+/g,"/"),Sm=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function Em(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Vf=["post","put","patch","delete"];new Set(Vf);const xm=["get",...Vf];new Set(xm);/** - * React Router v6.11.2 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function ji(){return ji=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},v,{params:Object.assign({},i,v.params),pathname:hn([u,r.encodeLocation?r.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?u:hn([u,r.encodeLocation?r.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),o,n);return t&&y?O.createElement(qo.Provider,{value:{location:ji({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:mt.Pop}},y):y}function _m(){let e=Fm(),t=Em(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},l=null;return O.createElement(O.Fragment,null,O.createElement("h2",null,"Unexpected Application Error!"),O.createElement("h3",{style:{fontStyle:"italic"}},t),n?O.createElement("pre",{style:o},n):null,l)}const Om=O.createElement(_m,null);class Tm extends O.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?O.createElement(Zo.Provider,{value:this.props.routeContext},O.createElement(Qf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Lm(e){let{routeContext:t,match:n,children:r}=e,o=O.useContext(km);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),O.createElement(Zo.Provider,{value:t},r)}function zm(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let l=e,i=(r=n)==null?void 0:r.errors;if(i!=null){let u=l.findIndex(s=>s.route.id&&(i==null?void 0:i[s.route.id]));u>=0||ge(!1),l=l.slice(0,Math.min(l.length,u+1))}return l.reduceRight((u,s,a)=>{let f=s.route.id?i==null?void 0:i[s.route.id]:null,p=null;n&&(p=s.route.errorElement||Om);let m=t.concat(l.slice(0,a+1)),w=()=>{let y;return f?y=p:s.route.Component?y=O.createElement(s.route.Component,null):s.route.element?y=s.route.element:y=u,O.createElement(Lm,{match:s,routeContext:{outlet:u,matches:m,isDataRoute:n!=null},children:y})};return n&&(s.route.ErrorBoundary||s.route.errorElement||a===0)?O.createElement(Tm,{location:n.location,revalidation:n.revalidation,component:p,error:f,children:w(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):w()},null)}var ra;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(ra||(ra={}));var Lo;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"})(Lo||(Lo={}));function Am(e){let t=O.useContext(Cm);return t||ge(!1),t}function jm(e){let t=O.useContext(Zo);return t||ge(!1),t}function Dm(e){let t=jm(),n=t.matches[t.matches.length-1];return n.route.id||ge(!1),n.route.id}function Fm(){var e;let t=O.useContext(Qf),n=Am(Lo.UseRouteError),r=Dm(Lo.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function Kf(e){ge(!1)}function Im(e){let{basename:t="/",children:n=null,location:r,navigationType:o=mt.Pop,navigator:l,static:i=!1}=e;Fu()&&ge(!1);let u=t.replace(/^\/*/,"/"),s=O.useMemo(()=>({basename:u,navigator:l,static:i}),[u,l,i]);typeof r=="string"&&(r=Go(r));let{pathname:a="/",search:f="",hash:p="",state:m=null,key:w="default"}=r,y=O.useMemo(()=>{let v=Hf(a,u);return v==null?null:{location:{pathname:v,search:f,hash:p,state:m,key:w},navigationType:o}},[u,a,f,p,m,w,o]);return y==null?null:O.createElement(Wf.Provider,{value:s},O.createElement(qo.Provider,{children:n,value:y}))}function Mm(e){let{children:t,location:n}=e;return Nm(Di(t),n)}var oa;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(oa||(oa={}));new Promise(()=>{});function Di(e,t){t===void 0&&(t=[]);let n=[];return O.Children.forEach(e,(r,o)=>{if(!O.isValidElement(r))return;let l=[...t,o];if(r.type===O.Fragment){n.push.apply(n,Di(r.props.children,l));return}r.type!==Kf&&ge(!1),!r.props.index||!r.props.children||ge(!1);let i={id:r.props.id||l.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=Di(r.props.children,l)),n.push(i)}),n}/** - * React Router DOM v6.11.2 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Um(e){let{basename:t,children:n,window:r}=e,o=O.useRef();o.current==null&&(o.current=nm({window:r,v5Compat:!0}));let l=o.current,[i,u]=O.useState({action:l.action,location:l.location});return O.useLayoutEffect(()=>l.listen(u),[l]),O.createElement(Im,{basename:t,children:n,location:i.location,navigationType:i.action,navigator:l})}var la;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(la||(la={}));var ia;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ia||(ia={}));function Jf(e,t){return function(){return e.apply(t,arguments)}}const{toString:Bm}=Object.prototype,{getPrototypeOf:Iu}=Object,bo=(e=>t=>{const n=Bm.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Xe=e=>(e=e.toLowerCase(),t=>bo(t)===e),el=e=>t=>typeof t===e,{isArray:Nn}=Array,mr=el("undefined");function $m(e){return e!==null&&!mr(e)&&e.constructor!==null&&!mr(e.constructor)&&Le(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Xf=Xe("ArrayBuffer");function Hm(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Xf(e.buffer),t}const Vm=el("string"),Le=el("function"),Yf=el("number"),tl=e=>e!==null&&typeof e=="object",Wm=e=>e===!0||e===!1,to=e=>{if(bo(e)!=="object")return!1;const t=Iu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Qm=Xe("Date"),Km=Xe("File"),Jm=Xe("Blob"),Xm=Xe("FileList"),Ym=e=>tl(e)&&Le(e.pipe),Gm=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Le(e.append)&&((t=bo(e))==="formdata"||t==="object"&&Le(e.toString)&&e.toString()==="[object FormData]"))},qm=Xe("URLSearchParams"),Zm=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Er(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Nn(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const qf=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Zf=e=>!mr(e)&&e!==qf;function Fi(){const{caseless:e}=Zf(this)&&this||{},t={},n=(r,o)=>{const l=e&&Gf(t,o)||o;to(t[l])&&to(r)?t[l]=Fi(t[l],r):to(r)?t[l]=Fi({},r):Nn(r)?t[l]=r.slice():t[l]=r};for(let r=0,o=arguments.length;r(Er(t,(o,l)=>{n&&Le(o)?e[l]=Jf(o,n):e[l]=o},{allOwnKeys:r}),e),ey=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),ty=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},ny=(e,t,n,r)=>{let o,l,i;const u={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),l=o.length;l-- >0;)i=o[l],(!r||r(i,e,t))&&!u[i]&&(t[i]=e[i],u[i]=!0);e=n!==!1&&Iu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ry=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},oy=e=>{if(!e)return null;if(Nn(e))return e;let t=e.length;if(!Yf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},ly=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Iu(Uint8Array)),iy=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const l=o.value;t.call(e,l[0],l[1])}},uy=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},sy=Xe("HTMLFormElement"),ay=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),ua=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),cy=Xe("RegExp"),bf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Er(n,(o,l)=>{t(o,l,e)!==!1&&(r[l]=o)}),Object.defineProperties(e,r)},fy=e=>{bf(e,(t,n)=>{if(Le(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Le(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},dy=(e,t)=>{const n={},r=o=>{o.forEach(l=>{n[l]=!0})};return Nn(e)?r(e):r(String(e).split(t)),n},py=()=>{},hy=(e,t)=>(e=+e,Number.isFinite(e)?e:t),jl="abcdefghijklmnopqrstuvwxyz",sa="0123456789",ed={DIGIT:sa,ALPHA:jl,ALPHA_DIGIT:jl+jl.toUpperCase()+sa},my=(e=16,t=ed.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function yy(e){return!!(e&&Le(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const vy=e=>{const t=new Array(10),n=(r,o)=>{if(tl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const l=Nn(r)?[]:{};return Er(r,(i,u)=>{const s=n(i,o+1);!mr(s)&&(l[u]=s)}),t[o]=void 0,l}}return r};return n(e,0)},gy=Xe("AsyncFunction"),wy=e=>e&&(tl(e)||Le(e))&&Le(e.then)&&Le(e.catch),g={isArray:Nn,isArrayBuffer:Xf,isBuffer:$m,isFormData:Gm,isArrayBufferView:Hm,isString:Vm,isNumber:Yf,isBoolean:Wm,isObject:tl,isPlainObject:to,isUndefined:mr,isDate:Qm,isFile:Km,isBlob:Jm,isRegExp:cy,isFunction:Le,isStream:Ym,isURLSearchParams:qm,isTypedArray:ly,isFileList:Xm,forEach:Er,merge:Fi,extend:bm,trim:Zm,stripBOM:ey,inherits:ty,toFlatObject:ny,kindOf:bo,kindOfTest:Xe,endsWith:ry,toArray:oy,forEachEntry:iy,matchAll:uy,isHTMLForm:sy,hasOwnProperty:ua,hasOwnProp:ua,reduceDescriptors:bf,freezeMethods:fy,toObjectSet:dy,toCamelCase:ay,noop:py,toFiniteNumber:hy,findKey:Gf,global:qf,isContextDefined:Zf,ALPHABET:ed,generateString:my,isSpecCompliantForm:yy,toJSONObject:vy,isAsyncFn:gy,isThenable:wy};function D(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}g.inherits(D,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:g.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const td=D.prototype,nd={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{nd[e]={value:e}});Object.defineProperties(D,nd);Object.defineProperty(td,"isAxiosError",{value:!0});D.from=(e,t,n,r,o,l)=>{const i=Object.create(td);return g.toFlatObject(e,i,function(s){return s!==Error.prototype},u=>u!=="isAxiosError"),D.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,l&&Object.assign(i,l),i};const Sy=null;function Ii(e){return g.isPlainObject(e)||g.isArray(e)}function rd(e){return g.endsWith(e,"[]")?e.slice(0,-2):e}function aa(e,t,n){return e?e.concat(t).map(function(o,l){return o=rd(o),!n&&l?"["+o+"]":o}).join(n?".":""):t}function Ey(e){return g.isArray(e)&&!e.some(Ii)}const xy=g.toFlatObject(g,{},null,function(t){return/^is[A-Z]/.test(t)});function nl(e,t,n){if(!g.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=g.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,R){return!g.isUndefined(R[v])});const r=n.metaTokens,o=n.visitor||f,l=n.dots,i=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&g.isSpecCompliantForm(t);if(!g.isFunction(o))throw new TypeError("visitor must be a function");function a(y){if(y===null)return"";if(g.isDate(y))return y.toISOString();if(!s&&g.isBlob(y))throw new D("Blob is not supported. Use a Buffer instead.");return g.isArrayBuffer(y)||g.isTypedArray(y)?s&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function f(y,v,R){let d=y;if(y&&!R&&typeof y=="object"){if(g.endsWith(v,"{}"))v=r?v:v.slice(0,-2),y=JSON.stringify(y);else if(g.isArray(y)&&Ey(y)||(g.isFileList(y)||g.endsWith(v,"[]"))&&(d=g.toArray(y)))return v=rd(v),d.forEach(function(h,S){!(g.isUndefined(h)||h===null)&&t.append(i===!0?aa([v],S,l):i===null?v:v+"[]",a(h))}),!1}return Ii(y)?!0:(t.append(aa(R,v,l),a(y)),!1)}const p=[],m=Object.assign(xy,{defaultVisitor:f,convertValue:a,isVisitable:Ii});function w(y,v){if(!g.isUndefined(y)){if(p.indexOf(y)!==-1)throw Error("Circular reference detected in "+v.join("."));p.push(y),g.forEach(y,function(d,c){(!(g.isUndefined(d)||d===null)&&o.call(t,d,g.isString(c)?c.trim():c,v,m))===!0&&w(d,v?v.concat(c):[c])}),p.pop()}}if(!g.isObject(e))throw new TypeError("data must be an object");return w(e),t}function ca(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Mu(e,t){this._pairs=[],e&&nl(e,this,t)}const od=Mu.prototype;od.append=function(t,n){this._pairs.push([t,n])};od.toString=function(t){const n=t?function(r){return t.call(this,r,ca)}:ca;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function ky(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ld(e,t,n){if(!t)return e;const r=n&&n.encode||ky,o=n&&n.serialize;let l;if(o?l=o(t,n):l=g.isURLSearchParams(t)?t.toString():new Mu(t,n).toString(r),l){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Cy{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){g.forEach(this.handlers,function(r){r!==null&&t(r)})}}const fa=Cy,id={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ry=typeof URLSearchParams<"u"?URLSearchParams:Mu,Ny=typeof FormData<"u"?FormData:null,Py=typeof Blob<"u"?Blob:null,_y=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Oy=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Qe={isBrowser:!0,classes:{URLSearchParams:Ry,FormData:Ny,Blob:Py},isStandardBrowserEnv:_y,isStandardBrowserWebWorkerEnv:Oy,protocols:["http","https","file","blob","url","data"]};function Ty(e,t){return nl(e,new Qe.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,l){return Qe.isNode&&g.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function Ly(e){return g.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function zy(e){const t={},n=Object.keys(e);let r;const o=n.length;let l;for(r=0;r=n.length;return i=!i&&g.isArray(o)?o.length:i,s?(g.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!u):((!o[i]||!g.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],l)&&g.isArray(o[i])&&(o[i]=zy(o[i])),!u)}if(g.isFormData(e)&&g.isFunction(e.entries)){const n={};return g.forEachEntry(e,(r,o)=>{t(Ly(r),o,n,0)}),n}return null}const Ay={"Content-Type":void 0};function jy(e,t,n){if(g.isString(e))try{return(t||JSON.parse)(e),g.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const rl={transitional:id,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,l=g.isObject(t);if(l&&g.isHTMLForm(t)&&(t=new FormData(t)),g.isFormData(t))return o&&o?JSON.stringify(ud(t)):t;if(g.isArrayBuffer(t)||g.isBuffer(t)||g.isStream(t)||g.isFile(t)||g.isBlob(t))return t;if(g.isArrayBufferView(t))return t.buffer;if(g.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Ty(t,this.formSerializer).toString();if((u=g.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return nl(u?{"files[]":t}:t,s&&new s,this.formSerializer)}}return l||o?(n.setContentType("application/json",!1),jy(t)):t}],transformResponse:[function(t){const n=this.transitional||rl.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&g.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(u){if(i)throw u.name==="SyntaxError"?D.from(u,D.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Qe.classes.FormData,Blob:Qe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};g.forEach(["delete","get","head"],function(t){rl.headers[t]={}});g.forEach(["post","put","patch"],function(t){rl.headers[t]=g.merge(Ay)});const Uu=rl,Dy=g.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Fy=e=>{const t={};let n,r,o;return e&&e.split(` -`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&Dy[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},da=Symbol("internals");function Mn(e){return e&&String(e).trim().toLowerCase()}function no(e){return e===!1||e==null?e:g.isArray(e)?e.map(no):String(e)}function Iy(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const My=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Dl(e,t,n,r,o){if(g.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!g.isString(t)){if(g.isString(r))return t.indexOf(r)!==-1;if(g.isRegExp(r))return r.test(t)}}function Uy(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function By(e,t){const n=g.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,l,i){return this[r].call(this,t,o,l,i)},configurable:!0})})}let ol=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function l(u,s,a){const f=Mn(s);if(!f)throw new Error("header name must be a non-empty string");const p=g.findKey(o,f);(!p||o[p]===void 0||a===!0||a===void 0&&o[p]!==!1)&&(o[p||s]=no(u))}const i=(u,s)=>g.forEach(u,(a,f)=>l(a,f,s));return g.isPlainObject(t)||t instanceof this.constructor?i(t,n):g.isString(t)&&(t=t.trim())&&!My(t)?i(Fy(t),n):t!=null&&l(n,t,r),this}get(t,n){if(t=Mn(t),t){const r=g.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Iy(o);if(g.isFunction(n))return n.call(this,o,r);if(g.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Mn(t),t){const r=g.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Dl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function l(i){if(i=Mn(i),i){const u=g.findKey(r,i);u&&(!n||Dl(r,r[u],u,n))&&(delete r[u],o=!0)}}return g.isArray(t)?t.forEach(l):l(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const l=n[r];(!t||Dl(this,this[l],l,t,!0))&&(delete this[l],o=!0)}return o}normalize(t){const n=this,r={};return g.forEach(this,(o,l)=>{const i=g.findKey(r,l);if(i){n[i]=no(o),delete n[l];return}const u=t?Uy(l):String(l).trim();u!==l&&delete n[l],n[u]=no(o),r[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return g.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&g.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[da]=this[da]={accessors:{}}).accessors,o=this.prototype;function l(i){const u=Mn(i);r[u]||(By(o,i),r[u]=!0)}return g.isArray(t)?t.forEach(l):l(t),this}};ol.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);g.freezeMethods(ol.prototype);g.freezeMethods(ol);const et=ol;function Fl(e,t){const n=this||Uu,r=t||n,o=et.from(r.headers);let l=r.data;return g.forEach(e,function(u){l=u.call(n,l,o.normalize(),t?t.status:void 0)}),o.normalize(),l}function sd(e){return!!(e&&e.__CANCEL__)}function xr(e,t,n){D.call(this,e??"canceled",D.ERR_CANCELED,t,n),this.name="CanceledError"}g.inherits(xr,D,{__CANCEL__:!0});function $y(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new D("Request failed with status code "+n.status,[D.ERR_BAD_REQUEST,D.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Hy=Qe.isStandardBrowserEnv?function(){return{write:function(n,r,o,l,i,u){const s=[];s.push(n+"="+encodeURIComponent(r)),g.isNumber(o)&&s.push("expires="+new Date(o).toGMTString()),g.isString(l)&&s.push("path="+l),g.isString(i)&&s.push("domain="+i),u===!0&&s.push("secure"),document.cookie=s.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Vy(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Wy(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function ad(e,t){return e&&!Vy(t)?Wy(e,t):t}const Qy=Qe.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(l){let i=l;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const u=g.isString(i)?o(i):i;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}();function Ky(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Jy(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,l=0,i;return t=t!==void 0?t:1e3,function(s){const a=Date.now(),f=r[l];i||(i=a),n[o]=s,r[o]=a;let p=l,m=0;for(;p!==o;)m+=n[p++],p=p%e;if(o=(o+1)%e,o===l&&(l=(l+1)%e),a-i{const l=o.loaded,i=o.lengthComputable?o.total:void 0,u=l-n,s=r(u),a=l<=i;n=l;const f={loaded:l,total:i,progress:i?l/i:void 0,bytes:u,rate:s||void 0,estimated:s&&i&&a?(i-l)/s:void 0,event:o};f[t?"download":"upload"]=!0,e(f)}}const Xy=typeof XMLHttpRequest<"u",Yy=Xy&&function(e){return new Promise(function(n,r){let o=e.data;const l=et.from(e.headers).normalize(),i=e.responseType;let u;function s(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}g.isFormData(o)&&(Qe.isStandardBrowserEnv||Qe.isStandardBrowserWebWorkerEnv?l.setContentType(!1):l.setContentType("multipart/form-data;",!1));let a=new XMLHttpRequest;if(e.auth){const w=e.auth.username||"",y=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";l.set("Authorization","Basic "+btoa(w+":"+y))}const f=ad(e.baseURL,e.url);a.open(e.method.toUpperCase(),ld(f,e.params,e.paramsSerializer),!0),a.timeout=e.timeout;function p(){if(!a)return;const w=et.from("getAllResponseHeaders"in a&&a.getAllResponseHeaders()),v={data:!i||i==="text"||i==="json"?a.responseText:a.response,status:a.status,statusText:a.statusText,headers:w,config:e,request:a};$y(function(d){n(d),s()},function(d){r(d),s()},v),a=null}if("onloadend"in a?a.onloadend=p:a.onreadystatechange=function(){!a||a.readyState!==4||a.status===0&&!(a.responseURL&&a.responseURL.indexOf("file:")===0)||setTimeout(p)},a.onabort=function(){a&&(r(new D("Request aborted",D.ECONNABORTED,e,a)),a=null)},a.onerror=function(){r(new D("Network Error",D.ERR_NETWORK,e,a)),a=null},a.ontimeout=function(){let y=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const v=e.transitional||id;e.timeoutErrorMessage&&(y=e.timeoutErrorMessage),r(new D(y,v.clarifyTimeoutError?D.ETIMEDOUT:D.ECONNABORTED,e,a)),a=null},Qe.isStandardBrowserEnv){const w=(e.withCredentials||Qy(f))&&e.xsrfCookieName&&Hy.read(e.xsrfCookieName);w&&l.set(e.xsrfHeaderName,w)}o===void 0&&l.setContentType(null),"setRequestHeader"in a&&g.forEach(l.toJSON(),function(y,v){a.setRequestHeader(v,y)}),g.isUndefined(e.withCredentials)||(a.withCredentials=!!e.withCredentials),i&&i!=="json"&&(a.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&a.addEventListener("progress",pa(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&a.upload&&a.upload.addEventListener("progress",pa(e.onUploadProgress)),(e.cancelToken||e.signal)&&(u=w=>{a&&(r(!w||w.type?new xr(null,e,a):w),a.abort(),a=null)},e.cancelToken&&e.cancelToken.subscribe(u),e.signal&&(e.signal.aborted?u():e.signal.addEventListener("abort",u)));const m=Ky(f);if(m&&Qe.protocols.indexOf(m)===-1){r(new D("Unsupported protocol "+m+":",D.ERR_BAD_REQUEST,e));return}a.send(o||null)})},ro={http:Sy,xhr:Yy};g.forEach(ro,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Gy={getAdapter:e=>{e=g.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let o=0;oe instanceof et?e.toJSON():e;function xn(e,t){t=t||{};const n={};function r(a,f,p){return g.isPlainObject(a)&&g.isPlainObject(f)?g.merge.call({caseless:p},a,f):g.isPlainObject(f)?g.merge({},f):g.isArray(f)?f.slice():f}function o(a,f,p){if(g.isUndefined(f)){if(!g.isUndefined(a))return r(void 0,a,p)}else return r(a,f,p)}function l(a,f){if(!g.isUndefined(f))return r(void 0,f)}function i(a,f){if(g.isUndefined(f)){if(!g.isUndefined(a))return r(void 0,a)}else return r(void 0,f)}function u(a,f,p){if(p in t)return r(a,f);if(p in e)return r(void 0,a)}const s={url:l,method:l,data:l,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:u,headers:(a,f)=>o(ma(a),ma(f),!0)};return g.forEach(Object.keys(Object.assign({},e,t)),function(f){const p=s[f]||o,m=p(e[f],t[f],f);g.isUndefined(m)&&p!==u||(n[f]=m)}),n}const cd="1.4.0",Bu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Bu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ya={};Bu.transitional=function(t,n,r){function o(l,i){return"[Axios v"+cd+"] Transitional option '"+l+"'"+i+(r?". "+r:"")}return(l,i,u)=>{if(t===!1)throw new D(o(i," has been removed"+(n?" in "+n:"")),D.ERR_DEPRECATED);return n&&!ya[i]&&(ya[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,i,u):!0}};function qy(e,t,n){if(typeof e!="object")throw new D("options must be an object",D.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const l=r[o],i=t[l];if(i){const u=e[l],s=u===void 0||i(u,l,e);if(s!==!0)throw new D("option "+l+" must be "+s,D.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new D("Unknown option "+l,D.ERR_BAD_OPTION)}}const Mi={assertOptions:qy,validators:Bu},ut=Mi.validators;let zo=class{constructor(t){this.defaults=t,this.interceptors={request:new fa,response:new fa}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=xn(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:l}=n;r!==void 0&&Mi.assertOptions(r,{silentJSONParsing:ut.transitional(ut.boolean),forcedJSONParsing:ut.transitional(ut.boolean),clarifyTimeoutError:ut.transitional(ut.boolean)},!1),o!=null&&(g.isFunction(o)?n.paramsSerializer={serialize:o}:Mi.assertOptions(o,{encode:ut.function,serialize:ut.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=l&&g.merge(l.common,l[n.method]),i&&g.forEach(["delete","get","head","post","put","patch","common"],y=>{delete l[y]}),n.headers=et.concat(i,l);const u=[];let s=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(s=s&&v.synchronous,u.unshift(v.fulfilled,v.rejected))});const a=[];this.interceptors.response.forEach(function(v){a.push(v.fulfilled,v.rejected)});let f,p=0,m;if(!s){const y=[ha.bind(this),void 0];for(y.unshift.apply(y,u),y.push.apply(y,a),m=y.length,f=Promise.resolve(n);p{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](o);r._listeners=null}),this.promise.then=o=>{let l;const i=new Promise(u=>{r.subscribe(u),l=u}).then(o);return i.cancel=function(){r.unsubscribe(l)},i},t(function(l,i,u){r.reason||(r.reason=new xr(l,i,u),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new fd(function(o){t=o}),cancel:t}}};const by=Zy;function e0(e){return function(n){return e.apply(null,n)}}function t0(e){return g.isObject(e)&&e.isAxiosError===!0}const Ui={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ui).forEach(([e,t])=>{Ui[t]=e});const n0=Ui;function dd(e){const t=new oo(e),n=Jf(oo.prototype.request,t);return g.extend(n,oo.prototype,t,{allOwnKeys:!0}),g.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return dd(xn(e,o))},n}const Z=dd(Uu);Z.Axios=oo;Z.CanceledError=xr;Z.CancelToken=by;Z.isCancel=sd;Z.VERSION=cd;Z.toFormData=nl;Z.AxiosError=D;Z.Cancel=Z.CanceledError;Z.all=function(t){return Promise.all(t)};Z.spread=e0;Z.isAxiosError=t0;Z.mergeConfig=xn;Z.AxiosHeaders=et;Z.formToJSON=e=>ud(g.isHTMLForm(e)?new FormData(e):e);Z.HttpStatusCode=n0;Z.default=Z;const jt=Z,{Axios:r0,AxiosError:o0,CanceledError:l0,isCancel:i0,CancelToken:u0,VERSION:s0,all:a0,Cancel:c0,isAxiosError:f0,spread:d0,toFormData:p0,AxiosHeaders:h0,HttpStatusCode:m0,formToJSON:y0,mergeConfig:v0}=jt,g0=Object.freeze(Object.defineProperty({__proto__:null,Axios:r0,AxiosError:o0,AxiosHeaders:h0,Cancel:c0,CancelToken:u0,CanceledError:l0,HttpStatusCode:m0,VERSION:s0,all:a0,default:jt,formToJSON:y0,isAxiosError:f0,isCancel:i0,mergeConfig:v0,spread:d0,toFormData:p0},Symbol.toStringTag,{value:"Module"})),Ml={api_url:"http://10.0.1.27:8000"};var $u={exports:{}};const w0=Td(g0);var S0=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,o,l;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(l=Object.keys(t),r=l.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,l[o]))return!1;for(o=r;o--!==0;){var i=l[o];if(!e(t[i],n[i]))return!1}return!0}return t!==t&&n!==n};/*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh - * @license MIT - */var E0=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)};/*! - * MIT License - * - * Copyright (c) Sindre Sorhus (https://sindresorhus.com) - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the - * Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE - * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR - * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */function x0(e){return typeof Blob>"u"?!1:e instanceof Blob||Object.prototype.toString.call(e)==="[object Blob]"}var k0=x0,va=w0,pd=S0,C0=E0,R0=k0,hd=Object.prototype.toString;function md(e,t){for(var n=e.length,r=0;r=0){var l=r?r.data:void 0,i=r?r.params:void 0;return Ao(n,i)&&Sa(t,l)}else return Sa(t,r)}function Ao(e,t){return t===void 0?!0:typeof t.asymmetricMatch=="function"?t.asymmetricMatch(e):pd(e,t)}function Sa(e,t){if(t===void 0)return!0;var n;try{n=JSON.parse(e)}catch{}return Ao(n||e,t)}function O0(e,t){Object.keys(e.handlers).forEach(function(n){var r=e.handlers[n].indexOf(t);r>-1&&e.handlers[n].splice(r,1)})}function gd(e,t,n,r){if(r>0){setTimeout(gd,r,e,t,n);return}!n.config.validateStatus||n.config.validateStatus(n.status)?e(n):t(wd("Request failed with status code "+n.status,n.config,n))}function wd(e,t,n,r){if(typeof va.AxiosError=="function")return va.AxiosError.from(new Error(e),r,t,null,n);var o=new Error(e);return o.isAxiosError=!0,o.config=t,n!==void 0&&(o.response=n),r!==void 0&&(o.code=r),o.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},o}function T0(e){var t=`Could not find mock for: -`+JSON.stringify(e,["method","url"],2),n=new Error(t);return n.isCouldNotFindMockError=!0,n.url=e.url,n.method=e.method,n}var Sd={find:md,findHandler:_0,purgeIfReplyOnce:O0,settle:gd,isStream:N0,isArrayBuffer:P0,isFunction:yd,isObjectOrArray:vd,isBuffer:C0,isBlob:R0,isBodyOrParametersMatching:Bi,isEqual:pd,createAxiosError:wd,createCouldNotFindMockError:T0},Ee=Sd;function L0(e){return Ee.isArrayBuffer(e)||Ee.isBuffer(e)||Ee.isStream(e)||Ee.isBlob(e)?e:Ee.isObjectOrArray(e)?JSON.parse(JSON.stringify(e)):e}function Hr(e,t){return{status:e[0],data:L0(e[1]),headers:e[2],config:t,request:{responseURL:t.url}}}function Ea(e,t,n,r){var o=r.baseURL;if(r.baseURL&&!/^https?:/.test(r.baseURL)&&(o=void 0),typeof e.originalAdapter=="function")return e.originalAdapter(r).then(t,n);e.axiosInstanceWithoutInterceptors(Object.assign({},r,{baseURL:o,adapter:e.originalAdapter,transformRequest:[],transformResponse:[]})).then(t,n)}function z0(e,t,n,r){var o=r.url||"";r.baseURL&&o.substr(0,r.baseURL.length)===r.baseURL&&(o=o.slice(r.baseURL.length)),delete r.adapter,e.history[r.method].push(r);var l=Ee.findHandler(e.handlers,r.method,o,r.data,r.params,r.headers&&r.headers.constructor.name==="AxiosHeaders"?Object.assign({},r.headers):r.headers,r.baseURL);if(l)if(l.length===7&&Ee.purgeIfReplyOnce(e,l),l.length===2)Ea(e,t,n,r);else if(typeof l[3]!="function")Ee.settle(t,n,Hr(l.slice(3),r),e.delayResponse);else{var i=l[3](r);typeof i.then!="function"?Ee.settle(t,n,Hr(i,r),e.delayResponse):i.then(function(u){u.config&&u.status?Ee.settle(t,n,Hr([u.status,u.data,u.headers],u.config),0):Ee.settle(t,n,Hr(u,r),e.delayResponse)},function(u){e.delayResponse>0?setTimeout(function(){n(u)},e.delayResponse):n(u)})}else switch(e.onNoMatch){case"passthrough":Ea(e,t,n,r);break;case"throwException":throw Ee.createCouldNotFindMockError(r);default:Ee.settle(t,n,{status:404,config:r},e.delayResponse)}}var A0=z0,j0=A0,ct=Sd,Hu=["get","post","head","delete","patch","put","options","list","link","unlink"];function D0(){return function(e){var t=this;return new Promise(function(n,r){j0(t,n,r,e)})}.bind(this)}function Ed(){return Hu.reduce(function(e,t){return e[t]=[],e},{})}function xd(){kd.call(this),Cd.call(this)}function kd(){this.handlers=Ed()}function Cd(){this.history=Ed()}function Ot(e,t){if(xd.call(this),e)this.axiosInstance=e,this.axiosInstanceWithoutInterceptors=e.create?e.create():void 0,this.originalAdapter=e.defaults.adapter,this.delayResponse=t&&t.delayResponse>0?t.delayResponse:null,this.onNoMatch=t&&t.onNoMatch||null,e.defaults.adapter=this.adapter.call(this);else throw new Error("Please provide an instance of axios to mock")}Ot.prototype.adapter=D0;Ot.prototype.restore=function(){this.axiosInstance&&(this.axiosInstance.defaults.adapter=this.originalAdapter,this.axiosInstance=void 0)};Ot.prototype.reset=xd;Ot.prototype.resetHandlers=kd;Ot.prototype.resetHistory=Cd;Hu.concat("any").forEach(function(e){var t="on"+e.charAt(0).toUpperCase()+e.slice(1);Ot.prototype[t]=function(i,r,o){var l=this,i=i===void 0?/.*/:i;function u(a,f,p){var m=[i,r,o,a,f,p];return Ul(e,l.handlers,m),l}function s(a,f,p){var m=[i,r,o,a,f,p,!0];return Ul(e,l.handlers,m),l}return{reply:u,replyOnce:s,passThrough:function(){var f=[i,r];return Ul(e,l.handlers,f),l},abortRequest:function(){return u(function(a){var f=ct.createAxiosError("Request aborted",a,void 0,"ECONNABORTED");return Promise.reject(f)})},abortRequestOnce:function(){return s(function(a){var f=ct.createAxiosError("Request aborted",a,void 0,"ECONNABORTED");return Promise.reject(f)})},networkError:function(){return u(function(a){var f=ct.createAxiosError("Network Error",a);return Promise.reject(f)})},networkErrorOnce:function(){return s(function(a){var f=ct.createAxiosError("Network Error",a);return Promise.reject(f)})},timeout:function(){return u(function(a){var f=ct.createAxiosError(a.timeoutErrorMessage||"timeout of "+a.timeout+"ms exceeded",a,void 0,a.transitional&&a.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED");return Promise.reject(f)})},timeoutOnce:function(){return s(function(a){var f=ct.createAxiosError(a.timeoutErrorMessage||"timeout of "+a.timeout+"ms exceeded",a,void 0,a.transitional&&a.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED");return Promise.reject(f)})}}}});function F0(e,t,n){for(var r=-1,o=0;o-1&&n.length<7?t[e].splice(r,1,n):t[e].push(n)}}$u.exports=Ot;$u.exports.default=Ot;var I0=$u.exports;const xa=Od(I0);class un{static prepararModoTeste(){this.test=!0,this.instance=jt.create(),this.mockAdapter=new xa(this.instance,{delayResponse:100})}static limparCenariosDeTeste(){this.mockAdapter.resetHandlers(),this.mockAdapter.resetHistory(),this.mockAdapter.reset()}static DesfazerModoTeste(){this.limparCenariosDeTeste(),this.mockAdapter.restore(),this.test=!1,this.instance=void 0}static getInstance(t){if(this.test){if(this.instance)return this.instance;this.instance=jt.create(),this.mockAdapter=new xa(this.instance)}return this.instance||(t?this.instance=this.ReconfigureInstance(t.access):this.instance=this.configureInterceptors(this.configureInstance())),this.instance}static getInstanceFormData(t){return this.ReconfigureInstanceFormData(t.access)}static cancelCall(){this.abortController.abort()}static configureInstance(){return this.abortController=new AbortController,jt.create({baseURL:Ml.api_url+"/api",timeout:0,headers:{"Content-Type":"application/json"},signal:this.abortController.signal})}static ReconfigureInstanceFormData(t){this.abortController=new AbortController;const n=jt.create({baseURL:Ml.api_url+"/api",timeout:0,headers:{"Content-Type":"multipart/form-data",Authorization:`Bearer ${t}`},signal:this.abortController.signal});return this.configureInterceptors(n)}static ReconfigureInstance(t){this.abortController=new AbortController;const n=jt.create({baseURL:Ml.api_url+"/api",timeout:0,headers:{"Content-Type":"application/json",Authorization:`Bearer ${t}`},signal:this.abortController.signal});return this.instance=this.configureInterceptors(n),this.instance}static configureInterceptors(t){return t.interceptors.response.use(function(n){return n},function(n){return Promise.reject(n)}),t}}On(un,"test",!1),On(un,"instance"),On(un,"abortController"),On(un,"mockAdapter");const M0={logar:async e=>{const n=await un.getInstance(void 0)({url:"token/",method:"POST",data:{username:e.username,password:e.password}}),r={...n};return un.ReconfigureInstance(n.access),{status:200,statusText:"Sucesso ao logar.",data:r}}},ka=(e,t)=>{try{window.localStorage.setItem(e,JSON.stringify(t))}catch(n){console.error(n)}},U0=(e,t)=>{try{const n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch{return t}},B0=(e,t)=>{try{const n=window.localStorage.getItem(e);return n?n.replaceAll('"',""):t}catch{return t}},Rd=O.createContext({}),$0=()=>O.useContext(Rd),Ca={access:"",email:"",refresh:"",groups:[],permissions:[]},H0=({children:e})=>{const[t,n]=O.useState(()=>U0("user",Ca)),[r,o]=O.useState(()=>B0("perfil","")),l=O.useRef(null),i=y=>{var v;(v=l.current)==null||v.show({severity:"success",summary:"Feito!",detail:y,life:3e3})},u=y=>{var v;(v=l.current)==null||v.show({severity:"error",detail:y,sticky:!0})},s=y=>{var v;(v=l.current)==null||v.show({severity:"warn",detail:y,sticky:!0})},a=async y=>{try{const v=await M0.logar(y);if(!v)throw"Error ao logar";const{data:R}=v;n(R)}catch{n({access:"asdasd",email:"",groups:[],permissions:[],refresh:""})}},f=()=>{n(Ca),o("")};O.useEffect(()=>{ka("user",t)},[t]),O.useEffect(()=>{ka("perfil",r)},[r]);const p=O.useMemo(()=>{var y;return!!((y=t==null?void 0:t.access)!=null&&y.length)},[t]),w={user:t,signin:a,signout:f,estaLogado:p,selecionarPerfil:y=>{o(y)},perfil:r,tostSuccess:i,tostError:u,toast:l,tostAlert:s};return z.jsx(Rd.Provider,{value:w,children:e})},V0=()=>z.jsxs("div",{className:"w-full h-screen flex flex-row m-2 p-4",children:[z.jsx("div",{className:we,children:"A"}),z.jsx("div",{className:we,children:"B"})]}),W0=()=>z.jsxs("div",{className:"w-full h-screen flex flex-row m-2 p-4",children:[z.jsx("div",{className:we,children:"A"}),z.jsx("div",{className:we,children:"B"})]}),Q0=()=>z.jsxs("div",{className:"w-full h-screen flex flex-row m-2 p-4",children:[z.jsx("div",{className:we,children:"A"}),z.jsx("div",{className:we,children:"B"})]}),K0=()=>z.jsxs("div",{className:"w-full h-screen flex flex-row m-2 p-4",children:[z.jsx("div",{className:we,children:"A"}),z.jsx("div",{className:we,children:"B"})]}),J0=()=>z.jsxs("div",{className:"w-full h-screen flex flex-row m-2 p-4",children:[z.jsx("div",{className:we,children:"A"}),z.jsx("div",{className:we,children:"B"})]}),X0=()=>z.jsxs("div",{className:"w-full h-screen flex flex-row m-2 p-4",children:[z.jsx("div",{className:we,children:"C"}),z.jsx("div",{className:we,children:"D"})]}),Y0=()=>z.jsxs("div",{className:"w-full h-screen flex flex-row m-2 p-4",children:[z.jsx("div",{className:we,children:"A"}),z.jsx("div",{className:we,children:"B"})]}),we=` - w-full - h-full - flex - flex-row - border-orange-500 - surface-overlay - border-3 - border-round - font-bold m-2 - flex - align-items-center - `;function G0(){return null}function q0(){return $0(),z.jsxs("div",{className:"w-full h-screen flex flex-column m-0 p-0",children:[z.jsx(V0,{}),z.jsx(X0,{}),z.jsx(G0,{}),z.jsx(J0,{}),z.jsx(K0,{}),z.jsx(Q0,{}),z.jsx(W0,{}),z.jsx(Y0,{})]})}const Z0=()=>z.jsx(Mm,{children:z.jsx(Kf,{path:"/minicurso-web-deploy*",element:z.jsx(q0,{})})});function b0(){return z.jsx(H0,{children:z.jsx(Um,{children:z.jsx(Z0,{})})})}Bl.createRoot(document.getElementById("root")).render(z.jsx(b0,{})); diff --git a/assets/index-e59b1fc8.js b/assets/index-e59b1fc8.js new file mode 100644 index 0000000..42d8818 --- /dev/null +++ b/assets/index-e59b1fc8.js @@ -0,0 +1,136 @@ +var Kh=Object.defineProperty;var Qh=(e,t,n)=>t in e?Kh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var vr=(e,t,n)=>(Qh(e,typeof t!="symbol"?t+"":t,n),n);(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 l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).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)}})();function ds(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Xh(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 Cf={exports:{}},Vi={},Pf={exports:{}},H={};/** + * @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 po=Symbol.for("react.element"),Yh=Symbol.for("react.portal"),qh=Symbol.for("react.fragment"),Jh=Symbol.for("react.strict_mode"),Zh=Symbol.for("react.profiler"),Gh=Symbol.for("react.provider"),em=Symbol.for("react.context"),tm=Symbol.for("react.forward_ref"),nm=Symbol.for("react.suspense"),rm=Symbol.for("react.memo"),om=Symbol.for("react.lazy"),Na=Symbol.iterator;function im(e){return e===null||typeof e!="object"?null:(e=Na&&e[Na]||e["@@iterator"],typeof e=="function"?e:null)}var Of={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},kf=Object.assign,Tf={};function dr(e,t,n){this.props=e,this.context=t,this.refs=Tf,this.updater=n||Of}dr.prototype.isReactComponent={};dr.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")};dr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Rf(){}Rf.prototype=dr.prototype;function ps(e,t,n){this.props=e,this.context=t,this.refs=Tf,this.updater=n||Of}var hs=ps.prototype=new Rf;hs.constructor=ps;kf(hs,dr.prototype);hs.isPureReactComponent=!0;var _a=Array.isArray,Nf=Object.prototype.hasOwnProperty,ms={current:null},_f={key:!0,ref:!0,__self:!0,__source:!0};function Af(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)Nf.call(t,r)&&!_f.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,$=N[Q];if(0>>1;Qo(je,j))He<$&&0>o(ft,je)?(N[Q]=ft,N[He]=j,Q=He):(N[Q]=je,N[Ne]=j,Q=Ne);else if(He<$&&0>o(ft,j))N[Q]=ft,N[He]=j,Q=He;else break e}}return D}function o(N,D){var j=N.sortIndex-D.sortIndex;return j!==0?j:N.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var s=[],a=[],c=1,f=null,h=3,y=!1,m=!1,g=!1,P=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,p=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(N){for(var D=n(a);D!==null;){if(D.callback===null)r(a);else if(D.startTime<=N)r(a),D.sortIndex=D.expirationTime,t(s,D);else break;D=n(a)}}function S(N){if(g=!1,v(N),!m)if(n(s)!==null)m=!0,St(O);else{var D=n(a);D!==null&&xt(S,D.startTime-N)}}function O(N,D){m=!1,g&&(g=!1,d(L),L=-1),y=!0;var j=h;try{for(v(D),f=n(s);f!==null&&(!(f.expirationTime>D)||N&&!me());){var Q=f.callback;if(typeof Q=="function"){f.callback=null,h=f.priorityLevel;var $=Q(f.expirationTime<=D);D=e.unstable_now(),typeof $=="function"?f.callback=$:f===n(s)&&r(s),v(D)}else r(s);f=n(s)}if(f!==null)var Ze=!0;else{var Ne=n(a);Ne!==null&&xt(S,Ne.startTime-D),Ze=!1}return Ze}finally{f=null,h=j,y=!1}}var k=!1,R=null,L=-1,X=5,U=-1;function me(){return!(e.unstable_now()-UN||125Q?(N.sortIndex=j,t(a,N),n(s)===null&&N===n(a)&&(g?(d(L),L=-1):g=!0,xt(S,j-Q))):(N.sortIndex=$,t(s,N),m||y||(m=!0,St(O))),N},e.unstable_shouldYield=me,e.unstable_wrapCallback=function(N){var D=h;return function(){var j=h;h=D;try{return N.apply(this,arguments)}finally{h=j}}}})(jf);Df.exports=jf;var vm=Df.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 Mf=w,Xe=vm;function C(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"),ou=Object.prototype.hasOwnProperty,ym=/^[: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]*$/,La={},Ia={};function gm(e){return ou.call(Ia,e)?!0:ou.call(La,e)?!1:ym.test(e)?Ia[e]=!0:(La[e]=!0,!1)}function wm(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 Em(e,t,n,r){if(t===null||typeof t>"u"||wm(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 De(e,t,n,r,o,i,l){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=l}var Ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ee[e]=new De(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ee[t]=new De(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ee[e]=new De(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ee[e]=new De(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){Ee[e]=new De(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ee[e]=new De(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ee[e]=new De(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ee[e]=new De(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ee[e]=new De(e,5,!1,e.toLowerCase(),null,!1,!1)});var ys=/[\-:]([a-z])/g;function gs(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(ys,gs);Ee[t]=new De(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(ys,gs);Ee[t]=new De(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(ys,gs);Ee[t]=new De(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ee[e]=new De(e,1,!1,e.toLowerCase(),null,!1,!1)});Ee.xlinkHref=new De("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ee[e]=new De(e,1,!1,e.toLowerCase(),null,!0,!0)});function ws(e,t,n,r){var o=Ee.hasOwnProperty(t)?Ee[t]:null;(o!==null?o.type!==0:r||!(2u||o[l]!==i[u]){var s=` +`+o[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=u);break}}}finally{Cl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Tr(e):""}function Sm(e){switch(e.tag){case 5:return Tr(e.type);case 16:return Tr("Lazy");case 13:return Tr("Suspense");case 19:return Tr("SuspenseList");case 0:case 2:case 15:return e=Pl(e.type,!1),e;case 11:return e=Pl(e.type.render,!1),e;case 1:return e=Pl(e.type,!0),e;default:return""}}function su(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 bn:return"Fragment";case Fn:return"Portal";case iu:return"Profiler";case Es:return"StrictMode";case lu:return"Suspense";case uu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case zf:return(e.displayName||"Context")+".Consumer";case bf:return(e._context.displayName||"Context")+".Provider";case Ss:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xs:return t=e.displayName||null,t!==null?t:su(e.type)||"Memo";case Qt:t=e._payload,e=e._init;try{return su(e(t))}catch{}}return null}function xm(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 su(t);case 8:return t===Es?"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 fn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function $f(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Cm(e){var t=$f(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(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function To(e){e._valueTracker||(e._valueTracker=Cm(e))}function Bf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=$f(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ci(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 au(e,t){var n=t.checked;return le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ja(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=fn(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 Hf(e,t){t=t.checked,t!=null&&ws(e,"checked",t,!1)}function cu(e,t){Hf(e,t);var n=fn(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")?fu(e,t.type,n):t.hasOwnProperty("defaultValue")&&fu(e,t.type,fn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ma(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 fu(e,t,n){(t!=="number"||ci(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Rr=Array.isArray;function qn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Ro.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Vr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ir={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},Pm=["Webkit","ms","Moz","O"];Object.keys(Ir).forEach(function(e){Pm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ir[t]=Ir[e]})});function Qf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ir.hasOwnProperty(e)&&Ir[e]?(""+t).trim():t+"px"}function Xf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Qf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Om=le({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 hu(e,t){if(t){if(Om[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function mu(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 vu=null;function Cs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var yu=null,Jn=null,Zn=null;function za(e){if(e=vo(e)){if(typeof yu!="function")throw Error(C(280));var t=e.stateNode;t&&(t=qi(t),yu(e.stateNode,e.type,t))}}function Yf(e){Jn?Zn?Zn.push(e):Zn=[e]:Jn=e}function qf(){if(Jn){var e=Jn,t=Zn;if(Zn=Jn=null,za(e),t)for(e=0;e>>=0,e===0?32:31-(Mm(e)/Fm|0)|0}var No=64,_o=4194304;function Nr(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 hi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=Nr(u):(i&=l,i!==0&&(r=Nr(i)))}else l=n&~o,l!==0?r=Nr(l):i!==0&&(r=Nr(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 ho(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-yt(t),e[t]=n}function $m(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=jr),Xa=String.fromCharCode(32),Ya=!1;function vd(e,t){switch(e){case"keyup":return mv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var zn=!1;function yv(e,t){switch(e){case"compositionend":return yd(t);case"keypress":return t.which!==32?null:(Ya=!0,Xa);case"textInput":return e=t.data,e===Xa&&Ya?null:e;default:return null}}function gv(e,t){if(zn)return e==="compositionend"||!As&&vd(e,t)?(e=hd(),qo=Rs=Gt=null,zn=!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=Ga(n)}}function Sd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Sd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xd(){for(var e=window,t=ci();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ci(e.document)}return t}function Ls(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 Tv(e){var t=xd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Sd(n.ownerDocument.documentElement,n)){if(r!==null&&Ls(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=ec(n,i);var l=ec(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.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,Un=null,Cu=null,Fr=null,Pu=!1;function tc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Pu||Un==null||Un!==ci(r)||(r=Un,"selectionStart"in r&&Ls(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}),Fr&&Jr(Fr,r)||(Fr=r,r=yi(Cu,"onSelect"),0Hn||(e.current=_u[Hn],_u[Hn]=null,Hn--)}function ee(e,t){Hn++,_u[Hn]=e.current,e.current=t}var dn={},Te=hn(dn),ze=hn(!1),Tn=dn;function or(e,t){var n=e.type.contextTypes;if(!n)return dn;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 Ue(e){return e=e.childContextTypes,e!=null}function wi(){ne(ze),ne(Te)}function sc(e,t,n){if(Te.current!==dn)throw Error(C(168));ee(Te,t),ee(ze,n)}function Ad(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(C(108,xm(e)||"Unknown",o));return le({},n,r)}function Ei(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dn,Tn=Te.current,ee(Te,e),ee(ze,ze.current),!0}function ac(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=Ad(e,t,Tn),r.__reactInternalMemoizedMergedChildContext=e,ne(ze),ne(Te),ee(Te,e)):ne(ze),ee(ze,n)}var Lt=null,Ji=!1,bl=!1;function Ld(e){Lt===null?Lt=[e]:Lt.push(e)}function zv(e){Ji=!0,Ld(e)}function mn(){if(!bl&&Lt!==null){bl=!0;var e=0,t=Z;try{var n=Lt;for(Z=1;e>=l,o-=l,It=1<<32-yt(t)+o|n<L?(X=R,R=null):X=R.sibling;var U=h(d,R,v[L],S);if(U===null){R===null&&(R=X);break}e&&R&&U.alternate===null&&t(d,R),p=i(U,p,L),k===null?O=U:k.sibling=U,k=U,R=X}if(L===v.length)return n(d,R),re&&wn(d,L),O;if(R===null){for(;LL?(X=R,R=null):X=R.sibling;var me=h(d,R,U.value,S);if(me===null){R===null&&(R=X);break}e&&R&&me.alternate===null&&t(d,R),p=i(me,p,L),k===null?O=me:k.sibling=me,k=me,R=X}if(U.done)return n(d,R),re&&wn(d,L),O;if(R===null){for(;!U.done;L++,U=v.next())U=f(d,U.value,S),U!==null&&(p=i(U,p,L),k===null?O=U:k.sibling=U,k=U);return re&&wn(d,L),O}for(R=r(d,R);!U.done;L++,U=v.next())U=y(R,d,L,U.value,S),U!==null&&(e&&U.alternate!==null&&R.delete(U.key===null?L:U.key),p=i(U,p,L),k===null?O=U:k.sibling=U,k=U);return e&&R.forEach(function(ct){return t(d,ct)}),re&&wn(d,L),O}function P(d,p,v,S){if(typeof v=="object"&&v!==null&&v.type===bn&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case ko:e:{for(var O=v.key,k=p;k!==null;){if(k.key===O){if(O=v.type,O===bn){if(k.tag===7){n(d,k.sibling),p=o(k,v.props.children),p.return=d,d=p;break e}}else if(k.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===Qt&&vc(O)===k.type){n(d,k.sibling),p=o(k,v.props),p.ref=xr(d,k,v),p.return=d,d=p;break e}n(d,k);break}else t(d,k);k=k.sibling}v.type===bn?(p=kn(v.props.children,d.mode,S,v.key),p.return=d,d=p):(S=oi(v.type,v.key,v.props,null,d.mode,S),S.ref=xr(d,p,v),S.return=d,d=S)}return l(d);case Fn:e:{for(k=v.key;p!==null;){if(p.key===k)if(p.tag===4&&p.stateNode.containerInfo===v.containerInfo&&p.stateNode.implementation===v.implementation){n(d,p.sibling),p=o(p,v.children||[]),p.return=d,d=p;break e}else{n(d,p);break}else t(d,p);p=p.sibling}p=Kl(v,d.mode,S),p.return=d,d=p}return l(d);case Qt:return k=v._init,P(d,p,k(v._payload),S)}if(Rr(v))return m(d,p,v,S);if(yr(v))return g(d,p,v,S);Fo(d,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,p!==null&&p.tag===6?(n(d,p.sibling),p=o(p,v),p.return=d,d=p):(n(d,p),p=Vl(v,d.mode,S),p.return=d,d=p),l(d)):n(d,p)}return P}var lr=Ud(!0),$d=Ud(!1),yo={},Rt=hn(yo),to=hn(yo),no=hn(yo);function Pn(e){if(e===yo)throw Error(C(174));return e}function $s(e,t){switch(ee(no,t),ee(to,e),ee(Rt,yo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:pu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=pu(t,e)}ne(Rt),ee(Rt,t)}function ur(){ne(Rt),ne(to),ne(no)}function Bd(e){Pn(no.current);var t=Pn(Rt.current),n=pu(t,e.type);t!==n&&(ee(to,e),ee(Rt,n))}function Bs(e){to.current===e&&(ne(Rt),ne(to))}var oe=hn(0);function ki(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 zl=[];function Hs(){for(var e=0;en?n:4,e(!0);var r=Ul.transition;Ul.transition={};try{e(!1),t()}finally{Z=n,Ul.transition=r}}function op(){return st().memoizedState}function Hv(e,t,n){var r=an(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ip(e))lp(t,n);else if(n=Md(e,t,n,r),n!==null){var o=Le();gt(n,e,r,o),up(n,t,r)}}function Wv(e,t,n){var r=an(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ip(e))lp(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,wt(u,l)){var s=t.interleaved;s===null?(o.next=o,zs(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=Md(e,t,o,r),n!==null&&(o=Le(),gt(n,e,r,o),up(n,t,r))}}function ip(e){var t=e.alternate;return e===ie||t!==null&&t===ie}function lp(e,t){br=Ti=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function up(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Os(e,n)}}var Ri={readContext:ut,useCallback:xe,useContext:xe,useEffect:xe,useImperativeHandle:xe,useInsertionEffect:xe,useLayoutEffect:xe,useMemo:xe,useReducer:xe,useRef:xe,useState:xe,useDebugValue:xe,useDeferredValue:xe,useTransition:xe,useMutableSource:xe,useSyncExternalStore:xe,useId:xe,unstable_isNewReconciler:!1},Vv={readContext:ut,useCallback:function(e,t){return Pt().memoizedState=[e,t===void 0?null:t],e},useContext:ut,useEffect:gc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ei(4194308,4,Gd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ei(4194308,4,e,t)},useInsertionEffect:function(e,t){return ei(4,2,e,t)},useMemo:function(e,t){var n=Pt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Pt();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=Hv.bind(null,ie,e),[r.memoizedState,e]},useRef:function(e){var t=Pt();return e={current:e},t.memoizedState=e},useState:yc,useDebugValue:Xs,useDeferredValue:function(e){return Pt().memoizedState=e},useTransition:function(){var e=yc(!1),t=e[0];return e=Bv.bind(null,e[1]),Pt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ie,o=Pt();if(re){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),ye===null)throw Error(C(349));Nn&30||Vd(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,gc(Qd.bind(null,r,i,e),[e]),r.flags|=2048,io(9,Kd.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Pt(),t=ye.identifierPrefix;if(re){var n=Dt,r=It;n=(r&~(1<<32-yt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ro++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Ot]=t,e[eo]=r,vp(e,t,!1,!1),t.stateNode=e;e:{switch(l=mu(n,r),n){case"dialog":te("cancel",e),te("close",e),o=r;break;case"iframe":case"object":case"embed":te("load",e),o=r;break;case"video":case"audio":for(o=0;o<_r.length;o++)te(_r[o],e);o=r;break;case"source":te("error",e),o=r;break;case"img":case"image":case"link":te("error",e),te("load",e),o=r;break;case"details":te("toggle",e),o=r;break;case"input":ja(e,r),o=au(e,r),te("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=le({},r,{value:void 0}),te("invalid",e);break;case"textarea":Fa(e,r),o=du(e,r),te("invalid",e);break;default:o=r}hu(n,o),u=o;for(i in u)if(u.hasOwnProperty(i)){var s=u[i];i==="style"?Xf(e,s):i==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&Kf(e,s)):i==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&Vr(e,s):typeof s=="number"&&Vr(e,""+s):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Wr.hasOwnProperty(i)?s!=null&&i==="onScroll"&&te("scroll",e):s!=null&&ws(e,i,s,l))}switch(n){case"input":To(e),Ma(e,r,!1);break;case"textarea":To(e),ba(e);break;case"option":r.value!=null&&e.setAttribute("value",""+fn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?qn(e,!!r.multiple,i,!1):r.defaultValue!=null&&qn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=gi)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ce(t),null;case 6:if(e&&t.stateNode!=null)gp(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(C(166));if(n=Pn(no.current),Pn(Rt.current),Mo(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ot]=t,(i=r.nodeValue!==n)&&(e=Qe,e!==null))switch(e.tag){case 3:jo(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&jo(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ot]=t,t.stateNode=r}return Ce(t),null;case 13:if(ne(oe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(re&&Ke!==null&&t.mode&1&&!(t.flags&128))jd(),ir(),t.flags|=98560,i=!1;else if(i=Mo(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(C(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(C(317));i[Ot]=t}else ir(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ce(t),i=!1}else mt!==null&&(Yu(mt),mt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||oe.current&1?pe===0&&(pe=3):ta())),t.updateQueue!==null&&(t.flags|=4),Ce(t),null);case 4:return ur(),$u(e,t),e===null&&Zr(t.stateNode.containerInfo),Ce(t),null;case 10:return bs(t.type._context),Ce(t),null;case 17:return Ue(t.type)&&wi(),Ce(t),null;case 19:if(ne(oe),i=t.memoizedState,i===null)return Ce(t),null;if(r=(t.flags&128)!==0,l=i.rendering,l===null)if(r)Cr(i,!1);else{if(pe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(l=ki(e),l!==null){for(t.flags|=128,Cr(i,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,l=i.alternate,l===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ee(oe,oe.current&1|2),t.child}e=e.sibling}i.tail!==null&&ae()>ar&&(t.flags|=128,r=!0,Cr(i,!1),t.lanes=4194304)}else{if(!r)if(e=ki(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Cr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!re)return Ce(t),null}else 2*ae()-i.renderingStartTime>ar&&n!==1073741824&&(t.flags|=128,r=!0,Cr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ae(),t.sibling=null,n=oe.current,ee(oe,r?n&1|2:n&1),t):(Ce(t),null);case 22:case 23:return ea(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?We&1073741824&&(Ce(t),t.subtreeFlags&6&&(t.flags|=8192)):Ce(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function Gv(e,t){switch(Ds(t),t.tag){case 1:return Ue(t.type)&&wi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ur(),ne(ze),ne(Te),Hs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Bs(t),null;case 13:if(ne(oe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));ir()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ne(oe),null;case 4:return ur(),null;case 10:return bs(t.type._context),null;case 22:case 23:return ea(),null;case 24:return null;default:return null}}var zo=!1,Oe=!1,ey=typeof WeakSet=="function"?WeakSet:Set,A=null;function Qn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){se(e,t,r)}else n.current=null}function Bu(e,t,n){try{n()}catch(r){se(e,t,r)}}var Tc=!1;function ty(e,t){if(Ou=mi,e=xd(),Ls(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 l=0,u=-1,s=-1,a=0,c=0,f=e,h=null;t:for(;;){for(var y;f!==n||o!==0&&f.nodeType!==3||(u=l+o),f!==i||r!==0&&f.nodeType!==3||(s=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(y=f.firstChild)!==null;)h=f,f=y;for(;;){if(f===e)break t;if(h===n&&++a===o&&(u=l),h===i&&++c===r&&(s=l),(y=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=y}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(ku={focusedElem:e,selectionRange:n},mi=!1,A=t;A!==null;)if(t=A,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,A=e;else for(;A!==null;){t=A;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 g=m.memoizedProps,P=m.memoizedState,d=t.stateNode,p=d.getSnapshotBeforeUpdate(t.elementType===t.type?g:pt(t.type,g),P);d.__reactInternalSnapshotBeforeUpdate=p}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(C(163))}}catch(S){se(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,A=e;break}A=t.return}return m=Tc,Tc=!1,m}function zr(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&&Bu(t,n,i)}o=o.next}while(o!==r)}}function el(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 Hu(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 wp(e){var t=e.alternate;t!==null&&(e.alternate=null,wp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ot],delete t[eo],delete t[Nu],delete t[Fv],delete t[bv])),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 Ep(e){return e.tag===5||e.tag===3||e.tag===4}function Rc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ep(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 Wu(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=gi));else if(r!==4&&(e=e.child,e!==null))for(Wu(e,t,n),e=e.sibling;e!==null;)Wu(e,t,n),e=e.sibling}function Vu(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(Vu(e,t,n),e=e.sibling;e!==null;)Vu(e,t,n),e=e.sibling}var ge=null,ht=!1;function Vt(e,t,n){for(n=n.child;n!==null;)Sp(e,t,n),n=n.sibling}function Sp(e,t,n){if(Tt&&typeof Tt.onCommitFiberUnmount=="function")try{Tt.onCommitFiberUnmount(Ki,n)}catch{}switch(n.tag){case 5:Oe||Qn(n,t);case 6:var r=ge,o=ht;ge=null,Vt(e,t,n),ge=r,ht=o,ge!==null&&(ht?(e=ge,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ge.removeChild(n.stateNode));break;case 18:ge!==null&&(ht?(e=ge,n=n.stateNode,e.nodeType===8?Fl(e.parentNode,n):e.nodeType===1&&Fl(e,n),Yr(e)):Fl(ge,n.stateNode));break;case 4:r=ge,o=ht,ge=n.stateNode.containerInfo,ht=!0,Vt(e,t,n),ge=r,ht=o;break;case 0:case 11:case 14:case 15:if(!Oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Bu(n,t,l),o=o.next}while(o!==r)}Vt(e,t,n);break;case 1:if(!Oe&&(Qn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){se(n,t,u)}Vt(e,t,n);break;case 21:Vt(e,t,n);break;case 22:n.mode&1?(Oe=(r=Oe)||n.memoizedState!==null,Vt(e,t,n),Oe=r):Vt(e,t,n);break;default:Vt(e,t,n)}}function Nc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new ey),t.forEach(function(r){var o=cy.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function dt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ae()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ry(r/1960))-r,10e?16:e,en===null)var r=!1;else{if(e=en,en=null,Ai=0,K&6)throw Error(C(331));var o=K;for(K|=4,A=e.current;A!==null;){var i=A,l=i.child;if(A.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sae()-Zs?On(e,0):Js|=n),$e(e,t)}function Np(e,t){t===0&&(e.mode&1?(t=_o,_o<<=1,!(_o&130023424)&&(_o=4194304)):t=1);var n=Le();e=Ut(e,t),e!==null&&(ho(e,t,n),$e(e,n))}function ay(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Np(e,n)}function cy(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(C(314))}r!==null&&r.delete(t),Np(e,n)}var _p;_p=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ze.current)be=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return be=!1,Jv(e,t,n);be=!!(e.flags&131072)}else be=!1,re&&t.flags&1048576&&Id(t,xi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ti(e,t),e=t.pendingProps;var o=or(t,Te.current);er(t,n),o=Vs(null,t,r,e,o,n);var i=Ks();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,Ue(r)?(i=!0,Ei(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Us(t),o.updater=Zi,t.stateNode=o,o._reactInternals=t,ju(t,r,e,n),t=bu(null,t,r,!0,i,n)):(t.tag=0,re&&i&&Is(t),Ae(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ti(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=dy(r),e=pt(r,e),o){case 0:t=Fu(null,t,r,e,n);break e;case 1:t=Pc(null,t,r,e,n);break e;case 11:t=xc(null,t,r,e,n);break e;case 14:t=Cc(null,t,r,pt(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pt(r,o),Fu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pt(r,o),Pc(e,t,r,o,n);case 3:e:{if(pp(t),e===null)throw Error(C(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Fd(e,t),Oi(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=sr(Error(C(423)),t),t=Oc(e,t,r,n,o);break e}else if(r!==o){o=sr(Error(C(424)),t),t=Oc(e,t,r,n,o);break e}else for(Ke=ln(t.stateNode.containerInfo.firstChild),Qe=t,re=!0,mt=null,n=$d(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ir(),r===o){t=$t(e,t,n);break e}Ae(e,t,r,n)}t=t.child}return t;case 5:return Bd(t),e===null&&Lu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,Tu(r,o)?l=null:i!==null&&Tu(r,i)&&(t.flags|=32),dp(e,t),Ae(e,t,l,n),t.child;case 6:return e===null&&Lu(t),null;case 13:return hp(e,t,n);case 4:return $s(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=lr(t,null,r,n):Ae(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pt(r,o),xc(e,t,r,o,n);case 7:return Ae(e,t,t.pendingProps,n),t.child;case 8:return Ae(e,t,t.pendingProps.children,n),t.child;case 12:return Ae(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,ee(Ci,r._currentValue),r._currentValue=l,i!==null)if(wt(i.value,l)){if(i.children===o.children&&!ze.current){t=$t(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Mt(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var c=a.pending;c===null?s.next=s:(s.next=c.next,c.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Iu(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(C(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Iu(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Ae(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,er(t,n),o=ut(o),r=r(o),t.flags|=1,Ae(e,t,r,n),t.child;case 14:return r=t.type,o=pt(r,t.pendingProps),o=pt(r.type,o),Cc(e,t,r,o,n);case 15:return cp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pt(r,o),ti(e,t),t.tag=1,Ue(r)?(e=!0,Ei(t)):e=!1,er(t,n),zd(t,r,o),ju(t,r,o,n),bu(null,t,r,!0,e,n);case 19:return mp(e,t,n);case 22:return fp(e,t,n)}throw Error(C(156,t.tag))};function Ap(e,t){return rd(e,t)}function fy(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 ot(e,t,n,r){return new fy(e,t,n,r)}function na(e){return e=e.prototype,!(!e||!e.isReactComponent)}function dy(e){if(typeof e=="function")return na(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ss)return 11;if(e===xs)return 14}return 2}function cn(e,t){var n=e.alternate;return n===null?(n=ot(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 oi(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")na(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case bn:return kn(n.children,o,i,t);case Es:l=8,o|=8;break;case iu:return e=ot(12,n,t,o|2),e.elementType=iu,e.lanes=i,e;case lu:return e=ot(13,n,t,o),e.elementType=lu,e.lanes=i,e;case uu:return e=ot(19,n,t,o),e.elementType=uu,e.lanes=i,e;case Uf:return nl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case bf:l=10;break e;case zf:l=9;break e;case Ss:l=11;break e;case xs:l=14;break e;case Qt:l=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=ot(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function kn(e,t,n,r){return e=ot(7,e,r,t),e.lanes=n,e}function nl(e,t,n,r){return e=ot(22,e,r,t),e.elementType=Uf,e.lanes=n,e.stateNode={isHidden:!1},e}function Vl(e,t,n){return e=ot(6,e,null,t),e.lanes=n,e}function Kl(e,t,n){return t=ot(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function py(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=kl(0),this.expirationTimes=kl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ra(e,t,n,r,o,i,l,u,s){return e=new py(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=ot(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Us(i),e}function hy(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(jp)}catch(e){console.error(e)}}jp(),If.exports=Ye;var Mp=If.exports;const wy=ds(Mp);var Fc=Mp;ru.createRoot=Fc.createRoot,ru.hydrateRoot=Fc.hydrateRoot;/** + * @remix-run/router v1.6.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Di(){return Di=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function ua(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Sy(){return Math.random().toString(36).substr(2,8)}function zc(e,t){return{usr:e.state,key:e.key,idx:t}}function qu(e,t,n,r){return n===void 0&&(n=null),Di({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ul(t):t,{state:n,key:t&&t.key||r||Sy()})}function Fp(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function ul(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function xy(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,l=o.history,u=tn.Pop,s=null,a=c();a==null&&(a=0,l.replaceState(Di({},l.state,{idx:a}),""));function c(){return(l.state||{idx:null}).idx}function f(){u=tn.Pop;let P=c(),d=P==null?null:P-a;a=P,s&&s({action:u,location:g.location,delta:d})}function h(P,d){u=tn.Push;let p=qu(g.location,P,d);n&&n(p,P),a=c()+1;let v=zc(p,a),S=g.createHref(p);try{l.pushState(v,"",S)}catch{o.location.assign(S)}i&&s&&s({action:u,location:g.location,delta:1})}function y(P,d){u=tn.Replace;let p=qu(g.location,P,d);n&&n(p,P),a=c();let v=zc(p,a),S=g.createHref(p);l.replaceState(v,"",S),i&&s&&s({action:u,location:g.location,delta:0})}function m(P){let d=o.location.origin!=="null"?o.location.origin:o.location.href,p=typeof P=="string"?P:Fp(P);return Be(d,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,d)}let g={get action(){return u},get location(){return e(o,l)},listen(P){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(bc,f),s=P,()=>{o.removeEventListener(bc,f),s=null}},createHref(P){return t(o,P)},createURL:m,encodeLocation(P){let d=m(P);return{pathname:d.pathname,search:d.search,hash:d.hash}},push:h,replace:y,go(P){return l.go(P)}};return g}var Uc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Uc||(Uc={}));function Cy(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?ul(t):t,o=Up(r.pathname||"/",n);if(o==null)return null;let i=bp(e);Py(i);let l=null;for(let u=0;l==null&&u{let s={relativePath:u===void 0?i.path||"":u,caseSensitive:i.caseSensitive===!0,childrenIndex:l,route:i};s.relativePath.startsWith("/")&&(Be(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let a=nr([r,s.relativePath]),c=n.concat(s);i.children&&i.children.length>0&&(Be(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),bp(i.children,t,c,a)),!(i.path==null&&!i.index)&&t.push({path:a,score:Ay(a,i.index),routesMeta:c})};return e.forEach((i,l)=>{var u;if(i.path===""||!((u=i.path)!=null&&u.includes("?")))o(i,l);else for(let s of zp(i.path))o(i,l,s)}),t}function zp(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let l=zp(r.join("/")),u=[];return u.push(...l.map(s=>s===""?i:[i,s].join("/"))),o&&u.push(...l),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function Py(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Ly(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Oy=/^:\w+$/,ky=3,Ty=2,Ry=1,Ny=10,_y=-2,$c=e=>e==="*";function Ay(e,t){let n=e.split("/"),r=n.length;return n.some($c)&&(r+=_y),t&&(r+=Ty),n.filter(o=>!$c(o)).reduce((o,i)=>o+(Oy.test(i)?ky:i===""?Ry:Ny),r)}function Ly(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function Iy(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let l=0;l{if(c==="*"){let h=u[f]||"";l=i.slice(0,i.length-h.length).replace(/(.)\/+$/,"$1")}return a[c]=Fy(u[f]||"",c),a},{}),pathname:i,pathnameBase:l,pattern:e}}function jy(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),ua(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(l,u)=>(r.push(u),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function My(e){try{return decodeURI(e)}catch(t){return ua(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Fy(e,t){try{return decodeURIComponent(e)}catch(n){return ua(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Up(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const nr=e=>e.join("/").replace(/\/\/+/g,"/"),by=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function zy(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const $p=["post","put","patch","delete"];new Set($p);const Uy=["get",...$p];new Set(Uy);/** + * React Router v6.11.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Ju(){return Ju=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},g,{params:Object.assign({},l,g.params),pathname:nr([u,r.encodeLocation?r.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?u:nr([u,r.encodeLocation?r.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),o,n);return t&&m?w.createElement(sl.Provider,{value:{location:Ju({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:tn.Pop}},m):m}function Ky(){let e=eg(),t=zy(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:o},n):null,i)}const Qy=w.createElement(Ky,null);class Xy extends w.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?w.createElement(al.Provider,{value:this.props.routeContext},w.createElement(Hp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Yy(e){let{routeContext:t,match:n,children:r}=e,o=w.useContext($y);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(al.Provider,{value:t},r)}function qy(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let i=e,l=(r=n)==null?void 0:r.errors;if(l!=null){let u=i.findIndex(s=>s.route.id&&(l==null?void 0:l[s.route.id]));u>=0||Be(!1),i=i.slice(0,Math.min(i.length,u+1))}return i.reduceRight((u,s,a)=>{let c=s.route.id?l==null?void 0:l[s.route.id]:null,f=null;n&&(f=s.route.errorElement||Qy);let h=t.concat(i.slice(0,a+1)),y=()=>{let m;return c?m=f:s.route.Component?m=w.createElement(s.route.Component,null):s.route.element?m=s.route.element:m=u,w.createElement(Yy,{match:s,routeContext:{outlet:u,matches:h,isDataRoute:n!=null},children:m})};return n&&(s.route.ErrorBoundary||s.route.errorElement||a===0)?w.createElement(Xy,{location:n.location,revalidation:n.revalidation,component:f,error:c,children:y(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):y()},null)}var Bc;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(Bc||(Bc={}));var ji;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"})(ji||(ji={}));function Jy(e){let t=w.useContext(By);return t||Be(!1),t}function Zy(e){let t=w.useContext(al);return t||Be(!1),t}function Gy(e){let t=Zy(),n=t.matches[t.matches.length-1];return n.route.id||Be(!1),n.route.id}function eg(){var e;let t=w.useContext(Hp),n=Jy(ji.UseRouteError),r=Gy(ji.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function Wp(e){Be(!1)}function tg(e){let{basename:t="/",children:n=null,location:r,navigationType:o=tn.Pop,navigator:i,static:l=!1}=e;sa()&&Be(!1);let u=t.replace(/^\/*/,"/"),s=w.useMemo(()=>({basename:u,navigator:i,static:l}),[u,i,l]);typeof r=="string"&&(r=ul(r));let{pathname:a="/",search:c="",hash:f="",state:h=null,key:y="default"}=r,m=w.useMemo(()=>{let g=Up(a,u);return g==null?null:{location:{pathname:g,search:c,hash:f,state:h,key:y},navigationType:o}},[u,a,c,f,h,y,o]);return m==null?null:w.createElement(Bp.Provider,{value:s},w.createElement(sl.Provider,{children:n,value:m}))}function ng(e){let{children:t,location:n}=e;return Wy(Zu(t),n)}var Hc;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Hc||(Hc={}));new Promise(()=>{});function Zu(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,o)=>{if(!w.isValidElement(r))return;let i=[...t,o];if(r.type===w.Fragment){n.push.apply(n,Zu(r.props.children,i));return}r.type!==Wp&&Be(!1),!r.props.index||!r.props.children||Be(!1);let l={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=Zu(r.props.children,i)),n.push(l)}),n}/** + * React Router DOM v6.11.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function rg(e){let{basename:t,children:n,window:r}=e,o=w.useRef();o.current==null&&(o.current=Ey({window:r,v5Compat:!0}));let i=o.current,[l,u]=w.useState({action:i.action,location:i.location});return w.useLayoutEffect(()=>i.listen(u),[i]),w.createElement(tg,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:i})}var Wc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(Wc||(Wc={}));var Vc;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Vc||(Vc={}));function Vp(e,t){return function(){return e.apply(t,arguments)}}const{toString:og}=Object.prototype,{getPrototypeOf:aa}=Object,cl=(e=>t=>{const n=og.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Nt=e=>(e=e.toLowerCase(),t=>cl(t)===e),fl=e=>t=>typeof t===e,{isArray:mr}=Array,uo=fl("undefined");function ig(e){return e!==null&&!uo(e)&&e.constructor!==null&&!uo(e.constructor)&<(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Kp=Nt("ArrayBuffer");function lg(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Kp(e.buffer),t}const ug=fl("string"),lt=fl("function"),Qp=fl("number"),dl=e=>e!==null&&typeof e=="object",sg=e=>e===!0||e===!1,ii=e=>{if(cl(e)!=="object")return!1;const t=aa(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ag=Nt("Date"),cg=Nt("File"),fg=Nt("Blob"),dg=Nt("FileList"),pg=e=>dl(e)&<(e.pipe),hg=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||lt(e.append)&&((t=cl(e))==="formdata"||t==="object"&<(e.toString)&&e.toString()==="[object FormData]"))},mg=Nt("URLSearchParams"),vg=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function go(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),mr(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Yp=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),qp=e=>!uo(e)&&e!==Yp;function Gu(){const{caseless:e}=qp(this)&&this||{},t={},n=(r,o)=>{const i=e&&Xp(t,o)||o;ii(t[i])&&ii(r)?t[i]=Gu(t[i],r):ii(r)?t[i]=Gu({},r):mr(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r(go(t,(o,i)=>{n&<(o)?e[i]=Vp(o,n):e[i]=o},{allOwnKeys:r}),e),gg=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),wg=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Eg=(e,t,n,r)=>{let o,i,l;const u={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)l=o[i],(!r||r(l,e,t))&&!u[l]&&(t[l]=e[l],u[l]=!0);e=n!==!1&&aa(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Sg=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},xg=e=>{if(!e)return null;if(mr(e))return e;let t=e.length;if(!Qp(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Cg=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&aa(Uint8Array)),Pg=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},Og=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},kg=Nt("HTMLFormElement"),Tg=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Kc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Rg=Nt("RegExp"),Jp=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};go(n,(o,i)=>{t(o,i,e)!==!1&&(r[i]=o)}),Object.defineProperties(e,r)},Ng=e=>{Jp(e,(t,n)=>{if(lt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(lt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},_g=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return mr(e)?r(e):r(String(e).split(t)),n},Ag=()=>{},Lg=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Ql="abcdefghijklmnopqrstuvwxyz",Qc="0123456789",Zp={DIGIT:Qc,ALPHA:Ql,ALPHA_DIGIT:Ql+Ql.toUpperCase()+Qc},Ig=(e=16,t=Zp.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Dg(e){return!!(e&<(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const jg=e=>{const t=new Array(10),n=(r,o)=>{if(dl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=mr(r)?[]:{};return go(r,(l,u)=>{const s=n(l,o+1);!uo(s)&&(i[u]=s)}),t[o]=void 0,i}}return r};return n(e,0)},Mg=Nt("AsyncFunction"),Fg=e=>e&&(dl(e)||lt(e))&<(e.then)&<(e.catch),E={isArray:mr,isArrayBuffer:Kp,isBuffer:ig,isFormData:hg,isArrayBufferView:lg,isString:ug,isNumber:Qp,isBoolean:sg,isObject:dl,isPlainObject:ii,isUndefined:uo,isDate:ag,isFile:cg,isBlob:fg,isRegExp:Rg,isFunction:lt,isStream:pg,isURLSearchParams:mg,isTypedArray:Cg,isFileList:dg,forEach:go,merge:Gu,extend:yg,trim:vg,stripBOM:gg,inherits:wg,toFlatObject:Eg,kindOf:cl,kindOfTest:Nt,endsWith:Sg,toArray:xg,forEachEntry:Pg,matchAll:Og,isHTMLForm:kg,hasOwnProperty:Kc,hasOwnProp:Kc,reduceDescriptors:Jp,freezeMethods:Ng,toObjectSet:_g,toCamelCase:Tg,noop:Ag,toFiniteNumber:Lg,findKey:Xp,global:Yp,isContextDefined:qp,ALPHABET:Zp,generateString:Ig,isSpecCompliantForm:Dg,toJSONObject:jg,isAsyncFn:Mg,isThenable:Fg};function V(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}E.inherits(V,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:E.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Gp=V.prototype,eh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{eh[e]={value:e}});Object.defineProperties(V,eh);Object.defineProperty(Gp,"isAxiosError",{value:!0});V.from=(e,t,n,r,o,i)=>{const l=Object.create(Gp);return E.toFlatObject(e,l,function(s){return s!==Error.prototype},u=>u!=="isAxiosError"),V.call(l,e.message,t,n,r,o),l.cause=e,l.name=e.name,i&&Object.assign(l,i),l};const bg=null;function es(e){return E.isPlainObject(e)||E.isArray(e)}function th(e){return E.endsWith(e,"[]")?e.slice(0,-2):e}function Xc(e,t,n){return e?e.concat(t).map(function(o,i){return o=th(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function zg(e){return E.isArray(e)&&!e.some(es)}const Ug=E.toFlatObject(E,{},null,function(t){return/^is[A-Z]/.test(t)});function pl(e,t,n){if(!E.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=E.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,P){return!E.isUndefined(P[g])});const r=n.metaTokens,o=n.visitor||c,i=n.dots,l=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&E.isSpecCompliantForm(t);if(!E.isFunction(o))throw new TypeError("visitor must be a function");function a(m){if(m===null)return"";if(E.isDate(m))return m.toISOString();if(!s&&E.isBlob(m))throw new V("Blob is not supported. Use a Buffer instead.");return E.isArrayBuffer(m)||E.isTypedArray(m)?s&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function c(m,g,P){let d=m;if(m&&!P&&typeof m=="object"){if(E.endsWith(g,"{}"))g=r?g:g.slice(0,-2),m=JSON.stringify(m);else if(E.isArray(m)&&zg(m)||(E.isFileList(m)||E.endsWith(g,"[]"))&&(d=E.toArray(m)))return g=th(g),d.forEach(function(v,S){!(E.isUndefined(v)||v===null)&&t.append(l===!0?Xc([g],S,i):l===null?g:g+"[]",a(v))}),!1}return es(m)?!0:(t.append(Xc(P,g,i),a(m)),!1)}const f=[],h=Object.assign(Ug,{defaultVisitor:c,convertValue:a,isVisitable:es});function y(m,g){if(!E.isUndefined(m)){if(f.indexOf(m)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(m),E.forEach(m,function(d,p){(!(E.isUndefined(d)||d===null)&&o.call(t,d,E.isString(p)?p.trim():p,g,h))===!0&&y(d,g?g.concat(p):[p])}),f.pop()}}if(!E.isObject(e))throw new TypeError("data must be an object");return y(e),t}function Yc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ca(e,t){this._pairs=[],e&&pl(e,this,t)}const nh=ca.prototype;nh.append=function(t,n){this._pairs.push([t,n])};nh.toString=function(t){const n=t?function(r){return t.call(this,r,Yc)}:Yc;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function $g(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function rh(e,t,n){if(!t)return e;const r=n&&n.encode||$g,o=n&&n.serialize;let i;if(o?i=o(t,n):i=E.isURLSearchParams(t)?t.toString():new ca(t,n).toString(r),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Bg{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){E.forEach(this.handlers,function(r){r!==null&&t(r)})}}const qc=Bg,oh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Hg=typeof URLSearchParams<"u"?URLSearchParams:ca,Wg=typeof FormData<"u"?FormData:null,Vg=typeof Blob<"u"?Blob:null,Kg=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Qg=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),kt={isBrowser:!0,classes:{URLSearchParams:Hg,FormData:Wg,Blob:Vg},isStandardBrowserEnv:Kg,isStandardBrowserWebWorkerEnv:Qg,protocols:["http","https","file","blob","url","data"]};function Xg(e,t){return pl(e,new kt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return kt.isNode&&E.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Yg(e){return E.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function qg(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return l=!l&&E.isArray(o)?o.length:l,s?(E.hasOwnProp(o,l)?o[l]=[o[l],r]:o[l]=r,!u):((!o[l]||!E.isObject(o[l]))&&(o[l]=[]),t(n,r,o[l],i)&&E.isArray(o[l])&&(o[l]=qg(o[l])),!u)}if(E.isFormData(e)&&E.isFunction(e.entries)){const n={};return E.forEachEntry(e,(r,o)=>{t(Yg(r),o,n,0)}),n}return null}const Jg={"Content-Type":void 0};function Zg(e,t,n){if(E.isString(e))try{return(t||JSON.parse)(e),E.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const hl={transitional:oh,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=E.isObject(t);if(i&&E.isHTMLForm(t)&&(t=new FormData(t)),E.isFormData(t))return o&&o?JSON.stringify(ih(t)):t;if(E.isArrayBuffer(t)||E.isBuffer(t)||E.isStream(t)||E.isFile(t)||E.isBlob(t))return t;if(E.isArrayBufferView(t))return t.buffer;if(E.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Xg(t,this.formSerializer).toString();if((u=E.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return pl(u?{"files[]":t}:t,s&&new s,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),Zg(t)):t}],transformResponse:[function(t){const n=this.transitional||hl.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&E.isString(t)&&(r&&!this.responseType||o)){const l=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(u){if(l)throw u.name==="SyntaxError"?V.from(u,V.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:kt.classes.FormData,Blob:kt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};E.forEach(["delete","get","head"],function(t){hl.headers[t]={}});E.forEach(["post","put","patch"],function(t){hl.headers[t]=E.merge(Jg)});const fa=hl,Gg=E.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),e0=e=>{const t={};let n,r,o;return e&&e.split(` +`).forEach(function(l){o=l.indexOf(":"),n=l.substring(0,o).trim().toLowerCase(),r=l.substring(o+1).trim(),!(!n||t[n]&&Gg[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Jc=Symbol("internals");function Or(e){return e&&String(e).trim().toLowerCase()}function li(e){return e===!1||e==null?e:E.isArray(e)?e.map(li):String(e)}function t0(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const n0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Xl(e,t,n,r,o){if(E.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!E.isString(t)){if(E.isString(r))return t.indexOf(r)!==-1;if(E.isRegExp(r))return r.test(t)}}function r0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function o0(e,t){const n=E.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,l){return this[r].call(this,t,o,i,l)},configurable:!0})})}let ml=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(u,s,a){const c=Or(s);if(!c)throw new Error("header name must be a non-empty string");const f=E.findKey(o,c);(!f||o[f]===void 0||a===!0||a===void 0&&o[f]!==!1)&&(o[f||s]=li(u))}const l=(u,s)=>E.forEach(u,(a,c)=>i(a,c,s));return E.isPlainObject(t)||t instanceof this.constructor?l(t,n):E.isString(t)&&(t=t.trim())&&!n0(t)?l(e0(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=Or(t),t){const r=E.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return t0(o);if(E.isFunction(n))return n.call(this,o,r);if(E.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Or(t),t){const r=E.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Xl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(l){if(l=Or(l),l){const u=E.findKey(r,l);u&&(!n||Xl(r,r[u],u,n))&&(delete r[u],o=!0)}}return E.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Xl(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return E.forEach(this,(o,i)=>{const l=E.findKey(r,i);if(l){n[l]=li(o),delete n[i];return}const u=t?r0(i):String(i).trim();u!==i&&delete n[i],n[u]=li(o),r[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return E.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&E.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Jc]=this[Jc]={accessors:{}}).accessors,o=this.prototype;function i(l){const u=Or(l);r[u]||(o0(o,l),r[u]=!0)}return E.isArray(t)?t.forEach(i):i(t),this}};ml.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.freezeMethods(ml.prototype);E.freezeMethods(ml);const Ft=ml;function Yl(e,t){const n=this||fa,r=t||n,o=Ft.from(r.headers);let i=r.data;return E.forEach(e,function(u){i=u.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function lh(e){return!!(e&&e.__CANCEL__)}function wo(e,t,n){V.call(this,e??"canceled",V.ERR_CANCELED,t,n),this.name="CanceledError"}E.inherits(wo,V,{__CANCEL__:!0});function i0(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new V("Request failed with status code "+n.status,[V.ERR_BAD_REQUEST,V.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const l0=kt.isStandardBrowserEnv?function(){return{write:function(n,r,o,i,l,u){const s=[];s.push(n+"="+encodeURIComponent(r)),E.isNumber(o)&&s.push("expires="+new Date(o).toGMTString()),E.isString(i)&&s.push("path="+i),E.isString(l)&&s.push("domain="+l),u===!0&&s.push("secure"),document.cookie=s.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function u0(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function s0(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function uh(e,t){return e&&!u0(t)?s0(e,t):t}const a0=kt.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let l=i;return t&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(l){const u=E.isString(l)?o(l):l;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}();function c0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function f0(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,l;return t=t!==void 0?t:1e3,function(s){const a=Date.now(),c=r[i];l||(l=a),n[o]=s,r[o]=a;let f=i,h=0;for(;f!==o;)h+=n[f++],f=f%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),a-l{const i=o.loaded,l=o.lengthComputable?o.total:void 0,u=i-n,s=r(u),a=i<=l;n=i;const c={loaded:i,total:l,progress:l?i/l:void 0,bytes:u,rate:s||void 0,estimated:s&&l&&a?(l-i)/s:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const d0=typeof XMLHttpRequest<"u",p0=d0&&function(e){return new Promise(function(n,r){let o=e.data;const i=Ft.from(e.headers).normalize(),l=e.responseType;let u;function s(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}E.isFormData(o)&&(kt.isStandardBrowserEnv||kt.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let a=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(y+":"+m))}const c=uh(e.baseURL,e.url);a.open(e.method.toUpperCase(),rh(c,e.params,e.paramsSerializer),!0),a.timeout=e.timeout;function f(){if(!a)return;const y=Ft.from("getAllResponseHeaders"in a&&a.getAllResponseHeaders()),g={data:!l||l==="text"||l==="json"?a.responseText:a.response,status:a.status,statusText:a.statusText,headers:y,config:e,request:a};i0(function(d){n(d),s()},function(d){r(d),s()},g),a=null}if("onloadend"in a?a.onloadend=f:a.onreadystatechange=function(){!a||a.readyState!==4||a.status===0&&!(a.responseURL&&a.responseURL.indexOf("file:")===0)||setTimeout(f)},a.onabort=function(){a&&(r(new V("Request aborted",V.ECONNABORTED,e,a)),a=null)},a.onerror=function(){r(new V("Network Error",V.ERR_NETWORK,e,a)),a=null},a.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const g=e.transitional||oh;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),r(new V(m,g.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,e,a)),a=null},kt.isStandardBrowserEnv){const y=(e.withCredentials||a0(c))&&e.xsrfCookieName&&l0.read(e.xsrfCookieName);y&&i.set(e.xsrfHeaderName,y)}o===void 0&&i.setContentType(null),"setRequestHeader"in a&&E.forEach(i.toJSON(),function(m,g){a.setRequestHeader(g,m)}),E.isUndefined(e.withCredentials)||(a.withCredentials=!!e.withCredentials),l&&l!=="json"&&(a.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&a.addEventListener("progress",Zc(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&a.upload&&a.upload.addEventListener("progress",Zc(e.onUploadProgress)),(e.cancelToken||e.signal)&&(u=y=>{a&&(r(!y||y.type?new wo(null,e,a):y),a.abort(),a=null)},e.cancelToken&&e.cancelToken.subscribe(u),e.signal&&(e.signal.aborted?u():e.signal.addEventListener("abort",u)));const h=c0(c);if(h&&kt.protocols.indexOf(h)===-1){r(new V("Unsupported protocol "+h+":",V.ERR_BAD_REQUEST,e));return}a.send(o||null)})},ui={http:bg,xhr:p0};E.forEach(ui,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const h0={getAdapter:e=>{e=E.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let o=0;oe instanceof Ft?e.toJSON():e;function cr(e,t){t=t||{};const n={};function r(a,c,f){return E.isPlainObject(a)&&E.isPlainObject(c)?E.merge.call({caseless:f},a,c):E.isPlainObject(c)?E.merge({},c):E.isArray(c)?c.slice():c}function o(a,c,f){if(E.isUndefined(c)){if(!E.isUndefined(a))return r(void 0,a,f)}else return r(a,c,f)}function i(a,c){if(!E.isUndefined(c))return r(void 0,c)}function l(a,c){if(E.isUndefined(c)){if(!E.isUndefined(a))return r(void 0,a)}else return r(void 0,c)}function u(a,c,f){if(f in t)return r(a,c);if(f in e)return r(void 0,a)}const s={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:u,headers:(a,c)=>o(ef(a),ef(c),!0)};return E.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=s[c]||o,h=f(e[c],t[c],c);E.isUndefined(h)&&f!==u||(n[c]=h)}),n}const sh="1.4.0",da={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{da[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const tf={};da.transitional=function(t,n,r){function o(i,l){return"[Axios v"+sh+"] Transitional option '"+i+"'"+l+(r?". "+r:"")}return(i,l,u)=>{if(t===!1)throw new V(o(l," has been removed"+(n?" in "+n:"")),V.ERR_DEPRECATED);return n&&!tf[l]&&(tf[l]=!0,console.warn(o(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,l,u):!0}};function m0(e,t,n){if(typeof e!="object")throw new V("options must be an object",V.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],l=t[i];if(l){const u=e[i],s=u===void 0||l(u,i,e);if(s!==!0)throw new V("option "+i+" must be "+s,V.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new V("Unknown option "+i,V.ERR_BAD_OPTION)}}const ts={assertOptions:m0,validators:da},Kt=ts.validators;let Mi=class{constructor(t){this.defaults=t,this.interceptors={request:new qc,response:new qc}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=cr(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&ts.assertOptions(r,{silentJSONParsing:Kt.transitional(Kt.boolean),forcedJSONParsing:Kt.transitional(Kt.boolean),clarifyTimeoutError:Kt.transitional(Kt.boolean)},!1),o!=null&&(E.isFunction(o)?n.paramsSerializer={serialize:o}:ts.assertOptions(o,{encode:Kt.function,serialize:Kt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l;l=i&&E.merge(i.common,i[n.method]),l&&E.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=Ft.concat(l,i);const u=[];let s=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(s=s&&g.synchronous,u.unshift(g.fulfilled,g.rejected))});const a=[];this.interceptors.response.forEach(function(g){a.push(g.fulfilled,g.rejected)});let c,f=0,h;if(!s){const m=[Gc.bind(this),void 0];for(m.unshift.apply(m,u),m.push.apply(m,a),h=m.length,c=Promise.resolve(n);f{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const l=new Promise(u=>{r.subscribe(u),i=u}).then(o);return l.cancel=function(){r.unsubscribe(i)},l},t(function(i,l,u){r.reason||(r.reason=new wo(i,l,u),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new ah(function(o){t=o}),cancel:t}}};const y0=v0;function g0(e){return function(n){return e.apply(null,n)}}function w0(e){return E.isObject(e)&&e.isAxiosError===!0}const ns={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ns).forEach(([e,t])=>{ns[t]=e});const E0=ns;function ch(e){const t=new si(e),n=Vp(si.prototype.request,t);return E.extend(n,si.prototype,t,{allOwnKeys:!0}),E.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return ch(cr(e,o))},n}const he=ch(fa);he.Axios=si;he.CanceledError=wo;he.CancelToken=y0;he.isCancel=lh;he.VERSION=sh;he.toFormData=pl;he.AxiosError=V;he.Cancel=he.CanceledError;he.all=function(t){return Promise.all(t)};he.spread=g0;he.isAxiosError=w0;he.mergeConfig=cr;he.AxiosHeaders=Ft;he.formToJSON=e=>ih(E.isHTMLForm(e)?new FormData(e):e);he.HttpStatusCode=E0;he.default=he;const Sn=he,{Axios:S0,AxiosError:x0,CanceledError:C0,isCancel:P0,CancelToken:O0,VERSION:k0,all:T0,Cancel:R0,isAxiosError:N0,spread:_0,toFormData:A0,AxiosHeaders:L0,HttpStatusCode:I0,formToJSON:D0,mergeConfig:j0}=Sn,M0=Object.freeze(Object.defineProperty({__proto__:null,Axios:S0,AxiosError:x0,AxiosHeaders:L0,Cancel:R0,CancelToken:O0,CanceledError:C0,HttpStatusCode:I0,VERSION:k0,all:T0,default:Sn,formToJSON:D0,isAxiosError:N0,isCancel:P0,mergeConfig:j0,spread:_0,toFormData:A0},Symbol.toStringTag,{value:"Module"})),Jl={api_url:"http://10.0.1.27:8000"};var pa={exports:{}};const F0=Xh(M0);var b0=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;o--!==0;){var l=i[o];if(!e(t[l],n[l]))return!1}return!0}return t!==t&&n!==n};/*! + * Determine if an object is a Buffer + * + * @author Feross Aboukhadijeh + * @license MIT + */var z0=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)};/*! + * MIT License + * + * Copyright (c) Sindre Sorhus (https://sindresorhus.com) + * + * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated + * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit + * persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */function U0(e){return typeof Blob>"u"?!1:e instanceof Blob||Object.prototype.toString.call(e)==="[object Blob]"}var $0=U0,nf=F0,fh=b0,B0=z0,H0=$0,dh=Object.prototype.toString;function ph(e,t){for(var n=e.length,r=0;r=0){var i=r?r.data:void 0,l=r?r.params:void 0;return Fi(n,l)&&lf(t,i)}else return lf(t,r)}function Fi(e,t){return t===void 0?!0:typeof t.asymmetricMatch=="function"?t.asymmetricMatch(e):fh(e,t)}function lf(e,t){if(t===void 0)return!0;var n;try{n=JSON.parse(e)}catch{}return Fi(n||e,t)}function Q0(e,t){Object.keys(e.handlers).forEach(function(n){var r=e.handlers[n].indexOf(t);r>-1&&e.handlers[n].splice(r,1)})}function vh(e,t,n,r){if(r>0){setTimeout(vh,r,e,t,n);return}!n.config.validateStatus||n.config.validateStatus(n.status)?e(n):t(yh("Request failed with status code "+n.status,n.config,n))}function yh(e,t,n,r){if(typeof nf.AxiosError=="function")return nf.AxiosError.from(new Error(e),r,t,null,n);var o=new Error(e);return o.isAxiosError=!0,o.config=t,n!==void 0&&(o.response=n),r!==void 0&&(o.code=r),o.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},o}function X0(e){var t=`Could not find mock for: +`+JSON.stringify(e,["method","url"],2),n=new Error(t);return n.isCouldNotFindMockError=!0,n.url=e.url,n.method=e.method,n}var gh={find:ph,findHandler:K0,purgeIfReplyOnce:Q0,settle:vh,isStream:W0,isArrayBuffer:V0,isFunction:hh,isObjectOrArray:mh,isBuffer:B0,isBlob:H0,isBodyOrParametersMatching:rs,isEqual:fh,createAxiosError:yh,createCouldNotFindMockError:X0},Ve=gh;function Y0(e){return Ve.isArrayBuffer(e)||Ve.isBuffer(e)||Ve.isStream(e)||Ve.isBlob(e)?e:Ve.isObjectOrArray(e)?JSON.parse(JSON.stringify(e)):e}function Bo(e,t){return{status:e[0],data:Y0(e[1]),headers:e[2],config:t,request:{responseURL:t.url}}}function uf(e,t,n,r){var o=r.baseURL;if(r.baseURL&&!/^https?:/.test(r.baseURL)&&(o=void 0),typeof e.originalAdapter=="function")return e.originalAdapter(r).then(t,n);e.axiosInstanceWithoutInterceptors(Object.assign({},r,{baseURL:o,adapter:e.originalAdapter,transformRequest:[],transformResponse:[]})).then(t,n)}function q0(e,t,n,r){var o=r.url||"";r.baseURL&&o.substr(0,r.baseURL.length)===r.baseURL&&(o=o.slice(r.baseURL.length)),delete r.adapter,e.history[r.method].push(r);var i=Ve.findHandler(e.handlers,r.method,o,r.data,r.params,r.headers&&r.headers.constructor.name==="AxiosHeaders"?Object.assign({},r.headers):r.headers,r.baseURL);if(i)if(i.length===7&&Ve.purgeIfReplyOnce(e,i),i.length===2)uf(e,t,n,r);else if(typeof i[3]!="function")Ve.settle(t,n,Bo(i.slice(3),r),e.delayResponse);else{var l=i[3](r);typeof l.then!="function"?Ve.settle(t,n,Bo(l,r),e.delayResponse):l.then(function(u){u.config&&u.status?Ve.settle(t,n,Bo([u.status,u.data,u.headers],u.config),0):Ve.settle(t,n,Bo(u,r),e.delayResponse)},function(u){e.delayResponse>0?setTimeout(function(){n(u)},e.delayResponse):n(u)})}else switch(e.onNoMatch){case"passthrough":uf(e,t,n,r);break;case"throwException":throw Ve.createCouldNotFindMockError(r);default:Ve.settle(t,n,{status:404,config:r},e.delayResponse)}}var J0=q0,Z0=J0,Yt=gh,ha=["get","post","head","delete","patch","put","options","list","link","unlink"];function G0(){return function(e){var t=this;return new Promise(function(n,r){Z0(t,n,r,e)})}.bind(this)}function wh(){return ha.reduce(function(e,t){return e[t]=[],e},{})}function Eh(){Sh.call(this),xh.call(this)}function Sh(){this.handlers=wh()}function xh(){this.history=wh()}function vn(e,t){if(Eh.call(this),e)this.axiosInstance=e,this.axiosInstanceWithoutInterceptors=e.create?e.create():void 0,this.originalAdapter=e.defaults.adapter,this.delayResponse=t&&t.delayResponse>0?t.delayResponse:null,this.onNoMatch=t&&t.onNoMatch||null,e.defaults.adapter=this.adapter.call(this);else throw new Error("Please provide an instance of axios to mock")}vn.prototype.adapter=G0;vn.prototype.restore=function(){this.axiosInstance&&(this.axiosInstance.defaults.adapter=this.originalAdapter,this.axiosInstance=void 0)};vn.prototype.reset=Eh;vn.prototype.resetHandlers=Sh;vn.prototype.resetHistory=xh;ha.concat("any").forEach(function(e){var t="on"+e.charAt(0).toUpperCase()+e.slice(1);vn.prototype[t]=function(l,r,o){var i=this,l=l===void 0?/.*/:l;function u(a,c,f){var h=[l,r,o,a,c,f];return Zl(e,i.handlers,h),i}function s(a,c,f){var h=[l,r,o,a,c,f,!0];return Zl(e,i.handlers,h),i}return{reply:u,replyOnce:s,passThrough:function(){var c=[l,r];return Zl(e,i.handlers,c),i},abortRequest:function(){return u(function(a){var c=Yt.createAxiosError("Request aborted",a,void 0,"ECONNABORTED");return Promise.reject(c)})},abortRequestOnce:function(){return s(function(a){var c=Yt.createAxiosError("Request aborted",a,void 0,"ECONNABORTED");return Promise.reject(c)})},networkError:function(){return u(function(a){var c=Yt.createAxiosError("Network Error",a);return Promise.reject(c)})},networkErrorOnce:function(){return s(function(a){var c=Yt.createAxiosError("Network Error",a);return Promise.reject(c)})},timeout:function(){return u(function(a){var c=Yt.createAxiosError(a.timeoutErrorMessage||"timeout of "+a.timeout+"ms exceeded",a,void 0,a.transitional&&a.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED");return Promise.reject(c)})},timeoutOnce:function(){return s(function(a){var c=Yt.createAxiosError(a.timeoutErrorMessage||"timeout of "+a.timeout+"ms exceeded",a,void 0,a.transitional&&a.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED");return Promise.reject(c)})}}}});function e1(e,t,n){for(var r=-1,o=0;o-1&&n.length<7?t[e].splice(r,1,n):t[e].push(n)}}pa.exports=vn;pa.exports.default=vn;var t1=pa.exports;const sf=ds(t1);class Yn{static prepararModoTeste(){this.test=!0,this.instance=Sn.create(),this.mockAdapter=new sf(this.instance,{delayResponse:100})}static limparCenariosDeTeste(){this.mockAdapter.resetHandlers(),this.mockAdapter.resetHistory(),this.mockAdapter.reset()}static DesfazerModoTeste(){this.limparCenariosDeTeste(),this.mockAdapter.restore(),this.test=!1,this.instance=void 0}static getInstance(t){if(this.test){if(this.instance)return this.instance;this.instance=Sn.create(),this.mockAdapter=new sf(this.instance)}return this.instance||(t?this.instance=this.ReconfigureInstance(t.access):this.instance=this.configureInterceptors(this.configureInstance())),this.instance}static getInstanceFormData(t){return this.ReconfigureInstanceFormData(t.access)}static cancelCall(){this.abortController.abort()}static configureInstance(){return this.abortController=new AbortController,Sn.create({baseURL:Jl.api_url+"/api",timeout:0,headers:{"Content-Type":"application/json"},signal:this.abortController.signal})}static ReconfigureInstanceFormData(t){this.abortController=new AbortController;const n=Sn.create({baseURL:Jl.api_url+"/api",timeout:0,headers:{"Content-Type":"multipart/form-data",Authorization:`Bearer ${t}`},signal:this.abortController.signal});return this.configureInterceptors(n)}static ReconfigureInstance(t){this.abortController=new AbortController;const n=Sn.create({baseURL:Jl.api_url+"/api",timeout:0,headers:{"Content-Type":"application/json",Authorization:`Bearer ${t}`},signal:this.abortController.signal});return this.instance=this.configureInterceptors(n),this.instance}static configureInterceptors(t){return t.interceptors.response.use(function(n){return n},function(n){return Promise.reject(n)}),t}}vr(Yn,"test",!1),vr(Yn,"instance"),vr(Yn,"abortController"),vr(Yn,"mockAdapter");const n1={logar:async e=>{const n=await Yn.getInstance(void 0)({url:"token/",method:"POST",data:{username:e.username,password:e.password}}),r={...n};return Yn.ReconfigureInstance(n.access),{status:200,statusText:"Sucesso ao logar.",data:r}}},af=(e,t)=>{try{window.localStorage.setItem(e,JSON.stringify(t))}catch(n){console.error(n)}},r1=(e,t)=>{try{const n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch{return t}},o1=(e,t)=>{try{const n=window.localStorage.getItem(e);return n?n.replaceAll('"',""):t}catch{return t}},Ch=w.createContext({}),i1=()=>w.useContext(Ch),cf={access:"",email:"",refresh:"",groups:[],permissions:[]},l1=({children:e})=>{const[t,n]=w.useState(()=>r1("user",cf)),[r,o]=w.useState(()=>o1("perfil","")),i=w.useRef(null),l=m=>{var g;(g=i.current)==null||g.show({severity:"success",summary:"Feito!",detail:m,life:3e3})},u=m=>{var g;(g=i.current)==null||g.show({severity:"error",detail:m,sticky:!0})},s=m=>{var g;(g=i.current)==null||g.show({severity:"warn",detail:m,sticky:!0})},a=async m=>{try{const g=await n1.logar(m);if(!g)throw"Error ao logar";const{data:P}=g;n(P)}catch{n({access:"asdasd",email:"",groups:[],permissions:[],refresh:""})}},c=()=>{n(cf),o("")};w.useEffect(()=>{af("user",t)},[t]),w.useEffect(()=>{af("perfil",r)},[r]);const f=w.useMemo(()=>{var m;return!!((m=t==null?void 0:t.access)!=null&&m.length)},[t]),y={user:t,signin:a,signout:c,estaLogado:f,selecionarPerfil:m=>{o(m)},perfil:r,tostSuccess:l,tostError:u,toast:i,tostAlert:s};return _.jsx(Ch.Provider,{value:y,children:e})};function os(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(a){throw a},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,l=!1,u;return{s:function(){n=n.call(e)},n:function(){var a=n.next();return i=a.done,a},e:function(a){l=!0,u=a},f:function(){try{!i&&n.return!=null&&n.return()}finally{if(l)throw u}}}}function y1(e,t){if(e){if(typeof e=="string")return df(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return df(e,t)}}function df(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n3&&arguments[3]!==void 0?arguments[3]:!0;n&&r&&(o==="self"?this.relativePosition(n,r):(i&&(n.style.minWidth=e.getOuterWidth(r)+"px"),this.absolutePosition(n,r)))}},{key:"absolutePosition",value:function(n,r){if(n&&r){var o=n.offsetParent?{width:n.offsetWidth,height:n.offsetHeight}:this.getHiddenElementDimensions(n),i=o.height,l=o.width,u=r.offsetHeight,s=r.offsetWidth,a=r.getBoundingClientRect(),c=this.getWindowScrollTop(),f=this.getWindowScrollLeft(),h=this.getViewport(),y,m;a.top+u+i>h.height?(y=a.top+c-i,y<0&&(y=c),n.style.transformOrigin="bottom"):(y=u+a.top+c,n.style.transformOrigin="top"),a.left+s+l>h.width?m=Math.max(0,a.left+f+s-l):m=a.left+f,n.style.top=y+"px",n.style.left=m+"px"}}},{key:"relativePosition",value:function(n,r){if(n&&r){var o=n.offsetParent?{width:n.offsetWidth,height:n.offsetHeight}:this.getHiddenElementDimensions(n),i=r.offsetHeight,l=r.getBoundingClientRect(),u=this.getViewport(),s,a;l.top+i+o.height>u.height?(s=-1*o.height,l.top+s<0&&(s=-1*l.top),n.style.transformOrigin="bottom"):(s=i,n.style.transformOrigin="top"),o.width>u.width?a=l.left*-1:l.left+o.width>u.width?a=(l.left+o.width-u.width)*-1:a=0,n.style.top=s+"px",n.style.left=a+"px"}}},{key:"flipfitCollision",value:function(n,r){var o=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"left top",l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"left bottom",u=arguments.length>4?arguments[4]:void 0;if(n&&r){var s=r.getBoundingClientRect(),a=this.getViewport(),c=i.split(" "),f=l.split(" "),h=function(d,p){return p?+d.substring(d.search(/(\+|-)/g))||0:d.substring(0,d.search(/(\+|-)/g))||d},y={my:{x:h(c[0]),y:h(c[1]||c[0]),offsetX:h(c[0],!0),offsetY:h(c[1]||c[0],!0)},at:{x:h(f[0]),y:h(f[1]||f[0]),offsetX:h(f[0],!0),offsetY:h(f[1]||f[0],!0)}},m={left:function(){var d=y.my.offsetX+y.at.offsetX;return d+s.left+(y.my.x==="left"?0:-1*(y.my.x==="center"?o.getOuterWidth(n)/2:o.getOuterWidth(n)))},top:function(){var d=y.my.offsetY+y.at.offsetY;return d+s.top+(y.my.y==="top"?0:-1*(y.my.y==="center"?o.getOuterHeight(n)/2:o.getOuterHeight(n)))}},g={count:{x:0,y:0},left:function(){var d=m.left(),p=e.getWindowScrollLeft();n.style.left=d+p+"px",this.count.x===2?(n.style.left=p+"px",this.count.x=0):d<0&&(this.count.x++,y.my.x="left",y.at.x="right",y.my.offsetX*=-1,y.at.offsetX*=-1,this.right())},right:function(){var d=m.left()+e.getOuterWidth(r),p=e.getWindowScrollLeft();n.style.left=d+p+"px",this.count.x===2?(n.style.left=a.width-e.getOuterWidth(n)+p+"px",this.count.x=0):d+e.getOuterWidth(n)>a.width&&(this.count.x++,y.my.x="right",y.at.x="left",y.my.offsetX*=-1,y.at.offsetX*=-1,this.left())},top:function(){var d=m.top(),p=e.getWindowScrollTop();n.style.top=d+p+"px",this.count.y===2?(n.style.left=p+"px",this.count.y=0):d<0&&(this.count.y++,y.my.y="top",y.at.y="bottom",y.my.offsetY*=-1,y.at.offsetY*=-1,this.bottom())},bottom:function(){var d=m.top()+e.getOuterHeight(r),p=e.getWindowScrollTop();n.style.top=d+p+"px",this.count.y===2?(n.style.left=a.height-e.getOuterHeight(n)+p+"px",this.count.y=0):d+e.getOuterHeight(r)>a.height&&(this.count.y++,y.my.y="bottom",y.at.y="top",y.my.offsetY*=-1,y.at.offsetY*=-1,this.top())},center:function(d){if(d==="y"){var p=m.top()+e.getOuterHeight(r)/2;n.style.top=p+e.getWindowScrollTop()+"px",p<0?this.bottom():p+e.getOuterHeight(r)>a.height&&this.top()}else{var v=m.left()+e.getOuterWidth(r)/2;n.style.left=v+e.getWindowScrollLeft()+"px",v<0?this.left():v+e.getOuterWidth(n)>a.width&&this.right()}}};g[y.at.x]("x"),g[y.at.y]("y"),this.isFunction(u)&&u(y)}}},{key:"findCollisionPosition",value:function(n){if(n){var r=n==="top"||n==="bottom",o=n==="left"?"right":"left",i=n==="top"?"bottom":"top";return r?{axis:"y",my:"center ".concat(i),at:"center ".concat(n)}:{axis:"x",my:"".concat(o," center"),at:"".concat(n," center")}}}},{key:"getParents",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return n.parentNode===null?r:this.getParents(n.parentNode,r.concat([n.parentNode]))}},{key:"getScrollableParents",value:function(n){var r=[];if(n){var o=this.getParents(n),i=/(auto|scroll)/,l=function(d){var p=d?getComputedStyle(d):null;return p&&(i.test(p.getPropertyValue("overflow"))||i.test(p.getPropertyValue("overflowX"))||i.test(p.getPropertyValue("overflowY")))},u=Gl(o),s;try{for(u.s();!(s=u.n()).done;){var a=s.value,c=a.nodeType===1&&a.dataset.scrollselectors;if(c){var f=c.split(","),h=Gl(f),y;try{for(h.s();!(y=h.n()).done;){var m=y.value,g=this.findSingle(a,m);g&&l(g)&&r.push(g)}}catch(P){h.e(P)}finally{h.f()}}a.nodeType===1&&l(a)&&r.push(a)}}catch(P){u.e(P)}finally{u.f()}}return r}},{key:"getHiddenElementOuterHeight",value:function(n){if(n){n.style.visibility="hidden",n.style.display="block";var r=n.offsetHeight;return n.style.display="none",n.style.visibility="visible",r}return 0}},{key:"getHiddenElementOuterWidth",value:function(n){if(n){n.style.visibility="hidden",n.style.display="block";var r=n.offsetWidth;return n.style.display="none",n.style.visibility="visible",r}return 0}},{key:"getHiddenElementDimensions",value:function(n){var r={};return n&&(n.style.visibility="hidden",n.style.display="block",r.width=n.offsetWidth,r.height=n.offsetHeight,n.style.display="none",n.style.visibility="visible"),r}},{key:"fadeIn",value:function(n,r){if(n){n.style.opacity=0;var o=+new Date,i=0,l=function u(){i=+n.style.opacity+(new Date().getTime()-o)/r,n.style.opacity=i,o=+new Date,+i<1&&(window.requestAnimationFrame&&requestAnimationFrame(u)||setTimeout(u,16))};l()}}},{key:"fadeOut",value:function(n,r){if(n)var o=1,i=50,l=i/r,u=setInterval(function(){o-=l,o<=0&&(o=0,clearInterval(u)),n.style.opacity=o},i)}},{key:"getUserAgent",value:function(){return navigator.userAgent}},{key:"isIOS",value:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}},{key:"isAndroid",value:function(){return/(android)/i.test(navigator.userAgent)}},{key:"isChrome",value:function(){return/(chrome)/i.test(navigator.userAgent)}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}},{key:"isFunction",value:function(n){return!!(n&&n.constructor&&n.call&&n.apply)}},{key:"appendChild",value:function(n,r){if(this.isElement(r))r.appendChild(n);else if(r.el&&r.el.nativeElement)r.el.nativeElement.appendChild(n);else throw new Error("Cannot append "+r+" to "+n)}},{key:"removeChild",value:function(n,r){if(this.isElement(r))r.removeChild(n);else if(r.el&&r.el.nativeElement)r.el.nativeElement.removeChild(n);else throw new Error("Cannot remove "+n+" from "+r)}},{key:"isElement",value:function(n){return(typeof HTMLElement>"u"?"undefined":ke(HTMLElement))==="object"?n instanceof HTMLElement:n&&ke(n)==="object"&&n!==null&&n.nodeType===1&&typeof n.nodeName=="string"}},{key:"scrollInView",value:function(n,r){var o=getComputedStyle(n).getPropertyValue("borderTopWidth"),i=o?parseFloat(o):0,l=getComputedStyle(n).getPropertyValue("paddingTop"),u=l?parseFloat(l):0,s=n.getBoundingClientRect(),a=r.getBoundingClientRect(),c=a.top+document.body.scrollTop-(s.top+document.body.scrollTop)-i-u,f=n.scrollTop,h=n.clientHeight,y=this.getOuterHeight(r);c<0?n.scrollTop=f+c:c+y>h&&(n.scrollTop=f+c-h+y)}},{key:"clearSelection",value:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}},{key:"calculateScrollbarWidth",value:function(n){if(n){var r=getComputedStyle(n);return n.offsetWidth-n.clientWidth-parseFloat(r.borderLeftWidth)-parseFloat(r.borderRightWidth)}else{if(this.calculatedScrollbarWidth!=null)return this.calculatedScrollbarWidth;var o=document.createElement("div");o.className="p-scrollbar-measure",document.body.appendChild(o);var i=o.offsetWidth-o.clientWidth;return document.body.removeChild(o),this.calculatedScrollbarWidth=i,i}}},{key:"getBrowser",value:function(){if(!this.browser){var n=this.resolveUserAgent();this.browser={},n.browser&&(this.browser[n.browser]=!0,this.browser.version=n.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}},{key:"resolveUserAgent",value:function(){var n=navigator.userAgent.toLowerCase(),r=/(chrome)[ ]([\w.]+)/.exec(n)||/(webkit)[ ]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:r[1]||"",version:r[2]||"0"}}},{key:"isVisible",value:function(n){return n&&(n.clientHeight!==0||n.getClientRects().length!==0||getComputedStyle(n).display!=="none")}},{key:"isExist",value:function(n){return!!(n!==null&&typeof n<"u"&&n.nodeName&&n.parentNode)}},{key:"hasDOM",value:function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}},{key:"getFocusableElements",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",o=e.find(n,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'.concat(r,`, + [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r,`, + input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r,`, + select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r,`, + textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r,`, + [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r,`, + [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r)),i=[],l=Gl(o),u;try{for(l.s();!(u=l.n()).done;){var s=u.value;getComputedStyle(s).display!=="none"&&getComputedStyle(s).visibility!=="hidden"&&i.push(s)}}catch(a){l.e(a)}finally{l.f()}return i}},{key:"getFirstFocusableElement",value:function(n,r){var o=e.getFocusableElements(n,r);return o.length>0?o[0]:null}},{key:"getLastFocusableElement",value:function(n,r){var o=e.getFocusableElements(n,r);return o.length>0?o[o.length-1]:null}},{key:"focus",value:function(n,r){var o=r===void 0?!0:!r;n&&document.activeElement!==n&&n.focus({preventScroll:o})}},{key:"focusFirstElement",value:function(n,r){if(n){var o=e.getFirstFocusableElement(n);return o&&e.focus(o,r),o}}},{key:"getCursorOffset",value:function(n,r,o,i){if(n){var l=getComputedStyle(n),u=document.createElement("div");u.style.position="absolute",u.style.top="0px",u.style.left="0px",u.style.visibility="hidden",u.style.pointerEvents="none",u.style.overflow=l.overflow,u.style.width=l.width,u.style.height=l.height,u.style.padding=l.padding,u.style.border=l.border,u.style.overflowWrap=l.overflowWrap,u.style.whiteSpace=l.whiteSpace,u.style.lineHeight=l.lineHeight,u.innerHTML=r.replace(/\r\n|\r|\n/g,"
");var s=document.createElement("span");s.textContent=i,u.appendChild(s);var a=document.createTextNode(o);u.appendChild(a),document.body.appendChild(u);var c=s.offsetLeft,f=s.offsetTop,h=s.clientHeight;return document.body.removeChild(u),{left:Math.abs(c-n.scrollLeft),top:Math.abs(f-n.scrollTop)+h}}return{top:"auto",left:"auto"}}},{key:"invokeElementMethod",value:function(n,r,o){n[r].apply(n,o)}},{key:"isClickable",value:function(n){var r=n.nodeName,o=n.parentElement&&n.parentElement.nodeName;return r==="INPUT"||r==="TEXTAREA"||r==="BUTTON"||r==="A"||o==="INPUT"||o==="TEXTAREA"||o==="BUTTON"||o==="A"||this.hasClass(n,"p-button")||this.hasClass(n.parentElement,"p-button")||this.hasClass(n.parentElement,"p-checkbox")||this.hasClass(n.parentElement,"p-radiobutton")}},{key:"applyStyle",value:function(n,r){if(typeof r=="string")n.style.cssText=this.style;else for(var o in this.style)n.style[o]=r[o]}},{key:"exportCSV",value:function(n,r){var o=new Blob([n],{type:"application/csv;charset=utf-8;"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(o,r+".csv");else{var i=e.saveAs({name:r+".csv",src:URL.createObjectURL(o)});i||(n="data:text/csv;charset=utf-8,"+n,window.open(encodeURI(n)))}}},{key:"saveAs",value:function(n){if(n){var r=document.createElement("a");if(r.download!==void 0){var o=n.name,i=n.src;return r.setAttribute("href",i),r.setAttribute("download",o),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),!0}}return!1}},{key:"createInlineStyle",value:function(n){var r=document.createElement("style");try{n||(n={}.REACT_APP_CSS_NONCE)}catch{}return n&&r.setAttribute("nonce",n),document.head.appendChild(r),r}},{key:"removeInlineStyle",value:function(n){if(this.isExist(n)){try{document.head.removeChild(n)}catch{}n=null}return n}},{key:"getTargetElement",value:function(n){if(!n)return null;if(n==="document")return document;if(n==="window")return window;if(ke(n)==="object"&&n.hasOwnProperty("current"))return this.isExist(n.current)?n.current:null;var r=function(l){return!!(l&&l.constructor&&l.call&&l.apply)},o=r(n)?n():n;return o&&o.nodeType===9||this.isExist(o)?o:null}},{key:"getAttributeNames",value:function(n){var r,o,i;for(o=[],i=n.attributes,r=0;r127)}},{key:"findDiffKeys",value:function(n,r){return!n||!r?{}:Object.keys(n).filter(function(o){return!r.hasOwnProperty(o)}).reduce(function(o,i){return o[i]=n[i],o},{})}},{key:"reduceKeys",value:function(n,r){var o={};return!n||!r||r.length===0||Object.keys(n).filter(function(i){return r.some(function(l){return i.startsWith(l)})}).forEach(function(i){o[i]=n[i],delete n[i]}),o}},{key:"reorderArray",value:function(n,r,o){n&&r!==o&&(o>=n.length&&(o%=n.length,r%=n.length),n.splice(o,0,n.splice(r,1)[0]))}},{key:"findIndexInList",value:function(n,r,o){var i=this;return r?o?r.findIndex(function(l){return i.equals(l,n,o)}):r.findIndex(function(l){return l===n}):-1}},{key:"getJSXElement",value:function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i1&&arguments[1]!==void 0?arguments[1]:"",o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n?n[r]:void 0;return i===void 0?o[r]:i}},{key:"getMergedProps",value:function(n,r){return Object.assign({},r,n)}},{key:"getDiffProps",value:function(n,r){return this.findDiffKeys(n,r)}},{key:"getPropValue",value:function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i1&&arguments[1]!==void 0?arguments[1]:"",o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.isNotEmpty(n)?this.getProp(n.props,r,o):void 0}},{key:"getComponentProps",value:function(n,r){return this.isNotEmpty(n)?this.getMergedProps(n.props,r):void 0}},{key:"getComponentDiffProps",value:function(n,r){return this.isNotEmpty(n)?this.getDiffProps(n.props,r):void 0}},{key:"isValidChild",value:function(n,r,o){if(n){var i=this.getComponentProp(n,"__TYPE")||(n.type?n.type.displayName:void 0),l=i===r;try{var u}catch{}return l}return!1}},{key:"getRefElement",value:function(n){return n?ke(n)==="object"&&n.hasOwnProperty("current")?n.current:n:null}},{key:"combinedRefs",value:function(n,r){n&&r&&(typeof r=="function"?r(n.current):r.current=n.current)}},{key:"removeAccents",value:function(n){return n&&n.search(/[\xC0-\xFF]/g)>-1&&(n=n.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),n}},{key:"convertToFlatCase",value:function(n){return this.isNotEmpty(n)?n.replace(/(-|_)/g,"").toLowerCase():n}},{key:"isEmpty",value:function(n){return n==null||n===""||Array.isArray(n)&&n.length===0||!(n instanceof Date)&&ke(n)==="object"&&Object.keys(n).length===0}},{key:"isNotEmpty",value:function(n){return!this.isEmpty(n)}},{key:"sort",value:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,i=arguments.length>3?arguments[3]:void 0,l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,u=e.compare(n,r,i,o),s=o;return(e.isEmpty(n)||e.isEmpty(r))&&(s=l===1?o:l),s*u}},{key:"compare",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,l=-1,u=e.isEmpty(n),s=e.isEmpty(r);return u&&s?l=0:u?l=i:s?l=-i:typeof n=="string"&&typeof r=="string"?l=n.localeCompare(r,o,{numeric:!0}):l=nr?1:0,l}}]),e}();function pf(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 g1(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=null;if(n!==null){var l=ke(n),u=vt(r.className,l==="string"&&n);if(i=w.createElement("span",ls({},r,{className:u})),l!=="string"){var s=g1({iconProps:r,element:i},o);return J.getJSXElement(n,s)}}return i}}]),e}();function hf(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 mf(e){for(var t=1;t2&&arguments[2]!==void 0?arguments[2]:999,c=o(u,s,a),f=c.value+(c.key===u?0:a)+1;return e.push({key:u,value:f}),f},n=function(u){e=e.filter(function(s){return s.value!==u})},r=function(u,s){return o(u,s).value},o=function(u,s){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return C1(e).reverse().find(function(c){return s?!0:c.key===u})||{key:u,value:a}},i=function(u){return u&&parseInt(u.style.zIndex,10)||0};return{get:i,set:function(u,s,a,c){s&&(s.style.zIndex=String(t(u,a,c)))},clear:function(u){u&&(n(Ar.get(u)),u.style.zIndex="")},getCurrent:function(u,s){return r(u,s)}}}var Ar=P1(),Pe=Object.freeze({STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter",CUSTOM:"custom"});function so(e){"@babel/helpers - typeof";return so=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},so(e)}function O1(e,t){if(so(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(so(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kh(e){var t=O1(e,"string");return so(t)==="symbol"?t:String(t)}function Et(e,t,n){return t=kh(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vf(e,t){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:{};J.isNotEmpty(g.target)&&(y(),(g.when||s)&&(a.current=z.getTargetElement(g.target))),!c.current&&a.current&&(c.current=function(P){return i&&i(P)},a.current.addEventListener(o,c.current,l))},y=function(){c.current&&(a.current.removeEventListener(o,c.current,l),c.current=null)};return w.useEffect(function(){s?a.current=z.getTargetElement(r):(y(),a.current=null)},[r,s]),w.useEffect(function(){c.current&&(c.current!==i||f!==l)&&(y(),s&&h())},[i,l]),Eo(function(){y()}),[h,y]},ya=function(t){var n=w.useRef(!1);return w.useEffect(function(){if(!n.current)return n.current=!0,t&&t()},[])},R1=function(t){var n=t.target,r=t.listener,o=t.options,i=t.when,l=i===void 0?!0:i,u=w.useRef(null),s=w.useRef(null),a=w.useRef([]),c=Th(o),f=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(J.isNotEmpty(m.target)&&(h(),(m.when||l)&&(u.current=z.getTargetElement(m.target))),!s.current&&u.current){var g=a.current=z.getScrollableParents(u.current);s.current=function(P){return r&&r(P)},g.forEach(function(P){return P.addEventListener("scroll",s.current,o)})}},h=function(){if(s.current){var m=a.current;m.forEach(function(g){return g.removeEventListener("scroll",s.current,o)}),s.current=null}};return w.useEffect(function(){l?u.current=z.getTargetElement(n):(h(),u.current=null)},[n,l]),w.useEffect(function(){s.current&&(s.current!==r||c!==o)&&(h(),l&&f())},[r,o]),Eo(function(){h()}),[f,h]},N1=function(t){var n=t.listener,r=t.when,o=r===void 0?!0:r;return jt({target:"window",type:"resize",listener:n,when:o})},Hr=function(t,n){var r=w.useRef(!1);return w.useEffect(function(){if(!r.current){r.current=!0;return}return t&&t()},n)};function _1(e){if(Array.isArray(e))return e}function A1(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,l,u=[],s=!0,a=!1;try{if(i=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(c){a=!0,o=c}finally{try{if(!s&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(a)throw o}}return u}}function yf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&arguments[0]!==void 0?arguments[0]:{},n=jn(jn({},t.defaultProps),ga.defaultProps),r=function(a){return J.getMergedProps(a,n)},o=function(a){return J.getDiffProps(a,n)},i=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",f=J.convertToFlatCase(c);return a[Object.keys(a).find(function(h){return J.convertToFlatCase(h)===f})||""]},l=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return J.getPropValue(i(a,c),f)},u=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return f((a.props||{}).pt,y,jn(jn({},a),m))},f=function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return l(y,m,g)};return{ptm:c,ptmo:f}};return jn(jn({getProps:r,getOtherProps:o,setMetaData:u},t),{},{defaultProps:n})}};function co(e){"@babel/helpers - typeof";return co=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},co(e)}function b1(e,t){if(co(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(co(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function z1(e){var t=b1(e,"string");return co(t)==="symbol"?t:String(t)}function U1(e,t,n){return t=z1(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ss(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);net.width?(d.current.style.left="0px",d.current.style.right=window.innerWidth-et.width-q+"px"):(d.current.style.right="",d.current.style.left=q+"px"),d.current.style.top=G+"px",z.addClass(d.current,"p-tooltip-active")}else{var gl=z.findCollisionPosition(_e),Bh=$(x,"my")||n.my||gl.my,Hh=$(x,"at")||n.at||gl.at;d.current.style.padding="0px",z.flipfitCollision(d.current,x,Bh,Hh,function(wl){var Ta=wl.at,El=Ta.x,Wh=Ta.y,Vh=wl.my.x,Ra=n.at?El!=="center"&&El!==Vh?El:Wh:wl.at["".concat(gl.axis)];d.current.style.padding="",c(Ra),M(Ra),z.addClass(d.current,"p-tooltip-active")})}},M=function(x){if(d.current){var I=getComputedStyle(d.current);x==="left"?d.current.style.left=parseFloat(I.left)-parseFloat(I.paddingLeft)*2+"px":x==="top"&&(d.current.style.top=parseFloat(I.top)-parseFloat(I.paddingTop)*2+"px")}},T=function(){Q()||(O.current=!1)},F=function(x){Q()||(O.current=!0,Ge(x))},b=function(x){if(x){var I=Ne(x),W=I.showEvents,q=I.hideEvents,G=Pa(x);W.forEach(function(_e){return G==null?void 0:G.addEventListener(_e,Wt)}),q.forEach(function(_e){return G==null?void 0:G.addEventListener(_e,Ge)})}},ue=function(x){if(x){var I=Ne(x),W=I.showEvents,q=I.hideEvents,G=Pa(x);W.forEach(function(_e){return G==null?void 0:G.removeEventListener(_e,Wt)}),q.forEach(function(_e){return G==null?void 0:G.removeEventListener(_e,Ge)})}},ce=function(x,I){Me();var W=$(v.current,x.toLowerCase())||n[x];W?k.current["".concat(x)]=setTimeout(function(){return I()},W):I()},Se=function(x){if(x){for(var I=arguments.length,W=new Array(I>1?I-1:0),q=1;qe.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(ce=Se+Math.floor(ce/n.step-Se/n.step)*n.step)}else ce=Math.floor(ce);return Ne(T,ce)},Ne=function(T,F){var b=parseFloat(F.toFixed(10)),ue=b;return n.range?(o.current===0?bn.max&&(b=n.max):b>n.max?b=n.max:bn.max&&(b=n.max),ue=b,n.onChange&&n.onChange({originalEvent:T,value:ue})),ue},je=function(T,F,b){var ue={transition:l.current?"none":null,left:T!==null&&T+"%",bottom:F&&F+"%"},ce=vt("p-slider-handle",{"p-slider-handle-start":b===0,"p-slider-handle-end":b===1,"p-slider-handle-active":o.current===b});return w.createElement("span",$i({className:ce,style:ue,tabIndex:n.tabIndex,role:"slider",onMouseDown:function(Me){return N(Me,b)},onTouchStart:function(Me){return D(Me,b)},onKeyDown:function(Me){return j(Me,b)},"aria-valuemin":n.min,"aria-valuemax":n.max,"aria-valuenow":T||F,"aria-orientation":n.orientation},Wt))},He=function(){var T=(f[0]n.max?n.max:f[1]-n.min)*100/(n.max-n.min),b=h?je(T,null,0):je(null,T,0),ue=h?je(F,null,1):je(null,F,1),ce=F>T?F-T:T-F,Se=F>T?T:F,Me=h?{left:Se+"%",width:ce+"%"}:{bottom:Se+"%",height:ce+"%"};return w.createElement(w.Fragment,null,w.createElement("span",{className:"p-slider-range",style:Me}),b,ue)},ft=function(){var T;fn.max?T=n.max:T=(f-n.min)*100/(n.max-n.min);var F=h?{width:T+"%"}:{height:T+"%"},b=h?je(T,null,null):je(null,T,null);return w.createElement(w.Fragment,null,w.createElement("span",{className:"p-slider-range",style:F}),b)};w.useImperativeHandle(t,function(){return{props:n,getElement:function(){return r.current}}});var yn=Bi.getOtherProps(n),Wt=J.reduceKeys(yn,z.ARIA_PROPS),Ge=vt("p-slider p-component",n.className,{"p-disabled":n.disabled,"p-slider-horizontal":h,"p-slider-vertical":y}),Y=n.range?He():ft();return w.createElement("div",$i({ref:r,id:n.id,style:n.style,className:Ge},yn,{onClick:Q}),Y)}));Sa.displayName="Slider";var ai={defaultProps:{__TYPE:"IconBase",className:null,label:null,spin:!1},getProps:function(t){return J.getMergedProps(t,ai.defaultProps)},getOtherProps:function(t){return J.getDiffProps(t,ai.defaultProps)},getPTI:function(t){var n=J.isEmpty(t.label),r=ai.getOtherProps(t),o={className:vt("p-icon",{"p-icon-spin":t.spin},t.className),role:n?void 0:"img","aria-label":n?void 0:t.label,"aria-hidden":n};return J.getMergedProps(r,o)}};function cs(){return cs=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&n.max>0?n.min:0,n.min,n.max,Mn,gn)},R=function(){return O(n.value,n.min,n.max,Mn,gn)},L=function(){return Vo+Math.cos(Mn)*tt},X=function(){return Ko-Math.sin(Mn)*tt},U=function(){return Vo+Math.cos(gn)*tt},me=function(){return Ko-Math.sin(gn)*tt},ct=function(){return Vo+Math.cos(k())*tt},Je=function(){return Ko-Math.sin(k())*tt},_t=function(){return Vo+Math.cos(R())*tt},Ht=function(){return Ko-Math.sin(R())*tt},St=function(){return Math.abs(k()-R())k()?0:1},N="M ".concat(L()," ").concat(X()," A ").concat(tt," ").concat(tt," 0 1 1 ").concat(U()," ").concat(me()),D="M ".concat(ct()," ").concat(Je()," A ").concat(tt," ").concat(tt," 0 ").concat(St()," ").concat(xt()," ").concat(_t()," ").concat(Ht()),j=function(){return n.valueTemplate.replace("{value}",n.value.toString())},Q=function(M,T){var F=M-n.size/2,b=n.size/2-T,ue=Math.atan2(b,F),ce=-Math.PI/2-Math.PI/6;$(ue,ce)},$=function(M,T){var F;if(M>gn)F=O(M,Mn,gn,n.min,n.max);else if(M{let t;const n=new Set,r=(s,a)=>{const c=typeof s=="function"?s(t):s;if(!Object.is(c,t)){const f=t;t=a??typeof c!="object"?c:Object.assign({},t,c),n.forEach(h=>h(t,f))}},o=()=>t,u={setState:r,getState:o,subscribe:s=>(n.add(s),()=>n.delete(s)),destroy:()=>{n.clear()}};return t=e(r,o,u),u},sw=e=>e?Sf(e):Sf;var Ih={exports:{}},Dh={},jh={exports:{}},Mh={};/** + * @license React + * use-sync-external-store-shim.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 fr=w;function aw(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var cw=typeof Object.is=="function"?Object.is:aw,fw=fr.useState,dw=fr.useEffect,pw=fr.useLayoutEffect,hw=fr.useDebugValue;function mw(e,t){var n=t(),r=fw({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return pw(function(){o.value=n,o.getSnapshot=t,nu(o)&&i({inst:o})},[e,n,t]),dw(function(){return nu(o)&&i({inst:o}),e(function(){nu(o)&&i({inst:o})})},[e]),hw(n),n}function nu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!cw(e,n)}catch{return!0}}function vw(e,t){return t()}var yw=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?vw:mw;Mh.useSyncExternalStore=fr.useSyncExternalStore!==void 0?fr.useSyncExternalStore:yw;jh.exports=Mh;var gw=jh.exports;/** + * @license React + * use-sync-external-store-shim/with-selector.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 yl=w,ww=gw;function Ew(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Sw=typeof Object.is=="function"?Object.is:Ew,xw=ww.useSyncExternalStore,Cw=yl.useRef,Pw=yl.useEffect,Ow=yl.useMemo,kw=yl.useDebugValue;Dh.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=Cw(null);if(i.current===null){var l={hasValue:!1,value:null};i.current=l}else l=i.current;i=Ow(function(){function s(y){if(!a){if(a=!0,c=y,y=r(y),o!==void 0&&l.hasValue){var m=l.value;if(o(m,y))return f=m}return f=y}if(m=f,Sw(c,y))return m;var g=r(y);return o!==void 0&&o(m,g)?m:(c=y,f=g)}var a=!1,c,f,h=n===void 0?null:n;return[function(){return s(t())},h===null?void 0:function(){return s(h())}]},[t,n,r,o]);var u=xw(e,i[0],i[1]);return Pw(function(){l.hasValue=!0,l.value=u},[u]),kw(u),u};Ih.exports=Dh;var Tw=Ih.exports;const Rw=ds(Tw),{useSyncExternalStoreWithSelector:Nw}=Rw;function _w(e,t=e.getState,n){const r=Nw(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return w.useDebugValue(r),r}const xf=e=>{const t=typeof e=="function"?sw(e):e,n=(r,o)=>_w(t,r,o);return Object.assign(n,t),n},Fh=e=>e?xf(e):xf,bh=Fh(e=>({lista:[],setList:t=>e(()=>({lista:t}))}));Fh(e=>({lista:[],setList:t=>e(()=>({lista:t}))}));const Aw=()=>{const[e,t]=w.useState(""),[n,r]=w.useState(0),[o,i]=w.useState(0),{lista:l,setList:u}=bh();return _.jsxs("div",{className:"w-full h-screen flex flex-row m-2 p-4",children:[_.jsxs("div",{className:Re,children:[_.jsxs("div",{className:"flex flex-column gap-1 p-5",children:[_.jsxs("div",{className:"flex-auto",children:[_.jsx("label",{htmlFor:"locale-us",className:"font-bold block mb-2",children:"InputText"}),_.jsx(Ea,{value:e,onChange:s=>{t(s.value)}})]}),_.jsxs("div",{className:"flex-auto",children:[_.jsx("label",{htmlFor:"locale-us",className:"font-bold block mb-2",children:"Slider"}),_.jsx(Sa,{min:-15,max:32,value:n,onChange:s=>{r(s.value)}})]}),_.jsxs("div",{className:"flex-auto",children:[_.jsx("label",{htmlFor:"locale-us",className:"font-bold block mb-2",children:"Knob"}),_.jsx(Ca,{value:o,onChange:s=>i(s.value)})]})]}),_.jsxs("div",{className:"flex flex-column justify-content-center aling-content-center",children:[_.jsx("h5",{children:"Button"}),_.jsx(xa,{icon:"pi pi-check",rounded:!0,"aria-label":"Filter",onClick:()=>{const s=[...l];s.push({titulo:e,forca:n,destreza:o}),u(s)}})]})]}),_.jsx("div",{className:Re,children:_.jsx("div",{className:"flex flex-column p-3 ",children:JSON.stringify(l)})})]})},Lw=()=>{const[e,t]=w.useState(),[n,r]=w.useState(),[o,i]=w.useState(0);return _.jsxs("div",{className:"w-full h-screen flex flex-row m-2 p-4",children:[_.jsx("div",{className:Re,children:"A"}),_.jsx("div",{className:Re,children:_.jsxs("div",{className:"flex flex-row flex-wrap",children:[_.jsxs("div",{className:"flex flex-column",children:[_.jsx("h3",{children:"InputText"}),_.jsxs("span",{className:"p-input-icon-left",children:[_.jsx("i",{className:"pi pi-search"}),_.jsx(Ea,{placeholder:"Search",value:e,onChange:l=>{t(l.target.value)}})]}),_.jsx("h3",{children:"Slider"}),_.jsx(Sa,{value:n,onChange:l=>{r(l.value)}}),_.jsx("h3",{children:"Knob"}),_.jsx(Ca,{value:o,onChange:l=>{i(l.value)}})]}),_.jsxs("div",{children:[_.jsx("h3",{children:"button"}),_.jsx(xa,{icon:"pi pi-check",rounded:!0,"aria-label":"Filter"})]})]})})]})},Iw=()=>_.jsxs("div",{className:"w-full h-screen flex flex-row m-2 p-4",children:[_.jsx("div",{className:Re,children:"A"}),_.jsx("div",{className:Re,children:"B"})]}),Dw=()=>_.jsxs("div",{className:"w-full h-screen flex flex-row m-2 p-4",children:[_.jsx("div",{className:Re,children:"A"}),_.jsx("div",{className:Re,children:"B"})]}),jw=()=>_.jsxs("div",{className:"w-full h-screen flex flex-row m-2 p-4",children:[_.jsx("div",{className:Re,children:"A"}),_.jsx("div",{className:Re,children:"B"})]}),Mw=()=>_.jsxs("div",{className:"w-full h-screen flex flex-row m-2 p-4",children:[_.jsx("div",{className:Re,children:"A"}),_.jsx("div",{className:Re,children:"B"})]}),Fw=()=>_.jsxs("div",{className:"w-full h-screen flex flex-row m-2 p-4",children:[_.jsx("div",{className:Re,children:"C"}),_.jsx("div",{className:Re,children:"D"})]}),bw=()=>_.jsxs("div",{className:"w-full h-screen flex flex-row m-2 p-4",children:[_.jsx("div",{className:Re,children:"A"}),_.jsx("div",{className:Re,children:"B"})]}),Re=` + w-full + h-full + flex + flex-row + border-orange-500 + surface-overlay + border-3 + border-round + font-bold m-2 + flex + align-items-center + `;function zw(){return i1(),bh(),_.jsxs("div",{className:"w-full h-screen flex flex-column m-0 p-0",children:[_.jsx(Aw,{}),_.jsx(Fw,{}),_.jsx(Lw,{}),_.jsx(Mw,{}),_.jsx(jw,{}),_.jsx(Dw,{}),_.jsx(Iw,{}),_.jsx(bw,{})]})}const Uw=()=>_.jsx(ng,{children:_.jsx(Wp,{path:"/minicurso-web-deploy*",element:_.jsx(zw,{})})});function $w(){return _.jsx(l1,{children:_.jsx(rg,{children:_.jsx(Uw,{})})})}ru.createRoot(document.getElementById("root")).render(_.jsx($w,{})); diff --git a/index.html b/index.html index afeb556..795d571 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ Projeto base - +