@rozenite/vite-plugin 1.10.0 → 1.12.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.
@@ -0,0 +1,11 @@
1
+ var WO=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports);var i4=WO((l4,r0)=>{(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))u(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const l of f.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&u(l)}).observe(document,{childList:!0,subtree:!0});function i(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function u(c){if(c.ep)return;c.ep=!0;const f=i(c);fetch(c.href,f)}})();function Ds(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function ei(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var a=r.default;if(typeof a=="function"){var i=function u(){var c=!1;try{c=this instanceof u}catch{}return c?Reflect.construct(a,arguments,this.constructor):a.apply(this,arguments)};i.prototype=a.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(r).forEach(function(u){var c=Object.getOwnPropertyDescriptor(r,u);Object.defineProperty(i,u,c.get?c:{enumerable:!0,get:function(){return r[u]}})}),i}var Vd={exports:{}},$i={};var Vh;function GO(){if(Vh)return $i;Vh=1;var r=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function i(u,c,f){var l=null;if(f!==void 0&&(l=""+f),c.key!==void 0&&(l=""+c.key),"key"in c){f={};for(var m in c)m!=="key"&&(f[m]=c[m])}else f=c;return c=f.ref,{$$typeof:r,type:u,key:l,ref:c!==void 0?c:null,props:f}}return $i.Fragment=a,$i.jsx=i,$i.jsxs=i,$i}var Kh;function YO(){return Kh||(Kh=1,Vd.exports=GO()),Vd.exports}var W=YO(),Kd={exports:{}},Ce={};var Zh;function VO(){if(Zh)return Ce;Zh=1;var r=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),l=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),g=Symbol.iterator;function S(P){return P===null||typeof P!="object"?null:(P=g&&P[g]||P["@@iterator"],typeof P=="function"?P:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D=Object.assign,O={};function A(P,x,w){this.props=P,this.context=x,this.refs=O,this.updater=w||y}A.prototype.isReactComponent={},A.prototype.setState=function(P,x){if(typeof P!="object"&&typeof P!="function"&&P!=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,P,x,"setState")},A.prototype.forceUpdate=function(P){this.updater.enqueueForceUpdate(this,P,"forceUpdate")};function C(){}C.prototype=A.prototype;function k(P,x,w){this.props=P,this.context=x,this.refs=O,this.updater=w||y}var T=k.prototype=new C;T.constructor=k,D(T,A.prototype),T.isPureReactComponent=!0;var _=Array.isArray;function L(){}var R={H:null,A:null,T:null,S:null},F=Object.prototype.hasOwnProperty;function Z(P,x,w){var X=w.ref;return{$$typeof:r,type:P,key:x,ref:X!==void 0?X:null,props:w}}function ee(P,x){return Z(P.type,x,P.props)}function Y(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}function ne(P){var x={"=":"=0",":":"=2"};return"$"+P.replace(/[=:]/g,function(w){return x[w]})}var K=/\/+/g;function fe(P,x){return typeof P=="object"&&P!==null&&P.key!=null?ne(""+P.key):x.toString(36)}function ge(P){switch(P.status){case"fulfilled":return P.value;case"rejected":throw P.reason;default:switch(typeof P.status=="string"?P.then(L,L):(P.status="pending",P.then(function(x){P.status==="pending"&&(P.status="fulfilled",P.value=x)},function(x){P.status==="pending"&&(P.status="rejected",P.reason=x)})),P.status){case"fulfilled":return P.value;case"rejected":throw P.reason}}throw P}function H(P,x,w,X,ae){var le=typeof P;(le==="undefined"||le==="boolean")&&(P=null);var ie=!1;if(P===null)ie=!0;else switch(le){case"bigint":case"string":case"number":ie=!0;break;case"object":switch(P.$$typeof){case r:case a:ie=!0;break;case b:return ie=P._init,H(ie(P._payload),x,w,X,ae)}}if(ie)return ae=ae(P),ie=X===""?"."+fe(P,0):X,_(ae)?(w="",ie!=null&&(w=ie.replace(K,"$&/")+"/"),H(ae,x,w,"",function(Me){return Me})):ae!=null&&(Y(ae)&&(ae=ee(ae,w+(ae.key==null||P&&P.key===ae.key?"":(""+ae.key).replace(K,"$&/")+"/")+ie)),x.push(ae)),1;ie=0;var ve=X===""?".":X+":";if(_(P))for(var ce=0;ce<P.length;ce++)X=P[ce],le=ve+fe(X,ce),ie+=H(X,x,w,le,ae);else if(ce=S(P),typeof ce=="function")for(P=ce.call(P),ce=0;!(X=P.next()).done;)X=X.value,le=ve+fe(X,ce++),ie+=H(X,x,w,le,ae);else if(le==="object"){if(typeof P.then=="function")return H(ge(P),x,w,X,ae);throw x=String(P),Error("Objects are not valid as a React child (found: "+(x==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":x)+"). If you meant to render a collection of children, use an array instead.")}return ie}function te(P,x,w){if(P==null)return P;var X=[],ae=0;return H(P,X,"","",function(le){return x.call(w,le,ae++)}),X}function oe(P){if(P._status===-1){var x=P._result;x=x(),x.then(function(w){(P._status===0||P._status===-1)&&(P._status=1,P._result=w)},function(w){(P._status===0||P._status===-1)&&(P._status=2,P._result=w)}),P._status===-1&&(P._status=0,P._result=x)}if(P._status===1)return P._result.default;throw P._result}var z=typeof reportError=="function"?reportError:function(P){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var x=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof P=="object"&&P!==null&&typeof P.message=="string"?String(P.message):String(P),error:P});if(!window.dispatchEvent(x))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",P);return}console.error(P)},G={map:te,forEach:function(P,x,w){te(P,function(){x.apply(this,arguments)},w)},count:function(P){var x=0;return te(P,function(){x++}),x},toArray:function(P){return te(P,function(x){return x})||[]},only:function(P){if(!Y(P))throw Error("React.Children.only expected to receive a single React element child.");return P}};return Ce.Activity=h,Ce.Children=G,Ce.Component=A,Ce.Fragment=i,Ce.Profiler=c,Ce.PureComponent=k,Ce.StrictMode=u,Ce.Suspense=p,Ce.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=R,Ce.__COMPILER_RUNTIME={__proto__:null,c:function(P){return R.H.useMemoCache(P)}},Ce.cache=function(P){return function(){return P.apply(null,arguments)}},Ce.cacheSignal=function(){return null},Ce.cloneElement=function(P,x,w){if(P==null)throw Error("The argument must be a React element, but you passed "+P+".");var X=D({},P.props),ae=P.key;if(x!=null)for(le in x.key!==void 0&&(ae=""+x.key),x)!F.call(x,le)||le==="key"||le==="__self"||le==="__source"||le==="ref"&&x.ref===void 0||(X[le]=x[le]);var le=arguments.length-2;if(le===1)X.children=w;else if(1<le){for(var ie=Array(le),ve=0;ve<le;ve++)ie[ve]=arguments[ve+2];X.children=ie}return Z(P.type,ae,X)},Ce.createContext=function(P){return P={$$typeof:l,_currentValue:P,_currentValue2:P,_threadCount:0,Provider:null,Consumer:null},P.Provider=P,P.Consumer={$$typeof:f,_context:P},P},Ce.createElement=function(P,x,w){var X,ae={},le=null;if(x!=null)for(X in x.key!==void 0&&(le=""+x.key),x)F.call(x,X)&&X!=="key"&&X!=="__self"&&X!=="__source"&&(ae[X]=x[X]);var ie=arguments.length-2;if(ie===1)ae.children=w;else if(1<ie){for(var ve=Array(ie),ce=0;ce<ie;ce++)ve[ce]=arguments[ce+2];ae.children=ve}if(P&&P.defaultProps)for(X in ie=P.defaultProps,ie)ae[X]===void 0&&(ae[X]=ie[X]);return Z(P,le,ae)},Ce.createRef=function(){return{current:null}},Ce.forwardRef=function(P){return{$$typeof:m,render:P}},Ce.isValidElement=Y,Ce.lazy=function(P){return{$$typeof:b,_payload:{_status:-1,_result:P},_init:oe}},Ce.memo=function(P,x){return{$$typeof:d,type:P,compare:x===void 0?null:x}},Ce.startTransition=function(P){var x=R.T,w={};R.T=w;try{var X=P(),ae=R.S;ae!==null&&ae(w,X),typeof X=="object"&&X!==null&&typeof X.then=="function"&&X.then(L,z)}catch(le){z(le)}finally{x!==null&&w.types!==null&&(x.types=w.types),R.T=x}},Ce.unstable_useCacheRefresh=function(){return R.H.useCacheRefresh()},Ce.use=function(P){return R.H.use(P)},Ce.useActionState=function(P,x,w){return R.H.useActionState(P,x,w)},Ce.useCallback=function(P,x){return R.H.useCallback(P,x)},Ce.useContext=function(P){return R.H.useContext(P)},Ce.useDebugValue=function(){},Ce.useDeferredValue=function(P,x){return R.H.useDeferredValue(P,x)},Ce.useEffect=function(P,x){return R.H.useEffect(P,x)},Ce.useEffectEvent=function(P){return R.H.useEffectEvent(P)},Ce.useId=function(){return R.H.useId()},Ce.useImperativeHandle=function(P,x,w){return R.H.useImperativeHandle(P,x,w)},Ce.useInsertionEffect=function(P,x){return R.H.useInsertionEffect(P,x)},Ce.useLayoutEffect=function(P,x){return R.H.useLayoutEffect(P,x)},Ce.useMemo=function(P,x){return R.H.useMemo(P,x)},Ce.useOptimistic=function(P,x){return R.H.useOptimistic(P,x)},Ce.useReducer=function(P,x,w){return R.H.useReducer(P,x,w)},Ce.useRef=function(P){return R.H.useRef(P)},Ce.useState=function(P){return R.H.useState(P)},Ce.useSyncExternalStore=function(P,x,w){return R.H.useSyncExternalStore(P,x,w)},Ce.useTransition=function(){return R.H.useTransition()},Ce.version="19.2.0",Ce}var Xh;function Pe(){return Xh||(Xh=1,Kd.exports=VO()),Kd.exports}var re=Pe();const ye=Ds(re);var Zd={exports:{}},Qi={},Xd={exports:{}},$d={};var $h;function KO(){return $h||($h=1,(function(r){function a(H,te){var oe=H.length;H.push(te);e:for(;0<oe;){var z=oe-1>>>1,G=H[z];if(0<c(G,te))H[z]=te,H[oe]=G,oe=z;else break e}}function i(H){return H.length===0?null:H[0]}function u(H){if(H.length===0)return null;var te=H[0],oe=H.pop();if(oe!==te){H[0]=oe;e:for(var z=0,G=H.length,P=G>>>1;z<P;){var x=2*(z+1)-1,w=H[x],X=x+1,ae=H[X];if(0>c(w,oe))X<G&&0>c(ae,w)?(H[z]=ae,H[X]=oe,z=X):(H[z]=w,H[x]=oe,z=x);else if(X<G&&0>c(ae,oe))H[z]=ae,H[X]=oe,z=X;else break e}}return te}function c(H,te){var oe=H.sortIndex-te.sortIndex;return oe!==0?oe:H.id-te.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;r.unstable_now=function(){return f.now()}}else{var l=Date,m=l.now();r.unstable_now=function(){return l.now()-m}}var p=[],d=[],b=1,h=null,g=3,S=!1,y=!1,D=!1,O=!1,A=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function T(H){for(var te=i(d);te!==null;){if(te.callback===null)u(d);else if(te.startTime<=H)u(d),te.sortIndex=te.expirationTime,a(p,te);else break;te=i(d)}}function _(H){if(D=!1,T(H),!y)if(i(p)!==null)y=!0,L||(L=!0,ne());else{var te=i(d);te!==null&&ge(_,te.startTime-H)}}var L=!1,R=-1,F=5,Z=-1;function ee(){return O?!0:!(r.unstable_now()-Z<F)}function Y(){if(O=!1,L){var H=r.unstable_now();Z=H;var te=!0;try{e:{y=!1,D&&(D=!1,C(R),R=-1),S=!0;var oe=g;try{t:{for(T(H),h=i(p);h!==null&&!(h.expirationTime>H&&ee());){var z=h.callback;if(typeof z=="function"){h.callback=null,g=h.priorityLevel;var G=z(h.expirationTime<=H);if(H=r.unstable_now(),typeof G=="function"){h.callback=G,T(H),te=!0;break t}h===i(p)&&u(p),T(H)}else u(p);h=i(p)}if(h!==null)te=!0;else{var P=i(d);P!==null&&ge(_,P.startTime-H),te=!1}}break e}finally{h=null,g=oe,S=!1}te=void 0}}finally{te?ne():L=!1}}}var ne;if(typeof k=="function")ne=function(){k(Y)};else if(typeof MessageChannel<"u"){var K=new MessageChannel,fe=K.port2;K.port1.onmessage=Y,ne=function(){fe.postMessage(null)}}else ne=function(){A(Y,0)};function ge(H,te){R=A(function(){H(r.unstable_now())},te)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(H){H.callback=null},r.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<H?Math.floor(1e3/H):5},r.unstable_getCurrentPriorityLevel=function(){return g},r.unstable_next=function(H){switch(g){case 1:case 2:case 3:var te=3;break;default:te=g}var oe=g;g=te;try{return H()}finally{g=oe}},r.unstable_requestPaint=function(){O=!0},r.unstable_runWithPriority=function(H,te){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var oe=g;g=H;try{return te()}finally{g=oe}},r.unstable_scheduleCallback=function(H,te,oe){var z=r.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?z+oe:z):oe=z,H){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=oe+G,H={id:b++,callback:te,priorityLevel:H,startTime:oe,expirationTime:G,sortIndex:-1},oe>z?(H.sortIndex=oe,a(d,H),i(p)===null&&H===i(d)&&(D?(C(R),R=-1):D=!0,ge(_,oe-z))):(H.sortIndex=G,a(p,H),y||S||(y=!0,L||(L=!0,ne()))),H},r.unstable_shouldYield=ee,r.unstable_wrapCallback=function(H){var te=g;return function(){var oe=g;g=te;try{return H.apply(this,arguments)}finally{g=oe}}}})($d)),$d}var Qh;function ZO(){return Qh||(Qh=1,Xd.exports=KO()),Xd.exports}var Qd={exports:{}},Tt={};var Jh;function XO(){if(Jh)return Tt;Jh=1;var r=Pe();function a(p){var d="https://react.dev/errors/"+p;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)d+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+p+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var u={d:{f:i,r:function(){throw Error(a(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(p,d,b){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:h==null?null:""+h,children:p,containerInfo:d,implementation:b}}var l=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(p,d){if(p==="font")return"";if(typeof d=="string")return d==="use-credentials"?d:""}return Tt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,Tt.createPortal=function(p,d){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(a(299));return f(p,d,null,b)},Tt.flushSync=function(p){var d=l.T,b=u.p;try{if(l.T=null,u.p=2,p)return p()}finally{l.T=d,u.p=b,u.d.f()}},Tt.preconnect=function(p,d){typeof p=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,u.d.C(p,d))},Tt.prefetchDNS=function(p){typeof p=="string"&&u.d.D(p)},Tt.preinit=function(p,d){if(typeof p=="string"&&d&&typeof d.as=="string"){var b=d.as,h=m(b,d.crossOrigin),g=typeof d.integrity=="string"?d.integrity:void 0,S=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;b==="style"?u.d.S(p,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:h,integrity:g,fetchPriority:S}):b==="script"&&u.d.X(p,{crossOrigin:h,integrity:g,fetchPriority:S,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},Tt.preinitModule=function(p,d){if(typeof p=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var b=m(d.as,d.crossOrigin);u.d.M(p,{crossOrigin:b,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&u.d.M(p)},Tt.preload=function(p,d){if(typeof p=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var b=d.as,h=m(b,d.crossOrigin);u.d.L(p,b,{crossOrigin:h,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},Tt.preloadModule=function(p,d){if(typeof p=="string")if(d){var b=m(d.as,d.crossOrigin);u.d.m(p,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:b,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else u.d.m(p)},Tt.requestFormReset=function(p){u.d.r(p)},Tt.unstable_batchedUpdates=function(p,d){return p(d)},Tt.useFormState=function(p,d,b){return l.H.useFormState(p,d,b)},Tt.useFormStatus=function(){return l.H.useHostTransitionStatus()},Tt.version="19.2.0",Tt}var em;function n0(){if(em)return Qd.exports;em=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(a){console.error(a)}}return r(),Qd.exports=XO(),Qd.exports}var tm;function $O(){if(tm)return Qi;tm=1;var r=ZO(),a=Pe(),i=n0();function u(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function l(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function m(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(f(e)!==e)throw Error(u(188))}function d(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(u(188));return t!==e?null:e}for(var n=e,o=t;;){var s=n.return;if(s===null)break;var v=s.alternate;if(v===null){if(o=s.return,o!==null){n=o;continue}break}if(s.child===v.child){for(v=s.child;v;){if(v===n)return p(s),e;if(v===o)return p(s),t;v=v.sibling}throw Error(u(188))}if(n.return!==o.return)n=s,o=v;else{for(var E=!1,M=s.child;M;){if(M===n){E=!0,n=s,o=v;break}if(M===o){E=!0,o=s,n=v;break}M=M.sibling}if(!E){for(M=v.child;M;){if(M===n){E=!0,n=v,o=s;break}if(M===o){E=!0,o=v,n=s;break}M=M.sibling}if(!E)throw Error(u(189))}}if(n.alternate!==o)throw Error(u(190))}if(n.tag!==3)throw Error(u(188));return n.stateNode.current===n?e:t}function b(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=b(e),t!==null)return t;e=e.sibling}return null}var h=Object.assign,g=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),C=Symbol.for("react.consumer"),k=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),ee=Symbol.for("react.memo_cache_sentinel"),Y=Symbol.iterator;function ne(e){return e===null||typeof e!="object"?null:(e=Y&&e[Y]||e["@@iterator"],typeof e=="function"?e:null)}var K=Symbol.for("react.client.reference");function fe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===K?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case D:return"Fragment";case A:return"Profiler";case O:return"StrictMode";case _:return"Suspense";case L:return"SuspenseList";case Z:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case y:return"Portal";case k:return e.displayName||"Context";case C:return(e._context.displayName||"Context")+".Consumer";case T:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case R:return t=e.displayName||null,t!==null?t:fe(e.type)||"Memo";case F:t=e._payload,e=e._init;try{return fe(e(t))}catch{}}return null}var ge=Array.isArray,H=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},z=[],G=-1;function P(e){return{current:e}}function x(e){0>G||(e.current=z[G],z[G]=null,G--)}function w(e,t){G++,z[G]=e.current,e.current=t}var X=P(null),ae=P(null),le=P(null),ie=P(null);function ve(e,t){switch(w(le,t),w(ae,e),w(X,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?hh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=hh(t),e=mh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}x(X),w(X,e)}function ce(){x(X),x(ae),x(le)}function Me(e){e.memoizedState!==null&&w(ie,e);var t=X.current,n=mh(t,e.type);t!==n&&(w(ae,e),w(X,n))}function _e(e){ae.current===e&&(x(X),x(ae)),ie.current===e&&(x(ie),Vi._currentValue=oe)}var je,pe;function De(e){if(je===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);je=t&&t[1]||"",pe=-1<n.stack.indexOf(`
2
+ at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
3
+ `+je+e+pe}var ke=!1;function Oe(e,t){if(!e||ke)return"";ke=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(t){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(V){var U=V}Reflect.construct(e,[],J)}else{try{J.call()}catch(V){U=V}e.call(J.prototype)}}else{try{throw Error()}catch(V){U=V}(J=e())&&typeof J.catch=="function"&&J.catch(function(){})}}catch(V){if(V&&U&&typeof V.stack=="string")return[V.stack,U.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=o.DetermineComponentFrameRoot(),E=v[0],M=v[1];if(E&&M){var B=E.split(`
4
+ `),q=M.split(`
5
+ `);for(s=o=0;o<B.length&&!B[o].includes("DetermineComponentFrameRoot");)o++;for(;s<q.length&&!q[s].includes("DetermineComponentFrameRoot");)s++;if(o===B.length||s===q.length)for(o=B.length-1,s=q.length-1;1<=o&&0<=s&&B[o]!==q[s];)s--;for(;1<=o&&0<=s;o--,s--)if(B[o]!==q[s]){if(o!==1||s!==1)do if(o--,s--,0>s||B[o]!==q[s]){var $=`
6
+ `+B[o].replace(" at new "," at ");return e.displayName&&$.includes("<anonymous>")&&($=$.replace("<anonymous>",e.displayName)),$}while(1<=o&&0<=s);break}}}finally{ke=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?De(n):""}function we(e,t){switch(e.tag){case 26:case 27:case 5:return De(e.type);case 16:return De("Lazy");case 13:return e.child!==t&&t!==null?De("Suspense Fallback"):De("Suspense");case 19:return De("SuspenseList");case 0:case 15:return Oe(e.type,!1);case 11:return Oe(e.type.render,!1);case 1:return Oe(e.type,!0);case 31:return De("Activity");default:return""}}function He(e){try{var t="",n=null;do t+=we(e,n),n=e,e=e.return;while(e);return t}catch(o){return`
7
+ Error generating stack: `+o.message+`
8
+ `+o.stack}}var Ie=Object.prototype.hasOwnProperty,lt=r.unstable_scheduleCallback,Mt=r.unstable_cancelCallback,vt=r.unstable_shouldYield,It=r.unstable_requestPaint,rt=r.unstable_now,ii=r.unstable_getCurrentPriorityLevel,Jn=r.unstable_ImmediatePriority,Tr=r.unstable_UserBlockingPriority,mr=r.unstable_NormalPriority,ea=r.unstable_LowPriority,ta=r.unstable_IdlePriority,ra=r.log,se=r.unstable_setDisableYieldValue,ue=null,me=null;function Qe(e){if(typeof ra=="function"&&se(e),me&&typeof me.setStrictMode=="function")try{me.setStrictMode(ue,e)}catch{}}var We=Math.clz32?Math.clz32:w5,A5=Math.log,M5=Math.LN2;function w5(e){return e>>>=0,e===0?32:31-(A5(e)/M5|0)|0}var El=256,Cl=262144,_l=4194304;function On(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Tl(e,t,n){var o=e.pendingLanes;if(o===0)return 0;var s=0,v=e.suspendedLanes,E=e.pingedLanes;e=e.warmLanes;var M=o&134217727;return M!==0?(o=M&~v,o!==0?s=On(o):(E&=M,E!==0?s=On(E):n||(n=M&~e,n!==0&&(s=On(n))))):(M=o&~v,M!==0?s=On(M):E!==0?s=On(E):n||(n=o&~e,n!==0&&(s=On(n)))),s===0?0:t!==0&&t!==s&&(t&v)===0&&(v=s&-s,n=t&-t,v>=n||v===32&&(n&4194048)!==0)?t:s}function oi(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function P5(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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}}function $0(){var e=_l;return _l<<=1,(_l&62914560)===0&&(_l=4194304),e}function Ls(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function li(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function R5(e,t,n,o,s,v){var E=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var M=e.entanglements,B=e.expirationTimes,q=e.hiddenUpdates;for(n=E&~n;0<n;){var $=31-We(n),J=1<<$;M[$]=0,B[$]=-1;var U=q[$];if(U!==null)for(q[$]=null,$=0;$<U.length;$++){var V=U[$];V!==null&&(V.lane&=-536870913)}n&=~J}o!==0&&Q0(e,o,0),v!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=v&~(E&~t))}function Q0(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-We(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|n&261930}function J0(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var o=31-We(n),s=1<<o;s&t|e[o]&t&&(e[o]|=t),n&=~s}}function ep(e,t){var n=t&-t;return n=(n&42)!==0?1:Fs(n),(n&(e.suspendedLanes|t))!==0?0:n}function Fs(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Ns(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function tp(){var e=te.p;return e!==0?e:(e=window.event,e===void 0?32:Hh(e.type))}function rp(e,t){var n=te.p;try{return te.p=e,t()}finally{te.p=n}}var Zr=Math.random().toString(36).slice(2),St="__reactFiber$"+Zr,Rt="__reactProps$"+Zr,na="__reactContainer$"+Zr,zs="__reactEvents$"+Zr,x5="__reactListeners$"+Zr,B5="__reactHandles$"+Zr,np="__reactResources$"+Zr,ui="__reactMarker$"+Zr;function js(e){delete e[St],delete e[Rt],delete e[zs],delete e[x5],delete e[B5]}function aa(e){var t=e[St];if(t)return t;for(var n=e.parentNode;n;){if(t=n[na]||n[St]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ch(e);e!==null;){if(n=e[St])return n;e=Ch(e)}return t}e=n,n=e.parentNode}return null}function ia(e){if(e=e[St]||e[na]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function si(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(u(33))}function oa(e){var t=e[np];return t||(t=e[np]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function bt(e){e[ui]=!0}var ap=new Set,ip={};function En(e,t){la(e,t),la(e+"Capture",t)}function la(e,t){for(ip[e]=t,e=0;e<t.length;e++)ap.add(t[e])}var L5=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]*$"),op={},lp={};function F5(e){return Ie.call(lp,e)?!0:Ie.call(op,e)?!1:L5.test(e)?lp[e]=!0:(op[e]=!0,!1)}function kl(e,t,n){if(F5(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var o=t.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function Al(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function kr(e,t,n,o){if(o===null)e.removeAttribute(n);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+o)}}function Qt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function up(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function N5(e,t,n){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var s=o.get,v=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(E){n=""+E,v.call(this,E)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return n},setValue:function(E){n=""+E},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Hs(e){if(!e._valueTracker){var t=up(e)?"checked":"value";e._valueTracker=N5(e,t,""+e[t])}}function sp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),o="";return e&&(o=up(e)?e.checked?"true":"false":e.value),e=o,e!==n?(t.setValue(e),!0):!1}function Ml(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var z5=/[\n"\\]/g;function Jt(e){return e.replace(z5,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Is(e,t,n,o,s,v,E,M){e.name="",E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?e.type=E:e.removeAttribute("type"),t!=null?E==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Qt(t)):e.value!==""+Qt(t)&&(e.value=""+Qt(t)):E!=="submit"&&E!=="reset"||e.removeAttribute("value"),t!=null?qs(e,E,Qt(t)):n!=null?qs(e,E,Qt(n)):o!=null&&e.removeAttribute("value"),s==null&&v!=null&&(e.defaultChecked=!!v),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"?e.name=""+Qt(M):e.removeAttribute("name")}function cp(e,t,n,o,s,v,E,M){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(e.type=v),t!=null||n!=null){if(!(v!=="submit"&&v!=="reset"||t!=null)){Hs(e);return}n=n!=null?""+Qt(n):"",t=t!=null?""+Qt(t):n,M||t===e.value||(e.value=t),e.defaultValue=t}o=o??s,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=M?e.checked:!!o,e.defaultChecked=!!o,E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(e.name=E),Hs(e)}function qs(e,t,n){t==="number"&&Ml(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function ua(e,t,n,o){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&o&&(e[n].defaultSelected=!0)}else{for(n=""+Qt(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,o&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function dp(e,t,n){if(t!=null&&(t=""+Qt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Qt(n):""}function fp(e,t,n,o){if(t==null){if(o!=null){if(n!=null)throw Error(u(92));if(ge(o)){if(1<o.length)throw Error(u(93));o=o[0]}n=o}n==null&&(n=""),t=n}n=Qt(t),e.defaultValue=n,o=e.textContent,o===n&&o!==""&&o!==null&&(e.value=o),Hs(e)}function sa(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var j5=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 pp(e,t,n){var o=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,n):typeof n!="number"||n===0||j5.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function gp(e,t,n){if(t!=null&&typeof t!="object")throw Error(u(62));if(e=e.style,n!=null){for(var o in n)!n.hasOwnProperty(o)||t!=null&&t.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var s in t)o=t[s],t.hasOwnProperty(s)&&n[s]!==o&&pp(e,s,o)}else for(var v in t)t.hasOwnProperty(v)&&pp(e,v,t[v])}function Us(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var H5=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"]]),I5=/^[\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 wl(e){return I5.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ar(){}var Ws=null;function Gs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ca=null,da=null;function vp(e){var t=ia(e);if(t&&(e=t.stateNode)){var n=e[Rt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Is(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Jt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var s=o[Rt]||null;if(!s)throw Error(u(90));Is(o,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<n.length;t++)o=n[t],o.form===e.form&&sp(o)}break e;case"textarea":dp(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&ua(e,!!n.multiple,t,!1)}}}var Ys=!1;function hp(e,t,n){if(Ys)return e(t,n);Ys=!0;try{var o=e(t);return o}finally{if(Ys=!1,(ca!==null||da!==null)&&(mu(),ca&&(t=ca,e=da,da=ca=null,vp(t),e)))for(t=0;t<e.length;t++)vp(e[t])}}function ci(e,t){var n=e.stateNode;if(n===null)return null;var o=n[Rt]||null;if(o===null)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(u(231,t,typeof n));return n}var Mr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Vs=!1;if(Mr)try{var di={};Object.defineProperty(di,"passive",{get:function(){Vs=!0}}),window.addEventListener("test",di,di),window.removeEventListener("test",di,di)}catch{Vs=!1}var Xr=null,Ks=null,Pl=null;function mp(){if(Pl)return Pl;var e,t=Ks,n=t.length,o,s="value"in Xr?Xr.value:Xr.textContent,v=s.length;for(e=0;e<n&&t[e]===s[e];e++);var E=n-e;for(o=1;o<=E&&t[n-o]===s[v-o];o++);return Pl=s.slice(e,1<o?1-o:void 0)}function Rl(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function xl(){return!0}function bp(){return!1}function xt(e){function t(n,o,s,v,E){this._reactName=n,this._targetInst=s,this.type=o,this.nativeEvent=v,this.target=E,this.currentTarget=null;for(var M in e)e.hasOwnProperty(M)&&(n=e[M],this[M]=n?n(v):v[M]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?xl:bp,this.isPropagationStopped=bp,this}return h(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=xl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=xl)},persist:function(){},isPersistent:xl}),t}var Cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bl=xt(Cn),fi=h({},Cn,{view:0,detail:0}),q5=xt(fi),Zs,Xs,pi,Ll=h({},fi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qs,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==pi&&(pi&&e.type==="mousemove"?(Zs=e.screenX-pi.screenX,Xs=e.screenY-pi.screenY):Xs=Zs=0,pi=e),Zs)},movementY:function(e){return"movementY"in e?e.movementY:Xs}}),yp=xt(Ll),U5=h({},Ll,{dataTransfer:0}),W5=xt(U5),G5=h({},fi,{relatedTarget:0}),$s=xt(G5),Y5=h({},Cn,{animationName:0,elapsedTime:0,pseudoElement:0}),V5=xt(Y5),K5=h({},Cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Z5=xt(K5),X5=h({},Cn,{data:0}),Sp=xt(X5),$5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Q5={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"},J5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function eD(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=J5[e])?!!t[e]:!1}function Qs(){return eD}var tD=h({},fi,{key:function(e){if(e.key){var t=$5[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Rl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Q5[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qs,charCode:function(e){return e.type==="keypress"?Rl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Rl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),rD=xt(tD),nD=h({},Ll,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Dp=xt(nD),aD=h({},fi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qs}),iD=xt(aD),oD=h({},Cn,{propertyName:0,elapsedTime:0,pseudoElement:0}),lD=xt(oD),uD=h({},Ll,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),sD=xt(uD),cD=h({},Cn,{newState:0,oldState:0}),dD=xt(cD),fD=[9,13,27,32],Js=Mr&&"CompositionEvent"in window,gi=null;Mr&&"documentMode"in document&&(gi=document.documentMode);var pD=Mr&&"TextEvent"in window&&!gi,Op=Mr&&(!Js||gi&&8<gi&&11>=gi),Ep=" ",Cp=!1;function _p(e,t){switch(e){case"keyup":return fD.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Tp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var fa=!1;function gD(e,t){switch(e){case"compositionend":return Tp(t);case"keypress":return t.which!==32?null:(Cp=!0,Ep);case"textInput":return e=t.data,e===Ep&&Cp?null:e;default:return null}}function vD(e,t){if(fa)return e==="compositionend"||!Js&&_p(e,t)?(e=mp(),Pl=Ks=Xr=null,fa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Op&&t.locale!=="ko"?null:t.data;default:return null}}var hD={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 kp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!hD[e.type]:t==="textarea"}function Ap(e,t,n,o){ca?da?da.push(o):da=[o]:ca=o,t=Cu(t,"onChange"),0<t.length&&(n=new Bl("onChange","change",null,n,o),e.push({event:n,listeners:t}))}var vi=null,hi=null;function mD(e){ch(e,0)}function Fl(e){var t=si(e);if(sp(t))return e}function Mp(e,t){if(e==="change")return t}var wp=!1;if(Mr){var ec;if(Mr){var tc="oninput"in document;if(!tc){var Pp=document.createElement("div");Pp.setAttribute("oninput","return;"),tc=typeof Pp.oninput=="function"}ec=tc}else ec=!1;wp=ec&&(!document.documentMode||9<document.documentMode)}function Rp(){vi&&(vi.detachEvent("onpropertychange",xp),hi=vi=null)}function xp(e){if(e.propertyName==="value"&&Fl(hi)){var t=[];Ap(t,hi,e,Gs(e)),hp(mD,t)}}function bD(e,t,n){e==="focusin"?(Rp(),vi=t,hi=n,vi.attachEvent("onpropertychange",xp)):e==="focusout"&&Rp()}function yD(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Fl(hi)}function SD(e,t){if(e==="click")return Fl(t)}function DD(e,t){if(e==="input"||e==="change")return Fl(t)}function OD(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var qt=typeof Object.is=="function"?Object.is:OD;function mi(e,t){if(qt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(o=0;o<n.length;o++){var s=n[o];if(!Ie.call(t,s)||!qt(e[s],t[s]))return!1}return!0}function Bp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lp(e,t){var n=Bp(e);e=0;for(var o;n;){if(n.nodeType===3){if(o=e+n.textContent.length,e<=t&&o>=t)return{node:n,offset:t-e};e=o}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Bp(n)}}function Fp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Fp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Np(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ml(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ml(e.document)}return t}function rc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var ED=Mr&&"documentMode"in document&&11>=document.documentMode,pa=null,nc=null,bi=null,ac=!1;function zp(e,t,n){var o=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ac||pa==null||pa!==Ml(o)||(o=pa,"selectionStart"in o&&rc(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),bi&&mi(bi,o)||(bi=o,o=Cu(nc,"onSelect"),0<o.length&&(t=new Bl("onSelect","select",null,t,n),e.push({event:t,listeners:o}),t.target=pa)))}function _n(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ga={animationend:_n("Animation","AnimationEnd"),animationiteration:_n("Animation","AnimationIteration"),animationstart:_n("Animation","AnimationStart"),transitionrun:_n("Transition","TransitionRun"),transitionstart:_n("Transition","TransitionStart"),transitioncancel:_n("Transition","TransitionCancel"),transitionend:_n("Transition","TransitionEnd")},ic={},jp={};Mr&&(jp=document.createElement("div").style,"AnimationEvent"in window||(delete ga.animationend.animation,delete ga.animationiteration.animation,delete ga.animationstart.animation),"TransitionEvent"in window||delete ga.transitionend.transition);function Tn(e){if(ic[e])return ic[e];if(!ga[e])return e;var t=ga[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in jp)return ic[e]=t[n];return e}var Hp=Tn("animationend"),Ip=Tn("animationiteration"),qp=Tn("animationstart"),CD=Tn("transitionrun"),_D=Tn("transitionstart"),TD=Tn("transitioncancel"),Up=Tn("transitionend"),Wp=new Map,oc="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(" ");oc.push("scrollEnd");function cr(e,t){Wp.set(e,t),En(t,[e])}var Nl=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},er=[],va=0,lc=0;function zl(){for(var e=va,t=lc=va=0;t<e;){var n=er[t];er[t++]=null;var o=er[t];er[t++]=null;var s=er[t];er[t++]=null;var v=er[t];if(er[t++]=null,o!==null&&s!==null){var E=o.pending;E===null?s.next=s:(s.next=E.next,E.next=s),o.pending=s}v!==0&&Gp(n,s,v)}}function jl(e,t,n,o){er[va++]=e,er[va++]=t,er[va++]=n,er[va++]=o,lc|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function uc(e,t,n,o){return jl(e,t,n,o),Hl(e)}function kn(e,t){return jl(e,null,null,t),Hl(e)}function Gp(e,t,n){e.lanes|=n;var o=e.alternate;o!==null&&(o.lanes|=n);for(var s=!1,v=e.return;v!==null;)v.childLanes|=n,o=v.alternate,o!==null&&(o.childLanes|=n),v.tag===22&&(e=v.stateNode,e===null||e._visibility&1||(s=!0)),e=v,v=v.return;return e.tag===3?(v=e.stateNode,s&&t!==null&&(s=31-We(n),e=v.hiddenUpdates,o=e[s],o===null?e[s]=[t]:o.push(t),t.lane=n|536870912),v):null}function Hl(e){if(50<Hi)throw Hi=0,md=null,Error(u(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ha={};function kD(e,t,n,o){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ut(e,t,n,o){return new kD(e,t,n,o)}function sc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function wr(e,t){var n=e.alternate;return n===null?(n=Ut(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Yp(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Il(e,t,n,o,s,v){var E=0;if(o=e,typeof e=="function")sc(e)&&(E=1);else if(typeof e=="string")E=RO(e,n,X.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Z:return e=Ut(31,n,t,s),e.elementType=Z,e.lanes=v,e;case D:return An(n.children,s,v,t);case O:E=8,s|=24;break;case A:return e=Ut(12,n,t,s|2),e.elementType=A,e.lanes=v,e;case _:return e=Ut(13,n,t,s),e.elementType=_,e.lanes=v,e;case L:return e=Ut(19,n,t,s),e.elementType=L,e.lanes=v,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case k:E=10;break e;case C:E=9;break e;case T:E=11;break e;case R:E=14;break e;case F:E=16,o=null;break e}E=29,n=Error(u(130,e===null?"null":typeof e,"")),o=null}return t=Ut(E,n,t,s),t.elementType=e,t.type=o,t.lanes=v,t}function An(e,t,n,o){return e=Ut(7,e,o,t),e.lanes=n,e}function cc(e,t,n){return e=Ut(6,e,null,t),e.lanes=n,e}function Vp(e){var t=Ut(18,null,null,0);return t.stateNode=e,t}function dc(e,t,n){return t=Ut(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Kp=new WeakMap;function tr(e,t){if(typeof e=="object"&&e!==null){var n=Kp.get(e);return n!==void 0?n:(t={value:e,source:t,stack:He(t)},Kp.set(e,t),t)}return{value:e,source:t,stack:He(t)}}var ma=[],ba=0,ql=null,yi=0,rr=[],nr=0,$r=null,br=1,yr="";function Pr(e,t){ma[ba++]=yi,ma[ba++]=ql,ql=e,yi=t}function Zp(e,t,n){rr[nr++]=br,rr[nr++]=yr,rr[nr++]=$r,$r=e;var o=br;e=yr;var s=32-We(o)-1;o&=~(1<<s),n+=1;var v=32-We(t)+s;if(30<v){var E=s-s%5;v=(o&(1<<E)-1).toString(32),o>>=E,s-=E,br=1<<32-We(t)+s|n<<s|o,yr=v+e}else br=1<<v|n<<s|o,yr=e}function fc(e){e.return!==null&&(Pr(e,1),Zp(e,1,0))}function pc(e){for(;e===ql;)ql=ma[--ba],ma[ba]=null,yi=ma[--ba],ma[ba]=null;for(;e===$r;)$r=rr[--nr],rr[nr]=null,yr=rr[--nr],rr[nr]=null,br=rr[--nr],rr[nr]=null}function Xp(e,t){rr[nr++]=br,rr[nr++]=yr,rr[nr++]=$r,br=t.id,yr=t.overflow,$r=e}var Dt=null,Je=null,Fe=!1,Qr=null,ar=!1,gc=Error(u(519));function Jr(e){var t=Error(u(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Si(tr(t,e)),gc}function $p(e){var t=e.stateNode,n=e.type,o=e.memoizedProps;switch(t[St]=e,t[Rt]=o,n){case"dialog":xe("cancel",t),xe("close",t);break;case"iframe":case"object":case"embed":xe("load",t);break;case"video":case"audio":for(n=0;n<qi.length;n++)xe(qi[n],t);break;case"source":xe("error",t);break;case"img":case"image":case"link":xe("error",t),xe("load",t);break;case"details":xe("toggle",t);break;case"input":xe("invalid",t),cp(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":xe("invalid",t);break;case"textarea":xe("invalid",t),fp(t,o.value,o.defaultValue,o.children)}n=o.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||o.suppressHydrationWarning===!0||gh(t.textContent,n)?(o.popover!=null&&(xe("beforetoggle",t),xe("toggle",t)),o.onScroll!=null&&xe("scroll",t),o.onScrollEnd!=null&&xe("scrollend",t),o.onClick!=null&&(t.onclick=Ar),t=!0):t=!1,t||Jr(e,!0)}function Qp(e){for(Dt=e.return;Dt;)switch(Dt.tag){case 5:case 31:case 13:ar=!1;return;case 27:case 3:ar=!0;return;default:Dt=Dt.return}}function ya(e){if(e!==Dt)return!1;if(!Fe)return Qp(e),Fe=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Rd(e.type,e.memoizedProps)),n=!n),n&&Je&&Jr(e),Qp(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));Je=Eh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));Je=Eh(e)}else t===27?(t=Je,gn(e.type)?(e=Nd,Nd=null,Je=e):Je=t):Je=Dt?or(e.stateNode.nextSibling):null;return!0}function Mn(){Je=Dt=null,Fe=!1}function vc(){var e=Qr;return e!==null&&(Nt===null?Nt=e:Nt.push.apply(Nt,e),Qr=null),e}function Si(e){Qr===null?Qr=[e]:Qr.push(e)}var hc=P(null),wn=null,Rr=null;function en(e,t,n){w(hc,t._currentValue),t._currentValue=n}function xr(e){e._currentValue=hc.current,x(hc)}function mc(e,t,n){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===n)break;e=e.return}}function bc(e,t,n,o){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var v=s.dependencies;if(v!==null){var E=s.child;v=v.firstContext;e:for(;v!==null;){var M=v;v=s;for(var B=0;B<t.length;B++)if(M.context===t[B]){v.lanes|=n,M=v.alternate,M!==null&&(M.lanes|=n),mc(v.return,n,e),o||(E=null);break e}v=M.next}}else if(s.tag===18){if(E=s.return,E===null)throw Error(u(341));E.lanes|=n,v=E.alternate,v!==null&&(v.lanes|=n),mc(E,n,e),E=null}else E=s.child;if(E!==null)E.return=s;else for(E=s;E!==null;){if(E===e){E=null;break}if(s=E.sibling,s!==null){s.return=E.return,E=s;break}E=E.return}s=E}}function Sa(e,t,n,o){e=null;for(var s=t,v=!1;s!==null;){if(!v){if((s.flags&524288)!==0)v=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var E=s.alternate;if(E===null)throw Error(u(387));if(E=E.memoizedProps,E!==null){var M=s.type;qt(s.pendingProps.value,E.value)||(e!==null?e.push(M):e=[M])}}else if(s===ie.current){if(E=s.alternate,E===null)throw Error(u(387));E.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(Vi):e=[Vi])}s=s.return}e!==null&&bc(t,e,n,o),t.flags|=262144}function Ul(e){for(e=e.firstContext;e!==null;){if(!qt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Pn(e){wn=e,Rr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ot(e){return Jp(wn,e)}function Wl(e,t){return wn===null&&Pn(e),Jp(e,t)}function Jp(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Rr===null){if(e===null)throw Error(u(308));Rr=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Rr=Rr.next=t;return n}var AD=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},MD=r.unstable_scheduleCallback,wD=r.unstable_NormalPriority,dt={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function yc(){return{controller:new AD,data:new Map,refCount:0}}function Di(e){e.refCount--,e.refCount===0&&MD(wD,function(){e.controller.abort()})}var Oi=null,Sc=0,Da=0,Oa=null;function PD(e,t){if(Oi===null){var n=Oi=[];Sc=0,Da=Ed(),Oa={status:"pending",value:void 0,then:function(o){n.push(o)}}}return Sc++,t.then(eg,eg),t}function eg(){if(--Sc===0&&Oi!==null){Oa!==null&&(Oa.status="fulfilled");var e=Oi;Oi=null,Da=0,Oa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function RD(e,t){var n=[],o={status:"pending",value:null,reason:null,then:function(s){n.push(s)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var s=0;s<n.length;s++)(0,n[s])(t)},function(s){for(o.status="rejected",o.reason=s,s=0;s<n.length;s++)(0,n[s])(void 0)}),o}var tg=H.S;H.S=function(e,t){zv=rt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&PD(e,t),tg!==null&&tg(e,t)};var Rn=P(null);function Dc(){var e=Rn.current;return e!==null?e:$e.pooledCache}function Gl(e,t){t===null?w(Rn,Rn.current):w(Rn,t.pool)}function rg(){var e=Dc();return e===null?null:{parent:dt._currentValue,pool:e}}var Ea=Error(u(460)),Oc=Error(u(474)),Yl=Error(u(542)),Vl={then:function(){}};function ng(e){return e=e.status,e==="fulfilled"||e==="rejected"}function ag(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Ar,Ar),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,og(e),e;default:if(typeof t.status=="string")t.then(Ar,Ar);else{if(e=$e,e!==null&&100<e.shellSuspendCounter)throw Error(u(482));e=t,e.status="pending",e.then(function(o){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=o}},function(o){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=o}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,og(e),e}throw Bn=t,Ea}}function xn(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Bn=n,Ea):n}}var Bn=null;function ig(){if(Bn===null)throw Error(u(459));var e=Bn;return Bn=null,e}function og(e){if(e===Ea||e===Yl)throw Error(u(483))}var Ca=null,Ei=0;function Kl(e){var t=Ei;return Ei+=1,Ca===null&&(Ca=[]),ag(Ca,e,t)}function Ci(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Zl(e,t){throw t.$$typeof===g?Error(u(525)):(e=Object.prototype.toString.call(t),Error(u(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function lg(e){function t(j,N){if(e){var I=j.deletions;I===null?(j.deletions=[N],j.flags|=16):I.push(N)}}function n(j,N){if(!e)return null;for(;N!==null;)t(j,N),N=N.sibling;return null}function o(j){for(var N=new Map;j!==null;)j.key!==null?N.set(j.key,j):N.set(j.index,j),j=j.sibling;return N}function s(j,N){return j=wr(j,N),j.index=0,j.sibling=null,j}function v(j,N,I){return j.index=I,e?(I=j.alternate,I!==null?(I=I.index,I<N?(j.flags|=67108866,N):I):(j.flags|=67108866,N)):(j.flags|=1048576,N)}function E(j){return e&&j.alternate===null&&(j.flags|=67108866),j}function M(j,N,I,Q){return N===null||N.tag!==6?(N=cc(I,j.mode,Q),N.return=j,N):(N=s(N,I),N.return=j,N)}function B(j,N,I,Q){var be=I.type;return be===D?$(j,N,I.props.children,Q,I.key):N!==null&&(N.elementType===be||typeof be=="object"&&be!==null&&be.$$typeof===F&&xn(be)===N.type)?(N=s(N,I.props),Ci(N,I),N.return=j,N):(N=Il(I.type,I.key,I.props,null,j.mode,Q),Ci(N,I),N.return=j,N)}function q(j,N,I,Q){return N===null||N.tag!==4||N.stateNode.containerInfo!==I.containerInfo||N.stateNode.implementation!==I.implementation?(N=dc(I,j.mode,Q),N.return=j,N):(N=s(N,I.children||[]),N.return=j,N)}function $(j,N,I,Q,be){return N===null||N.tag!==7?(N=An(I,j.mode,Q,be),N.return=j,N):(N=s(N,I),N.return=j,N)}function J(j,N,I){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return N=cc(""+N,j.mode,I),N.return=j,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case S:return I=Il(N.type,N.key,N.props,null,j.mode,I),Ci(I,N),I.return=j,I;case y:return N=dc(N,j.mode,I),N.return=j,N;case F:return N=xn(N),J(j,N,I)}if(ge(N)||ne(N))return N=An(N,j.mode,I,null),N.return=j,N;if(typeof N.then=="function")return J(j,Kl(N),I);if(N.$$typeof===k)return J(j,Wl(j,N),I);Zl(j,N)}return null}function U(j,N,I,Q){var be=N!==null?N.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return be!==null?null:M(j,N,""+I,Q);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case S:return I.key===be?B(j,N,I,Q):null;case y:return I.key===be?q(j,N,I,Q):null;case F:return I=xn(I),U(j,N,I,Q)}if(ge(I)||ne(I))return be!==null?null:$(j,N,I,Q,null);if(typeof I.then=="function")return U(j,N,Kl(I),Q);if(I.$$typeof===k)return U(j,N,Wl(j,I),Q);Zl(j,I)}return null}function V(j,N,I,Q,be){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return j=j.get(I)||null,M(N,j,""+Q,be);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case S:return j=j.get(Q.key===null?I:Q.key)||null,B(N,j,Q,be);case y:return j=j.get(Q.key===null?I:Q.key)||null,q(N,j,Q,be);case F:return Q=xn(Q),V(j,N,I,Q,be)}if(ge(Q)||ne(Q))return j=j.get(I)||null,$(N,j,Q,be,null);if(typeof Q.then=="function")return V(j,N,I,Kl(Q),be);if(Q.$$typeof===k)return V(j,N,I,Wl(N,Q),be);Zl(N,Q)}return null}function de(j,N,I,Q){for(var be=null,Ne=null,he=N,Ae=N=0,Le=null;he!==null&&Ae<I.length;Ae++){he.index>Ae?(Le=he,he=null):Le=he.sibling;var ze=U(j,he,I[Ae],Q);if(ze===null){he===null&&(he=Le);break}e&&he&&ze.alternate===null&&t(j,he),N=v(ze,N,Ae),Ne===null?be=ze:Ne.sibling=ze,Ne=ze,he=Le}if(Ae===I.length)return n(j,he),Fe&&Pr(j,Ae),be;if(he===null){for(;Ae<I.length;Ae++)he=J(j,I[Ae],Q),he!==null&&(N=v(he,N,Ae),Ne===null?be=he:Ne.sibling=he,Ne=he);return Fe&&Pr(j,Ae),be}for(he=o(he);Ae<I.length;Ae++)Le=V(he,j,Ae,I[Ae],Q),Le!==null&&(e&&Le.alternate!==null&&he.delete(Le.key===null?Ae:Le.key),N=v(Le,N,Ae),Ne===null?be=Le:Ne.sibling=Le,Ne=Le);return e&&he.forEach(function(yn){return t(j,yn)}),Fe&&Pr(j,Ae),be}function Se(j,N,I,Q){if(I==null)throw Error(u(151));for(var be=null,Ne=null,he=N,Ae=N=0,Le=null,ze=I.next();he!==null&&!ze.done;Ae++,ze=I.next()){he.index>Ae?(Le=he,he=null):Le=he.sibling;var yn=U(j,he,ze.value,Q);if(yn===null){he===null&&(he=Le);break}e&&he&&yn.alternate===null&&t(j,he),N=v(yn,N,Ae),Ne===null?be=yn:Ne.sibling=yn,Ne=yn,he=Le}if(ze.done)return n(j,he),Fe&&Pr(j,Ae),be;if(he===null){for(;!ze.done;Ae++,ze=I.next())ze=J(j,ze.value,Q),ze!==null&&(N=v(ze,N,Ae),Ne===null?be=ze:Ne.sibling=ze,Ne=ze);return Fe&&Pr(j,Ae),be}for(he=o(he);!ze.done;Ae++,ze=I.next())ze=V(he,j,Ae,ze.value,Q),ze!==null&&(e&&ze.alternate!==null&&he.delete(ze.key===null?Ae:ze.key),N=v(ze,N,Ae),Ne===null?be=ze:Ne.sibling=ze,Ne=ze);return e&&he.forEach(function(UO){return t(j,UO)}),Fe&&Pr(j,Ae),be}function Ze(j,N,I,Q){if(typeof I=="object"&&I!==null&&I.type===D&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case S:e:{for(var be=I.key;N!==null;){if(N.key===be){if(be=I.type,be===D){if(N.tag===7){n(j,N.sibling),Q=s(N,I.props.children),Q.return=j,j=Q;break e}}else if(N.elementType===be||typeof be=="object"&&be!==null&&be.$$typeof===F&&xn(be)===N.type){n(j,N.sibling),Q=s(N,I.props),Ci(Q,I),Q.return=j,j=Q;break e}n(j,N);break}else t(j,N);N=N.sibling}I.type===D?(Q=An(I.props.children,j.mode,Q,I.key),Q.return=j,j=Q):(Q=Il(I.type,I.key,I.props,null,j.mode,Q),Ci(Q,I),Q.return=j,j=Q)}return E(j);case y:e:{for(be=I.key;N!==null;){if(N.key===be)if(N.tag===4&&N.stateNode.containerInfo===I.containerInfo&&N.stateNode.implementation===I.implementation){n(j,N.sibling),Q=s(N,I.children||[]),Q.return=j,j=Q;break e}else{n(j,N);break}else t(j,N);N=N.sibling}Q=dc(I,j.mode,Q),Q.return=j,j=Q}return E(j);case F:return I=xn(I),Ze(j,N,I,Q)}if(ge(I))return de(j,N,I,Q);if(ne(I)){if(be=ne(I),typeof be!="function")throw Error(u(150));return I=be.call(I),Se(j,N,I,Q)}if(typeof I.then=="function")return Ze(j,N,Kl(I),Q);if(I.$$typeof===k)return Ze(j,N,Wl(j,I),Q);Zl(j,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(I=""+I,N!==null&&N.tag===6?(n(j,N.sibling),Q=s(N,I),Q.return=j,j=Q):(n(j,N),Q=cc(I,j.mode,Q),Q.return=j,j=Q),E(j)):n(j,N)}return function(j,N,I,Q){try{Ei=0;var be=Ze(j,N,I,Q);return Ca=null,be}catch(he){if(he===Ea||he===Yl)throw he;var Ne=Ut(29,he,null,j.mode);return Ne.lanes=Q,Ne.return=j,Ne}}}var Ln=lg(!0),ug=lg(!1),tn=!1;function Ec(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Cc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function rn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function nn(e,t,n){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(qe&2)!==0){var s=o.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),o.pending=t,t=Hl(e),Gp(e,null,n),t}return jl(e,o,t,n),Hl(e)}function _i(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,J0(e,n)}}function _c(e,t){var n=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,n===o)){var s=null,v=null;if(n=n.firstBaseUpdate,n!==null){do{var E={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};v===null?s=v=E:v=v.next=E,n=n.next}while(n!==null);v===null?s=v=t:v=v.next=t}else s=v=t;n={baseState:o.baseState,firstBaseUpdate:s,lastBaseUpdate:v,shared:o.shared,callbacks:o.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Tc=!1;function Ti(){if(Tc){var e=Oa;if(e!==null)throw e}}function ki(e,t,n,o){Tc=!1;var s=e.updateQueue;tn=!1;var v=s.firstBaseUpdate,E=s.lastBaseUpdate,M=s.shared.pending;if(M!==null){s.shared.pending=null;var B=M,q=B.next;B.next=null,E===null?v=q:E.next=q,E=B;var $=e.alternate;$!==null&&($=$.updateQueue,M=$.lastBaseUpdate,M!==E&&(M===null?$.firstBaseUpdate=q:M.next=q,$.lastBaseUpdate=B))}if(v!==null){var J=s.baseState;E=0,$=q=B=null,M=v;do{var U=M.lane&-536870913,V=U!==M.lane;if(V?(Be&U)===U:(o&U)===U){U!==0&&U===Da&&(Tc=!0),$!==null&&($=$.next={lane:0,tag:M.tag,payload:M.payload,callback:null,next:null});e:{var de=e,Se=M;U=t;var Ze=n;switch(Se.tag){case 1:if(de=Se.payload,typeof de=="function"){J=de.call(Ze,J,U);break e}J=de;break e;case 3:de.flags=de.flags&-65537|128;case 0:if(de=Se.payload,U=typeof de=="function"?de.call(Ze,J,U):de,U==null)break e;J=h({},J,U);break e;case 2:tn=!0}}U=M.callback,U!==null&&(e.flags|=64,V&&(e.flags|=8192),V=s.callbacks,V===null?s.callbacks=[U]:V.push(U))}else V={lane:U,tag:M.tag,payload:M.payload,callback:M.callback,next:null},$===null?(q=$=V,B=J):$=$.next=V,E|=U;if(M=M.next,M===null){if(M=s.shared.pending,M===null)break;V=M,M=V.next,V.next=null,s.lastBaseUpdate=V,s.shared.pending=null}}while(!0);$===null&&(B=J),s.baseState=B,s.firstBaseUpdate=q,s.lastBaseUpdate=$,v===null&&(s.shared.lanes=0),sn|=E,e.lanes=E,e.memoizedState=J}}function sg(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function cg(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)sg(n[e],t)}var _a=P(null),Xl=P(0);function dg(e,t){e=qr,w(Xl,e),w(_a,t),qr=e|t.baseLanes}function kc(){w(Xl,qr),w(_a,_a.current)}function Ac(){qr=Xl.current,x(_a),x(Xl)}var Wt=P(null),ir=null;function an(e){var t=e.alternate;w(ut,ut.current&1),w(Wt,e),ir===null&&(t===null||_a.current!==null||t.memoizedState!==null)&&(ir=e)}function Mc(e){w(ut,ut.current),w(Wt,e),ir===null&&(ir=e)}function fg(e){e.tag===22?(w(ut,ut.current),w(Wt,e),ir===null&&(ir=e)):on()}function on(){w(ut,ut.current),w(Wt,Wt.current)}function Gt(e){x(Wt),ir===e&&(ir=null),x(ut)}var ut=P(0);function $l(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Ld(n)||Fd(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Br=0,Te=null,Ve=null,ft=null,Ql=!1,Ta=!1,Fn=!1,Jl=0,Ai=0,ka=null,xD=0;function it(){throw Error(u(321))}function wc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!qt(e[n],t[n]))return!1;return!0}function Pc(e,t,n,o,s,v){return Br=v,Te=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,H.H=e===null||e.memoizedState===null?Zg:Yc,Fn=!1,v=n(o,s),Fn=!1,Ta&&(v=gg(t,n,o,s)),pg(e),v}function pg(e){H.H=Pi;var t=Ve!==null&&Ve.next!==null;if(Br=0,ft=Ve=Te=null,Ql=!1,Ai=0,ka=null,t)throw Error(u(300));e===null||pt||(e=e.dependencies,e!==null&&Ul(e)&&(pt=!0))}function gg(e,t,n,o){Te=e;var s=0;do{if(Ta&&(ka=null),Ai=0,Ta=!1,25<=s)throw Error(u(301));if(s+=1,ft=Ve=null,e.updateQueue!=null){var v=e.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}H.H=Xg,v=t(n,o)}while(Ta);return v}function BD(){var e=H.H,t=e.useState()[0];return t=typeof t.then=="function"?Mi(t):t,e=e.useState()[0],(Ve!==null?Ve.memoizedState:null)!==e&&(Te.flags|=1024),t}function Rc(){var e=Jl!==0;return Jl=0,e}function xc(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Bc(e){if(Ql){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Ql=!1}Br=0,ft=Ve=Te=null,Ta=!1,Ai=Jl=0,ka=null}function wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ft===null?Te.memoizedState=ft=e:ft=ft.next=e,ft}function st(){if(Ve===null){var e=Te.alternate;e=e!==null?e.memoizedState:null}else e=Ve.next;var t=ft===null?Te.memoizedState:ft.next;if(t!==null)ft=t,Ve=e;else{if(e===null)throw Te.alternate===null?Error(u(467)):Error(u(310));Ve=e,e={memoizedState:Ve.memoizedState,baseState:Ve.baseState,baseQueue:Ve.baseQueue,queue:Ve.queue,next:null},ft===null?Te.memoizedState=ft=e:ft=ft.next=e}return ft}function eu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Mi(e){var t=Ai;return Ai+=1,ka===null&&(ka=[]),e=ag(ka,e,t),t=Te,(ft===null?t.memoizedState:ft.next)===null&&(t=t.alternate,H.H=t===null||t.memoizedState===null?Zg:Yc),e}function tu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Mi(e);if(e.$$typeof===k)return Ot(e)}throw Error(u(438,String(e)))}function Lc(e){var t=null,n=Te.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var o=Te.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=eu(),Te.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),o=0;o<e;o++)n[o]=ee;return t.index++,n}function Lr(e,t){return typeof t=="function"?t(e):t}function ru(e){var t=st();return Fc(t,Ve,e)}function Fc(e,t,n){var o=e.queue;if(o===null)throw Error(u(311));o.lastRenderedReducer=n;var s=e.baseQueue,v=o.pending;if(v!==null){if(s!==null){var E=s.next;s.next=v.next,v.next=E}t.baseQueue=s=v,o.pending=null}if(v=e.baseState,s===null)e.memoizedState=v;else{t=s.next;var M=E=null,B=null,q=t,$=!1;do{var J=q.lane&-536870913;if(J!==q.lane?(Be&J)===J:(Br&J)===J){var U=q.revertLane;if(U===0)B!==null&&(B=B.next={lane:0,revertLane:0,gesture:null,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null}),J===Da&&($=!0);else if((Br&U)===U){q=q.next,U===Da&&($=!0);continue}else J={lane:0,revertLane:q.revertLane,gesture:null,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null},B===null?(M=B=J,E=v):B=B.next=J,Te.lanes|=U,sn|=U;J=q.action,Fn&&n(v,J),v=q.hasEagerState?q.eagerState:n(v,J)}else U={lane:J,revertLane:q.revertLane,gesture:q.gesture,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null},B===null?(M=B=U,E=v):B=B.next=U,Te.lanes|=J,sn|=J;q=q.next}while(q!==null&&q!==t);if(B===null?E=v:B.next=M,!qt(v,e.memoizedState)&&(pt=!0,$&&(n=Oa,n!==null)))throw n;e.memoizedState=v,e.baseState=E,e.baseQueue=B,o.lastRenderedState=v}return s===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Nc(e){var t=st(),n=t.queue;if(n===null)throw Error(u(311));n.lastRenderedReducer=e;var o=n.dispatch,s=n.pending,v=t.memoizedState;if(s!==null){n.pending=null;var E=s=s.next;do v=e(v,E.action),E=E.next;while(E!==s);qt(v,t.memoizedState)||(pt=!0),t.memoizedState=v,t.baseQueue===null&&(t.baseState=v),n.lastRenderedState=v}return[v,o]}function vg(e,t,n){var o=Te,s=st(),v=Fe;if(v){if(n===void 0)throw Error(u(407));n=n()}else n=t();var E=!qt((Ve||s).memoizedState,n);if(E&&(s.memoizedState=n,pt=!0),s=s.queue,Hc(bg.bind(null,o,s,e),[e]),s.getSnapshot!==t||E||ft!==null&&ft.memoizedState.tag&1){if(o.flags|=2048,Aa(9,{destroy:void 0},mg.bind(null,o,s,n,t),null),$e===null)throw Error(u(349));v||(Br&127)!==0||hg(o,t,n)}return n}function hg(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Te.updateQueue,t===null?(t=eu(),Te.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function mg(e,t,n,o){t.value=n,t.getSnapshot=o,yg(t)&&Sg(e)}function bg(e,t,n){return n(function(){yg(t)&&Sg(e)})}function yg(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!qt(e,n)}catch{return!0}}function Sg(e){var t=kn(e,2);t!==null&&zt(t,e,2)}function zc(e){var t=wt();if(typeof e=="function"){var n=e;if(e=n(),Fn){Qe(!0);try{n()}finally{Qe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lr,lastRenderedState:e},t}function Dg(e,t,n,o){return e.baseState=n,Fc(e,Ve,typeof o=="function"?o:Lr)}function LD(e,t,n,o,s){if(iu(e))throw Error(u(485));if(e=t.action,e!==null){var v={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(E){v.listeners.push(E)}};H.T!==null?n(!0):v.isTransition=!1,o(v),n=t.pending,n===null?(v.next=t.pending=v,Og(t,v)):(v.next=n.next,t.pending=n.next=v)}}function Og(e,t){var n=t.action,o=t.payload,s=e.state;if(t.isTransition){var v=H.T,E={};H.T=E;try{var M=n(s,o),B=H.S;B!==null&&B(E,M),Eg(e,t,M)}catch(q){jc(e,t,q)}finally{v!==null&&E.types!==null&&(v.types=E.types),H.T=v}}else try{v=n(s,o),Eg(e,t,v)}catch(q){jc(e,t,q)}}function Eg(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(o){Cg(e,t,o)},function(o){return jc(e,t,o)}):Cg(e,t,n)}function Cg(e,t,n){t.status="fulfilled",t.value=n,_g(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Og(e,n)))}function jc(e,t,n){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=n,_g(t),t=t.next;while(t!==o)}e.action=null}function _g(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Tg(e,t){return t}function kg(e,t){if(Fe){var n=$e.formState;if(n!==null){e:{var o=Te;if(Fe){if(Je){t:{for(var s=Je,v=ar;s.nodeType!==8;){if(!v){s=null;break t}if(s=or(s.nextSibling),s===null){s=null;break t}}v=s.data,s=v==="F!"||v==="F"?s:null}if(s){Je=or(s.nextSibling),o=s.data==="F!";break e}}Jr(o)}o=!1}o&&(t=n[0])}}return n=wt(),n.memoizedState=n.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tg,lastRenderedState:t},n.queue=o,n=Yg.bind(null,Te,o),o.dispatch=n,o=zc(!1),v=Gc.bind(null,Te,!1,o.queue),o=wt(),s={state:t,dispatch:null,action:e,pending:null},o.queue=s,n=LD.bind(null,Te,s,v,n),s.dispatch=n,o.memoizedState=e,[t,n,!1]}function Ag(e){var t=st();return Mg(t,Ve,e)}function Mg(e,t,n){if(t=Fc(e,t,Tg)[0],e=ru(Lr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=Mi(t)}catch(E){throw E===Ea?Yl:E}else o=t;t=st();var s=t.queue,v=s.dispatch;return n!==t.memoizedState&&(Te.flags|=2048,Aa(9,{destroy:void 0},FD.bind(null,s,n),null)),[o,v,e]}function FD(e,t){e.action=t}function wg(e){var t=st(),n=Ve;if(n!==null)return Mg(t,n,e);st(),t=t.memoizedState,n=st();var o=n.queue.dispatch;return n.memoizedState=e,[t,o,!1]}function Aa(e,t,n,o){return e={tag:e,create:n,deps:o,inst:t,next:null},t=Te.updateQueue,t===null&&(t=eu(),Te.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(o=n.next,n.next=e,e.next=o,t.lastEffect=e),e}function Pg(){return st().memoizedState}function nu(e,t,n,o){var s=wt();Te.flags|=e,s.memoizedState=Aa(1|t,{destroy:void 0},n,o===void 0?null:o)}function au(e,t,n,o){var s=st();o=o===void 0?null:o;var v=s.memoizedState.inst;Ve!==null&&o!==null&&wc(o,Ve.memoizedState.deps)?s.memoizedState=Aa(t,v,n,o):(Te.flags|=e,s.memoizedState=Aa(1|t,v,n,o))}function Rg(e,t){nu(8390656,8,e,t)}function Hc(e,t){au(2048,8,e,t)}function ND(e){Te.flags|=4;var t=Te.updateQueue;if(t===null)t=eu(),Te.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function xg(e){var t=st().memoizedState;return ND({ref:t,nextImpl:e}),function(){if((qe&2)!==0)throw Error(u(440));return t.impl.apply(void 0,arguments)}}function Bg(e,t){return au(4,2,e,t)}function Lg(e,t){return au(4,4,e,t)}function Fg(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ng(e,t,n){n=n!=null?n.concat([e]):null,au(4,4,Fg.bind(null,t,e),n)}function Ic(){}function zg(e,t){var n=st();t=t===void 0?null:t;var o=n.memoizedState;return t!==null&&wc(t,o[1])?o[0]:(n.memoizedState=[e,t],e)}function jg(e,t){var n=st();t=t===void 0?null:t;var o=n.memoizedState;if(t!==null&&wc(t,o[1]))return o[0];if(o=e(),Fn){Qe(!0);try{e()}finally{Qe(!1)}}return n.memoizedState=[o,t],o}function qc(e,t,n){return n===void 0||(Br&1073741824)!==0&&(Be&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=Hv(),Te.lanes|=e,sn|=e,n)}function Hg(e,t,n,o){return qt(n,t)?n:_a.current!==null?(e=qc(e,n,o),qt(e,t)||(pt=!0),e):(Br&42)===0||(Br&1073741824)!==0&&(Be&261930)===0?(pt=!0,e.memoizedState=n):(e=Hv(),Te.lanes|=e,sn|=e,t)}function Ig(e,t,n,o,s){var v=te.p;te.p=v!==0&&8>v?v:8;var E=H.T,M={};H.T=M,Gc(e,!1,t,n);try{var B=s(),q=H.S;if(q!==null&&q(M,B),B!==null&&typeof B=="object"&&typeof B.then=="function"){var $=RD(B,o);wi(e,t,$,Kt(e))}else wi(e,t,o,Kt(e))}catch(J){wi(e,t,{then:function(){},status:"rejected",reason:J},Kt())}finally{te.p=v,E!==null&&M.types!==null&&(E.types=M.types),H.T=E}}function zD(){}function Uc(e,t,n,o){if(e.tag!==5)throw Error(u(476));var s=qg(e).queue;Ig(e,s,t,oe,n===null?zD:function(){return Ug(e),n(o)})}function qg(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lr,lastRenderedState:oe},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lr,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ug(e){var t=qg(e);t.next===null&&(t=e.alternate.memoizedState),wi(e,t.next.queue,{},Kt())}function Wc(){return Ot(Vi)}function Wg(){return st().memoizedState}function Gg(){return st().memoizedState}function jD(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Kt();e=rn(n);var o=nn(t,e,n);o!==null&&(zt(o,t,n),_i(o,t,n)),t={cache:yc()},e.payload=t;return}t=t.return}}function HD(e,t,n){var o=Kt();n={lane:o,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},iu(e)?Vg(t,n):(n=uc(e,t,n,o),n!==null&&(zt(n,e,o),Kg(n,t,o)))}function Yg(e,t,n){var o=Kt();wi(e,t,n,o)}function wi(e,t,n,o){var s={lane:o,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(iu(e))Vg(t,s);else{var v=e.alternate;if(e.lanes===0&&(v===null||v.lanes===0)&&(v=t.lastRenderedReducer,v!==null))try{var E=t.lastRenderedState,M=v(E,n);if(s.hasEagerState=!0,s.eagerState=M,qt(M,E))return jl(e,t,s,0),$e===null&&zl(),!1}catch{}if(n=uc(e,t,s,o),n!==null)return zt(n,e,o),Kg(n,t,o),!0}return!1}function Gc(e,t,n,o){if(o={lane:2,revertLane:Ed(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},iu(e)){if(t)throw Error(u(479))}else t=uc(e,n,o,2),t!==null&&zt(t,e,2)}function iu(e){var t=e.alternate;return e===Te||t!==null&&t===Te}function Vg(e,t){Ta=Ql=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Kg(e,t,n){if((n&4194048)!==0){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,J0(e,n)}}var Pi={readContext:Ot,use:tu,useCallback:it,useContext:it,useEffect:it,useImperativeHandle:it,useLayoutEffect:it,useInsertionEffect:it,useMemo:it,useReducer:it,useRef:it,useState:it,useDebugValue:it,useDeferredValue:it,useTransition:it,useSyncExternalStore:it,useId:it,useHostTransitionStatus:it,useFormState:it,useActionState:it,useOptimistic:it,useMemoCache:it,useCacheRefresh:it};Pi.useEffectEvent=it;var Zg={readContext:Ot,use:tu,useCallback:function(e,t){return wt().memoizedState=[e,t===void 0?null:t],e},useContext:Ot,useEffect:Rg,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,nu(4194308,4,Fg.bind(null,t,e),n)},useLayoutEffect:function(e,t){return nu(4194308,4,e,t)},useInsertionEffect:function(e,t){nu(4,2,e,t)},useMemo:function(e,t){var n=wt();t=t===void 0?null:t;var o=e();if(Fn){Qe(!0);try{e()}finally{Qe(!1)}}return n.memoizedState=[o,t],o},useReducer:function(e,t,n){var o=wt();if(n!==void 0){var s=n(t);if(Fn){Qe(!0);try{n(t)}finally{Qe(!1)}}}else s=t;return o.memoizedState=o.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},o.queue=e,e=e.dispatch=HD.bind(null,Te,e),[o.memoizedState,e]},useRef:function(e){var t=wt();return e={current:e},t.memoizedState=e},useState:function(e){e=zc(e);var t=e.queue,n=Yg.bind(null,Te,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Ic,useDeferredValue:function(e,t){var n=wt();return qc(n,e,t)},useTransition:function(){var e=zc(!1);return e=Ig.bind(null,Te,e.queue,!0,!1),wt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var o=Te,s=wt();if(Fe){if(n===void 0)throw Error(u(407));n=n()}else{if(n=t(),$e===null)throw Error(u(349));(Be&127)!==0||hg(o,t,n)}s.memoizedState=n;var v={value:n,getSnapshot:t};return s.queue=v,Rg(bg.bind(null,o,v,e),[e]),o.flags|=2048,Aa(9,{destroy:void 0},mg.bind(null,o,v,n,t),null),n},useId:function(){var e=wt(),t=$e.identifierPrefix;if(Fe){var n=yr,o=br;n=(o&~(1<<32-We(o)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Jl++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=xD++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Wc,useFormState:kg,useActionState:kg,useOptimistic:function(e){var t=wt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Gc.bind(null,Te,!0,n),n.dispatch=t,[e,t]},useMemoCache:Lc,useCacheRefresh:function(){return wt().memoizedState=jD.bind(null,Te)},useEffectEvent:function(e){var t=wt(),n={impl:e};return t.memoizedState=n,function(){if((qe&2)!==0)throw Error(u(440));return n.impl.apply(void 0,arguments)}}},Yc={readContext:Ot,use:tu,useCallback:zg,useContext:Ot,useEffect:Hc,useImperativeHandle:Ng,useInsertionEffect:Bg,useLayoutEffect:Lg,useMemo:jg,useReducer:ru,useRef:Pg,useState:function(){return ru(Lr)},useDebugValue:Ic,useDeferredValue:function(e,t){var n=st();return Hg(n,Ve.memoizedState,e,t)},useTransition:function(){var e=ru(Lr)[0],t=st().memoizedState;return[typeof e=="boolean"?e:Mi(e),t]},useSyncExternalStore:vg,useId:Wg,useHostTransitionStatus:Wc,useFormState:Ag,useActionState:Ag,useOptimistic:function(e,t){var n=st();return Dg(n,Ve,e,t)},useMemoCache:Lc,useCacheRefresh:Gg};Yc.useEffectEvent=xg;var Xg={readContext:Ot,use:tu,useCallback:zg,useContext:Ot,useEffect:Hc,useImperativeHandle:Ng,useInsertionEffect:Bg,useLayoutEffect:Lg,useMemo:jg,useReducer:Nc,useRef:Pg,useState:function(){return Nc(Lr)},useDebugValue:Ic,useDeferredValue:function(e,t){var n=st();return Ve===null?qc(n,e,t):Hg(n,Ve.memoizedState,e,t)},useTransition:function(){var e=Nc(Lr)[0],t=st().memoizedState;return[typeof e=="boolean"?e:Mi(e),t]},useSyncExternalStore:vg,useId:Wg,useHostTransitionStatus:Wc,useFormState:wg,useActionState:wg,useOptimistic:function(e,t){var n=st();return Ve!==null?Dg(n,Ve,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Lc,useCacheRefresh:Gg};Xg.useEffectEvent=xg;function Vc(e,t,n,o){t=e.memoizedState,n=n(o,t),n=n==null?t:h({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Kc={enqueueSetState:function(e,t,n){e=e._reactInternals;var o=Kt(),s=rn(o);s.payload=t,n!=null&&(s.callback=n),t=nn(e,s,o),t!==null&&(zt(t,e,o),_i(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var o=Kt(),s=rn(o);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=nn(e,s,o),t!==null&&(zt(t,e,o),_i(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Kt(),o=rn(n);o.tag=2,t!=null&&(o.callback=t),t=nn(e,o,n),t!==null&&(zt(t,e,n),_i(t,e,n))}};function $g(e,t,n,o,s,v,E){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,v,E):t.prototype&&t.prototype.isPureReactComponent?!mi(n,o)||!mi(s,v):!0}function Qg(e,t,n,o){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,o),t.state!==e&&Kc.enqueueReplaceState(t,t.state,null)}function Nn(e,t){var n=t;if("ref"in t){n={};for(var o in t)o!=="ref"&&(n[o]=t[o])}if(e=e.defaultProps){n===t&&(n=h({},n));for(var s in e)n[s]===void 0&&(n[s]=e[s])}return n}function Jg(e){Nl(e)}function ev(e){console.error(e)}function tv(e){Nl(e)}function ou(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(o){setTimeout(function(){throw o})}}function rv(e,t,n){try{var o=e.onCaughtError;o(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Zc(e,t,n){return n=rn(n),n.tag=3,n.payload={element:null},n.callback=function(){ou(e,t)},n}function nv(e){return e=rn(e),e.tag=3,e}function av(e,t,n,o){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var v=o.value;e.payload=function(){return s(v)},e.callback=function(){rv(t,n,o)}}var E=n.stateNode;E!==null&&typeof E.componentDidCatch=="function"&&(e.callback=function(){rv(t,n,o),typeof s!="function"&&(cn===null?cn=new Set([this]):cn.add(this));var M=o.stack;this.componentDidCatch(o.value,{componentStack:M!==null?M:""})})}function ID(e,t,n,o,s){if(n.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=n.alternate,t!==null&&Sa(t,n,s,!0),n=Wt.current,n!==null){switch(n.tag){case 31:case 13:return ir===null?bu():n.alternate===null&&ot===0&&(ot=3),n.flags&=-257,n.flags|=65536,n.lanes=s,o===Vl?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([o]):t.add(o),Sd(e,o,s)),!1;case 22:return n.flags|=65536,o===Vl?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([o]):n.add(o)),Sd(e,o,s)),!1}throw Error(u(435,n.tag))}return Sd(e,o,s),bu(),!1}if(Fe)return t=Wt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,o!==gc&&(e=Error(u(422),{cause:o}),Si(tr(e,n)))):(o!==gc&&(t=Error(u(423),{cause:o}),Si(tr(t,n))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,o=tr(o,n),s=Zc(e.stateNode,o,s),_c(e,s),ot!==4&&(ot=2)),!1;var v=Error(u(520),{cause:o});if(v=tr(v,n),ji===null?ji=[v]:ji.push(v),ot!==4&&(ot=2),t===null)return!0;o=tr(o,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=s&-s,n.lanes|=e,e=Zc(n.stateNode,o,e),_c(n,e),!1;case 1:if(t=n.type,v=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(cn===null||!cn.has(v))))return n.flags|=65536,s&=-s,n.lanes|=s,s=nv(s),av(s,e,n,o),_c(n,s),!1}n=n.return}while(n!==null);return!1}var Xc=Error(u(461)),pt=!1;function Et(e,t,n,o){t.child=e===null?ug(t,null,n,o):Ln(t,e.child,n,o)}function iv(e,t,n,o,s){n=n.render;var v=t.ref;if("ref"in o){var E={};for(var M in o)M!=="ref"&&(E[M]=o[M])}else E=o;return Pn(t),o=Pc(e,t,n,E,v,s),M=Rc(),e!==null&&!pt?(xc(e,t,s),Fr(e,t,s)):(Fe&&M&&fc(t),t.flags|=1,Et(e,t,o,s),t.child)}function ov(e,t,n,o,s){if(e===null){var v=n.type;return typeof v=="function"&&!sc(v)&&v.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=v,lv(e,t,v,o,s)):(e=Il(n.type,null,o,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(v=e.child,!ad(e,s)){var E=v.memoizedProps;if(n=n.compare,n=n!==null?n:mi,n(E,o)&&e.ref===t.ref)return Fr(e,t,s)}return t.flags|=1,e=wr(v,o),e.ref=t.ref,e.return=t,t.child=e}function lv(e,t,n,o,s){if(e!==null){var v=e.memoizedProps;if(mi(v,o)&&e.ref===t.ref)if(pt=!1,t.pendingProps=o=v,ad(e,s))(e.flags&131072)!==0&&(pt=!0);else return t.lanes=e.lanes,Fr(e,t,s)}return $c(e,t,n,o,s)}function uv(e,t,n,o){var s=o.children,v=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((t.flags&128)!==0){if(v=v!==null?v.baseLanes|n:n,e!==null){for(o=t.child=e.child,s=0;o!==null;)s=s|o.lanes|o.childLanes,o=o.sibling;o=s&~v}else o=0,t.child=null;return sv(e,t,v,n,o)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Gl(t,v!==null?v.cachePool:null),v!==null?dg(t,v):kc(),fg(t);else return o=t.lanes=536870912,sv(e,t,v!==null?v.baseLanes|n:n,n,o)}else v!==null?(Gl(t,v.cachePool),dg(t,v),on(),t.memoizedState=null):(e!==null&&Gl(t,null),kc(),on());return Et(e,t,s,n),t.child}function Ri(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function sv(e,t,n,o,s){var v=Dc();return v=v===null?null:{parent:dt._currentValue,pool:v},t.memoizedState={baseLanes:n,cachePool:v},e!==null&&Gl(t,null),kc(),fg(t),e!==null&&Sa(e,t,o,!0),t.childLanes=s,null}function lu(e,t){return t=su({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function cv(e,t,n){return Ln(t,e.child,null,n),e=lu(t,t.pendingProps),e.flags|=2,Gt(t),t.memoizedState=null,e}function qD(e,t,n){var o=t.pendingProps,s=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Fe){if(o.mode==="hidden")return e=lu(t,o),t.lanes=536870912,Ri(null,e);if(Mc(t),(e=Je)?(e=Oh(e,ar),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:$r!==null?{id:br,overflow:yr}:null,retryLane:536870912,hydrationErrors:null},n=Vp(e),n.return=t,t.child=n,Dt=t,Je=null)):e=null,e===null)throw Jr(t);return t.lanes=536870912,null}return lu(t,o)}var v=e.memoizedState;if(v!==null){var E=v.dehydrated;if(Mc(t),s)if(t.flags&256)t.flags&=-257,t=cv(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(u(558));else if(pt||Sa(e,t,n,!1),s=(n&e.childLanes)!==0,pt||s){if(o=$e,o!==null&&(E=ep(o,n),E!==0&&E!==v.retryLane))throw v.retryLane=E,kn(e,E),zt(o,e,E),Xc;bu(),t=cv(e,t,n)}else e=v.treeContext,Je=or(E.nextSibling),Dt=t,Fe=!0,Qr=null,ar=!1,e!==null&&Xp(t,e),t=lu(t,o),t.flags|=4096;return t}return e=wr(e.child,{mode:o.mode,children:o.children}),e.ref=t.ref,t.child=e,e.return=t,e}function uu(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(u(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function $c(e,t,n,o,s){return Pn(t),n=Pc(e,t,n,o,void 0,s),o=Rc(),e!==null&&!pt?(xc(e,t,s),Fr(e,t,s)):(Fe&&o&&fc(t),t.flags|=1,Et(e,t,n,s),t.child)}function dv(e,t,n,o,s,v){return Pn(t),t.updateQueue=null,n=gg(t,o,n,s),pg(e),o=Rc(),e!==null&&!pt?(xc(e,t,v),Fr(e,t,v)):(Fe&&o&&fc(t),t.flags|=1,Et(e,t,n,v),t.child)}function fv(e,t,n,o,s){if(Pn(t),t.stateNode===null){var v=ha,E=n.contextType;typeof E=="object"&&E!==null&&(v=Ot(E)),v=new n(o,v),t.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=Kc,t.stateNode=v,v._reactInternals=t,v=t.stateNode,v.props=o,v.state=t.memoizedState,v.refs={},Ec(t),E=n.contextType,v.context=typeof E=="object"&&E!==null?Ot(E):ha,v.state=t.memoizedState,E=n.getDerivedStateFromProps,typeof E=="function"&&(Vc(t,n,E,o),v.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(E=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),E!==v.state&&Kc.enqueueReplaceState(v,v.state,null),ki(t,o,v,s),Ti(),v.state=t.memoizedState),typeof v.componentDidMount=="function"&&(t.flags|=4194308),o=!0}else if(e===null){v=t.stateNode;var M=t.memoizedProps,B=Nn(n,M);v.props=B;var q=v.context,$=n.contextType;E=ha,typeof $=="object"&&$!==null&&(E=Ot($));var J=n.getDerivedStateFromProps;$=typeof J=="function"||typeof v.getSnapshotBeforeUpdate=="function",M=t.pendingProps!==M,$||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(M||q!==E)&&Qg(t,v,o,E),tn=!1;var U=t.memoizedState;v.state=U,ki(t,o,v,s),Ti(),q=t.memoizedState,M||U!==q||tn?(typeof J=="function"&&(Vc(t,n,J,o),q=t.memoizedState),(B=tn||$g(t,n,B,o,U,q,E))?($||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"&&(t.flags|=4194308)):(typeof v.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=q),v.props=o,v.state=q,v.context=E,o=B):(typeof v.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{v=t.stateNode,Cc(e,t),E=t.memoizedProps,$=Nn(n,E),v.props=$,J=t.pendingProps,U=v.context,q=n.contextType,B=ha,typeof q=="object"&&q!==null&&(B=Ot(q)),M=n.getDerivedStateFromProps,(q=typeof M=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(E!==J||U!==B)&&Qg(t,v,o,B),tn=!1,U=t.memoizedState,v.state=U,ki(t,o,v,s),Ti();var V=t.memoizedState;E!==J||U!==V||tn||e!==null&&e.dependencies!==null&&Ul(e.dependencies)?(typeof M=="function"&&(Vc(t,n,M,o),V=t.memoizedState),($=tn||$g(t,n,$,o,U,V,B)||e!==null&&e.dependencies!==null&&Ul(e.dependencies))?(q||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(o,V,B),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(o,V,B)),typeof v.componentDidUpdate=="function"&&(t.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof v.componentDidUpdate!="function"||E===e.memoizedProps&&U===e.memoizedState||(t.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||E===e.memoizedProps&&U===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=V),v.props=o,v.state=V,v.context=B,o=$):(typeof v.componentDidUpdate!="function"||E===e.memoizedProps&&U===e.memoizedState||(t.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||E===e.memoizedProps&&U===e.memoizedState||(t.flags|=1024),o=!1)}return v=o,uu(e,t),o=(t.flags&128)!==0,v||o?(v=t.stateNode,n=o&&typeof n.getDerivedStateFromError!="function"?null:v.render(),t.flags|=1,e!==null&&o?(t.child=Ln(t,e.child,null,s),t.child=Ln(t,null,n,s)):Et(e,t,n,s),t.memoizedState=v.state,e=t.child):e=Fr(e,t,s),e}function pv(e,t,n,o){return Mn(),t.flags|=256,Et(e,t,n,o),t.child}var Qc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Jc(e){return{baseLanes:e,cachePool:rg()}}function ed(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Vt),e}function gv(e,t,n){var o=t.pendingProps,s=!1,v=(t.flags&128)!==0,E;if((E=v)||(E=e!==null&&e.memoizedState===null?!1:(ut.current&2)!==0),E&&(s=!0,t.flags&=-129),E=(t.flags&32)!==0,t.flags&=-33,e===null){if(Fe){if(s?an(t):on(),(e=Je)?(e=Oh(e,ar),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:$r!==null?{id:br,overflow:yr}:null,retryLane:536870912,hydrationErrors:null},n=Vp(e),n.return=t,t.child=n,Dt=t,Je=null)):e=null,e===null)throw Jr(t);return Fd(e)?t.lanes=32:t.lanes=536870912,null}var M=o.children;return o=o.fallback,s?(on(),s=t.mode,M=su({mode:"hidden",children:M},s),o=An(o,s,n,null),M.return=t,o.return=t,M.sibling=o,t.child=M,o=t.child,o.memoizedState=Jc(n),o.childLanes=ed(e,E,n),t.memoizedState=Qc,Ri(null,o)):(an(t),td(t,M))}var B=e.memoizedState;if(B!==null&&(M=B.dehydrated,M!==null)){if(v)t.flags&256?(an(t),t.flags&=-257,t=rd(e,t,n)):t.memoizedState!==null?(on(),t.child=e.child,t.flags|=128,t=null):(on(),M=o.fallback,s=t.mode,o=su({mode:"visible",children:o.children},s),M=An(M,s,n,null),M.flags|=2,o.return=t,M.return=t,o.sibling=M,t.child=o,Ln(t,e.child,null,n),o=t.child,o.memoizedState=Jc(n),o.childLanes=ed(e,E,n),t.memoizedState=Qc,t=Ri(null,o));else if(an(t),Fd(M)){if(E=M.nextSibling&&M.nextSibling.dataset,E)var q=E.dgst;E=q,o=Error(u(419)),o.stack="",o.digest=E,Si({value:o,source:null,stack:null}),t=rd(e,t,n)}else if(pt||Sa(e,t,n,!1),E=(n&e.childLanes)!==0,pt||E){if(E=$e,E!==null&&(o=ep(E,n),o!==0&&o!==B.retryLane))throw B.retryLane=o,kn(e,o),zt(E,e,o),Xc;Ld(M)||bu(),t=rd(e,t,n)}else Ld(M)?(t.flags|=192,t.child=e.child,t=null):(e=B.treeContext,Je=or(M.nextSibling),Dt=t,Fe=!0,Qr=null,ar=!1,e!==null&&Xp(t,e),t=td(t,o.children),t.flags|=4096);return t}return s?(on(),M=o.fallback,s=t.mode,B=e.child,q=B.sibling,o=wr(B,{mode:"hidden",children:o.children}),o.subtreeFlags=B.subtreeFlags&65011712,q!==null?M=wr(q,M):(M=An(M,s,n,null),M.flags|=2),M.return=t,o.return=t,o.sibling=M,t.child=o,Ri(null,o),o=t.child,M=e.child.memoizedState,M===null?M=Jc(n):(s=M.cachePool,s!==null?(B=dt._currentValue,s=s.parent!==B?{parent:B,pool:B}:s):s=rg(),M={baseLanes:M.baseLanes|n,cachePool:s}),o.memoizedState=M,o.childLanes=ed(e,E,n),t.memoizedState=Qc,Ri(e.child,o)):(an(t),n=e.child,e=n.sibling,n=wr(n,{mode:"visible",children:o.children}),n.return=t,n.sibling=null,e!==null&&(E=t.deletions,E===null?(t.deletions=[e],t.flags|=16):E.push(e)),t.child=n,t.memoizedState=null,n)}function td(e,t){return t=su({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function su(e,t){return e=Ut(22,e,null,t),e.lanes=0,e}function rd(e,t,n){return Ln(t,e.child,null,n),e=td(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function vv(e,t,n){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),mc(e.return,t,n)}function nd(e,t,n,o,s,v){var E=e.memoizedState;E===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:n,tailMode:s,treeForkCount:v}:(E.isBackwards=t,E.rendering=null,E.renderingStartTime=0,E.last=o,E.tail=n,E.tailMode=s,E.treeForkCount=v)}function hv(e,t,n){var o=t.pendingProps,s=o.revealOrder,v=o.tail;o=o.children;var E=ut.current,M=(E&2)!==0;if(M?(E=E&1|2,t.flags|=128):E&=1,w(ut,E),Et(e,t,o,n),o=Fe?yi:0,!M&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&vv(e,n,t);else if(e.tag===19)vv(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&$l(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),nd(t,!1,s,n,v,o);break;case"backwards":case"unstable_legacy-backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&$l(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}nd(t,!0,n,null,v,o);break;case"together":nd(t,!1,null,null,void 0,o);break;default:t.memoizedState=null}return t.child}function Fr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),sn|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Sa(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(u(153));if(t.child!==null){for(e=t.child,n=wr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=wr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ad(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Ul(e)))}function UD(e,t,n){switch(t.tag){case 3:ve(t,t.stateNode.containerInfo),en(t,dt,e.memoizedState.cache),Mn();break;case 27:case 5:Me(t);break;case 4:ve(t,t.stateNode.containerInfo);break;case 10:en(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Mc(t),null;break;case 13:var o=t.memoizedState;if(o!==null)return o.dehydrated!==null?(an(t),t.flags|=128,null):(n&t.child.childLanes)!==0?gv(e,t,n):(an(t),e=Fr(e,t,n),e!==null?e.sibling:null);an(t);break;case 19:var s=(e.flags&128)!==0;if(o=(n&t.childLanes)!==0,o||(Sa(e,t,n,!1),o=(n&t.childLanes)!==0),s){if(o)return hv(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),w(ut,ut.current),o)break;return null;case 22:return t.lanes=0,uv(e,t,n,t.pendingProps);case 24:en(t,dt,e.memoizedState.cache)}return Fr(e,t,n)}function mv(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)pt=!0;else{if(!ad(e,n)&&(t.flags&128)===0)return pt=!1,UD(e,t,n);pt=(e.flags&131072)!==0}else pt=!1,Fe&&(t.flags&1048576)!==0&&Zp(t,yi,t.index);switch(t.lanes=0,t.tag){case 16:e:{var o=t.pendingProps;if(e=xn(t.elementType),t.type=e,typeof e=="function")sc(e)?(o=Nn(e,o),t.tag=1,t=fv(null,t,e,o,n)):(t.tag=0,t=$c(null,t,e,o,n));else{if(e!=null){var s=e.$$typeof;if(s===T){t.tag=11,t=iv(null,t,e,o,n);break e}else if(s===R){t.tag=14,t=ov(null,t,e,o,n);break e}}throw t=fe(e)||e,Error(u(306,t,""))}}return t;case 0:return $c(e,t,t.type,t.pendingProps,n);case 1:return o=t.type,s=Nn(o,t.pendingProps),fv(e,t,o,s,n);case 3:e:{if(ve(t,t.stateNode.containerInfo),e===null)throw Error(u(387));o=t.pendingProps;var v=t.memoizedState;s=v.element,Cc(e,t),ki(t,o,null,n);var E=t.memoizedState;if(o=E.cache,en(t,dt,o),o!==v.cache&&bc(t,[dt],n,!0),Ti(),o=E.element,v.isDehydrated)if(v={element:o,isDehydrated:!1,cache:E.cache},t.updateQueue.baseState=v,t.memoizedState=v,t.flags&256){t=pv(e,t,o,n);break e}else if(o!==s){s=tr(Error(u(424)),t),Si(s),t=pv(e,t,o,n);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Je=or(e.firstChild),Dt=t,Fe=!0,Qr=null,ar=!0,n=ug(t,null,o,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Mn(),o===s){t=Fr(e,t,n);break e}Et(e,t,o,n)}t=t.child}return t;case 26:return uu(e,t),e===null?(n=Ah(t.type,null,t.pendingProps,null))?t.memoizedState=n:Fe||(n=t.type,e=t.pendingProps,o=_u(le.current).createElement(n),o[St]=t,o[Rt]=e,Ct(o,n,e),bt(o),t.stateNode=o):t.memoizedState=Ah(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Me(t),e===null&&Fe&&(o=t.stateNode=_h(t.type,t.pendingProps,le.current),Dt=t,ar=!0,s=Je,gn(t.type)?(Nd=s,Je=or(o.firstChild)):Je=s),Et(e,t,t.pendingProps.children,n),uu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Fe&&((s=o=Je)&&(o=yO(o,t.type,t.pendingProps,ar),o!==null?(t.stateNode=o,Dt=t,Je=or(o.firstChild),ar=!1,s=!0):s=!1),s||Jr(t)),Me(t),s=t.type,v=t.pendingProps,E=e!==null?e.memoizedProps:null,o=v.children,Rd(s,v)?o=null:E!==null&&Rd(s,E)&&(t.flags|=32),t.memoizedState!==null&&(s=Pc(e,t,BD,null,null,n),Vi._currentValue=s),uu(e,t),Et(e,t,o,n),t.child;case 6:return e===null&&Fe&&((e=n=Je)&&(n=SO(n,t.pendingProps,ar),n!==null?(t.stateNode=n,Dt=t,Je=null,e=!0):e=!1),e||Jr(t)),null;case 13:return gv(e,t,n);case 4:return ve(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Ln(t,null,o,n):Et(e,t,o,n),t.child;case 11:return iv(e,t,t.type,t.pendingProps,n);case 7:return Et(e,t,t.pendingProps,n),t.child;case 8:return Et(e,t,t.pendingProps.children,n),t.child;case 12:return Et(e,t,t.pendingProps.children,n),t.child;case 10:return o=t.pendingProps,en(t,t.type,o.value),Et(e,t,o.children,n),t.child;case 9:return s=t.type._context,o=t.pendingProps.children,Pn(t),s=Ot(s),o=o(s),t.flags|=1,Et(e,t,o,n),t.child;case 14:return ov(e,t,t.type,t.pendingProps,n);case 15:return lv(e,t,t.type,t.pendingProps,n);case 19:return hv(e,t,n);case 31:return qD(e,t,n);case 22:return uv(e,t,n,t.pendingProps);case 24:return Pn(t),o=Ot(dt),e===null?(s=Dc(),s===null&&(s=$e,v=yc(),s.pooledCache=v,v.refCount++,v!==null&&(s.pooledCacheLanes|=n),s=v),t.memoizedState={parent:o,cache:s},Ec(t),en(t,dt,s)):((e.lanes&n)!==0&&(Cc(e,t),ki(t,null,null,n),Ti()),s=e.memoizedState,v=t.memoizedState,s.parent!==o?(s={parent:o,cache:o},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),en(t,dt,o)):(o=v.cache,en(t,dt,o),o!==s.cache&&bc(t,[dt],n,!0))),Et(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(u(156,t.tag))}function Nr(e){e.flags|=4}function id(e,t,n,o,s){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(Wv())e.flags|=8192;else throw Bn=Vl,Oc}else e.flags&=-16777217}function bv(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!xh(t))if(Wv())e.flags|=8192;else throw Bn=Vl,Oc}function cu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?$0():536870912,e.lanes|=t,Ra|=t)}function xi(e,t){if(!Fe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var o=null;n!==null;)n.alternate!==null&&(o=n),n=n.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function et(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,o=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,o|=s.subtreeFlags&65011712,o|=s.flags&65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,o|=s.subtreeFlags,o|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=o,e.childLanes=n,t}function WD(e,t,n){var o=t.pendingProps;switch(pc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return et(t),null;case 1:return et(t),null;case 3:return n=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),xr(dt),ce(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(ya(t)?Nr(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,vc())),et(t),null;case 26:var s=t.type,v=t.memoizedState;return e===null?(Nr(t),v!==null?(et(t),bv(t,v)):(et(t),id(t,s,null,o,n))):v?v!==e.memoizedState?(Nr(t),et(t),bv(t,v)):(et(t),t.flags&=-16777217):(e=e.memoizedProps,e!==o&&Nr(t),et(t),id(t,s,e,o,n)),null;case 27:if(_e(t),n=le.current,s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Nr(t);else{if(!o){if(t.stateNode===null)throw Error(u(166));return et(t),null}e=X.current,ya(t)?$p(t):(e=_h(s,o,n),t.stateNode=e,Nr(t))}return et(t),null;case 5:if(_e(t),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Nr(t);else{if(!o){if(t.stateNode===null)throw Error(u(166));return et(t),null}if(v=X.current,ya(t))$p(t);else{var E=_u(le.current);switch(v){case 1:v=E.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:v=E.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":v=E.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":v=E.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":v=E.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild);break;case"select":v=typeof o.is=="string"?E.createElement("select",{is:o.is}):E.createElement("select"),o.multiple?v.multiple=!0:o.size&&(v.size=o.size);break;default:v=typeof o.is=="string"?E.createElement(s,{is:o.is}):E.createElement(s)}}v[St]=t,v[Rt]=o;e:for(E=t.child;E!==null;){if(E.tag===5||E.tag===6)v.appendChild(E.stateNode);else if(E.tag!==4&&E.tag!==27&&E.child!==null){E.child.return=E,E=E.child;continue}if(E===t)break e;for(;E.sibling===null;){if(E.return===null||E.return===t)break e;E=E.return}E.sibling.return=E.return,E=E.sibling}t.stateNode=v;e:switch(Ct(v,s,o),s){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&Nr(t)}}return et(t),id(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&Nr(t);else{if(typeof o!="string"&&t.stateNode===null)throw Error(u(166));if(e=le.current,ya(t)){if(e=t.stateNode,n=t.memoizedProps,o=null,s=Dt,s!==null)switch(s.tag){case 27:case 5:o=s.memoizedProps}e[St]=t,e=!!(e.nodeValue===n||o!==null&&o.suppressHydrationWarning===!0||gh(e.nodeValue,n)),e||Jr(t,!0)}else e=_u(e).createTextNode(o),e[St]=t,t.stateNode=e}return et(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(o=ya(t),n!==null){if(e===null){if(!o)throw Error(u(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(557));e[St]=t}else Mn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;et(t),e=!1}else n=vc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Gt(t),t):(Gt(t),null);if((t.flags&128)!==0)throw Error(u(558))}return et(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=ya(t),o!==null&&o.dehydrated!==null){if(e===null){if(!s)throw Error(u(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(u(317));s[St]=t}else Mn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;et(t),s=!1}else s=vc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(Gt(t),t):(Gt(t),null)}return Gt(t),(t.flags&128)!==0?(t.lanes=n,t):(n=o!==null,e=e!==null&&e.memoizedState!==null,n&&(o=t.child,s=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(s=o.alternate.memoizedState.cachePool.pool),v=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(v=o.memoizedState.cachePool.pool),v!==s&&(o.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),cu(t,t.updateQueue),et(t),null);case 4:return ce(),e===null&&kd(t.stateNode.containerInfo),et(t),null;case 10:return xr(t.type),et(t),null;case 19:if(x(ut),o=t.memoizedState,o===null)return et(t),null;if(s=(t.flags&128)!==0,v=o.rendering,v===null)if(s)xi(o,!1);else{if(ot!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(v=$l(e),v!==null){for(t.flags|=128,xi(o,!1),e=v.updateQueue,t.updateQueue=e,cu(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Yp(n,e),n=n.sibling;return w(ut,ut.current&1|2),Fe&&Pr(t,o.treeForkCount),t.child}e=e.sibling}o.tail!==null&&rt()>vu&&(t.flags|=128,s=!0,xi(o,!1),t.lanes=4194304)}else{if(!s)if(e=$l(v),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,cu(t,e),xi(o,!0),o.tail===null&&o.tailMode==="hidden"&&!v.alternate&&!Fe)return et(t),null}else 2*rt()-o.renderingStartTime>vu&&n!==536870912&&(t.flags|=128,s=!0,xi(o,!1),t.lanes=4194304);o.isBackwards?(v.sibling=t.child,t.child=v):(e=o.last,e!==null?e.sibling=v:t.child=v,o.last=v)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=rt(),e.sibling=null,n=ut.current,w(ut,s?n&1|2:n&1),Fe&&Pr(t,o.treeForkCount),e):(et(t),null);case 22:case 23:return Gt(t),Ac(),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?(n&536870912)!==0&&(t.flags&128)===0&&(et(t),t.subtreeFlags&6&&(t.flags|=8192)):et(t),n=t.updateQueue,n!==null&&cu(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==n&&(t.flags|=2048),e!==null&&x(Rn),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),xr(dt),et(t),null;case 25:return null;case 30:return null}throw Error(u(156,t.tag))}function GD(e,t){switch(pc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return xr(dt),ce(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return _e(t),null;case 31:if(t.memoizedState!==null){if(Gt(t),t.alternate===null)throw Error(u(340));Mn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Gt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));Mn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return x(ut),null;case 4:return ce(),null;case 10:return xr(t.type),null;case 22:case 23:return Gt(t),Ac(),e!==null&&x(Rn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return xr(dt),null;case 25:return null;default:return null}}function yv(e,t){switch(pc(t),t.tag){case 3:xr(dt),ce();break;case 26:case 27:case 5:_e(t);break;case 4:ce();break;case 31:t.memoizedState!==null&&Gt(t);break;case 13:Gt(t);break;case 19:x(ut);break;case 10:xr(t.type);break;case 22:case 23:Gt(t),Ac(),e!==null&&x(Rn);break;case 24:xr(dt)}}function Bi(e,t){try{var n=t.updateQueue,o=n!==null?n.lastEffect:null;if(o!==null){var s=o.next;n=s;do{if((n.tag&e)===e){o=void 0;var v=n.create,E=n.inst;o=v(),E.destroy=o}n=n.next}while(n!==s)}}catch(M){Ye(t,t.return,M)}}function ln(e,t,n){try{var o=t.updateQueue,s=o!==null?o.lastEffect:null;if(s!==null){var v=s.next;o=v;do{if((o.tag&e)===e){var E=o.inst,M=E.destroy;if(M!==void 0){E.destroy=void 0,s=t;var B=n,q=M;try{q()}catch($){Ye(s,B,$)}}}o=o.next}while(o!==v)}}catch($){Ye(t,t.return,$)}}function Sv(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{cg(t,n)}catch(o){Ye(e,e.return,o)}}}function Dv(e,t,n){n.props=Nn(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(o){Ye(e,t,o)}}function Li(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof n=="function"?e.refCleanup=n(o):n.current=o}}catch(s){Ye(e,t,s)}}function Sr(e,t){var n=e.ref,o=e.refCleanup;if(n!==null)if(typeof o=="function")try{o()}catch(s){Ye(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(s){Ye(e,t,s)}else n.current=null}function Ov(e){var t=e.type,n=e.memoizedProps,o=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&o.focus();break e;case"img":n.src?o.src=n.src:n.srcSet&&(o.srcset=n.srcSet)}}catch(s){Ye(e,e.return,s)}}function od(e,t,n){try{var o=e.stateNode;pO(o,e.type,n,t),o[Rt]=t}catch(s){Ye(e,e.return,s)}}function Ev(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&gn(e.type)||e.tag===4}function ld(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ev(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&gn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ud(e,t,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ar));else if(o!==4&&(o===27&&gn(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(ud(e,t,n),e=e.sibling;e!==null;)ud(e,t,n),e=e.sibling}function du(e,t,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(o!==4&&(o===27&&gn(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(du(e,t,n),e=e.sibling;e!==null;)du(e,t,n),e=e.sibling}function Cv(e){var t=e.stateNode,n=e.memoizedProps;try{for(var o=e.type,s=t.attributes;s.length;)t.removeAttributeNode(s[0]);Ct(t,o,n),t[St]=e,t[Rt]=n}catch(v){Ye(e,e.return,v)}}var zr=!1,gt=!1,sd=!1,_v=typeof WeakSet=="function"?WeakSet:Set,yt=null;function YD(e,t){if(e=e.containerInfo,wd=Ru,e=Np(e),rc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var o=n.getSelection&&n.getSelection();if(o&&o.rangeCount!==0){n=o.anchorNode;var s=o.anchorOffset,v=o.focusNode;o=o.focusOffset;try{n.nodeType,v.nodeType}catch{n=null;break e}var E=0,M=-1,B=-1,q=0,$=0,J=e,U=null;t:for(;;){for(var V;J!==n||s!==0&&J.nodeType!==3||(M=E+s),J!==v||o!==0&&J.nodeType!==3||(B=E+o),J.nodeType===3&&(E+=J.nodeValue.length),(V=J.firstChild)!==null;)U=J,J=V;for(;;){if(J===e)break t;if(U===n&&++q===s&&(M=E),U===v&&++$===o&&(B=E),(V=J.nextSibling)!==null)break;J=U,U=J.parentNode}J=V}n=M===-1||B===-1?null:{start:M,end:B}}else n=null}n=n||{start:0,end:0}}else n=null;for(Pd={focusedElem:e,selectionRange:n},Ru=!1,yt=t;yt!==null;)if(t=yt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,yt=e;else for(;yt!==null;){switch(t=yt,v=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)s=e[n],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&v!==null){e=void 0,n=t,s=v.memoizedProps,v=v.memoizedState,o=n.stateNode;try{var de=Nn(n.type,s);e=o.getSnapshotBeforeUpdate(de,v),o.__reactInternalSnapshotBeforeUpdate=e}catch(Se){Ye(n,n.return,Se)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Bd(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Bd(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(u(163))}if(e=t.sibling,e!==null){e.return=t.return,yt=e;break}yt=t.return}}function Tv(e,t,n){var o=n.flags;switch(n.tag){case 0:case 11:case 15:Hr(e,n),o&4&&Bi(5,n);break;case 1:if(Hr(e,n),o&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(E){Ye(n,n.return,E)}else{var s=Nn(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(s,t,e.__reactInternalSnapshotBeforeUpdate)}catch(E){Ye(n,n.return,E)}}o&64&&Sv(n),o&512&&Li(n,n.return);break;case 3:if(Hr(e,n),o&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{cg(e,t)}catch(E){Ye(n,n.return,E)}}break;case 27:t===null&&o&4&&Cv(n);case 26:case 5:Hr(e,n),t===null&&o&4&&Ov(n),o&512&&Li(n,n.return);break;case 12:Hr(e,n);break;case 31:Hr(e,n),o&4&&Mv(e,n);break;case 13:Hr(e,n),o&4&&wv(e,n),o&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=tO.bind(null,n),DO(e,n))));break;case 22:if(o=n.memoizedState!==null||zr,!o){t=t!==null&&t.memoizedState!==null||gt,s=zr;var v=gt;zr=o,(gt=t)&&!v?Ir(e,n,(n.subtreeFlags&8772)!==0):Hr(e,n),zr=s,gt=v}break;case 30:break;default:Hr(e,n)}}function kv(e){var t=e.alternate;t!==null&&(e.alternate=null,kv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&js(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var nt=null,Bt=!1;function jr(e,t,n){for(n=n.child;n!==null;)Av(e,t,n),n=n.sibling}function Av(e,t,n){if(me&&typeof me.onCommitFiberUnmount=="function")try{me.onCommitFiberUnmount(ue,n)}catch{}switch(n.tag){case 26:gt||Sr(n,t),jr(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:gt||Sr(n,t);var o=nt,s=Bt;gn(n.type)&&(nt=n.stateNode,Bt=!1),jr(e,t,n),Wi(n.stateNode),nt=o,Bt=s;break;case 5:gt||Sr(n,t);case 6:if(o=nt,s=Bt,nt=null,jr(e,t,n),nt=o,Bt=s,nt!==null)if(Bt)try{(nt.nodeType===9?nt.body:nt.nodeName==="HTML"?nt.ownerDocument.body:nt).removeChild(n.stateNode)}catch(v){Ye(n,t,v)}else try{nt.removeChild(n.stateNode)}catch(v){Ye(n,t,v)}break;case 18:nt!==null&&(Bt?(e=nt,Sh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Ha(e)):Sh(nt,n.stateNode));break;case 4:o=nt,s=Bt,nt=n.stateNode.containerInfo,Bt=!0,jr(e,t,n),nt=o,Bt=s;break;case 0:case 11:case 14:case 15:ln(2,n,t),gt||ln(4,n,t),jr(e,t,n);break;case 1:gt||(Sr(n,t),o=n.stateNode,typeof o.componentWillUnmount=="function"&&Dv(n,t,o)),jr(e,t,n);break;case 21:jr(e,t,n);break;case 22:gt=(o=gt)||n.memoizedState!==null,jr(e,t,n),gt=o;break;default:jr(e,t,n)}}function Mv(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ha(e)}catch(n){Ye(t,t.return,n)}}}function wv(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ha(e)}catch(n){Ye(t,t.return,n)}}function VD(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new _v),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new _v),t;default:throw Error(u(435,e.tag))}}function fu(e,t){var n=VD(e);t.forEach(function(o){if(!n.has(o)){n.add(o);var s=rO.bind(null,e,o);o.then(s,s)}})}function Lt(e,t){var n=t.deletions;if(n!==null)for(var o=0;o<n.length;o++){var s=n[o],v=e,E=t,M=E;e:for(;M!==null;){switch(M.tag){case 27:if(gn(M.type)){nt=M.stateNode,Bt=!1;break e}break;case 5:nt=M.stateNode,Bt=!1;break e;case 3:case 4:nt=M.stateNode.containerInfo,Bt=!0;break e}M=M.return}if(nt===null)throw Error(u(160));Av(v,E,s),nt=null,Bt=!1,v=s.alternate,v!==null&&(v.return=null),s.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Pv(t,e),t=t.sibling}var dr=null;function Pv(e,t){var n=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Lt(t,e),Ft(e),o&4&&(ln(3,e,e.return),Bi(3,e),ln(5,e,e.return));break;case 1:Lt(t,e),Ft(e),o&512&&(gt||n===null||Sr(n,n.return)),o&64&&zr&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?o:n.concat(o))));break;case 26:var s=dr;if(Lt(t,e),Ft(e),o&512&&(gt||n===null||Sr(n,n.return)),o&4){var v=n!==null?n.memoizedState:null;if(o=e.memoizedState,n===null)if(o===null)if(e.stateNode===null){e:{o=e.type,n=e.memoizedProps,s=s.ownerDocument||s;t:switch(o){case"title":v=s.getElementsByTagName("title")[0],(!v||v[ui]||v[St]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=s.createElement(o),s.head.insertBefore(v,s.querySelector("head > title"))),Ct(v,o,n),v[St]=e,bt(v),o=v;break e;case"link":var E=Ph("link","href",s).get(o+(n.href||""));if(E){for(var M=0;M<E.length;M++)if(v=E[M],v.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&v.getAttribute("rel")===(n.rel==null?null:n.rel)&&v.getAttribute("title")===(n.title==null?null:n.title)&&v.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){E.splice(M,1);break t}}v=s.createElement(o),Ct(v,o,n),s.head.appendChild(v);break;case"meta":if(E=Ph("meta","content",s).get(o+(n.content||""))){for(M=0;M<E.length;M++)if(v=E[M],v.getAttribute("content")===(n.content==null?null:""+n.content)&&v.getAttribute("name")===(n.name==null?null:n.name)&&v.getAttribute("property")===(n.property==null?null:n.property)&&v.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&v.getAttribute("charset")===(n.charSet==null?null:n.charSet)){E.splice(M,1);break t}}v=s.createElement(o),Ct(v,o,n),s.head.appendChild(v);break;default:throw Error(u(468,o))}v[St]=e,bt(v),o=v}e.stateNode=o}else Rh(s,e.type,e.stateNode);else e.stateNode=wh(s,o,e.memoizedProps);else v!==o?(v===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):v.count--,o===null?Rh(s,e.type,e.stateNode):wh(s,o,e.memoizedProps)):o===null&&e.stateNode!==null&&od(e,e.memoizedProps,n.memoizedProps)}break;case 27:Lt(t,e),Ft(e),o&512&&(gt||n===null||Sr(n,n.return)),n!==null&&o&4&&od(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Lt(t,e),Ft(e),o&512&&(gt||n===null||Sr(n,n.return)),e.flags&32){s=e.stateNode;try{sa(s,"")}catch(de){Ye(e,e.return,de)}}o&4&&e.stateNode!=null&&(s=e.memoizedProps,od(e,s,n!==null?n.memoizedProps:s)),o&1024&&(sd=!0);break;case 6:if(Lt(t,e),Ft(e),o&4){if(e.stateNode===null)throw Error(u(162));o=e.memoizedProps,n=e.stateNode;try{n.nodeValue=o}catch(de){Ye(e,e.return,de)}}break;case 3:if(Au=null,s=dr,dr=Tu(t.containerInfo),Lt(t,e),dr=s,Ft(e),o&4&&n!==null&&n.memoizedState.isDehydrated)try{Ha(t.containerInfo)}catch(de){Ye(e,e.return,de)}sd&&(sd=!1,Rv(e));break;case 4:o=dr,dr=Tu(e.stateNode.containerInfo),Lt(t,e),Ft(e),dr=o;break;case 12:Lt(t,e),Ft(e);break;case 31:Lt(t,e),Ft(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,fu(e,o)));break;case 13:Lt(t,e),Ft(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(gu=rt()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,fu(e,o)));break;case 22:s=e.memoizedState!==null;var B=n!==null&&n.memoizedState!==null,q=zr,$=gt;if(zr=q||s,gt=$||B,Lt(t,e),gt=$,zr=q,Ft(e),o&8192)e:for(t=e.stateNode,t._visibility=s?t._visibility&-2:t._visibility|1,s&&(n===null||B||zr||gt||zn(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){B=n=t;try{if(v=B.stateNode,s)E=v.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none";else{M=B.stateNode;var J=B.memoizedProps.style,U=J!=null&&J.hasOwnProperty("display")?J.display:null;M.style.display=U==null||typeof U=="boolean"?"":(""+U).trim()}}catch(de){Ye(B,B.return,de)}}}else if(t.tag===6){if(n===null){B=t;try{B.stateNode.nodeValue=s?"":B.memoizedProps}catch(de){Ye(B,B.return,de)}}}else if(t.tag===18){if(n===null){B=t;try{var V=B.stateNode;s?Dh(V,!0):Dh(B.stateNode,!1)}catch(de){Ye(B,B.return,de)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}o&4&&(o=e.updateQueue,o!==null&&(n=o.retryQueue,n!==null&&(o.retryQueue=null,fu(e,n))));break;case 19:Lt(t,e),Ft(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,fu(e,o)));break;case 30:break;case 21:break;default:Lt(t,e),Ft(e)}}function Ft(e){var t=e.flags;if(t&2){try{for(var n,o=e.return;o!==null;){if(Ev(o)){n=o;break}o=o.return}if(n==null)throw Error(u(160));switch(n.tag){case 27:var s=n.stateNode,v=ld(e);du(e,v,s);break;case 5:var E=n.stateNode;n.flags&32&&(sa(E,""),n.flags&=-33);var M=ld(e);du(e,M,E);break;case 3:case 4:var B=n.stateNode.containerInfo,q=ld(e);ud(e,q,B);break;default:throw Error(u(161))}}catch($){Ye(e,e.return,$)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Rv(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Rv(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Hr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Tv(e,t.alternate,t),t=t.sibling}function zn(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ln(4,t,t.return),zn(t);break;case 1:Sr(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&Dv(t,t.return,n),zn(t);break;case 27:Wi(t.stateNode);case 26:case 5:Sr(t,t.return),zn(t);break;case 22:t.memoizedState===null&&zn(t);break;case 30:zn(t);break;default:zn(t)}e=e.sibling}}function Ir(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var o=t.alternate,s=e,v=t,E=v.flags;switch(v.tag){case 0:case 11:case 15:Ir(s,v,n),Bi(4,v);break;case 1:if(Ir(s,v,n),o=v,s=o.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(q){Ye(o,o.return,q)}if(o=v,s=o.updateQueue,s!==null){var M=o.stateNode;try{var B=s.shared.hiddenCallbacks;if(B!==null)for(s.shared.hiddenCallbacks=null,s=0;s<B.length;s++)sg(B[s],M)}catch(q){Ye(o,o.return,q)}}n&&E&64&&Sv(v),Li(v,v.return);break;case 27:Cv(v);case 26:case 5:Ir(s,v,n),n&&o===null&&E&4&&Ov(v),Li(v,v.return);break;case 12:Ir(s,v,n);break;case 31:Ir(s,v,n),n&&E&4&&Mv(s,v);break;case 13:Ir(s,v,n),n&&E&4&&wv(s,v);break;case 22:v.memoizedState===null&&Ir(s,v,n),Li(v,v.return);break;case 30:break;default:Ir(s,v,n)}t=t.sibling}}function cd(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Di(n))}function dd(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Di(e))}function fr(e,t,n,o){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)xv(e,t,n,o),t=t.sibling}function xv(e,t,n,o){var s=t.flags;switch(t.tag){case 0:case 11:case 15:fr(e,t,n,o),s&2048&&Bi(9,t);break;case 1:fr(e,t,n,o);break;case 3:fr(e,t,n,o),s&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Di(e)));break;case 12:if(s&2048){fr(e,t,n,o),e=t.stateNode;try{var v=t.memoizedProps,E=v.id,M=v.onPostCommit;typeof M=="function"&&M(E,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(B){Ye(t,t.return,B)}}else fr(e,t,n,o);break;case 31:fr(e,t,n,o);break;case 13:fr(e,t,n,o);break;case 23:break;case 22:v=t.stateNode,E=t.alternate,t.memoizedState!==null?v._visibility&2?fr(e,t,n,o):Fi(e,t):v._visibility&2?fr(e,t,n,o):(v._visibility|=2,Ma(e,t,n,o,(t.subtreeFlags&10256)!==0||!1)),s&2048&&cd(E,t);break;case 24:fr(e,t,n,o),s&2048&&dd(t.alternate,t);break;default:fr(e,t,n,o)}}function Ma(e,t,n,o,s){for(s=s&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var v=e,E=t,M=n,B=o,q=E.flags;switch(E.tag){case 0:case 11:case 15:Ma(v,E,M,B,s),Bi(8,E);break;case 23:break;case 22:var $=E.stateNode;E.memoizedState!==null?$._visibility&2?Ma(v,E,M,B,s):Fi(v,E):($._visibility|=2,Ma(v,E,M,B,s)),s&&q&2048&&cd(E.alternate,E);break;case 24:Ma(v,E,M,B,s),s&&q&2048&&dd(E.alternate,E);break;default:Ma(v,E,M,B,s)}t=t.sibling}}function Fi(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,o=t,s=o.flags;switch(o.tag){case 22:Fi(n,o),s&2048&&cd(o.alternate,o);break;case 24:Fi(n,o),s&2048&&dd(o.alternate,o);break;default:Fi(n,o)}t=t.sibling}}var Ni=8192;function wa(e,t,n){if(e.subtreeFlags&Ni)for(e=e.child;e!==null;)Bv(e,t,n),e=e.sibling}function Bv(e,t,n){switch(e.tag){case 26:wa(e,t,n),e.flags&Ni&&e.memoizedState!==null&&xO(n,dr,e.memoizedState,e.memoizedProps);break;case 5:wa(e,t,n);break;case 3:case 4:var o=dr;dr=Tu(e.stateNode.containerInfo),wa(e,t,n),dr=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Ni,Ni=16777216,wa(e,t,n),Ni=o):wa(e,t,n));break;default:wa(e,t,n)}}function Lv(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function zi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var o=t[n];yt=o,Nv(o,e)}Lv(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Fv(e),e=e.sibling}function Fv(e){switch(e.tag){case 0:case 11:case 15:zi(e),e.flags&2048&&ln(9,e,e.return);break;case 3:zi(e);break;case 12:zi(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,pu(e)):zi(e);break;default:zi(e)}}function pu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var o=t[n];yt=o,Nv(o,e)}Lv(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:ln(8,t,t.return),pu(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,pu(t));break;default:pu(t)}e=e.sibling}}function Nv(e,t){for(;yt!==null;){var n=yt;switch(n.tag){case 0:case 11:case 15:ln(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var o=n.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:Di(n.memoizedState.cache)}if(o=n.child,o!==null)o.return=n,yt=o;else e:for(n=e;yt!==null;){o=yt;var s=o.sibling,v=o.return;if(kv(o),o===n){yt=null;break e}if(s!==null){s.return=v,yt=s;break e}yt=v}}}var KD={getCacheForType:function(e){var t=Ot(dt),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Ot(dt).controller.signal}},ZD=typeof WeakMap=="function"?WeakMap:Map,qe=0,$e=null,Re=null,Be=0,Ge=0,Yt=null,un=!1,Pa=!1,fd=!1,qr=0,ot=0,sn=0,jn=0,pd=0,Vt=0,Ra=0,ji=null,Nt=null,gd=!1,gu=0,zv=0,vu=1/0,hu=null,cn=null,ht=0,dn=null,xa=null,Ur=0,vd=0,hd=null,jv=null,Hi=0,md=null;function Kt(){return(qe&2)!==0&&Be!==0?Be&-Be:H.T!==null?Ed():tp()}function Hv(){if(Vt===0)if((Be&536870912)===0||Fe){var e=Cl;Cl<<=1,(Cl&3932160)===0&&(Cl=262144),Vt=e}else Vt=536870912;return e=Wt.current,e!==null&&(e.flags|=32),Vt}function zt(e,t,n){(e===$e&&(Ge===2||Ge===9)||e.cancelPendingCommit!==null)&&(Ba(e,0),fn(e,Be,Vt,!1)),li(e,n),((qe&2)===0||e!==$e)&&(e===$e&&((qe&2)===0&&(jn|=n),ot===4&&fn(e,Be,Vt,!1)),Dr(e))}function Iv(e,t,n){if((qe&6)!==0)throw Error(u(327));var o=!n&&(t&127)===0&&(t&e.expiredLanes)===0||oi(e,t),s=o?QD(e,t):yd(e,t,!0),v=o;do{if(s===0){Pa&&!o&&fn(e,t,0,!1);break}else{if(n=e.current.alternate,v&&!XD(n)){s=yd(e,t,!1),v=!1;continue}if(s===2){if(v=t,e.errorRecoveryDisabledLanes&v)var E=0;else E=e.pendingLanes&-536870913,E=E!==0?E:E&536870912?536870912:0;if(E!==0){t=E;e:{var M=e;s=ji;var B=M.current.memoizedState.isDehydrated;if(B&&(Ba(M,E).flags|=256),E=yd(M,E,!1),E!==2){if(fd&&!B){M.errorRecoveryDisabledLanes|=v,jn|=v,s=4;break e}v=Nt,Nt=s,v!==null&&(Nt===null?Nt=v:Nt.push.apply(Nt,v))}s=E}if(v=!1,s!==2)continue}}if(s===1){Ba(e,0),fn(e,t,0,!0);break}e:{switch(o=e,v=s,v){case 0:case 1:throw Error(u(345));case 4:if((t&4194048)!==t)break;case 6:fn(o,t,Vt,!un);break e;case 2:Nt=null;break;case 3:case 5:break;default:throw Error(u(329))}if((t&62914560)===t&&(s=gu+300-rt(),10<s)){if(fn(o,t,Vt,!un),Tl(o,0,!0)!==0)break e;Ur=t,o.timeoutHandle=bh(qv.bind(null,o,n,Nt,hu,gd,t,Vt,jn,Ra,un,v,"Throttled",-0,0),s);break e}qv(o,n,Nt,hu,gd,t,Vt,jn,Ra,un,v,null,-0,0)}}break}while(!0);Dr(e)}function qv(e,t,n,o,s,v,E,M,B,q,$,J,U,V){if(e.timeoutHandle=-1,J=t.subtreeFlags,J&8192||(J&16785408)===16785408){J={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ar},Bv(t,v,J);var de=(v&62914560)===v?gu-rt():(v&4194048)===v?zv-rt():0;if(de=BO(J,de),de!==null){Ur=v,e.cancelPendingCommit=de(Xv.bind(null,e,t,v,n,o,s,E,M,B,$,J,null,U,V)),fn(e,v,E,!q);return}}Xv(e,t,v,n,o,s,E,M,B)}function XD(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var o=0;o<n.length;o++){var s=n[o],v=s.getSnapshot;s=s.value;try{if(!qt(v(),s))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function fn(e,t,n,o){t&=~pd,t&=~jn,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var s=t;0<s;){var v=31-We(s),E=1<<v;o[v]=-1,s&=~E}n!==0&&Q0(e,n,t)}function mu(){return(qe&6)===0?(Ii(0),!1):!0}function bd(){if(Re!==null){if(Ge===0)var e=Re.return;else e=Re,Rr=wn=null,Bc(e),Ca=null,Ei=0,e=Re;for(;e!==null;)yv(e.alternate,e),e=e.return;Re=null}}function Ba(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,hO(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Ur=0,bd(),$e=e,Re=n=wr(e.current,null),Be=t,Ge=0,Yt=null,un=!1,Pa=oi(e,t),fd=!1,Ra=Vt=pd=jn=sn=ot=0,Nt=ji=null,gd=!1,(t&8)!==0&&(t|=t&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=t;0<o;){var s=31-We(o),v=1<<s;t|=e[s],o&=~v}return qr=t,zl(),n}function Uv(e,t){Te=null,H.H=Pi,t===Ea||t===Yl?(t=ig(),Ge=3):t===Oc?(t=ig(),Ge=4):Ge=t===Xc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Yt=t,Re===null&&(ot=1,ou(e,tr(t,e.current)))}function Wv(){var e=Wt.current;return e===null?!0:(Be&4194048)===Be?ir===null:(Be&62914560)===Be||(Be&536870912)!==0?e===ir:!1}function Gv(){var e=H.H;return H.H=Pi,e===null?Pi:e}function Yv(){var e=H.A;return H.A=KD,e}function bu(){ot=4,un||(Be&4194048)!==Be&&Wt.current!==null||(Pa=!0),(sn&134217727)===0&&(jn&134217727)===0||$e===null||fn($e,Be,Vt,!1)}function yd(e,t,n){var o=qe;qe|=2;var s=Gv(),v=Yv();($e!==e||Be!==t)&&(hu=null,Ba(e,t)),t=!1;var E=ot;e:do try{if(Ge!==0&&Re!==null){var M=Re,B=Yt;switch(Ge){case 8:bd(),E=6;break e;case 3:case 2:case 9:case 6:Wt.current===null&&(t=!0);var q=Ge;if(Ge=0,Yt=null,La(e,M,B,q),n&&Pa){E=0;break e}break;default:q=Ge,Ge=0,Yt=null,La(e,M,B,q)}}$D(),E=ot;break}catch($){Uv(e,$)}while(!0);return t&&e.shellSuspendCounter++,Rr=wn=null,qe=o,H.H=s,H.A=v,Re===null&&($e=null,Be=0,zl()),E}function $D(){for(;Re!==null;)Vv(Re)}function QD(e,t){var n=qe;qe|=2;var o=Gv(),s=Yv();$e!==e||Be!==t?(hu=null,vu=rt()+500,Ba(e,t)):Pa=oi(e,t);e:do try{if(Ge!==0&&Re!==null){t=Re;var v=Yt;t:switch(Ge){case 1:Ge=0,Yt=null,La(e,t,v,1);break;case 2:case 9:if(ng(v)){Ge=0,Yt=null,Kv(t);break}t=function(){Ge!==2&&Ge!==9||$e!==e||(Ge=7),Dr(e)},v.then(t,t);break e;case 3:Ge=7;break e;case 4:Ge=5;break e;case 7:ng(v)?(Ge=0,Yt=null,Kv(t)):(Ge=0,Yt=null,La(e,t,v,7));break;case 5:var E=null;switch(Re.tag){case 26:E=Re.memoizedState;case 5:case 27:var M=Re;if(E?xh(E):M.stateNode.complete){Ge=0,Yt=null;var B=M.sibling;if(B!==null)Re=B;else{var q=M.return;q!==null?(Re=q,yu(q)):Re=null}break t}}Ge=0,Yt=null,La(e,t,v,5);break;case 6:Ge=0,Yt=null,La(e,t,v,6);break;case 8:bd(),ot=6;break e;default:throw Error(u(462))}}JD();break}catch($){Uv(e,$)}while(!0);return Rr=wn=null,H.H=o,H.A=s,qe=n,Re!==null?0:($e=null,Be=0,zl(),ot)}function JD(){for(;Re!==null&&!vt();)Vv(Re)}function Vv(e){var t=mv(e.alternate,e,qr);e.memoizedProps=e.pendingProps,t===null?yu(e):Re=t}function Kv(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=dv(n,t,t.pendingProps,t.type,void 0,Be);break;case 11:t=dv(n,t,t.pendingProps,t.type.render,t.ref,Be);break;case 5:Bc(t);default:yv(n,t),t=Re=Yp(t,qr),t=mv(n,t,qr)}e.memoizedProps=e.pendingProps,t===null?yu(e):Re=t}function La(e,t,n,o){Rr=wn=null,Bc(t),Ca=null,Ei=0;var s=t.return;try{if(ID(e,s,t,n,Be)){ot=1,ou(e,tr(n,e.current)),Re=null;return}}catch(v){if(s!==null)throw Re=s,v;ot=1,ou(e,tr(n,e.current)),Re=null;return}t.flags&32768?(Fe||o===1?e=!0:Pa||(Be&536870912)!==0?e=!1:(un=e=!0,(o===2||o===9||o===3||o===6)&&(o=Wt.current,o!==null&&o.tag===13&&(o.flags|=16384))),Zv(t,e)):yu(t)}function yu(e){var t=e;do{if((t.flags&32768)!==0){Zv(t,un);return}e=t.return;var n=WD(t.alternate,t,qr);if(n!==null){Re=n;return}if(t=t.sibling,t!==null){Re=t;return}Re=t=e}while(t!==null);ot===0&&(ot=5)}function Zv(e,t){do{var n=GD(e.alternate,e);if(n!==null){n.flags&=32767,Re=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Re=e;return}Re=e=n}while(e!==null);ot=6,Re=null}function Xv(e,t,n,o,s,v,E,M,B){e.cancelPendingCommit=null;do Su();while(ht!==0);if((qe&6)!==0)throw Error(u(327));if(t!==null){if(t===e.current)throw Error(u(177));if(v=t.lanes|t.childLanes,v|=lc,R5(e,n,v,E,M,B),e===$e&&(Re=$e=null,Be=0),xa=t,dn=e,Ur=n,vd=v,hd=s,jv=o,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,nO(mr,function(){return th(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||o){o=H.T,H.T=null,s=te.p,te.p=2,E=qe,qe|=4;try{YD(e,t,n)}finally{qe=E,te.p=s,H.T=o}}ht=1,$v(),Qv(),Jv()}}function $v(){if(ht===1){ht=0;var e=dn,t=xa,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=H.T,H.T=null;var o=te.p;te.p=2;var s=qe;qe|=4;try{Pv(t,e);var v=Pd,E=Np(e.containerInfo),M=v.focusedElem,B=v.selectionRange;if(E!==M&&M&&M.ownerDocument&&Fp(M.ownerDocument.documentElement,M)){if(B!==null&&rc(M)){var q=B.start,$=B.end;if($===void 0&&($=q),"selectionStart"in M)M.selectionStart=q,M.selectionEnd=Math.min($,M.value.length);else{var J=M.ownerDocument||document,U=J&&J.defaultView||window;if(U.getSelection){var V=U.getSelection(),de=M.textContent.length,Se=Math.min(B.start,de),Ze=B.end===void 0?Se:Math.min(B.end,de);!V.extend&&Se>Ze&&(E=Ze,Ze=Se,Se=E);var j=Lp(M,Se),N=Lp(M,Ze);if(j&&N&&(V.rangeCount!==1||V.anchorNode!==j.node||V.anchorOffset!==j.offset||V.focusNode!==N.node||V.focusOffset!==N.offset)){var I=J.createRange();I.setStart(j.node,j.offset),V.removeAllRanges(),Se>Ze?(V.addRange(I),V.extend(N.node,N.offset)):(I.setEnd(N.node,N.offset),V.addRange(I))}}}}for(J=[],V=M;V=V.parentNode;)V.nodeType===1&&J.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof M.focus=="function"&&M.focus(),M=0;M<J.length;M++){var Q=J[M];Q.element.scrollLeft=Q.left,Q.element.scrollTop=Q.top}}Ru=!!wd,Pd=wd=null}finally{qe=s,te.p=o,H.T=n}}e.current=t,ht=2}}function Qv(){if(ht===2){ht=0;var e=dn,t=xa,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=H.T,H.T=null;var o=te.p;te.p=2;var s=qe;qe|=4;try{Tv(e,t.alternate,t)}finally{qe=s,te.p=o,H.T=n}}ht=3}}function Jv(){if(ht===4||ht===3){ht=0,It();var e=dn,t=xa,n=Ur,o=jv;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ht=5:(ht=0,xa=dn=null,eh(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&&(cn=null),Ns(n),t=t.stateNode,me&&typeof me.onCommitFiberRoot=="function")try{me.onCommitFiberRoot(ue,t,void 0,(t.current.flags&128)===128)}catch{}if(o!==null){t=H.T,s=te.p,te.p=2,H.T=null;try{for(var v=e.onRecoverableError,E=0;E<o.length;E++){var M=o[E];v(M.value,{componentStack:M.stack})}}finally{H.T=t,te.p=s}}(Ur&3)!==0&&Su(),Dr(e),s=e.pendingLanes,(n&261930)!==0&&(s&42)!==0?e===md?Hi++:(Hi=0,md=e):Hi=0,Ii(0)}}function eh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Di(t)))}function Su(){return $v(),Qv(),Jv(),th()}function th(){if(ht!==5)return!1;var e=dn,t=vd;vd=0;var n=Ns(Ur),o=H.T,s=te.p;try{te.p=32>n?32:n,H.T=null,n=hd,hd=null;var v=dn,E=Ur;if(ht=0,xa=dn=null,Ur=0,(qe&6)!==0)throw Error(u(331));var M=qe;if(qe|=4,Fv(v.current),xv(v,v.current,E,n),qe=M,Ii(0,!1),me&&typeof me.onPostCommitFiberRoot=="function")try{me.onPostCommitFiberRoot(ue,v)}catch{}return!0}finally{te.p=s,H.T=o,eh(e,t)}}function rh(e,t,n){t=tr(n,t),t=Zc(e.stateNode,t,2),e=nn(e,t,2),e!==null&&(li(e,2),Dr(e))}function Ye(e,t,n){if(e.tag===3)rh(e,e,n);else for(;t!==null;){if(t.tag===3){rh(t,e,n);break}else if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(cn===null||!cn.has(o))){e=tr(n,e),n=nv(2),o=nn(t,n,2),o!==null&&(av(n,o,t,e),li(o,2),Dr(o));break}}t=t.return}}function Sd(e,t,n){var o=e.pingCache;if(o===null){o=e.pingCache=new ZD;var s=new Set;o.set(t,s)}else s=o.get(t),s===void 0&&(s=new Set,o.set(t,s));s.has(n)||(fd=!0,s.add(n),e=eO.bind(null,e,t,n),t.then(e,e))}function eO(e,t,n){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,$e===e&&(Be&n)===n&&(ot===4||ot===3&&(Be&62914560)===Be&&300>rt()-gu?(qe&2)===0&&Ba(e,0):pd|=n,Ra===Be&&(Ra=0)),Dr(e)}function nh(e,t){t===0&&(t=$0()),e=kn(e,t),e!==null&&(li(e,t),Dr(e))}function tO(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),nh(e,n)}function rO(e,t){var n=0;switch(e.tag){case 31:case 13:var o=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(u(314))}o!==null&&o.delete(t),nh(e,n)}function nO(e,t){return lt(e,t)}var Du=null,Fa=null,Dd=!1,Ou=!1,Od=!1,pn=0;function Dr(e){e!==Fa&&e.next===null&&(Fa===null?Du=Fa=e:Fa=Fa.next=e),Ou=!0,Dd||(Dd=!0,iO())}function Ii(e,t){if(!Od&&Ou){Od=!0;do for(var n=!1,o=Du;o!==null;){if(e!==0){var s=o.pendingLanes;if(s===0)var v=0;else{var E=o.suspendedLanes,M=o.pingedLanes;v=(1<<31-We(42|e)+1)-1,v&=s&~(E&~M),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(n=!0,lh(o,v))}else v=Be,v=Tl(o,o===$e?v:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(v&3)===0||oi(o,v)||(n=!0,lh(o,v));o=o.next}while(n);Od=!1}}function aO(){ah()}function ah(){Ou=Dd=!1;var e=0;pn!==0&&vO()&&(e=pn);for(var t=rt(),n=null,o=Du;o!==null;){var s=o.next,v=ih(o,t);v===0?(o.next=null,n===null?Du=s:n.next=s,s===null&&(Fa=n)):(n=o,(e!==0||(v&3)!==0)&&(Ou=!0)),o=s}ht!==0&&ht!==5||Ii(e),pn!==0&&(pn=0)}function ih(e,t){for(var n=e.suspendedLanes,o=e.pingedLanes,s=e.expirationTimes,v=e.pendingLanes&-62914561;0<v;){var E=31-We(v),M=1<<E,B=s[E];B===-1?((M&n)===0||(M&o)!==0)&&(s[E]=P5(M,t)):B<=t&&(e.expiredLanes|=M),v&=~M}if(t=$e,n=Be,n=Tl(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,n===0||e===t&&(Ge===2||Ge===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&Mt(o),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||oi(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(o!==null&&Mt(o),Ns(n)){case 2:case 8:n=Tr;break;case 32:n=mr;break;case 268435456:n=ta;break;default:n=mr}return o=oh.bind(null,e),n=lt(n,o),e.callbackPriority=t,e.callbackNode=n,t}return o!==null&&o!==null&&Mt(o),e.callbackPriority=2,e.callbackNode=null,2}function oh(e,t){if(ht!==0&&ht!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Su()&&e.callbackNode!==n)return null;var o=Be;return o=Tl(e,e===$e?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(Iv(e,o,t),ih(e,rt()),e.callbackNode!=null&&e.callbackNode===n?oh.bind(null,e):null)}function lh(e,t){if(Su())return null;Iv(e,t,!0)}function iO(){mO(function(){(qe&6)!==0?lt(Jn,aO):ah()})}function Ed(){if(pn===0){var e=Da;e===0&&(e=El,El<<=1,(El&261888)===0&&(El=256)),pn=e}return pn}function uh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:wl(""+e)}function sh(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function oO(e,t,n,o,s){if(t==="submit"&&n&&n.stateNode===s){var v=uh((s[Rt]||null).action),E=o.submitter;E&&(t=(t=E[Rt]||null)?uh(t.formAction):E.getAttribute("formAction"),t!==null&&(v=t,E=null));var M=new Bl("action","action",null,o,s);e.push({event:M,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(pn!==0){var B=E?sh(s,E):new FormData(s);Uc(n,{pending:!0,data:B,method:s.method,action:v},null,B)}}else typeof v=="function"&&(M.preventDefault(),B=E?sh(s,E):new FormData(s),Uc(n,{pending:!0,data:B,method:s.method,action:v},v,B))},currentTarget:s}]})}}for(var Cd=0;Cd<oc.length;Cd++){var _d=oc[Cd],lO=_d.toLowerCase(),uO=_d[0].toUpperCase()+_d.slice(1);cr(lO,"on"+uO)}cr(Hp,"onAnimationEnd"),cr(Ip,"onAnimationIteration"),cr(qp,"onAnimationStart"),cr("dblclick","onDoubleClick"),cr("focusin","onFocus"),cr("focusout","onBlur"),cr(CD,"onTransitionRun"),cr(_D,"onTransitionStart"),cr(TD,"onTransitionCancel"),cr(Up,"onTransitionEnd"),la("onMouseEnter",["mouseout","mouseover"]),la("onMouseLeave",["mouseout","mouseover"]),la("onPointerEnter",["pointerout","pointerover"]),la("onPointerLeave",["pointerout","pointerover"]),En("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),En("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),En("onBeforeInput",["compositionend","keypress","textInput","paste"]),En("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),En("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),En("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var qi="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(" "),sO=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(qi));function ch(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var o=e[n],s=o.event;o=o.listeners;e:{var v=void 0;if(t)for(var E=o.length-1;0<=E;E--){var M=o[E],B=M.instance,q=M.currentTarget;if(M=M.listener,B!==v&&s.isPropagationStopped())break e;v=M,s.currentTarget=q;try{v(s)}catch($){Nl($)}s.currentTarget=null,v=B}else for(E=0;E<o.length;E++){if(M=o[E],B=M.instance,q=M.currentTarget,M=M.listener,B!==v&&s.isPropagationStopped())break e;v=M,s.currentTarget=q;try{v(s)}catch($){Nl($)}s.currentTarget=null,v=B}}}}function xe(e,t){var n=t[zs];n===void 0&&(n=t[zs]=new Set);var o=e+"__bubble";n.has(o)||(dh(t,e,2,!1),n.add(o))}function Td(e,t,n){var o=0;t&&(o|=4),dh(n,e,o,t)}var Eu="_reactListening"+Math.random().toString(36).slice(2);function kd(e){if(!e[Eu]){e[Eu]=!0,ap.forEach(function(n){n!=="selectionchange"&&(sO.has(n)||Td(n,!1,e),Td(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Eu]||(t[Eu]=!0,Td("selectionchange",!1,t))}}function dh(e,t,n,o){switch(Hh(t)){case 2:var s=NO;break;case 8:s=zO;break;default:s=qd}n=s.bind(null,t,n,e),s=void 0,!Vs||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),o?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function Ad(e,t,n,o,s){var v=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var E=o.tag;if(E===3||E===4){var M=o.stateNode.containerInfo;if(M===s)break;if(E===4)for(E=o.return;E!==null;){var B=E.tag;if((B===3||B===4)&&E.stateNode.containerInfo===s)return;E=E.return}for(;M!==null;){if(E=aa(M),E===null)return;if(B=E.tag,B===5||B===6||B===26||B===27){o=v=E;continue e}M=M.parentNode}}o=o.return}hp(function(){var q=v,$=Gs(n),J=[];e:{var U=Wp.get(e);if(U!==void 0){var V=Bl,de=e;switch(e){case"keypress":if(Rl(n)===0)break e;case"keydown":case"keyup":V=rD;break;case"focusin":de="focus",V=$s;break;case"focusout":de="blur",V=$s;break;case"beforeblur":case"afterblur":V=$s;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":V=yp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=W5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=iD;break;case Hp:case Ip:case qp:V=V5;break;case Up:V=lD;break;case"scroll":case"scrollend":V=q5;break;case"wheel":V=sD;break;case"copy":case"cut":case"paste":V=Z5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=Dp;break;case"toggle":case"beforetoggle":V=dD}var Se=(t&4)!==0,Ze=!Se&&(e==="scroll"||e==="scrollend"),j=Se?U!==null?U+"Capture":null:U;Se=[];for(var N=q,I;N!==null;){var Q=N;if(I=Q.stateNode,Q=Q.tag,Q!==5&&Q!==26&&Q!==27||I===null||j===null||(Q=ci(N,j),Q!=null&&Se.push(Ui(N,Q,I))),Ze)break;N=N.return}0<Se.length&&(U=new V(U,de,null,n,$),J.push({event:U,listeners:Se}))}}if((t&7)===0){e:{if(U=e==="mouseover"||e==="pointerover",V=e==="mouseout"||e==="pointerout",U&&n!==Ws&&(de=n.relatedTarget||n.fromElement)&&(aa(de)||de[na]))break e;if((V||U)&&(U=$.window===$?$:(U=$.ownerDocument)?U.defaultView||U.parentWindow:window,V?(de=n.relatedTarget||n.toElement,V=q,de=de?aa(de):null,de!==null&&(Ze=f(de),Se=de.tag,de!==Ze||Se!==5&&Se!==27&&Se!==6)&&(de=null)):(V=null,de=q),V!==de)){if(Se=yp,Q="onMouseLeave",j="onMouseEnter",N="mouse",(e==="pointerout"||e==="pointerover")&&(Se=Dp,Q="onPointerLeave",j="onPointerEnter",N="pointer"),Ze=V==null?U:si(V),I=de==null?U:si(de),U=new Se(Q,N+"leave",V,n,$),U.target=Ze,U.relatedTarget=I,Q=null,aa($)===q&&(Se=new Se(j,N+"enter",de,n,$),Se.target=I,Se.relatedTarget=Ze,Q=Se),Ze=Q,V&&de)t:{for(Se=cO,j=V,N=de,I=0,Q=j;Q;Q=Se(Q))I++;Q=0;for(var be=N;be;be=Se(be))Q++;for(;0<I-Q;)j=Se(j),I--;for(;0<Q-I;)N=Se(N),Q--;for(;I--;){if(j===N||N!==null&&j===N.alternate){Se=j;break t}j=Se(j),N=Se(N)}Se=null}else Se=null;V!==null&&fh(J,U,V,Se,!1),de!==null&&Ze!==null&&fh(J,Ze,de,Se,!0)}}e:{if(U=q?si(q):window,V=U.nodeName&&U.nodeName.toLowerCase(),V==="select"||V==="input"&&U.type==="file")var Ne=Mp;else if(kp(U))if(wp)Ne=DD;else{Ne=yD;var he=bD}else V=U.nodeName,!V||V.toLowerCase()!=="input"||U.type!=="checkbox"&&U.type!=="radio"?q&&Us(q.elementType)&&(Ne=Mp):Ne=SD;if(Ne&&(Ne=Ne(e,q))){Ap(J,Ne,n,$);break e}he&&he(e,U,q),e==="focusout"&&q&&U.type==="number"&&q.memoizedProps.value!=null&&qs(U,"number",U.value)}switch(he=q?si(q):window,e){case"focusin":(kp(he)||he.contentEditable==="true")&&(pa=he,nc=q,bi=null);break;case"focusout":bi=nc=pa=null;break;case"mousedown":ac=!0;break;case"contextmenu":case"mouseup":case"dragend":ac=!1,zp(J,n,$);break;case"selectionchange":if(ED)break;case"keydown":case"keyup":zp(J,n,$)}var Ae;if(Js)e:{switch(e){case"compositionstart":var Le="onCompositionStart";break e;case"compositionend":Le="onCompositionEnd";break e;case"compositionupdate":Le="onCompositionUpdate";break e}Le=void 0}else fa?_p(e,n)&&(Le="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Le="onCompositionStart");Le&&(Op&&n.locale!=="ko"&&(fa||Le!=="onCompositionStart"?Le==="onCompositionEnd"&&fa&&(Ae=mp()):(Xr=$,Ks="value"in Xr?Xr.value:Xr.textContent,fa=!0)),he=Cu(q,Le),0<he.length&&(Le=new Sp(Le,e,null,n,$),J.push({event:Le,listeners:he}),Ae?Le.data=Ae:(Ae=Tp(n),Ae!==null&&(Le.data=Ae)))),(Ae=pD?gD(e,n):vD(e,n))&&(Le=Cu(q,"onBeforeInput"),0<Le.length&&(he=new Sp("onBeforeInput","beforeinput",null,n,$),J.push({event:he,listeners:Le}),he.data=Ae)),oO(J,e,q,n,$)}ch(J,t)})}function Ui(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Cu(e,t){for(var n=t+"Capture",o=[];e!==null;){var s=e,v=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||v===null||(s=ci(e,n),s!=null&&o.unshift(Ui(e,s,v)),s=ci(e,t),s!=null&&o.push(Ui(e,s,v))),e.tag===3)return o;e=e.return}return[]}function cO(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function fh(e,t,n,o,s){for(var v=t._reactName,E=[];n!==null&&n!==o;){var M=n,B=M.alternate,q=M.stateNode;if(M=M.tag,B!==null&&B===o)break;M!==5&&M!==26&&M!==27||q===null||(B=q,s?(q=ci(n,v),q!=null&&E.unshift(Ui(n,q,B))):s||(q=ci(n,v),q!=null&&E.push(Ui(n,q,B)))),n=n.return}E.length!==0&&e.push({event:t,listeners:E})}var dO=/\r\n?/g,fO=/\u0000|\uFFFD/g;function ph(e){return(typeof e=="string"?e:""+e).replace(dO,`
9
+ `).replace(fO,"")}function gh(e,t){return t=ph(t),ph(e)===t}function Ke(e,t,n,o,s,v){switch(n){case"children":typeof o=="string"?t==="body"||t==="textarea"&&o===""||sa(e,o):(typeof o=="number"||typeof o=="bigint")&&t!=="body"&&sa(e,""+o);break;case"className":Al(e,"class",o);break;case"tabIndex":Al(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Al(e,n,o);break;case"style":gp(e,o,v);break;case"data":if(t!=="object"){Al(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(n);break}o=wl(""+o),e.setAttribute(n,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(n,"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"&&(n==="formAction"?(t!=="input"&&Ke(e,t,"name",s.name,s,null),Ke(e,t,"formEncType",s.formEncType,s,null),Ke(e,t,"formMethod",s.formMethod,s,null),Ke(e,t,"formTarget",s.formTarget,s,null)):(Ke(e,t,"encType",s.encType,s,null),Ke(e,t,"method",s.method,s,null),Ke(e,t,"target",s.target,s,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(n);break}o=wl(""+o),e.setAttribute(n,o);break;case"onClick":o!=null&&(e.onclick=Ar);break;case"onScroll":o!=null&&xe("scroll",e);break;case"onScrollEnd":o!=null&&xe("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(u(61));if(n=o.__html,n!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=n}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}n=wl(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(n,""+o):e.removeAttribute(n);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":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":o===!0?e.setAttribute(n,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(n,o):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(n,o):e.removeAttribute(n);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(n):e.setAttribute(n,o);break;case"popover":xe("beforetoggle",e),xe("toggle",e),kl(e,"popover",o);break;case"xlinkActuate":kr(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":kr(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":kr(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":kr(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":kr(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":kr(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":kr(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":kr(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":kr(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":kl(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=H5.get(n)||n,kl(e,n,o))}}function Md(e,t,n,o,s,v){switch(n){case"style":gp(e,o,v);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(u(61));if(n=o.__html,n!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=n}}break;case"children":typeof o=="string"?sa(e,o):(typeof o=="number"||typeof o=="bigint")&&sa(e,""+o);break;case"onScroll":o!=null&&xe("scroll",e);break;case"onScrollEnd":o!=null&&xe("scrollend",e);break;case"onClick":o!=null&&(e.onclick=Ar);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ip.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),t=n.slice(2,s?n.length-7:void 0),v=e[Rt]||null,v=v!=null?v[n]:null,typeof v=="function"&&e.removeEventListener(t,v,s),typeof o=="function")){typeof v!="function"&&v!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,o,s);break e}n in e?e[n]=o:o===!0?e.setAttribute(n,""):kl(e,n,o)}}}function Ct(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":xe("error",e),xe("load",e);var o=!1,s=!1,v;for(v in n)if(n.hasOwnProperty(v)){var E=n[v];if(E!=null)switch(v){case"src":o=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:Ke(e,t,v,E,n,null)}}s&&Ke(e,t,"srcSet",n.srcSet,n,null),o&&Ke(e,t,"src",n.src,n,null);return;case"input":xe("invalid",e);var M=v=E=s=null,B=null,q=null;for(o in n)if(n.hasOwnProperty(o)){var $=n[o];if($!=null)switch(o){case"name":s=$;break;case"type":E=$;break;case"checked":B=$;break;case"defaultChecked":q=$;break;case"value":v=$;break;case"defaultValue":M=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(u(137,t));break;default:Ke(e,t,o,$,n,null)}}cp(e,v,M,B,q,E,s,!1);return;case"select":xe("invalid",e),o=E=v=null;for(s in n)if(n.hasOwnProperty(s)&&(M=n[s],M!=null))switch(s){case"value":v=M;break;case"defaultValue":E=M;break;case"multiple":o=M;default:Ke(e,t,s,M,n,null)}t=v,n=E,e.multiple=!!o,t!=null?ua(e,!!o,t,!1):n!=null&&ua(e,!!o,n,!0);return;case"textarea":xe("invalid",e),v=s=o=null;for(E in n)if(n.hasOwnProperty(E)&&(M=n[E],M!=null))switch(E){case"value":o=M;break;case"defaultValue":s=M;break;case"children":v=M;break;case"dangerouslySetInnerHTML":if(M!=null)throw Error(u(91));break;default:Ke(e,t,E,M,n,null)}fp(e,o,s,v);return;case"option":for(B in n)n.hasOwnProperty(B)&&(o=n[B],o!=null)&&(B==="selected"?e.selected=o&&typeof o!="function"&&typeof o!="symbol":Ke(e,t,B,o,n,null));return;case"dialog":xe("beforetoggle",e),xe("toggle",e),xe("cancel",e),xe("close",e);break;case"iframe":case"object":xe("load",e);break;case"video":case"audio":for(o=0;o<qi.length;o++)xe(qi[o],e);break;case"image":xe("error",e),xe("load",e);break;case"details":xe("toggle",e);break;case"embed":case"source":case"link":xe("error",e),xe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(q in n)if(n.hasOwnProperty(q)&&(o=n[q],o!=null))switch(q){case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:Ke(e,t,q,o,n,null)}return;default:if(Us(t)){for($ in n)n.hasOwnProperty($)&&(o=n[$],o!==void 0&&Md(e,t,$,o,n,void 0));return}}for(M in n)n.hasOwnProperty(M)&&(o=n[M],o!=null&&Ke(e,t,M,o,n,null))}function pO(e,t,n,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,v=null,E=null,M=null,B=null,q=null,$=null;for(V in n){var J=n[V];if(n.hasOwnProperty(V)&&J!=null)switch(V){case"checked":break;case"value":break;case"defaultValue":B=J;default:o.hasOwnProperty(V)||Ke(e,t,V,null,o,J)}}for(var U in o){var V=o[U];if(J=n[U],o.hasOwnProperty(U)&&(V!=null||J!=null))switch(U){case"type":v=V;break;case"name":s=V;break;case"checked":q=V;break;case"defaultChecked":$=V;break;case"value":E=V;break;case"defaultValue":M=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(u(137,t));break;default:V!==J&&Ke(e,t,U,V,o,J)}}Is(e,E,M,B,q,$,v,s);return;case"select":V=E=M=U=null;for(v in n)if(B=n[v],n.hasOwnProperty(v)&&B!=null)switch(v){case"value":break;case"multiple":V=B;default:o.hasOwnProperty(v)||Ke(e,t,v,null,o,B)}for(s in o)if(v=o[s],B=n[s],o.hasOwnProperty(s)&&(v!=null||B!=null))switch(s){case"value":U=v;break;case"defaultValue":M=v;break;case"multiple":E=v;default:v!==B&&Ke(e,t,s,v,o,B)}t=M,n=E,o=V,U!=null?ua(e,!!n,U,!1):!!o!=!!n&&(t!=null?ua(e,!!n,t,!0):ua(e,!!n,n?[]:"",!1));return;case"textarea":V=U=null;for(M in n)if(s=n[M],n.hasOwnProperty(M)&&s!=null&&!o.hasOwnProperty(M))switch(M){case"value":break;case"children":break;default:Ke(e,t,M,null,o,s)}for(E in o)if(s=o[E],v=n[E],o.hasOwnProperty(E)&&(s!=null||v!=null))switch(E){case"value":U=s;break;case"defaultValue":V=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(u(91));break;default:s!==v&&Ke(e,t,E,s,o,v)}dp(e,U,V);return;case"option":for(var de in n)U=n[de],n.hasOwnProperty(de)&&U!=null&&!o.hasOwnProperty(de)&&(de==="selected"?e.selected=!1:Ke(e,t,de,null,o,U));for(B in o)U=o[B],V=n[B],o.hasOwnProperty(B)&&U!==V&&(U!=null||V!=null)&&(B==="selected"?e.selected=U&&typeof U!="function"&&typeof U!="symbol":Ke(e,t,B,U,o,V));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 Se in n)U=n[Se],n.hasOwnProperty(Se)&&U!=null&&!o.hasOwnProperty(Se)&&Ke(e,t,Se,null,o,U);for(q in o)if(U=o[q],V=n[q],o.hasOwnProperty(q)&&U!==V&&(U!=null||V!=null))switch(q){case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(u(137,t));break;default:Ke(e,t,q,U,o,V)}return;default:if(Us(t)){for(var Ze in n)U=n[Ze],n.hasOwnProperty(Ze)&&U!==void 0&&!o.hasOwnProperty(Ze)&&Md(e,t,Ze,void 0,o,U);for($ in o)U=o[$],V=n[$],!o.hasOwnProperty($)||U===V||U===void 0&&V===void 0||Md(e,t,$,U,o,V);return}}for(var j in n)U=n[j],n.hasOwnProperty(j)&&U!=null&&!o.hasOwnProperty(j)&&Ke(e,t,j,null,o,U);for(J in o)U=o[J],V=n[J],!o.hasOwnProperty(J)||U===V||U==null&&V==null||Ke(e,t,J,U,o,V)}function vh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function gO(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),o=0;o<n.length;o++){var s=n[o],v=s.transferSize,E=s.initiatorType,M=s.duration;if(v&&M&&vh(E)){for(E=0,M=s.responseEnd,o+=1;o<n.length;o++){var B=n[o],q=B.startTime;if(q>M)break;var $=B.transferSize,J=B.initiatorType;$&&vh(J)&&(B=B.responseEnd,E+=$*(B<M?1:(M-q)/(B-q)))}if(--o,t+=8*(v+E)/(s.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var wd=null,Pd=null;function _u(e){return e.nodeType===9?e:e.ownerDocument}function hh(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function mh(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Rd(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var xd=null;function vO(){var e=window.event;return e&&e.type==="popstate"?e===xd?!1:(xd=e,!0):(xd=null,!1)}var bh=typeof setTimeout=="function"?setTimeout:void 0,hO=typeof clearTimeout=="function"?clearTimeout:void 0,yh=typeof Promise=="function"?Promise:void 0,mO=typeof queueMicrotask=="function"?queueMicrotask:typeof yh<"u"?function(e){return yh.resolve(null).then(e).catch(bO)}:bh;function bO(e){setTimeout(function(){throw e})}function gn(e){return e==="head"}function Sh(e,t){var n=t,o=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"||n==="/&"){if(o===0){e.removeChild(s),Ha(t);return}o--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")o++;else if(n==="html")Wi(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,Wi(n);for(var v=n.firstChild;v;){var E=v.nextSibling,M=v.nodeName;v[ui]||M==="SCRIPT"||M==="STYLE"||M==="LINK"&&v.rel.toLowerCase()==="stylesheet"||n.removeChild(v),v=E}}else n==="body"&&Wi(e.ownerDocument.body);n=s}while(n);Ha(t)}function Dh(e,t){var n=e;e=0;do{var o=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=o}while(n)}function Bd(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Bd(n),js(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function yO(e,t,n,o){for(;e.nodeType===1;){var s=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[ui])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(v=e.getAttribute("rel"),v==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(v!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(v=e.getAttribute("src"),(v!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&v&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var v=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===v)return e}else return e;if(e=or(e.nextSibling),e===null)break}return null}function SO(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=or(e.nextSibling),e===null))return null;return e}function Oh(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=or(e.nextSibling),e===null))return null;return e}function Ld(e){return e.data==="$?"||e.data==="$~"}function Fd(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function DO(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var o=function(){t(),n.removeEventListener("DOMContentLoaded",o)};n.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function or(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Nd=null;function Eh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return or(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function Ch(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function _h(e,t,n){switch(t=_u(n),e){case"html":if(e=t.documentElement,!e)throw Error(u(452));return e;case"head":if(e=t.head,!e)throw Error(u(453));return e;case"body":if(e=t.body,!e)throw Error(u(454));return e;default:throw Error(u(451))}}function Wi(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);js(e)}var lr=new Map,Th=new Set;function Tu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Wr=te.d;te.d={f:OO,r:EO,D:CO,C:_O,L:TO,m:kO,X:MO,S:AO,M:wO};function OO(){var e=Wr.f(),t=mu();return e||t}function EO(e){var t=ia(e);t!==null&&t.tag===5&&t.type==="form"?Ug(t):Wr.r(e)}var Na=typeof document>"u"?null:document;function kh(e,t,n){var o=Na;if(o&&typeof t=="string"&&t){var s=Jt(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),Th.has(s)||(Th.add(s),e={rel:e,crossOrigin:n,href:t},o.querySelector(s)===null&&(t=o.createElement("link"),Ct(t,"link",e),bt(t),o.head.appendChild(t)))}}function CO(e){Wr.D(e),kh("dns-prefetch",e,null)}function _O(e,t){Wr.C(e,t),kh("preconnect",e,t)}function TO(e,t,n){Wr.L(e,t,n);var o=Na;if(o&&e&&t){var s='link[rel="preload"][as="'+Jt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+Jt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+Jt(n.imageSizes)+'"]')):s+='[href="'+Jt(e)+'"]';var v=s;switch(t){case"style":v=za(e);break;case"script":v=ja(e)}lr.has(v)||(e=h({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),lr.set(v,e),o.querySelector(s)!==null||t==="style"&&o.querySelector(Gi(v))||t==="script"&&o.querySelector(Yi(v))||(t=o.createElement("link"),Ct(t,"link",e),bt(t),o.head.appendChild(t)))}}function kO(e,t){Wr.m(e,t);var n=Na;if(n&&e){var o=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+Jt(o)+'"][href="'+Jt(e)+'"]',v=s;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=ja(e)}if(!lr.has(v)&&(e=h({rel:"modulepreload",href:e},t),lr.set(v,e),n.querySelector(s)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Yi(v)))return}o=n.createElement("link"),Ct(o,"link",e),bt(o),n.head.appendChild(o)}}}function AO(e,t,n){Wr.S(e,t,n);var o=Na;if(o&&e){var s=oa(o).hoistableStyles,v=za(e);t=t||"default";var E=s.get(v);if(!E){var M={loading:0,preload:null};if(E=o.querySelector(Gi(v)))M.loading=5;else{e=h({rel:"stylesheet",href:e,"data-precedence":t},n),(n=lr.get(v))&&zd(e,n);var B=E=o.createElement("link");bt(B),Ct(B,"link",e),B._p=new Promise(function(q,$){B.onload=q,B.onerror=$}),B.addEventListener("load",function(){M.loading|=1}),B.addEventListener("error",function(){M.loading|=2}),M.loading|=4,ku(E,t,o)}E={type:"stylesheet",instance:E,count:1,state:M},s.set(v,E)}}}function MO(e,t){Wr.X(e,t);var n=Na;if(n&&e){var o=oa(n).hoistableScripts,s=ja(e),v=o.get(s);v||(v=n.querySelector(Yi(s)),v||(e=h({src:e,async:!0},t),(t=lr.get(s))&&jd(e,t),v=n.createElement("script"),bt(v),Ct(v,"link",e),n.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},o.set(s,v))}}function wO(e,t){Wr.M(e,t);var n=Na;if(n&&e){var o=oa(n).hoistableScripts,s=ja(e),v=o.get(s);v||(v=n.querySelector(Yi(s)),v||(e=h({src:e,async:!0,type:"module"},t),(t=lr.get(s))&&jd(e,t),v=n.createElement("script"),bt(v),Ct(v,"link",e),n.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},o.set(s,v))}}function Ah(e,t,n,o){var s=(s=le.current)?Tu(s):null;if(!s)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=za(n.href),n=oa(s).hoistableStyles,o=n.get(t),o||(o={type:"style",instance:null,count:0,state:null},n.set(t,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=za(n.href);var v=oa(s).hoistableStyles,E=v.get(e);if(E||(s=s.ownerDocument||s,E={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(e,E),(v=s.querySelector(Gi(e)))&&!v._p&&(E.instance=v,E.state.loading=5),lr.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},lr.set(e,n),v||PO(s,e,n,E.state))),t&&o===null)throw Error(u(528,""));return E}if(t&&o!==null)throw Error(u(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ja(n),n=oa(s).hoistableScripts,o=n.get(t),o||(o={type:"script",instance:null,count:0,state:null},n.set(t,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function za(e){return'href="'+Jt(e)+'"'}function Gi(e){return'link[rel="stylesheet"]['+e+"]"}function Mh(e){return h({},e,{"data-precedence":e.precedence,precedence:null})}function PO(e,t,n,o){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?o.loading=1:(t=e.createElement("link"),o.preload=t,t.addEventListener("load",function(){return o.loading|=1}),t.addEventListener("error",function(){return o.loading|=2}),Ct(t,"link",n),bt(t),e.head.appendChild(t))}function ja(e){return'[src="'+Jt(e)+'"]'}function Yi(e){return"script[async]"+e}function wh(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+Jt(n.href)+'"]');if(o)return t.instance=o,bt(o),o;var s=h({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),bt(o),Ct(o,"style",s),ku(o,n.precedence,e),t.instance=o;case"stylesheet":s=za(n.href);var v=e.querySelector(Gi(s));if(v)return t.state.loading|=4,t.instance=v,bt(v),v;o=Mh(n),(s=lr.get(s))&&zd(o,s),v=(e.ownerDocument||e).createElement("link"),bt(v);var E=v;return E._p=new Promise(function(M,B){E.onload=M,E.onerror=B}),Ct(v,"link",o),t.state.loading|=4,ku(v,n.precedence,e),t.instance=v;case"script":return v=ja(n.src),(s=e.querySelector(Yi(v)))?(t.instance=s,bt(s),s):(o=n,(s=lr.get(v))&&(o=h({},n),jd(o,s)),e=e.ownerDocument||e,s=e.createElement("script"),bt(s),Ct(s,"link",o),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error(u(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(o=t.instance,t.state.loading|=4,ku(o,n.precedence,e));return t.instance}function ku(e,t,n){for(var o=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=o.length?o[o.length-1]:null,v=s,E=0;E<o.length;E++){var M=o[E];if(M.dataset.precedence===t)v=M;else if(v!==s)break}v?v.parentNode.insertBefore(e,v.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function zd(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function jd(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Au=null;function Ph(e,t,n){if(Au===null){var o=new Map,s=Au=new Map;s.set(n,o)}else s=Au,o=s.get(n),o||(o=new Map,s.set(n,o));if(o.has(e))return o;for(o.set(e,null),n=n.getElementsByTagName(e),s=0;s<n.length;s++){var v=n[s];if(!(v[ui]||v[St]||e==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var E=v.getAttribute(t)||"";E=e+E;var M=o.get(E);M?M.push(v):o.set(E,[v])}}return o}function Rh(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function RO(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function xh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function xO(e,t,n,o){if(n.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var s=za(o.href),v=t.querySelector(Gi(s));if(v){t=v._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Mu.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=v,bt(v);return}v=t.ownerDocument||t,o=Mh(o),(s=lr.get(s))&&zd(o,s),v=v.createElement("link"),bt(v);var E=v;E._p=new Promise(function(M,B){E.onload=M,E.onerror=B}),Ct(v,"link",o),n.instance=v}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=Mu.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var Hd=0;function BO(e,t){return e.stylesheets&&e.count===0&&Pu(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var o=setTimeout(function(){if(e.stylesheets&&Pu(e,e.stylesheets),e.unsuspend){var v=e.unsuspend;e.unsuspend=null,v()}},6e4+t);0<e.imgBytes&&Hd===0&&(Hd=62500*gO());var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Pu(e,e.stylesheets),e.unsuspend)){var v=e.unsuspend;e.unsuspend=null,v()}},(e.imgBytes>Hd?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(s)}}:null}function Mu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Pu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var wu=null;function Pu(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,wu=new Map,t.forEach(LO,e),wu=null,Mu.call(e))}function LO(e,t){if(!(t.state.loading&4)){var n=wu.get(e);if(n)var o=n.get(null);else{n=new Map,wu.set(e,n);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<s.length;v++){var E=s[v];(E.nodeName==="LINK"||E.getAttribute("media")!=="not all")&&(n.set(E.dataset.precedence,E),o=E)}o&&n.set(null,o)}s=t.instance,E=s.getAttribute("data-precedence"),v=n.get(E)||o,v===o&&n.set(null,s),n.set(E,s),this.count++,o=Mu.bind(this),s.addEventListener("load",o),s.addEventListener("error",o),v?v.parentNode.insertBefore(s,v.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=4}}var Vi={$$typeof:k,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function FO(e,t,n,o,s,v,E,M,B){this.tag=1,this.containerInfo=e,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=Ls(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ls(0),this.hiddenUpdates=Ls(null),this.identifierPrefix=o,this.onUncaughtError=s,this.onCaughtError=v,this.onRecoverableError=E,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=B,this.incompleteTransitions=new Map}function Bh(e,t,n,o,s,v,E,M,B,q,$,J){return e=new FO(e,t,n,E,B,q,$,J,M),t=1,v===!0&&(t|=24),v=Ut(3,null,null,t),e.current=v,v.stateNode=e,t=yc(),t.refCount++,e.pooledCache=t,t.refCount++,v.memoizedState={element:o,isDehydrated:n,cache:t},Ec(v),e}function Lh(e){return e?(e=ha,e):ha}function Fh(e,t,n,o,s,v){s=Lh(s),o.context===null?o.context=s:o.pendingContext=s,o=rn(t),o.payload={element:n},v=v===void 0?null:v,v!==null&&(o.callback=v),n=nn(e,o,t),n!==null&&(zt(n,e,t),_i(n,e,t))}function Nh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Id(e,t){Nh(e,t),(e=e.alternate)&&Nh(e,t)}function zh(e){if(e.tag===13||e.tag===31){var t=kn(e,67108864);t!==null&&zt(t,e,67108864),Id(e,67108864)}}function jh(e){if(e.tag===13||e.tag===31){var t=Kt();t=Fs(t);var n=kn(e,t);n!==null&&zt(n,e,t),Id(e,t)}}var Ru=!0;function NO(e,t,n,o){var s=H.T;H.T=null;var v=te.p;try{te.p=2,qd(e,t,n,o)}finally{te.p=v,H.T=s}}function zO(e,t,n,o){var s=H.T;H.T=null;var v=te.p;try{te.p=8,qd(e,t,n,o)}finally{te.p=v,H.T=s}}function qd(e,t,n,o){if(Ru){var s=Ud(o);if(s===null)Ad(e,t,o,xu,n),Ih(e,o);else if(HO(s,e,t,n,o))o.stopPropagation();else if(Ih(e,o),t&4&&-1<jO.indexOf(e)){for(;s!==null;){var v=ia(s);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var E=On(v.pendingLanes);if(E!==0){var M=v;for(M.pendingLanes|=2,M.entangledLanes|=2;E;){var B=1<<31-We(E);M.entanglements[1]|=B,E&=~B}Dr(v),(qe&6)===0&&(vu=rt()+500,Ii(0))}}break;case 31:case 13:M=kn(v,2),M!==null&&zt(M,v,2),mu(),Id(v,2)}if(v=Ud(o),v===null&&Ad(e,t,o,xu,n),v===s)break;s=v}s!==null&&o.stopPropagation()}else Ad(e,t,o,null,n)}}function Ud(e){return e=Gs(e),Wd(e)}var xu=null;function Wd(e){if(xu=null,e=aa(e),e!==null){var t=f(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=l(t),e!==null)return e;e=null}else if(n===31){if(e=m(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return xu=e,null}function Hh(e){switch(e){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(ii()){case Jn:return 2;case Tr:return 8;case mr:case ea:return 32;case ta:return 268435456;default:return 32}default:return 32}}var Gd=!1,vn=null,hn=null,mn=null,Ki=new Map,Zi=new Map,bn=[],jO="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 Ih(e,t){switch(e){case"focusin":case"focusout":vn=null;break;case"dragenter":case"dragleave":hn=null;break;case"mouseover":case"mouseout":mn=null;break;case"pointerover":case"pointerout":Ki.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zi.delete(t.pointerId)}}function Xi(e,t,n,o,s,v){return e===null||e.nativeEvent!==v?(e={blockedOn:t,domEventName:n,eventSystemFlags:o,nativeEvent:v,targetContainers:[s]},t!==null&&(t=ia(t),t!==null&&zh(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function HO(e,t,n,o,s){switch(t){case"focusin":return vn=Xi(vn,e,t,n,o,s),!0;case"dragenter":return hn=Xi(hn,e,t,n,o,s),!0;case"mouseover":return mn=Xi(mn,e,t,n,o,s),!0;case"pointerover":var v=s.pointerId;return Ki.set(v,Xi(Ki.get(v)||null,e,t,n,o,s)),!0;case"gotpointercapture":return v=s.pointerId,Zi.set(v,Xi(Zi.get(v)||null,e,t,n,o,s)),!0}return!1}function qh(e){var t=aa(e.target);if(t!==null){var n=f(t);if(n!==null){if(t=n.tag,t===13){if(t=l(n),t!==null){e.blockedOn=t,rp(e.priority,function(){jh(n)});return}}else if(t===31){if(t=m(n),t!==null){e.blockedOn=t,rp(e.priority,function(){jh(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Bu(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ud(e.nativeEvent);if(n===null){n=e.nativeEvent;var o=new n.constructor(n.type,n);Ws=o,n.target.dispatchEvent(o),Ws=null}else return t=ia(n),t!==null&&zh(t),e.blockedOn=n,!1;t.shift()}return!0}function Uh(e,t,n){Bu(e)&&n.delete(t)}function IO(){Gd=!1,vn!==null&&Bu(vn)&&(vn=null),hn!==null&&Bu(hn)&&(hn=null),mn!==null&&Bu(mn)&&(mn=null),Ki.forEach(Uh),Zi.forEach(Uh)}function Lu(e,t){e.blockedOn===t&&(e.blockedOn=null,Gd||(Gd=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,IO)))}var Fu=null;function Wh(e){Fu!==e&&(Fu=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){Fu===e&&(Fu=null);for(var t=0;t<e.length;t+=3){var n=e[t],o=e[t+1],s=e[t+2];if(typeof o!="function"){if(Wd(o||n)===null)continue;break}var v=ia(n);v!==null&&(e.splice(t,3),t-=3,Uc(v,{pending:!0,data:s,method:n.method,action:o},o,s))}}))}function Ha(e){function t(B){return Lu(B,e)}vn!==null&&Lu(vn,e),hn!==null&&Lu(hn,e),mn!==null&&Lu(mn,e),Ki.forEach(t),Zi.forEach(t);for(var n=0;n<bn.length;n++){var o=bn[n];o.blockedOn===e&&(o.blockedOn=null)}for(;0<bn.length&&(n=bn[0],n.blockedOn===null);)qh(n),n.blockedOn===null&&bn.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(o=0;o<n.length;o+=3){var s=n[o],v=n[o+1],E=s[Rt]||null;if(typeof v=="function")E||Wh(n);else if(E){var M=null;if(v&&v.hasAttribute("formAction")){if(s=v,E=v[Rt]||null)M=E.formAction;else if(Wd(s)!==null)continue}else M=E.action;typeof M=="function"?n[o+1]=M:(n.splice(o,3),o-=3),Wh(n)}}}function Gh(){function e(v){v.canIntercept&&v.info==="react-transition"&&v.intercept({handler:function(){return new Promise(function(E){return s=E})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),o||setTimeout(n,20)}function n(){if(!o&&!navigation.transition){var v=navigation.currentEntry;v&&v.url!=null&&navigation.navigate(v.url,{state:v.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function Yd(e){this._internalRoot=e}Nu.prototype.render=Yd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(u(409));var n=t.current,o=Kt();Fh(n,o,e,t,null,null)},Nu.prototype.unmount=Yd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Fh(e.current,2,null,e,null,null),mu(),t[na]=null}};function Nu(e){this._internalRoot=e}Nu.prototype.unstable_scheduleHydration=function(e){if(e){var t=tp();e={blockedOn:null,target:e,priority:t};for(var n=0;n<bn.length&&t!==0&&t<bn[n].priority;n++);bn.splice(n,0,e),n===0&&qh(e)}};var Yh=a.version;if(Yh!=="19.2.0")throw Error(u(527,Yh,"19.2.0"));te.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(u(188)):(e=Object.keys(e).join(","),Error(u(268,e)));return e=d(t),e=e!==null?b(e):null,e=e===null?null:e.stateNode,e};var qO={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var zu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zu.isDisabled&&zu.supportsFiber)try{ue=zu.inject(qO),me=zu}catch{}}return Qi.createRoot=function(e,t){if(!c(e))throw Error(u(299));var n=!1,o="",s=Jg,v=ev,E=tv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(v=t.onCaughtError),t.onRecoverableError!==void 0&&(E=t.onRecoverableError)),t=Bh(e,1,!1,null,null,n,o,null,s,v,E,Gh),e[na]=t.current,kd(e),new Yd(t)},Qi.hydrateRoot=function(e,t,n){if(!c(e))throw Error(u(299));var o=!1,s="",v=Jg,E=ev,M=tv,B=null;return n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(v=n.onUncaughtError),n.onCaughtError!==void 0&&(E=n.onCaughtError),n.onRecoverableError!==void 0&&(M=n.onRecoverableError),n.formState!==void 0&&(B=n.formState)),t=Bh(e,1,!0,t,n??null,o,s,B,v,E,M,Gh),t.context=Lh(null),n=t.current,o=Kt(),o=Fs(o),s=rn(o),s.callback=null,nn(n,s,o),n=o,t.current.lanes=n,li(t,n),Dr(t),e[na]=t.current,kd(e),new Nu(t)},Qi.version="19.2.0",Qi}var rm;function QO(){if(rm)return Zd.exports;rm=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(a){console.error(a)}}return r(),Zd.exports=$O(),Zd.exports}var JO=QO(),Jd={},ef={},Hn={},tf={},Ji={},eo={},rf={},Gr={},nm;function pl(){if(nm)return Gr;nm=1,Object.defineProperty(Gr,"__esModule",{value:!0}),Gr.primitiveLightColors=Gr.primitiveDarkColors=Gr.default=void 0;const r=Gr.default={white:"#FFFFFF",gray50:"#F3F3F3",gray100:"#E8E8E8",gray200:"#DDDDDD",gray300:"#C6C6C6",gray400:"#A6A6A6",gray500:"#868686",gray600:"#727272",gray700:"#5E5E5E",gray800:"#4B4B4B",gray900:"#282828",black:"#000000",platinum50:"#F4FAFB",platinum100:"#EBF5F7",platinum200:"#CCDFE5",platinum300:"#A1BDCA",platinum400:"#8EA3AD",platinum500:"#6C7C83",platinum600:"#556268",platinum700:"#394145",platinum800:"#142328",red50:"#FFF0EE",red100:"#FFE1DE",red200:"#FFD2CD",red300:"#FFB2AB",red400:"#FC7F79",red500:"#F83446",red600:"#DE1135",red700:"#BB032A",red800:"#950F22",red900:"#520810",orange50:"#FFF0E9",orange100:"#FEE2D4",orange200:"#FFD3BC",orange300:"#FFB48C",orange400:"#FC823A",orange500:"#E65300",orange600:"#C54600",orange700:"#A33B04",orange800:"#823006",orange900:"#461A00",amber50:"#FFF1E1",amber100:"#FFE4B7",amber200:"#FFD5A1",amber300:"#FFB749",amber400:"#DF9500",amber500:"#C46E00",amber600:"#A95F03",amber700:"#904A07",amber800:"#763A00",amber900:"#401E04",yellow50:"#FDF2DC",yellow100:"#FBE5B6",yellow200:"#FFD688",yellow300:"#F6BC2F",yellow400:"#D79900",yellow500:"#B97502",yellow600:"#9F6402",yellow700:"#845201",yellow800:"#6B4100",yellow900:"#392300",lime50:"#EEF6E3",lime100:"#DEEEC6",lime200:"#CAE6A0",lime300:"#A6D467",lime400:"#77B71C",lime500:"#5B9500",lime600:"#4F7F06",lime700:"#3F6900",lime800:"#365310",lime900:"#1B2D00",green50:"#EAF6ED",green100:"#D3EFDA",green200:"#B1EAC2",green300:"#7FD99A",green400:"#06C167",green500:"#009A51",green600:"#0E8345",green700:"#166C3B",green800:"#0D572D",green900:"#002F14",teal50:"#E2F8FB",teal100:"#CDEEF3",teal200:"#B0E7EF",teal300:"#77D5E3",teal400:"#01B8CA",teal500:"#0095A4",teal600:"#007F8C",teal700:"#016974",teal800:"#1A535A",teal900:"#002D33",blue50:"#EFF4FE",blue100:"#DEE9FE",blue200:"#CDDEFF",blue300:"#A9C9FF",blue400:"#6DAAFB",blue500:"#068BEE",blue600:"#276EF1",blue700:"#175BCC",blue800:"#1948A3",blue900:"#002661",cobalt50:"#EBEDFA",cobalt100:"#D2D7F0",cobalt200:"#949CE3",cobalt300:"#535FCF",cobalt400:"#0E1FC1",cobalt500:"#0A1899",cobalt600:"#081270",cobalt700:"#050C4D",purple50:"#F9F1FF",purple100:"#F2E3FF",purple200:"#EBD5FF",purple300:"#DDB9FF",purple400:"#C490F9",purple500:"#A964F7",purple600:"#944DE7",purple700:"#7C3EC3",purple800:"#633495",purple900:"#3A1659",magenta50:"#FEEFF9",magenta100:"#FEDFF3",magenta200:"#FFCEF2",magenta300:"#FFACE5",magenta400:"#F877D2",magenta500:"#E142BC",magenta600:"#CA26A5",magenta700:"#A91A90",magenta800:"#891869",magenta900:"#50003F",brown50:"#F6F0EA",brown100:"#EBE0DB",brown200:"#D2BBB0",brown300:"#B18977",brown400:"#99644C",brown500:"#744C3A",brown600:"#5C3C2E",brown700:"#3D281E",brandDefault50:"#EFF4FE",brandDefault100:"#DEE9FE",brandDefault200:"#CDDEFF",brandDefault300:"#A9C9FF",brandDefault400:"#6DAAFB",brandDefault500:"#068BEE",brandDefault600:"#276EF1",brandDefault700:"#175BCC",brandDefault800:"#1948A3",brandDefault900:"#002661",gray50Dark:"#161616",gray100Dark:"#292929",gray200Dark:"#383838",gray300Dark:"#484848",gray400Dark:"#5D5D5D",gray500Dark:"#717171",gray600Dark:"#8C8C8C",gray700Dark:"#ABABAB",gray800Dark:"#C4C4C4",gray900Dark:"#DEDEDE",red50Dark:"#2E0608",red100Dark:"#4A1216",red200Dark:"#621C20",red300Dark:"#7F1F26",red400Dark:"#A32C34",red500Dark:"#C33840",red600Dark:"#DE5B5D",red700Dark:"#EA9B98",red800Dark:"#EFBCB9",red900Dark:"#F2D7D5",orange50Dark:"#260F03",orange100Dark:"#401F0C",orange200Dark:"#562A12",orange300Dark:"#6D3715",orange400Dark:"#8C4922",orange500Dark:"#AB5727",orange600Dark:"#C97245",orange700Dark:"#ED9E74",orange800Dark:"#F1BDA3",orange900Dark:"#F8D6C5",amber50Dark:"#241003",amber100Dark:"#3C220F",amber200Dark:"#502F18",amber300Dark:"#653D18",amber400Dark:"#805127",amber500Dark:"#956724",amber600Dark:"#B68131",amber700Dark:"#DEA85E",amber800Dark:"#EEC28D",amber900Dark:"#F6D9B7",yellow50Dark:"#211201",yellow100Dark:"#39240A",yellow200Dark:"#4C3111",yellow300Dark:"#624013",yellow400Dark:"#7A5616",yellow500Dark:"#916C1A",yellow600Dark:"#AE8523",yellow700Dark:"#D7AC57",yellow800Dark:"#E6C681",yellow900Dark:"#F3DCAE",lime50Dark:"#0F1A03",lime100Dark:"#202E13",lime200Dark:"#2C3F19",lime300Dark:"#39501F",lime400Dark:"#4A682B",lime500Dark:"#5A7E35",lime600Dark:"#759954",lime700Dark:"#9EC080",lime800Dark:"#BDD4AB",lime900Dark:"#D6E3CB",green50Dark:"#081B0E",green100Dark:"#162F1E",green200Dark:"#20402A",green300Dark:"#2A5237",green400Dark:"#306C44",green500Dark:"#3D8351",green600Dark:"#5C9D70",green700Dark:"#8FC19C",green800Dark:"#AED6B8",green900Dark:"#CBE6D2",teal50Dark:"#071A1C",teal100Dark:"#0C2E34",teal200Dark:"#113F46",teal300Dark:"#155158",teal400Dark:"#216972",teal500Dark:"#217F8B",teal600Dark:"#3B9BA8",teal700Dark:"#72C1CD",teal800Dark:"#9CD5DF",teal900Dark:"#C5E5EA",blue50Dark:"#061431",blue100Dark:"#182946",blue200Dark:"#22375C",blue300Dark:"#2D4775",blue400Dark:"#335BA3",blue500Dark:"#3F6EC5",blue600Dark:"#5E8BDB",blue700Dark:"#93B4EE",blue800Dark:"#B3CCF6",blue900Dark:"#D1DFF6",purple50Dark:"#1B0E2D",purple100Dark:"#2F2044",purple200Dark:"#3F2D59",purple300Dark:"#513974",purple400Dark:"#694B96",purple500Dark:"#7F5BB6",purple600Dark:"#9A78CE",purple700Dark:"#BDA7E4",purple800Dark:"#D2C1EF",purple900Dark:"#E2D9F5",magenta50Dark:"#28071F",magenta100Dark:"#411636",magenta200Dark:"#581F48",magenta300Dark:"#6E2A5B",magenta400Dark:"#8E3777",magenta500Dark:"#AB4490",magenta600Dark:"#C664A9",magenta700Dark:"#E099C9",magenta800Dark:"#EEB6DB",magenta900Dark:"#F1D4E7",brandDefault50Dark:"#09152C",brandDefault100Dark:"#182946",brandDefault200Dark:"#22375C",brandDefault300Dark:"#2D4775",brandDefault400Dark:"#335BA3",brandDefault500Dark:"#3F6EC5",brandDefault600Dark:"#5E8BDB",brandDefault700Dark:"#93B4EE",brandDefault800Dark:"#B3CCF6",brandDefault900Dark:"#D1DFF6"},a=Gr.primitiveLightColors={},i=Gr.primitiveDarkColors={};for(const u in r)u.endsWith("Dark")?i[u]=r[u]:u==="white"||u==="black"?(a[u]=r[u],i[u]=r[u]):a[u]=r[u];return Gr}var am={},im;function eE(){return im||(im=1),am}var om;function ti(){return om||(om=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={primitiveColors:!0,primitiveLightColors:!0,primitiveDarkColors:!0,colors:!0};Object.defineProperty(r,"colors",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"primitiveColors",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"primitiveDarkColors",{enumerable:!0,get:function(){return i.primitiveDarkColors}}),Object.defineProperty(r,"primitiveLightColors",{enumerable:!0,get:function(){return i.primitiveLightColors}});var i=f(pl()),u=eE();Object.keys(u).forEach(function(l){l==="default"||l==="__esModule"||Object.prototype.hasOwnProperty.call(a,l)||l in r&&r[l]===u[l]||Object.defineProperty(r,l,{enumerable:!0,get:function(){return u[l]}})});function c(l){if(typeof WeakMap!="function")return null;var m=new WeakMap,p=new WeakMap;return(c=function(d){return d?p:m})(l)}function f(l,m){if(l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var p=c(m);if(p&&p.has(l))return p.get(l);var d={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var g=b?Object.getOwnPropertyDescriptor(l,h):null;g&&(g.get||g.set)?Object.defineProperty(d,h,g):d[h]=l[h]}return d.default=l,p&&p.set(l,d),d}})(rf)),rf}var lm;function Os(){if(lm)return eo;lm=1,Object.defineProperty(eo,"__esModule",{value:!0}),eo.default=void 0;var r=ti();const a={primaryA:r.primitiveLightColors.black,primaryB:r.primitiveLightColors.white,primary:"#000000",primary50:"#F6F6F6",primary100:"#EEEEEE",primary200:"#E2E2E2",primary300:"#CBCBCB",primary400:"#AFAFAF",primary500:"#6B6B6B",primary600:"#545454",primary700:"#333333",accent:r.primitiveLightColors.blue600,accent50:"#EFF3FE",accent100:"#D4E2FC",accent200:"#A0BFF8",accent300:"#5B91F5",accent400:"#276EF1",accent500:"#1E54B7",accent600:"#174291",accent700:"#102C60",negative:r.primitiveLightColors.red600,negative50:"#FFEFED",negative100:"#FED7D2",negative200:"#F1998E",negative300:"#E85C4A",negative400:"#E11900",negative500:"#AB1300",negative600:"#870F00",negative700:"#5A0A00",warning:r.primitiveLightColors.yellow300,warning50:"#FFFAF0",warning100:"#FFF2D9",warning200:"#FFE3AC",warning300:"#FFCF70",warning400:"#FFC043",warning500:"#BC8B2C",warning600:"#996F00",warning700:"#674D1B",positive:r.primitiveLightColors.green600,positive50:"#E6F2ED",positive100:"#ADDEC9",positive200:"#66D19E",positive300:"#06C167",positive400:"#048848",positive500:"#03703C",positive600:"#03582F",positive700:"#10462D",white:"#FFFFFF",black:"#000000",mono100:"#FFFFFF",mono200:"#F6F6F6",mono300:"#EEEEEE",mono400:"#E2E2E2",mono500:"#CBCBCB",mono600:"#AFAFAF",mono700:"#6B6B6B",mono800:"#545454",mono900:"#333333",mono1000:"#000000"};return eo.default=a,eo}var to={},In={},um;function a0(){if(um)return In;um=1,Object.defineProperty(In,"__esModule",{value:!0}),In.ellipsisText=void 0,In.expandBorderStyles=a,In.hexToRgb=r;function r(i="",u="1"){const c=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;i=i.replace(c,function(l,m,p,d){return m+m+p+p+d+d});const f=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(i);return f?`rgba(${parseInt(f[1],16)}, ${parseInt(f[2],16)}, ${parseInt(f[3],16)}, ${u})`:null}In.ellipsisText={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordWrap:"normal"};function a(i){return{borderTopWidth:i.borderWidth,borderTopStyle:i.borderStyle,borderTopColor:i.borderColor,borderBottomWidth:i.borderWidth,borderBottomStyle:i.borderStyle,borderBottomColor:i.borderColor,borderLeftWidth:i.borderWidth,borderLeftStyle:i.borderStyle,borderLeftColor:i.borderColor,borderRightWidth:i.borderWidth,borderRightStyle:i.borderStyle,borderRightColor:i.borderColor}}return In}var sm;function i0(){if(sm)return to;sm=1,Object.defineProperty(to,"__esModule",{value:!0}),to.default=void 0;var r=u(Os()),a=a0(),i=u(pl());function u(f){return f&&f.__esModule?f:{default:f}}var c=(f=r.default)=>{const l={backgroundPrimary:f.primaryB,backgroundSecondary:i.default.gray50,backgroundTertiary:i.default.gray100,backgroundInversePrimary:f.primaryA,backgroundInverseSecondary:i.default.gray900,contentPrimary:f.primaryA,contentSecondary:i.default.gray800,contentTertiary:i.default.gray700,contentInversePrimary:f.primaryB,contentInverseSecondary:i.default.gray200,contentInverseTertiary:i.default.gray400,borderOpaque:i.default.gray50,borderTransparent:(0,a.hexToRgb)(f.primaryA,"0.08")||(0,a.hexToRgb)(r.default.primaryA,"0.08")||"",borderSelected:f.primaryA,borderInverseOpaque:i.default.gray800,borderInverseTransparent:(0,a.hexToRgb)(f.primaryB,"0.2")||(0,a.hexToRgb)(r.default.primaryB,"0.2")||"",borderInverseSelected:f.primaryB,brandBackgroundPrimary:i.default.brandDefault600,brandBackgroundSecondary:i.default.brandDefault50,brandBackgroundTertiary:i.default.white,brandBackgroundDisabled:i.default.brandDefault50,brandContentPrimary:i.default.brandDefault600,brandContentOnPrimary:i.default.white,brandContentOnSecondary:i.default.brandDefault700,brandContentOnTertiary:i.default.black,brandContentOnGradient:i.default.white,brandContentDisabled:i.default.brandDefault300,brandBorderAccessible:i.default.brandDefault600,brandBorderSubtle:i.default.brandDefault100},m={backgroundStateDisabled:i.default.gray50,backgroundOverlay:(0,a.hexToRgb)(i.default.black,"0.5")||"",backgroundOverlayArt:(0,a.hexToRgb)(i.default.black,"0.00")||"",backgroundAccent:f.accent,backgroundNegative:f.negative,backgroundWarning:f.warning,backgroundPositive:f.positive,backgroundAccentLight:i.default.blue50,backgroundNegativeLight:i.default.red50,backgroundWarningLight:i.default.yellow50,backgroundPositiveLight:i.default.green50,backgroundAlwaysDark:i.default.black,backgroundAlwaysLight:i.default.white,contentStateDisabled:i.default.gray400,contentOnColor:i.default.white,contentOnColorInverse:i.default.black,contentAccent:i.default.blue600,contentNegative:i.default.red600,contentWarning:i.default.yellow600,contentPositive:i.default.green600,tagRedContentSecondary:i.default.red700,borderStateDisabled:i.default.gray50,borderAccent:i.default.blue600,borderAccentLight:i.default.blue300,borderNegative:i.default.red600,borderNegativeLight:i.default.red300,borderWarning:i.default.yellow600,borderWarningLight:i.default.yellow200,borderPositive:i.default.green600,borderPositiveLight:i.default.green300,tagRedBorderSecondarySelected:i.default.red700,safety:i.default.blue600,eatsGreen400:i.default.green600,freightBlue400:i.default.cobalt400,rewardsTier1:i.default.blue600,rewardsTier2:i.default.yellow300,rewardsTier3:i.default.platinum400,rewardsTier4:i.default.black,membership:i.default.yellow600},p={jumpRed400:i.default.red400,backgroundOverlayLight:m.backgroundOverlay,backgroundOverlayDark:m.backgroundOverlay,backgroundLightAccent:m.backgroundAccentLight,backgroundLightPositive:m.backgroundPositiveLight,backgroundLightWarning:m.backgroundWarningLight,backgroundLightNegative:m.backgroundNegativeLight},d={tagGrayBackgroundPrimary:i.default.gray600,tagGrayBackgroundSecondary:i.default.gray50,tagGrayContentPrimary:i.default.white,tagGrayContentSecondary:i.default.gray700,tagGrayBackgroundStateDisabled:i.default.gray50,tagGrayContentStateDisabled:i.default.gray300,tagGrayBorderPrimaryUnselected:i.default.gray700,tagGrayBorderSecondaryUnselected:i.default.gray100,tagGrayBorderSecondarySelected:i.default.gray600,tagRedBackgroundPrimary:i.default.red600,tagRedBackgroundSecondary:i.default.red50,tagRedContentPrimary:i.default.white,tagRedContentSecondary:i.default.red700,tagRedBackgroundStateDisabled:i.default.red50,tagRedContentStateDisabled:i.default.red300,tagRedBorderPrimaryUnselected:i.default.red700,tagRedBorderSecondaryUnselected:i.default.red100,tagRedBorderSecondarySelected:i.default.red700,tagOrangeBackgroundPrimary:i.default.orange600,tagOrangeBackgroundSecondary:i.default.orange50,tagOrangeContentPrimary:i.default.white,tagOrangeContentSecondary:i.default.orange700,tagOrangeBackgroundStateDisabled:i.default.orange50,tagOrangeContentStateDisabled:i.default.orange300,tagYellowBackgroundPrimary:i.default.yellow300,tagOrangeBorderPrimaryUnselected:i.default.orange700,tagYellowBackgroundSecondary:i.default.yellow50,tagOrangeBorderSecondaryUnselected:i.default.orange100,tagOrangeBorderSecondarySelected:i.default.orange700,tagYellowContentPrimary:i.default.black,tagYellowContentSecondary:i.default.yellow700,tagYellowBackgroundStateDisabled:i.default.yellow50,tagYellowContentStateDisabled:i.default.yellow200,tagYellowBorderPrimaryUnselected:i.default.yellow400,tagYellowBorderSecondaryUnselected:i.default.yellow100,tagYellowBorderSecondarySelected:i.default.yellow700,tagGreenBackgroundPrimary:i.default.green600,tagGreenBackgroundSecondary:i.default.green50,tagGreenContentPrimary:i.default.white,tagGreenContentSecondary:i.default.green700,tagGreenBackgroundStateDisabled:i.default.green50,tagGreenContentStateDisabled:i.default.green300,tagGreenBorderPrimaryUnselected:i.default.green700,tagBlueBackgroundPrimary:i.default.blue600,tagBlueBackgroundSecondary:i.default.blue50,tagGreenBorderSecondaryUnselected:i.default.green100,tagBlueContentPrimary:i.default.white,tagGreenBorderSecondarySelected:i.default.green700,tagBlueContentSecondary:i.default.blue700,tagBlueBackgroundStateDisabled:i.default.blue50,tagBlueContentStateDisabled:i.default.blue300,tagBlueBorderPrimaryUnselected:i.default.blue700,tagPurpleBackgroundPrimary:i.default.purple600,tagPurpleBackgroundSecondary:i.default.purple50,tagBlueBorderSecondaryUnselected:i.default.blue100,tagBlueBorderSecondarySelected:i.default.blue700,tagPurpleContentPrimary:i.default.white,tagPurpleContentSecondary:i.default.purple700,tagPurpleBackgroundStateDisabled:i.default.purple50,tagPurpleContentStateDisabled:i.default.purple300,tagPurpleBorderPrimaryUnselected:i.default.purple700,tagMagentaBackgroundPrimary:i.default.magenta600,tagPurpleBorderSecondaryUnselected:i.default.purple100,tagMagentaBackgroundSecondary:i.default.magenta50,tagPurpleBorderSecondarySelected:i.default.purple700,tagMagentaContentPrimary:i.default.white,tagMagentaContentSecondary:i.default.magenta700,tagMagentaBackgroundStateDisabled:i.default.magenta50,tagMagentaContentStateDisabled:i.default.magenta300,tagMagentaBorderPrimaryUnselected:i.default.magenta700,tagMagentaBorderSecondaryUnselected:i.default.magenta100,tagMagentaBorderSecondarySelected:i.default.magenta700,tagTealBackgroundPrimary:i.default.teal600,tagTealBackgroundSecondary:i.default.teal50,tagTealContentPrimary:i.default.white,tagTealContentSecondary:i.default.teal700,tagTealBackgroundStateDisabled:i.default.teal50,tagTealContentStateDisabled:i.default.teal300,tagTealBorderPrimaryUnselected:i.default.teal700,tagTealBorderSecondaryUnselected:i.default.teal100,tagTealBorderSecondarySelected:i.default.teal700,tagLimeBackgroundPrimary:i.default.lime600,tagLimeBackgroundSecondary:i.default.lime50,tagLimeContentPrimary:i.default.white,tagLimeContentSecondary:i.default.lime700,tagLimeBackgroundStateDisabled:i.default.lime50,tagLimeContentStateDisabled:i.default.lime300,tagLimeBorderPrimaryUnselected:i.default.lime700,tagLimeBorderSecondaryUnselected:i.default.lime100,tagLimeBorderSecondarySelected:i.default.lime700};return{...l,...m,...d,...{hoverOverlayInverseAlpha:"rgba(255, 255, 255, 0.1)",hoverOverlayAlpha:"rgba(0, 0, 0, 0.04)",hoverNegativeAlpha:"rgba(222, 17, 53, 0.1)",pressedOverlayAlpha:"rgba(0, 0, 0, 0.08)",pressedOverlayInverseAlpha:"rgba(255, 255, 255, 0.2)",pressedNegativeAlpha:"rgba(222, 17, 53, 0.15)"},...p}};return to.default=c,to}var ro={},cm;function Q1(){if(cm)return ro;cm=1,Object.defineProperty(ro,"__esModule",{value:!0}),ro.default=void 0;var r=i(i0()),a=ti();function i(l){return l&&l.__esModule?l:{default:l}}const u=(0,r.default)(),c="rgba(0, 0, 0, 0.08)";var f=(l=u)=>({bannerActionLowInfo:a.primitiveLightColors.blue100,bannerActionLowNegative:a.primitiveLightColors.red100,bannerActionLowPositive:a.primitiveLightColors.green100,bannerActionLowWarning:a.primitiveLightColors.yellow100,bannerActionHighInfo:a.primitiveLightColors.blue700,bannerActionHighNegative:a.primitiveLightColors.red700,bannerActionHighPositive:a.primitiveLightColors.green700,bannerActionHighWarning:a.primitiveLightColors.yellow200,bottomNavigationText:a.primitiveLightColors.gray600,bottomNavigationSelectedText:l.contentPrimary,buttonPrimaryFill:l.backgroundInversePrimary,buttonPrimaryText:l.contentInversePrimary,buttonPrimaryHover:a.primitiveLightColors.gray900,buttonPrimaryActive:a.primitiveLightColors.gray800,buttonPrimaryHoverOverlay:l.hoverOverlayInverseAlpha,buttonPrimaryActiveOverlay:l.pressedOverlayInverseAlpha,buttonPrimarySelectedFill:l.backgroundInversePrimary,buttonPrimarySelectedText:l.contentInversePrimary,buttonPrimaryLoadingFill:l.backgroundInversePrimary,buttonPrimarySpinnerForeground:l.backgroundAccent,buttonPrimarySpinnerBackground:l.backgroundPrimary,buttonSecondaryFill:l.backgroundSecondary,buttonSecondaryText:l.contentPrimary,buttonSecondaryHover:a.primitiveLightColors.gray200,buttonSecondaryActive:a.primitiveLightColors.gray300,buttonSecondaryHoverOverlay:l.hoverOverlayAlpha,buttonSecondaryActiveOverlay:l.pressedOverlayAlpha,buttonSecondarySelectedFill:l.backgroundInversePrimary,buttonSecondarySelectedText:l.contentInversePrimary,buttonSecondaryLoadingFill:l.backgroundSecondary,buttonSecondarySpinnerForeground:l.backgroundAccent,buttonSecondarySpinnerBackground:l.backgroundPrimary,buttonTertiaryFill:"transparent",buttonTertiaryText:l.contentPrimary,buttonTertiaryHover:a.primitiveLightColors.gray50,buttonTertiaryActive:a.primitiveLightColors.gray100,buttonTertiaryHoverOverlay:l.hoverOverlayAlpha,buttonTertiaryActiveOverlay:l.pressedOverlayAlpha,buttonTertiarySelectedFill:"transparent",buttonTertiarySelectedText:l.contentPrimary,buttonTertiaryLoadingFill:"transparent",buttonTertiaryFocusFill:l.backgroundTertiary,buttonTertiaryDisabledActiveFill:l.backgroundStateDisabled,buttonTertiaryDisabledActiveText:l.contentStateDisabled,buttonTertiarySpinnerForeground:l.backgroundAccent,buttonTertiarySpinnerBackground:l.backgroundTertiary,buttonDangerPrimaryFill:l.backgroundNegative,buttonDangerPrimaryText:l.contentOnColor,buttonDangerPrimaryHoverOverlay:l.hoverOverlayAlpha,buttonDangerPrimaryActiveOverlay:l.pressedOverlayAlpha,buttonDangerPrimarySelectedFill:l.backgroundNegative,buttonDangerPrimarySelectedText:l.contentOnColor,buttonDangerPrimaryLoadingFill:l.backgroundNegative,buttonDangerPrimarySpinnerForeground:l.backgroundAccent,buttonDangerPrimarySpinnerBackground:l.backgroundPrimary,buttonDangerSecondaryFill:l.backgroundSecondary,buttonDangerSecondaryText:l.tagRedContentSecondary,buttonDangerSecondaryHoverOverlay:l.hoverOverlayAlpha,buttonDangerSecondaryActiveOverlay:l.pressedOverlayAlpha,buttonDangerSecondarySelectedFill:l.backgroundNegative,buttonDangerSecondarySelectedText:l.contentOnColor,buttonDangerSecondaryLoadingFill:l.backgroundSecondary,buttonDangerSecondarySpinnerForeground:l.backgroundAccent,buttonDangerSecondarySpinnerBackground:l.backgroundPrimary,buttonDangerTertiaryFill:"transparent",buttonDangerTertiaryText:l.tagRedContentSecondary,buttonDangerTertiaryHoverOverlay:l.hoverOverlayAlpha,buttonDangerTertiaryActiveOverlay:l.pressedOverlayAlpha,buttonDangerTertiarySelectedFill:l.backgroundPrimary,buttonDangerTertiarySelectedText:l.tagRedContentSecondary,buttonDangerTertiaryLoadingFill:"transparent",buttonDangerTertiarySpinnerForeground:l.backgroundAccent,buttonDangerTertiarySpinnerBackground:l.backgroundPrimary,buttonOutlineFill:"transparent",buttonOutlineText:l.contentPrimary,buttonOutlineHoverOverlay:l.hoverOverlayAlpha,buttonOutlineActiveOverlay:l.pressedOverlayAlpha,buttonOutlineSelectedFill:"transparent",buttonOutlineSelectedText:l.contentPrimary,buttonOutlineFocusFill:l.backgroundTertiary,buttonOutlineLoadingFill:"transparent",buttonOutlineSpinnerForeground:l.backgroundAccent,buttonOutlineSpinnerBackground:l.backgroundPrimary,buttonDisabledFill:l.backgroundStateDisabled,buttonDisabledText:l.contentStateDisabled,buttonDisabledActiveFill:l.backgroundStateDisabled,buttonDisabledActiveText:l.contentStateDisabled,buttonDisabledSpinnerForeground:l.contentStateDisabled,buttonDisabledSpinnerBackground:l.backgroundPrimary,buttonOuterBorder:l.borderSelected,buttonOutlineOuterBorder:l.borderOpaque,buttonDangerTertiaryOuterBorder:l.tagRedBorderSecondarySelected,buttonInnerBorder:l.contentInversePrimary,buttonTransparentBorder:"transparent",buttonFocusOuterBorder:l.borderAccent,breadcrumbsText:l.contentPrimary,breadcrumbsSeparatorFill:l.contentTertiary,calendarBackground:l.backgroundPrimary,calendarForeground:l.contentPrimary,calendarForegroundDisabled:l.contentStateDisabled,calendarHeaderBackground:l.backgroundPrimary,calendarHeaderForeground:l.contentPrimary,calendarHeaderBackgroundActive:l.backgroundInversePrimary,calendarHeaderForegroundDisabled:l.contentStateDisabled,calendarDayForegroundPseudoSelected:l.backgroundInversePrimary,calendarDayBackgroundPseudoSelectedHighlighted:l.backgroundTertiary,calendarDayForegroundPseudoSelectedHighlighted:l.contentPrimary,calendarDayBackgroundSelected:l.backgroundInversePrimary,calendarDayForegroundSelected:l.contentInversePrimary,calendarDayBackgroundSelectedHighlighted:l.backgroundInversePrimary,calendarDayForegroundSelectedHighlighted:l.contentInversePrimary,comboboxListItemFocus:l.backgroundSecondary,comboboxListItemHover:l.backgroundTertiary,fileUploaderBackgroundColor:l.backgroundSecondary,fileUploaderBackgroundColorActive:l.backgroundPrimary,fileUploaderBorderColorActive:l.borderSelected,fileUploaderBorderColorDefault:l.borderOpaque,fileUploaderMessageColor:l.contentPrimary,linkText:l.contentPrimary,linkVisited:a.primitiveLightColors.gray600,linkHover:a.primitiveLightColors.gray800,linkActive:a.primitiveLightColors.gray700,listHeaderFill:l.backgroundPrimary,listBodyFill:l.backgroundPrimary,progressStepsCompletedText:l.contentInversePrimary,progressStepsCompletedFill:l.backgroundInversePrimary,progressStepsActiveText:l.contentInversePrimary,progressStepsActiveFill:l.backgroundInversePrimary,toggleFill:l.backgroundPrimary,toggleFillChecked:l.contentPrimary,toggleFillDisabled:l.contentStateDisabled,toggleTrackFill:l.backgroundTertiary,toggleTrackFillDisabled:l.backgroundStateDisabled,tickFill:l.backgroundPrimary,tickFillHover:a.primitiveLightColors.gray50,tickFillActive:a.primitiveLightColors.gray100,tickFillSelected:l.contentPrimary,tickFillSelectedHover:a.primitiveLightColors.gray900,tickFillSelectedHoverActive:a.primitiveLightColors.gray800,tickFillError:l.backgroundPrimary,tickFillErrorHover:a.primitiveLightColors.gray50,tickFillErrorHoverActive:a.primitiveLightColors.gray100,tickFillErrorSelected:l.contentNegative,tickFillErrorSelectedHover:a.primitiveLightColors.red700,tickFillErrorSelectedHoverActive:a.primitiveLightColors.red800,tickFillDisabled:l.backgroundStateDisabled,tickBorder:l.contentTertiary,tickBorderError:l.borderNegative,tickMarkFill:l.contentInversePrimary,tickMarkFillError:l.contentOnColor,tickMarkFillDisabled:l.contentInversePrimary,sliderTrackFill:"transparent",sliderHandleFill:l.contentPrimary,sliderHandleFillDisabled:l.backgroundStateDisabled,sliderHandleInnerFill:l.contentPrimary,sliderTrackFillHover:a.primitiveLightColors.gray200,sliderTrackFillActive:a.primitiveLightColors.gray300,sliderTrackFillDisabled:l.backgroundStateDisabled,sliderHandleInnerFillDisabled:l.backgroundStateDisabled,sliderHandleInnerFillSelectedHover:a.primitiveLightColors.gray900,sliderHandleInnerFillSelectedActive:a.primitiveLightColors.gray800,inputBorder:l.borderOpaque,inputFill:l.backgroundSecondary,inputFillError:l.backgroundPrimary,inputFillDisabled:l.backgroundStateDisabled,inputFillActive:l.backgroundPrimary,inputFillPositive:l.backgroundPrimary,inputTextDisabled:l.contentStateDisabled,inputBorderError:l.borderNegative,inputBorderPositive:l.borderPositive,inputEnhancerFill:l.contentPrimary,inputEnhancerFillDisabled:l.contentStateDisabled,inputEnhancerTextDisabled:l.contentStateDisabled,inputPlaceholder:l.contentTertiary,inputPlaceholderDisabled:l.contentStateDisabled,menuFill:l.backgroundPrimary,menuFillHover:l.backgroundSecondary,menuFontDefault:l.contentPrimary,menuFontDisabled:l.contentStateDisabled,menuFontHighlighted:l.contentPrimary,menuFontSelected:l.contentPrimary,modalCloseColor:l.contentPrimary,modalCloseColorHover:a.primitiveLightColors.gray900,modalCloseColorFocus:a.primitiveLightColors.gray800,tabBarFill:l.backgroundPrimary,tabColor:l.contentTertiary,notificationInfoBackground:l.backgroundAccentLight,notificationInfoText:l.contentPrimary,notificationPositiveBackground:l.backgroundPositiveLight,notificationPositiveText:l.contentPrimary,notificationWarningBackground:l.backgroundWarningLight,notificationWarningText:l.contentPrimary,notificationNegativeBackground:l.backgroundNegativeLight,notificationNegativeText:l.contentPrimary,tagFontDisabledRampUnit:"200",tagSolidFontRampUnit:"0",tagSolidRampUnit:"400",tagOutlinedFontRampUnit:"600",tagOutlinedRampUnit:"600",tagSolidHoverRampUnit:"50",tagSolidActiveRampUnit:"100",tagSolidDisabledRampUnit:"50",tagSolidFontHoverRampUnit:"700",tagLightRampUnit:"50",tagLightHoverRampUnit:"100",tagLightActiveRampUnit:"200",tagLightFontRampUnit:"600",tagLightFontHoverRampUnit:"200",tagOutlinedHoverRampUnit:"700",tagOutlinedActiveRampUnit:"800",tagOutlinedFontHoverRampUnit:"700",tagNeutralFontDisabled:a.primitiveLightColors.gray200,tagNeutralOutlinedDisabled:a.primitiveLightColors.gray200,tagNeutralSolidFont:a.primitiveLightColors.white,tagNeutralSolidBackground:a.primitiveLightColors.gray600,tagNeutralOutlinedBackground:a.primitiveLightColors.gray50,tagNeutralOutlinedFont:a.primitiveLightColors.gray700,tagNeutralSolidHover:a.primitiveLightColors.gray900,tagNeutralSolidActive:a.primitiveLightColors.gray800,tagNeutralSolidDisabled:a.primitiveLightColors.gray200,tagNeutralSolidFontHover:a.primitiveLightColors.gray700,tagNeutralLightBackground:a.primitiveLightColors.white,tagNeutralLightHover:a.primitiveLightColors.gray50,tagNeutralLightActive:a.primitiveLightColors.gray100,tagNeutralLightDisabled:a.primitiveLightColors.gray200,tagNeutralLightFont:a.primitiveLightColors.gray600,tagNeutralLightFontHover:a.primitiveLightColors.gray700,tagNeutralOutlinedActive:a.primitiveLightColors.gray800,tagNeutralOutlinedFontHover:a.primitiveLightColors.gray700,tagNeutralOutlinedHover:c,tagPrimaryFontDisabled:a.primitiveLightColors.gray300,tagPrimaryOutlinedDisabled:a.primitiveLightColors.gray200,tagPrimarySolidFont:a.primitiveLightColors.white,tagPrimarySolidBackground:a.primitiveLightColors.gray600,tagPrimaryOutlinedFontHover:a.primitiveLightColors.gray900,tagPrimaryOutlinedFont:a.primitiveLightColors.gray700,tagPrimarySolidHover:a.primitiveLightColors.gray900,tagPrimarySolidActive:a.primitiveLightColors.gray900,tagPrimarySolidDisabled:a.primitiveLightColors.gray200,tagPrimarySolidFontHover:a.primitiveLightColors.gray900,tagPrimaryLightBackground:a.primitiveLightColors.white,tagPrimaryLightHover:a.primitiveLightColors.gray50,tagPrimaryLightActive:a.primitiveLightColors.gray100,tagPrimaryLightDisabled:a.primitiveLightColors.gray200,tagPrimaryLightFont:a.primitiveLightColors.black,tagPrimaryLightFontHover:a.primitiveLightColors.gray900,tagPrimaryOutlinedActive:a.primitiveLightColors.gray900,tagPrimaryOutlinedHover:c,tagPrimaryOutlinedBackground:a.primitiveLightColors.gray50,tagAccentFontDisabled:a.primitiveLightColors.blue300,tagAccentOutlinedDisabled:a.primitiveLightColors.blue200,tagAccentSolidFont:a.primitiveLightColors.white,tagAccentSolidBackground:a.primitiveLightColors.blue600,tagAccentOutlinedBackground:a.primitiveLightColors.blue50,tagAccentOutlinedFont:a.primitiveLightColors.blue700,tagAccentSolidHover:a.primitiveLightColors.blue50,tagAccentSolidActive:a.primitiveLightColors.blue100,tagAccentSolidDisabled:a.primitiveLightColors.blue50,tagAccentSolidFontHover:a.primitiveLightColors.blue500,tagAccentLightBackground:a.primitiveLightColors.blue50,tagAccentLightHover:a.primitiveLightColors.blue100,tagAccentLightActive:a.primitiveLightColors.blue200,tagAccentLightDisabled:a.primitiveLightColors.blue50,tagAccentLightFont:a.primitiveLightColors.blue600,tagAccentLightFontHover:a.primitiveLightColors.blue700,tagAccentOutlinedActive:a.primitiveLightColors.blue800,tagAccentOutlinedFontHover:a.primitiveLightColors.blue700,tagAccentOutlinedHover:c,tagPositiveFontDisabled:a.primitiveLightColors.green300,tagPositiveOutlinedDisabled:a.primitiveLightColors.green200,tagPositiveSolidFont:a.primitiveLightColors.white,tagPositiveSolidBackground:a.primitiveLightColors.green600,tagPositiveOutlinedBackground:a.primitiveLightColors.green50,tagPositiveOutlinedFont:a.primitiveLightColors.green700,tagPositiveSolidHover:a.primitiveLightColors.green50,tagPositiveSolidActive:a.primitiveLightColors.green100,tagPositiveSolidDisabled:a.primitiveLightColors.green50,tagPositiveSolidFontHover:a.primitiveLightColors.green500,tagPositiveLightBackground:a.primitiveLightColors.green50,tagPositiveLightHover:a.primitiveLightColors.green100,tagPositiveLightActive:a.primitiveLightColors.green200,tagPositiveLightDisabled:a.primitiveLightColors.green50,tagPositiveLightFont:a.primitiveLightColors.green600,tagPositiveLightFontHover:a.primitiveLightColors.green700,tagPositiveOutlinedActive:a.primitiveLightColors.green800,tagPositiveOutlinedFontHover:a.primitiveLightColors.green700,tagPositiveOutlinedHover:c,tagWarningFontDisabled:a.primitiveLightColors.yellow200,tagWarningOutlinedDisabled:a.primitiveLightColors.yellow200,tagWarningSolidFont:a.primitiveLightColors.yellow900,tagWarningSolidBackground:a.primitiveLightColors.yellow300,tagWarningOutlinedBackground:a.primitiveLightColors.yellow50,tagWarningOutlinedFont:a.primitiveLightColors.yellow700,tagWarningSolidHover:a.primitiveLightColors.yellow50,tagWarningSolidActive:a.primitiveLightColors.yellow100,tagWarningSolidDisabled:a.primitiveLightColors.yellow50,tagWarningSolidFontHover:a.primitiveLightColors.yellow500,tagWarningLightBackground:a.primitiveLightColors.yellow50,tagWarningLightHover:a.primitiveLightColors.yellow100,tagWarningLightActive:a.primitiveLightColors.yellow200,tagWarningLightDisabled:a.primitiveLightColors.yellow50,tagWarningLightFont:a.primitiveLightColors.yellow600,tagWarningLightFontHover:a.primitiveLightColors.yellow700,tagWarningOutlinedActive:a.primitiveLightColors.yellow800,tagWarningOutlinedFontHover:a.primitiveLightColors.yellow700,tagWarningOutlinedHover:c,tagNegativeFontDisabled:a.primitiveLightColors.red300,tagNegativeOutlinedDisabled:a.primitiveLightColors.red200,tagNegativeSolidFont:a.primitiveLightColors.white,tagNegativeSolidBackground:a.primitiveLightColors.red600,tagNegativeOutlinedBackground:a.primitiveLightColors.red50,tagNegativeOutlinedFont:a.primitiveLightColors.red700,tagNegativeSolidHover:a.primitiveLightColors.red50,tagNegativeSolidActive:a.primitiveLightColors.red100,tagNegativeSolidDisabled:a.primitiveLightColors.red50,tagNegativeSolidFontHover:a.primitiveLightColors.red500,tagNegativeLightBackground:a.primitiveLightColors.red50,tagNegativeLightHover:a.primitiveLightColors.red100,tagNegativeLightActive:a.primitiveLightColors.red200,tagNegativeLightDisabled:a.primitiveLightColors.red50,tagNegativeLightFont:a.primitiveLightColors.red600,tagNegativeLightFontHover:a.primitiveLightColors.red700,tagNegativeOutlinedActive:a.primitiveLightColors.red800,tagNegativeOutlinedFontHover:a.primitiveLightColors.red700,tagNegativeOutlinedHover:c,tableHeadBackgroundColor:l.backgroundPrimary,tableBackground:l.backgroundPrimary,tableStripedBackground:l.backgroundSecondary,tableFilter:l.contentTertiary,tableFilterHeading:l.contentPrimary,tableFilterBackground:l.backgroundPrimary,tableFilterFooterBackground:l.backgroundSecondary,toastText:l.contentOnColor,toastPrimaryText:l.contentOnColor,toastInfoBackground:l.backgroundAccent,toastInfoText:l.contentOnColor,toastPositiveBackground:l.backgroundPositive,toastPositiveText:l.contentOnColor,toastWarningBackground:l.backgroundWarning,toastWarningText:l.contentOnColorInverse,toastNegativeBackground:l.backgroundNegative,toastNegativeText:l.contentOnColor,spinnerTrackFill:l.backgroundTertiary,progressbarTrackFill:l.backgroundTertiary,tooltipBackground:l.backgroundInverseSecondary,tooltipText:l.contentInversePrimary,ratingInactiveFill:l.backgroundPrimary,ratingStroke:l.contentPrimary});return ro.default=f,ro}var no={},dm;function J1(){if(dm)return no;dm=1,Object.defineProperty(no,"__esModule",{value:!0}),no.default=void 0;const r={border100:{borderColor:"hsla(0, 0%, 0%, 0.04)",borderStyle:"solid",borderWidth:"1px"},border200:{borderColor:"hsla(0, 0%, 0%, 0.08)",borderStyle:"solid",borderWidth:"1px"},border300:{borderColor:"hsla(0, 0%, 0%, 0.12)",borderStyle:"solid",borderWidth:"1px"},border400:{borderColor:"hsla(0, 0%, 0%, 0.16)",borderStyle:"solid",borderWidth:"1px"},border500:{borderColor:"hsla(0, 0%, 0%, 0.2)",borderStyle:"solid",borderWidth:"1px"},border600:{borderColor:"hsla(0, 0%, 0%, 0.24)",borderStyle:"solid",borderWidth:"1px"},radius100:"2px",radius200:"4px",radius300:"8px",radius400:"12px",radius500:"16px",useRoundedCorners:!0,buttonBorderRadiusMini:"4px",buttonBorderRadius:"8px",checkboxBorderRadius:"0px",inputBorderRadiusMini:"4px",inputBorderRadius:"8px",popoverBorderRadius:"8px",surfaceBorderRadius:"0px",tagBorderRadius:"24px"};return no.default=r,no}var ao={},fm;function eS(){if(fm)return ao;fm=1,Object.defineProperty(ao,"__esModule",{value:!0}),ao.default=void 0;const r={shadow400:"0 1px 4px hsla(0, 0%, 0%, 0.16)",shadow500:"0 2px 8px hsla(0, 0%, 0%, 0.16)",shadow600:"0 4px 16px hsla(0, 0%, 0%, 0.16)",shadow700:"0 8px 24px hsla(0, 0%, 0%, 0.16)",overlay0:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0)",overlay100:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.04)",overlay200:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.08)",overlay300:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.12)",overlay400:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.16)",overlay500:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.2)",overlay600:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.24)",shallowAbove:"0px -4px 16px rgba(0, 0, 0, 0.12)",shallowBelow:"0px 4px 16px rgba(0, 0, 0, 0.12)",deepAbove:"0px -16px 48px rgba(0, 0, 0, 0.22)",deepBelow:"0px 16px 48px rgba(0, 0, 0, 0.22)"};return ao.default=r,ao}var qn={},pm;function Es(){if(pm)return qn;pm=1,Object.defineProperty(qn,"__esModule",{value:!0}),qn.fontTokens=qn.default=void 0;const r=qn.fontTokens={primaryFontFamily:'UberMoveText, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif',secondaryFontFamily:'UberMove, UberMoveText, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif',monoFontFamily:'UberMoveMono, "Lucida Console", Monaco, monospace'},a={fontFamily:r.primaryFontFamily,fontSize:"12px",fontWeight:"normal",lineHeight:"20px"},i={fontFamily:r.primaryFontFamily,fontSize:"12px",fontWeight:500,lineHeight:"16px"},u={fontFamily:r.primaryFontFamily,fontSize:"14px",fontWeight:"normal",lineHeight:"20px"},c={fontFamily:r.primaryFontFamily,fontSize:"14px",fontWeight:500,lineHeight:"16px"},f={fontFamily:r.primaryFontFamily,fontSize:"16px",fontWeight:"normal",lineHeight:"24px"},l={fontFamily:r.primaryFontFamily,fontSize:"16px",fontWeight:500,lineHeight:"20px"},m={fontFamily:r.primaryFontFamily,fontSize:"18px",fontWeight:"normal",lineHeight:"28px"},p={fontFamily:r.primaryFontFamily,fontSize:"18px",fontWeight:500,lineHeight:"24px"},d={fontFamily:r.secondaryFontFamily,fontSize:"20px",fontWeight:700,lineHeight:"28px"},b={fontFamily:r.secondaryFontFamily,fontSize:"24px",fontWeight:700,lineHeight:"32px"},h={fontFamily:r.secondaryFontFamily,fontSize:"28px",fontWeight:700,lineHeight:"36px"},g={fontFamily:r.secondaryFontFamily,fontSize:"32px",fontWeight:700,lineHeight:"40px"},S={fontFamily:r.secondaryFontFamily,fontSize:"36px",fontWeight:700,lineHeight:"44px"},y={fontFamily:r.secondaryFontFamily,fontSize:"40px",fontWeight:700,lineHeight:"52px"},D={fontFamily:r.secondaryFontFamily,fontSize:"36px",fontWeight:700,lineHeight:"44px"},O={fontFamily:r.secondaryFontFamily,fontSize:"44px",fontWeight:700,lineHeight:"52px"},A={fontFamily:r.secondaryFontFamily,fontSize:"52px",fontWeight:700,lineHeight:"64px"},C={fontFamily:r.secondaryFontFamily,fontSize:"96px",fontWeight:700,lineHeight:"112px"},k={font100:a,font150:i,font200:u,font250:c,font300:f,font350:l,font400:m,font450:p,font550:d,font650:b,font750:h,font850:g,font950:S,font1050:y,font1150:D,font1250:O,font1350:A,font1450:C,ParagraphXSmall:a,ParagraphSmall:u,ParagraphMedium:f,ParagraphLarge:m,LabelXSmall:i,LabelSmall:c,LabelMedium:l,LabelLarge:p,HeadingXSmall:d,HeadingSmall:b,HeadingMedium:h,HeadingLarge:g,HeadingXLarge:S,HeadingXXLarge:y,DisplayXSmall:D,DisplaySmall:O,DisplayMedium:A,DisplayLarge:C,MonoParagraphXSmall:{...a,fontFamily:r.monoFontFamily},MonoParagraphSmall:{...u,fontFamily:r.monoFontFamily},MonoParagraphMedium:{...f,fontFamily:r.monoFontFamily},MonoParagraphLarge:{...m,fontFamily:r.monoFontFamily},MonoLabelXSmall:{...i,fontFamily:r.monoFontFamily},MonoLabelSmall:{...c,fontFamily:r.monoFontFamily},MonoLabelMedium:{...l,fontFamily:r.monoFontFamily},MonoLabelLarge:{...p,fontFamily:r.monoFontFamily},MonoHeadingXSmall:{...d,fontFamily:r.monoFontFamily},MonoHeadingSmall:{...b,fontFamily:r.monoFontFamily},MonoHeadingMedium:{...h,fontFamily:r.monoFontFamily},MonoHeadingLarge:{...g,fontFamily:r.monoFontFamily},MonoHeadingXLarge:{...S,fontFamily:r.monoFontFamily},MonoHeadingXXLarge:{...y,fontFamily:r.monoFontFamily},MonoDisplayXSmall:{...D,fontFamily:r.monoFontFamily},MonoDisplaySmall:{...O,fontFamily:r.monoFontFamily},MonoDisplayMedium:{...A,fontFamily:r.monoFontFamily},MonoDisplayLarge:{...C,fontFamily:r.monoFontFamily}};return qn.default=k,qn}var io={},gm;function tS(){if(gm)return io;gm=1,Object.defineProperty(io,"__esModule",{value:!0}),io.default=void 0;const r={timing0:"0",timing100:"100ms",timing150:"150ms",timing200:"200ms",timing250:"250ms",timing300:"300ms",timing400:"400ms",timing500:"500ms",timing600:"600ms",timing700:"700ms",timing800:"800ms",timing900:"900ms",timing1000:"1000ms",timing1500:"1500ms",timing3000:"3000ms",timing5000:"5000ms",timing7000:"7000ms",easeLinear:"cubic-bezier(0, 0, 1, 1)",linearCurve:"cubic-bezier(0, 0, 1, 1)",easeDecelerate:"cubic-bezier(0.22, 1, 0.36, 1)",easeOutQuinticCurve:"cubic-bezier(0.22, 1, 0.36, 1)",easeOutCurve:"cubic-bezier(.2, .8, .4, 1)",easeAccelerate:"cubic-bezier(0.64, 0, 0.78, 0)",easeInQuinticCurve:"cubic-bezier(0.64, 0, 0.78, 0)",easeInCurve:"cubic-bezier(.8, .2, .6, 1)",easeAccelerateDecelerate:"cubic-bezier(0.83, 0, 0.17, 1)",easeInOutQuinticCurve:"cubic-bezier(0.86, 0, 0.07, 1)",easeInOutCurve:"cubic-bezier(0.4, 0, 0.2, 1)",easeResponsiveAccelerate:"cubic-bezier(0.11, 0, 0.5, 0)"};return io.default=r,io}var oo={},vm;function o0(){if(vm)return oo;vm=1,Object.defineProperty(oo,"__esModule",{value:!0}),oo.default=void 0;const r={small:320,medium:600,large:1136};return oo.default=r,oo}var lo={},hm;function rS(){if(hm)return lo;hm=1,Object.defineProperty(lo,"__esModule",{value:!0}),lo.default=void 0;const r={columns:[4,8,12],gutters:[16,36,36],margins:[16,36,64],gaps:0,unit:"px",maxWidth:1280};return lo.default=r,lo}var uo={},pr={},mm;function tE(){if(mm)return pr;mm=1,Object.defineProperty(pr,"__esModule",{value:!0}),pr.getMinimumPageMargins=pr.getMediaQueryPageMargins=pr.getMediaQuery=pr.getMediaQueries=void 0;const r=c=>`@media screen and (min-width: ${c}px)`;pr.getMediaQuery=r;const a=c=>Object.keys(c).map(f=>c[f]).sort((f,l)=>f-l).map(r);pr.getMediaQueries=a;const i=c=>{const f=Array.isArray(c)?c[0]:c;return{paddingInlineStart:`${f}px`,paddingInlineEnd:`${f}px`}};pr.getMinimumPageMargins=i;const u=c=>{const f={},l=a(c.breakpoints);for(const[m,p]of l.entries()){const d=Array.isArray(c.grid.margins)?c.grid.margins[m]??c.grid.margins.at(-1):c.grid.margins;f[p]={paddingInlineStart:`${d}px`,paddingInlineEnd:`${d}px`}}return f};return pr.getMediaQueryPageMargins=u,pr}var bm;function nS(){if(bm)return uo;bm=1,Object.defineProperty(uo,"__esModule",{value:!0}),uo.default=void 0;var r=tE(),a=i(o0());function i(c){return c&&c.__esModule?c:{default:c}}const u={small:(0,r.getMediaQuery)(a.default.small),medium:(0,r.getMediaQuery)(a.default.medium),large:(0,r.getMediaQuery)(a.default.large)};return uo.default=u,uo}var so={},ym;function aS(){if(ym)return so;ym=1,Object.defineProperty(so,"__esModule",{value:!0}),so.default=void 0;const r={scale0:"2px",scale100:"4px",scale200:"6px",scale300:"8px",scale400:"10px",scale500:"12px",scale550:"14px",scale600:"16px",scale650:"18px",scale700:"20px",scale750:"22px",scale800:"24px",scale850:"28px",scale900:"32px",scale950:"36px",scale1000:"40px",scale1200:"48px",scale1400:"56px",scale1600:"64px",scale2400:"96px",scale3200:"128px",scale4800:"192px"};return so.default=r,so}var Sm;function l0(){if(Sm)return Ji;Sm=1,Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.LightTheme=void 0;var r=g(Os()),a=g(pl()),i=g(i0()),u=g(Q1()),c=g(J1()),f=g(eS()),l=g(Es()),m=g(tS()),p=g(o0()),d=g(rS()),b=g(nS()),h=g(aS());function g(S){return S&&S.__esModule?S:{default:S}}return Ji.LightTheme={name:"light-theme",colors:{...r.default,...a.default,...(0,u.default)(),...(0,i.default)()},animation:m.default,breakpoints:p.default,borders:c.default,direction:"auto",grid:d.default,lighting:f.default,mediaQuery:b.default,sizing:h.default,typography:l.default,zIndex:{modal:2e3}},Ji}var co={},ju={},Dm;function ri(){if(Dm)return ju;Dm=1,Object.defineProperty(ju,"__esModule",{value:!0}),ju.default=r;function r(i,...u){i=i||{};const c=u.length;let f,l;for(let m=0;m<c;m++){f=u[m]||{};for(let p in f)typeof f[p]!==void 0&&(l=f[p],a(l)?i[p]=r(i[p]||Array.isArray(l)&&[]||{},l):i[p]=l)}return i}function a(i){return Array.isArray(i)||{}.toString.call(i)=="[object Object]"}return ju}var Om;function rE(){if(Om)return co;Om=1,Object.defineProperty(co,"__esModule",{value:!0}),co.LightThemeMove=void 0;var r=i(ri()),a=l0();function i(u){return u&&u.__esModule?u:{default:u}}return co.LightThemeMove=(0,r.default)({},a.LightTheme,{name:"light-theme-with-move"}),co}var fo={},Un={},Em;function Cs(){if(Em)return Un;Em=1,Object.defineProperty(Un,"__esModule",{value:!0}),Un.foundationColors=Un.default=void 0;var r=ti();const a=Un.foundationColors={primaryA:r.primitiveDarkColors.gray900Dark,primaryB:r.primitiveDarkColors.gray50Dark,primary:"#FFFFFF",primary50:"#F6F6F6",primary100:"#EEEEEE",primary200:"#E2E2E2",primary300:"#CBCBCB",primary400:"#AFAFAF",primary500:"#6B6B6B",primary600:"#545454",primary700:"#333333",accent:r.primitiveDarkColors.blue400Dark,accent50:"#EFF3FE",accent100:"#D4E2FC",accent200:"#A0BFF8",accent300:"#5B91F5",accent400:"#276EF1",accent500:"#1E54B7",accent600:"#174291",accent700:"#102C60",negative:r.primitiveDarkColors.red400Dark,negative50:"#FFEFED",negative100:"#FED7D2",negative200:"#F1998E",negative300:"#E85C4A",negative400:"#E11900",negative500:"#AB1300",negative600:"#870F00",negative700:"#5A0A00",warning:r.primitiveDarkColors.yellow400Dark,warning50:"#FFFAF0",warning100:"#FFF2D9",warning200:"#FFE3AC",warning300:"#FFCF70",warning400:"#FFC043",warning500:"#BC8B2C",warning600:"#996F00",warning700:"#674D1B",positive:r.primitiveDarkColors.green400Dark,positive50:"#E6F2ED",positive100:"#ADDEC9",positive200:"#66D19E",positive300:"#06C167",positive400:"#048848",positive500:"#03703C",positive600:"#03582F",positive700:"#10462D",white:"#FFFFFF",black:"#000000",mono100:"#CBCBCB",mono200:"#AFAFAF",mono300:"#6B6B6B",mono400:"#545454",mono500:"#333333",mono600:"#292929",mono700:"#1F1F1F",mono800:"#141414",mono900:"#111111",mono1000:"#000000"};return Un.default=a,Un}var po={},Cm;function u0(){if(Cm)return po;Cm=1,Object.defineProperty(po,"__esModule",{value:!0}),po.default=void 0;var r=u(Cs()),a=a0(),i=pl();function u(f){return f&&f.__esModule?f:{default:f}}var c=(f=r.default)=>{const l={backgroundPrimary:f.primaryB,backgroundSecondary:i.primitiveDarkColors.gray100Dark,backgroundTertiary:i.primitiveDarkColors.gray200Dark,backgroundInversePrimary:i.primitiveDarkColors.gray800Dark,backgroundInverseSecondary:i.primitiveDarkColors.gray700Dark,contentPrimary:f.primaryA,contentSecondary:i.primitiveDarkColors.gray800Dark,contentTertiary:i.primitiveDarkColors.gray700Dark,contentInversePrimary:i.primitiveDarkColors.black,contentInverseSecondary:i.primitiveDarkColors.gray200Dark,contentInverseTertiary:i.primitiveDarkColors.gray300Dark,borderOpaque:i.primitiveDarkColors.gray100Dark,borderTransparent:(0,a.hexToRgb)(f.primaryA,"0.08")||"",borderSelected:f.primaryA,borderInverseOpaque:i.primitiveDarkColors.gray300Dark,borderInverseTransparent:(0,a.hexToRgb)(f.primaryB,"0.2")||"",borderInverseSelected:f.primaryB,brandBackgroundPrimary:i.primitiveDarkColors.brandDefault500Dark,brandBackgroundSecondary:i.primitiveDarkColors.brandDefault100Dark,brandBackgroundTertiary:i.primitiveDarkColors.white,brandBackgroundDisabled:i.primitiveDarkColors.brandDefault100Dark,brandContentPrimary:i.primitiveDarkColors.brandDefault600Dark,brandContentOnPrimary:i.primitiveDarkColors.white,brandContentOnSecondary:i.primitiveDarkColors.brandDefault700Dark,brandContentOnTertiary:i.primitiveDarkColors.black,brandContentOnGradient:i.primitiveDarkColors.white,brandContentDisabled:i.primitiveDarkColors.brandDefault400Dark,brandBorderAccessible:i.primitiveDarkColors.brandDefault600Dark,brandBorderSubtle:i.primitiveDarkColors.brandDefault400Dark},m={backgroundStateDisabled:i.primitiveDarkColors.gray100Dark,backgroundOverlay:(0,a.hexToRgb)(i.primitiveDarkColors.black,"0.7")||"",backgroundOverlayArt:(0,a.hexToRgb)(i.primitiveDarkColors.black,"0.16")||"",backgroundAccent:f.accent,backgroundNegative:f.negative,backgroundWarning:f.warning,backgroundPositive:f.positive,backgroundAccentLight:i.primitiveDarkColors.blue100Dark,backgroundPositiveLight:i.primitiveDarkColors.green100Dark,backgroundNegativeLight:i.primitiveDarkColors.red100Dark,backgroundWarningLight:i.primitiveDarkColors.yellow100Dark,backgroundAlwaysDark:i.primitiveDarkColors.gray100Dark,backgroundAlwaysLight:i.primitiveDarkColors.gray900Dark,contentStateDisabled:i.primitiveDarkColors.gray400Dark,contentAccent:i.primitiveDarkColors.blue600Dark,contentOnColor:i.primitiveDarkColors.gray900Dark,contentOnColorInverse:i.primitiveDarkColors.black,contentNegative:i.primitiveDarkColors.red600Dark,contentWarning:i.primitiveDarkColors.yellow600Dark,contentPositive:i.primitiveDarkColors.green600Dark,tagRedContentSecondary:i.primitiveDarkColors.red700Dark,borderStateDisabled:i.primitiveDarkColors.gray100Dark,borderAccent:i.primitiveDarkColors.blue500Dark,borderAccentLight:i.primitiveDarkColors.blue400Dark,borderNegative:i.primitiveDarkColors.red500Dark,borderNegativeLight:i.primitiveDarkColors.red400Dark,borderWarning:i.primitiveDarkColors.yellow500Dark,borderWarningLight:i.primitiveDarkColors.yellow400Dark,borderPositive:i.primitiveDarkColors.green500Dark,borderPositiveLight:i.primitiveDarkColors.green400Dark,tagRedBorderSecondarySelected:i.primitiveDarkColors.red800Dark,safety:i.primitiveLightColors.blue600,eatsGreen400:i.primitiveLightColors.green600,freightBlue400:i.primitiveLightColors.cobalt400,rewardsTier1:i.primitiveLightColors.blue600,rewardsTier2:i.primitiveLightColors.yellow300,rewardsTier3:i.primitiveLightColors.platinum400,rewardsTier4:i.primitiveLightColors.black,membership:i.primitiveLightColors.yellow600},p={jumpRed400:i.primitiveLightColors.red600,backgroundOverlayLight:m.backgroundOverlay,backgroundOverlayDark:m.backgroundOverlay,backgroundLightAccent:m.backgroundAccentLight,backgroundLightPositive:m.backgroundPositiveLight,backgroundLightWarning:m.backgroundWarningLight,backgroundLightNegative:m.backgroundNegativeLight},d={tagGrayBackgroundPrimary:i.primitiveDarkColors.gray400Dark,tagGrayBackgroundSecondary:i.primitiveDarkColors.gray100Dark,tagGrayContentPrimary:i.primitiveDarkColors.gray900Dark,tagGrayContentSecondary:i.primitiveDarkColors.gray700Dark,tagGrayBackgroundStateDisabled:i.primitiveDarkColors.gray100Dark,tagGrayContentStateDisabled:i.primitiveDarkColors.gray400Dark,tagGrayBorderPrimaryUnselected:i.primitiveDarkColors.gray500Dark,tagGrayBorderSecondaryUnselected:i.primitiveDarkColors.gray500Dark,tagGrayBorderSecondarySelected:i.primitiveDarkColors.gray800Dark,tagRedBackgroundPrimary:i.primitiveDarkColors.red400Dark,tagRedBackgroundSecondary:i.primitiveDarkColors.red100Dark,tagRedContentPrimary:i.primitiveDarkColors.red900Dark,tagRedContentSecondary:i.primitiveDarkColors.red700Dark,tagRedBackgroundStateDisabled:i.primitiveDarkColors.red100Dark,tagRedContentStateDisabled:i.primitiveDarkColors.red400Dark,tagRedBorderPrimaryUnselected:i.primitiveDarkColors.red500Dark,tagRedBorderSecondaryUnselected:i.primitiveDarkColors.red500Dark,tagRedBorderSecondarySelected:i.primitiveDarkColors.red800Dark,tagOrangeBackgroundPrimary:i.primitiveDarkColors.orange400Dark,tagOrangeBackgroundSecondary:i.primitiveDarkColors.orange100Dark,tagOrangeContentPrimary:i.primitiveDarkColors.orange900Dark,tagOrangeContentSecondary:i.primitiveDarkColors.orange700Dark,tagOrangeBackgroundStateDisabled:i.primitiveDarkColors.orange100Dark,tagOrangeContentStateDisabled:i.primitiveDarkColors.orange400Dark,tagYellowBackgroundPrimary:i.primitiveDarkColors.yellow700Dark,tagOrangeBorderPrimaryUnselected:i.primitiveDarkColors.orange500Dark,tagYellowBackgroundSecondary:i.primitiveDarkColors.yellow100Dark,tagOrangeBorderSecondaryUnselected:i.primitiveDarkColors.orange500Dark,tagOrangeBorderSecondarySelected:i.primitiveDarkColors.orange800Dark,tagYellowContentPrimary:i.primitiveDarkColors.yellow50Dark,tagYellowContentSecondary:i.primitiveDarkColors.yellow900Dark,tagYellowBackgroundStateDisabled:i.primitiveDarkColors.yellow100Dark,tagYellowContentStateDisabled:i.primitiveDarkColors.yellow400Dark,tagYellowBorderPrimaryUnselected:i.primitiveDarkColors.yellow800Dark,tagYellowBorderSecondaryUnselected:i.primitiveDarkColors.yellow500Dark,tagYellowBorderSecondarySelected:i.primitiveDarkColors.yellow800Dark,tagGreenBackgroundPrimary:i.primitiveDarkColors.green400Dark,tagGreenBackgroundSecondary:i.primitiveDarkColors.green100Dark,tagGreenContentPrimary:i.primitiveDarkColors.green900Dark,tagGreenContentSecondary:i.primitiveDarkColors.green700Dark,tagGreenBackgroundStateDisabled:i.primitiveDarkColors.green100Dark,tagGreenContentStateDisabled:i.primitiveDarkColors.green400Dark,tagGreenBorderPrimaryUnselected:i.primitiveDarkColors.green500Dark,tagBlueBackgroundPrimary:i.primitiveDarkColors.blue400Dark,tagBlueBackgroundSecondary:i.primitiveDarkColors.blue100Dark,tagGreenBorderSecondaryUnselected:i.primitiveDarkColors.green500Dark,tagBlueContentPrimary:i.primitiveDarkColors.blue900Dark,tagGreenBorderSecondarySelected:i.primitiveDarkColors.green800Dark,tagBlueContentSecondary:i.primitiveDarkColors.blue700Dark,tagBlueBackgroundStateDisabled:i.primitiveDarkColors.blue100Dark,tagBlueContentStateDisabled:i.primitiveDarkColors.blue400Dark,tagBlueBorderPrimaryUnselected:i.primitiveDarkColors.blue500Dark,tagPurpleBackgroundPrimary:i.primitiveDarkColors.purple400Dark,tagPurpleBackgroundSecondary:i.primitiveDarkColors.purple100Dark,tagBlueBorderSecondaryUnselected:i.primitiveDarkColors.blue500Dark,tagBlueBorderSecondarySelected:i.primitiveDarkColors.blue800Dark,tagPurpleContentPrimary:i.primitiveDarkColors.purple900Dark,tagPurpleContentSecondary:i.primitiveDarkColors.purple700Dark,tagPurpleBackgroundStateDisabled:i.primitiveDarkColors.purple100Dark,tagPurpleContentStateDisabled:i.primitiveDarkColors.purple400Dark,tagPurpleBorderPrimaryUnselected:i.primitiveDarkColors.purple500Dark,tagMagentaBackgroundPrimary:i.primitiveDarkColors.magenta400Dark,tagPurpleBorderSecondaryUnselected:i.primitiveDarkColors.purple500Dark,tagMagentaBackgroundSecondary:i.primitiveDarkColors.magenta100Dark,tagPurpleBorderSecondarySelected:i.primitiveDarkColors.purple800Dark,tagMagentaContentPrimary:i.primitiveDarkColors.magenta900Dark,tagMagentaContentSecondary:i.primitiveDarkColors.magenta700Dark,tagMagentaBackgroundStateDisabled:i.primitiveDarkColors.magenta100Dark,tagMagentaContentStateDisabled:i.primitiveDarkColors.magenta400Dark,tagMagentaBorderPrimaryUnselected:i.primitiveDarkColors.magenta500Dark,tagMagentaBorderSecondaryUnselected:i.primitiveDarkColors.magenta500Dark,tagMagentaBorderSecondarySelected:i.primitiveDarkColors.magenta800Dark,tagTealBackgroundPrimary:i.primitiveDarkColors.teal400Dark,tagTealBackgroundSecondary:i.primitiveDarkColors.teal100Dark,tagTealContentPrimary:i.primitiveDarkColors.teal900Dark,tagTealContentSecondary:i.primitiveDarkColors.teal700Dark,tagTealBackgroundStateDisabled:i.primitiveDarkColors.teal100Dark,tagTealContentStateDisabled:i.primitiveDarkColors.teal400Dark,tagTealBorderPrimaryUnselected:i.primitiveDarkColors.teal500Dark,tagTealBorderSecondaryUnselected:i.primitiveDarkColors.teal500Dark,tagTealBorderSecondarySelected:i.primitiveDarkColors.teal800Dark,tagLimeBackgroundPrimary:i.primitiveDarkColors.lime400Dark,tagLimeBackgroundSecondary:i.primitiveDarkColors.lime100Dark,tagLimeContentPrimary:i.primitiveDarkColors.lime900Dark,tagLimeContentSecondary:i.primitiveDarkColors.lime700Dark,tagLimeBackgroundStateDisabled:i.primitiveDarkColors.lime100Dark,tagLimeContentStateDisabled:i.primitiveDarkColors.lime400Dark,tagLimeBorderPrimaryUnselected:i.primitiveDarkColors.lime500Dark,tagLimeBorderSecondaryUnselected:i.primitiveDarkColors.lime500Dark,tagLimeBorderSecondarySelected:i.primitiveDarkColors.lime800Dark};return{...l,...m,...d,...{hoverOverlayInverseAlpha:"rgba(0, 0, 0, 0.04)",hoverOverlayAlpha:"rgba(255, 255, 255, 0.1)",hoverNegativeAlpha:"rgba(163, 44, 52, 0.4)",pressedOverlayAlpha:"rgba(255, 255, 255, 0.15)",pressedOverlayInverseAlpha:"rgba(0, 0, 0, 0.08)",pressedNegativeAlpha:"rgba(163, 44, 52, 0.6)"},...p}};return po.default=c,po}var go={},_m;function iS(){if(_m)return go;_m=1,Object.defineProperty(go,"__esModule",{value:!0}),go.default=void 0;var r=i(u0()),a=ti();function i(l){return l&&l.__esModule?l:{default:l}}const u=(0,r.default)(),c="rgba(255, 255, 255, 0.2)";var f=(l=u)=>({bannerActionLowInfo:a.primitiveDarkColors.blue100Dark,bannerActionLowNegative:a.primitiveDarkColors.red200Dark,bannerActionLowPositive:a.primitiveDarkColors.green200Dark,bannerActionLowWarning:a.primitiveDarkColors.yellow200Dark,bannerActionHighInfo:a.primitiveDarkColors.blue300Dark,bannerActionHighNegative:a.primitiveDarkColors.red300Dark,bannerActionHighPositive:a.primitiveDarkColors.green300Dark,bannerActionHighWarning:a.primitiveDarkColors.yellow300Dark,bottomNavigationText:a.primitiveDarkColors.gray600Dark,bottomNavigationSelectedText:l.contentPrimary,buttonPrimaryFill:l.backgroundInversePrimary,buttonPrimaryText:l.contentInversePrimary,buttonPrimaryHover:a.primitiveDarkColors.gray700Dark,buttonPrimaryActive:a.primitiveDarkColors.gray600Dark,buttonPrimaryHoverOverlay:l.hoverOverlayInverseAlpha,buttonPrimaryActiveOverlay:l.pressedOverlayInverseAlpha,buttonPrimarySelectedFill:l.backgroundInversePrimary,buttonPrimarySelectedText:l.contentInversePrimary,buttonPrimaryLoadingFill:l.backgroundInversePrimary,buttonPrimarySpinnerForeground:l.backgroundAccent,buttonPrimarySpinnerBackground:l.backgroundPrimary,buttonSecondaryFill:l.backgroundSecondary,buttonSecondaryText:l.contentPrimary,buttonSecondaryHover:a.primitiveDarkColors.gray300Dark,buttonSecondaryActive:a.primitiveDarkColors.gray400Dark,buttonSecondaryHoverOverlay:l.hoverOverlayAlpha,buttonSecondaryActiveOverlay:l.pressedOverlayAlpha,buttonSecondarySelectedFill:l.backgroundInversePrimary,buttonSecondarySelectedText:l.contentInversePrimary,buttonSecondaryLoadingFill:l.backgroundSecondary,buttonSecondarySpinnerForeground:l.backgroundAccent,buttonSecondarySpinnerBackground:l.backgroundPrimary,buttonTertiaryFill:"transparent",buttonTertiaryText:l.contentPrimary,buttonTertiaryHover:a.primitiveDarkColors.gray100Dark,buttonTertiaryActive:a.primitiveDarkColors.gray200Dark,buttonTertiaryHoverOverlay:l.hoverOverlayAlpha,buttonTertiaryActiveOverlay:l.pressedOverlayAlpha,buttonTertiarySelectedFill:"transparent",buttonTertiarySelectedText:l.contentPrimary,buttonTertiaryLoadingFill:"transparent",buttonTertiaryFocusFill:l.backgroundTertiary,buttonTertiaryDisabledActiveFill:l.backgroundStateDisabled,buttonTertiaryDisabledActiveText:l.contentStateDisabled,buttonTertiarySpinnerForeground:l.backgroundAccent,buttonTertiarySpinnerBackground:l.backgroundTertiary,buttonDangerPrimaryFill:l.backgroundNegative,buttonDangerPrimaryText:l.contentOnColor,buttonDangerPrimaryHoverOverlay:l.hoverOverlayAlpha,buttonDangerPrimaryActiveOverlay:l.pressedOverlayAlpha,buttonDangerPrimarySelectedFill:l.backgroundNegative,buttonDangerPrimarySelectedText:l.contentOnColor,buttonDangerPrimaryLoadingFill:l.backgroundNegative,buttonDangerPrimarySpinnerForeground:l.backgroundAccent,buttonDangerPrimarySpinnerBackground:l.backgroundPrimary,buttonDangerSecondaryFill:l.backgroundSecondary,buttonDangerSecondaryText:l.contentNegative,buttonDangerSecondaryHoverOverlay:l.hoverOverlayAlpha,buttonDangerSecondaryActiveOverlay:l.pressedOverlayAlpha,buttonDangerSecondarySelectedFill:l.backgroundNegative,buttonDangerSecondarySelectedText:l.contentOnColor,buttonDangerSecondaryLoadingFill:l.backgroundSecondary,buttonDangerSecondarySpinnerForeground:l.backgroundAccent,buttonDangerSecondarySpinnerBackground:l.backgroundPrimary,buttonDangerTertiaryFill:"transparent",buttonDangerTertiaryText:l.contentNegative,buttonDangerTertiaryHoverOverlay:l.hoverOverlayAlpha,buttonDangerTertiaryActiveOverlay:l.pressedOverlayAlpha,buttonDangerTertiarySelectedFill:l.backgroundPrimary,buttonDangerTertiarySelectedText:l.contentNegative,buttonDangerTertiaryLoadingFill:"transparent",buttonDangerTertiarySpinnerForeground:l.backgroundAccent,buttonDangerTertiarySpinnerBackground:l.backgroundPrimary,buttonOutlineFill:"transparent",buttonOutlineText:l.contentPrimary,buttonOutlineHoverOverlay:l.hoverOverlayAlpha,buttonOutlineActiveOverlay:l.pressedOverlayAlpha,buttonOutlineSelectedFill:"transparent",buttonOutlineSelectedText:l.contentPrimary,buttonOutlineFocusFill:l.backgroundTertiary,buttonOutlineLoadingFill:"transparent",buttonOutlineSpinnerForeground:l.backgroundAccent,buttonOutlineSpinnerBackground:l.backgroundPrimary,buttonDisabledFill:l.backgroundStateDisabled,buttonDisabledText:l.contentStateDisabled,buttonDisabledActiveFill:l.backgroundStateDisabled,buttonDisabledActiveText:l.contentStateDisabled,buttonDisabledSpinnerForeground:l.contentStateDisabled,buttonDisabledSpinnerBackground:l.backgroundPrimary,buttonOuterBorder:l.borderSelected,buttonOutlineOuterBorder:l.borderOpaque,buttonDangerTertiaryOuterBorder:l.tagRedBorderSecondarySelected,buttonInnerBorder:l.contentInversePrimary,buttonTransparentBorder:"transparent",buttonFocusOuterBorder:l.borderAccent,breadcrumbsText:l.contentPrimary,breadcrumbsSeparatorFill:l.contentTertiary,calendarBackground:l.backgroundPrimary,calendarForeground:l.contentPrimary,calendarForegroundDisabled:l.contentStateDisabled,calendarHeaderBackground:l.backgroundPrimary,calendarHeaderForeground:l.contentPrimary,calendarHeaderBackgroundActive:l.backgroundInversePrimary,calendarHeaderForegroundDisabled:l.contentStateDisabled,calendarDayForegroundPseudoSelected:l.backgroundInversePrimary,calendarDayBackgroundPseudoSelectedHighlighted:l.backgroundTertiary,calendarDayForegroundPseudoSelectedHighlighted:l.contentPrimary,calendarDayBackgroundSelected:l.backgroundInversePrimary,calendarDayForegroundSelected:l.contentInversePrimary,calendarDayBackgroundSelectedHighlighted:l.backgroundInversePrimary,calendarDayForegroundSelectedHighlighted:l.contentInversePrimary,comboboxListItemFocus:l.backgroundSecondary,comboboxListItemHover:l.backgroundTertiary,fileUploaderBackgroundColor:l.backgroundSecondary,fileUploaderBackgroundColorActive:l.backgroundPrimary,fileUploaderBorderColorActive:l.borderSelected,fileUploaderBorderColorDefault:l.borderOpaque,fileUploaderMessageColor:l.contentPrimary,linkText:l.contentPrimary,linkVisited:a.primitiveDarkColors.gray500Dark,linkHover:a.primitiveDarkColors.gray700Dark,linkActive:a.primitiveDarkColors.gray600Dark,listHeaderFill:l.backgroundPrimary,listBodyFill:l.backgroundPrimary,progressStepsCompletedText:l.contentInversePrimary,progressStepsCompletedFill:l.backgroundInversePrimary,progressStepsActiveText:l.contentInversePrimary,progressStepsActiveFill:l.backgroundInversePrimary,modalCloseColor:l.contentPrimary,modalCloseColorHover:a.primitiveDarkColors.gray700Dark,modalCloseColorFocus:a.primitiveDarkColors.gray600Dark,notificationInfoBackground:l.backgroundAccentLight,notificationInfoText:l.contentPrimary,notificationPositiveBackground:l.backgroundPositiveLight,notificationPositiveText:l.contentPrimary,notificationWarningBackground:l.backgroundWarningLight,notificationWarningText:l.contentPrimary,notificationNegativeBackground:l.backgroundNegativeLight,notificationNegativeText:l.contentPrimary,tagFontDisabledRampUnit:"600",tagSolidFontRampUnit:"0",tagSolidRampUnit:"600",tagOutlinedFontRampUnit:"500",tagOutlinedRampUnit:"500",tagSolidHoverRampUnit:"500",tagSolidActiveRampUnit:"400",tagSolidDisabledRampUnit:"700",tagSolidFontHoverRampUnit:"100",tagLightRampUnit:"700",tagLightHoverRampUnit:"700",tagLightActiveRampUnit:"600",tagLightFontRampUnit:"100",tagLightFontHoverRampUnit:"100",tagOutlinedActiveRampUnit:"300",tagOutlinedHoverRampUnit:"800",tagOutlinedFontHoverRampUnit:"100",tagNeutralFontDisabled:a.primitiveDarkColors.gray400Dark,tagNeutralOutlinedDisabled:a.primitiveDarkColors.gray400Dark,tagNeutralSolidFont:a.primitiveDarkColors.gray900Dark,tagNeutralSolidBackground:a.primitiveDarkColors.gray400Dark,tagNeutralOutlinedBackground:a.primitiveDarkColors.gray100Dark,tagNeutralOutlinedFont:a.primitiveDarkColors.gray700Dark,tagNeutralSolidHover:a.primitiveDarkColors.gray700Dark,tagNeutralSolidActive:a.primitiveDarkColors.gray600Dark,tagNeutralSolidDisabled:a.primitiveDarkColors.gray100Dark,tagNeutralSolidFontHover:a.primitiveDarkColors.gray800Dark,tagNeutralLightBackground:a.primitiveDarkColors.gray100Dark,tagNeutralLightHover:a.primitiveDarkColors.gray800Dark,tagNeutralLightActive:a.primitiveDarkColors.gray700Dark,tagNeutralLightDisabled:a.primitiveDarkColors.gray400Dark,tagNeutralLightFont:a.primitiveDarkColors.gray900Dark,tagNeutralLightFontHover:a.primitiveDarkColors.gray800Dark,tagNeutralOutlinedActive:a.primitiveDarkColors.gray700Dark,tagNeutralOutlinedFontHover:a.primitiveDarkColors.gray700Dark,tagNeutralOutlinedHover:c,tagPrimaryOutlinedFont:a.primitiveDarkColors.gray700Dark,tagPrimaryOutlinedBackground:a.primitiveDarkColors.gray100Dark,tagPrimarySolidFont:a.primitiveDarkColors.gray900Dark,tagPrimarySolidBackground:a.primitiveDarkColors.gray400Dark,tagPrimaryFontDisabled:a.primitiveDarkColors.gray400Dark,tagPrimaryOutlinedDisabled:a.primitiveDarkColors.gray400Dark,tagPrimarySolidHover:a.primitiveDarkColors.gray300Dark,tagPrimarySolidActive:a.primitiveDarkColors.gray200Dark,tagPrimarySolidDisabled:a.primitiveDarkColors.gray100Dark,tagPrimarySolidFontHover:a.primitiveDarkColors.gray800Dark,tagPrimaryLightBackground:a.primitiveDarkColors.gray100Dark,tagPrimaryLightHover:a.primitiveDarkColors.gray200Dark,tagPrimaryLightActive:a.primitiveDarkColors.gray300Dark,tagPrimaryLightDisabled:a.primitiveDarkColors.gray400Dark,tagPrimaryLightFont:a.primitiveDarkColors.gray900Dark,tagPrimaryLightFontHover:a.primitiveDarkColors.gray800Dark,tagPrimaryOutlinedActive:a.primitiveDarkColors.gray700Dark,tagPrimaryOutlinedFontHover:a.primitiveDarkColors.gray700Dark,tagPrimaryOutlinedHover:c,tagAccentOutlinedFont:a.primitiveDarkColors.blue700Dark,tagAccentOutlinedBackground:a.primitiveDarkColors.blue100Dark,tagAccentSolidFont:a.primitiveDarkColors.blue900Dark,tagAccentSolidBackground:a.primitiveDarkColors.blue500Dark,tagAccentFontDisabled:a.primitiveDarkColors.blue400Dark,tagAccentOutlinedDisabled:a.primitiveDarkColors.blue400Dark,tagAccentSolidHover:a.primitiveDarkColors.blue300Dark,tagAccentSolidActive:a.primitiveDarkColors.blue200Dark,tagAccentSolidDisabled:a.primitiveDarkColors.blue100Dark,tagAccentSolidFontHover:a.primitiveDarkColors.gray800Dark,tagAccentLightBackground:a.primitiveDarkColors.blue100Dark,tagAccentLightHover:a.primitiveDarkColors.blue200Dark,tagAccentLightActive:a.primitiveDarkColors.blue300Dark,tagAccentLightDisabled:a.primitiveDarkColors.blue400Dark,tagAccentLightFont:a.primitiveDarkColors.blue900Dark,tagAccentLightFontHover:a.primitiveDarkColors.blue800Dark,tagAccentOutlinedActive:a.primitiveDarkColors.blue700Dark,tagAccentOutlinedFontHover:a.primitiveDarkColors.blue700Dark,tagAccentOutlinedHover:c,tagPositiveFontDisabled:a.primitiveDarkColors.green400Dark,tagPositiveOutlinedDisabled:a.primitiveDarkColors.green400Dark,tagPositiveSolidFont:a.primitiveDarkColors.green900Dark,tagPositiveSolidBackground:a.primitiveDarkColors.green500Dark,tagPositiveOutlinedBackground:a.primitiveDarkColors.green100Dark,tagPositiveOutlinedFont:a.primitiveDarkColors.green700Dark,tagPositiveSolidHover:a.primitiveDarkColors.green300Dark,tagPositiveSolidActive:a.primitiveDarkColors.green200Dark,tagPositiveSolidDisabled:a.primitiveDarkColors.green100Dark,tagPositiveSolidFontHover:a.primitiveDarkColors.gray800Dark,tagPositiveLightBackground:a.primitiveDarkColors.green100Dark,tagPositiveLightHover:a.primitiveDarkColors.green200Dark,tagPositiveLightActive:a.primitiveDarkColors.green300Dark,tagPositiveLightDisabled:a.primitiveDarkColors.green400Dark,tagPositiveLightFont:a.primitiveDarkColors.green900Dark,tagPositiveLightFontHover:a.primitiveDarkColors.green800Dark,tagPositiveOutlinedActive:a.primitiveDarkColors.green700Dark,tagPositiveOutlinedFontHover:a.primitiveDarkColors.green700Dark,tagPositiveOutlinedHover:c,tagWarningOutlinedFont:a.primitiveDarkColors.yellow700Dark,tagWarningOutlinedBackground:a.primitiveDarkColors.yellow100Dark,tagWarningSolidFont:a.primitiveDarkColors.yellow50Dark,tagWarningSolidBackground:a.primitiveDarkColors.yellow700Dark,tagWarningFontDisabled:a.primitiveDarkColors.yellow400Dark,tagWarningOutlinedDisabled:a.primitiveDarkColors.yellow400Dark,tagWarningSolidHover:a.primitiveDarkColors.yellow300Dark,tagWarningSolidActive:a.primitiveDarkColors.yellow200Dark,tagWarningSolidDisabled:a.primitiveDarkColors.yellow100Dark,tagWarningSolidFontHover:a.primitiveDarkColors.gray800Dark,tagWarningLightBackground:a.primitiveDarkColors.yellow100Dark,tagWarningLightHover:a.primitiveDarkColors.yellow200Dark,tagWarningLightActive:a.primitiveDarkColors.yellow300Dark,tagWarningLightDisabled:a.primitiveDarkColors.yellow400Dark,tagWarningLightFont:a.primitiveDarkColors.yellow900Dark,tagWarningLightFontHover:a.primitiveDarkColors.yellow800Dark,tagWarningOutlinedActive:a.primitiveDarkColors.yellow700Dark,tagWarningOutlinedFontHover:a.primitiveDarkColors.yellow700Dark,tagWarningOutlinedHover:c,tagNegativeOutlinedFont:a.primitiveDarkColors.red700Dark,tagNegativeOutlinedBackground:a.primitiveDarkColors.red100Dark,tagNegativeSolidFont:a.primitiveDarkColors.gray900Dark,tagNegativeSolidBackground:a.primitiveDarkColors.red500Dark,tagNegativeFontDisabled:a.primitiveDarkColors.red400Dark,tagNegativeOutlinedDisabled:a.primitiveDarkColors.red400Dark,tagNegativeSolidHover:a.primitiveDarkColors.red300Dark,tagNegativeSolidActive:a.primitiveDarkColors.red200Dark,tagNegativeSolidDisabled:a.primitiveDarkColors.red100Dark,tagNegativeSolidFontHover:a.primitiveDarkColors.gray800Dark,tagNegativeLightBackground:a.primitiveDarkColors.red100Dark,tagNegativeLightHover:a.primitiveDarkColors.red200Dark,tagNegativeLightActive:a.primitiveDarkColors.red300Dark,tagNegativeLightDisabled:a.primitiveDarkColors.red400Dark,tagNegativeLightFont:a.primitiveDarkColors.red900Dark,tagNegativeLightFontHover:a.primitiveDarkColors.red800Dark,tagNegativeOutlinedActive:a.primitiveDarkColors.red700Dark,tagNegativeOutlinedFontHover:a.primitiveDarkColors.red700Dark,tagNegativeOutlinedHover:c,tableHeadBackgroundColor:l.backgroundPrimary,tableBackground:l.backgroundPrimary,tableStripedBackground:l.backgroundSecondary,tableFilter:l.contentTertiary,tableFilterHeading:l.contentPrimary,tableFilterBackground:l.backgroundPrimary,tableFilterFooterBackground:l.backgroundSecondary,toastText:l.contentOnColor,toastPrimaryText:l.contentOnColor,toastInfoBackground:l.backgroundAccent,toastInfoText:l.contentOnColor,toastPositiveBackground:l.backgroundPositive,toastPositiveText:l.contentOnColor,toastWarningBackground:l.backgroundWarning,toastWarningText:l.contentOnColorInverse,toastNegativeBackground:l.backgroundNegative,toastNegativeText:l.contentOnColor,toggleFill:l.backgroundPrimary,toggleFillChecked:l.contentPrimary,toggleFillDisabled:l.contentStateDisabled,toggleTrackFill:l.backgroundTertiary,toggleTrackFillDisabled:l.backgroundStateDisabled,tickFill:l.backgroundPrimary,tickFillHover:a.primitiveDarkColors.gray100Dark,tickFillActive:a.primitiveDarkColors.gray200Dark,tickFillSelected:l.contentPrimary,tickFillSelectedHover:a.primitiveDarkColors.gray800Dark,tickFillSelectedHoverActive:a.primitiveDarkColors.gray700Dark,tickFillError:l.backgroundPrimary,tickFillErrorHover:a.primitiveDarkColors.gray100Dark,tickFillErrorHoverActive:a.primitiveDarkColors.gray200Dark,tickFillErrorSelected:l.contentNegative,tickFillErrorSelectedHover:a.primitiveDarkColors.red500Dark,tickFillErrorSelectedHoverActive:a.primitiveDarkColors.red400Dark,tickFillDisabled:l.backgroundStateDisabled,tickBorder:l.contentTertiary,tickBorderError:l.borderNegative,tickMarkFill:l.contentInversePrimary,tickMarkFillError:l.contentOnColor,tickMarkFillDisabled:l.contentInversePrimary,sliderTrackFill:"transparent",sliderHandleFill:l.contentPrimary,sliderHandleFillDisabled:l.backgroundStateDisabled,sliderHandleInnerFill:l.contentPrimary,sliderTrackFillHover:a.primitiveDarkColors.gray300Dark,sliderTrackFillActive:a.primitiveDarkColors.gray400Dark,sliderTrackFillDisabled:l.backgroundStateDisabled,sliderHandleInnerFillDisabled:l.backgroundStateDisabled,sliderHandleInnerFillSelectedHover:a.primitiveDarkColors.gray600Dark,sliderHandleInnerFillSelectedActive:a.primitiveDarkColors.gray700Dark,inputBorder:l.borderOpaque,inputFill:l.backgroundSecondary,inputFillError:l.backgroundPrimary,inputFillDisabled:l.backgroundStateDisabled,inputFillActive:l.backgroundPrimary,inputFillPositive:l.backgroundPrimary,inputTextDisabled:l.contentStateDisabled,inputBorderError:l.borderNegative,inputBorderPositive:l.borderPositive,inputEnhancerFill:l.contentPrimary,inputEnhancerFillDisabled:l.contentStateDisabled,inputEnhancerTextDisabled:l.contentStateDisabled,inputPlaceholder:l.contentTertiary,inputPlaceholderDisabled:l.contentStateDisabled,menuFill:l.backgroundPrimary,menuFillHover:l.backgroundSecondary,menuFontDefault:l.contentPrimary,menuFontDisabled:l.contentStateDisabled,menuFontHighlighted:l.contentPrimary,menuFontSelected:l.contentPrimary,tabBarFill:l.backgroundPrimary,tabColor:l.contentTertiary,spinnerTrackFill:l.backgroundTertiary,progressbarTrackFill:l.backgroundTertiary,tooltipBackground:l.backgroundInverseSecondary,tooltipText:l.contentInversePrimary,ratingInactiveFill:a.primitiveDarkColors.gray500Dark,ratingStroke:a.primitiveDarkColors.gray700Dark});return go.default=f,go}var vo={},Tm;function nE(){if(Tm)return vo;Tm=1,Object.defineProperty(vo,"__esModule",{value:!0}),vo.default=void 0;var r=i(J1()),a=i(ri());function i(c){return c&&c.__esModule?c:{default:c}}const u=(0,a.default)({},r.default,{border100:{borderColor:"hsla(0, 0%, 100%, 0.04)"},border200:{borderColor:"hsla(0, 0%, 100%, 0.08)"},border300:{borderColor:"hsla(0, 0%, 100%, 0.12)"},border400:{borderColor:"hsla(0, 0%, 100%, 0.16)"},border500:{borderColor:"hsla(0, 0%, 100%, 0.2)"},border600:{borderColor:"hsla(0, 0%, 100%, 0.24)"}});return vo.default=u,vo}var km;function s0(){if(km)return fo;km=1,Object.defineProperty(fo,"__esModule",{value:!0}),fo.DarkTheme=void 0;var r=g(Cs()),a=g(pl()),i=g(u0()),u=g(iS()),c=g(nE()),f=g(eS()),l=g(Es()),m=g(tS()),p=g(o0()),d=g(rS()),b=g(nS()),h=g(aS());function g(S){return S&&S.__esModule?S:{default:S}}return fo.DarkTheme={name:"dark-theme",colors:{...r.default,...a.default,...(0,u.default)(),...(0,i.default)()},animation:m.default,breakpoints:p.default,borders:c.default,direction:"auto",grid:d.default,lighting:f.default,mediaQuery:b.default,sizing:h.default,typography:l.default,zIndex:{modal:2e3}},fo}var ho={},Am;function aE(){if(Am)return ho;Am=1,Object.defineProperty(ho,"__esModule",{value:!0}),ho.DarkThemeMove=void 0;var r=i(ri()),a=s0();function i(u){return u&&u.__esModule?u:{default:u}}return ho.DarkThemeMove=(0,r.default)({},a.DarkTheme,{name:"dark-theme-with-move"}),ho}var Hu={},Iu={},Mm;function oS(){if(Mm)return Iu;Mm=1,Object.defineProperty(Iu,"__esModule",{value:!0}),Iu.getFoundationColorOverrides=a;const r=["primaryA","primaryB","primary","accent","negative","warning","positive"];function a(i){return i?r.reduce((u,c)=>(i[c]&&(u[c]=i[c]),u),{}):{}}return Iu}var wm;function iE(){if(wm)return Hu;wm=1,Object.defineProperty(Hu,"__esModule",{value:!0}),Hu.default=p;var r=m(ri()),a=oS(),i=ti(),u=m(iS()),c=m(u0()),f=m(Cs()),l=s0();function m(d){return d&&d.__esModule?d:{default:d}}function p(d){const b={...f.default,...(0,a.getFoundationColorOverrides)(d?.colors)},h=(0,c.default)(b),g=(0,u.default)(h),S={...structuredClone(l.DarkTheme),colors:{...i.primitiveColors,...b,...h,...g}};return(0,r.default)(S,d)}return Hu}var qu={},Pm;function oE(){if(Pm)return qu;Pm=1,Object.defineProperty(qu,"__esModule",{value:!0}),qu.default=p;var r=m(ri()),a=oS(),i=ti(),u=m(Q1()),c=m(i0()),f=m(Os()),l=l0();function m(d){return d&&d.__esModule?d:{default:d}}function p(d){const b={...f.default,...(0,a.getFoundationColorOverrides)(d?.colors)},h=(0,c.default)(b),g=(0,u.default)(h),S={...structuredClone(l.LightTheme),colors:{...i.primitiveColors,...b,...h,...g}};return(0,r.default)(S,d)}return qu}var mo={},Rm;function lE(){if(Rm)return mo;Rm=1,Object.defineProperty(mo,"__esModule",{value:!0}),mo.default=void 0;var r=i(Cs()),a=Es();function i(c){return c&&c.__esModule?c:{default:c}}const u={...r.default,...a.fontTokens};return mo.default=u,mo}var bo={},xm;function uE(){if(xm)return bo;xm=1,Object.defineProperty(bo,"__esModule",{value:!0}),bo.default=void 0;var r=i(Os()),a=Es();function i(c){return c&&c.__esModule?c:{default:c}}const u={...r.default,...a.fontTokens};return bo.default=u,bo}var Bm={},Lm;function sE(){return Lm||(Lm=1),Bm}var Fm;function lS(){return Fm||(Fm=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={LightTheme:!0,LightThemeMove:!0,DarkTheme:!0,darkThemeOverrides:!0,DarkThemeMove:!0,createDarkTheme:!0,createLightTheme:!0,createTheme:!0,darkThemePrimitives:!0,lightThemePrimitives:!0};Object.defineProperty(r,"DarkTheme",{enumerable:!0,get:function(){return c.DarkTheme}}),Object.defineProperty(r,"DarkThemeMove",{enumerable:!0,get:function(){return f.DarkThemeMove}}),Object.defineProperty(r,"LightTheme",{enumerable:!0,get:function(){return i.LightTheme}}),Object.defineProperty(r,"LightThemeMove",{enumerable:!0,get:function(){return u.LightThemeMove}}),Object.defineProperty(r,"createDarkTheme",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"createLightTheme",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(r,"createTheme",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(r,"darkThemeOverrides",{enumerable:!0,get:function(){return c.DarkTheme}}),Object.defineProperty(r,"darkThemePrimitives",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(r,"lightThemePrimitives",{enumerable:!0,get:function(){return d.default}});var i=l0(),u=rE(),c=s0(),f=aE(),l=h(iE()),m=h(oE()),p=h(lE()),d=h(uE()),b=sE();Object.keys(b).forEach(function(g){g==="default"||g==="__esModule"||Object.prototype.hasOwnProperty.call(a,g)||g in r&&r[g]===b[g]||Object.defineProperty(r,g,{enumerable:!0,get:function(){return b[g]}})});function h(g){return g&&g.__esModule?g:{default:g}}})(tf)),tf}var Nm;function uS(){if(Nm)return Hn;Nm=1,Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.default=Hn.ThemeContext=void 0;var r=u(Pe()),a=lS();function i(l){if(typeof WeakMap!="function")return null;var m=new WeakMap,p=new WeakMap;return(i=function(d){return d?p:m})(l)}function u(l,m){if(l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var p=i(m);if(p&&p.has(l))return p.get(l);var d={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var g=b?Object.getOwnPropertyDescriptor(l,h):null;g&&(g.get||g.set)?Object.defineProperty(d,h,g):d[h]=l[h]}return d.default=l,p&&p.set(l,d),d}const c=Hn.ThemeContext=r.createContext(a.LightTheme),f=l=>{const{theme:m,children:p}=l;return r.createElement(c.Provider,{value:m},p)};return Hn.default=f,Hn}var Zt={};function c0(r,a){const i=d0(r,a);return a.renderStyle(i)}function sS(){return{}}function d0(r,a){for(const i in r){const u=r[i];if(i==="animationName"&&typeof u!="string"){r.animationName=a.renderKeyframes(u);continue}if(i==="fontFamily"&&typeof u!="string")if(Array.isArray(u)){let c="";for(const f of u)typeof f=="object"?c+=`${a.renderFontFace(f)},`:typeof f=="string"&&(c+=`${f},`);r.fontFamily=c.slice(0,-1);continue}else{if(u===void 0)continue;r.fontFamily=a.renderFontFace(u);continue}typeof u=="object"&&u!==null&&d0(u,a)}return r}const cE=Object.freeze(Object.defineProperty({__proto__:null,driver:c0,getInitialStyle:sS,renderDeclarativeRules:d0},Symbol.toStringTag,{value:"Module"}));class dE{constructor(a){if(!a){const i=new Blob(['importScripts("https://unpkg.com/css-to-js-sourcemap-worker@2.0.5/worker.js")'],{type:"application/javascript"});a=new Worker(URL.createObjectURL(i)),a.postMessage({id:"init_wasm",url:"https://unpkg.com/css-to-js-sourcemap-worker@2.0.5/mappings.wasm"}),a.postMessage({id:"set_render_interval",interval:120}),r0.hot&&r0.hot.addStatusHandler(u=>{u==="dispose"&&a.postMessage({id:"invalidate"})})}this.worker=a,this.counter=0,this.worker.onmessage=i=>{const{id:u,css:c}=i.data;if(u==="render_css"&&c){const f=document.createElement("style");f.appendChild(document.createTextNode(c)),document.head.appendChild(f)}}}debug({stackIndex:a,stackInfo:i}){const u=`__debug-${this.counter++}`;return this.worker.postMessage({id:"add_mapped_class",className:u,stackInfo:i,stackIndex:a}),u}}const fE=dE;function jf(){return jf=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},jf.apply(this,arguments)}const cS={renderStyle:()=>"",renderKeyframes:()=>"",renderFontFace:()=>""},f0=re.createContext(cS),dS=re.createContext(!1),fS=re.createContext(void 0),pS=f0.Provider;function gS(r){r===cS&&console.warn("Styletron Provider is not set up. Defaulting to no-op.")}function pE(){const r=re.useContext(f0);return re.useContext(fS),re.useContext(dS),gS(r),re.useRef(""),re.useRef([]),[function(i){return c0(i,r)}]}function vS({getInitialStyle:r,driver:a,wrapper:i}){function u(c,f){return vl(mS({reducers:[],base:c,driver:a,getInitialStyle:r,wrapper:i},f))}return u}const gE=vS({getInitialStyle:sS,driver:c0,wrapper:r=>r}),vE=(r,a)=>{const i=r.__STYLETRON__;return vl(gl(i,a))},hS=(r,a)=>{const i=r.__STYLETRON__;return vl(bS(i,a))},hE=hS,mE=(r,a)=>{const i=r.__STYLETRON__,u={getInitialStyle:i.getInitialStyle,base:i.base,driver:i.driver,wrapper:a,reducers:i.reducers};return vl(u)};function mS(r,a){return typeof a=="function"?DS(r,a):yS(r,a)}function bS(r,a){return typeof a=="function"?OS(r,a):SS(r,a)}function yS(r,a){return v0(r,p0(a))}function SS(r,a){return v0(r,g0(a))}function DS(r,a){return gl(r,(i,u)=>CS(i,a(u)))}function OS(r,a){return gl(r,(i,u)=>ll(i,a(u)))}function p0(r){return{reducer:a=>CS(a,r),assignmentCommutative:!0,factory:p0,style:r}}function g0(r){return{reducer:a=>ll(a,r),assignmentCommutative:!0,factory:g0,style:r}}function v0(r,a){if(r.reducers.length===0){const i=a.reducer(r.getInitialStyle());return{reducers:r.reducers,base:r.base,driver:r.driver,wrapper:r.wrapper,getInitialStyle:()=>i}}else{const i=r.reducers[0];if(i.assignmentCommutative===!0&&a.assignmentCommutative===!0){const u=a.reducer(i.style);return{getInitialStyle:r.getInitialStyle,base:r.base,driver:r.driver,wrapper:r.wrapper,reducers:[i.factory(u)].concat(r.reducers.slice(1))}}return gl(r,a.reducer)}}function gl(r,a){return{getInitialStyle:r.getInitialStyle,base:r.base,driver:r.driver,wrapper:r.wrapper,reducers:[{assignmentCommutative:!1,reducer:a}].concat(r.reducers)}}function vl(r){const{reducers:a,base:i,driver:u,wrapper:c,getInitialStyle:f,ext:l}=r,p=c(re.forwardRef((d,b)=>{const h=re.useContext(f0);re.useContext(fS),re.useContext(dS),gS(h);const g=bE(d);let S=ES(f,a,d);d.$style&&(typeof d.$style=="function"?S=ll(S,d.$style(d)):S=ll(S,d.$style));const y=u(S,h),D=d.$as?d.$as:i;return g.className=d.className?`${d.className} ${y}`:y,d.$ref&&console.warn("The prop `$ref` has been deprecated. Use `ref` instead. Refs are now forwarded with React.forwardRef."),re.createElement(D,jf({},g,{ref:b||d.$ref}))}));return p.__STYLETRON__={base:i,reducers:a,driver:u,wrapper:c,getInitialStyle:f},p}function ES(r,a,i){let u=r(),c=a.length;for(;c--;){const f=a[c].reducer;u=f(u,i)}return u}function zm(r){return typeof r=="object"&&r!==null}function bE(r){const a={};for(const i in r)i[0]!=="$"&&(a[i]=r[i]);return a}function ll(r,a){const i=Hf({},r);for(const u in a){const c=a[u];zm(c)&&zm(r[u])?i[u]=ll(r[u],c):i[u]=c}return i}function CS(r,a){return Hf(Hf({},r),a)}function Hf(r,a){for(const i in a)r[i]=a[i];return r}const yE=Object.freeze(Object.defineProperty({__proto__:null,DebugEngine:fE,Provider:pS,autoComposeDeep:bS,autoComposeShallow:mS,composeDynamic:gl,composeStatic:v0,createDeepMergeReducer:g0,createShallowMergeReducer:p0,createStyled:vS,createStyledElementComponent:vl,dynamicComposeDeep:OS,dynamicComposeShallow:DS,resolveStyle:ES,staticComposeDeep:SS,staticComposeShallow:yS,styled:gE,useStyletron:pE,withStyle:hE,withStyleDeep:hS,withTransform:vE,withWrapper:mE},Symbol.toStringTag,{value:"Module"})),SE=ei(yE),DE=ei(cE);var jm;function OE(){if(jm)return Zt;jm=1,Object.defineProperty(Zt,"__esModule",{value:!0}),Zt.createThemedStyled=p,Zt.createThemedUseStyletron=b,Zt.createThemedWithStyle=d,Zt.withStyle=Zt.useStyletron=Zt.styled=void 0,Zt.withWrapper=h;var r=f(Pe()),a=SE,i=DE,u=uS();function c(g){if(typeof WeakMap!="function")return null;var S=new WeakMap,y=new WeakMap;return(c=function(D){return D?y:S})(g)}function f(g,S){if(g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var y=c(S);if(y&&y.has(g))return y.get(g);var D={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in g)if(A!=="default"&&Object.prototype.hasOwnProperty.call(g,A)){var C=O?Object.getOwnPropertyDescriptor(g,A):null;C&&(C.get||C.set)?Object.defineProperty(D,A,C):D[A]=g[A]}return D.default=g,y&&y.set(g,D),D}function l(){return l=Object.assign?Object.assign.bind():function(g){for(var S=1;S<arguments.length;S++){var y=arguments[S];for(var D in y)Object.prototype.hasOwnProperty.call(y,D)&&(g[D]=y[D])}return g},l.apply(this,arguments)}const m=g=>r.forwardRef((S,y)=>r.createElement(u.ThemeContext.Consumer,null,D=>r.createElement(g,l({ref:y},S,{$theme:D}))));function p(){return(0,a.createStyled)({wrapper:m,getInitialStyle:i.getInitialStyle,driver:i.driver})}Zt.styled=p();function d(){return a.withStyle}Zt.withStyle=d();function b(){return function(){const g=r.useContext(u.ThemeContext),[S]=(0,a.useStyletron)();return[S,g]}}Zt.useStyletron=b();function h(g,S){return(0,a.withWrapper)(g,y=>r.forwardRef((D,O)=>r.createElement(u.ThemeContext.Consumer,null,A=>S(y)({ref:O,...D,$theme:A}))))}return Zt}var Hm={},Im;function EE(){return Im||(Im=1),Hm}var qm;function At(){return qm||(qm=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={ThemeConsumer:!0,ThemeProvider:!0,createThemedStyled:!0,createThemedWithStyle:!0,createThemedUseStyletron:!0,styled:!0,withStyle:!0,useStyletron:!0,withWrapper:!0,hexToRgb:!0,expandBorderStyles:!0};r.ThemeConsumer=void 0,Object.defineProperty(r,"ThemeProvider",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"createThemedStyled",{enumerable:!0,get:function(){return u.createThemedStyled}}),Object.defineProperty(r,"createThemedUseStyletron",{enumerable:!0,get:function(){return u.createThemedUseStyletron}}),Object.defineProperty(r,"createThemedWithStyle",{enumerable:!0,get:function(){return u.createThemedWithStyle}}),Object.defineProperty(r,"expandBorderStyles",{enumerable:!0,get:function(){return c.expandBorderStyles}}),Object.defineProperty(r,"hexToRgb",{enumerable:!0,get:function(){return c.hexToRgb}}),Object.defineProperty(r,"styled",{enumerable:!0,get:function(){return u.styled}}),Object.defineProperty(r,"useStyletron",{enumerable:!0,get:function(){return u.useStyletron}}),Object.defineProperty(r,"withStyle",{enumerable:!0,get:function(){return u.withStyle}}),Object.defineProperty(r,"withWrapper",{enumerable:!0,get:function(){return u.withWrapper}});var i=m(uS()),u=OE(),c=a0(),f=EE();Object.keys(f).forEach(function(p){p==="default"||p==="__esModule"||Object.prototype.hasOwnProperty.call(a,p)||p in r&&r[p]===f[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return f[p]}})});function l(p){if(typeof WeakMap!="function")return null;var d=new WeakMap,b=new WeakMap;return(l=function(h){return h?b:d})(p)}function m(p,d){if(p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var b=l(d);if(b&&b.has(p))return b.get(p);var h={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in p)if(S!=="default"&&Object.prototype.hasOwnProperty.call(p,S)){var y=g?Object.getOwnPropertyDescriptor(p,S):null;y&&(y.get||y.set)?Object.defineProperty(h,S,y):h[S]=p[S]}return h.default=p,b&&b.set(p,h),h}r.ThemeConsumer=i.ThemeContext.Consumer})(ef)),ef}var Wn={},nf,Um;function CE(){if(Um)return nf;Um=1,nf=r;function r(){var u=[].slice.call(arguments),c=!1;typeof u[0]=="boolean"&&(c=u.shift());var f=u[0];if(i(f))throw new Error("extendee must be an object");for(var l=u.slice(1),m=l.length,p=0;p<m;p++){var d=l[p];for(var b in d)if(Object.prototype.hasOwnProperty.call(d,b)){var h=d[b];if(c&&a(h)){var g=Array.isArray(h)?[]:{};f[b]=r(!0,Object.prototype.hasOwnProperty.call(f,b)&&!i(f[b])?f[b]:g,h)}else f[b]=h}}return f}function a(u){return Array.isArray(u)||{}.toString.call(u)=="[object Object]"}function i(u){return!u||typeof u!="object"&&typeof u!="function"}return nf}var yo={},So={},Wm;function _E(){if(Wm)return So;Wm=1,Object.defineProperty(So,"__esModule",{value:!0}),So.default=void 0;const r={collapse:"Collapse",expand:"Expand"};return So.default=r,So}var Do={},Gm;function TE(){if(Gm)return Do;Gm=1,Object.defineProperty(Do,"__esModule",{value:!0}),Do.default=void 0;const r={ariaLabel:"Breadcrumbs navigation"};return Do.default=r,Do}var Oo={},Ym;function kE(){if(Ym)return Oo;Ym=1,Object.defineProperty(Oo,"__esModule",{value:!0}),Oo.default=void 0;const r={ariaLabel:"Select a date.",ariaLabelRange:"Select a date range.",ariaLabelCalendar:"Calendar.",ariaRoleDescriptionCalendarMonth:"Calendar month",previousMonth:"Previous month.",nextMonth:"Next month.",pastWeek:"Past Week",pastMonth:"Past Month",pastThreeMonths:"Past 3 Months",pastSixMonths:"Past 6 Months",pastYear:"Past Year",pastTwoYears:"Past 2 Years",screenReaderMessageInput:"Date format is ${formatString}. Press the down arrow or enter key to interact with the calendar and select a date. Press the escape button to close the calendar.",selectedDate:"Selected date is ${date}.",selectedDateRange:"Selected date range is from ${startDate} to ${endDate}.",selectSecondDatePrompt:"Select the second date.",quickSelectLabel:"Choose a date range",quickSelectAriaLabel:"Choose a date range",quickSelectPlaceholder:"None",timeSelectEndLabel:"End time",timeSelectStartLabel:"Start time",timePickerAriaLabel12Hour:"Select a time, 12-hour format.",timePickerAriaLabel24Hour:"Select a time, 24-hour format.",timezonePickerAriaLabel:"Select a timezone.",selectedStartDateLabel:"Selected start date.",selectedEndDateLabel:"Selected end date.",dateNotAvailableLabel:"Not available.",dateAvailableLabel:"It's available.",selectedLabel:"Selected.",chooseLabel:"Choose"};return Oo.default=r,Oo}var Eo={},Vm;function AE(){if(Vm)return Eo;Vm=1,Object.defineProperty(Eo,"__esModule",{value:!0}),Eo.default=void 0;const r={emptyState:"No rows match the filter criteria defined. Please remove one or more filters to view more data.",loadingState:"Loading rows.",searchAriaLabel:"Search by text",filterAdd:"Add Filter",filterExclude:"Exclude",filterApply:"Apply",filterExcludeRange:"Exclude range",filterExcludeValue:"Exclude value",filterAppliedTo:"filter applied to",optionsLabel:"Select column to filter by",optionsSearch:"Search for a column to filter by...",optionsEmpty:"No columns available.",categoricalFilterSearchLabel:"Search categories",categoricalFilterSelectAll:"Select All",categoricalFilterSelectClear:"Clear",categoricalFilterEmpty:"No categories found",datetimeFilterRange:"Range",datetimeFilterRangeDatetime:"Date, Time",datetimeFilterRangeDate:"Date",datetimeFilterRangeTime:"Time",datetimeFilterCategorical:"Categorical",datetimeFilterCategoricalWeekday:"Weekday",datetimeFilterCategoricalMonth:"Month",datetimeFilterCategoricalQuarter:"Quarter",datetimeFilterCategoricalHalf:"Half",datetimeFilterCategoricalFirstHalf:"H1",datetimeFilterCategoricalSecondHalf:"H2",datetimeFilterCategoricalYear:"Year",numericalFilterRange:"Range",numericalFilterSingleValue:"Single Value",booleanFilterTrue:"true",booleanFilterFalse:"false",booleanColumnTrueShort:"T",booleanColumnFalseShort:"F",selectRow:"Select row",selectAllRows:"Select all rows",sortColumn:"Sort column",textQueryPlaceholder:"Search..."};return Eo.default=r,Eo}var Co={},Km;function ME(){if(Km)return Co;Km=1,Object.defineProperty(Co,"__esModule",{value:!0}),Co.default=void 0;const r={ariaLabel:"button group"};return Co.default=r,Co}var _o={},Zm;function wE(){if(Zm)return _o;Zm=1,Object.defineProperty(_o,"__esModule",{value:!0}),_o.default=void 0;const r={added:"Uploading",buttonText:"Browse files",contentMessage:"or drop to upload",error:"Upload failed: ",processed:"Upload successful"};return _o.default=r,_o}var To={},Xm;function PE(){if(Xm)return To;Xm=1,Object.defineProperty(To,"__esModule",{value:!0}),To.default=void 0;const r={dropFilesToUpload:"Drop files here to upload...",or:"",browseFiles:"Browse files",retry:"Retry Upload",cancel:"Cancel"};return To.default=r,To}var ko={},$m;function RE(){if($m)return ko;$m=1,Object.defineProperty(ko,"__esModule",{value:!0}),ko.default=void 0;const r={noResultsMsg:"No results",parentMenuItemAriaLabel:"You are currently at an item that opens a nested listbox. Press right arrow to enter that element and left arrow to return."};return ko.default=r,ko}var Ao={},Qm;function xE(){if(Qm)return Ao;Qm=1,Object.defineProperty(Ao,"__esModule",{value:!0}),Ao.default=void 0;const r={close:"Close"};return Ao.default=r,Ao}var Mo={},Jm;function BE(){if(Jm)return Mo;Jm=1,Object.defineProperty(Mo,"__esModule",{value:!0}),Mo.default=void 0;const r={close:"Close"};return Mo.default=r,Mo}var wo={},eb;function LE(){if(eb)return wo;eb=1,Object.defineProperty(wo,"__esModule",{value:!0}),wo.default=void 0;const r={prev:"Prev",next:"Next",preposition:"of"};return wo.default=r,wo}var Po={},tb;function FE(){if(tb)return Po;tb=1,Object.defineProperty(Po,"__esModule",{value:!0}),Po.default=void 0;const r={noResultsMsg:"No results found",placeholder:"Select...",create:"Create"};return Po.default=r,Po}var Ro={},rb;function NE(){if(rb)return Ro;rb=1,Object.defineProperty(Ro,"__esModule",{value:!0}),Ro.default=void 0;const r={close:"Close"};return Ro.default=r,Ro}var nb;function zE(){if(nb)return yo;nb=1,Object.defineProperty(yo,"__esModule",{value:!0}),yo.default=void 0;var r=S(_E()),a=S(TE()),i=S(kE()),u=S(AE()),c=S(ME()),f=S(wE()),l=S(PE()),m=S(RE()),p=S(xE()),d=S(BE()),b=S(LE()),h=S(FE()),g=S(NE());function S(D){return D&&D.__esModule?D:{default:D}}const y={accordion:r.default,breadcrumbs:a.default,datepicker:i.default,datatable:u.default,buttongroup:c.default,fileuploader:f.default,fileuploaderbasic:l.default,menu:m.default,modal:p.default,drawer:d.default,pagination:b.default,select:h.default,toast:g.default};return yo.default=y,yo}var ab;function h0(){if(ab)return Wn;ab=1,Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.default=Wn.LocaleContext=void 0;var r=f(Pe()),a=u(CE()),i=u(zE());function u(p){return p&&p.__esModule?p:{default:p}}function c(p){if(typeof WeakMap!="function")return null;var d=new WeakMap,b=new WeakMap;return(c=function(h){return h?b:d})(p)}function f(p,d){if(p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var b=c(d);if(b&&b.has(p))return b.get(p);var h={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in p)if(S!=="default"&&Object.prototype.hasOwnProperty.call(p,S)){var y=g?Object.getOwnPropertyDescriptor(p,S):null;y&&(y.get||y.set)?Object.defineProperty(h,S,y):h[S]=p[S]}return h.default=p,b&&b.set(p,h),h}const l=Wn.LocaleContext=r.createContext(i.default),m=p=>{const{locale:d,children:b}=p,h=r.useContext(l)??{};return r.createElement(l.Provider,{value:(0,a.default)(!0,{},i.default,h,d)},b)};return Wn.default=m,Wn}var xo={},m0=function(){var r=1,a=new WeakMap,i=function(u,c){return typeof u=="number"||typeof u=="string"?c?"idx-"+c:"val-"+u:a.has(u)?"uid"+a.get(u):(a.set(u,r++),i(u))};return i},jE=m0(),_s=function(r){return r===void 0&&(r=""),{value:1,prefix:r,uid:m0()}},If=_s(),Ts=re.createContext(_s()),_S=function(r){return r.value++},TS=function(r){return r?r.prefix:""};var qf=function(r,a){return qf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var c in u)u.hasOwnProperty(c)&&(i[c]=u[c])},qf(r,a)};function HE(r,a){qf(r,a);function i(){this.constructor=r}r.prototype=a===null?Object.create(a):(i.prototype=a.prototype,new i)}var ib=function(r,a,i){var u=a+r;return String(i?i(u):u)},kS=(function(r){HE(a,r);function a(){var i=r!==null&&r.apply(this,arguments)||this;return i.state={quartz:i.props.idSource||If,prefix:TS(i.props.idSource),id:_S(i.props.idSource||If)},i.uid=function(u){return ib(i.state.id+"-"+i.state.quartz.uid(u),i.state.prefix,i.props.name)},i}return a.prototype.render=function(){var i=this.props,u=i.children,c=i.name,f=this.state,l=f.id,m=f.prefix;return u(ib(l,m,c),this.uid)},a})(re.Component),IE=function(r){var a=r.children,i=r.prefix,u=i===void 0?"":i;return re.createElement(Ts.Provider,{value:_s(u)},a)},qE=function(r){var a=r.children,i=r.prefix,u=i===void 0?"":i;return re.createElement(AS,null,function(c){return re.createElement(Ts.Provider,{value:_s(c+"-"+u)},a)})},AS=function(r){var a=r.name,i=r.children;return re.createElement(Ts.Consumer,null,function(u){return re.createElement(kS,{name:a,idSource:u,children:i})})},UE=function(r){var a=r||If,i=TS(a),u=_S(a),c=i+u,f=function(l){return c+a.uid(l)};return{uid:c,gen:f}},MS=function(){return re.useState(UE(re.useContext(Ts)))},WE=function(){var r=MS()[0].uid;return r},GE=function(){var r=MS()[0].gen;return r};const YE=Object.freeze(Object.defineProperty({__proto__:null,UID:kS,UIDConsumer:AS,UIDFork:qE,UIDReset:IE,generateUID:m0,uid:jE,useUID:WE,useUIDSeed:GE},Symbol.toStringTag,{value:"Module"})),ks=ei(YE);var af={},gr={},vr={},of={exports:{}},Xe={};var ob;function VE(){if(ob)return Xe;ob=1;var r=60103,a=60106,i=60107,u=60108,c=60114,f=60109,l=60110,m=60112,p=60113,d=60120,b=60115,h=60116,g=60121,S=60122,y=60117,D=60129,O=60131;if(typeof Symbol=="function"&&Symbol.for){var A=Symbol.for;r=A("react.element"),a=A("react.portal"),i=A("react.fragment"),u=A("react.strict_mode"),c=A("react.profiler"),f=A("react.provider"),l=A("react.context"),m=A("react.forward_ref"),p=A("react.suspense"),d=A("react.suspense_list"),b=A("react.memo"),h=A("react.lazy"),g=A("react.block"),S=A("react.server.block"),y=A("react.fundamental"),D=A("react.debug_trace_mode"),O=A("react.legacy_hidden")}function C(K){if(typeof K=="object"&&K!==null){var fe=K.$$typeof;switch(fe){case r:switch(K=K.type,K){case i:case c:case u:case p:case d:return K;default:switch(K=K&&K.$$typeof,K){case l:case m:case h:case b:case f:return K;default:return fe}}case a:return fe}}}var k=f,T=r,_=m,L=i,R=h,F=b,Z=a,ee=c,Y=u,ne=p;return Xe.ContextConsumer=l,Xe.ContextProvider=k,Xe.Element=T,Xe.ForwardRef=_,Xe.Fragment=L,Xe.Lazy=R,Xe.Memo=F,Xe.Portal=Z,Xe.Profiler=ee,Xe.StrictMode=Y,Xe.Suspense=ne,Xe.isAsyncMode=function(){return!1},Xe.isConcurrentMode=function(){return!1},Xe.isContextConsumer=function(K){return C(K)===l},Xe.isContextProvider=function(K){return C(K)===f},Xe.isElement=function(K){return typeof K=="object"&&K!==null&&K.$$typeof===r},Xe.isForwardRef=function(K){return C(K)===m},Xe.isFragment=function(K){return C(K)===i},Xe.isLazy=function(K){return C(K)===h},Xe.isMemo=function(K){return C(K)===b},Xe.isPortal=function(K){return C(K)===a},Xe.isProfiler=function(K){return C(K)===c},Xe.isStrictMode=function(K){return C(K)===u},Xe.isSuspense=function(K){return C(K)===p},Xe.isValidElementType=function(K){return typeof K=="string"||typeof K=="function"||K===i||K===c||K===D||K===u||K===p||K===d||K===O||typeof K=="object"&&K!==null&&(K.$$typeof===h||K.$$typeof===b||K.$$typeof===f||K.$$typeof===l||K.$$typeof===m||K.$$typeof===y||K.$$typeof===g||K[0]===S)},Xe.typeOf=C,Xe}var lb;function wS(){return lb||(lb=1,of.exports=VE()),of.exports}var ub;function _t(){if(ub)return vr;ub=1,Object.defineProperty(vr,"__esModule",{value:!0}),vr.getOverride=m,vr.getOverrideProps=p,vr.getOverrides=b,vr.mergeConfigurationOverrides=S,vr.mergeOverride=g,vr.mergeOverrides=h,vr.toObjectOverride=d,vr.useOverrides=y;var r=f(Pe()),a=wS(),i=u(ri());function u(D){return D&&D.__esModule?D:{default:D}}function c(D){if(typeof WeakMap!="function")return null;var O=new WeakMap,A=new WeakMap;return(c=function(C){return C?A:O})(D)}function f(D,O){if(D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var A=c(O);if(A&&A.has(D))return A.get(D);var C={__proto__:null},k=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in D)if(T!=="default"&&Object.prototype.hasOwnProperty.call(D,T)){var _=k?Object.getOwnPropertyDescriptor(D,T):null;_&&(_.get||_.set)?Object.defineProperty(C,T,_):C[T]=D[T]}return C.default=D,A&&A.set(D,C),C}function l(){return l=Object.assign?Object.assign.bind():function(D){for(var O=1;O<arguments.length;O++){var A=arguments[O];for(var C in A)Object.prototype.hasOwnProperty.call(A,C)&&(D[C]=A[C])}return D},l.apply(this,arguments)}function m(D){return(0,a.isValidElementType)(D)?D:D&&typeof D=="object"?D.component:D}function p(D){return D&&typeof D=="object"?typeof D.props=="object"?{...D.props,$style:D.style}:{$style:D.style}:{}}function d(D){return(0,a.isValidElementType)(D)?{component:D}:D||{}}function b(D,O){const A=m(D)||O;if(D&&typeof D=="object"&&typeof D.props=="function"){const k=r.forwardRef((T,_)=>{const L=D.props(T),R=p({...D,props:L});return r.createElement(A,l({ref:_},R))});return k.displayName=A.displayName,[k,{}]}const C=p(D);return[A,C]}function h(D={},O={}){const A=Object.assign({},D,O);return Object.keys(A).reduce((k,T)=>(k[T]=g(d(D[T]),d(O[T])),k),{})}function g(D,O){const A={...D,...O};return D.props&&O.props&&(A.props=S(D.props,O.props)),D.style&&O.style&&(A.style=S(D.style,O.style)),A}function S(D,O){return typeof D=="object"&&typeof O=="object"?(0,i.default)({},D,O):(...A)=>(0,i.default)({},typeof D=="function"?D(...A):D,typeof O=="function"?O(...A):O)}function y(D,O={}){return r.useMemo(()=>Object.keys(D).reduce((A,C)=>(A[C]=b(O[C],D[C]),A),{}),[O])}return vr}var hr={},sb;function ni(){if(sb)return hr;sb=1,Object.defineProperty(hr,"__esModule",{value:!0}),hr.forkFocus=hr.forkBlur=void 0,hr.handleBlurVisible=g,hr.initFocusVisible=S,hr.isFocusVisible=h,hr.teardown=b;let r=!1,a=!0,i=!1,u=null;const c={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function f(O){const{type:A,tagName:C}=O;return!!(C==="INPUT"&&c[A]&&!O.readOnly||C==="TEXTAREA"&&!O.readOnly||O.isContentEditable)}function l(O){O.metaKey||O.altKey||O.ctrlKey||(a=!0)}function m(){a=!1}function p(){document.visibilityState==="hidden"&&i&&(a=!0)}function d(O){O.addEventListener("keydown",l,!0),O.addEventListener("mousedown",m,!0),O.addEventListener("pointerdown",m,!0),O.addEventListener("touchstart",m,!0),O.addEventListener("visibilitychange",p,!0)}function b(O){O.removeEventListener("keydown",l,!0),O.removeEventListener("mousedown",m,!0),O.removeEventListener("pointerdown",m,!0),O.removeEventListener("touchstart",m,!0),O.removeEventListener("visibilitychange",p,!0)}function h(O){try{return O.target.matches(":focus-visible")}catch{}return a||f(O.target)}function g(){i=!0,typeof document<"u"&&(window.clearTimeout(u),u=window.setTimeout(()=>{i=!1},100))}function S(O){!r&&O!=null&&(r=!0,d(O.ownerDocument))}const y=(O,A)=>C=>{typeof O.onFocus=="function"&&O.onFocus(C),A(C)};hr.forkFocus=y;const D=(O,A)=>C=>{typeof O.onBlur=="function"&&O.onBlur(C),A(C)};return hr.forkBlur=D,hr}var cb;function PS(){if(cb)return gr;cb=1,Object.defineProperty(gr,"__esModule",{value:!0}),gr.default=gr.Provider=gr.LayersContext=gr.Consumer=void 0;var r=f(Pe()),a=At(),i=_t(),u=ni();function c(A){if(typeof WeakMap!="function")return null;var C=new WeakMap,k=new WeakMap;return(c=function(T){return T?k:C})(A)}function f(A,C){if(A&&A.__esModule)return A;if(A===null||typeof A!="object"&&typeof A!="function")return{default:A};var k=c(C);if(k&&k.has(A))return k.get(A);var T={__proto__:null},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in A)if(L!=="default"&&Object.prototype.hasOwnProperty.call(A,L)){var R=_?Object.getOwnPropertyDescriptor(A,L):null;R&&(R.get||R.set)?Object.defineProperty(T,L,R):T[L]=A[L]}return T.default=A,k&&k.set(A,T),T}function l(){return l=Object.assign?Object.assign.bind():function(A){for(var C=1;C<arguments.length;C++){var k=arguments[C];for(var T in k)Object.prototype.hasOwnProperty.call(k,T)&&(A[T]=k[T])}return A},l.apply(this,arguments)}function m(A,C,k){return C=p(C),C in A?Object.defineProperty(A,C,{value:k,enumerable:!0,configurable:!0,writable:!0}):A[C]=k,A}function p(A){var C=d(A,"string");return typeof C=="symbol"?C:String(C)}function d(A,C){if(typeof A!="object"||!A)return A;var k=A[Symbol.toPrimitive];if(k!==void 0){var T=k.call(A,C);if(typeof T!="object")return T;throw new TypeError("@@toPrimitive must return a primitive value.")}return(C==="string"?String:Number)(A)}const b=(0,a.styled)("div",{});b.displayName="StyledAppContainer";const h=(0,a.styled)("div",{});h.displayName="StyledLayersContainer";function g(){}const S=gr.LayersContext=r.createContext({addEscapeHandler:g,removeEscapeHandler:g,addKeyDownHandler:g,removeKeyDownHandler:g,addKeyUpHandler:g,removeKeyUpHandler:g,addKeyPressHandler:g,removeKeyPressHandler:g,addDocClickHandler:g,removeDocClickHandler:g,host:void 0,zIndex:void 0}),y=gr.Provider=S.Provider,D=gr.Consumer=S.Consumer;class O extends r.Component{constructor(C){super(C),m(this,"host",r.createRef()),m(this,"containerRef",r.createRef()),m(this,"onDocumentClick",k=>{const T=this.state.docClickHandlers[this.state.docClickHandlers.length-1];T&&T(k)}),m(this,"onKeyDown",k=>{const T=this.state.keyDownHandlers[this.state.keyDownHandlers.length-1];T&&T(k)}),m(this,"onKeyUp",k=>{if(k.key==="Escape"){const _=this.state.escapeKeyHandlers[this.state.escapeKeyHandlers.length-1];_&&_()}const T=this.state.keyUpHandlers[this.state.keyUpHandlers.length-1];T&&T(k)}),m(this,"onKeyPress",k=>{const T=this.state.keyPressHandlers[this.state.keyPressHandlers.length-1];T&&T(k)}),m(this,"onAddEscapeHandler",k=>{this.setState(T=>({escapeKeyHandlers:[...T.escapeKeyHandlers,k]}))}),m(this,"onRemoveEscapeHandler",k=>{this.setState(T=>({escapeKeyHandlers:T.escapeKeyHandlers.filter(_=>_!==k)}))}),m(this,"onAddKeyDownHandler",k=>{this.setState(T=>({keyDownHandlers:[...T.keyDownHandlers,k]}))}),m(this,"onRemoveKeyDownHandler",k=>{this.setState(T=>({keyDownHandlers:T.keyDownHandlers.filter(_=>_!==k)}))}),m(this,"onAddKeyUpHandler",k=>{this.setState(T=>({keyUpHandlers:[...T.keyUpHandlers,k]}))}),m(this,"onRemoveKeyUpHandler",k=>{this.setState(T=>({keyUpHandlers:T.keyUpHandlers.filter(_=>_!==k)}))}),m(this,"onAddKeyPressHandler",k=>{this.setState(T=>({keyPressHandlers:[...T.keyPressHandlers,k]}))}),m(this,"onRemoveKeyPressHandler",k=>{this.setState(T=>({keyPressHandlers:T.keyPressHandlers.filter(_=>_!==k)}))}),m(this,"onAddDocClickHandler",k=>{this.setState(T=>({docClickHandlers:[...T.docClickHandlers,k]}))}),m(this,"onRemoveDocClickHandler",k=>{this.setState(T=>({docClickHandlers:T.docClickHandlers.filter(_=>_!==k)}))}),this.state={escapeKeyHandlers:[],keyDownHandlers:[],keyUpHandlers:[],keyPressHandlers:[],docClickHandlers:[]}}componentDidMount(){this.forceUpdate(),(0,u.initFocusVisible)(this.containerRef.current),typeof document<"u"&&(document.addEventListener("keydown",this.onKeyDown),document.addEventListener("keyup",this.onKeyUp),document.addEventListener("keypress",this.onKeyPress),document.addEventListener("mousedown",this.onDocumentClick))}componentWillUnmount(){typeof document<"u"&&(document.removeEventListener("keydown",this.onKeyDown),document.removeEventListener("keyup",this.onKeyUp),document.removeEventListener("keypress",this.onKeyPress),document.removeEventListener("mousedown",this.onDocumentClick))}render(){const{overrides:C={}}=this.props,[k,T]=(0,i.getOverrides)(C.AppContainer,b),[_,L]=(0,i.getOverrides)(C.LayersContainer,h);return r.createElement(D,null,({host:R})=>r.createElement(y,{value:{host:R||this.host.current,zIndex:this.props.zIndex,addEscapeHandler:this.onAddEscapeHandler,removeEscapeHandler:this.onRemoveEscapeHandler,addKeyDownHandler:this.onAddKeyDownHandler,removeKeyDownHandler:this.onRemoveKeyDownHandler,addKeyUpHandler:this.onAddKeyUpHandler,removeKeyUpHandler:this.onRemoveKeyUpHandler,addKeyPressHandler:this.onAddKeyPressHandler,removeKeyPressHandler:this.onRemoveKeyPressHandler,addDocClickHandler:this.onAddDocClickHandler,removeDocClickHandler:this.onRemoveDocClickHandler}},r.createElement(k,l({},T,{ref:this.containerRef}),this.props.children),r.createElement(_,l({},L,{ref:this.host}))))}}return gr.default=O,gr}var Uu={},db;function KE(){if(db)return Uu;db=1,Object.defineProperty(Uu,"__esModule",{value:!0}),Uu.default=S;var r=l(Pe()),a=c(n0()),i=At(),u=PS();function c(y){return y&&y.__esModule?y:{default:y}}function f(y){if(typeof WeakMap!="function")return null;var D=new WeakMap,O=new WeakMap;return(f=function(A){return A?O:D})(y)}function l(y,D){if(y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var O=f(D);if(O&&O.has(y))return O.get(y);var A={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in y)if(k!=="default"&&Object.prototype.hasOwnProperty.call(y,k)){var T=C?Object.getOwnPropertyDescriptor(y,k):null;T&&(T.get||T.set)?Object.defineProperty(A,k,T):A[k]=y[k]}return A.default=y,O&&O.set(y,A),A}function m(){return m=Object.assign?Object.assign.bind():function(y){for(var D=1;D<arguments.length;D++){var O=arguments[D];for(var A in O)Object.prototype.hasOwnProperty.call(O,A)&&(y[A]=O[A])}return y},m.apply(this,arguments)}function p(y,D,O){return D=d(D),D in y?Object.defineProperty(y,D,{value:O,enumerable:!0,configurable:!0,writable:!0}):y[D]=O,y}function d(y){var D=b(y,"string");return typeof D=="symbol"?D:String(D)}function b(y,D){if(typeof y!="object"||!y)return y;var O=y[Symbol.toPrimitive];if(O!==void 0){var A=O.call(y,D);if(typeof A!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(D==="string"?String:Number)(y)}const h=(0,i.styled)("div",({$zIndex:y})=>({position:"absolute",top:0,left:0,right:0,zIndex:y||null}));h.displayName="Container";class g extends r.Component{constructor(...D){super(...D),p(this,"context",void 0),p(this,"state",{container:null}),p(this,"onEscape",()=>{this.props.onEscape&&this.props.onEscape()}),p(this,"onKeyDown",O=>{this.props.onKeyDown&&this.props.onKeyDown(O)}),p(this,"onKeyUp",O=>{this.props.onKeyUp&&this.props.onKeyUp(O)}),p(this,"onKeyPress",O=>{this.props.onKeyPress&&this.props.onKeyPress(O)}),p(this,"onDocumentClick",O=>{this.props.onDocumentClick&&this.props.onDocumentClick(O)})}componentDidMount(){this.context.addEscapeHandler(this.onEscape),this.context.addKeyDownHandler(this.onKeyDown),this.context.addKeyUpHandler(this.onKeyUp),this.context.addKeyPressHandler(this.onKeyPress),this.props.isHoverLayer||this.context.addDocClickHandler(this.onDocumentClick);const{onMount:D,mountNode:O,host:A}=this.props;if(O){D&&D();return}const k=A!==void 0?A:document.body;k&&this.addContainer(k)}componentDidUpdate(D){const{host:O,mountNode:A}=this.props;A||(O&&O!==D.host&&D.host===null&&this.addContainer(O),D.isHoverLayer!=this.props.isHoverLayer&&(this.props.isHoverLayer?this.context.removeDocClickHandler(this.onDocumentClick):this.context.addDocClickHandler(this.onDocumentClick)))}componentWillUnmount(){this.context.removeEscapeHandler(this.onEscape),this.context.removeKeyDownHandler(this.onKeyDown),this.context.removeKeyUpHandler(this.onKeyUp),this.context.removeKeyPressHandler(this.onKeyPress),this.context.removeDocClickHandler(this.onDocumentClick),this.props.onUnmount&&this.props.onUnmount();const D=this.props.host,O=this.state.container;D&&O&&D.contains(O)&&D.removeChild(O)}addContainer(D){const{index:O,mountNode:A,onMount:C}=this.props;if(!A&&D){const k=D.ownerDocument.createElement("div"),T=typeof O=="number"?D.children[O]:null;T?D.insertBefore(k,T):D.appendChild(k),this.setState({container:k},()=>{C&&C()})}}render(){const{container:D}=this.state,{children:O,mountNode:A,zIndex:C}=this.props,k=C?r.createElement(h,{$zIndex:C},O):O;return typeof document<"u"?A?a.default.createPortal(k,A):D?a.default.createPortal(k,D):null:null}}p(g,"contextType",u.LayersContext);function S(y){return r.createElement(u.Consumer,null,({host:D,zIndex:O})=>r.createElement(g,m({},y,{host:D,zIndex:O})))}return Uu}var Bo={};var hl=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",ZE=(function(){for(var r=["Edge","Trident","Firefox"],a=0;a<r.length;a+=1)if(hl&&navigator.userAgent.indexOf(r[a])>=0)return 1;return 0})();function XE(r){var a=!1;return function(){a||(a=!0,window.Promise.resolve().then(function(){a=!1,r()}))}}function $E(r){var a=!1;return function(){a||(a=!0,setTimeout(function(){a=!1,r()},ZE))}}var QE=hl&&window.Promise,JE=QE?XE:$E;function RS(r){var a={};return r&&a.toString.call(r)==="[object Function]"}function Xn(r,a){if(r.nodeType!==1)return[];var i=r.ownerDocument.defaultView,u=i.getComputedStyle(r,null);return a?u[a]:u}function b0(r){return r.nodeName==="HTML"?r:r.parentNode||r.host}function ml(r){if(!r)return document.body;switch(r.nodeName){case"HTML":case"BODY":return r.ownerDocument.body;case"#document":return r.body}var a=Xn(r),i=a.overflow,u=a.overflowX,c=a.overflowY;return/(auto|scroll|overlay)/.test(i+c+u)?r:ml(b0(r))}function xS(r){return r&&r.referenceNode?r.referenceNode:r}var fb=hl&&!!(window.MSInputMethodContext&&document.documentMode),pb=hl&&/MSIE 10/.test(navigator.userAgent);function ai(r){return r===11?fb:r===10?pb:fb||pb}function Va(r){if(!r)return document.documentElement;for(var a=ai(10)?document.body:null,i=r.offsetParent||null;i===a&&r.nextElementSibling;)i=(r=r.nextElementSibling).offsetParent;var u=i&&i.nodeName;return!u||u==="BODY"||u==="HTML"?r?r.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(i.nodeName)!==-1&&Xn(i,"position")==="static"?Va(i):i}function eC(r){var a=r.nodeName;return a==="BODY"?!1:a==="HTML"||Va(r.firstElementChild)===r}function Uf(r){return r.parentNode!==null?Uf(r.parentNode):r}function fs(r,a){if(!r||!r.nodeType||!a||!a.nodeType)return document.documentElement;var i=r.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING,u=i?r:a,c=i?a:r,f=document.createRange();f.setStart(u,0),f.setEnd(c,0);var l=f.commonAncestorContainer;if(r!==l&&a!==l||u.contains(c))return eC(l)?l:Va(l);var m=Uf(r);return m.host?fs(m.host,a):fs(r,Uf(a).host)}function Ka(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",i=a==="top"?"scrollTop":"scrollLeft",u=r.nodeName;if(u==="BODY"||u==="HTML"){var c=r.ownerDocument.documentElement,f=r.ownerDocument.scrollingElement||c;return f[i]}return r[i]}function tC(r,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,u=Ka(a,"top"),c=Ka(a,"left"),f=i?-1:1;return r.top+=u*f,r.bottom+=u*f,r.left+=c*f,r.right+=c*f,r}function gb(r,a){var i=a==="x"?"Left":"Top",u=i==="Left"?"Right":"Bottom";return parseFloat(r["border"+i+"Width"])+parseFloat(r["border"+u+"Width"])}function vb(r,a,i,u){return Math.max(a["offset"+r],a["scroll"+r],i["client"+r],i["offset"+r],i["scroll"+r],ai(10)?parseInt(i["offset"+r])+parseInt(u["margin"+(r==="Height"?"Top":"Left")])+parseInt(u["margin"+(r==="Height"?"Bottom":"Right")]):0)}function BS(r){var a=r.body,i=r.documentElement,u=ai(10)&&getComputedStyle(i);return{height:vb("Height",a,i,u),width:vb("Width",a,i,u)}}var rC=function(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")},nC=(function(){function r(a,i){for(var u=0;u<i.length;u++){var c=i[u];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}}return function(a,i,u){return i&&r(a.prototype,i),u&&r(a,u),a}})(),Za=function(r,a,i){return a in r?Object.defineProperty(r,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[a]=i,r},sr=Object.assign||function(r){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r};function Dn(r){return sr({},r,{right:r.left+r.width,bottom:r.top+r.height})}function Wf(r){var a={};try{if(ai(10)){a=r.getBoundingClientRect();var i=Ka(r,"top"),u=Ka(r,"left");a.top+=i,a.left+=u,a.bottom+=i,a.right+=u}else a=r.getBoundingClientRect()}catch{}var c={left:a.left,top:a.top,width:a.right-a.left,height:a.bottom-a.top},f=r.nodeName==="HTML"?BS(r.ownerDocument):{},l=f.width||r.clientWidth||c.width,m=f.height||r.clientHeight||c.height,p=r.offsetWidth-l,d=r.offsetHeight-m;if(p||d){var b=Xn(r);p-=gb(b,"x"),d-=gb(b,"y"),c.width-=p,c.height-=d}return Dn(c)}function y0(r,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,u=ai(10),c=a.nodeName==="HTML",f=Wf(r),l=Wf(a),m=ml(r),p=Xn(a),d=parseFloat(p.borderTopWidth),b=parseFloat(p.borderLeftWidth);i&&c&&(l.top=Math.max(l.top,0),l.left=Math.max(l.left,0));var h=Dn({top:f.top-l.top-d,left:f.left-l.left-b,width:f.width,height:f.height});if(h.marginTop=0,h.marginLeft=0,!u&&c){var g=parseFloat(p.marginTop),S=parseFloat(p.marginLeft);h.top-=d-g,h.bottom-=d-g,h.left-=b-S,h.right-=b-S,h.marginTop=g,h.marginLeft=S}return(u&&!i?a.contains(m):a===m&&m.nodeName!=="BODY")&&(h=tC(h,a)),h}function aC(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=r.ownerDocument.documentElement,u=y0(r,i),c=Math.max(i.clientWidth,window.innerWidth||0),f=Math.max(i.clientHeight,window.innerHeight||0),l=a?0:Ka(i),m=a?0:Ka(i,"left"),p={top:l-u.top+u.marginTop,left:m-u.left+u.marginLeft,width:c,height:f};return Dn(p)}function LS(r){var a=r.nodeName;if(a==="BODY"||a==="HTML")return!1;if(Xn(r,"position")==="fixed")return!0;var i=b0(r);return i?LS(i):!1}function FS(r){if(!r||!r.parentElement||ai())return document.documentElement;for(var a=r.parentElement;a&&Xn(a,"transform")==="none";)a=a.parentElement;return a||document.documentElement}function S0(r,a,i,u){var c=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,f={top:0,left:0},l=c?FS(r):fs(r,xS(a));if(u==="viewport")f=aC(l,c);else{var m=void 0;u==="scrollParent"?(m=ml(b0(a)),m.nodeName==="BODY"&&(m=r.ownerDocument.documentElement)):u==="window"?m=r.ownerDocument.documentElement:m=u;var p=y0(m,l,c);if(m.nodeName==="HTML"&&!LS(l)){var d=BS(r.ownerDocument),b=d.height,h=d.width;f.top+=p.top-p.marginTop,f.bottom=b+p.top,f.left+=p.left-p.marginLeft,f.right=h+p.left}else f=p}i=i||0;var g=typeof i=="number";return f.left+=g?i:i.left||0,f.top+=g?i:i.top||0,f.right-=g?i:i.right||0,f.bottom-=g?i:i.bottom||0,f}function iC(r){var a=r.width,i=r.height;return a*i}function NS(r,a,i,u,c){var f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(r.indexOf("auto")===-1)return r;var l=S0(i,u,f,c),m={top:{width:l.width,height:a.top-l.top},right:{width:l.right-a.right,height:l.height},bottom:{width:l.width,height:l.bottom-a.bottom},left:{width:a.left-l.left,height:l.height}},p=Object.keys(m).map(function(g){return sr({key:g},m[g],{area:iC(m[g])})}).sort(function(g,S){return S.area-g.area}),d=p.filter(function(g){var S=g.width,y=g.height;return S>=i.clientWidth&&y>=i.clientHeight}),b=d.length>0?d[0].key:p[0].key,h=r.split("-")[1];return b+(h?"-"+h:"")}function zS(r,a,i){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,c=u?FS(a):fs(a,xS(i));return y0(i,c,u)}function jS(r){var a=r.ownerDocument.defaultView,i=a.getComputedStyle(r),u=parseFloat(i.marginTop||0)+parseFloat(i.marginBottom||0),c=parseFloat(i.marginLeft||0)+parseFloat(i.marginRight||0),f={width:r.offsetWidth+c,height:r.offsetHeight+u};return f}function ps(r){var a={left:"right",right:"left",bottom:"top",top:"bottom"};return r.replace(/left|right|bottom|top/g,function(i){return a[i]})}function HS(r,a,i){i=i.split("-")[0];var u=jS(r),c={width:u.width,height:u.height},f=["right","left"].indexOf(i)!==-1,l=f?"top":"left",m=f?"left":"top",p=f?"height":"width",d=f?"width":"height";return c[l]=a[l]+a[p]/2-u[p]/2,i===m?c[m]=a[m]-u[d]:c[m]=a[ps(m)],c}function bl(r,a){return Array.prototype.find?r.find(a):r.filter(a)[0]}function oC(r,a,i){if(Array.prototype.findIndex)return r.findIndex(function(c){return c[a]===i});var u=bl(r,function(c){return c[a]===i});return r.indexOf(u)}function IS(r,a,i){var u=i===void 0?r:r.slice(0,oC(r,"name",i));return u.forEach(function(c){c.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var f=c.function||c.fn;c.enabled&&RS(f)&&(a.offsets.popper=Dn(a.offsets.popper),a.offsets.reference=Dn(a.offsets.reference),a=f(a,c))}),a}function lC(){if(!this.state.isDestroyed){var r={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};r.offsets.reference=zS(this.state,this.popper,this.reference,this.options.positionFixed),r.placement=NS(this.options.placement,r.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),r.originalPlacement=r.placement,r.positionFixed=this.options.positionFixed,r.offsets.popper=HS(this.popper,r.offsets.reference,r.placement),r.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",r=IS(this.modifiers,r),this.state.isCreated?this.options.onUpdate(r):(this.state.isCreated=!0,this.options.onCreate(r))}}function qS(r,a){return r.some(function(i){var u=i.name,c=i.enabled;return c&&u===a})}function D0(r){for(var a=[!1,"ms","Webkit","Moz","O"],i=r.charAt(0).toUpperCase()+r.slice(1),u=0;u<a.length;u++){var c=a[u],f=c?""+c+i:r;if(typeof document.body.style[f]<"u")return f}return null}function uC(){return this.state.isDestroyed=!0,qS(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[D0("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function US(r){var a=r.ownerDocument;return a?a.defaultView:window}function WS(r,a,i,u){var c=r.nodeName==="BODY",f=c?r.ownerDocument.defaultView:r;f.addEventListener(a,i,{passive:!0}),c||WS(ml(f.parentNode),a,i,u),u.push(f)}function sC(r,a,i,u){i.updateBound=u,US(r).addEventListener("resize",i.updateBound,{passive:!0});var c=ml(r);return WS(c,"scroll",i.updateBound,i.scrollParents),i.scrollElement=c,i.eventsEnabled=!0,i}function cC(){this.state.eventsEnabled||(this.state=sC(this.reference,this.options,this.state,this.scheduleUpdate))}function dC(r,a){return US(r).removeEventListener("resize",a.updateBound),a.scrollParents.forEach(function(i){i.removeEventListener("scroll",a.updateBound)}),a.updateBound=null,a.scrollParents=[],a.scrollElement=null,a.eventsEnabled=!1,a}function fC(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=dC(this.reference,this.state))}function O0(r){return r!==""&&!isNaN(parseFloat(r))&&isFinite(r)}function Gf(r,a){Object.keys(a).forEach(function(i){var u="";["width","height","top","right","bottom","left"].indexOf(i)!==-1&&O0(a[i])&&(u="px"),r.style[i]=a[i]+u})}function pC(r,a){Object.keys(a).forEach(function(i){var u=a[i];u!==!1?r.setAttribute(i,a[i]):r.removeAttribute(i)})}function gC(r){return Gf(r.instance.popper,r.styles),pC(r.instance.popper,r.attributes),r.arrowElement&&Object.keys(r.arrowStyles).length&&Gf(r.arrowElement,r.arrowStyles),r}function vC(r,a,i,u,c){var f=zS(c,a,r,i.positionFixed),l=NS(i.placement,f,a,r,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return a.setAttribute("x-placement",l),Gf(a,{position:i.positionFixed?"fixed":"absolute"}),i}function hC(r,a){var i=r.offsets,u=i.popper,c=i.reference,f=Math.round,l=Math.floor,m=function(A){return A},p=f(c.width),d=f(u.width),b=["left","right"].indexOf(r.placement)!==-1,h=r.placement.indexOf("-")!==-1,g=p%2===d%2,S=p%2===1&&d%2===1,y=a?b||h||g?f:l:m,D=a?f:m;return{left:y(S&&!h&&a?u.left-1:u.left),top:D(u.top),bottom:D(u.bottom),right:y(u.right)}}var mC=hl&&/Firefox/i.test(navigator.userAgent);function bC(r,a){var i=a.x,u=a.y,c=r.offsets.popper,f=bl(r.instance.modifiers,function(k){return k.name==="applyStyle"}).gpuAcceleration;f!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var l=f!==void 0?f:a.gpuAcceleration,m=Va(r.instance.popper),p=Wf(m),d={position:c.position},b=hC(r,window.devicePixelRatio<2||!mC),h=i==="bottom"?"top":"bottom",g=u==="right"?"left":"right",S=D0("transform"),y=void 0,D=void 0;if(h==="bottom"?m.nodeName==="HTML"?D=-m.clientHeight+b.bottom:D=-p.height+b.bottom:D=b.top,g==="right"?m.nodeName==="HTML"?y=-m.clientWidth+b.right:y=-p.width+b.right:y=b.left,l&&S)d[S]="translate3d("+y+"px, "+D+"px, 0)",d[h]=0,d[g]=0,d.willChange="transform";else{var O=h==="bottom"?-1:1,A=g==="right"?-1:1;d[h]=D*O,d[g]=y*A,d.willChange=h+", "+g}var C={"x-placement":r.placement};return r.attributes=sr({},C,r.attributes),r.styles=sr({},d,r.styles),r.arrowStyles=sr({},r.offsets.arrow,r.arrowStyles),r}function GS(r,a,i){var u=bl(r,function(m){var p=m.name;return p===a}),c=!!u&&r.some(function(m){return m.name===i&&m.enabled&&m.order<u.order});if(!c){var f="`"+a+"`",l="`"+i+"`";console.warn(l+" modifier is required by "+f+" modifier in order to work, be sure to include it before "+f+"!")}return c}function yC(r,a){var i;if(!GS(r.instance.modifiers,"arrow","keepTogether"))return r;var u=a.element;if(typeof u=="string"){if(u=r.instance.popper.querySelector(u),!u)return r}else if(!r.instance.popper.contains(u))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),r;var c=r.placement.split("-")[0],f=r.offsets,l=f.popper,m=f.reference,p=["left","right"].indexOf(c)!==-1,d=p?"height":"width",b=p?"Top":"Left",h=b.toLowerCase(),g=p?"left":"top",S=p?"bottom":"right",y=jS(u)[d];m[S]-y<l[h]&&(r.offsets.popper[h]-=l[h]-(m[S]-y)),m[h]+y>l[S]&&(r.offsets.popper[h]+=m[h]+y-l[S]),r.offsets.popper=Dn(r.offsets.popper);var D=m[h]+m[d]/2-y/2,O=Xn(r.instance.popper),A=parseFloat(O["margin"+b]),C=parseFloat(O["border"+b+"Width"]),k=D-r.offsets.popper[h]-A-C;return k=Math.max(Math.min(l[d]-y,k),0),r.arrowElement=u,r.offsets.arrow=(i={},Za(i,h,Math.round(k)),Za(i,g,""),i),r}function SC(r){return r==="end"?"start":r==="start"?"end":r}var YS=["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"],lf=YS.slice(3);function hb(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=lf.indexOf(r),u=lf.slice(i+1).concat(lf.slice(0,i));return a?u.reverse():u}var uf={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function DC(r,a){if(qS(r.instance.modifiers,"inner")||r.flipped&&r.placement===r.originalPlacement)return r;var i=S0(r.instance.popper,r.instance.reference,a.padding,a.boundariesElement,r.positionFixed),u=r.placement.split("-")[0],c=ps(u),f=r.placement.split("-")[1]||"",l=[];switch(a.behavior){case uf.FLIP:l=[u,c];break;case uf.CLOCKWISE:l=hb(u);break;case uf.COUNTERCLOCKWISE:l=hb(u,!0);break;default:l=a.behavior}return l.forEach(function(m,p){if(u!==m||l.length===p+1)return r;u=r.placement.split("-")[0],c=ps(u);var d=r.offsets.popper,b=r.offsets.reference,h=Math.floor,g=u==="left"&&h(d.right)>h(b.left)||u==="right"&&h(d.left)<h(b.right)||u==="top"&&h(d.bottom)>h(b.top)||u==="bottom"&&h(d.top)<h(b.bottom),S=h(d.left)<h(i.left),y=h(d.right)>h(i.right),D=h(d.top)<h(i.top),O=h(d.bottom)>h(i.bottom),A=u==="left"&&S||u==="right"&&y||u==="top"&&D||u==="bottom"&&O,C=["top","bottom"].indexOf(u)!==-1,k=!!a.flipVariations&&(C&&f==="start"&&S||C&&f==="end"&&y||!C&&f==="start"&&D||!C&&f==="end"&&O),T=!!a.flipVariationsByContent&&(C&&f==="start"&&y||C&&f==="end"&&S||!C&&f==="start"&&O||!C&&f==="end"&&D),_=k||T;(g||A||_)&&(r.flipped=!0,(g||A)&&(u=l[p+1]),_&&(f=SC(f)),r.placement=u+(f?"-"+f:""),r.offsets.popper=sr({},r.offsets.popper,HS(r.instance.popper,r.offsets.reference,r.placement)),r=IS(r.instance.modifiers,r,"flip"))}),r}function OC(r){var a=r.offsets,i=a.popper,u=a.reference,c=r.placement.split("-")[0],f=Math.floor,l=["top","bottom"].indexOf(c)!==-1,m=l?"right":"bottom",p=l?"left":"top",d=l?"width":"height";return i[m]<f(u[p])&&(r.offsets.popper[p]=f(u[p])-i[d]),i[p]>f(u[m])&&(r.offsets.popper[p]=f(u[m])),r}function EC(r,a,i,u){var c=r.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),f=+c[1],l=c[2];if(!f)return r;if(l.indexOf("%")===0){var m=void 0;l==="%p"?m=i:m=u;var p=Dn(m);return p[a]/100*f}else if(l==="vh"||l==="vw"){var d=void 0;return l==="vh"?d=Math.max(document.documentElement.clientHeight,window.innerHeight||0):d=Math.max(document.documentElement.clientWidth,window.innerWidth||0),d/100*f}else return f}function CC(r,a,i,u){var c=[0,0],f=["right","left"].indexOf(u)!==-1,l=r.split(/(\+|\-)/).map(function(b){return b.trim()}),m=l.indexOf(bl(l,function(b){return b.search(/,|\s/)!==-1}));l[m]&&l[m].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var p=/\s*,\s*|\s+/,d=m!==-1?[l.slice(0,m).concat([l[m].split(p)[0]]),[l[m].split(p)[1]].concat(l.slice(m+1))]:[l];return d=d.map(function(b,h){var g=(h===1?!f:f)?"height":"width",S=!1;return b.reduce(function(y,D){return y[y.length-1]===""&&["+","-"].indexOf(D)!==-1?(y[y.length-1]=D,S=!0,y):S?(y[y.length-1]+=D,S=!1,y):y.concat(D)},[]).map(function(y){return EC(y,g,a,i)})}),d.forEach(function(b,h){b.forEach(function(g,S){O0(g)&&(c[h]+=g*(b[S-1]==="-"?-1:1))})}),c}function _C(r,a){var i=a.offset,u=r.placement,c=r.offsets,f=c.popper,l=c.reference,m=u.split("-")[0],p=void 0;return O0(+i)?p=[+i,0]:p=CC(i,f,l,m),m==="left"?(f.top+=p[0],f.left-=p[1]):m==="right"?(f.top+=p[0],f.left+=p[1]):m==="top"?(f.left+=p[0],f.top-=p[1]):m==="bottom"&&(f.left+=p[0],f.top+=p[1]),r.popper=f,r}function TC(r,a){var i=a.boundariesElement||Va(r.instance.popper);r.instance.reference===i&&(i=Va(i));var u=D0("transform"),c=r.instance.popper.style,f=c.top,l=c.left,m=c[u];c.top="",c.left="",c[u]="";var p=S0(r.instance.popper,r.instance.reference,a.padding,i,r.positionFixed);c.top=f,c.left=l,c[u]=m,a.boundaries=p;var d=a.priority,b=r.offsets.popper,h={primary:function(S){var y=b[S];return b[S]<p[S]&&!a.escapeWithReference&&(y=Math.max(b[S],p[S])),Za({},S,y)},secondary:function(S){var y=S==="right"?"left":"top",D=b[y];return b[S]>p[S]&&!a.escapeWithReference&&(D=Math.min(b[y],p[S]-(S==="right"?b.width:b.height))),Za({},y,D)}};return d.forEach(function(g){var S=["left","top"].indexOf(g)!==-1?"primary":"secondary";b=sr({},b,h[S](g))}),r.offsets.popper=b,r}function kC(r){var a=r.placement,i=a.split("-")[0],u=a.split("-")[1];if(u){var c=r.offsets,f=c.reference,l=c.popper,m=["bottom","top"].indexOf(i)!==-1,p=m?"left":"top",d=m?"width":"height",b={start:Za({},p,f[p]),end:Za({},p,f[p]+f[d]-l[d])};r.offsets.popper=sr({},l,b[u])}return r}function AC(r){if(!GS(r.instance.modifiers,"hide","preventOverflow"))return r;var a=r.offsets.reference,i=bl(r.instance.modifiers,function(u){return u.name==="preventOverflow"}).boundaries;if(a.bottom<i.top||a.left>i.right||a.top>i.bottom||a.right<i.left){if(r.hide===!0)return r;r.hide=!0,r.attributes["x-out-of-boundaries"]=""}else{if(r.hide===!1)return r;r.hide=!1,r.attributes["x-out-of-boundaries"]=!1}return r}function MC(r){var a=r.placement,i=a.split("-")[0],u=r.offsets,c=u.popper,f=u.reference,l=["left","right"].indexOf(i)!==-1,m=["top","left"].indexOf(i)===-1;return c[l?"left":"top"]=f[i]-(m?c[l?"width":"height"]:0),r.placement=ps(a),r.offsets.popper=Dn(c),r}var wC={shift:{order:100,enabled:!0,fn:kC},offset:{order:200,enabled:!0,fn:_C,offset:0},preventOverflow:{order:300,enabled:!0,fn:TC,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:OC},arrow:{order:500,enabled:!0,fn:yC,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:DC,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:MC},hide:{order:800,enabled:!0,fn:AC},computeStyle:{order:850,enabled:!0,fn:bC,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:gC,onLoad:vC,gpuAcceleration:void 0}},PC={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:wC},As=(function(){function r(a,i){var u=this,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};rC(this,r),this.scheduleUpdate=function(){return requestAnimationFrame(u.update)},this.update=JE(this.update.bind(this)),this.options=sr({},r.Defaults,c),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=a&&a.jquery?a[0]:a,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(sr({},r.Defaults.modifiers,c.modifiers)).forEach(function(l){u.options.modifiers[l]=sr({},r.Defaults.modifiers[l]||{},c.modifiers?c.modifiers[l]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(l){return sr({name:l},u.options.modifiers[l])}).sort(function(l,m){return l.order-m.order}),this.modifiers.forEach(function(l){l.enabled&&RS(l.onLoad)&&l.onLoad(u.reference,u.popper,u.options,l,u.state)}),this.update();var f=this.options.eventsEnabled;f&&this.enableEventListeners(),this.state.eventsEnabled=f}return nC(r,[{key:"update",value:function(){return lC.call(this)}},{key:"destroy",value:function(){return uC.call(this)}},{key:"enableEventListeners",value:function(){return cC.call(this)}},{key:"disableEventListeners",value:function(){return fC.call(this)}}]),r})();As.Utils=(typeof window<"u"?window:global).PopperUtils;As.placements=YS;As.Defaults=PC;const RC=Object.freeze(Object.defineProperty({__proto__:null,default:As},Symbol.toStringTag,{value:"Module"})),xC=ei(RC);var Lo={},mb;function BC(){if(mb)return Lo;mb=1,Object.defineProperty(Lo,"__esModule",{value:!0}),Lo.parsePopperOffset=a,Lo.toPopperPlacement=r;function r(i){return i.replace(/(Top|Left)$/,"-start").replace(/(Right|Bottom)$/,"-end")}function a(i){return{top:Math.floor(i.top||0),left:Math.floor(i.left||0)}}return Lo}var Fo={},bb;function VS(){return bb||(bb=1,Object.defineProperty(Fo,"__esModule",{value:!0}),Fo.TETHER_PLACEMENT=void 0,Fo.TETHER_PLACEMENT={auto:"auto",topLeft:"topLeft",top:"top",topRight:"topRight",rightTop:"rightTop",right:"right",rightBottom:"rightBottom",bottomRight:"bottomRight",bottom:"bottom",bottomLeft:"bottomLeft",leftBottom:"leftBottom",left:"left",leftTop:"leftTop"}),Fo}var yb;function LC(){if(yb)return Bo;yb=1,Object.defineProperty(Bo,"__esModule",{value:!0}),Bo.default=void 0;var r=l(Pe()),a=c(xC),i=BC(),u=VS();function c(h){return h&&h.__esModule?h:{default:h}}function f(h){if(typeof WeakMap!="function")return null;var g=new WeakMap,S=new WeakMap;return(f=function(y){return y?S:g})(h)}function l(h,g){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var S=f(g);if(S&&S.has(h))return S.get(h);var y={__proto__:null},D=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in h)if(O!=="default"&&Object.prototype.hasOwnProperty.call(h,O)){var A=D?Object.getOwnPropertyDescriptor(h,O):null;A&&(A.get||A.set)?Object.defineProperty(y,O,A):y[O]=h[O]}return y.default=h,S&&S.set(h,y),y}function m(h,g,S){return g=p(g),g in h?Object.defineProperty(h,g,{value:S,enumerable:!0,configurable:!0,writable:!0}):h[g]=S,h}function p(h){var g=d(h,"string");return typeof g=="symbol"?g:String(g)}function d(h,g){if(typeof h!="object"||!h)return h;var S=h[Symbol.toPrimitive];if(S!==void 0){var y=S.call(h,g);if(typeof y!="object")return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return(g==="string"?String:Number)(h)}class b extends r.Component{constructor(...g){super(...g),m(this,"popper",void 0),m(this,"popperHeight",0),m(this,"popperWidth",0),m(this,"anchorHeight",0),m(this,"anchorWidth",0),m(this,"state",{isMounted:!1}),m(this,"onPopperUpdate",S=>{const y={popper:(0,i.parsePopperOffset)(S.offsets.popper),arrow:S.offsets.arrow?(0,i.parsePopperOffset)(S.offsets.arrow):{top:0,left:0}};this.props.onPopperUpdate(y,S)})}componentDidMount(){this.setState({isMounted:!0})}componentDidUpdate(g,S){if(this.props.anchorRef){const{height:y,width:D}=this.props.anchorRef.getBoundingClientRect();(this.anchorHeight!==y||this.anchorWidth!==D)&&(this.anchorHeight=y,this.anchorWidth=D,this.popper&&this.popper.scheduleUpdate())}if(this.props.popperRef){const{height:y,width:D}=this.props.popperRef.getBoundingClientRect();(this.popperHeight!==y||this.popperWidth!==D)&&(this.popperHeight=y,this.popperWidth=D,this.popper&&this.popper.scheduleUpdate()),this.state.isMounted!==S.isMounted&&this.props.anchorRef&&this.initializePopper()}}componentWillUnmount(){this.destroyPopover()}initializePopper(){const{placement:g,popperOptions:S}=this.props,{modifiers:y,...D}=S;!this.props.anchorRef||!this.props.popperRef||(this.popper=new a.default(this.props.anchorRef,this.props.popperRef,{placement:(0,i.toPopperPlacement)(g),modifiers:{arrow:{element:this.props.arrowRef,enabled:!!this.props.arrowRef},computeStyle:{gpuAcceleration:!1},applyStyle:{enabled:!1},applyReactStyle:{enabled:!0,fn:this.onPopperUpdate,order:900},preventOverflow:{enabled:!0},...y},...D}))}destroyPopover(){this.popper&&(this.popper.destroy(),delete this.popper)}render(){return this.props.children||null}}return m(b,"defaultProps",{anchorRef:null,onPopperUpdate:()=>null,placement:u.TETHER_PLACEMENT.auto,popperRef:null,popperOptions:{}}),Bo.default=b,Bo}var Sb={},Db;function FC(){return Db||(Db=1),Sb}var Ob;function KS(){return Ob||(Ob=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={LayersManager:!0,LayersContext:!0,Layer:!0,TetherBehavior:!0,TETHER_PLACEMENT:!0};Object.defineProperty(r,"Layer",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"LayersContext",{enumerable:!0,get:function(){return i.LayersContext}}),Object.defineProperty(r,"LayersManager",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"TETHER_PLACEMENT",{enumerable:!0,get:function(){return f.TETHER_PLACEMENT}}),Object.defineProperty(r,"TetherBehavior",{enumerable:!0,get:function(){return c.default}});var i=d(PS()),u=m(KE()),c=m(LC()),f=VS(),l=FC();Object.keys(l).forEach(function(b){b==="default"||b==="__esModule"||Object.prototype.hasOwnProperty.call(a,b)||b in r&&r[b]===l[b]||Object.defineProperty(r,b,{enumerable:!0,get:function(){return l[b]}})});function m(b){return b&&b.__esModule?b:{default:b}}function p(b){if(typeof WeakMap!="function")return null;var h=new WeakMap,g=new WeakMap;return(p=function(S){return S?g:h})(b)}function d(b,h){if(b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var g=p(h);if(g&&g.has(b))return g.get(b);var S={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in b)if(D!=="default"&&Object.prototype.hasOwnProperty.call(b,D)){var O=y?Object.getOwnPropertyDescriptor(b,D):null;O&&(O.get||O.set)?Object.defineProperty(S,D,O):S[D]=b[D]}return S.default=b,g&&g.set(b,S),S}})(af)),af}var Eb;function NC(){if(Eb)return xo;Eb=1,Object.defineProperty(xo,"__esModule",{value:!0}),xo.default=void 0;var r=f(Pe()),a=ks,i=KS(),u=At();function c(m){if(typeof WeakMap!="function")return null;var p=new WeakMap,d=new WeakMap;return(c=function(b){return b?d:p})(m)}function f(m,p){if(m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var d=c(p);if(d&&d.has(m))return d.get(m);var b={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in m)if(g!=="default"&&Object.prototype.hasOwnProperty.call(m,g)){var S=h?Object.getOwnPropertyDescriptor(m,g):null;S&&(S.get||S.set)?Object.defineProperty(b,g,S):b[g]=m[g]}return b.default=m,d&&d.set(m,b),b}const l=m=>{const{children:p,overrides:d,theme:b,zIndex:h}=m;return r.createElement(i.LayersManager,{zIndex:h,overrides:d},r.createElement(a.UIDReset,{prefix:"bui"},r.createElement(u.ThemeProvider,{theme:b},p)))};return xo.default=l,xo}var Cb;function zC(){return Cb||(Cb=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BaseProvider",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"DarkTheme",{enumerable:!0,get:function(){return i.DarkTheme}}),Object.defineProperty(r,"DarkThemeMove",{enumerable:!0,get:function(){return i.DarkThemeMove}}),Object.defineProperty(r,"LightTheme",{enumerable:!0,get:function(){return i.LightTheme}}),Object.defineProperty(r,"LightThemeMove",{enumerable:!0,get:function(){return i.LightThemeMove}}),Object.defineProperty(r,"LocaleProvider",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"ThemeConsumer",{enumerable:!0,get:function(){return a.ThemeConsumer}}),Object.defineProperty(r,"ThemeProvider",{enumerable:!0,get:function(){return a.ThemeProvider}}),Object.defineProperty(r,"createDarkTheme",{enumerable:!0,get:function(){return i.createDarkTheme}}),Object.defineProperty(r,"createLightTheme",{enumerable:!0,get:function(){return i.createLightTheme}}),Object.defineProperty(r,"createTheme",{enumerable:!0,get:function(){return i.createTheme}}),Object.defineProperty(r,"createThemedStyled",{enumerable:!0,get:function(){return a.createThemedStyled}}),Object.defineProperty(r,"createThemedUseStyletron",{enumerable:!0,get:function(){return a.createThemedUseStyletron}}),Object.defineProperty(r,"createThemedWithStyle",{enumerable:!0,get:function(){return a.createThemedWithStyle}}),Object.defineProperty(r,"darkThemeOverrides",{enumerable:!0,get:function(){return i.darkThemeOverrides}}),Object.defineProperty(r,"darkThemePrimitives",{enumerable:!0,get:function(){return i.darkThemePrimitives}}),Object.defineProperty(r,"getOverrides",{enumerable:!0,get:function(){return f.getOverrides}}),Object.defineProperty(r,"lightThemePrimitives",{enumerable:!0,get:function(){return i.lightThemePrimitives}}),Object.defineProperty(r,"mergeOverrides",{enumerable:!0,get:function(){return f.mergeOverrides}}),Object.defineProperty(r,"styled",{enumerable:!0,get:function(){return a.styled}}),Object.defineProperty(r,"useStyletron",{enumerable:!0,get:function(){return a.useStyletron}}),Object.defineProperty(r,"withStyle",{enumerable:!0,get:function(){return a.withStyle}}),Object.defineProperty(r,"withWrapper",{enumerable:!0,get:function(){return a.withWrapper}});var a=At(),i=lS(),u=l(h0()),c=l(NC()),f=_t();function l(m){return m&&m.__esModule?m:{default:m}}})(Jd)),Jd}var Er=zC();function jC(r){if(r.sheet)return r.sheet;for(let a=0;a<document.styleSheets.length;a++)if(document.styleSheets[a].ownerNode===r)return document.styleSheets[a]}function HC(r){const a=document.createElement("style");return typeof r.nonce<"u"&&a.setAttribute("nonce",r.nonce),a.appendChild(document.createTextNode("")),a}class IC{constructor(a){this.isSpeedy=typeof a.speedy>"u"?!0:a.speedy,this.tags=[],this.ctr=0,this.nonce=a.nonce,this.container=a.container,this.before=null}insert(a){if(this.ctr%(this.isSpeedy?65e3:1)===0){const u=HC(this);let c;this.tags.length===0?c=this.before:c=this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(u,c),this.tags.push(u)}const i=this.tags[this.tags.length-1];if(this.isSpeedy){const u=jC(i);a.forEach(c=>{try{u.insertRule(c,u.cssRules.length)}catch{}})}else i.appendChild(document.createTextNode(a.join("")));this.ctr++}flush(){this.tags.forEach(a=>a.parentNode.removeChild(a)),this.tags=[],this.ctr=0}}const qC=/[A-Z]/g,UC=/^ms-/,sf={};function cs(r){return r in sf?sf[r]:sf[r]=r.replace(qC,"-$&").toLowerCase().replace(UC,"-ms-")}function Yf(r){return r.charAt(0).toUpperCase()+r.slice(1)}function WC(r,a,i){if(r.hasOwnProperty(a)){for(var u={},c=r[a],f=Yf(a),l=Object.keys(i),m=0;m<l.length;m++){var p=l[m];if(p===a)for(var d=0;d<c.length;d++)u[c[d]+f]=i[a];u[p]=i[p]}return u}return i}function _b(r,a,i,u,c){for(var f=0,l=r.length;f<l;++f){var m=r[f](a,i,u,c);if(m)return m}}function Tb(r,a){r.indexOf(a)===-1&&r.push(a)}function GC(r,a){if(Array.isArray(a))for(var i=0,u=a.length;i<u;++i)Tb(r,a[i]);else Tb(r,a)}function YC(r){return r instanceof Object&&!Array.isArray(r)}function VC(r){var a=r.prefixMap,i=r.plugins;return function u(c){for(var f in c){var l=c[f];if(YC(l))c[f]=u(l);else if(Array.isArray(l)){for(var m=[],p=0,d=l.length;p<d;++p){var b=_b(i,f,l[p],c,a);GC(m,b||l[p])}m.length>0&&(c[f]=m)}else{var h=_b(i,f,l,c,a);h&&(c[f]=h),c=WC(a,f,c)}}return c}}var Ee=["Webkit"],KC=["Moz"],cf=["ms"],ZC=["Webkit","Moz"],jt=["Webkit","ms"],XC=["Webkit","Moz","ms"];const $C={prefixMap:{appearance:ZC,textEmphasisPosition:Ee,textEmphasis:Ee,textEmphasisStyle:Ee,textEmphasisColor:Ee,boxDecorationBreak:Ee,maskImage:Ee,maskMode:Ee,maskRepeat:Ee,maskPosition:Ee,maskClip:Ee,maskOrigin:Ee,maskSize:Ee,maskComposite:Ee,mask:Ee,maskBorderSource:Ee,maskBorderMode:Ee,maskBorderSlice:Ee,maskBorderWidth:Ee,maskBorderOutset:Ee,maskBorderRepeat:Ee,maskBorder:Ee,maskType:Ee,textDecorationStyle:Ee,textDecorationSkip:Ee,textDecorationLine:Ee,textDecorationColor:Ee,userSelect:XC,backdropFilter:Ee,fontKerning:Ee,scrollSnapType:jt,scrollSnapPointsX:jt,scrollSnapPointsY:jt,scrollSnapDestination:jt,scrollSnapCoordinate:jt,clipPath:Ee,shapeImageThreshold:Ee,shapeImageMargin:Ee,shapeImageOutside:Ee,filter:Ee,hyphens:jt,flowInto:jt,flowFrom:jt,breakBefore:jt,breakAfter:jt,breakInside:jt,regionFragment:jt,writingMode:jt,textOrientation:Ee,tabSize:KC,fontFeatureSettings:Ee,columnCount:Ee,columnFill:Ee,columnGap:Ee,columnRule:Ee,columnRuleColor:Ee,columnRuleStyle:Ee,columnRuleWidth:Ee,columns:Ee,columnSpan:Ee,columnWidth:Ee,wrapFlow:cf,wrapThrough:cf,wrapMargin:cf,textSizeAdjust:jt}};function QC(r,a){if(typeof a=="string"&&a==="text")return["-webkit-text","text"]}var JC=["-webkit-","-moz-",""],e_={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0};function t_(r,a){if(r==="cursor"&&e_.hasOwnProperty(a))return JC.map(function(i){return i+a})}var Wu={exports:{}},kb;function r_(){return kb||(kb=1,(function(r,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=u;var i=/-webkit-|-moz-|-ms-/;function u(c){return typeof c=="string"&&i.test(c)}r.exports=a.default})(Wu,Wu.exports)),Wu.exports}var n_=r_();const yl=Ds(n_);var a_=["-webkit-",""];function i_(r,a){if(typeof a=="string"&&!yl(a)&&a.indexOf("cross-fade(")>-1)return a_.map(function(i){return a.replace(/cross-fade\(/g,i+"cross-fade(")})}var o_=["-webkit-",""];function l_(r,a){if(typeof a=="string"&&!yl(a)&&a.indexOf("filter(")>-1)return o_.map(function(i){return a.replace(/filter\(/g,i+"filter(")})}var Ab={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]};function u_(r,a){if(r==="display"&&Ab.hasOwnProperty(a))return Ab[a]}var s_={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},Mb={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines",flexGrow:"WebkitBoxFlex"};function c_(r,a,i){r==="flexDirection"&&typeof a=="string"&&(a.indexOf("column")>-1?i.WebkitBoxOrient="vertical":i.WebkitBoxOrient="horizontal",a.indexOf("reverse")>-1?i.WebkitBoxDirection="reverse":i.WebkitBoxDirection="normal"),Mb.hasOwnProperty(r)&&(i[Mb[r]]=s_[a]||a)}var d_=["-webkit-","-moz-",""],wb=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi;function f_(r,a){if(typeof a=="string"&&!yl(a)&&wb.test(a))return d_.map(function(i){return a.replace(wb,function(u){return i+u})})}var Gu=(function(){function r(a,i){var u=[],c=!0,f=!1,l=void 0;try{for(var m=a[Symbol.iterator](),p;!(c=(p=m.next()).done)&&(u.push(p.value),!(i&&u.length===i));c=!0);}catch(d){f=!0,l=d}finally{try{!c&&m.return&&m.return()}finally{if(f)throw l}}return u}return function(a,i){if(Array.isArray(a))return a;if(Symbol.iterator in Object(a))return r(a,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})();function Sn(r){return typeof r=="number"&&!isNaN(r)}function Pb(r){return typeof r=="string"&&r.includes("/")}var Rb=["center","end","start","stretch"],xb={"inline-grid":["-ms-inline-grid","inline-grid"],grid:["-ms-grid","grid"]},Or={alignSelf:function(a,i){Rb.indexOf(a)>-1&&(i.msGridRowAlign=a)},gridColumn:function(a,i){if(Sn(a))i.msGridColumn=a;else if(Pb(a)){var u=a.split("/"),c=Gu(u,2),f=c[0],l=c[1];Or.gridColumnStart(+f,i);var m=l.split(/ ?span /),p=Gu(m,2),d=p[0],b=p[1];d===""?Or.gridColumnEnd(+f+ +b,i):Or.gridColumnEnd(+l,i)}else Or.gridColumnStart(a,i)},gridColumnEnd:function(a,i){var u=i.msGridColumn;Sn(a)&&Sn(u)&&(i.msGridColumnSpan=a-u)},gridColumnStart:function(a,i){Sn(a)&&(i.msGridColumn=a)},gridRow:function(a,i){if(Sn(a))i.msGridRow=a;else if(Pb(a)){var u=a.split("/"),c=Gu(u,2),f=c[0],l=c[1];Or.gridRowStart(+f,i);var m=l.split(/ ?span /),p=Gu(m,2),d=p[0],b=p[1];d===""?Or.gridRowEnd(+f+ +b,i):Or.gridRowEnd(+l,i)}else Or.gridRowStart(a,i)},gridRowEnd:function(a,i){var u=i.msGridRow;Sn(a)&&Sn(u)&&(i.msGridRowSpan=a-u)},gridRowStart:function(a,i){Sn(a)&&(i.msGridRow=a)},gridTemplateColumns:function(a,i){i.msGridColumns=a},gridTemplateRows:function(a,i){i.msGridRows=a},justifySelf:function(a,i){Rb.indexOf(a)>-1&&(i.msGridColumnAlign=a)}};function p_(r,a,i){if(r==="display"&&a in xb)return xb[a];if(r in Or){var u=Or[r];u(a,i)}}var g_=["-webkit-",""];function v_(r,a){if(typeof a=="string"&&!yl(a)&&a.indexOf("image-set(")>-1)return g_.map(function(i){return a.replace(/image-set\(/g,i+"image-set(")})}var Bb={marginBlockStart:["WebkitMarginBefore"],marginBlockEnd:["WebkitMarginAfter"],marginInlineStart:["WebkitMarginStart","MozMarginStart"],marginInlineEnd:["WebkitMarginEnd","MozMarginEnd"],paddingBlockStart:["WebkitPaddingBefore"],paddingBlockEnd:["WebkitPaddingAfter"],paddingInlineStart:["WebkitPaddingStart","MozPaddingStart"],paddingInlineEnd:["WebkitPaddingEnd","MozPaddingEnd"],borderBlockStart:["WebkitBorderBefore"],borderBlockStartColor:["WebkitBorderBeforeColor"],borderBlockStartStyle:["WebkitBorderBeforeStyle"],borderBlockStartWidth:["WebkitBorderBeforeWidth"],borderBlockEnd:["WebkitBorderAfter"],borderBlockEndColor:["WebkitBorderAfterColor"],borderBlockEndStyle:["WebkitBorderAfterStyle"],borderBlockEndWidth:["WebkitBorderAfterWidth"],borderInlineStart:["WebkitBorderStart","MozBorderStart"],borderInlineStartColor:["WebkitBorderStartColor","MozBorderStartColor"],borderInlineStartStyle:["WebkitBorderStartStyle","MozBorderStartStyle"],borderInlineStartWidth:["WebkitBorderStartWidth","MozBorderStartWidth"],borderInlineEnd:["WebkitBorderEnd","MozBorderEnd"],borderInlineEndColor:["WebkitBorderEndColor","MozBorderEndColor"],borderInlineEndStyle:["WebkitBorderEndStyle","MozBorderEndStyle"],borderInlineEndWidth:["WebkitBorderEndWidth","MozBorderEndWidth"]};function h_(r,a,i){if(Object.prototype.hasOwnProperty.call(Bb,r))for(var u=Bb[r],c=0,f=u.length;c<f;++c)i[u[c]]=a}function m_(r,a){if(r==="position"&&a==="sticky")return["-webkit-sticky","sticky"]}var b_=["-webkit-","-moz-",""],y_={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},S_={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};function D_(r,a){if(y_.hasOwnProperty(r)&&S_.hasOwnProperty(a))return b_.map(function(i){return i+a})}var Yu={exports:{}},O_=/[A-Z]/g,E_=/^ms-/,df={};function C_(r){return"-"+r.toLowerCase()}function __(r){if(df.hasOwnProperty(r))return df[r];var a=r.replace(O_,C_);return df[r]=E_.test(a)?"-"+a:a}const T_=Object.freeze(Object.defineProperty({__proto__:null,default:__},Symbol.toStringTag,{value:"Module"})),k_=ei(T_);var Lb;function A_(){return Lb||(Lb=1,(function(r,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=f;var i=k_,u=c(i);function c(l){return l&&l.__esModule?l:{default:l}}function f(l){return(0,u.default)(l)}r.exports=a.default})(Yu,Yu.exports)),Yu.exports}var M_=A_();const w_=Ds(M_);var P_={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},R_={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"};function x_(r,a){if(yl(r))return r;for(var i=r.split(/,(?![^()]*(?:\([^()]*\))?\))/g),u=0,c=i.length;u<c;++u){var f=i[u],l=[f];for(var m in a){var p=w_(m);if(f.indexOf(p)>-1&&p!=="order")for(var d=a[m],b=0,h=d.length;b<h;++b)l.unshift(f.replace(p,R_[d[b]]+p))}i[u]=l.join(",")}return i.join(",")}function B_(r,a,i,u){if(typeof a=="string"&&P_.hasOwnProperty(r)){var c=x_(a,u),f=c.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(m){return!/-moz-|-ms-/.test(m)}).join(",");if(r.indexOf("Webkit")>-1)return f;var l=c.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(m){return!/-webkit-|-ms-/.test(m)}).join(",");return r.indexOf("Moz")>-1?l:(i["Webkit"+Yf(r)]=f,i["Moz"+Yf(r)]=l,c)}}var L_=[QC,i_,t_,l_,c_,f_,p_,v_,h_,m_,D_,B_,u_],F_=VC({prefixMap:$C.prefixMap,plugins:L_});function ds(r,a,i,u){let c="",f=[];for(const m in r){const p=r[m];if(p!=null){if(typeof p!="object"){const d=cs(m)+":"+p,b=F_({[m]:p});for(const h in b){const g=b[h];if(typeof g=="string"||typeof g=="number"){const S=cs(h)+":"+g;S!==d&&(c+=S+";")}else if(Array.isArray(g)){const S=cs(h);for(let y=0;y<g.length;y++){const D=S+":"+g[y];D!==d&&(c+=D+";")}}}c+=d+";";continue}if(m[0]===":"){f=[...f,...ds(p,a+m,i)];continue}if(m[0]==="@"){const d=ds(p,a,i);f=[...f,m+"{"+d.join("")+"}"];continue}f=[...f,m+"{"+ds(p,"",i).join("")+"}"]}}if(!a)return[c];const l=[];return c&&l.push(`.${i}css-${a}{${c}}`),[...l,...f]}const N_=/(a)(d)/gi,Vu=52,Fb=r=>String.fromCharCode(r+(r>25?39:97));function z_(r){let a="",i;for(i=Math.abs(r);i>Vu;i=i/Vu|0)a=Fb(i%Vu)+a;return(Fb(i%Vu)+a).replace(N_,"$1-$2")}const j_=5381,H_=(r,a)=>{r|=0;for(let i=0,u=a.length|0;i<u;i++)r=(r<<5)+r+a.charCodeAt(i);return r},I_=r=>H_(j_,r)>>>0;function ff(r){return z_(I_(JSON.stringify(r)))}function q_(r){let a="";for(const i in r)a+=`${i}{${ZS(r[i])}}`;return a}function ZS(r){let a="";for(const i in r){const u=r[i];(typeof u=="string"||typeof u=="number")&&(a+=`${cs(i)}:${u};`)}return a.slice(0,-1)}function U_(r,a){return`@keyframes ${r}{${a}}`}function W_(r,a){return`@font-face{font-family:${r};${a}}`}class G_{constructor(a={}){if(this.opts=a||{},this.cache={},a.container&&(this.container=a.container),!(a.hydrate&&a.hydrate.length>1)){if(a.hydrate&&a.hydrate.length===1){if(!this.container){const c=a.hydrate[0].parentElement;c!=null&&(this.container=c)}const u=a.hydrate[0].getAttribute("data-hydrate");u&&u.split(" ").forEach(c=>{this.cache[c]=!0})}}if(!this.container){if(document.head===null)throw new Error("No container provided and `document.head` was null");this.container=document.head}this.styleSheet=new IC({container:this.container,speedy:this.opts.speedy})}renderStyle(a){const i=ff(a);return this.cache[i]||(this.cache[i]=!0,this.styleSheet.insert(ds(a,i,this.opts.prefix||"",!!this.opts.strict))),`${this.opts.prefix||""}css-${i}`}renderFontFace(a){const i=ff(a);return this.cache[i]||(this.cache[i]=!0,this.styleSheet.insert([W_(`${this.opts.prefix||""}font-${i}`,ZS(a))])),`${this.opts.prefix||""}font-${i}`}renderKeyframes(a){const i=ff(a);return this.cache[i]||(this.cache[i]=!0,this.styleSheet.insert([U_(`${this.opts.prefix||""}animation-${i}`,q_(a))])),`${this.opts.prefix||""}animation-${i}`}}const Y_="__rozenite-dev-host__",V_="__rozenite-dev-config__",K_=288,Ku=180,Z_=220,X_=140,$_=360,Nb=280,Q_=320,zb=260,pf=6,J_={base00:"transparent",base01:"#374151",base02:"#4b5563",base03:"#6b7280",base04:"#9ca3af",base05:"#d1d5db",base06:"#e5e7eb",base07:"#f9fafb",base08:"#ef4444",base09:"#f59e0b",base0A:"#10b981",base0B:"#3b82f6",base0C:"#06b6d4",base0D:"#8b5cf6",base0E:"#ec4899",base0F:"#f97316"},jb=()=>new DOMException("Flow execution was stopped.","AbortError"),XS=r=>(r instanceof DOMException||r instanceof Error)&&r.name==="AbortError",Hb=r=>({id:r.id,direction:r.direction,date:r.date,type:r.type,payload:r.payload}),Ib=(r,a)=>a?typeof a=="string"?r.type===a:typeof a=="function"?a(r):(a.type==null||r.type===a.type)&&(a.direction==null||r.direction===a.direction)&&(a.predicate==null||a.predicate(r)):!0,eT=r=>XS(r)?"Flow execution was stopped.":r instanceof Error?r.message:String(r),tT=({sendMessage:r})=>{const[a,i]=re.useState([]),u=re.useRef([]),c=re.useRef(new Map),f=re.useRef(0);return re.useEffect(()=>()=>{c.current.forEach(h=>{h.controller.abort(),h.cleanups.forEach(g=>g())}),c.current.clear()},[]),{flowRuns:a,runFlow:(h,g)=>{const S=[...c.current.values()].find(L=>L.flowName===h.name);if(S)return S.id;const y=crypto.randomUUID(),D=new AbortController,O={id:y,flowName:h.name,flowDisplayName:h.displayName,autoRun:g?.autoRun??h.autoRun,controller:D,listeners:new Map,cleanups:new Set},A=()=>{if(D.signal.aborted)throw jb()},C=()=>{O.cleanups.forEach(L=>L()),O.cleanups.clear(),O.listeners.clear(),c.current.delete(y)},k=(L,R)=>{A();const F=f.current+1;f.current=F;const Z=Y=>{Ib(Y,L)&&R(Y)};O.listeners.set(F,Z);const ee=()=>{O.listeners.delete(F),D.signal.removeEventListener("abort",ee),O.cleanups.delete(ee)};return D.signal.addEventListener("abort",ee,{once:!0}),O.cleanups.add(ee),{remove:ee}},T={signal:D.signal,send:(L,R)=>{A(),r(L,R)},onMessage:k,waitForMessage:(L,R)=>(A(),new Promise((F,Z)=>{let ee=null;const Y=()=>{K.remove(),D.signal.removeEventListener("abort",ne),ee!==null&&window.clearTimeout(ee)},ne=()=>{Y(),Z(jb())},K=k(L,fe=>{Y(),F(fe)});D.signal.addEventListener("abort",ne,{once:!0}),R?.timeoutMs!=null&&(ee=window.setTimeout(()=>{Y(),Z(new Error(`Timed out waiting for a matching message after ${R.timeoutMs}ms.`))},R.timeoutMs))})),getMessages:L=>(A(),u.current.map(Hb).filter(R=>Ib(R,L)))};c.current.set(y,O),i(L=>[{id:y,flowName:h.name,flowDisplayName:h.displayName,status:"running",result:null,error:null,autoRun:O.autoRun},...L]);const _=L=>{i(R=>R.map(F=>F.id===y?{...F,...L}:F))};return Promise.resolve(h.run(T)).then(L=>{if(D.signal.aborted){_({status:"aborted",result:null,error:"Flow execution was stopped."});return}_({status:"succeeded",result:L,error:null})}).catch(L=>{_({status:XS(L)?"aborted":"failed",result:null,error:eT(L)})}).finally(()=>{C()}),y},stopFlow:h=>{const g=c.current.get(h);g&&g.controller.abort()},hasRunningFlow:h=>a.some(g=>g.flowName===h&&g.status==="running"),registerMessage:h=>{u.current=[h,...u.current];const g=Hb(h);c.current.forEach(S=>{S.listeners.forEach(y=>{y(g)})})},resetMessages:()=>{u.current=[]}}},E0=(...r)=>r.filter(Boolean).join(" "),rT=r=>{if(r==null)return"null";if(typeof r=="string")return r;try{return JSON.stringify(r)}catch{return String(r)}},nT=r=>Array.isArray(r)||typeof r=="object"&&r!==null,aT=r=>new Date(r).toLocaleString(),iT=r=>new Date(r).toLocaleString([],{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}),C0=r=>{try{return JSON.stringify(r,null,2)}catch{return String(r)}},oT=r=>typeof r=="object"&&r!==null&&"pluginId"in r&&"type"in r&&"payload"in r,lT=r=>{const a=new URLSearchParams(window.location.search).get("panel");if(a){const i=r.find(u=>u.label===a);if(i)return i}return r[0]??null},uT=r=>({id:crypto.randomUUID(),date:new Date().toISOString(),...r}),Zu=(r,a,i)=>Math.min(Math.max(r,a),i),sT=()=>{const r=document.getElementById(Y_);if(!r?.textContent)throw new Error("Rozenite dev host failed to initialize.");return JSON.parse(r.textContent)},$S=()=>W.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",children:W.jsx("path",{d:"M2.5 3.5H11.5M5.5 1.75H8.5M4 3.5V10.5C4 10.9641 4.18437 11.4092 4.51256 11.7374C4.84075 12.0656 5.28587 12.25 5.75 12.25H8.25C8.71413 12.25 9.15925 12.0656 9.48744 11.7374C9.81563 11.4092 10 10.9641 10 10.5V3.5M5.75 5.5V9.625M8.25 5.5V9.625",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),QS=()=>W.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",children:W.jsx("path",{d:"M12.25 1.75L6.75 7.25M12.25 1.75L8.75 12.25L6.75 7.25M12.25 1.75L1.75 5.25L6.75 7.25",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),cT=()=>W.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",children:[W.jsx("path",{d:"M2.5 3.5H11.5M2.5 7H8.5M2.5 10.5H6.5",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round"}),W.jsx("circle",{cx:"10.5",cy:"7",r:"1",fill:"currentColor"}),W.jsx("circle",{cx:"8.5",cy:"10.5",r:"1",fill:"currentColor"}),W.jsx("circle",{cx:"9.5",cy:"3.5",r:"1",fill:"currentColor"})]}),dT=()=>W.jsxs("svg",{width:"173",height:"32",viewBox:"0 0 172.5 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[W.jsx("path",{d:"M17.333 5.33301H20V10.667H22.667V16H25.333V24H22.667V26.667H20V29.333H12V26.667H9.33301V24H6.66699V16H9.33301V10.667H12V5.33301H14.667V2.66699H17.333V5.33301Z",fill:"#fff"}),W.jsx("path",{d:"M51.7354 28H48.1421V3.94287H59.8887C62.1875 3.94287 63.9385 4.56592 65.1416 5.81201C66.3447 7.05811 66.9463 8.80908 66.9463 11.0649C66.9463 12.4829 66.6294 13.6968 65.9956 14.7065C65.3618 15.7163 64.5024 16.4199 63.4175 16.8174V17.043H64.6421C66.2212 17.043 67.0107 17.9023 67.0107 19.6211V28H63.3853V18.9282H51.7354V28ZM51.7354 7.08496V15.915H59.083C60.3398 15.915 61.3228 15.6089 62.0317 14.9966C62.7515 14.3735 63.1113 13.5356 63.1113 12.4829V10.4849C63.1113 9.37842 62.7568 8.53516 62.0479 7.95508C61.3496 7.375 60.3613 7.08496 59.083 7.08496H51.7354ZM70.7187 25.9214C69.2256 24.2993 68.479 22.0972 68.479 19.3149C68.479 16.5327 69.2363 14.3359 70.751 12.7246C72.2656 11.1133 74.312 10.3076 76.8901 10.3076C79.393 10.3076 81.4179 11.1133 82.9648 12.7246C84.5224 14.3145 85.3013 16.5112 85.3013 19.3149C85.3013 22.0757 84.5547 24.2671 83.0615 25.8892C81.5683 27.5112 79.5112 28.3223 76.8901 28.3223C74.2798 28.3223 72.2226 27.522 70.7187 25.9214ZM71.9433 18.042V20.7329C71.9433 22.2153 72.3999 23.3809 73.313 24.2295C74.2261 25.0674 75.4184 25.4863 76.8901 25.4863C78.3511 25.4863 79.5327 25.062 80.435 24.2134C81.3481 23.3647 81.8047 22.2046 81.8047 20.7329V18.042C81.8047 16.5918 81.3481 15.4209 80.435 14.5293C79.522 13.627 78.3403 13.1758 76.8901 13.1758C75.4184 13.1758 74.2261 13.6216 73.313 14.5132C72.3999 15.4048 71.9433 16.5811 71.9433 18.042ZM98.081 13.208L89.0737 25.1963H98.1777V28H84.9809V25.4541L93.956 13.4819H84.9487V10.646H98.081V13.208ZM97.9057 19.2827C97.9057 16.479 98.6415 14.2822 100.113 12.6924C101.585 11.1025 103.588 10.3076 106.123 10.3076C108.519 10.3076 110.42 11.0112 111.828 12.4185C113.256 13.8472 113.971 15.7754 113.971 18.2031C113.971 18.7725 113.928 19.3955 113.842 20.0723H101.402V21.0391C101.402 22.4141 101.843 23.5259 102.724 24.3745C103.604 25.2124 104.759 25.6313 106.188 25.6313C107.316 25.6313 108.277 25.3682 109.072 24.8418C109.878 24.3154 110.415 23.6064 110.684 22.7148H114.035C113.691 24.4121 112.8 25.771 111.36 26.7915C109.932 27.812 108.197 28.3223 106.156 28.3223C103.599 28.3223 101.585 27.5112 100.113 25.8892C98.6415 24.2671 97.9057 22.0649 97.9057 19.2827ZM101.402 17.2363V17.6392H110.539V17.0752C110.539 15.8613 110.13 14.8838 109.314 14.1426C108.498 13.3906 107.423 13.0146 106.091 13.0146C104.706 13.0146 103.578 13.4067 102.707 14.1909C101.837 14.9644 101.402 15.9795 101.402 17.2363ZM119.499 28H116.1V10.646H119.064L119.532 13.8687H119.757C120.294 12.7515 121.073 11.8813 122.094 11.2583C123.114 10.6245 124.274 10.3076 125.574 10.3076C127.476 10.3076 128.947 10.9414 129.989 12.209C131.042 13.4766 131.568 15.2114 131.568 17.4136V28H128.136V17.7358C128.136 14.771 126.852 13.2886 124.285 13.2886C122.846 13.2886 121.685 13.8042 120.805 14.8354C119.934 15.8667 119.499 17.2202 119.499 18.896V28ZM138.048 7.81006H134.68V3.71729H138.048V7.81006ZM138.048 28H134.68V10.646H138.048V28ZM149.216 13.4819H145.623V25.2285H149.216V28H145.123C143.211 28 142.255 27.0654 142.255 25.1963V13.4819H139.129V10.646H142.255V5.00635H145.623V10.646H149.216V13.4819ZM149.669 19.2827C149.669 16.479 150.405 14.2822 151.877 12.6924C153.348 11.1025 155.352 10.3076 157.887 10.3076C160.283 10.3076 162.184 11.0112 163.591 12.4185C165.02 13.8472 165.734 15.7754 165.734 18.2031C165.734 18.7725 165.691 19.3955 165.605 20.0723H153.166V21.0391C153.166 22.4141 153.606 23.5259 154.487 24.3745C155.368 25.2124 156.523 25.6313 157.952 25.6313C159.079 25.6313 160.041 25.3682 160.836 24.8418C161.641 24.3154 162.179 23.6064 162.447 22.7148H165.799C165.455 24.4121 164.563 25.771 163.124 26.7915C161.695 27.812 159.96 28.3223 157.919 28.3223C155.363 28.3223 153.348 27.5112 151.877 25.8892C150.405 24.2671 149.669 22.0649 149.669 19.2827ZM153.166 17.2363V17.6392H162.302V17.0752C162.302 15.8613 161.894 14.8838 161.077 14.1426C160.261 13.3906 159.187 13.0146 157.855 13.0146C156.469 13.0146 155.341 13.4067 154.471 14.1909C153.601 14.9644 153.166 15.9795 153.166 17.2363Z",fill:"#fff"})]});var gf={},No={},mt={},Pt={},qb;function Ms(){return qb||(qb=1,Object.defineProperty(Pt,"__esModule",{value:!0}),Pt.WIDTH_TYPE=Pt.SIZE=Pt.SHAPE=Pt.MIN_HIT_AREA=Pt.KIND=Pt.BUTTON_GROUP_EXCLUSIVE_KINDS=void 0,Pt.KIND={primary:"primary",secondary:"secondary",tertiary:"tertiary",dangerPrimary:"dangerPrimary",dangerSecondary:"dangerSecondary",dangerTertiary:"dangerTertiary"},Pt.BUTTON_GROUP_EXCLUSIVE_KINDS=Object.freeze({outline:"outline"}),Pt.SHAPE={default:"default",rectangular:"rectangular",rounded:"rounded",pill:"pill",round:"round",circle:"circle",square:"square"},Pt.SIZE={mini:"mini",default:"default",compact:"compact",large:"large",xSmall:"xSmall",small:"small",medium:"medium"},Pt.MIN_HIT_AREA={tap:"tap",click:"click"},Pt.WIDTH_TYPE={hug:"hug",fill:"fill"}),Pt}var Ub;function _0(){if(Ub)return mt;Ub=1,Object.defineProperty(mt,"__esModule",{value:!0}),mt.getArtworkSize=mt.StartEnhancerButtonContentContainer=mt.StartEnhancer=mt.LoadingSpinnerContainer=mt.LoadingSpinner=mt.EndEnhancer=mt.BaseButton=mt.AnchorBaseButton=void 0;var r=At(),a=Ms();const i=(_,L)=>(0,r.styled)(_,({$theme:R,$size:F,$colors:Z,$kind:ee,$shape:Y,$isLoading:ne,$isSelected:K,$disabled:fe,$isFocusVisible:ge,$minHitArea:H,$as:te,$backgroundSafe:oe,$widthType:z})=>({display:"inline-flex",flexDirection:ne?"column":"row",alignItems:"center",justifyContent:"center",borderLeftWidth:0,borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftStyle:"none",borderTopStyle:"none",borderRightStyle:"none",borderBottomStyle:"none",outline:"none",boxSizing:"border-box",boxShadow:ge&&oe?`inset 0 0 0 2px ${R.colors.borderAccent}, ${R.lighting.shallowBelow}`:oe?`${R.lighting.shallowBelow}`:ge?`inset 0 0 0 2px ${R.colors.borderAccent}`:"none",textDecoration:"none",WebkitAppearance:"none",transitionProperty:"background",transitionDuration:R.animation.timing200,transitionTimingFunction:R.animation.linearCurve,cursor:"pointer",":disabled":{cursor:"not-allowed",...S({$theme:R,$kind:ee,$disabled:fe,$isSelected:K})},marginLeft:0,marginTop:0,marginRight:0,marginBottom:0,...T({$theme:R,$size:F,$widthType:z}),...h({$theme:R,$size:F}),...b({$theme:R,$size:F,$shape:Y}),...y({$theme:R,$size:F,$shape:Y}),...O({$theme:R,$isLoading:ne,$isSelected:K,$kind:ee,$disabled:fe,$backgroundSafe:oe}),...D({$theme:R,$colors:Z,$kind:ee,$isLoading:ne,$isSelected:K,$disabled:fe,$backgroundSafe:oe}),...g({$as:te,$theme:R,$kind:ee,$isSelected:K,$disabled:fe}),...A({$shape:Y,$size:F,$theme:R}),...k({$minHitArea:H,$theme:R}),...L?.({$theme:R,$size:F,$colors:Z,$kind:ee,$shape:Y,$isLoading:ne,$isSelected:K,$disabled:fe,$isFocusVisible:ge,$minHitArea:H,$as:te})})),u=mt.BaseButton=i("button");u.displayName="BaseButton",mt.AnchorBaseButton=i("a",({$theme:_,$kind:L,$isSelected:R,$disabled:F})=>g({$as:"a",$theme:_,$kind:L,$isSelected:R,$disabled:F})),u.displayName="BaseButton";const c=mt.EndEnhancer=(0,r.styled)("div",({$theme:_})=>({display:"flex",[_.direction==="rtl"?"marginRight":"marginLeft"]:_.sizing.scale300}));c.displayName="EndEnhancer",c.displayName="EndEnhancer";const f=mt.StartEnhancer=(0,r.styled)("div",({$theme:_})=>({display:"flex",[_.direction==="rtl"?"marginLeft":"marginRight"]:_.sizing.scale300}));f.displayName="StartEnhancer",f.displayName="StartEnhancer";const l=mt.StartEnhancerButtonContentContainer=(0,r.styled)("div",({$theme:_})=>({display:"flex",justifyContent:"center",alignItems:"center",flexGrow:1}));l.displayName="StartEnhancerButtonContentContainer",l.displayName="StartEnhancerButtonContentContainer";const m=mt.LoadingSpinnerContainer=(0,r.styled)("div",({$theme:_,$size:L})=>{let R={};return(L===a.SIZE.mini||L===a.SIZE.xSmall)&&(R={marginBottom:_.sizing.scale0,marginTop:_.sizing.scale0}),{lineHeight:0,position:"static",...R}});m.displayName="LoadingSpinnerContainer",m.displayName="LoadingSpinnerContainer";const p=mt.LoadingSpinner=(0,r.styled)("span",({$theme:_,$kind:L,$disabled:R,$size:F})=>{const{foreground:Z,background:ee}=d({$theme:_,$kind:L,$disabled:R});let Y;switch(F){case a.SIZE.mini:case a.SIZE.xSmall:Y=_.sizing.scale500;break;case a.SIZE.compact:case a.SIZE.small:Y=_.sizing.scale600;break;case a.SIZE.large:Y=_.sizing.scale800;break;case a.SIZE.medium:case a.SIZE.default:default:Y=_.sizing.scale700;break}return{height:Y,width:Y,borderTopLeftRadius:"50%",borderTopRightRadius:"50%",borderBottomRightRadius:"50%",borderBottomLeftRadius:"50%",borderLeftStyle:"solid",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftWidth:_.sizing.scale0,borderTopWidth:_.sizing.scale0,borderRightWidth:_.sizing.scale0,borderBottomWidth:_.sizing.scale0,borderTopColor:Z,borderLeftColor:ee,borderBottomColor:ee,borderRightColor:ee,boxSizing:"border-box",display:"inline-block",animationDuration:_.animation.timing700,animationTimingFunction:"linear",animationIterationCount:"infinite",animationName:{to:{transform:"rotate(360deg)"},from:{transform:"rotate(0deg)"}}}});p.displayName="LoadingSpinner",p.displayName="LoadingSpinner";function d({$theme:_,$kind:L,$disabled:R}){if(R)return{foreground:_.colors.buttonDisabledSpinnerForeground,background:_.colors.buttonDisabledSpinnerBackground};switch(L){case a.KIND.secondary:return{foreground:_.colors.buttonSecondarySpinnerForeground,background:_.colors.buttonSecondarySpinnerBackground};case a.KIND.tertiary:return{foreground:_.colors.buttonTertiarySpinnerForeground,background:_.colors.buttonTertiarySpinnerBackground};case a.KIND.dangerPrimary:return{foreground:_.colors.buttonDangerPrimarySpinnerForeground,background:_.colors.buttonDangerPrimarySpinnerBackground};case a.KIND.dangerSecondary:return{foreground:_.colors.buttonDangerSecondarySpinnerForeground,background:_.colors.buttonDangerSecondarySpinnerBackground};case a.KIND.dangerTertiary:return{foreground:_.colors.buttonDangerTertiarySpinnerForeground,background:_.colors.buttonDangerTertiarySpinnerBackground};case a.BUTTON_GROUP_EXCLUSIVE_KINDS.outline:return{foreground:_.colors.buttonOutlineSpinnerForeground,background:_.colors.buttonOutlineSpinnerBackground};case a.KIND.primary:default:return{foreground:_.colors.buttonPrimarySpinnerForeground,background:_.colors.buttonPrimarySpinnerBackground}}}function b({$theme:_,$size:L,$shape:R}){let F=_.borders.buttonBorderRadius;return R===a.SHAPE.pill||R===a.SHAPE.rounded?F="999px":(R===a.SHAPE.circle||R===a.SHAPE.round)&&(F="50%"),{borderTopRightRadius:F,borderBottomRightRadius:F,borderTopLeftRadius:F,borderBottomLeftRadius:F}}function h({$theme:_,$size:L}){switch(L){case a.SIZE.xSmall:case a.SIZE.mini:return _.typography.LabelXSmall;case a.SIZE.small:case a.SIZE.compact:return _.typography.LabelSmall;case a.SIZE.large:return _.typography.LabelLarge;default:return _.typography.LabelMedium}}function g({$as:_,$theme:L,$kind:R,$isSelected:F,$disabled:Z}){return _==="a"&&Z?{cursor:"not-allowed",pointerEvents:"none",...S({$theme:L,$kind:R,$isSelected:F,$disabled:Z})}:{}}function S({$theme:_,$kind:L,$isSelected:R,$disabled:F}){if(F&&R){if(L===a.KIND.primary||L===a.KIND.secondary)return{color:_.colors.buttonDisabledActiveText,backgroundColor:_.colors.buttonDisabledActiveFill};if(L===a.KIND.tertiary)return{backgroundColor:_.colors.buttonTertiaryDisabledActiveFill,color:_.colors.buttonTertiaryDisabledActiveText}}return{backgroundColor:_.colors.buttonDisabledFill,color:_.colors.buttonDisabledText}}function y({$theme:_,$size:L,$shape:R}){const F=R===a.SHAPE.square||R===a.SHAPE.circle||R===a.SHAPE.round;switch(L){case a.SIZE.mini:case a.SIZE.xSmall:return{paddingTop:_.sizing.scale200,paddingBottom:_.sizing.scale200,paddingLeft:F?_.sizing.scale200:_.sizing.scale300,paddingRight:F?_.sizing.scale200:_.sizing.scale300};case a.SIZE.compact:case a.SIZE.small:return{paddingTop:_.sizing.scale400,paddingBottom:_.sizing.scale400,paddingLeft:F?_.sizing.scale400:_.sizing.scale500,paddingRight:F?_.sizing.scale400:_.sizing.scale500};case a.SIZE.large:return{paddingTop:_.sizing.scale600,paddingBottom:_.sizing.scale600,paddingLeft:F?_.sizing.scale600:_.sizing.scale700,paddingRight:F?_.sizing.scale600:_.sizing.scale700};case a.SIZE.medium:case a.SIZE.default:default:return{paddingTop:_.sizing.scale550,paddingBottom:_.sizing.scale550,paddingLeft:F?_.sizing.scale550:_.sizing.scale600,paddingRight:F?_.sizing.scale550:_.sizing.scale600}}}function D({$theme:_,$colors:L,$isLoading:R,$isSelected:F,$kind:Z,$disabled:ee,$backgroundSafe:Y}){if(ee)return Object.freeze({});const ne=Y?`, ${_.lighting.shallowBelow}`:"";if(L)return{color:L.color,backgroundColor:L.backgroundColor,"@media (hover: hover)":{":hover":{boxShadow:`inset 999px 999px 0px rgba(0, 0, 0, 0.04) ${ne}`}},":active":{boxShadow:`inset 999px 999px 0px rgba(0, 0, 0, 0.08) ${ne}`}};switch(Z){case a.KIND.primary:return F?{color:_.colors.buttonPrimarySelectedText||_.colors.buttonPrimaryText,backgroundColor:_.colors.buttonPrimarySelectedFill||_.colors.buttonPrimaryFill}:R?{backgroundColor:_.colors.buttonPrimaryLoadingFill||_.colors.buttonPrimaryFill}:{color:_.colors.buttonPrimaryText,backgroundColor:_.colors.buttonPrimaryFill,"@media (hover: hover)":{":hover":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonPrimaryHoverOverlay} ${ne}`}},":active":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonPrimaryActiveOverlay} ${ne}`}};case a.KIND.secondary:return F?{color:_.colors.buttonPrimaryText,backgroundColor:_.colors.buttonPrimaryFill}:R?{backgroundColor:_.colors.buttonSecondaryLoadingFill||_.colors.buttonSecondaryFill}:{color:_.colors.buttonSecondaryText,backgroundColor:_.colors.buttonSecondaryFill,"@media (hover: hover)":{":hover":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonSecondaryHoverOverlay} ${ne}`}},":active":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonSecondaryActiveOverlay} ${ne}`}};case a.KIND.tertiary:return F?{color:_.colors.buttonTertiarySelectedText||_.colors.buttonTertiaryText,backgroundColor:_.colors.buttonTertiarySelectedFill||_.colors.buttonTertiaryFill}:R?{backgroundColor:_.colors.buttonTertiaryLoadingFill||_.colors.buttonTertiaryFill}:{color:_.colors.buttonTertiaryText,backgroundColor:_.colors.buttonTertiaryFill,"@media (hover: hover)":{":hover":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonTertiaryHoverOverlay} ${ne}`}},":active":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonTertiaryActiveOverlay} ${ne}`}};case a.KIND.dangerPrimary:return F?{color:_.colors.buttonDangerPrimarySelectedText,backgroundColor:_.colors.buttonDangerPrimarySelectedFill}:R?{backgroundColor:_.colors.buttonDangerPrimaryLoadingFill}:{color:_.colors.buttonDangerPrimaryText,backgroundColor:_.colors.buttonDangerPrimaryFill,"@media (hover: hover)":{":hover":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonDangerPrimaryHoverOverlay} ${ne}`}},":active":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonDangerPrimaryActiveOverlay} ${ne}`}};case a.KIND.dangerSecondary:return F?{color:_.colors.buttonDangerSecondarySelectedText,backgroundColor:_.colors.buttonDangerSecondarySelectedFill}:R?{backgroundColor:_.colors.buttonDangerSecondaryLoadingFill}:{color:_.colors.buttonDangerSecondaryText,backgroundColor:_.colors.buttonDangerSecondaryFill,"@media (hover: hover)":{":hover":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonDangerSecondaryHoverOverlay} ${ne}`}},":active":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonDangerSecondaryActiveOverlay} ${ne}`}};case a.KIND.dangerTertiary:return F?{color:_.colors.buttonDangerTertiarySelectedText,backgroundColor:_.colors.buttonDangerTertiarySelectedFill}:R?{backgroundColor:_.colors.buttonDangerTertiaryLoadingFill}:{color:_.colors.buttonDangerTertiaryText,backgroundColor:_.colors.buttonDangerTertiaryFill,"@media (hover: hover)":{":hover":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonDangerTertiaryHoverOverlay} ${ne}`}},":active":{boxShadow:`inset 999px 999px 0px ${_.colors.buttonDangerTertiaryActiveOverlay} ${ne}`}};case a.BUTTON_GROUP_EXCLUSIVE_KINDS.outline:return F?{color:_.colors.buttonOutlineSelectedText,backgroundColor:_.colors.buttonOutlineSelectedFill}:R?{backgroundColor:_.colors.buttonOutlineLoadingFill}:{color:_.colors.buttonOutlineText,backgroundColor:_.colors.buttonOutlineFill,position:"relative","::after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit",borderBottomRightRadius:"inherit",borderBottomLeftRadius:"inherit",backgroundColor:"transparent",boxShadow:`0 0 0 ${_.sizing.scale0} transparent`,pointerEvents:"none"},"@media (hover: hover)":{":hover::after":{backgroundColor:_.colors.buttonOutlineHoverOverlay,boxShadow:`0 0 0 ${_.sizing.scale0} ${_.colors.buttonOutlineHoverOverlay} ${ne}`}},":active::after":{backgroundColor:_.colors.buttonOutlineActiveOverlay,boxShadow:`0 0 0 ${_.sizing.scale0} ${_.colors.buttonOutlineActiveOverlay} ${ne}`}};default:return Object.freeze({})}}function O({$theme:_,$isLoading:L,$isSelected:R,$kind:F,$disabled:Z,$backgroundSafe:ee}){if(Z)return Object.freeze({});const Y=ee?`, ${_.lighting.shallowBelow}`:"";switch(F){case a.KIND.primary:return{...R?{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonOuterBorder} ${Y}`}:{},":focus-visible":{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonFocusOuterBorder} ${Y}`}};case a.KIND.secondary:return{":focus-visible":{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonFocusOuterBorder} ${Y}`}};case a.KIND.tertiary:return{...R?{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonOuterBorder} ${Y}`}:{},":focus-visible":{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonFocusOuterBorder} ${Y}`}};case a.KIND.dangerPrimary:return{...R?{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonOuterBorder} ${Y}`}:{},":focus-visible":{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonFocusOuterBorder} ${Y}`}};case a.KIND.dangerSecondary:return{":focus-visible":{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonInnerBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonFocusOuterBorder} ${Y}`}};case a.KIND.dangerTertiary:return{...R?{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonTransparentBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonDangerTertiaryOuterBorder} ${Y}`}:{},":focus-visible":{boxShadow:`inset 0 0 0 ${_.sizing.scale0} ${_.colors.buttonTransparentBorder}, 0 0 0 ${_.sizing.scale0} ${_.colors.buttonFocusOuterBorder} ${Y}`}};case a.BUTTON_GROUP_EXCLUSIVE_KINDS.outline:return{...R?{boxShadow:`0 0 0 ${_.sizing.scale0} ${_.colors.buttonOuterBorder}`}:{boxShadow:`0 0 0 ${_.sizing.scale0} ${_.colors.buttonOutlineOuterBorder}`},":focus-visible":{boxShadow:`0 0 0 ${_.sizing.scale0} ${_.colors.buttonFocusOuterBorder}`}};default:return Object.freeze({})}}function A({$shape:_,$size:L,$theme:R}){if(_===a.SHAPE.circle||_===a.SHAPE.square){let F,Z;switch(L){case a.SIZE.mini:case a.SIZE.xSmall:F=R.sizing.scale850,Z=R.sizing.scale850;break;case a.SIZE.compact:case a.SIZE.small:F=R.sizing.scale950,Z=R.sizing.scale950;break;case a.SIZE.large:F=R.sizing.scale1400,Z=R.sizing.scale1400;break;case a.SIZE.default:case a.SIZE.medium:default:F=R.sizing.scale1200,Z=R.sizing.scale1200;break}return{height:F,width:Z,paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}else return{}}const C=({$theme:_,$size:L})=>{switch(L){case a.SIZE.mini:case a.SIZE.xSmall:return _.sizing.scale500;case a.SIZE.compact:case a.SIZE.small:return _.sizing.scale600;case a.SIZE.large:return _.sizing.scale800;case a.SIZE.default:case a.SIZE.medium:default:return _.sizing.scale700}};mt.getArtworkSize=C;function k({$minHitArea:_,$theme:L}){return!_||_!==a.MIN_HIT_AREA.tap?{}:{"::before":{content:'""',position:"absolute",top:"50%",left:0,right:0,height:L.sizing.scale1200,minHeight:L.sizing.scale1200,transform:"translateY(-50%)"},position:"relative"}}function T({$theme:_,$size:L,$widthType:R}){let F,Z;switch(L){case a.SIZE.mini:case a.SIZE.xSmall:Z=_.sizing.scale850,F="52px";break;case a.SIZE.compact:case a.SIZE.small:Z=_.sizing.scale950,F="60px";break;case a.SIZE.large:Z=_.sizing.scale1400,F="80px";break;case a.SIZE.default:case a.SIZE.medium:default:Z=_.sizing.scale1200,F="72px";break}return{...R===a.WIDTH_TYPE.fill?{minWidth:F,minHeight:Z,width:"100%"}:{}}}return mt}var Xu={},Wb;function JS(){if(Wb)return Xu;Wb=1,Object.defineProperty(Xu,"__esModule",{value:!0}),Xu.getSharedProps=r;function r({colors:a,disabled:i,minHitArea:u,isLoading:c,isSelected:f,kind:l,shape:m,size:p,backgroundSafe:d,widthType:b}){return{$colors:a,$disabled:i,$minHitArea:u,$isLoading:c,$isSelected:!!f,$kind:l,$shape:m,$size:p,$backgroundSafe:d,$widthType:b}}return Xu}var $u={},Gb;function fT(){if(Gb)return $u;Gb=1,Object.defineProperty($u,"__esModule",{value:!0}),$u.default=h;var r=p(Pe()),a=p(wS()),i=_0(),u=JS(),c=_t(),f=At(),l=Ms();function m(g){if(typeof WeakMap!="function")return null;var S=new WeakMap,y=new WeakMap;return(m=function(D){return D?y:S})(g)}function p(g,S){if(g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var y=m(S);if(y&&y.has(g))return y.get(g);var D={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in g)if(A!=="default"&&Object.prototype.hasOwnProperty.call(g,A)){var C=O?Object.getOwnPropertyDescriptor(g,A):null;C&&(C.get||C.set)?Object.defineProperty(D,A,C):D[A]=g[A]}return D.default=g,y&&y.set(g,D),D}function d(){return d=Object.assign?Object.assign.bind():function(g){for(var S=1;S<arguments.length;S++){var y=arguments[S];for(var D in y)Object.prototype.hasOwnProperty.call(y,D)&&(g[D]=y[D])}return g},d.apply(this,arguments)}function b(g){const{Enhancer:S,$isHovered:y,$isPressed:D,$isFocused:O,$artworkSize:A,...C}=g;return typeof S=="string"?S:typeof S=="function"?S({isHovered:y,isPressed:D,isFocused:O,artworkSize:A}):a.isValidElementType(S)?r.createElement(S,d({},C,{size:A})):S}function h(g){const{children:S,overrides:y={},isHovered:D=!1,isPressed:O=!1,isFocused:A=!1,startEnhancer:C,endEnhancer:k,widthType:T}=g,[,_]=(0,f.useStyletron)(),[L,R]=(0,c.getOverrides)(y.StartEnhancer,i.StartEnhancer),[F,Z]=(0,c.getOverrides)(y.EndEnhancer,i.EndEnhancer),[ee,Y]=(0,c.getOverrides)(y.StartEnhancerButtonContentContainer,i.StartEnhancerButtonContentContainer),ne={...(0,u.getSharedProps)(g),$isHovered:D,$isPressed:O,$isFocused:A},K=(0,i.getArtworkSize)({$theme:_,$size:ne.$size}),fe=r.createElement(r.Fragment,null,C!=null&&r.createElement(L,d({},ne,R,{"aria-hidden":!!S}),r.createElement(b,{Enhancer:C,$isHovered:D,$isPressed:O,$isFocused:A,$artworkSize:K})),typeof S=="function"?S({isHovered:D,isPressed:O,isFocused:A,artworkSize:K}):S),ge=r.createElement(r.Fragment,null,T===l.WIDTH_TYPE.fill?r.createElement(ee,d({},ne,Y),fe):r.createElement(r.Fragment,null,fe),k!=null&&r.createElement(F,d({},ne,Z,{"aria-hidden":!!S}),r.createElement(b,{Enhancer:k,$isHovered:D,$isPressed:O,$isFocused:A,$artworkSize:K})));if(g.isLoading){const H={opacity:0,display:"flex",height:"0px"};return r.createElement("div",{style:H},ge)}return r.createElement(r.Fragment,null,ge)}return $u}var zo={},Yb;function pT(){if(Yb)return zo;Yb=1,Object.defineProperty(zo,"__esModule",{value:!0}),zo.defaultProps=void 0;var r=Ms();return zo.defaultProps={backgroundSafe:!1,disabled:!1,minHitArea:r.MIN_HIT_AREA.click,isLoading:!1,kind:r.KIND.primary,overrides:{},shape:r.SHAPE.rectangular,size:r.SIZE.medium,widthType:r.WIDTH_TYPE.hug},zo}var Vb;function gT(){if(Vb)return No;Vb=1,Object.defineProperty(No,"__esModule",{value:!0}),No.default=void 0;var r=d(Pe()),a=_0(),i=JS(),u=m(fT()),c=pT(),f=_t(),l=ni();function m(O){return O&&O.__esModule?O:{default:O}}function p(O){if(typeof WeakMap!="function")return null;var A=new WeakMap,C=new WeakMap;return(p=function(k){return k?C:A})(O)}function d(O,A){if(O&&O.__esModule)return O;if(O===null||typeof O!="object"&&typeof O!="function")return{default:O};var C=p(A);if(C&&C.has(O))return C.get(O);var k={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in O)if(_!=="default"&&Object.prototype.hasOwnProperty.call(O,_)){var L=T?Object.getOwnPropertyDescriptor(O,_):null;L&&(L.get||L.set)?Object.defineProperty(k,_,L):k[_]=O[_]}return k.default=O,C&&C.set(O,k),k}function b(){return b=Object.assign?Object.assign.bind():function(O){for(var A=1;A<arguments.length;A++){var C=arguments[A];for(var k in C)Object.prototype.hasOwnProperty.call(C,k)&&(O[k]=C[k])}return O},b.apply(this,arguments)}function h(O,A,C){return A=g(A),A in O?Object.defineProperty(O,A,{value:C,enumerable:!0,configurable:!0,writable:!0}):O[A]=C,O}function g(O){var A=S(O,"string");return typeof A=="symbol"?A:String(A)}function S(O,A){if(typeof O!="object"||!O)return O;var C=O[Symbol.toPrimitive];if(C!==void 0){var k=C.call(O,A);if(typeof k!="object")return k;throw new TypeError("@@toPrimitive must return a primitive value.")}return(A==="string"?String:Number)(O)}class y extends r.Component{constructor(...A){super(...A),h(this,"state",{isFocusVisible:!1,isHovered:!1,isPressed:!1}),h(this,"internalOnClick",(...C)=>{const{isLoading:k,onClick:T}=this.props;if(k){C[0].preventDefault();return}T&&T(...C)}),h(this,"handleFocus",C=>{(0,l.isFocusVisible)(C)&&this.setState({isFocusVisible:!0})}),h(this,"handleBlur",C=>{this.state.isFocusVisible!==!1&&this.setState({isFocusVisible:!1})}),h(this,"handleHovered",C=>{this.setState({isHovered:!0}),this.props.onMouseEnter&&this.props.onMouseEnter(C)}),h(this,"handleNotHovered",C=>{this.setState({isHovered:!1}),this.props.onMouseLeave&&this.props.onMouseLeave(C)}),h(this,"handlePressed",C=>{this.setState({isPressed:!0}),this.props.onMouseDown&&this.props.onMouseDown(C)}),h(this,"handleNotPressed",C=>{this.setState({isPressed:!1}),this.props.onMouseUp&&this.props.onMouseUp(C)})}render(){const{overrides:A={},size:C,kind:k,shape:T,minHitArea:_,isLoading:L,isSelected:R,startEnhancer:F,endEnhancer:Z,children:ee,forwardedRef:Y,colors:ne,backgroundSafe:K,widthType:fe,"aria-label":ge,...H}=this.props,te="href"in H&&!!H?.href,[oe,z]=(0,f.getOverrides)(A.BaseButton||A.Root,te?a.AnchorBaseButton:a.BaseButton),[G,P]=(0,f.getOverrides)(A.LoadingSpinner,a.LoadingSpinner),[x,w]=(0,f.getOverrides)(A.LoadingSpinnerContainer,a.LoadingSpinnerContainer),X={...(0,i.getSharedProps)(this.props),$isFocusVisible:this.state.isFocusVisible,$isHovered:this.state.isHovered,$isPressed:this.state.isPressed},ae=L?{"aria-label":ge||(typeof ee=="string"?`loading ${ee}`:"content is loading"),"aria-busy":"true","aria-live":"polite"}:{},le=H?.disabled&&te?{"aria-disabled":!0}:{},ie=L?{}:ge?{"aria-label":ge}:typeof ee=="string"?{"aria-label":ee}:{},ve=typeof z["aria-checked"]>"u"&&typeof R=="boolean"?{"aria-pressed":R}:{};return r.createElement(oe,b({ref:Y,"data-baseweb":"button"},ae,le,ie,ve,X,H,z,{onClick:this.internalOnClick,onFocus:(0,l.forkFocus)({...H,...z},this.handleFocus),onBlur:(0,l.forkBlur)({...H,...z},this.handleBlur),onMouseEnter:this.handleHovered,onMouseLeave:this.handleNotHovered,onMouseDown:this.handlePressed,onMouseUp:this.handleNotPressed}),L?r.createElement(r.Fragment,null,r.createElement(u.default,b({},this.props,{isHovered:this.state.isHovered,isPressed:this.state.isPressed,isFocused:this.state.isFocusVisible})),r.createElement(x,b({},X,w,{"aria-hidden":!0}),r.createElement(G,b({},X,P)))):r.createElement(u.default,b({},this.props,{isHovered:this.state.isHovered,isPressed:this.state.isPressed,isFocused:this.state.isFocusVisible})))}}h(y,"defaultProps",c.defaultProps);const D=r.forwardRef((O,A)=>r.createElement(y,b({forwardedRef:A},O)));return D.displayName="Button",No.default=D,No}var Kb={},Zb;function vT(){return Zb||(Zb=1),Kb}var Xb;function hT(){return Xb||(Xb=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={Button:!0,KIND:!0,SIZE:!0,SHAPE:!0,MIN_HIT_AREA:!0,WIDTH_TYPE:!0,BUTTON_GROUP_EXCLUSIVE_KINDS:!0,StyledBaseButton:!0,StyledStartEnhancer:!0,StyledEndEnhancer:!0,StyledLoadingSpinner:!0,StyledLoadingSpinnerContainer:!0};Object.defineProperty(r,"BUTTON_GROUP_EXCLUSIVE_KINDS",{enumerable:!0,get:function(){return u.BUTTON_GROUP_EXCLUSIVE_KINDS}}),Object.defineProperty(r,"Button",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"KIND",{enumerable:!0,get:function(){return u.KIND}}),Object.defineProperty(r,"MIN_HIT_AREA",{enumerable:!0,get:function(){return u.MIN_HIT_AREA}}),Object.defineProperty(r,"SHAPE",{enumerable:!0,get:function(){return u.SHAPE}}),Object.defineProperty(r,"SIZE",{enumerable:!0,get:function(){return u.SIZE}}),Object.defineProperty(r,"StyledBaseButton",{enumerable:!0,get:function(){return c.BaseButton}}),Object.defineProperty(r,"StyledEndEnhancer",{enumerable:!0,get:function(){return c.EndEnhancer}}),Object.defineProperty(r,"StyledLoadingSpinner",{enumerable:!0,get:function(){return c.LoadingSpinner}}),Object.defineProperty(r,"StyledLoadingSpinnerContainer",{enumerable:!0,get:function(){return c.LoadingSpinnerContainer}}),Object.defineProperty(r,"StyledStartEnhancer",{enumerable:!0,get:function(){return c.StartEnhancer}}),Object.defineProperty(r,"WIDTH_TYPE",{enumerable:!0,get:function(){return u.WIDTH_TYPE}});var i=l(gT()),u=Ms(),c=_0(),f=vT();Object.keys(f).forEach(function(m){m==="default"||m==="__esModule"||Object.prototype.hasOwnProperty.call(a,m)||m in r&&r[m]===f[m]||Object.defineProperty(r,m,{enumerable:!0,get:function(){return f[m]}})});function l(m){return m&&m.__esModule?m:{default:m}}})(gf)),gf}var Ia=hT();const mT={BaseButton:{style:({$disabled:r,$isFocusVisible:a})=>({minHeight:"auto",minWidth:"auto",borderWidth:"1px",borderStyle:"solid",borderColor:"rgba(255, 255, 255, 0.08)",borderRadius:"4px",backgroundColor:"transparent",color:"rgba(255, 255, 255, 0.56)",paddingTop:"0",paddingRight:"0",paddingBottom:"0",paddingLeft:"0",boxShadow:"none",cursor:r?"default":"pointer",opacity:r?.4:1,outline:a?"2px solid rgba(130, 50, 255, 0.95)":"none",outlineOffset:"-2px"})}},bT={default:{BaseButton:{style:({$disabled:r,$isHovered:a})=>({borderColor:"rgba(255, 255, 255, 0.08)",backgroundColor:!r&&a?"rgba(255, 255, 255, 0.06)":"transparent",color:"rgba(255, 255, 255, 0.56)"})}},primary:{BaseButton:{style:({$disabled:r,$isHovered:a})=>({borderColor:"#ffffff",backgroundColor:"#ffffff",color:"#000000",opacity:r?.4:1,":hover":!r&&a?{backgroundColor:"rgba(255, 255, 255, 0.88)"}:void 0})}},pill:{BaseButton:{style:({$disabled:r,$isHovered:a,$isSelected:i})=>({borderColor:i?"rgba(130, 50, 255, 0.5)":"rgba(255, 255, 255, 0.08)",borderRadius:"999px",backgroundColor:i?"rgba(130, 50, 255, 0.18)":!r&&a?"rgba(255, 255, 255, 0.1)":"rgba(255, 255, 255, 0.04)",color:"#ffffff",paddingTop:"6px",paddingRight:"10px",paddingBottom:"6px",paddingLeft:"10px",fontSize:"12px",lineHeight:"1.4"})}}},Vf=({overrides:r,variant:a="default",...i})=>W.jsx(Ia.Button,{kind:Ia.KIND.tertiary,shape:a==="pill"?Ia.SHAPE.pill:Ia.SHAPE.rectangular,size:Ia.SIZE.compact,widthType:Ia.WIDTH_TYPE.hug,overrides:Er.mergeOverrides(Er.mergeOverrides(mT,bT[a]),r),...i}),yT=r=>r==="running"?"Running":r==="succeeded"?"Completed":r==="failed"?"Failed":r==="aborted"?"Stopped":r,ST=({flows:r,flowRuns:a,hasRunningFlow:i,onRunFlow:u,onStopFlow:c})=>{if(r.length===0)return W.jsx("div",{className:"rz-flow-empty-state",children:"No flows were configured for this plugin."});const f=a.length>0;return W.jsxs("div",{className:"rz-flow-panel",children:[W.jsxs("div",{className:"rz-field",children:[W.jsx("div",{className:"rz-label",children:"Available flows"}),W.jsx("div",{className:"rz-flow-list",children:r.map((l,m)=>{const p=i(l.name);return W.jsxs(Vf,{type:"button",onClick:()=>u(l),variant:"default",isSelected:p,title:`Run ${l.displayName}`,overrides:{BaseButton:{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"12px",width:"100%",borderRadius:"8px",backgroundColor:p?"rgba(130, 50, 255, 0.14)":"rgba(255, 255, 255, 0.03)",borderColor:p?"rgba(130, 50, 255, 0.45)":"rgba(255, 255, 255, 0.08)",color:"rgba(255, 255, 255, 0.88)",paddingTop:"10px",paddingRight:"12px",paddingBottom:"10px",paddingLeft:"12px",textAlign:"left"}}},children:[W.jsxs("span",{className:"rz-flow-list-name",children:[l.displayName,l.autoRun?W.jsx("span",{className:"rz-flow-list-badge",children:"Auto"}):null]}),W.jsx("span",{className:"rz-flow-list-action",children:p?"Running":"Run"})]},`${l.name}-${m}`)})})]}),f?W.jsxs("div",{className:"rz-field",children:[W.jsx("div",{className:"rz-label",children:"Flow runs"}),W.jsx("div",{className:"rz-flow-runs",children:a.map(l=>{const m=l.status==="running";return W.jsxs("div",{className:"rz-flow-state","data-status":l.status,children:[W.jsxs("div",{className:"rz-flow-state-header",children:[W.jsxs("div",{className:"rz-flow-state-title",children:[l.flowDisplayName,l.autoRun?W.jsx("span",{className:"rz-flow-state-badge",children:"Auto"}):null]}),m?W.jsx(Vf,{type:"button",variant:"pill",onClick:()=>c(l.id),overrides:{BaseButton:{style:{flexShrink:0}}},children:"Stop"}):null]}),W.jsx("div",{className:"rz-flow-state-status",children:yT(l.status)}),l.error?W.jsx("div",{className:"rz-flow-state-error",children:l.error}):null,l.result!=null?W.jsx("pre",{className:"rz-flow-state-result",children:C0(l.result)}):null]},l.id)})})]}):null]})};var vf={},jo={},Qu={},Ue={},Yr={},$b;function ws(){return $b||($b=1,Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.STATE_CHANGE_TYPES=Yr.OPTION_LIST_SIZE=Yr.KEY_STRINGS=void 0,Yr.STATE_CHANGE_TYPES={click:"click",moveUp:"moveUp",moveDown:"moveDown",mouseEnter:"mouseEnter",mouseLeave:"mouseLeave",focus:"focus",reset:"reset",character:"character",enter:"enter"},Yr.KEY_STRINGS={ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",Enter:"Enter",Space:" ",Escape:"Escape",Backspace:"Backspace",Home:"Home",End:"End"},Yr.OPTION_LIST_SIZE={default:"default",compact:"compact"}),Yr}var Qb;function Ps(){if(Qb)return Ue;Qb=1,Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.StyledProfileTitle=Ue.StyledProfileSubtitle=Ue.StyledProfileLabelsContainer=Ue.StyledProfileImgContainer=Ue.StyledProfileImg=Ue.StyledProfileBody=Ue.StyledOptgroupHeader=Ue.StyledMenuDivider=Ue.StyledListItemProfile=Ue.StyledListItemElement=Ue.StyledListItemAnchor=Ue.StyledListItem=Ue.StyledList=Ue.StyledEmptyState=void 0;var r=c(Pe()),a=At(),i=ws();function u(T){if(typeof WeakMap!="function")return null;var _=new WeakMap,L=new WeakMap;return(u=function(R){return R?L:_})(T)}function c(T,_){if(T&&T.__esModule)return T;if(T===null||typeof T!="object"&&typeof T!="function")return{default:T};var L=u(_);if(L&&L.has(T))return L.get(T);var R={__proto__:null},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Z in T)if(Z!=="default"&&Object.prototype.hasOwnProperty.call(T,Z)){var ee=F?Object.getOwnPropertyDescriptor(T,Z):null;ee&&(ee.get||ee.set)?Object.defineProperty(R,Z,ee):R[Z]=T[Z]}return R.default=T,L&&L.set(T,R),R}const f=Ue.StyledList=(0,a.styled)("ul",({$theme:T,$isFocusVisible:_})=>({backgroundColor:T.colors.menuFill,position:"relative",marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,paddingTop:T.sizing.scale300,paddingBottom:T.sizing.scale300,paddingLeft:0,paddingRight:0,borderTopLeftRadius:T.borders.popoverBorderRadius,borderTopRightRadius:T.borders.popoverBorderRadius,borderBottomRightRadius:T.borders.popoverBorderRadius,borderBottomLeftRadius:T.borders.popoverBorderRadius,boxShadow:T.lighting.shadow600,overflow:"auto",":focus":{outline:_?`3px solid ${T.colors.borderAccent}`:"none"}}));f.displayName="StyledList",f.displayName="StyledList";function l(T){return T.$disabled?T.$theme.colors.menuFontDisabled:T.$isHighlighted&&T.$isFocused?T.$theme.colors.menuFontHighlighted:T.$isHighlighted&&!T.$isFocused?T.$theme.colors.menuFontSelected:T.$theme.colors.menuFontDefault}function m(T){return T.$disabled?"transparent":T.$isHighlighted?T.$theme.colors.menuFillHover:"transparent"}const p=Ue.StyledEmptyState=(0,a.styled)("li",T=>{const{$theme:_,$size:L}=T;return{...L===i.OPTION_LIST_SIZE.compact?_.typography.font100:_.typography.font200,position:"relative",display:"block",color:_.colors.menuFontDisabled,textAlign:"center",cursor:"not-allowed",backgroundColor:"transparent",marginBottom:0,paddingTop:_.sizing.scale800,paddingBottom:_.sizing.scale800,paddingRight:_.sizing.scale800,paddingLeft:_.sizing.scale800}});p.displayName="StyledEmptyState",p.displayName="StyledEmptyState";const d=Ue.StyledOptgroupHeader=(0,a.styled)("li",T=>{const _=T.$theme.sizing.scale300,L=T.$theme.sizing.scale200;return{...T.$theme.typography.font250,color:T.$theme.colors.contentPrimary,paddingTop:L,paddingBottom:L,paddingRight:_,paddingLeft:_}});d.displayName="StyledOptgroupHeader",d.displayName="StyledOptgroupHeader";const b=Ue.StyledListItemAnchor=(0,a.styled)("a",T=>({display:"block",color:l(T)}));b.displayName="StyledListItemAnchor",b.displayName="StyledListItemAnchor";const h=Ue.StyledListItemElement=(0,a.styled)("li",T=>{const{$disabled:_,$theme:L,$size:R}=T;return{...R===i.OPTION_LIST_SIZE.compact?L.typography.font100:L.typography.font200,boxSizing:"border-box",position:"relative",display:"block",color:l(T),cursor:_?"not-allowed":"pointer",backgroundColor:m(T),transitionProperty:"color, background-color",transitionDuration:L.animation.timing200,transitionTimingFunction:L.animation.easeOutCurve,marginBottom:0,paddingTop:R===i.OPTION_LIST_SIZE.compact?L.sizing.scale100:L.sizing.scale300,paddingBottom:R===i.OPTION_LIST_SIZE.compact?L.sizing.scale100:L.sizing.scale300,paddingRight:R===i.OPTION_LIST_SIZE.compact?L.sizing.scale900:L.sizing.scale600,paddingLeft:R===i.OPTION_LIST_SIZE.compact?L.sizing.scale900:L.sizing.scale600,":focus":{outline:"none"}}});h.displayName="StyledListItemElement",h.displayName="StyledListItemElement",Ue.StyledListItem=(0,a.withWrapper)(h,T=>function({item:L,...R}){return r.createElement(T,R)});const g=Ue.StyledListItemProfile=(0,a.styled)("li",({$theme:T})=>({position:"relative",display:"flex",alignItems:"center",cursor:"pointer",paddingTop:T.sizing.scale300,paddingBottom:T.sizing.scale300,paddingRight:T.sizing.scale800,paddingLeft:T.sizing.scale800,transitionProperty:"color, background-color",transitionDuration:T.animation.timing200,transitionTimingFunction:T.animation.easeOutCurve,":hover":{backgroundColor:T.colors.menuFillHover}}));g.displayName="StyledListItemProfile",g.displayName="StyledListItemProfile";const S=Ue.StyledProfileImgContainer=(0,a.styled)("div",{width:"60px",height:"60px",display:"flex",justifyContent:"center",alignItems:"center"});S.displayName="StyledProfileImgContainer",S.displayName="StyledProfileImgContainer";const y=Ue.StyledProfileImg=(0,a.styled)("img",{width:"100%",height:"100%",borderTopLeftRadius:"50%",borderTopRightRadius:"50%",borderBottomRightRadius:"50%",borderBottomLeftRadius:"50%"});y.displayName="StyledProfileImg",y.displayName="StyledProfileImg";const D=Ue.StyledProfileLabelsContainer=(0,a.styled)("div",({$theme:{direction:T,sizing:_}})=>({alignSelf:T==="rtl"?"flex-end":"flex-start",display:"flex",flexDirection:"column",...T==="rtl"?{marginRight:_.scale600}:{marginLeft:_.scale600}}));D.displayName="StyledProfileLabelsContainer",D.displayName="StyledProfileLabelsContainer";const O=Ue.StyledProfileTitle=(0,a.styled)("h6",({$theme:T})=>({...T.typography.font350,color:T.colors.contentPrimary,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0}));O.displayName="StyledProfileTitle",O.displayName="StyledProfileTitle";const A=Ue.StyledProfileSubtitle=(0,a.styled)("p",({$theme:T})=>({...T.typography.font200,color:T.colors.contentPrimary,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0}));A.displayName="StyledProfileSubtitle",A.displayName="StyledProfileSubtitle";const C=Ue.StyledProfileBody=(0,a.styled)("p",({$theme:T})=>({...T.typography.font100,color:T.colors.contentPrimary,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0}));C.displayName="StyledProfileBody",C.displayName="StyledProfileBody";const k=Ue.StyledMenuDivider=(0,a.styled)("li",({$theme:T})=>({color:T.colors.contentPrimary,borderBottomWidth:T.borders.border300.borderWidth,borderBottomStyle:T.borders.border300.borderStyle,borderBottomColor:T.borders.border300.borderColor,marginTop:T.sizing.scale100,marginBottom:T.sizing.scale100,marginLeft:T.sizing.scale500,marginRight:T.sizing.scale500,listStyle:"none",height:0}));return k.displayName="StyledMenuDivider",C.displayName="StyledMenuDivider",Ue}var Ho={},Io={},Gn={},Jb;function T0(){if(Jb)return Gn;Jb=1,Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.default=Gn.NestedMenuContext=void 0;var r=i(Pe());function a(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(a=function(g){return g?h:b})(d)}function i(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=a(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function u(d,b,h){return b=c(b),b in d?Object.defineProperty(d,b,{value:h,enumerable:!0,configurable:!0,writable:!0}):d[b]=h,d}function c(d){var b=f(d,"string");return typeof b=="symbol"?b:String(b)}function f(d,b){if(typeof d!="object"||!d)return d;var h=d[Symbol.toPrimitive];if(h!==void 0){var g=h.call(d,b);if(typeof g!="object")return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(d)}const l=Gn.NestedMenuContext=r.createContext({addMenuToNesting:()=>{},removeMenuFromNesting:()=>{},getParentMenu:()=>{},getChildMenu:()=>{},nestedMenuHoverIndex:-1,isNestedMenuVisible:()=>!1,mountRef:{current:null}});function m(d,b){return!d||!b?!1:d.isSameNode(b)}class p extends r.Component{constructor(...b){super(...b),u(this,"state",{menus:[],nestedMenuHoverIndex:-1}),u(this,"mountRef",r.createRef()),u(this,"mouseLeaveTimeoueId",null),u(this,"handleMenuMouseLeave",h=>{this.mouseLeaveTimeoueId=setTimeout(()=>{this.setState({nestedMenuHoverIndex:-1})},200)}),u(this,"handleMenuMouseEnter",h=>{if(typeof document<"u"){clearTimeout(this.mouseLeaveTimeoueId);const g=this.state.menus.findIndex(S=>S.current&&h.currentTarget instanceof Node&&S.current.contains(h.currentTarget));this.setState({nestedMenuHoverIndex:g})}}),u(this,"addMenuToNesting",h=>{const g=h.current;g&&g.offsetHeight&&(g.addEventListener("mouseenter",this.handleMenuMouseEnter),g.addEventListener("mouseleave",this.handleMenuMouseLeave),this.setState(S=>({menus:[...S.menus,h]})))}),u(this,"removeMenuFromNesting",h=>{this.setState(g=>{for(const y of this.state.menus)if(y.current&&m(y.current,h.current)){const D=y.current;D.removeEventListener("mouseenter",this.handleMenuMouseEnter),D.removeEventListener("mouseleave",this.handleMenuMouseLeave)}return{menus:g.menus.filter(y=>y.current&&!m(y.current,h.current))}})}),u(this,"findMenuIndexByRef",h=>this.state.menus.findIndex(g=>m(g.current,h.current))),u(this,"getParentMenu",h=>{const g=this.findMenuIndexByRef(h)-1;return this.state.menus[g]}),u(this,"getChildMenu",h=>{const g=this.findMenuIndexByRef(h)+1;return this.state.menus[g]}),u(this,"isNestedMenuVisible",h=>this.findMenuIndexByRef(h)<=this.state.nestedMenuHoverIndex)}render(){return r.createElement(l.Provider,{value:{addMenuToNesting:this.addMenuToNesting,removeMenuFromNesting:this.removeMenuFromNesting,getParentMenu:this.getParentMenu,getChildMenu:this.getChildMenu,isNestedMenuVisible:this.isNestedMenuVisible,nestedMenuHoverIndex:this.state.nestedMenuHoverIndex,mountRef:this.mountRef}},r.createElement(r.Fragment,null,this.props.children,r.createElement("span",{ref:this.mountRef})))}}return Gn.default=p,Gn}var hf={},qo={},ct={},ey;function $n(){if(ey)return ct;ey=1,Object.defineProperty(ct,"__esModule",{value:!0}),ct.TRIGGER_TYPE=ct.STATE_CHANGE_TYPE=ct.POPOVER_MARGIN=ct.PLACEMENT=ct.ARROW_WIDTH=ct.ARROW_SIZE=ct.ANIMATE_OUT_TIME=ct.ANIMATE_IN_TIME=ct.ACCESSIBILITY_TYPE=void 0,ct.PLACEMENT={auto:"auto",topLeft:"topLeft",top:"top",topRight:"topRight",rightTop:"rightTop",right:"right",rightBottom:"rightBottom",bottomRight:"bottomRight",bottom:"bottom",bottomLeft:"bottomLeft",leftBottom:"leftBottom",left:"left",leftTop:"leftTop"},ct.TRIGGER_TYPE={click:"click",hover:"hover"},ct.STATE_CHANGE_TYPE={open:"open",close:"close"},ct.ACCESSIBILITY_TYPE={none:"none",menu:"menu",tooltip:"tooltip"},ct.POPOVER_MARGIN=8;const r=ct.ARROW_SIZE=6;return ct.ANIMATE_OUT_TIME=0,ct.ANIMATE_IN_TIME=20,ct.ARROW_WIDTH=Math.ceil(Math.sqrt((r*2)**2/2)),ct}var Uo={},ty;function e2(){if(ty)return Uo;ty=1,Object.defineProperty(Uo,"__esModule",{value:!0}),Uo.default=void 0;var r=c(Pe()),a=$n(),i=ni();function u(b){if(typeof WeakMap!="function")return null;var h=new WeakMap,g=new WeakMap;return(u=function(S){return S?g:h})(b)}function c(b,h){if(b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var g=u(h);if(g&&g.has(b))return g.get(b);var S={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in b)if(D!=="default"&&Object.prototype.hasOwnProperty.call(b,D)){var O=y?Object.getOwnPropertyDescriptor(b,D):null;O&&(O.get||O.set)?Object.defineProperty(S,D,O):S[D]=b[D]}return S.default=b,g&&g.set(b,S),S}function f(b,h,g){return h=l(h),h in b?Object.defineProperty(b,h,{value:g,enumerable:!0,configurable:!0,writable:!0}):b[h]=g,b}function l(b){var h=m(b,"string");return typeof h=="symbol"?h:String(h)}function m(b,h){if(typeof b!="object"||!b)return b;var g=b[Symbol.toPrimitive];if(g!==void 0){var S=g.call(b,h);if(typeof S!="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return(h==="string"?String:Number)(b)}const p=(b,h)=>h;class d extends r.Component{constructor(...h){super(...h),f(this,"state",{isOpen:!1,...this.props.initialState}),f(this,"onBlur",g=>{this.props.onBlur&&this.props.onBlur(g),!(this.props.focusLock||this.props.autoFocus)&&this.close()}),f(this,"onClick",g=>{this.props.onClick&&this.props.onClick(g),this.state.isOpen?this.close():this.open()}),f(this,"onClickOutside",()=>{this.close()}),f(this,"onEsc",()=>{this.close()}),f(this,"onFocus",g=>{this.props.onFocus&&this.props.onFocus(g),(0,i.isFocusVisible)(g)&&this.open()}),f(this,"onMouseEnter",g=>{this.props.onMouseEnter&&this.props.onMouseEnter(g),this.open()}),f(this,"onMouseLeave",g=>{this.props.onMouseLeave&&this.props.onMouseLeave(g),this.close()}),f(this,"onContentClose",()=>{this.close()}),f(this,"renderContent",()=>{const{content:g}=this.props;return typeof g=="function"?g({close:this.onContentClose}):g})}open(){this.internalSetState(a.STATE_CHANGE_TYPE.open,{isOpen:!0}),this.props.onOpen&&this.props.onOpen()}close(){this.internalSetState(a.STATE_CHANGE_TYPE.close,{isOpen:!1}),this.props.onClose&&this.props.onClose()}internalSetState(h,g){const{stateReducer:S}=this.props;if(typeof S!="function"){this.setState(g);return}this.setState(y=>S(h,g,y))}render(){const{accessibilityType:h,autoFocus:g,animateOutTime:S,dismissOnClickOutside:y,dismissOnEsc:D,focusLock:O,ignoreBoundary:A,mountNode:C,onBlur:k,onClick:T,onFocus:_,onMouseEnter:L,onMouseLeave:R,onMouseEnterDelay:F,onMouseLeaveDelay:Z,overrides:ee,placement:Y,popperOptions:ne,renderAll:K,returnFocus:fe,showArrow:ge,triggerType:H,popoverMargin:te,focusOptions:oe}=this.props,z={accessibilityType:h,animateOutTime:S,autoFocus:g,content:this.renderContent,focusLock:O,ignoreBoundary:A,isOpen:this.state.isOpen,mountNode:C,onBlur:k,onClick:T,onFocus:_,onMouseEnter:L,onMouseLeave:R,onMouseEnterDelay:F,onMouseLeaveDelay:Z,overrides:ee,placement:Y,popperOptions:ne,renderAll:K,returnFocus:fe,showArrow:ge,triggerType:H,popoverMargin:te,focusOptions:oe};return y&&(z.onClickOutside=this.onClickOutside),D&&(z.onEsc=this.onEsc),H===a.TRIGGER_TYPE.hover?(z.onBlur=this.onBlur,z.onFocus=this.onFocus,z.onMouseEnter=this.onMouseEnter,z.onMouseLeave=this.onMouseLeave):z.onClick=this.onClick,this.props.children(z)}}return f(d,"defaultProps",{accessibilityType:a.ACCESSIBILITY_TYPE.menu,ignoreBoundary:!1,overrides:{},onMouseEnterDelay:200,onMouseLeaveDelay:200,placement:a.PLACEMENT.auto,popperOptions:{},showArrow:!1,triggerType:a.TRIGGER_TYPE.click,dismissOnClickOutside:!0,dismissOnEsc:!0,stateReducer:p,popoverMargin:a.POPOVER_MARGIN}),Uo.default=d,Uo}var Wo={};function DT(r,a){if(r==null)return{};var i={};for(var u in r)if({}.hasOwnProperty.call(r,u)){if(a.indexOf(u)!==-1)continue;i[u]=r[u]}return i}function Cr(){return Cr=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var u in i)({}).hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},Cr.apply(null,arguments)}var Kf="data-focus-lock",t2="data-focus-lock-disabled",r2="data-no-focus-lock",k0="data-autofocus-inside",OT="data-no-autofocus";function mf(r,a){return typeof r=="function"?r(a):r&&(r.current=a),r}function ET(r,a){var i=re.useState(function(){return{value:r,callback:a,facade:{get current(){return i.value},set current(u){var c=i.value;c!==u&&(i.value=u,i.callback(u,c))}}}})[0];return i.callback=a,i.facade}var CT=typeof window<"u"?re.useLayoutEffect:re.useEffect,ry=new WeakMap;function _T(r,a){var i=ET(null,function(u){return r.forEach(function(c){return mf(c,u)})});return CT(function(){var u=ry.get(i);if(u){var c=new Set(u),f=new Set(r),l=i.current;c.forEach(function(m){f.has(m)||mf(m,null)}),f.forEach(function(m){c.has(m)||mf(m,l)})}ry.set(i,r)},[r]),i}var ol={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},n2=function(a){var i=a.children,u=i===void 0?null:i;return ye.createElement(re.Fragment,null,ye.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:ol}),u,u&&ye.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:ol}))};n2.propTypes={};var Zf=function(){return Zf=Object.assign||function(a){for(var i,u=1,c=arguments.length;u<c;u++){i=arguments[u];for(var f in i)Object.prototype.hasOwnProperty.call(i,f)&&(a[f]=i[f])}return a},Zf.apply(this,arguments)};function a2(r){return r}function i2(r,a){a===void 0&&(a=a2);var i=[],u=!1,c={read:function(){if(u)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:r},useMedium:function(f){var l=a(f,u);return i.push(l),function(){i=i.filter(function(m){return m!==l})}},assignSyncMedium:function(f){for(u=!0;i.length;){var l=i;i=[],l.forEach(f)}i={push:function(m){return f(m)},filter:function(){return i}}},assignMedium:function(f){u=!0;var l=[];if(i.length){var m=i;i=[],m.forEach(f),l=i}var p=function(){var b=l;l=[],b.forEach(f)},d=function(){return Promise.resolve().then(p)};d(),i={push:function(b){l.push(b),d()},filter:function(b){return l=l.filter(b),i}}}};return c}function A0(r,a){return a===void 0&&(a=a2),i2(r,a)}function TT(r){r===void 0&&(r={});var a=i2(null);return a.options=Zf({async:!0,ssr:!1},r),a}var o2=A0({},function(r){var a=r.target,i=r.currentTarget;return{target:a,currentTarget:i}}),l2=A0(),M0=A0(),kT=TT({async:!0,ssr:typeof document<"u"}),u2=re.createContext(void 0),AT=[],Rs=re.forwardRef(function(a,i){var u,c=re.useState(),f=c[0],l=c[1],m=re.useRef(),p=re.useRef(!1),d=re.useRef(null),b=re.useState({}),h=b[1],g=a.children,S=a.disabled,y=S===void 0?!1:S,D=a.noFocusGuards,O=D===void 0?!1:D,A=a.persistentFocus,C=A===void 0?!1:A,k=a.crossFrame,T=k===void 0?!0:k,_=a.autoFocus,L=_===void 0?!0:_;a.allowTextSelection;var R=a.group,F=a.className,Z=a.whiteList,ee=a.hasPositiveIndices,Y=a.shards,ne=Y===void 0?AT:Y,K=a.as,fe=K===void 0?"div":K,ge=a.lockProps,H=ge===void 0?{}:ge,te=a.sideCar,oe=a.returnFocus,z=oe===void 0?!1:oe,G=a.focusOptions,P=a.onActivation,x=a.onDeactivation,w=re.useState({}),X=w[0],ae=re.useCallback(function(Oe){var we=Oe.captureFocusRestore;if(!d.current){var He,Ie=(He=document)==null?void 0:He.activeElement;d.current=Ie,Ie!==document.body&&(d.current=we(Ie))}m.current&&P&&P(m.current),p.current=!0,h()},[P]),le=re.useCallback(function(){p.current=!1,x&&x(m.current),h()},[x]),ie=re.useCallback(function(Oe){var we=d.current;if(we){var He=(typeof we=="function"?we():we)||document.body,Ie=typeof z=="function"?z(He):z;if(Ie){var lt=typeof Ie=="object"?Ie:void 0;d.current=null,Oe?Promise.resolve().then(function(){return He.focus(lt)}):He.focus(lt)}}},[z]),ve=re.useCallback(function(Oe){p.current&&o2.useMedium(Oe)},[]),ce=l2.useMedium,Me=re.useCallback(function(Oe){m.current!==Oe&&(m.current=Oe,l(Oe))},[]),_e=Cr((u={},u[t2]=y&&"disabled",u[Kf]=R,u),H),je=O!==!0,pe=je&&O!=="tail",De=_T([i,Me]),ke=re.useMemo(function(){return{observed:m,shards:ne,enabled:!y,get active(){return p.current}}},[y,p,ne,m]);return ye.createElement(re.Fragment,null,je&&[ye.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:y?-1:0,style:ol}),ee?ye.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:y?-1:1,style:ol}):null],!y&&ye.createElement(te,{id:X,sideCar:kT,observed:f,disabled:y,persistentFocus:C,crossFrame:T,autoFocus:L,whiteList:Z,shards:ne,onActivation:ae,onDeactivation:le,returnFocus:ie,focusOptions:G,noFocusGuards:O}),ye.createElement(fe,Cr({ref:De},_e,{className:F,onBlur:ce,onFocus:ve}),ye.createElement(u2.Provider,{value:ke},g)),pe&&ye.createElement("div",{"data-focus-guard":!0,tabIndex:y?-1:0,style:ol}))});Rs.propTypes={};function Xf(r,a){return Xf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,u){return i.__proto__=u,i},Xf(r,a)}function MT(r,a){r.prototype=Object.create(a.prototype),r.prototype.constructor=r,Xf(r,a)}function ul(r){"@babel/helpers - typeof";return ul=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},ul(r)}function wT(r,a){if(ul(r)!="object"||!r)return r;var i=r[Symbol.toPrimitive];if(i!==void 0){var u=i.call(r,a);if(ul(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(r)}function PT(r){var a=wT(r,"string");return ul(a)=="symbol"?a:a+""}function RT(r,a,i){return(a=PT(a))in r?Object.defineProperty(r,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[a]=i,r}function xT(r,a){function i(u){return u.displayName||u.name||"Component"}return function(c){var f=[],l;function m(){l=r(f.map(function(d){return d.props})),a(l)}var p=(function(d){MT(b,d);function b(){return d.apply(this,arguments)||this}b.peek=function(){return l};var h=b.prototype;return h.componentDidMount=function(){f.push(this),m()},h.componentDidUpdate=function(){m()},h.componentWillUnmount=function(){var S=f.indexOf(this);f.splice(S,1),m()},h.render=function(){return ye.createElement(c,this.props)},b})(re.PureComponent);return RT(p,"displayName","SideEffect("+i(c)+")"),p}}var _r=function(r){for(var a=Array(r.length),i=0;i<r.length;++i)a[i]=r[i];return a},Zn=function(r){return Array.isArray(r)?r:[r]},s2=function(r){return Array.isArray(r)?r[0]:r},BT=function(r){if(r.nodeType!==Node.ELEMENT_NODE)return!1;var a=window.getComputedStyle(r,null);return!a||!a.getPropertyValue?!1:a.getPropertyValue("display")==="none"||a.getPropertyValue("visibility")==="hidden"},c2=function(r){return r.parentNode&&r.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?r.parentNode.host:r.parentNode},d2=function(r){return r===document||r&&r.nodeType===Node.DOCUMENT_NODE},LT=function(r){return r.hasAttribute("inert")},FT=function(r,a){return!r||d2(r)||!BT(r)&&!LT(r)&&a(c2(r))},f2=function(r,a){var i=r.get(a);if(i!==void 0)return i;var u=FT(a,f2.bind(void 0,r));return r.set(a,u),u},NT=function(r,a){return r&&!d2(r)?HT(r)?a(c2(r)):!1:!0},p2=function(r,a){var i=r.get(a);if(i!==void 0)return i;var u=NT(a,p2.bind(void 0,r));return r.set(a,u),u},g2=function(r){return r.dataset},zT=function(r){return r.tagName==="BUTTON"},v2=function(r){return r.tagName==="INPUT"},h2=function(r){return v2(r)&&r.type==="radio"},jT=function(r){return!((v2(r)||zT(r))&&(r.type==="hidden"||r.disabled))},HT=function(r){var a=r.getAttribute(OT);return![!0,"true",""].includes(a)},w0=function(r){var a;return!!(r&&(!((a=g2(r))===null||a===void 0)&&a.focusGuard))},$f=function(r){return!w0(r)},IT=function(r){return!!r},qT=function(r,a){var i=Math.max(0,r.tabIndex),u=Math.max(0,a.tabIndex),c=i-u,f=r.index-a.index;if(c){if(!i)return 1;if(!u)return-1}return c||f},UT=function(r){return r.tabIndex<0&&!r.hasAttribute("tabindex")?0:r.tabIndex},P0=function(r,a,i){return _r(r).map(function(u,c){var f=UT(u);return{node:u,index:c,tabIndex:i&&f===-1?(u.dataset||{}).focusGuard?0:-1:f}}).filter(function(u){return!a||u.tabIndex>=0}).sort(qT)},WT=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],R0=WT.join(","),GT="".concat(R0,", [data-focus-guard]"),m2=function(r,a){return _r((r.shadowRoot||r).children).reduce(function(i,u){return i.concat(u.matches(a?GT:R0)?[u]:[],m2(u))},[])},YT=function(r,a){var i;return r instanceof HTMLIFrameElement&&(!((i=r.contentDocument)===null||i===void 0)&&i.body)?Xa([r.contentDocument.body],a):[r]},Xa=function(r,a){return r.reduce(function(i,u){var c,f=m2(u,a),l=(c=[]).concat.apply(c,f.map(function(m){return YT(m,a)}));return i.concat(l,u.parentNode?_r(u.parentNode.querySelectorAll(R0)).filter(function(m){return m===u}):[])},[])},VT=function(r){var a=r.querySelectorAll("[".concat(k0,"]"));return _r(a).map(function(i){return Xa([i])}).reduce(function(i,u){return i.concat(u)},[])},x0=function(r,a){return _r(r).filter(function(i){return f2(a,i)}).filter(function(i){return jT(i)})},ny=function(r,a){return a===void 0&&(a=new Map),_r(r).filter(function(i){return p2(a,i)})},B0=function(r,a,i){return P0(x0(Xa(r,i),a),!0,i)},sl=function(r,a){return P0(x0(Xa(r),a),!1)},KT=function(r,a){return x0(VT(r),a)},Kn=function(r,a){return r.shadowRoot?Kn(r.shadowRoot,a):Object.getPrototypeOf(r).contains!==void 0&&Object.getPrototypeOf(r).contains.call(r,a)?!0:_r(r.children).some(function(i){var u;if(i instanceof HTMLIFrameElement){var c=(u=i.contentDocument)===null||u===void 0?void 0:u.body;return c?Kn(c,a):!1}return Kn(i,a)})},ZT=function(r){for(var a=new Set,i=r.length,u=0;u<i;u+=1)for(var c=u+1;c<i;c+=1){var f=r[u].compareDocumentPosition(r[c]);(f&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&a.add(c),(f&Node.DOCUMENT_POSITION_CONTAINS)>0&&a.add(u)}return r.filter(function(l,m){return!a.has(m)})},b2=function(r){return r.parentNode?b2(r.parentNode):r},L0=function(r){var a=Zn(r);return a.filter(Boolean).reduce(function(i,u){var c=u.getAttribute(Kf);return i.push.apply(i,c?ZT(_r(b2(u).querySelectorAll("[".concat(Kf,'="').concat(c,'"]:not([').concat(t2,'="disabled"])')))):[u]),i},[])},XT=function(r){try{return r()}catch{return}},cl=function(r){if(r===void 0&&(r=document),!(!r||!r.activeElement)){var a=r.activeElement;return a.shadowRoot?cl(a.shadowRoot):a instanceof HTMLIFrameElement&&XT(function(){return a.contentWindow.document})?cl(a.contentWindow.document):a}},$T=function(r,a){return r===a},QT=function(r,a){return!!_r(r.querySelectorAll("iframe")).some(function(i){return $T(i,a)})},y2=function(r,a){return a===void 0&&(a=cl(s2(r).ownerDocument)),!a||a.dataset&&a.dataset.focusGuard?!1:L0(r).some(function(i){return Kn(i,a)||QT(i,a)})},JT=function(r){r===void 0&&(r=document);var a=cl(r);return a?_r(r.querySelectorAll("[".concat(r2,"]"))).some(function(i){return Kn(i,a)}):!1},ek=function(r,a){return a.filter(h2).filter(function(i){return i.name===r.name}).filter(function(i){return i.checked})[0]||r},F0=function(r,a){return h2(r)&&r.name?ek(r,a):r},tk=function(r){var a=new Set;return r.forEach(function(i){return a.add(F0(i,r))}),r.filter(function(i){return a.has(i)})},ay=function(r){return r[0]&&r.length>1?F0(r[0],r):r[0]},iy=function(r,a){return r.indexOf(F0(a,r))},Qf="NEW_FOCUS",rk=function(r,a,i,u,c){var f=r.length,l=r[0],m=r[f-1],p=w0(u);if(!(u&&r.indexOf(u)>=0)){var d=u!==void 0?i.indexOf(u):-1,b=c?i.indexOf(c):d,h=c?r.indexOf(c):-1;if(d===-1)return h!==-1?h:Qf;if(h===-1)return Qf;var g=d-b,S=i.indexOf(l),y=i.indexOf(m),D=tk(i),O=u!==void 0?D.indexOf(u):-1,A=c?D.indexOf(c):O,C=D.filter(function(F){return F.tabIndex>=0}),k=u!==void 0?C.indexOf(u):-1,T=c?C.indexOf(c):k,_=k>=0&&T>=0?T-k:A-O;if(!g&&h>=0||a.length===0)return h;var L=iy(r,a[0]),R=iy(r,a[a.length-1]);if(d<=S&&p&&Math.abs(g)>1)return R;if(d>=y&&p&&Math.abs(g)>1)return L;if(g&&Math.abs(_)>1)return h;if(d<=S)return R;if(d>y)return L;if(g)return Math.abs(g)>1?h:(f+h+g)%f}},nk=function(r){return function(a){var i,u=(i=g2(a))===null||i===void 0?void 0:i.autofocus;return a.autofocus||u!==void 0&&u!=="false"||r.indexOf(a)>=0}},oy=function(r,a,i){var u=r.map(function(f){var l=f.node;return l}),c=ny(u.filter(nk(i)));return c&&c.length?ay(c):ay(ny(a))},Jf=function(r,a){return a===void 0&&(a=[]),a.push(r),r.parentNode&&Jf(r.parentNode.host||r.parentNode,a),a},bf=function(r,a){for(var i=Jf(r),u=Jf(a),c=0;c<i.length;c+=1){var f=i[c];if(u.indexOf(f)>=0)return f}return!1},S2=function(r,a,i){var u=Zn(r),c=Zn(a),f=u[0],l=!1;return c.filter(Boolean).forEach(function(m){l=bf(l||m,m)||l,i.filter(Boolean).forEach(function(p){var d=bf(f,p);d&&(!l||Kn(d,l)?l=d:l=bf(d,l))})}),l},ly=function(r,a){return r.reduce(function(i,u){return i.concat(KT(u,a))},[])},ak=function(r,a){var i=new Map;return a.forEach(function(u){return i.set(u.node,u)}),r.map(function(u){return i.get(u)}).filter(IT)},ik=function(r,a){var i=cl(Zn(r).length>0?document:s2(r).ownerDocument),u=L0(r).filter($f),c=S2(i||r,r,u),f=new Map,l=sl(u,f),m=l.filter(function(y){var D=y.node;return $f(D)});if(m[0]){var p=sl([c],f).map(function(y){var D=y.node;return D}),d=ak(p,m),b=d.map(function(y){var D=y.node;return D}),h=d.filter(function(y){var D=y.tabIndex;return D>=0}).map(function(y){var D=y.node;return D}),g=rk(b,h,p,i,a);if(g===Qf){var S=oy(l,h,ly(u,f))||oy(l,b,ly(u,f));if(S)return{node:S};console.warn("focus-lock: cannot find any node to move focus into");return}return g===void 0?g:d[g]}},ok=function(r){var a=L0(r).filter($f),i=S2(r,r,a),u=P0(Xa([i],!0),!0,!0),c=Xa(a,!1);return u.map(function(f){var l=f.node,m=f.index;return{node:l,index:m,lockItem:c.indexOf(l)>=0,guard:w0(l)}})},N0=function(r,a){r&&("focus"in r&&r.focus(a),"contentWindow"in r&&r.contentWindow&&r.contentWindow.focus())},yf=0,Sf=!1,D2=function(r,a,i){i===void 0&&(i={});var u=ik(r,a);if(!Sf&&u){if(yf>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Sf=!0,setTimeout(function(){Sf=!1},1);return}yf++,N0(u.node,i.focusOptions),yf--}};function Go(r){if(!r)return null;if(typeof WeakRef>"u")return function(){return r||null};var a=r?new WeakRef(r):null;return function(){return a?.deref()||null}}var lk=function(r){if(!r)return null;for(var a=[],i=r;i&&i!==document.body;)a.push({current:Go(i),parent:Go(i.parentElement),left:Go(i.previousElementSibling),right:Go(i.nextElementSibling)}),i=i.parentElement;return{element:Go(r),stack:a,ownerDocument:r.ownerDocument}},uk=function(r){var a,i,u,c,f;if(r)for(var l=r.stack,m=r.ownerDocument,p=new Map,d=0,b=l;d<b.length;d++){var h=b[d],g=(a=h.parent)===null||a===void 0?void 0:a.call(h);if(g&&m.contains(g)){for(var S=(i=h.left)===null||i===void 0?void 0:i.call(h),y=h.current(),D=g.contains(y)?y:void 0,O=(u=h.right)===null||u===void 0?void 0:u.call(h),A=B0([g],p),C=(f=(c=D??S?.nextElementSibling)!==null&&c!==void 0?c:O)!==null&&f!==void 0?f:S;C;){for(var k=0,T=A;k<T.length;k++){var _=T[k];if(C?.contains(_.node))return _.node}C=C.nextElementSibling}if(A.length)return A[0].node}}},O2=function(r){var a=lk(r);return function(){return uk(a)}},sk=function(r,a,i){if(!r||!a)return console.error("no element or scope given"),{};var u=Zn(a);if(u.every(function(l){return!Kn(l,r)}))return console.error("Active element is not contained in the scope"),{};var c=i?B0(u,new Map):sl(u,new Map),f=c.findIndex(function(l){var m=l.node;return m===r});if(f!==-1)return{prev:c[f-1],next:c[f+1],first:c[0],last:c[c.length-1]}},ck=function(r,a){var i=a?B0(Zn(r),new Map):sl(Zn(r),new Map);return{first:i[0],last:i[i.length-1]}},dk=function(r){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},r)},E2=function(r,a,i){a===void 0&&(a={});var u=dk(a),c=sk(r,u.scope,u.onlyTabbable);if(c){var f=i(c,u.cycle);f&&N0(f.node,u.focusOptions)}},fk=function(r,a){a===void 0&&(a={}),E2(r,a,function(i,u){var c=i.next,f=i.first;return c||u&&f})},pk=function(r,a){a===void 0&&(a={}),E2(r,a,function(i,u){var c=i.prev,f=i.last;return c||u&&f})},C2=function(r,a,i){var u,c=ck(r,(u=a.onlyTabbable)!==null&&u!==void 0?u:!0),f=c[i];f&&N0(f.node,a.focusOptions)},gk=function(r,a){a===void 0&&(a={}),C2(r,a,"first")},vk=function(r,a){a===void 0&&(a={}),C2(r,a,"last")};function z0(r){setTimeout(r,1)}var j0=function(a,i){var u={};return u[a]=i,u},_2=function(a){return a&&"current"in a?a.current:a},T2=function(){return document&&document.activeElement===document.body},hk=function(){return T2()||JT()},Wa=null,Ht=null,uy=function(){return null},Ga=null,dl=!1,H0=!1,mk=function(){return!0},bk=function(a){return(Wa.whiteList||mk)(a)},yk=function(a,i){Ga={observerNode:a,portaledElement:i}},Sk=function(a){return Ga&&Ga.portaledElement===a};function sy(r,a,i,u){var c=null,f=r;do{var l=u[f];if(l.guard)l.node.dataset.focusAutoGuard&&(c=l);else if(l.lockItem){if(f!==r)return;c=null}else break}while((f+=i)!==a);c&&(c.node.tabIndex=0)}var Dk=function(a){return a?!!dl:dl==="meanwhile"},Ok=function r(a,i,u){return i&&(i.host===a&&(!i.activeElement||u.contains(i.activeElement))||i.parentNode&&r(a,i.parentNode,u))},Ek=function(a,i){return i.some(function(u){return Ok(a,u,u)})},k2=function(a){return sl(a,new Map)},Ck=function(a){return!k2([a.parentNode]).some(function(i){return i.node===a})},gs=function(){var a=!1;if(Wa){var i=Wa,u=i.observed,c=i.persistentFocus,f=i.autoFocus,l=i.shards,m=i.crossFrame,p=i.focusOptions,d=i.noFocusGuards,b=u||Ga&&Ga.portaledElement;if(T2()&&Ht&&Ht!==document.body&&(!document.body.contains(Ht)||Ck(Ht))){var h=uy();h&&h.focus()}var g=document&&document.activeElement;if(b){var S=[b].concat(l.map(_2).filter(Boolean)),y=function(){if(!Dk(m)||!d||!Ht||H0)return!1;var k=k2(S),T=k.findIndex(function(_){var L=_.node;return L===Ht});return T===0||T===k.length-1};if((!g||bk(g))&&(c||y()||!hk()||!Ht&&f)&&(b&&!(y2(S)||g&&Ek(g,S)||Sk(g))&&(document&&!Ht&&g&&!f?(g.blur&&g.blur(),document.body.focus()):(a=D2(S,Ht,{focusOptions:p}),Ga={})),Ht=document&&document.activeElement,Ht!==document.body&&(uy=O2(Ht)),dl=!1),document&&g!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var D=document&&document.activeElement,O=ok(S),A=O.map(function(C){var k=C.node;return k}).indexOf(D);A>-1&&(O.filter(function(C){var k=C.guard,T=C.node;return k&&T.dataset.focusAutoGuard}).forEach(function(C){var k=C.node;return k.removeAttribute("tabIndex")}),sy(A,O.length,1,O),sy(A,-1,-1,O))}}}return a},A2=function(a){gs()&&a&&(a.stopPropagation(),a.preventDefault())},I0=function(){return z0(gs)},_k=function(a){var i=a.target,u=a.currentTarget;u.contains(i)||yk(u,i)},Tk=function(){return null},M2=function(){H0=!0},w2=function(){H0=!1,dl="just",z0(function(){dl="meanwhile"})},kk=function(){document.addEventListener("focusin",A2),document.addEventListener("focusout",I0),window.addEventListener("focus",M2),window.addEventListener("blur",w2)},Ak=function(){document.removeEventListener("focusin",A2),document.removeEventListener("focusout",I0),window.removeEventListener("focus",M2),window.removeEventListener("blur",w2)};function Mk(r){return r.filter(function(a){var i=a.disabled;return!i})}var P2={moveFocusInside:D2,focusInside:y2,focusNextElement:fk,focusPrevElement:pk,focusFirstElement:gk,focusLastElement:vk,captureFocusRestore:O2};function wk(r){var a=r.slice(-1)[0];a&&!Wa&&kk();var i=Wa,u=i&&a&&a.id===i.id;Wa=a,i&&!u&&(i.onDeactivation(),r.filter(function(c){var f=c.id;return f===i.id}).length||i.returnFocus(!a)),a?(Ht=null,(!u||i.observed!==a.observed)&&a.onActivation(P2),gs(),z0(gs)):(Ak(),Ht=null)}o2.assignSyncMedium(_k);l2.assignMedium(I0);M0.assignMedium(function(r){return r(P2)});const Pk=xT(Mk,wk)(Tk);var R2=re.forwardRef(function(a,i){return ye.createElement(Rs,Cr({sideCar:Pk,ref:i},a))}),x2=Rs.propTypes||{};x2.sideCar;DT(x2,["sideCar"]);R2.propTypes={};var B2=function(a){var i=a.disabled,u=i===void 0?!1:i,c=a.children,f=a.className,l=f===void 0?void 0:f;return ye.createElement("div",Cr({},j0(k0,!u),{className:l}),c)};B2.propTypes={};var L2=function(a){re.useEffect(function(){var i=!0;return M0.useMedium(function(u){var c=a&&a.current;i&&c&&(u.focusInside(c)||u.moveFocusInside(c,null))}),function(){i=!1}},[a])};function F2(r){var a=r.disabled,i=a===void 0?!1:a,u=r.className,c=r.children,f=re.useRef(null);return L2(i?void 0:f),ye.createElement("div",Cr({},j0(k0,!i),{ref:f,className:u}),c)}F2.propTypes={};var N2=function(a){var i=a.children,u=a.className;return ye.createElement("div",Cr({},j0(r2,!0),{className:u}),i)};N2.propTypes={};var Yn=function(a){return a.map(_2).filter(Boolean)},Yo=function(a){return new Promise(function(i){return M0.useMedium(function(){i(a.apply(void 0,arguments))})})},z2=function(){for(var a=arguments.length,i=new Array(a),u=0;u<a;u++)i[u]=arguments[u];if(!i.length)throw new Error("useFocusController requires at least one target element");var c=re.useRef(i);return c.current=i,re.useMemo(function(){return{autoFocus:function(l){return l===void 0&&(l={}),Yo(function(m){return m.moveFocusInside(Yn(c.current),null,l)})},focusNext:function(l){return Yo(function(m){m.moveFocusInside(Yn(c.current),null),m.focusNextElement(document.activeElement,Cr({scope:Yn(c.current)},l))})},focusPrev:function(l){return Yo(function(m){m.moveFocusInside(Yn(c.current),null),m.focusPrevElement(document.activeElement,Cr({scope:Yn(c.current)},l))})},focusFirst:function(l){return Yo(function(m){m.focusFirstElement(Yn(c.current),l)})},focusLast:function(l){return Yo(function(m){m.focusLastElement(Yn(c.current),l)})}}},[])},Rk=function(){var a=re.useContext(u2);if(!a)throw new Error("FocusLock is required to operate with FocusScope");return z2.apply(void 0,[a.observed].concat(a.shards))},xk=function(){return{emit:function(i){for(var u=arguments.length,c=new Array(u>1?u-1:0),f=1;f<u;f++)c[f-1]=arguments[f];for(var l=0,m=this.events[i]||[],p=m.length;l<p;l++)m[l].apply(m,c)},events:{},on:function(i,u){var c,f=this;return((c=this.events)[i]||(c[i]=[])).push(u),function(){var l;f.events[i]=(l=f.events[i])==null?void 0:l.filter(function(m){return u!==m})}}}},vs=xk(),Ju=0,cy=function(a){return vs.emit("assign",a.target)},dy=function(a){return vs.emit("reset",a.target)},Bk=function(){re.useEffect(function(){return Ju||(document.addEventListener("focusin",cy),document.addEventListener("focusout",dy)),Ju+=1,function(){Ju-=1,Ju||(document.removeEventListener("focusin",cy),document.removeEventListener("focusout",dy))}},[])},fy=function(a,i){return a===i?"self":i.contains(a)?"within":"within-boundary"},Lk=function(a){a===void 0&&(a={});var i=re.useState(!1),u=i[0],c=i[1],f=re.useState(""),l=f[0],m=f[1],p=re.useRef(null),d=re.useRef({}),b=re.useRef(!1);re.useEffect(function(){if(p.current){var g=p.current===document.activeElement||p.current.contains(document.activeElement);c(g),m(fy(document.activeElement,p.current)),g&&a.onFocus&&a.onFocus()}},[]);var h=re.useCallback(function(g){d.current={focused:!0,state:fy(g.target,g.currentTarget)}},[]);return Bk(),re.useEffect(function(){var g=vs.on("reset",function(){d.current={}}),S=vs.on("assign",function(){var y=d.current.focused||!1;c(y),m(d.current.state||""),y!==b.current&&(b.current=y,y?a.onFocus&&a.onFocus():a.onBlur&&a.onBlur())});return function(){g(),S()}},[]),{active:u,state:l,onFocus:h,ref:p}};const Fk=Object.freeze(Object.defineProperty({__proto__:null,AutoFocusInside:B2,FocusLockUI:Rs,FreeFocusInside:N2,InFocusGuard:n2,MoveFocusInside:F2,default:R2,useFocusController:z2,useFocusInside:L2,useFocusScope:Rk,useFocusState:Lk},Symbol.toStringTag,{value:"Module"})),Nk=ei(Fk);var kt={},ur={},py;function j2(){if(py)return ur;py=1,Object.defineProperty(ur,"__esModule",{value:!0}),ur.capitalize=c,ur.fromPopperPlacement=f,ur.getArrowPositionStyles=b,ur.getEndPosition=d,ur.getOppositePosition=i,ur.getPopoverMarginStyles=m,ur.getStartPosition=p,ur.isVerticalPosition=u,ur.splitPlacement=l;var r=$n();const a={top:"bottom",bottom:"top",right:"left",left:"right"};function i(h){return a[h]}function u(h){return h==="top"||h==="bottom"}function c(h){return h.charAt(0).toUpperCase()+h.slice(1)}function f(h){const g=h.replace(/(top|bottom)-start$/,"$1Left").replace(/(top|bottom)-end$/,"$1Right").replace(/(left|right)-start$/,"$1Top").replace(/(left|right)-end$/,"$1Bottom");return r.PLACEMENT[g]||null}function l(h){return(h.match(/^([a-z]+)([A-Z][a-z]+)?/)||[]).slice(1,3).filter(Boolean).map(S=>S.toLowerCase())}function m(h,g,S){const[y]=l(g),D=i(y);return D?{[`margin${c(D)}`]:`${h+S}px`}:null}function p(h,g,S,y){h={...h};const[D]=l(g),O=(S>0?S:y)*2;return u(D)?h.top+=D==="top"?O:-O:h.left+=D==="left"?O:-O,`translate3d(${h.left}px, ${h.top}px, 0)`}function d(h){return`translate3d(${h.left}px, ${h.top}px, 0)`}function b(h,g){const[S]=l(g),y=i(S);if(!y)return null;const D=u(S)?"left":"top";return{[D]:`${h[D]}px`,[y]:`-${r.ARROW_SIZE-2}px`}}return ur}var gy;function H2(){if(gy)return kt;gy=1,Object.defineProperty(kt,"__esModule",{value:!0}),kt.Padding=kt.Inner=kt.Hidden=kt.Body=kt.Arrow=void 0,kt.getArrowStyles=f,kt.getBodyStyles=u,kt.getInnerStyles=m;var r=At(),a=$n(),i=j2();function u(h){const{$animationDuration:g,$isOpen:S,$isAnimating:y,$placement:D,$popoverOffset:O,$showArrow:A,$theme:C,$popoverMargin:k,$isHoverTrigger:T}=h;return{position:"absolute",top:0,left:0,backgroundColor:C.colors.backgroundTertiary,borderTopLeftRadius:C.borders.popoverBorderRadius,borderTopRightRadius:C.borders.popoverBorderRadius,borderBottomRightRadius:C.borders.popoverBorderRadius,borderBottomLeftRadius:C.borders.popoverBorderRadius,boxShadow:C.lighting.shadow600,transitionProperty:"opacity,transform",transitionDuration:y?S?"0.1s":`${g}ms`:"0s",transitionTimingFunction:S?C.animation.easeOutCurve:C.animation.easeInCurve,opacity:y&&S?1:0,transform:y&&S?(0,i.getEndPosition)(O):(0,i.getStartPosition)(O,D,A?a.ARROW_SIZE:0,k),...(0,i.getPopoverMarginStyles)(A?a.ARROW_SIZE:0,D,k),...T?{animationDuration:".1s",animationName:{"0%":{pointerEvents:"none"},"99%":{pointerEvents:"none"},"100%":{pointerEvents:"auto"}}}:{}}}const c=kt.Body=(0,r.styled)("div",u);c.displayName="Body",c.displayName="Body";function f(h){const{$arrowOffset:g,$placement:S,$theme:y}=h;return{backgroundColor:y.colors.backgroundTertiary,boxShadow:y.lighting.shadow600,width:`${a.ARROW_WIDTH}px`,height:`${a.ARROW_WIDTH}px`,transform:"rotate(45deg)",position:"absolute",...(0,i.getArrowPositionStyles)(g,S)}}const l=kt.Arrow=(0,r.styled)("div",f);l.displayName="Arrow",l.displayName="Arrow";function m({$theme:h}){return{backgroundColor:h.colors.backgroundTertiary,borderTopLeftRadius:h.borders.popoverBorderRadius,borderTopRightRadius:h.borders.popoverBorderRadius,borderBottomRightRadius:h.borders.popoverBorderRadius,borderBottomLeftRadius:h.borders.popoverBorderRadius,color:h.colors.contentPrimary,position:"relative"}}const p=kt.Inner=(0,r.styled)("div",m);p.displayName="Inner",p.displayName="Inner";const d=kt.Padding=(0,r.styled)("div",{paddingLeft:"12px",paddingTop:"12px",paddingRight:"12px",paddingBottom:"12px"});d.displayName="Padding",d.displayName="Padding";const b=kt.Hidden=(0,r.styled)("div",{display:"none"});return b.displayName="Hidden",b.displayName="Hidden",kt}var Vo={},vy;function zk(){if(vy)return Vo;vy=1,Object.defineProperty(Vo,"__esModule",{value:!0}),Vo.default=void 0;var r=$n();const a={accessibilityType:r.ACCESSIBILITY_TYPE.menu,focusLock:!1,autoFocus:!0,returnFocus:!0,ignoreBoundary:!1,overrides:{},onMouseEnterDelay:200,onMouseLeaveDelay:200,placement:r.PLACEMENT.auto,showArrow:!1,triggerType:r.TRIGGER_TYPE.click,renderAll:!1};return Vo.default=a,Vo}var hy;function I2(){if(hy)return Wo;hy=1,Object.defineProperty(Wo,"__esModule",{value:!0}),Wo.default=void 0;var r=h(Pe()),a=h(Nk),i=_t(),u=$n(),c=KS(),f=H2(),l=j2(),m=d(zk()),p=ks;function d(C){return C&&C.__esModule?C:{default:C}}function b(C){if(typeof WeakMap!="function")return null;var k=new WeakMap,T=new WeakMap;return(b=function(_){return _?T:k})(C)}function h(C,k){if(C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var T=b(k);if(T&&T.has(C))return T.get(C);var _={__proto__:null},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var R in C)if(R!=="default"&&Object.prototype.hasOwnProperty.call(C,R)){var F=L?Object.getOwnPropertyDescriptor(C,R):null;F&&(F.get||F.set)?Object.defineProperty(_,R,F):_[R]=C[R]}return _.default=C,T&&T.set(C,_),_}function g(){return g=Object.assign?Object.assign.bind():function(C){for(var k=1;k<arguments.length;k++){var T=arguments[k];for(var _ in T)Object.prototype.hasOwnProperty.call(T,_)&&(C[_]=T[_])}return C},g.apply(this,arguments)}function S(C,k,T){return k=y(k),k in C?Object.defineProperty(C,k,{value:T,enumerable:!0,configurable:!0,writable:!0}):C[k]=T,C}function y(C){var k=D(C,"string");return typeof k=="symbol"?k:String(k)}function D(C,k){if(typeof C!="object"||!C)return C;var T=C[Symbol.toPrimitive];if(T!==void 0){var _=T.call(C,k);if(typeof _!="object")return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return(k==="string"?String:Number)(C)}class O extends r.Component{constructor(...k){super(...k),S(this,"animateInTimer",void 0),S(this,"animateOutTimer",void 0),S(this,"animateOutCompleteTimer",void 0),S(this,"onMouseEnterTimer",void 0),S(this,"onMouseLeaveTimer",void 0),S(this,"anchorRef",r.createRef()),S(this,"popperRef",r.createRef()),S(this,"arrowRef",r.createRef()),S(this,"state",this.getDefaultState(this.props)),S(this,"animateIn",()=>{this.props.isOpen&&this.setState({isAnimating:!0})}),S(this,"animateOut",()=>{this.props.isOpen||(this.setState({isAnimating:!0}),this.animateOutCompleteTimer=setTimeout(()=>{this.setState({isAnimating:!1,placement:this.props.placement})},this.props.animateOutTime||u.ANIMATE_OUT_TIME))}),S(this,"onAnchorClick",T=>{this.props.onClick&&this.props.onClick(T)}),S(this,"onAnchorMouseEnter",T=>{this.onMouseLeaveTimer&&clearTimeout(this.onMouseLeaveTimer),this.triggerOnMouseEnterWithDelay(T)}),S(this,"onAnchorMouseLeave",T=>{this.onMouseEnterTimer&&clearTimeout(this.onMouseEnterTimer),this.triggerOnMouseLeaveWithDelay(T)}),S(this,"onPopoverMouseEnter",()=>{this.onMouseLeaveTimer&&clearTimeout(this.onMouseLeaveTimer)}),S(this,"onPopoverMouseLeave",T=>{this.triggerOnMouseLeaveWithDelay(T)}),S(this,"onPopperUpdate",(T,_)=>{const L=(0,l.fromPopperPlacement)(_.placement)||u.PLACEMENT.top;return this.setState({arrowOffset:T.arrow,popoverOffset:T.popper,placement:L}),this.animateInTimer=setTimeout(this.animateIn,u.ANIMATE_IN_TIME),_}),S(this,"triggerOnMouseLeave",T=>{this.props.onMouseLeave&&this.props.onMouseLeave(T)}),S(this,"triggerOnMouseEnter",T=>{this.props.onMouseEnter&&this.props.onMouseEnter(T)}),S(this,"onDocumentClick",T=>{const _=T.composedPath?T.composedPath()[0]:T.target,L=this.popperRef.current,R=this.anchorRef.current;!L||L===_||_ instanceof Node&&L.contains(_)||!R||R===_||_ instanceof Node&&R.contains(_)||this.props.onClickOutside&&this.props.onClickOutside(T)})}componentDidMount(){this.setState({isMounted:!0})}componentDidUpdate(k,T){this.init(k,T),this.props.accessibilityType!==u.ACCESSIBILITY_TYPE.tooltip&&this.props.autoFocus&&!this.state.autoFocusAfterPositioning&&this.popperRef.current!==null&&this.popperRef.current.getBoundingClientRect().top>0&&this.setState({autoFocusAfterPositioning:!0})}init(k,T){if(this.props.isOpen!==k.isOpen||this.state.isMounted!==T.isMounted||this.state.isLayerMounted!==T.isLayerMounted){if(this.props.isOpen&&this.state.isLayerMounted){this.clearTimers();return}if(!this.props.isOpen&&k.isOpen){this.animateOutTimer=setTimeout(this.animateOut,20);return}}}componentWillUnmount(){this.clearTimers()}getDefaultState(k){return{isAnimating:!1,arrowOffset:{left:0,top:0},popoverOffset:{left:0,top:0},placement:k.placement,isMounted:!1,isLayerMounted:!1,autoFocusAfterPositioning:!1}}clearTimers(){[this.animateInTimer,this.animateOutTimer,this.animateOutCompleteTimer,this.onMouseEnterTimer,this.onMouseLeaveTimer].forEach(k=>{k&&clearTimeout(k)})}triggerOnMouseLeaveWithDelay(k){const{onMouseLeaveDelay:T}=this.props;if(T){this.onMouseLeaveTimer=setTimeout(()=>this.triggerOnMouseLeave(k),T);return}this.triggerOnMouseLeave(k)}triggerOnMouseEnterWithDelay(k){const{onMouseEnterDelay:T}=this.props;if(T){this.onMouseEnterTimer=setTimeout(()=>this.triggerOnMouseEnter(k),T);return}this.triggerOnMouseEnter(k)}isClickTrigger(){return this.props.triggerType===u.TRIGGER_TYPE.click}isHoverTrigger(){return this.props.triggerType===u.TRIGGER_TYPE.hover}isAccessibilityTypeMenu(){return this.props.accessibilityType===u.ACCESSIBILITY_TYPE.menu}isAccessibilityTypeTooltip(){return this.props.accessibilityType===u.ACCESSIBILITY_TYPE.tooltip}getAnchorIdAttr(){const k=this.getPopoverIdAttr();return k?`${k}__anchor`:null}getPopoverIdAttr(){return this.props.id||null}getAnchorProps(){const{isOpen:k}=this.props,T={ref:this.anchorRef},_=this.getPopoverIdAttr();if(this.isAccessibilityTypeMenu()){const L=this.isClickTrigger()?"aria-controls":"aria-owns";T[L]=k?_:null,T["aria-haspopup"]=!0,T["aria-expanded"]=!!k}else this.isAccessibilityTypeTooltip()&&(T.id=this.getAnchorIdAttr(),T["aria-describedby"]=k?_:null);return this.isHoverTrigger()?(T.onMouseEnter=this.onAnchorMouseEnter,T.onMouseLeave=this.onAnchorMouseLeave,T.onBlur=this.props.onBlur,T.onFocus=this.props.onFocus):(T.onClick=this.onAnchorClick,this.props.onBlur&&(T.onBlur=this.props.onBlur),this.props.onFocus&&(T.onFocus=this.props.onFocus)),T}getPopoverBodyProps(){const k={},T=this.getPopoverIdAttr();return this.isAccessibilityTypeMenu()?k.id=T:this.isAccessibilityTypeTooltip()&&(k.id=T,k.role="tooltip"),this.isHoverTrigger()&&(k.onMouseEnter=this.onPopoverMouseEnter,k.onMouseLeave=this.onPopoverMouseLeave),k}getSharedProps(){const{isOpen:k,showArrow:T,popoverMargin:_=u.POPOVER_MARGIN}=this.props,{isAnimating:L,arrowOffset:R,popoverOffset:F,placement:Z}=this.state;return{$showArrow:!!T,$arrowOffset:R,$popoverOffset:F,$placement:Z,$isAnimating:L,$animationDuration:this.props.animateOutTime||u.ANIMATE_OUT_TIME,$isOpen:k,$popoverMargin:_,$isHoverTrigger:this.isHoverTrigger()}}getAnchorFromChildren(){const{children:k}=this.props,T=r.Children.toArray(k);return T.length!==1&&console.error(`[baseui] Exactly 1 child must be passed to Popover/Tooltip, found ${T.length} children`),T[0]}renderAnchor(){const k=this.getAnchorFromChildren();if(!k)return null;const T=r.isValidElement(k),_=this.getAnchorProps();return typeof k=="object"&&T?r.cloneElement(k,_):r.createElement("span",g({key:"popover-anchor"},_),k)}renderPopover(k){const{showArrow:T,overrides:_={}}=this.props,{Arrow:L,Body:R,Inner:F}=_,Z=(0,i.getOverride)(L)||f.Arrow,ee=(0,i.getOverride)(R)||f.Body,Y=(0,i.getOverride)(F)||f.Inner,ne=this.getSharedProps(),K=this.getPopoverBodyProps();return r.createElement(ee,g({key:"popover-body",ref:this.popperRef,"data-baseweb":this.props["data-baseweb"]||"popover"},K,ne,(0,i.getOverrideProps)(R)),T?r.createElement(Z,g({key:"popover-arrow",ref:this.arrowRef},ne,(0,i.getOverrideProps)(L))):null,r.createElement(Y,g({},ne,(0,i.getOverrideProps)(F)),k))}renderContent(){const{content:k}=this.props;return typeof k=="function"?k():k}render(){const k=this.state.isMounted&&(this.props.isOpen||this.state.isAnimating),T=[this.renderAnchor()],_=k||this.props.renderAll?this.renderContent():null,L={modifiers:{preventOverflow:{enabled:!this.props.ignoreBoundary,padding:0}}};return _&&(k?T.push(r.createElement(c.Layer,{key:"new-layer",mountNode:this.props.mountNode,onEscape:this.props.onEsc,onDocumentClick:this.isHoverTrigger()?void 0:this.onDocumentClick,isHoverLayer:this.isHoverTrigger(),onMount:()=>this.setState({isLayerMounted:!0}),onUnmount:()=>this.setState({isLayerMounted:!1})},r.createElement(c.TetherBehavior,{anchorRef:this.anchorRef.current,arrowRef:this.arrowRef.current,popperRef:this.popperRef.current,popperOptions:{...L,...this.props.popperOptions},onPopperUpdate:this.onPopperUpdate,placement:this.state.placement},this.props.focusLock&&this.props.accessibilityType!==u.ACCESSIBILITY_TYPE.tooltip?r.createElement(a.default,{disabled:!this.props.focusLock,noFocusGuards:!1,returnFocus:!this.isHoverTrigger()&&this.props.returnFocus,autoFocus:this.state.autoFocusAfterPositioning,crossFrame:!1,focusOptions:this.props.focusOptions},this.renderPopover(_)):r.createElement(a.MoveFocusInside,{disabled:!this.props.autoFocus||!this.state.autoFocusAfterPositioning},this.renderPopover(_))))):T.push(r.createElement(f.Hidden,{key:"hidden-layer"},_))),T}}S(O,"defaultProps",m.default);const A=C=>{const{innerRef:k}=C,T=(0,p.useUID)();return r.createElement(O,g({id:C.id||T,ref:k},C))};return A.defaultProps=m.default,Wo.default=A,Wo}var my;function jk(){if(my)return qo;my=1,Object.defineProperty(qo,"__esModule",{value:!0}),qo.default=void 0;var r=l(Pe()),a=$n(),i=c(e2()),u=c(I2());function c(p){return p&&p.__esModule?p:{default:p}}function f(p){if(typeof WeakMap!="function")return null;var d=new WeakMap,b=new WeakMap;return(f=function(h){return h?b:d})(p)}function l(p,d){if(p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var b=f(d);if(b&&b.has(p))return b.get(p);var h={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in p)if(S!=="default"&&Object.prototype.hasOwnProperty.call(p,S)){var y=g?Object.getOwnPropertyDescriptor(p,S):null;y&&(y.get||y.set)?Object.defineProperty(h,S,y):h[S]=p[S]}return h.default=p,b&&b.set(p,h),h}function m(p){const{children:d,...b}=p;return r.createElement(i.default,b,h=>r.createElement(u.default,h,d))}return m.defaultProps={accessibilityType:a.ACCESSIBILITY_TYPE.menu,ignoreBoundary:!1,overrides:{},onMouseEnterDelay:200,onMouseLeaveDelay:200,placement:a.PLACEMENT.auto,showArrow:!1,triggerType:a.TRIGGER_TYPE.click,dismissOnClickOutside:!0,dismissOnEsc:!0,stateReducer:(p,d)=>d,popoverMargin:a.POPOVER_MARGIN},qo.default=m,qo}var by={},yy;function Hk(){return yy||(yy=1),by}var Sy;function q2(){return Sy||(Sy=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={StatefulPopover:!0,StatefulContainer:!0,Popover:!0,ACCESSIBILITY_TYPE:!0,PLACEMENT:!0,TRIGGER_TYPE:!0,STATE_CHANGE_TYPE:!0,ANIMATE_IN_TIME:!0,ANIMATE_OUT_TIME:!0,StyledArrow:!0,StyledBody:!0,StyledInner:!0,StyledPadding:!0};Object.defineProperty(r,"ACCESSIBILITY_TYPE",{enumerable:!0,get:function(){return f.ACCESSIBILITY_TYPE}}),Object.defineProperty(r,"ANIMATE_IN_TIME",{enumerable:!0,get:function(){return f.ANIMATE_IN_TIME}}),Object.defineProperty(r,"ANIMATE_OUT_TIME",{enumerable:!0,get:function(){return f.ANIMATE_OUT_TIME}}),Object.defineProperty(r,"PLACEMENT",{enumerable:!0,get:function(){return f.PLACEMENT}}),Object.defineProperty(r,"Popover",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"STATE_CHANGE_TYPE",{enumerable:!0,get:function(){return f.STATE_CHANGE_TYPE}}),Object.defineProperty(r,"StatefulContainer",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"StatefulPopover",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"StyledArrow",{enumerable:!0,get:function(){return l.Arrow}}),Object.defineProperty(r,"StyledBody",{enumerable:!0,get:function(){return l.Body}}),Object.defineProperty(r,"StyledInner",{enumerable:!0,get:function(){return l.Inner}}),Object.defineProperty(r,"StyledPadding",{enumerable:!0,get:function(){return l.Padding}}),Object.defineProperty(r,"TRIGGER_TYPE",{enumerable:!0,get:function(){return f.TRIGGER_TYPE}});var i=p(jk()),u=p(e2()),c=p(I2()),f=$n(),l=H2(),m=Hk();Object.keys(m).forEach(function(d){d==="default"||d==="__esModule"||Object.prototype.hasOwnProperty.call(a,d)||d in r&&r[d]===m[d]||Object.defineProperty(r,d,{enumerable:!0,get:function(){return m[d]}})});function p(d){return d&&d.__esModule?d:{default:d}}})(hf)),hf}var Dy;function U2(){if(Dy)return Io;Dy=1,Object.defineProperty(Io,"__esModule",{value:!0}),Io.default=void 0;var r=f(Pe()),a=T0(),i=q2(),u=_t();function c(p){if(typeof WeakMap!="function")return null;var d=new WeakMap,b=new WeakMap;return(c=function(h){return h?b:d})(p)}function f(p,d){if(p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var b=c(d);if(b&&b.has(p))return b.get(p);var h={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in p)if(S!=="default"&&Object.prototype.hasOwnProperty.call(p,S)){var y=g?Object.getOwnPropertyDescriptor(p,S):null;y&&(y.get||y.set)?Object.defineProperty(h,S,y):h[S]=p[S]}return h.default=p,b&&b.set(p,h),h}function l(){return l=Object.assign?Object.assign.bind():function(p){for(var d=1;d<arguments.length;d++){var b=arguments[d];for(var h in b)Object.prototype.hasOwnProperty.call(b,h)&&(p[h]=b[h])}return p},l.apply(this,arguments)}const m=p=>{if(!p.getChildMenu)return p.children;const d=p.getChildMenu(p.item);if(!d)return p.children;const{overrides:b={}}=p,[h,g]=(0,u.getOverrides)(b.ChildMenuPopover,i.Popover);return r.createElement(a.NestedMenuContext.Consumer,null,S=>r.createElement(h,l({focusLock:!1,autoFocus:!1,isOpen:p.isOpen,renderAll:p.renderAll,content:d,ignoreBoundary:!0,mountNode:S.mountRef.current?S.mountRef.current:void 0,onClick:p.onClick,onMouseEnterDelay:30,onMouseLeaveDelay:30,onEsc:p.resetParentMenu,placement:"rightTop"},g,{overrides:(0,u.mergeOverrides)({Body:{props:{onKeyDown:y=>{y.keyCode===9&&y.preventDefault()}}}},g.overrides)}),p.children))};return Io.default=m,Io}var Oy;function W2(){if(Oy)return Ho;Oy=1,Object.defineProperty(Ho,"__esModule",{value:!0}),Ho.default=void 0;var r=p(Pe()),a=h0(),i=_t(),u=ws(),c=l(U2()),f=Ps();function l(y){return y&&y.__esModule?y:{default:y}}function m(y){if(typeof WeakMap!="function")return null;var D=new WeakMap,O=new WeakMap;return(m=function(A){return A?O:D})(y)}function p(y,D){if(y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var O=m(D);if(O&&O.has(y))return O.get(y);var A={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in y)if(k!=="default"&&Object.prototype.hasOwnProperty.call(y,k)){var T=C?Object.getOwnPropertyDescriptor(y,k):null;T&&(T.get||T.set)?Object.defineProperty(A,k,T):A[k]=y[k]}return A.default=y,O&&O.set(y,A),A}function d(){return d=Object.assign?Object.assign.bind():function(y){for(var D=1;D<arguments.length;D++){var O=arguments[D];for(var A in O)Object.prototype.hasOwnProperty.call(O,A)&&(y[A]=O[A])}return y},d.apply(this,arguments)}function b(y,D){const{getChildMenu:O,getItemLabel:A=te=>te?te.label:"",item:C,onClick:k=()=>{},onMouseEnter:T=()=>{},overrides:_={},renderHrefAsAnchor:L=!0,resetMenu:R=()=>{},size:F=u.OPTION_LIST_SIZE.default,$isHighlighted:Z,renderAll:ee,...Y}=y,[ne,K]=(0,i.getOverrides)(_.ListItem,f.StyledListItem),[fe,ge]=(0,i.getOverrides)(_.ListItemAnchor,f.StyledListItemAnchor),H=te=>te.href&&L?r.createElement(fe,d({$item:te,href:te.href},ge),A(te)):r.createElement(r.Fragment,null,A(te));return r.createElement(a.LocaleContext.Consumer,null,te=>r.createElement(c.default,{getChildMenu:O,isOpen:!!Z,item:C,resetParentMenu:R,renderAll:ee,onClick:k,overrides:_},r.createElement(ne,d({ref:D,"aria-label":O&&O(C)?te.menu.parentMenuItemAriaLabel:null,item:C,onClick:k,onMouseEnter:T,$size:F,$isHighlighted:Z},Y,K),H({isHighlighted:Z,...C}))))}function h(y,D){if(!y||!D)return!1;for(var O in y)if(y[O]!==D[O])return!1;return!0}function g(y,D){return y.$isHighlighted===D.$isHighlighted&&y.$isFocused===D.$isFocused&&h(y.item,D.item)&&h(y.overrides,D.overrides)&&y.size===D.size&&y.getItemLabel===D.getItemLabel&&y.getChildMenu===D.getChildMenu&&y.resetMenu===D.resetMenu}const S=r.forwardRef(b);return S.displayName="OptionList",Ho.default=r.memo(S,g),Ho}var Ey;function G2(){if(Ey)return Qu;Ey=1,Object.defineProperty(Qu,"__esModule",{value:!0}),Qu.default=b;var r=p(Pe()),a=h0(),i=Ps(),u=l(W2()),c=_t(),f=ni();function l(h){return h&&h.__esModule?h:{default:h}}function m(h){if(typeof WeakMap!="function")return null;var g=new WeakMap,S=new WeakMap;return(m=function(y){return y?S:g})(h)}function p(h,g){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var S=m(g);if(S&&S.has(h))return S.get(h);var y={__proto__:null},D=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in h)if(O!=="default"&&Object.prototype.hasOwnProperty.call(h,O)){var A=D?Object.getOwnPropertyDescriptor(h,O):null;A&&(A.get||A.set)?Object.defineProperty(y,O,A):y[O]=h[O]}return y.default=h,S&&S.set(h,y),y}function d(){return d=Object.assign?Object.assign.bind():function(h){for(var g=1;g<arguments.length;g++){var S=arguments[g];for(var y in S)Object.prototype.hasOwnProperty.call(S,y)&&(h[y]=S[y])}return h},d.apply(this,arguments)}function b(h){const{overrides:g={},"aria-label":S="Menu",rootRef:y=r.createRef(),focusMenu:D=()=>{},unfocusMenu:O=()=>{},handleMouseLeave:A=()=>{},handleKeyDown:C=x=>{},renderAll:k=!1}=h,[T,_]=r.useState(!1),L=x=>{(0,f.isFocusVisible)(x)&&_(!0)},R=x=>{T!==!1&&_(!1)},[F,Z]=(0,c.getOverrides)(g.List,i.StyledList),[ee,Y]=(0,c.getOverrides)(g.Option,u.default),[ne,K]=(0,c.getOverrides)(g.EmptyState,i.StyledEmptyState),[fe,ge]=(0,c.getOverrides)(g.OptgroupHeader,i.StyledOptgroupHeader),[H,te]=(0,c.getOverrides)(g.MenuDivider,i.StyledMenuDivider),oe=Array.isArray(h.items)?{__ungrouped:h.items}:h.items,z=Object.keys(oe),[G]=z.reduce(([x,w],X)=>{X!=="__ungrouped"&&x.push(r.createElement(fe,d({key:X},ge),X));const ae=oe[X].map((le,ie)=>{w=w+1;const{getRequiredItemProps:ve=(De,ke)=>({})}=h;if(le.divider===!0)return r.createElement(H,d({key:w},te));const{disabled:ce,isFocused:Me,isHighlighted:_e,resetMenu:je=()=>{},...pe}=ve(le,w);return r.createElement(ee,d({renderAll:k,key:w,item:le,overrides:h.overrides,resetMenu:je,role:"option",$disabled:ce,$isFocused:Me,$isHighlighted:_e,"aria-disabled":ce,"aria-selected":_e&&Me},pe,Y))});return[x.concat(ae),w]},[[],-1]),P=z.every(x=>!oe[x].length);return r.createElement(a.LocaleContext.Consumer,null,x=>r.createElement(F,d({"aria-activedescendant":h.activedescendantId||null,role:"listbox","aria-label":S,ref:y,onMouseEnter:D,onMouseLeave:A,onMouseOver:D,onFocus:(0,f.forkFocus)({onFocus:D},L),onBlur:(0,f.forkBlur)({onBlur:O},R),onKeyDown:w=>{h.isFocused&&C(w)},tabIndex:0,"data-baseweb":"menu",$isFocusVisible:T},Z),P?r.createElement(ne,d({"aria-live":"polite","aria-atomic":!0},K),h.noResultsMsg||x.menu.noResultsMsg):G))}return Qu}var Ko={},es={},Cy;function Ik(){if(Cy)return es;Cy=1,Object.defineProperty(es,"__esModule",{value:!0}),es.scrollItemIntoView=r;function r(a,i,u,c,f="auto"){if(!a)return;const l=a.getBoundingClientRect(),m=i.getBoundingClientRect();if(l.bottom>m.bottom)if(c)i.scrollTop=i.scrollHeight-m.height;else{const p=a.offsetTop+l.height;i.scrollTop=p-(f==="center"?Math.round((m.height+l.height)/2):m.height)}else l.top<m.top&&(u?i.scrollTop=0:i.scrollTop=a.offsetTop-(f==="center"?Math.round((m.height-l.height)/2):0))}return es}var _y;function Y2(){if(_y)return Ko;_y=1,Object.defineProperty(Ko,"__esModule",{value:!0}),Ko.default=void 0;var r=f(Pe()),a=ws(),i=Ik(),u=ks;function c(S){if(typeof WeakMap!="function")return null;var y=new WeakMap,D=new WeakMap;return(c=function(O){return O?D:y})(S)}function f(S,y){if(S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var D=c(y);if(D&&D.has(S))return D.get(S);var O={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in S)if(C!=="default"&&Object.prototype.hasOwnProperty.call(S,C)){var k=A?Object.getOwnPropertyDescriptor(S,C):null;k&&(k.get||k.set)?Object.defineProperty(O,C,k):O[C]=S[C]}return O.default=S,D&&D.set(S,O),O}function l(){return l=Object.assign?Object.assign.bind():function(S){for(var y=1;y<arguments.length;y++){var D=arguments[y];for(var O in D)Object.prototype.hasOwnProperty.call(D,O)&&(S[O]=D[O])}return S},l.apply(this,arguments)}function m(S,y,D){return y=p(y),y in S?Object.defineProperty(S,y,{value:D,enumerable:!0,configurable:!0,writable:!0}):S[y]=D,S}function p(S){var y=d(S,"string");return typeof y=="symbol"?y:String(y)}function d(S,y){if(typeof S!="object"||!S)return S;var D=S[Symbol.toPrimitive];if(D!==void 0){var O=D.call(S,y);if(typeof O!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(S)}const b={initialState:{highlightedIndex:-1,isFocused:!1},typeAhead:!0,keyboardControlNode:{current:null},stateReducer:(S,y)=>y,onItemSelect:()=>{},getRequiredItemProps:()=>({}),children:()=>null,addMenuToNesting:()=>{},removeMenuFromNesting:()=>{},getParentMenu:()=>{},getChildMenu:()=>{},nestedMenuHoverIndex:-1,isNestedMenuVisible:()=>!1,forceHighlight:!1};class h extends r.Component{constructor(...y){super(...y),m(this,"state",{...this.constructor.defaultProps.initialState,...this.props.initialState}),m(this,"rootRef",r.createRef()),m(this,"keyboardControlNode",this.props.keyboardControlNode.current),m(this,"refList",[]),m(this,"optionIds",[]),m(this,"typeAheadChars",""),m(this,"typeAheadTimeOut",null),m(this,"onKeyDown",D=>{switch(D.key){case a.KEY_STRINGS.ArrowUp:case a.KEY_STRINGS.ArrowDown:case a.KEY_STRINGS.ArrowLeft:case a.KEY_STRINGS.ArrowRight:case a.KEY_STRINGS.Home:case a.KEY_STRINGS.End:this.handleArrowKey(D);break;case a.KEY_STRINGS.Enter:if(D.keyCode===229)break;this.handleEnterKey(D);break;default:this.props.typeAhead&&(clearTimeout(this.typeAheadTimeOut),this.handleAlphaDown(D));break}}),m(this,"handleAlphaDown",D=>{const O=this.props.rootRef?this.props.rootRef:this.rootRef,A=this.state.highlightedIndex;this.typeAheadChars+=D.key,this.typeAheadTimeOut=setTimeout(()=>{this.typeAheadChars=""},500);var C=A,k=this.getItems();if(!(k.length===0||!("label"in k[0]))){var T=!0;for(let _=0;_<k.length;_++){let L=k[_].label;if(L&&L.toUpperCase&&L.toUpperCase().indexOf(this.typeAheadChars.toUpperCase())===0){C=_,T=!1;break}}if(T)for(let _=0;_<k.length;_++){let L=k[_].label;if(L&&L.toUpperCase&&L.toUpperCase().indexOf(this.typeAheadChars.toUpperCase())>0){C=_;break}}this.internalSetState(a.STATE_CHANGE_TYPES.character,{highlightedIndex:C}),this.refList[C]&&(0,i.scrollItemIntoView)(this.refList[C].current,O.current,C===0,C===k.length-1)}}),m(this,"handleArrowKey",D=>{const O=this.props.rootRef?this.props.rootRef:this.rootRef,A=this.state.highlightedIndex;let C=A;if(D.key===a.KEY_STRINGS.ArrowUp)D.preventDefault(),C=Math.max(0,A-1),this.internalSetState(a.STATE_CHANGE_TYPES.moveUp,{highlightedIndex:C});else if(D.key===a.KEY_STRINGS.ArrowDown)D.preventDefault(),C=Math.min(A+1,this.getItems().length-1),this.internalSetState(a.STATE_CHANGE_TYPES.moveDown,{highlightedIndex:C});else if(D.key===a.KEY_STRINGS.Home)D.preventDefault(),C=0,this.internalSetState(a.STATE_CHANGE_TYPES.moveUp,{highlightedIndex:C});else if(D.key===a.KEY_STRINGS.End)D.preventDefault(),C=this.getItems().length-1,this.internalSetState(a.STATE_CHANGE_TYPES.moveDown,{highlightedIndex:C});else if(D.key===a.KEY_STRINGS.ArrowLeft){if(this.props.getParentMenu){const k=this.props.getParentMenu(O);k&&k.current&&k.current.focus()}}else if(D.key===a.KEY_STRINGS.ArrowRight&&this.props.getChildMenu){const k=this.props.getChildMenu(O);k&&k.current&&k.current.focus()}this.refList[C]&&(0,i.scrollItemIntoView)(this.refList[C].current,O.current,C===0,C===this.getItems().length-1)}),m(this,"handleEnterKey",D=>{const{onItemSelect:O}=this.props,{highlightedIndex:A}=this.state,C=this.getItems();C[A]&&O&&!C[A].disabled&&(D.preventDefault(),O({item:C[A],event:D}))}),m(this,"handleItemClick",(D,O,A)=>{this.props.onItemSelect&&!O.disabled&&(this.props.onItemSelect({item:O,event:A}),this.internalSetState(a.STATE_CHANGE_TYPES.click,{highlightedIndex:D,activedescendantId:this.optionIds[D]}))}),m(this,"handleMouseEnter",D=>{this.internalSetState(a.STATE_CHANGE_TYPES.mouseEnter,{highlightedIndex:D,activedescendantId:this.optionIds[D]})}),m(this,"handleMouseLeave",D=>{}),m(this,"getRequiredItemProps",(D,O)=>{let A=this.refList[O];A||(A=r.createRef(),this.refList[O]=A,this.optionIds[O]=this.props.uidSeed(O));const{disabled:C,...k}=this.props.getRequiredItemProps(D,O),T=typeof C=="boolean"?C:!!D.disabled;return{id:k.id||this.optionIds[O],disabled:T,ref:A,isFocused:this.state.isFocused,isHighlighted:this.state.highlightedIndex===O,resetMenu:this.resetMenu,...T?{}:{onClick:this.handleItemClick.bind(this,O,D),onMouseEnter:this.handleMouseEnter.bind(this,O)},...k}}),m(this,"focusMenu",D=>{const O=this.props.rootRef?this.props.rootRef:this.rootRef;!this.state.isFocused&&O.current&&O.current.contains(D.target)&&(this.state.highlightedIndex<0?this.internalSetState(a.STATE_CHANGE_TYPES.focus,{isFocused:!0,highlightedIndex:0}):this.internalSetState(a.STATE_CHANGE_TYPES.focus,{isFocused:!0}),O.current.focus())}),m(this,"unfocusMenu",()=>{this.internalSetState(a.STATE_CHANGE_TYPES.focus,{isFocused:!1})}),m(this,"resetMenu",()=>{this.internalSetState(a.STATE_CHANGE_TYPES.reset,{isFocused:!1,highlightedIndex:-1,activedescendantId:null})})}getItems(){return Array.isArray(this.props.items)?this.props.items:Object.keys(this.props.items).reduce((D,O)=>D.concat(this.props.items[O]),[])}componentDidMount(){const y=this.props.rootRef?this.props.rootRef:this.rootRef;typeof document<"u"&&(y.current&&this.state.highlightedIndex>-1&&this.refList[this.state.highlightedIndex]&&(0,i.scrollItemIntoView)(this.refList[this.state.highlightedIndex].current,y.current,this.state.highlightedIndex===0,this.state.highlightedIndex===this.getItems().length-1,"center"),this.state.isFocused&&this.keyboardControlNode&&this.keyboardControlNode.addEventListener("keydown",this.onKeyDown)),this.props.addMenuToNesting&&this.props.addMenuToNesting(y)}componentWillUnmount(){const y=this.props.rootRef?this.props.rootRef:this.rootRef;typeof document<"u"&&this.keyboardControlNode&&this.keyboardControlNode.removeEventListener("keydown",this.onKeyDown),this.props.removeMenuFromNesting&&this.props.removeMenuFromNesting(y)}componentDidUpdate(y,D){typeof document<"u"&&(!D.isFocused&&this.state.isFocused?this.keyboardControlNode&&this.keyboardControlNode.addEventListener("keydown",this.onKeyDown):D.isFocused&&!this.state.isFocused&&this.keyboardControlNode&&this.keyboardControlNode.removeEventListener("keydown",this.onKeyDown));var O=this.getItems().length;this.props.forceHighlight&&this.state.highlightedIndex===-1&&O>0&&this.internalSetState(a.STATE_CHANGE_TYPES.enter,{highlightedIndex:0}),O===0&&this.state.highlightedIndex!==-1?this.internalSetState(a.STATE_CHANGE_TYPES.enter,{highlightedIndex:-1}):this.state.highlightedIndex>=O&&this.internalSetState(a.STATE_CHANGE_TYPES.enter,{highlightedIndex:0}),this.props.isNestedMenuVisible&&this.props.nestedMenuHoverIndex!==y.nestedMenuHoverIndex&&!this.props.isNestedMenuVisible(this.rootRef)&&!this.props.forceHighlight&&this.setState({highlightedIndex:-1})}internalSetState(y,D){const{stateReducer:O}=this.props;this.props.onActiveDescendantChange&&typeof D.highlightedIndex=="number"&&this.state.highlightedIndex!==D.highlightedIndex&&this.props.onActiveDescendantChange(this.optionIds[D.highlightedIndex]),this.setState(O(y,D,this.state))}render(){const{initialState:y,stateReducer:D,children:O,onItemSelect:A,addMenuToNesting:C,removeMenuFromNesting:k,getParentMenu:T,getChildMenu:_,forceHighlight:L,...R}=this.props;return this.props.children({...R,rootRef:this.props.rootRef?this.props.rootRef:this.rootRef,activedescendantId:this.optionIds[this.state.highlightedIndex],getRequiredItemProps:(F,Z)=>this.getRequiredItemProps(F,Z),handleMouseLeave:this.handleMouseLeave,highlightedIndex:this.state.highlightedIndex,isFocused:this.state.isFocused,handleKeyDown:this.props.keyboardControlNode.current?F=>{}:this.onKeyDown,focusMenu:this.focusMenu,unfocusMenu:this.unfocusMenu})}}m(h,"defaultProps",b);const g=S=>r.createElement(h,l({uidSeed:(0,u.useUIDSeed)()},S));return g.defaultProps=b,Ko.default=g,Ko}var Ty;function qk(){if(Ty)return jo;Ty=1,Object.defineProperty(jo,"__esModule",{value:!0}),jo.default=void 0;var r=l(Pe()),a=c(G2()),i=T0(),u=c(Y2());function c(d){return d&&d.__esModule?d:{default:d}}function f(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(f=function(g){return g?h:b})(d)}function l(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=f(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function m(){return m=Object.assign?Object.assign.bind():function(d){for(var b=1;b<arguments.length;b++){var h=arguments[b];for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&(d[g]=h[g])}return d},m.apply(this,arguments)}class p extends r.PureComponent{render(){const{overrides:b,...h}=this.props;return r.createElement(i.NestedMenuContext.Consumer,null,g=>r.createElement(u.default,m({},g,h),S=>r.createElement(a.default,m({},S,{overrides:b}))))}}return jo.default=p,jo}var Zo={},ky;function Uk(){if(ky)return Zo;ky=1,Object.defineProperty(Zo,"__esModule",{value:!0}),Zo.default=void 0;var r=l(Pe()),a=c(U2()),i=Ps(),u=_t();function c(b){return b&&b.__esModule?b:{default:b}}function f(b){if(typeof WeakMap!="function")return null;var h=new WeakMap,g=new WeakMap;return(f=function(S){return S?g:h})(b)}function l(b,h){if(b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var g=f(h);if(g&&g.has(b))return g.get(b);var S={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in b)if(D!=="default"&&Object.prototype.hasOwnProperty.call(b,D)){var O=y?Object.getOwnPropertyDescriptor(b,D):null;O&&(O.get||O.set)?Object.defineProperty(S,D,O):S[D]=b[D]}return S.default=b,g&&g.set(b,S),S}function m(){return m=Object.assign?Object.assign.bind():function(b){for(var h=1;h<arguments.length;h++){var g=arguments[h];for(var S in g)Object.prototype.hasOwnProperty.call(g,S)&&(b[S]=g[S])}return b},m.apply(this,arguments)}function p(b,h){const{item:g,getChildMenu:S,getProfileItemLabels:y,getProfileItemImg:D,getProfileItemImgText:O,overrides:A={},resetMenu:C=()=>{},$isHighlighted:k,renderAll:T,..._}=b,[L,R]=(0,u.getOverrides)(A.ListItemProfile,i.StyledListItemProfile),[F,Z]=(0,u.getOverrides)(A.ProfileImgContainer,i.StyledProfileImgContainer),[ee,Y]=(0,u.getOverrides)(A.ProfileImg,i.StyledProfileImg),[ne,K]=(0,u.getOverrides)(A.ProfileLabelsContainer,i.StyledProfileLabelsContainer),[fe,ge]=(0,u.getOverrides)(A.ProfileTitle,i.StyledProfileTitle),[H,te]=(0,u.getOverrides)(A.ProfileSubtitle,i.StyledProfileSubtitle),[oe,z]=(0,u.getOverrides)(A.ProfileBody,i.StyledProfileBody),G=D(g),{title:P,subtitle:x,body:w}=y(g);return r.createElement(a.default,{ref:h,getChildMenu:S,isOpen:!!k,item:g,resetParentMenu:C,renderAll:T,overrides:A},r.createElement(L,m({},_,R),r.createElement(F,Z,G&&(typeof G=="string"?r.createElement(ee,m({src:G,alt:O(g)},Y)):r.createElement(G,Y))),r.createElement(ne,K,P&&r.createElement(fe,ge,P),x&&r.createElement(H,te,x),w&&r.createElement(oe,z,w))))}const d=r.forwardRef(p);return d.displayName="OptionProfile",Zo.default=d,Zo}var Ay={},My;function Wk(){return My||(My=1),Ay}var wy;function Gk(){return wy||(wy=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={StatefulMenu:!0,StatefulContainer:!0,OptionList:!0,OptionProfile:!0,Menu:!0,NestedMenus:!0,NestedMenuContext:!0,KEY_STRINGS:!0,STATE_CHANGE_TYPES:!0,StyledEmptyState:!0,StyledList:!0,StyledListItem:!0,StyledListItemProfile:!0,StyledProfileImgContainer:!0,StyledProfileImg:!0,StyledProfileLabelsContainer:!0,StyledProfileTitle:!0,StyledProfileSubtitle:!0,StyledProfileBody:!0,StyledMenuDivider:!0};Object.defineProperty(r,"KEY_STRINGS",{enumerable:!0,get:function(){return p.KEY_STRINGS}}),Object.defineProperty(r,"Menu",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"NestedMenuContext",{enumerable:!0,get:function(){return m.NestedMenuContext}}),Object.defineProperty(r,"NestedMenus",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(r,"OptionList",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"OptionProfile",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(r,"STATE_CHANGE_TYPES",{enumerable:!0,get:function(){return p.STATE_CHANGE_TYPES}}),Object.defineProperty(r,"StatefulContainer",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"StatefulMenu",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"StyledEmptyState",{enumerable:!0,get:function(){return d.StyledEmptyState}}),Object.defineProperty(r,"StyledList",{enumerable:!0,get:function(){return d.StyledList}}),Object.defineProperty(r,"StyledListItem",{enumerable:!0,get:function(){return d.StyledListItem}}),Object.defineProperty(r,"StyledListItemProfile",{enumerable:!0,get:function(){return d.StyledListItemProfile}}),Object.defineProperty(r,"StyledMenuDivider",{enumerable:!0,get:function(){return d.StyledMenuDivider}}),Object.defineProperty(r,"StyledProfileBody",{enumerable:!0,get:function(){return d.StyledProfileBody}}),Object.defineProperty(r,"StyledProfileImg",{enumerable:!0,get:function(){return d.StyledProfileImg}}),Object.defineProperty(r,"StyledProfileImgContainer",{enumerable:!0,get:function(){return d.StyledProfileImgContainer}}),Object.defineProperty(r,"StyledProfileLabelsContainer",{enumerable:!0,get:function(){return d.StyledProfileLabelsContainer}}),Object.defineProperty(r,"StyledProfileSubtitle",{enumerable:!0,get:function(){return d.StyledProfileSubtitle}}),Object.defineProperty(r,"StyledProfileTitle",{enumerable:!0,get:function(){return d.StyledProfileTitle}});var i=S(qk()),u=S(Y2()),c=S(W2()),f=S(Uk()),l=S(G2()),m=g(T0()),p=ws(),d=Ps(),b=Wk();Object.keys(b).forEach(function(y){y==="default"||y==="__esModule"||Object.prototype.hasOwnProperty.call(a,y)||y in r&&r[y]===b[y]||Object.defineProperty(r,y,{enumerable:!0,get:function(){return b[y]}})});function h(y){if(typeof WeakMap!="function")return null;var D=new WeakMap,O=new WeakMap;return(h=function(A){return A?O:D})(y)}function g(y,D){if(y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var O=h(D);if(O&&O.has(y))return O.get(y);var A={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in y)if(k!=="default"&&Object.prototype.hasOwnProperty.call(y,k)){var T=C?Object.getOwnPropertyDescriptor(y,k):null;T&&(T.get||T.set)?Object.defineProperty(A,k,T):A[k]=y[k]}return A.default=y,O&&O.set(y,A),A}function S(y){return y&&y.__esModule?y:{default:y}}})(vf)),vf}var Yk=Gk(),Py=q2();const Vk=({items:r,onSelect:a,children:i})=>W.jsx(Py.StatefulPopover,{triggerType:Py.TRIGGER_TYPE.click,placement:"bottomRight",accessibilityType:"menu",dismissOnClickOutside:!0,dismissOnEsc:!0,focusLock:!1,autoFocus:!1,showArrow:!1,content:({close:u})=>W.jsx("div",{className:"rz-baseui-preset-menu",children:W.jsx(Yk.StatefulMenu,{items:r,onItemSelect:({item:c})=>{a(c.item),u()},overrides:{List:{style:{backgroundColor:"#111111",color:"#ffffff",borderRadius:"8px",minWidth:"220px",maxWidth:"min(320px, calc(100vw - 24px))",paddingTop:"6px",paddingBottom:"6px",boxShadow:"0 12px 32px rgba(0, 0, 0, 0.35)"}},Option:{props:{getItemLabel:c=>c.label},style:({$isHighlighted:c})=>({backgroundColor:c?"rgba(255, 255, 255, 0.08)":"transparent",color:"#ffffff",fontSize:"13px",lineHeight:"1.4",paddingTop:"8px",paddingRight:"10px",paddingBottom:"8px",paddingLeft:"10px"})}}})}),overrides:{Body:{style:{zIndex:20}},Inner:{style:{backgroundColor:"transparent"}}},children:i}),Ya=({overrides:r,children:a,...i})=>W.jsx(Vf,{overrides:Er.mergeOverrides({BaseButton:{style:({$disabled:u,$isHovered:c,$isFocusVisible:f})=>({width:"28px",height:"28px",minWidth:"28px",minHeight:"28px",borderWidth:"0",borderRadius:"4px",backgroundColor:!u&&c?"rgba(255, 255, 255, 0.06)":"transparent",color:!u&&c?"#ffffff":"rgba(255, 255, 255, 0.56)",paddingTop:"0",paddingRight:"0",paddingBottom:"0",paddingLeft:"0",outline:f?"2px solid rgba(130, 50, 255, 0.95)":"none",outlineOffset:"-2px"})}},r),...i,children:a});var Df={},ts={},Xo={},Xt={},Ry;function Sl(){return Ry||(Ry=1,Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.STATE_CHANGE_TYPE=Xt.SIZE=Xt.ENHANCER_POSITION=Xt.CUSTOM_INPUT_TYPE=Xt.ADJOINED=void 0,Xt.STATE_CHANGE_TYPE={change:"change"},Xt.CUSTOM_INPUT_TYPE={textarea:"textarea"},Xt.ADJOINED={none:"none",left:"left",right:"right",both:"both"},Xt.SIZE={mini:"mini",default:"default",compact:"compact",large:"large"},Xt.ENHANCER_POSITION={start:"start",end:"end"}),Xt}var xy;function q0(){if(xy)return Xo;xy=1,Object.defineProperty(Xo,"__esModule",{value:!0}),Xo.default=void 0;var r=u(Pe()),a=Sl();function i(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(i=function(g){return g?h:b})(d)}function u(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=i(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function c(d,b,h){return b=f(b),b in d?Object.defineProperty(d,b,{value:h,enumerable:!0,configurable:!0,writable:!0}):d[b]=h,d}function f(d){var b=l(d,"string");return typeof b=="symbol"?b:String(b)}function l(d,b){if(typeof d!="object"||!d)return d;var h=d[Symbol.toPrimitive];if(h!==void 0){var g=h.call(d,b);if(typeof g!="object")return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(d)}const m=(d,b)=>b;class p extends r.Component{constructor(...b){super(...b),c(this,"state",{value:"",...this.props.initialState}),c(this,"onChange",h=>{const g={value:h.target.value};this.internalSetState(a.STATE_CHANGE_TYPE.change,g),this.props.onChange(h)}),c(this,"internalSetState",(h,g)=>{const S=this.props.stateReducer(h,g,this.state);this.setState(S)})}render(){const{children:b,initialState:h,stateReducer:g,...S}=this.props,{onChange:y}=this;return b({...S,...this.state,onChange:y})}}return c(p,"defaultProps",{initialState:{},stateReducer:m,onChange:()=>{},onClear:()=>{}}),Xo.default=p,Xo}var Of={},rs={},By;function V2(){if(By)return rs;By=1,Object.defineProperty(rs,"__esModule",{value:!0}),rs.getSharedProps=r;function r(a,i){const{disabled:u,error:c,positive:f,adjoined:l,size:m,required:p,resize:d,readOnly:b}=a,{isFocused:h}=i;return{$isFocused:h,$disabled:u,$error:c,$positive:f,$adjoined:l,$size:m,$required:p,$resize:d,$isReadOnly:b}}return rs}var $o={},at={},Qo={},Jo={},qa={},Ly;function Kk(){if(Ly)return qa;Ly=1,Object.defineProperty(qa,"__esModule",{value:!0}),qa.Svg=void 0,qa.getSvgStyles=a;var r=At();function a({$theme:u,$size:c,$color:f}){let l=u.sizing.scale600;c&&(u.sizing[c]?l=u.sizing[c]:typeof c=="number"?l=`${c}px`:l=c);let m="currentColor";return f&&(u.colors[f]?m=u.colors[f]:m=f),{display:"inline-block",fill:m,color:m,height:l,width:l}}const i=qa.Svg=(0,r.styled)("svg",a);return i.displayName="Svg",i.displayName="Svg",qa}var ns={},Fy;function Zk(){if(Fy)return ns;Fy=1,Object.defineProperty(ns,"__esModule",{value:!0}),ns.default=r;function r(a){const i={};for(const u in a)u[0]!=="$"&&(i[u]=a[u]);return i}return ns}var Ny;function U0(){if(Ny)return Jo;Ny=1,Object.defineProperty(Jo,"__esModule",{value:!0}),Jo.default=void 0;var r=l(Pe()),a=_t(),i=Kk(),u=c(Zk());function c(d){return d&&d.__esModule?d:{default:d}}function f(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(f=function(g){return g?h:b})(d)}function l(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=f(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function m(){return m=Object.assign?Object.assign.bind():function(d){for(var b=1;b<arguments.length;b++){var h=arguments[b];for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&(d[g]=h[g])}return d},m.apply(this,arguments)}const p=(d,b)=>{const{children:h,title:g,size:S,color:y,overrides:D={},...O}=d,[A,C]=(0,a.getOverrides)(D.Svg,i.Svg),k=A.__STYLETRON__?{title:g,$color:y,$size:S,...O,...C}:{title:g,color:y,size:S,...(0,u.default)(O),...(0,u.default)(C)};return r.createElement(A,m({"data-baseweb":"icon",ref:b},k),g?r.createElement("title",null,g):null,h)};return Jo.default=r.forwardRef(p),Jo}var zy;function Xk(){if(zy)return Qo;zy=1,Object.defineProperty(Qo,"__esModule",{value:!0}),Qo.default=void 0;var r=l(Pe()),a=At(),i=_t(),u=c(U0());function c(d){return d&&d.__esModule?d:{default:d}}function f(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(f=function(g){return g?h:b})(d)}function l(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=f(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function m(){return m=Object.assign?Object.assign.bind():function(d){for(var b=1;b<arguments.length;b++){var h=arguments[b];for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&(d[g]=h[g])}return d},m.apply(this,arguments)}function p(d,b){const[,h]=(0,a.useStyletron)(),{title:g="Delete Alt",size:S,color:y,overrides:D={},...O}=d,A=(0,i.mergeOverride)({component:h.icons&&h.icons.DeleteAlt?h.icons.DeleteAlt:null},D&&D.Svg?(0,i.toObjectOverride)(D.Svg):{});return r.createElement(u.default,m({viewBox:"0 0 24 24",ref:b,title:g,size:S,color:y,overrides:{Svg:A}},O),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58173 16.4183 4 12 4C7.58173 4 4 7.58173 4 12C4 16.4183 7.58173 20 12 20ZM10.0303 8.96967C9.73743 8.67679 9.26257 8.67679 8.96967 8.96967C8.67676 9.26257 8.67676 9.73743 8.96967 10.0303L10.9393 12L8.96967 13.9697C8.67676 14.2626 8.67676 14.7374 8.96967 15.0303C9.26257 15.3232 9.73743 15.3232 10.0303 15.0303L12 13.0607L13.9697 15.0303C14.2626 15.3232 14.7374 15.3232 15.0303 15.0303C15.3232 14.7374 15.3232 14.2626 15.0303 13.9697L13.0607 12L15.0303 10.0303C15.3232 9.73743 15.3232 9.26257 15.0303 8.96967C14.7374 8.67679 14.2626 8.67679 13.9697 8.96967L12 10.9393L10.0303 8.96967Z"}))}return Qo.default=r.forwardRef(p),Qo}var jy;function Dl(){if(jy)return at;jy=1,Object.defineProperty(at,"__esModule",{value:!0}),at.getRootStyles=at.getInputStyles=at.getInputContainerStyles=at.StyledMaskToggleButton=at.StyledClearIconContainer=at.StyledClearIcon=at.Root=at.InputEnhancer=at.InputContainer=at.Input=void 0;var r=At(),a=Sl(),i=u(Xk());function u(R){return R&&R.__esModule?R:{default:R}}const c=at.StyledMaskToggleButton=(0,r.styled)("button",({$theme:R,$size:F,$isFocusVisible:Z})=>{const ee={[a.SIZE.mini]:R.sizing.scale400,[a.SIZE.compact]:R.sizing.scale400,[a.SIZE.default]:R.sizing.scale300,[a.SIZE.large]:R.sizing.scale200}[F];return{display:"flex",alignItems:"center",borderTopStyle:"none",borderBottomStyle:"none",borderLeftStyle:"none",borderRightStyle:"none",background:"none",paddingLeft:ee,paddingRight:ee,outline:Z?`solid 3px ${R.colors.borderAccent}`:"none",color:R.colors.contentPrimary}});c.displayName="StyledMaskToggleButton",c.displayName="StyledMaskToggleButton";const f=at.StyledClearIconContainer=(0,r.styled)("div",({$alignTop:R=!1,$size:F,$theme:Z})=>{const ee={[a.SIZE.mini]:Z.sizing.scale200,[a.SIZE.compact]:Z.sizing.scale200,[a.SIZE.default]:Z.sizing.scale100,[a.SIZE.large]:Z.sizing.scale0}[F];return{display:"flex",alignItems:R?"flex-start":"center",paddingLeft:ee,paddingRight:ee,paddingTop:R?Z.sizing.scale500:"0px",color:Z.colors.contentPrimary}});f.displayName="StyledClearIconContainer",f.displayName="StyledClearIconContainer";const l=at.StyledClearIcon=(0,r.styled)(i.default,({$theme:R,$isFocusVisible:F})=>({cursor:"pointer",outline:F?`solid 3px ${R.colors.borderAccent}`:"none"}));l.displayName="StyledClearIcon",l.displayName="StyledClearIcon";function m(R,F){return{[a.SIZE.mini]:{paddingTop:F.scale100,paddingBottom:F.scale100,paddingLeft:F.scale550,paddingRight:F.scale550},[a.SIZE.compact]:{paddingTop:F.scale200,paddingBottom:F.scale200,paddingLeft:F.scale550,paddingRight:F.scale550},[a.SIZE.default]:{paddingTop:F.scale400,paddingBottom:F.scale400,paddingLeft:F.scale550,paddingRight:F.scale550},[a.SIZE.large]:{paddingTop:F.scale550,paddingBottom:F.scale550,paddingLeft:F.scale550,paddingRight:F.scale550}}[R]}function p(R,F,Z,ee,Y){let ne=R===a.ADJOINED.both||R===a.ADJOINED.left&&ee!=="rtl"||R===a.ADJOINED.right&&ee==="rtl"||Y&&ee==="rtl",K=R===a.ADJOINED.both||R===a.ADJOINED.right&&ee!=="rtl"||R===a.ADJOINED.left&&ee==="rtl"||Y&&ee!=="rtl";return{paddingLeft:ne?Z.scale550:"0px",paddingRight:K?Z.scale550:"0px"}}function d(R,F){return{[a.SIZE.mini]:F.font100,[a.SIZE.compact]:F.font200,[a.SIZE.default]:F.font300,[a.SIZE.large]:F.font400}[R]}function b(R,F,Z,ee=!1,Y){return R?{borderLeftColor:Y.inputFillDisabled,borderRightColor:Y.inputFillDisabled,borderTopColor:Y.inputFillDisabled,borderBottomColor:Y.inputFillDisabled,backgroundColor:Y.inputFillDisabled}:F?{borderLeftColor:Y.borderSelected,borderRightColor:Y.borderSelected,borderTopColor:Y.borderSelected,borderBottomColor:Y.borderSelected,backgroundColor:Y.inputFillActive}:Z?{borderLeftColor:Y.inputBorderError,borderRightColor:Y.inputBorderError,borderTopColor:Y.inputBorderError,borderBottomColor:Y.inputBorderError,backgroundColor:Y.inputFillError}:ee?{borderLeftColor:Y.inputBorderPositive,borderRightColor:Y.inputBorderPositive,borderTopColor:Y.inputBorderPositive,borderBottomColor:Y.inputBorderPositive,backgroundColor:Y.inputFillPositive}:{borderLeftColor:Y.inputBorder,borderRightColor:Y.inputBorder,borderTopColor:Y.inputBorder,borderBottomColor:Y.inputBorder,backgroundColor:Y.inputFill}}function h(R,F){let Z=F.inputBorderRadius;return R===a.SIZE.mini&&(Z=F.inputBorderRadiusMini),{borderTopLeftRadius:Z,borderBottomLeftRadius:Z,borderTopRightRadius:Z,borderBottomRightRadius:Z}}const g=R=>{const{$isFocused:F,$adjoined:Z,$error:ee,$disabled:Y,$positive:ne,$size:K,$theme:fe,$theme:{borders:ge,colors:H,sizing:te,typography:oe,animation:z},$hasIconTrailing:G}=R;return{boxSizing:"border-box",display:"flex",overflow:"hidden",width:"100%",borderLeftWidth:"2px",borderRightWidth:"2px",borderTopWidth:"2px",borderBottomWidth:"2px",borderLeftStyle:"solid",borderRightStyle:"solid",borderTopStyle:"solid",borderBottomStyle:"solid",transitionProperty:"border",transitionDuration:z.timing200,transitionTimingFunction:z.easeOutCurve,...h(K,ge),...d(K,oe),...b(Y,F,ee,ne,H),...p(Z,K,te,fe.direction,G)}};at.getRootStyles=g;const S=at.Root=(0,r.styled)("div",g);S.displayName="Root",S.displayName="Root";function y(R,F){return{[a.SIZE.mini]:{paddingRight:F.scale400,paddingLeft:F.scale400},[a.SIZE.compact]:{paddingRight:F.scale400,paddingLeft:F.scale400},[a.SIZE.default]:{paddingRight:F.scale300,paddingLeft:F.scale300},[a.SIZE.large]:{paddingRight:F.scale200,paddingLeft:F.scale200}}[R]}function D(R,F,Z,ee,Y){return R?{color:Y.inputEnhancerTextDisabled,backgroundColor:Y.inputFillDisabled}:F?{color:Y.contentPrimary,backgroundColor:Y.inputFillActive}:Z?{color:Y.contentPrimary,backgroundColor:Y.inputFillError}:ee?{color:Y.contentPrimary,backgroundColor:Y.inputFillPositive}:{color:Y.contentPrimary,backgroundColor:Y.inputFill}}const O=at.InputEnhancer=(0,r.styled)("div",R=>{const{$size:F,$disabled:Z,$isFocused:ee,$error:Y,$positive:ne,$theme:{colors:K,sizing:fe,typography:ge,animation:H}}=R;return{display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"color, background-color",transitionDuration:H.timing200,transitionTimingFunction:H.easeOutCurve,...d(F,ge),...y(F,fe),...D(Z,ee,Y,ne,K)}});O.displayName="InputEnhancer",O.displayName="InputEnhancer";function A(R,F,Z,ee,Y){return R?{color:Y.inputTextDisabled,backgroundColor:Y.inputFillDisabled}:F?{color:Y.contentPrimary,backgroundColor:Y.inputFillActive}:Z?{color:Y.contentPrimary,backgroundColor:Y.inputFillError}:ee?{color:Y.contentPrimary,backgroundColor:Y.inputFillPositive}:{color:Y.contentPrimary,backgroundColor:Y.inputFill}}const C=R=>{const{$isFocused:F,$error:Z,$disabled:ee,$positive:Y,$size:ne,$theme:{colors:K,typography:fe,animation:ge}}=R;return{display:"flex",width:"100%",transitionProperty:"background-color",transitionDuration:ge.timing200,transitionTimingFunction:ge.easeOutCurve,...d(ne,fe),...A(ee,F,Z,Y,K)}};at.getInputContainerStyles=C;const k=at.InputContainer=(0,r.styled)("div",C);k.displayName="InputContainer",k.displayName="InputContainer";function T(R,F,Z,ee){return R?{color:ee.inputTextDisabled,"-webkit-text-fill-color":ee.inputTextDisabled,caretColor:ee.contentPrimary,"::placeholder":{color:ee.inputPlaceholderDisabled}}:{color:ee.contentPrimary,caretColor:ee.contentPrimary,"::placeholder":{color:ee.inputPlaceholder}}}const _=R=>{const{$disabled:F,$isFocused:Z,$error:ee,$size:Y,$theme:{colors:ne,sizing:K,typography:fe}}=R;return{boxSizing:"border-box",backgroundColor:"transparent",borderLeftWidth:0,borderRightWidth:0,borderTopWidth:0,borderBottomWidth:0,borderLeftStyle:"none",borderRightStyle:"none",borderTopStyle:"none",borderBottomStyle:"none",outline:"none",width:"100%",minWidth:0,maxWidth:"100%",cursor:F?"not-allowed":"text",margin:"0",paddingTop:"0",paddingBottom:"0",paddingLeft:"0",paddingRight:"0",...d(Y,fe),...m(Y,K),...T(F,Z,ee,ne)}};at.getInputStyles=_;const L=at.Input=(0,r.styled)("input",_);return L.displayName="Input",L.displayName="Input",at}var el={},Hy;function $k(){if(Hy)return el;Hy=1,Object.defineProperty(el,"__esModule",{value:!0}),el.default=void 0;var r=l(Pe()),a=At(),i=_t(),u=c(U0());function c(d){return d&&d.__esModule?d:{default:d}}function f(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(f=function(g){return g?h:b})(d)}function l(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=f(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function m(){return m=Object.assign?Object.assign.bind():function(d){for(var b=1;b<arguments.length;b++){var h=arguments[b];for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&(d[g]=h[g])}return d},m.apply(this,arguments)}function p(d,b){const[,h]=(0,a.useStyletron)(),{title:g="Hide",size:S,color:y,overrides:D={},...O}=d,A=(0,i.mergeOverride)({component:h.icons&&h.icons.Hide?h.icons.Hide:null},D&&D.Svg?(0,i.toObjectOverride)(D.Svg):{});return r.createElement(u.default,m({viewBox:"0 0 24 24",ref:b,title:g,size:S,color:y,overrides:{Svg:A}},O),r.createElement("path",{d:"M12.81 4.36l-1.77 1.78a4 4 0 00-4.9 4.9l-2.76 2.75C2.06 12.79.96 11.49.2 10a11 11 0 0112.6-5.64zm3.8 1.85c1.33 1 2.43 2.3 3.2 3.79a11 11 0 01-12.62 5.64l1.77-1.78a4 4 0 004.9-4.9l2.76-2.75zm-.25-3.99l1.42 1.42L3.64 17.78l-1.42-1.42L16.36 2.22z"}))}return el.default=r.forwardRef(p),el}var tl={},Iy;function Qk(){if(Iy)return tl;Iy=1,Object.defineProperty(tl,"__esModule",{value:!0}),tl.default=void 0;var r=l(Pe()),a=At(),i=_t(),u=c(U0());function c(d){return d&&d.__esModule?d:{default:d}}function f(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(f=function(g){return g?h:b})(d)}function l(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=f(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function m(){return m=Object.assign?Object.assign.bind():function(d){for(var b=1;b<arguments.length;b++){var h=arguments[b];for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&(d[g]=h[g])}return d},m.apply(this,arguments)}function p(d,b){const[,h]=(0,a.useStyletron)(),{title:g="Show",size:S,color:y,overrides:D={},...O}=d,A=(0,i.mergeOverride)({component:h.icons&&h.icons.Show?h.icons.Show:null},D&&D.Svg?(0,i.toObjectOverride)(D.Svg):{});return r.createElement(u.default,m({viewBox:"0 0 24 24",ref:b,title:g,size:S,color:y,overrides:{Svg:A}},O),r.createElement("path",{d:"M.2 10a11 11 0 0119.6 0A11 11 0 01.2 10zm9.8 4a4 4 0 100-8 4 4 0 000 8zm0-2a2 2 0 110-4 2 2 0 010 4z"}))}return tl.default=r.forwardRef(p),tl}var as={},qy;function Jk(){if(qy)return as;qy=1,Object.defineProperty(as,"__esModule",{value:!0}),as.default=r;function r(a){let i;return typeof window.Event=="function"?i=new window.Event(a,{bubbles:!0,cancelable:!0}):(i=document.createEvent("Event"),i.initEvent(a,!0,!0)),i}return as}var Uy;function K2(){if(Uy)return $o;Uy=1,Object.defineProperty($o,"__esModule",{value:!0}),$o.default=void 0;var r=h(Pe()),a=_t(),i=Sl(),u=Dl(),c=V2(),f=d($k()),l=d(Qk()),m=d(Jk()),p=ni();function d(C){return C&&C.__esModule?C:{default:C}}function b(C){if(typeof WeakMap!="function")return null;var k=new WeakMap,T=new WeakMap;return(b=function(_){return _?T:k})(C)}function h(C,k){if(C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var T=b(k);if(T&&T.has(C))return T.get(C);var _={__proto__:null},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var R in C)if(R!=="default"&&Object.prototype.hasOwnProperty.call(C,R)){var F=L?Object.getOwnPropertyDescriptor(C,R):null;F&&(F.get||F.set)?Object.defineProperty(_,R,F):_[R]=C[R]}return _.default=C,T&&T.set(C,_),_}function g(){return g=Object.assign?Object.assign.bind():function(C){for(var k=1;k<arguments.length;k++){var T=arguments[k];for(var _ in T)Object.prototype.hasOwnProperty.call(T,_)&&(C[_]=T[_])}return C},g.apply(this,arguments)}function S(C,k,T){return k=y(k),k in C?Object.defineProperty(C,k,{value:T,enumerable:!0,configurable:!0,writable:!0}):C[k]=T,C}function y(C){var k=D(C,"string");return typeof k=="symbol"?k:String(k)}function D(C,k){if(typeof C!="object"||!C)return C;var T=C[Symbol.toPrimitive];if(T!==void 0){var _=T.call(C,k);if(typeof _!="object")return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return(k==="string"?String:Number)(C)}const O=()=>null;class A extends r.Component{constructor(...k){super(...k),S(this,"inputRef",this.props.inputRef||r.createRef()),S(this,"state",{isFocused:this.props.autoFocus||!1,isMasked:this.props.type==="password",initialType:this.props.type,isFocusVisibleForClear:!1,isFocusVisibleForMaskToggle:!1}),S(this,"onInputKeyDown",T=>{this.props.clearOnEscape&&T.key==="Escape"&&this.inputRef.current&&!this.props.readOnly&&(this.clearValue(),T.stopPropagation())}),S(this,"onClearIconClick",()=>{this.inputRef.current&&this.clearValue(),this.inputRef.current&&this.inputRef.current.focus()}),S(this,"onFocus",T=>{this.setState({isFocused:!0}),this.props.onFocus(T)}),S(this,"onBlur",T=>{this.setState({isFocused:!1}),this.props.onBlur(T)}),S(this,"handleFocusForMaskToggle",T=>{(0,p.isFocusVisible)(T)&&this.setState({isFocusVisibleForMaskToggle:!0})}),S(this,"handleBlurForMaskToggle",T=>{this.state.isFocusVisibleForMaskToggle!==!1&&this.setState({isFocusVisibleForMaskToggle:!1})}),S(this,"handleFocusForClear",T=>{(0,p.isFocusVisible)(T)&&this.setState({isFocusVisibleForClear:!0})}),S(this,"handleBlurForClear",T=>{this.state.isFocusVisibleForClear!==!1&&this.setState({isFocusVisibleForClear:!1})})}componentDidMount(){const{autoFocus:k,clearable:T}=this.props;this.inputRef.current&&(k&&this.inputRef.current.focus(),T&&this.inputRef.current.addEventListener("keydown",this.onInputKeyDown))}componentWillUnmount(){const{clearable:k}=this.props;k&&this.inputRef.current&&this.inputRef.current.removeEventListener("keydown",this.onInputKeyDown)}clearValue(){const k=this.inputRef.current;if(k){const T=Object.getOwnPropertyDescriptor(this.props.type===i.CUSTOM_INPUT_TYPE.textarea?HTMLTextAreaElement.prototype:HTMLInputElement.prototype,"value");if(T){const _=T.set;if(_){_.call(k,"");const L=(0,m.default)("input");k.dispatchEvent(L)}}}}getInputType(){return this.props.type==="password"?this.state.isMasked?"password":"text":this.props.type}renderMaskToggle(){if(this.props.type!=="password")return null;const[k,T]=(0,a.getOverrides)(this.props.overrides.MaskToggleButton,u.StyledMaskToggleButton),[_,L]=(0,a.getOverrides)(this.props.overrides.MaskToggleShowIcon,l.default),[R,F]=(0,a.getOverrides)(this.props.overrides.MaskToggleHideIcon,f.default),Z=this.state.isMasked?"Show password text":"Hide password text",ee={[i.SIZE.mini]:"12px",[i.SIZE.compact]:"16px",[i.SIZE.default]:"20px",[i.SIZE.large]:"24px"}[this.props.size];return r.createElement(k,g({$size:this.props.size,$isFocusVisible:this.state.isFocusVisibleForMaskToggle,"aria-label":Z,onClick:()=>this.setState(Y=>({isMasked:!Y.isMasked})),title:Z,type:"button"},T,{onFocus:(0,p.forkFocus)(T,this.handleFocusForMaskToggle),onBlur:(0,p.forkBlur)(T,this.handleBlurForMaskToggle)}),this.state.isMasked?r.createElement(_,g({size:ee,title:Z},L)):r.createElement(R,g({size:ee,title:Z},F)))}renderClear(){const{clearable:k,value:T,disabled:_,readOnly:L,overrides:R={}}=this.props;if(_||L||!k||T==null||typeof T=="string"&&T.length===0)return null;const[F,Z]=(0,a.getOverrides)(R.ClearIconContainer,u.StyledClearIconContainer),[ee,Y]=(0,a.getOverrides)(R.ClearIcon,u.StyledClearIcon),ne="Clear value",K=(0,c.getSharedProps)(this.props,this.state),fe={[i.SIZE.mini]:"14px",[i.SIZE.compact]:"14px",[i.SIZE.default]:"16px",[i.SIZE.large]:"22px"}[this.props.size];return r.createElement(F,g({$alignTop:this.props.type===i.CUSTOM_INPUT_TYPE.textarea},K,Z),r.createElement(ee,g({size:fe,tabIndex:0,title:ne,"aria-label":ne,onClick:this.onClearIconClick,onKeyDown:ge=>{ge.key&&(ge.key==="Enter"||ge.key===" ")&&(ge.preventDefault(),this.onClearIconClick())},role:"button",$isFocusVisible:this.state.isFocusVisibleForClear},K,Y,{onFocus:(0,p.forkFocus)(Y,this.handleFocusForClear),onBlur:(0,p.forkBlur)(Y,this.handleBlurForClear)})))}render(){const{overrides:{InputContainer:k,Input:T,Before:_,After:L}}=this.props,R=this.state.initialType==="password"&&this.props.autoComplete===A.defaultProps.autoComplete?"new-password":this.props.autoComplete,F=(0,c.getSharedProps)(this.props,this.state),[Z,ee]=(0,a.getOverrides)(k,u.InputContainer),[Y,ne]=(0,a.getOverrides)(T,u.Input),[K,fe]=(0,a.getOverrides)(_,O),[ge,H]=(0,a.getOverrides)(L,O);return r.createElement(Z,g({"data-baseweb":this.props["data-baseweb"]||"base-input"},F,ee),r.createElement(K,g({},F,fe)),r.createElement(Y,g({ref:this.inputRef,"aria-activedescendant":this.props["aria-activedescendant"],"aria-autocomplete":this.props["aria-autocomplete"],"aria-controls":this.props["aria-controls"],"aria-errormessage":this.props["aria-errormessage"],"aria-haspopup":this.props["aria-haspopup"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-describedby":this.props["aria-describedby"],"aria-invalid":this.props.error,"aria-required":this.props.required,autoComplete:R,disabled:this.props.disabled,readOnly:this.props.readOnly,id:this.props.id,inputMode:this.props.inputMode,maxLength:this.props.maxLength,name:this.props.name,onBlur:this.onBlur,onChange:this.props.onChange,onFocus:this.onFocus,onKeyDown:this.props.onKeyDown,onKeyPress:this.props.onKeyPress,onKeyUp:this.props.onKeyUp,pattern:this.props.pattern,placeholder:this.props.placeholder,type:this.getInputType(),required:this.props.required,role:this.props.role,value:this.props.value,min:this.props.min,max:this.props.max,step:this.props.step,rows:this.props.type===i.CUSTOM_INPUT_TYPE.textarea?this.props.rows:null},F,ne)),this.renderClear(),this.renderMaskToggle(),r.createElement(ge,g({},F,H)))}}return S(A,"defaultProps",{"aria-activedescendant":null,"aria-autocomplete":null,"aria-controls":null,"aria-errormessage":null,"aria-haspopup":null,"aria-label":null,"aria-labelledby":null,"aria-describedby":null,adjoined:i.ADJOINED.none,autoComplete:"on",autoFocus:!1,disabled:!1,error:!1,positive:!1,name:"",inputMode:"text",onBlur:()=>{},onChange:()=>{},onKeyDown:()=>{},onKeyPress:()=>{},onKeyUp:()=>{},onFocus:()=>{},onClear:()=>{},clearable:!1,clearOnEscape:!0,overrides:{},pattern:null,placeholder:"",required:!1,role:null,size:i.SIZE.default,type:"text",readOnly:!1}),$o.default=A,$o}var Wy;function W0(){return Wy||(Wy=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"StatefulContainer",{enumerable:!0,get:function(){return m.default}}),r.default=void 0;var a=b(Pe()),i=_t(),u=V2(),c=p(K2()),f=Dl(),l=Sl(),m=p(q0());function p(C){return C&&C.__esModule?C:{default:C}}function d(C){if(typeof WeakMap!="function")return null;var k=new WeakMap,T=new WeakMap;return(d=function(_){return _?T:k})(C)}function b(C,k){if(C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var T=d(k);if(T&&T.has(C))return T.get(C);var _={__proto__:null},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var R in C)if(R!=="default"&&Object.prototype.hasOwnProperty.call(C,R)){var F=L?Object.getOwnPropertyDescriptor(C,R):null;F&&(F.get||F.set)?Object.defineProperty(_,R,F):_[R]=C[R]}return _.default=C,T&&T.set(C,_),_}function h(){return h=Object.assign?Object.assign.bind():function(C){for(var k=1;k<arguments.length;k++){var T=arguments[k];for(var _ in T)Object.prototype.hasOwnProperty.call(T,_)&&(C[_]=T[_])}return C},h.apply(this,arguments)}function g(C,k,T){return k=S(k),k in C?Object.defineProperty(C,k,{value:T,enumerable:!0,configurable:!0,writable:!0}):C[k]=T,C}function S(C){var k=y(C,"string");return typeof k=="symbol"?k:String(k)}function y(C,k){if(typeof C!="object"||!C)return C;var T=C[Symbol.toPrimitive];if(T!==void 0){var _=T.call(C,k);if(typeof _!="object")return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return(k==="string"?String:Number)(C)}class D extends a.Component{constructor(...k){super(...k),g(this,"state",{isFocused:this.props.autoFocus||!1}),g(this,"onFocus",T=>{this.setState({isFocused:!0}),this.props.onFocus(T)}),g(this,"onBlur",T=>{this.setState({isFocused:!1}),this.props.onBlur(T)})}render(){const{startEnhancer:k,endEnhancer:T,overrides:{Root:_,StartEnhancer:L,EndEnhancer:R,...F},...Z}=this.props,[ee,Y]=(0,i.getOverrides)(_,f.Root),[ne,K]=(0,i.getOverrides)(L,f.InputEnhancer),[fe,ge]=(0,i.getOverrides)(R,f.InputEnhancer),H=(0,u.getSharedProps)(this.props,this.state);return a.createElement(ee,h({"data-baseweb":"input"},H,Y,{$adjoined:O(k,T),$hasIconTrailing:this.props.clearable||this.props.type=="password"}),A(k)&&a.createElement(ne,h({},H,K,{$position:l.ENHANCER_POSITION.start}),typeof k=="function"?k(H):k),a.createElement(c.default,h({},Z,{overrides:F,adjoined:O(k,T),onFocus:this.onFocus,onBlur:this.onBlur})),A(T)&&a.createElement(fe,h({},H,ge,{$position:l.ENHANCER_POSITION.end}),typeof T=="function"?T(H):T))}}g(D,"defaultProps",{autoComplete:"on",autoFocus:!1,disabled:!1,name:"",onBlur:()=>{},onFocus:()=>{},overrides:{},required:!1,size:l.SIZE.default,startEnhancer:null,endEnhancer:null,clearable:!1,type:"text",readOnly:!1});function O(C,k){return A(C)&&A(k)?l.ADJOINED.both:A(C)?l.ADJOINED.left:A(k)?l.ADJOINED.right:l.ADJOINED.none}function A(C){return!!(C||C===0)}r.default=D})(Of)),Of}var Gy;function e3(){if(Gy)return ts;Gy=1,Object.defineProperty(ts,"__esModule",{value:!0}),ts.default=l;var r=f(Pe()),a=u(q0()),i=u(W0());function u(m){return m&&m.__esModule?m:{default:m}}function c(m){if(typeof WeakMap!="function")return null;var p=new WeakMap,d=new WeakMap;return(c=function(b){return b?d:p})(m)}function f(m,p){if(m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var d=c(p);if(d&&d.has(m))return d.get(m);var b={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in m)if(g!=="default"&&Object.prototype.hasOwnProperty.call(m,g)){var S=h?Object.getOwnPropertyDescriptor(m,g):null;S&&(S.get||S.set)?Object.defineProperty(b,g,S):b[g]=m[g]}return b.default=m,d&&d.set(m,b),b}function l(m){return r.createElement(a.default,m,p=>r.createElement(i.default,p))}return ts}var is={},Ef={exports:{}},Cf,Yy;function t3(){if(Yy)return Cf;Yy=1;function r(z){return z&&typeof z=="object"&&"default"in z?z.default:z}var a=r(Pe()),i=n0();function u(z,G){for(var P=Object.getOwnPropertyNames(G),x=0;x<P.length;x++){var w=P[x],X=Object.getOwnPropertyDescriptor(G,w);X&&X.configurable&&z[w]===void 0&&Object.defineProperty(z,w,X)}return z}function c(){return(c=Object.assign||function(z){for(var G=1;G<arguments.length;G++){var P=arguments[G];for(var x in P)Object.prototype.hasOwnProperty.call(P,x)&&(z[x]=P[x])}return z}).apply(this,arguments)}function f(z,G){z.prototype=Object.create(G.prototype),u(z.prototype.constructor=z,G)}function l(z,G){if(z==null)return{};var P,x,w={},X=Object.keys(z);for(x=0;x<X.length;x++)P=X[x],0<=G.indexOf(P)||(w[P]=z[P]);return w}function m(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}var p=function(z,G,P,x,w,X,ae,le){if(!z){var ie;if(G===void 0)ie=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var ve=[P,x,w,X,ae,le],ce=0;(ie=new Error(G.replace(/%s/g,function(){return ve[ce++]}))).name="Invariant Violation"}throw ie.framesToPop=1,ie}},d=p;function b(z,G,P){if("selectionStart"in z&&"selectionEnd"in z)z.selectionStart=G,z.selectionEnd=P;else{var x=z.createTextRange();x.collapse(!0),x.moveStart("character",G),x.moveEnd("character",P-G),x.select()}}function h(z){var G=0,P=0;if("selectionStart"in z&&"selectionEnd"in z)G=z.selectionStart,P=z.selectionEnd;else{var x=document.selection.createRange();x.parentElement()===z&&(G=-x.moveStart("character",-z.value.length),P=-x.moveEnd("character",-z.value.length))}return{start:G,end:P,length:P-G}}var g={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},S="_";function y(z,G,P){var x="",w="",X=null,ae=[];if(G===void 0&&(G=S),P==null&&(P=g),!z||typeof z!="string")return{maskChar:G,formatChars:P,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var le=!1;return z.split("").forEach(function(ie){le=!le&&ie==="\\"||(le||!P[ie]?(ae.push(x.length),x.length===ae.length-1&&(w+=ie)):X=x.length+1,x+=ie,!1)}),{maskChar:G,formatChars:P,prefix:w,mask:x,lastEditablePosition:X,permanents:ae}}function D(z,G){return z.permanents.indexOf(G)!==-1}function O(z,G,P){var x=z.mask,w=z.formatChars;if(!P)return!1;if(D(z,G))return x[G]===P;var X=w[x[G]];return new RegExp(X).test(P)}function A(z,G){return G.split("").every(function(P,x){return D(z,x)||!O(z,x,P)})}function C(z,G){var P=z.maskChar,x=z.prefix;if(!P){for(;G.length>x.length&&D(z,G.length-1);)G=G.slice(0,G.length-1);return G.length}for(var w=x.length,X=G.length;X>=x.length;X--){var ae=G[X];if(!D(z,X)&&O(z,X,ae)){w=X+1;break}}return w}function k(z,G){return C(z,G)===z.mask.length}function T(z,G){var P=z.maskChar,x=z.mask,w=z.prefix;if(!P){for((G=L(z,"",G,0)).length<w.length&&(G=w);G.length<x.length&&D(z,G.length);)G+=x[G.length];return G}if(G)return L(z,T(z,""),G,0);for(var X=0;X<x.length;X++)D(z,X)?G+=x[X]:G+=P;return G}function _(z,G,P,x){var w=P+x,X=z.maskChar,ae=z.mask,le=z.prefix,ie=G.split("");if(X)return ie.map(function(ce,Me){return Me<P||w<=Me?ce:D(z,Me)?ae[Me]:X}).join("");for(var ve=w;ve<ie.length;ve++)D(z,ve)&&(ie[ve]="");return P=Math.max(le.length,P),ie.splice(P,w-P),G=ie.join(""),T(z,G)}function L(z,G,P,x){var w=z.mask,X=z.maskChar,ae=z.prefix,le=P.split(""),ie=k(z,G);return!X&&x>G.length&&(G+=w.slice(G.length,x)),le.every(function(ve){for(;je=ve,D(z,_e=x)&&je!==w[_e];){if(x>=G.length&&(G+=w[x]),ce=ve,Me=x,X&&D(z,Me)&&ce===X)return!0;if(++x>=w.length)return!1}var ce,Me,_e,je;return!O(z,x,ve)&&ve!==X||(x<G.length?G=X||ie||x<ae.length?G.slice(0,x)+ve+G.slice(x+1):(G=G.slice(0,x)+ve+G.slice(x),T(z,G)):X||(G+=ve),++x<w.length)}),G}function R(z,G,P,x){var w=z.mask,X=z.maskChar,ae=P.split(""),le=x;return ae.every(function(ie){for(;ce=ie,D(z,ve=x)&&ce!==w[ve];)if(++x>=w.length)return!1;var ve,ce;return(O(z,x,ie)||ie===X)&&x++,x<w.length}),x-le}function F(z,G){for(var P=G;0<=P;--P)if(!D(z,P))return P;return null}function Z(z,G){for(var P=z.mask,x=G;x<P.length;++x)if(!D(z,x))return x;return null}function ee(z){return z||z===0?z+"":""}function Y(z,G,P,x,w){var X=z.mask,ae=z.prefix,le=z.lastEditablePosition,ie=G,ve="",ce=0,Me=0,_e=Math.min(w.start,P.start);return P.end>w.start?Me=(ce=R(z,x,ve=ie.slice(w.start,P.end),_e))?w.length:0:ie.length<x.length&&(Me=x.length-ie.length),ie=x,Me&&(Me===1&&!w.length&&(_e=w.start===P.start?Z(z,P.start):F(z,P.start)),ie=_(z,ie,_e,Me)),ie=L(z,ie,ve,_e),(_e+=ce)>=X.length?_e=X.length:_e<ae.length&&!ce?_e=ae.length:_e>=ae.length&&_e<le&&ce&&(_e=Z(z,_e)),ve||(ve=null),{value:ie=T(z,ie),enteredString:ve,selection:{start:_e,end:_e}}}function ne(){var z=new RegExp("windows","i"),G=new RegExp("phone","i"),P=navigator.userAgent;return z.test(P)&&G.test(P)}function K(z){return typeof z=="function"}function fe(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame}function ge(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function H(z){return(ge()?fe():function(){return setTimeout(z,1e3/60)})(z)}function te(z){(ge()||clearTimeout)(z)}var oe=(function(z){function G(x){var w=z.call(this,x)||this;w.focused=!1,w.mounted=!1,w.previousSelection=null,w.selectionDeferId=null,w.saveSelectionLoopDeferId=null,w.saveSelectionLoop=function(){w.previousSelection=w.getSelection(),w.saveSelectionLoopDeferId=H(w.saveSelectionLoop)},w.runSaveSelectionLoop=function(){w.saveSelectionLoopDeferId===null&&w.saveSelectionLoop()},w.stopSaveSelectionLoop=function(){w.saveSelectionLoopDeferId!==null&&(te(w.saveSelectionLoopDeferId),w.saveSelectionLoopDeferId=null,w.previousSelection=null)},w.getInputDOMNode=function(){if(!w.mounted)return null;var pe=i.findDOMNode(m(m(w))),De=typeof window<"u"&&pe instanceof window.Element;if(pe&&!De)return null;if(pe.nodeName!=="INPUT"&&(pe=pe.querySelector("input")),!pe)throw new Error("react-input-mask: inputComponent doesn't contain input node");return pe},w.getInputValue=function(){var pe=w.getInputDOMNode();return pe?pe.value:null},w.setInputValue=function(pe){var De=w.getInputDOMNode();De&&(w.value=pe,De.value=pe)},w.setCursorToEnd=function(){var pe=C(w.maskOptions,w.value),De=Z(w.maskOptions,pe);De!==null&&w.setCursorPosition(De)},w.setSelection=function(pe,De,ke){ke===void 0&&(ke={});var Oe=w.getInputDOMNode(),we=w.isFocused();Oe&&we&&(ke.deferred||b(Oe,pe,De),w.selectionDeferId!==null&&te(w.selectionDeferId),w.selectionDeferId=H(function(){w.selectionDeferId=null,b(Oe,pe,De)}),w.previousSelection={start:pe,end:De,length:Math.abs(De-pe)})},w.getSelection=function(){return h(w.getInputDOMNode())},w.getCursorPosition=function(){return w.getSelection().start},w.setCursorPosition=function(pe){w.setSelection(pe,pe)},w.isFocused=function(){return w.focused},w.getBeforeMaskedValueChangeConfig=function(){var pe=w.maskOptions,De=pe.mask,ke=pe.maskChar,Oe=pe.permanents,we=pe.formatChars;return{mask:De,maskChar:ke,permanents:Oe,alwaysShowMask:!!w.props.alwaysShowMask,formatChars:we}},w.isInputAutofilled=function(pe,De,ke,Oe){var we=w.getInputDOMNode();try{if(we.matches(":-webkit-autofill"))return!0}catch{}return!w.focused||Oe.end<ke.length&&De.end===pe.length},w.onChange=function(pe){var De=m(m(w)).beforePasteState,ke=m(m(w)).previousSelection,Oe=w.props.beforeMaskedValueChange,we=w.getInputValue(),He=w.value,Ie=w.getSelection();w.isInputAutofilled(we,Ie,He,ke)&&(He=T(w.maskOptions,""),ke={start:0,end:0,length:0}),De&&(ke=De.selection,He=De.value,Ie={start:ke.start+we.length,end:ke.start+we.length,length:0},we=He.slice(0,ke.start)+we+He.slice(ke.end),w.beforePasteState=null);var lt=Y(w.maskOptions,we,Ie,He,ke),Mt=lt.enteredString,vt=lt.selection,It=lt.value;if(K(Oe)){var rt=Oe({value:It,selection:vt},{value:He,selection:ke},Mt,w.getBeforeMaskedValueChangeConfig());It=rt.value,vt=rt.selection}w.setInputValue(It),K(w.props.onChange)&&w.props.onChange(pe),w.isWindowsPhoneBrowser?w.setSelection(vt.start,vt.end,{deferred:!0}):w.setSelection(vt.start,vt.end)},w.onFocus=function(pe){var De=w.props.beforeMaskedValueChange,ke=w.maskOptions,Oe=ke.mask,we=ke.prefix;if(w.focused=!0,w.mounted=!0,Oe){if(w.value)C(w.maskOptions,w.value)<w.maskOptions.mask.length&&w.setCursorToEnd();else{var He=T(w.maskOptions,we),Ie=T(w.maskOptions,He),lt=C(w.maskOptions,Ie),Mt=Z(w.maskOptions,lt),vt={start:Mt,end:Mt};if(K(De)){var It=De({value:Ie,selection:vt},{value:w.value,selection:null},null,w.getBeforeMaskedValueChangeConfig());Ie=It.value,vt=It.selection}var rt=Ie!==w.getInputValue();rt&&w.setInputValue(Ie),rt&&K(w.props.onChange)&&w.props.onChange(pe),w.setSelection(vt.start,vt.end)}w.runSaveSelectionLoop()}K(w.props.onFocus)&&w.props.onFocus(pe)},w.onBlur=function(pe){var De=w.props.beforeMaskedValueChange,ke=w.maskOptions.mask;if(w.stopSaveSelectionLoop(),w.focused=!1,ke&&!w.props.alwaysShowMask&&A(w.maskOptions,w.value)){var Oe="";K(De)&&(Oe=De({value:Oe,selection:null},{value:w.value,selection:w.previousSelection},null,w.getBeforeMaskedValueChangeConfig()).value);var we=Oe!==w.getInputValue();we&&w.setInputValue(Oe),we&&K(w.props.onChange)&&w.props.onChange(pe)}K(w.props.onBlur)&&w.props.onBlur(pe)},w.onMouseDown=function(pe){if(!w.focused&&document.addEventListener){w.mouseDownX=pe.clientX,w.mouseDownY=pe.clientY,w.mouseDownTime=new Date().getTime();var De=function ke(Oe){if(document.removeEventListener("mouseup",ke),w.focused){var we=Math.abs(Oe.clientX-w.mouseDownX),He=Math.abs(Oe.clientY-w.mouseDownY),Ie=Math.max(we,He),lt=new Date().getTime()-w.mouseDownTime;(Ie<=10&&lt<=200||Ie<=5&&lt<=300)&&w.setCursorToEnd()}};document.addEventListener("mouseup",De)}K(w.props.onMouseDown)&&w.props.onMouseDown(pe)},w.onPaste=function(pe){K(w.props.onPaste)&&w.props.onPaste(pe),pe.defaultPrevented||(w.beforePasteState={value:w.getInputValue(),selection:w.getSelection()},w.setInputValue(""))},w.handleRef=function(pe){w.props.children==null&&K(w.props.inputRef)&&w.props.inputRef(pe)};var X=x.mask,ae=x.maskChar,le=x.formatChars,ie=x.alwaysShowMask,ve=x.beforeMaskedValueChange,ce=x.defaultValue,Me=x.value;w.maskOptions=y(X,ae,le),ce==null&&(ce=""),Me==null&&(Me=ce);var _e=ee(Me);if(w.maskOptions.mask&&(ie||_e)&&(_e=T(w.maskOptions,_e),K(ve))){var je=x.value;x.value==null&&(je=ce),_e=ve({value:_e,selection:null},{value:je=ee(je),selection:null},null,w.getBeforeMaskedValueChangeConfig()).value}return w.value=_e,w}f(G,z);var P=G.prototype;return P.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=ne(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},P.componentDidUpdate=function(){var x=this.previousSelection,w=this.props,X=w.beforeMaskedValueChange,ae=w.alwaysShowMask,le=w.mask,ie=w.maskChar,ve=w.formatChars,ce=this.maskOptions,Me=ae||this.isFocused(),_e=this.props.value!=null,je=_e?ee(this.props.value):this.value,pe=x?x.start:null;if(this.maskOptions=y(le,ie,ve),this.maskOptions.mask){!ce.mask&&this.isFocused()&&this.runSaveSelectionLoop();var De=this.maskOptions.mask&&this.maskOptions.mask!==ce.mask;if(ce.mask||_e||(je=this.getInputValue()),(De||this.maskOptions.mask&&(je||Me))&&(je=T(this.maskOptions,je)),De){var ke=C(this.maskOptions,je);(pe===null||ke<pe)&&(pe=k(this.maskOptions,je)?ke:Z(this.maskOptions,ke))}!this.maskOptions.mask||!A(this.maskOptions,je)||Me||_e&&this.props.value||(je="");var Oe={start:pe,end:pe};if(K(X)){var we=X({value:je,selection:Oe},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());je=we.value,Oe=we.selection}this.value=je;var He=this.getInputValue()!==this.value;He?(this.setInputValue(this.value),this.forceUpdate()):De&&this.forceUpdate();var Ie=!1;Oe.start!=null&&Oe.end!=null&&(Ie=!x||x.start!==Oe.start||x.end!==Oe.end),(Ie||He)&&this.setSelection(Oe.start,Oe.end)}else ce.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},P.componentWillUnmount=function(){this.mounted=!1,this.selectionDeferId!==null&&te(this.selectionDeferId),this.stopSaveSelectionLoop()},P.render=function(){var x,w=this.props,X=(w.mask,w.alwaysShowMask,w.maskChar,w.formatChars,w.inputRef,w.beforeMaskedValueChange,w.children),ae=l(w,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(X){K(X)||d(!1);var le=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],ie=c({},ae);le.forEach(function(ce){return delete ie[ce]}),x=X(ie),le.filter(function(ce){return x.props[ce]!=null&&x.props[ce]!==ae[ce]}).length&&d(!1)}else x=a.createElement("input",c({ref:this.handleRef},ae));var ve={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(ae.disabled||ae.readOnly||(ve.onChange=this.onChange,ve.onPaste=this.onPaste,ve.onMouseDown=this.onMouseDown),ae.value!=null&&(ve.value=this.value)),x=a.cloneElement(x,ve)},G})(a.Component);return Cf=oe,Cf}var Vy;function r3(){return Vy||(Vy=1,Ef.exports=t3()),Ef.exports}var Ky;function n3(){if(Ky)return is;Ky=1,Object.defineProperty(is,"__esModule",{value:!0}),is.default=d;var r=l(Pe()),a=c(r3()),i=c(W0()),u=Dl();function c(b){return b&&b.__esModule?b:{default:b}}function f(b){if(typeof WeakMap!="function")return null;var h=new WeakMap,g=new WeakMap;return(f=function(S){return S?g:h})(b)}function l(b,h){if(b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var g=f(h);if(g&&g.has(b))return g.get(b);var S={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in b)if(D!=="default"&&Object.prototype.hasOwnProperty.call(b,D)){var O=y?Object.getOwnPropertyDescriptor(b,D):null;O&&(O.get||O.set)?Object.defineProperty(S,D,O):S[D]=b[D]}return S.default=b,g&&g.set(b,S),S}function m(){return m=Object.assign?Object.assign.bind():function(b){for(var h=1;h<arguments.length;h++){var g=arguments[h];for(var S in g)Object.prototype.hasOwnProperty.call(g,S)&&(b[S]=g[S])}return b},m.apply(this,arguments)}const p=r.forwardRef(({startEnhancer:b,endEnhancer:h,error:g,positive:S,onChange:y,onFocus:D,onBlur:O,value:A,disabled:C,readOnly:k,...T},_)=>r.createElement(a.default,m({onChange:y,onFocus:D,onBlur:O,value:A,disabled:C,readOnly:k},T),L=>r.createElement(u.Input,m({ref:_,onChange:y,onFocus:D,onBlur:O,value:A,disabled:C,readOnly:k},L))));p.displayName="MaskOverride";function d({mask:b,maskChar:h,overrides:{Input:g={},...S}={},...y}){let D=p,O={},A={};typeof g=="function"?D=g:typeof g=="object"&&(D=g.component||D,O=g.props||{},A=g.style||{}),typeof O=="object"&&(O={...O,mask:O.mask||b,maskChar:O.maskChar||h});const C={Input:{component:D,props:O,style:A},...S};return r.createElement(i.default,m({},y,{overrides:C}))}return d.defaultProps={maskChar:" "},is}var Zy={},Xy;function a3(){return Xy||(Xy=1),Zy}var $y;function xs(){return $y||($y=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={StatefulInput:!0,StatefulContainer:!0,Input:!0,BaseInput:!0,MaskedInput:!0,StyledRoot:!0,StyledInputEnhancer:!0,StyledStartEnhancer:!0,StyledEndEnhancer:!0,StyledInputContainer:!0,StyledInput:!0,STATE_CHANGE_TYPE:!0,ADJOINED:!0,SIZE:!0,CUSTOM_INPUT_TYPE:!0};Object.defineProperty(r,"ADJOINED",{enumerable:!0,get:function(){return p.ADJOINED}}),Object.defineProperty(r,"BaseInput",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(r,"CUSTOM_INPUT_TYPE",{enumerable:!0,get:function(){return p.CUSTOM_INPUT_TYPE}}),Object.defineProperty(r,"Input",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"MaskedInput",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"SIZE",{enumerable:!0,get:function(){return p.SIZE}}),Object.defineProperty(r,"STATE_CHANGE_TYPE",{enumerable:!0,get:function(){return p.STATE_CHANGE_TYPE}}),Object.defineProperty(r,"StatefulContainer",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"StatefulInput",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"StyledEndEnhancer",{enumerable:!0,get:function(){return m.InputEnhancer}}),Object.defineProperty(r,"StyledInput",{enumerable:!0,get:function(){return m.Input}}),Object.defineProperty(r,"StyledInputContainer",{enumerable:!0,get:function(){return m.InputContainer}}),Object.defineProperty(r,"StyledInputEnhancer",{enumerable:!0,get:function(){return m.InputEnhancer}}),Object.defineProperty(r,"StyledRoot",{enumerable:!0,get:function(){return m.Root}}),Object.defineProperty(r,"StyledStartEnhancer",{enumerable:!0,get:function(){return m.InputEnhancer}});var i=b(e3()),u=b(q0()),c=b(W0()),f=b(K2()),l=b(n3()),m=Dl(),p=Sl(),d=a3();Object.keys(d).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(a,h)||h in r&&r[h]===d[h]||Object.defineProperty(r,h,{enumerable:!0,get:function(){return d[h]}})});function b(h){return h&&h.__esModule?h:{default:h}}})(Df)),Df}var Qy=xs();const i3={Root:{style:{width:"100%",borderWidth:"0",backgroundColor:"transparent",paddingLeft:"0",paddingRight:"0"}},InputContainer:{style:({$isFocused:r})=>({borderWidth:"1px",borderStyle:"solid",borderColor:"rgba(255, 255, 255, 0.08)",borderRadius:"4px",backgroundColor:"rgba(255, 255, 255, 0.03)",outline:r?"2px solid rgba(130, 50, 255, 0.95)":"none",outlineOffset:"-2px"})},Input:{style:{paddingTop:"10px",paddingRight:"12px",paddingBottom:"10px",paddingLeft:"12px",fontFamily:'"Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace',fontWeight:400,color:"rgba(255, 255, 255, 0.9)",fontSize:"12px",lineHeight:"1.5",letterSpacing:"-0.02em","::placeholder":{color:"rgba(255, 255, 255, 0.36)"}}}},o3=({overrides:r,spellCheck:a,...i})=>W.jsx(Qy.Input,{size:Qy.SIZE.compact,overrides:Er.mergeOverrides(i3,a===void 0?r:Er.mergeOverrides({Input:{props:{spellCheck:a}}},r)),...i}),Bs=re.forwardRef(({className:r,children:a,...i},u)=>W.jsx("div",{ref:u,className:E0("rz-scroll-area",r),...i,children:W.jsx("div",{className:"rz-scroll-viewport",children:a})}));Bs.displayName="ScrollArea";var _f={},rl={},Vr={},Jy;function Z2(){if(Jy)return Vr;Jy=1,Object.defineProperty(Vr,"__esModule",{value:!0}),Vr.StyledTextareaContainer=Vr.StyledTextarea=Vr.StyledTextAreaRoot=void 0;var r=At(),a=Dl();const i=Vr.StyledTextAreaRoot=(0,r.styled)("div",f=>({...(0,a.getRootStyles)({$positive:!1,...f,$hasIconTrailing:!1}),width:f.$resize?"fit-content":"100%"}));i.displayName="StyledTextAreaRoot",i.displayName="StyledTextAreaRoot";const u=Vr.StyledTextareaContainer=(0,r.styled)("div",f=>(0,a.getInputContainerStyles)({$positive:!1,...f}));u.displayName="StyledTextareaContainer",u.displayName="StyledTextareaContainer";const c=Vr.StyledTextarea=(0,r.styled)("textarea",f=>({...(0,a.getInputStyles)(f),resize:f.$resize||"none"}));return c.displayName="StyledTextarea",c.displayName="StyledTextarea",Vr}var e1;function X2(){if(e1)return rl;e1=1,Object.defineProperty(rl,"__esModule",{value:!0}),rl.default=void 0;var r=f(Pe()),a=_t(),i=xs(),u=Z2();function c(h){if(typeof WeakMap!="function")return null;var g=new WeakMap,S=new WeakMap;return(c=function(y){return y?S:g})(h)}function f(h,g){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var S=c(g);if(S&&S.has(h))return S.get(h);var y={__proto__:null},D=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in h)if(O!=="default"&&Object.prototype.hasOwnProperty.call(h,O)){var A=D?Object.getOwnPropertyDescriptor(h,O):null;A&&(A.get||A.set)?Object.defineProperty(y,O,A):y[O]=h[O]}return y.default=h,S&&S.set(h,y),y}function l(){return l=Object.assign?Object.assign.bind():function(h){for(var g=1;g<arguments.length;g++){var S=arguments[g];for(var y in S)Object.prototype.hasOwnProperty.call(S,y)&&(h[y]=S[y])}return h},l.apply(this,arguments)}function m(h,g,S){return g=p(g),g in h?Object.defineProperty(h,g,{value:S,enumerable:!0,configurable:!0,writable:!0}):h[g]=S,h}function p(h){var g=d(h,"string");return typeof g=="symbol"?g:String(g)}function d(h,g){if(typeof h!="object"||!h)return h;var S=h[Symbol.toPrimitive];if(S!==void 0){var y=S.call(h,g);if(typeof y!="object")return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return(g==="string"?String:Number)(h)}class b extends r.Component{constructor(...g){super(...g),m(this,"state",{isFocused:this.props.autoFocus||!1}),m(this,"onFocus",S=>{this.setState({isFocused:!0}),this.props.onFocus(S)}),m(this,"onBlur",S=>{this.setState({isFocused:!1}),this.props.onBlur(S)})}render(){const{overrides:g={}}=this.props,[S,y]=(0,a.getOverrides)(g.Root,u.StyledTextAreaRoot),D=(0,a.mergeOverrides)({Input:{component:u.StyledTextarea},InputContainer:{component:u.StyledTextareaContainer}},g);return r.createElement(S,l({"data-baseweb":"textarea",$isFocused:this.state.isFocused,$isReadOnly:this.props.readOnly,$disabled:this.props.disabled,$error:this.props.error,$positive:this.props.positive,$required:this.props.required,$resize:this.props.resize},y),r.createElement(i.BaseInput,l({},this.props,{type:i.CUSTOM_INPUT_TYPE.textarea,overrides:D,onFocus:this.onFocus,onBlur:this.onBlur,resize:this.props.resize})))}}return m(b,"defaultProps",{autoFocus:!1,disabled:!1,readOnly:!1,error:!1,name:"",onBlur:()=>{},onChange:()=>{},onKeyDown:()=>{},onKeyPress:()=>{},onKeyUp:()=>{},onFocus:()=>{},overrides:{},placeholder:"",required:!1,rows:3,size:i.SIZE.default}),rl.default=b,rl}var os={},nl={},t1;function $2(){if(t1)return nl;t1=1,Object.defineProperty(nl,"__esModule",{value:!0}),nl.default=void 0;var r=xs();return nl.default=r.StatefulContainer,nl}var r1;function l3(){if(r1)return os;r1=1,Object.defineProperty(os,"__esModule",{value:!0}),os.default=l;var r=f(Pe()),a=u($2()),i=u(X2());function u(m){return m&&m.__esModule?m:{default:m}}function c(m){if(typeof WeakMap!="function")return null;var p=new WeakMap,d=new WeakMap;return(c=function(b){return b?d:p})(m)}function f(m,p){if(m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var d=c(p);if(d&&d.has(m))return d.get(m);var b={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in m)if(g!=="default"&&Object.prototype.hasOwnProperty.call(m,g)){var S=h?Object.getOwnPropertyDescriptor(m,g):null;S&&(S.get||S.set)?Object.defineProperty(b,g,S):b[g]=m[g]}return b.default=m,d&&d.set(m,b),b}function l(m){return r.createElement(a.default,m,p=>r.createElement(i.default,p))}return os}var Tf={},n1;function u3(){return n1||(n1=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ADJOINED",{enumerable:!0,get:function(){return a.ADJOINED}}),Object.defineProperty(r,"SIZE",{enumerable:!0,get:function(){return a.SIZE}}),Object.defineProperty(r,"STATE_CHANGE_TYPE",{enumerable:!0,get:function(){return a.STATE_CHANGE_TYPE}});var a=xs()})(Tf)),Tf}var a1={},i1;function s3(){return i1||(i1=1),a1}var o1;function c3(){return o1||(o1=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a={Textarea:!0,StatefulTextarea:!0,StatefulContainer:!0,StyledTextareaContainer:!0,StyledTextarea:!0,STATE_CHANGE_TYPE:!0,SIZE:!0};Object.defineProperty(r,"SIZE",{enumerable:!0,get:function(){return l.SIZE}}),Object.defineProperty(r,"STATE_CHANGE_TYPE",{enumerable:!0,get:function(){return l.STATE_CHANGE_TYPE}}),Object.defineProperty(r,"StatefulContainer",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"StatefulTextarea",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"StyledTextarea",{enumerable:!0,get:function(){return f.StyledTextarea}}),Object.defineProperty(r,"StyledTextareaContainer",{enumerable:!0,get:function(){return f.StyledTextareaContainer}}),Object.defineProperty(r,"Textarea",{enumerable:!0,get:function(){return i.default}});var i=p(X2()),u=p(l3()),c=p($2()),f=Z2(),l=u3(),m=s3();Object.keys(m).forEach(function(d){d==="default"||d==="__esModule"||Object.prototype.hasOwnProperty.call(a,d)||d in r&&r[d]===m[d]||Object.defineProperty(r,d,{enumerable:!0,get:function(){return m[d]}})});function p(d){return d&&d.__esModule?d:{default:d}}})(_f)),_f}var l1=c3();const d3={Root:{style:{width:"100%",borderWidth:"0",backgroundColor:"transparent",paddingLeft:"0",paddingRight:"0"}},InputContainer:{style:({$isFocused:r})=>({borderWidth:"1px",borderStyle:"solid",borderColor:"rgba(255, 255, 255, 0.08)",borderRadius:"4px",backgroundColor:"rgba(255, 255, 255, 0.03)",outline:r?"2px solid rgba(130, 50, 255, 0.95)":"none",outlineOffset:"-2px",alignItems:"stretch"})},Input:{style:{minHeight:"112px",display:"block",alignSelf:"stretch",resize:"none",paddingTop:"12px",paddingRight:"12px",paddingBottom:"12px",paddingLeft:"12px",fontFamily:'"Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace',fontWeight:400,color:"rgba(255, 255, 255, 0.9)",fontSize:"12px",lineHeight:"1.5",letterSpacing:"-0.02em","::placeholder":{color:"rgba(255, 255, 255, 0.36)"}}}},f3=({overrides:r,rows:a=6,spellCheck:i,...u})=>W.jsx(l1.Textarea,{rows:a,size:l1.SIZE.compact,overrides:Er.mergeOverrides(d3,i===void 0?r:Er.mergeOverrides({Input:{props:{spellCheck:i}}},r)),...u});var ls={},u1;function Q2(){if(u1)return ls;u1=1,Object.defineProperty(ls,"__esModule",{value:!0}),ls.Segment=r;function r(a){return null}return ls}var p3=Q2(),kf={},Vn={},s1;function Ol(){return s1||(s1=1,Object.defineProperty(Vn,"__esModule",{value:!0}),Vn.STATE_CHANGE_TYPE=Vn.FILL=void 0,Vn.FILL={fixed:"fixed",intrinsic:"intrinsic"},Vn.STATE_CHANGE_TYPE={change:"change"}),Vn}var us={},ss={},tt={},$t={},c1;function G0(){if(c1)return $t;c1=1,Object.defineProperty($t,"__esModule",{value:!0}),$t.isRTL=$t.isIntrinsic=$t.isFixed=$t.getSegmentPanelId=$t.getSegmentId=void 0;var r=Ol();const a=(l,m)=>`segments-${l}-segment-${m}`;$t.getSegmentId=a;const i=(l,m)=>`segments-${l}-segmentpanel-${m}`;$t.getSegmentPanelId=i;const u=l=>l==="rtl";$t.isRTL=u;const c=l=>l===r.FILL.intrinsic;$t.isIntrinsic=c;const f=l=>l===r.FILL.fixed;return $t.isFixed=f,$t}var d1;function J2(){if(d1)return tt;d1=1,Object.defineProperty(tt,"__esModule",{value:!0}),tt.StyledSegmentPanel=tt.StyledSegmentList=tt.StyledSegment=tt.StyledRoot=tt.StyledLabelBlock=tt.StyledLabel=tt.StyledDescription=tt.StyledBadgeHint=tt.StyledBadge=tt.StyledArtworkContainer=tt.StyledActive=void 0;var r=At(),a=Ol(),i=G0();const u=tt.StyledRoot=(0,r.styled)("div",({$theme:y,$fill:D=a.FILL.intrinsic,$height:O="fit-content",$width:A="fit-content"})=>{const C={backgroundColor:y.colors.backgroundSecondary,borderRadius:y.sizing.scale500,boxSizing:"border-box",isolation:"isolate",padding:y.sizing.scale100,position:"relative",overflow:"hidden",height:O,width:A};return(0,i.isIntrinsic)(D)&&(C["::-webkit-scrollbar"]={display:"none"},C["-ms-overflow-style"]="none",C.scrollbarWidth="none"),C});u.displayName="StyledRoot",u.displayName="StyledRoot";const c=tt.StyledSegmentList=(0,r.styled)("div",({$theme:y})=>({backgroundColor:y.colors.backgroundSecondary,boxSizing:"border-box",display:"flex",height:"100%",justifyContent:"space-evenly",position:"relative",width:"100%",zIndex:-2,flexDirection:"row",overflow:"hidden",minHeight:"40px"}));c.displayName="StyledSegmentList",c.displayName="StyledSegmentList";const f=tt.StyledSegment=(0,r.styled)("button",({$theme:y,$fill:D=a.FILL.intrinsic,$focusVisible:O=!1,$isActive:A=!1})=>{const C={cursor:"pointer",position:"relative",WebkitAppearance:"none",marginLeft:"0",marginRight:"0",marginTop:"0",marginBottom:"0",boxSizing:"border-box",display:"grid",alignItems:"center",paddingInline:y.sizing.scale500,paddingBlock:y.sizing.scale300,borderLeftWidth:0,borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderRadius:y.sizing.scale300,color:A?y.colors.contentPrimary:y.colors.contentTertiary,backgroundColor:"transparent",flexGrow:1,transitionProperty:"box-shadow, color",transitionDuration:y.animation.timing200,transitionTimingFunction:y.animation.linearCurve,outline:"none",outlineOffset:"-3px",justifyContent:"center",overflow:"hidden",":hover":{boxShadow:A?"none":y.lighting.overlay100},":disabled":{cursor:"not-allowed",color:y.colors.contentStateDisabled,":hover":{boxShadow:"none"}},":disabled:hover":{background:"none"}};return O&&(C.outline=`3px solid ${y.colors.accent}`),(0,i.isFixed)(D)&&(C.flexGrow=1,C.flexBasis=0),C});f.displayName="StyledSegment",f.displayName="StyledSegment";const l=tt.StyledArtworkContainer=(0,r.styled)("div",()=>({display:"flex",height:"14px",width:"14px",alignItems:"center"}));l.displayName="StyledArtworkContainer",l.displayName="StyledArtworkContainer";const m=tt.StyledActive=(0,r.styled)("div",({$theme:y,$length:D=0,$distance:O=0,$animate:A=!1})=>{const C={position:"absolute",borderRadius:y.sizing.scale300,boxSizing:"border-box",height:"100%",width:"100%",border:`${y.sizing.scale0} solid ${y.colors.primary}`,backgroundColor:y.colors.backgroundPrimary,zIndex:-1};return C.bottom="0px",C.left="0px",C.width=`${D}px`,C.transform=`translateX(${O}px)`,A&&(C.transitionProperty="all",C.transitionDuration=y.animation.timing400,C.transitionTimingFunction=y.animation.easeInOutQuinticCurve),C});m.displayName="StyledActive",m.displayName="StyledActive";const p=tt.StyledSegmentPanel=(0,r.styled)("div",({$theme:y,$pad:D=!0})=>{const O={flexGrow:1,outline:"none"};return D&&(O.paddingTop=y.sizing.scale600,O.paddingRight=y.sizing.scale600,O.paddingBottom=y.sizing.scale600,O.paddingLeft=y.sizing.scale600),O});p.displayName="StyledSegmentPanel",p.displayName="StyledSegmentPanel";const d=tt.StyledLabel=(0,r.styled)("div",({$theme:y})=>({...y.typography.LabelSmall,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",position:"relative"}));d.displayName="StyledLabel";const b=tt.StyledDescription=(0,r.styled)("div",({$theme:y})=>({...y.typography.ParagraphXSmall,padding:0,margin:0,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",position:"relative"}));b.displayName="StyledDescription";const h=tt.StyledLabelBlock=(0,r.styled)("div",({$theme:y})=>({display:"flex",gridGap:y.sizing.scale100,alignItems:"center",position:"relative",justifyContent:"center",overflow:"hidden"}));h.displayName="StyledLabelBlock";const g=tt.StyledBadge=(0,r.styled)("div",({$theme:y})=>({...y.typography.ParagraphXSmall,width:"16px",height:"16px",display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",backgroundColor:y.colors.accent,color:y.colors.white}));g.displayName="StyledBadge";const S=tt.StyledBadgeHint=(0,r.styled)("div",({$theme:y})=>({width:"8px",height:"8px",display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",backgroundColor:y.colors.accent,color:y.colors.accent,alignSelf:"start",marginLeft:"-2px"}));return S.displayName="StyledBadgeHint",tt}var f1;function e5(){if(f1)return ss;f1=1,Object.defineProperty(ss,"__esModule",{value:!0}),ss.SegmentedControl=y;var r=d(Pe()),a=ks,i=At(),u=_t(),c=ni(),f=Ol(),l=J2(),m=G0();function p(O){if(typeof WeakMap!="function")return null;var A=new WeakMap,C=new WeakMap;return(p=function(k){return k?C:A})(O)}function d(O,A){if(O&&O.__esModule)return O;if(O===null||typeof O!="object"&&typeof O!="function")return{default:O};var C=p(A);if(C&&C.has(O))return C.get(O);var k={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in O)if(_!=="default"&&Object.prototype.hasOwnProperty.call(O,_)){var L=T?Object.getOwnPropertyDescriptor(O,_):null;L&&(L.get||L.set)?Object.defineProperty(k,_,L):k[_]=O[_]}return k.default=O,C&&C.set(O,k),k}function b(){return b=Object.assign?Object.assign.bind():function(O){for(var A=1;A<arguments.length;A++){var C=arguments[A];for(var k in C)Object.prototype.hasOwnProperty.call(C,k)&&(O[k]=C[k])}return O},b.apply(this,arguments)}const h={next:"next",previous:"previous"},g=O=>{if(!O)return{length:0,distance:0};let{width:A}=O.getBoundingClientRect();return A=Math.floor(A),{length:A,distance:O.offsetLeft}},S=O=>{const{x:A,y:C,width:k,height:T}=O.parentNode.getBoundingClientRect(),{x:_,y:L,width:R,height:F}=O.getBoundingClientRect(),Z={x:_-A+R/2,y:L-C+F/2},{scrollLeft:ee,scrollTop:Y}=O.parentNode,ne={x:ee+Z.x-k/2,y:Y+Z.y-T/2};O.parentNode.scroll(ne.x,ne.y)};function y({activeKey:O="0",disabled:A=!1,children:C,fill:k=f.FILL.intrinsic,activateOnFocus:T=!0,onChange:_,overrides:L={},uid:R,width:F,height:Z}){const ee=(0,a.useUID)(),Y=R||ee,{Root:ne,Active:K}=L,[fe,ge]=(0,u.getOverrides)(ne,l.StyledRoot),[H,te]=(0,u.getOverrides)(K,l.StyledActive),[oe,z]=(0,u.getOverrides)(L.SegmentList,l.StyledSegmentList),[G,P]=r.useState(0);r.useEffect(()=>{P(G+1)},[O]);const x=r.useRef(),[w,X]=r.useState({length:0,distance:0}),ae=r.useCallback(()=>{x.current&&X(g(x.current))},[x.current]);r.useEffect(ae,[x.current]),r.useEffect(()=>{x.current&&x.current.parentNode.scrollWidth>x.current.parentNode.clientWidth&&(G>1?x.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"}):S(x.current))},[x.current]);const le={$fill:k},[,ie]=(0,i.useStyletron)(),ve=r.useCallback(ce=>{if((0,m.isRTL)(ie.direction))switch(ce.keyCode){case 39:return h.previous;case 37:return h.next;default:return null}else switch(ce.keyCode){case 37:return h.previous;case 39:return h.next;default:return null}},[ie.direction]);return r.createElement(fe,b({},le,ge,{$width:F,$height:Z}),r.createElement(oe,b({"data-baseweb":"segmented-list",role:"listbox","aria-label":"segmented control"},z),r.Children.map(C,(ce,Me)=>{if(ce)return r.createElement(D,b({childKey:ce.key,childIndex:Me,activeKey:O,activeSegmentRef:x,updateHighlight:ae,parseKeyDown:ve,activateOnFocus:T,uid:Y,disabled:A,sharedStylingProps:le,onChange:_,setKeyUpdated:P},ce.props))}),r.createElement(H,b({"data-baseweb":"segment-highlight",$length:w.length,$distance:w.distance,$animate:G>1,"aria-hidden":"true",role:"presentation"},le,te))))}function D({childKey:O,childIndex:A,activeKey:C,activeSegmentRef:k,updateHighlight:T,parseKeyDown:_,activateOnFocus:L,uid:R,disabled:F,sharedStylingProps:Z,onChange:ee,setKeyUpdated:Y,...ne}){const K=O||String(A),fe=K==C,{artwork:ge,overrides:H={},segmentRef:te,onClick:oe,label:z,description:G,badge:P,badgeHint:x,...w}=ne,X=r.useRef();r.useImperativeHandle(te,()=>fe?k.current:X.current);const ae=r.useRef({length:0,distance:0});r.useEffect(()=>{ae.current=g(fe?k.current:X.current)}),r.useEffect(()=>{if(window.ResizeObserver){const se=new window.ResizeObserver(ue=>{if(ue[0]&&ue[0].target){const me=g(ue[0].target);(me.length!==ae.current.length||me.distance!==ae.current.distance)&&(Y(1),T())}});return se.observe(fe?k.current:X.current),()=>{se.disconnect()}}},[C]),r.useEffect(T,[z]);const{Segment:le,ArtworkContainer:ie,LabelBlock:ve,Label:ce,Description:Me,Badge:_e,BadgeHint:je}=H,[pe,De]=(0,u.getOverrides)(le,l.StyledSegment),[ke,Oe]=(0,u.getOverrides)(ve,l.StyledLabelBlock),[we,He]=(0,u.getOverrides)(ie,l.StyledArtworkContainer),[Ie,lt]=(0,u.getOverrides)(ce,l.StyledLabel),[Mt,vt]=(0,u.getOverrides)(Me,l.StyledDescription),[It,rt]=(0,u.getOverrides)(_e,l.StyledBadge),[ii,Jn]=(0,u.getOverrides)(je,l.StyledBadgeHint),[Tr,mr]=r.useState(!1),ea=r.useCallback(se=>{(0,c.isFocusVisible)(se)&&mr(!0)},[]),ta=r.useCallback(se=>{Tr!==!1&&mr(!1)},[Tr]),ra=r.useCallback(se=>{const ue=[...se.target.parentNode.childNodes].filter(We=>!We.disabled&&We.getAttribute("role")==="option");if(ue.length===1)return;const me=ue.indexOf(se.target),Qe=_(se);if(Qe){let We;Qe===h.previous?ue[me-1]?We=ue[me-1]:We=ue[ue.length-1]:Qe===h.next&&(ue[me+1]?We=ue[me+1]:We=ue[0]),We&&(We.focus(),L&&We.click())}});return r.createElement(pe,b({"data-baseweb":"segment",key:K,id:(0,m.getSegmentId)(R,K),role:"option",onKeyDown:ra,"aria-selected":fe,tabIndex:fe?"0":"-1",ref:fe?k:X,disabled:!fe&&F,type:"button",$focusVisible:Tr,$isActive:fe,$hasArtwork:!!ge,$hasLabel:!!z},Z,w,De,{onClick:se=>{typeof ee=="function"&&ee({activeKey:K}),typeof oe=="function"&&oe(se)},onFocus:(0,c.forkFocus)({...w,...De},ea),onBlur:(0,c.forkBlur)({...w,...De},ta)}),r.createElement(ke,Oe,!!ge&&r.createElement(we,b({"data-baseweb":"artwork-container"},Z,He),r.createElement(ge,{size:20,color:"contentPrimary"})),!!z&&r.createElement(Ie,lt,z||K),!!P&&r.createElement(It,rt,P),x&&r.createElement(ii,Jn)),G?r.createElement(Mt,b({},Me,vt),G):null)}return ss}var p1;function g3(){if(p1)return us;p1=1,Object.defineProperty(us,"__esModule",{value:!0}),us.StatefulSegmentedControl=p;var r=c(Pe()),a=e5(),i=Ol();function u(d){if(typeof WeakMap!="function")return null;var b=new WeakMap,h=new WeakMap;return(u=function(g){return g?h:b})(d)}function c(d,b){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var h=u(b);if(h&&h.has(d))return h.get(d);var g={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var D=S?Object.getOwnPropertyDescriptor(d,y):null;D&&(D.get||D.set)?Object.defineProperty(g,y,D):g[y]=d[y]}return g.default=d,h&&h.set(d,g),g}function f(){return f=Object.assign?Object.assign.bind():function(d){for(var b=1;b<arguments.length;b++){var h=arguments[b];for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&(d[g]=h[g])}return d},f.apply(this,arguments)}const l=(d,b)=>b&&b.activeKey?b:{activeKey:r.Children.map(d,(g,S)=>g.key||String(S))?.[0]},m=(d,b)=>b.type===i.STATE_CHANGE_TYPE.change?{activeKey:b.payload}:d;function p(d){const{children:b,initialState:h,stateReducer:g=m,onChange:S,...y}=d,[D,O]=r.useReducer(g,l(b,h)),A=r.useCallback(C=>{const{activeKey:k}=C;O({type:i.STATE_CHANGE_TYPE.change,payload:k}),typeof S=="function"&&S(C)},[]);return r.createElement(a.SegmentedControl,f({},y,{activeKey:D.activeKey,onChange:A}),b)}return us}var g1={},v1;function v3(){return v1||(v1=1),g1}var h1;function h3(){return h1||(h1=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0});var a=Ol();Object.keys(a).forEach(function(p){p==="default"||p==="__esModule"||p in r&&r[p]===a[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return a[p]}})});var i=g3();Object.keys(i).forEach(function(p){p==="default"||p==="__esModule"||p in r&&r[p]===i[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return i[p]}})});var u=J2();Object.keys(u).forEach(function(p){p==="default"||p==="__esModule"||p in r&&r[p]===u[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return u[p]}})});var c=Q2();Object.keys(c).forEach(function(p){p==="default"||p==="__esModule"||p in r&&r[p]===c[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return c[p]}})});var f=e5();Object.keys(f).forEach(function(p){p==="default"||p==="__esModule"||p in r&&r[p]===f[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return f[p]}})});var l=G0();Object.keys(l).forEach(function(p){p==="default"||p==="__esModule"||p in r&&r[p]===l[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return l[p]}})});var m=v3();Object.keys(m).forEach(function(p){p==="default"||p==="__esModule"||p in r&&r[p]===m[p]||Object.defineProperty(r,p,{enumerable:!0,get:function(){return m[p]}})})})(kf)),kf}var m3=h3();const b3={Root:{style:{display:"inline-flex",width:"fit-content",maxWidth:"100%",paddingTop:"2px",paddingRight:"2px",paddingBottom:"2px",paddingLeft:"2px",border:"1px solid rgba(255, 255, 255, 0.08)",borderRadius:"4px",backgroundColor:"rgba(255, 255, 255, 0.04)",overflow:"hidden"}},SegmentList:{style:{display:"inline-flex",width:"fit-content",minHeight:"22px",maxWidth:"100%",alignItems:"center",gap:"2px",overflow:"hidden",minWidth:"unset",backgroundColor:"transparent",zIndex:0}},Active:{style:{backgroundColor:"#ffffff",borderRadius:"2px",zIndex:-1}}},y3={Segment:{style:({$isActive:r,$disabled:a,$isFocusVisible:i})=>({minHeight:"22px",minWidth:"auto",paddingTop:"3px",paddingRight:"9px",paddingBottom:"3px",paddingLeft:"9px",borderRadius:"2px",backgroundColor:"transparent",color:r?"#000000":"rgba(255, 255, 255, 0.6)",fontSize:"12px",fontWeight:500,lineHeight:1.2,transitionProperty:"background-color, color",transitionDuration:"120ms",outline:i?"2px solid rgba(130, 50, 255, 0.95)":"none",outlineOffset:"-2px",cursor:a?"default":"pointer",opacity:a?.4:1,":hover":a||r?void 0:{color:"#ffffff"}})},LabelBlock:{style:{paddingTop:"0",paddingRight:"0",paddingBottom:"0",paddingLeft:"0"}},Label:{style:{fontSize:"12px",fontWeight:500,lineHeight:1.2,color:"inherit"}}},Y0=({value:r,options:a,onChange:i,"aria-label":u})=>W.jsx(m3.SegmentedControl,{activeKey:r,onChange:({activeKey:c})=>i(String(c)),overrides:Er.mergeOverrides(b3,{Root:{props:{"aria-label":u}}}),children:a.map(c=>W.jsx(p3.Segment,{label:c.label,disabled:c.disabled,overrides:y3},c.key))}),m1=({commandType:r,commandPayload:a,flows:i,flowRuns:u,hasRunningFlow:c,presets:f,canDispatch:l,onRunFlow:m,onStopFlow:p,onCommandTypeChange:d,onCommandPayloadChange:b,onApplyPreset:h,onReset:g,onSubmit:S})=>{const[y,D]=re.useState("dispatch"),O=f.map(C=>({id:C.displayName,label:C.displayName,item:C})),A=W.jsx(Ya,{type:"button",variant:"default","aria-label":f.length>0?"Open presets":"No presets available",title:f.length>0?"Presets":"No presets available",disabled:f.length===0,overrides:{BaseButton:{style:{borderRadius:"6px",backgroundColor:"rgba(255, 255, 255, 0.04)",color:"rgba(255, 255, 255, 0.88)"}}},children:W.jsx(cT,{})});return W.jsx("div",{className:"rz-pane",children:W.jsxs("div",{className:"rz-sidebar",children:[W.jsx("div",{className:"rz-sidebar-header",children:W.jsx("div",{className:"rz-sidebar-title",children:"Actions"})}),W.jsx(Bs,{className:"rz-sidebar-scroll",children:W.jsxs("div",{className:"rz-action-tabs rz-command-form",children:[W.jsxs("div",{className:"rz-action-tabs-header",children:[W.jsx(Y0,{"aria-label":"Action modes",value:y,onChange:C=>D(C),options:[{key:"dispatch",label:"Dispatch"},{key:"flows",label:"Flows"}]}),y==="dispatch"?f.length>0?W.jsx(Vk,{items:O,onSelect:h,children:A}):A:null]}),y==="dispatch"?W.jsx("div",{className:"rz-action-tab-panel",children:W.jsxs("form",{className:"rz-action-form",onSubmit:S,children:[W.jsxs("div",{className:"rz-field",children:[W.jsx("label",{className:"rz-label",htmlFor:"command-type",children:"Command"}),W.jsx(o3,{id:"command-type",value:r,onChange:C=>d(C.currentTarget.value),placeholder:"get-snapshot",spellCheck:!1})]}),W.jsxs("div",{className:"rz-field",children:[W.jsx("label",{className:"rz-label",htmlFor:"command-payload",children:"Payload"}),W.jsx(f3,{id:"command-payload",value:a,onChange:C=>b(C.currentTarget.value),placeholder:'{"example": true}',spellCheck:!1})]}),W.jsxs("div",{className:"rz-button-row",children:[W.jsx(Ya,{type:"button",variant:"default","aria-label":"Reset dispatcher",title:"Reset dispatcher",onClick:g,children:W.jsx($S,{})}),W.jsx(Ya,{type:"submit",variant:"primary","aria-label":"Dispatch message",title:"Dispatch message",disabled:!l,children:W.jsx(QS,{})})]})]})}):null,y==="flows"?W.jsx("div",{className:"rz-action-tab-panel",children:W.jsx(ST,{flows:i,flowRuns:u,hasRunningFlow:c,onRunFlow:m,onStopFlow:p})}):null]})})]})})};var Af={exports:{}},Mf,b1;function t5(){return b1||(b1=1,Mf={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),Mf}var wf={exports:{}},Pf,y1;function S3(){return y1||(y1=1,Pf=function(a){return!a||typeof a=="string"?!1:a instanceof Array||Array.isArray(a)||a.length>=0&&(a.splice instanceof Function||Object.getOwnPropertyDescriptor(a,a.length-1)&&a.constructor.name!=="String")}),Pf}var S1;function D3(){if(S1)return wf.exports;S1=1;var r=S3(),a=Array.prototype.concat,i=Array.prototype.slice,u=wf.exports=function(f){for(var l=[],m=0,p=f.length;m<p;m++){var d=f[m];r(d)?l=a.call(l,i.call(d)):l.push(d)}return l};return u.wrap=function(c){return function(){return c(u(arguments))}},wf.exports}var D1;function O3(){if(D1)return Af.exports;D1=1;var r=t5(),a=D3(),i=Object.hasOwnProperty,u=Object.create(null);for(var c in r)i.call(r,c)&&(u[r[c]]=c);var f=Af.exports={to:{},get:{}};f.get=function(p){var d=p.substring(0,3).toLowerCase(),b,h;switch(d){case"hsl":b=f.get.hsl(p),h="hsl";break;case"hwb":b=f.get.hwb(p),h="hwb";break;default:b=f.get.rgb(p),h="rgb";break}return b?{model:h,value:b}:null},f.get.rgb=function(p){if(!p)return null;var d=/^#([a-f0-9]{3,4})$/i,b=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,h=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,g=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,S=/^(\w+)$/,y=[0,0,0,1],D,O,A;if(D=p.match(b)){for(A=D[2],D=D[1],O=0;O<3;O++){var C=O*2;y[O]=parseInt(D.slice(C,C+2),16)}A&&(y[3]=parseInt(A,16)/255)}else if(D=p.match(d)){for(D=D[1],A=D[3],O=0;O<3;O++)y[O]=parseInt(D[O]+D[O],16);A&&(y[3]=parseInt(A+A,16)/255)}else if(D=p.match(h)){for(O=0;O<3;O++)y[O]=parseInt(D[O+1],0);D[4]&&(D[5]?y[3]=parseFloat(D[4])*.01:y[3]=parseFloat(D[4]))}else if(D=p.match(g)){for(O=0;O<3;O++)y[O]=Math.round(parseFloat(D[O+1])*2.55);D[4]&&(D[5]?y[3]=parseFloat(D[4])*.01:y[3]=parseFloat(D[4]))}else return(D=p.match(S))?D[1]==="transparent"?[0,0,0,0]:i.call(r,D[1])?(y=r[D[1]],y[3]=1,y):null:null;for(O=0;O<3;O++)y[O]=l(y[O],0,255);return y[3]=l(y[3],0,1),y},f.get.hsl=function(p){if(!p)return null;var d=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,b=p.match(d);if(b){var h=parseFloat(b[4]),g=(parseFloat(b[1])%360+360)%360,S=l(parseFloat(b[2]),0,100),y=l(parseFloat(b[3]),0,100),D=l(isNaN(h)?1:h,0,1);return[g,S,y,D]}return null},f.get.hwb=function(p){if(!p)return null;var d=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,b=p.match(d);if(b){var h=parseFloat(b[4]),g=(parseFloat(b[1])%360+360)%360,S=l(parseFloat(b[2]),0,100),y=l(parseFloat(b[3]),0,100),D=l(isNaN(h)?1:h,0,1);return[g,S,y,D]}return null},f.to.hex=function(){var p=a(arguments);return"#"+m(p[0])+m(p[1])+m(p[2])+(p[3]<1?m(Math.round(p[3]*255)):"")},f.to.rgb=function(){var p=a(arguments);return p.length<4||p[3]===1?"rgb("+Math.round(p[0])+", "+Math.round(p[1])+", "+Math.round(p[2])+")":"rgba("+Math.round(p[0])+", "+Math.round(p[1])+", "+Math.round(p[2])+", "+p[3]+")"},f.to.rgb.percent=function(){var p=a(arguments),d=Math.round(p[0]/255*100),b=Math.round(p[1]/255*100),h=Math.round(p[2]/255*100);return p.length<4||p[3]===1?"rgb("+d+"%, "+b+"%, "+h+"%)":"rgba("+d+"%, "+b+"%, "+h+"%, "+p[3]+")"},f.to.hsl=function(){var p=a(arguments);return p.length<4||p[3]===1?"hsl("+p[0]+", "+p[1]+"%, "+p[2]+"%)":"hsla("+p[0]+", "+p[1]+"%, "+p[2]+"%, "+p[3]+")"},f.to.hwb=function(){var p=a(arguments),d="";return p.length>=4&&p[3]!==1&&(d=", "+p[3]),"hwb("+p[0]+", "+p[1]+"%, "+p[2]+"%"+d+")"},f.to.keyword=function(p){return u[p.slice(0,3)]};function l(p,d,b){return Math.min(Math.max(d,p),b)}function m(p){var d=Math.round(p).toString(16).toUpperCase();return d.length<2?"0"+d:d}return Af.exports}var Rf,O1;function r5(){if(O1)return Rf;O1=1;const r=t5(),a={};for(const c of Object.keys(r))a[r[c]]=c;const i={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};Rf=i;for(const c of Object.keys(i)){if(!("channels"in i[c]))throw new Error("missing channels property: "+c);if(!("labels"in i[c]))throw new Error("missing channel labels property: "+c);if(i[c].labels.length!==i[c].channels)throw new Error("channel and label counts mismatch: "+c);const{channels:f,labels:l}=i[c];delete i[c].channels,delete i[c].labels,Object.defineProperty(i[c],"channels",{value:f}),Object.defineProperty(i[c],"labels",{value:l})}i.rgb.hsl=function(c){const f=c[0]/255,l=c[1]/255,m=c[2]/255,p=Math.min(f,l,m),d=Math.max(f,l,m),b=d-p;let h,g;d===p?h=0:f===d?h=(l-m)/b:l===d?h=2+(m-f)/b:m===d&&(h=4+(f-l)/b),h=Math.min(h*60,360),h<0&&(h+=360);const S=(p+d)/2;return d===p?g=0:S<=.5?g=b/(d+p):g=b/(2-d-p),[h,g*100,S*100]},i.rgb.hsv=function(c){let f,l,m,p,d;const b=c[0]/255,h=c[1]/255,g=c[2]/255,S=Math.max(b,h,g),y=S-Math.min(b,h,g),D=function(O){return(S-O)/6/y+1/2};return y===0?(p=0,d=0):(d=y/S,f=D(b),l=D(h),m=D(g),b===S?p=m-l:h===S?p=1/3+f-m:g===S&&(p=2/3+l-f),p<0?p+=1:p>1&&(p-=1)),[p*360,d*100,S*100]},i.rgb.hwb=function(c){const f=c[0],l=c[1];let m=c[2];const p=i.rgb.hsl(c)[0],d=1/255*Math.min(f,Math.min(l,m));return m=1-1/255*Math.max(f,Math.max(l,m)),[p,d*100,m*100]},i.rgb.cmyk=function(c){const f=c[0]/255,l=c[1]/255,m=c[2]/255,p=Math.min(1-f,1-l,1-m),d=(1-f-p)/(1-p)||0,b=(1-l-p)/(1-p)||0,h=(1-m-p)/(1-p)||0;return[d*100,b*100,h*100,p*100]};function u(c,f){return(c[0]-f[0])**2+(c[1]-f[1])**2+(c[2]-f[2])**2}return i.rgb.keyword=function(c){const f=a[c];if(f)return f;let l=1/0,m;for(const p of Object.keys(r)){const d=r[p],b=u(c,d);b<l&&(l=b,m=p)}return m},i.keyword.rgb=function(c){return r[c]},i.rgb.xyz=function(c){let f=c[0]/255,l=c[1]/255,m=c[2]/255;f=f>.04045?((f+.055)/1.055)**2.4:f/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,m=m>.04045?((m+.055)/1.055)**2.4:m/12.92;const p=f*.4124+l*.3576+m*.1805,d=f*.2126+l*.7152+m*.0722,b=f*.0193+l*.1192+m*.9505;return[p*100,d*100,b*100]},i.rgb.lab=function(c){const f=i.rgb.xyz(c);let l=f[0],m=f[1],p=f[2];l/=95.047,m/=100,p/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,m=m>.008856?m**(1/3):7.787*m+16/116,p=p>.008856?p**(1/3):7.787*p+16/116;const d=116*m-16,b=500*(l-m),h=200*(m-p);return[d,b,h]},i.hsl.rgb=function(c){const f=c[0]/360,l=c[1]/100,m=c[2]/100;let p,d,b;if(l===0)return b=m*255,[b,b,b];m<.5?p=m*(1+l):p=m+l-m*l;const h=2*m-p,g=[0,0,0];for(let S=0;S<3;S++)d=f+1/3*-(S-1),d<0&&d++,d>1&&d--,6*d<1?b=h+(p-h)*6*d:2*d<1?b=p:3*d<2?b=h+(p-h)*(2/3-d)*6:b=h,g[S]=b*255;return g},i.hsl.hsv=function(c){const f=c[0];let l=c[1]/100,m=c[2]/100,p=l;const d=Math.max(m,.01);m*=2,l*=m<=1?m:2-m,p*=d<=1?d:2-d;const b=(m+l)/2,h=m===0?2*p/(d+p):2*l/(m+l);return[f,h*100,b*100]},i.hsv.rgb=function(c){const f=c[0]/60,l=c[1]/100;let m=c[2]/100;const p=Math.floor(f)%6,d=f-Math.floor(f),b=255*m*(1-l),h=255*m*(1-l*d),g=255*m*(1-l*(1-d));switch(m*=255,p){case 0:return[m,g,b];case 1:return[h,m,b];case 2:return[b,m,g];case 3:return[b,h,m];case 4:return[g,b,m];case 5:return[m,b,h]}},i.hsv.hsl=function(c){const f=c[0],l=c[1]/100,m=c[2]/100,p=Math.max(m,.01);let d,b;b=(2-l)*m;const h=(2-l)*p;return d=l*p,d/=h<=1?h:2-h,d=d||0,b/=2,[f,d*100,b*100]},i.hwb.rgb=function(c){const f=c[0]/360;let l=c[1]/100,m=c[2]/100;const p=l+m;let d;p>1&&(l/=p,m/=p);const b=Math.floor(6*f),h=1-m;d=6*f-b,(b&1)!==0&&(d=1-d);const g=l+d*(h-l);let S,y,D;switch(b){default:case 6:case 0:S=h,y=g,D=l;break;case 1:S=g,y=h,D=l;break;case 2:S=l,y=h,D=g;break;case 3:S=l,y=g,D=h;break;case 4:S=g,y=l,D=h;break;case 5:S=h,y=l,D=g;break}return[S*255,y*255,D*255]},i.cmyk.rgb=function(c){const f=c[0]/100,l=c[1]/100,m=c[2]/100,p=c[3]/100,d=1-Math.min(1,f*(1-p)+p),b=1-Math.min(1,l*(1-p)+p),h=1-Math.min(1,m*(1-p)+p);return[d*255,b*255,h*255]},i.xyz.rgb=function(c){const f=c[0]/100,l=c[1]/100,m=c[2]/100;let p,d,b;return p=f*3.2406+l*-1.5372+m*-.4986,d=f*-.9689+l*1.8758+m*.0415,b=f*.0557+l*-.204+m*1.057,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,b=b>.0031308?1.055*b**(1/2.4)-.055:b*12.92,p=Math.min(Math.max(0,p),1),d=Math.min(Math.max(0,d),1),b=Math.min(Math.max(0,b),1),[p*255,d*255,b*255]},i.xyz.lab=function(c){let f=c[0],l=c[1],m=c[2];f/=95.047,l/=100,m/=108.883,f=f>.008856?f**(1/3):7.787*f+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,m=m>.008856?m**(1/3):7.787*m+16/116;const p=116*l-16,d=500*(f-l),b=200*(l-m);return[p,d,b]},i.lab.xyz=function(c){const f=c[0],l=c[1],m=c[2];let p,d,b;d=(f+16)/116,p=l/500+d,b=d-m/200;const h=d**3,g=p**3,S=b**3;return d=h>.008856?h:(d-16/116)/7.787,p=g>.008856?g:(p-16/116)/7.787,b=S>.008856?S:(b-16/116)/7.787,p*=95.047,d*=100,b*=108.883,[p,d,b]},i.lab.lch=function(c){const f=c[0],l=c[1],m=c[2];let p;p=Math.atan2(m,l)*360/2/Math.PI,p<0&&(p+=360);const b=Math.sqrt(l*l+m*m);return[f,b,p]},i.lch.lab=function(c){const f=c[0],l=c[1],p=c[2]/360*2*Math.PI,d=l*Math.cos(p),b=l*Math.sin(p);return[f,d,b]},i.rgb.ansi16=function(c,f=null){const[l,m,p]=c;let d=f===null?i.rgb.hsv(c)[2]:f;if(d=Math.round(d/50),d===0)return 30;let b=30+(Math.round(p/255)<<2|Math.round(m/255)<<1|Math.round(l/255));return d===2&&(b+=60),b},i.hsv.ansi16=function(c){return i.rgb.ansi16(i.hsv.rgb(c),c[2])},i.rgb.ansi256=function(c){const f=c[0],l=c[1],m=c[2];return f===l&&l===m?f<8?16:f>248?231:Math.round((f-8)/247*24)+232:16+36*Math.round(f/255*5)+6*Math.round(l/255*5)+Math.round(m/255*5)},i.ansi16.rgb=function(c){let f=c%10;if(f===0||f===7)return c>50&&(f+=3.5),f=f/10.5*255,[f,f,f];const l=(~~(c>50)+1)*.5,m=(f&1)*l*255,p=(f>>1&1)*l*255,d=(f>>2&1)*l*255;return[m,p,d]},i.ansi256.rgb=function(c){if(c>=232){const d=(c-232)*10+8;return[d,d,d]}c-=16;let f;const l=Math.floor(c/36)/5*255,m=Math.floor((f=c%36)/6)/5*255,p=f%6/5*255;return[l,m,p]},i.rgb.hex=function(c){const l=(((Math.round(c[0])&255)<<16)+((Math.round(c[1])&255)<<8)+(Math.round(c[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},i.hex.rgb=function(c){const f=c.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!f)return[0,0,0];let l=f[0];f[0].length===3&&(l=l.split("").map(h=>h+h).join(""));const m=parseInt(l,16),p=m>>16&255,d=m>>8&255,b=m&255;return[p,d,b]},i.rgb.hcg=function(c){const f=c[0]/255,l=c[1]/255,m=c[2]/255,p=Math.max(Math.max(f,l),m),d=Math.min(Math.min(f,l),m),b=p-d;let h,g;return b<1?h=d/(1-b):h=0,b<=0?g=0:p===f?g=(l-m)/b%6:p===l?g=2+(m-f)/b:g=4+(f-l)/b,g/=6,g%=1,[g*360,b*100,h*100]},i.hsl.hcg=function(c){const f=c[1]/100,l=c[2]/100,m=l<.5?2*f*l:2*f*(1-l);let p=0;return m<1&&(p=(l-.5*m)/(1-m)),[c[0],m*100,p*100]},i.hsv.hcg=function(c){const f=c[1]/100,l=c[2]/100,m=f*l;let p=0;return m<1&&(p=(l-m)/(1-m)),[c[0],m*100,p*100]},i.hcg.rgb=function(c){const f=c[0]/360,l=c[1]/100,m=c[2]/100;if(l===0)return[m*255,m*255,m*255];const p=[0,0,0],d=f%1*6,b=d%1,h=1-b;let g=0;switch(Math.floor(d)){case 0:p[0]=1,p[1]=b,p[2]=0;break;case 1:p[0]=h,p[1]=1,p[2]=0;break;case 2:p[0]=0,p[1]=1,p[2]=b;break;case 3:p[0]=0,p[1]=h,p[2]=1;break;case 4:p[0]=b,p[1]=0,p[2]=1;break;default:p[0]=1,p[1]=0,p[2]=h}return g=(1-l)*m,[(l*p[0]+g)*255,(l*p[1]+g)*255,(l*p[2]+g)*255]},i.hcg.hsv=function(c){const f=c[1]/100,l=c[2]/100,m=f+l*(1-f);let p=0;return m>0&&(p=f/m),[c[0],p*100,m*100]},i.hcg.hsl=function(c){const f=c[1]/100,m=c[2]/100*(1-f)+.5*f;let p=0;return m>0&&m<.5?p=f/(2*m):m>=.5&&m<1&&(p=f/(2*(1-m))),[c[0],p*100,m*100]},i.hcg.hwb=function(c){const f=c[1]/100,l=c[2]/100,m=f+l*(1-f);return[c[0],(m-f)*100,(1-m)*100]},i.hwb.hcg=function(c){const f=c[1]/100,m=1-c[2]/100,p=m-f;let d=0;return p<1&&(d=(m-p)/(1-p)),[c[0],p*100,d*100]},i.apple.rgb=function(c){return[c[0]/65535*255,c[1]/65535*255,c[2]/65535*255]},i.rgb.apple=function(c){return[c[0]/255*65535,c[1]/255*65535,c[2]/255*65535]},i.gray.rgb=function(c){return[c[0]/100*255,c[0]/100*255,c[0]/100*255]},i.gray.hsl=function(c){return[0,0,c[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(c){return[0,100,c[0]]},i.gray.cmyk=function(c){return[0,0,0,c[0]]},i.gray.lab=function(c){return[c[0],0,0]},i.gray.hex=function(c){const f=Math.round(c[0]/100*255)&255,m=((f<<16)+(f<<8)+f).toString(16).toUpperCase();return"000000".substring(m.length)+m},i.rgb.gray=function(c){return[(c[0]+c[1]+c[2])/3/255*100]},Rf}var xf,E1;function E3(){if(E1)return xf;E1=1;const r=r5();function a(){const f={},l=Object.keys(r);for(let m=l.length,p=0;p<m;p++)f[l[p]]={distance:-1,parent:null};return f}function i(f){const l=a(),m=[f];for(l[f].distance=0;m.length;){const p=m.pop(),d=Object.keys(r[p]);for(let b=d.length,h=0;h<b;h++){const g=d[h],S=l[g];S.distance===-1&&(S.distance=l[p].distance+1,S.parent=p,m.unshift(g))}}return l}function u(f,l){return function(m){return l(f(m))}}function c(f,l){const m=[l[f].parent,f];let p=r[l[f].parent][f],d=l[f].parent;for(;l[d].parent;)m.unshift(l[d].parent),p=u(r[l[d].parent][d],p),d=l[d].parent;return p.conversion=m,p}return xf=function(f){const l=i(f),m={},p=Object.keys(l);for(let d=p.length,b=0;b<d;b++){const h=p[b];l[h].parent!==null&&(m[h]=c(h,l))}return m},xf}var Bf,C1;function C3(){if(C1)return Bf;C1=1;const r=r5(),a=E3(),i={},u=Object.keys(r);function c(l){const m=function(...p){const d=p[0];return d==null?d:(d.length>1&&(p=d),l(p))};return"conversion"in l&&(m.conversion=l.conversion),m}function f(l){const m=function(...p){const d=p[0];if(d==null)return d;d.length>1&&(p=d);const b=l(p);if(typeof b=="object")for(let h=b.length,g=0;g<h;g++)b[g]=Math.round(b[g]);return b};return"conversion"in l&&(m.conversion=l.conversion),m}return u.forEach(l=>{i[l]={},Object.defineProperty(i[l],"channels",{value:r[l].channels}),Object.defineProperty(i[l],"labels",{value:r[l].labels});const m=a(l);Object.keys(m).forEach(d=>{const b=m[d];i[l][d]=f(b),i[l][d].raw=c(b)})}),Bf=i,Bf}var Lf,_1;function _3(){if(_1)return Lf;_1=1;const r=O3(),a=C3(),i=["keyword","gray","hex"],u={};for(const g of Object.keys(a))u[[...a[g].labels].sort().join("")]=g;const c={};function f(g,S){if(!(this instanceof f))return new f(g,S);if(S&&S in i&&(S=null),S&&!(S in a))throw new Error("Unknown model: "+S);let y,D;if(g==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(g instanceof f)this.model=g.model,this.color=[...g.color],this.valpha=g.valpha;else if(typeof g=="string"){const O=r.get(g);if(O===null)throw new Error("Unable to parse color from string: "+g);this.model=O.model,D=a[this.model].channels,this.color=O.value.slice(0,D),this.valpha=typeof O.value[D]=="number"?O.value[D]:1}else if(g.length>0){this.model=S||"rgb",D=a[this.model].channels;const O=Array.prototype.slice.call(g,0,D);this.color=h(O,D),this.valpha=typeof g[D]=="number"?g[D]:1}else if(typeof g=="number")this.model="rgb",this.color=[g>>16&255,g>>8&255,g&255],this.valpha=1;else{this.valpha=1;const O=Object.keys(g);"alpha"in g&&(O.splice(O.indexOf("alpha"),1),this.valpha=typeof g.alpha=="number"?g.alpha:0);const A=O.sort().join("");if(!(A in u))throw new Error("Unable to parse color from object: "+JSON.stringify(g));this.model=u[A];const{labels:C}=a[this.model],k=[];for(y=0;y<C.length;y++)k.push(g[C[y]]);this.color=h(k)}if(c[this.model])for(D=a[this.model].channels,y=0;y<D;y++){const O=c[this.model][y];O&&(this.color[y]=O(this.color[y]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}f.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(g){let S=this.model in r.to?this:this.rgb();S=S.round(typeof g=="number"?g:1);const y=S.valpha===1?S.color:[...S.color,this.valpha];return r.to[S.model](y)},percentString(g){const S=this.rgb().round(typeof g=="number"?g:1),y=S.valpha===1?S.color:[...S.color,this.valpha];return r.to.rgb.percent(y)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const g={},{channels:S}=a[this.model],{labels:y}=a[this.model];for(let D=0;D<S;D++)g[y[D]]=this.color[D];return this.valpha!==1&&(g.alpha=this.valpha),g},unitArray(){const g=this.rgb().color;return g[0]/=255,g[1]/=255,g[2]/=255,this.valpha!==1&&g.push(this.valpha),g},unitObject(){const g=this.rgb().object();return g.r/=255,g.g/=255,g.b/=255,this.valpha!==1&&(g.alpha=this.valpha),g},round(g){return g=Math.max(g||0,0),new f([...this.color.map(m(g)),this.valpha],this.model)},alpha(g){return g!==void 0?new f([...this.color,Math.max(0,Math.min(1,g))],this.model):this.valpha},red:p("rgb",0,d(255)),green:p("rgb",1,d(255)),blue:p("rgb",2,d(255)),hue:p(["hsl","hsv","hsl","hwb","hcg"],0,g=>(g%360+360)%360),saturationl:p("hsl",1,d(100)),lightness:p("hsl",2,d(100)),saturationv:p("hsv",1,d(100)),value:p("hsv",2,d(100)),chroma:p("hcg",1,d(100)),gray:p("hcg",2,d(100)),white:p("hwb",1,d(100)),wblack:p("hwb",2,d(100)),cyan:p("cmyk",0,d(100)),magenta:p("cmyk",1,d(100)),yellow:p("cmyk",2,d(100)),black:p("cmyk",3,d(100)),x:p("xyz",0,d(95.047)),y:p("xyz",1,d(100)),z:p("xyz",2,d(108.833)),l:p("lab",0,d(100)),a:p("lab",1),b:p("lab",2),keyword(g){return g!==void 0?new f(g):a[this.model].keyword(this.color)},hex(g){return g!==void 0?new f(g):r.to.hex(this.rgb().round().color)},hexa(g){if(g!==void 0)return new f(g);const S=this.rgb().round().color;let y=Math.round(this.valpha*255).toString(16).toUpperCase();return y.length===1&&(y="0"+y),r.to.hex(S)+y},rgbNumber(){const g=this.rgb().color;return(g[0]&255)<<16|(g[1]&255)<<8|g[2]&255},luminosity(){const g=this.rgb().color,S=[];for(const[y,D]of g.entries()){const O=D/255;S[y]=O<=.04045?O/12.92:((O+.055)/1.055)**2.4}return .2126*S[0]+.7152*S[1]+.0722*S[2]},contrast(g){const S=this.luminosity(),y=g.luminosity();return S>y?(S+.05)/(y+.05):(y+.05)/(S+.05)},level(g){const S=this.contrast(g);return S>=7?"AAA":S>=4.5?"AA":""},isDark(){const g=this.rgb().color;return(g[0]*2126+g[1]*7152+g[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const g=this.rgb();for(let S=0;S<3;S++)g.color[S]=255-g.color[S];return g},lighten(g){const S=this.hsl();return S.color[2]+=S.color[2]*g,S},darken(g){const S=this.hsl();return S.color[2]-=S.color[2]*g,S},saturate(g){const S=this.hsl();return S.color[1]+=S.color[1]*g,S},desaturate(g){const S=this.hsl();return S.color[1]-=S.color[1]*g,S},whiten(g){const S=this.hwb();return S.color[1]+=S.color[1]*g,S},blacken(g){const S=this.hwb();return S.color[2]+=S.color[2]*g,S},grayscale(){const g=this.rgb().color,S=g[0]*.3+g[1]*.59+g[2]*.11;return f.rgb(S,S,S)},fade(g){return this.alpha(this.valpha-this.valpha*g)},opaquer(g){return this.alpha(this.valpha+this.valpha*g)},rotate(g){const S=this.hsl();let y=S.color[0];return y=(y+g)%360,y=y<0?360+y:y,S.color[0]=y,S},mix(g,S){if(!g||!g.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof g);const y=g.rgb(),D=this.rgb(),O=S===void 0?.5:S,A=2*O-1,C=y.alpha()-D.alpha(),k=((A*C===-1?A:(A+C)/(1+A*C))+1)/2,T=1-k;return f.rgb(k*y.red()+T*D.red(),k*y.green()+T*D.green(),k*y.blue()+T*D.blue(),y.alpha()*O+D.alpha()*(1-O))}};for(const g of Object.keys(a)){if(i.includes(g))continue;const{channels:S}=a[g];f.prototype[g]=function(...y){return this.model===g?new f(this):y.length>0?new f(y,g):new f([...b(a[this.model][g].raw(this.color)),this.valpha],g)},f[g]=function(...y){let D=y[0];return typeof D=="number"&&(D=h(y,S)),new f(D,g)}}function l(g,S){return Number(g.toFixed(S))}function m(g){return function(S){return l(S,g)}}function p(g,S,y){g=Array.isArray(g)?g:[g];for(const D of g)(c[D]||(c[D]=[]))[S]=y;return g=g[0],function(D){let O;return D!==void 0?(y&&(D=y(D)),O=this[g](),O.color[S]=D,O):(O=this[g]().color[S],y&&(O=y(O)),O)}}function d(g){return function(S){return Math.max(0,Math.min(g,S))}}function b(g){return Array.isArray(g)?g:[g]}function h(g,S){for(let y=0;y<S;y++)typeof g[y]!="number"&&(g[y]=0);return g}return Lf=f,Lf}var T3=_3();const T1=Ds(T3);var k3=typeof global=="object"&&global&&global.Object===Object&&global,A3=typeof self=="object"&&self&&self.Object===Object&&self,Qn=k3||A3||Function("return this")(),hs=Qn.Symbol,n5=Object.prototype,M3=n5.hasOwnProperty,w3=n5.toString,al=hs?hs.toStringTag:void 0;function P3(r){var a=M3.call(r,al),i=r[al];try{r[al]=void 0;var u=!0}catch{}var c=w3.call(r);return u&&(a?r[al]=i:delete r[al]),c}var R3=Object.prototype,x3=R3.toString;function B3(r){return x3.call(r)}var L3="[object Null]",F3="[object Undefined]",k1=hs?hs.toStringTag:void 0;function a5(r){return r==null?r===void 0?F3:L3:k1&&k1 in Object(r)?P3(r):B3(r)}function i5(r){return r!=null&&typeof r=="object"}var N3="[object Symbol]";function z3(r){return typeof r=="symbol"||i5(r)&&a5(r)==N3}var j3=Array.isArray,H3=/\s/;function I3(r){for(var a=r.length;a--&&H3.test(r.charAt(a)););return a}var q3=/^\s+/;function U3(r){return r&&r.slice(0,I3(r)+1).replace(q3,"")}function $a(r){var a=typeof r;return r!=null&&(a=="object"||a=="function")}var A1=NaN,W3=/^[-+]0x[0-9a-f]+$/i,G3=/^0b[01]+$/i,Y3=/^0o[0-7]+$/i,V3=parseInt;function K3(r){if(typeof r=="number")return r;if(z3(r))return A1;if($a(r)){var a=typeof r.valueOf=="function"?r.valueOf():r;r=$a(a)?a+"":a}if(typeof r!="string")return r===0?r:+r;r=U3(r);var i=G3.test(r);return i||Y3.test(r)?V3(r.slice(2),i?2:8):W3.test(r)?A1:+r}var M1=1/0,Z3=17976931348623157e292;function X3(r){if(!r)return r===0?r:0;if(r=K3(r),r===M1||r===-M1){var a=r<0?-1:1;return a*Z3}return r===r?r:0}function w1(r){var a=X3(r),i=a%1;return a===a?i?a-i:a:0}function o5(r){return r}var $3="[object AsyncFunction]",Q3="[object Function]",J3="[object GeneratorFunction]",e6="[object Proxy]";function t6(r){if(!$a(r))return!1;var a=a5(r);return a==Q3||a==J3||a==$3||a==e6}var Ff=Qn["__core-js_shared__"],P1=(function(){var r=/[^.]+$/.exec(Ff&&Ff.keys&&Ff.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""})();function r6(r){return!!P1&&P1 in r}var n6=Function.prototype,a6=n6.toString;function i6(r){if(r!=null){try{return a6.call(r)}catch{}try{return r+""}catch{}}return""}var o6=/[\\^$.*+?()[\]{}|]/g,l6=/^\[object .+?Constructor\]$/,u6=Function.prototype,s6=Object.prototype,c6=u6.toString,d6=s6.hasOwnProperty,f6=RegExp("^"+c6.call(d6).replace(o6,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p6(r){if(!$a(r)||r6(r))return!1;var a=t6(r)?f6:l6;return a.test(i6(r))}function g6(r,a){return r?.[a]}function l5(r,a){var i=g6(r,a);return p6(i)?i:void 0}var R1=l5(Qn,"WeakMap"),ms=R1&&new R1,u5=ms?function(r,a){return ms.set(r,a),r}:o5,x1=Object.create,V0=(function(){function r(){}return function(a){if(!$a(a))return{};if(x1)return x1(a);r.prototype=a;var i=new r;return r.prototype=void 0,i}})();function fl(r){return function(){var a=arguments;switch(a.length){case 0:return new r;case 1:return new r(a[0]);case 2:return new r(a[0],a[1]);case 3:return new r(a[0],a[1],a[2]);case 4:return new r(a[0],a[1],a[2],a[3]);case 5:return new r(a[0],a[1],a[2],a[3],a[4]);case 6:return new r(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new r(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var i=V0(r.prototype),u=r.apply(i,a);return $a(u)?u:i}}var v6=1;function h6(r,a,i){var u=a&v6,c=fl(r);function f(){var l=this&&this!==Qn&&this instanceof f?c:r;return l.apply(u?i:this,arguments)}return f}function s5(r,a,i){switch(i.length){case 0:return r.call(a);case 1:return r.call(a,i[0]);case 2:return r.call(a,i[0],i[1]);case 3:return r.call(a,i[0],i[1],i[2])}return r.apply(a,i)}var m6=Math.max;function c5(r,a,i,u){for(var c=-1,f=r.length,l=i.length,m=-1,p=a.length,d=m6(f-l,0),b=Array(p+d),h=!u;++m<p;)b[m]=a[m];for(;++c<l;)(h||c<f)&&(b[i[c]]=r[c]);for(;d--;)b[m++]=r[c++];return b}var b6=Math.max;function d5(r,a,i,u){for(var c=-1,f=r.length,l=-1,m=i.length,p=-1,d=a.length,b=b6(f-m,0),h=Array(b+d),g=!u;++c<b;)h[c]=r[c];for(var S=c;++p<d;)h[S+p]=a[p];for(;++l<m;)(g||c<f)&&(h[S+i[l]]=r[c++]);return h}function y6(r,a){for(var i=r.length,u=0;i--;)r[i]===a&&++u;return u}function K0(){}var S6=4294967295;function Qa(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=S6,this.__views__=[]}Qa.prototype=V0(K0.prototype);Qa.prototype.constructor=Qa;function D6(){}var f5=ms?function(r){return ms.get(r)}:D6,B1={},O6=Object.prototype,E6=O6.hasOwnProperty;function C6(r){for(var a=r.name+"",i=B1[a],u=E6.call(B1,a)?i.length:0;u--;){var c=i[u],f=c.func;if(f==null||f==r)return c.name}return a}function Ja(r,a){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=void 0}Ja.prototype=V0(K0.prototype);Ja.prototype.constructor=Ja;function p5(r,a){var i=-1,u=r.length;for(a||(a=Array(u));++i<u;)a[i]=r[i];return a}function _6(r){if(r instanceof Qa)return r.clone();var a=new Ja(r.__wrapped__,r.__chain__);return a.__actions__=p5(r.__actions__),a.__index__=r.__index__,a.__values__=r.__values__,a}var T6=Object.prototype,k6=T6.hasOwnProperty;function bs(r){if(i5(r)&&!j3(r)&&!(r instanceof Qa)){if(r instanceof Ja)return r;if(k6.call(r,"__wrapped__"))return _6(r)}return new Ja(r)}bs.prototype=K0.prototype;bs.prototype.constructor=bs;function A6(r){var a=C6(r),i=bs[a];if(typeof i!="function"||!(a in Qa.prototype))return!1;if(r===i)return!0;var u=f5(i);return!!u&&r===u[0]}var M6=800,w6=16,P6=Date.now;function g5(r){var a=0,i=0;return function(){var u=P6(),c=w6-(u-i);if(i=u,c>0){if(++a>=M6)return arguments[0]}else a=0;return r.apply(void 0,arguments)}}var v5=g5(u5),R6=/\{\n\/\* \[wrapped with (.+)\] \*/,x6=/,? & /;function B6(r){var a=r.match(R6);return a?a[1].split(x6):[]}var L6=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function F6(r,a){var i=a.length;if(!i)return r;var u=i-1;return a[u]=(i>1?"& ":"")+a[u],a=a.join(i>2?", ":" "),r.replace(L6,`{
10
+ /* [wrapped with `+a+`] */
11
+ `)}function N6(r){return function(){return r}}var L1=(function(){try{var r=l5(Object,"defineProperty");return r({},"",{}),r}catch{}})(),z6=L1?function(r,a){return L1(r,"toString",{configurable:!0,enumerable:!1,value:N6(a),writable:!0})}:o5,j6=g5(z6);function H6(r,a){for(var i=-1,u=r==null?0:r.length;++i<u&&a(r[i],i,r)!==!1;);return r}function I6(r,a,i,u){for(var c=r.length,f=i+-1;++f<c;)if(a(r[f],f,r))return f;return-1}function q6(r){return r!==r}function U6(r,a,i){for(var u=i-1,c=r.length;++u<c;)if(r[u]===a)return u;return-1}function W6(r,a,i){return a===a?U6(r,a,i):I6(r,q6,i)}function G6(r,a){var i=r==null?0:r.length;return!!i&&W6(r,a,0)>-1}var Y6=1,V6=2,K6=8,Z6=16,X6=32,$6=64,Q6=128,J6=256,eA=512,tA=[["ary",Q6],["bind",Y6],["bindKey",V6],["curry",K6],["curryRight",Z6],["flip",eA],["partial",X6],["partialRight",$6],["rearg",J6]];function rA(r,a){return H6(tA,function(i){var u="_."+i[0];a&i[1]&&!G6(r,u)&&r.push(u)}),r.sort()}function h5(r,a,i){var u=a+"";return j6(r,F6(u,rA(B6(u),i)))}var nA=4,aA=8,F1=32,N1=64;function m5(r,a,i,u,c,f,l,m,p,d){var b=a&aA,h=b?l:void 0,g=b?void 0:l,S=b?f:void 0,y=b?void 0:f;a|=b?F1:N1,a&=~(b?N1:F1),a&nA||(a&=-4);var D=[r,a,c,S,h,y,g,m,p,d],O=i.apply(void 0,D);return A6(r)&&v5(O,D),O.placeholder=u,h5(O,r,a)}function b5(r){var a=r;return a.placeholder}var iA=9007199254740991,oA=/^(?:0|[1-9]\d*)$/;function lA(r,a){var i=typeof r;return a=a??iA,!!a&&(i=="number"||i!="symbol"&&oA.test(r))&&r>-1&&r%1==0&&r<a}var uA=Math.min;function sA(r,a){for(var i=r.length,u=uA(a.length,i),c=p5(r);u--;){var f=a[u];r[u]=lA(f,i)?c[f]:void 0}return r}var z1="__lodash_placeholder__";function ys(r,a){for(var i=-1,u=r.length,c=0,f=[];++i<u;){var l=r[i];(l===a||l===z1)&&(r[i]=z1,f[c++]=i)}return f}var cA=1,dA=2,fA=8,pA=16,gA=128,vA=512;function Z0(r,a,i,u,c,f,l,m,p,d){var b=a&gA,h=a&cA,g=a&dA,S=a&(fA|pA),y=a&vA,D=g?void 0:fl(r);function O(){for(var A=arguments.length,C=Array(A),k=A;k--;)C[k]=arguments[k];if(S)var T=b5(O),_=y6(C,T);if(u&&(C=c5(C,u,c,S)),f&&(C=d5(C,f,l,S)),A-=_,S&&A<d){var L=ys(C,T);return m5(r,a,Z0,O.placeholder,i,C,L,m,p,d-A)}var R=h?i:this,F=g?R[r]:r;return A=C.length,m?C=sA(C,m):y&&A>1&&C.reverse(),b&&p<A&&(C.length=p),this&&this!==Qn&&this instanceof O&&(F=D||fl(F)),F.apply(R,C)}return O}function hA(r,a,i){var u=fl(r);function c(){for(var f=arguments.length,l=Array(f),m=f,p=b5(c);m--;)l[m]=arguments[m];var d=f<3&&l[0]!==p&&l[f-1]!==p?[]:ys(l,p);if(f-=d.length,f<i)return m5(r,a,Z0,c.placeholder,void 0,l,d,void 0,void 0,i-f);var b=this&&this!==Qn&&this instanceof c?u:r;return s5(b,this,l)}return c}var mA=1;function bA(r,a,i,u){var c=a&mA,f=fl(r);function l(){for(var m=-1,p=arguments.length,d=-1,b=u.length,h=Array(b+p),g=this&&this!==Qn&&this instanceof l?f:r;++d<b;)h[d]=u[d];for(;p--;)h[d++]=arguments[++m];return s5(g,c?i:this,h)}return l}var j1="__lodash_placeholder__",Nf=1,yA=2,SA=4,H1=8,il=128,I1=256,DA=Math.min;function OA(r,a){var i=r[1],u=a[1],c=i|u,f=c<(Nf|yA|il),l=u==il&&i==H1||u==il&&i==I1&&r[7].length<=a[8]||u==(il|I1)&&a[7].length<=a[8]&&i==H1;if(!(f||l))return r;u&Nf&&(r[2]=a[2],c|=i&Nf?0:SA);var m=a[3];if(m){var p=r[3];r[3]=p?c5(p,m,a[4]):m,r[4]=p?ys(r[3],j1):a[4]}return m=a[5],m&&(p=r[5],r[5]=p?d5(p,m,a[6]):m,r[6]=p?ys(r[5],j1):a[6]),m=a[7],m&&(r[7]=m),u&il&&(r[8]=r[8]==null?a[8]:DA(r[8],a[8])),r[9]==null&&(r[9]=a[9]),r[0]=a[0],r[1]=c,r}var EA="Expected a function",q1=1,CA=2,U1=8,W1=16,G1=32,_A=64,Y1=Math.max;function TA(r,a,i,u,c,f,l,m){var p=a&CA;if(!p&&typeof r!="function")throw new TypeError(EA);var d=u?u.length:0;if(d||(a&=-97,u=c=void 0),l=l===void 0?l:Y1(w1(l),0),m=m===void 0?m:w1(m),d-=c?c.length:0,a&_A){var b=u,h=c;u=c=void 0}var g=p?void 0:f5(r),S=[r,a,i,u,c,b,h,f,l,m];if(g&&OA(S,g),r=S[0],a=S[1],i=S[2],u=S[3],c=S[4],m=S[9]=S[9]===void 0?p?0:r.length:Y1(S[9]-d,0),!m&&a&(U1|W1)&&(a&=-25),!a||a==q1)var y=h6(r,a,i);else a==U1||a==W1?y=hA(r,a,m):(a==G1||a==(q1|G1))&&!c.length?y=bA(r,a,i,u):y=Z0.apply(void 0,S);var D=g?u5:v5;return h5(D(y,S),r,a)}var kA=8;function Ss(r,a,i){a=i?void 0:a;var u=TA(r,kA,void 0,void 0,void 0,void 0,void 0,a);return u.placeholder=Ss.placeholder,u}Ss.placeholder={};function AA(r){const a=r[0],i=r[1],u=r[2];let c,f,l;return c=a*1+i*0+u*1.13983,f=a*1+i*-.39465+u*-.5806,l=a*1+i*2.02311+u*0,c=Math.min(Math.max(0,c),1),f=Math.min(Math.max(0,f),1),l=Math.min(Math.max(0,l),1),[c*255,f*255,l*255]}function MA(r){const a=r[0]/255,i=r[1]/255,u=r[2]/255,c=a*.299+i*.587+u*.114,f=a*-.14713+i*-.28886+u*.436,l=a*.615+i*-.51499+u*-.10001;return[c,f,l]}const wA={scheme:"threezerotwofour",author:"jan t. sott (http://github.com/idleberg)",base00:"#090300",base01:"#3a3432",base02:"#4a4543",base03:"#5c5855",base04:"#807d7c",base05:"#a5a2a2",base06:"#d6d5d4",base07:"#f7f7f7",base08:"#db2d20",base09:"#e8bbd0",base0A:"#fded02",base0B:"#01a252",base0C:"#b5e4f4",base0D:"#01a0e4",base0E:"#a16a94",base0F:"#cdab53"},PA={scheme:"apathy",author:"jannik siebert (https://github.com/janniks)",base00:"#031A16",base01:"#0B342D",base02:"#184E45",base03:"#2B685E",base04:"#5F9C92",base05:"#81B5AC",base06:"#A7CEC8",base07:"#D2E7E4",base08:"#3E9688",base09:"#3E7996",base0A:"#3E4C96",base0B:"#883E96",base0C:"#963E4C",base0D:"#96883E",base0E:"#4C963E",base0F:"#3E965B"},RA={scheme:"ashes",author:"jannik siebert (https://github.com/janniks)",base00:"#1C2023",base01:"#393F45",base02:"#565E65",base03:"#747C84",base04:"#ADB3BA",base05:"#C7CCD1",base06:"#DFE2E5",base07:"#F3F4F5",base08:"#C7AE95",base09:"#C7C795",base0A:"#AEC795",base0B:"#95C7AE",base0C:"#95AEC7",base0D:"#AE95C7",base0E:"#C795AE",base0F:"#C79595"},xA={scheme:"atelier dune",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)",base00:"#20201d",base01:"#292824",base02:"#6e6b5e",base03:"#7d7a68",base04:"#999580",base05:"#a6a28c",base06:"#e8e4cf",base07:"#fefbec",base08:"#d73737",base09:"#b65611",base0A:"#cfb017",base0B:"#60ac39",base0C:"#1fad83",base0D:"#6684e1",base0E:"#b854d4",base0F:"#d43552"},BA={scheme:"atelier forest",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest)",base00:"#1b1918",base01:"#2c2421",base02:"#68615e",base03:"#766e6b",base04:"#9c9491",base05:"#a8a19f",base06:"#e6e2e0",base07:"#f1efee",base08:"#f22c40",base09:"#df5320",base0A:"#d5911a",base0B:"#5ab738",base0C:"#00ad9c",base0D:"#407ee7",base0E:"#6666ea",base0F:"#c33ff3"},LA={scheme:"atelier heath",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath)",base00:"#1b181b",base01:"#292329",base02:"#695d69",base03:"#776977",base04:"#9e8f9e",base05:"#ab9bab",base06:"#d8cad8",base07:"#f7f3f7",base08:"#ca402b",base09:"#a65926",base0A:"#bb8a35",base0B:"#379a37",base0C:"#159393",base0D:"#516aec",base0E:"#7b59c0",base0F:"#cc33cc"},FA={scheme:"atelier lakeside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/)",base00:"#161b1d",base01:"#1f292e",base02:"#516d7b",base03:"#5a7b8c",base04:"#7195a8",base05:"#7ea2b4",base06:"#c1e4f6",base07:"#ebf8ff",base08:"#d22d72",base09:"#935c25",base0A:"#8a8a0f",base0B:"#568c3b",base0C:"#2d8f6f",base0D:"#257fad",base0E:"#5d5db1",base0F:"#b72dd2"},NA={scheme:"atelier seaside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/)",base00:"#131513",base01:"#242924",base02:"#5e6e5e",base03:"#687d68",base04:"#809980",base05:"#8ca68c",base06:"#cfe8cf",base07:"#f0fff0",base08:"#e6193c",base09:"#87711d",base0A:"#c3c322",base0B:"#29a329",base0C:"#1999b3",base0D:"#3d62f5",base0E:"#ad2bee",base0F:"#e619c3"},zA={scheme:"bespin",author:"jan t. sott",base00:"#28211c",base01:"#36312e",base02:"#5e5d5c",base03:"#666666",base04:"#797977",base05:"#8a8986",base06:"#9d9b97",base07:"#baae9e",base08:"#cf6a4c",base09:"#cf7d34",base0A:"#f9ee98",base0B:"#54be0d",base0C:"#afc4db",base0D:"#5ea6ea",base0E:"#9b859d",base0F:"#937121"},jA={scheme:"brewer",author:"timothée poisot (http://github.com/tpoisot)",base00:"#0c0d0e",base01:"#2e2f30",base02:"#515253",base03:"#737475",base04:"#959697",base05:"#b7b8b9",base06:"#dadbdc",base07:"#fcfdfe",base08:"#e31a1c",base09:"#e6550d",base0A:"#dca060",base0B:"#31a354",base0C:"#80b1d3",base0D:"#3182bd",base0E:"#756bb1",base0F:"#b15928"},HA={scheme:"bright",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#303030",base02:"#505050",base03:"#b0b0b0",base04:"#d0d0d0",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ffffff",base08:"#fb0120",base09:"#fc6d24",base0A:"#fda331",base0B:"#a1c659",base0C:"#76c7b7",base0D:"#6fb3d2",base0E:"#d381c3",base0F:"#be643c"},IA={scheme:"chalk",author:"chris kempson (http://chriskempson.com)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#eda987",base0A:"#ddb26f",base0B:"#acc267",base0C:"#12cfc0",base0D:"#6fc2ef",base0E:"#e1a3ee",base0F:"#deaf8f"},qA={scheme:"codeschool",author:"brettof86",base00:"#232c31",base01:"#1c3657",base02:"#2a343a",base03:"#3f4944",base04:"#84898c",base05:"#9ea7a6",base06:"#a7cfa3",base07:"#b5d8f6",base08:"#2a5491",base09:"#43820d",base0A:"#a03b1e",base0B:"#237986",base0C:"#b02f30",base0D:"#484d79",base0E:"#c59820",base0F:"#c98344"},UA={scheme:"colors",author:"mrmrs (http://clrs.cc)",base00:"#111111",base01:"#333333",base02:"#555555",base03:"#777777",base04:"#999999",base05:"#bbbbbb",base06:"#dddddd",base07:"#ffffff",base08:"#ff4136",base09:"#ff851b",base0A:"#ffdc00",base0B:"#2ecc40",base0C:"#7fdbff",base0D:"#0074d9",base0E:"#b10dc9",base0F:"#85144b"},WA={scheme:"default",author:"chris kempson (http://chriskempson.com)",base00:"#181818",base01:"#282828",base02:"#383838",base03:"#585858",base04:"#b8b8b8",base05:"#d8d8d8",base06:"#e8e8e8",base07:"#f8f8f8",base08:"#ab4642",base09:"#dc9656",base0A:"#f7ca88",base0B:"#a1b56c",base0C:"#86c1b9",base0D:"#7cafc2",base0E:"#ba8baf",base0F:"#a16946"},GA={scheme:"eighties",author:"chris kempson (http://chriskempson.com)",base00:"#2d2d2d",base01:"#393939",base02:"#515151",base03:"#747369",base04:"#a09f93",base05:"#d3d0c8",base06:"#e8e6df",base07:"#f2f0ec",base08:"#f2777a",base09:"#f99157",base0A:"#ffcc66",base0B:"#99cc99",base0C:"#66cccc",base0D:"#6699cc",base0E:"#cc99cc",base0F:"#d27b53"},YA={scheme:"embers",author:"jannik siebert (https://github.com/janniks)",base00:"#16130F",base01:"#2C2620",base02:"#433B32",base03:"#5A5047",base04:"#8A8075",base05:"#A39A90",base06:"#BEB6AE",base07:"#DBD6D1",base08:"#826D57",base09:"#828257",base0A:"#6D8257",base0B:"#57826D",base0C:"#576D82",base0D:"#6D5782",base0E:"#82576D",base0F:"#825757"},VA={scheme:"flat",author:"chris kempson (http://chriskempson.com)",base00:"#2C3E50",base01:"#34495E",base02:"#7F8C8D",base03:"#95A5A6",base04:"#BDC3C7",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ECF0F1",base08:"#E74C3C",base09:"#E67E22",base0A:"#F1C40F",base0B:"#2ECC71",base0C:"#1ABC9C",base0D:"#3498DB",base0E:"#9B59B6",base0F:"#be643c"},KA={scheme:"google",author:"seth wright (http://sethawright.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#CC342B",base09:"#F96A38",base0A:"#FBA922",base0B:"#198844",base0C:"#3971ED",base0D:"#3971ED",base0E:"#A36AC7",base0F:"#3971ED"},ZA={scheme:"grayscale",author:"alexandre gavioli (https://github.com/alexx2/)",base00:"#101010",base01:"#252525",base02:"#464646",base03:"#525252",base04:"#ababab",base05:"#b9b9b9",base06:"#e3e3e3",base07:"#f7f7f7",base08:"#7c7c7c",base09:"#999999",base0A:"#a0a0a0",base0B:"#8e8e8e",base0C:"#868686",base0D:"#686868",base0E:"#747474",base0F:"#5e5e5e"},XA={scheme:"green screen",author:"chris kempson (http://chriskempson.com)",base00:"#001100",base01:"#003300",base02:"#005500",base03:"#007700",base04:"#009900",base05:"#00bb00",base06:"#00dd00",base07:"#00ff00",base08:"#007700",base09:"#009900",base0A:"#007700",base0B:"#00bb00",base0C:"#005500",base0D:"#009900",base0E:"#00bb00",base0F:"#005500"},$A={scheme:"harmonic16",author:"jannik siebert (https://github.com/janniks)",base00:"#0b1c2c",base01:"#223b54",base02:"#405c79",base03:"#627e99",base04:"#aabcce",base05:"#cbd6e2",base06:"#e5ebf1",base07:"#f7f9fb",base08:"#bf8b56",base09:"#bfbf56",base0A:"#8bbf56",base0B:"#56bf8b",base0C:"#568bbf",base0D:"#8b56bf",base0E:"#bf568b",base0F:"#bf5656"},QA={scheme:"hopscotch",author:"jan t. sott",base00:"#322931",base01:"#433b42",base02:"#5c545b",base03:"#797379",base04:"#989498",base05:"#b9b5b8",base06:"#d5d3d5",base07:"#ffffff",base08:"#dd464c",base09:"#fd8b19",base0A:"#fdcc59",base0B:"#8fc13e",base0C:"#149b93",base0D:"#1290bf",base0E:"#c85e7c",base0F:"#b33508"},JA={scheme:"isotope",author:"jan t. sott",base00:"#000000",base01:"#404040",base02:"#606060",base03:"#808080",base04:"#c0c0c0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#ff0000",base09:"#ff9900",base0A:"#ff0099",base0B:"#33ff00",base0C:"#00ffff",base0D:"#0066ff",base0E:"#cc00ff",base0F:"#3300ff"},eM={scheme:"marrakesh",author:"alexandre gavioli (http://github.com/alexx2/)",base00:"#201602",base01:"#302e00",base02:"#5f5b17",base03:"#6c6823",base04:"#86813b",base05:"#948e48",base06:"#ccc37a",base07:"#faf0a5",base08:"#c35359",base09:"#b36144",base0A:"#a88339",base0B:"#18974e",base0C:"#75a738",base0D:"#477ca1",base0E:"#8868b3",base0F:"#b3588e"},tM={scheme:"mocha",author:"chris kempson (http://chriskempson.com)",base00:"#3B3228",base01:"#534636",base02:"#645240",base03:"#7e705a",base04:"#b8afad",base05:"#d0c8c6",base06:"#e9e1dd",base07:"#f5eeeb",base08:"#cb6077",base09:"#d28b71",base0A:"#f4bc87",base0B:"#beb55b",base0C:"#7bbda4",base0D:"#8ab3b5",base0E:"#a89bb9",base0F:"#bb9584"},rM={scheme:"monokai",author:"wimer hazenberg (http://www.monokai.nl)",base00:"#272822",base01:"#383830",base02:"#49483e",base03:"#75715e",base04:"#a59f85",base05:"#f8f8f2",base06:"#f5f4f1",base07:"#f9f8f5",base08:"#f92672",base09:"#fd971f",base0A:"#f4bf75",base0B:"#a6e22e",base0C:"#a1efe4",base0D:"#66d9ef",base0E:"#ae81ff",base0F:"#cc6633"},nM={scheme:"nicinabox",author:"nicinabox (http://github.com/nicinabox)",base00:"#2A2F3A",base01:"#3C444F",base02:"#4F5A65",base03:"#BEBEBE",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#FFFFFF",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#FC6D24",base0A:"#ddb26f",base0B:"#A1C659",base0C:"#12cfc0",base0D:"#6FB3D2",base0E:"#D381C3",base0F:"#deaf8f"},aM={scheme:"ocean",author:"chris kempson (http://chriskempson.com)",base00:"#2b303b",base01:"#343d46",base02:"#4f5b66",base03:"#65737e",base04:"#a7adba",base05:"#c0c5ce",base06:"#dfe1e8",base07:"#eff1f5",base08:"#bf616a",base09:"#d08770",base0A:"#ebcb8b",base0B:"#a3be8c",base0C:"#96b5b4",base0D:"#8fa1b3",base0E:"#b48ead",base0F:"#ab7967"},iM={scheme:"paraiso",author:"jan t. sott",base00:"#2f1e2e",base01:"#41323f",base02:"#4f424c",base03:"#776e71",base04:"#8d8687",base05:"#a39e9b",base06:"#b9b6b0",base07:"#e7e9db",base08:"#ef6155",base09:"#f99b15",base0A:"#fec418",base0B:"#48b685",base0C:"#5bc4bf",base0D:"#06b6ef",base0E:"#815ba4",base0F:"#e96ba8"},oM={scheme:"pop",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#eb008a",base09:"#f29333",base0A:"#f8ca12",base0B:"#37b349",base0C:"#00aabb",base0D:"#0e5a94",base0E:"#b31e8d",base0F:"#7a2d00"},lM={scheme:"railscasts",author:"ryan bates (http://railscasts.com)",base00:"#2b2b2b",base01:"#272935",base02:"#3a4055",base03:"#5a647e",base04:"#d4cfc9",base05:"#e6e1dc",base06:"#f4f1ed",base07:"#f9f7f3",base08:"#da4939",base09:"#cc7833",base0A:"#ffc66d",base0B:"#a5c261",base0C:"#519f50",base0D:"#6d9cbe",base0E:"#b6b3eb",base0F:"#bc9458"},uM={scheme:"shapeshifter",author:"tyler benziger (http://tybenz.com)",base00:"#000000",base01:"#040404",base02:"#102015",base03:"#343434",base04:"#555555",base05:"#ababab",base06:"#e0e0e0",base07:"#f9f9f9",base08:"#e92f2f",base09:"#e09448",base0A:"#dddd13",base0B:"#0ed839",base0C:"#23edda",base0D:"#3b48e3",base0E:"#f996e2",base0F:"#69542d"},sM={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"},cM={scheme:"summerfruit",author:"christopher corley (http://cscorley.github.io/)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#B0B0B0",base05:"#D0D0D0",base06:"#E0E0E0",base07:"#FFFFFF",base08:"#FF0086",base09:"#FD8900",base0A:"#ABA800",base0B:"#00C918",base0C:"#1faaaa",base0D:"#3777E6",base0E:"#AD00A1",base0F:"#cc6633"},dM={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},fM={scheme:"london tube",author:"jan t. sott",base00:"#231f20",base01:"#1c3f95",base02:"#5a5758",base03:"#737171",base04:"#959ca1",base05:"#d9d8d8",base06:"#e7e7e8",base07:"#ffffff",base08:"#ee2e24",base09:"#f386a1",base0A:"#ffd204",base0B:"#00853e",base0C:"#85cebc",base0D:"#009ddc",base0E:"#98005d",base0F:"#b06110"},pM={scheme:"twilight",author:"david hart (http://hart-dev.com)",base00:"#1e1e1e",base01:"#323537",base02:"#464b50",base03:"#5f5a60",base04:"#838184",base05:"#a7a7a7",base06:"#c3c3c3",base07:"#ffffff",base08:"#cf6a4c",base09:"#cda869",base0A:"#f9ee98",base0B:"#8f9d6a",base0C:"#afc4db",base0D:"#7587a6",base0E:"#9b859d",base0F:"#9b703f"},y5={threezerotwofour:wA,apathy:PA,ashes:RA,atelierDune:xA,atelierForest:BA,atelierHeath:LA,atelierLakeside:FA,atelierSeaside:NA,bespin:zA,brewer:jA,bright:HA,chalk:IA,codeschool:qA,colors:UA,default:WA,eighties:GA,embers:YA,flat:VA,google:KA,grayscale:ZA,greenscreen:XA,harmonic:$A,hopscotch:QA,isotope:JA,marrakesh:eM,mocha:tM,monokai:rM,nicinabox:nM,ocean:aM,paraiso:iM,pop:oM,railscasts:lM,shapeshifter:uM,solarized:sM,summerfruit:cM,tomorrow:dM,tube:fM,twilight:pM},S5=y5.default,V1=Object.keys(S5),gM=r=>r<.25?1:r<.5?.9-r:1.1-r,vM=r=>{const a=T1(r),[i,u,c]=MA(a.array()),f=[gM(i),u,c],l=AA(f);return T1.rgb(l).hex()},Ua=r=>a=>({className:[a.className,r.className].filter(Boolean).join(" "),style:{...a.style||{},...r.style||{}}}),hM=(r,a)=>{if(r===void 0)return a;if(a===void 0)return r;const i=typeof r,u=typeof a;switch(i){case"string":switch(u){case"string":return[a,r].filter(Boolean).join(" ");case"object":return Ua({className:r,style:a});case"function":return(c,...f)=>Ua({className:r})(a(c,...f))}break;case"object":switch(u){case"string":return Ua({className:a,style:r});case"object":return{...a,...r};case"function":return(c,...f)=>Ua({style:r})(a(c,...f))}break;case"function":switch(u){case"string":return(c,...f)=>r(Ua(c)({className:a}),...f);case"object":return(c,...f)=>r(Ua(c)({style:a}),...f);case"function":return(c,...f)=>r(a(c,...f),...f)}}},mM=(r,a)=>{const i=Object.keys(a);for(const u in r)i.indexOf(u)===-1&&i.push(u);return i.reduce((u,c)=>(u[c]=hM(r[c],a[c]),u),{})},bM=(r,a,...i)=>{if(a===null)return r;Array.isArray(a)||(a=[a]);const c=a.map(f=>r[f]).filter(Boolean).reduce((f,l)=>(typeof l=="string"?f.className=[f.className,l].filter(Boolean).join(" "):typeof l=="object"?f.style={...f.style,...l}:typeof l=="function"&&(f={...f,...l(f,...i)}),f),{className:"",style:{}});return c.className||delete c.className,Object.keys(c.style).length===0&&delete c.style,c},e0=r=>Object.keys(r).reduce((a,i)=>(a[i]=/^base/.test(i)?vM(r[i]):i==="scheme"?r[i]+":inverted":r[i],a),{}),yM=Ss((r,a={},i={},...u)=>{const{defaultBase16:c=S5,base16Themes:f=null}=a,l=SM(i,f);l&&(i={...l,...i});const m=V1.reduce((h,g)=>(h[g]=i[g]||c[g],h),{}),p=Object.keys(i).reduce((h,g)=>(V1.indexOf(g)===-1&&(h[g]=i[g]),h),{}),d=r(m),b=mM(p,d);return Ss(bM,2)(b,...u)},3),D5=r=>!!r.extend,SM=(r,a)=>{if(r&&D5(r)&&r.extend&&(r=r.extend),typeof r=="string"){const[i,u]=r.split(":");a?r=a[i]:r=y5[i],u==="inverted"&&(r=e0(r))}return r&&Object.prototype.hasOwnProperty.call(r,"base00")?r:void 0},DM=r=>typeof r=="string"?`${r}:inverted`:r&&D5(r)&&r.extend?typeof r.extend=="string"?{...r,extend:`${r.extend}:inverted`}:{...r,extend:e0(r.extend)}:r&&e0(r);function OM(r){const a=Object.prototype.toString.call(r).slice(8,-1);return a==="Object"&&typeof r[Symbol.iterator]=="function"?"Iterable":a==="Custom"&&r.constructor!==Object&&r instanceof Object?"Object":a}function O5({styling:r,arrowStyle:a="single",expanded:i,nodeType:u,onClick:c}){return ye.createElement("div",{...r("arrowContainer",a),onClick:c},ye.createElement("div",{...r(["arrow","arrowSign"],u,i,a)},"▶",a==="double"&&ye.createElement("div",{...r(["arrowSign","arrowSignInner"])},"▶")))}function EM(r,a){return r==="Object"?Object.keys(a).length:r==="Array"?a.length:1/0}function CM(r){return typeof r.set=="function"}function _M(r,a,i,u=0,c=1/0){let f;if(r==="Object"){let l=Object.getOwnPropertyNames(a);i&&l.sort(i===!0?void 0:i),l=l.slice(u,c+1),f={entries:l.map(m=>({key:m,value:a[m]}))}}else if(r==="Array")f={entries:a.slice(u,c+1).map((l,m)=>({key:m+u,value:l}))};else{let l=0;const m=[];let p=!0;const d=CM(a);for(const b of a){if(l>c){p=!1;break}u<=l&&(d&&Array.isArray(b)?typeof b[0]=="string"||typeof b[0]=="number"?m.push({key:b[0],value:b[1]}):m.push({key:`[entry ${l}]`,value:{"[key]":b[0],"[value]":b[1]}}):m.push({key:l,value:b})),l++}f={hasMore:!p,entries:m}}return f}function zf(r,a,i){const u=[];for(;a-r>i*i;)i=i*i;for(let c=r;c<=a;c+=i)u.push({from:c,to:Math.min(a,c+i-1)});return u}function TM(r,a,i,u,c=0,f=1/0){const l=_M.bind(null,r,a,i);if(!u)return l().entries;const m=f<1/0,p=Math.min(f-c,EM(r,a));if(r!=="Iterable"){if(p<=u||u<7)return l(c,f).entries}else if(p<=u&&!m)return l(c,f).entries;let d;if(r==="Iterable"){const{hasMore:b,entries:h}=l(c,c+u-1);d=b?[...h,...zf(c+u,c+2*u-1,u)]:h}else d=m?zf(c,f,u):[...l(0,u-5).entries,...zf(u-4,p-5,u),...l(p-4,p-1).entries];return d}function kM(r){const{styling:a,from:i,to:u,renderChildNodes:c,nodeType:f}=r,[l,m]=re.useState(!1),p=re.useCallback(()=>{m(!l)},[l]);return l?ye.createElement("div",{...a("itemRange",l)},c(r,i,u)):ye.createElement("div",{...a("itemRange",l),onClick:p},ye.createElement(O5,{nodeType:f,styling:a,expanded:!1,onClick:p,arrowStyle:"double"}),`${i} ... ${u}`)}function AM(r){return r.to!==void 0}function E5(r,a,i){const{nodeType:u,data:c,collectionLimit:f,circularCache:l,keyPath:m,postprocessValue:p,sortObjectKeys:d}=r,b=[];return TM(u,c,d,f,a,i).forEach(h=>{if(AM(h))b.push(ye.createElement(kM,{...r,key:`ItemRange--${h.from}-${h.to}`,from:h.from,to:h.to,renderChildNodes:E5}));else{const{key:g,value:S}=h,y=l.includes(S);b.push(ye.createElement(C5,{...r,postprocessValue:p,collectionLimit:f,key:`Node--${g}`,keyPath:[g,...m],value:p(S),circularCache:[...l,S],isCircular:y,hideRoot:!1}))}}),b}function X0(r){const{circularCache:a=[],collectionLimit:i,createItemString:u,data:c,expandable:f,getItemString:l,hideRoot:m,isCircular:p,keyPath:d,labelRenderer:b,level:h=0,nodeType:g,nodeTypeIndicator:S,shouldExpandNodeInitially:y,styling:D}=r,[O,A]=re.useState(p?!1:y(d,c,h)),C=re.useCallback(()=>{f&&A(!O)},[f,O]),k=O||m&&h===0?E5({...r,circularCache:a,level:h+1}):null,T=ye.createElement("span",{...D("nestedNodeItemType",O)},S),_=l(g,c,T,u(c,i),d),L=[d,g,O,f];return m?ye.createElement("li",{...D("rootNode",...L)},ye.createElement("ul",{...D("rootNodeChildren",...L)},k)):ye.createElement("li",{...D("nestedNode",...L)},f&&ye.createElement(O5,{styling:D,nodeType:g,expanded:O,onClick:C}),ye.createElement("label",{...D(["label","nestedNodeLabel"],...L),onClick:C},b(...L)),ye.createElement("span",{...D("nestedNodeItemString",...L),onClick:C},_),ye.createElement("ul",{...D("nestedNodeChildren",...L)},k))}function MM(r){const a=Object.getOwnPropertyNames(r).length;return`${a} ${a!==1?"keys":"key"}`}function wM({data:r,...a}){return ye.createElement(X0,{...a,data:r,nodeType:"Object",nodeTypeIndicator:a.nodeType==="Error"?"Error()":"{}",createItemString:MM,expandable:Object.getOwnPropertyNames(r).length>0})}function PM(r){return`${r.length} ${r.length!==1?"items":"item"}`}function RM({data:r,...a}){return ye.createElement(X0,{...a,data:r,nodeType:"Array",nodeTypeIndicator:"[]",createItemString:PM,expandable:r.length>0})}function xM(r,a){let i=0,u=!1;if(Number.isSafeInteger(r.size))i=r.size;else for(const c of r){if(a&&i+1>a){u=!0;break}i+=1}return`${u?">":""}${i} ${i!==1?"entries":"entry"}`}function BM(r){return ye.createElement(X0,{...r,nodeType:"Iterable",nodeTypeIndicator:"()",createItemString:xM,expandable:!0})}function Kr({nodeType:r,styling:a,labelRenderer:i,keyPath:u,valueRenderer:c,value:f,valueGetter:l=m=>m}){return ye.createElement("li",{...a("value",r,u)},ye.createElement("label",{...a(["label","valueLabel"],r,u)},i(u,r,!1,!1)),ye.createElement("span",{...a("valueText",r,u)},c(l(f),f,...u)))}function C5({getItemString:r,keyPath:a,labelRenderer:i,styling:u,value:c,valueRenderer:f,isCustomNode:l,...m}){const p=l(c)?"Custom":OM(c),d={getItemString:r,key:a[0],keyPath:a,labelRenderer:i,nodeType:p,styling:u,value:c,valueRenderer:f},b={...m,...d,data:c,isCustomNode:l};switch(p){case"Object":case"Error":case"WeakMap":case"WeakSet":return ye.createElement(wM,{...b});case"Array":return ye.createElement(RM,{...b});case"Iterable":case"Map":case"Set":return ye.createElement(BM,{...b});case"String":return ye.createElement(Kr,{...d,valueGetter:h=>`"${h}"`});case"Number":return ye.createElement(Kr,{...d});case"Boolean":return ye.createElement(Kr,{...d,valueGetter:h=>h?"true":"false"});case"Date":return ye.createElement(Kr,{...d,valueGetter:h=>h.toISOString()});case"Null":return ye.createElement(Kr,{...d,valueGetter:()=>"null"});case"Undefined":return ye.createElement(Kr,{...d,valueGetter:()=>"undefined"});case"Function":case"Symbol":return ye.createElement(Kr,{...d,valueGetter:h=>h.toString()});case"Custom":return ye.createElement(Kr,{...d});default:return ye.createElement(Kr,{...d,valueGetter:()=>`<${p}>`})}}const LM={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"},FM=r=>({BACKGROUND_COLOR:r.base00,TEXT_COLOR:r.base07,STRING_COLOR:r.base0B,DATE_COLOR:r.base0B,NUMBER_COLOR:r.base09,BOOLEAN_COLOR:r.base09,NULL_COLOR:r.base08,UNDEFINED_COLOR:r.base08,FUNCTION_COLOR:r.base08,SYMBOL_COLOR:r.base08,LABEL_COLOR:r.base0D,ARROW_COLOR:r.base0D,ITEM_STRING_COLOR:r.base0B,ITEM_STRING_EXPANDED_COLOR:r.base03}),NM=r=>({String:r.STRING_COLOR,Date:r.DATE_COLOR,Number:r.NUMBER_COLOR,Boolean:r.BOOLEAN_COLOR,Null:r.NULL_COLOR,Undefined:r.UNDEFINED_COLOR,Function:r.FUNCTION_COLOR,Symbol:r.SYMBOL_COLOR}),zM=r=>{const a=FM(r);return{tree:{border:0,padding:0,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"0.125em",marginRight:0,listStyle:"none",MozUserSelect:"none",WebkitUserSelect:"none",backgroundColor:a.BACKGROUND_COLOR},value:({style:i},u,c)=>({style:{...i,paddingTop:"0.25em",paddingRight:0,marginLeft:"0.875em",WebkitUserSelect:"text",MozUserSelect:"text",wordWrap:"break-word",paddingLeft:c.length>1?"2.125em":"1.25em",textIndent:"-0.5em",wordBreak:"break-all"}}),label:{display:"inline-block",color:a.LABEL_COLOR},valueLabel:{margin:"0 0.5em 0 0"},valueText:({style:i},u)=>({style:{...i,color:NM(a)[u]}}),itemRange:(i,u)=>({style:{paddingTop:u?0:"0.25em",cursor:"pointer",color:a.LABEL_COLOR}}),arrow:({style:i},u,c)=>({style:{...i,marginLeft:0,transition:"150ms",WebkitTransition:"150ms",MozTransition:"150ms",WebkitTransform:c?"rotateZ(90deg)":"rotateZ(0deg)",MozTransform:c?"rotateZ(90deg)":"rotateZ(0deg)",transform:c?"rotateZ(90deg)":"rotateZ(0deg)",transformOrigin:"45% 50%",WebkitTransformOrigin:"45% 50%",MozTransformOrigin:"45% 50%",position:"relative",lineHeight:"1.1em",fontSize:"0.75em"}}),arrowContainer:({style:i},u)=>({style:{...i,display:"inline-block",paddingRight:"0.5em",paddingLeft:u==="double"?"1em":0,cursor:"pointer"}}),arrowSign:{color:a.ARROW_COLOR},arrowSignInner:{position:"absolute",top:0,left:"-0.4em"},nestedNode:({style:i},u,c,f,l)=>({style:{...i,position:"relative",paddingTop:"0.25em",marginLeft:u.length>1?"0.875em":0,paddingLeft:l?0:"1.125em"}}),rootNode:{padding:0,margin:0},nestedNodeLabel:({style:i},u,c,f,l)=>({style:{...i,margin:0,padding:0,WebkitUserSelect:l?"inherit":"text",MozUserSelect:l?"inherit":"text",cursor:l?"pointer":"default"}}),nestedNodeItemString:({style:i},u,c,f)=>({style:{...i,paddingLeft:"0.5em",cursor:"default",color:f?a.ITEM_STRING_EXPANDED_COLOR:a.ITEM_STRING_COLOR}}),nestedNodeItemType:{marginLeft:"0.3em",marginRight:"0.3em"},nestedNodeChildren:({style:i},u,c)=>({style:{...i,padding:0,margin:0,listStyle:"none",display:c?"block":"none"}}),rootNodeChildren:{padding:0,margin:0,listStyle:"none"}}},jM=yM(zM,{defaultBase16:LM}),K1=r=>r,HM=(r,a,i)=>i===0,IM=(r,a,i,u)=>ye.createElement("span",null,i," ",u),qM=([r])=>ye.createElement("span",null,r,":"),UM=()=>!1;function WM({data:r,theme:a,invertTheme:i,keyPath:u=["root"],labelRenderer:c=qM,valueRenderer:f=K1,shouldExpandNodeInitially:l=HM,hideRoot:m=!1,getItemString:p=IM,postprocessValue:d=K1,isCustomNode:b=UM,collectionLimit:h=50,sortObjectKeys:g=!1}){const S=re.useMemo(()=>jM(i?DM(a):a),[a,i]);return ye.createElement("ul",{...S("tree")},ye.createElement(C5,{keyPath:m?[]:u,value:d(r),isCustomNode:b,styling:S,labelRenderer:c,valueRenderer:f,shouldExpandNodeInitially:l,hideRoot:m,getItemString:p,postprocessValue:d,collectionLimit:h,sortObjectKeys:g}))}const GM=({payload:r})=>typeof r=="string"?W.jsx("pre",{className:"rz-detail-pre rz-detail-mono",children:r}):typeof r=="number"||typeof r=="boolean"||r==null?W.jsx("pre",{className:"rz-detail-pre rz-detail-mono",children:String(r)}):nT(r)?W.jsx("div",{className:"rz-detail-json-tree",children:W.jsx(WM,{data:r,theme:J_,invertTheme:!1,shouldExpandNodeInitially:a=>a.length<=2})}):W.jsx("pre",{className:"rz-detail-pre rz-detail-mono",children:String(r)}),t0=({className:r,isDragging:a,isHidden:i=!1,orientation:u,label:c,onPointerDown:f})=>W.jsx("div",{className:E0(r),"data-dragging":a,"data-hidden":i,"aria-hidden":i,onPointerDown:f,role:"separator","aria-orientation":u,"aria-label":c}),Z1=({selectedMessage:r,isOpen:a,isNarrowViewport:i,activeResizeHandle:u,onClose:c,onUseMessage:f,onResizeStart:l})=>{const m=!a||!r;return W.jsxs(W.Fragment,{children:[i?null:W.jsx(t0,{className:"rz-column-resize-handle",isDragging:u==="details-width",isHidden:m,orientation:"vertical",label:"Resize message details",onPointerDown:l}),W.jsx("div",{className:"rz-pane","data-hidden":m,"aria-hidden":m,children:W.jsxs("div",{className:"rz-sidebar",children:[W.jsxs("div",{className:"rz-sidebar-header",children:[W.jsx("div",{className:"rz-sidebar-title",children:"Message Details"}),W.jsxs("div",{className:"rz-header-actions",children:[W.jsx(Ya,{type:"button","aria-label":"Use message in dispatcher",title:"Use message in dispatcher",onClick:()=>{r&&f(r)},children:W.jsx(QS,{})}),W.jsx(Ya,{type:"button","aria-label":"Close message details",onClick:c,children:"×"})]})]}),W.jsx(Bs,{className:"rz-sidebar-scroll",children:r?W.jsxs("div",{className:"rz-message-detail",children:[W.jsxs("div",{className:"rz-detail-section",children:[W.jsx("div",{className:"rz-label",children:"Date"}),W.jsx("div",{className:"rz-detail-value rz-detail-mono",children:aT(r.date)})]}),W.jsxs("div",{className:"rz-detail-section",children:[W.jsx("div",{className:"rz-label",children:"Type"}),W.jsx("div",{className:"rz-detail-value rz-detail-mono",children:r.type})]}),W.jsxs("div",{className:"rz-detail-section",children:[W.jsx("div",{className:"rz-label",children:"Payload"}),W.jsx("div",{className:"rz-detail-payload",children:W.jsx(GM,{payload:r.payload})})]})]}):W.jsx("div",{className:"rz-empty-state",children:"Select a message to inspect its details."})})]})})]})},X1=r=>({commandType:r.type,commandPayload:C0(r.payload)}),$1=({messages:r,selectedMessageId:a,onSelectMessage:i,onClearMessages:u})=>W.jsx("div",{className:"rz-pane",children:W.jsxs("div",{className:"rz-log-pane",children:[W.jsxs("div",{className:"rz-sidebar-header",children:[W.jsx("div",{className:"rz-sidebar-title",children:"Message Log"}),W.jsx("div",{className:"rz-header-actions",children:W.jsx(Ya,{type:"button",onClick:u,disabled:r.length===0,"aria-label":"Clear message log",title:"Clear message log",children:W.jsx($S,{})})})]}),W.jsx(Bs,{className:"rz-sidebar-scroll",children:W.jsxs("div",{className:"rz-message-list",children:[W.jsxs("div",{className:"rz-message-list-header",children:[W.jsx("div",{className:"rz-message-header-cell",children:"Dir"}),W.jsx("div",{className:"rz-message-header-cell",children:"Date"}),W.jsx("div",{className:"rz-message-header-cell",children:"Type"}),W.jsx("div",{className:"rz-message-header-cell",children:"Payload"})]}),r.map(c=>W.jsxs("button",{type:"button",className:"rz-message-row","data-selected":c.id===a,onClick:()=>i(c.id),children:[W.jsx("div",{className:E0("rz-message-cell rz-message-direction",c.direction==="in"?"rz-message-dir-in":"rz-message-dir-out"),"aria-label":c.direction==="in"?"Sent message":"Received message",title:c.direction==="in"?"Sent message":"Received message",children:W.jsx("span",{className:"rz-message-arrow","aria-hidden":"true",children:c.direction==="in"?"↑":"↓"})}),W.jsx("div",{className:"rz-message-cell rz-message-date",children:iT(c.date)}),W.jsx("div",{className:"rz-message-cell rz-message-type",children:c.type}),W.jsx("pre",{className:"rz-message-cell rz-message-preview",children:rT(c.payload)})]},c.id))]})})]})}),YM=({panels:r,activeSource:a,onValueChange:i})=>W.jsx(Y0,{"aria-label":"Plugin panels",value:a,onChange:i,options:r.map(u=>({key:u.source,label:u.label}))}),VM=()=>window.matchMedia("(max-width: 960px)").matches,KM=({packageName:r,packageDescription:a,panels:i,flows:u,presets:c})=>{const[f,l]=re.useState(()=>lT(i)),[m,p]=re.useState(""),[d,b]=re.useState(""),[h,g]=re.useState([]),[S,y]=re.useState(null),[D,O]=re.useState(!1),[A,C]=re.useState(K_),[k,T]=re.useState(Q_),[_,L]=re.useState($_),[R,F]=re.useState(null),[Z,ee]=re.useState(VM),[Y,ne]=re.useState("log"),[K,fe]=re.useState(0),ge=re.useRef(null),H=re.useRef(null),te=re.useRef(null),oe=re.useRef(null),z=re.useRef(null),G=re.useRef(0),{flowRuns:P,runFlow:x,stopFlow:w,hasRunningFlow:X,registerMessage:ae,resetMessages:le}=tT({sendMessage:(se,ue)=>{z.current?.contentWindow?.postMessage({pluginId:r,type:se,payload:ue},"*"),lt({direction:"in",type:se,payload:ue})}}),ie=f?.source??"",ve=f?.label??"",ce=i.length===0,Me=h.find(se=>se.id===S)??null,_e=m.trim(),je=d.trim(),pe=_e.length>0,De=(()=>{if(!je)return!1;try{return JSON.parse(d),!0}catch{return!1}})(),ke=pe&&De,Oe=a.trim(),we=D&&Me!==null,He=Z?X_:Z_;re.useEffect(()=>{document.title=`${r} Dev Host`},[r]),re.useEffect(()=>{K!==0&&G.current!==K&&(G.current=K,u.forEach(se=>{se.autoRun&&x(se,{autoRun:!0})}))},[u,K,x]),re.useEffect(()=>{const se=window.matchMedia("(max-width: 960px)"),ue=me=>{ee(me.matches)};return ee(se.matches),se.addEventListener("change",ue),()=>{se.removeEventListener("change",ue)}},[]),re.useEffect(()=>{const se=ge.current;if(!se)return;const ue=se.getBoundingClientRect(),me=Math.max(Ku,ue.height-He-12);C(Qe=>Zu(Qe,Ku,me))},[He]),re.useEffect(()=>{Z&&ne("log")},[Z]);const Ie=se=>{const ue=i.find(Qe=>Qe.source===se);if(!ue)return;l(ue);const me=new URL(window.location.href);me.searchParams.set("panel",ue.label),window.history.replaceState(null,"",me)},lt=se=>{const ue=uT(se);ae(ue),g(me=>[ue,...me])};re.useEffect(()=>{const se=me=>{oe.current?.onMove(me)},ue=()=>{const me=oe.current;me&&(me.element.hasPointerCapture(me.pointerId)&&me.element.releasePointerCapture(me.pointerId),oe.current=null,F(null))};return window.addEventListener("pointermove",se),window.addEventListener("pointerup",ue),window.addEventListener("pointercancel",ue),()=>{window.removeEventListener("pointermove",se),window.removeEventListener("pointerup",ue),window.removeEventListener("pointercancel",ue)}},[]);const Mt=(se,ue,me)=>{ue.preventDefault(),ue.currentTarget.setPointerCapture(ue.pointerId),oe.current={handleId:se,pointerId:ue.pointerId,element:ue.currentTarget,onMove:me},F(se)};re.useEffect(()=>{const se=ue=>{if(ue.source!==z.current?.contentWindow||typeof ue.data!="object"||ue.data===null||!("type"in ue.data)||ue.data.type!=="rozenite-message"||!("payload"in ue.data))return;const me=ue.data.payload;oT(me)&&lt({direction:"out",type:me.type,payload:me.payload})};return window.addEventListener("message",se),()=>{window.removeEventListener("message",se)}},[]);const vt=()=>{p(""),b("")},It=se=>{p(se.type),b(C0(se.payload))},rt=()=>{le(),g([]),y(null),O(!1),ne("log")},ii=se=>{const ue=ge.current;if(!ue)return;const me=ue.getBoundingClientRect(),Qe=me.bottom-se.clientY,We=Math.max(Ku,me.height-He-12);C(Zu(Qe,Ku,We))},Jn=se=>{const ue=te.current;if(!ue)return;const me=ue.getBoundingClientRect(),Qe=me.right-se.clientX,We=Math.max(zb,me.width-280);T(Zu(Qe,zb,We))},Tr=se=>{const ue=H.current;if(!ue||!we||Z)return;const me=ue.getBoundingClientRect(),Qe=me.right-se.clientX,We=Math.max(Nb,me.width-280-pf);L(Zu(Qe,Nb,We))},mr=se=>{y(se),O(!0),Z&&ne("log")},ea=()=>{O(!1),Z&&ne("log")},ta=se=>{ne(se)},ra=se=>{if(se.preventDefault(),!ke)return;const ue=_e;let me;try{me=JSON.parse(d)}catch(Qe){window.alert(Qe instanceof Error?`Payload must be valid JSON. ${Qe.message}`:"Payload must be valid JSON.");return}z.current?.contentWindow?.postMessage({pluginId:r,type:ue,payload:me},"*"),lt({direction:"in",type:ue,payload:me}),vt()};return W.jsxs("div",{className:"rz-shell",children:[W.jsxs("header",{className:"rz-topbar",children:[W.jsx("div",{className:"rz-topbar-brand","aria-label":"Rozenite",children:W.jsx(dT,{})}),W.jsx("div",{className:"rz-topbar-panel-picker",title:Oe||void 0,children:W.jsx(YM,{panels:i,activeSource:ie,onValueChange:Ie})})]}),W.jsxs("main",{ref:ge,className:"rz-workspace",style:{"--rz-devtools-height":`${A}px`},children:[W.jsx("section",{className:"rz-card",children:ce?W.jsx("div",{className:"rz-empty-state",children:"No panels were defined in rozenite.config.ts."}):W.jsx("iframe",{ref:z,title:ve||"Rozenite panel preview",src:ie,className:"rz-iframe","data-resizing":R==="devtools-height",onLoad:()=>fe(se=>se+1)},ie)}),W.jsx(t0,{className:"rz-resize-handle",isDragging:R==="devtools-height",orientation:"horizontal",label:"Resize DevTools",onPointerDown:se=>Mt("devtools-height",se,ii)}),Z?W.jsx("section",{ref:te,className:"rz-devtools-mobile",children:W.jsxs("div",{className:"rz-devtools-mobile-tabs",children:[W.jsx("div",{className:"rz-devtools-mobile-toggle",children:W.jsx(Y0,{"aria-label":"DevTools sections",value:Y,onChange:ta,options:[{key:"log",label:"Log"},{key:"actions",label:"Actions"}]})}),W.jsx("div",{className:"rz-devtools-mobile-panel",children:Y==="log"?we?W.jsx(Z1,{selectedMessage:Me,isOpen:!0,isNarrowViewport:!0,activeResizeHandle:R,onClose:ea,onUseMessage:se=>{const ue=X1(se);p(ue.commandType),b(ue.commandPayload),O(!1),ne("actions")},onResizeStart:se=>Mt("details-width",se,Tr)}):W.jsx($1,{messages:h,selectedMessageId:S,onSelectMessage:mr,onClearMessages:rt}):W.jsx(m1,{commandType:m,commandPayload:d,flows:u,flowRuns:P,hasRunningFlow:X,presets:c,canDispatch:ke,onRunFlow:x,onStopFlow:w,onCommandTypeChange:p,onCommandPayloadChange:b,onApplyPreset:It,onReset:vt,onSubmit:ra})})]})}):W.jsxs("section",{ref:te,className:"rz-devtools",style:{"--rz-command-width":`${k}px`,"--rz-command-splitter-width":`${pf}px`},children:[W.jsxs("div",{ref:H,className:"rz-log-workspace",style:{"--rz-details-width":we?`${_}px`:"0px","--rz-details-splitter-width":we?`${pf}px`:"0px"},children:[W.jsx($1,{messages:h,selectedMessageId:S,onSelectMessage:mr,onClearMessages:rt}),W.jsx(Z1,{selectedMessage:Me,isOpen:D,isNarrowViewport:!1,activeResizeHandle:R,onClose:ea,onUseMessage:se=>{const ue=X1(se);p(ue.commandType),b(ue.commandPayload)},onResizeStart:se=>Mt("details-width",se,Tr)})]}),W.jsx(t0,{className:"rz-column-resize-handle",isDragging:R==="command-width",orientation:"vertical",label:"Resize command dispatcher",onPointerDown:se=>Mt("command-width",se,Jn)}),W.jsx(m1,{commandType:m,commandPayload:d,flows:u,flowRuns:P,hasRunningFlow:X,presets:c,canDispatch:ke,onRunFlow:x,onStopFlow:w,onCommandTypeChange:p,onCommandPayloadChange:b,onApplyPreset:It,onReset:vt,onSubmit:ra})]})]})]})},_5=(r,a)=>typeof r=="string"&&r.trim()?r.trim():a,T5=()=>{const r=window[V_];return typeof r!="object"||r===null?{}:r},ZM=r=>typeof r=="object"&&r!==null&&(!("name"in r)||typeof r.name=="string")&&"type"in r&&typeof r.type=="string"&&"payload"in r,XM=r=>typeof r=="object"&&r!==null&&(!("name"in r)||typeof r.name=="string")&&(!("autoRun"in r)||typeof r.autoRun=="boolean")&&"run"in r&&typeof r.run=="function",$M=r=>{if(!ZM(r))return null;const a=_5(r.name,"Untitled preset");return{name:a,displayName:a,type:r.type,payload:r.payload}},QM=r=>{if(!XM(r))return null;const a=_5(r.name,"Untitled flow");return{name:a,displayName:a,autoRun:r.autoRun??!1,run:r.run}},JM=()=>{const r=T5().presets;return Array.isArray(r)?r.flatMap(a=>{const i=$M(a);return i?[i]:[]}):[]},e4=()=>{const r=T5().flows;return Array.isArray(r)?r.flatMap(a=>{const i=QM(a);return i?[i]:[]}):[]},t4=new G_,k5=document.getElementById("root");if(!k5)throw new Error("Rozenite dev host failed to initialize.");const r4=sT(),n4=e4(),a4=JM();JO.createRoot(k5).render(W.jsx(re.StrictMode,{children:W.jsx(pS,{value:t4,children:W.jsx(Er.BaseProvider,{theme:Er.DarkTheme,children:W.jsx(KM,{...r4,flows:n4,presets:a4})})})}))});export default i4();