@deephaven/embed-grid 0.47.1-beta.0 → 0.47.1-dynamic-import.4

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,908 @@
1
+ import{g as rr,c as be,a as YW}from"./helpers-042e6b4d.js";var TA={exports:{}},_u={};/*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */var KE=Object.getOwnPropertySymbols,XW=Object.prototype.hasOwnProperty,QW=Object.prototype.propertyIsEnumerable;function JW(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function ZW(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(n.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var AA=ZW()?Object.assign:function(e,t){for(var r,n=JW(e),i,o=1;o<arguments.length;o++){r=Object(arguments[o]);for(var a in r)XW.call(r,a)&&(n[a]=r[a]);if(KE){i=KE(r);for(var l=0;l<i.length;l++)QW.call(r,i[l])&&(n[i[l]]=r[i[l]])}}return n},OA={exports:{}},Se={};/** @license React v17.0.2
6
+ * react.production.min.js
7
+ *
8
+ * Copyright (c) Facebook, Inc. and its affiliates.
9
+ *
10
+ * This source code is licensed under the MIT license found in the
11
+ * LICENSE file in the root directory of this source tree.
12
+ */var L4=AA,yl=60103,RA=60106;Se.Fragment=60107;Se.StrictMode=60108;Se.Profiler=60114;var _A=60109,kA=60110,DA=60112;Se.Suspense=60113;var MA=60115,NA=60116;if(typeof Symbol=="function"&&Symbol.for){var qr=Symbol.for;yl=qr("react.element"),RA=qr("react.portal"),Se.Fragment=qr("react.fragment"),Se.StrictMode=qr("react.strict_mode"),Se.Profiler=qr("react.profiler"),_A=qr("react.provider"),kA=qr("react.context"),DA=qr("react.forward_ref"),Se.Suspense=qr("react.suspense"),MA=qr("react.memo"),NA=qr("react.lazy")}var HE=typeof Symbol=="function"&&Symbol.iterator;function eK(e){return e===null||typeof e!="object"?null:(e=HE&&e[HE]||e["@@iterator"],typeof e=="function"?e:null)}function ku(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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."}var LA={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},FA={};function $l(e,t,r){this.props=e,this.context=t,this.refs=FA,this.updater=r||LA}$l.prototype.isReactComponent={};$l.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(ku(85));this.updater.enqueueSetState(this,e,t,"setState")};$l.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function BA(){}BA.prototype=$l.prototype;function F4(e,t,r){this.props=e,this.context=t,this.refs=FA,this.updater=r||LA}var B4=F4.prototype=new BA;B4.constructor=F4;L4(B4,$l.prototype);B4.isPureReactComponent=!0;var z4={current:null},zA=Object.prototype.hasOwnProperty,jA={key:!0,ref:!0,__self:!0,__source:!0};function UA(e,t,r){var n,i={},o=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)zA.call(t,n)&&!jA.hasOwnProperty(n)&&(i[n]=t[n]);var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){for(var s=Array(l),u=0;u<l;u++)s[u]=arguments[u+2];i.children=s}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)i[n]===void 0&&(i[n]=l[n]);return{$$typeof:yl,type:e,key:o,ref:a,props:i,_owner:z4.current}}function tK(e,t){return{$$typeof:yl,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function j4(e){return typeof e=="object"&&e!==null&&e.$$typeof===yl}function rK(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var VE=/\/+/g;function rm(e,t){return typeof e=="object"&&e!==null&&e.key!=null?rK(""+e.key):t.toString(36)}function Pd(e,t,r,n,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case yl:case RA:a=!0}}if(a)return a=e,i=i(a),e=n===""?"."+rm(a,0):n,Array.isArray(i)?(r="",e!=null&&(r=e.replace(VE,"$&/")+"/"),Pd(i,t,r,"",function(u){return u})):i!=null&&(j4(i)&&(i=tK(i,r+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(VE,"$&/")+"/")+e)),t.push(i)),1;if(a=0,n=n===""?".":n+":",Array.isArray(e))for(var l=0;l<e.length;l++){o=e[l];var s=n+rm(o,l);a+=Pd(o,t,r,s,i)}else if(s=eK(e),typeof s=="function")for(e=s.call(e),l=0;!(o=e.next()).done;)o=o.value,s=n+rm(o,l++),a+=Pd(o,t,r,s,i);else if(o==="object")throw t=""+e,Error(ku(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return a}function Ic(e,t,r){if(e==null)return e;var n=[],i=0;return Pd(e,n,"","",function(o){return t.call(r,o,i++)}),n}function nK(e){if(e._status===-1){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(r){e._status===0&&(r=r.default,e._status=1,e._result=r)},function(r){e._status===0&&(e._status=2,e._result=r)})}if(e._status===1)return e._result;throw e._result}var WA={current:null};function Yn(){var e=WA.current;if(e===null)throw Error(ku(321));return e}var iK={ReactCurrentDispatcher:WA,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:z4,IsSomeRendererActing:{current:!1},assign:L4};Se.Children={map:Ic,forEach:function(e,t,r){Ic(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Ic(e,function(){t++}),t},toArray:function(e){return Ic(e,function(t){return t})||[]},only:function(e){if(!j4(e))throw Error(ku(143));return e}};Se.Component=$l;Se.PureComponent=F4;Se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=iK;Se.cloneElement=function(e,t,r){if(e==null)throw Error(ku(267,e));var n=L4({},e.props),i=e.key,o=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,a=z4.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)zA.call(t,s)&&!jA.hasOwnProperty(s)&&(n[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)n.children=r;else if(1<s){l=Array(s);for(var u=0;u<s;u++)l[u]=arguments[u+2];n.children=l}return{$$typeof:yl,type:e.type,key:i,ref:o,props:n,_owner:a}};Se.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:kA,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:_A,_context:e},e.Consumer=e};Se.createElement=UA;Se.createFactory=function(e){var t=UA.bind(null,e);return t.type=e,t};Se.createRef=function(){return{current:null}};Se.forwardRef=function(e){return{$$typeof:DA,render:e}};Se.isValidElement=j4;Se.lazy=function(e){return{$$typeof:NA,_payload:{_status:-1,_result:e},_init:nK}};Se.memo=function(e,t){return{$$typeof:MA,type:e,compare:t===void 0?null:t}};Se.useCallback=function(e,t){return Yn().useCallback(e,t)};Se.useContext=function(e,t){return Yn().useContext(e,t)};Se.useDebugValue=function(){};Se.useEffect=function(e,t){return Yn().useEffect(e,t)};Se.useImperativeHandle=function(e,t,r){return Yn().useImperativeHandle(e,t,r)};Se.useLayoutEffect=function(e,t){return Yn().useLayoutEffect(e,t)};Se.useMemo=function(e,t){return Yn().useMemo(e,t)};Se.useReducer=function(e,t,r){return Yn().useReducer(e,t,r)};Se.useRef=function(e){return Yn().useRef(e)};Se.useState=function(e){return Yn().useState(e)};Se.version="17.0.2";OA.exports=Se;var $=OA.exports;const w=rr($);/** @license React v17.0.2
13
+ * react-jsx-runtime.production.min.js
14
+ *
15
+ * Copyright (c) Facebook, Inc. and its affiliates.
16
+ *
17
+ * This source code is licensed under the MIT license found in the
18
+ * LICENSE file in the root directory of this source tree.
19
+ */var oK=$,KA=60103;_u.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var GE=Symbol.for;KA=GE("react.element"),_u.Fragment=GE("react.fragment")}var aK=oK.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,lK=Object.prototype.hasOwnProperty,sK={key:!0,ref:!0,__self:!0,__source:!0};function HA(e,t,r){var n,i={},o=null,a=null;r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(n in t)lK.call(t,n)&&!sK.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)i[n]===void 0&&(i[n]=t[n]);return{$$typeof:KA,type:e,key:o,ref:a,props:i,_owner:aK.current}}_u.jsx=HA;_u.jsxs=HA;TA.exports=_u;var ige=TA.exports,VA={exports:{}},jr={},GA={exports:{}},qA={};/** @license React v0.20.2
20
+ * scheduler.production.min.js
21
+ *
22
+ * Copyright (c) Facebook, Inc. and its affiliates.
23
+ *
24
+ * This source code is licensed under the MIT license found in the
25
+ * LICENSE file in the root directory of this source tree.
26
+ */(function(e){var t,r,n,i;if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}if(typeof window>"u"||typeof MessageChannel!="function"){var s=null,u=null,c=function(){if(s!==null)try{var M=e.unstable_now();s(!0,M),s=null}catch(L){throw setTimeout(c,0),L}};t=function(M){s!==null?setTimeout(t,0,M):(s=M,setTimeout(c,0))},r=function(M,L){u=setTimeout(M,L)},n=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,d=window.clearTimeout;if(typeof console<"u"){var p=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof p!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,b=null,v=-1,h=5,g=0;e.unstable_shouldYield=function(){return e.unstable_now()>=g},i=function(){},e.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):h=0<M?Math.floor(1e3/M):5};var y=new MessageChannel,x=y.port2;y.port1.onmessage=function(){if(b!==null){var M=e.unstable_now();g=M+h;try{b(!0,M)?x.postMessage(null):(m=!1,b=null)}catch(L){throw x.postMessage(null),L}}else m=!1},t=function(M){b=M,m||(m=!0,x.postMessage(null))},r=function(M,L){v=f(function(){M(e.unstable_now())},L)},n=function(){d(v),v=-1}}function C(M,L){var F=M.length;M.push(L);e:for(;;){var K=F-1>>>1,re=M[K];if(re!==void 0&&0<S(re,L))M[K]=L,M[F]=re,F=K;else break e}}function E(M){return M=M[0],M===void 0?null:M}function P(M){var L=M[0];if(L!==void 0){var F=M.pop();if(F!==L){M[0]=F;e:for(var K=0,re=M.length;K<re;){var ge=2*(K+1)-1,Ve=M[ge],Ye=ge+1,et=M[Ye];if(Ve!==void 0&&0>S(Ve,F))et!==void 0&&0>S(et,Ve)?(M[K]=et,M[Ye]=F,K=Ye):(M[K]=Ve,M[ge]=F,K=ge);else if(et!==void 0&&0>S(et,F))M[K]=et,M[Ye]=F,K=Ye;else break e}}return L}return null}function S(M,L){var F=M.sortIndex-L.sortIndex;return F!==0?F:M.id-L.id}var I=[],_=[],T=1,k=null,A=3,O=!1,U=!1,G=!1;function W(M){for(var L=E(_);L!==null;){if(L.callback===null)P(_);else if(L.startTime<=M)P(_),L.sortIndex=L.expirationTime,C(I,L);else break;L=E(_)}}function N(M){if(G=!1,W(M),!U)if(E(I)!==null)U=!0,t(Y);else{var L=E(_);L!==null&&r(N,L.startTime-M)}}function Y(M,L){U=!1,G&&(G=!1,n()),O=!0;var F=A;try{for(W(L),k=E(I);k!==null&&(!(k.expirationTime>L)||M&&!e.unstable_shouldYield());){var K=k.callback;if(typeof K=="function"){k.callback=null,A=k.priorityLevel;var re=K(k.expirationTime<=L);L=e.unstable_now(),typeof re=="function"?k.callback=re:k===E(I)&&P(I),W(L)}else P(I);k=E(I)}if(k!==null)var ge=!0;else{var Ve=E(_);Ve!==null&&r(N,Ve.startTime-L),ge=!1}return ge}finally{k=null,A=F,O=!1}}var oe=i;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_continueExecution=function(){U||O||(U=!0,t(Y))},e.unstable_getCurrentPriorityLevel=function(){return A},e.unstable_getFirstCallbackNode=function(){return E(I)},e.unstable_next=function(M){switch(A){case 1:case 2:case 3:var L=3;break;default:L=A}var F=A;A=L;try{return M()}finally{A=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=oe,e.unstable_runWithPriority=function(M,L){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var F=A;A=M;try{return L()}finally{A=F}},e.unstable_scheduleCallback=function(M,L,F){var K=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?K+F:K):F=K,M){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=F+re,M={id:T++,callback:L,priorityLevel:M,startTime:F,expirationTime:re,sortIndex:-1},F>K?(M.sortIndex=F,C(_,M),E(I)===null&&M===E(_)&&(G?n():G=!0,r(N,F-K))):(M.sortIndex=re,C(I,M),U||O||(U=!0,t(Y))),M},e.unstable_wrapCallback=function(M){var L=A;return function(){var F=A;A=L;try{return M.apply(this,arguments)}finally{A=F}}}})(qA);GA.exports=qA;var uK=GA.exports;/** @license React v17.0.2
27
+ * react-dom.production.min.js
28
+ *
29
+ * Copyright (c) Facebook, Inc. and its affiliates.
30
+ *
31
+ * This source code is licensed under the MIT license found in the
32
+ * LICENSE file in the root directory of this source tree.
33
+ */var Lp=$,Ge=AA,xt=uK;function z(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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."}if(!Lp)throw Error(z(227));var YA=new Set,Js={};function Lo(e,t){el(e,t),el(e+"Capture",t)}function el(e,t){for(Js[e]=t,e=0;e<t.length;e++)YA.add(t[e])}var Wn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),cK=/^[: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]*$/,qE=Object.prototype.hasOwnProperty,YE={},XE={};function dK(e){return qE.call(XE,e)?!0:qE.call(YE,e)?!1:cK.test(e)?XE[e]=!0:(YE[e]=!0,!1)}function fK(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function pK(e,t,r,n){if(t===null||typeof t>"u"||fK(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Gt(e,t,r,n,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var Dt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Dt[e]=new Gt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Dt[t]=new Gt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Dt[e]=new Gt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Dt[e]=new Gt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Dt[e]=new Gt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Dt[e]=new Gt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Dt[e]=new Gt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Dt[e]=new Gt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Dt[e]=new Gt(e,5,!1,e.toLowerCase(),null,!1,!1)});var U4=/[\-:]([a-z])/g;function W4(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(U4,W4);Dt[t]=new Gt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(U4,W4);Dt[t]=new Gt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(U4,W4);Dt[t]=new Gt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Dt[e]=new Gt(e,1,!1,e.toLowerCase(),null,!1,!1)});Dt.xlinkHref=new Gt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Dt[e]=new Gt(e,1,!1,e.toLowerCase(),null,!0,!0)});function K4(e,t,r,n){var i=Dt.hasOwnProperty(t)?Dt[t]:null,o=i!==null?i.type===0:n?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");o||(pK(t,r,i,n)&&(r=null),n||i===null?dK(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=r===null?i.type===3?!1:"":r:(t=i.attributeName,n=i.attributeNamespace,r===null?e.removeAttribute(t):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var Fo=Lp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,vs=60103,fo=60106,di=60107,H4=60108,Es=60114,V4=60109,G4=60110,Fp=60112,Cs=60113,Jd=60120,Bp=60115,q4=60116,Y4=60121,X4=60128,XA=60129,Q4=60130,nb=60131;if(typeof Symbol=="function"&&Symbol.for){var gt=Symbol.for;vs=gt("react.element"),fo=gt("react.portal"),di=gt("react.fragment"),H4=gt("react.strict_mode"),Es=gt("react.profiler"),V4=gt("react.provider"),G4=gt("react.context"),Fp=gt("react.forward_ref"),Cs=gt("react.suspense"),Jd=gt("react.suspense_list"),Bp=gt("react.memo"),q4=gt("react.lazy"),Y4=gt("react.block"),gt("react.scope"),X4=gt("react.opaque.id"),XA=gt("react.debug_trace_mode"),Q4=gt("react.offscreen"),nb=gt("react.legacy_hidden")}var QE=typeof Symbol=="function"&&Symbol.iterator;function Hl(e){return e===null||typeof e!="object"?null:(e=QE&&e[QE]||e["@@iterator"],typeof e=="function"?e:null)}var nm;function ms(e){if(nm===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);nm=t&&t[1]||""}return`
34
+ `+nm+e}var im=!1;function Tc(e,t){if(!e||im)return"";im=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var n=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){n=s}e.call(t.prototype)}else{try{throw Error()}catch(s){n=s}e()}}catch(s){if(s&&n&&typeof s.stack=="string"){for(var i=s.stack.split(`
35
+ `),o=n.stack.split(`
36
+ `),a=i.length-1,l=o.length-1;1<=a&&0<=l&&i[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(i[a]!==o[l]){if(a!==1||l!==1)do if(a--,l--,0>l||i[a]!==o[l])return`
37
+ `+i[a].replace(" at new "," at ");while(1<=a&&0<=l);break}}}finally{im=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?ms(e):""}function vK(e){switch(e.tag){case 5:return ms(e.type);case 16:return ms("Lazy");case 13:return ms("Suspense");case 19:return ms("SuspenseList");case 0:case 2:case 15:return e=Tc(e.type,!1),e;case 11:return e=Tc(e.type.render,!1),e;case 22:return e=Tc(e.type._render,!1),e;case 1:return e=Tc(e.type,!0),e;default:return""}}function Fa(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case di:return"Fragment";case fo:return"Portal";case Es:return"Profiler";case H4:return"StrictMode";case Cs:return"Suspense";case Jd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case G4:return(e.displayName||"Context")+".Consumer";case V4:return(e._context.displayName||"Context")+".Provider";case Fp:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case Bp:return Fa(e.type);case Y4:return Fa(e._render);case q4:t=e._payload,e=e._init;try{return Fa(e(t))}catch{}}return null}function _i(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function QA(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function mK(e){var t=QA(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){n=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ac(e){e._valueTracker||(e._valueTracker=mK(e))}function JA(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=QA(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Zd(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ib(e,t){var r=t.checked;return Ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function JE(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=_i(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ZA(e,t){t=t.checked,t!=null&&K4(e,"checked",t,!1)}function ob(e,t){ZA(e,t);var r=_i(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ab(e,t.type,r):t.hasOwnProperty("defaultValue")&&ab(e,t.type,_i(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ZE(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function ab(e,t,r){(t!=="number"||Zd(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function hK(e){var t="";return Lp.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function lb(e,t){return e=Ge({children:void 0},t),(t=hK(t.children))&&(e.children=t),e}function Ba(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+_i(r),t=null,i=0;i<e.length;i++){if(e[i].value===r){e[i].selected=!0,n&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function sb(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(z(91));return Ge({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function e9(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(z(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(z(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:_i(r)}}function eO(e,t){var r=_i(t.value),n=_i(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function t9(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var ub={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function tO(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function cb(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?tO(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Oc,rO=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,i){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,i)})}:e}(function(e,t){if(e.namespaceURI!==ub.svg||"innerHTML"in e)e.innerHTML=t;else{for(Oc=Oc||document.createElement("div"),Oc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Oc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Zs(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Ps={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},gK=["Webkit","ms","Moz","O"];Object.keys(Ps).forEach(function(e){gK.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ps[t]=Ps[e]})});function nO(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Ps.hasOwnProperty(e)&&Ps[e]?(""+t).trim():t+"px"}function iO(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=nO(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var bK=Ge({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function db(e,t){if(t){if(bK[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(z(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(z(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(z(61))}if(t.style!=null&&typeof t.style!="object")throw Error(z(62))}}function fb(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function J4(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var pb=null,za=null,ja=null;function r9(e){if(e=Mu(e)){if(typeof pb!="function")throw Error(z(280));var t=e.stateNode;t&&(t=Hp(t),pb(e.stateNode,e.type,t))}}function oO(e){za?ja?ja.push(e):ja=[e]:za=e}function aO(){if(za){var e=za,t=ja;if(ja=za=null,r9(e),t)for(e=0;e<t.length;e++)r9(t[e])}}function Z4(e,t){return e(t)}function lO(e,t,r,n,i){return e(t,r,n,i)}function e8(){}var sO=Z4,po=!1,om=!1;function t8(){(za!==null||ja!==null)&&(e8(),aO())}function yK(e,t,r){if(om)return e(t,r);om=!0;try{return sO(e,t,r)}finally{om=!1,t8()}}function eu(e,t){var r=e.stateNode;if(r===null)return null;var n=Hp(r);if(n===null)return null;r=n[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":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(z(231,t,typeof r));return r}var vb=!1;if(Wn)try{var Vl={};Object.defineProperty(Vl,"passive",{get:function(){vb=!0}}),window.addEventListener("test",Vl,Vl),window.removeEventListener("test",Vl,Vl)}catch{vb=!1}function $K(e,t,r,n,i,o,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(c){this.onError(c)}}var Is=!1,ef=null,tf=!1,mb=null,xK={onError:function(e){Is=!0,ef=e}};function wK(e,t,r,n,i,o,a,l,s){Is=!1,ef=null,$K.apply(xK,arguments)}function SK(e,t,r,n,i,o,a,l,s){if(wK.apply(this,arguments),Is){if(Is){var u=ef;Is=!1,ef=null}else throw Error(z(198));tf||(tf=!0,mb=u)}}function Bo(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&1026&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function uO(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 n9(e){if(Bo(e)!==e)throw Error(z(188))}function EK(e){var t=e.alternate;if(!t){if(t=Bo(e),t===null)throw Error(z(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(i===null)break;var o=i.alternate;if(o===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return n9(i),e;if(o===n)return n9(i),t;o=o.sibling}throw Error(z(188))}if(r.return!==n.return)r=i,n=o;else{for(var a=!1,l=i.child;l;){if(l===r){a=!0,r=i,n=o;break}if(l===n){a=!0,n=i,r=o;break}l=l.sibling}if(!a){for(l=o.child;l;){if(l===r){a=!0,r=o,n=i;break}if(l===n){a=!0,n=o,r=i;break}l=l.sibling}if(!a)throw Error(z(189))}}if(r.alternate!==n)throw Error(z(190))}if(r.tag!==3)throw Error(z(188));return r.stateNode.current===r?e:t}function cO(e){if(e=EK(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function i9(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var dO,r8,fO,pO,hb=!1,vn=[],$i=null,xi=null,wi=null,tu=new Map,ru=new Map,Gl=[],o9="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function gb(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function a9(e,t){switch(e){case"focusin":case"focusout":$i=null;break;case"dragenter":case"dragleave":xi=null;break;case"mouseover":case"mouseout":wi=null;break;case"pointerover":case"pointerout":tu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ru.delete(t.pointerId)}}function ql(e,t,r,n,i,o){return e===null||e.nativeEvent!==o?(e=gb(t,r,n,i,o),t!==null&&(t=Mu(t),t!==null&&r8(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function CK(e,t,r,n,i){switch(t){case"focusin":return $i=ql($i,e,t,r,n,i),!0;case"dragenter":return xi=ql(xi,e,t,r,n,i),!0;case"mouseover":return wi=ql(wi,e,t,r,n,i),!0;case"pointerover":var o=i.pointerId;return tu.set(o,ql(tu.get(o)||null,e,t,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,ru.set(o,ql(ru.get(o)||null,e,t,r,n,i)),!0}return!1}function PK(e){var t=vo(e.target);if(t!==null){var r=Bo(t);if(r!==null){if(t=r.tag,t===13){if(t=uO(r),t!==null){e.blockedOn=t,pO(e.lanePriority,function(){xt.unstable_runWithPriority(e.priority,function(){fO(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Id(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=a8(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=Mu(r),t!==null&&r8(t),e.blockedOn=r,!1;t.shift()}return!0}function l9(e,t,r){Id(e)&&r.delete(t)}function IK(){for(hb=!1;0<vn.length;){var e=vn[0];if(e.blockedOn!==null){e=Mu(e.blockedOn),e!==null&&dO(e);break}for(var t=e.targetContainers;0<t.length;){var r=a8(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&vn.shift()}$i!==null&&Id($i)&&($i=null),xi!==null&&Id(xi)&&(xi=null),wi!==null&&Id(wi)&&(wi=null),tu.forEach(l9),ru.forEach(l9)}function Yl(e,t){e.blockedOn===t&&(e.blockedOn=null,hb||(hb=!0,xt.unstable_scheduleCallback(xt.unstable_NormalPriority,IK)))}function vO(e){function t(i){return Yl(i,e)}if(0<vn.length){Yl(vn[0],e);for(var r=1;r<vn.length;r++){var n=vn[r];n.blockedOn===e&&(n.blockedOn=null)}}for($i!==null&&Yl($i,e),xi!==null&&Yl(xi,e),wi!==null&&Yl(wi,e),tu.forEach(t),ru.forEach(t),r=0;r<Gl.length;r++)n=Gl[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<Gl.length&&(r=Gl[0],r.blockedOn===null);)PK(r),r.blockedOn===null&&Gl.shift()}function Rc(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var wa={animationend:Rc("Animation","AnimationEnd"),animationiteration:Rc("Animation","AnimationIteration"),animationstart:Rc("Animation","AnimationStart"),transitionend:Rc("Transition","TransitionEnd")},am={},mO={};Wn&&(mO=document.createElement("div").style,"AnimationEvent"in window||(delete wa.animationend.animation,delete wa.animationiteration.animation,delete wa.animationstart.animation),"TransitionEvent"in window||delete wa.transitionend.transition);function zp(e){if(am[e])return am[e];if(!wa[e])return e;var t=wa[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in mO)return am[e]=t[r];return e}var hO=zp("animationend"),gO=zp("animationiteration"),bO=zp("animationstart"),yO=zp("transitionend"),$O=new Map,n8=new Map,TK=["abort","abort",hO,"animationEnd",gO,"animationIteration",bO,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",yO,"transitionEnd","waiting","waiting"];function i8(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],i=e[r+1];i="on"+(i[0].toUpperCase()+i.slice(1)),n8.set(n,t),$O.set(n,i),Lo(i,[n])}}var AK=xt.unstable_now;AK();var Le=8;function pa(e){if(1&e)return Le=15,1;if(2&e)return Le=14,2;if(4&e)return Le=13,4;var t=24&e;return t!==0?(Le=12,t):e&32?(Le=11,32):(t=192&e,t!==0?(Le=10,t):e&256?(Le=9,256):(t=3584&e,t!==0?(Le=8,t):e&4096?(Le=7,4096):(t=4186112&e,t!==0?(Le=6,t):(t=62914560&e,t!==0?(Le=5,t):e&67108864?(Le=4,67108864):e&134217728?(Le=3,134217728):(t=805306368&e,t!==0?(Le=2,t):1073741824&e?(Le=1,1073741824):(Le=8,e))))))}function OK(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function RK(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(z(358,e))}}function nu(e,t){var r=e.pendingLanes;if(r===0)return Le=0;var n=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,l=e.pingedLanes;if(o!==0)n=o,i=Le=15;else if(o=r&134217727,o!==0){var s=o&~a;s!==0?(n=pa(s),i=Le):(l&=o,l!==0&&(n=pa(l),i=Le))}else o=r&~a,o!==0?(n=pa(o),i=Le):l!==0&&(n=pa(l),i=Le);if(n===0)return 0;if(n=31-ki(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&!(t&a)){if(pa(t),i<=Le)return t;Le=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-ki(t),i=1<<r,n|=e[r],t&=~i;return n}function xO(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function rf(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=va(24&~t),e===0?rf(10,t):e;case 10:return e=va(192&~t),e===0?rf(8,t):e;case 8:return e=va(3584&~t),e===0&&(e=va(4186112&~t),e===0&&(e=512)),e;case 2:return t=va(805306368&~t),t===0&&(t=268435456),t}throw Error(z(358,e))}function va(e){return e&-e}function lm(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function jp(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-ki(t),e[t]=r}var ki=Math.clz32?Math.clz32:DK,_K=Math.log,kK=Math.LN2;function DK(e){return e===0?32:31-(_K(e)/kK|0)|0}var MK=xt.unstable_UserBlockingPriority,NK=xt.unstable_runWithPriority,Td=!0;function LK(e,t,r,n){po||e8();var i=o8,o=po;po=!0;try{lO(i,e,t,r,n)}finally{(po=o)||t8()}}function FK(e,t,r,n){NK(MK,o8.bind(null,e,t,r,n))}function o8(e,t,r,n){if(Td){var i;if((i=(t&4)===0)&&0<vn.length&&-1<o9.indexOf(e))e=gb(null,e,t,r,n),vn.push(e);else{var o=a8(e,t,r,n);if(o===null)i&&a9(e,n);else{if(i){if(-1<o9.indexOf(e)){e=gb(o,e,t,r,n),vn.push(e);return}if(CK(o,e,t,r,n))return;a9(e,n)}DO(e,t,n,null,r)}}}}function a8(e,t,r,n){var i=J4(n);if(i=vo(i),i!==null){var o=Bo(i);if(o===null)i=null;else{var a=o.tag;if(a===13){if(i=uO(o),i!==null)return i;i=null}else if(a===3){if(o.stateNode.hydrate)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return DO(e,t,n,i,r),null}var pi=null,l8=null,Ad=null;function wO(){if(Ad)return Ad;var e,t=l8,r=t.length,n,i="value"in pi?pi.value:pi.textContent,o=i.length;for(e=0;e<r&&t[e]===i[e];e++);var a=r-e;for(n=1;n<=a&&t[r-n]===i[o-n];n++);return Ad=i.slice(e,1<n?1-n:void 0)}function Od(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 _c(){return!0}function s9(){return!1}function gr(e){function t(r,n,i,o,a){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(r=e[l],this[l]=r?r(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?_c:s9,this.isPropagationStopped=s9,this}return Ge(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=_c)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=_c)},persist:function(){},isPersistent:_c}),t}var xl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},s8=gr(xl),Du=Ge({},xl,{view:0,detail:0}),BK=gr(Du),sm,um,Xl,Up=Ge({},Du,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:u8,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!==Xl&&(Xl&&e.type==="mousemove"?(sm=e.screenX-Xl.screenX,um=e.screenY-Xl.screenY):um=sm=0,Xl=e),sm)},movementY:function(e){return"movementY"in e?e.movementY:um}}),u9=gr(Up),zK=Ge({},Up,{dataTransfer:0}),jK=gr(zK),UK=Ge({},Du,{relatedTarget:0}),cm=gr(UK),WK=Ge({},xl,{animationName:0,elapsedTime:0,pseudoElement:0}),KK=gr(WK),HK=Ge({},xl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),VK=gr(HK),GK=Ge({},xl,{data:0}),c9=gr(GK),qK={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},YK={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"},XK={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function QK(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=XK[e])?!!t[e]:!1}function u8(){return QK}var JK=Ge({},Du,{key:function(e){if(e.key){var t=qK[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Od(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?YK[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:u8,charCode:function(e){return e.type==="keypress"?Od(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Od(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ZK=gr(JK),eH=Ge({},Up,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),d9=gr(eH),tH=Ge({},Du,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:u8}),rH=gr(tH),nH=Ge({},xl,{propertyName:0,elapsedTime:0,pseudoElement:0}),iH=gr(nH),oH=Ge({},Up,{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}),aH=gr(oH),lH=[9,13,27,32],c8=Wn&&"CompositionEvent"in window,Ts=null;Wn&&"documentMode"in document&&(Ts=document.documentMode);var sH=Wn&&"TextEvent"in window&&!Ts,SO=Wn&&(!c8||Ts&&8<Ts&&11>=Ts),f9=String.fromCharCode(32),p9=!1;function EO(e,t){switch(e){case"keyup":return lH.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function CO(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Sa=!1;function uH(e,t){switch(e){case"compositionend":return CO(t);case"keypress":return t.which!==32?null:(p9=!0,f9);case"textInput":return e=t.data,e===f9&&p9?null:e;default:return null}}function cH(e,t){if(Sa)return e==="compositionend"||!c8&&EO(e,t)?(e=wO(),Ad=l8=pi=null,Sa=!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 SO&&t.locale!=="ko"?null:t.data;default:return null}}var dH={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 v9(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!dH[e.type]:t==="textarea"}function PO(e,t,r,n){oO(n),t=nf(t,"onChange"),0<t.length&&(r=new s8("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var As=null,iu=null;function fH(e){RO(e,0)}function Wp(e){var t=Ca(e);if(JA(t))return e}function pH(e,t){if(e==="change")return t}var IO=!1;if(Wn){var dm;if(Wn){var fm="oninput"in document;if(!fm){var m9=document.createElement("div");m9.setAttribute("oninput","return;"),fm=typeof m9.oninput=="function"}dm=fm}else dm=!1;IO=dm&&(!document.documentMode||9<document.documentMode)}function h9(){As&&(As.detachEvent("onpropertychange",TO),iu=As=null)}function TO(e){if(e.propertyName==="value"&&Wp(iu)){var t=[];if(PO(t,iu,e,J4(e)),e=fH,po)e(t);else{po=!0;try{Z4(e,t)}finally{po=!1,t8()}}}}function vH(e,t,r){e==="focusin"?(h9(),As=t,iu=r,As.attachEvent("onpropertychange",TO)):e==="focusout"&&h9()}function mH(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Wp(iu)}function hH(e,t){if(e==="click")return Wp(t)}function gH(e,t){if(e==="input"||e==="change")return Wp(t)}function bH(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ar=typeof Object.is=="function"?Object.is:bH,yH=Object.prototype.hasOwnProperty;function ou(e,t){if(Ar(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!yH.call(t,r[n])||!Ar(e[r[n]],t[r[n]]))return!1;return!0}function g9(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function b9(e,t){var r=g9(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=g9(r)}}function AO(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?AO(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function y9(){for(var e=window,t=Zd();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Zd(e.document)}return t}function bb(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 $H=Wn&&"documentMode"in document&&11>=document.documentMode,Ea=null,yb=null,Os=null,$b=!1;function $9(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;$b||Ea==null||Ea!==Zd(n)||(n=Ea,"selectionStart"in n&&bb(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Os&&ou(Os,n)||(Os=n,n=nf(yb,"onSelect"),0<n.length&&(t=new s8("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=Ea)))}i8("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);i8("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);i8(TK,2);for(var x9="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),pm=0;pm<x9.length;pm++)n8.set(x9[pm],0);el("onMouseEnter",["mouseout","mouseover"]);el("onMouseLeave",["mouseout","mouseover"]);el("onPointerEnter",["pointerout","pointerover"]);el("onPointerLeave",["pointerout","pointerover"]);Lo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Lo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Lo("onBeforeInput",["compositionend","keypress","textInput","paste"]);Lo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Lo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Lo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var hs="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),OO=new Set("cancel close invalid load scroll toggle".split(" ").concat(hs));function w9(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,SK(n,t,void 0,e),e.currentTarget=null}function RO(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var o=void 0;if(t)for(var a=n.length-1;0<=a;a--){var l=n[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&i.isPropagationStopped())break e;w9(i,l,u),o=s}else for(a=0;a<n.length;a++){if(l=n[a],s=l.instance,u=l.currentTarget,l=l.listener,s!==o&&i.isPropagationStopped())break e;w9(i,l,u),o=s}}}if(tf)throw e=mb,tf=!1,mb=null,e}function Be(e,t){var r=NO(t),n=e+"__bubble";r.has(n)||(kO(t,e,2,!1),r.add(n))}var S9="_reactListening"+Math.random().toString(36).slice(2);function _O(e){e[S9]||(e[S9]=!0,YA.forEach(function(t){OO.has(t)||E9(t,!1,e,null),E9(t,!0,e,null)}))}function E9(e,t,r,n){var i=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,o=r;if(e==="selectionchange"&&r.nodeType!==9&&(o=r.ownerDocument),n!==null&&!t&&OO.has(e)){if(e!=="scroll")return;i|=2,o=n}var a=NO(o),l=e+"__"+(t?"capture":"bubble");a.has(l)||(t&&(i|=4),kO(o,e,i,t),a.add(l))}function kO(e,t,r,n){var i=n8.get(t);switch(i===void 0?2:i){case 0:i=LK;break;case 1:i=FK;break;default:i=o8}r=i.bind(null,t,r,e),i=void 0,!vb||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),n?i!==void 0?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):i!==void 0?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function DO(e,t,r,n,i){var o=n;if(!(t&1)&&!(t&2)&&n!==null)e:for(;;){if(n===null)return;var a=n.tag;if(a===3||a===4){var l=n.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(a===4)for(a=n.return;a!==null;){var s=a.tag;if((s===3||s===4)&&(s=a.stateNode.containerInfo,s===i||s.nodeType===8&&s.parentNode===i))return;a=a.return}for(;l!==null;){if(a=vo(l),a===null)return;if(s=a.tag,s===5||s===6){n=o=a;continue e}l=l.parentNode}}n=n.return}yK(function(){var u=o,c=J4(r),f=[];e:{var d=$O.get(e);if(d!==void 0){var p=s8,m=e;switch(e){case"keypress":if(Od(r)===0)break e;case"keydown":case"keyup":p=ZK;break;case"focusin":m="focus",p=cm;break;case"focusout":m="blur",p=cm;break;case"beforeblur":case"afterblur":p=cm;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=u9;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=jK;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=rH;break;case hO:case gO:case bO:p=KK;break;case yO:p=iH;break;case"scroll":p=BK;break;case"wheel":p=aH;break;case"copy":case"cut":case"paste":p=VK;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=d9}var b=(t&4)!==0,v=!b&&e==="scroll",h=b?d!==null?d+"Capture":null:d;b=[];for(var g=u,y;g!==null;){y=g;var x=y.stateNode;if(y.tag===5&&x!==null&&(y=x,h!==null&&(x=eu(g,h),x!=null&&b.push(au(g,x,y)))),v)break;g=g.return}0<b.length&&(d=new p(d,m,null,r,c),f.push({event:d,listeners:b}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",d&&!(t&16)&&(m=r.relatedTarget||r.fromElement)&&(vo(m)||m[wl]))break e;if((p||d)&&(d=c.window===c?c:(d=c.ownerDocument)?d.defaultView||d.parentWindow:window,p?(m=r.relatedTarget||r.toElement,p=u,m=m?vo(m):null,m!==null&&(v=Bo(m),m!==v||m.tag!==5&&m.tag!==6)&&(m=null)):(p=null,m=u),p!==m)){if(b=u9,x="onMouseLeave",h="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(b=d9,x="onPointerLeave",h="onPointerEnter",g="pointer"),v=p==null?d:Ca(p),y=m==null?d:Ca(m),d=new b(x,g+"leave",p,r,c),d.target=v,d.relatedTarget=y,x=null,vo(c)===u&&(b=new b(h,g+"enter",m,r,c),b.target=y,b.relatedTarget=v,x=b),v=x,p&&m)t:{for(b=p,h=m,g=0,y=b;y;y=ta(y))g++;for(y=0,x=h;x;x=ta(x))y++;for(;0<g-y;)b=ta(b),g--;for(;0<y-g;)h=ta(h),y--;for(;g--;){if(b===h||h!==null&&b===h.alternate)break t;b=ta(b),h=ta(h)}b=null}else b=null;p!==null&&C9(f,d,p,b,!1),m!==null&&v!==null&&C9(f,v,m,b,!0)}}e:{if(d=u?Ca(u):window,p=d.nodeName&&d.nodeName.toLowerCase(),p==="select"||p==="input"&&d.type==="file")var C=pH;else if(v9(d))if(IO)C=gH;else{C=mH;var E=vH}else(p=d.nodeName)&&p.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(C=hH);if(C&&(C=C(e,u))){PO(f,C,r,c);break e}E&&E(e,d,u),e==="focusout"&&(E=d._wrapperState)&&E.controlled&&d.type==="number"&&ab(d,"number",d.value)}switch(E=u?Ca(u):window,e){case"focusin":(v9(E)||E.contentEditable==="true")&&(Ea=E,yb=u,Os=null);break;case"focusout":Os=yb=Ea=null;break;case"mousedown":$b=!0;break;case"contextmenu":case"mouseup":case"dragend":$b=!1,$9(f,r,c);break;case"selectionchange":if($H)break;case"keydown":case"keyup":$9(f,r,c)}var P;if(c8)e:{switch(e){case"compositionstart":var S="onCompositionStart";break e;case"compositionend":S="onCompositionEnd";break e;case"compositionupdate":S="onCompositionUpdate";break e}S=void 0}else Sa?EO(e,r)&&(S="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(S="onCompositionStart");S&&(SO&&r.locale!=="ko"&&(Sa||S!=="onCompositionStart"?S==="onCompositionEnd"&&Sa&&(P=wO()):(pi=c,l8="value"in pi?pi.value:pi.textContent,Sa=!0)),E=nf(u,S),0<E.length&&(S=new c9(S,e,null,r,c),f.push({event:S,listeners:E}),P?S.data=P:(P=CO(r),P!==null&&(S.data=P)))),(P=sH?uH(e,r):cH(e,r))&&(u=nf(u,"onBeforeInput"),0<u.length&&(c=new c9("onBeforeInput","beforeinput",null,r,c),f.push({event:c,listeners:u}),c.data=P))}RO(f,t)})}function au(e,t,r){return{instance:e,listener:t,currentTarget:r}}function nf(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=eu(e,r),o!=null&&n.unshift(au(e,o,i)),o=eu(e,t),o!=null&&n.push(au(e,o,i))),e=e.return}return n}function ta(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function C9(e,t,r,n,i){for(var o=t._reactName,a=[];r!==null&&r!==n;){var l=r,s=l.alternate,u=l.stateNode;if(s!==null&&s===n)break;l.tag===5&&u!==null&&(l=u,i?(s=eu(r,o),s!=null&&a.unshift(au(r,s,l))):i||(s=eu(r,o),s!=null&&a.push(au(r,s,l)))),r=r.return}a.length!==0&&e.push({event:t,listeners:a})}function of(){}var vm=null,mm=null;function MO(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function xb(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var P9=typeof setTimeout=="function"?setTimeout:void 0,xH=typeof clearTimeout=="function"?clearTimeout:void 0;function d8(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Ua(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function I9(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var hm=0;function wH(e){return{$$typeof:X4,toString:e,valueOf:e}}var Kp=Math.random().toString(36).slice(2),vi="__reactFiber$"+Kp,af="__reactProps$"+Kp,wl="__reactContainer$"+Kp,T9="__reactEvents$"+Kp;function vo(e){var t=e[vi];if(t)return t;for(var r=e.parentNode;r;){if(t=r[wl]||r[vi]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=I9(e);e!==null;){if(r=e[vi])return r;e=I9(e)}return t}e=r,r=e.parentNode}return null}function Mu(e){return e=e[vi]||e[wl],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ca(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(z(33))}function Hp(e){return e[af]||null}function NO(e){var t=e[T9];return t===void 0&&(t=e[T9]=new Set),t}var wb=[],Pa=-1;function Wi(e){return{current:e}}function We(e){0>Pa||(e.current=wb[Pa],wb[Pa]=null,Pa--)}function nt(e,t){Pa++,wb[Pa]=e.current,e.current=t}var Di={},zt=Wi(Di),er=Wi(!1),Eo=Di;function tl(e,t){var r=e.type.contextTypes;if(!r)return Di;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function tr(e){return e=e.childContextTypes,e!=null}function lf(){We(er),We(zt)}function A9(e,t,r){if(zt.current!==Di)throw Error(z(168));nt(zt,t),nt(er,r)}function LO(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in e))throw Error(z(108,Fa(t)||"Unknown",i));return Ge({},r,n)}function Rd(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Di,Eo=zt.current,nt(zt,e),nt(er,er.current),!0}function O9(e,t,r){var n=e.stateNode;if(!n)throw Error(z(169));r?(e=LO(e,t,Eo),n.__reactInternalMemoizedMergedChildContext=e,We(er),We(zt),nt(zt,e)):We(er),nt(er,r)}var f8=null,xo=null,SH=xt.unstable_runWithPriority,p8=xt.unstable_scheduleCallback,Sb=xt.unstable_cancelCallback,EH=xt.unstable_shouldYield,R9=xt.unstable_requestPaint,Eb=xt.unstable_now,CH=xt.unstable_getCurrentPriorityLevel,Vp=xt.unstable_ImmediatePriority,FO=xt.unstable_UserBlockingPriority,BO=xt.unstable_NormalPriority,zO=xt.unstable_LowPriority,jO=xt.unstable_IdlePriority,gm={},PH=R9!==void 0?R9:function(){},Nn=null,_d=null,bm=!1,_9=Eb(),Ft=1e4>_9?Eb:function(){return Eb()-_9};function rl(){switch(CH()){case Vp:return 99;case FO:return 98;case BO:return 97;case zO:return 96;case jO:return 95;default:throw Error(z(332))}}function UO(e){switch(e){case 99:return Vp;case 98:return FO;case 97:return BO;case 96:return zO;case 95:return jO;default:throw Error(z(332))}}function Co(e,t){return e=UO(e),SH(e,t)}function lu(e,t,r){return e=UO(e),p8(e,t,r)}function wn(){if(_d!==null){var e=_d;_d=null,Sb(e)}WO()}function WO(){if(!bm&&Nn!==null){bm=!0;var e=0;try{var t=Nn;Co(99,function(){for(;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}}),Nn=null}catch(r){throw Nn!==null&&(Nn=Nn.slice(e+1)),p8(Vp,wn),r}finally{bm=!1}}}var IH=Fo.ReactCurrentBatchConfig;function Xr(e,t){if(e&&e.defaultProps){t=Ge({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var sf=Wi(null),uf=null,Ia=null,cf=null;function v8(){cf=Ia=uf=null}function m8(e){var t=sf.current;We(sf),e.type._context._currentValue=t}function KO(e,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t){if(r===null||(r.childLanes&t)===t)break;r.childLanes|=t}else e.childLanes|=t,r!==null&&(r.childLanes|=t);e=e.return}}function Wa(e,t){uf=e,cf=Ia=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Jr=!0),e.firstContext=null)}function Fr(e,t){if(cf!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(cf=e,t=1073741823),t={context:e,observedBits:t,next:null},Ia===null){if(uf===null)throw Error(z(308));Ia=t,uf.dependencies={lanes:0,firstContext:t,responders:null}}else Ia=Ia.next=t;return e._currentValue}var oi=!1;function h8(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function HO(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Si(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ei(e,t){if(e=e.updateQueue,e!==null){e=e.shared;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function k9(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?i=o=a:o=o.next=a,r=r.next}while(r!==null);o===null?i=o=t:o=o.next=t}else i=o=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function su(e,t,r,n){var i=e.updateQueue;oi=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var s=l,u=s.next;s.next=null,a===null?o=u:a.next=u,a=s;var c=e.alternate;if(c!==null){c=c.updateQueue;var f=c.lastBaseUpdate;f!==a&&(f===null?c.firstBaseUpdate=u:f.next=u,c.lastBaseUpdate=s)}}if(o!==null){f=i.baseState,a=0,c=u=s=null;do{l=o.lane;var d=o.eventTime;if((n&l)===l){c!==null&&(c=c.next={eventTime:d,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var p=e,m=o;switch(l=t,d=r,m.tag){case 1:if(p=m.payload,typeof p=="function"){f=p.call(d,f,l);break e}f=p;break e;case 3:p.flags=p.flags&-4097|64;case 0:if(p=m.payload,l=typeof p=="function"?p.call(d,f,l):p,l==null)break e;f=Ge({},f,l);break e;case 2:oi=!0}}o.callback!==null&&(e.flags|=32,l=i.effects,l===null?i.effects=[o]:l.push(o))}else d={eventTime:d,lane:l,tag:o.tag,payload:o.payload,callback:o.callback,next:null},c===null?(u=c=d,s=f):c=c.next=d,a|=l;if(o=o.next,o===null){if(l=i.shared.pending,l===null)break;o=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}while(1);c===null&&(s=f),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=c,Lu|=a,e.lanes=a,e.memoizedState=f}}function D9(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(i!==null){if(n.callback=null,n=r,typeof i!="function")throw Error(z(191,i));i.call(n)}}}var VO=new Lp.Component().refs;function df(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:Ge({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Gp={isMounted:function(e){return(e=e._reactInternals)?Bo(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=fr(),i=Ci(e),o=Si(n,i);o.payload=t,r!=null&&(o.callback=r),Ei(e,o),Pi(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=fr(),i=Ci(e),o=Si(n,i);o.tag=1,o.payload=t,r!=null&&(o.callback=r),Ei(e,o),Pi(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=fr(),n=Ci(e),i=Si(r,n);i.tag=2,t!=null&&(i.callback=t),Ei(e,i),Pi(e,n,r)}};function M9(e,t,r,n,i,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,o,a):t.prototype&&t.prototype.isPureReactComponent?!ou(r,n)||!ou(i,o):!0}function GO(e,t,r){var n=!1,i=Di,o=t.contextType;return typeof o=="object"&&o!==null?o=Fr(o):(i=tr(t)?Eo:zt.current,n=t.contextTypes,o=(n=n!=null)?tl(e,i):Di),t=new t(r,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Gp,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function N9(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&Gp.enqueueReplaceState(t,t.state,null)}function Cb(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=VO,h8(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Fr(o):(o=tr(t)?Eo:zt.current,i.context=tl(e,o)),su(e,r,i,n),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(df(e,t,o,r),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Gp.enqueueReplaceState(i,i.state,null),su(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var kc=Array.isArray;function Ql(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(z(309));var n=r.stateNode}if(!n)throw Error(z(147,e));var i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=n.refs;a===VO&&(a=n.refs={}),o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(z(284));if(!r._owner)throw Error(z(290,e))}return e}function Dc(e,t){if(e.type!=="textarea")throw Error(z(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function qO(e){function t(v,h){if(e){var g=v.lastEffect;g!==null?(g.nextEffect=h,v.lastEffect=h):v.firstEffect=v.lastEffect=h,h.nextEffect=null,h.flags=8}}function r(v,h){if(!e)return null;for(;h!==null;)t(v,h),h=h.sibling;return null}function n(v,h){for(v=new Map;h!==null;)h.key!==null?v.set(h.key,h):v.set(h.index,h),h=h.sibling;return v}function i(v,h){return v=Ni(v,h),v.index=0,v.sibling=null,v}function o(v,h,g){return v.index=g,e?(g=v.alternate,g!==null?(g=g.index,g<h?(v.flags=2,h):g):(v.flags=2,h)):h}function a(v){return e&&v.alternate===null&&(v.flags=2),v}function l(v,h,g,y){return h===null||h.tag!==6?(h=Sm(g,v.mode,y),h.return=v,h):(h=i(h,g),h.return=v,h)}function s(v,h,g,y){return h!==null&&h.elementType===g.type?(y=i(h,g.props),y.ref=Ql(v,h,g),y.return=v,y):(y=Nd(g.type,g.key,g.props,null,v.mode,y),y.ref=Ql(v,h,g),y.return=v,y)}function u(v,h,g,y){return h===null||h.tag!==4||h.stateNode.containerInfo!==g.containerInfo||h.stateNode.implementation!==g.implementation?(h=Em(g,v.mode,y),h.return=v,h):(h=i(h,g.children||[]),h.return=v,h)}function c(v,h,g,y,x){return h===null||h.tag!==7?(h=Ga(g,v.mode,y,x),h.return=v,h):(h=i(h,g),h.return=v,h)}function f(v,h,g){if(typeof h=="string"||typeof h=="number")return h=Sm(""+h,v.mode,g),h.return=v,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case vs:return g=Nd(h.type,h.key,h.props,null,v.mode,g),g.ref=Ql(v,null,h),g.return=v,g;case fo:return h=Em(h,v.mode,g),h.return=v,h}if(kc(h)||Hl(h))return h=Ga(h,v.mode,g,null),h.return=v,h;Dc(v,h)}return null}function d(v,h,g,y){var x=h!==null?h.key:null;if(typeof g=="string"||typeof g=="number")return x!==null?null:l(v,h,""+g,y);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case vs:return g.key===x?g.type===di?c(v,h,g.props.children,y,x):s(v,h,g,y):null;case fo:return g.key===x?u(v,h,g,y):null}if(kc(g)||Hl(g))return x!==null?null:c(v,h,g,y,null);Dc(v,g)}return null}function p(v,h,g,y,x){if(typeof y=="string"||typeof y=="number")return v=v.get(g)||null,l(h,v,""+y,x);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case vs:return v=v.get(y.key===null?g:y.key)||null,y.type===di?c(h,v,y.props.children,x,y.key):s(h,v,y,x);case fo:return v=v.get(y.key===null?g:y.key)||null,u(h,v,y,x)}if(kc(y)||Hl(y))return v=v.get(g)||null,c(h,v,y,x,null);Dc(h,y)}return null}function m(v,h,g,y){for(var x=null,C=null,E=h,P=h=0,S=null;E!==null&&P<g.length;P++){E.index>P?(S=E,E=null):S=E.sibling;var I=d(v,E,g[P],y);if(I===null){E===null&&(E=S);break}e&&E&&I.alternate===null&&t(v,E),h=o(I,h,P),C===null?x=I:C.sibling=I,C=I,E=S}if(P===g.length)return r(v,E),x;if(E===null){for(;P<g.length;P++)E=f(v,g[P],y),E!==null&&(h=o(E,h,P),C===null?x=E:C.sibling=E,C=E);return x}for(E=n(v,E);P<g.length;P++)S=p(E,v,P,g[P],y),S!==null&&(e&&S.alternate!==null&&E.delete(S.key===null?P:S.key),h=o(S,h,P),C===null?x=S:C.sibling=S,C=S);return e&&E.forEach(function(_){return t(v,_)}),x}function b(v,h,g,y){var x=Hl(g);if(typeof x!="function")throw Error(z(150));if(g=x.call(g),g==null)throw Error(z(151));for(var C=x=null,E=h,P=h=0,S=null,I=g.next();E!==null&&!I.done;P++,I=g.next()){E.index>P?(S=E,E=null):S=E.sibling;var _=d(v,E,I.value,y);if(_===null){E===null&&(E=S);break}e&&E&&_.alternate===null&&t(v,E),h=o(_,h,P),C===null?x=_:C.sibling=_,C=_,E=S}if(I.done)return r(v,E),x;if(E===null){for(;!I.done;P++,I=g.next())I=f(v,I.value,y),I!==null&&(h=o(I,h,P),C===null?x=I:C.sibling=I,C=I);return x}for(E=n(v,E);!I.done;P++,I=g.next())I=p(E,v,P,I.value,y),I!==null&&(e&&I.alternate!==null&&E.delete(I.key===null?P:I.key),h=o(I,h,P),C===null?x=I:C.sibling=I,C=I);return e&&E.forEach(function(T){return t(v,T)}),x}return function(v,h,g,y){var x=typeof g=="object"&&g!==null&&g.type===di&&g.key===null;x&&(g=g.props.children);var C=typeof g=="object"&&g!==null;if(C)switch(g.$$typeof){case vs:e:{for(C=g.key,x=h;x!==null;){if(x.key===C){switch(x.tag){case 7:if(g.type===di){r(v,x.sibling),h=i(x,g.props.children),h.return=v,v=h;break e}break;default:if(x.elementType===g.type){r(v,x.sibling),h=i(x,g.props),h.ref=Ql(v,x,g),h.return=v,v=h;break e}}r(v,x);break}else t(v,x);x=x.sibling}g.type===di?(h=Ga(g.props.children,v.mode,y,g.key),h.return=v,v=h):(y=Nd(g.type,g.key,g.props,null,v.mode,y),y.ref=Ql(v,h,g),y.return=v,v=y)}return a(v);case fo:e:{for(x=g.key;h!==null;){if(h.key===x)if(h.tag===4&&h.stateNode.containerInfo===g.containerInfo&&h.stateNode.implementation===g.implementation){r(v,h.sibling),h=i(h,g.children||[]),h.return=v,v=h;break e}else{r(v,h);break}else t(v,h);h=h.sibling}h=Em(g,v.mode,y),h.return=v,v=h}return a(v)}if(typeof g=="string"||typeof g=="number")return g=""+g,h!==null&&h.tag===6?(r(v,h.sibling),h=i(h,g),h.return=v,v=h):(r(v,h),h=Sm(g,v.mode,y),h.return=v,v=h),a(v);if(kc(g))return m(v,h,g,y);if(Hl(g))return b(v,h,g,y);if(C&&Dc(v,g),typeof g>"u"&&!x)switch(v.tag){case 1:case 22:case 0:case 11:case 15:throw Error(z(152,Fa(v.type)||"Component"))}return r(v,h)}}var ff=qO(!0),YO=qO(!1),Nu={},yn=Wi(Nu),uu=Wi(Nu),cu=Wi(Nu);function mo(e){if(e===Nu)throw Error(z(174));return e}function Pb(e,t){switch(nt(cu,t),nt(uu,e),nt(yn,Nu),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:cb(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=cb(t,e)}We(yn),nt(yn,t)}function nl(){We(yn),We(uu),We(cu)}function L9(e){mo(cu.current);var t=mo(yn.current),r=cb(t,e.type);t!==r&&(nt(uu,e),nt(yn,r))}function g8(e){uu.current===e&&(We(yn),We(uu))}var tt=Wi(0);function pf(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&64)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 Bn=null,mi=null,$n=!1;function XO(e,t){var r=Or(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function F9(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function Ib(e){if($n){var t=mi;if(t){var r=t;if(!F9(e,t)){if(t=Ua(r.nextSibling),!t||!F9(e,t)){e.flags=e.flags&-1025|2,$n=!1,Bn=e;return}XO(Bn,r)}Bn=e,mi=Ua(t.firstChild)}else e.flags=e.flags&-1025|2,$n=!1,Bn=e}}function B9(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Bn=e}function Mc(e){if(e!==Bn)return!1;if(!$n)return B9(e),$n=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!xb(t,e.memoizedProps))for(t=mi;t;)XO(e,t),t=Ua(t.nextSibling);if(B9(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){mi=Ua(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}mi=null}}else mi=Bn?Ua(e.stateNode.nextSibling):null;return!0}function ym(){mi=Bn=null,$n=!1}var Ka=[];function b8(){for(var e=0;e<Ka.length;e++)Ka[e]._workInProgressVersionPrimary=null;Ka.length=0}var Rs=Fo.ReactCurrentDispatcher,Mr=Fo.ReactCurrentBatchConfig,du=0,at=null,Nt=null,Ot=null,vf=!1,_s=!1;function Yt(){throw Error(z(321))}function y8(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Ar(e[r],t[r]))return!1;return!0}function $8(e,t,r,n,i,o){if(du=o,at=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Rs.current=e===null||e.memoizedState===null?AH:OH,e=r(n,i),_s){o=0;do{if(_s=!1,!(25>o))throw Error(z(301));o+=1,Ot=Nt=null,t.updateQueue=null,Rs.current=RH,e=r(n,i)}while(_s)}if(Rs.current=bf,t=Nt!==null&&Nt.next!==null,du=0,Ot=Nt=at=null,vf=!1,t)throw Error(z(300));return e}function ho(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ot===null?at.memoizedState=Ot=e:Ot=Ot.next=e,Ot}function zo(){if(Nt===null){var e=at.alternate;e=e!==null?e.memoizedState:null}else e=Nt.next;var t=Ot===null?at.memoizedState:Ot.next;if(t!==null)Ot=t,Nt=e;else{if(e===null)throw Error(z(310));Nt=e,e={memoizedState:Nt.memoizedState,baseState:Nt.baseState,baseQueue:Nt.baseQueue,queue:Nt.queue,next:null},Ot===null?at.memoizedState=Ot=e:Ot=Ot.next=e}return Ot}function mn(e,t){return typeof t=="function"?t(e):t}function Jl(e){var t=zo(),r=t.queue;if(r===null)throw Error(z(311));r.lastRenderedReducer=e;var n=Nt,i=n.baseQueue,o=r.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}n.baseQueue=i=o,r.pending=null}if(i!==null){i=i.next,n=n.baseState;var l=a=o=null,s=i;do{var u=s.lane;if((du&u)===u)l!==null&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),n=s.eagerReducer===e?s.eagerState:e(n,s.action);else{var c={lane:u,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};l===null?(a=l=c,o=n):l=l.next=c,at.lanes|=u,Lu|=u}s=s.next}while(s!==null&&s!==i);l===null?o=n:l.next=a,Ar(n,t.memoizedState)||(Jr=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function Zl(e){var t=zo(),r=t.queue;if(r===null)throw Error(z(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,o=t.memoizedState;if(i!==null){r.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);Ar(o,t.memoizedState)||(Jr=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function z9(e,t,r){var n=t._getVersion;n=n(t._source);var i=t._workInProgressVersionPrimary;if(i!==null?e=i===n:(e=e.mutableReadLanes,(e=(du&e)===e)&&(t._workInProgressVersionPrimary=n,Ka.push(t))),e)return r(t._source);throw Ka.push(t),Error(z(350))}function QO(e,t,r,n){var i=Vt;if(i===null)throw Error(z(349));var o=t._getVersion,a=o(t._source),l=Rs.current,s=l.useState(function(){return z9(i,t,r)}),u=s[1],c=s[0];s=Ot;var f=e.memoizedState,d=f.refs,p=d.getSnapshot,m=f.source;f=f.subscribe;var b=at;return e.memoizedState={refs:d,source:t,subscribe:n},l.useEffect(function(){d.getSnapshot=r,d.setSnapshot=u;var v=o(t._source);if(!Ar(a,v)){v=r(t._source),Ar(c,v)||(u(v),v=Ci(b),i.mutableReadLanes|=v&i.pendingLanes),v=i.mutableReadLanes,i.entangledLanes|=v;for(var h=i.entanglements,g=v;0<g;){var y=31-ki(g),x=1<<y;h[y]|=v,g&=~x}}},[r,t,n]),l.useEffect(function(){return n(t._source,function(){var v=d.getSnapshot,h=d.setSnapshot;try{h(v(t._source));var g=Ci(b);i.mutableReadLanes|=g&i.pendingLanes}catch(y){h(function(){throw y})}})},[t,n]),Ar(p,r)&&Ar(m,t)&&Ar(f,n)||(e={pending:null,dispatch:null,lastRenderedReducer:mn,lastRenderedState:c},e.dispatch=u=S8.bind(null,at,e),s.queue=e,s.baseQueue=null,c=z9(i,t,r),s.memoizedState=s.baseState=c),c}function JO(e,t,r){var n=zo();return QO(n,e,t,r)}function es(e){var t=ho();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:mn,lastRenderedState:e},e=e.dispatch=S8.bind(null,at,e),[t.memoizedState,e]}function mf(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=at.updateQueue,t===null?(t={lastEffect:null},at.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function j9(e){var t=ho();return e={current:e},t.memoizedState=e}function hf(){return zo().memoizedState}function Tb(e,t,r,n){var i=ho();at.flags|=e,i.memoizedState=mf(1|t,r,void 0,n===void 0?null:n)}function x8(e,t,r,n){var i=zo();n=n===void 0?null:n;var o=void 0;if(Nt!==null){var a=Nt.memoizedState;if(o=a.destroy,n!==null&&y8(n,a.deps)){mf(t,r,o,n);return}}at.flags|=e,i.memoizedState=mf(1|t,r,o,n)}function U9(e,t){return Tb(516,4,e,t)}function gf(e,t){return x8(516,4,e,t)}function ZO(e,t){return x8(4,2,e,t)}function eR(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function tR(e,t,r){return r=r!=null?r.concat([e]):null,x8(4,2,eR.bind(null,t,e),r)}function w8(){}function rR(e,t){var r=zo();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&y8(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function nR(e,t){var r=zo();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&y8(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function TH(e,t){var r=rl();Co(98>r?98:r,function(){e(!0)}),Co(97<r?97:r,function(){var n=Mr.transition;Mr.transition=1;try{e(!1),t()}finally{Mr.transition=n}})}function S8(e,t,r){var n=fr(),i=Ci(e),o={lane:i,action:r,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(a===null?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===at||a!==null&&a===at)_s=vf=!0;else{if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var l=t.lastRenderedState,s=a(l,r);if(o.eagerReducer=a,o.eagerState=s,Ar(s,l))return}catch{}finally{}Pi(e,i,n)}}var bf={readContext:Fr,useCallback:Yt,useContext:Yt,useEffect:Yt,useImperativeHandle:Yt,useLayoutEffect:Yt,useMemo:Yt,useReducer:Yt,useRef:Yt,useState:Yt,useDebugValue:Yt,useDeferredValue:Yt,useTransition:Yt,useMutableSource:Yt,useOpaqueIdentifier:Yt,unstable_isNewReconciler:!1},AH={readContext:Fr,useCallback:function(e,t){return ho().memoizedState=[e,t===void 0?null:t],e},useContext:Fr,useEffect:U9,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Tb(4,2,eR.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Tb(4,2,e,t)},useMemo:function(e,t){var r=ho();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=ho();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=S8.bind(null,at,e),[n.memoizedState,e]},useRef:j9,useState:es,useDebugValue:w8,useDeferredValue:function(e){var t=es(e),r=t[0],n=t[1];return U9(function(){var i=Mr.transition;Mr.transition=1;try{n(e)}finally{Mr.transition=i}},[e]),r},useTransition:function(){var e=es(!1),t=e[0];return e=TH.bind(null,e[1]),j9(e),[e,t]},useMutableSource:function(e,t,r){var n=ho();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},QO(n,e,t,r)},useOpaqueIdentifier:function(){if($n){var e=!1,t=wH(function(){throw e||(e=!0,r("r:"+(hm++).toString(36))),Error(z(355))}),r=es(t)[1];return!(at.mode&2)&&(at.flags|=516,mf(5,function(){r("r:"+(hm++).toString(36))},void 0,null)),t}return t="r:"+(hm++).toString(36),es(t),t},unstable_isNewReconciler:!1},OH={readContext:Fr,useCallback:rR,useContext:Fr,useEffect:gf,useImperativeHandle:tR,useLayoutEffect:ZO,useMemo:nR,useReducer:Jl,useRef:hf,useState:function(){return Jl(mn)},useDebugValue:w8,useDeferredValue:function(e){var t=Jl(mn),r=t[0],n=t[1];return gf(function(){var i=Mr.transition;Mr.transition=1;try{n(e)}finally{Mr.transition=i}},[e]),r},useTransition:function(){var e=Jl(mn)[0];return[hf().current,e]},useMutableSource:JO,useOpaqueIdentifier:function(){return Jl(mn)[0]},unstable_isNewReconciler:!1},RH={readContext:Fr,useCallback:rR,useContext:Fr,useEffect:gf,useImperativeHandle:tR,useLayoutEffect:ZO,useMemo:nR,useReducer:Zl,useRef:hf,useState:function(){return Zl(mn)},useDebugValue:w8,useDeferredValue:function(e){var t=Zl(mn),r=t[0],n=t[1];return gf(function(){var i=Mr.transition;Mr.transition=1;try{n(e)}finally{Mr.transition=i}},[e]),r},useTransition:function(){var e=Zl(mn)[0];return[hf().current,e]},useMutableSource:JO,useOpaqueIdentifier:function(){return Zl(mn)[0]},unstable_isNewReconciler:!1},_H=Fo.ReactCurrentOwner,Jr=!1;function Qt(e,t,r,n){t.child=e===null?YO(t,null,r,n):ff(t,e.child,r,n)}function W9(e,t,r,n,i){r=r.render;var o=t.ref;return Wa(t,i),n=$8(e,t,r,n,o,i),e!==null&&!Jr?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,zn(e,t,i)):(t.flags|=1,Qt(e,t,n,i),t.child)}function K9(e,t,r,n,i,o){if(e===null){var a=r.type;return typeof a=="function"&&!A8(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,iR(e,t,a,n,i,o)):(e=Nd(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}return a=e.child,!(i&o)&&(i=a.memoizedProps,r=r.compare,r=r!==null?r:ou,r(i,n)&&e.ref===t.ref)?zn(e,t,o):(t.flags|=1,e=Ni(a,n),e.ref=t.ref,e.return=t,t.child=e)}function iR(e,t,r,n,i,o){if(e!==null&&ou(e.memoizedProps,n)&&e.ref===t.ref)if(Jr=!1,(o&i)!==0)e.flags&16384&&(Jr=!0);else return t.lanes=e.lanes,zn(e,t,o);return Ab(e,t,r,n,o)}function $m(e,t,r){var n=t.pendingProps,i=n.children,o=e!==null?e.memoizedState:null;if(n.mode==="hidden"||n.mode==="unstable-defer-without-hiding")if(!(t.mode&4))t.memoizedState={baseLanes:0},Lc(t,r);else if(r&1073741824)t.memoizedState={baseLanes:0},Lc(t,o!==null?o.baseLanes:r);else return e=o!==null?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Lc(t,e),null;else o!==null?(n=o.baseLanes|r,t.memoizedState=null):n=r,Lc(t,n);return Qt(e,t,i,r),t.child}function oR(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function Ab(e,t,r,n,i){var o=tr(r)?Eo:zt.current;return o=tl(t,o),Wa(t,i),r=$8(e,t,r,n,o,i),e!==null&&!Jr?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,zn(e,t,i)):(t.flags|=1,Qt(e,t,r,i),t.child)}function H9(e,t,r,n,i){if(tr(r)){var o=!0;Rd(t)}else o=!1;if(Wa(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),GO(t,r,n),Cb(t,r,n,i),n=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=r.contextType;typeof u=="object"&&u!==null?u=Fr(u):(u=tr(r)?Eo:zt.current,u=tl(t,u));var c=r.getDerivedStateFromProps,f=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==n||s!==u)&&N9(t,a,n,u),oi=!1;var d=t.memoizedState;a.state=d,su(t,n,a,i),s=t.memoizedState,l!==n||d!==s||er.current||oi?(typeof c=="function"&&(df(t,r,c,n),s=t.memoizedState),(l=oi||M9(t,r,l,n,d,s,u))?(f||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4)):(typeof a.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=s),a.props=n,a.state=s,a.context=u,n=l):(typeof a.componentDidMount=="function"&&(t.flags|=4),n=!1)}else{a=t.stateNode,HO(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Xr(t.type,l),a.props=u,f=t.pendingProps,d=a.context,s=r.contextType,typeof s=="object"&&s!==null?s=Fr(s):(s=tr(r)?Eo:zt.current,s=tl(t,s));var p=r.getDerivedStateFromProps;(c=typeof p=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==f||d!==s)&&N9(t,a,n,s),oi=!1,d=t.memoizedState,a.state=d,su(t,n,a,i);var m=t.memoizedState;l!==f||d!==m||er.current||oi?(typeof p=="function"&&(df(t,r,p,n),m=t.memoizedState),(u=oi||M9(t,r,u,n,d,m,s))?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(n,m,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(n,m,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=m),a.props=n,a.state=m,a.context=s,n=u):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),n=!1)}return Ob(e,t,r,n,o,i)}function Ob(e,t,r,n,i,o){oR(e,t);var a=(t.flags&64)!==0;if(!n&&!a)return i&&O9(t,r,!1),zn(e,t,o);n=t.stateNode,_H.current=t;var l=a&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&a?(t.child=ff(t,e.child,null,o),t.child=ff(t,null,l,o)):Qt(e,t,l,o),t.memoizedState=n.state,i&&O9(t,r,!0),t.child}function V9(e){var t=e.stateNode;t.pendingContext?A9(e,t.pendingContext,t.pendingContext!==t.context):t.context&&A9(e,t.context,!1),Pb(e,t.containerInfo)}var Nc={dehydrated:null,retryLane:0};function G9(e,t,r){var n=t.pendingProps,i=tt.current,o=!1,a;return(a=(t.flags&64)!==0)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-65):e!==null&&e.memoizedState===null||n.fallback===void 0||n.unstable_avoidThisFallback===!0||(i|=1),nt(tt,i&1),e===null?(n.fallback!==void 0&&Ib(t),e=n.children,i=n.fallback,o?(e=q9(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Nc,e):typeof n.unstable_expectedLoadTime=="number"?(e=q9(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Nc,t.lanes=33554432,e):(r=O8({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?o?(n=X9(e,t,n.children,n.fallback,r),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},o.childLanes=e.childLanes&~r,t.memoizedState=Nc,n):(r=Y9(e,t,n.children,r),t.memoizedState=null,r):o?(n=X9(e,t,n.children,n.fallback,r),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},o.childLanes=e.childLanes&~r,t.memoizedState=Nc,n):(r=Y9(e,t,n.children,r),t.memoizedState=null,r)}function q9(e,t,r,n){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},!(i&2)&&o!==null?(o.childLanes=0,o.pendingProps=t):o=O8(t,i,0,null),r=Ga(r,i,n,null),o.return=e,r.return=e,o.sibling=r,e.child=o,r}function Y9(e,t,r,n){var i=e.child;return e=i.sibling,r=Ni(i,{mode:"visible",children:r}),!(t.mode&2)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=r}function X9(e,t,r,n,i){var o=t.mode,a=e.child;e=a.sibling;var l={mode:"hidden",children:r};return!(o&2)&&t.child!==a?(r=t.child,r.childLanes=0,r.pendingProps=l,a=r.lastEffect,a!==null?(t.firstEffect=r.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):r=Ni(a,l),e!==null?n=Ni(e,n):(n=Ga(n,o,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function Q9(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),KO(e.return,t)}function xm(e,t,r,n,i,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=i,a.lastEffect=o)}function J9(e,t,r){var n=t.pendingProps,i=n.revealOrder,o=n.tail;if(Qt(e,t,n.children,r),n=tt.current,n&2)n=n&1|2,t.flags|=64;else{if(e!==null&&e.flags&64)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Q9(e,r);else if(e.tag===19)Q9(e,r);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}n&=1}if(nt(tt,n),!(t.mode&2))t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&pf(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),xm(t,!1,i,r,o,t.lastEffect);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&pf(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}xm(t,!0,r,null,o,t.lastEffect);break;case"together":xm(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function zn(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Lu|=t.lanes,r&t.childLanes){if(e!==null&&t.child!==e.child)throw Error(z(153));if(t.child!==null){for(e=t.child,r=Ni(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Ni(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var aR,Rb,lR,sR;aR=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};Rb=function(){};lR=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,mo(yn.current);var o=null;switch(r){case"input":i=ib(e,i),n=ib(e,n),o=[];break;case"option":i=lb(e,i),n=lb(e,n),o=[];break;case"select":i=Ge({},i,{value:void 0}),n=Ge({},n,{value:void 0}),o=[];break;case"textarea":i=sb(e,i),n=sb(e,n),o=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=of)}db(r,n);var a;r=null;for(u in i)if(!n.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(a in l)l.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Js.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in n){var s=n[u];if(l=i!=null?i[u]:void 0,n.hasOwnProperty(u)&&s!==l&&(s!=null||l!=null))if(u==="style")if(l){for(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(r||(r={}),r[a]=s[a])}else r||(o||(o=[]),o.push(u,r)),r=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(o=o||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Js.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&Be("scroll",e),o||l===s||(o=[])):typeof s=="object"&&s!==null&&s.$$typeof===X4?s.toString():(o=o||[]).push(u,s))}r&&(o=o||[]).push("style",r);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};sR=function(e,t,r,n){r!==n&&(t.flags|=4)};function ts(e,t){if(!$n)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function kH(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return tr(t.type)&&lf(),null;case 3:return nl(),We(er),We(zt),b8(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Mc(t)?t.flags|=4:n.hydrate||(t.flags|=256)),Rb(t),null;case 5:g8(t);var i=mo(cu.current);if(r=t.type,e!==null&&t.stateNode!=null)lR(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=128);else{if(!n){if(t.stateNode===null)throw Error(z(166));return null}if(e=mo(yn.current),Mc(t)){n=t.stateNode,r=t.type;var o=t.memoizedProps;switch(n[vi]=t,n[af]=o,r){case"dialog":Be("cancel",n),Be("close",n);break;case"iframe":case"object":case"embed":Be("load",n);break;case"video":case"audio":for(e=0;e<hs.length;e++)Be(hs[e],n);break;case"source":Be("error",n);break;case"img":case"image":case"link":Be("error",n),Be("load",n);break;case"details":Be("toggle",n);break;case"input":JE(n,o),Be("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!o.multiple},Be("invalid",n);break;case"textarea":e9(n,o),Be("invalid",n)}db(r,o),e=null;for(var a in o)o.hasOwnProperty(a)&&(i=o[a],a==="children"?typeof i=="string"?n.textContent!==i&&(e=["children",i]):typeof i=="number"&&n.textContent!==""+i&&(e=["children",""+i]):Js.hasOwnProperty(a)&&i!=null&&a==="onScroll"&&Be("scroll",n));switch(r){case"input":Ac(n),ZE(n,o,!0);break;case"textarea":Ac(n),t9(n);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(n.onclick=of)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(a=i.nodeType===9?i:i.ownerDocument,e===ub.html&&(e=tO(r)),e===ub.html?r==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[vi]=t,e[af]=n,aR(e,t,!1,!1),t.stateNode=e,a=fb(r,n),r){case"dialog":Be("cancel",e),Be("close",e),i=n;break;case"iframe":case"object":case"embed":Be("load",e),i=n;break;case"video":case"audio":for(i=0;i<hs.length;i++)Be(hs[i],e);i=n;break;case"source":Be("error",e),i=n;break;case"img":case"image":case"link":Be("error",e),Be("load",e),i=n;break;case"details":Be("toggle",e),i=n;break;case"input":JE(e,n),i=ib(e,n),Be("invalid",e);break;case"option":i=lb(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=Ge({},n,{value:void 0}),Be("invalid",e);break;case"textarea":e9(e,n),i=sb(e,n),Be("invalid",e);break;default:i=n}db(r,i);var l=i;for(o in l)if(l.hasOwnProperty(o)){var s=l[o];o==="style"?iO(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&rO(e,s)):o==="children"?typeof s=="string"?(r!=="textarea"||s!=="")&&Zs(e,s):typeof s=="number"&&Zs(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Js.hasOwnProperty(o)?s!=null&&o==="onScroll"&&Be("scroll",e):s!=null&&K4(e,o,s,a))}switch(r){case"input":Ac(e),ZE(e,n,!1);break;case"textarea":Ac(e),t9(e);break;case"option":n.value!=null&&e.setAttribute("value",""+_i(n.value));break;case"select":e.multiple=!!n.multiple,o=n.value,o!=null?Ba(e,!!n.multiple,o,!1):n.defaultValue!=null&&Ba(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=of)}MO(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)sR(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(z(166));r=mo(cu.current),mo(yn.current),Mc(t)?(n=t.stateNode,r=t.memoizedProps,n[vi]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[vi]=t,t.stateNode=n)}return null;case 13:return We(tt),n=t.memoizedState,t.flags&64?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&Mc(t):r=e.memoizedState!==null,n&&!r&&t.mode&2&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||tt.current&1?Rt===0&&(Rt=3):((Rt===0||Rt===3)&&(Rt=4),Vt===null||!(Lu&134217727)&&!(El&134217727)||Ha(Vt,Bt))),(n||r)&&(t.flags|=4),null);case 4:return nl(),Rb(t),e===null&&_O(t.stateNode.containerInfo),null;case 10:return m8(t),null;case 17:return tr(t.type)&&lf(),null;case 19:if(We(tt),n=t.memoizedState,n===null)return null;if(o=(t.flags&64)!==0,a=n.rendering,a===null)if(o)ts(n,!1);else{if(Rt!==0||e!==null&&e.flags&64)for(e=t.child;e!==null;){if(a=pf(e),a!==null){for(t.flags|=64,ts(n,!1),o=a.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),n.lastEffect===null&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=r,r=t.child;r!==null;)o=r,e=n,o.flags&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return nt(tt,tt.current&1|2),t.child}e=e.sibling}n.tail!==null&&Ft()>Lb&&(t.flags|=64,o=!0,ts(n,!1),t.lanes=33554432)}else{if(!o)if(e=pf(a),e!==null){if(t.flags|=64,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),ts(n,!0),n.tail===null&&n.tailMode==="hidden"&&!a.alternate&&!$n)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*Ft()-n.renderingStartTime>Lb&&r!==1073741824&&(t.flags|=64,o=!0,ts(n,!1),t.lanes=33554432);n.isBackwards?(a.sibling=t.child,t.child=a):(r=n.last,r!==null?r.sibling=a:t.child=a,n.last=a)}return n.tail!==null?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=Ft(),r.sibling=null,t=tt.current,nt(tt,o?t&1|2:t&1),r):null;case 23:case 24:return T8(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&n.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(z(156,t.tag))}function DH(e){switch(e.tag){case 1:tr(e.type)&&lf();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(nl(),We(er),We(zt),b8(),t=e.flags,t&64)throw Error(z(285));return e.flags=t&-4097|64,e;case 5:return g8(e),null;case 13:return We(tt),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return We(tt),null;case 4:return nl(),null;case 10:return m8(e),null;case 23:case 24:return T8(),null;default:return null}}function E8(e,t){try{var r="",n=t;do r+=vK(n),n=n.return;while(n);var i=r}catch(o){i=`
38
+ Error generating stack: `+o.message+`
39
+ `+o.stack}return{value:e,source:t,stack:i}}function _b(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var MH=typeof WeakMap=="function"?WeakMap:Map;function uR(e,t,r){r=Si(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){$f||($f=!0,Fb=n),_b(e,t)},r}function cR(e,t,r){r=Si(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return _b(e,t),n(i)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(hn===null?hn=new Set([this]):hn.add(this),_b(e,t));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),r}var NH=typeof WeakSet=="function"?WeakSet:Set;function Z9(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){Ii(e,r)}else t.current=null}function LH(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var r=e.memoizedProps,n=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?r:Xr(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&d8(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(z(163))}function FH(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var i=e;n=i.next,i=i.tag,i&4&&i&1&&(yR(r,e),VH(r,e)),e=n}while(e!==t)}return;case 1:e=r.stateNode,r.flags&4&&(t===null?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:Xr(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&D9(r,t,e);return;case 3:if(t=r.updateQueue,t!==null){if(e=null,r.child!==null)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}D9(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&MO(r.type,r.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:r.memoizedState===null&&(r=r.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&vO(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(z(163))}function e7(e,t){for(var r=e;;){if(r.tag===5){var n=r.stateNode;if(t)n=n.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var i=r.memoizedProps.style;i=i!=null&&i.hasOwnProperty("display")?i.display:null,n.style.display=nO("display",i)}}else if(r.tag===6)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((r.tag!==23&&r.tag!==24||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function t7(e,t){if(xo&&typeof xo.onCommitFiberUnmount=="function")try{xo.onCommitFiberUnmount(f8,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var r=e=e.next;do{var n=r,i=n.destroy;if(n=n.tag,i!==void 0)if(n&4)yR(t,r);else{n=t;try{i()}catch(o){Ii(n,o)}}r=r.next}while(r!==e)}break;case 1:if(Z9(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){Ii(t,o)}break;case 5:Z9(t);break;case 4:dR(e,t)}}function r7(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function n7(e){return e.tag===5||e.tag===3||e.tag===4}function i7(e){e:{for(var t=e.return;t!==null;){if(n7(t))break e;t=t.return}throw Error(z(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:t=t.containerInfo,n=!0;break;case 4:t=t.containerInfo,n=!0;break;default:throw Error(z(161))}r.flags&16&&(Zs(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||n7(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue t;r.child.return=r,r=r.child}if(!(r.flags&2)){r=r.stateNode;break e}}n?kb(e,r,t):Db(e,r,t)}function kb(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=of));else if(n!==4&&(e=e.child,e!==null))for(kb(e,t,r),e=e.sibling;e!==null;)kb(e,t,r),e=e.sibling}function Db(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Db(e,t,r),e=e.sibling;e!==null;)Db(e,t,r),e=e.sibling}function dR(e,t){for(var r=t,n=!1,i,o;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(z(160));switch(i=n.stateNode,n.tag){case 5:o=!1;break e;case 3:i=i.containerInfo,o=!0;break e;case 4:i=i.containerInfo,o=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var a=e,l=r,s=l;;)if(t7(a,s),s.child!==null&&s.tag!==4)s.child.return=s,s=s.child;else{if(s===l)break e;for(;s.sibling===null;){if(s.return===null||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}o?(a=i,l=r.stateNode,a.nodeType===8?a.parentNode.removeChild(l):a.removeChild(l)):i.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){i=r.stateNode.containerInfo,o=!0,r.child.return=r,r=r.child;continue}}else if(t7(e,r),r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return,r.tag===4&&(n=!1)}r.sibling.return=r.return,r=r.sibling}}function wm(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do(n.tag&3)===3&&(e=n.destroy,n.destroy=void 0,e!==void 0&&e()),n=n.next;while(n!==r)}return;case 1:return;case 5:if(r=t.stateNode,r!=null){n=t.memoizedProps;var i=e!==null?e.memoizedProps:n;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,o!==null){for(r[af]=n,e==="input"&&n.type==="radio"&&n.name!=null&&ZA(r,n),fb(e,i),t=fb(e,n),i=0;i<o.length;i+=2){var a=o[i],l=o[i+1];a==="style"?iO(r,l):a==="dangerouslySetInnerHTML"?rO(r,l):a==="children"?Zs(r,l):K4(r,a,l,t)}switch(e){case"input":ob(r,n);break;case"textarea":eO(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,o=n.value,o!=null?Ba(r,!!n.multiple,o,!1):e!==!!n.multiple&&(n.defaultValue!=null?Ba(r,!!n.multiple,n.defaultValue,!0):Ba(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(z(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:r=t.stateNode,r.hydrate&&(r.hydrate=!1,vO(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(I8=Ft(),e7(t.child,!0)),o7(t);return;case 19:o7(t);return;case 17:return;case 23:case 24:e7(t,t.memoizedState!==null);return}throw Error(z(163))}function o7(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new NH),t.forEach(function(n){var i=YH.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function BH(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var zH=Math.ceil,yf=Fo.ReactCurrentDispatcher,C8=Fo.ReactCurrentOwner,le=0,Vt=null,mt=null,Bt=0,Po=0,Mb=Wi(0),Rt=0,qp=null,Sl=0,Lu=0,El=0,P8=0,Nb=null,I8=0,Lb=1/0;function Cl(){Lb=Ft()+500}var V=null,$f=!1,Fb=null,hn=null,Mi=!1,ks=null,gs=90,Bb=[],zb=[],jn=null,Ds=0,jb=null,kd=-1,Ln=0,Dd=0,Ms=null,Md=!1;function fr(){return le&48?Ft():kd!==-1?kd:kd=Ft()}function Ci(e){if(e=e.mode,!(e&2))return 1;if(!(e&4))return rl()===99?1:2;if(Ln===0&&(Ln=Sl),IH.transition!==0){Dd!==0&&(Dd=Nb!==null?Nb.pendingLanes:0),e=Ln;var t=4186112&~Dd;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=rl(),le&4&&e===98?e=rf(12,Ln):(e=OK(e),e=rf(e,Ln)),e}function Pi(e,t,r){if(50<Ds)throw Ds=0,jb=null,Error(z(185));if(e=Yp(e,t),e===null)return null;jp(e,t,r),e===Vt&&(El|=t,Rt===4&&Ha(e,Bt));var n=rl();t===1?le&8&&!(le&48)?Ub(e):(Br(e,r),le===0&&(Cl(),wn())):(!(le&4)||n!==98&&n!==99||(jn===null?jn=new Set([e]):jn.add(e)),Br(e,r)),Nb=e}function Yp(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}function Br(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var l=31-ki(a),s=1<<l,u=o[l];if(u===-1){if(!(s&n)||s&i){u=t,pa(s);var c=Le;o[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);a&=~s}if(n=nu(e,e===Vt?Bt:0),t=Le,n===0)r!==null&&(r!==gm&&Sb(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==gm&&Sb(r)}t===15?(r=Ub.bind(null,e),Nn===null?(Nn=[r],_d=p8(Vp,WO)):Nn.push(r),r=gm):t===14?r=lu(99,Ub.bind(null,e)):(r=RK(t),r=lu(r,fR.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function fR(e){if(kd=-1,Dd=Ln=0,le&48)throw Error(z(327));var t=e.callbackNode;if(Ki()&&e.callbackNode!==t)return null;var r=nu(e,e===Vt?Bt:0);if(r===0)return null;var n=r,i=le;le|=16;var o=hR();(Vt!==e||Bt!==n)&&(Cl(),Va(e,n));do try{WH();break}catch(l){mR(e,l)}while(1);if(v8(),yf.current=o,le=i,mt!==null?n=0:(Vt=null,Bt=0,n=Rt),Sl&El)Va(e,0);else if(n!==0){if(n===2&&(le|=64,e.hydrate&&(e.hydrate=!1,d8(e.containerInfo)),r=xO(e),r!==0&&(n=bs(e,r))),n===1)throw t=qp,Va(e,0),Ha(e,r),Br(e,Ft()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(z(345));case 2:no(e);break;case 3:if(Ha(e,r),(r&62914560)===r&&(n=I8+500-Ft(),10<n)){if(nu(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){fr(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=P9(no.bind(null,e),n);break}no(e);break;case 4:if(Ha(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var a=31-ki(r);o=1<<a,a=n[a],a>i&&(i=a),r&=~o}if(r=i,r=Ft()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*zH(r/1960))-r,10<r){e.timeoutHandle=P9(no.bind(null,e),r);break}no(e);break;case 5:no(e);break;default:throw Error(z(329))}}return Br(e,Ft()),e.callbackNode===t?fR.bind(null,e):null}function Ha(e,t){for(t&=~P8,t&=~El,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-ki(t),n=1<<r;e[r]=-1,t&=~n}}function Ub(e){if(le&48)throw Error(z(327));if(Ki(),e===Vt&&e.expiredLanes&Bt){var t=Bt,r=bs(e,t);Sl&El&&(t=nu(e,t),r=bs(e,t))}else t=nu(e,0),r=bs(e,t);if(e.tag!==0&&r===2&&(le|=64,e.hydrate&&(e.hydrate=!1,d8(e.containerInfo)),t=xO(e),t!==0&&(r=bs(e,t))),r===1)throw r=qp,Va(e,0),Ha(e,t),Br(e,Ft()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,no(e),Br(e,Ft()),null}function jH(){if(jn!==null){var e=jn;jn=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,Br(t,Ft())})}wn()}function pR(e,t){var r=le;le|=1;try{return e(t)}finally{le=r,le===0&&(Cl(),wn())}}function vR(e,t){var r=le;le&=-2,le|=8;try{return e(t)}finally{le=r,le===0&&(Cl(),wn())}}function Lc(e,t){nt(Mb,Po),Po|=t,Sl|=t}function T8(){Po=Mb.current,We(Mb)}function Va(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,xH(r)),mt!==null)for(r=mt.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&lf();break;case 3:nl(),We(er),We(zt),b8();break;case 5:g8(n);break;case 4:nl();break;case 13:We(tt);break;case 19:We(tt);break;case 10:m8(n);break;case 23:case 24:T8()}r=r.return}Vt=e,mt=Ni(e.current,null),Bt=Po=Sl=t,Rt=0,qp=null,P8=El=Lu=0}function mR(e,t){do{var r=mt;try{if(v8(),Rs.current=bf,vf){for(var n=at.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}vf=!1}if(du=0,Ot=Nt=at=null,_s=!1,C8.current=null,r===null||r.return===null){Rt=1,qp=t,mt=null;break}e:{var o=e,a=r.return,l=r,s=t;if(t=Bt,l.flags|=2048,l.firstEffect=l.lastEffect=null,s!==null&&typeof s=="object"&&typeof s.then=="function"){var u=s;if(!(l.mode&2)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var f=(tt.current&1)!==0,d=a;do{var p;if(p=d.tag===13){var m=d.memoizedState;if(m!==null)p=m.dehydrated!==null;else{var b=d.memoizedProps;p=b.fallback===void 0?!1:b.unstable_avoidThisFallback!==!0?!0:!f}}if(p){var v=d.updateQueue;if(v===null){var h=new Set;h.add(u),d.updateQueue=h}else v.add(u);if(!(d.mode&2)){if(d.flags|=64,l.flags|=16384,l.flags&=-2981,l.tag===1)if(l.alternate===null)l.tag=17;else{var g=Si(-1,1);g.tag=2,Ei(l,g)}l.lanes|=1;break e}s=void 0,l=t;var y=o.pingCache;if(y===null?(y=o.pingCache=new MH,s=new Set,y.set(u,s)):(s=y.get(u),s===void 0&&(s=new Set,y.set(u,s))),!s.has(l)){s.add(l);var x=qH.bind(null,o,u,l);u.then(x,x)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(d!==null);s=Error((Fa(l.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
40
+
41
+ Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Rt!==5&&(Rt=2),s=E8(s,l),d=a;do{switch(d.tag){case 3:o=s,d.flags|=4096,t&=-t,d.lanes|=t;var C=uR(d,o,t);k9(d,C);break e;case 1:o=s;var E=d.type,P=d.stateNode;if(!(d.flags&64)&&(typeof E.getDerivedStateFromError=="function"||P!==null&&typeof P.componentDidCatch=="function"&&(hn===null||!hn.has(P)))){d.flags|=4096,t&=-t,d.lanes|=t;var S=cR(d,o,t);k9(d,S);break e}}d=d.return}while(d!==null)}bR(r)}catch(I){t=I,mt===r&&r!==null&&(mt=r=r.return);continue}break}while(1)}function hR(){var e=yf.current;return yf.current=bf,e===null?bf:e}function bs(e,t){var r=le;le|=16;var n=hR();Vt===e&&Bt===t||Va(e,t);do try{UH();break}catch(i){mR(e,i)}while(1);if(v8(),le=r,yf.current=n,mt!==null)throw Error(z(261));return Vt=null,Bt=0,Rt}function UH(){for(;mt!==null;)gR(mt)}function WH(){for(;mt!==null&&!EH();)gR(mt)}function gR(e){var t=$R(e.alternate,e,Po);e.memoizedProps=e.pendingProps,t===null?bR(e):mt=t,C8.current=null}function bR(e){var t=e;do{var r=t.alternate;if(e=t.return,t.flags&2048){if(r=DH(t),r!==null){r.flags&=2047,mt=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}else{if(r=kH(r,t,Po),r!==null){mt=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||Po&1073741824||!(r.mode&4)){for(var n=0,i=r.child;i!==null;)n|=i.lanes|i.childLanes,i=i.sibling;r.childLanes=n}e!==null&&!(e.flags&2048)&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}if(t=t.sibling,t!==null){mt=t;return}mt=t=e}while(t!==null);Rt===0&&(Rt=5)}function no(e){var t=rl();return Co(99,KH.bind(null,e,t)),null}function KH(e,t){do Ki();while(ks!==null);if(le&48)throw Error(z(327));var r=e.finishedWork;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(z(177));e.callbackNode=null;var n=r.lanes|r.childLanes,i=n,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var a=e.eventTimes,l=e.expirationTimes;0<o;){var s=31-ki(o),u=1<<s;i[s]=0,a[s]=-1,l[s]=-1,o&=~u}if(jn!==null&&!(n&24)&&jn.has(e)&&jn.delete(e),e===Vt&&(mt=Vt=null,Bt=0),1<r.flags?r.lastEffect!==null?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,n!==null){if(i=le,le|=32,C8.current=null,vm=Td,a=y9(),bb(a)){if("selectionStart"in a)l={start:a.selectionStart,end:a.selectionEnd};else e:if(l=(l=a.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&u.rangeCount!==0){l=u.anchorNode,o=u.anchorOffset,s=u.focusNode,u=u.focusOffset;try{l.nodeType,s.nodeType}catch{l=null;break e}var c=0,f=-1,d=-1,p=0,m=0,b=a,v=null;t:for(;;){for(var h;b!==l||o!==0&&b.nodeType!==3||(f=c+o),b!==s||u!==0&&b.nodeType!==3||(d=c+u),b.nodeType===3&&(c+=b.nodeValue.length),(h=b.firstChild)!==null;)v=b,b=h;for(;;){if(b===a)break t;if(v===l&&++p===o&&(f=c),v===s&&++m===u&&(d=c),(h=b.nextSibling)!==null)break;b=v,v=b.parentNode}b=h}l=f===-1||d===-1?null:{start:f,end:d}}else l=null;l=l||{start:0,end:0}}else l=null;mm={focusedElem:a,selectionRange:l},Td=!1,Ms=null,Md=!1,V=n;do try{HH()}catch(I){if(V===null)throw Error(z(330));Ii(V,I),V=V.nextEffect}while(V!==null);Ms=null,V=n;do try{for(a=e;V!==null;){var g=V.flags;if(g&16&&Zs(V.stateNode,""),g&128){var y=V.alternate;if(y!==null){var x=y.ref;x!==null&&(typeof x=="function"?x(null):x.current=null)}}switch(g&1038){case 2:i7(V),V.flags&=-3;break;case 6:i7(V),V.flags&=-3,wm(V.alternate,V);break;case 1024:V.flags&=-1025;break;case 1028:V.flags&=-1025,wm(V.alternate,V);break;case 4:wm(V.alternate,V);break;case 8:l=V,dR(a,l);var C=l.alternate;r7(l),C!==null&&r7(C)}V=V.nextEffect}}catch(I){if(V===null)throw Error(z(330));Ii(V,I),V=V.nextEffect}while(V!==null);if(x=mm,y=y9(),g=x.focusedElem,a=x.selectionRange,y!==g&&g&&g.ownerDocument&&AO(g.ownerDocument.documentElement,g)){for(a!==null&&bb(g)&&(y=a.start,x=a.end,x===void 0&&(x=y),"selectionStart"in g?(g.selectionStart=y,g.selectionEnd=Math.min(x,g.value.length)):(x=(y=g.ownerDocument||document)&&y.defaultView||window,x.getSelection&&(x=x.getSelection(),l=g.textContent.length,C=Math.min(a.start,l),a=a.end===void 0?C:Math.min(a.end,l),!x.extend&&C>a&&(l=a,a=C,C=l),l=b9(g,C),o=b9(g,a),l&&o&&(x.rangeCount!==1||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==o.node||x.focusOffset!==o.offset)&&(y=y.createRange(),y.setStart(l.node,l.offset),x.removeAllRanges(),C>a?(x.addRange(y),x.extend(o.node,o.offset)):(y.setEnd(o.node,o.offset),x.addRange(y)))))),y=[],x=g;x=x.parentNode;)x.nodeType===1&&y.push({element:x,left:x.scrollLeft,top:x.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<y.length;g++)x=y[g],x.element.scrollLeft=x.left,x.element.scrollTop=x.top}Td=!!vm,mm=vm=null,e.current=r,V=n;do try{for(g=e;V!==null;){var E=V.flags;if(E&36&&FH(g,V.alternate,V),E&128){y=void 0;var P=V.ref;if(P!==null){var S=V.stateNode;switch(V.tag){case 5:y=S;break;default:y=S}typeof P=="function"?P(y):P.current=y}}V=V.nextEffect}}catch(I){if(V===null)throw Error(z(330));Ii(V,I),V=V.nextEffect}while(V!==null);V=null,PH(),le=i}else e.current=r;if(Mi)Mi=!1,ks=e,gs=t;else for(V=n;V!==null;)t=V.nextEffect,V.nextEffect=null,V.flags&8&&(E=V,E.sibling=null,E.stateNode=null),V=t;if(n=e.pendingLanes,n===0&&(hn=null),n===1?e===jb?Ds++:(Ds=0,jb=e):Ds=0,r=r.stateNode,xo&&typeof xo.onCommitFiberRoot=="function")try{xo.onCommitFiberRoot(f8,r,void 0,(r.current.flags&64)===64)}catch{}if(Br(e,Ft()),$f)throw $f=!1,e=Fb,Fb=null,e;return le&8||wn(),null}function HH(){for(;V!==null;){var e=V.alternate;Md||Ms===null||(V.flags&8?i9(V,Ms)&&(Md=!0):V.tag===13&&BH(e,V)&&i9(V,Ms)&&(Md=!0));var t=V.flags;t&256&&LH(e,V),!(t&512)||Mi||(Mi=!0,lu(97,function(){return Ki(),null})),V=V.nextEffect}}function Ki(){if(gs!==90){var e=97<gs?97:gs;return gs=90,Co(e,GH)}return!1}function VH(e,t){Bb.push(t,e),Mi||(Mi=!0,lu(97,function(){return Ki(),null}))}function yR(e,t){zb.push(t,e),Mi||(Mi=!0,lu(97,function(){return Ki(),null}))}function GH(){if(ks===null)return!1;var e=ks;if(ks=null,le&48)throw Error(z(331));var t=le;le|=32;var r=zb;zb=[];for(var n=0;n<r.length;n+=2){var i=r[n],o=r[n+1],a=i.destroy;if(i.destroy=void 0,typeof a=="function")try{a()}catch(s){if(o===null)throw Error(z(330));Ii(o,s)}}for(r=Bb,Bb=[],n=0;n<r.length;n+=2){i=r[n],o=r[n+1];try{var l=i.create;i.destroy=l()}catch(s){if(o===null)throw Error(z(330));Ii(o,s)}}for(l=e.current.firstEffect;l!==null;)e=l.nextEffect,l.nextEffect=null,l.flags&8&&(l.sibling=null,l.stateNode=null),l=e;return le=t,wn(),!0}function a7(e,t,r){t=E8(r,t),t=uR(e,t,1),Ei(e,t),t=fr(),e=Yp(e,1),e!==null&&(jp(e,1,t),Br(e,t))}function Ii(e,t){if(e.tag===3)a7(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){a7(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(hn===null||!hn.has(n))){e=E8(t,e);var i=cR(r,e,1);if(Ei(r,i),i=fr(),r=Yp(r,1),r!==null)jp(r,1,i),Br(r,i);else if(typeof n.componentDidCatch=="function"&&(hn===null||!hn.has(n)))try{n.componentDidCatch(t,e)}catch{}break}}r=r.return}}function qH(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=fr(),e.pingedLanes|=e.suspendedLanes&r,Vt===e&&(Bt&r)===r&&(Rt===4||Rt===3&&(Bt&62914560)===Bt&&500>Ft()-I8?Va(e,0):P8|=r),Br(e,t)}function YH(e,t){var r=e.stateNode;r!==null&&r.delete(t),t=0,t===0&&(t=e.mode,t&2?t&4?(Ln===0&&(Ln=Sl),t=va(62914560&~Ln),t===0&&(t=4194304)):t=rl()===99?1:2:t=1),r=fr(),e=Yp(e,t),e!==null&&(jp(e,t,r),Br(e,r))}var $R;$R=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||er.current)Jr=!0;else if(r&n)Jr=!!(e.flags&16384);else{switch(Jr=!1,t.tag){case 3:V9(t),ym();break;case 5:L9(t);break;case 1:tr(t.type)&&Rd(t);break;case 4:Pb(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;nt(sf,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return r&t.child.childLanes?G9(e,t,r):(nt(tt,tt.current&1),t=zn(e,t,r),t!==null?t.sibling:null);nt(tt,tt.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&64){if(n)return J9(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),nt(tt,tt.current),n)break;return null;case 23:case 24:return t.lanes=0,$m(e,t,r)}return zn(e,t,r)}else Jr=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=tl(t,zt.current),Wa(t,r),i=$8(null,t,n,e,i,r),t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,tr(n)){var o=!0;Rd(t)}else o=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,h8(t);var a=n.getDerivedStateFromProps;typeof a=="function"&&df(t,n,a,e),i.updater=Gp,t.stateNode=i,i._reactInternals=t,Cb(t,n,e,r),t=Ob(null,t,n,!0,o,r)}else t.tag=0,Qt(null,t,i,r),t=t.child;return t;case 16:i=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=i._init,i=o(i._payload),t.type=i,o=t.tag=QH(i),e=Xr(i,e),o){case 0:t=Ab(null,t,i,e,r);break e;case 1:t=H9(null,t,i,e,r);break e;case 11:t=W9(null,t,i,e,r);break e;case 14:t=K9(null,t,i,Xr(i.type,e),n,r);break e}throw Error(z(306,i,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xr(n,i),Ab(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xr(n,i),H9(e,t,n,i,r);case 3:if(V9(t),n=t.updateQueue,e===null||n===null)throw Error(z(282));if(n=t.pendingProps,i=t.memoizedState,i=i!==null?i.element:null,HO(e,t),su(t,n,null,r),n=t.memoizedState.element,n===i)ym(),t=zn(e,t,r);else{if(i=t.stateNode,(o=i.hydrate)&&(mi=Ua(t.stateNode.containerInfo.firstChild),Bn=t,o=$n=!0),o){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)o=e[i],o._workInProgressVersionPrimary=e[i+1],Ka.push(o);for(r=YO(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else Qt(e,t,n,r),ym();t=t.child}return t;case 5:return L9(t),e===null&&Ib(t),n=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,xb(n,i)?a=null:o!==null&&xb(n,o)&&(t.flags|=16),oR(e,t),Qt(e,t,a,r),t.child;case 6:return e===null&&Ib(t),null;case 13:return G9(e,t,r);case 4:return Pb(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=ff(t,null,n,r):Qt(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xr(n,i),W9(e,t,n,i,r);case 7:return Qt(e,t,t.pendingProps,r),t.child;case 8:return Qt(e,t,t.pendingProps.children,r),t.child;case 12:return Qt(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value;var l=t.type._context;if(nt(sf,l._currentValue),l._currentValue=o,a!==null)if(l=a.value,o=Ar(l,o)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(l,o):1073741823)|0,o===0){if(a.children===i.children&&!er.current){t=zn(e,t,r);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){a=l.child;for(var u=s.firstContext;u!==null;){if(u.context===n&&u.observedBits&o){l.tag===1&&(u=Si(-1,r&-r),u.tag=2,Ei(l,u)),l.lanes|=r,u=l.alternate,u!==null&&(u.lanes|=r),KO(l.return,r),s.lanes|=r;break}u=u.next}}else a=l.tag===10&&l.type===t.type?null:l.child;if(a!==null)a.return=l;else for(a=l;a!==null;){if(a===t){a=null;break}if(l=a.sibling,l!==null){l.return=a.return,a=l;break}a=a.return}l=a}Qt(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,o=t.pendingProps,n=o.children,Wa(t,r),i=Fr(i,o.unstable_observedBits),n=n(i),t.flags|=1,Qt(e,t,n,r),t.child;case 14:return i=t.type,o=Xr(i,t.pendingProps),o=Xr(i.type,o),K9(e,t,i,o,n,r);case 15:return iR(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xr(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,tr(n)?(e=!0,Rd(t)):e=!1,Wa(t,r),GO(t,n,i),Cb(t,n,i,r),Ob(null,t,n,!0,e,r);case 19:return J9(e,t,r);case 23:return $m(e,t,r);case 24:return $m(e,t,r)}throw Error(z(156,t.tag))};function XH(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Or(e,t,r,n){return new XH(e,t,r,n)}function A8(e){return e=e.prototype,!(!e||!e.isReactComponent)}function QH(e){if(typeof e=="function")return A8(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Fp)return 11;if(e===Bp)return 14}return 2}function Ni(e,t){var r=e.alternate;return r===null?(r=Or(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Nd(e,t,r,n,i,o){var a=2;if(n=e,typeof e=="function")A8(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case di:return Ga(r.children,i,o,t);case XA:a=8,i|=16;break;case H4:a=8,i|=1;break;case Es:return e=Or(12,r,t,i|8),e.elementType=Es,e.type=Es,e.lanes=o,e;case Cs:return e=Or(13,r,t,i),e.type=Cs,e.elementType=Cs,e.lanes=o,e;case Jd:return e=Or(19,r,t,i),e.elementType=Jd,e.lanes=o,e;case Q4:return O8(r,i,o,t);case nb:return e=Or(24,r,t,i),e.elementType=nb,e.lanes=o,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case V4:a=10;break e;case G4:a=9;break e;case Fp:a=11;break e;case Bp:a=14;break e;case q4:a=16,n=null;break e;case Y4:a=22;break e}throw Error(z(130,e==null?e:typeof e,""))}return t=Or(a,r,t,i),t.elementType=e,t.type=n,t.lanes=o,t}function Ga(e,t,r,n){return e=Or(7,e,n,t),e.lanes=r,e}function O8(e,t,r,n){return e=Or(23,e,n,t),e.elementType=Q4,e.lanes=r,e}function Sm(e,t,r){return e=Or(6,e,null,t),e.lanes=r,e}function Em(e,t,r){return t=Or(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function JH(e,t,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=lm(0),this.expirationTimes=lm(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=lm(0),this.mutableSourceEagerHydrationData=null}function ZH(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:fo,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function xf(e,t,r,n){var i=t.current,o=fr(),a=Ci(i);e:if(r){r=r._reactInternals;t:{if(Bo(r)!==r||r.tag!==1)throw Error(z(170));var l=r;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(tr(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(l!==null);throw Error(z(171))}if(r.tag===1){var s=r.type;if(tr(s)){r=LO(r,s,l);break e}}r=l}else r=Di;return t.context===null?t.context=r:t.pendingContext=r,t=Si(o,a),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),Ei(i,t),Pi(i,a,o),a}function Cm(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function l7(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function R8(e,t){l7(e,t),(e=e.alternate)&&l7(e,t)}function eV(){return null}function _8(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new JH(e,t,r!=null&&r.hydrate===!0),t=Or(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,h8(t),e[wl]=r.current,_O(e.nodeType===8?e.parentNode:e),n)for(e=0;e<n.length;e++){t=n[e];var i=t._getVersion;i=i(t._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[t,i]:r.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=r}_8.prototype.render=function(e){xf(e,this._internalRoot,null,null)};_8.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;xf(null,e,null,function(){t[wl]=null})};function Fu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function tV(e,t){if(t||(t=e?e.nodeType===9?e.documentElement:e.firstChild:null,t=!(!t||t.nodeType!==1||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new _8(e,0,t?{hydrate:!0}:void 0)}function Xp(e,t,r,n,i){var o=r._reactRootContainer;if(o){var a=o._internalRoot;if(typeof i=="function"){var l=i;i=function(){var u=Cm(a);l.call(u)}}xf(t,a,e,i)}else{if(o=r._reactRootContainer=tV(r,n),a=o._internalRoot,typeof i=="function"){var s=i;i=function(){var u=Cm(a);s.call(u)}}vR(function(){xf(t,a,e,i)})}return Cm(a)}dO=function(e){if(e.tag===13){var t=fr();Pi(e,4,t),R8(e,4)}};r8=function(e){if(e.tag===13){var t=fr();Pi(e,67108864,t),R8(e,67108864)}};fO=function(e){if(e.tag===13){var t=fr(),r=Ci(e);Pi(e,r,t),R8(e,r)}};pO=function(e,t){return t()};pb=function(e,t,r){switch(t){case"input":if(ob(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=Hp(n);if(!i)throw Error(z(90));JA(n),ob(n,i)}}}break;case"textarea":eO(e,r);break;case"select":t=r.value,t!=null&&Ba(e,!!r.multiple,t,!1)}};Z4=pR;lO=function(e,t,r,n,i){var o=le;le|=4;try{return Co(98,e.bind(null,t,r,n,i))}finally{le=o,le===0&&(Cl(),wn())}};e8=function(){!(le&49)&&(jH(),Ki())};sO=function(e,t){var r=le;le|=2;try{return e(t)}finally{le=r,le===0&&(Cl(),wn())}};function xR(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Fu(t))throw Error(z(200));return ZH(e,t,null,r)}var rV={Events:[Mu,Ca,Hp,oO,aO,Ki,{current:!1}]},rs={findFiberByHostInstance:vo,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},nV={bundleType:rs.bundleType,version:rs.version,rendererPackageName:rs.rendererPackageName,rendererConfig:rs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Fo.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=cO(e),e===null?null:e.stateNode},findFiberByHostInstance:rs.findFiberByHostInstance||eV,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Fc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Fc.isDisabled&&Fc.supportsFiber)try{f8=Fc.inject(nV),xo=Fc}catch{}}jr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=rV;jr.createPortal=xR;jr.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(z(188)):Error(z(268,Object.keys(e)));return e=cO(t),e=e===null?null:e.stateNode,e};jr.flushSync=function(e,t){var r=le;if(r&48)return e(t);le|=1;try{if(e)return Co(99,e.bind(null,t))}finally{le=r,wn()}};jr.hydrate=function(e,t,r){if(!Fu(t))throw Error(z(200));return Xp(null,e,t,!0,r)};jr.render=function(e,t,r){if(!Fu(t))throw Error(z(200));return Xp(null,e,t,!1,r)};jr.unmountComponentAtNode=function(e){if(!Fu(e))throw Error(z(40));return e._reactRootContainer?(vR(function(){Xp(null,null,e,!1,function(){e._reactRootContainer=null,e[wl]=null})}),!0):!1};jr.unstable_batchedUpdates=pR;jr.unstable_createPortal=function(e,t){return xR(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)};jr.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Fu(r))throw Error(z(200));if(e==null||e._reactInternals===void 0)throw Error(z(38));return Xp(e,t,r,!1,n)};jr.version="17.0.2";function wR(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(wR)}catch(e){console.error(e)}}wR(),VA.exports=jr;var pn=VA.exports;const Ta=rr(pn);function SR(e){return null}SR.getCollectionNode=function*(t,r){let{childItems:n,title:i,children:o}=t,a=t.title||t.children,l=t.textValue||(typeof a=="string"?a:"")||t["aria-label"]||"";!l&&!(r!=null&&r.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:a,textValue:l,"aria-label":t["aria-label"],hasChildNodes:iV(t),*childNodes(){if(n)for(let s of n)yield{type:"item",value:s};else if(i){let s=[];w.Children.forEach(o,u=>{s.push({type:"item",element:u})}),yield*s}}}};function iV(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&w.Children.count(e.children)>0)}let oV=SR;class aV{build(t,r){return this.context=r,s7(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let i of t.items)yield*this.getFullNode({value:i},{renderer:r})}else{let i=[];w.Children.forEach(r,a=>{i.push(a)});let o=0;for(let a of i){let l=this.getFullNode({element:a,index:o},{});for(let s of l)o++,yield s}}}getKey(t,r,n,i){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${i}${r.key}`;let o=r.value;if(o!=null){var a;let l=(a=o.key)!==null&&a!==void 0?a:o.id;if(l==null)throw new Error("No key found for item");return l}return i?`${i}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,i){let o=t.element;if(!o&&t.value&&r&&r.renderer){let s=this.cache.get(t.value);if(s&&(!s.shouldInvalidate||!s.shouldInvalidate(this.context))){s.index=t.index,s.parentKey=i?i.key:null,yield s;return}o=r.renderer(t.value)}if(w.isValidElement(o)){let s=o.type;if(typeof s!="function"&&typeof s.getCollectionNode!="function"){let d=typeof o.type=="function"?o.type.name:o.type;throw new Error(`Unknown element <${d}> in collection.`)}let u=s.getCollectionNode(o.props,this.context),c=t.index,f=u.next();for(;!f.done&&f.value;){let d=f.value;t.index=c;let p=d.key;p||(p=d.element?null:this.getKey(o,t,r,n));let b=[...this.getFullNode({...d,key:p,index:c,wrapper:lV(t.wrapper,d.wrapper)},this.getChildState(r,d),n?`${n}${o.key}`:o.key,i)];for(let v of b){if(v.value=d.value||t.value,v.value&&this.cache.set(v.value,v),t.type&&v.type!==t.type)throw new Error(`Unsupported type <${Pm(v.type)}> in <${Pm(i.type)}>. Only <${Pm(t.type)}> is supported.`);c++,yield v}f=u.next(b)}return}if(t.key==null)return;let a=this,l={type:t.type,props:t.props,key:t.key,parentKey:i?i.key:null,value:t.value,level:i?i.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue,"aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes,childNodes:s7(function*(){if(!t.hasChildNodes)return;let s=0;for(let u of t.childNodes()){u.key!=null&&(u.key=`${l.key}${u.key}`),u.index=s;let c=a.getFullNode(u,a.getChildState(r,u),l.key,l);for(let f of c)s++,yield f}})};yield l}constructor(){this.cache=new WeakMap}}function s7(e){let t=[],r=null;return{*[Symbol.iterator](){for(let n of t)yield n;r||(r=e());for(let n of r)t.push(n),yield n}}}function lV(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function Pm(e){return e[0].toUpperCase()+e.slice(1)}function ER(e,t,r){let n=$.useMemo(()=>new aV,[]),{children:i,items:o,collection:a}=e;return $.useMemo(()=>{if(a)return a;let s=n.build({children:i,items:o},r);return t(s)},[n,i,o,a,r,t])}function Io(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function sV(e){return uV(e,0)}function uV(e,t){if(t<0)return;let r=0;for(let n of e){if(r===t)return n;r++}}function Im(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...u7(e,t),t],i=[...u7(e,r),r],o=n.slice(0,i.length).findIndex((a,l)=>a!==i[l]);return o!==-1?(t=n[o],r=i[o],t.index-r.index):n.findIndex(a=>a===r)>=0?1:(i.findIndex(a=>a===t)>=0,-1)}function u7(e,t){let r=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),r.unshift(t);return r}const c7=new WeakMap;function k8(e){let t=c7.get(e);if(t!=null)return t;t=0;let r=n=>{for(let i of n)i.type==="section"?r(Io(i,e)):t++};return r(e),c7.set(e,t),t}function Bu(e,t,r){let[n,i]=$.useState(e||t),o=$.useRef(e!==void 0),a=e!==void 0;$.useEffect(()=>{let u=o.current;u!==a&&console.warn(`WARN: A component changed from ${u?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}.`),o.current=a},[a]);let l=a?e:n,s=$.useCallback((u,...c)=>{let f=(d,...p)=>{r&&(Object.is(l,d)||r(d,...p)),a||(l=d)};typeof u=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i((p,...m)=>{let b=u(a?l:p,...m);return f(b,...c),a?p:b})):(a||i(u),f(u,...c))},[a,l,r]);return[l,s]}function fu(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}const wf={prefix:String(Math.round(Math.random()*1e10)),current:0,isSSR:!1},D8=w.createContext(wf);let cV=!!(typeof window<"u"&&window.document&&window.document.createElement),Tm=new WeakMap;function dV(e=!1){let t=$.useContext(D8),r=$.useRef(null);if(r.current===null&&!e){var n,i;let o=(n=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||n===void 0||(i=n.ReactCurrentOwner)===null||i===void 0?void 0:i.current;if(o){let a=Tm.get(o);a==null?Tm.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==a.state&&(t.current=a.id,Tm.delete(o))}r.current=++t.current}return r.current}function fV(e){let t=$.useContext(D8);t===wf&&!cV&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=dV(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function pV(e){let t=w.useId(),[r]=$.useState(jo()),n=r?"react-aria":`react-aria${wf.prefix}`;return e||`${n}-${t}`}const vV=typeof w.useId=="function"?pV:fV;function mV(){return!1}function hV(){return!0}function gV(e){return()=>{}}function jo(){return typeof w.useSyncExternalStore=="function"?w.useSyncExternalStore(gV,mV,hV):$.useContext(D8).isSSR}function CR(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=CR(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Qp(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=CR(e))&&(n&&(n+=" "),n+=t);return n}const pe=typeof document<"u"?w.useLayoutEffect:()=>{};function M8(e){let[t,r]=$.useState(e),n=$.useRef(t),i=$.useRef(null),o=$.useCallback(()=>{let l=i.current.next();for(;!l.done&&n.current===l.value;)l=i.current.next();if(l.done){i.current=null;return}r(l.value),n.current=l.value},[r,n,i]);pe(()=>{i.current&&o()});let a=$.useCallback(l=>{i.current=l(n.current),o()},[o,i,n]);return[t,a]}let Sf=new Map;function wt(e){let[t,r]=$.useState(e),n=$.useRef(null),i=vV(t),o=$.useCallback(a=>{n.current=a},[]);return Sf.set(i,o),pe(()=>{let a=i;return()=>{Sf.delete(a)}},[i]),$.useEffect(()=>{let a=n.current;a&&(n.current=null,r(a))}),i}function bV(e,t){if(e===t)return e;let r=Sf.get(e);if(r)return r(t),t;let n=Sf.get(t);return n?(n(e),e):t}function Un(e=[]){let t=wt(),[r,n]=M8(t),i=$.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return pe(i,[t,i,...e]),r}function pu(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function ee(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let i in n){let o=t[i],a=n[i];typeof o=="function"&&typeof a=="function"&&i[0]==="o"&&i[1]==="n"&&i.charCodeAt(2)>=65&&i.charCodeAt(2)<=90?t[i]=pu(o,a):(i==="className"||i==="UNSAFE_className")&&typeof o=="string"&&typeof a=="string"?t[i]=Qp(o,a):i==="id"&&o&&a?t.id=bV(o,a):t[i]=a!==void 0?a:o}}return t}function yV(...e){return e.length===1?e[0]:t=>{for(let r of e)typeof r=="function"?r(t):r!=null&&(r.current=t)}}const $V=new Set(["id"]),xV=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),wV=/^(data-.*)$/;function _e(e,t={}){let{labelable:r,propNames:n}=t,i={};for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&($V.has(o)||r&&xV.has(o)||n!=null&&n.has(o)||wV.test(o))&&(i[o]=e[o]);return i}function hi(e){if(SV())e.focus({preventScroll:!0});else{let t=EV(e);e.focus(),CV(t)}}let Bc=null;function SV(){if(Bc==null){Bc=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Bc=!0,!0}})}catch{}}return Bc}function EV(e){for(var t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function CV(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}let ma=new Map,Wb=new Set;function d7(){if(typeof window>"u")return;let e=r=>{let n=ma.get(r.target);n||(n=new Set,ma.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=ma.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),ma.delete(r.target)),ma.size===0)){for(let i of Wb)i();Wb.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?d7():document.addEventListener("DOMContentLoaded",d7));function PR(e){requestAnimationFrame(()=>{ma.size===0?e():Wb.add(e)})}function IR(){let e=$.useRef(new Map),t=$.useCallback((i,o,a,l)=>{let s=l!=null&&l.once?(...u)=>{e.current.delete(a),a(...u)}:a;e.current.set(a,{type:o,eventTarget:i,fn:s,options:l}),i.addEventListener(o,a,l)},[]),r=$.useCallback((i,o,a,l)=>{var s;let u=((s=e.current.get(a))===null||s===void 0?void 0:s.fn)||a;i.removeEventListener(o,u,l),e.current.delete(a)},[]),n=$.useCallback(()=>{e.current.forEach((i,o)=>{r(i.eventTarget,i.type,o,i.options)})},[r]);return $.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function Ef(e,t){let{id:r,"aria-label":n,"aria-labelledby":i}=e;return r=wt(r),i&&n?i=[...new Set([r,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!n&&!i&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":i}}function PV(e){const t=$.useRef();return $.useMemo(()=>({get current(){return t.current},set current(r){t.current=r,typeof e=="function"?e(r):e&&(e.current=r)}}),[e])}function IV(){return typeof window.ResizeObserver<"u"}function zu(e){const{ref:t,onResize:r}=e;$.useEffect(()=>{let n=t==null?void 0:t.current;if(n)if(IV()){const i=new window.ResizeObserver(o=>{o.length&&r()});return i.observe(n),()=>{n&&i.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function Jp(e,t){pe(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}function Cf(e){for(Pf(e)&&(e=e.parentElement);e&&!Pf(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function Pf(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}let dn=typeof document<"u"&&window.visualViewport;function TR(){let[e,t]=$.useState(()=>f7());return $.useEffect(()=>{let r=()=>{t(n=>{let i=f7();return i.width===n.width&&i.height===n.height?n:i})};return dn?dn.addEventListener("resize",r):window.addEventListener("resize",r),()=>{dn?dn.removeEventListener("resize",r):window.removeEventListener("resize",r)}},[]),e}function f7(){return{width:(dn==null?void 0:dn.width)||window.innerWidth,height:(dn==null?void 0:dn.height)||window.innerHeight}}let TV=0;const Am=new Map;function AV(e){let[t,r]=$.useState(void 0);return pe(()=>{if(!e)return;let n=Am.get(e);if(n)r(n.element.id);else{let i=`react-aria-description-${TV++}`;r(i);let o=document.createElement("div");o.id=i,o.style.display="none",o.textContent=e,document.body.appendChild(o),n={refCount:0,element:o},Am.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),Am.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function N8(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function L8(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function ju(){return L8(/^Mac/i)}function OV(){return L8(/^iPhone/i)}function RV(){return L8(/^iPad/i)||ju()&&navigator.maxTouchPoints>1}function Zp(){return OV()||RV()}function Ld(){return ju()||Zp()}function _V(){return N8(/AppleWebKit/i)&&!kV()}function kV(){return N8(/Chrome/i)}function DV(){return N8(/Android/i)}function Rr(e){const t=$.useRef(null);return pe(()=>{t.current=e},[e]),$.useCallback((...r)=>{const n=t.current;return n(...r)},[])}function MV(e,t,r,n){let i=Rr(r),o=r==null;$.useEffect(()=>{if(o)return;let a=e.current;return a.addEventListener(t,i,n),()=>{a.removeEventListener(t,i,n)}},[e,t,n,o,i])}function AR(e,t){let r=p7(e,t,"left"),n=p7(e,t,"top"),i=t.offsetWidth,o=t.offsetHeight,a=e.scrollLeft,l=e.scrollTop,{borderTopWidth:s,borderLeftWidth:u}=getComputedStyle(e),c=e.scrollLeft+parseInt(u,10),f=e.scrollTop+parseInt(s,10),d=c+e.clientWidth,p=f+e.clientHeight;r<=a?a=r-parseInt(u,10):r+i>d&&(a+=r+i-d),n<=f?l=n-parseInt(s,10):n+o>p&&(l+=n+o-p),e.scrollLeft=a,e.scrollTop=l}function p7(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let i=0;for(;t.offsetParent&&(i+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){i-=e[n];break}t=t.offsetParent}return i}function v7(e,t){if(document.contains(e)){let a=document.scrollingElement||document.documentElement;if(window.getComputedStyle(a).overflow==="hidden"){let s=Cf(e);for(;e&&s&&e!==a&&s!==a;)AR(s,e),e=s,s=Cf(e)}else{var r;let{left:s,top:u}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:c,top:f}=e.getBoundingClientRect();if(Math.abs(s-c)>1||Math.abs(u-f)>1){var n,i,o;t==null||(n=t.containingElement)===null||n===void 0||(i=n.scrollIntoView)===null||i===void 0||i.call(n,{block:"center",inline:"center"}),(o=e.scrollIntoView)===null||o===void 0||o.call(e,{block:"nearest"})}}}}function Kb(e){return e.mozInputSource===0&&e.isTrusted?!0:DV()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function NV(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function OR(e,t,r){let n=$.useRef(t),i=Rr(()=>{r&&r(n.current)});$.useEffect(()=>{var o;let a=e==null||(o=e.current)===null||o===void 0?void 0:o.form;return a==null||a.addEventListener("reset",i),()=>{a==null||a.removeEventListener("reset",i)}},[e,i])}class LV{getStringForLocale(t,r){let n=this.strings[r];n||(n=FV(r,this.strings,this.defaultLocale),this.strings[r]=n);let i=n[t];if(!i)throw new Error(`Could not find intl message ${t} in ${r} locale`);return i}constructor(t,r="en-US"){this.strings={...t},this.defaultLocale=r}}function FV(e,t,r="en-US"){if(t[e])return t[e];let n=BV(e);if(t[n])return t[n];for(let i in t)if(i.startsWith(n+"-"))return t[i];return t[r]}function BV(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const m7=new Map,h7=new Map;class zV{format(t,r){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(r,this):n}plural(t,r,n="cardinal"){let i=r["="+t];if(i)return typeof i=="function"?i():i;let o=this.locale+":"+n,a=m7.get(o);a||(a=new Intl.PluralRules(this.locale,{type:n}),m7.set(o,a));let l=a.select(t);return i=r[l]||r.other,typeof i=="function"?i():i}number(t){let r=h7.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),h7.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}constructor(t,r){this.locale=t,this.strings=r}}function jV(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function UV(e,t,r){jV(e,t),t.set(e,r)}let Om=new Map,Hb=!1;try{Hb=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let If=!1;try{If=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const RR={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class WV{format(t){let r="";if(!Hb&&this.options.signDisplay!=null?r=HV(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!If){var n;let{unit:i,unitDisplay:o="short",locale:a}=this.resolvedOptions(),l=(n=RR[i])===null||n===void 0?void 0:n[o];r+=l[a]||l.default}return r}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,r){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(r)}`}formatRangeToParts(t,r){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),i=this.numberFormatter.formatToParts(r);return[...n.map(o=>({...o,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...i.map(o=>({...o,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!Hb&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!If&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=KV(t,r),this.options=r}}function KV(e,t={}){let{numberingSystem:r}=t;if(r&&e.indexOf("-u-nu-")===-1&&(e=`${e}-u-nu-${r}`),t.style==="unit"&&!If){var n;let{unit:a,unitDisplay:l="short"}=t;if(!a)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=RR[a])===null||n===void 0)&&n[l]))throw new Error(`Unsupported unit ${a} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let i=e+(t?Object.entries(t).sort((a,l)=>a[0]<l[0]?-1:1).join():"");if(Om.has(i))return Om.get(i);let o=new Intl.NumberFormat(e,t);return Om.set(i,o),o}function HV(e,t,r){if(t==="auto")return e.format(r);if(t==="never")return e.format(Math.abs(r));{let n=!1;if(t==="always"?n=r>0||Object.is(r,0):t==="exceptZero"&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),n){let i=e.format(-r),o=e.format(r),a=i.replace(o,"").replace(/\u200e|\u061C/,"");return[...a].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),i.replace(o,"!!!").replace(a,"+").replace("!!!",o)}else return e.format(r)}}const VV=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),GV=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function _R(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return VV.has(r)}let t=e.split("-")[0];return GV.has(t)}function kR(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:_R(e)?"rtl":"ltr"}}let Vb=kR(),ys=new Set;function g7(){Vb=kR();for(let e of ys)e(Vb)}function DR(){let e=jo(),[t,r]=$.useState(Vb);return $.useEffect(()=>(ys.size===0&&window.addEventListener("languagechange",g7),ys.add(r),()=>{ys.delete(r),ys.size===0&&window.removeEventListener("languagechange",g7)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const MR=w.createContext(null);function qV(e){let{locale:t,children:r}=e,n=DR(),i=t?{locale:t,direction:_R(t)?"rtl":"ltr"}:n;return w.createElement(MR.Provider,{value:i},r)}function br(){let e=DR();return $.useContext(MR)||e}const b7=new WeakMap;function YV(e){let t=b7.get(e);return t||(t=new LV(e),b7.set(e,t)),t}function Ur(e){let{locale:t}=br(),r=$.useMemo(()=>YV(e),[e]);return $.useMemo(()=>new zV(t,r),[t,r])}function XV(e={}){let{locale:t}=br();return $.useMemo(()=>new WV(t,e),[t,e])}let Rm=new Map;function F8(e){let{locale:t}=br(),r=t+(e?Object.entries(e).sort((i,o)=>i[0]<o[0]?-1:1).join():"");if(Rm.has(r))return Rm.get(r);let n=new Intl.Collator(t,e);return Rm.set(r,n),n}function NR(e){let t=F8({usage:"search",...e}),r=$.useCallback((o,a)=>a.length===0?!0:(o=o.normalize("NFC"),a=a.normalize("NFC"),t.compare(o.slice(0,a.length),a)===0),[t]),n=$.useCallback((o,a)=>a.length===0?!0:(o=o.normalize("NFC"),a=a.normalize("NFC"),t.compare(o.slice(-a.length),a)===0),[t]),i=$.useCallback((o,a)=>{if(a.length===0)return!0;o=o.normalize("NFC"),a=a.normalize("NFC");let l=0,s=a.length;for(;l+s<=o.length;l++){let u=o.slice(l,l+s);if(t.compare(a,u)===0)return!0}return!1},[t]);return $.useMemo(()=>({startsWith:r,endsWith:n,contains:i}),[r,n,i])}let zc=!1;function R(e,...t){let r=[];for(let n of t)if(typeof n=="object"&&n){let i={};for(let o in n)e[o]&&(i[e[o]]=n[o]),e[o]||(i[o]=n[o]);r.push(i)}else typeof n=="string"?(e[n]&&r.push(e[n]),e[n]||r.push(n)):r.push(n);return Qp(...r)}function Gb(e){let t=typeof window<"u"&&typeof window.matchMedia=="function",[r,n]=$.useState(()=>t?window.matchMedia(e).matches:!1);return $.useEffect(()=>{if(!t)return;let o=window.matchMedia(e),a=l=>{n(l.matches)};return o.addListener(a),()=>{o.removeListener(a)}},[t,e]),jo()?!1:r}function B8(e){return{UNSAFE_getDOMNode(){return e.current}}}function LR(e,t=e){return{...B8(e),focus(){t.current&&t.current.focus()}}}function dt(e){let t=$.useRef(null);return $.useImperativeHandle(e,()=>B8(t)),t}function Pl(e,t){let r=$.useRef(null);return $.useImperativeHandle(e,()=>LR(r,t)),r}function Aa(e){return{get current(){return e.current&&e.current.UNSAFE_getDOMNode()}}}function y7(e){return $.useMemo(()=>Aa(e),[e])}const z8=w.createContext(null);z8.displayName="BreakpointContext";function QV(e){let{children:t,matchedBreakpoints:r}=e;return w.createElement(z8.Provider,{value:{matchedBreakpoints:r}},t)}function JV(e){let t=Object.entries(e).sort(([,s],[,u])=>u-s),r=t.map(([,s])=>`(min-width: ${s}px)`),n=typeof window<"u"&&typeof window.matchMedia=="function",i=()=>{let s=[];for(let u in r){let c=r[u];window.matchMedia(c).matches&&s.push(t[u][0])}return s.push("base"),s},[o,a]=$.useState(()=>n?i():["base"]);return $.useEffect(()=>{if(!n)return;let s=()=>{const u=i();a(c=>c.length!==u.length||c.some((f,d)=>f!==u[d])?[...u]:c)};return window.addEventListener("resize",s),()=>{window.removeEventListener("resize",s)}},[n]),jo()?["base"]:o}function FR(){return $.useContext(z8)}const ev={margin:["margin",xe],marginStart:[Xt("marginLeft","marginRight"),xe],marginEnd:[Xt("marginRight","marginLeft"),xe],marginTop:["marginTop",xe],marginBottom:["marginBottom",xe],marginX:[["marginLeft","marginRight"],xe],marginY:[["marginTop","marginBottom"],xe],width:["width",xe],height:["height",xe],minWidth:["minWidth",xe],minHeight:["minHeight",xe],maxWidth:["maxWidth",xe],maxHeight:["maxHeight",xe],isHidden:["display",nG],alignSelf:["alignSelf",pt],justifySelf:["justifySelf",pt],position:["position",_m],zIndex:["zIndex",_m],top:["top",xe],bottom:["bottom",xe],start:[Xt("left","right"),xe],end:[Xt("right","left"),xe],left:["left",xe],right:["right",xe],order:["order",_m],flex:["flex",iG],flexGrow:["flexGrow",pt],flexShrink:["flexShrink",pt],flexBasis:["flexBasis",pt],gridArea:["gridArea",pt],gridColumn:["gridColumn",pt],gridColumnEnd:["gridColumnEnd",pt],gridColumnStart:["gridColumnStart",pt],gridRow:["gridRow",pt],gridRowEnd:["gridRowEnd",pt],gridRowStart:["gridRowStart",pt]};({...ev,borderStartWidth:Xt("borderLeftWidth","borderRightWidth"),borderEndWidth:Xt("borderRightWidth","borderLeftWidth"),borderStartColor:Xt("borderLeftColor","borderRightColor"),borderEndColor:Xt("borderRightColor","borderLeftColor"),borderTopStartRadius:Xt("borderTopLeftRadius","borderTopRightRadius"),borderTopEndRadius:Xt("borderTopRightRadius","borderTopLeftRadius"),borderBottomStartRadius:Xt("borderBottomLeftRadius","borderBottomRightRadius"),borderBottomEndRadius:Xt("borderBottomRightRadius","borderBottomLeftRadius"),paddingStart:Xt("paddingLeft","paddingRight"),paddingEnd:Xt("paddingRight","paddingLeft")});const $7={borderWidth:"borderStyle",borderLeftWidth:"borderLeftStyle",borderRightWidth:"borderRightStyle",borderTopWidth:"borderTopStyle",borderBottomWidth:"borderBottomStyle"};function Xt(e,t){return r=>r==="rtl"?t:e}const ZV=/(%|px|em|rem|vw|vh|auto|cm|mm|in|pt|pc|ex|ch|rem|vmin|vmax|fr)$/,eG=/^\s*\w+\(/,tG=/(static-)?size-\d+|single-line-(height|width)/g;function xe(e){return typeof e=="number"?e+"px":ZV.test(e)?e:eG.test(e)?e.replace(tG,"var(--spectrum-global-dimension-$&, var(--spectrum-alias-$&))"):`var(--spectrum-global-dimension-${e}, var(--spectrum-alias-${e}))`}function ra(e,t){return e=j8(e,t),xe(e)}function BR(e,t="default",r=5){return r>5?`var(--spectrum-${e}, var(--spectrum-semantic-${e}-color-${t}))`:`var(--spectrum-legacy-color-${e}, var(--spectrum-global-color-${e}, var(--spectrum-semantic-${e}-color-${t})))`}function rG(e,t=5){return`var(--spectrum-alias-background-color-${e}, ${BR(e,"background",t)})`}function In(e,t=5){return e==="default"?"var(--spectrum-alias-border-color)":`var(--spectrum-alias-border-color-${e}, ${BR(e,"border",t)})`}function Tn(e){return`var(--spectrum-alias-border-size-${e})`}function An(e){return`var(--spectrum-alias-border-radius-${e})`}function nG(e){return e?"none":void 0}function _m(e){return e}function iG(e){return typeof e=="boolean"?e?"1":void 0:""+e}function oG(e,t,r,n){let i={};for(let o in e){let a=t[o];if(!a||e[o]==null)continue;let[l,s]=a;typeof l=="function"&&(l=l(r));let u=j8(e[o],n),c=s(u,e.colorVersion);if(Array.isArray(l))for(let f of l)i[f]=c;else i[l]=c}for(let o in $7)i[o]&&(i[$7[o]]="solid",i.boxSizing="border-box");return i}function Ie(e,t=ev,r={}){let{UNSAFE_className:n,UNSAFE_style:i,...o}=e,a=FR(),{direction:l}=br(),{matchedBreakpoints:s=(a==null?void 0:a.matchedBreakpoints)||["base"]}=r,u=oG(e,t,l,s),c={...i,...u};o.className&&console.warn("The className prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_className if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes."),o.style&&console.warn("The style prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_style if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes.");let f={style:c,className:n};return j8(e.isHidden,s)&&(f.hidden=!0),{styleProps:f}}function pt(e){return e}function j8(e,t){if(e&&typeof e=="object"&&!Array.isArray(e)){for(let r=0;r<t.length;r++){let n=t[r];if(e[n]!=null)return e[n]}return e.base}return e}let Tf=w.createContext(null);function yr(e,t){let r=e.slot||t,{[r]:n={}}=$.useContext(Tf)||{};return ee(e,ee(n,{id:e.id}))}function Wr(e){let t=$.useContext(Tf)||{},{slots:r={},children:n}=e,i=$.useMemo(()=>Object.keys(t).concat(Object.keys(r)).reduce((o,a)=>({...o,[a]:ee(t[a]||{},r[a]||{})}),{}),[t,r]);return w.createElement(Tf.Provider,{value:i},n)}function Uu(e){let{children:t,...r}=e,n=t;return w.Children.toArray(t).length<=1&&typeof t=="function"&&(n=w.cloneElement(w.Children.only(t),r)),w.createElement(Tf.Provider,{value:{}},n)}function Oa(e,t){let[r,n]=$.useState(!0);return pe(()=>{n(!!(t.current&&t.current.querySelector(e)))},[n,e,t]),r}const aG=700;function U8(){return jo()||typeof window>"u"?!1:window.screen.width<=aG}function lG(e,t){return t.get?t.get.call(e):t.value}function zR(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function sG(e,t){var r=zR(e,t,"get");return lG(e,r)}function uG(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function x7(e,t,r){var n=zR(e,t,"set");return uG(e,n,r),r}let Ra="default",qb="",Fd=new WeakMap;function w7(e){Zp()?(Ra==="default"&&(qb=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),Ra="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(Fd.set(e,e.style.userSelect),e.style.userSelect="none")}function jc(e){if(Zp()){if(Ra!=="disabled")return;Ra="restoring",setTimeout(()=>{PR(()=>{Ra==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=qb||""),qb="",Ra="default")})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Fd.has(e)){let t=Fd.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Fd.delete(e)}}const Af=w.createContext(null);Af.displayName="PressResponderContext";function cG(e){let t=$.useContext(Af);if(t){let{register:r,...n}=t;e=ee(n,e),r()}return Jp(t,e.ref),e}var Uc=new WeakMap;class Wc{continuePropagation(){x7(this,Uc,!1)}get shouldStopPropagation(){return sG(this,Uc)}constructor(t,r,n){UV(this,Uc,{writable:!0,value:void 0}),x7(this,Uc,!0),this.type=t,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}function Wu(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:i,onPressUp:o,isDisabled:a,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:c,ref:f,...d}=cG(e),[p,m]=$.useState(!1),b=$.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:v,removeAllGlobalListeners:h}=IR(),g=Rr((S,I)=>{let _=b.current;if(a||_.didFirePressStart)return;let T=!0;if(n){let k=new Wc("pressstart",I,S);n(k),T=k.shouldStopPropagation}return r&&r(!0),_.didFirePressStart=!0,m(!0),T}),y=Rr((S,I,_=!0)=>{let T=b.current;if(!T.didFirePressStart)return;T.ignoreClickAfterPress=!0,T.didFirePressStart=!1;let k=!0;if(i){let A=new Wc("pressend",I,S);i(A),k=A.shouldStopPropagation}if(r&&r(!1),m(!1),t&&_&&!a){let A=new Wc("press",I,S);t(A),k&&(k=A.shouldStopPropagation)}return k}),x=Rr((S,I)=>{if(!a){if(o){let _=new Wc("pressup",I,S);return o(_),_.shouldStopPropagation}return!0}}),C=Rr(S=>{let I=b.current;I.isPressed&&(I.isOverTarget&&y(On(I.target,S),I.pointerType,!1),I.isPressed=!1,I.isOverTarget=!1,I.activePointerId=null,I.pointerType=null,h(),c||jc(I.target))}),E=Rr(S=>{u&&C(S)}),P=$.useMemo(()=>{let S=b.current,I={onKeyDown(T){if(km(T.nativeEvent,T.currentTarget)&&T.currentTarget.contains(T.target)){E7(T.target,T.key)&&T.preventDefault();let k=!0;!S.isPressed&&!T.repeat&&(S.target=T.currentTarget,S.isPressed=!0,k=g(T,"keyboard"),v(document,"keyup",_,!1)),k&&T.stopPropagation()}else T.key==="Enter"&&Yb(T.currentTarget)&&T.stopPropagation()},onKeyUp(T){km(T.nativeEvent,T.currentTarget)&&!T.repeat&&T.currentTarget.contains(T.target)&&x(On(S.target,T),"keyboard")},onClick(T){if(!(T&&!T.currentTarget.contains(T.target))&&T&&T.button===0){let k=!0;if(a&&T.preventDefault(),!S.ignoreClickAfterPress&&!S.ignoreEmulatedMouseEvents&&(S.pointerType==="virtual"||Kb(T.nativeEvent))){!a&&!s&&hi(T.currentTarget);let A=g(T,"virtual"),O=x(T,"virtual"),U=y(T,"virtual");k=A&&O&&U}S.ignoreEmulatedMouseEvents=!1,S.ignoreClickAfterPress=!1,k&&T.stopPropagation()}}},_=T=>{if(S.isPressed&&km(T,S.target)){E7(T.target,T.key)&&T.preventDefault(),S.isPressed=!1;let k=T.target,A=y(On(S.target,T),"keyboard",S.target.contains(k));h(),A&&T.stopPropagation(),S.target instanceof HTMLElement&&S.target.contains(k)&&(Yb(S.target)||S.target.getAttribute("role")==="link")&&S.target.click()}};if(typeof PointerEvent<"u"){I.onPointerDown=O=>{if(O.button!==0||!O.currentTarget.contains(O.target))return;if(NV(O.nativeEvent)){S.pointerType="virtual";return}Dm(O.currentTarget)&&O.preventDefault(),S.pointerType=O.pointerType;let U=!0;S.isPressed||(S.isPressed=!0,S.isOverTarget=!0,S.activePointerId=O.pointerId,S.target=O.currentTarget,!a&&!s&&hi(O.currentTarget),c||w7(S.target),U=g(O,S.pointerType),v(document,"pointermove",T,!1),v(document,"pointerup",k,!1),v(document,"pointercancel",A,!1)),U&&O.stopPropagation()},I.onMouseDown=O=>{O.currentTarget.contains(O.target)&&O.button===0&&(Dm(O.currentTarget)&&O.preventDefault(),O.stopPropagation())},I.onPointerUp=O=>{!O.currentTarget.contains(O.target)||S.pointerType==="virtual"||O.button===0&&na(O,O.currentTarget)&&x(O,S.pointerType||O.pointerType)};let T=O=>{O.pointerId===S.activePointerId&&(na(O,S.target)?S.isOverTarget||(S.isOverTarget=!0,g(On(S.target,O),S.pointerType)):S.isOverTarget&&(S.isOverTarget=!1,y(On(S.target,O),S.pointerType,!1),E(O)))},k=O=>{O.pointerId===S.activePointerId&&S.isPressed&&O.button===0&&(na(O,S.target)?y(On(S.target,O),S.pointerType):S.isOverTarget&&y(On(S.target,O),S.pointerType,!1),S.isPressed=!1,S.isOverTarget=!1,S.activePointerId=null,S.pointerType=null,h(),c||jc(S.target))},A=O=>{C(O)};I.onDragStart=O=>{O.currentTarget.contains(O.target)&&C(O)}}else{I.onMouseDown=A=>{if(A.button!==0||!A.currentTarget.contains(A.target))return;if(Dm(A.currentTarget)&&A.preventDefault(),S.ignoreEmulatedMouseEvents){A.stopPropagation();return}S.isPressed=!0,S.isOverTarget=!0,S.target=A.currentTarget,S.pointerType=Kb(A.nativeEvent)?"virtual":"mouse",!a&&!s&&hi(A.currentTarget),g(A,S.pointerType)&&A.stopPropagation(),v(document,"mouseup",T,!1)},I.onMouseEnter=A=>{if(!A.currentTarget.contains(A.target))return;let O=!0;S.isPressed&&!S.ignoreEmulatedMouseEvents&&(S.isOverTarget=!0,O=g(A,S.pointerType)),O&&A.stopPropagation()},I.onMouseLeave=A=>{if(!A.currentTarget.contains(A.target))return;let O=!0;S.isPressed&&!S.ignoreEmulatedMouseEvents&&(S.isOverTarget=!1,O=y(A,S.pointerType,!1),E(A)),O&&A.stopPropagation()},I.onMouseUp=A=>{A.currentTarget.contains(A.target)&&!S.ignoreEmulatedMouseEvents&&A.button===0&&x(A,S.pointerType)};let T=A=>{if(A.button===0){if(S.isPressed=!1,h(),S.ignoreEmulatedMouseEvents){S.ignoreEmulatedMouseEvents=!1;return}na(A,S.target)?y(On(S.target,A),S.pointerType):S.isOverTarget&&y(On(S.target,A),S.pointerType,!1),S.isOverTarget=!1}};I.onTouchStart=A=>{if(!A.currentTarget.contains(A.target))return;let O=dG(A.nativeEvent);if(!O)return;S.activePointerId=O.identifier,S.ignoreEmulatedMouseEvents=!0,S.isOverTarget=!0,S.isPressed=!0,S.target=A.currentTarget,S.pointerType="touch",!a&&!s&&hi(A.currentTarget),c||w7(S.target),g(A,S.pointerType)&&A.stopPropagation(),v(window,"scroll",k,!0)},I.onTouchMove=A=>{if(!A.currentTarget.contains(A.target))return;if(!S.isPressed){A.stopPropagation();return}let O=S7(A.nativeEvent,S.activePointerId),U=!0;O&&na(O,A.currentTarget)?S.isOverTarget||(S.isOverTarget=!0,U=g(A,S.pointerType)):S.isOverTarget&&(S.isOverTarget=!1,U=y(A,S.pointerType,!1),E(A)),U&&A.stopPropagation()},I.onTouchEnd=A=>{if(!A.currentTarget.contains(A.target))return;if(!S.isPressed){A.stopPropagation();return}let O=S7(A.nativeEvent,S.activePointerId),U=!0;O&&na(O,A.currentTarget)?(x(A,S.pointerType),U=y(A,S.pointerType)):S.isOverTarget&&(U=y(A,S.pointerType,!1)),U&&A.stopPropagation(),S.isPressed=!1,S.activePointerId=null,S.isOverTarget=!1,S.ignoreEmulatedMouseEvents=!0,c||jc(S.target),h()},I.onTouchCancel=A=>{A.currentTarget.contains(A.target)&&(A.stopPropagation(),S.isPressed&&C(A))};let k=A=>{S.isPressed&&A.target.contains(S.target)&&C({currentTarget:S.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};I.onDragStart=A=>{A.currentTarget.contains(A.target)&&C(A)}}return I},[v,a,s,h,c,C,E,y,g,x]);return $.useEffect(()=>()=>{c||jc(b.current.target)},[c]),{isPressed:l||p,pressProps:ee(d,P)}}function Yb(e){return e.tagName==="A"&&e.hasAttribute("href")}function km(e,t){const{key:r,code:n}=e,i=t,o=i.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(i instanceof HTMLInputElement&&!jR(i,r)||i instanceof HTMLTextAreaElement||i.isContentEditable)&&(!Yb(i)||o==="button"&&r!=="Enter")&&!(o==="link"&&r!=="Enter")}function dG(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function S7(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const i=r[n];if(i.identifier===t)return i}return null}function On(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function fG(e){let t=e.width/2||e.radiusX||0,r=e.height/2||e.radiusY||0;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function pG(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function na(e,t){let r=t.getBoundingClientRect(),n=fG(e);return pG(r,n)}function Dm(e){return!(e instanceof HTMLElement)||!e.draggable}function E7(e,t){return e instanceof HTMLInputElement?!jR(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!0}const vG=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function jR(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":vG.has(e.type)}const Ku=w.forwardRef(({children:e,...t},r)=>{let n=$.useRef(!1),i=$.useContext(Af),o=ee(i||{},{...t,ref:r||(i==null?void 0:i.ref),register(){n.current=!0,i&&i.register()}});return Jp(i,r),$.useEffect(()=>{n.current||(console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component."),n.current=!0)},[]),w.createElement(Af.Provider,{value:o},e)});class mG{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function UR(e){let t=$.useRef({isFocused:!1,observer:null});pe(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=Rr(n=>{e==null||e(n)});return $.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let i=n.target,o=a=>{t.current.isFocused=!1,i.disabled&&r(new mG("blur",a)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&i.disabled){t.current.observer.disconnect();let a=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function WR(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:i}=e;const o=$.useCallback(s=>{if(s.target===s.currentTarget)return n&&n(s),i&&i(!1),!0},[n,i]),a=UR(o),l=$.useCallback(s=>{s.target===s.currentTarget&&document.activeElement===s.target&&(r&&r(s),i&&i(!0),a(s))},[i,r,a]);return{focusProps:{onFocus:!t&&(r||i||n)?l:void 0,onBlur:!t&&(n||i)?o:void 0}}}let Uo=null,Xb=new Set,C7=!1,To=!1,Qb=!1;const hG={Tab:!0,Escape:!0};function tv(e,t){for(let r of Xb)r(e,t)}function gG(e){return!(e.metaKey||!ju()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function P7(e){To=!0,gG(e)&&(Uo="keyboard",tv("keyboard",e))}function ia(e){Uo="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(To=!0,tv("pointer",e))}function bG(e){Kb(e)&&(To=!0,Uo="virtual")}function yG(e){e.target===window||e.target===document||(!To&&!Qb&&(Uo="virtual",tv("virtual",e)),To=!1,Qb=!1)}function $G(){To=!1,Qb=!0}function Jb(){if(typeof window>"u"||C7)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){To=!0,e.apply(this,arguments)},document.addEventListener("keydown",P7,!0),document.addEventListener("keyup",P7,!0),document.addEventListener("click",bG,!0),window.addEventListener("focus",yG,!0),window.addEventListener("blur",$G,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",ia,!0),document.addEventListener("pointermove",ia,!0),document.addEventListener("pointerup",ia,!0)):(document.addEventListener("mousedown",ia,!0),document.addEventListener("mousemove",ia,!0),document.addEventListener("mouseup",ia,!0)),C7=!0}typeof document<"u"&&(document.readyState!=="loading"?Jb():document.addEventListener("DOMContentLoaded",Jb));function Ao(){return Uo!=="pointer"}function il(){return Uo}function xG(e){Uo=e,tv(e,null)}function wG(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!hG[r.key])}function SG(e,t,r){Jb(),$.useEffect(()=>{let n=(i,o)=>{wG(r==null?void 0:r.isTextInput,i,o)&&e(Ao())};return Xb.add(n),()=>{Xb.delete(n)}},t)}function Hu(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=e,o=$.useRef({isFocusWithin:!1}),a=$.useCallback(u=>{o.current.isFocusWithin&&!u.currentTarget.contains(u.relatedTarget)&&(o.current.isFocusWithin=!1,r&&r(u),i&&i(!1))},[r,i,o]),l=UR(a),s=$.useCallback(u=>{!o.current.isFocusWithin&&document.activeElement===u.target&&(n&&n(u),i&&i(!0),o.current.isFocusWithin=!0,l(u))},[n,i,l]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:s,onBlur:a}}}let Of=!1,Mm=0;function Zb(){Of=!0,setTimeout(()=>{Of=!1},50)}function I7(e){e.pointerType==="touch"&&Zb()}function EG(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",I7):document.addEventListener("touchend",Zb),Mm++,()=>{Mm--,!(Mm>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",I7):document.removeEventListener("touchend",Zb))}}function nr(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:i}=e,[o,a]=$.useState(!1),l=$.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;$.useEffect(EG,[]);let{hoverProps:s,triggerHoverEnd:u}=$.useMemo(()=>{let c=(p,m)=>{if(l.pointerType=m,i||m==="touch"||l.isHovered||!p.currentTarget.contains(p.target))return;l.isHovered=!0;let b=p.currentTarget;l.target=b,t&&t({type:"hoverstart",target:b,pointerType:m}),r&&r(!0),a(!0)},f=(p,m)=>{if(l.pointerType="",l.target=null,m==="touch"||!l.isHovered)return;l.isHovered=!1;let b=p.currentTarget;n&&n({type:"hoverend",target:b,pointerType:m}),r&&r(!1),a(!1)},d={};return typeof PointerEvent<"u"?(d.onPointerEnter=p=>{Of&&p.pointerType==="mouse"||c(p,p.pointerType)},d.onPointerLeave=p=>{!i&&p.currentTarget.contains(p.target)&&f(p,p.pointerType)}):(d.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},d.onMouseEnter=p=>{!l.ignoreEmulatedMouseEvents&&!Of&&c(p,"mouse"),l.ignoreEmulatedMouseEvents=!1},d.onMouseLeave=p=>{!i&&p.currentTarget.contains(p.target)&&f(p,"mouse")}),{hoverProps:d,triggerHoverEnd:f}},[t,r,n,i,l]);return $.useEffect(()=>{i&&u({currentTarget:l.target},l.pointerType)},[i]),{hoverProps:s,isHovered:o}}function CG(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:i}=e,o=$.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),a=Rr(s=>{r&&Kc(s,t)&&(i&&i(s),o.current.isPointerDown=!0)}),l=Rr(s=>{r&&r(s)});$.useEffect(()=>{let s=o.current;if(!n)if(typeof PointerEvent<"u"){let u=c=>{s.isPointerDown&&Kc(c,t)&&l(c),s.isPointerDown=!1};return document.addEventListener("pointerdown",a,!0),document.addEventListener("pointerup",u,!0),()=>{document.removeEventListener("pointerdown",a,!0),document.removeEventListener("pointerup",u,!0)}}else{let u=f=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&Kc(f,t)&&l(f),s.isPointerDown=!1},c=f=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&Kc(f,t)&&l(f),s.isPointerDown=!1};return document.addEventListener("mousedown",a,!0),document.addEventListener("mouseup",u,!0),document.addEventListener("touchstart",a,!0),document.addEventListener("touchend",c,!0),()=>{document.removeEventListener("mousedown",a,!0),document.removeEventListener("mouseup",u,!0),document.removeEventListener("touchstart",a,!0),document.removeEventListener("touchend",c,!0)}}},[t,n,a,l])}function Kc(e,t){if(e.button>0)return!1;if(e.target){const r=e.target.ownerDocument;if(!r||!r.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function T7(e){if(!e)return;let t=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(n),t&&r.stopPropagation()}}function W8(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:T7(e.onKeyDown),onKeyUp:T7(e.onKeyUp)}}}const PG=500;function KR(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:i,threshold:o=PG,accessibilityDescription:a}=e;const l=$.useRef(null);let{addGlobalListener:s,removeGlobalListener:u}=IR(),{pressProps:c}=Wu({isDisabled:t,onPressStart(d){if(d.continuePropagation(),(d.pointerType==="mouse"||d.pointerType==="touch")&&(r&&r({...d,type:"longpressstart"}),l.current=setTimeout(()=>{d.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),i&&i({...d,type:"longpress"}),l.current=null},o),d.pointerType==="touch")){let p=m=>{m.preventDefault()};s(d.target,"contextmenu",p,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{u(d.target,"contextmenu",p)},30)},{once:!0})}},onPressEnd(d){l.current&&clearTimeout(l.current),n&&(d.pointerType==="mouse"||d.pointerType==="touch")&&n({...d,type:"longpressend"})}}),f=AV(i&&!t?a:null);return{longPressProps:ee(c,f)}}function Kn(e){if(il()==="virtual"){let t=document.activeElement;PR(()=>{document.activeElement===t&&document.contains(e)&&hi(e)})}else hi(e)}function IG(e){if(!(e instanceof HTMLElement)&&!(e instanceof SVGElement))return!1;let{display:t,visibility:r}=e.style,n=t!=="none"&&r!=="hidden"&&r!=="collapse";if(n){const{getComputedStyle:i}=e.ownerDocument.defaultView;let{display:o,visibility:a}=i(e);n=o!=="none"&&a!=="hidden"&&a!=="collapse"}return n}function TG(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function HR(e,t){return e.nodeName!=="#comment"&&IG(e)&&TG(e,t)&&(!e.parentElement||HR(e.parentElement,e))}const A7=w.createContext(null);let je=null;function Il(e){let{children:t,contain:r,restoreFocus:n,autoFocus:i}=e,o=$.useRef(),a=$.useRef(),l=$.useRef([]),{parentNode:s}=$.useContext(A7)||{},u=$.useMemo(()=>new ey({scopeRef:l}),[l]);pe(()=>{let d=s||ot.root;if(ot.getTreeNode(d.scopeRef)&&je&&!_f(je,d.scopeRef)){let p=ot.getTreeNode(je);p&&(d=p)}d.addChild(u),ot.addNode(u)},[u,s]),pe(()=>{let d=ot.getTreeNode(l);d.contain=r},[r]),pe(()=>{let d=o.current.nextSibling,p=[];for(;d&&d!==a.current;)p.push(d),d=d.nextSibling;l.current=p},[t]),MG(l,n,r),_G(l,r),LG(l,n,r),DG(l,i),$.useEffect(()=>{if(l){let d=document.activeElement,p=null;if(Lt(d,l.current)){for(let m of ot.traverse())Lt(d,m.scopeRef.current)&&(p=m);p===ot.getTreeNode(l)&&(je=p.scopeRef)}return()=>{let m=ot.getTreeNode(l).parent.scopeRef;(l===je||_f(l,je))&&(!m||ot.getTreeNode(m))&&(je=m),ot.removeTreeNode(l)}}},[l]);let c=$.useMemo(()=>AG(l),[]),f=$.useMemo(()=>({focusManager:c,parentNode:u}),[u,c]);return w.createElement(A7.Provider,{value:f},w.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:o}),t,w.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:a}))}function AG(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:i,wrap:o,accept:a}=t,l=n||document.activeElement,s=r[0].previousElementSibling,u=cr(go(r),{tabbable:i,accept:a},r);u.currentNode=Lt(l,r)?l:s;let c=u.nextNode();return!c&&o&&(u.currentNode=s,c=u.nextNode()),c&&Jt(c,!0),c},focusPrevious(t={}){let r=e.current,{from:n,tabbable:i,wrap:o,accept:a}=t,l=n||document.activeElement,s=r[r.length-1].nextElementSibling,u=cr(go(r),{tabbable:i,accept:a},r);u.currentNode=Lt(l,r)?l:s;let c=u.previousNode();return!c&&o&&(u.currentNode=s,c=u.previousNode()),c&&Jt(c,!0),c},focusFirst(t={}){let r=e.current,{tabbable:n,accept:i}=t,o=cr(go(r),{tabbable:n,accept:i},r);o.currentNode=r[0].previousElementSibling;let a=o.nextNode();return a&&Jt(a,!0),a},focusLast(t={}){let r=e.current,{tabbable:n,accept:i}=t,o=cr(go(r),{tabbable:n,accept:i},r);o.currentNode=r[r.length-1].nextElementSibling;let a=o.previousNode();return a&&Jt(a,!0),a}}}const K8=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],OG=K8.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";K8.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const RG=K8.join(':not([hidden]):not([tabindex="-1"]),');function go(e){return e[0].parentElement}function $s(e){let t=ot.getTreeNode(je);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function _G(e,t){let r=$.useRef(),n=$.useRef(null);pe(()=>{let i=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=null);return}let o=s=>{if(s.key!=="Tab"||s.altKey||s.ctrlKey||s.metaKey||!$s(e))return;let u=document.activeElement,c=e.current;if(!Lt(u,c))return;let f=cr(go(c),{tabbable:!0},c);f.currentNode=u;let d=s.shiftKey?f.previousNode():f.nextNode();d||(f.currentNode=s.shiftKey?c[c.length-1].nextElementSibling:c[0].previousElementSibling,d=s.shiftKey?f.previousNode():f.nextNode()),s.preventDefault(),d&&Jt(d,!0)},a=s=>{(!je||_f(je,e))&&Lt(s.target,e.current)?(je=e,r.current=s.target):$s(e)&&!Rf(s.target,e)?r.current?r.current.focus():je&&kf(je.current):$s(e)&&(r.current=s.target)},l=s=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{$s(e)&&!Rf(document.activeElement,e)&&(je=e,document.body.contains(s.target)?(r.current=s.target,r.current.focus()):je&&kf(je.current))})};return document.addEventListener("keydown",o,!1),document.addEventListener("focusin",a,!1),i.forEach(s=>s.addEventListener("focusin",a,!1)),i.forEach(s=>s.addEventListener("focusout",l,!1)),()=>{document.removeEventListener("keydown",o,!1),document.removeEventListener("focusin",a,!1),i.forEach(s=>s.removeEventListener("focusin",a,!1)),i.forEach(s=>s.removeEventListener("focusout",l,!1))}},[e,t]),pe(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function VR(e){return Rf(e)}function Lt(e,t){return t.some(r=>r.contains(e))}function Rf(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of ot.traverse(ot.getTreeNode(t)))if(Lt(e,r.current))return!0;return!1}function kG(e){return Rf(e,je)}function _f(e,t){var r;let n=(r=ot.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function Jt(e,t=!1){if(e!=null&&!t)try{Kn(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function kf(e,t=!0){let r=e[0].previousElementSibling,n=cr(go(e),{tabbable:t},e);n.currentNode=r;let i=n.nextNode();t&&!i&&(n=cr(go(e),{tabbable:!1},e),n.currentNode=r,i=n.nextNode()),Jt(i)}function DG(e,t){const r=w.useRef(t);$.useEffect(()=>{r.current&&(je=e,Lt(document.activeElement,je.current)||kf(e.current)),r.current=!1},[e])}function MG(e,t,r){pe(()=>{if(t||r)return;let n=e.current,i=o=>{let a=o.target;Lt(a,e.current)?je=e:VR(a)||(je=null)};return document.addEventListener("focusin",i,!1),n.forEach(o=>o.addEventListener("focusin",i,!1)),()=>{document.removeEventListener("focusin",i,!1),n.forEach(o=>o.removeEventListener("focusin",i,!1))}},[e,t,r])}function NG(e){let t=ot.getTreeNode(je);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function LG(e,t,r){const n=$.useRef(typeof document<"u"?document.activeElement:null);pe(()=>{let i=e.current;if(!t||r)return;let o=()=>{(!je||_f(je,e))&&Lt(document.activeElement,e.current)&&(je=e)};return document.addEventListener("focusin",o,!1),i.forEach(a=>a.addEventListener("focusin",o,!1)),()=>{document.removeEventListener("focusin",o,!1),i.forEach(a=>a.removeEventListener("focusin",o,!1))}},[e,r]),pe(()=>{if(!t)return;let i=o=>{if(o.key!=="Tab"||o.altKey||o.ctrlKey||o.metaKey||!$s(e))return;let a=document.activeElement;if(!Lt(a,e.current))return;let l=ot.getTreeNode(e).nodeToRestore,s=cr(document.body,{tabbable:!0});s.currentNode=a;let u=o.shiftKey?s.previousNode():s.nextNode();if((!document.body.contains(l)||l===document.body)&&(l=null,ot.getTreeNode(e).nodeToRestore=null),(!u||!Lt(u,e.current))&&l){s.currentNode=l;do u=o.shiftKey?s.previousNode():s.nextNode();while(Lt(u,e.current));o.preventDefault(),o.stopPropagation(),u?Jt(u,!0):VR(l)?Jt(l,!0):a.blur()}};return r||document.addEventListener("keydown",i,!0),()=>{r||document.removeEventListener("keydown",i,!0)}},[e,t,r]),pe(()=>{if(t)return ot.getTreeNode(e).nodeToRestore=n.current,()=>{let i=ot.getTreeNode(e).nodeToRestore;if(t&&i&&(Lt(document.activeElement,e.current)||document.activeElement===document.body&&NG(e))){let o=ot.clone();requestAnimationFrame(()=>{if(document.activeElement===document.body){let a=o.getTreeNode(e);for(;a;){if(a.nodeToRestore&&document.body.contains(a.nodeToRestore)){Jt(a.nodeToRestore);return}a=a.parent}for(a=o.getTreeNode(e);a;){if(a.scopeRef&&ot.getTreeNode(a.scopeRef)){kf(a.scopeRef.current,!0);return}a=a.parent}}})}}},[e,t])}function cr(e,t,r){let n=t!=null&&t.tabbable?RG:OG,i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(o){var a;return!(t==null||(a=t.from)===null||a===void 0)&&a.contains(o)?NodeFilter.FILTER_REJECT:o.matches(n)&&HR(o)&&(!r||Lt(o,r))&&(!(t!=null&&t.accept)||t.accept(o))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(i.currentNode=t.from),i}function FG(e,t={}){return{focusNext(r={}){let n=e.current;if(!n)return;let{from:i,tabbable:o=t.tabbable,wrap:a=t.wrap,accept:l=t.accept}=r,s=i||document.activeElement,u=cr(n,{tabbable:o,accept:l});n.contains(s)&&(u.currentNode=s);let c=u.nextNode();return!c&&a&&(u.currentNode=n,c=u.nextNode()),c&&Jt(c,!0),c},focusPrevious(r=t){let n=e.current;if(!n)return;let{from:i,tabbable:o=t.tabbable,wrap:a=t.wrap,accept:l=t.accept}=r,s=i||document.activeElement,u=cr(n,{tabbable:o,accept:l});if(n.contains(s))u.currentNode=s;else{let f=Nm(u);return f&&Jt(f,!0),f}let c=u.previousNode();return!c&&a&&(u.currentNode=n,c=Nm(u)),c&&Jt(c,!0),c},focusFirst(r=t){let n=e.current;if(!n)return;let{tabbable:i=t.tabbable,accept:o=t.accept}=r,l=cr(n,{tabbable:i,accept:o}).nextNode();return l&&Jt(l,!0),l},focusLast(r=t){let n=e.current;if(!n)return;let{tabbable:i=t.tabbable,accept:o=t.accept}=r,a=cr(n,{tabbable:i,accept:o}),l=Nm(a);return l&&Jt(l,!0),l}}}function Nm(e){let t,r;do r=e.lastChild(),r&&(t=r);while(r);return t}class H8{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let i=this.fastMap.get(r??null),o=new ey({scopeRef:t});i.addChild(o),o.parent=i,this.fastMap.set(t,o),n&&(o.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t),n=r.parent;for(let o of this.traverse())o!==r&&r.nodeToRestore&&o.nodeToRestore&&r.scopeRef.current&&Lt(o.nodeToRestore,r.scopeRef.current)&&(o.nodeToRestore=r.nodeToRestore);let i=r.children;n.removeChild(r),i.size>0&&i.forEach(o=>n.addChild(o)),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){let t=new H8;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent.scopeRef,r.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new ey({scopeRef:null}),this.fastMap.set(null,this.root)}}class ey{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let ot=new H8;function GR(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,i=$.useRef({isFocused:!1,isFocusVisible:t||Ao()}),[o,a]=$.useState(!1),[l,s]=$.useState(()=>i.current.isFocused&&i.current.isFocusVisible),u=$.useCallback(()=>s(i.current.isFocused&&i.current.isFocusVisible),[]),c=$.useCallback(p=>{i.current.isFocused=p,a(p),u()},[u]);SG(p=>{i.current.isFocusVisible=p,u()},[],{isTextInput:r});let{focusProps:f}=WR({isDisabled:n,onFocusChange:c}),{focusWithinProps:d}=Hu({isDisabled:!n,onFocusWithinChange:c});return{isFocused:o,isFocusVisible:l,focusProps:n?d:f}}function Hi(e){let{children:t,focusClass:r,focusRingClass:n}=e,{isFocused:i,isFocusVisible:o,focusProps:a}=GR(e),l=w.Children.only(t);return w.cloneElement(l,ee(l.props,{...a,className:Qp({[r||""]:i,[n||""]:o})}))}let qR=w.createContext(null);function BG(e){let t=$.useContext(qR)||{};Jp(t,e);let{ref:r,...n}=t;return n}function zG(e,t){let{children:r,...n}=e,i={...n,ref:t};return w.createElement(qR.Provider,{value:i},r)}let jG=w.forwardRef(zG);function V8(e,t){let{focusProps:r}=WR(e),{keyboardProps:n}=W8(e),i=ee(r,n),o=BG(t),a=e.isDisabled?{}:o,l=$.useRef(e.autoFocus);return $.useEffect(()=>{l.current&&t.current&&Kn(t.current),l.current=!1},[t]),{focusableProps:ee({...i,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},a)}}function UG(e,t){e=yr(e,"text");let{children:r,...n}=e,{styleProps:i}=Ie(n),o=dt(t);return w.createElement("span",{..._e(n),...i,ref:o},r)}const Tl=$.forwardRef(UG);function WG(e,t){e=yr(e,"heading");let{children:r,level:n=3,...i}=e,{styleProps:o}=Ie(i),a=dt(t),l=`h${n}`;return w.createElement(l,{..._e(i),...o,ref:a},r)}const oge=$.forwardRef(WG);function Vu(e,t){let{elementType:r="button",isDisabled:n,onPress:i,onPressStart:o,onPressEnd:a,onPressChange:l,preventFocusOnPress:s,allowFocusWhenDisabled:u,onClick:c,href:f,target:d,rel:p,type:m="button"}=e,b;r==="button"?b={type:m,disabled:n}:b={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:f,target:r==="a"?d:void 0,type:r==="input"?m:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?p:void 0};let{pressProps:v,isPressed:h}=Wu({onPressStart:o,onPressEnd:a,onPressChange:l,onPress:i,isDisabled:n,preventFocusOnPress:s,ref:t}),{focusableProps:g}=V8(e,t);u&&(g.tabIndex=n?-1:g.tabIndex);let y=ee(g,v,_e(e,{labelable:!0}));return{isPressed:h,buttonProps:ee(b,y,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:x=>{c&&(c(x),console.warn("onClick is deprecated, please use onPress"))}})}}const O7={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function KG(e={}){let{style:t,isFocusable:r}=e,[n,i]=$.useState(!1),{focusWithinProps:o}=Hu({isDisabled:!r,onFocusWithinChange:l=>i(l)}),a=$.useMemo(()=>n?t:t?{...O7,...t}:O7,[n]);return{visuallyHiddenProps:{...o,style:a}}}function HG(e){let{children:t,elementType:r="div",isFocusable:n,style:i,...o}=e,{visuallyHiddenProps:a}=KG(e);return w.createElement(r,ee(o,a),t)}function VG(e){return e&&e.__esModule?e.default:e}const R7={top:"top",bottom:"top",left:"left",right:"left"},Df={top:"bottom",bottom:"top",left:"right",right:"left"},GG={top:"left",left:"top"},ty={top:"height",left:"width"},qG={width:"totalWidth",height:"totalHeight"},Hc={};let oa=typeof document<"u"&&window.visualViewport;function YG(e){let t=0,r=0,n=0,i=0,o=0,a=0,l={};if(e.tagName==="BODY"){let c=document.documentElement;n=c.clientWidth,i=c.clientHeight;var s;t=(s=oa==null?void 0:oa.width)!==null&&s!==void 0?s:n;var u;r=(u=oa==null?void 0:oa.height)!==null&&u!==void 0?u:i,l.top=c.scrollTop||e.scrollTop,l.left=c.scrollLeft||e.scrollLeft}else({width:t,height:r,top:o,left:a}=qa(e)),l.top=e.scrollTop,l.left=e.scrollLeft,n=t,i=r;return{width:t,height:r,totalWidth:n,totalHeight:i,scroll:l,top:o,left:a}}function XG(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function _7(e,t,r,n,i){let o=n.scroll[e],a=n[ty[e]],l=t-i-o,s=t+i-o+r;return l<0?-l:s>a?Math.max(a-s,-l):0}function QG(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function k7(e){if(Hc[e])return Hc[e];let[t,r]=e.split(" "),n=R7[t]||"right",i=GG[n];R7[r]||(r="center");let o=ty[n],a=ty[i];return Hc[e]={placement:t,crossPlacement:r,axis:n,crossAxis:i,size:o,crossSize:a},Hc[e]}function Lm(e,t,r,n,i,o,a,l,s,u){let{placement:c,crossPlacement:f,axis:d,crossAxis:p,size:m,crossSize:b}=n,v={};v[p]=e[p],f==="center"?v[p]+=(e[b]-r[b])/2:f!==p&&(v[p]+=e[b]-r[b]),v[p]+=o;const h=e[p]-r[b]+s+u,g=e[p]+e[b]-s-u;if(v[p]=fu(v[p],h,g),c===d){const y=l?a[m]:t[qG[m]];v[Df[d]]=Math.floor(y-e[d]+i)}else v[d]=Math.floor(e[d]+e[m]+i);return v}function JG(e,t,r,n,i,o){return e.top!=null?Math.max(0,t.height+t.top+t.scroll.top-(r.top+e.top)-(i.top+i.bottom+o)):Math.max(0,n.top+r.top-(t.top+t.scroll.top)-(i.top+i.bottom+o))}function D7(e,t,r,n,i,o){let{placement:a,axis:l,size:s}=o;return a===l?Math.max(0,r[l]-e[l]-e.scroll[l]+t[l]-n[l]-n[Df[l]]-i):Math.max(0,e[s]+e[l]+e.scroll[l]-t[l]-r[l]-r[s]-n[l]-n[Df[l]]-i)}function ZG(e,t,r,n,i,o,a,l,s,u,c,f,d,p,m){let b=k7(e),{size:v,crossAxis:h,crossSize:g,placement:y,crossPlacement:x}=b,C=Lm(t,l,r,b,u,c,s,f,p,m),E=u,P=D7(l,s,t,i,o+u,b);if(a&&n[v]>P){let W=k7(`${Df[y]} ${x}`),N=Lm(t,l,r,W,u,c,s,f,p,m);D7(l,s,t,i,o+u,W)>P&&(b=W,C=N,E=u)}let S=_7(h,C[h],r[g],l,o);C[h]+=S;let I=JG(C,l,s,t,i,o);d&&d<I&&(I=d),r.height=Math.min(r.height,I),C=Lm(t,l,r,b,E,c,s,f,p,m),S=_7(h,C[h],r[g],l,o),C[h]+=S;let _={},T=t[h]+.5*t[g]-r[h];const k=p/2+m,A=r[g]-p/2-m,O=t[h]-r[h]+p/2,U=t[h]+t[g]-r[h]-p/2,G=fu(T,O,U);return _[h]=fu(G,k,A),{position:C,maxHeight:I,arrowOffsetLeft:_.left,arrowOffsetTop:_.top,placement:b.placement}}function eq(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:i,padding:o,shouldFlip:a,boundaryElement:l,offset:s,crossOffset:u,maxHeight:c,arrowSize:f=0,arrowBoundaryOffset:d=0}=e,p=n instanceof HTMLElement?tq(n):document.documentElement,m=p===document.documentElement;const b=window.getComputedStyle(p).position;let v=!!b&&b!=="static",h=m?qa(r):M7(r,p);if(!m){let{marginTop:P,marginLeft:S}=window.getComputedStyle(r);h.top+=parseInt(P,10)||0,h.left+=parseInt(S,10)||0}let g=qa(n),y=QG(n);g.width+=y.left+y.right,g.height+=y.top+y.bottom;let x=XG(i),C=YG(l),E=l.tagName==="BODY"?qa(p):M7(p,l);return ZG(t,h,g,x,y,o,a,C,E,s,u,v,c,f,d)}function qa(e){let{top:t,left:r,width:n,height:i}=e.getBoundingClientRect(),{scrollTop:o,scrollLeft:a,clientTop:l,clientLeft:s}=document.documentElement;return{top:t+o-l,left:r+a-s,width:n,height:i}}function M7(e,t){let r=window.getComputedStyle(e),n;if(r.position==="fixed"){let{top:i,left:o,width:a,height:l}=e.getBoundingClientRect();n={top:i,left:o,width:a,height:l}}else{n=qa(e);let i=qa(t),o=window.getComputedStyle(t);i.top+=(parseInt(o.borderTopWidth,10)||0)-t.scrollTop,i.left+=(parseInt(o.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=i.top,n.left-=i.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}function tq(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!N7(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!N7(t);)t=t.parentElement;return t||document.documentElement}function N7(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const YR=new WeakMap;function rq(e){let{triggerRef:t,isOpen:r,onClose:n}=e;$.useEffect(()=>{if(!r||n===null)return;let i=o=>{let a=o.target;if(!t.current||a instanceof Node&&!a.contains(t.current))return;let l=n||YR.get(t.current);l&&l()};return window.addEventListener("scroll",i,!0),()=>{window.removeEventListener("scroll",i,!0)}},[r,n,t])}let Er=typeof document<"u"&&window.visualViewport;function XR(e){let{direction:t}=br(),{arrowSize:r=0,targetRef:n,overlayRef:i,scrollRef:o=i,placement:a="bottom",containerPadding:l=12,shouldFlip:s=!0,boundaryElement:u=typeof document<"u"?document.body:null,offset:c=0,crossOffset:f=0,shouldUpdatePosition:d=!0,isOpen:p=!0,onClose:m,maxHeight:b,arrowBoundaryOffset:v=0}=e,[h,g]=$.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),y=[d,a,i.current,n.current,o.current,l,s,u,c,f,p,t,b,v,r],x=$.useCallback(()=>{if(d===!1||!p||!i.current||!n.current||!o.current||!u)return;let P=eq({placement:iq(a,t),overlayNode:i.current,targetNode:n.current,scrollNode:o.current,padding:l,shouldFlip:s,boundaryElement:u,offset:c,crossOffset:f,maxHeight:b,arrowSize:r,arrowBoundaryOffset:v});Object.keys(P.position).forEach(S=>i.current.style[S]=P.position[S]+"px"),i.current.style.maxHeight=P.maxHeight!=null?P.maxHeight+"px":void 0,g(P)},y);pe(x,y),nq(x),zu({ref:i,onResize:x});let C=$.useRef(!1);pe(()=>{let P,S=()=>{C.current=!0,clearTimeout(P),P=setTimeout(()=>{C.current=!1},500),x()};return Er==null||Er.addEventListener("resize",S),Er==null||Er.addEventListener("scroll",S),()=>{Er==null||Er.removeEventListener("resize",S),Er==null||Er.removeEventListener("scroll",S)}},[x]);let E=$.useCallback(()=>{C.current||m()},[m,C]);return rq({triggerRef:n,isOpen:p,onClose:m&&E}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...h.position,maxHeight:h.maxHeight}},placement:h.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:h.arrowOffsetLeft,top:h.arrowOffsetTop}},updatePosition:x}}function nq(e){pe(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function iq(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Rn=[];function QR(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:i,isDismissable:o=!1,isKeyboardDismissDisabled:a=!1,shouldCloseOnInteractOutside:l}=e;$.useEffect(()=>(i&&Rn.push(t),()=>{let m=Rn.indexOf(t);m>=0&&Rn.splice(m,1)}),[i,t]);let s=()=>{Rn[Rn.length-1]===t&&r&&r()},u=m=>{(!l||l(m.target))&&Rn[Rn.length-1]===t&&(m.stopPropagation(),m.preventDefault())},c=m=>{(!l||l(m.target))&&(Rn[Rn.length-1]===t&&(m.stopPropagation(),m.preventDefault()),s())},f=m=>{m.key==="Escape"&&!a&&(m.stopPropagation(),m.preventDefault(),s())};CG({ref:t,onInteractOutside:o?c:null,onInteractOutsideStart:u});let{focusWithinProps:d}=Hu({isDisabled:!n,onBlurWithin:m=>{m.relatedTarget&&kG(m.relatedTarget)||(!l||l(m.relatedTarget))&&r()}}),p=m=>{m.target===m.currentTarget&&m.preventDefault()};return{overlayProps:{onKeyDown:f,...d},underlayProps:{onPointerDown:p}}}function G8(e,t,r){let{type:n}=e,{isOpen:i}=t;$.useEffect(()=>{r&&r.current&&YR.set(r.current,t.close)});let o;n==="menu"?o=!0:n==="listbox"&&(o="listbox");let a=wt();return{triggerProps:{"aria-haspopup":o,"aria-expanded":i,"aria-controls":i?a:null,onPress:t.toggle},overlayProps:{id:a}}}const Fm=typeof document<"u"&&window.visualViewport,oq=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Vc=0,Bm;function JR(e={}){let{isDisabled:t}=e;pe(()=>{if(!t)return Vc++,Vc===1&&(Zp()?Bm=lq():Bm=aq()),()=>{Vc--,Vc===0&&Bm()}},[t])}function aq(){return pu(Ns(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Ns(document.documentElement,"overflow","hidden"))}function lq(){let e,t=0,r=f=>{e=Cf(f.target),!(e===document.documentElement&&e===document.body)&&(t=f.changedTouches[0].pageY)},n=f=>{if(!e||e===document.documentElement||e===document.body){f.preventDefault();return}let d=f.changedTouches[0].pageY,p=e.scrollTop,m=e.scrollHeight-e.clientHeight;m!==0&&((p<=0&&d>t||p>=m&&d<t)&&f.preventDefault(),t=d)},i=f=>{let d=f.target;F7(d)&&d!==document.activeElement&&(f.preventDefault(),d.style.transform="translateY(-2000px)",d.focus(),requestAnimationFrame(()=>{d.style.transform=""}))},o=f=>{let d=f.target;F7(d)&&(d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",Fm&&(Fm.height<window.innerHeight?requestAnimationFrame(()=>{L7(d)}):Fm.addEventListener("resize",()=>L7(d),{once:!0}))}))},a=()=>{window.scrollTo(0,0)},l=window.pageXOffset,s=window.pageYOffset,u=pu(Ns(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Ns(document.documentElement,"overflow","hidden"),Ns(document.body,"marginTop",`-${s}px`));window.scrollTo(0,0);let c=pu(ns(document,"touchstart",r,{passive:!1,capture:!0}),ns(document,"touchmove",n,{passive:!1,capture:!0}),ns(document,"touchend",i,{passive:!1,capture:!0}),ns(document,"focus",o,!0),ns(window,"scroll",a));return()=>{u(),c(),window.scrollTo(l,s)}}function Ns(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function ns(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function L7(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let r=Cf(e);if(r!==document.documentElement&&r!==document.body&&r!==e){let n=r.getBoundingClientRect().top,i=e.getBoundingClientRect().top;i>n+e.clientHeight&&(r.scrollTop+=i-n)}e=r.parentElement}}function F7(e){return e instanceof HTMLInputElement&&!oq.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const ry=w.createContext(null);function sq(e){let{children:t}=e,r=$.useContext(ry),[n,i]=$.useState(0),o=$.useMemo(()=>({parent:r,modalCount:n,addModal(){i(a=>a+1),r&&r.addModal()},removeModal(){i(a=>a-1),r&&r.removeModal()}}),[r,n]);return w.createElement(ry.Provider,{value:o},t)}function uq(){let e=$.useContext(ry);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:null}}}var ZR={},e_={};e_={dismiss:"تجاهل"};var t_={};t_={dismiss:"Отхвърляне"};var r_={};r_={dismiss:"Odstranit"};var n_={};n_={dismiss:"Luk"};var i_={};i_={dismiss:"Schließen"};var o_={};o_={dismiss:"Απόρριψη"};var a_={};a_={dismiss:"Dismiss"};var l_={};l_={dismiss:"Descartar"};var s_={};s_={dismiss:"Lõpeta"};var u_={};u_={dismiss:"Hylkää"};var c_={};c_={dismiss:"Rejeter"};var d_={};d_={dismiss:"התעלם"};var f_={};f_={dismiss:"Odbaci"};var p_={};p_={dismiss:"Elutasítás"};var v_={};v_={dismiss:"Ignora"};var m_={};m_={dismiss:"閉じる"};var h_={};h_={dismiss:"무시"};var g_={};g_={dismiss:"Atmesti"};var b_={};b_={dismiss:"Nerādīt"};var y_={};y_={dismiss:"Lukk"};var $_={};$_={dismiss:"Negeren"};var x_={};x_={dismiss:"Zignoruj"};var w_={};w_={dismiss:"Descartar"};var S_={};S_={dismiss:"Dispensar"};var E_={};E_={dismiss:"Revocare"};var C_={};C_={dismiss:"Пропустить"};var P_={};P_={dismiss:"Zrušiť"};var I_={};I_={dismiss:"Opusti"};var T_={};T_={dismiss:"Odbaci"};var A_={};A_={dismiss:"Avvisa"};var O_={};O_={dismiss:"Kapat"};var R_={};R_={dismiss:"Скасувати"};var __={};__={dismiss:"取消"};var k_={};k_={dismiss:"關閉"};ZR={"ar-AE":e_,"bg-BG":t_,"cs-CZ":r_,"da-DK":n_,"de-DE":i_,"el-GR":o_,"en-US":a_,"es-ES":l_,"et-EE":s_,"fi-FI":u_,"fr-FR":c_,"he-IL":d_,"hr-HR":f_,"hu-HU":p_,"it-IT":v_,"ja-JP":m_,"ko-KR":h_,"lt-LT":g_,"lv-LV":b_,"nb-NO":y_,"nl-NL":$_,"pl-PL":x_,"pt-BR":w_,"pt-PT":S_,"ro-RO":E_,"ru-RU":C_,"sk-SK":P_,"sl-SI":I_,"sr-SP":T_,"sv-SE":A_,"tr-TR":O_,"uk-UA":R_,"zh-CN":__,"zh-TW":k_};function ol(e){let{onDismiss:t,...r}=e,n=Ur(VG(ZR)),i=Ef(r,n.format("dismiss")),o=()=>{t&&t()};return w.createElement(HG,null,w.createElement("button",{...i,tabIndex:-1,onClick:o}))}let is=new WeakMap,Cr=[];function q8(e,t=document.body){let r=new Set(e),n=new Set,i=s=>{for(let d of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(d);let u=d=>{if(r.has(d)||n.has(d.parentElement)&&d.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let p of r)if(d.contains(p))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},c=document.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,{acceptNode:u}),f=u(s);if(f===NodeFilter.FILTER_ACCEPT&&o(s),f!==NodeFilter.FILTER_REJECT){let d=c.nextNode();for(;d!=null;)o(d),d=c.nextNode()}},o=s=>{var u;let c=(u=is.get(s))!==null&&u!==void 0?u:0;s.getAttribute("aria-hidden")==="true"&&c===0||(c===0&&s.setAttribute("aria-hidden","true"),n.add(s),is.set(s,c+1))};Cr.length&&Cr[Cr.length-1].disconnect(),i(t);let a=new MutationObserver(s=>{for(let u of s)if(!(u.type!=="childList"||u.addedNodes.length===0)&&![...r,...n].some(c=>c.contains(u.target))){for(let c of u.removedNodes)c instanceof Element&&(r.delete(c),n.delete(c));for(let c of u.addedNodes)(c instanceof HTMLElement||c instanceof SVGElement)&&(c.dataset.liveAnnouncer==="true"||c.dataset.reactAriaTopLayer==="true")?r.add(c):c instanceof Element&&i(c)}});a.observe(t,{childList:!0,subtree:!0});let l={observe(){a.observe(t,{childList:!0,subtree:!0})},disconnect(){a.disconnect()}};return Cr.push(l),()=>{a.disconnect();for(let s of n){let u=is.get(s);u===1?(s.removeAttribute("aria-hidden"),is.delete(s)):is.set(s,u-1)}l===Cr[Cr.length-1]?(Cr.pop(),Cr.length&&Cr[Cr.length-1].observe()):Cr.splice(Cr.indexOf(l),1)}}function cq(e,t){let{triggerRef:r,popoverRef:n,isNonModal:i,isKeyboardDismissDisabled:o,...a}=e,{overlayProps:l,underlayProps:s}=QR({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!i,isKeyboardDismissDisabled:o},n),{overlayProps:u,arrowProps:c,placement:f}=XR({...a,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:null});return JR({isDisabled:i}),pe(()=>{if(t.isOpen&&!i&&n.current)return q8([n.current])},[i,t.isOpen,n]),{popoverProps:ee(l,u),arrowProps:c,underlayProps:s,placement:f}}const ny=w.createContext(null);function dq(e){let t=jo(),{portalContainer:r=t?null:document.body,isExiting:n}=e,[i,o]=$.useState(!1),a=$.useMemo(()=>({contain:i,setContain:o}),[i,o]);if(!r)return null;let l;return e.disableFocusManagement?l=w.createElement(ny.Provider,{value:a},e.children):l=w.createElement(ny.Provider,{value:a},w.createElement(Il,{restoreFocus:!0,contain:i&&!n},e.children)),Ta.createPortal(l,r)}function D_(){let e=$.useContext(ny),t=e==null?void 0:e.setContain;pe(()=>{t==null||t(!0)},[t])}function M_(e,t,r){let{overlayProps:n,underlayProps:i}=QR({...e,isOpen:t.isOpen,onClose:t.close},r);return JR({isDisabled:!t.isOpen}),D_(),$.useEffect(()=>{if(t.isOpen)return q8([r.current])},[t.isOpen,r]),{modalProps:ee(n),underlayProps:i}}function B7(e){return e&&e.__esModule?e.default:e}function rv(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}const Y8=w.createContext(null);Y8.displayName="ProviderContext";var N_={};rv(N_,"spectrum",()=>iy,e=>iy=e);var iy;iy="spectrum_b37d53";var nv={};rv(nv,"spectrum",()=>oy,e=>oy=e);rv(nv,"spectrum-Body",()=>ay,e=>ay=e);rv(nv,"spectrum-Body--italic",()=>ly,e=>ly=e);var oy,ay,ly;oy="spectrum_2a241c";ay="spectrum-Body_2a241c";ly="spectrum-Body--italic_2a241c";function fq(e,t){let r=Gb("(prefers-color-scheme: dark)"),n=Gb("(prefers-color-scheme: light)");return e.dark&&r?"dark":e.light&&n?"light":e.dark&&t==="dark"?"dark":e.light&&t==="light"||!e.dark||e.light?"light":"dark"}function pq(e){return Gb("(any-pointer: fine)")&&e.medium?"medium":e.large?"large":"medium"}var L_={};L_=JSON.parse('{"name":"@react-spectrum/provider","version":"3.8.0","description":"Spectrum UI components in React","license":"Apache-2.0","main":"dist/main.js","module":"dist/module.js","exports":{"types":"./dist/types.d.ts","import":"./dist/import.mjs","require":"./dist/main.js"},"types":"dist/types.d.ts","source":"src/index.ts","files":["dist","src"],"sideEffects":["*.css"],"targets":{"main":{"includeNodeModules":["@adobe/spectrum-css-temp"]},"module":{"includeNodeModules":["@adobe/spectrum-css-temp"]}},"repository":{"type":"git","url":"https://github.com/adobe/react-spectrum"},"dependencies":{"@react-aria/i18n":"^3.8.0","@react-aria/overlays":"^3.15.0","@react-aria/utils":"^3.18.0","@react-spectrum/utils":"^3.10.0","@react-types/provider":"^3.6.2","@react-types/shared":"^3.18.1","@swc/helpers":"^0.5.0","clsx":"^1.1.1"},"devDependencies":{"@adobe/spectrum-css-temp":"3.0.0-alpha.1"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"},"publishConfig":{"access":"public"}}');const vq={S:640,M:768,L:1024,XL:1280,XXL:1536};function mq(e,t){let r=Kr(),n=r&&r.colorScheme,i=r&&r.breakpoints,{theme:o=r&&r.theme,defaultColorScheme:a}=e;if(!o)throw new Error("theme not found, the parent provider must have a theme provided");let l=fq(o,a),s=pq(o),{locale:u}=br(),c=!!o[n],{colorScheme:f=c?n:l,scale:d=r?r.scale:s,locale:p=r?u:null,breakpoints:m=r?i:vq,children:b,isQuiet:v,isEmphasized:h,isDisabled:g,isRequired:y,isReadOnly:x,validationState:C,...E}=e,P={version:L_.version,theme:o,breakpoints:m,colorScheme:f,scale:d,isQuiet:v,isEmphasized:h,isDisabled:g,isRequired:y,isReadOnly:x,validationState:C},S=JV(m),I={};Object.entries(P).forEach(([O,U])=>U!==void 0&&(I[O]=U));let _=Object.assign({},r,I),T=b,k=_e(E),{styleProps:A}=Ie(E,void 0,{matchedBreakpoints:S});return(!r||e.locale||o!==r.theme||f!==r.colorScheme||d!==r.scale||Object.keys(k).length>0||E.UNSAFE_className||Object.keys(A.style).length>0)&&(T=w.createElement(hq,{...e,UNSAFE_style:{isolation:r?void 0:"isolate",...A.style},ref:t},T)),w.createElement(Y8.Provider,{value:_},w.createElement(qV,{locale:p},w.createElement(QV,{matchedBreakpoints:S},w.createElement(sq,null,T))))}let iv=w.forwardRef(mq);const hq=w.forwardRef(function(t,r){let{children:n,...i}=t,{locale:o,direction:a}=br(),{theme:l,colorScheme:s,scale:u}=Kr(),{modalProviderProps:c}=uq(),{styleProps:f}=Ie(i),d=dt(r),p=Object.keys(l[s])[0],m=Object.keys(l[u])[0],b=Qp(f.className,B7(N_).spectrum,B7(nv).spectrum,Object.values(l[s]),Object.values(l[u]),l.global?Object.values(l.global):null,{"react-spectrum-provider":zc,spectrum:zc,[p]:zc,[m]:zc});var v,h;let g={...f.style,colorScheme:(h=(v=t.colorScheme)!==null&&v!==void 0?v:s)!==null&&h!==void 0?h:Object.keys(l).filter(x=>x==="light"||x==="dark").join(" ")},y=$.useRef(!1);return $.useEffect(()=>{if(a&&d.current){let x=d.current.parentElement.closest("[dir]"),C=x&&x.getAttribute("dir");C&&C!==a&&!y.current&&(console.warn(`Language directions cannot be nested. ${a} inside ${C}.`),y.current=!0)}},[a,d,y]),w.createElement("div",{..._e(i),...f,...c,className:b,style:g,lang:o,dir:a,ref:d},n)});function Kr(){return $.useContext(Y8)}function Xn(e){let t=Kr();return t?Object.assign({},{isQuiet:t.isQuiet,isEmphasized:t.isEmphasized,isDisabled:t.isDisabled,isRequired:t.isRequired,isReadOnly:t.isReadOnly,validationState:t.validationState},e):e}var F_={};Object.defineProperty(F_,"__esModule",{value:!0});var gq=F_.CornerTriangle=B_,zm=bq($);function bq(e){return e&&e.__esModule?e:{default:e}}function sy(){return sy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sy.apply(this,arguments)}function yq(e,t){if(e==null)return{};var r=$q(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function $q(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function B_(e){var t=e.scale,r=t===void 0?"M":t,n=yq(e,["scale"]);return zm.default.createElement("svg",sy({},n,n),r==="L"&&zm.default.createElement("path",{d:"M5.74.01a.25.25 0 0 0-.177.073l-5.48 5.48a.25.25 0 0 0 .177.427h5.48a.25.25 0 0 0 .25-.25V.26a.25.25 0 0 0-.25-.25z"}),r==="M"&&zm.default.createElement("path",{d:"M4.74.01a.25.25 0 0 0-.177.073l-4.48 4.48a.25.25 0 0 0 .177.427h4.48a.25.25 0 0 0 .25-.25V.26a.25.25 0 0 0-.25-.25z"}))}B_.displayName="CornerTriangle";function z_(e){return e&&e.__esModule?e.default:e}function ne(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var te={};ne(te,"spectrum-Icon",()=>uy,e=>uy=e);ne(te,"spectrum-UIIcon",()=>cy,e=>cy=e);ne(te,"spectrum-Icon--sizeXXS",()=>dy,e=>dy=e);ne(te,"spectrum-Icon--sizeXS",()=>fy,e=>fy=e);ne(te,"spectrum-Icon--sizeS",()=>py,e=>py=e);ne(te,"spectrum-Icon--sizeM",()=>vy,e=>vy=e);ne(te,"spectrum-Icon--sizeL",()=>my,e=>my=e);ne(te,"spectrum-Icon--sizeXL",()=>hy,e=>hy=e);ne(te,"spectrum-Icon--sizeXXL",()=>gy,e=>gy=e);ne(te,"spectrum--medium",()=>by,e=>by=e);ne(te,"spectrum-UIIcon--large",()=>yy,e=>yy=e);ne(te,"spectrum-UIIcon--medium",()=>$y,e=>$y=e);ne(te,"spectrum--large",()=>xy,e=>xy=e);ne(te,"spectrum-UIIcon-AlertMedium",()=>wy,e=>wy=e);ne(te,"spectrum-UIIcon-AlertSmall",()=>Sy,e=>Sy=e);ne(te,"spectrum-UIIcon-ArrowDownSmall",()=>Ey,e=>Ey=e);ne(te,"spectrum-UIIcon-ArrowLeftMedium",()=>Cy,e=>Cy=e);ne(te,"spectrum-UIIcon-Asterisk",()=>Py,e=>Py=e);ne(te,"spectrum-UIIcon-CheckmarkMedium",()=>Iy,e=>Iy=e);ne(te,"spectrum-UIIcon-CheckmarkSmall",()=>Ty,e=>Ty=e);ne(te,"spectrum-UIIcon-ChevronDownMedium",()=>Ay,e=>Ay=e);ne(te,"spectrum-UIIcon-ChevronDownSmall",()=>Oy,e=>Oy=e);ne(te,"spectrum-UIIcon-ChevronLeftLarge",()=>Ry,e=>Ry=e);ne(te,"spectrum-UIIcon-ChevronLeftMedium",()=>_y,e=>_y=e);ne(te,"spectrum-UIIcon-ChevronRightLarge",()=>ky,e=>ky=e);ne(te,"spectrum-UIIcon-ChevronRightMedium",()=>Dy,e=>Dy=e);ne(te,"spectrum-UIIcon-ChevronRightSmall",()=>My,e=>My=e);ne(te,"spectrum-UIIcon-ChevronUpSmall",()=>Ny,e=>Ny=e);ne(te,"spectrum-UIIcon-CornerTriangle",()=>Ly,e=>Ly=e);ne(te,"spectrum-UIIcon-CrossLarge",()=>Fy,e=>Fy=e);ne(te,"spectrum-UIIcon-CrossMedium",()=>By,e=>By=e);ne(te,"spectrum-UIIcon-CrossSmall",()=>zy,e=>zy=e);ne(te,"spectrum-UIIcon-DashSmall",()=>jy,e=>jy=e);ne(te,"spectrum-UIIcon-DoubleGripper",()=>Uy,e=>Uy=e);ne(te,"spectrum-UIIcon-FolderBreadcrumb",()=>Wy,e=>Wy=e);ne(te,"spectrum-UIIcon-HelpMedium",()=>Ky,e=>Ky=e);ne(te,"spectrum-UIIcon-HelpSmall",()=>Hy,e=>Hy=e);ne(te,"spectrum-UIIcon-InfoMedium",()=>Vy,e=>Vy=e);ne(te,"spectrum-UIIcon-InfoSmall",()=>Gy,e=>Gy=e);ne(te,"spectrum-UIIcon-ListGripper",()=>qy,e=>qy=e);ne(te,"spectrum-UIIcon-Magnifier",()=>Yy,e=>Yy=e);ne(te,"spectrum-UIIcon-SkipLeft",()=>Xy,e=>Xy=e);ne(te,"spectrum-UIIcon-SkipRight",()=>Qy,e=>Qy=e);ne(te,"spectrum-UIIcon-Star",()=>Jy,e=>Jy=e);ne(te,"spectrum-UIIcon-StarOutline",()=>Zy,e=>Zy=e);ne(te,"spectrum-UIIcon-SuccessMedium",()=>e0,e=>e0=e);ne(te,"spectrum-UIIcon-SuccessSmall",()=>t0,e=>t0=e);ne(te,"spectrum-UIIcon-TripleGripper",()=>r0,e=>r0=e);var uy,cy,dy,fy,py,vy,my,hy,gy,by,yy,$y,xy,wy,Sy,Ey,Cy,Py,Iy,Ty,Ay,Oy,Ry,_y,ky,Dy,My,Ny,Ly,Fy,By,zy,jy,Uy,Wy,Ky,Hy,Vy,Gy,qy,Yy,Xy,Qy,Jy,Zy,e0,t0,r0;uy="spectrum-Icon_368b34";cy="spectrum-UIIcon_368b34";dy="spectrum-Icon--sizeXXS_368b34";fy="spectrum-Icon--sizeXS_368b34";py="spectrum-Icon--sizeS_368b34";vy="spectrum-Icon--sizeM_368b34";my="spectrum-Icon--sizeL_368b34";hy="spectrum-Icon--sizeXL_368b34";gy="spectrum-Icon--sizeXXL_368b34";by="spectrum--medium_368b34";yy="spectrum-UIIcon--large_368b34";$y="spectrum-UIIcon--medium_368b34";xy="spectrum--large_368b34";wy="spectrum-UIIcon-AlertMedium_368b34";Sy="spectrum-UIIcon-AlertSmall_368b34";Ey="spectrum-UIIcon-ArrowDownSmall_368b34";Cy="spectrum-UIIcon-ArrowLeftMedium_368b34";Py="spectrum-UIIcon-Asterisk_368b34";Iy="spectrum-UIIcon-CheckmarkMedium_368b34";Ty="spectrum-UIIcon-CheckmarkSmall_368b34";Ay="spectrum-UIIcon-ChevronDownMedium_368b34";Oy="spectrum-UIIcon-ChevronDownSmall_368b34";Ry="spectrum-UIIcon-ChevronLeftLarge_368b34";_y="spectrum-UIIcon-ChevronLeftMedium_368b34";ky="spectrum-UIIcon-ChevronRightLarge_368b34";Dy="spectrum-UIIcon-ChevronRightMedium_368b34";My="spectrum-UIIcon-ChevronRightSmall_368b34";Ny="spectrum-UIIcon-ChevronUpSmall_368b34";Ly="spectrum-UIIcon-CornerTriangle_368b34";Fy="spectrum-UIIcon-CrossLarge_368b34";By="spectrum-UIIcon-CrossMedium_368b34";zy="spectrum-UIIcon-CrossSmall_368b34";jy="spectrum-UIIcon-DashSmall_368b34";Uy="spectrum-UIIcon-DoubleGripper_368b34";Wy="spectrum-UIIcon-FolderBreadcrumb_368b34";Ky="spectrum-UIIcon-HelpMedium_368b34";Hy="spectrum-UIIcon-HelpSmall_368b34";Vy="spectrum-UIIcon-InfoMedium_368b34";Gy="spectrum-UIIcon-InfoSmall_368b34";qy="spectrum-UIIcon-ListGripper_368b34";Yy="spectrum-UIIcon-Magnifier_368b34";Xy="spectrum-UIIcon-SkipLeft_368b34";Qy="spectrum-UIIcon-SkipRight_368b34";Jy="spectrum-UIIcon-Star_368b34";Zy="spectrum-UIIcon-StarOutline_368b34";e0="spectrum-UIIcon-SuccessMedium_368b34";t0="spectrum-UIIcon-SuccessSmall_368b34";r0="spectrum-UIIcon-TripleGripper_368b34";function xq(e){return`var(--spectrum-semantic-${e}-color-icon)`}const wq={...ev,color:["color",xq]};function j_(e){e=yr(e,"icon");let{children:t,size:r,"aria-label":n,"aria-hidden":i,...o}=e,{styleProps:a}=Ie(o,wq),l=Kr(),s="M";l!==null&&(s=l.scale==="large"?"L":"M"),i||(i=void 0);let u=r||s;return w.cloneElement(t,{..._e(o),...a,focusable:"false","aria-label":n,"aria-hidden":n?i||void 0:!0,role:"img",className:R(z_(te),t.props.className,"spectrum-Icon",`spectrum-Icon--size${u}`,a.className)})}function Sn(e){e=yr(e,"icon");let{children:t,"aria-label":r,"aria-hidden":n,...i}=e,{styleProps:o}=Ie(i),a=Kr(),l="M";return a!==null&&(l=a.scale==="large"?"L":"M"),n||(n=void 0),w.cloneElement(t,{..._e(i),...o,scale:l,focusable:"false","aria-label":r,"aria-hidden":r?n||void 0:!0,role:"img",className:R(z_(te),t.props.className,"spectrum-Icon",{[`spectrum-UIIcon-${t.type.displayName}`]:t.type.displayName},o.className)})}function Sq(e){return w.createElement(Sn,e,w.createElement(gq,null))}var U_={};Object.defineProperty(U_,"__esModule",{value:!0});var Eq=U_.CrossSmall=W_,jm=Cq($);function Cq(e){return e&&e.__esModule?e:{default:e}}function n0(){return n0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n0.apply(this,arguments)}function Pq(e,t){if(e==null)return{};var r=Iq(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Iq(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function W_(e){var t=e.scale,r=t===void 0?"M":t,n=Pq(e,["scale"]);return jm.default.createElement("svg",n0({},n,n),r==="L"&&jm.default.createElement("path",{d:"M9.317 8.433L5.884 5l3.433-3.433a.625.625 0 1 0-.884-.884L5 4.116 1.567.683a.625.625 0 1 0-.884.884C.83 1.713 2.77 3.657 4.116 5L.683 8.433a.625.625 0 1 0 .884.884L5 5.884l3.433 3.433a.625.625 0 0 0 .884-.884z"}),r==="M"&&jm.default.createElement("path",{d:"M7.317 6.433L4.884 4l2.433-2.433a.625.625 0 1 0-.884-.884L4 3.116 1.567.683a.625.625 0 1 0-.884.884L3.116 4 .683 6.433a.625.625 0 1 0 .884.884L4 4.884l2.433 2.433a.625.625 0 0 0 .884-.884z"}))}W_.displayName="CrossSmall";function Tq(e){return w.createElement(Sn,e,w.createElement(Eq,null))}function _t(e){return e&&e.__esModule?e.default:e}function Oe(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var ie={};Oe(ie,"spectrum-Button",()=>i0,e=>i0=e);Oe(ie,"spectrum-ActionButton",()=>o0,e=>o0=e);Oe(ie,"spectrum-LogicButton",()=>a0,e=>a0=e);Oe(ie,"spectrum-FieldButton",()=>l0,e=>l0=e);Oe(ie,"spectrum-ClearButton",()=>s0,e=>s0=e);Oe(ie,"focus-ring",()=>u0,e=>u0=e);Oe(ie,"spectrum-FieldButton--quiet",()=>c0,e=>c0=e);Oe(ie,"spectrum-Icon",()=>d0,e=>d0=e);Oe(ie,"is-hovered",()=>f0,e=>f0=e);Oe(ie,"spectrum-Button-label",()=>p0,e=>p0=e);Oe(ie,"spectrum-Button--iconOnly",()=>v0,e=>v0=e);Oe(ie,"spectrum-ActionButton-label",()=>m0,e=>m0=e);Oe(ie,"spectrum-ActionButton-hold",()=>h0,e=>h0=e);Oe(ie,"spectrum-ActionButton--quiet",()=>g0,e=>g0=e);Oe(ie,"is-disabled",()=>b0,e=>b0=e);Oe(ie,"is-open",()=>y0,e=>y0=e);Oe(ie,"spectrum-ClearButton--small",()=>$0,e=>$0=e);Oe(ie,"is-active",()=>x0,e=>x0=e);Oe(ie,"spectrum-ClearButton--overBackground",()=>w0,e=>w0=e);Oe(ie,"is-selected",()=>S0,e=>S0=e);Oe(ie,"spectrum-ActionButton--emphasized",()=>E0,e=>E0=e);Oe(ie,"spectrum-ActionButton--staticWhite",()=>C0,e=>C0=e);Oe(ie,"spectrum-ActionButton--staticBlack",()=>P0,e=>P0=e);Oe(ie,"spectrum-ActionButton--staticColor",()=>I0,e=>I0=e);Oe(ie,"spectrum-LogicButton--and",()=>T0,e=>T0=e);Oe(ie,"spectrum-LogicButton--or",()=>A0,e=>A0=e);Oe(ie,"is-focused",()=>O0,e=>O0=e);Oe(ie,"is-placeholder",()=>R0,e=>R0=e);Oe(ie,"spectrum-FieldButton--invalid",()=>_0,e=>_0=e);Oe(ie,"spectrum-Button--overBackground",()=>k0,e=>k0=e);var i0,o0,a0,l0,s0,u0,c0,d0,f0,p0,v0,m0,h0,g0,b0,y0,$0,x0,w0,S0,E0,C0,P0,I0,T0,A0,O0,R0,_0,k0;i0="spectrum-Button_e2d99e";o0="spectrum-ActionButton_e2d99e";a0="spectrum-LogicButton_e2d99e";l0="spectrum-FieldButton_e2d99e";s0="spectrum-ClearButton_e2d99e";u0="focus-ring_e2d99e";c0="spectrum-FieldButton--quiet_e2d99e";d0="spectrum-Icon_e2d99e";f0="is-hovered_e2d99e";p0="spectrum-Button-label_e2d99e";v0="spectrum-Button--iconOnly_e2d99e";m0="spectrum-ActionButton-label_e2d99e";h0="spectrum-ActionButton-hold_e2d99e";g0="spectrum-ActionButton--quiet_e2d99e";b0="is-disabled_e2d99e";y0="is-open_e2d99e";$0="spectrum-ClearButton--small_e2d99e";x0="is-active_e2d99e";w0="spectrum-ClearButton--overBackground_e2d99e";S0="is-selected_e2d99e";E0="spectrum-ActionButton--emphasized_e2d99e";C0="spectrum-ActionButton--staticWhite_e2d99e";P0="spectrum-ActionButton--staticBlack_e2d99e";I0="spectrum-ActionButton--staticColor_e2d99e";T0="spectrum-LogicButton--and_e2d99e";A0="spectrum-LogicButton--or_e2d99e";O0="is-focused_e2d99e";R0="is-placeholder_e2d99e";_0="spectrum-FieldButton--invalid_e2d99e";k0="spectrum-Button--overBackground_e2d99e";function Aq(e,t){e=Xn(e),e=yr(e,"button");let{elementType:r="button",children:n,variant:i,style:o=i==="accent"||i==="cta"?"fill":"outline",staticColor:a,isDisabled:l,autoFocus:s,...u}=e,c=Pl(t),{buttonProps:f,isPressed:d}=Vu(e,c),{hoverProps:p,isHovered:m}=nr({isDisabled:l}),{styleProps:b}=Ie(u),v=Oa(`.${_t(ie)["spectrum-Button-label"]}`,c),h=Oa(`.${_t(ie)["spectrum-Icon"]}`,c);return i==="cta"?i="accent":i==="overBackground"&&(i="primary",a="white"),w.createElement(Hi,{focusRingClass:R(_t(ie),"focus-ring"),autoFocus:s},w.createElement(r,{...b,...ee(f,p),ref:c,"data-variant":i,"data-style":o,"data-static-color":a||void 0,className:R(_t(ie),"spectrum-Button",{"spectrum-Button--iconOnly":h&&!v,"is-disabled":l,"is-active":d,"is-hovered":m},b.className)},w.createElement(Wr,{slots:{icon:{size:"S",UNSAFE_className:R(_t(ie),"spectrum-Icon")},text:{UNSAFE_className:R(_t(ie),"spectrum-Button-label")}}},typeof n=="string"?w.createElement(Tl,null,n):n)))}let age=w.forwardRef(Aq);function Oq(e,t){e=Xn(e),e=yr(e,"actionButton");let{isQuiet:r,isDisabled:n,staticColor:i,children:o,autoFocus:a,holdAffordance:l,...s}=e,u=Pl(t),{buttonProps:c,isPressed:f}=Vu(e,u),{hoverProps:d,isHovered:p}=nr({isDisabled:n}),{styleProps:m}=Ie(s),b=w.Children.toArray(e.children).every(v=>!w.isValidElement(v));return w.createElement(Hi,{focusRingClass:R(_t(ie),"focus-ring"),autoFocus:a},w.createElement("button",{...m,...ee(c,d),ref:u,className:R(_t(ie),"spectrum-ActionButton",{"spectrum-ActionButton--quiet":r,"spectrum-ActionButton--staticColor":!!i,"spectrum-ActionButton--staticWhite":i==="white","spectrum-ActionButton--staticBlack":i==="black","is-active":f,"is-disabled":n,"is-hovered":p},m.className)},l&&w.createElement(Sq,{UNSAFE_className:R(_t(ie),"spectrum-ActionButton-hold")}),w.createElement(Wr,{slots:{icon:{size:"S",UNSAFE_className:R(_t(ie),"spectrum-Icon")},text:{UNSAFE_className:R(_t(ie),"spectrum-ActionButton-label")}}},typeof o=="string"||b?w.createElement(Tl,null,o):o)))}let ov=w.forwardRef(Oq);function Rq(e,t){e=yr(e,"button");let{isQuiet:r,isDisabled:n,validationState:i,children:o,autoFocus:a,isActive:l,focusRingClass:s,...u}=e,c=Pl(t),{buttonProps:f,isPressed:d}=Vu(e,c),{hoverProps:p,isHovered:m}=nr({isDisabled:n}),{styleProps:b}=Ie(u);return w.createElement(Hi,{focusRingClass:R(_t(ie),"focus-ring",s),autoFocus:a},w.createElement("button",{...ee(f,p),ref:c,className:R(_t(ie),"spectrum-FieldButton",{"spectrum-FieldButton--quiet":r,"is-active":l||d,"is-disabled":n,"spectrum-FieldButton--invalid":i==="invalid","is-hovered":m},b.className)},w.createElement(Wr,{slots:{icon:{size:"S",UNSAFE_className:R(_t(ie),"spectrum-Icon")}}},o)))}let _q=w.forwardRef(Rq);function kq(e,t){let{children:r=w.createElement(Tq,{UNSAFE_className:_t(ie)["spectrum-Icon"]}),focusClassName:n,variant:i,autoFocus:o,isDisabled:a,preventFocus:l,elementType:s=l?"div":"button",...u}=e,c=Pl(t),{buttonProps:f,isPressed:d}=Vu({...e,elementType:s},c),{hoverProps:p,isHovered:m}=nr({isDisabled:a}),{styleProps:b}=Ie(u);l&&delete f.tabIndex;let v=s;return w.createElement(Hi,{focusRingClass:R(_t(ie),"focus-ring",n),autoFocus:o},w.createElement(v,{...b,...ee(f,p),ref:c,className:R(_t(ie),"spectrum-ClearButton",{[`spectrum-ClearButton--${i}`]:i,"is-disabled":a,"is-active":d,"is-hovered":m},b.className)},r))}let Dq=w.forwardRef(kq);var K_={};Object.defineProperty(K_,"__esModule",{value:!0});var Mq=K_.ChevronDownMedium=H_,Um=Nq($);function Nq(e){return e&&e.__esModule?e:{default:e}}function D0(){return D0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},D0.apply(this,arguments)}function Lq(e,t){if(e==null)return{};var r=Fq(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Fq(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function H_(e){var t=e.scale,r=t===void 0?"M":t,n=Lq(e,["scale"]);return Um.default.createElement("svg",D0({},n,n),r==="L"&&Um.default.createElement("path",{d:"M11.99 1.51a1 1 0 0 0-1.707-.707L6 5.086 1.717.803A1 1 0 1 0 .303 2.217l4.99 4.99a1 1 0 0 0 1.414 0l4.99-4.99a.997.997 0 0 0 .293-.707z"}),r==="M"&&Um.default.createElement("path",{d:"M9.99 1.01A1 1 0 0 0 8.283.303L5 3.586 1.717.303A1 1 0 1 0 .303 1.717l3.99 3.98a1 1 0 0 0 1.414 0l3.99-3.98a.997.997 0 0 0 .293-.707z"}))}H_.displayName="ChevronDownMedium";function X8(e){return w.createElement(Sn,e,w.createElement(Mq,null))}function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Q.apply(this,arguments)}function al(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function M0(e,t){return M0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},M0(e,t)}function Gu(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,M0(e,t)}var V_={exports:{}},Bq="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",zq=Bq,jq=zq;function G_(){}function q_(){}q_.resetWarningCache=G_;var Uq=function(){function e(n,i,o,a,l,s){if(s!==jq){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:q_,resetWarningCache:G_};return r.PropTypes=r,r};V_.exports=Uq();var Wq=V_.exports;const me=rr(Wq);function Kq(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function Hq(e,t){e.classList?e.classList.add(t):Kq(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function z7(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Vq(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=z7(e.className,t):e.setAttribute("class",z7(e.className&&e.className.baseVal||"",t))}const j7={disabled:!1},Y_=w.createContext(null);var X_=function(t){return t.scrollTop},xs="unmounted",io="exited",oo="entering",ha="entered",N0="exiting",Qn=function(e){Gu(t,e);function t(n,i){var o;o=e.call(this,n,i)||this;var a=i,l=a&&!a.isMounting?n.enter:n.appear,s;return o.appearStatus=null,n.in?l?(s=io,o.appearStatus=oo):s=ha:n.unmountOnExit||n.mountOnEnter?s=xs:s=io,o.state={status:s},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===xs?{status:io}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==oo&&a!==ha&&(o=oo):(a===oo||a===ha)&&(o=N0)}this.updateStatus(!1,o)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,o,a,l;return o=a=l=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,l=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:l}},r.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===oo){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Ta.findDOMNode(this);a&&X_(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===io&&this.setState({status:xs})},r.performEnter=function(i){var o=this,a=this.props.enter,l=this.context?this.context.isMounting:i,s=this.props.nodeRef?[l]:[Ta.findDOMNode(this),l],u=s[0],c=s[1],f=this.getTimeouts(),d=l?f.appear:f.enter;if(!i&&!a||j7.disabled){this.safeSetState({status:ha},function(){o.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:oo},function(){o.props.onEntering(u,c),o.onTransitionEnd(d,function(){o.safeSetState({status:ha},function(){o.props.onEntered(u,c)})})})},r.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),l=this.props.nodeRef?void 0:Ta.findDOMNode(this);if(!o||j7.disabled){this.safeSetState({status:io},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:N0},function(){i.props.onExiting(l),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:io},function(){i.props.onExited(l)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},r.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(l){a&&(a=!1,o.nextCallback=null,i(l))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:Ta.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!a||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=s[0],c=s[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===xs)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var l=al(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return w.createElement(Y_.Provider,{value:null},typeof a=="function"?a(i,l):w.cloneElement(w.Children.only(a),l))},t}(w.Component);Qn.contextType=Y_;Qn.propTypes={};function aa(){}Qn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:aa,onEntering:aa,onEntered:aa,onExit:aa,onExiting:aa,onExited:aa};Qn.UNMOUNTED=xs;Qn.EXITED=io;Qn.ENTERING=oo;Qn.ENTERED=ha;Qn.EXITING=N0;const Q_=Qn;var Gq=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return Hq(t,n)})},Wm=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return Vq(t,n)})},Q8=function(e){Gu(t,e);function t(){for(var n,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=e.call.apply(e,[this].concat(o))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(l,s){var u=n.resolveArguments(l,s),c=u[0],f=u[1];n.removeClasses(c,"exit"),n.addClass(c,f?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(l,s)},n.onEntering=function(l,s){var u=n.resolveArguments(l,s),c=u[0],f=u[1],d=f?"appear":"enter";n.addClass(c,d,"active"),n.props.onEntering&&n.props.onEntering(l,s)},n.onEntered=function(l,s){var u=n.resolveArguments(l,s),c=u[0],f=u[1],d=f?"appear":"enter";n.removeClasses(c,d),n.addClass(c,d,"done"),n.props.onEntered&&n.props.onEntered(l,s)},n.onExit=function(l){var s=n.resolveArguments(l),u=s[0];n.removeClasses(u,"appear"),n.removeClasses(u,"enter"),n.addClass(u,"exit","base"),n.props.onExit&&n.props.onExit(l)},n.onExiting=function(l){var s=n.resolveArguments(l),u=s[0];n.addClass(u,"exit","active"),n.props.onExiting&&n.props.onExiting(l)},n.onExited=function(l){var s=n.resolveArguments(l),u=s[0];n.removeClasses(u,"exit"),n.addClass(u,"exit","done"),n.props.onExited&&n.props.onExited(l)},n.resolveArguments=function(l,s){return n.props.nodeRef?[n.props.nodeRef.current,l]:[l,s]},n.getClassNames=function(l){var s=n.props.classNames,u=typeof s=="string",c=u&&s?s+"-":"",f=u?""+c+l:s[l],d=u?f+"-active":s[l+"Active"],p=u?f+"-done":s[l+"Done"];return{baseClassName:f,activeClassName:d,doneClassName:p}},n}var r=t.prototype;return r.addClass=function(i,o,a){var l=this.getClassNames(o)[a+"ClassName"],s=this.getClassNames("enter"),u=s.doneClassName;o==="appear"&&a==="done"&&u&&(l+=" "+u),a==="active"&&i&&X_(i),l&&(this.appliedClasses[o][a]=l,Gq(i,l))},r.removeClasses=function(i,o){var a=this.appliedClasses[o],l=a.base,s=a.active,u=a.done;this.appliedClasses[o]={},l&&Wm(i,l),s&&Wm(i,s),u&&Wm(i,u)},r.render=function(){var i=this.props;i.classNames;var o=al(i,["classNames"]);return w.createElement(Q_,Q({},o,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(w.Component);Q8.defaultProps={classNames:""};Q8.propTypes={};const lge=Q8;function Gc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _r(e){return e&&e.__esModule?e.default:e}function Ce(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}const qq={entering:!1,entered:!0};function J_(e){return w.createElement(Q_,{timeout:{enter:0,exit:350},...e},t=>w.Children.map(e.children,r=>r&&w.cloneElement(r,{isOpen:!!qq[t]})))}function Yq(e,t){let{children:r,isOpen:n,disableFocusManagement:i,container:o,onEnter:a,onEntering:l,onEntered:s,onExit:u,onExiting:c,onExited:f,nodeRef:d}=e,[p,m]=$.useState(!n),b=$.useCallback(()=>{m(!1),s&&s()},[s]),v=$.useCallback(()=>{m(!0),f&&f()},[f]);return n||!p?w.createElement(dq,{portalContainer:o,disableFocusManagement:i,isExiting:!n},w.createElement(iv,{ref:t,UNSAFE_style:{background:"transparent",isolation:"isolate"},isDisabled:!1},w.createElement(J_,{in:n,appear:!0,onExit:u,onExiting:c,onExited:v,onEnter:a,onEntering:l,onEntered:b,nodeRef:d},r))):null}let av=w.forwardRef(Yq);var mr={};Ce(mr,"spectrum-Popover",()=>L0,e=>L0=e);Ce(mr,"react-spectrum-Popover",()=>F0,e=>F0=e);Ce(mr,"spectrum-Dialog-content",()=>B0,e=>B0=e);Ce(mr,"spectrum-Modal-wrapper",()=>z0,e=>z0=e);Ce(mr,"react-spectrum-Modal-wrapper",()=>j0,e=>j0=e);Ce(mr,"spectrum-Modal",()=>U0,e=>U0=e);Ce(mr,"react-spectrum-Modal",()=>W0,e=>W0=e);Ce(mr,"spectrum-Tray",()=>K0,e=>K0=e);Ce(mr,"react-spectrum-Tray",()=>H0,e=>H0=e);var L0,F0,B0,z0,j0,U0,W0,K0,H0;L0="spectrum-Popover_38efea";F0="react-spectrum-Popover_38efea";B0="spectrum-Dialog-content_38efea";z0="spectrum-Modal-wrapper_38efea";j0="react-spectrum-Modal-wrapper_38efea";U0="spectrum-Modal_38efea";W0="react-spectrum-Modal_38efea";K0="spectrum-Tray_38efea";H0="react-spectrum-Tray_38efea";var hr={};Ce(hr,"spectrum-Popover",()=>V0,e=>V0=e);Ce(hr,"is-open",()=>G0,e=>G0=e);Ce(hr,"spectrum-Popover--bottom",()=>q0,e=>q0=e);Ce(hr,"spectrum-Popover--top",()=>Y0,e=>Y0=e);Ce(hr,"spectrum-Popover--right",()=>X0,e=>X0=e);Ce(hr,"spectrum-Popover--left",()=>Q0,e=>Q0=e);Ce(hr,"spectrum-Popover--withTip",()=>J0,e=>J0=e);Ce(hr,"spectrum-Popover-tip",()=>Z0,e=>Z0=e);Ce(hr,"spectrum-Popover-tip-triangle",()=>e1,e=>e1=e);Ce(hr,"spectrum-Popover--dialog",()=>t1,e=>t1=e);var V0,G0,q0,Y0,X0,Q0,J0,Z0,e1,t1;V0="spectrum-Popover_6115b8";G0="is-open_6115b8";q0="spectrum-Popover--bottom_6115b8";Y0="spectrum-Popover--top_6115b8";X0="spectrum-Popover--right_6115b8";Q0="spectrum-Popover--left_6115b8";J0="spectrum-Popover--withTip_6115b8";Z0="spectrum-Popover-tip_6115b8";e1="spectrum-Popover-tip-triangle_6115b8";t1="spectrum-Popover--dialog_6115b8";var lv={};Ce(lv,"spectrum-Underlay",()=>r1,e=>r1=e);Ce(lv,"is-open",()=>n1,e=>n1=e);Ce(lv,"spectrum-Underlay--transparent",()=>i1,e=>i1=e);var r1,n1,i1;r1="spectrum-Underlay_eb7615";n1="is-open_eb7615";i1="spectrum-Underlay--transparent_eb7615";function J8({isOpen:e,isTransparent:t}){return w.createElement("div",{className:R(_r(lv),"spectrum-Underlay",{"is-open":e,"spectrum-Underlay--transparent":t})})}let Xq={left:"right",right:"right",top:"bottom",bottom:"bottom"};function Qq(e,t){let{children:r,state:n,...i}=e,o=dt(t),a=$.useRef(null);return w.createElement(av,{...i,isOpen:n.isOpen,nodeRef:a},w.createElement(Jq,{ref:o,...e,wrapperRef:a},r))}const Jq=$.forwardRef((e,t)=>{let{children:r,isOpen:n,hideArrow:i,isNonModal:o,enableBothDismissButtons:a,state:l,wrapperRef:s}=e,{styleProps:u}=Ie(e),{size:c,borderWidth:f,arrowRef:d}=eY();const p=Zq(t);let m=f*Math.SQRT2,b=c+m,v=b*2,{popoverProps:h,arrowProps:g,underlayProps:y,placement:x}=cq({...e,popoverRef:t,maxHeight:null,arrowSize:i?0:v,arrowBoundaryOffset:p},l),{focusWithinProps:C}=Hu(e);return w.createElement("div",{ref:s},!o&&w.createElement(J8,{isTransparent:!0,...y,isOpen:n}),w.createElement("div",{...u,...ee(h,C),style:{...u.style,...h.style},ref:t,className:R(_r(hr),"spectrum-Popover",`spectrum-Popover--${x}`,{"spectrum-Popover--withTip":!i,"is-open":n},R(_r(mr),"spectrum-Popover","react-spectrum-Popover"),u.className),role:"presentation","data-testid":"popover"},(!o||a)&&w.createElement(ol,{onDismiss:l.close}),r,i?null:w.createElement(tY,{arrowProps:g,isLandscape:Xq[x]==="bottom",arrowRef:d,primary:b,secondary:v,borderDiagonal:m}),w.createElement(ol,{onDismiss:l.close})))});function Zq(e){let[t,r]=$.useState(0);return pe(()=>{if(e.current){let n=window.getComputedStyle(e.current).borderRadius;n!==""&&r(parseInt(n,10))}},[e]),t}function eY(){let[e,t]=$.useState(20),[r,n]=$.useState(1),i=$.useRef(null);return pe(()=>{if(i.current){let o=window.getComputedStyle(i.current).getPropertyValue("--spectrum-popover-tip-size");o!==""&&t(parseInt(o,10)/2);let a=window.getComputedStyle(i.current).getPropertyValue("--spectrum-popover-tip-borderWidth");a!==""&&n(parseInt(a,10))}},[]),{size:e,borderWidth:r,arrowRef:i}}function tY(e){let{primary:t,secondary:r,isLandscape:n,arrowProps:i,borderDiagonal:o,arrowRef:a}=e,l=o/2,s=0,u=t-l,c=l,f=r/2,d=r-l,p=n?["M",c,s,"L",f,u,"L",d,s]:["M",s,c,"L",u,f,"L",s,d];return w.createElement("svg",{xmlns:"http://www.w3.org/svg/2000",width:Math.ceil(n?r:t),height:Math.ceil(n?t:r),className:R(_r(hr),"spectrum-Popover-tip"),ref:a,...i},w.createElement("path",{className:R(_r(hr),"spectrum-Popover-tip-triangle"),d:p.join(" ")}))}let Z8=$.forwardRef(Qq);var Li={};Ce(Li,"spectrum-Modal",()=>o1,e=>o1=e);Ce(Li,"is-open",()=>a1,e=>a1=e);Ce(Li,"spectrum-Modal-wrapper",()=>l1,e=>l1=e);Ce(Li,"spectrum-Modal--responsive",()=>s1,e=>s1=e);Ce(Li,"spectrum-Modal--fullscreen",()=>u1,e=>u1=e);Ce(Li,"spectrum-Modal--fullscreenTakeover",()=>c1,e=>c1=e);var o1,a1,l1,s1,u1,c1;o1="spectrum-Modal_f81956";a1="is-open_f81956";l1="spectrum-Modal-wrapper_f81956";s1="spectrum-Modal--responsive_f81956";u1="spectrum-Modal--fullscreen_f81956";c1="spectrum-Modal--fullscreenTakeover_f81956";function rY(e,t){let{children:r,state:n,...i}=e,o=dt(t),a=$.useRef(null);return w.createElement(av,{...i,isOpen:n.isOpen,nodeRef:a},w.createElement(iY,{...e,wrapperRef:a,ref:o},r))}let nY={fullscreen:"fullscreen",fullscreenTakeover:"fullscreenTakeover"},iY=$.forwardRef(function(e,t){let{type:r,children:n,state:i,isOpen:o,wrapperRef:a}=e,l=nY[r],{styleProps:s}=Ie(e),{modalProps:u,underlayProps:c}=M_(e,i,t),f=R(_r(Li),"spectrum-Modal-wrapper",R(_r(mr),"spectrum-Modal-wrapper","react-spectrum-Modal-wrapper")),d=R(_r(Li),"spectrum-Modal",{"is-open":o},R(_r(mr),"spectrum-Modal","react-spectrum-Modal"),{[`spectrum-Modal--${l}`]:l},s.className),m={"--spectrum-visual-viewport-height":TR().height+"px"};return w.createElement("div",{ref:a},w.createElement(J8,{...c,isOpen:o}),w.createElement("div",{className:f,style:m},w.createElement("div",{...s,...u,ref:t,className:d,"data-testid":"modal"},n)))}),oY=$.forwardRef(rY);var ll={};Ce(ll,"spectrum-Tray",()=>d1,e=>d1=e);Ce(ll,"is-open",()=>f1,e=>f1=e);Ce(ll,"spectrum-Tray-wrapper",()=>p1,e=>p1=e);Ce(ll,"spectrum-Tray--fixedHeight",()=>v1,e=>v1=e);var d1,f1,p1,v1;d1="spectrum-Tray_23bf66";f1="is-open_23bf66";p1="spectrum-Tray-wrapper_23bf66";v1="spectrum-Tray--fixedHeight_23bf66";function aY(e,t){let{children:r,state:n,...i}=e,o=dt(t),a=$.useRef(null);return w.createElement(av,{...i,isOpen:n.isOpen,nodeRef:a},w.createElement(lY,{...e,wrapperRef:a,ref:o},r))}let lY=$.forwardRef(function(e,t){let{children:r,isOpen:n,isFixedHeight:i,state:o,wrapperRef:a}=e,{styleProps:l}=Ie(e),{modalProps:s,underlayProps:u}=M_({...e,isDismissable:!0},o,t),f={"--spectrum-visual-viewport-height":TR().height+"px"},d=R(_r(ll),"spectrum-Tray-wrapper"),p=R(_r(ll),"spectrum-Tray",{"is-open":n,"spectrum-Tray--fixedHeight":i},R(_r(mr),"spectrum-Tray","react-spectrum-Tray"),l.className);return w.createElement("div",{ref:a},w.createElement(J8,{...u,isOpen:n}),w.createElement("div",{className:d,style:f},w.createElement("div",{...l,...s,className:p,ref:t,"data-testid":"tray"},w.createElement(ol,{onDismiss:o.close}),r,w.createElement(ol,{onDismiss:o.close}))))}),e6=$.forwardRef(aY);function Z_(e){return Ld()?e.altKey:e.ctrlKey}function ga(e){return ju()?e.metaKey:e.ctrlKey}const sY=1e3;function uY(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,i=$.useRef({search:"",timeout:null}).current,o=a=>{let l=cY(a.key);if(!l||a.ctrlKey||a.metaKey||!a.currentTarget.contains(a.target))return;l===" "&&i.search.trim().length>0&&(a.preventDefault(),"continuePropagation"in a||a.stopPropagation()),i.search+=l;let s=t.getKeyForSearch(i.search,r.focusedKey);s==null&&(s=t.getKeyForSearch(i.search)),s!=null&&(r.setFocusedKey(s),n&&n(s)),clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=""},sY)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?o:null}}}function cY(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function ek(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:i=!1,shouldFocusWrap:o=!1,disallowEmptySelection:a=!1,disallowSelectAll:l=!1,selectOnFocus:s=t.selectionBehavior==="replace",disallowTypeAhead:u=!1,shouldUseVirtualFocus:c,allowsTabNavigation:f=!1,isVirtualized:d,scrollRef:p=n}=e,{direction:m}=br(),b=S=>{if(S.altKey&&S.key==="Tab"&&S.preventDefault(),!n.current.contains(S.target))return;const I=(N,Y)=>{N!=null&&(t.setFocusedKey(N,Y),S.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(N):s&&!Z_(S)&&t.replaceSelection(N))};switch(S.key){case"ArrowDown":if(r.getKeyBelow){var _,T;S.preventDefault();let N=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(_=r.getFirstKey)===null||_===void 0?void 0:_.call(r);N==null&&o&&(N=(T=r.getFirstKey)===null||T===void 0?void 0:T.call(r,t.focusedKey)),I(N)}break;case"ArrowUp":if(r.getKeyAbove){var k,A;S.preventDefault();let N=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(k=r.getLastKey)===null||k===void 0?void 0:k.call(r);N==null&&o&&(N=(A=r.getLastKey)===null||A===void 0?void 0:A.call(r,t.focusedKey)),I(N)}break;case"ArrowLeft":if(r.getKeyLeftOf){var O,U;S.preventDefault();let N=r.getKeyLeftOf(t.focusedKey);N==null&&o&&(N=m==="rtl"?(O=r.getFirstKey)===null||O===void 0?void 0:O.call(r,t.focusedKey):(U=r.getLastKey)===null||U===void 0?void 0:U.call(r,t.focusedKey)),I(N,m==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){var G,W;S.preventDefault();let N=r.getKeyRightOf(t.focusedKey);N==null&&o&&(N=m==="rtl"?(G=r.getLastKey)===null||G===void 0?void 0:G.call(r,t.focusedKey):(W=r.getFirstKey)===null||W===void 0?void 0:W.call(r,t.focusedKey)),I(N,m==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){S.preventDefault();let N=r.getFirstKey(t.focusedKey,ga(S));t.setFocusedKey(N),ga(S)&&S.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(N):s&&t.replaceSelection(N)}break;case"End":if(r.getLastKey){S.preventDefault();let N=r.getLastKey(t.focusedKey,ga(S));t.setFocusedKey(N),ga(S)&&S.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(N):s&&t.replaceSelection(N)}break;case"PageDown":if(r.getKeyPageBelow){S.preventDefault();let N=r.getKeyPageBelow(t.focusedKey);I(N)}break;case"PageUp":if(r.getKeyPageAbove){S.preventDefault();let N=r.getKeyPageAbove(t.focusedKey);I(N)}break;case"a":ga(S)&&t.selectionMode==="multiple"&&l!==!0&&(S.preventDefault(),t.selectAll());break;case"Escape":S.preventDefault(),a||t.clearSelection();break;case"Tab":if(!f){if(S.shiftKey)n.current.focus();else{let N=cr(n.current,{tabbable:!0}),Y,oe;do oe=N.lastChild(),oe&&(Y=oe);while(oe);Y&&!Y.contains(document.activeElement)&&hi(Y)}break}}},v=$.useRef({top:0,left:0});MV(p,"scroll",d?null:()=>{v.current={top:p.current.scrollTop,left:p.current.scrollLeft}});let h=S=>{if(t.isFocused){S.currentTarget.contains(S.target)||t.setFocused(!1);return}if(S.currentTarget.contains(S.target)){if(t.setFocused(!0),t.focusedKey==null){let T=A=>{A!=null&&(t.setFocusedKey(A),s&&t.replaceSelection(A))},k=S.relatedTarget;var I,_;k&&S.currentTarget.compareDocumentPosition(k)&Node.DOCUMENT_POSITION_FOLLOWING?T((I=t.lastSelectedKey)!==null&&I!==void 0?I:r.getLastKey()):T((_=t.firstSelectedKey)!==null&&_!==void 0?_:r.getFirstKey())}else d||(p.current.scrollTop=v.current.top,p.current.scrollLeft=v.current.left);if(!d&&t.focusedKey!=null){let T=p.current.querySelector(`[data-key="${t.focusedKey}"]`);T&&(T.contains(document.activeElement)||hi(T),il()==="keyboard"&&v7(T,{containingElement:n.current}))}}},g=S=>{S.currentTarget.contains(S.relatedTarget)||t.setFocused(!1)};const y=$.useRef(i);$.useEffect(()=>{if(y.current){let S=null;i==="first"&&(S=r.getFirstKey()),i==="last"&&(S=r.getLastKey());let I=t.selectedKeys;I.size&&(S=I.values().next().value),t.setFocused(!0),t.setFocusedKey(S),S==null&&!c&&Kn(n.current)}y.current=!1},[]);let x=$.useRef(t.focusedKey);$.useEffect(()=>{let S=il();if(t.isFocused&&t.focusedKey!=null&&(p!=null&&p.current)){let I=p.current.querySelector(`[data-key="${t.focusedKey}"]`);I&&S==="keyboard"&&(d||AR(p.current,I),v7(I,{containingElement:n.current}))}t.isFocused&&t.focusedKey==null&&x.current!=null&&Kn(n.current),x.current=t.focusedKey},[d,p,t.focusedKey,t.isFocused,n]);let C={onKeyDown:b,onFocus:h,onBlur:g,onMouseDown(S){p.current===S.target&&S.preventDefault()}},{typeSelectProps:E}=uY({keyboardDelegate:r,selectionManager:t});u||(C=ee(E,C));let P;return c||(P=t.focusedKey==null?0:-1),{collectionProps:{...C,tabIndex:P}}}function tk(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:i,shouldUseVirtualFocus:o,focus:a,isDisabled:l,onAction:s,allowsDifferentPressOrigin:u}=e,c=T=>{if(T.pointerType==="keyboard"&&Z_(T))t.toggleSelection(r);else{if(t.selectionMode==="none")return;t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):T&&T.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||T&&(ga(T)||T.pointerType==="touch"||T.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};$.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!o&&(a?a():document.activeElement!==n.current&&Kn(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,o]),l=l||t.isDisabled(r);let f={};!o&&!l?f={tabIndex:r===t.focusedKey?0:-1,onFocus(T){T.target===n.current&&t.setFocusedKey(r)}}:l&&(f.onMouseDown=T=>{T.preventDefault()});let d=!l&&t.canSelectItem(r),p=s&&!l,m=p&&(t.selectionBehavior==="replace"?!d:t.isEmpty),b=p&&d&&t.selectionBehavior==="replace",v=m||b,h=$.useRef(null),g=v&&d,y=$.useRef(!1),x=$.useRef(!1),C={};i?(C.onPressStart=T=>{h.current=T.pointerType,y.current=g,T.pointerType==="keyboard"&&(!v||W7())&&c(T)},u?(C.onPressUp=T=>{T.pointerType!=="keyboard"&&c(T)},C.onPress=m?()=>s():null):C.onPress=T=>{if(m||b&&T.pointerType!=="mouse"){if(T.pointerType==="keyboard"&&!U7())return;s()}else T.pointerType!=="keyboard"&&c(T)}):(C.onPressStart=T=>{h.current=T.pointerType,y.current=g,x.current=m,(T.pointerType==="mouse"&&!m||T.pointerType==="keyboard"&&(!s||W7()))&&c(T)},C.onPress=T=>{(T.pointerType==="touch"||T.pointerType==="pen"||T.pointerType==="virtual"||T.pointerType==="keyboard"&&v&&U7()||T.pointerType==="mouse"&&x.current)&&(v?s():c(T))}),f["data-key"]=r,C.preventFocusOnPress=o;let{pressProps:E,isPressed:P}=Wu(C),S=b?T=>{h.current==="mouse"&&(T.stopPropagation(),T.preventDefault(),s())}:void 0,{longPressProps:I}=KR({isDisabled:!g,onLongPress(T){T.pointerType==="touch"&&(c(T),t.setSelectionBehavior("toggle"))}});return{itemProps:ee(f,d||m?E:{},g?I:{},{onDoubleClick:S,onDragStartCapture:T=>{h.current==="touch"&&y.current&&T.preventDefault()}}),isPressed:P,isSelected:t.isSelected(r),isFocused:t.isFocused&&t.focusedKey===r,isDisabled:l,allowsSelection:d,hasAction:v}}function U7(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function W7(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class rk{getNextKey(t){for(t=this.collection.getKeyAfter(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}return null}getPreviousKey(t){for(t=this.collection.getKeyBefore(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}return null}findKey(t,r,n){let i=this.getItem(t);if(!i)return null;let o=i.getBoundingClientRect();do t=r(t),i=this.getItem(t);while(i&&n(o,i.getBoundingClientRect()));return t}isSameRow(t,r){return t.top===r.top||t.left!==r.left}isSameColumn(t,r){return t.left===r.left||t.top!==r.top}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getNextKey(r),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getPreviousKey(r),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,r){return r?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}return null}getLastKey(){let t=this.collection.getLastKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}return null}getItem(t){return this.ref.current.querySelector(`[data-key="${t}"]`)}getKeyPageAbove(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;if(!Pf(r))return this.getFirstKey();let i=r.getBoundingClientRect(),o=n.getBoundingClientRect();if(this.orientation==="horizontal"){let a=i.x-r.scrollLeft,l=Math.max(0,o.x-a+o.width-i.width);for(;n&&o.x-a>l;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),o=n==null?void 0:n.getBoundingClientRect()}else{let a=i.y-r.scrollTop,l=Math.max(0,o.y-a+o.height-i.height);for(;n&&o.y-a>l;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),o=n==null?void 0:n.getBoundingClientRect()}return t??this.getFirstKey()}getKeyPageBelow(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;if(!Pf(r))return this.getLastKey();let i=r.getBoundingClientRect(),o=n.getBoundingClientRect();if(this.orientation==="horizontal"){let a=i.x-r.scrollLeft,l=Math.min(r.scrollWidth,o.x-a-o.width+i.width);for(;n&&o.x-a<l;)t=this.getKeyBelow(t),n=t==null?null:this.getItem(t),o=n==null?void 0:n.getBoundingClientRect()}else{let a=i.y-r.scrollTop,l=Math.min(r.scrollHeight,o.y-a-o.height+i.height);for(;n&&o.y-a<l;)t=this.getKeyBelow(t),n=t==null?null:this.getItem(t),o=n==null?void 0:n.getBoundingClientRect()}return t??this.getLastKey()}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,i=r||this.getFirstKey();for(;i!=null;){let o=n.getItem(i),a=o.textValue.slice(0,t.length);if(o.textValue&&this.collator.compare(a,t)===0)return i;i=this.getKeyBelow(i)}return null}constructor(...t){if(t.length===1){let r=t[0];this.collection=r.collection,this.ref=r.ref,this.disabledKeys=r.disabledKeys||new Set,this.orientation=r.orientation,this.direction=r.direction,this.layout=r.layout||"stack"}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical";this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function nk(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:i,keyboardDelegate:o,autoFocus:a,shouldFocusWrap:l,isVirtualized:s,disallowEmptySelection:u,selectOnFocus:c=t.selectionBehavior==="replace",disallowTypeAhead:f,shouldUseVirtualFocus:d,allowsTabNavigation:p}=e,m=F8({usage:"search",sensitivity:"base"}),b=t.disabledBehavior,v=$.useMemo(()=>o||new rk(r,b==="selection"?new Set:n,i,m),[o,r,n,i,m,b]),{collectionProps:h}=ek({ref:i,selectionManager:t,keyboardDelegate:v,autoFocus:a,shouldFocusWrap:l,disallowEmptySelection:u,selectOnFocus:c,disallowTypeAhead:f,shouldUseVirtualFocus:d,allowsTabNavigation:p,isVirtualized:s,scrollRef:i});return{listProps:h}}function dY(e){return e&&e.__esModule?e.default:e}var ik={},ok={};ok={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var ak={};ak={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var lk={};lk={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var sk={};sk={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var uk={};uk={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var ck={};ck={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var dk={};dk={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var fk={};fk={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var pk={};pk={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var vk={};vk={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var mk={};mk={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var hk={};hk={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var gk={};gk={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var bk={};bk={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var yk={};yk={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var $k={};$k={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var xk={};xk={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var wk={};wk={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Sk={};Sk={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var Ek={};Ek={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var Ck={};Ck={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var Pk={};Pk={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var Ik={};Ik={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var Tk={};Tk={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var Ak={};Ak={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var Ok={};Ok={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var Rk={};Rk={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var _k={};_k={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var kk={};kk={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var Dk={};Dk={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var Mk={};Mk={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var Nk={};Nk={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var Lk={};Lk={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var Fk={};Fk={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};ik={"ar-AE":ok,"bg-BG":ak,"cs-CZ":lk,"da-DK":sk,"de-DE":uk,"el-GR":ck,"en-US":dk,"es-ES":fk,"et-EE":pk,"fi-FI":vk,"fr-FR":mk,"he-IL":hk,"hr-HR":gk,"hu-HU":bk,"it-IT":yk,"ja-JP":$k,"ko-KR":xk,"lt-LT":wk,"lv-LV":Sk,"nb-NO":Ek,"nl-NL":Ck,"pl-PL":Pk,"pt-BR":Ik,"pt-PT":Tk,"ro-RO":Ak,"ru-RU":Ok,"sk-SK":Rk,"sl-SI":_k,"sr-SP":kk,"sv-SE":Dk,"tr-TR":Mk,"uk-UA":Nk,"zh-CN":Lk,"zh-TW":Fk};function Bk(e,t,r){let{type:n="menu",isDisabled:i,trigger:o="press"}=e,a=wt(),{triggerProps:l,overlayProps:s}=G8({type:n},t,r),u=p=>{if(!i&&!(o==="longPress"&&!p.altKey)&&r&&r.current)switch(p.key){case"Enter":case" ":if(o==="longPress")return;case"ArrowDown":"continuePropagation"in p||p.stopPropagation(),p.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in p||p.stopPropagation(),p.preventDefault(),t.toggle("last");break;default:"continuePropagation"in p&&p.continuePropagation()}},c=Ur(dY(ik)),{longPressProps:f}=KR({isDisabled:i||o!=="longPress",accessibilityDescription:c.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),d={onPressStart(p){p.pointerType!=="touch"&&p.pointerType!=="keyboard"&&!i&&t.toggle(p.pointerType==="virtual"?"first":null)},onPress(p){p.pointerType==="touch"&&!i&&t.toggle()}};return delete l.onPress,{menuTriggerProps:{...l,...o==="press"?d:f,id:a,onKeyDown:u},menuProps:{...s,"aria-labelledby":a,autoFocus:t.focusStrategy||!0,onClose:t.close}}}const zk=new WeakMap;function fY(e,t,r){let{shouldFocusWrap:n=!0,...i}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let o=_e(e,{labelable:!0}),{listProps:a}=nk({...i,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n});return zk.set(t,{onClose:e.onClose,onAction:e.onAction}),{menuProps:ee(o,{role:"menu","aria-hidden":t.expandedKeys.size>0?!0:void 0,...a,onKeyDown:l=>{l.key!=="Escape"&&a.onKeyDown(l)}})}}function pY(e,t,r){let{key:n,closeOnSelect:i,isVirtualized:o,"aria-haspopup":a}=e,{direction:l}=br(),s=!!a,u=t.expandedKeys.has(n);var c;let f=(c=e.isDisabled)!==null&&c!==void 0?c:t.disabledKeys.has(n);var d;let p=(d=e.isSelected)!==null&&d!==void 0?d:t.selectionManager.isSelected(n),m=$.useRef(),b=$.useCallback(()=>{m.current&&(clearTimeout(m.current),m.current=void 0)},[m]),v=Rr(()=>{b(),t.setExpandedKeys(new Set([n]))});pe(()=>()=>b(),[b]);let h=zk.get(t),g=e.onClose||h.onClose,y=$.useCallback(()=>{v()},[]),x=s?y:e.onAction||h.onAction,C="menuitem";t.selectionManager.selectionMode==="single"?C="menuitemradio":t.selectionManager.selectionMode==="multiple"&&(C="menuitemcheckbox");let E=Un(),P=Un(),S=Un(),I={"aria-disabled":f||void 0,role:C,"aria-label":e["aria-label"],"aria-labelledby":E,"aria-describedby":[P,S].filter(Boolean).join(" ")||void 0};t.selectionManager.selectionMode!=="none"&&(I["aria-checked"]=p),o&&(I["aria-posinset"]=t.collection.getItem(n).index,I["aria-setsize"]=k8(t.collection)),a!=null&&(I["aria-haspopup"]=a,I["aria-expanded"]=u?"true":"false");let _=N=>{N.pointerType==="keyboard"&&x&&x(n)},T=N=>{N.pointerType!=="keyboard"&&(x&&x(n),!s&&g&&(i??t.selectionManager.selectionMode!=="multiple")&&g())},{itemProps:k,isFocused:A}=tk({selectionManager:t.selectionManager,key:n,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0}),{pressProps:O,isPressed:U}=Wu({onPressStart:_,onPressUp:T,isDisabled:f||s&&t.expandedKeys.has(n)}),{hoverProps:G}=nr({isDisabled:f,onHoverStart(){!Ao()&&!(s&&t.expandedKeys.has(n))&&(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n),n===t.selectionManager.focusedKey&&t.selectionManager.isFocused&&document.activeElement!==r.current&&Kn(r.current))},onHoverChange:N=>{N&&s&&!t.expandedKeys.has(n)?m.current||(m.current=setTimeout(()=>{v()},200)):N||b()}}),{keyboardProps:W}=W8({onKeyDown:N=>{if(N.repeat){N.continuePropagation();return}switch(N.key){case" ":!f&&t.selectionManager.selectionMode==="none"&&!s&&i!==!1&&g&&g();break;case"Enter":!f&&i!==!1&&!s&&g&&g();break;case"ArrowRight":s&&l==="ltr"?v():N.continuePropagation();break;case"ArrowLeft":s&&l==="rtl"?v():N.continuePropagation();break;default:N.continuePropagation();break}}});return{menuItemProps:{...I,...ee(k,O,G,W)},labelProps:{id:E},descriptionProps:{id:P},keyboardShortcutProps:{id:S},isFocused:A,isSelected:p,isPressed:U,isDisabled:f}}function vY(e){let{heading:t,"aria-label":r}=e,n=wt();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}function t6(e){let[t,r]=Bu(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=$.useCallback(()=>{r(!0)},[r]),i=$.useCallback(()=>{r(!1)},[r]),o=$.useCallback(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:n,close:i,toggle:o}}function jk(e){let t=t6(e),[r,n]=$.useState(null);return{focusStrategy:r,...t,open(i=null){n(i),t.open()},toggle(i=null){n(i),t.toggle()}}}class Qr extends Set{constructor(t,r,n){super(t),t instanceof Qr?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function mY(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function Uk(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:i="toggle",disabledBehavior:o="all"}=e,a=$.useRef(!1),[,l]=$.useState(!1),s=$.useRef(null),u=$.useRef(null),[,c]=$.useState(null),f=$.useMemo(()=>K7(e.selectedKeys),[e.selectedKeys]),d=$.useMemo(()=>K7(e.defaultSelectedKeys,new Qr),[e.defaultSelectedKeys]),[p,m]=Bu(f,d,e.onSelectionChange),b=$.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[v,h]=$.useState(i);i==="replace"&&v==="toggle"&&typeof p=="object"&&p.size===0&&h("replace");let g=$.useRef(i);return $.useEffect(()=>{i!==g.current&&(h(i),g.current=i)},[i]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:v,setSelectionBehavior:h,get isFocused(){return a.current},setFocused(y){a.current=y,l(y)},get focusedKey(){return s.current},get childFocusStrategy(){return u.current},setFocusedKey(y,x="first"){s.current=y,u.current=x,c(y)},selectedKeys:p,setSelectedKeys(y){(n||!mY(y,p))&&m(y)},disabledKeys:b,disabledBehavior:o}}function K7(e,t){return e?e==="all"?"all":new Qr(e):t}class Wk{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&Im(this.collection,n,t)<0)&&(t=n)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&Im(this.collection,n,t)>0)&&(t=n)}return t==null?void 0:t.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}t=this.getKey(t);let r;if(this.state.selectedKeys==="all")r=new Qr([t],t,t);else{let n=this.state.selectedKeys,i=n.anchorKey||t;r=new Qr(n,i,t);for(let o of this.getKeyRange(i,n.currentKey||t))r.delete(o);for(let o of this.getKeyRange(t,i))this.canSelectItem(o)&&r.add(o)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),i=this.collection.getItem(r);return n&&i?Im(this.collection,n,i)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],i=t;for(;i;){let o=this.collection.getItem(i);if((o&&o.type==="item"||o.type==="cell"&&this.allowsCellSelection)&&n.push(i),i===r)return n;i=this.collection.getKeyAfter(i)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}if(t=this.getKey(t),t==null)return;let r=new Qr(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let r=this.canSelectItem(t)?new Qr([t],t,t):new Qr;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new Qr;for(let n of t)if(n=this.getKey(n),n!=null&&(r.add(n),this.selectionMode==="single"))break;this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=[],r=n=>{for(;n;){if(this.canSelectItem(n)){let i=this.collection.getItem(n);i.type==="item"&&t.push(n),i.hasChildNodes&&(this.allowsCellSelection||i.type!=="item")&&r(sV(Io(i,this.collection)).key)}n=this.collection.getKeyAfter(n)}};return r(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Qr)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;for(let n of r)if(!t.has(n))return!1;return!0}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}constructor(t,r,n){this.collection=t,this.state=r;var i;this.allowsCellSelection=(i=n==null?void 0:n.allowsCellSelection)!==null&&i!==void 0?i:!1,this._isSelectAll=null}}class hY{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}constructor(t,{expandedKeys:r}={}){this.keyMap=new Map,this.iterable=t,r=r||new Set;let n=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&(a.type==="section"||r.has(a.key)))for(let l of a.childNodes)n(l)};for(let a of t)n(a);let i,o=0;for(let[a,l]of this.keyMap)i?(i.nextKey=a,l.prevKey=i.key):(this.firstKey=a,l.prevKey=void 0),l.type==="item"&&(l.index=o++),i=l,i.nextKey=void 0;this.lastKey=i==null?void 0:i.key}}function gY(e){let[t,r]=Bu(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,e.onExpandedChange),n=Uk(e),i=$.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=ER(e,$.useCallback(l=>new hY(l,{expandedKeys:t}),[t]),null);return $.useEffect(()=>{n.focusedKey!=null&&!o.getItem(n.focusedKey)&&n.setFocusedKey(null)},[o,n.focusedKey]),{collection:o,expandedKeys:t,disabledKeys:i,toggleKey:l=>{r(bY(t,l))},setExpandedKeys:r,selectionManager:new Wk(o,n)}}function bY(e,t){let r=new Set(e);return r.has(t)?r.delete(t):r.add(t),r}var Kk={};Object.defineProperty(Kk,"__esModule",{value:!0});var yY=Kk.CheckmarkMedium=Hk,Km=$Y($);function $Y(e){return e&&e.__esModule?e:{default:e}}function m1(){return m1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},m1.apply(this,arguments)}function xY(e,t){if(e==null)return{};var r=wY(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function wY(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Hk(e){var t=e.scale,r=t===void 0?"M":t,n=xY(e,["scale"]);return Km.default.createElement("svg",m1({},n,n),r==="L"&&Km.default.createElement("path",{d:"M6 14a1 1 0 0 1-.789-.385l-4-5a1 1 0 1 1 1.577-1.23L6 11.376l7.213-8.99a1 1 0 1 1 1.576 1.23l-8 10a1 1 0 0 1-.789.384z"}),r==="M"&&Km.default.createElement("path",{d:"M4.5 10a1.022 1.022 0 0 1-.799-.384l-2.488-3a1 1 0 0 1 1.576-1.233L4.5 7.376l4.712-5.991a1 1 0 1 1 1.576 1.23l-5.51 7A.978.978 0 0 1 4.5 10z"}))}Hk.displayName="CheckmarkMedium";function sv(e){return w.createElement(Sn,e,w.createElement(yY,null))}function Hm(e){return e&&e.__esModule?e.default:e}function r6(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}const SY={...ev,autoFlow:["gridAutoFlow",pt],autoColumns:["gridAutoColumns",Mf],autoRows:["gridAutoRows",Mf],areas:["gridTemplateAreas",CY],columns:["gridTemplateColumns",H7],rows:["gridTemplateRows",H7],gap:["gap",xe],rowGap:["rowGap",xe],columnGap:["columnGap",xe],justifyItems:["justifyItems",pt],justifyContent:["justifyContent",pt],alignItems:["alignItems",pt],alignContent:["alignContent",pt]};function EY(e,t){let{children:r,...n}=e,{styleProps:i}=Ie(n,SY);i.style.display="grid";let o=dt(t);return w.createElement("div",{..._e(n),...i,ref:o},r)}function CY(e){return e.map(t=>`"${t}"`).join(`
42
+ `)}function Mf(e){return/^max-content|min-content|minmax|auto|fit-content|repeat|subgrid/.test(e)?e:xe(e)}function H7(e){return Array.isArray(e)?e.map(Mf).join(" "):Mf(e)}const n6=$.forwardRef(EY);var Ya={};r6(Ya,"flex-container",()=>h1,e=>h1=e);r6(Ya,"flex",()=>g1,e=>g1=e);r6(Ya,"flex-gap",()=>b1,e=>b1=e);var h1,g1,b1;h1="flex-container_e15493";g1="flex_e15493";b1="flex-gap_e15493";const PY={direction:["flexDirection",pt],wrap:["flexWrap",TY],justifyContent:["justifyContent",Vm],alignItems:["alignItems",Vm],alignContent:["alignContent",Vm]};function IY(e,t){let{children:r,...n}=e,i=FR(),o=(i==null?void 0:i.matchedBreakpoints)||["base"],{styleProps:a}=Ie(n),{styleProps:l}=Ie(n,PY),s=dt(t),u=jo();if((e.gap||e.rowGap||e.columnGap)&&(u||!AY())){let f={...l.style,"--column-gap":e.columnGap!=null?ra(e.columnGap,o):void 0,"--row-gap":e.rowGap!=null?ra(e.rowGap,o):void 0,"--gap":e.gap!=null?ra(e.gap,o):void 0};return w.createElement("div",{..._e(n),...a,className:R(Hm(Ya),"flex-container",a.className),ref:s},w.createElement("div",{className:R(Hm(Ya),"flex","flex-gap"),style:f},r))}let c={...a.style,...l.style};return e.gap!=null&&(c.gap=ra(e.gap,o)),e.columnGap!=null&&(c.columnGap=ra(e.columnGap,o)),e.rowGap!=null&&(c.rowGap=ra(e.rowGap,o)),w.createElement("div",{..._e(n),className:R(Hm(Ya),"flex",a.className),style:c,ref:s},r)}function Vm(e){return e==="start"?"flex-start":e==="end"?"flex-end":e}function TY(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}let qc=null;function AY(){if(qc!=null)return qc;if(typeof document>"u")return!1;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),qc=e.scrollHeight===1,e.parentNode.removeChild(e),qc}const Vk=$.forwardRef(IY);var Gk={};Object.defineProperty(Gk,"__esModule",{value:!0});var OY=Gk.A4uInfoOutline=_Y,V7=RY($);function RY(e){return e&&e.__esModule?e:{default:e}}function Nf(){return Nf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Nf.apply(this,arguments)}function _Y(e){var t=Nf({},e);return V7.default.createElement("svg",Nf({viewBox:"0 0 36 36"},t,t),V7.default.createElement("path",{fillRule:"evenodd",d:"M20.15,12A2.15,2.15,0,1,1,18,9.85,2.15,2.15,0,0,1,20.15,12Zm.1835,12H20V16.3999A.4001.4001,0,0,0,19.60007,16H15.66648S14.5,16.03223,14.5,17c0,.96729,1.16651,1,1.16651,1H16v6h-.33349S14.5,24.03223,14.5,25c0,.96729,1.16651,1,1.16651,1h4.667S21.5,25.96729,21.5,25C21.5,24.03223,20.33347,24,20.33347,24ZM18,1A17,17,0,1,0,35.00008,18,17.00014,17.00014,0,0,0,18,1Zm0,30.34961A13.34961,13.34961,0,1,1,31.34967,18,13.34962,13.34962,0,0,1,18,31.34961Z"}))}function kY(e){return w.createElement(j_,e,w.createElement(OY,null))}function qk(e){let t=_e(e,{labelable:!0}),r;return e.orientation==="vertical"&&(r="vertical"),e.elementType!=="hr"?{separatorProps:{...t,role:"separator","aria-orientation":r}}:{separatorProps:t}}var Yk={};Object.defineProperty(Yk,"__esModule",{value:!0});var DY=Yk.A4uMore=NY,Yc=MY($);function MY(e){return e&&e.__esModule?e:{default:e}}function Lf(){return Lf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Lf.apply(this,arguments)}function NY(e){var t=Lf({},e);return Yc.default.createElement("svg",Lf({viewBox:"0 0 36 36"},t,t),Yc.default.createElement("circle",{fillRule:"evenodd",cx:"17.8",cy:"18.2",r:"3.4"}),Yc.default.createElement("circle",{fillRule:"evenodd",cx:"29.5",cy:"18.2",r:"3.4"}),Yc.default.createElement("circle",{fillRule:"evenodd",cx:"6.1",cy:"18.2",r:"3.4"}))}function LY(e){return w.createElement(j_,e,w.createElement(DY,null))}function Kt(e){return e&&e.__esModule?e.default:e}function Me(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}const i6=w.createContext({});function FY(){return $.useContext(i6)}const BY=w.createContext(void 0);function zY(){return $.useContext(BY)}const jY=w.createContext({});var fe={};Me(fe,"spectrum-Menu-popover",()=>y1,e=>y1=e);Me(fe,"spectrum-Menu",()=>$1,e=>$1=e);Me(fe,"spectrum-Menu-sectionHeading",()=>x1,e=>x1=e);Me(fe,"spectrum-Menu-checkmark",()=>w1,e=>w1=e);Me(fe,"spectrum-Menu-item",()=>S1,e=>S1=e);Me(fe,"is-selected",()=>E1,e=>E1=e);Me(fe,"spectrum-Icon",()=>C1,e=>C1=e);Me(fe,"spectrum-Menu-itemLabel",()=>P1,e=>P1=e);Me(fe,"spectrum-Menu-itemIcon",()=>I1,e=>I1=e);Me(fe,"spectrum-Menu-itemLabel--wrapping",()=>T1,e=>T1=e);Me(fe,"spectrum-Menu-divider",()=>A1,e=>A1=e);Me(fe,"spectrum-Menu-itemGrid",()=>O1,e=>O1=e);Me(fe,"is-selectable",()=>R1,e=>R1=e);Me(fe,"spectrum-Menu-end",()=>_1,e=>_1=e);Me(fe,"spectrum-Menu-icon",()=>k1,e=>k1=e);Me(fe,"spectrum-Menu-description",()=>D1,e=>D1=e);Me(fe,"spectrum-Menu-keyboard",()=>M1,e=>M1=e);Me(fe,"focus-ring",()=>N1,e=>N1=e);Me(fe,"is-focused",()=>L1,e=>L1=e);Me(fe,"is-hovered",()=>F1,e=>F1=e);Me(fe,"is-highlighted",()=>B1,e=>B1=e);Me(fe,"is-open",()=>z1,e=>z1=e);Me(fe,"is-active",()=>j1,e=>j1=e);Me(fe,"is-disabled",()=>U1,e=>U1=e);var y1,$1,x1,w1,S1,E1,C1,P1,I1,T1,A1,O1,R1,_1,k1,D1,M1,N1,L1,F1,B1,z1,j1,U1;y1="spectrum-Menu-popover_7ea47c";$1="spectrum-Menu_7ea47c";x1="spectrum-Menu-sectionHeading_7ea47c";w1="spectrum-Menu-checkmark_7ea47c";S1="spectrum-Menu-item_7ea47c";E1="is-selected_7ea47c";C1="spectrum-Icon_7ea47c";P1="spectrum-Menu-itemLabel_7ea47c";I1="spectrum-Menu-itemIcon_7ea47c";T1="spectrum-Menu-itemLabel--wrapping_7ea47c";A1="spectrum-Menu-divider_7ea47c";O1="spectrum-Menu-itemGrid_7ea47c";R1="is-selectable_7ea47c";_1="spectrum-Menu-end_7ea47c";k1="spectrum-Menu-icon_7ea47c";D1="spectrum-Menu-description_7ea47c";M1="spectrum-Menu-keyboard_7ea47c";N1="focus-ring_7ea47c";L1="is-focused_7ea47c";F1="is-hovered_7ea47c";B1="is-highlighted_7ea47c";z1="is-open_7ea47c";j1="is-active_7ea47c";U1="is-disabled_7ea47c";function UY(e,t){let r=$.useRef(),i=dt(t)||r,o=$.useRef(),{children:a,align:l="start",shouldFlip:s=!0,direction:u="bottom",closeOnSelect:c,trigger:f="press"}=e,[d,p]=w.Children.toArray(a),m=jk(e),{menuTriggerProps:b,menuProps:v}=Bk({trigger:f},m,i),h;switch(u){case"left":case"right":case"start":case"end":h=`${u} ${l==="end"?"bottom":"top"}`;break;case"bottom":case"top":default:h=`${u} ${l}`}let g=U8(),y={...v,state:m,ref:o,onClose:m.close,closeOnSelect:c,autoFocus:m.focusStrategy||!0,UNSAFE_style:g?{width:"100%",maxHeight:"inherit"}:void 0,UNSAFE_className:R(Kt(fe),{"spectrum-Menu-popover":!g})},x;return g?x=w.createElement(e6,{state:m},p):x=w.createElement(Z8,{UNSAFE_style:{clipPath:"unset"},state:m,triggerRef:i,scrollRef:o,placement:h,hideArrow:!0,shouldFlip:s},p),w.createElement($.Fragment,null,w.createElement(Wr,{slots:{actionButton:{holdAffordance:f==="longPress"}}},w.createElement(Ku,{...b,ref:i,isPressed:m.isOpen},d)),w.createElement(i6.Provider,{value:y},x))}let WY=$.forwardRef(UY);var Xk={},Qk={};Qk={moreActions:"المزيد من الإجراءات",unavailable:"قُم بالتوسيع للحصول على التفاصيل"};var Jk={};Jk={moreActions:"Повече действия",unavailable:"Разширете за подробности"};var Zk={};Zk={moreActions:"Další akce",unavailable:"Podrobnosti zobrazíte rozbalením"};var eD={};eD={moreActions:"Flere handlinger",unavailable:"Udvid for detaljer"};var tD={};tD={moreActions:"Mehr Aktionen",unavailable:"Für Details erweitern"};var rD={};rD={moreActions:"Περισσότερες ενέργειες",unavailable:"Ανάπτυξη για λεπτομέρειες"};var nD={};nD={moreActions:"More actions",unavailable:"Expand for details"};var iD={};iD={moreActions:"Más acciones",unavailable:"Ampliar para más detalles"};var oD={};oD={moreActions:"Veel toiminguid",unavailable:"Laiendage üksikasjade kuvamiseks"};var aD={};aD={moreActions:"Lisää toimintoja",unavailable:"Laajenna lisätietoja"};var lD={};lD={moreActions:"Autres actions",unavailable:"Agrandir pour plus de détails"};var sD={};sD={moreActions:"פעולות נוספות",unavailable:"הרחב לפרטים"};var uD={};uD={moreActions:"Dodatne radnje",unavailable:"Proširite za detalje"};var cD={};cD={moreActions:"További lehetőségek",unavailable:"A részletekért bontsa ki"};var dD={};dD={moreActions:"Altre azioni",unavailable:"Espandi per i dettagli"};var fD={};fD={moreActions:"その他のアクション",unavailable:"展開して詳細を見る"};var pD={};pD={moreActions:"기타 액션",unavailable:"자세히 보려면 펼치기"};var vD={};vD={moreActions:"Daugiau veiksmų",unavailable:"Norėdami gauti daugiau informacijos, išskleiskite"};var mD={};mD={moreActions:"Citas darbības",unavailable:"Izvērst, lai iegūtu sīkāku informāciju"};var hD={};hD={moreActions:"Flere handlinger",unavailable:"Utvid for detaljer"};var gD={};gD={moreActions:"Meer handelingen",unavailable:"Uitvouwen voor meer informatie"};var bD={};bD={moreActions:"Więcej akcji",unavailable:"Rozwiń, aby zobaczyć szczegóły"};var yD={};yD={moreActions:"Mais ações",unavailable:"Expandir para ver detalhes"};var $D={};$D={moreActions:"Mais ações",unavailable:"Expandir para obter mais pormenores"};var xD={};xD={moreActions:"Mai multe acțiuni",unavailable:"Extindeți pentru detalii"};var wD={};wD={moreActions:"Дополнительные действия",unavailable:"Развернуть для подробностей"};var SD={};SD={moreActions:"Ďalšie akcie",unavailable:"Rozbaľte a zobrazte podrobnosti"};var ED={};ED={moreActions:"Več možnosti",unavailable:"Razširite za podrobnosti"};var CD={};CD={moreActions:"Dodatne radnje",unavailable:"Expand for details"};var PD={};PD={moreActions:"Fler åtgärder",unavailable:"Expandera för information"};var ID={};ID={moreActions:"Daha fazla eylem",unavailable:"Ayrıntıları görmek için genişletin"};var TD={};TD={moreActions:"Більше дій",unavailable:"Розгорніть для докладнішої інформації"};var AD={};AD={moreActions:"更多操作",unavailable:"展开以查看详细信息"};var OD={};OD={moreActions:"更多動作",unavailable:"展開以取得詳細資料"};Xk={"ar-AE":Qk,"bg-BG":Jk,"cs-CZ":Zk,"da-DK":eD,"de-DE":tD,"el-GR":rD,"en-US":nD,"es-ES":iD,"et-EE":oD,"fi-FI":aD,"fr-FR":lD,"he-IL":sD,"hr-HR":uD,"hu-HU":cD,"it-IT":dD,"ja-JP":fD,"ko-KR":pD,"lt-LT":vD,"lv-LV":mD,"nb-NO":hD,"nl-NL":gD,"pl-PL":bD,"pt-BR":yD,"pt-PT":$D,"ro-RO":xD,"ru-RU":wD,"sk-SK":SD,"sl-SI":ED,"sr-SP":CD,"sv-SE":PD,"tr-TR":ID,"uk-UA":TD,"zh-CN":AD,"zh-TW":OD};function RD(e){let{item:t,state:r,isVirtualized:n,onAction:i}=e,o=Ur(Kt(Xk)),a=zY(),{triggerRef:l}=a||{},s=!!a,u=!1;s&&(u=a.isUnavailable);let c=_e(t.props),{onClose:f,closeOnSelect:d}=FY(),{rendered:p,key:m}=t,b=r.selectionManager.isSelected(m),v=r.disabledKeys.has(m),h=$.useRef(null),g=PV($.useMemo(()=>yV(h,l),[h,l])),{menuItemProps:y,labelProps:x,descriptionProps:C,keyboardShortcutProps:E}=pY({isSelected:b,isDisabled:v,"aria-label":t["aria-label"],key:m,onClose:f,closeOnSelect:d,isVirtualized:n,onAction:i,"aria-haspopup":s&&u?"dialog":void 0},r,g),P=Un(),S={};P&&(S.id=P,y["aria-describedby"]=[y["aria-describedby"],P].filter(Boolean).join(" ")),u&&(y["aria-disabled"]="true");let I=typeof p=="string"?w.createElement(Tl,null,p):p;return w.createElement(Hi,{focusRingClass:R(Kt(fe),"focus-ring")},w.createElement("li",{...ee(y,c),ref:g,className:R(Kt(fe),"spectrum-Menu-item",{"is-disabled":v,"is-selected":b,"is-selectable":r.selectionManager.selectionMode!=="none","is-open":r.expandedKeys.has(m)})},w.createElement(n6,{UNSAFE_className:R(Kt(fe),"spectrum-Menu-itemGrid")},w.createElement(Uu,null,w.createElement(Wr,{slots:{text:{UNSAFE_className:Kt(fe)["spectrum-Menu-itemLabel"],...x},end:{UNSAFE_className:Kt(fe)["spectrum-Menu-end"],...S},icon:{UNSAFE_className:Kt(fe)["spectrum-Menu-icon"],size:"S"},description:{UNSAFE_className:Kt(fe)["spectrum-Menu-description"],...C},keyboard:{UNSAFE_className:Kt(fe)["spectrum-Menu-keyboard"],...E}}},I,b&&w.createElement(sv,{slot:"checkmark",UNSAFE_className:R(Kt(fe),"spectrum-Menu-checkmark")}),u&&w.createElement(kY,{slot:"end",size:"XS",alignSelf:"center","aria-label":o.format("unavailable")}))))))}function KY(e){let{item:t,state:r,onAction:n}=e,{itemProps:i,headingProps:o,groupProps:a}=vY({heading:t.rendered,"aria-label":t["aria-label"]}),{separatorProps:l}=qk({elementType:"li"});return w.createElement($.Fragment,null,t.key!==r.collection.getFirstKey()&&w.createElement("li",{...l,className:R(Kt(fe),"spectrum-Menu-divider")}),w.createElement("li",i,t.rendered&&w.createElement("span",{...o,className:R(Kt(fe),"spectrum-Menu-sectionHeading")},t.rendered),w.createElement("ul",{...a,className:R(Kt(fe),"spectrum-Menu")},[...Io(t,r.collection)].map(s=>{let u=w.createElement(RD,{key:s.key,item:s,state:r,onAction:n});return s.wrapper&&(u=s.wrapper(u)),u}))))}function HY(e,t){let r=$.useContext(i6),n={...ee(r,e)},i=dt(t),o=$.useRef(null),a=gY(n),{menuProps:l}=fY(n,a,i),{styleProps:s}=Ie(n);return Jp(r,i),w.createElement(jY.Provider,{value:{state:a,container:o,menu:i}},w.createElement(Il,{contain:a.expandedKeys.size>0},w.createElement("ul",{...l,...s,ref:i,className:R(Kt(fe),"spectrum-Menu",s.className)},[...a.collection].map(u=>{if(u.type==="section")return w.createElement(KY,{key:u.key,item:u,state:a,onAction:n.onAction});let c=w.createElement(RD,{key:u.key,item:u,state:a,onAction:n.onAction});return u.wrapper&&(c=u.wrapper(c)),c})),w.createElement("div",{ref:o})))}const VY=w.forwardRef(HY);var uv={};Me(uv,"react-spectrum-ContextualHelp-button",()=>W1,e=>W1=e);Me(uv,"react-spectrum-ContextualHelp-dialog",()=>K1,e=>K1=e);Me(uv,"react-spectrum-ContextualHelp-content",()=>H1,e=>H1=e);Me(uv,"react-spectrum-ContextualHelp-footer",()=>V1,e=>V1=e);var W1,K1,H1,V1;W1="react-spectrum-ContextualHelp-button_0cd31c";K1="react-spectrum-ContextualHelp-dialog_0cd31c";H1="react-spectrum-ContextualHelp-content_0cd31c";V1="react-spectrum-ContextualHelp-footer_0cd31c";class G1{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){let r=this.keyMap.get(t);return(r==null?void 0:r.childNodes)||[]}constructor(t){this.keyMap=new Map,this.iterable=t;let r=o=>{if(this.keyMap.set(o.key,o),o.childNodes&&o.type==="section")for(let a of o.childNodes)r(a)};for(let o of t)r(o);let n,i=0;for(let[o,a]of this.keyMap)n?(n.nextKey=o,a.prevKey=n.key):(this.firstKey=o,a.prevKey=void 0),a.type==="item"&&(a.index=i++),n=a,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}function _D(e){let{filter:t}=e,r=Uk(e),n=$.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=$.useCallback(u=>t?new G1(t(u)):new G1(u),[t]),o=$.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),a=ER(e,i,o),l=$.useMemo(()=>new Wk(a,r),[a,r]);const s=$.useRef(null);return $.useEffect(()=>{if(r.focusedKey!=null&&!a.getItem(r.focusedKey)){const u=s.current.getItem(r.focusedKey),c=[...s.current.getKeys()].map(b=>{const v=s.current.getItem(b);return v.type==="item"?v:null}).filter(b=>b!==null),f=[...a.getKeys()].map(b=>{const v=a.getItem(b);return v.type==="item"?v:null}).filter(b=>b!==null),d=c.length-f.length;let p=Math.min(d>1?Math.max(u.index-d+1,0):u.index,f.length-1),m;for(;p>=0;){if(!l.isDisabled(f[p].key)){m=f[p];break}p<f.length-1?p++:(p>u.index&&(p=u.index),p--)}r.setFocusedKey(m?m.key:null)}s.current=a},[a,l,r,r.focusedKey]),{collection:a,disabledKeys:n,selectionManager:l}}function GY(e){var t;let[r,n]=Bu(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),i=$.useMemo(()=>r!=null?[r]:[],[r]),{collection:o,disabledKeys:a,selectionManager:l}=_D({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:i,onSelectionChange:u=>{let c=u.values().next().value;c===r&&e.onSelectionChange&&e.onSelectionChange(c),n(c)}}),s=r!=null?o.getItem(r):null;return{collection:o,disabledKeys:a,selectionManager:l,selectedKey:r,setSelectedKey:n,selectedItem:s}}var kD={};Object.defineProperty(kD,"__esModule",{value:!0});var DD=kD.AlertSmall=MD,Gm=qY($);function qY(e){return e&&e.__esModule?e:{default:e}}function q1(){return q1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},q1.apply(this,arguments)}function YY(e,t){if(e==null)return{};var r=XY(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function XY(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function MD(e){var t=e.scale,r=t===void 0?"M":t,n=YY(e,["scale"]);return Gm.default.createElement("svg",q1({},n,n),r==="L"&&Gm.default.createElement("path",{d:"M8.564 1.289L.2 16.256A.5.5 0 0 0 .636 17h16.728a.5.5 0 0 0 .436-.744L9.436 1.289a.5.5 0 0 0-.872 0zM10 14.75a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25zm0-3a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-6a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25z"}),r==="M"&&Gm.default.createElement("path",{d:"M6.66 1.003L.157 12.643a.389.389 0 0 0 .339.58h13.01a.389.389 0 0 0 .34-.58L7.338 1.004a.389.389 0 0 0-.678 0zm1.118 10.47a.194.194 0 0 1-.195.194H6.417a.194.194 0 0 1-.195-.195v-1.166a.194.194 0 0 1 .195-.195h1.166a.194.194 0 0 1 .195.195zm0-2.334a.194.194 0 0 1-.195.194H6.417a.194.194 0 0 1-.195-.194V4.472a.194.194 0 0 1 .195-.194h1.166a.194.194 0 0 1 .195.194z"}))}MD.displayName="AlertSmall";const ND=e=>w.createElement("svg",Q({viewBox:"0 0 14 14"},e),w.createElement("path",{d:"M12.717 8.678 9 2.175C8.422 1.103 7.058.689 5.954 1.25a2.225 2.225 0 0 0-.95.92L1.278 8.687a2.198 2.198 0 0 0 .058 2.238A2.264 2.264 0 0 0 3.278 12h7.445a2.264 2.264 0 0 0 1.941-1.075 2.2 2.2 0 0 0 .053-2.247ZM6.133 4.133c0-.478.388-.866.866-.867.478 0 .867.388.868.866v3a.868.868 0 0 1-1.734.002V4.133ZM7 11.1c-.661 0-1.2-.538-1.2-1.2 0-.661.538-1.2 1.2-1.2.661 0 1.2.538 1.2 1.2 0 .661-.538 1.2-1.2 1.2Z"}));ND.displayName=DD.displayName;function QY(e){var t,r;let n=Kr();return w.createElement(Sn,e,n!=null&&(t=n.theme)!=null&&(r=t.global)!=null&&r.express?w.createElement(ND,null):w.createElement(DD,null))}var LD={};Object.defineProperty(LD,"__esModule",{value:!0});var FD=LD.InfoSmall=BD,qm=JY($);function JY(e){return e&&e.__esModule?e:{default:e}}function Y1(){return Y1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Y1.apply(this,arguments)}function ZY(e,t){if(e==null)return{};var r=eX(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function eX(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function BD(e){var t=e.scale,r=t===void 0?"M":t,n=ZY(e,["scale"]);return qm.default.createElement("svg",Y1({},n,n),r==="L"&&qm.default.createElement("path",{d:"M9 1a8 8 0 1 0 8 8 8 8 0 0 0-8-8zm-.15 2.15a1.359 1.359 0 0 1 1.431 1.283q.004.064.001.129A1.332 1.332 0 0 1 8.85 5.994a1.353 1.353 0 0 1-1.432-1.433 1.359 1.359 0 0 1 1.304-1.412q.064-.002.128.001zM11 13.5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5H8V9h-.5a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5V12h.5a.5.5 0 0 1 .5.5z"}),r==="M"&&qm.default.createElement("path",{d:"M7 .778A6.222 6.222 0 1 0 13.222 7 6.222 6.222 0 0 0 7 .778zM6.883 2.45a1.057 1.057 0 0 1 1.113.998q.003.05.001.1a1.036 1.036 0 0 1-1.114 1.114A1.052 1.052 0 0 1 5.77 3.547 1.057 1.057 0 0 1 6.784 2.45q.05-.002.1.001zm1.673 8.05a.389.389 0 0 1-.39.389H5.834a.389.389 0 0 1-.389-.389v-.778a.389.389 0 0 1 .39-.389h.388V7h-.389a.389.389 0 0 1-.389-.389v-.778a.389.389 0 0 1 .39-.389h1.555a.389.389 0 0 1 .389.39v3.5h.389a.389.389 0 0 1 .389.388z"}))}BD.displayName="InfoSmall";const zD=e=>w.createElement("svg",Q({viewBox:"0 0 14 14"},e),w.createElement("path",{d:"M7 1a6 6 0 1 0 6 6 6.007 6.007 0 0 0-6-6Zm.867 8.677a.868.868 0 0 1-1.734 0V7a.868.868 0 0 1 1.734 0v2.676ZM7 5.4c-.662 0-1.2-.538-1.2-1.2S6.338 3 7 3s1.2.539 1.2 1.2S7.662 5.4 7 5.4Z"}));zD.displayName=FD.displayName;function tX(e){var t,r;let n=Kr();return w.createElement(Sn,e,n!=null&&(t=n.theme)!=null&&(r=t.global)!=null&&r.express?w.createElement(zD,null):w.createElement(FD,null))}var jD={};Object.defineProperty(jD,"__esModule",{value:!0});var UD=jD.SuccessSmall=WD,Ym=rX($);function rX(e){return e&&e.__esModule?e:{default:e}}function X1(){return X1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},X1.apply(this,arguments)}function nX(e,t){if(e==null)return{};var r=iX(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function iX(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function WD(e){var t=e.scale,r=t===void 0?"M":t,n=nX(e,["scale"]);return Ym.default.createElement("svg",X1({},n,n),r==="L"&&Ym.default.createElement("path",{d:"M9 1a8 8 0 1 0 8 8 8 8 0 0 0-8-8zm5.333 4.54l-6.324 8.13a.6.6 0 0 1-.437.23h-.037a.6.6 0 0 1-.425-.176l-3.893-3.9a.6.6 0 0 1 0-.849l.663-.663a.6.6 0 0 1 .848 0L7.4 10.991l5.256-6.754a.6.6 0 0 1 .843-.1l.728.566a.6.6 0 0 1 .106.837z"}),r==="M"&&Ym.default.createElement("path",{d:"M7 .778A6.222 6.222 0 1 0 13.222 7 6.222 6.222 0 0 0 7 .778zm4.148 3.53l-4.919 6.324a.467.467 0 0 1-.34.18h-.028a.467.467 0 0 1-.331-.138L2.502 7.641a.467.467 0 0 1 0-.66l.516-.516a.467.467 0 0 1 .66 0l2.078 2.084 4.088-5.254a.467.467 0 0 1 .655-.078l.566.44a.467.467 0 0 1 .083.652z"}))}WD.displayName="SuccessSmall";const KD=e=>w.createElement("svg",Q({viewBox:"0 0 14 14"},e),w.createElement("path",{d:"M11.523 3.057a6 6 0 1 0-9.046 7.887 6 6 0 0 0 9.046-7.887Zm-1.166 2.275L7.075 9.696a.867.867 0 0 1-.617.342l-.076.004a.864.864 0 0 1-.592-.235L3.55 7.704c-.17-.159-.266-.373-.274-.604s.077-.453.235-.621a.87.87 0 0 1 1.225-.04L6.27 7.881 8.973 4.29a.86.86 0 0 1 .693-.346.867.867 0 0 1 .692 1.388Z"}));KD.displayName=UD.displayName;function oX(e){var t,r;let n=Kr();return w.createElement(Sn,e,n!=null&&(t=n.theme)!=null&&(r=t.global)!=null&&r.express?w.createElement(KD,null):w.createElement(UD,null))}function aX(e,t){let r=_e(e,{labelable:!0}),{hoverProps:n}=nr({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:ee(r,n,{role:"tooltip"})}}function lX(e,t,r){let{isDisabled:n,trigger:i}=e,o=wt(),a=$.useRef(!1),l=$.useRef(!1),s=()=>{(a.current||l.current)&&t.open(l.current)},u=g=>{!a.current&&!l.current&&t.close(g)};$.useEffect(()=>{let g=y=>{r&&r.current&&y.key==="Escape"&&(y.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",g,!0),()=>{document.removeEventListener("keydown",g,!0)}},[r,t]);let c=()=>{i!=="focus"&&(il()==="pointer"?a.current=!0:a.current=!1,s())},f=()=>{i!=="focus"&&(l.current=!1,a.current=!1,u())},d=()=>{l.current=!1,a.current=!1,u(!0)},p=()=>{Ao()&&(l.current=!0,s())},m=()=>{l.current=!1,a.current=!1,u(!0)},{hoverProps:b}=nr({isDisabled:n,onHoverStart:c,onHoverEnd:f}),{pressProps:v}=Wu({onPressStart:d}),{focusableProps:h}=V8({isDisabled:n,onFocus:p,onBlur:m},r);return{triggerProps:{"aria-describedby":t.isOpen?o:void 0,...ee(h,b,v)},tooltipProps:{id:o}}}const sX=1500,G7=500;let Zi={},uX=0,os=!1,_n=null,eo=null;function cX(e={}){let{delay:t=sX,closeDelay:r=G7}=e,{isOpen:n,open:i,close:o}=t6(e),a=$.useMemo(()=>`${++uX}`,[]),l=$.useRef(),s=()=>{Zi[a]=f},u=()=>{for(let p in Zi)p!==a&&(Zi[p](!0),delete Zi[p])},c=()=>{clearTimeout(l.current),l.current=null,u(),s(),os=!0,i(),_n&&(clearTimeout(_n),_n=null),eo&&(clearTimeout(eo),eo=null)},f=p=>{p||r<=0?(clearTimeout(l.current),l.current=null,o()):l.current||(l.current=setTimeout(()=>{l.current=null,o()},r)),_n&&(clearTimeout(_n),_n=null),os&&(eo&&clearTimeout(eo),eo=setTimeout(()=>{delete Zi[a],eo=null,os=!1},Math.max(G7,r)))},d=()=>{u(),s(),!n&&!_n&&!os?_n=setTimeout(()=>{_n=null,os=!0,c()},t):n||c()};return $.useEffect(()=>()=>{clearTimeout(l.current),Zi[a]&&delete Zi[a]},[a]),{isOpen:n,open:p=>{!p&&t>0&&!l.current?d():c()},close:f}}function Xc(e){return e&&e.__esModule?e.default:e}function Et(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var it={};Et(it,"spectrum-Tooltip",()=>Q1,e=>Q1=e);Et(it,"is-open",()=>J1,e=>J1=e);Et(it,"spectrum-Tooltip--bottom",()=>Z1,e=>Z1=e);Et(it,"spectrum-Tooltip--top",()=>e$,e=>e$=e);Et(it,"spectrum-Tooltip--right",()=>t$,e=>t$=e);Et(it,"spectrum-Tooltip--left",()=>r$,e=>r$=e);Et(it,"spectrum-Tooltip-tip",()=>n$,e=>n$=e);Et(it,"spectrum-Tooltip-typeIcon",()=>i$,e=>i$=e);Et(it,"spectrum-Tooltip-label",()=>o$,e=>o$=e);Et(it,"u-tooltip-showOnHover",()=>a$,e=>a$=e);Et(it,"is-hovered",()=>l$,e=>l$=e);Et(it,"is-focused",()=>s$,e=>s$=e);Et(it,"spectrum-Tooltip--negative",()=>u$,e=>u$=e);Et(it,"spectrum-Tooltip--error",()=>c$,e=>c$=e);Et(it,"spectrum-Tooltip--info",()=>d$,e=>d$=e);Et(it,"spectrum-Tooltip--help",()=>f$,e=>f$=e);Et(it,"spectrum-Tooltip--positive",()=>p$,e=>p$=e);Et(it,"spectrum-Tooltip--success",()=>v$,e=>v$=e);var Q1,J1,Z1,e$,t$,r$,n$,i$,o$,a$,l$,s$,u$,c$,d$,f$,p$,v$;Q1="spectrum-Tooltip_22ae94";J1="is-open_22ae94";Z1="spectrum-Tooltip--bottom_22ae94";e$="spectrum-Tooltip--top_22ae94";t$="spectrum-Tooltip--right_22ae94";r$="spectrum-Tooltip--left_22ae94";n$="spectrum-Tooltip-tip_22ae94";i$="spectrum-Tooltip-typeIcon_22ae94";o$="spectrum-Tooltip-label_22ae94";a$="u-tooltip-showOnHover_22ae94";l$="is-hovered_22ae94";s$="is-focused_22ae94";u$="spectrum-Tooltip--negative_22ae94";c$="spectrum-Tooltip--error_22ae94";d$="spectrum-Tooltip--info_22ae94";f$="spectrum-Tooltip--help_22ae94";p$="spectrum-Tooltip--positive_22ae94";v$="spectrum-Tooltip--success_22ae94";const HD=w.createContext({});let dX={info:tX,positive:oX,negative:QY};function fX(e,t){let{ref:r,arrowProps:n,state:i,arrowRef:o,...a}=$.useContext(HD),l=$.useRef();r=r||l,e=ee(e,a);let{variant:s="neutral",placement:u="top",isOpen:c,showIcon:f,...d}=e,{styleProps:p}=Ie(d),{tooltipProps:m}=aX(e,i);$.useImperativeHandle(t,()=>B8(r));let b=dX[s];return w.createElement("div",{...p,...m,className:R(Xc(it),"spectrum-Tooltip",`spectrum-Tooltip--${s}`,`spectrum-Tooltip--${u}`,{"is-open":c},p.className),ref:r},f&&s!=="neutral"&&w.createElement(b,{UNSAFE_className:R(Xc(it),"spectrum-Tooltip-typeIcon"),"aria-hidden":!0}),e.children&&w.createElement("span",{className:R(Xc(it),"spectrum-Tooltip-label")},e.children),w.createElement("span",{...n,ref:o,className:R(Xc(it),"spectrum-Tooltip-tip")}))}let pX=w.forwardRef(fX);const vX=-1,mX=0;function m$(e){let{children:t,crossOffset:r=mX,isDisabled:n,offset:i=vX,trigger:o}=e,[a,l]=w.Children.toArray(t),s=cX(e),u=$.useRef(),c=$.useRef(),{triggerProps:f,tooltipProps:d}=lX({isDisabled:n,trigger:o},s,u),[p,m]=$.useState(0);pe(()=>{if(c.current&&s.isOpen){let C=window.getComputedStyle(c.current).borderRadius;C!==""&&m(parseInt(C,10))}},[s.isOpen,c]);let b=$.useRef(null),[v,h]=$.useState(0);pe(()=>{b.current&&s.isOpen&&h(b.current.getBoundingClientRect().width)},[s.isOpen,b]);let{overlayProps:g,arrowProps:y,placement:x}=XR({placement:e.placement||"top",targetRef:u,overlayRef:c,offset:i,crossOffset:r,isOpen:s.isOpen,shouldFlip:e.shouldFlip,containerPadding:e.containerPadding,arrowSize:v,arrowBoundaryOffset:p});return w.createElement(jG,{...f,ref:u},a,w.createElement(HD.Provider,{value:{state:s,placement:x,ref:c,UNSAFE_style:g.style,arrowProps:y,arrowRef:b,...d}},w.createElement(av,{isOpen:s.isOpen,nodeRef:c},l)))}m$.getCollectionNode=function*(e){let t=[];w.Children.forEach(e.children,i=>{w.isValidElement(i)&&t.push(i)});let[r,n]=t;yield{element:r,wrapper:i=>w.createElement(m$,{key:i.key,...e},i,n)}};let hX=m$;const gX={none:"toolbar",single:"radiogroup",multiple:"toolbar"};function bX(e,t,r){let{isDisabled:n,orientation:i="horizontal"}=e;[...t.collection.getKeys()].some(f=>!t.disabledKeys.has(f))||(n=!0);let{direction:a}=br(),l=FG(r),s=a==="rtl"&&i==="horizontal",u=f=>{if(f.currentTarget.contains(f.target))switch(f.key){case"ArrowRight":case"ArrowDown":f.preventDefault(),f.stopPropagation(),f.key==="ArrowRight"&&s?l.focusPrevious({wrap:!0}):l.focusNext({wrap:!0});break;case"ArrowLeft":case"ArrowUp":f.preventDefault(),f.stopPropagation(),f.key==="ArrowLeft"&&s?l.focusNext({wrap:!0}):l.focusPrevious({wrap:!0});break}},c=gX[t.selectionManager.selectionMode];return{actionGroupProps:{..._e(e,{labelable:!0}),role:c,"aria-orientation":c==="toolbar"?i:void 0,"aria-disabled":n,onKeyDown:u}}}const yX={none:void 0,single:"radio",multiple:"checkbox"};function VD(e,t,r){let n=t.selectionManager.selectionMode,i={role:yX[n]};if(n!=="none"){let l=t.selectionManager.isSelected(e.key);i["aria-checked"]=l}let o=e.key===t.selectionManager.focusedKey,a=Rr(()=>{o&&t.selectionManager.setFocusedKey(null)});return $.useEffect(()=>()=>{a()},[a]),{buttonProps:ee(i,{tabIndex:o||t.selectionManager.focusedKey==null?0:-1,onFocus(){t.selectionManager.setFocusedKey(e.key)},onPress(){t.selectionManager.select(e.key)}})}}function Fn(e){return e&&e.__esModule?e.default:e}function se(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Pe={};se(Pe,"spectrum-Button",()=>h$,e=>h$=e);se(Pe,"spectrum-ActionButton",()=>g$,e=>g$=e);se(Pe,"spectrum-LogicButton",()=>b$,e=>b$=e);se(Pe,"spectrum-FieldButton",()=>y$,e=>y$=e);se(Pe,"spectrum-ClearButton",()=>$$,e=>$$=e);se(Pe,"focus-ring",()=>x$,e=>x$=e);se(Pe,"spectrum-FieldButton--quiet",()=>w$,e=>w$=e);se(Pe,"spectrum-Icon",()=>S$,e=>S$=e);se(Pe,"is-hovered",()=>E$,e=>E$=e);se(Pe,"spectrum-Button-label",()=>C$,e=>C$=e);se(Pe,"spectrum-Button--iconOnly",()=>P$,e=>P$=e);se(Pe,"spectrum-ActionButton-label",()=>I$,e=>I$=e);se(Pe,"spectrum-ActionButton-hold",()=>T$,e=>T$=e);se(Pe,"spectrum-ActionButton--quiet",()=>A$,e=>A$=e);se(Pe,"is-disabled",()=>O$,e=>O$=e);se(Pe,"is-open",()=>R$,e=>R$=e);se(Pe,"spectrum-ClearButton--small",()=>_$,e=>_$=e);se(Pe,"is-active",()=>k$,e=>k$=e);se(Pe,"spectrum-ClearButton--overBackground",()=>D$,e=>D$=e);se(Pe,"is-selected",()=>M$,e=>M$=e);se(Pe,"spectrum-ActionButton--emphasized",()=>N$,e=>N$=e);se(Pe,"spectrum-ActionButton--staticWhite",()=>L$,e=>L$=e);se(Pe,"spectrum-ActionButton--staticBlack",()=>F$,e=>F$=e);se(Pe,"spectrum-ActionButton--staticColor",()=>B$,e=>B$=e);se(Pe,"spectrum-LogicButton--and",()=>z$,e=>z$=e);se(Pe,"spectrum-LogicButton--or",()=>j$,e=>j$=e);se(Pe,"is-focused",()=>U$,e=>U$=e);se(Pe,"is-placeholder",()=>W$,e=>W$=e);se(Pe,"spectrum-FieldButton--invalid",()=>K$,e=>K$=e);se(Pe,"spectrum-Button--overBackground",()=>H$,e=>H$=e);var h$,g$,b$,y$,$$,x$,w$,S$,E$,C$,P$,I$,T$,A$,O$,R$,_$,k$,D$,M$,N$,L$,F$,B$,z$,j$,U$,W$,K$,H$;h$="spectrum-Button_e2d99e";g$="spectrum-ActionButton_e2d99e";b$="spectrum-LogicButton_e2d99e";y$="spectrum-FieldButton_e2d99e";$$="spectrum-ClearButton_e2d99e";x$="focus-ring_e2d99e";w$="spectrum-FieldButton--quiet_e2d99e";S$="spectrum-Icon_e2d99e";E$="is-hovered_e2d99e";C$="spectrum-Button-label_e2d99e";P$="spectrum-Button--iconOnly_e2d99e";I$="spectrum-ActionButton-label_e2d99e";T$="spectrum-ActionButton-hold_e2d99e";A$="spectrum-ActionButton--quiet_e2d99e";O$="is-disabled_e2d99e";R$="is-open_e2d99e";_$="spectrum-ClearButton--small_e2d99e";k$="is-active_e2d99e";D$="spectrum-ClearButton--overBackground_e2d99e";M$="is-selected_e2d99e";N$="spectrum-ActionButton--emphasized_e2d99e";L$="spectrum-ActionButton--staticWhite_e2d99e";F$="spectrum-ActionButton--staticBlack_e2d99e";B$="spectrum-ActionButton--staticColor_e2d99e";z$="spectrum-LogicButton--and_e2d99e";j$="spectrum-LogicButton--or_e2d99e";U$="is-focused_e2d99e";W$="is-placeholder_e2d99e";K$="spectrum-FieldButton--invalid_e2d99e";H$="spectrum-Button--overBackground_e2d99e";var Je={};se(Je,"flex-container",()=>V$,e=>V$=e);se(Je,"flex-gap",()=>G$,e=>G$=e);se(Je,"spectrum-ActionGroup",()=>q$,e=>q$=e);se(Je,"spectrum-ActionGroup-item",()=>Y$,e=>Y$=e);se(Je,"spectrum-ActionGroup--vertical",()=>X$,e=>X$=e);se(Je,"spectrum-ActionGroup--quiet",()=>Q$,e=>Q$=e);se(Je,"spectrum-ActionGroup--justified",()=>J$,e=>J$=e);se(Je,"spectrum-ActionGroup--compact",()=>Z$,e=>Z$=e);se(Je,"spectrum-ActionGroup-item--isDisabled",()=>e2,e=>e2=e);se(Je,"is-selected",()=>t2,e=>t2=e);se(Je,"is-hovered",()=>r2,e=>r2=e);se(Je,"spectrum-ActionGroup--overflowCollapse",()=>n2,e=>n2=e);se(Je,"spectrum-ActionGroup-menu",()=>i2,e=>i2=e);se(Je,"spectrum-ActionGroup-menu-chevron",()=>o2,e=>o2=e);se(Je,"spectrum-ActionGroup-menu-contents",()=>a2,e=>a2=e);se(Je,"spectrum-ActionGroup-item--iconOnly",()=>l2,e=>l2=e);var V$,G$,q$,Y$,X$,Q$,J$,Z$,e2,t2,r2,n2,i2,o2,a2,l2;V$="flex-container_7684cb";G$="flex-gap_7684cb";q$="spectrum-ActionGroup_7684cb";Y$="spectrum-ActionGroup-item_7684cb";X$="spectrum-ActionGroup--vertical_7684cb";Q$="spectrum-ActionGroup--quiet_7684cb";J$="spectrum-ActionGroup--justified_7684cb";Z$="spectrum-ActionGroup--compact_7684cb";e2="spectrum-ActionGroup-item--isDisabled_7684cb";t2="is-selected_7684cb";r2="is-hovered_7684cb";n2="spectrum-ActionGroup--overflowCollapse_7684cb";i2="spectrum-ActionGroup-menu_7684cb";o2="spectrum-ActionGroup-menu-chevron_7684cb";a2="spectrum-ActionGroup-menu-contents_7684cb";l2="spectrum-ActionGroup-item--iconOnly_7684cb";function $X(e,t){e=Xn(e),e=yr(e,"actionGroup");let{isEmphasized:r,density:n,isJustified:i,isDisabled:o,orientation:a="horizontal",isQuiet:l,staticColor:s,overflowMode:u="wrap",onAction:c,buttonLabelBehavior:f,summaryIcon:d,...p}=e,m=dt(t),b=$.useRef(null),v=_D({...e,suppressTextValueWarning:!0}),{actionGroupProps:h}=bX(e,v,m),g=a==="vertical",y={isEmphasized:r,isDisabled:o,isQuiet:l},{styleProps:x}=Ie(e),C=$.useMemo(()=>[...v.collection].every(W=>typeof W.rendered!="string"),[v.collection]),[{visibleItems:E,hideButtonText:P,isMeasuring:S},I]=M8({visibleItems:v.collection.size,hideButtonText:f==="hide"&&C,isMeasuring:!1}),_=v.selectionManager.selectionMode,T=$.useCallback(()=>{if(u==="wrap"||a==="vertical"&&_!=="none")return;let W=N=>{if(m.current&&b.current){let Y=Array.from(m.current.children),oe=a==="horizontal"?b.current.offsetWidth:b.current.offsetHeight,M=N<v.collection.size,L=0,F=0;if(M){let K=Y.pop();K&&(L+=a==="horizontal"?q7(K,!1,!0):Y7(K,!1,!0))}for(let[K,re]of Y.entries())if(L+=a==="horizontal"?q7(re,K===0,K===Y.length-1):Y7(re,K===0,K===Y.length-1),L<=oe)F++;else break;return _!=="none"&&F<v.collection.size?0:F}return N};I(function*(){let N=f==="hide"&&C;yield{visibleItems:v.collection.size,hideButtonText:N,isMeasuring:!0};let Y=W(v.collection.size),oe=Y<v.collection.size&&Y>0;Y<v.collection.size&&f==="collapse"&&C&&(yield{visibleItems:v.collection.size,hideButtonText:!0,isMeasuring:!0},Y=W(v.collection.size),oe=Y<v.collection.size&&Y>0,N=!0),yield{visibleItems:Y,hideButtonText:N,isMeasuring:oe},oe&&(yield{visibleItems:W(Y),hideButtonText:N,isMeasuring:!1})})},[m,v.collection,I,u,_,f,C,a]),k=$.useMemo(()=>({get current(){var W;return(W=b.current)===null||W===void 0?void 0:W.parentElement}}),[b]);zu({ref:u!=="wrap"?k:void 0,onResize:T}),pe(T,[T,v.collection]);let A=[...v.collection],O=null,U={};if(u==="collapse"&&E===0&&(U=_e(e,{labelable:!0}),h={}),u==="collapse"&&E<v.collection.size){let W=A.slice(E);A=A.slice(0,E),O=w.createElement(SX,{...U,items:W,onAction:c,isDisabled:o,isEmphasized:r,staticColor:s,state:v,summaryIcon:d,hideButtonText:P,isOnlyItem:E===0,orientation:a})}let G={...x.style,flexBasis:S?"100%":void 0};return w.createElement(Il,null,w.createElement("div",{...x,style:G,className:R(Fn(Je),"flex-container",x.className),ref:b},w.createElement("div",{...h,ref:m,className:R(Fn(Je),"flex-gap","spectrum-ActionGroup",{"spectrum-ActionGroup--quiet":l,"spectrum-ActionGroup--vertical":g,"spectrum-ActionGroup--compact":n==="compact","spectrum-ActionGroup--justified":i&&!S,"spectrum-ActionGroup--overflowCollapse":u==="collapse"},p.UNSAFE_className)},w.createElement(iv,y,A.map(W=>w.createElement(wX,{key:W.key,onAction:c,isDisabled:o,isEmphasized:r,staticColor:s,item:W,state:v,hideButtonText:P,orientation:a})),O))))}const xX=$.forwardRef($X);function wX({item:e,state:t,isDisabled:r,isEmphasized:n,staticColor:i,onAction:o,hideButtonText:a,orientation:l}){let s=$.useRef(null),{buttonProps:u}=VD({key:e.key},t);r=r||t.disabledKeys.has(e.key);let c=t.selectionManager.isSelected(e.key),{hoverProps:f,isHovered:d}=nr({isDisabled:r}),p=_e(e.props);o&&!r&&(u=ee(u,{onPress:()=>o(e.key)}));let m=wt(),[b,v]=$.useState("");pe(()=>{var g;a&&v((g=document.getElementById(m))===null||g===void 0?void 0:g.textContent)},[a,e.rendered,m]);let h=w.createElement(Ku,ee(u,f,p),w.createElement(Uu,null,w.createElement(Wr,{slots:{text:{id:a?m:null,isHidden:a}}},w.createElement(ov,{ref:s,UNSAFE_className:R(Fn(Je),"spectrum-ActionGroup-item",{"is-selected":c,"is-hovered":d,"spectrum-ActionGroup-item--iconOnly":a,"spectrum-ActionGroup-item--isDisabled":r},R(Fn(Pe),{"spectrum-ActionButton--emphasized":n,"is-selected":c})),isDisabled:r,staticColor:i,"aria-label":e["aria-label"],"aria-labelledby":e["aria-label"]==null&&a?m:void 0},e.rendered))));return a&&b&&(h=w.createElement(hX,{placement:l==="vertical"?"end":"top"},h,w.createElement(pX,null,b))),e.wrapper&&(h=e.wrapper(h)),h}function SX({state:e,isDisabled:t,isEmphasized:r,staticColor:n,items:i,onAction:o,summaryIcon:a,hideButtonText:l,isOnlyItem:s,orientation:u,...c}){let f=i[0].key,{buttonProps:d}=VD({key:f},e);delete d.onPress,delete d.role,delete d["aria-checked"];let{hoverProps:p,isHovered:m}=nr({isDisabled:t}),b=c["aria-label"]||(c["aria-labelledby"]?void 0:"…"),v=c["aria-labelledby"],h=wt(),g=wt();e.selectionManager.selectionMode==="none"&&(a=null);let y=!1,x=e.selectionManager.selectionMode!=="none"&&!e.selectionManager.isEmpty;if(!a&&e.selectionManager.selectionMode==="single"&&e.selectionManager.disallowEmptySelection&&e.selectionManager.firstSelectedKey!=null){let C=e.collection.getItem(e.selectionManager.firstSelectedKey);C&&(a=C.rendered,typeof a=="string"&&(a=w.createElement(Tl,null,a)),y=!!l,v=`${v??g} ${h}`)}return a&&(a=w.createElement(w.Fragment,null,w.createElement(X8,{UNSAFE_className:R(Fn(Je),"spectrum-ActionGroup-menu-chevron")}),w.createElement("span",{className:R(Fn(Je),"spectrum-ActionGroup-menu-contents",{"spectrum-ActionGroup-item--iconOnly":y})},a))),w.createElement(WY,{align:s?"start":"end",direction:u==="vertical"?"end":"bottom"},w.createElement(Wr,{slots:{text:{id:l?h:null,isHidden:l,UNSAFE_className:R(Fn(Je),"spectrum-ActionGroup-menu-text")}}},w.createElement(Ku,ee(d,p),w.createElement(ov,{...c,id:g,"aria-label":b,"aria-labelledby":v,UNSAFE_className:R(Fn(Je),"spectrum-ActionGroup-item","spectrum-ActionGroup-menu",{"is-hovered":m,"is-selected":x},R(Fn(Pe),{"is-selected":x,"spectrum-ActionButton--emphasized":r})),isDisabled:t,staticColor:n},a||w.createElement(LY,null)))),w.createElement(VY,{items:i,disabledKeys:e.disabledKeys,selectionMode:e.selectionManager.selectionMode,selectedKeys:e.selectionManager.selectedKeys,disallowEmptySelection:e.selectionManager.disallowEmptySelection,onSelectionChange:C=>e.selectionManager.setSelectedKeys(C),onAction:o},C=>w.createElement(oV,{textValue:C.textValue,..._e(C.props)},C.rendered)))}function q7(e,t,r){let n=window.getComputedStyle(e);return e.offsetWidth+(t?0:Ff(n.marginLeft))+(r?0:Ff(n.marginRight))}function Y7(e,t,r){let n=window.getComputedStyle(e);return e.offsetHeight+(t?0:Ff(n.marginTop))+(r?0:Ff(n.marginBottom))}function Ff(e){let t=parseInt(e,10);return isNaN(t)?0:t}const GD=7e3;let Xm=null;function Bd(e,t="assertive",r=GD){Xm||(Xm=new EX),Xm.announce(e,t,r)}class EX{createLog(t){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",t),r.setAttribute("aria-relevant","additions"),r}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,r="assertive",n=GD){if(!this.node)return;let i=document.createElement("div");i.textContent=t,r==="assertive"?this.assertiveLog.appendChild(i):this.politeLog.appendChild(i),t!==""&&setTimeout(()=>{i.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&(this.politeLog.innerHTML=""))}constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}}var qD={};Object.defineProperty(qD,"__esModule",{value:!0});var CX=qD.CrossLarge=YD,Qm=PX($);function PX(e){return e&&e.__esModule?e:{default:e}}function s2(){return s2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s2.apply(this,arguments)}function IX(e,t){if(e==null)return{};var r=TX(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function TX(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function YD(e){var t=e.scale,r=t===void 0?"M":t,n=IX(e,["scale"]);return Qm.default.createElement("svg",s2({},n,n),r==="L"&&Qm.default.createElement("path",{d:"M15.697 14.283L9.414 8l6.283-6.283A1 1 0 1 0 14.283.303L8 6.586 1.717.303A1 1 0 1 0 .303 1.717L6.586 8 .303 14.283a1 1 0 1 0 1.414 1.414L8 9.414l6.283 6.283a1 1 0 1 0 1.414-1.414z"}),r==="M"&&Qm.default.createElement("path",{d:"M11.697 10.283L7.414 6l4.283-4.283A1 1 0 1 0 10.283.303L6 4.586 1.717.303A1 1 0 1 0 .303 1.717L4.586 6 .303 10.283a1 1 0 1 0 1.414 1.414L6 7.414l4.283 4.283a1 1 0 1 0 1.414-1.414z"}))}YD.displayName="CrossLarge";function XD(e){return w.createElement(Sn,e,w.createElement(CX,null))}function as(e){return e&&e.__esModule?e.default:e}function Wo(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var QD={},JD={};JD={actions:"الإجراءات",actionsAvailable:"الإجراءات المتاحة.",clearSelection:"إزالة التحديد",selected:(e,t)=>`${t.plural(e.count,{"=0":"غير محدد",other:()=>`${t.number(e.count)} محدد`})}`,selectedAll:"تم تحديد الكل"};var ZD={};ZD={actions:"Действия",actionsAvailable:"Налични действия.",clearSelection:"Изчистване на избора",selected:(e,t)=>`${t.plural(e.count,{"=0":"Няма избрани",other:()=>`${t.number(e.count)} избрани`})}`,selectedAll:"Всички избрани"};var eM={};eM={actions:"Akce",actionsAvailable:"Dostupné akce.",clearSelection:"Vymazat výběr",selected:(e,t)=>`${t.plural(e.count,{"=0":"Nic není vybráno",other:()=>`Vybráno ${t.number(e.count)}`})}`,selectedAll:"Vybráno vše"};var tM={};tM={actions:"Handlinger",actionsAvailable:"Tilgængelige handlinger.",clearSelection:"Ryd markering",selected:(e,t)=>`${t.plural(e.count,{"=0":"Ingen valgt",other:()=>`${t.number(e.count)} valgt`})}`,selectedAll:"Alle valgt"};var rM={};rM={actions:"Aktionen",actionsAvailable:"Aktionen verfügbar.",clearSelection:"Auswahl löschen",selected:(e,t)=>`${t.plural(e.count,{"=0":"Nichts ausgewählt",other:()=>`${t.number(e.count)} ausgewählt`})}`,selectedAll:"Alles ausgewählt"};var nM={};nM={actions:"Ενέργειες",actionsAvailable:"Υπάρχουν διαθέσιμες ενέργειες.",clearSelection:"Εκκαθάριση επιλογής",selected:(e,t)=>`${t.plural(e.count,{"=0":"Δεν επιλέχθηκε κανένα",other:()=>`Επιλέχθηκαν ${t.number(e.count)}`})}`,selectedAll:"Επιλέχθηκαν όλα"};var iM={};iM={clearSelection:"Clear selection",selected:(e,t)=>`${t.plural(e.count,{"=0":"None selected",other:()=>`${t.number(e.count)} selected`})}`,selectedAll:"All selected",actions:"Actions",actionsAvailable:"Actions available."};var oM={};oM={actions:"Acciones",actionsAvailable:"Acciones disponibles.",clearSelection:"Borrar selección",selected:(e,t)=>`${t.plural(e.count,{"=0":"Nada seleccionado",other:()=>`${t.number(e.count)} seleccionado`})}`,selectedAll:"Todo seleccionado"};var aM={};aM={actions:"Toimingud",actionsAvailable:"Toimingud saadaval.",clearSelection:"Puhasta valik",selected:(e,t)=>`${t.plural(e.count,{"=0":"Pole valitud",other:()=>`${t.number(e.count)} valitud`})}`,selectedAll:"Kõik valitud"};var lM={};lM={actions:"Toiminnot",actionsAvailable:"Toiminnot käytettävissä.",clearSelection:"Poista valinta",selected:(e,t)=>`${t.plural(e.count,{"=0":"Ei mitään valittu",other:()=>`${t.number(e.count)} valittu`})}`,selectedAll:"Kaikki valittu"};var sM={};sM={actions:"Actions",actionsAvailable:"Actions disponibles.",clearSelection:"Supprimer la sélection",selected:(e,t)=>`${t.plural(e.count,{"=0":"Aucun élément sélectionné",other:()=>`${t.number(e.count)} sélectionnés`})}`,selectedAll:"Toute la sélection"};var uM={};uM={actions:"פעולות",actionsAvailable:"פעולות זמינות.",clearSelection:"נקה בחירה",selected:(e,t)=>`${t.plural(e.count,{"=0":"לא בוצעה בחירה",other:()=>`${t.number(e.count)} נבחרו`})}`,selectedAll:"כל הפריטים שנבחרו"};var cM={};cM={actions:"Radnje",actionsAvailable:"Dostupne radnje.",clearSelection:"Poništi odabir",selected:(e,t)=>`${t.plural(e.count,{"=0":"Nijedna nije odabrana",other:()=>`${t.number(e.count)} je odabrano`})}`,selectedAll:"Sve je odabrano"};var dM={};dM={actions:"Műveletek",actionsAvailable:"Műveletek állnak rendelkezésre.",clearSelection:"Kijelölés törlése",selected:(e,t)=>`${t.plural(e.count,{"=0":"Egy sincs kijelölve",other:()=>`${t.number(e.count)} kijelölve`})}`,selectedAll:"Mind kijelölve"};var fM={};fM={actions:"Azioni",actionsAvailable:"Azioni disponibili.",clearSelection:"Annulla selezione",selected:(e,t)=>`${t.plural(e.count,{"=0":"Nessuno selezionato",other:()=>`${t.number(e.count)} selezionato/i`})}`,selectedAll:"Tutti selezionati"};var pM={};pM={actions:"アクション",actionsAvailable:"アクションを利用できます。",clearSelection:"選択をクリア",selected:(e,t)=>`${t.plural(e.count,{"=0":"選択されていません",other:()=>`${t.number(e.count)} 個を選択しました`})}`,selectedAll:"すべてを選択"};var vM={};vM={actions:"액션",actionsAvailable:"사용 가능한 액션",clearSelection:"선택 항목 지우기",selected:(e,t)=>`${t.plural(e.count,{"=0":"선택된 항목 없음",other:()=>`${t.number(e.count)}개 선택됨`})}`,selectedAll:"모두 선택됨"};var mM={};mM={actions:"Veiksmai",actionsAvailable:"Galimi veiksmai.",clearSelection:"Išvalyti pasirinkimą",selected:(e,t)=>`${t.plural(e.count,{"=0":"Nieko nepasirinkta",other:()=>`Pasirinkta ${t.number(e.count)}`})}`,selectedAll:"Pasirinkta viskas"};var hM={};hM={actions:"Darbības",actionsAvailable:"Pieejamas darbības.",clearSelection:"Notīrīt atlasi",selected:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlasīts nekas",other:()=>`Atlasīts: ${t.number(e.count)}`})}`,selectedAll:"Atlasīts viss"};var gM={};gM={actions:"Handlinger",actionsAvailable:"Tilgjengelige handlinger.",clearSelection:"Tøm utvalg",selected:(e,t)=>`${t.plural(e.count,{"=0":"Ingen er valgt",other:()=>`${t.number(e.count)} er valgt`})}`,selectedAll:"Alle er valgt"};var bM={};bM={actions:"Acties",actionsAvailable:"Acties beschikbaar.",clearSelection:"Selectie wissen",selected:(e,t)=>`${t.plural(e.count,{"=0":"Niets geselecteerd",other:()=>`${t.number(e.count)} geselecteerd`})}`,selectedAll:"Alles geselecteerd"};var yM={};yM={actions:"Działania",actionsAvailable:"Dostępne działania.",clearSelection:"Wyczyść zaznaczenie",selected:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono żadnego elementu",other:()=>`${t.number(e.count)} zaznaczonych`})}`,selectedAll:"Wszystkie zaznaczone"};var $M={};$M={actions:"Ações",actionsAvailable:"Ações disponíveis.",clearSelection:"Limpar seleção",selected:(e,t)=>`${t.plural(e.count,{"=0":"Nada selecionado",other:()=>`${t.number(e.count)} selecionado`})}`,selectedAll:"Todos selecionados"};var xM={};xM={actions:"Ações",actionsAvailable:"Ações disponíveis.",clearSelection:"Limpar seleção",selected:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum selecionado",other:()=>`${t.number(e.count)} selecionado`})}`,selectedAll:"Tudo selecionado"};var wM={};wM={actions:"Acțiuni",actionsAvailable:"Acțiuni disponibile.",clearSelection:"Goliți selecția",selected:(e,t)=>`${t.plural(e.count,{"=0":"Niciunul selectat",other:()=>`${t.number(e.count)} selectate`})}`,selectedAll:"Toate selectate"};var SM={};SM={actions:"Действия",actionsAvailable:"Возможно выполнение действий.",clearSelection:"Очистить выбор",selected:(e,t)=>`${t.plural(e.count,{"=0":"Ничего не выбоано",other:()=>`${t.number(e.count)} выбрано`})}`,selectedAll:"Выбрано все"};var EM={};EM={actions:"Akcie",actionsAvailable:"Dostupné akcie.",clearSelection:"Vymazať výber",selected:(e,t)=>`${t.plural(e.count,{"=0":"Žiadne vybraté položky",other:()=>`Počet vybratých položiek: ${t.number(e.count)}`})}`,selectedAll:"Všetky vybraté položky"};var CM={};CM={actions:"Dejanja",actionsAvailable:"Na voljo so dejanja.",clearSelection:"Počisti izbor",selected:(e,t)=>`${t.plural(e.count,{"=0":"Nič izbranih",other:()=>`${t.number(e.count)} izbranih`})}`,selectedAll:"Vsi izbrani"};var PM={};PM={actions:"Radnje",actionsAvailable:"Dostupne su radnje.",clearSelection:"Poništi izbor",selected:(e,t)=>`${t.plural(e.count,{"=0":"Ništa nije izabrano",other:()=>`${t.number(e.count)} je izabrano`})}`,selectedAll:"Sve je izabrano"};var IM={};IM={actions:"Åtgärder",actionsAvailable:"Åtgärder finns.",clearSelection:"Rensa markering",selected:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade",other:()=>`${t.number(e.count)} markerade`})}`,selectedAll:"Alla markerade"};var TM={};TM={actions:"Eylemler",actionsAvailable:"Eylemler mevcut.",clearSelection:"Seçimi temizle",selected:(e,t)=>`${t.plural(e.count,{"=0":"Hiçbiri seçilmedi",other:()=>`${t.number(e.count)} seçildi`})}`,selectedAll:"Tümü seçildi"};var AM={};AM={actions:"Дії",actionsAvailable:"Доступні дії.",clearSelection:"Очистити вибір",selected:(e,t)=>`${t.plural(e.count,{"=0":"Нічого не вибрано",other:()=>`Вибрано: ${t.number(e.count)}`})}`,selectedAll:"Усе вибрано"};var OM={};OM={actions:"操作",actionsAvailable:"有可用操作。",clearSelection:"清除选择",selected:(e,t)=>`${t.plural(e.count,{"=0":"无选择",other:()=>`已选择 ${t.number(e.count)} 个`})}`,selectedAll:"全选"};var RM={};RM={actions:"動作",actionsAvailable:"可執行的動作。",clearSelection:"清除選取項目",selected:(e,t)=>`${t.plural(e.count,{"=0":"未選取任何項目",other:()=>`已選取 ${t.number(e.count)} 個`})}`,selectedAll:"已選取所有項目"};QD={"ar-AE":JD,"bg-BG":ZD,"cs-CZ":eM,"da-DK":tM,"de-DE":rM,"el-GR":nM,"en-US":iM,"es-ES":oM,"et-EE":aM,"fi-FI":lM,"fr-FR":sM,"he-IL":uM,"hr-HR":cM,"hu-HU":dM,"it-IT":fM,"ja-JP":pM,"ko-KR":vM,"lt-LT":mM,"lv-LV":hM,"nb-NO":gM,"nl-NL":bM,"pl-PL":yM,"pt-BR":$M,"pt-PT":xM,"ro-RO":wM,"ru-RU":SM,"sk-SK":EM,"sl-SI":CM,"sr-SP":PM,"sv-SE":IM,"tr-TR":TM,"uk-UA":AM,"zh-CN":OM,"zh-TW":RM};var Zr={};Wo(Zr,"ActionBarContainer",()=>u2,e=>u2=e);Wo(Zr,"react-spectrum-ActionBar",()=>c2,e=>c2=e);Wo(Zr,"is-open",()=>d2,e=>d2=e);Wo(Zr,"react-spectrum-ActionBar-bar",()=>f2,e=>f2=e);Wo(Zr,"react-spectrum-ActionBar--emphasized",()=>p2,e=>p2=e);Wo(Zr,"react-spectrum-ActionBar-selectedCount",()=>v2,e=>v2=e);Wo(Zr,"react-spectrum-ActionBar-actionGroup",()=>m2,e=>m2=e);var u2,c2,d2,f2,p2,v2,m2;u2="ActionBarContainer_cca088";c2="react-spectrum-ActionBar_cca088";d2="is-open_cca088";f2="react-spectrum-ActionBar-bar_cca088";p2="react-spectrum-ActionBar--emphasized_cca088";v2="react-spectrum-ActionBar-selectedCount_cca088";m2="react-spectrum-ActionBar-actionGroup_cca088";function AX(e,t){let r=e.selectedItemCount!==0,n=dt(t);return w.createElement(J_,{nodeRef:n,in:r,mountOnEnter:!0,unmountOnExit:!0},w.createElement(RX,{...e,ref:n}))}function OX(e,t){e=Xn(e);let{children:r,isEmphasized:n,onAction:i,onClearSelection:o,selectedItemCount:a,isOpen:l,items:s}=e,{styleProps:u}=Ie(e),c=Ur(as(QD)),[f,d]=$.useState(a);(a==="all"||a>0)&&a!==f&&d(a);let{keyboardProps:p}=W8({onKeyDown(b){b.key==="Escape"&&(b.preventDefault(),o())}}),m=$.useRef(!0);return $.useEffect(()=>{m.current&&(m.current=!1,Bd(c.format("actionsAvailable")))},[c]),w.createElement(Il,{restoreFocus:!0},w.createElement("div",{..._e(e),...u,...p,ref:t,className:R(as(Zr),"react-spectrum-ActionBar",{"react-spectrum-ActionBar--emphasized":n,"is-open":l},u.className)},w.createElement("div",{className:R(as(Zr),"react-spectrum-ActionBar-bar")},w.createElement(xX,{items:s,"aria-label":c.format("actions"),isQuiet:!0,staticColor:n?"white":void 0,overflowMode:"collapse",buttonLabelBehavior:"collapse",onAction:i,UNSAFE_className:R(as(Zr),"react-spectrum-ActionBar-actionGroup")},r),w.createElement(ov,{gridArea:"clear","aria-label":c.format("clearSelection"),onPress:()=>o(),isQuiet:!0,staticColor:n?"white":void 0},w.createElement(XD,null)),w.createElement(Tl,{UNSAFE_className:R(as(Zr),"react-spectrum-ActionBar-selectedCount")},f==="all"?c.format("selectedAll"):c.format("selected",{count:f})))))}const RX=w.forwardRef(OX),sge=w.forwardRef(AX);function X7(e){return e&&e.__esModule?e.default:e}function qu(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Oo={};qu(Oo,"spectrum-ButtonGroup",()=>h2,e=>h2=e);qu(Oo,"spectrum-ButtonGroup-Button",()=>g2,e=>g2=e);qu(Oo,"spectrum-ButtonGroup--alignEnd",()=>b2,e=>b2=e);qu(Oo,"spectrum-ButtonGroup--alignCenter",()=>y2,e=>y2=e);qu(Oo,"spectrum-ButtonGroup--vertical",()=>$2,e=>$2=e);var h2,g2,b2,y2,$2;h2="spectrum-ButtonGroup_b10c2f";g2="spectrum-ButtonGroup-Button_b10c2f";b2="spectrum-ButtonGroup--alignEnd_b10c2f";y2="spectrum-ButtonGroup--alignCenter_b10c2f";$2="spectrum-ButtonGroup--vertical_b10c2f";function _X(e,t){let{scale:r}=Kr();e=Xn(e),e=yr(e,"buttonGroup");let{children:n,orientation:i="horizontal",isDisabled:o,align:a="start",...l}=e,{styleProps:s}=Ie(l),u=dt(t),[c,f]=M8(!1),d=$.useCallback(()=>{let m=()=>{if(u.current&&i==="horizontal"){let b=Array.from(u.current.children),v=u.current.offsetWidth+1;return!!b.some(h=>h.offsetLeft<0||h.offsetLeft+h.offsetWidth>v)}};i==="horizontal"&&f(function*(){yield!1,yield m()})},[u,i,r,f,n]);pe(()=>{d()},[d]);let p=$.useRef();return pe(()=>{u.current&&(p.current=u.current.parentElement)},[u.current]),zu({ref:p,onResize:d}),w.createElement("div",{..._e(l),...s,ref:u,className:R(X7(Oo),"spectrum-ButtonGroup",{"spectrum-ButtonGroup--vertical":i==="vertical"||c,"spectrum-ButtonGroup--alignEnd":a==="end","spectrum-ButtonGroup--alignCenter":a==="center"},s.className)},w.createElement(Wr,{slots:{button:{UNSAFE_className:R(X7(Oo),"spectrum-ButtonGroup-Button")}}},w.createElement(iv,{isDisabled:o},n)))}let uge=w.forwardRef(_X);function kX(e){return e&&e.__esModule?e.default:e}function ft(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var st={};ft(st,"spectrum-FieldLabel",()=>x2,e=>x2=e);ft(st,"spectrum-FieldLabel--positionSide",()=>w2,e=>w2=e);ft(st,"spectrum-FieldLabel-requiredIcon",()=>S2,e=>S2=e);ft(st,"spectrum-FieldLabel--alignEnd",()=>E2,e=>E2=e);ft(st,"spectrum-Field",()=>C2,e=>C2=e);ft(st,"spectrum-Field-contextualHelp",()=>P2,e=>P2=e);ft(st,"spectrum-Field--positionTop",()=>I2,e=>I2=e);ft(st,"spectrum-Field-field",()=>T2,e=>T2=e);ft(st,"spectrum-Field--alignEnd",()=>A2,e=>A2=e);ft(st,"spectrum-Field--positionSide",()=>O2,e=>O2=e);ft(st,"spectrum-Field-wrapper",()=>R2,e=>R2=e);ft(st,"spectrum-Field--hasContextualHelp",()=>_2,e=>_2=e);ft(st,"spectrum-Form",()=>k2,e=>k2=e);ft(st,"spectrum-Form--positionSide",()=>D2,e=>D2=e);ft(st,"spectrum-Field-labelCell",()=>M2,e=>M2=e);ft(st,"spectrum-Field-labelWrapper",()=>N2,e=>N2=e);ft(st,"spectrum-Form--positionTop",()=>L2,e=>L2=e);ft(st,"spectrum-LabeledValue",()=>F2,e=>F2=e);ft(st,"spectrum-Form-itemLabel",()=>B2,e=>B2=e);ft(st,"is-disabled",()=>z2,e=>z2=e);var x2,w2,S2,E2,C2,P2,I2,T2,A2,O2,R2,_2,k2,D2,M2,N2,L2,F2,B2,z2;x2="spectrum-FieldLabel_d2db1f";w2="spectrum-FieldLabel--positionSide_d2db1f";S2="spectrum-FieldLabel-requiredIcon_d2db1f";E2="spectrum-FieldLabel--alignEnd_d2db1f";C2="spectrum-Field_d2db1f";P2="spectrum-Field-contextualHelp_d2db1f";I2="spectrum-Field--positionTop_d2db1f";T2="spectrum-Field-field_d2db1f";A2="spectrum-Field--alignEnd_d2db1f";O2="spectrum-Field--positionSide_d2db1f";R2="spectrum-Field-wrapper_d2db1f";_2="spectrum-Field--hasContextualHelp_d2db1f";k2="spectrum-Form_d2db1f";D2="spectrum-Form--positionSide_d2db1f";M2="spectrum-Field-labelCell_d2db1f";N2="spectrum-Field-labelWrapper_d2db1f";L2="spectrum-Form--positionTop_d2db1f";F2="spectrum-LabeledValue_d2db1f";B2="spectrum-Form-itemLabel_d2db1f";z2="is-disabled_d2db1f";let _M=w.createContext(null);function DX(e){let t=$.useContext(_M);return t?{...t,...e}:e}const MX=new Set(["action","autoComplete","encType","method","target","onSubmit"]);function NX(e,t){e=Xn(e);let{children:r,labelPosition:n="top",labelAlign:i="start",isRequired:o,necessityIndicator:a,isQuiet:l,isEmphasized:s,isDisabled:u,isReadOnly:c,validationState:f,...d}=e,{styleProps:p}=Ie(d),m=dt(t),b={labelPosition:n,labelAlign:i,necessityIndicator:a};return w.createElement("form",{..._e(d,{labelable:!0,propNames:MX}),...p,noValidate:!0,ref:m,className:R(kX(st),"spectrum-Form",{"spectrum-Form--positionSide":n==="side","spectrum-Form--positionTop":n==="top"},p.className)},w.createElement(_M.Provider,{value:b},w.createElement(iv,{isQuiet:l,isEmphasized:s,isDisabled:u,isReadOnly:c,isRequired:o,validationState:f},r)))}const cge=w.forwardRef(NX);var kM={};Object.defineProperty(kM,"__esModule",{value:!0});var DM=kM.AlertMedium=MM,Jm=LX($);function LX(e){return e&&e.__esModule?e:{default:e}}function j2(){return j2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j2.apply(this,arguments)}function FX(e,t){if(e==null)return{};var r=BX(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function BX(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function MM(e){var t=e.scale,r=t===void 0?"M":t,n=FX(e,["scale"]);return Jm.default.createElement("svg",j2({},n,n),r==="L"&&Jm.default.createElement("path",{d:"M10.563 2.206l-9.249 16.55a.5.5 0 0 0 .436.744h18.5a.5.5 0 0 0 .436-.744l-9.251-16.55a.5.5 0 0 0-.872 0zm1.436 15.044a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25zm0-3.5a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-6a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25z"}),r==="M"&&Jm.default.createElement("path",{d:"M8.564 1.289L.2 16.256A.5.5 0 0 0 .636 17h16.728a.5.5 0 0 0 .436-.744L9.436 1.289a.5.5 0 0 0-.872 0zM10 14.75a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25zm0-3a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-6a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25z"}))}MM.displayName="AlertMedium";const NM=e=>w.createElement("svg",Q({viewBox:"0 0 18 18"},e),w.createElement("path",{d:"M9 10.5a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v4.5a1 1 0 0 1-1 1Zm0 1.25A1.25 1.25 0 1 0 10.25 13 1.25 1.25 0 0 0 9 11.75Zm8.497 3.589a3.49 3.49 0 0 0 .079-3.474L12 1.815a3.385 3.385 0 0 0-5.994-.007L.416 11.88a3.485 3.485 0 0 0 .089 3.459A3.375 3.375 0 0 0 3.416 17h11.169a3.375 3.375 0 0 0 2.912-1.661ZM10.244 2.77l5.575 10.05a1.497 1.497 0 0 1-.037 1.489 1.374 1.374 0 0 1-1.197.69H3.416a1.374 1.374 0 0 1-1.197-.69 1.493 1.493 0 0 1-.046-1.474l5.593-10.08a1.386 1.386 0 0 1 2.478.015Z"}));NM.displayName=DM.displayName;function o6(e){var t,r;let n=Kr();return w.createElement(Sn,e,n!=null&&(t=n.theme)!=null&&(r=t.global)!=null&&r.express?w.createElement(NM,null):w.createElement(DM,null))}var LM={};Object.defineProperty(LM,"__esModule",{value:!0});var zX=LM.Asterisk=FM,Zm=jX($);function jX(e){return e&&e.__esModule?e:{default:e}}function U2(){return U2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},U2.apply(this,arguments)}function UX(e,t){if(e==null)return{};var r=WX(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function WX(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function FM(e){var t=e.scale,r=t===void 0?"M":t,n=UX(e,["scale"]);return Zm.default.createElement("svg",U2({},n,n),r==="L"&&Zm.default.createElement("path",{d:"M7.867 7.872c.061.062.103.145 0 .228l-1.283.827c-.104.061-.145.02-.186-.083L4.804 6.07l-2.09 2.297c-.021.042-.083.083-.145 0l-.994-1.035c-.103-.062-.082-.124 0-.186l2.36-1.966-2.691-1.014c-.042 0-.104-.083-.062-.186l.703-1.41a.11.11 0 0 1 .187-.04L4.43 4.06l.145-3.02A.109.109 0 0 1 4.7.917l1.718.227c.104 0 .124.042.104.145l-.808 2.96 2.734-.828c.061-.042.124-.042.165.082l.27 1.532c.02.103 0 .145-.084.145l-2.856.227z"}),r==="M"&&Zm.default.createElement("path",{d:"M6.573 6.558c.056.055.092.13 0 .204l-1.148.74c-.093.056-.13.02-.167-.073L3.832 4.947l-1.87 2.055c-.02.037-.075.074-.13 0l-.889-.926c-.092-.055-.074-.111 0-.167l2.111-1.76-2.408-.906c-.037 0-.092-.074-.055-.167l.63-1.259a.097.097 0 0 1 .166-.036l2.111 1.37.13-2.704a.097.097 0 0 1 .111-.11L5.277.54c.092 0 .11.037.092.13l-.722 2.647 2.444-.74c.056-.038.111-.038.148.073l.241 1.37c.019.093 0 .13-.074.13l-2.556.204z"}))}FM.displayName="Asterisk";function KX(e){return w.createElement(Sn,e,w.createElement(zX,null))}function sr(e){return e&&e.__esModule?e.default:e}function Fe(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var gn={};Fe(gn,"spectrum-HelpText",()=>W2,e=>W2=e);Fe(gn,"spectrum-HelpText-validationIcon",()=>K2,e=>K2=e);Fe(gn,"spectrum-HelpText-text",()=>H2,e=>H2=e);Fe(gn,"spectrum-HelpText--neutral",()=>V2,e=>V2=e);Fe(gn,"is-disabled",()=>G2,e=>G2=e);Fe(gn,"spectrum-HelpText--negative",()=>q2,e=>q2=e);var W2,K2,H2,V2,G2,q2;W2="spectrum-HelpText_f395de";K2="spectrum-HelpText-validationIcon_f395de";H2="spectrum-HelpText-text_f395de";V2="spectrum-HelpText--neutral_f395de";G2="is-disabled_f395de";q2="spectrum-HelpText--negative_f395de";function HX(e,t){let{description:r,errorMessage:n,validationState:i,isDisabled:o,showErrorIcon:a,descriptionProps:l,errorMessageProps:s}=e,u=dt(t),c=n&&i==="invalid",{styleProps:f}=Ie(e);return w.createElement("div",{...f,className:R(sr(gn),"spectrum-HelpText",`spectrum-HelpText--${c?"negative":"neutral"}`,{"is-disabled":o},f.className),ref:u},c?w.createElement(w.Fragment,null,a&&w.createElement(o6,{UNSAFE_className:R(sr(gn),"spectrum-HelpText-validationIcon")}),w.createElement("div",{...s,className:R(sr(gn),"spectrum-HelpText-text")},n)):w.createElement("div",{...l,className:R(sr(gn),"spectrum-HelpText-text")},r))}const VX=w.forwardRef(HX);var BM={},zM={};zM={"(optional)":"(اختياري)","(required)":"(مطلوب)"};var jM={};jM={"(optional)":"(незадължително)","(required)":"(задължително)"};var UM={};UM={"(optional)":"(volitelně)","(required)":"(požadováno)"};var WM={};WM={"(optional)":"(valgfrit)","(required)":"(obligatorisk)"};var KM={};KM={"(optional)":"(optional)","(required)":"(erforderlich)"};var HM={};HM={"(optional)":"(προαιρετικό)","(required)":"(απαιτείται)"};var VM={};VM={"(required)":"(required)","(optional)":"(optional)"};var GM={};GM={"(optional)":"(opcional)","(required)":"(obligatorio)"};var qM={};qM={"(optional)":"(valikuline)","(required)":"(nõutav)"};var YM={};YM={"(optional)":"(valinnainen)","(required)":"(pakollinen)"};var XM={};XM={"(optional)":"(facultatif)","(required)":"(requis)"};var QM={};QM={"(optional)":"(אופציונלי)","(required)":"(נדרש)"};var JM={};JM={"(optional)":"(opcionalno)","(required)":"(obvezno)"};var ZM={};ZM={"(optional)":"(opcionális)","(required)":"(kötelező)"};var eN={};eN={"(optional)":"(facoltativo)","(required)":"(obbligatorio)"};var tN={};tN={"(optional)":"(オプション)","(required)":"(必須)"};var rN={};rN={"(optional)":"(선택 사항)","(required)":"(필수 사항)"};var nN={};nN={"(optional)":"(pasirenkama)","(required)":"(privaloma)"};var iN={};iN={"(optional)":"(neobligāti)","(required)":"(obligāti)"};var oN={};oN={"(optional)":"(valgfritt)","(required)":"(obligatorisk)"};var aN={};aN={"(optional)":"(optioneel)","(required)":"(vereist)"};var lN={};lN={"(optional)":"(opcjonalne)","(required)":"(wymagane)"};var sN={};sN={"(optional)":"(opcional)","(required)":"(obrigatório)"};var uN={};uN={"(optional)":"(opcional)","(required)":"(obrigatório)"};var cN={};cN={"(optional)":"(opţional)","(required)":"(obligatoriu)"};var dN={};dN={"(optional)":"(дополнительно)","(required)":"(обязательно)"};var fN={};fN={"(optional)":"(nepovinné)","(required)":"(povinné)"};var pN={};pN={"(optional)":"(opcijsko)","(required)":"(obvezno)"};var vN={};vN={"(optional)":"(opciono)","(required)":"(obavezno)"};var mN={};mN={"(optional)":"(valfritt)","(required)":"(krävs)"};var hN={};hN={"(optional)":"(isteğe bağlı)","(required)":"(gerekli)"};var gN={};gN={"(optional)":"(необов’язково)","(required)":"(обов’язково)"};var bN={};bN={"(optional)":"(可选)","(required)":"(必填)"};var yN={};yN={"(optional)":"(選填)","(required)":"(必填)"};BM={"ar-AE":zM,"bg-BG":jM,"cs-CZ":UM,"da-DK":WM,"de-DE":KM,"el-GR":HM,"en-US":VM,"es-ES":GM,"et-EE":qM,"fi-FI":YM,"fr-FR":XM,"he-IL":QM,"hr-HR":JM,"hu-HU":ZM,"it-IT":eN,"ja-JP":tN,"ko-KR":rN,"lt-LT":nN,"lv-LV":iN,"nb-NO":oN,"nl-NL":aN,"pl-PL":lN,"pt-BR":sN,"pt-PT":uN,"ro-RO":cN,"ru-RU":dN,"sk-SK":fN,"sl-SI":pN,"sr-SP":vN,"sv-SE":mN,"tr-TR":hN,"uk-UA":gN,"zh-CN":bN,"zh-TW":yN};var De={};Fe(De,"spectrum-FieldLabel",()=>Y2,e=>Y2=e);Fe(De,"spectrum-FieldLabel--positionSide",()=>X2,e=>X2=e);Fe(De,"spectrum-FieldLabel-requiredIcon",()=>Q2,e=>Q2=e);Fe(De,"spectrum-FieldLabel--alignEnd",()=>J2,e=>J2=e);Fe(De,"spectrum-Field",()=>Z2,e=>Z2=e);Fe(De,"spectrum-Field-contextualHelp",()=>ex,e=>ex=e);Fe(De,"spectrum-Field--positionTop",()=>tx,e=>tx=e);Fe(De,"spectrum-Field-field",()=>rx,e=>rx=e);Fe(De,"spectrum-Field--alignEnd",()=>nx,e=>nx=e);Fe(De,"spectrum-Field--positionSide",()=>ix,e=>ix=e);Fe(De,"spectrum-Field-wrapper",()=>ox,e=>ox=e);Fe(De,"spectrum-Field--hasContextualHelp",()=>ax,e=>ax=e);Fe(De,"spectrum-Form",()=>lx,e=>lx=e);Fe(De,"spectrum-Form--positionSide",()=>sx,e=>sx=e);Fe(De,"spectrum-Field-labelCell",()=>ux,e=>ux=e);Fe(De,"spectrum-Field-labelWrapper",()=>cx,e=>cx=e);Fe(De,"spectrum-Form--positionTop",()=>dx,e=>dx=e);Fe(De,"spectrum-LabeledValue",()=>fx,e=>fx=e);Fe(De,"spectrum-Form-itemLabel",()=>px,e=>px=e);Fe(De,"is-disabled",()=>vx,e=>vx=e);var Y2,X2,Q2,J2,Z2,ex,tx,rx,nx,ix,ox,ax,lx,sx,ux,cx,dx,fx,px,vx;Y2="spectrum-FieldLabel_d2db1f";X2="spectrum-FieldLabel--positionSide_d2db1f";Q2="spectrum-FieldLabel-requiredIcon_d2db1f";J2="spectrum-FieldLabel--alignEnd_d2db1f";Z2="spectrum-Field_d2db1f";ex="spectrum-Field-contextualHelp_d2db1f";tx="spectrum-Field--positionTop_d2db1f";rx="spectrum-Field-field_d2db1f";nx="spectrum-Field--alignEnd_d2db1f";ix="spectrum-Field--positionSide_d2db1f";ox="spectrum-Field-wrapper_d2db1f";ax="spectrum-Field--hasContextualHelp_d2db1f";lx="spectrum-Form_d2db1f";sx="spectrum-Form--positionSide_d2db1f";ux="spectrum-Field-labelCell_d2db1f";cx="spectrum-Field-labelWrapper_d2db1f";dx="spectrum-Form--positionTop_d2db1f";fx="spectrum-LabeledValue_d2db1f";px="spectrum-Form-itemLabel_d2db1f";vx="is-disabled_d2db1f";function GX(e,t){e=Xn(e);let{children:r,labelPosition:n="top",labelAlign:i=n==="side"?"start":null,isRequired:o,necessityIndicator:a=o!=null?"icon":null,includeNecessityIndicatorInAccessibilityName:l=!1,htmlFor:s,for:u,elementType:c="label",onClick:f,...d}=e,p=dt(t),{styleProps:m}=Ie(d),b=Ur(sr(BM)),v=o?b.format("(required)"):b.format("(optional)"),h=w.createElement(KX,{UNSAFE_className:R(sr(De),"spectrum-FieldLabel-requiredIcon"),"aria-label":l?b.format("(required)"):void 0}),g=R(sr(De),"spectrum-FieldLabel",{"spectrum-FieldLabel--positionSide":n==="side","spectrum-FieldLabel--alignEnd":i==="end"},m.className);return w.createElement(c,{..._e(d),...m,onClick:f,ref:p,className:g,htmlFor:c==="label"?u||s:void 0},r,(a==="label"||a==="icon"&&o)&&" ​",a==="label"&&w.createElement("span",{"aria-hidden":l?void 0:o},v),a==="icon"&&o&&h)}let qX=w.forwardRef(GX);function YX(e,t){let r=DX(e),n=r!==e;e=r;let{label:i,labelPosition:o="top",labelAlign:a,isRequired:l,necessityIndicator:s,includeNecessityIndicatorInAccessibilityName:u,validationState:c,description:f,errorMessage:d,isDisabled:p,showErrorIcon:m,contextualHelp:b,children:v,labelProps:h={},descriptionProps:g={},errorMessageProps:y={},elementType:x,wrapperClassName:C,wrapperProps:E={},...P}=e,{styleProps:S}=Ie(P),I=!!f||d&&c==="invalid",_=wt(),T=wt();i&&b&&!h.id&&(h.id=T);let k=R(sr(De),"spectrum-Field",{"spectrum-Field--positionTop":o==="top","spectrum-Field--positionSide":o==="side","spectrum-Field--alignEnd":a==="end","spectrum-Field--hasContextualHelp":!!e.contextualHelp},S.className,C);v=w.cloneElement(v,ee(v.props,{className:R(sr(De),"spectrum-Field-field")}));let A=()=>w.createElement(VX,{descriptionProps:g,errorMessageProps:y,description:f,errorMessage:d,validationState:c,isDisabled:p,showErrorIcon:m,gridArea:"helpText"}),O=()=>o==="side"?w.createElement(Vk,{direction:"column",UNSAFE_className:R(sr(De),"spectrum-Field-wrapper")},v,I&&A()):w.createElement(w.Fragment,null,v,I&&A()),U=w.createElement(w.Fragment,null,i&&w.createElement(qX,{...h,labelPosition:o,labelAlign:a,isRequired:l,necessityIndicator:s,includeNecessityIndicatorInAccessibilityName:u,elementType:x},i),i&&b&&w.createElement(Wr,{slots:{actionButton:{UNSAFE_className:R(sr(De),"spectrum-Field-contextualHelp"),id:_,"aria-labelledby":h!=null&&h.id?`${h.id} ${_}`:void 0}}},b));return n&&o==="side"&&i&&b&&(U=w.createElement("div",{className:R(sr(De),"spectrum-Field-labelCell")},w.createElement("div",{className:R(sr(De),"spectrum-Field-labelWrapper")},U))),w.createElement("div",{...S,...E,ref:t,className:k},U,O())}let a6=w.forwardRef(YX);function l6(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":i,labelElementType:o="label"}=e;t=wt(t);let a=wt(),l={};r?(n=n?`${a} ${n}`:a,l={id:a,htmlFor:o==="label"?t:void 0}):!n&&!i&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=Ef({id:t,"aria-label":i,"aria-labelledby":n});return{labelProps:l,fieldProps:s}}function $N(e){let{description:t,errorMessage:r,validationState:n}=e,{labelProps:i,fieldProps:o}=l6(e),a=Un([!!t,!!r,n]),l=Un([!!t,!!r,n]);return o=ee(o,{"aria-describedby":[a,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:i,fieldProps:o,descriptionProps:{id:a},errorMessageProps:{id:l}}}const cv=new WeakMap;function XX(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function xN(e,t){let r=cv.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${XX(t)}`}function QX(e,t,r){let n=_e(e,{labelable:!0}),{listProps:i}=nk({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys}),{focusWithinProps:o}=Hu({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),a=wt(e.id);cv.set(t,{id:a,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction});let{labelProps:l,fieldProps:s}=l6({...e,id:a,labelElementType:"span"});return{labelProps:l,listBoxProps:ee(n,o,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...ee(s,i)})}}function JX(e,t,r){let{key:n}=e,i=cv.get(t);var o;let a=(o=e.isDisabled)!==null&&o!==void 0?o:t.disabledKeys.has(n);var l;let s=(l=e.isSelected)!==null&&l!==void 0?l:t.selectionManager.isSelected(n);var u;let c=(u=e.shouldSelectOnPressUp)!==null&&u!==void 0?u:i==null?void 0:i.shouldSelectOnPressUp;var f;let d=(f=e.shouldFocusOnHover)!==null&&f!==void 0?f:i==null?void 0:i.shouldFocusOnHover;var p;let m=(p=e.shouldUseVirtualFocus)!==null&&p!==void 0?p:i==null?void 0:i.shouldUseVirtualFocus;var b;let v=(b=e.isVirtualized)!==null&&b!==void 0?b:i==null?void 0:i.isVirtualized,h=Un(),g=Un(),y={role:"option","aria-disabled":a||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?s:void 0};if(ju()&&_V()||(y["aria-label"]=e["aria-label"],y["aria-labelledby"]=h,y["aria-describedby"]=g),v){var x;let T=Number((x=t.collection.getItem(n))===null||x===void 0?void 0:x.index);y["aria-posinset"]=Number.isNaN(T)?void 0:T+1,y["aria-setsize"]=k8(t.collection)}let{itemProps:C,isPressed:E,isFocused:P,hasAction:S,allowsSelection:I}=tk({selectionManager:t.selectionManager,key:n,ref:r,shouldSelectOnPressUp:c,allowsDifferentPressOrigin:c&&d,isVirtualized:v,shouldUseVirtualFocus:m,isDisabled:a,onAction:i!=null&&i.onAction?()=>{var T;return i==null||(T=i.onAction)===null||T===void 0?void 0:T.call(i,n)}:void 0}),{hoverProps:_}=nr({isDisabled:a||!d,onHoverStart(){Ao()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n))}});return{optionProps:{...y,...ee(C,_),id:xN(t,n)},labelProps:{id:h},descriptionProps:{id:g},isFocused:P,isFocusVisible:P&&Ao(),isSelected:s,isDisabled:a,isPressed:E,allowsSelection:I,hasAction:S}}function ZX(e){let{heading:t,"aria-label":r}=e,n=wt();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}class eQ{shouldInvalidate(t,r){return t.width!==r.width||t.height!==r.height}validate(t){}getInitialLayoutInfo(t){return t}getFinalLayoutInfo(t){return t}}class lo{copy(){let t=new lo(this.type,this.key,this.rect.copy());return t.estimatedSize=this.estimatedSize,t.opacity=this.opacity,t.transform=this.transform,t.parentKey=this.parentKey,t.isSticky=this.isSticky,t.zIndex=this.zIndex,t.allowOverflow=this.allowOverflow,t}constructor(t,r,n){this.type=t,this.key=r,this.parentKey=null,this.rect=n,this.estimatedSize=!1,this.isSticky=!1,this.opacity=1,this.transform=null,this.zIndex=0,this.allowOverflow=!1}}class Zt{copy(){return new Zt(this.x,this.y)}equals(t){return this.x===t.x&&this.y===t.y}isOrigin(){return this.x===0&&this.y===0}constructor(t=0,r=0){this.x=t,this.y=r}}class Xe{get maxX(){return this.x+this.width}get maxY(){return this.y+this.height}get area(){return this.width*this.height}get topLeft(){return new Zt(this.x,this.y)}get topRight(){return new Zt(this.maxX,this.y)}get bottomLeft(){return new Zt(this.x,this.maxY)}get bottomRight(){return new Zt(this.maxX,this.maxY)}intersects(t){return this.x<=t.x+t.width&&t.x<=this.x+this.width&&this.y<=t.y+t.height&&t.y<=this.y+this.height}containsRect(t){return this.x<=t.x&&this.y<=t.y&&this.maxX>=t.maxX&&this.maxY>=t.maxY}containsPoint(t){return this.x<=t.x&&this.y<=t.y&&this.maxX>=t.x&&this.maxY>=t.y}getCornerInRect(t){for(let r of["topLeft","topRight","bottomLeft","bottomRight"])if(t.containsPoint(this[r]))return r;return null}equals(t){return t.x===this.x&&t.y===this.y&&t.width===this.width&&t.height===this.height}pointEquals(t){return this.x===t.x&&this.y===t.y}sizeEquals(t){return this.width===t.width&&this.height===t.height}union(t){let r=Math.min(this.x,t.x),n=Math.min(this.y,t.y),i=Math.max(this.maxX,t.maxX)-r,o=Math.max(this.maxY,t.maxY)-n;return new Xe(r,n,i,o)}intersection(t){if(!this.intersects(t))return new Xe(0,0,0,0);let r=Math.max(this.x,t.x),n=Math.max(this.y,t.y);return new Xe(r,n,Math.min(this.maxX,t.maxX)-r,Math.min(this.maxY,t.maxY)-n)}copy(){return new Xe(this.x,this.y,this.width,this.height)}constructor(t=0,r=0,n=0,i=0){this.x=t,this.y=r,this.width=n,this.height=i}}class Ro{copy(){return new Ro(this.width,this.height)}equals(t){return this.width===t.width&&this.height===t.height}get area(){return this.width*this.height}constructor(t=0,r=0){this.width=t,this.height=r}}let tQ=0;class rQ{prepareForReuse(){this.content=null,this.rendered=null,this.layoutInfo=null}constructor(t){this.virtualizer=t,this.key=++tQ}}let ba=typeof window<"u"?window.performance:null,Q7=ba&&(ba.now||ba.webkitNow||ba.msNow||ba.mozNow),eh=Q7?Q7.bind(ba):function(){return Date.now?Date.now():new Date().getTime()},th;function nQ(e,t,r,n,i){let o=!1,a,l=new Promise(s=>{let u=eh(),c=t.x-e.x,f=t.y-e.y;a=requestAnimationFrame(function d(p){th==null&&(th=p>1e12!=eh()>1e12),th&&(p=eh());let m=p-u;m>r?(i(t),s()):i(new Zt(e.x+c*n(m/r),e.y+f*n(m/r)))!==!1&&!o&&(a=requestAnimationFrame(d))})});return l.cancel=function(){o=!0,cancelAnimationFrame(a)},l}function iQ(e){return Math.sin(e*Math.PI/2)}function J7(e,t){let r=new Set;for(let n of e.keys())t.has(n)||r.add(n);return r}function oQ(e,t){let r=J7(e,t),n=J7(t,e),i=new Set;for(let o of e.keys())t.has(o)&&i.add(o);return{toRemove:r,toAdd:n,toUpdate:i}}function*aQ(...e){for(let t of e)yield*t}function lQ(e,t){if(e===t)return!0;if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}class Qc{addSample(t){this.count++,this.value+=(t-this.value)/this.count}constructor(){this.count=0,this.value=0}}class sQ{setVisibleRect(t){let r=performance.now()-this.startTime;r<500&&(this.averageTime.addSample(r),t.x!==this.visibleRect.x&&r>0&&(this.velocity.x=(t.x-this.visibleRect.x)/r),t.y!==this.visibleRect.y&&r>0&&(this.velocity.y=(t.y-this.visibleRect.y)/r)),this.startTime=performance.now(),this.visibleRect=t}collectMetrics(){let t=performance.now()-this.startTime;if(t<500&&this.averagePerf.addSample(t),this.visibleRect.height>0){let r=Math.abs(this.velocity.y*(this.averageTime.value+this.averagePerf.value));this.overscanY.addSample(r)}if(this.visibleRect.width>0){let r=Math.abs(this.velocity.x*(this.averageTime.value+this.averagePerf.value));this.overscanX.addSample(r)}}getOverscannedRect(){let t=this.visibleRect.copy(),r=Math.round(Math.min(this.visibleRect.height*2,this.overscanY.value)/100)*100;this.velocity.y>0?(t.y-=r*.2,t.height+=r+r*.2):(t.y-=r,t.height+=r+r*.2);let n=Math.round(Math.min(this.visibleRect.width*2,this.overscanX.value)/100)*100;return this.velocity.x>0?(t.x-=n*.2,t.width+=n+n*.2):(t.x-=n,t.width+=n+n*.2),t}constructor(){this.startTime=0,this.averagePerf=new Qc,this.averageTime=new Qc,this.velocity=new Zt(5,5),this.overscanX=new Qc,this.overscanY=new Qc,this.visibleRect=new Xe}}class uQ{constructor(){this.level=0,this.actions=[],this.animated=!0,this.initialMap=new Map,this.finalMap=new Map,this.initialLayoutInfo=new Map,this.finalLayoutInfo=new Map,this.removed=new Map,this.toRemove=new Map}}class cQ{_setContentSize(t){this._contentSize=t,this.delegate.setContentSize(t)}_setContentOffset(t){let r=new Xe(t.x,t.y,this._visibleRect.width,this._visibleRect.height);this.delegate.setVisibleRect(r)}get contentSize(){return this._contentSize}get visibleRect(){return this._visibleRect}set visibleRect(t){this._setVisibleRect(t)}_setVisibleRect(t,r=!1){let n=this._visibleRect;if(t.equals(n))return;this.shouldOverscan&&this._overscanManager.setVisibleRect(t);let i=this.layout&&this.layout.shouldInvalidate(t,this._visibleRect);this._resetAnimatedContentOffset(),this._visibleRect=t,i?this.relayoutNow({offsetChanged:!t.pointEquals(n),sizeChanged:!t.sizeEquals(n)}):this.updateSubviews(r)}get collection(){return this._collection}set collection(t){this._setData(t)}_setData(t){t!==this._collection&&(this._collection?this._runTransaction(()=>{this._collection=t},this.transitionDuration>0):(this._collection=t,this.reloadData()))}reloadData(){this.relayout({contentChanged:!0})}getItem(t){return this._collection?this._collection.getItem(t):null}get persistedKeys(){return this._persistedKeys}set persistedKeys(t){lQ(t,this._persistedKeys)||(this._persistedKeys=t,this.updateSubviews())}isPersistedKey(t){if(this._persistedKeys.has(t))return!0;for(let r of this._persistedKeys)for(;r!=null;){let n=this.layout.getLayoutInfo(r);if(!n)break;if(r=n.parentKey,r===t)return!0}return!1}get layout(){return this._layout}set layout(t){this.setLayout(t)}setLayout(t,r=!1){if(t===this._layout)return;let n=()=>{this._layout&&(this._layout.virtualizer=null),t.virtualizer=this,this._layout=t};r?this._runTransaction(n):(n(),this.relayout())}_getReuseType(t,r){if(t.type==="item"&&r){let n=this.delegate.getType?this.delegate.getType(r):"item",i=n==="item"?"item":t.type+"_"+n;return{type:n,reuseType:i}}return{type:t.type,reuseType:t.type}}getReusableView(t){let r=this.getItem(t.key),{reuseType:n}=this._getReuseType(t,r);this._reusableViews[n]||(this._reusableViews[n]=[]);let i=this._reusableViews[n],o=i.length>0?i.pop():new rQ(this);return o.viewType=n,this._animatedContentOffset.isOrigin()||(t=t.copy(),t.rect.x+=this._animatedContentOffset.x,t.rect.y+=this._animatedContentOffset.y),o.layoutInfo=t,this._renderView(o),o}_renderView(t){let{type:r,key:n}=t.layoutInfo;t.content=this.getItem(n),t.rendered=this._renderContent(r,t.content)}_renderContent(t,r){let n=this._renderedContent.get(r);if(n!=null)return n;let i=this.delegate.renderView(t,r);return r&&this._renderedContent.set(r,i),i}get visibleViews(){return Array.from(this._visibleViews.values())}getView(t){return this._visibleViews.get(t)||null}getViewsOfType(t){return this.visibleViews.filter(r=>r.layoutInfo&&r.layoutInfo.type===t)}keyForView(t){return t&&t.layoutInfo?t.layoutInfo.key:null}keyAtPoint(t){let r=new Xe(t.x,t.y,1,1),n=this.layout.getVisibleLayoutInfos(r);for(let i of n)if(i.rect.intersects(r))return i.key;return null}willUnmount(){cancelAnimationFrame(this._relayoutRaf)}relayout(t={}){if(!(this._scrollAnimation||typeof requestAnimationFrame>"u")){if(this._invalidationContext){Object.assign(this._invalidationContext,t);return}this._invalidationContext=t}}relayoutNow(t=this._invalidationContext||{}){if(this._relayoutRaf&&(cancelAnimationFrame(this._relayoutRaf),this._relayoutRaf=null,t={...this._invalidationContext,...t}),this._invalidationContext=null,!this.layout||!this._collection||this._scrollAnimation)return;let r=this._getScrollAnchor();typeof t.beforeLayout=="function"&&t.beforeLayout(),this.layout.validate(t),this._setContentSize(this.layout.getContentSize()),typeof t.afterLayout=="function"&&t.afterLayout();let n=this.getVisibleRect(),i=this._restoreScrollAnchor(r,t),o=t.contentChanged?0:i.x,a=t.contentChanged?0:i.y;o=Math.max(0,Math.min(this.contentSize.width-n.width,o)),a=Math.max(0,Math.min(this.contentSize.height-n.height,a));let l=!1;if(o!==n.x||a!==n.y?t.animated||!this._animatedContentOffset.isOrigin()?(this._animatedContentOffset.x+=n.x-o,this._animatedContentOffset.y+=n.y-a,l=this.updateSubviews(t.contentChanged)):this._setContentOffset(new Zt(o,a)):l=this.updateSubviews(t.contentChanged),t.transaction&&t.animated||this._applyLayoutInfos(),t.animated&&l){this._enableTransitions(),setTimeout(()=>{if(this._disableTransitions(),!this._animatedContentOffset.isOrigin()){let{x:u,y:c}=this.getVisibleRect();this._resetAnimatedContentOffset(),this._setContentOffset(new Zt(u,c))}typeof t.afterAnimation=="function"&&t.afterAnimation()},this.transitionDuration+100);return}else typeof t.afterAnimation=="function"&&t.afterAnimation()}_correctItemOrder(){if(!(this._isScrolling||this._transaction))for(let t of this._visibleLayoutInfos.keys()){let r=this._visibleViews.get(t);this._children.delete(r),this._children.add(r)}}_enableTransitions(){this.delegate.beginAnimations()}_disableTransitions(){this.delegate.endAnimations()}_getScrollAnchor(){if(!this.anchorScrollPosition)return null;let t=this.getVisibleRect();if(this.delegate.getScrollAnchor){let n=this.delegate.getScrollAnchor(t);if(n!=null){let i=this.layout.getLayoutInfo(n),o=i.rect.getCornerInRect(t);if(o){let a=i.key,l=i.rect[o].y-t.y;return{key:a,layoutInfo:i,corner:o,offset:l}}}}if(t.y===0&&!this.anchorScrollPositionAtTop)return null;let r=null;for(let[n,i]of this._visibleViews){let o=i.layoutInfo;if(o&&o.rect.area>0){let a=o.rect.getCornerInRect(t);if(a){let l=o.rect[a].y-t.y;(!r||l<r.offset)&&(r={key:n,layoutInfo:o,corner:a,offset:l})}}}return r}_restoreScrollAnchor(t,r){let n=this.getVisibleRect();if(t){var i;let o=!((i=r.transaction)===null||i===void 0)&&i.animated?r.transaction.finalMap.get(t.key):this.layout.getLayoutInfo(t.layoutInfo.key);if(o){let a=o.rect[t.corner].y-n.y-t.offset;n.y+=a}}return n}getVisibleRect(){let t=this.visibleRect,r=t.x-this._animatedContentOffset.x,n=t.y-this._animatedContentOffset.y;return new Xe(r,n,t.width,t.height)}getVisibleLayoutInfos(){let t=this.shouldOverscan?this._overscanManager.getOverscannedRect():this.getVisibleRect();return this._visibleLayoutInfos=this._getLayoutInfoMap(t),this._visibleLayoutInfos}_getLayoutInfoMap(t,r=!1){let n=this.layout.getVisibleLayoutInfos(t),i=new Map;for(let o of n)r&&(o=o.copy()),i.set(o.key,o);return i}updateSubviews(t=!1){if(!this._collection)return;let r=this.getVisibleLayoutInfos(),n=this._visibleViews,i,o,a;if(t)i=r,o=n,a=new Set;else{({toAdd:i,toRemove:o,toUpdate:a}=oQ(n,r));for(let u of a){let c=n.get(u);if(!c||!c.layoutInfo)continue;let f=this.getItem(r.get(u).key);if(c.content===f)a.delete(u);else{let{reuseType:d}=this._getReuseType(c.layoutInfo,f);c.viewType!==d&&(a.delete(u),i.add(u),o.add(u))}}if(i.size===0&&o.size===0&&a.size===0){this._transaction&&this._applyLayoutInfos();return}}let l=new Set;for(let u of o.keys()){let c=this._visibleViews.get(u);c&&(l.add(c),this._visibleViews.delete(u),this._transaction?this._transaction.toRemove.set(u,c):this.reuseView(c))}for(let u of i.keys()){let c=r.get(u),f;this._transaction&&(this._transaction.initialLayoutInfo.has(u)&&(c=this._transaction.initialLayoutInfo.get(u)),f=this._transaction.toRemove.get(u),f&&(this._transaction.toRemove.delete(u),this._applyLayoutInfo(f,c))),f||(f=this.getReusableView(c),l.has(f)||this._children.add(f)),this._visibleViews.set(u,f),l.delete(f)}for(let u of a){let c=n.get(u);this._renderedContent.delete(u),this._renderView(c)}this._transaction||this.removeViews(l),this._correctItemOrder(),this._flushVisibleViews();let s=this._transaction&&(i.size>0||o.size>0||this._hasLayoutUpdates());return s&&requestAnimationFrame(()=>{this._transaction&&requestAnimationFrame(()=>this._applyLayoutInfos())}),s}afterRender(){this._transactionQueue.length>0?this._processTransactionQueue():this._invalidationContext&&this.relayoutNow(),this.shouldOverscan&&this._overscanManager.collectMetrics()}_flushVisibleViews(){let t=new Map([[null,[]]]);for(let u of this._children){var r,n,i,o,a;((r=u.layoutInfo)===null||r===void 0?void 0:r.parentKey)!=null&&!t.has(u.layoutInfo.parentKey)&&t.set(u.layoutInfo.parentKey,[]),(n=t.get((i=u.layoutInfo)===null||i===void 0?void 0:i.parentKey))===null||n===void 0||n.push(u),t.has((o=u.layoutInfo)===null||o===void 0?void 0:o.key)||t.set((a=u.layoutInfo)===null||a===void 0?void 0:a.key,[])}let l=(u,c)=>c.map(f=>{let d=t.get(f.layoutInfo.key);return this.delegate.renderWrapper(u,f,d,p=>l(f,p))}),s=l(null,t.get(null));this.delegate.setVisibleViews(s)}_applyLayoutInfo(t,r){return t.layoutInfo===r?!1:(t.layoutInfo=r,!0)}_applyLayoutInfos(){let t=!1;for(let r of this._visibleViews.values()){let n=r.layoutInfo;if((n==null?void 0:n.key)!=null){let i=this.layout.getLayoutInfo(n.key);this._applyLayoutInfo(r,i)&&(t=!0)}}if(this._transaction){for(let r of this._transaction.toRemove.values()){let n=r.layoutInfo;if((n==null?void 0:n.key)!=null){let i=this.layout.getLayoutInfo(n.key);this._applyLayoutInfo(r,i)&&(t=!0)}}for(let r of this._transaction.removed.values()){let n=r.layoutInfo,i=this._transaction.finalLayoutInfo.get(n.key)||n;i=this.layout.getFinalLayoutInfo(i.copy()),this._applyLayoutInfo(r,i)&&(t=!0)}}t&&this._flushVisibleViews()}_hasLayoutUpdates(){if(!this._transaction)return!1;for(let t of this._visibleViews.values()){let r=t.layoutInfo;if(!r)return!0;let n=this.layout.getLayoutInfo(r.key);if(!r.rect.equals(n.rect)||r.opacity!==n.opacity||r.transform!==n.transform)return!0}return!1}reuseView(t){t.prepareForReuse(),this._reusableViews[t.viewType].push(t)}removeViews(t){for(let r of t)this._children.delete(r)}updateItemSize(t,r){if(!this.layout.updateItemSize)return;if(this._scrollAnimation){this._sizeUpdateQueue.set(t,r);return}this.layout.updateItemSize(t,r)&&this.relayout()}startScrolling(){this._isScrolling=!0}endScrolling(){this._isScrolling=!1,this._correctItemOrder(),this._flushVisibleViews()}_resetAnimatedContentOffset(){this._animatedContentOffset.isOrigin()||(this._animatedContentOffset=new Zt(0,0),this._applyLayoutInfos())}scrollToItem(t,r){if(t==null)return;let n=this.layout.getLayoutInfo(t);if(!n)return;let{duration:i=300,shouldScrollX:o=!0,shouldScrollY:a=!0,offsetX:l=0,offsetY:s=0}=r,u=this.visibleRect.x,c=this.visibleRect.y,f=n.rect.x-l,d=n.rect.y-s,p=u+this.visibleRect.width,m=c+this.visibleRect.height;return o&&(f<=u||p===0?u=f:n.rect.maxX>p&&(u+=n.rect.maxX-p)),a&&(d<=c||m===0?c=d:n.rect.maxY>m&&(c+=n.rect.maxY-m)),this.scrollTo(new Zt(u,c),i)}scrollTo(t,r=300){return this._scrollAnimation&&(this._scrollAnimation.cancel(),this._scrollAnimation=null),r<=0||this.visibleRect.pointEquals(t)?(this._setContentOffset(t),Promise.resolve()):(this.startScrolling(),this._scrollAnimation=nQ(this.visibleRect,t,r,iQ,n=>{this._setContentOffset(n)}),this._scrollAnimation.then(()=>{this._scrollAnimation=null;for(let[n,i]of this._sizeUpdateQueue)this.updateItemSize(n,i);this._sizeUpdateQueue.clear(),this.relayout(),this._processTransactionQueue(),this.endScrolling()}),this._scrollAnimation)}_runTransaction(t,r){this._startTransaction(),this._nextTransaction&&this._nextTransaction.actions.push(t),this._endTransaction(r)}_startTransaction(){this._nextTransaction||(this._nextTransaction=new uQ),this._nextTransaction.level++}_endTransaction(t){return!this._nextTransaction||(t!=null&&(this._nextTransaction.animated=t),--this._nextTransaction.level>0)?!1:this._nextTransaction.actions.length===0?(this._nextTransaction=null,!1):(this._nextTransaction.animated==null&&(this._nextTransaction.animated=!0),this._transactionQueue.push(this._nextTransaction),this._nextTransaction=null,!0)}_processTransactionQueue(){if(this._transaction||this._scrollAnimation)return;let t=this._transactionQueue.shift();t&&this._performTransaction(t)}_getContentRect(){return new Xe(0,0,this.contentSize.width,this.contentSize.height)}_performTransaction(t){this._transaction=t,this.relayoutNow({transaction:t,animated:t.animated,beforeLayout:()=>{t.animated&&(t.initialMap=this._getLayoutInfoMap(this._getContentRect(),!0));for(let r of t.actions)r()},afterLayout:()=>{t.animated?(t.finalMap=this._getLayoutInfoMap(this._getContentRect()),this._setupTransactionAnimations(t)):this._transaction=null},afterAnimation:()=>{if(t.toRemove.size>0||t.removed.size>0)for(let r of aQ(t.toRemove.values(),t.removed.values()))this._children.delete(r),this.reuseView(r);this._transaction=null,this._correctItemOrder(),this._flushVisibleViews(),this._processTransactionQueue()}})}_setupTransactionAnimations(t){let{initialMap:r,finalMap:n}=t;for(let[i,o]of r)n.has(i)?t.initialLayoutInfo.set(i,o):t.finalLayoutInfo.set(o.key,o);for(let[i,o]of n)if(!r.has(i)){let a=this.layout.getInitialLayoutInfo(o.copy());t.initialLayoutInfo.set(i,a)}for(let[i,o]of this._visibleViews)!n.has(i)&&o.layoutInfo.rect.width>0&&(t.removed.set(i,o),this._visibleViews.delete(i),o.layoutInfo&&(t.finalLayoutInfo.has(o.layoutInfo.key)||t.finalLayoutInfo.set(o.layoutInfo.key,o.layoutInfo)))}constructor(t={}){this._contentSize=new Ro,this._visibleRect=new Xe,this._reusableViews={},this._visibleLayoutInfos=new Map,this._visibleViews=new Map,this._renderedContent=new WeakMap,this._children=new Set,this._invalidationContext=null,this._overscanManager=new sQ,this._persistedKeys=new Set,this._scrollAnimation=null,this._isScrolling=!1,this._sizeUpdateQueue=new Map,this._animatedContentOffset=new Zt(0,0),this._transaction=null,this._nextTransaction=null,this._transactionQueue=[];var r;this.transitionDuration=(r=t.transitionDuration)!==null&&r!==void 0?r:500,this.anchorScrollPosition=t.anchorScrollPosition||!1,this.anchorScrollPositionAtTop=t.anchorScrollPositionAtTop||!1,this.shouldOverscan=t.shouldOverscan!==!1;for(let n of["delegate","size","layout","collection"])t[n]&&(this[n]=t[n])}}function dQ(e){let[t,r]=$.useState([]),[n,i]=$.useState(new Ro),[o,a]=$.useState(!1),[l,s]=$.useState(!1),u=$.useMemo(()=>new cQ,[]);u.delegate={setVisibleViews:r,setVisibleRect(m){u.visibleRect=m,e.onVisibleRectChange(m)},setContentSize:i,renderView:e.renderView,renderWrapper:e.renderWrapper,beginAnimations:()=>a(!0),endAnimations:()=>a(!1),getScrollAnchor:e.getScrollAnchor},u.layout=e.layout,u.collection=e.collection,u.transitionDuration=e.transitionDuration,pe(()=>{u.afterRender()}),$.useEffect(()=>()=>u.willUnmount(),[]);let c=$.useCallback(m=>{u.visibleRect=m},[u]),f=$.useCallback(()=>{u.startScrolling(),s(!0)},[u]),d=$.useCallback(()=>{u.endScrolling(),s(!1)},[u]);return $.useMemo(()=>({virtualizer:u,visibleViews:t,setVisibleRect:c,contentSize:n,isAnimating:o,isScrolling:l,startScrolling:f,endScrolling:d}),[u,t,c,n,o,l,f,d])}const Z7=48;class fQ extends eQ{getLayoutInfo(t){let r=this.layoutInfos.get(t);return!r&&this.validRect.area<this.contentSize.area&&this.lastCollection&&(this.lastValidRect=this.validRect,this.validRect=new Xe(0,0,1/0,1/0),this.rootNodes=this.buildCollection(),this.validRect=new Xe(0,0,this.contentSize.width,this.contentSize.height),r=this.layoutInfos.get(t)),r}getVisibleLayoutInfos(t){!this.validRect.containsRect(t)&&this.lastCollection&&(this.lastValidRect=this.validRect,this.validRect=this.validRect.union(t),this.rootNodes=this.buildCollection());let r=[],n=i=>{for(let o of i)this.isVisible(o,t)&&(r.push(o.layoutInfo),o.header&&r.push(o.header),o.children&&n(o.children))};return n(this.rootNodes),r}isVisible(t,r){return t.layoutInfo.rect.intersects(r)||t.layoutInfo.isSticky||this.virtualizer.isPersistedKey(t.layoutInfo.key)}shouldInvalidateEverything(t){return t.sizeChanged}validate(t){if(this.collection=this.virtualizer.collection,this.invalidateEverything=this.shouldInvalidateEverything(t),this.invalidateEverything&&(this.lastValidRect=this.validRect,this.validRect=this.virtualizer.getVisibleRect()),this.rootNodes=this.buildCollection(),this.lastCollection&&this.collection!==this.lastCollection){for(let n of this.lastCollection.getKeys())if(!this.collection.getItem(n)){let i=this.layoutNodes.get(n);if(i){var r;this.layoutInfos.delete(i.layoutInfo.key),this.layoutInfos.delete((r=i.header)===null||r===void 0?void 0:r.key),this.layoutNodes.delete(n)}}}this.lastWidth=this.virtualizer.visibleRect.width,this.lastCollection=this.collection,this.invalidateEverything=!1}buildCollection(){let t=this.padding,r=0,n=[];for(let l of this.collection){var i;let s=(i=this.rowHeight)!==null&&i!==void 0?i:this.estimatedRowHeight;if(l.type==="item"&&t+s<this.validRect.y&&!this.isValid(l,t)){t+=s,r++;continue}let u=this.buildChild(l,0,t);if(t=u.layoutInfo.rect.maxY,n.push(u),l.type==="item"&&t>this.validRect.maxY){t+=(this.collection.size-(n.length+r))*s;break}}if(this.isLoading){var o;let l=new Xe(0,t,this.virtualizer.visibleRect.width,(o=this.loaderHeight)!==null&&o!==void 0?o:this.virtualizer.visibleRect.height),s=new lo("loader","loader",l);this.layoutInfos.set("loader",s),n.push({layoutInfo:s}),t=s.rect.maxY}if(n.length===0){var a;let l=new Xe(0,t,this.virtualizer.visibleRect.width,(a=this.placeholderHeight)!==null&&a!==void 0?a:this.virtualizer.visibleRect.height),s=new lo("placeholder","placeholder",l);this.layoutInfos.set("placeholder",s),n.push({layoutInfo:s}),t=s.rect.maxY}return this.contentSize=new Ro(this.virtualizer.visibleRect.width,t+this.padding),n}isValid(t,r){let n=this.layoutNodes.get(t.key);return!this.invalidateEverything&&n&&n.node===t&&r===(n.header||n.layoutInfo).rect.y&&n.layoutInfo.rect.intersects(this.lastValidRect)&&n.validRect.containsRect(n.layoutInfo.rect.intersection(this.validRect))}buildChild(t,r,n){if(this.isValid(t,n))return this.layoutNodes.get(t.key);let i=this.buildNode(t,r,n);i.node=t;var o;return i.layoutInfo.parentKey=(o=t.parentKey)!==null&&o!==void 0?o:null,this.layoutInfos.set(i.layoutInfo.key,i.layoutInfo),i.header&&this.layoutInfos.set(i.header.key,i.header),this.layoutNodes.set(t.key,i),i}buildNode(t,r,n){switch(t.type){case"section":return this.buildSection(t,r,n);case"item":return this.buildItem(t,r,n)}}buildSection(t,r,n){let i=this.virtualizer.visibleRect.width,o=this.headingHeight,a=!1;if(o==null){let b=this.layoutNodes.get(t.key);if(b&&b.header){let v=this.collection.getItem(t.key),h=this.lastCollection?this.lastCollection.getItem(t.key):null;o=b.header.rect.height,a=i!==this.lastWidth||v!==h||b.header.estimatedSize}else o=t.rendered?this.estimatedHeadingHeight:0,a=!0}o==null&&(o=Z7);let l=new Xe(0,n,i,o),s=new lo("header",t.key+":header",l);s.estimatedSize=a,s.parentKey=t.key,n+=s.rect.height;let u=new Xe(0,n,i,0),c=new lo(t.type,t.key,u),f=n,d=0,p=[];for(let b of Io(t,this.collection)){var m;let v=(m=this.rowHeight)!==null&&m!==void 0?m:this.estimatedRowHeight;if(n+v<this.validRect.y&&!this.isValid(t,n)){n+=v,d++;continue}let h=this.buildChild(b,r,n);if(n=h.layoutInfo.rect.maxY,p.push(h),n>this.validRect.maxY){n+=([...Io(t,this.collection)].length-(p.length+d))*v;break}}return u.height=n-f,{header:s,layoutInfo:c,children:p,validRect:c.rect.intersection(this.validRect)}}buildItem(t,r,n){let i=this.virtualizer.visibleRect.width,o=this.rowHeight,a=!1;if(o==null){let u=this.layoutNodes.get(t.key);u?(o=u.layoutInfo.rect.height,a=i!==this.lastWidth||t!==u.node||u.layoutInfo.estimatedSize):(o=this.estimatedRowHeight,a=!0)}o==null&&(o=Z7),typeof this.indentationForItem=="function"&&(r+=this.indentationForItem(this.collection,t.key)||0);let l=new Xe(r,n,i-r,o),s=new lo(t.type,t.key,l);return s.allowOverflow=!0,s.estimatedSize=a,{layoutInfo:s,validRect:s.rect}}updateItemSize(t,r){let n=this.layoutInfos.get(t);if(!n)return!1;if(n.estimatedSize=!1,n.rect.height!==r.height){let i=n.copy();i.rect.height=r.height,this.layoutInfos.set(t,i),this.updateLayoutNode(t,n,i);let o=this.collection.getItem(n.parentKey);for(;o;)this.updateLayoutNode(o.key,n,i),o=this.collection.getItem(o.parentKey);return!0}return!1}updateLayoutNode(t,r,n){let i=this.layoutNodes.get(t);i&&(i.validRect=new Xe,i.header===r?i.header=n:i.layoutInfo===r&&(i.layoutInfo=n))}getContentSize(){return this.contentSize}getKeyAbove(t){let r=this.collection;for(t=r.getKeyBefore(t);t!=null;){let n=r.getItem(t);if(n.type==="item"&&(this.allowDisabledKeyFocus||!this.disabledKeys.has(n.key)))return t;t=r.getKeyBefore(t)}}getKeyBelow(t){let r=this.collection;for(t=r.getKeyAfter(t);t!=null;){let n=r.getItem(t);if(n.type==="item"&&(this.allowDisabledKeyFocus||!this.disabledKeys.has(n.key)))return t;t=r.getKeyAfter(t)}}getKeyPageAbove(t){let r=this.getLayoutInfo(t);if(r){let n=Math.max(0,r.rect.y+r.rect.height-this.virtualizer.visibleRect.height);for(;r&&r.rect.y>n;){let i=this.getKeyAbove(r.key);r=this.getLayoutInfo(i)}if(r)return r.key}return this.getFirstKey()}getKeyPageBelow(t){let r=this.getLayoutInfo(t??this.getFirstKey());if(r){let n=Math.min(this.virtualizer.contentSize.height,r.rect.y-r.rect.height+this.virtualizer.visibleRect.height);for(;r&&r.rect.y<n;){let i=this.getKeyBelow(r.key);r=this.getLayoutInfo(i)}if(r)return r.key}return this.getLastKey()}getFirstKey(){let t=this.collection,r=t.getFirstKey();for(;r!=null;){let n=t.getItem(r);if(n.type==="item"&&(this.allowDisabledKeyFocus||!this.disabledKeys.has(n.key)))return r;r=t.getKeyAfter(r)}}getLastKey(){let t=this.collection,r=t.getLastKey();for(;r!=null;){let n=t.getItem(r);if(n.type==="item"&&(this.allowDisabledKeyFocus||!this.disabledKeys.has(n.key)))return r;r=t.getKeyBefore(r)}}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,i=r||this.getFirstKey();for(;i!=null;){let o=n.getItem(i),a=o.textValue.slice(0,t.length);if(o.textValue&&this.collator.compare(a,t)===0)return i;i=this.getKeyBelow(i)}return null}getInitialLayoutInfo(t){return t.opacity=0,t.transform="scale3d(0.8, 0.8, 0.8)",t}getFinalLayoutInfo(t){return t.opacity=0,t.transform="scale3d(0.8, 0.8, 0.8)",t}getDropTargetFromPoint(t,r,n){t+=this.virtualizer.visibleRect.x,r+=this.virtualizer.visibleRect.y;let i=this.virtualizer.keyAtPoint(new Zt(t,r));if(i==null||this.collection.size===0)return{type:"root"};let o=this.getLayoutInfo(i),a=o.rect,l={type:"item",key:o.key,dropPosition:"on"};return n(l)?r<=a.y+10&&n({...l,dropPosition:"before"})?l.dropPosition="before":r>=a.maxY-10&&n({...l,dropPosition:"after"})&&(l.dropPosition="after"):r<=a.y+a.height/2&&n({...l,dropPosition:"before"})?l.dropPosition="before":n({...l,dropPosition:"after"})&&(l.dropPosition="after"),l}constructor(t={}){super(),this.disabledKeys=new Set,this.allowDisabledKeyFocus=!1,this.rowHeight=t.rowHeight,this.estimatedRowHeight=t.estimatedRowHeight,this.headingHeight=t.headingHeight,this.estimatedHeadingHeight=t.estimatedHeadingHeight,this.padding=t.padding||0,this.indentationForItem=t.indentationForItem,this.collator=t.collator,this.loaderHeight=t.loaderHeight,this.placeholderHeight=t.placeholderHeight,this.layoutInfos=new Map,this.layoutNodes=new Map,this.rootNodes=[],this.lastWidth=0,this.lastCollection=null,this.allowDisabledKeyFocus=t.allowDisabledKeyFocus,this.lastValidRect=new Xe,this.validRect=new Xe,this.contentSize=new Ro}}function pQ(e){let{value:t=0,minValue:r=0,maxValue:n=100,valueLabel:i,isIndeterminate:o,formatOptions:a={style:"percent"}}=e,l=_e(e,{labelable:!0}),{labelProps:s,fieldProps:u}=l6({...e,labelElementType:"span"});t=fu(t,r,n);let c=(t-r)/(n-r),f=XV(a);if(!o&&!i){let d=a.style==="percent"?c:t;i=f.format(d)}return{progressBarProps:ee(l,{...u,"aria-valuenow":o?void 0:t,"aria-valuemin":r,"aria-valuemax":n,"aria-valuetext":o?void 0:i,role:"progressbar"}),labelProps:s}}function kn(e){return e&&e.__esModule?e.default:e}function Re(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var ir={};Re(ir,"spectrum-BarLoader",()=>mx,e=>mx=e);Re(ir,"spectrum-BarLoader--indeterminate",()=>hx,e=>hx=e);Re(ir,"spectrum-BarLoader--sideLabel",()=>gx,e=>gx=e);Re(ir,"spectrum-BarLoader-track",()=>bx,e=>bx=e);Re(ir,"spectrum-BarLoader-fill",()=>yx,e=>yx=e);Re(ir,"spectrum-BarLoader-label",()=>$x,e=>$x=e);Re(ir,"spectrum-BarLoader-percentage",()=>xx,e=>xx=e);Re(ir,"spectrum-BarLoader--small",()=>wx,e=>wx=e);Re(ir,"indeterminate-loop-ltr",()=>Sx,e=>Sx=e);Re(ir,"indeterminate-loop-rtl",()=>Ex,e=>Ex=e);Re(ir,"spectrum-BarLoader--overBackground",()=>Cx,e=>Cx=e);Re(ir,"is-positive",()=>Px,e=>Px=e);Re(ir,"is-warning",()=>Ix,e=>Ix=e);Re(ir,"is-critical",()=>Tx,e=>Tx=e);var mx,hx,gx,bx,yx,$x,xx,wx,Sx,Ex,Cx,Px,Ix,Tx;mx="spectrum-BarLoader_48541f";hx="spectrum-BarLoader--indeterminate_48541f";gx="spectrum-BarLoader--sideLabel_48541f";bx="spectrum-BarLoader-track_48541f";yx="spectrum-BarLoader-fill_48541f";$x="spectrum-BarLoader-label_48541f";xx="spectrum-BarLoader-percentage_48541f";wx="spectrum-BarLoader--small_48541f";Sx="indeterminate-loop-ltr_48541f";Ex="indeterminate-loop-rtl_48541f";Cx="spectrum-BarLoader--overBackground_48541f";Px="is-positive_48541f";Ix="is-warning_48541f";Tx="is-critical_48541f";var ze={};Re(ze,"spectrum-CircleLoader--indeterminate-fill-submask-2",()=>Ax,e=>Ax=e);Re(ze,"spectrum-fill-mask-2",()=>Ox,e=>Ox=e);Re(ze,"spectrum-CircleLoader",()=>Rx,e=>Rx=e);Re(ze,"spectrum-CircleLoader-track",()=>_x,e=>_x=e);Re(ze,"spectrum-CircleLoader-fills",()=>kx,e=>kx=e);Re(ze,"spectrum-CircleLoader-fill",()=>Dx,e=>Dx=e);Re(ze,"spectrum-CircleLoader-fillMask1",()=>Mx,e=>Mx=e);Re(ze,"spectrum-CircleLoader-fillMask2",()=>Nx,e=>Nx=e);Re(ze,"spectrum-CircleLoader-fillSubMask1",()=>Lx,e=>Lx=e);Re(ze,"spectrum-CircleLoader-fillSubMask2",()=>Fx,e=>Fx=e);Re(ze,"spectrum-CircleLoader--small",()=>Bx,e=>Bx=e);Re(ze,"spectrum-CircleLoader--large",()=>zx,e=>zx=e);Re(ze,"spectrum-CircleLoader--indeterminate",()=>jx,e=>jx=e);Re(ze,"spectrum-fills-rotate",()=>Ux,e=>Ux=e);Re(ze,"spectrum-fill-mask-1",()=>Wx,e=>Wx=e);Re(ze,"spectrum-CircleLoader--overBackground",()=>Kx,e=>Kx=e);var Ax,Ox,Rx,_x,kx,Dx,Mx,Nx,Lx,Fx,Bx,zx,jx,Ux,Wx,Kx;Ax="spectrum-CircleLoader--indeterminate-fill-submask-2_7c1153";Ox="spectrum-fill-mask-2_7c1153";Rx="spectrum-CircleLoader_7c1153";_x="spectrum-CircleLoader-track_7c1153";kx="spectrum-CircleLoader-fills_7c1153";Dx="spectrum-CircleLoader-fill_7c1153";Mx="spectrum-CircleLoader-fillMask1_7c1153";Nx="spectrum-CircleLoader-fillMask2_7c1153";Lx="spectrum-CircleLoader-fillSubMask1_7c1153";Fx="spectrum-CircleLoader-fillSubMask2_7c1153";Bx="spectrum-CircleLoader--small_7c1153";zx="spectrum-CircleLoader--large_7c1153";jx="spectrum-CircleLoader--indeterminate_7c1153";Ux="spectrum-fills-rotate_7c1153";Wx="spectrum-fill-mask-1_7c1153";Kx="spectrum-CircleLoader--overBackground_7c1153";function vQ(e,t){let{value:r=0,minValue:n=0,maxValue:i=100,size:o="M",variant:a,isIndeterminate:l=!1,"aria-label":s,"aria-labelledby":u,...c}=e,f=dt(t),{styleProps:d}=Ie(c);r=fu(r,n,i);let{progressBarProps:p}=pQ({...e,value:r}),m={},b={};if(!l){let v=(r-n)/(i-n)*100,h;v>0&&v<=50?(h=-180+v/50*180,m.transform=`rotate(${h}deg)`,b.transform="rotate(-180deg)"):v>50&&(h=-180+(v-50)/50*180,m.transform="rotate(0deg)",b.transform=`rotate(${h}deg)`)}return!s&&!u&&console.warn("ProgressCircle requires an aria-label or aria-labelledby attribute for accessibility"),w.createElement("div",{...d,...p,ref:f,className:R(kn(ze),"spectrum-CircleLoader",{"spectrum-CircleLoader--indeterminate":l,"spectrum-CircleLoader--small":o==="S","spectrum-CircleLoader--large":o==="L","spectrum-CircleLoader--overBackground":a==="overBackground"},d.className)},w.createElement("div",{className:R(kn(ze),"spectrum-CircleLoader-track")}),w.createElement("div",{className:R(kn(ze),"spectrum-CircleLoader-fills")},w.createElement("div",{className:R(kn(ze),"spectrum-CircleLoader-fillMask1")},w.createElement("div",{className:R(kn(ze),"spectrum-CircleLoader-fillSubMask1"),"data-testid":"fillSubMask1",style:m},w.createElement("div",{className:R(kn(ze),"spectrum-CircleLoader-fill")}))),w.createElement("div",{className:R(kn(ze),"spectrum-CircleLoader-fillMask2")},w.createElement("div",{className:R(kn(ze),"spectrum-CircleLoader-fillSubMask2"),"data-testid":"fillSubMask2",style:b},w.createElement("div",{className:R(kn(ze),"spectrum-CircleLoader-fill")})))))}let s6=w.forwardRef(vQ),la=null;function mQ(e=!1){if(la===null||e){const t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";const n=document.createElement("div"),i=n.style;return i.width="100px",i.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?la="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?la="negative":la="positive-ascending"),document.body.removeChild(t),la}return la}function hQ(e,t){let{scrollLeft:r}=e;if(t==="rtl"){let{scrollWidth:n,clientWidth:i}=e;switch(mQ()){case"negative":r=-r;break;case"positive-descending":r=n-i-r;break}}return r}function gQ(e,t){let{contentSize:r,onVisibleRectChange:n,children:i,innerStyle:o,sizeToFit:a,onScrollStart:l,onScrollEnd:s,scrollDirection:u="both",...c}=e,f=$.useRef();t=t||f;let d=$.useRef({scrollTop:0,scrollLeft:0,scrollEndTime:0,scrollTimeout:null,width:0,height:0,isScrolling:!1}).current,{direction:p}=br(),[m,b]=$.useState(!1),v=$.useCallback(y=>{y.target===y.currentTarget&&(e.onScroll&&e.onScroll(y),pn.flushSync(()=>{let x=y.currentTarget.scrollTop,C=hQ(y.currentTarget,p);d.scrollTop=Math.max(0,Math.min(x,r.height-d.height)),d.scrollLeft=Math.max(0,Math.min(C,r.width-d.width)),n(new Xe(d.scrollLeft,d.scrollTop,d.width,d.height)),d.isScrolling||(d.isScrolling=!0,b(!0),l&&l());let E=Date.now();d.scrollEndTime<=E+50&&(d.scrollEndTime=E+300,clearTimeout(d.scrollTimeout),d.scrollTimeout=setTimeout(()=>{d.isScrolling=!1,b(!1),d.scrollTimeout=null,s&&s()},300))}))},[e,p,d,r,n,l,s]);$.useEffect(()=>()=>{clearTimeout(d.scrollTimeout)},[]);let h=$.useCallback(()=>{let y=t.current;if(!y)return;let x=y.clientWidth,C=y.clientHeight;a&&r.width>0&&r.height>0&&(a==="width"?x=Math.min(x,r.width):a==="height"&&(C=Math.min(C,r.height))),(d.width!==x||d.height!==C)&&(d.width=x,d.height=C,n(new Xe(d.scrollLeft,d.scrollTop,x,C)))},[n,t,d,a,r]);pe(()=>{h()},[h]),zu({ref:t,onResize:h});let g={padding:0,...c.style};return u==="horizontal"?(g.overflowX="auto",g.overflowY="hidden"):u==="vertical"?(g.overflowY="auto",g.overflowX="hidden"):g.overflow="auto",w.createElement("div",{...c,style:g,ref:t,onScroll:v},w.createElement("div",{role:"presentation",style:{width:r.width,height:r.height,pointerEvents:m?"none":"auto",position:"relative",...o}},i))}const bQ=w.forwardRef(gQ);function wN(e){let{layoutInfo:t,virtualizer:r,ref:n}=e,i=$.useCallback(()=>{let o=yQ(n.current);r.updateItemSize(t.key,o)},[r,t.key,n]);return pe(()=>{t.estimatedSize&&i()}),{updateSize:i}}function yQ(e){let t=e.style.height;e.style.height="";let r=new Ro(e.scrollWidth,e.scrollHeight);return e.style.height=t,r}function SN(e){let{className:t,layoutInfo:r,virtualizer:n,parent:i,children:o}=e,{direction:a}=br(),l=$.useRef();return wN({layoutInfo:r,virtualizer:n,ref:l}),w.createElement("div",{role:"presentation",ref:l,className:t,style:Hx(r,a,i)},o)}let eC=new WeakMap;function Hx(e,t,r){let n=t==="rtl"?"right":"left",i=eC.get(e);if(i&&i[n]!=null){if(!r)return i;let a=e.rect.y-r.rect.y,l=e.rect.x-r.rect.x;if(i.top===a&&i[n]===l)return i}let o={position:e.isSticky?"sticky":"absolute",display:e.isSticky?"inline-block":void 0,overflow:e.allowOverflow?"visible":"hidden",top:e.rect.y-(r?r.rect.y:0),[n]:e.rect.x-(r?r.rect.x:0),transition:"all",WebkitTransition:"all",WebkitTransitionDuration:"inherit",transitionDuration:"inherit",width:e.rect.width,height:e.rect.height,opacity:e.opacity,zIndex:e.zIndex,transform:e.transform,contain:"size layout style"};return eC.set(e,o),o}function $Q(e,t){let{children:r,renderWrapper:n,layout:i,collection:o,sizeToFit:a,scrollDirection:l,transitionDuration:s,isLoading:u,onLoadMore:c,focusedKey:f,shouldUseVirtualFocus:d,scrollToItem:p,autoFocus:m,...b}=e,v=$.useRef();t=t||v;let h=dQ({transitionDuration:s,layout:i,collection:o,renderView:r,renderWrapper:n||SQ,onVisibleRectChange(x){t.current.scrollLeft=x.x,t.current.scrollTop=x.y}}),{virtualizerProps:g,scrollViewProps:y}=xQ(e,h,t);return w.createElement(bQ,{...ee(b,g,y),ref:t,innerStyle:h.isAnimating?{transition:`none ${h.virtualizer.transitionDuration}ms`}:void 0,contentSize:h.contentSize,onScrollStart:h.startScrolling,onScrollEnd:h.endScrolling,sizeToFit:a,scrollDirection:l},h.visibleViews)}function xQ(e,t,r){let{focusedKey:n,scrollToItem:i,shouldUseVirtualFocus:o,isLoading:a,onLoadMore:l}=e,{virtualizer:s}=t,u=$.useRef(null),c=$.useRef(!1),f=$.useRef(e.autoFocus);$.useEffect(()=>{if(s.visibleRect.height===0)return;let y=il();n!==u.current&&(y!=="pointer"||f.current)&&(f.current=!1,i?i(n):s.scrollToItem(n,{duration:0})),u.current=n},[n,s.visibleRect.height,s,u,i,r]),s.persistedKeys=$.useMemo(()=>n?new Set([n]):new Set,[n]);let d=$.useCallback(y=>{let x=il();!c.current&&r.current.contains(y.target)&&x!=="pointer"&&(i?i(n):s.scrollToItem(n,{duration:0})),c.current=y.target!==r.current},[r,s,n,i]),p=$.useCallback(y=>{c.current=r.current.contains(y.relatedTarget)},[r]),m;o||(m=n!=null?-1:0,s.collection.size===0&&e.tabIndex!=null&&(m=e.tabIndex));let b=$.useRef(a),v=$.useRef(e),h=$.useCallback(y=>{if(t.setVisibleRect(y),!b.current&&l){let x=t.virtualizer.contentSize.height-y.height*2;y.y>x&&(b.current=!0,l())}},[l,t]),g=$.useRef(0);return pe(()=>{if(t.isAnimating)return;let y=b.current;e!==v.current&&(b.current=a,v.current=e),!b.current&&l&&t.contentSize.height>0&&t.contentSize.height<=t.virtualizer.visibleRect.height&&(y||t.contentSize.height!==g.current)&&(b.current=!0,l()),g.current=t.contentSize.height},[t.contentSize,t.isAnimating,t.virtualizer,a,l,e]),{virtualizerProps:{tabIndex:m,onFocus:d,onBlur:p},scrollViewProps:{onVisibleRectChange:h}}}const wQ=w.forwardRef($Q);function SQ(e,t){return w.createElement(SN,{key:t.key,layoutInfo:t.layoutInfo,virtualizer:t.virtualizer,parent:e==null?void 0:e.layoutInfo},t.rendered)}function lr(e){return e&&e.__esModule?e.default:e}function qe(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var EN={},CN={};CN={loading:"جارٍ التحميل...",loadingMore:"جارٍ تحميل المزيد..."};var PN={};PN={loading:"Зареждане...",loadingMore:"Зареждане на още..."};var IN={};IN={loading:"Načítání...",loadingMore:"Načítání dalších..."};var TN={};TN={loading:"Indlæser ...",loadingMore:"Indlæser flere ..."};var AN={};AN={loading:"Laden...",loadingMore:"Mehr laden ..."};var ON={};ON={loading:"Φόρτωση...",loadingMore:"Φόρτωση περισσότερων..."};var RN={};RN={loading:"Loading…",loadingMore:"Loading more…"};var _N={};_N={loading:"Cargando…",loadingMore:"Cargando más…"};var kN={};kN={loading:"Laadimine...",loadingMore:"Laadi rohkem..."};var DN={};DN={loading:"Ladataan…",loadingMore:"Ladataan lisää…"};var MN={};MN={loading:"Chargement...",loadingMore:"Chargement supplémentaire..."};var NN={};NN={loading:"טוען...",loadingMore:"טוען עוד..."};var LN={};LN={loading:"Učitavam...",loadingMore:"Učitavam još..."};var FN={};FN={loading:"Betöltés folyamatban…",loadingMore:"Továbbiak betöltése folyamatban…"};var BN={};BN={loading:"Caricamento...",loadingMore:"Caricamento altri..."};var zN={};zN={loading:"読み込み中...",loadingMore:"さらに読み込み中..."};var jN={};jN={loading:"로드 중",loadingMore:"추가 로드 중"};var UN={};UN={loading:"Įkeliama...",loadingMore:"Įkeliama daugiau..."};var WN={};WN={loading:"Notiek ielāde...",loadingMore:"Tiek ielādēts vēl..."};var KN={};KN={loading:"Laster inn ...",loadingMore:"Laster inn flere ..."};var HN={};HN={loading:"Laden...",loadingMore:"Meer laden..."};var VN={};VN={loading:"Ładowanie...",loadingMore:"Wczytywanie większej liczby..."};var GN={};GN={loading:"Carregando...",loadingMore:"Carregando mais..."};var qN={};qN={loading:"A carregar...",loadingMore:"A carregar mais..."};var YN={};YN={loading:"Se încarcă...",loadingMore:"Se încarcă mai multe..."};var XN={};XN={loading:"Загрузка...",loadingMore:"Дополнительная загрузка..."};var QN={};QN={loading:"Načítava sa...",loadingMore:"Načítava sa viac..."};var JN={};JN={loading:"Nalaganje...",loadingMore:"Nalaganje več vsebine..."};var ZN={};ZN={loading:"Učitavam...",loadingMore:"Učitavam još..."};var eL={};eL={loading:"Läser in...",loadingMore:"Läser in mer..."};var tL={};tL={loading:"Yükleniyor...",loadingMore:"Daha fazla yükleniyor..."};var rL={};rL={loading:"Завантаження…",loadingMore:"Завантаження інших об’єктів..."};var nL={};nL={loading:"正在加载...",loadingMore:"正在加载更多..."};var iL={};iL={loading:"正在載入",loadingMore:"正在載入更多…"};EN={"ar-AE":CN,"bg-BG":PN,"cs-CZ":IN,"da-DK":TN,"de-DE":AN,"el-GR":ON,"en-US":RN,"es-ES":_N,"et-EE":kN,"fi-FI":DN,"fr-FR":MN,"he-IL":NN,"hr-HR":LN,"hu-HU":FN,"it-IT":BN,"ja-JP":zN,"ko-KR":jN,"lt-LT":UN,"lv-LV":WN,"nb-NO":KN,"nl-NL":HN,"pl-PL":VN,"pt-BR":GN,"pt-PT":qN,"ro-RO":YN,"ru-RU":XN,"sk-SK":QN,"sl-SI":JN,"sr-SP":ZN,"sv-SE":eL,"tr-TR":tL,"uk-UA":rL,"zh-CN":nL,"zh-TW":iL};const u6=w.createContext(null);var he={};qe(he,"spectrum-Menu-popover",()=>Vx,e=>Vx=e);qe(he,"spectrum-Menu",()=>Gx,e=>Gx=e);qe(he,"spectrum-Menu-sectionHeading",()=>qx,e=>qx=e);qe(he,"spectrum-Menu-checkmark",()=>Yx,e=>Yx=e);qe(he,"spectrum-Menu-item",()=>Xx,e=>Xx=e);qe(he,"is-selected",()=>Qx,e=>Qx=e);qe(he,"spectrum-Icon",()=>Jx,e=>Jx=e);qe(he,"spectrum-Menu-itemLabel",()=>Zx,e=>Zx=e);qe(he,"spectrum-Menu-itemIcon",()=>e3,e=>e3=e);qe(he,"spectrum-Menu-itemLabel--wrapping",()=>t3,e=>t3=e);qe(he,"spectrum-Menu-divider",()=>r3,e=>r3=e);qe(he,"spectrum-Menu-itemGrid",()=>n3,e=>n3=e);qe(he,"is-selectable",()=>i3,e=>i3=e);qe(he,"spectrum-Menu-end",()=>o3,e=>o3=e);qe(he,"spectrum-Menu-icon",()=>a3,e=>a3=e);qe(he,"spectrum-Menu-description",()=>l3,e=>l3=e);qe(he,"spectrum-Menu-keyboard",()=>s3,e=>s3=e);qe(he,"focus-ring",()=>u3,e=>u3=e);qe(he,"is-focused",()=>c3,e=>c3=e);qe(he,"is-hovered",()=>d3,e=>d3=e);qe(he,"is-highlighted",()=>f3,e=>f3=e);qe(he,"is-open",()=>p3,e=>p3=e);qe(he,"is-active",()=>v3,e=>v3=e);qe(he,"is-disabled",()=>m3,e=>m3=e);var Vx,Gx,qx,Yx,Xx,Qx,Jx,Zx,e3,t3,r3,n3,i3,o3,a3,l3,s3,u3,c3,d3,f3,p3,v3,m3;Vx="spectrum-Menu-popover_7ea47c";Gx="spectrum-Menu_7ea47c";qx="spectrum-Menu-sectionHeading_7ea47c";Yx="spectrum-Menu-checkmark_7ea47c";Xx="spectrum-Menu-item_7ea47c";Qx="is-selected_7ea47c";Jx="spectrum-Icon_7ea47c";Zx="spectrum-Menu-itemLabel_7ea47c";e3="spectrum-Menu-itemIcon_7ea47c";t3="spectrum-Menu-itemLabel--wrapping_7ea47c";r3="spectrum-Menu-divider_7ea47c";n3="spectrum-Menu-itemGrid_7ea47c";i3="is-selectable_7ea47c";o3="spectrum-Menu-end_7ea47c";a3="spectrum-Menu-icon_7ea47c";l3="spectrum-Menu-description_7ea47c";s3="spectrum-Menu-keyboard_7ea47c";u3="focus-ring_7ea47c";c3="is-focused_7ea47c";d3="is-hovered_7ea47c";f3="is-highlighted_7ea47c";p3="is-open_7ea47c";v3="is-active_7ea47c";m3="is-disabled_7ea47c";function EQ(e){let{item:t,shouldSelectOnPressUp:r,shouldFocusOnHover:n,shouldUseVirtualFocus:i}=e,{rendered:o,key:a}=t,l=_e(t.props);delete l.id;let s=$.useContext(u6),u=$.useRef(),{optionProps:c,labelProps:f,descriptionProps:d,isSelected:p,isDisabled:m,isFocused:b}=JX({"aria-label":t["aria-label"],key:a,shouldSelectOnPressUp:r,shouldFocusOnHover:n,isVirtualized:!0,shouldUseVirtualFocus:i},s,u),{hoverProps:v,isHovered:h}=nr({...e,isDisabled:m}),g=typeof o=="string"?w.createElement(Tl,null,o):o,y=Ao();return w.createElement(Hi,{focusRingClass:R(lr(he),"focus-ring")},w.createElement("div",{...ee(c,n?{}:v,l),ref:u,className:R(lr(he),"spectrum-Menu-item",{"is-focused":i&&b&&y,"is-disabled":m,"is-selected":p,"is-selectable":s.selectionManager.selectionMode!=="none","is-hovered":h&&!n||b&&!y})},w.createElement(n6,{UNSAFE_className:R(lr(he),"spectrum-Menu-itemGrid")},w.createElement(Uu,null,w.createElement(Wr,{slots:{text:{UNSAFE_className:lr(he)["spectrum-Menu-itemLabel"],...f},icon:{size:"S",UNSAFE_className:lr(he)["spectrum-Menu-icon"]},description:{UNSAFE_className:lr(he)["spectrum-Menu-description"],...d}}},g,p&&w.createElement(sv,{slot:"checkmark",UNSAFE_className:R(lr(he),"spectrum-Menu-checkmark")}))))))}function CQ(e){let{children:t,layoutInfo:r,headerLayoutInfo:n,virtualizer:i,item:o}=e,{headingProps:a,groupProps:l}=ZX({heading:o.rendered,"aria-label":o["aria-label"]}),s=$.useRef();wN({layoutInfo:n,virtualizer:i,ref:s});let{direction:u}=br(),c=$.useContext(u6);return w.createElement($.Fragment,null,w.createElement("div",{role:"presentation",ref:s,style:Hx(n,u)},o.key!==c.collection.getFirstKey()&&w.createElement("div",{role:"presentation",className:R(lr(he),"spectrum-Menu-divider")}),o.rendered&&w.createElement("div",{...a,className:R(lr(he),"spectrum-Menu-sectionHeading")},o.rendered)),w.createElement("div",{...l,style:Hx(r,u),className:R(lr(he),"spectrum-Menu")},t))}function oL(e,t){let{scale:r}=Kr(),n=F8({usage:"search",sensitivity:"base"}),i=$.useMemo(()=>new fQ({estimatedRowHeight:r==="large"?48:32,estimatedHeadingHeight:r==="large"?33:26,padding:r==="large"?5:4,loaderHeight:40,placeholderHeight:r==="large"?48:32,collator:n}),[n,r]);return i.collection=e.collection,i.disabledKeys=e.disabledKeys,pe(()=>{if(i.isLoading!==t){var o;i.isLoading=t,(o=i.virtualizer)===null||o===void 0||o.relayoutNow()}},[i,t]),i}function PQ(e,t){let{layout:r,state:n,shouldSelectOnPressUp:i,focusOnPointerEnter:o,shouldUseVirtualFocus:a,domProps:l={},transitionDuration:s=0,onScroll:u}=e,{listBoxProps:c}=QX({...e,keyboardDelegate:r,isVirtualized:!0},n,t),{styleProps:f}=Ie(e),d=Ur(lr(EN)),p=(m,b,v,h)=>b.viewType==="section"?w.createElement(CQ,{key:b.key,item:b.content,layoutInfo:b.layoutInfo,virtualizer:b.virtualizer,headerLayoutInfo:v.find(g=>g.viewType==="header").layoutInfo},h(v.filter(g=>g.viewType==="item"))):w.createElement(SN,{key:b.key,layoutInfo:b.layoutInfo,virtualizer:b.virtualizer,parent:m==null?void 0:m.layoutInfo},b.rendered);return w.createElement(u6.Provider,{value:n},w.createElement(Il,null,w.createElement(wQ,{...f,...ee(c,l),ref:t,focusedKey:n.selectionManager.focusedKey,autoFocus:!!e.autoFocus,sizeToFit:"height",scrollDirection:"vertical",className:R(lr(he),"spectrum-Menu",f.className),layout:r,collection:n.collection,renderWrapper:p,transitionDuration:s,isLoading:e.isLoading,onLoadMore:e.onLoadMore,shouldUseVirtualFocus:a,onScroll:u},(m,b)=>{if(m==="item")return w.createElement(EQ,{item:b,shouldSelectOnPressUp:i,shouldFocusOnHover:o,shouldUseVirtualFocus:a});if(m==="loader")return w.createElement("div",{role:"option",style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}},w.createElement(s6,{isIndeterminate:!0,size:"S","aria-label":n.collection.size>0?d.format("loadingMore"):d.format("loading"),UNSAFE_className:R(lr(he),"spectrum-Dropdown-progressCircle")}));if(m==="placeholder"){let v=e.renderEmptyState?e.renderEmptyState():null;return v==null?null:w.createElement("div",{role:"option"},v)}})))}const aL=w.forwardRef(PQ);function IQ(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:i=!1,isReadOnly:o=!1,validationState:a,type:l="text",value:s,defaultValue:u,onChange:c=()=>{}}=e,{focusableProps:f}=V8(e,t),{labelProps:d,fieldProps:p,descriptionProps:m,errorMessageProps:b}=$N(e),v=_e(e,{labelable:!0});const h={type:l,pattern:e.pattern};var g;return OR(t,(g=s??u)!==null&&g!==void 0?g:"",c),{labelProps:d,inputProps:ee(v,r==="input"&&h,{disabled:n,readOnly:o,"aria-required":i||void 0,"aria-invalid":a==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:e.value,defaultValue:e.value?void 0:e.defaultValue,onChange:y=>c(y.target.value),autoComplete:e.autoComplete,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...f,...p}),descriptionProps:m,errorMessageProps:b}}function ls(e){return e&&e.__esModule?e.default:e}function Ct(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Qe={};Ct(Qe,"spectrum-Textfield-input",()=>h3,e=>h3=e);Ct(Qe,"spectrum-Textfield",()=>g3,e=>g3=e);Ct(Qe,"focus-ring",()=>b3,e=>b3=e);Ct(Qe,"spectrum-Textfield--quiet",()=>y3,e=>y3=e);Ct(Qe,"spectrum-Textfield--multiline",()=>$3,e=>$3=e);Ct(Qe,"is-placeholder",()=>x3,e=>x3=e);Ct(Qe,"is-hovered",()=>w3,e=>w3=e);Ct(Qe,"spectrum-Textfield--valid",()=>S3,e=>S3=e);Ct(Qe,"spectrum-Textfield--invalid",()=>E3,e=>E3=e);Ct(Qe,"spectrum-Textfield--loadable",()=>C3,e=>C3=e);Ct(Qe,"spectrum-Textfield-wrapper",()=>P3,e=>P3=e);Ct(Qe,"spectrum-Textfield-wrapper--quiet",()=>I3,e=>I3=e);Ct(Qe,"spectrum-Textfield-validationIcon",()=>T3,e=>T3=e);Ct(Qe,"spectrum-Textfield-icon",()=>A3,e=>A3=e);Ct(Qe,"spectrum-Textfield-inputIcon",()=>O3,e=>O3=e);Ct(Qe,"spectrum-Textfield-circleLoader",()=>R3,e=>R3=e);Ct(Qe,"is-focused",()=>_3,e=>_3=e);Ct(Qe,"is-disabled",()=>k3,e=>k3=e);var h3,g3,b3,y3,$3,x3,w3,S3,E3,C3,P3,I3,T3,A3,O3,R3,_3,k3;h3="spectrum-Textfield-input_73bc77";g3="spectrum-Textfield_73bc77";b3="focus-ring_73bc77";y3="spectrum-Textfield--quiet_73bc77";$3="spectrum-Textfield--multiline_73bc77";x3="is-placeholder_73bc77";w3="is-hovered_73bc77";S3="spectrum-Textfield--valid_73bc77";E3="spectrum-Textfield--invalid_73bc77";C3="spectrum-Textfield--loadable_73bc77";P3="spectrum-Textfield-wrapper_73bc77";I3="spectrum-Textfield-wrapper--quiet_73bc77";T3="spectrum-Textfield-validationIcon_73bc77";A3="spectrum-Textfield-icon_73bc77";O3="spectrum-Textfield-inputIcon_73bc77";R3="spectrum-Textfield-circleLoader_73bc77";_3="is-focused_73bc77";k3="is-disabled_73bc77";function TQ(e,t){let{validationState:r,icon:n,isQuiet:i=!1,isDisabled:o,multiLine:a,autoFocus:l,inputClassName:s,wrapperChildren:u,labelProps:c,inputProps:f,descriptionProps:d,errorMessageProps:p,inputRef:m,isLoading:b,loadingIndicator:v,validationIconClassName:h,disableFocusRing:g}=e,{hoverProps:y,isHovered:x}=nr({isDisabled:o}),C=$.useRef(null),E=$.useRef(null),P=m||E;$.useImperativeHandle(t,()=>({...LR(C,P),select(){P.current&&P.current.select()},getInputElement(){return P.current}}));let S=a?"textarea":"input",I=r==="invalid"&&!o;if(n){let U=R(ls(Qe),n.props&&n.props.UNSAFE_className,"spectrum-Textfield-icon");n=$.cloneElement(n,{UNSAFE_className:U,size:"S"})}let _=I?w.createElement(o6,null):w.createElement(sv,null),T=$.cloneElement(_,{UNSAFE_className:R(ls(Qe),"spectrum-Textfield-validationIcon",h)}),{focusProps:k,isFocusVisible:A}=GR({isTextInput:!0,autoFocus:l}),O=w.createElement("div",{className:R(ls(Qe),"spectrum-Textfield",{"spectrum-Textfield--invalid":I,"spectrum-Textfield--valid":r==="valid"&&!o,"spectrum-Textfield--loadable":v,"spectrum-Textfield--quiet":i,"spectrum-Textfield--multiline":a,"focus-ring":!g&&A})},w.createElement(S,{...ee(f,y,k),ref:P,rows:a?1:void 0,className:R(ls(Qe),"spectrum-Textfield-input",{"spectrum-Textfield-inputIcon":n,"is-hovered":x},s)}),n,r&&!b&&!o?T:null,b&&v,u);return w.createElement(a6,{...e,labelProps:c,descriptionProps:d,errorMessageProps:p,wrapperClassName:R(ls(Qe),"spectrum-Textfield-wrapper",{"spectrum-Textfield-wrapper--quiet":i}),showErrorIcon:!1,ref:C},O)}const lL=$.forwardRef(TQ);function AQ(e){return e&&e.__esModule?e.default:e}var sL={},uL={};uL={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var cL={};cL={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var dL={};dL={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var fL={};fL={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var pL={};pL={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var vL={};vL={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var mL={};mL={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var hL={};hL={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var gL={};gL={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var bL={};bL={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var yL={};yL={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} saisi, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var $L={};$L={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var xL={};xL={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var wL={};wL={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var SL={};SL={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var EL={};EL={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var CL={};CL={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var PL={};PL={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var IL={};IL={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var TL={};TL={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var AL={};AL={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var OL={};OL={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var RL={};RL={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var _L={};_L={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var kL={};kL={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var DL={};DL={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var ML={};ML={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var NL={};NL={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var LL={};LL={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var FL={};FL={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var BL={};BL={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var zL={};zL={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var jL={};jL={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var UL={};UL={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};sL={"ar-AE":uL,"bg-BG":cL,"cs-CZ":dL,"da-DK":fL,"de-DE":pL,"el-GR":vL,"en-US":mL,"es-ES":hL,"et-EE":gL,"fi-FI":bL,"fr-FR":yL,"he-IL":$L,"hr-HR":xL,"hu-HU":wL,"it-IT":SL,"ja-JP":EL,"ko-KR":CL,"lt-LT":PL,"lv-LV":IL,"nb-NO":TL,"nl-NL":AL,"pl-PL":OL,"pt-BR":RL,"pt-PT":_L,"ro-RO":kL,"ru-RU":DL,"sk-SK":ML,"sl-SI":NL,"sr-SP":LL,"sv-SE":FL,"tr-TR":BL,"uk-UA":zL,"zh-CN":jL,"zh-TW":UL};function WL(e,t){let{buttonRef:r,popoverRef:n,inputRef:i,listBoxRef:o,keyboardDelegate:a,shouldFocusWrap:l,isReadOnly:s,isDisabled:u}=e,c=Ur(AQ(sL)),{menuTriggerProps:f,menuProps:d}=Bk({type:"listbox",isDisabled:u||s},t,r);cv.set(t,{id:d.id});let p=$.useMemo(()=>a||new rk(t.collection,t.disabledKeys,o),[a,t.collection,t.disabledKeys,o]),{collectionProps:m}=ek({selectionManager:t.selectionManager,keyboardDelegate:p,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:l,ref:i,isVirtualized:!0}),b=F=>{switch(F.key){case"Enter":case"Tab":t.isOpen&&F.key==="Enter"&&F.preventDefault(),t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&F.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},v=F=>{var K;F.relatedTarget===(r==null?void 0:r.current)||!((K=n.current)===null||K===void 0)&&K.contains(F.relatedTarget)||(e.onBlur&&e.onBlur(F),t.setFocused(!1))},h=F=>{t.isFocused||(e.onFocus&&e.onFocus(F),t.setFocused(!0))},{labelProps:g,inputProps:y,descriptionProps:x,errorMessageProps:C}=IQ({...e,onChange:t.setInputValue,onKeyDown:!s&&pu(t.isOpen&&m.onKeyDown,b,e.onKeyDown),onBlur:v,value:t.inputValue,onFocus:h,autoComplete:"off"},i),E=F=>{F.pointerType==="touch"&&(i.current.focus(),t.toggle(null,"manual"))},P=F=>{F.pointerType!=="touch"&&(i.current.focus(),t.toggle(F.pointerType==="keyboard"||F.pointerType==="virtual"?"first":null,"manual"))},S=Ef({id:f.id,"aria-label":c.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||g.id}),I=Ef({id:d.id,"aria-label":c.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||g.id}),_=$.useRef(0),T=F=>{if(u||s)return;if(F.timeStamp-_.current<500){F.preventDefault(),i.current.focus();return}let K=F.target.getBoundingClientRect(),re=F.changedTouches[0],ge=Math.ceil(K.left+.5*K.width),Ve=Math.ceil(K.top+.5*K.height);re.clientX===ge&&re.clientY===Ve&&(F.preventDefault(),i.current.focus(),t.toggle(null,"manual"),_.current=F.timeStamp)},k=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var A;let O=(A=k==null?void 0:k.parentKey)!==null&&A!==void 0?A:null;var U;let G=(U=t.selectionManager.focusedKey)!==null&&U!==void 0?U:null,W=$.useRef(O),N=$.useRef(G);$.useEffect(()=>{if(Ld()&&k!=null&&G!==N.current){let F=t.selectionManager.isSelected(G),K=O!=null?t.collection.getItem(O):null,re=(K==null?void 0:K["aria-label"])||(typeof(K==null?void 0:K.rendered)=="string"?K.rendered:"")||"",ge=c.format("focusAnnouncement",{isGroupChange:K&&O!==W.current,groupTitle:re,groupCount:K?[...Io(K,t.collection)].length:0,optionText:k["aria-label"]||k.textValue||"",isSelected:F});Bd(ge)}W.current=O,N.current=G});let Y=k8(t.collection),oe=$.useRef(Y),M=$.useRef(t.isOpen);$.useEffect(()=>{let F=t.isOpen!==M.current&&(t.selectionManager.focusedKey==null||Ld());if(t.isOpen&&(F||Y!==oe.current)){let K=c.format("countAnnouncement",{optionCount:Y});Bd(K)}oe.current=Y,M.current=t.isOpen});let L=$.useRef(t.selectedKey);return $.useEffect(()=>{if(Ld()&&t.isFocused&&t.selectedItem&&t.selectedKey!==L.current){let F=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",K=c.format("selectedAnnouncement",{optionText:F});Bd(K)}L.current=t.selectedKey}),$.useEffect(()=>{if(t.isOpen)return q8([i.current,n.current])},[t.isOpen,i,n]),{labelProps:g,buttonProps:{...f,...S,excludeFromTabOrder:!0,onPress:E,onPressStart:P,isDisabled:u||s},inputProps:ee(y,{role:"combobox","aria-expanded":f["aria-expanded"],"aria-controls":t.isOpen?d.id:void 0,"aria-autocomplete":"list","aria-activedescendant":k?xN(t,k.key):void 0,onTouchEnd:T,autoCorrect:"off",spellCheck:"false"}),listBoxProps:ee(d,I,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0}),descriptionProps:x,errorMessageProps:C}}function KL(e){var t;let{defaultFilter:r,menuTrigger:n="input",allowsEmptyCollection:i=!1,allowsCustomValue:o,shouldCloseOnBlur:a=!0}=e,[l,s]=$.useState(!1),[u,c]=$.useState(!1);var f;let[d,p]=Bu(e.inputValue,(f=e.defaultInputValue)!==null&&f!==void 0?f:"",e.onInputChange),m=ae=>{e.onSelectionChange&&e.onSelectionChange(ae),ae===g&&(N(),G())};var b;let{collection:v,selectionManager:h,selectedKey:g,setSelectedKey:y,selectedItem:x,disabledKeys:C}=GY({...e,onSelectionChange:m,items:(b=e.items)!==null&&b!==void 0?b:e.defaultItems}),E=v,P=$.useMemo(()=>e.items!=null||!r?v:OQ(v,d,r),[v,d,r,e.items]),[S,I]=$.useState(P),_=$.useRef("focus"),k=jk({...e,onOpenChange:ae=>{e.onOpenChange&&e.onOpenChange(ae,ae?_.current:void 0),h.setFocused(ae),ae||h.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),A=(ae,ye)=>{let Ee=ye==="manual"||ye==="focus"&&n==="focus";(i||P.size>0||Ee&&E.size>0||e.items)&&(Ee&&!k.isOpen&&e.items===void 0&&s(!0),_.current=ye,k.open(ae))},O=(ae,ye)=>{let Ee=ye==="manual"||ye==="focus"&&n==="focus";!(i||P.size>0||Ee&&E.size>0||e.items)&&!k.isOpen||(Ee&&!k.isOpen&&e.items===void 0&&s(!0),k.isOpen||(_.current=ye),U(ae))},U=$.useCallback(ae=>{k.isOpen&&I(P),k.toggle(ae)},[k,P]),G=$.useCallback(()=>{k.isOpen&&(I(P),k.close())},[k,P]),W=$.useRef(d),N=()=>{var ae,ye;let Ee=(ye=(ae=v.getItem(g))===null||ae===void 0?void 0:ae.textValue)!==null&&ye!==void 0?ye:"";W.current=Ee,p(Ee)},Y=$.useRef(!0);var oe,M;let L=$.useRef((M=(oe=e.selectedKey)!==null&&oe!==void 0?oe:e.defaultSelectedKey)!==null&&M!==void 0?M:null);var F;let K=$.useRef((F=(t=v.getItem(g))===null||t===void 0?void 0:t.textValue)!==null&&F!==void 0?F:"");$.useEffect(()=>{var ae;u&&(P.size>0||i)&&!k.isOpen&&d!==W.current&&n!=="manual"&&A(null,"input"),!l&&!i&&k.isOpen&&P.size===0&&G(),g!=null&&g!==L.current&&G(),d!==W.current&&(h.setFocusedKey(null),s(!1),d===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&y(null)),Y.current&&e.inputValue===void 0&&e.defaultInputValue===void 0&&N(),g!==L.current&&(e.inputValue===void 0||e.selectedKey===void 0)?N():W.current=d;var ye;let Ee=(ye=(ae=v.getItem(g))===null||ae===void 0?void 0:ae.textValue)!==null&&ye!==void 0?ye:"";!u&&g!=null&&e.inputValue===void 0&&g===L.current&&K.current!==Ee&&(W.current=Ee,p(Ee)),Y.current=!1,L.current=g,K.current=Ee});let re=()=>{o&&g==null?ge():Ve()},ge=()=>{L.current=null,y(null),G()},Ve=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var ae;e.onSelectionChange(g);var ye;let Ee=(ye=(ae=v.getItem(g))===null||ae===void 0?void 0:ae.textValue)!==null&&ye!==void 0?ye:"";W.current=Ee,G()}else N(),G()};const Ye=()=>{if(o){var ae,ye;const Ee=(ye=(ae=v.getItem(g))===null||ae===void 0?void 0:ae.textValue)!==null&&ye!==void 0?ye:"";d===Ee?Ve():ge()}else Ve()};let et=()=>{k.isOpen&&h.focusedKey!=null?g===h.focusedKey?Ve():y(h.focusedKey):Ye()},ve=ae=>{ae?n==="focus"&&A(null,"focus"):a&&Ye(),c(ae)},Hr=$.useMemo(()=>k.isOpen?l?E:P:S,[k.isOpen,E,P,l,S]);return{...k,toggle:O,open:A,close:Ye,selectionManager:h,selectedKey:g,setSelectedKey:y,disabledKeys:C,isFocused:u,setFocused:ve,selectedItem:x,collection:Hr,inputValue:d,setInputValue:p,commit:et,revert:re}}function OQ(e,t,r){return new G1(HL(e,e,t,r))}function HL(e,t,r,n){let i=[];for(let o of t)if(o.type==="section"&&o.hasChildNodes){let a=HL(e,Io(o,e),r,n);[...a].some(l=>l.type==="item")&&i.push({...o,childNodes:a})}else o.type==="item"&&n(o.textValue,r)?i.push({...o}):o.type!=="item"&&i.push({...o});return i}function VL(e,t){let{role:r="dialog"}=e,n=Un();n=e["aria-label"]?void 0:n;let i=$.useRef(!1);return $.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){Kn(t.current);let o=setTimeout(()=>{document.activeElement===t.current&&(i.current=!0,t.current.blur(),Kn(t.current),i.current=!1)},500);return()=>{clearTimeout(o)}}},[t]),D_(),{dialogProps:{..._e(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:o=>{i.current&&o.stopPropagation()}},titleProps:{id:n}}}function ue(e){return e&&e.__esModule?e.default:e}function D(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var $t={};D($t,"no-results",()=>D3,e=>D3=e);D($t,"mobile-combobox",()=>M3,e=>M3=e);D($t,"mobile-input",()=>N3,e=>N3=e);D($t,"mobile-value",()=>L3,e=>L3=e);D($t,"tray-dialog",()=>F3,e=>F3=e);D($t,"tray-textfield",()=>B3,e=>B3=e);D($t,"has-label",()=>z3,e=>z3=e);D($t,"tray-textfield-input",()=>j3,e=>j3=e);D($t,"tray-listbox",()=>U3,e=>U3=e);var D3,M3,N3,L3,F3,B3,z3,j3,U3;D3="no-results_743018";M3="mobile-combobox_743018";N3="mobile-input_743018";L3="mobile-value_743018";F3="tray-dialog_743018";B3="tray-textfield_743018";z3="has-label_743018";j3="tray-textfield-input_743018";U3="tray-listbox_743018";var Yu={},GL={};GL={clear:"مسح",invalid:"(غير صالح)",loading:"جارٍ التحميل...",noResults:"لا توجد نتائج"};var qL={};qL={clear:"Изчисти",invalid:"(невалиден)",loading:"Зареждане...",noResults:"Няма резултати"};var YL={};YL={clear:"Vymazat",invalid:"(neplatné)",loading:"Načítání...",noResults:"Žádné výsledky"};var XL={};XL={clear:"Ryd",invalid:"(ugyldig)",loading:"Indlæser ...",noResults:"Ingen resultater"};var QL={};QL={clear:"Löschen",invalid:"(ungültig)",loading:"Wird geladen...",noResults:"Keine Ergebnisse"};var JL={};JL={clear:"Καθαρισμός",invalid:"(δεν ισχύει)",loading:"Φόρτωση...",noResults:"Χωρίς αποτέλεσμα"};var ZL={};ZL={loading:"Loading...",noResults:"No results",clear:"Clear",invalid:"(invalid)"};var eF={};eF={clear:"Borrar",invalid:"(no válido)",loading:"Cargando...",noResults:"Sin resultados"};var tF={};tF={clear:"Puhasta",invalid:"(kehtetu)",loading:"Laadimine...",noResults:"Tulemusi pole"};var rF={};rF={clear:"Kirkas",invalid:"(epäkelpo)",loading:"Ladataan...",noResults:"Ei tuloksia"};var nF={};nF={clear:"Effacer",invalid:"(non valide)",loading:"Chargement en cours...",noResults:"Aucun résultat"};var iF={};iF={clear:"נקי",invalid:"(לא חוקי)",loading:"טוען...",noResults:"אין תוצאות"};var oF={};oF={clear:"Izbriši",invalid:"(nevažeće)",loading:"Učitavam...",noResults:"Nema rezultata"};var aF={};aF={clear:"Törlés",invalid:"(érvénytelen)",loading:"Betöltés folyamatban…",noResults:"Nincsenek találatok"};var lF={};lF={clear:"Cancella",invalid:"(non valido)",loading:"Caricamento in corso...",noResults:"Nessun risultato"};var sF={};sF={clear:"クリア",invalid:"(無効)",loading:"読み込み中...",noResults:"結果なし"};var uF={};uF={clear:"지우기",invalid:"(유효하지 않음)",loading:"로드 중...",noResults:"결과 없음"};var cF={};cF={clear:"Skaidrus",invalid:"(netinkama)",loading:"Įkeliama...",noResults:"Be rezultatų"};var dF={};dF={clear:"Notīrīt",invalid:"(nederīgs)",loading:"Notiek ielāde...",noResults:"Nav rezultātu"};var fF={};fF={clear:"Tøm",invalid:"(ugyldig)",loading:"Laster inn ...",noResults:"Ingen resultater"};var pF={};pF={clear:"Helder",invalid:"(ongeldig)",loading:"Laden...",noResults:"Geen resultaten"};var vF={};vF={clear:"Wyczyść",invalid:"(nieprawidłowy)",loading:"Trwa ładowanie...",noResults:"Brak wyników"};var mF={};mF={clear:"Limpar",invalid:"(inválido)",loading:"Carregando...",noResults:"Nenhum resultado"};var hF={};hF={clear:"Limpar",invalid:"(inválido)",loading:"A carregar...",noResults:"Sem resultados"};var gF={};gF={clear:"Golire",invalid:"(nevalid)",loading:"Se încarcă...",noResults:"Niciun rezultat"};var bF={};bF={clear:"Очистить",invalid:"(недействительно)",loading:"Загрузка...",noResults:"Результаты отсутствуют"};var yF={};yF={clear:"Vymazať",invalid:"(neplatné)",loading:"Načítava sa...",noResults:"Žiadne výsledky"};var $F={};$F={clear:"Jasen",invalid:"(neveljavno)",loading:"Nalaganje...",noResults:"Ni rezultatov"};var xF={};xF={clear:"Izbriši",invalid:"(nevažeće)",loading:"Učitavam...",noResults:"Nema rezultata"};var wF={};wF={clear:"Rensa",invalid:"(ogiltigt)",loading:"Läser in...",noResults:"Inga resultat"};var SF={};SF={clear:"Temizle",invalid:"(geçersiz)",loading:"Yükleniyor...",noResults:"Sonuç yok"};var EF={};EF={clear:"Очистити",invalid:"(недійсне)",loading:"Завантаження...",noResults:"Результатів немає"};var CF={};CF={clear:"透明",invalid:"(无效)",loading:"正在加载...",noResults:"无结果"};var PF={};PF={clear:"清除",invalid:"(無效)",loading:"正在載入...",noResults:"無任何結果"};Yu={"ar-AE":GL,"bg-BG":qL,"cs-CZ":YL,"da-DK":XL,"de-DE":QL,"el-GR":JL,"en-US":ZL,"es-ES":eF,"et-EE":tF,"fi-FI":rF,"fr-FR":nF,"he-IL":iF,"hr-HR":oF,"hu-HU":aF,"it-IT":lF,"ja-JP":sF,"ko-KR":uF,"lt-LT":cF,"lv-LV":dF,"nb-NO":fF,"nl-NL":pF,"pl-PL":vF,"pt-BR":mF,"pt-PT":hF,"ro-RO":gF,"ru-RU":bF,"sk-SK":yF,"sl-SI":$F,"sr-SP":xF,"sv-SE":wF,"tr-TR":SF,"uk-UA":EF,"zh-CN":CF,"zh-TW":PF};var Te={};D(Te,"spectrum-Button",()=>W3,e=>W3=e);D(Te,"spectrum-ActionButton",()=>K3,e=>K3=e);D(Te,"spectrum-LogicButton",()=>H3,e=>H3=e);D(Te,"spectrum-FieldButton",()=>V3,e=>V3=e);D(Te,"spectrum-ClearButton",()=>G3,e=>G3=e);D(Te,"focus-ring",()=>q3,e=>q3=e);D(Te,"spectrum-FieldButton--quiet",()=>Y3,e=>Y3=e);D(Te,"spectrum-Icon",()=>X3,e=>X3=e);D(Te,"is-hovered",()=>Q3,e=>Q3=e);D(Te,"spectrum-Button-label",()=>J3,e=>J3=e);D(Te,"spectrum-Button--iconOnly",()=>Z3,e=>Z3=e);D(Te,"spectrum-ActionButton-label",()=>e5,e=>e5=e);D(Te,"spectrum-ActionButton-hold",()=>t5,e=>t5=e);D(Te,"spectrum-ActionButton--quiet",()=>r5,e=>r5=e);D(Te,"is-disabled",()=>n5,e=>n5=e);D(Te,"is-open",()=>i5,e=>i5=e);D(Te,"spectrum-ClearButton--small",()=>o5,e=>o5=e);D(Te,"is-active",()=>a5,e=>a5=e);D(Te,"spectrum-ClearButton--overBackground",()=>l5,e=>l5=e);D(Te,"is-selected",()=>s5,e=>s5=e);D(Te,"spectrum-ActionButton--emphasized",()=>u5,e=>u5=e);D(Te,"spectrum-ActionButton--staticWhite",()=>c5,e=>c5=e);D(Te,"spectrum-ActionButton--staticBlack",()=>d5,e=>d5=e);D(Te,"spectrum-ActionButton--staticColor",()=>f5,e=>f5=e);D(Te,"spectrum-LogicButton--and",()=>p5,e=>p5=e);D(Te,"spectrum-LogicButton--or",()=>v5,e=>v5=e);D(Te,"is-focused",()=>m5,e=>m5=e);D(Te,"is-placeholder",()=>h5,e=>h5=e);D(Te,"spectrum-FieldButton--invalid",()=>g5,e=>g5=e);D(Te,"spectrum-Button--overBackground",()=>b5,e=>b5=e);var W3,K3,H3,V3,G3,q3,Y3,X3,Q3,J3,Z3,e5,t5,r5,n5,i5,o5,a5,l5,s5,u5,c5,d5,f5,p5,v5,m5,h5,g5,b5;W3="spectrum-Button_e2d99e";K3="spectrum-ActionButton_e2d99e";H3="spectrum-LogicButton_e2d99e";V3="spectrum-FieldButton_e2d99e";G3="spectrum-ClearButton_e2d99e";q3="focus-ring_e2d99e";Y3="spectrum-FieldButton--quiet_e2d99e";X3="spectrum-Icon_e2d99e";Q3="is-hovered_e2d99e";J3="spectrum-Button-label_e2d99e";Z3="spectrum-Button--iconOnly_e2d99e";e5="spectrum-ActionButton-label_e2d99e";t5="spectrum-ActionButton-hold_e2d99e";r5="spectrum-ActionButton--quiet_e2d99e";n5="is-disabled_e2d99e";i5="is-open_e2d99e";o5="spectrum-ClearButton--small_e2d99e";a5="is-active_e2d99e";l5="spectrum-ClearButton--overBackground_e2d99e";s5="is-selected_e2d99e";u5="spectrum-ActionButton--emphasized_e2d99e";c5="spectrum-ActionButton--staticWhite_e2d99e";d5="spectrum-ActionButton--staticBlack_e2d99e";f5="spectrum-ActionButton--staticColor_e2d99e";p5="spectrum-LogicButton--and_e2d99e";v5="spectrum-LogicButton--or_e2d99e";m5="is-focused_e2d99e";h5="is-placeholder_e2d99e";g5="spectrum-FieldButton--invalid_e2d99e";b5="spectrum-Button--overBackground_e2d99e";var ut={};D(ut,"spectrum-FieldLabel",()=>y5,e=>y5=e);D(ut,"spectrum-FieldLabel--positionSide",()=>$5,e=>$5=e);D(ut,"spectrum-FieldLabel-requiredIcon",()=>x5,e=>x5=e);D(ut,"spectrum-FieldLabel--alignEnd",()=>w5,e=>w5=e);D(ut,"spectrum-Field",()=>S5,e=>S5=e);D(ut,"spectrum-Field-contextualHelp",()=>E5,e=>E5=e);D(ut,"spectrum-Field--positionTop",()=>C5,e=>C5=e);D(ut,"spectrum-Field-field",()=>P5,e=>P5=e);D(ut,"spectrum-Field--alignEnd",()=>I5,e=>I5=e);D(ut,"spectrum-Field--positionSide",()=>T5,e=>T5=e);D(ut,"spectrum-Field-wrapper",()=>A5,e=>A5=e);D(ut,"spectrum-Field--hasContextualHelp",()=>O5,e=>O5=e);D(ut,"spectrum-Form",()=>R5,e=>R5=e);D(ut,"spectrum-Form--positionSide",()=>_5,e=>_5=e);D(ut,"spectrum-Field-labelCell",()=>k5,e=>k5=e);D(ut,"spectrum-Field-labelWrapper",()=>D5,e=>D5=e);D(ut,"spectrum-Form--positionTop",()=>M5,e=>M5=e);D(ut,"spectrum-LabeledValue",()=>N5,e=>N5=e);D(ut,"spectrum-Form-itemLabel",()=>L5,e=>L5=e);D(ut,"is-disabled",()=>F5,e=>F5=e);var y5,$5,x5,w5,S5,E5,C5,P5,I5,T5,A5,O5,R5,_5,k5,D5,M5,N5,L5,F5;y5="spectrum-FieldLabel_d2db1f";$5="spectrum-FieldLabel--positionSide_d2db1f";x5="spectrum-FieldLabel-requiredIcon_d2db1f";w5="spectrum-FieldLabel--alignEnd_d2db1f";S5="spectrum-Field_d2db1f";E5="spectrum-Field-contextualHelp_d2db1f";C5="spectrum-Field--positionTop_d2db1f";P5="spectrum-Field-field_d2db1f";I5="spectrum-Field--alignEnd_d2db1f";T5="spectrum-Field--positionSide_d2db1f";A5="spectrum-Field-wrapper_d2db1f";O5="spectrum-Field--hasContextualHelp_d2db1f";R5="spectrum-Form_d2db1f";_5="spectrum-Form--positionSide_d2db1f";k5="spectrum-Field-labelCell_d2db1f";D5="spectrum-Field-labelWrapper_d2db1f";M5="spectrum-Form--positionTop_d2db1f";N5="spectrum-LabeledValue_d2db1f";L5="spectrum-Form-itemLabel_d2db1f";F5="is-disabled_d2db1f";var Ht={};D(Ht,"spectrum-Search",()=>B5,e=>B5=e);D(Ht,"spectrum-ClearButton",()=>z5,e=>z5=e);D(Ht,"is-quiet",()=>j5,e=>j5=e);D(Ht,"spectrum-Search-input",()=>U5,e=>U5=e);D(Ht,"spectrum-Search--invalid",()=>W5,e=>W5=e);D(Ht,"spectrum-Search--valid",()=>K5,e=>K5=e);D(Ht,"spectrum-Search--loadable",()=>H5,e=>H5=e);D(Ht,"spectrum-Search-circleLoader",()=>V5,e=>V5=e);D(Ht,"spectrum-Search-validationIcon",()=>G5,e=>G5=e);D(Ht,"spectrum-Textfield",()=>q5,e=>q5=e);var B5,z5,j5,U5,W5,K5,H5,V5,G5,q5;B5="spectrum-Search_d3c0f3";z5="spectrum-ClearButton_d3c0f3";j5="is-quiet_d3c0f3";U5="spectrum-Search-input_d3c0f3";W5="spectrum-Search--invalid_d3c0f3";K5="spectrum-Search--valid_d3c0f3";H5="spectrum-Search--loadable_d3c0f3";V5="spectrum-Search-circleLoader_d3c0f3";G5="spectrum-Search-validationIcon_d3c0f3";q5="spectrum-Textfield_d3c0f3";var de={};D(de,"spectrum-InputGroup",()=>Y5,e=>Y5=e);D(de,"focus-ring",()=>X5,e=>X5=e);D(de,"spectrum-InputGroup--quiet",()=>Q5,e=>Q5=e);D(de,"spectrum-FieldButton",()=>J5,e=>J5=e);D(de,"is-disabled",()=>Z5,e=>Z5=e);D(de,"spectrum-InputGroup--invalid",()=>ew,e=>ew=e);D(de,"spectrum-InputGroup-field",()=>tw,e=>tw=e);D(de,"spectrum-InputGroup-input-validationIcon",()=>rw,e=>rw=e);D(de,"spectrum-InputGroup-input-circleLoader",()=>nw,e=>nw=e);D(de,"spectrum-InputGroup-input",()=>iw,e=>iw=e);D(de,"spectrum-InputGroup-icon",()=>ow,e=>ow=e);D(de,"spectrum-InputGroup-popover--quiet",()=>aw,e=>aw=e);D(de,"spectrum-Datepicker--range",()=>lw,e=>lw=e);D(de,"spectrum-Datepicker--datetimeRange",()=>sw,e=>sw=e);D(de,"spectrum-Datepicker-startField",()=>uw,e=>uw=e);D(de,"spectrum-Datepicker-endField",()=>cw,e=>cw=e);D(de,"spectrum-Datepicker--rangeDash",()=>dw,e=>dw=e);D(de,"is-focused",()=>fw,e=>fw=e);D(de,"spectrum-Datepicker-focusRing",()=>pw,e=>pw=e);D(de,"is-hovered",()=>vw,e=>vw=e);D(de,"is-selected",()=>mw,e=>mw=e);D(de,"spectrum-FieldButton--invalid",()=>hw,e=>hw=e);var Y5,X5,Q5,J5,Z5,ew,tw,rw,nw,iw,ow,aw,lw,sw,uw,cw,dw,fw,pw,vw,mw,hw;Y5="spectrum-InputGroup_a0942f";X5="focus-ring_a0942f";Q5="spectrum-InputGroup--quiet_a0942f";J5="spectrum-FieldButton_a0942f";Z5="is-disabled_a0942f";ew="spectrum-InputGroup--invalid_a0942f";tw="spectrum-InputGroup-field_a0942f";rw="spectrum-InputGroup-input-validationIcon_a0942f";nw="spectrum-InputGroup-input-circleLoader_a0942f";iw="spectrum-InputGroup-input_a0942f";ow="spectrum-InputGroup-icon_a0942f";aw="spectrum-InputGroup-popover--quiet_a0942f";lw="spectrum-Datepicker--range_a0942f";sw="spectrum-Datepicker--datetimeRange_a0942f";uw="spectrum-Datepicker-startField_a0942f";cw="spectrum-Datepicker-endField_a0942f";dw="spectrum-Datepicker--rangeDash_a0942f";fw="is-focused_a0942f";pw="spectrum-Datepicker-focusRing_a0942f";vw="is-hovered_a0942f";mw="is-selected_a0942f";hw="spectrum-FieldButton--invalid_a0942f";var Ze={};D(Ze,"spectrum-Textfield-input",()=>gw,e=>gw=e);D(Ze,"spectrum-Textfield",()=>bw,e=>bw=e);D(Ze,"focus-ring",()=>yw,e=>yw=e);D(Ze,"spectrum-Textfield--quiet",()=>$w,e=>$w=e);D(Ze,"spectrum-Textfield--multiline",()=>xw,e=>xw=e);D(Ze,"is-placeholder",()=>ww,e=>ww=e);D(Ze,"is-hovered",()=>Sw,e=>Sw=e);D(Ze,"spectrum-Textfield--valid",()=>Ew,e=>Ew=e);D(Ze,"spectrum-Textfield--invalid",()=>Cw,e=>Cw=e);D(Ze,"spectrum-Textfield--loadable",()=>Pw,e=>Pw=e);D(Ze,"spectrum-Textfield-wrapper",()=>Iw,e=>Iw=e);D(Ze,"spectrum-Textfield-wrapper--quiet",()=>Tw,e=>Tw=e);D(Ze,"spectrum-Textfield-validationIcon",()=>Aw,e=>Aw=e);D(Ze,"spectrum-Textfield-icon",()=>Ow,e=>Ow=e);D(Ze,"spectrum-Textfield-inputIcon",()=>Rw,e=>Rw=e);D(Ze,"spectrum-Textfield-circleLoader",()=>_w,e=>_w=e);D(Ze,"is-focused",()=>kw,e=>kw=e);D(Ze,"is-disabled",()=>Dw,e=>Dw=e);var gw,bw,yw,$w,xw,ww,Sw,Ew,Cw,Pw,Iw,Tw,Aw,Ow,Rw,_w,kw,Dw;gw="spectrum-Textfield-input_73bc77";bw="spectrum-Textfield_73bc77";yw="focus-ring_73bc77";$w="spectrum-Textfield--quiet_73bc77";xw="spectrum-Textfield--multiline_73bc77";ww="is-placeholder_73bc77";Sw="is-hovered_73bc77";Ew="spectrum-Textfield--valid_73bc77";Cw="spectrum-Textfield--invalid_73bc77";Pw="spectrum-Textfield--loadable_73bc77";Iw="spectrum-Textfield-wrapper_73bc77";Tw="spectrum-Textfield-wrapper--quiet_73bc77";Aw="spectrum-Textfield-validationIcon_73bc77";Ow="spectrum-Textfield-icon_73bc77";Rw="spectrum-Textfield-inputIcon_73bc77";_w="spectrum-Textfield-circleLoader_73bc77";kw="is-focused_73bc77";Dw="is-disabled_73bc77";const RQ=w.forwardRef(function(t,r){t=Xn(t);let{isQuiet:n,isDisabled:i,validationState:o,isReadOnly:a,name:l,formValue:s="text",allowsCustomValue:u}=t;u&&(s="text");let{contains:c}=NR({sensitivity:"base"}),f=KL({...t,defaultFilter:c,allowsEmptyCollection:!0,shouldCloseOnBlur:!1}),d=$.useRef(),p=Pl(r,d),{triggerProps:m,overlayProps:b}=G8({type:"listbox"},f,d),{labelProps:v,fieldProps:h}=$N({...t,labelElementType:"span"});v.onClick=()=>{t.isDisabled||(d.current.focus(),xG("keyboard"))};let g={type:"hidden",name:l,value:s==="text"?f.inputValue:f.selectedKey},y=$.useRef(null);return OR(y,g.value,s==="text"?f.setInputValue:f.setSelectedKey),w.createElement(w.Fragment,null,w.createElement(a6,{...t,labelProps:v,elementType:"span",ref:p,includeNecessityIndicatorInAccessibilityName:!0},w.createElement(_Q,{...ee(m,h,{autoFocus:t.autoFocus}),ref:d,isQuiet:n,isDisabled:i,isPlaceholder:!f.inputValue,validationState:o,onPress:()=>!a&&f.open(null,"manual")},f.inputValue||t.placeholder||"")),l&&w.createElement("input",{...g,ref:y}),w.createElement(e6,{state:f,isFixedHeight:!0,...b},w.createElement(kQ,{...t,onClose:f.close,overlayProps:b,state:f})))}),_Q=w.forwardRef(function(t,r){let{isQuiet:n,isDisabled:i,isPlaceholder:o,validationState:a,children:l,style:s,className:u}=t,c=Ur(ue(Yu)),f=wt(),d=wt(),p=a==="invalid"?w.createElement(o6,{id:d,"aria-label":c.format("invalid")}):w.createElement(sv,null),m=w.cloneElement(p,{UNSAFE_className:R(ue(Ze),"spectrum-Textfield-validationIcon",R(ue(de),"spectrum-InputGroup-input-validationIcon"))}),{hoverProps:b,isHovered:v}=nr({}),{buttonProps:h,isPressed:g}=Vu({...t,"aria-labelledby":[t["aria-labelledby"],t["aria-label"]&&!t["aria-labelledby"]?t.id:null,f,a==="invalid"?d:null].filter(Boolean).join(" "),elementType:"div"},r);return w.createElement(Hi,{focusClass:R(ue(de),"is-focused"),focusRingClass:R(ue(de),"focus-ring")},w.createElement("div",{...ee(b,h),"aria-haspopup":"dialog",ref:r,style:{...s,outline:"none"},className:R(ue(de),"spectrum-InputGroup",{"spectrum-InputGroup--quiet":n,"is-disabled":i,"spectrum-InputGroup--invalid":a==="invalid"&&!i,"is-hovered":v},R(ue($t),"mobile-combobox"),u)},w.createElement("div",{className:R(ue(Ze),"spectrum-Textfield",{"spectrum-Textfield--invalid":a==="invalid"&&!i,"spectrum-Textfield--valid":a==="valid"&&!i,"spectrum-Textfield--quiet":n},R(ue(de),"spectrum-InputGroup-field"))},w.createElement("div",{className:R(ue(Ze),"spectrum-Textfield-input",{"is-hovered":v,"is-placeholder":o,"is-disabled":i},R(ue(de),"spectrum-InputGroup-input",R(ue(ut),"spectrum-Field-field")),R(ue($t),"mobile-input"))},w.createElement("span",{id:f,className:R(ue($t),"mobile-value")},l)),a&&!i?m:null),w.createElement("div",{className:R(ue(Te),"spectrum-FieldButton",{"spectrum-FieldButton--quiet":n,"is-active":g,"is-disabled":i,"spectrum-FieldButton--invalid":a==="invalid"&&!i,"is-hovered":v},R(ue(de),"spectrum-FieldButton"))},w.createElement(X8,{UNSAFE_className:R(ue(de),"spectrum-Dropdown-chevron")}))))});function kQ(e){let{state:t,isDisabled:r,validationState:n,label:i,overlayProps:o,loadingState:a,onLoadMore:l,onClose:s}=e,u=$.useRef(null),[c,f]=$.useState(!1),d=$.useRef(),p=$.useRef(),m=$.useRef(),b=$.useRef(),v=a==="loading"||a==="loadingMore",h=oL(t,v),g=Ur(ue(Yu)),{inputProps:y,listBoxProps:x,labelProps:C}=WL({...e,keyboardDelegate:h,buttonRef:Aa(p),popoverRef:m,listBoxRef:b,inputRef:d,name:void 0},t);w.useEffect(()=>(Kn(d.current),()=>{t.setFocused(!1)}),[]);let{dialogProps:E}=VL({"aria-labelledby":wt(C.id)},m);y.role="searchbox",y["aria-haspopup"]="listbox",delete y["aria-expanded"],delete y.onTouchEnd;let P=w.createElement(Dq,{preventFocus:!0,"aria-label":g.format("clear"),excludeFromTabOrder:!0,onPress:()=>{t.setInputValue(""),d.current.focus()},UNSAFE_className:R(ue(Ht),"spectrum-ClearButton"),isDisabled:r}),S=w.createElement(s6,{"aria-label":g.format("loading"),size:"S",isIndeterminate:!0,UNSAFE_className:R(ue(Ht),"spectrum-Search-circleLoader",R(ue(Ze),"spectrum-Textfield-circleLoader"))}),I=$.useRef(!1),_=()=>{I.current=!0},T=()=>{I.current=!1},k=$.useCallback(()=>{!d.current||document.activeElement!==d.current||!I.current||m.current.focus()},[d,m,I]),A=y.value,O=$.useRef(A);$.useEffect(()=>{a==="filtering"&&!c?(u.current===null&&(u.current=setTimeout(()=>{f(!0)},500)),A!==O.current&&(clearTimeout(u.current),u.current=setTimeout(()=>{f(!0)},500))):a!=="filtering"&&(f(!1),clearTimeout(u.current),u.current=null),O.current=A},[a,A,c]);let U=G=>{G.key==="Enter"&&t.selectionManager.focusedKey==null?m.current.focus():y.onKeyDown(G)};return w.createElement(Il,{restoreFocus:!0,contain:!0},w.createElement("div",{...ee(o,E),ref:m,className:R(ue($t),"tray-dialog")},w.createElement(ol,{onDismiss:s}),w.createElement(lL,{label:i,labelProps:C,inputProps:{...y,onKeyDown:U},inputRef:d,isDisabled:r,isLoading:c&&a==="filtering",loadingIndicator:a!=null&&S,validationState:n,labelAlign:"start",labelPosition:"top",wrapperChildren:(t.inputValue!==""||a==="filtering"||n!=null)&&!e.isReadOnly&&P,UNSAFE_className:R(ue(Ht),"spectrum-Search","spectrum-Textfield","spectrum-Search--loadable",{"spectrum-Search--invalid":n==="invalid"&&!r,"spectrum-Search--valid":n==="valid"&&!r},R(ue($t),"tray-textfield",{"has-label":!!e.label})),inputClassName:R(ue($t),"tray-textfield-input",R(ue(Ht),"spectrum-Search-input")),validationIconClassName:R(ue(Ht),"spectrum-Search-validationIcon")}),w.createElement(aL,{...x,domProps:{onTouchStart:_,onTouchEnd:T},disallowEmptySelection:!0,shouldSelectOnPressUp:!0,focusOnPointerEnter:!0,layout:h,state:t,shouldUseVirtualFocus:!0,renderEmptyState:()=>a!=="loading"&&w.createElement("span",{className:R(ue($t),"no-results")},g.format("noResults")),UNSAFE_className:R(ue($t),"tray-listbox"),ref:b,onScroll:k,onLoadMore:l,isLoading:v}),w.createElement(ol,{onDismiss:s})))}function DQ(e,t){return e=Xn(e),e.placeholder&&console.warn("Placeholders are deprecated due to accessibility issues. Please use help text instead. See the docs for details: https://react-spectrum.adobe.com/react-spectrum/ComboBox.html#help-text"),U8()?w.createElement(RQ,{...e,menuTrigger:"input",ref:t}):w.createElement(MQ,{...e,ref:t})}const MQ=w.forwardRef(function(t,r){let{menuTrigger:n="input",shouldFlip:i=!0,direction:o="bottom",isQuiet:a,loadingState:l,onLoadMore:s,allowsCustomValue:u,name:c,formValue:f="text"}=t;u&&(f="text");let d=Ur(ue(Yu)),p=l!=null,m=$.useRef(),b=y7(m),v=$.useRef(),h=y7(v),g=$.useRef(),y=$.useRef(),x=Pl(r,y),{contains:C}=NR({sensitivity:"base"}),E=KL({...t,defaultFilter:C,allowsEmptyCollection:p}),P=oL(E,l==="loadingMore"),{buttonProps:S,inputProps:I,listBoxProps:_,labelProps:T,descriptionProps:k,errorMessageProps:A}=WL({...t,keyboardDelegate:P,buttonRef:h,popoverRef:b,listBoxRef:g,inputRef:y,menuTrigger:n,name:f==="text"?c:void 0},E),[O,U]=$.useState(null),{scale:G}=Kr(),W=$.useCallback(()=>{if(h.current&&y.current){let Y=h.current.offsetWidth,oe=y.current.offsetWidth;U(Y+oe)}},[h,y,U]);zu({ref:x,onResize:W}),pe(W,[G,W]);let N={width:a?null:O,minWidth:a?`calc(${O}px + calc(2 * var(--spectrum-dropdown-quiet-offset)))`:O};return w.createElement(w.Fragment,null,w.createElement(a6,{...t,descriptionProps:k,errorMessageProps:A,labelProps:T,ref:x},w.createElement(NQ,{...t,isOpen:E.isOpen,loadingState:l,inputProps:I,inputRef:y,triggerProps:S,triggerRef:v})),c&&f==="key"&&w.createElement("input",{type:"hidden",name:c,value:E.selectedKey}),w.createElement(Z8,{state:E,UNSAFE_style:N,UNSAFE_className:R(ue(de),"spectrum-InputGroup-popover",{"spectrum-InputGroup-popover--quiet":a}),ref:m,triggerRef:h,scrollRef:g,placement:`${o} end`,hideArrow:!0,isNonModal:!0,shouldFlip:i},w.createElement(aL,{..._,ref:g,disallowEmptySelection:!0,autoFocus:E.focusStrategy,shouldSelectOnPressUp:!0,focusOnPointerEnter:!0,layout:P,state:E,shouldUseVirtualFocus:!0,isLoading:l==="loading"||l==="loadingMore",onLoadMore:s,renderEmptyState:()=>p&&w.createElement("span",{className:R(ue($t),"no-results")},l==="loading"?d.format("loading"):d.format("noResults"))})))}),NQ=w.forwardRef(function(t,r){let{isQuiet:n,isDisabled:i,validationState:o,inputProps:a,inputRef:l,triggerProps:s,triggerRef:u,autoFocus:c,style:f,className:d,loadingState:p,isOpen:m,menuTrigger:b}=t,{hoverProps:v,isHovered:h}=nr({}),g=Ur(ue(Yu)),y=$.useRef(null),[x,C]=$.useState(!1),E=w.createElement(s6,{"aria-label":g.format("loading"),size:"S",isIndeterminate:!0,UNSAFE_className:R(ue(Ze),"spectrum-Textfield-circleLoader",R(ue(de),"spectrum-InputGroup-input-circleLoader"))}),P=p==="loading"||p==="filtering",S=a.value,I=$.useRef(S);return $.useEffect(()=>{P&&!x?(y.current===null&&(y.current=setTimeout(()=>{C(!0)},500)),S!==I.current&&(clearTimeout(y.current),y.current=setTimeout(()=>{C(!0)},500))):P||(C(!1),clearTimeout(y.current),y.current=null),I.current=S},[P,x,S]),w.createElement(Hi,{within:!0,isTextInput:!0,focusClass:R(ue(de),"is-focused"),focusRingClass:R(ue(de),"focus-ring"),autoFocus:c},w.createElement("div",{...v,ref:r,style:f,className:R(ue(de),"spectrum-InputGroup",{"spectrum-InputGroup--quiet":n,"is-disabled":i,"spectrum-InputGroup--invalid":o==="invalid"&&!i,"is-hovered":h},d)},w.createElement(lL,{inputProps:a,inputRef:l,UNSAFE_className:R(ue(de),"spectrum-InputGroup-field"),inputClassName:R(ue(de),"spectrum-InputGroup-input"),validationIconClassName:R(ue(de),"spectrum-InputGroup-input-validationIcon"),isDisabled:i,isQuiet:n,validationState:o,isLoading:x&&(m||b==="manual"||p==="loading"),loadingIndicator:p!=null&&E,disableFocusRing:!0}),w.createElement(Ku,{preventFocusOnPress:!0,isPressed:m},w.createElement(_q,{...s,ref:u,UNSAFE_className:R(ue(de),"spectrum-FieldButton"),isQuiet:n,validationState:o},w.createElement(X8,{UNSAFE_className:R(ue(de),"spectrum-Dropdown-chevron")})))))}),dge=w.forwardRef(DQ);function LQ(e,t){e=yr(e,"content");let{children:r,...n}=e,{styleProps:i}=Ie(n),o=dt(t);return w.createElement("section",{..._e(n),...i,ref:o},w.createElement(Uu,null,r))}const fge=$.forwardRef(LQ);function FQ(e){return e&&e.__esModule?e.default:e}function Al(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Ko={};Al(Ko,"spectrum-Rule",()=>Mw,e=>Mw=e);Al(Ko,"spectrum-Rule--large",()=>Nw,e=>Nw=e);Al(Ko,"spectrum-Rule--medium",()=>Lw,e=>Lw=e);Al(Ko,"spectrum-Rule--small",()=>Fw,e=>Fw=e);Al(Ko,"spectrum-Rule--horizontal",()=>Bw,e=>Bw=e);Al(Ko,"spectrum-Rule--vertical",()=>zw,e=>zw=e);var Mw,Nw,Lw,Fw,Bw,zw;Mw="spectrum-Rule_612bb8";Nw="spectrum-Rule--large_612bb8";Lw="spectrum-Rule--medium_612bb8";Fw="spectrum-Rule--small_612bb8";Bw="spectrum-Rule--horizontal_612bb8";zw="spectrum-Rule--vertical_612bb8";let BQ={S:"small",M:"medium",L:"large"};function zQ(e,t){e=yr(e,"divider");let{size:r="L",orientation:n="horizontal",...i}=e,o=dt(t),{styleProps:a}=Ie(i),l=BQ[r],s="hr";n==="vertical"&&(s="div");let{separatorProps:u}=qk({...e,elementType:s});return w.createElement(s,{...a,className:R(FQ(Ko),"spectrum-Rule",`spectrum-Rule--${l}`,{"spectrum-Rule--vertical":n==="vertical","spectrum-Rule--horizontal":n==="horizontal"},a.className),ref:o,...u})}let pge=w.forwardRef(zQ);function Mt(e){return e&&e.__esModule?e.default:e}function He(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}const IF=w.createContext(null);var TF={},AF={};AF={alert:"تنبيه",dismiss:"تجاهل"};var OF={};OF={alert:"Сигнал",dismiss:"Отхвърляне"};var RF={};RF={alert:"Výstraha",dismiss:"Odstranit"};var _F={};_F={alert:"Advarsel",dismiss:"Luk"};var kF={};kF={alert:"Warnhinweis",dismiss:"Schließen"};var DF={};DF={alert:"Ειδοποίηση",dismiss:"Απόρριψη"};var MF={};MF={dismiss:"Dismiss",alert:"Alert"};var NF={};NF={alert:"Alerta",dismiss:"Descartar"};var LF={};LF={alert:"Teade",dismiss:"Lõpeta"};var FF={};FF={alert:"Hälytys",dismiss:"Hylkää"};var BF={};BF={alert:"Alerte",dismiss:"Rejeter"};var zF={};zF={alert:"התראה",dismiss:"התעלם"};var jF={};jF={alert:"Upozorenje",dismiss:"Odbaci"};var UF={};UF={alert:"Figyelmeztetés",dismiss:"Elutasítás"};var WF={};WF={alert:"Avviso",dismiss:"Ignora"};var KF={};KF={alert:"アラート",dismiss:"閉じる"};var HF={};HF={alert:"경고",dismiss:"무시"};var VF={};VF={alert:"Įspėjimas",dismiss:"Atmesti"};var GF={};GF={alert:"Brīdinājums",dismiss:"Nerādīt"};var qF={};qF={alert:"Varsel",dismiss:"Lukk"};var YF={};YF={alert:"Melding",dismiss:"Negeren"};var XF={};XF={alert:"Ostrzeżenie",dismiss:"Zignoruj"};var QF={};QF={alert:"Alerta",dismiss:"Descartar"};var JF={};JF={alert:"Alerta",dismiss:"Dispensar"};var ZF={};ZF={alert:"Alertă",dismiss:"Revocare"};var eB={};eB={alert:"Предупреждение",dismiss:"Пропустить"};var tB={};tB={alert:"Upozornenie",dismiss:"Zrušiť"};var rB={};rB={alert:"Opozorilo",dismiss:"Opusti"};var nB={};nB={alert:"Upozorenje",dismiss:"Odbaci"};var iB={};iB={alert:"Varning",dismiss:"Avvisa"};var oB={};oB={alert:"Uyarı",dismiss:"Kapat"};var aB={};aB={alert:"Сигнал тривоги",dismiss:"Скасувати"};var lB={};lB={alert:"警报",dismiss:"取消"};var sB={};sB={alert:"警示",dismiss:"關閉"};TF={"ar-AE":AF,"bg-BG":OF,"cs-CZ":RF,"da-DK":_F,"de-DE":kF,"el-GR":DF,"en-US":MF,"es-ES":NF,"et-EE":LF,"fi-FI":FF,"fr-FR":BF,"he-IL":zF,"hr-HR":jF,"hu-HU":UF,"it-IT":WF,"ja-JP":KF,"ko-KR":HF,"lt-LT":VF,"lv-LV":GF,"nb-NO":qF,"nl-NL":YF,"pl-PL":XF,"pt-BR":QF,"pt-PT":JF,"ro-RO":ZF,"ru-RU":eB,"sk-SK":tB,"sl-SI":rB,"sr-SP":nB,"sv-SE":iB,"tr-TR":oB,"uk-UA":aB,"zh-CN":lB,"zh-TW":sB};var ce={};He(ce,"spectrum-Dialog",()=>jw,e=>jw=e);He(ce,"spectrum-Dialog--small",()=>Uw,e=>Uw=e);He(ce,"spectrum-Dialog--medium",()=>Ww,e=>Ww=e);He(ce,"spectrum-Dialog--large",()=>Kw,e=>Kw=e);He(ce,"spectrum-Dialog-hero",()=>Hw,e=>Hw=e);He(ce,"spectrum-Dialog-grid",()=>Vw,e=>Vw=e);He(ce,"spectrum-Dialog-heading",()=>Gw,e=>Gw=e);He(ce,"spectrum-Dialog-heading--noHeader",()=>qw,e=>qw=e);He(ce,"spectrum-Dialog-heading--noTypeIcon",()=>Yw,e=>Yw=e);He(ce,"spectrum-Dialog-header",()=>Xw,e=>Xw=e);He(ce,"spectrum-Dialog-header--noTypeIcon",()=>Qw,e=>Qw=e);He(ce,"spectrum-Dialog-typeIcon",()=>Jw,e=>Jw=e);He(ce,"spectrum-Dialog-divider",()=>Zw,e=>Zw=e);He(ce,"spectrum-Dialog--noDivider",()=>eS,e=>eS=e);He(ce,"spectrum-Dialog-content",()=>tS,e=>tS=e);He(ce,"spectrum-Dialog-footer",()=>rS,e=>rS=e);He(ce,"spectrum-Button",()=>nS,e=>nS=e);He(ce,"spectrum-Dialog-buttonGroup",()=>iS,e=>iS=e);He(ce,"spectrum-Dialog-buttonGroup--noFooter",()=>oS,e=>oS=e);He(ce,"spectrum-Dialog--dismissable",()=>aS,e=>aS=e);He(ce,"spectrum-Dialog-closeButton",()=>lS,e=>lS=e);He(ce,"spectrum-Dialog--error",()=>sS,e=>sS=e);He(ce,"spectrum-Dialog--fullscreen",()=>uS,e=>uS=e);He(ce,"spectrum-Dialog--fullscreenTakeover",()=>cS,e=>cS=e);He(ce,"spectrum-Dialog--warning",()=>dS,e=>dS=e);var jw,Uw,Ww,Kw,Hw,Vw,Gw,qw,Yw,Xw,Qw,Jw,Zw,eS,tS,rS,nS,iS,oS,aS,lS,sS,uS,cS,dS;jw="spectrum-Dialog_6d8b48";Uw="spectrum-Dialog--small_6d8b48";Ww="spectrum-Dialog--medium_6d8b48";Kw="spectrum-Dialog--large_6d8b48";Hw="spectrum-Dialog-hero_6d8b48";Vw="spectrum-Dialog-grid_6d8b48";Gw="spectrum-Dialog-heading_6d8b48";qw="spectrum-Dialog-heading--noHeader_6d8b48";Yw="spectrum-Dialog-heading--noTypeIcon_6d8b48";Xw="spectrum-Dialog-header_6d8b48";Qw="spectrum-Dialog-header--noTypeIcon_6d8b48";Jw="spectrum-Dialog-typeIcon_6d8b48";Zw="spectrum-Dialog-divider_6d8b48";eS="spectrum-Dialog--noDivider_6d8b48";tS="spectrum-Dialog-content_6d8b48";rS="spectrum-Dialog-footer_6d8b48";nS="spectrum-Button_6d8b48";iS="spectrum-Dialog-buttonGroup_6d8b48";oS="spectrum-Dialog-buttonGroup--noFooter_6d8b48";aS="spectrum-Dialog--dismissable_6d8b48";lS="spectrum-Dialog-closeButton_6d8b48";sS="spectrum-Dialog--error_6d8b48";uS="spectrum-Dialog--fullscreen_6d8b48";cS="spectrum-Dialog--fullscreenTakeover_6d8b48";dS="spectrum-Dialog--warning_6d8b48";let tC={S:"small",M:"medium",L:"large",fullscreen:"fullscreen",fullscreenTakeover:"fullscreenTakeover"};function jQ(e,t){e=yr(e,"dialog");let{type:r="modal",...n}=$.useContext(IF)||{},{children:i,isDismissable:o=n.isDismissable,onDismiss:a=n.onClose,size:l,...s}=e,u=Ur(Mt(TF)),{styleProps:c}=Ie(s);l=r==="popover"?l||"S":l||"L";let f=dt(t),d=$.useRef(),p=tC[r]||tC[l],{dialogProps:m,titleProps:b}=VL(ee(n,e),f),v=Oa(`.${Mt(ce)["spectrum-Dialog-header"]}`,Aa(d)),h=Oa(`.${Mt(ce)["spectrum-Dialog-heading"]}`,Aa(d)),g=Oa(`.${Mt(ce)["spectrum-Dialog-footer"]}`,Aa(d)),y=Oa(`.${Mt(ce)["spectrum-Dialog-typeIcon"]}`,Aa(d)),x=$.useMemo(()=>({hero:{UNSAFE_className:Mt(ce)["spectrum-Dialog-hero"]},heading:{UNSAFE_className:R(Mt(ce),"spectrum-Dialog-heading",{"spectrum-Dialog-heading--noHeader":!v,"spectrum-Dialog-heading--noTypeIcon":!y}),level:2,...b},header:{UNSAFE_className:R(Mt(ce),"spectrum-Dialog-header",{"spectrum-Dialog-header--noHeading":!h,"spectrum-Dialog-header--noTypeIcon":!y})},typeIcon:{UNSAFE_className:Mt(ce)["spectrum-Dialog-typeIcon"]},divider:{UNSAFE_className:Mt(ce)["spectrum-Dialog-divider"],size:"M"},content:{UNSAFE_className:Mt(ce)["spectrum-Dialog-content"]},footer:{UNSAFE_className:Mt(ce)["spectrum-Dialog-footer"]},buttonGroup:{UNSAFE_className:R(Mt(ce),"spectrum-Dialog-buttonGroup",{"spectrum-Dialog-buttonGroup--noFooter":!g}),align:"end"}}),[g,v,b]);return w.createElement("section",{...c,...m,className:R(Mt(ce),"spectrum-Dialog",{[`spectrum-Dialog--${p}`]:p,"spectrum-Dialog--dismissable":o},c.className),ref:f},w.createElement(n6,{ref:d,UNSAFE_className:Mt(ce)["spectrum-Dialog-grid"]},w.createElement(Wr,{slots:x},i),o&&w.createElement(ov,{UNSAFE_className:Mt(ce)["spectrum-Dialog-closeButton"],isQuiet:!0,"aria-label":u.format("dismiss"),onPress:a},w.createElement(XD,null))))}let vge=w.forwardRef(jQ);function fS(e){let{children:t,type:r="modal",mobileType:n=r==="popover"?"modal":r,hideArrow:i,targetRef:o,isDismissable:a,isKeyboardDismissDisabled:l,...s}=e;if(!Array.isArray(t)||t.length>2)throw new Error("DialogTrigger must have exactly 2 children");let[u,c]=t;U8()&&(r!=="modal"&&n==="modal"&&(a=!0),r=n);let d=t6(e),p=$.useRef(!1);$.useEffect(()=>{p.current=d.isOpen},[d.isOpen]);let m=$.useRef(!1),b=()=>m.current=!0,v=()=>m.current=!1;if($.useEffect(()=>()=>{(p.current||m.current)&&r!=="popover"&&r!=="tray"&&console.warn("A DialogTrigger unmounted while open. This is likely due to being placed within a trigger that unmounts or inside a conditional. Consider using a DialogContainer instead.")},[]),r==="popover")return w.createElement(UQ,{...s,state:d,targetRef:o,trigger:u,content:c,isKeyboardDismissDisabled:l,hideArrow:i});let h=()=>{switch(r){case"fullscreen":case"fullscreenTakeover":case"modal":return w.createElement(oY,{state:d,isDismissable:r==="modal"?a:!1,type:r,isKeyboardDismissDisabled:l,onExiting:b,onExited:v},typeof c=="function"?c(d.close):c);case"tray":return w.createElement(e6,{state:d,isKeyboardDismissDisabled:l},typeof c=="function"?c(d.close):c)}};return w.createElement(uB,{type:r,state:d,isDismissable:a,trigger:u,overlay:h()})}fS.getCollectionNode=function*(e){let[t]=w.Children.toArray(e.children),[,r]=e.children;yield{element:t,wrapper:n=>w.createElement(fS,{key:n.key,...e},n,r)}};let mge=fS;function UQ({state:e,targetRef:t,trigger:r,content:n,hideArrow:i,...o}){let a=$.useRef(),{triggerProps:l,overlayProps:s}=G8({type:"dialog"},e,a),u={...l,ref:t?void 0:a},c=w.createElement(Z8,{...o,hideArrow:i,triggerRef:t||a,state:e},typeof n=="function"?n(e.close):n);return w.createElement(uB,{type:"popover",state:e,triggerProps:u,dialogProps:s,trigger:r,overlay:c})}function uB({type:e,state:t,isDismissable:r,dialogProps:n={},triggerProps:i={},overlay:o,trigger:a}){let l={type:e,onClose:t.close,isDismissable:r,...n};return w.createElement($.Fragment,null,w.createElement(Ku,{...i,onPress:t.toggle,isPressed:t.isOpen&&e!=="modal"&&e!=="fullscreen"&&e!=="fullscreenTakeover"},a),w.createElement(IF.Provider,{value:l},o))}function rh(e){return e&&e.__esModule?e.default:e}function dv(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var wo={};dv(wo,"spectrum-IllustratedMessage",()=>pS,e=>pS=e);dv(wo,"spectrum-IllustratedMessage-heading",()=>vS,e=>vS=e);dv(wo,"spectrum-IllustratedMessage-description",()=>mS,e=>mS=e);dv(wo,"spectrum-IllustratedMessage--cta",()=>hS,e=>hS=e);var pS,vS,mS,hS;pS="spectrum-IllustratedMessage_02bd98";vS="spectrum-IllustratedMessage-heading_02bd98";mS="spectrum-IllustratedMessage-description_02bd98";hS="spectrum-IllustratedMessage--cta_02bd98";function WQ(e,t){e=yr(e,"illustration");let{children:r,...n}=e,{styleProps:i}=Ie(n),o=R(rh(wo),"spectrum-IllustratedMessage-heading"),a=R(rh(wo),"spectrum-IllustratedMessage-description"),l={heading:{UNSAFE_className:o},content:{UNSAFE_className:a}};return w.createElement(Vk,{..._e(n),UNSAFE_style:i.style,isHidden:i.hidden,UNSAFE_className:R(rh(wo),"spectrum-IllustratedMessage",i.className),ref:t},w.createElement(Uu,null,w.createElement(Wr,{slots:l},r)))}let hge=$.forwardRef(WQ);function ss(e){return e&&e.__esModule?e.default:e}function on(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var cB={};on(cB,"spectrum--darkest",()=>gS,e=>gS=e);var gS;gS="spectrum--darkest_256eeb";var Vi={};on(Vi,"spectrum",()=>bS,e=>bS=e);on(Vi,"spectrum--medium",()=>yS,e=>yS=e);on(Vi,"spectrum--large",()=>$S,e=>$S=e);on(Vi,"spectrum--darkest",()=>xS,e=>xS=e);on(Vi,"spectrum--dark",()=>wS,e=>wS=e);on(Vi,"spectrum--light",()=>SS,e=>SS=e);on(Vi,"spectrum--lightest",()=>ES,e=>ES=e);var bS,yS,$S,xS,wS,SS,ES;bS="spectrum_9e130c";yS="spectrum--medium_9e130c";$S="spectrum--large_9e130c";xS="spectrum--darkest_9e130c";wS="spectrum--dark_9e130c";SS="spectrum--light_9e130c";ES="spectrum--lightest_9e130c";var dB={};on(dB,"spectrum--large",()=>CS,e=>CS=e);var CS;CS="spectrum--large_c40598";var fB={};on(fB,"spectrum--light",()=>PS,e=>PS=e);var PS;PS="spectrum--light_a40724";var pB={};on(pB,"spectrum--medium",()=>IS,e=>IS=e);var IS;IS="spectrum--medium_4b172c";let gge={global:ss(Vi),light:ss(fB),dark:ss(cB),medium:ss(pB),large:ss(dB)};function rC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function H(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rC(Object(r),!0).forEach(function(n){ht(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rC(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Bf(e){return Bf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bf(e)}function KQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HQ(e,t,r){return t&&nC(e.prototype,t),r&&nC(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c6(e,t){return GQ(e)||YQ(e,t)||vB(e,t)||QQ()}function Xu(e){return VQ(e)||qQ(e)||vB(e)||XQ()}function VQ(e){if(Array.isArray(e))return TS(e)}function GQ(e){if(Array.isArray(e))return e}function qQ(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function YQ(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,a,l;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(s){o=!0,l=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw l}}return n}}function vB(e,t){if(e){if(typeof e=="string")return TS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return TS(e,t)}}function TS(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function XQ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
43
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function QQ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
44
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var iC=function(){},d6={},mB={},hB=null,gB={mark:iC,measure:iC};try{typeof window<"u"&&(d6=window),typeof document<"u"&&(mB=document),typeof MutationObserver<"u"&&(hB=MutationObserver),typeof performance<"u"&&(gB=performance)}catch{}var JQ=d6.navigator||{},oC=JQ.userAgent,aC=oC===void 0?"":oC,Fi=d6,Ke=mB,lC=hB,Jc=gB;Fi.document;var Jn=!!Ke.documentElement&&!!Ke.head&&typeof Ke.addEventListener=="function"&&typeof Ke.createElement=="function",bB=~aC.indexOf("MSIE")||~aC.indexOf("Trident/"),Zc,ed,td,rd,nd,Hn="___FONT_AWESOME___",AS=16,yB="fa",$B="svg-inline--fa",_o="data-fa-i2svg",OS="data-fa-pseudo-element",ZQ="data-fa-pseudo-element-pending",f6="data-prefix",p6="data-icon",sC="fontawesome-i2svg",eJ="async",tJ=["HTML","HEAD","STYLE","SCRIPT"],xB=function(){try{return!0}catch{return!1}}(),Ue="classic",rt="sharp",v6=[Ue,rt];function Qu(e){return new Proxy(e,{get:function(r,n){return n in r?r[n]:r[Ue]}})}var vu=Qu((Zc={},ht(Zc,Ue,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),ht(Zc,rt,{fa:"solid",fass:"solid","fa-solid":"solid"}),Zc)),mu=Qu((ed={},ht(ed,Ue,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),ht(ed,rt,{solid:"fass"}),ed)),hu=Qu((td={},ht(td,Ue,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),ht(td,rt,{fass:"fa-solid"}),td)),rJ=Qu((rd={},ht(rd,Ue,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),ht(rd,rt,{"fa-solid":"fass"}),rd)),nJ=/fa(s|r|l|t|d|b|k|ss)?[\-\ ]/,wB="fa-layers-text",iJ=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,oJ=Qu((nd={},ht(nd,Ue,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),ht(nd,rt,{900:"fass"}),nd)),SB=[1,2,3,4,5,6,7,8,9,10],aJ=SB.concat([11,12,13,14,15,16,17,18,19,20]),lJ=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],bo={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},gu=new Set;Object.keys(mu[Ue]).map(gu.add.bind(gu));Object.keys(mu[rt]).map(gu.add.bind(gu));var sJ=[].concat(v6,Xu(gu),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",bo.GROUP,bo.SWAP_OPACITY,bo.PRIMARY,bo.SECONDARY]).concat(SB.map(function(e){return"".concat(e,"x")})).concat(aJ.map(function(e){return"w-".concat(e)})),Ls=Fi.FontAwesomeConfig||{};function uJ(e){var t=Ke.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function cJ(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(Ke&&typeof Ke.querySelector=="function"){var dJ=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];dJ.forEach(function(e){var t=c6(e,2),r=t[0],n=t[1],i=cJ(uJ(r));i!=null&&(Ls[n]=i)})}var EB={styleDefault:"solid",familyDefault:"classic",cssPrefix:yB,replacementClass:$B,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ls.familyPrefix&&(Ls.cssPrefix=Ls.familyPrefix);var sl=H(H({},EB),Ls);sl.autoReplaceSvg||(sl.observeMutations=!1);var X={};Object.keys(EB).forEach(function(e){Object.defineProperty(X,e,{enumerable:!0,set:function(r){sl[e]=r,Fs.forEach(function(n){return n(X)})},get:function(){return sl[e]}})});Object.defineProperty(X,"familyPrefix",{enumerable:!0,set:function(t){sl.cssPrefix=t,Fs.forEach(function(r){return r(X)})},get:function(){return sl.cssPrefix}});Fi.FontAwesomeConfig=X;var Fs=[];function fJ(e){return Fs.push(e),function(){Fs.splice(Fs.indexOf(e),1)}}var ni=AS,bn={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function pJ(e){if(!(!e||!Jn)){var t=Ke.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var r=Ke.head.childNodes,n=null,i=r.length-1;i>-1;i--){var o=r[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(n=o)}return Ke.head.insertBefore(t,n),e}}var vJ="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function bu(){for(var e=12,t="";e-- >0;)t+=vJ[Math.random()*62|0];return t}function Ol(e){for(var t=[],r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function m6(e){return e.classList?Ol(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function CB(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function mJ(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,'="').concat(CB(e[r]),'" ')},"").trim()}function fv(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,": ").concat(e[r].trim(),";")},"")}function h6(e){return e.size!==bn.size||e.x!==bn.x||e.y!==bn.y||e.rotate!==bn.rotate||e.flipX||e.flipY}function hJ(e){var t=e.transform,r=e.containerWidth,n=e.iconWidth,i={transform:"translate(".concat(r/2," 256)")},o="translate(".concat(t.x*32,", ").concat(t.y*32,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)"),s={transform:"".concat(o," ").concat(a," ").concat(l)},u={transform:"translate(".concat(n/2*-1," -256)")};return{outer:i,inner:s,path:u}}function gJ(e){var t=e.transform,r=e.width,n=r===void 0?AS:r,i=e.height,o=i===void 0?AS:i,a=e.startCentered,l=a===void 0?!1:a,s="";return l&&bB?s+="translate(".concat(t.x/ni-n/2,"em, ").concat(t.y/ni-o/2,"em) "):l?s+="translate(calc(-50% + ".concat(t.x/ni,"em), calc(-50% + ").concat(t.y/ni,"em)) "):s+="translate(".concat(t.x/ni,"em, ").concat(t.y/ni,"em) "),s+="scale(".concat(t.size/ni*(t.flipX?-1:1),", ").concat(t.size/ni*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var bJ=`:root, :host {
45
+ --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
46
+ --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
47
+ --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
48
+ --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
49
+ --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
50
+ --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
51
+ --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
52
+ }
53
+
54
+ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
55
+ overflow: visible;
56
+ box-sizing: content-box;
57
+ }
58
+
59
+ .svg-inline--fa {
60
+ display: var(--fa-display, inline-block);
61
+ height: 1em;
62
+ overflow: visible;
63
+ vertical-align: -0.125em;
64
+ }
65
+ .svg-inline--fa.fa-2xs {
66
+ vertical-align: 0.1em;
67
+ }
68
+ .svg-inline--fa.fa-xs {
69
+ vertical-align: 0em;
70
+ }
71
+ .svg-inline--fa.fa-sm {
72
+ vertical-align: -0.0714285705em;
73
+ }
74
+ .svg-inline--fa.fa-lg {
75
+ vertical-align: -0.2em;
76
+ }
77
+ .svg-inline--fa.fa-xl {
78
+ vertical-align: -0.25em;
79
+ }
80
+ .svg-inline--fa.fa-2xl {
81
+ vertical-align: -0.3125em;
82
+ }
83
+ .svg-inline--fa.fa-pull-left {
84
+ margin-right: var(--fa-pull-margin, 0.3em);
85
+ width: auto;
86
+ }
87
+ .svg-inline--fa.fa-pull-right {
88
+ margin-left: var(--fa-pull-margin, 0.3em);
89
+ width: auto;
90
+ }
91
+ .svg-inline--fa.fa-li {
92
+ width: var(--fa-li-width, 2em);
93
+ top: 0.25em;
94
+ }
95
+ .svg-inline--fa.fa-fw {
96
+ width: var(--fa-fw-width, 1.25em);
97
+ }
98
+
99
+ .fa-layers svg.svg-inline--fa {
100
+ bottom: 0;
101
+ left: 0;
102
+ margin: auto;
103
+ position: absolute;
104
+ right: 0;
105
+ top: 0;
106
+ }
107
+
108
+ .fa-layers-counter, .fa-layers-text {
109
+ display: inline-block;
110
+ position: absolute;
111
+ text-align: center;
112
+ }
113
+
114
+ .fa-layers {
115
+ display: inline-block;
116
+ height: 1em;
117
+ position: relative;
118
+ text-align: center;
119
+ vertical-align: -0.125em;
120
+ width: 1em;
121
+ }
122
+ .fa-layers svg.svg-inline--fa {
123
+ -webkit-transform-origin: center center;
124
+ transform-origin: center center;
125
+ }
126
+
127
+ .fa-layers-text {
128
+ left: 50%;
129
+ top: 50%;
130
+ -webkit-transform: translate(-50%, -50%);
131
+ transform: translate(-50%, -50%);
132
+ -webkit-transform-origin: center center;
133
+ transform-origin: center center;
134
+ }
135
+
136
+ .fa-layers-counter {
137
+ background-color: var(--fa-counter-background-color, #ff253a);
138
+ border-radius: var(--fa-counter-border-radius, 1em);
139
+ box-sizing: border-box;
140
+ color: var(--fa-inverse, #fff);
141
+ line-height: var(--fa-counter-line-height, 1);
142
+ max-width: var(--fa-counter-max-width, 5em);
143
+ min-width: var(--fa-counter-min-width, 1.5em);
144
+ overflow: hidden;
145
+ padding: var(--fa-counter-padding, 0.25em 0.5em);
146
+ right: var(--fa-right, 0);
147
+ text-overflow: ellipsis;
148
+ top: var(--fa-top, 0);
149
+ -webkit-transform: scale(var(--fa-counter-scale, 0.25));
150
+ transform: scale(var(--fa-counter-scale, 0.25));
151
+ -webkit-transform-origin: top right;
152
+ transform-origin: top right;
153
+ }
154
+
155
+ .fa-layers-bottom-right {
156
+ bottom: var(--fa-bottom, 0);
157
+ right: var(--fa-right, 0);
158
+ top: auto;
159
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
160
+ transform: scale(var(--fa-layers-scale, 0.25));
161
+ -webkit-transform-origin: bottom right;
162
+ transform-origin: bottom right;
163
+ }
164
+
165
+ .fa-layers-bottom-left {
166
+ bottom: var(--fa-bottom, 0);
167
+ left: var(--fa-left, 0);
168
+ right: auto;
169
+ top: auto;
170
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
171
+ transform: scale(var(--fa-layers-scale, 0.25));
172
+ -webkit-transform-origin: bottom left;
173
+ transform-origin: bottom left;
174
+ }
175
+
176
+ .fa-layers-top-right {
177
+ top: var(--fa-top, 0);
178
+ right: var(--fa-right, 0);
179
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
180
+ transform: scale(var(--fa-layers-scale, 0.25));
181
+ -webkit-transform-origin: top right;
182
+ transform-origin: top right;
183
+ }
184
+
185
+ .fa-layers-top-left {
186
+ left: var(--fa-left, 0);
187
+ right: auto;
188
+ top: var(--fa-top, 0);
189
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
190
+ transform: scale(var(--fa-layers-scale, 0.25));
191
+ -webkit-transform-origin: top left;
192
+ transform-origin: top left;
193
+ }
194
+
195
+ .fa-1x {
196
+ font-size: 1em;
197
+ }
198
+
199
+ .fa-2x {
200
+ font-size: 2em;
201
+ }
202
+
203
+ .fa-3x {
204
+ font-size: 3em;
205
+ }
206
+
207
+ .fa-4x {
208
+ font-size: 4em;
209
+ }
210
+
211
+ .fa-5x {
212
+ font-size: 5em;
213
+ }
214
+
215
+ .fa-6x {
216
+ font-size: 6em;
217
+ }
218
+
219
+ .fa-7x {
220
+ font-size: 7em;
221
+ }
222
+
223
+ .fa-8x {
224
+ font-size: 8em;
225
+ }
226
+
227
+ .fa-9x {
228
+ font-size: 9em;
229
+ }
230
+
231
+ .fa-10x {
232
+ font-size: 10em;
233
+ }
234
+
235
+ .fa-2xs {
236
+ font-size: 0.625em;
237
+ line-height: 0.1em;
238
+ vertical-align: 0.225em;
239
+ }
240
+
241
+ .fa-xs {
242
+ font-size: 0.75em;
243
+ line-height: 0.0833333337em;
244
+ vertical-align: 0.125em;
245
+ }
246
+
247
+ .fa-sm {
248
+ font-size: 0.875em;
249
+ line-height: 0.0714285718em;
250
+ vertical-align: 0.0535714295em;
251
+ }
252
+
253
+ .fa-lg {
254
+ font-size: 1.25em;
255
+ line-height: 0.05em;
256
+ vertical-align: -0.075em;
257
+ }
258
+
259
+ .fa-xl {
260
+ font-size: 1.5em;
261
+ line-height: 0.0416666682em;
262
+ vertical-align: -0.125em;
263
+ }
264
+
265
+ .fa-2xl {
266
+ font-size: 2em;
267
+ line-height: 0.03125em;
268
+ vertical-align: -0.1875em;
269
+ }
270
+
271
+ .fa-fw {
272
+ text-align: center;
273
+ width: 1.25em;
274
+ }
275
+
276
+ .fa-ul {
277
+ list-style-type: none;
278
+ margin-left: var(--fa-li-margin, 2.5em);
279
+ padding-left: 0;
280
+ }
281
+ .fa-ul > li {
282
+ position: relative;
283
+ }
284
+
285
+ .fa-li {
286
+ left: calc(var(--fa-li-width, 2em) * -1);
287
+ position: absolute;
288
+ text-align: center;
289
+ width: var(--fa-li-width, 2em);
290
+ line-height: inherit;
291
+ }
292
+
293
+ .fa-border {
294
+ border-color: var(--fa-border-color, #eee);
295
+ border-radius: var(--fa-border-radius, 0.1em);
296
+ border-style: var(--fa-border-style, solid);
297
+ border-width: var(--fa-border-width, 0.08em);
298
+ padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
299
+ }
300
+
301
+ .fa-pull-left {
302
+ float: left;
303
+ margin-right: var(--fa-pull-margin, 0.3em);
304
+ }
305
+
306
+ .fa-pull-right {
307
+ float: right;
308
+ margin-left: var(--fa-pull-margin, 0.3em);
309
+ }
310
+
311
+ .fa-beat {
312
+ -webkit-animation-name: fa-beat;
313
+ animation-name: fa-beat;
314
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
315
+ animation-delay: var(--fa-animation-delay, 0s);
316
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
317
+ animation-direction: var(--fa-animation-direction, normal);
318
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
319
+ animation-duration: var(--fa-animation-duration, 1s);
320
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
321
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
322
+ -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
323
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
324
+ }
325
+
326
+ .fa-bounce {
327
+ -webkit-animation-name: fa-bounce;
328
+ animation-name: fa-bounce;
329
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
330
+ animation-delay: var(--fa-animation-delay, 0s);
331
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
332
+ animation-direction: var(--fa-animation-direction, normal);
333
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
334
+ animation-duration: var(--fa-animation-duration, 1s);
335
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
336
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
337
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
338
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
339
+ }
340
+
341
+ .fa-fade {
342
+ -webkit-animation-name: fa-fade;
343
+ animation-name: fa-fade;
344
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
345
+ animation-delay: var(--fa-animation-delay, 0s);
346
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
347
+ animation-direction: var(--fa-animation-direction, normal);
348
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
349
+ animation-duration: var(--fa-animation-duration, 1s);
350
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
351
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
352
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
353
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
354
+ }
355
+
356
+ .fa-beat-fade {
357
+ -webkit-animation-name: fa-beat-fade;
358
+ animation-name: fa-beat-fade;
359
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
360
+ animation-delay: var(--fa-animation-delay, 0s);
361
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
362
+ animation-direction: var(--fa-animation-direction, normal);
363
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
364
+ animation-duration: var(--fa-animation-duration, 1s);
365
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
366
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
367
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
368
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
369
+ }
370
+
371
+ .fa-flip {
372
+ -webkit-animation-name: fa-flip;
373
+ animation-name: fa-flip;
374
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
375
+ animation-delay: var(--fa-animation-delay, 0s);
376
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
377
+ animation-direction: var(--fa-animation-direction, normal);
378
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
379
+ animation-duration: var(--fa-animation-duration, 1s);
380
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
381
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
382
+ -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
383
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
384
+ }
385
+
386
+ .fa-shake {
387
+ -webkit-animation-name: fa-shake;
388
+ animation-name: fa-shake;
389
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
390
+ animation-delay: var(--fa-animation-delay, 0s);
391
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
392
+ animation-direction: var(--fa-animation-direction, normal);
393
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
394
+ animation-duration: var(--fa-animation-duration, 1s);
395
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
396
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
397
+ -webkit-animation-timing-function: var(--fa-animation-timing, linear);
398
+ animation-timing-function: var(--fa-animation-timing, linear);
399
+ }
400
+
401
+ .fa-spin {
402
+ -webkit-animation-name: fa-spin;
403
+ animation-name: fa-spin;
404
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
405
+ animation-delay: var(--fa-animation-delay, 0s);
406
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
407
+ animation-direction: var(--fa-animation-direction, normal);
408
+ -webkit-animation-duration: var(--fa-animation-duration, 2s);
409
+ animation-duration: var(--fa-animation-duration, 2s);
410
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
411
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
412
+ -webkit-animation-timing-function: var(--fa-animation-timing, linear);
413
+ animation-timing-function: var(--fa-animation-timing, linear);
414
+ }
415
+
416
+ .fa-spin-reverse {
417
+ --fa-animation-direction: reverse;
418
+ }
419
+
420
+ .fa-pulse,
421
+ .fa-spin-pulse {
422
+ -webkit-animation-name: fa-spin;
423
+ animation-name: fa-spin;
424
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
425
+ animation-direction: var(--fa-animation-direction, normal);
426
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
427
+ animation-duration: var(--fa-animation-duration, 1s);
428
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
429
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
430
+ -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
431
+ animation-timing-function: var(--fa-animation-timing, steps(8));
432
+ }
433
+
434
+ @media (prefers-reduced-motion: reduce) {
435
+ .fa-beat,
436
+ .fa-bounce,
437
+ .fa-fade,
438
+ .fa-beat-fade,
439
+ .fa-flip,
440
+ .fa-pulse,
441
+ .fa-shake,
442
+ .fa-spin,
443
+ .fa-spin-pulse {
444
+ -webkit-animation-delay: -1ms;
445
+ animation-delay: -1ms;
446
+ -webkit-animation-duration: 1ms;
447
+ animation-duration: 1ms;
448
+ -webkit-animation-iteration-count: 1;
449
+ animation-iteration-count: 1;
450
+ transition-delay: 0s;
451
+ transition-duration: 0s;
452
+ }
453
+ }
454
+ @-webkit-keyframes fa-beat {
455
+ 0%, 90% {
456
+ -webkit-transform: scale(1);
457
+ transform: scale(1);
458
+ }
459
+ 45% {
460
+ -webkit-transform: scale(var(--fa-beat-scale, 1.25));
461
+ transform: scale(var(--fa-beat-scale, 1.25));
462
+ }
463
+ }
464
+ @keyframes fa-beat {
465
+ 0%, 90% {
466
+ -webkit-transform: scale(1);
467
+ transform: scale(1);
468
+ }
469
+ 45% {
470
+ -webkit-transform: scale(var(--fa-beat-scale, 1.25));
471
+ transform: scale(var(--fa-beat-scale, 1.25));
472
+ }
473
+ }
474
+ @-webkit-keyframes fa-bounce {
475
+ 0% {
476
+ -webkit-transform: scale(1, 1) translateY(0);
477
+ transform: scale(1, 1) translateY(0);
478
+ }
479
+ 10% {
480
+ -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
481
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
482
+ }
483
+ 30% {
484
+ -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
485
+ transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
486
+ }
487
+ 50% {
488
+ -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
489
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
490
+ }
491
+ 57% {
492
+ -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
493
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
494
+ }
495
+ 64% {
496
+ -webkit-transform: scale(1, 1) translateY(0);
497
+ transform: scale(1, 1) translateY(0);
498
+ }
499
+ 100% {
500
+ -webkit-transform: scale(1, 1) translateY(0);
501
+ transform: scale(1, 1) translateY(0);
502
+ }
503
+ }
504
+ @keyframes fa-bounce {
505
+ 0% {
506
+ -webkit-transform: scale(1, 1) translateY(0);
507
+ transform: scale(1, 1) translateY(0);
508
+ }
509
+ 10% {
510
+ -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
511
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
512
+ }
513
+ 30% {
514
+ -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
515
+ transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
516
+ }
517
+ 50% {
518
+ -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
519
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
520
+ }
521
+ 57% {
522
+ -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
523
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
524
+ }
525
+ 64% {
526
+ -webkit-transform: scale(1, 1) translateY(0);
527
+ transform: scale(1, 1) translateY(0);
528
+ }
529
+ 100% {
530
+ -webkit-transform: scale(1, 1) translateY(0);
531
+ transform: scale(1, 1) translateY(0);
532
+ }
533
+ }
534
+ @-webkit-keyframes fa-fade {
535
+ 50% {
536
+ opacity: var(--fa-fade-opacity, 0.4);
537
+ }
538
+ }
539
+ @keyframes fa-fade {
540
+ 50% {
541
+ opacity: var(--fa-fade-opacity, 0.4);
542
+ }
543
+ }
544
+ @-webkit-keyframes fa-beat-fade {
545
+ 0%, 100% {
546
+ opacity: var(--fa-beat-fade-opacity, 0.4);
547
+ -webkit-transform: scale(1);
548
+ transform: scale(1);
549
+ }
550
+ 50% {
551
+ opacity: 1;
552
+ -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
553
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
554
+ }
555
+ }
556
+ @keyframes fa-beat-fade {
557
+ 0%, 100% {
558
+ opacity: var(--fa-beat-fade-opacity, 0.4);
559
+ -webkit-transform: scale(1);
560
+ transform: scale(1);
561
+ }
562
+ 50% {
563
+ opacity: 1;
564
+ -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
565
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
566
+ }
567
+ }
568
+ @-webkit-keyframes fa-flip {
569
+ 50% {
570
+ -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
571
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
572
+ }
573
+ }
574
+ @keyframes fa-flip {
575
+ 50% {
576
+ -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
577
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
578
+ }
579
+ }
580
+ @-webkit-keyframes fa-shake {
581
+ 0% {
582
+ -webkit-transform: rotate(-15deg);
583
+ transform: rotate(-15deg);
584
+ }
585
+ 4% {
586
+ -webkit-transform: rotate(15deg);
587
+ transform: rotate(15deg);
588
+ }
589
+ 8%, 24% {
590
+ -webkit-transform: rotate(-18deg);
591
+ transform: rotate(-18deg);
592
+ }
593
+ 12%, 28% {
594
+ -webkit-transform: rotate(18deg);
595
+ transform: rotate(18deg);
596
+ }
597
+ 16% {
598
+ -webkit-transform: rotate(-22deg);
599
+ transform: rotate(-22deg);
600
+ }
601
+ 20% {
602
+ -webkit-transform: rotate(22deg);
603
+ transform: rotate(22deg);
604
+ }
605
+ 32% {
606
+ -webkit-transform: rotate(-12deg);
607
+ transform: rotate(-12deg);
608
+ }
609
+ 36% {
610
+ -webkit-transform: rotate(12deg);
611
+ transform: rotate(12deg);
612
+ }
613
+ 40%, 100% {
614
+ -webkit-transform: rotate(0deg);
615
+ transform: rotate(0deg);
616
+ }
617
+ }
618
+ @keyframes fa-shake {
619
+ 0% {
620
+ -webkit-transform: rotate(-15deg);
621
+ transform: rotate(-15deg);
622
+ }
623
+ 4% {
624
+ -webkit-transform: rotate(15deg);
625
+ transform: rotate(15deg);
626
+ }
627
+ 8%, 24% {
628
+ -webkit-transform: rotate(-18deg);
629
+ transform: rotate(-18deg);
630
+ }
631
+ 12%, 28% {
632
+ -webkit-transform: rotate(18deg);
633
+ transform: rotate(18deg);
634
+ }
635
+ 16% {
636
+ -webkit-transform: rotate(-22deg);
637
+ transform: rotate(-22deg);
638
+ }
639
+ 20% {
640
+ -webkit-transform: rotate(22deg);
641
+ transform: rotate(22deg);
642
+ }
643
+ 32% {
644
+ -webkit-transform: rotate(-12deg);
645
+ transform: rotate(-12deg);
646
+ }
647
+ 36% {
648
+ -webkit-transform: rotate(12deg);
649
+ transform: rotate(12deg);
650
+ }
651
+ 40%, 100% {
652
+ -webkit-transform: rotate(0deg);
653
+ transform: rotate(0deg);
654
+ }
655
+ }
656
+ @-webkit-keyframes fa-spin {
657
+ 0% {
658
+ -webkit-transform: rotate(0deg);
659
+ transform: rotate(0deg);
660
+ }
661
+ 100% {
662
+ -webkit-transform: rotate(360deg);
663
+ transform: rotate(360deg);
664
+ }
665
+ }
666
+ @keyframes fa-spin {
667
+ 0% {
668
+ -webkit-transform: rotate(0deg);
669
+ transform: rotate(0deg);
670
+ }
671
+ 100% {
672
+ -webkit-transform: rotate(360deg);
673
+ transform: rotate(360deg);
674
+ }
675
+ }
676
+ .fa-rotate-90 {
677
+ -webkit-transform: rotate(90deg);
678
+ transform: rotate(90deg);
679
+ }
680
+
681
+ .fa-rotate-180 {
682
+ -webkit-transform: rotate(180deg);
683
+ transform: rotate(180deg);
684
+ }
685
+
686
+ .fa-rotate-270 {
687
+ -webkit-transform: rotate(270deg);
688
+ transform: rotate(270deg);
689
+ }
690
+
691
+ .fa-flip-horizontal {
692
+ -webkit-transform: scale(-1, 1);
693
+ transform: scale(-1, 1);
694
+ }
695
+
696
+ .fa-flip-vertical {
697
+ -webkit-transform: scale(1, -1);
698
+ transform: scale(1, -1);
699
+ }
700
+
701
+ .fa-flip-both,
702
+ .fa-flip-horizontal.fa-flip-vertical {
703
+ -webkit-transform: scale(-1, -1);
704
+ transform: scale(-1, -1);
705
+ }
706
+
707
+ .fa-rotate-by {
708
+ -webkit-transform: rotate(var(--fa-rotate-angle, none));
709
+ transform: rotate(var(--fa-rotate-angle, none));
710
+ }
711
+
712
+ .fa-stack {
713
+ display: inline-block;
714
+ vertical-align: middle;
715
+ height: 2em;
716
+ position: relative;
717
+ width: 2.5em;
718
+ }
719
+
720
+ .fa-stack-1x,
721
+ .fa-stack-2x {
722
+ bottom: 0;
723
+ left: 0;
724
+ margin: auto;
725
+ position: absolute;
726
+ right: 0;
727
+ top: 0;
728
+ z-index: var(--fa-stack-z-index, auto);
729
+ }
730
+
731
+ .svg-inline--fa.fa-stack-1x {
732
+ height: 1em;
733
+ width: 1.25em;
734
+ }
735
+ .svg-inline--fa.fa-stack-2x {
736
+ height: 2em;
737
+ width: 2.5em;
738
+ }
739
+
740
+ .fa-inverse {
741
+ color: var(--fa-inverse, #fff);
742
+ }
743
+
744
+ .sr-only,
745
+ .fa-sr-only {
746
+ position: absolute;
747
+ width: 1px;
748
+ height: 1px;
749
+ padding: 0;
750
+ margin: -1px;
751
+ overflow: hidden;
752
+ clip: rect(0, 0, 0, 0);
753
+ white-space: nowrap;
754
+ border-width: 0;
755
+ }
756
+
757
+ .sr-only-focusable:not(:focus),
758
+ .fa-sr-only-focusable:not(:focus) {
759
+ position: absolute;
760
+ width: 1px;
761
+ height: 1px;
762
+ padding: 0;
763
+ margin: -1px;
764
+ overflow: hidden;
765
+ clip: rect(0, 0, 0, 0);
766
+ white-space: nowrap;
767
+ border-width: 0;
768
+ }
769
+
770
+ .svg-inline--fa .fa-primary {
771
+ fill: var(--fa-primary-color, currentColor);
772
+ opacity: var(--fa-primary-opacity, 1);
773
+ }
774
+
775
+ .svg-inline--fa .fa-secondary {
776
+ fill: var(--fa-secondary-color, currentColor);
777
+ opacity: var(--fa-secondary-opacity, 0.4);
778
+ }
779
+
780
+ .svg-inline--fa.fa-swap-opacity .fa-primary {
781
+ opacity: var(--fa-secondary-opacity, 0.4);
782
+ }
783
+
784
+ .svg-inline--fa.fa-swap-opacity .fa-secondary {
785
+ opacity: var(--fa-primary-opacity, 1);
786
+ }
787
+
788
+ .svg-inline--fa mask .fa-primary,
789
+ .svg-inline--fa mask .fa-secondary {
790
+ fill: black;
791
+ }
792
+
793
+ .fad.fa-inverse,
794
+ .fa-duotone.fa-inverse {
795
+ color: var(--fa-inverse, #fff);
796
+ }`;function PB(){var e=yB,t=$B,r=X.cssPrefix,n=X.replacementClass,i=bJ;if(r!==e||n!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(r,"-")).replace(a,"--".concat(r,"-")).replace(l,".".concat(n))}return i}var uC=!1;function nh(){X.autoAddCss&&!uC&&(pJ(PB()),uC=!0)}var yJ={mixout:function(){return{dom:{css:PB,insertCss:nh}}},hooks:function(){return{beforeDOMElementCreation:function(){nh()},beforeI2svg:function(){nh()}}}},Vn=Fi||{};Vn[Hn]||(Vn[Hn]={});Vn[Hn].styles||(Vn[Hn].styles={});Vn[Hn].hooks||(Vn[Hn].hooks={});Vn[Hn].shims||(Vn[Hn].shims=[]);var en=Vn[Hn],IB=[],$J=function e(){Ke.removeEventListener("DOMContentLoaded",e),zf=1,IB.map(function(t){return t()})},zf=!1;Jn&&(zf=(Ke.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Ke.readyState),zf||Ke.addEventListener("DOMContentLoaded",$J));function xJ(e){Jn&&(zf?setTimeout(e,0):IB.push(e))}function Ju(e){var t=e.tag,r=e.attributes,n=r===void 0?{}:r,i=e.children,o=i===void 0?[]:i;return typeof e=="string"?CB(e):"<".concat(t," ").concat(mJ(n),">").concat(o.map(Ju).join(""),"</").concat(t,">")}function cC(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var wJ=function(t,r){return function(n,i,o,a){return t.call(r,n,i,o,a)}},ih=function(t,r,n,i){var o=Object.keys(t),a=o.length,l=i!==void 0?wJ(r,i):r,s,u,c;for(n===void 0?(s=1,c=t[o[0]]):(s=0,c=n);s<a;s++)u=o[s],c=l(c,t[u],u,t);return c};function SJ(e){for(var t=[],r=0,n=e.length;r<n;){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=e.charCodeAt(r++);(o&64512)==56320?t.push(((i&1023)<<10)+(o&1023)+65536):(t.push(i),r--)}else t.push(i)}return t}function RS(e){var t=SJ(e);return t.length===1?t[0].toString(16):null}function EJ(e,t){var r=e.length,n=e.charCodeAt(t),i;return n>=55296&&n<=56319&&r>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(n-55296)*1024+i-56320+65536:n}function dC(e){return Object.keys(e).reduce(function(t,r){var n=e[r],i=!!n.icon;return i?t[n.iconName]=n.icon:t[r]=n,t},{})}function _S(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.skipHooks,i=n===void 0?!1:n,o=dC(t);typeof en.hooks.addPack=="function"&&!i?en.hooks.addPack(e,dC(t)):en.styles[e]=H(H({},en.styles[e]||{}),o),e==="fas"&&_S("fa",t)}var id,od,ad,_a=en.styles,CJ=en.shims,PJ=(id={},ht(id,Ue,Object.values(hu[Ue])),ht(id,rt,Object.values(hu[rt])),id),g6=null,TB={},AB={},OB={},RB={},_B={},IJ=(od={},ht(od,Ue,Object.keys(vu[Ue])),ht(od,rt,Object.keys(vu[rt])),od);function TJ(e){return~sJ.indexOf(e)}function AJ(e,t){var r=t.split("-"),n=r[0],i=r.slice(1).join("-");return n===e&&i!==""&&!TJ(i)?i:null}var kB=function(){var t=function(o){return ih(_a,function(a,l,s){return a[s]=ih(l,o,{}),a},{})};TB=t(function(i,o,a){if(o[3]&&(i[o[3]]=a),o[2]){var l=o[2].filter(function(s){return typeof s=="number"});l.forEach(function(s){i[s.toString(16)]=a})}return i}),AB=t(function(i,o,a){if(i[a]=a,o[2]){var l=o[2].filter(function(s){return typeof s=="string"});l.forEach(function(s){i[s]=a})}return i}),_B=t(function(i,o,a){var l=o[2];return i[a]=a,l.forEach(function(s){i[s]=a}),i});var r="far"in _a||X.autoFetchSvg,n=ih(CJ,function(i,o){var a=o[0],l=o[1],s=o[2];return l==="far"&&!r&&(l="fas"),typeof a=="string"&&(i.names[a]={prefix:l,iconName:s}),typeof a=="number"&&(i.unicodes[a.toString(16)]={prefix:l,iconName:s}),i},{names:{},unicodes:{}});OB=n.names,RB=n.unicodes,g6=pv(X.styleDefault,{family:X.familyDefault})};fJ(function(e){g6=pv(e.styleDefault,{family:X.familyDefault})});kB();function b6(e,t){return(TB[e]||{})[t]}function OJ(e,t){return(AB[e]||{})[t]}function yo(e,t){return(_B[e]||{})[t]}function DB(e){return OB[e]||{prefix:null,iconName:null}}function RJ(e){var t=RB[e],r=b6("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function Bi(){return g6}var y6=function(){return{prefix:null,iconName:null,rest:[]}};function pv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.family,n=r===void 0?Ue:r,i=vu[n][e],o=mu[n][e]||mu[n][i],a=e in en.styles?e:null;return o||a||null}var fC=(ad={},ht(ad,Ue,Object.keys(hu[Ue])),ht(ad,rt,Object.keys(hu[rt])),ad);function vv(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.skipLookups,i=n===void 0?!1:n,o=(t={},ht(t,Ue,"".concat(X.cssPrefix,"-").concat(Ue)),ht(t,rt,"".concat(X.cssPrefix,"-").concat(rt)),t),a=null,l=Ue;(e.includes(o[Ue])||e.some(function(u){return fC[Ue].includes(u)}))&&(l=Ue),(e.includes(o[rt])||e.some(function(u){return fC[rt].includes(u)}))&&(l=rt);var s=e.reduce(function(u,c){var f=AJ(X.cssPrefix,c);if(_a[c]?(c=PJ[l].includes(c)?rJ[l][c]:c,a=c,u.prefix=c):IJ[l].indexOf(c)>-1?(a=c,u.prefix=pv(c,{family:l})):f?u.iconName=f:c!==X.replacementClass&&c!==o[Ue]&&c!==o[rt]&&u.rest.push(c),!i&&u.prefix&&u.iconName){var d=a==="fa"?DB(u.iconName):{},p=yo(u.prefix,u.iconName);d.prefix&&(a=null),u.iconName=d.iconName||p||u.iconName,u.prefix=d.prefix||u.prefix,u.prefix==="far"&&!_a.far&&_a.fas&&!X.autoFetchSvg&&(u.prefix="fas")}return u},y6());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),!s.prefix&&l===rt&&(_a.fass||X.autoFetchSvg)&&(s.prefix="fass",s.iconName=yo(s.prefix,s.iconName)||s.iconName),(s.prefix==="fa"||a==="fa")&&(s.prefix=Bi()||"fas"),s}var _J=function(){function e(){KQ(this,e),this.definitions={}}return HQ(e,[{key:"add",value:function(){for(var r=this,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.reduce(this._pullDefinitions,{});Object.keys(a).forEach(function(l){r.definitions[l]=H(H({},r.definitions[l]||{}),a[l]),_S(l,a[l]);var s=hu[Ue][l];s&&_S(s,a[l]),kB()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(r,n){var i=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(i).map(function(o){var a=i[o],l=a.prefix,s=a.iconName,u=a.icon,c=u[2];r[l]||(r[l]={}),c.length>0&&c.forEach(function(f){typeof f=="string"&&(r[l][f]=u)}),r[l][s]=u}),r}}]),e}(),pC=[],ka={},Xa={},kJ=Object.keys(Xa);function DJ(e,t){var r=t.mixoutsTo;return pC=e,ka={},Object.keys(Xa).forEach(function(n){kJ.indexOf(n)===-1&&delete Xa[n]}),pC.forEach(function(n){var i=n.mixout?n.mixout():{};if(Object.keys(i).forEach(function(a){typeof i[a]=="function"&&(r[a]=i[a]),Bf(i[a])==="object"&&Object.keys(i[a]).forEach(function(l){r[a]||(r[a]={}),r[a][l]=i[a][l]})}),n.hooks){var o=n.hooks();Object.keys(o).forEach(function(a){ka[a]||(ka[a]=[]),ka[a].push(o[a])})}n.provides&&n.provides(Xa)}),r}function kS(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];var o=ka[e]||[];return o.forEach(function(a){t=a.apply(null,[t].concat(n))}),t}function ko(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=ka[e]||[];i.forEach(function(o){o.apply(null,r)})}function Gn(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Xa[e]?Xa[e].apply(null,t):void 0}function DS(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,r=e.prefix||Bi();if(t)return t=yo(r,t)||t,cC(MB.definitions,r,t)||cC(en.styles,r,t)}var MB=new _J,MJ=function(){X.autoReplaceSvg=!1,X.observeMutations=!1,ko("noAuto")},NJ={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Jn?(ko("beforeI2svg",t),Gn("pseudoElements2svg",t),Gn("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot;X.autoReplaceSvg===!1&&(X.autoReplaceSvg=!0),X.observeMutations=!0,xJ(function(){FJ({autoReplaceSvgRoot:r}),ko("watch",t)})}},LJ={icon:function(t){if(t===null)return null;if(Bf(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:yo(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var r=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],n=pv(t[0]);return{prefix:n,iconName:yo(n,r)||r}}if(typeof t=="string"&&(t.indexOf("".concat(X.cssPrefix,"-"))>-1||t.match(nJ))){var i=vv(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||Bi(),iconName:yo(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var o=Bi();return{prefix:o,iconName:yo(o,t)||t}}}},$r={noAuto:MJ,config:X,dom:NJ,parse:LJ,library:MB,findIconDefinition:DS,toHtml:Ju},FJ=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot,n=r===void 0?Ke:r;(Object.keys(en.styles).length>0||X.autoFetchSvg)&&Jn&&X.autoReplaceSvg&&$r.dom.i2svg({node:n})};function mv(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(n){return Ju(n)})}}),Object.defineProperty(e,"node",{get:function(){if(Jn){var n=Ke.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function BJ(e){var t=e.children,r=e.main,n=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(h6(a)&&r.found&&!n.found){var l=r.width,s=r.height,u={x:l/s/2,y:.5};i.style=fv(H(H({},o),{},{"transform-origin":"".concat(u.x+a.x/16,"em ").concat(u.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function zJ(e){var t=e.prefix,r=e.iconName,n=e.children,i=e.attributes,o=e.symbol,a=o===!0?"".concat(t,"-").concat(X.cssPrefix,"-").concat(r):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:H(H({},i),{},{id:a}),children:n}]}]}function $6(e){var t=e.icons,r=t.main,n=t.mask,i=e.prefix,o=e.iconName,a=e.transform,l=e.symbol,s=e.title,u=e.maskId,c=e.titleId,f=e.extra,d=e.watchable,p=d===void 0?!1:d,m=n.found?n:r,b=m.width,v=m.height,h=i==="fak",g=[X.replacementClass,o?"".concat(X.cssPrefix,"-").concat(o):""].filter(function(I){return f.classes.indexOf(I)===-1}).filter(function(I){return I!==""||!!I}).concat(f.classes).join(" "),y={children:[],attributes:H(H({},f.attributes),{},{"data-prefix":i,"data-icon":o,class:g,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(b," ").concat(v)})},x=h&&!~f.classes.indexOf("fa-fw")?{width:"".concat(b/v*16*.0625,"em")}:{};p&&(y.attributes[_o]=""),s&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(c||bu())},children:[s]}),delete y.attributes.title);var C=H(H({},y),{},{prefix:i,iconName:o,main:r,mask:n,maskId:u,transform:a,symbol:l,styles:H(H({},x),f.styles)}),E=n.found&&r.found?Gn("generateAbstractMask",C)||{children:[],attributes:{}}:Gn("generateAbstractIcon",C)||{children:[],attributes:{}},P=E.children,S=E.attributes;return C.children=P,C.attributes=S,l?zJ(C):BJ(C)}function vC(e){var t=e.content,r=e.width,n=e.height,i=e.transform,o=e.title,a=e.extra,l=e.watchable,s=l===void 0?!1:l,u=H(H(H({},a.attributes),o?{title:o}:{}),{},{class:a.classes.join(" ")});s&&(u[_o]="");var c=H({},a.styles);h6(i)&&(c.transform=gJ({transform:i,startCentered:!0,width:r,height:n}),c["-webkit-transform"]=c.transform);var f=fv(c);f.length>0&&(u.style=f);var d=[];return d.push({tag:"span",attributes:u,children:[t]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}function jJ(e){var t=e.content,r=e.title,n=e.extra,i=H(H(H({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),o=fv(n.styles);o.length>0&&(i.style=o);var a=[];return a.push({tag:"span",attributes:i,children:[t]}),r&&a.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),a}var oh=en.styles;function MS(e){var t=e[0],r=e[1],n=e.slice(4),i=c6(n,1),o=i[0],a=null;return Array.isArray(o)?a={tag:"g",attributes:{class:"".concat(X.cssPrefix,"-").concat(bo.GROUP)},children:[{tag:"path",attributes:{class:"".concat(X.cssPrefix,"-").concat(bo.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(X.cssPrefix,"-").concat(bo.PRIMARY),fill:"currentColor",d:o[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:t,height:r,icon:a}}var UJ={found:!1,width:512,height:512};function WJ(e,t){!xB&&!X.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function NS(e,t){var r=t;return t==="fa"&&X.styleDefault!==null&&(t=Bi()),new Promise(function(n,i){if(Gn("missingIconAbstract"),r==="fa"){var o=DB(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&oh[t]&&oh[t][e]){var a=oh[t][e];return n(MS(a))}WJ(e,t),n(H(H({},UJ),{},{icon:X.showMissingIcons&&e?Gn("missingIconAbstract")||{}:{}}))})}var mC=function(){},LS=X.measurePerformance&&Jc&&Jc.mark&&Jc.measure?Jc:{mark:mC,measure:mC},ws='FA "6.2.1"',KJ=function(t){return LS.mark("".concat(ws," ").concat(t," begins")),function(){return NB(t)}},NB=function(t){LS.mark("".concat(ws," ").concat(t," ends")),LS.measure("".concat(ws," ").concat(t),"".concat(ws," ").concat(t," begins"),"".concat(ws," ").concat(t," ends"))},x6={begin:KJ,end:NB},zd=function(){};function hC(e){var t=e.getAttribute?e.getAttribute(_o):null;return typeof t=="string"}function HJ(e){var t=e.getAttribute?e.getAttribute(f6):null,r=e.getAttribute?e.getAttribute(p6):null;return t&&r}function VJ(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(X.replacementClass)}function GJ(){if(X.autoReplaceSvg===!0)return jd.replace;var e=jd[X.autoReplaceSvg];return e||jd.replace}function qJ(e){return Ke.createElementNS("http://www.w3.org/2000/svg",e)}function YJ(e){return Ke.createElement(e)}function LB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ceFn,n=r===void 0?e.tag==="svg"?qJ:YJ:r;if(typeof e=="string")return Ke.createTextNode(e);var i=n(e.tag);Object.keys(e.attributes||[]).forEach(function(a){i.setAttribute(a,e.attributes[a])});var o=e.children||[];return o.forEach(function(a){i.appendChild(LB(a,{ceFn:n}))}),i}function XJ(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var jd={replace:function(t){var r=t[0];if(r.parentNode)if(t[1].forEach(function(i){r.parentNode.insertBefore(LB(i),r)}),r.getAttribute(_o)===null&&X.keepOriginalSource){var n=Ke.createComment(XJ(r));r.parentNode.replaceChild(n,r)}else r.remove()},nest:function(t){var r=t[0],n=t[1];if(~m6(r).indexOf(X.replacementClass))return jd.replace(t);var i=new RegExp("".concat(X.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce(function(l,s){return s===X.replacementClass||s.match(i)?l.toSvg.push(s):l.toNode.push(s),l},{toNode:[],toSvg:[]});n[0].attributes.class=o.toSvg.join(" "),o.toNode.length===0?r.removeAttribute("class"):r.setAttribute("class",o.toNode.join(" "))}var a=n.map(function(l){return Ju(l)}).join(`
797
+ `);r.setAttribute(_o,""),r.innerHTML=a}};function gC(e){e()}function FB(e,t){var r=typeof t=="function"?t:zd;if(e.length===0)r();else{var n=gC;X.mutateApproach===eJ&&(n=Fi.requestAnimationFrame||gC),n(function(){var i=GJ(),o=x6.begin("mutate");e.map(i),o(),r()})}}var w6=!1;function BB(){w6=!0}function FS(){w6=!1}var jf=null;function bC(e){if(lC&&X.observeMutations){var t=e.treeCallback,r=t===void 0?zd:t,n=e.nodeCallback,i=n===void 0?zd:n,o=e.pseudoElementsCallback,a=o===void 0?zd:o,l=e.observeMutationsRoot,s=l===void 0?Ke:l;jf=new lC(function(u){if(!w6){var c=Bi();Ol(u).forEach(function(f){if(f.type==="childList"&&f.addedNodes.length>0&&!hC(f.addedNodes[0])&&(X.searchPseudoElements&&a(f.target),r(f.target)),f.type==="attributes"&&f.target.parentNode&&X.searchPseudoElements&&a(f.target.parentNode),f.type==="attributes"&&hC(f.target)&&~lJ.indexOf(f.attributeName))if(f.attributeName==="class"&&HJ(f.target)){var d=vv(m6(f.target)),p=d.prefix,m=d.iconName;f.target.setAttribute(f6,p||c),m&&f.target.setAttribute(p6,m)}else VJ(f.target)&&i(f.target)})}}),Jn&&jf.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function QJ(){jf&&jf.disconnect()}function JJ(e){var t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce(function(n,i){var o=i.split(":"),a=o[0],l=o.slice(1);return a&&l.length>0&&(n[a]=l.join(":").trim()),n},{})),r}function ZJ(e){var t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",i=vv(m6(e));return i.prefix||(i.prefix=Bi()),t&&r&&(i.prefix=t,i.iconName=r),i.iconName&&i.prefix||(i.prefix&&n.length>0&&(i.iconName=OJ(i.prefix,e.innerText)||b6(i.prefix,RS(e.innerText))),!i.iconName&&X.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function eZ(e){var t=Ol(e.attributes).reduce(function(i,o){return i.name!=="class"&&i.name!=="style"&&(i[o.name]=o.value),i},{}),r=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return X.autoA11y&&(r?t["aria-labelledby"]="".concat(X.replacementClass,"-title-").concat(n||bu()):(t["aria-hidden"]="true",t.focusable="false")),t}function tZ(){return{iconName:null,title:null,titleId:null,prefix:null,transform:bn,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function yC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},r=ZJ(e),n=r.iconName,i=r.prefix,o=r.rest,a=eZ(e),l=kS("parseNodeAttributes",{},e),s=t.styleParser?JJ(e):[];return H({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:bn,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:s,attributes:a}},l)}var rZ=en.styles;function zB(e){var t=X.autoReplaceSvg==="nest"?yC(e,{styleParser:!1}):yC(e);return~t.extra.classes.indexOf(wB)?Gn("generateLayersText",e,t):Gn("generateSvgReplacementMutation",e,t)}var zi=new Set;v6.map(function(e){zi.add("fa-".concat(e))});Object.keys(vu[Ue]).map(zi.add.bind(zi));Object.keys(vu[rt]).map(zi.add.bind(zi));zi=Xu(zi);function $C(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Jn)return Promise.resolve();var r=Ke.documentElement.classList,n=function(f){return r.add("".concat(sC,"-").concat(f))},i=function(f){return r.remove("".concat(sC,"-").concat(f))},o=X.autoFetchSvg?zi:v6.map(function(c){return"fa-".concat(c)}).concat(Object.keys(rZ));o.includes("fa")||o.push("fa");var a=[".".concat(wB,":not([").concat(_o,"])")].concat(o.map(function(c){return".".concat(c,":not([").concat(_o,"])")})).join(", ");if(a.length===0)return Promise.resolve();var l=[];try{l=Ol(e.querySelectorAll(a))}catch{}if(l.length>0)n("pending"),i("complete");else return Promise.resolve();var s=x6.begin("onTree"),u=l.reduce(function(c,f){try{var d=zB(f);d&&c.push(d)}catch(p){xB||p.name==="MissingIcon"&&console.error(p)}return c},[]);return new Promise(function(c,f){Promise.all(u).then(function(d){FB(d,function(){n("active"),n("complete"),i("pending"),typeof t=="function"&&t(),s(),c()})}).catch(function(d){s(),f(d)})})}function nZ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;zB(e).then(function(r){r&&FB([r],t)})}function iZ(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:DS(t||{}),i=r.mask;return i&&(i=(i||{}).icon?i:DS(i||{})),e(n,H(H({},r),{},{mask:i}))}}var oZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.transform,i=n===void 0?bn:n,o=r.symbol,a=o===void 0?!1:o,l=r.mask,s=l===void 0?null:l,u=r.maskId,c=u===void 0?null:u,f=r.title,d=f===void 0?null:f,p=r.titleId,m=p===void 0?null:p,b=r.classes,v=b===void 0?[]:b,h=r.attributes,g=h===void 0?{}:h,y=r.styles,x=y===void 0?{}:y;if(t){var C=t.prefix,E=t.iconName,P=t.icon;return mv(H({type:"icon"},t),function(){return ko("beforeDOMElementCreation",{iconDefinition:t,params:r}),X.autoA11y&&(d?g["aria-labelledby"]="".concat(X.replacementClass,"-title-").concat(m||bu()):(g["aria-hidden"]="true",g.focusable="false")),$6({icons:{main:MS(P),mask:s?MS(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:C,iconName:E,transform:H(H({},bn),i),symbol:a,title:d,maskId:c,titleId:m,extra:{attributes:g,styles:x,classes:v}})})}},aZ={mixout:function(){return{icon:iZ(oZ)}},hooks:function(){return{mutationObserverCallbacks:function(r){return r.treeCallback=$C,r.nodeCallback=nZ,r}}},provides:function(t){t.i2svg=function(r){var n=r.node,i=n===void 0?Ke:n,o=r.callback,a=o===void 0?function(){}:o;return $C(i,a)},t.generateSvgReplacementMutation=function(r,n){var i=n.iconName,o=n.title,a=n.titleId,l=n.prefix,s=n.transform,u=n.symbol,c=n.mask,f=n.maskId,d=n.extra;return new Promise(function(p,m){Promise.all([NS(i,l),c.iconName?NS(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(b){var v=c6(b,2),h=v[0],g=v[1];p([r,$6({icons:{main:h,mask:g},prefix:l,iconName:i,transform:s,symbol:u,maskId:f,title:o,titleId:a,extra:d,watchable:!0})])}).catch(m)})},t.generateAbstractIcon=function(r){var n=r.children,i=r.attributes,o=r.main,a=r.transform,l=r.styles,s=fv(l);s.length>0&&(i.style=s);var u;return h6(a)&&(u=Gn("generateAbstractTransformGrouping",{main:o,transform:a,containerWidth:o.width,iconWidth:o.width})),n.push(u||o.icon),{children:n,attributes:i}}}},lZ={mixout:function(){return{layer:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.classes,o=i===void 0?[]:i;return mv({type:"layer"},function(){ko("beforeDOMElementCreation",{assembler:r,params:n});var a=[];return r(function(l){Array.isArray(l)?l.map(function(s){a=a.concat(s.abstract)}):a=a.concat(l.abstract)}),[{tag:"span",attributes:{class:["".concat(X.cssPrefix,"-layers")].concat(Xu(o)).join(" ")},children:a}]})}}}},sZ={mixout:function(){return{counter:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.title,o=i===void 0?null:i,a=n.classes,l=a===void 0?[]:a,s=n.attributes,u=s===void 0?{}:s,c=n.styles,f=c===void 0?{}:c;return mv({type:"counter",content:r},function(){return ko("beforeDOMElementCreation",{content:r,params:n}),jJ({content:r.toString(),title:o,extra:{attributes:u,styles:f,classes:["".concat(X.cssPrefix,"-layers-counter")].concat(Xu(l))}})})}}}},uZ={mixout:function(){return{text:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.transform,o=i===void 0?bn:i,a=n.title,l=a===void 0?null:a,s=n.classes,u=s===void 0?[]:s,c=n.attributes,f=c===void 0?{}:c,d=n.styles,p=d===void 0?{}:d;return mv({type:"text",content:r},function(){return ko("beforeDOMElementCreation",{content:r,params:n}),vC({content:r,transform:H(H({},bn),o),title:l,extra:{attributes:f,styles:p,classes:["".concat(X.cssPrefix,"-layers-text")].concat(Xu(u))}})})}}},provides:function(t){t.generateLayersText=function(r,n){var i=n.title,o=n.transform,a=n.extra,l=null,s=null;if(bB){var u=parseInt(getComputedStyle(r).fontSize,10),c=r.getBoundingClientRect();l=c.width/u,s=c.height/u}return X.autoA11y&&!i&&(a.attributes["aria-hidden"]="true"),Promise.resolve([r,vC({content:r.innerHTML,width:l,height:s,transform:o,title:i,extra:a,watchable:!0})])}}},cZ=new RegExp('"',"ug"),xC=[1105920,1112319];function dZ(e){var t=e.replace(cZ,""),r=EJ(t,0),n=r>=xC[0]&&r<=xC[1],i=t.length===2?t[0]===t[1]:!1;return{value:RS(i?t[0]:t),isSecondary:n||i}}function wC(e,t){var r="".concat(ZQ).concat(t.replace(":","-"));return new Promise(function(n,i){if(e.getAttribute(r)!==null)return n();var o=Ol(e.children),a=o.filter(function(P){return P.getAttribute(OS)===t})[0],l=Fi.getComputedStyle(e,t),s=l.getPropertyValue("font-family").match(iJ),u=l.getPropertyValue("font-weight"),c=l.getPropertyValue("content");if(a&&!s)return e.removeChild(a),n();if(s&&c!=="none"&&c!==""){var f=l.getPropertyValue("content"),d=~["Sharp"].indexOf(s[2])?rt:Ue,p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(s[2])?mu[d][s[2].toLowerCase()]:oJ[d][u],m=dZ(f),b=m.value,v=m.isSecondary,h=s[0].startsWith("FontAwesome"),g=b6(p,b),y=g;if(h){var x=RJ(b);x.iconName&&x.prefix&&(g=x.iconName,p=x.prefix)}if(g&&!v&&(!a||a.getAttribute(f6)!==p||a.getAttribute(p6)!==y)){e.setAttribute(r,y),a&&e.removeChild(a);var C=tZ(),E=C.extra;E.attributes[OS]=t,NS(g,p).then(function(P){var S=$6(H(H({},C),{},{icons:{main:P,mask:y6()},prefix:p,iconName:y,extra:E,watchable:!0})),I=Ke.createElement("svg");t==="::before"?e.insertBefore(I,e.firstChild):e.appendChild(I),I.outerHTML=S.map(function(_){return Ju(_)}).join(`
798
+ `),e.removeAttribute(r),n()}).catch(i)}else n()}else n()})}function fZ(e){return Promise.all([wC(e,"::before"),wC(e,"::after")])}function pZ(e){return e.parentNode!==document.head&&!~tJ.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(OS)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function SC(e){if(Jn)return new Promise(function(t,r){var n=Ol(e.querySelectorAll("*")).filter(pZ).map(fZ),i=x6.begin("searchPseudoElements");BB(),Promise.all(n).then(function(){i(),FS(),t()}).catch(function(){i(),FS(),r()})})}var vZ={hooks:function(){return{mutationObserverCallbacks:function(r){return r.pseudoElementsCallback=SC,r}}},provides:function(t){t.pseudoElements2svg=function(r){var n=r.node,i=n===void 0?Ke:n;X.searchPseudoElements&&SC(i)}}},EC=!1,mZ={mixout:function(){return{dom:{unwatch:function(){BB(),EC=!0}}}},hooks:function(){return{bootstrap:function(){bC(kS("mutationObserverCallbacks",{}))},noAuto:function(){QJ()},watch:function(r){var n=r.observeMutationsRoot;EC?FS():bC(kS("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},CC=function(t){var r={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(n,i){var o=i.toLowerCase().split("-"),a=o[0],l=o.slice(1).join("-");if(a&&l==="h")return n.flipX=!0,n;if(a&&l==="v")return n.flipY=!0,n;if(l=parseFloat(l),isNaN(l))return n;switch(a){case"grow":n.size=n.size+l;break;case"shrink":n.size=n.size-l;break;case"left":n.x=n.x-l;break;case"right":n.x=n.x+l;break;case"up":n.y=n.y-l;break;case"down":n.y=n.y+l;break;case"rotate":n.rotate=n.rotate+l;break}return n},r)},hZ={mixout:function(){return{parse:{transform:function(r){return CC(r)}}}},hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-transform");return i&&(r.transform=CC(i)),r}}},provides:function(t){t.generateAbstractTransformGrouping=function(r){var n=r.main,i=r.transform,o=r.containerWidth,a=r.iconWidth,l={transform:"translate(".concat(o/2," 256)")},s="translate(".concat(i.x*32,", ").concat(i.y*32,") "),u="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),c="rotate(".concat(i.rotate," 0 0)"),f={transform:"".concat(s," ").concat(u," ").concat(c)},d={transform:"translate(".concat(a/2*-1," -256)")},p={outer:l,inner:f,path:d};return{tag:"g",attributes:H({},p.outer),children:[{tag:"g",attributes:H({},p.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:H(H({},n.icon.attributes),p.path)}]}]}}}},ah={x:0,y:0,width:"100%",height:"100%"};function PC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function gZ(e){return e.tag==="g"?e.children:[e]}var bZ={hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-mask"),o=i?vv(i.split(" ").map(function(a){return a.trim()})):y6();return o.prefix||(o.prefix=Bi()),r.mask=o,r.maskId=n.getAttribute("data-fa-mask-id"),r}}},provides:function(t){t.generateAbstractMask=function(r){var n=r.children,i=r.attributes,o=r.main,a=r.mask,l=r.maskId,s=r.transform,u=o.width,c=o.icon,f=a.width,d=a.icon,p=hJ({transform:s,containerWidth:f,iconWidth:u}),m={tag:"rect",attributes:H(H({},ah),{},{fill:"white"})},b=c.children?{children:c.children.map(PC)}:{},v={tag:"g",attributes:H({},p.inner),children:[PC(H({tag:c.tag,attributes:H(H({},c.attributes),p.path)},b))]},h={tag:"g",attributes:H({},p.outer),children:[v]},g="mask-".concat(l||bu()),y="clip-".concat(l||bu()),x={tag:"mask",attributes:H(H({},ah),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,h]},C={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:gZ(d)},x]};return n.push(C,{tag:"rect",attributes:H({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(g,")")},ah)}),{children:n,attributes:i}}}},yZ={provides:function(t){var r=!1;Fi.matchMedia&&(r=Fi.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var n=[],i={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:H(H({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=H(H({},o),{},{attributeName:"opacity"}),l={tag:"circle",attributes:H(H({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return r||l.children.push({tag:"animate",attributes:H(H({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:H(H({},a),{},{values:"1;0;1;1;0;1;"})}),n.push(l),n.push({tag:"path",attributes:H(H({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:r?[]:[{tag:"animate",attributes:H(H({},a),{},{values:"1;0;0;0;0;1;"})}]}),r||n.push({tag:"path",attributes:H(H({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:H(H({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},$Z={hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-symbol"),o=i===null?!1:i===""?!0:i;return r.symbol=o,r}}}},xZ=[yJ,aZ,lZ,sZ,uZ,vZ,mZ,hZ,bZ,yZ,$Z];DJ(xZ,{mixoutsTo:$r});$r.noAuto;$r.config;$r.library;$r.dom;var BS=$r.parse;$r.findIconDefinition;$r.toHtml;var wZ=$r.icon;$r.layer;$r.text;$r.counter;function IC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function gi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?IC(Object(r),!0).forEach(function(n){Da(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):IC(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Uf(e){return Uf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Uf(e)}function Da(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function SZ(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function EZ(e,t){if(e==null)return{};var r=SZ(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function zS(e){return CZ(e)||PZ(e)||IZ(e)||TZ()}function CZ(e){if(Array.isArray(e))return jS(e)}function PZ(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function IZ(e,t){if(e){if(typeof e=="string")return jS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return jS(e,t)}}function jS(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function TZ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
799
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function AZ(e){var t,r=e.beat,n=e.fade,i=e.beatFade,o=e.bounce,a=e.shake,l=e.flash,s=e.spin,u=e.spinPulse,c=e.spinReverse,f=e.pulse,d=e.fixedWidth,p=e.inverse,m=e.border,b=e.listItem,v=e.flip,h=e.size,g=e.rotation,y=e.pull,x=(t={"fa-beat":r,"fa-fade":n,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":a,"fa-flash":l,"fa-spin":s,"fa-spin-reverse":c,"fa-spin-pulse":u,"fa-pulse":f,"fa-fw":d,"fa-inverse":p,"fa-border":m,"fa-li":b,"fa-flip":v===!0,"fa-flip-horizontal":v==="horizontal"||v==="both","fa-flip-vertical":v==="vertical"||v==="both"},Da(t,"fa-".concat(h),typeof h<"u"&&h!==null),Da(t,"fa-rotate-".concat(g),typeof g<"u"&&g!==null&&g!==0),Da(t,"fa-pull-".concat(y),typeof y<"u"&&y!==null),Da(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(x).map(function(C){return x[C]?C:null}).filter(function(C){return C})}function OZ(e){return e=e-0,e===e}function jB(e){return OZ(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var RZ=["style"];function _Z(e){return e.charAt(0).toUpperCase()+e.slice(1)}function kZ(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),i=jB(r.slice(0,n)),o=r.slice(n+1).trim();return i.startsWith("webkit")?t[_Z(i)]=o:t[i]=o,t},{})}function UB(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var n=(t.children||[]).map(function(s){return UB(e,s)}),i=Object.keys(t.attributes||{}).reduce(function(s,u){var c=t.attributes[u];switch(u){case"class":s.attrs.className=c,delete t.attributes.class;break;case"style":s.attrs.style=kZ(c);break;default:u.indexOf("aria-")===0||u.indexOf("data-")===0?s.attrs[u.toLowerCase()]=c:s.attrs[jB(u)]=c}return s},{attrs:{}}),o=r.style,a=o===void 0?{}:o,l=EZ(r,RZ);return i.attrs.style=gi(gi({},i.attrs.style),a),e.apply(void 0,[t.tag,gi(gi({},i.attrs),l)].concat(zS(n)))}var WB=!1;try{WB=!0}catch{}function DZ(){if(!WB&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function TC(e){if(e&&Uf(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(BS.icon)return BS.icon(e);if(e===null)return null;if(e&&Uf(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function lh(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Da({},e,t):{}}var hv=w.forwardRef(function(e,t){var r=e.icon,n=e.mask,i=e.symbol,o=e.className,a=e.title,l=e.titleId,s=e.maskId,u=TC(r),c=lh("classes",[].concat(zS(AZ(e)),zS(o.split(" ")))),f=lh("transform",typeof e.transform=="string"?BS.transform(e.transform):e.transform),d=lh("mask",TC(n)),p=wZ(u,gi(gi(gi(gi({},c),f),d),{},{symbol:i,title:a,titleId:l,maskId:s}));if(!p)return DZ("Could not find icon",u),null;var m=p.abstract,b={ref:t};return Object.keys(e).forEach(function(v){hv.defaultProps.hasOwnProperty(v)||(b[v]=e[v])}),MZ(m[0],b)});hv.displayName="FontAwesomeIcon";hv.propTypes={beat:me.bool,border:me.bool,beatFade:me.bool,bounce:me.bool,className:me.string,fade:me.bool,flash:me.bool,mask:me.oneOfType([me.object,me.array,me.string]),maskId:me.string,fixedWidth:me.bool,inverse:me.bool,flip:me.oneOf([!0,!1,"horizontal","vertical","both"]),icon:me.oneOfType([me.object,me.array,me.string]),listItem:me.bool,pull:me.oneOf(["right","left"]),pulse:me.bool,rotation:me.oneOf([0,90,180,270]),shake:me.bool,size:me.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:me.bool,spinPulse:me.bool,spinReverse:me.bool,symbol:me.oneOfType([me.bool,me.string]),title:me.string,titleId:me.string,transform:me.oneOfType([me.string,me.object]),swapOpacity:me.bool};hv.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var MZ=UB.bind(null,w.createElement);function S6(e,t,...r){if(!e)throw new TypeError(KB(t,r))}function KB(e,t){let r=0;return e.replace(/%[os]/gu,()=>HB(t[r++]))}function HB(e){return typeof e!="object"||e===null?String(e):Object.prototype.toString.call(e)}let NZ;function LZ(e){try{const t=e instanceof Error?e:new Error(HB(e));if(typeof dispatchEvent=="function"&&typeof ErrorEvent=="function")dispatchEvent(new ErrorEvent("error",{error:t,message:t.message}));else if(typeof process<"u"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)}catch{}}const rn=typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:typeof globalThis<"u"?globalThis:void 0;let FZ;class Gi{constructor(t,r){this.code=t,this.message=r}warn(...t){var r;try{const n=((r=new Error().stack)!==null&&r!==void 0?r:"").replace(/^(?:.+?\n){2}/gu,`
800
+ `);console.warn(this.message,...t,n)}catch{}}}const BZ=new Gi("W01","Unable to initialize event under dispatching."),zZ=new Gi("W02","Assigning any falsy value to 'cancelBubble' property has no effect."),jZ=new Gi("W03","Assigning any truthy value to 'returnValue' property has no effect."),UZ=new Gi("W04","Unable to preventDefault on non-cancelable events."),WZ=new Gi("W05","Unable to preventDefault inside passive event listener invocation."),KZ=new Gi("W06","An event listener wasn't added because it has been added already: %o, %o"),sh=new Gi("W07","The %o option value was abandoned because the event listener wasn't added as duplicated."),AC=new Gi("W08","The 'callback' argument must be a function or an object that has 'handleEvent' method: %o");class Zn{static get NONE(){return OC}static get CAPTURING_PHASE(){return RC}static get AT_TARGET(){return _C}static get BUBBLING_PHASE(){return kC}constructor(t,r){Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});const n=r??{};US.set(this,{type:String(t),bubbles:!!n.bubbles,cancelable:!!n.cancelable,composed:!!n.composed,target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1,inPassiveListenerFlag:!1,dispatchFlag:!1,timeStamp:Date.now()})}get type(){return ct(this).type}get target(){return ct(this).target}get srcElement(){return ct(this).target}get currentTarget(){return ct(this).currentTarget}composedPath(){const t=ct(this).currentTarget;return t?[t]:[]}get NONE(){return OC}get CAPTURING_PHASE(){return RC}get AT_TARGET(){return _C}get BUBBLING_PHASE(){return kC}get eventPhase(){return ct(this).dispatchFlag?2:0}stopPropagation(){ct(this).stopPropagationFlag=!0}get cancelBubble(){return ct(this).stopPropagationFlag}set cancelBubble(t){t?ct(this).stopPropagationFlag=!0:zZ.warn()}stopImmediatePropagation(){const t=ct(this);t.stopPropagationFlag=t.stopImmediatePropagationFlag=!0}get bubbles(){return ct(this).bubbles}get cancelable(){return ct(this).cancelable}get returnValue(){return!ct(this).canceledFlag}set returnValue(t){t?jZ.warn():DC(ct(this))}preventDefault(){DC(ct(this))}get defaultPrevented(){return ct(this).canceledFlag}get composed(){return ct(this).composed}get isTrusted(){return!1}get timeStamp(){return ct(this).timeStamp}initEvent(t,r=!1,n=!1){const i=ct(this);if(i.dispatchFlag){BZ.warn();return}US.set(this,{...i,type:String(t),bubbles:!!r,cancelable:!!n,target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1})}}const OC=0,RC=1,_C=2,kC=3,US=new WeakMap;function ct(e,t="this"){const r=US.get(e);return S6(r!=null,"'%s' must be an object that Event constructor created, but got another one: %o",t,e),r}function DC(e){if(e.inPassiveListenerFlag){WZ.warn();return}if(!e.cancelable){UZ.warn();return}e.canceledFlag=!0}Object.defineProperty(Zn,"NONE",{enumerable:!0});Object.defineProperty(Zn,"CAPTURING_PHASE",{enumerable:!0});Object.defineProperty(Zn,"AT_TARGET",{enumerable:!0});Object.defineProperty(Zn,"BUBBLING_PHASE",{enumerable:!0});const uh=Object.getOwnPropertyNames(Zn.prototype);for(let e=0;e<uh.length;++e)uh[e]!=="constructor"&&Object.defineProperty(Zn.prototype,uh[e],{enumerable:!0});typeof rn<"u"&&typeof rn.Event<"u"&&Object.setPrototypeOf(Zn.prototype,rn.Event.prototype);function HZ(e){return rn.DOMException?new rn.DOMException(e,"InvalidStateError"):(sa==null&&(sa=class VB extends Error{constructor(r){super(r),Error.captureStackTrace&&Error.captureStackTrace(this,VB)}get code(){return 11}get name(){return"InvalidStateError"}},Object.defineProperties(sa.prototype,{code:{enumerable:!0},name:{enumerable:!0}}),NC(sa),NC(sa.prototype)),new sa(e))}let sa;const MC={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25};function NC(e){const t=Object.keys(MC);for(let r=0;r<t.length;++r){const n=t[r],i=MC[n];Object.defineProperty(e,n,{get(){return i},configurable:!0,enumerable:!0})}}class gv extends Zn{static wrap(t){return new(qB(t))(t)}constructor(t){super(t.type,{bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed}),t.cancelBubble&&super.stopPropagation(),t.defaultPrevented&&super.preventDefault(),GB.set(this,{original:t});const r=Object.keys(t);for(let n=0;n<r.length;++n){const i=r[n];i in this||Object.defineProperty(this,i,YB(t,i))}}stopPropagation(){super.stopPropagation();const{original:t}=ai(this);"stopPropagation"in t&&t.stopPropagation()}get cancelBubble(){return super.cancelBubble}set cancelBubble(t){super.cancelBubble=t;const{original:r}=ai(this);"cancelBubble"in r&&(r.cancelBubble=t)}stopImmediatePropagation(){super.stopImmediatePropagation();const{original:t}=ai(this);"stopImmediatePropagation"in t&&t.stopImmediatePropagation()}get returnValue(){return super.returnValue}set returnValue(t){super.returnValue=t;const{original:r}=ai(this);"returnValue"in r&&(r.returnValue=t)}preventDefault(){super.preventDefault();const{original:t}=ai(this);"preventDefault"in t&&t.preventDefault()}get timeStamp(){const{original:t}=ai(this);return"timeStamp"in t?t.timeStamp:super.timeStamp}}const GB=new WeakMap;function ai(e){const t=GB.get(e);return S6(t!=null,"'this' is expected an Event object, but got",e),t}const Wf=new WeakMap;Wf.set(Object.prototype,gv);typeof rn<"u"&&typeof rn.Event<"u"&&Wf.set(rn.Event.prototype,gv);function qB(e){const t=Object.getPrototypeOf(e);if(t==null)return gv;let r=Wf.get(t);return r==null&&(r=VZ(qB(t),t),Wf.set(t,r)),r}function VZ(e,t){class r extends e{}const n=Object.keys(t);for(let i=0;i<n.length;++i)Object.defineProperty(r.prototype,n[i],YB(t,n[i]));return r}function YB(e,t){const r=Object.getOwnPropertyDescriptor(e,t);return{get(){const n=ai(this).original,i=n[t];return typeof i=="function"?i.bind(n):i},set(n){const i=ai(this).original;i[t]=n},configurable:r.configurable,enumerable:r.enumerable}}function GZ(e,t,r,n,i,o){return{callback:e,flags:(t?1:0)|(r?2:0)|(n?4:0),signal:i,signalListener:o}}function qZ(e){e.flags|=8}function XB(e){return(e.flags&1)===1}function QB(e){return(e.flags&2)===2}function JB(e){return(e.flags&4)===4}function YZ(e){return(e.flags&8)===8}function XZ({callback:e},t,r){try{typeof e=="function"?e.call(t,r):typeof e.handleEvent=="function"&&e.handleEvent(r)}catch(n){LZ(n)}}function ZB({listeners:e},t,r){for(let n=0;n<e.length;++n)if(e[n].callback===t&&XB(e[n])===r)return n;return-1}function QZ(e,t,r,n,i,o){let a;o&&(a=ez.bind(null,e,t,r),o.addEventListener("abort",a));const l=GZ(t,r,n,i,o,a);return e.cow?(e.cow=!1,e.listeners=[...e.listeners,l]):e.listeners.push(l),l}function ez(e,t,r){const n=ZB(e,t,r);return n!==-1?tz(e,n):!1}function tz(e,t,r=!1){const n=e.listeners[t];return qZ(n),n.signal&&n.signal.removeEventListener("abort",n.signalListener),e.cow&&!r?(e.cow=!1,e.listeners=e.listeners.filter((i,o)=>o!==t),!1):(e.listeners.splice(t,1),!0)}function JZ(){return Object.create(null)}function ZZ(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e[t]={attrCallback:void 0,attrListener:void 0,cow:!1,listeners:[]}}class E6{constructor(){rz.set(this,JZ())}addEventListener(t,r,n){const i=ch(this),{callback:o,capture:a,once:l,passive:s,signal:u,type:c}=eee(t,r,n);if(o==null||u!=null&&u.aborted)return;const f=ZZ(i,c),d=ZB(f,o,a);if(d!==-1){ree(f.listeners[d],s,l,u);return}QZ(f,o,a,s,l,u)}removeEventListener(t,r,n){const i=ch(this),{callback:o,capture:a,type:l}=tee(t,r,n),s=i[l];o!=null&&s&&ez(s,o,a)}dispatchEvent(t){const r=ch(this)[String(t.type)];if(r==null)return!0;const n=t instanceof Zn?t:gv.wrap(t),i=ct(n,"event");if(i.dispatchFlag)throw HZ("This event has been in dispatching.");if(i.dispatchFlag=!0,i.target=i.currentTarget=this,!i.stopPropagationFlag){const{cow:o,listeners:a}=r;r.cow=!0;for(let l=0;l<a.length;++l){const s=a[l];if(!YZ(s)&&(JB(s)&&tz(r,l,!o)&&(l-=1),i.inPassiveListenerFlag=QB(s),XZ(s,this,n),i.inPassiveListenerFlag=!1,i.stopImmediatePropagationFlag))break}o||(r.cow=!1)}return i.target=null,i.currentTarget=null,i.stopImmediatePropagationFlag=!1,i.stopPropagationFlag=!1,i.dispatchFlag=!1,!i.canceledFlag}}const rz=new WeakMap;function ch(e,t="this"){const r=rz.get(e);return S6(r!=null,"'%s' must be an object that EventTarget constructor created, but got another one: %o",t,e),r}function eee(e,t,r){var n;return nz(t),typeof r=="object"&&r!==null?{type:String(e),callback:t??void 0,capture:!!r.capture,passive:!!r.passive,once:!!r.once,signal:(n=r.signal)!==null&&n!==void 0?n:void 0}:{type:String(e),callback:t??void 0,capture:!!r,passive:!1,once:!1,signal:void 0}}function tee(e,t,r){return nz(t),typeof r=="object"&&r!==null?{type:String(e),callback:t??void 0,capture:!!r.capture}:{type:String(e),callback:t??void 0,capture:!!r}}function nz(e){if(!(typeof e=="function"||typeof e=="object"&&e!==null&&typeof e.handleEvent=="function")){if(e==null||typeof e=="object"){AC.warn(e);return}throw new TypeError(KB(AC.message,[e]))}}function ree(e,t,r,n){KZ.warn(XB(e)?"capture":"bubble",e.callback),QB(e)!==t&&sh.warn("passive"),JB(e)!==r&&sh.warn("once"),e.signal!==n&&sh.warn("signal")}const dh=Object.getOwnPropertyNames(E6.prototype);for(let e=0;e<dh.length;++e)dh[e]!=="constructor"&&Object.defineProperty(E6.prototype,dh[e],{enumerable:!0});typeof rn<"u"&&typeof rn.EventTarget<"u"&&Object.setPrototypeOf(E6.prototype,rn.EventTarget.prototype);var nee="Expected a function",LC=0/0,iee="[object Symbol]",oee=/^\s+|\s+$/g,aee=/^[-+]0x[0-9a-f]+$/i,lee=/^0b[01]+$/i,see=/^0o[0-7]+$/i,uee=parseInt,cee=typeof be=="object"&&be&&be.Object===Object&&be,dee=typeof self=="object"&&self&&self.Object===Object&&self,fee=cee||dee||Function("return this")(),pee=Object.prototype,vee=pee.toString,mee=Math.max,hee=Math.min,fh=function(){return fee.Date.now()};function gee(e,t,r){var n,i,o,a,l,s,u=0,c=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(nee);t=FC(t)||0,WS(r)&&(c=!!r.leading,f="maxWait"in r,o=f?mee(FC(r.maxWait)||0,t):o,d="trailing"in r?!!r.trailing:d);function p(E){var P=n,S=i;return n=i=void 0,u=E,a=e.apply(S,P),a}function m(E){return u=E,l=setTimeout(h,t),c?p(E):a}function b(E){var P=E-s,S=E-u,I=t-P;return f?hee(I,o-S):I}function v(E){var P=E-s,S=E-u;return s===void 0||P>=t||P<0||f&&S>=o}function h(){var E=fh();if(v(E))return g(E);l=setTimeout(h,b(E))}function g(E){return l=void 0,d&&n?p(E):(n=i=void 0,a)}function y(){l!==void 0&&clearTimeout(l),u=0,n=s=i=l=void 0}function x(){return l===void 0?a:g(fh())}function C(){var E=fh(),P=v(E);if(n=arguments,i=this,s=E,P){if(l===void 0)return m(s);if(f)return l=setTimeout(h,t),p(s)}return l===void 0&&(l=setTimeout(h,t)),a}return C.cancel=y,C.flush=x,C}function WS(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function bee(e){return!!e&&typeof e=="object"}function yee(e){return typeof e=="symbol"||bee(e)&&vee.call(e)==iee}function FC(e){if(typeof e=="number")return e;if(yee(e))return LC;if(WS(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=WS(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(oee,"");var r=lee.test(e);return r||see.test(e)?uee(e.slice(2),r?2:8):aee.test(e)?LC:+e}var $ee=gee;const bge=rr($ee);var iz={exports:{}},Ud=1;function xee(){return Ud=(Ud*9301+49297)%233280,Ud/233280}function wee(e){Ud=e}var See={nextValue:xee,seed:wee},KS=See,so="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-",bi,BC,Ss;function HS(){Ss=!1}function oz(e){if(!e){bi!==so&&(bi=so,HS());return}if(e!==bi){if(e.length!==so.length)throw new Error("Custom alphabet for shortid must be "+so.length+" unique characters. You submitted "+e.length+" characters: "+e);var t=e.split("").filter(function(r,n,i){return n!==i.lastIndexOf(r)});if(t.length)throw new Error("Custom alphabet for shortid must be "+so.length+" unique characters. These characters were not unique: "+t.join(", "));bi=e,HS()}}function Eee(e){return oz(e),bi}function Cee(e){KS.seed(e),BC!==e&&(HS(),BC=e)}function Pee(){bi||oz(so);for(var e=bi.split(""),t=[],r=KS.nextValue(),n;e.length>0;)r=KS.nextValue(),n=Math.floor(r*e.length),t.push(e.splice(n,1)[0]);return t.join("")}function az(){return Ss||(Ss=Pee(),Ss)}function Iee(e){var t=az();return t[e]}function Tee(){return bi||so}var C6={get:Tee,characters:Eee,seed:Cee,lookup:Iee,shuffled:az},ph=typeof window=="object"&&(window.crypto||window.msCrypto),VS;!ph||!ph.getRandomValues?VS=function(e){for(var t=[],r=0;r<e;r++)t.push(Math.floor(Math.random()*256));return t}:VS=function(e){return ph.getRandomValues(new Uint8Array(e))};var Aee=VS,Oee=function(e,t,r){for(var n=(2<<Math.log(t.length-1)/Math.LN2)-1,i=-~(1.6*n*r/t.length),o="";;)for(var a=e(i),l=i;l--;)if(o+=t[a[l]&n]||"",o.length===+r)return o},Ree=C6,_ee=Aee,kee=Oee;function Dee(e){for(var t=0,r,n="";!r;)n=n+kee(_ee,Ree.get(),1),r=e<Math.pow(16,t+1),t++;return n}var Mee=Dee,ld=Mee,Nee=1567752802062,Lee=7,sd,zC;function Fee(e){var t="",r=Math.floor((Date.now()-Nee)*.001);return r===zC?sd++:(sd=0,zC=r),t=t+ld(Lee),t=t+ld(e),sd>0&&(t=t+ld(sd)),t=t+ld(r),t}var Bee=Fee,zee=C6;function jee(e){if(!e||typeof e!="string"||e.length<6)return!1;var t=new RegExp("[^"+zee.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]");return!t.test(e)}var Uee=jee;(function(e){var t=C6,r=Bee,n=Uee,i=0;function o(u){return t.seed(u),e.exports}function a(u){return i=u,e.exports}function l(u){return u!==void 0&&t.characters(u),t.shuffled()}function s(){return r(i)}e.exports=s,e.exports.generate=s,e.exports.seed=o,e.exports.worker=a,e.exports.characters=l,e.exports.isValid=n})(iz);var Wee=iz.exports,Kee=Wee;const yge=rr(Kee);var Hee=function(){},Vee=Hee(),Ho=function(e){return e!==Vee&&e!==null},Gee=Ho,qee=Array.prototype.forEach,Yee=Object.create,Xee=function(e,t){var r;for(r in e)t[r]=e[r]},lz=function(e){var t=Yee(null);return qee.call(arguments,function(r){Gee(r)&&Xee(Object(r),t)}),t},Qee=function(){var e=Math.sign;return typeof e!="function"?!1:e(10)===1&&e(-20)===-1},vh,jC;function Jee(){return jC||(jC=1,vh=function(e){return e=Number(e),isNaN(e)||e===0?e:e>0?1:-1}),vh}var Zee=Qee()?Math.sign:Jee(),ete=Zee,tte=Math.abs,rte=Math.floor,nte=function(e){return isNaN(e)?0:(e=Number(e),e===0||!isFinite(e)?e:ete(e)*rte(tte(e)))},ite=nte,ote=Math.max,Vo=function(e){return ote(0,ite(e))},ate=Vo,sz=function(e,t,r){var n;return isNaN(e)?(n=t,n>=0?r&&n?n-1:n:1):e===!1?!1:ate(e)},qi=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e},lte=Ho,Rl=function(e){if(!lte(e))throw new TypeError("Cannot use null or undefined");return e},ste=qi,ute=Rl,cte=Function.prototype.bind,UC=Function.prototype.call,dte=Object.keys,fte=Object.prototype.propertyIsEnumerable,pte=function(e,t){return function(r,n){var i,o=arguments[2],a=arguments[3];return r=Object(ute(r)),ste(n),i=dte(r),a&&i.sort(typeof a=="function"?cte.call(a,r):void 0),typeof e!="function"&&(e=i[e]),UC.call(e,i,function(l,s){return fte.call(r,l)?UC.call(n,o,r[l],l,r,s):t})}},bv=pte("forEach"),Go={},uz={exports:{}},vte=function(){var e=Object.assign,t;return typeof e!="function"?!1:(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")},mh,WC;function mte(){return WC||(WC=1,mh=function(){try{return Object.keys("primitive"),!0}catch{return!1}}),mh}var hh,KC;function hte(){if(KC)return hh;KC=1;var e=Ho,t=Object.keys;return hh=function(r){return t(e(r)?Object(r):r)},hh}var gh,HC;function gte(){return HC||(HC=1,gh=mte()()?Object.keys:hte()),gh}var bh,VC;function bte(){if(VC)return bh;VC=1;var e=gte(),t=Rl,r=Math.max;return bh=function(n,i){var o,a,l=r(arguments.length,2),s;for(n=Object(t(n)),s=function(u){try{n[u]=i[u]}catch(c){o||(o=c)}},a=1;a<l;++a)i=arguments[a],e(i).forEach(s);if(o!==void 0)throw o;return n},bh}var cz=vte()?Object.assign:bte(),yte=Ho,$te={function:!0,object:!0},xte=function(e){return yte(e)&&$te[typeof e]||!1};(function(e){var t=cz,r=xte,n=Ho,i=Error.captureStackTrace;e.exports=function(o){var a=new Error(o),l=arguments[1],s=arguments[2];return n(s)||r(l)&&(s=l,l=null),n(s)&&t(a,s),n(l)&&(a.code=l),i&&i(a,e.exports),a}})(uz);var wte=uz.exports,GS={exports:{}},yh,GC;function dz(){if(GC)return yh;GC=1;var e=Rl,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;return yh=function(o,a){var l,s=Object(e(a));if(o=Object(e(o)),n(s).forEach(function(u){try{t(o,u,r(a,u))}catch(c){l=c}}),typeof i=="function"&&i(s).forEach(function(u){try{t(o,u,r(a,u))}catch(c){l=c}}),l!==void 0)throw l;return o},yh}var qC=Vo,fz=function(e,t){return t},$h,YC,XC,QC;try{Object.defineProperty(fz,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch{}fz.length===1?($h={configurable:!0,writable:!1,enumerable:!1},YC=Object.defineProperty,GS.exports=function(e,t){return t=qC(t),e.length===t?e:($h.value=t,YC(e,"length",$h))}):(QC=dz(),XC=function(){var e=[];return function(t){var r,n=0;if(e[t])return e[t];for(r=[];t--;)r.push("a"+(++n).toString(36));return new Function("fn","return function ("+r.join(", ")+") { return fn.apply(this, arguments); };")}}(),GS.exports=function(e,t){var r;if(t=qC(t),e.length===t)return e;r=XC(t)(e);try{QC(r,e)}catch{}return r});var pz=GS.exports,vz={exports:{}},Ste=void 0,mz=function(e){return e!==Ste&&e!==null},Ete=mz,Cte={object:!0,function:!0,undefined:!0},Pte=function(e){return Ete(e)?hasOwnProperty.call(Cte,typeof e):!1},Ite=Pte,Tte=function(e){if(!Ite(e))return!1;try{return e.constructor?e.constructor.prototype===e:!1}catch{return!1}},Ate=Tte,Ote=function(e){if(typeof e!="function"||!hasOwnProperty.call(e,"length"))return!1;try{if(typeof e.length!="number"||typeof e.call!="function"||typeof e.apply!="function")return!1}catch{return!1}return!Ate(e)},Rte=Ote,_te=/^\s*class[\s{/}]/,kte=Function.prototype.toString,Dte=function(e){return!(!Rte(e)||_te.test(kte.call(e)))},xh="razdwatrzy",Mte=function(){return typeof xh.contains!="function"?!1:xh.contains("dwa")===!0&&xh.contains("foo")===!1},wh,JC;function Nte(){if(JC)return wh;JC=1;var e=String.prototype.indexOf;return wh=function(t){return e.call(this,t,arguments[1])>-1},wh}var Lte=Mte()?String.prototype.contains:Nte(),Wd=mz,ZC=Dte,hz=cz,gz=lz,Bs=Lte,Fte=vz.exports=function(e,t){var r,n,i,o,a;return arguments.length<2||typeof e!="string"?(o=t,t=e,e=null):o=arguments[2],Wd(e)?(r=Bs.call(e,"c"),n=Bs.call(e,"e"),i=Bs.call(e,"w")):(r=i=!0,n=!1),a={value:t,configurable:r,enumerable:n,writable:i},o?hz(gz(o),a):a};Fte.gs=function(e,t,r){var n,i,o,a;return typeof e!="string"?(o=r,r=t,t=e,e=null):o=arguments[3],Wd(t)?ZC(t)?Wd(r)?ZC(r)||(o=r,r=void 0):r=void 0:(o=t,t=r=void 0):t=void 0,Wd(e)?(n=Bs.call(e,"c"),i=Bs.call(e,"e")):(n=!0,i=!1),a={get:t,set:r,configurable:n,enumerable:i},o?hz(gz(o),a):a};var qo=vz.exports,qS={exports:{}};(function(e,t){var r=qo,n=qi,i=Function.prototype.apply,o=Function.prototype.call,a=Object.create,l=Object.defineProperty,s=Object.defineProperties,u=Object.prototype.hasOwnProperty,c={configurable:!0,enumerable:!1,writable:!0},f,d,p,m,b,v,h;f=function(g,y){var x;return n(y),u.call(this,"__ee__")?x=this.__ee__:(x=c.value=a(null),l(this,"__ee__",c),c.value=null),x[g]?typeof x[g]=="object"?x[g].push(y):x[g]=[x[g],y]:x[g]=y,this},d=function(g,y){var x,C;return n(y),C=this,f.call(this,g,x=function(){p.call(C,g,x),i.call(y,this,arguments)}),x.__eeOnceListener__=y,this},p=function(g,y){var x,C,E,P;if(n(y),!u.call(this,"__ee__"))return this;if(x=this.__ee__,!x[g])return this;if(C=x[g],typeof C=="object")for(P=0;E=C[P];++P)(E===y||E.__eeOnceListener__===y)&&(C.length===2?x[g]=C[P?0:1]:C.splice(P,1));else(C===y||C.__eeOnceListener__===y)&&delete x[g];return this},m=function(g){var y,x,C,E,P;if(u.call(this,"__ee__")&&(E=this.__ee__[g],!!E))if(typeof E=="object"){for(x=arguments.length,P=new Array(x-1),y=1;y<x;++y)P[y-1]=arguments[y];for(E=E.slice(),y=0;C=E[y];++y)i.call(C,this,P)}else switch(arguments.length){case 1:o.call(E,this);break;case 2:o.call(E,this,arguments[1]);break;case 3:o.call(E,this,arguments[1],arguments[2]);break;default:for(x=arguments.length,P=new Array(x-1),y=1;y<x;++y)P[y-1]=arguments[y];i.call(E,this,P)}},b={on:f,once:d,off:p,emit:m},v={on:r(f),once:r(d),off:r(p),emit:r(m)},h=s({},v),e.exports=t=function(g){return g==null?a(h):s(Object(g),v)},t.methods=b})(qS,qS.exports);var Bte=qS.exports,Sh,eP;function zte(){return eP||(eP=1,Sh=function(){var e=Array.from,t,r;return typeof e!="function"?!1:(t=["raz","dwa"],r=e(t),!!(r&&r!==t&&r[1]==="dwa"))}),Sh}var Eh,tP;function jte(){return tP||(tP=1,Eh=function(){return typeof globalThis!="object"||!globalThis?!1:globalThis.Array===Array}),Eh}var Ch,rP;function Ute(){if(rP)return Ch;rP=1;var e=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};return Ch=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return e()}try{return __global__||e()}finally{delete Object.prototype.__global__}}(),Ch}var Ph,nP;function yv(){return nP||(nP=1,Ph=jte()()?globalThis:Ute()),Ph}var Ih,iP;function Wte(){if(iP)return Ih;iP=1;var e=yv(),t={object:!0,symbol:!0};return Ih=function(){var r=e.Symbol,n;if(typeof r!="function")return!1;n=r("test symbol");try{String(n)}catch{return!1}return!(!t[typeof r.iterator]||!t[typeof r.toPrimitive]||!t[typeof r.toStringTag])},Ih}var Th,oP;function Kte(){return oP||(oP=1,Th=function(e){return e?typeof e=="symbol"?!0:!e.constructor||e.constructor.name!=="Symbol"?!1:e[e.constructor.toStringTag]==="Symbol":!1}),Th}var Ah,aP;function bz(){if(aP)return Ah;aP=1;var e=Kte();return Ah=function(t){if(!e(t))throw new TypeError(t+" is not a symbol");return t},Ah}var Oh,lP;function Hte(){if(lP)return Oh;lP=1;var e=qo,t=Object.create,r=Object.defineProperty,n=Object.prototype,i=t(null);return Oh=function(o){for(var a=0,l,s;i[o+(a||"")];)++a;return o+=a||"",i[o]=!0,l="@@"+o,r(n,l,e.gs(null,function(u){s||(s=!0,r(this,l,e(u)),s=!1)})),l},Oh}var Rh,sP;function Vte(){if(sP)return Rh;sP=1;var e=qo,t=yv().Symbol;return Rh=function(r){return Object.defineProperties(r,{hasInstance:e("",t&&t.hasInstance||r("hasInstance")),isConcatSpreadable:e("",t&&t.isConcatSpreadable||r("isConcatSpreadable")),iterator:e("",t&&t.iterator||r("iterator")),match:e("",t&&t.match||r("match")),replace:e("",t&&t.replace||r("replace")),search:e("",t&&t.search||r("search")),species:e("",t&&t.species||r("species")),split:e("",t&&t.split||r("split")),toPrimitive:e("",t&&t.toPrimitive||r("toPrimitive")),toStringTag:e("",t&&t.toStringTag||r("toStringTag")),unscopables:e("",t&&t.unscopables||r("unscopables"))})},Rh}var _h,uP;function Gte(){if(uP)return _h;uP=1;var e=qo,t=bz(),r=Object.create(null);return _h=function(n){return Object.defineProperties(n,{for:e(function(i){return r[i]?r[i]:r[i]=n(String(i))}),keyFor:e(function(i){var o;t(i);for(o in r)if(r[o]===i)return o})})},_h}var kh,cP;function qte(){if(cP)return kh;cP=1;var e=qo,t=bz(),r=yv().Symbol,n=Hte(),i=Vte(),o=Gte(),a=Object.create,l=Object.defineProperties,s=Object.defineProperty,u,c,f;if(typeof r=="function")try{String(r()),f=!0}catch{}else r=null;return c=function(p){if(this instanceof c)throw new TypeError("Symbol is not a constructor");return u(p)},kh=u=function d(p){var m;if(this instanceof d)throw new TypeError("Symbol is not a constructor");return f?r(p):(m=a(c.prototype),p=p===void 0?"":String(p),l(m,{__description__:e("",p),__name__:e("",n(p))}))},i(u),o(u),l(c.prototype,{constructor:e(u),toString:e("",function(){return this.__name__})}),l(u.prototype,{toString:e(function(){return"Symbol ("+t(this).__description__+")"}),valueOf:e(function(){return t(this)})}),s(u.prototype,u.toPrimitive,e("",function(){var d=t(this);return typeof d=="symbol"?d:d.toString()})),s(u.prototype,u.toStringTag,e("c","Symbol")),s(c.prototype,u.toStringTag,e("c",u.prototype[u.toStringTag])),s(c.prototype,u.toPrimitive,e("c",u.prototype[u.toPrimitive])),kh}var Dh,dP;function Yte(){return dP||(dP=1,Dh=Wte()()?yv().Symbol:qte()),Dh}var Mh,fP;function Xte(){if(fP)return Mh;fP=1;var e=Object.prototype.toString,t=e.call(function(){return arguments}());return Mh=function(r){return e.call(r)===t},Mh}var Nh,pP;function Qte(){if(pP)return Nh;pP=1;var e=Object.prototype.toString,t=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);return Nh=function(r){return typeof r=="function"&&t(e.call(r))},Nh}var Lh,vP;function Jte(){if(vP)return Lh;vP=1;var e=Object.prototype.toString,t=e.call("");return Lh=function(r){return typeof r=="string"||r&&typeof r=="object"&&(r instanceof String||e.call(r)===t)||!1},Lh}var Fh,mP;function Zte(){if(mP)return Fh;mP=1;var e=Yte().iterator,t=Xte(),r=Qte(),n=Vo,i=qi,o=Rl,a=Ho,l=Jte(),s=Array.isArray,u=Function.prototype.call,c={configurable:!0,enumerable:!0,writable:!0,value:null},f=Object.defineProperty;return Fh=function(d){var p=arguments[1],m=arguments[2],b,v,h,g,y,x,C,E,P,S;if(d=Object(o(d)),a(p)&&i(p),!this||this===Array||!r(this)){if(!p){if(t(d))return y=d.length,y!==1?Array.apply(null,d):(g=new Array(1),g[0]=d[0],g);if(s(d)){for(g=new Array(y=d.length),v=0;v<y;++v)g[v]=d[v];return g}}g=[]}else b=this;if(!s(d)){if((P=d[e])!==void 0){for(C=i(P).call(d),b&&(g=new b),E=C.next(),v=0;!E.done;)S=p?u.call(p,m,E.value,v):E.value,b?(c.value=S,f(g,v,c)):g[v]=S,E=C.next(),++v;y=v}else if(l(d)){for(y=d.length,b&&(g=new b),v=0,h=0;v<y;++v)S=d[v],v+1<y&&(x=S.charCodeAt(0),x>=55296&&x<=56319&&(S+=d[++v])),S=p?u.call(p,m,S,h):S,b?(c.value=S,f(g,h,c)):g[h]=S,++h;y=h}}if(y===void 0)for(y=n(d.length),b&&(g=new b(y)),v=0;v<y;++v)S=p?u.call(p,m,d[v],v):d[v],b?(c.value=S,f(g,v,c)):g[v]=S;return b&&(c.value=null,g.length=y),g},Fh}var Bh,hP;function P6(){return hP||(hP=1,Bh=zte()()?Array.from:Zte()),Bh}var ere=P6(),tre=Array.isArray,rre=function(e){return tre(e)?e:ere(e)},nre=rre,ire=Ho,ore=qi,are=Array.prototype.slice,yz;yz=function(e){return this.map(function(t,r){return t?t(e[r]):e[r]}).concat(are.call(e,this.length))};var lre=function(e){return e=nre(e),e.forEach(function(t){ire(t)&&ore(t)}),yz.bind(e)},ud=qi,sre=function(e){var t;return typeof e=="function"?{set:e,get:e}:(t={get:ud(e.get)},e.set!==void 0?(t.set=ud(e.set),e.delete&&(t.delete=ud(e.delete)),e.clear&&(t.clear=ud(e.clear)),t):(t.set=t.get,t))},cd=wte,dd=pz,us=qo,$z=Bte.methods,ure=lre,cre=sre,zh=Function.prototype.apply,jh=Function.prototype.call,gP=Object.create,dre=Object.defineProperties,fre=$z.on,pre=$z.emit,vre=function(e,t,r){var n=gP(null),i,o,a,l,s,u,c,f,d,p,m,b,v,h,g;return t!==!1?o=t:isNaN(e.length)?o=1:o=e.length,r.normalizer&&(p=cre(r.normalizer),a=p.get,l=p.set,s=p.delete,u=p.clear),r.resolvers!=null&&(g=ure(r.resolvers)),a?h=dd(function(y){var x,C,E=arguments;if(g&&(E=g(E)),x=a(E),x!==null&&hasOwnProperty.call(n,x))return m&&i.emit("get",x,E,this),n[x];if(E.length===1?C=jh.call(e,this,E[0]):C=zh.call(e,this,E),x===null){if(x=a(E),x!==null)throw cd("Circular invocation","CIRCULAR_INVOCATION");x=l(E)}else if(hasOwnProperty.call(n,x))throw cd("Circular invocation","CIRCULAR_INVOCATION");return n[x]=C,b&&i.emit("set",x,null,C),C},o):t===0?h=function(){var y;if(hasOwnProperty.call(n,"data"))return m&&i.emit("get","data",arguments,this),n.data;if(arguments.length?y=zh.call(e,this,arguments):y=jh.call(e,this),hasOwnProperty.call(n,"data"))throw cd("Circular invocation","CIRCULAR_INVOCATION");return n.data=y,b&&i.emit("set","data",null,y),y}:h=function(y){var x,C=arguments,E;if(g&&(C=g(arguments)),E=String(C[0]),hasOwnProperty.call(n,E))return m&&i.emit("get",E,C,this),n[E];if(C.length===1?x=jh.call(e,this,C[0]):x=zh.call(e,this,C),hasOwnProperty.call(n,E))throw cd("Circular invocation","CIRCULAR_INVOCATION");return n[E]=x,b&&i.emit("set",E,null,x),x},i={original:e,memoized:h,profileName:r.profileName,get:function(y){return g&&(y=g(y)),a?a(y):String(y[0])},has:function(y){return hasOwnProperty.call(n,y)},delete:function(y){var x;hasOwnProperty.call(n,y)&&(s&&s(y),x=n[y],delete n[y],v&&i.emit("delete",y,x))},clear:function(){var y=n;u&&u(),n=gP(null),i.emit("clear",y)},on:function(y,x){return y==="get"?m=!0:y==="set"?b=!0:y==="delete"&&(v=!0),fre.call(this,y,x)},emit:pre,updateEnv:function(){e=i.original}},a?c=dd(function(y){var x,C=arguments;g&&(C=g(C)),x=a(C),x!==null&&i.delete(x)},o):t===0?c=function(){return i.delete("data")}:c=function(y){return g&&(y=g(arguments)[0]),i.delete(y)},f=dd(function(){var y,x=arguments;return t===0?n.data:(g&&(x=g(x)),a?y=a(x):y=String(x[0]),n[y])}),d=dd(function(){var y,x=arguments;return t===0?i.has("data"):(g&&(x=g(x)),a?y=a(x):y=String(x[0]),y===null?!1:i.has(y))}),dre(h,{__memoized__:us(!0),delete:us(c),clear:us(i.clear),_get:us(f),_has:us(d)}),i},mre=qi,hre=bv,bP=Go,gre=vre,bre=sz,yre=function e(t){var r,n,i;if(mre(t),r=Object(arguments[1]),r.async&&r.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!r.force?t:(n=bre(r.length,t.length,r.async&&bP.async),i=gre(t,n,r),hre(bP,function(o,a){r[a]&&o(r[a],i,r)}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized)},Uh,yP;function $re(){return yP||(yP=1,Uh=function(e){var t,r,n=e.length;if(!n)return"";for(t=String(e[r=0]);--n;)t+=""+e[++r];return t}),Uh}var Wh,$P;function xre(){return $P||($P=1,Wh=function(e){return e?function(t){for(var r=String(t[0]),n=0,i=e;--i;)r+=""+t[++n];return r}:function(){return""}}),Wh}var Kh,xP;function wre(){return xP||(xP=1,Kh=function(){var e=Number.isNaN;return typeof e!="function"?!1:!e({})&&e(NaN)&&!e(34)}),Kh}var Hh,wP;function Sre(){return wP||(wP=1,Hh=function(e){return e!==e}),Hh}var Vh,SP;function Ere(){return SP||(SP=1,Vh=wre()()?Number.isNaN:Sre()),Vh}var Gh,EP;function I6(){if(EP)return Gh;EP=1;var e=Ere(),t=Vo,r=Rl,n=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,o=Math.abs,a=Math.floor;return Gh=function(l){var s,u,c,f;if(!e(l))return n.apply(this,arguments);for(u=t(r(this).length),c=arguments[1],isNaN(c)?c=0:c>=0?c=a(c):c=t(this.length)-a(o(c)),s=c;s<u;++s)if(i.call(this,s)&&(f=this[s],e(f)))return s;return-1},Gh}var qh,CP;function Cre(){if(CP)return qh;CP=1;var e=I6(),t=Object.create;return qh=function(){var r=0,n=[],i=t(null);return{get:function(o){var a=0,l=n,s,u=o.length;if(u===0)return l[u]||null;if(l=l[u]){for(;a<u-1;){if(s=e.call(l[0],o[a]),s===-1)return null;l=l[1][s],++a}return s=e.call(l[0],o[a]),s===-1?null:l[1][s]||null}return null},set:function(o){var a=0,l=n,s,u=o.length;if(u===0)l[u]=++r;else{for(l[u]||(l[u]=[[],[]]),l=l[u];a<u-1;)s=e.call(l[0],o[a]),s===-1&&(s=l[0].push(o[a])-1,l[1].push([[],[]])),l=l[1][s],++a;s=e.call(l[0],o[a]),s===-1&&(s=l[0].push(o[a])-1),l[1][s]=++r}return i[r]=o,r},delete:function(o){var a=0,l=n,s,u=i[o],c=u.length,f=[];if(c===0)delete l[c];else if(l=l[c]){for(;a<c-1;){if(s=e.call(l[0],u[a]),s===-1)return;f.push(l,s),l=l[1][s],++a}if(s=e.call(l[0],u[a]),s===-1)return;for(o=l[1][s],l[0].splice(s,1),l[1].splice(s,1);!l[0].length&&f.length;)s=f.pop(),l=f.pop(),l[0].splice(s,1),l[1].splice(s,1)}delete i[o]},clear:function(){n=[],i=t(null)}}},qh}var Yh,PP;function Pre(){if(PP)return Yh;PP=1;var e=I6();return Yh=function(){var t=0,r=[],n=[];return{get:function(i){var o=e.call(r,i[0]);return o===-1?null:n[o]},set:function(i){return r.push(i[0]),n.push(++t),t},delete:function(i){var o=e.call(n,i);o!==-1&&(r.splice(o,1),n.splice(o,1))},clear:function(){r=[],n=[]}}},Yh}var Xh,IP;function Ire(){if(IP)return Xh;IP=1;var e=I6(),t=Object.create;return Xh=function(r){var n=0,i=[[],[]],o=t(null);return{get:function(a){for(var l=0,s=i,u;l<r-1;){if(u=e.call(s[0],a[l]),u===-1)return null;s=s[1][u],++l}return u=e.call(s[0],a[l]),u===-1?null:s[1][u]||null},set:function(a){for(var l=0,s=i,u;l<r-1;)u=e.call(s[0],a[l]),u===-1&&(u=s[0].push(a[l])-1,s[1].push([[],[]])),s=s[1][u],++l;return u=e.call(s[0],a[l]),u===-1&&(u=s[0].push(a[l])-1),s[1][u]=++n,o[n]=a,n},delete:function(a){for(var l=0,s=i,u,c=[],f=o[a];l<r-1;){if(u=e.call(s[0],f[l]),u===-1)return;c.push(s,u),s=s[1][u],++l}if(u=e.call(s[0],f[l]),u!==-1){for(a=s[1][u],s[0].splice(u,1),s[1].splice(u,1);!s[0].length&&c.length;)u=c.pop(),s=c.pop(),s[0].splice(u,1),s[1].splice(u,1);delete o[a]}},clear:function(){i=[[],[]],o=t(null)}}},Xh}var TP={},Qh,AP;function xz(){if(AP)return Qh;AP=1;var e=qi,t=bv,r=Function.prototype.call;return Qh=function(n,i){var o={},a=arguments[2];return e(i),t(n,function(l,s,u,c){o[s]=r.call(i,a,l,s,u,c)}),o},Qh}var Jh,OP;function T6(){if(OP)return Jh;OP=1;var e=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r},t=function(r){var n=document.createTextNode(""),i,o,a=0;return new r(function(){var l;if(i)o&&(i=o.concat(i));else{if(!o)return;i=o}if(o=i,i=null,typeof o=="function"){l=o,o=null,l();return}for(n.data=a=++a%2;o;)l=o.shift(),o.length||(o=null),l()}).observe(n,{characterData:!0}),function(l){if(e(l),i){typeof i=="function"?i=[i,l]:i.push(l);return}i=l,n.data=a=++a%2}};return Jh=function(){if(typeof process=="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(r){queueMicrotask(e(r))};if(typeof document=="object"&&document){if(typeof MutationObserver=="function")return t(MutationObserver);if(typeof WebKitMutationObserver=="function")return t(WebKitMutationObserver)}return typeof setImmediate=="function"?function(r){setImmediate(e(r))}:typeof setTimeout=="function"||typeof setTimeout=="object"?function(r){setTimeout(e(r),0)}:null}(),Jh}var RP;function Tre(){if(RP)return TP;RP=1;var e=P6(),t=xz(),r=dz(),n=pz,i=T6(),o=Array.prototype.slice,a=Function.prototype.apply,l=Object.create;return Go.async=function(s,u){var c=l(null),f=l(null),d=u.memoized,p=u.original,m,b,v;u.memoized=n(function(h){var g=arguments,y=g[g.length-1];return typeof y=="function"&&(m=y,g=o.call(g,0,-1)),d.apply(b=this,v=g)},d);try{r(u.memoized,d)}catch{}u.on("get",function(h){var g,y,x;if(m){if(c[h]){typeof c[h]=="function"?c[h]=[c[h],m]:c[h].push(m),m=null;return}g=m,y=b,x=v,m=b=v=null,i(function(){var C;hasOwnProperty.call(f,h)?(C=f[h],u.emit("getasync",h,x,y),a.call(g,C.context,C.args)):(m=g,b=y,v=x,d.apply(y,x))})}}),u.original=function(){var h,g,y,x;return m?(h=e(arguments),g=function C(E){var P,S,I=C.id;if(I==null){i(a.bind(C,this,arguments));return}if(delete C.id,P=c[I],delete c[I],!!P)return S=e(arguments),u.has(I)&&(E?u.delete(I):(f[I]={context:this,args:S},u.emit("setasync",I,typeof P=="function"?1:P.length))),typeof P=="function"?x=a.call(P,this,S):P.forEach(function(_){x=a.call(_,this,S)},this),x},y=m,m=b=v=null,h.push(g),x=a.call(p,this,h),g.cb=y,m=g,x):a.call(p,this,arguments)},u.on("set",function(h){if(!m){u.delete(h);return}c[h]?typeof c[h]=="function"?c[h]=[c[h],m.cb]:c[h].push(m.cb):c[h]=m.cb,delete m.cb,m.id=h,m=null}),u.on("delete",function(h){var g;hasOwnProperty.call(c,h)||f[h]&&(g=f[h],delete f[h],u.emit("deleteasync",h,o.call(g.args,1)))}),u.on("clear",function(){var h=f;f=l(null),u.emit("clearasync",t(h,function(g){return o.call(g.args,1)}))})},TP}var _P={},Zh,kP;function Are(){if(kP)return Zh;kP=1;var e=Array.prototype.forEach,t=Object.create;return Zh=function(r){var n=t(null);return e.call(arguments,function(i){n[i]=!0}),n},Zh}var eg,DP;function wz(){return DP||(DP=1,eg=function(e){return typeof e=="function"}),eg}var tg,MP;function Ore(){if(MP)return tg;MP=1;var e=wz();return tg=function(t){try{return t&&e(t.toString)?t.toString():String(t)}catch{throw new TypeError("Passed argument cannot be stringifed")}},tg}var rg,NP;function Rre(){if(NP)return rg;NP=1;var e=Rl,t=Ore();return rg=function(r){return t(e(r))},rg}var ng,LP;function _re(){if(LP)return ng;LP=1;var e=wz();return ng=function(t){try{return t&&e(t.toString)?t.toString():String(t)}catch{return"<Non-coercible to string value>"}},ng}var ig,FP;function kre(){if(FP)return ig;FP=1;var e=_re(),t=/[\n\r\u2028\u2029]/g;return ig=function(r){var n=e(r);return n.length>100&&(n=n.slice(0,99)+"…"),n=n.replace(t,function(i){return JSON.stringify(i).slice(1,-1)}),n},ig}var fd={exports:{}},BP;function Sz(){if(BP)return fd.exports;BP=1,fd.exports=e,fd.exports.default=e;function e(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}return fd.exports}var zP;function Dre(){if(zP)return _P;zP=1;var e=xz(),t=Are(),r=Rre(),n=kre(),i=Sz(),o=T6(),a=Object.create,l=t("then","then:finally","done","done:finally");return Go.promise=function(s,u){var c=a(null),f=a(null),d=a(null);if(s===!0)s=null;else if(s=r(s),!l[s])throw new TypeError("'"+n(s)+"' is not valid promise mode");u.on("set",function(p,m,b){var v=!1;if(!i(b)){f[p]=b,u.emit("setasync",p,1);return}c[p]=1,d[p]=b;var h=function(C){var E=c[p];if(v)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)
801
+ Consider to rely on 'then' or 'done' mode instead.`);E&&(delete c[p],f[p]=C,u.emit("setasync",p,E))},g=function(){v=!0,c[p]&&(delete c[p],delete d[p],u.delete(p))},y=s;if(y||(y="then"),y==="then"){var x=function(){o(g)};b=b.then(function(C){o(h.bind(this,C))},x),typeof b.finally=="function"&&b.finally(x)}else if(y==="done"){if(typeof b.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");b.done(h,g)}else if(y==="done:finally"){if(typeof b.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof b.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");b.done(h),b.finally(g)}}),u.on("get",function(p,m,b){var v;if(c[p]){++c[p];return}v=d[p];var h=function(){u.emit("getasync",p,m,b)};i(v)?typeof v.done=="function"?v.done(h):v.then(function(){o(h)}):h()}),u.on("delete",function(p){if(delete d[p],c[p]){delete c[p];return}if(hasOwnProperty.call(f,p)){var m=f[p];delete f[p],u.emit("deleteasync",p,[m])}}),u.on("clear",function(){var p=f;f=a(null),c=a(null),d=a(null),u.emit("clearasync",e(p,function(m){return[m]}))})},_P}var jP={},UP;function Mre(){if(UP)return jP;UP=1;var e=qi,t=bv,r=Go,n=Function.prototype.apply;return r.dispose=function(i,o,a){var l;if(e(i),a.async&&r.async||a.promise&&r.promise){o.on("deleteasync",l=function(s,u){n.call(i,null,u)}),o.on("clearasync",function(s){t(s,function(u,c){l(c,u)})});return}o.on("delete",l=function(s,u){i(u)}),o.on("clear",function(s){t(s,function(u,c){l(c,u)})})},jP}var WP={},og,KP;function Nre(){return KP||(KP=1,og=2147483647),og}var ag,HP;function Lre(){if(HP)return ag;HP=1;var e=Vo,t=Nre();return ag=function(r){if(r=e(r),r>t)throw new TypeError(r+" exceeds maximum possible timeout");return r},ag}var VP;function Fre(){if(VP)return WP;VP=1;var e=P6(),t=bv,r=T6(),n=Sz(),i=Lre(),o=Go,a=Function.prototype,l=Math.max,s=Math.min,u=Object.create;return o.maxAge=function(c,f,d){var p,m,b,v;c=i(c),c&&(p=u(null),m=d.async&&o.async||d.promise&&o.promise?"async":"",f.on("set"+m,function(h){p[h]=setTimeout(function(){f.delete(h)},c),typeof p[h].unref=="function"&&p[h].unref(),v&&(v[h]&&v[h]!=="nextTick"&&clearTimeout(v[h]),v[h]=setTimeout(function(){delete v[h]},b),typeof v[h].unref=="function"&&v[h].unref())}),f.on("delete"+m,function(h){clearTimeout(p[h]),delete p[h],v&&(v[h]!=="nextTick"&&clearTimeout(v[h]),delete v[h])}),d.preFetch&&(d.preFetch===!0||isNaN(d.preFetch)?b=.333:b=l(s(Number(d.preFetch),1),0),b&&(v={},b=(1-b)*c,f.on("get"+m,function(h,g,y){v[h]||(v[h]="nextTick",r(function(){var x;v[h]==="nextTick"&&(delete v[h],f.delete(h),d.async&&(g=e(g),g.push(a)),x=f.memoized.apply(y,g),d.promise&&n(x)&&(typeof x.done=="function"?x.done(a,a):x.then(a,a)))}))}))),f.on("clear"+m,function(){t(p,function(h){clearTimeout(h)}),p={},v&&(t(v,function(h){h!=="nextTick"&&clearTimeout(h)}),v={})}))},WP}var GP={},lg,qP;function Bre(){if(qP)return lg;qP=1;var e=Vo,t=Object.create,r=Object.prototype.hasOwnProperty;return lg=function(n){var i=0,o=1,a=t(null),l=t(null),s=0,u;return n=e(n),{hit:function(c){var f=l[c],d=++s;if(a[d]=c,l[c]=d,!f)return++i,i<=n?void 0:(c=a[o],u(c),c);if(delete a[f],o===f)for(;!r.call(a,++o););},delete:u=function(c){var f=l[c];if(f&&(delete a[f],delete l[c],--i,o===f)){if(!i){s=0,o=1;return}for(;!r.call(a,++o););}},clear:function(){i=0,o=1,a=t(null),l=t(null),s=0}}},lg}var YP;function zre(){if(YP)return GP;YP=1;var e=Vo,t=Bre(),r=Go;return r.max=function(n,i,o){var a,l,s;n=e(n),n&&(l=t(n),a=o.async&&r.async||o.promise&&r.promise?"async":"",i.on("set"+a,s=function(u){u=l.hit(u),u!==void 0&&i.delete(u)}),i.on("get"+a,s),i.on("delete"+a,l.delete),i.on("clear"+a,l.clear))},GP}var XP={},QP;function jre(){if(QP)return XP;QP=1;var e=qo,t=Go,r=Object.create,n=Object.defineProperties;return t.refCounter=function(i,o,a){var l,s;l=r(null),s=a.async&&t.async||a.promise&&t.promise?"async":"",o.on("set"+s,function(u,c){l[u]=c||1}),o.on("get"+s,function(u){++l[u]}),o.on("delete"+s,function(u){delete l[u]}),o.on("clear"+s,function(){l={}}),n(o.memoized,{deleteRef:e(function(){var u=o.get(arguments);return u===null||!l[u]?null:--l[u]?!1:(o.delete(u),!0)}),getRefCount:e(function(){var u=o.get(arguments);return u===null||!l[u]?0:l[u]})})},XP}var Ure=lz,Wre=sz,Kre=yre,Hre=function(e){var t=Ure(arguments[1]),r;return t.normalizer||(r=t.length=Wre(t.length,e.length,t.async),r!==0&&(t.primitive?r===!1?t.normalizer=$re():r>1&&(t.normalizer=xre()(r)):r===!1?t.normalizer=Cre()():r===1?t.normalizer=Pre()():t.normalizer=Ire()(r))),t.async&&Tre(),t.promise&&Dre(),t.dispose&&Mre(),t.maxAge&&Fre(),t.max&&zre(),t.refCounter&&jre(),Kre(e,t)};const $ge=rr(Hre);var Ez={exports:{}};/*!
802
+ Copyright (c) 2018 Jed Watson.
803
+ Licensed under the MIT License (MIT), see
804
+ http://jedwatson.github.io/classnames
805
+ */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],i=0;i<arguments.length;i++){var o=arguments[i];if(o){var a=typeof o;if(a==="string"||a==="number")n.push(o);else if(Array.isArray(o)){if(o.length){var l=r.apply(null,o);l&&n.push(l)}}else if(a==="object"){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){n.push(o.toString());continue}for(var s in o)t.call(o,s)&&o[s]&&n.push(s)}}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Ez);var Vre=Ez.exports;const xge=rr(Vre);/**!
806
+ * @fileOverview Kickass library to create and place poppers near their reference elements.
807
+ * @version 1.16.1
808
+ * @license
809
+ * Copyright (c) 2016 Federico Zivolo and contributors
810
+ *
811
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
812
+ * of this software and associated documentation files (the "Software"), to deal
813
+ * in the Software without restriction, including without limitation the rights
814
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
815
+ * copies of the Software, and to permit persons to whom the Software is
816
+ * furnished to do so, subject to the following conditions:
817
+ *
818
+ * The above copyright notice and this permission notice shall be included in all
819
+ * copies or substantial portions of the Software.
820
+ *
821
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
822
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
823
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
824
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
825
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
826
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
827
+ * SOFTWARE.
828
+ */var Zu=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",Gre=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(Zu&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();function qre(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function Yre(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},Gre))}}var Xre=Zu&&window.Promise,Qre=Xre?qre:Yre;function Cz(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function Yo(e,t){if(e.nodeType!==1)return[];var r=e.ownerDocument.defaultView,n=r.getComputedStyle(e,null);return t?n[t]:n}function A6(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function ec(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Yo(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?e:ec(A6(e))}function Pz(e){return e&&e.referenceNode?e.referenceNode:e}var JP=Zu&&!!(window.MSInputMethodContext&&document.documentMode),ZP=Zu&&/MSIE 10/.test(navigator.userAgent);function _l(e){return e===11?JP:e===10?ZP:JP||ZP}function ul(e){if(!e)return document.documentElement;for(var t=_l(10)?document.body:null,r=e.offsetParent||null;r===t&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var n=r&&r.nodeName;return!n||n==="BODY"||n==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(r.nodeName)!==-1&&Yo(r,"position")==="static"?ul(r):r}function Jre(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||ul(e.firstElementChild)===e}function YS(e){return e.parentNode!==null?YS(e.parentNode):e}function Kf(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?e:t,i=r?t:e,o=document.createRange();o.setStart(n,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(e!==a&&t!==a||n.contains(i))return Jre(a)?a:ul(a);var l=YS(e);return l.host?Kf(l.host,t):Kf(e,YS(t).host)}function cl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",r=t==="top"?"scrollTop":"scrollLeft",n=e.nodeName;if(n==="BODY"||n==="HTML"){var i=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||i;return o[r]}return e[r]}function Zre(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=cl(t,"top"),i=cl(t,"left"),o=r?-1:1;return e.top+=n*o,e.bottom+=n*o,e.left+=i*o,e.right+=i*o,e}function eI(e,t){var r=t==="x"?"Left":"Top",n=r==="Left"?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+n+"Width"])}function tI(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],_l(10)?parseInt(r["offset"+e])+parseInt(n["margin"+(e==="Height"?"Top":"Left")])+parseInt(n["margin"+(e==="Height"?"Bottom":"Right")]):0)}function Iz(e){var t=e.body,r=e.documentElement,n=_l(10)&&getComputedStyle(r);return{height:tI("Height",t,r,n),width:tI("Width",t,r,n)}}var ene=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},tne=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),dl=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},kr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function ji(e){return kr({},e,{right:e.left+e.width,bottom:e.top+e.height})}function XS(e){var t={};try{if(_l(10)){t=e.getBoundingClientRect();var r=cl(e,"top"),n=cl(e,"left");t.top+=r,t.left+=n,t.bottom+=r,t.right+=n}else t=e.getBoundingClientRect()}catch{}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},o=e.nodeName==="HTML"?Iz(e.ownerDocument):{},a=o.width||e.clientWidth||i.width,l=o.height||e.clientHeight||i.height,s=e.offsetWidth-a,u=e.offsetHeight-l;if(s||u){var c=Yo(e);s-=eI(c,"x"),u-=eI(c,"y"),i.width-=s,i.height-=u}return ji(i)}function O6(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=_l(10),i=t.nodeName==="HTML",o=XS(e),a=XS(t),l=ec(e),s=Yo(t),u=parseFloat(s.borderTopWidth),c=parseFloat(s.borderLeftWidth);r&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var f=ji({top:o.top-a.top-u,left:o.left-a.left-c,width:o.width,height:o.height});if(f.marginTop=0,f.marginLeft=0,!n&&i){var d=parseFloat(s.marginTop),p=parseFloat(s.marginLeft);f.top-=u-d,f.bottom-=u-d,f.left-=c-p,f.right-=c-p,f.marginTop=d,f.marginLeft=p}return(n&&!r?t.contains(l):t===l&&l.nodeName!=="BODY")&&(f=Zre(f,t)),f}function rne(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=e.ownerDocument.documentElement,n=O6(e,r),i=Math.max(r.clientWidth,window.innerWidth||0),o=Math.max(r.clientHeight,window.innerHeight||0),a=t?0:cl(r),l=t?0:cl(r,"left"),s={top:a-n.top+n.marginTop,left:l-n.left+n.marginLeft,width:i,height:o};return ji(s)}function Tz(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(Yo(e,"position")==="fixed")return!0;var r=A6(e);return r?Tz(r):!1}function Az(e){if(!e||!e.parentElement||_l())return document.documentElement;for(var t=e.parentElement;t&&Yo(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function R6(e,t,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,o={top:0,left:0},a=i?Az(e):Kf(e,Pz(t));if(n==="viewport")o=rne(a,i);else{var l=void 0;n==="scrollParent"?(l=ec(A6(t)),l.nodeName==="BODY"&&(l=e.ownerDocument.documentElement)):n==="window"?l=e.ownerDocument.documentElement:l=n;var s=O6(l,a,i);if(l.nodeName==="HTML"&&!Tz(a)){var u=Iz(e.ownerDocument),c=u.height,f=u.width;o.top+=s.top-s.marginTop,o.bottom=c+s.top,o.left+=s.left-s.marginLeft,o.right=f+s.left}else o=s}r=r||0;var d=typeof r=="number";return o.left+=d?r:r.left||0,o.top+=d?r:r.top||0,o.right-=d?r:r.right||0,o.bottom-=d?r:r.bottom||0,o}function nne(e){var t=e.width,r=e.height;return t*r}function Oz(e,t,r,n,i){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var a=R6(r,n,o,i),l={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},s=Object.keys(l).map(function(d){return kr({key:d},l[d],{area:nne(l[d])})}).sort(function(d,p){return p.area-d.area}),u=s.filter(function(d){var p=d.width,m=d.height;return p>=r.clientWidth&&m>=r.clientHeight}),c=u.length>0?u[0].key:s[0].key,f=e.split("-")[1];return c+(f?"-"+f:"")}function Rz(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=n?Az(t):Kf(t,Pz(r));return O6(r,i,n)}function _z(e){var t=e.ownerDocument.defaultView,r=t.getComputedStyle(e),n=parseFloat(r.marginTop||0)+parseFloat(r.marginBottom||0),i=parseFloat(r.marginLeft||0)+parseFloat(r.marginRight||0),o={width:e.offsetWidth+i,height:e.offsetHeight+n};return o}function Hf(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(r){return t[r]})}function kz(e,t,r){r=r.split("-")[0];var n=_z(e),i={width:n.width,height:n.height},o=["right","left"].indexOf(r)!==-1,a=o?"top":"left",l=o?"left":"top",s=o?"height":"width",u=o?"width":"height";return i[a]=t[a]+t[s]/2-n[s]/2,r===l?i[l]=t[l]-n[u]:i[l]=t[Hf(l)],i}function tc(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function ine(e,t,r){if(Array.prototype.findIndex)return e.findIndex(function(i){return i[t]===r});var n=tc(e,function(i){return i[t]===r});return e.indexOf(n)}function Dz(e,t,r){var n=r===void 0?e:e.slice(0,ine(e,"name",r));return n.forEach(function(i){i.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var o=i.function||i.fn;i.enabled&&Cz(o)&&(t.offsets.popper=ji(t.offsets.popper),t.offsets.reference=ji(t.offsets.reference),t=o(t,i))}),t}function one(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=Rz(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=Oz(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=kz(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=Dz(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Mz(e,t){return e.some(function(r){var n=r.name,i=r.enabled;return i&&n===t})}function _6(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],o=i?""+i+r:e;if(typeof document.body.style[o]<"u")return o}return null}function ane(){return this.state.isDestroyed=!0,Mz(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[_6("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Nz(e){var t=e.ownerDocument;return t?t.defaultView:window}function Lz(e,t,r,n){var i=e.nodeName==="BODY",o=i?e.ownerDocument.defaultView:e;o.addEventListener(t,r,{passive:!0}),i||Lz(ec(o.parentNode),t,r,n),n.push(o)}function lne(e,t,r,n){r.updateBound=n,Nz(e).addEventListener("resize",r.updateBound,{passive:!0});var i=ec(e);return Lz(i,"scroll",r.updateBound,r.scrollParents),r.scrollElement=i,r.eventsEnabled=!0,r}function sne(){this.state.eventsEnabled||(this.state=lne(this.reference,this.options,this.state,this.scheduleUpdate))}function une(e,t){return Nz(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(r){r.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function cne(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=une(this.reference,this.state))}function k6(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)}function QS(e,t){Object.keys(t).forEach(function(r){var n="";["width","height","top","right","bottom","left"].indexOf(r)!==-1&&k6(t[r])&&(n="px"),e.style[r]=t[r]+n})}function dne(e,t){Object.keys(t).forEach(function(r){var n=t[r];n!==!1?e.setAttribute(r,t[r]):e.removeAttribute(r)})}function fne(e){return QS(e.instance.popper,e.styles),dne(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&QS(e.arrowElement,e.arrowStyles),e}function pne(e,t,r,n,i){var o=Rz(i,t,e,r.positionFixed),a=Oz(r.placement,o,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",a),QS(t,{position:r.positionFixed?"fixed":"absolute"}),r}function vne(e,t){var r=e.offsets,n=r.popper,i=r.reference,o=Math.round,a=Math.floor,l=function(h){return h},s=o(i.width),u=o(n.width),c=["left","right"].indexOf(e.placement)!==-1,f=e.placement.indexOf("-")!==-1,d=s%2===u%2,p=s%2===1&&u%2===1,m=t?c||f||d?o:a:l,b=t?o:l;return{left:m(p&&!f&&t?n.left-1:n.left),top:b(n.top),bottom:b(n.bottom),right:m(n.right)}}var mne=Zu&&/Firefox/i.test(navigator.userAgent);function hne(e,t){var r=t.x,n=t.y,i=e.offsets.popper,o=tc(e.instance.modifiers,function(y){return y.name==="applyStyle"}).gpuAcceleration;o!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=o!==void 0?o:t.gpuAcceleration,l=ul(e.instance.popper),s=XS(l),u={position:i.position},c=vne(e,window.devicePixelRatio<2||!mne),f=r==="bottom"?"top":"bottom",d=n==="right"?"left":"right",p=_6("transform"),m=void 0,b=void 0;if(f==="bottom"?l.nodeName==="HTML"?b=-l.clientHeight+c.bottom:b=-s.height+c.bottom:b=c.top,d==="right"?l.nodeName==="HTML"?m=-l.clientWidth+c.right:m=-s.width+c.right:m=c.left,a&&p)u[p]="translate3d("+m+"px, "+b+"px, 0)",u[f]=0,u[d]=0,u.willChange="transform";else{var v=f==="bottom"?-1:1,h=d==="right"?-1:1;u[f]=b*v,u[d]=m*h,u.willChange=f+", "+d}var g={"x-placement":e.placement};return e.attributes=kr({},g,e.attributes),e.styles=kr({},u,e.styles),e.arrowStyles=kr({},e.offsets.arrow,e.arrowStyles),e}function Fz(e,t,r){var n=tc(e,function(l){var s=l.name;return s===t}),i=!!n&&e.some(function(l){return l.name===r&&l.enabled&&l.order<n.order});if(!i){var o="`"+t+"`",a="`"+r+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}function gne(e,t){var r;if(!Fz(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if(typeof n=="string"){if(n=e.instance.popper.querySelector(n),!n)return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],o=e.offsets,a=o.popper,l=o.reference,s=["left","right"].indexOf(i)!==-1,u=s?"height":"width",c=s?"Top":"Left",f=c.toLowerCase(),d=s?"left":"top",p=s?"bottom":"right",m=_z(n)[u];l[p]-m<a[f]&&(e.offsets.popper[f]-=a[f]-(l[p]-m)),l[f]+m>a[p]&&(e.offsets.popper[f]+=l[f]+m-a[p]),e.offsets.popper=ji(e.offsets.popper);var b=l[f]+l[u]/2-m/2,v=Yo(e.instance.popper),h=parseFloat(v["margin"+c]),g=parseFloat(v["border"+c+"Width"]),y=b-e.offsets.popper[f]-h-g;return y=Math.max(Math.min(a[u]-m,y),0),e.arrowElement=n,e.offsets.arrow=(r={},dl(r,f,Math.round(y)),dl(r,d,""),r),e}function bne(e){return e==="end"?"start":e==="start"?"end":e}var Bz=["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"],sg=Bz.slice(3);function rI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=sg.indexOf(e),n=sg.slice(r+1).concat(sg.slice(0,r));return t?n.reverse():n}var ug={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function yne(e,t){if(Mz(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var r=R6(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],i=Hf(n),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case ug.FLIP:a=[n,i];break;case ug.CLOCKWISE:a=rI(n);break;case ug.COUNTERCLOCKWISE:a=rI(n,!0);break;default:a=t.behavior}return a.forEach(function(l,s){if(n!==l||a.length===s+1)return e;n=e.placement.split("-")[0],i=Hf(n);var u=e.offsets.popper,c=e.offsets.reference,f=Math.floor,d=n==="left"&&f(u.right)>f(c.left)||n==="right"&&f(u.left)<f(c.right)||n==="top"&&f(u.bottom)>f(c.top)||n==="bottom"&&f(u.top)<f(c.bottom),p=f(u.left)<f(r.left),m=f(u.right)>f(r.right),b=f(u.top)<f(r.top),v=f(u.bottom)>f(r.bottom),h=n==="left"&&p||n==="right"&&m||n==="top"&&b||n==="bottom"&&v,g=["top","bottom"].indexOf(n)!==-1,y=!!t.flipVariations&&(g&&o==="start"&&p||g&&o==="end"&&m||!g&&o==="start"&&b||!g&&o==="end"&&v),x=!!t.flipVariationsByContent&&(g&&o==="start"&&m||g&&o==="end"&&p||!g&&o==="start"&&v||!g&&o==="end"&&b),C=y||x;(d||h||C)&&(e.flipped=!0,(d||h)&&(n=a[s+1]),C&&(o=bne(o)),e.placement=n+(o?"-"+o:""),e.offsets.popper=kr({},e.offsets.popper,kz(e.instance.popper,e.offsets.reference,e.placement)),e=Dz(e.instance.modifiers,e,"flip"))}),e}function $ne(e){var t=e.offsets,r=t.popper,n=t.reference,i=e.placement.split("-")[0],o=Math.floor,a=["top","bottom"].indexOf(i)!==-1,l=a?"right":"bottom",s=a?"left":"top",u=a?"width":"height";return r[l]<o(n[s])&&(e.offsets.popper[s]=o(n[s])-r[u]),r[s]>o(n[l])&&(e.offsets.popper[s]=o(n[l])),e}function xne(e,t,r,n){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return e;if(a.indexOf("%")===0){var l=void 0;switch(a){case"%p":l=r;break;case"%":case"%r":default:l=n}var s=ji(l);return s[t]/100*o}else if(a==="vh"||a==="vw"){var u=void 0;return a==="vh"?u=Math.max(document.documentElement.clientHeight,window.innerHeight||0):u=Math.max(document.documentElement.clientWidth,window.innerWidth||0),u/100*o}else return o}function wne(e,t,r,n){var i=[0,0],o=["right","left"].indexOf(n)!==-1,a=e.split(/(\+|\-)/).map(function(c){return c.trim()}),l=a.indexOf(tc(a,function(c){return c.search(/,|\s/)!==-1}));a[l]&&a[l].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,u=l!==-1?[a.slice(0,l).concat([a[l].split(s)[0]]),[a[l].split(s)[1]].concat(a.slice(l+1))]:[a];return u=u.map(function(c,f){var d=(f===1?!o:o)?"height":"width",p=!1;return c.reduce(function(m,b){return m[m.length-1]===""&&["+","-"].indexOf(b)!==-1?(m[m.length-1]=b,p=!0,m):p?(m[m.length-1]+=b,p=!1,m):m.concat(b)},[]).map(function(m){return xne(m,d,t,r)})}),u.forEach(function(c,f){c.forEach(function(d,p){k6(d)&&(i[f]+=d*(c[p-1]==="-"?-1:1))})}),i}function Sne(e,t){var r=t.offset,n=e.placement,i=e.offsets,o=i.popper,a=i.reference,l=n.split("-")[0],s=void 0;return k6(+r)?s=[+r,0]:s=wne(r,o,a,l),l==="left"?(o.top+=s[0],o.left-=s[1]):l==="right"?(o.top+=s[0],o.left+=s[1]):l==="top"?(o.left+=s[0],o.top-=s[1]):l==="bottom"&&(o.left+=s[0],o.top+=s[1]),e.popper=o,e}function Ene(e,t){var r=t.boundariesElement||ul(e.instance.popper);e.instance.reference===r&&(r=ul(r));var n=_6("transform"),i=e.instance.popper.style,o=i.top,a=i.left,l=i[n];i.top="",i.left="",i[n]="";var s=R6(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);i.top=o,i.left=a,i[n]=l,t.boundaries=s;var u=t.priority,c=e.offsets.popper,f={primary:function(p){var m=c[p];return c[p]<s[p]&&!t.escapeWithReference&&(m=Math.max(c[p],s[p])),dl({},p,m)},secondary:function(p){var m=p==="right"?"left":"top",b=c[m];return c[p]>s[p]&&!t.escapeWithReference&&(b=Math.min(c[m],s[p]-(p==="right"?c.width:c.height))),dl({},m,b)}};return u.forEach(function(d){var p=["left","top"].indexOf(d)!==-1?"primary":"secondary";c=kr({},c,f[p](d))}),e.offsets.popper=c,e}function Cne(e){var t=e.placement,r=t.split("-")[0],n=t.split("-")[1];if(n){var i=e.offsets,o=i.reference,a=i.popper,l=["bottom","top"].indexOf(r)!==-1,s=l?"left":"top",u=l?"width":"height",c={start:dl({},s,o[s]),end:dl({},s,o[s]+o[u]-a[u])};e.offsets.popper=kr({},a,c[n])}return e}function Pne(e){if(!Fz(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=tc(e.instance.modifiers,function(n){return n.name==="preventOverflow"}).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(e.hide===!0)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(e.hide===!1)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}function Ine(e){var t=e.placement,r=t.split("-")[0],n=e.offsets,i=n.popper,o=n.reference,a=["left","right"].indexOf(r)!==-1,l=["top","left"].indexOf(r)===-1;return i[a?"left":"top"]=o[r]-(l?i[a?"width":"height"]:0),e.placement=Hf(t),e.offsets.popper=ji(i),e}var Tne={shift:{order:100,enabled:!0,fn:Cne},offset:{order:200,enabled:!0,fn:Sne,offset:0},preventOverflow:{order:300,enabled:!0,fn:Ene,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:$ne},arrow:{order:500,enabled:!0,fn:gne,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:yne,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:Ine},hide:{order:800,enabled:!0,fn:Pne},computeStyle:{order:850,enabled:!0,fn:hne,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:fne,onLoad:pne,gpuAcceleration:void 0}},Ane={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Tne},$v=function(){function e(t,r){var n=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ene(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=Qre(this.update.bind(this)),this.options=kr({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(kr({},e.Defaults.modifiers,i.modifiers)).forEach(function(a){n.options.modifiers[a]=kr({},e.Defaults.modifiers[a]||{},i.modifiers?i.modifiers[a]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(a){return kr({name:a},n.options.modifiers[a])}).sort(function(a,l){return a.order-l.order}),this.modifiers.forEach(function(a){a.enabled&&Cz(a.onLoad)&&a.onLoad(n.reference,n.popper,n.options,a,n.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return tne(e,[{key:"update",value:function(){return one.call(this)}},{key:"destroy",value:function(){return ane.call(this)}},{key:"enableEventListeners",value:function(){return sne.call(this)}},{key:"disableEventListeners",value:function(){return cne.call(this)}}]),e}();$v.Utils=(typeof window<"u"?window:global).PopperUtils;$v.placements=Bz;$v.Defaults=Ane;const wge=$v;function yu(e){return yu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yu(e)}function One(e,t){if(yu(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(yu(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Rne(e){var t=One(e,"string");return yu(t)==="symbol"?t:String(t)}function _ne(e,t,r){return t=Rne(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nI(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function iI(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?nI(Object(r),!0).forEach(function(n){_ne(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nI(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function At(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var oI=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),cg=function(){return Math.random().toString(36).substring(7).split("").join(".")},$u={INIT:"@@redux/INIT"+cg(),REPLACE:"@@redux/REPLACE"+cg(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+cg()}};function kne(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function xv(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(At(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(At(1));return r(xv)(e,t)}if(typeof e!="function")throw new Error(At(2));var i=e,o=t,a=[],l=a,s=!1;function u(){l===a&&(l=a.slice())}function c(){if(s)throw new Error(At(3));return o}function f(b){if(typeof b!="function")throw new Error(At(4));if(s)throw new Error(At(5));var v=!0;return u(),l.push(b),function(){if(v){if(s)throw new Error(At(6));v=!1,u();var g=l.indexOf(b);l.splice(g,1),a=null}}}function d(b){if(!kne(b))throw new Error(At(7));if(typeof b.type>"u")throw new Error(At(8));if(s)throw new Error(At(9));try{s=!0,o=i(o,b)}finally{s=!1}for(var v=a=l,h=0;h<v.length;h++){var g=v[h];g()}return b}function p(b){if(typeof b!="function")throw new Error(At(10));i=b,d({type:$u.REPLACE})}function m(){var b,v=f;return b={subscribe:function(g){if(typeof g!="object"||g===null)throw new Error(At(11));function y(){g.next&&g.next(c())}y();var x=v(y);return{unsubscribe:x}}},b[oI]=function(){return this},b}return d({type:$u.INIT}),n={dispatch:d,subscribe:f,getState:c,replaceReducer:p},n[oI]=m,n}var Dne=xv;function Mne(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:$u.INIT});if(typeof n>"u")throw new Error(At(12));if(typeof r(void 0,{type:$u.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(At(13))})}function Nne(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var o=Object.keys(r),a;try{Mne(r)}catch(l){a=l}return function(s,u){if(s===void 0&&(s={}),a)throw a;for(var c=!1,f={},d=0;d<o.length;d++){var p=o[d],m=r[p],b=s[p],v=m(b,u);if(typeof v>"u")throw u&&u.type,new Error(At(14));f[p]=v,c=c||v!==b}return c=c||o.length!==Object.keys(s).length,c?f:s}}function aI(e,t){return function(){return t(e.apply(this,arguments))}}function JS(e,t){if(typeof e=="function")return aI(e,t);if(typeof e!="object"||e===null)throw new Error(At(16));var r={};for(var n in e){var i=e[n];typeof i=="function"&&(r[n]=aI(i,t))}return r}function D6(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function zz(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),o=function(){throw new Error(At(15))},a={getState:i.getState,dispatch:function(){return o.apply(void 0,arguments)}},l=t.map(function(s){return s(a)});return o=D6.apply(void 0,l)(i.dispatch),iI(iI({},i),{},{dispatch:o})}}}const Sge=Object.freeze(Object.defineProperty({__proto__:null,__DO_NOT_USE__ActionTypes:$u,applyMiddleware:zz,bindActionCreators:JS,combineReducers:Nne,compose:D6,createStore:xv,legacy_createStore:Dne},Symbol.toStringTag,{value:"Module"}));var xn=w.createContext(null);function Lne(e){e()}var jz=Lne,Fne=function(t){return jz=t},Bne=function(){return jz};function zne(){var e=Bne(),t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e(function(){for(var i=t;i;)i.callback(),i=i.next})},get:function(){for(var i=[],o=t;o;)i.push(o),o=o.next;return i},subscribe:function(i){var o=!0,a=r={callback:i,next:null,prev:r};return a.prev?a.prev.next=a:t=a,function(){!o||t===null||(o=!1,a.next?a.next.prev=a.prev:r=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}var lI={notify:function(){},get:function(){return[]}};function M6(e,t){var r,n=lI;function i(f){return s(),n.subscribe(f)}function o(){n.notify()}function a(){c.onStateChange&&c.onStateChange()}function l(){return!!r}function s(){r||(r=t?t.addNestedSub(a):e.subscribe(a),n=zne())}function u(){r&&(r(),r=void 0,n.clear(),n=lI)}var c={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:l,trySubscribe:s,tryUnsubscribe:u,getListeners:function(){return n}};return c}var Vf=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?$.useLayoutEffect:$.useEffect;function Uz(e){var t=e.store,r=e.context,n=e.children,i=$.useMemo(function(){var l=M6(t);return l.onStateChange=l.notifyNestedSubs,{store:t,subscription:l}},[t]),o=$.useMemo(function(){return t.getState()},[t]);Vf(function(){var l=i.subscription;return l.trySubscribe(),o!==t.getState()&&l.notifyNestedSubs(),function(){l.tryUnsubscribe(),l.onStateChange=null}},[i,o]);var a=r||xn;return w.createElement(a.Provider,{value:i},n)}var Wz={exports:{}},ke={};/** @license React v16.13.1
829
+ * react-is.production.min.js
830
+ *
831
+ * Copyright (c) Facebook, Inc. and its affiliates.
832
+ *
833
+ * This source code is licensed under the MIT license found in the
834
+ * LICENSE file in the root directory of this source tree.
835
+ */var Pt=typeof Symbol=="function"&&Symbol.for,N6=Pt?Symbol.for("react.element"):60103,L6=Pt?Symbol.for("react.portal"):60106,wv=Pt?Symbol.for("react.fragment"):60107,Sv=Pt?Symbol.for("react.strict_mode"):60108,Ev=Pt?Symbol.for("react.profiler"):60114,Cv=Pt?Symbol.for("react.provider"):60109,Pv=Pt?Symbol.for("react.context"):60110,F6=Pt?Symbol.for("react.async_mode"):60111,Iv=Pt?Symbol.for("react.concurrent_mode"):60111,Tv=Pt?Symbol.for("react.forward_ref"):60112,Av=Pt?Symbol.for("react.suspense"):60113,jne=Pt?Symbol.for("react.suspense_list"):60120,Ov=Pt?Symbol.for("react.memo"):60115,Rv=Pt?Symbol.for("react.lazy"):60116,Une=Pt?Symbol.for("react.block"):60121,Wne=Pt?Symbol.for("react.fundamental"):60117,Kne=Pt?Symbol.for("react.responder"):60118,Hne=Pt?Symbol.for("react.scope"):60119;function xr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case N6:switch(e=e.type,e){case F6:case Iv:case wv:case Ev:case Sv:case Av:return e;default:switch(e=e&&e.$$typeof,e){case Pv:case Tv:case Rv:case Ov:case Cv:return e;default:return t}}case L6:return t}}}function Kz(e){return xr(e)===Iv}ke.AsyncMode=F6;ke.ConcurrentMode=Iv;ke.ContextConsumer=Pv;ke.ContextProvider=Cv;ke.Element=N6;ke.ForwardRef=Tv;ke.Fragment=wv;ke.Lazy=Rv;ke.Memo=Ov;ke.Portal=L6;ke.Profiler=Ev;ke.StrictMode=Sv;ke.Suspense=Av;ke.isAsyncMode=function(e){return Kz(e)||xr(e)===F6};ke.isConcurrentMode=Kz;ke.isContextConsumer=function(e){return xr(e)===Pv};ke.isContextProvider=function(e){return xr(e)===Cv};ke.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===N6};ke.isForwardRef=function(e){return xr(e)===Tv};ke.isFragment=function(e){return xr(e)===wv};ke.isLazy=function(e){return xr(e)===Rv};ke.isMemo=function(e){return xr(e)===Ov};ke.isPortal=function(e){return xr(e)===L6};ke.isProfiler=function(e){return xr(e)===Ev};ke.isStrictMode=function(e){return xr(e)===Sv};ke.isSuspense=function(e){return xr(e)===Av};ke.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===wv||e===Iv||e===Ev||e===Sv||e===Av||e===jne||typeof e=="object"&&e!==null&&(e.$$typeof===Rv||e.$$typeof===Ov||e.$$typeof===Cv||e.$$typeof===Pv||e.$$typeof===Tv||e.$$typeof===Wne||e.$$typeof===Kne||e.$$typeof===Hne||e.$$typeof===Une)};ke.typeOf=xr;Wz.exports=ke;var Vne=Wz.exports,B6=Vne,Gne={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},qne={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Yne={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Hz={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},z6={};z6[B6.ForwardRef]=Yne;z6[B6.Memo]=Hz;function sI(e){return B6.isMemo(e)?Hz:z6[e.$$typeof]||Gne}var Xne=Object.defineProperty,Qne=Object.getOwnPropertyNames,uI=Object.getOwnPropertySymbols,Jne=Object.getOwnPropertyDescriptor,Zne=Object.getPrototypeOf,cI=Object.prototype;function Vz(e,t,r){if(typeof t!="string"){if(cI){var n=Zne(t);n&&n!==cI&&Vz(e,n,r)}var i=Qne(t);uI&&(i=i.concat(uI(t)));for(var o=sI(e),a=sI(t),l=0;l<i.length;++l){var s=i[l];if(!qne[s]&&!(r&&r[s])&&!(a&&a[s])&&!(o&&o[s])){var u=Jne(t,s);try{Xne(e,s,u)}catch{}}}}return e}var eie=Vz;const dI=rr(eie);var Gz={exports:{}},Ne={};/** @license React v17.0.2
836
+ * react-is.production.min.js
837
+ *
838
+ * Copyright (c) Facebook, Inc. and its affiliates.
839
+ *
840
+ * This source code is licensed under the MIT license found in the
841
+ * LICENSE file in the root directory of this source tree.
842
+ */var _v=60103,kv=60106,rc=60107,nc=60108,ic=60114,oc=60109,ac=60110,lc=60112,sc=60113,j6=60120,uc=60115,cc=60116,qz=60121,Yz=60122,Xz=60117,Qz=60129,Jz=60131;if(typeof Symbol=="function"&&Symbol.for){var Tt=Symbol.for;_v=Tt("react.element"),kv=Tt("react.portal"),rc=Tt("react.fragment"),nc=Tt("react.strict_mode"),ic=Tt("react.profiler"),oc=Tt("react.provider"),ac=Tt("react.context"),lc=Tt("react.forward_ref"),sc=Tt("react.suspense"),j6=Tt("react.suspense_list"),uc=Tt("react.memo"),cc=Tt("react.lazy"),qz=Tt("react.block"),Yz=Tt("react.server.block"),Xz=Tt("react.fundamental"),Qz=Tt("react.debug_trace_mode"),Jz=Tt("react.legacy_hidden")}function an(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case _v:switch(e=e.type,e){case rc:case ic:case nc:case sc:case j6:return e;default:switch(e=e&&e.$$typeof,e){case ac:case lc:case cc:case uc:case oc:return e;default:return t}}case kv:return t}}}var tie=oc,rie=_v,nie=lc,iie=rc,oie=cc,aie=uc,lie=kv,sie=ic,uie=nc,cie=sc;Ne.ContextConsumer=ac;Ne.ContextProvider=tie;Ne.Element=rie;Ne.ForwardRef=nie;Ne.Fragment=iie;Ne.Lazy=oie;Ne.Memo=aie;Ne.Portal=lie;Ne.Profiler=sie;Ne.StrictMode=uie;Ne.Suspense=cie;Ne.isAsyncMode=function(){return!1};Ne.isConcurrentMode=function(){return!1};Ne.isContextConsumer=function(e){return an(e)===ac};Ne.isContextProvider=function(e){return an(e)===oc};Ne.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===_v};Ne.isForwardRef=function(e){return an(e)===lc};Ne.isFragment=function(e){return an(e)===rc};Ne.isLazy=function(e){return an(e)===cc};Ne.isMemo=function(e){return an(e)===uc};Ne.isPortal=function(e){return an(e)===kv};Ne.isProfiler=function(e){return an(e)===ic};Ne.isStrictMode=function(e){return an(e)===nc};Ne.isSuspense=function(e){return an(e)===sc};Ne.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===rc||e===ic||e===Qz||e===nc||e===sc||e===j6||e===Jz||typeof e=="object"&&e!==null&&(e.$$typeof===cc||e.$$typeof===uc||e.$$typeof===oc||e.$$typeof===ac||e.$$typeof===lc||e.$$typeof===Xz||e.$$typeof===qz||e[0]===Yz)};Ne.typeOf=an;Gz.exports=Ne;var die=Gz.exports,fie=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],pie=["reactReduxForwardedRef"],vie=[],mie=[null,null];function hie(e,t){var r=e[1];return[t.payload,r+1]}function fI(e,t,r){Vf(function(){return e.apply(void 0,t)},r)}function gie(e,t,r,n,i,o,a){e.current=n,t.current=i,r.current=!1,o.current&&(o.current=null,a())}function bie(e,t,r,n,i,o,a,l,s,u){if(e){var c=!1,f=null,d=function(){if(!c){var b=t.getState(),v,h;try{v=n(b,i.current)}catch(g){h=g,f=g}h||(f=null),v===o.current?a.current||s():(o.current=v,l.current=v,a.current=!0,u({type:"STORE_UPDATED",payload:{error:h}}))}};r.onStateChange=d,r.trySubscribe(),d();var p=function(){if(c=!0,r.tryUnsubscribe(),r.onStateChange=null,f)throw f};return p}}var yie=function(){return[null,0]};function Zz(e,t){t===void 0&&(t={});var r=t,n=r.getDisplayName,i=n===void 0?function(y){return"ConnectAdvanced("+y+")"}:n,o=r.methodName,a=o===void 0?"connectAdvanced":o,l=r.renderCountProp,s=l===void 0?void 0:l,u=r.shouldHandleStateChanges,c=u===void 0?!0:u,f=r.storeKey,d=f===void 0?"store":f;r.withRef;var p=r.forwardRef,m=p===void 0?!1:p,b=r.context,v=b===void 0?xn:b,h=al(r,fie),g=v;return function(x){var C=x.displayName||x.name||"Component",E=i(C),P=Q({},h,{getDisplayName:i,methodName:a,renderCountProp:s,shouldHandleStateChanges:c,storeKey:d,displayName:E,wrappedComponentName:C,WrappedComponent:x}),S=h.pure;function I(O){return e(O.dispatch,P)}var _=S?$.useMemo:function(O){return O()};function T(O){var U=$.useMemo(function(){var Pn=O.reactReduxForwardedRef,wr=al(O,pie);return[O.context,Pn,wr]},[O]),G=U[0],W=U[1],N=U[2],Y=$.useMemo(function(){return G&&G.Consumer&&die.isContextConsumer(w.createElement(G.Consumer,null))?G:g},[G,g]),oe=$.useContext(Y),M=!!O.store&&!!O.store.getState&&!!O.store.dispatch;oe&&oe.store;var L=M?O.store:oe.store,F=$.useMemo(function(){return I(L)},[L]),K=$.useMemo(function(){if(!c)return mie;var Pn=M6(L,M?null:oe.subscription),wr=Pn.notifyNestedSubs.bind(Pn);return[Pn,wr]},[L,M,oe]),re=K[0],ge=K[1],Ve=$.useMemo(function(){return M?oe:Q({},oe,{subscription:re})},[M,oe,re]),Ye=$.useReducer(hie,vie,yie),et=Ye[0],ve=et[0],Hr=Ye[1];if(ve&&ve.error)throw ve.error;var ae=$.useRef(),ye=$.useRef(N),Ee=$.useRef(),Cn=$.useRef(!1),ln=_(function(){return Ee.current&&N===ye.current?Ee.current:F(L.getState(),N)},[L,ve,N]);fI(gie,[ye,ae,Cn,N,ln,Ee,ge]),fI(bie,[c,L,re,F,ye,ae,Cn,Ee,ge,Hr],[L,re,F]);var Qo=$.useMemo(function(){return w.createElement(x,Q({},ln,{ref:W}))},[W,x,ln]),wc=$.useMemo(function(){return c?w.createElement(Y.Provider,{value:Ve},Qo):Qo},[Y,Qo,Ve]);return wc}var k=S?w.memo(T):T;if(k.WrappedComponent=x,k.displayName=T.displayName=E,m){var A=w.forwardRef(function(U,G){return w.createElement(k,Q({},U,{reactReduxForwardedRef:G}))});return A.displayName=E,A.WrappedComponent=x,dI(A,x)}return dI(k,x)}}function pI(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Kd(e,t){if(pI(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(t,r[i])||!pI(e[r[i]],t[r[i]]))return!1;return!0}function $ie(e,t){var r={},n=function(a){var l=e[a];typeof l=="function"&&(r[a]=function(){return t(l.apply(void 0,arguments))})};for(var i in e)n(i);return r}function U6(e){return function(r,n){var i=e(r,n);function o(){return i}return o.dependsOnOwnProps=!1,o}}function vI(e){return e.dependsOnOwnProps!==null&&e.dependsOnOwnProps!==void 0?!!e.dependsOnOwnProps:e.length!==1}function ej(e,t){return function(n,i){i.displayName;var o=function(l,s){return o.dependsOnOwnProps?o.mapToProps(l,s):o.mapToProps(l)};return o.dependsOnOwnProps=!0,o.mapToProps=function(l,s){o.mapToProps=e,o.dependsOnOwnProps=vI(e);var u=o(l,s);return typeof u=="function"&&(o.mapToProps=u,o.dependsOnOwnProps=vI(u),u=o(l,s)),u},o}}function xie(e){return typeof e=="function"?ej(e):void 0}function wie(e){return e?void 0:U6(function(t){return{dispatch:t}})}function Sie(e){return e&&typeof e=="object"?U6(function(t){return $ie(e,t)}):void 0}const Eie=[xie,wie,Sie];function Cie(e){return typeof e=="function"?ej(e):void 0}function Pie(e){return e?void 0:U6(function(){return{}})}const Iie=[Cie,Pie];function Tie(e,t,r){return Q({},r,e,t)}function Aie(e){return function(r,n){n.displayName;var i=n.pure,o=n.areMergedPropsEqual,a=!1,l;return function(u,c,f){var d=e(u,c,f);return a?(!i||!o(d,l))&&(l=d):(a=!0,l=d),l}}}function Oie(e){return typeof e=="function"?Aie(e):void 0}function Rie(e){return e?void 0:function(){return Tie}}const _ie=[Oie,Rie];var kie=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Die(e,t,r,n){return function(o,a){return r(e(o,a),t(n,a),a)}}function Mie(e,t,r,n,i){var o=i.areStatesEqual,a=i.areOwnPropsEqual,l=i.areStatePropsEqual,s=!1,u,c,f,d,p;function m(y,x){return u=y,c=x,f=e(u,c),d=t(n,c),p=r(f,d,c),s=!0,p}function b(){return f=e(u,c),t.dependsOnOwnProps&&(d=t(n,c)),p=r(f,d,c),p}function v(){return e.dependsOnOwnProps&&(f=e(u,c)),t.dependsOnOwnProps&&(d=t(n,c)),p=r(f,d,c),p}function h(){var y=e(u,c),x=!l(y,f);return f=y,x&&(p=r(f,d,c)),p}function g(y,x){var C=!a(x,c),E=!o(y,u);return u=y,c=x,C&&E?b():C?v():E?h():p}return function(x,C){return s?g(x,C):m(x,C)}}function Nie(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,i=t.initMergeProps,o=al(t,kie),a=r(e,o),l=n(e,o),s=i(e,o),u=o.pure?Mie:Die;return u(a,l,s,e,o)}var Lie=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function dg(e,t,r){for(var n=t.length-1;n>=0;n--){var i=t[n](e);if(i)return i}return function(o,a){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+a.wrappedComponentName+".")}}function Fie(e,t){return e===t}function Bie(e){var t=e===void 0?{}:e,r=t.connectHOC,n=r===void 0?Zz:r,i=t.mapStateToPropsFactories,o=i===void 0?Iie:i,a=t.mapDispatchToPropsFactories,l=a===void 0?Eie:a,s=t.mergePropsFactories,u=s===void 0?_ie:s,c=t.selectorFactory,f=c===void 0?Nie:c;return function(p,m,b,v){v===void 0&&(v={});var h=v,g=h.pure,y=g===void 0?!0:g,x=h.areStatesEqual,C=x===void 0?Fie:x,E=h.areOwnPropsEqual,P=E===void 0?Kd:E,S=h.areStatePropsEqual,I=S===void 0?Kd:S,_=h.areMergedPropsEqual,T=_===void 0?Kd:_,k=al(h,Lie),A=dg(p,o,"mapStateToProps"),O=dg(m,l,"mapDispatchToProps"),U=dg(b,u,"mergeProps");return n(f,Q({methodName:"connect",getDisplayName:function(W){return"Connect("+W+")"},shouldHandleStateChanges:!!p,initMapStateToProps:A,initMapDispatchToProps:O,initMergeProps:U,pure:y,areStatesEqual:C,areOwnPropsEqual:P,areStatePropsEqual:I,areMergedPropsEqual:T},k))}}const W6=Bie();function tj(){var e=$.useContext(xn);return e}function K6(e){e===void 0&&(e=xn);var t=e===xn?tj:function(){return $.useContext(e)};return function(){var n=t(),i=n.store;return i}}var rj=K6();function nj(e){e===void 0&&(e=xn);var t=e===xn?rj:K6(e);return function(){var n=t();return n.dispatch}}var zie=nj(),jie=function(t,r){return t===r};function Uie(e,t,r,n){var i=$.useReducer(function(m){return m+1},0),o=i[1],a=$.useMemo(function(){return M6(r,n)},[r,n]),l=$.useRef(),s=$.useRef(),u=$.useRef(),c=$.useRef(),f=r.getState(),d;try{if(e!==s.current||f!==u.current||l.current){var p=e(f);c.current===void 0||!t(p,c.current)?d=p:d=c.current}else d=c.current}catch(m){throw l.current&&(m.message+=`
843
+ The error may be correlated with this previous error:
844
+ `+l.current.stack+`
845
+
846
+ `),m}return Vf(function(){s.current=e,u.current=f,c.current=d,l.current=void 0}),Vf(function(){function m(){try{var b=r.getState();if(b===u.current)return;var v=s.current(b);if(t(v,c.current))return;c.current=v,u.current=b}catch(h){l.current=h}o()}return a.onStateChange=m,a.trySubscribe(),m(),function(){return a.tryUnsubscribe()}},[r,a]),d}function ij(e){e===void 0&&(e=xn);var t=e===xn?tj:function(){return $.useContext(e)};return function(n,i){i===void 0&&(i=jie);var o=t(),a=o.store,l=o.subscription,s=Uie(n,i,a,l);return $.useDebugValue(s),s}}var Wie=ij();Fne(pn.unstable_batchedUpdates);const Ege=Object.freeze(Object.defineProperty({__proto__:null,Provider:Uz,ReactReduxContext:xn,batch:pn.unstable_batchedUpdates,connect:W6,connectAdvanced:Zz,createDispatchHook:nj,createSelectorHook:ij,createStoreHook:K6,shallowEqual:Kd,useDispatch:zie,useSelector:Wie,useStore:rj},Symbol.toStringTag,{value:"Module"}));function Kie(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function oj(e,t){var r=$.useState(function(){return{inputs:t,result:e()}})[0],n=$.useRef(!0),i=$.useRef(r),o=n.current||!!(t&&i.current.inputs&&Kie(t,i.current.inputs)),a=o?i.current:{inputs:t,result:e()};return $.useEffect(function(){n.current=!1,i.current=a},[a]),a.result}function Hie(e,t){return oj(function(){return e},t)}var we=oj,Z=Hie,Vie=!0,fg="Invariant failed";function Gie(e,t){if(!e){if(Vie)throw new Error(fg);var r=typeof t=="function"?t():t,n=r?fg+": "+r:fg;throw new Error(n)}}var tn=function(t){var r=t.top,n=t.right,i=t.bottom,o=t.left,a=n-o,l=i-r,s={top:r,right:n,bottom:i,left:o,width:a,height:l,x:o,y:r,center:{x:(n+o)/2,y:(i+r)/2}};return s},H6=function(t,r){return{top:t.top-r.top,left:t.left-r.left,bottom:t.bottom+r.bottom,right:t.right+r.right}},mI=function(t,r){return{top:t.top+r.top,left:t.left+r.left,bottom:t.bottom-r.bottom,right:t.right-r.right}},qie=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},pg={top:0,right:0,bottom:0,left:0},V6=function(t){var r=t.borderBox,n=t.margin,i=n===void 0?pg:n,o=t.border,a=o===void 0?pg:o,l=t.padding,s=l===void 0?pg:l,u=tn(H6(r,i)),c=tn(mI(r,a)),f=tn(mI(c,s));return{marginBox:u,borderBox:tn(r),paddingBox:c,contentBox:f,margin:i,border:a,padding:s}},Pr=function(t){var r=t.slice(0,-2),n=t.slice(-2);if(n!=="px")return 0;var i=Number(r);return isNaN(i)&&Gie(!1),i},Yie=function(){return{x:window.pageXOffset,y:window.pageYOffset}},Gf=function(t,r){var n=t.borderBox,i=t.border,o=t.margin,a=t.padding,l=qie(n,r);return V6({borderBox:l,border:i,margin:o,padding:a})},qf=function(t,r){return r===void 0&&(r=Yie()),Gf(t,r)},aj=function(t,r){var n={top:Pr(r.marginTop),right:Pr(r.marginRight),bottom:Pr(r.marginBottom),left:Pr(r.marginLeft)},i={top:Pr(r.paddingTop),right:Pr(r.paddingRight),bottom:Pr(r.paddingBottom),left:Pr(r.paddingLeft)},o={top:Pr(r.borderTopWidth),right:Pr(r.borderRightWidth),bottom:Pr(r.borderBottomWidth),left:Pr(r.borderLeftWidth)};return V6({borderBox:t,margin:n,padding:i,border:o})},lj=function(t){var r=t.getBoundingClientRect(),n=window.getComputedStyle(t);return aj(r,n)},hI=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Xie(e,t){return!!(e===t||hI(e)&&hI(t))}function Qie(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!Xie(e[r],t[r]))return!1;return!0}function lt(e,t){t===void 0&&(t=Qie);var r,n=[],i,o=!1;function a(){for(var l=[],s=0;s<arguments.length;s++)l[s]=arguments[s];return o&&r===this&&t(l,n)||(i=e.apply(this,l),o=!0,r=this,n=l),i}return a}var Jie=function(t){var r=[],n=null,i=function(){for(var a=arguments.length,l=new Array(a),s=0;s<a;s++)l[s]=arguments[s];r=l,!n&&(n=requestAnimationFrame(function(){n=null,t.apply(void 0,r)}))};return i.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},i};const xu=Jie;function sj(e,t){}sj.bind(null,"warn");sj.bind(null,"error");function Ti(){}function Zie(e,t){return Q({},e,{},t)}function Dr(e,t,r){var n=t.map(function(i){var o=Zie(r,i.options);return e.addEventListener(i.eventName,i.fn,o),function(){e.removeEventListener(i.eventName,i.fn,o)}});return function(){n.forEach(function(o){o()})}}var eoe="Invariant failed";function Yf(e){this.message=e}Yf.prototype.toString=function(){return this.message};function j(e,t){if(!e)throw new Yf(eoe)}var toe=function(e){Gu(t,e);function t(){for(var n,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=e.call.apply(e,[this].concat(o))||this,n.callbacks=null,n.unbind=Ti,n.onWindowError=function(l){var s=n.getCallbacks();s.isDragging()&&s.tryAbort();var u=l.error;u instanceof Yf&&l.preventDefault()},n.getCallbacks=function(){if(!n.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return n.callbacks},n.setCallbacks=function(l){n.callbacks=l},n}var r=t.prototype;return r.componentDidMount=function(){this.unbind=Dr(window,[{eventName:"error",fn:this.onWindowError}])},r.componentDidCatch=function(i){if(i instanceof Yf){this.setState({});return}throw i},r.componentWillUnmount=function(){this.unbind()},r.render=function(){return this.props.children(this.setCallbacks)},t}(w.Component),roe=`
847
+ Press space bar to start a drag.
848
+ When dragging you can use the arrow keys to move the item around and escape to cancel.
849
+ Some screen readers may require you to be in focus mode or to use your pass through key
850
+ `,Xf=function(t){return t+1},noe=function(t){return`
851
+ You have lifted an item in position `+Xf(t.source.index)+`
852
+ `},uj=function(t,r){var n=t.droppableId===r.droppableId,i=Xf(t.index),o=Xf(r.index);return n?`
853
+ You have moved the item from position `+i+`
854
+ to position `+o+`
855
+ `:`
856
+ You have moved the item from position `+i+`
857
+ in list `+t.droppableId+`
858
+ to list `+r.droppableId+`
859
+ in position `+o+`
860
+ `},cj=function(t,r,n){var i=r.droppableId===n.droppableId;return i?`
861
+ The item `+t+`
862
+ has been combined with `+n.draggableId:`
863
+ The item `+t+`
864
+ in list `+r.droppableId+`
865
+ has been combined with `+n.draggableId+`
866
+ in list `+n.droppableId+`
867
+ `},ioe=function(t){var r=t.destination;if(r)return uj(t.source,r);var n=t.combine;return n?cj(t.draggableId,t.source,n):"You are over an area that cannot be dropped on"},gI=function(t){return`
868
+ The item has returned to its starting position
869
+ of `+Xf(t.index)+`
870
+ `},ooe=function(t){if(t.reason==="CANCEL")return`
871
+ Movement cancelled.
872
+ `+gI(t.source)+`
873
+ `;var r=t.destination,n=t.combine;return r?`
874
+ You have dropped the item.
875
+ `+uj(t.source,r)+`
876
+ `:n?`
877
+ You have dropped the item.
878
+ `+cj(t.draggableId,t.source,n)+`
879
+ `:`
880
+ The item has been dropped while not over a drop area.
881
+ `+gI(t.source)+`
882
+ `},Hd={dragHandleUsageInstructions:roe,onDragStart:noe,onDragUpdate:ioe,onDragEnd:ooe},St={x:0,y:0},kt=function(t,r){return{x:t.x+r.x,y:t.y+r.y}},dr=function(t,r){return{x:t.x-r.x,y:t.y-r.y}},Ai=function(t,r){return t.x===r.x&&t.y===r.y},kl=function(t){return{x:t.x!==0?-t.x:0,y:t.y!==0?-t.y:0}},Do=function(t,r,n){var i;return n===void 0&&(n=0),i={},i[t]=r,i[t==="x"?"y":"x"]=n,i},wu=function(t,r){return Math.sqrt(Math.pow(r.x-t.x,2)+Math.pow(r.y-t.y,2))},bI=function(t,r){return Math.min.apply(Math,r.map(function(n){return wu(t,n)}))},dj=function(t){return function(r){return{x:t(r.x),y:t(r.y)}}},aoe=function(e,t){var r=tn({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return r.width<=0||r.height<=0?null:r},dc=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},yI=function(t){return[{x:t.left,y:t.top},{x:t.right,y:t.top},{x:t.left,y:t.bottom},{x:t.right,y:t.bottom}]},loe={top:0,right:0,bottom:0,left:0},soe=function(t,r){return r?dc(t,r.scroll.diff.displacement):t},uoe=function(t,r,n){if(n&&n.increasedBy){var i;return Q({},t,(i={},i[r.end]=t[r.end]+n.increasedBy[r.line],i))}return t},coe=function(t,r){return r&&r.shouldClipSubject?aoe(r.pageMarginBox,t):tn(t)},fl=function(e){var t=e.page,r=e.withPlaceholder,n=e.axis,i=e.frame,o=soe(t.marginBox,i),a=uoe(o,n,r),l=coe(a,i);return{page:t,withPlaceholder:r,active:l}},G6=function(e,t){e.frame||j(!1);var r=e.frame,n=dr(t,r.scroll.initial),i=kl(n),o=Q({},r,{scroll:{initial:r.scroll.initial,current:t,diff:{value:n,displacement:i},max:r.scroll.max}}),a=fl({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o}),l=Q({},e,{frame:o,subject:a});return l};function Qf(e){return Object.values?Object.values(e):Object.keys(e).map(function(t){return e[t]})}function q6(e,t){if(e.findIndex)return e.findIndex(t);for(var r=0;r<e.length;r++)if(t(e[r]))return r;return-1}function Yi(e,t){if(e.find)return e.find(t);var r=q6(e,t);if(r!==-1)return e[r]}function fj(e){return Array.prototype.slice.call(e)}var pj=lt(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})}),vj=lt(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})}),Dv=lt(function(e){return Qf(e)}),doe=lt(function(e){return Qf(e)}),Dl=lt(function(e,t){var r=doe(t).filter(function(n){return e===n.descriptor.droppableId}).sort(function(n,i){return n.descriptor.index-i.descriptor.index});return r});function Y6(e){return e.at&&e.at.type==="REORDER"?e.at.destination:null}function Mv(e){return e.at&&e.at.type==="COMBINE"?e.at.combine:null}var Nv=lt(function(e,t){return t.filter(function(r){return r.descriptor.id!==e.descriptor.id})}),foe=function(e){var t=e.isMovingForward,r=e.draggable,n=e.destination,i=e.insideDestination,o=e.previousImpact;if(!n.isCombineEnabled)return null;var a=Y6(o);if(!a)return null;function l(b){var v={type:"COMBINE",combine:{draggableId:b,droppableId:n.descriptor.id}};return Q({},o,{at:v})}var s=o.displaced.all,u=s.length?s[0]:null;if(t)return u?l(u):null;var c=Nv(r,i);if(!u){if(!c.length)return null;var f=c[c.length-1];return l(f.descriptor.id)}var d=q6(c,function(b){return b.descriptor.id===u});d===-1&&j(!1);var p=d-1;if(p<0)return null;var m=c[p];return l(m.descriptor.id)},Ml=function(e,t){return e.descriptor.droppableId===t.descriptor.id},mj={point:St,value:0},Su={invisible:{},visible:{},all:[]},poe={displaced:Su,displacedBy:mj,at:null},Nr=function(e,t){return function(r){return e<=r&&r<=t}},hj=function(e){var t=Nr(e.top,e.bottom),r=Nr(e.left,e.right);return function(n){var i=t(n.top)&&t(n.bottom)&&r(n.left)&&r(n.right);if(i)return!0;var o=t(n.top)||t(n.bottom),a=r(n.left)||r(n.right),l=o&&a;if(l)return!0;var s=n.top<e.top&&n.bottom>e.bottom,u=n.left<e.left&&n.right>e.right,c=s&&u;if(c)return!0;var f=s&&a||u&&o;return f}},voe=function(e){var t=Nr(e.top,e.bottom),r=Nr(e.left,e.right);return function(n){var i=t(n.top)&&t(n.bottom)&&r(n.left)&&r(n.right);return i}},X6={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},gj={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},moe=function(e){return function(t){var r=Nr(t.top,t.bottom),n=Nr(t.left,t.right);return function(i){return e===X6?r(i.top)&&r(i.bottom):n(i.left)&&n(i.right)}}},hoe=function(t,r){var n=r.frame?r.frame.scroll.diff.displacement:St;return dc(t,n)},goe=function(t,r,n){return r.subject.active?n(r.subject.active)(t):!1},boe=function(t,r,n){return n(r)(t)},Q6=function(t){var r=t.target,n=t.destination,i=t.viewport,o=t.withDroppableDisplacement,a=t.isVisibleThroughFrameFn,l=o?hoe(r,n):r;return goe(l,n,a)&&boe(l,i,a)},yoe=function(t){return Q6(Q({},t,{isVisibleThroughFrameFn:hj}))},bj=function(t){return Q6(Q({},t,{isVisibleThroughFrameFn:voe}))},$oe=function(t){return Q6(Q({},t,{isVisibleThroughFrameFn:moe(t.destination.axis)}))},xoe=function(t,r,n){if(typeof n=="boolean")return n;if(!r)return!0;var i=r.invisible,o=r.visible;if(i[t])return!1;var a=o[t];return a?a.shouldAnimate:!0};function woe(e,t){var r=e.page.marginBox,n={top:t.point.y,right:0,bottom:0,left:t.point.x};return tn(H6(r,n))}function Eu(e){var t=e.afterDragging,r=e.destination,n=e.displacedBy,i=e.viewport,o=e.forceShouldAnimate,a=e.last;return t.reduce(function(s,u){var c=woe(u,n),f=u.descriptor.id;s.all.push(f);var d=yoe({target:c,destination:r,viewport:i,withDroppableDisplacement:!0});if(!d)return s.invisible[u.descriptor.id]=!0,s;var p=xoe(f,a,o),m={draggableId:f,shouldAnimate:p};return s.visible[f]=m,s},{all:[],visible:{},invisible:{}})}function Soe(e,t){if(!e.length)return 0;var r=e[e.length-1].descriptor.index;return t.inHomeList?r:r+1}function $I(e){var t=e.insideDestination,r=e.inHomeList,n=e.displacedBy,i=e.destination,o=Soe(t,{inHomeList:r});return{displaced:Su,displacedBy:n,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:o}}}}function Jf(e){var t=e.draggable,r=e.insideDestination,n=e.destination,i=e.viewport,o=e.displacedBy,a=e.last,l=e.index,s=e.forceShouldAnimate,u=Ml(t,n);if(l==null)return $I({insideDestination:r,inHomeList:u,displacedBy:o,destination:n});var c=Yi(r,function(b){return b.descriptor.index===l});if(!c)return $I({insideDestination:r,inHomeList:u,displacedBy:o,destination:n});var f=Nv(t,r),d=r.indexOf(c),p=f.slice(d),m=Eu({afterDragging:p,destination:n,displacedBy:o,last:a,viewport:i.frame,forceShouldAnimate:s});return{displaced:m,displacedBy:o,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:l}}}}function Ui(e,t){return!!t.effected[e]}var Eoe=function(e){var t=e.isMovingForward,r=e.destination,n=e.draggables,i=e.combine,o=e.afterCritical;if(!r.isCombineEnabled)return null;var a=i.draggableId,l=n[a],s=l.descriptor.index,u=Ui(a,o);return u?t?s:s-1:t?s+1:s},Coe=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.insideDestination,i=e.location;if(!n.length)return null;var o=i.index,a=t?o+1:o-1,l=n[0].descriptor.index,s=n[n.length-1].descriptor.index,u=r?s:s+1;return a<l||a>u?null:a},Poe=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.draggable,i=e.draggables,o=e.destination,a=e.insideDestination,l=e.previousImpact,s=e.viewport,u=e.afterCritical,c=l.at;if(c||j(!1),c.type==="REORDER"){var f=Coe({isMovingForward:t,isInHomeList:r,location:c.destination,insideDestination:a});return f==null?null:Jf({draggable:n,insideDestination:a,destination:o,viewport:s,last:l.displaced,displacedBy:l.displacedBy,index:f})}var d=Eoe({isMovingForward:t,destination:o,displaced:l.displaced,draggables:i,combine:c.combine,afterCritical:u});return d==null?null:Jf({draggable:n,insideDestination:a,destination:o,viewport:s,last:l.displaced,displacedBy:l.displacedBy,index:d})},Ioe=function(e){var t=e.displaced,r=e.afterCritical,n=e.combineWith,i=e.displacedBy,o=!!(t.visible[n]||t.invisible[n]);return Ui(n,r)?o?St:kl(i.point):o?i.point:St},Toe=function(e){var t=e.afterCritical,r=e.impact,n=e.draggables,i=Mv(r);i||j(!1);var o=i.draggableId,a=n[o].page.borderBox.center,l=Ioe({displaced:r.displaced,afterCritical:t,combineWith:o,displacedBy:r.displacedBy});return kt(a,l)},yj=function(t,r){return r.margin[t.start]+r.borderBox[t.size]/2},Aoe=function(t,r){return r.margin[t.end]+r.borderBox[t.size]/2},J6=function(t,r,n){return r[t.crossAxisStart]+n.margin[t.crossAxisStart]+n.borderBox[t.crossAxisSize]/2},xI=function(t){var r=t.axis,n=t.moveRelativeTo,i=t.isMoving;return Do(r.line,n.marginBox[r.end]+yj(r,i),J6(r,n.marginBox,i))},wI=function(t){var r=t.axis,n=t.moveRelativeTo,i=t.isMoving;return Do(r.line,n.marginBox[r.start]-Aoe(r,i),J6(r,n.marginBox,i))},Ooe=function(t){var r=t.axis,n=t.moveInto,i=t.isMoving;return Do(r.line,n.contentBox[r.start]+yj(r,i),J6(r,n.contentBox,i))},Roe=function(e){var t=e.impact,r=e.draggable,n=e.draggables,i=e.droppable,o=e.afterCritical,a=Dl(i.descriptor.id,n),l=r.page,s=i.axis;if(!a.length)return Ooe({axis:s,moveInto:i.page,isMoving:l});var u=t.displaced,c=t.displacedBy,f=u.all[0];if(f){var d=n[f];if(Ui(f,o))return wI({axis:s,moveRelativeTo:d.page,isMoving:l});var p=Gf(d.page,c.point);return wI({axis:s,moveRelativeTo:p,isMoving:l})}var m=a[a.length-1];if(m.descriptor.id===r.descriptor.id)return l.borderBox.center;if(Ui(m.descriptor.id,o)){var b=Gf(m.page,kl(o.displacedBy.point));return xI({axis:s,moveRelativeTo:b,isMoving:l})}return xI({axis:s,moveRelativeTo:m.page,isMoving:l})},ZS=function(e,t){var r=e.frame;return r?kt(t,r.scroll.diff.displacement):t},_oe=function(t){var r=t.impact,n=t.draggable,i=t.droppable,o=t.draggables,a=t.afterCritical,l=n.page.borderBox.center,s=r.at;return!i||!s?l:s.type==="REORDER"?Roe({impact:r,draggable:n,draggables:o,droppable:i,afterCritical:a}):Toe({impact:r,draggables:o,afterCritical:a})},Lv=function(e){var t=_oe(e),r=e.droppable,n=r?ZS(r,t):t;return n},$j=function(e,t){var r=dr(t,e.scroll.initial),n=kl(r),i=tn({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),o={frame:i,scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:r,displacement:n}}};return o};function SI(e,t){return e.map(function(r){return t[r]})}function koe(e,t){for(var r=0;r<t.length;r++){var n=t[r].visible[e];if(n)return n}return null}var Doe=function(e){var t=e.impact,r=e.viewport,n=e.destination,i=e.draggables,o=e.maxScrollChange,a=$j(r,kt(r.scroll.current,o)),l=n.frame?G6(n,kt(n.frame.scroll.current,o)):n,s=t.displaced,u=Eu({afterDragging:SI(s.all,i),destination:n,displacedBy:t.displacedBy,viewport:a.frame,last:s,forceShouldAnimate:!1}),c=Eu({afterDragging:SI(s.all,i),destination:l,displacedBy:t.displacedBy,viewport:r.frame,last:s,forceShouldAnimate:!1}),f={},d={},p=[s,u,c];s.all.forEach(function(b){var v=koe(b,p);if(v){d[b]=v;return}f[b]=!0});var m=Q({},t,{displaced:{all:s.all,invisible:f,visible:d}});return m},Moe=function(e,t){return kt(e.scroll.diff.displacement,t)},Z6=function(e){var t=e.pageBorderBoxCenter,r=e.draggable,n=e.viewport,i=Moe(n,t),o=dr(i,r.page.borderBox.center);return kt(r.client.borderBox.center,o)},xj=function(e){var t=e.draggable,r=e.destination,n=e.newPageBorderBoxCenter,i=e.viewport,o=e.withDroppableDisplacement,a=e.onlyOnMainAxis,l=a===void 0?!1:a,s=dr(n,t.page.borderBox.center),u=dc(t.page.borderBox,s),c={target:u,destination:r,withDroppableDisplacement:o,viewport:i};return l?$oe(c):bj(c)},Noe=function(e){var t=e.isMovingForward,r=e.draggable,n=e.destination,i=e.draggables,o=e.previousImpact,a=e.viewport,l=e.previousPageBorderBoxCenter,s=e.previousClientSelection,u=e.afterCritical;if(!n.isEnabled)return null;var c=Dl(n.descriptor.id,i),f=Ml(r,n),d=foe({isMovingForward:t,draggable:r,destination:n,insideDestination:c,previousImpact:o})||Poe({isMovingForward:t,isInHomeList:f,draggable:r,draggables:i,destination:n,insideDestination:c,previousImpact:o,viewport:a,afterCritical:u});if(!d)return null;var p=Lv({impact:d,draggable:r,droppable:n,draggables:i,afterCritical:u}),m=xj({draggable:r,destination:n,newPageBorderBoxCenter:p,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(m){var b=Z6({pageBorderBoxCenter:p,draggable:r,viewport:a});return{clientSelection:b,impact:d,scrollJumpRequest:null}}var v=dr(p,l),h=Doe({impact:d,viewport:a,destination:n,draggables:i,maxScrollChange:v});return{clientSelection:s,impact:h,scrollJumpRequest:v}},Ut=function(t){var r=t.subject.active;return r||j(!1),r},Loe=function(e){var t=e.isMovingForward,r=e.pageBorderBoxCenter,n=e.source,i=e.droppables,o=e.viewport,a=n.subject.active;if(!a)return null;var l=n.axis,s=Nr(a[l.start],a[l.end]),u=Dv(i).filter(function(f){return f!==n}).filter(function(f){return f.isEnabled}).filter(function(f){return!!f.subject.active}).filter(function(f){return hj(o.frame)(Ut(f))}).filter(function(f){var d=Ut(f);return t?a[l.crossAxisEnd]<d[l.crossAxisEnd]:d[l.crossAxisStart]<a[l.crossAxisStart]}).filter(function(f){var d=Ut(f),p=Nr(d[l.start],d[l.end]);return s(d[l.start])||s(d[l.end])||p(a[l.start])||p(a[l.end])}).sort(function(f,d){var p=Ut(f)[l.crossAxisStart],m=Ut(d)[l.crossAxisStart];return t?p-m:m-p}).filter(function(f,d,p){return Ut(f)[l.crossAxisStart]===Ut(p[0])[l.crossAxisStart]});if(!u.length)return null;if(u.length===1)return u[0];var c=u.filter(function(f){var d=Nr(Ut(f)[l.start],Ut(f)[l.end]);return d(r[l.line])});return c.length===1?c[0]:c.length>1?c.sort(function(f,d){return Ut(f)[l.start]-Ut(d)[l.start]})[0]:u.sort(function(f,d){var p=bI(r,yI(Ut(f))),m=bI(r,yI(Ut(d)));return p!==m?p-m:Ut(f)[l.start]-Ut(d)[l.start]})[0]},EI=function(t,r){var n=t.page.borderBox.center;return Ui(t.descriptor.id,r)?dr(n,r.displacedBy.point):n},Foe=function(t,r){var n=t.page.borderBox;return Ui(t.descriptor.id,r)?dc(n,kl(r.displacedBy.point)):n},Boe=function(e){var t=e.pageBorderBoxCenter,r=e.viewport,n=e.destination,i=e.insideDestination,o=e.afterCritical,a=i.filter(function(l){return bj({target:Foe(l,o),destination:n,viewport:r.frame,withDroppableDisplacement:!0})}).sort(function(l,s){var u=wu(t,ZS(n,EI(l,o))),c=wu(t,ZS(n,EI(s,o)));return u<c?-1:c<u?1:l.descriptor.index-s.descriptor.index});return a[0]||null},fc=lt(function(t,r){var n=r[t.line];return{value:n,point:Do(t.line,n)}}),zoe=function(t,r,n){var i=t.axis;if(t.descriptor.mode==="virtual")return Do(i.line,r[i.line]);var o=t.subject.page.contentBox[i.size],a=Dl(t.descriptor.id,n),l=a.reduce(function(c,f){return c+f.client.marginBox[i.size]},0),s=l+r[i.line],u=s-o;return u<=0?null:Do(i.line,u)},wj=function(t,r){return Q({},t,{scroll:Q({},t.scroll,{max:r})})},Sj=function(t,r,n){var i=t.frame;Ml(r,t)&&j(!1),t.subject.withPlaceholder&&j(!1);var o=fc(t.axis,r.displaceBy).point,a=zoe(t,o,n),l={placeholderSize:o,increasedBy:a,oldFrameMaxScroll:t.frame?t.frame.scroll.max:null};if(!i){var s=fl({page:t.subject.page,withPlaceholder:l,axis:t.axis,frame:t.frame});return Q({},t,{subject:s})}var u=a?kt(i.scroll.max,a):i.scroll.max,c=wj(i,u),f=fl({page:t.subject.page,withPlaceholder:l,axis:t.axis,frame:c});return Q({},t,{subject:f,frame:c})},joe=function(t){var r=t.subject.withPlaceholder;r||j(!1);var n=t.frame;if(!n){var i=fl({page:t.subject.page,axis:t.axis,frame:null,withPlaceholder:null});return Q({},t,{subject:i})}var o=r.oldFrameMaxScroll;o||j(!1);var a=wj(n,o),l=fl({page:t.subject.page,axis:t.axis,frame:a,withPlaceholder:null});return Q({},t,{subject:l,frame:a})},Uoe=function(e){var t=e.previousPageBorderBoxCenter,r=e.moveRelativeTo,n=e.insideDestination,i=e.draggable,o=e.draggables,a=e.destination,l=e.viewport,s=e.afterCritical;if(!r){if(n.length)return null;var u={displaced:Su,displacedBy:mj,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},c=Lv({impact:u,draggable:i,droppable:a,draggables:o,afterCritical:s}),f=Ml(i,a)?a:Sj(a,i,o),d=xj({draggable:i,destination:f,newPageBorderBoxCenter:c,viewport:l.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return d?u:null}var p=t[a.axis.line]<=r.page.borderBox.center[a.axis.line],m=function(){var v=r.descriptor.index;return r.descriptor.id===i.descriptor.id||p?v:v+1}(),b=fc(a.axis,i.displaceBy);return Jf({draggable:i,insideDestination:n,destination:a,viewport:l,displacedBy:b,last:Su,index:m})},Woe=function(e){var t=e.isMovingForward,r=e.previousPageBorderBoxCenter,n=e.draggable,i=e.isOver,o=e.draggables,a=e.droppables,l=e.viewport,s=e.afterCritical,u=Loe({isMovingForward:t,pageBorderBoxCenter:r,source:i,droppables:a,viewport:l});if(!u)return null;var c=Dl(u.descriptor.id,o),f=Boe({pageBorderBoxCenter:r,viewport:l,destination:u,insideDestination:c,afterCritical:s}),d=Uoe({previousPageBorderBoxCenter:r,destination:u,draggable:n,draggables:o,moveRelativeTo:f,insideDestination:c,viewport:l,afterCritical:s});if(!d)return null;var p=Lv({impact:d,draggable:n,droppable:u,draggables:o,afterCritical:s}),m=Z6({pageBorderBoxCenter:p,draggable:n,viewport:l});return{clientSelection:m,impact:d,scrollJumpRequest:null}},pr=function(e){var t=e.at;return t?t.type==="REORDER"?t.destination.droppableId:t.combine.droppableId:null},Koe=function(t,r){var n=pr(t);return n?r[n]:null},Hoe=function(e){var t=e.state,r=e.type,n=Koe(t.impact,t.dimensions.droppables),i=!!n,o=t.dimensions.droppables[t.critical.droppable.id],a=n||o,l=a.axis.direction,s=l==="vertical"&&(r==="MOVE_UP"||r==="MOVE_DOWN")||l==="horizontal"&&(r==="MOVE_LEFT"||r==="MOVE_RIGHT");if(s&&!i)return null;var u=r==="MOVE_DOWN"||r==="MOVE_RIGHT",c=t.dimensions.draggables[t.critical.draggable.id],f=t.current.page.borderBoxCenter,d=t.dimensions,p=d.draggables,m=d.droppables;return s?Noe({isMovingForward:u,previousPageBorderBoxCenter:f,draggable:c,destination:a,draggables:p,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):Woe({isMovingForward:u,previousPageBorderBoxCenter:f,draggable:c,isOver:a,draggables:p,droppables:m,viewport:t.viewport,afterCritical:t.afterCritical})};function ao(e){return e.phase==="DRAGGING"||e.phase==="COLLECTING"}function Ej(e){var t=Nr(e.top,e.bottom),r=Nr(e.left,e.right);return function(i){return t(i.y)&&r(i.x)}}function Voe(e,t){return e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top}function Goe(e){var t=e.pageBorderBox,r=e.draggable,n=e.candidates,i=r.page.borderBox.center,o=n.map(function(a){var l=a.axis,s=Do(a.axis.line,t.center[l.line],a.page.borderBox.center[l.crossAxisLine]);return{id:a.descriptor.id,distance:wu(i,s)}}).sort(function(a,l){return l.distance-a.distance});return o[0]?o[0].id:null}function qoe(e){var t=e.pageBorderBox,r=e.draggable,n=e.droppables,i=Dv(n).filter(function(o){if(!o.isEnabled)return!1;var a=o.subject.active;if(!a||!Voe(t,a))return!1;if(Ej(a)(t.center))return!0;var l=o.axis,s=a.center[l.crossAxisLine],u=t[l.crossAxisStart],c=t[l.crossAxisEnd],f=Nr(a[l.crossAxisStart],a[l.crossAxisEnd]),d=f(u),p=f(c);return!d&&!p?!0:d?u<s:c>s});return i.length?i.length===1?i[0].descriptor.id:Goe({pageBorderBox:t,draggable:r,candidates:i}):null}var Cj=function(t,r){return tn(dc(t,r))},Yoe=function(e,t){var r=e.frame;return r?Cj(t,r.scroll.diff.value):t};function Pj(e){var t=e.displaced,r=e.id;return!!(t.visible[r]||t.invisible[r])}function Xoe(e){var t=e.draggable,r=e.closest,n=e.inHomeList;return r?n&&r.descriptor.index>t.descriptor.index?r.descriptor.index-1:r.descriptor.index:null}var Qoe=function(e){var t=e.pageBorderBoxWithDroppableScroll,r=e.draggable,n=e.destination,i=e.insideDestination,o=e.last,a=e.viewport,l=e.afterCritical,s=n.axis,u=fc(n.axis,r.displaceBy),c=u.value,f=t[s.start],d=t[s.end],p=Nv(r,i),m=Yi(p,function(v){var h=v.descriptor.id,g=v.page.borderBox.center[s.line],y=Ui(h,l),x=Pj({displaced:o,id:h});return y?x?d<=g:f<g-c:x?d<=g+c:f<g}),b=Xoe({draggable:r,closest:m,inHomeList:Ml(r,n)});return Jf({draggable:r,insideDestination:i,destination:n,viewport:a,last:o,displacedBy:u,index:b})},Joe=4,Zoe=function(e){var t=e.draggable,r=e.pageBorderBoxWithDroppableScroll,n=e.previousImpact,i=e.destination,o=e.insideDestination,a=e.afterCritical;if(!i.isCombineEnabled)return null;var l=i.axis,s=fc(i.axis,t.displaceBy),u=s.value,c=r[l.start],f=r[l.end],d=Nv(t,o),p=Yi(d,function(b){var v=b.descriptor.id,h=b.page.borderBox,g=h[l.size],y=g/Joe,x=Ui(v,a),C=Pj({displaced:n.displaced,id:v});return x?C?f>h[l.start]+y&&f<h[l.end]-y:c>h[l.start]-u+y&&c<h[l.end]-u-y:C?f>h[l.start]+u+y&&f<h[l.end]+u-y:c>h[l.start]+y&&c<h[l.end]-y});if(!p)return null;var m={displacedBy:s,displaced:n.displaced,at:{type:"COMBINE",combine:{draggableId:p.descriptor.id,droppableId:i.descriptor.id}}};return m},Ij=function(e){var t=e.pageOffset,r=e.draggable,n=e.draggables,i=e.droppables,o=e.previousImpact,a=e.viewport,l=e.afterCritical,s=Cj(r.page.borderBox,t),u=qoe({pageBorderBox:s,draggable:r,droppables:i});if(!u)return poe;var c=i[u],f=Dl(c.descriptor.id,n),d=Yoe(c,s);return Zoe({pageBorderBoxWithDroppableScroll:d,draggable:r,previousImpact:o,destination:c,insideDestination:f,afterCritical:l})||Qoe({pageBorderBoxWithDroppableScroll:d,draggable:r,destination:c,insideDestination:f,last:o.displaced,viewport:a,afterCritical:l})},eE=function(e,t){var r;return Q({},e,(r={},r[t.descriptor.id]=t,r))},eae=function(t){var r=t.previousImpact,n=t.impact,i=t.droppables,o=pr(r),a=pr(n);if(!o||o===a)return i;var l=i[o];if(!l.subject.withPlaceholder)return i;var s=joe(l);return eE(i,s)},tae=function(e){var t=e.draggable,r=e.draggables,n=e.droppables,i=e.previousImpact,o=e.impact,a=eae({previousImpact:i,impact:o,droppables:n}),l=pr(o);if(!l)return a;var s=n[l];if(Ml(t,s)||s.subject.withPlaceholder)return a;var u=Sj(s,t,r);return eE(a,u)},zs=function(e){var t=e.state,r=e.clientSelection,n=e.dimensions,i=e.viewport,o=e.impact,a=e.scrollJumpRequest,l=i||t.viewport,s=n||t.dimensions,u=r||t.current.client.selection,c=dr(u,t.initial.client.selection),f={offset:c,selection:u,borderBoxCenter:kt(t.initial.client.borderBoxCenter,c)},d={selection:kt(f.selection,l.scroll.current),borderBoxCenter:kt(f.borderBoxCenter,l.scroll.current),offset:kt(f.offset,l.scroll.diff.value)},p={client:f,page:d};if(t.phase==="COLLECTING")return Q({phase:"COLLECTING"},t,{dimensions:s,viewport:l,current:p});var m=s.draggables[t.critical.draggable.id],b=o||Ij({pageOffset:d.offset,draggable:m,draggables:s.draggables,droppables:s.droppables,previousImpact:t.impact,viewport:l,afterCritical:t.afterCritical}),v=tae({draggable:m,impact:b,previousImpact:t.impact,draggables:s.draggables,droppables:s.droppables}),h=Q({},t,{current:p,dimensions:{draggables:s.draggables,droppables:v},impact:b,viewport:l,scrollJumpRequest:a||null,forceShouldAnimate:a?!1:null});return h};function rae(e,t){return e.map(function(r){return t[r]})}var Tj=function(e){var t=e.impact,r=e.viewport,n=e.draggables,i=e.destination,o=e.forceShouldAnimate,a=t.displaced,l=rae(a.all,n),s=Eu({afterDragging:l,destination:i,displacedBy:t.displacedBy,viewport:r.frame,forceShouldAnimate:o,last:a});return Q({},t,{displaced:s})},Aj=function(e){var t=e.impact,r=e.draggable,n=e.droppable,i=e.draggables,o=e.viewport,a=e.afterCritical,l=Lv({impact:t,draggable:r,draggables:i,droppable:n,afterCritical:a});return Z6({pageBorderBoxCenter:l,draggable:r,viewport:o})},Oj=function(e){var t=e.state,r=e.dimensions,n=e.viewport;t.movementMode!=="SNAP"&&j(!1);var i=t.impact,o=n||t.viewport,a=r||t.dimensions,l=a.draggables,s=a.droppables,u=l[t.critical.draggable.id],c=pr(i);c||j(!1);var f=s[c],d=Tj({impact:i,viewport:o,destination:f,draggables:l}),p=Aj({impact:d,draggable:u,droppable:f,draggables:l,viewport:o,afterCritical:t.afterCritical});return zs({impact:d,clientSelection:p,state:t,dimensions:a,viewport:o})},nae=function(e){return{index:e.index,droppableId:e.droppableId}},Rj=function(e){var t=e.draggable,r=e.home,n=e.draggables,i=e.viewport,o=fc(r.axis,t.displaceBy),a=Dl(r.descriptor.id,n),l=a.indexOf(t);l===-1&&j(!1);var s=a.slice(l+1),u=s.reduce(function(p,m){return p[m.descriptor.id]=!0,p},{}),c={inVirtualList:r.descriptor.mode==="virtual",displacedBy:o,effected:u},f=Eu({afterDragging:s,destination:r,displacedBy:o,last:null,viewport:i.frame,forceShouldAnimate:!1}),d={displaced:f,displacedBy:o,at:{type:"REORDER",destination:nae(t.descriptor)}};return{impact:d,afterCritical:c}},iae=function(e,t){return{draggables:e.draggables,droppables:eE(e.droppables,t)}},oae=function(e){var t=e.draggable,r=e.offset,n=e.initialWindowScroll,i=Gf(t.client,r),o=qf(i,n),a=Q({},t,{placeholder:Q({},t.placeholder,{client:i}),client:i,page:o});return a},aae=function(e){var t=e.frame;return t||j(!1),t},lae=function(e){var t=e.additions,r=e.updatedDroppables,n=e.viewport,i=n.scroll.diff.value;return t.map(function(o){var a=o.descriptor.droppableId,l=r[a],s=aae(l),u=s.scroll.diff.value,c=kt(i,u),f=oae({draggable:o,offset:c,initialWindowScroll:n.scroll.initial});return f})},sae=function(e){var t=e.state,r=e.published,n=r.modified.map(function(y){var x=t.dimensions.droppables[y.droppableId],C=G6(x,y.scroll);return C}),i=Q({},t.dimensions.droppables,{},pj(n)),o=vj(lae({additions:r.additions,updatedDroppables:i,viewport:t.viewport})),a=Q({},t.dimensions.draggables,{},o);r.removals.forEach(function(y){delete a[y]});var l={droppables:i,draggables:a},s=pr(t.impact),u=s?l.droppables[s]:null,c=l.draggables[t.critical.draggable.id],f=l.droppables[t.critical.droppable.id],d=Rj({draggable:c,home:f,draggables:a,viewport:t.viewport}),p=d.impact,m=d.afterCritical,b=u&&u.isCombineEnabled?t.impact:p,v=Ij({pageOffset:t.current.page.offset,draggable:l.draggables[t.critical.draggable.id],draggables:l.draggables,droppables:l.droppables,previousImpact:b,viewport:t.viewport,afterCritical:m}),h=Q({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:v,onLiftImpact:p,dimensions:l,afterCritical:m,forceShouldAnimate:!1});if(t.phase==="COLLECTING")return h;var g=Q({phase:"DROP_PENDING"},h,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1});return g},e4=function(t){return t.movementMode==="SNAP"},vg=function(t,r,n){var i=iae(t.dimensions,r);return!e4(t)||n?zs({state:t,dimensions:i}):Oj({state:t,dimensions:i})};function mg(e){return e.isDragging&&e.movementMode==="SNAP"?Q({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var CI={phase:"IDLE",completed:null,shouldFlush:!1},uae=function(e,t){if(e===void 0&&(e=CI),t.type==="FLUSH")return Q({},CI,{shouldFlush:!0});if(t.type==="INITIAL_PUBLISH"){e.phase!=="IDLE"&&j(!1);var r=t.payload,n=r.critical,i=r.clientSelection,o=r.viewport,a=r.dimensions,l=r.movementMode,s=a.draggables[n.draggable.id],u=a.droppables[n.droppable.id],c={selection:i,borderBoxCenter:s.client.borderBox.center,offset:St},f={client:c,page:{selection:kt(c.selection,o.scroll.initial),borderBoxCenter:kt(c.selection,o.scroll.initial),offset:kt(c.selection,o.scroll.diff.value)}},d=Dv(a.droppables).every(function(Hr){return!Hr.isFixedOnPage}),p=Rj({draggable:s,home:u,draggables:a.draggables,viewport:o}),m=p.impact,b=p.afterCritical,v={phase:"DRAGGING",isDragging:!0,critical:n,movementMode:l,dimensions:a,initial:f,current:f,isWindowScrollAllowed:d,impact:m,afterCritical:b,onLiftImpact:m,viewport:o,scrollJumpRequest:null,forceShouldAnimate:null};return v}if(t.type==="COLLECTION_STARTING"){if(e.phase==="COLLECTING"||e.phase==="DROP_PENDING")return e;e.phase!=="DRAGGING"&&j(!1);var h=Q({phase:"COLLECTING"},e,{phase:"COLLECTING"});return h}if(t.type==="PUBLISH_WHILE_DRAGGING")return e.phase==="COLLECTING"||e.phase==="DROP_PENDING"||j(!1),sae({state:e,published:t.payload});if(t.type==="MOVE"){if(e.phase==="DROP_PENDING")return e;ao(e)||j(!1);var g=t.payload.client;return Ai(g,e.current.client.selection)?e:zs({state:e,clientSelection:g,impact:e4(e)?e.impact:null})}if(t.type==="UPDATE_DROPPABLE_SCROLL"){if(e.phase==="DROP_PENDING"||e.phase==="COLLECTING")return mg(e);ao(e)||j(!1);var y=t.payload,x=y.id,C=y.newScroll,E=e.dimensions.droppables[x];if(!E)return e;var P=G6(E,C);return vg(e,P,!1)}if(t.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(e.phase==="DROP_PENDING")return e;ao(e)||j(!1);var S=t.payload,I=S.id,_=S.isEnabled,T=e.dimensions.droppables[I];T||j(!1),T.isEnabled===_&&j(!1);var k=Q({},T,{isEnabled:_});return vg(e,k,!0)}if(t.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(e.phase==="DROP_PENDING")return e;ao(e)||j(!1);var A=t.payload,O=A.id,U=A.isCombineEnabled,G=e.dimensions.droppables[O];G||j(!1),G.isCombineEnabled===U&&j(!1);var W=Q({},G,{isCombineEnabled:U});return vg(e,W,!0)}if(t.type==="MOVE_BY_WINDOW_SCROLL"){if(e.phase==="DROP_PENDING"||e.phase==="DROP_ANIMATING")return e;ao(e)||j(!1),e.isWindowScrollAllowed||j(!1);var N=t.payload.newScroll;if(Ai(e.viewport.scroll.current,N))return mg(e);var Y=$j(e.viewport,N);return e4(e)?Oj({state:e,viewport:Y}):zs({state:e,viewport:Y})}if(t.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!ao(e))return e;var oe=t.payload.maxScroll;if(Ai(oe,e.viewport.scroll.max))return e;var M=Q({},e.viewport,{scroll:Q({},e.viewport.scroll,{max:oe})});return Q({phase:"DRAGGING"},e,{viewport:M})}if(t.type==="MOVE_UP"||t.type==="MOVE_DOWN"||t.type==="MOVE_LEFT"||t.type==="MOVE_RIGHT"){if(e.phase==="COLLECTING"||e.phase==="DROP_PENDING")return e;e.phase!=="DRAGGING"&&j(!1);var L=Hoe({state:e,type:t.type});return L?zs({state:e,impact:L.impact,clientSelection:L.clientSelection,scrollJumpRequest:L.scrollJumpRequest}):e}if(t.type==="DROP_PENDING"){var F=t.payload.reason;e.phase!=="COLLECTING"&&j(!1);var K=Q({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:F});return K}if(t.type==="DROP_ANIMATE"){var re=t.payload,ge=re.completed,Ve=re.dropDuration,Ye=re.newHomeClientOffset;e.phase==="DRAGGING"||e.phase==="DROP_PENDING"||j(!1);var et={phase:"DROP_ANIMATING",completed:ge,dropDuration:Ve,newHomeClientOffset:Ye,dimensions:e.dimensions};return et}if(t.type==="DROP_COMPLETE"){var ve=t.payload.completed;return{phase:"IDLE",completed:ve,shouldFlush:!1}}return e},cae=function(t){return{type:"BEFORE_INITIAL_CAPTURE",payload:t}},dae=function(t){return{type:"LIFT",payload:t}},fae=function(t){return{type:"INITIAL_PUBLISH",payload:t}},pae=function(t){return{type:"PUBLISH_WHILE_DRAGGING",payload:t}},vae=function(){return{type:"COLLECTION_STARTING",payload:null}},mae=function(t){return{type:"UPDATE_DROPPABLE_SCROLL",payload:t}},hae=function(t){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:t}},gae=function(t){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:t}},_j=function(t){return{type:"MOVE",payload:t}},bae=function(t){return{type:"MOVE_BY_WINDOW_SCROLL",payload:t}},yae=function(t){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:t}},$ae=function(){return{type:"MOVE_UP",payload:null}},xae=function(){return{type:"MOVE_DOWN",payload:null}},wae=function(){return{type:"MOVE_RIGHT",payload:null}},Sae=function(){return{type:"MOVE_LEFT",payload:null}},tE=function(){return{type:"FLUSH",payload:null}},Eae=function(t){return{type:"DROP_ANIMATE",payload:t}},rE=function(t){return{type:"DROP_COMPLETE",payload:t}},kj=function(t){return{type:"DROP",payload:t}},Cae=function(t){return{type:"DROP_PENDING",payload:t}},Dj=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}},Pae=function(e){return function(t){var r=t.getState,n=t.dispatch;return function(i){return function(o){if(o.type!=="LIFT"){i(o);return}var a=o.payload,l=a.id,s=a.clientSelection,u=a.movementMode,c=r();c.phase==="DROP_ANIMATING"&&n(rE({completed:c.completed})),r().phase!=="IDLE"&&j(!1),n(tE()),n(cae({draggableId:l,movementMode:u}));var f={shouldPublishImmediately:u==="SNAP"},d={draggableId:l,scrollOptions:f},p=e.startPublishing(d),m=p.critical,b=p.dimensions,v=p.viewport;n(fae({critical:m,dimensions:b,clientSelection:s,movementMode:u,viewport:v}))}}}},Iae=function(e){return function(){return function(t){return function(r){r.type==="INITIAL_PUBLISH"&&e.dragging(),r.type==="DROP_ANIMATE"&&e.dropping(r.payload.completed.result.reason),(r.type==="FLUSH"||r.type==="DROP_COMPLETE")&&e.resting(),t(r)}}}},nE={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Cu={opacity:{drop:0,combining:.7},scale:{drop:.75}},iE={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},to=iE.outOfTheWay+"s "+nE.outOfTheWay,js={fluid:"opacity "+to,snap:"transform "+to+", opacity "+to,drop:function(t){var r=t+"s "+nE.drop;return"transform "+r+", opacity "+r},outOfTheWay:"transform "+to,placeholder:"height "+to+", width "+to+", margin "+to},PI=function(t){return Ai(t,St)?null:"translate("+t.x+"px, "+t.y+"px)"},t4={moveTo:PI,drop:function(t,r){var n=PI(t);return n?r?n+" scale("+Cu.scale.drop+")":n:null}},r4=iE.minDropTime,Mj=iE.maxDropTime,Tae=Mj-r4,II=1500,Aae=.6,Oae=function(e){var t=e.current,r=e.destination,n=e.reason,i=wu(t,r);if(i<=0)return r4;if(i>=II)return Mj;var o=i/II,a=r4+Tae*o,l=n==="CANCEL"?a*Aae:a;return Number(l.toFixed(2))},Rae=function(e){var t=e.impact,r=e.draggable,n=e.dimensions,i=e.viewport,o=e.afterCritical,a=n.draggables,l=n.droppables,s=pr(t),u=s?l[s]:null,c=l[r.descriptor.droppableId],f=Aj({impact:t,draggable:r,draggables:a,afterCritical:o,droppable:u||c,viewport:i}),d=dr(f,r.client.borderBox.center);return d},_ae=function(e){var t=e.draggables,r=e.reason,n=e.lastImpact,i=e.home,o=e.viewport,a=e.onLiftImpact;if(!n.at||r!=="DROP"){var l=Tj({draggables:t,impact:a,destination:i,viewport:o,forceShouldAnimate:!0});return{impact:l,didDropInsideDroppable:!1}}if(n.at.type==="REORDER")return{impact:n,didDropInsideDroppable:!0};var s=Q({},n,{displaced:Su});return{impact:s,didDropInsideDroppable:!0}},kae=function(e){var t=e.getState,r=e.dispatch;return function(n){return function(i){if(i.type!=="DROP"){n(i);return}var o=t(),a=i.payload.reason;if(o.phase==="COLLECTING"){r(Cae({reason:a}));return}if(o.phase!=="IDLE"){var l=o.phase==="DROP_PENDING"&&o.isWaiting;l&&j(!1),o.phase==="DRAGGING"||o.phase==="DROP_PENDING"||j(!1);var s=o.critical,u=o.dimensions,c=u.draggables[o.critical.draggable.id],f=_ae({reason:a,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),d=f.impact,p=f.didDropInsideDroppable,m=p?Y6(d):null,b=p?Mv(d):null,v={index:s.draggable.index,droppableId:s.droppable.id},h={draggableId:c.descriptor.id,type:c.descriptor.type,source:v,reason:a,mode:o.movementMode,destination:m,combine:b},g=Rae({impact:d,draggable:c,dimensions:u,viewport:o.viewport,afterCritical:o.afterCritical}),y={critical:o.critical,afterCritical:o.afterCritical,result:h,impact:d},x=!Ai(o.current.client.offset,g)||!!h.combine;if(!x){r(rE({completed:y}));return}var C=Oae({current:o.current.client.offset,destination:g,reason:a}),E={newHomeClientOffset:g,dropDuration:C,completed:y};r(Eae(E))}}}},Nj=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Dae(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(r){r.target!==window&&r.target!==window.document||e()}}}function Mae(e){var t=e.onWindowScroll;function r(){t(Nj())}var n=xu(r),i=Dae(n),o=Ti;function a(){return o!==Ti}function l(){a()&&j(!1),o=Dr(window,[i])}function s(){a()||j(!1),n.cancel(),o(),o=Ti}return{start:l,stop:s,isActive:a}}var Nae=function(t){return t.type==="DROP_COMPLETE"||t.type==="DROP_ANIMATE"||t.type==="FLUSH"},Lae=function(e){var t=Mae({onWindowScroll:function(n){e.dispatch(bae({newScroll:n}))}});return function(r){return function(n){!t.isActive()&&n.type==="INITIAL_PUBLISH"&&t.start(),t.isActive()&&Nae(n)&&t.stop(),r(n)}}},Fae=function(e){var t=!1,r=!1,n=setTimeout(function(){r=!0}),i=function(a){t||r||(t=!0,e(a),clearTimeout(n))};return i.wasCalled=function(){return t},i},Bae=function(){var e=[],t=function(o){var a=q6(e,function(u){return u.timerId===o});a===-1&&j(!1);var l=e.splice(a,1),s=l[0];s.callback()},r=function(o){var a=setTimeout(function(){return t(a)}),l={timerId:a,callback:o};e.push(l)},n=function(){if(e.length){var o=[].concat(e);e.length=0,o.forEach(function(a){clearTimeout(a.timerId),a.callback()})}};return{add:r,flush:n}},zae=function(t,r){return t==null&&r==null?!0:t==null||r==null?!1:t.droppableId===r.droppableId&&t.index===r.index},jae=function(t,r){return t==null&&r==null?!0:t==null||r==null?!1:t.draggableId===r.draggableId&&t.droppableId===r.droppableId},Uae=function(t,r){if(t===r)return!0;var n=t.draggable.id===r.draggable.id&&t.draggable.droppableId===r.draggable.droppableId&&t.draggable.type===r.draggable.type&&t.draggable.index===r.draggable.index,i=t.droppable.id===r.droppable.id&&t.droppable.type===r.droppable.type;return n&&i},cs=function(t,r){r()},pd=function(t,r){return{draggableId:t.draggable.id,type:t.droppable.type,source:{droppableId:t.droppable.id,index:t.draggable.index},mode:r}},hg=function(t,r,n,i){if(!t){n(i(r));return}var o=Fae(n),a={announce:o};t(r,a),o.wasCalled()||n(i(r))},Wae=function(e,t){var r=Bae(),n=null,i=function(d,p){n&&j(!1),cs("onBeforeCapture",function(){var m=e().onBeforeCapture;if(m){var b={draggableId:d,mode:p};m(b)}})},o=function(d,p){n&&j(!1),cs("onBeforeDragStart",function(){var m=e().onBeforeDragStart;m&&m(pd(d,p))})},a=function(d,p){n&&j(!1);var m=pd(d,p);n={mode:p,lastCritical:d,lastLocation:m.source,lastCombine:null},r.add(function(){cs("onDragStart",function(){return hg(e().onDragStart,m,t,Hd.onDragStart)})})},l=function(d,p){var m=Y6(p),b=Mv(p);n||j(!1);var v=!Uae(d,n.lastCritical);v&&(n.lastCritical=d);var h=!zae(n.lastLocation,m);h&&(n.lastLocation=m);var g=!jae(n.lastCombine,b);if(g&&(n.lastCombine=b),!(!v&&!h&&!g)){var y=Q({},pd(d,n.mode),{combine:b,destination:m});r.add(function(){cs("onDragUpdate",function(){return hg(e().onDragUpdate,y,t,Hd.onDragUpdate)})})}},s=function(){n||j(!1),r.flush()},u=function(d){n||j(!1),n=null,cs("onDragEnd",function(){return hg(e().onDragEnd,d,t,Hd.onDragEnd)})},c=function(){if(n){var d=Q({},pd(n.lastCritical,n.mode),{combine:null,destination:null,reason:"CANCEL"});u(d)}};return{beforeCapture:i,beforeStart:o,start:a,update:l,flush:s,drop:u,abort:c}},Kae=function(e,t){var r=Wae(e,t);return function(n){return function(i){return function(o){if(o.type==="BEFORE_INITIAL_CAPTURE"){r.beforeCapture(o.payload.draggableId,o.payload.movementMode);return}if(o.type==="INITIAL_PUBLISH"){var a=o.payload.critical;r.beforeStart(a,o.payload.movementMode),i(o),r.start(a,o.payload.movementMode);return}if(o.type==="DROP_COMPLETE"){var l=o.payload.completed.result;r.flush(),i(o),r.drop(l);return}if(i(o),o.type==="FLUSH"){r.abort();return}var s=n.getState();s.phase==="DRAGGING"&&r.update(s.critical,s.impact)}}}},Hae=function(e){return function(t){return function(r){if(r.type!=="DROP_ANIMATION_FINISHED"){t(r);return}var n=e.getState();n.phase!=="DROP_ANIMATING"&&j(!1),e.dispatch(rE({completed:n.completed}))}}},Vae=function(e){var t=null,r=null;function n(){r&&(cancelAnimationFrame(r),r=null),t&&(t(),t=null)}return function(i){return function(o){if((o.type==="FLUSH"||o.type==="DROP_COMPLETE"||o.type==="DROP_ANIMATION_FINISHED")&&n(),i(o),o.type==="DROP_ANIMATE"){var a={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var s=e.getState();s.phase==="DROP_ANIMATING"&&e.dispatch(Dj())}};r=requestAnimationFrame(function(){r=null,t=Dr(window,[a])})}}}},Gae=function(e){return function(){return function(t){return function(r){(r.type==="DROP_COMPLETE"||r.type==="FLUSH"||r.type==="DROP_ANIMATE")&&e.stopPublishing(),t(r)}}}},qae=function(e){var t=!1;return function(){return function(r){return function(n){if(n.type==="INITIAL_PUBLISH"){t=!0,e.tryRecordFocus(n.payload.critical.draggable.id),r(n),e.tryRestoreFocusRecorded();return}if(r(n),!!t){if(n.type==="FLUSH"){t=!1,e.tryRestoreFocusRecorded();return}if(n.type==="DROP_COMPLETE"){t=!1;var i=n.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}},Yae=function(t){return t.type==="DROP_COMPLETE"||t.type==="DROP_ANIMATE"||t.type==="FLUSH"},Xae=function(e){return function(t){return function(r){return function(n){if(Yae(n)){e.stop(),r(n);return}if(n.type==="INITIAL_PUBLISH"){r(n);var i=t.getState();i.phase!=="DRAGGING"&&j(!1),e.start(i);return}r(n),e.scroll(t.getState())}}}},Qae=function(e){return function(t){return function(r){if(t(r),r.type==="PUBLISH_WHILE_DRAGGING"){var n=e.getState();n.phase==="DROP_PENDING"&&(n.isWaiting||e.dispatch(kj({reason:n.reason})))}}}},Jae=D6,Zae=function(e){var t=e.dimensionMarshal,r=e.focusMarshal,n=e.styleMarshal,i=e.getResponders,o=e.announce,a=e.autoScroller;return xv(uae,Jae(zz(Iae(n),Gae(t),Pae(t),kae,Hae,Vae,Qae,Xae(a),Lae,qae(r),Kae(i,o))))},gg=function(){return{additions:{},removals:{},modified:{}}};function ele(e){var t=e.registry,r=e.callbacks,n=gg(),i=null,o=function(){i||(r.collectionStarting(),i=requestAnimationFrame(function(){i=null;var c=n,f=c.additions,d=c.removals,p=c.modified,m=Object.keys(f).map(function(h){return t.draggable.getById(h).getDimension(St)}).sort(function(h,g){return h.descriptor.index-g.descriptor.index}),b=Object.keys(p).map(function(h){var g=t.droppable.getById(h),y=g.callbacks.getScrollWhileDragging();return{droppableId:h,scroll:y}}),v={additions:m,removals:Object.keys(d),modified:b};n=gg(),r.publish(v)}))},a=function(c){var f=c.descriptor.id;n.additions[f]=c,n.modified[c.descriptor.droppableId]=!0,n.removals[f]&&delete n.removals[f],o()},l=function(c){var f=c.descriptor;n.removals[f.id]=!0,n.modified[f.droppableId]=!0,n.additions[f.id]&&delete n.additions[f.id],o()},s=function(){i&&(cancelAnimationFrame(i),i=null,n=gg())};return{add:a,remove:l,stop:s}}var Lj=function(e){var t=e.scrollHeight,r=e.scrollWidth,n=e.height,i=e.width,o=dr({x:r,y:t},{x:i,y:n}),a={x:Math.max(0,o.x),y:Math.max(0,o.y)};return a},Fj=function(){var e=document.documentElement;return e||j(!1),e},Bj=function(){var e=Fj(),t=Lj({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight});return t},tle=function(){var e=Nj(),t=Bj(),r=e.y,n=e.x,i=Fj(),o=i.clientWidth,a=i.clientHeight,l=n+o,s=r+a,u=tn({top:r,left:n,right:l,bottom:s}),c={frame:u,scroll:{initial:e,current:e,max:t,diff:{value:St,displacement:St}}};return c},rle=function(e){var t=e.critical,r=e.scrollOptions,n=e.registry,i=tle(),o=i.scroll.current,a=t.droppable,l=n.droppable.getAllByType(a.type).map(function(f){return f.callbacks.getDimensionAndWatchScroll(o,r)}),s=n.draggable.getAllByType(t.draggable.type).map(function(f){return f.getDimension(o)}),u={draggables:vj(s),droppables:pj(l)},c={dimensions:u,critical:t,viewport:i};return c};function TI(e,t,r){if(r.descriptor.id===t.id||r.descriptor.type!==t.type)return!1;var n=e.droppable.getById(r.descriptor.droppableId);return n.descriptor.mode==="virtual"}var nle=function(e,t){var r=null,n=ele({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),i=function(p,m){e.droppable.exists(p)||j(!1),r&&t.updateDroppableIsEnabled({id:p,isEnabled:m})},o=function(p,m){r&&(e.droppable.exists(p)||j(!1),t.updateDroppableIsCombineEnabled({id:p,isCombineEnabled:m}))},a=function(p,m){r&&(e.droppable.exists(p)||j(!1),t.updateDroppableScroll({id:p,newScroll:m}))},l=function(p,m){r&&e.droppable.getById(p).callbacks.scroll(m)},s=function(){if(r){n.stop();var p=r.critical.droppable;e.droppable.getAllByType(p.type).forEach(function(m){return m.callbacks.dragStopped()}),r.unsubscribe(),r=null}},u=function(p){r||j(!1);var m=r.critical.draggable;p.type==="ADDITION"&&TI(e,m,p.value)&&n.add(p.value),p.type==="REMOVAL"&&TI(e,m,p.value)&&n.remove(p.value)},c=function(p){r&&j(!1);var m=e.draggable.getById(p.draggableId),b=e.droppable.getById(m.descriptor.droppableId),v={draggable:m.descriptor,droppable:b.descriptor},h=e.subscribe(u);return r={critical:v,unsubscribe:h},rle({critical:v,registry:e,scrollOptions:p.scrollOptions})},f={updateDroppableIsEnabled:i,updateDroppableIsCombineEnabled:o,scrollDroppable:l,updateDroppableScroll:a,startPublishing:c,stopPublishing:s};return f},zj=function(e,t){return e.phase==="IDLE"?!0:e.phase!=="DROP_ANIMATING"||e.completed.result.draggableId===t?!1:e.completed.result.reason==="DROP"},ile=function(e){window.scrollBy(e.x,e.y)},ole=lt(function(e){return Dv(e).filter(function(t){return!(!t.isEnabled||!t.frame)})}),ale=function(t,r){var n=Yi(ole(r),function(i){return i.frame||j(!1),Ej(i.frame.pageMarginBox)(t)});return n},lle=function(e){var t=e.center,r=e.destination,n=e.droppables;if(r){var i=n[r];return i.frame?i:null}var o=ale(t,n);return o},Oi={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(t){return Math.pow(t,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},sle=function(e,t){var r=e[t.size]*Oi.startFromPercentage,n=e[t.size]*Oi.maxScrollAtPercentage,i={startScrollingFrom:r,maxScrollValueAt:n};return i},jj=function(e){var t=e.startOfRange,r=e.endOfRange,n=e.current,i=r-t;if(i===0)return 0;var o=n-t,a=o/i;return a},oE=1,ule=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return Oi.maxPixelScroll;if(e===t.startScrollingFrom)return oE;var r=jj({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),n=1-r,i=Oi.maxPixelScroll*Oi.ease(n);return Math.ceil(i)},AI=Oi.durationDampening.accelerateAt,OI=Oi.durationDampening.stopDampeningAt,cle=function(e,t){var r=t,n=OI,i=Date.now(),o=i-r;if(o>=OI)return e;if(o<AI)return oE;var a=jj({startOfRange:AI,endOfRange:n,current:o}),l=e*Oi.ease(a);return Math.ceil(l)},RI=function(e){var t=e.distanceToEdge,r=e.thresholds,n=e.dragStartTime,i=e.shouldUseTimeDampening,o=ule(t,r);return o===0?0:i?Math.max(cle(o,n),oE):o},_I=function(e){var t=e.container,r=e.distanceToEdges,n=e.dragStartTime,i=e.axis,o=e.shouldUseTimeDampening,a=sle(t,i),l=r[i.end]<r[i.start];return l?RI({distanceToEdge:r[i.end],thresholds:a,dragStartTime:n,shouldUseTimeDampening:o}):-1*RI({distanceToEdge:r[i.start],thresholds:a,dragStartTime:n,shouldUseTimeDampening:o})},dle=function(e){var t=e.container,r=e.subject,n=e.proposedScroll,i=r.height>t.height,o=r.width>t.width;return!o&&!i?n:o&&i?null:{x:o?0:n.x,y:i?0:n.y}},fle=dj(function(e){return e===0?0:e}),Uj=function(e){var t=e.dragStartTime,r=e.container,n=e.subject,i=e.center,o=e.shouldUseTimeDampening,a={top:i.y-r.top,right:r.right-i.x,bottom:r.bottom-i.y,left:i.x-r.left},l=_I({container:r,distanceToEdges:a,dragStartTime:t,axis:X6,shouldUseTimeDampening:o}),s=_I({container:r,distanceToEdges:a,dragStartTime:t,axis:gj,shouldUseTimeDampening:o}),u=fle({x:s,y:l});if(Ai(u,St))return null;var c=dle({container:r,subject:n,proposedScroll:u});return c?Ai(c,St)?null:c:null},ple=dj(function(e){return e===0?0:e>0?1:-1}),aE=function(){var e=function(r,n){return r<0?r:r>n?r-n:0};return function(t){var r=t.current,n=t.max,i=t.change,o=kt(r,i),a={x:e(o.x,n.x),y:e(o.y,n.y)};return Ai(a,St)?null:a}}(),Wj=function(t){var r=t.max,n=t.current,i=t.change,o={x:Math.max(n.x,r.x),y:Math.max(n.y,r.y)},a=ple(i),l=aE({max:o,current:n,change:a});return!l||a.x!==0&&l.x===0||a.y!==0&&l.y===0},lE=function(t,r){return Wj({current:t.scroll.current,max:t.scroll.max,change:r})},vle=function(t,r){if(!lE(t,r))return null;var n=t.scroll.max,i=t.scroll.current;return aE({current:i,max:n,change:r})},sE=function(t,r){var n=t.frame;return n?Wj({current:n.scroll.current,max:n.scroll.max,change:r}):!1},mle=function(t,r){var n=t.frame;return!n||!sE(t,r)?null:aE({current:n.scroll.current,max:n.scroll.max,change:r})},hle=function(e){var t=e.viewport,r=e.subject,n=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=Uj({dragStartTime:i,container:t.frame,subject:r,center:n,shouldUseTimeDampening:o});return a&&lE(t,a)?a:null},gle=function(e){var t=e.droppable,r=e.subject,n=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var l=Uj({dragStartTime:i,container:a.pageMarginBox,subject:r,center:n,shouldUseTimeDampening:o});return l&&sE(t,l)?l:null},kI=function(e){var t=e.state,r=e.dragStartTime,n=e.shouldUseTimeDampening,i=e.scrollWindow,o=e.scrollDroppable,a=t.current.page.borderBoxCenter,l=t.dimensions.draggables[t.critical.draggable.id],s=l.page.marginBox;if(t.isWindowScrollAllowed){var u=t.viewport,c=hle({dragStartTime:r,viewport:u,subject:s,center:a,shouldUseTimeDampening:n});if(c){i(c);return}}var f=lle({center:a,destination:pr(t.impact),droppables:t.dimensions.droppables});if(f){var d=gle({dragStartTime:r,droppable:f,subject:s,center:a,shouldUseTimeDampening:n});d&&o(f.descriptor.id,d)}},ble=function(e){var t=e.scrollWindow,r=e.scrollDroppable,n=xu(t),i=xu(r),o=null,a=function(c){o||j(!1);var f=o,d=f.shouldUseTimeDampening,p=f.dragStartTime;kI({state:c,scrollWindow:n,scrollDroppable:i,dragStartTime:p,shouldUseTimeDampening:d})},l=function(c){o&&j(!1);var f=Date.now(),d=!1,p=function(){d=!0};kI({state:c,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:p,scrollDroppable:p}),o={dragStartTime:f,shouldUseTimeDampening:d},d&&a(c)},s=function(){o&&(n.cancel(),i.cancel(),o=null)};return{start:l,stop:s,scroll:a}},yle=function(e){var t=e.move,r=e.scrollDroppable,n=e.scrollWindow,i=function(u,c){var f=kt(u.current.client.selection,c);t({client:f})},o=function(u,c){if(!sE(u,c))return c;var f=mle(u,c);if(!f)return r(u.descriptor.id,c),null;var d=dr(c,f);r(u.descriptor.id,d);var p=dr(c,d);return p},a=function(u,c,f){if(!u||!lE(c,f))return f;var d=vle(c,f);if(!d)return n(f),null;var p=dr(f,d);n(p);var m=dr(f,p);return m},l=function(u){var c=u.scrollJumpRequest;if(c){var f=pr(u.impact);f||j(!1);var d=o(u.dimensions.droppables[f],c);if(d){var p=u.viewport,m=a(u.isWindowScrollAllowed,p,d);m&&i(u,m)}}};return l},$le=function(e){var t=e.scrollDroppable,r=e.scrollWindow,n=e.move,i=ble({scrollWindow:r,scrollDroppable:t}),o=yle({move:n,scrollWindow:r,scrollDroppable:t}),a=function(u){if(u.phase==="DRAGGING"){if(u.movementMode==="FLUID"){i.scroll(u);return}u.scrollJumpRequest&&o(u)}},l={scroll:a,start:i.start,stop:i.stop};return l},pl="data-rbd",vl=function(){var e=pl+"-drag-handle";return{base:e,draggableId:e+"-draggable-id",contextId:e+"-context-id"}}(),n4=function(){var e=pl+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),xle=function(){var e=pl+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),DI={contextId:pl+"-scroll-container-context-id"},wle=function(t){return function(r){return"["+r+'="'+t+'"]'}},ds=function(t,r){return t.map(function(n){var i=n.styles[r];return i?n.selector+" { "+i+" }":""}).join(" ")},Sle="pointer-events: none;",Ele=function(e){var t=wle(e),r=function(){var l=`
883
+ cursor: -webkit-grab;
884
+ cursor: grab;
885
+ `;return{selector:t(vl.contextId),styles:{always:`
886
+ -webkit-touch-callout: none;
887
+ -webkit-tap-highlight-color: rgba(0,0,0,0);
888
+ touch-action: manipulation;
889
+ `,resting:l,dragging:Sle,dropAnimating:l}}}(),n=function(){var l=`
890
+ transition: `+js.outOfTheWay+`;
891
+ `;return{selector:t(n4.contextId),styles:{dragging:l,dropAnimating:l,userCancel:l}}}(),i={selector:t(xle.contextId),styles:{always:"overflow-anchor: none;"}},o={selector:"body",styles:{dragging:`
892
+ cursor: grabbing;
893
+ cursor: -webkit-grabbing;
894
+ user-select: none;
895
+ -webkit-user-select: none;
896
+ -moz-user-select: none;
897
+ -ms-user-select: none;
898
+ overflow-anchor: none;
899
+ `}},a=[n,r,i,o];return{always:ds(a,"always"),resting:ds(a,"resting"),dragging:ds(a,"dragging"),dropAnimating:ds(a,"dropAnimating"),userCancel:ds(a,"userCancel")}},vr=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?$.useLayoutEffect:$.useEffect,bg=function(){var t=document.querySelector("head");return t||j(!1),t},MI=function(t){var r=document.createElement("style");return t&&r.setAttribute("nonce",t),r.type="text/css",r};function Cle(e,t){var r=we(function(){return Ele(e)},[e]),n=$.useRef(null),i=$.useRef(null),o=Z(lt(function(f){var d=i.current;d||j(!1),d.textContent=f}),[]),a=Z(function(f){var d=n.current;d||j(!1),d.textContent=f},[]);vr(function(){!n.current&&!i.current||j(!1);var f=MI(t),d=MI(t);return n.current=f,i.current=d,f.setAttribute(pl+"-always",e),d.setAttribute(pl+"-dynamic",e),bg().appendChild(f),bg().appendChild(d),a(r.always),o(r.resting),function(){var p=function(b){var v=b.current;v||j(!1),bg().removeChild(v),b.current=null};p(n),p(i)}},[t,a,o,r.always,r.resting,e]);var l=Z(function(){return o(r.dragging)},[o,r.dragging]),s=Z(function(f){if(f==="DROP"){o(r.dropAnimating);return}o(r.userCancel)},[o,r.dropAnimating,r.userCancel]),u=Z(function(){i.current&&o(r.resting)},[o,r.resting]),c=we(function(){return{dragging:l,dropping:s,resting:u}},[l,s,u]);return c}var Kj=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Fv(e){return e instanceof Kj(e).HTMLElement}function Ple(e,t){var r="["+vl.contextId+'="'+e+'"]',n=fj(document.querySelectorAll(r));if(!n.length)return null;var i=Yi(n,function(o){return o.getAttribute(vl.draggableId)===t});return!i||!Fv(i)?null:i}function Ile(e){var t=$.useRef({}),r=$.useRef(null),n=$.useRef(null),i=$.useRef(!1),o=Z(function(d,p){var m={id:d,focus:p};return t.current[d]=m,function(){var v=t.current,h=v[d];h!==m&&delete v[d]}},[]),a=Z(function(d){var p=Ple(e,d);p&&p!==document.activeElement&&p.focus()},[e]),l=Z(function(d,p){r.current===d&&(r.current=p)},[]),s=Z(function(){n.current||i.current&&(n.current=requestAnimationFrame(function(){n.current=null;var d=r.current;d&&a(d)}))},[a]),u=Z(function(d){r.current=null;var p=document.activeElement;p&&p.getAttribute(vl.draggableId)===d&&(r.current=d)},[]);vr(function(){return i.current=!0,function(){i.current=!1;var d=n.current;d&&cancelAnimationFrame(d)}},[]);var c=we(function(){return{register:o,tryRecordFocus:u,tryRestoreFocusRecorded:s,tryShiftRecord:l}},[o,u,s,l]);return c}function Tle(){var e={draggables:{},droppables:{}},t=[];function r(f){return t.push(f),function(){var p=t.indexOf(f);p!==-1&&t.splice(p,1)}}function n(f){t.length&&t.forEach(function(d){return d(f)})}function i(f){return e.draggables[f]||null}function o(f){var d=i(f);return d||j(!1),d}var a={register:function(d){e.draggables[d.descriptor.id]=d,n({type:"ADDITION",value:d})},update:function(d,p){var m=e.draggables[p.descriptor.id];m&&m.uniqueId===d.uniqueId&&(delete e.draggables[p.descriptor.id],e.draggables[d.descriptor.id]=d)},unregister:function(d){var p=d.descriptor.id,m=i(p);m&&d.uniqueId===m.uniqueId&&(delete e.draggables[p],n({type:"REMOVAL",value:d}))},getById:o,findById:i,exists:function(d){return!!i(d)},getAllByType:function(d){return Qf(e.draggables).filter(function(p){return p.descriptor.type===d})}};function l(f){return e.droppables[f]||null}function s(f){var d=l(f);return d||j(!1),d}var u={register:function(d){e.droppables[d.descriptor.id]=d},unregister:function(d){var p=l(d.descriptor.id);p&&d.uniqueId===p.uniqueId&&delete e.droppables[d.descriptor.id]},getById:s,findById:l,exists:function(d){return!!l(d)},getAllByType:function(d){return Qf(e.droppables).filter(function(p){return p.descriptor.type===d})}};function c(){e.draggables={},e.droppables={},t.length=0}return{draggable:a,droppable:u,subscribe:r,clean:c}}function Ale(){var e=we(Tle,[]);return $.useEffect(function(){return function(){requestAnimationFrame(e.clean)}},[e]),e}var uE=w.createContext(null),Zf=function(){var e=document.body;return e||j(!1),e},Ole={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Rle=function(t){return"rbd-announcement-"+t};function _le(e){var t=we(function(){return Rle(e)},[e]),r=$.useRef(null);$.useEffect(function(){var o=document.createElement("div");return r.current=o,o.id=t,o.setAttribute("aria-live","assertive"),o.setAttribute("aria-atomic","true"),Q(o.style,Ole),Zf().appendChild(o),function(){setTimeout(function(){var s=Zf();s.contains(o)&&s.removeChild(o),o===r.current&&(r.current=null)})}},[t]);var n=Z(function(i){var o=r.current;if(o){o.textContent=i;return}},[]);return n}var kle=0,Dle={separator:"::"};function cE(e,t){return t===void 0&&(t=Dle),we(function(){return""+e+t.separator+kle++},[t.separator,e])}function Mle(e){var t=e.contextId,r=e.uniqueId;return"rbd-hidden-text-"+t+"-"+r}function Nle(e){var t=e.contextId,r=e.text,n=cE("hidden-text",{separator:"-"}),i=we(function(){return Mle({contextId:t,uniqueId:n})},[n,t]);return $.useEffect(function(){var a=document.createElement("div");return a.id=i,a.textContent=r,a.style.display="none",Zf().appendChild(a),function(){var s=Zf();s.contains(a)&&s.removeChild(a)}},[i,r]),i}var Bv=w.createContext(null);function Hj(e){var t=$.useRef(e);return $.useEffect(function(){t.current=e}),t}function Lle(){var e=null;function t(){return!!e}function r(a){return a===e}function n(a){e&&j(!1);var l={abandon:a};return e=l,l}function i(){e||j(!1),e=null}function o(){e&&(e.abandon(),i())}return{isClaimed:t,isActive:r,claim:n,release:i,tryAbandon:o}}var Fle=9,Ble=13,dE=27,Vj=32,zle=33,jle=34,Ule=35,Wle=36,Kle=37,Hle=38,Vle=39,Gle=40,vd,qle=(vd={},vd[Ble]=!0,vd[Fle]=!0,vd),Gj=function(e){qle[e.keyCode]&&e.preventDefault()},zv=function(){var e="visibilitychange";if(typeof document>"u")return e;var t=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],r=Yi(t,function(n){return"on"+n in document});return r||e}(),qj=0,NI=5;function Yle(e,t){return Math.abs(t.x-e.x)>=NI||Math.abs(t.y-e.y)>=NI}var LI={type:"IDLE"};function Xle(e){var t=e.cancel,r=e.completed,n=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(a){var l=a.button,s=a.clientX,u=a.clientY;if(l===qj){var c={x:s,y:u},f=n();if(f.type==="DRAGGING"){a.preventDefault(),f.actions.move(c);return}f.type!=="PENDING"&&j(!1);var d=f.point;if(Yle(d,c)){a.preventDefault();var p=f.actions.fluidLift(c);i({type:"DRAGGING",actions:p})}}}},{eventName:"mouseup",fn:function(a){var l=n();if(l.type!=="DRAGGING"){t();return}a.preventDefault(),l.actions.drop({shouldBlockNextClick:!0}),r()}},{eventName:"mousedown",fn:function(a){n().type==="DRAGGING"&&a.preventDefault(),t()}},{eventName:"keydown",fn:function(a){var l=n();if(l.type==="PENDING"){t();return}if(a.keyCode===dE){a.preventDefault(),t();return}Gj(a)}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){n().type==="PENDING"&&t()}},{eventName:"webkitmouseforcedown",fn:function(a){var l=n();if(l.type==="IDLE"&&j(!1),l.actions.shouldRespectForcePress()){t();return}a.preventDefault()}},{eventName:zv,fn:t}]}function Qle(e){var t=$.useRef(LI),r=$.useRef(Ti),n=we(function(){return{eventName:"mousedown",fn:function(f){if(!f.defaultPrevented&&f.button===qj&&!(f.ctrlKey||f.metaKey||f.shiftKey||f.altKey)){var d=e.findClosestDraggableId(f);if(d){var p=e.tryGetLock(d,a,{sourceEvent:f});if(p){f.preventDefault();var m={x:f.clientX,y:f.clientY};r.current(),u(p,m)}}}}}},[e]),i=we(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(f){if(!f.defaultPrevented){var d=e.findClosestDraggableId(f);if(d){var p=e.findOptionsForDraggable(d);p&&(p.shouldRespectForcePress||e.canGetLock(d)&&f.preventDefault())}}}}},[e]),o=Z(function(){var f={passive:!1,capture:!0};r.current=Dr(window,[i,n],f)},[i,n]),a=Z(function(){var c=t.current;c.type!=="IDLE"&&(t.current=LI,r.current(),o())},[o]),l=Z(function(){var c=t.current;a(),c.type==="DRAGGING"&&c.actions.cancel({shouldBlockNextClick:!0}),c.type==="PENDING"&&c.actions.abort()},[a]),s=Z(function(){var f={capture:!0,passive:!1},d=Xle({cancel:l,completed:a,getPhase:function(){return t.current},setPhase:function(m){t.current=m}});r.current=Dr(window,d,f)},[l,a]),u=Z(function(f,d){t.current.type!=="IDLE"&&j(!1),t.current={type:"PENDING",point:d,actions:f},s()},[s]);vr(function(){return o(),function(){r.current()}},[o])}var ua;function Jle(){}var Zle=(ua={},ua[jle]=!0,ua[zle]=!0,ua[Wle]=!0,ua[Ule]=!0,ua);function ese(e,t){function r(){t(),e.cancel()}function n(){t(),e.drop()}return[{eventName:"keydown",fn:function(o){if(o.keyCode===dE){o.preventDefault(),r();return}if(o.keyCode===Vj){o.preventDefault(),n();return}if(o.keyCode===Gle){o.preventDefault(),e.moveDown();return}if(o.keyCode===Hle){o.preventDefault(),e.moveUp();return}if(o.keyCode===Vle){o.preventDefault(),e.moveRight();return}if(o.keyCode===Kle){o.preventDefault(),e.moveLeft();return}if(Zle[o.keyCode]){o.preventDefault();return}Gj(o)}},{eventName:"mousedown",fn:r},{eventName:"mouseup",fn:r},{eventName:"click",fn:r},{eventName:"touchstart",fn:r},{eventName:"resize",fn:r},{eventName:"wheel",fn:r,options:{passive:!0}},{eventName:zv,fn:r}]}function tse(e){var t=$.useRef(Jle),r=we(function(){return{eventName:"keydown",fn:function(o){if(o.defaultPrevented||o.keyCode!==Vj)return;var a=e.findClosestDraggableId(o);if(!a)return;var l=e.tryGetLock(a,c,{sourceEvent:o});if(!l)return;o.preventDefault();var s=!0,u=l.snapLift();t.current();function c(){s||j(!1),s=!1,t.current(),n()}t.current=Dr(window,ese(u,c),{capture:!0,passive:!1})}}},[e]),n=Z(function(){var o={passive:!1,capture:!0};t.current=Dr(window,[r],o)},[r]);vr(function(){return n(),function(){t.current()}},[n])}var yg={type:"IDLE"},rse=120,nse=.15;function ise(e){var t=e.cancel,r=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(i){i.preventDefault()}},{eventName:"keydown",fn:function(i){if(r().type!=="DRAGGING"){t();return}i.keyCode===dE&&i.preventDefault(),t()}},{eventName:zv,fn:t}]}function ose(e){var t=e.cancel,r=e.completed,n=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(o){var a=n();if(a.type!=="DRAGGING"){t();return}a.hasMoved=!0;var l=o.touches[0],s=l.clientX,u=l.clientY,c={x:s,y:u};o.preventDefault(),a.actions.move(c)}},{eventName:"touchend",fn:function(o){var a=n();if(a.type!=="DRAGGING"){t();return}o.preventDefault(),a.actions.drop({shouldBlockNextClick:!0}),r()}},{eventName:"touchcancel",fn:function(o){if(n().type!=="DRAGGING"){t();return}o.preventDefault(),t()}},{eventName:"touchforcechange",fn:function(o){var a=n();a.type==="IDLE"&&j(!1);var l=o.touches[0];if(l){var s=l.force>=nse;if(s){var u=a.actions.shouldRespectForcePress();if(a.type==="PENDING"){u&&t();return}if(u){if(a.hasMoved){o.preventDefault();return}t();return}o.preventDefault()}}}},{eventName:zv,fn:t}]}function ase(e){var t=$.useRef(yg),r=$.useRef(Ti),n=Z(function(){return t.current},[]),i=Z(function(p){t.current=p},[]),o=we(function(){return{eventName:"touchstart",fn:function(p){if(!p.defaultPrevented){var m=e.findClosestDraggableId(p);if(m){var b=e.tryGetLock(m,l,{sourceEvent:p});if(b){var v=p.touches[0],h=v.clientX,g=v.clientY,y={x:h,y:g};r.current(),f(b,y)}}}}}},[e]),a=Z(function(){var p={capture:!0,passive:!1};r.current=Dr(window,[o],p)},[o]),l=Z(function(){var d=t.current;d.type!=="IDLE"&&(d.type==="PENDING"&&clearTimeout(d.longPressTimerId),i(yg),r.current(),a())},[a,i]),s=Z(function(){var d=t.current;l(),d.type==="DRAGGING"&&d.actions.cancel({shouldBlockNextClick:!0}),d.type==="PENDING"&&d.actions.abort()},[l]),u=Z(function(){var p={capture:!0,passive:!1},m={cancel:s,completed:l,getPhase:n},b=Dr(window,ose(m),p),v=Dr(window,ise(m),p);r.current=function(){b(),v()}},[s,n,l]),c=Z(function(){var p=n();p.type!=="PENDING"&&j(!1);var m=p.actions.fluidLift(p.point);i({type:"DRAGGING",actions:m,hasMoved:!1})},[n,i]),f=Z(function(p,m){n().type!=="IDLE"&&j(!1);var b=setTimeout(c,rse);i({type:"PENDING",point:m,actions:p,longPressTimerId:b}),u()},[u,n,i,c]);vr(function(){return a(),function(){r.current();var m=n();m.type==="PENDING"&&(clearTimeout(m.longPressTimerId),i(yg))}},[n,a,i]),vr(function(){var p=Dr(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return p},[])}var lse={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Yj(e,t){if(t==null)return!1;var r=!!lse[t.tagName.toLowerCase()];if(r)return!0;var n=t.getAttribute("contenteditable");return n==="true"||n===""?!0:t===e?!1:Yj(e,t.parentElement)}function sse(e,t){var r=t.target;return Fv(r)?Yj(e,r):!1}var use=function(e){return tn(e.getBoundingClientRect()).center};function cse(e){return e instanceof Kj(e).Element}var dse=function(){var e="matches";if(typeof document>"u")return e;var t=[e,"msMatchesSelector","webkitMatchesSelector"],r=Yi(t,function(n){return n in Element.prototype});return r||e}();function Xj(e,t){return e==null?null:e[dse](t)?e:Xj(e.parentElement,t)}function fse(e,t){return e.closest?e.closest(t):Xj(e,t)}function pse(e){return"["+vl.contextId+'="'+e+'"]'}function vse(e,t){var r=t.target;if(!cse(r))return null;var n=pse(e),i=fse(r,n);return!i||!Fv(i)?null:i}function mse(e,t){var r=vse(e,t);return r?r.getAttribute(vl.draggableId):null}function hse(e,t){var r="["+n4.contextId+'="'+e+'"]',n=fj(document.querySelectorAll(r)),i=Yi(n,function(o){return o.getAttribute(n4.id)===t});return!i||!Fv(i)?null:i}function gse(e){e.preventDefault()}function md(e){var t=e.expected,r=e.phase,n=e.isLockActive;return e.shouldWarn,!(!n()||t!==r)}function Qj(e){var t=e.lockAPI,r=e.store,n=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var o=n.draggable.findById(i);return!(!o||!o.options.isEnabled||!zj(r.getState(),i))}function bse(e){var t=e.lockAPI,r=e.contextId,n=e.store,i=e.registry,o=e.draggableId,a=e.forceSensorStop,l=e.sourceEvent,s=Qj({lockAPI:t,store:n,registry:i,draggableId:o});if(!s)return null;var u=i.draggable.getById(o),c=hse(r,u.descriptor.id);if(!c||l&&!u.options.canDragInteractiveElements&&sse(c,l))return null;var f=t.claim(a||Ti),d="PRE_DRAG";function p(){return u.options.shouldRespectForcePress}function m(){return t.isActive(f)}function b(E,P){md({expected:E,phase:d,isLockActive:m,shouldWarn:!0})&&n.dispatch(P())}var v=b.bind(null,"DRAGGING");function h(E){function P(){t.release(),d="COMPLETED"}d!=="PRE_DRAG"&&(P(),d!=="PRE_DRAG"&&j(!1)),n.dispatch(dae(E.liftActionArgs)),d="DRAGGING";function S(I,_){if(_===void 0&&(_={shouldBlockNextClick:!1}),E.cleanup(),_.shouldBlockNextClick){var T=Dr(window,[{eventName:"click",fn:gse,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(T)}P(),n.dispatch(kj({reason:I}))}return Q({isActive:function(){return md({expected:"DRAGGING",phase:d,isLockActive:m,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(_){return S("DROP",_)},cancel:function(_){return S("CANCEL",_)}},E.actions)}function g(E){var P=xu(function(I){v(function(){return _j({client:I})})}),S=h({liftActionArgs:{id:o,clientSelection:E,movementMode:"FLUID"},cleanup:function(){return P.cancel()},actions:{move:P}});return Q({},S,{move:P})}function y(){var E={moveUp:function(){return v($ae)},moveRight:function(){return v(wae)},moveDown:function(){return v(xae)},moveLeft:function(){return v(Sae)}};return h({liftActionArgs:{id:o,clientSelection:use(c),movementMode:"SNAP"},cleanup:Ti,actions:E})}function x(){var E=md({expected:"PRE_DRAG",phase:d,isLockActive:m,shouldWarn:!0});E&&t.release()}var C={isActive:function(){return md({expected:"PRE_DRAG",phase:d,isLockActive:m,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:g,snapLift:y,abort:x};return C}var yse=[Qle,tse,ase];function $se(e){var t=e.contextId,r=e.store,n=e.registry,i=e.customSensors,o=e.enableDefaultSensors,a=[].concat(o?yse:[],i||[]),l=$.useState(function(){return Lle()})[0],s=Z(function(g,y){g.isDragging&&!y.isDragging&&l.tryAbandon()},[l]);vr(function(){var g=r.getState(),y=r.subscribe(function(){var x=r.getState();s(g,x),g=x});return y},[l,r,s]),vr(function(){return l.tryAbandon},[l.tryAbandon]);for(var u=Z(function(h){return Qj({lockAPI:l,registry:n,store:r,draggableId:h})},[l,n,r]),c=Z(function(h,g,y){return bse({lockAPI:l,registry:n,contextId:t,store:r,draggableId:h,forceSensorStop:g,sourceEvent:y&&y.sourceEvent?y.sourceEvent:null})},[t,l,n,r]),f=Z(function(h){return mse(t,h)},[t]),d=Z(function(h){var g=n.draggable.findById(h);return g?g.options:null},[n.draggable]),p=Z(function(){l.isClaimed()&&(l.tryAbandon(),r.getState().phase!=="IDLE"&&r.dispatch(tE()))},[l,r]),m=Z(l.isClaimed,[l]),b=we(function(){return{canGetLock:u,tryGetLock:c,findClosestDraggableId:f,findOptionsForDraggable:d,tryReleaseLock:p,isLockClaimed:m}},[u,c,f,d,p,m]),v=0;v<a.length;v++)a[v](b)}var xse=function(t){return{onBeforeCapture:t.onBeforeCapture,onBeforeDragStart:t.onBeforeDragStart,onDragStart:t.onDragStart,onDragEnd:t.onDragEnd,onDragUpdate:t.onDragUpdate}};function fs(e){return e.current||j(!1),e.current}function wse(e){var t=e.contextId,r=e.setCallbacks,n=e.sensors,i=e.nonce,o=e.dragHandleUsageInstructions,a=$.useRef(null),l=Hj(e),s=Z(function(){return xse(l.current)},[l]),u=_le(t),c=Nle({contextId:t,text:o}),f=Cle(t,i),d=Z(function(I){fs(a).dispatch(I)},[]),p=we(function(){return JS({publishWhileDragging:pae,updateDroppableScroll:mae,updateDroppableIsEnabled:hae,updateDroppableIsCombineEnabled:gae,collectionStarting:vae},d)},[d]),m=Ale(),b=we(function(){return nle(m,p)},[m,p]),v=we(function(){return $le(Q({scrollWindow:ile,scrollDroppable:b.scrollDroppable},JS({move:_j},d)))},[b.scrollDroppable,d]),h=Ile(t),g=we(function(){return Zae({announce:u,autoScroller:v,dimensionMarshal:b,focusMarshal:h,getResponders:s,styleMarshal:f})},[u,v,b,h,s,f]);a.current=g;var y=Z(function(){var I=fs(a),_=I.getState();_.phase!=="IDLE"&&I.dispatch(tE())},[]),x=Z(function(){var I=fs(a).getState();return I.isDragging||I.phase==="DROP_ANIMATING"},[]),C=we(function(){return{isDragging:x,tryAbort:y}},[x,y]);r(C);var E=Z(function(I){return zj(fs(a).getState(),I)},[]),P=Z(function(){return ao(fs(a).getState())},[]),S=we(function(){return{marshal:b,focus:h,contextId:t,canLift:E,isMovementAllowed:P,dragHandleUsageInstructionsId:c,registry:m}},[t,b,c,h,E,P,m]);return $se({contextId:t,store:g,registry:m,customSensors:n,enableDefaultSensors:e.enableDefaultSensors!==!1}),$.useEffect(function(){return y},[y]),w.createElement(Bv.Provider,{value:S},w.createElement(Uz,{context:uE,store:g},e.children))}var Sse=0;function Ese(){return we(function(){return""+Sse++},[])}function Cge(e){var t=Ese(),r=e.dragHandleUsageInstructions||Hd.dragHandleUsageInstructions;return w.createElement(toe,null,function(n){return w.createElement(wse,{nonce:e.nonce,contextId:t,setCallbacks:n,dragHandleUsageInstructions:r,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)})}var Jj=function(t){return function(r){return t===r}},Cse=Jj("scroll"),Pse=Jj("auto"),FI=function(t,r){return r(t.overflowX)||r(t.overflowY)},Ise=function(t){var r=window.getComputedStyle(t),n={overflowX:r.overflowX,overflowY:r.overflowY};return FI(n,Cse)||FI(n,Pse)},Tse=function(){return!1},Ase=function e(t){return t==null?null:t===document.body?Tse()?t:null:t===document.documentElement?null:Ise(t)?t:e(t.parentElement)},i4=function(e){return{x:e.scrollLeft,y:e.scrollTop}},Ose=function e(t){if(!t)return!1;var r=window.getComputedStyle(t);return r.position==="fixed"?!0:e(t.parentElement)},Rse=function(e){var t=Ase(e),r=Ose(e);return{closestScrollable:t,isFixedOnPage:r}},_se=function(e){var t=e.descriptor,r=e.isEnabled,n=e.isCombineEnabled,i=e.isFixedOnPage,o=e.direction,a=e.client,l=e.page,s=e.closest,u=function(){if(!s)return null;var p=s.scrollSize,m=s.client,b=Lj({scrollHeight:p.scrollHeight,scrollWidth:p.scrollWidth,height:m.paddingBox.height,width:m.paddingBox.width});return{pageMarginBox:s.page.marginBox,frameClient:m,scrollSize:p,shouldClipSubject:s.shouldClipSubject,scroll:{initial:s.scroll,current:s.scroll,max:b,diff:{value:St,displacement:St}}}}(),c=o==="vertical"?X6:gj,f=fl({page:l,withPlaceholder:null,axis:c,frame:u}),d={descriptor:t,isCombineEnabled:n,isFixedOnPage:i,axis:c,isEnabled:r,client:a,page:l,frame:u,subject:f};return d},kse=function(t,r){var n=lj(t);if(!r||t!==r)return n;var i=n.paddingBox.top-r.scrollTop,o=n.paddingBox.left-r.scrollLeft,a=i+r.scrollHeight,l=o+r.scrollWidth,s={top:i,right:l,bottom:a,left:o},u=H6(s,n.border),c=V6({borderBox:u,margin:n.margin,border:n.border,padding:n.padding});return c},Dse=function(e){var t=e.ref,r=e.descriptor,n=e.env,i=e.windowScroll,o=e.direction,a=e.isDropDisabled,l=e.isCombineEnabled,s=e.shouldClipSubject,u=n.closestScrollable,c=kse(t,u),f=qf(c,i),d=function(){if(!u)return null;var m=lj(u),b={scrollHeight:u.scrollHeight,scrollWidth:u.scrollWidth};return{client:m,page:qf(m,i),scroll:i4(u),scrollSize:b,shouldClipSubject:s}}(),p=_se({descriptor:r,isEnabled:!a,isCombineEnabled:l,isFixedOnPage:n.isFixedOnPage,direction:o,client:c,page:f,closest:d});return p},Mse={passive:!1},Nse={passive:!0},BI=function(e){return e.shouldPublishImmediately?Mse:Nse};function ep(e){var t=$.useContext(e);return t||j(!1),t}var hd=function(t){return t&&t.env.closestScrollable||null};function Lse(e){var t=$.useRef(null),r=ep(Bv),n=cE("droppable"),i=r.registry,o=r.marshal,a=Hj(e),l=we(function(){return{id:e.droppableId,type:e.type,mode:e.mode}},[e.droppableId,e.mode,e.type]),s=$.useRef(l),u=we(function(){return lt(function(x,C){t.current||j(!1);var E={x,y:C};o.updateDroppableScroll(l.id,E)})},[l.id,o]),c=Z(function(){var x=t.current;return!x||!x.env.closestScrollable?St:i4(x.env.closestScrollable)},[]),f=Z(function(){var x=c();u(x.x,x.y)},[c,u]),d=we(function(){return xu(f)},[f]),p=Z(function(){var x=t.current,C=hd(x);x&&C||j(!1);var E=x.scrollOptions;if(E.shouldPublishImmediately){f();return}d()},[d,f]),m=Z(function(x,C){t.current&&j(!1);var E=a.current,P=E.getDroppableRef();P||j(!1);var S=Rse(P),I={ref:P,descriptor:l,env:S,scrollOptions:C};t.current=I;var _=Dse({ref:P,descriptor:l,env:S,windowScroll:x,direction:E.direction,isDropDisabled:E.isDropDisabled,isCombineEnabled:E.isCombineEnabled,shouldClipSubject:!E.ignoreContainerClipping}),T=S.closestScrollable;return T&&(T.setAttribute(DI.contextId,r.contextId),T.addEventListener("scroll",p,BI(I.scrollOptions))),_},[r.contextId,l,p,a]),b=Z(function(){var x=t.current,C=hd(x);return x&&C||j(!1),i4(C)},[]),v=Z(function(){var x=t.current;x||j(!1);var C=hd(x);t.current=null,C&&(d.cancel(),C.removeAttribute(DI.contextId),C.removeEventListener("scroll",p,BI(x.scrollOptions)))},[p,d]),h=Z(function(x){var C=t.current;C||j(!1);var E=hd(C);E||j(!1),E.scrollTop+=x.y,E.scrollLeft+=x.x},[]),g=we(function(){return{getDimensionAndWatchScroll:m,getScrollWhileDragging:b,dragStopped:v,scroll:h}},[v,m,b,h]),y=we(function(){return{uniqueId:n,descriptor:l,callbacks:g}},[g,l,n]);vr(function(){return s.current=y.descriptor,i.droppable.register(y),function(){t.current&&v(),i.droppable.unregister(y)}},[g,l,v,y,o,i.droppable]),vr(function(){t.current&&o.updateDroppableIsEnabled(s.current.id,!e.isDropDisabled)},[e.isDropDisabled,o]),vr(function(){t.current&&o.updateDroppableIsCombineEnabled(s.current.id,e.isCombineEnabled)},[e.isCombineEnabled,o])}function $g(){}var zI={width:0,height:0,margin:loe},Fse=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate;return r||i==="close"?zI:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}},Bse=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate,o=Fse({isAnimatingOpenOnMount:r,placeholder:n,animate:i});return{display:n.display,boxSizing:"border-box",width:o.width,height:o.height,marginTop:o.margin.top,marginRight:o.margin.right,marginBottom:o.margin.bottom,marginLeft:o.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:i!=="none"?js.placeholder:null}};function zse(e){var t=$.useRef(null),r=Z(function(){t.current&&(clearTimeout(t.current),t.current=null)},[]),n=e.animate,i=e.onTransitionEnd,o=e.onClose,a=e.contextId,l=$.useState(e.animate==="open"),s=l[0],u=l[1];$.useEffect(function(){return s?n!=="open"?(r(),u(!1),$g):t.current?$g:(t.current=setTimeout(function(){t.current=null,u(!1)}),r):$g},[n,s,r]);var c=Z(function(d){d.propertyName==="height"&&(i(),n==="close"&&o())},[n,o,i]),f=Bse({isAnimatingOpenOnMount:s,animate:e.animate,placeholder:e.placeholder});return w.createElement(e.placeholder.tagName,{style:f,"data-rbd-placeholder-context-id":a,onTransitionEnd:c,ref:e.innerRef})}var jse=w.memo(zse),fE=w.createContext(null),Use=function(e){Gu(t,e);function t(){for(var n,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=e.call.apply(e,[this].concat(o))||this,n.state={isVisible:!!n.props.on,data:n.props.on,animate:n.props.shouldAnimate&&n.props.on?"open":"none"},n.onClose=function(){n.state.animate==="close"&&n.setState({isVisible:!1})},n}t.getDerivedStateFromProps=function(i,o){return i.shouldAnimate?i.on?{isVisible:!0,data:i.on,animate:"open"}:o.isVisible?{isVisible:!0,data:o.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!i.on,data:i.on,animate:"none"}};var r=t.prototype;return r.render=function(){if(!this.state.isVisible)return null;var i={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(i)},t}(w.PureComponent),jI={dragging:5e3,dropAnimating:4500},Wse=function(t,r){return r?js.drop(r.duration):t?js.snap:js.fluid},Kse=function(t,r){return t?r?Cu.opacity.drop:Cu.opacity.combining:null},Hse=function(t){return t.forceShouldAnimate!=null?t.forceShouldAnimate:t.mode==="SNAP"};function Vse(e){var t=e.dimension,r=t.client,n=e.offset,i=e.combineWith,o=e.dropping,a=!!i,l=Hse(e),s=!!o,u=s?t4.drop(n,a):t4.moveTo(n),c={position:"fixed",top:r.marginBox.top,left:r.marginBox.left,boxSizing:"border-box",width:r.borderBox.width,height:r.borderBox.height,transition:Wse(l,o),transform:u,opacity:Kse(a,s),zIndex:s?jI.dropAnimating:jI.dragging,pointerEvents:"none"};return c}function Gse(e){return{transform:t4.moveTo(e.offset),transition:e.shouldAnimateDisplacement?null:"none"}}function qse(e){return e.type==="DRAGGING"?Vse(e):Gse(e)}function Yse(e,t,r){r===void 0&&(r=St);var n=window.getComputedStyle(t),i=t.getBoundingClientRect(),o=aj(i,n),a=qf(o,r),l={client:o,tagName:t.tagName.toLowerCase(),display:n.display},s={x:o.marginBox.width,y:o.marginBox.height},u={descriptor:e,placeholder:l,displaceBy:s,client:o,page:a};return u}function Xse(e){var t=cE("draggable"),r=e.descriptor,n=e.registry,i=e.getDraggableRef,o=e.canDragInteractiveElements,a=e.shouldRespectForcePress,l=e.isEnabled,s=we(function(){return{canDragInteractiveElements:o,shouldRespectForcePress:a,isEnabled:l}},[o,l,a]),u=Z(function(p){var m=i();return m||j(!1),Yse(r,m,p)},[r,i]),c=we(function(){return{uniqueId:t,descriptor:r,options:s,getDimension:u}},[r,u,s,t]),f=$.useRef(c),d=$.useRef(!0);vr(function(){return n.draggable.register(f.current),function(){return n.draggable.unregister(f.current)}},[n.draggable]),vr(function(){if(d.current){d.current=!1;return}var p=f.current;f.current=c,n.draggable.update(c,p)},[c,n.draggable])}function Qse(e){e.preventDefault()}function Jse(e){var t=$.useRef(null),r=Z(function(I){t.current=I},[]),n=Z(function(){return t.current},[]),i=ep(Bv),o=i.contextId,a=i.dragHandleUsageInstructionsId,l=i.registry,s=ep(fE),u=s.type,c=s.droppableId,f=we(function(){return{id:e.draggableId,index:e.index,type:u,droppableId:c}},[e.draggableId,e.index,u,c]),d=e.children,p=e.draggableId,m=e.isEnabled,b=e.shouldRespectForcePress,v=e.canDragInteractiveElements,h=e.isClone,g=e.mapped,y=e.dropAnimationFinished;if(!h){var x=we(function(){return{descriptor:f,registry:l,getDraggableRef:n,canDragInteractiveElements:v,shouldRespectForcePress:b,isEnabled:m}},[f,l,n,v,b,m]);Xse(x)}var C=we(function(){return m?{tabIndex:0,role:"button","aria-describedby":a,"data-rbd-drag-handle-draggable-id":p,"data-rbd-drag-handle-context-id":o,draggable:!1,onDragStart:Qse}:null},[o,a,p,m]),E=Z(function(I){g.type==="DRAGGING"&&g.dropping&&I.propertyName==="transform"&&y()},[y,g]),P=we(function(){var I=qse(g),_=g.type==="DRAGGING"&&g.dropping?E:null,T={innerRef:r,draggableProps:{"data-rbd-draggable-context-id":o,"data-rbd-draggable-id":p,style:I,onTransitionEnd:_},dragHandleProps:C};return T},[o,C,p,g,E,r]),S=we(function(){return{draggableId:f.id,type:f.type,source:{index:f.index,droppableId:f.droppableId}}},[f.droppableId,f.id,f.index,f.type]);return d(P,g.snapshot,S)}var Zj=function(e,t){return e===t},eU=function(e){var t=e.combine,r=e.destination;return r?r.droppableId:t?t.droppableId:null},Zse=function(t){return t.combine?t.combine.draggableId:null},eue=function(t){return t.at&&t.at.type==="COMBINE"?t.at.combine.draggableId:null};function tue(){var e=lt(function(i,o){return{x:i,y:o}}),t=lt(function(i,o,a,l,s){return{isDragging:!0,isClone:o,isDropAnimating:!!s,dropAnimation:s,mode:i,draggingOver:a,combineWith:l,combineTargetFor:null}}),r=lt(function(i,o,a,l,s,u,c){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:s,combineWith:u,mode:o,offset:i,dimension:a,forceShouldAnimate:c,snapshot:t(o,l,s,u,null)}}}),n=function(o,a){if(o.isDragging){if(o.critical.draggable.id!==a.draggableId)return null;var l=o.current.client.offset,s=o.dimensions.draggables[a.draggableId],u=pr(o.impact),c=eue(o.impact),f=o.forceShouldAnimate;return r(e(l.x,l.y),o.movementMode,s,a.isClone,u,c,f)}if(o.phase==="DROP_ANIMATING"){var d=o.completed;if(d.result.draggableId!==a.draggableId)return null;var p=a.isClone,m=o.dimensions.draggables[a.draggableId],b=d.result,v=b.mode,h=eU(b),g=Zse(b),y=o.dropDuration,x={duration:y,curve:nE.drop,moveTo:o.newHomeClientOffset,opacity:g?Cu.opacity.drop:null,scale:g?Cu.scale.drop:null};return{mapped:{type:"DRAGGING",offset:o.newHomeClientOffset,dimension:m,dropping:x,draggingOver:h,combineWith:g,mode:v,forceShouldAnimate:null,snapshot:t(v,p,h,g,x)}}}return null};return n}function tU(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var rue={mapped:{type:"SECONDARY",offset:St,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:tU(null)}};function nue(){var e=lt(function(a,l){return{x:a,y:l}}),t=lt(tU),r=lt(function(a,l,s){return l===void 0&&(l=null),{mapped:{type:"SECONDARY",offset:a,combineTargetFor:l,shouldAnimateDisplacement:s,snapshot:t(l)}}}),n=function(l){return l?r(St,l,!0):null},i=function(l,s,u,c){var f=u.displaced.visible[l],d=!!(c.inVirtualList&&c.effected[l]),p=Mv(u),m=p&&p.draggableId===l?s:null;if(!f){if(!d)return n(m);if(u.displaced.invisible[l])return null;var b=kl(c.displacedBy.point),v=e(b.x,b.y);return r(v,m,!0)}if(d)return n(m);var h=u.displacedBy.point,g=e(h.x,h.y);return r(g,m,f.shouldAnimate)},o=function(l,s){if(l.isDragging)return l.critical.draggable.id===s.draggableId?null:i(s.draggableId,l.critical.draggable.id,l.impact,l.afterCritical);if(l.phase==="DROP_ANIMATING"){var u=l.completed;return u.result.draggableId===s.draggableId?null:i(s.draggableId,u.result.draggableId,u.impact,u.afterCritical)}return null};return o}var iue=function(){var t=tue(),r=nue(),n=function(o,a){return t(o,a)||r(o,a)||rue};return n},oue={dropAnimationFinished:Dj},aue=W6(iue,oue,null,{context:uE,pure:!0,areStatePropsEqual:Zj})(Jse);function rU(e){var t=ep(fE),r=t.isUsingCloneFor;return r===e.draggableId&&!e.isClone?null:w.createElement(aue,e)}function Pge(e){var t=typeof e.isDragDisabled=="boolean"?!e.isDragDisabled:!0,r=!!e.disableInteractiveElementBlocking,n=!!e.shouldRespectForcePress;return w.createElement(rU,Q({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n}))}function lue(e){var t=$.useContext(Bv);t||j(!1);var r=t.contextId,n=t.isMovementAllowed,i=$.useRef(null),o=$.useRef(null),a=e.children,l=e.droppableId,s=e.type,u=e.mode,c=e.direction,f=e.ignoreContainerClipping,d=e.isDropDisabled,p=e.isCombineEnabled,m=e.snapshot,b=e.useClone,v=e.updateViewportMaxScroll,h=e.getContainerForClone,g=Z(function(){return i.current},[]),y=Z(function(T){i.current=T},[]);Z(function(){return o.current},[]);var x=Z(function(T){o.current=T},[]),C=Z(function(){n()&&v({maxScroll:Bj()})},[n,v]);Lse({droppableId:l,type:s,mode:u,direction:c,isDropDisabled:d,isCombineEnabled:p,ignoreContainerClipping:f,getDroppableRef:g});var E=w.createElement(Use,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},function(T){var k=T.onClose,A=T.data,O=T.animate;return w.createElement(jse,{placeholder:A,onClose:k,innerRef:x,animate:O,contextId:r,onTransitionEnd:C})}),P=we(function(){return{innerRef:y,placeholder:E,droppableProps:{"data-rbd-droppable-id":l,"data-rbd-droppable-context-id":r}}},[r,l,E,y]),S=b?b.dragging.draggableId:null,I=we(function(){return{droppableId:l,type:s,isUsingCloneFor:S}},[l,S,s]);function _(){if(!b)return null;var T=b.dragging,k=b.render,A=w.createElement(rU,{draggableId:T.draggableId,index:T.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(O,U){return k(O,U,T)});return Ta.createPortal(A,h())}return w.createElement(fE.Provider,{value:I},a(P,m),_())}var xg=function(t,r){return t===r.droppable.type},UI=function(t,r){return r.draggables[t.draggable.id]},sue=function(){var t={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},r=Q({},t,{shouldAnimatePlaceholder:!1}),n=lt(function(a){return{draggableId:a.id,type:a.type,source:{index:a.index,droppableId:a.droppableId}}}),i=lt(function(a,l,s,u,c,f){var d=c.descriptor.id,p=c.descriptor.droppableId===a;if(p){var m=f?{render:f,dragging:n(c.descriptor)}:null,b={isDraggingOver:s,draggingOverWith:s?d:null,draggingFromThisWith:d,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!1,snapshot:b,useClone:m}}if(!l)return r;if(!u)return t;var v={isDraggingOver:s,draggingOverWith:d,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!0,snapshot:v,useClone:null}}),o=function(l,s){var u=s.droppableId,c=s.type,f=!s.isDropDisabled,d=s.renderClone;if(l.isDragging){var p=l.critical;if(!xg(c,p))return r;var m=UI(p,l.dimensions),b=pr(l.impact)===u;return i(u,f,b,b,m,d)}if(l.phase==="DROP_ANIMATING"){var v=l.completed;if(!xg(c,v.critical))return r;var h=UI(v.critical,l.dimensions);return i(u,f,eU(v.result)===u,pr(v.impact)===u,h,d)}if(l.phase==="IDLE"&&l.completed&&!l.shouldFlush){var g=l.completed;if(!xg(c,g.critical))return r;var y=pr(g.impact)===u,x=!!(g.impact.at&&g.impact.at.type==="COMBINE"),C=g.critical.droppable.id===u;return y?x?t:r:C?t:r}return r};return o},uue={updateViewportMaxScroll:yae};function cue(){return document.body||j(!1),document.body}var due={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:cue},fue=W6(sue,uue,null,{context:uE,pure:!0,areStatePropsEqual:Zj})(lue);fue.defaultProps=due;var pue=typeof performance=="object"&&typeof performance.now=="function",WI=pue?function(){return performance.now()}:function(){return Date.now()};function KI(e){cancelAnimationFrame(e.id)}function vue(e,t){var r=WI();function n(){WI()-r>=t?e.call(null):i.id=requestAnimationFrame(n)}var i={id:requestAnimationFrame(n)};return i}var ca=null;function HI(e){if(e===void 0&&(e=!1),ca===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),i=n.style;return i.width="100px",i.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?ca="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?ca="negative":ca="positive-ascending"),document.body.removeChild(t),ca}return ca}var mue=150,hue=function(t,r){return t};function gue(e){var t,r,n=e.getItemOffset,i=e.getEstimatedTotalSize,o=e.getItemSize,a=e.getOffsetForIndexAndAlignment,l=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,u=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return r=t=function(d){Gu(p,d);function p(b){var v;return v=d.call(this,b)||this,v._instanceProps=u(v.props,Gc(Gc(v))),v._outerRef=void 0,v._resetIsScrollingTimeoutId=null,v.state={instance:Gc(Gc(v)),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof v.props.initialScrollOffset=="number"?v.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},v._callOnItemsRendered=void 0,v._callOnItemsRendered=lt(function(h,g,y,x){return v.props.onItemsRendered({overscanStartIndex:h,overscanStopIndex:g,visibleStartIndex:y,visibleStopIndex:x})}),v._callOnScroll=void 0,v._callOnScroll=lt(function(h,g,y){return v.props.onScroll({scrollDirection:h,scrollOffset:g,scrollUpdateWasRequested:y})}),v._getItemStyle=void 0,v._getItemStyle=function(h){var g=v.props,y=g.direction,x=g.itemSize,C=g.layout,E=v._getItemStyleCache(c&&x,c&&C,c&&y),P;if(E.hasOwnProperty(h))P=E[h];else{var S=n(v.props,h,v._instanceProps),I=o(v.props,h,v._instanceProps),_=y==="horizontal"||C==="horizontal",T=y==="rtl",k=_?S:0;E[h]=P={position:"absolute",left:T?void 0:k,right:T?k:void 0,top:_?0:S,height:_?"100%":I,width:_?I:"100%"}}return P},v._getItemStyleCache=void 0,v._getItemStyleCache=lt(function(h,g,y){return{}}),v._onScrollHorizontal=function(h){var g=h.currentTarget,y=g.clientWidth,x=g.scrollLeft,C=g.scrollWidth;v.setState(function(E){if(E.scrollOffset===x)return null;var P=v.props.direction,S=x;if(P==="rtl")switch(HI()){case"negative":S=-x;break;case"positive-descending":S=C-y-x;break}return S=Math.max(0,Math.min(S,C-y)),{isScrolling:!0,scrollDirection:E.scrollOffset<x?"forward":"backward",scrollOffset:S,scrollUpdateWasRequested:!1}},v._resetIsScrollingDebounced)},v._onScrollVertical=function(h){var g=h.currentTarget,y=g.clientHeight,x=g.scrollHeight,C=g.scrollTop;v.setState(function(E){if(E.scrollOffset===C)return null;var P=Math.max(0,Math.min(C,x-y));return{isScrolling:!0,scrollDirection:E.scrollOffset<P?"forward":"backward",scrollOffset:P,scrollUpdateWasRequested:!1}},v._resetIsScrollingDebounced)},v._outerRefSetter=function(h){var g=v.props.outerRef;v._outerRef=h,typeof g=="function"?g(h):g!=null&&typeof g=="object"&&g.hasOwnProperty("current")&&(g.current=h)},v._resetIsScrollingDebounced=function(){v._resetIsScrollingTimeoutId!==null&&KI(v._resetIsScrollingTimeoutId),v._resetIsScrollingTimeoutId=vue(v._resetIsScrolling,mue)},v._resetIsScrolling=function(){v._resetIsScrollingTimeoutId=null,v.setState({isScrolling:!1},function(){v._getItemStyleCache(-1,null)})},v}p.getDerivedStateFromProps=function(v,h){return bue(v,h),f(v),null};var m=p.prototype;return m.scrollTo=function(v){v=Math.max(0,v),this.setState(function(h){return h.scrollOffset===v?null:{scrollDirection:h.scrollOffset<v?"forward":"backward",scrollOffset:v,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},m.scrollToItem=function(v,h){h===void 0&&(h="auto");var g=this.props.itemCount,y=this.state.scrollOffset;v=Math.max(0,Math.min(v,g-1)),this.scrollTo(a(this.props,v,h,y,this._instanceProps))},m.componentDidMount=function(){var v=this.props,h=v.direction,g=v.initialScrollOffset,y=v.layout;if(typeof g=="number"&&this._outerRef!=null){var x=this._outerRef;h==="horizontal"||y==="horizontal"?x.scrollLeft=g:x.scrollTop=g}this._callPropsCallbacks()},m.componentDidUpdate=function(){var v=this.props,h=v.direction,g=v.layout,y=this.state,x=y.scrollOffset,C=y.scrollUpdateWasRequested;if(C&&this._outerRef!=null){var E=this._outerRef;if(h==="horizontal"||g==="horizontal")if(h==="rtl")switch(HI()){case"negative":E.scrollLeft=-x;break;case"positive-ascending":E.scrollLeft=x;break;default:var P=E.clientWidth,S=E.scrollWidth;E.scrollLeft=S-P-x;break}else E.scrollLeft=x;else E.scrollTop=x}this._callPropsCallbacks()},m.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&KI(this._resetIsScrollingTimeoutId)},m.render=function(){var v=this.props,h=v.children,g=v.className,y=v.direction,x=v.height,C=v.innerRef,E=v.innerElementType,P=v.innerTagName,S=v.itemCount,I=v.itemData,_=v.itemKey,T=_===void 0?hue:_,k=v.layout,A=v.outerElementType,O=v.outerTagName,U=v.style,G=v.useIsScrolling,W=v.width,N=this.state.isScrolling,Y=y==="horizontal"||k==="horizontal",oe=Y?this._onScrollHorizontal:this._onScrollVertical,M=this._getRangeToRender(),L=M[0],F=M[1],K=[];if(S>0)for(var re=L;re<=F;re++)K.push($.createElement(h,{data:I,key:T(re,I),index:re,isScrolling:G?N:void 0,style:this._getItemStyle(re)}));var ge=i(this.props,this._instanceProps);return $.createElement(A||O||"div",{className:g,onScroll:oe,ref:this._outerRefSetter,style:Q({position:"relative",height:x,width:W,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:y},U)},$.createElement(E||P||"div",{children:K,ref:C,style:{height:Y?"100%":ge,pointerEvents:N?"none":void 0,width:Y?ge:"100%"}}))},m._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var v=this.props.itemCount;if(v>0){var h=this._getRangeToRender(),g=h[0],y=h[1],x=h[2],C=h[3];this._callOnItemsRendered(g,y,x,C)}}if(typeof this.props.onScroll=="function"){var E=this.state,P=E.scrollDirection,S=E.scrollOffset,I=E.scrollUpdateWasRequested;this._callOnScroll(P,S,I)}},m._getRangeToRender=function(){var v=this.props,h=v.itemCount,g=v.overscanCount,y=this.state,x=y.isScrolling,C=y.scrollDirection,E=y.scrollOffset;if(h===0)return[0,0,0,0];var P=l(this.props,E,this._instanceProps),S=s(this.props,P,E,this._instanceProps),I=!x||C==="backward"?Math.max(1,g):1,_=!x||C==="forward"?Math.max(1,g):1;return[Math.max(0,P-I),Math.max(0,Math.min(h-1,S+_)),P,S]},p}($.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},r}var bue=function(t,r){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,r.instance},Ige=gue({getItemOffset:function(t,r){var n=t.itemSize;return r*n},getItemSize:function(t,r){var n=t.itemSize;return n},getEstimatedTotalSize:function(t){var r=t.itemCount,n=t.itemSize;return n*r},getOffsetForIndexAndAlignment:function(t,r,n,i){var o=t.direction,a=t.height,l=t.itemCount,s=t.itemSize,u=t.layout,c=t.width,f=o==="horizontal"||u==="horizontal",d=f?c:a,p=Math.max(0,l*s-d),m=Math.min(p,r*s),b=Math.max(0,r*s-d+s);switch(n==="smart"&&(i>=b-d&&i<=m+d?n="auto":n="center"),n){case"start":return m;case"end":return b;case"center":{var v=Math.round(b+(m-b)/2);return v<Math.ceil(d/2)?0:v>p+Math.floor(d/2)?p:v}case"auto":default:return i>=b&&i<=m?i:i<b?b:m}},getStartIndexForOffset:function(t,r){var n=t.itemCount,i=t.itemSize;return Math.max(0,Math.min(n-1,Math.floor(r/i)))},getStopIndexForStartIndex:function(t,r,n){var i=t.direction,o=t.height,a=t.itemCount,l=t.itemSize,s=t.layout,u=t.width,c=i==="horizontal"||s==="horizontal",f=r*l,d=c?u:o,p=Math.ceil((d+n-f)/l);return Math.max(0,Math.min(a-1,r+p-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){t.itemSize}}),yue=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},$ue=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),xue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wue=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},VI=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},Sue=function(){function e(t,r){var n=[],i=!0,o=!1,a=void 0;try{for(var l=t[Symbol.iterator](),s;!(i=(s=l.next()).done)&&(n.push(s.value),!(r&&n.length===r));i=!0);}catch(u){o=!0,a=u}finally{try{!i&&l.return&&l.return()}finally{if(o)throw a}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Lr=void 0;typeof window<"u"?Lr=window:typeof self<"u"?Lr=self:Lr=global;var o4=null,a4=null,GI=20,wg=Lr.clearTimeout,qI=Lr.setTimeout,Sg=Lr.cancelAnimationFrame||Lr.mozCancelAnimationFrame||Lr.webkitCancelAnimationFrame,YI=Lr.requestAnimationFrame||Lr.mozRequestAnimationFrame||Lr.webkitRequestAnimationFrame;Sg==null||YI==null?(o4=wg,a4=function(t){return qI(t,GI)}):(o4=function(t){var r=Sue(t,2),n=r[0],i=r[1];Sg(n),wg(i)},a4=function(t){var r=YI(function(){wg(n),t()}),n=qI(function(){Sg(r),t()},GI);return[r,n]});function Eue(e){var t=void 0,r=void 0,n=void 0,i=void 0,o=void 0,a=void 0,l=void 0,s=typeof document<"u"&&document.attachEvent;if(!s){a=function(x){var C=x.__resizeTriggers__,E=C.firstElementChild,P=C.lastElementChild,S=E.firstElementChild;P.scrollLeft=P.scrollWidth,P.scrollTop=P.scrollHeight,S.style.width=E.offsetWidth+1+"px",S.style.height=E.offsetHeight+1+"px",E.scrollLeft=E.scrollWidth,E.scrollTop=E.scrollHeight},o=function(x){return x.offsetWidth!==x.__resizeLast__.width||x.offsetHeight!==x.__resizeLast__.height},l=function(x){if(!(x.target.className&&typeof x.target.className.indexOf=="function"&&x.target.className.indexOf("contract-trigger")<0&&x.target.className.indexOf("expand-trigger")<0)){var C=this;a(this),this.__resizeRAF__&&o4(this.__resizeRAF__),this.__resizeRAF__=a4(function(){o(C)&&(C.__resizeLast__.width=C.offsetWidth,C.__resizeLast__.height=C.offsetHeight,C.__resizeListeners__.forEach(function(S){S.call(C,x)}))})}};var u=!1,c="";n="animationstart";var f="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p="";{var m=document.createElement("fakeelement");if(m.style.animationName!==void 0&&(u=!0),u===!1){for(var b=0;b<f.length;b++)if(m.style[f[b]+"AnimationName"]!==void 0){p=f[b],c="-"+p.toLowerCase()+"-",n=d[b],u=!0;break}}}r="resizeanim",t="@"+c+"keyframes "+r+" { from { opacity: 0; } to { opacity: 0; } } ",i=c+"animation: 1ms "+r+"; "}var v=function(x){if(!x.getElementById("detectElementResize")){var C=(t||"")+".resize-triggers { "+(i||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',E=x.head||x.getElementsByTagName("head")[0],P=x.createElement("style");P.id="detectElementResize",P.type="text/css",e!=null&&P.setAttribute("nonce",e),P.styleSheet?P.styleSheet.cssText=C:P.appendChild(x.createTextNode(C)),E.appendChild(P)}},h=function(x,C){if(s)x.attachEvent("onresize",C);else{if(!x.__resizeTriggers__){var E=x.ownerDocument,P=Lr.getComputedStyle(x);P&&P.position==="static"&&(x.style.position="relative"),v(E),x.__resizeLast__={},x.__resizeListeners__=[],(x.__resizeTriggers__=E.createElement("div")).className="resize-triggers";var S=E.createElement("div");S.className="expand-trigger",S.appendChild(E.createElement("div"));var I=E.createElement("div");I.className="contract-trigger",x.__resizeTriggers__.appendChild(S),x.__resizeTriggers__.appendChild(I),x.appendChild(x.__resizeTriggers__),a(x),x.addEventListener("scroll",l,!0),n&&(x.__resizeTriggers__.__animationListener__=function(T){T.animationName===r&&a(x)},x.__resizeTriggers__.addEventListener(n,x.__resizeTriggers__.__animationListener__))}x.__resizeListeners__.push(C)}},g=function(x,C){if(s)x.detachEvent("onresize",C);else if(x.__resizeListeners__.splice(x.__resizeListeners__.indexOf(C),1),!x.__resizeListeners__.length){x.removeEventListener("scroll",l,!0),x.__resizeTriggers__.__animationListener__&&(x.__resizeTriggers__.removeEventListener(n,x.__resizeTriggers__.__animationListener__),x.__resizeTriggers__.__animationListener__=null);try{x.__resizeTriggers__=!x.removeChild(x.__resizeTriggers__)}catch{}}};return{addResizeListener:h,removeResizeListener:g}}var Cue=function(e){wue(t,e);function t(){var r,n,i,o;yue(this,t);for(var a=arguments.length,l=Array(a),s=0;s<a;s++)l[s]=arguments[s];return o=(n=(i=VI(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(l))),i),i.state={height:i.props.defaultHeight||0,width:i.props.defaultWidth||0},i._onResize=function(){var u=i.props,c=u.disableHeight,f=u.disableWidth,d=u.onResize;if(i._parentNode){var p=i._parentNode.offsetHeight||0,m=i._parentNode.offsetWidth||0,b=window.getComputedStyle(i._parentNode)||{},v=parseInt(b.paddingLeft,10)||0,h=parseInt(b.paddingRight,10)||0,g=parseInt(b.paddingTop,10)||0,y=parseInt(b.paddingBottom,10)||0,x=p-g-y,C=m-v-h;(!c&&i.state.height!==x||!f&&i.state.width!==C)&&(i.setState({height:p-g-y,width:m-v-h}),d({height:p,width:m}))}},i._setRef=function(u){i._autoSizer=u},n),VI(i,o)}return $ue(t,[{key:"componentDidMount",value:function(){var n=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=Eue(n),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var n=this.props,i=n.children,o=n.className,a=n.disableHeight,l=n.disableWidth,s=n.style,u=this.state,c=u.height,f=u.width,d={overflow:"visible"},p={},m=!1;return a||(c===0&&(m=!0),d.height=0,p.height=c),l||(f===0&&(m=!0),d.width=0,p.width=f),$.createElement("div",{className:o,ref:this._setRef,style:xue({},d,s)},!m&&i(p))}}]),t}($.PureComponent);Cue.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};var Pue=9007199254740991,Iue="[object Arguments]",Tue="[object Function]",Aue="[object GeneratorFunction]",Oue=typeof be=="object"&&be&&be.Object===Object&&be,Rue=typeof self=="object"&&self&&self.Object===Object&&self,_ue=Oue||Rue||Function("return this")();function kue(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var pE=Object.prototype,Due=pE.hasOwnProperty,nU=pE.toString,XI=_ue.Symbol,Mue=pE.propertyIsEnumerable,QI=XI?XI.isConcatSpreadable:void 0;function iU(e,t,r,n,i){var o=-1,a=e.length;for(r||(r=Nue),i||(i=[]);++o<a;){var l=e[o];t>0&&r(l)?t>1?iU(l,t-1,r,n,i):kue(i,l):n||(i[i.length]=l)}return i}function Nue(e){return Bue(e)||Fue(e)||!!(QI&&e&&e[QI])}function Lue(e){var t=e?e.length:0;return t?iU(e,1):[]}function Fue(e){return jue(e)&&Due.call(e,"callee")&&(!Mue.call(e,"callee")||nU.call(e)==Iue)}var Bue=Array.isArray;function zue(e){return e!=null&&Wue(e.length)&&!Uue(e)}function jue(e){return Hue(e)&&zue(e)}function Uue(e){var t=Kue(e)?nU.call(e):"";return t==Tue||t==Aue}function Wue(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Pue}function Kue(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Hue(e){return!!e&&typeof e=="object"}var Vue=Lue;const Tge=rr(Vue);var JI=0/0,Gue="[object Symbol]",que=/^\s+|\s+$/g,Yue=/^[-+]0x[0-9a-f]+$/i,Xue=/^0b[01]+$/i,Que=/^0o[0-7]+$/i,Jue=parseInt,Zue=Object.prototype,ece=Zue.toString;function tce(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}function ZI(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function rce(e){return!!e&&typeof e=="object"}function nce(e){return typeof e=="symbol"||rce(e)&&ece.call(e)==Gue}function Eg(e){if(typeof e=="number")return e;if(nce(e))return JI;if(ZI(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ZI(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(que,"");var r=Xue.test(e);return r||Que.test(e)?Jue(e.slice(2),r?2:8):Yue.test(e)?JI:+e}function ice(e,t,r){return r===void 0&&(r=t,t=void 0),r!==void 0&&(r=Eg(r),r=r===r?r:0),t!==void 0&&(t=Eg(t),t=t===t?t:0),tce(Eg(e),t,r)}var oce=ice;const Age=rr(oce);/*! js-cookie v3.0.5 | MIT */function gd(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var ace={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function l4(e,t){function r(i,o,a){if(!(typeof document>"u")){a=gd({},t,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var s in a)a[s]&&(l+="; "+s,a[s]!==!0&&(l+="="+a[s].split(";")[0]));return document.cookie=i+"="+e.write(o,i)+l}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var o=document.cookie?document.cookie.split("; "):[],a={},l=0;l<o.length;l++){var s=o[l].split("="),u=s.slice(1).join("=");try{var c=decodeURIComponent(s[0]);if(a[c]=e.read(u,c),i===c)break}catch{}}return i?a[i]:a}}return Object.create({set:r,get:n,remove:function(i,o){r(i,"",gd({},o,{expires:-1}))},withAttributes:function(i){return l4(this.converter,gd({},this.attributes,i))},withConverter:function(i){return l4(gd({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Oge=l4(ace,{path:"/"});var pc={},jv={},oU={};(function(e){e.__esModule=!0;var t=function(r){var n={};return function(i){return i in n||(n[i]=r(i)),n[i]}};e.default=t})(oU);var aU={};const lce={},sce=Object.freeze(Object.defineProperty({__proto__:null,default:lce},Symbol.toStringTag,{value:"Module"})),s4=YW(sce);var Mo={};Mo.__esModule=!0;Mo.InternalServerError=Mo.OK=void 0;Mo.OK=200;Mo.InternalServerError=500;(function(e){var t=be&&be.__spreadArray||function(l,s,u){if(u||arguments.length===2)for(var c=0,f=s.length,d;c<f;c++)(d||!(c in s))&&(d||(d=Array.prototype.slice.call(s,0,c)),d[c]=s[c]);return l.concat(d||Array.prototype.slice.call(s))};e.__esModule=!0;var r=s4,n=s4,i=Mo,o=function(l){for(var s=[],u=1;u<arguments.length;u++)s[u-1]=arguments[u];return typeof l!="string"?{on:function(c,f){f(new Error("URL must be a string."))}}:l.indexOf("https://")===0?n.get.apply(n,t([l],s,!1)):r.get.apply(r,t([l],s,!1))},a=function(l){return new Promise(function(s,u){o(l,function(c){if(c.statusCode!==i.OK)return u(new Error("HTTP Error Response: "+c.statusCode+" "+c.statusMessage+" ("+l+")"));var f=null;c.on("data",function(d){if(f===null){f=d;return}f+=d}),c.on("end",function(){return s(f)})}).on("error",u)})};e.default=a})(aU);var lU={},Ri={};Ri.__esModule=!0;Ri.DONE=Ri.OPENED=Ri.UNSENT=void 0;Ri.UNSENT=0;Ri.OPENED=1;Ri.DONE=4;(function(e){e.__esModule=!0;var t=Mo,r=Ri,n=function(i){return new Promise(function(o,a){var l=new XMLHttpRequest;l.onreadystatechange=function(){l.readyState===r.DONE&&(l.status===t.OK?o(l.responseText):a(new Error("HTTP Error Response: "+l.status+" "+l.statusText+" ("+i+")")))},l.open("GET",i,!0),l.send()})};e.default=n})(lU);jv.__esModule=!0;jv.createLoadRemoteModule=void 0;var uce=oU,cce=aU,dce=lU,fce=typeof window<"u"&&typeof window.document<"u",pce=fce?dce.default:cce.default,vce=function(e){throw new Error("Could not require '"+e+"'. The 'requires' function was not provided.")},mce=function(e){var t=e===void 0?{}:e,r=t.requires,n=t.fetcher,i=r||vce,o=n||pce;return(0,uce.default)(function(a){return o(a).then(function(l){var s={},u={exports:s},c=new Function("require","module","exports",l);return c(i,u,s),u.exports})})};jv.createLoadRemoteModule=mce;var Uv={};Uv.__esModule=!0;Uv.createRequires=void 0;var hce=function(e){return function(t){var r=e||{};if(!(t in r))throw new Error("Could not require '"+t+"'. '"+t+"' does not exist in dependencies.");return r[t]}};Uv.createRequires=hce;(function(e){var t=be&&be.__createBinding||(Object.create?function(i,o,a,l){l===void 0&&(l=a),Object.defineProperty(i,l,{enumerable:!0,get:function(){return o[a]}})}:function(i,o,a,l){l===void 0&&(l=a),i[l]=o[a]});e.__esModule=!0,e.createRequires=e.default=void 0;var r=jv;t(e,r,"createLoadRemoteModule","default");var n=Uv;t(e,n,"createRequires")})(pc);const Rge=rr(pc);var gce={},vc={},bce=be&&be.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};vc.__esModule=!0;vc.createUseRemoteComponent=void 0;var eT=$,yce=bce(pc),$ce=function(e){var t=yce.default(e),r=function(n,i){i===void 0&&(i="default");var o=eT.useState({loading:!0,err:void 0,component:void 0}),a=o[0],l=a.loading,s=a.err,u=a.component,c=o[1];return eT.useEffect(function(){var f=c;return f({loading:!0,err:void 0,component:void 0}),t(n).then(function(d){return f({loading:!1,err:void 0,component:d[i]})}).catch(function(d){return f({loading:!1,err:d,component:void 0})}),function(){f=function(){}}},[n]),[l,s,u]};return r};vc.createUseRemoteComponent=$ce;var mc={};mc.__esModule=!0;mc.createRequires=void 0;var xce=function(e){return typeof e=="function"?e():e||{}},wce=function(e){var t=!1;return function(r){if(t||(e=xce(e),t=!0),!(r in e))throw new Error("Could not require '"+r+"'. '"+r+"' does not exist in dependencies.");return e[r]}};mc.createRequires=wce;var vE={};(function(e){var t=be&&be.__assign||function(){return t=Object.assign||function(a){for(var l,s=1,u=arguments.length;s<u;s++){l=arguments[s];for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&(a[c]=l[c])}return a},t.apply(this,arguments)};e.__esModule=!0,e.getDependencies=e.ensureRemoteComponentConfig=void 0;var r=function(a){return a&&typeof a.message=="string"&&a.message.indexOf("Cannot find module")>-1},n=function(a){return typeof a=="object"&&"remote-component.config.js"in a},i=function(a){var l=a.resolve;if(n(l))return l;var s=t({},l);return s["remote-component.config.js"]={resolve:s},s};e.ensureRemoteComponentConfig=i;var o=function(){try{return e.ensureRemoteComponentConfig(require("remote-component.config.js"))}catch(a){if(!r(a))throw a;return{}}};e.getDependencies=o})(vE);var hc={},u4=be&&be.__assign||function(){return u4=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},u4.apply(this,arguments)},Sce=be&&be.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},Ece=be&&be.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};hc.__esModule=!0;hc.createRemoteComponent=void 0;var tT=Ece($),Cce=vc,Pce=function(e){var t=Cce.createUseRemoteComponent(e),r=function(n){var i=n.url,o=n.fallback,a=o===void 0?null:o,l=n.render,s=Sce(n,["url","fallback","render"]),u=t(i),c=u[0],f=u[1],d=u[2];return c?a:l?l({err:f,Component:d}):f||!d?tT.default.createElement("div",null,"Unknown Error: ",(f||"UNKNOWN").toString()):tT.default.createElement(d,u4({},s))};return r};hc.createRemoteComponent=Pce;var Wv={};Wv.__esModule=!0;Wv.RemoteComponent=void 0;var Ice=hc,Tce=mc,Ace=vE,Oce=Tce.createRequires(Ace.getDependencies);Wv.RemoteComponent=Ice.createRemoteComponent({requires:Oce});var Kv={},Rce=be&&be.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Kv.__esModule=!0;Kv.fetchRemoteComponent=void 0;var _ce=Rce(pc),kce=function(e){var t=e.requires,r=e.fetcher,n=e.url,i=e.imports,o=i===void 0?"default":i,a=_ce.default({requires:t,fetcher:r});return a(n).then(function(l){var s=l&&l[o];if(!s)throw new Error("Could not load '"+o+"' from '"+n+"'.");return s})};Kv.fetchRemoteComponent=kce;var Hv={},Dce=be&&be.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Hv.__esModule=!0;Hv.getServerSideProps=void 0;var Mce=Dce(pc),Nce=function(e){var t=e.url,r=e.requires,n=e.context,i=e.imports,o=i===void 0?"default":i,a=Mce.default({requires:r});return a(t).then(function(l){var s=l&&l[o]&&l[o].getServerSideProps;return typeof s=="function"?s(n):{}})};Hv.getServerSideProps=Nce;(function(e){var t=be&&be.__createBinding||(Object.create?function(u,c,f,d){d===void 0&&(d=f),Object.defineProperty(u,d,{enumerable:!0,get:function(){return c[f]}})}:function(u,c,f,d){d===void 0&&(d=f),u[d]=c[f]});e.__esModule=!0,e.getServerSideProps=e.fetchRemoteComponent=e.RemoteComponent=e.createRemoteComponent=e.getDependencies=e.createRequires=e.createUseRemoteComponent=void 0;var r=vc;t(e,r,"createUseRemoteComponent");var n=mc;t(e,n,"createRequires");var i=vE;t(e,i,"getDependencies");var o=hc;t(e,o,"createRemoteComponent");var a=Wv;t(e,a,"RemoteComponent");var l=Kv;t(e,l,"fetchRemoteComponent");var s=Hv;t(e,s,"getServerSideProps")})(gce);var rT=Object.prototype.toString,sU=function(t){var r=rT.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&rT.call(t.callee)==="[object Function]"),n},Cg,nT;function Lce(){if(nT)return Cg;nT=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=sU,i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),a=i.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=function(d){var p=d.constructor;return p&&p.prototype===d},u={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=function(){if(typeof window>"u")return!1;for(var d in window)try{if(!u["$"+d]&&t.call(window,d)&&window[d]!==null&&typeof window[d]=="object")try{s(window[d])}catch{return!0}}catch{return!0}return!1}(),f=function(d){if(typeof window>"u"||!c)return s(d);try{return s(d)}catch{return!1}};e=function(p){var m=p!==null&&typeof p=="object",b=r.call(p)==="[object Function]",v=n(p),h=m&&r.call(p)==="[object String]",g=[];if(!m&&!b&&!v)throw new TypeError("Object.keys called on a non-object");var y=a&&b;if(h&&p.length>0&&!t.call(p,0))for(var x=0;x<p.length;++x)g.push(String(x));if(v&&p.length>0)for(var C=0;C<p.length;++C)g.push(String(C));else for(var E in p)!(y&&E==="prototype")&&t.call(p,E)&&g.push(String(E));if(o)for(var P=f(p),S=0;S<l.length;++S)!(P&&l[S]==="constructor")&&t.call(p,l[S])&&g.push(l[S]);return g}}return Cg=e,Cg}var Fce=Array.prototype.slice,Bce=sU,iT=Object.keys,Vd=iT?function(t){return iT(t)}:Lce(),oT=Object.keys;Vd.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return Bce(n)?oT(Fce.call(n)):oT(n)})}else Object.keys=Vd;return Object.keys||Vd};var mE=Vd,Vv=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,r);if(a.value!==i||a.enumerable!==!0)return!1}return!0},zce=Vv,Xi=function(){return zce()&&!!Symbol.toStringTag},aT=typeof Symbol<"u"&&Symbol,jce=Vv,hE=function(){return typeof aT!="function"||typeof Symbol!="function"||typeof aT("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:jce()},Uce="Function.prototype.bind called on incompatible ",Pg=Array.prototype.slice,Wce=Object.prototype.toString,Kce="[object Function]",Hce=function(t){var r=this;if(typeof r!="function"||Wce.call(r)!==Kce)throw new TypeError(Uce+r);for(var n=Pg.call(arguments,1),i,o=function(){if(this instanceof i){var c=r.apply(this,n.concat(Pg.call(arguments)));return Object(c)===c?c:this}else return r.apply(t,n.concat(Pg.call(arguments)))},a=Math.max(0,r.length-n.length),l=[],s=0;s<a;s++)l.push("$"+s);if(i=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i},Vce=Hce,gE=Function.prototype.bind||Vce,Gce=gE,qce=Gce.call(Function.call,Object.prototype.hasOwnProperty),$e,ml=SyntaxError,uU=Function,Qa=TypeError,Ig=function(e){try{return uU('"use strict"; return ('+e+").constructor;")()}catch{}},So=Object.getOwnPropertyDescriptor;if(So)try{So({},"")}catch{So=null}var Tg=function(){throw new Qa},Yce=So?function(){try{return arguments.callee,Tg}catch{try{return So(arguments,"callee").get}catch{return Tg}}}():Tg,da=hE(),li=Object.getPrototypeOf||function(e){return e.__proto__},ya={},Xce=typeof Uint8Array>"u"?$e:li(Uint8Array),Ja={"%AggregateError%":typeof AggregateError>"u"?$e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?$e:ArrayBuffer,"%ArrayIteratorPrototype%":da?li([][Symbol.iterator]()):$e,"%AsyncFromSyncIteratorPrototype%":$e,"%AsyncFunction%":ya,"%AsyncGenerator%":ya,"%AsyncGeneratorFunction%":ya,"%AsyncIteratorPrototype%":ya,"%Atomics%":typeof Atomics>"u"?$e:Atomics,"%BigInt%":typeof BigInt>"u"?$e:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?$e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?$e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?$e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?$e:FinalizationRegistry,"%Function%":uU,"%GeneratorFunction%":ya,"%Int8Array%":typeof Int8Array>"u"?$e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?$e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?$e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":da?li(li([][Symbol.iterator]())):$e,"%JSON%":typeof JSON=="object"?JSON:$e,"%Map%":typeof Map>"u"?$e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!da?$e:li(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?$e:Promise,"%Proxy%":typeof Proxy>"u"?$e:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?$e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?$e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!da?$e:li(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?$e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":da?li(""[Symbol.iterator]()):$e,"%Symbol%":da?Symbol:$e,"%SyntaxError%":ml,"%ThrowTypeError%":Yce,"%TypedArray%":Xce,"%TypeError%":Qa,"%Uint8Array%":typeof Uint8Array>"u"?$e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?$e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?$e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?$e:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?$e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?$e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?$e:WeakSet},Qce=function e(t){var r;if(t==="%AsyncFunction%")r=Ig("async function () {}");else if(t==="%GeneratorFunction%")r=Ig("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Ig("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&(r=li(i.prototype))}return Ja[t]=r,r},lT={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},gc=gE,tp=qce,Jce=gc.call(Function.call,Array.prototype.concat),Zce=gc.call(Function.apply,Array.prototype.splice),sT=gc.call(Function.call,String.prototype.replace),rp=gc.call(Function.call,String.prototype.slice),ede=gc.call(Function.call,RegExp.prototype.exec),tde=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,rde=/\\(\\)?/g,nde=function(t){var r=rp(t,0,1),n=rp(t,-1);if(r==="%"&&n!=="%")throw new ml("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new ml("invalid intrinsic syntax, expected opening `%`");var i=[];return sT(t,tde,function(o,a,l,s){i[i.length]=l?sT(s,rde,"$1"):a||o}),i},ide=function(t,r){var n=t,i;if(tp(lT,n)&&(i=lT[n],n="%"+i[0]+"%"),tp(Ja,n)){var o=Ja[n];if(o===ya&&(o=Qce(n)),typeof o>"u"&&!r)throw new Qa("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new ml("intrinsic "+t+" does not exist!")},Qi=function(t,r){if(typeof t!="string"||t.length===0)throw new Qa("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Qa('"allowMissing" argument must be a boolean');if(ede(/^%?[^%]*%?$/,t)===null)throw new ml("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=nde(t),i=n.length>0?n[0]:"",o=ide("%"+i+"%",r),a=o.name,l=o.value,s=!1,u=o.alias;u&&(i=u[0],Zce(n,Jce([0,1],u)));for(var c=1,f=!0;c<n.length;c+=1){var d=n[c],p=rp(d,0,1),m=rp(d,-1);if((p==='"'||p==="'"||p==="`"||m==='"'||m==="'"||m==="`")&&p!==m)throw new ml("property names with quotes must have matching quotes");if((d==="constructor"||!f)&&(s=!0),i+="."+d,a="%"+i+"%",tp(Ja,a))l=Ja[a];else if(l!=null){if(!(d in l)){if(!r)throw new Qa("base intrinsic for "+t+" exists, but the property is not available.");return}if(So&&c+1>=n.length){var b=So(l,d);f=!!b,f&&"get"in b&&!("originalValue"in b.get)?l=b.get:l=l[d]}else f=tp(l,d),l=l[d];f&&!s&&(Ja[a]=l)}}return l},cU={exports:{}};(function(e){var t=gE,r=Qi,n=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),o=r("%Reflect.apply%",!0)||t.call(i,n),a=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),s=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}e.exports=function(f){var d=o(t,i,arguments);if(a&&l){var p=a(d,"length");p.configurable&&l(d,"length",{value:1+s(0,f.length-(arguments.length-1))})}return d};var u=function(){return o(t,n,arguments)};l?l(e.exports,"apply",{value:u}):e.exports.apply=u})(cU);var Gv=cU.exports,dU=Qi,fU=Gv,ode=fU(dU("String.prototype.indexOf")),En=function(t,r){var n=dU(t,!!r);return typeof n=="function"&&ode(t,".prototype.")>-1?fU(n):n},ade=Xi(),lde=En,c4=lde("Object.prototype.toString"),qv=function(t){return ade&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:c4(t)==="[object Arguments]"},pU=function(t){return qv(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&c4(t)!=="[object Array]"&&c4(t.callee)==="[object Function]"},sde=function(){return qv(arguments)}();qv.isLegacyArguments=pU;var vU=sde?qv:pU,ude=Qi,d4=ude("%Object.defineProperty%",!0),f4=function(){if(d4)try{return d4({},"a",{value:1}),!0}catch{return!1}return!1};f4.hasArrayLengthDefineBug=function(){if(!f4())return null;try{return d4([],"length",{value:1}).length!==1}catch{return!0}};var cde=f4,dde=mE,fde=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",pde=Object.prototype.toString,vde=Array.prototype.concat,mU=Object.defineProperty,mde=function(e){return typeof e=="function"&&pde.call(e)==="[object Function]"},hde=cde(),hU=mU&&hde,gde=function(e,t,r,n){t in e&&(!mde(n)||!n())||(hU?mU(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},gU=function(e,t){var r=arguments.length>2?arguments[2]:{},n=dde(t);fde&&(n=vde.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i<n.length;i+=1)gde(e,n[i],t[n[i]],r[n[i]])};gU.supportsDescriptors=!!hU;var Xo=gU,uT=function(e){return e!==e},bU=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||uT(t)&&uT(r))},bde=bU,yU=function(){return typeof Object.is=="function"?Object.is:bde},yde=yU,$de=Xo,xde=function(){var t=yde();return $de(Object,{is:t},{is:function(){return Object.is!==t}}),t},wde=Xo,Sde=Gv,Ede=bU,$U=yU,Cde=xde,xU=Sde($U(),Object);wde(xU,{getPolyfill:$U,implementation:Ede,shim:Cde});var Pde=xU,p4=En,wU=Xi(),SU,EU,v4,m4;if(wU){SU=p4("Object.prototype.hasOwnProperty"),EU=p4("RegExp.prototype.exec"),v4={};var Ag=function(){throw v4};m4={toString:Ag,valueOf:Ag},typeof Symbol.toPrimitive=="symbol"&&(m4[Symbol.toPrimitive]=Ag)}var Ide=p4("Object.prototype.toString"),Tde=Object.getOwnPropertyDescriptor,Ade="[object RegExp]",Ode=wU?function(t){if(!t||typeof t!="object")return!1;var r=Tde(t,"lastIndex"),n=r&&SU(r,"value");if(!n)return!1;try{EU(t,m4)}catch(i){return i===v4}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:Ide(t)===Ade},CU={exports:{}},Pu=function(){return typeof function(){}.name=="string"},Us=Object.getOwnPropertyDescriptor;if(Us)try{Us([],"length")}catch{Us=null}Pu.functionsHaveConfigurableNames=function(){if(!Pu()||!Us)return!1;var t=Us(function(){},"name");return!!t&&!!t.configurable};var Rde=Function.prototype.bind;Pu.boundFunctionsHaveNames=function(){return Pu()&&typeof Rde=="function"&&function(){}.bind().name!==""};var _de=Pu;(function(e){var t=_de.functionsHaveConfigurableNames(),r=Object,n=TypeError;e.exports=function(){if(this!=null&&this!==r(this))throw new n("RegExp.prototype.flags getter called on non-object");var o="";return this.hasIndices&&(o+="d"),this.global&&(o+="g"),this.ignoreCase&&(o+="i"),this.multiline&&(o+="m"),this.dotAll&&(o+="s"),this.unicode&&(o+="u"),this.sticky&&(o+="y"),o},t&&Object.defineProperty&&Object.defineProperty(e.exports,"name",{value:"get flags"})})(CU);var PU=CU.exports,kde=PU,Dde=Xo.supportsDescriptors,Mde=Object.getOwnPropertyDescriptor,IU=function(){if(Dde&&/a/mig.flags==="gim"){var t=Mde(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),r==="dy")return t.get}}return kde},Nde=Xo.supportsDescriptors,Lde=IU,Fde=Object.getOwnPropertyDescriptor,Bde=Object.defineProperty,zde=TypeError,cT=Object.getPrototypeOf,jde=/a/,Ude=function(){if(!Nde||!cT)throw new zde("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=Lde(),r=cT(jde),n=Fde(r,"flags");return(!n||n.get!==t)&&Bde(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},Wde=Xo,Kde=Gv,Hde=PU,TU=IU,Vde=Ude,AU=Kde(TU());Wde(AU,{getPolyfill:TU,implementation:Hde,shim:Vde});var Gde=AU,qde={}.toString,OU=Array.isArray||function(e){return qde.call(e)=="[object Array]"},Yde=Date.prototype.getDay,Xde=function(t){try{return Yde.call(t),!0}catch{return!1}},Qde=Object.prototype.toString,Jde="[object Date]",Zde=Xi(),efe=function(t){return typeof t!="object"||t===null?!1:Zde?Xde(t):Qde.call(t)===Jde},tfe=String.prototype.valueOf,rfe=function(t){try{return tfe.call(t),!0}catch{return!1}},nfe=Object.prototype.toString,ife="[object String]",ofe=Xi(),RU=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:ofe?rfe(t):nfe.call(t)===ife},afe=Number.prototype.toString,lfe=function(t){try{return afe.call(t),!0}catch{return!1}},sfe=Object.prototype.toString,ufe="[object Number]",cfe=Xi(),dfe=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:cfe?lfe(t):sfe.call(t)===ufe},_U=En,ffe=_U("Boolean.prototype.toString"),pfe=_U("Object.prototype.toString"),vfe=function(t){try{return ffe(t),!0}catch{return!1}},mfe="[object Boolean]",hfe=Xi(),gfe=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:hfe&&Symbol.toStringTag in t?vfe(t):pfe(t)===mfe},h4={exports:{}},bfe=Object.prototype.toString,yfe=hE();if(yfe){var $fe=Symbol.prototype.toString,xfe=/^Symbol\(.*\)$/,wfe=function(t){return typeof t.valueOf()!="symbol"?!1:xfe.test($fe.call(t))};h4.exports=function(t){if(typeof t=="symbol")return!0;if(bfe.call(t)!=="[object Symbol]")return!1;try{return wfe(t)}catch{return!1}}}else h4.exports=function(t){return!1};var Sfe=h4.exports,g4={exports:{}},dT=typeof BigInt<"u"&&BigInt,Efe=function(){return typeof dT=="function"&&typeof BigInt=="function"&&typeof dT(42)=="bigint"&&typeof BigInt(42)=="bigint"},Cfe=Efe();if(Cfe){var Pfe=BigInt.prototype.valueOf,Ife=function(t){try{return Pfe.call(t),!0}catch{}return!1};g4.exports=function(t){return t===null||typeof t>"u"||typeof t=="boolean"||typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="function"?!1:typeof t=="bigint"?!0:Ife(t)}}else g4.exports=function(t){return!1};var Tfe=g4.exports,Afe=RU,Ofe=dfe,Rfe=gfe,_fe=Sfe,kfe=Tfe,Dfe=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(Afe(t))return"String";if(Ofe(t))return"Number";if(Rfe(t))return"Boolean";if(_fe(t))return"Symbol";if(kfe(t))return"BigInt"},bE=typeof Map=="function"&&Map.prototype?Map:null,Mfe=typeof Set=="function"&&Set.prototype?Set:null,np;bE||(np=function(t){return!1});var kU=bE?Map.prototype.has:null,fT=Mfe?Set.prototype.has:null;!np&&!kU&&(np=function(t){return!1});var DU=np||function(t){if(!t||typeof t!="object")return!1;try{if(kU.call(t),fT)try{fT.call(t)}catch{return!0}return t instanceof bE}catch{}return!1},Nfe=typeof Map=="function"&&Map.prototype?Map:null,yE=typeof Set=="function"&&Set.prototype?Set:null,ip;yE||(ip=function(t){return!1});var pT=Nfe?Map.prototype.has:null,MU=yE?Set.prototype.has:null;!ip&&!MU&&(ip=function(t){return!1});var NU=ip||function(t){if(!t||typeof t!="object")return!1;try{if(MU.call(t),pT)try{pT.call(t)}catch{return!0}return t instanceof yE}catch{}return!1},op=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,vT=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,ap;op||(ap=function(t){return!1});var b4=op?op.prototype.has:null,Og=vT?vT.prototype.has:null;!ap&&!b4&&(ap=function(t){return!1});var Lfe=ap||function(t){if(!t||typeof t!="object")return!1;try{if(b4.call(t,b4),Og)try{Og.call(t,Og)}catch{return!0}return t instanceof op}catch{}return!1},y4={exports:{}},Ffe=Qi,LU=En,Bfe=Ffe("%WeakSet%",!0),Rg=LU("WeakSet.prototype.has",!0);if(Rg){var _g=LU("WeakMap.prototype.has",!0);y4.exports=function(t){if(!t||typeof t!="object")return!1;try{if(Rg(t,Rg),_g)try{_g(t,_g)}catch{return!0}return t instanceof Bfe}catch{}return!1}}else y4.exports=function(t){return!1};var zfe=y4.exports,jfe=DU,Ufe=NU,Wfe=Lfe,Kfe=zfe,Hfe=function(t){if(t&&typeof t=="object"){if(jfe(t))return"Map";if(Ufe(t))return"Set";if(Wfe(t))return"WeakMap";if(Kfe(t))return"WeakSet"}return!1},Gd={exports:{}},mT=vU;if(hE()||Vv()){var kg=Symbol.iterator;Gd.exports=function(t){if(t!=null&&typeof t[kg]<"u")return t[kg]();if(mT(t))return Array.prototype[kg].call(t)}}else{var Vfe=OU,Gfe=RU,hT=Qi,qfe=hT("%Map%",!0),Yfe=hT("%Set%",!0),Yr=En,gT=Yr("Array.prototype.push"),bT=Yr("String.prototype.charCodeAt"),Xfe=Yr("String.prototype.slice"),Qfe=function(t,r){var n=t.length;if(r+1>=n)return r+1;var i=bT(t,r);if(i<55296||i>56319)return r+1;var o=bT(t,r+1);return o<56320||o>57343?r+1:r+2},Dg=function(t){var r=0;return{next:function(){var i=r>=t.length,o;return i||(o=t[r],r+=1),{done:i,value:o}}}},yT=function(t,r){if(Vfe(t)||mT(t))return Dg(t);if(Gfe(t)){var n=0;return{next:function(){var o=Qfe(t,n),a=Xfe(t,n,o);return n=o,{done:o>t.length,value:a}}}}if(r&&typeof t["_es6-shim iterator_"]<"u")return t["_es6-shim iterator_"]()};if(!qfe&&!Yfe)Gd.exports=function(t){if(t!=null)return yT(t,!0)};else{var Jfe=DU,Zfe=NU,$T=Yr("Map.prototype.forEach",!0),xT=Yr("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var wT=Yr("Map.prototype.iterator",!0),ST=Yr("Set.prototype.iterator",!0),ET=function(e){var t=!1;return{next:function(){try{return{done:t,value:t?void 0:e.next()}}catch{return t=!0,{done:!0,value:void 0}}}}};var CT=Yr("Map.prototype.@@iterator",!0)||Yr("Map.prototype._es6-shim iterator_",!0),PT=Yr("Set.prototype.@@iterator",!0)||Yr("Set.prototype._es6-shim iterator_",!0),epe=function(t){if(Jfe(t)){if(wT)return ET(wT(t));if(CT)return CT(t);if($T){var r=[];return $T(t,function(i,o){gT(r,[o,i])}),Dg(r)}}if(Zfe(t)){if(ST)return ET(ST(t));if(PT)return PT(t);if(xT){var n=[];return xT(t,function(i){gT(n,i)}),Dg(n)}}};Gd.exports=function(t){return epe(t)||yT(t)}}}var tpe=Gd.exports,$E=typeof Map=="function"&&Map.prototype,Mg=Object.getOwnPropertyDescriptor&&$E?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,lp=$E&&Mg&&typeof Mg.get=="function"?Mg.get:null,rpe=$E&&Map.prototype.forEach,xE=typeof Set=="function"&&Set.prototype,Ng=Object.getOwnPropertyDescriptor&&xE?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,sp=xE&&Ng&&typeof Ng.get=="function"?Ng.get:null,npe=xE&&Set.prototype.forEach,ipe=typeof WeakMap=="function"&&WeakMap.prototype,Ws=ipe?WeakMap.prototype.has:null,ope=typeof WeakSet=="function"&&WeakSet.prototype,Ks=ope?WeakSet.prototype.has:null,ape=typeof WeakRef=="function"&&WeakRef.prototype,IT=ape?WeakRef.prototype.deref:null,lpe=Boolean.prototype.valueOf,spe=Object.prototype.toString,upe=Function.prototype.toString,cpe=String.prototype.match,wE=String.prototype.slice,yi=String.prototype.replace,dpe=String.prototype.toUpperCase,TT=String.prototype.toLowerCase,FU=RegExp.prototype.test,AT=Array.prototype.concat,fn=Array.prototype.join,fpe=Array.prototype.slice,OT=Math.floor,$4=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Lg=Object.getOwnPropertySymbols,x4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,hl=typeof Symbol=="function"&&typeof Symbol.iterator=="object",jt=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hl||"symbol")?Symbol.toStringTag:null,BU=Object.prototype.propertyIsEnumerable,RT=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function _T(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||FU.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-OT(-e):OT(e);if(n!==e){var i=String(n),o=wE.call(t,i.length+1);return yi.call(i,r,"$&_")+"."+yi.call(yi.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return yi.call(t,r,"$&_")}var w4=s4,kT=w4.custom,DT=jU(kT)?kT:null,ppe=function e(t,r,n,i){var o=r||{};if(si(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(si(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=si(o,"customInspect")?o.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(si(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(si(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=o.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return WU(t,o);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return l?_T(t,s):s}if(typeof t=="bigint"){var u=String(t)+"n";return l?_T(t,u):u}var c=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof t=="object")return S4(t)?"[Array]":"[Object]";var f=Rpe(o,n);if(typeof i>"u")i=[];else if(UU(i,t)>=0)return"[Circular]";function d(A,O,U){if(O&&(i=fpe.call(i),i.push(O)),U){var G={depth:o.depth};return si(o,"quoteStyle")&&(G.quoteStyle=o.quoteStyle),e(A,G,n+1,i)}return e(A,o,n+1,i)}if(typeof t=="function"&&!MT(t)){var p=wpe(t),m=bd(t,d);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(m.length>0?" { "+fn.call(m,", ")+" }":"")}if(jU(t)){var b=hl?yi.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):x4.call(t);return typeof t=="object"&&!hl?ps(b):b}if(Tpe(t)){for(var v="<"+TT.call(String(t.nodeName)),h=t.attributes||[],g=0;g<h.length;g++)v+=" "+h[g].name+"="+zU(vpe(h[g].value),"double",o);return v+=">",t.childNodes&&t.childNodes.length&&(v+="..."),v+="</"+TT.call(String(t.nodeName))+">",v}if(S4(t)){if(t.length===0)return"[]";var y=bd(t,d);return f&&!Ope(y)?"["+E4(y,f)+"]":"[ "+fn.call(y,", ")+" ]"}if(hpe(t)){var x=bd(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!BU.call(t,"cause")?"{ ["+String(t)+"] "+fn.call(AT.call("[cause]: "+d(t.cause),x),", ")+" }":x.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+fn.call(x,", ")+" }"}if(typeof t=="object"&&a){if(DT&&typeof t[DT]=="function"&&w4)return w4(t,{depth:c-n});if(a!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(Spe(t)){var C=[];return rpe.call(t,function(A,O){C.push(d(O,t,!0)+" => "+d(A,t))}),NT("Map",lp.call(t),C,f)}if(Ppe(t)){var E=[];return npe.call(t,function(A){E.push(d(A,t))}),NT("Set",sp.call(t),E,f)}if(Epe(t))return Fg("WeakMap");if(Ipe(t))return Fg("WeakSet");if(Cpe(t))return Fg("WeakRef");if(bpe(t))return ps(d(Number(t)));if($pe(t))return ps(d($4.call(t)));if(ype(t))return ps(lpe.call(t));if(gpe(t))return ps(d(String(t)));if(!mpe(t)&&!MT(t)){var P=bd(t,d),S=RT?RT(t)===Object.prototype:t instanceof Object||t.constructor===Object,I=t instanceof Object?"":"null prototype",_=!S&&jt&&Object(t)===t&&jt in t?wE.call(Ji(t),8,-1):I?"Object":"",T=S||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",k=T+(_||I?"["+fn.call(AT.call([],_||[],I||[]),": ")+"] ":"");return P.length===0?k+"{}":f?k+"{"+E4(P,f)+"}":k+"{ "+fn.call(P,", ")+" }"}return String(t)};function zU(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function vpe(e){return yi.call(String(e),/"/g,"&quot;")}function S4(e){return Ji(e)==="[object Array]"&&(!jt||!(typeof e=="object"&&jt in e))}function mpe(e){return Ji(e)==="[object Date]"&&(!jt||!(typeof e=="object"&&jt in e))}function MT(e){return Ji(e)==="[object RegExp]"&&(!jt||!(typeof e=="object"&&jt in e))}function hpe(e){return Ji(e)==="[object Error]"&&(!jt||!(typeof e=="object"&&jt in e))}function gpe(e){return Ji(e)==="[object String]"&&(!jt||!(typeof e=="object"&&jt in e))}function bpe(e){return Ji(e)==="[object Number]"&&(!jt||!(typeof e=="object"&&jt in e))}function ype(e){return Ji(e)==="[object Boolean]"&&(!jt||!(typeof e=="object"&&jt in e))}function jU(e){if(hl)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!x4)return!1;try{return x4.call(e),!0}catch{}return!1}function $pe(e){if(!e||typeof e!="object"||!$4)return!1;try{return $4.call(e),!0}catch{}return!1}var xpe=Object.prototype.hasOwnProperty||function(e){return e in this};function si(e,t){return xpe.call(e,t)}function Ji(e){return spe.call(e)}function wpe(e){if(e.name)return e.name;var t=cpe.call(upe.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function UU(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function Spe(e){if(!lp||!e||typeof e!="object")return!1;try{lp.call(e);try{sp.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function Epe(e){if(!Ws||!e||typeof e!="object")return!1;try{Ws.call(e,Ws);try{Ks.call(e,Ks)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function Cpe(e){if(!IT||!e||typeof e!="object")return!1;try{return IT.call(e),!0}catch{}return!1}function Ppe(e){if(!sp||!e||typeof e!="object")return!1;try{sp.call(e);try{lp.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function Ipe(e){if(!Ks||!e||typeof e!="object")return!1;try{Ks.call(e,Ks);try{Ws.call(e,Ws)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function Tpe(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function WU(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return WU(wE.call(e,0,t.maxStringLength),t)+n}var i=yi.call(yi.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Ape);return zU(i,"single",t)}function Ape(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+dpe.call(t.toString(16))}function ps(e){return"Object("+e+")"}function Fg(e){return e+" { ? }"}function NT(e,t,r,n){var i=n?E4(r,n):fn.call(r,", ");return e+" ("+t+") {"+i+"}"}function Ope(e){for(var t=0;t<e.length;t++)if(UU(e[t],`
900
+ `)>=0)return!1;return!0}function Rpe(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=fn.call(Array(e.indent+1)," ");else return null;return{base:r,prev:fn.call(Array(t+1),r)}}function E4(e,t){if(e.length===0)return"";var r=`
901
+ `+t.prev+t.base;return r+fn.call(e,","+r)+`
902
+ `+t.prev}function bd(e,t){var r=S4(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=si(e,i)?t(e[i],e):""}var o=typeof Lg=="function"?Lg(e):[],a;if(hl){a={};for(var l=0;l<o.length;l++)a["$"+o[l]]=o[l]}for(var s in e)si(e,s)&&(r&&String(Number(s))===s&&s<e.length||hl&&a["$"+s]instanceof Symbol||(FU.call(/[^\w$]/,s)?n.push(t(s,e)+": "+t(e[s],e)):n.push(s+": "+t(e[s],e))));if(typeof Lg=="function")for(var u=0;u<o.length;u++)BU.call(e,o[u])&&n.push("["+t(o[u])+"]: "+t(e[o[u]],e));return n}var SE=Qi,Nl=En,_pe=ppe,kpe=SE("%TypeError%"),yd=SE("%WeakMap%",!0),$d=SE("%Map%",!0),Dpe=Nl("WeakMap.prototype.get",!0),Mpe=Nl("WeakMap.prototype.set",!0),Npe=Nl("WeakMap.prototype.has",!0),Lpe=Nl("Map.prototype.get",!0),Fpe=Nl("Map.prototype.set",!0),Bpe=Nl("Map.prototype.has",!0),EE=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},zpe=function(e,t){var r=EE(e,t);return r&&r.value},jpe=function(e,t,r){var n=EE(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},Upe=function(e,t){return!!EE(e,t)},Wpe=function(){var t,r,n,i={assert:function(o){if(!i.has(o))throw new kpe("Side channel does not contain "+_pe(o))},get:function(o){if(yd&&o&&(typeof o=="object"||typeof o=="function")){if(t)return Dpe(t,o)}else if($d){if(r)return Lpe(r,o)}else if(n)return zpe(n,o)},has:function(o){if(yd&&o&&(typeof o=="object"||typeof o=="function")){if(t)return Npe(t,o)}else if($d){if(r)return Bpe(r,o)}else if(n)return Upe(n,o);return!1},set:function(o,a){yd&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new yd),Mpe(t,o,a)):$d?(r||(r=new $d),Fpe(r,o,a)):(n||(n={key:{},next:null}),jpe(n,o,a))}};return i},Kpe=Object.prototype.hasOwnProperty,Hpe=Object.prototype.toString,KU=function(t,r,n){if(Hpe.call(r)!=="[object Function]")throw new TypeError("iterator must be a function");var i=t.length;if(i===+i)for(var o=0;o<i;o++)r.call(n,t[o],o,t);else for(var a in t)Kpe.call(t,a)&&r.call(n,t[a],a,t)},Bg=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],Vpe=typeof globalThis>"u"?be:globalThis,HU=function(){for(var t=[],r=0;r<Bg.length;r++)typeof Vpe[Bg[r]]=="function"&&(t[t.length]=Bg[r]);return t},zg,LT;function Gpe(){if(LT)return zg;LT=1;var e=Qi,t=e("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch{t=null}return zg=t,zg}var jg,FT;function VU(){return FT||(FT=1,jg=Gpe()),jg}var Ug,BT;function qpe(){if(BT)return Ug;BT=1;var e=KU,t=HU,r=En,n=r("Object.prototype.toString"),i=Xi(),o=typeof globalThis>"u"?be:globalThis,a=t(),l=r("Array.prototype.indexOf",!0)||function(m,b){for(var v=0;v<m.length;v+=1)if(m[v]===b)return v;return-1},s=r("String.prototype.slice"),u={},c=VU(),f=Object.getPrototypeOf;i&&c&&f&&e(a,function(p){var m=new o[p];if(Symbol.toStringTag in m){var b=f(m),v=c(b,Symbol.toStringTag);if(!v){var h=f(b);v=c(h,Symbol.toStringTag)}u[p]=v.get}});var d=function(m){var b=!1;return e(u,function(v,h){if(!b)try{b=v.call(m)===h}catch{}}),b};return Ug=function(m){if(!m||typeof m!="object")return!1;if(!i||!(Symbol.toStringTag in m)){var b=s(n(m),8,-1);return l(a,b)>-1}return c?d(m):!1},Ug}var GU=KU,Ype=HU,qU=En,Xpe=qU("Object.prototype.toString"),YU=Xi(),zT=typeof globalThis>"u"?be:globalThis,Qpe=Ype(),Jpe=qU("String.prototype.slice"),XU={},Wg=VU(),Kg=Object.getPrototypeOf;YU&&Wg&&Kg&&GU(Qpe,function(e){if(typeof zT[e]=="function"){var t=new zT[e];if(Symbol.toStringTag in t){var r=Kg(t),n=Wg(r,Symbol.toStringTag);if(!n){var i=Kg(r);n=Wg(i,Symbol.toStringTag)}XU[e]=n.get}}});var Zpe=function(t){var r=!1;return GU(XU,function(n,i){if(!r)try{var o=n.call(t);o===i&&(r=o)}catch{}}),r},eve=qpe(),tve=function(t){return eve(t)?!YU||!(Symbol.toStringTag in t)?Jpe(Xpe(t),8,-1):Zpe(t):!1},rve=mE,QU=Vv(),JU=En,jT=Object,nve=JU("Array.prototype.push"),UT=JU("Object.prototype.propertyIsEnumerable"),ive=QU?Object.getOwnPropertySymbols:null,ZU=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=jT(t);if(arguments.length===1)return n;for(var i=1;i<arguments.length;++i){var o=jT(arguments[i]),a=rve(o),l=QU&&(Object.getOwnPropertySymbols||ive);if(l)for(var s=l(o),u=0;u<s.length;++u){var c=s[u];UT(o,c)&&nve(a,c)}for(var f=0;f<a.length;++f){var d=a[f];if(UT(o,d)){var p=o[d];n[d]=p}}}return n},Hg=ZU,ove=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var i=Object.assign({},r),o="";for(var a in i)o+=a;return e!==o},ave=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch{return e[1]==="y"}return!1},eW=function(){return!Object.assign||ove()||ave()?Hg:Object.assign},lve=Xo,sve=eW,uve=function(){var t=sve();return lve(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},cve=Xo,dve=Gv,fve=ZU,tW=eW,pve=uve,vve=dve.apply(tW()),rW=function(t,r){return vve(Object,arguments)};cve(rW,{getPolyfill:tW,implementation:fve,shim:pve});var mve=rW,WT=mE,KT=vU,HT=Pde,VT=Ode,GT=Gde,qT=OU,YT=efe,XT=Dfe,hve=Qi,ei=En,QT=Hfe,gl=tpe,gve=Wpe,JT=tve,nW=mve,ZT=ei("Date.prototype.getTime"),Vg=Object.getPrototypeOf,eA=ei("Object.prototype.toString"),up=hve("%Set%",!0),C4=ei("Map.prototype.has",!0),cp=ei("Map.prototype.get",!0),tA=ei("Map.prototype.size",!0),dp=ei("Set.prototype.add",!0),iW=ei("Set.prototype.delete",!0),fp=ei("Set.prototype.has",!0),qd=ei("Set.prototype.size",!0);function rA(e,t,r,n){for(var i=gl(e),o;(o=i.next())&&!o.done;)if(qn(t,o.value,r,n))return iW(e,o.value),!0;return!1}function oW(e){if(typeof e>"u")return null;if(typeof e!="object")return typeof e=="symbol"?!1:typeof e=="string"||typeof e=="number"?+e==+e:!0}function bve(e,t,r,n,i,o){var a=oW(r);if(a!=null)return a;var l=cp(t,a),s=nW({},i,{strict:!1});return typeof l>"u"&&!C4(t,a)||!qn(n,l,s,o)?!1:!C4(e,a)&&qn(n,l,s,o)}function yve(e,t,r){var n=oW(r);return n??(fp(t,n)&&!fp(e,n))}function nA(e,t,r,n,i,o){for(var a=gl(e),l,s;(l=a.next())&&!l.done;)if(s=l.value,qn(r,s,i,o)&&qn(n,cp(t,s),i,o))return iW(e,s),!0;return!1}function qn(e,t,r,n){var i=r||{};if(i.strict?HT(e,t):e===t)return!0;var o=XT(e),a=XT(t);if(o!==a)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return i.strict?HT(e,t):e==t;var l=n.has(e),s=n.has(t),u;if(l&&s){if(n.get(e)===n.get(t))return!0}else u={};return l||n.set(e,u),s||n.set(t,u),wve(e,t,i,n)}function iA(e){return!e||typeof e!="object"||typeof e.length!="number"||typeof e.copy!="function"||typeof e.slice!="function"||e.length>0&&typeof e[0]!="number"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function $ve(e,t,r,n){if(qd(e)!==qd(t))return!1;for(var i=gl(e),o=gl(t),a,l,s;(a=i.next())&&!a.done;)if(a.value&&typeof a.value=="object")s||(s=new up),dp(s,a.value);else if(!fp(t,a.value)){if(r.strict||!yve(e,t,a.value))return!1;s||(s=new up),dp(s,a.value)}if(s){for(;(l=o.next())&&!l.done;)if(l.value&&typeof l.value=="object"){if(!rA(s,l.value,r.strict,n))return!1}else if(!r.strict&&!fp(e,l.value)&&!rA(s,l.value,r.strict,n))return!1;return qd(s)===0}return!0}function xve(e,t,r,n){if(tA(e)!==tA(t))return!1;for(var i=gl(e),o=gl(t),a,l,s,u,c,f;(a=i.next())&&!a.done;)if(u=a.value[0],c=a.value[1],u&&typeof u=="object")s||(s=new up),dp(s,u);else if(f=cp(t,u),typeof f>"u"&&!C4(t,u)||!qn(c,f,r,n)){if(r.strict||!bve(e,t,u,c,r,n))return!1;s||(s=new up),dp(s,u)}if(s){for(;(l=o.next())&&!l.done;)if(u=l.value[0],f=l.value[1],u&&typeof u=="object"){if(!nA(s,e,u,f,r,n))return!1}else if(!r.strict&&(!e.has(u)||!qn(cp(e,u),f,r,n))&&!nA(s,e,u,f,nW({},r,{strict:!1}),n))return!1;return qd(s)===0}return!0}function wve(e,t,r,n){var i,o;if(typeof e!=typeof t||e==null||t==null||eA(e)!==eA(t)||KT(e)!==KT(t))return!1;var a=qT(e),l=qT(t);if(a!==l)return!1;var s=e instanceof Error,u=t instanceof Error;if(s!==u||(s||u)&&(e.name!==t.name||e.message!==t.message))return!1;var c=VT(e),f=VT(t);if(c!==f||(c||f)&&(e.source!==t.source||GT(e)!==GT(t)))return!1;var d=YT(e),p=YT(t);if(d!==p||(d||p)&&ZT(e)!==ZT(t)||r.strict&&Vg&&Vg(e)!==Vg(t)||JT(e)!==JT(t))return!1;var m=iA(e),b=iA(t);if(m!==b)return!1;if(m||b){if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}if(typeof e!=typeof t)return!1;var v=WT(e),h=WT(t);if(v.length!==h.length)return!1;for(v.sort(),h.sort(),i=v.length-1;i>=0;i--)if(v[i]!=h[i])return!1;for(i=v.length-1;i>=0;i--)if(o=v[i],!qn(e[o],t[o],r,n))return!1;var g=QT(e),y=QT(t);return g!==y?!1:g==="Set"||y==="Set"?$ve(e,t,r,n):g==="Map"?xve(e,t,r,n):!0}var Sve=function(t,r,n){return qn(t,r,n,gve())};const _ge=rr(Sve),Eve="aaa1rp3barth4b_ott3vie4c1le2ogado5udhabi7c_ademy5centure6ountant_s9o1tor4d_s1ult4e_g1ro2tna4f_l1rica5g_akhan5ency5i_g1rbus3force5tel5kdn3l_faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m_azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o_l2partments8p_le4q_uarelle8r_ab1mco4chi3my2pa2t_e3s_da2ia2sociates9t_hleta5torney7u_ction5di_ble3o3spost5thor3o_s4vianca6w_s2x_a2z_ure5ba_by2idu3namex3narepublic11d1k2r_celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b_c1t1va3cg1n2d1e_ats2uty4er2ntley5rlin4st_buy5t2f1g1h_arti5i_ble3d1ke2ng_o3o1z2j1lack_friday9ockbuster8g1omberg7ue3m_s1w2n_pparibas9o_ats3ehringer8fa2m1nd2o_k_ing5sch2tik2on4t1utique6x2r_adesco6idgestone9oadway5ker3ther5ussels7s1t1uild_ers6siness6y1zz3v1w1y1z_h3ca_b1fe2l_l1vinklein9m_era3p2non3petown5ital_one8r_avan4ds2e_er_s4s2sa1e1h1ino4t_ering5holic7ba1n1re2s2c1d1enter4o1rn3f_a1d2g1h_anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i_priani6rcle4sco3tadel4i_c2y_eats7k1l_aims4eaning6ick2nic1que6othing5ud3ub_med6m1n1o_ach3des3ffee4llege4ogne5m_cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking_channel11l1p2rsica5untry4pon_s4rses6pa2r_edit_card4union9icket5own3s1uise_s6u_isinella9v1w1x1y_mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e_al_er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si_gn4v2hl2iamonds6et2gital5rect_ory7scount3ver5h2y2j1k1m1np2o_cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c_o2deka3u_cation8e1g1mail3erck5nergy4gineer_ing9terprises10pson4quipment8r_icsson6ni3s_q1tate5t_isalat7u_rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n_s2rm_ers5shion4t3edex3edback6rrari3ero6i_at2delity5o2lm2nal1nce1ial7re_stone6mdale6sh_ing5t_ness6j1k1lickr3ghts4r2orist4wers5y2m1o_o_d_network8tball6rd1ex2sale4um3undation8x2r_ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n_d2rniture7tbol5yi3ga_l_lery3o1up4me_s3p1rden4y2b_iz3d_n2e_a1nt_ing5orge5f1g_ee3h1i_ft_s3ves2ing5l_ass3e1obal2o4m_ail3bh2o1x2n1odaddy5ld_point6f2o_dyear5g_le4p1t1v2p1q1r_ainger5phics5tis4een3ipe3ocery4up4s1t1u_ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc_bank7ealth_care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k_t2m1n1ockey4ldings5iday5medepot5goods5s_ense7nda3rse3spital5t_ing5t_eles2s3mail5use3w2r1sbc3t1u_ghes5yatt3undai7ibm2cbc2e1u2d1e_ee3fm2kano4l1m_amat4db2mo_bilien9n_c1dustries8finiti5o2g1k1stitute6urance4e4t_ernational10uit4vestments10o1piranga7q1r_ish4s_maili5t_anbul7t_au2v3jaguar4va3cb2e_ep2tzt3welry6io2ll2m_p2nj2o_bs1urg4t1y2p_morgan6rs3uegos4niper7kaufen5ddi3e_rryhotels6logistics9properties14fh2g1h1i_a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p_mg2n2r_d1ed3uokgroup8w1y_oto4z2la_caixa5mborghini8er3ncaster5ia3d_rover6xess5salle5t_ino3robe5w_yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i_dl2fe_insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan_s3cker3us3l1ndon4tte1o3ve3pl_financial11r1s1t_d_a3u_ndbeck6xe1ury5v1y2ma_cys3drid4if1son4keup4n_agement7go3p1rket_ing3s4riott5shalls7serati6ttel5ba2c_kinsey7d1e_d_ia3et2lbourne7me1orial6n_u2rckmsd7g1h1iami3crosoft7l1ni1t2t_subishi9k1l_b1s2m_a2n1o_bi_le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to_rcycles9v_ie4p1q1r1s_d2t_n1r2u_seum3ic3tual5v1w1x1y1z2na_b1goya4me2tura4vy3ba2c1e_c1t_bank4flix4work5ustar5w_s2xt_direct7us4f_l2g_o2hk2i_co2ke1on3nja3ssan1y5l1o_kia3rthwesternmutual14on4w_ruz3tv4p1r_a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan_group9dnavy5lo3m_ega4ne1g1l_ine5oo2pen3racle3nge4g_anic5igins6saka4tsuka4t2vh3pa_ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e_t2f_izer5g1h_armacy6d1ilips5one2to_graphy6s4ysio5ics1tet2ures6d1n_g1k2oneer5zza4k1l_ace2y_station9umbing5s3m1n_c2ohl2ker3litie5rn2st3r_america6xi3ess3ime3o_d_uctions8f1gressive8mo2perties3y5tection8u_dential9s1t1ub2w_c2y2qa1pon3uebec3st5racing4dio4e_ad1lestate6tor2y4cipes5d_stone5umbrella9hab3ise_n3t2liance6n_t_als5pair3ort3ublican8st_aurant8view_s5xroth6ich_ardli6oh3l1o1p2o_cher3ks3deo3gers4om3s_vp3u_gby3hr2n2w_e2yukyu6sa_arland6fe_ty4kura4le1on3msclub4ung5ndvik_coromant12ofi4p1rl2s1ve2xo3b_i1s2c_a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e_arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x_y3fr2g1h_angrila6rp2w2ell3ia1ksha5oes2p_ping5uji3w_time7i_lk2na1gles5te3j1k_i_n2y_pe4l_ing4m_art3ile4n_cf3o_ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa_ce3ort2t3r_l2s1t_ada2ples4r1tebank4farm7c_group6ockholm6rage3e3ream4udio2y3yle4u_cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y_dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x_i3c_i2d_k2eam2ch_nology8l1masek5nnis4va3f1g1h_d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j_maxx4x2k_maxx5l1m_all4n1o_day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r_ade1ing4ining5vel_channel7ers_insurance16ust3v2t1ube2i1nes3shu4v_s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va_cations7na1guard7c1e_gas3ntures6risign5mögensberater2ung14sicherung10t2g1i_ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u_elos6wales2mart4ter4ng_gou5tch_es6eather_channel12bcam3er2site5d_ding5ibo2r3f1hoswho6ien2ki2lliamhill9n_dows4e1ners6me2olterskluwer11odside6rk_s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u_tube6t1un3za_ppos4ra3ero3ip2m1one3uerich6w2",Cve="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत_म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里_大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",bl=(e,t)=>{for(const r in t)e[r]=t[r];return e},P4="numeric",I4="ascii",T4="alpha",Yd="asciinumeric",xd="alphanumeric",A4="domain",aW="emoji",Pve="scheme",Ive="slashscheme",oA="whitespace";function Tve(e,t){return e in t||(t[e]=[]),t[e]}function $o(e,t,r){t[P4]&&(t[Yd]=!0,t[xd]=!0),t[I4]&&(t[Yd]=!0,t[T4]=!0),t[Yd]&&(t[xd]=!0),t[T4]&&(t[xd]=!0),t[xd]&&(t[A4]=!0),t[aW]&&(t[A4]=!0);for(const n in t){const i=Tve(n,r);i.indexOf(e)<0&&i.push(e)}}function Ave(e,t){const r={};for(const n in t)t[n].indexOf(e)>=0&&(r[n]=!0);return r}function ur(e){e===void 0&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}ur.groups={};ur.prototype={accepts(){return!!this.t},go(e){const t=this,r=t.j[e];if(r)return r;for(let n=0;n<t.jr.length;n++){const i=t.jr[n][0],o=t.jr[n][1];if(o&&i.test(e))return o}return t.jd},has(e,t){return t===void 0&&(t=!1),t?e in this.j:!!this.go(e)},ta(e,t,r,n){for(let i=0;i<e.length;i++)this.tt(e[i],t,r,n)},tr(e,t,r,n){n=n||ur.groups;let i;return t&&t.j?i=t:(i=new ur(t),r&&n&&$o(t,r,n)),this.jr.push([e,i]),i},ts(e,t,r,n){let i=this;const o=e.length;if(!o)return i;for(let a=0;a<o-1;a++)i=i.tt(e[a]);return i.tt(e[o-1],t,r,n)},tt(e,t,r,n){n=n||ur.groups;const i=this;if(t&&t.j)return i.j[e]=t,t;const o=t;let a,l=i.go(e);if(l?(a=new ur,bl(a.j,l.j),a.jr.push.apply(a.jr,l.jr),a.jd=l.jd,a.t=l.t):a=new ur,o){if(n)if(a.t&&typeof a.t=="string"){const s=bl(Ave(a.t,n),r);$o(o,s,n)}else r&&$o(o,r,n);a.t=o}return i.j[e]=a,a}};const J=(e,t,r,n,i)=>e.ta(t,r,n,i),Ir=(e,t,r,n,i)=>e.tr(t,r,n,i),aA=(e,t,r,n,i)=>e.ts(t,r,n,i),B=(e,t,r,n,i)=>e.tt(t,r,n,i),Dn="WORD",O4="UWORD",Iu="LOCALHOST",R4="TLD",_4="UTLD",Xd="SCHEME",$a="SLASH_SCHEME",pp="NUM",lW="WS",CE="NL",Ma="OPENBRACE",Hs="OPENBRACKET",Vs="OPENANGLEBRACKET",Gs="OPENPAREN",uo="CLOSEBRACE",Na="CLOSEBRACKET",La="CLOSEANGLEBRACKET",co="CLOSEPAREN",vp="AMPERSAND",mp="APOSTROPHE",hp="ASTERISK",ui="AT",gp="BACKSLASH",bp="BACKTICK",yp="CARET",fi="COLON",PE="COMMA",$p="DOLLAR",un="DOT",xp="EQUALS",IE="EXCLAMATION",cn="HYPHEN",wp="PERCENT",Sp="PIPE",Ep="PLUS",Cp="POUND",Pp="QUERY",TE="QUOTE",AE="SEMI",Mn="SLASH",qs="TILDE",Ip="UNDERSCORE",sW="EMOJI",Tp="SYM";var uW=Object.freeze({__proto__:null,WORD:Dn,UWORD:O4,LOCALHOST:Iu,TLD:R4,UTLD:_4,SCHEME:Xd,SLASH_SCHEME:$a,NUM:pp,WS:lW,NL:CE,OPENBRACE:Ma,OPENBRACKET:Hs,OPENANGLEBRACKET:Vs,OPENPAREN:Gs,CLOSEBRACE:uo,CLOSEBRACKET:Na,CLOSEANGLEBRACKET:La,CLOSEPAREN:co,AMPERSAND:vp,APOSTROPHE:mp,ASTERISK:hp,AT:ui,BACKSLASH:gp,BACKTICK:bp,CARET:yp,COLON:fi,COMMA:PE,DOLLAR:$p,DOT:un,EQUALS:xp,EXCLAMATION:IE,HYPHEN:cn,PERCENT:wp,PIPE:Sp,PLUS:Ep,POUND:Cp,QUERY:Pp,QUOTE:TE,SEMI:AE,SLASH:Mn,TILDE:qs,UNDERSCORE:Ip,EMOJI:sW,SYM:Tp});const fa=/[a-z]/,Gg=/\p{L}/u,qg=/\p{Emoji}/u,Yg=/\d/,lA=/\s/,sA=`
903
+ `,Ove="️",Rve="‍";let wd=null,Sd=null;function _ve(e){e===void 0&&(e=[]);const t={};ur.groups=t;const r=new ur;wd==null&&(wd=uA(Eve)),Sd==null&&(Sd=uA(Cve)),B(r,"'",mp),B(r,"{",Ma),B(r,"[",Hs),B(r,"<",Vs),B(r,"(",Gs),B(r,"}",uo),B(r,"]",Na),B(r,">",La),B(r,")",co),B(r,"&",vp),B(r,"*",hp),B(r,"@",ui),B(r,"`",bp),B(r,"^",yp),B(r,":",fi),B(r,",",PE),B(r,"$",$p),B(r,".",un),B(r,"=",xp),B(r,"!",IE),B(r,"-",cn),B(r,"%",wp),B(r,"|",Sp),B(r,"+",Ep),B(r,"#",Cp),B(r,"?",Pp),B(r,'"',TE),B(r,"/",Mn),B(r,";",AE),B(r,"~",qs),B(r,"_",Ip),B(r,"\\",gp);const n=Ir(r,Yg,pp,{[P4]:!0});Ir(n,Yg,n);const i=Ir(r,fa,Dn,{[I4]:!0});Ir(i,fa,i);const o=Ir(r,Gg,O4,{[T4]:!0});Ir(o,fa),Ir(o,Gg,o);const a=Ir(r,lA,lW,{[oA]:!0});B(r,sA,CE,{[oA]:!0}),B(a,sA),Ir(a,lA,a);const l=Ir(r,qg,sW,{[aW]:!0});Ir(l,qg,l),B(l,Ove,l);const s=B(l,Rve);Ir(s,qg,l);const u=[[fa,i]],c=[[fa,null],[Gg,o]];for(let f=0;f<wd.length;f++)ii(r,wd[f],R4,Dn,u);for(let f=0;f<Sd.length;f++)ii(r,Sd[f],_4,O4,c);$o(R4,{tld:!0,ascii:!0},t),$o(_4,{utld:!0,alpha:!0},t),ii(r,"file",Xd,Dn,u),ii(r,"mailto",Xd,Dn,u),ii(r,"http",$a,Dn,u),ii(r,"https",$a,Dn,u),ii(r,"ftp",$a,Dn,u),ii(r,"ftps",$a,Dn,u),$o(Xd,{scheme:!0,ascii:!0},t),$o($a,{slashscheme:!0,ascii:!0},t),e=e.sort((f,d)=>f[0]>d[0]?1:-1);for(let f=0;f<e.length;f++){const d=e[f][0],m=e[f][1]?{[Pve]:!0}:{[Ive]:!0};d.indexOf("-")>=0?m[A4]=!0:fa.test(d)?Yg.test(d)?m[Yd]=!0:m[I4]=!0:m[P4]=!0,aA(r,d,d,m)}return aA(r,"localhost",Iu,{ascii:!0}),r.jd=new ur(Tp),{start:r,tokens:bl({groups:t},uW)}}function kve(e,t){const r=Dve(t.replace(/[A-Z]/g,l=>l.toLowerCase())),n=r.length,i=[];let o=0,a=0;for(;a<n;){let l=e,s=null,u=0,c=null,f=-1,d=-1;for(;a<n&&(s=l.go(r[a]));)l=s,l.accepts()?(f=0,d=0,c=l):f>=0&&(f+=r[a].length,d++),u+=r[a].length,o+=r[a].length,a++;o-=f,a-=d,u-=f,i.push({t:c.t,v:t.slice(o-u,o),s:o-u,e:o})}return i}function Dve(e){const t=[],r=e.length;let n=0;for(;n<r;){let i=e.charCodeAt(n),o,a=i<55296||i>56319||n+1===r||(o=e.charCodeAt(n+1))<56320||o>57343?e[n]:e.slice(n,n+2);t.push(a),n+=a.length}return t}function ii(e,t,r,n,i){let o;const a=t.length;for(let l=0;l<a-1;l++){const s=t[l];e.j[s]?o=e.j[s]:(o=new ur(n),o.jr=i.slice(),e.j[s]=o),e=o}return o=new ur(r),o.jr=i.slice(),e.j[t[a-1]]=o,o}function uA(e){const t=[],r=[];let n=0,i="0123456789";for(;n<e.length;){let o=0;for(;i.indexOf(e[n+o])>=0;)o++;if(o>0){t.push(r.join(""));let a=parseInt(e.substring(n,n+o),10);for(;a>0;a--)r.pop();n+=o}else e[n]==="_"?(t.push(r.join("")),n++):(r.push(e[n]),n++)}return t}const Tu={defaultProtocol:"http",events:null,format:cA,formatHref:cA,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function OE(e,t){t===void 0&&(t=null);let r=bl({},Tu);e&&(r=bl(r,e instanceof OE?e.o:e));const n=r.ignoreTags,i=[];for(let o=0;o<n.length;o++)i.push(n[o].toUpperCase());this.o=r,t&&(this.defaultRender=t),this.ignoreTags=i}OE.prototype={o:Tu,ignoreTags:[],defaultRender(e){return e},check(e){return this.get("validate",e.toString(),e)},get(e,t,r){const n=t!=null;let i=this.o[e];return i&&(typeof i=="object"?(i=r.t in i?i[r.t]:Tu[e],typeof i=="function"&&n&&(i=i(t,r))):typeof i=="function"&&n&&(i=i(t,r.t,r)),i)},getObj(e,t,r){let n=this.o[e];return typeof n=="function"&&t!=null&&(n=n(t,r.t,r)),n},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};function cA(e){return e}function cW(e,t){this.t="token",this.v=e,this.tk=t}cW.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),r=e.get("truncate",t,this),n=e.get("format",t,this);return r&&n.length>r?n.substring(0,r)+"…":n},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return e===void 0&&(e=Tu.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,r=this.toFormattedHref(e),n=e.get("tagName",r,t),i=this.toFormattedString(e),o={},a=e.get("className",r,t),l=e.get("target",r,t),s=e.get("rel",r,t),u=e.getObj("attributes",r,t),c=e.getObj("events",r,t);return o.href=r,a&&(o.class=a),l&&(o.target=l),s&&(o.rel=s),u&&bl(o,u),{tagName:n,attributes:o,content:i,eventListeners:c}}};function Yv(e,t){class r extends cW{constructor(i,o){super(i,o),this.t=e}}for(const n in t)r.prototype[n]=t[n];return r.t=e,r}const dA=Yv("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),fA=Yv("text"),Mve=Yv("nl"),ro=Yv("url",{isLink:!0,toHref(e){return e===void 0&&(e=Tu.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==Iu&&e[1].t===fi}}),bt=e=>new ur(e);function Nve(e){let{groups:t}=e;const r=t.domain.concat([vp,hp,ui,gp,bp,yp,$p,xp,cn,pp,wp,Sp,Ep,Cp,Mn,Tp,qs,Ip]),n=[mp,La,uo,Na,co,fi,PE,un,IE,Vs,Ma,Hs,Gs,Pp,TE,AE],i=[vp,mp,hp,gp,bp,yp,uo,$p,xp,cn,pp,Ma,wp,Sp,Ep,Cp,Pp,Mn,Tp,qs,Ip],o=bt(),a=B(o,qs);J(a,i,a),J(a,t.domain,a);const l=bt(),s=bt(),u=bt();J(o,t.domain,l),J(o,t.scheme,s),J(o,t.slashscheme,u),J(l,i,a),J(l,t.domain,l);const c=B(l,ui);B(a,ui,c),B(s,ui,c),B(u,ui,c);const f=B(a,un);J(f,i,a),J(f,t.domain,a);const d=bt();J(c,t.domain,d),J(d,t.domain,d);const p=B(d,un);J(p,t.domain,d);const m=bt(dA);J(p,t.tld,m),J(p,t.utld,m),B(c,Iu,m);const b=B(d,cn);J(b,t.domain,d),J(m,t.domain,d),B(m,un,p),B(m,cn,b);const v=B(m,fi);J(v,t.numeric,dA);const h=B(l,cn),g=B(l,un);J(h,t.domain,l),J(g,i,a),J(g,t.domain,l);const y=bt(ro);J(g,t.tld,y),J(g,t.utld,y),J(y,t.domain,l),J(y,i,a),B(y,un,g),B(y,cn,h),B(y,ui,c);const x=B(y,fi),C=bt(ro);J(x,t.numeric,C);const E=bt(ro),P=bt();J(E,r,E),J(E,n,P),J(P,r,E),J(P,n,P),B(y,Mn,E),B(C,Mn,E);const S=B(s,fi),I=B(u,fi),_=B(I,Mn);B(_,Mn,S),J(s,t.domain,l),B(s,un,g),B(s,cn,h),J(u,t.domain,l),B(u,un,g),B(u,cn,h),J(S,t.domain,E),B(S,Mn,E);const T=B(E,Ma),k=B(E,Hs),A=B(E,Vs),O=B(E,Gs);B(P,Ma,T),B(P,Hs,k),B(P,Vs,A),B(P,Gs,O),B(T,uo,E),B(k,Na,E),B(A,La,E),B(O,co,E),B(T,uo,E);const U=bt(ro),G=bt(ro),W=bt(ro),N=bt(ro);J(T,r,U),J(k,r,G),J(A,r,W),J(O,r,N);const Y=bt(),oe=bt(),M=bt(),L=bt();return J(T,n),J(k,n),J(A,n),J(O,n),J(U,r,U),J(G,r,G),J(W,r,W),J(N,r,N),J(U,n,U),J(G,n,G),J(W,n,W),J(N,n,N),J(Y,r,Y),J(oe,r,G),J(M,r,W),J(L,r,N),J(Y,n,Y),J(oe,n,oe),J(M,n,M),J(L,n,L),B(G,Na,E),B(W,La,E),B(N,co,E),B(U,uo,E),B(oe,Na,E),B(M,La,E),B(L,co,E),B(Y,co,E),B(o,Iu,y),B(o,CE,Mve),{start:o,tokens:uW}}function Lve(e,t,r){let n=r.length,i=0,o=[],a=[];for(;i<n;){let l=e,s=null,u=null,c=0,f=null,d=-1;for(;i<n&&!(s=l.go(r[i].t));)a.push(r[i++]);for(;i<n&&(u=s||l.go(r[i].t));)s=null,l=u,l.accepts()?(d=0,f=l):d>=0&&d++,i++,c++;if(d<0)i-=c,i<n&&(a.push(r[i]),i++);else{a.length>0&&(o.push(Xg(fA,t,a)),a=[]),i-=d,c-=d;const p=f.t,m=r.slice(i-c,i);o.push(Xg(p,t,m))}}return a.length>0&&o.push(Xg(fA,t,a)),o}function Xg(e,t,r){const n=r[0].s,i=r[r.length-1].e,o=t.slice(n,i);return new e(o,r)}const Wt={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Fve(){Wt.scanner=_ve(Wt.customSchemes);for(let e=0;e<Wt.tokenQueue.length;e++)Wt.tokenQueue[e][1]({scanner:Wt.scanner});Wt.parser=Nve(Wt.scanner.tokens);for(let e=0;e<Wt.pluginQueue.length;e++)Wt.pluginQueue[e][1]({scanner:Wt.scanner,parser:Wt.parser});Wt.initialized=!0}function Bve(e){return Wt.initialized||Fve(),Lve(Wt.parser.start,e,kve(Wt.scanner.start,e))}function kge(e,t,r){if(t===void 0&&(t=null),r===void 0&&(r=null),t&&typeof t=="object"){if(r)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);r=t,t=null}const n=new OE(r),i=Bve(e),o=[];for(let a=0;a<i.length;a++){const l=i[a];l.isLink&&(!t||l.t===t)&&o.push(l.toFormattedObject(n))}return o}var zve={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]};const Au=zve,dW={};for(const e of Object.keys(Au))dW[Au[e]]=e;const q={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"]}};var fW=q;for(const e of Object.keys(q)){if(!("channels"in q[e]))throw new Error("missing channels property: "+e);if(!("labels"in q[e]))throw new Error("missing channel labels property: "+e);if(q[e].labels.length!==q[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:r}=q[e];delete q[e].channels,delete q[e].labels,Object.defineProperty(q[e],"channels",{value:t}),Object.defineProperty(q[e],"labels",{value:r})}q.rgb.hsl=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),o=Math.max(t,r,n),a=o-i;let l,s;o===i?l=0:t===o?l=(r-n)/a:r===o?l=2+(n-t)/a:n===o&&(l=4+(t-r)/a),l=Math.min(l*60,360),l<0&&(l+=360);const u=(i+o)/2;return o===i?s=0:u<=.5?s=a/(o+i):s=a/(2-o-i),[l,s*100,u*100]};q.rgb.hsv=function(e){let t,r,n,i,o;const a=e[0]/255,l=e[1]/255,s=e[2]/255,u=Math.max(a,l,s),c=u-Math.min(a,l,s),f=function(d){return(u-d)/6/c+1/2};return c===0?(i=0,o=0):(o=c/u,t=f(a),r=f(l),n=f(s),a===u?i=n-r:l===u?i=1/3+t-n:s===u&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[i*360,o*100,u*100]};q.rgb.hwb=function(e){const t=e[0],r=e[1];let n=e[2];const i=q.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,o*100,n*100]};q.rgb.cmyk=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(1-t,1-r,1-n),o=(1-t-i)/(1-i)||0,a=(1-r-i)/(1-i)||0,l=(1-n-i)/(1-i)||0;return[o*100,a*100,l*100,i*100]};function jve(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}q.rgb.keyword=function(e){const t=dW[e];if(t)return t;let r=1/0,n;for(const i of Object.keys(Au)){const o=Au[i],a=jve(e,o);a<r&&(r=a,n=i)}return n};q.keyword.rgb=function(e){return Au[e]};q.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const i=t*.4124+r*.3576+n*.1805,o=t*.2126+r*.7152+n*.0722,a=t*.0193+r*.1192+n*.9505;return[i*100,o*100,a*100]};q.rgb.lab=function(e){const t=q.rgb.xyz(e);let r=t[0],n=t[1],i=t[2];r/=95.047,n/=100,i/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;const o=116*n-16,a=500*(r-n),l=200*(n-i);return[o,a,l]};q.hsl.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;let i,o,a;if(r===0)return a=n*255,[a,a,a];n<.5?i=n*(1+r):i=n+r-n*r;const l=2*n-i,s=[0,0,0];for(let u=0;u<3;u++)o=t+1/3*-(u-1),o<0&&o++,o>1&&o--,6*o<1?a=l+(i-l)*6*o:2*o<1?a=i:3*o<2?a=l+(i-l)*(2/3-o)*6:a=l,s[u]=a*255;return s};q.hsl.hsv=function(e){const t=e[0];let r=e[1]/100,n=e[2]/100,i=r;const o=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,i*=o<=1?o:2-o;const a=(n+r)/2,l=n===0?2*i/(o+i):2*r/(n+r);return[t,l*100,a*100]};q.hsv.rgb=function(e){const t=e[0]/60,r=e[1]/100;let n=e[2]/100;const i=Math.floor(t)%6,o=t-Math.floor(t),a=255*n*(1-r),l=255*n*(1-r*o),s=255*n*(1-r*(1-o));switch(n*=255,i){case 0:return[n,s,a];case 1:return[l,n,a];case 2:return[a,n,s];case 3:return[a,l,n];case 4:return[s,a,n];case 5:return[n,a,l]}};q.hsv.hsl=function(e){const t=e[0],r=e[1]/100,n=e[2]/100,i=Math.max(n,.01);let o,a;a=(2-r)*n;const l=(2-r)*i;return o=r*i,o/=l<=1?l:2-l,o=o||0,a/=2,[t,o*100,a*100]};q.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100,n=e[2]/100;const i=r+n;let o;i>1&&(r/=i,n/=i);const a=Math.floor(6*t),l=1-n;o=6*t-a,a&1&&(o=1-o);const s=r+o*(l-r);let u,c,f;switch(a){default:case 6:case 0:u=l,c=s,f=r;break;case 1:u=s,c=l,f=r;break;case 2:u=r,c=l,f=s;break;case 3:u=r,c=s,f=l;break;case 4:u=s,c=r,f=l;break;case 5:u=l,c=r,f=s;break}return[u*255,c*255,f*255]};q.cmyk.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100,o=1-Math.min(1,t*(1-i)+i),a=1-Math.min(1,r*(1-i)+i),l=1-Math.min(1,n*(1-i)+i);return[o*255,a*255,l*255]};q.xyz.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100;let i,o,a;return i=t*3.2406+r*-1.5372+n*-.4986,o=t*-.9689+r*1.8758+n*.0415,a=t*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),[i*255,o*255,a*255]};q.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;const i=116*r-16,o=500*(t-r),a=200*(r-n);return[i,o,a]};q.lab.xyz=function(e){const t=e[0],r=e[1],n=e[2];let i,o,a;o=(t+16)/116,i=r/500+o,a=o-n/200;const l=o**3,s=i**3,u=a**3;return o=l>.008856?l:(o-16/116)/7.787,i=s>.008856?s:(i-16/116)/7.787,a=u>.008856?u:(a-16/116)/7.787,i*=95.047,o*=100,a*=108.883,[i,o,a]};q.lab.lch=function(e){const t=e[0],r=e[1],n=e[2];let i;i=Math.atan2(n,r)*360/2/Math.PI,i<0&&(i+=360);const a=Math.sqrt(r*r+n*n);return[t,a,i]};q.lch.lab=function(e){const t=e[0],r=e[1],i=e[2]/360*2*Math.PI,o=r*Math.cos(i),a=r*Math.sin(i);return[t,o,a]};q.rgb.ansi16=function(e,t=null){const[r,n,i]=e;let o=t===null?q.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),o===0)return 30;let a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return o===2&&(a+=60),a};q.hsv.ansi16=function(e){return q.rgb.ansi16(q.hsv.rgb(e),e[2])};q.rgb.ansi256=function(e){const t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};q.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const r=(~~(e>50)+1)*.5,n=(t&1)*r*255,i=(t>>1&1)*r*255,o=(t>>2&1)*r*255;return[n,i,o]};q.ansi256.rgb=function(e){if(e>=232){const o=(e-232)*10+8;return[o,o,o]}e-=16;let t;const r=Math.floor(e/36)/5*255,n=Math.floor((t=e%36)/6)/5*255,i=t%6/5*255;return[r,n,i]};q.rgb.hex=function(e){const r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};q.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(l=>l+l).join(""));const n=parseInt(r,16),i=n>>16&255,o=n>>8&255,a=n&255;return[i,o,a]};q.rgb.hcg=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,r),n),o=Math.min(Math.min(t,r),n),a=i-o;let l,s;return a<1?l=o/(1-a):l=0,a<=0?s=0:i===t?s=(r-n)/a%6:i===r?s=2+(n-t)/a:s=4+(t-r)/a,s/=6,s%=1,[s*360,a*100,l*100]};q.hsl.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r);let i=0;return n<1&&(i=(r-.5*n)/(1-n)),[e[0],n*100,i*100]};q.hsv.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=t*r;let i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],n*100,i*100]};q.hcg.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];const i=[0,0,0],o=t%1*6,a=o%1,l=1-a;let s=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=l,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=l,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=l}return s=(1-r)*n,[(r*i[0]+s)*255,(r*i[1]+s)*255,(r*i[2]+s)*255]};q.hcg.hsv=function(e){const t=e[1]/100,r=e[2]/100,n=t+r*(1-t);let i=0;return n>0&&(i=t/n),[e[0],i*100,n*100]};q.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],i*100,n*100]};q.hcg.hwb=function(e){const t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};q.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,i=n-t;let o=0;return i<1&&(o=(n-i)/(1-i)),[e[0],i*100,o*100]};q.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};q.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};q.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};q.gray.hsl=function(e){return[0,0,e[0]]};q.gray.hsv=q.gray.hsl;q.gray.hwb=function(e){return[0,100,e[0]]};q.gray.cmyk=function(e){return[0,0,0,e[0]]};q.gray.lab=function(e){return[e[0],0,0]};q.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n};q.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const Ap=fW;function Uve(){const e={},t=Object.keys(Ap);for(let r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}function Wve(e){const t=Uve(),r=[e];for(t[e].distance=0;r.length;){const n=r.pop(),i=Object.keys(Ap[n]);for(let o=i.length,a=0;a<o;a++){const l=i[a],s=t[l];s.distance===-1&&(s.distance=t[n].distance+1,s.parent=n,r.unshift(l))}}return t}function Kve(e,t){return function(r){return t(e(r))}}function Hve(e,t){const r=[t[e].parent,e];let n=Ap[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)r.unshift(t[i].parent),n=Kve(Ap[t[i].parent][i],n),i=t[i].parent;return n.conversion=r,n}var Vve=function(e){const t=Wve(e),r={},n=Object.keys(t);for(let i=n.length,o=0;o<i;o++){const a=n[o];t[a].parent!==null&&(r[a]=Hve(a,t))}return r};const k4=fW,Gve=Vve,xa={},qve=Object.keys(k4);function Yve(e){const t=function(...r){const n=r[0];return n==null?n:(n.length>1&&(r=n),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function Xve(e){const t=function(...r){const n=r[0];if(n==null)return n;n.length>1&&(r=n);const i=e(r);if(typeof i=="object")for(let o=i.length,a=0;a<o;a++)i[a]=Math.round(i[a]);return i};return"conversion"in e&&(t.conversion=e.conversion),t}qve.forEach(e=>{xa[e]={},Object.defineProperty(xa[e],"channels",{value:k4[e].channels}),Object.defineProperty(xa[e],"labels",{value:k4[e].labels});const t=Gve(e);Object.keys(t).forEach(n=>{const i=t[n];xa[e][n]=Xve(i),xa[e][n].raw=Yve(i)})});var Qve=xa;const Dge=rr(Qve);var pW="Expected a function",pA=0/0,Jve="[object Symbol]",Zve=/^\s+|\s+$/g,eme=/^[-+]0x[0-9a-f]+$/i,tme=/^0b[01]+$/i,rme=/^0o[0-7]+$/i,nme=parseInt,ime=typeof be=="object"&&be&&be.Object===Object&&be,ome=typeof self=="object"&&self&&self.Object===Object&&self,ame=ime||ome||Function("return this")(),lme=Object.prototype,sme=lme.toString,ume=Math.max,cme=Math.min,Qg=function(){return ame.Date.now()};function dme(e,t,r){var n,i,o,a,l,s,u=0,c=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(pW);t=vA(t)||0,Op(r)&&(c=!!r.leading,f="maxWait"in r,o=f?ume(vA(r.maxWait)||0,t):o,d="trailing"in r?!!r.trailing:d);function p(E){var P=n,S=i;return n=i=void 0,u=E,a=e.apply(S,P),a}function m(E){return u=E,l=setTimeout(h,t),c?p(E):a}function b(E){var P=E-s,S=E-u,I=t-P;return f?cme(I,o-S):I}function v(E){var P=E-s,S=E-u;return s===void 0||P>=t||P<0||f&&S>=o}function h(){var E=Qg();if(v(E))return g(E);l=setTimeout(h,b(E))}function g(E){return l=void 0,d&&n?p(E):(n=i=void 0,a)}function y(){l!==void 0&&clearTimeout(l),u=0,n=s=i=l=void 0}function x(){return l===void 0?a:g(Qg())}function C(){var E=Qg(),P=v(E);if(n=arguments,i=this,s=E,P){if(l===void 0)return m(s);if(f)return l=setTimeout(h,t),p(s)}return l===void 0&&(l=setTimeout(h,t)),a}return C.cancel=y,C.flush=x,C}function fme(e,t,r){var n=!0,i=!0;if(typeof e!="function")throw new TypeError(pW);return Op(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),dme(e,t,{leading:n,maxWait:t,trailing:i})}function Op(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function pme(e){return!!e&&typeof e=="object"}function vme(e){return typeof e=="symbol"||pme(e)&&sme.call(e)==Jve}function vA(e){if(typeof e=="number")return e;if(vme(e))return pA;if(Op(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Op(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(Zve,"");var r=tme.test(e);return r||rme.test(e)?nme(e.slice(2),r?2:8):eme.test(e)?pA:+e}var mme=fme;const Mge=rr(mme);function hme(...e){return $.useMemo(()=>t=>{e.forEach(r=>r(t))},e)}const Xv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Ll(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function RE(e){return"nodeType"in e}function qt(e){var t,r;return e?Ll(e)?e:RE(e)&&(t=(r=e.ownerDocument)==null?void 0:r.defaultView)!=null?t:window:window}function _E(e){const{Document:t}=qt(e);return e instanceof t}function bc(e){return Ll(e)?!1:e instanceof qt(e).HTMLElement}function gme(e){return e instanceof qt(e).SVGElement}function Fl(e){return e?Ll(e)?e.document:RE(e)?_E(e)?e:bc(e)?e.ownerDocument:document:document:document}const zr=Xv?$.useLayoutEffect:$.useEffect;function Qv(e){const t=$.useRef(e);return zr(()=>{t.current=e}),$.useCallback(function(...r){return t.current==null?void 0:t.current(...r)},[])}function bme(){const e=$.useRef(null),t=$.useCallback((n,i)=>{e.current=setInterval(n,i)},[]),r=$.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,r]}function Ou(e,t=[e]){const r=$.useRef(e);return zr(()=>{r.current!==e&&(r.current=e)},t),r}function yc(e,t){const r=$.useRef();return $.useMemo(()=>{const n=e(r.current);return r.current=n,n},[...t])}function Rp(e){const t=Qv(e),r=$.useRef(null),n=$.useCallback(i=>{i!==r.current&&(t==null||t(i,r.current)),r.current=i},[]);return[r,n]}function _p(e){const t=$.useRef();return $.useEffect(()=>{t.current=e},[e]),t.current}let Jg={};function $c(e,t){return $.useMemo(()=>{if(t)return t;const r=Jg[e]==null?0:Jg[e]+1;return Jg[e]=r,`${e}-${r}`},[e,t])}function vW(e){return(t,...r)=>r.reduce((n,i)=>{const o=Object.entries(i);for(const[a,l]of o){const s=n[a];s!=null&&(n[a]=s+e*l)}return n},{...t})}const Za=vW(1),kp=vW(-1);function yme(e){return"clientX"in e&&"clientY"in e}function Jv(e){if(!e)return!1;const{KeyboardEvent:t}=qt(e.target);return t&&e instanceof t}function $me(e){if(!e)return!1;const{TouchEvent:t}=qt(e.target);return t&&e instanceof t}function Dp(e){if($me(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:r}=e.touches[0];return{x:t,y:r}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:r}=e.changedTouches[0];return{x:t,y:r}}}return yme(e)?{x:e.clientX,y:e.clientY}:null}const No=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:r}=e;return`translate3d(${t?Math.round(t):0}px, ${r?Math.round(r):0}px, 0)`}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:r}=e;return`scaleX(${t}) scaleY(${r})`}},Transform:{toString(e){if(e)return[No.Translate.toString(e),No.Scale.toString(e)].join(" ")}},Transition:{toString({property:e,duration:t,easing:r}){return`${e} ${t}ms ${r}`}}}),mA="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function xme(e){return e.matches(mA)?e:e.querySelector(mA)}const wme={display:"none"};function Sme(e){let{id:t,value:r}=e;return w.createElement("div",{id:t,style:wme},r)}const Eme={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};function Cme(e){let{id:t,announcement:r}=e;return w.createElement("div",{id:t,style:Eme,role:"status","aria-live":"assertive","aria-atomic":!0},r)}function Pme(){const[e,t]=$.useState("");return{announce:$.useCallback(n=>{n!=null&&t(n)},[]),announcement:e}}const mW=$.createContext(null);function Ime(e){const t=$.useContext(mW);$.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function Tme(){const[e]=$.useState(()=>new Set),t=$.useCallback(n=>(e.add(n),()=>e.delete(n)),[e]);return[$.useCallback(n=>{let{type:i,event:o}=n;e.forEach(a=>{var l;return(l=a[i])==null?void 0:l.call(a,o)})},[e]),t]}const Ame={draggable:`
904
+ To pick up a draggable item, press the space bar.
905
+ While dragging, use the arrow keys to move the item.
906
+ Press space again to drop the item in its new position, or press escape to cancel.
907
+ `},Ome={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was moved over droppable area "+r.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was dropped over droppable area "+r.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function Rme(e){let{announcements:t=Ome,container:r,hiddenTextDescribedById:n,screenReaderInstructions:i=Ame}=e;const{announce:o,announcement:a}=Pme(),l=$c("DndLiveRegion"),[s,u]=$.useState(!1);if($.useEffect(()=>{u(!0)},[]),Ime($.useMemo(()=>({onDragStart(f){let{active:d}=f;o(t.onDragStart({active:d}))},onDragMove(f){let{active:d,over:p}=f;t.onDragMove&&o(t.onDragMove({active:d,over:p}))},onDragOver(f){let{active:d,over:p}=f;o(t.onDragOver({active:d,over:p}))},onDragEnd(f){let{active:d,over:p}=f;o(t.onDragEnd({active:d,over:p}))},onDragCancel(f){let{active:d,over:p}=f;o(t.onDragCancel({active:d,over:p}))}}),[o,t])),!s)return null;const c=w.createElement(w.Fragment,null,w.createElement(Sme,{id:n,value:i.draggable}),w.createElement(Cme,{id:l,announcement:a}));return r?pn.createPortal(c,r):c}var vt;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(vt||(vt={}));function Mp(){}function Nge(e,t){return $.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function Lge(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return $.useMemo(()=>[...t].filter(n=>n!=null),[...t])}const nn=Object.freeze({x:0,y:0});function hW(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function _me(e,t){const r=Dp(e);if(!r)return"0 0";const n={x:(r.x-t.left)/t.width*100,y:(r.y-t.top)/t.height*100};return n.x+"% "+n.y+"%"}function gW(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return r-n}function kme(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return n-r}function hA(e){let{left:t,top:r,height:n,width:i}=e;return[{x:t,y:r},{x:t+i,y:r},{x:t,y:r+n},{x:t+i,y:r+n}]}function Dme(e,t){if(!e||e.length===0)return null;const[r]=e;return t?r[t]:r}function gA(e,t,r){return t===void 0&&(t=e.left),r===void 0&&(r=e.top),{x:t+e.width*.5,y:r+e.height*.5}}const Fge=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=gA(t,t.left,t.top),o=[];for(const a of n){const{id:l}=a,s=r.get(l);if(s){const u=hW(gA(s),i);o.push({id:l,data:{droppableContainer:a,value:u}})}}return o.sort(gW)},Bge=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=hA(t),o=[];for(const a of n){const{id:l}=a,s=r.get(l);if(s){const u=hA(s),c=i.reduce((d,p,m)=>d+hW(u[m],p),0),f=Number((c/4).toFixed(4));o.push({id:l,data:{droppableContainer:a,value:f}})}}return o.sort(gW)};function Mme(e,t){const r=Math.max(t.top,e.top),n=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height),a=i-n,l=o-r;if(n<i&&r<o){const s=t.width*t.height,u=e.width*e.height,c=a*l,f=c/(s+u-c);return Number(f.toFixed(4))}return 0}const Nme=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=[];for(const o of n){const{id:a}=o,l=r.get(a);if(l){const s=Mme(l,t);s>0&&i.push({id:a,data:{droppableContainer:o,value:s}})}}return i.sort(kme)};function Lme(e,t,r){return{...e,scaleX:t&&r?t.width/r.width:1,scaleY:t&&r?t.height/r.height:1}}function bW(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:nn}function Fme(e){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return i.reduce((a,l)=>({...a,top:a.top+e*l.y,bottom:a.bottom+e*l.y,left:a.left+e*l.x,right:a.right+e*l.x}),{...r})}}const Bme=Fme(1);function yW(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function zme(e,t,r){const n=yW(t);if(!n)return e;const{scaleX:i,scaleY:o,x:a,y:l}=n,s=e.left-a-(1-i)*parseFloat(r),u=e.top-l-(1-o)*parseFloat(r.slice(r.indexOf(" ")+1)),c=i?e.width/i:e.width,f=o?e.height/o:e.height;return{width:c,height:f,top:u,right:s+c,bottom:u+f,left:s}}const jme={ignoreTransform:!1};function Bl(e,t){t===void 0&&(t=jme);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{getComputedStyle:u}=qt(e),{transform:c,transformOrigin:f}=u(e);c&&(r=zme(r,c,f))}const{top:n,left:i,width:o,height:a,bottom:l,right:s}=r;return{top:n,left:i,width:o,height:a,bottom:l,right:s}}function bA(e){return Bl(e,{ignoreTransform:!0})}function Ume(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}function Wme(e,t){return t===void 0&&(t=qt(e).getComputedStyle(e)),t.position==="fixed"}function Kme(e,t){t===void 0&&(t=qt(e).getComputedStyle(e));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(i=>{const o=t[i];return typeof o=="string"?r.test(o):!1})}function kE(e,t){const r=[];function n(i){if(t!=null&&r.length>=t||!i)return r;if(_E(i)&&i.scrollingElement!=null&&!r.includes(i.scrollingElement))return r.push(i.scrollingElement),r;if(!bc(i)||gme(i)||r.includes(i))return r;const{getComputedStyle:o}=qt(i),a=o(i);return i!==e&&Kme(i,a)&&r.push(i),Wme(i,a)?r:n(i.parentNode)}return e?n(e):r}function $W(e){const[t]=kE(e,1);return t??null}function Zg(e){return!Xv||!e?null:Ll(e)?e:RE(e)?_E(e)||e===Fl(e).scrollingElement?window:bc(e)?e:null:null}function xW(e){return Ll(e)?e.scrollX:e.scrollLeft}function wW(e){return Ll(e)?e.scrollY:e.scrollTop}function D4(e){return{x:xW(e),y:wW(e)}}var yt;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(yt||(yt={}));function SW(e){return!Xv||!e?!1:e===document.scrollingElement}function EW(e){const t={x:0,y:0},r=SW(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},n={x:e.scrollWidth-r.width,y:e.scrollHeight-r.height},i=e.scrollTop<=t.y,o=e.scrollLeft<=t.x,a=e.scrollTop>=n.y,l=e.scrollLeft>=n.x;return{isTop:i,isLeft:o,isBottom:a,isRight:l,maxScroll:n,minScroll:t}}const Hme={x:.2,y:.2};function Vme(e,t,r,n,i){let{top:o,left:a,right:l,bottom:s}=r;n===void 0&&(n=10),i===void 0&&(i=Hme);const{isTop:u,isBottom:c,isLeft:f,isRight:d}=EW(e),p={x:0,y:0},m={x:0,y:0},b={height:t.height*i.y,width:t.width*i.x};return!u&&o<=t.top+b.height?(p.y=yt.Backward,m.y=n*Math.abs((t.top+b.height-o)/b.height)):!c&&s>=t.bottom-b.height&&(p.y=yt.Forward,m.y=n*Math.abs((t.bottom-b.height-s)/b.height)),!d&&l>=t.right-b.width?(p.x=yt.Forward,m.x=n*Math.abs((t.right-b.width-l)/b.width)):!f&&a<=t.left+b.width&&(p.x=yt.Backward,m.x=n*Math.abs((t.left+b.width-a)/b.width)),{direction:p,speed:m}}function Gme(e){if(e===document.scrollingElement){const{innerWidth:o,innerHeight:a}=window;return{top:0,left:0,right:o,bottom:a,width:o,height:a}}const{top:t,left:r,right:n,bottom:i}=e.getBoundingClientRect();return{top:t,left:r,right:n,bottom:i,width:e.clientWidth,height:e.clientHeight}}function CW(e){return e.reduce((t,r)=>Za(t,D4(r)),nn)}function qme(e){return e.reduce((t,r)=>t+xW(r),0)}function Yme(e){return e.reduce((t,r)=>t+wW(r),0)}function PW(e,t){if(t===void 0&&(t=Bl),!e)return;const{top:r,left:n,bottom:i,right:o}=t(e);$W(e)&&(i<=0||o<=0||r>=window.innerHeight||n>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const Xme=[["x",["left","right"],qme],["y",["top","bottom"],Yme]];class DE{constructor(t,r){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=kE(r),i=CW(n);this.rect={...t},this.width=t.width,this.height=t.height;for(const[o,a,l]of Xme)for(const s of a)Object.defineProperty(this,s,{get:()=>{const u=l(n),c=i[o]-u;return this.rect[s]+c},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Ys{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(r=>{var n;return(n=this.target)==null?void 0:n.removeEventListener(...r)})},this.target=t}add(t,r,n){var i;(i=this.target)==null||i.addEventListener(t,r,n),this.listeners.push([t,r,n])}}function Qme(e){const{EventTarget:t}=qt(e);return e instanceof t?e:Fl(e)}function eb(e,t){const r=Math.abs(e.x),n=Math.abs(e.y);return typeof t=="number"?Math.sqrt(r**2+n**2)>t:"x"in t&&"y"in t?r>t.x&&n>t.y:"x"in t?r>t.x:"y"in t?n>t.y:!1}var Tr;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(Tr||(Tr={}));function yA(e){e.preventDefault()}function Jme(e){e.stopPropagation()}var Ae;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(Ae||(Ae={}));const IW={start:[Ae.Space,Ae.Enter],cancel:[Ae.Esc],end:[Ae.Space,Ae.Enter]},Zme=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case Ae.Right:return{...r,x:r.x+25};case Ae.Left:return{...r,x:r.x-25};case Ae.Down:return{...r,y:r.y+25};case Ae.Up:return{...r,y:r.y-25}}};class TW{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:r}}=t;this.props=t,this.listeners=new Ys(Fl(r)),this.windowListeners=new Ys(qt(r)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Tr.Resize,this.handleCancel),this.windowListeners.add(Tr.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Tr.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:r}=this.props,n=t.node.current;n&&PW(n),r(nn)}handleKeyDown(t){if(Jv(t)){const{active:r,context:n,options:i}=this.props,{keyboardCodes:o=IW,coordinateGetter:a=Zme,scrollBehavior:l="smooth"}=i,{code:s}=t;if(o.end.includes(s)){this.handleEnd(t);return}if(o.cancel.includes(s)){this.handleCancel(t);return}const{collisionRect:u}=n.current,c=u?{x:u.left,y:u.top}:nn;this.referenceCoordinates||(this.referenceCoordinates=c);const f=a(t,{active:r,context:n.current,currentCoordinates:c});if(f){const d=kp(f,c),p={x:0,y:0},{scrollableAncestors:m}=n.current;for(const b of m){const v=t.code,{isTop:h,isRight:g,isLeft:y,isBottom:x,maxScroll:C,minScroll:E}=EW(b),P=Gme(b),S={x:Math.min(v===Ae.Right?P.right-P.width/2:P.right,Math.max(v===Ae.Right?P.left:P.left+P.width/2,f.x)),y:Math.min(v===Ae.Down?P.bottom-P.height/2:P.bottom,Math.max(v===Ae.Down?P.top:P.top+P.height/2,f.y))},I=v===Ae.Right&&!g||v===Ae.Left&&!y,_=v===Ae.Down&&!x||v===Ae.Up&&!h;if(I&&S.x!==f.x){const T=b.scrollLeft+d.x,k=v===Ae.Right&&T<=C.x||v===Ae.Left&&T>=E.x;if(k&&!d.y){b.scrollTo({left:T,behavior:l});return}k?p.x=b.scrollLeft-T:p.x=v===Ae.Right?b.scrollLeft-C.x:b.scrollLeft-E.x,p.x&&b.scrollBy({left:-p.x,behavior:l});break}else if(_&&S.y!==f.y){const T=b.scrollTop+d.y,k=v===Ae.Down&&T<=C.y||v===Ae.Up&&T>=E.y;if(k&&!d.x){b.scrollTo({top:T,behavior:l});return}k?p.y=b.scrollTop-T:p.y=v===Ae.Down?b.scrollTop-C.y:b.scrollTop-E.y,p.y&&b.scrollBy({top:-p.y,behavior:l});break}}this.handleMove(t,Za(kp(f,this.referenceCoordinates),p))}}}handleMove(t,r){const{onMove:n}=this.props;t.preventDefault(),n(r)}handleEnd(t){const{onEnd:r}=this.props;t.preventDefault(),this.detach(),r()}handleCancel(t){const{onCancel:r}=this.props;t.preventDefault(),this.detach(),r()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}TW.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:n=IW,onActivation:i}=t,{active:o}=r;const{code:a}=e.nativeEvent;if(n.start.includes(a)){const l=o.activatorNode.current;return l&&e.target!==l?!1:(e.preventDefault(),i==null||i({event:e.nativeEvent}),!0)}return!1}}];function $A(e){return!!(e&&"distance"in e)}function xA(e){return!!(e&&"delay"in e)}class ME{constructor(t,r,n){var i;n===void 0&&(n=Qme(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=r;const{event:o}=t,{target:a}=o;this.props=t,this.events=r,this.document=Fl(a),this.documentListeners=new Ys(this.document),this.listeners=new Ys(n),this.windowListeners=new Ys(qt(a)),this.initialCoordinates=(i=Dp(o))!=null?i:nn,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),this.windowListeners.add(Tr.Resize,this.handleCancel),this.windowListeners.add(Tr.DragStart,yA),this.windowListeners.add(Tr.VisibilityChange,this.handleCancel),this.windowListeners.add(Tr.ContextMenu,yA),this.documentListeners.add(Tr.Keydown,this.handleKeydown),r){if($A(r))return;if(xA(r)){this.timeoutId=setTimeout(this.handleStart,r.delay);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:t}=this,{onStart:r}=this.props;t&&(this.activated=!0,this.documentListeners.add(Tr.Click,Jme,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Tr.SelectionChange,this.removeTextSelection),r(t))}handleMove(t){var r;const{activated:n,initialCoordinates:i,props:o}=this,{onMove:a,options:{activationConstraint:l}}=o;if(!i)return;const s=(r=Dp(t))!=null?r:nn,u=kp(i,s);if(!n&&l){if(xA(l))return eb(u,l.tolerance)?this.handleCancel():void 0;if($A(l))return l.tolerance!=null&&eb(u,l.tolerance)?this.handleCancel():eb(u,l.distance)?this.handleStart():void 0}t.cancelable&&t.preventDefault(),a(s)}handleEnd(){const{onEnd:t}=this.props;this.detach(),t()}handleCancel(){const{onCancel:t}=this.props;this.detach(),t()}handleKeydown(t){t.code===Ae.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const ehe={move:{name:"pointermove"},end:{name:"pointerup"}};class AW extends ME{constructor(t){const{event:r}=t,n=Fl(r.target);super(t,ehe,n)}}AW.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return!r.isPrimary||r.button!==0?!1:(n==null||n({event:r}),!0)}}];const the={move:{name:"mousemove"},end:{name:"mouseup"}};var M4;(function(e){e[e.RightClick=2]="RightClick"})(M4||(M4={}));class rhe extends ME{constructor(t){super(t,the,Fl(t.event.target))}}rhe.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return r.button===M4.RightClick?!1:(n==null||n({event:r}),!0)}}];const tb={move:{name:"touchmove"},end:{name:"touchend"}};class nhe extends ME{constructor(t){super(t,tb)}static setup(){return window.addEventListener(tb.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(tb.move.name,t)};function t(){}}}nhe.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;const{touches:i}=r;return i.length>1?!1:(n==null||n({event:r}),!0)}}];var Xs;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Xs||(Xs={}));var Np;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(Np||(Np={}));function ihe(e){let{acceleration:t,activator:r=Xs.Pointer,canScroll:n,draggingRect:i,enabled:o,interval:a=5,order:l=Np.TreeOrder,pointerCoordinates:s,scrollableAncestors:u,scrollableAncestorRects:c,delta:f,threshold:d}=e;const p=ahe({delta:f,disabled:!o}),[m,b]=bme(),v=$.useRef({x:0,y:0}),h=$.useRef({x:0,y:0}),g=$.useMemo(()=>{switch(r){case Xs.Pointer:return s?{top:s.y,bottom:s.y,left:s.x,right:s.x}:null;case Xs.DraggableRect:return i}},[r,i,s]),y=$.useRef(null),x=$.useCallback(()=>{const E=y.current;if(!E)return;const P=v.current.x*h.current.x,S=v.current.y*h.current.y;E.scrollBy(P,S)},[]),C=$.useMemo(()=>l===Np.TreeOrder?[...u].reverse():u,[l,u]);$.useEffect(()=>{if(!o||!u.length||!g){b();return}for(const E of C){if((n==null?void 0:n(E))===!1)continue;const P=u.indexOf(E),S=c[P];if(!S)continue;const{direction:I,speed:_}=Vme(E,S,g,t,d);for(const T of["x","y"])p[T][I[T]]||(_[T]=0,I[T]=0);if(_.x>0||_.y>0){b(),y.current=E,m(x,a),v.current=_,h.current=I;return}}v.current={x:0,y:0},h.current={x:0,y:0},b()},[t,x,n,b,o,a,JSON.stringify(g),JSON.stringify(p),m,u,C,c,JSON.stringify(d)])}const ohe={x:{[yt.Backward]:!1,[yt.Forward]:!1},y:{[yt.Backward]:!1,[yt.Forward]:!1}};function ahe(e){let{delta:t,disabled:r}=e;const n=_p(t);return yc(i=>{if(r||!n||!i)return ohe;const o={x:Math.sign(t.x-n.x),y:Math.sign(t.y-n.y)};return{x:{[yt.Backward]:i.x[yt.Backward]||o.x===-1,[yt.Forward]:i.x[yt.Forward]||o.x===1},y:{[yt.Backward]:i.y[yt.Backward]||o.y===-1,[yt.Forward]:i.y[yt.Forward]||o.y===1}}},[r,t,n])}function lhe(e,t){const r=t!==null?e.get(t):void 0,n=r?r.node.current:null;return yc(i=>{var o;return t===null?null:(o=n??i)!=null?o:null},[n,t])}function she(e,t){return $.useMemo(()=>e.reduce((r,n)=>{const{sensor:i}=n,o=i.activators.map(a=>({eventName:a.eventName,handler:t(a.handler,n)}));return[...r,...o]},[]),[e,t])}var Ru;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Ru||(Ru={}));var N4;(function(e){e.Optimized="optimized"})(N4||(N4={}));const wA=new Map;function uhe(e,t){let{dragging:r,dependencies:n,config:i}=t;const[o,a]=$.useState(null),l=o!=null,{frequency:s,measure:u,strategy:c}=i,f=$.useRef(e),d=h(),p=Ou(d),m=$.useCallback(function(g){g===void 0&&(g=[]),!p.current&&a(y=>y?y.concat(g):g)},[p]),b=$.useRef(null),v=yc(g=>{if(d&&!r)return wA;const y=o;if(!g||g===wA||f.current!==e||y!=null){const x=new Map;for(let C of e){if(!C)continue;if(y&&y.length>0&&!y.includes(C.id)&&C.rect.current){x.set(C.id,C.rect.current);continue}const E=C.node.current,P=E?new DE(u(E),E):null;C.rect.current=P,P&&x.set(C.id,P)}return x}return g},[e,o,r,d,u]);return $.useEffect(()=>{f.current=e},[e]),$.useEffect(()=>{d||requestAnimationFrame(()=>m())},[r,d]),$.useEffect(()=>{l&&a(null)},[l]),$.useEffect(()=>{d||typeof s!="number"||b.current!==null||(b.current=setTimeout(()=>{m(),b.current=null},s))},[s,d,m,...n]),{droppableRects:v,measureDroppableContainers:m,measuringScheduled:l};function h(){switch(c){case Ru.Always:return!1;case Ru.BeforeDragging:return r;default:return!r}}}function NE(e,t){return yc(r=>e?r||(typeof t=="function"?t(e):e):null,[t,e])}function che(e,t){return NE(e,t)}function dhe(e){let{callback:t,disabled:r}=e;const n=Qv(t),i=$.useMemo(()=>{if(r||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:o}=window;return new o(n)},[n,r]);return $.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function Zv(e){let{callback:t,disabled:r}=e;const n=Qv(t),i=$.useMemo(()=>{if(r||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:o}=window;return new o(n)},[r]);return $.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function fhe(e){return new DE(Bl(e),e)}function SA(e,t,r){t===void 0&&(t=fhe);const[n,i]=$.useReducer(l,null),o=dhe({callback(s){if(e)for(const u of s){const{type:c,target:f}=u;if(c==="childList"&&f instanceof HTMLElement&&f.contains(e)){i();break}}}}),a=Zv({callback:i});return zr(()=>{i(),e?(a==null||a.observe(e),o==null||o.observe(document.body,{childList:!0,subtree:!0})):(a==null||a.disconnect(),o==null||o.disconnect())},[e]),n;function l(s){if(!e)return null;if(e.isConnected===!1){var u;return(u=s??r)!=null?u:null}const c=t(e);return JSON.stringify(s)===JSON.stringify(c)?s:c}}function phe(e){const t=NE(e);return bW(e,t)}const EA=[];function vhe(e){const t=$.useRef(e),r=yc(n=>e?n&&n!==EA&&e&&t.current&&e.parentNode===t.current.parentNode?n:kE(e):EA,[e]);return $.useEffect(()=>{t.current=e},[e]),r}function mhe(e){const[t,r]=$.useState(null),n=$.useRef(e),i=$.useCallback(o=>{const a=Zg(o.target);a&&r(l=>l?(l.set(a,D4(a)),new Map(l)):null)},[]);return $.useEffect(()=>{const o=n.current;if(e!==o){a(o);const l=e.map(s=>{const u=Zg(s);return u?(u.addEventListener("scroll",i,{passive:!0}),[u,D4(u)]):null}).filter(s=>s!=null);r(l.length?new Map(l):null),n.current=e}return()=>{a(e),a(o)};function a(l){l.forEach(s=>{const u=Zg(s);u==null||u.removeEventListener("scroll",i)})}},[i,e]),$.useMemo(()=>e.length?t?Array.from(t.values()).reduce((o,a)=>Za(o,a),nn):CW(e):nn,[e,t])}function CA(e,t){t===void 0&&(t=[]);const r=$.useRef(null);return $.useEffect(()=>{r.current=null},t),$.useEffect(()=>{const n=e!==nn;n&&!r.current&&(r.current=e),!n&&r.current&&(r.current=null)},[e]),r.current?kp(e,r.current):nn}function hhe(e){$.useEffect(()=>{if(!Xv)return;const t=e.map(r=>{let{sensor:n}=r;return n.setup==null?void 0:n.setup()});return()=>{for(const r of t)r==null||r()}},e.map(t=>{let{sensor:r}=t;return r}))}function ghe(e,t){return $.useMemo(()=>e.reduce((r,n)=>{let{eventName:i,handler:o}=n;return r[i]=a=>{o(a,t)},r},{}),[e,t])}function OW(e){return $.useMemo(()=>e?Ume(e):null,[e])}const rb=[];function bhe(e,t){t===void 0&&(t=Bl);const[r]=e,n=OW(r?qt(r):null),[i,o]=$.useReducer(l,rb),a=Zv({callback:o});return e.length>0&&i===rb&&o(),zr(()=>{e.length?e.forEach(s=>a==null?void 0:a.observe(s)):(a==null||a.disconnect(),o())},[e]),i;function l(){return e.length?e.map(s=>SW(s)?n:new DE(t(s),s)):rb}}function RW(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return bc(t)?t:e}function yhe(e){let{measure:t}=e;const[r,n]=$.useState(null),i=$.useCallback(u=>{for(const{target:c}of u)if(bc(c)){n(f=>{const d=t(c);return f?{...f,width:d.width,height:d.height}:d});break}},[t]),o=Zv({callback:i}),a=$.useCallback(u=>{const c=RW(u);o==null||o.disconnect(),c&&(o==null||o.observe(c)),n(c?t(c):null)},[t,o]),[l,s]=Rp(a);return $.useMemo(()=>({nodeRef:l,rect:r,setRef:s}),[r,l,s])}const $he=[{sensor:AW,options:{}},{sensor:TW,options:{}}],xhe={current:{}},Qd={draggable:{measure:bA},droppable:{measure:bA,strategy:Ru.WhileDragging,frequency:N4.Optimized},dragOverlay:{measure:Bl}};class Qs extends Map{get(t){var r;return t!=null&&(r=super.get(t))!=null?r:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:r}=t;return!r})}getNodeFor(t){var r,n;return(r=(n=this.get(t))==null?void 0:n.node.current)!=null?r:void 0}}const whe={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Qs,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Mp},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Qd,measureDroppableContainers:Mp,windowRect:null,measuringScheduled:!1},_W={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:Mp,draggableNodes:new Map,over:null,measureDroppableContainers:Mp},xc=$.createContext(_W),kW=$.createContext(whe);function She(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Qs}}}function Ehe(e,t){switch(t.type){case vt.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case vt.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case vt.DragEnd:case vt.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case vt.RegisterDroppable:{const{element:r}=t,{id:n}=r,i=new Qs(e.droppable.containers);return i.set(n,r),{...e,droppable:{...e.droppable,containers:i}}}case vt.SetDroppableDisabled:{const{id:r,key:n,disabled:i}=t,o=e.droppable.containers.get(r);if(!o||n!==o.key)return e;const a=new Qs(e.droppable.containers);return a.set(r,{...o,disabled:i}),{...e,droppable:{...e.droppable,containers:a}}}case vt.UnregisterDroppable:{const{id:r,key:n}=t,i=e.droppable.containers.get(r);if(!i||n!==i.key)return e;const o=new Qs(e.droppable.containers);return o.delete(r),{...e,droppable:{...e.droppable,containers:o}}}default:return e}}function Che(e){let{disabled:t}=e;const{active:r,activatorEvent:n,draggableNodes:i}=$.useContext(xc),o=_p(n),a=_p(r==null?void 0:r.id);return $.useEffect(()=>{if(!t&&!n&&o&&a!=null){if(!Jv(o)||document.activeElement===o.target)return;const l=i.get(a);if(!l)return;const{activatorNode:s,node:u}=l;if(!s.current&&!u.current)return;requestAnimationFrame(()=>{for(const c of[s.current,u.current]){if(!c)continue;const f=xme(c);if(f){f.focus();break}}})}},[n,t,i,a,o]),null}function DW(e,t){let{transform:r,...n}=t;return e!=null&&e.length?e.reduce((i,o)=>o({transform:i,...n}),r):r}function Phe(e){return $.useMemo(()=>({draggable:{...Qd.draggable,...e==null?void 0:e.draggable},droppable:{...Qd.droppable,...e==null?void 0:e.droppable},dragOverlay:{...Qd.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function Ihe(e){let{activeNode:t,measure:r,initialRect:n,config:i=!0}=e;const o=$.useRef(!1),{x:a,y:l}=typeof i=="boolean"?{x:i,y:i}:i;zr(()=>{if(!a&&!l||!t){o.current=!1;return}if(o.current||!n)return;const u=t==null?void 0:t.node.current;if(!u||u.isConnected===!1)return;const c=r(u),f=bW(c,n);if(a||(f.x=0),l||(f.y=0),o.current=!0,Math.abs(f.x)>0||Math.abs(f.y)>0){const d=$W(u);d&&d.scrollBy({top:f.y,left:f.x})}},[t,a,l,n,r])}const em=$.createContext({...nn,scaleX:1,scaleY:1});var ci;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(ci||(ci={}));const zge=$.memo(function(t){var r,n,i,o;let{id:a,accessibility:l,autoScroll:s=!0,children:u,sensors:c=$he,collisionDetection:f=Nme,measuring:d,modifiers:p,...m}=t;const b=$.useReducer(Ehe,void 0,She),[v,h]=b,[g,y]=Tme(),[x,C]=$.useState(ci.Uninitialized),E=x===ci.Initialized,{draggable:{active:P,nodes:S,translate:I},droppable:{containers:_}}=v,T=P?S.get(P):null,k=$.useRef({initial:null,translated:null}),A=$.useMemo(()=>{var It;return P!=null?{id:P,data:(It=T==null?void 0:T.data)!=null?It:xhe,rect:k}:null},[P,T]),O=$.useRef(null),[U,G]=$.useState(null),[W,N]=$.useState(null),Y=Ou(m,Object.values(m)),oe=$c("DndDescribedBy",a),M=$.useMemo(()=>_.getEnabled(),[_]),L=Phe(d),{droppableRects:F,measureDroppableContainers:K,measuringScheduled:re}=uhe(M,{dragging:E,dependencies:[I.x,I.y],config:L.droppable}),ge=lhe(S,P),Ve=$.useMemo(()=>W?Dp(W):null,[W]),Ye=qW(),et=che(ge,L.draggable.measure);Ihe({activeNode:P?S.get(P):null,config:Ye.layoutShiftCompensation,initialRect:et,measure:L.draggable.measure});const ve=SA(ge,L.draggable.measure,et),Hr=SA(ge?ge.parentElement:null),ae=$.useRef({activatorEvent:null,active:null,activeNode:ge,collisionRect:null,collisions:null,droppableRects:F,draggableNodes:S,draggingNode:null,draggingNodeRect:null,droppableContainers:_,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),ye=_.getNodeFor((r=ae.current.over)==null?void 0:r.id),Ee=yhe({measure:L.dragOverlay.measure}),Cn=(n=Ee.nodeRef.current)!=null?n:ge,ln=E?(i=Ee.rect)!=null?i:ve:null,Qo=!!(Ee.nodeRef.current&&Ee.rect),wc=phe(Qo?null:ve),Pn=OW(Cn?qt(Cn):null),wr=vhe(E?ye??ge:null),Sc=bhe(wr),Ec=DW(p,{transform:{x:I.x-wc.x,y:I.y-wc.y,scaleX:1,scaleY:1},activatorEvent:W,active:A,activeNodeRect:ve,containerNodeRect:Hr,draggingNodeRect:ln,over:ae.current.over,overlayNodeRect:Ee.rect,scrollableAncestors:wr,scrollableAncestorRects:Sc,windowRect:Pn}),LE=Ve?Za(Ve,I):null,FE=mhe(wr),jW=CA(FE),UW=CA(FE,[ve]),Jo=Za(Ec,jW),Zo=ln?Bme(ln,Ec):null,zl=A&&Zo?f({active:A,collisionRect:Zo,droppableRects:F,droppableContainers:M,pointerCoordinates:LE}):null,BE=Dme(zl,"id"),[ti,zE]=$.useState(null),WW=Qo?Ec:Za(Ec,UW),KW=Lme(WW,(o=ti==null?void 0:ti.rect)!=null?o:null,ve),jE=$.useCallback((It,or)=>{let{sensor:ar,options:ri}=or;if(O.current==null)return;const Sr=S.get(O.current);if(!Sr)return;const Vr=It.nativeEvent,sn=new ar({active:O.current,activeNode:Sr,event:Vr,options:ri,context:ae,onStart(Gr){const jl=O.current;if(jl==null)return;const Ul=S.get(jl);if(!Ul)return;const{onDragStart:Cc}=Y.current,Pc={active:{id:jl,data:Ul.data,rect:k}};pn.unstable_batchedUpdates(()=>{Cc==null||Cc(Pc),C(ci.Initializing),h({type:vt.DragStart,initialCoordinates:Gr,active:jl}),g({type:"onDragStart",event:Pc})})},onMove(Gr){h({type:vt.DragMove,coordinates:Gr})},onEnd:ea(vt.DragEnd),onCancel:ea(vt.DragCancel)});pn.unstable_batchedUpdates(()=>{G(sn),N(It.nativeEvent)});function ea(Gr){return async function(){const{active:Ul,collisions:Cc,over:Pc,scrollAdjustedTranslate:WE}=ae.current;let Wl=null;if(Ul&&WE){const{cancelDrop:Kl}=Y.current;Wl={activatorEvent:Vr,active:Ul,collisions:Cc,delta:WE,over:Pc},Gr===vt.DragEnd&&typeof Kl=="function"&&await Promise.resolve(Kl(Wl))&&(Gr=vt.DragCancel)}O.current=null,pn.unstable_batchedUpdates(()=>{h({type:Gr}),C(ci.Uninitialized),zE(null),G(null),N(null);const Kl=Gr===vt.DragEnd?"onDragEnd":"onDragCancel";if(Wl){const tm=Y.current[Kl];tm==null||tm(Wl),g({type:Kl,event:Wl})}})}}},[S]),HW=$.useCallback((It,or)=>(ar,ri)=>{const Sr=ar.nativeEvent,Vr=S.get(ri);if(O.current!==null||!Vr||Sr.dndKit||Sr.defaultPrevented)return;const sn={active:Vr};It(ar,or.options,sn)===!0&&(Sr.dndKit={capturedBy:or.sensor},O.current=ri,jE(ar,or))},[S,jE]),UE=she(c,HW);hhe(c),zr(()=>{ve&&x===ci.Initializing&&C(ci.Initialized)},[ve,x]),$.useEffect(()=>{const{onDragMove:It}=Y.current,{active:or,activatorEvent:ar,collisions:ri,over:Sr}=ae.current;if(!or||!ar)return;const Vr={active:or,activatorEvent:ar,collisions:ri,delta:{x:Jo.x,y:Jo.y},over:Sr};pn.unstable_batchedUpdates(()=>{It==null||It(Vr),g({type:"onDragMove",event:Vr})})},[Jo.x,Jo.y]),$.useEffect(()=>{const{active:It,activatorEvent:or,collisions:ar,droppableContainers:ri,scrollAdjustedTranslate:Sr}=ae.current;if(!It||O.current==null||!or||!Sr)return;const{onDragOver:Vr}=Y.current,sn=ri.get(BE),ea=sn&&sn.rect.current?{id:sn.id,rect:sn.rect.current,data:sn.data,disabled:sn.disabled}:null,Gr={active:It,activatorEvent:or,collisions:ar,delta:{x:Sr.x,y:Sr.y},over:ea};pn.unstable_batchedUpdates(()=>{zE(ea),Vr==null||Vr(Gr),g({type:"onDragOver",event:Gr})})},[BE]),zr(()=>{ae.current={activatorEvent:W,active:A,activeNode:ge,collisionRect:Zo,collisions:zl,droppableRects:F,draggableNodes:S,draggingNode:Cn,draggingNodeRect:ln,droppableContainers:_,over:ti,scrollableAncestors:wr,scrollAdjustedTranslate:Jo},k.current={initial:ln,translated:Zo}},[A,ge,zl,Zo,S,Cn,ln,F,_,ti,wr,Jo]),ihe({...Ye,delta:I,draggingRect:Zo,pointerCoordinates:LE,scrollableAncestors:wr,scrollableAncestorRects:Sc});const VW=$.useMemo(()=>({active:A,activeNode:ge,activeNodeRect:ve,activatorEvent:W,collisions:zl,containerNodeRect:Hr,dragOverlay:Ee,draggableNodes:S,droppableContainers:_,droppableRects:F,over:ti,measureDroppableContainers:K,scrollableAncestors:wr,scrollableAncestorRects:Sc,measuringConfiguration:L,measuringScheduled:re,windowRect:Pn}),[A,ge,ve,W,zl,Hr,Ee,S,_,F,ti,K,wr,Sc,L,re,Pn]),GW=$.useMemo(()=>({activatorEvent:W,activators:UE,active:A,activeNodeRect:ve,ariaDescribedById:{draggable:oe},dispatch:h,draggableNodes:S,over:ti,measureDroppableContainers:K}),[W,UE,A,ve,h,oe,S,ti,K]);return w.createElement(mW.Provider,{value:y},w.createElement(xc.Provider,{value:GW},w.createElement(kW.Provider,{value:VW},w.createElement(em.Provider,{value:KW},u)),w.createElement(Che,{disabled:(l==null?void 0:l.restoreFocus)===!1})),w.createElement(Rme,{...l,hiddenTextDescribedById:oe}));function qW(){const It=(U==null?void 0:U.autoScrollEnabled)===!1,or=typeof s=="object"?s.enabled===!1:s===!1,ar=E&&!It&&!or;return typeof s=="object"?{...s,enabled:ar}:{enabled:ar}}}),The=$.createContext(null),PA="button",Ahe="Droppable";function Ohe(e){let{id:t,data:r,disabled:n=!1,attributes:i}=e;const o=$c(Ahe),{activators:a,activatorEvent:l,active:s,activeNodeRect:u,ariaDescribedById:c,draggableNodes:f,over:d}=$.useContext(xc),{role:p=PA,roleDescription:m="draggable",tabIndex:b=0}=i??{},v=(s==null?void 0:s.id)===t,h=$.useContext(v?em:The),[g,y]=Rp(),[x,C]=Rp(),E=ghe(a,t),P=Ou(r);zr(()=>(f.set(t,{id:t,key:o,node:g,activatorNode:x,data:P}),()=>{const I=f.get(t);I&&I.key===o&&f.delete(t)}),[f,t]);const S=$.useMemo(()=>({role:p,tabIndex:b,"aria-disabled":n,"aria-pressed":v&&p===PA?!0:void 0,"aria-roledescription":m,"aria-describedby":c.draggable}),[n,p,b,v,m,c.draggable]);return{active:s,activatorEvent:l,activeNodeRect:u,attributes:S,isDragging:v,listeners:n?void 0:E,node:g,over:d,setNodeRef:y,setActivatorNodeRef:C,transform:h}}function MW(){return $.useContext(kW)}const Rhe="Droppable",_he={timeout:25};function khe(e){let{data:t,disabled:r=!1,id:n,resizeObserverConfig:i}=e;const o=$c(Rhe),{active:a,dispatch:l,over:s,measureDroppableContainers:u}=$.useContext(xc),c=$.useRef({disabled:r}),f=$.useRef(!1),d=$.useRef(null),p=$.useRef(null),{disabled:m,updateMeasurementsFor:b,timeout:v}={..._he,...i},h=Ou(b??n),g=$.useCallback(()=>{if(!f.current){f.current=!0;return}p.current!=null&&clearTimeout(p.current),p.current=setTimeout(()=>{u(Array.isArray(h.current)?h.current:[h.current]),p.current=null},v)},[v]),y=Zv({callback:g,disabled:m||!a}),x=$.useCallback((S,I)=>{y&&(I&&(y.unobserve(I),f.current=!1),S&&y.observe(S))},[y]),[C,E]=Rp(x),P=Ou(t);return $.useEffect(()=>{!y||!C.current||(y.disconnect(),f.current=!1,y.observe(C.current))},[C,y]),zr(()=>(l({type:vt.RegisterDroppable,element:{id:n,key:o,disabled:r,node:C,rect:d,data:P}}),()=>l({type:vt.UnregisterDroppable,key:o,id:n})),[n]),$.useEffect(()=>{r!==c.current.disabled&&(l({type:vt.SetDroppableDisabled,id:n,key:o,disabled:r}),c.current.disabled=r)},[n,o,r,l]),{active:a,rect:d,isOver:(s==null?void 0:s.id)===n,node:C,over:s,setNodeRef:E}}function Dhe(e){let{animation:t,children:r}=e;const[n,i]=$.useState(null),[o,a]=$.useState(null),l=_p(r);return!r&&!n&&l&&i(l),zr(()=>{if(!o)return;const s=n==null?void 0:n.key,u=n==null?void 0:n.props.id;if(s==null||u==null){i(null);return}Promise.resolve(t(u,o)).then(()=>{i(null)})},[t,n,o]),w.createElement(w.Fragment,null,r,n?$.cloneElement(n,{ref:a}):null)}const Mhe={x:0,y:0,scaleX:1,scaleY:1};function Nhe(e){let{children:t}=e;return w.createElement(xc.Provider,{value:_W},w.createElement(em.Provider,{value:Mhe},t))}const Lhe={position:"fixed",touchAction:"none"},Fhe=e=>Jv(e)?"transform 250ms ease":void 0,Bhe=$.forwardRef((e,t)=>{let{as:r,activatorEvent:n,adjustScale:i,children:o,className:a,rect:l,style:s,transform:u,transition:c=Fhe}=e;if(!l)return null;const f=i?u:{...u,scaleX:1,scaleY:1},d={...Lhe,width:l.width,height:l.height,top:l.top,left:l.left,transform:No.Transform.toString(f),transformOrigin:i&&n?_me(n,l):void 0,transition:typeof c=="function"?c(n):c,...s};return w.createElement(r,{className:a,style:d,ref:t},o)}),zhe=e=>t=>{let{active:r,dragOverlay:n}=t;const i={},{styles:o,className:a}=e;if(o!=null&&o.active)for(const[l,s]of Object.entries(o.active))s!==void 0&&(i[l]=r.node.style.getPropertyValue(l),r.node.style.setProperty(l,s));if(o!=null&&o.dragOverlay)for(const[l,s]of Object.entries(o.dragOverlay))s!==void 0&&n.node.style.setProperty(l,s);return a!=null&&a.active&&r.node.classList.add(a.active),a!=null&&a.dragOverlay&&n.node.classList.add(a.dragOverlay),function(){for(const[s,u]of Object.entries(i))r.node.style.setProperty(s,u);a!=null&&a.active&&r.node.classList.remove(a.active)}},jhe=e=>{let{transform:{initial:t,final:r}}=e;return[{transform:No.Transform.toString(t)},{transform:No.Transform.toString(r)}]},Uhe={duration:250,easing:"ease",keyframes:jhe,sideEffects:zhe({styles:{active:{opacity:"0"}}})};function Whe(e){let{config:t,draggableNodes:r,droppableContainers:n,measuringConfiguration:i}=e;return Qv((o,a)=>{if(t===null)return;const l=r.get(o);if(!l)return;const s=l.node.current;if(!s)return;const u=RW(a);if(!u)return;const{transform:c}=qt(a).getComputedStyle(a),f=yW(c);if(!f)return;const d=typeof t=="function"?t:Khe(t);return PW(s,i.draggable.measure),d({active:{id:o,data:l.data,node:s,rect:i.draggable.measure(s)},draggableNodes:r,dragOverlay:{node:a,rect:i.dragOverlay.measure(u)},droppableContainers:n,measuringConfiguration:i,transform:f})})}function Khe(e){const{duration:t,easing:r,sideEffects:n,keyframes:i}={...Uhe,...e};return o=>{let{active:a,dragOverlay:l,transform:s,...u}=o;if(!t)return;const c={x:l.rect.left-a.rect.left,y:l.rect.top-a.rect.top},f={scaleX:s.scaleX!==1?a.rect.width*s.scaleX/l.rect.width:1,scaleY:s.scaleY!==1?a.rect.height*s.scaleY/l.rect.height:1},d={x:s.x-c.x,y:s.y-c.y,...f},p=i({...u,active:a,dragOverlay:l,transform:{initial:s,final:d}}),[m]=p,b=p[p.length-1];if(JSON.stringify(m)===JSON.stringify(b))return;const v=n==null?void 0:n({active:a,dragOverlay:l,...u}),h=l.node.animate(p,{duration:t,easing:r,fill:"forwards"});return new Promise(g=>{h.onfinish=()=>{v==null||v(),g()}})}}let IA=0;function Hhe(e){return $.useMemo(()=>{if(e!=null)return IA++,IA},[e])}const jge=w.memo(e=>{let{adjustScale:t=!1,children:r,dropAnimation:n,style:i,transition:o,modifiers:a,wrapperElement:l="div",className:s,zIndex:u=999}=e;const{activatorEvent:c,active:f,activeNodeRect:d,containerNodeRect:p,draggableNodes:m,droppableContainers:b,dragOverlay:v,over:h,measuringConfiguration:g,scrollableAncestors:y,scrollableAncestorRects:x,windowRect:C}=MW(),E=$.useContext(em),P=Hhe(f==null?void 0:f.id),S=DW(a,{activatorEvent:c,active:f,activeNodeRect:d,containerNodeRect:p,draggingNodeRect:v.rect,over:h,overlayNodeRect:v.rect,scrollableAncestors:y,scrollableAncestorRects:x,transform:E,windowRect:C}),I=NE(d),_=Whe({config:n,draggableNodes:m,droppableContainers:b,measuringConfiguration:g}),T=I?v.setRef:void 0;return w.createElement(Nhe,null,w.createElement(Dhe,{animation:_},f&&P?w.createElement(Bhe,{key:P,id:f.id,ref:T,as:l,activatorEvent:c,adjustScale:t,className:s,transition:o,rect:I,style:{zIndex:u,...i},transform:S},r):null))});function NW(e,t,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function Vhe(e,t){return e.reduce((r,n,i)=>{const o=t.get(n);return o&&(r[i]=o),r},Array(e.length))}function Ed(e){return e!==null&&e>=0}function Ghe(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function qhe(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const LW=e=>{let{rects:t,activeIndex:r,overIndex:n,index:i}=e;const o=NW(t,n,r),a=t[i],l=o[i];return!l||!a?null:{x:l.left-a.left,y:l.top-a.top,scaleX:l.width/a.width,scaleY:l.height/a.height}},Cd={scaleX:1,scaleY:1},Uge=e=>{var t;let{activeIndex:r,activeNodeRect:n,index:i,rects:o,overIndex:a}=e;const l=(t=o[r])!=null?t:n;if(!l)return null;if(i===r){const u=o[a];return u?{x:0,y:r<a?u.top+u.height-(l.top+l.height):u.top-l.top,...Cd}:null}const s=Yhe(o,i,r);return i>r&&i<=a?{x:0,y:-l.height-s,...Cd}:i<r&&i>=a?{x:0,y:l.height+s,...Cd}:{x:0,y:0,...Cd}};function Yhe(e,t,r){const n=e[t],i=e[t-1],o=e[t+1];return n?r<t?i?n.top-(i.top+i.height):o?o.top-(n.top+n.height):0:o?o.top-(n.top+n.height):i?n.top-(i.top+i.height):0:0}const FW="Sortable",BW=w.createContext({activeIndex:-1,containerId:FW,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:LW,disabled:{draggable:!1,droppable:!1}});function Wge(e){let{children:t,id:r,items:n,strategy:i=LW,disabled:o=!1}=e;const{active:a,dragOverlay:l,droppableRects:s,over:u,measureDroppableContainers:c,measuringScheduled:f}=MW(),d=$c(FW,r),p=l.rect!==null,m=$.useMemo(()=>n.map(P=>typeof P=="object"&&"id"in P?P.id:P),[n]),b=a!=null,v=a?m.indexOf(a.id):-1,h=u?m.indexOf(u.id):-1,g=$.useRef(m),y=!Ghe(m,g.current),x=h!==-1&&v===-1||y,C=qhe(o);zr(()=>{y&&b&&!f&&c(m)},[y,m,b,c,f]),$.useEffect(()=>{g.current=m},[m]);const E=$.useMemo(()=>({activeIndex:v,containerId:d,disabled:C,disableTransforms:x,items:m,overIndex:h,useDragOverlay:p,sortedRects:Vhe(m,s),strategy:i}),[v,d,C.draggable,C.droppable,x,m,h,s,p,i]);return w.createElement(BW.Provider,{value:E},t)}const Xhe=e=>{let{id:t,items:r,activeIndex:n,overIndex:i}=e;return NW(r,n,i).indexOf(t)},Qhe=e=>{let{containerId:t,isSorting:r,wasDragging:n,index:i,items:o,newIndex:a,previousItems:l,previousContainerId:s,transition:u}=e;return!u||!n||l!==o&&i===a?!1:r?!0:a!==i&&t===s},Jhe={duration:200,easing:"ease"},zW="transform",Zhe=No.Transition.toString({property:zW,duration:0,easing:"linear"}),ege={roleDescription:"sortable"};function tge(e){let{disabled:t,index:r,node:n,rect:i}=e;const[o,a]=$.useState(null),l=$.useRef(r);return zr(()=>{if(!t&&r!==l.current&&n.current){const s=i.current;if(s){const u=Bl(n.current,{ignoreTransform:!0}),c={x:s.left-u.left,y:s.top-u.top,scaleX:s.width/u.width,scaleY:s.height/u.height};(c.x||c.y)&&a(c)}}r!==l.current&&(l.current=r)},[t,r,n,i]),$.useEffect(()=>{o&&requestAnimationFrame(()=>{a(null)})},[o]),o}function Kge(e){let{animateLayoutChanges:t=Qhe,attributes:r,disabled:n,data:i,getNewIndex:o=Xhe,id:a,strategy:l,resizeObserverConfig:s,transition:u=Jhe}=e;const{items:c,containerId:f,activeIndex:d,disabled:p,disableTransforms:m,sortedRects:b,overIndex:v,useDragOverlay:h,strategy:g}=$.useContext(BW),y=rge(n,p),x=c.indexOf(a),C=$.useMemo(()=>({sortable:{containerId:f,index:x,items:c},...i}),[f,i,x,c]),E=$.useMemo(()=>c.slice(c.indexOf(a)),[c,a]),{rect:P,node:S,isOver:I,setNodeRef:_}=khe({id:a,data:C,disabled:y.droppable,resizeObserverConfig:{updateMeasurementsFor:E,...s}}),{active:T,activatorEvent:k,activeNodeRect:A,attributes:O,setNodeRef:U,listeners:G,isDragging:W,over:N,setActivatorNodeRef:Y,transform:oe}=Ohe({id:a,data:C,attributes:{...ege,...r},disabled:y.draggable}),M=hme(_,U),L=!!T,F=L&&!m&&Ed(d)&&Ed(v),K=!h&&W,re=K&&F?oe:null,Ve=F?re??(l??g)({rects:b,activeNodeRect:A,activeIndex:d,overIndex:v,index:x}):null,Ye=Ed(d)&&Ed(v)?o({id:a,items:c,activeIndex:d,overIndex:v}):x,et=T==null?void 0:T.id,ve=$.useRef({activeId:et,items:c,newIndex:Ye,containerId:f}),Hr=c!==ve.current.items,ae=t({active:T,containerId:f,isDragging:W,isSorting:L,id:a,index:x,items:c,newIndex:ve.current.newIndex,previousItems:ve.current.items,previousContainerId:ve.current.containerId,transition:u,wasDragging:ve.current.activeId!=null}),ye=tge({disabled:!ae,index:x,node:S,rect:P});return $.useEffect(()=>{L&&ve.current.newIndex!==Ye&&(ve.current.newIndex=Ye),f!==ve.current.containerId&&(ve.current.containerId=f),c!==ve.current.items&&(ve.current.items=c)},[L,Ye,f,c]),$.useEffect(()=>{if(et===ve.current.activeId)return;if(et&&!ve.current.activeId){ve.current.activeId=et;return}const Cn=setTimeout(()=>{ve.current.activeId=et},50);return()=>clearTimeout(Cn)},[et]),{active:T,activeIndex:d,attributes:O,data:C,rect:P,index:x,newIndex:Ye,items:c,isOver:I,isSorting:L,isDragging:W,listeners:G,node:S,overIndex:v,over:N,setNodeRef:M,setActivatorNodeRef:Y,setDroppableNodeRef:_,setDraggableNodeRef:U,transform:ye??Ve,transition:Ee()};function Ee(){if(ye||Hr&&ve.current.newIndex===x)return Zhe;if(!(K&&!Jv(k)||!u)&&(L||ae))return No.Transition.toString({...u,property:zW})}}function rge(e,t){var r,n;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(r=e==null?void 0:e.draggable)!=null?r:t.draggable,droppable:(n=e==null?void 0:e.droppable)!=null?n:t.droppable}}Ae.Down,Ae.Right,Ae.Up,Ae.Left;export{mge as $,zge as A,Fge as B,lge as C,Cge as D,E6 as E,hv as F,Uge as G,TW as H,Mge as I,ov as J,Ae as K,j_ as L,Ru as M,Tl as N,vge as O,me as P,oge as Q,Ta as R,Wge as S,pge as T,fge as U,cge as V,uge as W,age as X,sge as Y,oV as Z,dge as _,w as a,gge as a0,hge as a1,Oge as a2,Sge as a3,Ege as a4,pc as a5,Rge as a6,gce as a7,wge as a8,Cue as a9,Ige as aa,Tge as ab,Age as b,xge as c,Dge as d,lt as e,kge as f,bge as g,_ge as h,Pge as i,ige as j,fue as k,NW as l,$ge as m,Bge as n,Dme as o,AW as p,No as q,$ as r,yge as s,MW as t,Kge as u,pn as v,jge as w,Uhe as x,Lge as y,Nge as z};
908
+ //# sourceMappingURL=vendor-87a7d5fa.js.map