@elizaos/client 1.6.2-alpha.9 → 1.6.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{main-CpHBkAFA.js → main-BtcZiEuQ.js} +3 -3
- package/dist/assets/{main-CpHBkAFA.js.map → main-BtcZiEuQ.js.map} +1 -1
- package/dist/assets/{main-CNv6B3RZ.css → main-DrN44Cbu.css} +1 -1
- package/dist/assets/main-r3TR7Sku.js +155 -0
- package/dist/assets/{main-SfTqS-Wp.js.map → main-r3TR7Sku.js.map} +1 -1
- package/dist/assets/react-vendor-DPGVcrXi.js +611 -0
- package/dist/assets/react-vendor-DPGVcrXi.js.map +1 -0
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/src/lib/api-type-mappers.ts +7 -3
- package/dist/assets/main-SfTqS-Wp.js +0 -155
- package/dist/assets/react-vendor-C1OK-nqm.js +0 -611
- package/dist/assets/react-vendor-C1OK-nqm.js.map +0 -1
|
@@ -0,0 +1,611 @@
|
|
|
1
|
+
var N_=Object.defineProperty;var a=(e,n)=>N_(e,"name",{value:n,configurable:!0});import{c as ye,a as kh}from"./ui-vendor-B7JxFfFk.js";function k_(e,n){for(var r=0;r<n.length;r++){const o=n[r];if(typeof o!="string"&&!Array.isArray(o)){for(const l in o)if(l!=="default"&&!(l in e)){const u=Object.getOwnPropertyDescriptor(o,l);u&&Object.defineProperty(e,l,u.get?u:{enumerable:!0,get:a(()=>o[l],"get")})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}a(k_,"_mergeNamespaces");function xr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}a(xr,"getDefaultExportFromCjs");function ZB(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var n=e.default;if(typeof n=="function"){var r=a(function o(){var l=!1;try{l=this instanceof o}catch{}return l?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)},"a2");r.prototype=n.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var l=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,l.get?l:{enumerable:!0,get:a(function(){return e[o]},"get")})}),r}a(ZB,"getAugmentedNamespace");var Ip={exports:{}},Pl={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var F0;function D_(){if(F0)return Pl;F0=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(o,l,u){var f=null;if(u!==void 0&&(f=""+u),l.key!==void 0&&(f=""+l.key),"key"in l){u={};for(var d in l)d!=="key"&&(u[d]=l[d])}else u=l;return l=u.ref,{$$typeof:e,type:o,key:f,ref:l!==void 0?l:null,props:u}}return a(r,"jsxProd"),Pl.Fragment=n,Pl.jsx=r,Pl.jsxs=r,Pl}a(D_,"requireReactJsxRuntime_production");var q0;function P_(){return q0||(q0=1,Ip.exports=D_()),Ip.exports}a(P_,"requireJsxRuntime");var N=P_(),Bp={exports:{}},De={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react.production.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var $0;function L_(){if($0)return De;$0=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),f=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),b=Symbol.iterator;function S(z){return z===null||typeof z!="object"?null:(z=b&&z[b]||z["@@iterator"],typeof z=="function"?z:null)}a(S,"getIteratorFn");var E={isMounted:a(function(){return!1},"isMounted"),enqueueForceUpdate:a(function(){},"enqueueForceUpdate"),enqueueReplaceState:a(function(){},"enqueueReplaceState"),enqueueSetState:a(function(){},"enqueueSetState")},w=Object.assign,R={};function T(z,Q,A){this.props=z,this.context=Q,this.refs=R,this.updater=A||E}a(T,"Component"),T.prototype.isReactComponent={},T.prototype.setState=function(z,Q){if(typeof z!="object"&&typeof z!="function"&&z!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,z,Q,"setState")},T.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function O(){}a(O,"ComponentDummy"),O.prototype=T.prototype;function M(z,Q,A){this.props=z,this.context=Q,this.refs=R,this.updater=A||E}a(M,"PureComponent");var L=M.prototype=new O;L.constructor=M,w(L,T.prototype),L.isPureReactComponent=!0;var B=Array.isArray;function D(){}a(D,"noop");var P={H:null,A:null,T:null,S:null},Y=Object.prototype.hasOwnProperty;function K(z,Q,A){var J=A.ref;return{$$typeof:e,type:z,key:Q,ref:J!==void 0?J:null,props:A}}a(K,"ReactElement");function te(z,Q){return K(z.type,Q,z.props)}a(te,"cloneAndReplaceKey");function Z(z){return typeof z=="object"&&z!==null&&z.$$typeof===e}a(Z,"isValidElement");function ee(z){var Q={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(A){return Q[A]})}a(ee,"escape");var fe=/\/+/g;function F(z,Q){return typeof z=="object"&&z!==null&&z.key!=null?ee(""+z.key):Q.toString(36)}a(F,"getElementKey");function oe(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(D,D):(z.status="pending",z.then(function(Q){z.status==="pending"&&(z.status="fulfilled",z.value=Q)},function(Q){z.status==="pending"&&(z.status="rejected",z.reason=Q)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}a(oe,"resolveThenable");function I(z,Q,A,J,de){var ce=typeof z;(ce==="undefined"||ce==="boolean")&&(z=null);var V=!1;if(z===null)V=!0;else switch(ce){case"bigint":case"string":case"number":V=!0;break;case"object":switch(z.$$typeof){case e:case n:V=!0;break;case m:return V=z._init,I(V(z._payload),Q,A,J,de)}}if(V)return de=de(z),V=J===""?"."+F(z,0):J,B(de)?(A="",V!=null&&(A=V.replace(fe,"$&/")+"/"),I(de,Q,A,"",function(Re){return Re})):de!=null&&(Z(de)&&(de=te(de,A+(de.key==null||z&&z.key===de.key?"":(""+de.key).replace(fe,"$&/")+"/")+V)),Q.push(de)),1;V=0;var pe=J===""?".":J+":";if(B(z))for(var be=0;be<z.length;be++)J=z[be],ce=pe+F(J,be),V+=I(J,Q,A,ce,de);else if(be=S(z),typeof be=="function")for(z=be.call(z),be=0;!(J=z.next()).done;)J=J.value,ce=pe+F(J,be++),V+=I(J,Q,A,ce,de);else if(ce==="object"){if(typeof z.then=="function")return I(oe(z),Q,A,J,de);throw Q=String(z),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return V}a(I,"mapIntoArray");function W(z,Q,A){if(z==null)return z;var J=[],de=0;return I(z,J,"","",function(ce){return Q.call(A,ce,de++)}),J}a(W,"mapChildren");function ie(z){if(z._status===-1){var Q=z._result;Q=Q(),Q.then(function(A){(z._status===0||z._status===-1)&&(z._status=1,z._result=A)},function(A){(z._status===0||z._status===-1)&&(z._status=2,z._result=A)}),z._status===-1&&(z._status=0,z._result=Q)}if(z._status===1)return z._result.default;throw z._result}a(ie,"lazyInitializer");var se=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",z);return}console.error(z)},k={map:W,forEach:a(function(z,Q,A){W(z,function(){Q.apply(this,arguments)},A)},"forEach"),count:a(function(z){var Q=0;return W(z,function(){Q++}),Q},"count"),toArray:a(function(z){return W(z,function(Q){return Q})||[]},"toArray"),only:a(function(z){if(!Z(z))throw Error("React.Children.only expected to receive a single React element child.");return z},"only")};return De.Activity=g,De.Children=k,De.Component=T,De.Fragment=r,De.Profiler=l,De.PureComponent=M,De.StrictMode=o,De.Suspense=p,De.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,De.__COMPILER_RUNTIME={__proto__:null,c:a(function(z){return P.H.useMemoCache(z)},"c")},De.cache=function(z){return function(){return z.apply(null,arguments)}},De.cacheSignal=function(){return null},De.cloneElement=function(z,Q,A){if(z==null)throw Error("The argument must be a React element, but you passed "+z+".");var J=w({},z.props),de=z.key;if(Q!=null)for(ce in Q.key!==void 0&&(de=""+Q.key),Q)!Y.call(Q,ce)||ce==="key"||ce==="__self"||ce==="__source"||ce==="ref"&&Q.ref===void 0||(J[ce]=Q[ce]);var ce=arguments.length-2;if(ce===1)J.children=A;else if(1<ce){for(var V=Array(ce),pe=0;pe<ce;pe++)V[pe]=arguments[pe+2];J.children=V}return K(z.type,de,J)},De.createContext=function(z){return z={$$typeof:f,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:u,_context:z},z},De.createElement=function(z,Q,A){var J,de={},ce=null;if(Q!=null)for(J in Q.key!==void 0&&(ce=""+Q.key),Q)Y.call(Q,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(de[J]=Q[J]);var V=arguments.length-2;if(V===1)de.children=A;else if(1<V){for(var pe=Array(V),be=0;be<V;be++)pe[be]=arguments[be+2];de.children=pe}if(z&&z.defaultProps)for(J in V=z.defaultProps,V)de[J]===void 0&&(de[J]=V[J]);return K(z,ce,de)},De.createRef=function(){return{current:null}},De.forwardRef=function(z){return{$$typeof:d,render:z}},De.isValidElement=Z,De.lazy=function(z){return{$$typeof:m,_payload:{_status:-1,_result:z},_init:ie}},De.memo=function(z,Q){return{$$typeof:h,type:z,compare:Q===void 0?null:Q}},De.startTransition=function(z){var Q=P.T,A={};P.T=A;try{var J=z(),de=P.S;de!==null&&de(A,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(D,se)}catch(ce){se(ce)}finally{Q!==null&&A.types!==null&&(Q.types=A.types),P.T=Q}},De.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},De.use=function(z){return P.H.use(z)},De.useActionState=function(z,Q,A){return P.H.useActionState(z,Q,A)},De.useCallback=function(z,Q){return P.H.useCallback(z,Q)},De.useContext=function(z){return P.H.useContext(z)},De.useDebugValue=function(){},De.useDeferredValue=function(z,Q){return P.H.useDeferredValue(z,Q)},De.useEffect=function(z,Q){return P.H.useEffect(z,Q)},De.useEffectEvent=function(z){return P.H.useEffectEvent(z)},De.useId=function(){return P.H.useId()},De.useImperativeHandle=function(z,Q,A){return P.H.useImperativeHandle(z,Q,A)},De.useInsertionEffect=function(z,Q){return P.H.useInsertionEffect(z,Q)},De.useLayoutEffect=function(z,Q){return P.H.useLayoutEffect(z,Q)},De.useMemo=function(z,Q){return P.H.useMemo(z,Q)},De.useOptimistic=function(z,Q){return P.H.useOptimistic(z,Q)},De.useReducer=function(z,Q,A){return P.H.useReducer(z,Q,A)},De.useRef=function(z){return P.H.useRef(z)},De.useState=function(z){return P.H.useState(z)},De.useSyncExternalStore=function(z,Q,A){return P.H.useSyncExternalStore(z,Q,A)},De.useTransition=function(){return P.H.useTransition()},De.version="19.2.0",De}a(L_,"requireReact_production");var V0;function ds(){return V0||(V0=1,Bp.exports=L_()),Bp.exports}a(ds,"requireReact");var x=ds();const _e=xr(x),Em=k_({__proto__:null,default:_e},[x]);var Hp={exports:{}},Ll={},Up={exports:{}},Fp={};/**
|
|
18
|
+
* @license React
|
|
19
|
+
* scheduler.production.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/var G0;function z_(){return G0||(G0=1,(function(e){function n(I,W){var ie=I.length;I.push(W);e:for(;0<ie;){var se=ie-1>>>1,k=I[se];if(0<l(k,W))I[se]=W,I[ie]=k,ie=se;else break e}}a(n,"push");function r(I){return I.length===0?null:I[0]}a(r,"peek");function o(I){if(I.length===0)return null;var W=I[0],ie=I.pop();if(ie!==W){I[0]=ie;e:for(var se=0,k=I.length,z=k>>>1;se<z;){var Q=2*(se+1)-1,A=I[Q],J=Q+1,de=I[J];if(0>l(A,ie))J<k&&0>l(de,A)?(I[se]=de,I[J]=ie,se=J):(I[se]=A,I[Q]=ie,se=Q);else if(J<k&&0>l(de,ie))I[se]=de,I[J]=ie,se=J;else break e}}return W}a(o,"pop");function l(I,W){var ie=I.sortIndex-W.sortIndex;return ie!==0?ie:I.id-W.id}if(a(l,"compare"),e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var f=Date,d=f.now();e.unstable_now=function(){return f.now()-d}}var p=[],h=[],m=1,g=null,b=3,S=!1,E=!1,w=!1,R=!1,T=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function L(I){for(var W=r(h);W!==null;){if(W.callback===null)o(h);else if(W.startTime<=I)o(h),W.sortIndex=W.expirationTime,n(p,W);else break;W=r(h)}}a(L,"advanceTimers");function B(I){if(w=!1,L(I),!E)if(r(p)!==null)E=!0,D||(D=!0,ee());else{var W=r(h);W!==null&&oe(B,W.startTime-I)}}a(B,"handleTimeout");var D=!1,P=-1,Y=5,K=-1;function te(){return R?!0:!(e.unstable_now()-K<Y)}a(te,"shouldYieldToHost");function Z(){if(R=!1,D){var I=e.unstable_now();K=I;var W=!0;try{e:{E=!1,w&&(w=!1,O(P),P=-1),S=!0;var ie=b;try{t:{for(L(I),g=r(p);g!==null&&!(g.expirationTime>I&&te());){var se=g.callback;if(typeof se=="function"){g.callback=null,b=g.priorityLevel;var k=se(g.expirationTime<=I);if(I=e.unstable_now(),typeof k=="function"){g.callback=k,L(I),W=!0;break t}g===r(p)&&o(p),L(I)}else o(p);g=r(p)}if(g!==null)W=!0;else{var z=r(h);z!==null&&oe(B,z.startTime-I),W=!1}}break e}finally{g=null,b=ie,S=!1}W=void 0}}finally{W?ee():D=!1}}}a(Z,"performWorkUntilDeadline");var ee;if(typeof M=="function")ee=a(function(){M(Z)},"schedulePerformWorkUntilDeadline");else if(typeof MessageChannel<"u"){var fe=new MessageChannel,F=fe.port2;fe.port1.onmessage=Z,ee=a(function(){F.postMessage(null)},"schedulePerformWorkUntilDeadline")}else ee=a(function(){T(Z,0)},"schedulePerformWorkUntilDeadline");function oe(I,W){P=T(function(){I(e.unstable_now())},W)}a(oe,"requestHostTimeout"),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(I){I.callback=null},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Y=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(I){switch(b){case 1:case 2:case 3:var W=3;break;default:W=b}var ie=b;b=W;try{return I()}finally{b=ie}},e.unstable_requestPaint=function(){R=!0},e.unstable_runWithPriority=function(I,W){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var ie=b;b=I;try{return W()}finally{b=ie}},e.unstable_scheduleCallback=function(I,W,ie){var se=e.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?se+ie:se):ie=se,I){case 1:var k=-1;break;case 2:k=250;break;case 5:k=1073741823;break;case 4:k=1e4;break;default:k=5e3}return k=ie+k,I={id:m++,callback:W,priorityLevel:I,startTime:ie,expirationTime:k,sortIndex:-1},ie>se?(I.sortIndex=ie,n(h,I),r(p)===null&&I===r(h)&&(w?(O(P),P=-1):w=!0,oe(B,ie-se))):(I.sortIndex=k,n(p,I),E||S||(E=!0,D||(D=!0,ee()))),I},e.unstable_shouldYield=te,e.unstable_wrapCallback=function(I){var W=b;return function(){var ie=b;b=W;try{return I.apply(this,arguments)}finally{b=ie}}}})(Fp)),Fp}a(z_,"requireScheduler_production");var Y0;function j_(){return Y0||(Y0=1,Up.exports=z_()),Up.exports}a(j_,"requireScheduler");var qp={exports:{}},Ft={};/**
|
|
26
|
+
* @license React
|
|
27
|
+
* react-dom.production.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/var Q0;function I_(){if(Q0)return Ft;Q0=1;var e=ds();function n(p){var h="https://react.dev/errors/"+p;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)h+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+p+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}a(n,"formatProdErrorMessage");function r(){}a(r,"noop");var o={d:{f:r,r:a(function(){throw Error(n(522))},"r"),D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},l=Symbol.for("react.portal");function u(p,h,m){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:g==null?null:""+g,children:p,containerInfo:h,implementation:m}}a(u,"createPortal$1");var f=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(p,h){if(p==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return a(d,"getCrossOriginStringAs"),Ft.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Ft.createPortal=function(p,h){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(n(299));return u(p,h,null,m)},Ft.flushSync=function(p){var h=f.T,m=o.p;try{if(f.T=null,o.p=2,p)return p()}finally{f.T=h,o.p=m,o.d.f()}},Ft.preconnect=function(p,h){typeof p=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,o.d.C(p,h))},Ft.prefetchDNS=function(p){typeof p=="string"&&o.d.D(p)},Ft.preinit=function(p,h){if(typeof p=="string"&&h&&typeof h.as=="string"){var m=h.as,g=d(m,h.crossOrigin),b=typeof h.integrity=="string"?h.integrity:void 0,S=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;m==="style"?o.d.S(p,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:g,integrity:b,fetchPriority:S}):m==="script"&&o.d.X(p,{crossOrigin:g,integrity:b,fetchPriority:S,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Ft.preinitModule=function(p,h){if(typeof p=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var m=d(h.as,h.crossOrigin);o.d.M(p,{crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&o.d.M(p)},Ft.preload=function(p,h){if(typeof p=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var m=h.as,g=d(m,h.crossOrigin);o.d.L(p,m,{crossOrigin:g,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Ft.preloadModule=function(p,h){if(typeof p=="string")if(h){var m=d(h.as,h.crossOrigin);o.d.m(p,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else o.d.m(p)},Ft.requestFormReset=function(p){o.d.r(p)},Ft.unstable_batchedUpdates=function(p,h){return p(h)},Ft.useFormState=function(p,h,m){return f.H.useFormState(p,h,m)},Ft.useFormStatus=function(){return f.H.useHostTransitionStatus()},Ft.version="19.2.0",Ft}a(I_,"requireReactDom_production");var K0;function bx(){if(K0)return qp.exports;K0=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(n){console.error(n)}}return a(e,"checkDCE"),e(),qp.exports=I_(),qp.exports}a(bx,"requireReactDom");var X0;function B_(){if(X0)return Ll;X0=1;/**
|
|
34
|
+
* @license React
|
|
35
|
+
* react-dom-client.production.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/var e=j_(),n=ds(),r=bx();function o(t){var i="https://react.dev/errors/"+t;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)i+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+t+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}a(o,"formatProdErrorMessage");function l(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}a(l,"isValidContainer");function u(t){var i=t,s=t;if(t.alternate)for(;i.return;)i=i.return;else{t=i;do i=t,(i.flags&4098)!==0&&(s=i.return),t=i.return;while(t)}return i.tag===3?s:null}a(u,"getNearestMountedFiber");function f(t){if(t.tag===13){var i=t.memoizedState;if(i===null&&(t=t.alternate,t!==null&&(i=t.memoizedState)),i!==null)return i.dehydrated}return null}a(f,"getSuspenseInstanceFromFiber");function d(t){if(t.tag===31){var i=t.memoizedState;if(i===null&&(t=t.alternate,t!==null&&(i=t.memoizedState)),i!==null)return i.dehydrated}return null}a(d,"getActivityInstanceFromFiber");function p(t){if(u(t)!==t)throw Error(o(188))}a(p,"assertIsMounted");function h(t){var i=t.alternate;if(!i){if(i=u(t),i===null)throw Error(o(188));return i!==t?null:t}for(var s=t,c=i;;){var y=s.return;if(y===null)break;var v=y.alternate;if(v===null){if(c=y.return,c!==null){s=c;continue}break}if(y.child===v.child){for(v=y.child;v;){if(v===s)return p(y),t;if(v===c)return p(y),i;v=v.sibling}throw Error(o(188))}if(s.return!==c.return)s=y,c=v;else{for(var C=!1,_=y.child;_;){if(_===s){C=!0,s=y,c=v;break}if(_===c){C=!0,c=y,s=v;break}_=_.sibling}if(!C){for(_=v.child;_;){if(_===s){C=!0,s=v,c=y;break}if(_===c){C=!0,c=v,s=y;break}_=_.sibling}if(!C)throw Error(o(189))}}if(s.alternate!==c)throw Error(o(190))}if(s.tag!==3)throw Error(o(188));return s.stateNode.current===s?t:i}a(h,"findCurrentFiberUsingSlowPath");function m(t){var i=t.tag;if(i===5||i===26||i===27||i===6)return t;for(t=t.child;t!==null;){if(i=m(t),i!==null)return i;t=t.sibling}return null}a(m,"findCurrentHostFiberImpl");var g=Object.assign,b=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),M=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),Y=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),te=Symbol.for("react.memo_cache_sentinel"),Z=Symbol.iterator;function ee(t){return t===null||typeof t!="object"?null:(t=Z&&t[Z]||t["@@iterator"],typeof t=="function"?t:null)}a(ee,"getIteratorFn");var fe=Symbol.for("react.client.reference");function F(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===fe?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case w:return"Fragment";case T:return"Profiler";case R:return"StrictMode";case B:return"Suspense";case D:return"SuspenseList";case K:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case E:return"Portal";case M:return t.displayName||"Context";case O:return(t._context.displayName||"Context")+".Consumer";case L:var i=t.render;return t=t.displayName,t||(t=i.displayName||i.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case P:return i=t.displayName||null,i!==null?i:F(t.type)||"Memo";case Y:i=t._payload,t=t._init;try{return F(t(i))}catch{}}return null}a(F,"getComponentNameFromType");var oe=Array.isArray,I=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie={pending:!1,data:null,method:null,action:null},se=[],k=-1;function z(t){return{current:t}}a(z,"createCursor");function Q(t){0>k||(t.current=se[k],se[k]=null,k--)}a(Q,"pop");function A(t,i){k++,se[k]=t.current,t.current=i}a(A,"push");var J=z(null),de=z(null),ce=z(null),V=z(null);function pe(t,i){switch(A(ce,i),A(de,t),A(J,null),i.nodeType){case 9:case 11:t=(t=i.documentElement)&&(t=t.namespaceURI)?f0(t):0;break;default:if(t=i.tagName,i=i.namespaceURI)i=f0(i),t=d0(i,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Q(J),A(J,t)}a(pe,"pushHostContainer");function be(){Q(J),Q(de),Q(ce)}a(be,"popHostContainer");function Re(t){t.memoizedState!==null&&A(V,t);var i=J.current,s=d0(i,t.type);i!==s&&(A(de,t),A(J,s))}a(Re,"pushHostContext");function ke(t){de.current===t&&(Q(J),Q(de)),V.current===t&&(Q(V),Ml._currentValue=ie)}a(ke,"popHostContext");var Ue,Be;function nt(t){if(Ue===void 0)try{throw Error()}catch(s){var i=s.stack.trim().match(/\n( *(at )?)/);Ue=i&&i[1]||"",Be=-1<s.stack.indexOf(`
|
|
42
|
+
at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
+
`+Ue+t+Be}a(nt,"describeBuiltInComponentFrame");var Ut=!1;function Gt(t,i){if(!t||Ut)return"";Ut=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:a(function(){try{if(i){var ue=a(function(){throw Error()},"Fake");if(Object.defineProperty(ue.prototype,"props",{set:a(function(){throw Error()},"set")}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ue,[])}catch(X){var G=X}Reflect.construct(t,[],ue)}else{try{ue.call()}catch(X){G=X}t.call(ue.prototype)}}else{try{throw Error()}catch(X){G=X}(ue=t())&&typeof ue.catch=="function"&&ue.catch(function(){})}}catch(X){if(X&&G&&typeof X.stack=="string")return[X.stack,G.stack]}return[null,null]},"DetermineComponentFrameRoot")};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var y=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");y&&y.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=c.DetermineComponentFrameRoot(),C=v[0],_=v[1];if(C&&_){var j=C.split(`
|
|
44
|
+
`),$=_.split(`
|
|
45
|
+
`);for(y=c=0;c<j.length&&!j[c].includes("DetermineComponentFrameRoot");)c++;for(;y<$.length&&!$[y].includes("DetermineComponentFrameRoot");)y++;if(c===j.length||y===$.length)for(c=j.length-1,y=$.length-1;1<=c&&0<=y&&j[c]!==$[y];)y--;for(;1<=c&&0<=y;c--,y--)if(j[c]!==$[y]){if(c!==1||y!==1)do if(c--,y--,0>y||j[c]!==$[y]){var ne=`
|
|
46
|
+
`+j[c].replace(" at new "," at ");return t.displayName&&ne.includes("<anonymous>")&&(ne=ne.replace("<anonymous>",t.displayName)),ne}while(1<=c&&0<=y);break}}}finally{Ut=!1,Error.prepareStackTrace=s}return(s=t?t.displayName||t.name:"")?nt(s):""}a(Gt,"describeNativeComponentFrame");function Tn(t,i){switch(t.tag){case 26:case 27:case 5:return nt(t.type);case 16:return nt("Lazy");case 13:return t.child!==i&&i!==null?nt("Suspense Fallback"):nt("Suspense");case 19:return nt("SuspenseList");case 0:case 15:return Gt(t.type,!1);case 11:return Gt(t.type.render,!1);case 1:return Gt(t.type,!0);case 31:return nt("Activity");default:return""}}a(Tn,"describeFiber");function Mt(t){try{var i="",s=null;do i+=Tn(t,s),s=t,t=t.return;while(t);return i}catch(c){return`
|
|
47
|
+
Error generating stack: `+c.message+`
|
|
48
|
+
`+c.stack}}a(Mt,"getStackByFiberInDevAndProd");var Rr=Object.prototype.hasOwnProperty,ei=e.unstable_scheduleCallback,Fn=e.unstable_cancelCallback,wo=e.unstable_shouldYield,Fa=e.unstable_requestPaint,Yt=e.unstable_now,Tf=e.unstable_getCurrentPriorityLevel,ae=e.unstable_ImmediatePriority,ge=e.unstable_UserBlockingPriority,Me=e.unstable_NormalPriority,Fe=e.unstable_LowPriority,et=e.unstable_IdlePriority,dn=e.log,Or=e.unstable_setDisableYieldValue,Qt=null,Nt=null;function Jt(t){if(typeof dn=="function"&&Or(t),Nt&&typeof Nt.setStrictMode=="function")try{Nt.setStrictMode(Qt,t)}catch{}}a(Jt,"setIsStrictModeForDevtools");var st=Math.clz32?Math.clz32:gO,ti=Math.log,qn=Math.LN2;function gO(t){return t>>>=0,t===0?32:31-(ti(t)/qn|0)|0}a(gO,"clz32Fallback");var ks=256,Ds=262144,Ps=4194304;function Bi(t){var i=t&42;if(i!==0)return i;switch(t&-t){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}a(Bi,"getHighestPriorityLanes");function Ls(t,i,s){var c=t.pendingLanes;if(c===0)return 0;var y=0,v=t.suspendedLanes,C=t.pingedLanes;t=t.warmLanes;var _=c&134217727;return _!==0?(c=_&~v,c!==0?y=Bi(c):(C&=_,C!==0?y=Bi(C):s||(s=_&~t,s!==0&&(y=Bi(s))))):(_=c&~v,_!==0?y=Bi(_):C!==0?y=Bi(C):s||(s=c&~t,s!==0&&(y=Bi(s)))),y===0?0:i!==0&&i!==y&&(i&v)===0&&(v=y&-y,s=i&-i,v>=s||v===32&&(s&4194048)!==0)?i:y}a(Ls,"getNextLanes");function qa(t,i){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&i)===0}a(qa,"checkIfRootIsPrerendering");function vO(t,i){switch(t){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32: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 i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}a(vO,"computeExpirationTime");function Gy(){var t=Ps;return Ps<<=1,(Ps&62914560)===0&&(Ps=4194304),t}a(Gy,"claimNextRetryLane");function Rf(t){for(var i=[],s=0;31>s;s++)i.push(t);return i}a(Rf,"createLaneMap");function $a(t,i){t.pendingLanes|=i,i!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}a($a,"markRootUpdated$1");function bO(t,i,s,c,y,v){var C=t.pendingLanes;t.pendingLanes=s,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=s,t.entangledLanes&=s,t.errorRecoveryDisabledLanes&=s,t.shellSuspendCounter=0;var _=t.entanglements,j=t.expirationTimes,$=t.hiddenUpdates;for(s=C&~s;0<s;){var ne=31-st(s),ue=1<<ne;_[ne]=0,j[ne]=-1;var G=$[ne];if(G!==null)for($[ne]=null,ne=0;ne<G.length;ne++){var X=G[ne];X!==null&&(X.lane&=-536870913)}s&=~ue}c!==0&&Yy(t,c,0),v!==0&&y===0&&t.tag!==0&&(t.suspendedLanes|=v&~(C&~i))}a(bO,"markRootFinished");function Yy(t,i,s){t.pendingLanes|=i,t.suspendedLanes&=~i;var c=31-st(i);t.entangledLanes|=i,t.entanglements[c]=t.entanglements[c]|1073741824|s&261930}a(Yy,"markSpawnedDeferredLane");function Qy(t,i){var s=t.entangledLanes|=i;for(t=t.entanglements;s;){var c=31-st(s),y=1<<c;y&i|t[c]&i&&(t[c]|=i),s&=~y}}a(Qy,"markRootEntangled");function Ky(t,i){var s=i&-i;return s=(s&42)!==0?1:Of(s),(s&(t.suspendedLanes|i))!==0?0:s}a(Ky,"getBumpedLaneForHydration");function Of(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}a(Of,"getBumpedLaneForHydrationByLane");function Af(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}a(Af,"lanesToEventPriority");function Xy(){var t=W.p;return t!==0?t:(t=window.event,t===void 0?32:L0(t.type))}a(Xy,"resolveUpdatePriority");function Wy(t,i){var s=W.p;try{return W.p=t,i()}finally{W.p=s}}a(Wy,"runWithPriority");var ni=Math.random().toString(36).slice(2),Lt="__reactFiber$"+ni,en="__reactProps$"+ni,Eo="__reactContainer$"+ni,_f="__reactEvents$"+ni,SO="__reactListeners$"+ni,xO="__reactHandles$"+ni,Zy="__reactResources$"+ni,Va="__reactMarker$"+ni;function Mf(t){delete t[Lt],delete t[en],delete t[_f],delete t[SO],delete t[xO]}a(Mf,"detachDeletedInstance");function Co(t){var i=t[Lt];if(i)return i;for(var s=t.parentNode;s;){if(i=s[Eo]||s[Lt]){if(s=i.alternate,i.child!==null||s!==null&&s.child!==null)for(t=b0(t);t!==null;){if(s=t[Lt])return s;t=b0(t)}return i}t=s,s=t.parentNode}return null}a(Co,"getClosestInstanceFromNode");function To(t){if(t=t[Lt]||t[Eo]){var i=t.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return t}return null}a(To,"getInstanceFromNode");function Ga(t){var i=t.tag;if(i===5||i===26||i===27||i===6)return t.stateNode;throw Error(o(33))}a(Ga,"getNodeFromInstance");function Ro(t){var i=t[Zy];return i||(i=t[Zy]={hoistableStyles:new Map,hoistableScripts:new Map}),i}a(Ro,"getResourcesFromRoot");function Dt(t){t[Va]=!0}a(Dt,"markNodeAsHoistable");var Jy=new Set,eg={};function Hi(t,i){Oo(t,i),Oo(t+"Capture",i)}a(Hi,"registerTwoPhaseEvent");function Oo(t,i){for(eg[t]=i,t=0;t<i.length;t++)Jy.add(i[t])}a(Oo,"registerDirectEvent");var wO=RegExp("^[: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]*$"),tg={},ng={};function EO(t){return Rr.call(ng,t)?!0:Rr.call(tg,t)?!1:wO.test(t)?ng[t]=!0:(tg[t]=!0,!1)}a(EO,"isAttributeNameSafe");function zs(t,i,s){if(EO(i))if(s===null)t.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":t.removeAttribute(i);return;case"boolean":var c=i.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){t.removeAttribute(i);return}}t.setAttribute(i,""+s)}}a(zs,"setValueForAttribute");function js(t,i,s){if(s===null)t.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(i);return}t.setAttribute(i,""+s)}}a(js,"setValueForKnownAttribute");function Ar(t,i,s,c){if(c===null)t.removeAttribute(s);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(s);return}t.setAttributeNS(i,s,""+c)}}a(Ar,"setValueForNamespacedAttribute");function Rn(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}a(Rn,"getToStringValue");function rg(t){var i=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}a(rg,"isCheckable");function CO(t,i,s){var c=Object.getOwnPropertyDescriptor(t.constructor.prototype,i);if(!t.hasOwnProperty(i)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var y=c.get,v=c.set;return Object.defineProperty(t,i,{configurable:!0,get:a(function(){return y.call(this)},"get"),set:a(function(C){s=""+C,v.call(this,C)},"set")}),Object.defineProperty(t,i,{enumerable:c.enumerable}),{getValue:a(function(){return s},"getValue"),setValue:a(function(C){s=""+C},"setValue"),stopTracking:a(function(){t._valueTracker=null,delete t[i]},"stopTracking")}}}a(CO,"trackValueOnNode");function Nf(t){if(!t._valueTracker){var i=rg(t)?"checked":"value";t._valueTracker=CO(t,i,""+t[i])}}a(Nf,"track");function ig(t){if(!t)return!1;var i=t._valueTracker;if(!i)return!0;var s=i.getValue(),c="";return t&&(c=rg(t)?t.checked?"true":"false":t.value),t=c,t!==s?(i.setValue(t),!0):!1}a(ig,"updateValueIfChanged");function Is(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}a(Is,"getActiveElement");var TO=/[\n"\\]/g;function On(t){return t.replace(TO,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}a(On,"escapeSelectorAttributeValueInsideDoubleQuotes");function kf(t,i,s,c,y,v,C,_){t.name="",C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?t.type=C:t.removeAttribute("type"),i!=null?C==="number"?(i===0&&t.value===""||t.value!=i)&&(t.value=""+Rn(i)):t.value!==""+Rn(i)&&(t.value=""+Rn(i)):C!=="submit"&&C!=="reset"||t.removeAttribute("value"),i!=null?Df(t,C,Rn(i)):s!=null?Df(t,C,Rn(s)):c!=null&&t.removeAttribute("value"),y==null&&v!=null&&(t.defaultChecked=!!v),y!=null&&(t.checked=y&&typeof y!="function"&&typeof y!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?t.name=""+Rn(_):t.removeAttribute("name")}a(kf,"updateInput");function og(t,i,s,c,y,v,C,_){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(t.type=v),i!=null||s!=null){if(!(v!=="submit"&&v!=="reset"||i!=null)){Nf(t);return}s=s!=null?""+Rn(s):"",i=i!=null?""+Rn(i):s,_||i===t.value||(t.value=i),t.defaultValue=i}c=c??y,c=typeof c!="function"&&typeof c!="symbol"&&!!c,t.checked=_?t.checked:!!c,t.defaultChecked=!!c,C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"&&(t.name=C),Nf(t)}a(og,"initInput");function Df(t,i,s){i==="number"&&Is(t.ownerDocument)===t||t.defaultValue===""+s||(t.defaultValue=""+s)}a(Df,"setDefaultValue");function Ao(t,i,s,c){if(t=t.options,i){i={};for(var y=0;y<s.length;y++)i["$"+s[y]]=!0;for(s=0;s<t.length;s++)y=i.hasOwnProperty("$"+t[s].value),t[s].selected!==y&&(t[s].selected=y),y&&c&&(t[s].defaultSelected=!0)}else{for(s=""+Rn(s),i=null,y=0;y<t.length;y++){if(t[y].value===s){t[y].selected=!0,c&&(t[y].defaultSelected=!0);return}i!==null||t[y].disabled||(i=t[y])}i!==null&&(i.selected=!0)}}a(Ao,"updateOptions");function ag(t,i,s){if(i!=null&&(i=""+Rn(i),i!==t.value&&(t.value=i),s==null)){t.defaultValue!==i&&(t.defaultValue=i);return}t.defaultValue=s!=null?""+Rn(s):""}a(ag,"updateTextarea");function lg(t,i,s,c){if(i==null){if(c!=null){if(s!=null)throw Error(o(92));if(oe(c)){if(1<c.length)throw Error(o(93));c=c[0]}s=c}s==null&&(s=""),i=s}s=Rn(i),t.defaultValue=s,c=t.textContent,c===s&&c!==""&&c!==null&&(t.value=c),Nf(t)}a(lg,"initTextarea");function _o(t,i){if(i){var s=t.firstChild;if(s&&s===t.lastChild&&s.nodeType===3){s.nodeValue=i;return}}t.textContent=i}a(_o,"setTextContent");var RO=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function sg(t,i,s){var c=i.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?c?t.setProperty(i,""):i==="float"?t.cssFloat="":t[i]="":c?t.setProperty(i,s):typeof s!="number"||s===0||RO.has(i)?i==="float"?t.cssFloat=s:t[i]=(""+s).trim():t[i]=s+"px"}a(sg,"setValueForStyle");function ug(t,i,s){if(i!=null&&typeof i!="object")throw Error(o(62));if(t=t.style,s!=null){for(var c in s)!s.hasOwnProperty(c)||i!=null&&i.hasOwnProperty(c)||(c.indexOf("--")===0?t.setProperty(c,""):c==="float"?t.cssFloat="":t[c]="");for(var y in i)c=i[y],i.hasOwnProperty(y)&&s[y]!==c&&sg(t,y,c)}else for(var v in i)i.hasOwnProperty(v)&&sg(t,v,i[v])}a(ug,"setValueForStyles");function Pf(t){if(t.indexOf("-")===-1)return!1;switch(t){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}}a(Pf,"isCustomElement");var OO=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),AO=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Bs(t){return AO.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}a(Bs,"sanitizeURL");function _r(){}a(_r,"noop$1");var Lf=null;function zf(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}a(zf,"getEventTarget");var Mo=null,No=null;function cg(t){var i=To(t);if(i&&(t=i.stateNode)){var s=t[en]||null;e:switch(t=i.stateNode,i.type){case"input":if(kf(t,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),i=s.name,s.type==="radio"&&i!=null){for(s=t;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+On(""+i)+'"][type="radio"]'),i=0;i<s.length;i++){var c=s[i];if(c!==t&&c.form===t.form){var y=c[en]||null;if(!y)throw Error(o(90));kf(c,y.value,y.defaultValue,y.defaultValue,y.checked,y.defaultChecked,y.type,y.name)}}for(i=0;i<s.length;i++)c=s[i],c.form===t.form&&ig(c)}break e;case"textarea":ag(t,s.value,s.defaultValue);break e;case"select":i=s.value,i!=null&&Ao(t,!!s.multiple,i,!1)}}}a(cg,"restoreStateOfTarget");var jf=!1;function fg(t,i,s){if(jf)return t(i,s);jf=!0;try{var c=t(i);return c}finally{if(jf=!1,(Mo!==null||No!==null)&&(Ru(),Mo&&(i=Mo,t=No,No=Mo=null,cg(i),t)))for(i=0;i<t.length;i++)cg(t[i])}}a(fg,"batchedUpdates$1");function Ya(t,i){var s=t.stateNode;if(s===null)return null;var c=s[en]||null;if(c===null)return null;s=c[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(t=t.type,c=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!c;break e;default:t=!1}if(t)return null;if(s&&typeof s!="function")throw Error(o(231,i,typeof s));return s}a(Ya,"getListener");var Mr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),If=!1;if(Mr)try{var Qa={};Object.defineProperty(Qa,"passive",{get:a(function(){If=!0},"get")}),window.addEventListener("test",Qa,Qa),window.removeEventListener("test",Qa,Qa)}catch{If=!1}var ri=null,Bf=null,Hs=null;function dg(){if(Hs)return Hs;var t,i=Bf,s=i.length,c,y="value"in ri?ri.value:ri.textContent,v=y.length;for(t=0;t<s&&i[t]===y[t];t++);var C=s-t;for(c=1;c<=C&&i[s-c]===y[v-c];c++);return Hs=y.slice(t,1<c?1-c:void 0)}a(dg,"getData");function Us(t){var i=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&i===13&&(t=13)):t=i,t===10&&(t=13),32<=t||t===13?t:0}a(Us,"getEventCharCode");function Fs(){return!0}a(Fs,"functionThatReturnsTrue");function pg(){return!1}a(pg,"functionThatReturnsFalse");function tn(t){function i(s,c,y,v,C){this._reactName=s,this._targetInst=y,this.type=c,this.nativeEvent=v,this.target=C,this.currentTarget=null;for(var _ in t)t.hasOwnProperty(_)&&(s=t[_],this[_]=s?s(v):v[_]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?Fs:pg,this.isPropagationStopped=pg,this}return a(i,"SyntheticBaseEvent"),g(i.prototype,{preventDefault:a(function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Fs)},"preventDefault"),stopPropagation:a(function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Fs)},"stopPropagation"),persist:a(function(){},"persist"),isPersistent:Fs}),i}a(tn,"createSyntheticEvent");var Ui={eventPhase:0,bubbles:0,cancelable:0,timeStamp:a(function(t){return t.timeStamp||Date.now()},"timeStamp"),defaultPrevented:0,isTrusted:0},qs=tn(Ui),Ka=g({},Ui,{view:0,detail:0}),_O=tn(Ka),Hf,Uf,Xa,$s=g({},Ka,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qf,button:0,buttons:0,relatedTarget:a(function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},"relatedTarget"),movementX:a(function(t){return"movementX"in t?t.movementX:(t!==Xa&&(Xa&&t.type==="mousemove"?(Hf=t.screenX-Xa.screenX,Uf=t.screenY-Xa.screenY):Uf=Hf=0,Xa=t),Hf)},"movementX"),movementY:a(function(t){return"movementY"in t?t.movementY:Uf},"movementY")}),hg=tn($s),MO=g({},$s,{dataTransfer:0}),NO=tn(MO),kO=g({},Ka,{relatedTarget:0}),Ff=tn(kO),DO=g({},Ui,{animationName:0,elapsedTime:0,pseudoElement:0}),PO=tn(DO),LO=g({},Ui,{clipboardData:a(function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData},"clipboardData")}),zO=tn(LO),jO=g({},Ui,{data:0}),mg=tn(jO),IO={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},BO={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"},HO={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function UO(t){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(t):(t=HO[t])?!!i[t]:!1}a(UO,"modifierStateGetter");function qf(){return UO}a(qf,"getEventModifierState");var FO=g({},Ka,{key:a(function(t){if(t.key){var i=IO[t.key]||t.key;if(i!=="Unidentified")return i}return t.type==="keypress"?(t=Us(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?BO[t.keyCode]||"Unidentified":""},"key"),code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qf,charCode:a(function(t){return t.type==="keypress"?Us(t):0},"charCode"),keyCode:a(function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},"keyCode"),which:a(function(t){return t.type==="keypress"?Us(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0},"which")}),qO=tn(FO),$O=g({},$s,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yg=tn($O),VO=g({},Ka,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qf}),GO=tn(VO),YO=g({},Ui,{propertyName:0,elapsedTime:0,pseudoElement:0}),QO=tn(YO),KO=g({},$s,{deltaX:a(function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},"deltaX"),deltaY:a(function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},"deltaY"),deltaZ:0,deltaMode:0}),XO=tn(KO),WO=g({},Ui,{newState:0,oldState:0}),ZO=tn(WO),JO=[9,13,27,32],$f=Mr&&"CompositionEvent"in window,Wa=null;Mr&&"documentMode"in document&&(Wa=document.documentMode);var eA=Mr&&"TextEvent"in window&&!Wa,gg=Mr&&(!$f||Wa&&8<Wa&&11>=Wa),vg=" ",bg=!1;function Sg(t,i){switch(t){case"keyup":return JO.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}a(Sg,"isFallbackCompositionEnd");function xg(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}a(xg,"getDataFromCustomEvent");var ko=!1;function tA(t,i){switch(t){case"compositionend":return xg(i);case"keypress":return i.which!==32?null:(bg=!0,vg);case"textInput":return t=i.data,t===vg&&bg?null:t;default:return null}}a(tA,"getNativeBeforeInputChars");function nA(t,i){if(ko)return t==="compositionend"||!$f&&Sg(t,i)?(t=dg(),Hs=Bf=ri=null,ko=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return gg&&i.locale!=="ko"?null:i.data;default:return null}}a(nA,"getFallbackBeforeInputChars");var rA={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 wg(t){var i=t&&t.nodeName&&t.nodeName.toLowerCase();return i==="input"?!!rA[t.type]:i==="textarea"}a(wg,"isTextInputElement");function Eg(t,i,s,c){Mo?No?No.push(c):No=[c]:Mo=c,i=Du(i,"onChange"),0<i.length&&(s=new qs("onChange","change",null,s,c),t.push({event:s,listeners:i}))}a(Eg,"createAndAccumulateChangeEvent");var Za=null,Ja=null;function iA(t){o0(t,0)}a(iA,"runEventInBatch");function Vs(t){var i=Ga(t);if(ig(i))return t}a(Vs,"getInstIfValueChanged");function Cg(t,i){if(t==="change")return i}a(Cg,"getTargetInstForChangeEvent");var Tg=!1;if(Mr){var Vf;if(Mr){var Gf="oninput"in document;if(!Gf){var Rg=document.createElement("div");Rg.setAttribute("oninput","return;"),Gf=typeof Rg.oninput=="function"}Vf=Gf}else Vf=!1;Tg=Vf&&(!document.documentMode||9<document.documentMode)}function Og(){Za&&(Za.detachEvent("onpropertychange",Ag),Ja=Za=null)}a(Og,"stopWatchingForValueChange");function Ag(t){if(t.propertyName==="value"&&Vs(Ja)){var i=[];Eg(i,Ja,t,zf(t)),fg(iA,i)}}a(Ag,"handlePropertyChange");function oA(t,i,s){t==="focusin"?(Og(),Za=i,Ja=s,Za.attachEvent("onpropertychange",Ag)):t==="focusout"&&Og()}a(oA,"handleEventsForInputEventPolyfill");function aA(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Vs(Ja)}a(aA,"getTargetInstForInputEventPolyfill");function lA(t,i){if(t==="click")return Vs(i)}a(lA,"getTargetInstForClickEvent");function sA(t,i){if(t==="input"||t==="change")return Vs(i)}a(sA,"getTargetInstForInputOrChangeEvent");function uA(t,i){return t===i&&(t!==0||1/t===1/i)||t!==t&&i!==i}a(uA,"is");var pn=typeof Object.is=="function"?Object.is:uA;function el(t,i){if(pn(t,i))return!0;if(typeof t!="object"||t===null||typeof i!="object"||i===null)return!1;var s=Object.keys(t),c=Object.keys(i);if(s.length!==c.length)return!1;for(c=0;c<s.length;c++){var y=s[c];if(!Rr.call(i,y)||!pn(t[y],i[y]))return!1}return!0}a(el,"shallowEqual");function _g(t){for(;t&&t.firstChild;)t=t.firstChild;return t}a(_g,"getLeafNode");function Mg(t,i){var s=_g(t);t=0;for(var c;s;){if(s.nodeType===3){if(c=t+s.textContent.length,t<=i&&c>=i)return{node:s,offset:i-t};t=c}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=_g(s)}}a(Mg,"getNodeForCharacterOffset");function Ng(t,i){return t&&i?t===i?!0:t&&t.nodeType===3?!1:i&&i.nodeType===3?Ng(t,i.parentNode):"contains"in t?t.contains(i):t.compareDocumentPosition?!!(t.compareDocumentPosition(i)&16):!1:!1}a(Ng,"containsNode");function kg(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var i=Is(t.document);i instanceof t.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)t=i.contentWindow;else break;i=Is(t.document)}return i}a(kg,"getActiveElementDeep");function Yf(t){var i=t&&t.nodeName&&t.nodeName.toLowerCase();return i&&(i==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||i==="textarea"||t.contentEditable==="true")}a(Yf,"hasSelectionCapabilities");var cA=Mr&&"documentMode"in document&&11>=document.documentMode,Do=null,Qf=null,tl=null,Kf=!1;function Dg(t,i,s){var c=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Kf||Do==null||Do!==Is(c)||(c=Do,"selectionStart"in c&&Yf(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),tl&&el(tl,c)||(tl=c,c=Du(Qf,"onSelect"),0<c.length&&(i=new qs("onSelect","select",null,i,s),t.push({event:i,listeners:c}),i.target=Do)))}a(Dg,"constructSelectEvent");function Fi(t,i){var s={};return s[t.toLowerCase()]=i.toLowerCase(),s["Webkit"+t]="webkit"+i,s["Moz"+t]="moz"+i,s}a(Fi,"makePrefixMap");var Po={animationend:Fi("Animation","AnimationEnd"),animationiteration:Fi("Animation","AnimationIteration"),animationstart:Fi("Animation","AnimationStart"),transitionrun:Fi("Transition","TransitionRun"),transitionstart:Fi("Transition","TransitionStart"),transitioncancel:Fi("Transition","TransitionCancel"),transitionend:Fi("Transition","TransitionEnd")},Xf={},Pg={};Mr&&(Pg=document.createElement("div").style,"AnimationEvent"in window||(delete Po.animationend.animation,delete Po.animationiteration.animation,delete Po.animationstart.animation),"TransitionEvent"in window||delete Po.transitionend.transition);function qi(t){if(Xf[t])return Xf[t];if(!Po[t])return t;var i=Po[t],s;for(s in i)if(i.hasOwnProperty(s)&&s in Pg)return Xf[t]=i[s];return t}a(qi,"getVendorPrefixedEventName");var Lg=qi("animationend"),zg=qi("animationiteration"),jg=qi("animationstart"),fA=qi("transitionrun"),dA=qi("transitionstart"),pA=qi("transitioncancel"),Ig=qi("transitionend"),Bg=new Map,Wf="abort auxClick beforeToggle 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(" ");Wf.push("scrollEnd");function $n(t,i){Bg.set(t,i),Hi(i,[t])}a($n,"registerSimpleEvent");var Gs=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},An=[],Lo=0,Zf=0;function Ys(){for(var t=Lo,i=Zf=Lo=0;i<t;){var s=An[i];An[i++]=null;var c=An[i];An[i++]=null;var y=An[i];An[i++]=null;var v=An[i];if(An[i++]=null,c!==null&&y!==null){var C=c.pending;C===null?y.next=y:(y.next=C.next,C.next=y),c.pending=y}v!==0&&Hg(s,y,v)}}a(Ys,"finishQueueingConcurrentUpdates");function Qs(t,i,s,c){An[Lo++]=t,An[Lo++]=i,An[Lo++]=s,An[Lo++]=c,Zf|=c,t.lanes|=c,t=t.alternate,t!==null&&(t.lanes|=c)}a(Qs,"enqueueUpdate$1");function Jf(t,i,s,c){return Qs(t,i,s,c),Ks(t)}a(Jf,"enqueueConcurrentHookUpdate");function $i(t,i){return Qs(t,null,null,i),Ks(t)}a($i,"enqueueConcurrentRenderForLane");function Hg(t,i,s){t.lanes|=s;var c=t.alternate;c!==null&&(c.lanes|=s);for(var y=!1,v=t.return;v!==null;)v.childLanes|=s,c=v.alternate,c!==null&&(c.childLanes|=s),v.tag===22&&(t=v.stateNode,t===null||t._visibility&1||(y=!0)),t=v,v=v.return;return t.tag===3?(v=t.stateNode,y&&i!==null&&(y=31-st(s),t=v.hiddenUpdates,c=t[y],c===null?t[y]=[i]:c.push(i),i.lane=s|536870912),v):null}a(Hg,"markUpdateLaneFromFiberToRoot");function Ks(t){if(50<El)throw El=0,sp=null,Error(o(185));for(var i=t.return;i!==null;)t=i,i=t.return;return t.tag===3?t.stateNode:null}a(Ks,"getRootForUpdatedFiber");var zo={};function hA(t,i,s,c){this.tag=t,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}a(hA,"FiberNode");function hn(t,i,s,c){return new hA(t,i,s,c)}a(hn,"createFiberImplClass");function ed(t){return t=t.prototype,!(!t||!t.isReactComponent)}a(ed,"shouldConstruct");function Nr(t,i){var s=t.alternate;return s===null?(s=hn(t.tag,i,t.key,t.mode),s.elementType=t.elementType,s.type=t.type,s.stateNode=t.stateNode,s.alternate=t,t.alternate=s):(s.pendingProps=i,s.type=t.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=t.flags&65011712,s.childLanes=t.childLanes,s.lanes=t.lanes,s.child=t.child,s.memoizedProps=t.memoizedProps,s.memoizedState=t.memoizedState,s.updateQueue=t.updateQueue,i=t.dependencies,s.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},s.sibling=t.sibling,s.index=t.index,s.ref=t.ref,s.refCleanup=t.refCleanup,s}a(Nr,"createWorkInProgress");function Ug(t,i){t.flags&=65011714;var s=t.alternate;return s===null?(t.childLanes=0,t.lanes=i,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=s.childLanes,t.lanes=s.lanes,t.child=s.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=s.memoizedProps,t.memoizedState=s.memoizedState,t.updateQueue=s.updateQueue,t.type=s.type,i=s.dependencies,t.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),t}a(Ug,"resetWorkInProgress");function Xs(t,i,s,c,y,v){var C=0;if(c=t,typeof t=="function")ed(t)&&(C=1);else if(typeof t=="string")C=b_(t,s,J.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case K:return t=hn(31,s,i,y),t.elementType=K,t.lanes=v,t;case w:return Vi(s.children,y,v,i);case R:C=8,y|=24;break;case T:return t=hn(12,s,i,y|2),t.elementType=T,t.lanes=v,t;case B:return t=hn(13,s,i,y),t.elementType=B,t.lanes=v,t;case D:return t=hn(19,s,i,y),t.elementType=D,t.lanes=v,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case M:C=10;break e;case O:C=9;break e;case L:C=11;break e;case P:C=14;break e;case Y:C=16,c=null;break e}C=29,s=Error(o(130,t===null?"null":typeof t,"")),c=null}return i=hn(C,s,i,y),i.elementType=t,i.type=c,i.lanes=v,i}a(Xs,"createFiberFromTypeAndProps");function Vi(t,i,s,c){return t=hn(7,t,c,i),t.lanes=s,t}a(Vi,"createFiberFromFragment");function td(t,i,s){return t=hn(6,t,null,i),t.lanes=s,t}a(td,"createFiberFromText");function Fg(t){var i=hn(18,null,null,0);return i.stateNode=t,i}a(Fg,"createFiberFromDehydratedFragment");function nd(t,i,s){return i=hn(4,t.children!==null?t.children:[],t.key,i),i.lanes=s,i.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},i}a(nd,"createFiberFromPortal");var qg=new WeakMap;function _n(t,i){if(typeof t=="object"&&t!==null){var s=qg.get(t);return s!==void 0?s:(i={value:t,source:i,stack:Mt(i)},qg.set(t,i),i)}return{value:t,source:i,stack:Mt(i)}}a(_n,"createCapturedValueAtFiber");var jo=[],Io=0,Ws=null,nl=0,Mn=[],Nn=0,ii=null,ir=1,or="";function kr(t,i){jo[Io++]=nl,jo[Io++]=Ws,Ws=t,nl=i}a(kr,"pushTreeFork");function $g(t,i,s){Mn[Nn++]=ir,Mn[Nn++]=or,Mn[Nn++]=ii,ii=t;var c=ir;t=or;var y=32-st(c)-1;c&=~(1<<y),s+=1;var v=32-st(i)+y;if(30<v){var C=y-y%5;v=(c&(1<<C)-1).toString(32),c>>=C,y-=C,ir=1<<32-st(i)+y|s<<y|c,or=v+t}else ir=1<<v|s<<y|c,or=t}a($g,"pushTreeId");function rd(t){t.return!==null&&(kr(t,1),$g(t,1,0))}a(rd,"pushMaterializedTreeId");function id(t){for(;t===Ws;)Ws=jo[--Io],jo[Io]=null,nl=jo[--Io],jo[Io]=null;for(;t===ii;)ii=Mn[--Nn],Mn[Nn]=null,or=Mn[--Nn],Mn[Nn]=null,ir=Mn[--Nn],Mn[Nn]=null}a(id,"popTreeContext");function Vg(t,i){Mn[Nn++]=ir,Mn[Nn++]=or,Mn[Nn++]=ii,ir=i.id,or=i.overflow,ii=t}a(Vg,"restoreSuspendedTreeContext");var zt=null,dt=null,Qe=!1,oi=null,kn=!1,od=Error(o(519));function ai(t){var i=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw rl(_n(i,t)),od}a(ai,"throwOnHydrationMismatch");function Gg(t){var i=t.stateNode,s=t.type,c=t.memoizedProps;switch(i[Lt]=t,i[en]=c,s){case"dialog":$e("cancel",i),$e("close",i);break;case"iframe":case"object":case"embed":$e("load",i);break;case"video":case"audio":for(s=0;s<Tl.length;s++)$e(Tl[s],i);break;case"source":$e("error",i);break;case"img":case"image":case"link":$e("error",i),$e("load",i);break;case"details":$e("toggle",i);break;case"input":$e("invalid",i),og(i,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":$e("invalid",i);break;case"textarea":$e("invalid",i),lg(i,c.value,c.defaultValue,c.children)}s=c.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||i.textContent===""+s||c.suppressHydrationWarning===!0||u0(i.textContent,s)?(c.popover!=null&&($e("beforetoggle",i),$e("toggle",i)),c.onScroll!=null&&$e("scroll",i),c.onScrollEnd!=null&&$e("scrollend",i),c.onClick!=null&&(i.onclick=_r),i=!0):i=!1,i||ai(t,!0)}a(Gg,"prepareToHydrateHostInstance");function Yg(t){for(zt=t.return;zt;)switch(zt.tag){case 5:case 31:case 13:kn=!1;return;case 27:case 3:kn=!0;return;default:zt=zt.return}}a(Yg,"popToNextHostParent");function Bo(t){if(t!==zt)return!1;if(!Qe)return Yg(t),Qe=!0,!1;var i=t.tag,s;if((s=i!==3&&i!==27)&&((s=i===5)&&(s=t.type,s=!(s!=="form"&&s!=="button")||Ep(t.type,t.memoizedProps)),s=!s),s&&dt&&ai(t),Yg(t),i===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));dt=v0(t)}else if(i===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));dt=v0(t)}else i===27?(i=dt,Si(t.type)?(t=Ap,Ap=null,dt=t):dt=i):dt=zt?Pn(t.stateNode.nextSibling):null;return!0}a(Bo,"popHydrationState");function Gi(){dt=zt=null,Qe=!1}a(Gi,"resetHydrationState");function ad(){var t=oi;return t!==null&&(an===null?an=t:an.push.apply(an,t),oi=null),t}a(ad,"upgradeHydrationErrorsToRecoverable");function rl(t){oi===null?oi=[t]:oi.push(t)}a(rl,"queueHydrationError");var ld=z(null),Yi=null,Dr=null;function li(t,i,s){A(ld,i._currentValue),i._currentValue=s}a(li,"pushProvider");function Pr(t){t._currentValue=ld.current,Q(ld)}a(Pr,"popProvider");function sd(t,i,s){for(;t!==null;){var c=t.alternate;if((t.childLanes&i)!==i?(t.childLanes|=i,c!==null&&(c.childLanes|=i)):c!==null&&(c.childLanes&i)!==i&&(c.childLanes|=i),t===s)break;t=t.return}}a(sd,"scheduleContextWorkOnParentPath");function ud(t,i,s,c){var y=t.child;for(y!==null&&(y.return=t);y!==null;){var v=y.dependencies;if(v!==null){var C=y.child;v=v.firstContext;e:for(;v!==null;){var _=v;v=y;for(var j=0;j<i.length;j++)if(_.context===i[j]){v.lanes|=s,_=v.alternate,_!==null&&(_.lanes|=s),sd(v.return,s,t),c||(C=null);break e}v=_.next}}else if(y.tag===18){if(C=y.return,C===null)throw Error(o(341));C.lanes|=s,v=C.alternate,v!==null&&(v.lanes|=s),sd(C,s,t),C=null}else C=y.child;if(C!==null)C.return=y;else for(C=y;C!==null;){if(C===t){C=null;break}if(y=C.sibling,y!==null){y.return=C.return,C=y;break}C=C.return}y=C}}a(ud,"propagateContextChanges");function Ho(t,i,s,c){t=null;for(var y=i,v=!1;y!==null;){if(!v){if((y.flags&524288)!==0)v=!0;else if((y.flags&262144)!==0)break}if(y.tag===10){var C=y.alternate;if(C===null)throw Error(o(387));if(C=C.memoizedProps,C!==null){var _=y.type;pn(y.pendingProps.value,C.value)||(t!==null?t.push(_):t=[_])}}else if(y===V.current){if(C=y.alternate,C===null)throw Error(o(387));C.memoizedState.memoizedState!==y.memoizedState.memoizedState&&(t!==null?t.push(Ml):t=[Ml])}y=y.return}t!==null&&ud(i,t,s,c),i.flags|=262144}a(Ho,"propagateParentContextChanges");function Zs(t){for(t=t.firstContext;t!==null;){if(!pn(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}a(Zs,"checkIfContextChanged");function Qi(t){Yi=t,Dr=null,t=t.dependencies,t!==null&&(t.firstContext=null)}a(Qi,"prepareToReadContext");function jt(t){return Qg(Yi,t)}a(jt,"readContext");function Js(t,i){return Yi===null&&Qi(t),Qg(t,i)}a(Js,"readContextDuringReconciliation");function Qg(t,i){var s=i._currentValue;if(i={context:i,memoizedValue:s,next:null},Dr===null){if(t===null)throw Error(o(308));Dr=i,t.dependencies={lanes:0,firstContext:i},t.flags|=524288}else Dr=Dr.next=i;return s}a(Qg,"readContextForConsumer");var mA=typeof AbortController<"u"?AbortController:function(){var t=[],i=this.signal={aborted:!1,addEventListener:a(function(s,c){t.push(c)},"addEventListener")};this.abort=function(){i.aborted=!0,t.forEach(function(s){return s()})}},yA=e.unstable_scheduleCallback,gA=e.unstable_NormalPriority,Tt={$$typeof:M,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function cd(){return{controller:new mA,data:new Map,refCount:0}}a(cd,"createCache");function il(t){t.refCount--,t.refCount===0&&yA(gA,function(){t.controller.abort()})}a(il,"releaseCache");var ol=null,fd=0,Uo=0,Fo=null;function vA(t,i){if(ol===null){var s=ol=[];fd=0,Uo=hp(),Fo={status:"pending",value:void 0,then:a(function(c){s.push(c)},"then")}}return fd++,i.then(Kg,Kg),i}a(vA,"entangleAsyncAction");function Kg(){if(--fd===0&&ol!==null){Fo!==null&&(Fo.status="fulfilled");var t=ol;ol=null,Uo=0,Fo=null;for(var i=0;i<t.length;i++)(0,t[i])()}}a(Kg,"pingEngtangledActionScope");function bA(t,i){var s=[],c={status:"pending",value:null,reason:null,then:a(function(y){s.push(y)},"then")};return t.then(function(){c.status="fulfilled",c.value=i;for(var y=0;y<s.length;y++)(0,s[y])(i)},function(y){for(c.status="rejected",c.reason=y,y=0;y<s.length;y++)(0,s[y])(void 0)}),c}a(bA,"chainThenableValue");var Xg=I.S;I.S=function(t,i){Db=Yt(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&vA(t,i),Xg!==null&&Xg(t,i)};var Ki=z(null);function dd(){var t=Ki.current;return t!==null?t:ut.pooledCache}a(dd,"peekCacheFromPool");function eu(t,i){i===null?A(Ki,Ki.current):A(Ki,i.pool)}a(eu,"pushTransition");function Wg(){var t=dd();return t===null?null:{parent:Tt._currentValue,pool:t}}a(Wg,"getSuspendedCache");var qo=Error(o(460)),pd=Error(o(474)),tu=Error(o(542)),nu={then:a(function(){},"then")};function Zg(t){return t=t.status,t==="fulfilled"||t==="rejected"}a(Zg,"isThenableResolved");function Jg(t,i,s){switch(s=t[s],s===void 0?t.push(i):s!==i&&(i.then(_r,_r),i=s),i.status){case"fulfilled":return i.value;case"rejected":throw t=i.reason,tv(t),t;default:if(typeof i.status=="string")i.then(_r,_r);else{if(t=ut,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=i,t.status="pending",t.then(function(c){if(i.status==="pending"){var y=i;y.status="fulfilled",y.value=c}},function(c){if(i.status==="pending"){var y=i;y.status="rejected",y.reason=c}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw t=i.reason,tv(t),t}throw Wi=i,qo}}a(Jg,"trackUsedThenable");function Xi(t){try{var i=t._init;return i(t._payload)}catch(s){throw s!==null&&typeof s=="object"&&typeof s.then=="function"?(Wi=s,qo):s}}a(Xi,"resolveLazy");var Wi=null;function ev(){if(Wi===null)throw Error(o(459));var t=Wi;return Wi=null,t}a(ev,"getSuspendedThenable");function tv(t){if(t===qo||t===tu)throw Error(o(483))}a(tv,"checkIfUseWrappedInAsyncCatch");var $o=null,al=0;function ru(t){var i=al;return al+=1,$o===null&&($o=[]),Jg($o,t,i)}a(ru,"unwrapThenable");function ll(t,i){i=i.props.ref,t.ref=i!==void 0?i:null}a(ll,"coerceRef");function iu(t,i){throw i.$$typeof===b?Error(o(525)):(t=Object.prototype.toString.call(i),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":t)))}a(iu,"throwOnInvalidObjectTypeImpl");function nv(t){function i(U,H){if(t){var q=U.deletions;q===null?(U.deletions=[H],U.flags|=16):q.push(H)}}a(i,"deleteChild");function s(U,H){if(!t)return null;for(;H!==null;)i(U,H),H=H.sibling;return null}a(s,"deleteRemainingChildren");function c(U){for(var H=new Map;U!==null;)U.key!==null?H.set(U.key,U):H.set(U.index,U),U=U.sibling;return H}a(c,"mapRemainingChildren");function y(U,H){return U=Nr(U,H),U.index=0,U.sibling=null,U}a(y,"useFiber");function v(U,H,q){return U.index=q,t?(q=U.alternate,q!==null?(q=q.index,q<H?(U.flags|=67108866,H):q):(U.flags|=67108866,H)):(U.flags|=1048576,H)}a(v,"placeChild");function C(U){return t&&U.alternate===null&&(U.flags|=67108866),U}a(C,"placeSingleChild");function _(U,H,q,le){return H===null||H.tag!==6?(H=td(q,U.mode,le),H.return=U,H):(H=y(H,q),H.return=U,H)}a(_,"updateTextNode");function j(U,H,q,le){var Oe=q.type;return Oe===w?ne(U,H,q.props.children,le,q.key):H!==null&&(H.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===Y&&Xi(Oe)===H.type)?(H=y(H,q.props),ll(H,q),H.return=U,H):(H=Xs(q.type,q.key,q.props,null,U.mode,le),ll(H,q),H.return=U,H)}a(j,"updateElement");function $(U,H,q,le){return H===null||H.tag!==4||H.stateNode.containerInfo!==q.containerInfo||H.stateNode.implementation!==q.implementation?(H=nd(q,U.mode,le),H.return=U,H):(H=y(H,q.children||[]),H.return=U,H)}a($,"updatePortal");function ne(U,H,q,le,Oe){return H===null||H.tag!==7?(H=Vi(q,U.mode,le,Oe),H.return=U,H):(H=y(H,q),H.return=U,H)}a(ne,"updateFragment");function ue(U,H,q){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=td(""+H,U.mode,q),H.return=U,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case S:return q=Xs(H.type,H.key,H.props,null,U.mode,q),ll(q,H),q.return=U,q;case E:return H=nd(H,U.mode,q),H.return=U,H;case Y:return H=Xi(H),ue(U,H,q)}if(oe(H)||ee(H))return H=Vi(H,U.mode,q,null),H.return=U,H;if(typeof H.then=="function")return ue(U,ru(H),q);if(H.$$typeof===M)return ue(U,Js(U,H),q);iu(U,H)}return null}a(ue,"createChild");function G(U,H,q,le){var Oe=H!==null?H.key:null;if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return Oe!==null?null:_(U,H,""+q,le);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case S:return q.key===Oe?j(U,H,q,le):null;case E:return q.key===Oe?$(U,H,q,le):null;case Y:return q=Xi(q),G(U,H,q,le)}if(oe(q)||ee(q))return Oe!==null?null:ne(U,H,q,le,null);if(typeof q.then=="function")return G(U,H,ru(q),le);if(q.$$typeof===M)return G(U,H,Js(U,q),le);iu(U,q)}return null}a(G,"updateSlot");function X(U,H,q,le,Oe){if(typeof le=="string"&&le!==""||typeof le=="number"||typeof le=="bigint")return U=U.get(q)||null,_(H,U,""+le,Oe);if(typeof le=="object"&&le!==null){switch(le.$$typeof){case S:return U=U.get(le.key===null?q:le.key)||null,j(H,U,le,Oe);case E:return U=U.get(le.key===null?q:le.key)||null,$(H,U,le,Oe);case Y:return le=Xi(le),X(U,H,q,le,Oe)}if(oe(le)||ee(le))return U=U.get(q)||null,ne(H,U,le,Oe,null);if(typeof le.then=="function")return X(U,H,q,ru(le),Oe);if(le.$$typeof===M)return X(U,H,q,Js(H,le),Oe);iu(H,le)}return null}a(X,"updateFromMap");function xe(U,H,q,le){for(var Oe=null,Xe=null,Ce=H,je=H=0,Ge=null;Ce!==null&&je<q.length;je++){Ce.index>je?(Ge=Ce,Ce=null):Ge=Ce.sibling;var We=G(U,Ce,q[je],le);if(We===null){Ce===null&&(Ce=Ge);break}t&&Ce&&We.alternate===null&&i(U,Ce),H=v(We,H,je),Xe===null?Oe=We:Xe.sibling=We,Xe=We,Ce=Ge}if(je===q.length)return s(U,Ce),Qe&&kr(U,je),Oe;if(Ce===null){for(;je<q.length;je++)Ce=ue(U,q[je],le),Ce!==null&&(H=v(Ce,H,je),Xe===null?Oe=Ce:Xe.sibling=Ce,Xe=Ce);return Qe&&kr(U,je),Oe}for(Ce=c(Ce);je<q.length;je++)Ge=X(Ce,U,je,q[je],le),Ge!==null&&(t&&Ge.alternate!==null&&Ce.delete(Ge.key===null?je:Ge.key),H=v(Ge,H,je),Xe===null?Oe=Ge:Xe.sibling=Ge,Xe=Ge);return t&&Ce.forEach(function(Ti){return i(U,Ti)}),Qe&&kr(U,je),Oe}a(xe,"reconcileChildrenArray");function Ae(U,H,q,le){if(q==null)throw Error(o(151));for(var Oe=null,Xe=null,Ce=H,je=H=0,Ge=null,We=q.next();Ce!==null&&!We.done;je++,We=q.next()){Ce.index>je?(Ge=Ce,Ce=null):Ge=Ce.sibling;var Ti=G(U,Ce,We.value,le);if(Ti===null){Ce===null&&(Ce=Ge);break}t&&Ce&&Ti.alternate===null&&i(U,Ce),H=v(Ti,H,je),Xe===null?Oe=Ti:Xe.sibling=Ti,Xe=Ti,Ce=Ge}if(We.done)return s(U,Ce),Qe&&kr(U,je),Oe;if(Ce===null){for(;!We.done;je++,We=q.next())We=ue(U,We.value,le),We!==null&&(H=v(We,H,je),Xe===null?Oe=We:Xe.sibling=We,Xe=We);return Qe&&kr(U,je),Oe}for(Ce=c(Ce);!We.done;je++,We=q.next())We=X(Ce,U,je,We.value,le),We!==null&&(t&&We.alternate!==null&&Ce.delete(We.key===null?je:We.key),H=v(We,H,je),Xe===null?Oe=We:Xe.sibling=We,Xe=We);return t&&Ce.forEach(function(M_){return i(U,M_)}),Qe&&kr(U,je),Oe}a(Ae,"reconcileChildrenIterator");function lt(U,H,q,le){if(typeof q=="object"&&q!==null&&q.type===w&&q.key===null&&(q=q.props.children),typeof q=="object"&&q!==null){switch(q.$$typeof){case S:e:{for(var Oe=q.key;H!==null;){if(H.key===Oe){if(Oe=q.type,Oe===w){if(H.tag===7){s(U,H.sibling),le=y(H,q.props.children),le.return=U,U=le;break e}}else if(H.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===Y&&Xi(Oe)===H.type){s(U,H.sibling),le=y(H,q.props),ll(le,q),le.return=U,U=le;break e}s(U,H);break}else i(U,H);H=H.sibling}q.type===w?(le=Vi(q.props.children,U.mode,le,q.key),le.return=U,U=le):(le=Xs(q.type,q.key,q.props,null,U.mode,le),ll(le,q),le.return=U,U=le)}return C(U);case E:e:{for(Oe=q.key;H!==null;){if(H.key===Oe)if(H.tag===4&&H.stateNode.containerInfo===q.containerInfo&&H.stateNode.implementation===q.implementation){s(U,H.sibling),le=y(H,q.children||[]),le.return=U,U=le;break e}else{s(U,H);break}else i(U,H);H=H.sibling}le=nd(q,U.mode,le),le.return=U,U=le}return C(U);case Y:return q=Xi(q),lt(U,H,q,le)}if(oe(q))return xe(U,H,q,le);if(ee(q)){if(Oe=ee(q),typeof Oe!="function")throw Error(o(150));return q=Oe.call(q),Ae(U,H,q,le)}if(typeof q.then=="function")return lt(U,H,ru(q),le);if(q.$$typeof===M)return lt(U,H,Js(U,q),le);iu(U,q)}return typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint"?(q=""+q,H!==null&&H.tag===6?(s(U,H.sibling),le=y(H,q),le.return=U,U=le):(s(U,H),le=td(q,U.mode,le),le.return=U,U=le),C(U)):s(U,H)}return a(lt,"reconcileChildFibersImpl"),function(U,H,q,le){try{al=0;var Oe=lt(U,H,q,le);return $o=null,Oe}catch(Ce){if(Ce===qo||Ce===tu)throw Ce;var Xe=hn(29,Ce,null,U.mode);return Xe.lanes=le,Xe.return=U,Xe}finally{}}}a(nv,"createChildReconciler");var Zi=nv(!0),rv=nv(!1),si=!1;function hd(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}a(hd,"initializeUpdateQueue");function md(t,i){t=t.updateQueue,i.updateQueue===t&&(i.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}a(md,"cloneUpdateQueue");function ui(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}a(ui,"createUpdate");function ci(t,i,s){var c=t.updateQueue;if(c===null)return null;if(c=c.shared,(Ze&2)!==0){var y=c.pending;return y===null?i.next=i:(i.next=y.next,y.next=i),c.pending=i,i=Ks(t),Hg(t,null,s),i}return Qs(t,c,i,s),Ks(t)}a(ci,"enqueueUpdate");function sl(t,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194048)!==0)){var c=i.lanes;c&=t.pendingLanes,s|=c,i.lanes=s,Qy(t,s)}}a(sl,"entangleTransitions");function yd(t,i){var s=t.updateQueue,c=t.alternate;if(c!==null&&(c=c.updateQueue,s===c)){var y=null,v=null;if(s=s.firstBaseUpdate,s!==null){do{var C={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};v===null?y=v=C:v=v.next=C,s=s.next}while(s!==null);v===null?y=v=i:v=v.next=i}else y=v=i;s={baseState:c.baseState,firstBaseUpdate:y,lastBaseUpdate:v,shared:c.shared,callbacks:c.callbacks},t.updateQueue=s;return}t=s.lastBaseUpdate,t===null?s.firstBaseUpdate=i:t.next=i,s.lastBaseUpdate=i}a(yd,"enqueueCapturedUpdate");var gd=!1;function ul(){if(gd){var t=Fo;if(t!==null)throw t}}a(ul,"suspendIfUpdateReadFromEntangledAsyncAction");function cl(t,i,s,c){gd=!1;var y=t.updateQueue;si=!1;var v=y.firstBaseUpdate,C=y.lastBaseUpdate,_=y.shared.pending;if(_!==null){y.shared.pending=null;var j=_,$=j.next;j.next=null,C===null?v=$:C.next=$,C=j;var ne=t.alternate;ne!==null&&(ne=ne.updateQueue,_=ne.lastBaseUpdate,_!==C&&(_===null?ne.firstBaseUpdate=$:_.next=$,ne.lastBaseUpdate=j))}if(v!==null){var ue=y.baseState;C=0,ne=$=j=null,_=v;do{var G=_.lane&-536870913,X=G!==_.lane;if(X?(Ve&G)===G:(c&G)===G){G!==0&&G===Uo&&(gd=!0),ne!==null&&(ne=ne.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});e:{var xe=t,Ae=_;G=i;var lt=s;switch(Ae.tag){case 1:if(xe=Ae.payload,typeof xe=="function"){ue=xe.call(lt,ue,G);break e}ue=xe;break e;case 3:xe.flags=xe.flags&-65537|128;case 0:if(xe=Ae.payload,G=typeof xe=="function"?xe.call(lt,ue,G):xe,G==null)break e;ue=g({},ue,G);break e;case 2:si=!0}}G=_.callback,G!==null&&(t.flags|=64,X&&(t.flags|=8192),X=y.callbacks,X===null?y.callbacks=[G]:X.push(G))}else X={lane:G,tag:_.tag,payload:_.payload,callback:_.callback,next:null},ne===null?($=ne=X,j=ue):ne=ne.next=X,C|=G;if(_=_.next,_===null){if(_=y.shared.pending,_===null)break;X=_,_=X.next,X.next=null,y.lastBaseUpdate=X,y.shared.pending=null}}while(!0);ne===null&&(j=ue),y.baseState=j,y.firstBaseUpdate=$,y.lastBaseUpdate=ne,v===null&&(y.shared.lanes=0),mi|=C,t.lanes=C,t.memoizedState=ue}}a(cl,"processUpdateQueue");function iv(t,i){if(typeof t!="function")throw Error(o(191,t));t.call(i)}a(iv,"callCallback");function ov(t,i){var s=t.callbacks;if(s!==null)for(t.callbacks=null,t=0;t<s.length;t++)iv(s[t],i)}a(ov,"commitCallbacks");var Vo=z(null),ou=z(0);function av(t,i){t=qr,A(ou,t),A(Vo,i),qr=t|i.baseLanes}a(av,"pushHiddenContext");function vd(){A(ou,qr),A(Vo,Vo.current)}a(vd,"reuseHiddenContextOnStack");function bd(){qr=ou.current,Q(Vo),Q(ou)}a(bd,"popHiddenContext");var mn=z(null),Dn=null;function fi(t){var i=t.alternate;A(Et,Et.current&1),A(mn,t),Dn===null&&(i===null||Vo.current!==null||i.memoizedState!==null)&&(Dn=t)}a(fi,"pushPrimaryTreeSuspenseHandler");function Sd(t){A(Et,Et.current),A(mn,t),Dn===null&&(Dn=t)}a(Sd,"pushDehydratedActivitySuspenseHandler");function lv(t){t.tag===22?(A(Et,Et.current),A(mn,t),Dn===null&&(Dn=t)):di()}a(lv,"pushOffscreenSuspenseHandler");function di(){A(Et,Et.current),A(mn,mn.current)}a(di,"reuseSuspenseHandlerOnStack");function yn(t){Q(mn),Dn===t&&(Dn=null),Q(Et)}a(yn,"popSuspenseHandler");var Et=z(0);function au(t){for(var i=t;i!==null;){if(i.tag===13){var s=i.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||Rp(s)||Op(s)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}a(au,"findFirstSuspended");var Lr=0,Le=null,ot=null,Rt=null,lu=!1,Go=!1,Ji=!1,su=0,fl=0,Yo=null,SA=0;function gt(){throw Error(o(321))}a(gt,"throwInvalidHookError");function xd(t,i){if(i===null)return!1;for(var s=0;s<i.length&&s<t.length;s++)if(!pn(t[s],i[s]))return!1;return!0}a(xd,"areHookInputsEqual");function wd(t,i,s,c,y,v){return Lr=v,Le=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,I.H=t===null||t.memoizedState===null?$v:jd,Ji=!1,v=s(c,y),Ji=!1,Go&&(v=uv(i,s,c,y)),sv(t),v}a(wd,"renderWithHooks");function sv(t){I.H=hl;var i=ot!==null&&ot.next!==null;if(Lr=0,Rt=ot=Le=null,lu=!1,fl=0,Yo=null,i)throw Error(o(300));t===null||Ot||(t=t.dependencies,t!==null&&Zs(t)&&(Ot=!0))}a(sv,"finishRenderingHooks");function uv(t,i,s,c){Le=t;var y=0;do{if(Go&&(Yo=null),fl=0,Go=!1,25<=y)throw Error(o(301));if(y+=1,Rt=ot=null,t.updateQueue!=null){var v=t.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}I.H=Vv,v=i(s,c)}while(Go);return v}a(uv,"renderWithHooksAgain");function xA(){var t=I.H,i=t.useState()[0];return i=typeof i.then=="function"?dl(i):i,t=t.useState()[0],(ot!==null?ot.memoizedState:null)!==t&&(Le.flags|=1024),i}a(xA,"TransitionAwareHostComponent");function Ed(){var t=su!==0;return su=0,t}a(Ed,"checkDidRenderIdHook");function Cd(t,i,s){i.updateQueue=t.updateQueue,i.flags&=-2053,t.lanes&=~s}a(Cd,"bailoutHooks");function Td(t){if(lu){for(t=t.memoizedState;t!==null;){var i=t.queue;i!==null&&(i.pending=null),t=t.next}lu=!1}Lr=0,Rt=ot=Le=null,Go=!1,fl=su=0,Yo=null}a(Td,"resetHooksOnUnwind");function Kt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Rt===null?Le.memoizedState=Rt=t:Rt=Rt.next=t,Rt}a(Kt,"mountWorkInProgressHook");function Ct(){if(ot===null){var t=Le.alternate;t=t!==null?t.memoizedState:null}else t=ot.next;var i=Rt===null?Le.memoizedState:Rt.next;if(i!==null)Rt=i,ot=t;else{if(t===null)throw Le.alternate===null?Error(o(467)):Error(o(310));ot=t,t={memoizedState:ot.memoizedState,baseState:ot.baseState,baseQueue:ot.baseQueue,queue:ot.queue,next:null},Rt===null?Le.memoizedState=Rt=t:Rt=Rt.next=t}return Rt}a(Ct,"updateWorkInProgressHook");function uu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}a(uu,"createFunctionComponentUpdateQueue");function dl(t){var i=fl;return fl+=1,Yo===null&&(Yo=[]),t=Jg(Yo,t,i),i=Le,(Rt===null?i.memoizedState:Rt.next)===null&&(i=i.alternate,I.H=i===null||i.memoizedState===null?$v:jd),t}a(dl,"useThenable");function cu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return dl(t);if(t.$$typeof===M)return jt(t)}throw Error(o(438,String(t)))}a(cu,"use");function Rd(t){var i=null,s=Le.updateQueue;if(s!==null&&(i=s.memoCache),i==null){var c=Le.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(i={data:c.data.map(function(y){return y.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),s===null&&(s=uu(),Le.updateQueue=s),s.memoCache=i,s=i.data[i.index],s===void 0)for(s=i.data[i.index]=Array(t),c=0;c<t;c++)s[c]=te;return i.index++,s}a(Rd,"useMemoCache");function zr(t,i){return typeof i=="function"?i(t):i}a(zr,"basicStateReducer");function fu(t){var i=Ct();return Od(i,ot,t)}a(fu,"updateReducer");function Od(t,i,s){var c=t.queue;if(c===null)throw Error(o(311));c.lastRenderedReducer=s;var y=t.baseQueue,v=c.pending;if(v!==null){if(y!==null){var C=y.next;y.next=v.next,v.next=C}i.baseQueue=y=v,c.pending=null}if(v=t.baseState,y===null)t.memoizedState=v;else{i=y.next;var _=C=null,j=null,$=i,ne=!1;do{var ue=$.lane&-536870913;if(ue!==$.lane?(Ve&ue)===ue:(Lr&ue)===ue){var G=$.revertLane;if(G===0)j!==null&&(j=j.next={lane:0,revertLane:0,gesture:null,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null}),ue===Uo&&(ne=!0);else if((Lr&G)===G){$=$.next,G===Uo&&(ne=!0);continue}else ue={lane:0,revertLane:$.revertLane,gesture:null,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null},j===null?(_=j=ue,C=v):j=j.next=ue,Le.lanes|=G,mi|=G;ue=$.action,Ji&&s(v,ue),v=$.hasEagerState?$.eagerState:s(v,ue)}else G={lane:ue,revertLane:$.revertLane,gesture:$.gesture,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null},j===null?(_=j=G,C=v):j=j.next=G,Le.lanes|=ue,mi|=ue;$=$.next}while($!==null&&$!==i);if(j===null?C=v:j.next=_,!pn(v,t.memoizedState)&&(Ot=!0,ne&&(s=Fo,s!==null)))throw s;t.memoizedState=v,t.baseState=C,t.baseQueue=j,c.lastRenderedState=v}return y===null&&(c.lanes=0),[t.memoizedState,c.dispatch]}a(Od,"updateReducerImpl");function Ad(t){var i=Ct(),s=i.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=t;var c=s.dispatch,y=s.pending,v=i.memoizedState;if(y!==null){s.pending=null;var C=y=y.next;do v=t(v,C.action),C=C.next;while(C!==y);pn(v,i.memoizedState)||(Ot=!0),i.memoizedState=v,i.baseQueue===null&&(i.baseState=v),s.lastRenderedState=v}return[v,c]}a(Ad,"rerenderReducer");function cv(t,i,s){var c=Le,y=Ct(),v=Qe;if(v){if(s===void 0)throw Error(o(407));s=s()}else s=i();var C=!pn((ot||y).memoizedState,s);if(C&&(y.memoizedState=s,Ot=!0),y=y.queue,Nd(pv.bind(null,c,y,t),[t]),y.getSnapshot!==i||C||Rt!==null&&Rt.memoizedState.tag&1){if(c.flags|=2048,Qo(9,{destroy:void 0},dv.bind(null,c,y,s,i),null),ut===null)throw Error(o(349));v||(Lr&127)!==0||fv(c,i,s)}return s}a(cv,"updateSyncExternalStore");function fv(t,i,s){t.flags|=16384,t={getSnapshot:i,value:s},i=Le.updateQueue,i===null?(i=uu(),Le.updateQueue=i,i.stores=[t]):(s=i.stores,s===null?i.stores=[t]:s.push(t))}a(fv,"pushStoreConsistencyCheck");function dv(t,i,s,c){i.value=s,i.getSnapshot=c,hv(i)&&mv(t)}a(dv,"updateStoreInstance");function pv(t,i,s){return s(function(){hv(i)&&mv(t)})}a(pv,"subscribeToStore");function hv(t){var i=t.getSnapshot;t=t.value;try{var s=i();return!pn(t,s)}catch{return!0}}a(hv,"checkIfSnapshotChanged");function mv(t){var i=$i(t,2);i!==null&&ln(i,t,2)}a(mv,"forceStoreRerender");function _d(t){var i=Kt();if(typeof t=="function"){var s=t;if(t=s(),Ji){Jt(!0);try{s()}finally{Jt(!1)}}}return i.memoizedState=i.baseState=t,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zr,lastRenderedState:t},i}a(_d,"mountStateImpl");function yv(t,i,s,c){return t.baseState=s,Od(t,ot,typeof c=="function"?c:zr)}a(yv,"updateOptimisticImpl");function wA(t,i,s,c,y){if(hu(t))throw Error(o(485));if(t=i.action,t!==null){var v={payload:y,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:a(function(C){v.listeners.push(C)},"then")};I.T!==null?s(!0):v.isTransition=!1,c(v),s=i.pending,s===null?(v.next=i.pending=v,gv(i,v)):(v.next=s.next,i.pending=s.next=v)}}a(wA,"dispatchActionState");function gv(t,i){var s=i.action,c=i.payload,y=t.state;if(i.isTransition){var v=I.T,C={};I.T=C;try{var _=s(y,c),j=I.S;j!==null&&j(C,_),vv(t,i,_)}catch($){Md(t,i,$)}finally{v!==null&&C.types!==null&&(v.types=C.types),I.T=v}}else try{v=s(y,c),vv(t,i,v)}catch($){Md(t,i,$)}}a(gv,"runActionStateAction");function vv(t,i,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(c){bv(t,i,c)},function(c){return Md(t,i,c)}):bv(t,i,s)}a(vv,"handleActionReturnValue");function bv(t,i,s){i.status="fulfilled",i.value=s,Sv(i),t.state=s,i=t.pending,i!==null&&(s=i.next,s===i?t.pending=null:(s=s.next,i.next=s,gv(t,s)))}a(bv,"onActionSuccess");function Md(t,i,s){var c=t.pending;if(t.pending=null,c!==null){c=c.next;do i.status="rejected",i.reason=s,Sv(i),i=i.next;while(i!==c)}t.action=null}a(Md,"onActionError");function Sv(t){t=t.listeners;for(var i=0;i<t.length;i++)(0,t[i])()}a(Sv,"notifyActionListeners");function xv(t,i){return i}a(xv,"actionStateReducer");function wv(t,i){if(Qe){var s=ut.formState;if(s!==null){e:{var c=Le;if(Qe){if(dt){t:{for(var y=dt,v=kn;y.nodeType!==8;){if(!v){y=null;break t}if(y=Pn(y.nextSibling),y===null){y=null;break t}}v=y.data,y=v==="F!"||v==="F"?y:null}if(y){dt=Pn(y.nextSibling),c=y.data==="F!";break e}}ai(c)}c=!1}c&&(i=s[0])}}return s=Kt(),s.memoizedState=s.baseState=i,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xv,lastRenderedState:i},s.queue=c,s=Uv.bind(null,Le,c),c.dispatch=s,c=_d(!1),v=zd.bind(null,Le,!1,c.queue),c=Kt(),y={state:i,dispatch:null,action:t,pending:null},c.queue=y,s=wA.bind(null,Le,y,v,s),y.dispatch=s,c.memoizedState=t,[i,s,!1]}a(wv,"mountActionState");function Ev(t){var i=Ct();return Cv(i,ot,t)}a(Ev,"updateActionState");function Cv(t,i,s){if(i=Od(t,i,xv)[0],t=fu(zr)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var c=dl(i)}catch(C){throw C===qo?tu:C}else c=i;i=Ct();var y=i.queue,v=y.dispatch;return s!==i.memoizedState&&(Le.flags|=2048,Qo(9,{destroy:void 0},EA.bind(null,y,s),null)),[c,v,t]}a(Cv,"updateActionStateImpl");function EA(t,i){t.action=i}a(EA,"actionStateActionEffect");function Tv(t){var i=Ct(),s=ot;if(s!==null)return Cv(i,s,t);Ct(),i=i.memoizedState,s=Ct();var c=s.queue.dispatch;return s.memoizedState=t,[i,c,!1]}a(Tv,"rerenderActionState");function Qo(t,i,s,c){return t={tag:t,create:s,deps:c,inst:i,next:null},i=Le.updateQueue,i===null&&(i=uu(),Le.updateQueue=i),s=i.lastEffect,s===null?i.lastEffect=t.next=t:(c=s.next,s.next=t,t.next=c,i.lastEffect=t),t}a(Qo,"pushSimpleEffect");function Rv(){return Ct().memoizedState}a(Rv,"updateRef");function du(t,i,s,c){var y=Kt();Le.flags|=t,y.memoizedState=Qo(1|i,{destroy:void 0},s,c===void 0?null:c)}a(du,"mountEffectImpl");function pu(t,i,s,c){var y=Ct();c=c===void 0?null:c;var v=y.memoizedState.inst;ot!==null&&c!==null&&xd(c,ot.memoizedState.deps)?y.memoizedState=Qo(i,v,s,c):(Le.flags|=t,y.memoizedState=Qo(1|i,v,s,c))}a(pu,"updateEffectImpl");function Ov(t,i){du(8390656,8,t,i)}a(Ov,"mountEffect");function Nd(t,i){pu(2048,8,t,i)}a(Nd,"updateEffect");function CA(t){Le.flags|=4;var i=Le.updateQueue;if(i===null)i=uu(),Le.updateQueue=i,i.events=[t];else{var s=i.events;s===null?i.events=[t]:s.push(t)}}a(CA,"useEffectEventImpl");function Av(t){var i=Ct().memoizedState;return CA({ref:i,nextImpl:t}),function(){if((Ze&2)!==0)throw Error(o(440));return i.impl.apply(void 0,arguments)}}a(Av,"updateEvent");function _v(t,i){return pu(4,2,t,i)}a(_v,"updateInsertionEffect");function Mv(t,i){return pu(4,4,t,i)}a(Mv,"updateLayoutEffect");function Nv(t,i){if(typeof i=="function"){t=t();var s=i(t);return function(){typeof s=="function"?s():i(null)}}if(i!=null)return t=t(),i.current=t,function(){i.current=null}}a(Nv,"imperativeHandleEffect");function kv(t,i,s){s=s!=null?s.concat([t]):null,pu(4,4,Nv.bind(null,i,t),s)}a(kv,"updateImperativeHandle");function kd(){}a(kd,"mountDebugValue");function Dv(t,i){var s=Ct();i=i===void 0?null:i;var c=s.memoizedState;return i!==null&&xd(i,c[1])?c[0]:(s.memoizedState=[t,i],t)}a(Dv,"updateCallback");function Pv(t,i){var s=Ct();i=i===void 0?null:i;var c=s.memoizedState;if(i!==null&&xd(i,c[1]))return c[0];if(c=t(),Ji){Jt(!0);try{t()}finally{Jt(!1)}}return s.memoizedState=[c,i],c}a(Pv,"updateMemo");function Dd(t,i,s){return s===void 0||(Lr&1073741824)!==0&&(Ve&261930)===0?t.memoizedState=i:(t.memoizedState=s,t=Lb(),Le.lanes|=t,mi|=t,s)}a(Dd,"mountDeferredValueImpl");function Lv(t,i,s,c){return pn(s,i)?s:Vo.current!==null?(t=Dd(t,s,c),pn(t,i)||(Ot=!0),t):(Lr&42)===0||(Lr&1073741824)!==0&&(Ve&261930)===0?(Ot=!0,t.memoizedState=s):(t=Lb(),Le.lanes|=t,mi|=t,i)}a(Lv,"updateDeferredValueImpl");function zv(t,i,s,c,y){var v=W.p;W.p=v!==0&&8>v?v:8;var C=I.T,_={};I.T=_,zd(t,!1,i,s);try{var j=y(),$=I.S;if($!==null&&$(_,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var ne=bA(j,c);pl(t,i,ne,bn(t))}else pl(t,i,c,bn(t))}catch(ue){pl(t,i,{then:a(function(){},"then"),status:"rejected",reason:ue},bn())}finally{W.p=v,C!==null&&_.types!==null&&(C.types=_.types),I.T=C}}a(zv,"startTransition");function TA(){}a(TA,"noop");function Pd(t,i,s,c){if(t.tag!==5)throw Error(o(476));var y=jv(t).queue;zv(t,y,i,ie,s===null?TA:function(){return Iv(t),s(c)})}a(Pd,"startHostTransition");function jv(t){var i=t.memoizedState;if(i!==null)return i;i={memoizedState:ie,baseState:ie,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zr,lastRenderedState:ie},next:null};var s={};return i.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zr,lastRenderedState:s},next:null},t.memoizedState=i,t=t.alternate,t!==null&&(t.memoizedState=i),i}a(jv,"ensureFormComponentIsStateful");function Iv(t){var i=jv(t);i.next===null&&(i=t.alternate.memoizedState),pl(t,i.next.queue,{},bn())}a(Iv,"requestFormReset$1");function Ld(){return jt(Ml)}a(Ld,"useHostTransitionStatus");function Bv(){return Ct().memoizedState}a(Bv,"updateId");function Hv(){return Ct().memoizedState}a(Hv,"updateRefresh");function RA(t){for(var i=t.return;i!==null;){switch(i.tag){case 24:case 3:var s=bn();t=ui(s);var c=ci(i,t,s);c!==null&&(ln(c,i,s),sl(c,i,s)),i={cache:cd()},t.payload=i;return}i=i.return}}a(RA,"refreshCache");function OA(t,i,s){var c=bn();s={lane:c,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},hu(t)?Fv(i,s):(s=Jf(t,i,s,c),s!==null&&(ln(s,t,c),qv(s,i,c)))}a(OA,"dispatchReducerAction");function Uv(t,i,s){var c=bn();pl(t,i,s,c)}a(Uv,"dispatchSetState");function pl(t,i,s,c){var y={lane:c,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(hu(t))Fv(i,y);else{var v=t.alternate;if(t.lanes===0&&(v===null||v.lanes===0)&&(v=i.lastRenderedReducer,v!==null))try{var C=i.lastRenderedState,_=v(C,s);if(y.hasEagerState=!0,y.eagerState=_,pn(_,C))return Qs(t,i,y,0),ut===null&&Ys(),!1}catch{}finally{}if(s=Jf(t,i,y,c),s!==null)return ln(s,t,c),qv(s,i,c),!0}return!1}a(pl,"dispatchSetStateInternal");function zd(t,i,s,c){if(c={lane:2,revertLane:hp(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},hu(t)){if(i)throw Error(o(479))}else i=Jf(t,s,c,2),i!==null&&ln(i,t,2)}a(zd,"dispatchOptimisticSetState");function hu(t){var i=t.alternate;return t===Le||i!==null&&i===Le}a(hu,"isRenderPhaseUpdate");function Fv(t,i){Go=lu=!0;var s=t.pending;s===null?i.next=i:(i.next=s.next,s.next=i),t.pending=i}a(Fv,"enqueueRenderPhaseUpdate");function qv(t,i,s){if((s&4194048)!==0){var c=i.lanes;c&=t.pendingLanes,s|=c,i.lanes=s,Qy(t,s)}}a(qv,"entangleTransitionUpdate");var hl={readContext:jt,use:cu,useCallback:gt,useContext:gt,useEffect:gt,useImperativeHandle:gt,useLayoutEffect:gt,useInsertionEffect:gt,useMemo:gt,useReducer:gt,useRef:gt,useState:gt,useDebugValue:gt,useDeferredValue:gt,useTransition:gt,useSyncExternalStore:gt,useId:gt,useHostTransitionStatus:gt,useFormState:gt,useActionState:gt,useOptimistic:gt,useMemoCache:gt,useCacheRefresh:gt};hl.useEffectEvent=gt;var $v={readContext:jt,use:cu,useCallback:a(function(t,i){return Kt().memoizedState=[t,i===void 0?null:i],t},"useCallback"),useContext:jt,useEffect:Ov,useImperativeHandle:a(function(t,i,s){s=s!=null?s.concat([t]):null,du(4194308,4,Nv.bind(null,i,t),s)},"useImperativeHandle"),useLayoutEffect:a(function(t,i){return du(4194308,4,t,i)},"useLayoutEffect"),useInsertionEffect:a(function(t,i){du(4,2,t,i)},"useInsertionEffect"),useMemo:a(function(t,i){var s=Kt();i=i===void 0?null:i;var c=t();if(Ji){Jt(!0);try{t()}finally{Jt(!1)}}return s.memoizedState=[c,i],c},"useMemo"),useReducer:a(function(t,i,s){var c=Kt();if(s!==void 0){var y=s(i);if(Ji){Jt(!0);try{s(i)}finally{Jt(!1)}}}else y=i;return c.memoizedState=c.baseState=y,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:y},c.queue=t,t=t.dispatch=OA.bind(null,Le,t),[c.memoizedState,t]},"useReducer"),useRef:a(function(t){var i=Kt();return t={current:t},i.memoizedState=t},"useRef"),useState:a(function(t){t=_d(t);var i=t.queue,s=Uv.bind(null,Le,i);return i.dispatch=s,[t.memoizedState,s]},"useState"),useDebugValue:kd,useDeferredValue:a(function(t,i){var s=Kt();return Dd(s,t,i)},"useDeferredValue"),useTransition:a(function(){var t=_d(!1);return t=zv.bind(null,Le,t.queue,!0,!1),Kt().memoizedState=t,[!1,t]},"useTransition"),useSyncExternalStore:a(function(t,i,s){var c=Le,y=Kt();if(Qe){if(s===void 0)throw Error(o(407));s=s()}else{if(s=i(),ut===null)throw Error(o(349));(Ve&127)!==0||fv(c,i,s)}y.memoizedState=s;var v={value:s,getSnapshot:i};return y.queue=v,Ov(pv.bind(null,c,v,t),[t]),c.flags|=2048,Qo(9,{destroy:void 0},dv.bind(null,c,v,s,i),null),s},"useSyncExternalStore"),useId:a(function(){var t=Kt(),i=ut.identifierPrefix;if(Qe){var s=or,c=ir;s=(c&~(1<<32-st(c)-1)).toString(32)+s,i="_"+i+"R_"+s,s=su++,0<s&&(i+="H"+s.toString(32)),i+="_"}else s=SA++,i="_"+i+"r_"+s.toString(32)+"_";return t.memoizedState=i},"useId"),useHostTransitionStatus:Ld,useFormState:wv,useActionState:wv,useOptimistic:a(function(t){var i=Kt();i.memoizedState=i.baseState=t;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=s,i=zd.bind(null,Le,!0,s),s.dispatch=i,[t,i]},"useOptimistic"),useMemoCache:Rd,useCacheRefresh:a(function(){return Kt().memoizedState=RA.bind(null,Le)},"useCacheRefresh"),useEffectEvent:a(function(t){var i=Kt(),s={impl:t};return i.memoizedState=s,function(){if((Ze&2)!==0)throw Error(o(440));return s.impl.apply(void 0,arguments)}},"useEffectEvent")},jd={readContext:jt,use:cu,useCallback:Dv,useContext:jt,useEffect:Nd,useImperativeHandle:kv,useInsertionEffect:_v,useLayoutEffect:Mv,useMemo:Pv,useReducer:fu,useRef:Rv,useState:a(function(){return fu(zr)},"useState"),useDebugValue:kd,useDeferredValue:a(function(t,i){var s=Ct();return Lv(s,ot.memoizedState,t,i)},"useDeferredValue"),useTransition:a(function(){var t=fu(zr)[0],i=Ct().memoizedState;return[typeof t=="boolean"?t:dl(t),i]},"useTransition"),useSyncExternalStore:cv,useId:Bv,useHostTransitionStatus:Ld,useFormState:Ev,useActionState:Ev,useOptimistic:a(function(t,i){var s=Ct();return yv(s,ot,t,i)},"useOptimistic"),useMemoCache:Rd,useCacheRefresh:Hv};jd.useEffectEvent=Av;var Vv={readContext:jt,use:cu,useCallback:Dv,useContext:jt,useEffect:Nd,useImperativeHandle:kv,useInsertionEffect:_v,useLayoutEffect:Mv,useMemo:Pv,useReducer:Ad,useRef:Rv,useState:a(function(){return Ad(zr)},"useState"),useDebugValue:kd,useDeferredValue:a(function(t,i){var s=Ct();return ot===null?Dd(s,t,i):Lv(s,ot.memoizedState,t,i)},"useDeferredValue"),useTransition:a(function(){var t=Ad(zr)[0],i=Ct().memoizedState;return[typeof t=="boolean"?t:dl(t),i]},"useTransition"),useSyncExternalStore:cv,useId:Bv,useHostTransitionStatus:Ld,useFormState:Tv,useActionState:Tv,useOptimistic:a(function(t,i){var s=Ct();return ot!==null?yv(s,ot,t,i):(s.baseState=t,[t,s.queue.dispatch])},"useOptimistic"),useMemoCache:Rd,useCacheRefresh:Hv};Vv.useEffectEvent=Av;function Id(t,i,s,c){i=t.memoizedState,s=s(c,i),s=s==null?i:g({},i,s),t.memoizedState=s,t.lanes===0&&(t.updateQueue.baseState=s)}a(Id,"applyDerivedStateFromProps");var Bd={enqueueSetState:a(function(t,i,s){t=t._reactInternals;var c=bn(),y=ui(c);y.payload=i,s!=null&&(y.callback=s),i=ci(t,y,c),i!==null&&(ln(i,t,c),sl(i,t,c))},"enqueueSetState"),enqueueReplaceState:a(function(t,i,s){t=t._reactInternals;var c=bn(),y=ui(c);y.tag=1,y.payload=i,s!=null&&(y.callback=s),i=ci(t,y,c),i!==null&&(ln(i,t,c),sl(i,t,c))},"enqueueReplaceState"),enqueueForceUpdate:a(function(t,i){t=t._reactInternals;var s=bn(),c=ui(s);c.tag=2,i!=null&&(c.callback=i),i=ci(t,c,s),i!==null&&(ln(i,t,s),sl(i,t,s))},"enqueueForceUpdate")};function Gv(t,i,s,c,y,v,C){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(c,v,C):i.prototype&&i.prototype.isPureReactComponent?!el(s,c)||!el(y,v):!0}a(Gv,"checkShouldComponentUpdate");function Yv(t,i,s,c){t=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(s,c),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(s,c),i.state!==t&&Bd.enqueueReplaceState(i,i.state,null)}a(Yv,"callComponentWillReceiveProps");function eo(t,i){var s=i;if("ref"in i){s={};for(var c in i)c!=="ref"&&(s[c]=i[c])}if(t=t.defaultProps){s===i&&(s=g({},s));for(var y in t)s[y]===void 0&&(s[y]=t[y])}return s}a(eo,"resolveClassComponentProps");function Qv(t){Gs(t)}a(Qv,"defaultOnUncaughtError");function Kv(t){console.error(t)}a(Kv,"defaultOnCaughtError");function Xv(t){Gs(t)}a(Xv,"defaultOnRecoverableError");function mu(t,i){try{var s=t.onUncaughtError;s(i.value,{componentStack:i.stack})}catch(c){setTimeout(function(){throw c})}}a(mu,"logUncaughtError");function Wv(t,i,s){try{var c=t.onCaughtError;c(s.value,{componentStack:s.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(y){setTimeout(function(){throw y})}}a(Wv,"logCaughtError");function Hd(t,i,s){return s=ui(s),s.tag=3,s.payload={element:null},s.callback=function(){mu(t,i)},s}a(Hd,"createRootErrorUpdate");function Zv(t){return t=ui(t),t.tag=3,t}a(Zv,"createClassErrorUpdate");function Jv(t,i,s,c){var y=s.type.getDerivedStateFromError;if(typeof y=="function"){var v=c.value;t.payload=function(){return y(v)},t.callback=function(){Wv(i,s,c)}}var C=s.stateNode;C!==null&&typeof C.componentDidCatch=="function"&&(t.callback=function(){Wv(i,s,c),typeof y!="function"&&(yi===null?yi=new Set([this]):yi.add(this));var _=c.stack;this.componentDidCatch(c.value,{componentStack:_!==null?_:""})})}a(Jv,"initializeClassErrorUpdate");function AA(t,i,s,c,y){if(s.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(i=s.alternate,i!==null&&Ho(i,s,y,!0),s=mn.current,s!==null){switch(s.tag){case 31:case 13:return Dn===null?Ou():s.alternate===null&&vt===0&&(vt=3),s.flags&=-257,s.flags|=65536,s.lanes=y,c===nu?s.flags|=16384:(i=s.updateQueue,i===null?s.updateQueue=new Set([c]):i.add(c),fp(t,c,y)),!1;case 22:return s.flags|=65536,c===nu?s.flags|=16384:(i=s.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([c])},s.updateQueue=i):(s=i.retryQueue,s===null?i.retryQueue=new Set([c]):s.add(c)),fp(t,c,y)),!1}throw Error(o(435,s.tag))}return fp(t,c,y),Ou(),!1}if(Qe)return i=mn.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=y,c!==od&&(t=Error(o(422),{cause:c}),rl(_n(t,s)))):(c!==od&&(i=Error(o(423),{cause:c}),rl(_n(i,s))),t=t.current.alternate,t.flags|=65536,y&=-y,t.lanes|=y,c=_n(c,s),y=Hd(t.stateNode,c,y),yd(t,y),vt!==4&&(vt=2)),!1;var v=Error(o(520),{cause:c});if(v=_n(v,s),wl===null?wl=[v]:wl.push(v),vt!==4&&(vt=2),i===null)return!0;c=_n(c,s),s=i;do{switch(s.tag){case 3:return s.flags|=65536,t=y&-y,s.lanes|=t,t=Hd(s.stateNode,c,t),yd(s,t),!1;case 1:if(i=s.type,v=s.stateNode,(s.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(yi===null||!yi.has(v))))return s.flags|=65536,y&=-y,s.lanes|=y,y=Zv(y),Jv(y,t,s,c),yd(s,y),!1}s=s.return}while(s!==null);return!1}a(AA,"throwException");var Ud=Error(o(461)),Ot=!1;function It(t,i,s,c){i.child=t===null?rv(i,null,s,c):Zi(i,t.child,s,c)}a(It,"reconcileChildren");function eb(t,i,s,c,y){s=s.render;var v=i.ref;if("ref"in c){var C={};for(var _ in c)_!=="ref"&&(C[_]=c[_])}else C=c;return Qi(i),c=wd(t,i,s,C,v,y),_=Ed(),t!==null&&!Ot?(Cd(t,i,y),jr(t,i,y)):(Qe&&_&&rd(i),i.flags|=1,It(t,i,c,y),i.child)}a(eb,"updateForwardRef");function tb(t,i,s,c,y){if(t===null){var v=s.type;return typeof v=="function"&&!ed(v)&&v.defaultProps===void 0&&s.compare===null?(i.tag=15,i.type=v,nb(t,i,v,c,y)):(t=Xs(s.type,null,c,i,i.mode,y),t.ref=i.ref,t.return=i,i.child=t)}if(v=t.child,!Kd(t,y)){var C=v.memoizedProps;if(s=s.compare,s=s!==null?s:el,s(C,c)&&t.ref===i.ref)return jr(t,i,y)}return i.flags|=1,t=Nr(v,c),t.ref=i.ref,t.return=i,i.child=t}a(tb,"updateMemoComponent");function nb(t,i,s,c,y){if(t!==null){var v=t.memoizedProps;if(el(v,c)&&t.ref===i.ref)if(Ot=!1,i.pendingProps=c=v,Kd(t,y))(t.flags&131072)!==0&&(Ot=!0);else return i.lanes=t.lanes,jr(t,i,y)}return Fd(t,i,s,c,y)}a(nb,"updateSimpleMemoComponent");function rb(t,i,s,c){var y=c.children,v=t!==null?t.memoizedState:null;if(t===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((i.flags&128)!==0){if(v=v!==null?v.baseLanes|s:s,t!==null){for(c=i.child=t.child,y=0;c!==null;)y=y|c.lanes|c.childLanes,c=c.sibling;c=y&~v}else c=0,i.child=null;return ib(t,i,v,s,c)}if((s&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},t!==null&&eu(i,v!==null?v.cachePool:null),v!==null?av(i,v):vd(),lv(i);else return c=i.lanes=536870912,ib(t,i,v!==null?v.baseLanes|s:s,s,c)}else v!==null?(eu(i,v.cachePool),av(i,v),di(),i.memoizedState=null):(t!==null&&eu(i,null),vd(),di());return It(t,i,y,s),i.child}a(rb,"updateOffscreenComponent");function ml(t,i){return t!==null&&t.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}a(ml,"bailoutOffscreenComponent");function ib(t,i,s,c,y){var v=dd();return v=v===null?null:{parent:Tt._currentValue,pool:v},i.memoizedState={baseLanes:s,cachePool:v},t!==null&&eu(i,null),vd(),lv(i),t!==null&&Ho(t,i,c,!0),i.childLanes=y,null}a(ib,"deferHiddenOffscreenComponent");function yu(t,i){return i=vu({mode:i.mode,children:i.children},t.mode),i.ref=t.ref,t.child=i,i.return=t,i}a(yu,"mountActivityChildren");function ob(t,i,s){return Zi(i,t.child,null,s),t=yu(i,i.pendingProps),t.flags|=2,yn(i),i.memoizedState=null,t}a(ob,"retryActivityComponentWithoutHydrating");function _A(t,i,s){var c=i.pendingProps,y=(i.flags&128)!==0;if(i.flags&=-129,t===null){if(Qe){if(c.mode==="hidden")return t=yu(i,c),i.lanes=536870912,ml(null,t);if(Sd(i),(t=dt)?(t=g0(t,kn),t=t!==null&&t.data==="&"?t:null,t!==null&&(i.memoizedState={dehydrated:t,treeContext:ii!==null?{id:ir,overflow:or}:null,retryLane:536870912,hydrationErrors:null},s=Fg(t),s.return=i,i.child=s,zt=i,dt=null)):t=null,t===null)throw ai(i);return i.lanes=536870912,null}return yu(i,c)}var v=t.memoizedState;if(v!==null){var C=v.dehydrated;if(Sd(i),y)if(i.flags&256)i.flags&=-257,i=ob(t,i,s);else if(i.memoizedState!==null)i.child=t.child,i.flags|=128,i=null;else throw Error(o(558));else if(Ot||Ho(t,i,s,!1),y=(s&t.childLanes)!==0,Ot||y){if(c=ut,c!==null&&(C=Ky(c,s),C!==0&&C!==v.retryLane))throw v.retryLane=C,$i(t,C),ln(c,t,C),Ud;Ou(),i=ob(t,i,s)}else t=v.treeContext,dt=Pn(C.nextSibling),zt=i,Qe=!0,oi=null,kn=!1,t!==null&&Vg(i,t),i=yu(i,c),i.flags|=4096;return i}return t=Nr(t.child,{mode:c.mode,children:c.children}),t.ref=i.ref,i.child=t,t.return=i,t}a(_A,"updateActivityComponent");function gu(t,i){var s=i.ref;if(s===null)t!==null&&t.ref!==null&&(i.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(o(284));(t===null||t.ref!==s)&&(i.flags|=4194816)}}a(gu,"markRef");function Fd(t,i,s,c,y){return Qi(i),s=wd(t,i,s,c,void 0,y),c=Ed(),t!==null&&!Ot?(Cd(t,i,y),jr(t,i,y)):(Qe&&c&&rd(i),i.flags|=1,It(t,i,s,y),i.child)}a(Fd,"updateFunctionComponent");function ab(t,i,s,c,y,v){return Qi(i),i.updateQueue=null,s=uv(i,c,s,y),sv(t),c=Ed(),t!==null&&!Ot?(Cd(t,i,v),jr(t,i,v)):(Qe&&c&&rd(i),i.flags|=1,It(t,i,s,v),i.child)}a(ab,"replayFunctionComponent");function lb(t,i,s,c,y){if(Qi(i),i.stateNode===null){var v=zo,C=s.contextType;typeof C=="object"&&C!==null&&(v=jt(C)),v=new s(c,v),i.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=Bd,i.stateNode=v,v._reactInternals=i,v=i.stateNode,v.props=c,v.state=i.memoizedState,v.refs={},hd(i),C=s.contextType,v.context=typeof C=="object"&&C!==null?jt(C):zo,v.state=i.memoizedState,C=s.getDerivedStateFromProps,typeof C=="function"&&(Id(i,s,C,c),v.state=i.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(C=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),C!==v.state&&Bd.enqueueReplaceState(v,v.state,null),cl(i,c,v,y),ul(),v.state=i.memoizedState),typeof v.componentDidMount=="function"&&(i.flags|=4194308),c=!0}else if(t===null){v=i.stateNode;var _=i.memoizedProps,j=eo(s,_);v.props=j;var $=v.context,ne=s.contextType;C=zo,typeof ne=="object"&&ne!==null&&(C=jt(ne));var ue=s.getDerivedStateFromProps;ne=typeof ue=="function"||typeof v.getSnapshotBeforeUpdate=="function",_=i.pendingProps!==_,ne||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(_||$!==C)&&Yv(i,v,c,C),si=!1;var G=i.memoizedState;v.state=G,cl(i,c,v,y),ul(),$=i.memoizedState,_||G!==$||si?(typeof ue=="function"&&(Id(i,s,ue,c),$=i.memoizedState),(j=si||Gv(i,s,j,c,G,$,C))?(ne||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"&&(i.flags|=4194308)):(typeof v.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=c,i.memoizedState=$),v.props=c,v.state=$,v.context=C,c=j):(typeof v.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{v=i.stateNode,md(t,i),C=i.memoizedProps,ne=eo(s,C),v.props=ne,ue=i.pendingProps,G=v.context,$=s.contextType,j=zo,typeof $=="object"&&$!==null&&(j=jt($)),_=s.getDerivedStateFromProps,($=typeof _=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(C!==ue||G!==j)&&Yv(i,v,c,j),si=!1,G=i.memoizedState,v.state=G,cl(i,c,v,y),ul();var X=i.memoizedState;C!==ue||G!==X||si||t!==null&&t.dependencies!==null&&Zs(t.dependencies)?(typeof _=="function"&&(Id(i,s,_,c),X=i.memoizedState),(ne=si||Gv(i,s,ne,c,G,X,j)||t!==null&&t.dependencies!==null&&Zs(t.dependencies))?($||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(c,X,j),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(c,X,j)),typeof v.componentDidUpdate=="function"&&(i.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof v.componentDidUpdate!="function"||C===t.memoizedProps&&G===t.memoizedState||(i.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===t.memoizedProps&&G===t.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=X),v.props=c,v.state=X,v.context=j,c=ne):(typeof v.componentDidUpdate!="function"||C===t.memoizedProps&&G===t.memoizedState||(i.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===t.memoizedProps&&G===t.memoizedState||(i.flags|=1024),c=!1)}return v=c,gu(t,i),c=(i.flags&128)!==0,v||c?(v=i.stateNode,s=c&&typeof s.getDerivedStateFromError!="function"?null:v.render(),i.flags|=1,t!==null&&c?(i.child=Zi(i,t.child,null,y),i.child=Zi(i,null,s,y)):It(t,i,s,y),i.memoizedState=v.state,t=i.child):t=jr(t,i,y),t}a(lb,"updateClassComponent");function sb(t,i,s,c){return Gi(),i.flags|=256,It(t,i,s,c),i.child}a(sb,"mountHostRootWithoutHydrating");var qd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function $d(t){return{baseLanes:t,cachePool:Wg()}}a($d,"mountSuspenseOffscreenState");function Vd(t,i,s){return t=t!==null?t.childLanes&~s:0,i&&(t|=vn),t}a(Vd,"getRemainingWorkInPrimaryTree");function ub(t,i,s){var c=i.pendingProps,y=!1,v=(i.flags&128)!==0,C;if((C=v)||(C=t!==null&&t.memoizedState===null?!1:(Et.current&2)!==0),C&&(y=!0,i.flags&=-129),C=(i.flags&32)!==0,i.flags&=-33,t===null){if(Qe){if(y?fi(i):di(),(t=dt)?(t=g0(t,kn),t=t!==null&&t.data!=="&"?t:null,t!==null&&(i.memoizedState={dehydrated:t,treeContext:ii!==null?{id:ir,overflow:or}:null,retryLane:536870912,hydrationErrors:null},s=Fg(t),s.return=i,i.child=s,zt=i,dt=null)):t=null,t===null)throw ai(i);return Op(t)?i.lanes=32:i.lanes=536870912,null}var _=c.children;return c=c.fallback,y?(di(),y=i.mode,_=vu({mode:"hidden",children:_},y),c=Vi(c,y,s,null),_.return=i,c.return=i,_.sibling=c,i.child=_,c=i.child,c.memoizedState=$d(s),c.childLanes=Vd(t,C,s),i.memoizedState=qd,ml(null,c)):(fi(i),Gd(i,_))}var j=t.memoizedState;if(j!==null&&(_=j.dehydrated,_!==null)){if(v)i.flags&256?(fi(i),i.flags&=-257,i=Yd(t,i,s)):i.memoizedState!==null?(di(),i.child=t.child,i.flags|=128,i=null):(di(),_=c.fallback,y=i.mode,c=vu({mode:"visible",children:c.children},y),_=Vi(_,y,s,null),_.flags|=2,c.return=i,_.return=i,c.sibling=_,i.child=c,Zi(i,t.child,null,s),c=i.child,c.memoizedState=$d(s),c.childLanes=Vd(t,C,s),i.memoizedState=qd,i=ml(null,c));else if(fi(i),Op(_)){if(C=_.nextSibling&&_.nextSibling.dataset,C)var $=C.dgst;C=$,c=Error(o(419)),c.stack="",c.digest=C,rl({value:c,source:null,stack:null}),i=Yd(t,i,s)}else if(Ot||Ho(t,i,s,!1),C=(s&t.childLanes)!==0,Ot||C){if(C=ut,C!==null&&(c=Ky(C,s),c!==0&&c!==j.retryLane))throw j.retryLane=c,$i(t,c),ln(C,t,c),Ud;Rp(_)||Ou(),i=Yd(t,i,s)}else Rp(_)?(i.flags|=192,i.child=t.child,i=null):(t=j.treeContext,dt=Pn(_.nextSibling),zt=i,Qe=!0,oi=null,kn=!1,t!==null&&Vg(i,t),i=Gd(i,c.children),i.flags|=4096);return i}return y?(di(),_=c.fallback,y=i.mode,j=t.child,$=j.sibling,c=Nr(j,{mode:"hidden",children:c.children}),c.subtreeFlags=j.subtreeFlags&65011712,$!==null?_=Nr($,_):(_=Vi(_,y,s,null),_.flags|=2),_.return=i,c.return=i,c.sibling=_,i.child=c,ml(null,c),c=i.child,_=t.child.memoizedState,_===null?_=$d(s):(y=_.cachePool,y!==null?(j=Tt._currentValue,y=y.parent!==j?{parent:j,pool:j}:y):y=Wg(),_={baseLanes:_.baseLanes|s,cachePool:y}),c.memoizedState=_,c.childLanes=Vd(t,C,s),i.memoizedState=qd,ml(t.child,c)):(fi(i),s=t.child,t=s.sibling,s=Nr(s,{mode:"visible",children:c.children}),s.return=i,s.sibling=null,t!==null&&(C=i.deletions,C===null?(i.deletions=[t],i.flags|=16):C.push(t)),i.child=s,i.memoizedState=null,s)}a(ub,"updateSuspenseComponent");function Gd(t,i){return i=vu({mode:"visible",children:i},t.mode),i.return=t,t.child=i}a(Gd,"mountSuspensePrimaryChildren");function vu(t,i){return t=hn(22,t,null,i),t.lanes=0,t}a(vu,"mountWorkInProgressOffscreenFiber");function Yd(t,i,s){return Zi(i,t.child,null,s),t=Gd(i,i.pendingProps.children),t.flags|=2,i.memoizedState=null,t}a(Yd,"retrySuspenseComponentWithoutHydrating");function cb(t,i,s){t.lanes|=i;var c=t.alternate;c!==null&&(c.lanes|=i),sd(t.return,i,s)}a(cb,"scheduleSuspenseWorkOnFiber");function Qd(t,i,s,c,y,v){var C=t.memoizedState;C===null?t.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:c,tail:s,tailMode:y,treeForkCount:v}:(C.isBackwards=i,C.rendering=null,C.renderingStartTime=0,C.last=c,C.tail=s,C.tailMode=y,C.treeForkCount=v)}a(Qd,"initSuspenseListRenderState");function fb(t,i,s){var c=i.pendingProps,y=c.revealOrder,v=c.tail;c=c.children;var C=Et.current,_=(C&2)!==0;if(_?(C=C&1|2,i.flags|=128):C&=1,A(Et,C),It(t,i,c,s),c=Qe?nl:0,!_&&t!==null&&(t.flags&128)!==0)e:for(t=i.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&cb(t,s,i);else if(t.tag===19)cb(t,s,i);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===i)break e;for(;t.sibling===null;){if(t.return===null||t.return===i)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(y){case"forwards":for(s=i.child,y=null;s!==null;)t=s.alternate,t!==null&&au(t)===null&&(y=s),s=s.sibling;s=y,s===null?(y=i.child,i.child=null):(y=s.sibling,s.sibling=null),Qd(i,!1,y,s,v,c);break;case"backwards":case"unstable_legacy-backwards":for(s=null,y=i.child,i.child=null;y!==null;){if(t=y.alternate,t!==null&&au(t)===null){i.child=y;break}t=y.sibling,y.sibling=s,s=y,y=t}Qd(i,!0,s,null,v,c);break;case"together":Qd(i,!1,null,null,void 0,c);break;default:i.memoizedState=null}return i.child}a(fb,"updateSuspenseListComponent");function jr(t,i,s){if(t!==null&&(i.dependencies=t.dependencies),mi|=i.lanes,(s&i.childLanes)===0)if(t!==null){if(Ho(t,i,s,!1),(s&i.childLanes)===0)return null}else return null;if(t!==null&&i.child!==t.child)throw Error(o(153));if(i.child!==null){for(t=i.child,s=Nr(t,t.pendingProps),i.child=s,s.return=i;t.sibling!==null;)t=t.sibling,s=s.sibling=Nr(t,t.pendingProps),s.return=i;s.sibling=null}return i.child}a(jr,"bailoutOnAlreadyFinishedWork");function Kd(t,i){return(t.lanes&i)!==0?!0:(t=t.dependencies,!!(t!==null&&Zs(t)))}a(Kd,"checkScheduledUpdateOrContext");function MA(t,i,s){switch(i.tag){case 3:pe(i,i.stateNode.containerInfo),li(i,Tt,t.memoizedState.cache),Gi();break;case 27:case 5:Re(i);break;case 4:pe(i,i.stateNode.containerInfo);break;case 10:li(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,Sd(i),null;break;case 13:var c=i.memoizedState;if(c!==null)return c.dehydrated!==null?(fi(i),i.flags|=128,null):(s&i.child.childLanes)!==0?ub(t,i,s):(fi(i),t=jr(t,i,s),t!==null?t.sibling:null);fi(i);break;case 19:var y=(t.flags&128)!==0;if(c=(s&i.childLanes)!==0,c||(Ho(t,i,s,!1),c=(s&i.childLanes)!==0),y){if(c)return fb(t,i,s);i.flags|=128}if(y=i.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),A(Et,Et.current),c)break;return null;case 22:return i.lanes=0,rb(t,i,s,i.pendingProps);case 24:li(i,Tt,t.memoizedState.cache)}return jr(t,i,s)}a(MA,"attemptEarlyBailoutIfNoScheduledUpdate");function db(t,i,s){if(t!==null)if(t.memoizedProps!==i.pendingProps)Ot=!0;else{if(!Kd(t,s)&&(i.flags&128)===0)return Ot=!1,MA(t,i,s);Ot=(t.flags&131072)!==0}else Ot=!1,Qe&&(i.flags&1048576)!==0&&$g(i,nl,i.index);switch(i.lanes=0,i.tag){case 16:e:{var c=i.pendingProps;if(t=Xi(i.elementType),i.type=t,typeof t=="function")ed(t)?(c=eo(t,c),i.tag=1,i=lb(null,i,t,c,s)):(i.tag=0,i=Fd(null,i,t,c,s));else{if(t!=null){var y=t.$$typeof;if(y===L){i.tag=11,i=eb(null,i,t,c,s);break e}else if(y===P){i.tag=14,i=tb(null,i,t,c,s);break e}}throw i=F(t)||t,Error(o(306,i,""))}}return i;case 0:return Fd(t,i,i.type,i.pendingProps,s);case 1:return c=i.type,y=eo(c,i.pendingProps),lb(t,i,c,y,s);case 3:e:{if(pe(i,i.stateNode.containerInfo),t===null)throw Error(o(387));c=i.pendingProps;var v=i.memoizedState;y=v.element,md(t,i),cl(i,c,null,s);var C=i.memoizedState;if(c=C.cache,li(i,Tt,c),c!==v.cache&&ud(i,[Tt],s,!0),ul(),c=C.element,v.isDehydrated)if(v={element:c,isDehydrated:!1,cache:C.cache},i.updateQueue.baseState=v,i.memoizedState=v,i.flags&256){i=sb(t,i,c,s);break e}else if(c!==y){y=_n(Error(o(424)),i),rl(y),i=sb(t,i,c,s);break e}else{switch(t=i.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(dt=Pn(t.firstChild),zt=i,Qe=!0,oi=null,kn=!0,s=rv(i,null,c,s),i.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling}else{if(Gi(),c===y){i=jr(t,i,s);break e}It(t,i,c,s)}i=i.child}return i;case 26:return gu(t,i),t===null?(s=E0(i.type,null,i.pendingProps,null))?i.memoizedState=s:Qe||(s=i.type,t=i.pendingProps,c=Pu(ce.current).createElement(s),c[Lt]=i,c[en]=t,Bt(c,s,t),Dt(c),i.stateNode=c):i.memoizedState=E0(i.type,t.memoizedProps,i.pendingProps,t.memoizedState),null;case 27:return Re(i),t===null&&Qe&&(c=i.stateNode=S0(i.type,i.pendingProps,ce.current),zt=i,kn=!0,y=dt,Si(i.type)?(Ap=y,dt=Pn(c.firstChild)):dt=y),It(t,i,i.pendingProps.children,s),gu(t,i),t===null&&(i.flags|=4194304),i.child;case 5:return t===null&&Qe&&((y=c=dt)&&(c=a_(c,i.type,i.pendingProps,kn),c!==null?(i.stateNode=c,zt=i,dt=Pn(c.firstChild),kn=!1,y=!0):y=!1),y||ai(i)),Re(i),y=i.type,v=i.pendingProps,C=t!==null?t.memoizedProps:null,c=v.children,Ep(y,v)?c=null:C!==null&&Ep(y,C)&&(i.flags|=32),i.memoizedState!==null&&(y=wd(t,i,xA,null,null,s),Ml._currentValue=y),gu(t,i),It(t,i,c,s),i.child;case 6:return t===null&&Qe&&((t=s=dt)&&(s=l_(s,i.pendingProps,kn),s!==null?(i.stateNode=s,zt=i,dt=null,t=!0):t=!1),t||ai(i)),null;case 13:return ub(t,i,s);case 4:return pe(i,i.stateNode.containerInfo),c=i.pendingProps,t===null?i.child=Zi(i,null,c,s):It(t,i,c,s),i.child;case 11:return eb(t,i,i.type,i.pendingProps,s);case 7:return It(t,i,i.pendingProps,s),i.child;case 8:return It(t,i,i.pendingProps.children,s),i.child;case 12:return It(t,i,i.pendingProps.children,s),i.child;case 10:return c=i.pendingProps,li(i,i.type,c.value),It(t,i,c.children,s),i.child;case 9:return y=i.type._context,c=i.pendingProps.children,Qi(i),y=jt(y),c=c(y),i.flags|=1,It(t,i,c,s),i.child;case 14:return tb(t,i,i.type,i.pendingProps,s);case 15:return nb(t,i,i.type,i.pendingProps,s);case 19:return fb(t,i,s);case 31:return _A(t,i,s);case 22:return rb(t,i,s,i.pendingProps);case 24:return Qi(i),c=jt(Tt),t===null?(y=dd(),y===null&&(y=ut,v=cd(),y.pooledCache=v,v.refCount++,v!==null&&(y.pooledCacheLanes|=s),y=v),i.memoizedState={parent:c,cache:y},hd(i),li(i,Tt,y)):((t.lanes&s)!==0&&(md(t,i),cl(i,null,null,s),ul()),y=t.memoizedState,v=i.memoizedState,y.parent!==c?(y={parent:c,cache:c},i.memoizedState=y,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=y),li(i,Tt,c)):(c=v.cache,li(i,Tt,c),c!==y.cache&&ud(i,[Tt],s,!0))),It(t,i,i.pendingProps.children,s),i.child;case 29:throw i.pendingProps}throw Error(o(156,i.tag))}a(db,"beginWork");function Ir(t){t.flags|=4}a(Ir,"markUpdate");function Xd(t,i,s,c,y){if((i=(t.mode&32)!==0)&&(i=!1),i){if(t.flags|=16777216,(y&335544128)===y)if(t.stateNode.complete)t.flags|=8192;else if(Bb())t.flags|=8192;else throw Wi=nu,pd}else t.flags&=-16777217}a(Xd,"preloadInstanceAndSuspendIfNeeded");function pb(t,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!A0(i))if(Bb())t.flags|=8192;else throw Wi=nu,pd}a(pb,"preloadResourceAndSuspendIfNeeded");function bu(t,i){i!==null&&(t.flags|=4),t.flags&16384&&(i=t.tag!==22?Gy():536870912,t.lanes|=i,Zo|=i)}a(bu,"scheduleRetryEffect");function yl(t,i){if(!Qe)switch(t.tailMode){case"hidden":i=t.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?t.tail=null:s.sibling=null;break;case"collapsed":s=t.tail;for(var c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?i||t.tail===null?t.tail=null:t.tail.sibling=null:c.sibling=null}}a(yl,"cutOffTailIfNeeded");function pt(t){var i=t.alternate!==null&&t.alternate.child===t.child,s=0,c=0;if(i)for(var y=t.child;y!==null;)s|=y.lanes|y.childLanes,c|=y.subtreeFlags&65011712,c|=y.flags&65011712,y.return=t,y=y.sibling;else for(y=t.child;y!==null;)s|=y.lanes|y.childLanes,c|=y.subtreeFlags,c|=y.flags,y.return=t,y=y.sibling;return t.subtreeFlags|=c,t.childLanes=s,i}a(pt,"bubbleProperties");function NA(t,i,s){var c=i.pendingProps;switch(id(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pt(i),null;case 1:return pt(i),null;case 3:return s=i.stateNode,c=null,t!==null&&(c=t.memoizedState.cache),i.memoizedState.cache!==c&&(i.flags|=2048),Pr(Tt),be(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(t===null||t.child===null)&&(Bo(i)?Ir(i):t===null||t.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,ad())),pt(i),null;case 26:var y=i.type,v=i.memoizedState;return t===null?(Ir(i),v!==null?(pt(i),pb(i,v)):(pt(i),Xd(i,y,null,c,s))):v?v!==t.memoizedState?(Ir(i),pt(i),pb(i,v)):(pt(i),i.flags&=-16777217):(t=t.memoizedProps,t!==c&&Ir(i),pt(i),Xd(i,y,t,c,s)),null;case 27:if(ke(i),s=ce.current,y=i.type,t!==null&&i.stateNode!=null)t.memoizedProps!==c&&Ir(i);else{if(!c){if(i.stateNode===null)throw Error(o(166));return pt(i),null}t=J.current,Bo(i)?Gg(i):(t=S0(y,c,s),i.stateNode=t,Ir(i))}return pt(i),null;case 5:if(ke(i),y=i.type,t!==null&&i.stateNode!=null)t.memoizedProps!==c&&Ir(i);else{if(!c){if(i.stateNode===null)throw Error(o(166));return pt(i),null}if(v=J.current,Bo(i))Gg(i);else{var C=Pu(ce.current);switch(v){case 1:v=C.createElementNS("http://www.w3.org/2000/svg",y);break;case 2:v=C.createElementNS("http://www.w3.org/1998/Math/MathML",y);break;default:switch(y){case"svg":v=C.createElementNS("http://www.w3.org/2000/svg",y);break;case"math":v=C.createElementNS("http://www.w3.org/1998/Math/MathML",y);break;case"script":v=C.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild);break;case"select":v=typeof c.is=="string"?C.createElement("select",{is:c.is}):C.createElement("select"),c.multiple?v.multiple=!0:c.size&&(v.size=c.size);break;default:v=typeof c.is=="string"?C.createElement(y,{is:c.is}):C.createElement(y)}}v[Lt]=i,v[en]=c;e:for(C=i.child;C!==null;){if(C.tag===5||C.tag===6)v.appendChild(C.stateNode);else if(C.tag!==4&&C.tag!==27&&C.child!==null){C.child.return=C,C=C.child;continue}if(C===i)break e;for(;C.sibling===null;){if(C.return===null||C.return===i)break e;C=C.return}C.sibling.return=C.return,C=C.sibling}i.stateNode=v;e:switch(Bt(v,y,c),y){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&Ir(i)}}return pt(i),Xd(i,i.type,t===null?null:t.memoizedProps,i.pendingProps,s),null;case 6:if(t&&i.stateNode!=null)t.memoizedProps!==c&&Ir(i);else{if(typeof c!="string"&&i.stateNode===null)throw Error(o(166));if(t=ce.current,Bo(i)){if(t=i.stateNode,s=i.memoizedProps,c=null,y=zt,y!==null)switch(y.tag){case 27:case 5:c=y.memoizedProps}t[Lt]=i,t=!!(t.nodeValue===s||c!==null&&c.suppressHydrationWarning===!0||u0(t.nodeValue,s)),t||ai(i,!0)}else t=Pu(t).createTextNode(c),t[Lt]=i,i.stateNode=t}return pt(i),null;case 31:if(s=i.memoizedState,t===null||t.memoizedState!==null){if(c=Bo(i),s!==null){if(t===null){if(!c)throw Error(o(318));if(t=i.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[Lt]=i}else Gi(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;pt(i),t=!1}else s=ad(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=s),t=!0;if(!t)return i.flags&256?(yn(i),i):(yn(i),null);if((i.flags&128)!==0)throw Error(o(558))}return pt(i),null;case 13:if(c=i.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(y=Bo(i),c!==null&&c.dehydrated!==null){if(t===null){if(!y)throw Error(o(318));if(y=i.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(o(317));y[Lt]=i}else Gi(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;pt(i),y=!1}else y=ad(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=y),y=!0;if(!y)return i.flags&256?(yn(i),i):(yn(i),null)}return yn(i),(i.flags&128)!==0?(i.lanes=s,i):(s=c!==null,t=t!==null&&t.memoizedState!==null,s&&(c=i.child,y=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(y=c.alternate.memoizedState.cachePool.pool),v=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(v=c.memoizedState.cachePool.pool),v!==y&&(c.flags|=2048)),s!==t&&s&&(i.child.flags|=8192),bu(i,i.updateQueue),pt(i),null);case 4:return be(),t===null&&vp(i.stateNode.containerInfo),pt(i),null;case 10:return Pr(i.type),pt(i),null;case 19:if(Q(Et),c=i.memoizedState,c===null)return pt(i),null;if(y=(i.flags&128)!==0,v=c.rendering,v===null)if(y)yl(c,!1);else{if(vt!==0||t!==null&&(t.flags&128)!==0)for(t=i.child;t!==null;){if(v=au(t),v!==null){for(i.flags|=128,yl(c,!1),t=v.updateQueue,i.updateQueue=t,bu(i,t),i.subtreeFlags=0,t=s,s=i.child;s!==null;)Ug(s,t),s=s.sibling;return A(Et,Et.current&1|2),Qe&&kr(i,c.treeForkCount),i.child}t=t.sibling}c.tail!==null&&Yt()>Cu&&(i.flags|=128,y=!0,yl(c,!1),i.lanes=4194304)}else{if(!y)if(t=au(v),t!==null){if(i.flags|=128,y=!0,t=t.updateQueue,i.updateQueue=t,bu(i,t),yl(c,!0),c.tail===null&&c.tailMode==="hidden"&&!v.alternate&&!Qe)return pt(i),null}else 2*Yt()-c.renderingStartTime>Cu&&s!==536870912&&(i.flags|=128,y=!0,yl(c,!1),i.lanes=4194304);c.isBackwards?(v.sibling=i.child,i.child=v):(t=c.last,t!==null?t.sibling=v:i.child=v,c.last=v)}return c.tail!==null?(t=c.tail,c.rendering=t,c.tail=t.sibling,c.renderingStartTime=Yt(),t.sibling=null,s=Et.current,A(Et,y?s&1|2:s&1),Qe&&kr(i,c.treeForkCount),t):(pt(i),null);case 22:case 23:return yn(i),bd(),c=i.memoizedState!==null,t!==null?t.memoizedState!==null!==c&&(i.flags|=8192):c&&(i.flags|=8192),c?(s&536870912)!==0&&(i.flags&128)===0&&(pt(i),i.subtreeFlags&6&&(i.flags|=8192)):pt(i),s=i.updateQueue,s!==null&&bu(i,s.retryQueue),s=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==s&&(i.flags|=2048),t!==null&&Q(Ki),null;case 24:return s=null,t!==null&&(s=t.memoizedState.cache),i.memoizedState.cache!==s&&(i.flags|=2048),Pr(Tt),pt(i),null;case 25:return null;case 30:return null}throw Error(o(156,i.tag))}a(NA,"completeWork");function kA(t,i){switch(id(i),i.tag){case 1:return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 3:return Pr(Tt),be(),t=i.flags,(t&65536)!==0&&(t&128)===0?(i.flags=t&-65537|128,i):null;case 26:case 27:case 5:return ke(i),null;case 31:if(i.memoizedState!==null){if(yn(i),i.alternate===null)throw Error(o(340));Gi()}return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 13:if(yn(i),t=i.memoizedState,t!==null&&t.dehydrated!==null){if(i.alternate===null)throw Error(o(340));Gi()}return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 19:return Q(Et),null;case 4:return be(),null;case 10:return Pr(i.type),null;case 22:case 23:return yn(i),bd(),t!==null&&Q(Ki),t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 24:return Pr(Tt),null;case 25:return null;default:return null}}a(kA,"unwindWork");function hb(t,i){switch(id(i),i.tag){case 3:Pr(Tt),be();break;case 26:case 27:case 5:ke(i);break;case 4:be();break;case 31:i.memoizedState!==null&&yn(i);break;case 13:yn(i);break;case 19:Q(Et);break;case 10:Pr(i.type);break;case 22:case 23:yn(i),bd(),t!==null&&Q(Ki);break;case 24:Pr(Tt)}}a(hb,"unwindInterruptedWork");function gl(t,i){try{var s=i.updateQueue,c=s!==null?s.lastEffect:null;if(c!==null){var y=c.next;s=y;do{if((s.tag&t)===t){c=void 0;var v=s.create,C=s.inst;c=v(),C.destroy=c}s=s.next}while(s!==y)}}catch(_){it(i,i.return,_)}}a(gl,"commitHookEffectListMount");function pi(t,i,s){try{var c=i.updateQueue,y=c!==null?c.lastEffect:null;if(y!==null){var v=y.next;c=v;do{if((c.tag&t)===t){var C=c.inst,_=C.destroy;if(_!==void 0){C.destroy=void 0,y=i;var j=s,$=_;try{$()}catch(ne){it(y,j,ne)}}}c=c.next}while(c!==v)}}catch(ne){it(i,i.return,ne)}}a(pi,"commitHookEffectListUnmount");function mb(t){var i=t.updateQueue;if(i!==null){var s=t.stateNode;try{ov(i,s)}catch(c){it(t,t.return,c)}}}a(mb,"commitClassCallbacks");function yb(t,i,s){s.props=eo(t.type,t.memoizedProps),s.state=t.memoizedState;try{s.componentWillUnmount()}catch(c){it(t,i,c)}}a(yb,"safelyCallComponentWillUnmount");function vl(t,i){try{var s=t.ref;if(s!==null){switch(t.tag){case 26:case 27:case 5:var c=t.stateNode;break;case 30:c=t.stateNode;break;default:c=t.stateNode}typeof s=="function"?t.refCleanup=s(c):s.current=c}}catch(y){it(t,i,y)}}a(vl,"safelyAttachRef");function ar(t,i){var s=t.ref,c=t.refCleanup;if(s!==null)if(typeof c=="function")try{c()}catch(y){it(t,i,y)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(y){it(t,i,y)}else s.current=null}a(ar,"safelyDetachRef");function gb(t){var i=t.type,s=t.memoizedProps,c=t.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":s.autoFocus&&c.focus();break e;case"img":s.src?c.src=s.src:s.srcSet&&(c.srcset=s.srcSet)}}catch(y){it(t,t.return,y)}}a(gb,"commitHostMount");function Wd(t,i,s){try{var c=t.stateNode;e_(c,t.type,s,i),c[en]=i}catch(y){it(t,t.return,y)}}a(Wd,"commitHostUpdate");function vb(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Si(t.type)||t.tag===4}a(vb,"isHostParent");function Zd(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||vb(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Si(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}a(Zd,"getHostSibling");function Jd(t,i,s){var c=t.tag;if(c===5||c===6)t=t.stateNode,i?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(t,i):(i=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,i.appendChild(t),s=s._reactRootContainer,s!=null||i.onclick!==null||(i.onclick=_r));else if(c!==4&&(c===27&&Si(t.type)&&(s=t.stateNode,i=null),t=t.child,t!==null))for(Jd(t,i,s),t=t.sibling;t!==null;)Jd(t,i,s),t=t.sibling}a(Jd,"insertOrAppendPlacementNodeIntoContainer");function Su(t,i,s){var c=t.tag;if(c===5||c===6)t=t.stateNode,i?s.insertBefore(t,i):s.appendChild(t);else if(c!==4&&(c===27&&Si(t.type)&&(s=t.stateNode),t=t.child,t!==null))for(Su(t,i,s),t=t.sibling;t!==null;)Su(t,i,s),t=t.sibling}a(Su,"insertOrAppendPlacementNode");function bb(t){var i=t.stateNode,s=t.memoizedProps;try{for(var c=t.type,y=i.attributes;y.length;)i.removeAttributeNode(y[0]);Bt(i,c,s),i[Lt]=t,i[en]=s}catch(v){it(t,t.return,v)}}a(bb,"commitHostSingletonAcquisition");var Br=!1,At=!1,ep=!1,Sb=typeof WeakSet=="function"?WeakSet:Set,Pt=null;function DA(t,i){if(t=t.containerInfo,xp=Uu,t=kg(t),Yf(t)){if("selectionStart"in t)var s={start:t.selectionStart,end:t.selectionEnd};else e:{s=(s=t.ownerDocument)&&s.defaultView||window;var c=s.getSelection&&s.getSelection();if(c&&c.rangeCount!==0){s=c.anchorNode;var y=c.anchorOffset,v=c.focusNode;c=c.focusOffset;try{s.nodeType,v.nodeType}catch{s=null;break e}var C=0,_=-1,j=-1,$=0,ne=0,ue=t,G=null;t:for(;;){for(var X;ue!==s||y!==0&&ue.nodeType!==3||(_=C+y),ue!==v||c!==0&&ue.nodeType!==3||(j=C+c),ue.nodeType===3&&(C+=ue.nodeValue.length),(X=ue.firstChild)!==null;)G=ue,ue=X;for(;;){if(ue===t)break t;if(G===s&&++$===y&&(_=C),G===v&&++ne===c&&(j=C),(X=ue.nextSibling)!==null)break;ue=G,G=ue.parentNode}ue=X}s=_===-1||j===-1?null:{start:_,end:j}}else s=null}s=s||{start:0,end:0}}else s=null;for(wp={focusedElem:t,selectionRange:s},Uu=!1,Pt=i;Pt!==null;)if(i=Pt,t=i.child,(i.subtreeFlags&1028)!==0&&t!==null)t.return=i,Pt=t;else for(;Pt!==null;){switch(i=Pt,v=i.alternate,t=i.flags,i.tag){case 0:if((t&4)!==0&&(t=i.updateQueue,t=t!==null?t.events:null,t!==null))for(s=0;s<t.length;s++)y=t[s],y.ref.impl=y.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&v!==null){t=void 0,s=i,y=v.memoizedProps,v=v.memoizedState,c=s.stateNode;try{var xe=eo(s.type,y);t=c.getSnapshotBeforeUpdate(xe,v),c.__reactInternalSnapshotBeforeUpdate=t}catch(Ae){it(s,s.return,Ae)}}break;case 3:if((t&1024)!==0){if(t=i.stateNode.containerInfo,s=t.nodeType,s===9)Tp(t);else if(s===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Tp(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(o(163))}if(t=i.sibling,t!==null){t.return=i.return,Pt=t;break}Pt=i.return}}a(DA,"commitBeforeMutationEffects");function xb(t,i,s){var c=s.flags;switch(s.tag){case 0:case 11:case 15:Ur(t,s),c&4&&gl(5,s);break;case 1:if(Ur(t,s),c&4)if(t=s.stateNode,i===null)try{t.componentDidMount()}catch(C){it(s,s.return,C)}else{var y=eo(s.type,i.memoizedProps);i=i.memoizedState;try{t.componentDidUpdate(y,i,t.__reactInternalSnapshotBeforeUpdate)}catch(C){it(s,s.return,C)}}c&64&&mb(s),c&512&&vl(s,s.return);break;case 3:if(Ur(t,s),c&64&&(t=s.updateQueue,t!==null)){if(i=null,s.child!==null)switch(s.child.tag){case 27:case 5:i=s.child.stateNode;break;case 1:i=s.child.stateNode}try{ov(t,i)}catch(C){it(s,s.return,C)}}break;case 27:i===null&&c&4&&bb(s);case 26:case 5:Ur(t,s),i===null&&c&4&&gb(s),c&512&&vl(s,s.return);break;case 12:Ur(t,s);break;case 31:Ur(t,s),c&4&&Cb(t,s);break;case 13:Ur(t,s),c&4&&Tb(t,s),c&64&&(t=s.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(s=FA.bind(null,s),s_(t,s))));break;case 22:if(c=s.memoizedState!==null||Br,!c){i=i!==null&&i.memoizedState!==null||At,y=Br;var v=At;Br=c,(At=i)&&!v?Fr(t,s,(s.subtreeFlags&8772)!==0):Ur(t,s),Br=y,At=v}break;case 30:break;default:Ur(t,s)}}a(xb,"commitLayoutEffectOnFiber");function wb(t){var i=t.alternate;i!==null&&(t.alternate=null,wb(i)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(i=t.stateNode,i!==null&&Mf(i)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}a(wb,"detachFiberAfterEffects");var ht=null,nn=!1;function Hr(t,i,s){for(s=s.child;s!==null;)Eb(t,i,s),s=s.sibling}a(Hr,"recursivelyTraverseDeletionEffects");function Eb(t,i,s){if(Nt&&typeof Nt.onCommitFiberUnmount=="function")try{Nt.onCommitFiberUnmount(Qt,s)}catch{}switch(s.tag){case 26:At||ar(s,i),Hr(t,i,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:At||ar(s,i);var c=ht,y=nn;Si(s.type)&&(ht=s.stateNode,nn=!1),Hr(t,i,s),Ol(s.stateNode),ht=c,nn=y;break;case 5:At||ar(s,i);case 6:if(c=ht,y=nn,ht=null,Hr(t,i,s),ht=c,nn=y,ht!==null)if(nn)try{(ht.nodeType===9?ht.body:ht.nodeName==="HTML"?ht.ownerDocument.body:ht).removeChild(s.stateNode)}catch(v){it(s,i,v)}else try{ht.removeChild(s.stateNode)}catch(v){it(s,i,v)}break;case 18:ht!==null&&(nn?(t=ht,m0(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,s.stateNode),aa(t)):m0(ht,s.stateNode));break;case 4:c=ht,y=nn,ht=s.stateNode.containerInfo,nn=!0,Hr(t,i,s),ht=c,nn=y;break;case 0:case 11:case 14:case 15:pi(2,s,i),At||pi(4,s,i),Hr(t,i,s);break;case 1:At||(ar(s,i),c=s.stateNode,typeof c.componentWillUnmount=="function"&&yb(s,i,c)),Hr(t,i,s);break;case 21:Hr(t,i,s);break;case 22:At=(c=At)||s.memoizedState!==null,Hr(t,i,s),At=c;break;default:Hr(t,i,s)}}a(Eb,"commitDeletionEffectsOnFiber");function Cb(t,i){if(i.memoizedState===null&&(t=i.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{aa(t)}catch(s){it(i,i.return,s)}}}a(Cb,"commitActivityHydrationCallbacks");function Tb(t,i){if(i.memoizedState===null&&(t=i.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{aa(t)}catch(s){it(i,i.return,s)}}a(Tb,"commitSuspenseHydrationCallbacks");function PA(t){switch(t.tag){case 31:case 13:case 19:var i=t.stateNode;return i===null&&(i=t.stateNode=new Sb),i;case 22:return t=t.stateNode,i=t._retryCache,i===null&&(i=t._retryCache=new Sb),i;default:throw Error(o(435,t.tag))}}a(PA,"getRetryCache");function xu(t,i){var s=PA(t);i.forEach(function(c){if(!s.has(c)){s.add(c);var y=qA.bind(null,t,c);c.then(y,y)}})}a(xu,"attachSuspenseRetryListeners");function rn(t,i){var s=i.deletions;if(s!==null)for(var c=0;c<s.length;c++){var y=s[c],v=t,C=i,_=C;e:for(;_!==null;){switch(_.tag){case 27:if(Si(_.type)){ht=_.stateNode,nn=!1;break e}break;case 5:ht=_.stateNode,nn=!1;break e;case 3:case 4:ht=_.stateNode.containerInfo,nn=!0;break e}_=_.return}if(ht===null)throw Error(o(160));Eb(v,C,y),ht=null,nn=!1,v=y.alternate,v!==null&&(v.return=null),y.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)Rb(i,t),i=i.sibling}a(rn,"recursivelyTraverseMutationEffects");var Vn=null;function Rb(t,i){var s=t.alternate,c=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:rn(i,t),on(t),c&4&&(pi(3,t,t.return),gl(3,t),pi(5,t,t.return));break;case 1:rn(i,t),on(t),c&512&&(At||s===null||ar(s,s.return)),c&64&&Br&&(t=t.updateQueue,t!==null&&(c=t.callbacks,c!==null&&(s=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=s===null?c:s.concat(c))));break;case 26:var y=Vn;if(rn(i,t),on(t),c&512&&(At||s===null||ar(s,s.return)),c&4){var v=s!==null?s.memoizedState:null;if(c=t.memoizedState,s===null)if(c===null)if(t.stateNode===null){e:{c=t.type,s=t.memoizedProps,y=y.ownerDocument||y;t:switch(c){case"title":v=y.getElementsByTagName("title")[0],(!v||v[Va]||v[Lt]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=y.createElement(c),y.head.insertBefore(v,y.querySelector("head > title"))),Bt(v,c,s),v[Lt]=t,Dt(v),c=v;break e;case"link":var C=R0("link","href",y).get(c+(s.href||""));if(C){for(var _=0;_<C.length;_++)if(v=C[_],v.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&v.getAttribute("rel")===(s.rel==null?null:s.rel)&&v.getAttribute("title")===(s.title==null?null:s.title)&&v.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){C.splice(_,1);break t}}v=y.createElement(c),Bt(v,c,s),y.head.appendChild(v);break;case"meta":if(C=R0("meta","content",y).get(c+(s.content||""))){for(_=0;_<C.length;_++)if(v=C[_],v.getAttribute("content")===(s.content==null?null:""+s.content)&&v.getAttribute("name")===(s.name==null?null:s.name)&&v.getAttribute("property")===(s.property==null?null:s.property)&&v.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&v.getAttribute("charset")===(s.charSet==null?null:s.charSet)){C.splice(_,1);break t}}v=y.createElement(c),Bt(v,c,s),y.head.appendChild(v);break;default:throw Error(o(468,c))}v[Lt]=t,Dt(v),c=v}t.stateNode=c}else O0(y,t.type,t.stateNode);else t.stateNode=T0(y,c,t.memoizedProps);else v!==c?(v===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):v.count--,c===null?O0(y,t.type,t.stateNode):T0(y,c,t.memoizedProps)):c===null&&t.stateNode!==null&&Wd(t,t.memoizedProps,s.memoizedProps)}break;case 27:rn(i,t),on(t),c&512&&(At||s===null||ar(s,s.return)),s!==null&&c&4&&Wd(t,t.memoizedProps,s.memoizedProps);break;case 5:if(rn(i,t),on(t),c&512&&(At||s===null||ar(s,s.return)),t.flags&32){y=t.stateNode;try{_o(y,"")}catch(xe){it(t,t.return,xe)}}c&4&&t.stateNode!=null&&(y=t.memoizedProps,Wd(t,y,s!==null?s.memoizedProps:y)),c&1024&&(ep=!0);break;case 6:if(rn(i,t),on(t),c&4){if(t.stateNode===null)throw Error(o(162));c=t.memoizedProps,s=t.stateNode;try{s.nodeValue=c}catch(xe){it(t,t.return,xe)}}break;case 3:if(ju=null,y=Vn,Vn=Lu(i.containerInfo),rn(i,t),Vn=y,on(t),c&4&&s!==null&&s.memoizedState.isDehydrated)try{aa(i.containerInfo)}catch(xe){it(t,t.return,xe)}ep&&(ep=!1,Ob(t));break;case 4:c=Vn,Vn=Lu(t.stateNode.containerInfo),rn(i,t),on(t),Vn=c;break;case 12:rn(i,t),on(t);break;case 31:rn(i,t),on(t),c&4&&(c=t.updateQueue,c!==null&&(t.updateQueue=null,xu(t,c)));break;case 13:rn(i,t),on(t),t.child.flags&8192&&t.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(Eu=Yt()),c&4&&(c=t.updateQueue,c!==null&&(t.updateQueue=null,xu(t,c)));break;case 22:y=t.memoizedState!==null;var j=s!==null&&s.memoizedState!==null,$=Br,ne=At;if(Br=$||y,At=ne||j,rn(i,t),At=ne,Br=$,on(t),c&8192)e:for(i=t.stateNode,i._visibility=y?i._visibility&-2:i._visibility|1,y&&(s===null||j||Br||At||to(t)),s=null,i=t;;){if(i.tag===5||i.tag===26){if(s===null){j=s=i;try{if(v=j.stateNode,y)C=v.style,typeof C.setProperty=="function"?C.setProperty("display","none","important"):C.display="none";else{_=j.stateNode;var ue=j.memoizedProps.style,G=ue!=null&&ue.hasOwnProperty("display")?ue.display:null;_.style.display=G==null||typeof G=="boolean"?"":(""+G).trim()}}catch(xe){it(j,j.return,xe)}}}else if(i.tag===6){if(s===null){j=i;try{j.stateNode.nodeValue=y?"":j.memoizedProps}catch(xe){it(j,j.return,xe)}}}else if(i.tag===18){if(s===null){j=i;try{var X=j.stateNode;y?y0(X,!0):y0(j.stateNode,!1)}catch(xe){it(j,j.return,xe)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===t)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;i.sibling===null;){if(i.return===null||i.return===t)break e;s===i&&(s=null),i=i.return}s===i&&(s=null),i.sibling.return=i.return,i=i.sibling}c&4&&(c=t.updateQueue,c!==null&&(s=c.retryQueue,s!==null&&(c.retryQueue=null,xu(t,s))));break;case 19:rn(i,t),on(t),c&4&&(c=t.updateQueue,c!==null&&(t.updateQueue=null,xu(t,c)));break;case 30:break;case 21:break;default:rn(i,t),on(t)}}a(Rb,"commitMutationEffectsOnFiber");function on(t){var i=t.flags;if(i&2){try{for(var s,c=t.return;c!==null;){if(vb(c)){s=c;break}c=c.return}if(s==null)throw Error(o(160));switch(s.tag){case 27:var y=s.stateNode,v=Zd(t);Su(t,v,y);break;case 5:var C=s.stateNode;s.flags&32&&(_o(C,""),s.flags&=-33);var _=Zd(t);Su(t,_,C);break;case 3:case 4:var j=s.stateNode.containerInfo,$=Zd(t);Jd(t,$,j);break;default:throw Error(o(161))}}catch(ne){it(t,t.return,ne)}t.flags&=-3}i&4096&&(t.flags&=-4097)}a(on,"commitReconciliationEffects");function Ob(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var i=t;Ob(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),t=t.sibling}}a(Ob,"recursivelyResetForms");function Ur(t,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)xb(t,i.alternate,i),i=i.sibling}a(Ur,"recursivelyTraverseLayoutEffects");function to(t){for(t=t.child;t!==null;){var i=t;switch(i.tag){case 0:case 11:case 14:case 15:pi(4,i,i.return),to(i);break;case 1:ar(i,i.return);var s=i.stateNode;typeof s.componentWillUnmount=="function"&&yb(i,i.return,s),to(i);break;case 27:Ol(i.stateNode);case 26:case 5:ar(i,i.return),to(i);break;case 22:i.memoizedState===null&&to(i);break;case 30:to(i);break;default:to(i)}t=t.sibling}}a(to,"recursivelyTraverseDisappearLayoutEffects");function Fr(t,i,s){for(s=s&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var c=i.alternate,y=t,v=i,C=v.flags;switch(v.tag){case 0:case 11:case 15:Fr(y,v,s),gl(4,v);break;case 1:if(Fr(y,v,s),c=v,y=c.stateNode,typeof y.componentDidMount=="function")try{y.componentDidMount()}catch($){it(c,c.return,$)}if(c=v,y=c.updateQueue,y!==null){var _=c.stateNode;try{var j=y.shared.hiddenCallbacks;if(j!==null)for(y.shared.hiddenCallbacks=null,y=0;y<j.length;y++)iv(j[y],_)}catch($){it(c,c.return,$)}}s&&C&64&&mb(v),vl(v,v.return);break;case 27:bb(v);case 26:case 5:Fr(y,v,s),s&&c===null&&C&4&&gb(v),vl(v,v.return);break;case 12:Fr(y,v,s);break;case 31:Fr(y,v,s),s&&C&4&&Cb(y,v);break;case 13:Fr(y,v,s),s&&C&4&&Tb(y,v);break;case 22:v.memoizedState===null&&Fr(y,v,s),vl(v,v.return);break;case 30:break;default:Fr(y,v,s)}i=i.sibling}}a(Fr,"recursivelyTraverseReappearLayoutEffects");function tp(t,i){var s=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),t=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(t=i.memoizedState.cachePool.pool),t!==s&&(t!=null&&t.refCount++,s!=null&&il(s))}a(tp,"commitOffscreenPassiveMountEffects");function np(t,i){t=null,i.alternate!==null&&(t=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==t&&(i.refCount++,t!=null&&il(t))}a(np,"commitCachePassiveMountEffect");function Gn(t,i,s,c){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)Ab(t,i,s,c),i=i.sibling}a(Gn,"recursivelyTraversePassiveMountEffects");function Ab(t,i,s,c){var y=i.flags;switch(i.tag){case 0:case 11:case 15:Gn(t,i,s,c),y&2048&&gl(9,i);break;case 1:Gn(t,i,s,c);break;case 3:Gn(t,i,s,c),y&2048&&(t=null,i.alternate!==null&&(t=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==t&&(i.refCount++,t!=null&&il(t)));break;case 12:if(y&2048){Gn(t,i,s,c),t=i.stateNode;try{var v=i.memoizedProps,C=v.id,_=v.onPostCommit;typeof _=="function"&&_(C,i.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(j){it(i,i.return,j)}}else Gn(t,i,s,c);break;case 31:Gn(t,i,s,c);break;case 13:Gn(t,i,s,c);break;case 23:break;case 22:v=i.stateNode,C=i.alternate,i.memoizedState!==null?v._visibility&2?Gn(t,i,s,c):bl(t,i):v._visibility&2?Gn(t,i,s,c):(v._visibility|=2,Ko(t,i,s,c,(i.subtreeFlags&10256)!==0||!1)),y&2048&&tp(C,i);break;case 24:Gn(t,i,s,c),y&2048&&np(i.alternate,i);break;default:Gn(t,i,s,c)}}a(Ab,"commitPassiveMountOnFiber");function Ko(t,i,s,c,y){for(y=y&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var v=t,C=i,_=s,j=c,$=C.flags;switch(C.tag){case 0:case 11:case 15:Ko(v,C,_,j,y),gl(8,C);break;case 23:break;case 22:var ne=C.stateNode;C.memoizedState!==null?ne._visibility&2?Ko(v,C,_,j,y):bl(v,C):(ne._visibility|=2,Ko(v,C,_,j,y)),y&&$&2048&&tp(C.alternate,C);break;case 24:Ko(v,C,_,j,y),y&&$&2048&&np(C.alternate,C);break;default:Ko(v,C,_,j,y)}i=i.sibling}}a(Ko,"recursivelyTraverseReconnectPassiveEffects");function bl(t,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var s=t,c=i,y=c.flags;switch(c.tag){case 22:bl(s,c),y&2048&&tp(c.alternate,c);break;case 24:bl(s,c),y&2048&&np(c.alternate,c);break;default:bl(s,c)}i=i.sibling}}a(bl,"recursivelyTraverseAtomicPassiveEffects");var Sl=8192;function Xo(t,i,s){if(t.subtreeFlags&Sl)for(t=t.child;t!==null;)_b(t,i,s),t=t.sibling}a(Xo,"recursivelyAccumulateSuspenseyCommit");function _b(t,i,s){switch(t.tag){case 26:Xo(t,i,s),t.flags&Sl&&t.memoizedState!==null&&S_(s,Vn,t.memoizedState,t.memoizedProps);break;case 5:Xo(t,i,s);break;case 3:case 4:var c=Vn;Vn=Lu(t.stateNode.containerInfo),Xo(t,i,s),Vn=c;break;case 22:t.memoizedState===null&&(c=t.alternate,c!==null&&c.memoizedState!==null?(c=Sl,Sl=16777216,Xo(t,i,s),Sl=c):Xo(t,i,s));break;default:Xo(t,i,s)}}a(_b,"accumulateSuspenseyCommitOnFiber");function Mb(t){var i=t.alternate;if(i!==null&&(t=i.child,t!==null)){i.child=null;do i=t.sibling,t.sibling=null,t=i;while(t!==null)}}a(Mb,"detachAlternateSiblings");function xl(t){var i=t.deletions;if((t.flags&16)!==0){if(i!==null)for(var s=0;s<i.length;s++){var c=i[s];Pt=c,kb(c,t)}Mb(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Nb(t),t=t.sibling}a(xl,"recursivelyTraversePassiveUnmountEffects");function Nb(t){switch(t.tag){case 0:case 11:case 15:xl(t),t.flags&2048&&pi(9,t,t.return);break;case 3:xl(t);break;case 12:xl(t);break;case 22:var i=t.stateNode;t.memoizedState!==null&&i._visibility&2&&(t.return===null||t.return.tag!==13)?(i._visibility&=-3,wu(t)):xl(t);break;default:xl(t)}}a(Nb,"commitPassiveUnmountOnFiber");function wu(t){var i=t.deletions;if((t.flags&16)!==0){if(i!==null)for(var s=0;s<i.length;s++){var c=i[s];Pt=c,kb(c,t)}Mb(t)}for(t=t.child;t!==null;){switch(i=t,i.tag){case 0:case 11:case 15:pi(8,i,i.return),wu(i);break;case 22:s=i.stateNode,s._visibility&2&&(s._visibility&=-3,wu(i));break;default:wu(i)}t=t.sibling}}a(wu,"recursivelyTraverseDisconnectPassiveEffects");function kb(t,i){for(;Pt!==null;){var s=Pt;switch(s.tag){case 0:case 11:case 15:pi(8,s,i);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var c=s.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:il(s.memoizedState.cache)}if(c=s.child,c!==null)c.return=s,Pt=c;else e:for(s=t;Pt!==null;){c=Pt;var y=c.sibling,v=c.return;if(wb(c),c===s){Pt=null;break e}if(y!==null){y.return=v,Pt=y;break e}Pt=v}}}a(kb,"commitPassiveUnmountEffectsInsideOfDeletedTree_begin");var LA={getCacheForType:a(function(t){var i=jt(Tt),s=i.data.get(t);return s===void 0&&(s=t(),i.data.set(t,s)),s},"getCacheForType"),cacheSignal:a(function(){return jt(Tt).controller.signal},"cacheSignal")},zA=typeof WeakMap=="function"?WeakMap:Map,Ze=0,ut=null,qe=null,Ve=0,rt=0,gn=null,hi=!1,Wo=!1,rp=!1,qr=0,vt=0,mi=0,no=0,ip=0,vn=0,Zo=0,wl=null,an=null,op=!1,Eu=0,Db=0,Cu=1/0,Tu=null,yi=null,kt=0,gi=null,Jo=null,$r=0,ap=0,lp=null,Pb=null,El=0,sp=null;function bn(){return(Ze&2)!==0&&Ve!==0?Ve&-Ve:I.T!==null?hp():Xy()}a(bn,"requestUpdateLane");function Lb(){if(vn===0)if((Ve&536870912)===0||Qe){var t=Ds;Ds<<=1,(Ds&3932160)===0&&(Ds=262144),vn=t}else vn=536870912;return t=mn.current,t!==null&&(t.flags|=32),vn}a(Lb,"requestDeferredLane");function ln(t,i,s){(t===ut&&(rt===2||rt===9)||t.cancelPendingCommit!==null)&&(ea(t,0),vi(t,Ve,vn,!1)),$a(t,s),((Ze&2)===0||t!==ut)&&(t===ut&&((Ze&2)===0&&(no|=s),vt===4&&vi(t,Ve,vn,!1)),lr(t))}a(ln,"scheduleUpdateOnFiber");function zb(t,i,s){if((Ze&6)!==0)throw Error(o(327));var c=!s&&(i&127)===0&&(i&t.expiredLanes)===0||qa(t,i),y=c?BA(t,i):cp(t,i,!0),v=c;do{if(y===0){Wo&&!c&&vi(t,i,0,!1);break}else{if(s=t.current.alternate,v&&!jA(s)){y=cp(t,i,!1),v=!1;continue}if(y===2){if(v=i,t.errorRecoveryDisabledLanes&v)var C=0;else C=t.pendingLanes&-536870913,C=C!==0?C:C&536870912?536870912:0;if(C!==0){i=C;e:{var _=t;y=wl;var j=_.current.memoizedState.isDehydrated;if(j&&(ea(_,C).flags|=256),C=cp(_,C,!1),C!==2){if(rp&&!j){_.errorRecoveryDisabledLanes|=v,no|=v,y=4;break e}v=an,an=y,v!==null&&(an===null?an=v:an.push.apply(an,v))}y=C}if(v=!1,y!==2)continue}}if(y===1){ea(t,0),vi(t,i,0,!0);break}e:{switch(c=t,v=y,v){case 0:case 1:throw Error(o(345));case 4:if((i&4194048)!==i)break;case 6:vi(c,i,vn,!hi);break e;case 2:an=null;break;case 3:case 5:break;default:throw Error(o(329))}if((i&62914560)===i&&(y=Eu+300-Yt(),10<y)){if(vi(c,i,vn,!hi),Ls(c,0,!0)!==0)break e;$r=i,c.timeoutHandle=p0(jb.bind(null,c,s,an,Tu,op,i,vn,no,Zo,hi,v,"Throttled",-0,0),y);break e}jb(c,s,an,Tu,op,i,vn,no,Zo,hi,v,null,-0,0)}}break}while(!0);lr(t)}a(zb,"performWorkOnRoot");function jb(t,i,s,c,y,v,C,_,j,$,ne,ue,G,X){if(t.timeoutHandle=-1,ue=i.subtreeFlags,ue&8192||(ue&16785408)===16785408){ue={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:_r},_b(i,v,ue);var xe=(v&62914560)===v?Eu-Yt():(v&4194048)===v?Db-Yt():0;if(xe=x_(ue,xe),xe!==null){$r=v,t.cancelPendingCommit=xe(Vb.bind(null,t,i,v,s,c,y,C,_,j,ne,ue,null,G,X)),vi(t,v,C,!$);return}}Vb(t,i,v,s,c,y,C,_,j)}a(jb,"commitRootWhenReady");function jA(t){for(var i=t;;){var s=i.tag;if((s===0||s===11||s===15)&&i.flags&16384&&(s=i.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var c=0;c<s.length;c++){var y=s[c],v=y.getSnapshot;y=y.value;try{if(!pn(v(),y))return!1}catch{return!1}}if(s=i.child,i.subtreeFlags&16384&&s!==null)s.return=i,i=s;else{if(i===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}a(jA,"isRenderConsistentWithExternalStores");function vi(t,i,s,c){i&=~ip,i&=~no,t.suspendedLanes|=i,t.pingedLanes&=~i,c&&(t.warmLanes|=i),c=t.expirationTimes;for(var y=i;0<y;){var v=31-st(y),C=1<<v;c[v]=-1,y&=~C}s!==0&&Yy(t,s,i)}a(vi,"markRootSuspended");function Ru(){return(Ze&6)===0?(Cl(0),!1):!0}a(Ru,"flushSyncWork$1");function up(){if(qe!==null){if(rt===0)var t=qe.return;else t=qe,Dr=Yi=null,Td(t),$o=null,al=0,t=qe;for(;t!==null;)hb(t.alternate,t),t=t.return;qe=null}}a(up,"resetWorkInProgressStack");function ea(t,i){var s=t.timeoutHandle;s!==-1&&(t.timeoutHandle=-1,r_(s)),s=t.cancelPendingCommit,s!==null&&(t.cancelPendingCommit=null,s()),$r=0,up(),ut=t,qe=s=Nr(t.current,null),Ve=i,rt=0,gn=null,hi=!1,Wo=qa(t,i),rp=!1,Zo=vn=ip=no=mi=vt=0,an=wl=null,op=!1,(i&8)!==0&&(i|=i&32);var c=t.entangledLanes;if(c!==0)for(t=t.entanglements,c&=i;0<c;){var y=31-st(c),v=1<<y;i|=t[y],c&=~v}return qr=i,Ys(),s}a(ea,"prepareFreshStack");function Ib(t,i){Le=null,I.H=hl,i===qo||i===tu?(i=ev(),rt=3):i===pd?(i=ev(),rt=4):rt=i===Ud?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,gn=i,qe===null&&(vt=1,mu(t,_n(i,t.current)))}a(Ib,"handleThrow");function Bb(){var t=mn.current;return t===null?!0:(Ve&4194048)===Ve?Dn===null:(Ve&62914560)===Ve||(Ve&536870912)!==0?t===Dn:!1}a(Bb,"shouldRemainOnPreviousScreen");function Hb(){var t=I.H;return I.H=hl,t===null?hl:t}a(Hb,"pushDispatcher");function Ub(){var t=I.A;return I.A=LA,t}a(Ub,"pushAsyncDispatcher");function Ou(){vt=4,hi||(Ve&4194048)!==Ve&&mn.current!==null||(Wo=!0),(mi&134217727)===0&&(no&134217727)===0||ut===null||vi(ut,Ve,vn,!1)}a(Ou,"renderDidSuspendDelayIfPossible");function cp(t,i,s){var c=Ze;Ze|=2;var y=Hb(),v=Ub();(ut!==t||Ve!==i)&&(Tu=null,ea(t,i)),i=!1;var C=vt;e:do try{if(rt!==0&&qe!==null){var _=qe,j=gn;switch(rt){case 8:up(),C=6;break e;case 3:case 2:case 9:case 6:mn.current===null&&(i=!0);var $=rt;if(rt=0,gn=null,ta(t,_,j,$),s&&Wo){C=0;break e}break;default:$=rt,rt=0,gn=null,ta(t,_,j,$)}}IA(),C=vt;break}catch(ne){Ib(t,ne)}while(!0);return i&&t.shellSuspendCounter++,Dr=Yi=null,Ze=c,I.H=y,I.A=v,qe===null&&(ut=null,Ve=0,Ys()),C}a(cp,"renderRootSync");function IA(){for(;qe!==null;)Fb(qe)}a(IA,"workLoopSync");function BA(t,i){var s=Ze;Ze|=2;var c=Hb(),y=Ub();ut!==t||Ve!==i?(Tu=null,Cu=Yt()+500,ea(t,i)):Wo=qa(t,i);e:do try{if(rt!==0&&qe!==null){i=qe;var v=gn;t:switch(rt){case 1:rt=0,gn=null,ta(t,i,v,1);break;case 2:case 9:if(Zg(v)){rt=0,gn=null,qb(i);break}i=a(function(){rt!==2&&rt!==9||ut!==t||(rt=7),lr(t)},"lanes"),v.then(i,i);break e;case 3:rt=7;break e;case 4:rt=5;break e;case 7:Zg(v)?(rt=0,gn=null,qb(i)):(rt=0,gn=null,ta(t,i,v,7));break;case 5:var C=null;switch(qe.tag){case 26:C=qe.memoizedState;case 5:case 27:var _=qe;if(C?A0(C):_.stateNode.complete){rt=0,gn=null;var j=_.sibling;if(j!==null)qe=j;else{var $=_.return;$!==null?(qe=$,Au($)):qe=null}break t}}rt=0,gn=null,ta(t,i,v,5);break;case 6:rt=0,gn=null,ta(t,i,v,6);break;case 8:up(),vt=6;break e;default:throw Error(o(462))}}HA();break}catch(ne){Ib(t,ne)}while(!0);return Dr=Yi=null,I.H=c,I.A=y,Ze=s,qe!==null?0:(ut=null,Ve=0,Ys(),vt)}a(BA,"renderRootConcurrent");function HA(){for(;qe!==null&&!wo();)Fb(qe)}a(HA,"workLoopConcurrentByScheduler");function Fb(t){var i=db(t.alternate,t,qr);t.memoizedProps=t.pendingProps,i===null?Au(t):qe=i}a(Fb,"performUnitOfWork");function qb(t){var i=t,s=i.alternate;switch(i.tag){case 15:case 0:i=ab(s,i,i.pendingProps,i.type,void 0,Ve);break;case 11:i=ab(s,i,i.pendingProps,i.type.render,i.ref,Ve);break;case 5:Td(i);default:hb(s,i),i=qe=Ug(i,qr),i=db(s,i,qr)}t.memoizedProps=t.pendingProps,i===null?Au(t):qe=i}a(qb,"replaySuspendedUnitOfWork");function ta(t,i,s,c){Dr=Yi=null,Td(i),$o=null,al=0;var y=i.return;try{if(AA(t,y,i,s,Ve)){vt=1,mu(t,_n(s,t.current)),qe=null;return}}catch(v){if(y!==null)throw qe=y,v;vt=1,mu(t,_n(s,t.current)),qe=null;return}i.flags&32768?(Qe||c===1?t=!0:Wo||(Ve&536870912)!==0?t=!1:(hi=t=!0,(c===2||c===9||c===3||c===6)&&(c=mn.current,c!==null&&c.tag===13&&(c.flags|=16384))),$b(i,t)):Au(i)}a(ta,"throwAndUnwindWorkLoop");function Au(t){var i=t;do{if((i.flags&32768)!==0){$b(i,hi);return}t=i.return;var s=NA(i.alternate,i,qr);if(s!==null){qe=s;return}if(i=i.sibling,i!==null){qe=i;return}qe=i=t}while(i!==null);vt===0&&(vt=5)}a(Au,"completeUnitOfWork");function $b(t,i){do{var s=kA(t.alternate,t);if(s!==null){s.flags&=32767,qe=s;return}if(s=t.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!i&&(t=t.sibling,t!==null)){qe=t;return}qe=t=s}while(t!==null);vt=6,qe=null}a($b,"unwindUnitOfWork");function Vb(t,i,s,c,y,v,C,_,j){t.cancelPendingCommit=null;do _u();while(kt!==0);if((Ze&6)!==0)throw Error(o(327));if(i!==null){if(i===t.current)throw Error(o(177));if(v=i.lanes|i.childLanes,v|=Zf,bO(t,s,v,C,_,j),t===ut&&(qe=ut=null,Ve=0),Jo=i,gi=t,$r=s,ap=v,lp=y,Pb=c,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,$A(Me,function(){return Xb(),null})):(t.callbackNode=null,t.callbackPriority=0),c=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||c){c=I.T,I.T=null,y=W.p,W.p=2,C=Ze,Ze|=4;try{DA(t,i,s)}finally{Ze=C,W.p=y,I.T=c}}kt=1,Gb(),Yb(),Qb()}}a(Vb,"commitRoot");function Gb(){if(kt===1){kt=0;var t=gi,i=Jo,s=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||s){s=I.T,I.T=null;var c=W.p;W.p=2;var y=Ze;Ze|=4;try{Rb(i,t);var v=wp,C=kg(t.containerInfo),_=v.focusedElem,j=v.selectionRange;if(C!==_&&_&&_.ownerDocument&&Ng(_.ownerDocument.documentElement,_)){if(j!==null&&Yf(_)){var $=j.start,ne=j.end;if(ne===void 0&&(ne=$),"selectionStart"in _)_.selectionStart=$,_.selectionEnd=Math.min(ne,_.value.length);else{var ue=_.ownerDocument||document,G=ue&&ue.defaultView||window;if(G.getSelection){var X=G.getSelection(),xe=_.textContent.length,Ae=Math.min(j.start,xe),lt=j.end===void 0?Ae:Math.min(j.end,xe);!X.extend&&Ae>lt&&(C=lt,lt=Ae,Ae=C);var U=Mg(_,Ae),H=Mg(_,lt);if(U&&H&&(X.rangeCount!==1||X.anchorNode!==U.node||X.anchorOffset!==U.offset||X.focusNode!==H.node||X.focusOffset!==H.offset)){var q=ue.createRange();q.setStart(U.node,U.offset),X.removeAllRanges(),Ae>lt?(X.addRange(q),X.extend(H.node,H.offset)):(q.setEnd(H.node,H.offset),X.addRange(q))}}}}for(ue=[],X=_;X=X.parentNode;)X.nodeType===1&&ue.push({element:X,left:X.scrollLeft,top:X.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<ue.length;_++){var le=ue[_];le.element.scrollLeft=le.left,le.element.scrollTop=le.top}}Uu=!!xp,wp=xp=null}finally{Ze=y,W.p=c,I.T=s}}t.current=i,kt=2}}a(Gb,"flushMutationEffects");function Yb(){if(kt===2){kt=0;var t=gi,i=Jo,s=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||s){s=I.T,I.T=null;var c=W.p;W.p=2;var y=Ze;Ze|=4;try{xb(t,i.alternate,i)}finally{Ze=y,W.p=c,I.T=s}}kt=3}}a(Yb,"flushLayoutEffects");function Qb(){if(kt===4||kt===3){kt=0,Fa();var t=gi,i=Jo,s=$r,c=Pb;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?kt=5:(kt=0,Jo=gi=null,Kb(t,t.pendingLanes));var y=t.pendingLanes;if(y===0&&(yi=null),Af(s),i=i.stateNode,Nt&&typeof Nt.onCommitFiberRoot=="function")try{Nt.onCommitFiberRoot(Qt,i,void 0,(i.current.flags&128)===128)}catch{}if(c!==null){i=I.T,y=W.p,W.p=2,I.T=null;try{for(var v=t.onRecoverableError,C=0;C<c.length;C++){var _=c[C];v(_.value,{componentStack:_.stack})}}finally{I.T=i,W.p=y}}($r&3)!==0&&_u(),lr(t),y=t.pendingLanes,(s&261930)!==0&&(y&42)!==0?t===sp?El++:(El=0,sp=t):El=0,Cl(0)}}a(Qb,"flushSpawnedWork");function Kb(t,i){(t.pooledCacheLanes&=i)===0&&(i=t.pooledCache,i!=null&&(t.pooledCache=null,il(i)))}a(Kb,"releaseRootPooledCache");function _u(){return Gb(),Yb(),Qb(),Xb()}a(_u,"flushPendingEffects");function Xb(){if(kt!==5)return!1;var t=gi,i=ap;ap=0;var s=Af($r),c=I.T,y=W.p;try{W.p=32>s?32:s,I.T=null,s=lp,lp=null;var v=gi,C=$r;if(kt=0,Jo=gi=null,$r=0,(Ze&6)!==0)throw Error(o(331));var _=Ze;if(Ze|=4,Nb(v.current),Ab(v,v.current,C,s),Ze=_,Cl(0,!1),Nt&&typeof Nt.onPostCommitFiberRoot=="function")try{Nt.onPostCommitFiberRoot(Qt,v)}catch{}return!0}finally{W.p=y,I.T=c,Kb(t,i)}}a(Xb,"flushPassiveEffects");function Wb(t,i,s){i=_n(s,i),i=Hd(t.stateNode,i,2),t=ci(t,i,2),t!==null&&($a(t,2),lr(t))}a(Wb,"captureCommitPhaseErrorOnRoot");function it(t,i,s){if(t.tag===3)Wb(t,t,s);else for(;i!==null;){if(i.tag===3){Wb(i,t,s);break}else if(i.tag===1){var c=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(yi===null||!yi.has(c))){t=_n(s,t),s=Zv(2),c=ci(i,s,2),c!==null&&(Jv(s,c,i,t),$a(c,2),lr(c));break}}i=i.return}}a(it,"captureCommitPhaseError");function fp(t,i,s){var c=t.pingCache;if(c===null){c=t.pingCache=new zA;var y=new Set;c.set(i,y)}else y=c.get(i),y===void 0&&(y=new Set,c.set(i,y));y.has(s)||(rp=!0,y.add(s),t=UA.bind(null,t,i,s),i.then(t,t))}a(fp,"attachPingListener");function UA(t,i,s){var c=t.pingCache;c!==null&&c.delete(i),t.pingedLanes|=t.suspendedLanes&s,t.warmLanes&=~s,ut===t&&(Ve&s)===s&&(vt===4||vt===3&&(Ve&62914560)===Ve&&300>Yt()-Eu?(Ze&2)===0&&ea(t,0):ip|=s,Zo===Ve&&(Zo=0)),lr(t)}a(UA,"pingSuspendedRoot");function Zb(t,i){i===0&&(i=Gy()),t=$i(t,i),t!==null&&($a(t,i),lr(t))}a(Zb,"retryTimedOutBoundary");function FA(t){var i=t.memoizedState,s=0;i!==null&&(s=i.retryLane),Zb(t,s)}a(FA,"retryDehydratedSuspenseBoundary");function qA(t,i){var s=0;switch(t.tag){case 31:case 13:var c=t.stateNode,y=t.memoizedState;y!==null&&(s=y.retryLane);break;case 19:c=t.stateNode;break;case 22:c=t.stateNode._retryCache;break;default:throw Error(o(314))}c!==null&&c.delete(i),Zb(t,s)}a(qA,"resolveRetryWakeable");function $A(t,i){return ei(t,i)}a($A,"scheduleCallback$1");var Mu=null,na=null,dp=!1,Nu=!1,pp=!1,bi=0;function lr(t){t!==na&&t.next===null&&(na===null?Mu=na=t:na=na.next=t),Nu=!0,dp||(dp=!0,GA())}a(lr,"ensureRootIsScheduled");function Cl(t,i){if(!pp&&Nu){pp=!0;do for(var s=!1,c=Mu;c!==null;){if(t!==0){var y=c.pendingLanes;if(y===0)var v=0;else{var C=c.suspendedLanes,_=c.pingedLanes;v=(1<<31-st(42|t)+1)-1,v&=y&~(C&~_),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(s=!0,n0(c,v))}else v=Ve,v=Ls(c,c===ut?v:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(v&3)===0||qa(c,v)||(s=!0,n0(c,v));c=c.next}while(s);pp=!1}}a(Cl,"flushSyncWorkAcrossRoots_impl");function VA(){Jb()}a(VA,"processRootScheduleInImmediateTask");function Jb(){Nu=dp=!1;var t=0;bi!==0&&n_()&&(t=bi);for(var i=Yt(),s=null,c=Mu;c!==null;){var y=c.next,v=e0(c,i);v===0?(c.next=null,s===null?Mu=y:s.next=y,y===null&&(na=s)):(s=c,(t!==0||(v&3)!==0)&&(Nu=!0)),c=y}kt!==0&&kt!==5||Cl(t),bi!==0&&(bi=0)}a(Jb,"processRootScheduleInMicrotask");function e0(t,i){for(var s=t.suspendedLanes,c=t.pingedLanes,y=t.expirationTimes,v=t.pendingLanes&-62914561;0<v;){var C=31-st(v),_=1<<C,j=y[C];j===-1?((_&s)===0||(_&c)!==0)&&(y[C]=vO(_,i)):j<=i&&(t.expiredLanes|=_),v&=~_}if(i=ut,s=Ve,s=Ls(t,t===i?s:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),c=t.callbackNode,s===0||t===i&&(rt===2||rt===9)||t.cancelPendingCommit!==null)return c!==null&&c!==null&&Fn(c),t.callbackNode=null,t.callbackPriority=0;if((s&3)===0||qa(t,s)){if(i=s&-s,i===t.callbackPriority)return i;switch(c!==null&&Fn(c),Af(s)){case 2:case 8:s=ge;break;case 32:s=Me;break;case 268435456:s=et;break;default:s=Me}return c=t0.bind(null,t),s=ei(s,c),t.callbackPriority=i,t.callbackNode=s,i}return c!==null&&c!==null&&Fn(c),t.callbackPriority=2,t.callbackNode=null,2}a(e0,"scheduleTaskForRootDuringMicrotask");function t0(t,i){if(kt!==0&&kt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var s=t.callbackNode;if(_u()&&t.callbackNode!==s)return null;var c=Ve;return c=Ls(t,t===ut?c:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),c===0?null:(zb(t,c,i),e0(t,Yt()),t.callbackNode!=null&&t.callbackNode===s?t0.bind(null,t):null)}a(t0,"performWorkOnRootViaSchedulerTask");function n0(t,i){if(_u())return null;zb(t,i,!0)}a(n0,"performSyncWorkOnRoot");function GA(){i_(function(){(Ze&6)!==0?ei(ae,VA):Jb()})}a(GA,"scheduleImmediateRootScheduleTask");function hp(){if(bi===0){var t=Uo;t===0&&(t=ks,ks<<=1,(ks&261888)===0&&(ks=256)),bi=t}return bi}a(hp,"requestTransitionLane");function r0(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Bs(""+t)}a(r0,"coerceFormActionProp");function i0(t,i){var s=i.ownerDocument.createElement("input");return s.name=i.name,s.value=i.value,t.id&&s.setAttribute("form",t.id),i.parentNode.insertBefore(s,i),t=new FormData(t),s.parentNode.removeChild(s),t}a(i0,"createFormDataWithSubmitter");function YA(t,i,s,c,y){if(i==="submit"&&s&&s.stateNode===y){var v=r0((y[en]||null).action),C=c.submitter;C&&(i=(i=C[en]||null)?r0(i.formAction):C.getAttribute("formAction"),i!==null&&(v=i,C=null));var _=new qs("action","action",null,c,y);t.push({event:_,listeners:[{instance:null,listener:a(function(){if(c.defaultPrevented){if(bi!==0){var j=C?i0(y,C):new FormData(y);Pd(s,{pending:!0,data:j,method:y.method,action:v},null,j)}}else typeof v=="function"&&(_.preventDefault(),j=C?i0(y,C):new FormData(y),Pd(s,{pending:!0,data:j,method:y.method,action:v},v,j))},"listener"),currentTarget:y}]})}}a(YA,"extractEvents$1");for(var mp=0;mp<Wf.length;mp++){var yp=Wf[mp],QA=yp.toLowerCase(),KA=yp[0].toUpperCase()+yp.slice(1);$n(QA,"on"+KA)}$n(Lg,"onAnimationEnd"),$n(zg,"onAnimationIteration"),$n(jg,"onAnimationStart"),$n("dblclick","onDoubleClick"),$n("focusin","onFocus"),$n("focusout","onBlur"),$n(fA,"onTransitionRun"),$n(dA,"onTransitionStart"),$n(pA,"onTransitionCancel"),$n(Ig,"onTransitionEnd"),Oo("onMouseEnter",["mouseout","mouseover"]),Oo("onMouseLeave",["mouseout","mouseover"]),Oo("onPointerEnter",["pointerout","pointerover"]),Oo("onPointerLeave",["pointerout","pointerover"]),Hi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Hi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Hi("onBeforeInput",["compositionend","keypress","textInput","paste"]),Hi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Hi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Hi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Tl="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(" "),XA=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Tl));function o0(t,i){i=(i&4)!==0;for(var s=0;s<t.length;s++){var c=t[s],y=c.event;c=c.listeners;e:{var v=void 0;if(i)for(var C=c.length-1;0<=C;C--){var _=c[C],j=_.instance,$=_.currentTarget;if(_=_.listener,j!==v&&y.isPropagationStopped())break e;v=_,y.currentTarget=$;try{v(y)}catch(ne){Gs(ne)}y.currentTarget=null,v=j}else for(C=0;C<c.length;C++){if(_=c[C],j=_.instance,$=_.currentTarget,_=_.listener,j!==v&&y.isPropagationStopped())break e;v=_,y.currentTarget=$;try{v(y)}catch(ne){Gs(ne)}y.currentTarget=null,v=j}}}}a(o0,"processDispatchQueue");function $e(t,i){var s=i[_f];s===void 0&&(s=i[_f]=new Set);var c=t+"__bubble";s.has(c)||(a0(i,t,2,!1),s.add(c))}a($e,"listenToNonDelegatedEvent");function gp(t,i,s){var c=0;i&&(c|=4),a0(s,t,c,i)}a(gp,"listenToNativeEvent");var ku="_reactListening"+Math.random().toString(36).slice(2);function vp(t){if(!t[ku]){t[ku]=!0,Jy.forEach(function(s){s!=="selectionchange"&&(XA.has(s)||gp(s,!1,t),gp(s,!0,t))});var i=t.nodeType===9?t:t.ownerDocument;i===null||i[ku]||(i[ku]=!0,gp("selectionchange",!1,i))}}a(vp,"listenToAllSupportedEvents");function a0(t,i,s,c){switch(L0(i)){case 2:var y=C_;break;case 8:y=T_;break;default:y=Dp}s=y.bind(null,i,s,t),y=void 0,!If||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(y=!0),c?y!==void 0?t.addEventListener(i,s,{capture:!0,passive:y}):t.addEventListener(i,s,!0):y!==void 0?t.addEventListener(i,s,{passive:y}):t.addEventListener(i,s,!1)}a(a0,"addTrappedEventListener");function bp(t,i,s,c,y){var v=c;if((i&1)===0&&(i&2)===0&&c!==null)e:for(;;){if(c===null)return;var C=c.tag;if(C===3||C===4){var _=c.stateNode.containerInfo;if(_===y)break;if(C===4)for(C=c.return;C!==null;){var j=C.tag;if((j===3||j===4)&&C.stateNode.containerInfo===y)return;C=C.return}for(;_!==null;){if(C=Co(_),C===null)return;if(j=C.tag,j===5||j===6||j===26||j===27){c=v=C;continue e}_=_.parentNode}}c=c.return}fg(function(){var $=v,ne=zf(s),ue=[];e:{var G=Bg.get(t);if(G!==void 0){var X=qs,xe=t;switch(t){case"keypress":if(Us(s)===0)break e;case"keydown":case"keyup":X=qO;break;case"focusin":xe="focus",X=Ff;break;case"focusout":xe="blur",X=Ff;break;case"beforeblur":case"afterblur":X=Ff;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":X=hg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":X=NO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":X=GO;break;case Lg:case zg:case jg:X=PO;break;case Ig:X=QO;break;case"scroll":case"scrollend":X=_O;break;case"wheel":X=XO;break;case"copy":case"cut":case"paste":X=zO;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":X=yg;break;case"toggle":case"beforetoggle":X=ZO}var Ae=(i&4)!==0,lt=!Ae&&(t==="scroll"||t==="scrollend"),U=Ae?G!==null?G+"Capture":null:G;Ae=[];for(var H=$,q;H!==null;){var le=H;if(q=le.stateNode,le=le.tag,le!==5&&le!==26&&le!==27||q===null||U===null||(le=Ya(H,U),le!=null&&Ae.push(Rl(H,le,q))),lt)break;H=H.return}0<Ae.length&&(G=new X(G,xe,null,s,ne),ue.push({event:G,listeners:Ae}))}}if((i&7)===0){e:{if(G=t==="mouseover"||t==="pointerover",X=t==="mouseout"||t==="pointerout",G&&s!==Lf&&(xe=s.relatedTarget||s.fromElement)&&(Co(xe)||xe[Eo]))break e;if((X||G)&&(G=ne.window===ne?ne:(G=ne.ownerDocument)?G.defaultView||G.parentWindow:window,X?(xe=s.relatedTarget||s.toElement,X=$,xe=xe?Co(xe):null,xe!==null&&(lt=u(xe),Ae=xe.tag,xe!==lt||Ae!==5&&Ae!==27&&Ae!==6)&&(xe=null)):(X=null,xe=$),X!==xe)){if(Ae=hg,le="onMouseLeave",U="onMouseEnter",H="mouse",(t==="pointerout"||t==="pointerover")&&(Ae=yg,le="onPointerLeave",U="onPointerEnter",H="pointer"),lt=X==null?G:Ga(X),q=xe==null?G:Ga(xe),G=new Ae(le,H+"leave",X,s,ne),G.target=lt,G.relatedTarget=q,le=null,Co(ne)===$&&(Ae=new Ae(U,H+"enter",xe,s,ne),Ae.target=q,Ae.relatedTarget=lt,le=Ae),lt=le,X&&xe)t:{for(Ae=WA,U=X,H=xe,q=0,le=U;le;le=Ae(le))q++;le=0;for(var Oe=H;Oe;Oe=Ae(Oe))le++;for(;0<q-le;)U=Ae(U),q--;for(;0<le-q;)H=Ae(H),le--;for(;q--;){if(U===H||H!==null&&U===H.alternate){Ae=U;break t}U=Ae(U),H=Ae(H)}Ae=null}else Ae=null;X!==null&&l0(ue,G,X,Ae,!1),xe!==null&<!==null&&l0(ue,lt,xe,Ae,!0)}}e:{if(G=$?Ga($):window,X=G.nodeName&&G.nodeName.toLowerCase(),X==="select"||X==="input"&&G.type==="file")var Xe=Cg;else if(wg(G))if(Tg)Xe=sA;else{Xe=aA;var Ce=oA}else X=G.nodeName,!X||X.toLowerCase()!=="input"||G.type!=="checkbox"&&G.type!=="radio"?$&&Pf($.elementType)&&(Xe=Cg):Xe=lA;if(Xe&&(Xe=Xe(t,$))){Eg(ue,Xe,s,ne);break e}Ce&&Ce(t,G,$),t==="focusout"&&$&&G.type==="number"&&$.memoizedProps.value!=null&&Df(G,"number",G.value)}switch(Ce=$?Ga($):window,t){case"focusin":(wg(Ce)||Ce.contentEditable==="true")&&(Do=Ce,Qf=$,tl=null);break;case"focusout":tl=Qf=Do=null;break;case"mousedown":Kf=!0;break;case"contextmenu":case"mouseup":case"dragend":Kf=!1,Dg(ue,s,ne);break;case"selectionchange":if(cA)break;case"keydown":case"keyup":Dg(ue,s,ne)}var je;if($f)e:{switch(t){case"compositionstart":var Ge="onCompositionStart";break e;case"compositionend":Ge="onCompositionEnd";break e;case"compositionupdate":Ge="onCompositionUpdate";break e}Ge=void 0}else ko?Sg(t,s)&&(Ge="onCompositionEnd"):t==="keydown"&&s.keyCode===229&&(Ge="onCompositionStart");Ge&&(gg&&s.locale!=="ko"&&(ko||Ge!=="onCompositionStart"?Ge==="onCompositionEnd"&&ko&&(je=dg()):(ri=ne,Bf="value"in ri?ri.value:ri.textContent,ko=!0)),Ce=Du($,Ge),0<Ce.length&&(Ge=new mg(Ge,t,null,s,ne),ue.push({event:Ge,listeners:Ce}),je?Ge.data=je:(je=xg(s),je!==null&&(Ge.data=je)))),(je=eA?tA(t,s):nA(t,s))&&(Ge=Du($,"onBeforeInput"),0<Ge.length&&(Ce=new mg("onBeforeInput","beforeinput",null,s,ne),ue.push({event:Ce,listeners:Ge}),Ce.data=je)),YA(ue,t,$,s,ne)}o0(ue,i)})}a(bp,"dispatchEventForPluginEventSystem");function Rl(t,i,s){return{instance:t,listener:i,currentTarget:s}}a(Rl,"createDispatchListener");function Du(t,i){for(var s=i+"Capture",c=[];t!==null;){var y=t,v=y.stateNode;if(y=y.tag,y!==5&&y!==26&&y!==27||v===null||(y=Ya(t,s),y!=null&&c.unshift(Rl(t,y,v)),y=Ya(t,i),y!=null&&c.push(Rl(t,y,v))),t.tag===3)return c;t=t.return}return[]}a(Du,"accumulateTwoPhaseListeners");function WA(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}a(WA,"getParent");function l0(t,i,s,c,y){for(var v=i._reactName,C=[];s!==null&&s!==c;){var _=s,j=_.alternate,$=_.stateNode;if(_=_.tag,j!==null&&j===c)break;_!==5&&_!==26&&_!==27||$===null||(j=$,y?($=Ya(s,v),$!=null&&C.unshift(Rl(s,$,j))):y||($=Ya(s,v),$!=null&&C.push(Rl(s,$,j)))),s=s.return}C.length!==0&&t.push({event:i,listeners:C})}a(l0,"accumulateEnterLeaveListenersForEvent");var ZA=/\r\n?/g,JA=/\u0000|\uFFFD/g;function s0(t){return(typeof t=="string"?t:""+t).replace(ZA,`
|
|
49
|
+
`).replace(JA,"")}a(s0,"normalizeMarkupForTextOrAttribute");function u0(t,i){return i=s0(i),s0(t)===i}a(u0,"checkForUnmatchedText");function at(t,i,s,c,y,v){switch(s){case"children":typeof c=="string"?i==="body"||i==="textarea"&&c===""||_o(t,c):(typeof c=="number"||typeof c=="bigint")&&i!=="body"&&_o(t,""+c);break;case"className":js(t,"class",c);break;case"tabIndex":js(t,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":js(t,s,c);break;case"style":ug(t,c,v);break;case"data":if(i!=="object"){js(t,"data",c);break}case"src":case"href":if(c===""&&(i!=="a"||s!=="href")){t.removeAttribute(s);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){t.removeAttribute(s);break}c=Bs(""+c),t.setAttribute(s,c);break;case"action":case"formAction":if(typeof c=="function"){t.setAttribute(s,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof v=="function"&&(s==="formAction"?(i!=="input"&&at(t,i,"name",y.name,y,null),at(t,i,"formEncType",y.formEncType,y,null),at(t,i,"formMethod",y.formMethod,y,null),at(t,i,"formTarget",y.formTarget,y,null)):(at(t,i,"encType",y.encType,y,null),at(t,i,"method",y.method,y,null),at(t,i,"target",y.target,y,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){t.removeAttribute(s);break}c=Bs(""+c),t.setAttribute(s,c);break;case"onClick":c!=null&&(t.onclick=_r);break;case"onScroll":c!=null&&$e("scroll",t);break;case"onScrollEnd":c!=null&&$e("scrollend",t);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(o(61));if(s=c.__html,s!=null){if(y.children!=null)throw Error(o(60));t.innerHTML=s}}break;case"multiple":t.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":t.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){t.removeAttribute("xlink:href");break}s=Bs(""+c),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?t.setAttribute(s,""+c):t.removeAttribute(s);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?t.setAttribute(s,""):t.removeAttribute(s);break;case"capture":case"download":c===!0?t.setAttribute(s,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?t.setAttribute(s,c):t.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?t.setAttribute(s,c):t.removeAttribute(s);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?t.removeAttribute(s):t.setAttribute(s,c);break;case"popover":$e("beforetoggle",t),$e("toggle",t),zs(t,"popover",c);break;case"xlinkActuate":Ar(t,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":Ar(t,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":Ar(t,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":Ar(t,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":Ar(t,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":Ar(t,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":Ar(t,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":Ar(t,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":Ar(t,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":zs(t,"is",c);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=OO.get(s)||s,zs(t,s,c))}}a(at,"setProp");function Sp(t,i,s,c,y,v){switch(s){case"style":ug(t,c,v);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(o(61));if(s=c.__html,s!=null){if(y.children!=null)throw Error(o(60));t.innerHTML=s}}break;case"children":typeof c=="string"?_o(t,c):(typeof c=="number"||typeof c=="bigint")&&_o(t,""+c);break;case"onScroll":c!=null&&$e("scroll",t);break;case"onScrollEnd":c!=null&&$e("scrollend",t);break;case"onClick":c!=null&&(t.onclick=_r);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!eg.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(y=s.endsWith("Capture"),i=s.slice(2,y?s.length-7:void 0),v=t[en]||null,v=v!=null?v[s]:null,typeof v=="function"&&t.removeEventListener(i,v,y),typeof c=="function")){typeof v!="function"&&v!==null&&(s in t?t[s]=null:t.hasAttribute(s)&&t.removeAttribute(s)),t.addEventListener(i,c,y);break e}s in t?t[s]=c:c===!0?t.setAttribute(s,""):zs(t,s,c)}}}a(Sp,"setPropOnCustomElement");function Bt(t,i,s){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":$e("error",t),$e("load",t);var c=!1,y=!1,v;for(v in s)if(s.hasOwnProperty(v)){var C=s[v];if(C!=null)switch(v){case"src":c=!0;break;case"srcSet":y=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,i));default:at(t,i,v,C,s,null)}}y&&at(t,i,"srcSet",s.srcSet,s,null),c&&at(t,i,"src",s.src,s,null);return;case"input":$e("invalid",t);var _=v=C=y=null,j=null,$=null;for(c in s)if(s.hasOwnProperty(c)){var ne=s[c];if(ne!=null)switch(c){case"name":y=ne;break;case"type":C=ne;break;case"checked":j=ne;break;case"defaultChecked":$=ne;break;case"value":v=ne;break;case"defaultValue":_=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(o(137,i));break;default:at(t,i,c,ne,s,null)}}og(t,v,_,j,$,C,y,!1);return;case"select":$e("invalid",t),c=C=v=null;for(y in s)if(s.hasOwnProperty(y)&&(_=s[y],_!=null))switch(y){case"value":v=_;break;case"defaultValue":C=_;break;case"multiple":c=_;default:at(t,i,y,_,s,null)}i=v,s=C,t.multiple=!!c,i!=null?Ao(t,!!c,i,!1):s!=null&&Ao(t,!!c,s,!0);return;case"textarea":$e("invalid",t),v=y=c=null;for(C in s)if(s.hasOwnProperty(C)&&(_=s[C],_!=null))switch(C){case"value":c=_;break;case"defaultValue":y=_;break;case"children":v=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error(o(91));break;default:at(t,i,C,_,s,null)}lg(t,c,y,v);return;case"option":for(j in s)if(s.hasOwnProperty(j)&&(c=s[j],c!=null))switch(j){case"selected":t.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:at(t,i,j,c,s,null)}return;case"dialog":$e("beforetoggle",t),$e("toggle",t),$e("cancel",t),$e("close",t);break;case"iframe":case"object":$e("load",t);break;case"video":case"audio":for(c=0;c<Tl.length;c++)$e(Tl[c],t);break;case"image":$e("error",t),$e("load",t);break;case"details":$e("toggle",t);break;case"embed":case"source":case"link":$e("error",t),$e("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for($ in s)if(s.hasOwnProperty($)&&(c=s[$],c!=null))switch($){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,i));default:at(t,i,$,c,s,null)}return;default:if(Pf(i)){for(ne in s)s.hasOwnProperty(ne)&&(c=s[ne],c!==void 0&&Sp(t,i,ne,c,s,void 0));return}}for(_ in s)s.hasOwnProperty(_)&&(c=s[_],c!=null&&at(t,i,_,c,s,null))}a(Bt,"setInitialProperties");function e_(t,i,s,c){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var y=null,v=null,C=null,_=null,j=null,$=null,ne=null;for(X in s){var ue=s[X];if(s.hasOwnProperty(X)&&ue!=null)switch(X){case"checked":break;case"value":break;case"defaultValue":j=ue;default:c.hasOwnProperty(X)||at(t,i,X,null,c,ue)}}for(var G in c){var X=c[G];if(ue=s[G],c.hasOwnProperty(G)&&(X!=null||ue!=null))switch(G){case"type":v=X;break;case"name":y=X;break;case"checked":$=X;break;case"defaultChecked":ne=X;break;case"value":C=X;break;case"defaultValue":_=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(o(137,i));break;default:X!==ue&&at(t,i,G,X,c,ue)}}kf(t,C,_,j,$,ne,v,y);return;case"select":X=C=_=G=null;for(v in s)if(j=s[v],s.hasOwnProperty(v)&&j!=null)switch(v){case"value":break;case"multiple":X=j;default:c.hasOwnProperty(v)||at(t,i,v,null,c,j)}for(y in c)if(v=c[y],j=s[y],c.hasOwnProperty(y)&&(v!=null||j!=null))switch(y){case"value":G=v;break;case"defaultValue":_=v;break;case"multiple":C=v;default:v!==j&&at(t,i,y,v,c,j)}i=_,s=C,c=X,G!=null?Ao(t,!!s,G,!1):!!c!=!!s&&(i!=null?Ao(t,!!s,i,!0):Ao(t,!!s,s?[]:"",!1));return;case"textarea":X=G=null;for(_ in s)if(y=s[_],s.hasOwnProperty(_)&&y!=null&&!c.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:at(t,i,_,null,c,y)}for(C in c)if(y=c[C],v=s[C],c.hasOwnProperty(C)&&(y!=null||v!=null))switch(C){case"value":G=y;break;case"defaultValue":X=y;break;case"children":break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(o(91));break;default:y!==v&&at(t,i,C,y,c,v)}ag(t,G,X);return;case"option":for(var xe in s)if(G=s[xe],s.hasOwnProperty(xe)&&G!=null&&!c.hasOwnProperty(xe))switch(xe){case"selected":t.selected=!1;break;default:at(t,i,xe,null,c,G)}for(j in c)if(G=c[j],X=s[j],c.hasOwnProperty(j)&&G!==X&&(G!=null||X!=null))switch(j){case"selected":t.selected=G&&typeof G!="function"&&typeof G!="symbol";break;default:at(t,i,j,G,c,X)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ae in s)G=s[Ae],s.hasOwnProperty(Ae)&&G!=null&&!c.hasOwnProperty(Ae)&&at(t,i,Ae,null,c,G);for($ in c)if(G=c[$],X=s[$],c.hasOwnProperty($)&&G!==X&&(G!=null||X!=null))switch($){case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(o(137,i));break;default:at(t,i,$,G,c,X)}return;default:if(Pf(i)){for(var lt in s)G=s[lt],s.hasOwnProperty(lt)&&G!==void 0&&!c.hasOwnProperty(lt)&&Sp(t,i,lt,void 0,c,G);for(ne in c)G=c[ne],X=s[ne],!c.hasOwnProperty(ne)||G===X||G===void 0&&X===void 0||Sp(t,i,ne,G,c,X);return}}for(var U in s)G=s[U],s.hasOwnProperty(U)&&G!=null&&!c.hasOwnProperty(U)&&at(t,i,U,null,c,G);for(ue in c)G=c[ue],X=s[ue],!c.hasOwnProperty(ue)||G===X||G==null&&X==null||at(t,i,ue,G,c,X)}a(e_,"updateProperties");function c0(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}a(c0,"isLikelyStaticResource");function t_(){if(typeof performance.getEntriesByType=="function"){for(var t=0,i=0,s=performance.getEntriesByType("resource"),c=0;c<s.length;c++){var y=s[c],v=y.transferSize,C=y.initiatorType,_=y.duration;if(v&&_&&c0(C)){for(C=0,_=y.responseEnd,c+=1;c<s.length;c++){var j=s[c],$=j.startTime;if($>_)break;var ne=j.transferSize,ue=j.initiatorType;ne&&c0(ue)&&(j=j.responseEnd,C+=ne*(j<_?1:(_-$)/(j-$)))}if(--c,i+=8*(v+C)/(y.duration/1e3),t++,10<t)break}}if(0<t)return i/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}a(t_,"estimateBandwidth");var xp=null,wp=null;function Pu(t){return t.nodeType===9?t:t.ownerDocument}a(Pu,"getOwnerDocumentFromRootContainer");function f0(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}a(f0,"getOwnHostContext");function d0(t,i){if(t===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&i==="foreignObject"?0:t}a(d0,"getChildHostContextProd");function Ep(t,i){return t==="textarea"||t==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}a(Ep,"shouldSetTextContent");var Cp=null;function n_(){var t=window.event;return t&&t.type==="popstate"?t===Cp?!1:(Cp=t,!0):(Cp=null,!1)}a(n_,"shouldAttemptEagerTransition");var p0=typeof setTimeout=="function"?setTimeout:void 0,r_=typeof clearTimeout=="function"?clearTimeout:void 0,h0=typeof Promise=="function"?Promise:void 0,i_=typeof queueMicrotask=="function"?queueMicrotask:typeof h0<"u"?function(t){return h0.resolve(null).then(t).catch(o_)}:p0;function o_(t){setTimeout(function(){throw t})}a(o_,"handleErrorInNextTick");function Si(t){return t==="head"}a(Si,"isSingletonScope");function m0(t,i){var s=i,c=0;do{var y=s.nextSibling;if(t.removeChild(s),y&&y.nodeType===8)if(s=y.data,s==="/$"||s==="/&"){if(c===0){t.removeChild(y),aa(i);return}c--}else if(s==="$"||s==="$?"||s==="$~"||s==="$!"||s==="&")c++;else if(s==="html")Ol(t.ownerDocument.documentElement);else if(s==="head"){s=t.ownerDocument.head,Ol(s);for(var v=s.firstChild;v;){var C=v.nextSibling,_=v.nodeName;v[Va]||_==="SCRIPT"||_==="STYLE"||_==="LINK"&&v.rel.toLowerCase()==="stylesheet"||s.removeChild(v),v=C}}else s==="body"&&Ol(t.ownerDocument.body);s=y}while(s);aa(i)}a(m0,"clearHydrationBoundary");function y0(t,i){var s=t;t=0;do{var c=s.nextSibling;if(s.nodeType===1?i?(s._stashedDisplay=s.style.display,s.style.display="none"):(s.style.display=s._stashedDisplay||"",s.getAttribute("style")===""&&s.removeAttribute("style")):s.nodeType===3&&(i?(s._stashedText=s.nodeValue,s.nodeValue=""):s.nodeValue=s._stashedText||""),c&&c.nodeType===8)if(s=c.data,s==="/$"){if(t===0)break;t--}else s!=="$"&&s!=="$?"&&s!=="$~"&&s!=="$!"||t++;s=c}while(s)}a(y0,"hideOrUnhideDehydratedBoundary");function Tp(t){var i=t.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var s=i;switch(i=i.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":Tp(s),Mf(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}t.removeChild(s)}}a(Tp,"clearContainerSparingly");function a_(t,i,s,c){for(;t.nodeType===1;){var y=s;if(t.nodeName.toLowerCase()!==i.toLowerCase()){if(!c&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(c){if(!t[Va])switch(i){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(v=t.getAttribute("rel"),v==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(v!==y.rel||t.getAttribute("href")!==(y.href==null||y.href===""?null:y.href)||t.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin)||t.getAttribute("title")!==(y.title==null?null:y.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(v=t.getAttribute("src"),(v!==(y.src==null?null:y.src)||t.getAttribute("type")!==(y.type==null?null:y.type)||t.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin))&&v&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(i==="input"&&t.type==="hidden"){var v=y.name==null?null:""+y.name;if(y.type==="hidden"&&t.getAttribute("name")===v)return t}else return t;if(t=Pn(t.nextSibling),t===null)break}return null}a(a_,"canHydrateInstance");function l_(t,i,s){if(i==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!s||(t=Pn(t.nextSibling),t===null))return null;return t}a(l_,"canHydrateTextInstance");function g0(t,i){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!i||(t=Pn(t.nextSibling),t===null))return null;return t}a(g0,"canHydrateHydrationBoundary");function Rp(t){return t.data==="$?"||t.data==="$~"}a(Rp,"isSuspenseInstancePending");function Op(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}a(Op,"isSuspenseInstanceFallback");function s_(t,i){var s=t.ownerDocument;if(t.data==="$~")t._reactRetry=i;else if(t.data!=="$?"||s.readyState!=="loading")i();else{var c=a(function(){i(),s.removeEventListener("DOMContentLoaded",c)},"listener");s.addEventListener("DOMContentLoaded",c),t._reactRetry=c}}a(s_,"registerSuspenseInstanceRetry");function Pn(t){for(;t!=null;t=t.nextSibling){var i=t.nodeType;if(i===1||i===3)break;if(i===8){if(i=t.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return t}a(Pn,"getNextHydratable");var Ap=null;function v0(t){t=t.nextSibling;for(var i=0;t;){if(t.nodeType===8){var s=t.data;if(s==="/$"||s==="/&"){if(i===0)return Pn(t.nextSibling);i--}else s!=="$"&&s!=="$!"&&s!=="$?"&&s!=="$~"&&s!=="&"||i++}t=t.nextSibling}return null}a(v0,"getNextHydratableInstanceAfterHydrationBoundary");function b0(t){t=t.previousSibling;for(var i=0;t;){if(t.nodeType===8){var s=t.data;if(s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"){if(i===0)return t;i--}else s!=="/$"&&s!=="/&"||i++}t=t.previousSibling}return null}a(b0,"getParentHydrationBoundary");function S0(t,i,s){switch(i=Pu(s),t){case"html":if(t=i.documentElement,!t)throw Error(o(452));return t;case"head":if(t=i.head,!t)throw Error(o(453));return t;case"body":if(t=i.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}a(S0,"resolveSingletonInstance");function Ol(t){for(var i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Mf(t)}a(Ol,"releaseSingletonInstance");var Ln=new Map,x0=new Set;function Lu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}a(Lu,"getHoistableRoot");var Vr=W.d;W.d={f:u_,r:c_,D:f_,C:d_,L:p_,m:h_,X:y_,S:m_,M:g_};function u_(){var t=Vr.f(),i=Ru();return t||i}a(u_,"flushSyncWork");function c_(t){var i=To(t);i!==null&&i.tag===5&&i.type==="form"?Iv(i):Vr.r(t)}a(c_,"requestFormReset");var ra=typeof document>"u"?null:document;function w0(t,i,s){var c=ra;if(c&&typeof i=="string"&&i){var y=On(i);y='link[rel="'+t+'"][href="'+y+'"]',typeof s=="string"&&(y+='[crossorigin="'+s+'"]'),x0.has(y)||(x0.add(y),t={rel:t,crossOrigin:s,href:i},c.querySelector(y)===null&&(i=c.createElement("link"),Bt(i,"link",t),Dt(i),c.head.appendChild(i)))}}a(w0,"preconnectAs");function f_(t){Vr.D(t),w0("dns-prefetch",t,null)}a(f_,"prefetchDNS");function d_(t,i){Vr.C(t,i),w0("preconnect",t,i)}a(d_,"preconnect");function p_(t,i,s){Vr.L(t,i,s);var c=ra;if(c&&t&&i){var y='link[rel="preload"][as="'+On(i)+'"]';i==="image"&&s&&s.imageSrcSet?(y+='[imagesrcset="'+On(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(y+='[imagesizes="'+On(s.imageSizes)+'"]')):y+='[href="'+On(t)+'"]';var v=y;switch(i){case"style":v=ia(t);break;case"script":v=oa(t)}Ln.has(v)||(t=g({rel:"preload",href:i==="image"&&s&&s.imageSrcSet?void 0:t,as:i},s),Ln.set(v,t),c.querySelector(y)!==null||i==="style"&&c.querySelector(Al(v))||i==="script"&&c.querySelector(_l(v))||(i=c.createElement("link"),Bt(i,"link",t),Dt(i),c.head.appendChild(i)))}}a(p_,"preload");function h_(t,i){Vr.m(t,i);var s=ra;if(s&&t){var c=i&&typeof i.as=="string"?i.as:"script",y='link[rel="modulepreload"][as="'+On(c)+'"][href="'+On(t)+'"]',v=y;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=oa(t)}if(!Ln.has(v)&&(t=g({rel:"modulepreload",href:t},i),Ln.set(v,t),s.querySelector(y)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(_l(v)))return}c=s.createElement("link"),Bt(c,"link",t),Dt(c),s.head.appendChild(c)}}}a(h_,"preloadModule");function m_(t,i,s){Vr.S(t,i,s);var c=ra;if(c&&t){var y=Ro(c).hoistableStyles,v=ia(t);i=i||"default";var C=y.get(v);if(!C){var _={loading:0,preload:null};if(C=c.querySelector(Al(v)))_.loading=5;else{t=g({rel:"stylesheet",href:t,"data-precedence":i},s),(s=Ln.get(v))&&_p(t,s);var j=C=c.createElement("link");Dt(j),Bt(j,"link",t),j._p=new Promise(function($,ne){j.onload=$,j.onerror=ne}),j.addEventListener("load",function(){_.loading|=1}),j.addEventListener("error",function(){_.loading|=2}),_.loading|=4,zu(C,i,c)}C={type:"stylesheet",instance:C,count:1,state:_},y.set(v,C)}}}a(m_,"preinitStyle");function y_(t,i){Vr.X(t,i);var s=ra;if(s&&t){var c=Ro(s).hoistableScripts,y=oa(t),v=c.get(y);v||(v=s.querySelector(_l(y)),v||(t=g({src:t,async:!0},i),(i=Ln.get(y))&&Mp(t,i),v=s.createElement("script"),Dt(v),Bt(v,"link",t),s.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},c.set(y,v))}}a(y_,"preinitScript");function g_(t,i){Vr.M(t,i);var s=ra;if(s&&t){var c=Ro(s).hoistableScripts,y=oa(t),v=c.get(y);v||(v=s.querySelector(_l(y)),v||(t=g({src:t,async:!0,type:"module"},i),(i=Ln.get(y))&&Mp(t,i),v=s.createElement("script"),Dt(v),Bt(v,"link",t),s.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},c.set(y,v))}}a(g_,"preinitModuleScript");function E0(t,i,s,c){var y=(y=ce.current)?Lu(y):null;if(!y)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(i=ia(s.href),s=Ro(y).hoistableStyles,c=s.get(i),c||(c={type:"style",instance:null,count:0,state:null},s.set(i,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){t=ia(s.href);var v=Ro(y).hoistableStyles,C=v.get(t);if(C||(y=y.ownerDocument||y,C={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(t,C),(v=y.querySelector(Al(t)))&&!v._p&&(C.instance=v,C.state.loading=5),Ln.has(t)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},Ln.set(t,s),v||v_(y,t,s,C.state))),i&&c===null)throw Error(o(528,""));return C}if(i&&c!==null)throw Error(o(529,""));return null;case"script":return i=s.async,s=s.src,typeof s=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=oa(s),s=Ro(y).hoistableScripts,c=s.get(i),c||(c={type:"script",instance:null,count:0,state:null},s.set(i,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}a(E0,"getResource");function ia(t){return'href="'+On(t)+'"'}a(ia,"getStyleKey");function Al(t){return'link[rel="stylesheet"]['+t+"]"}a(Al,"getStylesheetSelectorFromKey");function C0(t){return g({},t,{"data-precedence":t.precedence,precedence:null})}a(C0,"stylesheetPropsFromRawProps");function v_(t,i,s,c){t.querySelector('link[rel="preload"][as="style"]['+i+"]")?c.loading=1:(i=t.createElement("link"),c.preload=i,i.addEventListener("load",function(){return c.loading|=1}),i.addEventListener("error",function(){return c.loading|=2}),Bt(i,"link",s),Dt(i),t.head.appendChild(i))}a(v_,"preloadStylesheet");function oa(t){return'[src="'+On(t)+'"]'}a(oa,"getScriptKey");function _l(t){return"script[async]"+t}a(_l,"getScriptSelectorFromKey");function T0(t,i,s){if(i.count++,i.instance===null)switch(i.type){case"style":var c=t.querySelector('style[data-href~="'+On(s.href)+'"]');if(c)return i.instance=c,Dt(c),c;var y=g({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return c=(t.ownerDocument||t).createElement("style"),Dt(c),Bt(c,"style",y),zu(c,s.precedence,t),i.instance=c;case"stylesheet":y=ia(s.href);var v=t.querySelector(Al(y));if(v)return i.state.loading|=4,i.instance=v,Dt(v),v;c=C0(s),(y=Ln.get(y))&&_p(c,y),v=(t.ownerDocument||t).createElement("link"),Dt(v);var C=v;return C._p=new Promise(function(_,j){C.onload=_,C.onerror=j}),Bt(v,"link",c),i.state.loading|=4,zu(v,s.precedence,t),i.instance=v;case"script":return v=oa(s.src),(y=t.querySelector(_l(v)))?(i.instance=y,Dt(y),y):(c=s,(y=Ln.get(v))&&(c=g({},s),Mp(c,y)),t=t.ownerDocument||t,y=t.createElement("script"),Dt(y),Bt(y,"link",c),t.head.appendChild(y),i.instance=y);case"void":return null;default:throw Error(o(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(c=i.instance,i.state.loading|=4,zu(c,s.precedence,t));return i.instance}a(T0,"acquireResource");function zu(t,i,s){for(var c=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),y=c.length?c[c.length-1]:null,v=y,C=0;C<c.length;C++){var _=c[C];if(_.dataset.precedence===i)v=_;else if(v!==y)break}v?v.parentNode.insertBefore(t,v.nextSibling):(i=s.nodeType===9?s.head:s,i.insertBefore(t,i.firstChild))}a(zu,"insertStylesheet");function _p(t,i){t.crossOrigin==null&&(t.crossOrigin=i.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=i.referrerPolicy),t.title==null&&(t.title=i.title)}a(_p,"adoptPreloadPropsForStylesheet");function Mp(t,i){t.crossOrigin==null&&(t.crossOrigin=i.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=i.referrerPolicy),t.integrity==null&&(t.integrity=i.integrity)}a(Mp,"adoptPreloadPropsForScript");var ju=null;function R0(t,i,s){if(ju===null){var c=new Map,y=ju=new Map;y.set(s,c)}else y=ju,c=y.get(s),c||(c=new Map,y.set(s,c));if(c.has(t))return c;for(c.set(t,null),s=s.getElementsByTagName(t),y=0;y<s.length;y++){var v=s[y];if(!(v[Va]||v[Lt]||t==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var C=v.getAttribute(i)||"";C=t+C;var _=c.get(C);_?_.push(v):c.set(C,[v])}}return c}a(R0,"getHydratableHoistableCache");function O0(t,i,s){t=t.ownerDocument||t,t.head.insertBefore(s,i==="title"?t.querySelector("head > title"):null)}a(O0,"mountHoistable");function b_(t,i,s){if(s===1||i.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return t=i.disabled,typeof i.precedence=="string"&&t==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}a(b_,"isHostHoistableType");function A0(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}a(A0,"preloadResource");function S_(t,i,s,c){if(s.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var y=ia(c.href),v=i.querySelector(Al(y));if(v){i=v._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(t.count++,t=Iu.bind(t),i.then(t,t)),s.state.loading|=4,s.instance=v,Dt(v);return}v=i.ownerDocument||i,c=C0(c),(y=Ln.get(y))&&_p(c,y),v=v.createElement("link"),Dt(v);var C=v;C._p=new Promise(function(_,j){C.onload=_,C.onerror=j}),Bt(v,"link",c),s.instance=v}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(s,i),(i=s.state.preload)&&(s.state.loading&3)===0&&(t.count++,s=Iu.bind(t),i.addEventListener("load",s),i.addEventListener("error",s))}}a(S_,"suspendResource");var Np=0;function x_(t,i){return t.stylesheets&&t.count===0&&Hu(t,t.stylesheets),0<t.count||0<t.imgCount?function(s){var c=setTimeout(function(){if(t.stylesheets&&Hu(t,t.stylesheets),t.unsuspend){var v=t.unsuspend;t.unsuspend=null,v()}},6e4+i);0<t.imgBytes&&Np===0&&(Np=62500*t_());var y=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Hu(t,t.stylesheets),t.unsuspend)){var v=t.unsuspend;t.unsuspend=null,v()}},(t.imgBytes>Np?50:800)+i);return t.unsuspend=s,function(){t.unsuspend=null,clearTimeout(c),clearTimeout(y)}}:null}a(x_,"waitForCommitToBeReady");function Iu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Hu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}a(Iu,"onUnsuspend");var Bu=null;function Hu(t,i){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Bu=new Map,i.forEach(w_,t),Bu=null,Iu.call(t))}a(Hu,"insertSuspendedStylesheets");function w_(t,i){if(!(i.state.loading&4)){var s=Bu.get(t);if(s)var c=s.get(null);else{s=new Map,Bu.set(t,s);for(var y=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<y.length;v++){var C=y[v];(C.nodeName==="LINK"||C.getAttribute("media")!=="not all")&&(s.set(C.dataset.precedence,C),c=C)}c&&s.set(null,c)}y=i.instance,C=y.getAttribute("data-precedence"),v=s.get(C)||c,v===c&&s.set(null,y),s.set(C,y),this.count++,c=Iu.bind(this),y.addEventListener("load",c),y.addEventListener("error",c),v?v.parentNode.insertBefore(y,v.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(y,t.firstChild)),i.state.loading|=4}}a(w_,"insertStylesheetIntoRoot");var Ml={$$typeof:M,Provider:null,Consumer:null,_currentValue:ie,_currentValue2:ie,_threadCount:0};function E_(t,i,s,c,y,v,C,_,j){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Rf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Rf(0),this.hiddenUpdates=Rf(null),this.identifierPrefix=c,this.onUncaughtError=y,this.onCaughtError=v,this.onRecoverableError=C,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=j,this.incompleteTransitions=new Map}a(E_,"FiberRootNode");function _0(t,i,s,c,y,v,C,_,j,$,ne,ue){return t=new E_(t,i,s,C,j,$,ne,ue,_),i=1,v===!0&&(i|=24),v=hn(3,null,null,i),t.current=v,v.stateNode=t,i=cd(),i.refCount++,t.pooledCache=i,i.refCount++,v.memoizedState={element:c,isDehydrated:s,cache:i},hd(v),t}a(_0,"createFiberRoot");function M0(t){return t?(t=zo,t):zo}a(M0,"getContextForSubtree");function N0(t,i,s,c,y,v){y=M0(y),c.context===null?c.context=y:c.pendingContext=y,c=ui(i),c.payload={element:s},v=v===void 0?null:v,v!==null&&(c.callback=v),s=ci(t,c,i),s!==null&&(ln(s,t,i),sl(s,t,i))}a(N0,"updateContainerImpl");function k0(t,i){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var s=t.retryLane;t.retryLane=s!==0&&s<i?s:i}}a(k0,"markRetryLaneImpl");function kp(t,i){k0(t,i),(t=t.alternate)&&k0(t,i)}a(kp,"markRetryLaneIfNotHydrated");function D0(t){if(t.tag===13||t.tag===31){var i=$i(t,67108864);i!==null&&ln(i,t,67108864),kp(t,67108864)}}a(D0,"attemptContinuousHydration");function P0(t){if(t.tag===13||t.tag===31){var i=bn();i=Of(i);var s=$i(t,i);s!==null&&ln(s,t,i),kp(t,i)}}a(P0,"attemptHydrationAtCurrentPriority");var Uu=!0;function C_(t,i,s,c){var y=I.T;I.T=null;var v=W.p;try{W.p=2,Dp(t,i,s,c)}finally{W.p=v,I.T=y}}a(C_,"dispatchDiscreteEvent");function T_(t,i,s,c){var y=I.T;I.T=null;var v=W.p;try{W.p=8,Dp(t,i,s,c)}finally{W.p=v,I.T=y}}a(T_,"dispatchContinuousEvent");function Dp(t,i,s,c){if(Uu){var y=Pp(c);if(y===null)bp(t,i,c,Fu,s),z0(t,c);else if(O_(y,t,i,s,c))c.stopPropagation();else if(z0(t,c),i&4&&-1<R_.indexOf(t)){for(;y!==null;){var v=To(y);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var C=Bi(v.pendingLanes);if(C!==0){var _=v;for(_.pendingLanes|=2,_.entangledLanes|=2;C;){var j=1<<31-st(C);_.entanglements[1]|=j,C&=~j}lr(v),(Ze&6)===0&&(Cu=Yt()+500,Cl(0))}}break;case 31:case 13:_=$i(v,2),_!==null&&ln(_,v,2),Ru(),kp(v,2)}if(v=Pp(c),v===null&&bp(t,i,c,Fu,s),v===y)break;y=v}y!==null&&c.stopPropagation()}else bp(t,i,c,null,s)}}a(Dp,"dispatchEvent");function Pp(t){return t=zf(t),Lp(t)}a(Pp,"findInstanceBlockingEvent");var Fu=null;function Lp(t){if(Fu=null,t=Co(t),t!==null){var i=u(t);if(i===null)t=null;else{var s=i.tag;if(s===13){if(t=f(i),t!==null)return t;t=null}else if(s===31){if(t=d(i),t!==null)return t;t=null}else if(s===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;t=null}else i!==t&&(t=null)}}return Fu=t,null}a(Lp,"findInstanceBlockingTarget");function L0(t){switch(t){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Tf()){case ae:return 2;case ge:return 8;case Me:case Fe:return 32;case et:return 268435456;default:return 32}default:return 32}}a(L0,"getEventPriority");var zp=!1,xi=null,wi=null,Ei=null,Nl=new Map,kl=new Map,Ci=[],R_="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".split(" ");function z0(t,i){switch(t){case"focusin":case"focusout":xi=null;break;case"dragenter":case"dragleave":wi=null;break;case"mouseover":case"mouseout":Ei=null;break;case"pointerover":case"pointerout":Nl.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":kl.delete(i.pointerId)}}a(z0,"clearIfContinuousEvent");function Dl(t,i,s,c,y,v){return t===null||t.nativeEvent!==v?(t={blockedOn:i,domEventName:s,eventSystemFlags:c,nativeEvent:v,targetContainers:[y]},i!==null&&(i=To(i),i!==null&&D0(i)),t):(t.eventSystemFlags|=c,i=t.targetContainers,y!==null&&i.indexOf(y)===-1&&i.push(y),t)}a(Dl,"accumulateOrCreateContinuousQueuedReplayableEvent");function O_(t,i,s,c,y){switch(i){case"focusin":return xi=Dl(xi,t,i,s,c,y),!0;case"dragenter":return wi=Dl(wi,t,i,s,c,y),!0;case"mouseover":return Ei=Dl(Ei,t,i,s,c,y),!0;case"pointerover":var v=y.pointerId;return Nl.set(v,Dl(Nl.get(v)||null,t,i,s,c,y)),!0;case"gotpointercapture":return v=y.pointerId,kl.set(v,Dl(kl.get(v)||null,t,i,s,c,y)),!0}return!1}a(O_,"queueIfContinuousEvent");function j0(t){var i=Co(t.target);if(i!==null){var s=u(i);if(s!==null){if(i=s.tag,i===13){if(i=f(s),i!==null){t.blockedOn=i,Wy(t.priority,function(){P0(s)});return}}else if(i===31){if(i=d(s),i!==null){t.blockedOn=i,Wy(t.priority,function(){P0(s)});return}}else if(i===3&&s.stateNode.current.memoizedState.isDehydrated){t.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}t.blockedOn=null}a(j0,"attemptExplicitHydrationTarget");function qu(t){if(t.blockedOn!==null)return!1;for(var i=t.targetContainers;0<i.length;){var s=Pp(t.nativeEvent);if(s===null){s=t.nativeEvent;var c=new s.constructor(s.type,s);Lf=c,s.target.dispatchEvent(c),Lf=null}else return i=To(s),i!==null&&D0(i),t.blockedOn=s,!1;i.shift()}return!0}a(qu,"attemptReplayContinuousQueuedEvent");function I0(t,i,s){qu(t)&&s.delete(i)}a(I0,"attemptReplayContinuousQueuedEventInMap");function A_(){zp=!1,xi!==null&&qu(xi)&&(xi=null),wi!==null&&qu(wi)&&(wi=null),Ei!==null&&qu(Ei)&&(Ei=null),Nl.forEach(I0),kl.forEach(I0)}a(A_,"replayUnblockedEvents");function $u(t,i){t.blockedOn===i&&(t.blockedOn=null,zp||(zp=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,A_)))}a($u,"scheduleCallbackIfUnblocked");var Vu=null;function B0(t){Vu!==t&&(Vu=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Vu===t&&(Vu=null);for(var i=0;i<t.length;i+=3){var s=t[i],c=t[i+1],y=t[i+2];if(typeof c!="function"){if(Lp(c||s)===null)continue;break}var v=To(s);v!==null&&(t.splice(i,3),i-=3,Pd(v,{pending:!0,data:y,method:s.method,action:c},c,y))}}))}a(B0,"scheduleReplayQueueIfNeeded");function aa(t){function i(j){return $u(j,t)}a(i,"unblock"),xi!==null&&$u(xi,t),wi!==null&&$u(wi,t),Ei!==null&&$u(Ei,t),Nl.forEach(i),kl.forEach(i);for(var s=0;s<Ci.length;s++){var c=Ci[s];c.blockedOn===t&&(c.blockedOn=null)}for(;0<Ci.length&&(s=Ci[0],s.blockedOn===null);)j0(s),s.blockedOn===null&&Ci.shift();if(s=(t.ownerDocument||t).$$reactFormReplay,s!=null)for(c=0;c<s.length;c+=3){var y=s[c],v=s[c+1],C=y[en]||null;if(typeof v=="function")C||B0(s);else if(C){var _=null;if(v&&v.hasAttribute("formAction")){if(y=v,C=v[en]||null)_=C.formAction;else if(Lp(y)!==null)continue}else _=C.action;typeof _=="function"?s[c+1]=_:(s.splice(c,3),c-=3),B0(s)}}}a(aa,"retryIfBlockedOn");function H0(){function t(v){v.canIntercept&&v.info==="react-transition"&&v.intercept({handler:a(function(){return new Promise(function(C){return y=C})},"handler"),focusReset:"manual",scroll:"manual"})}a(t,"handleNavigate");function i(){y!==null&&(y(),y=null),c||setTimeout(s,20)}a(i,"handleNavigateComplete");function s(){if(!c&&!navigation.transition){var v=navigation.currentEntry;v&&v.url!=null&&navigation.navigate(v.url,{state:v.getState(),info:"react-transition",history:"replace"})}}if(a(s,"startFakeNavigation"),typeof navigation=="object"){var c=!1,y=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(s,100),function(){c=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),y!==null&&(y(),y=null)}}}a(H0,"defaultOnDefaultTransitionIndicator");function jp(t){this._internalRoot=t}a(jp,"ReactDOMRoot"),Gu.prototype.render=jp.prototype.render=function(t){var i=this._internalRoot;if(i===null)throw Error(o(409));var s=i.current,c=bn();N0(s,c,t,i,null,null)},Gu.prototype.unmount=jp.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var i=t.containerInfo;N0(t.current,2,null,t,null,null),Ru(),i[Eo]=null}};function Gu(t){this._internalRoot=t}a(Gu,"ReactDOMHydrationRoot"),Gu.prototype.unstable_scheduleHydration=function(t){if(t){var i=Xy();t={blockedOn:null,target:t,priority:i};for(var s=0;s<Ci.length&&i!==0&&i<Ci[s].priority;s++);Ci.splice(s,0,t),s===0&&j0(t)}};var U0=n.version;if(U0!=="19.2.0")throw Error(o(527,U0,"19.2.0"));W.findDOMNode=function(t){var i=t._reactInternals;if(i===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=h(i),t=t!==null?m(t):null,t=t===null?null:t.stateNode,t};var __={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:I,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Yu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yu.isDisabled&&Yu.supportsFiber)try{Qt=Yu.inject(__),Nt=Yu}catch{}}return Ll.createRoot=function(t,i){if(!l(t))throw Error(o(299));var s=!1,c="",y=Qv,v=Kv,C=Xv;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(y=i.onUncaughtError),i.onCaughtError!==void 0&&(v=i.onCaughtError),i.onRecoverableError!==void 0&&(C=i.onRecoverableError)),i=_0(t,1,!1,null,null,s,c,null,y,v,C,H0),t[Eo]=i.current,vp(t),new jp(i)},Ll.hydrateRoot=function(t,i,s){if(!l(t))throw Error(o(299));var c=!1,y="",v=Qv,C=Kv,_=Xv,j=null;return s!=null&&(s.unstable_strictMode===!0&&(c=!0),s.identifierPrefix!==void 0&&(y=s.identifierPrefix),s.onUncaughtError!==void 0&&(v=s.onUncaughtError),s.onCaughtError!==void 0&&(C=s.onCaughtError),s.onRecoverableError!==void 0&&(_=s.onRecoverableError),s.formState!==void 0&&(j=s.formState)),i=_0(t,1,!0,i,s??null,c,y,j,v,C,_,H0),i.context=M0(null),s=i.current,c=bn(),c=Of(c),y=ui(c),y.callback=null,ci(s,y,c),s=c,i.current.lanes=s,$a(i,s),lr(i),t[Eo]=i.current,vp(t),new Gu(i)},Ll.version="19.2.0",Ll}a(B_,"requireReactDomClient_production");var W0;function H_(){if(W0)return Hp.exports;W0=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(n){console.error(n)}}return a(e,"checkDCE"),e(),Hp.exports=B_(),Hp.exports}a(H_,"requireClient");var JB=H_();function Z0(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n)}a(Z0,"setRef");function Bc(...e){return n=>{let r=!1;const o=e.map(l=>{const u=Z0(l,n);return!r&&typeof u=="function"&&(r=!0),u});if(r)return()=>{for(let l=0;l<o.length;l++){const u=o[l];typeof u=="function"?u():Z0(e[l],null)}}}}a(Bc,"composeRefs");function ze(...e){return x.useCallback(Bc(...e),e)}a(ze,"useComposedRefs");function lo(e){const n=U_(e),r=x.forwardRef((o,l)=>{const{children:u,...f}=o,d=x.Children.toArray(u),p=d.find(F_);if(p){const h=p.props.children,m=d.map(g=>g===p?x.Children.count(h)>1?x.Children.only(null):x.isValidElement(h)?h.props.children:null:g);return N.jsx(n,{...f,ref:l,children:x.isValidElement(h)?x.cloneElement(h,void 0,m):null})}return N.jsx(n,{...f,ref:l,children:u})});return r.displayName=`${e}.Slot`,r}a(lo,"createSlot");var eH=lo("Slot");function U_(e){const n=x.forwardRef((r,o)=>{const{children:l,...u}=r;if(x.isValidElement(l)){const f=$_(l),d=q_(u,l.props);return l.type!==x.Fragment&&(d.ref=o?Bc(o,f):f),x.cloneElement(l,d)}return x.Children.count(l)>1?x.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}a(U_,"createSlotClone");var Sx=Symbol("radix.slottable");function xx(e){const n=a(({children:r})=>N.jsx(N.Fragment,{children:r}),"Slottable2");return n.displayName=`${e}.Slottable`,n.__radixId=Sx,n}a(xx,"createSlottable");function F_(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Sx}a(F_,"isSlottable");function q_(e,n){const r={...n};for(const o in n){const l=e[o],u=n[o];/^on[A-Z]/.test(o)?l&&u?r[o]=(...d)=>{const p=u(...d);return l(...d),p}:l&&(r[o]=l):o==="style"?r[o]={...l,...u}:o==="className"&&(r[o]=[l,u].filter(Boolean).join(" "))}return{...e,...r}}a(q_,"mergeProps");function $_(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning;return r?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}a($_,"getElementRef$1");var yr=bx();const Xl=xr(yr);var V_=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Te=V_.reduce((e,n)=>{const r=lo(`Primitive.${n}`),o=x.forwardRef((l,u)=>{const{asChild:f,...d}=l,p=f?r:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),N.jsx(p,{...d,ref:u})});return o.displayName=`Primitive.${n}`,{...e,[n]:o}},{});function Cm(e,n){e&&yr.flushSync(()=>e.dispatchEvent(n))}a(Cm,"dispatchDiscreteCustomEvent");var G_="Separator",J0="horizontal",Y_=["horizontal","vertical"],wx=x.forwardRef((e,n)=>{const{decorative:r,orientation:o=J0,...l}=e,u=Q_(o)?o:J0,d=r?{role:"none"}:{"aria-orientation":u==="vertical"?u:void 0,role:"separator"};return N.jsx(Te.div,{"data-orientation":u,...d,...l,ref:n})});wx.displayName=G_;function Q_(e){return Y_.includes(e)}a(Q_,"isValidOrientation");var tH=wx;function K_(e,n){const r=x.createContext(n),o=a(u=>{const{children:f,...d}=u,p=x.useMemo(()=>d,Object.values(d));return N.jsx(r.Provider,{value:p,children:f})},"Provider");o.displayName=e+"Provider";function l(u){const f=x.useContext(r);if(f)return f;if(n!==void 0)return n;throw new Error(`\`${u}\` must be used within \`${e}\``)}return a(l,"useContext2"),[o,l]}a(K_,"createContext2");function Wt(e,n=[]){let r=[];function o(u,f){const d=x.createContext(f),p=r.length;r=[...r,f];const h=a(g=>{const{scope:b,children:S,...E}=g,w=b?.[e]?.[p]||d,R=x.useMemo(()=>E,Object.values(E));return N.jsx(w.Provider,{value:R,children:S})},"Provider");h.displayName=u+"Provider";function m(g,b){const S=b?.[e]?.[p]||d,E=x.useContext(S);if(E)return E;if(f!==void 0)return f;throw new Error(`\`${g}\` must be used within \`${u}\``)}return a(m,"useContext2"),[h,m]}a(o,"createContext3");const l=a(()=>{const u=r.map(f=>x.createContext(f));return a(function(d){const p=d?.[e]||u;return x.useMemo(()=>({[`__scope${e}`]:{...d,[e]:p}}),[d,p])},"useScope")},"createScope");return l.scopeName=e,[o,X_(l,...n)]}a(Wt,"createContextScope");function X_(...e){const n=e[0];if(e.length===1)return n;const r=a(()=>{const o=e.map(l=>({useScope:l(),scopeName:l.scopeName}));return a(function(u){const f=o.reduce((d,{useScope:p,scopeName:h})=>{const g=p(u)[`__scope${h}`];return{...d,...g}},{});return x.useMemo(()=>({[`__scope${n.scopeName}`]:f}),[f])},"useComposedScopes")},"createScope");return r.scopeName=n.scopeName,r}a(X_,"composeContextScopes");var wt=globalThis?.document?x.useLayoutEffect:()=>{},W_=Em[" useId ".trim().toString()]||(()=>{}),Z_=0;function Bn(e){const[n,r]=x.useState(W_());return wt(()=>{r(o=>o??String(Z_++))},[e]),e||(n?`radix-${n}`:"")}a(Bn,"useId$1");var J_=Em[" useInsertionEffect ".trim().toString()]||wt;function vr({prop:e,defaultProp:n,onChange:r=a(()=>{},"onChange"),caller:o}){const[l,u,f]=eM({defaultProp:n,onChange:r}),d=e!==void 0,p=d?e:l;{const m=x.useRef(e!==void 0);x.useEffect(()=>{const g=m.current;g!==d&&console.warn(`${o} is changing from ${g?"controlled":"uncontrolled"} to ${d?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),m.current=d},[d,o])}const h=x.useCallback(m=>{if(d){const g=tM(m)?m(e):m;g!==e&&f.current?.(g)}else u(m)},[d,e,u,f]);return[p,h]}a(vr,"useControllableState");function eM({defaultProp:e,onChange:n}){const[r,o]=x.useState(e),l=x.useRef(r),u=x.useRef(n);return J_(()=>{u.current=n},[n]),x.useEffect(()=>{l.current!==r&&(u.current?.(r),l.current=r)},[r,l]),[r,o,u]}a(eM,"useUncontrolledState");function tM(e){return typeof e=="function"}a(tM,"isFunction$3");function xt(e){const n=x.useRef(e);return x.useEffect(()=>{n.current=e}),x.useMemo(()=>(...r)=>n.current?.(...r),[])}a(xt,"useCallbackRef$1");function nM(e,n=globalThis?.document){const r=xt(e);x.useEffect(()=>{const o=a(l=>{l.key==="Escape"&&r(l)},"handleKeyDown");return n.addEventListener("keydown",o,{capture:!0}),()=>n.removeEventListener("keydown",o,{capture:!0})},[r,n])}a(nM,"useEscapeKeydown");var rM="DismissableLayer",Dh="dismissableLayer.update",iM="dismissableLayer.pointerDownOutside",oM="dismissableLayer.focusOutside",e1,Ex=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),_a=x.forwardRef((e,n)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,onDismiss:d,...p}=e,h=x.useContext(Ex),[m,g]=x.useState(null),b=m?.ownerDocument??globalThis?.document,[,S]=x.useState({}),E=ze(n,P=>g(P)),w=Array.from(h.layers),[R]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),T=w.indexOf(R),O=m?w.indexOf(m):-1,M=h.layersWithOutsidePointerEventsDisabled.size>0,L=O>=T,B=lM(P=>{const Y=P.target,K=[...h.branches].some(te=>te.contains(Y));!L||K||(l?.(P),f?.(P),P.defaultPrevented||d?.())},b),D=sM(P=>{const Y=P.target;[...h.branches].some(te=>te.contains(Y))||(u?.(P),f?.(P),P.defaultPrevented||d?.())},b);return nM(P=>{O===h.layers.size-1&&(o?.(P),!P.defaultPrevented&&d&&(P.preventDefault(),d()))},b),x.useEffect(()=>{if(m)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(e1=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(m)),h.layers.add(m),t1(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=e1)}},[m,b,r,h]),x.useEffect(()=>()=>{m&&(h.layers.delete(m),h.layersWithOutsidePointerEventsDisabled.delete(m),t1())},[m,h]),x.useEffect(()=>{const P=a(()=>S({}),"handleUpdate");return document.addEventListener(Dh,P),()=>document.removeEventListener(Dh,P)},[]),N.jsx(Te.div,{...p,ref:E,style:{pointerEvents:M?L?"auto":"none":void 0,...e.style},onFocusCapture:ye(e.onFocusCapture,D.onFocusCapture),onBlurCapture:ye(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:ye(e.onPointerDownCapture,B.onPointerDownCapture)})});_a.displayName=rM;var aM="DismissableLayerBranch",Cx=x.forwardRef((e,n)=>{const r=x.useContext(Ex),o=x.useRef(null),l=ze(n,o);return x.useEffect(()=>{const u=o.current;if(u)return r.branches.add(u),()=>{r.branches.delete(u)}},[r.branches]),N.jsx(Te.div,{...e,ref:l})});Cx.displayName=aM;function lM(e,n=globalThis?.document){const r=xt(e),o=x.useRef(!1),l=x.useRef(()=>{});return x.useEffect(()=>{const u=a(d=>{if(d.target&&!o.current){let p=a(function(){Tx(iM,r,h,{discrete:!0})},"handleAndDispatchPointerDownOutsideEvent2");const h={originalEvent:d};d.pointerType==="touch"?(n.removeEventListener("click",l.current),l.current=p,n.addEventListener("click",l.current,{once:!0})):p()}else n.removeEventListener("click",l.current);o.current=!1},"handlePointerDown"),f=window.setTimeout(()=>{n.addEventListener("pointerdown",u)},0);return()=>{window.clearTimeout(f),n.removeEventListener("pointerdown",u),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:a(()=>o.current=!0,"onPointerDownCapture")}}a(lM,"usePointerDownOutside");function sM(e,n=globalThis?.document){const r=xt(e),o=x.useRef(!1);return x.useEffect(()=>{const l=a(u=>{u.target&&!o.current&&Tx(oM,r,{originalEvent:u},{discrete:!1})},"handleFocus");return n.addEventListener("focusin",l),()=>n.removeEventListener("focusin",l)},[n,r]),{onFocusCapture:a(()=>o.current=!0,"onFocusCapture"),onBlurCapture:a(()=>o.current=!1,"onBlurCapture")}}a(sM,"useFocusOutside");function t1(){const e=new CustomEvent(Dh);document.dispatchEvent(e)}a(t1,"dispatchUpdate");function Tx(e,n,r,{discrete:o}){const l=r.originalEvent.target,u=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});n&&l.addEventListener(e,n,{once:!0}),o?Cm(l,u):l.dispatchEvent(u)}a(Tx,"handleAndDispatchCustomEvent$1");var uM=_a,cM=Cx,$p="focusScope.autoFocusOnMount",Vp="focusScope.autoFocusOnUnmount",n1={bubbles:!1,cancelable:!0},fM="FocusScope",Hc=x.forwardRef((e,n)=>{const{loop:r=!1,trapped:o=!1,onMountAutoFocus:l,onUnmountAutoFocus:u,...f}=e,[d,p]=x.useState(null),h=xt(l),m=xt(u),g=x.useRef(null),b=ze(n,w=>p(w)),S=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(o){let w=a(function(M){if(S.paused||!d)return;const L=M.target;d.contains(L)?g.current=L:Oi(g.current,{select:!0})},"handleFocusIn2"),R=a(function(M){if(S.paused||!d)return;const L=M.relatedTarget;L!==null&&(d.contains(L)||Oi(g.current,{select:!0}))},"handleFocusOut2"),T=a(function(M){if(document.activeElement===document.body)for(const B of M)B.removedNodes.length>0&&Oi(d)},"handleMutations2");document.addEventListener("focusin",w),document.addEventListener("focusout",R);const O=new MutationObserver(T);return d&&O.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",R),O.disconnect()}}},[o,d,S.paused]),x.useEffect(()=>{if(d){i1.add(S);const w=document.activeElement;if(!d.contains(w)){const T=new CustomEvent($p,n1);d.addEventListener($p,h),d.dispatchEvent(T),T.defaultPrevented||(dM(gM(Rx(d)),{select:!0}),document.activeElement===w&&Oi(d))}return()=>{d.removeEventListener($p,h),setTimeout(()=>{const T=new CustomEvent(Vp,n1);d.addEventListener(Vp,m),d.dispatchEvent(T),T.defaultPrevented||Oi(w??document.body,{select:!0}),d.removeEventListener(Vp,m),i1.remove(S)},0)}}},[d,h,m,S]);const E=x.useCallback(w=>{if(!r&&!o||S.paused)return;const R=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,T=document.activeElement;if(R&&T){const O=w.currentTarget,[M,L]=pM(O);M&&L?!w.shiftKey&&T===L?(w.preventDefault(),r&&Oi(M,{select:!0})):w.shiftKey&&T===M&&(w.preventDefault(),r&&Oi(L,{select:!0})):T===O&&w.preventDefault()}},[r,o,S.paused]);return N.jsx(Te.div,{tabIndex:-1,...f,ref:b,onKeyDown:E})});Hc.displayName=fM;function dM(e,{select:n=!1}={}){const r=document.activeElement;for(const o of e)if(Oi(o,{select:n}),document.activeElement!==r)return}a(dM,"focusFirst$3");function pM(e){const n=Rx(e),r=r1(n,e),o=r1(n.reverse(),e);return[r,o]}a(pM,"getTabbableEdges");function Rx(e){const n=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a(o=>{const l=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||l?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)n.push(r.currentNode);return n}a(Rx,"getTabbableCandidates$1");function r1(e,n){for(const r of e)if(!hM(r,{upTo:n}))return r}a(r1,"findVisible");function hM(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}a(hM,"isHidden");function mM(e){return e instanceof HTMLInputElement&&"select"in e}a(mM,"isSelectableInput");function Oi(e,{select:n=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&mM(e)&&n&&e.select()}}a(Oi,"focus");var i1=yM();function yM(){let e=[];return{add(n){const r=e[0];n!==r&&r?.pause(),e=o1(e,n),e.unshift(n)},remove(n){e=o1(e,n),e[0]?.resume()}}}a(yM,"createFocusScopesStack");function o1(e,n){const r=[...e],o=r.indexOf(n);return o!==-1&&r.splice(o,1),r}a(o1,"arrayRemove");function gM(e){return e.filter(n=>n.tagName!=="A")}a(gM,"removeLinks");var vM="Portal",Ma=x.forwardRef((e,n)=>{const{container:r,...o}=e,[l,u]=x.useState(!1);wt(()=>u(!0),[]);const f=r||l&&globalThis?.document?.body;return f?Xl.createPortal(N.jsx(Te.div,{...o,ref:n}),f):null});Ma.displayName=vM;function bM(e,n){return x.useReducer((r,o)=>n[r][o]??r,e)}a(bM,"useStateMachine$1");var Ht=a(e=>{const{present:n,children:r}=e,o=SM(n),l=typeof r=="function"?r({present:o.isPresent}):x.Children.only(r),u=ze(o.ref,xM(l));return typeof r=="function"||o.isPresent?x.cloneElement(l,{ref:u}):null},"Presence");Ht.displayName="Presence";function SM(e){const[n,r]=x.useState(),o=x.useRef(null),l=x.useRef(e),u=x.useRef("none"),f=e?"mounted":"unmounted",[d,p]=bM(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const h=Qu(o.current);u.current=d==="mounted"?h:"none"},[d]),wt(()=>{const h=o.current,m=l.current;if(m!==e){const b=u.current,S=Qu(h);e?p("MOUNT"):S==="none"||h?.display==="none"?p("UNMOUNT"):p(m&&b!==S?"ANIMATION_OUT":"UNMOUNT"),l.current=e}},[e,p]),wt(()=>{if(n){let h;const m=n.ownerDocument.defaultView??window,g=a(S=>{const w=Qu(o.current).includes(CSS.escape(S.animationName));if(S.target===n&&w&&(p("ANIMATION_END"),!l.current)){const R=n.style.animationFillMode;n.style.animationFillMode="forwards",h=m.setTimeout(()=>{n.style.animationFillMode==="forwards"&&(n.style.animationFillMode=R)})}},"handleAnimationEnd"),b=a(S=>{S.target===n&&(u.current=Qu(o.current))},"handleAnimationStart");return n.addEventListener("animationstart",b),n.addEventListener("animationcancel",g),n.addEventListener("animationend",g),()=>{m.clearTimeout(h),n.removeEventListener("animationstart",b),n.removeEventListener("animationcancel",g),n.removeEventListener("animationend",g)}}else p("ANIMATION_END")},[n,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:x.useCallback(h=>{o.current=h?getComputedStyle(h):null,r(h)},[])}}a(SM,"usePresence");function Qu(e){return e?.animationName||"none"}a(Qu,"getAnimationName");function xM(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning;return r?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}a(xM,"getElementRef");var Gp=0;function Tm(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??a1()),document.body.insertAdjacentElement("beforeend",e[1]??a1()),Gp++,()=>{Gp===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Gp--}},[])}a(Tm,"useFocusGuards");function a1(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}a(a1,"createFocusGuard");var fr=a(function(){return fr=Object.assign||a(function(n){for(var r,o=1,l=arguments.length;o<l;o++){r=arguments[o];for(var u in r)Object.prototype.hasOwnProperty.call(r,u)&&(n[u]=r[u])}return n},"__assign2"),fr.apply(this,arguments)},"__assign");function Ox(e,n){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l<o.length;l++)n.indexOf(o[l])<0&&Object.prototype.propertyIsEnumerable.call(e,o[l])&&(r[o[l]]=e[o[l]]);return r}a(Ox,"__rest");function wM(e,n,r){if(r||arguments.length===2)for(var o=0,l=n.length,u;o<l;o++)(u||!(o in n))&&(u||(u=Array.prototype.slice.call(n,0,o)),u[o]=n[o]);return e.concat(u||Array.prototype.slice.call(n))}a(wM,"__spreadArray");var sc="right-scroll-bar-position",uc="width-before-scroll-bar",EM="with-scroll-bars-hidden",CM="--removed-body-scroll-bar-size";function Yp(e,n){return typeof e=="function"?e(n):e&&(e.current=n),e}a(Yp,"assignRef");function TM(e,n){var r=x.useState(function(){return{value:e,callback:n,facade:{get current(){return r.value},set current(o){var l=r.value;l!==o&&(r.value=o,r.callback(o,l))}}}})[0];return r.callback=n,r.facade}a(TM,"useCallbackRef");var RM=typeof window<"u"?x.useLayoutEffect:x.useEffect,l1=new WeakMap;function OM(e,n){var r=TM(null,function(o){return e.forEach(function(l){return Yp(l,o)})});return RM(function(){var o=l1.get(r);if(o){var l=new Set(o),u=new Set(e),f=r.current;l.forEach(function(d){u.has(d)||Yp(d,null)}),u.forEach(function(d){l.has(d)||Yp(d,f)})}l1.set(r,e)},[e]),r}a(OM,"useMergeRefs");function AM(e){return e}a(AM,"ItoI");function _M(e,n){n===void 0&&(n=AM);var r=[],o=!1,l={read:a(function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},"read"),useMedium:a(function(u){var f=n(u,o);return r.push(f),function(){r=r.filter(function(d){return d!==f})}},"useMedium"),assignSyncMedium:a(function(u){for(o=!0;r.length;){var f=r;r=[],f.forEach(u)}r={push:a(function(d){return u(d)},"push"),filter:a(function(){return r},"filter")}},"assignSyncMedium"),assignMedium:a(function(u){o=!0;var f=[];if(r.length){var d=r;r=[],d.forEach(u),f=r}var p=a(function(){var m=f;f=[],m.forEach(u)},"executeQueue"),h=a(function(){return Promise.resolve().then(p)},"cycle");h(),r={push:a(function(m){f.push(m),h()},"push"),filter:a(function(m){return f=f.filter(m),r},"filter")}},"assignMedium")};return l}a(_M,"innerCreateMedium");function MM(e){e===void 0&&(e={});var n=_M(null);return n.options=fr({async:!0,ssr:!1},e),n}a(MM,"createSidecarMedium");var Ax=a(function(e){var n=e.sideCar,r=Ox(e,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=n.read();if(!o)throw new Error("Sidecar medium not found");return x.createElement(o,fr({},r))},"SideCar$1");Ax.isSideCarExport=!0;function NM(e,n){return e.useMedium(n),Ax}a(NM,"exportSidecar");var _x=MM(),Qp=a(function(){},"nothing"),Uc=x.forwardRef(function(e,n){var r=x.useRef(null),o=x.useState({onScrollCapture:Qp,onWheelCapture:Qp,onTouchMoveCapture:Qp}),l=o[0],u=o[1],f=e.forwardProps,d=e.children,p=e.className,h=e.removeScrollBar,m=e.enabled,g=e.shards,b=e.sideCar,S=e.noRelative,E=e.noIsolation,w=e.inert,R=e.allowPinchZoom,T=e.as,O=T===void 0?"div":T,M=e.gapMode,L=Ox(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),B=b,D=OM([r,n]),P=fr(fr({},L),l);return x.createElement(x.Fragment,null,m&&x.createElement(B,{sideCar:_x,removeScrollBar:h,shards:g,noRelative:S,noIsolation:E,inert:w,setCallbacks:u,allowPinchZoom:!!R,lockRef:r,gapMode:M}),f?x.cloneElement(x.Children.only(d),fr(fr({},P),{ref:D})):x.createElement(O,fr({},P,{className:p,ref:D}),d))});Uc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Uc.classNames={fullWidth:uc,zeroRight:sc};var kM=a(function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__},"getNonce");function DM(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=kM();return n&&e.setAttribute("nonce",n),e}a(DM,"makeStyleTag");function PM(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}a(PM,"injectStyles");function LM(e){var n=document.head||document.getElementsByTagName("head")[0];n.appendChild(e)}a(LM,"insertStyleTag");var zM=a(function(){var e=0,n=null;return{add:a(function(r){e==0&&(n=DM())&&(PM(n,r),LM(n)),e++},"add"),remove:a(function(){e--,!e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)},"remove")}},"stylesheetSingleton"),jM=a(function(){var e=zM();return function(n,r){x.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&r])}},"styleHookSingleton"),Mx=a(function(){var e=jM(),n=a(function(r){var o=r.styles,l=r.dynamic;return e(o,l),null},"Sheet");return n},"styleSingleton"),IM={left:0,top:0,right:0,gap:0},Kp=a(function(e){return parseInt(e||"",10)||0},"parse$1"),BM=a(function(e){var n=window.getComputedStyle(document.body),r=n[e==="padding"?"paddingLeft":"marginLeft"],o=n[e==="padding"?"paddingTop":"marginTop"],l=n[e==="padding"?"paddingRight":"marginRight"];return[Kp(r),Kp(o),Kp(l)]},"getOffset"),HM=a(function(e){if(e===void 0&&(e="margin"),typeof window>"u")return IM;var n=BM(e),r=document.documentElement.clientWidth,o=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,o-r+n[2]-n[0])}},"getGapWidth"),UM=Mx(),ya="data-scroll-locked",FM=a(function(e,n,r,o){var l=e.left,u=e.top,f=e.right,d=e.gap;return r===void 0&&(r="margin"),`
|
|
50
|
+
.`.concat(EM,` {
|
|
51
|
+
overflow: hidden `).concat(o,`;
|
|
52
|
+
padding-right: `).concat(d,"px ").concat(o,`;
|
|
53
|
+
}
|
|
54
|
+
body[`).concat(ya,`] {
|
|
55
|
+
overflow: hidden `).concat(o,`;
|
|
56
|
+
overscroll-behavior: contain;
|
|
57
|
+
`).concat([n&&"position: relative ".concat(o,";"),r==="margin"&&`
|
|
58
|
+
padding-left: `.concat(l,`px;
|
|
59
|
+
padding-top: `).concat(u,`px;
|
|
60
|
+
padding-right: `).concat(f,`px;
|
|
61
|
+
margin-left:0;
|
|
62
|
+
margin-top:0;
|
|
63
|
+
margin-right: `).concat(d,"px ").concat(o,`;
|
|
64
|
+
`),r==="padding"&&"padding-right: ".concat(d,"px ").concat(o,";")].filter(Boolean).join(""),`
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.`).concat(sc,` {
|
|
68
|
+
right: `).concat(d,"px ").concat(o,`;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.`).concat(uc,` {
|
|
72
|
+
margin-right: `).concat(d,"px ").concat(o,`;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.`).concat(sc," .").concat(sc,` {
|
|
76
|
+
right: 0 `).concat(o,`;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.`).concat(uc," .").concat(uc,` {
|
|
80
|
+
margin-right: 0 `).concat(o,`;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
body[`).concat(ya,`] {
|
|
84
|
+
`).concat(CM,": ").concat(d,`px;
|
|
85
|
+
}
|
|
86
|
+
`)},"getStyles$2"),s1=a(function(){var e=parseInt(document.body.getAttribute(ya)||"0",10);return isFinite(e)?e:0},"getCurrentUseCounter"),qM=a(function(){x.useEffect(function(){return document.body.setAttribute(ya,(s1()+1).toString()),function(){var e=s1()-1;e<=0?document.body.removeAttribute(ya):document.body.setAttribute(ya,e.toString())}},[])},"useLockAttribute"),$M=a(function(e){var n=e.noRelative,r=e.noImportant,o=e.gapMode,l=o===void 0?"margin":o;qM();var u=x.useMemo(function(){return HM(l)},[l]);return x.createElement(UM,{styles:FM(u,!n,l,r?"":"!important")})},"RemoveScrollBar"),Ph=!1;if(typeof window<"u")try{var Ku=Object.defineProperty({},"passive",{get:a(function(){return Ph=!0,!0},"get")});window.addEventListener("test",Ku,Ku),window.removeEventListener("test",Ku,Ku)}catch{Ph=!1}var la=Ph?{passive:!1}:!1,VM=a(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),Nx=a(function(e,n){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[n]!=="hidden"&&!(r.overflowY===r.overflowX&&!VM(e)&&r[n]==="visible")},"elementCanBeScrolled"),GM=a(function(e){return Nx(e,"overflowY")},"elementCouldBeVScrolled"),YM=a(function(e){return Nx(e,"overflowX")},"elementCouldBeHScrolled"),u1=a(function(e,n){var r=n.ownerDocument,o=n;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var l=kx(e,o);if(l){var u=Dx(e,o),f=u[1],d=u[2];if(f>d)return!0}o=o.parentNode}while(o&&o!==r.body);return!1},"locationCouldBeScrolled"),QM=a(function(e){var n=e.scrollTop,r=e.scrollHeight,o=e.clientHeight;return[n,r,o]},"getVScrollVariables"),KM=a(function(e){var n=e.scrollLeft,r=e.scrollWidth,o=e.clientWidth;return[n,r,o]},"getHScrollVariables"),kx=a(function(e,n){return e==="v"?GM(n):YM(n)},"elementCouldBeScrolled"),Dx=a(function(e,n){return e==="v"?QM(n):KM(n)},"getScrollVariables"),XM=a(function(e,n){return e==="h"&&n==="rtl"?-1:1},"getDirectionFactor"),WM=a(function(e,n,r,o,l){var u=XM(e,window.getComputedStyle(n).direction),f=u*o,d=r.target,p=n.contains(d),h=!1,m=f>0,g=0,b=0;do{if(!d)break;var S=Dx(e,d),E=S[0],w=S[1],R=S[2],T=w-R-u*E;(E||T)&&kx(e,d)&&(g+=T,b+=E);var O=d.parentNode;d=O&&O.nodeType===Node.DOCUMENT_FRAGMENT_NODE?O.host:O}while(!p&&d!==document.body||p&&(n.contains(d)||n===d));return(m&&Math.abs(g)<1||!m&&Math.abs(b)<1)&&(h=!0),h},"handleScroll"),Xu=a(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),c1=a(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),f1=a(function(e){return e&&"current"in e?e.current:e},"extractRef"),ZM=a(function(e,n){return e[0]===n[0]&&e[1]===n[1]},"deltaCompare"),JM=a(function(e){return`
|
|
87
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
88
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
89
|
+
`)},"generateStyle"),eN=0,sa=[];function tN(e){var n=x.useRef([]),r=x.useRef([0,0]),o=x.useRef(),l=x.useState(eN++)[0],u=x.useState(Mx)[0],f=x.useRef(e);x.useEffect(function(){f.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(l));var w=wM([e.lockRef.current],(e.shards||[]).map(f1),!0).filter(Boolean);return w.forEach(function(R){return R.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),w.forEach(function(R){return R.classList.remove("allow-interactivity-".concat(l))})}}},[e.inert,e.lockRef.current,e.shards]);var d=x.useCallback(function(w,R){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!f.current.allowPinchZoom;var T=Xu(w),O=r.current,M="deltaX"in w?w.deltaX:O[0]-T[0],L="deltaY"in w?w.deltaY:O[1]-T[1],B,D=w.target,P=Math.abs(M)>Math.abs(L)?"h":"v";if("touches"in w&&P==="h"&&D.type==="range")return!1;var Y=u1(P,D);if(!Y)return!0;if(Y?B=P:(B=P==="v"?"h":"v",Y=u1(P,D)),!Y)return!1;if(!o.current&&"changedTouches"in w&&(M||L)&&(o.current=B),!B)return!0;var K=o.current||B;return WM(K,R,w,K==="h"?M:L)},[]),p=x.useCallback(function(w){var R=w;if(!(!sa.length||sa[sa.length-1]!==u)){var T="deltaY"in R?c1(R):Xu(R),O=n.current.filter(function(B){return B.name===R.type&&(B.target===R.target||R.target===B.shadowParent)&&ZM(B.delta,T)})[0];if(O&&O.should){R.cancelable&&R.preventDefault();return}if(!O){var M=(f.current.shards||[]).map(f1).filter(Boolean).filter(function(B){return B.contains(R.target)}),L=M.length>0?d(R,M[0]):!f.current.noIsolation;L&&R.cancelable&&R.preventDefault()}}},[]),h=x.useCallback(function(w,R,T,O){var M={name:w,delta:R,target:T,should:O,shadowParent:nN(T)};n.current.push(M),setTimeout(function(){n.current=n.current.filter(function(L){return L!==M})},1)},[]),m=x.useCallback(function(w){r.current=Xu(w),o.current=void 0},[]),g=x.useCallback(function(w){h(w.type,c1(w),w.target,d(w,e.lockRef.current))},[]),b=x.useCallback(function(w){h(w.type,Xu(w),w.target,d(w,e.lockRef.current))},[]);x.useEffect(function(){return sa.push(u),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:b}),document.addEventListener("wheel",p,la),document.addEventListener("touchmove",p,la),document.addEventListener("touchstart",m,la),function(){sa=sa.filter(function(w){return w!==u}),document.removeEventListener("wheel",p,la),document.removeEventListener("touchmove",p,la),document.removeEventListener("touchstart",m,la)}},[]);var S=e.removeScrollBar,E=e.inert;return x.createElement(x.Fragment,null,E?x.createElement(u,{styles:JM(l)}):null,S?x.createElement($M,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}a(tN,"RemoveScrollSideCar");function nN(e){for(var n=null;e!==null;)e instanceof ShadowRoot&&(n=e.host,e=e.host),e=e.parentNode;return n}a(nN,"getOutermostShadowParent");const rN=NM(_x,tN);var Fc=x.forwardRef(function(e,n){return x.createElement(Uc,fr({},e,{ref:n,sideCar:rN}))});Fc.classNames=Uc.classNames;var iN=a(function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},"getDefaultParent"),ua=new WeakMap,Wu=new WeakMap,Zu={},Xp=0,Px=a(function(e){return e&&(e.host||Px(e.parentNode))},"unwrapHost"),oN=a(function(e,n){return n.map(function(r){if(e.contains(r))return r;var o=Px(r);return o&&e.contains(o)?o:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),aN=a(function(e,n,r,o){var l=oN(n,Array.isArray(e)?e:[e]);Zu[r]||(Zu[r]=new WeakMap);var u=Zu[r],f=[],d=new Set,p=new Set(l),h=a(function(g){!g||d.has(g)||(d.add(g),h(g.parentNode))},"keep");l.forEach(h);var m=a(function(g){!g||p.has(g)||Array.prototype.forEach.call(g.children,function(b){if(d.has(b))m(b);else try{var S=b.getAttribute(o),E=S!==null&&S!=="false",w=(ua.get(b)||0)+1,R=(u.get(b)||0)+1;ua.set(b,w),u.set(b,R),f.push(b),w===1&&E&&Wu.set(b,!0),R===1&&b.setAttribute(r,"true"),E||b.setAttribute(o,"true")}catch(T){console.error("aria-hidden: cannot operate on ",b,T)}})},"deep");return m(n),d.clear(),Xp++,function(){f.forEach(function(g){var b=ua.get(g)-1,S=u.get(g)-1;ua.set(g,b),u.set(g,S),b||(Wu.has(g)||g.removeAttribute(o),Wu.delete(g)),S||g.removeAttribute(r)}),Xp--,Xp||(ua=new WeakMap,ua=new WeakMap,Wu=new WeakMap,Zu={})}},"applyAttributeToOthers"),Rm=a(function(e,n,r){r===void 0&&(r="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),l=iN(e);return l?(o.push.apply(o,Array.from(l.querySelectorAll("[aria-live], script"))),aN(o,l,r,"aria-hidden")):function(){return null}},"hideOthers"),qc="Dialog",[Lx,zx]=Wt(qc),[lN,tr]=Lx(qc),jx=a(e=>{const{__scopeDialog:n,children:r,open:o,defaultOpen:l,onOpenChange:u,modal:f=!0}=e,d=x.useRef(null),p=x.useRef(null),[h,m]=vr({prop:o,defaultProp:l??!1,onChange:u,caller:qc});return N.jsx(lN,{scope:n,triggerRef:d,contentRef:p,contentId:Bn(),titleId:Bn(),descriptionId:Bn(),open:h,onOpenChange:m,onOpenToggle:x.useCallback(()=>m(g=>!g),[m]),modal:f,children:r})},"Dialog");jx.displayName=qc;var Ix="DialogTrigger",Bx=x.forwardRef((e,n)=>{const{__scopeDialog:r,...o}=e,l=tr(Ix,r),u=ze(n,l.triggerRef);return N.jsx(Te.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":_m(l.open),...o,ref:u,onClick:ye(e.onClick,l.onOpenToggle)})});Bx.displayName=Ix;var Om="DialogPortal",[sN,Hx]=Lx(Om,{forceMount:void 0}),Ux=a(e=>{const{__scopeDialog:n,forceMount:r,children:o,container:l}=e,u=tr(Om,n);return N.jsx(sN,{scope:n,forceMount:r,children:x.Children.map(o,f=>N.jsx(Ht,{present:r||u.open,children:N.jsx(Ma,{asChild:!0,container:l,children:f})}))})},"DialogPortal");Ux.displayName=Om;var gc="DialogOverlay",Fx=x.forwardRef((e,n)=>{const r=Hx(gc,e.__scopeDialog),{forceMount:o=r.forceMount,...l}=e,u=tr(gc,e.__scopeDialog);return u.modal?N.jsx(Ht,{present:o||u.open,children:N.jsx(cN,{...l,ref:n})}):null});Fx.displayName=gc;var uN=lo("DialogOverlay.RemoveScroll"),cN=x.forwardRef((e,n)=>{const{__scopeDialog:r,...o}=e,l=tr(gc,r);return N.jsx(Fc,{as:uN,allowPinchZoom:!0,shards:[l.contentRef],children:N.jsx(Te.div,{"data-state":_m(l.open),...o,ref:n,style:{pointerEvents:"auto",...o.style}})})}),so="DialogContent",qx=x.forwardRef((e,n)=>{const r=Hx(so,e.__scopeDialog),{forceMount:o=r.forceMount,...l}=e,u=tr(so,e.__scopeDialog);return N.jsx(Ht,{present:o||u.open,children:u.modal?N.jsx(fN,{...l,ref:n}):N.jsx(dN,{...l,ref:n})})});qx.displayName=so;var fN=x.forwardRef((e,n)=>{const r=tr(so,e.__scopeDialog),o=x.useRef(null),l=ze(n,r.contentRef,o);return x.useEffect(()=>{const u=o.current;if(u)return Rm(u)},[]),N.jsx($x,{...e,ref:l,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ye(e.onCloseAutoFocus,u=>{u.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:ye(e.onPointerDownOutside,u=>{const f=u.detail.originalEvent,d=f.button===0&&f.ctrlKey===!0;(f.button===2||d)&&u.preventDefault()}),onFocusOutside:ye(e.onFocusOutside,u=>u.preventDefault())})}),dN=x.forwardRef((e,n)=>{const r=tr(so,e.__scopeDialog),o=x.useRef(!1),l=x.useRef(!1);return N.jsx($x,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a(u=>{e.onCloseAutoFocus?.(u),u.defaultPrevented||(o.current||r.triggerRef.current?.focus(),u.preventDefault()),o.current=!1,l.current=!1},"onCloseAutoFocus"),onInteractOutside:a(u=>{e.onInteractOutside?.(u),u.defaultPrevented||(o.current=!0,u.detail.originalEvent.type==="pointerdown"&&(l.current=!0));const f=u.target;r.triggerRef.current?.contains(f)&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&l.current&&u.preventDefault()},"onInteractOutside")})}),$x=x.forwardRef((e,n)=>{const{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:l,onCloseAutoFocus:u,...f}=e,d=tr(so,r),p=x.useRef(null),h=ze(n,p);return Tm(),N.jsxs(N.Fragment,{children:[N.jsx(Hc,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:l,onUnmountAutoFocus:u,children:N.jsx(_a,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":_m(d.open),...f,ref:h,onDismiss:a(()=>d.onOpenChange(!1),"onDismiss")})}),N.jsxs(N.Fragment,{children:[N.jsx(hN,{titleId:d.titleId}),N.jsx(yN,{contentRef:p,descriptionId:d.descriptionId})]})]})}),Am="DialogTitle",Vx=x.forwardRef((e,n)=>{const{__scopeDialog:r,...o}=e,l=tr(Am,r);return N.jsx(Te.h2,{id:l.titleId,...o,ref:n})});Vx.displayName=Am;var Gx="DialogDescription",Yx=x.forwardRef((e,n)=>{const{__scopeDialog:r,...o}=e,l=tr(Gx,r);return N.jsx(Te.p,{id:l.descriptionId,...o,ref:n})});Yx.displayName=Gx;var Qx="DialogClose",Kx=x.forwardRef((e,n)=>{const{__scopeDialog:r,...o}=e,l=tr(Qx,r);return N.jsx(Te.button,{type:"button",...o,ref:n,onClick:ye(e.onClick,()=>l.onOpenChange(!1))})});Kx.displayName=Qx;function _m(e){return e?"open":"closed"}a(_m,"getState$2");var Xx="DialogTitleWarning",[pN,Wx]=K_(Xx,{contentName:so,titleName:Am,docsSlug:"dialog"}),hN=a(({titleId:e})=>{const n=Wx(Xx),r=`\`${n.contentName}\` requires a \`${n.titleName}\` for the component to be accessible for screen reader users.
|
|
90
|
+
|
|
91
|
+
If you want to hide the \`${n.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
92
|
+
|
|
93
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${n.docsSlug}`;return x.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},"TitleWarning"),mN="DialogDescriptionWarning",yN=a(({contentRef:e,descriptionId:n})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Wx(mN).contentName}}.`;return x.useEffect(()=>{const l=e.current?.getAttribute("aria-describedby");n&&l&&(document.getElementById(n)||console.warn(o))},[o,e,n]),null},"DescriptionWarning$1"),gN=jx,vN=Bx,bN=Ux,SN=Fx,xN=qx,wN=Vx,EN=Yx,Zx=Kx;/**
|
|
94
|
+
* @license lucide-react v0.544.0 - ISC
|
|
95
|
+
*
|
|
96
|
+
* This source code is licensed under the ISC license.
|
|
97
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
98
|
+
*/const CN=a(e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),"toKebabCase"),TN=a(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,r,o)=>o?o.toUpperCase():r.toLowerCase()),"toCamelCase"),d1=a(e=>{const n=TN(e);return n.charAt(0).toUpperCase()+n.slice(1)},"toPascalCase"),Jx=a((...e)=>e.filter((n,r,o)=>!!n&&n.trim()!==""&&o.indexOf(n)===r).join(" ").trim(),"mergeClasses"),RN=a(e=>{for(const n in e)if(n.startsWith("aria-")||n==="role"||n==="title")return!0},"hasA11yProp");/**
|
|
99
|
+
* @license lucide-react v0.544.0 - ISC
|
|
100
|
+
*
|
|
101
|
+
* This source code is licensed under the ISC license.
|
|
102
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
103
|
+
*/var ON={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
104
|
+
* @license lucide-react v0.544.0 - ISC
|
|
105
|
+
*
|
|
106
|
+
* This source code is licensed under the ISC license.
|
|
107
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
108
|
+
*/const AN=x.forwardRef(({color:e="currentColor",size:n=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:l="",children:u,iconNode:f,...d},p)=>x.createElement("svg",{ref:p,...ON,width:n,height:n,stroke:e,strokeWidth:o?Number(r)*24/Number(n):r,className:Jx("lucide",l),...!u&&!RN(d)&&{"aria-hidden":"true"},...d},[...f.map(([h,m])=>x.createElement(h,m)),...Array.isArray(u)?u:[u]]));/**
|
|
109
|
+
* @license lucide-react v0.544.0 - ISC
|
|
110
|
+
*
|
|
111
|
+
* This source code is licensed under the ISC license.
|
|
112
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
113
|
+
*/const ve=a((e,n)=>{const r=x.forwardRef(({className:o,...l},u)=>x.createElement(AN,{ref:u,iconNode:n,className:Jx(`lucide-${CN(d1(e))}`,`lucide-${e}`,o),...l}));return r.displayName=d1(e),r},"createLucideIcon");/**
|
|
114
|
+
* @license lucide-react v0.544.0 - ISC
|
|
115
|
+
*
|
|
116
|
+
* This source code is licensed under the ISC license.
|
|
117
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
118
|
+
*/const _N=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],nH=ve("activity",_N);/**
|
|
119
|
+
* @license lucide-react v0.544.0 - ISC
|
|
120
|
+
*
|
|
121
|
+
* This source code is licensed under the ISC license.
|
|
122
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
123
|
+
*/const MN=[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]],rH=ve("arrow-down-to-line",MN);/**
|
|
124
|
+
* @license lucide-react v0.544.0 - ISC
|
|
125
|
+
*
|
|
126
|
+
* This source code is licensed under the ISC license.
|
|
127
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
128
|
+
*/const NN=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],iH=ve("arrow-down",NN);/**
|
|
129
|
+
* @license lucide-react v0.544.0 - ISC
|
|
130
|
+
*
|
|
131
|
+
* This source code is licensed under the ISC license.
|
|
132
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
133
|
+
*/const kN=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],oH=ve("arrow-left",kN);/**
|
|
134
|
+
* @license lucide-react v0.544.0 - ISC
|
|
135
|
+
*
|
|
136
|
+
* This source code is licensed under the ISC license.
|
|
137
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
138
|
+
*/const DN=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],aH=ve("arrow-right-left",DN);/**
|
|
139
|
+
* @license lucide-react v0.544.0 - ISC
|
|
140
|
+
*
|
|
141
|
+
* This source code is licensed under the ISC license.
|
|
142
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
143
|
+
*/const PN=[["path",{d:"m18 9-6-6-6 6",key:"kcunyi"}],["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 21h14",key:"11awu3"}]],lH=ve("arrow-up-from-line",PN);/**
|
|
144
|
+
* @license lucide-react v0.544.0 - ISC
|
|
145
|
+
*
|
|
146
|
+
* This source code is licensed under the ISC license.
|
|
147
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
148
|
+
*/const LN=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],sH=ve("book",LN);/**
|
|
149
|
+
* @license lucide-react v0.544.0 - ISC
|
|
150
|
+
*
|
|
151
|
+
* This source code is licensed under the ISC license.
|
|
152
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
153
|
+
*/const zN=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],uH=ve("bot",zN);/**
|
|
154
|
+
* @license lucide-react v0.544.0 - ISC
|
|
155
|
+
*
|
|
156
|
+
* This source code is licensed under the ISC license.
|
|
157
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
158
|
+
*/const jN=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],cH=ve("brain",jN);/**
|
|
159
|
+
* @license lucide-react v0.544.0 - ISC
|
|
160
|
+
*
|
|
161
|
+
* This source code is licensed under the ISC license.
|
|
162
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
163
|
+
*/const IN=[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],fH=ve("chart-no-axes-column",IN);/**
|
|
164
|
+
* @license lucide-react v0.544.0 - ISC
|
|
165
|
+
*
|
|
166
|
+
* This source code is licensed under the ISC license.
|
|
167
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
168
|
+
*/const BN=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],dH=ve("check",BN);/**
|
|
169
|
+
* @license lucide-react v0.544.0 - ISC
|
|
170
|
+
*
|
|
171
|
+
* This source code is licensed under the ISC license.
|
|
172
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
173
|
+
*/const HN=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],pH=ve("chevron-down",HN);/**
|
|
174
|
+
* @license lucide-react v0.544.0 - ISC
|
|
175
|
+
*
|
|
176
|
+
* This source code is licensed under the ISC license.
|
|
177
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
178
|
+
*/const UN=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],hH=ve("chevron-left",UN);/**
|
|
179
|
+
* @license lucide-react v0.544.0 - ISC
|
|
180
|
+
*
|
|
181
|
+
* This source code is licensed under the ISC license.
|
|
182
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
183
|
+
*/const FN=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],mH=ve("chevron-right",FN);/**
|
|
184
|
+
* @license lucide-react v0.544.0 - ISC
|
|
185
|
+
*
|
|
186
|
+
* This source code is licensed under the ISC license.
|
|
187
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
188
|
+
*/const qN=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],yH=ve("chevron-up",qN);/**
|
|
189
|
+
* @license lucide-react v0.544.0 - ISC
|
|
190
|
+
*
|
|
191
|
+
* This source code is licensed under the ISC license.
|
|
192
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
193
|
+
*/const $N=[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]],gH=ve("chevrons-down-up",$N);/**
|
|
194
|
+
* @license lucide-react v0.544.0 - ISC
|
|
195
|
+
*
|
|
196
|
+
* This source code is licensed under the ISC license.
|
|
197
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
198
|
+
*/const VN=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],vH=ve("chevrons-up-down",VN);/**
|
|
199
|
+
* @license lucide-react v0.544.0 - ISC
|
|
200
|
+
*
|
|
201
|
+
* This source code is licensed under the ISC license.
|
|
202
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
203
|
+
*/const GN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],bH=ve("circle-alert",GN);/**
|
|
204
|
+
* @license lucide-react v0.544.0 - ISC
|
|
205
|
+
*
|
|
206
|
+
* This source code is licensed under the ISC license.
|
|
207
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
208
|
+
*/const YN=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],SH=ve("circle-check-big",YN);/**
|
|
209
|
+
* @license lucide-react v0.544.0 - ISC
|
|
210
|
+
*
|
|
211
|
+
* This source code is licensed under the ISC license.
|
|
212
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
213
|
+
*/const QN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],xH=ve("circle-dot",QN);/**
|
|
214
|
+
* @license lucide-react v0.544.0 - ISC
|
|
215
|
+
*
|
|
216
|
+
* This source code is licensed under the ISC license.
|
|
217
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
218
|
+
*/const KN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],wH=ve("circle-question-mark",KN);/**
|
|
219
|
+
* @license lucide-react v0.544.0 - ISC
|
|
220
|
+
*
|
|
221
|
+
* This source code is licensed under the ISC license.
|
|
222
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
223
|
+
*/const XN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]],EH=ve("circle-stop",XN);/**
|
|
224
|
+
* @license lucide-react v0.544.0 - ISC
|
|
225
|
+
*
|
|
226
|
+
* This source code is licensed under the ISC license.
|
|
227
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
228
|
+
*/const WN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],CH=ve("circle-x",WN);/**
|
|
229
|
+
* @license lucide-react v0.544.0 - ISC
|
|
230
|
+
*
|
|
231
|
+
* This source code is licensed under the ISC license.
|
|
232
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
233
|
+
*/const ZN=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],TH=ve("clock",ZN);/**
|
|
234
|
+
* @license lucide-react v0.544.0 - ISC
|
|
235
|
+
*
|
|
236
|
+
* This source code is licensed under the ISC license.
|
|
237
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
238
|
+
*/const JN=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],RH=ve("cloud-upload",JN);/**
|
|
239
|
+
* @license lucide-react v0.544.0 - ISC
|
|
240
|
+
*
|
|
241
|
+
* This source code is licensed under the ISC license.
|
|
242
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
243
|
+
*/const ek=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],OH=ve("code",ek);/**
|
|
244
|
+
* @license lucide-react v0.544.0 - ISC
|
|
245
|
+
*
|
|
246
|
+
* This source code is licensed under the ISC license.
|
|
247
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
248
|
+
*/const tk=[["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}]],AH=ve("cog",tk);/**
|
|
249
|
+
* @license lucide-react v0.544.0 - ISC
|
|
250
|
+
*
|
|
251
|
+
* This source code is licensed under the ISC license.
|
|
252
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
253
|
+
*/const nk=[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]],_H=ve("coins",nk);/**
|
|
254
|
+
* @license lucide-react v0.544.0 - ISC
|
|
255
|
+
*
|
|
256
|
+
* This source code is licensed under the ISC license.
|
|
257
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
258
|
+
*/const rk=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],MH=ve("columns-3",rk);/**
|
|
259
|
+
* @license lucide-react v0.544.0 - ISC
|
|
260
|
+
*
|
|
261
|
+
* This source code is licensed under the ISC license.
|
|
262
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
263
|
+
*/const ik=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],NH=ve("copy",ik);/**
|
|
264
|
+
* @license lucide-react v0.544.0 - ISC
|
|
265
|
+
*
|
|
266
|
+
* This source code is licensed under the ISC license.
|
|
267
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
268
|
+
*/const ok=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],kH=ve("database",ok);/**
|
|
269
|
+
* @license lucide-react v0.544.0 - ISC
|
|
270
|
+
*
|
|
271
|
+
* This source code is licensed under the ISC license.
|
|
272
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
273
|
+
*/const ak=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],DH=ve("download",ak);/**
|
|
274
|
+
* @license lucide-react v0.544.0 - ISC
|
|
275
|
+
*
|
|
276
|
+
* This source code is licensed under the ISC license.
|
|
277
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
278
|
+
*/const lk=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],PH=ve("ellipsis-vertical",lk);/**
|
|
279
|
+
* @license lucide-react v0.544.0 - ISC
|
|
280
|
+
*
|
|
281
|
+
* This source code is licensed under the ISC license.
|
|
282
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
283
|
+
*/const sk=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],LH=ve("ellipsis",sk);/**
|
|
284
|
+
* @license lucide-react v0.544.0 - ISC
|
|
285
|
+
*
|
|
286
|
+
* This source code is licensed under the ISC license.
|
|
287
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
288
|
+
*/const uk=[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]],zH=ve("eraser",uk);/**
|
|
289
|
+
* @license lucide-react v0.544.0 - ISC
|
|
290
|
+
*
|
|
291
|
+
* This source code is licensed under the ISC license.
|
|
292
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
293
|
+
*/const ck=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],jH=ve("external-link",ck);/**
|
|
294
|
+
* @license lucide-react v0.544.0 - ISC
|
|
295
|
+
*
|
|
296
|
+
* This source code is licensed under the ISC license.
|
|
297
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
298
|
+
*/const fk=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],IH=ve("eye-off",fk);/**
|
|
299
|
+
* @license lucide-react v0.544.0 - ISC
|
|
300
|
+
*
|
|
301
|
+
* This source code is licensed under the ISC license.
|
|
302
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
303
|
+
*/const dk=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],BH=ve("eye",dk);/**
|
|
304
|
+
* @license lucide-react v0.544.0 - ISC
|
|
305
|
+
*
|
|
306
|
+
* This source code is licensed under the ISC license.
|
|
307
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
308
|
+
*/const pk=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],HH=ve("file-text",pk);/**
|
|
309
|
+
* @license lucide-react v0.544.0 - ISC
|
|
310
|
+
*
|
|
311
|
+
* This source code is licensed under the ISC license.
|
|
312
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
313
|
+
*/const hk=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],UH=ve("funnel",hk);/**
|
|
314
|
+
* @license lucide-react v0.544.0 - ISC
|
|
315
|
+
*
|
|
316
|
+
* This source code is licensed under the ISC license.
|
|
317
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
318
|
+
*/const mk=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],FH=ve("globe",mk);/**
|
|
319
|
+
* @license lucide-react v0.544.0 - ISC
|
|
320
|
+
*
|
|
321
|
+
* This source code is licensed under the ISC license.
|
|
322
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
323
|
+
*/const yk=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],qH=ve("grip-vertical",yk);/**
|
|
324
|
+
* @license lucide-react v0.544.0 - ISC
|
|
325
|
+
*
|
|
326
|
+
* This source code is licensed under the ISC license.
|
|
327
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
328
|
+
*/const gk=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],$H=ve("house",gk);/**
|
|
329
|
+
* @license lucide-react v0.544.0 - ISC
|
|
330
|
+
*
|
|
331
|
+
* This source code is licensed under the ISC license.
|
|
332
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
333
|
+
*/const vk=[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]],VH=ve("image-plus",vk);/**
|
|
334
|
+
* @license lucide-react v0.544.0 - ISC
|
|
335
|
+
*
|
|
336
|
+
* This source code is licensed under the ISC license.
|
|
337
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
338
|
+
*/const bk=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],GH=ve("image",bk);/**
|
|
339
|
+
* @license lucide-react v0.544.0 - ISC
|
|
340
|
+
*
|
|
341
|
+
* This source code is licensed under the ISC license.
|
|
342
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
343
|
+
*/const Sk=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],YH=ve("info",Sk);/**
|
|
344
|
+
* @license lucide-react v0.544.0 - ISC
|
|
345
|
+
*
|
|
346
|
+
* This source code is licensed under the ISC license.
|
|
347
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
348
|
+
*/const xk=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],QH=ve("link",xk);/**
|
|
349
|
+
* @license lucide-react v0.544.0 - ISC
|
|
350
|
+
*
|
|
351
|
+
* This source code is licensed under the ISC license.
|
|
352
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
353
|
+
*/const wk=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],KH=ve("loader-circle",wk);/**
|
|
354
|
+
* @license lucide-react v0.544.0 - ISC
|
|
355
|
+
*
|
|
356
|
+
* This source code is licensed under the ISC license.
|
|
357
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
358
|
+
*/const Ek=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],XH=ve("loader",Ek);/**
|
|
359
|
+
* @license lucide-react v0.544.0 - ISC
|
|
360
|
+
*
|
|
361
|
+
* This source code is licensed under the ISC license.
|
|
362
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
363
|
+
*/const Ck=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],WH=ve("menu",Ck);/**
|
|
364
|
+
* @license lucide-react v0.544.0 - ISC
|
|
365
|
+
*
|
|
366
|
+
* This source code is licensed under the ISC license.
|
|
367
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
368
|
+
*/const Tk=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],ZH=ve("mic",Tk);/**
|
|
369
|
+
* @license lucide-react v0.544.0 - ISC
|
|
370
|
+
*
|
|
371
|
+
* This source code is licensed under the ISC license.
|
|
372
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
373
|
+
*/const Rk=[["path",{d:"m18 8 4 4-4 4",key:"1ak13k"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}]],JH=ve("move-horizontal",Rk);/**
|
|
374
|
+
* @license lucide-react v0.544.0 - ISC
|
|
375
|
+
*
|
|
376
|
+
* This source code is licensed under the ISC license.
|
|
377
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
378
|
+
*/const Ok=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],eU=ve("panel-left",Ok);/**
|
|
379
|
+
* @license lucide-react v0.544.0 - ISC
|
|
380
|
+
*
|
|
381
|
+
* This source code is licensed under the ISC license.
|
|
382
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
383
|
+
*/const Ak=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]],tU=ve("panel-right-close",Ak);/**
|
|
384
|
+
* @license lucide-react v0.544.0 - ISC
|
|
385
|
+
*
|
|
386
|
+
* This source code is licensed under the ISC license.
|
|
387
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
388
|
+
*/const _k=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]],nU=ve("panel-right",_k);/**
|
|
389
|
+
* @license lucide-react v0.544.0 - ISC
|
|
390
|
+
*
|
|
391
|
+
* This source code is licensed under the ISC license.
|
|
392
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
393
|
+
*/const Mk=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],rU=ve("paperclip",Mk);/**
|
|
394
|
+
* @license lucide-react v0.544.0 - ISC
|
|
395
|
+
*
|
|
396
|
+
* This source code is licensed under the ISC license.
|
|
397
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
398
|
+
*/const Nk=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],iU=ve("pen-line",Nk);/**
|
|
399
|
+
* @license lucide-react v0.544.0 - ISC
|
|
400
|
+
*
|
|
401
|
+
* This source code is licensed under the ISC license.
|
|
402
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
403
|
+
*/const kk=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],oU=ve("pencil",kk);/**
|
|
404
|
+
* @license lucide-react v0.544.0 - ISC
|
|
405
|
+
*
|
|
406
|
+
* This source code is licensed under the ISC license.
|
|
407
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
408
|
+
*/const Dk=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],aU=ve("play",Dk);/**
|
|
409
|
+
* @license lucide-react v0.544.0 - ISC
|
|
410
|
+
*
|
|
411
|
+
* This source code is licensed under the ISC license.
|
|
412
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
413
|
+
*/const Pk=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],lU=ve("plus",Pk);/**
|
|
414
|
+
* @license lucide-react v0.544.0 - ISC
|
|
415
|
+
*
|
|
416
|
+
* This source code is licensed under the ISC license.
|
|
417
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
418
|
+
*/const Lk=[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]],sU=ve("refresh-ccw",Lk);/**
|
|
419
|
+
* @license lucide-react v0.544.0 - ISC
|
|
420
|
+
*
|
|
421
|
+
* This source code is licensed under the ISC license.
|
|
422
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
423
|
+
*/const zk=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],uU=ve("refresh-cw",zk);/**
|
|
424
|
+
* @license lucide-react v0.544.0 - ISC
|
|
425
|
+
*
|
|
426
|
+
* This source code is licensed under the ISC license.
|
|
427
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
428
|
+
*/const jk=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],cU=ve("rotate-ccw",jk);/**
|
|
429
|
+
* @license lucide-react v0.544.0 - ISC
|
|
430
|
+
*
|
|
431
|
+
* This source code is licensed under the ISC license.
|
|
432
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
433
|
+
*/const Ik=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],fU=ve("save",Ik);/**
|
|
434
|
+
* @license lucide-react v0.544.0 - ISC
|
|
435
|
+
*
|
|
436
|
+
* This source code is licensed under the ISC license.
|
|
437
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
438
|
+
*/const Bk=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],dU=ve("search",Bk);/**
|
|
439
|
+
* @license lucide-react v0.544.0 - ISC
|
|
440
|
+
*
|
|
441
|
+
* This source code is licensed under the ISC license.
|
|
442
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
443
|
+
*/const Hk=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],pU=ve("send",Hk);/**
|
|
444
|
+
* @license lucide-react v0.544.0 - ISC
|
|
445
|
+
*
|
|
446
|
+
* This source code is licensed under the ISC license.
|
|
447
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
448
|
+
*/const Uk=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],hU=ve("settings",Uk);/**
|
|
449
|
+
* @license lucide-react v0.544.0 - ISC
|
|
450
|
+
*
|
|
451
|
+
* This source code is licensed under the ISC license.
|
|
452
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
453
|
+
*/const Fk=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],mU=ve("shield-check",Fk);/**
|
|
454
|
+
* @license lucide-react v0.544.0 - ISC
|
|
455
|
+
*
|
|
456
|
+
* This source code is licensed under the ISC license.
|
|
457
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
458
|
+
*/const qk=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],yU=ve("square-pen",qk);/**
|
|
459
|
+
* @license lucide-react v0.544.0 - ISC
|
|
460
|
+
*
|
|
461
|
+
* This source code is licensed under the ISC license.
|
|
462
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
463
|
+
*/const $k=[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],gU=ve("square-terminal",$k);/**
|
|
464
|
+
* @license lucide-react v0.544.0 - ISC
|
|
465
|
+
*
|
|
466
|
+
* This source code is licensed under the ISC license.
|
|
467
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
468
|
+
*/const Vk=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],vU=ve("square",Vk);/**
|
|
469
|
+
* @license lucide-react v0.544.0 - ISC
|
|
470
|
+
*
|
|
471
|
+
* This source code is licensed under the ISC license.
|
|
472
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
473
|
+
*/const Gk=[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]],bU=ve("tags",Gk);/**
|
|
474
|
+
* @license lucide-react v0.544.0 - ISC
|
|
475
|
+
*
|
|
476
|
+
* This source code is licensed under the ISC license.
|
|
477
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
478
|
+
*/const Yk=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],SU=ve("terminal",Yk);/**
|
|
479
|
+
* @license lucide-react v0.544.0 - ISC
|
|
480
|
+
*
|
|
481
|
+
* This source code is licensed under the ISC license.
|
|
482
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
483
|
+
*/const Qk=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],xU=ve("trash-2",Qk);/**
|
|
484
|
+
* @license lucide-react v0.544.0 - ISC
|
|
485
|
+
*
|
|
486
|
+
* This source code is licensed under the ISC license.
|
|
487
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
488
|
+
*/const Kk=[["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],wU=ve("trash",Kk);/**
|
|
489
|
+
* @license lucide-react v0.544.0 - ISC
|
|
490
|
+
*
|
|
491
|
+
* This source code is licensed under the ISC license.
|
|
492
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
493
|
+
*/const Xk=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],EU=ve("triangle-alert",Xk);/**
|
|
494
|
+
* @license lucide-react v0.544.0 - ISC
|
|
495
|
+
*
|
|
496
|
+
* This source code is licensed under the ISC license.
|
|
497
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
498
|
+
*/const Wk=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],CU=ve("upload",Wk);/**
|
|
499
|
+
* @license lucide-react v0.544.0 - ISC
|
|
500
|
+
*
|
|
501
|
+
* This source code is licensed under the ISC license.
|
|
502
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
503
|
+
*/const Zk=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],TU=ve("user",Zk);/**
|
|
504
|
+
* @license lucide-react v0.544.0 - ISC
|
|
505
|
+
*
|
|
506
|
+
* This source code is licensed under the ISC license.
|
|
507
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
508
|
+
*/const Jk=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],RU=ve("volume-2",Jk);/**
|
|
509
|
+
* @license lucide-react v0.544.0 - ISC
|
|
510
|
+
*
|
|
511
|
+
* This source code is licensed under the ISC license.
|
|
512
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
513
|
+
*/const eD=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],OU=ve("wrench",eD);/**
|
|
514
|
+
* @license lucide-react v0.544.0 - ISC
|
|
515
|
+
*
|
|
516
|
+
* This source code is licensed under the ISC license.
|
|
517
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
518
|
+
*/const tD=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],AU=ve("x",tD);/**
|
|
519
|
+
* @license lucide-react v0.544.0 - ISC
|
|
520
|
+
*
|
|
521
|
+
* This source code is licensed under the ISC license.
|
|
522
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
523
|
+
*/const nD=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],_U=ve("zap",nD),rD=["top","right","bottom","left"],ki=Math.min,wn=Math.max,vc=Math.round,Ju=Math.floor,gr=a(e=>({x:e,y:e}),"createCoords"),iD={left:"right",right:"left",bottom:"top",top:"bottom"},oD={start:"end",end:"start"};function Lh(e,n,r){return wn(e,ki(n,r))}a(Lh,"clamp");function Xr(e,n){return typeof e=="function"?e(n):e}a(Xr,"evaluate");function Wr(e){return e.split("-")[0]}a(Wr,"getSide");function Na(e){return e.split("-")[1]}a(Na,"getAlignment");function Mm(e){return e==="x"?"y":"x"}a(Mm,"getOppositeAxis");function Nm(e){return e==="y"?"height":"width"}a(Nm,"getAxisLength");const aD=new Set(["top","bottom"]);function pr(e){return aD.has(Wr(e))?"y":"x"}a(pr,"getSideAxis");function km(e){return Mm(pr(e))}a(km,"getAlignmentAxis");function lD(e,n,r){r===void 0&&(r=!1);const o=Na(e),l=km(e),u=Nm(l);let f=l==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return n.reference[u]>n.floating[u]&&(f=bc(f)),[f,bc(f)]}a(lD,"getAlignmentSides");function sD(e){const n=bc(e);return[zh(e),n,zh(n)]}a(sD,"getExpandedPlacements");function zh(e){return e.replace(/start|end/g,n=>oD[n])}a(zh,"getOppositeAlignmentPlacement");const p1=["left","right"],h1=["right","left"],uD=["top","bottom"],cD=["bottom","top"];function fD(e,n,r){switch(e){case"top":case"bottom":return r?n?h1:p1:n?p1:h1;case"left":case"right":return n?uD:cD;default:return[]}}a(fD,"getSideList");function dD(e,n,r,o){const l=Na(e);let u=fD(Wr(e),r==="start",o);return l&&(u=u.map(f=>f+"-"+l),n&&(u=u.concat(u.map(zh)))),u}a(dD,"getOppositeAxisPlacements");function bc(e){return e.replace(/left|right|bottom|top/g,n=>iD[n])}a(bc,"getOppositePlacement$1");function pD(e){return{top:0,right:0,bottom:0,left:0,...e}}a(pD,"expandPaddingObject");function ew(e){return typeof e!="number"?pD(e):{top:e,right:e,bottom:e,left:e}}a(ew,"getPaddingObject");function Sc(e){const{x:n,y:r,width:o,height:l}=e;return{width:o,height:l,top:r,left:n,right:n+o,bottom:r+l,x:n,y:r}}a(Sc,"rectToClientRect");function m1(e,n,r){let{reference:o,floating:l}=e;const u=pr(n),f=km(n),d=Nm(f),p=Wr(n),h=u==="y",m=o.x+o.width/2-l.width/2,g=o.y+o.height/2-l.height/2,b=o[d]/2-l[d]/2;let S;switch(p){case"top":S={x:m,y:o.y-l.height};break;case"bottom":S={x:m,y:o.y+o.height};break;case"right":S={x:o.x+o.width,y:g};break;case"left":S={x:o.x-l.width,y:g};break;default:S={x:o.x,y:o.y}}switch(Na(n)){case"start":S[f]-=b*(r&&h?-1:1);break;case"end":S[f]+=b*(r&&h?-1:1);break}return S}a(m1,"computeCoordsFromPlacement");const hD=a(async(e,n,r)=>{const{placement:o="bottom",strategy:l="absolute",middleware:u=[],platform:f}=r,d=u.filter(Boolean),p=await(f.isRTL==null?void 0:f.isRTL(n));let h=await f.getElementRects({reference:e,floating:n,strategy:l}),{x:m,y:g}=m1(h,o,p),b=o,S={},E=0;for(let w=0;w<d.length;w++){const{name:R,fn:T}=d[w],{x:O,y:M,data:L,reset:B}=await T({x:m,y:g,initialPlacement:o,placement:b,strategy:l,middlewareData:S,rects:h,platform:f,elements:{reference:e,floating:n}});m=O??m,g=M??g,S={...S,[R]:{...S[R],...L}},B&&E<=50&&(E++,typeof B=="object"&&(B.placement&&(b=B.placement),B.rects&&(h=B.rects===!0?await f.getElementRects({reference:e,floating:n,strategy:l}):B.rects),{x:m,y:g}=m1(h,b,p)),w=-1)}return{x:m,y:g,placement:b,strategy:l,middlewareData:S}},"computePosition$1");async function Jl(e,n){var r;n===void 0&&(n={});const{x:o,y:l,platform:u,rects:f,elements:d,strategy:p}=e,{boundary:h="clippingAncestors",rootBoundary:m="viewport",elementContext:g="floating",altBoundary:b=!1,padding:S=0}=Xr(n,e),E=ew(S),R=d[b?g==="floating"?"reference":"floating":g],T=Sc(await u.getClippingRect({element:(r=await(u.isElement==null?void 0:u.isElement(R)))==null||r?R:R.contextElement||await(u.getDocumentElement==null?void 0:u.getDocumentElement(d.floating)),boundary:h,rootBoundary:m,strategy:p})),O=g==="floating"?{x:o,y:l,width:f.floating.width,height:f.floating.height}:f.reference,M=await(u.getOffsetParent==null?void 0:u.getOffsetParent(d.floating)),L=await(u.isElement==null?void 0:u.isElement(M))?await(u.getScale==null?void 0:u.getScale(M))||{x:1,y:1}:{x:1,y:1},B=Sc(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:O,offsetParent:M,strategy:p}):O);return{top:(T.top-B.top+E.top)/L.y,bottom:(B.bottom-T.bottom+E.bottom)/L.y,left:(T.left-B.left+E.left)/L.x,right:(B.right-T.right+E.right)/L.x}}a(Jl,"detectOverflow");const mD=a(e=>({name:"arrow",options:e,async fn(n){const{x:r,y:o,placement:l,rects:u,platform:f,elements:d,middlewareData:p}=n,{element:h,padding:m=0}=Xr(e,n)||{};if(h==null)return{};const g=ew(m),b={x:r,y:o},S=km(l),E=Nm(S),w=await f.getDimensions(h),R=S==="y",T=R?"top":"left",O=R?"bottom":"right",M=R?"clientHeight":"clientWidth",L=u.reference[E]+u.reference[S]-b[S]-u.floating[E],B=b[S]-u.reference[S],D=await(f.getOffsetParent==null?void 0:f.getOffsetParent(h));let P=D?D[M]:0;(!P||!await(f.isElement==null?void 0:f.isElement(D)))&&(P=d.floating[M]||u.floating[E]);const Y=L/2-B/2,K=P/2-w[E]/2-1,te=ki(g[T],K),Z=ki(g[O],K),ee=te,fe=P-w[E]-Z,F=P/2-w[E]/2+Y,oe=Lh(ee,F,fe),I=!p.arrow&&Na(l)!=null&&F!==oe&&u.reference[E]/2-(F<ee?te:Z)-w[E]/2<0,W=I?F<ee?F-ee:F-fe:0;return{[S]:b[S]+W,data:{[S]:oe,centerOffset:F-oe-W,...I&&{alignmentOffset:W}},reset:I}}}),"arrow$4"),yD=a(function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var r,o;const{placement:l,middlewareData:u,rects:f,initialPlacement:d,platform:p,elements:h}=n,{mainAxis:m=!0,crossAxis:g=!0,fallbackPlacements:b,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:w=!0,...R}=Xr(e,n);if((r=u.arrow)!=null&&r.alignmentOffset)return{};const T=Wr(l),O=pr(d),M=Wr(d)===d,L=await(p.isRTL==null?void 0:p.isRTL(h.floating)),B=b||(M||!w?[bc(d)]:sD(d)),D=E!=="none";!b&&D&&B.push(...dD(d,w,E,L));const P=[d,...B],Y=await Jl(n,R),K=[];let te=((o=u.flip)==null?void 0:o.overflows)||[];if(m&&K.push(Y[T]),g){const F=lD(l,f,L);K.push(Y[F[0]],Y[F[1]])}if(te=[...te,{placement:l,overflows:K}],!K.every(F=>F<=0)){var Z,ee;const F=(((Z=u.flip)==null?void 0:Z.index)||0)+1,oe=P[F];if(oe&&(!(g==="alignment"?O!==pr(oe):!1)||te.every(ie=>pr(ie.placement)===O?ie.overflows[0]>0:!0)))return{data:{index:F,overflows:te},reset:{placement:oe}};let I=(ee=te.filter(W=>W.overflows[0]<=0).sort((W,ie)=>W.overflows[1]-ie.overflows[1])[0])==null?void 0:ee.placement;if(!I)switch(S){case"bestFit":{var fe;const W=(fe=te.filter(ie=>{if(D){const se=pr(ie.placement);return se===O||se==="y"}return!0}).map(ie=>[ie.placement,ie.overflows.filter(se=>se>0).reduce((se,k)=>se+k,0)]).sort((ie,se)=>ie[1]-se[1])[0])==null?void 0:fe[0];W&&(I=W);break}case"initialPlacement":I=d;break}if(l!==I)return{reset:{placement:I}}}return{}}}},"flip$3");function y1(e,n){return{top:e.top-n.height,right:e.right-n.width,bottom:e.bottom-n.height,left:e.left-n.width}}a(y1,"getSideOffsets");function g1(e){return rD.some(n=>e[n]>=0)}a(g1,"isAnySideFullyClipped");const gD=a(function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(n){const{rects:r}=n,{strategy:o="referenceHidden",...l}=Xr(e,n);switch(o){case"referenceHidden":{const u=await Jl(n,{...l,elementContext:"reference"}),f=y1(u,r.reference);return{data:{referenceHiddenOffsets:f,referenceHidden:g1(f)}}}case"escaped":{const u=await Jl(n,{...l,altBoundary:!0}),f=y1(u,r.floating);return{data:{escapedOffsets:f,escaped:g1(f)}}}default:return{}}}}},"hide$3"),tw=new Set(["left","top"]);async function vD(e,n){const{placement:r,platform:o,elements:l}=e,u=await(o.isRTL==null?void 0:o.isRTL(l.floating)),f=Wr(r),d=Na(r),p=pr(r)==="y",h=tw.has(f)?-1:1,m=u&&p?-1:1,g=Xr(n,e);let{mainAxis:b,crossAxis:S,alignmentAxis:E}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return d&&typeof E=="number"&&(S=d==="end"?E*-1:E),p?{x:S*m,y:b*h}:{x:b*h,y:S*m}}a(vD,"convertValueToCoords");const bD=a(function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var r,o;const{x:l,y:u,placement:f,middlewareData:d}=n,p=await vD(n,e);return f===((r=d.offset)==null?void 0:r.placement)&&(o=d.arrow)!=null&&o.alignmentOffset?{}:{x:l+p.x,y:u+p.y,data:{...p,placement:f}}}}},"offset$3"),SD=a(function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:r,y:o,placement:l}=n,{mainAxis:u=!0,crossAxis:f=!1,limiter:d={fn:a(R=>{let{x:T,y:O}=R;return{x:T,y:O}},"fn")},...p}=Xr(e,n),h={x:r,y:o},m=await Jl(n,p),g=pr(Wr(l)),b=Mm(g);let S=h[b],E=h[g];if(u){const R=b==="y"?"top":"left",T=b==="y"?"bottom":"right",O=S+m[R],M=S-m[T];S=Lh(O,S,M)}if(f){const R=g==="y"?"top":"left",T=g==="y"?"bottom":"right",O=E+m[R],M=E-m[T];E=Lh(O,E,M)}const w=d.fn({...n,[b]:S,[g]:E});return{...w,data:{x:w.x-r,y:w.y-o,enabled:{[b]:u,[g]:f}}}}}},"shift$3"),xD=a(function(e){return e===void 0&&(e={}),{options:e,fn(n){const{x:r,y:o,placement:l,rects:u,middlewareData:f}=n,{offset:d=0,mainAxis:p=!0,crossAxis:h=!0}=Xr(e,n),m={x:r,y:o},g=pr(l),b=Mm(g);let S=m[b],E=m[g];const w=Xr(d,n),R=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(p){const M=b==="y"?"height":"width",L=u.reference[b]-u.floating[M]+R.mainAxis,B=u.reference[b]+u.reference[M]-R.mainAxis;S<L?S=L:S>B&&(S=B)}if(h){var T,O;const M=b==="y"?"width":"height",L=tw.has(Wr(l)),B=u.reference[g]-u.floating[M]+(L&&((T=f.offset)==null?void 0:T[g])||0)+(L?0:R.crossAxis),D=u.reference[g]+u.reference[M]+(L?0:((O=f.offset)==null?void 0:O[g])||0)-(L?R.crossAxis:0);E<B?E=B:E>D&&(E=D)}return{[b]:S,[g]:E}}}},"limitShift$2"),wD=a(function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var r,o;const{placement:l,rects:u,platform:f,elements:d}=n,{apply:p=a(()=>{},"apply"),...h}=Xr(e,n),m=await Jl(n,h),g=Wr(l),b=Na(l),S=pr(l)==="y",{width:E,height:w}=u.floating;let R,T;g==="top"||g==="bottom"?(R=g,T=b===(await(f.isRTL==null?void 0:f.isRTL(d.floating))?"start":"end")?"left":"right"):(T=g,R=b==="end"?"top":"bottom");const O=w-m.top-m.bottom,M=E-m.left-m.right,L=ki(w-m[R],O),B=ki(E-m[T],M),D=!n.middlewareData.shift;let P=L,Y=B;if((r=n.middlewareData.shift)!=null&&r.enabled.x&&(Y=M),(o=n.middlewareData.shift)!=null&&o.enabled.y&&(P=O),D&&!b){const te=wn(m.left,0),Z=wn(m.right,0),ee=wn(m.top,0),fe=wn(m.bottom,0);S?Y=E-2*(te!==0||Z!==0?te+Z:wn(m.left,m.right)):P=w-2*(ee!==0||fe!==0?ee+fe:wn(m.top,m.bottom))}await p({...n,availableWidth:Y,availableHeight:P});const K=await f.getDimensions(d.floating);return E!==K.width||w!==K.height?{reset:{rects:!0}}:{}}}},"size$2");function $c(){return typeof window<"u"}a($c,"hasWindow");function ka(e){return nw(e)?(e.nodeName||"").toLowerCase():"#document"}a(ka,"getNodeName");function Cn(e){var n;return(e==null||(n=e.ownerDocument)==null?void 0:n.defaultView)||window}a(Cn,"getWindow$1");function wr(e){var n;return(n=(nw(e)?e.ownerDocument:e.document)||window.document)==null?void 0:n.documentElement}a(wr,"getDocumentElement");function nw(e){return $c()?e instanceof Node||e instanceof Cn(e).Node:!1}a(nw,"isNode");function Zn(e){return $c()?e instanceof Element||e instanceof Cn(e).Element:!1}a(Zn,"isElement");function br(e){return $c()?e instanceof HTMLElement||e instanceof Cn(e).HTMLElement:!1}a(br,"isHTMLElement$2");function v1(e){return!$c()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Cn(e).ShadowRoot}a(v1,"isShadowRoot");const ED=new Set(["inline","contents"]);function ps(e){const{overflow:n,overflowX:r,overflowY:o,display:l}=Jn(e);return/auto|scroll|overlay|hidden|clip/.test(n+o+r)&&!ED.has(l)}a(ps,"isOverflowElement");const CD=new Set(["table","td","th"]);function TD(e){return CD.has(ka(e))}a(TD,"isTableElement");const RD=[":popover-open",":modal"];function Vc(e){return RD.some(n=>{try{return e.matches(n)}catch{return!1}})}a(Vc,"isTopLayer");const OD=["transform","translate","scale","rotate","perspective"],AD=["transform","translate","scale","rotate","perspective","filter"],_D=["paint","layout","strict","content"];function Dm(e){const n=Pm(),r=Zn(e)?Jn(e):e;return OD.some(o=>r[o]?r[o]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!n&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!n&&(r.filter?r.filter!=="none":!1)||AD.some(o=>(r.willChange||"").includes(o))||_D.some(o=>(r.contain||"").includes(o))}a(Dm,"isContainingBlock");function MD(e){let n=Di(e);for(;br(n)&&!wa(n);){if(Dm(n))return n;if(Vc(n))return null;n=Di(n)}return null}a(MD,"getContainingBlock");function Pm(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}a(Pm,"isWebKit");const ND=new Set(["html","body","#document"]);function wa(e){return ND.has(ka(e))}a(wa,"isLastTraversableNode");function Jn(e){return Cn(e).getComputedStyle(e)}a(Jn,"getComputedStyle$1");function Gc(e){return Zn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}a(Gc,"getNodeScroll");function Di(e){if(ka(e)==="html")return e;const n=e.assignedSlot||e.parentNode||v1(e)&&e.host||wr(e);return v1(n)?n.host:n}a(Di,"getParentNode$1");function rw(e){const n=Di(e);return wa(n)?e.ownerDocument?e.ownerDocument.body:e.body:br(n)&&ps(n)?n:rw(n)}a(rw,"getNearestOverflowAncestor");function es(e,n,r){var o;n===void 0&&(n=[]),r===void 0&&(r=!0);const l=rw(e),u=l===((o=e.ownerDocument)==null?void 0:o.body),f=Cn(l);if(u){const d=jh(f);return n.concat(f,f.visualViewport||[],ps(l)?l:[],d&&r?es(d):[])}return n.concat(l,es(l,[],r))}a(es,"getOverflowAncestors");function jh(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}a(jh,"getFrameElement");function iw(e){const n=Jn(e);let r=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const l=br(e),u=l?e.offsetWidth:r,f=l?e.offsetHeight:o,d=vc(r)!==u||vc(o)!==f;return d&&(r=u,o=f),{width:r,height:o,$:d}}a(iw,"getCssDimensions");function Lm(e){return Zn(e)?e:e.contextElement}a(Lm,"unwrapElement");function ga(e){const n=Lm(e);if(!br(n))return gr(1);const r=n.getBoundingClientRect(),{width:o,height:l,$:u}=iw(n);let f=(u?vc(r.width):r.width)/o,d=(u?vc(r.height):r.height)/l;return(!f||!Number.isFinite(f))&&(f=1),(!d||!Number.isFinite(d))&&(d=1),{x:f,y:d}}a(ga,"getScale");const kD=gr(0);function ow(e){const n=Cn(e);return!Pm()||!n.visualViewport?kD:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}a(ow,"getVisualOffsets");function DD(e,n,r){return n===void 0&&(n=!1),!r||n&&r!==Cn(e)?!1:n}a(DD,"shouldAddVisualOffsets");function uo(e,n,r,o){n===void 0&&(n=!1),r===void 0&&(r=!1);const l=e.getBoundingClientRect(),u=Lm(e);let f=gr(1);n&&(o?Zn(o)&&(f=ga(o)):f=ga(e));const d=DD(u,r,o)?ow(u):gr(0);let p=(l.left+d.x)/f.x,h=(l.top+d.y)/f.y,m=l.width/f.x,g=l.height/f.y;if(u){const b=Cn(u),S=o&&Zn(o)?Cn(o):o;let E=b,w=jh(E);for(;w&&o&&S!==E;){const R=ga(w),T=w.getBoundingClientRect(),O=Jn(w),M=T.left+(w.clientLeft+parseFloat(O.paddingLeft))*R.x,L=T.top+(w.clientTop+parseFloat(O.paddingTop))*R.y;p*=R.x,h*=R.y,m*=R.x,g*=R.y,p+=M,h+=L,E=Cn(w),w=jh(E)}}return Sc({width:m,height:g,x:p,y:h})}a(uo,"getBoundingClientRect$1");function Yc(e,n){const r=Gc(e).scrollLeft;return n?n.left+r:uo(wr(e)).left+r}a(Yc,"getWindowScrollBarX");function aw(e,n){const r=e.getBoundingClientRect(),o=r.left+n.scrollLeft-Yc(e,r),l=r.top+n.scrollTop;return{x:o,y:l}}a(aw,"getHTMLOffset");function PD(e){let{elements:n,rect:r,offsetParent:o,strategy:l}=e;const u=l==="fixed",f=wr(o),d=n?Vc(n.floating):!1;if(o===f||d&&u)return r;let p={scrollLeft:0,scrollTop:0},h=gr(1);const m=gr(0),g=br(o);if((g||!g&&!u)&&((ka(o)!=="body"||ps(f))&&(p=Gc(o)),br(o))){const S=uo(o);h=ga(o),m.x=S.x+o.clientLeft,m.y=S.y+o.clientTop}const b=f&&!g&&!u?aw(f,p):gr(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-p.scrollLeft*h.x+m.x+b.x,y:r.y*h.y-p.scrollTop*h.y+m.y+b.y}}a(PD,"convertOffsetParentRelativeRectToViewportRelativeRect");function LD(e){return Array.from(e.getClientRects())}a(LD,"getClientRects");function zD(e){const n=wr(e),r=Gc(e),o=e.ownerDocument.body,l=wn(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),u=wn(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let f=-r.scrollLeft+Yc(e);const d=-r.scrollTop;return Jn(o).direction==="rtl"&&(f+=wn(n.clientWidth,o.clientWidth)-l),{width:l,height:u,x:f,y:d}}a(zD,"getDocumentRect");const b1=25;function jD(e,n){const r=Cn(e),o=wr(e),l=r.visualViewport;let u=o.clientWidth,f=o.clientHeight,d=0,p=0;if(l){u=l.width,f=l.height;const m=Pm();(!m||m&&n==="fixed")&&(d=l.offsetLeft,p=l.offsetTop)}const h=Yc(o);if(h<=0){const m=o.ownerDocument,g=m.body,b=getComputedStyle(g),S=m.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,E=Math.abs(o.clientWidth-g.clientWidth-S);E<=b1&&(u-=E)}else h<=b1&&(u+=h);return{width:u,height:f,x:d,y:p}}a(jD,"getViewportRect");const ID=new Set(["absolute","fixed"]);function BD(e,n){const r=uo(e,!0,n==="fixed"),o=r.top+e.clientTop,l=r.left+e.clientLeft,u=br(e)?ga(e):gr(1),f=e.clientWidth*u.x,d=e.clientHeight*u.y,p=l*u.x,h=o*u.y;return{width:f,height:d,x:p,y:h}}a(BD,"getInnerBoundingClientRect");function S1(e,n,r){let o;if(n==="viewport")o=jD(e,r);else if(n==="document")o=zD(wr(e));else if(Zn(n))o=BD(n,r);else{const l=ow(e);o={x:n.x-l.x,y:n.y-l.y,width:n.width,height:n.height}}return Sc(o)}a(S1,"getClientRectFromClippingAncestor");function lw(e,n){const r=Di(e);return r===n||!Zn(r)||wa(r)?!1:Jn(r).position==="fixed"||lw(r,n)}a(lw,"hasFixedPositionAncestor");function HD(e,n){const r=n.get(e);if(r)return r;let o=es(e,[],!1).filter(d=>Zn(d)&&ka(d)!=="body"),l=null;const u=Jn(e).position==="fixed";let f=u?Di(e):e;for(;Zn(f)&&!wa(f);){const d=Jn(f),p=Dm(f);!p&&d.position==="fixed"&&(l=null),(u?!p&&!l:!p&&d.position==="static"&&!!l&&ID.has(l.position)||ps(f)&&!p&&lw(e,f))?o=o.filter(m=>m!==f):l=d,f=Di(f)}return n.set(e,o),o}a(HD,"getClippingElementAncestors");function UD(e){let{element:n,boundary:r,rootBoundary:o,strategy:l}=e;const f=[...r==="clippingAncestors"?Vc(n)?[]:HD(n,this._c):[].concat(r),o],d=f[0],p=f.reduce((h,m)=>{const g=S1(n,m,l);return h.top=wn(g.top,h.top),h.right=ki(g.right,h.right),h.bottom=ki(g.bottom,h.bottom),h.left=wn(g.left,h.left),h},S1(n,d,l));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}a(UD,"getClippingRect");function FD(e){const{width:n,height:r}=iw(e);return{width:n,height:r}}a(FD,"getDimensions");function qD(e,n,r){const o=br(n),l=wr(n),u=r==="fixed",f=uo(e,!0,u,n);let d={scrollLeft:0,scrollTop:0};const p=gr(0);function h(){p.x=Yc(l)}if(a(h,"setLeftRTLScrollbarOffset"),o||!o&&!u)if((ka(n)!=="body"||ps(l))&&(d=Gc(n)),o){const S=uo(n,!0,u,n);p.x=S.x+n.clientLeft,p.y=S.y+n.clientTop}else l&&h();u&&!o&&l&&h();const m=l&&!o&&!u?aw(l,d):gr(0),g=f.left+d.scrollLeft-p.x-m.x,b=f.top+d.scrollTop-p.y-m.y;return{x:g,y:b,width:f.width,height:f.height}}a(qD,"getRectRelativeToOffsetParent");function Wp(e){return Jn(e).position==="static"}a(Wp,"isStaticPositioned");function x1(e,n){if(!br(e)||Jn(e).position==="fixed")return null;if(n)return n(e);let r=e.offsetParent;return wr(e)===r&&(r=r.ownerDocument.body),r}a(x1,"getTrueOffsetParent");function sw(e,n){const r=Cn(e);if(Vc(e))return r;if(!br(e)){let l=Di(e);for(;l&&!wa(l);){if(Zn(l)&&!Wp(l))return l;l=Di(l)}return r}let o=x1(e,n);for(;o&&TD(o)&&Wp(o);)o=x1(o,n);return o&&wa(o)&&Wp(o)&&!Dm(o)?r:o||MD(e)||r}a(sw,"getOffsetParent$1");const $D=a(async function(e){const n=this.getOffsetParent||sw,r=this.getDimensions,o=await r(e.floating);return{reference:qD(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},"getElementRects");function VD(e){return Jn(e).direction==="rtl"}a(VD,"isRTL");const GD={convertOffsetParentRelativeRectToViewportRelativeRect:PD,getDocumentElement:wr,getClippingRect:UD,getOffsetParent:sw,getElementRects:$D,getClientRects:LD,getDimensions:FD,getScale:ga,isElement:Zn,isRTL:VD};function uw(e,n){return e.x===n.x&&e.y===n.y&&e.width===n.width&&e.height===n.height}a(uw,"rectsAreEqual");function YD(e,n){let r=null,o;const l=wr(e);function u(){var d;clearTimeout(o),(d=r)==null||d.disconnect(),r=null}a(u,"cleanup");function f(d,p){d===void 0&&(d=!1),p===void 0&&(p=1),u();const h=e.getBoundingClientRect(),{left:m,top:g,width:b,height:S}=h;if(d||n(),!b||!S)return;const E=Ju(g),w=Ju(l.clientWidth-(m+b)),R=Ju(l.clientHeight-(g+S)),T=Ju(m),M={rootMargin:-E+"px "+-w+"px "+-R+"px "+-T+"px",threshold:wn(0,ki(1,p))||1};let L=!0;function B(D){const P=D[0].intersectionRatio;if(P!==p){if(!L)return f();P?f(!1,P):o=setTimeout(()=>{f(!1,1e-7)},1e3)}P===1&&!uw(h,e.getBoundingClientRect())&&f(),L=!1}a(B,"handleObserve");try{r=new IntersectionObserver(B,{...M,root:l.ownerDocument})}catch{r=new IntersectionObserver(B,M)}r.observe(e)}return a(f,"refresh"),f(!0),u}a(YD,"observeMove");function QD(e,n,r,o){o===void 0&&(o={});const{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:p=!1}=o,h=Lm(e),m=l||u?[...h?es(h):[],...es(n)]:[];m.forEach(T=>{l&&T.addEventListener("scroll",r,{passive:!0}),u&&T.addEventListener("resize",r)});const g=h&&d?YD(h,r):null;let b=-1,S=null;f&&(S=new ResizeObserver(T=>{let[O]=T;O&&O.target===h&&S&&(S.unobserve(n),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var M;(M=S)==null||M.observe(n)})),r()}),h&&!p&&S.observe(h),S.observe(n));let E,w=p?uo(e):null;p&&R();function R(){const T=uo(e);w&&!uw(w,T)&&r(),w=T,E=requestAnimationFrame(R)}return a(R,"frameLoop"),r(),()=>{var T;m.forEach(O=>{l&&O.removeEventListener("scroll",r),u&&O.removeEventListener("resize",r)}),g?.(),(T=S)==null||T.disconnect(),S=null,p&&cancelAnimationFrame(E)}}a(QD,"autoUpdate");const KD=bD,XD=SD,WD=yD,ZD=wD,JD=gD,w1=mD,eP=xD,tP=a((e,n,r)=>{const o=new Map,l={platform:GD,...r},u={...l.platform,_c:o};return hD(e,n,{...l,platform:u})},"computePosition");var nP=typeof document<"u",rP=a(function(){},"noop"),cc=nP?x.useLayoutEffect:rP;function xc(e,n){if(e===n)return!0;if(typeof e!=typeof n)return!1;if(typeof e=="function"&&e.toString()===n.toString())return!0;let r,o,l;if(e&&n&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==n.length)return!1;for(o=r;o--!==0;)if(!xc(e[o],n[o]))return!1;return!0}if(l=Object.keys(e),r=l.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!{}.hasOwnProperty.call(n,l[o]))return!1;for(o=r;o--!==0;){const u=l[o];if(!(u==="_owner"&&e.$$typeof)&&!xc(e[u],n[u]))return!1}return!0}return e!==e&&n!==n}a(xc,"deepEqual");function cw(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}a(cw,"getDPR");function E1(e,n){const r=cw(e);return Math.round(n*r)/r}a(E1,"roundByDPR");function Zp(e){const n=x.useRef(e);return cc(()=>{n.current=e}),n}a(Zp,"useLatestRef");function iP(e){e===void 0&&(e={});const{placement:n="bottom",strategy:r="absolute",middleware:o=[],platform:l,elements:{reference:u,floating:f}={},transform:d=!0,whileElementsMounted:p,open:h}=e,[m,g]=x.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[b,S]=x.useState(o);xc(b,o)||S(o);const[E,w]=x.useState(null),[R,T]=x.useState(null),O=x.useCallback(ie=>{ie!==D.current&&(D.current=ie,w(ie))},[]),M=x.useCallback(ie=>{ie!==P.current&&(P.current=ie,T(ie))},[]),L=u||E,B=f||R,D=x.useRef(null),P=x.useRef(null),Y=x.useRef(m),K=p!=null,te=Zp(p),Z=Zp(l),ee=Zp(h),fe=x.useCallback(()=>{if(!D.current||!P.current)return;const ie={placement:n,strategy:r,middleware:b};Z.current&&(ie.platform=Z.current),tP(D.current,P.current,ie).then(se=>{const k={...se,isPositioned:ee.current!==!1};F.current&&!xc(Y.current,k)&&(Y.current=k,yr.flushSync(()=>{g(k)}))})},[b,n,r,Z,ee]);cc(()=>{h===!1&&Y.current.isPositioned&&(Y.current.isPositioned=!1,g(ie=>({...ie,isPositioned:!1})))},[h]);const F=x.useRef(!1);cc(()=>(F.current=!0,()=>{F.current=!1}),[]),cc(()=>{if(L&&(D.current=L),B&&(P.current=B),L&&B){if(te.current)return te.current(L,B,fe);fe()}},[L,B,fe,te,K]);const oe=x.useMemo(()=>({reference:D,floating:P,setReference:O,setFloating:M}),[O,M]),I=x.useMemo(()=>({reference:L,floating:B}),[L,B]),W=x.useMemo(()=>{const ie={position:r,left:0,top:0};if(!I.floating)return ie;const se=E1(I.floating,m.x),k=E1(I.floating,m.y);return d?{...ie,transform:"translate("+se+"px, "+k+"px)",...cw(I.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:se,top:k}},[r,d,I.floating,m.x,m.y]);return x.useMemo(()=>({...m,update:fe,refs:oe,elements:I,floatingStyles:W}),[m,fe,oe,I,W])}a(iP,"useFloating");const oP=a(e=>{function n(r){return{}.hasOwnProperty.call(r,"current")}return a(n,"isRef"),{name:"arrow",options:e,fn(r){const{element:o,padding:l}=typeof e=="function"?e(r):e;return o&&n(o)?o.current!=null?w1({element:o.current,padding:l}).fn(r):{}:o?w1({element:o,padding:l}).fn(r):{}}}},"arrow$1"),aP=a((e,n)=>({...KD(e),options:[e,n]}),"offset$1"),lP=a((e,n)=>({...XD(e),options:[e,n]}),"shift$1"),sP=a((e,n)=>({...eP(e),options:[e,n]}),"limitShift"),uP=a((e,n)=>({...WD(e),options:[e,n]}),"flip$1"),cP=a((e,n)=>({...ZD(e),options:[e,n]}),"size"),fP=a((e,n)=>({...JD(e),options:[e,n]}),"hide$1"),dP=a((e,n)=>({...oP(e),options:[e,n]}),"arrow$2");var pP="Arrow",fw=x.forwardRef((e,n)=>{const{children:r,width:o=10,height:l=5,...u}=e;return N.jsx(Te.svg,{...u,ref:n,width:o,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:N.jsx("polygon",{points:"0,0 30,0 15,10"})})});fw.displayName=pP;var hP=fw;function dw(e){const[n,r]=x.useState(void 0);return wt(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const u=l[0];let f,d;if("borderBoxSize"in u){const p=u.borderBoxSize,h=Array.isArray(p)?p[0]:p;f=h.inlineSize,d=h.blockSize}else f=e.offsetWidth,d=e.offsetHeight;r({width:f,height:d})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else r(void 0)},[e]),n}a(dw,"useSize");var zm="Popper",[pw,Da]=Wt(zm),[mP,hw]=pw(zm),mw=a(e=>{const{__scopePopper:n,children:r}=e,[o,l]=x.useState(null);return N.jsx(mP,{scope:n,anchor:o,onAnchorChange:l,children:r})},"Popper$1");mw.displayName=zm;var yw="PopperAnchor",gw=x.forwardRef((e,n)=>{const{__scopePopper:r,virtualRef:o,...l}=e,u=hw(yw,r),f=x.useRef(null),d=ze(n,f),p=x.useRef(null);return x.useEffect(()=>{const h=p.current;p.current=o?.current||f.current,h!==p.current&&u.onAnchorChange(p.current)}),o?null:N.jsx(Te.div,{...l,ref:d})});gw.displayName=yw;var jm="PopperContent",[yP,gP]=pw(jm),vw=x.forwardRef((e,n)=>{const{__scopePopper:r,side:o="bottom",sideOffset:l=0,align:u="center",alignOffset:f=0,arrowPadding:d=0,avoidCollisions:p=!0,collisionBoundary:h=[],collisionPadding:m=0,sticky:g="partial",hideWhenDetached:b=!1,updatePositionStrategy:S="optimized",onPlaced:E,...w}=e,R=hw(jm,r),[T,O]=x.useState(null),M=ze(n,V=>O(V)),[L,B]=x.useState(null),D=dw(L),P=D?.width??0,Y=D?.height??0,K=o+(u!=="center"?"-"+u:""),te=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},Z=Array.isArray(h)?h:[h],ee=Z.length>0,fe={padding:te,boundary:Z.filter(bP),altBoundary:ee},{refs:F,floatingStyles:oe,placement:I,isPositioned:W,middlewareData:ie}=iP({strategy:"fixed",placement:K,whileElementsMounted:a((...V)=>QD(...V,{animationFrame:S==="always"}),"whileElementsMounted"),elements:{reference:R.anchor},middleware:[aP({mainAxis:l+Y,alignmentAxis:f}),p&&lP({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?sP():void 0,...fe}),p&&uP({...fe}),cP({...fe,apply:a(({elements:V,rects:pe,availableWidth:be,availableHeight:Re})=>{const{width:ke,height:Ue}=pe.reference,Be=V.floating.style;Be.setProperty("--radix-popper-available-width",`${be}px`),Be.setProperty("--radix-popper-available-height",`${Re}px`),Be.setProperty("--radix-popper-anchor-width",`${ke}px`),Be.setProperty("--radix-popper-anchor-height",`${Ue}px`)},"apply")}),L&&dP({element:L,padding:d}),SP({arrowWidth:P,arrowHeight:Y}),b&&fP({strategy:"referenceHidden",...fe})]}),[se,k]=xw(I),z=xt(E);wt(()=>{W&&z?.()},[W,z]);const Q=ie.arrow?.x,A=ie.arrow?.y,J=ie.arrow?.centerOffset!==0,[de,ce]=x.useState();return wt(()=>{T&&ce(window.getComputedStyle(T).zIndex)},[T]),N.jsx("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...oe,transform:W?oe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:de,"--radix-popper-transform-origin":[ie.transformOrigin?.x,ie.transformOrigin?.y].join(" "),...ie.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:N.jsx(yP,{scope:r,placedSide:se,onArrowChange:B,arrowX:Q,arrowY:A,shouldHideArrow:J,children:N.jsx(Te.div,{"data-side":se,"data-align":k,...w,ref:M,style:{...w.style,animation:W?void 0:"none"}})})})});vw.displayName=jm;var bw="PopperArrow",vP={top:"bottom",right:"left",bottom:"top",left:"right"},Sw=x.forwardRef(a(function(n,r){const{__scopePopper:o,...l}=n,u=gP(bw,o),f=vP[u.placedSide];return N.jsx("span",{ref:u.onArrowChange,style:{position:"absolute",left:u.arrowX,top:u.arrowY,[f]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[u.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[u.placedSide],visibility:u.shouldHideArrow?"hidden":void 0},children:N.jsx(hP,{...l,ref:r,style:{...l.style,display:"block"}})})},"PopperArrow2"));Sw.displayName=bw;function bP(e){return e!==null}a(bP,"isNotNull");var SP=a(e=>({name:"transformOrigin",options:e,fn(n){const{placement:r,rects:o,middlewareData:l}=n,f=l.arrow?.centerOffset!==0,d=f?0:e.arrowWidth,p=f?0:e.arrowHeight,[h,m]=xw(r),g={start:"0%",center:"50%",end:"100%"}[m],b=(l.arrow?.x??0)+d/2,S=(l.arrow?.y??0)+p/2;let E="",w="";return h==="bottom"?(E=f?g:`${b}px`,w=`${-p}px`):h==="top"?(E=f?g:`${b}px`,w=`${o.floating.height+p}px`):h==="right"?(E=`${-p}px`,w=f?g:`${S}px`):h==="left"&&(E=`${o.floating.width+p}px`,w=f?g:`${S}px`),{data:{x:E,y:w}}}}),"transformOrigin");function xw(e){const[n,r="center"]=e.split("-");return[n,r]}a(xw,"getSideAndAlignFromPlacement");var Im=mw,Bm=gw,Hm=vw,Um=Sw,ww=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),xP="VisuallyHidden",Qc=x.forwardRef((e,n)=>N.jsx(Te.span,{...e,ref:n,style:{...ww,...e.style}}));Qc.displayName=xP;var wP=Qc,[Kc]=Wt("Tooltip",[Da]),Xc=Da(),Ew="TooltipProvider",EP=700,Ih="tooltip.open",[CP,Fm]=Kc(Ew),Cw=a(e=>{const{__scopeTooltip:n,delayDuration:r=EP,skipDelayDuration:o=300,disableHoverableContent:l=!1,children:u}=e,f=x.useRef(!0),d=x.useRef(!1),p=x.useRef(0);return x.useEffect(()=>{const h=p.current;return()=>window.clearTimeout(h)},[]),N.jsx(CP,{scope:n,isOpenDelayedRef:f,delayDuration:r,onOpen:x.useCallback(()=>{window.clearTimeout(p.current),f.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>f.current=!0,o)},[o]),isPointerInTransitRef:d,onPointerInTransitChange:x.useCallback(h=>{d.current=h},[]),disableHoverableContent:l,children:u})},"TooltipProvider");Cw.displayName=Ew;var ts="Tooltip",[TP,hs]=Kc(ts),Tw=a(e=>{const{__scopeTooltip:n,children:r,open:o,defaultOpen:l,onOpenChange:u,disableHoverableContent:f,delayDuration:d}=e,p=Fm(ts,e.__scopeTooltip),h=Xc(n),[m,g]=x.useState(null),b=Bn(),S=x.useRef(0),E=f??p.disableHoverableContent,w=d??p.delayDuration,R=x.useRef(!1),[T,O]=vr({prop:o,defaultProp:l??!1,onChange:a(P=>{P?(p.onOpen(),document.dispatchEvent(new CustomEvent(Ih))):p.onClose(),u?.(P)},"onChange"),caller:ts}),M=x.useMemo(()=>T?R.current?"delayed-open":"instant-open":"closed",[T]),L=x.useCallback(()=>{window.clearTimeout(S.current),S.current=0,R.current=!1,O(!0)},[O]),B=x.useCallback(()=>{window.clearTimeout(S.current),S.current=0,O(!1)},[O]),D=x.useCallback(()=>{window.clearTimeout(S.current),S.current=window.setTimeout(()=>{R.current=!0,O(!0),S.current=0},w)},[w,O]);return x.useEffect(()=>()=>{S.current&&(window.clearTimeout(S.current),S.current=0)},[]),N.jsx(Im,{...h,children:N.jsx(TP,{scope:n,contentId:b,open:T,stateAttribute:M,trigger:m,onTriggerChange:g,onTriggerEnter:x.useCallback(()=>{p.isOpenDelayedRef.current?D():L()},[p.isOpenDelayedRef,D,L]),onTriggerLeave:x.useCallback(()=>{E?B():(window.clearTimeout(S.current),S.current=0)},[B,E]),onOpen:L,onClose:B,disableHoverableContent:E,children:r})})},"Tooltip");Tw.displayName=ts;var Bh="TooltipTrigger",Rw=x.forwardRef((e,n)=>{const{__scopeTooltip:r,...o}=e,l=hs(Bh,r),u=Fm(Bh,r),f=Xc(r),d=x.useRef(null),p=ze(n,d,l.onTriggerChange),h=x.useRef(!1),m=x.useRef(!1),g=x.useCallback(()=>h.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),N.jsx(Bm,{asChild:!0,...f,children:N.jsx(Te.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...o,ref:p,onPointerMove:ye(e.onPointerMove,b=>{b.pointerType!=="touch"&&!m.current&&!u.isPointerInTransitRef.current&&(l.onTriggerEnter(),m.current=!0)}),onPointerLeave:ye(e.onPointerLeave,()=>{l.onTriggerLeave(),m.current=!1}),onPointerDown:ye(e.onPointerDown,()=>{l.open&&l.onClose(),h.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:ye(e.onFocus,()=>{h.current||l.onOpen()}),onBlur:ye(e.onBlur,l.onClose),onClick:ye(e.onClick,l.onClose)})})});Rw.displayName=Bh;var qm="TooltipPortal",[RP,OP]=Kc(qm,{forceMount:void 0}),Ow=a(e=>{const{__scopeTooltip:n,forceMount:r,children:o,container:l}=e,u=hs(qm,n);return N.jsx(RP,{scope:n,forceMount:r,children:N.jsx(Ht,{present:r||u.open,children:N.jsx(Ma,{asChild:!0,container:l,children:o})})})},"TooltipPortal");Ow.displayName=qm;var Ea="TooltipContent",Aw=x.forwardRef((e,n)=>{const r=OP(Ea,e.__scopeTooltip),{forceMount:o=r.forceMount,side:l="top",...u}=e,f=hs(Ea,e.__scopeTooltip);return N.jsx(Ht,{present:o||f.open,children:f.disableHoverableContent?N.jsx(_w,{side:l,...u,ref:n}):N.jsx(AP,{side:l,...u,ref:n})})}),AP=x.forwardRef((e,n)=>{const r=hs(Ea,e.__scopeTooltip),o=Fm(Ea,e.__scopeTooltip),l=x.useRef(null),u=ze(n,l),[f,d]=x.useState(null),{trigger:p,onClose:h}=r,m=l.current,{onPointerInTransitChange:g}=o,b=x.useCallback(()=>{d(null),g(!1)},[g]),S=x.useCallback((E,w)=>{const R=E.currentTarget,T={x:E.clientX,y:E.clientY},O=DP(T,R.getBoundingClientRect()),M=PP(T,O),L=LP(w.getBoundingClientRect()),B=jP([...M,...L]);d(B),g(!0)},[g]);return x.useEffect(()=>()=>b(),[b]),x.useEffect(()=>{if(p&&m){const E=a(R=>S(R,m),"handleTriggerLeave"),w=a(R=>S(R,p),"handleContentLeave");return p.addEventListener("pointerleave",E),m.addEventListener("pointerleave",w),()=>{p.removeEventListener("pointerleave",E),m.removeEventListener("pointerleave",w)}}},[p,m,S,b]),x.useEffect(()=>{if(f){const E=a(w=>{const R=w.target,T={x:w.clientX,y:w.clientY},O=p?.contains(R)||m?.contains(R),M=!zP(T,f);O?b():M&&(b(),h())},"handleTrackPointerGrace");return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[p,m,f,h,b]),N.jsx(_w,{...e,ref:u})}),[_P,MP]=Kc(ts,{isInside:!1}),NP=xx("TooltipContent"),_w=x.forwardRef((e,n)=>{const{__scopeTooltip:r,children:o,"aria-label":l,onEscapeKeyDown:u,onPointerDownOutside:f,...d}=e,p=hs(Ea,r),h=Xc(r),{onClose:m}=p;return x.useEffect(()=>(document.addEventListener(Ih,m),()=>document.removeEventListener(Ih,m)),[m]),x.useEffect(()=>{if(p.trigger){const g=a(b=>{b.target?.contains(p.trigger)&&m()},"handleScroll");return window.addEventListener("scroll",g,{capture:!0}),()=>window.removeEventListener("scroll",g,{capture:!0})}},[p.trigger,m]),N.jsx(_a,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:a(g=>g.preventDefault(),"onFocusOutside"),onDismiss:m,children:N.jsxs(Hm,{"data-state":p.stateAttribute,...h,...d,ref:n,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[N.jsx(NP,{children:o}),N.jsx(_P,{scope:r,isInside:!0,children:N.jsx(wP,{id:p.contentId,role:"tooltip",children:l||o})})]})})});Aw.displayName=Ea;var Mw="TooltipArrow",kP=x.forwardRef((e,n)=>{const{__scopeTooltip:r,...o}=e,l=Xc(r);return MP(Mw,r).isInside?null:N.jsx(Um,{...l,...o,ref:n})});kP.displayName=Mw;function DP(e,n){const r=Math.abs(n.top-e.y),o=Math.abs(n.bottom-e.y),l=Math.abs(n.right-e.x),u=Math.abs(n.left-e.x);switch(Math.min(r,o,l,u)){case u:return"left";case l:return"right";case r:return"top";case o:return"bottom";default:throw new Error("unreachable")}}a(DP,"getExitSideFromRect");function PP(e,n,r=5){const o=[];switch(n){case"top":o.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":o.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":o.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":o.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return o}a(PP,"getPaddedExitPoints");function LP(e){const{top:n,right:r,bottom:o,left:l}=e;return[{x:l,y:n},{x:r,y:n},{x:r,y:o},{x:l,y:o}]}a(LP,"getPointsFromRect");function zP(e,n){const{x:r,y:o}=e;let l=!1;for(let u=0,f=n.length-1;u<n.length;f=u++){const d=n[u],p=n[f],h=d.x,m=d.y,g=p.x,b=p.y;m>o!=b>o&&r<(g-h)*(o-m)/(b-m)+h&&(l=!l)}return l}a(zP,"isPointInPolygon$1");function jP(e){const n=e.slice();return n.sort((r,o)=>r.x<o.x?-1:r.x>o.x?1:r.y<o.y?-1:r.y>o.y?1:0),IP(n)}a(jP,"getHull");function IP(e){if(e.length<=1)return e.slice();const n=[];for(let o=0;o<e.length;o++){const l=e[o];for(;n.length>=2;){const u=n[n.length-1],f=n[n.length-2];if((u.x-f.x)*(l.y-f.y)>=(u.y-f.y)*(l.x-f.x))n.pop();else break}n.push(l)}n.pop();const r=[];for(let o=e.length-1;o>=0;o--){const l=e[o];for(;r.length>=2;){const u=r[r.length-1],f=r[r.length-2];if((u.x-f.x)*(l.y-f.y)>=(u.y-f.y)*(l.x-f.x))r.pop();else break}r.push(l)}return r.pop(),n.length===1&&r.length===1&&n[0].x===r[0].x&&n[0].y===r[0].y?n:n.concat(r)}a(IP,"getHullPresorted");var MU=Cw,NU=Tw,kU=Rw,DU=Ow,PU=Aw,go=class{static{a(this,"Subscribable")}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},BP={setTimeout:a((e,n)=>setTimeout(e,n),"setTimeout"),clearTimeout:a(e=>clearTimeout(e),"clearTimeout"),setInterval:a((e,n)=>setInterval(e,n),"setInterval"),clearInterval:a(e=>clearInterval(e),"clearInterval")},HP=class{static{a(this,"TimeoutManager")}#t=BP;#e=!1;setTimeoutProvider(e){this.#t=e}setTimeout(e,n){return this.#t.setTimeout(e,n)}clearTimeout(e){this.#t.clearTimeout(e)}setInterval(e,n){return this.#t.setInterval(e,n)}clearInterval(e){this.#t.clearInterval(e)}},io=new HP;function UP(e){setTimeout(e,0)}a(UP,"systemSetTimeoutZero");var co=typeof window>"u"||"Deno"in globalThis;function qt(){}a(qt,"noop$2");function FP(e,n){return typeof e=="function"?e(n):e}a(FP,"functionalUpdate");function Hh(e){return typeof e=="number"&&e>=0&&e!==1/0}a(Hh,"isValidTimeout");function Nw(e,n){return Math.max(e+(n||0)-Date.now(),0)}a(Nw,"timeUntilStale");function Ni(e,n){return typeof e=="function"?e(n):e}a(Ni,"resolveStaleTime");function zn(e,n){return typeof e=="function"?e(n):e}a(zn,"resolveEnabled");function C1(e,n){const{type:r="all",exact:o,fetchStatus:l,predicate:u,queryKey:f,stale:d}=e;if(f){if(o){if(n.queryHash!==$m(f,n.options))return!1}else if(!ns(n.queryKey,f))return!1}if(r!=="all"){const p=n.isActive();if(r==="active"&&!p||r==="inactive"&&p)return!1}return!(typeof d=="boolean"&&n.isStale()!==d||l&&l!==n.state.fetchStatus||u&&!u(n))}a(C1,"matchQuery");function T1(e,n){const{exact:r,status:o,predicate:l,mutationKey:u}=e;if(u){if(!n.options.mutationKey)return!1;if(r){if(fo(n.options.mutationKey)!==fo(u))return!1}else if(!ns(n.options.mutationKey,u))return!1}return!(o&&n.state.status!==o||l&&!l(n))}a(T1,"matchMutation");function $m(e,n){return(n?.queryKeyHashFn||fo)(e)}a($m,"hashQueryKeyByOptions");function fo(e){return JSON.stringify(e,(n,r)=>Uh(r)?Object.keys(r).sort().reduce((o,l)=>(o[l]=r[l],o),{}):r)}a(fo,"hashKey");function ns(e,n){return e===n?!0:typeof e!=typeof n?!1:e&&n&&typeof e=="object"&&typeof n=="object"?Object.keys(n).every(r=>ns(e[r],n[r])):!1}a(ns,"partialMatchKey");var qP=Object.prototype.hasOwnProperty;function Vm(e,n){if(e===n)return e;const r=R1(e)&&R1(n);if(!r&&!(Uh(e)&&Uh(n)))return n;const l=(r?e:Object.keys(e)).length,u=r?n:Object.keys(n),f=u.length,d=r?new Array(f):{};let p=0;for(let h=0;h<f;h++){const m=r?h:u[h],g=e[m],b=n[m];if(g===b){d[m]=g,(r?h<l:qP.call(e,m))&&p++;continue}if(g===null||b===null||typeof g!="object"||typeof b!="object"){d[m]=b;continue}const S=Vm(g,b);d[m]=S,S===g&&p++}return l===f&&p===l?e:d}a(Vm,"replaceEqualDeep");function rs(e,n){if(!n||Object.keys(e).length!==Object.keys(n).length)return!1;for(const r in e)if(e[r]!==n[r])return!1;return!0}a(rs,"shallowEqualObjects");function R1(e){return Array.isArray(e)&&e.length===Object.keys(e).length}a(R1,"isPlainArray");function Uh(e){if(!O1(e))return!1;const n=e.constructor;if(n===void 0)return!0;const r=n.prototype;return!(!O1(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}a(Uh,"isPlainObject$1");function O1(e){return Object.prototype.toString.call(e)==="[object Object]"}a(O1,"hasObjectPrototype");function $P(e){return new Promise(n=>{io.setTimeout(n,e)})}a($P,"sleep");function Fh(e,n,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,n):r.structuralSharing!==!1?Vm(e,n):n}a(Fh,"replaceData");function VP(e,n,r=0){const o=[...e,n];return r&&o.length>r?o.slice(1):o}a(VP,"addToEnd");function GP(e,n,r=0){const o=[n,...e];return r&&o.length>r?o.slice(0,-1):o}a(GP,"addToStart");var Gm=Symbol();function kw(e,n){return!e.queryFn&&n?.initialPromise?()=>n.initialPromise:!e.queryFn||e.queryFn===Gm?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}a(kw,"ensureQueryFn");function Dw(e,n){return typeof e=="function"?e(...n):!!e}a(Dw,"shouldThrowError");var YP=class extends go{static{a(this,"FocusManager")}#t;#e;#n;constructor(){super(),this.#n=e=>{if(!co&&window.addEventListener){const n=a(()=>e(),"listener");return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(e){this.#t!==e&&(this.#t=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(n=>{n(e)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},Ym=new YP;function qh(){let e,n;const r=new Promise((l,u)=>{e=l,n=u});r.status="pending",r.catch(()=>{});function o(l){Object.assign(r,l),delete r.resolve,delete r.reject}return a(o,"finalize"),r.resolve=l=>{o({status:"fulfilled",value:l}),e(l)},r.reject=l=>{o({status:"rejected",reason:l}),n(l)},r}a(qh,"pendingThenable");var QP=UP;function KP(){let e=[],n=0,r=a(d=>{d()},"notifyFn"),o=a(d=>{d()},"batchNotifyFn"),l=QP;const u=a(d=>{n?e.push(d):l(()=>{r(d)})},"schedule"),f=a(()=>{const d=e;e=[],d.length&&l(()=>{o(()=>{d.forEach(p=>{r(p)})})})},"flush");return{batch:a(d=>{let p;n++;try{p=d()}finally{n--,n||f()}return p},"batch"),batchCalls:a(d=>(...p)=>{u(()=>{d(...p)})},"batchCalls"),schedule:u,setNotifyFunction:a(d=>{r=d},"setNotifyFunction"),setBatchNotifyFunction:a(d=>{o=d},"setBatchNotifyFunction"),setScheduler:a(d=>{l=d},"setScheduler")}}a(KP,"createNotifyManager");var St=KP(),XP=class extends go{static{a(this,"OnlineManager")}#t=!0;#e;#n;constructor(){super(),this.#n=e=>{if(!co&&window.addEventListener){const n=a(()=>e(!0),"onlineListener"),r=a(()=>e(!1),"offlineListener");return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(this.setOnline.bind(this))}setOnline(e){this.#t!==e&&(this.#t=e,this.listeners.forEach(r=>{r(e)}))}isOnline(){return this.#t}},wc=new XP;function WP(e){return Math.min(1e3*2**e,3e4)}a(WP,"defaultRetryDelay");function Pw(e){return(e??"online")==="online"?wc.isOnline():!0}a(Pw,"canFetch");var $h=class extends Error{static{a(this,"CancelledError")}constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Lw(e){let n=!1,r=0,o;const l=qh(),u=a(()=>l.status!=="pending","isResolved"),f=a(w=>{if(!u()){const R=new $h(w);b(R),e.onCancel?.(R)}},"cancel"),d=a(()=>{n=!0},"cancelRetry"),p=a(()=>{n=!1},"continueRetry"),h=a(()=>Ym.isFocused()&&(e.networkMode==="always"||wc.isOnline())&&e.canRun(),"canContinue"),m=a(()=>Pw(e.networkMode)&&e.canRun(),"canStart"),g=a(w=>{u()||(o?.(),l.resolve(w))},"resolve"),b=a(w=>{u()||(o?.(),l.reject(w))},"reject"),S=a(()=>new Promise(w=>{o=a(R=>{(u()||h())&&w(R)},"continueFn"),e.onPause?.()}).then(()=>{o=void 0,u()||e.onContinue?.()}),"pause"),E=a(()=>{if(u())return;let w;const R=r===0?e.initialPromise:void 0;try{w=R??e.fn()}catch(T){w=Promise.reject(T)}Promise.resolve(w).then(g).catch(T=>{if(u())return;const O=e.retry??(co?0:3),M=e.retryDelay??WP,L=typeof M=="function"?M(r,T):M,B=O===!0||typeof O=="number"&&r<O||typeof O=="function"&&O(r,T);if(n||!B){b(T);return}r++,e.onFail?.(r,T),$P(L).then(()=>h()?void 0:S()).then(()=>{n?b(T):E()})})},"run");return{promise:l,status:a(()=>l.status,"status"),cancel:f,continue:a(()=>(o?.(),l),"continue"),cancelRetry:d,continueRetry:p,canStart:m,start:a(()=>(m()?E():S().then(E),l),"start")}}a(Lw,"createRetryer");var zw=class{static{a(this,"Removable")}#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Hh(this.gcTime)&&(this.#t=io.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(co?1/0:300*1e3))}clearGcTimeout(){this.#t&&(io.clearTimeout(this.#t),this.#t=void 0)}},ZP=class extends zw{static{a(this,"Query")}#t;#e;#n;#i;#r;#o;#l;constructor(e){super(),this.#l=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#n=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=A1(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#o,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=A1(this.options);n.data!==void 0&&(this.setData(n.data,{updatedAt:n.dataUpdatedAt,manual:!0}),this.#t=n)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,n){const r=Fh(this.state.data,e,this.options);return this.#a({data:r,type:"success",dataUpdatedAt:n?.updatedAt,manual:n?.manual}),r}setState(e,n){this.#a({type:"setState",state:e,setStateOptions:n})}cancel(e){const n=this.#r?.promise;return this.#r?.cancel(e),n?n.then(qt).catch(qt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(e=>zn(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Gm||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Ni(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!Nw(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(n=>n.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(n=>n.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(n=>n!==e),this.observers.length||(this.#r&&(this.#l?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}async fetch(e,n){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&n?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const d=this.observers.find(p=>p.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,o=a(d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:a(()=>(this.#l=!0,r.signal),"get")})},"addSignalProperty"),l=a(()=>{const d=kw(this.options,n),h=a(()=>{const m={client:this.#i,queryKey:this.queryKey,meta:this.meta};return o(m),m},"createQueryFnContext")();return this.#l=!1,this.options.persister?this.options.persister(d,h,this):d(h)},"fetchFn"),f=a(()=>{const d={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:l};return o(d),d},"createFetchContext")();this.options.behavior?.onFetch(f,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==f.fetchOptions?.meta)&&this.#a({type:"fetch",meta:f.fetchOptions?.meta}),this.#r=Lw({initialPromise:n?.initialPromise,fn:f.fetchFn,onCancel:a(d=>{d instanceof $h&&d.revert&&this.setState({...this.#e,fetchStatus:"idle"}),r.abort()},"onCancel"),onFail:a((d,p)=>{this.#a({type:"failed",failureCount:d,error:p})},"onFail"),onPause:a(()=>{this.#a({type:"pause"})},"onPause"),onContinue:a(()=>{this.#a({type:"continue"})},"onContinue"),retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:a(()=>!0,"canRun")});try{const d=await this.#r.start();if(d===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(d),this.#n.config.onSuccess?.(d,this),this.#n.config.onSettled?.(d,this.state.error,this),d}catch(d){if(d instanceof $h){if(d.silent)return this.#r.promise;if(d.revert){if(this.state.data===void 0)throw d;return this.state.data}}throw this.#a({type:"error",error:d}),this.#n.config.onError?.(d,this),this.#n.config.onSettled?.(this.state.data,d,this),d}finally{this.scheduleGc()}}#a(e){const n=a(r=>{switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...jw(r.data,this.options),fetchMeta:e.meta??null};case"success":const o={...r,data:e.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=e.manual?o:void 0,o;case"error":const l=e.error;return{...r,error:l,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}},"reducer");this.state=n(this.state),St.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function jw(e,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Pw(n.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}a(jw,"fetchState");function A1(e){const n=typeof e.initialData=="function"?e.initialData():e.initialData,r=n!==void 0,o=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:n,dataUpdateCount:0,dataUpdatedAt:r?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}a(A1,"getDefaultState$1");var Qm=class extends go{static{a(this,"QueryObserver")}constructor(e,n){super(),this.options=n,this.#t=e,this.#a=null,this.#l=qh(),this.bindMethods(),this.setOptions(n)}#t;#e=void 0;#n=void 0;#i=void 0;#r;#o;#l;#a;#p;#f;#d;#u;#c;#s;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),_1(this.#e,this.options)?this.#h():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Vh(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Vh(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#S(),this.#x(),this.#e.removeObserver(this)}setOptions(e){const n=this.options,r=this.#e;if(this.options=this.#t.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof zn(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#w(),this.#e.setOptions(this.options),n._defaulted&&!rs(this.options,n)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const o=this.hasListeners();o&&M1(this.#e,r,this.options,n)&&this.#h(),this.updateResult(),o&&(this.#e!==r||zn(this.options.enabled,this.#e)!==zn(n.enabled,this.#e)||Ni(this.options.staleTime,this.#e)!==Ni(n.staleTime,this.#e))&&this.#y();const l=this.#g();o&&(this.#e!==r||zn(this.options.enabled,this.#e)!==zn(n.enabled,this.#e)||l!==this.#s)&&this.#v(l)}getOptimisticResult(e){const n=this.#t.getQueryCache().build(this.#t,e),r=this.createResult(n,e);return e3(this,r)&&(this.#i=r,this.#o=this.options,this.#r=this.#e.state),r}getCurrentResult(){return this.#i}trackResult(e,n){return new Proxy(e,{get:a((r,o)=>(this.trackProp(o),n?.(o),o==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#l.status==="pending"&&this.#l.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(r,o)),"get")})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#e}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const n=this.#t.defaultQueryOptions(e),r=this.#t.getQueryCache().build(this.#t,n);return r.fetch().then(()=>this.createResult(r,n))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#h(e){this.#w();let n=this.#e.fetch(this.options,e);return e?.throwOnError||(n=n.catch(qt)),n}#y(){this.#S();const e=Ni(this.options.staleTime,this.#e);if(co||this.#i.isStale||!Hh(e))return;const r=Nw(this.#i.dataUpdatedAt,e)+1;this.#u=io.setTimeout(()=>{this.#i.isStale||this.updateResult()},r)}#g(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#s=e,!(co||zn(this.options.enabled,this.#e)===!1||!Hh(this.#s)||this.#s===0)&&(this.#c=io.setInterval(()=>{(this.options.refetchIntervalInBackground||Ym.isFocused())&&this.#h()},this.#s))}#b(){this.#y(),this.#v(this.#g())}#S(){this.#u&&(io.clearTimeout(this.#u),this.#u=void 0)}#x(){this.#c&&(io.clearInterval(this.#c),this.#c=void 0)}createResult(e,n){const r=this.#e,o=this.options,l=this.#i,u=this.#r,f=this.#o,p=e!==r?e.state:this.#n,{state:h}=e;let m={...h},g=!1,b;if(n._optimisticResults){const Y=this.hasListeners(),K=!Y&&_1(e,n),te=Y&&M1(e,r,n,o);(K||te)&&(m={...m,...jw(h.data,e.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:S,errorUpdatedAt:E,status:w}=m;b=m.data;let R=!1;if(n.placeholderData!==void 0&&b===void 0&&w==="pending"){let Y;l?.isPlaceholderData&&n.placeholderData===f?.placeholderData?(Y=l.data,R=!0):Y=typeof n.placeholderData=="function"?n.placeholderData(this.#d?.state.data,this.#d):n.placeholderData,Y!==void 0&&(w="success",b=Fh(l?.data,Y,n),g=!0)}if(n.select&&b!==void 0&&!R)if(l&&b===u?.data&&n.select===this.#p)b=this.#f;else try{this.#p=n.select,b=n.select(b),b=Fh(l?.data,b,n),this.#f=b,this.#a=null}catch(Y){this.#a=Y}this.#a&&(S=this.#a,b=this.#f,E=Date.now(),w="error");const T=m.fetchStatus==="fetching",O=w==="pending",M=w==="error",L=O&&T,B=b!==void 0,P={status:w,fetchStatus:m.fetchStatus,isPending:O,isSuccess:w==="success",isError:M,isInitialLoading:L,isLoading:L,data:b,dataUpdatedAt:m.dataUpdatedAt,error:S,errorUpdatedAt:E,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>p.dataUpdateCount||m.errorUpdateCount>p.errorUpdateCount,isFetching:T,isRefetching:T&&!O,isLoadingError:M&&!B,isPaused:m.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:M&&B,isStale:Km(e,n),refetch:this.refetch,promise:this.#l,isEnabled:zn(n.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const Y=a(Z=>{P.status==="error"?Z.reject(P.error):P.data!==void 0&&Z.resolve(P.data)},"finalizeThenableIfPossible"),K=a(()=>{const Z=this.#l=P.promise=qh();Y(Z)},"recreateThenable"),te=this.#l;switch(te.status){case"pending":e.queryHash===r.queryHash&&Y(te);break;case"fulfilled":(P.status==="error"||P.data!==te.value)&&K();break;case"rejected":(P.status!=="error"||P.error!==te.reason)&&K();break}}return P}updateResult(){const e=this.#i,n=this.createResult(this.#e,this.options);if(this.#r=this.#e.state,this.#o=this.options,this.#r.data!==void 0&&(this.#d=this.#e),rs(n,e))return;this.#i=n;const r=a(()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,l=typeof o=="function"?o():o;if(l==="all"||!l&&!this.#m.size)return!0;const u=new Set(l??this.#m);return this.options.throwOnError&&u.add("error"),Object.keys(this.#i).some(f=>{const d=f;return this.#i[d]!==e[d]&&u.has(d)})},"shouldNotifyListeners");this.#E({listeners:r()})}#w(){const e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#e)return;const n=this.#e;this.#e=e,this.#n=e.state,this.hasListeners()&&(n?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#E(e){St.batch(()=>{e.listeners&&this.listeners.forEach(n=>{n(this.#i)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function JP(e,n){return zn(n.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&n.retryOnMount===!1)}a(JP,"shouldLoadOnMount");function _1(e,n){return JP(e,n)||e.state.data!==void 0&&Vh(e,n,n.refetchOnMount)}a(_1,"shouldFetchOnMount");function Vh(e,n,r){if(zn(n.enabled,e)!==!1&&Ni(n.staleTime,e)!=="static"){const o=typeof r=="function"?r(e):r;return o==="always"||o!==!1&&Km(e,n)}return!1}a(Vh,"shouldFetchOn");function M1(e,n,r,o){return(e!==n||zn(o.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&Km(e,r)}a(M1,"shouldFetchOptionally");function Km(e,n){return zn(n.enabled,e)!==!1&&e.isStaleByTime(Ni(n.staleTime,e))}a(Km,"isStale");function e3(e,n){return!rs(e.getCurrentResult(),n)}a(e3,"shouldAssignObserverCurrentProperties");function N1(e){return{onFetch:a((n,r)=>{const o=n.options,l=n.fetchOptions?.meta?.fetchMore?.direction,u=n.state.data?.pages||[],f=n.state.data?.pageParams||[];let d={pages:[],pageParams:[]},p=0;const h=a(async()=>{let m=!1;const g=a(E=>{Object.defineProperty(E,"signal",{enumerable:!0,get:a(()=>(n.signal.aborted?m=!0:n.signal.addEventListener("abort",()=>{m=!0}),n.signal),"get")})},"addSignalProperty"),b=kw(n.options,n.fetchOptions),S=a(async(E,w,R)=>{if(m)return Promise.reject();if(w==null&&E.pages.length)return Promise.resolve(E);const O=a(()=>{const D={client:n.client,queryKey:n.queryKey,pageParam:w,direction:R?"backward":"forward",meta:n.options.meta};return g(D),D},"createQueryFnContext")(),M=await b(O),{maxPages:L}=n.options,B=R?GP:VP;return{pages:B(E.pages,M,L),pageParams:B(E.pageParams,w,L)}},"fetchPage");if(l&&u.length){const E=l==="backward",w=E?t3:k1,R={pages:u,pageParams:f},T=w(o,R);d=await S(R,T,E)}else{const E=e??u.length;do{const w=p===0?f[0]??o.initialPageParam:k1(o,d);if(p>0&&w==null)break;d=await S(d,w),p++}while(p<E)}return d},"fetchFn");n.options.persister?n.fetchFn=()=>n.options.persister?.(h,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},r):n.fetchFn=h},"onFetch")}}a(N1,"infiniteQueryBehavior");function k1(e,{pages:n,pageParams:r}){const o=n.length-1;return n.length>0?e.getNextPageParam(n[o],n,r[o],r):void 0}a(k1,"getNextPageParam");function t3(e,{pages:n,pageParams:r}){return n.length>0?e.getPreviousPageParam?.(n[0],n,r[0],r):void 0}a(t3,"getPreviousPageParam");var n3=class extends zw{static{a(this,"Mutation")}#t;#e;#n;#i;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#e=[],this.state=e.state||Iw(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(n=>n!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(e){const n=a(()=>{this.#r({type:"continue"})},"onContinue"),r={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=Lw({fn:a(()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(new Error("No mutationFn found")),"fn"),onFail:a((u,f)=>{this.#r({type:"failed",failureCount:u,error:f})},"onFail"),onPause:a(()=>{this.#r({type:"pause"})},"onPause"),onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:a(()=>this.#n.canRun(this),"canRun")});const o=this.state.status==="pending",l=!this.#i.canStart();try{if(o)n();else{this.#r({type:"pending",variables:e,isPaused:l}),await this.#n.config.onMutate?.(e,this,r);const f=await this.options.onMutate?.(e,r);f!==this.state.context&&this.#r({type:"pending",context:f,variables:e,isPaused:l})}const u=await this.#i.start();return await this.#n.config.onSuccess?.(u,e,this.state.context,this,r),await this.options.onSuccess?.(u,e,this.state.context,r),await this.#n.config.onSettled?.(u,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(u,null,e,this.state.context,r),this.#r({type:"success",data:u}),u}catch(u){try{throw await this.#n.config.onError?.(u,e,this.state.context,this,r),await this.options.onError?.(u,e,this.state.context,r),await this.#n.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(void 0,u,e,this.state.context,r),u}finally{this.#r({type:"error",error:u})}}finally{this.#n.runNext(this)}}#r(e){const n=a(r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}},"reducer");this.state=n(this.state),St.batch(()=>{this.#e.forEach(r=>{r.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function Iw(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}a(Iw,"getDefaultState");var r3=class extends go{static{a(this,"MutationCache")}constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(e,n,r){const o=new n3({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(n),state:r});return this.add(o),o}add(e){this.#t.add(e);const n=ec(e);if(typeof n=="string"){const r=this.#e.get(n);r?r.push(e):this.#e.set(n,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const n=ec(e);if(typeof n=="string"){const r=this.#e.get(n);if(r)if(r.length>1){const o=r.indexOf(e);o!==-1&&r.splice(o,1)}else r[0]===e&&this.#e.delete(n)}}this.notify({type:"removed",mutation:e})}canRun(e){const n=ec(e);if(typeof n=="string"){const o=this.#e.get(n)?.find(l=>l.state.status==="pending");return!o||o===e}else return!0}runNext(e){const n=ec(e);return typeof n=="string"?this.#e.get(n)?.find(o=>o!==e&&o.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){St.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(e){const n={exact:!0,...e};return this.getAll().find(r=>T1(n,r))}findAll(e={}){return this.getAll().filter(n=>T1(e,n))}notify(e){St.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){const e=this.getAll().filter(n=>n.state.isPaused);return St.batch(()=>Promise.all(e.map(n=>n.continue().catch(qt))))}};function ec(e){return e.options.scope?.id}a(ec,"scopeFor");var i3=class extends go{static{a(this,"MutationObserver")}#t;#e=void 0;#n;#i;constructor(n,r){super(),this.#t=n,this.setOptions(r),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){const r=this.options;this.options=this.#t.defaultMutationOptions(n),rs(this.options,r)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),r?.mutationKey&&this.options.mutationKey&&fo(r.mutationKey)!==fo(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(n){this.#r(),this.#o(n)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#r(),this.#o()}mutate(n,r){return this.#i=r,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(n)}#r(){const n=this.#n?.state??Iw();this.#e={...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset}}#o(n){St.batch(()=>{if(this.#i&&this.hasListeners()){const r=this.#e.variables,o=this.#e.context,l={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};n?.type==="success"?(this.#i.onSuccess?.(n.data,r,o,l),this.#i.onSettled?.(n.data,null,r,o,l)):n?.type==="error"&&(this.#i.onError?.(n.error,r,o,l),this.#i.onSettled?.(void 0,n.error,r,o,l))}this.listeners.forEach(r=>{r(this.#e)})})}};function D1(e,n){const r=new Set(n);return e.filter(o=>!r.has(o))}a(D1,"difference");function o3(e,n,r){const o=e.slice(0);return o[n]=r,o}a(o3,"replaceAt");var a3=class extends go{static{a(this,"QueriesObserver")}#t;#e;#n;#i;#r;#o;#l;#a;#p=[];constructor(e,n,r){super(),this.#t=e,this.#i=r,this.#n=[],this.#r=[],this.#e=[],this.setQueries(n)}onSubscribe(){this.listeners.size===1&&this.#r.forEach(e=>{e.subscribe(n=>{this.#c(e,n)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#r.forEach(e=>{e.destroy()})}setQueries(e,n){this.#n=e,this.#i=n,St.batch(()=>{const r=this.#r,o=this.#u(this.#n);this.#p=o,o.forEach(m=>m.observer.setOptions(m.defaultedQueryOptions));const l=o.map(m=>m.observer),u=l.map(m=>m.getCurrentResult()),f=r.length!==l.length,d=l.some((m,g)=>m!==r[g]),p=f||d,h=p?!0:u.some((m,g)=>{const b=this.#e[g];return!b||!rs(m,b)});!p&&!h||(p&&(this.#r=l),this.#e=u,this.hasListeners()&&(p&&(D1(r,l).forEach(m=>{m.destroy()}),D1(l,r).forEach(m=>{m.subscribe(g=>{this.#c(m,g)})})),this.#s()))})}getCurrentResult(){return this.#e}getQueries(){return this.#r.map(e=>e.getCurrentQuery())}getObservers(){return this.#r}getOptimisticResult(e,n){const r=this.#u(e),o=r.map(l=>l.observer.getOptimisticResult(l.defaultedQueryOptions));return[o,l=>this.#d(l??o,n),()=>this.#f(o,r)]}#f(e,n){return n.map((r,o)=>{const l=e[o];return r.defaultedQueryOptions.notifyOnChangeProps?l:r.observer.trackResult(l,u=>{n.forEach(f=>{f.observer.trackProp(u)})})})}#d(e,n){return n?((!this.#o||this.#e!==this.#a||n!==this.#l)&&(this.#l=n,this.#a=this.#e,this.#o=Vm(this.#o,n(e))),this.#o):e}#u(e){const n=new Map(this.#r.map(o=>[o.options.queryHash,o])),r=[];return e.forEach(o=>{const l=this.#t.defaultQueryOptions(o),u=n.get(l.queryHash);u?r.push({defaultedQueryOptions:l,observer:u}):r.push({defaultedQueryOptions:l,observer:new Qm(this.#t,l)})}),r}#c(e,n){const r=this.#r.indexOf(e);r!==-1&&(this.#e=o3(this.#e,r,n),this.#s())}#s(){if(this.hasListeners()){const e=this.#o,n=this.#f(this.#e,this.#p),r=this.#d(n,this.#i?.combine);e!==r&&St.batch(()=>{this.listeners.forEach(o=>{o(this.#e)})})}}},l3=class extends go{static{a(this,"QueryCache")}constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,n,r){const o=n.queryKey,l=n.queryHash??$m(o,n);let u=this.get(l);return u||(u=new ZP({client:e,queryKey:o,queryHash:l,options:e.defaultQueryOptions(n),state:r,defaultOptions:e.getQueryDefaults(o)}),this.add(u)),u}add(e){this.#t.has(e.queryHash)||(this.#t.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const n=this.#t.get(e.queryHash);n&&(e.destroy(),n===e&&this.#t.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){St.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#t.get(e)}getAll(){return[...this.#t.values()]}find(e){const n={exact:!0,...e};return this.getAll().find(r=>C1(n,r))}findAll(e={}){const n=this.getAll();return Object.keys(e).length>0?n.filter(r=>C1(e,r)):n}notify(e){St.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){St.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){St.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},zU=class{static{a(this,"QueryClient")}#t;#e;#n;#i;#r;#o;#l;#a;constructor(e={}){this.#t=e.queryCache||new l3,this.#e=e.mutationCache||new r3,this.#n=e.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#l=Ym.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#a=wc.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#l?.(),this.#l=void 0,this.#a?.(),this.#a=void 0)}isFetching(e){return this.#t.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#e.findAll({...e,status:"pending"}).length}getQueryData(e){const n=this.defaultQueryOptions({queryKey:e});return this.#t.get(n.queryHash)?.state.data}ensureQueryData(e){const n=this.defaultQueryOptions(e),r=this.#t.build(this,n),o=r.state.data;return o===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(Ni(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(o))}getQueriesData(e){return this.#t.findAll(e).map(({queryKey:n,state:r})=>{const o=r.data;return[n,o]})}setQueryData(e,n,r){const o=this.defaultQueryOptions({queryKey:e}),u=this.#t.get(o.queryHash)?.state.data,f=FP(n,u);if(f!==void 0)return this.#t.build(this,o).setData(f,{...r,manual:!0})}setQueriesData(e,n,r){return St.batch(()=>this.#t.findAll(e).map(({queryKey:o})=>[o,this.setQueryData(o,n,r)]))}getQueryState(e){const n=this.defaultQueryOptions({queryKey:e});return this.#t.get(n.queryHash)?.state}removeQueries(e){const n=this.#t;St.batch(()=>{n.findAll(e).forEach(r=>{n.remove(r)})})}resetQueries(e,n){const r=this.#t;return St.batch(()=>(r.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...e},n)))}cancelQueries(e,n={}){const r={revert:!0,...n},o=St.batch(()=>this.#t.findAll(e).map(l=>l.cancel(r)));return Promise.all(o).then(qt).catch(qt)}invalidateQueries(e,n={}){return St.batch(()=>(this.#t.findAll(e).forEach(r=>{r.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},n)))}refetchQueries(e,n={}){const r={...n,cancelRefetch:n.cancelRefetch??!0},o=St.batch(()=>this.#t.findAll(e).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,r);return r.throwOnError||(u=u.catch(qt)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(o).then(qt)}fetchQuery(e){const n=this.defaultQueryOptions(e);n.retry===void 0&&(n.retry=!1);const r=this.#t.build(this,n);return r.isStaleByTime(Ni(n.staleTime,r))?r.fetch(n):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(qt).catch(qt)}fetchInfiniteQuery(e){return e.behavior=N1(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(qt).catch(qt)}ensureInfiniteQueryData(e){return e.behavior=N1(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return wc.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,n){this.#i.set(fo(e),{queryKey:e,defaultOptions:n})}getQueryDefaults(e){const n=[...this.#i.values()],r={};return n.forEach(o=>{ns(e,o.queryKey)&&Object.assign(r,o.defaultOptions)}),r}setMutationDefaults(e,n){this.#r.set(fo(e),{mutationKey:e,defaultOptions:n})}getMutationDefaults(e){const n=[...this.#r.values()],r={};return n.forEach(o=>{ns(e,o.mutationKey)&&Object.assign(r,o.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const n={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return n.queryHash||(n.queryHash=$m(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===Gm&&(n.enabled=!1),n}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},Bw=x.createContext(void 0),Xm=a(e=>{const n=x.useContext(Bw);if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n},"useQueryClient"),jU=a(({client:e,children:n})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),N.jsx(Bw.Provider,{value:e,children:n})),"QueryClientProvider"),Hw=x.createContext(!1),Uw=a(()=>x.useContext(Hw),"useIsRestoring");Hw.Provider;function s3(){let e=!1;return{clearReset:a(()=>{e=!1},"clearReset"),reset:a(()=>{e=!0},"reset"),isReset:a(()=>e,"isReset")}}a(s3,"createValue");var u3=x.createContext(s3()),Fw=a(()=>x.useContext(u3),"useQueryErrorResetBoundary"),qw=a((e,n)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(n.isReset()||(e.retryOnMount=!1))},"ensurePreventErrorBoundaryRetry"),$w=a(e=>{x.useEffect(()=>{e.clearReset()},[e])},"useClearResetErrorBoundary"),Vw=a(({result:e,errorResetBoundary:n,throwOnError:r,query:o,suspense:l})=>e.isError&&!n.isReset()&&!e.isFetching&&o&&(l&&e.data===void 0||Dw(r,[e.error,o])),"getHasError"),Gw=a(e=>{if(e.suspense){const r=a(l=>l==="static"?l:Math.max(l??1e3,1e3),"clamp"),o=e.staleTime;e.staleTime=typeof o=="function"?(...l)=>r(o(...l)):r(o),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},"ensureSuspenseTimers"),Yw=a((e,n)=>e.isLoading&&e.isFetching&&!n,"willFetch"),Gh=a((e,n)=>e?.suspense&&n.isPending,"shouldSuspend"),Ec=a((e,n,r)=>n.fetchOptimistic(e).catch(()=>{r.clearReset()}),"fetchOptimistic");function IU({queries:e,...n},r){const o=Xm(),l=Uw(),u=Fw(),f=x.useMemo(()=>e.map(w=>{const R=o.defaultQueryOptions(w);return R._optimisticResults=l?"isRestoring":"optimistic",R}),[e,o,l]);f.forEach(w=>{Gw(w),qw(w,u)}),$w(u);const[d]=x.useState(()=>new a3(o,f,n)),[p,h,m]=d.getOptimisticResult(f,n.combine),g=!l&&n.subscribed!==!1;x.useSyncExternalStore(x.useCallback(w=>g?d.subscribe(St.batchCalls(w)):qt,[d,g]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),x.useEffect(()=>{d.setQueries(f,n)},[f,n,d]);const S=p.some((w,R)=>Gh(f[R],w))?p.flatMap((w,R)=>{const T=f[R];if(T){const O=new Qm(o,T);if(Gh(T,w))return Ec(T,O,u);Yw(w,l)&&Ec(T,O,u)}return[]}):[];if(S.length>0)throw Promise.all(S);const E=p.find((w,R)=>{const T=f[R];return T&&Vw({result:w,errorResetBoundary:u,throwOnError:T.throwOnError,query:o.getQueryCache().get(T.queryHash),suspense:T.suspense})});if(E?.error)throw E.error;return h(m())}a(IU,"useQueries");function c3(e,n,r){const o=Uw(),l=Fw(),u=Xm(),f=u.defaultQueryOptions(e);u.getDefaultOptions().queries?._experimental_beforeQuery?.(f),f._optimisticResults=o?"isRestoring":"optimistic",Gw(f),qw(f,l),$w(l);const d=!u.getQueryCache().get(f.queryHash),[p]=x.useState(()=>new n(u,f)),h=p.getOptimisticResult(f),m=!o&&e.subscribed!==!1;if(x.useSyncExternalStore(x.useCallback(g=>{const b=m?p.subscribe(St.batchCalls(g)):qt;return p.updateResult(),b},[p,m]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),x.useEffect(()=>{p.setOptions(f)},[f,p]),Gh(f,h))throw Ec(f,p,l);if(Vw({result:h,errorResetBoundary:l,throwOnError:f.throwOnError,query:u.getQueryCache().get(f.queryHash),suspense:f.suspense}))throw h.error;return u.getDefaultOptions().queries?._experimental_afterQuery?.(f,h),f.experimental_prefetchInRender&&!co&&Yw(h,o)&&(d?Ec(f,p,l):u.getQueryCache().get(f.queryHash)?.promise)?.catch(qt).finally(()=>{p.updateResult()}),f.notifyOnChangeProps?h:p.trackResult(h)}a(c3,"useBaseQuery");function BU(e,n){return c3(e,Qm)}a(BU,"useQuery");function HU(e,n){const r=Xm(),[o]=x.useState(()=>new i3(r,e));x.useEffect(()=>{o.setOptions(e)},[o,e]);const l=x.useSyncExternalStore(x.useCallback(f=>o.subscribe(St.batchCalls(f)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),u=x.useCallback((f,d)=>{o.mutate(f,d).catch(qt)},[o]);if(l.error&&Dw(o.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:u,mutateAsync:l.mutate}}a(HU,"useMutation");/**
|
|
524
|
+
* react-router v7.9.4
|
|
525
|
+
*
|
|
526
|
+
* Copyright (c) Remix Software Inc.
|
|
527
|
+
*
|
|
528
|
+
* This source code is licensed under the MIT license found in the
|
|
529
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
530
|
+
*
|
|
531
|
+
* @license MIT
|
|
532
|
+
*/var P1="popstate";function f3(e={}){function n(o,l){let{pathname:u,search:f,hash:d}=o.location;return Yh("",{pathname:u,search:f,hash:d},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}a(n,"createBrowserLocation");function r(o,l){return typeof l=="string"?l:is(l)}return a(r,"createBrowserHref"),p3(n,r,null,e)}a(f3,"createBrowserHistory");function yt(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}a(yt,"invariant");function er(e,n){if(!e){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}a(er,"warning");function d3(){return Math.random().toString(36).substring(2,10)}a(d3,"createKey");function L1(e,n){return{usr:e.state,key:e.key,idx:n}}a(L1,"getHistoryState");function Yh(e,n,r=null,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof n=="string"?Pa(n):n,state:r,key:n&&n.key||o||d3()}}a(Yh,"createLocation");function is({pathname:e="/",search:n="",hash:r=""}){return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}a(is,"createPath");function Pa(e){let n={};if(e){let r=e.indexOf("#");r>=0&&(n.hash=e.substring(r),e=e.substring(0,r));let o=e.indexOf("?");o>=0&&(n.search=e.substring(o),e=e.substring(0,o)),e&&(n.pathname=e)}return n}a(Pa,"parsePath");function p3(e,n,r,o={}){let{window:l=document.defaultView,v5Compat:u=!1}=o,f=l.history,d="POP",p=null,h=m();h==null&&(h=0,f.replaceState({...f.state,idx:h},""));function m(){return(f.state||{idx:null}).idx}a(m,"getIndex");function g(){d="POP";let R=m(),T=R==null?null:R-h;h=R,p&&p({action:d,location:w.location,delta:T})}a(g,"handlePop");function b(R,T){d="PUSH";let O=Yh(w.location,R,T);h=m()+1;let M=L1(O,h),L=w.createHref(O);try{f.pushState(M,"",L)}catch(B){if(B instanceof DOMException&&B.name==="DataCloneError")throw B;l.location.assign(L)}u&&p&&p({action:d,location:w.location,delta:1})}a(b,"push");function S(R,T){d="REPLACE";let O=Yh(w.location,R,T);h=m();let M=L1(O,h),L=w.createHref(O);f.replaceState(M,"",L),u&&p&&p({action:d,location:w.location,delta:0})}a(S,"replace2");function E(R){return h3(R)}a(E,"createURL");let w={get action(){return d},get location(){return e(l,f)},listen(R){if(p)throw new Error("A history only accepts one active listener");return l.addEventListener(P1,g),p=R,()=>{l.removeEventListener(P1,g),p=null}},createHref(R){return n(l,R)},createURL:E,encodeLocation(R){let T=E(R);return{pathname:T.pathname,search:T.search,hash:T.hash}},push:b,replace:S,go(R){return f.go(R)}};return w}a(p3,"getUrlBasedHistory");function h3(e,n=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),yt(r,"No window.location.(origin|href) available to create URL");let o=typeof e=="string"?e:is(e);return o=o.replace(/ $/,"%20"),!n&&o.startsWith("//")&&(o=r+o),new URL(o,r)}a(h3,"createBrowserURLImpl");function Qw(e,n,r="/"){return m3(e,n,r,!1)}a(Qw,"matchRoutes");function m3(e,n,r,o){let l=typeof n=="string"?Pa(n):n,u=Zr(l.pathname||"/",r);if(u==null)return null;let f=Kw(e);y3(f);let d=null;for(let p=0;d==null&&p<f.length;++p){let h=O3(u);d=T3(f[p],h,o)}return d}a(m3,"matchRoutesImpl");function Kw(e,n=[],r=[],o="",l=!1){let u=a((f,d,p=l,h)=>{let m={relativePath:h===void 0?f.path||"":h,caseSensitive:f.caseSensitive===!0,childrenIndex:d,route:f};if(m.relativePath.startsWith("/")){if(!m.relativePath.startsWith(o)&&p)return;yt(m.relativePath.startsWith(o),`Absolute route path "${m.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),m.relativePath=m.relativePath.slice(o.length)}let g=Kr([o,m.relativePath]),b=r.concat(m);f.children&&f.children.length>0&&(yt(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),Kw(f.children,n,b,g,p)),!(f.path==null&&!f.index)&&n.push({path:g,score:E3(g,f.index),routesMeta:b})},"flattenRoute");return e.forEach((f,d)=>{if(f.path===""||!f.path?.includes("?"))u(f,d);else for(let p of Xw(f.path))u(f,d,!0,p)}),n}a(Kw,"flattenRoutes");function Xw(e){let n=e.split("/");if(n.length===0)return[];let[r,...o]=n,l=r.endsWith("?"),u=r.replace(/\?$/,"");if(o.length===0)return l?[u,""]:[u];let f=Xw(o.join("/")),d=[];return d.push(...f.map(p=>p===""?u:[u,p].join("/"))),l&&d.push(...f),d.map(p=>e.startsWith("/")&&p===""?"/":p)}a(Xw,"explodeOptionalSegments");function y3(e){e.sort((n,r)=>n.score!==r.score?r.score-n.score:C3(n.routesMeta.map(o=>o.childrenIndex),r.routesMeta.map(o=>o.childrenIndex)))}a(y3,"rankRouteBranches");var g3=/^:[\w-]+$/,v3=3,b3=2,S3=1,x3=10,w3=-2,z1=a(e=>e==="*","isSplat");function E3(e,n){let r=e.split("/"),o=r.length;return r.some(z1)&&(o+=w3),n&&(o+=b3),r.filter(l=>!z1(l)).reduce((l,u)=>l+(g3.test(u)?v3:u===""?S3:x3),o)}a(E3,"computeScore");function C3(e,n){return e.length===n.length&&e.slice(0,-1).every((o,l)=>o===n[l])?e[e.length-1]-n[n.length-1]:0}a(C3,"compareIndexes");function T3(e,n,r=!1){let{routesMeta:o}=e,l={},u="/",f=[];for(let d=0;d<o.length;++d){let p=o[d],h=d===o.length-1,m=u==="/"?n:n.slice(u.length)||"/",g=Cc({path:p.relativePath,caseSensitive:p.caseSensitive,end:h},m),b=p.route;if(!g&&h&&r&&!o[o.length-1].route.index&&(g=Cc({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},m)),!g)return null;Object.assign(l,g.params),f.push({params:l,pathname:Kr([u,g.pathname]),pathnameBase:N3(Kr([u,g.pathnameBase])),route:b}),g.pathnameBase!=="/"&&(u=Kr([u,g.pathnameBase]))}return f}a(T3,"matchRouteBranch");function Cc(e,n){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=R3(e.path,e.caseSensitive,e.end),l=n.match(r);if(!l)return null;let u=l[0],f=u.replace(/(.)\/+$/,"$1"),d=l.slice(1);return{params:o.reduce((h,{paramName:m,isOptional:g},b)=>{if(m==="*"){let E=d[b]||"";f=u.slice(0,u.length-E.length).replace(/(.)\/+$/,"$1")}const S=d[b];return g&&!S?h[m]=void 0:h[m]=(S||"").replace(/%2F/g,"/"),h},{}),pathname:u,pathnameBase:f,pattern:e}}a(Cc,"matchPath");function R3(e,n=!1,r=!0){er(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 o=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,d,p)=>(o.push({paramName:d,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(o.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,n?void 0:"i"),o]}a(R3,"compilePath");function O3(e){try{return e.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return er(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),e}}a(O3,"decodePath");function Zr(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let r=n.endsWith("/")?n.length-1:n.length,o=e.charAt(r);return o&&o!=="/"?null:e.slice(r)||"/"}a(Zr,"stripBasename");function A3(e,n="/"){let{pathname:r,search:o="",hash:l=""}=typeof e=="string"?Pa(e):e;return{pathname:r?r.startsWith("/")?r:_3(r,n):n,search:k3(o),hash:D3(l)}}a(A3,"resolvePath");function _3(e,n){let r=n.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?r.length>1&&r.pop():l!=="."&&r.push(l)}),r.length>1?r.join("/"):"/"}a(_3,"resolvePathname");function Jp(e,n,r,o){return`Cannot include a '${e}' character in a manually specified \`to.${n}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}a(Jp,"getInvalidPathError");function M3(e){return e.filter((n,r)=>r===0||n.route.path&&n.route.path.length>0)}a(M3,"getPathContributingMatches");function Ww(e){let n=M3(e);return n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase)}a(Ww,"getResolveToMatches");function Zw(e,n,r,o=!1){let l;typeof e=="string"?l=Pa(e):(l={...e},yt(!l.pathname||!l.pathname.includes("?"),Jp("?","pathname","search",l)),yt(!l.pathname||!l.pathname.includes("#"),Jp("#","pathname","hash",l)),yt(!l.search||!l.search.includes("#"),Jp("#","search","hash",l)));let u=e===""||l.pathname==="",f=u?"/":l.pathname,d;if(f==null)d=r;else{let g=n.length-1;if(!o&&f.startsWith("..")){let b=f.split("/");for(;b[0]==="..";)b.shift(),g-=1;l.pathname=b.join("/")}d=g>=0?n[g]:"/"}let p=A3(l,d),h=f&&f!=="/"&&f.endsWith("/"),m=(u||f===".")&&r.endsWith("/");return!p.pathname.endsWith("/")&&(h||m)&&(p.pathname+="/"),p}a(Zw,"resolveTo");var Kr=a(e=>e.join("/").replace(/\/\/+/g,"/"),"joinPaths"),N3=a(e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),"normalizePathname"),k3=a(e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,"normalizeSearch"),D3=a(e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,"normalizeHash");function P3(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}a(P3,"isRouteErrorResponse");var Jw=["POST","PUT","PATCH","DELETE"];new Set(Jw);var L3=["GET",...Jw];new Set(L3);var La=x.createContext(null);La.displayName="DataRouter";var Wc=x.createContext(null);Wc.displayName="DataRouterState";x.createContext(!1);var eE=x.createContext({isTransitioning:!1});eE.displayName="ViewTransition";var z3=x.createContext(new Map);z3.displayName="Fetchers";var j3=x.createContext(null);j3.displayName="Await";var Er=x.createContext(null);Er.displayName="Navigation";var ms=x.createContext(null);ms.displayName="Location";var Cr=x.createContext({outlet:null,matches:[],isDataRoute:!1});Cr.displayName="Route";var Wm=x.createContext(null);Wm.displayName="RouteError";function I3(e,{relative:n}={}){yt(ys(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:o}=x.useContext(Er),{hash:l,pathname:u,search:f}=gs(e,{relative:n}),d=u;return r!=="/"&&(d=u==="/"?r:Kr([r,u])),o.createHref({pathname:d,search:f,hash:l})}a(I3,"useHref");function ys(){return x.useContext(ms)!=null}a(ys,"useInRouterContext");function Li(){return yt(ys(),"useLocation() may be used only in the context of a <Router> component."),x.useContext(ms).location}a(Li,"useLocation");var tE="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function nE(e){x.useContext(Er).static||x.useLayoutEffect(e)}a(nE,"useIsomorphicLayoutEffect$1");function rE(){let{isDataRoute:e}=x.useContext(Cr);return e?W3():B3()}a(rE,"useNavigate");function B3(){yt(ys(),"useNavigate() may be used only in the context of a <Router> component.");let e=x.useContext(La),{basename:n,navigator:r}=x.useContext(Er),{matches:o}=x.useContext(Cr),{pathname:l}=Li(),u=JSON.stringify(Ww(o)),f=x.useRef(!1);return nE(()=>{f.current=!0}),x.useCallback((p,h={})=>{if(er(f.current,tE),!f.current)return;if(typeof p=="number"){r.go(p);return}let m=Zw(p,JSON.parse(u),l,h.relative==="path");e==null&&n!=="/"&&(m.pathname=m.pathname==="/"?n:Kr([n,m.pathname])),(h.replace?r.replace:r.push)(m,h.state,h)},[n,r,u,l,e])}a(B3,"useNavigateUnstable");x.createContext(null);function UU(){let{matches:e}=x.useContext(Cr),n=e[e.length-1];return n?n.params:{}}a(UU,"useParams");function gs(e,{relative:n}={}){let{matches:r}=x.useContext(Cr),{pathname:o}=Li(),l=JSON.stringify(Ww(r));return x.useMemo(()=>Zw(e,JSON.parse(l),o,n==="path"),[e,l,o,n])}a(gs,"useResolvedPath");function H3(e,n){return iE(e,n)}a(H3,"useRoutes");function iE(e,n,r,o,l){yt(ys(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:u}=x.useContext(Er),{matches:f}=x.useContext(Cr),d=f[f.length-1],p=d?d.params:{},h=d?d.pathname:"/",m=d?d.pathnameBase:"/",g=d&&d.route;{let O=g&&g.path||"";oE(h,!g||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${O}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
533
|
+
|
|
534
|
+
Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let b=Li(),S;if(n){let O=typeof n=="string"?Pa(n):n;yt(m==="/"||O.pathname?.startsWith(m),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${m}" but pathname "${O.pathname}" was given in the \`location\` prop.`),S=O}else S=b;let E=S.pathname||"/",w=E;if(m!=="/"){let O=m.replace(/^\//,"").split("/");w="/"+E.replace(/^\//,"").split("/").slice(O.length).join("/")}let R=Qw(e,{pathname:w});er(g||R!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),er(R==null||R[R.length-1].route.element!==void 0||R[R.length-1].route.Component!==void 0||R[R.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let T=V3(R&&R.map(O=>Object.assign({},O,{params:Object.assign({},p,O.params),pathname:Kr([m,u.encodeLocation?u.encodeLocation(O.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?m:Kr([m,u.encodeLocation?u.encodeLocation(O.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathnameBase])})),f,r,o,l);return n&&T?x.createElement(ms.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...S},navigationType:"POP"}},T):T}a(iE,"useRoutesImpl");function U3(){let e=X3(),n=P3(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:o},u={padding:"2px 4px",backgroundColor:o},f=null;return console.error("Error handled by React Router default ErrorBoundary:",e),f=x.createElement(x.Fragment,null,x.createElement("p",null,"💿 Hey developer 👋"),x.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",x.createElement("code",{style:u},"ErrorBoundary")," or"," ",x.createElement("code",{style:u},"errorElement")," prop on your route.")),x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},n),r?x.createElement("pre",{style:l},r):null,f)}a(U3,"DefaultErrorComponent");var F3=x.createElement(U3,null),q3=class extends x.Component{static{a(this,"RenderErrorBoundary")}constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){this.props.unstable_onError?this.props.unstable_onError(e,n):console.error("React Router caught the following error during render",e)}render(){return this.state.error!==void 0?x.createElement(Cr.Provider,{value:this.props.routeContext},x.createElement(Wm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function $3({routeContext:e,match:n,children:r}){let o=x.useContext(La);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(Cr.Provider,{value:e},r)}a($3,"RenderedRoute");function V3(e,n=[],r=null,o=null,l=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(n.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let u=e,f=r?.errors;if(f!=null){let h=u.findIndex(m=>m.route.id&&f?.[m.route.id]!==void 0);yt(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),u=u.slice(0,Math.min(u.length,h+1))}let d=!1,p=-1;if(r)for(let h=0;h<u.length;h++){let m=u[h];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(p=h),m.route.id){let{loaderData:g,errors:b}=r,S=m.route.loader&&!g.hasOwnProperty(m.route.id)&&(!b||b[m.route.id]===void 0);if(m.route.lazy||S){d=!0,p>=0?u=u.slice(0,p+1):u=[u[0]];break}}}return u.reduceRight((h,m,g)=>{let b,S=!1,E=null,w=null;r&&(b=f&&m.route.id?f[m.route.id]:void 0,E=m.route.errorElement||F3,d&&(p<0&&g===0?(oE("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,w=null):p===g&&(S=!0,w=m.route.hydrateFallbackElement||null)));let R=n.concat(u.slice(0,g+1)),T=a(()=>{let O;return b?O=E:S?O=w:m.route.Component?O=x.createElement(m.route.Component,null):m.route.element?O=m.route.element:O=h,x.createElement($3,{match:m,routeContext:{outlet:h,matches:R,isDataRoute:r!=null},children:O})},"getChildren");return r&&(m.route.ErrorBoundary||m.route.errorElement||g===0)?x.createElement(q3,{location:r.location,revalidation:r.revalidation,component:E,error:b,children:T(),routeContext:{outlet:null,matches:R,isDataRoute:!0},unstable_onError:o}):T()},null)}a(V3,"_renderMatches");function Zm(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}a(Zm,"getDataRouterConsoleError");function G3(e){let n=x.useContext(La);return yt(n,Zm(e)),n}a(G3,"useDataRouterContext");function Y3(e){let n=x.useContext(Wc);return yt(n,Zm(e)),n}a(Y3,"useDataRouterState");function Q3(e){let n=x.useContext(Cr);return yt(n,Zm(e)),n}a(Q3,"useRouteContext");function Jm(e){let n=Q3(e),r=n.matches[n.matches.length-1];return yt(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}a(Jm,"useCurrentRouteId");function K3(){return Jm("useRouteId")}a(K3,"useRouteId");function X3(){let e=x.useContext(Wm),n=Y3("useRouteError"),r=Jm("useRouteError");return e!==void 0?e:n.errors?.[r]}a(X3,"useRouteError");function W3(){let{router:e}=G3("useNavigate"),n=Jm("useNavigate"),r=x.useRef(!1);return nE(()=>{r.current=!0}),x.useCallback(async(l,u={})=>{er(r.current,tE),r.current&&(typeof l=="number"?e.navigate(l):await e.navigate(l,{fromRouteId:n,...u}))},[e,n])}a(W3,"useNavigateStable");var j1={};function oE(e,n,r){!n&&!j1[e]&&(j1[e]=!0,er(!1,r))}a(oE,"warningOnce");x.memo(Z3);function Z3({routes:e,future:n,state:r,unstable_onError:o}){return iE(e,void 0,r,o,n)}a(Z3,"DataRoutes");function J3(e){yt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}a(J3,"Route");function eL({basename:e="/",children:n=null,location:r,navigationType:o="POP",navigator:l,static:u=!1}){yt(!ys(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=e.replace(/^\/*/,"/"),d=x.useMemo(()=>({basename:f,navigator:l,static:u,future:{}}),[f,l,u]);typeof r=="string"&&(r=Pa(r));let{pathname:p="/",search:h="",hash:m="",state:g=null,key:b="default"}=r,S=x.useMemo(()=>{let E=Zr(p,f);return E==null?null:{location:{pathname:E,search:h,hash:m,state:g,key:b},navigationType:o}},[f,p,h,m,g,b,o]);return er(S!=null,`<Router basename="${f}"> is not able to match the URL "${p}${h}${m}" because it does not start with the basename, so the <Router> won't render anything.`),S==null?null:x.createElement(Er.Provider,{value:d},x.createElement(ms.Provider,{children:n,value:S}))}a(eL,"Router");function FU({children:e,location:n}){return H3(Qh(e),n)}a(FU,"Routes");function Qh(e,n=[]){let r=[];return x.Children.forEach(e,(o,l)=>{if(!x.isValidElement(o))return;let u=[...n,l];if(o.type===x.Fragment){r.push.apply(r,Qh(o.props.children,u));return}yt(o.type===J3,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),yt(!o.props.index||!o.props.children,"An index route cannot have child routes.");let f={id:o.props.id||u.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(f.children=Qh(o.props.children,u)),r.push(f)}),r}a(Qh,"createRoutesFromChildren");var fc="get",dc="application/x-www-form-urlencoded";function Zc(e){return e!=null&&typeof e.tagName=="string"}a(Zc,"isHtmlElement");function tL(e){return Zc(e)&&e.tagName.toLowerCase()==="button"}a(tL,"isButtonElement");function nL(e){return Zc(e)&&e.tagName.toLowerCase()==="form"}a(nL,"isFormElement");function rL(e){return Zc(e)&&e.tagName.toLowerCase()==="input"}a(rL,"isInputElement");function iL(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}a(iL,"isModifiedEvent");function oL(e,n){return e.button===0&&(!n||n==="_self")&&!iL(e)}a(oL,"shouldProcessLinkClick");function Kh(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((n,r)=>{let o=e[r];return n.concat(Array.isArray(o)?o.map(l=>[r,l]):[[r,o]])},[]))}a(Kh,"createSearchParams");function aL(e,n){let r=Kh(e);return n&&n.forEach((o,l)=>{r.has(l)||n.getAll(l).forEach(u=>{r.append(l,u)})}),r}a(aL,"getSearchParamsForLocation");var tc=null;function lL(){if(tc===null)try{new FormData(document.createElement("form"),0),tc=!1}catch{tc=!0}return tc}a(lL,"isFormDataSubmitterSupported");var sL=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function eh(e){return e!=null&&!sL.has(e)?(er(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${dc}"`),null):e}a(eh,"getFormEncType");function uL(e,n){let r,o,l,u,f;if(nL(e)){let d=e.getAttribute("action");o=d?Zr(d,n):null,r=e.getAttribute("method")||fc,l=eh(e.getAttribute("enctype"))||dc,u=new FormData(e)}else if(tL(e)||rL(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=e.getAttribute("formaction")||d.getAttribute("action");if(o=p?Zr(p,n):null,r=e.getAttribute("formmethod")||d.getAttribute("method")||fc,l=eh(e.getAttribute("formenctype"))||eh(d.getAttribute("enctype"))||dc,u=new FormData(d,e),!lL()){let{name:h,type:m,value:g}=e;if(m==="image"){let b=h?`${h}.`:"";u.append(`${b}x`,"0"),u.append(`${b}y`,"0")}else h&&u.append(h,g)}}else{if(Zc(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=fc,o=null,l=dc,f=e}return u&&l==="text/plain"&&(f=u,u=void 0),{action:o,method:r.toLowerCase(),encType:l,formData:u,body:f}}a(uL,"getFormSubmissionInfo");Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ey(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}a(ey,"invariant2");function cL(e,n,r){let o=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return o.pathname==="/"?o.pathname=`_root.${r}`:n&&Zr(o.pathname,n)==="/"?o.pathname=`${n.replace(/\/$/,"")}/_root.${r}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${r}`,o}a(cL,"singleFetchUrl");async function fL(e,n){if(e.id in n)return n[e.id];try{let r=await import(e.module);return n[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}a(fL,"loadRouteModule");function dL(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}a(dL,"isHtmlLinkDescriptor");async function pL(e,n,r){let o=await Promise.all(e.map(async l=>{let u=n.routes[l.route.id];if(u){let f=await fL(u,r);return f.links?f.links():[]}return[]}));return gL(o.flat(1).filter(dL).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}a(pL,"getKeyedPrefetchLinks");function I1(e,n,r,o,l,u){let f=a((p,h)=>r[h]?p.route.id!==r[h].route.id:!0,"isNew"),d=a((p,h)=>r[h].pathname!==p.pathname||r[h].route.path?.endsWith("*")&&r[h].params["*"]!==p.params["*"],"matchPathChanged");return u==="assets"?n.filter((p,h)=>f(p,h)||d(p,h)):u==="data"?n.filter((p,h)=>{let m=o.routes[p.route.id];if(!m||!m.hasLoader)return!1;if(f(p,h)||d(p,h))return!0;if(p.route.shouldRevalidate){let g=p.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof g=="boolean")return g}return!0}):[]}a(I1,"getNewMatchesForLinks");function hL(e,n,{includeHydrateFallback:r}={}){return mL(e.map(o=>{let l=n.routes[o.route.id];if(!l)return[];let u=[l.module];return l.clientActionModule&&(u=u.concat(l.clientActionModule)),l.clientLoaderModule&&(u=u.concat(l.clientLoaderModule)),r&&l.hydrateFallbackModule&&(u=u.concat(l.hydrateFallbackModule)),l.imports&&(u=u.concat(l.imports)),u}).flat(1))}a(hL,"getModuleLinkHrefs");function mL(e){return[...new Set(e)]}a(mL,"dedupeHrefs");function yL(e){let n={},r=Object.keys(e).sort();for(let o of r)n[o]=e[o];return n}a(yL,"sortKeys");function gL(e,n){let r=new Set;return new Set(n),e.reduce((o,l)=>{let u=JSON.stringify(yL(l));return r.has(u)||(r.add(u),o.push({key:u,link:l})),o},[])}a(gL,"dedupeLinkDescriptors");function aE(){let e=x.useContext(La);return ey(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}a(aE,"useDataRouterContext2");function vL(){let e=x.useContext(Wc);return ey(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}a(vL,"useDataRouterStateContext");var ty=x.createContext(void 0);ty.displayName="FrameworkContext";function lE(){let e=x.useContext(ty);return ey(e,"You must render this element inside a <HydratedRouter> element"),e}a(lE,"useFrameworkContext");function bL(e,n){let r=x.useContext(ty),[o,l]=x.useState(!1),[u,f]=x.useState(!1),{onFocus:d,onBlur:p,onMouseEnter:h,onMouseLeave:m,onTouchStart:g}=n,b=x.useRef(null);x.useEffect(()=>{if(e==="render"&&f(!0),e==="viewport"){let w=a(T=>{T.forEach(O=>{f(O.isIntersecting)})},"callback"),R=new IntersectionObserver(w,{threshold:.5});return b.current&&R.observe(b.current),()=>{R.disconnect()}}},[e]),x.useEffect(()=>{if(o){let w=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(w)}}},[o]);let S=a(()=>{l(!0)},"setIntent"),E=a(()=>{l(!1),f(!1)},"cancelIntent");return r?e!=="intent"?[u,b,{}]:[u,b,{onFocus:zl(d,S),onBlur:zl(p,E),onMouseEnter:zl(h,S),onMouseLeave:zl(m,E),onTouchStart:zl(g,S)}]:[!1,b,{}]}a(bL,"usePrefetchBehavior");function zl(e,n){return r=>{e&&e(r),r.defaultPrevented||n(r)}}a(zl,"composeEventHandlers");function SL({page:e,...n}){let{router:r}=aE(),o=x.useMemo(()=>Qw(r.routes,e,r.basename),[r.routes,e,r.basename]);return o?x.createElement(wL,{page:e,matches:o,...n}):null}a(SL,"PrefetchPageLinks");function xL(e){let{manifest:n,routeModules:r}=lE(),[o,l]=x.useState([]);return x.useEffect(()=>{let u=!1;return pL(e,n,r).then(f=>{u||l(f)}),()=>{u=!0}},[e,n,r]),o}a(xL,"useKeyedPrefetchLinks");function wL({page:e,matches:n,...r}){let o=Li(),{manifest:l,routeModules:u}=lE(),{basename:f}=aE(),{loaderData:d,matches:p}=vL(),h=x.useMemo(()=>I1(e,n,p,l,o,"data"),[e,n,p,l,o]),m=x.useMemo(()=>I1(e,n,p,l,o,"assets"),[e,n,p,l,o]),g=x.useMemo(()=>{if(e===o.pathname+o.search+o.hash)return[];let E=new Set,w=!1;if(n.forEach(T=>{let O=l.routes[T.route.id];!O||!O.hasLoader||(!h.some(M=>M.route.id===T.route.id)&&T.route.id in d&&u[T.route.id]?.shouldRevalidate||O.hasClientLoader?w=!0:E.add(T.route.id))}),E.size===0)return[];let R=cL(e,f,"data");return w&&E.size>0&&R.searchParams.set("_routes",n.filter(T=>E.has(T.route.id)).map(T=>T.route.id).join(",")),[R.pathname+R.search]},[f,d,o,l,h,n,e,u]),b=x.useMemo(()=>hL(m,l),[m,l]),S=xL(m);return x.createElement(x.Fragment,null,g.map(E=>x.createElement("link",{key:E,rel:"prefetch",as:"fetch",href:E,...r})),b.map(E=>x.createElement("link",{key:E,rel:"modulepreload",href:E,...r})),S.map(({key:E,link:w})=>x.createElement("link",{key:E,nonce:r.nonce,...w})))}a(wL,"PrefetchPageLinksImpl");function EL(...e){return n=>{e.forEach(r=>{typeof r=="function"?r(n):r!=null&&(r.current=n)})}}a(EL,"mergeRefs");var sE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{sE&&(window.__reactRouterVersion="7.9.4")}catch{}function qU({basename:e,children:n,window:r}){let o=x.useRef();o.current==null&&(o.current=f3({window:r,v5Compat:!0}));let l=o.current,[u,f]=x.useState({action:l.action,location:l.location}),d=x.useCallback(p=>{x.startTransition(()=>f(p))},[f]);return x.useLayoutEffect(()=>l.listen(d),[l,d]),x.createElement(eL,{basename:e,children:n,location:u.location,navigationType:u.action,navigator:l})}a(qU,"BrowserRouter");var uE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,cE=x.forwardRef(a(function({onClick:n,discover:r="render",prefetch:o="none",relative:l,reloadDocument:u,replace:f,state:d,target:p,to:h,preventScrollReset:m,viewTransition:g,...b},S){let{basename:E}=x.useContext(Er),w=typeof h=="string"&&uE.test(h),R,T=!1;if(typeof h=="string"&&w&&(R=h,sE))try{let K=new URL(window.location.href),te=h.startsWith("//")?new URL(K.protocol+h):new URL(h),Z=Zr(te.pathname,E);te.origin===K.origin&&Z!=null?h=Z+te.search+te.hash:T=!0}catch{er(!1,`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let O=I3(h,{relative:l}),[M,L,B]=bL(o,b),D=OL(h,{replace:f,state:d,target:p,preventScrollReset:m,relative:l,viewTransition:g});function P(K){n&&n(K),K.defaultPrevented||D(K)}a(P,"handleClick");let Y=x.createElement("a",{...b,...B,href:R||O,onClick:T||u?n:P,ref:EL(S,L),target:p,"data-discover":!w&&r==="render"?"true":void 0});return M&&!w?x.createElement(x.Fragment,null,Y,x.createElement(SL,{page:O})):Y},"LinkWithRef"));cE.displayName="Link";var CL=x.forwardRef(a(function({"aria-current":n="page",caseSensitive:r=!1,className:o="",end:l=!1,style:u,to:f,viewTransition:d,children:p,...h},m){let g=gs(f,{relative:h.relative}),b=Li(),S=x.useContext(Wc),{navigator:E,basename:w}=x.useContext(Er),R=S!=null&&kL(g)&&d===!0,T=E.encodeLocation?E.encodeLocation(g).pathname:g.pathname,O=b.pathname,M=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;r||(O=O.toLowerCase(),M=M?M.toLowerCase():null,T=T.toLowerCase()),M&&w&&(M=Zr(M,w)||M);const L=T!=="/"&&T.endsWith("/")?T.length-1:T.length;let B=O===T||!l&&O.startsWith(T)&&O.charAt(L)==="/",D=M!=null&&(M===T||!l&&M.startsWith(T)&&M.charAt(T.length)==="/"),P={isActive:B,isPending:D,isTransitioning:R},Y=B?n:void 0,K;typeof o=="function"?K=o(P):K=[o,B?"active":null,D?"pending":null,R?"transitioning":null].filter(Boolean).join(" ");let te=typeof u=="function"?u(P):u;return x.createElement(cE,{...h,"aria-current":Y,className:K,ref:m,style:te,to:f,viewTransition:d},typeof p=="function"?p(P):p)},"NavLinkWithRef"));CL.displayName="NavLink";var TL=x.forwardRef(({discover:e="render",fetcherKey:n,navigate:r,reloadDocument:o,replace:l,state:u,method:f=fc,action:d,onSubmit:p,relative:h,preventScrollReset:m,viewTransition:g,...b},S)=>{let E=ML(),w=NL(d,{relative:h}),R=f.toLowerCase()==="get"?"get":"post",T=typeof d=="string"&&uE.test(d),O=a(M=>{if(p&&p(M),M.defaultPrevented)return;M.preventDefault();let L=M.nativeEvent.submitter,B=L?.getAttribute("formmethod")||f;E(L||M.currentTarget,{fetcherKey:n,method:B,navigate:r,replace:l,state:u,relative:h,preventScrollReset:m,viewTransition:g})},"submitHandler");return x.createElement("form",{ref:S,method:R,action:w,onSubmit:o?p:O,...b,"data-discover":!T&&e==="render"?"true":void 0})});TL.displayName="Form";function RL(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}a(RL,"getDataRouterConsoleError2");function fE(e){let n=x.useContext(La);return yt(n,RL(e)),n}a(fE,"useDataRouterContext3");function OL(e,{target:n,replace:r,state:o,preventScrollReset:l,relative:u,viewTransition:f}={}){let d=rE(),p=Li(),h=gs(e,{relative:u});return x.useCallback(m=>{if(oL(m,n)){m.preventDefault();let g=r!==void 0?r:is(p)===is(h);d(e,{replace:g,state:o,preventScrollReset:l,relative:u,viewTransition:f})}},[p,d,h,r,o,n,e,l,u,f])}a(OL,"useLinkClickHandler");function $U(e){er(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let n=x.useRef(Kh(e)),r=x.useRef(!1),o=Li(),l=x.useMemo(()=>aL(o.search,r.current?null:n.current),[o.search]),u=rE(),f=x.useCallback((d,p)=>{const h=Kh(typeof d=="function"?d(new URLSearchParams(l)):d);r.current=!0,u("?"+h,p)},[u,l]);return[l,f]}a($U,"useSearchParams");var AL=0,_L=a(()=>`__${String(++AL)}__`,"getUniqueFetcherId");function ML(){let{router:e}=fE("useSubmit"),{basename:n}=x.useContext(Er),r=K3();return x.useCallback(async(o,l={})=>{let{action:u,method:f,encType:d,formData:p,body:h}=uL(o,n);if(l.navigate===!1){let m=l.fetcherKey||_L();await e.fetch(m,r,l.action||u,{preventScrollReset:l.preventScrollReset,formData:p,body:h,formMethod:l.method||f,formEncType:l.encType||d,flushSync:l.flushSync})}else await e.navigate(l.action||u,{preventScrollReset:l.preventScrollReset,formData:p,body:h,formMethod:l.method||f,formEncType:l.encType||d,replace:l.replace,state:l.state,fromRouteId:r,flushSync:l.flushSync,viewTransition:l.viewTransition})},[e,n,r])}a(ML,"useSubmit");function NL(e,{relative:n}={}){let{basename:r}=x.useContext(Er),o=x.useContext(Cr);yt(o,"useFormAction must be used inside a RouteContext");let[l]=o.matches.slice(-1),u={...gs(e||".",{relative:n})},f=Li();if(e==null){u.search=f.search;let d=new URLSearchParams(u.search),p=d.getAll("index");if(p.some(m=>m==="")){d.delete("index"),p.filter(g=>g).forEach(g=>d.append("index",g));let m=d.toString();u.search=m?`?${m}`:""}}return(!e||e===".")&&l.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(u.pathname=u.pathname==="/"?r:Kr([r,u.pathname])),is(u)}a(NL,"useFormAction");function kL(e,{relative:n}={}){let r=x.useContext(eE);yt(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=fE("useViewTransitionState"),l=gs(e,{relative:n});if(!r.isTransitioning)return!1;let u=Zr(r.currentLocation.pathname,o)||r.currentLocation.pathname,f=Zr(r.nextLocation.pathname,o)||r.nextLocation.pathname;return Cc(l.pathname,f)!=null||Cc(l.pathname,u)!=null}a(kL,"useViewTransitionState");var DL="Label",dE=x.forwardRef((e,n)=>N.jsx(Te.label,{...e,ref:n,onMouseDown:a(r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())},"onMouseDown")}));dE.displayName=DL;var VU=dE;function Jc(e){const n=e+"CollectionProvider",[r,o]=Wt(n),[l,u]=r(n,{collectionRef:{current:null},itemMap:new Map}),f=a(w=>{const{scope:R,children:T}=w,O=_e.useRef(null),M=_e.useRef(new Map).current;return N.jsx(l,{scope:R,itemMap:M,collectionRef:O,children:T})},"CollectionProvider");f.displayName=n;const d=e+"CollectionSlot",p=lo(d),h=_e.forwardRef((w,R)=>{const{scope:T,children:O}=w,M=u(d,T),L=ze(R,M.collectionRef);return N.jsx(p,{ref:L,children:O})});h.displayName=d;const m=e+"CollectionItemSlot",g="data-radix-collection-item",b=lo(m),S=_e.forwardRef((w,R)=>{const{scope:T,children:O,...M}=w,L=_e.useRef(null),B=ze(R,L),D=u(m,T);return _e.useEffect(()=>(D.itemMap.set(L,{ref:L,...M}),()=>void D.itemMap.delete(L))),N.jsx(b,{[g]:"",ref:B,children:O})});S.displayName=m;function E(w){const R=u(e+"CollectionConsumer",w);return _e.useCallback(()=>{const O=R.collectionRef.current;if(!O)return[];const M=Array.from(O.querySelectorAll(`[${g}]`));return Array.from(R.itemMap.values()).sort((D,P)=>M.indexOf(D.ref.current)-M.indexOf(P.ref.current))},[R.collectionRef,R.itemMap])}return a(E,"useCollection"),[{Provider:f,Slot:h,ItemSlot:S},E,o]}a(Jc,"createCollection");var PL=x.createContext(void 0);function vs(e){const n=x.useContext(PL);return e||n||"ltr"}a(vs,"useDirection");var th="rovingFocusGroup.onEntryFocus",LL={bubbles:!1,cancelable:!0},bs="RovingFocusGroup",[Xh,pE,zL]=Jc(bs),[jL,ef]=Wt(bs,[zL]),[IL,BL]=jL(bs),hE=x.forwardRef((e,n)=>N.jsx(Xh.Provider,{scope:e.__scopeRovingFocusGroup,children:N.jsx(Xh.Slot,{scope:e.__scopeRovingFocusGroup,children:N.jsx(HL,{...e,ref:n})})}));hE.displayName=bs;var HL=x.forwardRef((e,n)=>{const{__scopeRovingFocusGroup:r,orientation:o,loop:l=!1,dir:u,currentTabStopId:f,defaultCurrentTabStopId:d,onCurrentTabStopIdChange:p,onEntryFocus:h,preventScrollOnEntryFocus:m=!1,...g}=e,b=x.useRef(null),S=ze(n,b),E=vs(u),[w,R]=vr({prop:f,defaultProp:d??null,onChange:p,caller:bs}),[T,O]=x.useState(!1),M=xt(h),L=pE(r),B=x.useRef(!1),[D,P]=x.useState(0);return x.useEffect(()=>{const Y=b.current;if(Y)return Y.addEventListener(th,M),()=>Y.removeEventListener(th,M)},[M]),N.jsx(IL,{scope:r,orientation:o,dir:E,loop:l,currentTabStopId:w,onItemFocus:x.useCallback(Y=>R(Y),[R]),onItemShiftTab:x.useCallback(()=>O(!0),[]),onFocusableItemAdd:x.useCallback(()=>P(Y=>Y+1),[]),onFocusableItemRemove:x.useCallback(()=>P(Y=>Y-1),[]),children:N.jsx(Te.div,{tabIndex:T||D===0?-1:0,"data-orientation":o,...g,ref:S,style:{outline:"none",...e.style},onMouseDown:ye(e.onMouseDown,()=>{B.current=!0}),onFocus:ye(e.onFocus,Y=>{const K=!B.current;if(Y.target===Y.currentTarget&&K&&!T){const te=new CustomEvent(th,LL);if(Y.currentTarget.dispatchEvent(te),!te.defaultPrevented){const Z=L().filter(I=>I.focusable),ee=Z.find(I=>I.active),fe=Z.find(I=>I.id===w),oe=[ee,fe,...Z].filter(Boolean).map(I=>I.ref.current);gE(oe,m)}}B.current=!1}),onBlur:ye(e.onBlur,()=>O(!1))})})}),mE="RovingFocusGroupItem",yE=x.forwardRef((e,n)=>{const{__scopeRovingFocusGroup:r,focusable:o=!0,active:l=!1,tabStopId:u,children:f,...d}=e,p=Bn(),h=u||p,m=BL(mE,r),g=m.currentTabStopId===h,b=pE(r),{onFocusableItemAdd:S,onFocusableItemRemove:E,currentTabStopId:w}=m;return x.useEffect(()=>{if(o)return S(),()=>E()},[o,S,E]),N.jsx(Xh.ItemSlot,{scope:r,id:h,focusable:o,active:l,children:N.jsx(Te.span,{tabIndex:g?0:-1,"data-orientation":m.orientation,...d,ref:n,onMouseDown:ye(e.onMouseDown,R=>{o?m.onItemFocus(h):R.preventDefault()}),onFocus:ye(e.onFocus,()=>m.onItemFocus(h)),onKeyDown:ye(e.onKeyDown,R=>{if(R.key==="Tab"&&R.shiftKey){m.onItemShiftTab();return}if(R.target!==R.currentTarget)return;const T=qL(R,m.orientation,m.dir);if(T!==void 0){if(R.metaKey||R.ctrlKey||R.altKey||R.shiftKey)return;R.preventDefault();let M=b().filter(L=>L.focusable).map(L=>L.ref.current);if(T==="last")M.reverse();else if(T==="prev"||T==="next"){T==="prev"&&M.reverse();const L=M.indexOf(R.currentTarget);M=m.loop?$L(M,L+1):M.slice(L+1)}setTimeout(()=>gE(M))}}),children:typeof f=="function"?f({isCurrentTabStop:g,hasTabStop:w!=null}):f})})});yE.displayName=mE;var UL={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function FL(e,n){return n!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}a(FL,"getDirectionAwareKey");function qL(e,n,r){const o=FL(e.key,r);if(!(n==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(n==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return UL[o]}a(qL,"getFocusIntent");function gE(e,n=!1){const r=document.activeElement;for(const o of e)if(o===r||(o.focus({preventScroll:n}),document.activeElement!==r))return}a(gE,"focusFirst$2");function $L(e,n){return e.map((r,o)=>e[(n+o)%e.length])}a($L,"wrapArray$2");var vE=hE,bE=yE,tf="Tabs",[VL]=Wt(tf,[ef]),SE=ef(),[GL,ny]=VL(tf),xE=x.forwardRef((e,n)=>{const{__scopeTabs:r,value:o,onValueChange:l,defaultValue:u,orientation:f="horizontal",dir:d,activationMode:p="automatic",...h}=e,m=vs(d),[g,b]=vr({prop:o,onChange:l,defaultProp:u??"",caller:tf});return N.jsx(GL,{scope:r,baseId:Bn(),value:g,onValueChange:b,orientation:f,dir:m,activationMode:p,children:N.jsx(Te.div,{dir:m,"data-orientation":f,...h,ref:n})})});xE.displayName=tf;var wE="TabsList",EE=x.forwardRef((e,n)=>{const{__scopeTabs:r,loop:o=!0,...l}=e,u=ny(wE,r),f=SE(r);return N.jsx(vE,{asChild:!0,...f,orientation:u.orientation,dir:u.dir,loop:o,children:N.jsx(Te.div,{role:"tablist","aria-orientation":u.orientation,...l,ref:n})})});EE.displayName=wE;var CE="TabsTrigger",TE=x.forwardRef((e,n)=>{const{__scopeTabs:r,value:o,disabled:l=!1,...u}=e,f=ny(CE,r),d=SE(r),p=AE(f.baseId,o),h=_E(f.baseId,o),m=o===f.value;return N.jsx(bE,{asChild:!0,...d,focusable:!l,active:m,children:N.jsx(Te.button,{type:"button",role:"tab","aria-selected":m,"aria-controls":h,"data-state":m?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:p,...u,ref:n,onMouseDown:ye(e.onMouseDown,g=>{!l&&g.button===0&&g.ctrlKey===!1?f.onValueChange(o):g.preventDefault()}),onKeyDown:ye(e.onKeyDown,g=>{[" ","Enter"].includes(g.key)&&f.onValueChange(o)}),onFocus:ye(e.onFocus,()=>{const g=f.activationMode!=="manual";!m&&!l&&g&&f.onValueChange(o)})})})});TE.displayName=CE;var RE="TabsContent",OE=x.forwardRef((e,n)=>{const{__scopeTabs:r,value:o,forceMount:l,children:u,...f}=e,d=ny(RE,r),p=AE(d.baseId,o),h=_E(d.baseId,o),m=o===d.value,g=x.useRef(m);return x.useEffect(()=>{const b=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(b)},[]),N.jsx(Ht,{present:l||m,children:a(({present:b})=>N.jsx(Te.div,{"data-state":m?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":p,hidden:!b,id:h,tabIndex:0,...f,ref:n,style:{...e.style,animationDuration:g.current?"0s":void 0},children:b&&u}),"children")})});OE.displayName=RE;function AE(e,n){return`${e}-trigger-${n}`}a(AE,"makeTriggerId");function _E(e,n){return`${e}-content-${n}`}a(_E,"makeContentId");var GU=xE,YU=EE,QU=TE,KU=OE;function ME(e){const n=x.useRef({value:e,previous:e});return x.useMemo(()=>(n.current.value!==e&&(n.current.previous=n.current.value,n.current.value=e),n.current.previous),[e])}a(ME,"usePrevious");var YL=[" ","Enter","ArrowUp","ArrowDown"],QL=[" ","Enter"],po="Select",[nf,rf,KL]=Jc(po),[za]=Wt(po,[KL,Da]),of=Da(),[XL,zi]=za(po),[WL,ZL]=za(po),NE=a(e=>{const{__scopeSelect:n,children:r,open:o,defaultOpen:l,onOpenChange:u,value:f,defaultValue:d,onValueChange:p,dir:h,name:m,autoComplete:g,disabled:b,required:S,form:E}=e,w=of(n),[R,T]=x.useState(null),[O,M]=x.useState(null),[L,B]=x.useState(!1),D=vs(h),[P,Y]=vr({prop:o,defaultProp:l??!1,onChange:u,caller:po}),[K,te]=vr({prop:f,defaultProp:d,onChange:p,caller:po}),Z=x.useRef(null),ee=R?E||!!R.closest("form"):!0,[fe,F]=x.useState(new Set),oe=Array.from(fe).map(I=>I.props.value).join(";");return N.jsx(Im,{...w,children:N.jsxs(XL,{required:S,scope:n,trigger:R,onTriggerChange:T,valueNode:O,onValueNodeChange:M,valueNodeHasChildren:L,onValueNodeHasChildrenChange:B,contentId:Bn(),value:K,onValueChange:te,open:P,onOpenChange:Y,dir:D,triggerPointerDownPosRef:Z,disabled:b,children:[N.jsx(nf.Provider,{scope:n,children:N.jsx(WL,{scope:e.__scopeSelect,onNativeOptionAdd:x.useCallback(I=>{F(W=>new Set(W).add(I))},[]),onNativeOptionRemove:x.useCallback(I=>{F(W=>{const ie=new Set(W);return ie.delete(I),ie})},[]),children:r})}),ee?N.jsxs(nC,{"aria-hidden":!0,required:S,tabIndex:-1,name:m,autoComplete:g,value:K,onChange:a(I=>te(I.target.value),"onChange"),disabled:b,form:E,children:[K===void 0?N.jsx("option",{value:""}):null,Array.from(fe)]},oe):null]})})},"Select");NE.displayName=po;var kE="SelectTrigger",DE=x.forwardRef((e,n)=>{const{__scopeSelect:r,disabled:o=!1,...l}=e,u=of(r),f=zi(kE,r),d=f.disabled||o,p=ze(n,f.onTriggerChange),h=rf(r),m=x.useRef("touch"),[g,b,S]=iC(w=>{const R=h().filter(M=>!M.disabled),T=R.find(M=>M.value===f.value),O=oC(R,w,T);O!==void 0&&f.onValueChange(O.value)}),E=a(w=>{d||(f.onOpenChange(!0),S()),w&&(f.triggerPointerDownPosRef.current={x:Math.round(w.pageX),y:Math.round(w.pageY)})},"handleOpen");return N.jsx(Bm,{asChild:!0,...u,children:N.jsx(Te.button,{type:"button",role:"combobox","aria-controls":f.contentId,"aria-expanded":f.open,"aria-required":f.required,"aria-autocomplete":"none",dir:f.dir,"data-state":f.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":rC(f.value)?"":void 0,...l,ref:p,onClick:ye(l.onClick,w=>{w.currentTarget.focus(),m.current!=="mouse"&&E(w)}),onPointerDown:ye(l.onPointerDown,w=>{m.current=w.pointerType;const R=w.target;R.hasPointerCapture(w.pointerId)&&R.releasePointerCapture(w.pointerId),w.button===0&&w.ctrlKey===!1&&w.pointerType==="mouse"&&(E(w),w.preventDefault())}),onKeyDown:ye(l.onKeyDown,w=>{const R=g.current!=="";!(w.ctrlKey||w.altKey||w.metaKey)&&w.key.length===1&&b(w.key),!(R&&w.key===" ")&&YL.includes(w.key)&&(E(),w.preventDefault())})})})});DE.displayName=kE;var PE="SelectValue",LE=x.forwardRef((e,n)=>{const{__scopeSelect:r,className:o,style:l,children:u,placeholder:f="",...d}=e,p=zi(PE,r),{onValueNodeHasChildrenChange:h}=p,m=u!==void 0,g=ze(n,p.onValueNodeChange);return wt(()=>{h(m)},[h,m]),N.jsx(Te.span,{...d,ref:g,style:{pointerEvents:"none"},children:rC(p.value)?N.jsx(N.Fragment,{children:f}):u})});LE.displayName=PE;var JL="SelectIcon",zE=x.forwardRef((e,n)=>{const{__scopeSelect:r,children:o,...l}=e;return N.jsx(Te.span,{"aria-hidden":!0,...l,ref:n,children:o||"▼"})});zE.displayName=JL;var ez="SelectPortal",jE=a(e=>N.jsx(Ma,{asChild:!0,...e}),"SelectPortal");jE.displayName=ez;var ho="SelectContent",IE=x.forwardRef((e,n)=>{const r=zi(ho,e.__scopeSelect),[o,l]=x.useState();if(wt(()=>{l(new DocumentFragment)},[]),!r.open){const u=o;return u?yr.createPortal(N.jsx(BE,{scope:e.__scopeSelect,children:N.jsx(nf.Slot,{scope:e.__scopeSelect,children:N.jsx("div",{children:e.children})})}),u):null}return N.jsx(HE,{...e,ref:n})});IE.displayName=ho;var Qn=10,[BE,ji]=za(ho),tz="SelectContentImpl",nz=lo("SelectContent.RemoveScroll"),HE=x.forwardRef((e,n)=>{const{__scopeSelect:r,position:o="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:u,onPointerDownOutside:f,side:d,sideOffset:p,align:h,alignOffset:m,arrowPadding:g,collisionBoundary:b,collisionPadding:S,sticky:E,hideWhenDetached:w,avoidCollisions:R,...T}=e,O=zi(ho,r),[M,L]=x.useState(null),[B,D]=x.useState(null),P=ze(n,V=>L(V)),[Y,K]=x.useState(null),[te,Z]=x.useState(null),ee=rf(r),[fe,F]=x.useState(!1),oe=x.useRef(!1);x.useEffect(()=>{if(M)return Rm(M)},[M]),Tm();const I=x.useCallback(V=>{const[pe,...be]=ee().map(Ue=>Ue.ref.current),[Re]=be.slice(-1),ke=document.activeElement;for(const Ue of V)if(Ue===ke||(Ue?.scrollIntoView({block:"nearest"}),Ue===pe&&B&&(B.scrollTop=0),Ue===Re&&B&&(B.scrollTop=B.scrollHeight),Ue?.focus(),document.activeElement!==ke))return},[ee,B]),W=x.useCallback(()=>I([Y,M]),[I,Y,M]);x.useEffect(()=>{fe&&W()},[fe,W]);const{onOpenChange:ie,triggerPointerDownPosRef:se}=O;x.useEffect(()=>{if(M){let V={x:0,y:0};const pe=a(Re=>{V={x:Math.abs(Math.round(Re.pageX)-(se.current?.x??0)),y:Math.abs(Math.round(Re.pageY)-(se.current?.y??0))}},"handlePointerMove"),be=a(Re=>{V.x<=10&&V.y<=10?Re.preventDefault():M.contains(Re.target)||ie(!1),document.removeEventListener("pointermove",pe),se.current=null},"handlePointerUp");return se.current!==null&&(document.addEventListener("pointermove",pe),document.addEventListener("pointerup",be,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",pe),document.removeEventListener("pointerup",be,{capture:!0})}}},[M,ie,se]),x.useEffect(()=>{const V=a(()=>ie(!1),"close");return window.addEventListener("blur",V),window.addEventListener("resize",V),()=>{window.removeEventListener("blur",V),window.removeEventListener("resize",V)}},[ie]);const[k,z]=iC(V=>{const pe=ee().filter(ke=>!ke.disabled),be=pe.find(ke=>ke.ref.current===document.activeElement),Re=oC(pe,V,be);Re&&setTimeout(()=>Re.ref.current.focus())}),Q=x.useCallback((V,pe,be)=>{const Re=!oe.current&&!be;(O.value!==void 0&&O.value===pe||Re)&&(K(V),Re&&(oe.current=!0))},[O.value]),A=x.useCallback(()=>M?.focus(),[M]),J=x.useCallback((V,pe,be)=>{const Re=!oe.current&&!be;(O.value!==void 0&&O.value===pe||Re)&&Z(V)},[O.value]),de=o==="popper"?Wh:UE,ce=de===Wh?{side:d,sideOffset:p,align:h,alignOffset:m,arrowPadding:g,collisionBoundary:b,collisionPadding:S,sticky:E,hideWhenDetached:w,avoidCollisions:R}:{};return N.jsx(BE,{scope:r,content:M,viewport:B,onViewportChange:D,itemRefCallback:Q,selectedItem:Y,onItemLeave:A,itemTextRefCallback:J,focusSelectedItem:W,selectedItemText:te,position:o,isPositioned:fe,searchRef:k,children:N.jsx(Fc,{as:nz,allowPinchZoom:!0,children:N.jsx(Hc,{asChild:!0,trapped:O.open,onMountAutoFocus:a(V=>{V.preventDefault()},"onMountAutoFocus"),onUnmountAutoFocus:ye(l,V=>{O.trigger?.focus({preventScroll:!0}),V.preventDefault()}),children:N.jsx(_a,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:a(V=>V.preventDefault(),"onFocusOutside"),onDismiss:a(()=>O.onOpenChange(!1),"onDismiss"),children:N.jsx(de,{role:"listbox",id:O.contentId,"data-state":O.open?"open":"closed",dir:O.dir,onContextMenu:a(V=>V.preventDefault(),"onContextMenu"),...T,...ce,onPlaced:a(()=>F(!0),"onPlaced"),ref:P,style:{display:"flex",flexDirection:"column",outline:"none",...T.style},onKeyDown:ye(T.onKeyDown,V=>{const pe=V.ctrlKey||V.altKey||V.metaKey;if(V.key==="Tab"&&V.preventDefault(),!pe&&V.key.length===1&&z(V.key),["ArrowUp","ArrowDown","Home","End"].includes(V.key)){let Re=ee().filter(ke=>!ke.disabled).map(ke=>ke.ref.current);if(["ArrowUp","End"].includes(V.key)&&(Re=Re.slice().reverse()),["ArrowUp","ArrowDown"].includes(V.key)){const ke=V.target,Ue=Re.indexOf(ke);Re=Re.slice(Ue+1)}setTimeout(()=>I(Re)),V.preventDefault()}})})})})})})});HE.displayName=tz;var rz="SelectItemAlignedPosition",UE=x.forwardRef((e,n)=>{const{__scopeSelect:r,onPlaced:o,...l}=e,u=zi(ho,r),f=ji(ho,r),[d,p]=x.useState(null),[h,m]=x.useState(null),g=ze(n,P=>m(P)),b=rf(r),S=x.useRef(!1),E=x.useRef(!0),{viewport:w,selectedItem:R,selectedItemText:T,focusSelectedItem:O}=f,M=x.useCallback(()=>{if(u.trigger&&u.valueNode&&d&&h&&w&&R&&T){const P=u.trigger.getBoundingClientRect(),Y=h.getBoundingClientRect(),K=u.valueNode.getBoundingClientRect(),te=T.getBoundingClientRect();if(u.dir!=="rtl"){const ke=te.left-Y.left,Ue=K.left-ke,Be=P.left-Ue,nt=P.width+Be,Ut=Math.max(nt,Y.width),Gt=window.innerWidth-Qn,Tn=kh(Ue,[Qn,Math.max(Qn,Gt-Ut)]);d.style.minWidth=nt+"px",d.style.left=Tn+"px"}else{const ke=Y.right-te.right,Ue=window.innerWidth-K.right-ke,Be=window.innerWidth-P.right-Ue,nt=P.width+Be,Ut=Math.max(nt,Y.width),Gt=window.innerWidth-Qn,Tn=kh(Ue,[Qn,Math.max(Qn,Gt-Ut)]);d.style.minWidth=nt+"px",d.style.right=Tn+"px"}const Z=b(),ee=window.innerHeight-Qn*2,fe=w.scrollHeight,F=window.getComputedStyle(h),oe=parseInt(F.borderTopWidth,10),I=parseInt(F.paddingTop,10),W=parseInt(F.borderBottomWidth,10),ie=parseInt(F.paddingBottom,10),se=oe+I+fe+ie+W,k=Math.min(R.offsetHeight*5,se),z=window.getComputedStyle(w),Q=parseInt(z.paddingTop,10),A=parseInt(z.paddingBottom,10),J=P.top+P.height/2-Qn,de=ee-J,ce=R.offsetHeight/2,V=R.offsetTop+ce,pe=oe+I+V,be=se-pe;if(pe<=J){const ke=Z.length>0&&R===Z[Z.length-1].ref.current;d.style.bottom="0px";const Ue=h.clientHeight-w.offsetTop-w.offsetHeight,Be=Math.max(de,ce+(ke?A:0)+Ue+W),nt=pe+Be;d.style.height=nt+"px"}else{const ke=Z.length>0&&R===Z[0].ref.current;d.style.top="0px";const Be=Math.max(J,oe+w.offsetTop+(ke?Q:0)+ce)+be;d.style.height=Be+"px",w.scrollTop=pe-J+w.offsetTop}d.style.margin=`${Qn}px 0`,d.style.minHeight=k+"px",d.style.maxHeight=ee+"px",o?.(),requestAnimationFrame(()=>S.current=!0)}},[b,u.trigger,u.valueNode,d,h,w,R,T,u.dir,o]);wt(()=>M(),[M]);const[L,B]=x.useState();wt(()=>{h&&B(window.getComputedStyle(h).zIndex)},[h]);const D=x.useCallback(P=>{P&&E.current===!0&&(M(),O?.(),E.current=!1)},[M,O]);return N.jsx(oz,{scope:r,contentWrapper:d,shouldExpandOnScrollRef:S,onScrollButtonChange:D,children:N.jsx("div",{ref:p,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:L},children:N.jsx(Te.div,{...l,ref:g,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})});UE.displayName=rz;var iz="SelectPopperPosition",Wh=x.forwardRef((e,n)=>{const{__scopeSelect:r,align:o="start",collisionPadding:l=Qn,...u}=e,f=of(r);return N.jsx(Hm,{...f,...u,ref:n,align:o,collisionPadding:l,style:{boxSizing:"border-box",...u.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Wh.displayName=iz;var[oz,ry]=za(ho,{}),Zh="SelectViewport",FE=x.forwardRef((e,n)=>{const{__scopeSelect:r,nonce:o,...l}=e,u=ji(Zh,r),f=ry(Zh,r),d=ze(n,u.onViewportChange),p=x.useRef(0);return N.jsxs(N.Fragment,{children:[N.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),N.jsx(nf.Slot,{scope:r,children:N.jsx(Te.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:ye(l.onScroll,h=>{const m=h.currentTarget,{contentWrapper:g,shouldExpandOnScrollRef:b}=f;if(b?.current&&g){const S=Math.abs(p.current-m.scrollTop);if(S>0){const E=window.innerHeight-Qn*2,w=parseFloat(g.style.minHeight),R=parseFloat(g.style.height),T=Math.max(w,R);if(T<E){const O=T+S,M=Math.min(E,O),L=O-M;g.style.height=M+"px",g.style.bottom==="0px"&&(m.scrollTop=L>0?L:0,g.style.justifyContent="flex-end")}}}p.current=m.scrollTop})})})]})});FE.displayName=Zh;var qE="SelectGroup",[az,lz]=za(qE),$E=x.forwardRef((e,n)=>{const{__scopeSelect:r,...o}=e,l=Bn();return N.jsx(az,{scope:r,id:l,children:N.jsx(Te.div,{role:"group","aria-labelledby":l,...o,ref:n})})});$E.displayName=qE;var VE="SelectLabel",GE=x.forwardRef((e,n)=>{const{__scopeSelect:r,...o}=e,l=lz(VE,r);return N.jsx(Te.div,{id:l.id,...o,ref:n})});GE.displayName=VE;var Tc="SelectItem",[sz,YE]=za(Tc),QE=x.forwardRef((e,n)=>{const{__scopeSelect:r,value:o,disabled:l=!1,textValue:u,...f}=e,d=zi(Tc,r),p=ji(Tc,r),h=d.value===o,[m,g]=x.useState(u??""),[b,S]=x.useState(!1),E=ze(n,O=>p.itemRefCallback?.(O,o,l)),w=Bn(),R=x.useRef("touch"),T=a(()=>{l||(d.onValueChange(o),d.onOpenChange(!1))},"handleSelect");if(o==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return N.jsx(sz,{scope:r,value:o,disabled:l,textId:w,isSelected:h,onItemTextChange:x.useCallback(O=>{g(M=>M||(O?.textContent??"").trim())},[]),children:N.jsx(nf.ItemSlot,{scope:r,value:o,disabled:l,textValue:m,children:N.jsx(Te.div,{role:"option","aria-labelledby":w,"data-highlighted":b?"":void 0,"aria-selected":h&&b,"data-state":h?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...f,ref:E,onFocus:ye(f.onFocus,()=>S(!0)),onBlur:ye(f.onBlur,()=>S(!1)),onClick:ye(f.onClick,()=>{R.current!=="mouse"&&T()}),onPointerUp:ye(f.onPointerUp,()=>{R.current==="mouse"&&T()}),onPointerDown:ye(f.onPointerDown,O=>{R.current=O.pointerType}),onPointerMove:ye(f.onPointerMove,O=>{R.current=O.pointerType,l?p.onItemLeave?.():R.current==="mouse"&&O.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ye(f.onPointerLeave,O=>{O.currentTarget===document.activeElement&&p.onItemLeave?.()}),onKeyDown:ye(f.onKeyDown,O=>{p.searchRef?.current!==""&&O.key===" "||(QL.includes(O.key)&&T(),O.key===" "&&O.preventDefault())})})})})});QE.displayName=Tc;var Gl="SelectItemText",KE=x.forwardRef((e,n)=>{const{__scopeSelect:r,className:o,style:l,...u}=e,f=zi(Gl,r),d=ji(Gl,r),p=YE(Gl,r),h=ZL(Gl,r),[m,g]=x.useState(null),b=ze(n,T=>g(T),p.onItemTextChange,T=>d.itemTextRefCallback?.(T,p.value,p.disabled)),S=m?.textContent,E=x.useMemo(()=>N.jsx("option",{value:p.value,disabled:p.disabled,children:S},p.value),[p.disabled,p.value,S]),{onNativeOptionAdd:w,onNativeOptionRemove:R}=h;return wt(()=>(w(E),()=>R(E)),[w,R,E]),N.jsxs(N.Fragment,{children:[N.jsx(Te.span,{id:p.textId,...u,ref:b}),p.isSelected&&f.valueNode&&!f.valueNodeHasChildren?yr.createPortal(u.children,f.valueNode):null]})});KE.displayName=Gl;var XE="SelectItemIndicator",WE=x.forwardRef((e,n)=>{const{__scopeSelect:r,...o}=e;return YE(XE,r).isSelected?N.jsx(Te.span,{"aria-hidden":!0,...o,ref:n}):null});WE.displayName=XE;var Jh="SelectScrollUpButton",ZE=x.forwardRef((e,n)=>{const r=ji(Jh,e.__scopeSelect),o=ry(Jh,e.__scopeSelect),[l,u]=x.useState(!1),f=ze(n,o.onScrollButtonChange);return wt(()=>{if(r.viewport&&r.isPositioned){let d=a(function(){const h=p.scrollTop>0;u(h)},"handleScroll2");const p=r.viewport;return d(),p.addEventListener("scroll",d),()=>p.removeEventListener("scroll",d)}},[r.viewport,r.isPositioned]),l?N.jsx(eC,{...e,ref:f,onAutoScroll:a(()=>{const{viewport:d,selectedItem:p}=r;d&&p&&(d.scrollTop=d.scrollTop-p.offsetHeight)},"onAutoScroll")}):null});ZE.displayName=Jh;var em="SelectScrollDownButton",JE=x.forwardRef((e,n)=>{const r=ji(em,e.__scopeSelect),o=ry(em,e.__scopeSelect),[l,u]=x.useState(!1),f=ze(n,o.onScrollButtonChange);return wt(()=>{if(r.viewport&&r.isPositioned){let d=a(function(){const h=p.scrollHeight-p.clientHeight,m=Math.ceil(p.scrollTop)<h;u(m)},"handleScroll2");const p=r.viewport;return d(),p.addEventListener("scroll",d),()=>p.removeEventListener("scroll",d)}},[r.viewport,r.isPositioned]),l?N.jsx(eC,{...e,ref:f,onAutoScroll:a(()=>{const{viewport:d,selectedItem:p}=r;d&&p&&(d.scrollTop=d.scrollTop+p.offsetHeight)},"onAutoScroll")}):null});JE.displayName=em;var eC=x.forwardRef((e,n)=>{const{__scopeSelect:r,onAutoScroll:o,...l}=e,u=ji("SelectScrollButton",r),f=x.useRef(null),d=rf(r),p=x.useCallback(()=>{f.current!==null&&(window.clearInterval(f.current),f.current=null)},[]);return x.useEffect(()=>()=>p(),[p]),wt(()=>{d().find(m=>m.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[d]),N.jsx(Te.div,{"aria-hidden":!0,...l,ref:n,style:{flexShrink:0,...l.style},onPointerDown:ye(l.onPointerDown,()=>{f.current===null&&(f.current=window.setInterval(o,50))}),onPointerMove:ye(l.onPointerMove,()=>{u.onItemLeave?.(),f.current===null&&(f.current=window.setInterval(o,50))}),onPointerLeave:ye(l.onPointerLeave,()=>{p()})})}),uz="SelectSeparator",tC=x.forwardRef((e,n)=>{const{__scopeSelect:r,...o}=e;return N.jsx(Te.div,{"aria-hidden":!0,...o,ref:n})});tC.displayName=uz;var tm="SelectArrow",cz=x.forwardRef((e,n)=>{const{__scopeSelect:r,...o}=e,l=of(r),u=zi(tm,r),f=ji(tm,r);return u.open&&f.position==="popper"?N.jsx(Um,{...l,...o,ref:n}):null});cz.displayName=tm;var fz="SelectBubbleInput",nC=x.forwardRef(({__scopeSelect:e,value:n,...r},o)=>{const l=x.useRef(null),u=ze(o,l),f=ME(n);return x.useEffect(()=>{const d=l.current;if(!d)return;const p=window.HTMLSelectElement.prototype,m=Object.getOwnPropertyDescriptor(p,"value").set;if(f!==n&&m){const g=new Event("change",{bubbles:!0});m.call(d,n),d.dispatchEvent(g)}},[f,n]),N.jsx(Te.select,{...r,style:{...ww,...r.style},ref:u,defaultValue:n})});nC.displayName=fz;function rC(e){return e===""||e===void 0}a(rC,"shouldShowPlaceholder");function iC(e){const n=xt(e),r=x.useRef(""),o=x.useRef(0),l=x.useCallback(f=>{const d=r.current+f;n(d),a((function p(h){r.current=h,window.clearTimeout(o.current),h!==""&&(o.current=window.setTimeout(()=>p(""),1e3))}),"updateSearch")(d)},[n]),u=x.useCallback(()=>{r.current="",window.clearTimeout(o.current)},[]);return x.useEffect(()=>()=>window.clearTimeout(o.current),[]),[r,l,u]}a(iC,"useTypeaheadSearch");function oC(e,n,r){const l=n.length>1&&Array.from(n).every(h=>h===n[0])?n[0]:n,u=r?e.indexOf(r):-1;let f=dz(e,Math.max(u,0));l.length===1&&(f=f.filter(h=>h!==r));const p=f.find(h=>h.textValue.toLowerCase().startsWith(l.toLowerCase()));return p!==r?p:void 0}a(oC,"findNextItem");function dz(e,n){return e.map((r,o)=>e[(n+o)%e.length])}a(dz,"wrapArray$1");var XU=NE,WU=DE,ZU=LE,JU=zE,eF=jE,tF=IE,nF=FE,rF=$E,iF=GE,oF=QE,aF=KE,lF=WE,sF=ZE,uF=JE,cF=tC,nm=["Enter"," "],pz=["ArrowDown","PageUp","Home"],aC=["ArrowUp","PageDown","End"],hz=[...pz,...aC],mz={ltr:[...nm,"ArrowRight"],rtl:[...nm,"ArrowLeft"]},yz={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Ss="Menu",[os,gz,vz]=Jc(Ss),[vo,lC]=Wt(Ss,[vz,Da,ef]),af=Da(),sC=ef(),[bz,bo]=vo(Ss),[Sz,xs]=vo(Ss),uC=a(e=>{const{__scopeMenu:n,open:r=!1,children:o,dir:l,onOpenChange:u,modal:f=!0}=e,d=af(n),[p,h]=x.useState(null),m=x.useRef(!1),g=xt(u),b=vs(l);return x.useEffect(()=>{const S=a(()=>{m.current=!0,document.addEventListener("pointerdown",E,{capture:!0,once:!0}),document.addEventListener("pointermove",E,{capture:!0,once:!0})},"handleKeyDown"),E=a(()=>m.current=!1,"handlePointer");return document.addEventListener("keydown",S,{capture:!0}),()=>{document.removeEventListener("keydown",S,{capture:!0}),document.removeEventListener("pointerdown",E,{capture:!0}),document.removeEventListener("pointermove",E,{capture:!0})}},[]),N.jsx(Im,{...d,children:N.jsx(bz,{scope:n,open:r,onOpenChange:g,content:p,onContentChange:h,children:N.jsx(Sz,{scope:n,onClose:x.useCallback(()=>g(!1),[g]),isUsingKeyboardRef:m,dir:b,modal:f,children:o})})})},"Menu");uC.displayName=Ss;var xz="MenuAnchor",iy=x.forwardRef((e,n)=>{const{__scopeMenu:r,...o}=e,l=af(r);return N.jsx(Bm,{...l,...o,ref:n})});iy.displayName=xz;var oy="MenuPortal",[wz,cC]=vo(oy,{forceMount:void 0}),fC=a(e=>{const{__scopeMenu:n,forceMount:r,children:o,container:l}=e,u=bo(oy,n);return N.jsx(wz,{scope:n,forceMount:r,children:N.jsx(Ht,{present:r||u.open,children:N.jsx(Ma,{asChild:!0,container:l,children:o})})})},"MenuPortal");fC.displayName=oy;var Hn="MenuContent",[Ez,ay]=vo(Hn),dC=x.forwardRef((e,n)=>{const r=cC(Hn,e.__scopeMenu),{forceMount:o=r.forceMount,...l}=e,u=bo(Hn,e.__scopeMenu),f=xs(Hn,e.__scopeMenu);return N.jsx(os.Provider,{scope:e.__scopeMenu,children:N.jsx(Ht,{present:o||u.open,children:N.jsx(os.Slot,{scope:e.__scopeMenu,children:f.modal?N.jsx(Cz,{...l,ref:n}):N.jsx(Tz,{...l,ref:n})})})})}),Cz=x.forwardRef((e,n)=>{const r=bo(Hn,e.__scopeMenu),o=x.useRef(null),l=ze(n,o);return x.useEffect(()=>{const u=o.current;if(u)return Rm(u)},[]),N.jsx(ly,{...e,ref:l,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:ye(e.onFocusOutside,u=>u.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:a(()=>r.onOpenChange(!1),"onDismiss")})}),Tz=x.forwardRef((e,n)=>{const r=bo(Hn,e.__scopeMenu);return N.jsx(ly,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:a(()=>r.onOpenChange(!1),"onDismiss")})}),Rz=lo("MenuContent.ScrollLock"),ly=x.forwardRef((e,n)=>{const{__scopeMenu:r,loop:o=!1,trapFocus:l,onOpenAutoFocus:u,onCloseAutoFocus:f,disableOutsidePointerEvents:d,onEntryFocus:p,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:g,onInteractOutside:b,onDismiss:S,disableOutsideScroll:E,...w}=e,R=bo(Hn,r),T=xs(Hn,r),O=af(r),M=sC(r),L=gz(r),[B,D]=x.useState(null),P=x.useRef(null),Y=ze(n,P,R.onContentChange),K=x.useRef(0),te=x.useRef(""),Z=x.useRef(0),ee=x.useRef(null),fe=x.useRef("right"),F=x.useRef(0),oe=E?Fc:x.Fragment,I=E?{as:Rz,allowPinchZoom:!0}:void 0,W=a(se=>{const k=te.current+se,z=L().filter(V=>!V.disabled),Q=document.activeElement,A=z.find(V=>V.ref.current===Q)?.textValue,J=z.map(V=>V.textValue),de=Iz(J,k,A),ce=z.find(V=>V.textValue===de)?.ref.current;a((function V(pe){te.current=pe,window.clearTimeout(K.current),pe!==""&&(K.current=window.setTimeout(()=>V(""),1e3))}),"updateSearch")(k),ce&&setTimeout(()=>ce.focus())},"handleTypeaheadSearch");x.useEffect(()=>()=>window.clearTimeout(K.current),[]),Tm();const ie=x.useCallback(se=>fe.current===ee.current?.side&&Hz(se,ee.current?.area),[]);return N.jsx(Ez,{scope:r,searchRef:te,onItemEnter:x.useCallback(se=>{ie(se)&&se.preventDefault()},[ie]),onItemLeave:x.useCallback(se=>{ie(se)||(P.current?.focus(),D(null))},[ie]),onTriggerLeave:x.useCallback(se=>{ie(se)&&se.preventDefault()},[ie]),pointerGraceTimerRef:Z,onPointerGraceIntentChange:x.useCallback(se=>{ee.current=se},[]),children:N.jsx(oe,{...I,children:N.jsx(Hc,{asChild:!0,trapped:l,onMountAutoFocus:ye(u,se=>{se.preventDefault(),P.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:f,children:N.jsx(_a,{asChild:!0,disableOutsidePointerEvents:d,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:g,onInteractOutside:b,onDismiss:S,children:N.jsx(vE,{asChild:!0,...M,dir:T.dir,orientation:"vertical",loop:o,currentTabStopId:B,onCurrentTabStopIdChange:D,onEntryFocus:ye(p,se=>{T.isUsingKeyboardRef.current||se.preventDefault()}),preventScrollOnEntryFocus:!0,children:N.jsx(Hm,{role:"menu","aria-orientation":"vertical","data-state":AC(R.open),"data-radix-menu-content":"",dir:T.dir,...O,...w,ref:Y,style:{outline:"none",...w.style},onKeyDown:ye(w.onKeyDown,se=>{const z=se.target.closest("[data-radix-menu-content]")===se.currentTarget,Q=se.ctrlKey||se.altKey||se.metaKey,A=se.key.length===1;z&&(se.key==="Tab"&&se.preventDefault(),!Q&&A&&W(se.key));const J=P.current;if(se.target!==J||!hz.includes(se.key))return;se.preventDefault();const ce=L().filter(V=>!V.disabled).map(V=>V.ref.current);aC.includes(se.key)&&ce.reverse(),zz(ce)}),onBlur:ye(e.onBlur,se=>{se.currentTarget.contains(se.target)||(window.clearTimeout(K.current),te.current="")}),onPointerMove:ye(e.onPointerMove,as(se=>{const k=se.target,z=F.current!==se.clientX;if(se.currentTarget.contains(k)&&z){const Q=se.clientX>F.current?"right":"left";fe.current=Q,F.current=se.clientX}}))})})})})})})});dC.displayName=Hn;var Oz="MenuGroup",sy=x.forwardRef((e,n)=>{const{__scopeMenu:r,...o}=e;return N.jsx(Te.div,{role:"group",...o,ref:n})});sy.displayName=Oz;var Az="MenuLabel",pC=x.forwardRef((e,n)=>{const{__scopeMenu:r,...o}=e;return N.jsx(Te.div,{...o,ref:n})});pC.displayName=Az;var Rc="MenuItem",B1="menu.itemSelect",lf=x.forwardRef((e,n)=>{const{disabled:r=!1,onSelect:o,...l}=e,u=x.useRef(null),f=xs(Rc,e.__scopeMenu),d=ay(Rc,e.__scopeMenu),p=ze(n,u),h=x.useRef(!1),m=a(()=>{const g=u.current;if(!r&&g){const b=new CustomEvent(B1,{bubbles:!0,cancelable:!0});g.addEventListener(B1,S=>o?.(S),{once:!0}),Cm(g,b),b.defaultPrevented?h.current=!1:f.onClose()}},"handleSelect");return N.jsx(hC,{...l,ref:p,disabled:r,onClick:ye(e.onClick,m),onPointerDown:a(g=>{e.onPointerDown?.(g),h.current=!0},"onPointerDown"),onPointerUp:ye(e.onPointerUp,g=>{h.current||g.currentTarget?.click()}),onKeyDown:ye(e.onKeyDown,g=>{const b=d.searchRef.current!=="";r||b&&g.key===" "||nm.includes(g.key)&&(g.currentTarget.click(),g.preventDefault())})})});lf.displayName=Rc;var hC=x.forwardRef((e,n)=>{const{__scopeMenu:r,disabled:o=!1,textValue:l,...u}=e,f=ay(Rc,r),d=sC(r),p=x.useRef(null),h=ze(n,p),[m,g]=x.useState(!1),[b,S]=x.useState("");return x.useEffect(()=>{const E=p.current;E&&S((E.textContent??"").trim())},[u.children]),N.jsx(os.ItemSlot,{scope:r,disabled:o,textValue:l??b,children:N.jsx(bE,{asChild:!0,...d,focusable:!o,children:N.jsx(Te.div,{role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...u,ref:h,onPointerMove:ye(e.onPointerMove,as(E=>{o?f.onItemLeave(E):(f.onItemEnter(E),E.defaultPrevented||E.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:ye(e.onPointerLeave,as(E=>f.onItemLeave(E))),onFocus:ye(e.onFocus,()=>g(!0)),onBlur:ye(e.onBlur,()=>g(!1))})})})}),_z="MenuCheckboxItem",mC=x.forwardRef((e,n)=>{const{checked:r=!1,onCheckedChange:o,...l}=e;return N.jsx(SC,{scope:e.__scopeMenu,checked:r,children:N.jsx(lf,{role:"menuitemcheckbox","aria-checked":Oc(r)?"mixed":r,...l,ref:n,"data-state":cy(r),onSelect:ye(l.onSelect,()=>o?.(Oc(r)?!0:!r),{checkForDefaultPrevented:!1})})})});mC.displayName=_z;var yC="MenuRadioGroup",[Mz,Nz]=vo(yC,{value:void 0,onValueChange:a(()=>{},"onValueChange")}),gC=x.forwardRef((e,n)=>{const{value:r,onValueChange:o,...l}=e,u=xt(o);return N.jsx(Mz,{scope:e.__scopeMenu,value:r,onValueChange:u,children:N.jsx(sy,{...l,ref:n})})});gC.displayName=yC;var vC="MenuRadioItem",bC=x.forwardRef((e,n)=>{const{value:r,...o}=e,l=Nz(vC,e.__scopeMenu),u=r===l.value;return N.jsx(SC,{scope:e.__scopeMenu,checked:u,children:N.jsx(lf,{role:"menuitemradio","aria-checked":u,...o,ref:n,"data-state":cy(u),onSelect:ye(o.onSelect,()=>l.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});bC.displayName=vC;var uy="MenuItemIndicator",[SC,kz]=vo(uy,{checked:!1}),xC=x.forwardRef((e,n)=>{const{__scopeMenu:r,forceMount:o,...l}=e,u=kz(uy,r);return N.jsx(Ht,{present:o||Oc(u.checked)||u.checked===!0,children:N.jsx(Te.span,{...l,ref:n,"data-state":cy(u.checked)})})});xC.displayName=uy;var Dz="MenuSeparator",wC=x.forwardRef((e,n)=>{const{__scopeMenu:r,...o}=e;return N.jsx(Te.div,{role:"separator","aria-orientation":"horizontal",...o,ref:n})});wC.displayName=Dz;var Pz="MenuArrow",EC=x.forwardRef((e,n)=>{const{__scopeMenu:r,...o}=e,l=af(r);return N.jsx(Um,{...l,...o,ref:n})});EC.displayName=Pz;var Lz="MenuSub",[fF,CC]=vo(Lz),Yl="MenuSubTrigger",TC=x.forwardRef((e,n)=>{const r=bo(Yl,e.__scopeMenu),o=xs(Yl,e.__scopeMenu),l=CC(Yl,e.__scopeMenu),u=ay(Yl,e.__scopeMenu),f=x.useRef(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:p}=u,h={__scopeMenu:e.__scopeMenu},m=x.useCallback(()=>{f.current&&window.clearTimeout(f.current),f.current=null},[]);return x.useEffect(()=>m,[m]),x.useEffect(()=>{const g=d.current;return()=>{window.clearTimeout(g),p(null)}},[d,p]),N.jsx(iy,{asChild:!0,...h,children:N.jsx(hC,{id:l.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":l.contentId,"data-state":AC(r.open),...e,ref:Bc(n,l.onTriggerChange),onClick:a(g=>{e.onClick?.(g),!(e.disabled||g.defaultPrevented)&&(g.currentTarget.focus(),r.open||r.onOpenChange(!0))},"onClick"),onPointerMove:ye(e.onPointerMove,as(g=>{u.onItemEnter(g),!g.defaultPrevented&&!e.disabled&&!r.open&&!f.current&&(u.onPointerGraceIntentChange(null),f.current=window.setTimeout(()=>{r.onOpenChange(!0),m()},100))})),onPointerLeave:ye(e.onPointerLeave,as(g=>{m();const b=r.content?.getBoundingClientRect();if(b){const S=r.content?.dataset.side,E=S==="right",w=E?-5:5,R=b[E?"left":"right"],T=b[E?"right":"left"];u.onPointerGraceIntentChange({area:[{x:g.clientX+w,y:g.clientY},{x:R,y:b.top},{x:T,y:b.top},{x:T,y:b.bottom},{x:R,y:b.bottom}],side:S}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>u.onPointerGraceIntentChange(null),300)}else{if(u.onTriggerLeave(g),g.defaultPrevented)return;u.onPointerGraceIntentChange(null)}})),onKeyDown:ye(e.onKeyDown,g=>{const b=u.searchRef.current!=="";e.disabled||b&&g.key===" "||mz[o.dir].includes(g.key)&&(r.onOpenChange(!0),r.content?.focus(),g.preventDefault())})})})});TC.displayName=Yl;var RC="MenuSubContent",OC=x.forwardRef((e,n)=>{const r=cC(Hn,e.__scopeMenu),{forceMount:o=r.forceMount,...l}=e,u=bo(Hn,e.__scopeMenu),f=xs(Hn,e.__scopeMenu),d=CC(RC,e.__scopeMenu),p=x.useRef(null),h=ze(n,p);return N.jsx(os.Provider,{scope:e.__scopeMenu,children:N.jsx(Ht,{present:o||u.open,children:N.jsx(os.Slot,{scope:e.__scopeMenu,children:N.jsx(ly,{id:d.contentId,"aria-labelledby":d.triggerId,...l,ref:h,align:"start",side:f.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:a(m=>{f.isUsingKeyboardRef.current&&p.current?.focus(),m.preventDefault()},"onOpenAutoFocus"),onCloseAutoFocus:a(m=>m.preventDefault(),"onCloseAutoFocus"),onFocusOutside:ye(e.onFocusOutside,m=>{m.target!==d.trigger&&u.onOpenChange(!1)}),onEscapeKeyDown:ye(e.onEscapeKeyDown,m=>{f.onClose(),m.preventDefault()}),onKeyDown:ye(e.onKeyDown,m=>{const g=m.currentTarget.contains(m.target),b=yz[f.dir].includes(m.key);g&&b&&(u.onOpenChange(!1),d.trigger?.focus(),m.preventDefault())})})})})})});OC.displayName=RC;function AC(e){return e?"open":"closed"}a(AC,"getOpenState");function Oc(e){return e==="indeterminate"}a(Oc,"isIndeterminate");function cy(e){return Oc(e)?"indeterminate":e?"checked":"unchecked"}a(cy,"getCheckedState");function zz(e){const n=document.activeElement;for(const r of e)if(r===n||(r.focus(),document.activeElement!==n))return}a(zz,"focusFirst$1");function jz(e,n){return e.map((r,o)=>e[(n+o)%e.length])}a(jz,"wrapArray");function Iz(e,n,r){const l=n.length>1&&Array.from(n).every(h=>h===n[0])?n[0]:n,u=r?e.indexOf(r):-1;let f=jz(e,Math.max(u,0));l.length===1&&(f=f.filter(h=>h!==r));const p=f.find(h=>h.toLowerCase().startsWith(l.toLowerCase()));return p!==r?p:void 0}a(Iz,"getNextMatch");function Bz(e,n){const{x:r,y:o}=e;let l=!1;for(let u=0,f=n.length-1;u<n.length;f=u++){const d=n[u],p=n[f],h=d.x,m=d.y,g=p.x,b=p.y;m>o!=b>o&&r<(g-h)*(o-m)/(b-m)+h&&(l=!l)}return l}a(Bz,"isPointInPolygon");function Hz(e,n){if(!n)return!1;const r={x:e.clientX,y:e.clientY};return Bz(r,n)}a(Hz,"isPointerInGraceArea");function as(e){return n=>n.pointerType==="mouse"?e(n):void 0}a(as,"whenMouse");var Uz=uC,Fz=iy,qz=fC,$z=dC,Vz=sy,Gz=pC,Yz=lf,Qz=mC,Kz=gC,Xz=bC,Wz=xC,Zz=wC,Jz=EC,e4=TC,t4=OC,sf="DropdownMenu",[n4]=Wt(sf,[lC]),Zt=lC(),[r4,_C]=n4(sf),MC=a(e=>{const{__scopeDropdownMenu:n,children:r,dir:o,open:l,defaultOpen:u,onOpenChange:f,modal:d=!0}=e,p=Zt(n),h=x.useRef(null),[m,g]=vr({prop:l,defaultProp:u??!1,onChange:f,caller:sf});return N.jsx(r4,{scope:n,triggerId:Bn(),triggerRef:h,contentId:Bn(),open:m,onOpenChange:g,onOpenToggle:x.useCallback(()=>g(b=>!b),[g]),modal:d,children:N.jsx(Uz,{...p,open:m,onOpenChange:g,dir:o,modal:d,children:r})})},"DropdownMenu");MC.displayName=sf;var NC="DropdownMenuTrigger",kC=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,disabled:o=!1,...l}=e,u=_C(NC,r),f=Zt(r);return N.jsx(Fz,{asChild:!0,...f,children:N.jsx(Te.button,{type:"button",id:u.triggerId,"aria-haspopup":"menu","aria-expanded":u.open,"aria-controls":u.open?u.contentId:void 0,"data-state":u.open?"open":"closed","data-disabled":o?"":void 0,disabled:o,...l,ref:Bc(n,u.triggerRef),onPointerDown:ye(e.onPointerDown,d=>{!o&&d.button===0&&d.ctrlKey===!1&&(u.onOpenToggle(),u.open||d.preventDefault())}),onKeyDown:ye(e.onKeyDown,d=>{o||(["Enter"," "].includes(d.key)&&u.onOpenToggle(),d.key==="ArrowDown"&&u.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(d.key)&&d.preventDefault())})})})});kC.displayName=NC;var i4="DropdownMenuPortal",DC=a(e=>{const{__scopeDropdownMenu:n,...r}=e,o=Zt(n);return N.jsx(qz,{...o,...r})},"DropdownMenuPortal");DC.displayName=i4;var PC="DropdownMenuContent",LC=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...o}=e,l=_C(PC,r),u=Zt(r),f=x.useRef(!1);return N.jsx($z,{id:l.contentId,"aria-labelledby":l.triggerId,...u,...o,ref:n,onCloseAutoFocus:ye(e.onCloseAutoFocus,d=>{f.current||l.triggerRef.current?.focus(),f.current=!1,d.preventDefault()}),onInteractOutside:ye(e.onInteractOutside,d=>{const p=d.detail.originalEvent,h=p.button===0&&p.ctrlKey===!0,m=p.button===2||h;(!l.modal||m)&&(f.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});LC.displayName=PC;var o4="DropdownMenuGroup",a4=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...o}=e,l=Zt(r);return N.jsx(Vz,{...l,...o,ref:n})});a4.displayName=o4;var l4="DropdownMenuLabel",zC=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...o}=e,l=Zt(r);return N.jsx(Gz,{...l,...o,ref:n})});zC.displayName=l4;var s4="DropdownMenuItem",jC=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...o}=e,l=Zt(r);return N.jsx(Yz,{...l,...o,ref:n})});jC.displayName=s4;var u4="DropdownMenuCheckboxItem",c4=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...o}=e,l=Zt(r);return N.jsx(Qz,{...l,...o,ref:n})});c4.displayName=u4;var f4="DropdownMenuRadioGroup",d4=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...o}=e,l=Zt(r);return N.jsx(Kz,{...l,...o,ref:n})});d4.displayName=f4;var p4="DropdownMenuRadioItem",h4=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...o}=e,l=Zt(r);return N.jsx(Xz,{...l,...o,ref:n})});h4.displayName=p4;var m4="DropdownMenuItemIndicator",y4=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...o}=e,l=Zt(r);return N.jsx(Wz,{...l,...o,ref:n})});y4.displayName=m4;var g4="DropdownMenuSeparator",IC=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...o}=e,l=Zt(r);return N.jsx(Zz,{...l,...o,ref:n})});IC.displayName=g4;var v4="DropdownMenuArrow",b4=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...o}=e,l=Zt(r);return N.jsx(Jz,{...l,...o,ref:n})});b4.displayName=v4;var S4="DropdownMenuSubTrigger",x4=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...o}=e,l=Zt(r);return N.jsx(e4,{...l,...o,ref:n})});x4.displayName=S4;var w4="DropdownMenuSubContent",E4=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...o}=e,l=Zt(r);return N.jsx(t4,{...l,...o,ref:n,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});E4.displayName=w4;var dF=MC,pF=kC,hF=DC,mF=LC,yF=zC,gF=jC,vF=IC,BC="AlertDialog",[C4]=Wt(BC,[zx]),Jr=zx(),HC=a(e=>{const{__scopeAlertDialog:n,...r}=e,o=Jr(n);return N.jsx(gN,{...o,...r,modal:!0})},"AlertDialog");HC.displayName=BC;var T4="AlertDialogTrigger",R4=x.forwardRef((e,n)=>{const{__scopeAlertDialog:r,...o}=e,l=Jr(r);return N.jsx(vN,{...l,...o,ref:n})});R4.displayName=T4;var O4="AlertDialogPortal",UC=a(e=>{const{__scopeAlertDialog:n,...r}=e,o=Jr(n);return N.jsx(bN,{...o,...r})},"AlertDialogPortal");UC.displayName=O4;var A4="AlertDialogOverlay",FC=x.forwardRef((e,n)=>{const{__scopeAlertDialog:r,...o}=e,l=Jr(r);return N.jsx(SN,{...l,...o,ref:n})});FC.displayName=A4;var va="AlertDialogContent",[_4,M4]=C4(va),N4=xx("AlertDialogContent"),qC=x.forwardRef((e,n)=>{const{__scopeAlertDialog:r,children:o,...l}=e,u=Jr(r),f=x.useRef(null),d=ze(n,f),p=x.useRef(null);return N.jsx(pN,{contentName:va,titleName:$C,docsSlug:"alert-dialog",children:N.jsx(_4,{scope:r,cancelRef:p,children:N.jsxs(xN,{role:"alertdialog",...u,...l,ref:d,onOpenAutoFocus:ye(l.onOpenAutoFocus,h=>{h.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:a(h=>h.preventDefault(),"onPointerDownOutside"),onInteractOutside:a(h=>h.preventDefault(),"onInteractOutside"),children:[N.jsx(N4,{children:o}),N.jsx(D4,{contentRef:f})]})})})});qC.displayName=va;var $C="AlertDialogTitle",VC=x.forwardRef((e,n)=>{const{__scopeAlertDialog:r,...o}=e,l=Jr(r);return N.jsx(wN,{...l,...o,ref:n})});VC.displayName=$C;var GC="AlertDialogDescription",YC=x.forwardRef((e,n)=>{const{__scopeAlertDialog:r,...o}=e,l=Jr(r);return N.jsx(EN,{...l,...o,ref:n})});YC.displayName=GC;var k4="AlertDialogAction",QC=x.forwardRef((e,n)=>{const{__scopeAlertDialog:r,...o}=e,l=Jr(r);return N.jsx(Zx,{...l,...o,ref:n})});QC.displayName=k4;var KC="AlertDialogCancel",XC=x.forwardRef((e,n)=>{const{__scopeAlertDialog:r,...o}=e,{cancelRef:l}=M4(KC,r),u=Jr(r),f=ze(n,l);return N.jsx(Zx,{...u,...o,ref:f})});XC.displayName=KC;var D4=a(({contentRef:e})=>{const n=`\`${va}\` requires a description for the component to be accessible for screen reader users.
|
|
535
|
+
|
|
536
|
+
You can add a description to the \`${va}\` by passing a \`${GC}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
537
|
+
|
|
538
|
+
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${va}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|
539
|
+
|
|
540
|
+
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return x.useEffect(()=>{document.getElementById(e.current?.getAttribute("aria-describedby"))||console.warn(n)},[n,e]),null},"DescriptionWarning"),bF=HC,SF=UC,xF=FC,wF=qC,EF=QC,CF=XC,TF=VC,RF=YC;function P4(e,n){return x.useReducer((r,o)=>n[r][o]??r,e)}a(P4,"useStateMachine");var fy="ScrollArea",[WC]=Wt(fy),[L4,Un]=WC(fy),ZC=x.forwardRef((e,n)=>{const{__scopeScrollArea:r,type:o="hover",dir:l,scrollHideDelay:u=600,...f}=e,[d,p]=x.useState(null),[h,m]=x.useState(null),[g,b]=x.useState(null),[S,E]=x.useState(null),[w,R]=x.useState(null),[T,O]=x.useState(0),[M,L]=x.useState(0),[B,D]=x.useState(!1),[P,Y]=x.useState(!1),K=ze(n,Z=>p(Z)),te=vs(l);return N.jsx(L4,{scope:r,type:o,dir:te,scrollHideDelay:u,scrollArea:d,viewport:h,onViewportChange:m,content:g,onContentChange:b,scrollbarX:S,onScrollbarXChange:E,scrollbarXEnabled:B,onScrollbarXEnabledChange:D,scrollbarY:w,onScrollbarYChange:R,scrollbarYEnabled:P,onScrollbarYEnabledChange:Y,onCornerWidthChange:O,onCornerHeightChange:L,children:N.jsx(Te.div,{dir:te,...f,ref:K,style:{position:"relative","--radix-scroll-area-corner-width":T+"px","--radix-scroll-area-corner-height":M+"px",...e.style}})})});ZC.displayName=fy;var JC="ScrollAreaViewport",eT=x.forwardRef((e,n)=>{const{__scopeScrollArea:r,children:o,nonce:l,...u}=e,f=Un(JC,r),d=x.useRef(null),p=ze(n,d,f.onViewportChange);return N.jsxs(N.Fragment,{children:[N.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:l}),N.jsx(Te.div,{"data-radix-scroll-area-viewport":"",...u,ref:p,style:{overflowX:f.scrollbarXEnabled?"scroll":"hidden",overflowY:f.scrollbarYEnabled?"scroll":"hidden",...e.style},children:N.jsx("div",{ref:f.onContentChange,style:{minWidth:"100%",display:"table"},children:o})})]})});eT.displayName=JC;var Tr="ScrollAreaScrollbar",z4=x.forwardRef((e,n)=>{const{forceMount:r,...o}=e,l=Un(Tr,e.__scopeScrollArea),{onScrollbarXEnabledChange:u,onScrollbarYEnabledChange:f}=l,d=e.orientation==="horizontal";return x.useEffect(()=>(d?u(!0):f(!0),()=>{d?u(!1):f(!1)}),[d,u,f]),l.type==="hover"?N.jsx(j4,{...o,ref:n,forceMount:r}):l.type==="scroll"?N.jsx(I4,{...o,ref:n,forceMount:r}):l.type==="auto"?N.jsx(tT,{...o,ref:n,forceMount:r}):l.type==="always"?N.jsx(dy,{...o,ref:n}):null});z4.displayName=Tr;var j4=x.forwardRef((e,n)=>{const{forceMount:r,...o}=e,l=Un(Tr,e.__scopeScrollArea),[u,f]=x.useState(!1);return x.useEffect(()=>{const d=l.scrollArea;let p=0;if(d){const h=a(()=>{window.clearTimeout(p),f(!0)},"handlePointerEnter"),m=a(()=>{p=window.setTimeout(()=>f(!1),l.scrollHideDelay)},"handlePointerLeave");return d.addEventListener("pointerenter",h),d.addEventListener("pointerleave",m),()=>{window.clearTimeout(p),d.removeEventListener("pointerenter",h),d.removeEventListener("pointerleave",m)}}},[l.scrollArea,l.scrollHideDelay]),N.jsx(Ht,{present:r||u,children:N.jsx(tT,{"data-state":u?"visible":"hidden",...o,ref:n})})}),I4=x.forwardRef((e,n)=>{const{forceMount:r,...o}=e,l=Un(Tr,e.__scopeScrollArea),u=e.orientation==="horizontal",f=cf(()=>p("SCROLL_END"),100),[d,p]=P4("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return x.useEffect(()=>{if(d==="idle"){const h=window.setTimeout(()=>p("HIDE"),l.scrollHideDelay);return()=>window.clearTimeout(h)}},[d,l.scrollHideDelay,p]),x.useEffect(()=>{const h=l.viewport,m=u?"scrollLeft":"scrollTop";if(h){let g=h[m];const b=a(()=>{const S=h[m];g!==S&&(p("SCROLL"),f()),g=S},"handleScroll");return h.addEventListener("scroll",b),()=>h.removeEventListener("scroll",b)}},[l.viewport,u,p,f]),N.jsx(Ht,{present:r||d!=="hidden",children:N.jsx(dy,{"data-state":d==="hidden"?"hidden":"visible",...o,ref:n,onPointerEnter:ye(e.onPointerEnter,()=>p("POINTER_ENTER")),onPointerLeave:ye(e.onPointerLeave,()=>p("POINTER_LEAVE"))})})}),tT=x.forwardRef((e,n)=>{const r=Un(Tr,e.__scopeScrollArea),{forceMount:o,...l}=e,[u,f]=x.useState(!1),d=e.orientation==="horizontal",p=cf(()=>{if(r.viewport){const h=r.viewport.offsetWidth<r.viewport.scrollWidth,m=r.viewport.offsetHeight<r.viewport.scrollHeight;f(d?h:m)}},10);return Ca(r.viewport,p),Ca(r.content,p),N.jsx(Ht,{present:o||u,children:N.jsx(dy,{"data-state":u?"visible":"hidden",...l,ref:n})})}),dy=x.forwardRef((e,n)=>{const{orientation:r="vertical",...o}=e,l=Un(Tr,e.__scopeScrollArea),u=x.useRef(null),f=x.useRef(0),[d,p]=x.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),h=oT(d.viewport,d.content),m={...o,sizes:d,onSizesChange:p,hasThumb:h>0&&h<1,onThumbChange:a(b=>u.current=b,"onThumbChange"),onThumbPointerUp:a(()=>f.current=0,"onThumbPointerUp"),onThumbPointerDown:a(b=>f.current=b,"onThumbPointerDown")};function g(b,S){return V4(b,f.current,d,S)}return a(g,"getScrollPosition"),r==="horizontal"?N.jsx(B4,{...m,ref:n,onThumbPositionChange:a(()=>{if(l.viewport&&u.current){const b=l.viewport.scrollLeft,S=H1(b,d,l.dir);u.current.style.transform=`translate3d(${S}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:a(b=>{l.viewport&&(l.viewport.scrollLeft=b)},"onWheelScroll"),onDragScroll:a(b=>{l.viewport&&(l.viewport.scrollLeft=g(b,l.dir))},"onDragScroll")}):r==="vertical"?N.jsx(H4,{...m,ref:n,onThumbPositionChange:a(()=>{if(l.viewport&&u.current){const b=l.viewport.scrollTop,S=H1(b,d);u.current.style.transform=`translate3d(0, ${S}px, 0)`}},"onThumbPositionChange"),onWheelScroll:a(b=>{l.viewport&&(l.viewport.scrollTop=b)},"onWheelScroll"),onDragScroll:a(b=>{l.viewport&&(l.viewport.scrollTop=g(b))},"onDragScroll")}):null}),B4=x.forwardRef((e,n)=>{const{sizes:r,onSizesChange:o,...l}=e,u=Un(Tr,e.__scopeScrollArea),[f,d]=x.useState(),p=x.useRef(null),h=ze(n,p,u.onScrollbarXChange);return x.useEffect(()=>{p.current&&d(getComputedStyle(p.current))},[p]),N.jsx(rT,{"data-orientation":"horizontal",...l,ref:h,sizes:r,style:{bottom:0,left:u.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:u.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":uf(r)+"px",...e.style},onThumbPointerDown:a(m=>e.onThumbPointerDown(m.x),"onThumbPointerDown"),onDragScroll:a(m=>e.onDragScroll(m.x),"onDragScroll"),onWheelScroll:a((m,g)=>{if(u.viewport){const b=u.viewport.scrollLeft+m.deltaX;e.onWheelScroll(b),lT(b,g)&&m.preventDefault()}},"onWheelScroll"),onResize:a(()=>{p.current&&u.viewport&&f&&o({content:u.viewport.scrollWidth,viewport:u.viewport.offsetWidth,scrollbar:{size:p.current.clientWidth,paddingStart:_c(f.paddingLeft),paddingEnd:_c(f.paddingRight)}})},"onResize")})}),H4=x.forwardRef((e,n)=>{const{sizes:r,onSizesChange:o,...l}=e,u=Un(Tr,e.__scopeScrollArea),[f,d]=x.useState(),p=x.useRef(null),h=ze(n,p,u.onScrollbarYChange);return x.useEffect(()=>{p.current&&d(getComputedStyle(p.current))},[p]),N.jsx(rT,{"data-orientation":"vertical",...l,ref:h,sizes:r,style:{top:0,right:u.dir==="ltr"?0:void 0,left:u.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":uf(r)+"px",...e.style},onThumbPointerDown:a(m=>e.onThumbPointerDown(m.y),"onThumbPointerDown"),onDragScroll:a(m=>e.onDragScroll(m.y),"onDragScroll"),onWheelScroll:a((m,g)=>{if(u.viewport){const b=u.viewport.scrollTop+m.deltaY;e.onWheelScroll(b),lT(b,g)&&m.preventDefault()}},"onWheelScroll"),onResize:a(()=>{p.current&&u.viewport&&f&&o({content:u.viewport.scrollHeight,viewport:u.viewport.offsetHeight,scrollbar:{size:p.current.clientHeight,paddingStart:_c(f.paddingTop),paddingEnd:_c(f.paddingBottom)}})},"onResize")})}),[U4,nT]=WC(Tr),rT=x.forwardRef((e,n)=>{const{__scopeScrollArea:r,sizes:o,hasThumb:l,onThumbChange:u,onThumbPointerUp:f,onThumbPointerDown:d,onThumbPositionChange:p,onDragScroll:h,onWheelScroll:m,onResize:g,...b}=e,S=Un(Tr,r),[E,w]=x.useState(null),R=ze(n,K=>w(K)),T=x.useRef(null),O=x.useRef(""),M=S.viewport,L=o.content-o.viewport,B=xt(m),D=xt(p),P=cf(g,10);function Y(K){if(T.current){const te=K.clientX-T.current.left,Z=K.clientY-T.current.top;h({x:te,y:Z})}}return a(Y,"handleDragScroll"),x.useEffect(()=>{const K=a(te=>{const Z=te.target;E?.contains(Z)&&B(te,L)},"handleWheel");return document.addEventListener("wheel",K,{passive:!1}),()=>document.removeEventListener("wheel",K,{passive:!1})},[M,E,L,B]),x.useEffect(D,[o,D]),Ca(E,P),Ca(S.content,P),N.jsx(U4,{scope:r,scrollbar:E,hasThumb:l,onThumbChange:xt(u),onThumbPointerUp:xt(f),onThumbPositionChange:D,onThumbPointerDown:xt(d),children:N.jsx(Te.div,{...b,ref:R,style:{position:"absolute",...b.style},onPointerDown:ye(e.onPointerDown,K=>{K.button===0&&(K.target.setPointerCapture(K.pointerId),T.current=E.getBoundingClientRect(),O.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",S.viewport&&(S.viewport.style.scrollBehavior="auto"),Y(K))}),onPointerMove:ye(e.onPointerMove,Y),onPointerUp:ye(e.onPointerUp,K=>{const te=K.target;te.hasPointerCapture(K.pointerId)&&te.releasePointerCapture(K.pointerId),document.body.style.webkitUserSelect=O.current,S.viewport&&(S.viewport.style.scrollBehavior=""),T.current=null})})})}),Ac="ScrollAreaThumb",F4=x.forwardRef((e,n)=>{const{forceMount:r,...o}=e,l=nT(Ac,e.__scopeScrollArea);return N.jsx(Ht,{present:r||l.hasThumb,children:N.jsx(q4,{ref:n,...o})})}),q4=x.forwardRef((e,n)=>{const{__scopeScrollArea:r,style:o,...l}=e,u=Un(Ac,r),f=nT(Ac,r),{onThumbPositionChange:d}=f,p=ze(n,g=>f.onThumbChange(g)),h=x.useRef(void 0),m=cf(()=>{h.current&&(h.current(),h.current=void 0)},100);return x.useEffect(()=>{const g=u.viewport;if(g){const b=a(()=>{if(m(),!h.current){const S=G4(g,d);h.current=S,d()}},"handleScroll");return d(),g.addEventListener("scroll",b),()=>g.removeEventListener("scroll",b)}},[u.viewport,m,d]),N.jsx(Te.div,{"data-state":f.hasThumb?"visible":"hidden",...l,ref:p,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...o},onPointerDownCapture:ye(e.onPointerDownCapture,g=>{const S=g.target.getBoundingClientRect(),E=g.clientX-S.left,w=g.clientY-S.top;f.onThumbPointerDown({x:E,y:w})}),onPointerUp:ye(e.onPointerUp,f.onThumbPointerUp)})});F4.displayName=Ac;var py="ScrollAreaCorner",iT=x.forwardRef((e,n)=>{const r=Un(py,e.__scopeScrollArea),o=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&o?N.jsx($4,{...e,ref:n}):null});iT.displayName=py;var $4=x.forwardRef((e,n)=>{const{__scopeScrollArea:r,...o}=e,l=Un(py,r),[u,f]=x.useState(0),[d,p]=x.useState(0),h=!!(u&&d);return Ca(l.scrollbarX,()=>{const m=l.scrollbarX?.offsetHeight||0;l.onCornerHeightChange(m),p(m)}),Ca(l.scrollbarY,()=>{const m=l.scrollbarY?.offsetWidth||0;l.onCornerWidthChange(m),f(m)}),h?N.jsx(Te.div,{...o,ref:n,style:{width:u,height:d,position:"absolute",right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function _c(e){return e?parseInt(e,10):0}a(_c,"toInt");function oT(e,n){const r=e/n;return isNaN(r)?0:r}a(oT,"getThumbRatio");function uf(e){const n=oT(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,o=(e.scrollbar.size-r)*n;return Math.max(o,18)}a(uf,"getThumbSize");function V4(e,n,r,o="ltr"){const l=uf(r),u=l/2,f=n||u,d=l-f,p=r.scrollbar.paddingStart+f,h=r.scrollbar.size-r.scrollbar.paddingEnd-d,m=r.content-r.viewport,g=o==="ltr"?[0,m]:[m*-1,0];return aT([p,h],g)(e)}a(V4,"getScrollPositionFromPointer");function H1(e,n,r="ltr"){const o=uf(n),l=n.scrollbar.paddingStart+n.scrollbar.paddingEnd,u=n.scrollbar.size-l,f=n.content-n.viewport,d=u-o,p=r==="ltr"?[0,f]:[f*-1,0],h=kh(e,p);return aT([0,f],[0,d])(h)}a(H1,"getThumbOffsetFromScroll");function aT(e,n){return r=>{if(e[0]===e[1]||n[0]===n[1])return n[0];const o=(n[1]-n[0])/(e[1]-e[0]);return n[0]+o*(r-e[0])}}a(aT,"linearScale");function lT(e,n){return e>0&&e<n}a(lT,"isScrollingWithinScrollbarBounds");var G4=a((e,n=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},o=0;return a((function l(){const u={left:e.scrollLeft,top:e.scrollTop},f=r.left!==u.left,d=r.top!==u.top;(f||d)&&n(),r=u,o=window.requestAnimationFrame(l)}),"loop")(),()=>window.cancelAnimationFrame(o)},"addUnlinkedScrollListener");function cf(e,n){const r=xt(e),o=x.useRef(0);return x.useEffect(()=>()=>window.clearTimeout(o.current),[]),x.useCallback(()=>{window.clearTimeout(o.current),o.current=window.setTimeout(r,n)},[r,n])}a(cf,"useDebounceCallback");function Ca(e,n){const r=xt(n);wt(()=>{let o=0;if(e){const l=new ResizeObserver(()=>{cancelAnimationFrame(o),o=window.requestAnimationFrame(r)});return l.observe(e),()=>{window.cancelAnimationFrame(o),l.unobserve(e)}}},[e,r])}a(Ca,"useResizeObserver");var OF=ZC,AF=eT,_F=iT,nh={exports:{}},rh={};/**
|
|
541
|
+
* @license React
|
|
542
|
+
* use-sync-external-store-shim.production.js
|
|
543
|
+
*
|
|
544
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
545
|
+
*
|
|
546
|
+
* This source code is licensed under the MIT license found in the
|
|
547
|
+
* LICENSE file in the root directory of this source tree.
|
|
548
|
+
*/var U1;function Y4(){if(U1)return rh;U1=1;var e=ds();function n(g,b){return g===b&&(g!==0||1/g===1/b)||g!==g&&b!==b}a(n,"is");var r=typeof Object.is=="function"?Object.is:n,o=e.useState,l=e.useEffect,u=e.useLayoutEffect,f=e.useDebugValue;function d(g,b){var S=b(),E=o({inst:{value:S,getSnapshot:b}}),w=E[0].inst,R=E[1];return u(function(){w.value=S,w.getSnapshot=b,p(w)&&R({inst:w})},[g,S,b]),l(function(){return p(w)&&R({inst:w}),g(function(){p(w)&&R({inst:w})})},[g]),f(S),S}a(d,"useSyncExternalStore$2");function p(g){var b=g.getSnapshot;g=g.value;try{var S=b();return!r(g,S)}catch{return!0}}a(p,"checkIfSnapshotChanged");function h(g,b){return b()}a(h,"useSyncExternalStore$1");var m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:d;return rh.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:m,rh}a(Y4,"requireUseSyncExternalStoreShim_production");var F1;function Q4(){return F1||(F1=1,nh.exports=Y4()),nh.exports}a(Q4,"requireShim");var K4=Q4();function X4(){return K4.useSyncExternalStore(W4,()=>!0,()=>!1)}a(X4,"useIsHydrated");function W4(){return()=>{}}a(W4,"subscribe");var hy="Avatar",[Z4]=Wt(hy),[J4,sT]=Z4(hy),uT=x.forwardRef((e,n)=>{const{__scopeAvatar:r,...o}=e,[l,u]=x.useState("idle");return N.jsx(J4,{scope:r,imageLoadingStatus:l,onImageLoadingStatusChange:u,children:N.jsx(Te.span,{...o,ref:n})})});uT.displayName=hy;var cT="AvatarImage",fT=x.forwardRef((e,n)=>{const{__scopeAvatar:r,src:o,onLoadingStatusChange:l=a(()=>{},"onLoadingStatusChange"),...u}=e,f=sT(cT,r),d=e5(o,u),p=xt(h=>{l(h),f.onImageLoadingStatusChange(h)});return wt(()=>{d!=="idle"&&p(d)},[d,p]),d==="loaded"?N.jsx(Te.img,{...u,ref:n,src:o}):null});fT.displayName=cT;var dT="AvatarFallback",pT=x.forwardRef((e,n)=>{const{__scopeAvatar:r,delayMs:o,...l}=e,u=sT(dT,r),[f,d]=x.useState(o===void 0);return x.useEffect(()=>{if(o!==void 0){const p=window.setTimeout(()=>d(!0),o);return()=>window.clearTimeout(p)}},[o]),f&&u.imageLoadingStatus!=="loaded"?N.jsx(Te.span,{...l,ref:n}):null});pT.displayName=dT;function q1(e,n){return e?n?(e.src!==n&&(e.src=n),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}a(q1,"resolveLoadingStatus");function e5(e,{referrerPolicy:n,crossOrigin:r}){const o=X4(),l=x.useRef(null),u=o?(l.current||(l.current=new window.Image),l.current):null,[f,d]=x.useState(()=>q1(u,e));return wt(()=>{d(q1(u,e))},[u,e]),wt(()=>{const p=a(g=>()=>{d(g)},"updateStatus");if(!u)return;const h=p("loaded"),m=p("error");return u.addEventListener("load",h),u.addEventListener("error",m),n&&(u.referrerPolicy=n),typeof r=="string"&&(u.crossOrigin=r),()=>{u.removeEventListener("load",h),u.removeEventListener("error",m)}},[u,r,n]),f}a(e5,"useImageLoadingStatus");var MF=uT,NF=fT,kF=pT;function hT(e){return n=>typeof n===e}a(hT,"isOfType$3");var t5=hT("function"),n5=a(e=>e===null,"isNull$1"),$1=a(e=>Object.prototype.toString.call(e).slice(8,-1)==="RegExp","isRegex$1"),V1=a(e=>!r5(e)&&!n5(e)&&(t5(e)||typeof e=="object"),"isObject$1"),r5=hT("undefined");function i5(e,n){const{length:r}=e;if(r!==n.length)return!1;for(let o=r;o--!==0;)if(!Xt(e[o],n[o]))return!1;return!0}a(i5,"equalArray$1");function o5(e,n){if(e.byteLength!==n.byteLength)return!1;const r=new DataView(e.buffer),o=new DataView(n.buffer);let l=e.byteLength;for(;l--;)if(r.getUint8(l)!==o.getUint8(l))return!1;return!0}a(o5,"equalArrayBuffer$1");function a5(e,n){if(e.size!==n.size)return!1;for(const r of e.entries())if(!n.has(r[0]))return!1;for(const r of e.entries())if(!Xt(r[1],n.get(r[0])))return!1;return!0}a(a5,"equalMap$1");function l5(e,n){if(e.size!==n.size)return!1;for(const r of e.entries())if(!n.has(r[0]))return!1;return!0}a(l5,"equalSet$1");function Xt(e,n){if(e===n)return!0;if(e&&V1(e)&&n&&V1(n)){if(e.constructor!==n.constructor)return!1;if(Array.isArray(e)&&Array.isArray(n))return i5(e,n);if(e instanceof Map&&n instanceof Map)return a5(e,n);if(e instanceof Set&&n instanceof Set)return l5(e,n);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(n))return o5(e,n);if($1(e)&&$1(n))return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();const r=Object.keys(e),o=Object.keys(n);if(r.length!==o.length)return!1;for(let l=r.length;l--!==0;)if(!Object.prototype.hasOwnProperty.call(n,r[l]))return!1;for(let l=r.length;l--!==0;){const u=r[l];if(!(u==="_owner"&&e.$$typeof)&&!Xt(e[u],n[u]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(n)?!0:e===n}a(Xt,"equal$1");var s5=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],u5=["bigint","boolean","null","number","string","symbol","undefined"];function ff(e){const n=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(n))return"HTMLElement";if(c5(n))return n}a(ff,"getObjectType$2");function nr(e){return n=>ff(n)===e}a(nr,"isObjectOfType$1");function c5(e){return s5.includes(e)}a(c5,"isObjectType$1");function ja(e){return n=>typeof n===e}a(ja,"isOfType$2");function f5(e){return u5.includes(e)}a(f5,"isPrimitiveType$1");var d5=["innerHTML","ownerDocument","style","attributes","nodeValue"];function Se(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(Se.array(e))return"Array";if(Se.plainFunction(e))return"Function";const n=ff(e);return n||"Object"}a(Se,"is$1");Se.array=Array.isArray;Se.arrayOf=(e,n)=>!Se.array(e)&&!Se.function(n)?!1:e.every(r=>n(r));Se.asyncGeneratorFunction=e=>ff(e)==="AsyncGeneratorFunction";Se.asyncFunction=nr("AsyncFunction");Se.bigint=ja("bigint");Se.boolean=e=>e===!0||e===!1;Se.date=nr("Date");Se.defined=e=>!Se.undefined(e);Se.domElement=e=>Se.object(e)&&!Se.plainObject(e)&&e.nodeType===1&&Se.string(e.nodeName)&&d5.every(n=>n in e);Se.empty=e=>Se.string(e)&&e.length===0||Se.array(e)&&e.length===0||Se.object(e)&&!Se.map(e)&&!Se.set(e)&&Object.keys(e).length===0||Se.set(e)&&e.size===0||Se.map(e)&&e.size===0;Se.error=nr("Error");Se.function=ja("function");Se.generator=e=>Se.iterable(e)&&Se.function(e.next)&&Se.function(e.throw);Se.generatorFunction=nr("GeneratorFunction");Se.instanceOf=(e,n)=>!e||!n?!1:Object.getPrototypeOf(e)===n.prototype;Se.iterable=e=>!Se.nullOrUndefined(e)&&Se.function(e[Symbol.iterator]);Se.map=nr("Map");Se.nan=e=>Number.isNaN(e);Se.null=e=>e===null;Se.nullOrUndefined=e=>Se.null(e)||Se.undefined(e);Se.number=e=>ja("number")(e)&&!Se.nan(e);Se.numericString=e=>Se.string(e)&&e.length>0&&!Number.isNaN(Number(e));Se.object=e=>!Se.nullOrUndefined(e)&&(Se.function(e)||typeof e=="object");Se.oneOf=(e,n)=>Se.array(e)?e.indexOf(n)>-1:!1;Se.plainFunction=nr("Function");Se.plainObject=e=>{if(ff(e)!=="Object")return!1;const n=Object.getPrototypeOf(e);return n===null||n===Object.getPrototypeOf({})};Se.primitive=e=>Se.null(e)||f5(typeof e);Se.promise=nr("Promise");Se.propertyOf=(e,n,r)=>{if(!Se.object(e)||!n)return!1;const o=e[n];return Se.function(r)?r(o):Se.defined(o)};Se.regexp=nr("RegExp");Se.set=nr("Set");Se.string=ja("string");Se.symbol=ja("symbol");Se.undefined=ja("undefined");Se.weakMap=nr("WeakMap");Se.weakSet=nr("WeakSet");var we=Se;function p5(...e){return e.every(n=>we.string(n)||we.array(n)||we.plainObject(n))}a(p5,"canHaveLength$1");function h5(e,n,r){return mT(e,n)?[e,n].every(we.array)?!e.some(X1(r))&&n.some(X1(r)):[e,n].every(we.plainObject)?!Object.entries(e).some(K1(r))&&Object.entries(n).some(K1(r)):n===r:!1}a(h5,"checkEquality$1");function G1(e,n,r){const{actual:o,key:l,previous:u,type:f}=r,d=hr(e,l),p=hr(n,l);let h=[d,p].every(we.number)&&(f==="increased"?d<p:d>p);return we.undefined(o)||(h=h&&p===o),we.undefined(u)||(h=h&&d===u),h}a(G1,"compareNumbers$1");function Y1(e,n,r){const{key:o,type:l,value:u}=r,f=hr(e,o),d=hr(n,o),p=l==="added"?f:d,h=l==="added"?d:f;if(!we.nullOrUndefined(u)){if(we.defined(p)){if(we.array(p)||we.plainObject(p))return h5(p,h,u)}else return Xt(h,u);return!1}return[f,d].every(we.array)?!h.every(my(p)):[f,d].every(we.plainObject)?m5(Object.keys(p),Object.keys(h)):![f,d].every(m=>we.primitive(m)&&we.defined(m))&&(l==="added"?!we.defined(f)&&we.defined(d):we.defined(f)&&!we.defined(d))}a(Y1,"compareValues$1");function Q1(e,n,{key:r}={}){let o=hr(e,r),l=hr(n,r);if(!mT(o,l))throw new TypeError("Inputs have different types");if(!p5(o,l))throw new TypeError("Inputs don't have length");return[o,l].every(we.plainObject)&&(o=Object.keys(o),l=Object.keys(l)),[o,l]}a(Q1,"getIterables$1");function K1(e){return([n,r])=>we.array(e)?Xt(e,r)||e.some(o=>Xt(o,r)||we.array(r)&&my(r)(o)):we.plainObject(e)&&e[n]?!!e[n]&&Xt(e[n],r):Xt(e,r)}a(K1,"hasEntry$1");function m5(e,n){return n.some(r=>!e.includes(r))}a(m5,"hasExtraKeys$1");function X1(e){return n=>we.array(e)?e.some(r=>Xt(r,n)||we.array(n)&&my(n)(r)):Xt(e,n)}a(X1,"hasValue$1");function jl(e,n){return we.array(e)?e.some(r=>Xt(r,n)):Xt(e,n)}a(jl,"includesOrEqualsTo$1");function my(e){return n=>e.some(r=>Xt(r,n))}a(my,"isEqualPredicate$1");function mT(...e){return e.every(we.array)||e.every(we.number)||e.every(we.plainObject)||e.every(we.string)}a(mT,"isSameType$1");function hr(e,n){return we.plainObject(e)||we.array(e)?we.string(n)?n.split(".").reduce((o,l)=>o&&o[l],e):we.number(n)?e[n]:e:e}a(hr,"nested$1");function Mc(e,n){if([e,n].some(we.nullOrUndefined))throw new Error("Missing required parameters");if(![e,n].every(m=>we.plainObject(m)||we.array(m)))throw new Error("Expected plain objects or array");return{added:a((m,g)=>{try{return Y1(e,n,{key:m,type:"added",value:g})}catch{return!1}},"added"),changed:a((m,g,b)=>{try{const S=hr(e,m),E=hr(n,m),w=we.defined(g),R=we.defined(b);if(w||R){const T=R?jl(b,S):!jl(g,S),O=jl(g,E);return T&&O}return[S,E].every(we.array)||[S,E].every(we.plainObject)?!Xt(S,E):S!==E}catch{return!1}},"changed"),changedFrom:a((m,g,b)=>{if(!we.defined(m))return!1;try{const S=hr(e,m),E=hr(n,m),w=we.defined(b);return jl(g,S)&&(w?jl(b,E):!w)}catch{return!1}},"changedFrom"),decreased:a((m,g,b)=>{if(!we.defined(m))return!1;try{return G1(e,n,{key:m,actual:g,previous:b,type:"decreased"})}catch{return!1}},"decreased"),emptied:a(m=>{try{const[g,b]=Q1(e,n,{key:m});return!!g.length&&!b.length}catch{return!1}},"emptied"),filled:a(m=>{try{const[g,b]=Q1(e,n,{key:m});return!g.length&&!!b.length}catch{return!1}},"filled"),increased:a((m,g,b)=>{if(!we.defined(m))return!1;try{return G1(e,n,{key:m,actual:g,previous:b,type:"increased"})}catch{return!1}},"increased"),removed:a((m,g)=>{try{return Y1(e,n,{key:m,type:"removed",value:g})}catch{return!1}},"removed")}}a(Mc,"treeChanges$1");var ih,W1;function y5(){if(W1)return ih;W1=1;var e=new Error("Element already at target scroll position"),n=new Error("Scroll cancelled"),r=Math.min,o=Date.now;ih={left:l("scrollLeft"),top:l("scrollTop")};function l(d){return a(function(h,m,g,b){g=g||{},typeof g=="function"&&(b=g,g={}),typeof b!="function"&&(b=f);var S=o(),E=h[d],w=g.ease||u,R=isNaN(g.duration)?350:+g.duration,T=!1;return E===m?b(e,h[d]):requestAnimationFrame(M),O;function O(){T=!0}function M(L){if(T)return b(n,h[d]);var B=o(),D=r(1,(B-S)/R),P=w(D);h[d]=P*(m-E)+E,D<1?requestAnimationFrame(M):requestAnimationFrame(function(){b(null,h[d])})}},"scroll")}a(l,"make");function u(d){return .5*(1-Math.cos(Math.PI*d))}a(u,"inOutSine");function f(){}return a(f,"noop"),ih}a(y5,"requireScroll");var g5=y5();const v5=xr(g5);var pc={exports:{}},b5=pc.exports,Z1;function S5(){return Z1||(Z1=1,(function(e){(function(n,r){e.exports?e.exports=r():n.Scrollparent=r()})(b5,function(){function n(o){var l=getComputedStyle(o,null).getPropertyValue("overflow");return l.indexOf("scroll")>-1||l.indexOf("auto")>-1}a(n,"isScrolling");function r(o){if(o instanceof HTMLElement||o instanceof SVGElement){for(var l=o.parentNode;l.parentNode;){if(n(l))return l;l=l.parentNode}return document.scrollingElement||document.documentElement}}return a(r,"scrollParent"),r})})(pc)),pc.exports}a(S5,"requireScrollparent");var x5=S5();const yT=xr(x5);var oh,J1;function w5(){if(J1)return oh;J1=1;var e=a(function(o){return Object.prototype.hasOwnProperty.call(o,"props")},"hasProps"),n=a(function(o,l){return o+r(l)},"reduceJsxToString"),r=a(function(o){return o===null||typeof o=="boolean"||typeof o>"u"?"":typeof o=="number"?o.toString():typeof o=="string"?o:Array.isArray(o)?o.reduce(n,""):e(o)&&Object.prototype.hasOwnProperty.call(o.props,"children")?r(o.props.children):""},"innerText");return r.default=r,oh=r,oh}a(w5,"requireReactInnertext");var E5=w5();const eS=xr(E5);var ah,tS;function C5(){if(tS)return ah;tS=1;var e=a(function(O){return n(O)&&!r(O)},"isMergeableObject");function n(T){return!!T&&typeof T=="object"}a(n,"isNonNullObject");function r(T){var O=Object.prototype.toString.call(T);return O==="[object RegExp]"||O==="[object Date]"||u(T)}a(r,"isSpecial");var o=typeof Symbol=="function"&&Symbol.for,l=o?Symbol.for("react.element"):60103;function u(T){return T.$$typeof===l}a(u,"isReactElement");function f(T){return Array.isArray(T)?[]:{}}a(f,"emptyTarget");function d(T,O){return O.clone!==!1&&O.isMergeableObject(T)?w(f(T),T,O):T}a(d,"cloneUnlessOtherwiseSpecified");function p(T,O,M){return T.concat(O).map(function(L){return d(L,M)})}a(p,"defaultArrayMerge");function h(T,O){if(!O.customMerge)return w;var M=O.customMerge(T);return typeof M=="function"?M:w}a(h,"getMergeFunction");function m(T){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(T).filter(function(O){return Object.propertyIsEnumerable.call(T,O)}):[]}a(m,"getEnumerableOwnPropertySymbols");function g(T){return Object.keys(T).concat(m(T))}a(g,"getKeys");function b(T,O){try{return O in T}catch{return!1}}a(b,"propertyIsOnObject");function S(T,O){return b(T,O)&&!(Object.hasOwnProperty.call(T,O)&&Object.propertyIsEnumerable.call(T,O))}a(S,"propertyIsUnsafe");function E(T,O,M){var L={};return M.isMergeableObject(T)&&g(T).forEach(function(B){L[B]=d(T[B],M)}),g(O).forEach(function(B){S(T,B)||(b(T,B)&&M.isMergeableObject(O[B])?L[B]=h(B,M)(T[B],O[B],M):L[B]=d(O[B],M))}),L}a(E,"mergeObject");function w(T,O,M){M=M||{},M.arrayMerge=M.arrayMerge||p,M.isMergeableObject=M.isMergeableObject||e,M.cloneUnlessOtherwiseSpecified=d;var L=Array.isArray(O),B=Array.isArray(T),D=L===B;return D?L?M.arrayMerge(T,O,M):E(T,O,M):d(O,M)}a(w,"deepmerge"),w.all=a(function(O,M){if(!Array.isArray(O))throw new Error("first argument should be an array");return O.reduce(function(L,B){return w(L,B,M)},{})},"deepmergeAll");var R=w;return ah=R,ah}a(C5,"requireCjs$2");var T5=C5();const Xn=xr(T5);var lh={exports:{}},sh,nS;function R5(){if(nS)return sh;nS=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return sh=e,sh}a(R5,"requireReactPropTypesSecret");var uh,rS;function O5(){if(rS)return uh;rS=1;var e=R5();function n(){}a(n,"emptyFunction");function r(){}return a(r,"emptyFunctionWithReset"),r.resetWarningCache=n,uh=a(function(){function o(f,d,p,h,m,g){if(g!==e){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}}a(o,"shim"),o.isRequired=o;function l(){return o}a(l,"getShim");var u={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:l,element:o,elementType:o,instanceOf:l,node:o,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:r,resetWarningCache:n};return u.PropTypes=u,u},"factoryWithThrowingShims"),uh}a(O5,"requireFactoryWithThrowingShims");var iS;function gT(){return iS||(iS=1,lh.exports=O5()()),lh.exports}a(gT,"requirePropTypes");var A5=gT();const me=xr(A5);/**!
|
|
549
|
+
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
550
|
+
* @version 1.16.1
|
|
551
|
+
* @license
|
|
552
|
+
* Copyright (c) 2016 Federico Zivolo and contributors
|
|
553
|
+
*
|
|
554
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
555
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
556
|
+
* in the Software without restriction, including without limitation the rights
|
|
557
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
558
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
559
|
+
* furnished to do so, subject to the following conditions:
|
|
560
|
+
*
|
|
561
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
562
|
+
* copies or substantial portions of the Software.
|
|
563
|
+
*
|
|
564
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
565
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
566
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
567
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
568
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
569
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
570
|
+
* SOFTWARE.
|
|
571
|
+
*/var ws=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",_5=(function(){for(var e=["Edge","Trident","Firefox"],n=0;n<e.length;n+=1)if(ws&&navigator.userAgent.indexOf(e[n])>=0)return 1;return 0})();function M5(e){var n=!1;return function(){n||(n=!0,window.Promise.resolve().then(function(){n=!1,e()}))}}a(M5,"microtaskDebounce");function N5(e){var n=!1;return function(){n||(n=!0,setTimeout(function(){n=!1,e()},_5))}}a(N5,"taskDebounce");var k5=ws&&window.Promise,D5=k5?M5:N5;function vT(e){var n={};return e&&n.toString.call(e)==="[object Function]"}a(vT,"isFunction$1");function So(e,n){if(e.nodeType!==1)return[];var r=e.ownerDocument.defaultView,o=r.getComputedStyle(e,null);return n?o[n]:o}a(So,"getStyleComputedProperty$1");function yy(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}a(yy,"getParentNode");function Es(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var n=So(e),r=n.overflow,o=n.overflowX,l=n.overflowY;return/(auto|scroll|overlay)/.test(r+l+o)?e:Es(yy(e))}a(Es,"getScrollParent$1");function bT(e){return e&&e.referenceNode?e.referenceNode:e}a(bT,"getReferenceNode");var oS=ws&&!!(window.MSInputMethodContext&&document.documentMode),aS=ws&&/MSIE 10/.test(navigator.userAgent);function Ia(e){return e===11?oS:e===10?aS:oS||aS}a(Ia,"isIE");function Ta(e){if(!e)return document.documentElement;for(var n=Ia(10)?document.body:null,r=e.offsetParent||null;r===n&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var o=r&&r.nodeName;return!o||o==="BODY"||o==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(r.nodeName)!==-1&&So(r,"position")==="static"?Ta(r):r}a(Ta,"getOffsetParent");function P5(e){var n=e.nodeName;return n==="BODY"?!1:n==="HTML"||Ta(e.firstElementChild)===e}a(P5,"isOffsetContainer");function rm(e){return e.parentNode!==null?rm(e.parentNode):e}a(rm,"getRoot");function Nc(e,n){if(!e||!e.nodeType||!n||!n.nodeType)return document.documentElement;var r=e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING,o=r?e:n,l=r?n:e,u=document.createRange();u.setStart(o,0),u.setEnd(l,0);var f=u.commonAncestorContainer;if(e!==f&&n!==f||o.contains(l))return P5(f)?f:Ta(f);var d=rm(e);return d.host?Nc(d.host,n):Nc(e,rm(n).host)}a(Nc,"findCommonOffsetParent");function Ra(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",r=n==="top"?"scrollTop":"scrollLeft",o=e.nodeName;if(o==="BODY"||o==="HTML"){var l=e.ownerDocument.documentElement,u=e.ownerDocument.scrollingElement||l;return u[r]}return e[r]}a(Ra,"getScroll");function L5(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=Ra(n,"top"),l=Ra(n,"left"),u=r?-1:1;return e.top+=o*u,e.bottom+=o*u,e.left+=l*u,e.right+=l*u,e}a(L5,"includeScroll");function lS(e,n){var r=n==="x"?"Left":"Top",o=r==="Left"?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+o+"Width"])}a(lS,"getBordersSize");function sS(e,n,r,o){return Math.max(n["offset"+e],n["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],Ia(10)?parseInt(r["offset"+e])+parseInt(o["margin"+(e==="Height"?"Top":"Left")])+parseInt(o["margin"+(e==="Height"?"Bottom":"Right")]):0)}a(sS,"getSize");function ST(e){var n=e.body,r=e.documentElement,o=Ia(10)&&getComputedStyle(r);return{height:sS("Height",n,r,o),width:sS("Width",n,r,o)}}a(ST,"getWindowSizes");var z5=a(function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")},"classCallCheck"),j5=(function(){function e(n,r){for(var o=0;o<r.length;o++){var l=r[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(n,l.key,l)}}return a(e,"defineProperties"),function(n,r,o){return r&&e(n.prototype,r),o&&e(n,o),n}})(),Oa=a(function(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e},"defineProperty"),In=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e};function Pi(e){return In({},e,{right:e.left+e.width,bottom:e.top+e.height})}a(Pi,"getClientRect$1");function im(e){var n={};try{if(Ia(10)){n=e.getBoundingClientRect();var r=Ra(e,"top"),o=Ra(e,"left");n.top+=r,n.left+=o,n.bottom+=r,n.right+=o}else n=e.getBoundingClientRect()}catch{}var l={left:n.left,top:n.top,width:n.right-n.left,height:n.bottom-n.top},u=e.nodeName==="HTML"?ST(e.ownerDocument):{},f=u.width||e.clientWidth||l.width,d=u.height||e.clientHeight||l.height,p=e.offsetWidth-f,h=e.offsetHeight-d;if(p||h){var m=So(e);p-=lS(m,"x"),h-=lS(m,"y"),l.width-=p,l.height-=h}return Pi(l)}a(im,"getBoundingClientRect");function gy(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=Ia(10),l=n.nodeName==="HTML",u=im(e),f=im(n),d=Es(e),p=So(n),h=parseFloat(p.borderTopWidth),m=parseFloat(p.borderLeftWidth);r&&l&&(f.top=Math.max(f.top,0),f.left=Math.max(f.left,0));var g=Pi({top:u.top-f.top-h,left:u.left-f.left-m,width:u.width,height:u.height});if(g.marginTop=0,g.marginLeft=0,!o&&l){var b=parseFloat(p.marginTop),S=parseFloat(p.marginLeft);g.top-=h-b,g.bottom-=h-b,g.left-=m-S,g.right-=m-S,g.marginTop=b,g.marginLeft=S}return(o&&!r?n.contains(d):n===d&&d.nodeName!=="BODY")&&(g=L5(g,n)),g}a(gy,"getOffsetRectRelativeToArbitraryNode");function I5(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=e.ownerDocument.documentElement,o=gy(e,r),l=Math.max(r.clientWidth,window.innerWidth||0),u=Math.max(r.clientHeight,window.innerHeight||0),f=n?0:Ra(r),d=n?0:Ra(r,"left"),p={top:f-o.top+o.marginTop,left:d-o.left+o.marginLeft,width:l,height:u};return Pi(p)}a(I5,"getViewportOffsetRectRelativeToArtbitraryNode");function xT(e){var n=e.nodeName;if(n==="BODY"||n==="HTML")return!1;if(So(e,"position")==="fixed")return!0;var r=yy(e);return r?xT(r):!1}a(xT,"isFixed");function wT(e){if(!e||!e.parentElement||Ia())return document.documentElement;for(var n=e.parentElement;n&&So(n,"transform")==="none";)n=n.parentElement;return n||document.documentElement}a(wT,"getFixedPositionOffsetParent");function vy(e,n,r,o){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,u={top:0,left:0},f=l?wT(e):Nc(e,bT(n));if(o==="viewport")u=I5(f,l);else{var d=void 0;o==="scrollParent"?(d=Es(yy(n)),d.nodeName==="BODY"&&(d=e.ownerDocument.documentElement)):o==="window"?d=e.ownerDocument.documentElement:d=o;var p=gy(d,f,l);if(d.nodeName==="HTML"&&!xT(f)){var h=ST(e.ownerDocument),m=h.height,g=h.width;u.top+=p.top-p.marginTop,u.bottom=m+p.top,u.left+=p.left-p.marginLeft,u.right=g+p.left}else u=p}r=r||0;var b=typeof r=="number";return u.left+=b?r:r.left||0,u.top+=b?r:r.top||0,u.right-=b?r:r.right||0,u.bottom-=b?r:r.bottom||0,u}a(vy,"getBoundaries");function B5(e){var n=e.width,r=e.height;return n*r}a(B5,"getArea");function ET(e,n,r,o,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var f=vy(r,o,u,l),d={top:{width:f.width,height:n.top-f.top},right:{width:f.right-n.right,height:f.height},bottom:{width:f.width,height:f.bottom-n.bottom},left:{width:n.left-f.left,height:f.height}},p=Object.keys(d).map(function(b){return In({key:b},d[b],{area:B5(d[b])})}).sort(function(b,S){return S.area-b.area}),h=p.filter(function(b){var S=b.width,E=b.height;return S>=r.clientWidth&&E>=r.clientHeight}),m=h.length>0?h[0].key:p[0].key,g=e.split("-")[1];return m+(g?"-"+g:"")}a(ET,"computeAutoPlacement");function CT(e,n,r){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,l=o?wT(n):Nc(n,bT(r));return gy(r,l,o)}a(CT,"getReferenceOffsets");function TT(e){var n=e.ownerDocument.defaultView,r=n.getComputedStyle(e),o=parseFloat(r.marginTop||0)+parseFloat(r.marginBottom||0),l=parseFloat(r.marginLeft||0)+parseFloat(r.marginRight||0),u={width:e.offsetWidth+l,height:e.offsetHeight+o};return u}a(TT,"getOuterSizes");function kc(e){var n={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(r){return n[r]})}a(kc,"getOppositePlacement");function RT(e,n,r){r=r.split("-")[0];var o=TT(e),l={width:o.width,height:o.height},u=["right","left"].indexOf(r)!==-1,f=u?"top":"left",d=u?"left":"top",p=u?"height":"width",h=u?"width":"height";return l[f]=n[f]+n[p]/2-o[p]/2,r===d?l[d]=n[d]-o[h]:l[d]=n[kc(d)],l}a(RT,"getPopperOffsets");function Cs(e,n){return Array.prototype.find?e.find(n):e.filter(n)[0]}a(Cs,"find$1");function H5(e,n,r){if(Array.prototype.findIndex)return e.findIndex(function(l){return l[n]===r});var o=Cs(e,function(l){return l[n]===r});return e.indexOf(o)}a(H5,"findIndex");function OT(e,n,r){var o=r===void 0?e:e.slice(0,H5(e,"name",r));return o.forEach(function(l){l.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var u=l.function||l.fn;l.enabled&&vT(u)&&(n.offsets.popper=Pi(n.offsets.popper),n.offsets.reference=Pi(n.offsets.reference),n=u(n,l))}),n}a(OT,"runModifiers");function U5(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=CT(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=ET(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=RT(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=OT(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}a(U5,"update");function AT(e,n){return e.some(function(r){var o=r.name,l=r.enabled;return l&&o===n})}a(AT,"isModifierEnabled");function by(e){for(var n=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<n.length;o++){var l=n[o],u=l?""+l+r:e;if(typeof document.body.style[u]<"u")return u}return null}a(by,"getSupportedPropertyName");function F5(){return this.state.isDestroyed=!0,AT(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[by("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}a(F5,"destroy");function _T(e){var n=e.ownerDocument;return n?n.defaultView:window}a(_T,"getWindow");function MT(e,n,r,o){var l=e.nodeName==="BODY",u=l?e.ownerDocument.defaultView:e;u.addEventListener(n,r,{passive:!0}),l||MT(Es(u.parentNode),n,r,o),o.push(u)}a(MT,"attachToScrollParents");function q5(e,n,r,o){r.updateBound=o,_T(e).addEventListener("resize",r.updateBound,{passive:!0});var l=Es(e);return MT(l,"scroll",r.updateBound,r.scrollParents),r.scrollElement=l,r.eventsEnabled=!0,r}a(q5,"setupEventListeners");function $5(){this.state.eventsEnabled||(this.state=q5(this.reference,this.options,this.state,this.scheduleUpdate))}a($5,"enableEventListeners");function V5(e,n){return _T(e).removeEventListener("resize",n.updateBound),n.scrollParents.forEach(function(r){r.removeEventListener("scroll",n.updateBound)}),n.updateBound=null,n.scrollParents=[],n.scrollElement=null,n.eventsEnabled=!1,n}a(V5,"removeEventListeners");function G5(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=V5(this.reference,this.state))}a(G5,"disableEventListeners");function Sy(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)}a(Sy,"isNumeric");function om(e,n){Object.keys(n).forEach(function(r){var o="";["width","height","top","right","bottom","left"].indexOf(r)!==-1&&Sy(n[r])&&(o="px"),e.style[r]=n[r]+o})}a(om,"setStyles");function Y5(e,n){Object.keys(n).forEach(function(r){var o=n[r];o!==!1?e.setAttribute(r,n[r]):e.removeAttribute(r)})}a(Y5,"setAttributes");function Q5(e){return om(e.instance.popper,e.styles),Y5(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&om(e.arrowElement,e.arrowStyles),e}a(Q5,"applyStyle");function K5(e,n,r,o,l){var u=CT(l,n,e,r.positionFixed),f=ET(r.placement,u,n,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return n.setAttribute("x-placement",f),om(n,{position:r.positionFixed?"fixed":"absolute"}),r}a(K5,"applyStyleOnLoad");function X5(e,n){var r=e.offsets,o=r.popper,l=r.reference,u=Math.round,f=Math.floor,d=a(function(T){return T},"noRound2"),p=u(l.width),h=u(o.width),m=["left","right"].indexOf(e.placement)!==-1,g=e.placement.indexOf("-")!==-1,b=p%2===h%2,S=p%2===1&&h%2===1,E=n?m||g||b?u:f:d,w=n?u:d;return{left:E(S&&!g&&n?o.left-1:o.left),top:w(o.top),bottom:w(o.bottom),right:E(o.right)}}a(X5,"getRoundedOffsets");var W5=ws&&/Firefox/i.test(navigator.userAgent);function Z5(e,n){var r=n.x,o=n.y,l=e.offsets.popper,u=Cs(e.instance.modifiers,function(M){return M.name==="applyStyle"}).gpuAcceleration;u!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var f=u!==void 0?u:n.gpuAcceleration,d=Ta(e.instance.popper),p=im(d),h={position:l.position},m=X5(e,window.devicePixelRatio<2||!W5),g=r==="bottom"?"top":"bottom",b=o==="right"?"left":"right",S=by("transform"),E=void 0,w=void 0;if(g==="bottom"?d.nodeName==="HTML"?w=-d.clientHeight+m.bottom:w=-p.height+m.bottom:w=m.top,b==="right"?d.nodeName==="HTML"?E=-d.clientWidth+m.right:E=-p.width+m.right:E=m.left,f&&S)h[S]="translate3d("+E+"px, "+w+"px, 0)",h[g]=0,h[b]=0,h.willChange="transform";else{var R=g==="bottom"?-1:1,T=b==="right"?-1:1;h[g]=w*R,h[b]=E*T,h.willChange=g+", "+b}var O={"x-placement":e.placement};return e.attributes=In({},O,e.attributes),e.styles=In({},h,e.styles),e.arrowStyles=In({},e.offsets.arrow,e.arrowStyles),e}a(Z5,"computeStyle");function NT(e,n,r){var o=Cs(e,function(d){var p=d.name;return p===n}),l=!!o&&e.some(function(d){return d.name===r&&d.enabled&&d.order<o.order});if(!l){var u="`"+n+"`",f="`"+r+"`";console.warn(f+" modifier is required by "+u+" modifier in order to work, be sure to include it before "+u+"!")}return l}a(NT,"isModifierRequired");function J5(e,n){var r;if(!NT(e.instance.modifiers,"arrow","keepTogether"))return e;var o=n.element;if(typeof o=="string"){if(o=e.instance.popper.querySelector(o),!o)return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var l=e.placement.split("-")[0],u=e.offsets,f=u.popper,d=u.reference,p=["left","right"].indexOf(l)!==-1,h=p?"height":"width",m=p?"Top":"Left",g=m.toLowerCase(),b=p?"left":"top",S=p?"bottom":"right",E=TT(o)[h];d[S]-E<f[g]&&(e.offsets.popper[g]-=f[g]-(d[S]-E)),d[g]+E>f[S]&&(e.offsets.popper[g]+=d[g]+E-f[S]),e.offsets.popper=Pi(e.offsets.popper);var w=d[g]+d[h]/2-E/2,R=So(e.instance.popper),T=parseFloat(R["margin"+m]),O=parseFloat(R["border"+m+"Width"]),M=w-e.offsets.popper[g]-T-O;return M=Math.max(Math.min(f[h]-E,M),0),e.arrowElement=o,e.offsets.arrow=(r={},Oa(r,g,Math.round(M)),Oa(r,b,""),r),e}a(J5,"arrow");function e6(e){return e==="end"?"start":e==="start"?"end":e}a(e6,"getOppositeVariation");var kT=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ch=kT.slice(3);function uS(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=ch.indexOf(e),o=ch.slice(r+1).concat(ch.slice(0,r));return n?o.reverse():o}a(uS,"clockwise");var fh={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function t6(e,n){if(AT(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var r=vy(e.instance.popper,e.instance.reference,n.padding,n.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],l=kc(o),u=e.placement.split("-")[1]||"",f=[];switch(n.behavior){case fh.FLIP:f=[o,l];break;case fh.CLOCKWISE:f=uS(o);break;case fh.COUNTERCLOCKWISE:f=uS(o,!0);break;default:f=n.behavior}return f.forEach(function(d,p){if(o!==d||f.length===p+1)return e;o=e.placement.split("-")[0],l=kc(o);var h=e.offsets.popper,m=e.offsets.reference,g=Math.floor,b=o==="left"&&g(h.right)>g(m.left)||o==="right"&&g(h.left)<g(m.right)||o==="top"&&g(h.bottom)>g(m.top)||o==="bottom"&&g(h.top)<g(m.bottom),S=g(h.left)<g(r.left),E=g(h.right)>g(r.right),w=g(h.top)<g(r.top),R=g(h.bottom)>g(r.bottom),T=o==="left"&&S||o==="right"&&E||o==="top"&&w||o==="bottom"&&R,O=["top","bottom"].indexOf(o)!==-1,M=!!n.flipVariations&&(O&&u==="start"&&S||O&&u==="end"&&E||!O&&u==="start"&&w||!O&&u==="end"&&R),L=!!n.flipVariationsByContent&&(O&&u==="start"&&E||O&&u==="end"&&S||!O&&u==="start"&&R||!O&&u==="end"&&w),B=M||L;(b||T||B)&&(e.flipped=!0,(b||T)&&(o=f[p+1]),B&&(u=e6(u)),e.placement=o+(u?"-"+u:""),e.offsets.popper=In({},e.offsets.popper,RT(e.instance.popper,e.offsets.reference,e.placement)),e=OT(e.instance.modifiers,e,"flip"))}),e}a(t6,"flip");function n6(e){var n=e.offsets,r=n.popper,o=n.reference,l=e.placement.split("-")[0],u=Math.floor,f=["top","bottom"].indexOf(l)!==-1,d=f?"right":"bottom",p=f?"left":"top",h=f?"width":"height";return r[d]<u(o[p])&&(e.offsets.popper[p]=u(o[p])-r[h]),r[p]>u(o[d])&&(e.offsets.popper[p]=u(o[d])),e}a(n6,"keepTogether");function r6(e,n,r,o){var l=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),u=+l[1],f=l[2];if(!u)return e;if(f.indexOf("%")===0){var d=void 0;switch(f){case"%p":d=r;break;case"%":case"%r":default:d=o}var p=Pi(d);return p[n]/100*u}else if(f==="vh"||f==="vw"){var h=void 0;return f==="vh"?h=Math.max(document.documentElement.clientHeight,window.innerHeight||0):h=Math.max(document.documentElement.clientWidth,window.innerWidth||0),h/100*u}else return u}a(r6,"toValue");function i6(e,n,r,o){var l=[0,0],u=["right","left"].indexOf(o)!==-1,f=e.split(/(\+|\-)/).map(function(m){return m.trim()}),d=f.indexOf(Cs(f,function(m){return m.search(/,|\s/)!==-1}));f[d]&&f[d].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var p=/\s*,\s*|\s+/,h=d!==-1?[f.slice(0,d).concat([f[d].split(p)[0]]),[f[d].split(p)[1]].concat(f.slice(d+1))]:[f];return h=h.map(function(m,g){var b=(g===1?!u:u)?"height":"width",S=!1;return m.reduce(function(E,w){return E[E.length-1]===""&&["+","-"].indexOf(w)!==-1?(E[E.length-1]=w,S=!0,E):S?(E[E.length-1]+=w,S=!1,E):E.concat(w)},[]).map(function(E){return r6(E,b,n,r)})}),h.forEach(function(m,g){m.forEach(function(b,S){Sy(b)&&(l[g]+=b*(m[S-1]==="-"?-1:1))})}),l}a(i6,"parseOffset");function o6(e,n){var r=n.offset,o=e.placement,l=e.offsets,u=l.popper,f=l.reference,d=o.split("-")[0],p=void 0;return Sy(+r)?p=[+r,0]:p=i6(r,u,f,d),d==="left"?(u.top+=p[0],u.left-=p[1]):d==="right"?(u.top+=p[0],u.left+=p[1]):d==="top"?(u.left+=p[0],u.top-=p[1]):d==="bottom"&&(u.left+=p[0],u.top+=p[1]),e.popper=u,e}a(o6,"offset");function a6(e,n){var r=n.boundariesElement||Ta(e.instance.popper);e.instance.reference===r&&(r=Ta(r));var o=by("transform"),l=e.instance.popper.style,u=l.top,f=l.left,d=l[o];l.top="",l.left="",l[o]="";var p=vy(e.instance.popper,e.instance.reference,n.padding,r,e.positionFixed);l.top=u,l.left=f,l[o]=d,n.boundaries=p;var h=n.priority,m=e.offsets.popper,g={primary:a(function(S){var E=m[S];return m[S]<p[S]&&!n.escapeWithReference&&(E=Math.max(m[S],p[S])),Oa({},S,E)},"primary"),secondary:a(function(S){var E=S==="right"?"left":"top",w=m[E];return m[S]>p[S]&&!n.escapeWithReference&&(w=Math.min(m[E],p[S]-(S==="right"?m.width:m.height))),Oa({},E,w)},"secondary")};return h.forEach(function(b){var S=["left","top"].indexOf(b)!==-1?"primary":"secondary";m=In({},m,g[S](b))}),e.offsets.popper=m,e}a(a6,"preventOverflow");function l6(e){var n=e.placement,r=n.split("-")[0],o=n.split("-")[1];if(o){var l=e.offsets,u=l.reference,f=l.popper,d=["bottom","top"].indexOf(r)!==-1,p=d?"left":"top",h=d?"width":"height",m={start:Oa({},p,u[p]),end:Oa({},p,u[p]+u[h]-f[h])};e.offsets.popper=In({},f,m[o])}return e}a(l6,"shift");function s6(e){if(!NT(e.instance.modifiers,"hide","preventOverflow"))return e;var n=e.offsets.reference,r=Cs(e.instance.modifiers,function(o){return o.name==="preventOverflow"}).boundaries;if(n.bottom<r.top||n.left>r.right||n.top>r.bottom||n.right<r.left){if(e.hide===!0)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(e.hide===!1)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}a(s6,"hide");function u6(e){var n=e.placement,r=n.split("-")[0],o=e.offsets,l=o.popper,u=o.reference,f=["left","right"].indexOf(r)!==-1,d=["top","left"].indexOf(r)===-1;return l[f?"left":"top"]=u[r]-(d?l[f?"width":"height"]:0),e.placement=kc(n),e.offsets.popper=Pi(l),e}a(u6,"inner");var c6={shift:{order:100,enabled:!0,fn:l6},offset:{order:200,enabled:!0,fn:o6,offset:0},preventOverflow:{order:300,enabled:!0,fn:a6,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:n6},arrow:{order:500,enabled:!0,fn:J5,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:t6,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:u6},hide:{order:800,enabled:!0,fn:s6},computeStyle:{order:850,enabled:!0,fn:Z5,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:Q5,onLoad:K5,gpuAcceleration:void 0}},f6={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:a(function(){},"onCreate"),onUpdate:a(function(){},"onUpdate"),modifiers:c6},ls=(function(){function e(n,r){var o=this,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};z5(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=D5(this.update.bind(this)),this.options=In({},e.Defaults,l),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=n&&n.jquery?n[0]:n,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(In({},e.Defaults.modifiers,l.modifiers)).forEach(function(f){o.options.modifiers[f]=In({},e.Defaults.modifiers[f]||{},l.modifiers?l.modifiers[f]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(f){return In({name:f},o.options.modifiers[f])}).sort(function(f,d){return f.order-d.order}),this.modifiers.forEach(function(f){f.enabled&&vT(f.onLoad)&&f.onLoad(o.reference,o.popper,o.options,f,o.state)}),this.update();var u=this.options.eventsEnabled;u&&this.enableEventListeners(),this.state.eventsEnabled=u}return a(e,"Popper2"),j5(e,[{key:"update",value:a(function(){return U5.call(this)},"update$$1")},{key:"destroy",value:a(function(){return F5.call(this)},"destroy$$1")},{key:"enableEventListeners",value:a(function(){return $5.call(this)},"enableEventListeners$$1")},{key:"disableEventListeners",value:a(function(){return G5.call(this)},"disableEventListeners$$1")}]),e})();ls.Utils=(typeof window<"u"?window:globalThis).PopperUtils;ls.placements=kT;ls.Defaults=f6;var d6=["innerHTML","ownerDocument","style","attributes","nodeValue"],p6=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],h6=["bigint","boolean","null","number","string","symbol","undefined"];function df(e){var n=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(n))return"HTMLElement";if(m6(n))return n}a(df,"getObjectType$1");function rr(e){return function(n){return df(n)===e}}a(rr,"isObjectOfType");function m6(e){return p6.includes(e)}a(m6,"isObjectType");function Ba(e){return function(n){return typeof n===e}}a(Ba,"isOfType$1");function y6(e){return h6.includes(e)}a(y6,"isPrimitiveType");function re(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(re.array(e))return"Array";if(re.plainFunction(e))return"Function";var n=df(e);return n||"Object"}a(re,"is");re.array=Array.isArray;re.arrayOf=function(e,n){return!re.array(e)&&!re.function(n)?!1:e.every(function(r){return n(r)})};re.asyncGeneratorFunction=function(e){return df(e)==="AsyncGeneratorFunction"};re.asyncFunction=rr("AsyncFunction");re.bigint=Ba("bigint");re.boolean=function(e){return e===!0||e===!1};re.date=rr("Date");re.defined=function(e){return!re.undefined(e)};re.domElement=function(e){return re.object(e)&&!re.plainObject(e)&&e.nodeType===1&&re.string(e.nodeName)&&d6.every(function(n){return n in e})};re.empty=function(e){return re.string(e)&&e.length===0||re.array(e)&&e.length===0||re.object(e)&&!re.map(e)&&!re.set(e)&&Object.keys(e).length===0||re.set(e)&&e.size===0||re.map(e)&&e.size===0};re.error=rr("Error");re.function=Ba("function");re.generator=function(e){return re.iterable(e)&&re.function(e.next)&&re.function(e.throw)};re.generatorFunction=rr("GeneratorFunction");re.instanceOf=function(e,n){return!e||!n?!1:Object.getPrototypeOf(e)===n.prototype};re.iterable=function(e){return!re.nullOrUndefined(e)&&re.function(e[Symbol.iterator])};re.map=rr("Map");re.nan=function(e){return Number.isNaN(e)};re.null=function(e){return e===null};re.nullOrUndefined=function(e){return re.null(e)||re.undefined(e)};re.number=function(e){return Ba("number")(e)&&!re.nan(e)};re.numericString=function(e){return re.string(e)&&e.length>0&&!Number.isNaN(Number(e))};re.object=function(e){return!re.nullOrUndefined(e)&&(re.function(e)||typeof e=="object")};re.oneOf=function(e,n){return re.array(e)?e.indexOf(n)>-1:!1};re.plainFunction=rr("Function");re.plainObject=function(e){if(df(e)!=="Object")return!1;var n=Object.getPrototypeOf(e);return n===null||n===Object.getPrototypeOf({})};re.primitive=function(e){return re.null(e)||y6(typeof e)};re.promise=rr("Promise");re.propertyOf=function(e,n,r){if(!re.object(e)||!n)return!1;var o=e[n];return re.function(r)?r(o):re.defined(o)};re.regexp=rr("RegExp");re.set=rr("Set");re.string=Ba("string");re.symbol=Ba("symbol");re.undefined=Ba("undefined");re.weakMap=rr("WeakMap");re.weakSet=rr("WeakSet");function DT(e){return function(n){return typeof n===e}}a(DT,"isOfType");var g6=DT("function"),v6=a(function(e){return e===null},"isNull"),cS=a(function(e){return Object.prototype.toString.call(e).slice(8,-1)==="RegExp"},"isRegex"),fS=a(function(e){return!b6(e)&&!v6(e)&&(g6(e)||typeof e=="object")},"isObject"),b6=DT("undefined"),am=function(e){var n=typeof Symbol=="function"&&Symbol.iterator,r=n&&e[n],o=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:a(function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}},"next")};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};function S6(e,n){var r=e.length;if(r!==n.length)return!1;for(var o=r;o--!==0;)if(!un(e[o],n[o]))return!1;return!0}a(S6,"equalArray");function x6(e,n){if(e.byteLength!==n.byteLength)return!1;for(var r=new DataView(e.buffer),o=new DataView(n.buffer),l=e.byteLength;l--;)if(r.getUint8(l)!==o.getUint8(l))return!1;return!0}a(x6,"equalArrayBuffer");function w6(e,n){var r,o,l,u;if(e.size!==n.size)return!1;try{for(var f=am(e.entries()),d=f.next();!d.done;d=f.next()){var p=d.value;if(!n.has(p[0]))return!1}}catch(g){r={error:g}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}try{for(var h=am(e.entries()),m=h.next();!m.done;m=h.next()){var p=m.value;if(!un(p[1],n.get(p[0])))return!1}}catch(g){l={error:g}}finally{try{m&&!m.done&&(u=h.return)&&u.call(h)}finally{if(l)throw l.error}}return!0}a(w6,"equalMap");function E6(e,n){var r,o;if(e.size!==n.size)return!1;try{for(var l=am(e.entries()),u=l.next();!u.done;u=l.next()){var f=u.value;if(!n.has(f[0]))return!1}}catch(d){r={error:d}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}return!0}a(E6,"equalSet");function un(e,n){if(e===n)return!0;if(e&&fS(e)&&n&&fS(n)){if(e.constructor!==n.constructor)return!1;if(Array.isArray(e)&&Array.isArray(n))return S6(e,n);if(e instanceof Map&&n instanceof Map)return w6(e,n);if(e instanceof Set&&n instanceof Set)return E6(e,n);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(n))return x6(e,n);if(cS(e)&&cS(n))return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();var r=Object.keys(e),o=Object.keys(n);if(r.length!==o.length)return!1;for(var l=r.length;l--!==0;)if(!Object.prototype.hasOwnProperty.call(n,r[l]))return!1;for(var l=r.length;l--!==0;){var u=r[l];if(!(u==="_owner"&&e.$$typeof)&&!un(e[u],n[u]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(n)?!0:e===n}a(un,"equal");function C6(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.every(function(r){return re.string(r)||re.array(r)||re.plainObject(r)})}a(C6,"canHaveLength");function T6(e,n,r){return PT(e,n)?[e,n].every(re.array)?!e.some(yS(r))&&n.some(yS(r)):[e,n].every(re.plainObject)?!Object.entries(e).some(mS(r))&&Object.entries(n).some(mS(r)):n===r:!1}a(T6,"checkEquality");function dS(e,n,r){var o=r.actual,l=r.key,u=r.previous,f=r.type,d=mr(e,l),p=mr(n,l),h=[d,p].every(re.number)&&(f==="increased"?d<p:d>p);return re.undefined(o)||(h=h&&p===o),re.undefined(u)||(h=h&&d===u),h}a(dS,"compareNumbers");function pS(e,n,r){var o=r.key,l=r.type,u=r.value,f=mr(e,o),d=mr(n,o),p=l==="added"?f:d,h=l==="added"?d:f;if(!re.nullOrUndefined(u)){if(re.defined(p)){if(re.array(p)||re.plainObject(p))return T6(p,h,u)}else return un(h,u);return!1}return[f,d].every(re.array)?!h.every(xy(p)):[f,d].every(re.plainObject)?R6(Object.keys(p),Object.keys(h)):![f,d].every(function(m){return re.primitive(m)&&re.defined(m)})&&(l==="added"?!re.defined(f)&&re.defined(d):re.defined(f)&&!re.defined(d))}a(pS,"compareValues");function hS(e,n,r){var o=r===void 0?{}:r,l=o.key,u=mr(e,l),f=mr(n,l);if(!PT(u,f))throw new TypeError("Inputs have different types");if(!C6(u,f))throw new TypeError("Inputs don't have length");return[u,f].every(re.plainObject)&&(u=Object.keys(u),f=Object.keys(f)),[u,f]}a(hS,"getIterables");function mS(e){return function(n){var r=n[0],o=n[1];return re.array(e)?un(e,o)||e.some(function(l){return un(l,o)||re.array(o)&&xy(o)(l)}):re.plainObject(e)&&e[r]?!!e[r]&&un(e[r],o):un(e,o)}}a(mS,"hasEntry");function R6(e,n){return n.some(function(r){return!e.includes(r)})}a(R6,"hasExtraKeys");function yS(e){return function(n){return re.array(e)?e.some(function(r){return un(r,n)||re.array(n)&&xy(n)(r)}):un(e,n)}}a(yS,"hasValue");function Il(e,n){return re.array(e)?e.some(function(r){return un(r,n)}):un(e,n)}a(Il,"includesOrEqualsTo");function xy(e){return function(n){return e.some(function(r){return un(r,n)})}}a(xy,"isEqualPredicate");function PT(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.every(re.array)||e.every(re.number)||e.every(re.plainObject)||e.every(re.string)}a(PT,"isSameType");function mr(e,n){if(re.plainObject(e)||re.array(e)){if(re.string(n)){var r=n.split(".");return r.reduce(function(o,l){return o&&o[l]},e)}return re.number(n)?e[n]:e}return e}a(mr,"nested");function O6(e,n){if([e,n].some(re.nullOrUndefined))throw new Error("Missing required parameters");if(![e,n].every(function(g){return re.plainObject(g)||re.array(g)}))throw new Error("Expected plain objects or array");var r=a(function(g,b){try{return pS(e,n,{key:g,type:"added",value:b})}catch{return!1}},"added"),o=a(function(g,b,S){try{var E=mr(e,g),w=mr(n,g),R=re.defined(b),T=re.defined(S);if(R||T){var O=T?Il(S,E):!Il(b,E),M=Il(b,w);return O&&M}return[E,w].every(re.array)||[E,w].every(re.plainObject)?!un(E,w):E!==w}catch{return!1}},"changed"),l=a(function(g,b,S){if(!re.defined(g))return!1;try{var E=mr(e,g),w=mr(n,g),R=re.defined(S);return Il(b,E)&&(R?Il(S,w):!R)}catch{return!1}},"changedFrom"),u=a(function(g,b){return re.defined(g)?o(g,b):!1},"changedTo"),f=a(function(g,b,S){if(!re.defined(g))return!1;try{return dS(e,n,{key:g,actual:b,previous:S,type:"decreased"})}catch{return!1}},"decreased"),d=a(function(g){try{var b=hS(e,n,{key:g}),S=b[0],E=b[1];return!!S.length&&!E.length}catch{return!1}},"emptied"),p=a(function(g){try{var b=hS(e,n,{key:g}),S=b[0],E=b[1];return!S.length&&!!E.length}catch{return!1}},"filled"),h=a(function(g,b,S){if(!re.defined(g))return!1;try{return dS(e,n,{key:g,actual:b,previous:S,type:"increased"})}catch{return!1}},"increased"),m=a(function(g,b){try{return pS(e,n,{key:g,type:"removed",value:b})}catch{return!1}},"removed");return{added:r,changed:o,changedFrom:l,changedTo:u,decreased:f,emptied:d,filled:p,increased:h,removed:m}}a(O6,"treeChanges");function gS(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),r.push.apply(r,o)}return r}a(gS,"ownKeys");function mt(e){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?gS(Object(r),!0).forEach(function(o){$t(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gS(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}a(mt,"_objectSpread2");function Ts(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}a(Ts,"_classCallCheck");function A6(e,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,zT(o.key),o)}}a(A6,"_defineProperties");function Rs(e,n,r){return n&&A6(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}a(Rs,"_createClass");function $t(e,n,r){return n=zT(n),n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}a($t,"_defineProperty");function Os(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lm(e,n)}a(Os,"_inherits");function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():a(function(r){return r.__proto__||Object.getPrototypeOf(r)},"_getPrototypeOf"),Dc(e)}a(Dc,"_getPrototypeOf");function lm(e,n){return lm=Object.setPrototypeOf?Object.setPrototypeOf.bind():a(function(o,l){return o.__proto__=l,o},"_setPrototypeOf"),lm(e,n)}a(lm,"_setPrototypeOf");function _6(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}a(_6,"_isNativeReflectConstruct");function M6(e,n){if(e==null)return{};var r={},o=Object.keys(e),l,u;for(u=0;u<o.length;u++)l=o[u],!(n.indexOf(l)>=0)&&(r[l]=e[l]);return r}a(M6,"_objectWithoutPropertiesLoose");function LT(e,n){if(e==null)return{};var r=M6(e,n),o,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(l=0;l<u.length;l++)o=u[l],!(n.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}a(LT,"_objectWithoutProperties");function Gr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}a(Gr,"_assertThisInitialized");function N6(e,n){if(n&&(typeof n=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Gr(e)}a(N6,"_possibleConstructorReturn");function As(e){var n=_6();return a(function(){var o=Dc(e),l;if(n){var u=Dc(this).constructor;l=Reflect.construct(o,arguments,u)}else l=o.apply(this,arguments);return N6(this,l)},"_createSuperInternal")}a(As,"_createSuper");function k6(e,n){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,n);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}a(k6,"_toPrimitive");function zT(e){var n=k6(e,"string");return typeof n=="symbol"?n:String(n)}a(zT,"_toPropertyKey");var D6={flip:{padding:20},preventOverflow:{padding:10}},P6="The typeValidator argument must be a function with the signature function(props, propName, componentName).",L6="The error message is optional, but must be a string if provided.";function z6(e,n,r,o){return typeof e=="boolean"?e:typeof e=="function"?e(n,r,o):e?!!e:!1}a(z6,"propIsRequired");function j6(e,n){return Object.hasOwnProperty.call(e,n)}a(j6,"propExists");function I6(e,n,r,o){return new Error("Required ".concat(e[n]," `").concat(n,"` was not specified in `").concat(r,"`."))}a(I6,"missingPropError");function B6(e,n){if(typeof e!="function")throw new TypeError(P6);if(n&&typeof n!="string")throw new TypeError(L6)}a(B6,"guardAgainstInvalidArgTypes");function vS(e,n,r){return B6(e,r),function(o,l,u){for(var f=arguments.length,d=new Array(f>3?f-3:0),p=3;p<f;p++)d[p-3]=arguments[p];return z6(n,o,l,u)?j6(o,l)?e.apply(void 0,[o,l,u].concat(d)):I6(o,l,u):e.apply(void 0,[o,l,u].concat(d))}}a(vS,"isRequiredIf");var Ke={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing"},Bl=Xl.createPortal!==void 0;function ur(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}a(ur,"canUseDOM$1");function dh(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}a(dh,"isMobile");function nc(e){var n=e.title,r=e.data,o=e.warn,l=o===void 0?!1:o,u=e.debug,f=u===void 0?!1:u,d=l?console.warn||console.error:console.log;f&&n&&r&&(console.groupCollapsed("%creact-floater: ".concat(n),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(r)?r.forEach(function(p){re.plainObject(p)&&p.key?d.apply(console,[p.key,p.value]):d.apply(console,[p])}):d.apply(console,[r]),console.groupEnd())}a(nc,"log$1");function H6(e,n,r){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e.addEventListener(n,r,o)}a(H6,"on");function U6(e,n,r){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e.removeEventListener(n,r,o)}a(U6,"off");function F6(e,n,r){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,l;l=a(function(f){r(f),U6(e,n,l)},"nextCB"),H6(e,n,l,o)}a(F6,"once");function bS(){}a(bS,"noop$1");var jT=(function(e){Os(r,e);var n=As(r);function r(){return Ts(this,r),n.apply(this,arguments)}return a(r,"ReactFloaterPortal"),Rs(r,[{key:"componentDidMount",value:a(function(){ur()&&(this.node||this.appendNode(),Bl||this.renderPortal())},"componentDidMount")},{key:"componentDidUpdate",value:a(function(){ur()&&(Bl||this.renderPortal())},"componentDidUpdate")},{key:"componentWillUnmount",value:a(function(){!ur()||!this.node||(Bl||Xl.unmountComponentAtNode(this.node),this.node&&this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=void 0))},"componentWillUnmount")},{key:"appendNode",value:a(function(){var l=this.props,u=l.id,f=l.zIndex;this.node||(this.node=document.createElement("div"),u&&(this.node.id=u),f&&(this.node.style.zIndex=f),document.body.appendChild(this.node))},"appendNode")},{key:"renderPortal",value:a(function(){if(!ur())return null;var l=this.props,u=l.children,f=l.setRef;if(this.node||this.appendNode(),Bl)return Xl.createPortal(u,this.node);var d=Xl.unstable_renderSubtreeIntoContainer(this,u.length>1?_e.createElement("div",null,u):u[0],this.node);return f(d),null},"renderPortal")},{key:"renderReact16",value:a(function(){var l=this.props,u=l.hasChildren,f=l.placement,d=l.target;return u?this.renderPortal():d||f==="center"?this.renderPortal():null},"renderReact16")},{key:"render",value:a(function(){return Bl?this.renderReact16():null},"render")}]),r})(_e.Component);$t(jT,"propTypes",{children:me.oneOfType([me.element,me.array]),hasChildren:me.bool,id:me.oneOfType([me.string,me.number]),placement:me.string,setRef:me.func.isRequired,target:me.oneOfType([me.object,me.string]),zIndex:me.number});var IT=(function(e){Os(r,e);var n=As(r);function r(){return Ts(this,r),n.apply(this,arguments)}return a(r,"FloaterArrow"),Rs(r,[{key:"parentStyle",get:a(function(){var l=this.props,u=l.placement,f=l.styles,d=f.arrow.length,p={pointerEvents:"none",position:"absolute",width:"100%"};return u.startsWith("top")?(p.bottom=0,p.left=0,p.right=0,p.height=d):u.startsWith("bottom")?(p.left=0,p.right=0,p.top=0,p.height=d):u.startsWith("left")?(p.right=0,p.top=0,p.bottom=0):u.startsWith("right")&&(p.left=0,p.top=0),p},"get")},{key:"render",value:a(function(){var l=this.props,u=l.placement,f=l.setArrowRef,d=l.styles,p=d.arrow,h=p.color,m=p.display,g=p.length,b=p.margin,S=p.position,E=p.spread,w={display:m,position:S},R,T=E,O=g;return u.startsWith("top")?(R="0,0 ".concat(T/2,",").concat(O," ").concat(T,",0"),w.bottom=0,w.marginLeft=b,w.marginRight=b):u.startsWith("bottom")?(R="".concat(T,",").concat(O," ").concat(T/2,",0 0,").concat(O),w.top=0,w.marginLeft=b,w.marginRight=b):u.startsWith("left")?(O=E,T=g,R="0,0 ".concat(T,",").concat(O/2," 0,").concat(O),w.right=0,w.marginTop=b,w.marginBottom=b):u.startsWith("right")&&(O=E,T=g,R="".concat(T,",").concat(O," ").concat(T,",0 0,").concat(O/2),w.left=0,w.marginTop=b,w.marginBottom=b),_e.createElement("div",{className:"__floater__arrow",style:this.parentStyle},_e.createElement("span",{ref:f,style:w},_e.createElement("svg",{width:T,height:O,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},_e.createElement("polygon",{points:R,fill:h}))))},"render")}]),r})(_e.Component);$t(IT,"propTypes",{placement:me.string.isRequired,setArrowRef:me.func.isRequired,styles:me.object.isRequired});var q6=["color","height","width"];function BT(e){var n=e.handleClick,r=e.styles,o=r.color,l=r.height,u=r.width,f=LT(r,q6);return _e.createElement("button",{"aria-label":"close",onClick:n,style:f,type:"button"},_e.createElement("svg",{width:"".concat(u,"px"),height:"".concat(l,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},_e.createElement("g",null,_e.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))}a(BT,"FloaterCloseBtn");BT.propTypes={handleClick:me.func.isRequired,styles:me.object.isRequired};function HT(e){var n=e.content,r=e.footer,o=e.handleClick,l=e.open,u=e.positionWrapper,f=e.showCloseButton,d=e.title,p=e.styles,h={content:_e.isValidElement(n)?n:_e.createElement("div",{className:"__floater__content",style:p.content},n)};return d&&(h.title=_e.isValidElement(d)?d:_e.createElement("div",{className:"__floater__title",style:p.title},d)),r&&(h.footer=_e.isValidElement(r)?r:_e.createElement("div",{className:"__floater__footer",style:p.footer},r)),(f||u)&&!re.boolean(l)&&(h.close=_e.createElement(BT,{styles:p.close,handleClick:o})),_e.createElement("div",{className:"__floater__container",style:p.container},h.close,h.title,h.content,h.footer)}a(HT,"FloaterContainer");HT.propTypes={content:me.node.isRequired,footer:me.node,handleClick:me.func.isRequired,open:me.bool,positionWrapper:me.bool.isRequired,showCloseButton:me.bool.isRequired,styles:me.object.isRequired,title:me.node};var UT=(function(e){Os(r,e);var n=As(r);function r(){return Ts(this,r),n.apply(this,arguments)}return a(r,"Floater"),Rs(r,[{key:"style",get:a(function(){var l=this.props,u=l.disableAnimation,f=l.component,d=l.placement,p=l.hideArrow,h=l.status,m=l.styles,g=m.arrow.length,b=m.floater,S=m.floaterCentered,E=m.floaterClosing,w=m.floaterOpening,R=m.floaterWithAnimation,T=m.floaterWithComponent,O={};return p||(d.startsWith("top")?O.padding="0 0 ".concat(g,"px"):d.startsWith("bottom")?O.padding="".concat(g,"px 0 0"):d.startsWith("left")?O.padding="0 ".concat(g,"px 0 0"):d.startsWith("right")&&(O.padding="0 0 0 ".concat(g,"px"))),[Ke.OPENING,Ke.OPEN].indexOf(h)!==-1&&(O=mt(mt({},O),w)),h===Ke.CLOSING&&(O=mt(mt({},O),E)),h===Ke.OPEN&&!u&&(O=mt(mt({},O),R)),d==="center"&&(O=mt(mt({},O),S)),f&&(O=mt(mt({},O),T)),mt(mt({},b),O)},"get")},{key:"render",value:a(function(){var l=this.props,u=l.component,f=l.handleClick,d=l.hideArrow,p=l.setFloaterRef,h=l.status,m={},g=["__floater"];return u?_e.isValidElement(u)?m.content=_e.cloneElement(u,{closeFn:f}):m.content=u({closeFn:f}):m.content=_e.createElement(HT,this.props),h===Ke.OPEN&&g.push("__floater__open"),d||(m.arrow=_e.createElement(IT,this.props)),_e.createElement("div",{ref:p,className:g.join(" "),style:this.style},_e.createElement("div",{className:"__floater__body"},m.content,m.arrow))},"render")}]),r})(_e.Component);$t(UT,"propTypes",{component:me.oneOfType([me.func,me.element]),content:me.node,disableAnimation:me.bool.isRequired,footer:me.node,handleClick:me.func.isRequired,hideArrow:me.bool.isRequired,open:me.bool,placement:me.string.isRequired,positionWrapper:me.bool.isRequired,setArrowRef:me.func.isRequired,setFloaterRef:me.func.isRequired,showCloseButton:me.bool,status:me.string.isRequired,styles:me.object.isRequired,title:me.node});var FT=(function(e){Os(r,e);var n=As(r);function r(){return Ts(this,r),n.apply(this,arguments)}return a(r,"ReactFloaterWrapper"),Rs(r,[{key:"render",value:a(function(){var l=this.props,u=l.children,f=l.handleClick,d=l.handleMouseEnter,p=l.handleMouseLeave,h=l.setChildRef,m=l.setWrapperRef,g=l.style,b=l.styles,S;if(u)if(_e.Children.count(u)===1)if(!_e.isValidElement(u))S=_e.createElement("span",null,u);else{var E=re.function(u.type)?"innerRef":"ref";S=_e.cloneElement(_e.Children.only(u),$t({},E,h))}else S=u;return S?_e.createElement("span",{ref:m,style:mt(mt({},b),g),onClick:f,onMouseEnter:d,onMouseLeave:p},S):null},"render")}]),r})(_e.Component);$t(FT,"propTypes",{children:me.node,handleClick:me.func.isRequired,handleMouseEnter:me.func.isRequired,handleMouseLeave:me.func.isRequired,setChildRef:me.func.isRequired,setWrapperRef:me.func.isRequired,style:me.object,styles:me.object.isRequired});var $6={zIndex:100};function V6(e){var n=Xn($6,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:n.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:n.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:n}}a(V6,"getStyles$1");var G6=["arrow","flip","offset"],Y6=["position","top","right","bottom","left"],wy=(function(e){Os(r,e);var n=As(r);function r(o){var l;return Ts(this,r),l=n.call(this,o),$t(Gr(l),"setArrowRef",function(u){l.arrowRef=u}),$t(Gr(l),"setChildRef",function(u){l.childRef=u}),$t(Gr(l),"setFloaterRef",function(u){l.floaterRef=u}),$t(Gr(l),"setWrapperRef",function(u){l.wrapperRef=u}),$t(Gr(l),"handleTransitionEnd",function(){var u=l.state.status,f=l.props.callback;l.wrapperPopper&&l.wrapperPopper.instance.update(),l.setState({status:u===Ke.OPENING?Ke.OPEN:Ke.IDLE},function(){var d=l.state.status;f(d===Ke.OPEN?"open":"close",l.props)})}),$t(Gr(l),"handleClick",function(){var u=l.props,f=u.event,d=u.open;if(!re.boolean(d)){var p=l.state,h=p.positionWrapper,m=p.status;(l.event==="click"||l.event==="hover"&&h)&&(nc({title:"click",data:[{event:f,status:m===Ke.OPEN?"closing":"opening"}],debug:l.debug}),l.toggle())}}),$t(Gr(l),"handleMouseEnter",function(){var u=l.props,f=u.event,d=u.open;if(!(re.boolean(d)||dh())){var p=l.state.status;l.event==="hover"&&p===Ke.IDLE&&(nc({title:"mouseEnter",data:[{key:"originalEvent",value:f}],debug:l.debug}),clearTimeout(l.eventDelayTimeout),l.toggle())}}),$t(Gr(l),"handleMouseLeave",function(){var u=l.props,f=u.event,d=u.eventDelay,p=u.open;if(!(re.boolean(p)||dh())){var h=l.state,m=h.status,g=h.positionWrapper;l.event==="hover"&&(nc({title:"mouseLeave",data:[{key:"originalEvent",value:f}],debug:l.debug}),d?[Ke.OPENING,Ke.OPEN].indexOf(m)!==-1&&!g&&!l.eventDelayTimeout&&(l.eventDelayTimeout=setTimeout(function(){delete l.eventDelayTimeout,l.toggle()},d*1e3)):l.toggle(Ke.IDLE))}}),l.state={currentPlacement:o.placement,needsUpdate:!1,positionWrapper:o.wrapperOptions.position&&!!o.target,status:Ke.INIT,statusWrapper:Ke.INIT},l._isMounted=!1,l.hasMounted=!1,ur()&&window.addEventListener("load",function(){l.popper&&l.popper.instance.update(),l.wrapperPopper&&l.wrapperPopper.instance.update()}),l}return a(r,"ReactFloater"),Rs(r,[{key:"componentDidMount",value:a(function(){if(ur()){var l=this.state.positionWrapper,u=this.props,f=u.children,d=u.open,p=u.target;this._isMounted=!0,nc({title:"init",data:{hasChildren:!!f,hasTarget:!!p,isControlled:re.boolean(d),positionWrapper:l,target:this.target,floater:this.floaterRef},debug:this.debug}),this.hasMounted||(this.initPopper(),this.hasMounted=!0),!f&&p&&re.boolean(d)}},"componentDidMount")},{key:"componentDidUpdate",value:a(function(l,u){if(ur()){var f=this.props,d=f.autoOpen,p=f.open,h=f.target,m=f.wrapperOptions,g=O6(u,this.state),b=g.changedFrom,S=g.changed;if(l.open!==p){var E;re.boolean(p)&&(E=p?Ke.OPENING:Ke.CLOSING),this.toggle(E)}(l.wrapperOptions.position!==m.position||l.target!==h)&&this.changeWrapperPosition(this.props),S("status",Ke.IDLE)&&p?this.toggle(Ke.OPEN):b("status",Ke.INIT,Ke.IDLE)&&d&&this.toggle(Ke.OPEN),this.popper&&S("status",Ke.OPENING)&&this.popper.instance.update(),this.floaterRef&&(S("status",Ke.OPENING)||S("status",Ke.CLOSING))&&F6(this.floaterRef,"transitionend",this.handleTransitionEnd),S("needsUpdate",!0)&&this.rebuildPopper()}},"componentDidUpdate")},{key:"componentWillUnmount",value:a(function(){ur()&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())},"componentWillUnmount")},{key:"initPopper",value:a(function(){var l=this,u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.target,f=this.state.positionWrapper,d=this.props,p=d.disableFlip,h=d.getPopper,m=d.hideArrow,g=d.offset,b=d.placement,S=d.wrapperOptions,E=b==="top"||b==="bottom"?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if(b==="center")this.setState({status:Ke.IDLE});else if(u&&this.floaterRef){var w=this.options,R=w.arrow,T=w.flip,O=w.offset,M=LT(w,G6);new ls(u,this.floaterRef,{placement:b,modifiers:mt({arrow:mt({enabled:!m,element:this.arrowRef},R),flip:mt({enabled:!p,behavior:E},T),offset:mt({offset:"0, ".concat(g,"px")},O)},M),onCreate:a(function(D){var P;if(l.popper=D,!((P=l.floaterRef)!==null&&P!==void 0&&P.isConnected)){l.setState({needsUpdate:!0});return}h(D,"floater"),l._isMounted&&l.setState({currentPlacement:D.placement,status:Ke.IDLE}),b!==D.placement&&setTimeout(function(){D.instance.update()},1)},"onCreate"),onUpdate:a(function(D){l.popper=D;var P=l.state.currentPlacement;l._isMounted&&D.placement!==P&&l.setState({currentPlacement:D.placement})},"onUpdate")})}if(f){var L=re.undefined(S.offset)?0:S.offset;new ls(this.target,this.wrapperRef,{placement:S.placement||b,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(L,"px")},flip:{enabled:!1}},onCreate:a(function(D){l.wrapperPopper=D,l._isMounted&&l.setState({statusWrapper:Ke.IDLE}),h(D,"wrapper"),b!==D.placement&&setTimeout(function(){D.instance.update()},1)},"onCreate")})}},"initPopper")},{key:"rebuildPopper",value:a(function(){var l=this;this.floaterRefInterval=setInterval(function(){var u;(u=l.floaterRef)!==null&&u!==void 0&&u.isConnected&&(clearInterval(l.floaterRefInterval),l.setState({needsUpdate:!1}),l.initPopper())},50)},"rebuildPopper")},{key:"changeWrapperPosition",value:a(function(l){var u=l.target,f=l.wrapperOptions;this.setState({positionWrapper:f.position&&!!u})},"changeWrapperPosition")},{key:"toggle",value:a(function(l){var u=this.state.status,f=u===Ke.OPEN?Ke.CLOSING:Ke.OPENING;re.undefined(l)||(f=l),this.setState({status:f})},"toggle")},{key:"debug",get:a(function(){var l=this.props.debug;return l||ur()&&"ReactFloaterDebug"in window&&!!window.ReactFloaterDebug},"get")},{key:"event",get:a(function(){var l=this.props,u=l.disableHoverToClick,f=l.event;return f==="hover"&&dh()&&!u?"click":f},"get")},{key:"options",get:a(function(){var l=this.props.options;return Xn(D6,l||{})},"get")},{key:"styles",get:a(function(){var l=this,u=this.state,f=u.status,d=u.positionWrapper,p=u.statusWrapper,h=this.props.styles,m=Xn(V6(h),h);if(d){var g;[Ke.IDLE].indexOf(f)===-1||[Ke.IDLE].indexOf(p)===-1?g=m.wrapperPosition:g=this.wrapperPopper.styles,m.wrapper=mt(mt({},m.wrapper),g)}if(this.target){var b=window.getComputedStyle(this.target);this.wrapperStyles?m.wrapper=mt(mt({},m.wrapper),this.wrapperStyles):["relative","static"].indexOf(b.position)===-1&&(this.wrapperStyles={},d||(Y6.forEach(function(S){l.wrapperStyles[S]=b[S]}),m.wrapper=mt(mt({},m.wrapper),this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return m},"get")},{key:"target",get:a(function(){if(!ur())return null;var l=this.props.target;return l?re.domElement(l)?l:document.querySelector(l):this.childRef||this.wrapperRef},"get")},{key:"render",value:a(function(){var l=this.state,u=l.currentPlacement,f=l.positionWrapper,d=l.status,p=this.props,h=p.children,m=p.component,g=p.content,b=p.disableAnimation,S=p.footer,E=p.hideArrow,w=p.id,R=p.open,T=p.showCloseButton,O=p.style,M=p.target,L=p.title,B=_e.createElement(FT,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:O,styles:this.styles.wrapper},h),D={};return f?D.wrapperInPortal=B:D.wrapperAsChildren=B,_e.createElement("span",null,_e.createElement(jT,{hasChildren:!!h,id:w,placement:u,setRef:this.setFloaterRef,target:M,zIndex:this.styles.options.zIndex},_e.createElement(UT,{component:m,content:g,disableAnimation:b,footer:S,handleClick:this.handleClick,hideArrow:E||u==="center",open:R,placement:u,positionWrapper:f,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:T,status:d,styles:this.styles,title:L}),D.wrapperInPortal),D.wrapperAsChildren)},"render")}]),r})(_e.Component);$t(wy,"propTypes",{autoOpen:me.bool,callback:me.func,children:me.node,component:vS(me.oneOfType([me.func,me.element]),function(e){return!e.content}),content:vS(me.node,function(e){return!e.component}),debug:me.bool,disableAnimation:me.bool,disableFlip:me.bool,disableHoverToClick:me.bool,event:me.oneOf(["hover","click"]),eventDelay:me.number,footer:me.node,getPopper:me.func,hideArrow:me.bool,id:me.oneOfType([me.string,me.number]),offset:me.number,open:me.bool,options:me.object,placement:me.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:me.bool,style:me.object,styles:me.object,target:me.oneOfType([me.object,me.string]),title:me.node,wrapperOptions:me.shape({offset:me.number,placement:me.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:me.bool})});$t(wy,"defaultProps",{autoOpen:!1,callback:bS,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:bS,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}});var Q6=Object.defineProperty,K6=a((e,n,r)=>n in e?Q6(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,"__defNormalProp"),Ee=a((e,n,r)=>K6(e,typeof n!="symbol"?n+"":n,r),"__publicField"),tt={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},Kn={TOUR_START:"tour:start",STEP_BEFORE:"step:before",BEACON:"beacon",TOOLTIP:"tooltip",STEP_AFTER:"step:after",TOUR_END:"tour:end",TOUR_STATUS:"tour:status",TARGET_NOT_FOUND:"error:target_not_found"},Pe={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},Ye={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished"};function Ai(){var e;return!!(typeof window<"u"&&((e=window.document)!=null&&e.createElement))}a(Ai,"canUseDOM");function qT(e){return e?e.getBoundingClientRect():null}a(qT,"getClientRect");function X6(e=!1){const{body:n,documentElement:r}=document;if(!n||!r)return 0;if(e){const o=[n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight].sort((u,f)=>u-f),l=Math.floor(o.length/2);return o.length%2===0?(o[l-1]+o[l])/2:o[l]}return Math.max(n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight)}a(X6,"getDocumentHeight");function Qr(e){if(typeof e=="string")try{return document.querySelector(e)}catch{return null}return e}a(Qr,"getElement");function W6(e){return!e||e.nodeType!==1?null:getComputedStyle(e)}a(W6,"getStyleComputedProperty");function ss(e,n,r){if(!e)return oo();const o=yT(e);if(o){if(o.isSameNode(oo()))return r?document:oo();if(!(o.scrollHeight>o.offsetHeight)&&!n)return o.style.overflow="initial",oo()}return o}a(ss,"getScrollParent");function pf(e,n){if(!e)return!1;const r=ss(e,n);return r?!r.isSameNode(oo()):!1}a(pf,"hasCustomScrollParent");function Z6(e){return e.offsetParent!==document.body}a(Z6,"hasCustomOffsetParent");function Aa(e,n="fixed"){if(!e||!(e instanceof HTMLElement))return!1;const{nodeName:r}=e,o=W6(e);return r==="BODY"||r==="HTML"?!1:o&&o.position===n?!0:e.parentNode?Aa(e.parentNode,n):!1}a(Aa,"hasPosition");function J6(e){var n;if(!e)return!1;let r=e;for(;r&&r!==document.body;){if(r instanceof HTMLElement){const{display:o,visibility:l}=getComputedStyle(r);if(o==="none"||l==="hidden")return!1}r=(n=r.parentElement)!=null?n:null}return!0}a(J6,"isElementVisible");function ej(e,n,r){var o,l,u;const f=qT(e),d=ss(e,r),p=pf(e,r),h=Aa(e);let m=0,g=(o=f?.top)!=null?o:0;if(p&&h){const b=(l=e?.offsetTop)!=null?l:0,S=(u=d?.scrollTop)!=null?u:0;g=b-S}else d instanceof HTMLElement&&(m=d.scrollTop,!p&&!Aa(e)&&(g+=m),d.isSameNode(oo())||(g+=oo().scrollTop));return Math.floor(g-n)}a(ej,"getElementPosition");function tj(e,n,r){var o;if(!e)return 0;const{offsetTop:l=0,scrollTop:u=0}=(o=yT(e))!=null?o:{};let f=e.getBoundingClientRect().top+u;l&&(pf(e,r)||Z6(e))&&(f-=l);const d=Math.floor(f-n);return d<0?0:d}a(tj,"getScrollTo");function oo(){var e;return(e=document.scrollingElement)!=null?e:document.documentElement}a(oo,"scrollDocument");function nj(e,n){const{duration:r,element:o}=n;return new Promise((l,u)=>{const{scrollTop:f}=o,d=e>f?e-f:f-e;v5.top(o,e,{duration:d<100?50:r},p=>p&&p.message!=="Element already at target scroll position"?u(p):l())})}a(nj,"scrollTo");var Hl=yr.createPortal!==void 0;function $T(e=navigator.userAgent){let n=e;return typeof window>"u"?n="node":document.documentMode?n="ie":/Edge/.test(e)?n="edge":window.opera||e.includes(" OPR/")?n="opera":typeof window.InstallTrigger<"u"?n="firefox":window.chrome?n="chrome":/(Version\/([\d._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(n="safari"),n}a($T,"getBrowser");function hc(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}a(hc,"getObjectType");function cr(e,n={}){const{defaultValue:r,step:o,steps:l}=n;let u=eS(e);if(u)(u.includes("{step}")||u.includes("{steps}"))&&o&&l&&(u=u.replace("{step}",o.toString()).replace("{steps}",l.toString()));else if(x.isValidElement(e)&&!Object.values(e.props).length&&hc(e.type)==="function"){const f=e.type({});u=cr(f,n)}else u=eS(r);return u}a(cr,"getReactNodeText");function rj(e,n){return!we.plainObject(e)||!we.array(n)?!1:Object.keys(e).every(r=>n.includes(r))}a(rj,"hasValidKeys");function ij(e){const n=/^#?([\da-f])([\da-f])([\da-f])$/i,r=e.replace(n,(l,u,f,d)=>u+u+f+f+d+d),o=/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i.exec(r);return o?[parseInt(o[1],16),parseInt(o[2],16),parseInt(o[3],16)]:[]}a(ij,"hexToRGB");function SS(e){return e.disableBeacon||e.placement==="center"}a(SS,"hideBeacon");function xS(){return!["chrome","safari","firefox","opera"].includes($T())}a(xS,"isLegacy");function mo({data:e,debug:n=!1,title:r,warn:o=!1}){const l=o?console.warn||console.error:console.log;n&&(r&&e?(console.groupCollapsed(`%creact-joyride: ${r}`,"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(e)?e.forEach(u=>{we.plainObject(u)&&u.key?l.apply(console,[u.key,u.value]):l.apply(console,[u])}):l.apply(console,[e]),console.groupEnd()):console.error("Missing title or data props"))}a(mo,"log");function oj(e){return Object.keys(e)}a(oj,"objectKeys");function VT(e,...n){if(!we.plainObject(e))throw new TypeError("Expected an object");const r={};for(const o in e)({}).hasOwnProperty.call(e,o)&&(n.includes(o)||(r[o]=e[o]));return r}a(VT,"omit");function aj(e,...n){if(!we.plainObject(e))throw new TypeError("Expected an object");if(!n.length)return e;const r={};for(const o in e)({}).hasOwnProperty.call(e,o)&&n.includes(o)&&(r[o]=e[o]);return r}a(aj,"pick");function sm(e,n,r){const o=a(u=>u.replace("{step}",String(n)).replace("{steps}",String(r)),"replacer");if(hc(e)==="string")return o(e);if(!x.isValidElement(e))return e;const{children:l}=e.props;if(hc(l)==="string"&&l.includes("{step}"))return x.cloneElement(e,{children:o(l)});if(Array.isArray(l))return x.cloneElement(e,{children:l.map(u=>typeof u=="string"?o(u):sm(u,n,r))});if(hc(e.type)==="function"&&!Object.values(e.props).length){const u=e.type({});return sm(u,n,r)}return e}a(sm,"replaceLocaleContent");function lj(e){const{isFirstStep:n,lifecycle:r,previousLifecycle:o,scrollToFirstStep:l,step:u,target:f}=e;return!u.disableScrolling&&(!n||l||r===Pe.TOOLTIP)&&u.placement!=="center"&&(!u.isFixed||!Aa(f))&&o!==r&&[Pe.BEACON,Pe.TOOLTIP].includes(r)}a(lj,"shouldScroll");var sj={options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},GT={back:"Back",close:"Close",last:"Last",next:"Next",nextLabelWithProgress:"Next (Step {step} of {steps})",open:"Open the dialog",skip:"Skip"},uj={event:"click",placement:"bottom",offset:10,disableBeacon:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrollParentFix:!1,disableScrolling:!1,hideBackButton:!1,hideCloseButton:!1,hideFooter:!1,isFixed:!1,locale:GT,showProgress:!1,showSkipButton:!1,spotlightClicks:!1,spotlightPadding:10},cj={continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:void 0,hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]},fj={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",width:380,zIndex:100},Ul={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},wS={borderRadius:4,position:"absolute"};function dj(e,n){var r,o,l,u,f;const{floaterProps:d,styles:p}=e,h=Xn((r=n.floaterProps)!=null?r:{},d??{}),m=Xn(p??{},(o=n.styles)!=null?o:{}),g=Xn(fj,m.options||{}),b=n.placement==="center"||n.disableBeacon;let{width:S}=g;window.innerWidth>480&&(S=380),"width"in g&&(S=typeof g.width=="number"&&window.innerWidth<g.width?window.innerWidth-30:g.width);const E={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:g.zIndex},w={beacon:{...Ul,display:b?"none":"inline-block",height:g.beaconSize,position:"relative",width:g.beaconSize,zIndex:g.zIndex},beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:g.primaryColor,borderRadius:"50%",display:"block",height:"50%",left:"50%",opacity:.7,position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"50%"},beaconOuter:{animation:"joyride-beacon-outer 1.2s infinite ease-in-out",backgroundColor:`rgba(${ij(g.primaryColor).join(",")}, 0.2)`,border:`2px solid ${g.primaryColor}`,borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},tooltip:{backgroundColor:g.backgroundColor,borderRadius:5,boxSizing:"border-box",color:g.textColor,fontSize:16,maxWidth:"100%",padding:15,position:"relative",width:S},tooltipContainer:{lineHeight:1.4,textAlign:"center"},tooltipTitle:{fontSize:18,margin:0},tooltipContent:{padding:"20px 10px"},tooltipFooter:{alignItems:"center",display:"flex",justifyContent:"flex-end",marginTop:15},tooltipFooterSpacer:{flex:1},buttonNext:{...Ul,backgroundColor:g.primaryColor,borderRadius:4,color:"#fff"},buttonBack:{...Ul,color:g.primaryColor,marginLeft:"auto",marginRight:5},buttonClose:{...Ul,color:g.textColor,height:14,padding:15,position:"absolute",right:0,top:0,width:14},buttonSkip:{...Ul,color:g.textColor,fontSize:14},overlay:{...E,backgroundColor:g.overlayColor,mixBlendMode:"hard-light"},overlayLegacy:{...E},overlayLegacyCenter:{...E,backgroundColor:g.overlayColor},spotlight:{...wS,backgroundColor:"gray"},spotlightLegacy:{...wS,boxShadow:`0 0 0 9999px ${g.overlayColor}, ${g.spotlightShadow}`},floaterStyles:{arrow:{color:(f=(u=(l=h?.styles)==null?void 0:l.arrow)==null?void 0:u.color)!=null?f:g.arrowColor},options:{zIndex:g.zIndex+100}},options:g};return Xn(w,m)}a(dj,"getStyles");function pj(e){return aj(e,"beaconComponent","disableCloseOnEsc","disableOverlay","disableOverlayClose","disableScrolling","disableScrollParentFix","floaterProps","hideBackButton","hideCloseButton","locale","showProgress","showSkipButton","spotlightClicks","spotlightPadding","styles","tooltipComponent")}a(pj,"getTourProps");function ca(e,n){var r,o,l,u,f,d;const p=n??{},h=Xn.all([uj,pj(e),p],{isMergeableObject:we.plainObject}),m=dj(e,h),g=pf(Qr(h.target),h.disableScrollParentFix),b=Xn.all([sj,(r=e.floaterProps)!=null?r:{},(o=h.floaterProps)!=null?o:{}]);return b.offset=h.offset,b.styles=Xn((l=b.styles)!=null?l:{},m.floaterStyles),b.offset+=(f=(u=e.spotlightPadding)!=null?u:h.spotlightPadding)!=null?f:0,h.placementBeacon&&b.wrapperOptions&&(b.wrapperOptions.placement=h.placementBeacon),g&&b.options.preventOverflow&&(b.options.preventOverflow.boundariesElement="window"),{...h,locale:Xn.all([GT,(d=e.locale)!=null?d:{},h.locale||{}]),floaterProps:b,styles:VT(m,"floaterStyles")}}a(ca,"getMergedStep");function YT(e,n=!1){return we.plainObject(e)?e.target?!0:(mo({title:"validateStep",data:"target is missing from the step",warn:!0,debug:n}),!1):(mo({title:"validateStep",data:"step must be an object",warn:!0,debug:n}),!1)}a(YT,"validateStep");function ES(e,n=!1){return we.array(e)?e.every(r=>YT(r,n)):(mo({title:"validateSteps",data:"steps must be an array",warn:!0,debug:n}),!1)}a(ES,"validateSteps");var QT={action:"init",controlled:!1,index:0,lifecycle:Pe.INIT,origin:null,size:0,status:Ye.IDLE},CS=oj(VT(QT,"controlled","size")),hj=class{static{a(this,"Store")}constructor(e){Ee(this,"beaconPopper"),Ee(this,"tooltipPopper"),Ee(this,"data",new Map),Ee(this,"listener"),Ee(this,"store",new Map),Ee(this,"addListener",l=>{this.listener=l}),Ee(this,"setSteps",l=>{const{size:u,status:f}=this.getState(),d={size:l.length,status:f};this.data.set("steps",l),f===Ye.WAITING&&!u&&l.length&&(d.status=Ye.RUNNING),this.setState(d)}),Ee(this,"getPopper",l=>l==="beacon"?this.beaconPopper:this.tooltipPopper),Ee(this,"setPopper",(l,u)=>{l==="beacon"?this.beaconPopper=u:this.tooltipPopper=u}),Ee(this,"cleanupPoppers",()=>{this.beaconPopper=null,this.tooltipPopper=null}),Ee(this,"close",(l=null)=>{const{index:u,status:f}=this.getState();f===Ye.RUNNING&&this.setState({...this.getNextState({action:tt.CLOSE,index:u+1,origin:l})})}),Ee(this,"go",l=>{const{controlled:u,status:f}=this.getState();if(u||f!==Ye.RUNNING)return;const d=this.getSteps()[l];this.setState({...this.getNextState({action:tt.GO,index:l}),status:d?f:Ye.FINISHED})}),Ee(this,"info",()=>this.getState()),Ee(this,"next",()=>{const{index:l,status:u}=this.getState();u===Ye.RUNNING&&this.setState(this.getNextState({action:tt.NEXT,index:l+1}))}),Ee(this,"open",()=>{const{status:l}=this.getState();l===Ye.RUNNING&&this.setState({...this.getNextState({action:tt.UPDATE,lifecycle:Pe.TOOLTIP})})}),Ee(this,"prev",()=>{const{index:l,status:u}=this.getState();u===Ye.RUNNING&&this.setState({...this.getNextState({action:tt.PREV,index:l-1})})}),Ee(this,"reset",(l=!1)=>{const{controlled:u}=this.getState();u||this.setState({...this.getNextState({action:tt.RESET,index:0}),status:l?Ye.RUNNING:Ye.READY})}),Ee(this,"skip",()=>{const{status:l}=this.getState();l===Ye.RUNNING&&this.setState({action:tt.SKIP,lifecycle:Pe.INIT,status:Ye.SKIPPED})}),Ee(this,"start",l=>{const{index:u,size:f}=this.getState();this.setState({...this.getNextState({action:tt.START,index:we.number(l)?l:u},!0),status:f?Ye.RUNNING:Ye.WAITING})}),Ee(this,"stop",(l=!1)=>{const{index:u,status:f}=this.getState();[Ye.FINISHED,Ye.SKIPPED].includes(f)||this.setState({...this.getNextState({action:tt.STOP,index:u+(l?1:0)}),status:Ye.PAUSED})}),Ee(this,"update",l=>{var u,f;if(!rj(l,CS))throw new Error(`State is not valid. Valid keys: ${CS.join(", ")}`);this.setState({...this.getNextState({...this.getState(),...l,action:(u=l.action)!=null?u:tt.UPDATE,origin:(f=l.origin)!=null?f:null},!0)})});const{continuous:n=!1,stepIndex:r,steps:o=[]}=e??{};this.setState({action:tt.INIT,controlled:we.number(r),continuous:n,index:we.number(r)?r:0,lifecycle:Pe.INIT,origin:null,status:o.length?Ye.READY:Ye.IDLE},!0),this.beaconPopper=null,this.tooltipPopper=null,this.listener=null,this.setSteps(o)}getState(){return this.store.size?{action:this.store.get("action")||"",controlled:this.store.get("controlled")||!1,index:parseInt(this.store.get("index"),10),lifecycle:this.store.get("lifecycle")||"",origin:this.store.get("origin")||null,size:this.store.get("size")||0,status:this.store.get("status")||""}:{...QT}}getNextState(e,n=!1){var r,o,l,u,f;const{action:d,controlled:p,index:h,size:m,status:g}=this.getState(),b=we.number(e.index)?e.index:h,S=p&&!n?h:Math.min(Math.max(b,0),m);return{action:(r=e.action)!=null?r:d,controlled:p,index:S,lifecycle:(o=e.lifecycle)!=null?o:Pe.INIT,origin:(l=e.origin)!=null?l:null,size:(u=e.size)!=null?u:m,status:S===m?Ye.FINISHED:(f=e.status)!=null?f:g}}getSteps(){const e=this.data.get("steps");return Array.isArray(e)?e:[]}hasUpdatedState(e){const n=JSON.stringify(e),r=JSON.stringify(this.getState());return n!==r}setState(e,n=!1){const r=this.getState(),{action:o,index:l,lifecycle:u,origin:f=null,size:d,status:p}={...r,...e};this.store.set("action",o),this.store.set("index",l),this.store.set("lifecycle",u),this.store.set("origin",f),this.store.set("size",d),this.store.set("status",p),n&&(this.store.set("controlled",e.controlled),this.store.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(r)&&this.listener(this.getState())}getHelpers(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}};function mj(e){return new hj(e)}a(mj,"createStore");function yj({styles:e}){return x.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight","data-test-id":"spotlight",style:e})}a(yj,"JoyrideSpotlight");var gj=yj,vj=class extends x.Component{static{a(this,"JoyrideOverlay")}constructor(){super(...arguments),Ee(this,"isActive",!1),Ee(this,"resizeTimeout"),Ee(this,"scrollTimeout"),Ee(this,"scrollParent"),Ee(this,"state",{isScrolling:!1,mouseOverSpotlight:!1,showSpotlight:!0}),Ee(this,"hideSpotlight",()=>{const{continuous:e,disableOverlay:n,lifecycle:r}=this.props,o=[Pe.INIT,Pe.BEACON,Pe.COMPLETE,Pe.ERROR];return n||(e?o.includes(r):r!==Pe.TOOLTIP)}),Ee(this,"handleMouseMove",e=>{const{mouseOverSpotlight:n}=this.state,{height:r,left:o,position:l,top:u,width:f}=this.spotlightStyles,d=l==="fixed"?e.clientY:e.pageY,p=l==="fixed"?e.clientX:e.pageX,h=d>=u&&d<=u+r,g=p>=o&&p<=o+f&&h;g!==n&&this.updateState({mouseOverSpotlight:g})}),Ee(this,"handleScroll",()=>{const{target:e}=this.props,n=Qr(e);if(this.scrollParent!==document){const{isScrolling:r}=this.state;r||this.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(this.scrollTimeout),this.scrollTimeout=window.setTimeout(()=>{this.updateState({isScrolling:!1,showSpotlight:!0})},50)}else Aa(n,"sticky")&&this.updateState({})}),Ee(this,"handleResize",()=>{clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(()=>{this.isActive&&this.forceUpdate()},100)})}componentDidMount(){const{debug:e,disableScrolling:n,disableScrollParentFix:r=!1,target:o}=this.props,l=Qr(o);this.scrollParent=ss(l??document.body,r,!0),this.isActive=!0,window.addEventListener("resize",this.handleResize)}componentDidUpdate(e){var n;const{disableScrollParentFix:r,lifecycle:o,spotlightClicks:l,target:u}=this.props,{changed:f}=Mc(e,this.props);if(f("target")||f("disableScrollParentFix")){const d=Qr(u);this.scrollParent=ss(d??document.body,r,!0)}f("lifecycle",Pe.TOOLTIP)&&((n=this.scrollParent)==null||n.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout(()=>{const{isScrolling:d}=this.state;d||this.updateState({showSpotlight:!0})},100)),(f("spotlightClicks")||f("disableOverlay")||f("lifecycle"))&&(l&&o===Pe.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):o!==Pe.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}componentWillUnmount(){var e;this.isActive=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),(e=this.scrollParent)==null||e.removeEventListener("scroll",this.handleScroll)}get overlayStyles(){const{mouseOverSpotlight:e}=this.state,{disableOverlayClose:n,placement:r,styles:o}=this.props;let l=o.overlay;return xS()&&(l=r==="center"?o.overlayLegacyCenter:o.overlayLegacy),{cursor:n?"default":"pointer",height:X6(),pointerEvents:e?"none":"auto",...l}}get spotlightStyles(){var e,n,r;const{showSpotlight:o}=this.state,{disableScrollParentFix:l=!1,spotlightClicks:u,spotlightPadding:f=0,styles:d,target:p}=this.props,h=Qr(p),m=qT(h),g=Aa(h),b=ej(h,f,l);return{...xS()?d.spotlightLegacy:d.spotlight,height:Math.round(((e=m?.height)!=null?e:0)+f*2),left:Math.round(((n=m?.left)!=null?n:0)-f),opacity:o?1:0,pointerEvents:u?"none":"auto",position:g?"fixed":"absolute",top:b,transition:"opacity 0.2s",width:Math.round(((r=m?.width)!=null?r:0)+f*2)}}updateState(e){this.isActive&&this.setState(n=>({...n,...e}))}render(){const{showSpotlight:e}=this.state,{onClickOverlay:n,placement:r}=this.props,{hideSpotlight:o,overlayStyles:l,spotlightStyles:u}=this;if(o())return null;let f=r!=="center"&&e&&x.createElement(gj,{styles:u});if($T()==="safari"){const{mixBlendMode:d,zIndex:p,...h}=l;f=x.createElement("div",{style:{...h}},f),delete l.backgroundColor}return x.createElement("div",{className:"react-joyride__overlay","data-test-id":"overlay",onClick:n,role:"presentation",style:l},f)}},bj=class extends x.Component{static{a(this,"JoyridePortal")}constructor(){super(...arguments),Ee(this,"node",null)}componentDidMount(){const{id:e}=this.props;Ai()&&(this.node=document.createElement("div"),this.node.id=e,document.body.appendChild(this.node),Hl||this.renderReact15())}componentDidUpdate(){Ai()&&(Hl||this.renderReact15())}componentWillUnmount(){!Ai()||!this.node||(Hl||yr.unmountComponentAtNode(this.node),this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=null))}renderReact15(){if(!Ai())return;const{children:e}=this.props;this.node&&yr.unstable_renderSubtreeIntoContainer(this,e,this.node)}renderReact16(){if(!Ai()||!Hl)return null;const{children:e}=this.props;return this.node?yr.createPortal(e,this.node):null}render(){return Hl?this.renderReact16():null}},Sj=class{static{a(this,"Scope")}constructor(e,n){if(Ee(this,"element"),Ee(this,"options"),Ee(this,"canBeTabbed",r=>{const{tabIndex:o}=r;return o===null||o<0?!1:this.canHaveFocus(r)}),Ee(this,"canHaveFocus",r=>{const o=/input|select|textarea|button|object/,l=r.nodeName.toLowerCase();return(o.test(l)&&!r.getAttribute("disabled")||l==="a"&&!!r.getAttribute("href"))&&this.isVisible(r)}),Ee(this,"findValidTabElements",()=>[].slice.call(this.element.querySelectorAll("*"),0).filter(this.canBeTabbed)),Ee(this,"handleKeyDown",r=>{const{code:o="Tab"}=this.options;r.code===o&&this.interceptTab(r)}),Ee(this,"interceptTab",r=>{r.preventDefault();const o=this.findValidTabElements(),{shiftKey:l}=r;if(!o.length)return;let u=document.activeElement?o.indexOf(document.activeElement):0;u===-1||!l&&u+1===o.length?u=0:l&&u===0?u=o.length-1:u+=l?-1:1,o[u].focus()}),Ee(this,"isHidden",r=>{const o=r.offsetWidth<=0&&r.offsetHeight<=0,l=window.getComputedStyle(r);return o&&!r.innerHTML?!0:o&&l.getPropertyValue("overflow")!=="visible"||l.getPropertyValue("display")==="none"}),Ee(this,"isVisible",r=>{let o=r;for(;o;)if(o instanceof HTMLElement){if(o===document.body)break;if(this.isHidden(o))return!1;o=o.parentNode}return!0}),Ee(this,"removeScope",()=>{window.removeEventListener("keydown",this.handleKeyDown)}),Ee(this,"checkFocus",r=>{document.activeElement!==r&&(r.focus(),window.requestAnimationFrame(()=>this.checkFocus(r)))}),Ee(this,"setFocus",()=>{const{selector:r}=this.options;if(!r)return;const o=this.element.querySelector(r);o&&window.requestAnimationFrame(()=>this.checkFocus(o))}),!(e instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=e,this.options=n,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()}},xj=class extends x.Component{static{a(this,"JoyrideBeacon")}constructor(e){if(super(e),Ee(this,"beacon",null),Ee(this,"setBeaconRef",l=>{this.beacon=l}),e.beaconComponent)return;const n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.id="joyride-beacon-animation",e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode(`
|
|
572
|
+
@keyframes joyride-beacon-inner {
|
|
573
|
+
20% {
|
|
574
|
+
opacity: 0.9;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
90% {
|
|
578
|
+
opacity: 0.7;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
@keyframes joyride-beacon-outer {
|
|
583
|
+
0% {
|
|
584
|
+
transform: scale(1);
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
45% {
|
|
588
|
+
opacity: 0.7;
|
|
589
|
+
transform: scale(0.75);
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
100% {
|
|
593
|
+
opacity: 0.9;
|
|
594
|
+
transform: scale(1);
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
`)),n.appendChild(r)}componentDidMount(){const{shouldFocus:e}=this.props;setTimeout(()=>{we.domElement(this.beacon)&&e&&this.beacon.focus()},0)}componentWillUnmount(){const e=document.getElementById("joyride-beacon-animation");e?.parentNode&&e.parentNode.removeChild(e)}render(){const{beaconComponent:e,continuous:n,index:r,isLastStep:o,locale:l,onClickOrHover:u,size:f,step:d,styles:p}=this.props,h=cr(l.open),m={"aria-label":h,onClick:u,onMouseEnter:u,ref:this.setBeaconRef,title:h};let g;if(e){const b=e;g=x.createElement(b,{continuous:n,index:r,isLastStep:o,size:f,step:d,...m})}else g=x.createElement("button",{key:"JoyrideBeacon",className:"react-joyride__beacon","data-test-id":"button-beacon",style:p.beacon,type:"button",...m},x.createElement("span",{style:p.beaconInner}),x.createElement("span",{style:p.beaconOuter}));return g}};function wj({styles:e,...n}){const{color:r,height:o,width:l,...u}=e;return _e.createElement("button",{style:u,type:"button",...n},_e.createElement("svg",{height:typeof o=="number"?`${o}px`:o,preserveAspectRatio:"xMidYMid",version:"1.1",viewBox:"0 0 18 18",width:typeof l=="number"?`${l}px`:l,xmlns:"http://www.w3.org/2000/svg"},_e.createElement("g",null,_e.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:r}))))}a(wj,"JoyrideTooltipCloseButton");var Ej=wj;function Cj(e){const{backProps:n,closeProps:r,index:o,isLastStep:l,primaryProps:u,skipProps:f,step:d,tooltipProps:p}=e,{content:h,hideBackButton:m,hideCloseButton:g,hideFooter:b,showSkipButton:S,styles:E,title:w}=d,R={};return R.primary=x.createElement("button",{"data-test-id":"button-primary",style:E.buttonNext,type:"button",...u}),S&&!l&&(R.skip=x.createElement("button",{"aria-live":"off","data-test-id":"button-skip",style:E.buttonSkip,type:"button",...f})),!m&&o>0&&(R.back=x.createElement("button",{"data-test-id":"button-back",style:E.buttonBack,type:"button",...n})),R.close=!g&&x.createElement(Ej,{"data-test-id":"button-close",styles:E.buttonClose,...r}),x.createElement("div",{key:"JoyrideTooltip","aria-label":cr(w??h),className:"react-joyride__tooltip",style:E.tooltip,...p},x.createElement("div",{style:E.tooltipContainer},w&&x.createElement("h1",{"aria-label":cr(w),style:E.tooltipTitle},w),x.createElement("div",{style:E.tooltipContent},h)),!b&&x.createElement("div",{style:E.tooltipFooter},x.createElement("div",{style:E.tooltipFooterSpacer},R.skip),R.back,R.primary),R.close)}a(Cj,"JoyrideTooltipContainer");var Tj=Cj,Rj=class extends x.Component{static{a(this,"JoyrideTooltip")}constructor(){super(...arguments),Ee(this,"handleClickBack",e=>{e.preventDefault();const{helpers:n}=this.props;n.prev()}),Ee(this,"handleClickClose",e=>{e.preventDefault();const{helpers:n}=this.props;n.close("button_close")}),Ee(this,"handleClickPrimary",e=>{e.preventDefault();const{continuous:n,helpers:r}=this.props;if(!n){r.close("button_primary");return}r.next()}),Ee(this,"handleClickSkip",e=>{e.preventDefault();const{helpers:n}=this.props;n.skip()}),Ee(this,"getElementsProps",()=>{const{continuous:e,index:n,isLastStep:r,setTooltipRef:o,size:l,step:u}=this.props,{back:f,close:d,last:p,next:h,nextLabelWithProgress:m,skip:g}=u.locale,b=cr(f),S=cr(d),E=cr(p),w=cr(h),R=cr(g);let T=d,O=S;if(e){if(T=h,O=w,u.showProgress&&!r){const M=cr(m,{step:n+1,steps:l});T=sm(m,n+1,l),O=M}r&&(T=p,O=E)}return{backProps:{"aria-label":b,children:f,"data-action":"back",onClick:this.handleClickBack,role:"button",title:b},closeProps:{"aria-label":S,children:d,"data-action":"close",onClick:this.handleClickClose,role:"button",title:S},primaryProps:{"aria-label":O,children:T,"data-action":"primary",onClick:this.handleClickPrimary,role:"button",title:O},skipProps:{"aria-label":R,children:g,"data-action":"skip",onClick:this.handleClickSkip,role:"button",title:R},tooltipProps:{"aria-modal":!0,ref:o,role:"alertdialog"}}})}render(){const{continuous:e,index:n,isLastStep:r,setTooltipRef:o,size:l,step:u}=this.props,{beaconComponent:f,tooltipComponent:d,...p}=u;let h;if(d){const m={...this.getElementsProps(),continuous:e,index:n,isLastStep:r,size:l,step:p,setTooltipRef:o},g=d;h=x.createElement(g,{...m})}else h=x.createElement(Tj,{...this.getElementsProps(),continuous:e,index:n,isLastStep:r,size:l,step:u});return h}},Oj=class extends x.Component{static{a(this,"JoyrideStep")}constructor(){super(...arguments),Ee(this,"scope",null),Ee(this,"tooltip",null),Ee(this,"handleClickHoverBeacon",e=>{const{step:n,store:r}=this.props;e.type==="mouseenter"&&n.event!=="hover"||r.update({lifecycle:Pe.TOOLTIP})}),Ee(this,"setTooltipRef",e=>{this.tooltip=e}),Ee(this,"setPopper",(e,n)=>{var r;const{action:o,lifecycle:l,step:u,store:f}=this.props;n==="wrapper"?f.setPopper("beacon",e):f.setPopper("tooltip",e),f.getPopper("beacon")&&(f.getPopper("tooltip")||u.placement==="center")&&l===Pe.INIT&&f.update({action:o,lifecycle:Pe.READY}),(r=u.floaterProps)!=null&&r.getPopper&&u.floaterProps.getPopper(e,n)}),Ee(this,"renderTooltip",e=>{const{continuous:n,helpers:r,index:o,size:l,step:u}=this.props;return x.createElement(Rj,{continuous:n,helpers:r,index:o,isLastStep:o+1===l,setTooltipRef:this.setTooltipRef,size:l,step:u,...e})})}componentDidMount(){const{debug:e,index:n}=this.props;mo({title:`step:${n}`,data:[{key:"props",value:this.props}],debug:e})}componentDidUpdate(e){var n;const{action:r,callback:o,continuous:l,controlled:u,debug:f,helpers:d,index:p,lifecycle:h,shouldScroll:m,status:g,step:b,store:S}=this.props,{changed:E,changedFrom:w}=Mc(e,this.props),R=d.info(),T=l&&r!==tt.CLOSE&&(p>0||r===tt.PREV),O=E("action")||E("index")||E("lifecycle")||E("status"),M=w("lifecycle",[Pe.TOOLTIP,Pe.INIT],Pe.INIT),L=E("action",[tt.NEXT,tt.PREV,tt.SKIP,tt.CLOSE]),B=u&&p===e.index;if(L&&(M||B)&&o({...R,index:e.index,lifecycle:Pe.COMPLETE,step:e.step,type:Kn.STEP_AFTER}),b.placement==="center"&&g===Ye.RUNNING&&E("index")&&r!==tt.START&&h===Pe.INIT&&S.update({lifecycle:Pe.READY}),O){const D=Qr(b.target),P=!!D;P&&J6(D)?(w("status",Ye.READY,Ye.RUNNING)||w("lifecycle",Pe.INIT,Pe.READY))&&o({...R,step:b,type:Kn.STEP_BEFORE}):(console.warn(P?"Target not visible":"Target not mounted",b),o({...R,type:Kn.TARGET_NOT_FOUND,step:b}),u||S.update({index:p+(r===tt.PREV?-1:1)}))}w("lifecycle",Pe.INIT,Pe.READY)&&S.update({lifecycle:SS(b)||T?Pe.TOOLTIP:Pe.BEACON}),E("index")&&mo({title:`step:${h}`,data:[{key:"props",value:this.props}],debug:f}),E("lifecycle",Pe.BEACON)&&o({...R,step:b,type:Kn.BEACON}),E("lifecycle",Pe.TOOLTIP)&&(o({...R,step:b,type:Kn.TOOLTIP}),m&&this.tooltip&&(this.scope=new Sj(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus())),w("lifecycle",[Pe.TOOLTIP,Pe.INIT],Pe.INIT)&&((n=this.scope)==null||n.removeScope(),S.cleanupPoppers())}componentWillUnmount(){var e;(e=this.scope)==null||e.removeScope()}get open(){const{lifecycle:e,step:n}=this.props;return SS(n)||e===Pe.TOOLTIP}render(){const{continuous:e,debug:n,index:r,nonce:o,shouldScroll:l,size:u,step:f}=this.props,d=Qr(f.target);return!YT(f)||!we.domElement(d)?null:x.createElement("div",{key:`JoyrideStep-${r}`,className:"react-joyride__step"},x.createElement(wy,{...f.floaterProps,component:this.renderTooltip,debug:n,getPopper:this.setPopper,id:`react-joyride-step-${r}`,open:this.open,placement:f.placement,target:f.target},x.createElement(xj,{beaconComponent:f.beaconComponent,continuous:e,index:r,isLastStep:r+1===u,locale:f.locale,nonce:o,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:l,size:u,step:f,styles:f.styles})))}},KT=class extends x.Component{static{a(this,"Joyride")}constructor(e){super(e),Ee(this,"helpers"),Ee(this,"store"),Ee(this,"callback",f=>{const{callback:d}=this.props;we.function(d)&&d(f)}),Ee(this,"handleKeyboard",f=>{const{index:d,lifecycle:p}=this.state,{steps:h}=this.props,m=h[d];p===Pe.TOOLTIP&&f.code==="Escape"&&m&&!m.disableCloseOnEsc&&this.store.close("keyboard")}),Ee(this,"handleClickOverlay",()=>{const{index:f}=this.state,{steps:d}=this.props;ca(this.props,d[f]).disableOverlayClose||this.helpers.close("overlay")}),Ee(this,"syncState",f=>{this.setState(f)});const{debug:n,getHelpers:r,run:o=!0,stepIndex:l}=e;this.store=mj({...e,controlled:o&&we.number(l)}),this.helpers=this.store.getHelpers();const{addListener:u}=this.store;mo({title:"init",data:[{key:"props",value:this.props},{key:"state",value:this.state}],debug:n}),u(this.syncState),r&&r(this.helpers),this.state=this.store.getState()}componentDidMount(){if(!Ai())return;const{debug:e,disableCloseOnEsc:n,run:r,steps:o}=this.props,{start:l}=this.store;ES(o,e)&&r&&l(),n||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}componentDidUpdate(e,n){if(!Ai())return;const{action:r,controlled:o,index:l,status:u}=this.state,{debug:f,run:d,stepIndex:p,steps:h}=this.props,{stepIndex:m,steps:g}=e,{reset:b,setSteps:S,start:E,stop:w,update:R}=this.store,{changed:T}=Mc(e,this.props),{changed:O,changedFrom:M}=Mc(n,this.state),L=ca(this.props,h[l]),B=!Xt(g,h),D=we.number(p)&&T("stepIndex"),P=Qr(L.target);if(B&&(ES(h,f)?S(h):console.warn("Steps are not valid",h)),T("run")&&(d?E(p):w()),D){let te=we.number(m)&&m<p?tt.NEXT:tt.PREV;r===tt.STOP&&(te=tt.START),[Ye.FINISHED,Ye.SKIPPED].includes(u)||R({action:r===tt.CLOSE?tt.CLOSE:te,index:p,lifecycle:Pe.INIT})}!o&&u===Ye.RUNNING&&l===0&&!P&&(this.store.update({index:l+1}),this.callback({...this.state,type:Kn.TARGET_NOT_FOUND,step:L}));const Y={...this.state,index:l,step:L};if(O("action",[tt.NEXT,tt.PREV,tt.SKIP,tt.CLOSE])&&O("status",Ye.PAUSED)){const te=ca(this.props,h[n.index]);this.callback({...Y,index:n.index,lifecycle:Pe.COMPLETE,step:te,type:Kn.STEP_AFTER})}if(O("status",[Ye.FINISHED,Ye.SKIPPED])){const te=ca(this.props,h[n.index]);o||this.callback({...Y,index:n.index,lifecycle:Pe.COMPLETE,step:te,type:Kn.STEP_AFTER}),this.callback({...Y,type:Kn.TOUR_END,step:te,index:n.index}),b()}else M("status",[Ye.IDLE,Ye.READY],Ye.RUNNING)?this.callback({...Y,type:Kn.TOUR_START}):(O("status")||O("action",tt.RESET))&&this.callback({...Y,type:Kn.TOUR_STATUS});this.scrollToStep(n)}componentWillUnmount(){const{disableCloseOnEsc:e}=this.props;e||document.body.removeEventListener("keydown",this.handleKeyboard)}scrollToStep(e){const{index:n,lifecycle:r,status:o}=this.state,{debug:l,disableScrollParentFix:u=!1,scrollDuration:f,scrollOffset:d=20,scrollToFirstStep:p=!1,steps:h}=this.props,m=ca(this.props,h[n]),g=Qr(m.target),b=lj({isFirstStep:n===0,lifecycle:r,previousLifecycle:e.lifecycle,scrollToFirstStep:p,step:m,target:g});if(o===Ye.RUNNING&&b){const S=pf(g,u),E=ss(g,u);let w=Math.floor(tj(g,d,u))||0;mo({title:"scrollToStep",data:[{key:"index",value:n},{key:"lifecycle",value:r},{key:"status",value:o}],debug:l});const R=this.store.getPopper("beacon"),T=this.store.getPopper("tooltip");if(r===Pe.BEACON&&R){const{offsets:O,placement:M}=R;!["bottom"].includes(M)&&!S&&(w=Math.floor(O.popper.top-d))}else if(r===Pe.TOOLTIP&&T){const{flipped:O,offsets:M,placement:L}=T;["top","right","left"].includes(L)&&!O&&!S?w=Math.floor(M.popper.top-d):w-=m.spotlightPadding}w=w>=0?w:0,o===Ye.RUNNING&&nj(w,{element:E,duration:f}).then(()=>{setTimeout(()=>{var O;(O=this.store.getPopper("tooltip"))==null||O.instance.update()},10)})}}render(){if(!Ai())return null;const{index:e,lifecycle:n,status:r}=this.state,{continuous:o=!1,debug:l=!1,nonce:u,scrollToFirstStep:f=!1,steps:d}=this.props,p=r===Ye.RUNNING,h={};if(p&&d[e]){const m=ca(this.props,d[e]);h.step=x.createElement(Oj,{...this.state,callback:this.callback,continuous:o,debug:l,helpers:this.helpers,nonce:u,shouldScroll:!m.disableScrolling&&(e!==0||f),step:m,store:this.store}),h.overlay=x.createElement(bj,{id:"react-joyride-portal"},x.createElement(vj,{...m,continuous:o,debug:l,lifecycle:n,onClickOverlay:this.handleClickOverlay}))}return x.createElement("div",{className:"react-joyride"},h.step,h.overlay)}};Ee(KT,"defaultProps",cj);var DF=KT,Ey="ToastProvider",[Cy,Aj,_j]=Jc("Toast"),[XT]=Wt("Toast",[_j]),[Mj,hf]=XT(Ey),WT=a(e=>{const{__scopeToast:n,label:r="Notification",duration:o=5e3,swipeDirection:l="right",swipeThreshold:u=50,children:f}=e,[d,p]=x.useState(null),[h,m]=x.useState(0),g=x.useRef(!1),b=x.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${Ey}\`. Expected non-empty \`string\`.`),N.jsx(Cy.Provider,{scope:n,children:N.jsx(Mj,{scope:n,label:r,duration:o,swipeDirection:l,swipeThreshold:u,toastCount:h,viewport:d,onViewportChange:p,onToastAdd:x.useCallback(()=>m(S=>S+1),[]),onToastRemove:x.useCallback(()=>m(S=>S-1),[]),isFocusedToastEscapeKeyDownRef:g,isClosePausedRef:b,children:f})})},"ToastProvider");WT.displayName=Ey;var ZT="ToastViewport",Nj=["F8"],um="toast.viewportPause",cm="toast.viewportResume",JT=x.forwardRef((e,n)=>{const{__scopeToast:r,hotkey:o=Nj,label:l="Notifications ({hotkey})",...u}=e,f=hf(ZT,r),d=Aj(r),p=x.useRef(null),h=x.useRef(null),m=x.useRef(null),g=x.useRef(null),b=ze(n,g,f.onViewportChange),S=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),E=f.toastCount>0;x.useEffect(()=>{const R=a(T=>{o.length!==0&&o.every(M=>T[M]||T.code===M)&&g.current?.focus()},"handleKeyDown");return document.addEventListener("keydown",R),()=>document.removeEventListener("keydown",R)},[o]),x.useEffect(()=>{const R=p.current,T=g.current;if(E&&R&&T){const O=a(()=>{if(!f.isClosePausedRef.current){const D=new CustomEvent(um);T.dispatchEvent(D),f.isClosePausedRef.current=!0}},"handlePause"),M=a(()=>{if(f.isClosePausedRef.current){const D=new CustomEvent(cm);T.dispatchEvent(D),f.isClosePausedRef.current=!1}},"handleResume"),L=a(D=>{!R.contains(D.relatedTarget)&&M()},"handleFocusOutResume"),B=a(()=>{R.contains(document.activeElement)||M()},"handlePointerLeaveResume");return R.addEventListener("focusin",O),R.addEventListener("focusout",L),R.addEventListener("pointermove",O),R.addEventListener("pointerleave",B),window.addEventListener("blur",O),window.addEventListener("focus",M),()=>{R.removeEventListener("focusin",O),R.removeEventListener("focusout",L),R.removeEventListener("pointermove",O),R.removeEventListener("pointerleave",B),window.removeEventListener("blur",O),window.removeEventListener("focus",M)}}},[E,f.isClosePausedRef]);const w=x.useCallback(({tabbingDirection:R})=>{const O=d().map(M=>{const L=M.ref.current,B=[L,...$j(L)];return R==="forwards"?B:B.reverse()});return(R==="forwards"?O.reverse():O).flat()},[d]);return x.useEffect(()=>{const R=g.current;if(R){const T=a(O=>{const M=O.altKey||O.ctrlKey||O.metaKey;if(O.key==="Tab"&&!M){const B=document.activeElement,D=O.shiftKey;if(O.target===R&&D){h.current?.focus();return}const K=w({tabbingDirection:D?"backwards":"forwards"}),te=K.findIndex(Z=>Z===B);ph(K.slice(te+1))?O.preventDefault():D?h.current?.focus():m.current?.focus()}},"handleKeyDown");return R.addEventListener("keydown",T),()=>R.removeEventListener("keydown",T)}},[d,w]),N.jsxs(cM,{ref:p,role:"region","aria-label":l.replace("{hotkey}",S),tabIndex:-1,style:{pointerEvents:E?void 0:"none"},children:[E&&N.jsx(fm,{ref:h,onFocusFromOutsideViewport:a(()=>{const R=w({tabbingDirection:"forwards"});ph(R)},"onFocusFromOutsideViewport")}),N.jsx(Cy.Slot,{scope:r,children:N.jsx(Te.ol,{tabIndex:-1,...u,ref:b})}),E&&N.jsx(fm,{ref:m,onFocusFromOutsideViewport:a(()=>{const R=w({tabbingDirection:"backwards"});ph(R)},"onFocusFromOutsideViewport")})]})});JT.displayName=ZT;var eR="ToastFocusProxy",fm=x.forwardRef((e,n)=>{const{__scopeToast:r,onFocusFromOutsideViewport:o,...l}=e,u=hf(eR,r);return N.jsx(Qc,{tabIndex:0,...l,ref:n,style:{position:"fixed"},onFocus:a(f=>{const d=f.relatedTarget;!u.viewport?.contains(d)&&o()},"onFocus")})});fm.displayName=eR;var _s="Toast",kj="toast.swipeStart",Dj="toast.swipeMove",Pj="toast.swipeCancel",Lj="toast.swipeEnd",tR=x.forwardRef((e,n)=>{const{forceMount:r,open:o,defaultOpen:l,onOpenChange:u,...f}=e,[d,p]=vr({prop:o,defaultProp:l??!0,onChange:u,caller:_s});return N.jsx(Ht,{present:r||d,children:N.jsx(Ij,{open:d,...f,ref:n,onClose:a(()=>p(!1),"onClose"),onPause:xt(e.onPause),onResume:xt(e.onResume),onSwipeStart:ye(e.onSwipeStart,h=>{h.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ye(e.onSwipeMove,h=>{const{x:m,y:g}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","move"),h.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${m}px`),h.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${g}px`)}),onSwipeCancel:ye(e.onSwipeCancel,h=>{h.currentTarget.setAttribute("data-swipe","cancel"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ye(e.onSwipeEnd,h=>{const{x:m,y:g}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","end"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${m}px`),h.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${g}px`),p(!1)})})})});tR.displayName=_s;var[zj,jj]=XT(_s,{onClose(){}}),Ij=x.forwardRef((e,n)=>{const{__scopeToast:r,type:o="foreground",duration:l,open:u,onClose:f,onEscapeKeyDown:d,onPause:p,onResume:h,onSwipeStart:m,onSwipeMove:g,onSwipeCancel:b,onSwipeEnd:S,...E}=e,w=hf(_s,r),[R,T]=x.useState(null),O=ze(n,F=>T(F)),M=x.useRef(null),L=x.useRef(null),B=l||w.duration,D=x.useRef(0),P=x.useRef(B),Y=x.useRef(0),{onToastAdd:K,onToastRemove:te}=w,Z=xt(()=>{R?.contains(document.activeElement)&&w.viewport?.focus(),f()}),ee=x.useCallback(F=>{!F||F===1/0||(window.clearTimeout(Y.current),D.current=new Date().getTime(),Y.current=window.setTimeout(Z,F))},[Z]);x.useEffect(()=>{const F=w.viewport;if(F){const oe=a(()=>{ee(P.current),h?.()},"handleResume"),I=a(()=>{const W=new Date().getTime()-D.current;P.current=P.current-W,window.clearTimeout(Y.current),p?.()},"handlePause");return F.addEventListener(um,I),F.addEventListener(cm,oe),()=>{F.removeEventListener(um,I),F.removeEventListener(cm,oe)}}},[w.viewport,B,p,h,ee]),x.useEffect(()=>{u&&!w.isClosePausedRef.current&&ee(B)},[u,B,w.isClosePausedRef,ee]),x.useEffect(()=>(K(),()=>te()),[K,te]);const fe=x.useMemo(()=>R?sR(R):null,[R]);return w.viewport?N.jsxs(N.Fragment,{children:[fe&&N.jsx(Bj,{__scopeToast:r,role:"status","aria-live":o==="foreground"?"assertive":"polite",children:fe}),N.jsx(zj,{scope:r,onClose:Z,children:yr.createPortal(N.jsx(Cy.ItemSlot,{scope:r,children:N.jsx(uM,{asChild:!0,onEscapeKeyDown:ye(d,()=>{w.isFocusedToastEscapeKeyDownRef.current||Z(),w.isFocusedToastEscapeKeyDownRef.current=!1}),children:N.jsx(Te.li,{tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":w.swipeDirection,...E,ref:O,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ye(e.onKeyDown,F=>{F.key==="Escape"&&(d?.(F.nativeEvent),F.nativeEvent.defaultPrevented||(w.isFocusedToastEscapeKeyDownRef.current=!0,Z()))}),onPointerDown:ye(e.onPointerDown,F=>{F.button===0&&(M.current={x:F.clientX,y:F.clientY})}),onPointerMove:ye(e.onPointerMove,F=>{if(!M.current)return;const oe=F.clientX-M.current.x,I=F.clientY-M.current.y,W=!!L.current,ie=["left","right"].includes(w.swipeDirection),se=["left","up"].includes(w.swipeDirection)?Math.min:Math.max,k=ie?se(0,oe):0,z=ie?0:se(0,I),Q=F.pointerType==="touch"?10:2,A={x:k,y:z},J={originalEvent:F,delta:A};W?(L.current=A,rc(Dj,g,J,{discrete:!1})):TS(A,w.swipeDirection,Q)?(L.current=A,rc(kj,m,J,{discrete:!1}),F.target.setPointerCapture(F.pointerId)):(Math.abs(oe)>Q||Math.abs(I)>Q)&&(M.current=null)}),onPointerUp:ye(e.onPointerUp,F=>{const oe=L.current,I=F.target;if(I.hasPointerCapture(F.pointerId)&&I.releasePointerCapture(F.pointerId),L.current=null,M.current=null,oe){const W=F.currentTarget,ie={originalEvent:F,delta:oe};TS(oe,w.swipeDirection,w.swipeThreshold)?rc(Lj,S,ie,{discrete:!0}):rc(Pj,b,ie,{discrete:!0}),W.addEventListener("click",se=>se.preventDefault(),{once:!0})}})})})}),w.viewport)})]}):null}),Bj=a(e=>{const{__scopeToast:n,children:r,...o}=e,l=hf(_s,n),[u,f]=x.useState(!1),[d,p]=x.useState(!1);return Fj(()=>f(!0)),x.useEffect(()=>{const h=window.setTimeout(()=>p(!0),1e3);return()=>window.clearTimeout(h)},[]),d?null:N.jsx(Ma,{asChild:!0,children:N.jsx(Qc,{...o,children:u&&N.jsxs(N.Fragment,{children:[l.label," ",r]})})})},"ToastAnnounce"),Hj="ToastTitle",nR=x.forwardRef((e,n)=>{const{__scopeToast:r,...o}=e;return N.jsx(Te.div,{...o,ref:n})});nR.displayName=Hj;var Uj="ToastDescription",rR=x.forwardRef((e,n)=>{const{__scopeToast:r,...o}=e;return N.jsx(Te.div,{...o,ref:n})});rR.displayName=Uj;var iR="ToastAction",oR=x.forwardRef((e,n)=>{const{altText:r,...o}=e;return r.trim()?N.jsx(lR,{altText:r,asChild:!0,children:N.jsx(Ty,{...o,ref:n})}):(console.error(`Invalid prop \`altText\` supplied to \`${iR}\`. Expected non-empty \`string\`.`),null)});oR.displayName=iR;var aR="ToastClose",Ty=x.forwardRef((e,n)=>{const{__scopeToast:r,...o}=e,l=jj(aR,r);return N.jsx(lR,{asChild:!0,children:N.jsx(Te.button,{type:"button",...o,ref:n,onClick:ye(e.onClick,l.onClose)})})});Ty.displayName=aR;var lR=x.forwardRef((e,n)=>{const{__scopeToast:r,altText:o,...l}=e;return N.jsx(Te.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0,...l,ref:n})});function sR(e){const n=[];return Array.from(e.childNodes).forEach(o=>{if(o.nodeType===o.TEXT_NODE&&o.textContent&&n.push(o.textContent),qj(o)){const l=o.ariaHidden||o.hidden||o.style.display==="none",u=o.dataset.radixToastAnnounceExclude==="";if(!l)if(u){const f=o.dataset.radixToastAnnounceAlt;f&&n.push(f)}else n.push(...sR(o))}}),n}a(sR,"getAnnounceTextContent");function rc(e,n,r,{discrete:o}){const l=r.originalEvent.currentTarget,u=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});n&&l.addEventListener(e,n,{once:!0}),o?Cm(l,u):l.dispatchEvent(u)}a(rc,"handleAndDispatchCustomEvent");var TS=a((e,n,r=0)=>{const o=Math.abs(e.x),l=Math.abs(e.y),u=o>l;return n==="left"||n==="right"?u&&o>r:!u&&l>r},"isDeltaInDirection");function Fj(e=()=>{}){const n=xt(e);wt(()=>{let r=0,o=0;return r=window.requestAnimationFrame(()=>o=window.requestAnimationFrame(n)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(o)}},[n])}a(Fj,"useNextFrame");function qj(e){return e.nodeType===e.ELEMENT_NODE}a(qj,"isHTMLElement$1");function $j(e){const n=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a(o=>{const l=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||l?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)n.push(r.currentNode);return n}a($j,"getTabbableCandidates");function ph(e){const n=document.activeElement;return e.some(r=>r===n?!0:(r.focus(),document.activeElement!==n))}a(ph,"focusFirst");var PF=WT,LF=JT,zF=tR,jF=nR,IF=rR,BF=oR,HF=Ty;function UF(){}a(UF,"ok$1");function Vj(e,n){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}a(Vj,"stringify$1");const Gj=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Yj=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Qj={};function RS(e,n){return(Qj.jsx?Yj:Gj).test(e)}a(RS,"name");const Kj=/[ \t\n\f\r]/g;function Xj(e){return typeof e=="object"?e.type==="text"?OS(e.value):!1:OS(e)}a(Xj,"whitespace");function OS(e){return e.replace(Kj,"")===""}a(OS,"empty$1");class Ms{static{a(this,"Schema")}constructor(n,r,o){this.normal=r,this.property=n,o&&(this.space=o)}}Ms.prototype.normal={};Ms.prototype.property={};Ms.prototype.space=void 0;function uR(e,n){const r={},o={};for(const l of e)Object.assign(r,l.property),Object.assign(o,l.normal);return new Ms(r,o,n)}a(uR,"merge");function dm(e){return e.toLowerCase()}a(dm,"normalize$1");class fn{static{a(this,"Info")}constructor(n,r){this.attribute=r,this.property=n}}fn.prototype.attribute="";fn.prototype.booleanish=!1;fn.prototype.boolean=!1;fn.prototype.commaOrSpaceSeparated=!1;fn.prototype.commaSeparated=!1;fn.prototype.defined=!1;fn.prototype.mustUseProperty=!1;fn.prototype.number=!1;fn.prototype.overloadedBoolean=!1;fn.prototype.property="";fn.prototype.spaceSeparated=!1;fn.prototype.space=void 0;let Wj=0;const Ie=xo(),_t=xo(),pm=xo(),he=xo(),ct=xo(),ba=xo(),Sn=xo();function xo(){return 2**++Wj}a(xo,"increment");const hm=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ie,booleanish:_t,commaOrSpaceSeparated:Sn,commaSeparated:ba,number:he,overloadedBoolean:pm,spaceSeparated:ct},Symbol.toStringTag,{value:"Module"})),hh=Object.keys(hm);class Ry extends fn{static{a(this,"DefinedInfo")}constructor(n,r,o,l){let u=-1;if(super(n,r),AS(this,"space",l),typeof o=="number")for(;++u<hh.length;){const f=hh[u];AS(this,hh[u],(o&hm[f])===hm[f])}}}Ry.prototype.defined=!0;function AS(e,n,r){r&&(e[n]=r)}a(AS,"mark");function Ha(e){const n={},r={};for(const[o,l]of Object.entries(e.properties)){const u=new Ry(o,e.transform(e.attributes||{},o),l,e.space);e.mustUseProperty&&e.mustUseProperty.includes(o)&&(u.mustUseProperty=!0),n[o]=u,r[dm(o)]=o,r[dm(u.attribute)]=o}return new Ms(n,r,e.space)}a(Ha,"create");const cR=Ha({properties:{ariaActiveDescendant:null,ariaAtomic:_t,ariaAutoComplete:null,ariaBusy:_t,ariaChecked:_t,ariaColCount:he,ariaColIndex:he,ariaColSpan:he,ariaControls:ct,ariaCurrent:null,ariaDescribedBy:ct,ariaDetails:null,ariaDisabled:_t,ariaDropEffect:ct,ariaErrorMessage:null,ariaExpanded:_t,ariaFlowTo:ct,ariaGrabbed:_t,ariaHasPopup:null,ariaHidden:_t,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ct,ariaLevel:he,ariaLive:null,ariaModal:_t,ariaMultiLine:_t,ariaMultiSelectable:_t,ariaOrientation:null,ariaOwns:ct,ariaPlaceholder:null,ariaPosInSet:he,ariaPressed:_t,ariaReadOnly:_t,ariaRelevant:null,ariaRequired:_t,ariaRoleDescription:ct,ariaRowCount:he,ariaRowIndex:he,ariaRowSpan:he,ariaSelected:_t,ariaSetSize:he,ariaSort:null,ariaValueMax:he,ariaValueMin:he,ariaValueNow:he,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function fR(e,n){return n in e?e[n]:n}a(fR,"caseSensitiveTransform");function dR(e,n){return fR(e,n.toLowerCase())}a(dR,"caseInsensitiveTransform");const Zj=Ha({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ba,acceptCharset:ct,accessKey:ct,action:null,allow:null,allowFullScreen:Ie,allowPaymentRequest:Ie,allowUserMedia:Ie,alt:null,as:null,async:Ie,autoCapitalize:null,autoComplete:ct,autoFocus:Ie,autoPlay:Ie,blocking:ct,capture:null,charSet:null,checked:Ie,cite:null,className:ct,cols:he,colSpan:null,content:null,contentEditable:_t,controls:Ie,controlsList:ct,coords:he|ba,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ie,defer:Ie,dir:null,dirName:null,disabled:Ie,download:pm,draggable:_t,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ie,formTarget:null,headers:ct,height:he,hidden:pm,high:he,href:null,hrefLang:null,htmlFor:ct,httpEquiv:ct,id:null,imageSizes:null,imageSrcSet:null,inert:Ie,inputMode:null,integrity:null,is:null,isMap:Ie,itemId:null,itemProp:ct,itemRef:ct,itemScope:Ie,itemType:ct,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ie,low:he,manifest:null,max:null,maxLength:he,media:null,method:null,min:null,minLength:he,multiple:Ie,muted:Ie,name:null,nonce:null,noModule:Ie,noValidate:Ie,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ie,optimum:he,pattern:null,ping:ct,placeholder:null,playsInline:Ie,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ie,referrerPolicy:null,rel:ct,required:Ie,reversed:Ie,rows:he,rowSpan:he,sandbox:ct,scope:null,scoped:Ie,seamless:Ie,selected:Ie,shadowRootClonable:Ie,shadowRootDelegatesFocus:Ie,shadowRootMode:null,shape:null,size:he,sizes:null,slot:null,span:he,spellCheck:_t,src:null,srcDoc:null,srcLang:null,srcSet:null,start:he,step:null,style:null,tabIndex:he,target:null,title:null,translate:null,type:null,typeMustMatch:Ie,useMap:null,value:_t,width:he,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ct,axis:null,background:null,bgColor:null,border:he,borderColor:null,bottomMargin:he,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ie,declare:Ie,event:null,face:null,frame:null,frameBorder:null,hSpace:he,leftMargin:he,link:null,longDesc:null,lowSrc:null,marginHeight:he,marginWidth:he,noResize:Ie,noHref:Ie,noShade:Ie,noWrap:Ie,object:null,profile:null,prompt:null,rev:null,rightMargin:he,rules:null,scheme:null,scrolling:_t,standby:null,summary:null,text:null,topMargin:he,valueType:null,version:null,vAlign:null,vLink:null,vSpace:he,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ie,disableRemotePlayback:Ie,prefix:null,property:null,results:he,security:null,unselectable:null},space:"html",transform:dR}),Jj=Ha({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Sn,accentHeight:he,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:he,amplitude:he,arabicForm:null,ascent:he,attributeName:null,attributeType:null,azimuth:he,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:he,by:null,calcMode:null,capHeight:he,className:ct,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:he,diffuseConstant:he,direction:null,display:null,dur:null,divisor:he,dominantBaseline:null,download:Ie,dx:null,dy:null,edgeMode:null,editable:null,elevation:he,enableBackground:null,end:null,event:null,exponent:he,externalResourcesRequired:null,fill:null,fillOpacity:he,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ba,g2:ba,glyphName:ba,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:he,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:he,horizOriginX:he,horizOriginY:he,id:null,ideographic:he,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:he,k:he,k1:he,k2:he,k3:he,k4:he,kernelMatrix:Sn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:he,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:he,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:he,overlineThickness:he,paintOrder:null,panose1:null,path:null,pathLength:he,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ct,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:he,pointsAtY:he,pointsAtZ:he,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Sn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Sn,rev:Sn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Sn,requiredFeatures:Sn,requiredFonts:Sn,requiredFormats:Sn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:he,specularExponent:he,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:he,strikethroughThickness:he,string:null,stroke:null,strokeDashArray:Sn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:he,strokeOpacity:he,strokeWidth:null,style:null,surfaceScale:he,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Sn,tabIndex:he,tableValues:null,target:null,targetX:he,targetY:he,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Sn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:he,underlineThickness:he,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:he,values:null,vAlphabetic:he,vMathematical:he,vectorEffect:null,vHanging:he,vIdeographic:he,version:null,vertAdvY:he,vertOriginX:he,vertOriginY:he,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:he,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:fR}),pR=Ha({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()}}),hR=Ha({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:dR}),mR=Ha({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),eI={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},tI=/[A-Z]/g,_S=/-[a-z]/g,nI=/^data[-\w.:]+$/i;function rI(e,n){const r=dm(n);let o=n,l=fn;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&nI.test(n)){if(n.charAt(4)==="-"){const u=n.slice(5).replace(_S,oI);o="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=n.slice(4);if(!_S.test(u)){let f=u.replace(tI,iI);f.charAt(0)!=="-"&&(f="-"+f),n="data"+f}}l=Ry}return new l(o,n)}a(rI,"find");function iI(e){return"-"+e.toLowerCase()}a(iI,"kebab");function oI(e){return e.charAt(1).toUpperCase()}a(oI,"camelcase");const aI=uR([cR,Zj,pR,hR,mR],"html"),Oy=uR([cR,Jj,pR,hR,mR],"svg");function lI(e){return e.join(" ").trim()}a(lI,"stringify");var fa={},mh,MS;function sI(){if(MS)return mh;MS=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l=/^:\s*/,u=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,f=/^[;\s]*/,d=/^\s+|\s+$/g,p=`
|
|
598
|
+
`,h="/",m="*",g="",b="comment",S="declaration";mh=a(function(w,R){if(typeof w!="string")throw new TypeError("First argument must be a string");if(!w)return[];R=R||{};var T=1,O=1;function M(fe){var F=fe.match(n);F&&(T+=F.length);var oe=fe.lastIndexOf(p);O=~oe?fe.length-oe:O+fe.length}a(M,"updatePosition");function L(){var fe={line:T,column:O};return function(F){return F.position=new B(fe),Y(),F}}a(L,"position");function B(fe){this.start=fe,this.end={line:T,column:O},this.source=R.source}a(B,"Position"),B.prototype.content=w;function D(fe){var F=new Error(R.source+":"+T+":"+O+": "+fe);if(F.reason=fe,F.filename=R.source,F.line=T,F.column=O,F.source=w,!R.silent)throw F}a(D,"error");function P(fe){var F=fe.exec(w);if(F){var oe=F[0];return M(oe),w=w.slice(oe.length),F}}a(P,"match");function Y(){P(r)}a(Y,"whitespace");function K(fe){var F;for(fe=fe||[];F=te();)F!==!1&&fe.push(F);return fe}a(K,"comments");function te(){var fe=L();if(!(h!=w.charAt(0)||m!=w.charAt(1))){for(var F=2;g!=w.charAt(F)&&(m!=w.charAt(F)||h!=w.charAt(F+1));)++F;if(F+=2,g===w.charAt(F-1))return D("End of comment missing");var oe=w.slice(2,F-2);return O+=2,M(oe),w=w.slice(F),O+=2,fe({type:b,comment:oe})}}a(te,"comment");function Z(){var fe=L(),F=P(o);if(F){if(te(),!P(l))return D("property missing ':'");var oe=P(u),I=fe({type:S,property:E(F[0].replace(e,g)),value:oe?E(oe[0].replace(e,g)):g});return P(f),I}}a(Z,"declaration");function ee(){var fe=[];K(fe);for(var F;F=Z();)F!==!1&&(fe.push(F),K(fe));return fe}return a(ee,"declarations"),Y(),ee()},"inlineStyleParser");function E(w){return w?w.replace(d,g):g}return a(E,"trim"),mh}a(sI,"requireInlineStyleParser");var NS;function uI(){if(NS)return fa;NS=1;var e=fa&&fa.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(fa,"__esModule",{value:!0}),fa.default=r;const n=e(sI());function r(o,l){let u=null;if(!o||typeof o!="string")return u;const f=(0,n.default)(o),d=typeof l=="function";return f.forEach(p=>{if(p.type!=="declaration")return;const{property:h,value:m}=p;d?l(h,m,p):m&&(u=u||{},u[h]=m)}),u}return a(r,"StyleToObject"),fa}a(uI,"requireCjs$1");var Fl={},kS;function cI(){if(kS)return Fl;kS=1,Object.defineProperty(Fl,"__esModule",{value:!0}),Fl.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,r=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,l=/^-(ms)-/,u=a(function(h){return!h||r.test(h)||e.test(h)},"skipCamelCase"),f=a(function(h,m){return m.toUpperCase()},"capitalize"),d=a(function(h,m){return"".concat(m,"-")},"trimHyphen"),p=a(function(h,m){return m===void 0&&(m={}),u(h)?h:(h=h.toLowerCase(),m.reactCompat?h=h.replace(l,d):h=h.replace(o,d),h.replace(n,f))},"camelCase");return Fl.camelCase=p,Fl}a(cI,"requireUtilities");var ql,DS;function fI(){if(DS)return ql;DS=1;var e=ql&&ql.__importDefault||function(l){return l&&l.__esModule?l:{default:l}},n=e(uI()),r=cI();function o(l,u){var f={};return!l||typeof l!="string"||(0,n.default)(l,function(d,p){d&&p&&(f[(0,r.camelCase)(d,u)]=p)}),f}return a(o,"StyleToJS"),o.default=o,ql=o,ql}a(fI,"requireCjs");var dI=fI();const pI=xr(dI),yR=gR("end"),Ay=gR("start");function gR(e){return n;function n(r){const o=r&&r.position&&r.position[e]||{};if(typeof o.line=="number"&&o.line>0&&typeof o.column=="number"&&o.column>0)return{line:o.line,column:o.column,offset:typeof o.offset=="number"&&o.offset>-1?o.offset:void 0}}}a(gR,"point$2");function hI(e){const n=Ay(e),r=yR(e);if(n&&r)return{start:n,end:r}}a(hI,"position$1");function Wl(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?PS(e.position):"start"in e||"end"in e?PS(e):"line"in e||"column"in e?mm(e):""}a(Wl,"stringifyPosition");function mm(e){return LS(e&&e.line)+":"+LS(e&&e.column)}a(mm,"point$1");function PS(e){return mm(e&&e.start)+"-"+mm(e&&e.end)}a(PS,"position");function LS(e){return e&&typeof e=="number"?e:1}a(LS,"index");class Vt extends Error{static{a(this,"VFileMessage")}constructor(n,r,o){super(),typeof r=="string"&&(o=r,r=void 0);let l="",u={},f=!1;if(r&&("line"in r&&"column"in r?u={place:r}:"start"in r&&"end"in r?u={place:r}:"type"in r?u={ancestors:[r],place:r.position}:u={...r}),typeof n=="string"?l=n:!u.cause&&n&&(f=!0,l=n.message,u.cause=n),!u.ruleId&&!u.source&&typeof o=="string"){const p=o.indexOf(":");p===-1?u.ruleId=o:(u.source=o.slice(0,p),u.ruleId=o.slice(p+1))}if(!u.place&&u.ancestors&&u.ancestors){const p=u.ancestors[u.ancestors.length-1];p&&(u.place=p.position)}const d=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=l,this.line=d?d.line:void 0,this.name=Wl(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=f&&u.cause&&typeof u.cause.stack=="string"?u.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Vt.prototype.file="";Vt.prototype.name="";Vt.prototype.reason="";Vt.prototype.message="";Vt.prototype.stack="";Vt.prototype.column=void 0;Vt.prototype.line=void 0;Vt.prototype.ancestors=void 0;Vt.prototype.cause=void 0;Vt.prototype.fatal=void 0;Vt.prototype.place=void 0;Vt.prototype.ruleId=void 0;Vt.prototype.source=void 0;const _y={}.hasOwnProperty,mI=new Map,yI=/[A-Z]/g,gI=new Set(["table","tbody","thead","tfoot","tr"]),vI=new Set(["td","th"]),vR="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function bI(e,n){if(!n||n.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=n.filePath||void 0;let o;if(n.development){if(typeof n.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");o=OI(r,n.jsxDEV)}else{if(typeof n.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof n.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");o=RI(r,n.jsx,n.jsxs)}const l={Fragment:n.Fragment,ancestors:[],components:n.components||{},create:o,elementAttributeNameCase:n.elementAttributeNameCase||"react",evaluater:n.createEvaluater?n.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:n.ignoreInvalidStyle||!1,passKeys:n.passKeys!==!1,passNode:n.passNode||!1,schema:n.space==="svg"?Oy:aI,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:n.tableCellAlignToStyle!==!1},u=bR(l,e,void 0);return u&&typeof u!="string"?u:l.create(e,l.Fragment,{children:u||void 0},void 0)}a(bI,"toJsxRuntime");function bR(e,n,r){if(n.type==="element")return SI(e,n,r);if(n.type==="mdxFlowExpression"||n.type==="mdxTextExpression")return xI(e,n);if(n.type==="mdxJsxFlowElement"||n.type==="mdxJsxTextElement")return EI(e,n,r);if(n.type==="mdxjsEsm")return wI(e,n);if(n.type==="root")return CI(e,n,r);if(n.type==="text")return TI(e,n)}a(bR,"one$1");function SI(e,n,r){const o=e.schema;let l=o;n.tagName.toLowerCase()==="svg"&&o.space==="html"&&(l=Oy,e.schema=l),e.ancestors.push(n);const u=xR(e,n.tagName,!1),f=AI(e,n);let d=Ny(e,n);return gI.has(n.tagName)&&(d=d.filter(function(p){return typeof p=="string"?!Xj(p):!0})),SR(e,f,u,n),My(f,d),e.ancestors.pop(),e.schema=o,e.create(n,u,f,r)}a(SI,"element$1");function xI(e,n){if(n.data&&n.data.estree&&e.evaluater){const o=n.data.estree.body[0];return o.type,e.evaluater.evaluateExpression(o.expression)}us(e,n.position)}a(xI,"mdxExpression");function wI(e,n){if(n.data&&n.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(n.data.estree);us(e,n.position)}a(wI,"mdxEsm");function EI(e,n,r){const o=e.schema;let l=o;n.name==="svg"&&o.space==="html"&&(l=Oy,e.schema=l),e.ancestors.push(n);const u=n.name===null?e.Fragment:xR(e,n.name,!0),f=_I(e,n),d=Ny(e,n);return SR(e,f,u,n),My(f,d),e.ancestors.pop(),e.schema=o,e.create(n,u,f,r)}a(EI,"mdxJsxElement");function CI(e,n,r){const o={};return My(o,Ny(e,n)),e.create(n,e.Fragment,o,r)}a(CI,"root$1");function TI(e,n){return n.value}a(TI,"text$3");function SR(e,n,r,o){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(n.node=o)}a(SR,"addNode");function My(e,n){if(n.length>0){const r=n.length>1?n:n[0];r&&(e.children=r)}}a(My,"addChildren");function RI(e,n,r){return o;function o(l,u,f,d){const h=Array.isArray(f.children)?r:n;return d?h(u,f,d):h(u,f)}}a(RI,"productionCreate");function OI(e,n){return r;function r(o,l,u,f){const d=Array.isArray(u.children),p=Ay(o);return n(l,u,f,d,{columnNumber:p?p.column-1:void 0,fileName:e,lineNumber:p?p.line:void 0},void 0)}}a(OI,"developmentCreate");function AI(e,n){const r={};let o,l;for(l in n.properties)if(l!=="children"&&_y.call(n.properties,l)){const u=MI(e,l,n.properties[l]);if(u){const[f,d]=u;e.tableCellAlignToStyle&&f==="align"&&typeof d=="string"&&vI.has(n.tagName)?o=d:r[f]=d}}if(o){const u=r.style||(r.style={});u[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=o}return r}a(AI,"createElementProps");function _I(e,n){const r={};for(const o of n.attributes)if(o.type==="mdxJsxExpressionAttribute")if(o.data&&o.data.estree&&e.evaluater){const u=o.data.estree.body[0];u.type;const f=u.expression;f.type;const d=f.properties[0];d.type,Object.assign(r,e.evaluater.evaluateExpression(d.argument))}else us(e,n.position);else{const l=o.name;let u;if(o.value&&typeof o.value=="object")if(o.value.data&&o.value.data.estree&&e.evaluater){const d=o.value.data.estree.body[0];d.type,u=e.evaluater.evaluateExpression(d.expression)}else us(e,n.position);else u=o.value===null?!0:o.value;r[l]=u}return r}a(_I,"createJsxElementProps");function Ny(e,n){const r=[];let o=-1;const l=e.passKeys?new Map:mI;for(;++o<n.children.length;){const u=n.children[o];let f;if(e.passKeys){const p=u.type==="element"?u.tagName:u.type==="mdxJsxFlowElement"||u.type==="mdxJsxTextElement"?u.name:void 0;if(p){const h=l.get(p)||0;f=p+"-"+h,l.set(p,h+1)}}const d=bR(e,u,f);d!==void 0&&r.push(d)}return r}a(Ny,"createChildren");function MI(e,n,r){const o=rI(e.schema,n);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=o.commaSeparated?Vj(r):lI(r)),o.property==="style"){let l=typeof r=="object"?r:NI(e,String(r));return e.stylePropertyNameCase==="css"&&(l=kI(l)),["style",l]}return[e.elementAttributeNameCase==="react"&&o.space?eI[o.property]||o.property:o.attribute,r]}}a(MI,"createProperty");function NI(e,n){try{return pI(n,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const o=r,l=new Vt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw l.file=e.filePath||void 0,l.url=vR+"#cannot-parse-style-attribute",l}}a(NI,"parseStyle");function xR(e,n,r){let o;if(!r)o={type:"Literal",value:n};else if(n.includes(".")){const l=n.split(".");let u=-1,f;for(;++u<l.length;){const d=RS(l[u])?{type:"Identifier",name:l[u]}:{type:"Literal",value:l[u]};f=f?{type:"MemberExpression",object:f,property:d,computed:!!(u&&d.type==="Literal"),optional:!1}:d}o=f}else o=RS(n)&&!/^[a-z]/.test(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};if(o.type==="Literal"){const l=o.value;return _y.call(e.components,l)?e.components[l]:l}if(e.evaluater)return e.evaluater.evaluateExpression(o);us(e)}a(xR,"findComponentFromName");function us(e,n){const r=new Vt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:n,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=vR+"#cannot-handle-mdx-estrees-without-createevaluater",r}a(us,"crashEstree");function kI(e){const n={};let r;for(r in e)_y.call(e,r)&&(n[DI(r)]=e[r]);return n}a(kI,"transformStylesToCssCasing");function DI(e){let n=e.replace(yI,PI);return n.slice(0,3)==="ms-"&&(n="-"+n),n}a(DI,"transformStyleToCssCasing");function PI(e){return"-"+e.toLowerCase()}a(PI,"toDash");const yh={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},LI={};function zI(e,n){const r=LI,o=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,l=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return wR(e,o,l)}a(zI,"toString$1");function wR(e,n,r){if(jI(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return zS(e.children,n,r)}return Array.isArray(e)?zS(e,n,r):""}a(wR,"one");function zS(e,n,r){const o=[];let l=-1;for(;++l<e.length;)o[l]=wR(e[l],n,r);return o.join("")}a(zS,"all");function jI(e){return!!(e&&typeof e=="object")}a(jI,"node");const jS=document.createElement("i");function ky(e){const n="&"+e+";";jS.innerHTML=n;const r=jS.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===n?!1:r}a(ky,"decodeNamedCharacterReference");function Sr(e,n,r,o){const l=e.length;let u=0,f;if(n<0?n=-n>l?0:l+n:n=n>l?l:n,r=r>0?r:0,o.length<1e4)f=Array.from(o),f.unshift(n,r),e.splice(...f);else for(r&&e.splice(n,r);u<o.length;)f=o.slice(u,u+1e4),f.unshift(n,0),e.splice(...f),u+=1e4,n+=1e4}a(Sr,"splice");function jn(e,n){return e.length>0?(Sr(e,e.length,0,n),e):n}a(jn,"push");const IS={}.hasOwnProperty;function II(e){const n={};let r=-1;for(;++r<e.length;)BI(n,e[r]);return n}a(II,"combineExtensions");function BI(e,n){let r;for(r in n){const l=(IS.call(e,r)?e[r]:void 0)||(e[r]={}),u=n[r];let f;if(u)for(f in u){IS.call(l,f)||(l[f]=[]);const d=u[f];HI(l[f],Array.isArray(d)?d:d?[d]:[])}}}a(BI,"syntaxExtension");function HI(e,n){let r=-1;const o=[];for(;++r<n.length;)(n[r].add==="after"?e:o).push(n[r]);Sr(e,0,0,o)}a(HI,"constructs");function ER(e,n){const r=Number.parseInt(e,n);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}a(ER,"decodeNumericCharacterReference");function Sa(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}a(Sa,"normalizeIdentifier");const dr=Ii(/[A-Za-z]/),En=Ii(/[\dA-Za-z]/),UI=Ii(/[#-'*+\--9=?A-Z^-~]/);function ym(e){return e!==null&&(e<32||e===127)}a(ym,"asciiControl");const gm=Ii(/\d/),FI=Ii(/[\dA-Fa-f]/),qI=Ii(/[!-/:-@[-`{-~]/);function Ne(e){return e!==null&&e<-2}a(Ne,"markdownLineEnding");function cn(e){return e!==null&&(e<0||e===32)}a(cn,"markdownLineEndingOrSpace");function Je(e){return e===-2||e===-1||e===32}a(Je,"markdownSpace");const $I=Ii(/\p{P}|\p{S}/u),VI=Ii(/\s/);function Ii(e){return n;function n(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}a(Ii,"regexCheck");function Ua(e){const n=[];let r=-1,o=0,l=0;for(;++r<e.length;){const u=e.charCodeAt(r);let f="";if(u===37&&En(e.charCodeAt(r+1))&&En(e.charCodeAt(r+2)))l=2;else if(u<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(u))||(f=String.fromCharCode(u));else if(u>55295&&u<57344){const d=e.charCodeAt(r+1);u<56320&&d>56319&&d<57344?(f=String.fromCharCode(u,d),l=1):f="�"}else f=String.fromCharCode(u);f&&(n.push(e.slice(o,r),encodeURIComponent(f)),o=r+l+1,f=""),l&&(r+=l,l=0)}return n.join("")+e.slice(o)}a(Ua,"normalizeUri");function ft(e,n,r,o){const l=o?o-1:Number.POSITIVE_INFINITY;let u=0;return f;function f(p){return Je(p)?(e.enter(r),d(p)):n(p)}function d(p){return Je(p)&&u++<l?(e.consume(p),d):(e.exit(r),n(p))}}a(ft,"factorySpace");const GI={tokenize:YI};function YI(e){const n=e.attempt(this.parser.constructs.contentInitial,o,l);let r;return n;function o(d){if(d===null){e.consume(d);return}return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),ft(e,n,"linePrefix")}function l(d){return e.enter("paragraph"),u(d)}function u(d){const p=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=p),r=p,f(d)}function f(d){if(d===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(d);return}return Ne(d)?(e.consume(d),e.exit("chunkText"),u):(e.consume(d),f)}}a(YI,"initializeContent");const QI={tokenize:KI},BS={tokenize:XI};function KI(e){const n=this,r=[];let o=0,l,u,f;return d;function d(M){if(o<r.length){const L=r[o];return n.containerState=L[1],e.attempt(L[0].continuation,p,h)(M)}return h(M)}function p(M){if(o++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,l&&O();const L=n.events.length;let B=L,D;for(;B--;)if(n.events[B][0]==="exit"&&n.events[B][1].type==="chunkFlow"){D=n.events[B][1].end;break}T(o);let P=L;for(;P<n.events.length;)n.events[P][1].end={...D},P++;return Sr(n.events,B+1,0,n.events.slice(L)),n.events.length=P,h(M)}return d(M)}function h(M){if(o===r.length){if(!l)return b(M);if(l.currentConstruct&&l.currentConstruct.concrete)return E(M);n.interrupt=!!(l.currentConstruct&&!l._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(BS,m,g)(M)}function m(M){return l&&O(),T(o),b(M)}function g(M){return n.parser.lazy[n.now().line]=o!==r.length,f=n.now().offset,E(M)}function b(M){return n.containerState={},e.attempt(BS,S,E)(M)}function S(M){return o++,r.push([n.currentConstruct,n.containerState]),b(M)}function E(M){if(M===null){l&&O(),T(0),e.consume(M);return}return l=l||n.parser.flow(n.now()),e.enter("chunkFlow",{_tokenizer:l,contentType:"flow",previous:u}),w(M)}function w(M){if(M===null){R(e.exit("chunkFlow"),!0),T(0),e.consume(M);return}return Ne(M)?(e.consume(M),R(e.exit("chunkFlow")),o=0,n.interrupt=void 0,d):(e.consume(M),w)}function R(M,L){const B=n.sliceStream(M);if(L&&B.push(null),M.previous=u,u&&(u.next=M),u=M,l.defineSkip(M.start),l.write(B),n.parser.lazy[M.start.line]){let D=l.events.length;for(;D--;)if(l.events[D][1].start.offset<f&&(!l.events[D][1].end||l.events[D][1].end.offset>f))return;const P=n.events.length;let Y=P,K,te;for(;Y--;)if(n.events[Y][0]==="exit"&&n.events[Y][1].type==="chunkFlow"){if(K){te=n.events[Y][1].end;break}K=!0}for(T(o),D=P;D<n.events.length;)n.events[D][1].end={...te},D++;Sr(n.events,Y+1,0,n.events.slice(P)),n.events.length=D}}function T(M){let L=r.length;for(;L-- >M;){const B=r[L];n.containerState=B[1],B[0].exit.call(n,e)}r.length=M}function O(){l.write([null]),u=void 0,l=void 0,n.containerState._closeFlow=void 0}}a(KI,"initializeDocument");function XI(e,n,r){return ft(e,e.attempt(this.parser.constructs.document,n,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}a(XI,"tokenizeContainer");function HS(e){if(e===null||cn(e)||VI(e))return 1;if($I(e))return 2}a(HS,"classifyCharacter");function Dy(e,n,r){const o=[];let l=-1;for(;++l<e.length;){const u=e[l].resolveAll;u&&!o.includes(u)&&(n=u(n,r),o.push(u))}return n}a(Dy,"resolveAll");const vm={name:"attention",resolveAll:WI,tokenize:ZI};function WI(e,n){let r=-1,o,l,u,f,d,p,h,m;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(o=r;o--;)if(e[o][0]==="exit"&&e[o][1].type==="attentionSequence"&&e[o][1]._open&&n.sliceSerialize(e[o][1]).charCodeAt(0)===n.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[o][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[o][1].end.offset-e[o][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;p=e[o][1].end.offset-e[o][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const g={...e[o][1].end},b={...e[r][1].start};US(g,-p),US(b,p),f={type:p>1?"strongSequence":"emphasisSequence",start:g,end:{...e[o][1].end}},d={type:p>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:b},u={type:p>1?"strongText":"emphasisText",start:{...e[o][1].end},end:{...e[r][1].start}},l={type:p>1?"strong":"emphasis",start:{...f.start},end:{...d.end}},e[o][1].end={...f.start},e[r][1].start={...d.end},h=[],e[o][1].end.offset-e[o][1].start.offset&&(h=jn(h,[["enter",e[o][1],n],["exit",e[o][1],n]])),h=jn(h,[["enter",l,n],["enter",f,n],["exit",f,n],["enter",u,n]]),h=jn(h,Dy(n.parser.constructs.insideSpan.null,e.slice(o+1,r),n)),h=jn(h,[["exit",u,n],["enter",d,n],["exit",d,n],["exit",l,n]]),e[r][1].end.offset-e[r][1].start.offset?(m=2,h=jn(h,[["enter",e[r][1],n],["exit",e[r][1],n]])):m=0,Sr(e,o-1,r-o+3,h),r=o+h.length-m-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}a(WI,"resolveAllAttention");function ZI(e,n){const r=this.parser.constructs.attentionMarkers.null,o=this.previous,l=HS(o);let u;return f;function f(p){return u=p,e.enter("attentionSequence"),d(p)}function d(p){if(p===u)return e.consume(p),d;const h=e.exit("attentionSequence"),m=HS(p),g=!m||m===2&&l||r.includes(p),b=!l||l===2&&m||r.includes(o);return h._open=!!(u===42?g:g&&(l||!b)),h._close=!!(u===42?b:b&&(m||!g)),n(p)}}a(ZI,"tokenizeAttention");function US(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}a(US,"movePoint");const JI={name:"autolink",tokenize:e9};function e9(e,n,r){let o=0;return l;function l(S){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(S),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),u}function u(S){return dr(S)?(e.consume(S),f):S===64?r(S):h(S)}function f(S){return S===43||S===45||S===46||En(S)?(o=1,d(S)):h(S)}function d(S){return S===58?(e.consume(S),o=0,p):(S===43||S===45||S===46||En(S))&&o++<32?(e.consume(S),d):(o=0,h(S))}function p(S){return S===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(S),e.exit("autolinkMarker"),e.exit("autolink"),n):S===null||S===32||S===60||ym(S)?r(S):(e.consume(S),p)}function h(S){return S===64?(e.consume(S),m):UI(S)?(e.consume(S),h):r(S)}function m(S){return En(S)?g(S):r(S)}function g(S){return S===46?(e.consume(S),o=0,m):S===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(S),e.exit("autolinkMarker"),e.exit("autolink"),n):b(S)}function b(S){if((S===45||En(S))&&o++<63){const E=S===45?b:g;return e.consume(S),E}return r(S)}}a(e9,"tokenizeAutolink");const mf={partial:!0,tokenize:t9};function t9(e,n,r){return o;function o(u){return Je(u)?ft(e,l,"linePrefix")(u):l(u)}function l(u){return u===null||Ne(u)?n(u):r(u)}}a(t9,"tokenizeBlankLine");const CR={continuation:{tokenize:r9},exit:i9,name:"blockQuote",tokenize:n9};function n9(e,n,r){const o=this;return l;function l(f){if(f===62){const d=o.containerState;return d.open||(e.enter("blockQuote",{_container:!0}),d.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(f),e.exit("blockQuoteMarker"),u}return r(f)}function u(f){return Je(f)?(e.enter("blockQuotePrefixWhitespace"),e.consume(f),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(f))}}a(n9,"tokenizeBlockQuoteStart");function r9(e,n,r){const o=this;return l;function l(f){return Je(f)?ft(e,u,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f):u(f)}function u(f){return e.attempt(CR,n,r)(f)}}a(r9,"tokenizeBlockQuoteContinuation");function i9(e){e.exit("blockQuote")}a(i9,"exit");const TR={name:"characterEscape",tokenize:o9};function o9(e,n,r){return o;function o(u){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(u),e.exit("escapeMarker"),l}function l(u){return qI(u)?(e.enter("characterEscapeValue"),e.consume(u),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):r(u)}}a(o9,"tokenizeCharacterEscape");const RR={name:"characterReference",tokenize:a9};function a9(e,n,r){const o=this;let l=0,u,f;return d;function d(g){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),p}function p(g){return g===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(g),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),u=31,f=En,m(g))}function h(g){return g===88||g===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(g),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),u=6,f=FI,m):(e.enter("characterReferenceValue"),u=7,f=gm,m(g))}function m(g){if(g===59&&l){const b=e.exit("characterReferenceValue");return f===En&&!ky(o.sliceSerialize(b))?r(g):(e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)}return f(g)&&l++<u?(e.consume(g),m):r(g)}}a(a9,"tokenizeCharacterReference");const FS={partial:!0,tokenize:s9},qS={concrete:!0,name:"codeFenced",tokenize:l9};function l9(e,n,r){const o=this,l={partial:!0,tokenize:B};let u=0,f=0,d;return p;function p(D){return h(D)}function h(D){const P=o.events[o.events.length-1];return u=P&&P[1].type==="linePrefix"?P[2].sliceSerialize(P[1],!0).length:0,d=D,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),m(D)}function m(D){return D===d?(f++,e.consume(D),m):f<3?r(D):(e.exit("codeFencedFenceSequence"),Je(D)?ft(e,g,"whitespace")(D):g(D))}function g(D){return D===null||Ne(D)?(e.exit("codeFencedFence"),o.interrupt?n(D):e.check(FS,w,L)(D)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),b(D))}function b(D){return D===null||Ne(D)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),g(D)):Je(D)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ft(e,S,"whitespace")(D)):D===96&&D===d?r(D):(e.consume(D),b)}function S(D){return D===null||Ne(D)?g(D):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),E(D))}function E(D){return D===null||Ne(D)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),g(D)):D===96&&D===d?r(D):(e.consume(D),E)}function w(D){return e.attempt(l,L,R)(D)}function R(D){return e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),T}function T(D){return u>0&&Je(D)?ft(e,O,"linePrefix",u+1)(D):O(D)}function O(D){return D===null||Ne(D)?e.check(FS,w,L)(D):(e.enter("codeFlowValue"),M(D))}function M(D){return D===null||Ne(D)?(e.exit("codeFlowValue"),O(D)):(e.consume(D),M)}function L(D){return e.exit("codeFenced"),n(D)}function B(D,P,Y){let K=0;return te;function te(oe){return D.enter("lineEnding"),D.consume(oe),D.exit("lineEnding"),Z}function Z(oe){return D.enter("codeFencedFence"),Je(oe)?ft(D,ee,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(oe):ee(oe)}function ee(oe){return oe===d?(D.enter("codeFencedFenceSequence"),fe(oe)):Y(oe)}function fe(oe){return oe===d?(K++,D.consume(oe),fe):K>=f?(D.exit("codeFencedFenceSequence"),Je(oe)?ft(D,F,"whitespace")(oe):F(oe)):Y(oe)}function F(oe){return oe===null||Ne(oe)?(D.exit("codeFencedFence"),P(oe)):Y(oe)}}}a(l9,"tokenizeCodeFenced");function s9(e,n,r){const o=this;return l;function l(f){return f===null?r(f):(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u)}function u(f){return o.parser.lazy[o.now().line]?r(f):n(f)}}a(s9,"tokenizeNonLazyContinuation");const gh={name:"codeIndented",tokenize:c9},u9={partial:!0,tokenize:f9};function c9(e,n,r){const o=this;return l;function l(h){return e.enter("codeIndented"),ft(e,u,"linePrefix",5)(h)}function u(h){const m=o.events[o.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?f(h):r(h)}function f(h){return h===null?p(h):Ne(h)?e.attempt(u9,f,p)(h):(e.enter("codeFlowValue"),d(h))}function d(h){return h===null||Ne(h)?(e.exit("codeFlowValue"),f(h)):(e.consume(h),d)}function p(h){return e.exit("codeIndented"),n(h)}}a(c9,"tokenizeCodeIndented");function f9(e,n,r){const o=this;return l;function l(f){return o.parser.lazy[o.now().line]?r(f):Ne(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):ft(e,u,"linePrefix",5)(f)}function u(f){const d=o.events[o.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?n(f):Ne(f)?l(f):r(f)}}a(f9,"tokenizeFurtherStart");const d9={name:"codeText",previous:h9,resolve:p9,tokenize:m9};function p9(e){let n=e.length-4,r=3,o,l;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(o=r;++o<n;)if(e[o][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[n][1].type="codeTextPadding",r+=2,n-=2;break}}for(o=r-1,n++;++o<=n;)l===void 0?o!==n&&e[o][1].type!=="lineEnding"&&(l=o):(o===n||e[o][1].type==="lineEnding")&&(e[l][1].type="codeTextData",o!==l+2&&(e[l][1].end=e[o-1][1].end,e.splice(l+2,o-l-2),n-=o-l-2,o=l+2),l=void 0);return e}a(p9,"resolveCodeText");function h9(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}a(h9,"previous");function m9(e,n,r){let o=0,l,u;return f;function f(g){return e.enter("codeText"),e.enter("codeTextSequence"),d(g)}function d(g){return g===96?(e.consume(g),o++,d):(e.exit("codeTextSequence"),p(g))}function p(g){return g===null?r(g):g===32?(e.enter("space"),e.consume(g),e.exit("space"),p):g===96?(u=e.enter("codeTextSequence"),l=0,m(g)):Ne(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),p):(e.enter("codeTextData"),h(g))}function h(g){return g===null||g===32||g===96||Ne(g)?(e.exit("codeTextData"),p(g)):(e.consume(g),h)}function m(g){return g===96?(e.consume(g),l++,m):l===o?(e.exit("codeTextSequence"),e.exit("codeText"),n(g)):(u.type="codeTextData",h(g))}}a(m9,"tokenizeCodeText");class y9{static{a(this,"SpliceBuffer")}constructor(n){this.left=n?[...n]:[],this.right=[]}get(n){if(n<0||n>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+n+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return n<this.left.length?this.left[n]:this.right[this.right.length-n+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(n,r){const o=r??Number.POSITIVE_INFINITY;return o<this.left.length?this.left.slice(n,o):n>this.left.length?this.right.slice(this.right.length-o+this.left.length,this.right.length-n+this.left.length).reverse():this.left.slice(n).concat(this.right.slice(this.right.length-o+this.left.length).reverse())}splice(n,r,o){const l=r||0;this.setCursor(Math.trunc(n));const u=this.right.splice(this.right.length-l,Number.POSITIVE_INFINITY);return o&&$l(this.left,o),u.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(n){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(n)}pushMany(n){this.setCursor(Number.POSITIVE_INFINITY),$l(this.left,n)}unshift(n){this.setCursor(0),this.right.push(n)}unshiftMany(n){this.setCursor(0),$l(this.right,n.reverse())}setCursor(n){if(!(n===this.left.length||n>this.left.length&&this.right.length===0||n<0&&this.left.length===0))if(n<this.left.length){const r=this.left.splice(n,Number.POSITIVE_INFINITY);$l(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-n,Number.POSITIVE_INFINITY);$l(this.left,r.reverse())}}}function $l(e,n){let r=0;if(n.length<1e4)e.push(...n);else for(;r<n.length;)e.push(...n.slice(r,r+1e4)),r+=1e4}a($l,"chunkedPush");function OR(e){const n={};let r=-1,o,l,u,f,d,p,h;const m=new y9(e);for(;++r<m.length;){for(;r in n;)r=n[r];if(o=m.get(r),r&&o[1].type==="chunkFlow"&&m.get(r-1)[1].type==="listItemPrefix"&&(p=o[1]._tokenizer.events,u=0,u<p.length&&p[u][1].type==="lineEndingBlank"&&(u+=2),u<p.length&&p[u][1].type==="content"))for(;++u<p.length&&p[u][1].type!=="content";)p[u][1].type==="chunkText"&&(p[u][1]._isInFirstContentOfListItem=!0,u++);if(o[0]==="enter")o[1].contentType&&(Object.assign(n,g9(m,r)),r=n[r],h=!0);else if(o[1]._container){for(u=r,l=void 0;u--;)if(f=m.get(u),f[1].type==="lineEnding"||f[1].type==="lineEndingBlank")f[0]==="enter"&&(l&&(m.get(l)[1].type="lineEndingBlank"),f[1].type="lineEnding",l=u);else if(!(f[1].type==="linePrefix"||f[1].type==="listItemIndent"))break;l&&(o[1].end={...m.get(l)[1].start},d=m.slice(l,r),d.unshift(o),m.splice(l,r-l+1,d))}}return Sr(e,0,Number.POSITIVE_INFINITY,m.slice(0)),!h}a(OR,"subtokenize");function g9(e,n){const r=e.get(n)[1],o=e.get(n)[2];let l=n-1;const u=[];let f=r._tokenizer;f||(f=o.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(f._contentTypeTextTrailing=!0));const d=f.events,p=[],h={};let m,g,b=-1,S=r,E=0,w=0;const R=[w];for(;S;){for(;e.get(++l)[1]!==S;);u.push(l),S._tokenizer||(m=o.sliceStream(S),S.next||m.push(null),g&&f.defineSkip(S.start),S._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=!0),f.write(m),S._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=void 0)),g=S,S=S.next}for(S=r;++b<d.length;)d[b][0]==="exit"&&d[b-1][0]==="enter"&&d[b][1].type===d[b-1][1].type&&d[b][1].start.line!==d[b][1].end.line&&(w=b+1,R.push(w),S._tokenizer=void 0,S.previous=void 0,S=S.next);for(f.events=[],S?(S._tokenizer=void 0,S.previous=void 0):R.pop(),b=R.length;b--;){const T=d.slice(R[b],R[b+1]),O=u.pop();p.push([O,O+T.length-1]),e.splice(O,2,T)}for(p.reverse(),b=-1;++b<p.length;)h[E+p[b][0]]=E+p[b][1],E+=p[b][1]-p[b][0]-1;return h}a(g9,"subcontent");const v9={resolve:S9,tokenize:x9},b9={partial:!0,tokenize:w9};function S9(e){return OR(e),e}a(S9,"resolveContent");function x9(e,n){let r;return o;function o(d){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),l(d)}function l(d){return d===null?u(d):Ne(d)?e.check(b9,f,u)(d):(e.consume(d),l)}function u(d){return e.exit("chunkContent"),e.exit("content"),n(d)}function f(d){return e.consume(d),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,l}}a(x9,"tokenizeContent");function w9(e,n,r){const o=this;return l;function l(f){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),ft(e,u,"linePrefix")}function u(f){if(f===null||Ne(f))return r(f);const d=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?n(f):e.interrupt(o.parser.constructs.flow,r,n)(f)}}a(w9,"tokenizeContinuation");function AR(e,n,r,o,l,u,f,d,p){const h=p||Number.POSITIVE_INFINITY;let m=0;return g;function g(T){return T===60?(e.enter(o),e.enter(l),e.enter(u),e.consume(T),e.exit(u),b):T===null||T===32||T===41||ym(T)?r(T):(e.enter(o),e.enter(f),e.enter(d),e.enter("chunkString",{contentType:"string"}),w(T))}function b(T){return T===62?(e.enter(u),e.consume(T),e.exit(u),e.exit(l),e.exit(o),n):(e.enter(d),e.enter("chunkString",{contentType:"string"}),S(T))}function S(T){return T===62?(e.exit("chunkString"),e.exit(d),b(T)):T===null||T===60||Ne(T)?r(T):(e.consume(T),T===92?E:S)}function E(T){return T===60||T===62||T===92?(e.consume(T),S):S(T)}function w(T){return!m&&(T===null||T===41||cn(T))?(e.exit("chunkString"),e.exit(d),e.exit(f),e.exit(o),n(T)):m<h&&T===40?(e.consume(T),m++,w):T===41?(e.consume(T),m--,w):T===null||T===32||T===40||ym(T)?r(T):(e.consume(T),T===92?R:w)}function R(T){return T===40||T===41||T===92?(e.consume(T),w):w(T)}}a(AR,"factoryDestination");function _R(e,n,r,o,l,u){const f=this;let d=0,p;return h;function h(S){return e.enter(o),e.enter(l),e.consume(S),e.exit(l),e.enter(u),m}function m(S){return d>999||S===null||S===91||S===93&&!p||S===94&&!d&&"_hiddenFootnoteSupport"in f.parser.constructs?r(S):S===93?(e.exit(u),e.enter(l),e.consume(S),e.exit(l),e.exit(o),n):Ne(S)?(e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),m):(e.enter("chunkString",{contentType:"string"}),g(S))}function g(S){return S===null||S===91||S===93||Ne(S)||d++>999?(e.exit("chunkString"),m(S)):(e.consume(S),p||(p=!Je(S)),S===92?b:g)}function b(S){return S===91||S===92||S===93?(e.consume(S),d++,g):g(S)}}a(_R,"factoryLabel");function MR(e,n,r,o,l,u){let f;return d;function d(b){return b===34||b===39||b===40?(e.enter(o),e.enter(l),e.consume(b),e.exit(l),f=b===40?41:b,p):r(b)}function p(b){return b===f?(e.enter(l),e.consume(b),e.exit(l),e.exit(o),n):(e.enter(u),h(b))}function h(b){return b===f?(e.exit(u),p(f)):b===null?r(b):Ne(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),ft(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),m(b))}function m(b){return b===f||b===null||Ne(b)?(e.exit("chunkString"),h(b)):(e.consume(b),b===92?g:m)}function g(b){return b===f||b===92?(e.consume(b),m):m(b)}}a(MR,"factoryTitle");function Zl(e,n){let r;return o;function o(l){return Ne(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),r=!0,o):Je(l)?ft(e,o,r?"linePrefix":"lineSuffix")(l):n(l)}}a(Zl,"factoryWhitespace");const E9={name:"definition",tokenize:T9},C9={partial:!0,tokenize:R9};function T9(e,n,r){const o=this;let l;return u;function u(S){return e.enter("definition"),f(S)}function f(S){return _R.call(o,e,d,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(S)}function d(S){return l=Sa(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),S===58?(e.enter("definitionMarker"),e.consume(S),e.exit("definitionMarker"),p):r(S)}function p(S){return cn(S)?Zl(e,h)(S):h(S)}function h(S){return AR(e,m,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(S)}function m(S){return e.attempt(C9,g,g)(S)}function g(S){return Je(S)?ft(e,b,"whitespace")(S):b(S)}function b(S){return S===null||Ne(S)?(e.exit("definition"),o.parser.defined.push(l),n(S)):r(S)}}a(T9,"tokenizeDefinition");function R9(e,n,r){return o;function o(d){return cn(d)?Zl(e,l)(d):r(d)}function l(d){return MR(e,u,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function u(d){return Je(d)?ft(e,f,"whitespace")(d):f(d)}function f(d){return d===null||Ne(d)?n(d):r(d)}}a(R9,"tokenizeTitleBefore");const O9={name:"hardBreakEscape",tokenize:A9};function A9(e,n,r){return o;function o(u){return e.enter("hardBreakEscape"),e.consume(u),l}function l(u){return Ne(u)?(e.exit("hardBreakEscape"),n(u)):r(u)}}a(A9,"tokenizeHardBreakEscape");const _9={name:"headingAtx",resolve:M9,tokenize:N9};function M9(e,n){let r=e.length-2,o=3,l,u;return e[o][1].type==="whitespace"&&(o+=2),r-2>o&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(o===r-1||r-4>o&&e[r-2][1].type==="whitespace")&&(r-=o+1===r?2:4),r>o&&(l={type:"atxHeadingText",start:e[o][1].start,end:e[r][1].end},u={type:"chunkText",start:e[o][1].start,end:e[r][1].end,contentType:"text"},Sr(e,o,r-o+1,[["enter",l,n],["enter",u,n],["exit",u,n],["exit",l,n]])),e}a(M9,"resolveHeadingAtx");function N9(e,n,r){let o=0;return l;function l(m){return e.enter("atxHeading"),u(m)}function u(m){return e.enter("atxHeadingSequence"),f(m)}function f(m){return m===35&&o++<6?(e.consume(m),f):m===null||cn(m)?(e.exit("atxHeadingSequence"),d(m)):r(m)}function d(m){return m===35?(e.enter("atxHeadingSequence"),p(m)):m===null||Ne(m)?(e.exit("atxHeading"),n(m)):Je(m)?ft(e,d,"whitespace")(m):(e.enter("atxHeadingText"),h(m))}function p(m){return m===35?(e.consume(m),p):(e.exit("atxHeadingSequence"),d(m))}function h(m){return m===null||m===35||cn(m)?(e.exit("atxHeadingText"),d(m)):(e.consume(m),h)}}a(N9,"tokenizeHeadingAtx");const k9=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],$S=["pre","script","style","textarea"],D9={concrete:!0,name:"htmlFlow",resolveTo:z9,tokenize:j9},P9={partial:!0,tokenize:B9},L9={partial:!0,tokenize:I9};function z9(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}a(z9,"resolveToHtmlFlow");function j9(e,n,r){const o=this;let l,u,f,d,p;return h;function h(A){return m(A)}function m(A){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(A),g}function g(A){return A===33?(e.consume(A),b):A===47?(e.consume(A),u=!0,w):A===63?(e.consume(A),l=3,o.interrupt?n:k):dr(A)?(e.consume(A),f=String.fromCharCode(A),R):r(A)}function b(A){return A===45?(e.consume(A),l=2,S):A===91?(e.consume(A),l=5,d=0,E):dr(A)?(e.consume(A),l=4,o.interrupt?n:k):r(A)}function S(A){return A===45?(e.consume(A),o.interrupt?n:k):r(A)}function E(A){const J="CDATA[";return A===J.charCodeAt(d++)?(e.consume(A),d===J.length?o.interrupt?n:ee:E):r(A)}function w(A){return dr(A)?(e.consume(A),f=String.fromCharCode(A),R):r(A)}function R(A){if(A===null||A===47||A===62||cn(A)){const J=A===47,de=f.toLowerCase();return!J&&!u&&$S.includes(de)?(l=1,o.interrupt?n(A):ee(A)):k9.includes(f.toLowerCase())?(l=6,J?(e.consume(A),T):o.interrupt?n(A):ee(A)):(l=7,o.interrupt&&!o.parser.lazy[o.now().line]?r(A):u?O(A):M(A))}return A===45||En(A)?(e.consume(A),f+=String.fromCharCode(A),R):r(A)}function T(A){return A===62?(e.consume(A),o.interrupt?n:ee):r(A)}function O(A){return Je(A)?(e.consume(A),O):te(A)}function M(A){return A===47?(e.consume(A),te):A===58||A===95||dr(A)?(e.consume(A),L):Je(A)?(e.consume(A),M):te(A)}function L(A){return A===45||A===46||A===58||A===95||En(A)?(e.consume(A),L):B(A)}function B(A){return A===61?(e.consume(A),D):Je(A)?(e.consume(A),B):M(A)}function D(A){return A===null||A===60||A===61||A===62||A===96?r(A):A===34||A===39?(e.consume(A),p=A,P):Je(A)?(e.consume(A),D):Y(A)}function P(A){return A===p?(e.consume(A),p=null,K):A===null||Ne(A)?r(A):(e.consume(A),P)}function Y(A){return A===null||A===34||A===39||A===47||A===60||A===61||A===62||A===96||cn(A)?B(A):(e.consume(A),Y)}function K(A){return A===47||A===62||Je(A)?M(A):r(A)}function te(A){return A===62?(e.consume(A),Z):r(A)}function Z(A){return A===null||Ne(A)?ee(A):Je(A)?(e.consume(A),Z):r(A)}function ee(A){return A===45&&l===2?(e.consume(A),I):A===60&&l===1?(e.consume(A),W):A===62&&l===4?(e.consume(A),z):A===63&&l===3?(e.consume(A),k):A===93&&l===5?(e.consume(A),se):Ne(A)&&(l===6||l===7)?(e.exit("htmlFlowData"),e.check(P9,Q,fe)(A)):A===null||Ne(A)?(e.exit("htmlFlowData"),fe(A)):(e.consume(A),ee)}function fe(A){return e.check(L9,F,Q)(A)}function F(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),oe}function oe(A){return A===null||Ne(A)?fe(A):(e.enter("htmlFlowData"),ee(A))}function I(A){return A===45?(e.consume(A),k):ee(A)}function W(A){return A===47?(e.consume(A),f="",ie):ee(A)}function ie(A){if(A===62){const J=f.toLowerCase();return $S.includes(J)?(e.consume(A),z):ee(A)}return dr(A)&&f.length<8?(e.consume(A),f+=String.fromCharCode(A),ie):ee(A)}function se(A){return A===93?(e.consume(A),k):ee(A)}function k(A){return A===62?(e.consume(A),z):A===45&&l===2?(e.consume(A),k):ee(A)}function z(A){return A===null||Ne(A)?(e.exit("htmlFlowData"),Q(A)):(e.consume(A),z)}function Q(A){return e.exit("htmlFlow"),n(A)}}a(j9,"tokenizeHtmlFlow");function I9(e,n,r){const o=this;return l;function l(f){return Ne(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):r(f)}function u(f){return o.parser.lazy[o.now().line]?r(f):n(f)}}a(I9,"tokenizeNonLazyContinuationStart");function B9(e,n,r){return o;function o(l){return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),e.attempt(mf,n,r)}}a(B9,"tokenizeBlankLineBefore");const H9={name:"htmlText",tokenize:U9};function U9(e,n,r){const o=this;let l,u,f;return d;function d(k){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(k),p}function p(k){return k===33?(e.consume(k),h):k===47?(e.consume(k),B):k===63?(e.consume(k),M):dr(k)?(e.consume(k),Y):r(k)}function h(k){return k===45?(e.consume(k),m):k===91?(e.consume(k),u=0,E):dr(k)?(e.consume(k),O):r(k)}function m(k){return k===45?(e.consume(k),S):r(k)}function g(k){return k===null?r(k):k===45?(e.consume(k),b):Ne(k)?(f=g,W(k)):(e.consume(k),g)}function b(k){return k===45?(e.consume(k),S):g(k)}function S(k){return k===62?I(k):k===45?b(k):g(k)}function E(k){const z="CDATA[";return k===z.charCodeAt(u++)?(e.consume(k),u===z.length?w:E):r(k)}function w(k){return k===null?r(k):k===93?(e.consume(k),R):Ne(k)?(f=w,W(k)):(e.consume(k),w)}function R(k){return k===93?(e.consume(k),T):w(k)}function T(k){return k===62?I(k):k===93?(e.consume(k),T):w(k)}function O(k){return k===null||k===62?I(k):Ne(k)?(f=O,W(k)):(e.consume(k),O)}function M(k){return k===null?r(k):k===63?(e.consume(k),L):Ne(k)?(f=M,W(k)):(e.consume(k),M)}function L(k){return k===62?I(k):M(k)}function B(k){return dr(k)?(e.consume(k),D):r(k)}function D(k){return k===45||En(k)?(e.consume(k),D):P(k)}function P(k){return Ne(k)?(f=P,W(k)):Je(k)?(e.consume(k),P):I(k)}function Y(k){return k===45||En(k)?(e.consume(k),Y):k===47||k===62||cn(k)?K(k):r(k)}function K(k){return k===47?(e.consume(k),I):k===58||k===95||dr(k)?(e.consume(k),te):Ne(k)?(f=K,W(k)):Je(k)?(e.consume(k),K):I(k)}function te(k){return k===45||k===46||k===58||k===95||En(k)?(e.consume(k),te):Z(k)}function Z(k){return k===61?(e.consume(k),ee):Ne(k)?(f=Z,W(k)):Je(k)?(e.consume(k),Z):K(k)}function ee(k){return k===null||k===60||k===61||k===62||k===96?r(k):k===34||k===39?(e.consume(k),l=k,fe):Ne(k)?(f=ee,W(k)):Je(k)?(e.consume(k),ee):(e.consume(k),F)}function fe(k){return k===l?(e.consume(k),l=void 0,oe):k===null?r(k):Ne(k)?(f=fe,W(k)):(e.consume(k),fe)}function F(k){return k===null||k===34||k===39||k===60||k===61||k===96?r(k):k===47||k===62||cn(k)?K(k):(e.consume(k),F)}function oe(k){return k===47||k===62||cn(k)?K(k):r(k)}function I(k){return k===62?(e.consume(k),e.exit("htmlTextData"),e.exit("htmlText"),n):r(k)}function W(k){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),ie}function ie(k){return Je(k)?ft(e,se,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):se(k)}function se(k){return e.enter("htmlTextData"),f(k)}}a(U9,"tokenizeHtmlText");const Py={name:"labelEnd",resolveAll:V9,resolveTo:G9,tokenize:Y9},F9={tokenize:Q9},q9={tokenize:K9},$9={tokenize:X9};function V9(e){let n=-1;const r=[];for(;++n<e.length;){const o=e[n][1];if(r.push(e[n]),o.type==="labelImage"||o.type==="labelLink"||o.type==="labelEnd"){const l=o.type==="labelImage"?4:2;o.type="data",n+=l}}return e.length!==r.length&&Sr(e,0,e.length,r),e}a(V9,"resolveAllLabelEnd");function G9(e,n){let r=e.length,o=0,l,u,f,d;for(;r--;)if(l=e[r][1],u){if(l.type==="link"||l.type==="labelLink"&&l._inactive)break;e[r][0]==="enter"&&l.type==="labelLink"&&(l._inactive=!0)}else if(f){if(e[r][0]==="enter"&&(l.type==="labelImage"||l.type==="labelLink")&&!l._balanced&&(u=r,l.type!=="labelLink")){o=2;break}}else l.type==="labelEnd"&&(f=r);const p={type:e[u][1].type==="labelLink"?"link":"image",start:{...e[u][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[u][1].start},end:{...e[f][1].end}},m={type:"labelText",start:{...e[u+o+2][1].end},end:{...e[f-2][1].start}};return d=[["enter",p,n],["enter",h,n]],d=jn(d,e.slice(u+1,u+o+3)),d=jn(d,[["enter",m,n]]),d=jn(d,Dy(n.parser.constructs.insideSpan.null,e.slice(u+o+4,f-3),n)),d=jn(d,[["exit",m,n],e[f-2],e[f-1],["exit",h,n]]),d=jn(d,e.slice(f+1)),d=jn(d,[["exit",p,n]]),Sr(e,u,e.length,d),e}a(G9,"resolveToLabelEnd");function Y9(e,n,r){const o=this;let l=o.events.length,u,f;for(;l--;)if((o.events[l][1].type==="labelImage"||o.events[l][1].type==="labelLink")&&!o.events[l][1]._balanced){u=o.events[l][1];break}return d;function d(b){return u?u._inactive?g(b):(f=o.parser.defined.includes(Sa(o.sliceSerialize({start:u.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(b),e.exit("labelMarker"),e.exit("labelEnd"),p):r(b)}function p(b){return b===40?e.attempt(F9,m,f?m:g)(b):b===91?e.attempt(q9,m,f?h:g)(b):f?m(b):g(b)}function h(b){return e.attempt($9,m,g)(b)}function m(b){return n(b)}function g(b){return u._balanced=!0,r(b)}}a(Y9,"tokenizeLabelEnd");function Q9(e,n,r){return o;function o(g){return e.enter("resource"),e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),l}function l(g){return cn(g)?Zl(e,u)(g):u(g)}function u(g){return g===41?m(g):AR(e,f,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function f(g){return cn(g)?Zl(e,p)(g):m(g)}function d(g){return r(g)}function p(g){return g===34||g===39||g===40?MR(e,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):m(g)}function h(g){return cn(g)?Zl(e,m)(g):m(g)}function m(g){return g===41?(e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),e.exit("resource"),n):r(g)}}a(Q9,"tokenizeResource");function K9(e,n,r){const o=this;return l;function l(d){return _R.call(o,e,u,f,"reference","referenceMarker","referenceString")(d)}function u(d){return o.parser.defined.includes(Sa(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)))?n(d):r(d)}function f(d){return r(d)}}a(K9,"tokenizeReferenceFull");function X9(e,n,r){return o;function o(u){return e.enter("reference"),e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),l}function l(u){return u===93?(e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),e.exit("reference"),n):r(u)}}a(X9,"tokenizeReferenceCollapsed");const W9={name:"labelStartImage",resolveAll:Py.resolveAll,tokenize:Z9};function Z9(e,n,r){const o=this;return l;function l(d){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(d),e.exit("labelImageMarker"),u}function u(d){return d===91?(e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelImage"),f):r(d)}function f(d){return d===94&&"_hiddenFootnoteSupport"in o.parser.constructs?r(d):n(d)}}a(Z9,"tokenizeLabelStartImage");const J9={name:"labelStartLink",resolveAll:Py.resolveAll,tokenize:e8};function e8(e,n,r){const o=this;return l;function l(f){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelLink"),u}function u(f){return f===94&&"_hiddenFootnoteSupport"in o.parser.constructs?r(f):n(f)}}a(e8,"tokenizeLabelStartLink");const vh={name:"lineEnding",tokenize:t8};function t8(e,n){return r;function r(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ft(e,n,"linePrefix")}}a(t8,"tokenizeLineEnding");const mc={name:"thematicBreak",tokenize:n8};function n8(e,n,r){let o=0,l;return u;function u(h){return e.enter("thematicBreak"),f(h)}function f(h){return l=h,d(h)}function d(h){return h===l?(e.enter("thematicBreakSequence"),p(h)):o>=3&&(h===null||Ne(h))?(e.exit("thematicBreak"),n(h)):r(h)}function p(h){return h===l?(e.consume(h),o++,p):(e.exit("thematicBreakSequence"),Je(h)?ft(e,d,"whitespace")(h):d(h))}}a(n8,"tokenizeThematicBreak");const sn={continuation:{tokenize:a8},exit:s8,name:"list",tokenize:o8},r8={partial:!0,tokenize:u8},i8={partial:!0,tokenize:l8};function o8(e,n,r){const o=this,l=o.events[o.events.length-1];let u=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,f=0;return d;function d(S){const E=o.containerState.type||(S===42||S===43||S===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!o.containerState.marker||S===o.containerState.marker:gm(S)){if(o.containerState.type||(o.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),S===42||S===45?e.check(mc,r,h)(S):h(S);if(!o.interrupt||S===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),p(S)}return r(S)}function p(S){return gm(S)&&++f<10?(e.consume(S),p):(!o.interrupt||f<2)&&(o.containerState.marker?S===o.containerState.marker:S===41||S===46)?(e.exit("listItemValue"),h(S)):r(S)}function h(S){return e.enter("listItemMarker"),e.consume(S),e.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||S,e.check(mf,o.interrupt?r:m,e.attempt(r8,b,g))}function m(S){return o.containerState.initialBlankLine=!0,u++,b(S)}function g(S){return Je(S)?(e.enter("listItemPrefixWhitespace"),e.consume(S),e.exit("listItemPrefixWhitespace"),b):r(S)}function b(S){return o.containerState.size=u+o.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(S)}}a(o8,"tokenizeListStart");function a8(e,n,r){const o=this;return o.containerState._closeFlow=void 0,e.check(mf,l,u);function l(d){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,ft(e,n,"listItemIndent",o.containerState.size+1)(d)}a(l,"onBlank");function u(d){return o.containerState.furtherBlankLines||!Je(d)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,f(d)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,e.attempt(i8,n,f)(d))}a(u,"notBlank");function f(d){return o.containerState._closeFlow=!0,o.interrupt=void 0,ft(e,e.attempt(sn,n,r),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}a(f,"notInCurrentItem")}a(a8,"tokenizeListContinuation");function l8(e,n,r){const o=this;return ft(e,l,"listItemIndent",o.containerState.size+1);function l(u){const f=o.events[o.events.length-1];return f&&f[1].type==="listItemIndent"&&f[2].sliceSerialize(f[1],!0).length===o.containerState.size?n(u):r(u)}}a(l8,"tokenizeIndent");function s8(e){e.exit(this.containerState.type)}a(s8,"tokenizeListEnd");function u8(e,n,r){const o=this;return ft(e,l,"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function l(u){const f=o.events[o.events.length-1];return!Je(u)&&f&&f[1].type==="listItemPrefixWhitespace"?n(u):r(u)}}a(u8,"tokenizeListItemPrefixWhitespace");const VS={name:"setextUnderline",resolveTo:c8,tokenize:f8};function c8(e,n){let r=e.length,o,l,u;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){o=r;break}e[r][1].type==="paragraph"&&(l=r)}else e[r][1].type==="content"&&e.splice(r,1),!u&&e[r][1].type==="definition"&&(u=r);const f={type:"setextHeading",start:{...e[o][1].start},end:{...e[e.length-1][1].end}};return e[l][1].type="setextHeadingText",u?(e.splice(l,0,["enter",f,n]),e.splice(u+1,0,["exit",e[o][1],n]),e[o][1].end={...e[u][1].end}):e[o][1]=f,e.push(["exit",f,n]),e}a(c8,"resolveToSetextUnderline");function f8(e,n,r){const o=this;let l;return u;function u(h){let m=o.events.length,g;for(;m--;)if(o.events[m][1].type!=="lineEnding"&&o.events[m][1].type!=="linePrefix"&&o.events[m][1].type!=="content"){g=o.events[m][1].type==="paragraph";break}return!o.parser.lazy[o.now().line]&&(o.interrupt||g)?(e.enter("setextHeadingLine"),l=h,f(h)):r(h)}function f(h){return e.enter("setextHeadingLineSequence"),d(h)}function d(h){return h===l?(e.consume(h),d):(e.exit("setextHeadingLineSequence"),Je(h)?ft(e,p,"lineSuffix")(h):p(h))}function p(h){return h===null||Ne(h)?(e.exit("setextHeadingLine"),n(h)):r(h)}}a(f8,"tokenizeSetextUnderline");const d8={tokenize:p8};function p8(e){const n=this,r=e.attempt(mf,o,e.attempt(this.parser.constructs.flowInitial,l,ft(e,e.attempt(this.parser.constructs.flow,l,e.attempt(v9,l)),"linePrefix")));return r;function o(u){if(u===null){e.consume(u);return}return e.enter("lineEndingBlank"),e.consume(u),e.exit("lineEndingBlank"),n.currentConstruct=void 0,r}function l(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n.currentConstruct=void 0,r}}a(p8,"initializeFlow");const h8={resolveAll:kR()},m8=NR("string"),y8=NR("text");function NR(e){return{resolveAll:kR(e==="text"?g8:void 0),tokenize:n};function n(r){const o=this,l=this.parser.constructs[e],u=r.attempt(l,f,d);return f;function f(m){return h(m)?u(m):d(m)}function d(m){if(m===null){r.consume(m);return}return r.enter("data"),r.consume(m),p}function p(m){return h(m)?(r.exit("data"),u(m)):(r.consume(m),p)}function h(m){if(m===null)return!0;const g=l[m];let b=-1;if(g)for(;++b<g.length;){const S=g[b];if(!S.previous||S.previous.call(o,o.previous))return!0}return!1}}}a(NR,"initializeFactory");function kR(e){return n;function n(r,o){let l=-1,u;for(;++l<=r.length;)u===void 0?r[l]&&r[l][1].type==="data"&&(u=l,l++):(!r[l]||r[l][1].type!=="data")&&(l!==u+2&&(r[u][1].end=r[l-1][1].end,r.splice(u+2,l-u-2),l=u+2),u=void 0);return e?e(r,o):r}}a(kR,"createResolver");function g8(e,n){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const o=e[r-1][1],l=n.sliceStream(o);let u=l.length,f=-1,d=0,p;for(;u--;){const h=l[u];if(typeof h=="string"){for(f=h.length;h.charCodeAt(f-1)===32;)d++,f--;if(f)break;f=-1}else if(h===-2)p=!0,d++;else if(h!==-1){u++;break}}if(n._contentTypeTextTrailing&&r===e.length&&(d=0),d){const h={type:r===e.length||p||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:u?f:o.start._bufferIndex+f,_index:o.start._index+u,line:o.end.line,column:o.end.column-d,offset:o.end.offset-d},end:{...o.end}};o.end={...h.start},o.start.offset===o.end.offset?Object.assign(o,h):(e.splice(r,0,["enter",h,n],["exit",h,n]),r+=2)}r++}return e}a(g8,"resolveAllLineSuffixes");const v8={42:sn,43:sn,45:sn,48:sn,49:sn,50:sn,51:sn,52:sn,53:sn,54:sn,55:sn,56:sn,57:sn,62:CR},b8={91:E9},S8={[-2]:gh,[-1]:gh,32:gh},x8={35:_9,42:mc,45:[VS,mc],60:D9,61:VS,95:mc,96:qS,126:qS},w8={38:RR,92:TR},E8={[-5]:vh,[-4]:vh,[-3]:vh,33:W9,38:RR,42:vm,60:[JI,H9],91:J9,92:[O9,TR],93:Py,95:vm,96:d9},C8={null:[vm,h8]},T8={null:[42,95]},R8={null:[]},O8=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:T8,contentInitial:b8,disable:R8,document:v8,flow:x8,flowInitial:S8,insideSpan:C8,string:w8,text:E8},Symbol.toStringTag,{value:"Module"}));function A8(e,n,r){let o={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const l={},u=[];let f=[],d=[];const p={attempt:P(B),check:P(D),consume:O,enter:M,exit:L,interrupt:P(D,{interrupt:!0})},h={code:null,containerState:{},defineSkip:w,events:[],now:E,parser:e,previous:null,sliceSerialize:b,sliceStream:S,write:g};let m=n.tokenize.call(h,p);return n.resolveAll&&u.push(n),h;function g(Z){return f=jn(f,Z),R(),f[f.length-1]!==null?[]:(Y(n,0),h.events=Dy(u,h.events,h),h.events)}a(g,"write");function b(Z,ee){return M8(S(Z),ee)}a(b,"sliceSerialize");function S(Z){return _8(f,Z)}a(S,"sliceStream");function E(){const{_bufferIndex:Z,_index:ee,line:fe,column:F,offset:oe}=o;return{_bufferIndex:Z,_index:ee,line:fe,column:F,offset:oe}}a(E,"now");function w(Z){l[Z.line]=Z.column,te()}a(w,"defineSkip");function R(){let Z;for(;o._index<f.length;){const ee=f[o._index];if(typeof ee=="string")for(Z=o._index,o._bufferIndex<0&&(o._bufferIndex=0);o._index===Z&&o._bufferIndex<ee.length;)T(ee.charCodeAt(o._bufferIndex));else T(ee)}}a(R,"main");function T(Z){m=m(Z)}a(T,"go");function O(Z){Ne(Z)?(o.line++,o.column=1,o.offset+=Z===-3?2:1,te()):Z!==-1&&(o.column++,o.offset++),o._bufferIndex<0?o._index++:(o._bufferIndex++,o._bufferIndex===f[o._index].length&&(o._bufferIndex=-1,o._index++)),h.previous=Z}a(O,"consume");function M(Z,ee){const fe=ee||{};return fe.type=Z,fe.start=E(),h.events.push(["enter",fe,h]),d.push(fe),fe}a(M,"enter");function L(Z){const ee=d.pop();return ee.end=E(),h.events.push(["exit",ee,h]),ee}a(L,"exit");function B(Z,ee){Y(Z,ee.from)}a(B,"onsuccessfulconstruct");function D(Z,ee){ee.restore()}a(D,"onsuccessfulcheck");function P(Z,ee){return fe;function fe(F,oe,I){let W,ie,se,k;return Array.isArray(F)?Q(F):"tokenize"in F?Q([F]):z(F);function z(ce){return V;function V(pe){const be=pe!==null&&ce[pe],Re=pe!==null&&ce.null,ke=[...Array.isArray(be)?be:be?[be]:[],...Array.isArray(Re)?Re:Re?[Re]:[]];return Q(ke)(pe)}}function Q(ce){return W=ce,ie=0,ce.length===0?I:A(ce[ie])}function A(ce){return V;function V(pe){return k=K(),se=ce,ce.partial||(h.currentConstruct=ce),ce.name&&h.parser.constructs.disable.null.includes(ce.name)?de():ce.tokenize.call(ee?Object.assign(Object.create(h),ee):h,p,J,de)(pe)}}function J(ce){return Z(se,k),oe}function de(ce){return k.restore(),++ie<W.length?A(W[ie]):I}}}a(P,"constructFactory");function Y(Z,ee){Z.resolveAll&&!u.includes(Z)&&u.push(Z),Z.resolve&&Sr(h.events,ee,h.events.length-ee,Z.resolve(h.events.slice(ee),h)),Z.resolveTo&&(h.events=Z.resolveTo(h.events,h))}a(Y,"addResult");function K(){const Z=E(),ee=h.previous,fe=h.currentConstruct,F=h.events.length,oe=Array.from(d);return{from:F,restore:I};function I(){o=Z,h.previous=ee,h.currentConstruct=fe,h.events.length=F,d=oe,te()}}a(K,"store");function te(){o.line in l&&o.column<2&&(o.column=l[o.line],o.offset+=l[o.line]-1)}a(te,"accountForPotentialSkip")}a(A8,"createTokenizer");function _8(e,n){const r=n.start._index,o=n.start._bufferIndex,l=n.end._index,u=n.end._bufferIndex;let f;if(r===l)f=[e[r].slice(o,u)];else{if(f=e.slice(r,l),o>-1){const d=f[0];typeof d=="string"?f[0]=d.slice(o):f.shift()}u>0&&f.push(e[l].slice(0,u))}return f}a(_8,"sliceChunks");function M8(e,n){let r=-1;const o=[];let l;for(;++r<e.length;){const u=e[r];let f;if(typeof u=="string")f=u;else switch(u){case-5:{f="\r";break}case-4:{f=`
|
|
599
|
+
`;break}case-3:{f=`\r
|
|
600
|
+
`;break}case-2:{f=n?" ":" ";break}case-1:{if(!n&&l)continue;f=" ";break}default:f=String.fromCharCode(u)}l=u===-2,o.push(f)}return o.join("")}a(M8,"serializeChunks");function N8(e){const o={constructs:II([O8,...(e||{}).extensions||[]]),content:l(GI),defined:[],document:l(QI),flow:l(d8),lazy:{},string:l(m8),text:l(y8)};return o;function l(u){return f;function f(d){return A8(o,u,d)}}}a(N8,"parse");function k8(e){for(;!OR(e););return e}a(k8,"postprocess");const GS=/[\0\t\n\r]/g;function D8(){let e=1,n="",r=!0,o;return l;function l(u,f,d){const p=[];let h,m,g,b,S;for(u=n+(typeof u=="string"?u.toString():new TextDecoder(f||void 0).decode(u)),g=0,n="",r&&(u.charCodeAt(0)===65279&&g++,r=void 0);g<u.length;){if(GS.lastIndex=g,h=GS.exec(u),b=h&&h.index!==void 0?h.index:u.length,S=u.charCodeAt(b),!h){n=u.slice(g);break}if(S===10&&g===b&&o)p.push(-3),o=void 0;else switch(o&&(p.push(-5),o=void 0),g<b&&(p.push(u.slice(g,b)),e+=b-g),S){case 0:{p.push(65533),e++;break}case 9:{for(m=Math.ceil(e/4)*4,p.push(-2);e++<m;)p.push(-1);break}case 10:{p.push(-4),e=1;break}default:o=!0,e=1}g=b+1}return d&&(o&&p.push(-5),n&&p.push(n),p.push(null)),p}}a(D8,"preprocess");const P8=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function L8(e){return e.replace(P8,z8)}a(L8,"decodeString");function z8(e,n,r){if(n)return n;if(r.charCodeAt(0)===35){const l=r.charCodeAt(1),u=l===120||l===88;return ER(r.slice(u?2:1),u?16:10)}return ky(r)||e}a(z8,"decode");const DR={}.hasOwnProperty;function j8(e,n,r){return typeof n!="string"&&(r=n,n=void 0),I8(r)(k8(N8(r).document().write(D8()(e,n,!0))))}a(j8,"fromMarkdown");function I8(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Rr),autolinkProtocol:K,autolinkEmail:K,atxHeading:u(Ut),blockQuote:u(Re),characterEscape:K,characterReference:K,codeFenced:u(ke),codeFencedFenceInfo:f,codeFencedFenceMeta:f,codeIndented:u(ke,f),codeText:u(Ue,f),codeTextData:K,data:K,codeFlowValue:K,definition:u(Be),definitionDestinationString:f,definitionLabelString:f,definitionTitleString:f,emphasis:u(nt),hardBreakEscape:u(Gt),hardBreakTrailing:u(Gt),htmlFlow:u(Tn,f),htmlFlowData:K,htmlText:u(Tn,f),htmlTextData:K,image:u(Mt),label:f,link:u(Rr),listItem:u(Fn),listItemValue:b,listOrdered:u(ei,g),listUnordered:u(ei),paragraph:u(wo),reference:A,referenceString:f,resourceDestinationString:f,resourceTitleString:f,setextHeading:u(Ut),strong:u(Fa),thematicBreak:u(Tf)},exit:{atxHeading:p(),atxHeadingSequence:B,autolink:p(),autolinkEmail:be,autolinkProtocol:pe,blockQuote:p(),characterEscapeValue:te,characterReferenceMarkerHexadecimal:de,characterReferenceMarkerNumeric:de,characterReferenceValue:ce,characterReference:V,codeFenced:p(R),codeFencedFence:w,codeFencedFenceInfo:S,codeFencedFenceMeta:E,codeFlowValue:te,codeIndented:p(T),codeText:p(oe),codeTextData:te,data:te,definition:p(),definitionDestinationString:L,definitionLabelString:O,definitionTitleString:M,emphasis:p(),hardBreakEscape:p(ee),hardBreakTrailing:p(ee),htmlFlow:p(fe),htmlFlowData:te,htmlText:p(F),htmlTextData:te,image:p(W),label:se,labelText:ie,lineEnding:Z,link:p(I),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:J,resourceDestinationString:k,resourceTitleString:z,resource:Q,setextHeading:p(Y),setextHeadingLineSequence:P,setextHeadingText:D,strong:p(),thematicBreak:p()}};PR(n,(e||{}).mdastExtensions||[]);const r={};return o;function o(ae){let ge={type:"root",children:[]};const Me={stack:[ge],tokenStack:[],config:n,enter:d,exit:h,buffer:f,resume:m,data:r},Fe=[];let et=-1;for(;++et<ae.length;)if(ae[et][1].type==="listOrdered"||ae[et][1].type==="listUnordered")if(ae[et][0]==="enter")Fe.push(et);else{const dn=Fe.pop();et=l(ae,dn,et)}for(et=-1;++et<ae.length;){const dn=n[ae[et][0]];DR.call(dn,ae[et][1].type)&&dn[ae[et][1].type].call(Object.assign({sliceSerialize:ae[et][2].sliceSerialize},Me),ae[et][1])}if(Me.tokenStack.length>0){const dn=Me.tokenStack[Me.tokenStack.length-1];(dn[1]||YS).call(Me,void 0,dn[0])}for(ge.position={start:Ri(ae.length>0?ae[0][1].start:{line:1,column:1,offset:0}),end:Ri(ae.length>0?ae[ae.length-2][1].end:{line:1,column:1,offset:0})},et=-1;++et<n.transforms.length;)ge=n.transforms[et](ge)||ge;return ge}function l(ae,ge,Me){let Fe=ge-1,et=-1,dn=!1,Or,Qt,Nt,Jt;for(;++Fe<=Me;){const st=ae[Fe];switch(st[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{st[0]==="enter"?et++:et--,Jt=void 0;break}case"lineEndingBlank":{st[0]==="enter"&&(Or&&!Jt&&!et&&!Nt&&(Nt=Fe),Jt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Jt=void 0}if(!et&&st[0]==="enter"&&st[1].type==="listItemPrefix"||et===-1&&st[0]==="exit"&&(st[1].type==="listUnordered"||st[1].type==="listOrdered")){if(Or){let ti=Fe;for(Qt=void 0;ti--;){const qn=ae[ti];if(qn[1].type==="lineEnding"||qn[1].type==="lineEndingBlank"){if(qn[0]==="exit")continue;Qt&&(ae[Qt][1].type="lineEndingBlank",dn=!0),qn[1].type="lineEnding",Qt=ti}else if(!(qn[1].type==="linePrefix"||qn[1].type==="blockQuotePrefix"||qn[1].type==="blockQuotePrefixWhitespace"||qn[1].type==="blockQuoteMarker"||qn[1].type==="listItemIndent"))break}Nt&&(!Qt||Nt<Qt)&&(Or._spread=!0),Or.end=Object.assign({},Qt?ae[Qt][1].start:st[1].end),ae.splice(Qt||Fe,0,["exit",Or,st[2]]),Fe++,Me++}if(st[1].type==="listItemPrefix"){const ti={type:"listItem",_spread:!1,start:Object.assign({},st[1].start),end:void 0};Or=ti,ae.splice(Fe,0,["enter",ti,st[2]]),Fe++,Me++,Nt=void 0,Jt=!0}}}return ae[ge][1]._spread=dn,Me}function u(ae,ge){return Me;function Me(Fe){d.call(this,ae(Fe),Fe),ge&&ge.call(this,Fe)}}function f(){this.stack.push({type:"fragment",children:[]})}function d(ae,ge,Me){this.stack[this.stack.length-1].children.push(ae),this.stack.push(ae),this.tokenStack.push([ge,Me||void 0]),ae.position={start:Ri(ge.start),end:void 0}}function p(ae){return ge;function ge(Me){ae&&ae.call(this,Me),h.call(this,Me)}}function h(ae,ge){const Me=this.stack.pop(),Fe=this.tokenStack.pop();if(Fe)Fe[0].type!==ae.type&&(ge?ge.call(this,ae,Fe[0]):(Fe[1]||YS).call(this,ae,Fe[0]));else throw new Error("Cannot close `"+ae.type+"` ("+Wl({start:ae.start,end:ae.end})+"): it’s not open");Me.position.end=Ri(ae.end)}function m(){return zI(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function b(ae){if(this.data.expectingFirstListItemValue){const ge=this.stack[this.stack.length-2];ge.start=Number.parseInt(this.sliceSerialize(ae),10),this.data.expectingFirstListItemValue=void 0}}function S(){const ae=this.resume(),ge=this.stack[this.stack.length-1];ge.lang=ae}function E(){const ae=this.resume(),ge=this.stack[this.stack.length-1];ge.meta=ae}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function R(){const ae=this.resume(),ge=this.stack[this.stack.length-1];ge.value=ae.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function T(){const ae=this.resume(),ge=this.stack[this.stack.length-1];ge.value=ae.replace(/(\r?\n|\r)$/g,"")}function O(ae){const ge=this.resume(),Me=this.stack[this.stack.length-1];Me.label=ge,Me.identifier=Sa(this.sliceSerialize(ae)).toLowerCase()}function M(){const ae=this.resume(),ge=this.stack[this.stack.length-1];ge.title=ae}function L(){const ae=this.resume(),ge=this.stack[this.stack.length-1];ge.url=ae}function B(ae){const ge=this.stack[this.stack.length-1];if(!ge.depth){const Me=this.sliceSerialize(ae).length;ge.depth=Me}}function D(){this.data.setextHeadingSlurpLineEnding=!0}function P(ae){const ge=this.stack[this.stack.length-1];ge.depth=this.sliceSerialize(ae).codePointAt(0)===61?1:2}function Y(){this.data.setextHeadingSlurpLineEnding=void 0}function K(ae){const Me=this.stack[this.stack.length-1].children;let Fe=Me[Me.length-1];(!Fe||Fe.type!=="text")&&(Fe=Yt(),Fe.position={start:Ri(ae.start),end:void 0},Me.push(Fe)),this.stack.push(Fe)}function te(ae){const ge=this.stack.pop();ge.value+=this.sliceSerialize(ae),ge.position.end=Ri(ae.end)}function Z(ae){const ge=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Me=ge.children[ge.children.length-1];Me.position.end=Ri(ae.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(ge.type)&&(K.call(this,ae),te.call(this,ae))}function ee(){this.data.atHardBreak=!0}function fe(){const ae=this.resume(),ge=this.stack[this.stack.length-1];ge.value=ae}function F(){const ae=this.resume(),ge=this.stack[this.stack.length-1];ge.value=ae}function oe(){const ae=this.resume(),ge=this.stack[this.stack.length-1];ge.value=ae}function I(){const ae=this.stack[this.stack.length-1];if(this.data.inReference){const ge=this.data.referenceType||"shortcut";ae.type+="Reference",ae.referenceType=ge,delete ae.url,delete ae.title}else delete ae.identifier,delete ae.label;this.data.referenceType=void 0}function W(){const ae=this.stack[this.stack.length-1];if(this.data.inReference){const ge=this.data.referenceType||"shortcut";ae.type+="Reference",ae.referenceType=ge,delete ae.url,delete ae.title}else delete ae.identifier,delete ae.label;this.data.referenceType=void 0}function ie(ae){const ge=this.sliceSerialize(ae),Me=this.stack[this.stack.length-2];Me.label=L8(ge),Me.identifier=Sa(ge).toLowerCase()}function se(){const ae=this.stack[this.stack.length-1],ge=this.resume(),Me=this.stack[this.stack.length-1];if(this.data.inReference=!0,Me.type==="link"){const Fe=ae.children;Me.children=Fe}else Me.alt=ge}function k(){const ae=this.resume(),ge=this.stack[this.stack.length-1];ge.url=ae}function z(){const ae=this.resume(),ge=this.stack[this.stack.length-1];ge.title=ae}function Q(){this.data.inReference=void 0}function A(){this.data.referenceType="collapsed"}function J(ae){const ge=this.resume(),Me=this.stack[this.stack.length-1];Me.label=ge,Me.identifier=Sa(this.sliceSerialize(ae)).toLowerCase(),this.data.referenceType="full"}function de(ae){this.data.characterReferenceType=ae.type}function ce(ae){const ge=this.sliceSerialize(ae),Me=this.data.characterReferenceType;let Fe;Me?(Fe=ER(ge,Me==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Fe=ky(ge);const et=this.stack[this.stack.length-1];et.value+=Fe}function V(ae){const ge=this.stack.pop();ge.position.end=Ri(ae.end)}function pe(ae){te.call(this,ae);const ge=this.stack[this.stack.length-1];ge.url=this.sliceSerialize(ae)}function be(ae){te.call(this,ae);const ge=this.stack[this.stack.length-1];ge.url="mailto:"+this.sliceSerialize(ae)}function Re(){return{type:"blockquote",children:[]}}function ke(){return{type:"code",lang:null,meta:null,value:""}}function Ue(){return{type:"inlineCode",value:""}}function Be(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function nt(){return{type:"emphasis",children:[]}}function Ut(){return{type:"heading",depth:0,children:[]}}function Gt(){return{type:"break"}}function Tn(){return{type:"html",value:""}}function Mt(){return{type:"image",title:null,url:"",alt:null}}function Rr(){return{type:"link",title:null,url:"",children:[]}}function ei(ae){return{type:"list",ordered:ae.type==="listOrdered",start:null,spread:ae._spread,children:[]}}function Fn(ae){return{type:"listItem",spread:ae._spread,checked:null,children:[]}}function wo(){return{type:"paragraph",children:[]}}function Fa(){return{type:"strong",children:[]}}function Yt(){return{type:"text",value:""}}function Tf(){return{type:"thematicBreak"}}}a(I8,"compiler");function Ri(e){return{line:e.line,column:e.column,offset:e.offset}}a(Ri,"point");function PR(e,n){let r=-1;for(;++r<n.length;){const o=n[r];Array.isArray(o)?PR(e,o):B8(e,o)}}a(PR,"configure");function B8(e,n){let r;for(r in n)if(DR.call(n,r))switch(r){case"canContainEols":{const o=n[r];o&&e[r].push(...o);break}case"transforms":{const o=n[r];o&&e[r].push(...o);break}case"enter":case"exit":{const o=n[r];o&&Object.assign(e[r],o);break}}}a(B8,"extension");function YS(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+Wl({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+Wl({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+Wl({start:n.start,end:n.end})+") is still open")}a(YS,"defaultOnError");function H8(e){const n=this;n.parser=r;function r(o){return j8(o,{...n.data("settings"),...e,extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]})}a(r,"parser")}a(H8,"remarkParse");function U8(e,n){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,r),e.applyData(n,r)}a(U8,"blockquote");function F8(e,n){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,r),[e.applyData(n,r),{type:"text",value:`
|
|
601
|
+
`}]}a(F8,"hardBreak");function q8(e,n){const r=n.value?n.value+`
|
|
602
|
+
`:"",o={};n.lang&&(o.className=["language-"+n.lang]);let l={type:"element",tagName:"code",properties:o,children:[{type:"text",value:r}]};return n.meta&&(l.data={meta:n.meta}),e.patch(n,l),l=e.applyData(n,l),l={type:"element",tagName:"pre",properties:{},children:[l]},e.patch(n,l),l}a(q8,"code");function $8(e,n){const r={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}a($8,"strikethrough");function V8(e,n){const r={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}a(V8,"emphasis");function G8(e,n){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",o=String(n.identifier).toUpperCase(),l=Ua(o.toLowerCase()),u=e.footnoteOrder.indexOf(o);let f,d=e.footnoteCounts.get(o);d===void 0?(d=0,e.footnoteOrder.push(o),f=e.footnoteOrder.length):f=u+1,d+=1,e.footnoteCounts.set(o,d);const p={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+l,id:r+"fnref-"+l+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(f)}]};e.patch(n,p);const h={type:"element",tagName:"sup",properties:{},children:[p]};return e.patch(n,h),e.applyData(n,h)}a(G8,"footnoteReference");function Y8(e,n){const r={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}a(Y8,"heading");function Q8(e,n){if(e.options.allowDangerousHtml){const r={type:"raw",value:n.value};return e.patch(n,r),e.applyData(n,r)}}a(Q8,"html");function LR(e,n){const r=n.referenceType;let o="]";if(r==="collapsed"?o+="[]":r==="full"&&(o+="["+(n.label||n.identifier)+"]"),n.type==="imageReference")return[{type:"text",value:"!["+n.alt+o}];const l=e.all(n),u=l[0];u&&u.type==="text"?u.value="["+u.value:l.unshift({type:"text",value:"["});const f=l[l.length-1];return f&&f.type==="text"?f.value+=o:l.push({type:"text",value:o}),l}a(LR,"revert");function K8(e,n){const r=String(n.identifier).toUpperCase(),o=e.definitionById.get(r);if(!o)return LR(e,n);const l={src:Ua(o.url||""),alt:n.alt};o.title!==null&&o.title!==void 0&&(l.title=o.title);const u={type:"element",tagName:"img",properties:l,children:[]};return e.patch(n,u),e.applyData(n,u)}a(K8,"imageReference");function X8(e,n){const r={src:Ua(n.url)};n.alt!==null&&n.alt!==void 0&&(r.alt=n.alt),n.title!==null&&n.title!==void 0&&(r.title=n.title);const o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(n,o),e.applyData(n,o)}a(X8,"image");function W8(e,n){const r={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,r);const o={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(n,o),e.applyData(n,o)}a(W8,"inlineCode");function Z8(e,n){const r=String(n.identifier).toUpperCase(),o=e.definitionById.get(r);if(!o)return LR(e,n);const l={href:Ua(o.url||"")};o.title!==null&&o.title!==void 0&&(l.title=o.title);const u={type:"element",tagName:"a",properties:l,children:e.all(n)};return e.patch(n,u),e.applyData(n,u)}a(Z8,"linkReference");function J8(e,n){const r={href:Ua(n.url)};n.title!==null&&n.title!==void 0&&(r.title=n.title);const o={type:"element",tagName:"a",properties:r,children:e.all(n)};return e.patch(n,o),e.applyData(n,o)}a(J8,"link");function e7(e,n,r){const o=e.all(n),l=r?t7(r):zR(n),u={},f=[];if(typeof n.checked=="boolean"){const m=o[0];let g;m&&m.type==="element"&&m.tagName==="p"?g=m:(g={type:"element",tagName:"p",properties:{},children:[]},o.unshift(g)),g.children.length>0&&g.children.unshift({type:"text",value:" "}),g.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),u.className=["task-list-item"]}let d=-1;for(;++d<o.length;){const m=o[d];(l||d!==0||m.type!=="element"||m.tagName!=="p")&&f.push({type:"text",value:`
|
|
603
|
+
`}),m.type==="element"&&m.tagName==="p"&&!l?f.push(...m.children):f.push(m)}const p=o[o.length-1];p&&(l||p.type!=="element"||p.tagName!=="p")&&f.push({type:"text",value:`
|
|
604
|
+
`});const h={type:"element",tagName:"li",properties:u,children:f};return e.patch(n,h),e.applyData(n,h)}a(e7,"listItem");function t7(e){let n=!1;if(e.type==="list"){n=e.spread||!1;const r=e.children;let o=-1;for(;!n&&++o<r.length;)n=zR(r[o])}return n}a(t7,"listLoose");function zR(e){const n=e.spread;return n??e.children.length>1}a(zR,"listItemLoose");function n7(e,n){const r={},o=e.all(n);let l=-1;for(typeof n.start=="number"&&n.start!==1&&(r.start=n.start);++l<o.length;){const f=o[l];if(f.type==="element"&&f.tagName==="li"&&f.properties&&Array.isArray(f.properties.className)&&f.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const u={type:"element",tagName:n.ordered?"ol":"ul",properties:r,children:e.wrap(o,!0)};return e.patch(n,u),e.applyData(n,u)}a(n7,"list");function r7(e,n){const r={type:"element",tagName:"p",properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}a(r7,"paragraph");function i7(e,n){const r={type:"root",children:e.wrap(e.all(n))};return e.patch(n,r),e.applyData(n,r)}a(i7,"root");function o7(e,n){const r={type:"element",tagName:"strong",properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}a(o7,"strong");function a7(e,n){const r=e.all(n),o=r.shift(),l=[];if(o){const f={type:"element",tagName:"thead",properties:{},children:e.wrap([o],!0)};e.patch(n.children[0],f),l.push(f)}if(r.length>0){const f={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},d=Ay(n.children[1]),p=yR(n.children[n.children.length-1]);d&&p&&(f.position={start:d,end:p}),l.push(f)}const u={type:"element",tagName:"table",properties:{},children:e.wrap(l,!0)};return e.patch(n,u),e.applyData(n,u)}a(a7,"table");function l7(e,n,r){const o=r?r.children:void 0,u=(o?o.indexOf(n):1)===0?"th":"td",f=r&&r.type==="table"?r.align:void 0,d=f?f.length:n.children.length;let p=-1;const h=[];for(;++p<d;){const g=n.children[p],b={},S=f?f[p]:void 0;S&&(b.align=S);let E={type:"element",tagName:u,properties:b,children:[]};g&&(E.children=e.all(g),e.patch(g,E),E=e.applyData(g,E)),h.push(E)}const m={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(n,m),e.applyData(n,m)}a(l7,"tableRow");function s7(e,n){const r={type:"element",tagName:"td",properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}a(s7,"tableCell");const QS=9,KS=32;function u7(e){const n=String(e),r=/\r?\n|\r/g;let o=r.exec(n),l=0;const u=[];for(;o;)u.push(XS(n.slice(l,o.index),l>0,!0),o[0]),l=o.index+o[0].length,o=r.exec(n);return u.push(XS(n.slice(l),l>0,!1)),u.join("")}a(u7,"trimLines");function XS(e,n,r){let o=0,l=e.length;if(n){let u=e.codePointAt(o);for(;u===QS||u===KS;)o++,u=e.codePointAt(o)}if(r){let u=e.codePointAt(l-1);for(;u===QS||u===KS;)l--,u=e.codePointAt(l-1)}return l>o?e.slice(o,l):""}a(XS,"trimLine");function c7(e,n){const r={type:"text",value:u7(String(n.value))};return e.patch(n,r),e.applyData(n,r)}a(c7,"text");function f7(e,n){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,r),e.applyData(n,r)}a(f7,"thematicBreak");const d7={blockquote:U8,break:F8,code:q8,delete:$8,emphasis:V8,footnoteReference:G8,heading:Y8,html:Q8,imageReference:K8,image:X8,inlineCode:W8,linkReference:Z8,link:J8,listItem:e7,list:n7,paragraph:r7,root:i7,strong:o7,table:a7,tableCell:s7,tableRow:l7,text:c7,thematicBreak:f7,toml:ic,yaml:ic,definition:ic,footnoteDefinition:ic};function ic(){}a(ic,"ignore");const jR=-1,yf=0,Pc=1,Lc=2,Ly=3,zy=4,jy=5,Iy=6,IR=7,BR=8,WS=typeof self=="object"?self:globalThis,p7=a((e,n)=>{const r=a((l,u)=>(e.set(u,l),l),"as"),o=a(l=>{if(e.has(l))return e.get(l);const[u,f]=n[l];switch(u){case yf:case jR:return r(f,l);case Pc:{const d=r([],l);for(const p of f)d.push(o(p));return d}case Lc:{const d=r({},l);for(const[p,h]of f)d[o(p)]=o(h);return d}case Ly:return r(new Date(f),l);case zy:{const{source:d,flags:p}=f;return r(new RegExp(d,p),l)}case jy:{const d=r(new Map,l);for(const[p,h]of f)d.set(o(p),o(h));return d}case Iy:{const d=r(new Set,l);for(const p of f)d.add(o(p));return d}case IR:{const{name:d,message:p}=f;return r(new WS[d](p),l)}case BR:return r(BigInt(f),l);case"BigInt":return r(Object(BigInt(f)),l)}return r(new WS[u](f),l)},"unpair");return o},"deserializer"),ZS=a(e=>p7(new Map,e)(0),"deserialize"),da="",{toString:h7}={},{keys:m7}=Object,Vl=a(e=>{const n=typeof e;if(n!=="object"||!e)return[yf,n];const r=h7.call(e).slice(8,-1);switch(r){case"Array":return[Pc,da];case"Object":return[Lc,da];case"Date":return[Ly,da];case"RegExp":return[zy,da];case"Map":return[jy,da];case"Set":return[Iy,da]}return r.includes("Array")?[Pc,r]:r.includes("Error")?[IR,r]:[Lc,r]},"typeOf"),oc=a(([e,n])=>e===yf&&(n==="function"||n==="symbol"),"shouldSkip"),y7=a((e,n,r,o)=>{const l=a((f,d)=>{const p=o.push(f)-1;return r.set(d,p),p},"as"),u=a(f=>{if(r.has(f))return r.get(f);let[d,p]=Vl(f);switch(d){case yf:{let m=f;switch(p){case"bigint":d=BR,m=f.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+p);m=null;break;case"undefined":return l([jR],f)}return l([d,m],f)}case Pc:{if(p)return l([p,[...f]],f);const m=[],g=l([d,m],f);for(const b of f)m.push(u(b));return g}case Lc:{if(p)switch(p){case"BigInt":return l([p,f.toString()],f);case"Boolean":case"Number":case"String":return l([p,f.valueOf()],f)}if(n&&"toJSON"in f)return u(f.toJSON());const m=[],g=l([d,m],f);for(const b of m7(f))(e||!oc(Vl(f[b])))&&m.push([u(b),u(f[b])]);return g}case Ly:return l([d,f.toISOString()],f);case zy:{const{source:m,flags:g}=f;return l([d,{source:m,flags:g}],f)}case jy:{const m=[],g=l([d,m],f);for(const[b,S]of f)(e||!(oc(Vl(b))||oc(Vl(S))))&&m.push([u(b),u(S)]);return g}case Iy:{const m=[],g=l([d,m],f);for(const b of f)(e||!oc(Vl(b)))&&m.push(u(b));return g}}const{message:h}=f;return l([d,{name:p,message:h}],f)},"pair");return u},"serializer"),JS=a((e,{json:n,lossy:r}={})=>{const o=[];return y7(!(n||r),!!n,new Map,o)(e),o},"serialize"),zc=typeof structuredClone=="function"?(e,n)=>n&&("json"in n||"lossy"in n)?ZS(JS(e,n)):structuredClone(e):(e,n)=>ZS(JS(e,n));function g7(e,n){const r=[{type:"text",value:"↩"}];return n>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(n)}]}),r}a(g7,"defaultFootnoteBackContent");function v7(e,n){return"Back to reference "+(e+1)+(n>1?"-"+n:"")}a(v7,"defaultFootnoteBackLabel");function b7(e){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||g7,o=e.options.footnoteBackLabel||v7,l=e.options.footnoteLabel||"Footnotes",u=e.options.footnoteLabelTagName||"h2",f=e.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let p=-1;for(;++p<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[p]);if(!h)continue;const m=e.all(h),g=String(h.identifier).toUpperCase(),b=Ua(g.toLowerCase());let S=0;const E=[],w=e.footnoteCounts.get(g);for(;w!==void 0&&++S<=w;){E.length>0&&E.push({type:"text",value:" "});let O=typeof r=="string"?r:r(p,S);typeof O=="string"&&(O={type:"text",value:O}),E.push({type:"element",tagName:"a",properties:{href:"#"+n+"fnref-"+b+(S>1?"-"+S:""),dataFootnoteBackref:"",ariaLabel:typeof o=="string"?o:o(p,S),className:["data-footnote-backref"]},children:Array.isArray(O)?O:[O]})}const R=m[m.length-1];if(R&&R.type==="element"&&R.tagName==="p"){const O=R.children[R.children.length-1];O&&O.type==="text"?O.value+=" ":R.children.push({type:"text",value:" "}),R.children.push(...E)}else m.push(...E);const T={type:"element",tagName:"li",properties:{id:n+"fn-"+b},children:e.wrap(m,!0)};e.patch(h,T),d.push(T)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:u,properties:{...zc(f),id:"footnote-label"},children:[{type:"text",value:l}]},{type:"text",value:`
|
|
605
|
+
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)},{type:"text",value:`
|
|
606
|
+
`}]}}a(b7,"footer");const HR=a((function(e){if(e==null)return E7;if(typeof e=="function")return gf(e);if(typeof e=="object")return Array.isArray(e)?S7(e):x7(e);if(typeof e=="string")return w7(e);throw new Error("Expected function, string, or object as test")}),"convert");function S7(e){const n=[];let r=-1;for(;++r<e.length;)n[r]=HR(e[r]);return gf(o);function o(...l){let u=-1;for(;++u<n.length;)if(n[u].apply(this,l))return!0;return!1}}a(S7,"anyFactory");function x7(e){const n=e;return gf(r);function r(o){const l=o;let u;for(u in e)if(l[u]!==n[u])return!1;return!0}}a(x7,"propertiesFactory");function w7(e){return gf(n);function n(r){return r&&r.type===e}}a(w7,"typeFactory");function gf(e){return n;function n(r,o,l){return!!(C7(r)&&e.call(this,r,typeof o=="number"?o:void 0,l||void 0))}}a(gf,"castFactory");function E7(){return!0}a(E7,"ok");function C7(e){return e!==null&&typeof e=="object"&&"type"in e}a(C7,"looksLikeANode");const UR=[],T7=!0,ex=!1,R7="skip";function O7(e,n,r,o){let l;typeof n=="function"&&typeof r!="function"?(o=r,r=n):l=n;const u=HR(l),f=o?-1:1;d(e,void 0,[])();function d(p,h,m){const g=p&&typeof p=="object"?p:{};if(typeof g.type=="string"){const S=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(b,"name",{value:"node ("+(p.type+(S?"<"+S+">":""))+")"})}return b;function b(){let S=UR,E,w,R;if((!n||u(p,h,m[m.length-1]||void 0))&&(S=A7(r(p,m)),S[0]===ex))return S;if("children"in p&&p.children){const T=p;if(T.children&&S[0]!==R7)for(w=(o?T.children.length:-1)+f,R=m.concat(T);w>-1&&w<T.children.length;){const O=T.children[w];if(E=d(O,w,R)(),E[0]===ex)return E;w=typeof E[1]=="number"?E[1]:w+f}}return S}}a(d,"factory")}a(O7,"visitParents");function A7(e){return Array.isArray(e)?e:typeof e=="number"?[T7,e]:e==null?UR:[e]}a(A7,"toResult");function FR(e,n,r,o){let l,u,f;typeof n=="function"&&typeof r!="function"?(u=void 0,f=n,l=r):(u=n,f=r,l=o),O7(e,u,d,l);function d(p,h){const m=h[h.length-1],g=m?m.children.indexOf(p):void 0;return f(p,g,m)}a(d,"overload")}a(FR,"visit");const bm={}.hasOwnProperty,_7={};function M7(e,n){const r=n||_7,o=new Map,l=new Map,u=new Map,f={...d7,...r.handlers},d={all:h,applyData:k7,definitionById:o,footnoteById:l,footnoteCounts:u,footnoteOrder:[],handlers:f,one:p,options:r,patch:N7,wrap:P7};return FR(e,function(m){if(m.type==="definition"||m.type==="footnoteDefinition"){const g=m.type==="definition"?o:l,b=String(m.identifier).toUpperCase();g.has(b)||g.set(b,m)}}),d;function p(m,g){const b=m.type,S=d.handlers[b];if(bm.call(d.handlers,b)&&S)return S(d,m,g);if(d.options.passThrough&&d.options.passThrough.includes(b)){if("children"in m){const{children:w,...R}=m,T=zc(R);return T.children=d.all(m),T}return zc(m)}return(d.options.unknownHandler||D7)(d,m,g)}a(p,"one");function h(m){const g=[];if("children"in m){const b=m.children;let S=-1;for(;++S<b.length;){const E=d.one(b[S],m);if(E){if(S&&b[S-1].type==="break"&&(!Array.isArray(E)&&E.type==="text"&&(E.value=tx(E.value)),!Array.isArray(E)&&E.type==="element")){const w=E.children[0];w&&w.type==="text"&&(w.value=tx(w.value))}Array.isArray(E)?g.push(...E):g.push(E)}}}return g}a(h,"all")}a(M7,"createState");function N7(e,n){e.position&&(n.position=hI(e))}a(N7,"patch");function k7(e,n){let r=n;if(e&&e.data){const o=e.data.hName,l=e.data.hChildren,u=e.data.hProperties;if(typeof o=="string")if(r.type==="element")r.tagName=o;else{const f="children"in r?r.children:[r];r={type:"element",tagName:o,properties:{},children:f}}r.type==="element"&&u&&Object.assign(r.properties,zc(u)),"children"in r&&r.children&&l!==null&&l!==void 0&&(r.children=l)}return r}a(k7,"applyData");function D7(e,n){const r=n.data||{},o="value"in n&&!(bm.call(r,"hProperties")||bm.call(r,"hChildren"))?{type:"text",value:n.value}:{type:"element",tagName:"div",properties:{},children:e.all(n)};return e.patch(n,o),e.applyData(n,o)}a(D7,"defaultUnknownHandler");function P7(e,n){const r=[];let o=-1;for(n&&r.push({type:"text",value:`
|
|
607
|
+
`});++o<e.length;)o&&r.push({type:"text",value:`
|
|
608
|
+
`}),r.push(e[o]);return n&&e.length>0&&r.push({type:"text",value:`
|
|
609
|
+
`}),r}a(P7,"wrap$1");function tx(e){let n=0,r=e.charCodeAt(n);for(;r===9||r===32;)n++,r=e.charCodeAt(n);return e.slice(n)}a(tx,"trimMarkdownSpaceStart");function nx(e,n){const r=M7(e,n),o=r.one(e,void 0),l=b7(r),u=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return l&&u.children.push({type:"text",value:`
|
|
610
|
+
`},l),u}a(nx,"toHast");function L7(e,n){return e&&"run"in e?async function(r,o){const l=nx(r,{file:o,...n});await e.run(l,o)}:function(r,o){return nx(r,{file:o,...e||n})}}a(L7,"remarkRehype");function rx(e){if(e)throw e}a(rx,"bail");var bh,ix;function z7(){if(ix)return bh;ix=1;var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,l=a(function(h){return typeof Array.isArray=="function"?Array.isArray(h):n.call(h)==="[object Array]"},"isArray"),u=a(function(h){if(!h||n.call(h)!=="[object Object]")return!1;var m=e.call(h,"constructor"),g=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!m&&!g)return!1;var b;for(b in h);return typeof b>"u"||e.call(h,b)},"isPlainObject"),f=a(function(h,m){r&&m.name==="__proto__"?r(h,m.name,{enumerable:!0,configurable:!0,value:m.newValue,writable:!0}):h[m.name]=m.newValue},"setProperty"),d=a(function(h,m){if(m==="__proto__")if(e.call(h,m)){if(o)return o(h,m).value}else return;return h[m]},"getProperty");return bh=a(function p(){var h,m,g,b,S,E,w=arguments[0],R=1,T=arguments.length,O=!1;for(typeof w=="boolean"&&(O=w,w=arguments[1]||{},R=2),(w==null||typeof w!="object"&&typeof w!="function")&&(w={});R<T;++R)if(h=arguments[R],h!=null)for(m in h)g=d(w,m),b=d(h,m),w!==b&&(O&&b&&(u(b)||(S=l(b)))?(S?(S=!1,E=g&&l(g)?g:[]):E=g&&u(g)?g:{},f(w,{name:m,newValue:p(O,E,b)})):typeof b<"u"&&f(w,{name:m,newValue:b}));return w},"extend"),bh}a(z7,"requireExtend");var j7=z7();const Sh=xr(j7);function Sm(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}a(Sm,"isPlainObject");function I7(){const e=[],n={run:r,use:o};return n;function r(...l){let u=-1;const f=l.pop();if(typeof f!="function")throw new TypeError("Expected function as last argument, not "+f);d(null,...l);function d(p,...h){const m=e[++u];let g=-1;if(p){f(p);return}for(;++g<l.length;)(h[g]===null||h[g]===void 0)&&(h[g]=l[g]);l=h,m?B7(m,d)(...h):f(null,...h)}a(d,"next")}function o(l){if(typeof l!="function")throw new TypeError("Expected `middelware` to be a function, not "+l);return e.push(l),n}}a(I7,"trough");function B7(e,n){let r;return o;function o(...f){const d=e.length>f.length;let p;d&&f.push(l);try{p=e.apply(this,f)}catch(h){const m=h;if(d&&r)throw m;return l(m)}d||(p&&p.then&&typeof p.then=="function"?p.then(u,l):p instanceof Error?l(p):u(p))}function l(f,...d){r||(r=!0,n(f,...d))}function u(f){l(null,f)}}a(B7,"wrap");const sr={basename:H7,dirname:U7,extname:F7,join:q7,sep:"/"};function H7(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');Ns(e);let r=0,o=-1,l=e.length,u;if(n===void 0||n.length===0||n.length>e.length){for(;l--;)if(e.codePointAt(l)===47){if(u){r=l+1;break}}else o<0&&(u=!0,o=l+1);return o<0?"":e.slice(r,o)}if(n===e)return"";let f=-1,d=n.length-1;for(;l--;)if(e.codePointAt(l)===47){if(u){r=l+1;break}}else f<0&&(u=!0,f=l+1),d>-1&&(e.codePointAt(l)===n.codePointAt(d--)?d<0&&(o=l):(d=-1,o=f));return r===o?o=f:o<0&&(o=e.length),e.slice(r,o)}a(H7,"basename");function U7(e){if(Ns(e),e.length===0)return".";let n=-1,r=e.length,o;for(;--r;)if(e.codePointAt(r)===47){if(o){n=r;break}}else o||(o=!0);return n<0?e.codePointAt(0)===47?"/":".":n===1&&e.codePointAt(0)===47?"//":e.slice(0,n)}a(U7,"dirname");function F7(e){Ns(e);let n=e.length,r=-1,o=0,l=-1,u=0,f;for(;n--;){const d=e.codePointAt(n);if(d===47){if(f){o=n+1;break}continue}r<0&&(f=!0,r=n+1),d===46?l<0?l=n:u!==1&&(u=1):l>-1&&(u=-1)}return l<0||r<0||u===0||u===1&&l===r-1&&l===o+1?"":e.slice(l,r)}a(F7,"extname");function q7(...e){let n=-1,r;for(;++n<e.length;)Ns(e[n]),e[n]&&(r=r===void 0?e[n]:r+"/"+e[n]);return r===void 0?".":$7(r)}a(q7,"join");function $7(e){Ns(e);const n=e.codePointAt(0)===47;let r=V7(e,!n);return r.length===0&&!n&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),n?"/"+r:r}a($7,"normalize");function V7(e,n){let r="",o=0,l=-1,u=0,f=-1,d,p;for(;++f<=e.length;){if(f<e.length)d=e.codePointAt(f);else{if(d===47)break;d=47}if(d===47){if(!(l===f-1||u===1))if(l!==f-1&&u===2){if(r.length<2||o!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(p=r.lastIndexOf("/"),p!==r.length-1){p<0?(r="",o=0):(r=r.slice(0,p),o=r.length-1-r.lastIndexOf("/")),l=f,u=0;continue}}else if(r.length>0){r="",o=0,l=f,u=0;continue}}n&&(r=r.length>0?r+"/..":"..",o=2)}else r.length>0?r+="/"+e.slice(l+1,f):r=e.slice(l+1,f),o=f-l-1;l=f,u=0}else d===46&&u>-1?u++:u=-1}return r}a(V7,"normalizeString");function Ns(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}a(Ns,"assertPath$1");const G7={cwd:Y7};function Y7(){return"/"}a(Y7,"cwd");function xm(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}a(xm,"isUrl");function Q7(e){if(typeof e=="string")e=new URL(e);else if(!xm(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(e.protocol!=="file:"){const n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return K7(e)}a(Q7,"urlToPath");function K7(e){if(e.hostname!==""){const o=new TypeError('File URL host must be "localhost" or empty on darwin');throw o.code="ERR_INVALID_FILE_URL_HOST",o}const n=e.pathname;let r=-1;for(;++r<n.length;)if(n.codePointAt(r)===37&&n.codePointAt(r+1)===50){const o=n.codePointAt(r+2);if(o===70||o===102){const l=new TypeError("File URL path must not include encoded / characters");throw l.code="ERR_INVALID_FILE_URL_PATH",l}}return decodeURIComponent(n)}a(K7,"getPathFromURLPosix");const xh=["history","path","basename","stem","extname","dirname"];class qR{static{a(this,"VFile")}constructor(n){let r;n?xm(n)?r={path:n}:typeof n=="string"||X7(n)?r={value:n}:r=n:r={},this.cwd="cwd"in r?"":G7.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let o=-1;for(;++o<xh.length;){const u=xh[o];u in r&&r[u]!==void 0&&r[u]!==null&&(this[u]=u==="history"?[...r[u]]:r[u])}let l;for(l in r)xh.includes(l)||(this[l]=r[l])}get basename(){return typeof this.path=="string"?sr.basename(this.path):void 0}set basename(n){Eh(n,"basename"),wh(n,"basename"),this.path=sr.join(this.dirname||"",n)}get dirname(){return typeof this.path=="string"?sr.dirname(this.path):void 0}set dirname(n){ox(this.basename,"dirname"),this.path=sr.join(n||"",this.basename)}get extname(){return typeof this.path=="string"?sr.extname(this.path):void 0}set extname(n){if(wh(n,"extname"),ox(this.dirname,"extname"),n){if(n.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(n.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=sr.join(this.dirname,this.stem+(n||""))}get path(){return this.history[this.history.length-1]}set path(n){xm(n)&&(n=Q7(n)),Eh(n,"path"),this.path!==n&&this.history.push(n)}get stem(){return typeof this.path=="string"?sr.basename(this.path,this.extname):void 0}set stem(n){Eh(n,"stem"),wh(n,"stem"),this.path=sr.join(this.dirname||"",n+(this.extname||""))}fail(n,r,o){const l=this.message(n,r,o);throw l.fatal=!0,l}info(n,r,o){const l=this.message(n,r,o);return l.fatal=void 0,l}message(n,r,o){const l=new Vt(n,r,o);return this.path&&(l.name=this.path+":"+l.name,l.file=this.path),l.fatal=!1,this.messages.push(l),l}toString(n){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(n||void 0).decode(this.value)}}function wh(e,n){if(e&&e.includes(sr.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+sr.sep+"`")}a(wh,"assertPart");function Eh(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}a(Eh,"assertNonEmpty");function ox(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}a(ox,"assertPath");function X7(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}a(X7,"isUint8Array$1");const W7=a((function(e){const o=this.constructor.prototype,l=o[e],u=a(function(){return l.apply(u,arguments)},"apply");return Object.setPrototypeOf(u,o),u}),"CallableInstance"),Z7={}.hasOwnProperty;class By extends W7{static{a(this,"Processor")}constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=I7()}copy(){const n=new By;let r=-1;for(;++r<this.attachers.length;){const o=this.attachers[r];n.use(...o)}return n.data(Sh(!0,{},this.namespace)),n}data(n,r){return typeof n=="string"?arguments.length===2?(Rh("data",this.frozen),this.namespace[n]=r,this):Z7.call(this.namespace,n)&&this.namespace[n]||void 0:n?(Rh("data",this.frozen),this.namespace=n,this):this.namespace}freeze(){if(this.frozen)return this;const n=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...o]=this.attachers[this.freezeIndex];if(o[0]===!1)continue;o[0]===!0&&(o[0]=void 0);const l=r.call(n,...o);typeof l=="function"&&this.transformers.use(l)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(n){this.freeze();const r=ac(n),o=this.parser||this.Parser;return Ch("parse",o),o(String(r),r)}process(n,r){const o=this;return this.freeze(),Ch("process",this.parser||this.Parser),Th("process",this.compiler||this.Compiler),r?l(void 0,r):new Promise(l);function l(u,f){const d=ac(n),p=o.parse(d);o.run(p,d,function(m,g,b){if(m||!g||!b)return h(m);const S=g,E=o.stringify(S,b);tB(E)?b.value=E:b.result=E,h(m,b)});function h(m,g){m||!g?f(m):u?u(g):r(void 0,g)}a(h,"realDone")}a(l,"executor")}processSync(n){let r=!1,o;return this.freeze(),Ch("processSync",this.parser||this.Parser),Th("processSync",this.compiler||this.Compiler),this.process(n,l),lx("processSync","process",r),o;function l(u,f){r=!0,rx(u),o=f}a(l,"realDone")}run(n,r,o){ax(n),this.freeze();const l=this.transformers;return!o&&typeof r=="function"&&(o=r,r=void 0),o?u(void 0,o):new Promise(u);function u(f,d){const p=ac(r);l.run(n,p,h);function h(m,g,b){const S=g||n;m?d(m):f?f(S):o(void 0,S,b)}a(h,"realDone")}a(u,"executor")}runSync(n,r){let o=!1,l;return this.run(n,r,u),lx("runSync","run",o),l;function u(f,d){rx(f),l=d,o=!0}a(u,"realDone")}stringify(n,r){this.freeze();const o=ac(r),l=this.compiler||this.Compiler;return Th("stringify",l),ax(n),l(n,o)}use(n,...r){const o=this.attachers,l=this.namespace;if(Rh("use",this.frozen),n!=null)if(typeof n=="function")p(n,r);else if(typeof n=="object")Array.isArray(n)?d(n):f(n);else throw new TypeError("Expected usable value, not `"+n+"`");return this;function u(h){if(typeof h=="function")p(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[m,...g]=h;p(m,g)}else f(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function f(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");d(h.plugins),h.settings&&(l.settings=Sh(!0,l.settings,h.settings))}function d(h){let m=-1;if(h!=null)if(Array.isArray(h))for(;++m<h.length;){const g=h[m];u(g)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function p(h,m){let g=-1,b=-1;for(;++g<o.length;)if(o[g][0]===h){b=g;break}if(b===-1)o.push([h,...m]);else if(m.length>0){let[S,...E]=m;const w=o[b][1];Sm(w)&&Sm(S)&&(S=Sh(!0,w,S)),o[b]=[h,S,...E]}}}}const J7=new By().freeze();function Ch(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}a(Ch,"assertParser");function Th(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}a(Th,"assertCompiler");function Rh(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}a(Rh,"assertUnfrozen");function ax(e){if(!Sm(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}a(ax,"assertNode");function lx(e,n,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}a(lx,"assertDone");function ac(e){return eB(e)?e:new qR(e)}a(ac,"vfile");function eB(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}a(eB,"looksLikeAVFile");function tB(e){return typeof e=="string"||nB(e)}a(tB,"looksLikeAValue");function nB(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}a(nB,"isUint8Array");const rB="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",sx=[],ux={allowDangerousHtml:!0},iB=/^(https?|ircs?|mailto|xmpp)$/i,oB=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function FF(e){const n=aB(e),r=lB(e);return sB(n.runSync(n.parse(r),r),e)}a(FF,"Markdown");function aB(e){const n=e.rehypePlugins||sx,r=e.remarkPlugins||sx,o=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...ux}:ux;return J7().use(H8).use(r).use(L7,o).use(n)}a(aB,"createProcessor");function lB(e){const n=e.children||"",r=new qR;return typeof n=="string"&&(r.value=n),r}a(lB,"createFile");function sB(e,n){const r=n.allowedElements,o=n.allowElement,l=n.components,u=n.disallowedElements,f=n.skipHtml,d=n.unwrapDisallowed,p=n.urlTransform||uB;for(const m of oB)Object.hasOwn(n,m.from)&&(""+m.from+(m.to?"use `"+m.to+"` instead":"remove it")+rB+m.id,void 0);return FR(e,h),bI(e,{Fragment:N.Fragment,components:l,ignoreInvalidStyle:!0,jsx:N.jsx,jsxs:N.jsxs,passKeys:!0,passNode:!0});function h(m,g,b){if(m.type==="raw"&&b&&typeof g=="number")return f?b.children.splice(g,1):b.children[g]={type:"text",value:m.value},g;if(m.type==="element"){let S;for(S in yh)if(Object.hasOwn(yh,S)&&Object.hasOwn(m.properties,S)){const E=m.properties[S],w=yh[S];(w===null||w.includes(m.tagName))&&(m.properties[S]=p(String(E||""),S,m))}}if(m.type==="element"){let S=r?!r.includes(m.tagName):u?u.includes(m.tagName):!1;if(!S&&o&&typeof g=="number"&&(S=!o(m,g,b)),S&&b&&typeof g=="number")return d&&m.children?b.children.splice(g,1,...m.children):b.children.splice(g,1),g}}a(h,"transform")}a(sB,"post");function uB(e){const n=e.indexOf(":"),r=e.indexOf("?"),o=e.indexOf("#"),l=e.indexOf("/");return n===-1||l!==-1&&n>l||r!==-1&&n>r||o!==-1&&n>o||iB.test(e.slice(0,n))?e:""}a(uB,"defaultUrlTransform");const vf=x.createContext(null);vf.displayName="PanelGroupContext";const bt={group:"data-panel-group",groupDirection:"data-panel-group-direction",groupId:"data-panel-group-id",panel:"data-panel",panelCollapsible:"data-panel-collapsible",panelId:"data-panel-id",panelSize:"data-panel-size",resizeHandle:"data-resize-handle",resizeHandleActive:"data-resize-handle-active",resizeHandleEnabled:"data-panel-resize-handle-enabled",resizeHandleId:"data-panel-resize-handle-id",resizeHandleState:"data-resize-handle-state"},Hy=10,ao=x.useLayoutEffect,cx=Em.useId,cB=typeof cx=="function"?cx:()=>null;let fB=0;function Uy(e=null){const n=cB(),r=x.useRef(e||n||null);return r.current===null&&(r.current=""+fB++),e??r.current}a(Uy,"useUniqueId");function $R({children:e,className:n="",collapsedSize:r,collapsible:o,defaultSize:l,forwardedRef:u,id:f,maxSize:d,minSize:p,onCollapse:h,onExpand:m,onResize:g,order:b,style:S,tagName:E="div",...w}){const R=x.useContext(vf);if(R===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:T,expandPanel:O,getPanelSize:M,getPanelStyle:L,groupId:B,isPanelCollapsed:D,reevaluatePanelConstraints:P,registerPanel:Y,resizePanel:K,unregisterPanel:te}=R,Z=Uy(f),ee=x.useRef({callbacks:{onCollapse:h,onExpand:m,onResize:g},constraints:{collapsedSize:r,collapsible:o,defaultSize:l,maxSize:d,minSize:p},id:Z,idIsFromProps:f!==void 0,order:b});x.useRef({didLogMissingDefaultSizeWarning:!1}),ao(()=>{const{callbacks:F,constraints:oe}=ee.current,I={...oe};ee.current.id=Z,ee.current.idIsFromProps=f!==void 0,ee.current.order=b,F.onCollapse=h,F.onExpand=m,F.onResize=g,oe.collapsedSize=r,oe.collapsible=o,oe.defaultSize=l,oe.maxSize=d,oe.minSize=p,(I.collapsedSize!==oe.collapsedSize||I.collapsible!==oe.collapsible||I.maxSize!==oe.maxSize||I.minSize!==oe.minSize)&&P(ee.current,I)}),ao(()=>{const F=ee.current;return Y(F),()=>{te(F)}},[b,Z,Y,te]),x.useImperativeHandle(u,()=>({collapse:a(()=>{T(ee.current)},"collapse"),expand:a(F=>{O(ee.current,F)},"expand"),getId(){return Z},getSize(){return M(ee.current)},isCollapsed(){return D(ee.current)},isExpanded(){return!D(ee.current)},resize:a(F=>{K(ee.current,F)},"resize")}),[T,O,M,D,Z,K]);const fe=L(ee.current,l);return x.createElement(E,{...w,children:e,className:n,id:Z,style:{...fe,...S},[bt.groupId]:B,[bt.panel]:"",[bt.panelCollapsible]:o||void 0,[bt.panelId]:Z,[bt.panelSize]:parseFloat(""+fe.flexGrow).toFixed(1)})}a($R,"PanelWithForwardedRef");const dB=x.forwardRef((e,n)=>x.createElement($R,{...e,forwardedRef:n}));$R.displayName="Panel";dB.displayName="forwardRef(Panel)";let wm=null,yc=-1,_i=null;function pB(e,n,r){const o=(n&KR)!==0,l=(n&XR)!==0,u=(n&WR)!==0,f=(n&ZR)!==0;if(n){if(o)return u?"se-resize":f?"ne-resize":"e-resize";if(l)return u?"sw-resize":f?"nw-resize":"w-resize";if(u)return"s-resize";if(f)return"n-resize"}switch(e){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}a(pB,"getCursorStyle");function hB(){_i!==null&&(document.head.removeChild(_i),wm=null,_i=null,yc=-1)}a(hB,"resetGlobalCursorStyle");function Oh(e,n,r){var o,l;const u=pB(e,n);if(wm!==u){if(wm=u,_i===null&&(_i=document.createElement("style"),document.head.appendChild(_i)),yc>=0){var f;(f=_i.sheet)===null||f===void 0||f.removeRule(yc)}yc=(o=(l=_i.sheet)===null||l===void 0?void 0:l.insertRule(`*{cursor: ${u} !important;}`))!==null&&o!==void 0?o:-1}}a(Oh,"setGlobalCursorStyle");function VR(e){return e.type==="keydown"}a(VR,"isKeyDown");function GR(e){return e.type.startsWith("pointer")}a(GR,"isPointerEvent");function YR(e){return e.type.startsWith("mouse")}a(YR,"isMouseEvent");function bf(e){if(GR(e)){if(e.isPrimary)return{x:e.clientX,y:e.clientY}}else if(YR(e))return{x:e.clientX,y:e.clientY};return{x:1/0,y:1/0}}a(bf,"getResizeEventCoordinates");function mB(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}a(mB,"getInputType");function yB(e,n,r){return e.x<n.x+n.width&&e.x+e.width>n.x&&e.y<n.y+n.height&&e.y+e.height>n.y}a(yB,"intersects");function gB(e,n){if(e===n)throw new Error("Cannot compare node with itself");const r={a:px(e),b:px(n)};let o;for(;r.a.at(-1)===r.b.at(-1);)e=r.a.pop(),n=r.b.pop(),o=e;He(o,"Stacking order can only be calculated for elements with a common ancestor");const l={a:dx(fx(r.a)),b:dx(fx(r.b))};if(l.a===l.b){const u=o.childNodes,f={a:r.a.at(-1),b:r.b.at(-1)};let d=u.length;for(;d--;){const p=u[d];if(p===f.a)return 1;if(p===f.b)return-1}}return Math.sign(l.a-l.b)}a(gB,"compare");const vB=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function bB(e){var n;const r=getComputedStyle((n=QR(e))!==null&&n!==void 0?n:e).display;return r==="flex"||r==="inline-flex"}a(bB,"is_flex_item");function SB(e){const n=getComputedStyle(e);return!!(n.position==="fixed"||n.zIndex!=="auto"&&(n.position!=="static"||bB(e))||+n.opacity<1||"transform"in n&&n.transform!=="none"||"webkitTransform"in n&&n.webkitTransform!=="none"||"mixBlendMode"in n&&n.mixBlendMode!=="normal"||"filter"in n&&n.filter!=="none"||"webkitFilter"in n&&n.webkitFilter!=="none"||"isolation"in n&&n.isolation==="isolate"||vB.test(n.willChange)||n.webkitOverflowScrolling==="touch")}a(SB,"creates_stacking_context");function fx(e){let n=e.length;for(;n--;){const r=e[n];if(He(r,"Missing node"),SB(r))return r}return null}a(fx,"find_stacking_context");function dx(e){return e&&Number(getComputedStyle(e).zIndex)||0}a(dx,"get_z_index");function px(e){const n=[];for(;e;)n.push(e),e=QR(e);return n}a(px,"get_ancestors");function QR(e){const{parentNode:n}=e;return n&&n instanceof ShadowRoot?n.host:n}a(QR,"get_parent");const KR=1,XR=2,WR=4,ZR=8,xB=mB()==="coarse";let Wn=[],xa=!1,Mi=new Map,Sf=new Map;const cs=new Set;function wB(e,n,r,o,l){var u;const{ownerDocument:f}=n,d={direction:r,element:n,hitAreaMargins:o,setResizeHandlerState:l},p=(u=Mi.get(f))!==null&&u!==void 0?u:0;return Mi.set(f,p+1),cs.add(d),jc(),a(function(){var m;Sf.delete(e),cs.delete(d);const g=(m=Mi.get(f))!==null&&m!==void 0?m:1;if(Mi.set(f,g-1),jc(),g===1&&Mi.delete(f),Wn.includes(d)){const b=Wn.indexOf(d);b>=0&&Wn.splice(b,1),xf(),l("up",!0,null)}},"unregisterResizeHandle")}a(wB,"registerResizeHandle");function EB(e){const{target:n}=e,{x:r,y:o}=bf(e);xa=!0,Fy({target:n,x:r,y:o}),jc(),Wn.length>0&&(Ic("down",e),xf(),e.preventDefault(),JR(n)||e.stopImmediatePropagation())}a(EB,"handlePointerDown");function Ah(e){const{x:n,y:r}=bf(e);if(xa&&e.type!=="pointerleave"&&e.buttons===0&&(xa=!1,Ic("up",e)),!xa){const{target:o}=e;Fy({target:o,x:n,y:r})}Ic("move",e),xf(),Wn.length>0&&e.preventDefault()}a(Ah,"handlePointerMove");function _h(e){const{target:n}=e,{x:r,y:o}=bf(e);Sf.clear(),xa=!1,Wn.length>0&&(e.preventDefault(),JR(n)||e.stopImmediatePropagation()),Ic("up",e),Fy({target:n,x:r,y:o}),xf(),jc()}a(_h,"handlePointerUp");function JR(e){let n=e;for(;n;){if(n.hasAttribute(bt.resizeHandle))return!0;n=n.parentElement}return!1}a(JR,"isWithinResizeHandle");function Fy({target:e,x:n,y:r}){Wn.splice(0);let o=null;(e instanceof HTMLElement||e instanceof SVGElement)&&(o=e),cs.forEach(l=>{const{element:u,hitAreaMargins:f}=l,d=u.getBoundingClientRect(),{bottom:p,left:h,right:m,top:g}=d,b=xB?f.coarse:f.fine;if(n>=h-b&&n<=m+b&&r>=g-b&&r<=p+b){if(o!==null&&document.contains(o)&&u!==o&&!u.contains(o)&&!o.contains(u)&&gB(o,u)>0){let E=o,w=!1;for(;E&&!E.contains(u);){if(yB(E.getBoundingClientRect(),d)){w=!0;break}E=E.parentElement}if(w)return}Wn.push(l)}})}a(Fy,"recalculateIntersectingHandles");function Mh(e,n){Sf.set(e,n)}a(Mh,"reportConstraintsViolation");function xf(){let e=!1,n=!1;Wn.forEach(o=>{const{direction:l}=o;l==="horizontal"?e=!0:n=!0});let r=0;Sf.forEach(o=>{r|=o}),e&&n?Oh("intersection",r):e?Oh("horizontal",r):n?Oh("vertical",r):hB()}a(xf,"updateCursor");let Nh;function jc(){var e;(e=Nh)===null||e===void 0||e.abort(),Nh=new AbortController;const n={capture:!0,signal:Nh.signal};cs.size&&(xa?(Wn.length>0&&Mi.forEach((r,o)=>{const{body:l}=o;r>0&&(l.addEventListener("contextmenu",_h,n),l.addEventListener("pointerleave",Ah,n),l.addEventListener("pointermove",Ah,n))}),Mi.forEach((r,o)=>{const{body:l}=o;l.addEventListener("pointerup",_h,n),l.addEventListener("pointercancel",_h,n)})):Mi.forEach((r,o)=>{const{body:l}=o;r>0&&(l.addEventListener("pointerdown",EB,n),l.addEventListener("pointermove",Ah,n))}))}a(jc,"updateListeners");function Ic(e,n){cs.forEach(r=>{const{setResizeHandlerState:o}=r,l=Wn.includes(r);o(e,l,n)})}a(Ic,"updateResizeHandlerStates");function CB(){const[e,n]=x.useState(0);return x.useCallback(()=>n(r=>r+1),[])}a(CB,"useForceUpdate");function He(e,n){if(!e)throw console.error(n),Error(n)}a(He,"assert");function yo(e,n,r=Hy){return e.toFixed(r)===n.toFixed(r)?0:e>n?1:-1}a(yo,"fuzzyCompareNumbers");function Yr(e,n,r=Hy){return yo(e,n,r)===0}a(Yr,"fuzzyNumbersEqual$1");function xn(e,n,r){return yo(e,n,r)===0}a(xn,"fuzzyNumbersEqual");function TB(e,n,r){if(e.length!==n.length)return!1;for(let o=0;o<e.length;o++){const l=e[o],u=n[o];if(!xn(l,u,r))return!1}return!0}a(TB,"fuzzyLayoutsEqual");function ma({panelConstraints:e,panelIndex:n,size:r}){const o=e[n];He(o!=null,`Panel constraints not found for index ${n}`);let{collapsedSize:l=0,collapsible:u,maxSize:f=100,minSize:d=0}=o;if(yo(r,d)<0)if(u){const p=(l+d)/2;yo(r,p)<0?r=l:r=d}else r=d;return r=Math.min(f,r),r=parseFloat(r.toFixed(Hy)),r}a(ma,"resizePanel");function Ql({delta:e,initialLayout:n,panelConstraints:r,pivotIndices:o,prevLayout:l,trigger:u}){if(xn(e,0))return n;const f=[...n],[d,p]=o;He(d!=null,"Invalid first pivot index"),He(p!=null,"Invalid second pivot index");let h=0;if(u==="keyboard"){{const g=e<0?p:d,b=r[g];He(b,`Panel constraints not found for index ${g}`);const{collapsedSize:S=0,collapsible:E,minSize:w=0}=b;if(E){const R=n[g];if(He(R!=null,`Previous layout not found for panel index ${g}`),xn(R,S)){const T=w-R;yo(T,Math.abs(e))>0&&(e=e<0?0-T:T)}}}{const g=e<0?d:p,b=r[g];He(b,`No panel constraints found for index ${g}`);const{collapsedSize:S=0,collapsible:E,minSize:w=0}=b;if(E){const R=n[g];if(He(R!=null,`Previous layout not found for panel index ${g}`),xn(R,w)){const T=R-S;yo(T,Math.abs(e))>0&&(e=e<0?0-T:T)}}}}{const g=e<0?1:-1;let b=e<0?p:d,S=0;for(;;){const w=n[b];He(w!=null,`Previous layout not found for panel index ${b}`);const T=ma({panelConstraints:r,panelIndex:b,size:100})-w;if(S+=T,b+=g,b<0||b>=r.length)break}const E=Math.min(Math.abs(e),Math.abs(S));e=e<0?0-E:E}{let b=e<0?d:p;for(;b>=0&&b<r.length;){const S=Math.abs(e)-Math.abs(h),E=n[b];He(E!=null,`Previous layout not found for panel index ${b}`);const w=E-S,R=ma({panelConstraints:r,panelIndex:b,size:w});if(!xn(E,R)&&(h+=E-R,f[b]=R,h.toFixed(3).localeCompare(Math.abs(e).toFixed(3),void 0,{numeric:!0})>=0))break;e<0?b--:b++}}if(TB(l,f))return l;{const g=e<0?p:d,b=n[g];He(b!=null,`Previous layout not found for panel index ${g}`);const S=b+h,E=ma({panelConstraints:r,panelIndex:g,size:S});if(f[g]=E,!xn(E,S)){let w=S-E,T=e<0?p:d;for(;T>=0&&T<r.length;){const O=f[T];He(O!=null,`Previous layout not found for panel index ${T}`);const M=O+w,L=ma({panelConstraints:r,panelIndex:T,size:M});if(xn(O,L)||(w-=L-O,f[T]=L),xn(w,0))break;e>0?T--:T++}}}const m=f.reduce((g,b)=>b+g,0);return xn(m,100)?f:l}a(Ql,"adjustLayoutByDelta");function RB({layout:e,panelsArray:n,pivotIndices:r}){let o=0,l=100,u=0,f=0;const d=r[0];He(d!=null,"No pivot index found"),n.forEach((g,b)=>{const{constraints:S}=g,{maxSize:E=100,minSize:w=0}=S;b===d?(o=w,l=E):(u+=w,f+=E)});const p=Math.min(l,100-u),h=Math.max(o,100-f),m=e[d];return{valueMax:p,valueMin:h,valueNow:m}}a(RB,"calculateAriaValues");function fs(e,n=document){return Array.from(n.querySelectorAll(`[${bt.resizeHandleId}][data-panel-group-id="${e}"]`))}a(fs,"getResizeHandleElementsForGroup");function eO(e,n,r=document){const l=fs(e,r).findIndex(u=>u.getAttribute(bt.resizeHandleId)===n);return l??null}a(eO,"getResizeHandleElementIndex");function tO(e,n,r){const o=eO(e,n,r);return o!=null?[o,o+1]:[-1,-1]}a(tO,"determinePivotIndices");function OB(e){return e instanceof HTMLElement?!0:typeof e=="object"&&e!==null&&"tagName"in e&&"getAttribute"in e}a(OB,"isHTMLElement");function nO(e,n=document){if(OB(n)&&n.dataset.panelGroupId==e)return n;const r=n.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);return r||null}a(nO,"getPanelGroupElement");function wf(e,n=document){const r=n.querySelector(`[${bt.resizeHandleId}="${e}"]`);return r||null}a(wf,"getResizeHandleElement");function AB(e,n,r,o=document){var l,u,f,d;const p=wf(n,o),h=fs(e,o),m=p?h.indexOf(p):-1,g=(l=(u=r[m])===null||u===void 0?void 0:u.id)!==null&&l!==void 0?l:null,b=(f=(d=r[m+1])===null||d===void 0?void 0:d.id)!==null&&f!==void 0?f:null;return[g,b]}a(AB,"getResizeHandlePanelIds");function _B({committedValuesRef:e,eagerValuesRef:n,groupId:r,layout:o,panelDataArray:l,panelGroupElement:u,setLayout:f}){x.useRef({didWarnAboutMissingResizeHandle:!1}),ao(()=>{if(!u)return;const d=fs(r,u);for(let p=0;p<l.length-1;p++){const{valueMax:h,valueMin:m,valueNow:g}=RB({layout:o,panelsArray:l,pivotIndices:[p,p+1]}),b=d[p];if(b!=null){const S=l[p];He(S,`No panel data found for index "${p}"`),b.setAttribute("aria-controls",S.id),b.setAttribute("aria-valuemax",""+Math.round(h)),b.setAttribute("aria-valuemin",""+Math.round(m)),b.setAttribute("aria-valuenow",g!=null?""+Math.round(g):"")}}return()=>{d.forEach((p,h)=>{p.removeAttribute("aria-controls"),p.removeAttribute("aria-valuemax"),p.removeAttribute("aria-valuemin"),p.removeAttribute("aria-valuenow")})}},[r,o,l,u]),x.useEffect(()=>{if(!u)return;const d=n.current;He(d,"Eager values not found");const{panelDataArray:p}=d,h=nO(r,u);He(h!=null,`No group found for id "${r}"`);const m=fs(r,u);He(m,`No resize handles found for group id "${r}"`);const g=m.map(b=>{const S=b.getAttribute(bt.resizeHandleId);He(S,"Resize handle element has no handle id attribute");const[E,w]=AB(r,S,p,u);if(E==null||w==null)return()=>{};const R=a(T=>{if(!T.defaultPrevented)switch(T.key){case"Enter":{T.preventDefault();const O=p.findIndex(M=>M.id===E);if(O>=0){const M=p[O];He(M,`No panel data found for index ${O}`);const L=o[O],{collapsedSize:B=0,collapsible:D,minSize:P=0}=M.constraints;if(L!=null&&D){const Y=Ql({delta:xn(L,B)?P-B:B-L,initialLayout:o,panelConstraints:p.map(K=>K.constraints),pivotIndices:tO(r,S,u),prevLayout:o,trigger:"keyboard"});o!==Y&&f(Y)}}break}}},"onKeyDown");return b.addEventListener("keydown",R),()=>{b.removeEventListener("keydown",R)}});return()=>{g.forEach(b=>b())}},[u,e,n,r,o,l,f])}a(_B,"useWindowSplitterPanelGroupBehavior");function hx(e,n){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==n[r])return!1;return!0}a(hx,"areEqual");function rO(e,n){const r=e==="horizontal",{x:o,y:l}=bf(n);return r?o:l}a(rO,"getResizeEventCursorPosition");function MB(e,n,r,o,l){const u=r==="horizontal",f=wf(n,l);He(f,`No resize handle element found for id "${n}"`);const d=f.getAttribute(bt.groupId);He(d,"Resize handle element has no group id attribute");let{initialCursorPosition:p}=o;const h=rO(r,e),m=nO(d,l);He(m,`No group element found for id "${d}"`);const g=m.getBoundingClientRect(),b=u?g.width:g.height;return(h-p)/b*100}a(MB,"calculateDragOffsetPercentage");function NB(e,n,r,o,l,u){if(VR(e)){const f=r==="horizontal";let d=0;e.shiftKey?d=100:l!=null?d=l:d=10;let p=0;switch(e.key){case"ArrowDown":p=f?0:d;break;case"ArrowLeft":p=f?-d:0;break;case"ArrowRight":p=f?d:0;break;case"ArrowUp":p=f?0:-d;break;case"End":p=100;break;case"Home":p=-100;break}return p}else return o==null?0:MB(e,n,r,o,u)}a(NB,"calculateDeltaPercentage");function kB({panelDataArray:e}){const n=Array(e.length),r=e.map(u=>u.constraints);let o=0,l=100;for(let u=0;u<e.length;u++){const f=r[u];He(f,`Panel constraints not found for index ${u}`);const{defaultSize:d}=f;d!=null&&(o++,n[u]=d,l-=d)}for(let u=0;u<e.length;u++){const f=r[u];He(f,`Panel constraints not found for index ${u}`);const{defaultSize:d}=f;if(d!=null)continue;const p=e.length-o,h=l/p;o++,n[u]=h,l-=h}return n}a(kB,"calculateUnsafeDefaultLayout");function pa(e,n,r){n.forEach((o,l)=>{const u=e[l];He(u,`Panel data not found for index ${l}`);const{callbacks:f,constraints:d,id:p}=u,{collapsedSize:h=0,collapsible:m}=d,g=r[p];if(g==null||o!==g){r[p]=o;const{onCollapse:b,onExpand:S,onResize:E}=f;E&&E(o,g),m&&(b||S)&&(S&&(g==null||Yr(g,h))&&!Yr(o,h)&&S(),b&&(g==null||!Yr(g,h))&&Yr(o,h)&&b())}})}a(pa,"callPanelCallbacks");function lc(e,n){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!=n[r])return!1;return!0}a(lc,"compareLayouts");function DB({defaultSize:e,dragState:n,layout:r,panelData:o,panelIndex:l,precision:u=3}){const f=r[l];let d;return f==null?d=e!=null?e.toFixed(u):"1":o.length===1?d="1":d=f.toFixed(u),{flexBasis:0,flexGrow:d,flexShrink:1,overflow:"hidden",pointerEvents:n!==null?"none":void 0}}a(DB,"computePanelFlexBoxStyle");function PB(e,n=10){let r=null;return a((...l)=>{r!==null&&clearTimeout(r),r=setTimeout(()=>{e(...l)},n)},"callable")}a(PB,"debounce");function mx(e){try{if(typeof localStorage<"u")e.getItem=n=>localStorage.getItem(n),e.setItem=(n,r)=>{localStorage.setItem(n,r)};else throw new Error("localStorage not supported in this environment")}catch(n){console.error(n),e.getItem=()=>null,e.setItem=()=>{}}}a(mx,"initializeDefaultStorage");function iO(e){return`react-resizable-panels:${e}`}a(iO,"getPanelGroupKey");function oO(e){return e.map(n=>{const{constraints:r,id:o,idIsFromProps:l,order:u}=n;return l?o:u?`${u}:${JSON.stringify(r)}`:JSON.stringify(r)}).sort((n,r)=>n.localeCompare(r)).join(",")}a(oO,"getPanelKey");function aO(e,n){try{const r=iO(e),o=n.getItem(r);if(o){const l=JSON.parse(o);if(typeof l=="object"&&l!=null)return l}}catch{}return null}a(aO,"loadSerializedPanelGroupState");function LB(e,n,r){var o,l;const u=(o=aO(e,r))!==null&&o!==void 0?o:{},f=oO(n);return(l=u[f])!==null&&l!==void 0?l:null}a(LB,"loadPanelGroupState");function zB(e,n,r,o,l){var u;const f=iO(e),d=oO(n),p=(u=aO(e,l))!==null&&u!==void 0?u:{};p[d]={expandToSizes:Object.fromEntries(r.entries()),layout:o};try{l.setItem(f,JSON.stringify(p))}catch(h){console.error(h)}}a(zB,"savePanelGroupState");function yx({layout:e,panelConstraints:n}){const r=[...e],o=r.reduce((u,f)=>u+f,0);if(r.length!==n.length)throw Error(`Invalid ${n.length} panel layout: ${r.map(u=>`${u}%`).join(", ")}`);if(!xn(o,100)&&r.length>0)for(let u=0;u<n.length;u++){const f=r[u];He(f!=null,`No layout data found for index ${u}`);const d=100/o*f;r[u]=d}let l=0;for(let u=0;u<n.length;u++){const f=r[u];He(f!=null,`No layout data found for index ${u}`);const d=ma({panelConstraints:n,panelIndex:u,size:f});f!=d&&(l+=f-d,r[u]=d)}if(!xn(l,0))for(let u=0;u<n.length;u++){const f=r[u];He(f!=null,`No layout data found for index ${u}`);const d=f+l,p=ma({panelConstraints:n,panelIndex:u,size:d});if(f!==p&&(l-=p-f,r[u]=p,xn(l,0)))break}return r}a(yx,"validatePanelGroupLayout");const jB=100,Kl={getItem:a(e=>(mx(Kl),Kl.getItem(e)),"getItem"),setItem:a((e,n)=>{mx(Kl),Kl.setItem(e,n)},"setItem")},gx={};function lO({autoSaveId:e=null,children:n,className:r="",direction:o,forwardedRef:l,id:u=null,onLayout:f=null,keyboardResizeBy:d=null,storage:p=Kl,style:h,tagName:m="div",...g}){const b=Uy(u),S=x.useRef(null),[E,w]=x.useState(null),[R,T]=x.useState([]),O=CB(),M=x.useRef({}),L=x.useRef(new Map),B=x.useRef(0),D=x.useRef({autoSaveId:e,direction:o,dragState:E,id:b,keyboardResizeBy:d,onLayout:f,storage:p}),P=x.useRef({layout:R,panelDataArray:[],panelDataArrayChanged:!1});x.useRef({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),x.useImperativeHandle(l,()=>({getId:a(()=>D.current.id,"getId"),getLayout:a(()=>{const{layout:A}=P.current;return A},"getLayout"),setLayout:a(A=>{const{onLayout:J}=D.current,{layout:de,panelDataArray:ce}=P.current,V=yx({layout:A,panelConstraints:ce.map(pe=>pe.constraints)});hx(de,V)||(T(V),P.current.layout=V,J&&J(V),pa(ce,V,M.current))},"setLayout")}),[]),ao(()=>{D.current.autoSaveId=e,D.current.direction=o,D.current.dragState=E,D.current.id=b,D.current.onLayout=f,D.current.storage=p}),_B({committedValuesRef:D,eagerValuesRef:P,groupId:b,layout:R,panelDataArray:P.current.panelDataArray,setLayout:T,panelGroupElement:S.current}),x.useEffect(()=>{const{panelDataArray:A}=P.current;if(e){if(R.length===0||R.length!==A.length)return;let J=gx[e];J==null&&(J=PB(zB,jB),gx[e]=J);const de=[...A],ce=new Map(L.current);J(e,de,ce,R,p)}},[e,R,p]),x.useEffect(()=>{});const Y=x.useCallback(A=>{const{onLayout:J}=D.current,{layout:de,panelDataArray:ce}=P.current;if(A.constraints.collapsible){const V=ce.map(ke=>ke.constraints),{collapsedSize:pe=0,panelSize:be,pivotIndices:Re}=ro(ce,A,de);if(He(be!=null,`Panel size not found for panel "${A.id}"`),!Yr(be,pe)){L.current.set(A.id,be);const Ue=ha(ce,A)===ce.length-1?be-pe:pe-be,Be=Ql({delta:Ue,initialLayout:de,panelConstraints:V,pivotIndices:Re,prevLayout:de,trigger:"imperative-api"});lc(de,Be)||(T(Be),P.current.layout=Be,J&&J(Be),pa(ce,Be,M.current))}}},[]),K=x.useCallback((A,J)=>{const{onLayout:de}=D.current,{layout:ce,panelDataArray:V}=P.current;if(A.constraints.collapsible){const pe=V.map(nt=>nt.constraints),{collapsedSize:be=0,panelSize:Re=0,minSize:ke=0,pivotIndices:Ue}=ro(V,A,ce),Be=J??ke;if(Yr(Re,be)){const nt=L.current.get(A.id),Ut=nt!=null&&nt>=Be?nt:Be,Tn=ha(V,A)===V.length-1?Re-Ut:Ut-Re,Mt=Ql({delta:Tn,initialLayout:ce,panelConstraints:pe,pivotIndices:Ue,prevLayout:ce,trigger:"imperative-api"});lc(ce,Mt)||(T(Mt),P.current.layout=Mt,de&&de(Mt),pa(V,Mt,M.current))}}},[]),te=x.useCallback(A=>{const{layout:J,panelDataArray:de}=P.current,{panelSize:ce}=ro(de,A,J);return He(ce!=null,`Panel size not found for panel "${A.id}"`),ce},[]),Z=x.useCallback((A,J)=>{const{panelDataArray:de}=P.current,ce=ha(de,A);return DB({defaultSize:J,dragState:E,layout:R,panelData:de,panelIndex:ce})},[E,R]),ee=x.useCallback(A=>{const{layout:J,panelDataArray:de}=P.current,{collapsedSize:ce=0,collapsible:V,panelSize:pe}=ro(de,A,J);return He(pe!=null,`Panel size not found for panel "${A.id}"`),V===!0&&Yr(pe,ce)},[]),fe=x.useCallback(A=>{const{layout:J,panelDataArray:de}=P.current,{collapsedSize:ce=0,collapsible:V,panelSize:pe}=ro(de,A,J);return He(pe!=null,`Panel size not found for panel "${A.id}"`),!V||yo(pe,ce)>0},[]),F=x.useCallback(A=>{const{panelDataArray:J}=P.current;J.push(A),J.sort((de,ce)=>{const V=de.order,pe=ce.order;return V==null&&pe==null?0:V==null?-1:pe==null?1:V-pe}),P.current.panelDataArrayChanged=!0,O()},[O]);ao(()=>{if(P.current.panelDataArrayChanged){P.current.panelDataArrayChanged=!1;const{autoSaveId:A,onLayout:J,storage:de}=D.current,{layout:ce,panelDataArray:V}=P.current;let pe=null;if(A){const Re=LB(A,V,de);Re&&(L.current=new Map(Object.entries(Re.expandToSizes)),pe=Re.layout)}pe==null&&(pe=kB({panelDataArray:V}));const be=yx({layout:pe,panelConstraints:V.map(Re=>Re.constraints)});hx(ce,be)||(T(be),P.current.layout=be,J&&J(be),pa(V,be,M.current))}}),ao(()=>{const A=P.current;return()=>{A.layout=[]}},[]);const oe=x.useCallback(A=>{let J=!1;const de=S.current;return de&&window.getComputedStyle(de,null).getPropertyValue("direction")==="rtl"&&(J=!0),a(function(V){V.preventDefault();const pe=S.current;if(!pe)return()=>null;const{direction:be,dragState:Re,id:ke,keyboardResizeBy:Ue,onLayout:Be}=D.current,{layout:nt,panelDataArray:Ut}=P.current,{initialLayout:Gt}=Re??{},Tn=tO(ke,A,pe);let Mt=NB(V,A,be,Re,Ue,pe);const Rr=be==="horizontal";Rr&&J&&(Mt=-Mt);const ei=Ut.map(Fa=>Fa.constraints),Fn=Ql({delta:Mt,initialLayout:Gt??nt,panelConstraints:ei,pivotIndices:Tn,prevLayout:nt,trigger:VR(V)?"keyboard":"mouse-or-touch"}),wo=!lc(nt,Fn);(GR(V)||YR(V))&&B.current!=Mt&&(B.current=Mt,!wo&&Mt!==0?Rr?Mh(A,Mt<0?KR:XR):Mh(A,Mt<0?WR:ZR):Mh(A,0)),wo&&(T(Fn),P.current.layout=Fn,Be&&Be(Fn),pa(Ut,Fn,M.current))},"resizeHandler")},[]),I=x.useCallback((A,J)=>{const{onLayout:de}=D.current,{layout:ce,panelDataArray:V}=P.current,pe=V.map(nt=>nt.constraints),{panelSize:be,pivotIndices:Re}=ro(V,A,ce);He(be!=null,`Panel size not found for panel "${A.id}"`);const Ue=ha(V,A)===V.length-1?be-J:J-be,Be=Ql({delta:Ue,initialLayout:ce,panelConstraints:pe,pivotIndices:Re,prevLayout:ce,trigger:"imperative-api"});lc(ce,Be)||(T(Be),P.current.layout=Be,de&&de(Be),pa(V,Be,M.current))},[]),W=x.useCallback((A,J)=>{const{layout:de,panelDataArray:ce}=P.current,{collapsedSize:V=0,collapsible:pe}=J,{collapsedSize:be=0,collapsible:Re,maxSize:ke=100,minSize:Ue=0}=A.constraints,{panelSize:Be}=ro(ce,A,de);Be!=null&&(pe&&Re&&Yr(Be,V)?Yr(V,be)||I(A,be):Be<Ue?I(A,Ue):Be>ke&&I(A,ke))},[I]),ie=x.useCallback((A,J)=>{const{direction:de}=D.current,{layout:ce}=P.current;if(!S.current)return;const V=wf(A,S.current);He(V,`Drag handle element not found for id "${A}"`);const pe=rO(de,J);w({dragHandleId:A,dragHandleRect:V.getBoundingClientRect(),initialCursorPosition:pe,initialLayout:ce})},[]),se=x.useCallback(()=>{w(null)},[]),k=x.useCallback(A=>{const{panelDataArray:J}=P.current,de=ha(J,A);de>=0&&(J.splice(de,1),delete M.current[A.id],P.current.panelDataArrayChanged=!0,O())},[O]),z=x.useMemo(()=>({collapsePanel:Y,direction:o,dragState:E,expandPanel:K,getPanelSize:te,getPanelStyle:Z,groupId:b,isPanelCollapsed:ee,isPanelExpanded:fe,reevaluatePanelConstraints:W,registerPanel:F,registerResizeHandle:oe,resizePanel:I,startDragging:ie,stopDragging:se,unregisterPanel:k,panelGroupElement:S.current}),[Y,E,o,K,te,Z,b,ee,fe,W,F,oe,I,ie,se,k]),Q={display:"flex",flexDirection:o==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return x.createElement(vf.Provider,{value:z},x.createElement(m,{...g,children:n,className:r,id:u,ref:S,style:{...Q,...h},[bt.group]:"",[bt.groupDirection]:o,[bt.groupId]:b}))}a(lO,"PanelGroupWithForwardedRef");const IB=x.forwardRef((e,n)=>x.createElement(lO,{...e,forwardedRef:n}));lO.displayName="PanelGroup";IB.displayName="forwardRef(PanelGroup)";function ha(e,n){return e.findIndex(r=>r===n||r.id===n.id)}a(ha,"findPanelDataIndex");function ro(e,n,r){const o=ha(e,n),u=o===e.length-1?[o-1,o]:[o,o+1],f=r[o];return{...n.constraints,panelSize:f,pivotIndices:u}}a(ro,"panelDataHelper");function BB({disabled:e,handleId:n,resizeHandler:r,panelGroupElement:o}){x.useEffect(()=>{if(e||r==null||o==null)return;const l=wf(n,o);if(l==null)return;const u=a(f=>{if(!f.defaultPrevented)switch(f.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{f.preventDefault(),r(f);break}case"F6":{f.preventDefault();const d=l.getAttribute(bt.groupId);He(d,`No group element found for id "${d}"`);const p=fs(d,o),h=eO(d,n,o);He(h!==null,`No resize element found for id "${n}"`);const m=f.shiftKey?h>0?h-1:p.length-1:h+1<p.length?h+1:0;p[m].focus();break}}},"onKeyDown");return l.addEventListener("keydown",u),()=>{l.removeEventListener("keydown",u)}},[o,e,n,r])}a(BB,"useWindowSplitterResizeHandlerBehavior");function HB({children:e=null,className:n="",disabled:r=!1,hitAreaMargins:o,id:l,onBlur:u,onClick:f,onDragging:d,onFocus:p,onPointerDown:h,onPointerUp:m,style:g={},tabIndex:b=0,tagName:S="div",...E}){var w,R;const T=x.useRef(null),O=x.useRef({onClick:f,onDragging:d,onPointerDown:h,onPointerUp:m});x.useEffect(()=>{O.current.onClick=f,O.current.onDragging=d,O.current.onPointerDown=h,O.current.onPointerUp=m});const M=x.useContext(vf);if(M===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:L,groupId:B,registerResizeHandle:D,startDragging:P,stopDragging:Y,panelGroupElement:K}=M,te=Uy(l),[Z,ee]=x.useState("inactive"),[fe,F]=x.useState(!1),[oe,I]=x.useState(null),W=x.useRef({state:Z});ao(()=>{W.current.state=Z}),x.useEffect(()=>{if(r)I(null);else{const z=D(te);I(()=>z)}},[r,te,D]);const ie=(w=o?.coarse)!==null&&w!==void 0?w:15,se=(R=o?.fine)!==null&&R!==void 0?R:5;x.useEffect(()=>{if(r||oe==null)return;const z=T.current;He(z,"Element ref not attached");let Q=!1;return wB(te,z,L,{coarse:ie,fine:se},a((J,de,ce)=>{if(!de){ee("inactive");return}switch(J){case"down":{ee("drag"),Q=!1,He(ce,'Expected event to be defined for "down" action'),P(te,ce);const{onDragging:V,onPointerDown:pe}=O.current;V?.(!0),pe?.();break}case"move":{const{state:V}=W.current;Q=!0,V!=="drag"&&ee("hover"),He(ce,'Expected event to be defined for "move" action'),oe(ce);break}case"up":{ee("hover"),Y();const{onClick:V,onDragging:pe,onPointerUp:be}=O.current;pe?.(!1),be?.(),Q||V?.();break}}},"setResizeHandlerState"))},[ie,L,r,se,D,te,oe,P,Y]),BB({disabled:r,handleId:te,resizeHandler:oe,panelGroupElement:K});const k={touchAction:"none",userSelect:"none"};return x.createElement(S,{...E,children:e,className:n,id:l,onBlur:a(()=>{F(!1),u?.()},"onBlur"),onFocus:a(()=>{F(!0),p?.()},"onFocus"),ref:T,role:"separator",style:{...k,...g},tabIndex:b,[bt.groupDirection]:L,[bt.groupId]:B,[bt.resizeHandle]:"",[bt.resizeHandleActive]:Z==="drag"?"pointer":fe?"keyboard":void 0,[bt.resizeHandleEnabled]:!r,[bt.resizeHandleId]:te,[bt.resizeHandleState]:Z})}a(HB,"PanelResizeHandle");HB.displayName="PanelResizeHandle";var Ef="Collapsible",[UB]=Wt(Ef),[FB,qy]=UB(Ef),sO=x.forwardRef((e,n)=>{const{__scopeCollapsible:r,open:o,defaultOpen:l,disabled:u,onOpenChange:f,...d}=e,[p,h]=vr({prop:o,defaultProp:l??!1,onChange:f,caller:Ef});return N.jsx(FB,{scope:r,disabled:u,contentId:Bn(),open:p,onOpenToggle:x.useCallback(()=>h(m=>!m),[h]),children:N.jsx(Te.div,{"data-state":Vy(p),"data-disabled":u?"":void 0,...d,ref:n})})});sO.displayName=Ef;var uO="CollapsibleTrigger",cO=x.forwardRef((e,n)=>{const{__scopeCollapsible:r,...o}=e,l=qy(uO,r);return N.jsx(Te.button,{type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":Vy(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled,...o,ref:n,onClick:ye(e.onClick,l.onOpenToggle)})});cO.displayName=uO;var $y="CollapsibleContent",fO=x.forwardRef((e,n)=>{const{forceMount:r,...o}=e,l=qy($y,e.__scopeCollapsible);return N.jsx(Ht,{present:r||l.open,children:a(({present:u})=>N.jsx(qB,{...o,ref:n,present:u}),"children")})});fO.displayName=$y;var qB=x.forwardRef((e,n)=>{const{__scopeCollapsible:r,present:o,children:l,...u}=e,f=qy($y,r),[d,p]=x.useState(o),h=x.useRef(null),m=ze(n,h),g=x.useRef(0),b=g.current,S=x.useRef(0),E=S.current,w=f.open||d,R=x.useRef(w),T=x.useRef(void 0);return x.useEffect(()=>{const O=requestAnimationFrame(()=>R.current=!1);return()=>cancelAnimationFrame(O)},[]),wt(()=>{const O=h.current;if(O){T.current=T.current||{transitionDuration:O.style.transitionDuration,animationName:O.style.animationName},O.style.transitionDuration="0s",O.style.animationName="none";const M=O.getBoundingClientRect();g.current=M.height,S.current=M.width,R.current||(O.style.transitionDuration=T.current.transitionDuration,O.style.animationName=T.current.animationName),p(o)}},[f.open,o]),N.jsx(Te.div,{"data-state":Vy(f.open),"data-disabled":f.disabled?"":void 0,id:f.contentId,hidden:!w,...u,ref:m,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":E?`${E}px`:void 0,...e.style},children:w&&l})});function Vy(e){return e?"open":"closed"}a(Vy,"getState$1");var qF=sO,$F=cO,VF=fO,Yn,vx;function $B(){if(vx)return Yn;vx=1;var e=Yn&&Yn.__extends||(function(){var g=a(function(b,S){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,w){E.__proto__=w}||function(E,w){for(var R in w)w.hasOwnProperty(R)&&(E[R]=w[R])},g(b,S)},"extendStatics");return function(b,S){g(b,S);function E(){this.constructor=b}a(E,"__"),b.prototype=S===null?Object.create(S):(E.prototype=S.prototype,new E)}})(),n=Yn&&Yn.__assign||function(){return n=Object.assign||function(g){for(var b,S=1,E=arguments.length;S<E;S++){b=arguments[S];for(var w in b)Object.prototype.hasOwnProperty.call(b,w)&&(g[w]=b[w])}return g},n.apply(this,arguments)},r=Yn&&Yn.__rest||function(g,b){var S={};for(var E in g)Object.prototype.hasOwnProperty.call(g,E)&&b.indexOf(E)<0&&(S[E]=g[E]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,E=Object.getOwnPropertySymbols(g);w<E.length;w++)b.indexOf(E[w])<0&&(S[E[w]]=g[E[w]]);return S},o=Yn&&Yn.__importStar||function(g){if(g&&g.__esModule)return g;var b={};if(g!=null)for(var S in g)Object.hasOwnProperty.call(g,S)&&(b[S]=g[S]);return b.default=g,b},l=o(gT()),u=o(ds());function f(g,b,S){var E=S[g+"Style"]||"",w=b&&b[g]||"";return E?E+";"+w:w}a(f,"getStyleValue");function d(g,b,S){var E=f(g,b,S);return E?' style="'+E+'"':""}a(d,"getStyle");var p={'"':""","'":"'","&":"&",">":">","<":"<"};function h(g){return g&&g.replace(/<|>|&|"|'/g,function(b){return p[b]})}a(h,"xss");var m=(function(g){e(b,g);function b(){return g!==null&&g.apply(this,arguments)||this}return a(b,"JSONPretty"),b.prototype.render=function(){var S=this.props,E=S.json,w=S.data,R=S.replacer,T=S.space,O=S.themeClassName,M=S.theme,L=S.onJSONPrettyError,B=S.onError,D=S.silent,P=S.mainStyle,Y=S.keyStyle,K=S.valueStyle,te=S.stringStyle,Z=S.booleanStyle,ee=S.errorStyle,fe=r(S,["json","data","replacer","space","themeClassName","theme","onJSONPrettyError","onError","silent","mainStyle","keyStyle","valueStyle","stringStyle","booleanStyle","errorStyle"]),F={mainStyle:P,keyStyle:Y,valueStyle:K,stringStyle:te,booleanStyle:Z,errorStyle:ee},oe=w||E;if(typeof oe=="string")try{oe=JSON.parse(oe)}catch(I){return D||console.warn("[react-json-pretty]: "+I.message),L&&L(I),!L&&B&&(B(I),console.warn("JSONPretty#onError is deprecated, please use JSONPretty#onJSONPrettyError instead")),u.createElement("div",n({},fe,{dangerouslySetInnerHTML:{__html:'<pre class="__json-pretty-error__"'+d("error",M,F)+">"+h(oe)+"</pre>"}}))}return u.createElement("div",n({},fe,{dangerouslySetInnerHTML:{__html:'<pre class="'+O+'"'+d("main",M,F)+">"+this._pretty(M,oe,R,+T,F)+"</pre>"}}))},b.prototype._pretty=function(S,E,w,R,T){var O=/^( *)("[^"]+": )?("[^"]*"|[\w.+-]*)?([,[{]|\[\s*\],?|\{\s*\},?)?$/mg,M=JSON.stringify(E,typeof w=="function"?w:null,isNaN(R)?2:R);return M&&M.replace(/&/g,"&").replace(/\\"([^,])/g,"\\"$1").replace(/</g,"<").replace(/>/g,">").replace(O,this._replace.bind(null,S,T))},b.prototype._replace=function(S,E,w,R,T,O,M){var L="</span>",B='<span class="__json-key__"'+d("key",S,E)+">",D='<span class="__json-value__"'+d("value",S,E)+">",P='<span class="__json-string__"'+d("string",S,E)+">",Y='<span class="__json-boolean__"'+d("boolean",S,E)+">",K=R||"";return T&&(K=K+'"'+B+T.replace(/^"|":\s$/g,"")+L+'": '),O&&(O==="true"||O==="false"?K=K+Y+O+L:K=K+(O[0]==='"'?P:D)+O+L),K+(M||"")},b.propTypes={data:l.any,json:l.any,replacer:l.func,silent:l.bool,space:l.oneOfType([l.number,l.string]),theme:l.object,themeClassName:l.string,onJSONPrettyError:l.func},b.defaultProps={data:"",json:"",silent:!0,space:2,themeClassName:"__json-pretty__"},b})(u.Component);return Yn=m,Yn}a($B,"requireJSONPretty");var VB=$B();const GF=xr(VB);var Cf="Switch",[GB]=Wt(Cf),[YB,QB]=GB(Cf),dO=x.forwardRef((e,n)=>{const{__scopeSwitch:r,name:o,checked:l,defaultChecked:u,required:f,disabled:d,value:p="on",onCheckedChange:h,form:m,...g}=e,[b,S]=x.useState(null),E=ze(n,M=>S(M)),w=x.useRef(!1),R=b?m||!!b.closest("form"):!0,[T,O]=vr({prop:l,defaultProp:u??!1,onChange:h,caller:Cf});return N.jsxs(YB,{scope:r,checked:T,disabled:d,children:[N.jsx(Te.button,{type:"button",role:"switch","aria-checked":T,"aria-required":f,"data-state":yO(T),"data-disabled":d?"":void 0,disabled:d,value:p,...g,ref:E,onClick:ye(e.onClick,M=>{O(L=>!L),R&&(w.current=M.isPropagationStopped(),w.current||M.stopPropagation())})}),R&&N.jsx(mO,{control:b,bubbles:!w.current,name:o,value:p,checked:T,required:f,disabled:d,form:m,style:{transform:"translateX(-100%)"}})]})});dO.displayName=Cf;var pO="SwitchThumb",hO=x.forwardRef((e,n)=>{const{__scopeSwitch:r,...o}=e,l=QB(pO,r);return N.jsx(Te.span,{"data-state":yO(l.checked),"data-disabled":l.disabled?"":void 0,...o,ref:n})});hO.displayName=pO;var KB="SwitchBubbleInput",mO=x.forwardRef(({__scopeSwitch:e,control:n,checked:r,bubbles:o=!0,...l},u)=>{const f=x.useRef(null),d=ze(f,u),p=ME(r),h=dw(n);return x.useEffect(()=>{const m=f.current;if(!m)return;const g=window.HTMLInputElement.prototype,S=Object.getOwnPropertyDescriptor(g,"checked").set;if(p!==r&&S){const E=new Event("click",{bubbles:o});S.call(m,r),m.dispatchEvent(E)}},[p,r,o]),N.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...l,tabIndex:-1,ref:d,style:{...l.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});mO.displayName=KB;function yO(e){return e?"checked":"unchecked"}a(yO,"getState");var YF=dO,QF=hO;export{wF as $,cF as A,iF as B,xN as C,EN as D,sF as E,yH as F,rF as G,uF as H,JU as I,BU as J,dF as K,YU as L,pF as M,hF as N,SN as O,bN as P,mF as Q,tH as R,eH as S,vN as T,gF as U,ZU as V,vF as W,AU as X,yF as Y,bF as Z,SF as _,gN as a,HF as a$,TF as a0,RF as a1,CF as a2,EF as a3,xF as a4,bH as a5,ZB as a6,hH as a7,mH as a8,PH as a9,MF as aA,NF as aB,kF as aC,IU as aD,HU as aE,Li as aF,sH as aG,SU as aH,AH as aI,lU as aJ,CL as aK,jH as aL,hU as aM,kH as aN,uU as aO,UH as aP,dU as aQ,TH as aR,XH as aS,DF as aT,Ye as aU,tt as aV,BF as aW,PF as aX,zF as aY,jF as aZ,IF as a_,rH as aa,lH as ab,KH as ac,EH as ad,wU as ae,cU as af,fU as ag,GH as ah,CU as ai,YH as aj,OF as ak,AF as al,_F as am,z4 as an,F4 as ao,HH as ap,FH as aq,IH as ar,BH as as,iU as at,xU as au,RH as av,NH as aw,rE as ax,Xm as ay,SH as az,Zx as b,OH as b$,LF as b0,sU as b1,aU as b2,RU as b3,DH as b4,vU as b5,cH as b6,LH as b7,HR as b8,O7 as b9,fO as bA,CH as bB,_U as bC,uH as bD,VH as bE,nH as bF,EU as bG,oU as bH,TU as bI,wH as bJ,mU as bK,xH as bL,JH as bM,fH as bN,QH as bO,OU as bP,vH as bQ,gH as bR,$F as bS,VF as bT,GF as bU,_H as bV,aH as bW,bU as bX,gU as bY,oH as bZ,MH as b_,UF as ba,VI as bb,$I as bc,Sa as bd,HS as be,FR as bf,zI as bg,ex as bh,En as bi,dr as bj,cn as bk,ym as bl,mf as bm,ft as bn,Sr as bo,Dy as bp,Ne as bq,Je as br,II as bs,FF as bt,dB as bu,IB as bv,HB as bw,qH as bx,qF as by,cO as bz,wN as c,_e as c0,ZH as c1,pU as c2,rU as c3,iH as c4,tU as c5,zH as c6,nU as c7,yU as c8,UU as c9,YF as ca,QF as cb,cE as cc,$H as cd,$U as ce,jU as cf,zU as cg,qU as ch,WH as ci,FU as cj,J3 as ck,JB as cl,MU as d,NU as e,kU as f,xr as g,DU as h,PU as i,N as j,eU as k,VU as l,GU as m,QU as n,KU as o,XU as p,WU as q,x as r,pH as s,eF as t,tF as u,nF as v,oF as w,lF as x,dH as y,aF as z};
|
|
611
|
+
//# sourceMappingURL=react-vendor-DPGVcrXi.js.map
|