@syngrisi/syngrisi
Version:
Syngrisi - Visual Testing Tool
84 lines • 467 kB
JavaScript
var Jh=Object.defineProperty;var h2=(e,t,n)=>t in e?Jh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var l=(e,t)=>Jh(e,"name",{value:t,configurable:!0});var Qt=(e,t,n)=>h2(e,typeof t!="symbol"?t+"":t,n);function m2(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&&!Array.isArray(i)){for(const a in i)if(a!=="default"&&!(a in e)){const c=Object.getOwnPropertyDescriptor(i,a);c&&Object.defineProperty(e,a,c.get?c:{enumerable:!0,get:l(()=>i[a],"get")})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}l(m2,"_mergeNamespaces");l(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))i(a);new MutationObserver(a=>{for(const c of a)if(c.type==="childList")for(const f of c.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&i(f)}).observe(document,{childList:!0,subtree:!0});function n(a){const c={};return a.integrity&&(c.integrity=a.integrity),a.referrerPolicy&&(c.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?c.credentials="include":a.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}l(n,"getFetchOpts");function i(a){if(a.ep)return;a.ep=!0;const c=n(a);fetch(a.href,c)}l(i,"processPreload")},"polyfill")();function Tl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}l(Tl,"getDefaultExportFromCjs");function f3(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=l(function i(){return this instanceof i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)},"a");n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,a.get?a:{enumerable:!0,get:l(function(){return e[i]},"get")})}),n}l(f3,"getAugmentedNamespace");var qu={exports:{}},xe={};/**
* @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 Zh;function y2(){if(Zh)return xe;Zh=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),_=Symbol.iterator;function x(R){return R===null||typeof R!="object"?null:(R=_&&R[_]||R["@@iterator"],typeof R=="function"?R:null)}l(x,"A");var P={isMounted:l(function(){return!1},"isMounted"),enqueueForceUpdate:l(function(){},"enqueueForceUpdate"),enqueueReplaceState:l(function(){},"enqueueReplaceState"),enqueueSetState:l(function(){},"enqueueSetState")},C=Object.assign,O={};function $(R,H,se){this.props=R,this.context=H,this.refs=O,this.updater=se||P}l($,"E"),$.prototype.isReactComponent={},$.prototype.setState=function(R,H){if(typeof R!="object"&&typeof R!="function"&&R!=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,R,H,"setState")},$.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function N(){}l(N,"F"),N.prototype=$.prototype;function b(R,H,se){this.props=R,this.context=H,this.refs=O,this.updater=se||P}l(b,"G");var E=b.prototype=new N;E.constructor=b,C(E,$.prototype),E.isPureReactComponent=!0;var z=Array.isArray,S=Object.prototype.hasOwnProperty,j={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function D(R,H,se){var we,U={},ce=null,ee=null;if(H!=null)for(we in H.ref!==void 0&&(ee=H.ref),H.key!==void 0&&(ce=""+H.key),H)S.call(H,we)&&!A.hasOwnProperty(we)&&(U[we]=H[we]);var ve=arguments.length-2;if(ve===1)U.children=se;else if(1<ve){for(var _e=Array(ve),Ce=0;Ce<ve;Ce++)_e[Ce]=arguments[Ce+2];U.children=_e}if(R&&R.defaultProps)for(we in ve=R.defaultProps,ve)U[we]===void 0&&(U[we]=ve[we]);return{$$typeof:e,type:R,key:ce,ref:ee,props:U,_owner:j.current}}l(D,"M");function Q(R,H){return{$$typeof:e,type:R.type,key:H,ref:R.ref,props:R.props,_owner:R._owner}}l(Q,"N");function X(R){return typeof R=="object"&&R!==null&&R.$$typeof===e}l(X,"O");function ae(R){var H={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(se){return H[se]})}l(ae,"escape");var Z=/\/+/g;function te(R,H){return typeof R=="object"&&R!==null&&R.key!=null?ae(""+R.key):H.toString(36)}l(te,"Q");function K(R,H,se,we,U){var ce=typeof R;(ce==="undefined"||ce==="boolean")&&(R=null);var ee=!1;if(R===null)ee=!0;else switch(ce){case"string":case"number":ee=!0;break;case"object":switch(R.$$typeof){case e:case t:ee=!0}}if(ee)return ee=R,U=U(ee),R=we===""?"."+te(ee,0):we,z(U)?(se="",R!=null&&(se=R.replace(Z,"$&/")+"/"),K(U,H,se,"",function(Ce){return Ce})):U!=null&&(X(U)&&(U=Q(U,se+(!U.key||ee&&ee.key===U.key?"":(""+U.key).replace(Z,"$&/")+"/")+R)),H.push(U)),1;if(ee=0,we=we===""?".":we+":",z(R))for(var ve=0;ve<R.length;ve++){ce=R[ve];var _e=we+te(ce,ve);ee+=K(ce,H,se,_e,U)}else if(_e=x(R),typeof _e=="function")for(R=_e.call(R),ve=0;!(ce=R.next()).done;)ce=ce.value,_e=we+te(ce,ve++),ee+=K(ce,H,se,_e,U);else if(ce==="object")throw H=String(R),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.");return ee}l(K,"R");function ie(R,H,se){if(R==null)return R;var we=[],U=0;return K(R,we,"","",function(ce){return H.call(se,ce,U++)}),we}l(ie,"S");function ue(R){if(R._status===-1){var H=R._result;H=H(),H.then(function(se){(R._status===0||R._status===-1)&&(R._status=1,R._result=se)},function(se){(R._status===0||R._status===-1)&&(R._status=2,R._result=se)}),R._status===-1&&(R._status=0,R._result=H)}if(R._status===1)return R._result.default;throw R._result}l(ue,"T");var ne={current:null},W={transition:null},Y={ReactCurrentDispatcher:ne,ReactCurrentBatchConfig:W,ReactCurrentOwner:j};return xe.Children={map:ie,forEach:l(function(R,H,se){ie(R,function(){H.apply(this,arguments)},se)},"forEach"),count:l(function(R){var H=0;return ie(R,function(){H++}),H},"count"),toArray:l(function(R){return ie(R,function(H){return H})||[]},"toArray"),only:l(function(R){if(!X(R))throw Error("React.Children.only expected to receive a single React element child.");return R},"only")},xe.Component=$,xe.Fragment=n,xe.Profiler=a,xe.PureComponent=b,xe.StrictMode=i,xe.Suspense=y,xe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Y,xe.cloneElement=function(R,H,se){if(R==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+R+".");var we=C({},R.props),U=R.key,ce=R.ref,ee=R._owner;if(H!=null){if(H.ref!==void 0&&(ce=H.ref,ee=j.current),H.key!==void 0&&(U=""+H.key),R.type&&R.type.defaultProps)var ve=R.type.defaultProps;for(_e in H)S.call(H,_e)&&!A.hasOwnProperty(_e)&&(we[_e]=H[_e]===void 0&&ve!==void 0?ve[_e]:H[_e])}var _e=arguments.length-2;if(_e===1)we.children=se;else if(1<_e){ve=Array(_e);for(var Ce=0;Ce<_e;Ce++)ve[Ce]=arguments[Ce+2];we.children=ve}return{$$typeof:e,type:R.type,key:U,ref:ce,props:we,_owner:ee}},xe.createContext=function(R){return R={$$typeof:f,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},R.Provider={$$typeof:c,_context:R},R.Consumer=R},xe.createElement=D,xe.createFactory=function(R){var H=D.bind(null,R);return H.type=R,H},xe.createRef=function(){return{current:null}},xe.forwardRef=function(R){return{$$typeof:p,render:R}},xe.isValidElement=X,xe.lazy=function(R){return{$$typeof:w,_payload:{_status:-1,_result:R},_init:ue}},xe.memo=function(R,H){return{$$typeof:g,type:R,compare:H===void 0?null:H}},xe.startTransition=function(R){var H=W.transition;W.transition={};try{R()}finally{W.transition=H}},xe.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},xe.useCallback=function(R,H){return ne.current.useCallback(R,H)},xe.useContext=function(R){return ne.current.useContext(R)},xe.useDebugValue=function(){},xe.useDeferredValue=function(R){return ne.current.useDeferredValue(R)},xe.useEffect=function(R,H){return ne.current.useEffect(R,H)},xe.useId=function(){return ne.current.useId()},xe.useImperativeHandle=function(R,H,se){return ne.current.useImperativeHandle(R,H,se)},xe.useInsertionEffect=function(R,H){return ne.current.useInsertionEffect(R,H)},xe.useLayoutEffect=function(R,H){return ne.current.useLayoutEffect(R,H)},xe.useMemo=function(R,H){return ne.current.useMemo(R,H)},xe.useReducer=function(R,H,se){return ne.current.useReducer(R,H,se)},xe.useRef=function(R){return ne.current.useRef(R)},xe.useState=function(R){return ne.current.useState(R)},xe.useSyncExternalStore=function(R,H,se){return ne.current.useSyncExternalStore(R,H,se)},xe.useTransition=function(){return ne.current.useTransition()},xe.version="18.2.0",xe}l(y2,"requireReact_production_min");var em;function Dl(){return em||(em=1,qu.exports=y2()),qu.exports}l(Dl,"requireReact");var m=Dl();const sf=Tl(m),Ls=m2({__proto__:null,default:sf},[m]);var ps={},Qu={exports:{}},pt={},Gu={exports:{}},Ku={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var tm;function g2(){return tm||(tm=1,function(e){function t(W,Y){var R=W.length;W.push(Y);e:for(;0<R;){var H=R-1>>>1,se=W[H];if(0<a(se,Y))W[H]=Y,W[R]=se,R=H;else break e}}l(t,"f");function n(W){return W.length===0?null:W[0]}l(n,"h");function i(W){if(W.length===0)return null;var Y=W[0],R=W.pop();if(R!==Y){W[0]=R;e:for(var H=0,se=W.length,we=se>>>1;H<we;){var U=2*(H+1)-1,ce=W[U],ee=U+1,ve=W[ee];if(0>a(ce,R))ee<se&&0>a(ve,ce)?(W[H]=ve,W[ee]=R,H=ee):(W[H]=ce,W[U]=R,H=U);else if(ee<se&&0>a(ve,R))W[H]=ve,W[ee]=R,H=ee;else break e}}return Y}l(i,"k");function a(W,Y){var R=W.sortIndex-Y.sortIndex;return R!==0?R:W.id-Y.id}if(l(a,"g"),typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var f=Date,p=f.now();e.unstable_now=function(){return f.now()-p}}var y=[],g=[],w=1,_=null,x=3,P=!1,C=!1,O=!1,$=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(W){for(var Y=n(g);Y!==null;){if(Y.callback===null)i(g);else if(Y.startTime<=W)i(g),Y.sortIndex=Y.expirationTime,t(y,Y);else break;Y=n(g)}}l(E,"G");function z(W){if(O=!1,E(W),!C)if(n(y)!==null)C=!0,ue(S);else{var Y=n(g);Y!==null&&ne(z,Y.startTime-W)}}l(z,"H");function S(W,Y){C=!1,O&&(O=!1,N(D),D=-1),P=!0;var R=x;try{for(E(Y),_=n(y);_!==null&&(!(_.expirationTime>Y)||W&&!ae());){var H=_.callback;if(typeof H=="function"){_.callback=null,x=_.priorityLevel;var se=H(_.expirationTime<=Y);Y=e.unstable_now(),typeof se=="function"?_.callback=se:_===n(y)&&i(y),E(Y)}else i(y);_=n(y)}if(_!==null)var we=!0;else{var U=n(g);U!==null&&ne(z,U.startTime-Y),we=!1}return we}finally{_=null,x=R,P=!1}}l(S,"J");var j=!1,A=null,D=-1,Q=5,X=-1;function ae(){return!(e.unstable_now()-X<Q)}l(ae,"M");function Z(){if(A!==null){var W=e.unstable_now();X=W;var Y=!0;try{Y=A(!0,W)}finally{Y?te():(j=!1,A=null)}}else j=!1}l(Z,"R");var te;if(typeof b=="function")te=l(function(){b(Z)},"S");else if(typeof MessageChannel<"u"){var K=new MessageChannel,ie=K.port2;K.port1.onmessage=Z,te=l(function(){ie.postMessage(null)},"S")}else te=l(function(){$(Z,0)},"S");function ue(W){A=W,j||(j=!0,te())}l(ue,"I");function ne(W,Y){D=$(function(){W(e.unstable_now())},Y)}l(ne,"K"),e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(W){W.callback=null},e.unstable_continueExecution=function(){C||P||(C=!0,ue(S))},e.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<W?Math.floor(1e3/W):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_getFirstCallbackNode=function(){return n(y)},e.unstable_next=function(W){switch(x){case 1:case 2:case 3:var Y=3;break;default:Y=x}var R=x;x=Y;try{return W()}finally{x=R}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(W,Y){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var R=x;x=W;try{return Y()}finally{x=R}},e.unstable_scheduleCallback=function(W,Y,R){var H=e.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?H+R:H):R=H,W){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=R+se,W={id:w++,callback:Y,priorityLevel:W,startTime:R,expirationTime:se,sortIndex:-1},R>H?(W.sortIndex=R,t(g,W),n(y)===null&&W===n(g)&&(O?(N(D),D=-1):O=!0,ne(z,R-H))):(W.sortIndex=se,t(y,W),C||P||(C=!0,ue(S))),W},e.unstable_shouldYield=ae,e.unstable_wrapCallback=function(W){var Y=x;return function(){var R=x;x=Y;try{return W.apply(this,arguments)}finally{x=R}}}}(Ku)),Ku}l(g2,"requireScheduler_production_min");var rm;function v2(){return rm||(rm=1,Gu.exports=g2()),Gu.exports}l(v2,"requireScheduler");/**
* @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 nm;function w2(){if(nm)return pt;nm=1;var e=Dl(),t=v2();function n(r){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+r,s=1;s<arguments.length;s++)o+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+r+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}l(n,"p");var i=new Set,a={};function c(r,o){f(r,o),f(r+"Capture",o)}l(c,"fa");function f(r,o){for(a[r]=o,r=0;r<o.length;r++)i.add(o[r])}l(f,"ha");var p=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),y=Object.prototype.hasOwnProperty,g=/^[: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]*$/,w={},_={};function x(r){return y.call(_,r)?!0:y.call(w,r)?!1:g.test(r)?_[r]=!0:(w[r]=!0,!1)}l(x,"oa");function P(r,o,s,u){if(s!==null&&s.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return u?!1:s!==null?!s.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}l(P,"pa");function C(r,o,s,u){if(o===null||typeof o>"u"||P(r,o,s,u))return!0;if(u)return!1;if(s!==null)switch(s.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}l(C,"qa");function O(r,o,s,u,d,h,v){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=u,this.attributeNamespace=d,this.mustUseProperty=s,this.propertyName=r,this.type=o,this.sanitizeURL=h,this.removeEmptyString=v}l(O,"v");var $={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){$[r]=new O(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var o=r[0];$[o]=new O(o,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){$[r]=new O(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){$[r]=new O(r,2,!1,r,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(r){$[r]=new O(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){$[r]=new O(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){$[r]=new O(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){$[r]=new O(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){$[r]=new O(r,5,!1,r.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function b(r){return r[1].toUpperCase()}l(b,"sa"),"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(r){var o=r.replace(N,b);$[o]=new O(o,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var o=r.replace(N,b);$[o]=new O(o,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var o=r.replace(N,b);$[o]=new O(o,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){$[r]=new O(r,1,!1,r.toLowerCase(),null,!1,!1)}),$.xlinkHref=new O("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){$[r]=new O(r,1,!1,r.toLowerCase(),null,!0,!0)});function E(r,o,s,u){var d=$.hasOwnProperty(o)?$[o]:null;(d!==null?d.type!==0:u||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(C(o,s,d,u)&&(s=null),u||d===null?x(o)&&(s===null?r.removeAttribute(o):r.setAttribute(o,""+s)):d.mustUseProperty?r[d.propertyName]=s===null?d.type===3?!1:"":s:(o=d.attributeName,u=d.attributeNamespace,s===null?r.removeAttribute(o):(d=d.type,s=d===3||d===4&&s===!0?"":""+s,u?r.setAttributeNS(u,o,s):r.setAttribute(o,s))))}l(E,"ta");var z=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=Symbol.for("react.element"),j=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),X=Symbol.for("react.provider"),ae=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),te=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),ue=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),W=Symbol.iterator;function Y(r){return r===null||typeof r!="object"?null:(r=W&&r[W]||r["@@iterator"],typeof r=="function"?r:null)}l(Y,"Ka");var R=Object.assign,H;function se(r){if(H===void 0)try{throw Error()}catch(s){var o=s.stack.trim().match(/\n( *(at )?)/);H=o&&o[1]||""}return`
`+H+r}l(se,"Ma");var we=!1;function U(r,o){if(!r||we)return"";we=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=l(function(){throw Error()},"b"),Object.defineProperty(o.prototype,"props",{set:l(function(){throw Error()},"set")}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(F){var u=F}Reflect.construct(r,[],o)}else{try{o.call()}catch(F){u=F}r.call(o.prototype)}else{try{throw Error()}catch(F){u=F}r()}}catch(F){if(F&&u&&typeof F.stack=="string"){for(var d=F.stack.split(`
`),h=u.stack.split(`
`),v=d.length-1,k=h.length-1;1<=v&&0<=k&&d[v]!==h[k];)k--;for(;1<=v&&0<=k;v--,k--)if(d[v]!==h[k]){if(v!==1||k!==1)do if(v--,k--,0>k||d[v]!==h[k]){var M=`
`+d[v].replace(" at new "," at ");return r.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",r.displayName)),M}while(1<=v&&0<=k);break}}}finally{we=!1,Error.prepareStackTrace=s}return(r=r?r.displayName||r.name:"")?se(r):""}l(U,"Oa");function ce(r){switch(r.tag){case 5:return se(r.type);case 16:return se("Lazy");case 13:return se("Suspense");case 19:return se("SuspenseList");case 0:case 2:case 15:return r=U(r.type,!1),r;case 11:return r=U(r.type.render,!1),r;case 1:return r=U(r.type,!0),r;default:return""}}l(ce,"Pa");function ee(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case A:return"Fragment";case j:return"Portal";case Q:return"Profiler";case D:return"StrictMode";case te:return"Suspense";case K:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case ae:return(r.displayName||"Context")+".Consumer";case X:return(r._context.displayName||"Context")+".Provider";case Z:var o=r.render;return r=r.displayName,r||(r=o.displayName||o.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case ie:return o=r.displayName||null,o!==null?o:ee(r.type)||"Memo";case ue:o=r._payload,r=r._init;try{return ee(r(o))}catch{}}return null}l(ee,"Qa");function ve(r){var o=r.type;switch(r.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=o.render,r=r.displayName||r.name||"",o.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ee(o);case 8:return o===D?"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 o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}l(ve,"Ra");function _e(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}l(_e,"Sa");function Ce(r){var o=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}l(Ce,"Ta");function Pt(r){var o=Ce(r)?"checked":"value",s=Object.getOwnPropertyDescriptor(r.constructor.prototype,o),u=""+r[o];if(!r.hasOwnProperty(o)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var d=s.get,h=s.set;return Object.defineProperty(r,o,{configurable:!0,get:l(function(){return d.call(this)},"get"),set:l(function(v){u=""+v,h.call(this,v)},"set")}),Object.defineProperty(r,o,{enumerable:s.enumerable}),{getValue:l(function(){return u},"getValue"),setValue:l(function(v){u=""+v},"setValue"),stopTracking:l(function(){r._valueTracker=null,delete r[o]},"stopTracking")}}}l(Pt,"Ua");function ni(r){r._valueTracker||(r._valueTracker=Pt(r))}l(ni,"Va");function nd(r){if(!r)return!1;var o=r._valueTracker;if(!o)return!0;var s=o.getValue(),u="";return r&&(u=Ce(r)?r.checked?"true":"false":r.value),r=u,r!==s?(o.setValue(r),!0):!1}l(nd,"Wa");function oi(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}l(oi,"Xa");function Zl(r,o){var s=o.checked;return R({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??r._wrapperState.initialChecked})}l(Zl,"Ya");function od(r,o){var s=o.defaultValue==null?"":o.defaultValue,u=o.checked!=null?o.checked:o.defaultChecked;s=_e(o.value!=null?o.value:s),r._wrapperState={initialChecked:u,initialValue:s,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}l(od,"Za");function id(r,o){o=o.checked,o!=null&&E(r,"checked",o,!1)}l(id,"ab");function ea(r,o){id(r,o);var s=_e(o.value),u=o.type;if(s!=null)u==="number"?(s===0&&r.value===""||r.value!=s)&&(r.value=""+s):r.value!==""+s&&(r.value=""+s);else if(u==="submit"||u==="reset"){r.removeAttribute("value");return}o.hasOwnProperty("value")?ta(r,o.type,s):o.hasOwnProperty("defaultValue")&&ta(r,o.type,_e(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(r.defaultChecked=!!o.defaultChecked)}l(ea,"bb");function sd(r,o,s){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var u=o.type;if(!(u!=="submit"&&u!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+r._wrapperState.initialValue,s||o===r.value||(r.value=o),r.defaultValue=o}s=r.name,s!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,s!==""&&(r.name=s)}l(sd,"db");function ta(r,o,s){(o!=="number"||oi(r.ownerDocument)!==r)&&(s==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+s&&(r.defaultValue=""+s))}l(ta,"cb");var Kn=Array.isArray;function ln(r,o,s,u){if(r=r.options,o){o={};for(var d=0;d<s.length;d++)o["$"+s[d]]=!0;for(s=0;s<r.length;s++)d=o.hasOwnProperty("$"+r[s].value),r[s].selected!==d&&(r[s].selected=d),d&&u&&(r[s].defaultSelected=!0)}else{for(s=""+_e(s),o=null,d=0;d<r.length;d++){if(r[d].value===s){r[d].selected=!0,u&&(r[d].defaultSelected=!0);return}o!==null||r[d].disabled||(o=r[d])}o!==null&&(o.selected=!0)}}l(ln,"fb");function ra(r,o){if(o.dangerouslySetInnerHTML!=null)throw Error(n(91));return R({},o,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}l(ra,"gb");function ld(r,o){var s=o.value;if(s==null){if(s=o.children,o=o.defaultValue,s!=null){if(o!=null)throw Error(n(92));if(Kn(s)){if(1<s.length)throw Error(n(93));s=s[0]}o=s}o==null&&(o=""),s=o}r._wrapperState={initialValue:_e(s)}}l(ld,"hb");function ad(r,o){var s=_e(o.value),u=_e(o.defaultValue);s!=null&&(s=""+s,s!==r.value&&(r.value=s),o.defaultValue==null&&r.defaultValue!==s&&(r.defaultValue=s)),u!=null&&(r.defaultValue=""+u)}l(ad,"ib");function ud(r){var o=r.textContent;o===r._wrapperState.initialValue&&o!==""&&o!==null&&(r.value=o)}l(ud,"jb");function cd(r){switch(r){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}l(cd,"kb");function na(r,o){return r==null||r==="http://www.w3.org/1999/xhtml"?cd(o):r==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":r}l(na,"lb");var ii,fd=function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,s,u,d){MSApp.execUnsafeLocalFunction(function(){return r(o,s,u,d)})}:r}(function(r,o){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=o;else{for(ii=ii||document.createElement("div"),ii.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=ii.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;o.firstChild;)r.appendChild(o.firstChild)}});function Yn(r,o){if(o){var s=r.firstChild;if(s&&s===r.lastChild&&s.nodeType===3){s.nodeValue=o;return}}r.textContent=o}l(Yn,"ob");var Xn={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},ww=["Webkit","ms","Moz","O"];Object.keys(Xn).forEach(function(r){ww.forEach(function(o){o=o+r.charAt(0).toUpperCase()+r.substring(1),Xn[o]=Xn[r]})});function dd(r,o,s){return o==null||typeof o=="boolean"||o===""?"":s||typeof o!="number"||o===0||Xn.hasOwnProperty(r)&&Xn[r]?(""+o).trim():o+"px"}l(dd,"rb");function pd(r,o){r=r.style;for(var s in o)if(o.hasOwnProperty(s)){var u=s.indexOf("--")===0,d=dd(s,o[s],u);s==="float"&&(s="cssFloat"),u?r.setProperty(s,d):r[s]=d}}l(pd,"sb");var _w=R({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 oa(r,o){if(o){if(_w[r]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(n(137,r));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(n(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(n(61))}if(o.style!=null&&typeof o.style!="object")throw Error(n(62))}}l(oa,"ub");function ia(r,o){if(r.indexOf("-")===-1)return typeof o.is=="string";switch(r){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}}l(ia,"vb");var sa=null;function la(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}l(la,"xb");var aa=null,an=null,un=null;function hd(r){if(r=_o(r)){if(typeof aa!="function")throw Error(n(280));var o=r.stateNode;o&&(o=Ci(o),aa(r.stateNode,r.type,o))}}l(hd,"Bb");function md(r){an?un?un.push(r):un=[r]:an=r}l(md,"Eb");function yd(){if(an){var r=an,o=un;if(un=an=null,hd(r),o)for(r=0;r<o.length;r++)hd(o[r])}}l(yd,"Fb");function gd(r,o){return r(o)}l(gd,"Gb");function vd(){}l(vd,"Hb");var ua=!1;function wd(r,o,s){if(ua)return r(o,s);ua=!0;try{return gd(r,o,s)}finally{ua=!1,(an!==null||un!==null)&&(vd(),yd())}}l(wd,"Jb");function Jn(r,o){var s=r.stateNode;if(s===null)return null;var u=Ci(s);if(u===null)return null;s=u[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(r=r.type,u=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!u;break e;default:r=!1}if(r)return null;if(s&&typeof s!="function")throw Error(n(231,o,typeof s));return s}l(Jn,"Kb");var ca=!1;if(p)try{var Zn={};Object.defineProperty(Zn,"passive",{get:l(function(){ca=!0},"get")}),window.addEventListener("test",Zn,Zn),window.removeEventListener("test",Zn,Zn)}catch{ca=!1}function xw(r,o,s,u,d,h,v,k,M){var F=Array.prototype.slice.call(arguments,3);try{o.apply(s,F)}catch(q){this.onError(q)}}l(xw,"Nb");var eo=!1,si=null,li=!1,fa=null,Pw={onError:l(function(r){eo=!0,si=r},"onError")};function bw(r,o,s,u,d,h,v,k,M){eo=!1,si=null,xw.apply(Pw,arguments)}l(bw,"Tb");function Sw(r,o,s,u,d,h,v,k,M){if(bw.apply(this,arguments),eo){if(eo){var F=si;eo=!1,si=null}else throw Error(n(198));li||(li=!0,fa=F)}}l(Sw,"Ub");function Br(r){var o=r,s=r;if(r.alternate)for(;o.return;)o=o.return;else{r=o;do o=r,o.flags&4098&&(s=o.return),r=o.return;while(r)}return o.tag===3?s:null}l(Br,"Vb");function _d(r){if(r.tag===13){var o=r.memoizedState;if(o===null&&(r=r.alternate,r!==null&&(o=r.memoizedState)),o!==null)return o.dehydrated}return null}l(_d,"Wb");function xd(r){if(Br(r)!==r)throw Error(n(188))}l(xd,"Xb");function Ow(r){var o=r.alternate;if(!o){if(o=Br(r),o===null)throw Error(n(188));return o!==r?null:r}for(var s=r,u=o;;){var d=s.return;if(d===null)break;var h=d.alternate;if(h===null){if(u=d.return,u!==null){s=u;continue}break}if(d.child===h.child){for(h=d.child;h;){if(h===s)return xd(d),r;if(h===u)return xd(d),o;h=h.sibling}throw Error(n(188))}if(s.return!==u.return)s=d,u=h;else{for(var v=!1,k=d.child;k;){if(k===s){v=!0,s=d,u=h;break}if(k===u){v=!0,u=d,s=h;break}k=k.sibling}if(!v){for(k=h.child;k;){if(k===s){v=!0,s=h,u=d;break}if(k===u){v=!0,u=h,s=d;break}k=k.sibling}if(!v)throw Error(n(189))}}if(s.alternate!==u)throw Error(n(190))}if(s.tag!==3)throw Error(n(188));return s.stateNode.current===s?r:o}l(Ow,"Yb");function Pd(r){return r=Ow(r),r!==null?bd(r):null}l(Pd,"Zb");function bd(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var o=bd(r);if(o!==null)return o;r=r.sibling}return null}l(bd,"$b");var Sd=t.unstable_scheduleCallback,Od=t.unstable_cancelCallback,Ew=t.unstable_shouldYield,kw=t.unstable_requestPaint,Ae=t.unstable_now,Cw=t.unstable_getCurrentPriorityLevel,da=t.unstable_ImmediatePriority,Ed=t.unstable_UserBlockingPriority,ai=t.unstable_NormalPriority,Rw=t.unstable_LowPriority,kd=t.unstable_IdlePriority,ui=null,Wt=null;function $w(r){if(Wt&&typeof Wt.onCommitFiberRoot=="function")try{Wt.onCommitFiberRoot(ui,r,void 0,(r.current.flags&128)===128)}catch{}}l($w,"mc");var zt=Math.clz32?Math.clz32:Nw,zw=Math.log,Mw=Math.LN2;function Nw(r){return r>>>=0,r===0?32:31-(zw(r)/Mw|0)|0}l(Nw,"nc");var ci=64,fi=4194304;function to(r){switch(r&-r){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 r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}l(to,"tc");function di(r,o){var s=r.pendingLanes;if(s===0)return 0;var u=0,d=r.suspendedLanes,h=r.pingedLanes,v=s&268435455;if(v!==0){var k=v&~d;k!==0?u=to(k):(h&=v,h!==0&&(u=to(h)))}else v=s&~d,v!==0?u=to(v):h!==0&&(u=to(h));if(u===0)return 0;if(o!==0&&o!==u&&!(o&d)&&(d=u&-u,h=o&-o,d>=h||d===16&&(h&4194240)!==0))return o;if(u&4&&(u|=s&16),o=r.entangledLanes,o!==0)for(r=r.entanglements,o&=u;0<o;)s=31-zt(o),d=1<<s,u|=r[s],o&=~d;return u}l(di,"uc");function jw(r,o){switch(r){case 1:case 2:case 4:return o+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}l(jw,"vc");function Lw(r,o){for(var s=r.suspendedLanes,u=r.pingedLanes,d=r.expirationTimes,h=r.pendingLanes;0<h;){var v=31-zt(h),k=1<<v,M=d[v];M===-1?(!(k&s)||k&u)&&(d[v]=jw(k,o)):M<=o&&(r.expiredLanes|=k),h&=~k}}l(Lw,"wc");function pa(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}l(pa,"xc");function Cd(){var r=ci;return ci<<=1,!(ci&4194240)&&(ci=64),r}l(Cd,"yc");function ha(r){for(var o=[],s=0;31>s;s++)o.push(r);return o}l(ha,"zc");function ro(r,o,s){r.pendingLanes|=o,o!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,o=31-zt(o),r[o]=s}l(ro,"Ac");function Iw(r,o){var s=r.pendingLanes&~o;r.pendingLanes=o,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=o,r.mutableReadLanes&=o,r.entangledLanes&=o,o=r.entanglements;var u=r.eventTimes;for(r=r.expirationTimes;0<s;){var d=31-zt(s),h=1<<d;o[d]=0,u[d]=-1,r[d]=-1,s&=~h}}l(Iw,"Bc");function ma(r,o){var s=r.entangledLanes|=o;for(r=r.entanglements;s;){var u=31-zt(s),d=1<<u;d&o|r[u]&o&&(r[u]|=o),s&=~d}}l(ma,"Cc");var Re=0;function Rd(r){return r&=-r,1<r?4<r?r&268435455?16:536870912:4:1}l(Rd,"Dc");var $d,ya,zd,Md,Nd,ga=!1,pi=[],hr=null,mr=null,yr=null,no=new Map,oo=new Map,gr=[],Tw="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function jd(r,o){switch(r){case"focusin":case"focusout":hr=null;break;case"dragenter":case"dragleave":mr=null;break;case"mouseover":case"mouseout":yr=null;break;case"pointerover":case"pointerout":no.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":oo.delete(o.pointerId)}}l(jd,"Sc");function io(r,o,s,u,d,h){return r===null||r.nativeEvent!==h?(r={blockedOn:o,domEventName:s,eventSystemFlags:u,nativeEvent:h,targetContainers:[d]},o!==null&&(o=_o(o),o!==null&&ya(o)),r):(r.eventSystemFlags|=u,o=r.targetContainers,d!==null&&o.indexOf(d)===-1&&o.push(d),r)}l(io,"Tc");function Dw(r,o,s,u,d){switch(o){case"focusin":return hr=io(hr,r,o,s,u,d),!0;case"dragenter":return mr=io(mr,r,o,s,u,d),!0;case"mouseover":return yr=io(yr,r,o,s,u,d),!0;case"pointerover":var h=d.pointerId;return no.set(h,io(no.get(h)||null,r,o,s,u,d)),!0;case"gotpointercapture":return h=d.pointerId,oo.set(h,io(oo.get(h)||null,r,o,s,u,d)),!0}return!1}l(Dw,"Uc");function Ld(r){var o=Wr(r.target);if(o!==null){var s=Br(o);if(s!==null){if(o=s.tag,o===13){if(o=_d(s),o!==null){r.blockedOn=o,Nd(r.priority,function(){zd(s)});return}}else if(o===3&&s.stateNode.current.memoizedState.isDehydrated){r.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}r.blockedOn=null}l(Ld,"Vc");function hi(r){if(r.blockedOn!==null)return!1;for(var o=r.targetContainers;0<o.length;){var s=wa(r.domEventName,r.eventSystemFlags,o[0],r.nativeEvent);if(s===null){s=r.nativeEvent;var u=new s.constructor(s.type,s);sa=u,s.target.dispatchEvent(u),sa=null}else return o=_o(s),o!==null&&ya(o),r.blockedOn=s,!1;o.shift()}return!0}l(hi,"Xc");function Id(r,o,s){hi(r)&&s.delete(o)}l(Id,"Zc");function Fw(){ga=!1,hr!==null&&hi(hr)&&(hr=null),mr!==null&&hi(mr)&&(mr=null),yr!==null&&hi(yr)&&(yr=null),no.forEach(Id),oo.forEach(Id)}l(Fw,"$c");function so(r,o){r.blockedOn===o&&(r.blockedOn=null,ga||(ga=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Fw)))}l(so,"ad");function lo(r){function o(d){return so(d,r)}if(l(o,"b"),0<pi.length){so(pi[0],r);for(var s=1;s<pi.length;s++){var u=pi[s];u.blockedOn===r&&(u.blockedOn=null)}}for(hr!==null&&so(hr,r),mr!==null&&so(mr,r),yr!==null&&so(yr,r),no.forEach(o),oo.forEach(o),s=0;s<gr.length;s++)u=gr[s],u.blockedOn===r&&(u.blockedOn=null);for(;0<gr.length&&(s=gr[0],s.blockedOn===null);)Ld(s),s.blockedOn===null&&gr.shift()}l(lo,"bd");var cn=z.ReactCurrentBatchConfig,mi=!0;function Aw(r,o,s,u){var d=Re,h=cn.transition;cn.transition=null;try{Re=1,va(r,o,s,u)}finally{Re=d,cn.transition=h}}l(Aw,"ed");function Bw(r,o,s,u){var d=Re,h=cn.transition;cn.transition=null;try{Re=4,va(r,o,s,u)}finally{Re=d,cn.transition=h}}l(Bw,"gd");function va(r,o,s,u){if(mi){var d=wa(r,o,s,u);if(d===null)Ia(r,o,u,yi,s),jd(r,u);else if(Dw(d,r,o,s,u))u.stopPropagation();else if(jd(r,u),o&4&&-1<Tw.indexOf(r)){for(;d!==null;){var h=_o(d);if(h!==null&&$d(h),h=wa(r,o,s,u),h===null&&Ia(r,o,u,yi,s),h===d)break;d=h}d!==null&&u.stopPropagation()}else Ia(r,o,u,null,s)}}l(va,"fd");var yi=null;function wa(r,o,s,u){if(yi=null,r=la(u),r=Wr(r),r!==null)if(o=Br(r),o===null)r=null;else if(s=o.tag,s===13){if(r=_d(o),r!==null)return r;r=null}else if(s===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;r=null}else o!==r&&(r=null);return yi=r,null}l(wa,"Yc");function Td(r){switch(r){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Cw()){case da:return 1;case Ed:return 4;case ai:case Rw:return 16;case kd:return 536870912;default:return 16}default:return 16}}l(Td,"jd");var vr=null,_a=null,gi=null;function Dd(){if(gi)return gi;var r,o=_a,s=o.length,u,d="value"in vr?vr.value:vr.textContent,h=d.length;for(r=0;r<s&&o[r]===d[r];r++);var v=s-r;for(u=1;u<=v&&o[s-u]===d[h-u];u++);return gi=d.slice(r,1<u?1-u:void 0)}l(Dd,"nd");function vi(r){var o=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&o===13&&(r=13)):r=o,r===10&&(r=13),32<=r||r===13?r:0}l(vi,"od");function wi(){return!0}l(wi,"pd");function Fd(){return!1}l(Fd,"qd");function yt(r){function o(s,u,d,h,v){this._reactName=s,this._targetInst=d,this.type=u,this.nativeEvent=h,this.target=v,this.currentTarget=null;for(var k in r)r.hasOwnProperty(k)&&(s=r[k],this[k]=s?s(h):h[k]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?wi:Fd,this.isPropagationStopped=Fd,this}return l(o,"b"),R(o.prototype,{preventDefault:l(function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=wi)},"preventDefault"),stopPropagation:l(function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=wi)},"stopPropagation"),persist:l(function(){},"persist"),isPersistent:wi}),o}l(yt,"rd");var fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:l(function(r){return r.timeStamp||Date.now()},"timeStamp"),defaultPrevented:0,isTrusted:0},xa=yt(fn),ao=R({},fn,{view:0,detail:0}),Ww=yt(ao),Pa,ba,uo,_i=R({},ao,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Oa,button:0,buttons:0,relatedTarget:l(function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},"relatedTarget"),movementX:l(function(r){return"movementX"in r?r.movementX:(r!==uo&&(uo&&r.type==="mousemove"?(Pa=r.screenX-uo.screenX,ba=r.screenY-uo.screenY):ba=Pa=0,uo=r),Pa)},"movementX"),movementY:l(function(r){return"movementY"in r?r.movementY:ba},"movementY")}),Ad=yt(_i),Hw=R({},_i,{dataTransfer:0}),Uw=yt(Hw),Vw=R({},ao,{relatedTarget:0}),Sa=yt(Vw),qw=R({},fn,{animationName:0,elapsedTime:0,pseudoElement:0}),Qw=yt(qw),Gw=R({},fn,{clipboardData:l(function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData},"clipboardData")}),Kw=yt(Gw),Yw=R({},fn,{data:0}),Bd=yt(Yw),Xw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Jw={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Zw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function e_(r){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(r):(r=Zw[r])?!!o[r]:!1}l(e_,"Pd");function Oa(){return e_}l(Oa,"zd");var t_=R({},ao,{key:l(function(r){if(r.key){var o=Xw[r.key]||r.key;if(o!=="Unidentified")return o}return r.type==="keypress"?(r=vi(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Jw[r.keyCode]||"Unidentified":""},"key"),code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Oa,charCode:l(function(r){return r.type==="keypress"?vi(r):0},"charCode"),keyCode:l(function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},"keyCode"),which:l(function(r){return r.type==="keypress"?vi(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0},"which")}),r_=yt(t_),n_=R({},_i,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wd=yt(n_),o_=R({},ao,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Oa}),i_=yt(o_),s_=R({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0}),l_=yt(s_),a_=R({},_i,{deltaX:l(function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},"deltaX"),deltaY:l(function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},"deltaY"),deltaZ:0,deltaMode:0}),u_=yt(a_),c_=[9,13,27,32],Ea=p&&"CompositionEvent"in window,co=null;p&&"documentMode"in document&&(co=document.documentMode);var f_=p&&"TextEvent"in window&&!co,Hd=p&&(!Ea||co&&8<co&&11>=co),Ud=" ",Vd=!1;function qd(r,o){switch(r){case"keyup":return c_.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}l(qd,"ge");function Qd(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}l(Qd,"he");var dn=!1;function d_(r,o){switch(r){case"compositionend":return Qd(o);case"keypress":return o.which!==32?null:(Vd=!0,Ud);case"textInput":return r=o.data,r===Ud&&Vd?null:r;default:return null}}l(d_,"je");function p_(r,o){if(dn)return r==="compositionend"||!Ea&&qd(r,o)?(r=Dd(),gi=_a=vr=null,dn=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Hd&&o.locale!=="ko"?null:o.data;default:return null}}l(p_,"ke");var h_={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gd(r){var o=r&&r.nodeName&&r.nodeName.toLowerCase();return o==="input"?!!h_[r.type]:o==="textarea"}l(Gd,"me");function Kd(r,o,s,u){md(u),o=Oi(o,"onChange"),0<o.length&&(s=new xa("onChange","change",null,s,u),r.push({event:s,listeners:o}))}l(Kd,"ne");var fo=null,po=null;function m_(r){pp(r,0)}l(m_,"re");function xi(r){var o=gn(r);if(nd(o))return r}l(xi,"te");function y_(r,o){if(r==="change")return o}l(y_,"ve");var Yd=!1;if(p){var ka;if(p){var Ca="oninput"in document;if(!Ca){var Xd=document.createElement("div");Xd.setAttribute("oninput","return;"),Ca=typeof Xd.oninput=="function"}ka=Ca}else ka=!1;Yd=ka&&(!document.documentMode||9<document.documentMode)}function Jd(){fo&&(fo.detachEvent("onpropertychange",Zd),po=fo=null)}l(Jd,"Ae");function Zd(r){if(r.propertyName==="value"&&xi(po)){var o=[];Kd(o,po,r,la(r)),wd(m_,o)}}l(Zd,"Be");function g_(r,o,s){r==="focusin"?(Jd(),fo=o,po=s,fo.attachEvent("onpropertychange",Zd)):r==="focusout"&&Jd()}l(g_,"Ce");function v_(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return xi(po)}l(v_,"De");function w_(r,o){if(r==="click")return xi(o)}l(w_,"Ee");function __(r,o){if(r==="input"||r==="change")return xi(o)}l(__,"Fe");function x_(r,o){return r===o&&(r!==0||1/r===1/o)||r!==r&&o!==o}l(x_,"Ge");var Mt=typeof Object.is=="function"?Object.is:x_;function ho(r,o){if(Mt(r,o))return!0;if(typeof r!="object"||r===null||typeof o!="object"||o===null)return!1;var s=Object.keys(r),u=Object.keys(o);if(s.length!==u.length)return!1;for(u=0;u<s.length;u++){var d=s[u];if(!y.call(o,d)||!Mt(r[d],o[d]))return!1}return!0}l(ho,"Ie");function ep(r){for(;r&&r.firstChild;)r=r.firstChild;return r}l(ep,"Je");function tp(r,o){var s=ep(r);r=0;for(var u;s;){if(s.nodeType===3){if(u=r+s.textContent.length,r<=o&&u>=o)return{node:s,offset:o-r};r=u}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=ep(s)}}l(tp,"Ke");function rp(r,o){return r&&o?r===o?!0:r&&r.nodeType===3?!1:o&&o.nodeType===3?rp(r,o.parentNode):"contains"in r?r.contains(o):r.compareDocumentPosition?!!(r.compareDocumentPosition(o)&16):!1:!1}l(rp,"Le");function np(){for(var r=window,o=oi();o instanceof r.HTMLIFrameElement;){try{var s=typeof o.contentWindow.location.href=="string"}catch{s=!1}if(s)r=o.contentWindow;else break;o=oi(r.document)}return o}l(np,"Me");function Ra(r){var o=r&&r.nodeName&&r.nodeName.toLowerCase();return o&&(o==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||o==="textarea"||r.contentEditable==="true")}l(Ra,"Ne");function P_(r){var o=np(),s=r.focusedElem,u=r.selectionRange;if(o!==s&&s&&s.ownerDocument&&rp(s.ownerDocument.documentElement,s)){if(u!==null&&Ra(s)){if(o=u.start,r=u.end,r===void 0&&(r=o),"selectionStart"in s)s.selectionStart=o,s.selectionEnd=Math.min(r,s.value.length);else if(r=(o=s.ownerDocument||document)&&o.defaultView||window,r.getSelection){r=r.getSelection();var d=s.textContent.length,h=Math.min(u.start,d);u=u.end===void 0?h:Math.min(u.end,d),!r.extend&&h>u&&(d=u,u=h,h=d),d=tp(s,h);var v=tp(s,u);d&&v&&(r.rangeCount!==1||r.anchorNode!==d.node||r.anchorOffset!==d.offset||r.focusNode!==v.node||r.focusOffset!==v.offset)&&(o=o.createRange(),o.setStart(d.node,d.offset),r.removeAllRanges(),h>u?(r.addRange(o),r.extend(v.node,v.offset)):(o.setEnd(v.node,v.offset),r.addRange(o)))}}for(o=[],r=s;r=r.parentNode;)r.nodeType===1&&o.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<o.length;s++)r=o[s],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}l(P_,"Oe");var b_=p&&"documentMode"in document&&11>=document.documentMode,pn=null,$a=null,mo=null,za=!1;function op(r,o,s){var u=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;za||pn==null||pn!==oi(u)||(u=pn,"selectionStart"in u&&Ra(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),mo&&ho(mo,u)||(mo=u,u=Oi($a,"onSelect"),0<u.length&&(o=new xa("onSelect","select",null,o,s),r.push({event:o,listeners:u}),o.target=pn)))}l(op,"Ue");function Pi(r,o){var s={};return s[r.toLowerCase()]=o.toLowerCase(),s["Webkit"+r]="webkit"+o,s["Moz"+r]="moz"+o,s}l(Pi,"Ve");var hn={animationend:Pi("Animation","AnimationEnd"),animationiteration:Pi("Animation","AnimationIteration"),animationstart:Pi("Animation","AnimationStart"),transitionend:Pi("Transition","TransitionEnd")},Ma={},ip={};p&&(ip=document.createElement("div").style,"AnimationEvent"in window||(delete hn.animationend.animation,delete hn.animationiteration.animation,delete hn.animationstart.animation),"TransitionEvent"in window||delete hn.transitionend.transition);function bi(r){if(Ma[r])return Ma[r];if(!hn[r])return r;var o=hn[r],s;for(s in o)if(o.hasOwnProperty(s)&&s in ip)return Ma[r]=o[s];return r}l(bi,"Ze");var sp=bi("animationend"),lp=bi("animationiteration"),ap=bi("animationstart"),up=bi("transitionend"),cp=new Map,fp="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function wr(r,o){cp.set(r,o),c(o,[r])}l(wr,"ff");for(var Na=0;Na<fp.length;Na++){var ja=fp[Na],S_=ja.toLowerCase(),O_=ja[0].toUpperCase()+ja.slice(1);wr(S_,"on"+O_)}wr(sp,"onAnimationEnd"),wr(lp,"onAnimationIteration"),wr(ap,"onAnimationStart"),wr("dblclick","onDoubleClick"),wr("focusin","onFocus"),wr("focusout","onBlur"),wr(up,"onTransitionEnd"),f("onMouseEnter",["mouseout","mouseover"]),f("onMouseLeave",["mouseout","mouseover"]),f("onPointerEnter",["pointerout","pointerover"]),f("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),E_=new Set("cancel close invalid load scroll toggle".split(" ").concat(yo));function dp(r,o,s){var u=r.type||"unknown-event";r.currentTarget=s,Sw(u,o,void 0,r),r.currentTarget=null}l(dp,"nf");function pp(r,o){o=(o&4)!==0;for(var s=0;s<r.length;s++){var u=r[s],d=u.event;u=u.listeners;e:{var h=void 0;if(o)for(var v=u.length-1;0<=v;v--){var k=u[v],M=k.instance,F=k.currentTarget;if(k=k.listener,M!==h&&d.isPropagationStopped())break e;dp(d,k,F),h=M}else for(v=0;v<u.length;v++){if(k=u[v],M=k.instance,F=k.currentTarget,k=k.listener,M!==h&&d.isPropagationStopped())break e;dp(d,k,F),h=M}}}if(li)throw r=fa,li=!1,fa=null,r}l(pp,"se");function Me(r,o){var s=o[Wa];s===void 0&&(s=o[Wa]=new Set);var u=r+"__bubble";s.has(u)||(hp(o,r,2,!1),s.add(u))}l(Me,"D");function La(r,o,s){var u=0;o&&(u|=4),hp(s,r,u,o)}l(La,"qf");var Si="_reactListening"+Math.random().toString(36).slice(2);function go(r){if(!r[Si]){r[Si]=!0,i.forEach(function(s){s!=="selectionchange"&&(E_.has(s)||La(s,!1,r),La(s,!0,r))});var o=r.nodeType===9?r:r.ownerDocument;o===null||o[Si]||(o[Si]=!0,La("selectionchange",!1,o))}}l(go,"sf");function hp(r,o,s,u){switch(Td(o)){case 1:var d=Aw;break;case 4:d=Bw;break;default:d=va}s=d.bind(null,o,s,r),d=void 0,!ca||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(d=!0),u?d!==void 0?r.addEventListener(o,s,{capture:!0,passive:d}):r.addEventListener(o,s,!0):d!==void 0?r.addEventListener(o,s,{passive:d}):r.addEventListener(o,s,!1)}l(hp,"pf");function Ia(r,o,s,u,d){var h=u;if(!(o&1)&&!(o&2)&&u!==null)e:for(;;){if(u===null)return;var v=u.tag;if(v===3||v===4){var k=u.stateNode.containerInfo;if(k===d||k.nodeType===8&&k.parentNode===d)break;if(v===4)for(v=u.return;v!==null;){var M=v.tag;if((M===3||M===4)&&(M=v.stateNode.containerInfo,M===d||M.nodeType===8&&M.parentNode===d))return;v=v.return}for(;k!==null;){if(v=Wr(k),v===null)return;if(M=v.tag,M===5||M===6){u=h=v;continue e}k=k.parentNode}}u=u.return}wd(function(){var F=h,q=la(s),G=[];e:{var V=cp.get(r);if(V!==void 0){var re=xa,le=r;switch(r){case"keypress":if(vi(s)===0)break e;case"keydown":case"keyup":re=r_;break;case"focusin":le="focus",re=Sa;break;case"focusout":le="blur",re=Sa;break;case"beforeblur":case"afterblur":re=Sa;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":re=Ad;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":re=Uw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":re=i_;break;case sp:case lp:case ap:re=Qw;break;case up:re=l_;break;case"scroll":re=Ww;break;case"wheel":re=u_;break;case"copy":case"cut":case"paste":re=Kw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":re=Wd}var fe=(o&4)!==0,Be=!fe&&r==="scroll",I=fe?V!==null?V+"Capture":null:V;fe=[];for(var L=F,T;L!==null;){T=L;var J=T.stateNode;if(T.tag===5&&J!==null&&(T=J,I!==null&&(J=Jn(L,I),J!=null&&fe.push(vo(L,J,T)))),Be)break;L=L.return}0<fe.length&&(V=new re(V,le,null,s,q),G.push({event:V,listeners:fe}))}}if(!(o&7)){e:{if(V=r==="mouseover"||r==="pointerover",re=r==="mouseout"||r==="pointerout",V&&s!==sa&&(le=s.relatedTarget||s.fromElement)&&(Wr(le)||le[tr]))break e;if((re||V)&&(V=q.window===q?q:(V=q.ownerDocument)?V.defaultView||V.parentWindow:window,re?(le=s.relatedTarget||s.toElement,re=F,le=le?Wr(le):null,le!==null&&(Be=Br(le),le!==Be||le.tag!==5&&le.tag!==6)&&(le=null)):(re=null,le=F),re!==le)){if(fe=Ad,J="onMouseLeave",I="onMouseEnter",L="mouse",(r==="pointerout"||r==="pointerover")&&(fe=Wd,J="onPointerLeave",I="onPointerEnter",L="pointer"),Be=re==null?V:gn(re),T=le==null?V:gn(le),V=new fe(J,L+"leave",re,s,q),V.target=Be,V.relatedTarget=T,J=null,Wr(q)===F&&(fe=new fe(I,L+"enter",le,s,q),fe.target=T,fe.relatedTarget=Be,J=fe),Be=J,re&&le)t:{for(fe=re,I=le,L=0,T=fe;T;T=mn(T))L++;for(T=0,J=I;J;J=mn(J))T++;for(;0<L-T;)fe=mn(fe),L--;for(;0<T-L;)I=mn(I),T--;for(;L--;){if(fe===I||I!==null&&fe===I.alternate)break t;fe=mn(fe),I=mn(I)}fe=null}else fe=null;re!==null&&mp(G,V,re,fe,!1),le!==null&&Be!==null&&mp(G,Be,le,fe,!0)}}e:{if(V=F?gn(F):window,re=V.nodeName&&V.nodeName.toLowerCase(),re==="select"||re==="input"&&V.type==="file")var de=y_;else if(Gd(V))if(Yd)de=__;else{de=v_;var me=g_}else(re=V.nodeName)&&re.toLowerCase()==="input"&&(V.type==="checkbox"||V.type==="radio")&&(de=w_);if(de&&(de=de(r,F))){Kd(G,de,s,q);break e}me&&me(r,V,F),r==="focusout"&&(me=V._wrapperState)&&me.controlled&&V.type==="number"&&ta(V,"number",V.value)}switch(me=F?gn(F):window,r){case"focusin":(Gd(me)||me.contentEditable==="true")&&(pn=me,$a=F,mo=null);break;case"focusout":mo=$a=pn=null;break;case"mousedown":za=!0;break;case"contextmenu":case"mouseup":case"dragend":za=!1,op(G,s,q);break;case"selectionchange":if(b_)break;case"keydown":case"keyup":op(G,s,q)}var ye;if(Ea)e:{switch(r){case"compositionstart":var ge="onCompositionStart";break e;case"compositionend":ge="onCompositionEnd";break e;case"compositionupdate":ge="onCompositionUpdate";break e}ge=void 0}else dn?qd(r,s)&&(ge="onCompositionEnd"):r==="keydown"&&s.keyCode===229&&(ge="onCompositionStart");ge&&(Hd&&s.locale!=="ko"&&(dn||ge!=="onCompositionStart"?ge==="onCompositionEnd"&&dn&&(ye=Dd()):(vr=q,_a="value"in vr?vr.value:vr.textContent,dn=!0)),me=Oi(F,ge),0<me.length&&(ge=new Bd(ge,r,null,s,q),G.push({event:ge,listeners:me}),ye?ge.data=ye:(ye=Qd(s),ye!==null&&(ge.data=ye)))),(ye=f_?d_(r,s):p_(r,s))&&(F=Oi(F,"onBeforeInput"),0<F.length&&(q=new Bd("onBeforeInput","beforeinput",null,s,q),G.push({event:q,listeners:F}),q.data=ye))}pp(G,o)})}l(Ia,"hd");function vo(r,o,s){return{instance:r,listener:o,currentTarget:s}}l(vo,"tf");function Oi(r,o){for(var s=o+"Capture",u=[];r!==null;){var d=r,h=d.stateNode;d.tag===5&&h!==null&&(d=h,h=Jn(r,s),h!=null&&u.unshift(vo(r,h,d)),h=Jn(r,o),h!=null&&u.push(vo(r,h,d))),r=r.return}return u}l(Oi,"oe");function mn(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}l(mn,"vf");function mp(r,o,s,u,d){for(var h=o._reactName,v=[];s!==null&&s!==u;){var k=s,M=k.alternate,F=k.stateNode;if(M!==null&&M===u)break;k.tag===5&&F!==null&&(k=F,d?(M=Jn(s,h),M!=null&&v.unshift(vo(s,M,k))):d||(M=Jn(s,h),M!=null&&v.push(vo(s,M,k)))),s=s.return}v.length!==0&&r.push({event:o,listeners:v})}l(mp,"wf");var k_=/\r\n?/g,C_=/\u0000|\uFFFD/g;function yp(r){return(typeof r=="string"?r:""+r).replace(k_,`
`).replace(C_,"")}l(yp,"zf");function Ei(r,o,s){if(o=yp(o),yp(r)!==o&&s)throw Error(n(425))}l(Ei,"Af");function ki(){}l(ki,"Bf");var Ta=null,Da=null;function Fa(r,o){return r==="textarea"||r==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}l(Fa,"Ef");var Aa=typeof setTimeout=="function"?setTimeout:void 0,R_=typeof clearTimeout=="function"?clearTimeout:void 0,gp=typeof Promise=="function"?Promise:void 0,$_=typeof queueMicrotask=="function"?queueMicrotask:typeof gp<"u"?function(r){return gp.resolve(null).then(r).catch(z_)}:Aa;function z_(r){setTimeout(function(){throw r})}l(z_,"If");function Ba(r,o){var s=o,u=0;do{var d=s.nextSibling;if(r.removeChild(s),d&&d.nodeType===8)if(s=d.data,s==="/$"){if(u===0){r.removeChild(d),lo(o);return}u--}else s!=="$"&&s!=="$?"&&s!=="$!"||u++;s=d}while(s);lo(o)}l(Ba,"Kf");function _r(r){for(;r!=null;r=r.nextSibling){var o=r.nodeType;if(o===1||o===3)break;if(o===8){if(o=r.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return r}l(_r,"Lf");function vp(r){r=r.previousSibling;for(var o=0;r;){if(r.nodeType===8){var s=r.data;if(s==="$"||s==="$!"||s==="$?"){if(o===0)return r;o--}else s==="/$"&&o++}r=r.previousSibling}return null}l(vp,"Mf");var yn=Math.random().toString(36).slice(2),Ht="__reactFiber$"+yn,wo="__reactProps$"+yn,tr="__reactContainer$"+yn,Wa="__reactEvents$"+yn,M_="__reactListeners$"+yn,N_="__reactHandles$"+yn;function Wr(r){var o=r[Ht];if(o)return o;for(var s=r.parentNode;s;){if(o=s[tr]||s[Ht]){if(s=o.alternate,o.child!==null||s!==null&&s.child!==null)for(r=vp(r);r!==null;){if(s=r[Ht])return s;r=vp(r)}return o}r=s,s=r.parentNode}return null}l(Wr,"Wc");function _o(r){return r=r[Ht]||r[tr],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}l(_o,"Cb");function gn(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(n(33))}l(gn,"ue");function Ci(r){return r[wo]||null}l(Ci,"Db");var Ha=[],vn=-1;function xr(r){return{current:r}}l(xr,"Uf");function Ne(r){0>vn||(r.current=Ha[vn],Ha[vn]=null,vn--)}l(Ne,"E");function $e(r,o){vn++,Ha[vn]=r.current,r.current=o}l($e,"G");var Pr={},et=xr(Pr),at=xr(!1),Hr=Pr;function wn(r,o){var s=r.type.contextTypes;if(!s)return Pr;var u=r.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===o)return u.__reactInternalMemoizedMaskedChildContext;var d={},h;for(h in s)d[h]=o[h];return u&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=o,r.__reactInternalMemoizedMaskedChildContext=d),d}l(wn,"Yf");function ut(r){return r=r.childContextTypes,r!=null}l(ut,"Zf");function Ri(){Ne(at),Ne(et)}l(Ri,"$f");function wp(r,o,s){if(et.current!==Pr)throw Error(n(168));$e(et,o),$e(at,s)}l(wp,"ag");function _p(r,o,s){var u=r.stateNode;if(o=o.childContextTypes,typeof u.getChildContext!="function")return s;u=u.getChildContext();for(var d in u)if(!(d in o))throw Error(n(108,ve(r)||"Unknown",d));return R({},s,u)}l(_p,"bg");function $i(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||Pr,Hr=et.current,$e(et,r),$e(at,at.current),!0}l($i,"cg");function xp(r,o,s){var u=r.stateNode;if(!u)throw Error(n(169));s?(r=_p(r,o,Hr),u.__reactInternalMemoizedMergedChildContext=r,Ne(at),Ne(et),$e(et,r)):Ne(at),$e(at,s)}l(xp,"dg");var rr=null,zi=!1,Ua=!1;function Pp(r){rr===null?rr=[r]:rr.push(r)}l(Pp,"hg");function j_(r){zi=!0,Pp(r)}l(j_,"ig");function br(){if(!Ua&&rr!==null){Ua=!0;var r=0,o=Re;try{var s=rr;for(Re=1;r<s.length;r++){var u=s[r];do u=u(!0);while(u!==null)}rr=null,zi=!1}catch(d){throw rr!==null&&(rr=rr.slice(r+1)),Sd(da,br),d}finally{Re=o,Ua=!1}}return null}l(br,"jg");var _n=[],xn=0,Mi=null,Ni=0,bt=[],St=0,Ur=null,nr=1,or="";function Vr(r,o){_n[xn++]=Ni,_n[xn++]=Mi,Mi=r,Ni=o}l(Vr,"tg");function bp(r,o,s){bt[St++]=nr,bt[St++]=or,bt[St++]=Ur,Ur=r;var u=nr;r=or;var d=32-zt(u)-1;u&=~(1<<d),s+=1;var h=32-zt(o)+d;if(30<h){var v=d-d%5;h=(u&(1<<v)-1).toString(32),u>>=v,d-=v,nr=1<<32-zt(o)+d|s<<d|u,or=h+r}else nr=1<<h|s<<d|u,or=r}l(bp,"ug");function Va(r){r.return!==null&&(Vr(r,1),bp(r,1,0))}l(Va,"vg");function qa(r){for(;r===Mi;)Mi=_n[--xn],_n[xn]=null,Ni=_n[--xn],_n[xn]=null;for(;r===Ur;)Ur=bt[--St],bt[St]=null,or=bt[--St],bt[St]=null,nr=bt[--St],bt[St]=null}l(qa,"wg");var gt=null,vt=null,je=!1,Nt=null;function Sp(r,o){var s=Ct(5,null,null,0);s.elementType="DELETED",s.stateNode=o,s.return=r,o=r.deletions,o===null?(r.deletions=[s],r.flags|=16):o.push(s)}l(Sp,"Ag");function Op(r,o){switch(r.tag){case 5:var s=r.type;return o=o.nodeType!==1||s.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(r.stateNode=o,gt=r,vt=_r(o.firstChild),!0):!1;case 6:return o=r.pendingProps===""||o.nodeType!==3?null:o,o!==null?(r.stateNode=o,gt=r,vt=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(s=Ur!==null?{id:nr,overflow:or}:null,r.memoizedState={dehydrated:o,treeContext:s,retryLane:1073741824},s=Ct(18,null,null,0),s.stateNode=o,s.return=r,r.child=s,gt=r,vt=null,!0):!1;default:return!1}}l(Op,"Cg");function Qa(r){return(r.mode&1)!==0&&(r.flags&128)===0}l(Qa,"Dg");function Ga(r){if(je){var o=vt;if(o){var s=o;if(!Op(r,o)){if(Qa(r))throw Error(n(418));o=_r(s.nextSibling);var u=gt;o&&Op(r,o)?Sp(u,s):(r.flags=r.flags&-4097|2,je=!1,gt=r)}}else{if(Qa(r))throw Error(n(418));r.flags=r.flags&-4097|2,je=!1,gt=r}}}l(Ga,"Eg");function Ep(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;gt=r}l(Ep,"Fg");function ji(r){if(r!==gt)return!1;if(!je)return Ep(r),je=!0,!1;var o;if((o=r.tag!==3)&&!(o=r.tag!==5)&&(o=r.type,o=o!=="head"&&o!=="body"&&!Fa(r.type,r.memoizedProps)),o&&(o=vt)){if(Qa(r))throw kp(),Error(n(418));for(;o;)Sp(r,o),o=_r(o.nextSibling)}if(Ep(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(n(317));e:{for(r=r.nextSibling,o=0;r;){if(r.nodeType===8){var s=r.data;if(s==="/$"){if(o===0){vt=_r(r.nextSibling);break e}o--}else s!=="$"&&s!=="$!"&&s!=="$?"||o++}r=r.nextSibling}vt=null}}else vt=gt?_r(r.stateNode.nextSibling):null;return!0}l(ji,"Gg");function kp(){for(var r=vt;r;)r=_r(r.nextSibling)}l(kp,"Hg");function Pn(){vt=gt=null,je=!1}l(Pn,"Ig");function Ka(r){Nt===null?Nt=[r]:Nt.push(r)}l(Ka,"Jg");var L_=z.ReactCurrentBatchConfig;function jt(r,o){if(r&&r.defaultProps){o=R({},o),r=r.defaultProps;for(var s in r)o[s]===void 0&&(o[s]=r[s]);return o}return o}l(jt,"Lg");var Li=xr(null),Ii=null,bn=null,Ya=null;function Xa(){Ya=bn=Ii=null}l(Xa,"Qg");function Ja(r){var o=Li.current;Ne(Li),r._currentValue=o}l(Ja,"Rg");function Za(r,o,s){for(;r!==null;){var u=r.alternate;if((r.childLanes&o)!==o?(r.childLanes|=o,u!==null&&(u.childLanes|=o)):u!==null&&(u.childLanes&o)!==o&&(u.childLanes|=o),r===s)break;r=r.return}}l(Za,"Sg");function Sn(r,o){Ii=r,Ya=bn=null,r=r.dependencies,r!==null&&r.firstContext!==null&&(r.lanes&o&&(ct=!0),r.firstContext=null)}l(Sn,"Tg");function Ot(r){var o=r._currentValue;if(Ya!==r)if(r={context:r,memoizedValue:o,next:null},bn===null){if(Ii===null)throw Error(n(308));bn=r,Ii.dependencies={lanes:0,firstContext:r}}else bn=bn.next=r;return o}l(Ot,"Vg");var qr=null;function eu(r){qr===null?qr=[r]:qr.push(r)}l(eu,"Xg");function Cp(r,o,s,u){var d=o.interleaved;return d===null?(s.next=s,eu(o)):(s.next=d.next,d.next=s),o.interleaved=s,ir(r,u)}l(Cp,"Yg");function ir(r,o){r.lanes|=o;var s=r.alternate;for(s!==null&&(s.lanes|=o),s=r,r=r.return;r!==null;)r.childLanes|=o,s=r.alternate,s!==null&&(s.childLanes|=o),s=r,r=r.return;return s.tag===3?s.stateNode:null}l(ir,"Zg");var Sr=!1;function tu(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}l(tu,"ah");function Rp(r,o){r=r.updateQueue,o.updateQueue===r&&(o.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}l(Rp,"bh");function sr(r,o){return{eventTime:r,lane:o,tag:0,payload:null,callback:null,next:null}}l(sr,"ch");function Or(r,o,s){var u=r.updateQueue;if(u===null)return null;if(u=u.shared,Pe&2){var d=u.pending;return d===null?o.next=o:(o.next=d.next,d.next=o),u.pending=o,ir(r,s)}return d=u.interleaved,d===null?(o.next=o,eu(u)):(o.next=d.next,d.next=o),u.interleaved=o,ir(r,s)}l(Or,"dh");function Ti(r,o,s){if(o=o.updateQueue,o!==null&&(o=o.shared,(s&4194240)!==0)){var u=o.lanes;u&=r.pendingLanes,s|=u,o.lanes=s,ma(r,s)}}l(Ti,"eh");function $p(r,o){var s=r.updateQueue,u=r.alternate;if(u!==null&&(u=u.updateQueue,s===u)){var d=null,h=null;if(s=s.firstBaseUpdate,s!==null){do{var v={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};h===null?d=h=v:h=h.next=v,s=s.next}while(s!==null);h===null?d=h=o:h=h.next=o}else d=h=o;s={baseState:u.baseState,firstBaseUpdate:d,lastBaseUpdate:h,shared:u.shared,effects:u.effects},r.updateQueue=s;return}r=s.lastBaseUpdate,r===null?s.firstBaseUpdate=o:r.next=o,s.lastBaseUpdate=o}l($p,"fh");function Di(r,o,s,u){var d=r.updateQueue;Sr=!1;var h=d.firstBaseUpdate,v=d.lastBaseUpdate,k=d.shared.pending;if(k!==null){d.shared.pending=null;var M=k,F=M.next;M.next=null,v===null?h=F:v.next=F,v=M;var q=r.alternate;q!==null&&(q=q.updateQueue,k=q.lastBaseUpdate,k!==v&&(k===null?q.firstBaseUpdate=F:k.next=F,q.lastBaseUpdate=M))}if(h!==null){var G=d.baseState;v=0,q=F=M=null,k=h;do{var V=k.lane,re=k.eventTime;if((u&V)===V){q!==null&&(q=q.next={eventTime:re,lane:0,tag:k.tag,payload:k.payload,callback:k.callback,next:null});e:{var le=r,fe=k;switch(V=o,re=s,fe.tag){case 1:if(le=fe.payload,typeof le=="function"){G=le.call(re,G,V);break e}G=le;break e;case 3:le.flags=le.flags&-65537|128;case 0:if(le=fe.payload,V=typeof le=="function"?le.call(re,G,V):le,V==null)break e;G=R({},G,V);break e;case 2:Sr=!0}}k.callback!==null&&k.lane!==0&&(r.flags|=64,V=d.effects,V===null?d.effects=[k]:V.push(k))}else re={eventTime:re,lane:V,tag:k.tag,payload:k.payload,callback:k.callback,next:null},q===null?(F=q=re,M=G):q=q.next=re,v|=V;if(k=k.next,k===null){if(k=d.shared.pending,k===null)break;V=k,k=V.next,V.next=null,d.lastBaseUpdate=V,d.shared.pending=null}}while(!0);if(q===null&&(M=G),d.baseState=M,d.firstBaseUpdate=F,d.lastBaseUpdate=q,o=d.shared.interleaved,o!==null){d=o;do v|=d.lane,d=d.next;while(d!==o)}else h===null&&(d.shared.lanes=0);Kr|=v,r.lanes=v,r.memoizedState=G}}l(Di,"gh");function zp(r,o,s){if(r=o.effects,o.effects=null,r!==null)for(o=0;o<r.length;o++){var u=r[o],d=u.callback;if(d!==null){if(u.callback=null,u=s,typeof d!="function")throw Error(n(191,d));d.call(u)}}}l(zp,"ih");var Mp=new e.Component().refs;function ru(r,o,s,u){o=r.memoizedState,s=s(u,o),s=s==null?o:R({},o,s),r.memoizedState=s,r.lanes===0&&(r.updateQueue.baseState=s)}l(ru,"kh");var Fi={isMounted:l(function(r){return(r=r._reactInternals)?Br(r)===r:!1},"isMounted"),enqueueSetState:l(function(r,o,s){r=r._reactInternals;var u=lt(),d=Rr(r),h=sr(u,d);h.payload=o,s!=null&&(h.callback=s),o=Or(r,h,d),o!==null&&(Tt(o,r,d,u),Ti(o,r,d))},"enqueueSetState"),enqueueReplaceState:l(function(r,o,s){r=r._reactInternals;var u=lt(),d=Rr(r),h=sr(u,d);h.tag=1,h.payload=o,s!=null&&(h.callback=s),o=Or(r,h,d),o!==null&&(Tt(o,r,d,u),Ti(o,r,d))},"enqueueReplaceState"),enqueueForceUpdate:l(function(r,o){r=r._reactInternals;var s=lt(),u=Rr(r),d=sr(s,u);d.tag=2,o!=null&&(d.callback=o),o=Or(r,d,u),o!==null&&(Tt(o,r,u,s),Ti(o,r,u))},"enqueueForceUpdate")};function Np(r,o,s,u,d,h,v){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(u,h,v):o.prototype&&o.prototype.isPureReactComponent?!ho(s,u)||!ho(d,h):!0}l(Np,"oh");function jp(r,o,s){var u=!1,d=Pr,h=o.contextType;return typeof h=="object"&&h!==null?h=Ot(h):(d=ut(o)?Hr:et.current,u=o.contextTypes,h=(u=u!=null)?wn(r,d):Pr),o=new o(s,h),r.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=Fi,r.stateNode=o,o._reactInternals=r,u&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=d,r.__reactInternalMemoizedMaskedChildContext=h),o}l(jp,"ph");function Lp(r,o,s,u){r=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(s,u),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(s,u),o.state!==r&&Fi.enqueueReplaceState(o,o.state,null)}l(Lp,"qh");function nu(r,o,s,u){var d=r.stateNode;d.props=s,d.state=r.memoizedState,d.refs=Mp,tu(r);var h=o.contextType;typeof h=="object"&&h!==null?d.context=Ot(h):(h=ut(o)?Hr:et.current,d.context=wn(r,h)),d.state=r.memoizedState,h=o.getDerivedStateFromProps,typeof h=="function"&&(ru(r,o,h,s),d.state=r.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(o=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),o!==d.state&&Fi.enqueueReplaceState(d,d.state,null),Di(r,s,d,u),d.state=r.memoizedState),typeof d.componentDidMount=="function"&&(r.flags|=4194308)}l(nu,"rh");function xo(r,o,s){if(r=s.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(n(309));var u=s.stateNode}if(!u)throw Error(n(147,r));var d=u,h=""+r;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===h?o.ref:(o=l(function(v){var k=d.refs;k===Mp&&(k=d.refs={}),v===null?delete k[h]:k[h]=v},"b"),o._stringRef=h,o)}if(typeof r!="string")throw Error(n(284));if(!s._owner)throw Error(n(290,r))}return r}l(xo,"sh");function Ai(r,o){throw r=Object.prototype.toString.call(o),Error(n(31,r==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":r))}l(Ai,"th");function Ip(r){var o=r._init;return o(r._payload)}l(Ip,"uh");function Tp(r){function o(I,L){if(r){var T=I.deletions;T===null?(I.deletions=[L],I.flags|=16):T.push(L)}}l(o,"b");function s(I,L){if(!r)return null;for(;L!==null;)o(I,L),L=L.sibling;return null}l(s,"c");function u(I,L){for(I=new Map;L!==null;)L.key!==null?I.set(L.key,L):I.set(L.index,L),L=L.sibling;return I}l(u,"d");function d(I,L){return I=zr(I,L),I.index=0,I.sibling=null,I}l(d,"e");function h(I,L,T){return I.index=T,r?(T=I.alternate,T!==null?(T=T.index,T<L?(I.flags|=2,L):T):(I.flags|=2,L)):(I.flags|=1048576,L)}l(h,"f");function v(I){return r&&I.alternate===null&&(I.flags|=2),I}l(v,"g");function k(I,L,T,J){return L===null||L.tag!==6?(L=Au(T,I.mode,J),L.return=I,L):(L=d(L,T),L.return=I,L)}l(k,"h");function M(I,L,T,J){var de=T.type;return de===A?q(I,L,T.props.children,J,T.key):L!==null&&(L.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===ue&&Ip(de)===L.type)?(J=d(L,T.props),J.ref=xo(I,L,T),J.return=I,J):(J=is(T.type,T.key,T.props,null,I.mode,J),J.ref=xo(I,L,T),J.return=I,J)}l(M,"k");function F(I,L,T,J){return L===null||L.tag!==4||L.stateNode.containerInfo!==T.containerInfo||L.stateNode.implementation!==T.implementation?(L=Bu(T,I.mode,J),L.return=I,L):(L=d(L,T.children||[]),L.return=I,L)}l(F,"l");function q(I,L,T,J,de){return L===null||L.tag!==7?(L=Zr(T,I.mode,J,de),L.return=I,L):(L=d(L,T),L.return=I,L)}l(q,"m");function G(I,L,T){if(typeof L=="string"&&L!==""||typeof L=="number")return L=Au(""+L,I.mode,T),L.return=I,L;if(typeof L=="object"&&L!==null){switch(L.$$typeof){case S:return T=is(L.type,L.key,L.props,null,I.mode,T),T.ref=xo(I,null,L),T.return=I,T;case j:return L=Bu(L,I.mode,T),L.return=I,L;case ue:var J=L._init;return G(I,J(L._payload),T)}if(Kn(L)||Y(L))return L=Zr(L,I.mode,T,null),L.return=I,L;Ai(I,L)}return null}l(G,"q");function V(I,L,T,J){var de=L!==null?L.key:null;if(typeof T=="string"&&T!==""||typeof T=="number")return de!==null?null:k(I,L,""+T,J);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case S:return T.key===de?M(I,L,T,J):null;case j:return T.key===de?F(I,L,T,J):null;case ue:return de=T._init,V(I,L,de(T._payload),J)}if(Kn(T)||Y(T))return de!==null?null:q(I,L,T,J,null);Ai(I,T)}return null}l(V,"r");function re(I,L,T,J,de){if(typeof J=="string"&&J!==""||typeof J=="number")return I=I.get(T)||null,k(L,I,""+J,de);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case S:return I=I.get(J.key===null?T:J.key)||null,M(L,I,J,de);case j:return I=I.get(J.key===null?T:J.key)||null,F(L,I,J,de);case ue:var me=J._init;return re(I,L,T,me(J._payload),de)}if(Kn(J)||Y(J))return I=I.get(T)||null,q(L,I,J,de,null);Ai(L,J)}return null}l(re,"y");function le(I,L,T,J){for(var de=null,me=null,ye=L,ge=L=0,Ye=null;ye!==null&&ge<T.length;ge++){ye.index>ge?(Ye=ye,ye=null):Ye=ye.sibling;var be=V(I,ye,T[ge],J);if(be===null){ye===null&&(ye=Ye);break}r&&ye&&be.alternate===null&&o(I,ye),L=h(be,L,ge),me===null?de=be:me.sibling=be,me=be,ye=Ye}if(ge===T.length)return s(I,ye),je&&Vr(I,ge),de;if(ye===null){for(;ge<T.length;ge++)ye=G(I,T[ge],J),ye!==null&&(L=h(ye,L,ge),me===null?de=ye:me.sibling=ye,me=ye);return je&&Vr(I,ge),de}for(ye=u(I,ye);ge<T.length;ge++)Ye=re(ye,I,ge,T[ge],J),Ye!==null&&(r&&Ye.alternate!==null&&ye.delete(Ye.key===null?ge:Ye.key),L=h(Ye,L,ge),me===null?de=Ye:me.sibling=Ye,me=Ye);return r&&ye.forEach(function(Mr){return o(I,Mr)}),je&&Vr(I,ge),de}l(le,"n");function fe(I,L,T,J){var de=Y(T);if(typeof de!="function")throw Error(n(150));if(T=de.call(T),T==null)throw Error(n(151));for(var me=de=null,ye=L,ge=L=0,Ye=null,be=T.next();ye!==null&&!be.done;ge++,be=T.next()){ye.index>ge?(Ye=ye,ye=null):Ye=ye.sibling;var Mr=V(I,ye,be.value,J);if(Mr===null){ye===null&&(ye=Ye);break}r&&ye&&Mr.alternate===null&&o(I,ye),L=h(Mr,L,ge),me===null?de=Mr:me.sibling=Mr,me=Mr,ye=Ye}if(be.done)return s(I,ye),je&&Vr(I,ge),de;if(ye===null){for(;!be.done;ge++,be=T.next())be=G(I,be.value,J),be!==null&&(L=h(be,L,ge),me===null?de=be:me.sibling=be,me=be);return je&&Vr(I,ge),de}for(ye=u(I,ye);!be.done;ge++,be=T.next())be=re(ye,I,ge,be.value,J),be!==null&&(r&&be.alternate!==null&&ye.delete(be.key===null?ge:be.key),L=h(be,L,ge),me===null?de=be:me.sibling=be,me=be);return r&&ye.forEach(function(p2){return o(I,p2)}),je&&Vr(I,ge),de}l(fe,"t");function Be(I,L,T,J){if(typeof T=="object"&&T!==null&&T.type===A&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case S:e:{for(var de=T.key,me=L;me!==null;){if(me.key===de){if(de=T.type,de===A){if(me.tag===7){s(I,me.sibling),L=d(me,T.props.children),L.return=I,I=L;break e}}else if(me.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===ue&&Ip(de)===me.type){s(I,me.sibling),L=d(me,T.props),L.ref=xo(I,me,T),L.return=I,I=L;break e}s(I,me);break}else o(I,me);me=me.sibling}T.type===A?(L=Zr(T.props.children,I.mode,J,T.key),L.return=I,I=L):(J=is(T.type,T.key,T.props,null,I.mode,J),J.ref=xo(I,L,T),J.return=I,I=J)}return v(I);case j:e:{for(me=T.key;L!==null;){if(L.key===me)if(L.tag===4&&L.stateNode.containerInfo===T.containerInfo&&L.stateNode.implementation===T.implementation){s(I,L.sibling),L=d(L,T.children||[]),L.return=I,I=L;break e}else{s(I,L);break}else o(I,L);L=L.sibling}L=Bu(T,I.mode,J),L.return=I,I=L}return v(I);case ue:return me=T._init,Be(I,L,me(T._payload),J)}if(Kn(T))return le(I,L,T,J);if(Y(T))return fe(I,L,T,J);Ai(I,T)}return typeof T=="string"&&T!==""||typeof T=="number"?(T=""+T,L!==null&&L.tag===6?(s(I,L.sibling),L=d(L,T),L.return=I,I=L):(s(I,L),L=Au(T,I.mode,J),L.return=I,I=L),v(I)):s(I,L)}return l(Be,"J"),Be}l(Tp,"vh");var On=Tp(!0),Dp=Tp(!1),Po={},Ut=xr(Po),bo=xr(Po),So=xr(Po);function Qr(r){if(r===Po)throw Error(n(174));return r}l(Qr,"Hh");function ou(r,o){switch($e(So,o),$e(bo,r),$e(Ut,Po),r=o.nodeType,r){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:na(null,"");break;default:r=r===8?o.parentNode:o,o=r.namespaceURI||null,r=r.tagName,o=na(o,r)}Ne(Ut),$e(Ut,o)}l(ou,"Ih");function En(){Ne(Ut),Ne(bo),Ne(So)}l(En,"Jh");function Fp(r){Qr(So.current);var o=Qr(Ut.current),s=na(o,r.type);o!==s&&($e(bo,r),$e(Ut,s))}l(Fp,"Kh");function iu(r){bo.current===r&&(Ne(Ut),Ne(bo))}l(iu,"Lh");var Le=xr(0);function Bi(r){for(var o=r;o!==null;){if(o.tag===13){var s=o.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if(o.flags&128)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}l(Bi,"Mh");var su=[];function lu(){for(var r=0;r<su.length;r++)su[r]._workInProgressVersionPrimary=null;su.length=0}l(lu,"Oh");var Wi=z.ReactCurrentDispatcher,au=z.ReactCurrentBatchConfig,Gr=0,Ie=null,Ve=null,Ge=null,Hi=!1,Oo=!1,Eo=0,I_=0;function tt(){throw Error(n(321))}l(tt,"Q");function uu(r,o){if(o===null)return!1;for(var s=0;s<o.length&&s<r.length;s++)if(!Mt(r[s],o[s]))return!1;return!0}l(uu,"Wh");function cu(r,o,s,u,d,h){if(Gr=h,Ie=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,Wi.current=r===null||r.memoizedState===null?A_:B_,r=s(u,d),Oo){h=0;do{if(Oo=!1,Eo=0,25<=h)throw Error(n(301));h+=1,Ge=Ve=null,o.updateQueue=null,Wi.current=W_,r=s(u,d)}while(Oo)}if(Wi.current=qi,o=Ve!==null&&Ve.next!==null,Gr=0,Ge=Ve=Ie=null,Hi=!1,o)throw Error(n(300));return r}l(cu,"Xh");function fu(){var r=Eo!==0;return Eo=0,r}l(fu,"bi");function Vt(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ge===null?Ie.memoizedState=Ge=r:Ge=Ge.next=r,Ge}l(Vt,"ci");function Et(){if(Ve===null){var r=Ie.alternate;r=r!==null?r.memoizedState:null}else r=Ve.next;var o=Ge===null?Ie.memoizedState:Ge.next;if(o!==null)Ge=o,Ve=r;else{if(r===null)throw Error(n(310));Ve=r,r={memoizedState:Ve.memoizedState,baseState:Ve.baseState,baseQueue:Ve.baseQueue,queue:Ve.queue,next:null},Ge===null?Ie.memoizedState=Ge=r:Ge=Ge.next=r}return Ge}l(Et,"di");function ko(r,o){return typeof o=="function"?o(r):o}l(ko,"ei");function du(r){var o=Et(),s=o.queue;if(s===null)throw Error(n(311));s.lastRenderedReducer=r;var u=Ve,d=u.baseQueue,h=s.pending;if(h!==null){if(d!==null){var v=d.next;d.next=h.next,h.next=v}u.baseQueue=d=h,s.pending=null}if(d!==null){h=d.next,u=u.baseState;var k=v=null,M=null,F=h;do{var q=F.lane;if((Gr&q)===q)M!==null&&(M=M.next={lane:0,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),u=F.hasEagerState?F.eagerState:r(u,F.action);else{var G={lane:q,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null};M===null?(k=M=G,v=u):M=M.next=G,Ie.lanes|=q,Kr|=q}F=F.next}while(F!==null&&F!==h);M===null?v=u:M.next=k,Mt(u,o.memoizedState)||(ct=!0),o.memoizedState=u,o.baseState=v,o.baseQueue=M,s.lastRenderedState=u}if(r=s.interleaved,r!==null){d=r;do h=d.lane,Ie.lanes|=h,Kr|=h,d=d.next;while(d!==r)}else d===null&&(s.lanes=0);return[o.memoizedState,s.dispatch]}l(du,"fi");function pu(r){var o=Et(),s=o.queue;if(s===null)throw Error(n(311));s.lastRenderedReducer=r;var u=s.dispatch,d=s.pending,h=o.memoizedState;if(d!==null){s.pending=null;var v=d=d.next;do h=r(h,v.action),v=v.next;while(v!==d);Mt(h,o.memoizedState)||(ct=!0),o.memoizedState=h,o.baseQueue===null&&(o.baseState=h),s.lastRenderedState=h}return[h,u]}l(pu,"gi");function Ap(){}l(Ap,"hi");function Bp(r,o){var s=Ie,u=Et(),d=o(),h=!Mt(u.memoizedState,d);if(h&&(u.memoizedState=d,ct=!0),u=u.queue,hu(Up.bind(null,s,u,r),[r]),u.getSnapshot!==o||h||Ge!==null&&Ge.memoizedState.tag&1){if(s.flags|=2048,Co(9,Hp.bind(null,s,u,d,o),void 0,null),Ke===null)throw Error(n(349));Gr&30||Wp(s,o,d)}return d}l(Bp,"ii");function Wp(r,o,s){r.flags|=16384,r={getSnapshot:o,value:s},o=Ie.updateQueue,o===null?(o={lastEffect:null,stores:null},Ie.updateQueue=o,o.stores=[r]):(s=o.stores,s===null?o.stores=[r]:s.push(r))}l(Wp,"ni");function Hp(r,o,s,u){o.value=s,o.getSnapshot=u,Vp(o)&&qp(r)}l(Hp,"mi");function Up(r,o,s){return s(function(){Vp(o)&&qp(r)})}l(Up,"ki");function Vp(r){var o=r.getSnapshot;r=r.value;try{var s=o();return!Mt(r,s)}catch{return!0}}l(Vp,"oi");function qp(r){var o=ir(r,1);o!==null&&Tt(o,r,1,-1)}l(qp,"pi");function Qp(r){var o=Vt();return typeof r=="function"&&(r=r()),o.memoizedState=o.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ko,lastRenderedState:r},o.queue=r,r=r.dispatch=F_.bind(null,Ie,r),[o.memoizedState,r]}l(Qp,"qi");function Co(r,o,s,u){return r={tag:r,create:o,destroy:s,deps:u,next:null},o=Ie.updateQueue,o===null?(o={lastEffect:null,stores:null},Ie.updateQueue=o,o.lastEffect=r.next=r):(s=o.lastEffect,s===null?o.lastEffect=r.next=r:(u=s.next,s.next=r,r.next=u,o.lastEffect=r)),r}l(Co,"li");function Gp(){return Et().memoizedState}l(Gp,"si");function Ui(r,o,s,u){var d=Vt();Ie.flags|=r,d.memoizedState=Co(1|o,s,void 0,u===void 0?null:u)}l(Ui,"ti");function Vi(r,o,s,u){var d=Et();u=u===void 0?null:u;var h=void 0;if(Ve!==null){var v=Ve.memoizedState;if(h=v.destroy,u!==null&&uu(u,v.deps)){d.memoizedState=Co(o,s,h,u);return}}Ie.flags|=r,d.memoizedState=Co(1|o,s,h,u)}l(Vi,"ui");function Kp(r,o){return Ui(8390656,8,r,o)}l(Kp,"vi");function hu(r,o){return Vi(2048,8,r,o)}l(hu,"ji");function Yp(r,o){return Vi(4,2,r,o)}l(Yp,"wi");function Xp(r,o){return Vi(4,4,r,o)}l(Xp,"xi");function Jp(r,o){if(typeof o=="function")return r=r(),o(r),function(){o(null)};if(o!=null)return r=r(),o.current=r,function(){o.current=null}}l(Jp,"yi");function Zp(r,o,s){return s=s!=null?s.concat([r]):null,Vi(4,4,Jp.bind(null,o,r),s)}l(Zp,"zi");function mu(){}l(mu,"Ai");function eh(r,o){var s=Et();o=o===void 0?null:o;var u=s.memoizedState;return u!==null&&o!==null&&uu(o,u[1])?u[0]:(s.memoizedState=[r,o],r)}l(eh,"Bi");function th(r,o){var s=Et();o=o===void 0?null:o;var u=s.memoizedState;return u!==null&&o!==null&&uu(o,u[1])?u[0]:(r=r(),s.memoizedState=[r,o],r)}l(th,"Ci");function rh(r,o,s){return Gr&21?(Mt(s,o)||(s=Cd(),Ie.lanes|=s,Kr|=s,r.baseState=!0),o):(r.baseState&&(r.baseState=!1,ct=!0),r.memoizedState=s)}l(rh,"Di");function T_(r,o){var s=Re;Re=s!==0&&4>s?s:4,r(!0);var u=au.transition;au.transition={};try{r(!1),o()}finally{Re=s,au.transition=u}}l(T_,"Ei");function nh(){return Et().memoizedState}l(nh,"Fi");function D_(r,o,s){var u=Rr(r);if(s={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null},oh(r))ih(o,s);else if(s=Cp(r,o,s,u),s!==null){var d=lt();Tt(s,r,u,d),sh(s,o,u)}}l(D_,"Gi");function F_(r,o,s){var u=Rr(r),d={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(oh(r))ih(o,d);else{var h=r.alternate;if(r.lanes===0&&(h===null||h.lanes===0)&&(h=o.lastRenderedReducer,h!==null))try{var v=o.lastRenderedState,k=h(v,s);if(d.hasEagerState=!0,d.eagerState=k,Mt(k,v)){var M=o.interleaved;M===null?(d.next=d,eu(o)):(d.next=M.next,M.next=d),o.interleaved=d;return}}catch{}finally{}s=Cp(r,o,d,u),s!==null&&(d=lt(),Tt(s,r,u,d),sh(s,o,u))}}l(F_,"ri");function oh(r){var o=r.alternate;return r===Ie||o!==null&&o===Ie}l(oh,"Hi");function ih(r,o){Oo=Hi=!0;var s=r.pending;s===null?o.next=o:(o.next=s.next,s.next=o),r.pending=o}l(ih,"Ii");function sh(r,o,s){if(s&4194240){var u=o.lanes;u&=r.pendingLanes,s|=u,o.lanes=s,ma(r,s)}}l(sh,"Ji");var qi={readContext:Ot,useCallback:tt,useContext:tt,useEffect:tt,useImperativeHandle:tt,useInsertionEffect:tt,useLayoutEffect:tt,useMemo:tt,useReducer:tt,useRef:tt,useState:tt,useDebugValue:tt,useDeferredValue:tt,useTransition:tt,useMutableSource:tt,useSyncExternalStore:tt,useId:tt,unstable_isNewReconciler:!1},A_={readContext:Ot,useCallback:l(function(r,o){return Vt().memoizedState=[r,o===void 0?null:o],r},"useCallback"),useContext:Ot,useEffect:Kp,useImperativeHandle:l(function(r,o,s){return s=s!=null?s.concat([r]):null,Ui(4194308,4,Jp.bind(null,o,r),s)},"useImperativeHandle"),useLayoutEffect:l(function(r,o){return Ui(4194308,4,r,o)},"useLayoutEffect"),useInsertionEffect:l(function(r,o){return Ui(4,2,r,o)},"useInsertionEffect"),useMemo:l(function(r,o){var s=Vt();return o=o===void 0?null:o,r=r(),s.memoizedState=[r,o],r},"useMemo"),useReducer:l(function(r,o,s){var u=Vt();return o=s!==void 0?s(o):o,u.memoizedState=u.baseState=o,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:o},u.queue=r,r=r.dispatch=D_.bind(null,Ie,r),[u.memoizedState,r]},"useReducer"),useRef:l(function(r){var o=Vt();return r={current:r},o.memoizedState=r},"useRef"),useState:Qp,useDebugValue:mu,useDeferredValue:l(function(r){return Vt().memoizedState=r},"useDeferredValue"),useTransition:l(function(){var r=Qp(!1),o=r[0];return r=T_.bind(null,r[1]),Vt().memoizedState=r,[o,r]},"useTransition"),useMutableSource:l(function(){},"useMutableSource"),useSyncExternalStore:l(function(r,o,s){var u=Ie,d=Vt();if(je){if(s===void 0)throw Error(n(407));s=s()}else{if(s=o(),Ke===null)throw Error(n(349));Gr&30||Wp(u,o,s)}d.memoizedState=s;var h={value:s,getSnapshot:o};return d.queue=h,Kp(Up.bind(null,u,h,r),[r]),u.flags|=2048,Co(9,Hp.bind(null,u,h,s,o),void 0,null),s},"useSyncExternalStore"),useId:l(function(){var r=Vt(),o=Ke.identifierPrefix;if(je){var s=or,u=nr;s=(u&~(1<<32-zt(u)-1)).toString(32)+s,o=":"+o+"R"+s,s=Eo++,0<s&&(o+="H"+s.toString(32)),o+=":"}else s=I_++,o=":"+o+"r"+s.toString(32)+":";return r.memoizedState=o},"useId"),unstable_isNewReconciler:!1},B_={readContext:Ot,useCallback:eh,useContext:Ot,useEffect:hu,useImperativeHandle:Zp,useInsertionEffect:Yp,useLayoutEffect:Xp,useMemo:th,useReducer:du,useRef:Gp,useState:l(function(){return du(ko)},"useState"),useDebugValue:mu,useDeferredValue:l(function(r){var o=Et();return rh(o,Ve.memoizedState,r)},"useDeferredValue"),useTransition:l(function(){var r=du(ko)[0],o=Et().memoizedState;return[r,o]},"useTransition"),useMutableSource:Ap,useSyncExternalStore:Bp,useId:nh,unstable_isNewReconciler:!1},W_={readContext:Ot,useCallback:eh,useContext:Ot,useEffect:hu,useImperativeHandle:Zp,useInsertionEffect:Yp,useLayoutEffect:Xp,useMemo:th,useReducer:pu,useRef:Gp,useState:l(function(){return pu(ko)},"useState"),useDebugValue:mu,useDeferredValue:l(function(r){var o=Et();return Ve===null?o.memoizedState=r:rh(o,Ve.memoizedState,r)},"useDeferredValue"),useTransition:l(function(){var r=pu(ko)[0],o=Et().memoizedState;return[r,o]},"useTransition"),useMutableSource:Ap,useSyncExternalStore:Bp,useId:nh,unstable_isNewReconciler:!1};function kn(r,o){try{var s="",u=o;do s+=ce(u),u=u.return;while(u);var d=s}catch(h){d=`
Error generating stack: `+h.message+`
`+h.stack}return{value:r,source:o,stack:d,digest:null}}l(kn,"Ki");function yu(r,o,s){return{value:r,source:null,stack:s??null,digest:o??null}}l(yu,"Li");function gu(r,o){try{console.error(o.value)}catch(s){setTimeout(function(){throw s})}}l(gu,"Mi");var H_=typeof WeakMap=="function"?WeakMap:Map;function lh(r,o,s){s=sr(-1,s),s.tag=3,s.payload={element:null};var u=o.value;return s.callback=function(){Zi||(Zi=!0,Mu=u),gu(r,o)},s}l(lh,"Oi");function ah(r,o,s){s=sr(-1,s),s.tag=3;var u=r.type.getDerivedStateFromError;if(typeof u=="function"){var d=o.value;s.payload=function(){return u(d)},s.callback=function(){gu(r,o)}}var h=r.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(s.callback=function(){gu(r,o),typeof u!="function"&&(kr===null?kr=new Set([this]):kr.add(this));var v=o.stack;this.componentDidCatch(o.value,{componentStack:v!==null?v:""})}),s}l(ah,"Ri");function uh(r,o,s){var u=r.pingCache;if(u===null){u=r.pingCache=new H_;var d=new Set;u.set(o,d)}else d=u.get(o),d===void 0&&(d=new Set,u.set(o,d));d.has(s)||(d.add(s),r=n2.bind(null,r,o,s),o.then(r,r))}l(uh,"Ti");function ch(r){do{var o;if((o=r.tag===13)&&(o=r.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return r;r=r.return}while(r!==null);return null}l(ch,"Vi");function fh(r,o,s,u,d){return r.mode&1?(r.flags|=65536,r.lanes=d,r):(r===o?r.flags|=65536:(r.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(o=sr(-1,1),o.tag=2,Or(s,o,1))),s.lanes|=1),r)}l(fh,"Wi");var U_=z.ReactCurrentOwner,ct=!1;function st(r,o,s,u){o.child=r===null?Dp(o,null,s,u):On(o,r.child,s,u)}l(st,"Yi");function dh(r,o,s,u,d){s=s.render;var h=o.ref;return Sn(o,d),u=cu(r,o,s,u,h,d),s=fu(),r!==null&&!ct?(o.updateQueue=r.updateQueue,o.flags&=-2053,r.lanes&=~d,lr(r,o,d)):(je&&s&&Va(o),o.flags|=1,st(r,o,u,d),o.child)}l(dh,"Zi");function ph(r,o,s,u,d){if(r===null){var h=s.type;return typeof h=="function"&&!Fu(h)&&h.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(o.tag=15,o.type=h,hh(r,o,h,u,d)):(r=is(s.type,null,u,o,o.mode,d),r.ref=o.ref,r.return=o,o.child=r)}if(h=r.child,!(r.lanes&d)){var v=h.memoizedProps;if(s=s.compare,s=s!==null?s:ho,s(v,u)&&r.ref===o.ref)return lr(r,o,d)}return o.flags|=1,r=zr(h,u),r.ref=o.ref,r.return=o,o.child=r}l(ph,"aj");function hh(r,o,s,u,d){if(r!==null){var h=r.memoizedProps;if(ho(h,u)&&r.ref===o.ref)if(ct=!1,o.pendingProps=u=h,(r.lanes&d)!==0)r.flags&131072&&(ct=!0);else return o.lanes=r.lanes,lr(r,o,d)}return vu(r,o,s,u,d)}l(hh,"cj");function mh(r,o,s){var u=o.pendingProps,d=u.children,h=r!==null?r.memoizedState:null;if(u.mode==="hidden")if(!(o.mode&1))o.memoizedState={baseLanes:0,cachePool:null,transitions:null},$e(Rn,wt),wt|=s;else{if(!(s&1073741824))return r=h!==null?h.baseLanes|s:s,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:r,cachePool:null,transitions:null},o.updateQueue=null,$e(Rn,wt),wt|=r,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=h!==null?h.baseLanes:s,$e(Rn,wt),wt|=u}else h!==null?(u=h.baseLanes|s,o.memoizedState=null):u=s,$e(Rn,wt),wt|=u;return st(r,o,d,s),o.child}l(mh,"ej");function yh(r,o){var s=o.ref;(r===null&&s!==null||r!==null&&r.ref!==s)&&(o.flags|=512,o.flags|=2097152)}l(yh,"hj");function vu(r,o,s,u,d){var h=ut(s)?Hr:et.current;return h=wn(o,h),Sn(o,d),s=cu(r,o,s,u,h,d),u=fu(),r!==null&&!ct?(o.updateQueue=r.updateQueue,o.flags&=-2053,r.lanes&=~d,lr(r,o,d)):(je&&u&&Va(o),o.flags|=1,st(r,o,s,d),o.child)}l(vu,"dj");function gh(r,o,s,u,d){if(ut(s)){var h=!0;$i(o)}else h=!1;if(Sn(o,d),o.stateNode===null)Gi(r,o),jp(o,s,u),nu(o,s,u,d),u=!0;else if(r===null){var v=o.stateNode,k=o.memoizedProps;v.props=k;var M=v.context,F=s.contextType;typeof F=="object"&&F!==null?F=Ot(F):(F=ut(s)?Hr:et.current,F=wn(o,F));var q=s.getDerivedStateFromProps,G=typeof q=="function"||typeof v.getSnapshotBeforeUpdate=="function";G||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(k!==u||M!==F)&&Lp(o,v,u,F),Sr=!1;var V=o.memoizedState;v.state=V,Di(o,u,v,d),M=o.memoizedState,k!==u||V!==M||at.current||Sr?(typeof q=="function"&&(ru(o,s,q,u),M=o.memoizedState),(k=Sr||Np(o,s,k,u,V,M,F))?(G||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(o.flags|=4194308)):(typeof v.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=u,o.memoizedState=M),v.props=u,v.state=M,v.context=F,u=k):(typeof v.componentDidMount=="function"&&(o.flags|=4194308),u=!1)}else{v=o.stateNode,Rp(r,o),k=o.memoizedProps,F=o.type===o.elementType?k:jt(o.type,k),v.props=F,G=o.pendingProps,V=v.context,M=s.contextType,typeof M=="object"&&M!==null?M=Ot(M):(M=ut(s)?Hr:et.current,M=wn(o,M));var re=s.getDerivedStateFromProps;(q=typeof re=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(k!==G||V!==M)&&Lp(o,v,u,M),Sr=!1,V=o.memoizedState,v.state=V,Di(o,u,v,d);var le=o.memoizedState;k!==G||V!==le||at.current||Sr?(typeof re=="function"&&(ru(o,s,re,u),le=o.memoizedState),(F=Sr||Np(o,s,F,u,V,le,M)||!1)?(q||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(u,le,M),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(u,le,M)),typeof v.componentDidUpdate=="function"&&(o.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof v.componentDidUpdate!="function"||k===r.memoizedProps&&V===r.memoizedState||(o.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||k===r.memoizedProps&&V===r.memoizedState||(o.flags|=1024),o.memoizedProps=u,o.memoizedState=le),v.props=u,v.state=le,v.context=M,u=F):(typeof v.componentDidUpdate!="function"||k===r.memoizedProps&&V===r.memoizedState||(o.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||k===r.memoizedProps&&V===r.memoizedState||(o.flags|=1024),u=!1)}return wu(r,o,s,u,h,d)}l(gh,"ij");function wu(r,o,s,u,d,h){yh(r,o);var v=(o.flags&128)!==0;if(!u&&!v)return d&&xp(o,s,!1),lr(r,o,h);u=o.stateNode,U_.current=o;var k=v&&typeof s.getDerivedStateFromError!="function"?null:u.render();return o.flags|=1,r!==null&&v?(o.child=On(o,r.child,null,h),o.child=On(o,null,k,h)):st(r,o,k,h),o.memoizedState=u.state,d&&xp(o,s,!0),o.child}l(wu,"kj");function vh(r){var o=r.stateNode;o.pendingContext?wp(r,o.pendingContext,o.pendingContext!==o.context):o.context&&wp(r,o.context,!1),ou(r,o.containerInfo)}l(vh,"lj");function wh(r,o,s,u,d){return Pn(),Ka(d),o.flags|=256,st(r,o,s,u),o.child}l(wh,"mj");var _u={dehydrated:null,treeContext:null,retryLane:0};function xu(r){return{baseLanes:r,cachePool:null,transitions:null}}l(xu,"oj");function _h(r,o,s){var u=o.pendingProps,d=Le.current,h=!1,v=(o.flags&128)!==0,k;if((k=v)||(k=r!==null&&r.memoizedState===null?!1:(d&2)!==0),k?(h=!0,o.flags&=-129):(r===null||r.memoizedState!==null)&&(d|=1),$e(Le,d&1),r===null)return Ga(o),r=o.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?(o.mode&1?r.data==="$!"?o.lanes=8:o.lanes=1073741824:o.lanes=1,null):(v=u.children,r=u.fallback,h?(u=o.mode,h=o.child,v={mode:"hidden",children:v},!(u&1)&&h!==null?(h.childLanes=0,h.pendingProps=v):h=ss(v,u,0,null),r=Zr(r,u,s,null),h.return=o,r.return=o,h.sibling=r,o.child=h,o.child.memoizedState=xu(s),o.memoizedState=_u,r):Pu(o,v));if(d=r.memoizedState,d!==null&&(k=d.dehydrated,k!==null))return V_(r,o,v,u,k,d,s);if(h){h=u.fallback,v=o.mode,d=r.child,k=d.sibling;var M={mode:"hidden",children:u.children};return!(v&1)&&o.child!==d?(u=o.child,u.childLanes=0,u.pendingProps=M,o.deletions=null):(u=zr(d,M),u.subtreeFlags=d.subtreeFlags&14680064),k!==null?h=zr(k,h):(h=Zr(h,v,s,null),h.flags|=2),h.return=o,u.return=o,u.sibling=h,o.child=u,u=h,h=o.child,v=r.child.memoizedState,v=v===null?xu(s):{baseLanes:v.baseLanes|s,cachePool:null,transitions:v.transitions},h.memoizedState=v,h.childLanes=r.childLanes&~s,o.memoizedState=_u,u}return h=r.child,r=h.sibling,u=zr(h,{mode:"visible",children:u.children}),!(o.mode&1)&&(u.lanes=s),u.return=o,u.sibling=null,r!==null&&(s=o.deletions,s===null?(o.deletions=[r],o.flags|=16):s.push(r)),o.child=u,o.memoizedState=null,u}l(_h,"pj");function Pu(r,o){return o=ss({mode:"visible",children:o},r.mode,0,null),o.return=r,r.child=o}l(Pu,"rj");function Qi(r,o,s,u){return u!==null&&Ka(u),On(o,r.child,null,s),r=Pu(o,o.pendingProps.children),r.flags|=2,o.memoizedState=null,r}l(Qi,"tj");function V_(r,o,s,u,d,h,v){if(s)return o.flags&256?(o.flags&=-257,u=yu(Error(n(422))),Qi(r,o,v,u)):o.memoizedState!==null?(o.child=r.child,o.flags|=128,null):(h=u.fallback,d=o.mode,u=ss({mode:"visible",children:u.children},d,0,null),h=Zr(h,d,v,null),h.flags|=2,u.return=o,h.return=o,u.sibling=h,o.child=u,o.mode&1&&On(o,r.child,null,v),o.child.memoizedState=xu(v),o.memoizedState=_u,h);if(!(o.mode&1))return Qi(r,o,v,null);if(d.data==="$!"){if(u=d.nextSibling&&d.nextSibling.dataset,u)var k=u.dgst;return u=k,h=Error(n(419)),u=yu(h,u,void 0),Qi(r,o,v,u)}if(k=(v&r.childLanes)!==0,ct||k){if(u=Ke,u!==null){switch(v&-v){case 4:d=2;break;case 16:d=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:d=32;break;case 536870912:d=268435456;break;default:d=0}d=d&(u.suspendedLanes|v)?0:d,d!==0&&d!==h.retryLane&&(h.retryLane=d,ir(r,d),Tt(u,r,d,-1))}return Du(),u=yu(Error(n(421))),Qi(r,o,v,u)}return d.data==="$?"?(o.flags|=128,o.child=r.child,o=o2.bind(null,r),d._reactRetry=o,null):(r=h.treeContext,vt=_r(d.nextSibling),gt=o,je=!0,Nt=null,r!==null&&(bt[St++]=nr,bt[St++]=or,bt[St++]=Ur,nr=r.id,or=r.overflow,Ur=o),o=Pu(o,u.children),o.flags|=4096,o)}l(V_,"sj");function xh(r,o,s){r.lanes|=o;var u=r.alternate;u!==null&&(u.lanes|=o),Za(r.return,o,s)}l(xh,"wj");function bu(r,o,s,u,d){var h=r.memoizedState;h===null?r.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:u,tail:s,tailMode:d}:(h.isBackwards=o,h.rendering=null,h.renderingStartTime=0,h.last=u,h.tail=s,h.tailMode=d)}l(bu,"xj");function Ph(r,o,s){var u=o.pendingProps,d=u.revealOrder,h=u.tail;if(st(r,o,u.children,s),u=Le.current,u&2)u=u&1|2,o.flags|=128;else{if(r!==null&&r.flags&128)e:for(r=o.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&xh(r,s,o);else if(r.tag===19)xh(r,s,o);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===o)break e;for(;r.sibling===null;){if(r.return===null||r.return===o)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}u&=1}if($e(Le,u),!(o.mode&1))o.memoizedState=null;else switch(d){case"forwards":for(s=o.child,d=null;s!==null;)r=s.alternate,r!==null&&Bi(r)===null&&(d=s),s=s.sibling;s=d,s===null?(d=o.child,o.child=null):(d=s.sibling,s.sibling=null),bu(o,!1,d,s,h);break;case"backwards":for(s=null,d=o.child,o.child=null;d!==null;){if(r=d.alternate,r!==null&&Bi(r)===null){o.child=d;break}r=d.sibling,d.sibling=s,s=d,d=r}bu(o,!0,s,null,h);break;case"together":bu(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}l(Ph,"yj");function Gi(r,o){!(o.mode&1)&&r!==null&&(r.alternate=null,o.alternate=null,o.flags|=2)}l(Gi,"jj");function lr(r,o,s){if(r!==null&&(o.dependencies=r.dependencies),Kr|=o.lanes,!(s&o.childLanes))return null;if(r!==null&&o.child!==r.child)throw Error(n(153));if(o.child!==null){for(r=o.child,s=zr(r,r.pendingProps),o.child=s,s.return=o;r.sibling!==null;)r=r.sibling,s=s.sibling=zr(r,r.pendingProps),s.return=o;s.sibling=null}return o.child}l(lr,"$i");function q_(r,o,s){switch(o.tag){case 3:vh(o),Pn();break;case 5:Fp(o);break;case 1:ut(o.type)&&$i(o);break;case 4:ou(o,o.stateNode.containerInfo);break;case 10:var u=o.type._context,d=o.memoizedProps.value;$e(Li,u._currentValue),u._currentValue=d;break;case 13:if(u=o.memoizedState,u!==null)return u.dehydrated!==null?($e(Le,Le.current&1),o.flags|=128,null):s&o.child.childLanes?_h(r,o,s):($e(Le,Le.current&1),r=lr(r,o,s),r!==null?r.sibling:null);$e(Le,Le.current&1);break;case 19:if(u=(s&o.childLanes)!==0,r.flags&128){if(u)return Ph(r,o,s);o.flags|=128}if(d=o.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),$e(Le,Le.current),u)break;return null;case 22:case 23:return o.lanes=0,mh(r,o,s)}return lr(r,o,s)}l(q_,"zj");var bh,Su,Sh,Oh;bh=l(function(r,o){for(var s=o.child;s!==null;){if(s.tag===5||s.tag===6)r.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===o)break;for(;s.sibling===null;){if(s.return===null||s.return===o)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},"Aj"),Su=l(function(){},"Bj"),Sh=l(function(r,o,s,u){var d=r.memoizedProps;if(d!==u){r=o.stateNode,Qr(Ut.current);var h=null;switch(s){case"input":d=Zl(r,d),u=Zl(r,u),h=[];break;case"select":d=R({},d,{value:void 0}),u=R({},u,{value:void 0}),h=[];break;case"textarea":d=ra(r,d),u=ra(r,u),h=[];break;default:typeof d.onClick!="function"&&typeof u.onClick=="function"&&(r.onclick=ki)}oa(s,u);var v;s=null;for(F in d)if(!u.hasOwnProperty(F)&&d.hasOwnProperty(F)&&d[F]!=null)if(F==="style"){var k=d[F];for(v in k)k.hasOwnProperty(v)&&(s||(s={}),s[v]="")}else F!=="dangerouslySetInnerHTML"&&F!=="children"&&F!=="suppressContentEditableWarning"&&F!=="suppressHydrationWarning"&&F!=="autoFocus"&&(a.hasOwnProperty(F)?h||(h=[]):(h=h||[]).push(F,null));for(F in u){var M=u[F];if(k=d!=null?d[F]:void 0,u.hasOwnProperty(F)&&M!==k&&(M!=null||k!=null))if(F==="style")if(k){for(v in k)!k.hasOwnProperty(v)||M&&M.hasOwnProperty(v)||(s||(s={}),s[v]="");for(v in M)M.hasOwnProperty(v)&&k[v]!==M[v]&&(s||(s={}),s[v]=M[v])}else s||(h||(h=[]),h.push(F,s)),s=M;else F==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,k=k?k.__html:void 0,M!=null&&k!==M&&(h=h||[]).push(F,M)):F==="children"?typeof M!="string"&&typeof M!="number"||(h=h||[]).push(F,""+M):F!=="suppressContentEditableWarning"&&F!=="suppressHydrationWarning"&&(a.hasOwnProperty(F)?(M!=null&&F==="onScroll"&&Me("scroll",r),h||k===M||(h=[])):(h=h||[]).push(F,M))}s&&(h=h||[]).push("style",s);var F=h;(o.updateQueue=F)&&(o.flags|=4)}},"Cj"),Oh=l(function(r,o,s,u){s!==u&&(o.flags|=4)},"Dj");function Ro(r,o){if(!je)switch(r.tailMode){case"hidden":o=r.tail;for(var s=null;o!==null;)o.alternate!==null&&(s=o),o=o.sibling;s===null?r.tail=null:s.sibling=null;break;case"collapsed":s=r.tail;for(var u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?o||r.tail===null?r.tail=null:r.tail.sibling=null:u.sibling=null}}l(Ro,"Ej");function rt(r){var o=r.alternate!==null&&r.alternate.child===r.child,s=0,u=0;if(o)for(var d=r.child;d!==null;)s|=d.lanes|d.childLanes,u|=d.subtreeFlags&14680064,u|=d.flags&14680064,d.return=r,d=d.sibling;else for(d=r.child;d!==null;)s|=d.lanes|d.childLanes,u|=d.subtreeFlags,u|=d.flags,d.return=r,d=d.sibling;return r.subtreeFlags|=u,r.childLanes=s,o}l(rt,"S");function Q_(r,o,s){var u=o.pendingProps;switch(qa(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rt(o),null;case 1:return ut(o.type)&&Ri(),rt(o),null;case 3:return u=o.stateNode,En(),Ne(at),Ne(et),lu(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(r===null||r.child===null)&&(ji(o)?o.flags|=4:r===null||r.memoizedState.isDehydrated&&!(o.flags&256)||(o.flags|=1024,Nt!==null&&(Lu(Nt),Nt=null))),Su(r,o),rt(o),null;case 5:iu(o);var d=Qr(So.current);if(s=o.type,r!==null&&o.stateNode!=null)Sh(r,o,s,u,d),r.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!u){if(o.stateNode===null)throw Error(n(166));return rt(o),null}if(r=Qr(Ut.current),ji(o)){u=o.stateNode,s=o.type;var h=o.memoizedProps;switch(u[Ht]=o,u[wo]=h,r=(o.mode&1)!==0,s){case"dialog":Me("cancel",u),Me("close",u);break;case"iframe":case"object":case"embed":Me("load",u);break;case"video":case"audio":for(d=0;d<yo.length;d++)Me(yo[d],u);break;case"source":Me("error",u);break;case"img":case"image":case"link":Me("error",u),Me("load",u);break;case"details":Me("toggle",u);break;case"input":od(u,h),Me("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!h.multiple},Me("invalid",u);break;case"textarea":ld(u,h),Me("invalid",u)}oa(s,h),d=null;for(var v in h)if(h.hasOwnProperty(v)){var k=h[v];v==="children"?typeof k=="string"?u.textContent!==k&&(h.suppressHydrationWarning!==!0&&Ei(u.textContent,k,r),d=["children",k]):typeof k=="number"&&u.textContent!==""+k&&(h.suppressHydrationWarning!==!0&&Ei(u.textContent,k,r),d=["children",""+k]):a.hasOwnProperty(v)&&k!=null&&v==="onScroll"&&Me("scroll",u)}switch(s){case"input":ni(u),sd(u,h,!0);break;case"textarea":ni(u),ud(u);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(u.onclick=ki)}u=d,o.updateQueue=u,u!==null&&(o.flags|=4)}else{v=d.nodeType===9?d:d.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=cd(s)),r==="http://www.w3.org/1999/xhtml"?s==="script"?(r=v.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof u.is=="string"?r=v.createElement(s,{is:u.is}):(r=v.createElement(s),s==="select"&&(v=r,u.multiple?v.multiple=!0:u.size&&(v.size=u.size))):r=v.createElementNS(r,s),r[Ht]=o,r[wo]=u,bh(r,o,!1,!1),o.stateNode=r;e:{switch(v=ia(s,u),s){case"dialog":Me("cancel",r),Me("close",r),d=u;break;case"iframe":case"object":case"embed":Me("load",r),d=u;break;case"video":case"audio":for(d=0;d<yo.length;d++)Me(yo[d],r);d=u;break;case"source":Me("error",r),d=u;break;case"img":case"image":case"link":Me("error",r),Me("load",r),d=u;break;case"details":Me("toggle",r),d=u;break;case"input":od(r,u),d=Zl(r,u),Me("invalid",r);break;case"option":d=u;break;case"select":r._wrapperState={wasMultiple:!!u.multiple},d=R({},u,{value:void 0}),Me("invalid",r);break;case"textarea":ld(r,u),d=ra(r,u),Me("invalid",r);break;default:d=u}oa(s,d),k=d;for(h in k)if(k.hasOwnProperty(h)){var M=k[h];h==="style"?pd(r,M):h==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,M!=null&&fd(r,M)):h==="children"?typeof M=="string"?(s!=="textarea"||M!=="")&&Yn(r,M):typeof M=="number"&&Yn(r,""+M):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(a.hasOwnProperty(h)?M!=null&&h==="onScroll"&&Me("scroll",r):M!=null&&E(r,h,M,v))}switch(s){case"input":ni(r),sd(r,u,!1);break;case"textarea":ni(r),ud(r);break;case"option":u.value!=null&&r.setAttribute("value",""+_e(u.value));break;case"select":r.multiple=!!u.multiple,h=u.value,h!=null?ln(r,!!u.multiple,h,!1):u.defaultValue!=null&&ln(r,!!u.multiple,u.defaultValue,!0);break;default:typeof d.onClick=="function"&&(r.onclick=ki)}switch(s){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return rt(o),null;case 6:if(r&&o.stateNode!=null)Oh(r,o,r.memoizedProps,u);else{if(typeof u!="string"&&o.stateNode===null)throw Error(n(166));if(s=Qr(So.current),Qr(Ut.current),ji(o)){if(u=o.stateNode,s=o.memoizedProps,u[Ht]=o,(h=u.nodeValue!==s)&&(r=gt,r!==null))switch(r.tag){case 3:Ei(u.nodeValue,s,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&Ei(u.nodeValue,s,(r.mode&1)!==0)}h&&(o.flags|=4)}else u=(s.nodeType===9?s:s.ownerDocument).createTextNode(u),u[Ht]=o,o.stateNode=u}return rt(o),null;case 13:if(Ne(Le),u=o.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(je&&vt!==null&&o.mode&1&&!(o.flags&128))kp(),Pn(),o.flags|=98560,h=!1;else if(h=ji(o),u!==null&&u.dehydrated!==null){if(r===null){if(!h)throw Error(n(318));if(h=o.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(n(317));h[Ht]=o}else Pn(),!(o.flags&128)&&(o.memoizedState=null),o.flags|=4;rt(o),h=!1}else Nt!==null&&(Lu(Nt),Nt=null),h=!0;if(!h)return o.flags&65536?o:null}return o.flags&128?(o.lanes=s,o):(u=u!==null,u!==(r!==null&&r.memoizedState!==null)&&u&&(o.child.flags|=8192,o.mode&1&&(r===null||Le.current&1?qe===0&&(qe=3):Du())),o.updateQueue!==null&&(o.flags|=4),rt(o),null);case 4:return En(),Su(r,o),r===null&&go(o.stateNode.containerInfo),rt(o),null;case 10:return Ja(o.type._context),rt(o),null;case 17:return ut(o.type)&&Ri(),rt(o),null;case 19:if(Ne(Le),h=o.memoizedState,h===null)return rt(o),null;if(u=(o.flags&128)!==0,v=h.rendering,v===null)if(u)Ro(h,!1);else{if(qe!==0||r!==null&&r.flags&128)for(r=o.child;r!==null;){if(v=Bi(r),v!==null){for(o.flags|=128,Ro(h,!1),u=v.updateQueue,u!==null&&(o.updateQueue=u,o.flags|=4),o.subtreeFlags=0,u=s,s=o.child;s!==null;)h=s,r=u,h.flags&=14680066,v=h.alternate,v===null?(h.childLanes=0,h.lanes=r,h.child=null,h.subtreeFlags=0,h.memoizedProps=null,h.memoizedState=null,h.updateQueue=null,h.dependencies=null,h.stateNode=null):(h.childLanes=v.childLanes,h.lanes=v.lanes,h.child=v.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=v.memoizedProps,h.memoizedState=v.memoizedState,h.updateQueue=v.updateQueue,h.type=v.type,r=v.dependencies,h.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),s=s.sibling;return $e(Le,Le.current&1|2),o.child}r=r.sibling}h.tail!==null&&Ae()>$n&&(o.flags|=128,u=!0,Ro(h,!1),o.lanes=4194304)}else{if(!u)if(r=Bi(v),r!==null){if(o.flags|=128,u=!0,s=r.updateQueue,s!==null&&(o.updateQueue=s,o.flags|=4),Ro(h,!0),h.tail===null&&h.tailMode==="hidden"&&!v.alternate&&!je)return rt(o),null}else 2*Ae()-h.renderingStartTime>$n&&s!==1073741824&&(o.flags|=128,u=!0,Ro(h,!1),o.lanes=4194304);h.isBackwards?(v.sibling=o.child,o.child=v):(s=h.last,s!==null?s.sibling=v:o.child=v,h.last=v)}return h.tail!==null?(o=h.tail,h.rendering=o,h.tail=o.sibling,h.renderingStartTime=Ae(),o.sibling=null,s=Le.current,$e(Le,u?s&1|2:s&1),o):(rt(o),null);case 22:case 23:return Tu(),u=o.memoizedState!==null,r!==null&&r.memoizedState!==null!==u&&(o.flags|=8192),u&&o.mode&1?wt&1073741824&&(rt(o),o.subtreeFlags&6&&(o.flags|=8192)):rt(o),null;case 24:return null;case 25:return null}throw Error(n(156,o.tag))}l(Q_,"Fj");function G_(r,o){switch(qa(o),o.tag){case 1:return ut(o.type)&&Ri(),r=o.flags,r&65536?(o.flags=r&-65537|128,o):null;case 3:return En(),Ne(at),Ne(et),lu(),r=o.flags,r&65536&&!(r&128)?(o.flags=r&-65537|128,o):null;case 5:return iu(o),null;case 13:if(Ne(Le),r=o.memoizedState,r!==null&&r.dehydrated!==null){if(o.alternate===null)throw Error(n(340));Pn()}return r=o.flags,r&65536?(o.flags=r&-65537|128,o):null;case 19:return Ne(Le),null;case 4:return En(),null;case 10:return Ja(o.type._context),null;case 22:case 23:return Tu(),null;case 24:return null;default:return null}}l(G_,"Jj");var Ki=!1,nt=!1,K_=typeof WeakSet=="function"?WeakSet:Set,oe=null;function Cn(r,o){var s=r.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(u){De(r,o,u)}else s.current=null}l(Cn,"Mj");function Ou(r,o,s){try{s()}catch(u){De(r,o,u)}}l(Ou,"Nj");var Eh=!1;function Y_(r,o){if(Ta=mi,r=np(),Ra(r)){if("selectionStart"in r)var s={start:r.selectionStart,end:r.selectionEnd};else e:{s=(s=r.ownerDocument)&&s.defaultView||window;var u=s.getSelection&&s.getSelection();if(u&&u.rangeCount!==0){s=u.anchorNode;var d=u.anchorOffset,h=u.focusNode;u=u.focusOffset;try{s.nodeType,h.nodeType}catch{s=null;break e}var v=0,k=-1,M=-1,F=0,q=0,G=r,V=null;t:for(;;){for(var re;G!==s||d!==0&&G.nodeType!==3||(k=v+d),G!==h||u!==0&&G.nodeType!==3||(M=v+u),G.nodeType===3&&(v+=G.nodeValue.length),(re=G.firstChild)!==null;)V=G,G=re;for(;;){if(G===r)break t;if(V===s&&++F===d&&(k=v),V===h&&++q===u&&(M=v),(re=G.nextSibling)!==null)break;G=V,V=G.parentNode}G=re}s=k===-1||M===-1?null:{start:k,end:M}}else s=null}s=s||{start:0,end:0}}else s=null;for(Da={focusedElem:r,selectionRange:s},mi=!1,oe=o;oe!==null;)if(o=oe,r=o.child,(o.subtreeFlags&1028)!==0&&r!==null)r.return=o,oe=r;else for(;oe!==null;){o=oe;try{var le=o.alternate;if(o.flags&1024)switch(o.tag){case 0:case 11:case 15:break;case 1:if(le!==null){var fe=le.memoizedProps,Be=le.memoizedState,I=o.stateNode,L=I.getSnapshotBeforeUpdate(o.elementType===o.type?fe:jt(o.type,fe),Be);I.__reactInternalSnapshotBeforeUpdate=L}break;case 3:var T=o.stateNode.containerInfo;T.nodeType===1?T.textContent="":T.nodeType===9&&T.documentElement&&T.removeChild(T.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(J){De(o,o.return,J)}if(r=o.sibling,r!==null){r.return=o.return,oe=r;break}oe=o.return}return le=Eh,Eh=!1,le}l(Y_,"Pj");function $o(r,o,s){var u=o.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var d=u=u.next;do{if((d.tag&r)===r){var h=d.destroy;d.destroy=void 0,h!==void 0&&Ou(o,s,h)}d=d.next}while(d!==u)}}l($o,"Qj");function Yi(r,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var s=o=o.next;do{if((s.tag&r)===r){var u=s.create;s.destroy=u()}s=s.next}while(s!==o)}}l(Yi,"Rj");function Eu(r){var o=r.ref;if(o!==null){var s=r.stateNode;switch(r.tag){case 5:r=s;break;default:r=s}typeof o=="function"?o(r):o.current=r}}l(Eu,"Sj");function kh(r){var o=r.alternate;o!==null&&(r.alternate=null,kh(o)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(o=r.stateNode,o!==null&&(delete o[Ht],delete o[wo],delete o[Wa],delete o[M_],delete o[N_])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}l(kh,"Tj");function Ch(r){return r.tag===5||r.tag===3||r.tag===4}l(Ch,"Uj");function Rh(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Ch(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}l(Rh,"Vj");function ku(r,o,s){var u=r.tag;if(u===5||u===6)r=r.stateNode,o?s.nodeType===8?s.parentNode.insertBefore(r,o):s.insertBefore(r,o):(s.nodeType===8?(o=s.parentNode,o.insertBefore(r,s)):(o=s,o.appendChild(r)),s=s._reactRootContainer,s!=null||o.onclick!==null||(o.onclick=ki));else if(u!==4&&(r=r.child,r!==null))for(ku(r,o,s),r=r.sibling;r!==null;)ku(r,o,s),r=r.sibling}l(ku,"Wj");function Cu(r,o,s){var u=r.tag;if(u===5||u===6)r=r.stateNode,o?s.insertBefore(r,o):s.appendChild(r);else if(u!==4&&(r=r.child,r!==null))for(Cu(r,o,s),r=r.sibling;r!==null;)Cu(r,o,s),r=r.sibling}l(Cu,"Xj");var Je=null,Lt=!1;function Er(r,o,s){for(s=s.child;s!==null;)$h(r,o,s),s=s.sibling}l(Er,"Zj");function $h(r,o,s){if(Wt&&typeof Wt.onCommitFiberUnmount=="function")try{Wt.onCommitFiberUnmount(ui,s)}catch{}switch(s.tag){case 5:nt||Cn(s,o);case 6:var u=Je,d=Lt;Je=null,Er(r,o,s),Je=u,Lt=d,Je!==null&&(Lt?(r=Je,s=s.stateNode,r.nodeType===8?r.parentNode.removeChild(s):r.removeChild(s)):Je.removeChild(s.stateNode));break;case 18:Je!==null&&(Lt?(r=Je,s=s.stateNode,r.nodeType===8?Ba(r.parentNode,s):r.nodeType===1&&Ba(r,s),lo(r)):Ba(Je,s.stateNode));break;case 4:u=Je,d=Lt,Je=s.stateNode.containerInfo,Lt=!0,Er(r,o,s),Je=u,Lt=d;break;case 0:case 11:case 14:case 15:if(!nt&&(u=s.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){d=u=u.next;do{var h=d,v=h.destroy;h=h.tag,v!==void 0&&(h&2||h&4)&&Ou(s,o,v),d=d.next}while(d!==u)}Er(r,o,s);break;case 1:if(!nt&&(Cn(s,o),u=s.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=s.memoizedProps,u.state=s.memoizedState,u.componentWillUnmount()}catch(k){De(s,o,k)}Er(r,o,s);break;case 21:Er(r,o,s);break;case 22:s.mode&1?(nt=(u=nt)||s.memoizedState!==null,Er(r,o,s),nt=u):Er(r,o,s);break;default:Er(r,o,s)}}l($h,"ak");function zh(r){var o=r.updateQueue;if(o!==null){r.updateQueue=null;var s=r.stateNode;s===null&&(s=r.stateNode=new K_),o.forEach(function(u){var d=i2.bind(null,r,u);s.has(u)||(s.add(u),u.then(d,d))})}}l(zh,"bk");function It(r,o){var s=o.deletions;if(s!==null)for(var u=0;u<s.length;u++){var d=s[u];try{var h=r,v=o,k=v;e:for(;k!==null;){switch(k.tag){case 5:Je=k.stateNode,Lt=!1;break e;case 3:Je=k.stateNode.containerInfo,Lt=!0;break e;case 4:Je=k.stateNode.containerInfo,Lt=!0;break e}k=k.return}if(Je===null)throw Error(n(160));$h(h,v,d),Je=null,Lt=!1;var M=d.alternate;M!==null&&(M.return=null),d.return=null}catch(F){De(d,o,F)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)Mh(o,r),o=o.sibling}l(It,"dk");function Mh(r,o){var s=r.alternate,u=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(It(o,r),qt(r),u&4){try{$o(3,r,r.return),Yi(3,r)}catch(fe){De(r,r.return,fe)}try{$o(5,r,r.return)}catch(fe){De(r,r.return,fe)}}break;case 1:It(o,r),qt(r),u&512&&s!==null&&Cn(s,s.return);break;case 5:if(It(o,r),qt(r),u&512&&s!==null&&Cn(s,s.return),r.flags&32){var d=r.stateNode;try{Yn(d,"")}catch(fe){De(r,r.return,fe)}}if(u&4&&(d=r.stateNode,d!=null)){var h=r.memoizedProps,v=s!==null?s.memoizedProps:h,k=r.type,M=r.updateQueue;if(r.updateQueue=null,M!==null)try{k==="input"&&h.type==="radio"&&h.name!=null&&id(d,h),ia(k,v);var F=ia(k,h);for(v=0;v<M.length;v+=2){var q=M[v],G=M[v+1];q==="style"?pd(d,G):q==="dangerouslySetInnerHTML"?fd(d,G):q==="children"?Yn(d,G):E(d,q,G,F)}switch(k){case"input":ea(d,h);break;case"textarea":ad(d,h);break;case"select":var V=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!h.multiple;var re=h.value;re!=null?ln(d,!!h.multiple,re,!1):V!==!!h.multiple&&(h.defaultValue!=null?ln(d,!!h.multiple,h.defaultValue,!0):ln(d,!!h.multiple,h.multiple?[]:"",!1))}d[wo]=h}catch(fe){De(r,r.return,fe)}}break;case 6:if(It(o,r),qt(r),u&4){if(r.stateNode===null)throw Error(n(162));d=r.stateNode,h=r.memoizedProps;try{d.nodeValue=h}catch(fe){De(r,r.return,fe)}}break;case 3:if(It(o,r),qt(r),u&4&&s!==null&&s.memoizedState.isDehydrated)try{lo(o.containerInfo)}catch(fe){De(r,r.return,fe)}break;case 4:It(o,r),qt(r);break;case 13:It(o,r),qt(r),d=r.child,d.flags&8192&&(h=d.memoizedState!==null,d.stateNode.isHidden=h,!h||d.alternate!==null&&d.alternate.memoizedState!==null||(zu=Ae())),u&4&&zh(r);break;case 22:if(q=s!==null&&s.memoizedState!==null,r.mode&1?(nt=(F=nt)||q,It(o,r),nt=F):It(o,r),qt(r),u&8192){if(F=r.memoizedState!==null,(r.stateNode.isHidden=F)&&!q&&r.mode&1)for(oe=r,q=r.child;q!==null;){for(G=oe=q;oe!==null;){switch(V=oe,re=V.child,V.tag){case 0:case 11:case 14:case 15:$o(4,V,V.return);break;case 1:Cn(V,V.return);var le=V.stateNode;if(typeof le.componentWillUnmount=="function"){u=V,s=V.return;try{o=u,le.props=o.memoizedProps,le.state=o.memoizedState,le.componentWillUnmount()}catch(fe){De(u,s,fe)}}break;case 5:Cn(V,V.return);break;case 22:if(V.memoizedState!==null){Lh(G);continue}}re!==null?(re.return=V,oe=re):Lh(G)}q=q.sibling}e:for(q=null,G=r;;){if(G.tag===5){if(q===null){q=G;try{d=G.stateNode,F?(h=d.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(k=G.stateNode,M=G.memoizedProps.style,v=M!=null&&M.hasOwnProperty("display")?M.display:null,k.style.display=dd("display",v))}catch(fe){De(r,r.return,fe)}}}else if(G.tag===6){if(q===null)try{G.stateNode.nodeValue=F?"":G.memoizedProps}catch(fe){De(r,r.return,fe)}}else if((G.tag!==22&&G.tag!==23||G.memoizedState===null||G===r)&&G.child!==null){G.child.return=G,G=G.child;continue}if(G===r)break e;for(;G.sibling===null;){if(G.return===null||G.return===r)break e;q===G&&(q=null),G=G.return}q===G&&(q=null),G.sibling.return=G.return,G=G.sibling}}break;case 19:It(o,r),qt(r),u&4&&zh(r);break;case 21:break;default:It(o,r),qt(r)}}l(Mh,"ek");function qt(r){var o=r.flags;if(o&2){try{e:{for(var s=r.return;s!==null;){if(Ch(s)){var u=s;break e}s=s.return}throw Error(n(160))}switch(u.tag){case 5:var d=u.stateNode;u.flags&32&&(Yn(d,""),u.flags&=-33);var h=Rh(r);Cu(r,h,d);break;case 3:case 4:var v=u.stateNode.containerInfo,k=Rh(r);ku(r,k,v);break;default:throw Error(n(161))}}catch(M){De(r,r.return,M)}r.flags&=-3}o&4096&&(r.flags&=-4097)}l(qt,"fk");function X_(r,o,s){oe=r,Nh(r)}l(X_,"ik");function Nh(r,o,s){for(var u=(r.mode&1)!==0;oe!==null;){var d=oe,h=d.child;if(d.tag===22&&u){var v=d.memoizedState!==null||Ki;if(!v){var k=d.alternate,M=k!==null&&k.memoizedState!==null||nt;k=Ki;var F=nt;if(Ki=v,(nt=M)&&!F)for(oe=d;oe!==null;)v=oe,M=v.child,v.tag===22&&v.memoizedState!==null?Ih(d):M!==null?(M.return=v,oe=M):Ih(d);for(;h!==null;)oe=h,Nh(h),h=h.sibling;oe=d,Ki=k,nt=F}jh(r)}else d.subtreeFlags&8772&&h!==null?(h.return=d,oe=h):jh(r)}}l(Nh,"jk");function jh(r){for(;oe!==null;){var o=oe;if(o.flags&8772){var s=o.alternate;try{if(o.flags&8772)switch(o.tag){case 0:case 11:case 15:nt||Yi(5,o);break;case 1:var u=o.stateNode;if(o.flags&4&&!nt)if(s===null)u.componentDidMount();else{var d=o.elementType===o.type?s.memoizedProps:jt(o.type,s.memoizedProps);u.componentDidUpdate(d,s.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var h=o.updateQueue;h!==null&&zp(o,h,u);break;case 3:var v=o.updateQueue;if(v!==null){if(s=null,o.child!==null)switch(o.child.tag){case 5:s=o.child.stateNode;break;case 1:s=o.child.stateNode}zp(o,v,s)}break;case 5:var k=o.stateNode;if(s===null&&o.flags&4){s=k;var M=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":M.autoFocus&&s.focus();break;case"img":M.src&&(s.src=M.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var F=o.alternate;if(F!==null){var q=F.memoizedState;if(q!==null){var G=q.dehydrated;G!==null&&lo(G)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}nt||o.flags&512&&Eu(o)}catch(V){De(o,o.return,V)}}if(o===r){oe=null;break}if(s=o.sibling,s!==null){s.return=o.return,oe=s;break}oe=o.return}}l(jh,"lk");function Lh(r){for(;oe!==null;){var o=oe;if(o===r){oe=null;break}var s=o.sibling;if(s!==null){s.return=o.return,oe=s;break}oe=o.return}}l(Lh,"hk");function Ih(r){for(;oe!==null;){var o=oe;try{switch(o.tag){case 0:case 11:case 15:var s=o.return;try{Yi(4,o)}catch(M){De(o,s,M)}break;case 1:var u=o.stateNode;if(typeof u.componentDidMount=="function"){var d=o.return;try{u.componentDidMount()}catch(M){De(o,d,M)}}var h=o.return;try{Eu(o)}catch(M){De(o,h,M)}break;case 5:var v=o.return;try{Eu(o)}catch(M){De(o,v,M)}}}catch(M){De(o,o.return,M)}if(o===r){oe=null;break}var k=o.sibling;if(k!==null){k.return=o.return,oe=k;break}oe=o.return}}l(Ih,"kk");var J_=Math.ceil,Xi=z.ReactCurrentDispatcher,Ru=z.ReactCurrentOwner,kt=z.ReactCurrentBatchConfig,Pe=0,Ke=null,We=null,Ze=0,wt=0,Rn=xr(0),qe=0,zo=null,Kr=0,Ji=0,$u=0,Mo=null,ft=null,zu=0,$n=1/0,ar=null,Zi=!1,Mu=null,kr=null,es=!1,Cr=null,ts=0,No=0,Nu=null,rs=-1,ns=0;function lt(){return Pe&6?Ae():rs!==-1?rs:rs=Ae()}l(lt,"L");function Rr(r){return r.mode&1?Pe&2&&Ze!==0?Ze&-Ze:L_.transition!==null?(ns===0&&(ns=Cd()),ns):(r=Re,r!==0||(r=window.event,r=r===void 0?16:Td(r.type)),r):1}l(Rr,"lh");function Tt(r,o,s,u){if(50<No)throw No=0,Nu=null,Error(n(185));ro(r,s,u),(!(Pe&2)||r!==Ke)&&(r===Ke&&(!(Pe&2)&&(Ji|=s),qe===4&&$r(r,Ze)),dt(r,u),s===1&&Pe===0&&!(o.mode&1)&&($n=Ae()+500,zi&&br()))}l(Tt,"mh");function dt(r,o){var s=r.callbackNode;Lw(r,o);var u=di(r,r===Ke?Ze:0);if(u===0)s!==null&&Od(s),r.callbackNode=null,r.callbackPriority=0;else if(o=u&-u,r.callbackPriority!==o){if(s!=null&&Od(s),o===1)r.tag===0?j_(Dh.bind(null,r)):Pp(Dh.bind(null,r)),$_(function(){!(Pe&6)&&br()}),s=null;else{switch(Rd(u)){case 1:s=da;break;case 4:s=Ed;break;case 16:s=ai;break;case 536870912:s=kd;break;default:s=ai}s=qh(s,Th.bind(null,r))}r.callbackPriority=o,r.callbackNode=s}}l(dt,"Ek");function Th(r,o){if(rs=-1,ns=0,Pe&6)throw Error(n(327));var s=r.callbackNode;if(zn()&&r.callbackNode!==s)return null;var u=di(r,r===Ke?Ze:0);if(u===0)return null;if(u&30||u&r.expiredLanes||o)o=os(r,u);else{o=u;var d=Pe;Pe|=2;var h=Ah();(Ke!==r||Ze!==o)&&(ar=null,$n=Ae()+500,Xr(r,o));do try{t2();break}catch(k){Fh(r,k)}while(!0);Xa(),Xi.current=h,Pe=d,We!==null?o=0:(Ke=null,Ze=0,o=qe)}if(o!==0){if(o===2&&(d=pa(r),d!==0&&(u=d,o=ju(r,d))),o===1)throw s=zo,Xr(r,0),$r(r,u),dt(r,Ae()),s;if(o===6)$r(r,u);else{if(d=r.current.alternate,!(u&30)&&!Z_(d)&&(o=os(r,u),o===2&&(h=pa(r),h!==0&&(u=h,o=ju(r,h))),o===1))throw s=zo,Xr(r,0),$r(r,u),dt(r,Ae()),s;switch(r.finishedWork=d,r.finishedLanes=u,o){case 0:case 1:throw Error(n(345));case 2:Jr(r,ft,ar);break;case 3:if($r(r,u),(u&130023424)===u&&(o=zu+500-Ae(),10<o)){if(di(r,0)!==0)break;if(d=r.suspendedLanes,(d&u)!==u){lt(),r.pingedLanes|=r.suspendedLanes&d;break}r.timeoutHandle=Aa(Jr.bind(null,r,ft,ar),o);break}Jr(r,ft,ar);break;case 4:if($r(r,u),(u&4194240)===u)break;for(o=r.eventTimes,d=-1;0<u;){var v=31-zt(u);h=1<<v,v=o[v],v>d&&(d=v),u&=~h}if(u=d,u=Ae()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*J_(u/1960))-u,10<u){r.timeoutHandle=Aa(Jr.bind(null,r,ft,ar),u);break}Jr(r,ft,ar);break;case 5:Jr(r,ft,ar);break;default:throw Error(n(329))}}}return dt(r,Ae()),r.callbackNode===s?Th.bind(null,r):null}l(Th,"Hk");function ju(r,o){var s=Mo;return r.current.memoizedState.isDehydrated&&(Xr(r,o).flags|=256),r=os(r,o),r!==2&&(o=ft,ft=s,o!==null&&Lu(o)),r}l(ju,"Ok");function Lu(r){ft===null?ft=r:ft.push.apply(ft,r)}l(Lu,"Gj");function Z_(r){for(var o=r;;){if(o.flags&16384){var s=o.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var u=0;u<s.length;u++){var d=s[u],h=d.getSnapshot;d=d.value;try{if(!Mt(h(),d))return!1}catch{return!1}}}if(s=o.child,o.subtreeFlags&16384&&s!==null)s.return=o,o=s;else{if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}l(Z_,"Pk");function $r(r,o){for(o&=~$u,o&=~Ji,r.suspendedLanes|=o,r.pingedLanes&=~o,r=r.expirationTimes;0<o;){var s=31-zt(o),u=1<<s;r[s]=-1,o&=~u}}l($r,"Dk");function Dh(r){if(Pe&6)throw Error(n(327));zn();var o=di(r,0);if(!(o&1))return dt(r,Ae()),null;var s=os(r,o);if(r.tag!==0&&s===2){var u=pa(r);u!==0&&(o=u,s=ju(r,u))}if(s===1)throw s=zo,Xr(r,0),$r(r,o),dt(r,Ae()),s;if(s===6)throw Error(n(345));return r.finishedWork=r.current.alternate,r.finishedLanes=o,Jr(r,ft,ar),dt(r,Ae()),null}l(Dh,"Fk");function Iu(r,o){var s=Pe;Pe|=1;try{return r(o)}finally{Pe=s,Pe===0&&($n=Ae()+500,zi&&br())}}l(Iu,"Rk");function Yr(r){Cr!==null&&Cr.tag===0&&!(Pe&6)&&zn();var o=Pe;Pe|=1;var s=kt.transition,u=Re;try{if(kt.transition=null,Re=1,r)return r()}finally{Re=u,kt.transition=s,Pe=o,!(Pe&6)&&br()}}l(Yr,"Sk");function Tu(){wt=Rn.current,Ne(Rn)}l(Tu,"Ij");function Xr(r,o){r.finishedWork=null,r.finishedLanes=0;var s=r.timeoutHandle;if(s!==-1&&(r.timeoutHandle=-1,R_(s)),We!==null)for(s=We.return;s!==null;){var u=s;switch(qa(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&Ri();break;case 3:En(),Ne(at),Ne(et),lu();break;case 5:iu(u);break;case 4:En();break;case 13:Ne(Le);break;case 19:Ne(Le);break;case 10:Ja(u.type._context);break;case 22:case 23:Tu()}s=s.return}if(Ke=r,We=r=zr(r.current,null),Ze=wt=o,qe=0,zo=null,$u=Ji=Kr=0,ft=Mo=null,qr!==null){for(o=0;o<qr.length;o++)if(s=qr[o],u=s.interleaved,u!==null){s.interleaved=null;var d=u.next,h=s.pending;if(h!==null){var v=h.next;h.next=d,u.next=v}s.pending=u}qr=null}return r}l(Xr,"Lk");function Fh(r,o){do{var s=We;try{if(Xa(),Wi.current=qi,Hi){for(var u=Ie.memoizedState;u!==null;){var d=u.queue;d!==null&&(d.pending=null),u=u.next}Hi=!1}if(Gr=0,Ge=Ve=Ie=null,Oo=!1,Eo=0,Ru.current=null,s===null||s.return===null){qe=1,zo=o,We=null;break}e:{var h=r,v=s.return,k=s,M=o;if(o=Ze,k.flags|=32768,M!==null&&typeof M=="object"&&typeof M.then=="function"){var F=M,q=k,G=q.tag;if(!(q.mode&1)&&(G===0||G===11||G===15)){var V=q.alternate;V?(q.updateQueue=V.updateQueue,q.memoizedState=V.memoizedState,q.lanes=V.lanes):(q.updateQueue=null,q.memoizedState=null)}var re=ch(v);if(re!==null){re.flags&=-257,fh(re,v,k,h,o),re.mode&1&&uh(h,F,o),o=re,M=F;var le=o.updateQueue;if(le===null){var fe=new Set;fe.add(M),o.updateQueue=fe}else le.add(M);break e}else{if(!(o&1)){uh(h,F,o),Du();break e}M=Error(n(426))}}else if(je&&k.mode&1){var Be=ch(v);if(Be!==null){!(Be.flags&65536)&&(Be.flags|=256),fh(Be,v,k,h,o),Ka(kn(M,k));break e}}h=M=kn(M,k),qe!==4&&(qe=2),Mo===null?Mo=[h]:Mo.push(h),h=v;do{switch(h.tag){case 3:h.flags|=65536,o&=-o,h.lanes|=o;var I=lh(h,M,o);$p(h,I);break e;case 1:k=M;var L=h.type,T=h.stateNode;if(!(h.flags&128)&&(typeof L.getDerivedStateFromError=="function"||T!==null&&typeof T.componentDidCatch=="function"&&(kr===null||!kr.has(T)))){h.flags|=65536,o&=-o,h.lanes|=o;var J=ah(h,k,o);$p(h,J);break e}}h=h.return}while(h!==null)}Wh(s)}catch(de){o=de,We===s&&s!==null&&(We=s=s.return);continue}break}while(!0)}l(Fh,"Nk");function Ah(){var r=Xi.current;return Xi.current=qi,r===null?qi:r}l(Ah,"Kk");function Du(){(qe===0||qe===3||qe===2)&&(qe=4),Ke===null||!(Kr&268435455)&&!(Ji&268435455)||$r(Ke,Ze)}l(Du,"uj");function os(r,o){var s=Pe;Pe|=2;var u=Ah();(Ke!==r||Ze!==o)&&(ar=null,Xr(r,o));do try{e2();break}catch(d){Fh(r,d)}while(!0);if(Xa(),Pe=s,Xi.current=u,We!==null)throw Error(n(261));return Ke=null,Ze=0,qe}l(os,"Jk");function e2(){for(;We!==null;)Bh(We)}l(e2,"Uk");function t2(){for(;We!==null&&!Ew();)Bh(We)}l(t2,"Mk");function Bh(r){var o=Vh(r.alternate,r,wt);r.memoizedProps=r.pendingProps,o===null?Wh(r):We=o,Ru.current=null}l(Bh,"Vk");function Wh(r){var o=r;do{var s=o.alternate;if(r=o.return,o.flags&32768){if(s=G_(s,o),s!==null){s.flags&=32767,We=s;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{qe=6,We=null;return}}else if(s=Q_(s,o,wt),s!==null){We=s;return}if(o=o.sibling,o!==null){We=o;return}We=o=r}while(o!==null);qe===0&&(qe=5)}l(Wh,"Tk");function Jr(r,o,s){var u=Re,d=kt.transition;try{kt.transition=null,Re=1,r2(r,o,s,u)}finally{kt.transition=d,Re=u}return null}l(Jr,"Qk");function r2(r,o,s,u){do zn();while(Cr!==null);if(Pe&6)throw Error(n(327));s=r.finishedWork;var d=r.finishedLanes;if(s===null)return null;if(r.finishedWork=null,r.finishedLanes=0,s===r.current)throw Error(n(177));r.callbackNode=null,r.callbackPriority=0;var h=s.lanes|s.childLanes;if(Iw(r,h),r===Ke&&(We=Ke=null,Ze=0),!(s.subtreeFlags&2064)&&!(s.flags&2064)||es||(es=!0,qh(ai,function(){return zn(),null})),h=(s.flags&15990)!==0,s.subtreeFlags&15990||h){h=kt.transition,kt.transition=null;var v=Re;Re=1;var k=Pe;Pe|=4,Ru.current=null,Y_(r,s),Mh(s,r),P_(Da),mi=!!Ta,Da=Ta=null,r.current=s,X_(s),kw(),Pe=k,Re=v,kt.transition=h}else r.current=s;if(es&&(es=!1,Cr=r,ts=d),h=r.pendingLanes,h===0&&(kr=null),$w(s.stateNode),dt(r,Ae()),o!==null)for(u=r.onRecoverableError,s=0;s<o.length;s++)d=o[s],u(d.value,{componentStack:d.stack,digest:d.digest});if(Zi)throw Zi=!1,r=Mu,Mu=null,r;return ts&1&&r.tag!==0&&zn(),h=r.pendingLanes,h&1?r===Nu?No++:(No=0,Nu=r):No=0,br(),null}l(r2,"Xk");function zn(){if(Cr!==null){var r=Rd(ts),o=kt.transition,s=Re;try{if(kt.transition=null,Re=16>r?16:r,Cr===null)var u=!1;else{if(r=Cr,Cr=null,ts=0,Pe&6)throw Error(n(331));var d=Pe;for(Pe|=4,oe=r.current;oe!==null;){var h=oe,v=h.child;if(oe.flags&16){var k=h.deletions;if(k!==null){for(var M=0;M<k.length;M++){var F=k[M];for(oe=F;oe!==null;){var q=oe;switch(q.tag){case 0:case 11:case 15:$o(8,q,h)}var G=q.child;if(G!==null)G.return=q,oe=G;else for(;oe!==null;){q=oe;var V=q.sibling,re=q.return;if(kh(q),q===F){oe=null;break}if(V!==null){V.return=re,oe=V;break}oe=re}}}var le=h.alternate;if(le!==null){var fe=le.child;if(fe!==null){le.child=null;do{var Be=fe.sibling;fe.sibling=null,fe=Be}while(fe!==null)}}oe=h}}if(h.subtreeFlags&2064&&v!==null)v.return=h,oe=v;else e:for(;oe!==null;){if(h=oe,h.flags&2048)switch(h.tag){case 0:case 11:case 15:$o(9,h,h.return)}var I=h.sibling;if(I!==null){I.return=h.return,oe=I;break e}oe=h.return}}var L=r.current;for(oe=L;oe!==null;){v=oe;var T=v.child;if(v.subtreeFlags&2064&&T!==null)T.return=v,oe=T;else e:for(v=L;oe!==null;){if(k=oe,k.flags&2048)try{switch(k.tag){case 0:case 11:case 15:Yi(9,k)}}catch(de){De(k,k.return,de)}if(k===v){oe=null;break e}var J=k.sibling;if(J!==null){J.return=k.return,oe=J;break e}oe=k.return}}if(Pe=d,br(),Wt&&typeof Wt.onPostCommitFiberRoot=="function")try{Wt.onPostCommitFiberRoot(ui,r)}catch{}u=!0}return u}finally{Re=s,kt.transition=o}}return!1}l(zn,"Ik");function Hh(r,o,s){o=kn(s,o),o=lh(r,o,1),r=Or(r,o,1),o=lt(),r!==null&&(ro(r,1,o),dt(r,o))}l(Hh,"Yk");function De(r,o,s){if(r.tag===3)Hh(r,r,s);else for(;o!==null;){if(o.tag===3){Hh(o,r,s);break}else if(o.tag===1){var u=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(kr===null||!kr.has(u))){r=kn(s,r),r=ah(o,r,1),o=Or(o,r,1),r=lt(),o!==null&&(ro(o,1,r),dt(o,r));break}}o=o.return}}l(De,"W");function n2(r,o,s){var u=r.pingCache;u!==null&&u.delete(o),o=lt(),r.pingedLanes|=r.suspendedLanes&s,Ke===r&&(Ze&s)===s&&(qe===4||qe===3&&(Ze&130023424)===Ze&&500>Ae()-zu?Xr(r,0):$u|=s),dt(r,o)}l(n2,"Ui");function Uh(r,o){o===0&&(r.mode&1?(o=fi,fi<<=1,!(fi&130023424)&&(fi=4194304)):o=1);var s=lt();r=ir(r,o),r!==null&&(ro(r,o,s),dt(r,s))}l(Uh,"Zk");function o2(r){var o=r.memoizedState,s=0;o!==null&&(s=o.retryLane),Uh(r,s)}l(o2,"vj");function i2(r,o){var s=0;switch(r.tag){case 13:var u=r.stateNode,d=r.memoizedState;d!==null&&(s=d.retryLane);break;case 19:u=r.stateNode;break;default:throw Error(n(314))}u!==null&&u.delete(o),Uh(r,s)}l(i2,"ck");var Vh;Vh=l(function(r,o,s){if(r!==null)if(r.memoizedProps!==o.pendingProps||at.current)ct=!0;else{if(!(r.lanes&s)&&!(o.flags&128))return ct=!1,q_(r,o,s);ct=!!(r.flags&131072)}else ct=!1,je&&o.flags&1048576&&bp(o,Ni,o.index);switch(o.lanes=0,o.tag){case 2:var u=o.type;Gi(r,o),r=o.pendingProps;var d=wn(o,et.current);Sn(o,s),d=cu(null,o,u,r,d,s);var h=fu();return o.flags|=1,typeof d=="object"&&d!==null&&typeof d.render=="function"&&d.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,ut(u)?(h=!0,$i(o)):h=!1,o.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,tu(o),d.updater=Fi,o.stateNode=d,d._reactInternals=o,nu(o,u,r,s),o=wu(null,o,u,!0,h,s)):(o.tag=0,je&&h&&Va(o),st(null,o,d,s),o=o.child),o;case 16:u=o.elementType;e:{switch(Gi(r,o),r=o.pendingProps,d=u._init,u=d(u._payload),o.type=u,d=o.tag=l2(u),r=jt(u,r),d){case 0:o=vu(null,o,u,r,s);break e;case 1:o=gh(null,o,u,r,s);break e;case 11:o=dh(null,o,u,r,s);break e;case 14:o=ph(null,o,u,jt(u.type,r),s);break e}throw Error(n(306,u,""))}return o;case 0:return u=o.type,d=o.pendingProps,d=o.elementType===u?d:jt(u,d),vu(r,o,u,d,s);case 1:return u=o.type,d=o.pendingProps,d=o.elementType===u?d:jt(u,d),gh(r,o,u,d,s);case 3:e:{if(vh(o),r===null)throw Error(n(387));u=o.pendingProps,h=o.memoizedState,d=h.element,Rp(r,o),Di(o,u,null,s);var v=o.memoizedState;if(u=v.element,h.isDehydrated)if(h={element:u,isDehydrated:!1,cache:v.cache,pendingSuspenseBoundaries:v.pendingSuspenseBoundaries,transitions:v.transitions},o.updateQueue.baseState=h,o.memoizedState=h,o.flags&256){d=kn(Error(n(423)),o),o=wh(r,o,u,s,d);break e}else if(u!==d){d=kn(Error(n(424)),o),o=wh(r,o,u,s,d);break e}else for(vt=_r(o.stateNode.containerInfo.firstChild),gt=o,je=!0,Nt=null,s=Dp(o,null,u,s),o.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(Pn(),u===d){o=lr(r,o,s);break e}st(r,o,u,s)}o=o.child}return o;case 5:return Fp(o),r===null&&Ga(o),u=o.type,d=o.pendingProps,h=r!==null?r.memoizedProps:null,v=d.children,Fa(u,d)?v=null:h!==null&&Fa(u,h)&&(o.flags|=32),yh(r,o),st(r,o,v,s),o.child;case 6:return r===null&&Ga(o),null;case 13:return _h(r,o,s);case 4:return ou(o,o.stateNode.containerInfo),u=o.pendingProps,r===null?o.child=On(o,null,u,s):st(r,o,u,s),o.child;case 11:return u=o.type,d=o.pendingProps,d=o.elementType===u?d:jt(u,d),dh(r,o,u,d,s);case 7:return st(r,o,o.pendingProps,s),o.child;case 8:return st(r,o,o.pendingProps.children,s),o.child;case 12:return st(r,o,o.pendingProps.children,s),o.child;case 10:e:{if(u=o.type._context,d=o.pendingProps,h=o.memoizedProps,v=d.value,$e(Li,u._currentValue),u._currentValue=v,h!==null)if(Mt(h.value,v)){if(h.children===d.children&&!at.current){o=lr(r,o,s);break e}}else for(h=o.child,h!==null&&(h.return=o);h!==null;){var k=h.dependencies;if(k!==null){v=h.child;for(var M=k.firstContext;M!==null;){if(M.context===u){if(h.tag===1){M=sr(-1,s&-s),M.tag=2;var F=h.updateQueue;if(F!==null){F=F.shared;var q=F.pending;q===null?M.next=M:(M.next=q.next,q.next=M),F.pending=M}}h.lanes|=s,M=h.alternate,M!==null&&(M.lanes|=s),Za(h.return,s,o),k.lanes|=s;break}M=M.next}}else if(h.tag===10)v=h.type===o.type?null:h.child;else if(h.tag===18){if(v=h.return,v===null)throw Error(n(341));v.lanes|=s,k=v.alternate,k!==null&&(k.lanes|=s),Za(v,s,o),v=h.sibling}else v=h.child;if(v!==null)v.return=h;else for(v=h;v!==null;){if(v===o){v=null;break}if(h=v.sibling,h!==null){h.return=v.return,v=h;break}v=v.return}h=v}st(r,o,d.children,s),o=o.child}return o;case 9:return d=o.type,u=o.pendingProps.children,Sn(o,s),d=Ot(d),u=u(d),o.flags|=1,st(r,o,u,s),o.child;case 14:return u=o.type,d=jt(u,o.pendingProps),d=jt(u.type,d),ph(r,o,u,d,s);case 15:return hh(r,o,o.type,o.pendingProps,s);case 17:return u=o.type,d=o.pendingProps,d=o.elementType===u?d:jt(u,d),Gi(r,o),o.tag=1,ut(u)?(r=!0,$i(o)):r=!1,Sn(o,s),jp(o,u,d),nu(o,u,d,s),wu(null,o,u,!0,r,s);case 19:return Ph(r,o,s);case 22:return mh(r,o,s)}throw Error(n(156,o.tag))},"Wk");function qh(r,o){return Sd(r,o)}l(qh,"Gk");function s2(r,o,s,u){this.tag=r,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}l(s2,"al");function Ct(r,o,s,u){return new s2(r,o,s,u)}l(Ct,"Bg");function Fu(r){return r=r.prototype,!(!r||!r.isReactComponent)}l(Fu,"bj");function l2(r){if(typeof r=="function")return Fu(r)?1:0;if(r!=null){if(r=r.$$typeof,r===Z)return 11;if(r===ie)return 14}return 2}l(l2,"$k");function zr(r,o){var s=r.alternate;return s===null?(s=Ct(r.tag,o,r.key,r.mode),s.elementType=r.elementType,s.type=r.type,s.stateNode=r.stateNode,s.alternate=r,r.alternate=s):(s.pendingProps=o,s.type=r.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=r.flags&14680064,s.childLanes=r.childLanes,s.lanes=r.lanes,s.child=r.child,s.memoizedProps=r.memoizedProps,s.memoizedState=r.memoizedState,s.updateQueue=r.updateQueue,o=r.dependencies,s.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},s.sibling=r.sibling,s.index=r.index,s.ref=r.ref,s}l(zr,"wh");function is(r,o,s,u,d,h){var v=2;if(u=r,typeof r=="function")Fu(r)&&(v=1);else if(typeof r=="string")v=5;else e:switch(r){case A:return Zr(s.children,d,h,o);case D:v=8,d|=8;break;case Q:return r=Ct(12,s,o,d|2),r.elementType=Q,r.lanes=h,r;case te:return r=Ct(13,s,o,d),r.elementType=te,r.lanes=h,r;case K:return r=Ct(19,s,o,d),r.elementType=K,r.lanes=h,r;case ne:return ss(s,d,h,o);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case X:v=10;break e;case ae:v=9;break e;case Z:v=11;break e;case ie:v=14;break e;case ue:v=16,u=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return o=Ct(v,s,o,d),o.elementType=r,o.type=u,o.lanes=h,o}l(is,"yh");function Zr(r,o,s,u){return r=Ct(7,r,u,o),r.lanes=s,r}l(Zr,"Ah");function ss(r,o,s,u){return r=Ct(22,r,u,o),r.elementType=ne,r.lanes=s,r.stateNode={isHidden:!1},r}l(ss,"qj");function Au(r,o,s){return r=Ct(6,r,null,o),r.lanes=s,r}l(Au,"xh");function Bu(r,o,s){return o=Ct(4,r.children!==null?r.children:[],r.key,o),o.lanes=s,o.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},o}l(Bu,"zh");function a2(r,o,s,u,d){this.tag=o,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ha(0),this.expirationTimes=ha(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ha(0),this.identifierPrefix=u,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}l(a2,"bl");function Wu(r,o,s,u,d,h,v,k,M){return r=new a2(r,o,s,k,M),o===1?(o=1,h===!0&&(o|=8)):o=0,h=Ct(3,null,null,o),r.current=h,h.stateNode=r,h.memoizedState={element:u,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},tu(h),r}l(Wu,"cl");function u2(r,o,s){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:j,key:u==null?null:""+u,children:r,containerInfo:o,implementation:s}}l(u2,"dl");function Qh(r){if(!r)return Pr;r=r._reactInternals;e:{if(Br(r)!==r||r.tag!==1)throw Error(n(170));var o=r;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(ut(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(n(171))}if(r.tag===1){var s=r.type;if(ut(s))return _p(r,s,o)}return o}l(Qh,"el");function Gh(r,o,s,u,d,h,v,k,M){return r=Wu(s,u,!0,r,d,h,v,k,M),r.context=Qh(null),s=r.current,u=lt(),d=Rr(s),h=sr(u,d),h.callback=o??null,Or(s,h,d),r.current.lanes=d,ro(r,d,u),dt(r,u),r}l(Gh,"fl");function ls(r,o,s,u){var d=o.current,h=lt(),v=Rr(d);return s=Qh(s),o.context===null?o.context=s:o.pendingContext=s,o=sr(h,v),o.payload={element:r},u=u===void 0?null:u,u!==null&&(o.callback=u),r=Or(d,o,v),r!==null&&(Tt(r,d,v,h),Ti(r,d,v)),v}l(ls,"gl");function as(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}l(as,"hl");function Kh(r,o){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var s=r.retryLane;r.retryLane=s!==0&&s<o?s:o}}l(Kh,"il");function Hu(r,o){Kh(r,o),(r=r.alternate)&&Kh(r,o)}l(Hu,"jl");var Yh=typeof reportError=="function"?reportError:function(r){console.error(r)};function Uu(r){this._internalRoot=r}l(Uu,"ml"),us.prototype.render=Uu.prototype.render=function(r){var o=this._internalRoot;if(o===null)throw Error(n(409));ls(r,o,null,null)},us.prototype.unmount=Uu.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var o=r.containerInfo;Yr(function(){ls(null,r,null,null)}),o[tr]=null}};function us(r){this._internalRoot=r}l(us,"nl"),us.prototype.unstable_scheduleHydration=function(r){if(r){var o=Md();r={blockedOn:null,target:r,priority:o};for(var s=0;s<gr.length&&o!==0&&o<gr[s].priority;s++);gr.splice(s,0,r),s===0&&Ld(r)}};function Vu(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}l(Vu,"ol");function cs(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}l(cs,"pl");function Xh(){}l(Xh,"ql");function c2(r,o,s,u,d){if(d){if(typeof u=="function"){var h=u;u=l(function(){var F=as(v);h.call(F)},"d")}var v=Gh(o,u,r,0,null,!1,!1,"",Xh);return r._reactRootContainer=v,r[tr]=v.current,go(r.nodeType===8?r.parentNode:r),Yr(),v}for(;d=r.lastChild;)r.removeChild(d);if(typeof u=="function"){var k=u;u=l(function(){var F=as(M);k.call(F)},"d")}var M=Wu(r,0,!1,null,null,!1,!1,"",Xh);return r._reactRootContainer=M,r[tr]=M.current,go(r.nodeType===8?r.parentNode:r),Yr(function(){ls(o,M,s,u)}),M}l(c2,"rl");function fs(r,o,s,u,d){var h=s._reactRootContainer;if(h){var v=h;if(typeof d=="function"){var k=d;d=l(function(){var M=as(v);k.call(M)},"e")}ls(o,v,r,d)}else v=c2(s,o,r,d,u);return as(v)}l(fs,"sl"),$d=l(function(r){switch(r.tag){case 3:var o=r.stateNode;if(o.current.memoizedState.isDehydrated){var s=to(o.pendingLanes);s!==0&&(ma(o,s|1),dt(o,Ae()),!(Pe&6)&&($n=Ae()+500,br()))}break;case 13:Yr(function(){var u=ir(r,1);if(u!==null){var d=lt();Tt(u,r,1,d)}}),Hu(r,1)}},"Ec"),ya=l(function(r){if(r.tag===13){var o=ir(r,134217728);if(o!==null){var s=lt();Tt(o,r,134217728,s)}Hu(r,134217728)}},"Fc"),zd=l(function(r){if(r.tag===13){var o=Rr(r),s=ir(r,o);if(s!==null){var u=lt();Tt(s,r,o,u)}Hu(r,o)}},"Gc"),Md=l(function(){return Re},"Hc"),Nd=l(function(r,o){var s=Re;try{return Re=r,o()}finally{Re=s}},"Ic"),aa=l(function(r,o,s){switch(o){case"input":if(ea(r,s),o=s.name,s.type==="radio"&&o!=null){for(s=r;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<s.length;o++){var u=s[o];if(u!==r&&u.form===r.form){var d=Ci(u);if(!d)throw Error(n(90));nd(u),ea(u,d)}}}break;case"textarea":ad(r,s);break;case"select":o=s.value,o!=null&&ln(r,!!s.multiple,o,!1)}},"yb"),gd=Iu,vd=Yr;var f2={usingClientEntryPoint:!1,Events:[_o,gn,Ci,md,yd,Iu]},jo={findFiberByHostInstance:Wr,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},d2={bundleType:jo.bundleType,version:jo.version,rendererPackageName:jo.rendererPackageName,rendererConfig:jo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:z.ReactCurrentDispatcher,findHostInstanceByFiber:l(function(r){return r=Pd(r),r===null?null:r.stateNode},"findHostInstanceByFiber"),findFiberByHostInstance:jo.findFiberByHostInstance,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ds=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ds.isDisabled&&ds.supportsFiber)try{ui=ds.inject(d2),Wt=ds}catch{}}return pt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=f2,pt.createPortal=function(r,o){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Vu(o))throw Error(n(200));return u2(r,o,null,s)},pt.createRoot=function(r,o){if(!Vu(r))throw Error(n(299));var s=!1,u="",d=Yh;return o!=null&&(o.unstable_strictMode===!0&&(s=!0),o.identifierPrefix!==void 0&&(u=o.identifierPrefix),o.onRecoverableError!==void 0&&(d=o.onRecoverableError)),o=Wu(r,1,!1,null,null,s,!1,u,d),r[tr]=o.current,go(r.nodeType===8?r.parentNode:r),new Uu(o)},pt.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var o=r._reactInternals;if(o===void 0)throw typeof r.render=="function"?Error(n(188)):(r=Object.keys(r).join(","),Error(n(268,r)));return r=Pd(o),r=r===null?null:r.stateNode,r},pt.flushSync=function(r){return Yr(r)},pt.hydrate=function(r,o,s){if(!cs(o))throw Error(n(200));return fs(null,r,o,!0,s)},pt.hydrateRoot=function(r,o,s){if(!Vu(r))throw Error(n(405));var u=s!=null&&s.hydratedSources||null,d=!1,h="",v=Yh;if(s!=null&&(s.unstable_strictMode===!0&&(d=!0),s.identifierPrefix!==void 0&&(h=s.identifierPrefix),s.onRecoverableError!==void 0&&(v=s.onRecoverableError)),o=Gh(o,null,r,1,s??null,d,!1,h,v),r[tr]=o.current,go(r),u)for(r=0;r<u.length;r++)s=u[r],d=s._getVersion,d=d(s._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[s,d]:o.mutableSourceEagerHydrationData.push(s,d);return new us(o)},pt.render=function(r,o,s){if(!cs(o))throw Error(n(200));return fs(null,r,o,!1,s)},pt.unmountComponentAtNode=function(r){if(!cs(r))throw Error(n(40));return r._reactRootContainer?(Yr(function(){fs(null,null,r,!1,function(){r._reactRootContainer=null,r[tr]=null})}),!0):!1},pt.unstable_batchedUpdates=Iu,pt.unstable_renderSubtreeIntoContainer=function(r,o,s,u){if(!cs(s))throw Error(n(200));if(r==null||r._reactInternals===void 0)throw Error(n(38));return fs(r,o,s,!1,u)},pt.version="18.2.0-next-9e3b772b8-20220608",pt}l(w2,"requireReactDom_production_min");var om;function fv(){if(om)return Qu.exports;om=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return l(e,"checkDCE"),e(),Qu.exports=w2(),Qu.exports}l(fv,"requireReactDom");var im;function _2(){if(im)return ps;im=1;var e=fv();return ps.createRoot=e.createRoot,ps.hydrateRoot=e.hydrateRoot,ps}l(_2,"requireClient");var d3=_2();/**
* @remix-run/router v1.0.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 Is(){return Is=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Is.apply(this,arguments)}l(Is,"_extends$2");var Ir;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Ir||(Ir={}));const sm="popstate";function x2(e){e===void 0&&(e={});function t(i,a){let{pathname:c,search:f,hash:p}=i.location;return Sc("",{pathname:c,search:f,hash:p},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}l(t,"createBrowserLocation");function n(i,a){return typeof a=="string"?a:Oc(a)}return l(n,"createBrowserHref"),b2(t,n,null,e)}l(x2,"createBrowserHistory");function P2(){return Math.random().toString(36).substr(2,8)}l(P2,"createKey");function lm(e){return{usr:e.state,key:e.key}}l(lm,"getHistoryState");function Sc(e,t,n,i){return n===void 0&&(n=null),Is({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Un(t):t,{state:n,key:t&&t.key||i||P2()})}l(Sc,"createLocation");function Oc(e){let{pathname:t="/",search:n="",hash:i=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}l(Oc,"createPath");function Un(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}l(Un,"parsePath");function b2(e,t,n,i){i===void 0&&(i={});let{window:a=document.defaultView,v5Compat:c=!1}=i,f=a.history,p=Ir.Pop,y=null;function g(){p=Ir.Pop,y&&y({action:p,location:x.location})}l(g,"handlePop");function w(P,C){p=Ir.Push;let O=Sc(x.location,P,C),$=lm(O),N=x.createHref(O);try{f.pushState($,"",N)}catch{a.location.assign(N)}c&&y&&y({action:p,location:O})}l(w,"push");function _(P,C){p=Ir.Replace;let O=Sc(x.location,P,C),$=lm(O),N=x.createHref(O);f.replaceState($,"",N),c&&y&&y({action:p,location:O})}l(_,"replace");let x={get action(){return p},get location(){return e(a,f)},listen(P){if(y)throw new Error("A history only accepts one active listener");return a.addEventListener(sm,g),y=P,()=>{a.removeEventListener(sm,g),y=null}},createHref(P){return t(a,P)},push:w,replace:_,go(P){return f.go(P)}};return x}l(b2,"getUrlBasedHistory");var am;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(am||(am={}));function S2(e,t,n){n===void 0&&(n="/");let i=typeof t=="string"?Un(t):t,a=pv(i.pathname||"/",n);if(a==null)return null;let c=dv(e);O2(c);let f=null;for(let p=0;f==null&&p<c.length;++p)f=j2(c[p],a);return f}l(S2,"matchRoutes");function dv(e,t,n,i){return t===void 0&&(t=[]),n===void 0&&(n=[]),i===void 0&&(i=""),e.forEach((a,c)=>{let f={relativePath:a.path||"",caseSensitive:a.caseSensitive===!0,childrenIndex:c,route:a};f.relativePath.startsWith("/")&&(Xe(f.relativePath.startsWith(i),'Absolute route path "'+f.relativePath+'" nested under path '+('"'+i+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),f.relativePath=f.relativePath.slice(i.length));let p=Dr([i,f.relativePath]),y=n.concat(f);a.children&&a.children.length>0&&(Xe(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+p+'".')),dv(a.children,t,y,p)),!(a.path==null&&!a.index)&&t.push({path:p,score:M2(p,a.index),routesMeta:y})}),t}l(dv,"flattenRoutes");function O2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:N2(t.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}l(O2,"rankRouteBranches");const E2=/^:\w+$/,k2=3,C2=2,R2=1,$2=10,z2=-2,um=l(e=>e==="*","isSplat");function M2(e,t){let n=e.split("/"),i=n.length;return n.some(um)&&(i+=z2),t&&(i+=C2),n.filter(a=>!um(a)).reduce((a,c)=>a+(E2.test(c)?k2:c===""?R2:$2),i)}l(M2,"computeScore");function N2(e,t){return e.length===t.length&&e.slice(0,-1).every((i,a)=>i===t[a])?e[e.length-1]-t[t.length-1]:0}l(N2,"compareIndexes");function j2(e,t){let{routesMeta:n}=e,i={},a="/",c=[];for(let f=0;f<n.length;++f){let p=n[f],y=f===n.length-1,g=a==="/"?t:t.slice(a.length)||"/",w=L2({path:p.relativePath,caseSensitive:p.caseSensitive,end:y},g);if(!w)return null;Object.assign(i,w.params);let _=p.route;c.push({params:i,pathname:Dr([a,w.pathname]),pathnameBase:A2(Dr([a,w.pathnameBase])),route:_}),w.pathnameBase!=="/"&&(a=Dr([a,w.pathnameBase]))}return c}l(j2,"matchRouteBranch");function L2(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,i]=I2(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let c=a[0],f=c.replace(/(.)\/+$/,"$1"),p=a.slice(1);return{params:i.reduce((g,w,_)=>{if(w==="*"){let x=p[_]||"";f=c.slice(0,c.length-x.length).replace(/(.)\/+$/,"$1")}return g[w]=T2(p[_]||"",w),g},{}),pathname:c,pathnameBase:f,pattern:e}}l(L2,"matchPath");function I2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),hv(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 i=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(f,p)=>(i.push(p),"([^\\/]+)"));return e.endsWith("*")?(i.push("*"),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),i]}l(I2,"compilePath");function T2(e,t){try{return decodeURIComponent(e)}catch(n){return hv(!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}}l(T2,"safelyDecodeURIComponent");function pv(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&i!=="/"?null:e.slice(n)||"/"}l(pv,"stripBasename");function Xe(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}l(Xe,"invariant");function hv(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}l(hv,"warning");function D2(e,t){t===void 0&&(t="/");let{pathname:n,search:i="",hash:a=""}=typeof e=="string"?Un(e):e;return{pathname:n?n.startsWith("/")?n:F2(n,t):t,search:B2(i),hash:W2(a)}}l(D2,"resolvePath");function F2(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}l(F2,"resolvePathname");function Yu(e,t,n,i){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(i)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}l(Yu,"getInvalidPathError");function mv(e,t,n,i){i===void 0&&(i=!1);let a;typeof e=="string"?a=Un(e):(a=Is({},e),Xe(!a.pathname||!a.pathname.includes("?"),Yu("?","pathname","search",a)),Xe(!a.pathname||!a.pathname.includes("#"),Yu("#","pathname","hash",a)),Xe(!a.search||!a.search.includes("#"),Yu("#","search","hash",a)));let c=e===""||a.pathname==="",f=c?"/":a.pathname,p;if(i||f==null)p=n;else{let _=t.length-1;if(f.startsWith("..")){let x=f.split("/");for(;x[0]==="..";)x.shift(),_-=1;a.pathname=x.join("/")}p=_>=0?t[_]:"/"}let y=D2(a,p),g=f&&f!=="/"&&f.endsWith("/"),w=(c||f===".")&&n.endsWith("/");return!y.pathname.endsWith("/")&&(g||w)&&(y.pathname+="/"),y}l(mv,"resolveTo");const Dr=l(e=>e.join("/").replace(/\/\/+/g,"/"),"joinPaths"),A2=l(e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),"normalizePathname"),B2=l(e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,"normalizeSearch"),W2=l(e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,"normalizeHash"),Wf=class Wf{constructor(t,n,i){this.status=t,this.statusText=n||"",this.data=i}};l(Wf,"ErrorResponse");let Ec=Wf;function H2(e){return e instanceof Ec}l(H2,"isRouteErrorResponse");var Xu={exports:{}},Lo={};/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var cm;function U2(){if(cm)return Lo;cm=1;var e=Dl(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function f(p,y,g){var w,_={},x=null,P=null;g!==void 0&&(x=""+g),y.key!==void 0&&(x=""+y.key),y.ref!==void 0&&(P=y.ref);for(w in y)i.call(y,w)&&!c.hasOwnProperty(w)&&(_[w]=y[w]);if(p&&p.defaultProps)for(w in y=p.defaultProps,y)_[w]===void 0&&(_[w]=y[w]);return{$$typeof:t,type:p,key:x,ref:P,props:_,_owner:a.current}}return l(f,"q"),Lo.Fragment=n,Lo.jsx=f,Lo.jsxs=f,Lo}l(U2,"requireReactJsxRuntime_production_min");var fm;function V2(){return fm||(fm=1,Xu.exports=U2()),Xu.exports}l(V2,"requireJsxRuntime");var lf=V2();const Tn=lf.Fragment,B=lf.jsx,ze=lf.jsxs;/**
* React Router v6.4.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 kc(){return kc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},kc.apply(this,arguments)}l(kc,"_extends$1");const q2=m.createContext(null),Q2=m.createContext(null),yv=m.createContext(null),af=m.createContext(null),Fl=m.createContext(null),Vn=m.createContext({outlet:null,matches:[]}),gv=m.createContext(null);function G2(e,t){let{relative:n}=t===void 0?{}:t;Ko()||Xe(!1);let{basename:i,navigator:a}=m.useContext(af),{hash:c,pathname:f,search:p}=_v(e,{relative:n}),y=f;return i!=="/"&&(y=f==="/"?i:Dr([i,f])),a.createHref({pathname:y,search:p,hash:c})}l(G2,"useHref");function Ko(){return m.useContext(Fl)!=null}l(Ko,"useInRouterContext");function Yo(){return Ko()||Xe(!1),m.useContext(Fl).location}l(Yo,"useLocation");function vv(e){return e.filter((t,n)=>n===0||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase)}l(vv,"getPathContributingMatches");function wv(){Ko()||Xe(!1);let{basename:e,navigator:t}=m.useContext(af),{matches:n}=m.useContext(Vn),{pathname:i}=Yo(),a=JSON.stringify(vv(n).map(p=>p.pathnameBase)),c=m.useRef(!1);return m.useEffect(()=>{c.current=!0}),m.useCallback(function(p,y){if(y===void 0&&(y={}),!c.current)return;if(typeof p=="number"){t.go(p);return}let g=mv(p,JSON.parse(a),i,y.relative==="path");e!=="/"&&(g.pathname=g.pathname==="/"?e:Dr([e,g.pathname])),(y.replace?t.replace:t.push)(g,y.state,y)},[e,t,a,i])}l(wv,"useNavigate");function p3(){let{matches:e}=m.useContext(Vn),t=e[e.length-1];return t?t.params:{}}l(p3,"useParams");function _v(e,t){let{relative:n}=t===void 0?{}:t,{matches:i}=m.useContext(Vn),{pathname:a}=Yo(),c=JSON.stringify(vv(i).map(f=>f.pathnameBase));return m.useMemo(()=>mv(e,JSON.parse(c),a,n==="path"),[e,c,a,n])}l(_v,"useResolvedPath");function K2(e,t){Ko()||Xe(!1);let n=m.useContext(yv),{matches:i}=m.useContext(Vn),a=i[i.length-1],c=a?a.params:{};a&&a.pathname;let f=a?a.pathnameBase:"/";a&&a.route;let p=Yo(),y;if(t){var g;let C=typeof t=="string"?Un(t):t;f==="/"||(g=C.pathname)!=null&&g.startsWith(f)||Xe(!1),y=C}else y=p;let w=y.pathname||"/",_=f==="/"?w:w.slice(f.length)||"/",x=S2(e,{pathname:_}),P=J2(x&&x.map(C=>Object.assign({},C,{params:Object.assign({},c,C.params),pathname:Dr([f,C.pathname]),pathnameBase:C.pathnameBase==="/"?f:Dr([f,C.pathnameBase])})),i,n||void 0);return t?B(Fl.Provider,{value:{location:kc({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:Ir.Pop},children:P}):P}l(K2,"useRoutes");function Y2(){let e=ex(),t=H2(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i},c={padding:"2px 4px",backgroundColor:i};return ze(Tn,{children:[B("h2",{children:"Unhandled Thrown Error!"}),B("h3",{style:{fontStyle:"italic"},children:t}),n?B("pre",{style:a,children:n}):null,B("p",{children:"💿 Hey developer 👋"}),ze("p",{children:["You can provide a way better UX than this when your app throws errors by providing your own ",B("code",{style:c,children:"errorElement"})," props on ",B("code",{style:c,children:"<Route>"})]})]})}l(Y2,"DefaultErrorElement");const Hf=class Hf extends m.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?B(gv.Provider,{value:this.state.error,children:this.props.component}):this.props.children}};l(Hf,"RenderErrorBoundary");let Cc=Hf;function X2(e){let{routeContext:t,match:n,children:i}=e,a=m.useContext(q2);return a&&n.route.errorElement&&(a._deepestRenderedBoundaryId=n.route.id),B(Vn.Provider,{value:t,children:i})}l(X2,"RenderedRoute");function J2(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let i=e,a=n==null?void 0:n.errors;if(a!=null){let c=i.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id]));c>=0||Xe(!1),i=i.slice(0,Math.min(i.length,c+1))}return i.reduceRight((c,f,p)=>{let y=f.route.id?a==null?void 0:a[f.route.id]:null,g=n?f.route.errorElement||B(Y2,{}):null,w=l(()=>B(X2,{match:f,routeContext:{outlet:c,matches:t.concat(i.slice(0,p+1))},children:y?g:f.route.element!==void 0?f.route.element:c}),"getChildren");return n&&(f.route.errorElement||p===0)?B(Cc,{location:n.location,component:g,error:y,children:w()}):w()},null)}l(J2,"_renderMatches");var dm;(function(e){e.UseRevalidator="useRevalidator"})(dm||(dm={}));var Rc;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(Rc||(Rc={}));function Z2(e){let t=m.useContext(yv);return t||Xe(!1),t}l(Z2,"useDataRouterState");function ex(){var e;let t=m.useContext(gv),n=Z2(Rc.UseRouteError),i=m.useContext(Vn),a=i.matches[i.matches.length-1];return t||(i||Xe(!1),a.route.id||Xe(!1),(e=n.errors)==null?void 0:e[a.route.id])}l(ex,"useRouteError");function tx(e){Xe(!1)}l(tx,"Route");function rx(e){let{basename:t="/",children:n=null,location:i,navigationType:a=Ir.Pop,navigator:c,static:f=!1}=e;Ko()&&Xe(!1);let p=t.replace(/^\/*/,"/"),y=m.useMemo(()=>({basename:p,navigator:c,static:f}),[p,c,f]);typeof i=="string"&&(i=Un(i));let{pathname:g="/",search:w="",hash:_="",state:x=null,key:P="default"}=i,C=m.useMemo(()=>{let O=pv(g,p);return O==null?null:{pathname:O,search:w,hash:_,state:x,key:P}},[p,g,w,_,x,P]);return C==null?null:B(af.Provider,{value:y,children:B(Fl.Provider,{children:n,value:{location:C,navigationType:a}})})}l(rx,"Router");function h3(e){let{children:t,location:n}=e,i=m.useContext(Q2),a=i&&!t?i.router.routes:$c(t);return K2(a,n)}l(h3,"Routes");var pm;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(pm||(pm={}));new Promise(()=>{});function $c(e,t){t===void 0&&(t=[]);let n=[];return m.Children.forEach(e,(i,a)=>{if(!m.isValidElement(i))return;if(i.type===m.Fragment){n.push.apply(n,$c(i.props.children,t));return}i.type!==tx&&Xe(!1),!i.props.index||!i.props.children||Xe(!1);let c=[...t,a],f={id:i.props.id||c.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,errorElement:i.props.errorElement,hasErrorBoundary:i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle};i.props.children&&(f.children=$c(i.props.children,c)),n.push(f)}),n}l($c,"createRoutesFromChildren");/**
* React Router DOM v6.4.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 nx(e,t){if(e==null)return{};var n={},i=Object.keys(e),a,c;for(c=0;c<i.length;c++)a=i[c],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}l(nx,"_objectWithoutPropertiesLoose");function ox(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}l(ox,"isModifiedEvent");function ix(e,t){return e.button===0&&(!t||t==="_self")&&!ox(e)}l(ix,"shouldProcessLinkClick");function zc(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let i=e[n];return t.concat(Array.isArray(i)?i.map(a=>[n,a]):[[n,i]])},[]))}l(zc,"createSearchParams");function sx(e,t){let n=zc(e);for(let i of t.keys())n.has(i)||t.getAll(i).forEach(a=>{n.append(i,a)});return n}l(sx,"getSearchParamsForLocation");const lx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function m3(e){let{basename:t,children:n,window:i}=e,a=m.useRef();a.current==null&&(a.current=x2({window:i,v5Compat:!0}));let c=a.current,[f,p]=m.useState({action:c.action,location:c.location});return m.useLayoutEffect(()=>c.listen(p),[c]),B(rx,{basename:t,children:n,location:f.location,navigationType:f.action,navigator:c})}l(m3,"BrowserRouter");const y3=m.forwardRef(l(function(t,n){let{onClick:i,relative:a,reloadDocument:c,replace:f,state:p,target:y,to:g,preventScrollReset:w}=t,_=nx(t,lx),x=G2(g,{relative:a}),P=ax(g,{replace:f,state:p,target:y,preventScrollReset:w,relative:a});function C(O){i&&i(O),O.defaultPrevented||P(O)}return l(C,"handleClick"),B("a",{..._,href:x,onClick:c?i:C,ref:n,target:y})},"LinkWithRef"));var hm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(hm||(hm={}));var mm;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(mm||(mm={}));function ax(e,t){let{target:n,replace:i,state:a,preventScrollReset:c,relative:f}=t===void 0?{}:t,p=wv(),y=Yo(),g=_v(e,{relative:f});return m.useCallback(w=>{if(ix(w,n)){w.preventDefault();let _=i!==void 0?i:Oc(y)===Oc(g);p(e,{replace:_,state:a,preventScrollReset:c,relative:f})}},[y,p,g,i,a,n,e,c,f])}l(ax,"useLinkClickHandler");function g3(e){let t=m.useRef(zc(e)),n=Yo(),i=m.useMemo(()=>sx(n.search,t.current),[n.search]),a=wv(),c=m.useCallback((f,p)=>{const y=zc(typeof f=="function"?f(i):f);a("?"+y,p)},[a,i]);return[i,c]}l(g3,"useSearchParams");function v3(e){return e}l(v3,"createPolymorphicComponent");function Ts(e){return Array.isArray(e)?e:[e]}l(Ts,"packSx");function xv(e){return Array.isArray(e)||e===null?!1:typeof e=="object"?e.type!==sf.Fragment:!1}l(xv,"isElement$2");function Pv(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Pv(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}l(Pv,"toVal");function ux(){for(var e=0,t,n,i="";e<arguments.length;)(t=arguments[e++])&&(n=Pv(t))&&(i&&(i+=" "),i+=n);return i}l(ux,"clsx");const bv={dark:["#C1C2C5","#A6A7AB","#909296","#5c5f66","#373A40","#2C2E33","#25262b","#1A1B1E","#141517","#101113"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]};function cx(e){return()=>({fontFamily:e.fontFamily||"sans-serif"})}l(cx,"fontStyles");var fx=Object.defineProperty,ym=Object.getOwnPropertySymbols,dx=Object.prototype.hasOwnProperty,px=Object.prototype.propertyIsEnumerable,gm=l((e,t,n)=>t in e?fx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$_"),vm=l((e,t)=>{for(var n in t||(t={}))dx.call(t,n)&&gm(e,n,t[n]);if(ym)for(var n of ym(t))px.call(t,n)&&gm(e,n,t[n]);return e},"__spreadValues$_");function hx(e){return t=>({WebkitTapHighlightColor:"transparent",[t||"&:focus"]:vm({},e.focusRing==="always"||e.focusRing==="auto"?e.focusRingStyles.styles(e):e.focusRingStyles.resetStyles(e)),[t?t.replace(":focus",":focus:not(:focus-visible)"):"&:focus:not(:focus-visible)"]:vm({},e.focusRing==="auto"||e.focusRing==="never"?e.focusRingStyles.resetStyles(e):null)})}l(hx,"focusStyles");function Xo(e){return t=>typeof e.primaryShade=="number"?e.primaryShade:e.primaryShade[t||e.colorScheme]}l(Xo,"primaryShade");function uf(e){const t=Xo(e);return(n,i,a=!0,c=!0)=>{if(typeof n=="string"&&n.includes(".")){const[p,y]=n.split("."),g=parseInt(y,10);if(p in e.colors&&g>=0&&g<10)return e.colors[p][typeof i=="number"&&!c?i:g]}const f=typeof i=="number"?i:t();return n in e.colors?e.colors[n][f]:a?e.colors[e.primaryColor][f]:n}}l(uf,"themeColor");function Sv(e){let t="";for(let n=1;n<e.length-1;n+=1)t+=`${e[n]} ${n/(e.length-1)*100}%, `;return`${e[0]} 0%, ${t}${e[e.length-1]} 100%`}l(Sv,"getGradientColorStops");function mx(e,...t){return`linear-gradient(${e}deg, ${Sv(t)})`}l(mx,"linearGradient");function yx(...e){return`radial-gradient(circle, ${Sv(e)})`}l(yx,"radialGradient");function Ov(e){const t=uf(e),n=Xo(e);return i=>{const a={from:(i==null?void 0:i.from)||e.defaultGradient.from,to:(i==null?void 0:i.to)||e.defaultGradient.to,deg:(i==null?void 0:i.deg)||e.defaultGradient.deg};return`linear-gradient(${a.deg}deg, ${t(a.from,n(),!1)} 0%, ${t(a.to,n(),!1)} 100%)`}}l(Ov,"gradient");function cf(e){if(typeof e.size=="number")return e.size;const t=e.sizes[e.size];return t!==void 0?t:e.size||e.sizes.md}l(cf,"size$2");function gx(e){return t=>`@media (min-width: ${cf({size:t,sizes:e.breakpoints})}px)`}l(gx,"largerThan");function vx(e){return t=>`@media (max-width: ${cf({size:t,sizes:e.breakpoints})-1}px)`}l(vx,"smallerThan");function wx(e){return/^#?([0-9A-F]{3}){1,2}$/i.test(e)}l(wx,"isHexColor");function _x(e){let t=e.replace("#","");if(t.length===3){const f=t.split("");t=[f[0],f[0],f[1],f[1],f[2],f[2]].join("")}const n=parseInt(t,16),i=n>>16&255,a=n>>8&255,c=n&255;return{r:i,g:a,b:c,a:1}}l(_x,"hexToRgba");function xx(e){const[t,n,i,a]=e.replace(/[^0-9,.]/g,"").split(",").map(Number);return{r:t,g:n,b:i,a:a||1}}l(xx,"rgbStringToRgba");function ff(e){return wx(e)?_x(e):e.startsWith("rgb")?xx(e):{r:0,g:0,b:0,a:1}}l(ff,"toRgba");function jn(e,t){if(typeof e!="string"||t>1||t<0)return"rgba(0, 0, 0, 1)";const{r:n,g:i,b:a}=ff(e);return`rgba(${n}, ${i}, ${a}, ${t})`}l(jn,"rgba");function Px(e=0){return{position:"absolute",top:e,right:e,left:e,bottom:e}}l(Px,"cover");function bx(e,t){const{r:n,g:i,b:a,a:c}=ff(e),f=1-t,p=l(y=>Math.round(y*f),"dark");return`rgba(${p(n)}, ${p(i)}, ${p(a)}, ${c})`}l(bx,"darken");function Sx(e,t){const{r:n,g:i,b:a,a:c}=ff(e),f=l(p=>Math.round(p+(255-p)*t),"light");return`rgba(${f(n)}, ${f(i)}, ${f(a)}, ${c})`}l(Sx,"lighten");function Ox(e){return t=>{if(typeof t=="number")return t;const n=typeof e.defaultRadius=="number"?e.defaultRadius:e.radius[e.defaultRadius]||e.defaultRadius;return e.radius[t]||t||n}}l(Ox,"radius");function Ex(e,t){if(typeof e=="string"&&e.includes(".")){const[n,i]=e.split("."),a=parseInt(i,10);if(n in t.colors&&a>=0&&a<10)return{isSplittedColor:!0,key:n,shade:a}}return{isSplittedColor:!1}}l(Ex,"getColorIndexInfo");function kx(e){const t=uf(e),n=Xo(e),i=Ov(e);return({variant:a,color:c,gradient:f,primaryFallback:p})=>{const y=Ex(c,e);switch(a){case"light":return{border:"transparent",background:jn(t(c,e.colorScheme==="dark"?8:0,p,!1),e.colorScheme==="dark"?.2:1),color:c==="dark"?e.colorScheme==="dark"?e.colors.dark[0]:e.colors.dark[9]:t(c,e.colorScheme==="dark"?2:n("light")),hover:jn(t(c,e.colorScheme==="dark"?7:1,p,!1),e.colorScheme==="dark"?.25:.65)};case"subtle":return{border:"transparent",background:"transparent",color:c==="dark"?e.colorScheme==="dark"?e.colors.dark[0]:e.colors.dark[9]:t(c,e.colorScheme==="dark"?2:n("light")),hover:jn(t(c,e.colorScheme==="dark"?8:0,p,!1),e.colorScheme==="dark"?.2:1)};case"outline":return{border:t(c,e.colorScheme==="dark"?5:n("light")),background:"transparent",color:t(c,e.colorScheme==="dark"?5:n("light")),hover:e.colorScheme==="dark"?jn(t(c,5,p,!1),.05):jn(t(c,0,p,!1),.35)};case"default":return{border:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4],background:e.colorScheme==="dark"?e.colors.dark[6]:e.white,color:e.colorScheme==="dark"?e.white:e.black,hover:e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[0]};case"white":return{border:"transparent",background:e.white,color:t(c,n()),hover:null};case"transparent":return{border:"transparent",color:c==="dark"?e.colorScheme==="dark"?e.colors.dark[0]:e.colors.dark[9]:t(c,e.colorScheme==="dark"?2:n("light")),background:"transparent",hover:null};case"gradient":return{background:i(f),color:e.white,border:"transparent",hover:null};default:{const g=n(),w=y.isSplittedColor?y.shade:g,_=y.isSplittedColor?y.key:c;return{border:"transparent",background:t(_,w,p),color:e.white,hover:t(_,w===9?8:w+1)}}}}}l(kx,"variant");function Cx(e){return t=>{const n=Xo(e)(t);return e.colors[e.primaryColor][n]}}l(Cx,"primaryColor");function Rx(e){return{"@media (hover: hover)":{"&:hover":e},"@media (hover: none)":{"&:active":e}}}l(Rx,"hover");function $x(e){return()=>({userSelect:"none",color:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[5]})}l($x,"placeholderStyles");const Qe={fontStyles:cx,themeColor:uf,focusStyles:hx,linearGradient:mx,radialGradient:yx,smallerThan:vx,largerThan:gx,rgba:jn,size:cf,cover:Px,darken:bx,lighten:Sx,radius:Ox,variant:kx,primaryShade:Xo,hover:Rx,gradient:Ov,primaryColor:Cx,placeholderStyles:$x};var zx=Object.defineProperty,Mx=Object.defineProperties,Nx=Object.getOwnPropertyDescriptors,wm=Object.getOwnPropertySymbols,jx=Object.prototype.hasOwnProperty,Lx=Object.prototype.propertyIsEnumerable,_m=l((e,t,n)=>t in e?zx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$Z"),Ix=l((e,t)=>{for(var n in t||(t={}))jx.call(t,n)&&_m(e,n,t[n]);if(wm)for(var n of wm(t))Lx.call(t,n)&&_m(e,n,t[n]);return e},"__spreadValues$Z"),Tx=l((e,t)=>Mx(e,Nx(t)),"__spreadProps$s");function Ev(e){return Tx(Ix({},e),{fn:{fontStyles:Qe.fontStyles(e),themeColor:Qe.themeColor(e),focusStyles:Qe.focusStyles(e),largerThan:Qe.largerThan(e),smallerThan:Qe.smallerThan(e),radialGradient:Qe.radialGradient,linearGradient:Qe.linearGradient,gradient:Qe.gradient(e),rgba:Qe.rgba,size:Qe.size,cover:Qe.cover,lighten:Qe.lighten,darken:Qe.darken,primaryShade:Qe.primaryShade(e),radius:Qe.radius(e),variant:Qe.variant(e),hover:Qe.hover,primaryColor:Qe.primaryColor(e),placeholderStyles:Qe.placeholderStyles(e)}})}l(Ev,"attachFunctions");const w3=Object.keys(bv),_3=["xs","sm","md","lg","xl"],Dx={dir:"ltr",primaryShade:{light:6,dark:8},focusRing:"auto",loader:"oval",dateFormat:"MMMM D, YYYY",colorScheme:"light",white:"#fff",black:"#000",defaultRadius:"sm",transitionTimingFunction:"ease",colors:bv,lineHeight:1.55,fontFamily:"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",fontFamilyMonospace:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",primaryColor:"blue",respectReducedMotion:!0,cursorType:"default",defaultGradient:{from:"indigo",to:"cyan",deg:45},shadows:{xs:"0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1)",sm:"0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 10px 15px -5px, rgba(0, 0, 0, 0.04) 0px 7px 7px -5px",md:"0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px",lg:"0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 28px 23px -7px, rgba(0, 0, 0, 0.04) 0px 12px 12px -7px",xl:"0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 36px 28px -7px, rgba(0, 0, 0, 0.04) 0px 17px 17px -7px"},fontSizes:{xs:12,sm:14,md:16,lg:18,xl:20},radius:{xs:2,sm:4,md:8,lg:16,xl:32},spacing:{xs:10,sm:12,md:16,lg:20,xl:24},breakpoints:{xs:576,sm:768,md:992,lg:1200,xl:1400},headings:{fontFamily:"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",fontWeight:700,sizes:{h1:{fontSize:34,lineHeight:1.3,fontWeight:void 0},h2:{fontSize:26,lineHeight:1.35,fontWeight:void 0},h3:{fontSize:22,lineHeight:1.4,fontWeight:void 0},h4:{fontSize:18,lineHeight:1.45,fontWeight:void 0},h5:{fontSize:16,lineHeight:1.5,fontWeight:void 0},h6:{fontSize:14,lineHeight:1.5,fontWeight:void 0}}},other:{},components:{},activeStyles:{transform:"translateY(1px)"},datesLocale:"en",globalStyles:void 0,focusRingStyles:{styles:l(e=>({outlineOffset:2,outline:`2px solid ${e.colors[e.primaryColor][e.colorScheme==="dark"?7:5]}`}),"styles"),resetStyles:l(()=>({outline:"none"}),"resetStyles"),inputStyles:l(e=>({outline:"none",borderColor:e.colors[e.primaryColor][typeof e.primaryShade=="object"?e.primaryShade[e.colorScheme]:e.primaryShade]}),"inputStyles")}},df=Ev(Dx);function Fx(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}l(Fx,"sheetForTag");function Ax(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}l(Ax,"createStyleElement");var Bx=function(){function e(n){var i=this;this._insertTag=function(a){var c;i.tags.length===0?i.insertionPoint?c=i.insertionPoint.nextSibling:i.prepend?c=i.container.firstChild:c=i.before:c=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(a,c),i.tags.push(a)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}l(e,"StyleSheet2");var t=e.prototype;return t.hydrate=l(function(i){i.forEach(this._insertTag)},"hydrate"),t.insert=l(function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ax(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var c=Fx(a);try{c.insertRule(i,c.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(i));this.ctr++},"insert"),t.flush=l(function(){this.tags.forEach(function(i){return i.parentNode&&i.parentNode.removeChild(i)}),this.tags=[],this.ctr=0},"flush"),e}(),ot="-ms-",Ds="-moz-",Se="-webkit-",kv="comm",pf="rule",hf="decl",Wx="@import",Cv="@keyframes",Hx=Math.abs,Al=String.fromCharCode,Ux=Object.assign;function Vx(e,t){return(((t<<2^ht(e,0))<<2^ht(e,1))<<2^ht(e,2))<<2^ht(e,3)}l(Vx,"hash");function Rv(e){return e.trim()}l(Rv,"trim");function qx(e,t){return(e=t.exec(e))?e[0]:e}l(qx,"match");function Ee(e,t,n){return e.replace(t,n)}l(Ee,"replace");function Mc(e,t){return e.indexOf(t)}l(Mc,"indexof");function ht(e,t){return e.charCodeAt(t)|0}l(ht,"charat");function Vo(e,t,n){return e.slice(t,n)}l(Vo,"substr");function Gt(e){return e.length}l(Gt,"strlen");function mf(e){return e.length}l(mf,"sizeof");function hs(e,t){return t.push(e),e}l(hs,"append");function Qx(e,t){return e.map(t).join("")}l(Qx,"combine");var Bl=1,Dn=1,$v=0,mt=0,He=0,qn="";function Wl(e,t,n,i,a,c,f){return{value:e,root:t,parent:n,type:i,props:a,children:c,line:Bl,column:Dn,length:f,return:""}}l(Wl,"node");function Io(e,t){return Ux(Wl("",null,null,"",null,null,0),e,{length:-e.length},t)}l(Io,"copy");function Gx(){return He}l(Gx,"char");function Kx(){return He=mt>0?ht(qn,--mt):0,Dn--,He===10&&(Dn=1,Bl--),He}l(Kx,"prev");function _t(){return He=mt<$v?ht(qn,mt++):0,Dn++,He===10&&(Dn=1,Bl++),He}l(_t,"next");function Xt(){return ht(qn,mt)}l(Xt,"peek");function ks(){return mt}l(ks,"caret");function Jo(e,t){return Vo(qn,e,t)}l(Jo,"slice");function qo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}l(qo,"token");function zv(e){return Bl=Dn=1,$v=Gt(qn=e),mt=0,[]}l(zv,"alloc");function Mv(e){return qn="",e}l(Mv,"dealloc");function Cs(e){return Rv(Jo(mt-1,Nc(e===91?e+2:e===40?e+1:e)))}l(Cs,"delimit");function Yx(e){for(;(He=Xt())&&He<33;)_t();return qo(e)>2||qo(He)>3?"":" "}l(Yx,"whitespace");function Xx(e,t){for(;--t&&_t()&&!(He<48||He>102||He>57&&He<65||He>70&&He<97););return Jo(e,ks()+(t<6&&Xt()==32&&_t()==32))}l(Xx,"escaping");function Nc(e){for(;_t();)switch(He){case e:return mt;case 34:case 39:e!==34&&e!==39&&Nc(He);break;case 40:e===41&&Nc(e);break;case 92:_t();break}return mt}l(Nc,"delimiter");function Jx(e,t){for(;_t()&&e+He!==57;)if(e+He===84&&Xt()===47)break;return"/*"+Jo(t,mt-1)+"*"+Al(e===47?e:_t())}l(Jx,"commenter");function Zx(e){for(;!qo(Xt());)_t();return Jo(e,mt)}l(Zx,"identifier");function eP(e){return Mv(Rs("",null,null,null,[""],e=zv(e),0,[0],e))}l(eP,"compile");function Rs(e,t,n,i,a,c,f,p,y){for(var g=0,w=0,_=f,x=0,P=0,C=0,O=1,$=1,N=1,b=0,E="",z=a,S=c,j=i,A=E;$;)switch(C=b,b=_t()){case 40:if(C!=108&&A.charCodeAt(_-1)==58){Mc(A+=Ee(Cs(b),"&","&\f"),"&\f")!=-1&&(N=-1);break}case 34:case 39:case 91:A+=Cs(b);break;case 9:case 10:case 13:case 32:A+=Yx(C);break;case 92:A+=Xx(ks()-1,7);continue;case 47:switch(Xt()){case 42:case 47:hs(tP(Jx(_t(),ks()),t,n),y);break;default:A+="/"}break;case 123*O:p[g++]=Gt(A)*N;case 125*O:case 59:case 0:switch(b){case 0:case 125:$=0;case 59+w:P>0&&Gt(A)-_&&hs(P>32?Pm(A+";",i,n,_-1):Pm(Ee(A," ","")+";",i,n,_-2),y);break;case 59:A+=";";default:if(hs(j=xm(A,t,n,g,w,a,p,E,z=[],S=[],_),c),b===123)if(w===0)Rs(A,t,j,j,z,c,_,p,S);else switch(x){case 100:case 109:case 115:Rs(e,j,j,i&&hs(xm(e,j,j,0,0,a,p,E,a,z=[],_),S),a,S,_,p,i?z:S);break;default:Rs(A,j,j,j,[""],S,0,p,S)}}g=w=P=0,O=N=1,E=A="",_=f;break;case 58:_=1+Gt(A),P=C;default:if(O<1){if(b==123)--O;else if(b==125&&O++==0&&Kx()==125)continue}switch(A+=Al(b),b*O){case 38:N=w>0?1:(A+="\f",-1);break;case 44:p[g++]=(Gt(A)-1)*N,N=1;break;case 64:Xt()===45&&(A+=Cs(_t())),x=Xt(),w=_=Gt(E=A+=Zx(ks())),b++;break;case 45:C===45&&Gt(A)==2&&(O=0)}}return c}l(Rs,"parse");function xm(e,t,n,i,a,c,f,p,y,g,w){for(var _=a-1,x=a===0?c:[""],P=mf(x),C=0,O=0,$=0;C<i;++C)for(var N=0,b=Vo(e,_+1,_=Hx(O=f[C])),E=e;N<P;++N)(E=Rv(O>0?x[N]+" "+b:Ee(b,/&\f/g,x[N])))&&(y[$++]=E);return Wl(e,t,n,a===0?pf:p,y,g,w)}l(xm,"ruleset");function tP(e,t,n){return Wl(e,t,n,kv,Al(Gx()),Vo(e,2,-2),0)}l(tP,"comment");function Pm(e,t,n,i){return Wl(e,t,n,hf,Vo(e,0,i),Vo(e,i+1,-1),i)}l(Pm,"declaration");function Nv(e,t){switch(Vx(e,t)){case 5103:return Se+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Se+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Se+e+Ds+e+ot+e+e;case 6828:case 4268:return Se+e+ot+e+e;case 6165:return Se+e+ot+"flex-"+e+e;case 5187:return Se+e+Ee(e,/(\w+).+(:[^]+)/,Se+"box-$1$2"+ot+"flex-$1$2")+e;case 5443:return Se+e+ot+"flex-item-"+Ee(e,/flex-|-self/,"")+e;case 4675:return Se+e+ot+"flex-line-pack"+Ee(e,/align-content|flex-|-self/,"")+e;case 5548:return Se+e+ot+Ee(e,"shrink","negative")+e;case 5292:return Se+e+ot+Ee(e,"basis","preferred-size")+e;case 6060:return Se+"box-"+Ee(e,"-grow","")+Se+e+ot+Ee(e,"grow","positive")+e;case 4554:return Se+Ee(e,/([^-])(transform)/g,"$1"+Se+"$2")+e;case 6187:return Ee(Ee(Ee(e,/(zoom-|grab)/,Se+"$1"),/(image-set)/,Se+"$1"),e,"")+e;case 5495:case 3959:return Ee(e,/(image-set\([^]*)/,Se+"$1$`$1");case 4968:return Ee(Ee(e,/(.+:)(flex-)?(.*)/,Se+"box-pack:$3"+ot+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Se+e+e;case 4095:case 3583:case 4068:case 2532:return Ee(e,/(.+)-inline(.+)/,Se+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Gt(e)-1-t>6)switch(ht(e,t+1)){case 109:if(ht(e,t+4)!==45)break;case 102:return Ee(e,/(.+:)(.+)-([^]+)/,"$1"+Se+"$2-$3$1"+Ds+(ht(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Mc(e,"stretch")?Nv(Ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ht(e,t+1)!==115)break;case 6444:switch(ht(e,Gt(e)-3-(~Mc(e,"!important")&&10))){case 107:return Ee(e,":",":"+Se)+e;case 101:return Ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Se+(ht(e,14)===45?"inline-":"")+"box$3$1"+Se+"$2$3$1"+ot+"$2box$3")+e}break;case 5936:switch(ht(e,t+11)){case 114:return Se+e+ot+Ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Se+e+ot+Ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Se+e+ot+Ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Se+e+ot+e+e}return e}l(Nv,"prefix");function Ln(e,t){for(var n="",i=mf(e),a=0;a<i;a++)n+=t(e[a],a,e,t)||"";return n}l(Ln,"serialize");function rP(e,t,n,i){switch(e.type){case Wx:case hf:return e.return=e.return||e.value;case kv:return"";case Cv:return e.return=e.value+"{"+Ln(e.children,i)+"}";case pf:e.value=e.props.join(",")}return Gt(n=Ln(e.children,i))?e.return=e.value+"{"+n+"}":""}l(rP,"stringify");function nP(e){var t=mf(e);return function(n,i,a,c){for(var f="",p=0;p<t;p++)f+=e[p](n,i,a,c)||"";return f}}l(nP,"middleware");function oP(e){return function(t){t.root||(t=t.return)&&e(t)}}l(oP,"rulesheet");function iP(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case hf:e.return=Nv(e.value,e.length);break;case Cv:return Ln([Io(e,{value:Ee(e.value,"@","@"+Se)})],i);case pf:if(e.length)return Qx(e.props,function(a){switch(qx(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ln([Io(e,{props:[Ee(a,/:(read-\w+)/,":"+Ds+"$1")]})],i);case"::placeholder":return Ln([Io(e,{props:[Ee(a,/:(plac\w+)/,":"+Se+"input-$1")]}),Io(e,{props:[Ee(a,/:(plac\w+)/,":"+Ds+"$1")]}),Io(e,{props:[Ee(a,/:(plac\w+)/,ot+"input-$1")]})],i)}return""})}}l(iP,"prefixer");var bm=l(function(t){var n=new WeakMap;return function(i){if(n.has(i))return n.get(i);var a=t(i);return n.set(i,a),a}},"weakMemoize");function sP(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}l(sP,"memoize");var lP=l(function(t,n,i){for(var a=0,c=0;a=c,c=Xt(),a===38&&c===12&&(n[i]=1),!qo(c);)_t();return Jo(t,mt)},"identifierWithPointTracking2"),aP=l(function(t,n){var i=-1,a=44;do switch(qo(a)){case 0:a===38&&Xt()===12&&(n[i]=1),t[i]+=lP(mt-1,n,i);break;case 2:t[i]+=Cs(a);break;case 4:if(a===44){t[++i]=Xt()===58?"&\f":"",n[i]=t[i].length;break}default:t[i]+=Al(a)}while(a=_t());return t},"toRules2"),uP=l(function(t,n){return Mv(aP(zv(t),n))},"getRules2"),Sm=new WeakMap,cP=l(function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,i=t.parent,a=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Sm.get(i))&&!a){Sm.set(t,!0);for(var c=[],f=uP(n,c),p=i.props,y=0,g=0;y<f.length;y++)for(var w=0;w<p.length;w++,g++)t.props[g]=c[y]?f[y].replace(/&\f/g,p[w]):p[w]+" "+f[y]}}},"compat2"),fP=l(function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},"removeLabel2"),dP=[iP],jv=l(function(t){var n=t.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(O){var $=O.getAttribute("data-emotion");$.indexOf(" ")!==-1&&(document.head.appendChild(O),O.setAttribute("data-s",""))})}var a=t.stylisPlugins||dP,c={},f,p=[];f=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(O){for(var $=O.getAttribute("data-emotion").split(" "),N=1;N<$.length;N++)c[$[N]]=!0;p.push(O)});var y,g=[cP,fP];{var w,_=[rP,oP(function(O){w.insert(O)})],x=nP(g.concat(a,_)),P=l(function($){return Ln(eP($),x)},"stylis2");y=l(function($,N,b,E){w=b,P($?$+"{"+N.styles+"}":N.styles),E&&(C.inserted[N.name]=!0)},"insert")}var C={key:n,sheet:new Bx({key:n,container:f,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:c,registered:{},insert:y};return C.sheet.hydrate(p),C},"createCache2");function jc(){return jc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},jc.apply(this,arguments)}l(jc,"_extends");var Ju={exports:{}},Oe={};/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Om;function pP(){if(Om)return Oe;Om=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,f=e?Symbol.for("react.provider"):60109,p=e?Symbol.for("react.context"):60110,y=e?Symbol.for("react.async_mode"):60111,g=e?Symbol.for("react.concurrent_mode"):60111,w=e?Symbol.for("react.forward_ref"):60112,_=e?Symbol.for("react.suspense"):60113,x=e?Symbol.for("react.suspense_list"):60120,P=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,O=e?Symbol.for("react.block"):60121,$=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function E(S){if(typeof S=="object"&&S!==null){var j=S.$$typeof;switch(j){case t:switch(S=S.type,S){case y:case g:case i:case c:case a:case _:return S;default:switch(S=S&&S.$$typeof,S){case p:case w:case C:case P:case f:return S;default:return j}}case n:return j}}}l(E,"z");function z(S){return E(S)===g}return l(z,"A"),Oe.AsyncMode=y,Oe.ConcurrentMode=g,Oe.ContextConsumer=p,Oe.ContextProvider=f,Oe.Element=t,Oe.ForwardRef=w,Oe.Fragment=i,Oe.Lazy=C,Oe.Memo=P,Oe.Portal=n,Oe.Profiler=c,Oe.StrictMode=a,Oe.Suspense=_,Oe.isAsyncMode=function(S){return z(S)||E(S)===y},Oe.isConcurrentMode=z,Oe.isContextConsumer=function(S){return E(S)===p},Oe.isContextProvider=function(S){return E(S)===f},Oe.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===t},Oe.isForwardRef=function(S){return E(S)===w},Oe.isFragment=function(S){return E(S)===i},Oe.isLazy=function(S){return E(S)===C},Oe.isMemo=function(S){return E(S)===P},Oe.isPortal=function(S){return E(S)===n},Oe.isProfiler=function(S){return E(S)===c},Oe.isStrictMode=function(S){return E(S)===a},Oe.isSuspense=function(S){return E(S)===_},Oe.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===i||S===g||S===c||S===a||S===_||S===x||typeof S=="object"&&S!==null&&(S.$$typeof===C||S.$$typeof===P||S.$$typeof===f||S.$$typeof===p||S.$$typeof===w||S.$$typeof===$||S.$$typeof===N||S.$$typeof===b||S.$$typeof===O)},Oe.typeOf=E,Oe}l(pP,"requireReactIs_production_min");var Em;function hP(){return Em||(Em=1,Ju.exports=pP()),Ju.exports}l(hP,"requireReactIs");var Zu,km;function mP(){if(km)return Zu;km=1;var e=hP(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[e.ForwardRef]=i,c[e.Memo]=a;function f(C){return e.isMemo(C)?a:c[C.$$typeof]||t}l(f,"getStatics");var p=Object.defineProperty,y=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,w=Object.getOwnPropertyDescriptor,_=Object.getPrototypeOf,x=Object.prototype;function P(C,O,$){if(typeof O!="string"){if(x){var N=_(O);N&&N!==x&&P(C,N,$)}var b=y(O);g&&(b=b.concat(g(O)));for(var E=f(C),z=f(O),S=0;S<b.length;++S){var j=b[S];if(!n[j]&&!($&&$[j])&&!(z&&z[j])&&!(E&&E[j])){var A=w(O,j);try{p(C,j,A)}catch{}}}}return C}return l(P,"hoistNonReactStatics"),Zu=P,Zu}l(mP,"requireHoistNonReactStatics_cjs");mP();var yP=!0;function gP(e,t,n){var i="";return n.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):i+=a+" "}),i}l(gP,"getRegisteredStyles");var vP=l(function(t,n,i){var a=t.key+"-"+n.name;(i===!1||yP===!1)&&t.registered[a]===void 0&&(t.registered[a]=n.styles)},"registerStyles"),Lv=l(function(t,n,i){vP(t,n,i);var a=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var c=n;do t.insert(n===c?"."+a:"",c,t.sheet,!0),c=c.next;while(c!==void 0)}},"insertStyles");function wP(e){for(var t=0,n,i=0,a=e.length;a>=4;++i,a-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}l(wP,"murmur2");var _P={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},xP=/[A-Z]|^ms/g,PP=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Iv=l(function(t){return t.charCodeAt(1)===45},"isCustomProperty2"),Cm=l(function(t){return t!=null&&typeof t!="boolean"},"isProcessableValue2"),ec=sP(function(e){return Iv(e)?e:e.replace(xP,"-$&").toLowerCase()}),Rm=l(function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(PP,function(i,a,c){return Kt={name:a,styles:c,next:Kt},a})}return _P[t]!==1&&!Iv(t)&&typeof n=="number"&&n!==0?n+"px":n},"processStyleValue2");function Qo(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Kt={name:n.name,styles:n.styles,next:Kt},n.name;if(n.styles!==void 0){var i=n.next;if(i!==void 0)for(;i!==void 0;)Kt={name:i.name,styles:i.styles,next:Kt},i=i.next;var a=n.styles+";";return a}return bP(e,t,n)}case"function":{if(e!==void 0){var c=Kt,f=n(e);return Kt=c,Qo(e,t,f)}break}}if(t==null)return n;var p=t[n];return p!==void 0?p:n}l(Qo,"handleInterpolation");function bP(e,t,n){var i="";if(Array.isArray(n))for(var a=0;a<n.length;a++)i+=Qo(e,t,n[a])+";";else for(var c in n){var f=n[c];if(typeof f!="object")t!=null&&t[f]!==void 0?i+=c+"{"+t[f]+"}":Cm(f)&&(i+=ec(c)+":"+Rm(c,f)+";");else if(Array.isArray(f)&&typeof f[0]=="string"&&(t==null||t[f[0]]===void 0))for(var p=0;p<f.length;p++)Cm(f[p])&&(i+=ec(c)+":"+Rm(c,f[p])+";");else{var y=Qo(e,t,f);switch(c){case"animation":case"animationName":{i+=ec(c)+":"+y+";";break}default:i+=c+"{"+y+"}"}}}return i}l(bP,"createStringFromObject");var $m=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Kt,yf=l(function(t,n,i){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var a=!0,c="";Kt=void 0;var f=t[0];f==null||f.raw===void 0?(a=!1,c+=Qo(i,n,f)):c+=f[0];for(var p=1;p<t.length;p++)c+=Qo(i,n,t[p]),a&&(c+=f[p]);$m.lastIndex=0;for(var y="",g;(g=$m.exec(c))!==null;)y+="-"+g[1];var w=wP(c)+y;return{name:w,styles:c,next:Kt}},"serializeStyles2"),SP=Ls.useInsertionEffect?Ls.useInsertionEffect:!1,zm=SP||m.useLayoutEffect,Tv=m.createContext(typeof HTMLElement<"u"?jv({key:"css"}):null);Tv.Provider;var OP=l(function(t){return m.forwardRef(function(n,i){var a=m.useContext(Tv);return t(n,a,i)})},"withEmotionCache2"),Lc=m.createContext({}),EP=l(function(t,n){if(typeof n=="function"){var i=n(t);return i}return jc({},t,n)},"getTheme2"),kP=bm(function(e){return bm(function(t){return EP(e,t)})}),CP=l(function(t){var n=m.useContext(Lc);return t.theme!==n&&(n=kP(n)(t.theme)),m.createElement(Lc.Provider,{value:n},t.children)},"ThemeProvider2"),Hl=OP(function(e,t){var n=e.styles,i=yf([n],void 0,m.useContext(Lc)),a=m.useRef();return zm(function(){var c=t.key+"-global",f=new t.sheet.constructor({key:c,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),p=!1,y=document.querySelector('style[data-emotion="'+c+" "+i.name+'"]');return t.sheet.tags.length&&(f.before=t.sheet.tags[0]),y!==null&&(p=!0,y.setAttribute("data-emotion",c),f.hydrate([y])),a.current=[f,p],function(){f.flush()}},[t]),zm(function(){var c=a.current,f=c[0],p=c[1];if(p){c[1]=!1;return}if(i.next!==void 0&&Lv(t,i.next,!0),f.tags.length){var y=f.tags[f.tags.length-1].nextElementSibling;f.before=y,f.flush()}t.insert("",i,f,!1)},[t,i.name]),null});function RP(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return yf(t)}l(RP,"css");var $P=l(function(){var t=RP.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:l(function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"},"toString")}},"keyframes2"),zP=Object.defineProperty,MP=Object.defineProperties,NP=Object.getOwnPropertyDescriptors,Mm=Object.getOwnPropertySymbols,jP=Object.prototype.hasOwnProperty,LP=Object.prototype.propertyIsEnumerable,Nm=l((e,t,n)=>t in e?zP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$Y"),IP=l((e,t)=>{for(var n in t||(t={}))jP.call(t,n)&&Nm(e,n,t[n]);if(Mm)for(var n of Mm(t))LP.call(t,n)&&Nm(e,n,t[n]);return e},"__spreadValues$Y"),TP=l((e,t)=>MP(e,NP(t)),"__spreadProps$r");function DP({theme:e}){return B(Hl,{styles:{"*, *::before, *::after":{boxSizing:"border-box"},html:{colorScheme:e.colorScheme==="dark"?"dark":"light"},body:TP(IP({},e.fn.fontStyles()),{backgroundColor:e.colorScheme==="dark"?e.colors.dark[7]:e.white,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,lineHeight:e.lineHeight,fontSize:e.fontSizes.md,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"})}})}l(DP,"GlobalStyles");function ms(e,t,n){Object.keys(t).forEach(i=>{e[`--mantine-${n}-${i}`]=typeof t[i]=="number"?`${t[i]}px`:t[i]})}l(ms,"assignSizeVariables");function FP({theme:e}){const t={"--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-transition-timing-function":e.transitionTimingFunction,"--mantine-line-height":`${e.lineHeight}`,"--mantine-font-family":e.fontFamily,"--mantine-font-family-monospace":e.fontFamilyMonospace,"--mantine-font-family-headings":e.headings.fontFamily,"--mantine-heading-font-weight":`${e.headings.fontWeight}`};ms(t,e.shadows,"shadow"),ms(t,e.fontSizes,"font-size"),ms(t,e.radius,"radius"),ms(t,e.spacing,"spacing"),Object.keys(e.colors).forEach(i=>{e.colors[i].forEach((a,c)=>{t[`--mantine-color-${i}-${c}`]=a})});const n=e.headings.sizes;return Object.keys(n).forEach(i=>{t[`--mantine-${i}-font-size`]=`${n[i].fontSize}px`,t[`--mantine-${i}-line-height`]=`${n[i].lineHeight}`}),B(Hl,{styles:{":root":t}})}l(FP,"MantineCssVariables");var AP=Object.defineProperty,BP=Object.defineProperties,WP=Object.getOwnPropertyDescriptors,jm=Object.getOwnPropertySymbols,HP=Object.prototype.hasOwnProperty,UP=Object.prototype.propertyIsEnumerable,Lm=l((e,t,n)=>t in e?AP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$X"),en=l((e,t)=>{for(var n in t||(t={}))HP.call(t,n)&&Lm(e,n,t[n]);if(jm)for(var n of jm(t))UP.call(t,n)&&Lm(e,n,t[n]);return e},"__spreadValues$X"),Im=l((e,t)=>BP(e,WP(t)),"__spreadProps$q");function VP(e,t){if(!t)return e;const n=Object.keys(e).reduce((i,a)=>{if(a==="headings"&&t.headings){const c=t.headings.sizes?Object.keys(e.headings.sizes).reduce((f,p)=>(f[p]=en(en({},e.headings.sizes[p]),t.headings.sizes[p]),f),{}):e.headings.sizes;return Im(en({},i),{headings:Im(en(en({},e.headings),t.headings),{sizes:c})})}return i[a]=typeof t[a]=="object"?en(en({},e[a]),t[a]):typeof t[a]=="number"||typeof t[a]=="boolean"||typeof t[a]=="function"?t[a]:t[a]||e[a],i},{});if(!(n.primaryColor in n.colors))throw new Error("MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color");return n}l(VP,"mergeTheme");function qP(e,t){return Ev(VP(e,t))}l(qP,"mergeThemeWithFunctions");function Dv(e){return Object.keys(e).reduce((t,n)=>(e[n]!==void 0&&(t[n]=e[n]),t),{})}l(Dv,"filterProps");const QP={html:{fontFamily:"sans-serif",lineHeight:"1.15",textSizeAdjust:"100%"},body:{margin:0},"article, aside, footer, header, nav, section, figcaption, figure, main":{display:"block"},h1:{fontSize:"2em"},hr:{boxSizing:"content-box",height:0,overflow:"visible"},pre:{fontFamily:"monospace, monospace",fontSize:"1em"},a:{background:"transparent",textDecorationSkip:"objects"},"a:active, a:hover":{outlineWidth:0},"abbr[title]":{borderBottom:"none",textDecoration:"underline"},"b, strong":{fontWeight:"bolder"},"code, kbp, samp":{fontFamily:"monospace, monospace",fontSize:"1em"},dfn:{fontStyle:"italic"},mark:{backgroundColor:"#ff0",color:"#000"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sup:{top:"-0.5em"},sub:{bottom:"-0.25em"},"audio, video":{display:"inline-block"},"audio:not([controls])":{display:"none",height:0},img:{borderStyle:"none",verticalAlign:"middle"},"svg:not(:root)":{overflow:"hidden"},"button, input, optgroup, select, textarea":{fontFamily:"sans-serif",fontSize:"100%",lineHeight:"1.15",margin:0},"button, input":{overflow:"visible"},"button, select":{textTransform:"none"},"button, [type=reset], [type=submit]":{WebkitAppearance:"button"},"button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner":{borderStyle:"none",padding:0},"button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring":{outline:"1px dotted ButtonText"},legend:{boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:0,whiteSpace:"normal"},progress:{display:"inline-block",verticalAlign:"baseline"},textarea:{overflow:"auto"},"[type=checkbox], [type=radio]":{boxSizing:"border-box",padding:0},"[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button":{height:"auto"},"[type=search]":{appearance:"none"},"[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration":{appearance:"none"},"::-webkit-file-upload-button":{appearance:"button",font:"inherit"},"details, menu":{display:"block"},summary:{display:"list-item"},canvas:{display:"inline-block"},template:{display:"none"},"[hidden]":{display:"none"}};function GP(){return B(Hl,{styles:QP})}l(GP,"NormalizeCSS");var KP=Object.defineProperty,Tm=Object.getOwnPropertySymbols,YP=Object.prototype.hasOwnProperty,XP=Object.prototype.propertyIsEnumerable,Dm=l((e,t,n)=>t in e?KP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$W"),Uo=l((e,t)=>{for(var n in t||(t={}))YP.call(t,n)&&Dm(e,n,t[n]);if(Tm)for(var n of Tm(t))XP.call(t,n)&&Dm(e,n,t[n]);return e},"__spreadValues$W");const Fs=m.createContext({theme:df});function Ar(){var e;return((e=m.useContext(Fs))==null?void 0:e.theme)||df}l(Ar,"useMantineTheme");function JP(e){const t=Ar(),n=l(i=>{var a,c;return{styles:((a=t.components[i])==null?void 0:a.styles)||{},classNames:((c=t.components[i])==null?void 0:c.classNames)||{}}},"getStyles");return Array.isArray(e)?e.map(n):[n(e)]}l(JP,"useMantineProviderStyles");function Fv(){var e;return(e=m.useContext(Fs))==null?void 0:e.emotionCache}l(Fv,"useMantineEmotionCache");function ke(e,t,n){var i;const a=Ar(),c=(i=a.components[e])==null?void 0:i.defaultProps,f=typeof c=="function"?c(a):c;return Uo(Uo(Uo({},t),f),Dv(n))}l(ke,"useComponentDefaultProps");function ZP({theme:e,emotionCache:t,withNormalizeCSS:n=!1,withGlobalStyles:i=!1,withCSSVariables:a=!1,inherit:c=!1,children:f}){const p=m.useContext(Fs),y=qP(df,c?Uo(Uo({},p.theme),e):e);return B(CP,{theme:y,children:ze(Fs.Provider,{value:{theme:y,emotionCache:t},children:[n&&B(GP,{}),i&&B(DP,{theme:y}),a&&B(FP,{theme:y}),typeof y.globalStyles=="function"&&B(Hl,{styles:y.globalStyles(y)}),f]})})}l(ZP,"MantineProvider");ZP.displayName="@mantine/core/MantineProvider";const Av=m.createContext(null);function x3(){const e=m.useContext(Av);if(!e)throw new Error("useMantineColorScheme hook was called outside of context, make sure your app is wrapped with ColorSchemeProvider component");return e}l(x3,"useMantineColorScheme");function eb({colorScheme:e,toggleColorScheme:t,children:n}){return B(Av.Provider,{value:{colorScheme:e,toggleColorScheme:t},children:n})}l(eb,"ColorSchemeProvider");eb.displayName="@mantine/core/ColorSchemeProvider";const tb={app:100,modal:200,popover:300,overlay:400,max:9999};function Ul(e){return tb[e]}l(Ul,"getDefaultZIndex");function rb(e,t){const n=m.useRef();return(!n.current||t.length!==n.current.prevDeps.length||n.current.prevDeps.map((i,a)=>i===t[a]).indexOf(!1)>=0)&&(n.current={v:e(),prevDeps:[...t]}),n.current.v}l(rb,"useGuaranteedMemo");const nb=jv({key:"mantine",prepend:!0});function ob(){return Fv()||nb}l(ob,"useEmotionCache");var ib=Object.defineProperty,Fm=Object.getOwnPropertySymbols,sb=Object.prototype.hasOwnProperty,lb=Object.prototype.propertyIsEnumerable,Am=l((e,t,n)=>t in e?ib(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$V"),ab=l((e,t)=>{for(var n in t||(t={}))sb.call(t,n)&&Am(e,n,t[n]);if(Fm)for(var n of Fm(t))lb.call(t,n)&&Am(e,n,t[n]);return e},"__spreadValues$V");const tc="ref";function ub(e){let t;if(e.length!==1)return{args:e,ref:t};const[n]=e;if(!(n instanceof Object))return{args:e,ref:t};if(!(tc in n))return{args:e,ref:t};t=n[tc];const i=ab({},n);return delete i[tc],{args:[i],ref:t}}l(ub,"getRef");const{cssFactory:cb}=(()=>{function e(n,i,a){const c=[],f=gP(n,c,a);return c.length<2?a:f+i(c)}l(e,"merge");function t(n){const{cache:i}=n,a=l((...f)=>{const{ref:p,args:y}=ub(f),g=yf(y,i.registered);return Lv(i,g,!1),`${i.key}-${g.name}${p===void 0?"":` ${p}`}`},"css");return{css:a,cx:l((...f)=>e(i.registered,a,ux(f)),"cx")}}return l(t,"_cssFactory"),{cssFactory:t}})();function Bv(){const e=ob();return rb(()=>cb({cache:e}),[e])}l(Bv,"useCss");function fb({cx:e,classes:t,context:n,classNames:i,name:a,cache:c}){const f=n.reduce((p,y)=>(Object.keys(y.classNames).forEach(g=>{typeof p[g]!="string"?p[g]=`${y.classNames[g]}`:p[g]=`${p[g]} ${y.classNames[g]}`}),p),{});return Object.keys(t).reduce((p,y)=>(p[y]=e(t[y],f[y],i!=null&&i[y],Array.isArray(a)?a.filter(Boolean).map(g=>`${(c==null?void 0:c.key)||"mantine"}-${g}-${y}`).join(" "):a?`${(c==null?void 0:c.key)||"mantine"}-${a}-${y}`:null),p),{})}l(fb,"mergeClassNames");var db=Object.defineProperty,Bm=Object.getOwnPropertySymbols,pb=Object.prototype.hasOwnProperty,hb=Object.prototype.propertyIsEnumerable,Wm=l((e,t,n)=>t in e?db(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$U"),rc=l((e,t)=>{for(var n in t||(t={}))pb.call(t,n)&&Wm(e,n,t[n]);if(Bm)for(var n of Bm(t))hb.call(t,n)&&Wm(e,n,t[n]);return e},"__spreadValues$U");function mb(e){return`__mantine-ref-${e||""}`}l(mb,"createRef");function Hm(e,t,n){const i=l(a=>typeof a=="function"?a(t,n||{}):a||{},"extractStyles");return Array.isArray(e)?e.map(a=>i(a.styles)).reduce((a,c)=>(Object.keys(c).forEach(f=>{a[f]?a[f]=rc(rc({},a[f]),c[f]):a[f]=rc({},c[f])}),a),{}):i(e)}l(Hm,"getStyles");function Te(e){const t=typeof e=="function"?e:()=>e;function n(i,a){const c=Ar(),f=JP(a==null?void 0:a.name),p=Fv(),{css:y,cx:g}=Bv(),w=t(c,i,mb),_=Hm(a==null?void 0:a.styles,c,i),x=Hm(f,c,i),P=Object.fromEntries(Object.keys(w).map(C=>{const O=g({[y(w[C])]:!(a!=null&&a.unstyled)},y(x[C]),y(_[C]));return[C,O]}));return{classes:fb({cx:g,classes:P,context:f,classNames:a==null?void 0:a.classNames,name:a==null?void 0:a.name,cache:p}),cx:g,theme:c}}return l(n,"useStyles"),n}l(Te,"createStyles");var yb=Object.defineProperty,gb=Object.defineProperties,vb=Object.getOwnPropertyDescriptors,Um=Object.getOwnPropertySymbols,wb=Object.prototype.hasOwnProperty,_b=Object.prototype.propertyIsEnumerable,Vm=l((e,t,n)=>t in e?yb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$T"),To=l((e,t)=>{for(var n in t)wb.call(t,n)&&Vm(e,n,t[n]);if(Um)for(var n of Um(t))_b.call(t,n)&&Vm(e,n,t[n]);return e},"__spreadValues$T"),Do=l((e,t)=>gb(e,vb(t)),"__spreadProps$p");const Fo={in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(.9) translateY(10px)"},transitionProperty:"transform, opacity"},ys={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(-20px) skew(-10deg, -5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(20px) skew(-10deg, -5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(-5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:Do(To({},Fo),{common:{transformOrigin:"center center"}}),"pop-bottom-left":Do(To({},Fo),{common:{transformOrigin:"bottom left"}}),"pop-bottom-right":Do(To({},Fo),{common:{transformOrigin:"bottom right"}}),"pop-top-left":Do(To({},Fo),{common:{transformOrigin:"top left"}}),"pop-top-right":Do(To({},Fo),{common:{transformOrigin:"top right"}})};function xb(e,t){try{return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}catch{return e.addListener(t),()=>e.removeListener(t)}}l(xb,"attachMediaListener");function Pb(e,t){return typeof window<"u"&&"matchMedia"in window?window.matchMedia(e).matches:!1}l(Pb,"getInitialValue");function bb(e,t,{getInitialValueInEffect:n}={getInitialValueInEffect:!0}){const[i,a]=m.useState(n?t:Pb(e)),c=m.useRef();return m.useEffect(()=>{if("matchMedia"in window)return c.current=window.matchMedia(e),a(c.current.matches),xb(c.current,f=>a(f.matches))},[e]),i}l(bb,"useMediaQuery");const gf=typeof document<"u"?m.useLayoutEffect:m.useEffect;function P3(e){gf(()=>{typeof e=="string"&&e.trim().length>0&&(document.title=e.trim())},[e])}l(P3,"useDocumentTitle");function As(e,t){const n=m.useRef(!1);m.useEffect(()=>()=>{n.current=!1},[]),m.useEffect(()=>{if(n.current)return e();n.current=!0},t)}l(As,"useDidUpdate");const Sb=l(()=>`mantine-${Math.random().toString(36).slice(2,11)}`,"randomId"),Ob=sf.useId||(()=>{});function Eb(){const[e,t]=m.useState("");return gf(()=>{t(Sb())},[]),e}l(Eb,"useClientId");function kb(){const e=Ob();return e?`mantine-${e.replace(/:/g,"")}`:""}l(kb,"getReactId");function Vl(e){return typeof e=="string"?e:kb()||Eb()}l(Vl,"useId$1");function qm(e,t,n){m.useEffect(()=>(window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)),[e,t])}l(qm,"useWindowEvent");function Cb(e,t){try{return JSON.stringify(e)}catch{throw new Error(`@mantine/hooks ${t}: Failed to serialize the value`)}}l(Cb,"serializeJSON");function Rb(e){try{return JSON.parse(e)}catch{return e}}l(Rb,"deserializeJSON");function $b(e,t){const n="mantine-local-storage";return l(function({key:a,defaultValue:c=void 0,getInitialValueInEffect:f=!0,deserialize:p=Rb,serialize:y=l(g=>Cb(g,t),"serialize")}){const g=m.useCallback(C=>{if(typeof window>"u"||!(e in window)||window[e]===null||C)return c;const O=window[e].getItem(a);return O!==null?p(O):c},[a,c]),[w,_]=m.useState(g(f)),x=m.useCallback(C=>{C instanceof Function?_(O=>{const $=C(O);return window[e].setItem(a,y($)),window.dispatchEvent(new CustomEvent(n,{detail:{key:a,value:C(O)}})),$}):(window[e].setItem(a,y(C)),window.dispatchEvent(new CustomEvent(n,{detail:{key:a,value:C}})),_(C))},[a]),P=m.useCallback(()=>{window[e].removeItem(a),window.dispatchEvent(new CustomEvent(n,{detail:{key:a,value:c}}))},[]);return qm("storage",C=>{var O;C.storageArea===window[e]&&C.key===a&&_(p((O=C.newValue)!=null?O:void 0))}),qm(n,C=>{C.detail.key===a&&_(C.detail.value)}),m.useEffect(()=>{c!==void 0&&w===void 0&&x(c)},[c,w,x]),m.useEffect(()=>{f&&_(g())},[]),[w===void 0?c:w,x,P]},"useStorage")}l($b,"createStorage");function b3(e){return $b("localStorage","use-local-storage")(e)}l(b3,"useLocalStorage");function zb(e,t){typeof e=="function"?e(t):typeof e=="object"&&e!==null&&"current"in e&&(e.current=t)}l(zb,"assignRef");function Mb(...e){return t=>{e.forEach(n=>zb(n,t))}}l(Mb,"mergeRefs");function Wv(...e){return m.useCallback(Mb(...e),e)}l(Wv,"useMergedRef");function vf({value:e,defaultValue:t,finalValue:n,onChange:i=l(()=>{},"onChange")}){const[a,c]=m.useState(t!==void 0?t:n),f=l(p=>{c(p),i==null||i(p)},"handleUncontrolledChange");return e!==void 0?[e,i,!0]:[a,f,!1]}l(vf,"useUncontrolled");function Nb(e,t){return bb("(prefers-reduced-motion: reduce)",e,t)}l(Nb,"useReducedMotion");var jb=Object.defineProperty,Lb=Object.defineProperties,Ib=Object.getOwnPropertyDescriptors,Qm=Object.getOwnPropertySymbols,Tb=Object.prototype.hasOwnProperty,Db=Object.prototype.propertyIsEnumerable,Gm=l((e,t,n)=>t in e?jb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$S"),Fb=l((e,t)=>{for(var n in t)Tb.call(t,n)&&Gm(e,n,t[n]);if(Qm)for(var n of Qm(t))Db.call(t,n)&&Gm(e,n,t[n]);return e},"__spreadValues$S"),Ab=l((e,t)=>Lb(e,Ib(t)),"__spreadProps$o");function Bb(e){const t=e.toLowerCase().split("+").map(c=>c.trim()),n={alt:t.includes("alt"),ctrl:t.includes("ctrl"),meta:t.includes("meta"),mod:t.includes("mod"),shift:t.includes("shift")},i=["alt","ctrl","meta","shift","mod"],a=t.find(c=>!i.includes(c));return Ab(Fb({},n),{key:a})}l(Bb,"parseHotkey");function Wb(e,t){const{alt:n,ctrl:i,meta:a,mod:c,shift:f,key:p}=e,{altKey:y,ctrlKey:g,metaKey:w,shiftKey:_,key:x}=t;if(n!==y)return!1;if(c){if(!g&&!w)return!1}else if(i!==g||a!==w)return!1;return f!==_?!1:!!(p&&(x.toLowerCase()===p.toLowerCase()||t.code.replace("Key","").toLowerCase()===p.toLowerCase()))}l(Wb,"isExactHotkey");function Hb(e){return t=>Wb(Bb(e),t)}l(Hb,"getHotkeyMatcher");function Ub(e,t,n=!1){return e.target instanceof HTMLElement?(n||!e.target.isContentEditable)&&!t.includes(e.target.tagName):!0}l(Ub,"shouldFireEvent");function S3(e,t=["INPUT","TEXTAREA","SELECT"],n=!1){m.useEffect(()=>{const i=l(a=>{e.forEach(([c,f,p={preventDefault:!0}])=>{Hb(c)(a)&&Ub(a,t,n)&&(p.preventDefault&&a.preventDefault(),f(a))})},"keydownListener");return document.documentElement.addEventListener("keydown",i),()=>document.documentElement.removeEventListener("keydown",i)},[e])}l(S3,"useHotkeys");var Km=Object.getOwnPropertySymbols,Vb=Object.prototype.hasOwnProperty,qb=Object.prototype.propertyIsEnumerable,Qb=l((e,t)=>{var n={};for(var i in e)Vb.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Km)for(var i of Km(e))t.indexOf(i)<0&&qb.call(e,i)&&(n[i]=e[i]);return n},"__objRest$C");function Zo(e){const t=e,{m:n,mx:i,my:a,mt:c,mb:f,ml:p,mr:y,p:g,px:w,py:_,pt:x,pb:P,pl:C,pr:O,bg:$,c:N,opacity:b,ff:E,fz:z,fw:S,lts:j,ta:A,lh:D,fs:Q,tt:X,td:ae,w:Z,miw:te,maw:K,h:ie,mih:ue,mah:ne,bgsz:W,bgp:Y,bgr:R,bga:H,pos:se,top:we,left:U,bottom:ce,right:ee,inset:ve,display:_e}=t,Ce=Qb(t,["m","mx","my","mt","mb","ml","mr","p","px","py","pt","pb","pl","pr","bg","c","opacity","ff","fz","fw","lts","ta","lh","fs","tt","td","w","miw","maw","h","mih","mah","bgsz","bgp","bgr","bga","pos","top","left","bottom","right","inset","display"]);return{systemStyles:Dv({m:n,mx:i,my:a,mt:c,mb:f,ml:p,mr:y,p:g,px:w,py:_,pt:x,pb:P,pl:C,pr:O,bg:$,c:N,opacity:b,ff:E,fz:z,fw:S,lts:j,ta:A,lh:D,fs:Q,tt:X,td:ae,w:Z,miw:te,maw:K,h:ie,mih:ue,mah:ne,bgsz:W,bgp:Y,bgr:R,bga:H,pos:se,top:we,left:U,bottom:ce,right:ee,inset:ve,display:_e}),rest:Ce}}l(Zo,"extractSystemStyles");function Gb(e,t){const n=Object.keys(e).filter(i=>i!=="base").sort((i,a)=>t.fn.size({size:i,sizes:t.breakpoints})-t.fn.size({size:a,sizes:t.breakpoints}));return"base"in e?["base",...n]:n}l(Gb,"getSortedKeys");function Kb({value:e,theme:t,getValue:n,property:i}){if(e==null)return;if(typeof e=="object")return Gb(e,t).reduce((f,p)=>{if(p==="base"&&e.base!==void 0){const g=n(e.base,t);return Array.isArray(i)?(i.forEach(w=>{f[w]=g}),f):(f[i]=g,f)}const y=n(e[p],t);return Array.isArray(i)?(f[t.fn.largerThan(p)]={},i.forEach(g=>{f[t.fn.largerThan(p)][g]=y}),f):(f[t.fn.largerThan(p)]={[i]:y},f)},{});const a=n(e,t);return Array.isArray(i)?i.reduce((c,f)=>(c[f]=a,c),{}):{[i]:a}}l(Kb,"getResponsiveValue");function Yb(e,t){return e==="dimmed"?t.colorScheme==="dark"?t.colors.dark[2]:t.colors.gray[6]:t.fn.variant({variant:"filled",color:e,primaryFallback:!1}).background}l(Yb,"getColorValue");function Xb(e){return e}l(Xb,"getDefaultValue");function Jb(e,t){return t.fn.size({size:e,sizes:t.fontSizes})}l(Jb,"getFontSizeValue");const Zb=["-xs","-sm","-md","-lg","-xl"];function eS(e,t){return Zb.includes(e)?t.fn.size({size:e.replace("-",""),sizes:t.spacing})*-1:t.fn.size({size:e,sizes:t.spacing})}l(eS,"getSpacingValue");const tS={color:Yb,default:Xb,fontSize:Jb,spacing:eS},rS={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},mx:{type:"spacing",property:["marginRight","marginLeft"]},my:{type:"spacing",property:["marginTop","marginBottom"]},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},px:{type:"spacing",property:["paddingRight","paddingLeft"]},py:{type:"spacing",property:["paddingTop","paddingBottom"]},bg:{type:"color",property:"background"},c:{type:"color",property:"color"},opacity:{type:"default",property:"opacity"},ff:{type:"default",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"default",property:"fontWeight"},lts:{type:"default",property:"letterSpacing"},ta:{type:"default",property:"textAlign"},lh:{type:"default",property:"lineHeight"},fs:{type:"default",property:"fontStyle"},tt:{type:"default",property:"textTransform"},td:{type:"default",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"default",property:"background-size"},bgp:{type:"default",property:"background-position"},bgr:{type:"default",property:"background-repeat"},bga:{type:"default",property:"background-attachment"},pos:{type:"default",property:"position"},top:{type:"default",property:"top"},left:{type:"default",property:"left"},bottom:{type:"default",property:"bottom"},right:{type:"default",property:"right"},inset:{type:"default",property:"inset"},display:{type:"default",property:"display"}};var nS=Object.defineProperty,Ym=Object.getOwnPropertySymbols,oS=Object.prototype.hasOwnProperty,iS=Object.prototype.propertyIsEnumerable,Xm=l((e,t,n)=>t in e?nS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$R"),Jm=l((e,t)=>{for(var n in t||(t={}))oS.call(t,n)&&Xm(e,n,t[n]);if(Ym)for(var n of Ym(t))iS.call(t,n)&&Xm(e,n,t[n]);return e},"__spreadValues$R");function Zm(e,t,n=rS){return Object.keys(n).reduce((a,c)=>(c in e&&e[c]!==void 0&&a.push(Kb({value:e[c],getValue:tS[n[c].type],property:n[c].property,theme:t})),a),[]).reduce((a,c)=>(Object.keys(c).forEach(f=>{typeof c[f]=="object"&&c[f]!==null&&f in a?a[f]=Jm(Jm({},a[f]),c[f]):a[f]=c[f]}),a),{})}l(Zm,"getSystemStyles");function ey(e,t){return typeof e=="function"?e(t):e}l(ey,"extractSx");function sS(e,t,n){const i=Ar(),{css:a,cx:c}=Bv();return Array.isArray(e)?c(n,a(Zm(t,i)),e.map(f=>a(ey(f,i)))):c(n,a(ey(e,i)),a(Zm(t,i)))}l(sS,"useSx");var lS=Object.defineProperty,Bs=Object.getOwnPropertySymbols,Hv=Object.prototype.hasOwnProperty,Uv=Object.prototype.propertyIsEnumerable,ty=l((e,t,n)=>t in e?lS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$Q"),aS=l((e,t)=>{for(var n in t||(t={}))Hv.call(t,n)&&ty(e,n,t[n]);if(Bs)for(var n of Bs(t))Uv.call(t,n)&&ty(e,n,t[n]);return e},"__spreadValues$Q"),uS=l((e,t)=>{var n={};for(var i in e)Hv.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Bs)for(var i of Bs(e))t.indexOf(i)<0&&Uv.call(e,i)&&(n[i]=e[i]);return n},"__objRest$B");const Vv=m.forwardRef((e,t)=>{var n=e,{className:i,component:a,style:c,sx:f}=n,p=uS(n,["className","component","style","sx"]);const{systemStyles:y,rest:g}=Zo(p);return B(a||"div",{...aS({ref:t,className:sS(f,y,i),style:c},g)})});Vv.displayName="@mantine/core/Box";const Fe=Vv;var cS=Object.defineProperty,fS=Object.defineProperties,dS=Object.getOwnPropertyDescriptors,ry=Object.getOwnPropertySymbols,pS=Object.prototype.hasOwnProperty,hS=Object.prototype.propertyIsEnumerable,ny=l((e,t,n)=>t in e?cS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$P"),oy=l((e,t)=>{for(var n in t||(t={}))pS.call(t,n)&&ny(e,n,t[n]);if(ry)for(var n of ry(t))hS.call(t,n)&&ny(e,n,t[n]);return e},"__spreadValues$P"),mS=l((e,t)=>fS(e,dS(t)),"__spreadProps$n"),yS=Te(e=>({root:mS(oy(oy({},e.fn.focusStyles()),e.fn.fontStyles()),{cursor:"pointer",border:0,padding:0,appearance:"none",fontSize:e.fontSizes.md,backgroundColor:"transparent",textAlign:"left",color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,textDecoration:"none",boxSizing:"border-box"})})),gS=Object.defineProperty,Ws=Object.getOwnPropertySymbols,qv=Object.prototype.hasOwnProperty,Qv=Object.prototype.propertyIsEnumerable,iy=l((e,t,n)=>t in e?gS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$O"),vS=l((e,t)=>{for(var n in t)qv.call(t,n)&&iy(e,n,t[n]);if(Ws)for(var n of Ws(t))Qv.call(t,n)&&iy(e,n,t[n]);return e},"__spreadValues$O"),wS=l((e,t)=>{var n={};for(var i in e)qv.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Ws)for(var i of Ws(e))t.indexOf(i)<0&&Qv.call(e,i)&&(n[i]=e[i]);return n},"__objRest$A");const Gv=m.forwardRef((e,t)=>{const n=ke("UnstyledButton",{},e),{className:i,component:a="button",unstyled:c}=n,f=wS(n,["className","component","unstyled"]),{classes:p,cx:y}=yS(null,{name:"UnstyledButton",unstyled:c});return B(Fe,{...vS({component:a,ref:t,className:y(p.root,i),type:a==="button"?"button":void 0},f)})});Gv.displayName="@mantine/core/UnstyledButton";const Kv=Gv;var wf=fv();const O3=Tl(wf);var _S=Object.defineProperty,xS=Object.defineProperties,PS=Object.getOwnPropertyDescriptors,sy=Object.getOwnPropertySymbols,bS=Object.prototype.hasOwnProperty,SS=Object.prototype.propertyIsEnumerable,ly=l((e,t,n)=>t in e?_S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$N"),Yv=l((e,t)=>{for(var n in t||(t={}))bS.call(t,n)&&ly(e,n,t[n]);if(sy)for(var n of sy(t))SS.call(t,n)&&ly(e,n,t[n]);return e},"__spreadValues$N"),OS=l((e,t)=>xS(e,PS(t)),"__spreadProps$m");const Wo={xs:18,sm:22,md:28,lg:34,xl:44};function ES({variant:e,theme:t,color:n,gradient:i}){const a=t.fn.variant({color:n,variant:e,gradient:i});return e==="gradient"?{border:0,backgroundImage:a.background,color:a.color,"&:hover":t.fn.hover({backgroundSize:"200%"})}:Yv({border:`1px solid ${a.border}`,backgroundColor:a.background,color:a.color},t.fn.hover({backgroundColor:a.hover}))}l(ES,"getVariantStyles$2");var kS=Te((e,{color:t,size:n,radius:i,variant:a,gradient:c})=>({root:OS(Yv({},ES({variant:a,theme:e,color:t,gradient:c})),{position:"relative",height:e.fn.size({size:n,sizes:Wo}),minHeight:e.fn.size({size:n,sizes:Wo}),width:e.fn.size({size:n,sizes:Wo}),minWidth:e.fn.size({size:n,sizes:Wo}),borderRadius:e.fn.radius(i),padding:0,lineHeight:1,display:"flex",alignItems:"center",justifyContent:"center","&:active":e.activeStyles,"&:disabled, &[data-disabled]":{color:e.colors.gray[e.colorScheme==="dark"?6:4],cursor:"not-allowed",backgroundColor:a==="transparent"?void 0:e.fn.themeColor("gray",e.colorScheme==="dark"?8:1),borderColor:a==="transparent"?void 0:e.fn.themeColor("gray",e.colorScheme==="dark"?8:1),backgroundImage:"none",pointerEvents:"none","&:active":{transform:"none"}},"&[data-loading]":{pointerEvents:"none","&::before":{content:'""',position:"absolute",top:-1,left:-1,right:-1,bottom:-1,backgroundColor:e.colorScheme==="dark"?e.fn.rgba(e.colors.dark[7],.5):"rgba(255, 255, 255, .5)",borderRadius:e.fn.radius(i),cursor:"not-allowed"}}})})),CS=Object.defineProperty,Hs=Object.getOwnPropertySymbols,Xv=Object.prototype.hasOwnProperty,Jv=Object.prototype.propertyIsEnumerable,ay=l((e,t,n)=>t in e?CS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$M"),RS=l((e,t)=>{for(var n in t)Xv.call(t,n)&&ay(e,n,t[n]);if(Hs)for(var n of Hs(t))Jv.call(t,n)&&ay(e,n,t[n]);return e},"__spreadValues$M"),$S=l((e,t)=>{var n={};for(var i in e)Xv.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Hs)for(var i of Hs(e))t.indexOf(i)<0&&Jv.call(e,i)&&(n[i]=e[i]);return n},"__objRest$z");function zS(e){var t=e,{size:n,color:i}=t,a=$S(t,["size","color"]);return ze("svg",{...RS({viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:i,width:`${n}px`},a),children:[ze("rect",{y:"10",width:"15",height:"120",rx:"6",children:[B("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),B("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]}),ze("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6",children:[B("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),B("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]}),ze("rect",{x:"60",width:"15",height:"140",rx:"6",children:[B("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),B("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]}),ze("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6",children:[B("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),B("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]}),ze("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6",children:[B("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),B("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]})]})}l(zS,"Bars");var MS=Object.defineProperty,Us=Object.getOwnPropertySymbols,Zv=Object.prototype.hasOwnProperty,e0=Object.prototype.propertyIsEnumerable,uy=l((e,t,n)=>t in e?MS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$L"),NS=l((e,t)=>{for(var n in t)Zv.call(t,n)&&uy(e,n,t[n]);if(Us)for(var n of Us(t))e0.call(t,n)&&uy(e,n,t[n]);return e},"__spreadValues$L"),jS=l((e,t)=>{var n={};for(var i in e)Zv.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Us)for(var i of Us(e))t.indexOf(i)<0&&e0.call(e,i)&&(n[i]=e[i]);return n},"__objRest$y");function LS(e){var t=e,{size:n,color:i}=t,a=jS(t,["size","color"]);return B("svg",{...NS({width:`${n}px`,height:`${n}px`,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:i},a),children:B("g",{fill:"none",fillRule:"evenodd",children:ze("g",{transform:"translate(2.5 2.5)",strokeWidth:"5",children:[B("circle",{strokeOpacity:".5",cx:"16",cy:"16",r:"16"}),B("path",{d:"M32 16c0-9.94-8.06-16-16-16",children:B("animateTransform",{attributeName:"transform",type:"rotate",from:"0 16 16",to:"360 16 16",dur:"1s",repeatCount:"indefinite"})})]})})})}l(LS,"Oval");var IS=Object.defineProperty,Vs=Object.getOwnPropertySymbols,t0=Object.prototype.hasOwnProperty,r0=Object.prototype.propertyIsEnumerable,cy=l((e,t,n)=>t in e?IS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$K"),TS=l((e,t)=>{for(var n in t)t0.call(t,n)&&cy(e,n,t[n]);if(Vs)for(var n of Vs(t))r0.call(t,n)&&cy(e,n,t[n]);return e},"__spreadValues$K"),DS=l((e,t)=>{var n={};for(var i in e)t0.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Vs)for(var i of Vs(e))t.indexOf(i)<0&&r0.call(e,i)&&(n[i]=e[i]);return n},"__objRest$x");function FS(e){var t=e,{size:n,color:i}=t,a=DS(t,["size","color"]);return ze("svg",{...TS({width:`${n}px`,height:`${n/4}px`,viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:i},a),children:[ze("circle",{cx:"15",cy:"15",r:"15",children:[B("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),B("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})]}),ze("circle",{cx:"60",cy:"15",r:"9",fillOpacity:"0.3",children:[B("animate",{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),B("animate",{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})]}),ze("circle",{cx:"105",cy:"15",r:"15",children:[B("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),B("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})]})]})}l(FS,"Dots");var AS=Object.defineProperty,qs=Object.getOwnPropertySymbols,n0=Object.prototype.hasOwnProperty,o0=Object.prototype.propertyIsEnumerable,fy=l((e,t,n)=>t in e?AS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$J"),BS=l((e,t)=>{for(var n in t)n0.call(t,n)&&fy(e,n,t[n]);if(qs)for(var n of qs(t))o0.call(t,n)&&fy(e,n,t[n]);return e},"__spreadValues$J"),WS=l((e,t)=>{var n={};for(var i in e)n0.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&qs)for(var i of qs(e))t.indexOf(i)<0&&o0.call(e,i)&&(n[i]=e[i]);return n},"__objRest$w");const nc={bars:zS,oval:LS,dots:FS},HS={xs:18,sm:22,md:36,lg:44,xl:58},US={size:"md"};function ql(e){const t=ke("Loader",US,e),{size:n,color:i,variant:a}=t,c=WS(t,["size","color","variant"]),f=Ar(),p=a in nc?a:f.loader;return B(Fe,{...BS({role:"presentation",component:nc[p]||nc.bars,size:f.fn.size({size:n,sizes:HS}),color:f.fn.variant({variant:"filled",primaryFallback:!1,color:i||f.primaryColor}).background},c)})}l(ql,"Loader");ql.displayName="@mantine/core/Loader";var VS=Object.defineProperty,Qs=Object.getOwnPropertySymbols,i0=Object.prototype.hasOwnProperty,s0=Object.prototype.propertyIsEnumerable,dy=l((e,t,n)=>t in e?VS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$I"),py=l((e,t)=>{for(var n in t||(t={}))i0.call(t,n)&&dy(e,n,t[n]);if(Qs)for(var n of Qs(t))s0.call(t,n)&&dy(e,n,t[n]);return e},"__spreadValues$I"),qS=l((e,t)=>{var n={};for(var i in e)i0.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Qs)for(var i of Qs(e))t.indexOf(i)<0&&s0.call(e,i)&&(n[i]=e[i]);return n},"__objRest$v");const QS={color:"gray",size:"md",variant:"subtle",loading:!1},l0=m.forwardRef((e,t)=>{const n=ke("ActionIcon",QS,e),{className:i,color:a,children:c,radius:f,size:p,variant:y,gradient:g,disabled:w,loaderProps:_,loading:x,unstyled:P}=n,C=qS(n,["className","color","children","radius","size","variant","gradient","disabled","loaderProps","loading","unstyled"]),{classes:O,cx:$,theme:N}=kS({size:p,radius:f,color:a,variant:y,gradient:g},{name:"ActionIcon",unstyled:P}),b=N.fn.variant({color:a,variant:y}),E=B(ql,{...py({color:b.color,size:N.fn.size({size:p,sizes:Wo})-12},_)});return B(Kv,{...py({className:$(O.root,i),ref:t,disabled:w,"data-disabled":w||void 0,"data-loading":x||void 0,unstyled:P},C),children:x?E:c})});l0.displayName="@mantine/core/ActionIcon";const E3=l0;function a0(e){const{children:t,target:n,className:i}=ke("Portal",{},e),a=Ar(),[c,f]=m.useState(!1),p=m.useRef();return gf(()=>(f(!0),p.current=n?typeof n=="string"?document.querySelector(n):n:document.createElement("div"),n||document.body.appendChild(p.current),()=>{!n&&document.body.removeChild(p.current)}),[n]),c?wf.createPortal(B("div",{className:i,dir:a.dir,children:t}),p.current):null}l(a0,"Portal");a0.displayName="@mantine/core/Portal";var GS=Object.defineProperty,Gs=Object.getOwnPropertySymbols,u0=Object.prototype.hasOwnProperty,c0=Object.prototype.propertyIsEnumerable,hy=l((e,t,n)=>t in e?GS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$H"),KS=l((e,t)=>{for(var n in t)u0.call(t,n)&&hy(e,n,t[n]);if(Gs)for(var n of Gs(t))c0.call(t,n)&&hy(e,n,t[n]);return e},"__spreadValues$H"),YS=l((e,t)=>{var n={};for(var i in e)u0.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Gs)for(var i of Gs(e))t.indexOf(i)<0&&c0.call(e,i)&&(n[i]=e[i]);return n},"__objRest$u");function _f(e){var t=e,{withinPortal:n=!0,children:i}=t,a=YS(t,["withinPortal","children"]);return n?B(a0,{...KS({},a),children:i}):B(Tn,{children:i})}l(_f,"OptionalPortal");_f.displayName="@mantine/core/OptionalPortal";var XS=Object.defineProperty,JS=Object.defineProperties,ZS=Object.getOwnPropertyDescriptors,my=Object.getOwnPropertySymbols,eO=Object.prototype.hasOwnProperty,tO=Object.prototype.propertyIsEnumerable,yy=l((e,t,n)=>t in e?XS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$G"),Ao=l((e,t)=>{for(var n in t||(t={}))eO.call(t,n)&&yy(e,n,t[n]);if(my)for(var n of my(t))tO.call(t,n)&&yy(e,n,t[n]);return e},"__spreadValues$G"),rO=l((e,t)=>JS(e,ZS(t)),"__spreadProps$l");function nO({underline:e,strikethrough:t}){const n=[];return e&&n.push("underline"),t&&n.push("line-through"),n.length>0?n.join(" "):"none"}l(nO,"getTextDecoration");function oO({theme:e,color:t,variant:n}){return t==="dimmed"?e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[6]:typeof t=="string"&&(t in e.colors||t.split(".")[0]in e.colors)?e.fn.variant({variant:"filled",color:t}).background:n==="link"?e.colors[e.primaryColor][e.colorScheme==="dark"?4:7]:t||"inherit"}l(oO,"getTextColor");function iO(e){return typeof e=="number"?{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical"}:null}l(iO,"getLineClamp");function sO({theme:e,truncate:t}){return t==="start"?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",direction:e.dir==="ltr"?"rtl":"ltr",textAlign:e.dir==="ltr"?"right":"left"}:t?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:null}l(sO,"getTruncate");var lO=Te((e,{color:t,variant:n,size:i,lineClamp:a,truncate:c,inline:f,inherit:p,underline:y,gradient:g,weight:w,transform:_,align:x,strikethrough:P,italic:C})=>{const O=e.fn.variant({variant:"gradient",gradient:g});return{root:Ao(rO(Ao(Ao(Ao(Ao({},e.fn.fontStyles()),e.fn.focusStyles()),iO(a)),sO({theme:e,truncate:c})),{color:oO({color:t,theme:e,variant:n}),fontFamily:p?"inherit":e.fontFamily,fontSize:p||i===void 0?"inherit":e.fn.size({size:i,sizes:e.fontSizes}),lineHeight:p?"inherit":f?1:e.lineHeight,textDecoration:nO({underline:y,strikethrough:P}),WebkitTapHighlightColor:"transparent",fontWeight:p?"inherit":w,textTransform:_,textAlign:x,fontStyle:C?"italic":void 0}),e.fn.hover(n==="link"&&y===void 0?{textDecoration:"underline"}:void 0)),gradient:{backgroundImage:O.background,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}}}),aO=Object.defineProperty,Ks=Object.getOwnPropertySymbols,f0=Object.prototype.hasOwnProperty,d0=Object.prototype.propertyIsEnumerable,gy=l((e,t,n)=>t in e?aO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$F"),uO=l((e,t)=>{for(var n in t)f0.call(t,n)&&gy(e,n,t[n]);if(Ks)for(var n of Ks(t))d0.call(t,n)&&gy(e,n,t[n]);return e},"__spreadValues$F"),cO=l((e,t)=>{var n={};for(var i in e)f0.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Ks)for(var i of Ks(e))t.indexOf(i)<0&&d0.call(e,i)&&(n[i]=e[i]);return n},"__objRest$t");const fO={variant:"text"},p0=m.forwardRef((e,t)=>{const n=ke("Text",fO,e),{className:i,size:a,weight:c,transform:f,color:p,align:y,variant:g,lineClamp:w,truncate:_,gradient:x,inline:P,inherit:C,underline:O,strikethrough:$,italic:N,classNames:b,styles:E,unstyled:z,span:S}=n,j=cO(n,["className","size","weight","transform","color","align","variant","lineClamp","truncate","gradient","inline","inherit","underline","strikethrough","italic","classNames","styles","unstyled","span"]),{classes:A,cx:D}=lO({variant:g,color:p,size:a,lineClamp:w,truncate:_,inline:P,inherit:C,underline:O,strikethrough:$,italic:N,weight:c,transform:f,align:y,gradient:x},{unstyled:z,name:"Text"});return B(Fe,{...uO({ref:t,className:D(A.root,{[A.gradient]:g==="gradient"},i),component:S?"span":"div"},j)})});p0.displayName="@mantine/core/Text";const Fn=p0;var dO=Te(()=>({root:{backgroundColor:"transparent",cursor:"pointer",padding:0,border:0}})),pO=Object.defineProperty,Ys=Object.getOwnPropertySymbols,h0=Object.prototype.hasOwnProperty,m0=Object.prototype.propertyIsEnumerable,vy=l((e,t,n)=>t in e?pO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$E"),wy=l((e,t)=>{for(var n in t||(t={}))h0.call(t,n)&&vy(e,n,t[n]);if(Ys)for(var n of Ys(t))m0.call(t,n)&&vy(e,n,t[n]);return e},"__spreadValues$E"),hO=l((e,t)=>{var n={};for(var i in e)h0.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Ys)for(var i of Ys(e))t.indexOf(i)<0&&m0.call(e,i)&&(n[i]=e[i]);return n},"__objRest$s");const mO={},y0=m.forwardRef((e,t)=>{const n=ke("Anchor",mO,e),{component:i,className:a,unstyled:c}=n,f=hO(n,["component","className","unstyled"]),{classes:p,cx:y}=dO(null,{name:"Anchor",unstyled:c}),g=i==="button"?{type:"button"}:null;return B(Fn,{...wy(wy({component:i||"a",variant:"link",ref:t,className:y(p.root,a)},g),f)})});y0.displayName="@mantine/core/Anchor";const k3=y0,Dt=Math.min,it=Math.max,Xs=Math.round,gs=Math.floor,Jt=l(e=>({x:e,y:e}),"createCoords"),yO={left:"right",right:"left",bottom:"top",top:"bottom"},gO={start:"end",end:"start"};function Ic(e,t,n){return it(e,Dt(t,n))}l(Ic,"clamp");function dr(e,t){return typeof e=="function"?e(t):e}l(dr,"evaluate");function Ft(e){return e.split("-")[0]}l(Ft,"getSide");function Qn(e){return e.split("-")[1]}l(Qn,"getAlignment");function xf(e){return e==="x"?"y":"x"}l(xf,"getOppositeAxis");function Pf(e){return e==="y"?"height":"width"}l(Pf,"getAxisLength");function pr(e){return["top","bottom"].includes(Ft(e))?"y":"x"}l(pr,"getSideAxis");function bf(e){return xf(pr(e))}l(bf,"getAlignmentAxis");function vO(e,t,n){n===void 0&&(n=!1);const i=Qn(e),a=bf(e),c=Pf(a);let f=a==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[c]>t.floating[c]&&(f=Js(f)),[f,Js(f)]}l(vO,"getAlignmentSides");function wO(e){const t=Js(e);return[Tc(e),t,Tc(t)]}l(wO,"getExpandedPlacements");function Tc(e){return e.replace(/start|end/g,t=>gO[t])}l(Tc,"getOppositeAlignmentPlacement");function _O(e,t,n){const i=["left","right"],a=["right","left"],c=["top","bottom"],f=["bottom","top"];switch(e){case"top":case"bottom":return n?t?a:i:t?i:a;case"left":case"right":return t?c:f;default:return[]}}l(_O,"getSideList");function xO(e,t,n,i){const a=Qn(e);let c=_O(Ft(e),n==="start",i);return a&&(c=c.map(f=>f+"-"+a),t&&(c=c.concat(c.map(Tc)))),c}l(xO,"getOppositeAxisPlacements");function Js(e){return e.replace(/left|right|bottom|top/g,t=>yO[t])}l(Js,"getOppositePlacement");function PO(e){return{top:0,right:0,bottom:0,left:0,...e}}l(PO,"expandPaddingObject");function Sf(e){return typeof e!="number"?PO(e):{top:e,right:e,bottom:e,left:e}}l(Sf,"getPaddingObject");function An(e){const{x:t,y:n,width:i,height:a}=e;return{width:i,height:a,top:n,left:t,right:t+i,bottom:n+a,x:t,y:n}}l(An,"rectToClientRect");function _y(e,t,n){let{reference:i,floating:a}=e;const c=pr(t),f=bf(t),p=Pf(f),y=Ft(t),g=c==="y",w=i.x+i.width/2-a.width/2,_=i.y+i.height/2-a.height/2,x=i[p]/2-a[p]/2;let P;switch(y){case"top":P={x:w,y:i.y-a.height};break;case"bottom":P={x:w,y:i.y+i.height};break;case"right":P={x:i.x+i.width,y:_};break;case"left":P={x:i.x-a.width,y:_};break;default:P={x:i.x,y:i.y}}switch(Qn(t)){case"start":P[f]-=x*(n&&g?-1:1);break;case"end":P[f]+=x*(n&&g?-1:1);break}return P}l(_y,"computeCoordsFromPlacement");const bO=l(async(e,t,n)=>{const{placement:i="bottom",strategy:a="absolute",middleware:c=[],platform:f}=n,p=c.filter(Boolean),y=await(f.isRTL==null?void 0:f.isRTL(t));let g=await f.getElementRects({reference:e,floating:t,strategy:a}),{x:w,y:_}=_y(g,i,y),x=i,P={},C=0;for(let O=0;O<p.length;O++){const{name:$,fn:N}=p[O],{x:b,y:E,data:z,reset:S}=await N({x:w,y:_,initialPlacement:i,placement:x,strategy:a,middlewareData:P,rects:g,platform:f,elements:{reference:e,floating:t}});w=b??w,_=E??_,P={...P,[$]:{...P[$],...z}},S&&C<=50&&(C++,typeof S=="object"&&(S.placement&&(x=S.placement),S.rects&&(g=S.rects===!0?await f.getElementRects({reference:e,floating:t,strategy:a}):S.rects),{x:w,y:_}=_y(g,x,y)),O=-1)}return{x:w,y:_,placement:x,strategy:a,middlewareData:P}},"computePosition$1");async function Of(e,t){var n;t===void 0&&(t={});const{x:i,y:a,platform:c,rects:f,elements:p,strategy:y}=e,{boundary:g="clippingAncestors",rootBoundary:w="viewport",elementContext:_="floating",altBoundary:x=!1,padding:P=0}=dr(t,e),C=Sf(P),$=p[x?_==="floating"?"reference":"floating":_],N=An(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement($)))==null||n?$:$.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:g,rootBoundary:w,strategy:y})),b=_==="floating"?{x:i,y:a,width:f.floating.width,height:f.floating.height}:f.reference,E=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),z=await(c.isElement==null?void 0:c.isElement(E))?await(c.getScale==null?void 0:c.getScale(E))||{x:1,y:1}:{x:1,y:1},S=An(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:b,offsetParent:E,strategy:y}):b);return{top:(N.top-S.top+C.top)/z.y,bottom:(S.bottom-N.bottom+C.bottom)/z.y,left:(N.left-S.left+C.left)/z.x,right:(S.right-N.right+C.right)/z.x}}l(Of,"detectOverflow");const SO=l(e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:a,rects:c,platform:f,elements:p,middlewareData:y}=t,{element:g,padding:w=0}=dr(e,t)||{};if(g==null)return{};const _=Sf(w),x={x:n,y:i},P=bf(a),C=Pf(P),O=await f.getDimensions(g),$=P==="y",N=$?"top":"left",b=$?"bottom":"right",E=$?"clientHeight":"clientWidth",z=c.reference[C]+c.reference[P]-x[P]-c.floating[C],S=x[P]-c.reference[P],j=await(f.getOffsetParent==null?void 0:f.getOffsetParent(g));let A=j?j[E]:0;(!A||!await(f.isElement==null?void 0:f.isElement(j)))&&(A=p.floating[E]||c.floating[C]);const D=z/2-S/2,Q=A/2-O[C]/2-1,X=Dt(_[N],Q),ae=Dt(_[b],Q),Z=X,te=A-O[C]-ae,K=A/2-O[C]/2+D,ie=Ic(Z,K,te),ue=!y.arrow&&Qn(a)!=null&&K!==ie&&c.reference[C]/2-(K<Z?X:ae)-O[C]/2<0,ne=ue?K<Z?K-Z:K-te:0;return{[P]:x[P]+ne,data:{[P]:ie,centerOffset:K-ie-ne,...ue&&{alignmentOffset:ne}},reset:ue}}}),"arrow$2"),OO=l(function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:a,middlewareData:c,rects:f,initialPlacement:p,platform:y,elements:g}=t,{mainAxis:w=!0,crossAxis:_=!0,fallbackPlacements:x,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:O=!0,...$}=dr(e,t);if((n=c.arrow)!=null&&n.alignmentOffset)return{};const N=Ft(a),b=pr(p),E=Ft(p)===p,z=await(y.isRTL==null?void 0:y.isRTL(g.floating)),S=x||(E||!O?[Js(p)]:wO(p)),j=C!=="none";!x&&j&&S.push(...xO(p,O,C,z));const A=[p,...S],D=await Of(t,$),Q=[];let X=((i=c.flip)==null?void 0:i.overflows)||[];if(w&&Q.push(D[N]),_){const K=vO(a,f,z);Q.push(D[K[0]],D[K[1]])}if(X=[...X,{placement:a,overflows:Q}],!Q.every(K=>K<=0)){var ae,Z;const K=(((ae=c.flip)==null?void 0:ae.index)||0)+1,ie=A[K];if(ie)return{data:{index:K,overflows:X},reset:{placement:ie}};let ue=(Z=X.filter(ne=>ne.overflows[0]<=0).sort((ne,W)=>ne.overflows[1]-W.overflows[1])[0])==null?void 0:Z.placement;if(!ue)switch(P){case"bestFit":{var te;const ne=(te=X.filter(W=>{if(j){const Y=pr(W.placement);return Y===b||Y==="y"}return!0}).map(W=>[W.placement,W.overflows.filter(Y=>Y>0).reduce((Y,R)=>Y+R,0)]).sort((W,Y)=>W[1]-Y[1])[0])==null?void 0:te[0];ne&&(ue=ne);break}case"initialPlacement":ue=p;break}if(a!==ue)return{reset:{placement:ue}}}return{}}}},"flip$1");function g0(e){const t=Dt(...e.map(c=>c.left)),n=Dt(...e.map(c=>c.top)),i=it(...e.map(c=>c.right)),a=it(...e.map(c=>c.bottom));return{x:t,y:n,width:i-t,height:a-n}}l(g0,"getBoundingRect");function EO(e){const t=e.slice().sort((a,c)=>a.y-c.y),n=[];let i=null;for(let a=0;a<t.length;a++){const c=t[a];!i||c.y-i.y>i.height/2?n.push([c]):n[n.length-1].push(c),i=c}return n.map(a=>An(g0(a)))}l(EO,"getRectsByLine");const kO=l(function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:i,rects:a,platform:c,strategy:f}=t,{padding:p=2,x:y,y:g}=dr(e,t),w=Array.from(await(c.getClientRects==null?void 0:c.getClientRects(i.reference))||[]),_=EO(w),x=An(g0(w)),P=Sf(p);function C(){if(_.length===2&&_[0].left>_[1].right&&y!=null&&g!=null)return _.find($=>y>$.left-P.left&&y<$.right+P.right&&g>$.top-P.top&&g<$.bottom+P.bottom)||x;if(_.length>=2){if(pr(n)==="y"){const X=_[0],ae=_[_.length-1],Z=Ft(n)==="top",te=X.top,K=ae.bottom,ie=Z?X.left:ae.left,ue=Z?X.right:ae.right,ne=ue-ie,W=K-te;return{top:te,bottom:K,left:ie,right:ue,width:ne,height:W,x:ie,y:te}}const $=Ft(n)==="left",N=it(..._.map(X=>X.right)),b=Dt(..._.map(X=>X.left)),E=_.filter(X=>$?X.left===b:X.right===N),z=E[0].top,S=E[E.length-1].bottom,j=b,A=N,D=A-j,Q=S-z;return{top:z,bottom:S,left:j,right:A,width:D,height:Q,x:j,y:z}}return x}l(C,"getBoundingClientRect");const O=await c.getElementRects({reference:{getBoundingClientRect:C},floating:i.floating,strategy:f});return a.reference.x!==O.reference.x||a.reference.y!==O.reference.y||a.reference.width!==O.reference.width||a.reference.height!==O.reference.height?{reset:{rects:O}}:{}}}},"inline$1");async function CO(e,t){const{placement:n,platform:i,elements:a}=e,c=await(i.isRTL==null?void 0:i.isRTL(a.floating)),f=Ft(n),p=Qn(n),y=pr(n)==="y",g=["left","top"].includes(f)?-1:1,w=c&&y?-1:1,_=dr(t,e);let{mainAxis:x,crossAxis:P,alignmentAxis:C}=typeof _=="number"?{mainAxis:_,crossAxis:0,alignmentAxis:null}:{mainAxis:_.mainAxis||0,crossAxis:_.crossAxis||0,alignmentAxis:_.alignmentAxis};return p&&typeof C=="number"&&(P=p==="end"?C*-1:C),y?{x:P*w,y:x*g}:{x:x*g,y:P*w}}l(CO,"convertValueToCoords");const RO=l(function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:a,y:c,placement:f,middlewareData:p}=t,y=await CO(t,e);return f===((n=p.offset)==null?void 0:n.placement)&&(i=p.arrow)!=null&&i.alignmentOffset?{}:{x:a+y.x,y:c+y.y,data:{...y,placement:f}}}}},"offset$1"),$O=l(function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:a}=t,{mainAxis:c=!0,crossAxis:f=!1,limiter:p={fn:l($=>{let{x:N,y:b}=$;return{x:N,y:b}},"fn")},...y}=dr(e,t),g={x:n,y:i},w=await Of(t,y),_=pr(Ft(a)),x=xf(_);let P=g[x],C=g[_];if(c){const $=x==="y"?"top":"left",N=x==="y"?"bottom":"right",b=P+w[$],E=P-w[N];P=Ic(b,P,E)}if(f){const $=_==="y"?"top":"left",N=_==="y"?"bottom":"right",b=C+w[$],E=C-w[N];C=Ic(b,C,E)}const O=p.fn({...t,[x]:P,[_]:C});return{...O,data:{x:O.x-n,y:O.y-i,enabled:{[x]:c,[_]:f}}}}}},"shift$1"),zO=l(function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:i,placement:a,rects:c,middlewareData:f}=t,{offset:p=0,mainAxis:y=!0,crossAxis:g=!0}=dr(e,t),w={x:n,y:i},_=pr(a),x=xf(_);let P=w[x],C=w[_];const O=dr(p,t),$=typeof O=="number"?{mainAxis:O,crossAxis:0}:{mainAxis:0,crossAxis:0,...O};if(y){const E=x==="y"?"height":"width",z=c.reference[x]-c.floating[E]+$.mainAxis,S=c.reference[x]+c.reference[E]-$.mainAxis;P<z?P=z:P>S&&(P=S)}if(g){var N,b;const E=x==="y"?"width":"height",z=["top","left"].includes(Ft(a)),S=c.reference[_]-c.floating[E]+(z&&((N=f.offset)==null?void 0:N[_])||0)+(z?0:$.crossAxis),j=c.reference[_]+c.reference[E]+(z?0:((b=f.offset)==null?void 0:b[_])||0)-(z?$.crossAxis:0);C<S?C=S:C>j&&(C=j)}return{[x]:P,[_]:C}}}},"limitShift$1"),MO=l(function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,i;const{placement:a,rects:c,platform:f,elements:p}=t,{apply:y=l(()=>{},"apply"),...g}=dr(e,t),w=await Of(t,g),_=Ft(a),x=Qn(a),P=pr(a)==="y",{width:C,height:O}=c.floating;let $,N;_==="top"||_==="bottom"?($=_,N=x===(await(f.isRTL==null?void 0:f.isRTL(p.floating))?"start":"end")?"left":"right"):(N=_,$=x==="end"?"top":"bottom");const b=O-w.top-w.bottom,E=C-w.left-w.right,z=Dt(O-w[$],b),S=Dt(C-w[N],E),j=!t.middlewareData.shift;let A=z,D=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(D=E),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(A=b),j&&!x){const X=it(w.left,0),ae=it(w.right,0),Z=it(w.top,0),te=it(w.bottom,0);P?D=C-2*(X!==0||ae!==0?X+ae:it(w.left,w.right)):A=O-2*(Z!==0||te!==0?Z+te:it(w.top,w.bottom))}await y({...t,availableWidth:D,availableHeight:A});const Q=await f.getDimensions(p.floating);return C!==Q.width||O!==Q.height?{reset:{rects:!0}}:{}}}},"size$1");function Ql(){return typeof window<"u"}l(Ql,"hasWindow");function Gn(e){return v0(e)?(e.nodeName||"").toLowerCase():"#document"}l(Gn,"getNodeName");function xt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}l(xt,"getWindow$1");function er(e){var t;return(t=(v0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}l(er,"getDocumentElement");function v0(e){return Ql()?e instanceof Node||e instanceof xt(e).Node:!1}l(v0,"isNode");function At(e){return Ql()?e instanceof Element||e instanceof xt(e).Element:!1}l(At,"isElement$1");function Zt(e){return Ql()?e instanceof HTMLElement||e instanceof xt(e).HTMLElement:!1}l(Zt,"isHTMLElement$1");function xy(e){return!Ql()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof xt(e).ShadowRoot}l(xy,"isShadowRoot$1");function ei(e){const{overflow:t,overflowX:n,overflowY:i,display:a}=Bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(a)}l(ei,"isOverflowElement");function NO(e){return["table","td","th"].includes(Gn(e))}l(NO,"isTableElement");function Gl(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}l(Gl,"isTopLayer");function Ef(e){const t=kf(),n=At(e)?Bt(e):e;return["transform","translate","scale","rotate","perspective"].some(i=>n[i]?n[i]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(i=>(n.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(n.contain||"").includes(i))}l(Ef,"isContainingBlock");function jO(e){let t=Fr(e);for(;Zt(t)&&!Bn(t);){if(Ef(t))return t;if(Gl(t))return null;t=Fr(t)}return null}l(jO,"getContainingBlock");function kf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}l(kf,"isWebKit");function Bn(e){return["html","body","#document"].includes(Gn(e))}l(Bn,"isLastTraversableNode");function Bt(e){return xt(e).getComputedStyle(e)}l(Bt,"getComputedStyle");function Kl(e){return At(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}l(Kl,"getNodeScroll");function Fr(e){if(Gn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||xy(e)&&e.host||er(e);return xy(t)?t.host:t}l(Fr,"getParentNode");function w0(e){const t=Fr(e);return Bn(t)?e.ownerDocument?e.ownerDocument.body:e.body:Zt(t)&&ei(t)?t:w0(t)}l(w0,"getNearestOverflowAncestor");function fr(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=w0(e),c=a===((i=e.ownerDocument)==null?void 0:i.body),f=xt(a);if(c){const p=Dc(f);return t.concat(f,f.visualViewport||[],ei(a)?a:[],p&&n?fr(p):[])}return t.concat(a,fr(a,[],n))}l(fr,"getOverflowAncestors");function Dc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}l(Dc,"getFrameElement");function _0(e){const t=Bt(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const a=Zt(e),c=a?e.offsetWidth:n,f=a?e.offsetHeight:i,p=Xs(n)!==c||Xs(i)!==f;return p&&(n=c,i=f),{width:n,height:i,$:p}}l(_0,"getCssDimensions");function Cf(e){return At(e)?e:e.contextElement}l(Cf,"unwrapElement");function In(e){const t=Cf(e);if(!Zt(t))return Jt(1);const n=t.getBoundingClientRect(),{width:i,height:a,$:c}=_0(t);let f=(c?Xs(n.width):n.width)/i,p=(c?Xs(n.height):n.height)/a;return(!f||!Number.isFinite(f))&&(f=1),(!p||!Number.isFinite(p))&&(p=1),{x:f,y:p}}l(In,"getScale");const LO=Jt(0);function x0(e){const t=xt(e);return!kf()||!t.visualViewport?LO:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}l(x0,"getVisualOffsets");function IO(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==xt(e)?!1:t}l(IO,"shouldAddVisualOffsets");function nn(e,t,n,i){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),c=Cf(e);let f=Jt(1);t&&(i?At(i)&&(f=In(i)):f=In(e));const p=IO(c,n,i)?x0(c):Jt(0);let y=(a.left+p.x)/f.x,g=(a.top+p.y)/f.y,w=a.width/f.x,_=a.height/f.y;if(c){const x=xt(c),P=i&&At(i)?xt(i):i;let C=x,O=Dc(C);for(;O&&i&&P!==C;){const $=In(O),N=O.getBoundingClientRect(),b=Bt(O),E=N.left+(O.clientLeft+parseFloat(b.paddingLeft))*$.x,z=N.top+(O.clientTop+parseFloat(b.paddingTop))*$.y;y*=$.x,g*=$.y,w*=$.x,_*=$.y,y+=E,g+=z,C=xt(O),O=Dc(C)}}return An({width:w,height:_,x:y,y:g})}l(nn,"getBoundingClientRect");function Rf(e,t){const n=Kl(e).scrollLeft;return t?t.left+n:nn(er(e)).left+n}l(Rf,"getWindowScrollBarX");function P0(e,t,n){n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=i.left+t.scrollLeft-(n?0:Rf(e,i)),c=i.top+t.scrollTop;return{x:a,y:c}}l(P0,"getHTMLOffset");function TO(e){let{elements:t,rect:n,offsetParent:i,strategy:a}=e;const c=a==="fixed",f=er(i),p=t?Gl(t.floating):!1;if(i===f||p&&c)return n;let y={scrollLeft:0,scrollTop:0},g=Jt(1);const w=Jt(0),_=Zt(i);if((_||!_&&!c)&&((Gn(i)!=="body"||ei(f))&&(y=Kl(i)),Zt(i))){const P=nn(i);g=In(i),w.x=P.x+i.clientLeft,w.y=P.y+i.clientTop}const x=f&&!_&&!c?P0(f,y,!0):Jt(0);return{width:n.width*g.x,height:n.height*g.y,x:n.x*g.x-y.scrollLeft*g.x+w.x+x.x,y:n.y*g.y-y.scrollTop*g.y+w.y+x.y}}l(TO,"convertOffsetParentRelativeRectToViewportRelativeRect");function DO(e){return Array.from(e.getClientRects())}l(DO,"getClientRects");function FO(e){const t=er(e),n=Kl(e),i=e.ownerDocument.body,a=it(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),c=it(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let f=-n.scrollLeft+Rf(e);const p=-n.scrollTop;return Bt(i).direction==="rtl"&&(f+=it(t.clientWidth,i.clientWidth)-a),{width:a,height:c,x:f,y:p}}l(FO,"getDocumentRect");function AO(e,t){const n=xt(e),i=er(e),a=n.visualViewport;let c=i.clientWidth,f=i.clientHeight,p=0,y=0;if(a){c=a.width,f=a.height;const g=kf();(!g||g&&t==="fixed")&&(p=a.offsetLeft,y=a.offsetTop)}return{width:c,height:f,x:p,y}}l(AO,"getViewportRect");function BO(e,t){const n=nn(e,!0,t==="fixed"),i=n.top+e.clientTop,a=n.left+e.clientLeft,c=Zt(e)?In(e):Jt(1),f=e.clientWidth*c.x,p=e.clientHeight*c.y,y=a*c.x,g=i*c.y;return{width:f,height:p,x:y,y:g}}l(BO,"getInnerBoundingClientRect");function Py(e,t,n){let i;if(t==="viewport")i=AO(e,n);else if(t==="document")i=FO(er(e));else if(At(t))i=BO(t,n);else{const a=x0(e);i={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return An(i)}l(Py,"getClientRectFromClippingAncestor");function b0(e,t){const n=Fr(e);return n===t||!At(n)||Bn(n)?!1:Bt(n).position==="fixed"||b0(n,t)}l(b0,"hasFixedPositionAncestor");function WO(e,t){const n=t.get(e);if(n)return n;let i=fr(e,[],!1).filter(p=>At(p)&&Gn(p)!=="body"),a=null;const c=Bt(e).position==="fixed";let f=c?Fr(e):e;for(;At(f)&&!Bn(f);){const p=Bt(f),y=Ef(f);!y&&p.position==="fixed"&&(a=null),(c?!y&&!a:!y&&p.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||ei(f)&&!y&&b0(e,f))?i=i.filter(w=>w!==f):a=p,f=Fr(f)}return t.set(e,i),i}l(WO,"getClippingElementAncestors");function HO(e){let{element:t,boundary:n,rootBoundary:i,strategy:a}=e;const f=[...n==="clippingAncestors"?Gl(t)?[]:WO(t,this._c):[].concat(n),i],p=f[0],y=f.reduce((g,w)=>{const _=Py(t,w,a);return g.top=it(_.top,g.top),g.right=Dt(_.right,g.right),g.bottom=Dt(_.bottom,g.bottom),g.left=it(_.left,g.left),g},Py(t,p,a));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}l(HO,"getClippingRect");function UO(e){const{width:t,height:n}=_0(e);return{width:t,height:n}}l(UO,"getDimensions");function VO(e,t,n){const i=Zt(t),a=er(t),c=n==="fixed",f=nn(e,!0,c,t);let p={scrollLeft:0,scrollTop:0};const y=Jt(0);if(i||!i&&!c)if((Gn(t)!=="body"||ei(a))&&(p=Kl(t)),i){const x=nn(t,!0,c,t);y.x=x.x+t.clientLeft,y.y=x.y+t.clientTop}else a&&(y.x=Rf(a));const g=a&&!i&&!c?P0(a,p):Jt(0),w=f.left+p.scrollLeft-y.x-g.x,_=f.top+p.scrollTop-y.y-g.y;return{x:w,y:_,width:f.width,height:f.height}}l(VO,"getRectRelativeToOffsetParent");function oc(e){return Bt(e).position==="static"}l(oc,"isStaticPositioned");function by(e,t){if(!Zt(e)||Bt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return er(e)===n&&(n=n.ownerDocument.body),n}l(by,"getTrueOffsetParent");function S0(e,t){const n=xt(e);if(Gl(e))return n;if(!Zt(e)){let a=Fr(e);for(;a&&!Bn(a);){if(At(a)&&!oc(a))return a;a=Fr(a)}return n}let i=by(e,t);for(;i&&NO(i)&&oc(i);)i=by(i,t);return i&&Bn(i)&&oc(i)&&!Ef(i)?n:i||jO(e)||n}l(S0,"getOffsetParent");const qO=l(async function(e){const t=this.getOffsetParent||S0,n=this.getDimensions,i=await n(e.floating);return{reference:VO(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},"getElementRects");function QO(e){return Bt(e).direction==="rtl"}l(QO,"isRTL");const GO={convertOffsetParentRelativeRectToViewportRelativeRect:TO,getDocumentElement:er,getClippingRect:HO,getOffsetParent:S0,getElementRects:qO,getClientRects:DO,getDimensions:UO,getScale:In,isElement:At,isRTL:QO};function O0(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}l(O0,"rectsAreEqual");function KO(e,t){let n=null,i;const a=er(e);function c(){var p;clearTimeout(i),(p=n)==null||p.disconnect(),n=null}l(c,"cleanup");function f(p,y){p===void 0&&(p=!1),y===void 0&&(y=1),c();const g=e.getBoundingClientRect(),{left:w,top:_,width:x,height:P}=g;if(p||t(),!x||!P)return;const C=gs(_),O=gs(a.clientWidth-(w+x)),$=gs(a.clientHeight-(_+P)),N=gs(w),E={rootMargin:-C+"px "+-O+"px "+-$+"px "+-N+"px",threshold:it(0,Dt(1,y))||1};let z=!0;function S(j){const A=j[0].intersectionRatio;if(A!==y){if(!z)return f();A?f(!1,A):i=setTimeout(()=>{f(!1,1e-7)},1e3)}A===1&&!O0(g,e.getBoundingClientRect())&&f(),z=!1}l(S,"handleObserve");try{n=new IntersectionObserver(S,{...E,root:a.ownerDocument})}catch{n=new IntersectionObserver(S,E)}n.observe(e)}return l(f,"refresh"),f(!0),c}l(KO,"observeMove");function YO(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:p=typeof IntersectionObserver=="function",animationFrame:y=!1}=i,g=Cf(e),w=a||c?[...g?fr(g):[],...fr(t)]:[];w.forEach(N=>{a&&N.addEventListener("scroll",n,{passive:!0}),c&&N.addEventListener("resize",n)});const _=g&&p?KO(g,n):null;let x=-1,P=null;f&&(P=new ResizeObserver(N=>{let[b]=N;b&&b.target===g&&P&&(P.unobserve(t),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var E;(E=P)==null||E.observe(t)})),n()}),g&&!y&&P.observe(g),P.observe(t));let C,O=y?nn(e):null;y&&$();function $(){const N=nn(e);O&&!O0(O,N)&&n(),O=N,C=requestAnimationFrame($)}return l($,"frameLoop"),n(),()=>{var N;w.forEach(b=>{a&&b.removeEventListener("scroll",n),c&&b.removeEventListener("resize",n)}),_==null||_(),(N=P)==null||N.disconnect(),P=null,y&&cancelAnimationFrame(C)}}l(YO,"autoUpdate");const XO=RO,E0=$O,JO=OO,C3=MO,Sy=SO,ZO=kO,R3=zO,eE=l((e,t,n)=>{const i=new Map,a={platform:GO,...n},c={...a.platform,_c:i};return bO(e,t,{...a,platform:c})},"computePosition"),tE=l(e=>{const{element:t,padding:n}=e;function i(a){return Object.prototype.hasOwnProperty.call(a,"current")}return l(i,"isRef"),{name:"arrow",options:e,fn(a){return i(t)?t.current!=null?Sy({element:t.current,padding:n}).fn(a):{}:t?Sy({element:t,padding:n}).fn(a):{}}}},"arrow");var $s=typeof document<"u"?m.useLayoutEffect:m.useEffect;function Zs(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,i,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(i=n;i--!==0;)if(!Zs(e[i],t[i]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[i]))return!1;for(i=n;i--!==0;){const c=a[i];if(!(c==="_owner"&&e.$$typeof)&&!Zs(e[c],t[c]))return!1}return!0}return e!==e&&t!==t}l(Zs,"deepEqual");function Oy(e){const t=m.useRef(e);return $s(()=>{t.current=e}),t}l(Oy,"useLatestRef$1");function rE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:a,whileElementsMounted:c,open:f}=e,[p,y]=m.useState({x:null,y:null,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,w]=m.useState(i);Zs(g,i)||w(i);const _=m.useRef(null),x=m.useRef(null),P=m.useRef(p),C=Oy(c),O=Oy(a),[$,N]=m.useState(null),[b,E]=m.useState(null),z=m.useCallback(X=>{_.current!==X&&(_.current=X,N(X))},[]),S=m.useCallback(X=>{x.current!==X&&(x.current=X,E(X))},[]),j=m.useCallback(()=>{if(!_.current||!x.current)return;const X={placement:t,strategy:n,middleware:g};O.current&&(X.platform=O.current),eE(_.current,x.current,X).then(ae=>{const Z={...ae,isPositioned:!0};A.current&&!Zs(P.current,Z)&&(P.current=Z,wf.flushSync(()=>{y(Z)}))})},[g,t,n,O]);$s(()=>{f===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,y(X=>({...X,isPositioned:!1})))},[f]);const A=m.useRef(!1);$s(()=>(A.current=!0,()=>{A.current=!1}),[]),$s(()=>{if($&&b){if(C.current)return C.current($,b,j);j()}},[$,b,j,C]);const D=m.useMemo(()=>({reference:_,floating:x,setReference:z,setFloating:S}),[z,S]),Q=m.useMemo(()=>({reference:$,floating:b}),[$,b]);return m.useMemo(()=>({...p,update:j,refs:D,elements:Q,reference:z,floating:S}),[p,j,D,Q,z,S])}l(rE,"useFloating$1");var Wn=typeof document<"u"?m.useLayoutEffect:m.useEffect;let ic=!1,nE=0;const Ey=l(()=>"floating-ui-"+nE++,"genId");function oE(){const[e,t]=m.useState(()=>ic?Ey():void 0);return Wn(()=>{e==null&&t(Ey())},[]),m.useEffect(()=>{ic||(ic=!0)},[]),e}l(oE,"useFloatingId");const iE=Ls.useId,ky=iE||oE;function sE(){const e=new Map;return{emit(t,n){var i;(i=e.get(t))==null||i.forEach(a=>a(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){e.set(t,(e.get(t)||[]).filter(i=>i!==n))}}}l(sE,"createPubSub");const lE=m.createContext(null),aE=m.createContext(null),k0=l(()=>{var e;return((e=m.useContext(lE))==null?void 0:e.id)||null},"useFloatingParentNodeId"),$f=l(()=>m.useContext(aE),"useFloatingTree");function Tr(e){return(e==null?void 0:e.ownerDocument)||document}l(Tr,"getDocument");function uE(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}l(uE,"getPlatform");function cE(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:i}=t;return n+"/"+i}).join(" "):navigator.userAgent}l(cE,"getUserAgent");function zf(e){return Tr(e).defaultView||window}l(zf,"getWindow");function Yt(e){return e?e instanceof zf(e).Element:!1}l(Yt,"isElement");function C0(e){return e?e instanceof zf(e).HTMLElement:!1}l(C0,"isHTMLElement");function fE(e){if(typeof ShadowRoot>"u")return!1;const t=zf(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}l(fE,"isShadowRoot");function dE(e){if(e.mozInputSource===0&&e.isTrusted)return!0;const t=/Android/i;return(t.test(uE())||t.test(cE()))&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}l(dE,"isVirtualClick");function pE(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType!=="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0}l(pE,"isVirtualPointerEvent");function R0(e,t){const n=["mouse","pen"];return n.push("",void 0),n.includes(e)}l(R0,"isMouseLikePointerType");function Cy(e){const t=m.useRef(e);return Wn(()=>{t.current=e}),t}l(Cy,"useLatestRef");const Ry="data-floating-ui-safe-polygon";function zs(e,t,n){return n&&!R0(n)?0:typeof e=="number"?e:e==null?void 0:e[t]}l(zs,"getDelay");const hE=l(function(e,t){let{enabled:n=!0,delay:i=0,handleClose:a=null,mouseOnly:c=!1,restMs:f=0,move:p=!0}=t===void 0?{}:t;const{open:y,onOpenChange:g,dataRef:w,events:_,elements:{domReference:x,floating:P},refs:C}=e,O=$f(),$=k0(),N=Cy(a),b=Cy(i),E=m.useRef(),z=m.useRef(),S=m.useRef(),j=m.useRef(),A=m.useRef(!0),D=m.useRef(!1),Q=m.useRef(()=>{}),X=m.useCallback(()=>{var K;const ie=(K=w.current.openEvent)==null?void 0:K.type;return(ie==null?void 0:ie.includes("mouse"))&&ie!=="mousedown"},[w]);m.useEffect(()=>{if(!n)return;function K(){clearTimeout(z.current),clearTimeout(j.current),A.current=!0}return l(K,"onDismiss"),_.on("dismiss",K),()=>{_.off("dismiss",K)}},[n,_]),m.useEffect(()=>{if(!n||!N.current||!y)return;function K(){X()&&g(!1)}l(K,"onLeave");const ie=Tr(P).documentElement;return ie.addEventListener("mouseleave",K),()=>{ie.removeEventListener("mouseleave",K)}},[P,y,g,n,N,w,X]);const ae=m.useCallback(function(K){K===void 0&&(K=!0);const ie=zs(b.current,"close",E.current);ie&&!S.current?(clearTimeout(z.current),z.current=setTimeout(()=>g(!1),ie)):K&&(clearTimeout(z.current),g(!1))},[b,g]),Z=m.useCallback(()=>{Q.current(),S.current=void 0},[]),te=m.useCallback(()=>{if(D.current){const K=Tr(C.floating.current).body;K.style.pointerEvents="",K.removeAttribute(Ry),D.current=!1}},[C]);return m.useEffect(()=>{if(!n)return;function K(){return w.current.openEvent?["click","mousedown"].includes(w.current.openEvent.type):!1}l(K,"isClickLikeOpenEvent");function ie(W){if(clearTimeout(z.current),A.current=!1,c&&!R0(E.current)||f>0&&zs(b.current,"open")===0)return;w.current.openEvent=W;const Y=zs(b.current,"open",E.current);Y?z.current=setTimeout(()=>{g(!0)},Y):g(!0)}l(ie,"onMouseEnter");function ue(W){if(K())return;Q.current();const Y=Tr(P);if(clearTimeout(j.current),N.current){y||clearTimeout(z.current),S.current=N.current({...e,tree:O,x:W.clientX,y:W.clientY,onClose(){te(),Z(),ae()}});const R=S.current;Y.addEventListener("mousemove",R),Q.current=()=>{Y.removeEventListener("mousemove",R)};return}ae()}l(ue,"onMouseLeave");function ne(W){K()||N.current==null||N.current({...e,tree:O,x:W.clientX,y:W.clientY,onClose(){te(),Z(),ae()}})(W)}if(l(ne,"onScrollMouseLeave"),Yt(x)){const W=x;return y&&W.addEventListener("mouseleave",ne),P==null||P.addEventListener("mouseleave",ne),p&&W.addEventListener("mousemove",ie,{once:!0}),W.addEventListener("mouseenter",ie),W.addEventListener("mouseleave",ue),()=>{y&&W.removeEventListener("mouseleave",ne),P==null||P.removeEventListener("mouseleave",ne),p&&W.removeEventListener("mousemove",ie),W.removeEventListener("mouseenter",ie),W.removeEventListener("mouseleave",ue)}}},[x,P,n,e,c,f,p,ae,Z,te,g,y,O,b,N,w]),Wn(()=>{var K;if(n&&y&&(K=N.current)!=null&&K.__options.blockPointerEvents&&X()){const ne=Tr(P).body;if(ne.setAttribute(Ry,""),ne.style.pointerEvents="none",D.current=!0,Yt(x)&&P){var ie,ue;const W=x,Y=O==null||(ie=O.nodesRef.current.find(R=>R.id===$))==null||(ue=ie.context)==null?void 0:ue.elements.floating;return Y&&(Y.style.pointerEvents=""),W.style.pointerEvents="auto",P.style.pointerEvents="auto",()=>{W.style.pointerEvents="",P.style.pointerEvents=""}}}},[n,y,$,P,x,O,N,w,X]),Wn(()=>{y||(E.current=void 0,Z(),te())},[y,Z,te]),m.useEffect(()=>()=>{Z(),clearTimeout(z.current),clearTimeout(j.current),te()},[n,Z,te]),m.useMemo(()=>{if(!n)return{};function K(ie){E.current=ie.pointerType}return l(K,"setPointerRef"),{reference:{onPointerDown:K,onPointerEnter:K,onMouseMove(){y||f===0||(clearTimeout(j.current),j.current=setTimeout(()=>{A.current||g(!0)},f))}},floating:{onMouseEnter(){clearTimeout(z.current)},onMouseLeave(){_.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),ae(!1)}}}},[_,n,f,y,g,ae])},"useHover"),$0=m.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:l(()=>{},"setCurrentId"),setState:l(()=>{},"setState"),isInstantPhase:!1}),z0=l(()=>m.useContext($0),"useDelayGroupContext"),mE=l(e=>{let{children:t,delay:n,timeoutMs:i=0}=e;const[a,c]=m.useReducer((y,g)=>({...y,...g}),{delay:n,timeoutMs:i,initialDelay:n,currentId:null,isInstantPhase:!1}),f=m.useRef(null),p=m.useCallback(y=>{c({currentId:y})},[]);return Wn(()=>{a.currentId?f.current===null?f.current=a.currentId:c({isInstantPhase:!0}):(c({isInstantPhase:!1}),f.current=null)},[a.currentId]),B($0.Provider,{value:m.useMemo(()=>({...a,setState:c,setCurrentId:p}),[a,c,p]),children:t})},"FloatingDelayGroup"),yE=l((e,t)=>{let{open:n,onOpenChange:i}=e,{id:a}=t;const{currentId:c,setCurrentId:f,initialDelay:p,setState:y,timeoutMs:g}=z0();m.useEffect(()=>{c&&(y({delay:{open:1,close:zs(p,"close")}}),c!==a&&i(!1))},[a,i,y,c,p]),m.useEffect(()=>{function w(){i(!1),y({delay:p,currentId:null})}if(l(w,"unset"),!n&&c===a)if(g){const _=window.setTimeout(w,g);return()=>{clearTimeout(_)}}else w()},[n,y,c,a,i,p,g]),m.useEffect(()=>{n&&f(a)},[n,f,a])},"useDelayGroup");function gE(e){let t=e.activeElement;for(;((n=t)==null||(i=n.shadowRoot)==null?void 0:i.activeElement)!=null;){var n,i;t=t.shadowRoot.activeElement}return t}l(gE,"activeElement$1");function $y(e,t){if(!e||!t)return!1;const n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&fE(n)){let i=t;do{if(i&&e===i)return!0;i=i.parentNode||i.host}while(i)}return!1}l($y,"contains");function sc(e,t){let n=e.filter(a=>{var c;return a.parentId===t&&((c=a.context)==null?void 0:c.open)})||[],i=n;for(;i.length;)i=e.filter(a=>{var c;return(c=i)==null?void 0:c.some(f=>{var p;return a.parentId===f.id&&((p=a.context)==null?void 0:p.open)})})||[],n=n.concat(i);return n}l(sc,"getChildren");function vE(e){return"composedPath"in e?e.composedPath()[0]:e.target}l(vE,"getTarget");const wE=Ls.useInsertionEffect,_E=wE||(e=>e());function M0(e){const t=m.useRef(()=>{});return _E(()=>{t.current=e}),m.useCallback(function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return t.current==null?void 0:t.current(...i)},[])}l(M0,"useEvent");function Ms(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}l(Ms,"isEventTargetWithin");const xE={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},PE={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},bE=l(function(e){var t,n;return e===void 0&&(e=!0),{escapeKeyBubbles:typeof e=="boolean"?e:(t=e.escapeKey)!=null?t:!0,outsidePressBubbles:typeof e=="boolean"?e:(n=e.outsidePress)!=null?n:!0}},"normalizeBubblesProp"),SE=l(function(e,t){let{open:n,onOpenChange:i,events:a,nodeId:c,elements:{reference:f,domReference:p,floating:y},dataRef:g}=e,{enabled:w=!0,escapeKey:_=!0,outsidePress:x=!0,outsidePressEvent:P="pointerdown",referencePress:C=!1,referencePressEvent:O="pointerdown",ancestorScroll:$=!1,bubbles:N=!0}=t===void 0?{}:t;const b=$f(),E=k0()!=null,z=M0(typeof x=="function"?x:()=>!1),S=typeof x=="function"?z:x,j=m.useRef(!1),{escapeKeyBubbles:A,outsidePressBubbles:D}=bE(N);return m.useEffect(()=>{if(!n||!w)return;g.current.__escapeKeyBubbles=A,g.current.__outsidePressBubbles=D;function Q(K){if(K.key==="Escape"){const ie=b?sc(b.nodesRef.current,c):[];if(ie.length>0){let ue=!0;if(ie.forEach(ne=>{var W;if((W=ne.context)!=null&&W.open&&!ne.context.dataRef.current.__escapeKeyBubbles){ue=!1;return}}),!ue)return}a.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),i(!1)}}l(Q,"onKeyDown");function X(K){const ie=j.current;if(j.current=!1,ie||typeof S=="function"&&!S(K))return;const ue=vE(K);if(C0(ue)&&y){const Y=y.ownerDocument.defaultView||window,R=ue.scrollWidth>ue.clientWidth,H=ue.scrollHeight>ue.clientHeight;let se=H&&K.offsetX>ue.clientWidth;if(H&&Y.getComputedStyle(ue).direction==="rtl"&&(se=K.offsetX<=ue.offsetWidth-ue.clientWidth),se||R&&K.offsetY>ue.clientHeight)return}const ne=b&&sc(b.nodesRef.current,c).some(Y=>{var R;return Ms(K,(R=Y.context)==null?void 0:R.elements.floating)});if(Ms(K,y)||Ms(K,p)||ne)return;const W=b?sc(b.nodesRef.current,c):[];if(W.length>0){let Y=!0;if(W.forEach(R=>{var H;if((H=R.context)!=null&&H.open&&!R.context.dataRef.current.__outsidePressBubbles){Y=!1;return}}),!Y)return}a.emit("dismiss",{type:"outsidePress",data:{returnFocus:E?{preventScroll:!0}:dE(K)||pE(K)}}),i(!1)}l(X,"onOutsidePress");function ae(){i(!1)}l(ae,"onScroll");const Z=Tr(y);_&&Z.addEventListener("keydown",Q),S&&Z.addEventListener(P,X);let te=[];return $&&(Yt(p)&&(te=fr(p)),Yt(y)&&(te=te.concat(fr(y))),!Yt(f)&&f&&f.contextElement&&(te=te.concat(fr(f.contextElement)))),te=te.filter(K=>{var ie;return K!==((ie=Z.defaultView)==null?void 0:ie.visualViewport)}),te.forEach(K=>{K.addEventListener("scroll",ae,{passive:!0})}),()=>{_&&Z.removeEventListener("keydown",Q),S&&Z.removeEventListener(P,X),te.forEach(K=>{K.removeEventListener("scroll",ae)})}},[g,y,p,f,_,S,P,a,b,c,n,i,$,w,A,D,E]),m.useEffect(()=>{j.current=!1},[S,P]),m.useMemo(()=>w?{reference:{[xE[O]]:()=>{C&&(a.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),i(!1))}},floating:{[PE[P]]:()=>{j.current=!0}}}:{},[w,a,C,P,O,i])},"useDismiss"),OE=l(function(e,t){let{open:n,onOpenChange:i,dataRef:a,events:c,refs:f,elements:{floating:p,domReference:y}}=e,{enabled:g=!0,keyboardOnly:w=!0}=t===void 0?{}:t;const _=m.useRef(""),x=m.useRef(!1),P=m.useRef();return m.useEffect(()=>{if(!g)return;const O=Tr(p).defaultView||window;function $(){!n&&C0(y)&&y===gE(Tr(y))&&(x.current=!0)}return l($,"onBlur"),O.addEventListener("blur",$),()=>{O.removeEventListener("blur",$)}},[p,y,n,g]),m.useEffect(()=>{if(!g)return;function C(O){(O.type==="referencePress"||O.type==="escapeKey")&&(x.current=!0)}return l(C,"onDismiss"),c.on("dismiss",C),()=>{c.off("dismiss",C)}},[c,g]),m.useEffect(()=>()=>{clearTimeout(P.current)},[]),m.useMemo(()=>g?{reference:{onPointerDown(C){let{pointerType:O}=C;_.current=O,x.current=!!(O&&w)},onMouseLeave(){x.current=!1},onFocus(C){var O;x.current||C.type==="focus"&&((O=a.current.openEvent)==null?void 0:O.type)==="mousedown"&&a.current.openEvent&&Ms(a.current.openEvent,y)||(a.current.openEvent=C.nativeEvent,i(!0))},onBlur(C){x.current=!1;const O=C.relatedTarget,$=Yt(O)&&O.hasAttribute("data-floating-ui-focus-guard")&&O.getAttribute("data-type")==="outside";P.current=setTimeout(()=>{$y(f.floating.current,O)||$y(y,O)||$||i(!1)})}}}:{},[g,w,y,f,a,i])},"useFocus"),EE=l(function(e,t){let{open:n}=e,{enabled:i=!0,role:a="dialog"}=t===void 0?{}:t;const c=ky(),f=ky();return m.useMemo(()=>{const p={id:c,role:a};return i?a==="tooltip"?{reference:{"aria-describedby":n?c:void 0},floating:p}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":a==="alertdialog"?"dialog":a,"aria-controls":n?c:void 0,...a==="listbox"&&{role:"combobox"},...a==="menu"&&{id:f}},floating:{...p,...a==="menu"&&{"aria-labelledby":f}}}:{}},[i,a,n,c,f])},"useRole");function N0(e){e===void 0&&(e={});const{open:t=!1,onOpenChange:n,nodeId:i}=e,a=rE(e),c=$f(),f=m.useRef(null),p=m.useRef({}),y=m.useState(()=>sE())[0],[g,w]=m.useState(null),_=m.useCallback(N=>{const b=Yt(N)?{getBoundingClientRect:l(()=>N.getBoundingClientRect(),"getBoundingClientRect"),contextElement:N}:N;a.refs.setReference(b)},[a.refs]),x=m.useCallback(N=>{(Yt(N)||N===null)&&(f.current=N,w(N)),(Yt(a.refs.reference.current)||a.refs.reference.current===null||N!==null&&!Yt(N))&&a.refs.setReference(N)},[a.refs]),P=m.useMemo(()=>({...a.refs,setReference:x,setPositionReference:_,domReference:f}),[a.refs,x,_]),C=m.useMemo(()=>({...a.elements,domReference:g}),[a.elements,g]),O=M0(n),$=m.useMemo(()=>({...a,refs:P,elements:C,dataRef:p,nodeId:i,events:y,open:t,onOpenChange:O}),[a,i,y,t,O,P,C]);return Wn(()=>{const N=c==null?void 0:c.nodesRef.current.find(b=>b.id===i);N&&(N.context=$)}),m.useMemo(()=>({...a,context:$,refs:P,reference:x,positionReference:_}),[a,P,$,x,_])}l(N0,"useFloating");function lc(e,t,n){const i=new Map;return{...n==="floating"&&{tabIndex:-1},...e,...t.map(a=>a?a[n]:null).concat(e).reduce((a,c)=>(c&&Object.entries(c).forEach(f=>{let[p,y]=f;if(p.indexOf("on")===0){if(i.has(p)||i.set(p,[]),typeof y=="function"){var g;(g=i.get(p))==null||g.push(y),a[p]=function(){for(var w,_=arguments.length,x=new Array(_),P=0;P<_;P++)x[P]=arguments[P];(w=i.get(p))==null||w.forEach(C=>C(...x))}}}else a[p]=y}),a),{})}}l(lc,"mergeProps");const kE=l(function(e){e===void 0&&(e=[]);const t=e,n=m.useCallback(c=>lc(c,e,"reference"),t),i=m.useCallback(c=>lc(c,e,"floating"),t),a=m.useCallback(c=>lc(c,e,"item"),e.map(c=>c==null?void 0:c.item));return m.useMemo(()=>({getReferenceProps:n,getFloatingProps:i,getItemProps:a}),[n,i,a])},"useInteractions");function CE({opened:e,floating:t,positionDependencies:n}){const[i,a]=m.useState(0);m.useEffect(()=>{if(t.refs.reference.current&&t.refs.floating.current)return YO(t.refs.reference.current,t.refs.floating.current,t.update)},[t.refs.reference.current,t.refs.floating.current,e,i]),As(()=>{t.update()},n),As(()=>{a(c=>c+1)},[e])}l(CE,"useFloatingAutoUpdate");var RE=Object.defineProperty,zy=Object.getOwnPropertySymbols,$E=Object.prototype.hasOwnProperty,zE=Object.prototype.propertyIsEnumerable,My=l((e,t,n)=>t in e?RE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$D"),Mn=l((e,t)=>{for(var n in t||(t={}))$E.call(t,n)&&My(e,n,t[n]);if(zy)for(var n of zy(t))zE.call(t,n)&&My(e,n,t[n]);return e},"__spreadValues$D");const Ny={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function ME({transition:e,state:t,duration:n,timingFunction:i}){const a={transitionDuration:`${n}ms`,transitionTimingFunction:i};return typeof e=="string"?e in ys?Mn(Mn(Mn({transitionProperty:ys[e].transitionProperty},a),ys[e].common),ys[e][Ny[t]]):null:Mn(Mn(Mn({transitionProperty:e.transitionProperty},a),e.common),e[Ny[t]])}l(ME,"getTransitionStyles");function NE({duration:e,exitDuration:t,timingFunction:n,mounted:i,onEnter:a,onExit:c,onEntered:f,onExited:p}){const y=Ar(),g=Nb(),w=y.respectReducedMotion?g:!1,[_,x]=m.useState(i?"entered":"exited");let P=w?0:e;const C=m.useRef(-1),O=l($=>{const N=$?a:c,b=$?f:p;if(x($?"pre-entering":"pre-exiting"),window.clearTimeout(C.current),P=w?0:$?e:t,P===0)typeof N=="function"&&N(),typeof b=="function"&&b(),x($?"entered":"exited");else{const E=window.setTimeout(()=>{typeof N=="function"&&N(),x($?"entering":"exiting")},10);C.current=window.setTimeout(()=>{window.clearTimeout(E),typeof b=="function"&&b(),x($?"entered":"exited")},P)}},"handleStateChange");return As(()=>{O(i)},[i]),m.useEffect(()=>()=>window.clearTimeout(C.current),[]),{transitionDuration:P,transitionStatus:_,transitionTimingFunction:n||y.transitionTimingFunction}}l(NE,"useTransition");function Mf({transition:e,duration:t=250,exitDuration:n=t,mounted:i,children:a,timingFunction:c,onExit:f,onEntered:p,onEnter:y,onExited:g}){const{transitionDuration:w,transitionStatus:_,transitionTimingFunction:x}=NE({mounted:i,exitDuration:n,duration:t,timingFunction:c,onExit:f,onEntered:p,onEnter:y,onExited:g});return w===0?i?B(Tn,{children:a({})}):null:_==="exited"?null:B(Tn,{children:a(ME({transition:e,duration:w,state:_,timingFunction:x}))})}l(Mf,"Transition");Mf.displayName="@mantine/core/Transition";var jE=Object.defineProperty,LE=Object.defineProperties,IE=Object.getOwnPropertyDescriptors,jy=Object.getOwnPropertySymbols,TE=Object.prototype.hasOwnProperty,DE=Object.prototype.propertyIsEnumerable,Ly=l((e,t,n)=>t in e?jE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$C"),Nr=l((e,t)=>{for(var n in t||(t={}))TE.call(t,n)&&Ly(e,n,t[n]);if(jy)for(var n of jy(t))DE.call(t,n)&&Ly(e,n,t[n]);return e},"__spreadValues$C"),vs=l((e,t)=>LE(e,IE(t)),"__spreadProps$k");function Iy(e,t,n,i){return e==="center"||i==="center"?{top:t}:e==="end"?{bottom:n}:e==="start"?{top:n}:{}}l(Iy,"horizontalSide");function Ty(e,t,n,i,a){return e==="center"||i==="center"?{left:t}:e==="end"?{[a==="ltr"?"right":"left"]:n}:e==="start"?{[a==="ltr"?"left":"right"]:n}:{}}l(Ty,"verticalSide");const FE={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"};function AE({position:e,withBorder:t,arrowSize:n,arrowOffset:i,arrowRadius:a,arrowPosition:c,arrowX:f,arrowY:p,dir:y}){const[g,w="center"]=e.split("-"),_={width:n,height:n,transform:"rotate(45deg)",position:"absolute",[FE[g]]:a},x=t?-n/2-1:-n/2;return g==="left"?vs(Nr(Nr({},_),Iy(w,p,i,c)),{right:x,borderLeft:0,borderBottom:0}):g==="right"?vs(Nr(Nr({},_),Iy(w,p,i,c)),{left:x,borderRight:0,borderTop:0}):g==="top"?vs(Nr(Nr({},_),Ty(w,f,i,c,y)),{bottom:x,borderTop:0,borderLeft:0}):g==="bottom"?vs(Nr(Nr({},_),Ty(w,f,i,c,y)),{top:x,borderBottom:0,borderRight:0}):{}}l(AE,"getArrowPositionStyles");var BE=Object.defineProperty,WE=Object.defineProperties,HE=Object.getOwnPropertyDescriptors,el=Object.getOwnPropertySymbols,j0=Object.prototype.hasOwnProperty,L0=Object.prototype.propertyIsEnumerable,Dy=l((e,t,n)=>t in e?BE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$B"),UE=l((e,t)=>{for(var n in t)j0.call(t,n)&&Dy(e,n,t[n]);if(el)for(var n of el(t))L0.call(t,n)&&Dy(e,n,t[n]);return e},"__spreadValues$B"),VE=l((e,t)=>WE(e,HE(t)),"__spreadProps$j"),qE=l((e,t)=>{var n={};for(var i in e)j0.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&el)for(var i of el(e))t.indexOf(i)<0&&L0.call(e,i)&&(n[i]=e[i]);return n},"__objRest$r");const I0=m.forwardRef((e,t)=>{var n=e,{withBorder:i,position:a,arrowSize:c,arrowOffset:f,arrowRadius:p,arrowPosition:y,visible:g,arrowX:w,arrowY:_}=n,x=qE(n,["withBorder","position","arrowSize","arrowOffset","arrowRadius","arrowPosition","visible","arrowX","arrowY"]);const P=Ar();return g?B("div",{...VE(UE({},x),{ref:t,style:AE({withBorder:i,position:a,arrowSize:c,arrowOffset:f,arrowRadius:p,arrowPosition:y,dir:P.dir,arrowX:w,arrowY:_})})}):null});I0.displayName="@mantine/core/FloatingArrow";function QE(e,t){if(e==="rtl"&&(t.includes("right")||t.includes("left"))){const[n,i]=t.split("-"),a=n==="right"?"left":"right";return i===void 0?a:`${a}-${i}`}return t}l(QE,"getFloatingPosition");var GE=Object.defineProperty,KE=Object.defineProperties,YE=Object.getOwnPropertyDescriptors,tl=Object.getOwnPropertySymbols,T0=Object.prototype.hasOwnProperty,D0=Object.prototype.propertyIsEnumerable,Fy=l((e,t,n)=>t in e?GE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$A"),ws=l((e,t)=>{for(var n in t||(t={}))T0.call(t,n)&&Fy(e,n,t[n]);if(tl)for(var n of tl(t))D0.call(t,n)&&Fy(e,n,t[n]);return e},"__spreadValues$A"),XE=l((e,t)=>KE(e,YE(t)),"__spreadProps$i"),JE=l((e,t)=>{var n={};for(var i in e)T0.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&tl)for(var i of tl(e))t.indexOf(i)<0&&D0.call(e,i)&&(n[i]=e[i]);return n},"__objRest$q");function ZE(e,t,n){const i=ke(e,t,n),{label:a,description:c,error:f,required:p,classNames:y,styles:g,className:w,unstyled:_,__staticSelector:x,sx:P,errorProps:C,labelProps:O,descriptionProps:$,wrapperProps:N,id:b,size:E,style:z,inputContainer:S,inputWrapperOrder:j,withAsterisk:A}=i,D=JE(i,["label","description","error","required","classNames","styles","className","unstyled","__staticSelector","sx","errorProps","labelProps","descriptionProps","wrapperProps","id","size","style","inputContainer","inputWrapperOrder","withAsterisk"]),Q=Vl(b),{systemStyles:X,rest:ae}=Zo(D),Z=ws({label:a,description:c,error:f,required:p,classNames:y,className:w,__staticSelector:x,sx:P,errorProps:C,labelProps:O,descriptionProps:$,unstyled:_,styles:g,id:Q,size:E,style:z,inputContainer:S,inputWrapperOrder:j,withAsterisk:A},N);return XE(ws({},ae),{classNames:y,styles:g,unstyled:_,wrapperProps:ws(ws({},Z),X),inputProps:{required:p,classNames:y,styles:g,unstyled:_,id:Q,size:E,__staticSelector:x,invalid:!!f}})}l(ZE,"useInputProps");var ek=Te((e,{size:t})=>({label:{display:"inline-block",fontSize:e.fn.size({size:t,sizes:e.fontSizes}),fontWeight:500,color:e.colorScheme==="dark"?e.colors.dark[0]:e.colors.gray[9],wordBreak:"break-word",cursor:"default",WebkitTapHighlightColor:"transparent"},required:{color:e.fn.variant({variant:"filled",color:"red"}).background}})),tk=Object.defineProperty,rl=Object.getOwnPropertySymbols,F0=Object.prototype.hasOwnProperty,A0=Object.prototype.propertyIsEnumerable,Ay=l((e,t,n)=>t in e?tk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$z"),rk=l((e,t)=>{for(var n in t)F0.call(t,n)&&Ay(e,n,t[n]);if(rl)for(var n of rl(t))A0.call(t,n)&&Ay(e,n,t[n]);return e},"__spreadValues$z"),nk=l((e,t)=>{var n={};for(var i in e)F0.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&rl)for(var i of rl(e))t.indexOf(i)<0&&A0.call(e,i)&&(n[i]=e[i]);return n},"__objRest$p");const ok={labelElement:"label",size:"sm"},Nf=m.forwardRef((e,t)=>{const n=ke("InputLabel",ok,e),{labelElement:i,children:a,required:c,size:f,classNames:p,styles:y,unstyled:g,className:w,htmlFor:_,__staticSelector:x}=n,P=nk(n,["labelElement","children","required","size","classNames","styles","unstyled","className","htmlFor","__staticSelector"]),{classes:C,cx:O}=ek({size:f},{name:["InputWrapper",x],classNames:p,styles:y,unstyled:g});return ze(Fe,{...rk({component:i,ref:t,className:O(C.label,w),htmlFor:i==="label"?_:void 0},P),children:[a,c&&B("span",{className:C.required,"aria-hidden":!0,children:" *"})]})});Nf.displayName="@mantine/core/InputLabel";var ik=Te((e,{size:t})=>({error:{wordBreak:"break-word",color:e.fn.variant({variant:"filled",color:"red"}).background,fontSize:e.fn.size({size:t,sizes:e.fontSizes})-2,lineHeight:1.2,display:"block"}})),sk=Object.defineProperty,nl=Object.getOwnPropertySymbols,B0=Object.prototype.hasOwnProperty,W0=Object.prototype.propertyIsEnumerable,By=l((e,t,n)=>t in e?sk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$y"),lk=l((e,t)=>{for(var n in t)B0.call(t,n)&&By(e,n,t[n]);if(nl)for(var n of nl(t))W0.call(t,n)&&By(e,n,t[n]);return e},"__spreadValues$y"),ak=l((e,t)=>{var n={};for(var i in e)B0.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&nl)for(var i of nl(e))t.indexOf(i)<0&&W0.call(e,i)&&(n[i]=e[i]);return n},"__objRest$o");const uk={size:"sm"},jf=m.forwardRef((e,t)=>{const n=ke("InputError",uk,e),{children:i,className:a,classNames:c,styles:f,unstyled:p,size:y,__staticSelector:g}=n,w=ak(n,["children","className","classNames","styles","unstyled","size","__staticSelector"]),{classes:_,cx:x}=ik({size:y},{name:["InputWrapper",g],classNames:c,styles:f,unstyled:p});return B(Fn,{...lk({className:x(_.error,a),ref:t},w),children:i})});jf.displayName="@mantine/core/InputError";var ck=Te((e,{size:t})=>({description:{wordBreak:"break-word",color:e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[6],fontSize:e.fn.size({size:t,sizes:e.fontSizes})-2,lineHeight:1.2,display:"block"}})),fk=Object.defineProperty,ol=Object.getOwnPropertySymbols,H0=Object.prototype.hasOwnProperty,U0=Object.prototype.propertyIsEnumerable,Wy=l((e,t,n)=>t in e?fk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$x"),dk=l((e,t)=>{for(var n in t)H0.call(t,n)&&Wy(e,n,t[n]);if(ol)for(var n of ol(t))U0.call(t,n)&&Wy(e,n,t[n]);return e},"__spreadValues$x"),pk=l((e,t)=>{var n={};for(var i in e)H0.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&ol)for(var i of ol(e))t.indexOf(i)<0&&U0.call(e,i)&&(n[i]=e[i]);return n},"__objRest$n");const hk={size:"sm"},Lf=m.forwardRef((e,t)=>{const n=ke("InputDescription",hk,e),{children:i,className:a,classNames:c,styles:f,unstyled:p,size:y,__staticSelector:g}=n,w=pk(n,["children","className","classNames","styles","unstyled","size","__staticSelector"]),{classes:_,cx:x}=ck({size:y},{name:["InputWrapper",g],classNames:c,styles:f,unstyled:p});return B(Fn,{...dk({color:"dimmed",className:x(_.description,a),ref:t,unstyled:p},w),children:i})});Lf.displayName="@mantine/core/InputDescription";const V0=m.createContext({offsetBottom:!1,offsetTop:!1,describedBy:void 0}),mk=V0.Provider,yk=l(()=>m.useContext(V0),"useInputWrapperContext");function gk(e,{hasDescription:t,hasError:n}){const i=e.findIndex(y=>y==="input"),a=e[i-1],c=e[i+1];return{offsetBottom:t&&c==="description"||n&&c==="error",offsetTop:t&&a==="description"||n&&a==="error"}}l(gk,"getInputOffsets");var vk=Object.defineProperty,wk=Object.defineProperties,_k=Object.getOwnPropertyDescriptors,Hy=Object.getOwnPropertySymbols,xk=Object.prototype.hasOwnProperty,Pk=Object.prototype.propertyIsEnumerable,Uy=l((e,t,n)=>t in e?vk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$w"),bk=l((e,t)=>{for(var n in t||(t={}))xk.call(t,n)&&Uy(e,n,t[n]);if(Hy)for(var n of Hy(t))Pk.call(t,n)&&Uy(e,n,t[n]);return e},"__spreadValues$w"),Sk=l((e,t)=>wk(e,_k(t)),"__spreadProps$h"),Ok=Te(e=>({root:Sk(bk({},e.fn.fontStyles()),{lineHeight:e.lineHeight})})),Ek=Object.defineProperty,kk=Object.defineProperties,Ck=Object.getOwnPropertyDescriptors,il=Object.getOwnPropertySymbols,q0=Object.prototype.hasOwnProperty,Q0=Object.prototype.propertyIsEnumerable,Vy=l((e,t,n)=>t in e?Ek(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$v"),jr=l((e,t)=>{for(var n in t||(t={}))q0.call(t,n)&&Vy(e,n,t[n]);if(il)for(var n of il(t))Q0.call(t,n)&&Vy(e,n,t[n]);return e},"__spreadValues$v"),qy=l((e,t)=>kk(e,Ck(t)),"__spreadProps$g"),Rk=l((e,t)=>{var n={};for(var i in e)q0.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&il)for(var i of il(e))t.indexOf(i)<0&&Q0.call(e,i)&&(n[i]=e[i]);return n},"__objRest$m");const $k={labelElement:"label",size:"sm",inputContainer:l(e=>e,"inputContainer"),inputWrapperOrder:["label","description","input","error"]},G0=m.forwardRef((e,t)=>{const n=ke("InputWrapper",$k,e),{className:i,label:a,children:c,required:f,id:p,error:y,description:g,labelElement:w,labelProps:_,descriptionProps:x,errorProps:P,classNames:C,styles:O,size:$,inputContainer:N,__staticSelector:b,unstyled:E,inputWrapperOrder:z,withAsterisk:S}=n,j=Rk(n,["className","label","children","required","id","error","description","labelElement","labelProps","descriptionProps","errorProps","classNames","styles","size","inputContainer","__staticSelector","unstyled","inputWrapperOrder","withAsterisk"]),{classes:A,cx:D}=Ok(null,{classNames:C,styles:O,name:["InputWrapper",b],unstyled:E}),Q={classNames:C,styles:O,unstyled:E,size:$,__staticSelector:b},X=typeof S=="boolean"?S:f,ae=p?`${p}-error`:P==null?void 0:P.id,Z=p?`${p}-description`:x==null?void 0:x.id,K=`${!!y&&typeof y!="boolean"?ae:""} ${g?Z:""}`,ie=K.trim().length>0?K.trim():void 0,ue=a&&B(Nf,{...jr(jr({key:"label",labelElement:w,id:p?`${p}-label`:void 0,htmlFor:p,required:X},Q),_),children:a}),ne=g&&B(Lf,{...qy(jr(jr({key:"description"},x),Q),{size:(x==null?void 0:x.size)||Q.size,id:(x==null?void 0:x.id)||Z}),children:g}),W=B(m.Fragment,{children:N(c)},"input"),Y=typeof y!="boolean"&&y&&B(jf,{...qy(jr(jr({},P),Q),{size:(P==null?void 0:P.size)||Q.size,key:"error",id:(P==null?void 0:P.id)||ae}),children:y}),R=z.map(H=>{switch(H){case"label":return ue;case"input":return W;case"description":return ne;case"error":return Y;default:return null}});return B(mk,{value:jr({describedBy:ie},gk(z,{hasDescription:!!ne,hasError:!!Y})),children:B(Fe,{...jr({className:D(A.root,i),ref:t},j),children:R})})});G0.displayName="@mantine/core/InputWrapper";var zk=Object.defineProperty,sl=Object.getOwnPropertySymbols,K0=Object.prototype.hasOwnProperty,Y0=Object.prototype.propertyIsEnumerable,Qy=l((e,t,n)=>t in e?zk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$u"),Mk=l((e,t)=>{for(var n in t)K0.call(t,n)&&Qy(e,n,t[n]);if(sl)for(var n of sl(t))Y0.call(t,n)&&Qy(e,n,t[n]);return e},"__spreadValues$u"),Nk=l((e,t)=>{var n={};for(var i in e)K0.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&sl)for(var i of sl(e))t.indexOf(i)<0&&Y0.call(e,i)&&(n[i]=e[i]);return n},"__objRest$l");const jk={},X0=m.forwardRef((e,t)=>{const n=ke("InputPlaceholder",jk,e),{sx:i}=n,a=Nk(n,["sx"]);return B(Fe,{...Mk({component:"span",sx:[c=>c.fn.placeholderStyles(),...Ts(i)],ref:t},a)})});X0.displayName="@mantine/core/InputPlaceholder";var Lk=Object.defineProperty,Ik=Object.defineProperties,Tk=Object.getOwnPropertyDescriptors,Gy=Object.getOwnPropertySymbols,Dk=Object.prototype.hasOwnProperty,Fk=Object.prototype.propertyIsEnumerable,Ky=l((e,t,n)=>t in e?Lk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$t"),_s=l((e,t)=>{for(var n in t||(t={}))Dk.call(t,n)&&Ky(e,n,t[n]);if(Gy)for(var n of Gy(t))Fk.call(t,n)&&Ky(e,n,t[n]);return e},"__spreadValues$t"),ac=l((e,t)=>Ik(e,Tk(t)),"__spreadProps$f");const $t={xs:30,sm:36,md:42,lg:50,xl:60};function Ak({theme:e,variant:t}){return t==="default"?{border:`1px solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]}`,backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white,transition:"border-color 100ms ease","&:focus, &:focus-within":e.focusRingStyles.inputStyles(e)}:t==="filled"?{border:"1px solid transparent",backgroundColor:e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[1],"&:focus, &:focus-within":e.focusRingStyles.inputStyles(e)}:{borderWidth:0,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,backgroundColor:"transparent",minHeight:28,outline:0,"&:focus, &:focus-within":{outline:"none",borderColor:"transparent"},"&:disabled":{backgroundColor:"transparent","&:focus, &:focus-within":{outline:"none",borderColor:"transparent"}}}}l(Ak,"getVariantStyles$1");var Bk=Te((e,{size:t,multiline:n,radius:i,variant:a,invalid:c,rightSectionWidth:f,withRightSection:p,iconWidth:y,offsetBottom:g,offsetTop:w,pointer:_})=>{const x=e.fn.variant({variant:"filled",color:"red"}).background,P=a==="default"||a==="filled"?{minHeight:e.fn.size({size:t,sizes:$t}),paddingLeft:e.fn.size({size:t,sizes:$t})/3,paddingRight:p?f:e.fn.size({size:t,sizes:$t})/3,borderRadius:e.fn.radius(i)}:null;return{wrapper:{position:"relative",marginTop:w?`calc(${e.spacing.xs}px / 2)`:void 0,marginBottom:g?`calc(${e.spacing.xs}px / 2)`:void 0},input:_s(ac(_s(ac(_s({},e.fn.fontStyles()),{height:n?a==="unstyled"?void 0:"auto":e.fn.size({size:t,sizes:$t}),WebkitTapHighlightColor:"transparent",lineHeight:n?e.lineHeight:`${e.fn.size({size:t,sizes:$t})-2}px`,appearance:"none",resize:"none",boxSizing:"border-box",fontSize:e.fn.size({size:t,sizes:e.fontSizes}),width:"100%",color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,display:"block",textAlign:"left",cursor:_?"pointer":void 0}),P),{"&:disabled":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[1],color:e.colors.dark[2],opacity:.6,cursor:"not-allowed","&::placeholder":{color:e.colors.dark[2]}},"&::placeholder":ac(_s({},e.fn.placeholderStyles()),{opacity:1}),"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button, &::-webkit-search-decoration, &::-webkit-search-cancel-button, &::-webkit-search-results-button, &::-webkit-search-results-decoration":{appearance:"none"},"&[type=number]":{MozAppearance:"textfield"}}),Ak({theme:e,variant:a})),withIcon:{paddingLeft:typeof y=="number"?y:e.fn.size({size:t,sizes:$t})},invalid:{color:x,borderColor:x,"&::placeholder":{opacity:1,color:x}},disabled:{backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[1],color:e.colors.dark[2],opacity:.6,cursor:"not-allowed","&::placeholder":{color:e.colors.dark[2]}},icon:{pointerEvents:"none",position:"absolute",zIndex:1,left:0,top:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",width:typeof y=="number"?y:e.fn.size({size:t,sizes:$t}),color:c?e.colors.red[e.colorScheme==="dark"?6:7]:e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[5]},rightSection:{position:"absolute",top:0,bottom:0,right:0,display:"flex",alignItems:"center",justifyContent:"center",width:f}}}),Wk=Object.defineProperty,Hk=Object.defineProperties,Uk=Object.getOwnPropertyDescriptors,ll=Object.getOwnPropertySymbols,J0=Object.prototype.hasOwnProperty,Z0=Object.prototype.propertyIsEnumerable,Yy=l((e,t,n)=>t in e?Wk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$s"),xs=l((e,t)=>{for(var n in t||(t={}))J0.call(t,n)&&Yy(e,n,t[n]);if(ll)for(var n of ll(t))Z0.call(t,n)&&Yy(e,n,t[n]);return e},"__spreadValues$s"),Xy=l((e,t)=>Hk(e,Uk(t)),"__spreadProps$e"),Vk=l((e,t)=>{var n={};for(var i in e)J0.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&ll)for(var i of ll(e))t.indexOf(i)<0&&Z0.call(e,i)&&(n[i]=e[i]);return n},"__objRest$k");const qk={rightSectionWidth:36,size:"sm",variant:"default"},sn=m.forwardRef((e,t)=>{const n=ke("Input",qk,e),{className:i,invalid:a,required:c,disabled:f,variant:p,icon:y,style:g,rightSectionWidth:w,iconWidth:_,rightSection:x,rightSectionProps:P,radius:C,size:O,wrapperProps:$,classNames:N,styles:b,__staticSelector:E,multiline:z,sx:S,unstyled:j,pointer:A}=n,D=Vk(n,["className","invalid","required","disabled","variant","icon","style","rightSectionWidth","iconWidth","rightSection","rightSectionProps","radius","size","wrapperProps","classNames","styles","__staticSelector","multiline","sx","unstyled","pointer"]),{offsetBottom:Q,offsetTop:X,describedBy:ae}=yk(),{classes:Z,cx:te}=Bk({radius:C,size:O,multiline:z,variant:p,invalid:a,rightSectionWidth:w,iconWidth:_,withRightSection:!!x,offsetBottom:Q,offsetTop:X,pointer:A},{classNames:N,styles:b,name:["Input",E],unstyled:j}),{systemStyles:K,rest:ie}=Zo(D);return ze(Fe,{...xs(xs({className:te(Z.wrapper,i),sx:S,style:g},K),$),children:[y&&B("div",{className:Z.icon,children:y}),B(Fe,{...Xy(xs({component:"input"},ie),{ref:t,required:c,"aria-invalid":a,"aria-describedby":ae,disabled:f,className:te(Z[`${p}Variant`],Z.input,{[Z.withIcon]:y,[Z.invalid]:a,[Z.disabled]:f})})}),x&&B("div",{...Xy(xs({},P),{className:Z.rightSection}),children:x})]})});sn.displayName="@mantine/core/Input";sn.Wrapper=G0;sn.Label=Nf;sn.Description=Lf;sn.Error=jf;sn.Placeholder=X0;const Hn=sn;var Qk=Te((e,{orientation:t,buttonBorderWidth:n})=>({root:{display:"flex",flexDirection:t==="vertical"?"column":"row","& [data-button]":{"&:first-of-type":{borderBottomRightRadius:0,[t==="vertical"?"borderBottomLeftRadius":"borderTopRightRadius"]:0,[t==="vertical"?"borderBottomWidth":"borderRightWidth"]:n/2},"&:last-of-type":{borderTopLeftRadius:0,[t==="vertical"?"borderTopRightRadius":"borderBottomLeftRadius"]:0,[t==="vertical"?"borderTopWidth":"borderLeftWidth"]:n/2},"&:not(:first-of-type):not(:last-of-type)":{borderRadius:0,[t==="vertical"?"borderTopWidth":"borderLeftWidth"]:n/2,[t==="vertical"?"borderBottomWidth":"borderRightWidth"]:n/2},"& + [data-button]":{[t==="vertical"?"marginTop":"marginLeft"]:-n,"@media (min-resolution: 192dpi)":{[t==="vertical"?"marginTop":"marginLeft"]:0}}}}})),Gk=Object.defineProperty,al=Object.getOwnPropertySymbols,e1=Object.prototype.hasOwnProperty,t1=Object.prototype.propertyIsEnumerable,Jy=l((e,t,n)=>t in e?Gk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$r"),Kk=l((e,t)=>{for(var n in t)e1.call(t,n)&&Jy(e,n,t[n]);if(al)for(var n of al(t))t1.call(t,n)&&Jy(e,n,t[n]);return e},"__spreadValues$r"),Yk=l((e,t)=>{var n={};for(var i in e)e1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&al)for(var i of al(e))t.indexOf(i)<0&&t1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$j");const Xk={orientation:"horizontal",buttonBorderWidth:1},r1=m.forwardRef((e,t)=>{const n=ke("ButtonGroup",Xk,e),{className:i,orientation:a,buttonBorderWidth:c,unstyled:f}=n,p=Yk(n,["className","orientation","buttonBorderWidth","unstyled"]),{classes:y,cx:g}=Qk({orientation:a,buttonBorderWidth:c},{name:"ButtonGroup",unstyled:f});return B(Fe,{...Kk({className:g(y.root,i),ref:t},p)})});r1.displayName="@mantine/core/ButtonGroup";var Jk=Object.defineProperty,Zk=Object.defineProperties,eC=Object.getOwnPropertyDescriptors,Zy=Object.getOwnPropertySymbols,tC=Object.prototype.hasOwnProperty,rC=Object.prototype.propertyIsEnumerable,eg=l((e,t,n)=>t in e?Jk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$q"),tn=l((e,t)=>{for(var n in t||(t={}))tC.call(t,n)&&eg(e,n,t[n]);if(Zy)for(var n of Zy(t))rC.call(t,n)&&eg(e,n,t[n]);return e},"__spreadValues$q"),Fc=l((e,t)=>Zk(e,eC(t)),"__spreadProps$d");const Ac={xs:{height:$t.xs,paddingLeft:14,paddingRight:14},sm:{height:$t.sm,paddingLeft:18,paddingRight:18},md:{height:$t.md,paddingLeft:22,paddingRight:22},lg:{height:$t.lg,paddingLeft:26,paddingRight:26},xl:{height:$t.xl,paddingLeft:32,paddingRight:32},"compact-xs":{height:22,paddingLeft:7,paddingRight:7},"compact-sm":{height:26,paddingLeft:8,paddingRight:8},"compact-md":{height:30,paddingLeft:10,paddingRight:10},"compact-lg":{height:34,paddingLeft:12,paddingRight:12},"compact-xl":{height:40,paddingLeft:14,paddingRight:14}};function nC({compact:e,size:t,withLeftIcon:n,withRightIcon:i}){if(e)return Ac[`compact-${t}`];const a=Ac[t];return Fc(tn({},a),{paddingLeft:n?a.paddingLeft/1.5:a.paddingLeft,paddingRight:i?a.paddingRight/1.5:a.paddingRight})}l(nC,"getSizeStyles");const oC=l(e=>({display:e?"block":"inline-block",width:e?"100%":"auto"}),"getWidthStyles");function iC({variant:e,theme:t,color:n,gradient:i}){const a=t.fn.variant({color:n,variant:e,gradient:i});return e==="gradient"?{border:0,backgroundImage:a.background,color:a.color,"&:hover":t.fn.hover({backgroundSize:"200%"})}:tn({border:`1px solid ${a.border}`,backgroundColor:a.background,color:a.color},t.fn.hover({backgroundColor:a.hover}))}l(iC,"getVariantStyles");var sC=Te((e,{color:t,size:n,radius:i,fullWidth:a,compact:c,gradient:f,variant:p,withLeftIcon:y,withRightIcon:g})=>({root:Fc(tn(Fc(tn(tn(tn(tn({},nC({compact:c,size:n,withLeftIcon:y,withRightIcon:g})),e.fn.fontStyles()),e.fn.focusStyles()),oC(a)),{borderRadius:e.fn.radius(i),fontWeight:600,position:"relative",lineHeight:1,fontSize:e.fn.size({size:n,sizes:e.fontSizes}),userSelect:"none",cursor:"pointer"}),iC({variant:p,theme:e,color:t,gradient:f})),{"&:active":e.activeStyles,"&:disabled, &[data-disabled]":{borderColor:"transparent",backgroundColor:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2],color:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[5],cursor:"not-allowed",backgroundImage:"none",pointerEvents:"none","&:active":{transform:"none"}},"&[data-loading]":{pointerEvents:"none","&::before":{content:'""',position:"absolute",top:-1,left:-1,right:-1,bottom:-1,backgroundColor:e.colorScheme==="dark"?e.fn.rgba(e.colors.dark[7],.5):"rgba(255, 255, 255, .5)",borderRadius:e.fn.radius(i),cursor:"not-allowed"}}}),icon:{display:"flex",alignItems:"center"},leftIcon:{marginRight:10},rightIcon:{marginLeft:10},centerLoader:{position:"absolute",left:"50%",transform:"translateX(-50%)",opacity:.5},inner:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",overflow:"visible"},label:{whiteSpace:"nowrap",height:"100%",overflow:"hidden",display:"flex",alignItems:"center"}})),lC=Object.defineProperty,ul=Object.getOwnPropertySymbols,n1=Object.prototype.hasOwnProperty,o1=Object.prototype.propertyIsEnumerable,tg=l((e,t,n)=>t in e?lC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$p"),rg=l((e,t)=>{for(var n in t||(t={}))n1.call(t,n)&&tg(e,n,t[n]);if(ul)for(var n of ul(t))o1.call(t,n)&&tg(e,n,t[n]);return e},"__spreadValues$p"),aC=l((e,t)=>{var n={};for(var i in e)n1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&ul)for(var i of ul(e))t.indexOf(i)<0&&o1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$i");const uC={size:"sm",type:"button",variant:"filled",loaderPosition:"left"},If=m.forwardRef((e,t)=>{const n=ke("Button",uC,e),{className:i,size:a,color:c,type:f,disabled:p,children:y,leftIcon:g,rightIcon:w,fullWidth:_,variant:x,radius:P,uppercase:C,compact:O,loading:$,loaderPosition:N,loaderProps:b,gradient:E,classNames:z,styles:S,unstyled:j}=n,A=aC(n,["className","size","color","type","disabled","children","leftIcon","rightIcon","fullWidth","variant","radius","uppercase","compact","loading","loaderPosition","loaderProps","gradient","classNames","styles","unstyled"]),{classes:D,cx:Q,theme:X}=sC({radius:P,color:c,size:a,fullWidth:_,compact:O,gradient:E,variant:x,withLeftIcon:!!g,withRightIcon:!!w},{name:"Button",unstyled:j,classNames:z,styles:S}),ae=X.fn.variant({color:c,variant:x}),Z=B(ql,{...rg({color:ae.color,size:X.fn.size({size:a,sizes:Ac}).height/2},b)});return B(Kv,{...rg({className:Q(D.root,i),type:f,disabled:p,"data-button":!0,"data-disabled":p||void 0,"data-loading":$||void 0,ref:t,unstyled:j},A),children:ze("div",{className:D.inner,children:[(g||$&&N==="left")&&B("span",{className:Q(D.icon,D.leftIcon),children:$&&N==="left"?Z:g}),$&&N==="center"&&B("span",{className:D.centerLoader,children:Z}),B("span",{className:D.label,style:{textTransform:C?"uppercase":void 0},children:y}),(w||$&&N==="right")&&B("span",{className:Q(D.icon,D.rightIcon),children:$&&N==="right"?Z:w})]})})});If.displayName="@mantine/core/Button";If.Group=r1;const $3=If;var cC=Te((e,{radius:t,shadow:n,withBorder:i})=>({root:{outline:0,WebkitTapHighlightColor:"transparent",display:"block",textDecoration:"none",color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,backgroundColor:e.colorScheme==="dark"?e.colors.dark[7]:e.white,boxSizing:"border-box",borderRadius:e.fn.radius(t),boxShadow:e.shadows[n]||n||"none",border:i?`1px solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3]}`:void 0}})),fC=Object.defineProperty,cl=Object.getOwnPropertySymbols,i1=Object.prototype.hasOwnProperty,s1=Object.prototype.propertyIsEnumerable,ng=l((e,t,n)=>t in e?fC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$o"),dC=l((e,t)=>{for(var n in t)i1.call(t,n)&&ng(e,n,t[n]);if(cl)for(var n of cl(t))s1.call(t,n)&&ng(e,n,t[n]);return e},"__spreadValues$o"),pC=l((e,t)=>{var n={};for(var i in e)i1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&cl)for(var i of cl(e))t.indexOf(i)<0&&s1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$h");const hC={},l1=m.forwardRef((e,t)=>{const n=ke("Paper",hC,e),{className:i,children:a,radius:c,withBorder:f,shadow:p,unstyled:y}=n,g=pC(n,["className","children","radius","withBorder","shadow","unstyled"]),{classes:w,cx:_}=cC({radius:c,shadow:p,withBorder:f},{name:"Paper",unstyled:y});return B(Fe,{...dC({className:_(w.root,i),ref:t},g),children:a})});l1.displayName="@mantine/core/Paper";const z3=l1;var mC=Object.defineProperty,fl=Object.getOwnPropertySymbols,a1=Object.prototype.hasOwnProperty,u1=Object.prototype.propertyIsEnumerable,og=l((e,t,n)=>t in e?mC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$n"),yC=l((e,t)=>{for(var n in t)a1.call(t,n)&&og(e,n,t[n]);if(fl)for(var n of fl(t))u1.call(t,n)&&og(e,n,t[n]);return e},"__spreadValues$n"),gC=l((e,t)=>{var n={};for(var i in e)a1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&fl)for(var i of fl(e))t.indexOf(i)<0&&u1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$g");const c1=m.forwardRef((e,t)=>{const n=ke("Center",{},e),{inline:i,sx:a}=n,c=gC(n,["inline","sx"]);return B(Fe,{...yC({ref:t,sx:[{display:i?"inline-flex":"flex",alignItems:"center",justifyContent:"center"},...Ts(a)]},c)})});c1.displayName="@mantine/core/Center";const M3=c1,f1=m.createContext(null),vC=f1.Provider,wC=l(()=>m.useContext(f1),"useCheckboxGroupContext");function _C(e){return m.Children.toArray(e).filter(Boolean)}l(_C,"filterFalsyChildren");const xC={left:"flex-start",center:"center",right:"flex-end",apart:"space-between"};var PC=Te((e,{spacing:t,position:n,noWrap:i,grow:a,align:c,count:f})=>({root:{boxSizing:"border-box",display:"flex",flexDirection:"row",alignItems:c||"center",flexWrap:i?"nowrap":"wrap",justifyContent:xC[n],gap:e.fn.size({size:t,sizes:e.spacing}),"& > *":{boxSizing:"border-box",maxWidth:a?`calc(${100/f}% - ${e.fn.size({size:t,sizes:e.spacing})-e.fn.size({size:t,sizes:e.spacing})/f}px)`:void 0,flexGrow:a?1:0}}})),bC=Object.defineProperty,dl=Object.getOwnPropertySymbols,d1=Object.prototype.hasOwnProperty,p1=Object.prototype.propertyIsEnumerable,ig=l((e,t,n)=>t in e?bC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$m"),SC=l((e,t)=>{for(var n in t)d1.call(t,n)&&ig(e,n,t[n]);if(dl)for(var n of dl(t))p1.call(t,n)&&ig(e,n,t[n]);return e},"__spreadValues$m"),OC=l((e,t)=>{var n={};for(var i in e)d1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&dl)for(var i of dl(e))t.indexOf(i)<0&&p1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$f");const EC={position:"left",spacing:"md"},h1=m.forwardRef((e,t)=>{const n=ke("Group",EC,e),{className:i,position:a,align:c,children:f,noWrap:p,grow:y,spacing:g,unstyled:w}=n,_=OC(n,["className","position","align","children","noWrap","grow","spacing","unstyled"]),x=_C(f),{classes:P,cx:C}=PC({align:c,grow:y,noWrap:p,spacing:g,position:a,count:x.length},{unstyled:w,name:"Group"});return B(Fe,{...SC({className:C(P.root,i),ref:t},_),children:x})});h1.displayName="@mantine/core/Group";var kC=Te((e,{spacing:t,align:n,justify:i})=>({root:{display:"flex",flexDirection:"column",alignItems:n,justifyContent:i,gap:e.fn.size({size:t,sizes:e.spacing})}})),CC=Object.defineProperty,pl=Object.getOwnPropertySymbols,m1=Object.prototype.hasOwnProperty,y1=Object.prototype.propertyIsEnumerable,sg=l((e,t,n)=>t in e?CC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$l"),RC=l((e,t)=>{for(var n in t)m1.call(t,n)&&sg(e,n,t[n]);if(pl)for(var n of pl(t))y1.call(t,n)&&sg(e,n,t[n]);return e},"__spreadValues$l"),$C=l((e,t)=>{var n={};for(var i in e)m1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&pl)for(var i of pl(e))t.indexOf(i)<0&&y1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$e");const zC={spacing:"md",align:"stretch",justify:"flex-start"},g1=m.forwardRef((e,t)=>{const n=ke("Stack",zC,e),{spacing:i,className:a,align:c,justify:f,unstyled:p}=n,y=$C(n,["spacing","className","align","justify","unstyled"]),{classes:g,cx:w}=kC({spacing:i,align:c,justify:f},{name:"Stack",unstyled:p});return B(Fe,{...RC({className:w(g.root,a),ref:t},y)})});g1.displayName="@mantine/core/Stack";function v1({spacing:e,offset:t,orientation:n,children:i,role:a,unstyled:c}){return n==="horizontal"?B(h1,{pt:t,spacing:e,role:a,unstyled:c,children:i}):B(g1,{pt:t,spacing:e,role:a,unstyled:c,children:i})}l(v1,"InputsGroup");var MC=Object.defineProperty,hl=Object.getOwnPropertySymbols,w1=Object.prototype.hasOwnProperty,_1=Object.prototype.propertyIsEnumerable,lg=l((e,t,n)=>t in e?MC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$k"),ag=l((e,t)=>{for(var n in t||(t={}))w1.call(t,n)&&lg(e,n,t[n]);if(hl)for(var n of hl(t))_1.call(t,n)&&lg(e,n,t[n]);return e},"__spreadValues$k"),NC=l((e,t)=>{var n={};for(var i in e)w1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&hl)for(var i of hl(e))t.indexOf(i)<0&&_1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$d");const jC={orientation:"horizontal",spacing:"lg",size:"sm",offset:"xs"},x1=m.forwardRef((e,t)=>{const n=ke("CheckboxGroup",jC,e),{children:i,value:a,defaultValue:c,onChange:f,orientation:p,spacing:y,size:g,wrapperProps:w,offset:_}=n,x=NC(n,["children","value","defaultValue","onChange","orientation","spacing","size","wrapperProps","offset"]),[P,C]=vf({value:a,defaultValue:c,finalValue:[],onChange:f});return B(vC,{value:{value:P,onChange:l($=>{const N=$.currentTarget.value;C(P.includes(N)?P.filter(b=>b!==N):[...P,N])},"handleChange"),size:g},children:B(Hn.Wrapper,{...ag(ag({labelElement:"div",size:g,__staticSelector:"CheckboxGroup",ref:t},w),x),children:B(v1,{spacing:y,orientation:p,offset:_,children:i})})})});x1.displayName="@mantine/core/CheckboxGroup";var LC=Object.defineProperty,ml=Object.getOwnPropertySymbols,P1=Object.prototype.hasOwnProperty,b1=Object.prototype.propertyIsEnumerable,ug=l((e,t,n)=>t in e?LC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$j"),Bc=l((e,t)=>{for(var n in t||(t={}))P1.call(t,n)&&ug(e,n,t[n]);if(ml)for(var n of ml(t))b1.call(t,n)&&ug(e,n,t[n]);return e},"__spreadValues$j"),IC=l((e,t)=>{var n={};for(var i in e)P1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&ml)for(var i of ml(e))t.indexOf(i)<0&&b1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$c");function TC(e){return B("svg",{...Bc({viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),children:B("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}l(TC,"CheckIcon");function DC(e){var t=e,{indeterminate:n}=t,i=IC(t,["indeterminate"]);return n?B("svg",{...Bc({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 6"},i),children:B("rect",{width:"32",height:"6",fill:"currentColor",rx:"3"})}):B(TC,{...Bc({},i)})}l(DC,"CheckboxIcon");var FC=Object.defineProperty,AC=Object.defineProperties,BC=Object.getOwnPropertyDescriptors,cg=Object.getOwnPropertySymbols,WC=Object.prototype.hasOwnProperty,HC=Object.prototype.propertyIsEnumerable,fg=l((e,t,n)=>t in e?FC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$i"),UC=l((e,t)=>{for(var n in t||(t={}))WC.call(t,n)&&fg(e,n,t[n]);if(cg)for(var n of cg(t))HC.call(t,n)&&fg(e,n,t[n]);return e},"__spreadValues$i"),VC=l((e,t)=>AC(e,BC(t)),"__spreadProps$c");const qC={xs:16,sm:20,md:24,lg:30,xl:36},QC={xs:8,sm:10,md:14,lg:16,xl:20};var GC=Te((e,{size:t,radius:n,color:i,transitionDuration:a,labelPosition:c,error:f,indeterminate:p},y)=>{const g=e.fn.size({size:t,sizes:qC}),w=e.fn.variant({variant:"filled",color:i}),_=e.fn.variant({variant:"filled",color:"red"}).background;return{icon:{ref:y("icon"),color:p?"inherit":e.white,transform:p?"none":"translateY(5px) scale(0.5)",opacity:p?1:0,transitionProperty:"opacity, transform",transitionTimingFunction:"ease",transitionDuration:`${a}ms`,pointerEvents:"none",width:e.fn.size({size:t,sizes:QC}),position:"absolute",zIndex:1,top:0,bottom:0,left:0,right:0,margin:"auto","@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":void 0}},inner:{position:"relative",width:g,height:g,order:c==="left"?2:1},input:VC(UC({},e.fn.focusStyles()),{appearance:"none",backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white,border:`1px solid ${f?_:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]}`,width:g,height:g,borderRadius:e.fn.radius(n),padding:0,display:"block",margin:0,transition:`border-color ${a}ms ease, background-color ${a}ms ease`,cursor:e.cursorType,"&:checked":{backgroundColor:w.background,borderColor:w.background,[`& + .${y("icon")}`]:{opacity:1,color:e.white,transform:"translateY(0) scale(1)"}},"&:disabled":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2],borderColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[3],cursor:"not-allowed",[`& + .${y("icon")}`]:{color:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[5]}}})}}),KC=Object.defineProperty,YC=Object.defineProperties,XC=Object.getOwnPropertyDescriptors,dg=Object.getOwnPropertySymbols,JC=Object.prototype.hasOwnProperty,ZC=Object.prototype.propertyIsEnumerable,pg=l((e,t,n)=>t in e?KC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$h"),e4=l((e,t)=>{for(var n in t||(t={}))JC.call(t,n)&&pg(e,n,t[n]);if(dg)for(var n of dg(t))ZC.call(t,n)&&pg(e,n,t[n]);return e},"__spreadValues$h"),t4=l((e,t)=>YC(e,XC(t)),"__spreadProps$b");const r4={xs:16,sm:20,md:24,lg:30,xl:36};var n4=Te((e,{labelPosition:t,size:n})=>({root:{},body:{display:"flex"},labelWrapper:t4(e4({},e.fn.fontStyles()),{display:"inline-flex",flexDirection:"column",WebkitTapHighlightColor:"transparent",fontSize:e.fn.size({size:n,sizes:e.fontSizes}),lineHeight:`${e.fn.size({size:n,sizes:r4})}px`,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,cursor:e.cursorType,order:t==="left"?1:2}),description:{marginTop:`calc(${e.spacing.xs}px / 2)`,[t==="left"?"paddingRight":"paddingLeft"]:e.spacing.sm},error:{marginTop:`calc(${e.spacing.xs}px / 2)`,[t==="left"?"paddingRight":"paddingLeft"]:e.spacing.sm},label:{cursor:e.cursorType,[t==="left"?"paddingRight":"paddingLeft"]:e.spacing.sm,"&[data-disabled]":{color:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[5]}}})),o4=Object.defineProperty,yl=Object.getOwnPropertySymbols,S1=Object.prototype.hasOwnProperty,O1=Object.prototype.propertyIsEnumerable,hg=l((e,t,n)=>t in e?o4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$g"),i4=l((e,t)=>{for(var n in t)S1.call(t,n)&&hg(e,n,t[n]);if(yl)for(var n of yl(t))O1.call(t,n)&&hg(e,n,t[n]);return e},"__spreadValues$g"),s4=l((e,t)=>{var n={};for(var i in e)S1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&yl)for(var i of yl(e))t.indexOf(i)<0&&O1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$b");function Tf(e){var t=e,{__staticSelector:n,className:i,classNames:a,styles:c,unstyled:f,children:p,label:y,description:g,id:w,disabled:_,error:x,size:P,labelPosition:C}=t,O=s4(t,["__staticSelector","className","classNames","styles","unstyled","children","label","description","id","disabled","error","size","labelPosition"]);const{classes:$,cx:N}=n4({size:P,labelPosition:C},{name:n,styles:c,classNames:a,unstyled:f});return B(Fe,{...i4({className:N($.root,i)},O),children:ze("div",{className:N($.body),children:[p,ze("div",{className:$.labelWrapper,children:[y&&B("label",{className:$.label,"data-disabled":_||void 0,htmlFor:w,children:y}),g&&B(Hn.Description,{className:$.description,children:g}),x&&x!=="boolean"&&B(Hn.Error,{className:$.error,children:x})]})]})})}l(Tf,"InlineInput");Tf.displayName="@mantine/core/InlineInput";var l4=Object.defineProperty,gl=Object.getOwnPropertySymbols,E1=Object.prototype.hasOwnProperty,k1=Object.prototype.propertyIsEnumerable,mg=l((e,t,n)=>t in e?l4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$f"),Ps=l((e,t)=>{for(var n in t||(t={}))E1.call(t,n)&&mg(e,n,t[n]);if(gl)for(var n of gl(t))k1.call(t,n)&&mg(e,n,t[n]);return e},"__spreadValues$f"),a4=l((e,t)=>{var n={};for(var i in e)E1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&gl)for(var i of gl(e))t.indexOf(i)<0&&k1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$a");const u4={size:"sm",transitionDuration:100,icon:DC,labelPosition:"right"},C1=m.forwardRef((e,t)=>{const n=ke("Checkbox",u4,e),{className:i,style:a,sx:c,checked:f,disabled:p,color:y,label:g,indeterminate:w,id:_,size:x,radius:P,wrapperProps:C,children:O,classNames:$,styles:N,transitionDuration:b,icon:E,unstyled:z,labelPosition:S,description:j,error:A}=n,D=a4(n,["className","style","sx","checked","disabled","color","label","indeterminate","id","size","radius","wrapperProps","children","classNames","styles","transitionDuration","icon","unstyled","labelPosition","description","error"]),Q=wC(),X=Vl(_),{systemStyles:ae,rest:Z}=Zo(D),{classes:te}=GC({size:(Q==null?void 0:Q.size)||x,radius:P,color:y,transitionDuration:b,labelPosition:S,error:!!A,indeterminate:w},{name:"Checkbox",classNames:$,styles:N,unstyled:z}),K=Q?{checked:Q.value.includes(Z.value),onChange:Q.onChange}:{};return B(Tf,{...Ps(Ps({className:i,sx:c,style:a,id:X,size:(Q==null?void 0:Q.size)||x,labelPosition:S,label:g,description:j,error:A,disabled:p,__staticSelector:"Checkbox",classNames:$,styles:N,unstyled:z,"data-checked":K.checked||void 0},ae),C),children:ze("div",{className:te.inner,children:[B("input",{...Ps(Ps({id:X,ref:t,type:"checkbox",className:te.input,checked:f,disabled:p},Z),K)}),B(E,{indeterminate:w,className:te.icon})]})})});C1.displayName="@mantine/core/Checkbox";C1.Group=x1;var c4=Te((e,{fluid:t,size:n,sizes:i})=>({root:{paddingLeft:e.spacing.md,paddingRight:e.spacing.md,maxWidth:t?"100%":e.fn.size({size:n,sizes:i}),marginLeft:"auto",marginRight:"auto"}})),f4=Object.defineProperty,vl=Object.getOwnPropertySymbols,R1=Object.prototype.hasOwnProperty,$1=Object.prototype.propertyIsEnumerable,yg=l((e,t,n)=>t in e?f4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$e"),d4=l((e,t)=>{for(var n in t)R1.call(t,n)&&yg(e,n,t[n]);if(vl)for(var n of vl(t))$1.call(t,n)&&yg(e,n,t[n]);return e},"__spreadValues$e"),p4=l((e,t)=>{var n={};for(var i in e)R1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&vl)for(var i of vl(e))t.indexOf(i)<0&&$1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$9");const h4={sizes:{xs:540,sm:720,md:960,lg:1140,xl:1320}},m4=m.forwardRef((e,t)=>{const n=ke("Container",h4,e),{className:i,fluid:a,size:c,unstyled:f,sizes:p}=n,y=p4(n,["className","fluid","size","unstyled","sizes"]),{classes:g,cx:w}=c4({fluid:a,size:c,sizes:p},{unstyled:f,name:"Container"});return B(Fe,{...d4({className:w(g.root,i),ref:t},y)})});m4.displayName="@mantine/core/Container";var y4=Te((e,{zIndex:t})=>({root:{position:"absolute",top:0,bottom:0,left:0,right:0,zIndex:t}})),g4=Object.defineProperty,v4=Object.defineProperties,w4=Object.getOwnPropertyDescriptors,wl=Object.getOwnPropertySymbols,z1=Object.prototype.hasOwnProperty,M1=Object.prototype.propertyIsEnumerable,gg=l((e,t,n)=>t in e?g4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$d"),uc=l((e,t)=>{for(var n in t||(t={}))z1.call(t,n)&&gg(e,n,t[n]);if(wl)for(var n of wl(t))M1.call(t,n)&&gg(e,n,t[n]);return e},"__spreadValues$d"),_4=l((e,t)=>v4(e,w4(t)),"__spreadProps$a"),x4=l((e,t)=>{var n={};for(var i in e)z1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&wl)for(var i of wl(e))t.indexOf(i)<0&&M1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$8");const P4={opacity:.6,color:"#fff",zIndex:Ul("modal"),radius:0,blur:0},N1=m.forwardRef((e,t)=>{const n=ke("Overlay",P4,e),{opacity:i,blur:a,color:c,gradient:f,zIndex:p,radius:y,sx:g,unstyled:w,className:_}=n,x=x4(n,["opacity","blur","color","gradient","zIndex","radius","sx","unstyled","className"]),{classes:P,cx:C}=y4({zIndex:p},{name:"Overlay",unstyled:w}),O=f?{backgroundImage:f}:{backgroundColor:c},$=l(N=>B(Fe,{...uc({ref:t,className:C(P.root,_),sx:[b=>_4(uc({},O),{opacity:i,borderRadius:b.fn.size({size:y,sizes:b.radius})}),...Ts(g)]},N)}),"innerOverlay");return a?B(Fe,{...uc({className:C(P.root,_),sx:[{backdropFilter:`blur(${a}px)`},...Ts(g)]},x),children:$()}):$(x)});N1.displayName="@mantine/core/Overlay";const b4=N1;var S4=Te({root:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"}}),O4=Object.defineProperty,E4=Object.defineProperties,k4=Object.getOwnPropertyDescriptors,_l=Object.getOwnPropertySymbols,j1=Object.prototype.hasOwnProperty,L1=Object.prototype.propertyIsEnumerable,vg=l((e,t,n)=>t in e?O4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$c"),bs=l((e,t)=>{for(var n in t||(t={}))j1.call(t,n)&&vg(e,n,t[n]);if(_l)for(var n of _l(t))L1.call(t,n)&&vg(e,n,t[n]);return e},"__spreadValues$c"),C4=l((e,t)=>E4(e,k4(t)),"__spreadProps$9"),R4=l((e,t)=>{var n={};for(var i in e)j1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&_l)for(var i of _l(e))t.indexOf(i)<0&&L1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$7");const $4={overlayOpacity:.75,transitionDuration:0,zIndex:Ul("overlay")},z4=m.forwardRef((e,t)=>{const n=ke("LoadingOverlay",$4,e),{className:i,visible:a,loaderProps:c,overlayOpacity:f,overlayColor:p,transitionDuration:y,exitTransitionDuration:g,zIndex:w,style:_,loader:x,radius:P,overlayBlur:C,unstyled:O}=n,$=R4(n,["className","visible","loaderProps","overlayOpacity","overlayColor","transitionDuration","exitTransitionDuration","zIndex","style","loader","radius","overlayBlur","unstyled"]),{classes:N,cx:b,theme:E}=S4(null,{name:"LoadingOverlay",unstyled:O}),z=`calc(${w} + 1)`;return B(Mf,{duration:y,exitDuration:g,mounted:a,transition:"fade",children:l(S=>ze(Fe,{...bs({className:b(N.root,i),style:C4(bs(bs({},S),_),{zIndex:w}),ref:t},$),children:[x?B("div",{style:{zIndex:z},children:x}):B(ql,{...bs({style:{zIndex:z}},c)}),B(b4,{opacity:f,zIndex:w,radius:P,blur:C,unstyled:O,color:p||(E.colorScheme==="dark"?E.colors.dark[5]:E.white)})]}),"children")})});z4.displayName="@mantine/core/LoadingOverlay";var M4=Object.defineProperty,N4=Object.defineProperties,j4=Object.getOwnPropertyDescriptors,xl=Object.getOwnPropertySymbols,I1=Object.prototype.hasOwnProperty,T1=Object.prototype.propertyIsEnumerable,wg=l((e,t,n)=>t in e?M4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$b"),cc=l((e,t)=>{for(var n in t||(t={}))I1.call(t,n)&&wg(e,n,t[n]);if(xl)for(var n of xl(t))T1.call(t,n)&&wg(e,n,t[n]);return e},"__spreadValues$b"),L4=l((e,t)=>N4(e,j4(t)),"__spreadProps$8"),I4=l((e,t)=>{var n={};for(var i in e)I1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&xl)for(var i of xl(e))t.indexOf(i)<0&&T1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$6");const T4={type:"text",size:"sm",__staticSelector:"TextInput"},D4=m.forwardRef((e,t)=>{const n=ZE("TextInput",T4,e),{inputProps:i,wrapperProps:a}=n,c=I4(n,["inputProps","wrapperProps"]);return B(Hn.Wrapper,{...cc({},a),children:B(Hn,{...L4(cc(cc({},i),c),{ref:t})})})});D4.displayName="@mantine/core/TextInput";const _g={xs:3,sm:5,md:8,lg:12,xl:16},F4=$P({from:{backgroundPosition:"0 0"},to:{backgroundPosition:"40px 0"}});var A4=Te((e,{color:t,radius:n,size:i,striped:a,animate:c})=>({root:{position:"relative",height:e.fn.size({size:i,sizes:_g}),backgroundColor:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2],borderRadius:e.fn.size({size:n,sizes:e.radius}),overflow:"hidden"},bar:{position:"absolute",top:0,bottom:0,left:0,height:"100%",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:e.fn.variant({variant:"filled",primaryFallback:!1,color:t||e.primaryColor}).background,transition:"width 100ms linear",animation:c?`${F4} 1000ms linear infinite`:"none",backgroundSize:"20px 20px",backgroundImage:a?"linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)":"none","&:last-of-type":{borderTopRightRadius:e.fn.size({size:n,sizes:e.radius}),borderBottomRightRadius:e.fn.size({size:n,sizes:e.radius})},"&:first-of-type":{borderTopLeftRadius:e.fn.size({size:n,sizes:e.radius}),borderBottomLeftRadius:e.fn.size({size:n,sizes:e.radius})},"@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":void 0}},label:{color:e.white,fontSize:e.fn.size({size:i,sizes:_g})*.65,fontWeight:700,userSelect:"none",overflow:"hidden",whiteSpace:"nowrap"}}));const D1=m.createContext(!1),B4=D1.Provider,W4=l(()=>m.useContext(D1),"useTooltipGroupContext");function F1({children:e,openDelay:t=0,closeDelay:n=0}){return B(B4,{value:!0,children:B(mE,{delay:{open:t,close:n},children:e})})}l(F1,"TooltipGroup");F1.displayName="@mantine/core/TooltipGroup";var H4=Object.defineProperty,U4=Object.defineProperties,V4=Object.getOwnPropertyDescriptors,xg=Object.getOwnPropertySymbols,q4=Object.prototype.hasOwnProperty,Q4=Object.prototype.propertyIsEnumerable,Pg=l((e,t,n)=>t in e?H4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$a"),bg=l((e,t)=>{for(var n in t||(t={}))q4.call(t,n)&&Pg(e,n,t[n]);if(xg)for(var n of xg(t))Q4.call(t,n)&&Pg(e,n,t[n]);return e},"__spreadValues$a"),G4=l((e,t)=>U4(e,V4(t)),"__spreadProps$7");function K4(e,t){if(!t)return{backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[9],color:e.white};const n=e.fn.variant({variant:"filled",color:t,primaryFallback:!1});return{backgroundColor:n.background,color:n.color}}l(K4,"getColors");var A1=Te((e,{color:t,radius:n,width:i,multiline:a})=>({tooltip:G4(bg(bg({},e.fn.fontStyles()),K4(e,t)),{lineHeight:e.lineHeight,fontSize:e.fontSizes.sm,borderRadius:e.fn.radius(n),padding:`calc(${e.spacing.xs}px / 2) ${e.spacing.xs}px`,position:"absolute",whiteSpace:a?"unset":"nowrap",pointerEvents:"none",width:i}),arrow:{backgroundColor:"inherit",border:0,zIndex:1}}));const B1={children:"Tooltip component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported"};function Y4({offset:e,position:t}){const[n,i]=m.useState(!1),a=m.useRef(),{x:c,y:f,reference:p,floating:y,refs:g,update:w,placement:_}=N0({placement:t,middleware:[E0({crossAxis:!0,padding:5,rootBoundary:"document"})]}),x=_.includes("right")?e:t.includes("left")?e*-1:0,P=_.includes("bottom")?e:t.includes("top")?e*-1:0,C=m.useCallback(({clientX:O,clientY:$})=>{p({getBoundingClientRect(){return{width:0,height:0,x:O,y:$,left:O+x,top:$+P,right:O,bottom:$}}})},[p]);return m.useEffect(()=>{if(g.floating.current){const O=a.current;O.addEventListener("mousemove",C);const $=fr(g.floating.current);return $.forEach(N=>{N.addEventListener("scroll",w)}),()=>{O.removeEventListener("mousemove",C),$.forEach(N=>{N.removeEventListener("scroll",w)})}}},[p,g.floating.current,w,C,n]),{handleMouseMove:C,x:c,y:f,opened:n,setOpened:i,boundaryRef:a,floating:y}}l(Y4,"useFloatingTooltip");var X4=Object.defineProperty,J4=Object.defineProperties,Z4=Object.getOwnPropertyDescriptors,Pl=Object.getOwnPropertySymbols,W1=Object.prototype.hasOwnProperty,H1=Object.prototype.propertyIsEnumerable,Sg=l((e,t,n)=>t in e?X4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$9"),fc=l((e,t)=>{for(var n in t||(t={}))W1.call(t,n)&&Sg(e,n,t[n]);if(Pl)for(var n of Pl(t))H1.call(t,n)&&Sg(e,n,t[n]);return e},"__spreadValues$9"),dc=l((e,t)=>J4(e,Z4(t)),"__spreadProps$6"),eR=l((e,t)=>{var n={};for(var i in e)W1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Pl)for(var i of Pl(e))t.indexOf(i)<0&&H1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$5");const tR={refProp:"ref",withinPortal:!0,offset:10,position:"right",zIndex:Ul("popover")};function U1(e){var t;const n=ke("TooltipFloating",tR,e),{children:i,refProp:a,withinPortal:c,style:f,className:p,classNames:y,styles:g,unstyled:w,radius:_,color:x,label:P,offset:C,position:O,multiline:$,width:N,zIndex:b,disabled:E}=n,z=eR(n,["children","refProp","withinPortal","style","className","classNames","styles","unstyled","radius","color","label","offset","position","multiline","width","zIndex","disabled"]),{handleMouseMove:S,x:j,y:A,opened:D,boundaryRef:Q,floating:X,setOpened:ae}=Y4({offset:C,position:O}),{classes:Z,cx:te}=A1({radius:_,color:x,multiline:$,width:N},{name:"TooltipFloating",classNames:y,styles:g,unstyled:w});if(!xv(i))throw new Error(B1.children);const K=Wv(Q,i.ref),ie=l(ne=>{var W,Y;(Y=(W=i.props).onMouseEnter)==null||Y.call(W,ne),S(ne),ae(!0)},"onMouseEnter"),ue=l(ne=>{var W,Y;(Y=(W=i.props).onMouseLeave)==null||Y.call(W,ne),ae(!1)},"onMouseLeave");return ze(Tn,{children:[B(_f,{withinPortal:c,children:B(Fe,{...dc(fc({},z),{ref:X,className:te(Z.tooltip,p),style:dc(fc({},f),{zIndex:b,display:!E&&D?"block":"none",top:A??"",left:(t=Math.round(j))!=null?t:""})}),children:P})}),m.cloneElement(i,dc(fc({},i.props),{[a]:K,onMouseEnter:ie,onMouseLeave:ue}))]})}l(U1,"TooltipFloating");U1.displayName="@mantine/core/TooltipFloating";function rR(e){const[t,n]=m.useState(!1),a=typeof e.opened=="boolean"?e.opened:t,c=W4(),f=Vl(),{delay:p,currentId:y,setCurrentId:g}=z0(),w=m.useCallback(D=>{n(D),D&&g(f)},[g,f]),{x:_,y:x,reference:P,floating:C,context:O,refs:$,update:N,placement:b,middlewareData:{arrow:{x:E,y:z}={}}}=N0({placement:e.position,open:a,onOpenChange:w,middleware:[XO(e.offset),E0({padding:8}),JO(),tE({element:e.arrowRef,padding:e.arrowOffset}),...e.inline?[ZO()]:[]]}),{getReferenceProps:S,getFloatingProps:j}=kE([hE(O,{enabled:e.events.hover,delay:c?p:{open:e.openDelay,close:e.closeDelay},mouseOnly:!e.events.touch}),OE(O,{enabled:e.events.focus,keyboardOnly:!0}),EE(O,{role:"tooltip"}),SE(O,{enabled:typeof e.opened===void 0}),yE(O,{id:f})]);return CE({opened:a,positionDependencies:e.positionDependencies,floating:{refs:$,update:N}}),As(()=>{var D;(D=e.onPositionChange)==null||D.call(e,b)},[b]),{x:_,y:x,arrowX:E,arrowY:z,reference:P,floating:C,getFloatingProps:j,getReferenceProps:S,isGroupPhase:a&&y&&y!==f,opened:a,placement:b}}l(rR,"useTooltip");var nR=Object.defineProperty,oR=Object.defineProperties,iR=Object.getOwnPropertyDescriptors,bl=Object.getOwnPropertySymbols,V1=Object.prototype.hasOwnProperty,q1=Object.prototype.propertyIsEnumerable,Og=l((e,t,n)=>t in e?nR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$8"),Bo=l((e,t)=>{for(var n in t||(t={}))V1.call(t,n)&&Og(e,n,t[n]);if(bl)for(var n of bl(t))q1.call(t,n)&&Og(e,n,t[n]);return e},"__spreadValues$8"),sR=l((e,t)=>oR(e,iR(t)),"__spreadProps$5"),lR=l((e,t)=>{var n={};for(var i in e)V1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&bl)for(var i of bl(e))t.indexOf(i)<0&&q1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$4");const aR={position:"top",refProp:"ref",withinPortal:!1,inline:!1,arrowSize:4,arrowOffset:5,arrowRadius:0,arrowPosition:"side",offset:5,transition:"fade",transitionDuration:100,width:"auto",events:{hover:!0,focus:!1,touch:!1},zIndex:Ul("popover"),positionDependencies:[]},Yl=m.forwardRef((e,t)=>{const n=m.useRef(null),i=ke("Tooltip",aR,e),{children:a,position:c,refProp:f,label:p,openDelay:y,closeDelay:g,onPositionChange:w,opened:_,withinPortal:x,radius:P,color:C,classNames:O,styles:$,unstyled:N,style:b,className:E,withArrow:z,arrowSize:S,arrowOffset:j,arrowRadius:A,arrowPosition:D,offset:Q,transition:X,transitionDuration:ae,multiline:Z,width:te,events:K,zIndex:ie,disabled:ue,positionDependencies:ne,onClick:W,onMouseEnter:Y,onMouseLeave:R,inline:H}=i,se=lR(i,["children","position","refProp","label","openDelay","closeDelay","onPositionChange","opened","withinPortal","radius","color","classNames","styles","unstyled","style","className","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","offset","transition","transitionDuration","multiline","width","events","zIndex","disabled","positionDependencies","onClick","onMouseEnter","onMouseLeave","inline"]),{classes:we,cx:U,theme:ce}=A1({radius:P,color:C,width:te,multiline:Z},{name:"Tooltip",classNames:O,styles:$,unstyled:N}),ee=rR({position:QE(ce.dir,c),closeDelay:g,openDelay:y,onPositionChange:w,opened:_,events:K,arrowRef:n,arrowOffset:j,offset:Q+(z?S/2:0),positionDependencies:[...ne,a],inline:H});if(!xv(a))throw new Error(B1.children);const ve=Wv(ee.reference,a.ref,t);return ze(Tn,{children:[B(_f,{withinPortal:x,children:B(Mf,{mounted:!ue&&ee.opened,transition:X,duration:ee.isGroupPhase?10:ae,children:l(_e=>{var Ce,Pt;return ze(Fe,{...Bo(Bo({},se),ee.getFloatingProps({ref:ee.floating,className:we.tooltip,style:sR(Bo(Bo({},b),_e),{zIndex:ie,top:(Ce=ee.y)!=null?Ce:0,left:(Pt=ee.x)!=null?Pt:0})})),children:[p,B(I0,{ref:n,arrowX:ee.arrowX,arrowY:ee.arrowY,visible:z,withBorder:!1,position:ee.placement,arrowSize:S,arrowOffset:j,arrowRadius:A,arrowPosition:D,className:we.arrow})]})},"children")})}),m.cloneElement(a,ee.getReferenceProps(Bo({onClick:W,onMouseEnter:Y,onMouseLeave:R,onMouseMove:e.onMouseMove,onPointerDown:e.onPointerDown,onPointerEnter:e.onPointerEnter,[f]:ve,className:U(E,a.props.className)},a.props)))]})});Yl.Group=F1;Yl.Floating=U1;Yl.displayName="@mantine/core/Tooltip";const uR=Yl;var cR=Object.defineProperty,fR=Object.defineProperties,dR=Object.getOwnPropertyDescriptors,Sl=Object.getOwnPropertySymbols,Q1=Object.prototype.hasOwnProperty,G1=Object.prototype.propertyIsEnumerable,Eg=l((e,t,n)=>t in e?cR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$7"),Wc=l((e,t)=>{for(var n in t||(t={}))Q1.call(t,n)&&Eg(e,n,t[n]);if(Sl)for(var n of Sl(t))G1.call(t,n)&&Eg(e,n,t[n]);return e},"__spreadValues$7"),K1=l((e,t)=>fR(e,dR(t)),"__spreadProps$4"),kg=l((e,t)=>{var n={};for(var i in e)Q1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Sl)for(var i of Sl(e))t.indexOf(i)<0&&G1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$3");function pR(e){return e.reduce((t,n)=>(t.sections.push(K1(Wc({},n),{accumulated:t.accumulated})),t.accumulated+=n.value,t),{accumulated:0,sections:[]}).sections}l(pR,"getCumulativeSections");const hR={size:"md",radius:"sm",striped:!1,animate:!1,label:""},mR=m.forwardRef((e,t)=>{const n=ke("Progress",hR,e),{className:i,value:a,color:c,size:f,radius:p,striped:y,animate:g,label:w,"aria-label":_,classNames:x,styles:P,sections:C,unstyled:O}=n,$=kg(n,["className","value","color","size","radius","striped","animate","label","aria-label","classNames","styles","sections","unstyled"]),{classes:N,cx:b,theme:E}=A4({color:c,size:f,radius:p,striped:y||g,animate:g},{classNames:x,styles:P,unstyled:O,name:"Progress"}),z=Array.isArray(C)?pR(C).map((S,j)=>{var A=S,{tooltip:D,accumulated:Q,value:X,label:ae,color:Z}=A,te=kg(A,["tooltip","accumulated","value","label","color"]);return B(uR.Floating,{label:D,disabled:!D,children:B(Fe,{...K1(Wc({},te),{className:b(N.bar,te.className),sx:{width:`${X}%`,left:`${Q}%`,backgroundColor:E.fn.variant({variant:"filled",primaryFallback:!1,color:Z||E.primaryColor}).background}}),children:ae&&B(Fn,{className:N.label,children:ae})})},j)}):null;return B(Fe,{...Wc({className:b(N.root,i),ref:t},$),children:z||B("div",{role:"progressbar","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":a,"aria-label":_,className:N.bar,style:{width:`${a}%`},children:w?B(Fn,{className:N.label,children:w}):""})})});mR.displayName="@mantine/core/Progress";const Y1=m.createContext(null),yR=Y1.Provider,gR=l(()=>m.useContext(Y1),"useSwitchGroupContext");var vR=Object.defineProperty,Ol=Object.getOwnPropertySymbols,X1=Object.prototype.hasOwnProperty,J1=Object.prototype.propertyIsEnumerable,Cg=l((e,t,n)=>t in e?vR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$6"),Rg=l((e,t)=>{for(var n in t||(t={}))X1.call(t,n)&&Cg(e,n,t[n]);if(Ol)for(var n of Ol(t))J1.call(t,n)&&Cg(e,n,t[n]);return e},"__spreadValues$6"),wR=l((e,t)=>{var n={};for(var i in e)X1.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Ol)for(var i of Ol(e))t.indexOf(i)<0&&J1.call(e,i)&&(n[i]=e[i]);return n},"__objRest$2");const _R={orientation:"horizontal",spacing:"lg",size:"sm",offset:"xs"},Z1=m.forwardRef((e,t)=>{const n=ke("SwitchGroup",_R,e),{children:i,value:a,defaultValue:c,onChange:f,orientation:p,spacing:y,size:g,wrapperProps:w,offset:_}=n,x=wR(n,["children","value","defaultValue","onChange","orientation","spacing","size","wrapperProps","offset"]),[P,C]=vf({value:a,defaultValue:c,finalValue:[],onChange:f});return B(yR,{value:{value:P,onChange:l($=>{const N=$.currentTarget.value;C(P.includes(N)?P.filter(b=>b!==N):[...P,N])},"handleChange"),size:g},children:B(Hn.Wrapper,{...Rg(Rg({labelElement:"div",size:g,__staticSelector:"SwitchGroup",ref:t},w),x),children:B(v1,{spacing:y,orientation:p,offset:_,children:i})})})});Z1.displayName="@mantine/core/SwitchGroup";var xR=Object.defineProperty,PR=Object.defineProperties,bR=Object.getOwnPropertyDescriptors,$g=Object.getOwnPropertySymbols,SR=Object.prototype.hasOwnProperty,OR=Object.prototype.propertyIsEnumerable,zg=l((e,t,n)=>t in e?xR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$5"),ER=l((e,t)=>{for(var n in t||(t={}))SR.call(t,n)&&zg(e,n,t[n]);if($g)for(var n of $g(t))OR.call(t,n)&&zg(e,n,t[n]);return e},"__spreadValues$5"),kR=l((e,t)=>PR(e,bR(t)),"__spreadProps$3");const CR={xs:16,sm:20,md:24,lg:30,xl:36},RR={xs:32,sm:38,md:46,lg:56,xl:72},$R={xs:12,sm:14,md:18,lg:22,xl:28},zR={xs:5,sm:6,md:7,lg:9,xl:11},MR={xs:4,sm:5,md:6,lg:8,xl:10};var NR=Te((e,{size:t,radius:n,color:i,labelPosition:a,error:c})=>{const f=e.fn.size({size:t,sizes:$R}),p=e.fn.size({size:n,sizes:e.radius}),y=e.fn.variant({variant:"filled",color:i}),g=e.fn.size({size:t,sizes:RR}),w=t==="xs"?1:2,_=e.fn.variant({variant:"filled",color:"red"}).background;return{input:{clip:"rect(1px, 1px, 1px, 1px)",height:0,width:0,overflow:"hidden",whiteSpace:"nowrap",padding:0,WebkitClipPath:"inset(50%)",clipPath:"inset(50%)",position:"absolute"},track:kR(ER({},e.fn.focusStyles("input:focus + &")),{cursor:e.cursorType,overflow:"hidden",WebkitTapHighlightColor:"transparent",position:"relative",borderRadius:p,backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[2],border:`1px solid ${c?_:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3]}`,height:e.fn.size({size:t,sizes:CR}),minWidth:g,margin:0,transitionProperty:"background-color, border-color",transitionTimingFunction:e.transitionTimingFunction,transitionDuration:"150ms",boxSizing:"border-box",appearance:"none",display:"flex",alignItems:"center",fontSize:e.fn.size({size:t,sizes:zR}),fontWeight:600,order:a==="left"?2:1,userSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",MsUserSelect:"none",zIndex:0,lineHeight:0,color:e.colorScheme==="dark"?e.colors.dark[1]:e.colors.gray[6],transition:`color 150ms ${e.transitionTimingFunction}`,"input:checked + &":{backgroundColor:y.background,borderColor:y.background,color:e.white,transition:`color 150ms ${e.transitionTimingFunction}`},"input:disabled + &":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2],borderColor:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2],cursor:"not-allowed"}}),thumb:{position:"absolute",zIndex:1,borderRadius:p,boxSizing:"border-box",display:"flex",backgroundColor:e.white,height:f,width:f,border:`1px solid ${e.colorScheme==="dark"?e.white:e.colors.gray[3]}`,left:`${w}px`,transition:`left 150ms ${e.transitionTimingFunction}`,"& > *":{margin:"auto"},"@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":""},"input:checked + * > &":{left:`calc(100% - ${f}px - ${w}px)`,borderColor:e.white},"input:disabled + * > &":{borderColor:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2],backgroundColor:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[0]}},trackLabel:{height:"100%",display:"grid",placeContent:"center",minWidth:g-f,paddingInline:e.fn.size({size:t,sizes:MR}),margin:`0 0 0 ${f+w}px`,transition:`margin 150ms ${e.transitionTimingFunction}`,"input:checked + * > &":{margin:`0 ${f+w}px 0 0`}}}}),jR=Object.defineProperty,LR=Object.defineProperties,IR=Object.getOwnPropertyDescriptors,El=Object.getOwnPropertySymbols,ew=Object.prototype.hasOwnProperty,tw=Object.prototype.propertyIsEnumerable,Mg=l((e,t,n)=>t in e?jR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$4"),pc=l((e,t)=>{for(var n in t||(t={}))ew.call(t,n)&&Mg(e,n,t[n]);if(El)for(var n of El(t))tw.call(t,n)&&Mg(e,n,t[n]);return e},"__spreadValues$4"),TR=l((e,t)=>LR(e,IR(t)),"__spreadProps$2"),DR=l((e,t)=>{var n={};for(var i in e)ew.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&El)for(var i of El(e))t.indexOf(i)<0&&tw.call(e,i)&&(n[i]=e[i]);return n},"__objRest$1");const FR={offLabel:"",onLabel:"",size:"sm",radius:"xl",error:!1},rw=m.forwardRef((e,t)=>{var n;const i=ke("Switch",FR,e),{className:a,color:c,label:f,offLabel:p,onLabel:y,id:g,style:w,size:_,radius:x,wrapperProps:P,children:C,unstyled:O,styles:$,classNames:N,thumbIcon:b,sx:E,checked:z,defaultChecked:S,onChange:j,labelPosition:A,description:D,error:Q,disabled:X}=i,ae=DR(i,["className","color","label","offLabel","onLabel","id","style","size","radius","wrapperProps","children","unstyled","styles","classNames","thumbIcon","sx","checked","defaultChecked","onChange","labelPosition","description","error","disabled"]),Z=gR(),{classes:te}=NR({size:(Z==null?void 0:Z.size)||_,color:c,radius:x,labelPosition:A,error:!!Q},{unstyled:O,styles:$,classNames:N,name:"Switch"}),{systemStyles:K,rest:ie}=Zo(ae),ue=Vl(g),ne=Z?{checked:Z.value.includes(ie.value),onChange:Z.onChange}:{},[W,Y]=vf({value:(n=ne.checked)!=null?n:z,defaultValue:S,finalValue:!1});return ze(Tf,{...pc(pc({className:a,sx:E,style:w,id:ue,size:(Z==null?void 0:Z.size)||_,labelPosition:A,label:f,description:D,error:Q,disabled:X,__staticSelector:"Switch",classNames:N,styles:$,unstyled:O,"data-checked":ne.checked||void 0},K),P),children:[B("input",{...TR(pc({},ie),{disabled:X,checked:W,onChange:l(R=>{Z?ne.onChange(R):j==null||j(R),Y(R.currentTarget.checked)},"onChange"),id:ue,ref:t,type:"checkbox",className:te.input})}),ze("label",{htmlFor:ue,className:te.track,children:[B("div",{className:te.thumb,children:b}),B("div",{className:te.trackLabel,children:W?y:p})]})]})});rw.displayName="@mantine/core/Switch";rw.Group=Z1;var AR=Object.defineProperty,BR=Object.defineProperties,WR=Object.getOwnPropertyDescriptors,Ng=Object.getOwnPropertySymbols,HR=Object.prototype.hasOwnProperty,UR=Object.prototype.propertyIsEnumerable,jg=l((e,t,n)=>t in e?AR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$3"),VR=l((e,t)=>{for(var n in t||(t={}))HR.call(t,n)&&jg(e,n,t[n]);if(Ng)for(var n of Ng(t))UR.call(t,n)&&jg(e,n,t[n]);return e},"__spreadValues$3"),qR=l((e,t)=>BR(e,WR(t)),"__spreadProps$1");function QR(e,t,n){return typeof e<"u"?e in n.headings.sizes?n.headings.sizes[e].fontSize:e:n.headings.sizes[t].fontSize}l(QR,"getFontSize");function GR(e,t,n){return typeof e<"u"&&e in n.headings.sizes?n.headings.sizes[e].lineHeight:n.headings.sizes[t].lineHeight}l(GR,"getLineHeight");var KR=Te((e,{element:t,weight:n,size:i,inline:a})=>({root:qR(VR({},e.fn.fontStyles()),{fontFamily:e.headings.fontFamily,fontWeight:n||e.headings.sizes[t].fontWeight||e.headings.fontWeight,fontSize:QR(i,t,e),lineHeight:a?1:GR(i,t,e),margin:0})})),YR=Object.defineProperty,kl=Object.getOwnPropertySymbols,nw=Object.prototype.hasOwnProperty,ow=Object.prototype.propertyIsEnumerable,Lg=l((e,t,n)=>t in e?YR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$2"),XR=l((e,t)=>{for(var n in t)nw.call(t,n)&&Lg(e,n,t[n]);if(kl)for(var n of kl(t))ow.call(t,n)&&Lg(e,n,t[n]);return e},"__spreadValues$2"),JR=l((e,t)=>{var n={};for(var i in e)nw.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&kl)for(var i of kl(e))t.indexOf(i)<0&&ow.call(e,i)&&(n[i]=e[i]);return n},"__objRest");const ZR={order:1},e$=m.forwardRef((e,t)=>{const n=ke("Title",ZR,e),{className:i,order:a,children:c,unstyled:f,size:p,weight:y,inline:g}=n,w=JR(n,["className","order","children","unstyled","size","weight","inline"]),{classes:_,cx:x}=KR({element:`h${a}`,weight:y,size:p,inline:g},{name:"Title",unstyled:f});return[1,2,3,4,5,6].includes(a)?B(Fn,{...XR({component:`h${a}`,ref:t,className:x(_.root,i)},w),children:c}):null});e$.displayName="@mantine/core/Title";const Uf=class Uf{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.push(t),this.onSubscribe(),()=>{this.listeners=this.listeners.filter(n=>n!==t),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}};l(Uf,"Subscribable");let on=Uf;const Go=typeof window>"u";function Rt(){}l(Rt,"noop");function t$(e,t){return typeof e=="function"?e(t):e}l(t$,"functionalUpdate");function Hc(e){return typeof e=="number"&&e>=0&&e!==1/0}l(Hc,"isValidTimeout");function iw(e,t){return Math.max(e+(t||0)-Date.now(),0)}l(iw,"timeUntilStale");function Ns(e,t,n){return ti(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}l(Ns,"parseQueryArgs");function N3(e,t,n){return ti(e)?typeof t=="function"?{...n,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:typeof e=="function"?{...t,mutationFn:e}:{...e}}l(N3,"parseMutationArgs");function Lr(e,t,n){return ti(e)?[{...t,queryKey:e},n]:[e||{},t]}l(Lr,"parseFilterArgs");function Ig(e,t){const{type:n="all",exact:i,fetchStatus:a,predicate:c,queryKey:f,stale:p}=e;if(ti(f)){if(i){if(t.queryHash!==Df(f,t.options))return!1}else if(!Cl(t.queryKey,f))return!1}if(n!=="all"){const y=t.isActive();if(n==="active"&&!y||n==="inactive"&&y)return!1}return!(typeof p=="boolean"&&t.isStale()!==p||typeof a<"u"&&a!==t.state.fetchStatus||c&&!c(t))}l(Ig,"matchQuery");function Tg(e,t){const{exact:n,fetching:i,predicate:a,mutationKey:c}=e;if(ti(c)){if(!t.options.mutationKey)return!1;if(n){if(rn(t.options.mutationKey)!==rn(c))return!1}else if(!Cl(t.options.mutationKey,c))return!1}return!(typeof i=="boolean"&&t.state.status==="loading"!==i||a&&!a(t))}l(Tg,"matchMutation");function Df(e,t){return((t==null?void 0:t.queryKeyHashFn)||rn)(e)}l(Df,"hashQueryKeyByOptions");function rn(e){return JSON.stringify(e,(t,n)=>Uc(n)?Object.keys(n).sort().reduce((i,a)=>(i[a]=n[a],i),{}):n)}l(rn,"hashQueryKey");function Cl(e,t){return sw(e,t)}l(Cl,"partialMatchKey");function sw(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!sw(e[n],t[n])):!1}l(sw,"partialDeepEqual");function lw(e,t){if(e===t)return e;const n=Fg(e)&&Fg(t);if(n||Uc(e)&&Uc(t)){const i=n?e.length:Object.keys(e).length,a=n?t:Object.keys(t),c=a.length,f=n?[]:{};let p=0;for(let y=0;y<c;y++){const g=n?y:a[y];f[g]=lw(e[g],t[g]),f[g]===e[g]&&p++}return i===c&&p===i?e:f}return t}l(lw,"replaceEqualDeep");function Dg(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}l(Dg,"shallowEqualObjects");function Fg(e){return Array.isArray(e)&&e.length===Object.keys(e).length}l(Fg,"isPlainArray");function Uc(e){if(!Ag(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!Ag(n)||!n.hasOwnProperty("isPrototypeOf"))}l(Uc,"isPlainObject");function Ag(e){return Object.prototype.toString.call(e)==="[object Object]"}l(Ag,"hasObjectPrototype");function ti(e){return Array.isArray(e)}l(ti,"isQueryKey");function aw(e){return new Promise(t=>{setTimeout(t,e)})}l(aw,"sleep");function Bg(e){aw(0).then(e)}l(Bg,"scheduleMicrotask");function r$(){if(typeof AbortController=="function")return new AbortController}l(r$,"getAbortController");function Vc(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?lw(e,t):t}l(Vc,"replaceData");const Vf=class Vf extends on{constructor(){super(),this.setup=t=>{if(!Go&&window.addEventListener){const n=l(()=>t(),"listener");return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()})}setFocused(t){this.focused=t,t&&this.onFocus()}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}};l(Vf,"FocusManager");let qc=Vf;const Rl=new qc,qf=class qf extends on{constructor(){super(),this.setup=t=>{if(!Go&&window.addEventListener){const n=l(()=>t(),"listener");return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(i=>{typeof i=="boolean"?this.setOnline(i):this.onOnline()})}setOnline(t){this.online=t,t&&this.onOnline()}onOnline(){this.listeners.forEach(t=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}};l(qf,"OnlineManager");let Qc=qf;const $l=new Qc;function n$(e){return Math.min(1e3*2**e,3e4)}l(n$,"defaultRetryDelay");function Xl(e){return(e??"online")==="online"?$l.isOnline():!0}l(Xl,"canFetch");const Qf=class Qf{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};l(Qf,"CancelledError");let zl=Qf;function js(e){return e instanceof zl}l(js,"isCancelledError");function uw(e){let t=!1,n=0,i=!1,a,c,f;const p=new Promise(($,N)=>{c=$,f=N}),y=l($=>{i||(P(new zl($)),e.abort==null||e.abort())},"cancel"),g=l(()=>{t=!0},"cancelRetry"),w=l(()=>{t=!1},"continueRetry"),_=l(()=>!Rl.isFocused()||e.networkMode!=="always"&&!$l.isOnline(),"shouldPause"),x=l($=>{i||(i=!0,e.onSuccess==null||e.onSuccess($),a==null||a(),c($))},"resolve"),P=l($=>{i||(i=!0,e.onError==null||e.onError($),a==null||a(),f($))},"reject"),C=l(()=>new Promise($=>{a=l(N=>{if(i||!_())return $(N)},"continueFn"),e.onPause==null||e.onPause()}).then(()=>{a=void 0,i||e.onContinue==null||e.onContinue()}),"pause"),O=l(()=>{if(i)return;let $;try{$=e.fn()}catch(N){$=Promise.reject(N)}Promise.resolve($).then(x).catch(N=>{var b,E;if(i)return;const z=(b=e.retry)!=null?b:3,S=(E=e.retryDelay)!=null?E:n$,j=typeof S=="function"?S(n,N):S,A=z===!0||typeof z=="number"&&n<z||typeof z=="function"&&z(n,N);if(t||!A){P(N);return}n++,e.onFail==null||e.onFail(n,N),aw(j).then(()=>{if(_())return C()}).then(()=>{t?P(N):O()})})},"run");return Xl(e.networkMode)?O():C().then(O),{promise:p,cancel:y,continue:l(()=>{a==null||a()},"continue"),cancelRetry:g,continueRetry:w}}l(uw,"createRetryer");const Ff=console;function o$(){let e=[],t=0,n=l(w=>{w()},"notifyFn"),i=l(w=>{w()},"batchNotifyFn");const a=l(w=>{let _;t++;try{_=w()}finally{t--,t||p()}return _},"batch"),c=l(w=>{t?e.push(w):Bg(()=>{n(w)})},"schedule"),f=l(w=>(..._)=>{c(()=>{w(..._)})},"batchCalls"),p=l(()=>{const w=e;e=[],w.length&&Bg(()=>{i(()=>{w.forEach(_=>{n(_)})})})},"flush");return{batch:a,batchCalls:f,schedule:c,setNotifyFunction:l(w=>{n=w},"setNotifyFunction"),setBatchNotifyFunction:l(w=>{i=w},"setBatchNotifyFunction")}}l(o$,"createNotifyManager");const Ue=o$(),Gf=class Gf{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Hc(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t??(Go?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}};l(Gf,"Removable");let Ml=Gf;const Kf=class Kf extends Ml{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||Ff,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||i$(this.options),this.state=this.initialState,this.meta=t.meta}setOptions(t){this.options={...this.defaultOptions,...t},this.meta=t==null?void 0:t.meta,this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,n){const i=Vc(this.state.data,t,this.options);return this.dispatch({data:i,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),i}setState(t,n){this.dispatch({type:"setState",state:t,setStateOptions:n})}cancel(t){var n;const i=this.promise;return(n=this.retryer)==null||n.cancel(t),i?i.then(Rt).catch(Rt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!iw(this.state.dataUpdatedAt,t)}onFocus(){var t;const n=this.observers.find(i=>i.shouldFetchOnWindowFocus());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const n=this.observers.find(i=>i.shouldFetchOnReconnect());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.indexOf(t)!==-1&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,n){var i,a;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&n!=null&&n.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var c;return(c=this.retryer)==null||c.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const P=this.observers.find(C=>C.options.queryFn);P&&this.setOptions(P.options)}Array.isArray(this.options.queryKey);const f=r$(),p={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},y=l(P=>{Object.defineProperty(P,"signal",{enumerable:!0,get:l(()=>{if(f)return this.abortSignalConsumed=!0,f.signal},"get")})},"addSignalProperty");y(p);const g=l(()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(p)):Promise.reject("Missing queryFn"),"fetchFn"),w={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:g,meta:this.meta};if(y(w),(i=this.options.behavior)==null||i.onFetch(w),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((a=w.fetchOptions)==null?void 0:a.meta)){var _;this.dispatch({type:"fetch",meta:(_=w.fetchOptions)==null?void 0:_.meta})}const x=l(P=>{if(js(P)&&P.silent||this.dispatch({type:"error",error:P}),!js(P)){var C,O;(C=(O=this.cache.config).onError)==null||C.call(O,P,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},"onError");return this.retryer=uw({fn:w.fetchFn,abort:f==null?void 0:f.abort.bind(f),onSuccess:l(P=>{var C,O;if(typeof P>"u"){x(new Error("undefined"));return}this.setData(P),(C=(O=this.cache.config).onSuccess)==null||C.call(O,P,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},"onSuccess"),onError:x,onFail:l(()=>{this.dispatch({type:"failed"})},"onFail"),onPause:l(()=>{this.dispatch({type:"pause"})},"onPause"),onContinue:l(()=>{this.dispatch({type:"continue"})},"onContinue"),retry:w.options.retry,retryDelay:w.options.retryDelay,networkMode:w.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const n=l(i=>{var a,c;switch(t.type){case"failed":return{...i,fetchFailureCount:i.fetchFailureCount+1};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,fetchFailureCount:0,fetchMeta:(a=t.meta)!=null?a:null,fetchStatus:Xl(this.options.networkMode)?"fetching":"paused",...!i.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:(c=t.dataUpdatedAt)!=null?c:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0}};case"error":const f=t.error;return js(f)&&f.revert&&this.revertState?{...this.revertState}:{...i,error:f,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}},"reducer");this.state=n(this.state),Ue.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}};l(Kf,"Query");let Gc=Kf;function i$(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,i=typeof e.initialData<"u"?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,a=typeof t<"u";return{data:t,dataUpdateCount:0,dataUpdatedAt:a?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:a?"success":"loading",fetchStatus:"idle"}}l(i$,"getDefaultState$1");const Yf=class Yf extends on{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,n,i){var a;const c=n.queryKey,f=(a=n.queryHash)!=null?a:Df(c,n);let p=this.get(f);return p||(p=new Gc({cache:this,logger:t.getLogger(),queryKey:c,queryHash:f,options:t.defaultQueryOptions(n),state:i,defaultOptions:t.getQueryDefaults(c),meta:n.meta}),this.add(p)),p}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const n=this.queriesMap[t.queryHash];n&&(t.destroy(),this.queries=this.queries.filter(i=>i!==t),n===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){Ue.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[i]=Lr(t,n);return typeof i.exact>"u"&&(i.exact=!0),this.queries.find(a=>Ig(i,a))}findAll(t,n){const[i]=Lr(t,n);return Object.keys(i).length>0?this.queries.filter(a=>Ig(i,a)):this.queries}notify(t){Ue.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ue.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){Ue.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}};l(Yf,"QueryCache");let Kc=Yf;const Xf=class Xf extends Ml{constructor(t){super(),this.options={...t.defaultOptions,...t.options},this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||Ff,this.observers=[],this.state=t.state||s$(),this.meta=t.meta,this.updateCacheTime(this.options.cacheTime),this.scheduleGc()}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(n=>n!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}async execute(){const t=l(()=>{var E;return this.retryer=uw({fn:l(()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),"fn"),onFail:l(()=>{this.dispatch({type:"failed"})},"onFail"),onPause:l(()=>{this.dispatch({type:"pause"})},"onPause"),onContinue:l(()=>{this.dispatch({type:"continue"})},"onContinue"),retry:(E=this.options.retry)!=null?E:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},"executeMutation"),n=this.state.status==="loading";try{var i,a,c,f,p,y;if(!n){var g,w,_,x;this.dispatch({type:"loading",variables:this.options.variables}),(g=(w=this.mutationCache.config).onMutate)==null||g.call(w,this.state.variables,this);const z=await((_=(x=this.options).onMutate)==null?void 0:_.call(x,this.state.variables));z!==this.state.context&&this.dispatch({type:"loading",context:z,variables:this.state.variables})}const E=await t();return(i=(a=this.mutationCache.config).onSuccess)==null||i.call(a,E,this.state.variables,this.state.context,this),await((c=(f=this.options).onSuccess)==null?void 0:c.call(f,E,this.state.variables,this.state.context)),await((p=(y=this.options).onSettled)==null?void 0:p.call(y,E,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:E}),E}catch(E){try{var P,C,O,$,N,b;throw(P=(C=this.mutationCache.config).onError)==null||P.call(C,E,this.state.variables,this.state.context,this),await((O=($=this.options).onError)==null?void 0:O.call($,E,this.state.variables,this.state.context)),await((N=(b=this.options).onSettled)==null?void 0:N.call(b,void 0,E,this.state.variables,this.state.context)),E}finally{this.dispatch({type:"error",error:E})}}}dispatch(t){const n=l(i=>{switch(t.type){case"failed":return{...i,failureCount:i.failureCount+1};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"loading":return{...i,context:t.context,data:void 0,error:null,isPaused:!Xl(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...i,data:t.data,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,isPaused:!1,status:"error"};case"setState":return{...i,...t.state}}},"reducer");this.state=n(this.state),Ue.batch(()=>{this.observers.forEach(i=>{i.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}};l(Xf,"Mutation");let Yc=Xf;function s$(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}l(s$,"getDefaultState");const Jf=class Jf extends on{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,i){const a=new Yc({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(n),state:i,defaultOptions:n.mutationKey?t.getMutationDefaults(n.mutationKey):void 0,meta:n.meta});return this.add(a),a}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(n=>n!==t),this.notify({type:"removed",mutation:t})}clear(){Ue.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact>"u"&&(t.exact=!0),this.mutations.find(n=>Tg(t,n))}findAll(t){return this.mutations.filter(n=>Tg(t,n))}notify(t){Ue.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.mutations.filter(n=>n.state.isPaused);return Ue.batch(()=>t.reduce((n,i)=>n.then(()=>i.continue().catch(Rt)),Promise.resolve()))}};l(Jf,"MutationCache");let Xc=Jf;function l$(){return{onFetch:l(e=>{e.fetchFn=()=>{var t,n,i,a,c,f;const p=(t=e.fetchOptions)==null||(n=t.meta)==null?void 0:n.refetchPage,y=(i=e.fetchOptions)==null||(a=i.meta)==null?void 0:a.fetchMore,g=y==null?void 0:y.pageParam,w=(y==null?void 0:y.direction)==="forward",_=(y==null?void 0:y.direction)==="backward",x=((c=e.state.data)==null?void 0:c.pages)||[],P=((f=e.state.data)==null?void 0:f.pageParams)||[];let C=P,O=!1;const $=l(j=>{Object.defineProperty(j,"signal",{enumerable:!0,get:l(()=>{var A;if((A=e.signal)!=null&&A.aborted)O=!0;else{var D;(D=e.signal)==null||D.addEventListener("abort",()=>{O=!0})}return e.signal},"get")})},"addSignalProperty"),N=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),b=l((j,A,D,Q)=>(C=Q?[A,...C]:[...C,A],Q?[D,...j]:[...j,D]),"buildNewPages"),E=l((j,A,D,Q)=>{if(O)return Promise.reject("Cancelled");if(typeof D>"u"&&!A&&j.length)return Promise.resolve(j);const X={queryKey:e.queryKey,pageParam:D,meta:e.meta};$(X);const ae=N(X);return Promise.resolve(ae).then(te=>b(j,D,te,Q))},"fetchPage");let z;if(!x.length)z=E([]);else if(w){const j=typeof g<"u",A=j?g:Jc(e.options,x);z=E(x,j,A)}else if(_){const j=typeof g<"u",A=j?g:cw(e.options,x);z=E(x,j,A,!0)}else{C=[];const j=typeof e.options.getNextPageParam>"u";z=(p&&x[0]?p(x[0],0,x):!0)?E([],j,P[0]):Promise.resolve(b([],P[0],x[0]));for(let D=1;D<x.length;D++)z=z.then(Q=>{if(p&&x[D]?p(x[D],D,x):!0){const ae=j?P[D]:Jc(e.options,Q);return E(Q,j,ae)}return Promise.resolve(b(Q,P[D],x[D]))})}return z.then(j=>({pages:j,pageParams:C}))}},"onFetch")}}l(l$,"infiniteQueryBehavior");function Jc(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}l(Jc,"getNextPageParam");function cw(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}l(cw,"getPreviousPageParam");function j3(e,t){if(e.getNextPageParam&&Array.isArray(t)){const n=Jc(e,t);return typeof n<"u"&&n!==null&&n!==!1}}l(j3,"hasNextPage");function L3(e,t){if(e.getPreviousPageParam&&Array.isArray(t)){const n=cw(e,t);return typeof n<"u"&&n!==null&&n!==!1}}l(L3,"hasPreviousPage");const Zf=class Zf{constructor(t={}){this.queryCache=t.queryCache||new Kc,this.mutationCache=t.mutationCache||new Xc,this.logger=t.logger||Ff,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}mount(){this.unsubscribeFocus=Rl.subscribe(()=>{Rl.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=$l.subscribe(()=>{$l.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})}unmount(){var t,n;(t=this.unsubscribeFocus)==null||t.call(this),(n=this.unsubscribeOnline)==null||n.call(this)}isFetching(t,n){const[i]=Lr(t,n);return i.fetchStatus="fetching",this.queryCache.findAll(i).length}isMutating(t){return this.mutationCache.findAll({...t,fetching:!0}).length}getQueryData(t,n){var i;return(i=this.queryCache.find(t,n))==null?void 0:i.state.data}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:n,state:i})=>{const a=i.data;return[n,a]})}setQueryData(t,n,i){const a=this.queryCache.find(t),c=a==null?void 0:a.state.data,f=t$(n,c);if(typeof f>"u")return;const p=Ns(t),y=this.defaultQueryOptions(p);return this.queryCache.build(this,y).setData(f,{...i,manual:!0})}setQueriesData(t,n,i){return Ue.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:a})=>[a,this.setQueryData(a,n,i)]))}getQueryState(t,n){var i;return(i=this.queryCache.find(t,n))==null?void 0:i.state}removeQueries(t,n){const[i]=Lr(t,n),a=this.queryCache;Ue.batch(()=>{a.findAll(i).forEach(c=>{a.remove(c)})})}resetQueries(t,n,i){const[a,c]=Lr(t,n,i),f=this.queryCache,p={type:"active",...a};return Ue.batch(()=>(f.findAll(a).forEach(y=>{y.reset()}),this.refetchQueries(p,c)))}cancelQueries(t,n,i){const[a,c={}]=Lr(t,n,i);typeof c.revert>"u"&&(c.revert=!0);const f=Ue.batch(()=>this.queryCache.findAll(a).map(p=>p.cancel(c)));return Promise.all(f).then(Rt).catch(Rt)}invalidateQueries(t,n,i){const[a,c]=Lr(t,n,i);return Ue.batch(()=>{var f,p;if(this.queryCache.findAll(a).forEach(g=>{g.invalidate()}),a.refetchType==="none")return Promise.resolve();const y={...a,type:(f=(p=a.refetchType)!=null?p:a.type)!=null?f:"active"};return this.refetchQueries(y,c)})}refetchQueries(t,n,i){const[a,c]=Lr(t,n,i),f=Ue.batch(()=>this.queryCache.findAll(a).filter(y=>!y.isDisabled()).map(y=>{var g;return y.fetch(void 0,{...c,cancelRefetch:(g=c==null?void 0:c.cancelRefetch)!=null?g:!0,meta:{refetchPage:a.refetchPage}})}));let p=Promise.all(f).then(Rt);return c!=null&&c.throwOnError||(p=p.catch(Rt)),p}fetchQuery(t,n,i){const a=Ns(t,n,i),c=this.defaultQueryOptions(a);typeof c.retry>"u"&&(c.retry=!1);const f=this.queryCache.build(this,c);return f.isStaleByTime(c.staleTime)?f.fetch(c):Promise.resolve(f.state.data)}prefetchQuery(t,n,i){return this.fetchQuery(t,n,i).then(Rt).catch(Rt)}fetchInfiniteQuery(t,n,i){const a=Ns(t,n,i);return a.behavior=l$(),this.fetchQuery(a)}prefetchInfiniteQuery(t,n,i){return this.fetchInfiniteQuery(t,n,i).then(Rt).catch(Rt)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,n){const i=this.queryDefaults.find(a=>rn(t)===rn(a.queryKey));i?i.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(i=>Cl(t,i.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const i=this.mutationDefaults.find(a=>rn(t)===rn(a.mutationKey));i?i.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(i=>Cl(t,i.mutationKey));return n==null?void 0:n.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const n={...this.defaultOptions.queries,...this.getQueryDefaults(t==null?void 0:t.queryKey),...t,_defaulted:!0};return!n.queryHash&&n.queryKey&&(n.queryHash=Df(n.queryKey,n)),typeof n.refetchOnReconnect>"u"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary>"u"&&(n.useErrorBoundary=!!n.suspense),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(t==null?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};l(Zf,"QueryClient");let Wg=Zf;const ed=class ed extends on{constructor(t,n){super(),this.client=t,this.options=n,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(n)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.length===1&&(this.currentQuery.addObserver(this),Hg(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return ef(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ef(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,n){const i=this.options,a=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),Dg(i,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=i.queryKey),this.updateQuery();const c=this.hasListeners();c&&Ug(this.currentQuery,a,this.options,i)&&this.executeFetch(),this.updateResult(n),c&&(this.currentQuery!==a||this.options.enabled!==i.enabled||this.options.staleTime!==i.staleTime)&&this.updateStaleTimeout();const f=this.computeRefetchInterval();c&&(this.currentQuery!==a||this.options.enabled!==i.enabled||f!==this.currentRefetchInterval)&&this.updateRefetchInterval(f)}getOptimisticResult(t){const n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)}getCurrentResult(){return this.currentResult}trackResult(t){const n={};return Object.keys(t).forEach(i=>{Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:l(()=>(this.trackedProps.add(i),t[i]),"get")})}),n}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...n}={}){return this.fetch({...n,meta:{refetchPage:t}})}fetchOptimistic(t){const n=this.client.defaultQueryOptions(t),i=this.client.getQueryCache().build(this.client,n);return i.isFetchingOptimistic=!0,i.fetch().then(()=>this.createResult(i,n))}fetch(t){var n;return this.executeFetch({...t,cancelRefetch:(n=t.cancelRefetch)!=null?n:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let n=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Rt)),n}updateStaleTimeout(){if(this.clearStaleTimeout(),Go||this.currentResult.isStale||!Hc(this.options.staleTime))return;const n=iw(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},n)}computeRefetchInterval(){var t;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(t=this.options.refetchInterval)!=null?t:!1}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!(Go||this.options.enabled===!1||!Hc(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||Rl.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,n){const i=this.currentQuery,a=this.options,c=this.currentResult,f=this.currentResultState,p=this.currentResultOptions,y=t!==i,g=y?t.state:this.currentQueryInitialState,w=y?this.currentResult:this.previousQueryResult,{state:_}=t;let{dataUpdatedAt:x,error:P,errorUpdatedAt:C,fetchStatus:O,status:$}=_,N=!1,b=!1,E;if(n._optimisticResults){const D=this.hasListeners(),Q=!D&&Hg(t,n),X=D&&Ug(t,i,n,a);(Q||X)&&(O=Xl(t.options.networkMode)?"fetching":"paused",x||($="loading")),n._optimisticResults==="isRestoring"&&(O="idle")}if(n.keepPreviousData&&!_.dataUpdateCount&&w!=null&&w.isSuccess&&$!=="error")E=w.data,x=w.dataUpdatedAt,$=w.status,N=!0;else if(n.select&&typeof _.data<"u")if(c&&_.data===(f==null?void 0:f.data)&&n.select===this.selectFn)E=this.selectResult;else try{this.selectFn=n.select,E=n.select(_.data),E=Vc(c==null?void 0:c.data,E,n),this.selectResult=E,this.selectError=null}catch(D){this.selectError=D}else E=_.data;if(typeof n.placeholderData<"u"&&typeof E>"u"&&$==="loading"){let D;if(c!=null&&c.isPlaceholderData&&n.placeholderData===(p==null?void 0:p.placeholderData))D=c.data;else if(D=typeof n.placeholderData=="function"?n.placeholderData():n.placeholderData,n.select&&typeof D<"u")try{D=n.select(D),D=Vc(c==null?void 0:c.data,D,n),this.selectError=null}catch(Q){this.selectError=Q}typeof D<"u"&&($="success",E=D,b=!0)}this.selectError&&(P=this.selectError,E=this.selectResult,C=Date.now(),$="error");const z=O==="fetching",S=$==="loading",j=$==="error";return{status:$,fetchStatus:O,isLoading:S,isSuccess:$==="success",isError:j,isInitialLoading:S&&z,data:E,dataUpdatedAt:x,error:P,errorUpdatedAt:C,failureCount:_.fetchFailureCount,errorUpdateCount:_.errorUpdateCount,isFetched:_.dataUpdateCount>0||_.errorUpdateCount>0,isFetchedAfterMount:_.dataUpdateCount>g.dataUpdateCount||_.errorUpdateCount>g.errorUpdateCount,isFetching:z,isRefetching:z&&!S,isLoadingError:j&&_.dataUpdatedAt===0,isPaused:O==="paused",isPlaceholderData:b,isPreviousData:N,isRefetchError:j&&_.dataUpdatedAt!==0,isStale:Af(t,n),refetch:this.refetch,remove:this.remove}}updateResult(t){const n=this.currentResult,i=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Dg(i,n))return;this.currentResult=i;const a={cache:!0},c=l(()=>{if(!n)return!0;const{notifyOnChangeProps:f}=this.options;if(f==="all"||!f&&!this.trackedProps.size)return!0;const p=new Set(f??this.trackedProps);return this.options.useErrorBoundary&&p.add("error"),Object.keys(this.currentResult).some(y=>{const g=y;return this.currentResult[g]!==n[g]&&p.has(g)})},"shouldNotifyListeners");(t==null?void 0:t.listeners)!==!1&&c()&&(a.listeners=!0),this.notify({...a,...t})}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const n=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const n={};t.type==="success"?n.onSuccess=!t.manual:t.type==="error"&&!js(t.error)&&(n.onError=!0),this.updateResult(n),this.hasListeners()&&this.updateTimers()}notify(t){Ue.batch(()=>{if(t.onSuccess){var n,i,a,c;(n=(i=this.options).onSuccess)==null||n.call(i,this.currentResult.data),(a=(c=this.options).onSettled)==null||a.call(c,this.currentResult.data,null)}else if(t.onError){var f,p,y,g;(f=(p=this.options).onError)==null||f.call(p,this.currentResult.error),(y=(g=this.options).onSettled)==null||y.call(g,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(w=>{w(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}};l(ed,"QueryObserver");let Zc=ed;function a$(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}l(a$,"shouldLoadOnMount");function Hg(e,t){return a$(e,t)||e.state.dataUpdatedAt>0&&ef(e,t,t.refetchOnMount)}l(Hg,"shouldFetchOnMount");function ef(e,t,n){if(t.enabled!==!1){const i=typeof n=="function"?n(e):n;return i==="always"||i!==!1&&Af(e,t)}return!1}l(ef,"shouldFetchOn");function Ug(e,t,n,i){return n.enabled!==!1&&(e!==t||i.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&Af(e,n)}l(Ug,"shouldFetchOptionally");function Af(e,t){return e.isStaleByTime(t.staleTime)}l(Af,"isStale");var hc={exports:{}},mc={};/**
* @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 Vg;function u$(){if(Vg)return mc;Vg=1;var e=Dl();function t(_,x){return _===x&&(_!==0||1/_===1/x)||_!==_&&x!==x}l(t,"h");var n=typeof Object.is=="function"?Object.is:t,i=e.useState,a=e.useEffect,c=e.useLayoutEffect,f=e.useDebugValue;function p(_,x){var P=x(),C=i({inst:{value:P,getSnapshot:x}}),O=C[0].inst,$=C[1];return c(function(){O.value=P,O.getSnapshot=x,y(O)&&$({inst:O})},[_,P,x]),a(function(){return y(O)&&$({inst:O}),_(function(){y(O)&&$({inst:O})})},[_]),f(P),P}l(p,"q");function y(_){var x=_.getSnapshot;_=_.value;try{var P=x();return!n(_,P)}catch{return!0}}l(y,"r");function g(_,x){return x()}l(g,"t");var w=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:p;return mc.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:w,mc}l(u$,"requireUseSyncExternalStoreShim_production_min");var qg;function c$(){return qg||(qg=1,hc.exports=u$()),hc.exports}l(c$,"requireShim");var f$=c$();const d$=f$.useSyncExternalStore,Qg=m.createContext(void 0),fw=m.createContext(!1);function dw(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Qg),window.ReactQueryClientContext):Qg)}l(dw,"getQueryClientContext");const p$=l(({context:e}={})=>{const t=m.useContext(dw(e,m.useContext(fw)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},"useQueryClient"),I3=l(({client:e,children:t,context:n,contextSharing:i=!1})=>{m.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const a=dw(n,i);return B(fw.Provider,{value:!n&&i,children:B(a.Provider,{value:e,children:t})})},"QueryClientProvider"),pw=m.createContext(!1),h$=l(()=>m.useContext(pw),"useIsRestoring");pw.Provider;function m$(){let e=!1;return{clearReset:l(()=>{e=!1},"clearReset"),reset:l(()=>{e=!0},"reset"),isReset:l(()=>e,"isReset")}}l(m$,"createValue");const y$=m.createContext(m$()),g$=l(()=>m.useContext(y$),"useQueryErrorResetBoundary");function v$(e,t){return typeof e=="function"?e(...t):!!e}l(v$,"shouldThrowError");const w$=l((e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},"ensurePreventErrorBoundaryRetry"),_$=l(e=>{m.useEffect(()=>{e.clearReset()},[e])},"useClearResetErrorBoundary"),x$=l(({result:e,errorResetBoundary:t,useErrorBoundary:n,query:i})=>e.isError&&!t.isReset()&&!e.isFetching&&v$(n,[e.error,i]),"getHasError");function P$(e,t){const n=p$({context:e.context}),i=h$(),a=g$(),c=n.defaultQueryOptions(e);c._optimisticResults=i?"isRestoring":"optimistic",c.onError&&(c.onError=Ue.batchCalls(c.onError)),c.onSuccess&&(c.onSuccess=Ue.batchCalls(c.onSuccess)),c.onSettled&&(c.onSettled=Ue.batchCalls(c.onSettled)),c.suspense&&typeof c.staleTime!="number"&&(c.staleTime=1e3),w$(c,a),_$(a);const[f]=m.useState(()=>new t(n,c)),p=f.getOptimisticResult(c);if(d$(m.useCallback(y=>i?()=>{}:f.subscribe(Ue.batchCalls(y)),[f,i]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),m.useEffect(()=>{f.setOptions(c,{listeners:!1})},[c,f]),c.suspense&&p.isLoading&&p.isFetching&&!i)throw f.fetchOptimistic(c).then(({data:y})=>{c.onSuccess==null||c.onSuccess(y),c.onSettled==null||c.onSettled(y,null)}).catch(y=>{a.clearReset(),c.onError==null||c.onError(y),c.onSettled==null||c.onSettled(void 0,y)});if(x$({result:p,errorResetBoundary:a,useErrorBoundary:c.useErrorBoundary,query:f.getCurrentQuery()}))throw p.error;return c.notifyOnChangeProps?p:f.trackResult(p)}l(P$,"useBaseQuery");function T3(e,t,n){const i=Ns(e,t,n);return P$(i,Zc)}l(T3,"useQuery");function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},pe.apply(this,arguments)}l(pe,"t");function he(e,t){if(e==null)return{};var n,i,a=function(f,p){if(f==null)return{};var y,g,w={},_=Object.keys(f);for(g=0;g<_.length;g++)y=_[g],p.indexOf(y)>=0||(w[y]=f[y]);return w}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(i=0;i<c.length;i++)n=c[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}l(he,"o");var b$=["size","color","stroke"];function D3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,b$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-adjustments",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:6,cy:10,r:2}),m.createElement("line",{x1:6,y1:4,x2:6,y2:8}),m.createElement("line",{x1:6,y1:12,x2:6,y2:20}),m.createElement("circle",{cx:12,cy:16,r:2}),m.createElement("line",{x1:12,y1:4,x2:12,y2:14}),m.createElement("line",{x1:12,y1:18,x2:12,y2:20}),m.createElement("circle",{cx:18,cy:7,r:2}),m.createElement("line",{x1:18,y1:4,x2:18,y2:5}),m.createElement("line",{x1:18,y1:9,x2:18,y2:20}))}l(D3,"Y");var S$=["size","color","stroke"];function F3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,S$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-arrow-up",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("line",{x1:12,y1:5,x2:12,y2:19}),m.createElement("line",{x1:18,y1:11,x2:12,y2:5}),m.createElement("line",{x1:6,y1:11,x2:12,y2:5}))}l(F3,"Ol");var O$=["size","color","stroke"];function A3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,O$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-arrows-exchange-2",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M17 10h-14l4 -4"}),m.createElement("path",{d:"M7 14h14l-4 4"}))}l(A3,"pi");var E$=["size","color","stroke"];function B3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,E$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-arrows-sort",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M3 9l4 -4l4 4m-4 -4v14"}),m.createElement("path",{d:"M21 15l-4 4l-4 -4m4 4v-14"}))}l(B3,"ea");var k$=["size","color","stroke"];function W3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,k$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-arrows-vertical",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("polyline",{points:"8 7 12 3 16 7"}),m.createElement("polyline",{points:"8 17 12 21 16 17"}),m.createElement("line",{x1:12,y1:3,x2:12,y2:21}))}l(W3,"ua");var C$=["size","color","stroke"];function H3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,C$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-article",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("rect",{x:3,y:4,width:18,height:16,rx:2}),m.createElement("path",{d:"M7 8h10"}),m.createElement("path",{d:"M7 12h10"}),m.createElement("path",{d:"M7 16h10"}))}l(H3,"ya");var R$=["size","color","stroke"];function U3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,R$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-at",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:12,cy:12,r:4}),m.createElement("path",{d:"M16 12v1.5a2.5 2.5 0 0 0 5 0v-1.5a9 9 0 1 0 -5.5 8.28"}))}l(U3,"Qa");var $$=["size","color","stroke"];function V3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,$$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-browser",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("rect",{x:4,y:4,width:16,height:16,rx:1}),m.createElement("line",{x1:4,y1:8,x2:20,y2:8}),m.createElement("line",{x1:8,y1:4,x2:8,y2:8}))}l(V3,"wz");var z$=["size","color","stroke"];function q3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,z$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-bulb",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7"}),m.createElement("path",{d:"M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3"}),m.createElement("line",{x1:9.7,y1:17,x2:14.3,y2:17}))}l(q3,"zb");var M$=["size","color","stroke"];function Q3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,M$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-check",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M5 12l5 5l10 -10"}))}l(Q3,"dj");var N$=["size","color","stroke"];function G3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,N$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-chevron-down",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("polyline",{points:"6 9 12 15 18 9"}))}l(G3,"Pj");var j$=["size","color","stroke"];function K3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,j$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-circle-check",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:12,cy:12,r:9}),m.createElement("path",{d:"M9 12l2 2l4 -4"}))}l(K3,"zB");var L$=["size","color","stroke"];function Y3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,L$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-circle-x",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:12,cy:12,r:9}),m.createElement("path",{d:"M10 10l4 4m0 -4l-4 4"}))}l(Y3,"wN");var I$=["size","color","stroke"];function X3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,I$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-clipboard-list",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2"}),m.createElement("rect",{x:9,y:3,width:6,height:4,rx:2}),m.createElement("line",{x1:9,y1:12,x2:9.01,y2:12}),m.createElement("line",{x1:13,y1:12,x2:15,y2:12}),m.createElement("line",{x1:9,y1:16,x2:9.01,y2:16}),m.createElement("line",{x1:13,y1:16,x2:15,y2:16}))}l(X3,"gW");var T$=["size","color","stroke"];function J3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,T$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-copy",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("rect",{x:8,y:8,width:12,height:12,rx:2}),m.createElement("path",{d:"M16 8v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2"}))}l(J3,"NP");var D$=["size","color","stroke"];function Z3(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,D$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-device-analytics",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("rect",{x:3,y:4,width:18,height:12,rx:1}),m.createElement("line",{x1:7,y1:20,x2:17,y2:20}),m.createElement("line",{x1:9,y1:16,x2:9,y2:20}),m.createElement("line",{x1:15,y1:16,x2:15,y2:20}),m.createElement("path",{d:"M8 12l3 -3l2 2l3 -3"}))}l(Z3,"mF");var F$=["size","color","stroke"];function ez(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,F$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-device-floppy",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2"}),m.createElement("circle",{cx:12,cy:14,r:2}),m.createElement("polyline",{points:"14 4 14 8 8 8 8 4"}))}l(ez,"qF");var A$=["size","color","stroke"];function tz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,A$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-dots-vertical",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:12,cy:12,r:1}),m.createElement("circle",{cx:12,cy:19,r:1}),m.createElement("circle",{cx:12,cy:5,r:1}))}l(tz,"CK");var B$=["size","color","stroke"];function rz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,B$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-edit",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1"}),m.createElement("path",{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z"}),m.createElement("path",{d:"M16 5l3 3"}))}l(rz,"wQ");var W$=["size","color","stroke"];function nz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,W$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-external-link",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5"}),m.createElement("line",{x1:10,y1:14,x2:20,y2:4}),m.createElement("polyline",{points:"15 4 20 4 20 9"}))}l(nz,"NR");var H$=["size","color","stroke"];function oz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,H$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-filter",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M5.5 5h13a1 1 0 0 1 .5 1.5l-5 5.5l0 7l-4 -3l0 -4l-5 -5.5a1 1 0 0 1 .5 -1.5"}))}l(oz,"zV");var U$=["size","color","stroke"];function iz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,U$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-fold",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M12 3v6l3 -3m-6 0l3 3"}),m.createElement("path",{d:"M12 21v-6l3 3m-6 0l3 -3"}),m.createElement("line",{x1:4,y1:12,x2:5,y2:12}),m.createElement("line",{x1:9,y1:12,x2:10,y2:12}),m.createElement("line",{x1:14,y1:12,x2:15,y2:12}),m.createElement("line",{x1:19,y1:12,x2:20,y2:12}))}l(iz,"RX");var V$=["size","color","stroke"];function sz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,V$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-git-branch",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:7,cy:18,r:2}),m.createElement("circle",{cx:7,cy:6,r:2}),m.createElement("circle",{cx:17,cy:6,r:2}),m.createElement("line",{x1:7,y1:8,x2:7,y2:16}),m.createElement("path",{d:"M9 18h6a2 2 0 0 0 2 -2v-5"}),m.createElement("polyline",{points:"14 14 17 11 20 14"}))}l(sz,"UZ");var q$=["size","color","stroke"];function lz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,q$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-id",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("rect",{x:3,y:4,width:18,height:16,rx:3}),m.createElement("circle",{cx:9,cy:10,r:2}),m.createElement("line",{x1:15,y1:8,x2:17,y2:8}),m.createElement("line",{x1:15,y1:12,x2:17,y2:12}),m.createElement("line",{x1:7,y1:16,x2:17,y2:16}))}l(lz,"L3");var Q$=["size","color","stroke"];function az(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,Q$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-key",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:8,cy:15,r:4}),m.createElement("line",{x1:10.85,y1:12.15,x2:19,y2:4}),m.createElement("line",{x1:18,y1:5,x2:20,y2:7}),m.createElement("line",{x1:15,y1:8,x2:17,y2:10}))}l(az,"P5");var G$=["size","color","stroke"];function uz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,G$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-list-check",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M3.5 5.5l1.5 1.5l2.5 -2.5"}),m.createElement("path",{d:"M3.5 11.5l1.5 1.5l2.5 -2.5"}),m.createElement("path",{d:"M3.5 17.5l1.5 1.5l2.5 -2.5"}),m.createElement("line",{x1:11,y1:6,x2:20,y2:6}),m.createElement("line",{x1:11,y1:12,x2:20,y2:12}),m.createElement("line",{x1:11,y1:18,x2:20,y2:18}))}l(uz,"B9");var K$=["size","color","stroke"];function cz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,K$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-list-details",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M13 5h8"}),m.createElement("path",{d:"M13 9h5"}),m.createElement("path",{d:"M13 15h8"}),m.createElement("path",{d:"M13 19h5"}),m.createElement("rect",{x:3,y:4,width:6,height:6,rx:1}),m.createElement("rect",{x:3,y:14,width:6,height:6,rx:1}))}l(cz,"N9");var Y$=["size","color","stroke"];function fz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,Y$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-list",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("line",{x1:9,y1:6,x2:20,y2:6}),m.createElement("line",{x1:9,y1:12,x2:20,y2:12}),m.createElement("line",{x1:9,y1:18,x2:20,y2:18}),m.createElement("line",{x1:5,y1:6,x2:5,y2:6.01}),m.createElement("line",{x1:5,y1:12,x2:5,y2:12.01}),m.createElement("line",{x1:5,y1:18,x2:5,y2:18.01}))}l(fz,"I9");var X$=["size","color","stroke"];function dz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,X$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-logout",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2"}),m.createElement("path",{d:"M7 12h14l-3 -3m0 6l3 -3"}))}l(dz,"Iee");var J$=["size","color","stroke"];function pz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,J$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-minus",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("line",{x1:5,y1:12,x2:19,y2:12}))}l(pz,"rle");var Z$=["size","color","stroke"];function hz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,Z$);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-moon-stars",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z"}),m.createElement("path",{d:"M17 4a2 2 0 0 0 2 2a2 2 0 0 0 -2 2a2 2 0 0 0 -2 -2a2 2 0 0 0 2 -2"}),m.createElement("path",{d:"M19 11h2m-1 -1v2"}))}l(hz,"Nie");var e5=["size","color","stroke"];function mz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,e5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-plus",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("line",{x1:12,y1:5,x2:12,y2:19}),m.createElement("line",{x1:5,y1:12,x2:19,y2:12}))}l(mz,"Nme");var t5=["size","color","stroke"];function yz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,t5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-refresh",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4"}),m.createElement("path",{d:"M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"}))}l(yz,"Epe");var r5=["size","color","stroke"];function gz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,r5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-run",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:13,cy:4,r:1}),m.createElement("path",{d:"M4 17l5 1l.75 -1.5"}),m.createElement("path",{d:"M15 21l0 -4l-4 -3l1 -6"}),m.createElement("path",{d:"M7 12l0 -3l5 -1l3 3l3 1"}))}l(gz,"wue");var n5=["size","color","stroke"];function vz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,n5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-search",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:10,cy:10,r:7}),m.createElement("line",{x1:21,y1:21,x2:15,y2:15}))}l(vz,"Dge");var o5=["size","color","stroke"];function wz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,o5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-send",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("line",{x1:10,y1:14,x2:21,y2:3}),m.createElement("path",{d:"M21 3l-6.5 18a0.55 .55 0 0 1 -1 0l-3.5 -7l-7 -3.5a0.55 .55 0 0 1 0 -1l18 -6.5"}))}l(wz,"tMe");var i5=["size","color","stroke"];function _z(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,i5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-settings",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"}),m.createElement("circle",{cx:12,cy:12,r:3}))}l(_z,"CMe");var s5=["size","color","stroke"];function xz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,s5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-shape-off",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M3.575 3.597a2 2 0 0 0 2.849 2.808"}),m.createElement("circle",{cx:19,cy:5,r:2}),m.createElement("circle",{cx:5,cy:19,r:2}),m.createElement("path",{d:"M17.574 17.598a2 2 0 0 0 2.826 2.83"}),m.createElement("path",{d:"M5 7v10"}),m.createElement("path",{d:"M9 5h8"}),m.createElement("path",{d:"M7 19h10"}),m.createElement("path",{d:"M19 7v8"}),m.createElement("path",{d:"M3 3l18 18"}))}l(xz,"IMe");var l5=["size","color","stroke"];function Pz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,l5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-shape",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:5,cy:5,r:2}),m.createElement("circle",{cx:19,cy:5,r:2}),m.createElement("circle",{cx:5,cy:19,r:2}),m.createElement("circle",{cx:19,cy:19,r:2}),m.createElement("line",{x1:5,y1:7,x2:5,y2:17}),m.createElement("line",{x1:7,y1:5,x2:17,y2:5}),m.createElement("line",{x1:7,y1:19,x2:17,y2:19}),m.createElement("line",{x1:19,y1:7,x2:19,y2:17}))}l(Pz,"DMe");var a5=["size","color","stroke"];function bz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,a5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-sort-ascending",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("line",{x1:4,y1:6,x2:11,y2:6}),m.createElement("line",{x1:4,y1:12,x2:11,y2:12}),m.createElement("line",{x1:4,y1:18,x2:13,y2:18}),m.createElement("polyline",{points:"15 9 18 6 21 9"}),m.createElement("line",{x1:18,y1:6,x2:18,y2:18}))}l(bz,"Xfe");var u5=["size","color","stroke"];function Sz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,u5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-sort-descending",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("line",{x1:4,y1:6,x2:13,y2:6}),m.createElement("line",{x1:4,y1:12,x2:11,y2:12}),m.createElement("line",{x1:4,y1:18,x2:11,y2:18}),m.createElement("polyline",{points:"15 15 18 18 21 15"}),m.createElement("line",{x1:18,y1:6,x2:18,y2:18}))}l(Sz,"rze");var c5=["size","color","stroke"];function Oz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,c5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-square-half",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M12 4v16"}),m.createElement("rect",{x:4,y:4,width:16,height:16,rx:2}),m.createElement("path",{d:"M12 13l7.5 -7.5"}),m.createElement("path",{d:"M12 18l8 -8"}),m.createElement("path",{d:"M15 20l5 -5"}),m.createElement("path",{d:"M12 8l4 -4"}))}l(Oz,"Lbe");var f5=["size","color","stroke"];function Ez(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,f5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-square-letter-a",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("rect",{x:4,y:4,width:16,height:16,rx:2}),m.createElement("path",{d:"M10 16v-6a2 2 0 1 1 4 0v6"}),m.createElement("path",{d:"M10 13h4"}))}l(Ez,"Cbe");var d5=["size","color","stroke"];function kz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,d5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-square-letter-e",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("rect",{x:4,y:4,width:16,height:16,rx:2}),m.createElement("path",{d:"M14 8h-4v8h4"}),m.createElement("path",{d:"M10 12h2.5"}))}l(kz,"Pbe");var p5=["size","color","stroke"];function Cz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,p5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-status-change",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:6,cy:18,r:2}),m.createElement("circle",{cx:18,cy:18,r:2}),m.createElement("path",{d:"M6 12v-2a6 6 0 1 1 12 0v2"}),m.createElement("path",{d:"M15 9l3 3l3 -3"}))}l(Cz,"Uye");var h5=["size","color","stroke"];function Rz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,h5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-sun",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:12,cy:12,r:4}),m.createElement("path",{d:"M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7"}))}l(Rz,"GCe");var m5=["size","color","stroke"];function $z(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,m5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-thumb-up",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M7 11v8a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1v-7a1 1 0 0 1 1 -1h3a4 4 0 0 0 4 -4v-1a2 2 0 0 1 4 0v5h3a2 2 0 0 1 2 2l-1 5a2 3 0 0 1 -2 2h-7a3 3 0 0 1 -3 -3"}))}l($z,"LHe");var y5=["size","color","stroke"];function zz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,y5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-tool",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("path",{d:"M7 10h3v-3l-3.5 -3.5a6 6 0 0 1 8 8l6 6a2 2 0 0 1 -3 3l-6 -6a6 6 0 0 1 -8 -8l3.5 3.5"}))}l(zz,"_He");var g5=["size","color","stroke"];function Mz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,g5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-trash",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("line",{x1:4,y1:7,x2:20,y2:7}),m.createElement("line",{x1:10,y1:11,x2:10,y2:17}),m.createElement("line",{x1:14,y1:11,x2:14,y2:17}),m.createElement("path",{d:"M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12"}),m.createElement("path",{d:"M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3"}))}l(Mz,"rWe");var v5=["size","color","stroke"];function Nz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,v5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-user-exclamation",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:9,cy:7,r:4}),m.createElement("path",{d:"M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}),m.createElement("line",{x1:19,y1:7,x2:19,y2:10}),m.createElement("line",{x1:19,y1:14,x2:19,y2:14.01}))}l(Nz,"Lqe");var w5=["size","color","stroke"];function jz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,w5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-user",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:12,cy:7,r:4}),m.createElement("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}))}l(jz,"Iqe");var _5=["size","color","stroke"];function Lz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,_5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-users",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:9,cy:7,r:4}),m.createElement("path",{d:"M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}),m.createElement("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}),m.createElement("path",{d:"M21 21v-2a4 4 0 0 0 -3 -3.85"}))}l(Lz,"Dqe");var x5=["size","color","stroke"];function Iz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,x5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-x",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("line",{x1:18,y1:6,x2:6,y2:18}),m.createElement("line",{x1:6,y1:6,x2:18,y2:18}))}l(Iz,"lAe");var P5=["size","color","stroke"];function Tz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,P5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-zoom-in",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:10,cy:10,r:7}),m.createElement("line",{x1:7,y1:10,x2:13,y2:10}),m.createElement("line",{x1:10,y1:7,x2:10,y2:13}),m.createElement("line",{x1:21,y1:21,x2:15,y2:15}))}l(Tz,"lDe");var b5=["size","color","stroke"];function Dz(e){var t=e.size,n=t===void 0?24:t,i=e.color,a=i===void 0?"currentColor":i,c=e.stroke,f=c===void 0?2:c,p=he(e,b5);return m.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-zoom-out",width:n,height:n,viewBox:"0 0 24 24",strokeWidth:f,stroke:a,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},p),m.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m.createElement("circle",{cx:10,cy:10,r:7}),m.createElement("line",{x1:7,y1:10,x2:13,y2:10}),m.createElement("line",{x1:21,y1:21,x2:15,y2:15}))}l(Dz,"dDe");const td=class td extends Error{constructor(n,i,a){const c=n.status||n.status===0?n.status:"",f=n.statusText||"",p=`${c} ${f}`.trim(),y=p?`status code ${p}`:"an unknown error";super(`Request failed with ${y}: ${i.method} ${i.url}`);Qt(this,"response");Qt(this,"request");Qt(this,"options");this.name="HTTPError",this.response=n,this.request=i,this.options=a}};l(td,"HTTPError");let Nl=td;const rd=class rd extends Error{constructor(n){super(`Request timed out: ${n.method} ${n.url}`);Qt(this,"request");this.name="TimeoutError",this.request=n}};l(rd,"TimeoutError");let jl=rd;const Ho=l(e=>e!==null&&typeof e=="object","isObject"),Ss=l((...e)=>{for(const t of e)if((!Ho(t)||Array.isArray(t))&&t!==void 0)throw new TypeError("The `options` argument must be an object");return Bf({},...e)},"validateAndMerge"),hw=l((e={},t={})=>{const n=new globalThis.Headers(e),i=t instanceof globalThis.Headers,a=new globalThis.Headers(t);for(const[c,f]of a.entries())i&&f==="undefined"||f===void 0?n.delete(c):n.set(c,f);return n},"mergeHeaders");function Os(e,t,n){return Object.hasOwn(t,n)&&t[n]===void 0?[]:Bf(e[n]??[],t[n]??[])}l(Os,"newHookValue");const mw=l((e={},t={})=>({beforeRequest:Os(e,t,"beforeRequest"),beforeRetry:Os(e,t,"beforeRetry"),afterResponse:Os(e,t,"afterResponse"),beforeError:Os(e,t,"beforeError")}),"mergeHooks"),Bf=l((...e)=>{let t={},n={},i={};for(const a of e)if(Array.isArray(a))Array.isArray(t)||(t=[]),t=[...t,...a];else if(Ho(a)){for(let[c,f]of Object.entries(a))Ho(f)&&c in t&&(f=Bf(t[c],f)),t={...t,[c]:f};Ho(a.hooks)&&(i=mw(i,a.hooks),t.hooks=i),Ho(a.headers)&&(n=hw(n,a.headers),t.headers=n)}return t},"deepMerge"),S5=(()=>{let e=!1,t=!1;const n=typeof globalThis.ReadableStream=="function",i=typeof globalThis.Request=="function";if(n&&i)try{t=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type")}catch(a){if(a instanceof Error&&a.message==="unsupported BodyInit type")return!1;throw a}return e&&!t})(),O5=typeof globalThis.AbortController=="function",E5=typeof globalThis.ReadableStream=="function",k5=typeof globalThis.FormData=="function",yw=["get","post","put","patch","head","delete"],C5={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*"},yc=2147483647,gw=Symbol("stop"),R5={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,prefixUrl:!0,retry:!0,timeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,fetch:!0},$5={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,dispatcher:!0,duplex:!0,priority:!0},z5=l(e=>yw.includes(e)?e.toUpperCase():e,"normalizeRequestMethod"),M5=["get","put","head","delete","options","trace"],N5=[408,413,429,500,502,503,504],j5=[413,429,503],Gg={limit:2,methods:M5,statusCodes:N5,afterStatusCodes:j5,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:l(e=>.3*2**(e-1)*1e3,"delay")},L5=l((e={})=>{if(typeof e=="number")return{...Gg,limit:e};if(e.methods&&!Array.isArray(e.methods))throw new Error("retry.methods must be an array");if(e.statusCodes&&!Array.isArray(e.statusCodes))throw new Error("retry.statusCodes must be an array");return{...Gg,...e}},"normalizeRetryOptions");async function I5(e,t,n,i){return new Promise((a,c)=>{const f=setTimeout(()=>{n&&n.abort(),c(new jl(e))},i.timeout);i.fetch(e,t).then(a).catch(c).then(()=>{clearTimeout(f)})})}l(I5,"timeout");async function T5(e,{signal:t}){return new Promise((n,i)=>{t&&(t.throwIfAborted(),t.addEventListener("abort",a,{once:!0}));function a(){clearTimeout(c),i(t.reason)}l(a,"abortHandler");const c=setTimeout(()=>{t==null||t.removeEventListener("abort",a),n()},e)})}l(T5,"delay");const D5=l((e,t)=>{const n={};for(const i in t)!(i in $5)&&!(i in R5)&&!(i in e)&&(n[i]=t[i]);return n},"findUnknownOptions"),Il=class Il{constructor(t,n={}){Qt(this,"request");Qt(this,"abortController");Qt(this,"_retryCount",0);Qt(this,"_input");Qt(this,"_options");var i,a;if(this._input=t,this._options={...n,headers:hw(this._input.headers,n.headers),hooks:mw({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},n.hooks),method:z5(n.method??this._input.method),prefixUrl:String(n.prefixUrl||""),retry:L5(n.retry),throwHttpErrors:n.throwHttpErrors!==!1,timeout:n.timeout??1e4,fetch:n.fetch??globalThis.fetch.bind(globalThis)},typeof this._input!="string"&&!(this._input instanceof URL||this._input instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");if(this._options.prefixUrl&&typeof this._input=="string"){if(this._input.startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");this._options.prefixUrl.endsWith("/")||(this._options.prefixUrl+="/"),this._input=this._options.prefixUrl+this._input}if(O5){this.abortController=new globalThis.AbortController;const c=this._options.signal??this._input.signal;c!=null&&c.aborted&&this.abortController.abort(c==null?void 0:c.reason),c==null||c.addEventListener("abort",()=>{this.abortController.abort(c.reason)}),this._options.signal=this.abortController.signal}if(S5&&(this._options.duplex="half"),this._options.json!==void 0&&(this._options.body=((a=(i=this._options).stringifyJson)==null?void 0:a.call(i,this._options.json))??JSON.stringify(this._options.json),this._options.headers.set("content-type",this._options.headers.get("content-type")??"application/json")),this.request=new globalThis.Request(this._input,this._options),this._options.searchParams){const f="?"+(typeof this._options.searchParams=="string"?this._options.searchParams.replace(/^\?/,""):new URLSearchParams(this._options.searchParams).toString()),p=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,f);(k5&&this._options.body instanceof globalThis.FormData||this._options.body instanceof URLSearchParams)&&!(this._options.headers&&this._options.headers["content-type"])&&this.request.headers.delete("content-type"),this.request=new globalThis.Request(new globalThis.Request(p,{...this.request}),this._options)}}static create(t,n){const i=new Il(t,n),a=l(async()=>{if(typeof i._options.timeout=="number"&&i._options.timeout>yc)throw new RangeError(`The \`timeout\` option cannot be greater than ${yc}`);await Promise.resolve();let p=await i._fetch();for(const y of i._options.hooks.afterResponse){const g=await y(i.request,i._options,i._decorateResponse(p.clone()));g instanceof globalThis.Response&&(p=g)}if(i._decorateResponse(p),!p.ok&&i._options.throwHttpErrors){let y=new Nl(p,i.request,i._options);for(const g of i._options.hooks.beforeError)y=await g(y);throw y}if(i._options.onDownloadProgress){if(typeof i._options.onDownloadProgress!="function")throw new TypeError("The `onDownloadProgress` option must be a function");if(!E5)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");return i._stream(p.clone(),i._options.onDownloadProgress)}return p},"function_"),f=i._options.retry.methods.includes(i.request.method.toLowerCase())?i._retry(a):a();for(const[p,y]of Object.entries(C5))f[p]=async()=>{i.request.headers.set("accept",i.request.headers.get("accept")||y);const g=await f;if(p==="json"){if(g.status===204||(await g.clone().arrayBuffer()).byteLength===0)return"";if(n.parseJson)return n.parseJson(await g.text())}return g[p]()};return f}_calculateRetryDelay(t){if(this._retryCount++,this._retryCount>this._options.retry.limit||t instanceof jl)throw t;if(t instanceof Nl){if(!this._options.retry.statusCodes.includes(t.response.status))throw t;const i=t.response.headers.get("Retry-After")??t.response.headers.get("RateLimit-Reset")??t.response.headers.get("X-RateLimit-Reset")??t.response.headers.get("X-Rate-Limit-Reset");if(i&&this._options.retry.afterStatusCodes.includes(t.response.status)){let a=Number(i)*1e3;Number.isNaN(a)?a=Date.parse(i)-Date.now():a>=Date.parse("2024-01-01")&&(a-=Date.now());const c=this._options.retry.maxRetryAfter??a;return a<c?a:c}if(t.response.status===413)throw t}const n=this._options.retry.delay(this._retryCount);return Math.min(this._options.retry.backoffLimit,n)}_decorateResponse(t){return this._options.parseJson&&(t.json=async()=>this._options.parseJson(await t.text())),t}async _retry(t){try{return await t()}catch(n){const i=Math.min(this._calculateRetryDelay(n),yc);if(this._retryCount<1)throw n;await T5(i,{signal:this._options.signal});for(const a of this._options.hooks.beforeRetry)if(await a({request:this.request,options:this._options,error:n,retryCount:this._retryCount})===gw)return;return this._retry(t)}}async _fetch(){for(const i of this._options.hooks.beforeRequest){const a=await i(this.request,this._options);if(a instanceof Request){this.request=a;break}if(a instanceof Response)return a}const t=D5(this.request,this._options),n=this.request;return this.request=n.clone(),this._options.timeout===!1?this._options.fetch(n,t):I5(n,t,this.abortController,this._options)}_stream(t,n){const i=Number(t.headers.get("content-length"))||0;let a=0;return t.status===204?(n&&n({percent:1,totalBytes:i,transferredBytes:a},new Uint8Array),new globalThis.Response(null,{status:t.status,statusText:t.statusText,headers:t.headers})):new globalThis.Response(new globalThis.ReadableStream({async start(c){const f=t.body.getReader();n&&n({percent:0,transferredBytes:0,totalBytes:i},new Uint8Array);async function p(){const{done:y,value:g}=await f.read();if(y){c.close();return}if(n){a+=g.byteLength;const w=i===0?0:a/i;n({percent:w,transferredBytes:a,totalBytes:i},g)}c.enqueue(g),await p()}l(p,"read"),await p()}}),{status:t.status,statusText:t.statusText,headers:t.headers})}};l(Il,"Ky");let Ll=Il;/*! MIT License © Sindre Sorhus */const tf=l(e=>{const t=l((n,i)=>Ll.create(n,Ss(e,i)),"ky");for(const n of yw)t[n]=(i,a)=>Ll.create(i,Ss(e,a,{method:n}));return t.create=n=>tf(Ss(n)),t.extend=n=>(typeof n=="function"&&(n=n(e??{})),tf(Ss(e,n))),t.stop=gw,t},"createInstance"),F5=tf(),A5=JSON.parse('[{"os":"ios","os_version":"16","device":"iPhone 14 Pro Max","realMobile":true},{"os":"ios","os_version":"16","device":"iPhone 14 Pro","realMobile":true},{"os":"ios","os_version":"16","device":"iPhone 14 Plus","realMobile":true},{"os":"ios","os_version":"16","device":"iPhone 14","realMobile":true},{"os":"ios","os_version":"16","device":"iPhone 12 Pro Max","realMobile":true},{"os":"ios","os_version":"16","device":"iPhone 12 Pro","realMobile":true},{"os":"ios","os_version":"16","device":"iPhone 12 Mini","realMobile":true},{"os":"ios","os_version":"16","device":"iPhone 11 Pro Max","realMobile":true},{"os":"ios","os_version":"15","device":"iPhone XS","realMobile":true},{"os":"ios","os_version":"15","device":"iPhone 13 Pro Max","realMobile":true},{"os":"ios","os_version":"15","device":"iPhone 13 Pro","realMobile":true},{"os":"ios","os_version":"15","device":"iPhone 13 Mini","realMobile":true},{"os":"ios","os_version":"15","device":"iPhone 13","realMobile":true},{"os":"ios","os_version":"15","device":"iPhone 11 Pro","realMobile":true},{"os":"ios","os_version":"15","device":"iPhone 11","realMobile":true},{"os":"ios","os_version":"14","device":"iPhone XS","realMobile":true},{"os":"ios","os_version":"14","device":"iPhone 12 Pro Max","realMobile":true},{"os":"ios","os_version":"14","device":"iPhone 12 Pro","realMobile":true},{"os":"ios","os_version":"14","device":"iPhone 12 Mini","realMobile":true},{"os":"ios","os_version":"14","device":"iPhone 12","realMobile":true},{"os":"ios","os_version":"14","device":"iPhone 11 Pro Max","realMobile":true},{"os":"ios","os_version":"14","device":"iPhone 11","realMobile":true},{"os":"ios","os_version":"13","device":"iPhone XS","realMobile":true},{"os":"ios","os_version":"13","device":"iPhone 11 Pro Max","realMobile":true},{"os":"ios","os_version":"13","device":"iPhone 11 Pro","realMobile":true},{"os":"ios","os_version":"13","device":"iPhone 11","realMobile":true},{"os":"ios","os_version":"12","device":"iPhone XS","realMobile":true},{"os":"ios","os_version":"12","device":"iPhone XS Max","realMobile":true},{"os":"ios","os_version":"15","device":"iPhone XR","realMobile":true},{"os":"ios","os_version":"12","device":"iPhone XR","realMobile":true},{"os":"ios","os_version":"11","device":"iPhone X","realMobile":true},{"os":"ios","os_version":"15","device":"iPhone 8","realMobile":true},{"os":"ios","os_version":"13","device":"iPhone 8","realMobile":true},{"os":"ios","os_version":"12","device":"iPhone 8","realMobile":true},{"os":"ios","os_version":"11","device":"iPhone 8","realMobile":true},{"os":"ios","os_version":"12","device":"iPhone 8 Plus","realMobile":true},{"os":"ios","os_version":"11","device":"iPhone 8 Plus","realMobile":true},{"os":"ios","os_version":"12","device":"iPhone 7","realMobile":true},{"os":"ios","os_version":"10","device":"iPhone 7","realMobile":true},{"os":"ios","os_version":"12","device":"iPhone 6S","realMobile":true},{"os":"ios","os_version":"11","device":"iPhone 6S","realMobile":true},{"os":"ios","os_version":"11","device":"iPhone 6S Plus","realMobile":true},{"os":"ios","os_version":"11","device":"iPhone 6","realMobile":true},{"os":"ios","os_version":"15","device":"iPhone SE 2022","realMobile":true},{"os":"ios","os_version":"13","device":"iPhone SE 2020","realMobile":true},{"os":"ios","os_version":"11","device":"iPhone SE","realMobile":true},{"os":"ios","os_version":"14","device":"iPad Air 4","realMobile":true},{"os":"ios","os_version":"15","device":"iPad 9th","realMobile":true},{"os":"ios","os_version":"16","device":"iPad Pro 12.9 2022","realMobile":true},{"os":"ios","os_version":"16","device":"iPad Pro 12.9 2020","realMobile":true},{"os":"ios","os_version":"16","device":"iPad Pro 11 2022","realMobile":true},{"os":"ios","os_version":"16","device":"iPad 10th","realMobile":true},{"os":"ios","os_version":"15","device":"iPad Air 5","realMobile":true},{"os":"ios","os_version":"14","device":"iPad Pro 12.9 2021","realMobile":true},{"os":"ios","os_version":"14","device":"iPad Pro 12.9 2020","realMobile":true},{"os":"ios","os_version":"14","device":"iPad Pro 11 2021","realMobile":true},{"os":"ios","os_version":"13","device":"iPad Pro 12.9 2020","realMobile":true},{"os":"ios","os_version":"16","device":"iPad 8th","realMobile":true},{"os":"ios","os_version":"15","device":"iPad Pro 12.9 2018","realMobile":true},{"os":"ios","os_version":"15","device":"iPad Mini 2021","realMobile":true},{"os":"ios","os_version":"14","device":"iPad 8th","realMobile":true},{"os":"ios","os_version":"13","device":"iPad Pro 12.9 2018","realMobile":true},{"os":"ios","os_version":"13","device":"iPad Pro 11 2020","realMobile":true},{"os":"ios","os_version":"13","device":"iPad Mini 2019","realMobile":true},{"os":"ios","os_version":"13","device":"iPad Air 2019","realMobile":true},{"os":"ios","os_version":"13","device":"iPad 7th","realMobile":true},{"os":"ios","os_version":"12","device":"iPad Pro 12.9 2018","realMobile":true},{"os":"ios","os_version":"12","device":"iPad Pro 11 2018","realMobile":true},{"os":"ios","os_version":"12","device":"iPad Mini 2019","realMobile":true},{"os":"ios","os_version":"12","device":"iPad Air 2019","realMobile":true},{"os":"ios","os_version":"11","device":"iPad Pro 9.7 2016","realMobile":true},{"os":"ios","os_version":"11","device":"iPad Pro 12.9 2017","realMobile":true},{"os":"ios","os_version":"11","device":"iPad Mini 4","realMobile":true},{"os":"ios","os_version":"11","device":"iPad 6th","realMobile":true},{"os":"ios","os_version":"11","device":"iPad 5th","realMobile":true},{"os":"android","os_version":"12.0","device":"Samsung Galaxy S22 Ultra","realMobile":true},{"os":"android","os_version":"12.0","device":"Samsung Galaxy S22 Plus","realMobile":true},{"os":"android","os_version":"12.0","device":"Samsung Galaxy S22","realMobile":true},{"os":"android","os_version":"12.0","device":"Samsung Galaxy S21","realMobile":true},{"os":"android","os_version":"11.0","device":"Samsung Galaxy S21 Ultra","realMobile":true},{"os":"android","os_version":"11.0","device":"Samsung Galaxy S21","realMobile":true},{"os":"android","os_version":"11.0","device":"Samsung Galaxy S21 Plus","realMobile":true},{"os":"android","os_version":"10.0","device":"Samsung Galaxy S20","realMobile":true},{"os":"android","os_version":"10.0","device":"Samsung Galaxy S20 Plus","realMobile":true},{"os":"android","os_version":"10.0","device":"Samsung Galaxy S20 Ultra","realMobile":true},{"os":"android","os_version":"11.0","device":"Samsung Galaxy M52","realMobile":true},{"os":"android","os_version":"11.0","device":"Samsung Galaxy M32","realMobile":true},{"os":"android","os_version":"11.0","device":"Samsung Galaxy A52","realMobile":true},{"os":"android","os_version":"10.0","device":"Samsung Galaxy Note 20 Ultra","realMobile":true},{"os":"android","os_version":"10.0","device":"Samsung Galaxy Note 20","realMobile":true},{"os":"android","os_version":"10.0","device":"Samsung Galaxy A51","realMobile":true},{"os":"android","os_version":"10.0","device":"Samsung Galaxy A11","realMobile":true},{"os":"android","os_version":"9.0","device":"Samsung Galaxy S9 Plus","realMobile":true},{"os":"android","os_version":"9.0","device":"Samsung Galaxy S10e","realMobile":true},{"os":"android","os_version":"9.0","device":"Samsung Galaxy S10 Plus","realMobile":true},{"os":"android","os_version":"9.0","device":"Samsung Galaxy S10","realMobile":true},{"os":"android","os_version":"9.0","device":"Samsung Galaxy Note 10 Plus","realMobile":true},{"os":"android","os_version":"9.0","device":"Samsung Galaxy Note 10","realMobile":true},{"os":"android","os_version":"9.0","device":"Samsung Galaxy A10","realMobile":true},{"os":"android","os_version":"8.1","device":"Samsung Galaxy Note 9","realMobile":true},{"os":"android","os_version":"8.1","device":"Samsung Galaxy J7 Prime","realMobile":true},{"os":"android","os_version":"8.0","device":"Samsung Galaxy S9 Plus","realMobile":true},{"os":"android","os_version":"8.0","device":"Samsung Galaxy S9","realMobile":true},{"os":"android","os_version":"7.1","device":"Samsung Galaxy Note 8","realMobile":true},{"os":"android","os_version":"7.1","device":"Samsung Galaxy A8","realMobile":true},{"os":"android","os_version":"7.0","device":"Samsung Galaxy S8 Plus","realMobile":true},{"os":"android","os_version":"7.0","device":"Samsung Galaxy S8","realMobile":true},{"os":"android","os_version":"6.0","device":"Samsung Galaxy S7","realMobile":true},{"os":"android","os_version":"5.0","device":"Samsung Galaxy S6","realMobile":true},{"os":"android","os_version":"13.0","device":"Google Pixel 7 Pro","realMobile":true},{"os":"android","os_version":"13.0","device":"Google Pixel 7","realMobile":true},{"os":"android","os_version":"13.0","device":"Google Pixel 6 Pro","realMobile":true},{"os":"android","os_version":"12.0","device":"Google Pixel 6 Pro","realMobile":true},{"os":"android","os_version":"12.0","device":"Google Pixel 6","realMobile":true},{"os":"android","os_version":"12.0","device":"Google Pixel 5","realMobile":true},{"os":"android","os_version":"11.0","device":"Google Pixel 5","realMobile":true},{"os":"android","os_version":"11.0","device":"Google Pixel 4","realMobile":true},{"os":"android","os_version":"10.0","device":"Google Pixel 4 XL","realMobile":true},{"os":"android","os_version":"10.0","device":"Google Pixel 4","realMobile":true},{"os":"android","os_version":"10.0","device":"Google Pixel 3","realMobile":true},{"os":"android","os_version":"9.0","device":"Google Pixel 3a XL","realMobile":true},{"os":"android","os_version":"9.0","device":"Google Pixel 3a","realMobile":true},{"os":"android","os_version":"9.0","device":"Google Pixel 3 XL","realMobile":true},{"os":"android","os_version":"9.0","device":"Google Pixel 3","realMobile":true},{"os":"android","os_version":"9.0","device":"Google Pixel 2","realMobile":true},{"os":"android","os_version":"8.0","device":"Google Pixel 2","realMobile":true},{"os":"android","os_version":"7.1","device":"Google Pixel","realMobile":true},{"os":"android","os_version":"6.0","device":"Google Nexus 6","realMobile":true},{"os":"android","os_version":"4.4","device":"Google Nexus 5","realMobile":true},{"os":"android","os_version":"11.0","device":"OnePlus 9","realMobile":true},{"os":"android","os_version":"10.0","device":"OnePlus 8","realMobile":true},{"os":"android","os_version":"10.0","device":"OnePlus 7T","realMobile":true},{"os":"android","os_version":"9.0","device":"OnePlus 7","realMobile":true},{"os":"android","os_version":"9.0","device":"OnePlus 6T","realMobile":true},{"os":"android","os_version":"11.0","device":"Xiaomi Redmi Note 11","realMobile":true},{"os":"android","os_version":"10.0","device":"Xiaomi Redmi Note 9","realMobile":true},{"os":"android","os_version":"9.0","device":"Xiaomi Redmi Note 8","realMobile":true},{"os":"android","os_version":"9.0","device":"Xiaomi Redmi Note 7","realMobile":true},{"os":"android","os_version":"11.0","device":"Vivo Y21","realMobile":true},{"os":"android","os_version":"11.0","device":"Vivo V21","realMobile":true},{"os":"android","os_version":"10.0","device":"Vivo Y50","realMobile":true},{"os":"android","os_version":"11.0","device":"Oppo Reno 6","realMobile":true},{"os":"android","os_version":"11.0","device":"Oppo A96","realMobile":true},{"os":"android","os_version":"10.0","device":"Oppo Reno 3 Pro","realMobile":true},{"os":"android","os_version":"11.0","device":"Motorola Moto G71 5G","realMobile":true},{"os":"android","os_version":"10.0","device":"Motorola Moto G9 Play","realMobile":true},{"os":"android","os_version":"9.0","device":"Motorola Moto G7 Play","realMobile":true},{"os":"android","os_version":"9.0","device":"Huawei P30","realMobile":true},{"os":"android","os_version":"12.0","device":"Samsung Galaxy Tab S8","realMobile":true},{"os":"android","os_version":"11.0","device":"Samsung Galaxy Tab S7","realMobile":true},{"os":"android","os_version":"10.0","device":"Samsung Galaxy Tab S7","realMobile":true},{"os":"android","os_version":"9.0","device":"Samsung Galaxy Tab S6","realMobile":true},{"os":"android","os_version":"9.0","device":"Samsung Galaxy Tab S5e","realMobile":true},{"os":"android","os_version":"8.1","device":"Samsung Galaxy Tab S4","realMobile":true}]'),Kg="",B5="/",Fz={baseUri:Kg,devices:A5,customDevicesProm:F5(`${Kg}/static/data/custom_devices.json`).json(),indexRoute:B5};var gc={},vc,Yg;function W5(){return Yg||(Yg=1,vc=l(e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),"strictUriEncode")),vc}l(W5,"requireStrictUriEncode");var wc,Xg;function H5(){if(Xg)return wc;Xg=1;var e="%[a-f0-9]{2}",t=new RegExp(e,"gi"),n=new RegExp("("+e+")+","gi");function i(f,p){try{return decodeURIComponent(f.join(""))}catch{}if(f.length===1)return f;p=p||1;var y=f.slice(0,p),g=f.slice(p);return Array.prototype.concat.call([],i(y),i(g))}l(i,"decodeComponents");function a(f){try{return decodeURIComponent(f)}catch{for(var p=f.match(t),y=1;y<p.length;y++)f=i(p,y).join(""),p=f.match(t);return f}}l(a,"decode");function c(f){for(var p={"%FE%FF":"��","%FF%FE":"��"},y=n.exec(f);y;){try{p[y[0]]=decodeURIComponent(y[0])}catch{var g=a(y[0]);g!==y[0]&&(p[y[0]]=g)}y=n.exec(f)}p["%C2"]="�";for(var w=Object.keys(p),_=0;_<w.length;_++){var x=w[_];f=f.replace(new RegExp(x,"g"),p[x])}return f}return l(c,"customDecodeURIComponent"),wc=l(function(f){if(typeof f!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof f+"`");try{return f=f.replace(/\+/g," "),decodeURIComponent(f)}catch{return c(f)}},"decodeUriComponent"),wc}l(H5,"requireDecodeUriComponent");var _c,Jg;function U5(){return Jg||(Jg=1,_c=l((e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const n=e.indexOf(t);return n===-1?[e]:[e.slice(0,n),e.slice(n+t.length)]},"splitOnFirst")),_c}l(U5,"requireSplitOnFirst");var xc,Zg;function V5(){return Zg||(Zg=1,xc=l(function(e,t){for(var n={},i=Object.keys(e),a=Array.isArray(t),c=0;c<i.length;c++){var f=i[c],p=e[f];(a?t.indexOf(f)!==-1:t(f,p,e))&&(n[f]=p)}return n},"filterObj")),xc}l(V5,"requireFilterObj");var ev;function q5(){return ev||(ev=1,function(e){const t=W5(),n=H5(),i=U5(),a=V5(),c=l(b=>b==null,"isNullOrUndefined"),f=Symbol("encodeFragmentIdentifier");function p(b){switch(b.arrayFormat){case"index":return E=>(z,S)=>{const j=z.length;return S===void 0||b.skipNull&&S===null||b.skipEmptyString&&S===""?z:S===null?[...z,[w(E,b),"[",j,"]"].join("")]:[...z,[w(E,b),"[",w(j,b),"]=",w(S,b)].join("")]};case"bracket":return E=>(z,S)=>S===void 0||b.skipNull&&S===null||b.skipEmptyString&&S===""?z:S===null?[...z,[w(E,b),"[]"].join("")]:[...z,[w(E,b),"[]=",w(S,b)].join("")];case"colon-list-separator":return E=>(z,S)=>S===void 0||b.skipNull&&S===null||b.skipEmptyString&&S===""?z:S===null?[...z,[w(E,b),":list="].join("")]:[...z,[w(E,b),":list=",w(S,b)].join("")];case"comma":case"separator":case"bracket-separator":{const E=b.arrayFormat==="bracket-separator"?"[]=":"=";return z=>(S,j)=>j===void 0||b.skipNull&&j===null||b.skipEmptyString&&j===""?S:(j=j===null?"":j,S.length===0?[[w(z,b),E,w(j,b)].join("")]:[[S,w(j,b)].join(b.arrayFormatSeparator)])}default:return E=>(z,S)=>S===void 0||b.skipNull&&S===null||b.skipEmptyString&&S===""?z:S===null?[...z,w(E,b)]:[...z,[w(E,b),"=",w(S,b)].join("")]}}l(p,"encoderForArrayFormat");function y(b){let E;switch(b.arrayFormat){case"index":return(z,S,j)=>{if(E=/\[(\d*)\]$/.exec(z),z=z.replace(/\[\d*\]$/,""),!E){j[z]=S;return}j[z]===void 0&&(j[z]={}),j[z][E[1]]=S};case"bracket":return(z,S,j)=>{if(E=/(\[\])$/.exec(z),z=z.replace(/\[\]$/,""),!E){j[z]=S;return}if(j[z]===void 0){j[z]=[S];return}j[z]=[].concat(j[z],S)};case"colon-list-separator":return(z,S,j)=>{if(E=/(:list)$/.exec(z),z=z.replace(/:list$/,""),!E){j[z]=S;return}if(j[z]===void 0){j[z]=[S];return}j[z]=[].concat(j[z],S)};case"comma":case"separator":return(z,S,j)=>{const A=typeof S=="string"&&S.includes(b.arrayFormatSeparator),D=typeof S=="string"&&!A&&_(S,b).includes(b.arrayFormatSeparator);S=D?_(S,b):S;const Q=A||D?S.split(b.arrayFormatSeparator).map(X=>_(X,b)):S===null?S:_(S,b);j[z]=Q};case"bracket-separator":return(z,S,j)=>{const A=/(\[\])$/.test(z);if(z=z.replace(/\[\]$/,""),!A){j[z]=S&&_(S,b);return}const D=S===null?[]:S.split(b.arrayFormatSeparator).map(Q=>_(Q,b));if(j[z]===void 0){j[z]=D;return}j[z]=[].concat(j[z],D)};default:return(z,S,j)=>{if(j[z]===void 0){j[z]=S;return}j[z]=[].concat(j[z],S)}}}l(y,"parserForArrayFormat");function g(b){if(typeof b!="string"||b.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}l(g,"validateArrayFormatSeparator");function w(b,E){return E.encode?E.strict?t(b):encodeURIComponent(b):b}l(w,"encode");function _(b,E){return E.decode?n(b):b}l(_,"decode");function x(b){return Array.isArray(b)?b.sort():typeof b=="object"?x(Object.keys(b)).sort((E,z)=>Number(E)-Number(z)).map(E=>b[E]):b}l(x,"keysSorter");function P(b){const E=b.indexOf("#");return E!==-1&&(b=b.slice(0,E)),b}l(P,"removeHash");function C(b){let E="";const z=b.indexOf("#");return z!==-1&&(E=b.slice(z)),E}l(C,"getHash");function O(b){b=P(b);const E=b.indexOf("?");return E===-1?"":b.slice(E+1)}l(O,"extract");function $(b,E){return E.parseNumbers&&!Number.isNaN(Number(b))&&typeof b=="string"&&b.trim()!==""?b=Number(b):E.parseBooleans&&b!==null&&(b.toLowerCase()==="true"||b.toLowerCase()==="false")&&(b=b.toLowerCase()==="true"),b}l($,"parseValue");function N(b,E){E=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},E),g(E.arrayFormatSeparator);const z=y(E),S=Object.create(null);if(typeof b!="string"||(b=b.trim().replace(/^[?#&]/,""),!b))return S;for(const j of b.split("&")){if(j==="")continue;let[A,D]=i(E.decode?j.replace(/\+/g," "):j,"=");D=D===void 0?null:["comma","separator","bracket-separator"].includes(E.arrayFormat)?D:_(D,E),z(_(A,E),D,S)}for(const j of Object.keys(S)){const A=S[j];if(typeof A=="object"&&A!==null)for(const D of Object.keys(A))A[D]=$(A[D],E);else S[j]=$(A,E)}return E.sort===!1?S:(E.sort===!0?Object.keys(S).sort():Object.keys(S).sort(E.sort)).reduce((j,A)=>{const D=S[A];return D&&typeof D=="object"&&!Array.isArray(D)?j[A]=x(D):j[A]=D,j},Object.create(null))}l(N,"parse"),e.extract=O,e.parse=N,e.stringify=(b,E)=>{if(!b)return"";E=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},E),g(E.arrayFormatSeparator);const z=l(D=>E.skipNull&&c(b[D])||E.skipEmptyString&&b[D]==="","shouldFilter"),S=p(E),j={};for(const D of Object.keys(b))z(D)||(j[D]=b[D]);const A=Object.keys(j);return E.sort!==!1&&A.sort(E.sort),A.map(D=>{const Q=b[D];return Q===void 0?"":Q===null?w(D,E):Array.isArray(Q)?Q.length===0&&E.arrayFormat==="bracket-separator"?w(D,E)+"[]":Q.reduce(S(D),[]).join("&"):w(D,E)+"="+w(Q,E)}).filter(D=>D.length>0).join("&")},e.parseUrl=(b,E)=>{E=Object.assign({decode:!0},E);const[z,S]=i(b,"#");return Object.assign({url:z.split("?")[0]||"",query:N(O(b),E)},E&&E.parseFragmentIdentifier&&S?{fragmentIdentifier:_(S,E)}:{})},e.stringifyUrl=(b,E)=>{E=Object.assign({encode:!0,strict:!0,[f]:!0},E);const z=P(b.url).split("?")[0]||"",S=e.extract(b.url),j=e.parse(S,{sort:!1}),A=Object.assign(j,b.query);let D=e.stringify(A,E);D&&(D=`?${D}`);let Q=C(b.url);return b.fragmentIdentifier&&(Q=`#${E[f]?w(b.fragmentIdentifier,E):b.fragmentIdentifier}`),`${z}${D}${Q}`},e.pick=(b,E,z)=>{z=Object.assign({parseFragmentIdentifier:!0,[f]:!1},z);const{url:S,query:j,fragmentIdentifier:A}=e.parseUrl(b,z);return e.stringifyUrl({url:S,query:a(j,E),fragmentIdentifier:A},z)},e.exclude=(b,E,z)=>{const S=Array.isArray(E)?j=>!E.includes(j):(j,A)=>!E(j,A);return e.pick(b,S,z)}}(gc)),gc}l(q5,"requireQueryString");var Q5=q5();const Az=Tl(Q5),ri=l(function(){},"Logger2");ri.prototype.debug=(...e)=>console.debug(...e);ri.prototype.info=(...e)=>console.info(...e);ri.prototype.warn=(...e)=>console.warn(...e);ri.prototype.error=(...e)=>console.error(...e);const Bz=new ri;var Pc,tv;function G5(){return tv||(tv=1,Pc=l(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 i,a,c;if(Array.isArray(t)){if(i=t.length,i!=n.length)return!1;for(a=i;a--!==0;)if(!e(t[a],n[a]))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(c=Object.keys(t),i=c.length,i!==Object.keys(n).length)return!1;for(a=i;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,c[a]))return!1;for(a=i;a--!==0;){var f=c[a];if(!e(t[f],n[f]))return!1}return!0}return t!==t&&n!==n},"equal")),Pc}l(G5,"requireFastDeepEqual");var K5=G5();const rv=Tl(K5);function rf(e){return e===null||typeof e!="object"?{}:Object.keys(e).reduce((t,n)=>{const i=e[n];return i!=null&&i!==!1&&(t[n]=i),t},{})}l(rf,"filterErrors");var Y5=Object.defineProperty,nv=Object.getOwnPropertySymbols,X5=Object.prototype.hasOwnProperty,J5=Object.prototype.propertyIsEnumerable,ov=l((e,t,n)=>t in e?Y5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp$1"),Z5=l((e,t)=>{for(var n in t||(t={}))X5.call(t,n)&&ov(e,n,t[n]);if(nv)for(var n of nv(t))J5.call(t,n)&&ov(e,n,t[n]);return e},"__spreadValues$1");function iv(e,t){if(t===null||typeof t!="object")return{};const n=Z5({},t);return Object.keys(t).forEach(i=>{i.includes(`${String(e)}.`)&&delete n[i]}),n}l(iv,"clearListState");const e3="__MANTINE_FORM_INDEX__";function sv(e,t){return t?typeof t=="boolean"?t:Array.isArray(t)?t.includes(e.replace(/[.][0-9]/g,`.${e3}`)):!1:!1}l(sv,"shouldValidateOnChange");function ur(e){if(typeof e!="object")return e;var t,n,i=Object.prototype.toString.call(e);if(i==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=ur(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:ur(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=ur(e[t])}return n}if(i==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=ur(e[t]);return n}return i==="[object Set]"?(n=new Set,e.forEach(function(a){n.add(ur(a))}),n):i==="[object Map]"?(n=new Map,e.forEach(function(a,c){n.set(ur(c),ur(a))}),n):i==="[object Date]"?new Date(+e):i==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):i==="[object DataView]"?new e.constructor(ur(e.buffer)):i==="[object ArrayBuffer]"?e.slice(0):i.slice(-6)==="Array]"?new e.constructor(e):e}l(ur,"klona");function vw(e){return typeof e!="string"?[]:e.split(".")}l(vw,"getSplittedPath");function Jl(e,t,n){const i=vw(e);if(i.length===0)return n;const a=ur(n);if(i.length===1)return a[i[0]]=t,a;let c=a[i[0]];for(let f=1;f<i.length-1;f+=1){if(c===void 0)return a;c=c[i[f]]}return c[i[i.length-1]]=t,a}l(Jl,"setPath");function cr(e,t){const n=vw(e);if(n.length===0||typeof t!="object"||t===null)return;let i=t[n[0]];for(let a=1;a<n.length&&i!==void 0;a+=1)i=i[n[a]];return i}l(cr,"getPath");function lv(e){const t=rf(e);return{hasErrors:Object.keys(t).length>0,errors:t}}l(lv,"getValidationResults");function nf(e,t,n="",i={}){return typeof e!="object"||e===null?i:Object.keys(e).reduce((a,c)=>{const f=e[c],p=`${n===""?"":`${n}.`}${c}`,y=cr(p,t);let g=!1;return typeof f=="function"&&(a[p]=f(y,t,p)),typeof f=="object"&&Array.isArray(y)&&(g=!0,y.forEach((w,_)=>nf(f,t,`${p}.${_}`,a))),typeof f=="object"&&typeof y=="object"&&y!==null&&(g||nf(f,t,p,a)),a},i)}l(nf,"validateRulesRecord");function of(e,t){return lv(typeof e=="function"?e(t):nf(e,t))}l(of,"validateValues");function Es(e,t,n){if(typeof e!="string")return{hasError:!1,error:null};const i=of(t,n),a=Object.keys(i.errors).find(c=>e.split(".").every((f,p)=>f===c.split(".")[p]));return{hasError:!!a,error:a?i.errors[a]:null}}l(Es,"validateFieldValue");function t3(e,{from:t,to:n},i){const a=cr(e,i);if(!Array.isArray(a))return i;const c=[...a],f=a[t];return c.splice(t,1),c.splice(n,0,f),Jl(e,c,i)}l(t3,"reorderPath");function r3(e,t,n){const i=cr(e,n);return Array.isArray(i)?Jl(e,i.filter((a,c)=>c!==t),n):n}l(r3,"removePath");function n3(e,t,n,i){const a=cr(e,i);if(!Array.isArray(a))return i;const c=[...a];return c.splice(typeof n=="number"?n:c.length,0,t),Jl(e,c,i)}l(n3,"insertPath");function av(e,t){const n=Object.keys(e);if(typeof t=="string"){const i=n.filter(a=>a.startsWith(`${t}.`));return e[t]||i.some(a=>e[a])||!1}return n.some(i=>e[i])}l(av,"getStatus");function o3(e){return t=>{if(!t)e(t);else if(typeof t=="function")e(t);else if(typeof t=="object"&&"nativeEvent"in t){const{currentTarget:n}=t;n instanceof HTMLInputElement?n.type==="checkbox"?e(n.checked):e(n.value):(n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement)&&e(n.value)}else e(t)}}l(o3,"getInputOnChange");var i3=Object.defineProperty,s3=Object.defineProperties,l3=Object.getOwnPropertyDescriptors,uv=Object.getOwnPropertySymbols,a3=Object.prototype.hasOwnProperty,u3=Object.prototype.propertyIsEnumerable,cv=l((e,t,n)=>t in e?i3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp"),Nn=l((e,t)=>{for(var n in t||(t={}))a3.call(t,n)&&cv(e,n,t[n]);if(uv)for(var n of uv(t))u3.call(t,n)&&cv(e,n,t[n]);return e},"__spreadValues"),bc=l((e,t)=>s3(e,l3(t)),"__spreadProps");function Wz({initialValues:e={},initialErrors:t={},initialDirty:n={},initialTouched:i={},clearInputErrorOnChange:a=!0,validateInputOnChange:c=!1,validateInputOnBlur:f=!1,transformValues:p=l(g=>g,"transformValues"),validate:y}={}){const[g,w]=m.useState(i),[_,x]=m.useState(n),[P,C]=m.useState(e),[O,$]=m.useState(rf(t)),N=m.useRef(e),b=l(U=>{N.current=U},"_setDirtyValues"),E=m.useCallback(()=>w({}),[]),z=l(U=>{b(U||P),x({})},"resetDirty"),S=m.useCallback(U=>$(ce=>rf(typeof U=="function"?U(ce):U)),[]),j=m.useCallback(()=>$({}),[]),A=m.useCallback(()=>{C(e),j(),z(e),E()},[]),D=m.useCallback((U,ce)=>S(ee=>bc(Nn({},ee),{[U]:ce})),[]),Q=m.useCallback(U=>S(ce=>{if(typeof U!="string")return ce;const ee=Nn({},ce);return delete ee[U],ee}),[]),X=m.useCallback(U=>x(ce=>{if(typeof U!="string")return ce;const ee=iv(U,ce);return delete ee[U],ee}),[]),ae=m.useCallback((U,ce)=>{const ee=sv(U,c);X(U),w(ve=>bc(Nn({},ve),{[U]:!0})),C(ve=>{const _e=Jl(U,ce,ve);if(ee){const Ce=Es(U,y,_e);Ce.hasError?D(U,Ce.error):Q(U)}return _e}),!ee&&a&&D(U,null)},[]),Z=m.useCallback(U=>{C(ce=>{const ee=typeof U=="function"?U(ce):U;return Nn(Nn({},ce),ee)}),a&&j()},[]),te=m.useCallback((U,ce)=>{X(U),C(ee=>t3(U,ce,ee))},[]),K=m.useCallback((U,ce)=>{X(U),C(ee=>r3(U,ce,ee)),$(ee=>iv(U,ee))},[]),ie=m.useCallback((U,ce,ee)=>{X(U),C(ve=>n3(U,ce,ee,ve))},[]),ue=m.useCallback(()=>{const U=of(y,P);return $(U.errors),U},[P,y]),ne=m.useCallback(U=>{const ce=Es(U,y,P);return ce.hasError?D(U,ce.error):Q(U),ce},[P,y]),W=l((U,{type:ce="input",withError:ee=ce==="input",withFocus:ve=!0}={})=>{const Ce={onChange:o3(Pt=>ae(U,Pt))};return ee&&(Ce.error=O[U]),ce==="checkbox"?Ce.checked=cr(U,P):Ce.value=cr(U,P),ve&&(Ce.onFocus=()=>w(Pt=>bc(Nn({},Pt),{[U]:!0})),Ce.onBlur=()=>{if(sv(U,f)){const Pt=Es(U,y,P);Pt.hasError?D(U,Pt.error):Q(U)}}),Ce},"getInputProps"),Y=l((U,ce)=>ee=>{ee==null||ee.preventDefault();const ve=ue();ve.hasErrors?ce==null||ce(ve.errors,P,ee):U(p(P),ee)},"onSubmit"),R=m.useCallback(U=>{U.preventDefault(),A()},[]),H=l(U=>{if(U){const ee=cr(U,_);if(typeof ee=="boolean")return ee;const ve=cr(U,P),_e=cr(U,N.current);return!rv(ve,_e)}return Object.keys(_).length>0?av(_):!rv(P,N.current)},"isDirty"),se=m.useCallback(U=>av(g,U),[g]),we=m.useCallback(U=>U?!Es(U,y,P).hasError:!of(y,P).hasErrors,[P,y]);return{values:P,errors:O,setValues:Z,setErrors:S,setFieldValue:ae,setFieldError:D,clearFieldError:Q,clearErrors:j,reset:A,validate:ue,validateField:ne,reorderListItem:te,removeListItem:K,insertListItem:ie,getInputProps:W,onSubmit:Y,onReset:R,isDirty:H,isTouched:se,setTouched:w,setDirty:x,resetTouched:E,resetDirty:z,isValid:we}}l(Wz,"useForm");export{sf as $,k3 as A,Fe as B,M3 as C,S3 as D,I3 as E,eb as F,h1 as G,d3 as H,m3 as I,Az as J,g1 as K,z4 as L,ZP as M,nz as N,yz as O,z3 as P,Wg as Q,E3 as R,rw as S,Fn as T,G3 as U,vz as V,Tn as W,p$ as X,uR as Y,tz as Z,ql as _,Fz as a,nb as a$,Mf as a0,bz as a1,Sz as a2,oz as a3,B3 as a4,F3 as a5,W3 as a6,iz as a7,Mz as a8,sz as a9,Hn as aA,Wv as aB,Ts as aC,v3 as aD,_f as aE,b4 as aF,zb as aG,Zm as aH,_3 as aI,xv as aJ,$P as aK,jc as aL,Zo as aM,$t as aN,v1 as aO,Tf as aP,DC as aQ,xC as aR,TC as aS,df as aT,DP as aU,w3 as aV,GP as aW,a0 as aX,rS as aY,ux as aZ,jv as a_,f3 as aa,Tz as ab,Dz as ac,kz as ad,Ez as ae,A3 as af,Oz as ag,q3 as ah,xz as ai,Pz as aj,ez as ak,$z as al,D3 as am,Kv as an,wv as ao,h3 as ap,tx as aq,Q5 as ar,ys as as,vf as at,gf as au,Vl as av,ke as aw,Ul as ax,ZE as ay,As as az,B as b,pz as b$,Dv as b0,Bv as b1,ob as b2,x3 as b3,Yo as b4,y3 as b5,Lz as b6,H3 as b7,cz as b8,_z as b9,j3 as bA,L3 as bB,on as bC,Dg as bD,s$ as bE,Ue as bF,N3 as bG,d$ as bH,v$ as bI,Ns as bJ,P$ as bK,O3 as bL,af as bM,uz as bN,gz as bO,X3 as bP,V3 as bQ,Z3 as bR,Cz as bS,Nz as bT,fz as bU,az as bV,J3 as bW,lz as bX,zz as bY,dz as bZ,Tl as b_,p3 as ba,wz as bb,rz as bc,U3 as bd,jz as be,Hl as bf,RP as bg,Nb as bh,qm as bi,Mb as bj,wf as bk,N0 as bl,C3 as bm,CE as bn,XO as bo,tE as bp,E0 as bq,JO as br,ZO as bs,R3 as bt,I0 as bu,QE as bv,NE as bw,ME as bx,Zc as by,l$ as bz,Te as c,mz as c0,Ar as d,m4 as e,P3 as f,e$ as g,$3 as h,mR as i,ze as j,F5 as k,Bz as l,Q3 as m,Iz as n,g3 as o,Wz as p,D4 as q,m as r,C1 as s,Rz as t,T3 as u,hz as v,Y3 as w,K2 as x,b3 as y,K3 as z};
//# sourceMappingURL=use-form-CYJtOIAE.js.map