@helloimjolopez-pathway/pathway-components 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/popover-menu/popover-menu.jsx +17 -11
- package/components/select/select.jsx +449 -0
- package/dist/pathway-accounting-sidenav.js +11 -12
- package/dist/pathway-components.js +201 -182
- package/dist/pathway-sidenav.js +11 -12
- package/package.json +2 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var mg=Object.create;var um=Object.defineProperty;var hg=Object.getOwnPropertyDescriptor;var gg=Object.getOwnPropertyNames;var bg=Object.getPrototypeOf,$g=Object.prototype.hasOwnProperty;var bn=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var vg=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of gg(t))!$g.call(e,o)&&o!==r&&um(e,o,{get:()=>t[o],enumerable:!(n=hg(t,o))||n.enumerable});return e};var S=(e,t,r)=>(r=e!=null?mg(bg(e)):{},vg(t||!e||!e.__esModule?um(r,"default",{value:e,enumerable:!0}):r,e));var wm=bn(Pe=>{"use strict";var Ls=Symbol.for("react.element"),yg=Symbol.for("react.portal"),xg=Symbol.for("react.fragment"),Cg=Symbol.for("react.strict_mode"),wg=Symbol.for("react.profiler"),Sg=Symbol.for("react.provider"),Eg=Symbol.for("react.context"),kg=Symbol.for("react.forward_ref"),Pg=Symbol.for("react.suspense"),Tg=Symbol.for("react.memo"),Lg=Symbol.for("react.lazy"),fm=Symbol.iterator;function Rg(e){return e===null||typeof e!="object"?null:(e=fm&&e[fm]||e["@@iterator"],typeof e=="function"?e:null)}var hm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},gm=Object.assign,bm={};function di(e,t,r){this.props=e,this.context=t,this.refs=bm,this.updater=r||hm}di.prototype.isReactComponent={};di.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};di.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function $m(){}$m.prototype=di.prototype;function qf(e,t,r){this.props=e,this.context=t,this.refs=bm,this.updater=r||hm}var Qf=qf.prototype=new $m;Qf.constructor=qf;gm(Qf,di.prototype);Qf.isPureReactComponent=!0;var pm=Array.isArray,vm=Object.prototype.hasOwnProperty,Jf={current:null},ym={key:!0,ref:!0,__self:!0,__source:!0};function xm(e,t,r){var n,o={},a=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(a=""+t.key),t)vm.call(t,n)&&!ym.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)o[n]===void 0&&(o[n]=s[n]);return{$$typeof:Ls,type:e,key:a,ref:i,props:o,_owner:Jf.current}}function _g(e,t){return{$$typeof:Ls,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function e1(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ls}function Mg(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var mm=/\/+/g;function Xf(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Mg(""+e.key):t.toString(36)}function Bc(e,t,r,n,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Ls:case yg:i=!0}}if(i)return i=e,o=o(i),e=n===""?"."+Xf(i,0):n,pm(o)?(r="",e!=null&&(r=e.replace(mm,"$&/")+"/"),Bc(o,t,r,"",function(c){return c})):o!=null&&(e1(o)&&(o=_g(o,r+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(mm,"$&/")+"/")+e)),t.push(o)),1;if(i=0,n=n===""?".":n+":",pm(e))for(var s=0;s<e.length;s++){a=e[s];var l=n+Xf(a,s);i+=Bc(a,t,r,l,o)}else if(l=Rg(e),typeof l=="function")for(e=l.call(e),s=0;!(a=e.next()).done;)a=a.value,l=n+Xf(a,s++),i+=Bc(a,t,r,l,o);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function zc(e,t,r){if(e==null)return e;var n=[],o=0;return Bc(e,n,"","",function(a){return t.call(r,a,o++)}),n}function Ig(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var or={current:null},Kc={transition:null},Ng={ReactCurrentDispatcher:or,ReactCurrentBatchConfig:Kc,ReactCurrentOwner:Jf};function Cm(){throw Error("act(...) is not supported in production builds of React.")}Pe.Children={map:zc,forEach:function(e,t,r){zc(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return zc(e,function(){t++}),t},toArray:function(e){return zc(e,function(t){return t})||[]},only:function(e){if(!e1(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Pe.Component=di;Pe.Fragment=xg;Pe.Profiler=wg;Pe.PureComponent=qf;Pe.StrictMode=Cg;Pe.Suspense=Pg;Pe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ng;Pe.act=Cm;Pe.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=gm({},e.props),o=e.key,a=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,i=Jf.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)vm.call(t,l)&&!ym.hasOwnProperty(l)&&(n[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];n.children=s}return{$$typeof:Ls,type:e.type,key:o,ref:a,props:n,_owner:i}};Pe.createContext=function(e){return e={$$typeof:Eg,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Sg,_context:e},e.Consumer=e};Pe.createElement=xm;Pe.createFactory=function(e){var t=xm.bind(null,e);return t.type=e,t};Pe.createRef=function(){return{current:null}};Pe.forwardRef=function(e){return{$$typeof:kg,render:e}};Pe.isValidElement=e1;Pe.lazy=function(e){return{$$typeof:Lg,_payload:{_status:-1,_result:e},_init:Ig}};Pe.memo=function(e,t){return{$$typeof:Tg,type:e,compare:t===void 0?null:t}};Pe.startTransition=function(e){var t=Kc.transition;Kc.transition={};try{e()}finally{Kc.transition=t}};Pe.unstable_act=Cm;Pe.useCallback=function(e,t){return or.current.useCallback(e,t)};Pe.useContext=function(e){return or.current.useContext(e)};Pe.useDebugValue=function(){};Pe.useDeferredValue=function(e){return or.current.useDeferredValue(e)};Pe.useEffect=function(e,t){return or.current.useEffect(e,t)};Pe.useId=function(){return or.current.useId()};Pe.useImperativeHandle=function(e,t,r){return or.current.useImperativeHandle(e,t,r)};Pe.useInsertionEffect=function(e,t){return or.current.useInsertionEffect(e,t)};Pe.useLayoutEffect=function(e,t){return or.current.useLayoutEffect(e,t)};Pe.useMemo=function(e,t){return or.current.useMemo(e,t)};Pe.useReducer=function(e,t,r){return or.current.useReducer(e,t,r)};Pe.useRef=function(e){return or.current.useRef(e)};Pe.useState=function(e){return or.current.useState(e)};Pe.useSyncExternalStore=function(e,t,r){return or.current.useSyncExternalStore(e,t,r)};Pe.useTransition=function(){return or.current.useTransition()};Pe.version="18.3.1"});var D=bn((Bw,Sm)=>{"use strict";Sm.exports=wm()});var Nm=bn(We=>{"use strict";function o1(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,o=e[n];if(0<Vc(o,t))e[n]=t,e[r]=o,r=n;else break e}}function $n(e){return e.length===0?null:e[0]}function Uc(e){if(e.length===0)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length,a=o>>>1;n<a;){var i=2*(n+1)-1,s=e[i],l=i+1,c=e[l];if(0>Vc(s,r))l<o&&0>Vc(c,s)?(e[n]=c,e[l]=r,n=l):(e[n]=s,e[i]=r,n=i);else if(l<o&&0>Vc(c,r))e[n]=c,e[l]=r,n=l;else break e}}return t}function Vc(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(Em=performance,We.unstable_now=function(){return Em.now()}):(t1=Date,km=t1.now(),We.unstable_now=function(){return t1.now()-km});var Em,t1,km,Hn=[],Ro=[],Dg=1,Xr=null,Yt=3,jc=!1,ya=!1,_s=!1,Lm=typeof setTimeout=="function"?setTimeout:null,Rm=typeof clearTimeout=="function"?clearTimeout:null,Pm=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function a1(e){for(var t=$n(Ro);t!==null;){if(t.callback===null)Uc(Ro);else if(t.startTime<=e)Uc(Ro),t.sortIndex=t.expirationTime,o1(Hn,t);else break;t=$n(Ro)}}function i1(e){if(_s=!1,a1(e),!ya)if($n(Hn)!==null)ya=!0,l1(s1);else{var t=$n(Ro);t!==null&&c1(i1,t.startTime-e)}}function s1(e,t){ya=!1,_s&&(_s=!1,Rm(Ms),Ms=-1),jc=!0;var r=Yt;try{for(a1(t),Xr=$n(Hn);Xr!==null&&(!(Xr.expirationTime>t)||e&&!Im());){var n=Xr.callback;if(typeof n=="function"){Xr.callback=null,Yt=Xr.priorityLevel;var o=n(Xr.expirationTime<=t);t=We.unstable_now(),typeof o=="function"?Xr.callback=o:Xr===$n(Hn)&&Uc(Hn),a1(t)}else Uc(Hn);Xr=$n(Hn)}if(Xr!==null)var a=!0;else{var i=$n(Ro);i!==null&&c1(i1,i.startTime-t),a=!1}return a}finally{Xr=null,Yt=r,jc=!1}}var Gc=!1,Wc=null,Ms=-1,_m=5,Mm=-1;function Im(){return!(We.unstable_now()-Mm<_m)}function r1(){if(Wc!==null){var e=We.unstable_now();Mm=e;var t=!0;try{t=Wc(!0,e)}finally{t?Rs():(Gc=!1,Wc=null)}}else Gc=!1}var Rs;typeof Pm=="function"?Rs=function(){Pm(r1)}:typeof MessageChannel<"u"?(n1=new MessageChannel,Tm=n1.port2,n1.port1.onmessage=r1,Rs=function(){Tm.postMessage(null)}):Rs=function(){Lm(r1,0)};var n1,Tm;function l1(e){Wc=e,Gc||(Gc=!0,Rs())}function c1(e,t){Ms=Lm(function(){e(We.unstable_now())},t)}We.unstable_IdlePriority=5;We.unstable_ImmediatePriority=1;We.unstable_LowPriority=4;We.unstable_NormalPriority=3;We.unstable_Profiling=null;We.unstable_UserBlockingPriority=2;We.unstable_cancelCallback=function(e){e.callback=null};We.unstable_continueExecution=function(){ya||jc||(ya=!0,l1(s1))};We.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_m=0<e?Math.floor(1e3/e):5};We.unstable_getCurrentPriorityLevel=function(){return Yt};We.unstable_getFirstCallbackNode=function(){return $n(Hn)};We.unstable_next=function(e){switch(Yt){case 1:case 2:case 3:var t=3;break;default:t=Yt}var r=Yt;Yt=t;try{return e()}finally{Yt=r}};We.unstable_pauseExecution=function(){};We.unstable_requestPaint=function(){};We.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=Yt;Yt=e;try{return t()}finally{Yt=r}};We.unstable_scheduleCallback=function(e,t,r){var n=We.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?n+r:n):r=n,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=r+o,e={id:Dg++,callback:t,priorityLevel:e,startTime:r,expirationTime:o,sortIndex:-1},r>n?(e.sortIndex=r,o1(Ro,e),$n(Hn)===null&&e===$n(Ro)&&(_s?(Rm(Ms),Ms=-1):_s=!0,c1(i1,r-n))):(e.sortIndex=o,o1(Hn,e),ya||jc||(ya=!0,l1(s1))),e};We.unstable_shouldYield=Im;We.unstable_wrapCallback=function(e){var t=Yt;return function(){var r=Yt;Yt=t;try{return e.apply(this,arguments)}finally{Yt=r}}}});var Fm=bn((Vw,Dm)=>{"use strict";Dm.exports=Nm()});var z6=bn(Hr=>{"use strict";var Fg=D(),Dr=Fm();function U(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 V4=new Set,el={};function Ia(e,t){_i(e,t),_i(e+"Capture",t)}function _i(e,t){for(el[e]=t,e=0;e<t.length;e++)V4.add(t[e])}var lo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),M1=Object.prototype.hasOwnProperty,Hg=/^[: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]*$/,Hm={},Am={};function Ag(e){return M1.call(Am,e)?!0:M1.call(Hm,e)?!1:Hg.test(e)?Am[e]=!0:(Hm[e]=!0,!1)}function Og(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 zg(e,t,r,n){if(t===null||typeof t>"u"||Og(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 sr(e,t,r,n,o,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var Wt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Wt[e]=new sr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Wt[t]=new sr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Wt[e]=new sr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Wt[e]=new sr(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){Wt[e]=new sr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Wt[e]=new sr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Wt[e]=new sr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Wt[e]=new sr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Wt[e]=new sr(e,5,!1,e.toLowerCase(),null,!1,!1)});var S0=/[\-:]([a-z])/g;function E0(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(S0,E0);Wt[t]=new sr(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(S0,E0);Wt[t]=new sr(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(S0,E0);Wt[t]=new sr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Wt[e]=new sr(e,1,!1,e.toLowerCase(),null,!1,!1)});Wt.xlinkHref=new sr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Wt[e]=new sr(e,1,!1,e.toLowerCase(),null,!0,!0)});function k0(e,t,r,n){var o=Wt.hasOwnProperty(t)?Wt[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(zg(t,r,o,n)&&(r=null),n||o===null?Ag(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=r===null?o.type===3?!1:"":r:(t=o.attributeName,n=o.attributeNamespace,r===null?e.removeAttribute(t):(o=o.type,r=o===3||o===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var po=Fg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Zc=Symbol.for("react.element"),pi=Symbol.for("react.portal"),mi=Symbol.for("react.fragment"),P0=Symbol.for("react.strict_mode"),I1=Symbol.for("react.profiler"),W4=Symbol.for("react.provider"),U4=Symbol.for("react.context"),T0=Symbol.for("react.forward_ref"),N1=Symbol.for("react.suspense"),D1=Symbol.for("react.suspense_list"),L0=Symbol.for("react.memo"),Mo=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var j4=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Om=Symbol.iterator;function Is(e){return e===null||typeof e!="object"?null:(e=Om&&e[Om]||e["@@iterator"],typeof e=="function"?e:null)}var st=Object.assign,d1;function Bs(e){if(d1===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);d1=t&&t[1]||""}return`
|
|
2
|
-
`+
|
|
3
|
-
`),
|
|
4
|
-
`),
|
|
5
|
-
`+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=s);break}}}finally{u1=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Bs(e):""}function Bg(e){switch(e.tag){case 5:return Bs(e.type);case 16:return Bs("Lazy");case 13:return Bs("Suspense");case 19:return Bs("SuspenseList");case 0:case 2:case 15:return e=f1(e.type,!1),e;case 11:return e=f1(e.type.render,!1),e;case 1:return e=f1(e.type,!0),e;default:return""}}function F1(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 mi:return"Fragment";case pi:return"Portal";case I1:return"Profiler";case P0:return"StrictMode";case N1:return"Suspense";case D1:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case U4:return(e.displayName||"Context")+".Consumer";case W4:return(e._context.displayName||"Context")+".Provider";case T0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case L0:return t=e.displayName||null,t!==null?t:F1(e.type)||"Memo";case Mo:t=e._payload,e=e._init;try{return F1(e(t))}catch{}}return null}function Kg(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return F1(t);case 8:return t===P0?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function jo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function G4(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Vg(e){var t=G4(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 o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){n=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Yc(e){e._valueTracker||(e._valueTracker=Vg(e))}function Z4(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=G4(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function wd(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 H1(e,t){var r=t.checked;return st({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function zm(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=jo(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 Y4(e,t){t=t.checked,t!=null&&k0(e,"checked",t,!1)}function A1(e,t){Y4(e,t);var r=jo(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")?O1(e,t.type,r):t.hasOwnProperty("defaultValue")&&O1(e,t.type,jo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Bm(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 O1(e,t,r){(t!=="number"||wd(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Ks=Array.isArray;function Ei(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+jo(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function z1(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(U(91));return st({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Km(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(U(92));if(Ks(r)){if(1<r.length)throw Error(U(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:jo(r)}}function X4(e,t){var r=jo(t.value),n=jo(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 Vm(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function q4(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 B1(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?q4(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Xc,Q4=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,o){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,o)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Xc=Xc||document.createElement("div"),Xc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Xc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function tl(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Us={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Wg=["Webkit","ms","Moz","O"];Object.keys(Us).forEach(function(e){Wg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Us[t]=Us[e]})});function J4(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Us.hasOwnProperty(e)&&Us[e]?(""+t).trim():t+"px"}function e5(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=J4(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var Ug=st({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 K1(e,t){if(t){if(Ug[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(U(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(U(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(U(61))}if(t.style!=null&&typeof t.style!="object")throw Error(U(62))}}function V1(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var W1=null;function R0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var U1=null,ki=null,Pi=null;function Wm(e){if(e=vl(e)){if(typeof U1!="function")throw Error(U(280));var t=e.stateNode;t&&(t=qd(t),U1(e.stateNode,e.type,t))}}function t5(e){ki?Pi?Pi.push(e):Pi=[e]:ki=e}function r5(){if(ki){var e=ki,t=Pi;if(Pi=ki=null,Wm(e),t)for(e=0;e<t.length;e++)Wm(t[e])}}function n5(e,t){return e(t)}function o5(){}var p1=!1;function a5(e,t,r){if(p1)return e(t,r);p1=!0;try{return n5(e,t,r)}finally{p1=!1,(ki!==null||Pi!==null)&&(o5(),r5())}}function rl(e,t){var r=e.stateNode;if(r===null)return null;var n=qd(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(U(231,t,typeof r));return r}var j1=!1;if(lo)try{ui={},Object.defineProperty(ui,"passive",{get:function(){j1=!0}}),window.addEventListener("test",ui,ui),window.removeEventListener("test",ui,ui)}catch{j1=!1}var ui;function jg(e,t,r,n,o,a,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(d){this.onError(d)}}var js=!1,Sd=null,Ed=!1,G1=null,Gg={onError:function(e){js=!0,Sd=e}};function Zg(e,t,r,n,o,a,i,s,l){js=!1,Sd=null,jg.apply(Gg,arguments)}function Yg(e,t,r,n,o,a,i,s,l){if(Zg.apply(this,arguments),js){if(js){var c=Sd;js=!1,Sd=null}else throw Error(U(198));Ed||(Ed=!0,G1=c)}}function Na(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function i5(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 Um(e){if(Na(e)!==e)throw Error(U(188))}function Xg(e){var t=e.alternate;if(!t){if(t=Na(e),t===null)throw Error(U(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(o===null)break;var a=o.alternate;if(a===null){if(n=o.return,n!==null){r=n;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===r)return Um(o),e;if(a===n)return Um(o),t;a=a.sibling}throw Error(U(188))}if(r.return!==n.return)r=o,n=a;else{for(var i=!1,s=o.child;s;){if(s===r){i=!0,r=o,n=a;break}if(s===n){i=!0,n=o,r=a;break}s=s.sibling}if(!i){for(s=a.child;s;){if(s===r){i=!0,r=a,n=o;break}if(s===n){i=!0,n=a,r=o;break}s=s.sibling}if(!i)throw Error(U(189))}}if(r.alternate!==n)throw Error(U(190))}if(r.tag!==3)throw Error(U(188));return r.stateNode.current===r?e:t}function s5(e){return e=Xg(e),e!==null?l5(e):null}function l5(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=l5(e);if(t!==null)return t;e=e.sibling}return null}var c5=Dr.unstable_scheduleCallback,jm=Dr.unstable_cancelCallback,qg=Dr.unstable_shouldYield,Qg=Dr.unstable_requestPaint,ft=Dr.unstable_now,Jg=Dr.unstable_getCurrentPriorityLevel,_0=Dr.unstable_ImmediatePriority,d5=Dr.unstable_UserBlockingPriority,kd=Dr.unstable_NormalPriority,eb=Dr.unstable_LowPriority,u5=Dr.unstable_IdlePriority,Gd=null,Bn=null;function tb(e){if(Bn&&typeof Bn.onCommitFiberRoot=="function")try{Bn.onCommitFiberRoot(Gd,e,void 0,(e.current.flags&128)===128)}catch{}}var wn=Math.clz32?Math.clz32:ob,rb=Math.log,nb=Math.LN2;function ob(e){return e>>>=0,e===0?32:31-(rb(e)/nb|0)|0}var qc=64,Qc=4194304;function Vs(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Pd(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,a=e.pingedLanes,i=r&268435455;if(i!==0){var s=i&~o;s!==0?n=Vs(s):(a&=i,a!==0&&(n=Vs(a)))}else i=r&~o,i!==0?n=Vs(i):a!==0&&(n=Vs(a));if(n===0)return 0;if(t!==0&&t!==n&&(t&o)===0&&(o=n&-n,a=t&-t,o>=a||o===16&&(a&4194240)!==0))return t;if((n&4)!==0&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-wn(t),o=1<<r,n|=e[r],t&=~o;return n}function ab(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ib(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-wn(a),s=1<<i,l=o[i];l===-1?((s&r)===0||(s&n)!==0)&&(o[i]=ab(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}function Z1(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function f5(){var e=qc;return qc<<=1,(qc&4194240)===0&&(qc=64),e}function m1(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function bl(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-wn(t),e[t]=r}function sb(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-wn(r),a=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~a}}function M0(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-wn(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var Ae=0;function p5(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var m5,I0,h5,g5,b5,Y1=!1,Jc=[],Ao=null,Oo=null,zo=null,nl=new Map,ol=new Map,No=[],lb="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 Gm(e,t){switch(e){case"focusin":case"focusout":Ao=null;break;case"dragenter":case"dragleave":Oo=null;break;case"mouseover":case"mouseout":zo=null;break;case"pointerover":case"pointerout":nl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ol.delete(t.pointerId)}}function Ns(e,t,r,n,o,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:a,targetContainers:[o]},t!==null&&(t=vl(t),t!==null&&I0(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function cb(e,t,r,n,o){switch(t){case"focusin":return Ao=Ns(Ao,e,t,r,n,o),!0;case"dragenter":return Oo=Ns(Oo,e,t,r,n,o),!0;case"mouseover":return zo=Ns(zo,e,t,r,n,o),!0;case"pointerover":var a=o.pointerId;return nl.set(a,Ns(nl.get(a)||null,e,t,r,n,o)),!0;case"gotpointercapture":return a=o.pointerId,ol.set(a,Ns(ol.get(a)||null,e,t,r,n,o)),!0}return!1}function $5(e){var t=wa(e.target);if(t!==null){var r=Na(t);if(r!==null){if(t=r.tag,t===13){if(t=i5(r),t!==null){e.blockedOn=t,b5(e.priority,function(){h5(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function pd(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=X1(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);W1=n,r.target.dispatchEvent(n),W1=null}else return t=vl(r),t!==null&&I0(t),e.blockedOn=r,!1;t.shift()}return!0}function Zm(e,t,r){pd(e)&&r.delete(t)}function db(){Y1=!1,Ao!==null&&pd(Ao)&&(Ao=null),Oo!==null&&pd(Oo)&&(Oo=null),zo!==null&&pd(zo)&&(zo=null),nl.forEach(Zm),ol.forEach(Zm)}function Ds(e,t){e.blockedOn===t&&(e.blockedOn=null,Y1||(Y1=!0,Dr.unstable_scheduleCallback(Dr.unstable_NormalPriority,db)))}function al(e){function t(o){return Ds(o,e)}if(0<Jc.length){Ds(Jc[0],e);for(var r=1;r<Jc.length;r++){var n=Jc[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Ao!==null&&Ds(Ao,e),Oo!==null&&Ds(Oo,e),zo!==null&&Ds(zo,e),nl.forEach(t),ol.forEach(t),r=0;r<No.length;r++)n=No[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<No.length&&(r=No[0],r.blockedOn===null);)$5(r),r.blockedOn===null&&No.shift()}var Ti=po.ReactCurrentBatchConfig,Td=!0;function ub(e,t,r,n){var o=Ae,a=Ti.transition;Ti.transition=null;try{Ae=1,N0(e,t,r,n)}finally{Ae=o,Ti.transition=a}}function fb(e,t,r,n){var o=Ae,a=Ti.transition;Ti.transition=null;try{Ae=4,N0(e,t,r,n)}finally{Ae=o,Ti.transition=a}}function N0(e,t,r,n){if(Td){var o=X1(e,t,r,n);if(o===null)x1(e,t,n,Ld,r),Gm(e,n);else if(cb(o,e,t,r,n))n.stopPropagation();else if(Gm(e,n),t&4&&-1<lb.indexOf(e)){for(;o!==null;){var a=vl(o);if(a!==null&&m5(a),a=X1(e,t,r,n),a===null&&x1(e,t,n,Ld,r),a===o)break;o=a}o!==null&&n.stopPropagation()}else x1(e,t,n,null,r)}}var Ld=null;function X1(e,t,r,n){if(Ld=null,e=R0(n),e=wa(e),e!==null)if(t=Na(e),t===null)e=null;else if(r=t.tag,r===13){if(e=i5(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Ld=e,null}function v5(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Jg()){case _0:return 1;case d5:return 4;case kd:case eb:return 16;case u5:return 536870912;default:return 16}default:return 16}}var Fo=null,D0=null,md=null;function y5(){if(md)return md;var e,t=D0,r=t.length,n,o="value"in Fo?Fo.value:Fo.textContent,a=o.length;for(e=0;e<r&&t[e]===o[e];e++);var i=r-e;for(n=1;n<=i&&t[r-n]===o[a-n];n++);return md=o.slice(e,1<n?1-n:void 0)}function hd(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 ed(){return!0}function Ym(){return!1}function Fr(e){function t(r,n,o,a,i){this._reactName=r,this._targetInst=o,this.type=n,this.nativeEvent=a,this.target=i,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(r=e[s],this[s]=r?r(a):a[s]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?ed:Ym,this.isPropagationStopped=Ym,this}return st(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=ed)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=ed)},persist:function(){},isPersistent:ed}),t}var Ai={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},F0=Fr(Ai),$l=st({},Ai,{view:0,detail:0}),pb=Fr($l),h1,g1,Fs,Zd=st({},$l,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:H0,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!==Fs&&(Fs&&e.type==="mousemove"?(h1=e.screenX-Fs.screenX,g1=e.screenY-Fs.screenY):g1=h1=0,Fs=e),h1)},movementY:function(e){return"movementY"in e?e.movementY:g1}}),Xm=Fr(Zd),mb=st({},Zd,{dataTransfer:0}),hb=Fr(mb),gb=st({},$l,{relatedTarget:0}),b1=Fr(gb),bb=st({},Ai,{animationName:0,elapsedTime:0,pseudoElement:0}),$b=Fr(bb),vb=st({},Ai,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yb=Fr(vb),xb=st({},Ai,{data:0}),qm=Fr(xb),Cb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wb={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"},Sb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Eb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Sb[e])?!!t[e]:!1}function H0(){return Eb}var kb=st({},$l,{key:function(e){if(e.key){var t=Cb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=hd(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?wb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:H0,charCode:function(e){return e.type==="keypress"?hd(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?hd(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Pb=Fr(kb),Tb=st({},Zd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qm=Fr(Tb),Lb=st({},$l,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:H0}),Rb=Fr(Lb),_b=st({},Ai,{propertyName:0,elapsedTime:0,pseudoElement:0}),Mb=Fr(_b),Ib=st({},Zd,{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}),Nb=Fr(Ib),Db=[9,13,27,32],A0=lo&&"CompositionEvent"in window,Gs=null;lo&&"documentMode"in document&&(Gs=document.documentMode);var Fb=lo&&"TextEvent"in window&&!Gs,x5=lo&&(!A0||Gs&&8<Gs&&11>=Gs),Jm=" ",e4=!1;function C5(e,t){switch(e){case"keyup":return Db.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function w5(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var hi=!1;function Hb(e,t){switch(e){case"compositionend":return w5(t);case"keypress":return t.which!==32?null:(e4=!0,Jm);case"textInput":return e=t.data,e===Jm&&e4?null:e;default:return null}}function Ab(e,t){if(hi)return e==="compositionend"||!A0&&C5(e,t)?(e=y5(),md=D0=Fo=null,hi=!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 x5&&t.locale!=="ko"?null:t.data;default:return null}}var Ob={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 t4(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ob[e.type]:t==="textarea"}function S5(e,t,r,n){t5(n),t=Rd(t,"onChange"),0<t.length&&(r=new F0("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Zs=null,il=null;function zb(e){D5(e,0)}function Yd(e){var t=$i(e);if(Z4(t))return e}function Bb(e,t){if(e==="change")return t}var E5=!1;lo&&(lo?(rd="oninput"in document,rd||($1=document.createElement("div"),$1.setAttribute("oninput","return;"),rd=typeof $1.oninput=="function"),td=rd):td=!1,E5=td&&(!document.documentMode||9<document.documentMode));var td,rd,$1;function r4(){Zs&&(Zs.detachEvent("onpropertychange",k5),il=Zs=null)}function k5(e){if(e.propertyName==="value"&&Yd(il)){var t=[];S5(t,il,e,R0(e)),a5(zb,t)}}function Kb(e,t,r){e==="focusin"?(r4(),Zs=t,il=r,Zs.attachEvent("onpropertychange",k5)):e==="focusout"&&r4()}function Vb(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Yd(il)}function Wb(e,t){if(e==="click")return Yd(t)}function Ub(e,t){if(e==="input"||e==="change")return Yd(t)}function jb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var En=typeof Object.is=="function"?Object.is:jb;function sl(e,t){if(En(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++){var o=r[n];if(!M1.call(t,o)||!En(e[o],t[o]))return!1}return!0}function n4(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o4(e,t){var r=n4(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=n4(r)}}function P5(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?P5(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function T5(){for(var e=window,t=wd();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=wd(e.document)}return t}function O0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Gb(e){var t=T5(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&P5(r.ownerDocument.documentElement,r)){if(n!==null&&O0(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,a=Math.min(n.start,o);n=n.end===void 0?a:Math.min(n.end,o),!e.extend&&a>n&&(o=n,n=a,a=o),o=o4(r,a);var i=o4(r,n);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Zb=lo&&"documentMode"in document&&11>=document.documentMode,gi=null,q1=null,Ys=null,Q1=!1;function a4(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Q1||gi==null||gi!==wd(n)||(n=gi,"selectionStart"in n&&O0(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}),Ys&&sl(Ys,n)||(Ys=n,n=Rd(q1,"onSelect"),0<n.length&&(t=new F0("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=gi)))}function nd(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var bi={animationend:nd("Animation","AnimationEnd"),animationiteration:nd("Animation","AnimationIteration"),animationstart:nd("Animation","AnimationStart"),transitionend:nd("Transition","TransitionEnd")},v1={},L5={};lo&&(L5=document.createElement("div").style,"AnimationEvent"in window||(delete bi.animationend.animation,delete bi.animationiteration.animation,delete bi.animationstart.animation),"TransitionEvent"in window||delete bi.transitionend.transition);function Xd(e){if(v1[e])return v1[e];if(!bi[e])return e;var t=bi[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in L5)return v1[e]=t[r];return e}var R5=Xd("animationend"),_5=Xd("animationiteration"),M5=Xd("animationstart"),I5=Xd("transitionend"),N5=new Map,i4="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Zo(e,t){N5.set(e,t),Ia(t,[e])}for(od=0;od<i4.length;od++)ad=i4[od],s4=ad.toLowerCase(),l4=ad[0].toUpperCase()+ad.slice(1),Zo(s4,"on"+l4);var ad,s4,l4,od;Zo(R5,"onAnimationEnd");Zo(_5,"onAnimationIteration");Zo(M5,"onAnimationStart");Zo("dblclick","onDoubleClick");Zo("focusin","onFocus");Zo("focusout","onBlur");Zo(I5,"onTransitionEnd");_i("onMouseEnter",["mouseout","mouseover"]);_i("onMouseLeave",["mouseout","mouseover"]);_i("onPointerEnter",["pointerout","pointerover"]);_i("onPointerLeave",["pointerout","pointerover"]);Ia("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ia("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ia("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ia("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ia("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ia("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ws="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Yb=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ws));function c4(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,Yg(n,t,void 0,e),e.currentTarget=null}function D5(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var a=void 0;if(t)for(var i=n.length-1;0<=i;i--){var s=n[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==a&&o.isPropagationStopped())break e;c4(o,s,c),a=l}else for(i=0;i<n.length;i++){if(s=n[i],l=s.instance,c=s.currentTarget,s=s.listener,l!==a&&o.isPropagationStopped())break e;c4(o,s,c),a=l}}}if(Ed)throw e=G1,Ed=!1,G1=null,e}function Ye(e,t){var r=t[n0];r===void 0&&(r=t[n0]=new Set);var n=e+"__bubble";r.has(n)||(F5(t,e,2,!1),r.add(n))}function y1(e,t,r){var n=0;t&&(n|=4),F5(r,e,n,t)}var id="_reactListening"+Math.random().toString(36).slice(2);function ll(e){if(!e[id]){e[id]=!0,V4.forEach(function(r){r!=="selectionchange"&&(Yb.has(r)||y1(r,!1,e),y1(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[id]||(t[id]=!0,y1("selectionchange",!1,t))}}function F5(e,t,r,n){switch(v5(t)){case 1:var o=ub;break;case 4:o=fb;break;default:o=N0}r=o.bind(null,t,r,e),o=void 0,!j1||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),n?o!==void 0?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):o!==void 0?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function x1(e,t,r,n,o){var a=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var i=n.tag;if(i===3||i===4){var s=n.stateNode.containerInfo;if(s===o||s.nodeType===8&&s.parentNode===o)break;if(i===4)for(i=n.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;i=i.return}for(;s!==null;){if(i=wa(s),i===null)return;if(l=i.tag,l===5||l===6){n=a=i;continue e}s=s.parentNode}}n=n.return}a5(function(){var c=a,d=R0(r),u=[];e:{var p=N5.get(e);if(p!==void 0){var b=F0,g=e;switch(e){case"keypress":if(hd(r)===0)break e;case"keydown":case"keyup":b=Pb;break;case"focusin":g="focus",b=b1;break;case"focusout":g="blur",b=b1;break;case"beforeblur":case"afterblur":b=b1;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":b=Xm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=hb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=Rb;break;case R5:case _5:case M5:b=$b;break;case I5:b=Mb;break;case"scroll":b=pb;break;case"wheel":b=Nb;break;case"copy":case"cut":case"paste":b=yb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=Qm}var y=(t&4)!==0,$=!y&&e==="scroll",m=y?p!==null?p+"Capture":null:p;y=[];for(var f=c,h;f!==null;){h=f;var v=h.stateNode;if(h.tag===5&&v!==null&&(h=v,m!==null&&(v=rl(f,m),v!=null&&y.push(cl(f,v,h)))),$)break;f=f.return}0<y.length&&(p=new b(p,g,null,r,d),u.push({event:p,listeners:y}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",b=e==="mouseout"||e==="pointerout",p&&r!==W1&&(g=r.relatedTarget||r.fromElement)&&(wa(g)||g[co]))break e;if((b||p)&&(p=d.window===d?d:(p=d.ownerDocument)?p.defaultView||p.parentWindow:window,b?(g=r.relatedTarget||r.toElement,b=c,g=g?wa(g):null,g!==null&&($=Na(g),g!==$||g.tag!==5&&g.tag!==6)&&(g=null)):(b=null,g=c),b!==g)){if(y=Xm,v="onMouseLeave",m="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(y=Qm,v="onPointerLeave",m="onPointerEnter",f="pointer"),$=b==null?p:$i(b),h=g==null?p:$i(g),p=new y(v,f+"leave",b,r,d),p.target=$,p.relatedTarget=h,v=null,wa(d)===c&&(y=new y(m,f+"enter",g,r,d),y.target=h,y.relatedTarget=$,v=y),$=v,b&&g)t:{for(y=b,m=g,f=0,h=y;h;h=fi(h))f++;for(h=0,v=m;v;v=fi(v))h++;for(;0<f-h;)y=fi(y),f--;for(;0<h-f;)m=fi(m),h--;for(;f--;){if(y===m||m!==null&&y===m.alternate)break t;y=fi(y),m=fi(m)}y=null}else y=null;b!==null&&d4(u,p,b,y,!1),g!==null&&$!==null&&d4(u,$,g,y,!0)}}e:{if(p=c?$i(c):window,b=p.nodeName&&p.nodeName.toLowerCase(),b==="select"||b==="input"&&p.type==="file")var x=Bb;else if(t4(p))if(E5)x=Ub;else{x=Vb;var w=Kb}else(b=p.nodeName)&&b.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(x=Wb);if(x&&(x=x(e,c))){S5(u,x,r,d);break e}w&&w(e,p,c),e==="focusout"&&(w=p._wrapperState)&&w.controlled&&p.type==="number"&&O1(p,"number",p.value)}switch(w=c?$i(c):window,e){case"focusin":(t4(w)||w.contentEditable==="true")&&(gi=w,q1=c,Ys=null);break;case"focusout":Ys=q1=gi=null;break;case"mousedown":Q1=!0;break;case"contextmenu":case"mouseup":case"dragend":Q1=!1,a4(u,r,d);break;case"selectionchange":if(Zb)break;case"keydown":case"keyup":a4(u,r,d)}var P;if(A0)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else hi?C5(e,r)&&(k="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(k="onCompositionStart");k&&(x5&&r.locale!=="ko"&&(hi||k!=="onCompositionStart"?k==="onCompositionEnd"&&hi&&(P=y5()):(Fo=d,D0="value"in Fo?Fo.value:Fo.textContent,hi=!0)),w=Rd(c,k),0<w.length&&(k=new qm(k,e,null,r,d),u.push({event:k,listeners:w}),P?k.data=P:(P=w5(r),P!==null&&(k.data=P)))),(P=Fb?Hb(e,r):Ab(e,r))&&(c=Rd(c,"onBeforeInput"),0<c.length&&(d=new qm("onBeforeInput","beforeinput",null,r,d),u.push({event:d,listeners:c}),d.data=P))}D5(u,t)})}function cl(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Rd(e,t){for(var r=t+"Capture",n=[];e!==null;){var o=e,a=o.stateNode;o.tag===5&&a!==null&&(o=a,a=rl(e,r),a!=null&&n.unshift(cl(e,a,o)),a=rl(e,t),a!=null&&n.push(cl(e,a,o))),e=e.return}return n}function fi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function d4(e,t,r,n,o){for(var a=t._reactName,i=[];r!==null&&r!==n;){var s=r,l=s.alternate,c=s.stateNode;if(l!==null&&l===n)break;s.tag===5&&c!==null&&(s=c,o?(l=rl(r,a),l!=null&&i.unshift(cl(r,l,s))):o||(l=rl(r,a),l!=null&&i.push(cl(r,l,s)))),r=r.return}i.length!==0&&e.push({event:t,listeners:i})}var Xb=/\r\n?/g,qb=/\u0000|\uFFFD/g;function u4(e){return(typeof e=="string"?e:""+e).replace(Xb,`
|
|
6
|
-
`).replace(qb,"")}function sd(e,t,r){if(t=u4(t),u4(e)!==t&&r)throw Error(U(425))}function _d(){}var J1=null,e0=null;function t0(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var r0=typeof setTimeout=="function"?setTimeout:void 0,Qb=typeof clearTimeout=="function"?clearTimeout:void 0,f4=typeof Promise=="function"?Promise:void 0,Jb=typeof queueMicrotask=="function"?queueMicrotask:typeof f4<"u"?function(e){return f4.resolve(null).then(e).catch(e$)}:r0;function e$(e){setTimeout(function(){throw e})}function C1(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(n===0){e.removeChild(o),al(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);al(t)}function Bo(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function p4(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 Oi=Math.random().toString(36).slice(2),zn="__reactFiber$"+Oi,dl="__reactProps$"+Oi,co="__reactContainer$"+Oi,n0="__reactEvents$"+Oi,t$="__reactListeners$"+Oi,r$="__reactHandles$"+Oi;function wa(e){var t=e[zn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[co]||r[zn]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=p4(e);e!==null;){if(r=e[zn])return r;e=p4(e)}return t}e=r,r=e.parentNode}return null}function vl(e){return e=e[zn]||e[co],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function $i(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(U(33))}function qd(e){return e[dl]||null}var o0=[],vi=-1;function Yo(e){return{current:e}}function Xe(e){0>vi||(e.current=o0[vi],o0[vi]=null,vi--)}function Ue(e,t){vi++,o0[vi]=e.current,e.current=t}var Go={},Jt=Yo(Go),Cr=Yo(!1),Ta=Go;function Mi(e,t){var r=e.type.contextTypes;if(!r)return Go;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in r)o[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function wr(e){return e=e.childContextTypes,e!=null}function Md(){Xe(Cr),Xe(Jt)}function m4(e,t,r){if(Jt.current!==Go)throw Error(U(168));Ue(Jt,t),Ue(Cr,r)}function H5(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(U(108,Kg(e)||"Unknown",o));return st({},r,n)}function Id(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Go,Ta=Jt.current,Ue(Jt,e),Ue(Cr,Cr.current),!0}function h4(e,t,r){var n=e.stateNode;if(!n)throw Error(U(169));r?(e=H5(e,t,Ta),n.__reactInternalMemoizedMergedChildContext=e,Xe(Cr),Xe(Jt),Ue(Jt,e)):Xe(Cr),Ue(Cr,r)}var oo=null,Qd=!1,w1=!1;function A5(e){oo===null?oo=[e]:oo.push(e)}function n$(e){Qd=!0,A5(e)}function Xo(){if(!w1&&oo!==null){w1=!0;var e=0,t=Ae;try{var r=oo;for(Ae=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}oo=null,Qd=!1}catch(o){throw oo!==null&&(oo=oo.slice(e+1)),c5(_0,Xo),o}finally{Ae=t,w1=!1}}return null}var yi=[],xi=0,Nd=null,Dd=0,qr=[],Qr=0,La=null,ao=1,io="";function xa(e,t){yi[xi++]=Dd,yi[xi++]=Nd,Nd=e,Dd=t}function O5(e,t,r){qr[Qr++]=ao,qr[Qr++]=io,qr[Qr++]=La,La=e;var n=ao;e=io;var o=32-wn(n)-1;n&=~(1<<o),r+=1;var a=32-wn(t)+o;if(30<a){var i=o-o%5;a=(n&(1<<i)-1).toString(32),n>>=i,o-=i,ao=1<<32-wn(t)+o|r<<o|n,io=a+e}else ao=1<<a|r<<o|n,io=e}function z0(e){e.return!==null&&(xa(e,1),O5(e,1,0))}function B0(e){for(;e===Nd;)Nd=yi[--xi],yi[xi]=null,Dd=yi[--xi],yi[xi]=null;for(;e===La;)La=qr[--Qr],qr[Qr]=null,io=qr[--Qr],qr[Qr]=null,ao=qr[--Qr],qr[Qr]=null}var Nr=null,Ir=null,Qe=!1,Cn=null;function z5(e,t){var r=Jr(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function g4(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,Nr=e,Ir=Bo(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Nr=e,Ir=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=La!==null?{id:ao,overflow:io}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Jr(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Nr=e,Ir=null,!0):!1;default:return!1}}function a0(e){return(e.mode&1)!==0&&(e.flags&128)===0}function i0(e){if(Qe){var t=Ir;if(t){var r=t;if(!g4(e,t)){if(a0(e))throw Error(U(418));t=Bo(r.nextSibling);var n=Nr;t&&g4(e,t)?z5(n,r):(e.flags=e.flags&-4097|2,Qe=!1,Nr=e)}}else{if(a0(e))throw Error(U(418));e.flags=e.flags&-4097|2,Qe=!1,Nr=e}}}function b4(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Nr=e}function ld(e){if(e!==Nr)return!1;if(!Qe)return b4(e),Qe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!t0(e.type,e.memoizedProps)),t&&(t=Ir)){if(a0(e))throw B5(),Error(U(418));for(;t;)z5(e,t),t=Bo(t.nextSibling)}if(b4(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(U(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Ir=Bo(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Ir=null}}else Ir=Nr?Bo(e.stateNode.nextSibling):null;return!0}function B5(){for(var e=Ir;e;)e=Bo(e.nextSibling)}function Ii(){Ir=Nr=null,Qe=!1}function K0(e){Cn===null?Cn=[e]:Cn.push(e)}var o$=po.ReactCurrentBatchConfig;function Hs(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(U(309));var n=r.stateNode}if(!n)throw Error(U(147,e));var o=n,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(i){var s=o.refs;i===null?delete s[a]:s[a]=i},t._stringRef=a,t)}if(typeof e!="string")throw Error(U(284));if(!r._owner)throw Error(U(290,e))}return e}function cd(e,t){throw e=Object.prototype.toString.call(t),Error(U(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function $4(e){var t=e._init;return t(e._payload)}function K5(e){function t(m,f){if(e){var h=m.deletions;h===null?(m.deletions=[f],m.flags|=16):h.push(f)}}function r(m,f){if(!e)return null;for(;f!==null;)t(m,f),f=f.sibling;return null}function n(m,f){for(m=new Map;f!==null;)f.key!==null?m.set(f.key,f):m.set(f.index,f),f=f.sibling;return m}function o(m,f){return m=Uo(m,f),m.index=0,m.sibling=null,m}function a(m,f,h){return m.index=h,e?(h=m.alternate,h!==null?(h=h.index,h<f?(m.flags|=2,f):h):(m.flags|=2,f)):(m.flags|=1048576,f)}function i(m){return e&&m.alternate===null&&(m.flags|=2),m}function s(m,f,h,v){return f===null||f.tag!==6?(f=R1(h,m.mode,v),f.return=m,f):(f=o(f,h),f.return=m,f)}function l(m,f,h,v){var x=h.type;return x===mi?d(m,f,h.props.children,v,h.key):f!==null&&(f.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Mo&&$4(x)===f.type)?(v=o(f,h.props),v.ref=Hs(m,f,h),v.return=m,v):(v=Cd(h.type,h.key,h.props,null,m.mode,v),v.ref=Hs(m,f,h),v.return=m,v)}function c(m,f,h,v){return f===null||f.tag!==4||f.stateNode.containerInfo!==h.containerInfo||f.stateNode.implementation!==h.implementation?(f=_1(h,m.mode,v),f.return=m,f):(f=o(f,h.children||[]),f.return=m,f)}function d(m,f,h,v,x){return f===null||f.tag!==7?(f=Pa(h,m.mode,v,x),f.return=m,f):(f=o(f,h),f.return=m,f)}function u(m,f,h){if(typeof f=="string"&&f!==""||typeof f=="number")return f=R1(""+f,m.mode,h),f.return=m,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Zc:return h=Cd(f.type,f.key,f.props,null,m.mode,h),h.ref=Hs(m,null,f),h.return=m,h;case pi:return f=_1(f,m.mode,h),f.return=m,f;case Mo:var v=f._init;return u(m,v(f._payload),h)}if(Ks(f)||Is(f))return f=Pa(f,m.mode,h,null),f.return=m,f;cd(m,f)}return null}function p(m,f,h,v){var x=f!==null?f.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return x!==null?null:s(m,f,""+h,v);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Zc:return h.key===x?l(m,f,h,v):null;case pi:return h.key===x?c(m,f,h,v):null;case Mo:return x=h._init,p(m,f,x(h._payload),v)}if(Ks(h)||Is(h))return x!==null?null:d(m,f,h,v,null);cd(m,h)}return null}function b(m,f,h,v,x){if(typeof v=="string"&&v!==""||typeof v=="number")return m=m.get(h)||null,s(f,m,""+v,x);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Zc:return m=m.get(v.key===null?h:v.key)||null,l(f,m,v,x);case pi:return m=m.get(v.key===null?h:v.key)||null,c(f,m,v,x);case Mo:var w=v._init;return b(m,f,h,w(v._payload),x)}if(Ks(v)||Is(v))return m=m.get(h)||null,d(f,m,v,x,null);cd(f,v)}return null}function g(m,f,h,v){for(var x=null,w=null,P=f,k=f=0,T=null;P!==null&&k<h.length;k++){P.index>k?(T=P,P=null):T=P.sibling;var E=p(m,P,h[k],v);if(E===null){P===null&&(P=T);break}e&&P&&E.alternate===null&&t(m,P),f=a(E,f,k),w===null?x=E:w.sibling=E,w=E,P=T}if(k===h.length)return r(m,P),Qe&&xa(m,k),x;if(P===null){for(;k<h.length;k++)P=u(m,h[k],v),P!==null&&(f=a(P,f,k),w===null?x=P:w.sibling=P,w=P);return Qe&&xa(m,k),x}for(P=n(m,P);k<h.length;k++)T=b(P,m,k,h[k],v),T!==null&&(e&&T.alternate!==null&&P.delete(T.key===null?k:T.key),f=a(T,f,k),w===null?x=T:w.sibling=T,w=T);return e&&P.forEach(function(F){return t(m,F)}),Qe&&xa(m,k),x}function y(m,f,h,v){var x=Is(h);if(typeof x!="function")throw Error(U(150));if(h=x.call(h),h==null)throw Error(U(151));for(var w=x=null,P=f,k=f=0,T=null,E=h.next();P!==null&&!E.done;k++,E=h.next()){P.index>k?(T=P,P=null):T=P.sibling;var F=p(m,P,E.value,v);if(F===null){P===null&&(P=T);break}e&&P&&F.alternate===null&&t(m,P),f=a(F,f,k),w===null?x=F:w.sibling=F,w=F,P=T}if(E.done)return r(m,P),Qe&&xa(m,k),x;if(P===null){for(;!E.done;k++,E=h.next())E=u(m,E.value,v),E!==null&&(f=a(E,f,k),w===null?x=E:w.sibling=E,w=E);return Qe&&xa(m,k),x}for(P=n(m,P);!E.done;k++,E=h.next())E=b(P,m,k,E.value,v),E!==null&&(e&&E.alternate!==null&&P.delete(E.key===null?k:E.key),f=a(E,f,k),w===null?x=E:w.sibling=E,w=E);return e&&P.forEach(function(R){return t(m,R)}),Qe&&xa(m,k),x}function $(m,f,h,v){if(typeof h=="object"&&h!==null&&h.type===mi&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Zc:e:{for(var x=h.key,w=f;w!==null;){if(w.key===x){if(x=h.type,x===mi){if(w.tag===7){r(m,w.sibling),f=o(w,h.props.children),f.return=m,m=f;break e}}else if(w.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Mo&&$4(x)===w.type){r(m,w.sibling),f=o(w,h.props),f.ref=Hs(m,w,h),f.return=m,m=f;break e}r(m,w);break}else t(m,w);w=w.sibling}h.type===mi?(f=Pa(h.props.children,m.mode,v,h.key),f.return=m,m=f):(v=Cd(h.type,h.key,h.props,null,m.mode,v),v.ref=Hs(m,f,h),v.return=m,m=v)}return i(m);case pi:e:{for(w=h.key;f!==null;){if(f.key===w)if(f.tag===4&&f.stateNode.containerInfo===h.containerInfo&&f.stateNode.implementation===h.implementation){r(m,f.sibling),f=o(f,h.children||[]),f.return=m,m=f;break e}else{r(m,f);break}else t(m,f);f=f.sibling}f=_1(h,m.mode,v),f.return=m,m=f}return i(m);case Mo:return w=h._init,$(m,f,w(h._payload),v)}if(Ks(h))return g(m,f,h,v);if(Is(h))return y(m,f,h,v);cd(m,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,f!==null&&f.tag===6?(r(m,f.sibling),f=o(f,h),f.return=m,m=f):(r(m,f),f=R1(h,m.mode,v),f.return=m,m=f),i(m)):r(m,f)}return $}var Ni=K5(!0),V5=K5(!1),Fd=Yo(null),Hd=null,Ci=null,V0=null;function W0(){V0=Ci=Hd=null}function U0(e){var t=Fd.current;Xe(Fd),e._currentValue=t}function s0(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Li(e,t){Hd=e,V0=Ci=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(xr=!0),e.firstContext=null)}function tn(e){var t=e._currentValue;if(V0!==e)if(e={context:e,memoizedValue:t,next:null},Ci===null){if(Hd===null)throw Error(U(308));Ci=e,Hd.dependencies={lanes:0,firstContext:e}}else Ci=Ci.next=e;return t}var Sa=null;function j0(e){Sa===null?Sa=[e]:Sa.push(e)}function W5(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,j0(t)):(r.next=o.next,o.next=r),t.interleaved=r,uo(e,n)}function uo(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}var Io=!1;function G0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function U5(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 so(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ko(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(Me&2)!==0){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,uo(e,r)}return o=n.interleaved,o===null?(t.next=t,j0(n)):(t.next=o.next,o.next=t),n.interleaved=t,uo(e,r)}function gd(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,M0(e,r)}}function v4(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?o=a=i:a=a.next=i,r=r.next}while(r!==null);a===null?o=a=t:a=a.next=t}else o=a=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:a,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 Ad(e,t,r,n){var o=e.updateQueue;Io=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,c=l.next;l.next=null,i===null?a=c:i.next=c,i=l;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==i&&(s===null?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l))}if(a!==null){var u=o.baseState;i=0,d=c=l=null,s=a;do{var p=s.lane,b=s.eventTime;if((n&p)===p){d!==null&&(d=d.next={eventTime:b,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,y=s;switch(p=t,b=r,y.tag){case 1:if(g=y.payload,typeof g=="function"){u=g.call(b,u,p);break e}u=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,p=typeof g=="function"?g.call(b,u,p):g,p==null)break e;u=st({},u,p);break e;case 2:Io=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[s]:p.push(s))}else b={eventTime:b,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=b,l=u):d=d.next=b,i|=p;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;p=s,s=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(d===null&&(l=u),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else a===null&&(o.shared.lanes=0);_a|=i,e.lanes=i,e.memoizedState=u}}function y4(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(o!==null){if(n.callback=null,n=r,typeof o!="function")throw Error(U(191,o));o.call(n)}}}var yl={},Kn=Yo(yl),ul=Yo(yl),fl=Yo(yl);function Ea(e){if(e===yl)throw Error(U(174));return e}function Z0(e,t){switch(Ue(fl,t),Ue(ul,e),Ue(Kn,yl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:B1(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=B1(t,e)}Xe(Kn),Ue(Kn,t)}function Di(){Xe(Kn),Xe(ul),Xe(fl)}function j5(e){Ea(fl.current);var t=Ea(Kn.current),r=B1(t,e.type);t!==r&&(Ue(ul,e),Ue(Kn,r))}function Y0(e){ul.current===e&&(Xe(Kn),Xe(ul))}var at=Yo(0);function Od(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&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var S1=[];function X0(){for(var e=0;e<S1.length;e++)S1[e]._workInProgressVersionPrimary=null;S1.length=0}var bd=po.ReactCurrentDispatcher,E1=po.ReactCurrentBatchConfig,Ra=0,it=null,kt=null,Nt=null,zd=!1,Xs=!1,pl=0,a$=0;function Xt(){throw Error(U(321))}function q0(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!En(e[r],t[r]))return!1;return!0}function Q0(e,t,r,n,o,a){if(Ra=a,it=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,bd.current=e===null||e.memoizedState===null?c$:d$,e=r(n,o),Xs){a=0;do{if(Xs=!1,pl=0,25<=a)throw Error(U(301));a+=1,Nt=kt=null,t.updateQueue=null,bd.current=u$,e=r(n,o)}while(Xs)}if(bd.current=Bd,t=kt!==null&&kt.next!==null,Ra=0,Nt=kt=it=null,zd=!1,t)throw Error(U(300));return e}function J0(){var e=pl!==0;return pl=0,e}function On(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Nt===null?it.memoizedState=Nt=e:Nt=Nt.next=e,Nt}function rn(){if(kt===null){var e=it.alternate;e=e!==null?e.memoizedState:null}else e=kt.next;var t=Nt===null?it.memoizedState:Nt.next;if(t!==null)Nt=t,kt=e;else{if(e===null)throw Error(U(310));kt=e,e={memoizedState:kt.memoizedState,baseState:kt.baseState,baseQueue:kt.baseQueue,queue:kt.queue,next:null},Nt===null?it.memoizedState=Nt=e:Nt=Nt.next=e}return Nt}function ml(e,t){return typeof t=="function"?t(e):t}function k1(e){var t=rn(),r=t.queue;if(r===null)throw Error(U(311));r.lastRenderedReducer=e;var n=kt,o=n.baseQueue,a=r.pending;if(a!==null){if(o!==null){var i=o.next;o.next=a.next,a.next=i}n.baseQueue=o=a,r.pending=null}if(o!==null){a=o.next,n=n.baseState;var s=i=null,l=null,c=a;do{var d=c.lane;if((Ra&d)===d)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),n=c.hasEagerState?c.eagerState:e(n,c.action);else{var u={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(s=l=u,i=n):l=l.next=u,it.lanes|=d,_a|=d}c=c.next}while(c!==null&&c!==a);l===null?i=n:l.next=s,En(n,t.memoizedState)||(xr=!0),t.memoizedState=n,t.baseState=i,t.baseQueue=l,r.lastRenderedState=n}if(e=r.interleaved,e!==null){o=e;do a=o.lane,it.lanes|=a,_a|=a,o=o.next;while(o!==e)}else o===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function P1(e){var t=rn(),r=t.queue;if(r===null)throw Error(U(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,a=t.memoizedState;if(o!==null){r.pending=null;var i=o=o.next;do a=e(a,i.action),i=i.next;while(i!==o);En(a,t.memoizedState)||(xr=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function G5(){}function Z5(e,t){var r=it,n=rn(),o=t(),a=!En(n.memoizedState,o);if(a&&(n.memoizedState=o,xr=!0),n=n.queue,ep(q5.bind(null,r,n,e),[e]),n.getSnapshot!==t||a||Nt!==null&&Nt.memoizedState.tag&1){if(r.flags|=2048,hl(9,X5.bind(null,r,n,o,t),void 0,null),Dt===null)throw Error(U(349));(Ra&30)!==0||Y5(r,t,o)}return o}function Y5(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=it.updateQueue,t===null?(t={lastEffect:null,stores:null},it.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function X5(e,t,r,n){t.value=r,t.getSnapshot=n,Q5(t)&&J5(e)}function q5(e,t,r){return r(function(){Q5(t)&&J5(e)})}function Q5(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!En(e,r)}catch{return!0}}function J5(e){var t=uo(e,1);t!==null&&Sn(t,e,1,-1)}function x4(e){var t=On();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ml,lastRenderedState:e},t.queue=e,e=e.dispatch=l$.bind(null,it,e),[t.memoizedState,e]}function hl(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=it.updateQueue,t===null?(t={lastEffect:null,stores:null},it.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 e6(){return rn().memoizedState}function $d(e,t,r,n){var o=On();it.flags|=e,o.memoizedState=hl(1|t,r,void 0,n===void 0?null:n)}function Jd(e,t,r,n){var o=rn();n=n===void 0?null:n;var a=void 0;if(kt!==null){var i=kt.memoizedState;if(a=i.destroy,n!==null&&q0(n,i.deps)){o.memoizedState=hl(t,r,a,n);return}}it.flags|=e,o.memoizedState=hl(1|t,r,a,n)}function C4(e,t){return $d(8390656,8,e,t)}function ep(e,t){return Jd(2048,8,e,t)}function t6(e,t){return Jd(4,2,e,t)}function r6(e,t){return Jd(4,4,e,t)}function n6(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 o6(e,t,r){return r=r!=null?r.concat([e]):null,Jd(4,4,n6.bind(null,t,e),r)}function tp(){}function a6(e,t){var r=rn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&q0(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function i6(e,t){var r=rn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&q0(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function s6(e,t,r){return(Ra&21)===0?(e.baseState&&(e.baseState=!1,xr=!0),e.memoizedState=r):(En(r,t)||(r=f5(),it.lanes|=r,_a|=r,e.baseState=!0),t)}function i$(e,t){var r=Ae;Ae=r!==0&&4>r?r:4,e(!0);var n=E1.transition;E1.transition={};try{e(!1),t()}finally{Ae=r,E1.transition=n}}function l6(){return rn().memoizedState}function s$(e,t,r){var n=Wo(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},c6(e))d6(t,r);else if(r=W5(e,t,r,n),r!==null){var o=ir();Sn(r,e,n,o),u6(r,t,n)}}function l$(e,t,r){var n=Wo(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(c6(e))d6(t,o);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,s=a(i,r);if(o.hasEagerState=!0,o.eagerState=s,En(s,i)){var l=t.interleaved;l===null?(o.next=o,j0(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}r=W5(e,t,o,n),r!==null&&(o=ir(),Sn(r,e,n,o),u6(r,t,n))}}function c6(e){var t=e.alternate;return e===it||t!==null&&t===it}function d6(e,t){Xs=zd=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function u6(e,t,r){if((r&4194240)!==0){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,M0(e,r)}}var Bd={readContext:tn,useCallback:Xt,useContext:Xt,useEffect:Xt,useImperativeHandle:Xt,useInsertionEffect:Xt,useLayoutEffect:Xt,useMemo:Xt,useReducer:Xt,useRef:Xt,useState:Xt,useDebugValue:Xt,useDeferredValue:Xt,useTransition:Xt,useMutableSource:Xt,useSyncExternalStore:Xt,useId:Xt,unstable_isNewReconciler:!1},c$={readContext:tn,useCallback:function(e,t){return On().memoizedState=[e,t===void 0?null:t],e},useContext:tn,useEffect:C4,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,$d(4194308,4,n6.bind(null,t,e),r)},useLayoutEffect:function(e,t){return $d(4194308,4,e,t)},useInsertionEffect:function(e,t){return $d(4,2,e,t)},useMemo:function(e,t){var r=On();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=On();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=s$.bind(null,it,e),[n.memoizedState,e]},useRef:function(e){var t=On();return e={current:e},t.memoizedState=e},useState:x4,useDebugValue:tp,useDeferredValue:function(e){return On().memoizedState=e},useTransition:function(){var e=x4(!1),t=e[0];return e=i$.bind(null,e[1]),On().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=it,o=On();if(Qe){if(r===void 0)throw Error(U(407));r=r()}else{if(r=t(),Dt===null)throw Error(U(349));(Ra&30)!==0||Y5(n,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,C4(q5.bind(null,n,a,e),[e]),n.flags|=2048,hl(9,X5.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=On(),t=Dt.identifierPrefix;if(Qe){var r=io,n=ao;r=(n&~(1<<32-wn(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=pl++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=a$++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},d$={readContext:tn,useCallback:a6,useContext:tn,useEffect:ep,useImperativeHandle:o6,useInsertionEffect:t6,useLayoutEffect:r6,useMemo:i6,useReducer:k1,useRef:e6,useState:function(){return k1(ml)},useDebugValue:tp,useDeferredValue:function(e){var t=rn();return s6(t,kt.memoizedState,e)},useTransition:function(){var e=k1(ml)[0],t=rn().memoizedState;return[e,t]},useMutableSource:G5,useSyncExternalStore:Z5,useId:l6,unstable_isNewReconciler:!1},u$={readContext:tn,useCallback:a6,useContext:tn,useEffect:ep,useImperativeHandle:o6,useInsertionEffect:t6,useLayoutEffect:r6,useMemo:i6,useReducer:P1,useRef:e6,useState:function(){return P1(ml)},useDebugValue:tp,useDeferredValue:function(e){var t=rn();return kt===null?t.memoizedState=e:s6(t,kt.memoizedState,e)},useTransition:function(){var e=P1(ml)[0],t=rn().memoizedState;return[e,t]},useMutableSource:G5,useSyncExternalStore:Z5,useId:l6,unstable_isNewReconciler:!1};function yn(e,t){if(e&&e.defaultProps){t=st({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function l0(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:st({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var eu={isMounted:function(e){return(e=e._reactInternals)?Na(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=ir(),o=Wo(e),a=so(n,o);a.payload=t,r!=null&&(a.callback=r),t=Ko(e,a,o),t!==null&&(Sn(t,e,o,n),gd(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=ir(),o=Wo(e),a=so(n,o);a.tag=1,a.payload=t,r!=null&&(a.callback=r),t=Ko(e,a,o),t!==null&&(Sn(t,e,o,n),gd(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ir(),n=Wo(e),o=so(r,n);o.tag=2,t!=null&&(o.callback=t),t=Ko(e,o,n),t!==null&&(Sn(t,e,n,r),gd(t,e,n))}};function w4(e,t,r,n,o,a,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,a,i):t.prototype&&t.prototype.isPureReactComponent?!sl(r,n)||!sl(o,a):!0}function f6(e,t,r){var n=!1,o=Go,a=t.contextType;return typeof a=="object"&&a!==null?a=tn(a):(o=wr(t)?Ta:Jt.current,n=t.contextTypes,a=(n=n!=null)?Mi(e,o):Go),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=eu,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function S4(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&&eu.enqueueReplaceState(t,t.state,null)}function c0(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},G0(e);var a=t.contextType;typeof a=="object"&&a!==null?o.context=tn(a):(a=wr(t)?Ta:Jt.current,o.context=Mi(e,a)),o.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(l0(e,t,a,r),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&eu.enqueueReplaceState(o,o.state,null),Ad(e,r,o,n),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Fi(e,t){try{var r="",n=t;do r+=Bg(n),n=n.return;while(n);var o=r}catch(a){o=`
|
|
7
|
-
Error generating stack: `+
|
|
8
|
-
`+a.stack}return{value:e,source:t,stack:o,digest:null}}function T1(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function d0(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var f$=typeof WeakMap=="function"?WeakMap:Map;function p6(e,t,r){r=so(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Vd||(Vd=!0,y0=n),d0(e,t)},r}function m6(e,t,r){r=so(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){d0(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){d0(e,t),typeof n!="function"&&(Vo===null?Vo=new Set([this]):Vo.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function E4(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new f$;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=k$.bind(null,e,t,r),t.then(e,e))}function k4(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function P4(e,t,r,n,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=so(-1,1),t.tag=2,Ko(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var p$=po.ReactCurrentOwner,xr=!1;function ar(e,t,r,n){t.child=e===null?V5(t,null,r,n):Ni(t,e.child,r,n)}function T4(e,t,r,n,o){r=r.render;var a=t.ref;return Li(t,o),n=Q0(e,t,r,n,a,o),r=J0(),e!==null&&!xr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,fo(e,t,o)):(Qe&&r&&z0(t),t.flags|=1,ar(e,t,n,o),t.child)}function L4(e,t,r,n,o){if(e===null){var a=r.type;return typeof a=="function"&&!cp(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,h6(e,t,a,n,o)):(e=Cd(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,(e.lanes&o)===0){var i=a.memoizedProps;if(r=r.compare,r=r!==null?r:sl,r(i,n)&&e.ref===t.ref)return fo(e,t,o)}return t.flags|=1,e=Uo(a,n),e.ref=t.ref,e.return=t,t.child=e}function h6(e,t,r,n,o){if(e!==null){var a=e.memoizedProps;if(sl(a,n)&&e.ref===t.ref)if(xr=!1,t.pendingProps=n=a,(e.lanes&o)!==0)(e.flags&131072)!==0&&(xr=!0);else return t.lanes=e.lanes,fo(e,t,o)}return u0(e,t,r,n,o)}function g6(e,t,r){var n=t.pendingProps,o=n.children,a=e!==null?e.memoizedState:null;if(n.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ue(Si,Mr),Mr|=r;else{if((r&1073741824)===0)return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ue(Si,Mr),Mr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=a!==null?a.baseLanes:r,Ue(Si,Mr),Mr|=n}else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,Ue(Si,Mr),Mr|=n;return ar(e,t,o,r),t.child}function b6(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function u0(e,t,r,n,o){var a=wr(r)?Ta:Jt.current;return a=Mi(t,a),Li(t,o),r=Q0(e,t,r,n,a,o),n=J0(),e!==null&&!xr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,fo(e,t,o)):(Qe&&n&&z0(t),t.flags|=1,ar(e,t,r,o),t.child)}function R4(e,t,r,n,o){if(wr(r)){var a=!0;Id(t)}else a=!1;if(Li(t,o),t.stateNode===null)vd(e,t),f6(t,r,n),c0(t,r,n,o),n=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=r.contextType;typeof c=="object"&&c!==null?c=tn(c):(c=wr(r)?Ta:Jt.current,c=Mi(t,c));var d=r.getDerivedStateFromProps,u=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function";u||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==n||l!==c)&&S4(t,i,n,c),Io=!1;var p=t.memoizedState;i.state=p,Ad(t,n,i,o),l=t.memoizedState,s!==n||p!==l||Cr.current||Io?(typeof d=="function"&&(l0(t,r,d,n),l=t.memoizedState),(s=Io||w4(t,r,s,n,p,l,c))?(u||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),i.props=n,i.state=l,i.context=c,n=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,U5(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:yn(t.type,s),i.props=c,u=t.pendingProps,p=i.context,l=r.contextType,typeof l=="object"&&l!==null?l=tn(l):(l=wr(r)?Ta:Jt.current,l=Mi(t,l));var b=r.getDerivedStateFromProps;(d=typeof b=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==u||p!==l)&&S4(t,i,n,l),Io=!1,p=t.memoizedState,i.state=p,Ad(t,n,i,o);var g=t.memoizedState;s!==u||p!==g||Cr.current||Io?(typeof b=="function"&&(l0(t,r,b,n),g=t.memoizedState),(c=Io||w4(t,r,c,n,p,g,l)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,g,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,g,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=g),i.props=n,i.state=g,i.context=l,n=c):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),n=!1)}return f0(e,t,r,n,a,o)}function f0(e,t,r,n,o,a){b6(e,t);var i=(t.flags&128)!==0;if(!n&&!i)return o&&h4(t,r,!1),fo(e,t,a);n=t.stateNode,p$.current=t;var s=i&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&i?(t.child=Ni(t,e.child,null,a),t.child=Ni(t,null,s,a)):ar(e,t,s,a),t.memoizedState=n.state,o&&h4(t,r,!0),t.child}function $6(e){var t=e.stateNode;t.pendingContext?m4(e,t.pendingContext,t.pendingContext!==t.context):t.context&&m4(e,t.context,!1),Z0(e,t.containerInfo)}function _4(e,t,r,n,o){return Ii(),K0(o),t.flags|=256,ar(e,t,r,n),t.child}var p0={dehydrated:null,treeContext:null,retryLane:0};function m0(e){return{baseLanes:e,cachePool:null,transitions:null}}function v6(e,t,r){var n=t.pendingProps,o=at.current,a=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Ue(at,o&1),e===null)return i0(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(i=n.children,e=n.fallback,a?(n=t.mode,a=t.child,i={mode:"hidden",children:i},(n&1)===0&&a!==null?(a.childLanes=0,a.pendingProps=i):a=nu(i,n,0,null),e=Pa(e,n,r,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=m0(r),t.memoizedState=p0,e):rp(t,i));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return m$(e,t,i,n,s,o,r);if(a){a=n.fallback,i=t.mode,o=e.child,s=o.sibling;var l={mode:"hidden",children:n.children};return(i&1)===0&&t.child!==o?(n=t.child,n.childLanes=0,n.pendingProps=l,t.deletions=null):(n=Uo(o,l),n.subtreeFlags=o.subtreeFlags&14680064),s!==null?a=Uo(s,a):(a=Pa(a,i,r,null),a.flags|=2),a.return=t,n.return=t,n.sibling=a,t.child=n,n=a,a=t.child,i=e.child.memoizedState,i=i===null?m0(r):{baseLanes:i.baseLanes|r,cachePool:null,transitions:i.transitions},a.memoizedState=i,a.childLanes=e.childLanes&~r,t.memoizedState=p0,n}return a=e.child,e=a.sibling,n=Uo(a,{mode:"visible",children:n.children}),(t.mode&1)===0&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function rp(e,t){return t=nu({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function dd(e,t,r,n){return n!==null&&K0(n),Ni(t,e.child,null,r),e=rp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function m$(e,t,r,n,o,a,i){if(r)return t.flags&256?(t.flags&=-257,n=T1(Error(U(422))),dd(e,t,i,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=n.fallback,o=t.mode,n=nu({mode:"visible",children:n.children},o,0,null),a=Pa(a,o,i,null),a.flags|=2,n.return=t,a.return=t,n.sibling=a,t.child=n,(t.mode&1)!==0&&Ni(t,e.child,null,i),t.child.memoizedState=m0(i),t.memoizedState=p0,a);if((t.mode&1)===0)return dd(e,t,i,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var s=n.dgst;return n=s,a=Error(U(419)),n=T1(a,n,void 0),dd(e,t,i,n)}if(s=(i&e.childLanes)!==0,xr||s){if(n=Dt,n!==null){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(n.suspendedLanes|i))!==0?0:o,o!==0&&o!==a.retryLane&&(a.retryLane=o,uo(e,o),Sn(n,e,o,-1))}return lp(),n=T1(Error(U(421))),dd(e,t,i,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=P$.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,Ir=Bo(o.nextSibling),Nr=t,Qe=!0,Cn=null,e!==null&&(qr[Qr++]=ao,qr[Qr++]=io,qr[Qr++]=La,ao=e.id,io=e.overflow,La=t),t=rp(t,n.children),t.flags|=4096,t)}function M4(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),s0(e.return,t,r)}function L1(e,t,r,n,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=o)}function y6(e,t,r){var n=t.pendingProps,o=n.revealOrder,a=n.tail;if(ar(e,t,n.children,r),n=at.current,(n&2)!==0)n=n&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&M4(e,r,t);else if(e.tag===19)M4(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Ue(at,n),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;r!==null;)e=r.alternate,e!==null&&Od(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),L1(t,!1,o,r,a);break;case"backwards":for(r=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Od(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}L1(t,!0,r,null,a);break;case"together":L1(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function vd(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function fo(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),_a|=t.lanes,(r&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(U(153));if(t.child!==null){for(e=t.child,r=Uo(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Uo(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function h$(e,t,r){switch(t.tag){case 3:$6(t),Ii();break;case 5:j5(t);break;case 1:wr(t.type)&&Id(t);break;case 4:Z0(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;Ue(Fd,n._currentValue),n._currentValue=o;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(Ue(at,at.current&1),t.flags|=128,null):(r&t.child.childLanes)!==0?v6(e,t,r):(Ue(at,at.current&1),e=fo(e,t,r),e!==null?e.sibling:null);Ue(at,at.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&128)!==0){if(n)return y6(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ue(at,at.current),n)break;return null;case 22:case 23:return t.lanes=0,g6(e,t,r)}return fo(e,t,r)}var x6,h0,C6,w6;x6=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}};h0=function(){};C6=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Ea(Kn.current);var a=null;switch(r){case"input":o=H1(e,o),n=H1(e,n),a=[];break;case"select":o=st({},o,{value:void 0}),n=st({},n,{value:void 0}),a=[];break;case"textarea":o=z1(e,o),n=z1(e,n),a=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=_d)}K1(r,n);var i;r=null;for(c in o)if(!n.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var s=o[c];for(i in s)s.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(el.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in n){var l=n[c];if(s=o?.[c],n.hasOwnProperty(c)&&l!==s&&(l!=null||s!=null))if(c==="style")if(s){for(i in s)!s.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in l)l.hasOwnProperty(i)&&s[i]!==l[i]&&(r||(r={}),r[i]=l[i])}else r||(a||(a=[]),a.push(c,r)),r=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(a=a||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(el.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&Ye("scroll",e),a||s===l||(a=[])):(a=a||[]).push(c,l))}r&&(a=a||[]).push("style",r);var c=a;(t.updateQueue=c)&&(t.flags|=4)}};w6=function(e,t,r,n){r!==n&&(t.flags|=4)};function As(e,t){if(!Qe)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 qt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags&14680064,n|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function g$(e,t,r){var n=t.pendingProps;switch(B0(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qt(t),null;case 1:return wr(t.type)&&Md(),qt(t),null;case 3:return n=t.stateNode,Di(),Xe(Cr),Xe(Jt),X0(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(ld(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Cn!==null&&(w0(Cn),Cn=null))),h0(e,t),qt(t),null;case 5:Y0(t);var o=Ea(fl.current);if(r=t.type,e!==null&&t.stateNode!=null)C6(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(U(166));return qt(t),null}if(e=Ea(Kn.current),ld(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[zn]=t,n[dl]=a,e=(t.mode&1)!==0,r){case"dialog":Ye("cancel",n),Ye("close",n);break;case"iframe":case"object":case"embed":Ye("load",n);break;case"video":case"audio":for(o=0;o<Ws.length;o++)Ye(Ws[o],n);break;case"source":Ye("error",n);break;case"img":case"image":case"link":Ye("error",n),Ye("load",n);break;case"details":Ye("toggle",n);break;case"input":zm(n,a),Ye("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},Ye("invalid",n);break;case"textarea":Km(n,a),Ye("invalid",n)}K1(r,a),o=null;for(var i in a)if(a.hasOwnProperty(i)){var s=a[i];i==="children"?typeof s=="string"?n.textContent!==s&&(a.suppressHydrationWarning!==!0&&sd(n.textContent,s,e),o=["children",s]):typeof s=="number"&&n.textContent!==""+s&&(a.suppressHydrationWarning!==!0&&sd(n.textContent,s,e),o=["children",""+s]):el.hasOwnProperty(i)&&s!=null&&i==="onScroll"&&Ye("scroll",n)}switch(r){case"input":Yc(n),Bm(n,a,!0);break;case"textarea":Yc(n),Vm(n);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(n.onclick=_d)}n=o,t.updateQueue=n,n!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=q4(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[zn]=t,e[dl]=n,x6(e,t,!1,!1),t.stateNode=e;e:{switch(i=V1(r,n),r){case"dialog":Ye("cancel",e),Ye("close",e),o=n;break;case"iframe":case"object":case"embed":Ye("load",e),o=n;break;case"video":case"audio":for(o=0;o<Ws.length;o++)Ye(Ws[o],e);o=n;break;case"source":Ye("error",e),o=n;break;case"img":case"image":case"link":Ye("error",e),Ye("load",e),o=n;break;case"details":Ye("toggle",e),o=n;break;case"input":zm(e,n),o=H1(e,n),Ye("invalid",e);break;case"option":o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=st({},n,{value:void 0}),Ye("invalid",e);break;case"textarea":Km(e,n),o=z1(e,n),Ye("invalid",e);break;default:o=n}K1(r,o),s=o;for(a in s)if(s.hasOwnProperty(a)){var l=s[a];a==="style"?e5(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Q4(e,l)):a==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&tl(e,l):typeof l=="number"&&tl(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(el.hasOwnProperty(a)?l!=null&&a==="onScroll"&&Ye("scroll",e):l!=null&&k0(e,a,l,i))}switch(r){case"input":Yc(e),Bm(e,n,!1);break;case"textarea":Yc(e),Vm(e);break;case"option":n.value!=null&&e.setAttribute("value",""+jo(n.value));break;case"select":e.multiple=!!n.multiple,a=n.value,a!=null?Ei(e,!!n.multiple,a,!1):n.defaultValue!=null&&Ei(e,!!n.multiple,n.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=_d)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return qt(t),null;case 6:if(e&&t.stateNode!=null)w6(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(U(166));if(r=Ea(fl.current),Ea(Kn.current),ld(t)){if(n=t.stateNode,r=t.memoizedProps,n[zn]=t,(a=n.nodeValue!==r)&&(e=Nr,e!==null))switch(e.tag){case 3:sd(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&sd(n.nodeValue,r,(e.mode&1)!==0)}a&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[zn]=t,t.stateNode=n}return qt(t),null;case 13:if(Xe(at),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Qe&&Ir!==null&&(t.mode&1)!==0&&(t.flags&128)===0)B5(),Ii(),t.flags|=98560,a=!1;else if(a=ld(t),n!==null&&n.dehydrated!==null){if(e===null){if(!a)throw Error(U(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(U(317));a[zn]=t}else Ii(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;qt(t),a=!1}else Cn!==null&&(w0(Cn),Cn=null),a=!0;if(!a)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=r,t):(n=n!==null,n!==(e!==null&&e.memoizedState!==null)&&n&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(at.current&1)!==0?Pt===0&&(Pt=3):lp())),t.updateQueue!==null&&(t.flags|=4),qt(t),null);case 4:return Di(),h0(e,t),e===null&&ll(t.stateNode.containerInfo),qt(t),null;case 10:return U0(t.type._context),qt(t),null;case 17:return wr(t.type)&&Md(),qt(t),null;case 19:if(Xe(at),a=t.memoizedState,a===null)return qt(t),null;if(n=(t.flags&128)!==0,i=a.rendering,i===null)if(n)As(a,!1);else{if(Pt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Od(e),i!==null){for(t.flags|=128,As(a,!1),n=i.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;r!==null;)a=r,e=n,a.flags&=14680066,i=a.alternate,i===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Ue(at,at.current&1|2),t.child}e=e.sibling}a.tail!==null&&ft()>Hi&&(t.flags|=128,n=!0,As(a,!1),t.lanes=4194304)}else{if(!n)if(e=Od(i),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),As(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!Qe)return qt(t),null}else 2*ft()-a.renderingStartTime>Hi&&r!==1073741824&&(t.flags|=128,n=!0,As(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(r=a.last,r!==null?r.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=ft(),t.sibling=null,r=at.current,Ue(at,n?r&1|2:r&1),t):(qt(t),null);case 22:case 23:return sp(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&(t.mode&1)!==0?(Mr&1073741824)!==0&&(qt(t),t.subtreeFlags&6&&(t.flags|=8192)):qt(t),null;case 24:return null;case 25:return null}throw Error(U(156,t.tag))}function b$(e,t){switch(B0(t),t.tag){case 1:return wr(t.type)&&Md(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Di(),Xe(Cr),Xe(Jt),X0(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Y0(t),null;case 13:if(Xe(at),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(U(340));Ii()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Xe(at),null;case 4:return Di(),null;case 10:return U0(t.type._context),null;case 22:case 23:return sp(),null;case 24:return null;default:return null}}var ud=!1,Qt=!1,$$=typeof WeakSet=="function"?WeakSet:Set,ne=null;function wi(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){ct(e,t,n)}else r.current=null}function g0(e,t,r){try{r()}catch(n){ct(e,t,n)}}var I4=!1;function v$(e,t){if(J1=Td,e=T5(),O0(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var i=0,s=-1,l=-1,c=0,d=0,u=e,p=null;t:for(;;){for(var b;u!==r||o!==0&&u.nodeType!==3||(s=i+o),u!==a||n!==0&&u.nodeType!==3||(l=i+n),u.nodeType===3&&(i+=u.nodeValue.length),(b=u.firstChild)!==null;)p=u,u=b;for(;;){if(u===e)break t;if(p===r&&++c===o&&(s=i),p===a&&++d===n&&(l=i),(b=u.nextSibling)!==null)break;u=p,p=u.parentNode}u=b}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(e0={focusedElem:e,selectionRange:r},Td=!1,ne=t;ne!==null;)if(t=ne,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ne=e;else for(;ne!==null;){t=ne;try{var g=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,$=g.memoizedState,m=t.stateNode,f=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:yn(t.type,y),$);m.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(U(163))}}catch(v){ct(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,ne=e;break}ne=t.return}return g=I4,I4=!1,g}function qs(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,a!==void 0&&g0(t,r,a)}o=o.next}while(o!==n)}}function tu(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function b0(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function S6(e){var t=e.alternate;t!==null&&(e.alternate=null,S6(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zn],delete t[dl],delete t[n0],delete t[t$],delete t[r$])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function E6(e){return e.tag===5||e.tag===3||e.tag===4}function N4(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||E6(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function $0(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,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=_d));else if(n!==4&&(e=e.child,e!==null))for($0(e,t,r),e=e.sibling;e!==null;)$0(e,t,r),e=e.sibling}function v0(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(v0(e,t,r),e=e.sibling;e!==null;)v0(e,t,r),e=e.sibling}var Kt=null,xn=!1;function _o(e,t,r){for(r=r.child;r!==null;)k6(e,t,r),r=r.sibling}function k6(e,t,r){if(Bn&&typeof Bn.onCommitFiberUnmount=="function")try{Bn.onCommitFiberUnmount(Gd,r)}catch{}switch(r.tag){case 5:Qt||wi(r,t);case 6:var n=Kt,o=xn;Kt=null,_o(e,t,r),Kt=n,xn=o,Kt!==null&&(xn?(e=Kt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Kt.removeChild(r.stateNode));break;case 18:Kt!==null&&(xn?(e=Kt,r=r.stateNode,e.nodeType===8?C1(e.parentNode,r):e.nodeType===1&&C1(e,r),al(e)):C1(Kt,r.stateNode));break;case 4:n=Kt,o=xn,Kt=r.stateNode.containerInfo,xn=!0,_o(e,t,r),Kt=n,xn=o;break;case 0:case 11:case 14:case 15:if(!Qt&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var a=o,i=a.destroy;a=a.tag,i!==void 0&&((a&2)!==0||(a&4)!==0)&&g0(r,t,i),o=o.next}while(o!==n)}_o(e,t,r);break;case 1:if(!Qt&&(wi(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){ct(r,t,s)}_o(e,t,r);break;case 21:_o(e,t,r);break;case 22:r.mode&1?(Qt=(n=Qt)||r.memoizedState!==null,_o(e,t,r),Qt=n):_o(e,t,r);break;default:_o(e,t,r)}}function D4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new $$),t.forEach(function(n){var o=T$.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function vn(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var o=r[n];try{var a=e,i=t,s=i;e:for(;s!==null;){switch(s.tag){case 5:Kt=s.stateNode,xn=!1;break e;case 3:Kt=s.stateNode.containerInfo,xn=!0;break e;case 4:Kt=s.stateNode.containerInfo,xn=!0;break e}s=s.return}if(Kt===null)throw Error(U(160));k6(a,i,o),Kt=null,xn=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(c){ct(o,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)P6(t,e),t=t.sibling}function P6(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vn(t,e),An(e),n&4){try{qs(3,e,e.return),tu(3,e)}catch(y){ct(e,e.return,y)}try{qs(5,e,e.return)}catch(y){ct(e,e.return,y)}}break;case 1:vn(t,e),An(e),n&512&&r!==null&&wi(r,r.return);break;case 5:if(vn(t,e),An(e),n&512&&r!==null&&wi(r,r.return),e.flags&32){var o=e.stateNode;try{tl(o,"")}catch(y){ct(e,e.return,y)}}if(n&4&&(o=e.stateNode,o!=null)){var a=e.memoizedProps,i=r!==null?r.memoizedProps:a,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&a.type==="radio"&&a.name!=null&&Y4(o,a),V1(s,i);var c=V1(s,a);for(i=0;i<l.length;i+=2){var d=l[i],u=l[i+1];d==="style"?e5(o,u):d==="dangerouslySetInnerHTML"?Q4(o,u):d==="children"?tl(o,u):k0(o,d,u,c)}switch(s){case"input":A1(o,a);break;case"textarea":X4(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var b=a.value;b!=null?Ei(o,!!a.multiple,b,!1):p!==!!a.multiple&&(a.defaultValue!=null?Ei(o,!!a.multiple,a.defaultValue,!0):Ei(o,!!a.multiple,a.multiple?[]:"",!1))}o[dl]=a}catch(y){ct(e,e.return,y)}}break;case 6:if(vn(t,e),An(e),n&4){if(e.stateNode===null)throw Error(U(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(y){ct(e,e.return,y)}}break;case 3:if(vn(t,e),An(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{al(t.containerInfo)}catch(y){ct(e,e.return,y)}break;case 4:vn(t,e),An(e);break;case 13:vn(t,e),An(e),o=e.child,o.flags&8192&&(a=o.memoizedState!==null,o.stateNode.isHidden=a,!a||o.alternate!==null&&o.alternate.memoizedState!==null||(ap=ft())),n&4&&D4(e);break;case 22:if(d=r!==null&&r.memoizedState!==null,e.mode&1?(Qt=(c=Qt)||d,vn(t,e),Qt=c):vn(t,e),An(e),n&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&(e.mode&1)!==0)for(ne=e,d=e.child;d!==null;){for(u=ne=d;ne!==null;){switch(p=ne,b=p.child,p.tag){case 0:case 11:case 14:case 15:qs(4,p,p.return);break;case 1:wi(p,p.return);var g=p.stateNode;if(typeof g.componentWillUnmount=="function"){n=p,r=p.return;try{t=n,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(y){ct(n,r,y)}}break;case 5:wi(p,p.return);break;case 22:if(p.memoizedState!==null){H4(u);continue}}b!==null?(b.return=p,ne=b):H4(u)}d=d.sibling}e:for(d=null,u=e;;){if(u.tag===5){if(d===null){d=u;try{o=u.stateNode,c?(a=o.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(s=u.stateNode,l=u.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=J4("display",i))}catch(y){ct(e,e.return,y)}}}else if(u.tag===6){if(d===null)try{u.stateNode.nodeValue=c?"":u.memoizedProps}catch(y){ct(e,e.return,y)}}else if((u.tag!==22&&u.tag!==23||u.memoizedState===null||u===e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break e;for(;u.sibling===null;){if(u.return===null||u.return===e)break e;d===u&&(d=null),u=u.return}d===u&&(d=null),u.sibling.return=u.return,u=u.sibling}}break;case 19:vn(t,e),An(e),n&4&&D4(e);break;case 21:break;default:vn(t,e),An(e)}}function An(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(E6(r)){var n=r;break e}r=r.return}throw Error(U(160))}switch(n.tag){case 5:var o=n.stateNode;n.flags&32&&(tl(o,""),n.flags&=-33);var a=N4(e);v0(e,a,o);break;case 3:case 4:var i=n.stateNode.containerInfo,s=N4(e);$0(e,s,i);break;default:throw Error(U(161))}}catch(l){ct(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function y$(e,t,r){ne=e,T6(e,t,r)}function T6(e,t,r){for(var n=(e.mode&1)!==0;ne!==null;){var o=ne,a=o.child;if(o.tag===22&&n){var i=o.memoizedState!==null||ud;if(!i){var s=o.alternate,l=s!==null&&s.memoizedState!==null||Qt;s=ud;var c=Qt;if(ud=i,(Qt=l)&&!c)for(ne=o;ne!==null;)i=ne,l=i.child,i.tag===22&&i.memoizedState!==null?A4(o):l!==null?(l.return=i,ne=l):A4(o);for(;a!==null;)ne=a,T6(a,t,r),a=a.sibling;ne=o,ud=s,Qt=c}F4(e,t,r)}else(o.subtreeFlags&8772)!==0&&a!==null?(a.return=o,ne=a):F4(e,t,r)}}function F4(e){for(;ne!==null;){var t=ne;if((t.flags&8772)!==0){var r=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Qt||tu(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!Qt)if(r===null)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:yn(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&y4(t,a,n);break;case 3:var i=t.updateQueue;if(i!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}y4(t,i,r)}break;case 5:var s=t.stateNode;if(r===null&&t.flags&4){r=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var u=d.dehydrated;u!==null&&al(u)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(U(163))}Qt||t.flags&512&&b0(t)}catch(p){ct(t,t.return,p)}}if(t===e){ne=null;break}if(r=t.sibling,r!==null){r.return=t.return,ne=r;break}ne=t.return}}function H4(e){for(;ne!==null;){var t=ne;if(t===e){ne=null;break}var r=t.sibling;if(r!==null){r.return=t.return,ne=r;break}ne=t.return}}function A4(e){for(;ne!==null;){var t=ne;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{tu(4,t)}catch(l){ct(t,r,l)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var o=t.return;try{n.componentDidMount()}catch(l){ct(t,o,l)}}var a=t.return;try{b0(t)}catch(l){ct(t,a,l)}break;case 5:var i=t.return;try{b0(t)}catch(l){ct(t,i,l)}}}catch(l){ct(t,t.return,l)}if(t===e){ne=null;break}var s=t.sibling;if(s!==null){s.return=t.return,ne=s;break}ne=t.return}}var x$=Math.ceil,Kd=po.ReactCurrentDispatcher,np=po.ReactCurrentOwner,en=po.ReactCurrentBatchConfig,Me=0,Dt=null,yt=null,Vt=0,Mr=0,Si=Yo(0),Pt=0,gl=null,_a=0,ru=0,op=0,Qs=null,yr=null,ap=0,Hi=1/0,no=null,Vd=!1,y0=null,Vo=null,fd=!1,Ho=null,Wd=0,Js=0,x0=null,yd=-1,xd=0;function ir(){return(Me&6)!==0?ft():yd!==-1?yd:yd=ft()}function Wo(e){return(e.mode&1)===0?1:(Me&2)!==0&&Vt!==0?Vt&-Vt:o$.transition!==null?(xd===0&&(xd=f5()),xd):(e=Ae,e!==0||(e=window.event,e=e===void 0?16:v5(e.type)),e)}function Sn(e,t,r,n){if(50<Js)throw Js=0,x0=null,Error(U(185));bl(e,r,n),((Me&2)===0||e!==Dt)&&(e===Dt&&((Me&2)===0&&(ru|=r),Pt===4&&Do(e,Vt)),Sr(e,n),r===1&&Me===0&&(t.mode&1)===0&&(Hi=ft()+500,Qd&&Xo()))}function Sr(e,t){var r=e.callbackNode;ib(e,t);var n=Pd(e,e===Dt?Vt:0);if(n===0)r!==null&&jm(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&jm(r),t===1)e.tag===0?n$(O4.bind(null,e)):A5(O4.bind(null,e)),Jb(function(){(Me&6)===0&&Xo()}),r=null;else{switch(p5(n)){case 1:r=_0;break;case 4:r=d5;break;case 16:r=kd;break;case 536870912:r=u5;break;default:r=kd}r=F6(r,L6.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function L6(e,t){if(yd=-1,xd=0,(Me&6)!==0)throw Error(U(327));var r=e.callbackNode;if(Ri()&&e.callbackNode!==r)return null;var n=Pd(e,e===Dt?Vt:0);if(n===0)return null;if((n&30)!==0||(n&e.expiredLanes)!==0||t)t=Ud(e,n);else{t=n;var o=Me;Me|=2;var a=_6();(Dt!==e||Vt!==t)&&(no=null,Hi=ft()+500,ka(e,t));do try{S$();break}catch(s){R6(e,s)}while(!0);W0(),Kd.current=a,Me=o,yt!==null?t=0:(Dt=null,Vt=0,t=Pt)}if(t!==0){if(t===2&&(o=Z1(e),o!==0&&(n=o,t=C0(e,o))),t===1)throw r=gl,ka(e,0),Do(e,n),Sr(e,ft()),r;if(t===6)Do(e,n);else{if(o=e.current.alternate,(n&30)===0&&!C$(o)&&(t=Ud(e,n),t===2&&(a=Z1(e),a!==0&&(n=a,t=C0(e,a))),t===1))throw r=gl,ka(e,0),Do(e,n),Sr(e,ft()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(U(345));case 2:Ca(e,yr,no);break;case 3:if(Do(e,n),(n&130023424)===n&&(t=ap+500-ft(),10<t)){if(Pd(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){ir(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=r0(Ca.bind(null,e,yr,no),t);break}Ca(e,yr,no);break;case 4:if(Do(e,n),(n&4194240)===n)break;for(t=e.eventTimes,o=-1;0<n;){var i=31-wn(n);a=1<<i,i=t[i],i>o&&(o=i),n&=~a}if(n=o,n=ft()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*x$(n/1960))-n,10<n){e.timeoutHandle=r0(Ca.bind(null,e,yr,no),n);break}Ca(e,yr,no);break;case 5:Ca(e,yr,no);break;default:throw Error(U(329))}}}return Sr(e,ft()),e.callbackNode===r?L6.bind(null,e):null}function C0(e,t){var r=Qs;return e.current.memoizedState.isDehydrated&&(ka(e,t).flags|=256),e=Ud(e,t),e!==2&&(t=yr,yr=r,t!==null&&w0(t)),e}function w0(e){yr===null?yr=e:yr.push.apply(yr,e)}function C$(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var o=r[n],a=o.getSnapshot;o=o.value;try{if(!En(a(),o))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Do(e,t){for(t&=~op,t&=~ru,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-wn(t),n=1<<r;e[r]=-1,t&=~n}}function O4(e){if((Me&6)!==0)throw Error(U(327));Ri();var t=Pd(e,0);if((t&1)===0)return Sr(e,ft()),null;var r=Ud(e,t);if(e.tag!==0&&r===2){var n=Z1(e);n!==0&&(t=n,r=C0(e,n))}if(r===1)throw r=gl,ka(e,0),Do(e,t),Sr(e,ft()),r;if(r===6)throw Error(U(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ca(e,yr,no),Sr(e,ft()),null}function ip(e,t){var r=Me;Me|=1;try{return e(t)}finally{Me=r,Me===0&&(Hi=ft()+500,Qd&&Xo())}}function Ma(e){Ho!==null&&Ho.tag===0&&(Me&6)===0&&Ri();var t=Me;Me|=1;var r=en.transition,n=Ae;try{if(en.transition=null,Ae=1,e)return e()}finally{Ae=n,en.transition=r,Me=t,(Me&6)===0&&Xo()}}function sp(){Mr=Si.current,Xe(Si)}function ka(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,Qb(r)),yt!==null)for(r=yt.return;r!==null;){var n=r;switch(B0(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Md();break;case 3:Di(),Xe(Cr),Xe(Jt),X0();break;case 5:Y0(n);break;case 4:Di();break;case 13:Xe(at);break;case 19:Xe(at);break;case 10:U0(n.type._context);break;case 22:case 23:sp()}r=r.return}if(Dt=e,yt=e=Uo(e.current,null),Vt=Mr=t,Pt=0,gl=null,op=ru=_a=0,yr=Qs=null,Sa!==null){for(t=0;t<Sa.length;t++)if(r=Sa[t],n=r.interleaved,n!==null){r.interleaved=null;var o=n.next,a=r.pending;if(a!==null){var i=a.next;a.next=o,n.next=i}r.pending=n}Sa=null}return e}function R6(e,t){do{var r=yt;try{if(W0(),bd.current=Bd,zd){for(var n=it.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}zd=!1}if(Ra=0,Nt=kt=it=null,Xs=!1,pl=0,np.current=null,r===null||r.return===null){Pt=1,gl=t,yt=null;break}e:{var a=e,i=r.return,s=r,l=t;if(t=Vt,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,d=s,u=d.tag;if((d.mode&1)===0&&(u===0||u===11||u===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var b=k4(i);if(b!==null){b.flags&=-257,P4(b,i,s,a,t),b.mode&1&&E4(a,c,t),t=b,l=c;var g=t.updateQueue;if(g===null){var y=new Set;y.add(l),t.updateQueue=y}else g.add(l);break e}else{if((t&1)===0){E4(a,c,t),lp();break e}l=Error(U(426))}}else if(Qe&&s.mode&1){var $=k4(i);if($!==null){($.flags&65536)===0&&($.flags|=256),P4($,i,s,a,t),K0(Fi(l,s));break e}}a=l=Fi(l,s),Pt!==4&&(Pt=2),Qs===null?Qs=[a]:Qs.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var m=p6(a,l,t);v4(a,m);break e;case 1:s=l;var f=a.type,h=a.stateNode;if((a.flags&128)===0&&(typeof f.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Vo===null||!Vo.has(h)))){a.flags|=65536,t&=-t,a.lanes|=t;var v=m6(a,s,t);v4(a,v);break e}}a=a.return}while(a!==null)}I6(r)}catch(x){t=x,yt===r&&r!==null&&(yt=r=r.return);continue}break}while(!0)}function _6(){var e=Kd.current;return Kd.current=Bd,e===null?Bd:e}function lp(){(Pt===0||Pt===3||Pt===2)&&(Pt=4),Dt===null||(_a&268435455)===0&&(ru&268435455)===0||Do(Dt,Vt)}function Ud(e,t){var r=Me;Me|=2;var n=_6();(Dt!==e||Vt!==t)&&(no=null,ka(e,t));do try{w$();break}catch(o){R6(e,o)}while(!0);if(W0(),Me=r,Kd.current=n,yt!==null)throw Error(U(261));return Dt=null,Vt=0,Pt}function w$(){for(;yt!==null;)M6(yt)}function S$(){for(;yt!==null&&!qg();)M6(yt)}function M6(e){var t=D6(e.alternate,e,Mr);e.memoizedProps=e.pendingProps,t===null?I6(e):yt=t,np.current=null}function I6(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&32768)===0){if(r=g$(r,t,Mr),r!==null){yt=r;return}}else{if(r=b$(r,t),r!==null){r.flags&=32767,yt=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Pt=6,yt=null;return}}if(t=t.sibling,t!==null){yt=t;return}yt=t=e}while(t!==null);Pt===0&&(Pt=5)}function Ca(e,t,r){var n=Ae,o=en.transition;try{en.transition=null,Ae=1,E$(e,t,r,n)}finally{en.transition=o,Ae=n}return null}function E$(e,t,r,n){do Ri();while(Ho!==null);if((Me&6)!==0)throw Error(U(327));r=e.finishedWork;var o=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(U(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(sb(e,a),e===Dt&&(yt=Dt=null,Vt=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||fd||(fd=!0,F6(kd,function(){return Ri(),null})),a=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||a){a=en.transition,en.transition=null;var i=Ae;Ae=1;var s=Me;Me|=4,np.current=null,v$(e,r),P6(r,e),Gb(e0),Td=!!J1,e0=J1=null,e.current=r,y$(r,e,o),Qg(),Me=s,Ae=i,en.transition=a}else e.current=r;if(fd&&(fd=!1,Ho=e,Wd=o),a=e.pendingLanes,a===0&&(Vo=null),tb(r.stateNode,n),Sr(e,ft()),t!==null)for(n=e.onRecoverableError,r=0;r<t.length;r++)o=t[r],n(o.value,{componentStack:o.stack,digest:o.digest});if(Vd)throw Vd=!1,e=y0,y0=null,e;return(Wd&1)!==0&&e.tag!==0&&Ri(),a=e.pendingLanes,(a&1)!==0?e===x0?Js++:(Js=0,x0=e):Js=0,Xo(),null}function Ri(){if(Ho!==null){var e=p5(Wd),t=en.transition,r=Ae;try{if(en.transition=null,Ae=16>e?16:e,Ho===null)var n=!1;else{if(e=Ho,Ho=null,Wd=0,(Me&6)!==0)throw Error(U(331));var o=Me;for(Me|=4,ne=e.current;ne!==null;){var a=ne,i=a.child;if((ne.flags&16)!==0){var s=a.deletions;if(s!==null){for(var l=0;l<s.length;l++){var c=s[l];for(ne=c;ne!==null;){var d=ne;switch(d.tag){case 0:case 11:case 15:qs(8,d,a)}var u=d.child;if(u!==null)u.return=d,ne=u;else for(;ne!==null;){d=ne;var p=d.sibling,b=d.return;if(S6(d),d===c){ne=null;break}if(p!==null){p.return=b,ne=p;break}ne=b}}}var g=a.alternate;if(g!==null){var y=g.child;if(y!==null){g.child=null;do{var $=y.sibling;y.sibling=null,y=$}while(y!==null)}}ne=a}}if((a.subtreeFlags&2064)!==0&&i!==null)i.return=a,ne=i;else e:for(;ne!==null;){if(a=ne,(a.flags&2048)!==0)switch(a.tag){case 0:case 11:case 15:qs(9,a,a.return)}var m=a.sibling;if(m!==null){m.return=a.return,ne=m;break e}ne=a.return}}var f=e.current;for(ne=f;ne!==null;){i=ne;var h=i.child;if((i.subtreeFlags&2064)!==0&&h!==null)h.return=i,ne=h;else e:for(i=f;ne!==null;){if(s=ne,(s.flags&2048)!==0)try{switch(s.tag){case 0:case 11:case 15:tu(9,s)}}catch(x){ct(s,s.return,x)}if(s===i){ne=null;break e}var v=s.sibling;if(v!==null){v.return=s.return,ne=v;break e}ne=s.return}}if(Me=o,Xo(),Bn&&typeof Bn.onPostCommitFiberRoot=="function")try{Bn.onPostCommitFiberRoot(Gd,e)}catch{}n=!0}return n}finally{Ae=r,en.transition=t}}return!1}function z4(e,t,r){t=Fi(r,t),t=p6(e,t,1),e=Ko(e,t,1),t=ir(),e!==null&&(bl(e,1,t),Sr(e,t))}function ct(e,t,r){if(e.tag===3)z4(e,e,r);else for(;t!==null;){if(t.tag===3){z4(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Vo===null||!Vo.has(n))){e=Fi(r,e),e=m6(t,e,1),t=Ko(t,e,1),e=ir(),t!==null&&(bl(t,1,e),Sr(t,e));break}}t=t.return}}function k$(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=ir(),e.pingedLanes|=e.suspendedLanes&r,Dt===e&&(Vt&r)===r&&(Pt===4||Pt===3&&(Vt&130023424)===Vt&&500>ft()-ap?ka(e,0):op|=r),Sr(e,t)}function N6(e,t){t===0&&((e.mode&1)===0?t=1:(t=Qc,Qc<<=1,(Qc&130023424)===0&&(Qc=4194304)));var r=ir();e=uo(e,t),e!==null&&(bl(e,t,r),Sr(e,r))}function P$(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),N6(e,r)}function T$(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(U(314))}n!==null&&n.delete(t),N6(e,r)}var D6;D6=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Cr.current)xr=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return xr=!1,h$(e,t,r);xr=(e.flags&131072)!==0}else xr=!1,Qe&&(t.flags&1048576)!==0&&O5(t,Dd,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;vd(e,t),e=t.pendingProps;var o=Mi(t,Jt.current);Li(t,r),o=Q0(null,t,n,e,o,r);var a=J0();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,wr(n)?(a=!0,Id(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,G0(t),o.updater=eu,t.stateNode=o,o._reactInternals=t,c0(t,n,e,r),t=f0(null,t,n,!0,a,r)):(t.tag=0,Qe&&a&&z0(t),ar(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(vd(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=R$(n),e=yn(n,e),o){case 0:t=u0(null,t,n,e,r);break e;case 1:t=R4(null,t,n,e,r);break e;case 11:t=T4(null,t,n,e,r);break e;case 14:t=L4(null,t,n,yn(n.type,e),r);break e}throw Error(U(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yn(n,o),u0(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yn(n,o),R4(e,t,n,o,r);case 3:e:{if($6(t),e===null)throw Error(U(387));n=t.pendingProps,a=t.memoizedState,o=a.element,U5(e,t),Ad(t,n,null,r);var i=t.memoizedState;if(n=i.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){o=Fi(Error(U(423)),t),t=_4(e,t,n,r,o);break e}else if(n!==o){o=Fi(Error(U(424)),t),t=_4(e,t,n,r,o);break e}else for(Ir=Bo(t.stateNode.containerInfo.firstChild),Nr=t,Qe=!0,Cn=null,r=V5(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Ii(),n===o){t=fo(e,t,r);break e}ar(e,t,n,r)}t=t.child}return t;case 5:return j5(t),e===null&&i0(t),n=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,i=o.children,t0(n,o)?i=null:a!==null&&t0(n,a)&&(t.flags|=32),b6(e,t),ar(e,t,i,r),t.child;case 6:return e===null&&i0(t),null;case 13:return v6(e,t,r);case 4:return Z0(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Ni(t,null,n,r):ar(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yn(n,o),T4(e,t,n,o,r);case 7:return ar(e,t,t.pendingProps,r),t.child;case 8:return ar(e,t,t.pendingProps.children,r),t.child;case 12:return ar(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value,Ue(Fd,n._currentValue),n._currentValue=i,a!==null)if(En(a.value,i)){if(a.children===o.children&&!Cr.current){t=fo(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){i=a.child;for(var l=s.firstContext;l!==null;){if(l.context===n){if(a.tag===1){l=so(-1,r&-r),l.tag=2;var c=a.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}a.lanes|=r,l=a.alternate,l!==null&&(l.lanes|=r),s0(a.return,r,t),s.lanes|=r;break}l=l.next}}else if(a.tag===10)i=a.type===t.type?null:a.child;else if(a.tag===18){if(i=a.return,i===null)throw Error(U(341));i.lanes|=r,s=i.alternate,s!==null&&(s.lanes|=r),s0(i,r,t),i=a.sibling}else i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===t){i=null;break}if(a=i.sibling,a!==null){a.return=i.return,i=a;break}i=i.return}a=i}ar(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Li(t,r),o=tn(o),n=n(o),t.flags|=1,ar(e,t,n,r),t.child;case 14:return n=t.type,o=yn(n,t.pendingProps),o=yn(n.type,o),L4(e,t,n,o,r);case 15:return h6(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yn(n,o),vd(e,t),t.tag=1,wr(n)?(e=!0,Id(t)):e=!1,Li(t,r),f6(t,n,o),c0(t,n,o,r),f0(null,t,n,!0,e,r);case 19:return y6(e,t,r);case 22:return g6(e,t,r)}throw Error(U(156,t.tag))};function F6(e,t){return c5(e,t)}function L$(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.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Jr(e,t,r,n){return new L$(e,t,r,n)}function cp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function R$(e){if(typeof e=="function")return cp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===T0)return 11;if(e===L0)return 14}return 2}function Uo(e,t){var r=e.alternate;return r===null?(r=Jr(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.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,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 Cd(e,t,r,n,o,a){var i=2;if(n=e,typeof e=="function")cp(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case mi:return Pa(r.children,o,a,t);case P0:i=8,o|=8;break;case I1:return e=Jr(12,r,t,o|2),e.elementType=I1,e.lanes=a,e;case N1:return e=Jr(13,r,t,o),e.elementType=N1,e.lanes=a,e;case D1:return e=Jr(19,r,t,o),e.elementType=D1,e.lanes=a,e;case j4:return nu(r,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case W4:i=10;break e;case U4:i=9;break e;case T0:i=11;break e;case L0:i=14;break e;case Mo:i=16,n=null;break e}throw Error(U(130,e==null?e:typeof e,""))}return t=Jr(i,r,t,o),t.elementType=e,t.type=n,t.lanes=a,t}function Pa(e,t,r,n){return e=Jr(7,e,n,t),e.lanes=r,e}function nu(e,t,r,n){return e=Jr(22,e,n,t),e.elementType=j4,e.lanes=r,e.stateNode={isHidden:!1},e}function R1(e,t,r){return e=Jr(6,e,null,t),e.lanes=r,e}function _1(e,t,r){return t=Jr(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function _$(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=m1(0),this.expirationTimes=m1(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=m1(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function dp(e,t,r,n,o,a,i,s,l){return e=new _$(e,t,r,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Jr(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},G0(a),e}function M$(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:pi,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function H6(e){if(!e)return Go;e=e._reactInternals;e:{if(Na(e)!==e||e.tag!==1)throw Error(U(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(wr(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(U(171))}if(e.tag===1){var r=e.type;if(wr(r))return H5(e,r,t)}return t}function A6(e,t,r,n,o,a,i,s,l){return e=dp(r,n,!0,e,o,a,i,s,l),e.context=H6(null),r=e.current,n=ir(),o=Wo(r),a=so(n,o),a.callback=t??null,Ko(r,a,o),e.current.lanes=o,bl(e,o,n),Sr(e,n),e}function ou(e,t,r,n){var o=t.current,a=ir(),i=Wo(o);return r=H6(r),t.context===null?t.context=r:t.pendingContext=r,t=so(a,i),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=Ko(o,t,i),e!==null&&(Sn(e,o,i,a),gd(e,o,i)),i}function jd(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 B4(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function up(e,t){B4(e,t),(e=e.alternate)&&B4(e,t)}function I$(){return null}var O6=typeof reportError=="function"?reportError:function(e){console.error(e)};function fp(e){this._internalRoot=e}au.prototype.render=fp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(U(409));ou(e,t,null,null)};au.prototype.unmount=fp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ma(function(){ou(null,e,null,null)}),t[co]=null}};function au(e){this._internalRoot=e}au.prototype.unstable_scheduleHydration=function(e){if(e){var t=g5();e={blockedOn:null,target:e,priority:t};for(var r=0;r<No.length&&t!==0&&t<No[r].priority;r++);No.splice(r,0,e),r===0&&$5(e)}};function pp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function iu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function K4(){}function N$(e,t,r,n,o){if(o){if(typeof n=="function"){var a=n;n=function(){var c=jd(i);a.call(c)}}var i=A6(t,n,e,0,null,!1,!1,"",K4);return e._reactRootContainer=i,e[co]=i.current,ll(e.nodeType===8?e.parentNode:e),Ma(),i}for(;o=e.lastChild;)e.removeChild(o);if(typeof n=="function"){var s=n;n=function(){var c=jd(l);s.call(c)}}var l=dp(e,0,!1,null,null,!1,!1,"",K4);return e._reactRootContainer=l,e[co]=l.current,ll(e.nodeType===8?e.parentNode:e),Ma(function(){ou(t,l,r,n)}),l}function su(e,t,r,n,o){var a=r._reactRootContainer;if(a){var i=a;if(typeof o=="function"){var s=o;o=function(){var l=jd(i);s.call(l)}}ou(t,i,e,o)}else i=N$(r,t,e,o,n);return jd(i)}m5=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=Vs(t.pendingLanes);r!==0&&(M0(t,r|1),Sr(t,ft()),(Me&6)===0&&(Hi=ft()+500,Xo()))}break;case 13:Ma(function(){var n=uo(e,1);if(n!==null){var o=ir();Sn(n,e,1,o)}}),up(e,1)}};I0=function(e){if(e.tag===13){var t=uo(e,134217728);if(t!==null){var r=ir();Sn(t,e,134217728,r)}up(e,134217728)}};h5=function(e){if(e.tag===13){var t=Wo(e),r=uo(e,t);if(r!==null){var n=ir();Sn(r,e,t,n)}up(e,t)}};g5=function(){return Ae};b5=function(e,t){var r=Ae;try{return Ae=e,t()}finally{Ae=r}};U1=function(e,t,r){switch(t){case"input":if(A1(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 o=qd(n);if(!o)throw Error(U(90));Z4(n),A1(n,o)}}}break;case"textarea":X4(e,r);break;case"select":t=r.value,t!=null&&Ei(e,!!r.multiple,t,!1)}};n5=ip;o5=Ma;var D$={usingClientEntryPoint:!1,Events:[vl,$i,qd,t5,r5,ip]},Os={findFiberByHostInstance:wa,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},F$={bundleType:Os.bundleType,version:Os.version,rendererPackageName:Os.rendererPackageName,rendererConfig:Os.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:po.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=s5(e),e===null?null:e.stateNode},findFiberByHostInstance:Os.findFiberByHostInstance||I$,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(zs=__REACT_DEVTOOLS_GLOBAL_HOOK__,!zs.isDisabled&&zs.supportsFiber))try{Gd=zs.inject(F$),Bn=zs}catch{}var zs;Hr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D$;Hr.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!pp(t))throw Error(U(200));return M$(e,t,null,r)};Hr.createRoot=function(e,t){if(!pp(e))throw Error(U(299));var r=!1,n="",o=O6;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=dp(e,1,!1,null,null,r,!1,n,o),e[co]=t.current,ll(e.nodeType===8?e.parentNode:e),new fp(t)};Hr.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(U(188)):(e=Object.keys(e).join(","),Error(U(268,e)));return e=s5(t),e=e===null?null:e.stateNode,e};Hr.flushSync=function(e){return Ma(e)};Hr.hydrate=function(e,t,r){if(!iu(t))throw Error(U(200));return su(null,e,t,!0,r)};Hr.hydrateRoot=function(e,t,r){if(!pp(e))throw Error(U(405));var n=r!=null&&r.hydratedSources||null,o=!1,a="",i=O6;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(i=r.onRecoverableError)),t=A6(t,null,e,1,r??null,o,!1,a,i),e[co]=t.current,ll(e),n)for(e=0;e<n.length;e++)r=n[e],o=r._getVersion,o=o(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new au(t)};Hr.render=function(e,t,r){if(!iu(t))throw Error(U(200));return su(null,e,t,!1,r)};Hr.unmountComponentAtNode=function(e){if(!iu(e))throw Error(U(40));return e._reactRootContainer?(Ma(function(){su(null,null,e,!1,function(){e._reactRootContainer=null,e[co]=null})}),!0):!1};Hr.unstable_batchedUpdates=ip;Hr.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!iu(r))throw Error(U(200));if(e==null||e._reactInternals===void 0)throw Error(U(38));return su(e,t,r,!1,n)};Hr.version="18.3.1-next-f1338f8080-20240426"});var kn=bn((Uw,K6)=>{"use strict";function B6(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(B6)}catch(e){console.error(e)}}B6(),K6.exports=z6()});var Ar=bn(mp=>{"use strict";var V6=kn();mp.createRoot=V6.createRoot,mp.hydrateRoot=V6.hydrateRoot;var jw});var U6=bn(lu=>{"use strict";var H$=D(),A$=Symbol.for("react.element"),O$=Symbol.for("react.fragment"),z$=Object.prototype.hasOwnProperty,B$=H$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,K$={key:!0,ref:!0,__self:!0,__source:!0};function W6(e,t,r){var n,o={},a=null,i=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(i=t.ref);for(n in t)z$.call(t,n)&&!K$.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)o[n]===void 0&&(o[n]=t[n]);return{$$typeof:A$,type:e,key:a,ref:i,props:o,_owner:B$.current}}lu.Fragment=O$;lu.jsx=W6;lu.jsxs=W6});var $e=bn((Yw,j6)=>{"use strict";j6.exports=U6()});var d7=bn(c7=>{"use strict";var os=D();function My(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Iy=typeof Object.is=="function"?Object.is:My,Ny=os.useState,Dy=os.useEffect,Fy=os.useLayoutEffect,Hy=os.useDebugValue;function Ay(e,t){var r=t(),n=Ny({inst:{value:r,getSnapshot:t}}),o=n[0].inst,a=n[1];return Fy(function(){o.value=r,o.getSnapshot=t,Vp(o)&&a({inst:o})},[e,r,t]),Dy(function(){return Vp(o)&&a({inst:o}),e(function(){Vp(o)&&a({inst:o})})},[e]),Hy(r),r}function Vp(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Iy(e,r)}catch{return!0}}function Oy(e,t){return t()}var zy=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Oy:Ay;c7.useSyncExternalStore=os.useSyncExternalStore!==void 0?os.useSyncExternalStore:zy});var f7=bn((lP,u7)=>{"use strict";u7.exports=d7()});var Q6=S(D(),1),J6=S(Ar(),1);var zi=S(D(),1),zr=S($e(),1),J=e=>`var(--semantic-color-${e})`;var Or=e=>`var(--contextual-layout-units-${e})`,xl=e=>`var(--semantic-type-${e})`,du={Fill:{Primary:{base:J("fill-action-primary-strong-rest"),hover:J("fill-action-primary-strong-hover"),pressed:J("fill-action-primary-strong-pressed"),disabled:J("fill-action-disabled")},Secondary:{base:J("fill-action-secondary-rest"),hover:J("fill-action-secondary-hover"),pressed:J("fill-action-secondary-pressed"),disabled:J("fill-action-disabled")},Tertiary:{base:J("fill-action-primary-subtle-rest"),hover:J("fill-action-primary-subtle-hover"),pressed:J("fill-action-primary-subtle-pressed"),disabled:J("fill-action-disabled")},Negative:{base:J("fill-action-status-negative-strong-rest"),hover:J("fill-action-status-negative-strong-hover"),pressed:J("fill-action-status-negative-strong-pressed"),disabled:J("fill-action-disabled")}},Outlined:{Primary:{base:"transparent",hover:J("fill-action-primary-subtle-hover"),pressed:J("fill-action-primary-subtle-pressed"),disabled:"transparent"},Secondary:{base:"transparent",hover:J("fill-action-secondary-hover"),pressed:J("fill-action-secondary-pressed"),disabled:"transparent"},Tertiary:{base:"transparent",hover:J("fill-action-primary-subtle-hover"),pressed:J("fill-action-primary-subtle-pressed"),disabled:"transparent"},Negative:{base:"transparent",hover:J("fill-action-status-negative-subtle-hover"),pressed:J("fill-action-status-negative-subtle-pressed"),disabled:"transparent"}}};du.Naked=du.Outlined;var uu={Fill:{Primary:{base:J("foreground-action-primary-on-strong"),hover:J("foreground-action-primary-on-strong"),pressed:J("foreground-action-primary-on-strong"),disabled:J("foreground-action-disabled")},Secondary:{base:J("foreground-action-secondary-rest"),hover:J("foreground-action-secondary-hover"),pressed:J("foreground-action-secondary-pressed"),disabled:J("foreground-action-disabled")},Tertiary:{base:J("foreground-action-primary-on-subtle-rest"),hover:J("foreground-action-primary-on-subtle-hover"),pressed:J("foreground-action-primary-on-subtle-pressed"),disabled:J("foreground-action-disabled")},Negative:{base:J("foreground-action-status-negative-on-strong"),hover:J("foreground-action-status-negative-on-strong"),pressed:J("foreground-action-status-negative-on-strong"),disabled:J("foreground-action-disabled")}},Outlined:{Primary:{base:J("foreground-action-primary-on-subtle-rest"),hover:J("foreground-action-primary-on-subtle-hover"),pressed:J("foreground-action-primary-on-subtle-pressed"),disabled:J("foreground-action-disabled")},Secondary:{base:J("foreground-action-secondary-rest"),hover:J("foreground-action-secondary-hover"),pressed:J("foreground-action-secondary-pressed"),disabled:J("foreground-action-disabled")},Tertiary:{base:J("foreground-action-primary-on-subtle-rest"),hover:J("foreground-action-primary-on-subtle-hover"),pressed:J("foreground-action-primary-on-subtle-pressed"),disabled:J("foreground-action-disabled")},Negative:{base:J("foreground-action-status-negative-on-subtle-rest"),hover:J("foreground-action-status-negative-on-subtle-hover"),pressed:J("foreground-action-status-negative-on-subtle-pressed"),disabled:J("foreground-action-disabled")}}};uu.Naked=uu.Outlined;var G6=uu,Z6=uu,Y6={Primary:{base:J("stroke-action-primary-strong-rest"),hover:J("stroke-action-primary-strong-hover"),pressed:J("stroke-action-primary-strong-pressed"),disabled:J("stroke-action-disabled")},Secondary:{base:J("stroke-action-secondary-rest"),hover:J("stroke-action-secondary-hover"),pressed:J("stroke-action-secondary-pressed"),disabled:J("stroke-action-disabled")},Tertiary:{base:J("stroke-action-primary-strong-rest"),hover:J("stroke-action-primary-strong-hover"),pressed:J("stroke-action-primary-strong-pressed"),disabled:J("stroke-action-disabled")},Negative:{base:J("stroke-action-status-negative-rest"),hover:J("stroke-action-status-negative-hover"),pressed:J("stroke-action-status-negative-pressed"),disabled:J("stroke-action-disabled")}},Vn={radius:Or("button-cornerradius"),border:Or("button-borderwidth-rest"),borderEmphasis:Or("button-borderwidth-selected"),gap:Or("button-gap-horizontal"),touch:{pad:6,min:48},focusOutline:`${Or("focusring-width")} solid ${J("stroke-focusring-base")}`,focusOffset:"0"},cu=(e,t,r)=>({fontFamily:xl("family-brand"),fontSize:xl(`font-size-${e}`),fontWeight:xl("weight-medium"),lineHeight:xl(`line-height-${t}`),letterSpacing:xl(`letter-spacing-${r}`)}),X6={L:{padH:Or("button-padding-large-horizontal"),padV:Or("button-padding-large-vertical"),iconWrap:26,iconInner:18,...cu("m","m-single","wide")},M:{padH:Or("button-padding-medium-horizontal"),padV:Or("button-padding-medium-vertical"),iconWrap:24,iconInner:16,...cu("r","r-single","wide")},S:{padH:Or("button-padding-small-horizontal"),padV:Or("button-padding-small-vertical"),iconWrap:20,iconInner:14,...cu("s","s-single","spacious")},XS:{padH:Or("button-padding-xsmall-horizontal"),padV:Or("button-padding-xsmall-vertical"),iconWrap:16,iconInner:12,...cu("xs","xs-single","extraspacious")}},V$=[{d:"M6 1V3",opacity:1},{d:"M8.1 3.9L9.55 2.45",opacity:.87},{d:"M9 6H11",opacity:.75},{d:"M8.1 8.1L9.55 9.55",opacity:.62},{d:"M6 9V11",opacity:.5},{d:"M2.45 9.55L3.9 8.1",opacity:.37},{d:"M1 6H3",opacity:.25},{d:"M2.45 2.45L3.9 3.9",opacity:.12}],q6=!1;function W$(){if(q6||typeof document>"u")return;let e=document.createElement("style");e.textContent="@keyframes pw-btn-spin { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }@media (prefers-reduced-motion: reduce) { .pw-btn-spinner { animation: none !important; } }",document.head.appendChild(e),q6=!0}function U$({size:e=20}){return(0,zr.jsx)("svg",{className:"pw-btn-spinner",width:e,height:e,viewBox:"0 0 12 12","aria-hidden":"true",style:{animation:"pw-btn-spin var(--motion-duration-loop-fast) var(--motion-easing-linear) infinite",flexShrink:0,display:"block"},children:V$.map((t,r)=>(0,zr.jsx)("path",{d:t.d,stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",fill:"none",opacity:t.opacity},r))})}function mo({buttonStyle:e="Fill",size:t="M",type:r="Primary",text:n="Button",leadingIcon:o=null,trailingIcon:a=null,showLeadingIcon:i=!1,showTrailingIcon:s=!1,showText:l=!0,loading:c=!1,disabled:d=!1,forceState:u=null,onClick:p,ariaLabel:b,className:g="",...y}){let[$,m]=(0,zi.useState)(!1),[f,h]=(0,zi.useState)(!1),[v,x]=(0,zi.useState)(!1);(0,zi.useEffect)(()=>{W$()},[]);let w=u==="loading",P=u==="disabled",k=d||c||P||w,T=(()=>{if(u&&!d&&!c){if(P||w)return"disabled";if(u==="focused")return"base";if(u==="hover")return"hover";if(u==="pressed")return"pressed"}return k?"disabled":f?"pressed":$?"hover":"base"})(),E=!k&&(u==="focused"||v),F=du[e]?.[r]||du.Fill.Primary,R=G6[e]?.[r]||G6.Fill.Primary,_=Z6[e]?.[r]||Z6.Fill.Primary,C=Y6[r]||Y6.Primary,L=X6[t]||X6.M,z=F[T],N=R[T],Z=_[T],I=C[T],te=e==="Outlined",X={display:"inline-flex",alignItems:"center",justifyContent:"center",paddingLeft:L.padH,paddingRight:L.padH,paddingTop:L.padV,paddingBottom:L.padV,borderRadius:Vn.radius,backgroundColor:z,border:te?`${!k&&!c&&(T==="hover"||T==="pressed"||E)?Vn.borderEmphasis:Vn.border} solid ${I}`:"none",gap:0,outline:E?Vn.focusOutline:"none",outlineOffset:E?Vn.focusOffset:void 0,transition:"background-color var(--motion-duration-2) var(--motion-easing-standard), border-color var(--motion-duration-2) var(--motion-easing-standard), box-shadow var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)",color:Z},B=`calc(${Vn.gap} / 2)`,G={fontFamily:L.fontFamily,fontWeight:L.fontWeight,lineHeight:L.lineHeight,letterSpacing:L.letterSpacing,fontSize:L.fontSize,color:N,whiteSpace:"nowrap",paddingLeft:B,paddingRight:B,transition:"color var(--motion-duration-2) var(--motion-easing-standard)",userSelect:"none"},V={display:"inline-flex",alignItems:"center",justifyContent:"center",width:L.iconWrap,height:L.iconWrap,flexShrink:0,fontSize:L.iconInner,color:Z,transition:"color var(--motion-duration-2) var(--motion-easing-standard)",fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24"},M={display:"inline-flex",alignItems:"center",justifyContent:"center",padding:Vn.touch.pad,minHeight:Vn.touch.min,minWidth:Vn.touch.min,background:"transparent",border:"none",borderRadius:Vn.radius,cursor:k?"not-allowed":"pointer",outline:"none",opacity:1,textDecoration:"none"};return(0,zr.jsx)("button",{type:"button",...y,onClick:k?void 0:p,disabled:k,"aria-label":b||(l&&!(c||w)?void 0:n),"aria-busy":c||w||void 0,"aria-disabled":k||void 0,onMouseEnter:()=>!k&&m(!0),onMouseLeave:()=>{m(!1),h(!1)},onMouseDown:()=>!k&&h(!0),onMouseUp:()=>h(!1),onFocus:ae=>{ae.target.matches?.(":focus-visible")&&x(!0)},onBlur:()=>{x(!1),h(!1)},onKeyDown:ae=>{(ae.key===" "||ae.key==="Enter")&&!k&&h(!0)},onKeyUp:()=>h(!1),className:g,style:M,children:(0,zr.jsx)("span",{style:X,className:"pw-button__container",children:c||w?(0,zr.jsx)(U$,{size:L.iconInner*1.2}):(0,zr.jsxs)(zr.Fragment,{children:[i&&(0,zr.jsx)("span",{style:V,className:"material-symbols-rounded pw-button__icon pw-button__icon--leading","aria-hidden":"true",children:o||"add"}),l&&(0,zr.jsx)("span",{style:G,className:"pw-button__label",children:n}),s&&(0,zr.jsx)("span",{style:V,className:"material-symbols-rounded pw-button__icon pw-button__icon--trailing","aria-hidden":"true",children:a||"arrow_forward"})]})})})}var j$=`
|
|
1
|
+
var K9=Object.create;var Mm=Object.defineProperty;var z9=Object.getOwnPropertyDescriptor;var V9=Object.getOwnPropertyNames;var W9=Object.getPrototypeOf,U9=Object.prototype.hasOwnProperty;var Cn=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var j9=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of V9(t))!U9.call(e,o)&&o!==r&&Mm(e,o,{get:()=>t[o],enumerable:!(n=z9(t,o))||n.enumerable});return e};var S=(e,t,r)=>(r=e!=null?K9(W9(e)):{},j9(t||!e||!e.__esModule?Mm(r,"default",{value:e,enumerable:!0}):r,e));var Wm=Cn(Te=>{"use strict";var Os=Symbol.for("react.element"),G9=Symbol.for("react.portal"),Z9=Symbol.for("react.fragment"),Y9=Symbol.for("react.strict_mode"),X9=Symbol.for("react.profiler"),q9=Symbol.for("react.provider"),Q9=Symbol.for("react.context"),J9=Symbol.for("react.forward_ref"),eb=Symbol.for("react.suspense"),tb=Symbol.for("react.memo"),rb=Symbol.for("react.lazy"),Im=Symbol.iterator;function nb(e){return e===null||typeof e!="object"?null:(e=Im&&e[Im]||e["@@iterator"],typeof e=="function"?e:null)}var Fm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Hm=Object.assign,Am={};function ba(e,t,r){this.props=e,this.context=t,this.refs=Am,this.updater=r||Fm}ba.prototype.isReactComponent={};ba.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ba.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Om(){}Om.prototype=ba.prototype;function p1(e,t,r){this.props=e,this.context=t,this.refs=Am,this.updater=r||Fm}var m1=p1.prototype=new Om;m1.constructor=p1;Hm(m1,ba.prototype);m1.isPureReactComponent=!0;var Nm=Array.isArray,Bm=Object.prototype.hasOwnProperty,h1={current:null},Km={key:!0,ref:!0,__self:!0,__source:!0};function zm(e,t,r){var n,o={},i=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Bm.call(t,n)&&!Km.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)o[n]===void 0&&(o[n]=s[n]);return{$$typeof:Os,type:e,key:i,ref:a,props:o,_owner:h1.current}}function ob(e,t){return{$$typeof:Os,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function g1(e){return typeof e=="object"&&e!==null&&e.$$typeof===Os}function ib(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Dm=/\/+/g;function f1(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ib(""+e.key):t.toString(36)}function Qc(e,t,r,n,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Os:case G9:a=!0}}if(a)return a=e,o=o(a),e=n===""?"."+f1(a,0):n,Nm(o)?(r="",e!=null&&(r=e.replace(Dm,"$&/")+"/"),Qc(o,t,r,"",function(c){return c})):o!=null&&(g1(o)&&(o=ob(o,r+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(Dm,"$&/")+"/")+e)),t.push(o)),1;if(a=0,n=n===""?".":n+":",Nm(e))for(var s=0;s<e.length;s++){i=e[s];var l=n+f1(i,s);a+=Qc(i,t,r,l,o)}else if(l=nb(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=n+f1(i,s++),a+=Qc(i,t,r,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function qc(e,t,r){if(e==null)return e;var n=[],o=0;return Qc(e,n,"","",function(i){return t.call(r,i,o++)}),n}function ab(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var cr={current:null},Jc={transition:null},sb={ReactCurrentDispatcher:cr,ReactCurrentBatchConfig:Jc,ReactCurrentOwner:h1};function Vm(){throw Error("act(...) is not supported in production builds of React.")}Te.Children={map:qc,forEach:function(e,t,r){qc(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return qc(e,function(){t++}),t},toArray:function(e){return qc(e,function(t){return t})||[]},only:function(e){if(!g1(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Te.Component=ba;Te.Fragment=Z9;Te.Profiler=X9;Te.PureComponent=p1;Te.StrictMode=Y9;Te.Suspense=eb;Te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sb;Te.act=Vm;Te.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=Hm({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=h1.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)Bm.call(t,l)&&!Km.hasOwnProperty(l)&&(n[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];n.children=s}return{$$typeof:Os,type:e.type,key:o,ref:i,props:n,_owner:a}};Te.createContext=function(e){return e={$$typeof:Q9,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:q9,_context:e},e.Consumer=e};Te.createElement=zm;Te.createFactory=function(e){var t=zm.bind(null,e);return t.type=e,t};Te.createRef=function(){return{current:null}};Te.forwardRef=function(e){return{$$typeof:J9,render:e}};Te.isValidElement=g1;Te.lazy=function(e){return{$$typeof:rb,_payload:{_status:-1,_result:e},_init:ab}};Te.memo=function(e,t){return{$$typeof:tb,type:e,compare:t===void 0?null:t}};Te.startTransition=function(e){var t=Jc.transition;Jc.transition={};try{e()}finally{Jc.transition=t}};Te.unstable_act=Vm;Te.useCallback=function(e,t){return cr.current.useCallback(e,t)};Te.useContext=function(e){return cr.current.useContext(e)};Te.useDebugValue=function(){};Te.useDeferredValue=function(e){return cr.current.useDeferredValue(e)};Te.useEffect=function(e,t){return cr.current.useEffect(e,t)};Te.useId=function(){return cr.current.useId()};Te.useImperativeHandle=function(e,t,r){return cr.current.useImperativeHandle(e,t,r)};Te.useInsertionEffect=function(e,t){return cr.current.useInsertionEffect(e,t)};Te.useLayoutEffect=function(e,t){return cr.current.useLayoutEffect(e,t)};Te.useMemo=function(e,t){return cr.current.useMemo(e,t)};Te.useReducer=function(e,t,r){return cr.current.useReducer(e,t,r)};Te.useRef=function(e){return cr.current.useRef(e)};Te.useState=function(e){return cr.current.useState(e)};Te.useSyncExternalStore=function(e,t,r){return cr.current.useSyncExternalStore(e,t,r)};Te.useTransition=function(){return cr.current.useTransition()};Te.version="18.3.1"});var D=Cn((wS,Um)=>{"use strict";Um.exports=Wm()});var t4=Cn(Ge=>{"use strict";function y1(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,o=e[n];if(0<ed(o,t))e[n]=t,e[r]=o,r=n;else break e}}function wn(e){return e.length===0?null:e[0]}function rd(e){if(e.length===0)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length,i=o>>>1;n<i;){var a=2*(n+1)-1,s=e[a],l=a+1,c=e[l];if(0>ed(s,r))l<o&&0>ed(c,s)?(e[n]=c,e[l]=r,n=l):(e[n]=s,e[a]=r,n=a);else if(l<o&&0>ed(c,r))e[n]=c,e[l]=r,n=l;else break e}}return t}function ed(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(jm=performance,Ge.unstable_now=function(){return jm.now()}):(b1=Date,Gm=b1.now(),Ge.unstable_now=function(){return b1.now()-Gm});var jm,b1,Gm,Vn=[],Oo=[],lb=1,en=null,er=3,nd=!1,Li=!1,Ks=!1,Xm=typeof setTimeout=="function"?setTimeout:null,qm=typeof clearTimeout=="function"?clearTimeout:null,Zm=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x1(e){for(var t=wn(Oo);t!==null;){if(t.callback===null)rd(Oo);else if(t.startTime<=e)rd(Oo),t.sortIndex=t.expirationTime,y1(Vn,t);else break;t=wn(Oo)}}function C1(e){if(Ks=!1,x1(e),!Li)if(wn(Vn)!==null)Li=!0,S1(w1);else{var t=wn(Oo);t!==null&&E1(C1,t.startTime-e)}}function w1(e,t){Li=!1,Ks&&(Ks=!1,qm(zs),zs=-1),nd=!0;var r=er;try{for(x1(t),en=wn(Vn);en!==null&&(!(en.expirationTime>t)||e&&!e4());){var n=en.callback;if(typeof n=="function"){en.callback=null,er=en.priorityLevel;var o=n(en.expirationTime<=t);t=Ge.unstable_now(),typeof o=="function"?en.callback=o:en===wn(Vn)&&rd(Vn),x1(t)}else rd(Vn);en=wn(Vn)}if(en!==null)var i=!0;else{var a=wn(Oo);a!==null&&E1(C1,a.startTime-t),i=!1}return i}finally{en=null,er=r,nd=!1}}var od=!1,td=null,zs=-1,Qm=5,Jm=-1;function e4(){return!(Ge.unstable_now()-Jm<Qm)}function $1(){if(td!==null){var e=Ge.unstable_now();Jm=e;var t=!0;try{t=td(!0,e)}finally{t?Bs():(od=!1,td=null)}}else od=!1}var Bs;typeof Zm=="function"?Bs=function(){Zm($1)}:typeof MessageChannel<"u"?(v1=new MessageChannel,Ym=v1.port2,v1.port1.onmessage=$1,Bs=function(){Ym.postMessage(null)}):Bs=function(){Xm($1,0)};var v1,Ym;function S1(e){td=e,od||(od=!0,Bs())}function E1(e,t){zs=Xm(function(){e(Ge.unstable_now())},t)}Ge.unstable_IdlePriority=5;Ge.unstable_ImmediatePriority=1;Ge.unstable_LowPriority=4;Ge.unstable_NormalPriority=3;Ge.unstable_Profiling=null;Ge.unstable_UserBlockingPriority=2;Ge.unstable_cancelCallback=function(e){e.callback=null};Ge.unstable_continueExecution=function(){Li||nd||(Li=!0,S1(w1))};Ge.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Qm=0<e?Math.floor(1e3/e):5};Ge.unstable_getCurrentPriorityLevel=function(){return er};Ge.unstable_getFirstCallbackNode=function(){return wn(Vn)};Ge.unstable_next=function(e){switch(er){case 1:case 2:case 3:var t=3;break;default:t=er}var r=er;er=t;try{return e()}finally{er=r}};Ge.unstable_pauseExecution=function(){};Ge.unstable_requestPaint=function(){};Ge.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=er;er=e;try{return t()}finally{er=r}};Ge.unstable_scheduleCallback=function(e,t,r){var n=Ge.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?n+r:n):r=n,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=r+o,e={id:lb++,callback:t,priorityLevel:e,startTime:r,expirationTime:o,sortIndex:-1},r>n?(e.sortIndex=r,y1(Oo,e),wn(Vn)===null&&e===wn(Oo)&&(Ks?(qm(zs),zs=-1):Ks=!0,E1(C1,r-n))):(e.sortIndex=o,y1(Vn,e),Li||nd||(Li=!0,S1(w1))),e};Ge.unstable_shouldYield=e4;Ge.unstable_wrapCallback=function(e){var t=er;return function(){var r=er;er=t;try{return e.apply(this,arguments)}finally{er=r}}}});var n4=Cn((ES,r4)=>{"use strict";r4.exports=t4()});var s8=Cn(Vr=>{"use strict";var cb=D(),Kr=n4();function U(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 d5=new Set,dl={};function zi(e,t){Aa(e,t),Aa(e+"Capture",t)}function Aa(e,t){for(dl[e]=t,e=0;e<t.length;e++)d5.add(t[e])}var vo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Z1=Object.prototype.hasOwnProperty,db=/^[: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]*$/,o4={},i4={};function ub(e){return Z1.call(i4,e)?!0:Z1.call(o4,e)?!1:db.test(e)?i4[e]=!0:(o4[e]=!0,!1)}function fb(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 pb(e,t,r,n){if(t===null||typeof t>"u"||fb(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 fr(e,t,r,n,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Xt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Xt[e]=new fr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Xt[t]=new fr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Xt[e]=new fr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Xt[e]=new fr(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){Xt[e]=new fr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Xt[e]=new fr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Xt[e]=new fr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Xt[e]=new fr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Xt[e]=new fr(e,5,!1,e.toLowerCase(),null,!1,!1)});var Bp=/[\-:]([a-z])/g;function Kp(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(Bp,Kp);Xt[t]=new fr(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(Bp,Kp);Xt[t]=new fr(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(Bp,Kp);Xt[t]=new fr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Xt[e]=new fr(e,1,!1,e.toLowerCase(),null,!1,!1)});Xt.xlinkHref=new fr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Xt[e]=new fr(e,1,!1,e.toLowerCase(),null,!0,!0)});function zp(e,t,r,n){var o=Xt.hasOwnProperty(t)?Xt[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(pb(t,r,o,n)&&(r=null),n||o===null?ub(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=r===null?o.type===3?!1:"":r:(t=o.attributeName,n=o.attributeNamespace,r===null?e.removeAttribute(t):(o=o.type,r=o===3||o===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var wo=cb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,id=Symbol.for("react.element"),ya=Symbol.for("react.portal"),xa=Symbol.for("react.fragment"),Vp=Symbol.for("react.strict_mode"),Y1=Symbol.for("react.profiler"),u5=Symbol.for("react.provider"),f5=Symbol.for("react.context"),Wp=Symbol.for("react.forward_ref"),X1=Symbol.for("react.suspense"),q1=Symbol.for("react.suspense_list"),Up=Symbol.for("react.memo"),Ko=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var p5=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var a4=Symbol.iterator;function Vs(e){return e===null||typeof e!="object"?null:(e=a4&&e[a4]||e["@@iterator"],typeof e=="function"?e:null)}var dt=Object.assign,k1;function qs(e){if(k1===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);k1=t&&t[1]||""}return`
|
|
2
|
+
`+k1+e}var P1=!1;function T1(e,t){if(!e||P1)return"";P1=!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(c){var n=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){n=c}e.call(t.prototype)}else{try{throw Error()}catch(c){n=c}e()}}catch(c){if(c&&n&&typeof c.stack=="string"){for(var o=c.stack.split(`
|
|
3
|
+
`),i=n.stack.split(`
|
|
4
|
+
`),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(a!==1||s!==1)do if(a--,s--,0>s||o[a]!==i[s]){var l=`
|
|
5
|
+
`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{P1=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?qs(e):""}function mb(e){switch(e.tag){case 5:return qs(e.type);case 16:return qs("Lazy");case 13:return qs("Suspense");case 19:return qs("SuspenseList");case 0:case 2:case 15:return e=T1(e.type,!1),e;case 11:return e=T1(e.type.render,!1),e;case 1:return e=T1(e.type,!0),e;default:return""}}function Q1(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 xa:return"Fragment";case ya:return"Portal";case Y1:return"Profiler";case Vp:return"StrictMode";case X1:return"Suspense";case q1:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case f5:return(e.displayName||"Context")+".Consumer";case u5:return(e._context.displayName||"Context")+".Provider";case Wp:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Up:return t=e.displayName||null,t!==null?t:Q1(e.type)||"Memo";case Ko:t=e._payload,e=e._init;try{return Q1(e(t))}catch{}}return null}function hb(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Q1(t);case 8:return t===Vp?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ti(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function m5(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function gb(e){var t=m5(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 o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){n=""+a,i.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 ad(e){e._valueTracker||(e._valueTracker=gb(e))}function h5(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=m5(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Nd(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 J1(e,t){var r=t.checked;return dt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function s4(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ti(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 g5(e,t){t=t.checked,t!=null&&zp(e,"checked",t,!1)}function ep(e,t){g5(e,t);var r=ti(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")?tp(e,t.type,r):t.hasOwnProperty("defaultValue")&&tp(e,t.type,ti(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function l4(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 tp(e,t,r){(t!=="number"||Nd(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Qs=Array.isArray;function Ma(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+ti(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function rp(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(U(91));return dt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function c4(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(U(92));if(Qs(r)){if(1<r.length)throw Error(U(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:ti(r)}}function b5(e,t){var r=ti(t.value),n=ti(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 d4(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function $5(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 np(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?$5(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var sd,v5=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,o){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,o)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(sd=sd||document.createElement("div"),sd.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=sd.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ul(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var tl={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},bb=["Webkit","ms","Moz","O"];Object.keys(tl).forEach(function(e){bb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),tl[t]=tl[e]})});function y5(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||tl.hasOwnProperty(e)&&tl[e]?(""+t).trim():t+"px"}function x5(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=y5(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var $b=dt({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 op(e,t){if(t){if($b[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(U(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(U(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(U(61))}if(t.style!=null&&typeof t.style!="object")throw Error(U(62))}}function ip(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ap=null;function jp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var sp=null,Ia=null,Na=null;function u4(e){if(e=Ll(e)){if(typeof sp!="function")throw Error(U(280));var t=e.stateNode;t&&(t=lu(t),sp(e.stateNode,e.type,t))}}function C5(e){Ia?Na?Na.push(e):Na=[e]:Ia=e}function w5(){if(Ia){var e=Ia,t=Na;if(Na=Ia=null,u4(e),t)for(e=0;e<t.length;e++)u4(t[e])}}function S5(e,t){return e(t)}function E5(){}var L1=!1;function k5(e,t,r){if(L1)return e(t,r);L1=!0;try{return S5(e,t,r)}finally{L1=!1,(Ia!==null||Na!==null)&&(E5(),w5())}}function fl(e,t){var r=e.stateNode;if(r===null)return null;var n=lu(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(U(231,t,typeof r));return r}var lp=!1;if(vo)try{$a={},Object.defineProperty($a,"passive",{get:function(){lp=!0}}),window.addEventListener("test",$a,$a),window.removeEventListener("test",$a,$a)}catch{lp=!1}var $a;function vb(e,t,r,n,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(d){this.onError(d)}}var rl=!1,Dd=null,Fd=!1,cp=null,yb={onError:function(e){rl=!0,Dd=e}};function xb(e,t,r,n,o,i,a,s,l){rl=!1,Dd=null,vb.apply(yb,arguments)}function Cb(e,t,r,n,o,i,a,s,l){if(xb.apply(this,arguments),rl){if(rl){var c=Dd;rl=!1,Dd=null}else throw Error(U(198));Fd||(Fd=!0,cp=c)}}function Vi(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function P5(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 f4(e){if(Vi(e)!==e)throw Error(U(188))}function wb(e){var t=e.alternate;if(!t){if(t=Vi(e),t===null)throw Error(U(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(o===null)break;var i=o.alternate;if(i===null){if(n=o.return,n!==null){r=n;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===r)return f4(o),e;if(i===n)return f4(o),t;i=i.sibling}throw Error(U(188))}if(r.return!==n.return)r=o,n=i;else{for(var a=!1,s=o.child;s;){if(s===r){a=!0,r=o,n=i;break}if(s===n){a=!0,n=o,r=i;break}s=s.sibling}if(!a){for(s=i.child;s;){if(s===r){a=!0,r=i,n=o;break}if(s===n){a=!0,n=i,r=o;break}s=s.sibling}if(!a)throw Error(U(189))}}if(r.alternate!==n)throw Error(U(190))}if(r.tag!==3)throw Error(U(188));return r.stateNode.current===r?e:t}function T5(e){return e=wb(e),e!==null?L5(e):null}function L5(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=L5(e);if(t!==null)return t;e=e.sibling}return null}var R5=Kr.unstable_scheduleCallback,p4=Kr.unstable_cancelCallback,Sb=Kr.unstable_shouldYield,Eb=Kr.unstable_requestPaint,bt=Kr.unstable_now,kb=Kr.unstable_getCurrentPriorityLevel,Gp=Kr.unstable_ImmediatePriority,_5=Kr.unstable_UserBlockingPriority,Hd=Kr.unstable_NormalPriority,Pb=Kr.unstable_LowPriority,M5=Kr.unstable_IdlePriority,ou=null,Gn=null;function Tb(e){if(Gn&&typeof Gn.onCommitFiberRoot=="function")try{Gn.onCommitFiberRoot(ou,e,void 0,(e.current.flags&128)===128)}catch{}}var Tn=Math.clz32?Math.clz32:_b,Lb=Math.log,Rb=Math.LN2;function _b(e){return e>>>=0,e===0?32:31-(Lb(e)/Rb|0)|0}var ld=64,cd=4194304;function Js(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ad(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,i=e.pingedLanes,a=r&268435455;if(a!==0){var s=a&~o;s!==0?n=Js(s):(i&=a,i!==0&&(n=Js(i)))}else a=r&~o,a!==0?n=Js(a):i!==0&&(n=Js(i));if(n===0)return 0;if(t!==0&&t!==n&&(t&o)===0&&(o=n&-n,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((n&4)!==0&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-Tn(t),o=1<<r,n|=e[r],t&=~o;return n}function Mb(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ib(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-Tn(i),s=1<<a,l=o[a];l===-1?((s&r)===0||(s&n)!==0)&&(o[a]=Mb(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}function dp(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function I5(){var e=ld;return ld<<=1,(ld&4194240)===0&&(ld=64),e}function R1(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Pl(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Tn(t),e[t]=r}function Nb(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-Tn(r),i=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~i}}function Zp(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-Tn(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var Be=0;function N5(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var D5,Yp,F5,H5,A5,up=!1,dd=[],Go=null,Zo=null,Yo=null,pl=new Map,ml=new Map,Vo=[],Db="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 m4(e,t){switch(e){case"focusin":case"focusout":Go=null;break;case"dragenter":case"dragleave":Zo=null;break;case"mouseover":case"mouseout":Yo=null;break;case"pointerover":case"pointerout":pl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ml.delete(t.pointerId)}}function Ws(e,t,r,n,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Ll(t),t!==null&&Yp(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Fb(e,t,r,n,o){switch(t){case"focusin":return Go=Ws(Go,e,t,r,n,o),!0;case"dragenter":return Zo=Ws(Zo,e,t,r,n,o),!0;case"mouseover":return Yo=Ws(Yo,e,t,r,n,o),!0;case"pointerover":var i=o.pointerId;return pl.set(i,Ws(pl.get(i)||null,e,t,r,n,o)),!0;case"gotpointercapture":return i=o.pointerId,ml.set(i,Ws(ml.get(i)||null,e,t,r,n,o)),!0}return!1}function O5(e){var t=Mi(e.target);if(t!==null){var r=Vi(t);if(r!==null){if(t=r.tag,t===13){if(t=P5(r),t!==null){e.blockedOn=t,A5(e.priority,function(){F5(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Sd(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=fp(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);ap=n,r.target.dispatchEvent(n),ap=null}else return t=Ll(r),t!==null&&Yp(t),e.blockedOn=r,!1;t.shift()}return!0}function h4(e,t,r){Sd(e)&&r.delete(t)}function Hb(){up=!1,Go!==null&&Sd(Go)&&(Go=null),Zo!==null&&Sd(Zo)&&(Zo=null),Yo!==null&&Sd(Yo)&&(Yo=null),pl.forEach(h4),ml.forEach(h4)}function Us(e,t){e.blockedOn===t&&(e.blockedOn=null,up||(up=!0,Kr.unstable_scheduleCallback(Kr.unstable_NormalPriority,Hb)))}function hl(e){function t(o){return Us(o,e)}if(0<dd.length){Us(dd[0],e);for(var r=1;r<dd.length;r++){var n=dd[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Go!==null&&Us(Go,e),Zo!==null&&Us(Zo,e),Yo!==null&&Us(Yo,e),pl.forEach(t),ml.forEach(t),r=0;r<Vo.length;r++)n=Vo[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<Vo.length&&(r=Vo[0],r.blockedOn===null);)O5(r),r.blockedOn===null&&Vo.shift()}var Da=wo.ReactCurrentBatchConfig,Od=!0;function Ab(e,t,r,n){var o=Be,i=Da.transition;Da.transition=null;try{Be=1,Xp(e,t,r,n)}finally{Be=o,Da.transition=i}}function Ob(e,t,r,n){var o=Be,i=Da.transition;Da.transition=null;try{Be=4,Xp(e,t,r,n)}finally{Be=o,Da.transition=i}}function Xp(e,t,r,n){if(Od){var o=fp(e,t,r,n);if(o===null)H1(e,t,n,Bd,r),m4(e,n);else if(Fb(o,e,t,r,n))n.stopPropagation();else if(m4(e,n),t&4&&-1<Db.indexOf(e)){for(;o!==null;){var i=Ll(o);if(i!==null&&D5(i),i=fp(e,t,r,n),i===null&&H1(e,t,n,Bd,r),i===o)break;o=i}o!==null&&n.stopPropagation()}else H1(e,t,n,null,r)}}var Bd=null;function fp(e,t,r,n){if(Bd=null,e=jp(n),e=Mi(e),e!==null)if(t=Vi(e),t===null)e=null;else if(r=t.tag,r===13){if(e=P5(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Bd=e,null}function B5(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(kb()){case Gp:return 1;case _5:return 4;case Hd:case Pb:return 16;case M5:return 536870912;default:return 16}default:return 16}}var Uo=null,qp=null,Ed=null;function K5(){if(Ed)return Ed;var e,t=qp,r=t.length,n,o="value"in Uo?Uo.value:Uo.textContent,i=o.length;for(e=0;e<r&&t[e]===o[e];e++);var a=r-e;for(n=1;n<=a&&t[r-n]===o[i-n];n++);return Ed=o.slice(e,1<n?1-n:void 0)}function kd(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 ud(){return!0}function g4(){return!1}function zr(e){function t(r,n,o,i,a){this._reactName=r,this._targetInst=o,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(r=e[s],this[s]=r?r(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?ud:g4,this.isPropagationStopped=g4,this}return dt(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=ud)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=ud)},persist:function(){},isPersistent:ud}),t}var Ua={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qp=zr(Ua),Tl=dt({},Ua,{view:0,detail:0}),Bb=zr(Tl),_1,M1,js,iu=dt({},Tl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jp,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!==js&&(js&&e.type==="mousemove"?(_1=e.screenX-js.screenX,M1=e.screenY-js.screenY):M1=_1=0,js=e),_1)},movementY:function(e){return"movementY"in e?e.movementY:M1}}),b4=zr(iu),Kb=dt({},iu,{dataTransfer:0}),zb=zr(Kb),Vb=dt({},Tl,{relatedTarget:0}),I1=zr(Vb),Wb=dt({},Ua,{animationName:0,elapsedTime:0,pseudoElement:0}),Ub=zr(Wb),jb=dt({},Ua,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Gb=zr(jb),Zb=dt({},Ua,{data:0}),$4=zr(Zb),Yb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xb={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"},qb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Qb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=qb[e])?!!t[e]:!1}function Jp(){return Qb}var Jb=dt({},Tl,{key:function(e){if(e.key){var t=Yb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=kd(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Xb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jp,charCode:function(e){return e.type==="keypress"?kd(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?kd(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),e$=zr(Jb),t$=dt({},iu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),v4=zr(t$),r$=dt({},Tl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jp}),n$=zr(r$),o$=dt({},Ua,{propertyName:0,elapsedTime:0,pseudoElement:0}),i$=zr(o$),a$=dt({},iu,{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}),s$=zr(a$),l$=[9,13,27,32],e0=vo&&"CompositionEvent"in window,nl=null;vo&&"documentMode"in document&&(nl=document.documentMode);var c$=vo&&"TextEvent"in window&&!nl,z5=vo&&(!e0||nl&&8<nl&&11>=nl),y4=" ",x4=!1;function V5(e,t){switch(e){case"keyup":return l$.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function W5(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ca=!1;function d$(e,t){switch(e){case"compositionend":return W5(t);case"keypress":return t.which!==32?null:(x4=!0,y4);case"textInput":return e=t.data,e===y4&&x4?null:e;default:return null}}function u$(e,t){if(Ca)return e==="compositionend"||!e0&&V5(e,t)?(e=K5(),Ed=qp=Uo=null,Ca=!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 z5&&t.locale!=="ko"?null:t.data;default:return null}}var f$={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 C4(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!f$[e.type]:t==="textarea"}function U5(e,t,r,n){C5(n),t=Kd(t,"onChange"),0<t.length&&(r=new Qp("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var ol=null,gl=null;function p$(e){r6(e,0)}function au(e){var t=Ea(e);if(h5(t))return e}function m$(e,t){if(e==="change")return t}var j5=!1;vo&&(vo?(pd="oninput"in document,pd||(N1=document.createElement("div"),N1.setAttribute("oninput","return;"),pd=typeof N1.oninput=="function"),fd=pd):fd=!1,j5=fd&&(!document.documentMode||9<document.documentMode));var fd,pd,N1;function w4(){ol&&(ol.detachEvent("onpropertychange",G5),gl=ol=null)}function G5(e){if(e.propertyName==="value"&&au(gl)){var t=[];U5(t,gl,e,jp(e)),k5(p$,t)}}function h$(e,t,r){e==="focusin"?(w4(),ol=t,gl=r,ol.attachEvent("onpropertychange",G5)):e==="focusout"&&w4()}function g$(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return au(gl)}function b$(e,t){if(e==="click")return au(t)}function $$(e,t){if(e==="input"||e==="change")return au(t)}function v$(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Rn=typeof Object.is=="function"?Object.is:v$;function bl(e,t){if(Rn(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++){var o=r[n];if(!Z1.call(t,o)||!Rn(e[o],t[o]))return!1}return!0}function S4(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function E4(e,t){var r=S4(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=S4(r)}}function Z5(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Z5(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Y5(){for(var e=window,t=Nd();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Nd(e.document)}return t}function t0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function y$(e){var t=Y5(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&Z5(r.ownerDocument.documentElement,r)){if(n!==null&&t0(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,i=Math.min(n.start,o);n=n.end===void 0?i:Math.min(n.end,o),!e.extend&&i>n&&(o=n,n=i,i=o),o=E4(r,i);var a=E4(r,n);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var x$=vo&&"documentMode"in document&&11>=document.documentMode,wa=null,pp=null,il=null,mp=!1;function k4(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;mp||wa==null||wa!==Nd(n)||(n=wa,"selectionStart"in n&&t0(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}),il&&bl(il,n)||(il=n,n=Kd(pp,"onSelect"),0<n.length&&(t=new Qp("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=wa)))}function md(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Sa={animationend:md("Animation","AnimationEnd"),animationiteration:md("Animation","AnimationIteration"),animationstart:md("Animation","AnimationStart"),transitionend:md("Transition","TransitionEnd")},D1={},X5={};vo&&(X5=document.createElement("div").style,"AnimationEvent"in window||(delete Sa.animationend.animation,delete Sa.animationiteration.animation,delete Sa.animationstart.animation),"TransitionEvent"in window||delete Sa.transitionend.transition);function su(e){if(D1[e])return D1[e];if(!Sa[e])return e;var t=Sa[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in X5)return D1[e]=t[r];return e}var q5=su("animationend"),Q5=su("animationiteration"),J5=su("animationstart"),e6=su("transitionend"),t6=new Map,P4="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ni(e,t){t6.set(e,t),zi(t,[e])}for(hd=0;hd<P4.length;hd++)gd=P4[hd],T4=gd.toLowerCase(),L4=gd[0].toUpperCase()+gd.slice(1),ni(T4,"on"+L4);var gd,T4,L4,hd;ni(q5,"onAnimationEnd");ni(Q5,"onAnimationIteration");ni(J5,"onAnimationStart");ni("dblclick","onDoubleClick");ni("focusin","onFocus");ni("focusout","onBlur");ni(e6,"onTransitionEnd");Aa("onMouseEnter",["mouseout","mouseover"]);Aa("onMouseLeave",["mouseout","mouseover"]);Aa("onPointerEnter",["pointerout","pointerover"]);Aa("onPointerLeave",["pointerout","pointerover"]);zi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));zi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));zi("onBeforeInput",["compositionend","keypress","textInput","paste"]);zi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));zi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));zi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var el="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),C$=new Set("cancel close invalid load scroll toggle".split(" ").concat(el));function R4(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,Cb(n,t,void 0,e),e.currentTarget=null}function r6(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var a=n.length-1;0<=a;a--){var s=n[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;R4(o,s,c),i=l}else for(a=0;a<n.length;a++){if(s=n[a],l=s.instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;R4(o,s,c),i=l}}}if(Fd)throw e=cp,Fd=!1,cp=null,e}function Qe(e,t){var r=t[vp];r===void 0&&(r=t[vp]=new Set);var n=e+"__bubble";r.has(n)||(n6(t,e,2,!1),r.add(n))}function F1(e,t,r){var n=0;t&&(n|=4),n6(r,e,n,t)}var bd="_reactListening"+Math.random().toString(36).slice(2);function $l(e){if(!e[bd]){e[bd]=!0,d5.forEach(function(r){r!=="selectionchange"&&(C$.has(r)||F1(r,!1,e),F1(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[bd]||(t[bd]=!0,F1("selectionchange",!1,t))}}function n6(e,t,r,n){switch(B5(t)){case 1:var o=Ab;break;case 4:o=Ob;break;default:o=Xp}r=o.bind(null,t,r,e),o=void 0,!lp||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),n?o!==void 0?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):o!==void 0?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function H1(e,t,r,n,o){var i=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var a=n.tag;if(a===3||a===4){var s=n.stateNode.containerInfo;if(s===o||s.nodeType===8&&s.parentNode===o)break;if(a===4)for(a=n.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;a=a.return}for(;s!==null;){if(a=Mi(s),a===null)return;if(l=a.tag,l===5||l===6){n=i=a;continue e}s=s.parentNode}}n=n.return}k5(function(){var c=i,d=jp(r),u=[];e:{var p=t6.get(e);if(p!==void 0){var b=Qp,g=e;switch(e){case"keypress":if(kd(r)===0)break e;case"keydown":case"keyup":b=e$;break;case"focusin":g="focus",b=I1;break;case"focusout":g="blur",b=I1;break;case"beforeblur":case"afterblur":b=I1;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":b=b4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=zb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=n$;break;case q5:case Q5:case J5:b=Ub;break;case e6:b=i$;break;case"scroll":b=Bb;break;case"wheel":b=s$;break;case"copy":case"cut":case"paste":b=Gb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=v4}var y=(t&4)!==0,$=!y&&e==="scroll",m=y?p!==null?p+"Capture":null:p;y=[];for(var f=c,h;f!==null;){h=f;var v=h.stateNode;if(h.tag===5&&v!==null&&(h=v,m!==null&&(v=fl(f,m),v!=null&&y.push(vl(f,v,h)))),$)break;f=f.return}0<y.length&&(p=new b(p,g,null,r,d),u.push({event:p,listeners:y}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",b=e==="mouseout"||e==="pointerout",p&&r!==ap&&(g=r.relatedTarget||r.fromElement)&&(Mi(g)||g[yo]))break e;if((b||p)&&(p=d.window===d?d:(p=d.ownerDocument)?p.defaultView||p.parentWindow:window,b?(g=r.relatedTarget||r.toElement,b=c,g=g?Mi(g):null,g!==null&&($=Vi(g),g!==$||g.tag!==5&&g.tag!==6)&&(g=null)):(b=null,g=c),b!==g)){if(y=b4,v="onMouseLeave",m="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(y=v4,v="onPointerLeave",m="onPointerEnter",f="pointer"),$=b==null?p:Ea(b),h=g==null?p:Ea(g),p=new y(v,f+"leave",b,r,d),p.target=$,p.relatedTarget=h,v=null,Mi(d)===c&&(y=new y(m,f+"enter",g,r,d),y.target=h,y.relatedTarget=$,v=y),$=v,b&&g)t:{for(y=b,m=g,f=0,h=y;h;h=va(h))f++;for(h=0,v=m;v;v=va(v))h++;for(;0<f-h;)y=va(y),f--;for(;0<h-f;)m=va(m),h--;for(;f--;){if(y===m||m!==null&&y===m.alternate)break t;y=va(y),m=va(m)}y=null}else y=null;b!==null&&_4(u,p,b,y,!1),g!==null&&$!==null&&_4(u,$,g,y,!0)}}e:{if(p=c?Ea(c):window,b=p.nodeName&&p.nodeName.toLowerCase(),b==="select"||b==="input"&&p.type==="file")var x=m$;else if(C4(p))if(j5)x=$$;else{x=g$;var w=h$}else(b=p.nodeName)&&b.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(x=b$);if(x&&(x=x(e,c))){U5(u,x,r,d);break e}w&&w(e,p,c),e==="focusout"&&(w=p._wrapperState)&&w.controlled&&p.type==="number"&&tp(p,"number",p.value)}switch(w=c?Ea(c):window,e){case"focusin":(C4(w)||w.contentEditable==="true")&&(wa=w,pp=c,il=null);break;case"focusout":il=pp=wa=null;break;case"mousedown":mp=!0;break;case"contextmenu":case"mouseup":case"dragend":mp=!1,k4(u,r,d);break;case"selectionchange":if(x$)break;case"keydown":case"keyup":k4(u,r,d)}var P;if(e0)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else Ca?V5(e,r)&&(k="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(k="onCompositionStart");k&&(z5&&r.locale!=="ko"&&(Ca||k!=="onCompositionStart"?k==="onCompositionEnd"&&Ca&&(P=K5()):(Uo=d,qp="value"in Uo?Uo.value:Uo.textContent,Ca=!0)),w=Kd(c,k),0<w.length&&(k=new $4(k,e,null,r,d),u.push({event:k,listeners:w}),P?k.data=P:(P=W5(r),P!==null&&(k.data=P)))),(P=c$?d$(e,r):u$(e,r))&&(c=Kd(c,"onBeforeInput"),0<c.length&&(d=new $4("onBeforeInput","beforeinput",null,r,d),u.push({event:d,listeners:c}),d.data=P))}r6(u,t)})}function vl(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Kd(e,t){for(var r=t+"Capture",n=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=fl(e,r),i!=null&&n.unshift(vl(e,i,o)),i=fl(e,t),i!=null&&n.push(vl(e,i,o))),e=e.return}return n}function va(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function _4(e,t,r,n,o){for(var i=t._reactName,a=[];r!==null&&r!==n;){var s=r,l=s.alternate,c=s.stateNode;if(l!==null&&l===n)break;s.tag===5&&c!==null&&(s=c,o?(l=fl(r,i),l!=null&&a.unshift(vl(r,l,s))):o||(l=fl(r,i),l!=null&&a.push(vl(r,l,s)))),r=r.return}a.length!==0&&e.push({event:t,listeners:a})}var w$=/\r\n?/g,S$=/\u0000|\uFFFD/g;function M4(e){return(typeof e=="string"?e:""+e).replace(w$,`
|
|
6
|
+
`).replace(S$,"")}function $d(e,t,r){if(t=M4(t),M4(e)!==t&&r)throw Error(U(425))}function zd(){}var hp=null,gp=null;function bp(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var $p=typeof setTimeout=="function"?setTimeout:void 0,E$=typeof clearTimeout=="function"?clearTimeout:void 0,I4=typeof Promise=="function"?Promise:void 0,k$=typeof queueMicrotask=="function"?queueMicrotask:typeof I4<"u"?function(e){return I4.resolve(null).then(e).catch(P$)}:$p;function P$(e){setTimeout(function(){throw e})}function A1(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(n===0){e.removeChild(o),hl(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);hl(t)}function Xo(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function N4(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 ja=Math.random().toString(36).slice(2),jn="__reactFiber$"+ja,yl="__reactProps$"+ja,yo="__reactContainer$"+ja,vp="__reactEvents$"+ja,T$="__reactListeners$"+ja,L$="__reactHandles$"+ja;function Mi(e){var t=e[jn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[yo]||r[jn]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=N4(e);e!==null;){if(r=e[jn])return r;e=N4(e)}return t}e=r,r=e.parentNode}return null}function Ll(e){return e=e[jn]||e[yo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ea(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(U(33))}function lu(e){return e[yl]||null}var yp=[],ka=-1;function oi(e){return{current:e}}function Je(e){0>ka||(e.current=yp[ka],yp[ka]=null,ka--)}function Ze(e,t){ka++,yp[ka]=e.current,e.current=t}var ri={},or=oi(ri),Pr=oi(!1),Hi=ri;function Oa(e,t){var r=e.type.contextTypes;if(!r)return ri;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in r)o[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Tr(e){return e=e.childContextTypes,e!=null}function Vd(){Je(Pr),Je(or)}function D4(e,t,r){if(or.current!==ri)throw Error(U(168));Ze(or,t),Ze(Pr,r)}function o6(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(U(108,hb(e)||"Unknown",o));return dt({},r,n)}function Wd(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ri,Hi=or.current,Ze(or,e),Ze(Pr,Pr.current),!0}function F4(e,t,r){var n=e.stateNode;if(!n)throw Error(U(169));r?(e=o6(e,t,Hi),n.__reactInternalMemoizedMergedChildContext=e,Je(Pr),Je(or),Ze(or,e)):Je(Pr),Ze(Pr,r)}var ho=null,cu=!1,O1=!1;function i6(e){ho===null?ho=[e]:ho.push(e)}function R$(e){cu=!0,i6(e)}function ii(){if(!O1&&ho!==null){O1=!0;var e=0,t=Be;try{var r=ho;for(Be=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}ho=null,cu=!1}catch(o){throw ho!==null&&(ho=ho.slice(e+1)),R5(Gp,ii),o}finally{Be=t,O1=!1}}return null}var Pa=[],Ta=0,Ud=null,jd=0,tn=[],rn=0,Ai=null,go=1,bo="";function Ri(e,t){Pa[Ta++]=jd,Pa[Ta++]=Ud,Ud=e,jd=t}function a6(e,t,r){tn[rn++]=go,tn[rn++]=bo,tn[rn++]=Ai,Ai=e;var n=go;e=bo;var o=32-Tn(n)-1;n&=~(1<<o),r+=1;var i=32-Tn(t)+o;if(30<i){var a=o-o%5;i=(n&(1<<a)-1).toString(32),n>>=a,o-=a,go=1<<32-Tn(t)+o|r<<o|n,bo=i+e}else go=1<<i|r<<o|n,bo=e}function r0(e){e.return!==null&&(Ri(e,1),a6(e,1,0))}function n0(e){for(;e===Ud;)Ud=Pa[--Ta],Pa[Ta]=null,jd=Pa[--Ta],Pa[Ta]=null;for(;e===Ai;)Ai=tn[--rn],tn[rn]=null,bo=tn[--rn],tn[rn]=null,go=tn[--rn],tn[rn]=null}var Br=null,Or=null,tt=!1,Pn=null;function s6(e,t){var r=nn(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function H4(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,Br=e,Or=Xo(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Br=e,Or=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=Ai!==null?{id:go,overflow:bo}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=nn(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Br=e,Or=null,!0):!1;default:return!1}}function xp(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Cp(e){if(tt){var t=Or;if(t){var r=t;if(!H4(e,t)){if(xp(e))throw Error(U(418));t=Xo(r.nextSibling);var n=Br;t&&H4(e,t)?s6(n,r):(e.flags=e.flags&-4097|2,tt=!1,Br=e)}}else{if(xp(e))throw Error(U(418));e.flags=e.flags&-4097|2,tt=!1,Br=e}}}function A4(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Br=e}function vd(e){if(e!==Br)return!1;if(!tt)return A4(e),tt=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!bp(e.type,e.memoizedProps)),t&&(t=Or)){if(xp(e))throw l6(),Error(U(418));for(;t;)s6(e,t),t=Xo(t.nextSibling)}if(A4(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(U(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Or=Xo(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Or=null}}else Or=Br?Xo(e.stateNode.nextSibling):null;return!0}function l6(){for(var e=Or;e;)e=Xo(e.nextSibling)}function Ba(){Or=Br=null,tt=!1}function o0(e){Pn===null?Pn=[e]:Pn.push(e)}var _$=wo.ReactCurrentBatchConfig;function Gs(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(U(309));var n=r.stateNode}if(!n)throw Error(U(147,e));var o=n,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var s=o.refs;a===null?delete s[i]:s[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(U(284));if(!r._owner)throw Error(U(290,e))}return e}function yd(e,t){throw e=Object.prototype.toString.call(t),Error(U(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function O4(e){var t=e._init;return t(e._payload)}function c6(e){function t(m,f){if(e){var h=m.deletions;h===null?(m.deletions=[f],m.flags|=16):h.push(f)}}function r(m,f){if(!e)return null;for(;f!==null;)t(m,f),f=f.sibling;return null}function n(m,f){for(m=new Map;f!==null;)f.key!==null?m.set(f.key,f):m.set(f.index,f),f=f.sibling;return m}function o(m,f){return m=ei(m,f),m.index=0,m.sibling=null,m}function i(m,f,h){return m.index=h,e?(h=m.alternate,h!==null?(h=h.index,h<f?(m.flags|=2,f):h):(m.flags|=2,f)):(m.flags|=1048576,f)}function a(m){return e&&m.alternate===null&&(m.flags|=2),m}function s(m,f,h,v){return f===null||f.tag!==6?(f=j1(h,m.mode,v),f.return=m,f):(f=o(f,h),f.return=m,f)}function l(m,f,h,v){var x=h.type;return x===xa?d(m,f,h.props.children,v,h.key):f!==null&&(f.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Ko&&O4(x)===f.type)?(v=o(f,h.props),v.ref=Gs(m,f,h),v.return=m,v):(v=Id(h.type,h.key,h.props,null,m.mode,v),v.ref=Gs(m,f,h),v.return=m,v)}function c(m,f,h,v){return f===null||f.tag!==4||f.stateNode.containerInfo!==h.containerInfo||f.stateNode.implementation!==h.implementation?(f=G1(h,m.mode,v),f.return=m,f):(f=o(f,h.children||[]),f.return=m,f)}function d(m,f,h,v,x){return f===null||f.tag!==7?(f=Fi(h,m.mode,v,x),f.return=m,f):(f=o(f,h),f.return=m,f)}function u(m,f,h){if(typeof f=="string"&&f!==""||typeof f=="number")return f=j1(""+f,m.mode,h),f.return=m,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case id:return h=Id(f.type,f.key,f.props,null,m.mode,h),h.ref=Gs(m,null,f),h.return=m,h;case ya:return f=G1(f,m.mode,h),f.return=m,f;case Ko:var v=f._init;return u(m,v(f._payload),h)}if(Qs(f)||Vs(f))return f=Fi(f,m.mode,h,null),f.return=m,f;yd(m,f)}return null}function p(m,f,h,v){var x=f!==null?f.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return x!==null?null:s(m,f,""+h,v);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case id:return h.key===x?l(m,f,h,v):null;case ya:return h.key===x?c(m,f,h,v):null;case Ko:return x=h._init,p(m,f,x(h._payload),v)}if(Qs(h)||Vs(h))return x!==null?null:d(m,f,h,v,null);yd(m,h)}return null}function b(m,f,h,v,x){if(typeof v=="string"&&v!==""||typeof v=="number")return m=m.get(h)||null,s(f,m,""+v,x);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case id:return m=m.get(v.key===null?h:v.key)||null,l(f,m,v,x);case ya:return m=m.get(v.key===null?h:v.key)||null,c(f,m,v,x);case Ko:var w=v._init;return b(m,f,h,w(v._payload),x)}if(Qs(v)||Vs(v))return m=m.get(h)||null,d(f,m,v,x,null);yd(f,v)}return null}function g(m,f,h,v){for(var x=null,w=null,P=f,k=f=0,T=null;P!==null&&k<h.length;k++){P.index>k?(T=P,P=null):T=P.sibling;var E=p(m,P,h[k],v);if(E===null){P===null&&(P=T);break}e&&P&&E.alternate===null&&t(m,P),f=i(E,f,k),w===null?x=E:w.sibling=E,w=E,P=T}if(k===h.length)return r(m,P),tt&&Ri(m,k),x;if(P===null){for(;k<h.length;k++)P=u(m,h[k],v),P!==null&&(f=i(P,f,k),w===null?x=P:w.sibling=P,w=P);return tt&&Ri(m,k),x}for(P=n(m,P);k<h.length;k++)T=b(P,m,k,h[k],v),T!==null&&(e&&T.alternate!==null&&P.delete(T.key===null?k:T.key),f=i(T,f,k),w===null?x=T:w.sibling=T,w=T);return e&&P.forEach(function(F){return t(m,F)}),tt&&Ri(m,k),x}function y(m,f,h,v){var x=Vs(h);if(typeof x!="function")throw Error(U(150));if(h=x.call(h),h==null)throw Error(U(151));for(var w=x=null,P=f,k=f=0,T=null,E=h.next();P!==null&&!E.done;k++,E=h.next()){P.index>k?(T=P,P=null):T=P.sibling;var F=p(m,P,E.value,v);if(F===null){P===null&&(P=T);break}e&&P&&F.alternate===null&&t(m,P),f=i(F,f,k),w===null?x=F:w.sibling=F,w=F,P=T}if(E.done)return r(m,P),tt&&Ri(m,k),x;if(P===null){for(;!E.done;k++,E=h.next())E=u(m,E.value,v),E!==null&&(f=i(E,f,k),w===null?x=E:w.sibling=E,w=E);return tt&&Ri(m,k),x}for(P=n(m,P);!E.done;k++,E=h.next())E=b(P,m,k,E.value,v),E!==null&&(e&&E.alternate!==null&&P.delete(E.key===null?k:E.key),f=i(E,f,k),w===null?x=E:w.sibling=E,w=E);return e&&P.forEach(function(_){return t(m,_)}),tt&&Ri(m,k),x}function $(m,f,h,v){if(typeof h=="object"&&h!==null&&h.type===xa&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case id:e:{for(var x=h.key,w=f;w!==null;){if(w.key===x){if(x=h.type,x===xa){if(w.tag===7){r(m,w.sibling),f=o(w,h.props.children),f.return=m,m=f;break e}}else if(w.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Ko&&O4(x)===w.type){r(m,w.sibling),f=o(w,h.props),f.ref=Gs(m,w,h),f.return=m,m=f;break e}r(m,w);break}else t(m,w);w=w.sibling}h.type===xa?(f=Fi(h.props.children,m.mode,v,h.key),f.return=m,m=f):(v=Id(h.type,h.key,h.props,null,m.mode,v),v.ref=Gs(m,f,h),v.return=m,m=v)}return a(m);case ya:e:{for(w=h.key;f!==null;){if(f.key===w)if(f.tag===4&&f.stateNode.containerInfo===h.containerInfo&&f.stateNode.implementation===h.implementation){r(m,f.sibling),f=o(f,h.children||[]),f.return=m,m=f;break e}else{r(m,f);break}else t(m,f);f=f.sibling}f=G1(h,m.mode,v),f.return=m,m=f}return a(m);case Ko:return w=h._init,$(m,f,w(h._payload),v)}if(Qs(h))return g(m,f,h,v);if(Vs(h))return y(m,f,h,v);yd(m,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,f!==null&&f.tag===6?(r(m,f.sibling),f=o(f,h),f.return=m,m=f):(r(m,f),f=j1(h,m.mode,v),f.return=m,m=f),a(m)):r(m,f)}return $}var Ka=c6(!0),d6=c6(!1),Gd=oi(null),Zd=null,La=null,i0=null;function a0(){i0=La=Zd=null}function s0(e){var t=Gd.current;Je(Gd),e._currentValue=t}function wp(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Fa(e,t){Zd=e,i0=La=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(kr=!0),e.firstContext=null)}function an(e){var t=e._currentValue;if(i0!==e)if(e={context:e,memoizedValue:t,next:null},La===null){if(Zd===null)throw Error(U(308));La=e,Zd.dependencies={lanes:0,firstContext:e}}else La=La.next=e;return t}var Ii=null;function l0(e){Ii===null?Ii=[e]:Ii.push(e)}function u6(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,l0(t)):(r.next=o.next,o.next=r),t.interleaved=r,xo(e,n)}function xo(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}var zo=!1;function c0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function f6(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 $o(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function qo(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(Ne&2)!==0){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,xo(e,r)}return o=n.interleaved,o===null?(t.next=t,l0(n)):(t.next=o.next,o.next=t),n.interleaved=t,xo(e,r)}function Pd(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Zp(e,r)}}function B4(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,i=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};i===null?o=i=a:i=i.next=a,r=r.next}while(r!==null);i===null?o=i=t:i=i.next=t}else o=i=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:i,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 Yd(e,t,r,n){var o=e.updateQueue;zo=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?i=c:a.next=c,a=l;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==a&&(s===null?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l))}if(i!==null){var u=o.baseState;a=0,d=c=l=null,s=i;do{var p=s.lane,b=s.eventTime;if((n&p)===p){d!==null&&(d=d.next={eventTime:b,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,y=s;switch(p=t,b=r,y.tag){case 1:if(g=y.payload,typeof g=="function"){u=g.call(b,u,p);break e}u=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,p=typeof g=="function"?g.call(b,u,p):g,p==null)break e;u=dt({},u,p);break e;case 2:zo=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[s]:p.push(s))}else b={eventTime:b,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=b,l=u):d=d.next=b,a|=p;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;p=s,s=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(d===null&&(l=u),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Bi|=a,e.lanes=a,e.memoizedState=u}}function K4(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(o!==null){if(n.callback=null,n=r,typeof o!="function")throw Error(U(191,o));o.call(n)}}}var Rl={},Zn=oi(Rl),xl=oi(Rl),Cl=oi(Rl);function Ni(e){if(e===Rl)throw Error(U(174));return e}function d0(e,t){switch(Ze(Cl,t),Ze(xl,e),Ze(Zn,Rl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:np(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=np(t,e)}Je(Zn),Ze(Zn,t)}function za(){Je(Zn),Je(xl),Je(Cl)}function p6(e){Ni(Cl.current);var t=Ni(Zn.current),r=np(t,e.type);t!==r&&(Ze(xl,e),Ze(Zn,r))}function u0(e){xl.current===e&&(Je(Zn),Je(xl))}var lt=oi(0);function Xd(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&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var B1=[];function f0(){for(var e=0;e<B1.length;e++)B1[e]._workInProgressVersionPrimary=null;B1.length=0}var Td=wo.ReactCurrentDispatcher,K1=wo.ReactCurrentBatchConfig,Oi=0,ct=null,Mt=null,At=null,qd=!1,al=!1,wl=0,M$=0;function tr(){throw Error(U(321))}function p0(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Rn(e[r],t[r]))return!1;return!0}function m0(e,t,r,n,o,i){if(Oi=i,ct=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Td.current=e===null||e.memoizedState===null?F$:H$,e=r(n,o),al){i=0;do{if(al=!1,wl=0,25<=i)throw Error(U(301));i+=1,At=Mt=null,t.updateQueue=null,Td.current=A$,e=r(n,o)}while(al)}if(Td.current=Qd,t=Mt!==null&&Mt.next!==null,Oi=0,At=Mt=ct=null,qd=!1,t)throw Error(U(300));return e}function h0(){var e=wl!==0;return wl=0,e}function Un(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return At===null?ct.memoizedState=At=e:At=At.next=e,At}function sn(){if(Mt===null){var e=ct.alternate;e=e!==null?e.memoizedState:null}else e=Mt.next;var t=At===null?ct.memoizedState:At.next;if(t!==null)At=t,Mt=e;else{if(e===null)throw Error(U(310));Mt=e,e={memoizedState:Mt.memoizedState,baseState:Mt.baseState,baseQueue:Mt.baseQueue,queue:Mt.queue,next:null},At===null?ct.memoizedState=At=e:At=At.next=e}return At}function Sl(e,t){return typeof t=="function"?t(e):t}function z1(e){var t=sn(),r=t.queue;if(r===null)throw Error(U(311));r.lastRenderedReducer=e;var n=Mt,o=n.baseQueue,i=r.pending;if(i!==null){if(o!==null){var a=o.next;o.next=i.next,i.next=a}n.baseQueue=o=i,r.pending=null}if(o!==null){i=o.next,n=n.baseState;var s=a=null,l=null,c=i;do{var d=c.lane;if((Oi&d)===d)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),n=c.hasEagerState?c.eagerState:e(n,c.action);else{var u={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(s=l=u,a=n):l=l.next=u,ct.lanes|=d,Bi|=d}c=c.next}while(c!==null&&c!==i);l===null?a=n:l.next=s,Rn(n,t.memoizedState)||(kr=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=l,r.lastRenderedState=n}if(e=r.interleaved,e!==null){o=e;do i=o.lane,ct.lanes|=i,Bi|=i,o=o.next;while(o!==e)}else o===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function V1(e){var t=sn(),r=t.queue;if(r===null)throw Error(U(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,i=t.memoizedState;if(o!==null){r.pending=null;var a=o=o.next;do i=e(i,a.action),a=a.next;while(a!==o);Rn(i,t.memoizedState)||(kr=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),r.lastRenderedState=i}return[i,n]}function m6(){}function h6(e,t){var r=ct,n=sn(),o=t(),i=!Rn(n.memoizedState,o);if(i&&(n.memoizedState=o,kr=!0),n=n.queue,g0($6.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||At!==null&&At.memoizedState.tag&1){if(r.flags|=2048,El(9,b6.bind(null,r,n,o,t),void 0,null),Ot===null)throw Error(U(349));(Oi&30)!==0||g6(r,t,o)}return o}function g6(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=ct.updateQueue,t===null?(t={lastEffect:null,stores:null},ct.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function b6(e,t,r,n){t.value=r,t.getSnapshot=n,v6(t)&&y6(e)}function $6(e,t,r){return r(function(){v6(t)&&y6(e)})}function v6(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Rn(e,r)}catch{return!0}}function y6(e){var t=xo(e,1);t!==null&&Ln(t,e,1,-1)}function z4(e){var t=Un();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Sl,lastRenderedState:e},t.queue=e,e=e.dispatch=D$.bind(null,ct,e),[t.memoizedState,e]}function El(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=ct.updateQueue,t===null?(t={lastEffect:null,stores:null},ct.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 x6(){return sn().memoizedState}function Ld(e,t,r,n){var o=Un();ct.flags|=e,o.memoizedState=El(1|t,r,void 0,n===void 0?null:n)}function du(e,t,r,n){var o=sn();n=n===void 0?null:n;var i=void 0;if(Mt!==null){var a=Mt.memoizedState;if(i=a.destroy,n!==null&&p0(n,a.deps)){o.memoizedState=El(t,r,i,n);return}}ct.flags|=e,o.memoizedState=El(1|t,r,i,n)}function V4(e,t){return Ld(8390656,8,e,t)}function g0(e,t){return du(2048,8,e,t)}function C6(e,t){return du(4,2,e,t)}function w6(e,t){return du(4,4,e,t)}function S6(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 E6(e,t,r){return r=r!=null?r.concat([e]):null,du(4,4,S6.bind(null,t,e),r)}function b0(){}function k6(e,t){var r=sn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&p0(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function P6(e,t){var r=sn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&p0(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function T6(e,t,r){return(Oi&21)===0?(e.baseState&&(e.baseState=!1,kr=!0),e.memoizedState=r):(Rn(r,t)||(r=I5(),ct.lanes|=r,Bi|=r,e.baseState=!0),t)}function I$(e,t){var r=Be;Be=r!==0&&4>r?r:4,e(!0);var n=K1.transition;K1.transition={};try{e(!1),t()}finally{Be=r,K1.transition=n}}function L6(){return sn().memoizedState}function N$(e,t,r){var n=Jo(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},R6(e))_6(t,r);else if(r=u6(e,t,r,n),r!==null){var o=ur();Ln(r,e,n,o),M6(r,t,n)}}function D$(e,t,r){var n=Jo(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(R6(e))_6(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,r);if(o.hasEagerState=!0,o.eagerState=s,Rn(s,a)){var l=t.interleaved;l===null?(o.next=o,l0(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}r=u6(e,t,o,n),r!==null&&(o=ur(),Ln(r,e,n,o),M6(r,t,n))}}function R6(e){var t=e.alternate;return e===ct||t!==null&&t===ct}function _6(e,t){al=qd=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function M6(e,t,r){if((r&4194240)!==0){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Zp(e,r)}}var Qd={readContext:an,useCallback:tr,useContext:tr,useEffect:tr,useImperativeHandle:tr,useInsertionEffect:tr,useLayoutEffect:tr,useMemo:tr,useReducer:tr,useRef:tr,useState:tr,useDebugValue:tr,useDeferredValue:tr,useTransition:tr,useMutableSource:tr,useSyncExternalStore:tr,useId:tr,unstable_isNewReconciler:!1},F$={readContext:an,useCallback:function(e,t){return Un().memoizedState=[e,t===void 0?null:t],e},useContext:an,useEffect:V4,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Ld(4194308,4,S6.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Ld(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ld(4,2,e,t)},useMemo:function(e,t){var r=Un();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Un();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=N$.bind(null,ct,e),[n.memoizedState,e]},useRef:function(e){var t=Un();return e={current:e},t.memoizedState=e},useState:z4,useDebugValue:b0,useDeferredValue:function(e){return Un().memoizedState=e},useTransition:function(){var e=z4(!1),t=e[0];return e=I$.bind(null,e[1]),Un().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ct,o=Un();if(tt){if(r===void 0)throw Error(U(407));r=r()}else{if(r=t(),Ot===null)throw Error(U(349));(Oi&30)!==0||g6(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,V4($6.bind(null,n,i,e),[e]),n.flags|=2048,El(9,b6.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=Un(),t=Ot.identifierPrefix;if(tt){var r=bo,n=go;r=(n&~(1<<32-Tn(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=wl++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=M$++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},H$={readContext:an,useCallback:k6,useContext:an,useEffect:g0,useImperativeHandle:E6,useInsertionEffect:C6,useLayoutEffect:w6,useMemo:P6,useReducer:z1,useRef:x6,useState:function(){return z1(Sl)},useDebugValue:b0,useDeferredValue:function(e){var t=sn();return T6(t,Mt.memoizedState,e)},useTransition:function(){var e=z1(Sl)[0],t=sn().memoizedState;return[e,t]},useMutableSource:m6,useSyncExternalStore:h6,useId:L6,unstable_isNewReconciler:!1},A$={readContext:an,useCallback:k6,useContext:an,useEffect:g0,useImperativeHandle:E6,useInsertionEffect:C6,useLayoutEffect:w6,useMemo:P6,useReducer:V1,useRef:x6,useState:function(){return V1(Sl)},useDebugValue:b0,useDeferredValue:function(e){var t=sn();return Mt===null?t.memoizedState=e:T6(t,Mt.memoizedState,e)},useTransition:function(){var e=V1(Sl)[0],t=sn().memoizedState;return[e,t]},useMutableSource:m6,useSyncExternalStore:h6,useId:L6,unstable_isNewReconciler:!1};function En(e,t){if(e&&e.defaultProps){t=dt({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function Sp(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:dt({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var uu={isMounted:function(e){return(e=e._reactInternals)?Vi(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=ur(),o=Jo(e),i=$o(n,o);i.payload=t,r!=null&&(i.callback=r),t=qo(e,i,o),t!==null&&(Ln(t,e,o,n),Pd(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=ur(),o=Jo(e),i=$o(n,o);i.tag=1,i.payload=t,r!=null&&(i.callback=r),t=qo(e,i,o),t!==null&&(Ln(t,e,o,n),Pd(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ur(),n=Jo(e),o=$o(r,n);o.tag=2,t!=null&&(o.callback=t),t=qo(e,o,n),t!==null&&(Ln(t,e,n,r),Pd(t,e,n))}};function W4(e,t,r,n,o,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,a):t.prototype&&t.prototype.isPureReactComponent?!bl(r,n)||!bl(o,i):!0}function I6(e,t,r){var n=!1,o=ri,i=t.contextType;return typeof i=="object"&&i!==null?i=an(i):(o=Tr(t)?Hi:or.current,n=t.contextTypes,i=(n=n!=null)?Oa(e,o):ri),t=new t(r,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=uu,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function U4(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&&uu.enqueueReplaceState(t,t.state,null)}function Ep(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},c0(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=an(i):(i=Tr(t)?Hi:or.current,o.context=Oa(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Sp(e,t,i,r),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&uu.enqueueReplaceState(o,o.state,null),Yd(e,r,o,n),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Va(e,t){try{var r="",n=t;do r+=mb(n),n=n.return;while(n);var o=r}catch(i){o=`
|
|
7
|
+
Error generating stack: `+i.message+`
|
|
8
|
+
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function W1(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function kp(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var O$=typeof WeakMap=="function"?WeakMap:Map;function N6(e,t,r){r=$o(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){eu||(eu=!0,Fp=n),kp(e,t)},r}function D6(e,t,r){r=$o(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){kp(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(r.callback=function(){kp(e,t),typeof n!="function"&&(Qo===null?Qo=new Set([this]):Qo.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),r}function j4(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new O$;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=J$.bind(null,e,t,r),t.then(e,e))}function G4(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Z4(e,t,r,n,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=$o(-1,1),t.tag=2,qo(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var B$=wo.ReactCurrentOwner,kr=!1;function dr(e,t,r,n){t.child=e===null?d6(t,null,r,n):Ka(t,e.child,r,n)}function Y4(e,t,r,n,o){r=r.render;var i=t.ref;return Fa(t,o),n=m0(e,t,r,n,i,o),r=h0(),e!==null&&!kr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Co(e,t,o)):(tt&&r&&r0(t),t.flags|=1,dr(e,t,n,o),t.child)}function X4(e,t,r,n,o){if(e===null){var i=r.type;return typeof i=="function"&&!E0(i)&&i.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=i,F6(e,t,i,n,o)):(e=Id(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var a=i.memoizedProps;if(r=r.compare,r=r!==null?r:bl,r(a,n)&&e.ref===t.ref)return Co(e,t,o)}return t.flags|=1,e=ei(i,n),e.ref=t.ref,e.return=t,t.child=e}function F6(e,t,r,n,o){if(e!==null){var i=e.memoizedProps;if(bl(i,n)&&e.ref===t.ref)if(kr=!1,t.pendingProps=n=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(kr=!0);else return t.lanes=e.lanes,Co(e,t,o)}return Pp(e,t,r,n,o)}function H6(e,t,r){var n=t.pendingProps,o=n.children,i=e!==null?e.memoizedState:null;if(n.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ze(_a,Ar),Ar|=r;else{if((r&1073741824)===0)return e=i!==null?i.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ze(_a,Ar),Ar|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=i!==null?i.baseLanes:r,Ze(_a,Ar),Ar|=n}else i!==null?(n=i.baseLanes|r,t.memoizedState=null):n=r,Ze(_a,Ar),Ar|=n;return dr(e,t,o,r),t.child}function A6(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Pp(e,t,r,n,o){var i=Tr(r)?Hi:or.current;return i=Oa(t,i),Fa(t,o),r=m0(e,t,r,n,i,o),n=h0(),e!==null&&!kr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Co(e,t,o)):(tt&&n&&r0(t),t.flags|=1,dr(e,t,r,o),t.child)}function q4(e,t,r,n,o){if(Tr(r)){var i=!0;Wd(t)}else i=!1;if(Fa(t,o),t.stateNode===null)Rd(e,t),I6(t,r,n),Ep(t,r,n,o),n=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=r.contextType;typeof c=="object"&&c!==null?c=an(c):(c=Tr(r)?Hi:or.current,c=Oa(t,c));var d=r.getDerivedStateFromProps,u=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";u||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==n||l!==c)&&U4(t,a,n,c),zo=!1;var p=t.memoizedState;a.state=p,Yd(t,n,a,o),l=t.memoizedState,s!==n||p!==l||Pr.current||zo?(typeof d=="function"&&(Sp(t,r,d,n),l=t.memoizedState),(s=zo||W4(t,r,s,n,p,l,c))?(u||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|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),a.props=n,a.state=l,a.context=c,n=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{a=t.stateNode,f6(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:En(t.type,s),a.props=c,u=t.pendingProps,p=a.context,l=r.contextType,typeof l=="object"&&l!==null?l=an(l):(l=Tr(r)?Hi:or.current,l=Oa(t,l));var b=r.getDerivedStateFromProps;(d=typeof b=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==u||p!==l)&&U4(t,a,n,l),zo=!1,p=t.memoizedState,a.state=p,Yd(t,n,a,o);var g=t.memoizedState;s!==u||p!==g||Pr.current||zo?(typeof b=="function"&&(Sp(t,r,b,n),g=t.memoizedState),(c=zo||W4(t,r,c,n,p,g,l)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(n,g,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(n,g,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=g),a.props=n,a.state=g,a.context=l,n=c):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),n=!1)}return Tp(e,t,r,n,i,o)}function Tp(e,t,r,n,o,i){A6(e,t);var a=(t.flags&128)!==0;if(!n&&!a)return o&&F4(t,r,!1),Co(e,t,i);n=t.stateNode,B$.current=t;var s=a&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&a?(t.child=Ka(t,e.child,null,i),t.child=Ka(t,null,s,i)):dr(e,t,s,i),t.memoizedState=n.state,o&&F4(t,r,!0),t.child}function O6(e){var t=e.stateNode;t.pendingContext?D4(e,t.pendingContext,t.pendingContext!==t.context):t.context&&D4(e,t.context,!1),d0(e,t.containerInfo)}function Q4(e,t,r,n,o){return Ba(),o0(o),t.flags|=256,dr(e,t,r,n),t.child}var Lp={dehydrated:null,treeContext:null,retryLane:0};function Rp(e){return{baseLanes:e,cachePool:null,transitions:null}}function B6(e,t,r){var n=t.pendingProps,o=lt.current,i=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Ze(lt,o&1),e===null)return Cp(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(a=n.children,e=n.fallback,i?(n=t.mode,i=t.child,a={mode:"hidden",children:a},(n&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=a):i=mu(a,n,0,null),e=Fi(e,n,r,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Rp(r),t.memoizedState=Lp,e):$0(t,a));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return K$(e,t,a,n,s,o,r);if(i){i=n.fallback,a=t.mode,o=e.child,s=o.sibling;var l={mode:"hidden",children:n.children};return(a&1)===0&&t.child!==o?(n=t.child,n.childLanes=0,n.pendingProps=l,t.deletions=null):(n=ei(o,l),n.subtreeFlags=o.subtreeFlags&14680064),s!==null?i=ei(s,i):(i=Fi(i,a,r,null),i.flags|=2),i.return=t,n.return=t,n.sibling=i,t.child=n,n=i,i=t.child,a=e.child.memoizedState,a=a===null?Rp(r):{baseLanes:a.baseLanes|r,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~r,t.memoizedState=Lp,n}return i=e.child,e=i.sibling,n=ei(i,{mode:"visible",children:n.children}),(t.mode&1)===0&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function $0(e,t){return t=mu({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function xd(e,t,r,n){return n!==null&&o0(n),Ka(t,e.child,null,r),e=$0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function K$(e,t,r,n,o,i,a){if(r)return t.flags&256?(t.flags&=-257,n=W1(Error(U(422))),xd(e,t,a,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=n.fallback,o=t.mode,n=mu({mode:"visible",children:n.children},o,0,null),i=Fi(i,o,a,null),i.flags|=2,n.return=t,i.return=t,n.sibling=i,t.child=n,(t.mode&1)!==0&&Ka(t,e.child,null,a),t.child.memoizedState=Rp(a),t.memoizedState=Lp,i);if((t.mode&1)===0)return xd(e,t,a,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var s=n.dgst;return n=s,i=Error(U(419)),n=W1(i,n,void 0),xd(e,t,a,n)}if(s=(a&e.childLanes)!==0,kr||s){if(n=Ot,n!==null){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(n.suspendedLanes|a))!==0?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,xo(e,o),Ln(n,e,o,-1))}return S0(),n=W1(Error(U(421))),xd(e,t,a,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=ev.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Or=Xo(o.nextSibling),Br=t,tt=!0,Pn=null,e!==null&&(tn[rn++]=go,tn[rn++]=bo,tn[rn++]=Ai,go=e.id,bo=e.overflow,Ai=t),t=$0(t,n.children),t.flags|=4096,t)}function J4(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),wp(e.return,t,r)}function U1(e,t,r,n,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailMode=o)}function K6(e,t,r){var n=t.pendingProps,o=n.revealOrder,i=n.tail;if(dr(e,t,n.children,r),n=lt.current,(n&2)!==0)n=n&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&J4(e,r,t);else if(e.tag===19)J4(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Ze(lt,n),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;r!==null;)e=r.alternate,e!==null&&Xd(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),U1(t,!1,o,r,i);break;case"backwards":for(r=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Xd(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}U1(t,!0,r,null,i);break;case"together":U1(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Rd(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Co(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Bi|=t.lanes,(r&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(U(153));if(t.child!==null){for(e=t.child,r=ei(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=ei(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function z$(e,t,r){switch(t.tag){case 3:O6(t),Ba();break;case 5:p6(t);break;case 1:Tr(t.type)&&Wd(t);break;case 4:d0(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;Ze(Gd,n._currentValue),n._currentValue=o;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(Ze(lt,lt.current&1),t.flags|=128,null):(r&t.child.childLanes)!==0?B6(e,t,r):(Ze(lt,lt.current&1),e=Co(e,t,r),e!==null?e.sibling:null);Ze(lt,lt.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&128)!==0){if(n)return K6(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ze(lt,lt.current),n)break;return null;case 22:case 23:return t.lanes=0,H6(e,t,r)}return Co(e,t,r)}var z6,_p,V6,W6;z6=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}};_p=function(){};V6=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Ni(Zn.current);var i=null;switch(r){case"input":o=J1(e,o),n=J1(e,n),i=[];break;case"select":o=dt({},o,{value:void 0}),n=dt({},n,{value:void 0}),i=[];break;case"textarea":o=rp(e,o),n=rp(e,n),i=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=zd)}op(r,n);var a;r=null;for(c in o)if(!n.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var s=o[c];for(a in s)s.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(dl.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in n){var l=n[c];if(s=o?.[c],n.hasOwnProperty(c)&&l!==s&&(l!=null||s!=null))if(c==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(r||(r={}),r[a]=l[a])}else r||(i||(i=[]),i.push(c,r)),r=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(i=i||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(dl.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&Qe("scroll",e),i||s===l||(i=[])):(i=i||[]).push(c,l))}r&&(i=i||[]).push("style",r);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};W6=function(e,t,r,n){r!==n&&(t.flags|=4)};function Zs(e,t){if(!tt)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 rr(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags&14680064,n|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function V$(e,t,r){var n=t.pendingProps;switch(n0(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rr(t),null;case 1:return Tr(t.type)&&Vd(),rr(t),null;case 3:return n=t.stateNode,za(),Je(Pr),Je(or),f0(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(vd(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Pn!==null&&(Op(Pn),Pn=null))),_p(e,t),rr(t),null;case 5:u0(t);var o=Ni(Cl.current);if(r=t.type,e!==null&&t.stateNode!=null)V6(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(U(166));return rr(t),null}if(e=Ni(Zn.current),vd(t)){n=t.stateNode,r=t.type;var i=t.memoizedProps;switch(n[jn]=t,n[yl]=i,e=(t.mode&1)!==0,r){case"dialog":Qe("cancel",n),Qe("close",n);break;case"iframe":case"object":case"embed":Qe("load",n);break;case"video":case"audio":for(o=0;o<el.length;o++)Qe(el[o],n);break;case"source":Qe("error",n);break;case"img":case"image":case"link":Qe("error",n),Qe("load",n);break;case"details":Qe("toggle",n);break;case"input":s4(n,i),Qe("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!i.multiple},Qe("invalid",n);break;case"textarea":c4(n,i),Qe("invalid",n)}op(r,i),o=null;for(var a in i)if(i.hasOwnProperty(a)){var s=i[a];a==="children"?typeof s=="string"?n.textContent!==s&&(i.suppressHydrationWarning!==!0&&$d(n.textContent,s,e),o=["children",s]):typeof s=="number"&&n.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&$d(n.textContent,s,e),o=["children",""+s]):dl.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&Qe("scroll",n)}switch(r){case"input":ad(n),l4(n,i,!0);break;case"textarea":ad(n),d4(n);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(n.onclick=zd)}n=o,t.updateQueue=n,n!==null&&(t.flags|=4)}else{a=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=$5(r)),e==="http://www.w3.org/1999/xhtml"?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[jn]=t,e[yl]=n,z6(e,t,!1,!1),t.stateNode=e;e:{switch(a=ip(r,n),r){case"dialog":Qe("cancel",e),Qe("close",e),o=n;break;case"iframe":case"object":case"embed":Qe("load",e),o=n;break;case"video":case"audio":for(o=0;o<el.length;o++)Qe(el[o],e);o=n;break;case"source":Qe("error",e),o=n;break;case"img":case"image":case"link":Qe("error",e),Qe("load",e),o=n;break;case"details":Qe("toggle",e),o=n;break;case"input":s4(e,n),o=J1(e,n),Qe("invalid",e);break;case"option":o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=dt({},n,{value:void 0}),Qe("invalid",e);break;case"textarea":c4(e,n),o=rp(e,n),Qe("invalid",e);break;default:o=n}op(r,o),s=o;for(i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="style"?x5(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&v5(e,l)):i==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&ul(e,l):typeof l=="number"&&ul(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(dl.hasOwnProperty(i)?l!=null&&i==="onScroll"&&Qe("scroll",e):l!=null&&zp(e,i,l,a))}switch(r){case"input":ad(e),l4(e,n,!1);break;case"textarea":ad(e),d4(e);break;case"option":n.value!=null&&e.setAttribute("value",""+ti(n.value));break;case"select":e.multiple=!!n.multiple,i=n.value,i!=null?Ma(e,!!n.multiple,i,!1):n.defaultValue!=null&&Ma(e,!!n.multiple,n.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=zd)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return rr(t),null;case 6:if(e&&t.stateNode!=null)W6(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(U(166));if(r=Ni(Cl.current),Ni(Zn.current),vd(t)){if(n=t.stateNode,r=t.memoizedProps,n[jn]=t,(i=n.nodeValue!==r)&&(e=Br,e!==null))switch(e.tag){case 3:$d(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&$d(n.nodeValue,r,(e.mode&1)!==0)}i&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[jn]=t,t.stateNode=n}return rr(t),null;case 13:if(Je(lt),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(tt&&Or!==null&&(t.mode&1)!==0&&(t.flags&128)===0)l6(),Ba(),t.flags|=98560,i=!1;else if(i=vd(t),n!==null&&n.dehydrated!==null){if(e===null){if(!i)throw Error(U(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(U(317));i[jn]=t}else Ba(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;rr(t),i=!1}else Pn!==null&&(Op(Pn),Pn=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=r,t):(n=n!==null,n!==(e!==null&&e.memoizedState!==null)&&n&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(lt.current&1)!==0?It===0&&(It=3):S0())),t.updateQueue!==null&&(t.flags|=4),rr(t),null);case 4:return za(),_p(e,t),e===null&&$l(t.stateNode.containerInfo),rr(t),null;case 10:return s0(t.type._context),rr(t),null;case 17:return Tr(t.type)&&Vd(),rr(t),null;case 19:if(Je(lt),i=t.memoizedState,i===null)return rr(t),null;if(n=(t.flags&128)!==0,a=i.rendering,a===null)if(n)Zs(i,!1);else{if(It!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=Xd(e),a!==null){for(t.flags|=128,Zs(i,!1),n=a.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;r!==null;)i=r,e=n,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Ze(lt,lt.current&1|2),t.child}e=e.sibling}i.tail!==null&&bt()>Wa&&(t.flags|=128,n=!0,Zs(i,!1),t.lanes=4194304)}else{if(!n)if(e=Xd(a),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Zs(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!tt)return rr(t),null}else 2*bt()-i.renderingStartTime>Wa&&r!==1073741824&&(t.flags|=128,n=!0,Zs(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(r=i.last,r!==null?r.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=bt(),t.sibling=null,r=lt.current,Ze(lt,n?r&1|2:r&1),t):(rr(t),null);case 22:case 23:return w0(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&(t.mode&1)!==0?(Ar&1073741824)!==0&&(rr(t),t.subtreeFlags&6&&(t.flags|=8192)):rr(t),null;case 24:return null;case 25:return null}throw Error(U(156,t.tag))}function W$(e,t){switch(n0(t),t.tag){case 1:return Tr(t.type)&&Vd(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return za(),Je(Pr),Je(or),f0(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return u0(t),null;case 13:if(Je(lt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(U(340));Ba()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Je(lt),null;case 4:return za(),null;case 10:return s0(t.type._context),null;case 22:case 23:return w0(),null;case 24:return null;default:return null}}var Cd=!1,nr=!1,U$=typeof WeakSet=="function"?WeakSet:Set,oe=null;function Ra(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){pt(e,t,n)}else r.current=null}function Mp(e,t,r){try{r()}catch(n){pt(e,t,n)}}var e5=!1;function j$(e,t){if(hp=Od,e=Y5(),t0(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var a=0,s=-1,l=-1,c=0,d=0,u=e,p=null;t:for(;;){for(var b;u!==r||o!==0&&u.nodeType!==3||(s=a+o),u!==i||n!==0&&u.nodeType!==3||(l=a+n),u.nodeType===3&&(a+=u.nodeValue.length),(b=u.firstChild)!==null;)p=u,u=b;for(;;){if(u===e)break t;if(p===r&&++c===o&&(s=a),p===i&&++d===n&&(l=a),(b=u.nextSibling)!==null)break;u=p,p=u.parentNode}u=b}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(gp={focusedElem:e,selectionRange:r},Od=!1,oe=t;oe!==null;)if(t=oe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,oe=e;else for(;oe!==null;){t=oe;try{var g=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,$=g.memoizedState,m=t.stateNode,f=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:En(t.type,y),$);m.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(U(163))}}catch(v){pt(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,oe=e;break}oe=t.return}return g=e5,e5=!1,g}function sl(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Mp(t,r,i)}o=o.next}while(o!==n)}}function fu(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Ip(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function U6(e){var t=e.alternate;t!==null&&(e.alternate=null,U6(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[jn],delete t[yl],delete t[vp],delete t[T$],delete t[L$])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function j6(e){return e.tag===5||e.tag===3||e.tag===4}function t5(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||j6(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Np(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,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=zd));else if(n!==4&&(e=e.child,e!==null))for(Np(e,t,r),e=e.sibling;e!==null;)Np(e,t,r),e=e.sibling}function Dp(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Dp(e,t,r),e=e.sibling;e!==null;)Dp(e,t,r),e=e.sibling}var Zt=null,kn=!1;function Bo(e,t,r){for(r=r.child;r!==null;)G6(e,t,r),r=r.sibling}function G6(e,t,r){if(Gn&&typeof Gn.onCommitFiberUnmount=="function")try{Gn.onCommitFiberUnmount(ou,r)}catch{}switch(r.tag){case 5:nr||Ra(r,t);case 6:var n=Zt,o=kn;Zt=null,Bo(e,t,r),Zt=n,kn=o,Zt!==null&&(kn?(e=Zt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Zt.removeChild(r.stateNode));break;case 18:Zt!==null&&(kn?(e=Zt,r=r.stateNode,e.nodeType===8?A1(e.parentNode,r):e.nodeType===1&&A1(e,r),hl(e)):A1(Zt,r.stateNode));break;case 4:n=Zt,o=kn,Zt=r.stateNode.containerInfo,kn=!0,Bo(e,t,r),Zt=n,kn=o;break;case 0:case 11:case 14:case 15:if(!nr&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&((i&2)!==0||(i&4)!==0)&&Mp(r,t,a),o=o.next}while(o!==n)}Bo(e,t,r);break;case 1:if(!nr&&(Ra(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){pt(r,t,s)}Bo(e,t,r);break;case 21:Bo(e,t,r);break;case 22:r.mode&1?(nr=(n=nr)||r.memoizedState!==null,Bo(e,t,r),nr=n):Bo(e,t,r);break;default:Bo(e,t,r)}}function r5(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new U$),t.forEach(function(n){var o=tv.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function Sn(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var o=r[n];try{var i=e,a=t,s=a;e:for(;s!==null;){switch(s.tag){case 5:Zt=s.stateNode,kn=!1;break e;case 3:Zt=s.stateNode.containerInfo,kn=!0;break e;case 4:Zt=s.stateNode.containerInfo,kn=!0;break e}s=s.return}if(Zt===null)throw Error(U(160));G6(i,a,o),Zt=null,kn=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(c){pt(o,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Z6(t,e),t=t.sibling}function Z6(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Sn(t,e),Wn(e),n&4){try{sl(3,e,e.return),fu(3,e)}catch(y){pt(e,e.return,y)}try{sl(5,e,e.return)}catch(y){pt(e,e.return,y)}}break;case 1:Sn(t,e),Wn(e),n&512&&r!==null&&Ra(r,r.return);break;case 5:if(Sn(t,e),Wn(e),n&512&&r!==null&&Ra(r,r.return),e.flags&32){var o=e.stateNode;try{ul(o,"")}catch(y){pt(e,e.return,y)}}if(n&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,a=r!==null?r.memoizedProps:i,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&i.type==="radio"&&i.name!=null&&g5(o,i),ip(s,a);var c=ip(s,i);for(a=0;a<l.length;a+=2){var d=l[a],u=l[a+1];d==="style"?x5(o,u):d==="dangerouslySetInnerHTML"?v5(o,u):d==="children"?ul(o,u):zp(o,d,u,c)}switch(s){case"input":ep(o,i);break;case"textarea":b5(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var b=i.value;b!=null?Ma(o,!!i.multiple,b,!1):p!==!!i.multiple&&(i.defaultValue!=null?Ma(o,!!i.multiple,i.defaultValue,!0):Ma(o,!!i.multiple,i.multiple?[]:"",!1))}o[yl]=i}catch(y){pt(e,e.return,y)}}break;case 6:if(Sn(t,e),Wn(e),n&4){if(e.stateNode===null)throw Error(U(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(y){pt(e,e.return,y)}}break;case 3:if(Sn(t,e),Wn(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{hl(t.containerInfo)}catch(y){pt(e,e.return,y)}break;case 4:Sn(t,e),Wn(e);break;case 13:Sn(t,e),Wn(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(x0=bt())),n&4&&r5(e);break;case 22:if(d=r!==null&&r.memoizedState!==null,e.mode&1?(nr=(c=nr)||d,Sn(t,e),nr=c):Sn(t,e),Wn(e),n&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&(e.mode&1)!==0)for(oe=e,d=e.child;d!==null;){for(u=oe=d;oe!==null;){switch(p=oe,b=p.child,p.tag){case 0:case 11:case 14:case 15:sl(4,p,p.return);break;case 1:Ra(p,p.return);var g=p.stateNode;if(typeof g.componentWillUnmount=="function"){n=p,r=p.return;try{t=n,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(y){pt(n,r,y)}}break;case 5:Ra(p,p.return);break;case 22:if(p.memoizedState!==null){o5(u);continue}}b!==null?(b.return=p,oe=b):o5(u)}d=d.sibling}e:for(d=null,u=e;;){if(u.tag===5){if(d===null){d=u;try{o=u.stateNode,c?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=u.stateNode,l=u.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=y5("display",a))}catch(y){pt(e,e.return,y)}}}else if(u.tag===6){if(d===null)try{u.stateNode.nodeValue=c?"":u.memoizedProps}catch(y){pt(e,e.return,y)}}else if((u.tag!==22&&u.tag!==23||u.memoizedState===null||u===e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break e;for(;u.sibling===null;){if(u.return===null||u.return===e)break e;d===u&&(d=null),u=u.return}d===u&&(d=null),u.sibling.return=u.return,u=u.sibling}}break;case 19:Sn(t,e),Wn(e),n&4&&r5(e);break;case 21:break;default:Sn(t,e),Wn(e)}}function Wn(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(j6(r)){var n=r;break e}r=r.return}throw Error(U(160))}switch(n.tag){case 5:var o=n.stateNode;n.flags&32&&(ul(o,""),n.flags&=-33);var i=t5(e);Dp(e,i,o);break;case 3:case 4:var a=n.stateNode.containerInfo,s=t5(e);Np(e,s,a);break;default:throw Error(U(161))}}catch(l){pt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function G$(e,t,r){oe=e,Y6(e,t,r)}function Y6(e,t,r){for(var n=(e.mode&1)!==0;oe!==null;){var o=oe,i=o.child;if(o.tag===22&&n){var a=o.memoizedState!==null||Cd;if(!a){var s=o.alternate,l=s!==null&&s.memoizedState!==null||nr;s=Cd;var c=nr;if(Cd=a,(nr=l)&&!c)for(oe=o;oe!==null;)a=oe,l=a.child,a.tag===22&&a.memoizedState!==null?i5(o):l!==null?(l.return=a,oe=l):i5(o);for(;i!==null;)oe=i,Y6(i,t,r),i=i.sibling;oe=o,Cd=s,nr=c}n5(e,t,r)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,oe=i):n5(e,t,r)}}function n5(e){for(;oe!==null;){var t=oe;if((t.flags&8772)!==0){var r=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:nr||fu(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!nr)if(r===null)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:En(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&K4(t,i,n);break;case 3:var a=t.updateQueue;if(a!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}K4(t,a,r)}break;case 5:var s=t.stateNode;if(r===null&&t.flags&4){r=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var u=d.dehydrated;u!==null&&hl(u)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(U(163))}nr||t.flags&512&&Ip(t)}catch(p){pt(t,t.return,p)}}if(t===e){oe=null;break}if(r=t.sibling,r!==null){r.return=t.return,oe=r;break}oe=t.return}}function o5(e){for(;oe!==null;){var t=oe;if(t===e){oe=null;break}var r=t.sibling;if(r!==null){r.return=t.return,oe=r;break}oe=t.return}}function i5(e){for(;oe!==null;){var t=oe;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{fu(4,t)}catch(l){pt(t,r,l)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var o=t.return;try{n.componentDidMount()}catch(l){pt(t,o,l)}}var i=t.return;try{Ip(t)}catch(l){pt(t,i,l)}break;case 5:var a=t.return;try{Ip(t)}catch(l){pt(t,a,l)}}}catch(l){pt(t,t.return,l)}if(t===e){oe=null;break}var s=t.sibling;if(s!==null){s.return=t.return,oe=s;break}oe=t.return}}var Z$=Math.ceil,Jd=wo.ReactCurrentDispatcher,v0=wo.ReactCurrentOwner,on=wo.ReactCurrentBatchConfig,Ne=0,Ot=null,St=null,Yt=0,Ar=0,_a=oi(0),It=0,kl=null,Bi=0,pu=0,y0=0,ll=null,Er=null,x0=0,Wa=1/0,mo=null,eu=!1,Fp=null,Qo=null,wd=!1,jo=null,tu=0,cl=0,Hp=null,_d=-1,Md=0;function ur(){return(Ne&6)!==0?bt():_d!==-1?_d:_d=bt()}function Jo(e){return(e.mode&1)===0?1:(Ne&2)!==0&&Yt!==0?Yt&-Yt:_$.transition!==null?(Md===0&&(Md=I5()),Md):(e=Be,e!==0||(e=window.event,e=e===void 0?16:B5(e.type)),e)}function Ln(e,t,r,n){if(50<cl)throw cl=0,Hp=null,Error(U(185));Pl(e,r,n),((Ne&2)===0||e!==Ot)&&(e===Ot&&((Ne&2)===0&&(pu|=r),It===4&&Wo(e,Yt)),Lr(e,n),r===1&&Ne===0&&(t.mode&1)===0&&(Wa=bt()+500,cu&&ii()))}function Lr(e,t){var r=e.callbackNode;Ib(e,t);var n=Ad(e,e===Ot?Yt:0);if(n===0)r!==null&&p4(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&p4(r),t===1)e.tag===0?R$(a5.bind(null,e)):i6(a5.bind(null,e)),k$(function(){(Ne&6)===0&&ii()}),r=null;else{switch(N5(n)){case 1:r=Gp;break;case 4:r=_5;break;case 16:r=Hd;break;case 536870912:r=M5;break;default:r=Hd}r=n8(r,X6.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function X6(e,t){if(_d=-1,Md=0,(Ne&6)!==0)throw Error(U(327));var r=e.callbackNode;if(Ha()&&e.callbackNode!==r)return null;var n=Ad(e,e===Ot?Yt:0);if(n===0)return null;if((n&30)!==0||(n&e.expiredLanes)!==0||t)t=ru(e,n);else{t=n;var o=Ne;Ne|=2;var i=Q6();(Ot!==e||Yt!==t)&&(mo=null,Wa=bt()+500,Di(e,t));do try{q$();break}catch(s){q6(e,s)}while(!0);a0(),Jd.current=i,Ne=o,St!==null?t=0:(Ot=null,Yt=0,t=It)}if(t!==0){if(t===2&&(o=dp(e),o!==0&&(n=o,t=Ap(e,o))),t===1)throw r=kl,Di(e,0),Wo(e,n),Lr(e,bt()),r;if(t===6)Wo(e,n);else{if(o=e.current.alternate,(n&30)===0&&!Y$(o)&&(t=ru(e,n),t===2&&(i=dp(e),i!==0&&(n=i,t=Ap(e,i))),t===1))throw r=kl,Di(e,0),Wo(e,n),Lr(e,bt()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(U(345));case 2:_i(e,Er,mo);break;case 3:if(Wo(e,n),(n&130023424)===n&&(t=x0+500-bt(),10<t)){if(Ad(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){ur(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=$p(_i.bind(null,e,Er,mo),t);break}_i(e,Er,mo);break;case 4:if(Wo(e,n),(n&4194240)===n)break;for(t=e.eventTimes,o=-1;0<n;){var a=31-Tn(n);i=1<<a,a=t[a],a>o&&(o=a),n&=~i}if(n=o,n=bt()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Z$(n/1960))-n,10<n){e.timeoutHandle=$p(_i.bind(null,e,Er,mo),n);break}_i(e,Er,mo);break;case 5:_i(e,Er,mo);break;default:throw Error(U(329))}}}return Lr(e,bt()),e.callbackNode===r?X6.bind(null,e):null}function Ap(e,t){var r=ll;return e.current.memoizedState.isDehydrated&&(Di(e,t).flags|=256),e=ru(e,t),e!==2&&(t=Er,Er=r,t!==null&&Op(t)),e}function Op(e){Er===null?Er=e:Er.push.apply(Er,e)}function Y$(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var o=r[n],i=o.getSnapshot;o=o.value;try{if(!Rn(i(),o))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Wo(e,t){for(t&=~y0,t&=~pu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Tn(t),n=1<<r;e[r]=-1,t&=~n}}function a5(e){if((Ne&6)!==0)throw Error(U(327));Ha();var t=Ad(e,0);if((t&1)===0)return Lr(e,bt()),null;var r=ru(e,t);if(e.tag!==0&&r===2){var n=dp(e);n!==0&&(t=n,r=Ap(e,n))}if(r===1)throw r=kl,Di(e,0),Wo(e,t),Lr(e,bt()),r;if(r===6)throw Error(U(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,_i(e,Er,mo),Lr(e,bt()),null}function C0(e,t){var r=Ne;Ne|=1;try{return e(t)}finally{Ne=r,Ne===0&&(Wa=bt()+500,cu&&ii())}}function Ki(e){jo!==null&&jo.tag===0&&(Ne&6)===0&&Ha();var t=Ne;Ne|=1;var r=on.transition,n=Be;try{if(on.transition=null,Be=1,e)return e()}finally{Be=n,on.transition=r,Ne=t,(Ne&6)===0&&ii()}}function w0(){Ar=_a.current,Je(_a)}function Di(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,E$(r)),St!==null)for(r=St.return;r!==null;){var n=r;switch(n0(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Vd();break;case 3:za(),Je(Pr),Je(or),f0();break;case 5:u0(n);break;case 4:za();break;case 13:Je(lt);break;case 19:Je(lt);break;case 10:s0(n.type._context);break;case 22:case 23:w0()}r=r.return}if(Ot=e,St=e=ei(e.current,null),Yt=Ar=t,It=0,kl=null,y0=pu=Bi=0,Er=ll=null,Ii!==null){for(t=0;t<Ii.length;t++)if(r=Ii[t],n=r.interleaved,n!==null){r.interleaved=null;var o=n.next,i=r.pending;if(i!==null){var a=i.next;i.next=o,n.next=a}r.pending=n}Ii=null}return e}function q6(e,t){do{var r=St;try{if(a0(),Td.current=Qd,qd){for(var n=ct.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}qd=!1}if(Oi=0,At=Mt=ct=null,al=!1,wl=0,v0.current=null,r===null||r.return===null){It=1,kl=t,St=null;break}e:{var i=e,a=r.return,s=r,l=t;if(t=Yt,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,d=s,u=d.tag;if((d.mode&1)===0&&(u===0||u===11||u===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var b=G4(a);if(b!==null){b.flags&=-257,Z4(b,a,s,i,t),b.mode&1&&j4(i,c,t),t=b,l=c;var g=t.updateQueue;if(g===null){var y=new Set;y.add(l),t.updateQueue=y}else g.add(l);break e}else{if((t&1)===0){j4(i,c,t),S0();break e}l=Error(U(426))}}else if(tt&&s.mode&1){var $=G4(a);if($!==null){($.flags&65536)===0&&($.flags|=256),Z4($,a,s,i,t),o0(Va(l,s));break e}}i=l=Va(l,s),It!==4&&(It=2),ll===null?ll=[i]:ll.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=N6(i,l,t);B4(i,m);break e;case 1:s=l;var f=i.type,h=i.stateNode;if((i.flags&128)===0&&(typeof f.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Qo===null||!Qo.has(h)))){i.flags|=65536,t&=-t,i.lanes|=t;var v=D6(i,s,t);B4(i,v);break e}}i=i.return}while(i!==null)}e8(r)}catch(x){t=x,St===r&&r!==null&&(St=r=r.return);continue}break}while(!0)}function Q6(){var e=Jd.current;return Jd.current=Qd,e===null?Qd:e}function S0(){(It===0||It===3||It===2)&&(It=4),Ot===null||(Bi&268435455)===0&&(pu&268435455)===0||Wo(Ot,Yt)}function ru(e,t){var r=Ne;Ne|=2;var n=Q6();(Ot!==e||Yt!==t)&&(mo=null,Di(e,t));do try{X$();break}catch(o){q6(e,o)}while(!0);if(a0(),Ne=r,Jd.current=n,St!==null)throw Error(U(261));return Ot=null,Yt=0,It}function X$(){for(;St!==null;)J6(St)}function q$(){for(;St!==null&&!Sb();)J6(St)}function J6(e){var t=r8(e.alternate,e,Ar);e.memoizedProps=e.pendingProps,t===null?e8(e):St=t,v0.current=null}function e8(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&32768)===0){if(r=V$(r,t,Ar),r!==null){St=r;return}}else{if(r=W$(r,t),r!==null){r.flags&=32767,St=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{It=6,St=null;return}}if(t=t.sibling,t!==null){St=t;return}St=t=e}while(t!==null);It===0&&(It=5)}function _i(e,t,r){var n=Be,o=on.transition;try{on.transition=null,Be=1,Q$(e,t,r,n)}finally{on.transition=o,Be=n}return null}function Q$(e,t,r,n){do Ha();while(jo!==null);if((Ne&6)!==0)throw Error(U(327));r=e.finishedWork;var o=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(U(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.childLanes;if(Nb(e,i),e===Ot&&(St=Ot=null,Yt=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||wd||(wd=!0,n8(Hd,function(){return Ha(),null})),i=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||i){i=on.transition,on.transition=null;var a=Be;Be=1;var s=Ne;Ne|=4,v0.current=null,j$(e,r),Z6(r,e),y$(gp),Od=!!hp,gp=hp=null,e.current=r,G$(r,e,o),Eb(),Ne=s,Be=a,on.transition=i}else e.current=r;if(wd&&(wd=!1,jo=e,tu=o),i=e.pendingLanes,i===0&&(Qo=null),Tb(r.stateNode,n),Lr(e,bt()),t!==null)for(n=e.onRecoverableError,r=0;r<t.length;r++)o=t[r],n(o.value,{componentStack:o.stack,digest:o.digest});if(eu)throw eu=!1,e=Fp,Fp=null,e;return(tu&1)!==0&&e.tag!==0&&Ha(),i=e.pendingLanes,(i&1)!==0?e===Hp?cl++:(cl=0,Hp=e):cl=0,ii(),null}function Ha(){if(jo!==null){var e=N5(tu),t=on.transition,r=Be;try{if(on.transition=null,Be=16>e?16:e,jo===null)var n=!1;else{if(e=jo,jo=null,tu=0,(Ne&6)!==0)throw Error(U(331));var o=Ne;for(Ne|=4,oe=e.current;oe!==null;){var i=oe,a=i.child;if((oe.flags&16)!==0){var s=i.deletions;if(s!==null){for(var l=0;l<s.length;l++){var c=s[l];for(oe=c;oe!==null;){var d=oe;switch(d.tag){case 0:case 11:case 15:sl(8,d,i)}var u=d.child;if(u!==null)u.return=d,oe=u;else for(;oe!==null;){d=oe;var p=d.sibling,b=d.return;if(U6(d),d===c){oe=null;break}if(p!==null){p.return=b,oe=p;break}oe=b}}}var g=i.alternate;if(g!==null){var y=g.child;if(y!==null){g.child=null;do{var $=y.sibling;y.sibling=null,y=$}while(y!==null)}}oe=i}}if((i.subtreeFlags&2064)!==0&&a!==null)a.return=i,oe=a;else e:for(;oe!==null;){if(i=oe,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:sl(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,oe=m;break e}oe=i.return}}var f=e.current;for(oe=f;oe!==null;){a=oe;var h=a.child;if((a.subtreeFlags&2064)!==0&&h!==null)h.return=a,oe=h;else e:for(a=f;oe!==null;){if(s=oe,(s.flags&2048)!==0)try{switch(s.tag){case 0:case 11:case 15:fu(9,s)}}catch(x){pt(s,s.return,x)}if(s===a){oe=null;break e}var v=s.sibling;if(v!==null){v.return=s.return,oe=v;break e}oe=s.return}}if(Ne=o,ii(),Gn&&typeof Gn.onPostCommitFiberRoot=="function")try{Gn.onPostCommitFiberRoot(ou,e)}catch{}n=!0}return n}finally{Be=r,on.transition=t}}return!1}function s5(e,t,r){t=Va(r,t),t=N6(e,t,1),e=qo(e,t,1),t=ur(),e!==null&&(Pl(e,1,t),Lr(e,t))}function pt(e,t,r){if(e.tag===3)s5(e,e,r);else for(;t!==null;){if(t.tag===3){s5(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Qo===null||!Qo.has(n))){e=Va(r,e),e=D6(t,e,1),t=qo(t,e,1),e=ur(),t!==null&&(Pl(t,1,e),Lr(t,e));break}}t=t.return}}function J$(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=ur(),e.pingedLanes|=e.suspendedLanes&r,Ot===e&&(Yt&r)===r&&(It===4||It===3&&(Yt&130023424)===Yt&&500>bt()-x0?Di(e,0):y0|=r),Lr(e,t)}function t8(e,t){t===0&&((e.mode&1)===0?t=1:(t=cd,cd<<=1,(cd&130023424)===0&&(cd=4194304)));var r=ur();e=xo(e,t),e!==null&&(Pl(e,t,r),Lr(e,r))}function ev(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),t8(e,r)}function tv(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(U(314))}n!==null&&n.delete(t),t8(e,r)}var r8;r8=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Pr.current)kr=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return kr=!1,z$(e,t,r);kr=(e.flags&131072)!==0}else kr=!1,tt&&(t.flags&1048576)!==0&&a6(t,jd,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Rd(e,t),e=t.pendingProps;var o=Oa(t,or.current);Fa(t,r),o=m0(null,t,n,e,o,r);var i=h0();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Tr(n)?(i=!0,Wd(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,c0(t),o.updater=uu,t.stateNode=o,o._reactInternals=t,Ep(t,n,e,r),t=Tp(null,t,n,!0,i,r)):(t.tag=0,tt&&i&&r0(t),dr(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Rd(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=nv(n),e=En(n,e),o){case 0:t=Pp(null,t,n,e,r);break e;case 1:t=q4(null,t,n,e,r);break e;case 11:t=Y4(null,t,n,e,r);break e;case 14:t=X4(null,t,n,En(n.type,e),r);break e}throw Error(U(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:En(n,o),Pp(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:En(n,o),q4(e,t,n,o,r);case 3:e:{if(O6(t),e===null)throw Error(U(387));n=t.pendingProps,i=t.memoizedState,o=i.element,f6(e,t),Yd(t,n,null,r);var a=t.memoizedState;if(n=a.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Va(Error(U(423)),t),t=Q4(e,t,n,r,o);break e}else if(n!==o){o=Va(Error(U(424)),t),t=Q4(e,t,n,r,o);break e}else for(Or=Xo(t.stateNode.containerInfo.firstChild),Br=t,tt=!0,Pn=null,r=d6(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Ba(),n===o){t=Co(e,t,r);break e}dr(e,t,n,r)}t=t.child}return t;case 5:return p6(t),e===null&&Cp(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,bp(n,o)?a=null:i!==null&&bp(n,i)&&(t.flags|=32),A6(e,t),dr(e,t,a,r),t.child;case 6:return e===null&&Cp(t),null;case 13:return B6(e,t,r);case 4:return d0(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Ka(t,null,n,r):dr(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:En(n,o),Y4(e,t,n,o,r);case 7:return dr(e,t,t.pendingProps,r),t.child;case 8:return dr(e,t,t.pendingProps.children,r),t.child;case 12:return dr(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,Ze(Gd,n._currentValue),n._currentValue=a,i!==null)if(Rn(i.value,a)){if(i.children===o.children&&!Pr.current){t=Co(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===n){if(i.tag===1){l=$o(-1,r&-r),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}i.lanes|=r,l=i.alternate,l!==null&&(l.lanes|=r),wp(i.return,r,t),s.lanes|=r;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(U(341));a.lanes|=r,s=a.alternate,s!==null&&(s.lanes|=r),wp(a,r,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}dr(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Fa(t,r),o=an(o),n=n(o),t.flags|=1,dr(e,t,n,r),t.child;case 14:return n=t.type,o=En(n,t.pendingProps),o=En(n.type,o),X4(e,t,n,o,r);case 15:return F6(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:En(n,o),Rd(e,t),t.tag=1,Tr(n)?(e=!0,Wd(t)):e=!1,Fa(t,r),I6(t,n,o),Ep(t,n,o,r),Tp(null,t,n,!0,e,r);case 19:return K6(e,t,r);case 22:return H6(e,t,r)}throw Error(U(156,t.tag))};function n8(e,t){return R5(e,t)}function rv(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.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nn(e,t,r,n){return new rv(e,t,r,n)}function E0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function nv(e){if(typeof e=="function")return E0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Wp)return 11;if(e===Up)return 14}return 2}function ei(e,t){var r=e.alternate;return r===null?(r=nn(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.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,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 Id(e,t,r,n,o,i){var a=2;if(n=e,typeof e=="function")E0(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case xa:return Fi(r.children,o,i,t);case Vp:a=8,o|=8;break;case Y1:return e=nn(12,r,t,o|2),e.elementType=Y1,e.lanes=i,e;case X1:return e=nn(13,r,t,o),e.elementType=X1,e.lanes=i,e;case q1:return e=nn(19,r,t,o),e.elementType=q1,e.lanes=i,e;case p5:return mu(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case u5:a=10;break e;case f5:a=9;break e;case Wp:a=11;break e;case Up:a=14;break e;case Ko:a=16,n=null;break e}throw Error(U(130,e==null?e:typeof e,""))}return t=nn(a,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function Fi(e,t,r,n){return e=nn(7,e,n,t),e.lanes=r,e}function mu(e,t,r,n){return e=nn(22,e,n,t),e.elementType=p5,e.lanes=r,e.stateNode={isHidden:!1},e}function j1(e,t,r){return e=nn(6,e,null,t),e.lanes=r,e}function G1(e,t,r){return t=nn(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ov(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=R1(0),this.expirationTimes=R1(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=R1(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function k0(e,t,r,n,o,i,a,s,l){return e=new ov(e,t,r,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=nn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},c0(i),e}function iv(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ya,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function o8(e){if(!e)return ri;e=e._reactInternals;e:{if(Vi(e)!==e||e.tag!==1)throw Error(U(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Tr(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(U(171))}if(e.tag===1){var r=e.type;if(Tr(r))return o6(e,r,t)}return t}function i8(e,t,r,n,o,i,a,s,l){return e=k0(r,n,!0,e,o,i,a,s,l),e.context=o8(null),r=e.current,n=ur(),o=Jo(r),i=$o(n,o),i.callback=t??null,qo(r,i,o),e.current.lanes=o,Pl(e,o,n),Lr(e,n),e}function hu(e,t,r,n){var o=t.current,i=ur(),a=Jo(o);return r=o8(r),t.context===null?t.context=r:t.pendingContext=r,t=$o(i,a),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=qo(o,t,a),e!==null&&(Ln(e,o,a,i),Pd(e,o,a)),a}function nu(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 l5(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function P0(e,t){l5(e,t),(e=e.alternate)&&l5(e,t)}function av(){return null}var a8=typeof reportError=="function"?reportError:function(e){console.error(e)};function T0(e){this._internalRoot=e}gu.prototype.render=T0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(U(409));hu(e,t,null,null)};gu.prototype.unmount=T0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ki(function(){hu(null,e,null,null)}),t[yo]=null}};function gu(e){this._internalRoot=e}gu.prototype.unstable_scheduleHydration=function(e){if(e){var t=H5();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Vo.length&&t!==0&&t<Vo[r].priority;r++);Vo.splice(r,0,e),r===0&&O5(e)}};function L0(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function bu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function c5(){}function sv(e,t,r,n,o){if(o){if(typeof n=="function"){var i=n;n=function(){var c=nu(a);i.call(c)}}var a=i8(t,n,e,0,null,!1,!1,"",c5);return e._reactRootContainer=a,e[yo]=a.current,$l(e.nodeType===8?e.parentNode:e),Ki(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof n=="function"){var s=n;n=function(){var c=nu(l);s.call(c)}}var l=k0(e,0,!1,null,null,!1,!1,"",c5);return e._reactRootContainer=l,e[yo]=l.current,$l(e.nodeType===8?e.parentNode:e),Ki(function(){hu(t,l,r,n)}),l}function $u(e,t,r,n,o){var i=r._reactRootContainer;if(i){var a=i;if(typeof o=="function"){var s=o;o=function(){var l=nu(a);s.call(l)}}hu(t,a,e,o)}else a=sv(r,t,e,o,n);return nu(a)}D5=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=Js(t.pendingLanes);r!==0&&(Zp(t,r|1),Lr(t,bt()),(Ne&6)===0&&(Wa=bt()+500,ii()))}break;case 13:Ki(function(){var n=xo(e,1);if(n!==null){var o=ur();Ln(n,e,1,o)}}),P0(e,1)}};Yp=function(e){if(e.tag===13){var t=xo(e,134217728);if(t!==null){var r=ur();Ln(t,e,134217728,r)}P0(e,134217728)}};F5=function(e){if(e.tag===13){var t=Jo(e),r=xo(e,t);if(r!==null){var n=ur();Ln(r,e,t,n)}P0(e,t)}};H5=function(){return Be};A5=function(e,t){var r=Be;try{return Be=e,t()}finally{Be=r}};sp=function(e,t,r){switch(t){case"input":if(ep(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 o=lu(n);if(!o)throw Error(U(90));h5(n),ep(n,o)}}}break;case"textarea":b5(e,r);break;case"select":t=r.value,t!=null&&Ma(e,!!r.multiple,t,!1)}};S5=C0;E5=Ki;var lv={usingClientEntryPoint:!1,Events:[Ll,Ea,lu,C5,w5,C0]},Ys={findFiberByHostInstance:Mi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},cv={bundleType:Ys.bundleType,version:Ys.version,rendererPackageName:Ys.rendererPackageName,rendererConfig:Ys.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:wo.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=T5(e),e===null?null:e.stateNode},findFiberByHostInstance:Ys.findFiberByHostInstance||av,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Xs=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Xs.isDisabled&&Xs.supportsFiber))try{ou=Xs.inject(cv),Gn=Xs}catch{}var Xs;Vr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lv;Vr.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!L0(t))throw Error(U(200));return iv(e,t,null,r)};Vr.createRoot=function(e,t){if(!L0(e))throw Error(U(299));var r=!1,n="",o=a8;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=k0(e,1,!1,null,null,r,!1,n,o),e[yo]=t.current,$l(e.nodeType===8?e.parentNode:e),new T0(t)};Vr.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(U(188)):(e=Object.keys(e).join(","),Error(U(268,e)));return e=T5(t),e=e===null?null:e.stateNode,e};Vr.flushSync=function(e){return Ki(e)};Vr.hydrate=function(e,t,r){if(!bu(t))throw Error(U(200));return $u(null,e,t,!0,r)};Vr.hydrateRoot=function(e,t,r){if(!L0(e))throw Error(U(405));var n=r!=null&&r.hydratedSources||null,o=!1,i="",a=a8;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onRecoverableError!==void 0&&(a=r.onRecoverableError)),t=i8(t,null,e,1,r??null,o,!1,i,a),e[yo]=t.current,$l(e),n)for(e=0;e<n.length;e++)r=n[e],o=r._getVersion,o=o(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new gu(t)};Vr.render=function(e,t,r){if(!bu(t))throw Error(U(200));return $u(null,e,t,!1,r)};Vr.unmountComponentAtNode=function(e){if(!bu(e))throw Error(U(40));return e._reactRootContainer?(Ki(function(){$u(null,null,e,!1,function(){e._reactRootContainer=null,e[yo]=null})}),!0):!1};Vr.unstable_batchedUpdates=C0;Vr.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!bu(r))throw Error(U(200));if(e==null||e._reactInternals===void 0)throw Error(U(38));return $u(e,t,r,!1,n)};Vr.version="18.3.1-next-f1338f8080-20240426"});var _n=Cn((PS,c8)=>{"use strict";function l8(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l8)}catch(e){console.error(e)}}l8(),c8.exports=s8()});var Rr=Cn(R0=>{"use strict";var d8=_n();R0.createRoot=d8.createRoot,R0.hydrateRoot=d8.hydrateRoot;var TS});var f8=Cn(vu=>{"use strict";var dv=D(),uv=Symbol.for("react.element"),fv=Symbol.for("react.fragment"),pv=Object.prototype.hasOwnProperty,mv=dv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,hv={key:!0,ref:!0,__self:!0,__source:!0};function u8(e,t,r){var n,o={},i=null,a=null;r!==void 0&&(i=""+r),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(n in t)pv.call(t,n)&&!hv.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)o[n]===void 0&&(o[n]=t[n]);return{$$typeof:uv,type:e,key:i,ref:a,props:o,_owner:mv.current}}vu.Fragment=fv;vu.jsx=u8;vu.jsxs=u8});var he=Cn((_S,p8)=>{"use strict";p8.exports=f8()});var _7=Cn(R7=>{"use strict";var us=D();function ix(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ax=typeof Object.is=="function"?Object.is:ix,sx=us.useState,lx=us.useEffect,cx=us.useLayoutEffect,dx=us.useDebugValue;function ux(e,t){var r=t(),n=sx({inst:{value:r,getSnapshot:t}}),o=n[0].inst,i=n[1];return cx(function(){o.value=r,o.getSnapshot=t,i2(o)&&i({inst:o})},[e,r,t]),lx(function(){return i2(o)&&i({inst:o}),e(function(){i2(o)&&i({inst:o})})},[e]),dx(r),r}function i2(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!ax(e,r)}catch{return!0}}function fx(e,t){return t()}var px=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?fx:ux;R7.useSyncExternalStore=us.useSyncExternalStore!==void 0?us.useSyncExternalStore:px});var I7=Cn((WP,M7)=>{"use strict";M7.exports=_7()});var v8=S(D(),1),y8=S(Rr(),1);var Ga=S(D(),1),Ur=S(he(),1),ee=e=>`var(--semantic-color-${e})`;var Wr=e=>`var(--contextual-layout-units-${e})`,_l=e=>`var(--semantic-type-${e})`,xu={Fill:{Primary:{base:ee("fill-action-primary-strong-rest"),hover:ee("fill-action-primary-strong-hover"),pressed:ee("fill-action-primary-strong-pressed"),disabled:ee("fill-action-disabled")},Secondary:{base:ee("fill-action-secondary-rest"),hover:ee("fill-action-secondary-hover"),pressed:ee("fill-action-secondary-pressed"),disabled:ee("fill-action-disabled")},Tertiary:{base:ee("fill-action-primary-subtle-rest"),hover:ee("fill-action-primary-subtle-hover"),pressed:ee("fill-action-primary-subtle-pressed"),disabled:ee("fill-action-disabled")},Negative:{base:ee("fill-action-status-negative-strong-rest"),hover:ee("fill-action-status-negative-strong-hover"),pressed:ee("fill-action-status-negative-strong-pressed"),disabled:ee("fill-action-disabled")}},Outlined:{Primary:{base:"transparent",hover:ee("fill-action-primary-subtle-hover"),pressed:ee("fill-action-primary-subtle-pressed"),disabled:"transparent"},Secondary:{base:"transparent",hover:ee("fill-action-secondary-hover"),pressed:ee("fill-action-secondary-pressed"),disabled:"transparent"},Tertiary:{base:"transparent",hover:ee("fill-action-primary-subtle-hover"),pressed:ee("fill-action-primary-subtle-pressed"),disabled:"transparent"},Negative:{base:"transparent",hover:ee("fill-action-status-negative-subtle-hover"),pressed:ee("fill-action-status-negative-subtle-pressed"),disabled:"transparent"}}};xu.Naked=xu.Outlined;var Cu={Fill:{Primary:{base:ee("foreground-action-primary-on-strong"),hover:ee("foreground-action-primary-on-strong"),pressed:ee("foreground-action-primary-on-strong"),disabled:ee("foreground-action-disabled")},Secondary:{base:ee("foreground-action-secondary-rest"),hover:ee("foreground-action-secondary-hover"),pressed:ee("foreground-action-secondary-pressed"),disabled:ee("foreground-action-disabled")},Tertiary:{base:ee("foreground-action-primary-on-subtle-rest"),hover:ee("foreground-action-primary-on-subtle-hover"),pressed:ee("foreground-action-primary-on-subtle-pressed"),disabled:ee("foreground-action-disabled")},Negative:{base:ee("foreground-action-status-negative-on-strong"),hover:ee("foreground-action-status-negative-on-strong"),pressed:ee("foreground-action-status-negative-on-strong"),disabled:ee("foreground-action-disabled")}},Outlined:{Primary:{base:ee("foreground-action-primary-on-subtle-rest"),hover:ee("foreground-action-primary-on-subtle-hover"),pressed:ee("foreground-action-primary-on-subtle-pressed"),disabled:ee("foreground-action-disabled")},Secondary:{base:ee("foreground-action-secondary-rest"),hover:ee("foreground-action-secondary-hover"),pressed:ee("foreground-action-secondary-pressed"),disabled:ee("foreground-action-disabled")},Tertiary:{base:ee("foreground-action-primary-on-subtle-rest"),hover:ee("foreground-action-primary-on-subtle-hover"),pressed:ee("foreground-action-primary-on-subtle-pressed"),disabled:ee("foreground-action-disabled")},Negative:{base:ee("foreground-action-status-negative-on-subtle-rest"),hover:ee("foreground-action-status-negative-on-subtle-hover"),pressed:ee("foreground-action-status-negative-on-subtle-pressed"),disabled:ee("foreground-action-disabled")}}};Cu.Naked=Cu.Outlined;var m8=Cu,h8=Cu,g8={Primary:{base:ee("stroke-action-primary-strong-rest"),hover:ee("stroke-action-primary-strong-hover"),pressed:ee("stroke-action-primary-strong-pressed"),disabled:ee("stroke-action-disabled")},Secondary:{base:ee("stroke-action-secondary-rest"),hover:ee("stroke-action-secondary-hover"),pressed:ee("stroke-action-secondary-pressed"),disabled:ee("stroke-action-disabled")},Tertiary:{base:ee("stroke-action-primary-strong-rest"),hover:ee("stroke-action-primary-strong-hover"),pressed:ee("stroke-action-primary-strong-pressed"),disabled:ee("stroke-action-disabled")},Negative:{base:ee("stroke-action-status-negative-rest"),hover:ee("stroke-action-status-negative-hover"),pressed:ee("stroke-action-status-negative-pressed"),disabled:ee("stroke-action-disabled")}},Yn={radius:Wr("button-cornerradius"),border:Wr("button-borderwidth-rest"),borderEmphasis:Wr("button-borderwidth-selected"),gap:Wr("button-gap-horizontal"),touch:{pad:6,min:48},focusOutline:`${Wr("focusring-width")} solid ${ee("stroke-focusring-base")}`,focusOffset:"0"},yu=(e,t,r)=>({fontFamily:_l("family-brand"),fontSize:_l(`font-size-${e}`),fontWeight:_l("weight-medium"),lineHeight:_l(`line-height-${t}`),letterSpacing:_l(`letter-spacing-${r}`)}),b8={L:{padH:Wr("button-padding-large-horizontal"),padV:Wr("button-padding-large-vertical"),iconWrap:26,iconInner:18,...yu("m","m-single","wide")},M:{padH:Wr("button-padding-medium-horizontal"),padV:Wr("button-padding-medium-vertical"),iconWrap:24,iconInner:16,...yu("r","r-single","wide")},S:{padH:Wr("button-padding-small-horizontal"),padV:Wr("button-padding-small-vertical"),iconWrap:20,iconInner:14,...yu("s","s-single","spacious")},XS:{padH:Wr("button-padding-xsmall-horizontal"),padV:Wr("button-padding-xsmall-vertical"),iconWrap:16,iconInner:12,...yu("xs","xs-single","extraspacious")}},gv=[{d:"M6 1V3",opacity:1},{d:"M8.1 3.9L9.55 2.45",opacity:.87},{d:"M9 6H11",opacity:.75},{d:"M8.1 8.1L9.55 9.55",opacity:.62},{d:"M6 9V11",opacity:.5},{d:"M2.45 9.55L3.9 8.1",opacity:.37},{d:"M1 6H3",opacity:.25},{d:"M2.45 2.45L3.9 3.9",opacity:.12}],$8=!1;function bv(){if($8||typeof document>"u")return;let e=document.createElement("style");e.textContent="@keyframes pw-btn-spin { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }@media (prefers-reduced-motion: reduce) { .pw-btn-spinner { animation: none !important; } }",document.head.appendChild(e),$8=!0}function $v({size:e=20}){return(0,Ur.jsx)("svg",{className:"pw-btn-spinner",width:e,height:e,viewBox:"0 0 12 12","aria-hidden":"true",style:{animation:"pw-btn-spin var(--motion-duration-loop-fast) var(--motion-easing-linear) infinite",flexShrink:0,display:"block"},children:gv.map((t,r)=>(0,Ur.jsx)("path",{d:t.d,stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",fill:"none",opacity:t.opacity},r))})}function Mn({buttonStyle:e="Fill",size:t="M",type:r="Primary",text:n="Button",leadingIcon:o=null,trailingIcon:i=null,showLeadingIcon:a=!1,showTrailingIcon:s=!1,showText:l=!0,loading:c=!1,disabled:d=!1,forceState:u=null,onClick:p,ariaLabel:b,className:g="",...y}){let[$,m]=(0,Ga.useState)(!1),[f,h]=(0,Ga.useState)(!1),[v,x]=(0,Ga.useState)(!1);(0,Ga.useEffect)(()=>{bv()},[]);let w=u==="loading",P=u==="disabled",k=d||c||P||w,T=(()=>{if(u&&!d&&!c){if(P||w)return"disabled";if(u==="focused")return"base";if(u==="hover")return"hover";if(u==="pressed")return"pressed"}return k?"disabled":f?"pressed":$?"hover":"base"})(),E=!k&&(u==="focused"||v),F=xu[e]?.[r]||xu.Fill.Primary,_=m8[e]?.[r]||m8.Fill.Primary,I=h8[e]?.[r]||h8.Fill.Primary,C=g8[r]||g8.Primary,L=b8[t]||b8.M,O=F[T],M=_[T],Z=I[T],R=C[T],te=e==="Outlined",X={display:"inline-flex",alignItems:"center",justifyContent:"center",paddingLeft:L.padH,paddingRight:L.padH,paddingTop:L.padV,paddingBottom:L.padV,borderRadius:Yn.radius,backgroundColor:O,border:te?`${!k&&!c&&(T==="hover"||T==="pressed"||E)?Yn.borderEmphasis:Yn.border} solid ${R}`:"none",gap:0,outline:E?Yn.focusOutline:"none",outlineOffset:E?Yn.focusOffset:void 0,transition:"background-color var(--motion-duration-2) var(--motion-easing-standard), border-color var(--motion-duration-2) var(--motion-easing-standard), box-shadow var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)",color:Z},K=`calc(${Yn.gap} / 2)`,j={fontFamily:L.fontFamily,fontWeight:L.fontWeight,lineHeight:L.lineHeight,letterSpacing:L.letterSpacing,fontSize:L.fontSize,color:M,whiteSpace:"nowrap",paddingLeft:K,paddingRight:K,transition:"color var(--motion-duration-2) var(--motion-easing-standard)",userSelect:"none"},z={display:"inline-flex",alignItems:"center",justifyContent:"center",width:L.iconWrap,height:L.iconWrap,flexShrink:0,fontSize:L.iconInner,color:Z,transition:"color var(--motion-duration-2) var(--motion-easing-standard)",fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24"},N={display:"inline-flex",alignItems:"center",justifyContent:"center",padding:Yn.touch.pad,minHeight:Yn.touch.min,minWidth:Yn.touch.min,background:"transparent",border:"none",borderRadius:Yn.radius,cursor:k?"not-allowed":"pointer",outline:"none",opacity:1,textDecoration:"none"};return(0,Ur.jsx)("button",{type:"button",...y,onClick:k?void 0:p,disabled:k,"aria-label":b||(l&&!(c||w)?void 0:n),"aria-busy":c||w||void 0,"aria-disabled":k||void 0,onMouseEnter:()=>!k&&m(!0),onMouseLeave:()=>{m(!1),h(!1)},onMouseDown:()=>!k&&h(!0),onMouseUp:()=>h(!1),onFocus:ie=>{ie.target.matches?.(":focus-visible")&&x(!0)},onBlur:()=>{x(!1),h(!1)},onKeyDown:ie=>{(ie.key===" "||ie.key==="Enter")&&!k&&h(!0)},onKeyUp:()=>h(!1),className:g,style:N,children:(0,Ur.jsx)("span",{style:X,className:"pw-button__container",children:c||w?(0,Ur.jsx)($v,{size:L.iconInner*1.2}):(0,Ur.jsxs)(Ur.Fragment,{children:[a&&(0,Ur.jsx)("span",{style:z,className:"material-symbols-rounded pw-button__icon pw-button__icon--leading","aria-hidden":"true",children:o||"add"}),l&&(0,Ur.jsx)("span",{style:j,className:"pw-button__label",children:n}),s&&(0,Ur.jsx)("span",{style:z,className:"material-symbols-rounded pw-button__icon pw-button__icon--trailing","aria-hidden":"true",children:i||"arrow_forward"})]})})})}var vv=`
|
|
9
9
|
:host { display: inline-flex; }
|
|
10
10
|
:host([hidden]) { display: none; }
|
|
11
11
|
|
|
@@ -63,14 +63,14 @@ Error generating stack: `+a.message+`
|
|
|
63
63
|
}
|
|
64
64
|
@media (prefers-reduced-motion: reduce) {
|
|
65
65
|
.pw-btn-spinner { animation: none !important; }
|
|
66
|
-
}`,
|
|
66
|
+
}`,yv={"show-leading-icon":"showLeadingIcon","show-trailing-icon":"showTrailingIcon","show-text":"showText",loading:"loading",disabled:"disabled"},xv=["show-leading-icon","show-trailing-icon","loading","disabled"],_0=class extends HTMLElement{static get observedAttributes(){return["button-style","kind","size","text","leading-icon","trailing-icon","show-leading-icon","show-trailing-icon","show-text","loading","disabled","aria-label"]}constructor(){super(),this._props={},this._reactRoot=null}set buttonStyle(t){this._props.buttonStyle=t,this._render()}get buttonStyle(){return this._props.buttonStyle??this.getAttribute("button-style")??"Fill"}set kind(t){this._props.kind=t,this._render()}get kind(){return this._props.kind??this.getAttribute("kind")??"Primary"}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=vv,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-btn-root",t.appendChild(this._mount),this._reactRoot=(0,y8.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readAttributes(){let t={},r=(n,o)=>{this.hasAttribute(n)&&(t[o]=this.getAttribute(n))};r("button-style","buttonStyle"),r("kind","type"),r("size","size"),r("text","text"),r("leading-icon","leadingIcon"),r("trailing-icon","trailingIcon"),r("aria-label","ariaLabel");for(let n of xv)if(this.hasAttribute(n)){let o=this.getAttribute(n);t[yv[n]]=o!=="false"&&o!=="0"}if(this.hasAttribute("show-text")){let n=this.getAttribute("show-text");t.showText=n!=="false"&&n!=="0"}return t}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_render(){if(!this._reactRoot)return;let t=this._readAttributes(),r={...this._props};"kind"in r&&(r.type=r.kind,delete r.kind);let n={...t,...r};this._reactRoot.render(v8.default.createElement(Mn,{...n,onClick:o=>{this._emit("pathway-click",{originalEvent:o}),typeof this.onclick=="function"&&this.onclick(o)}}))}};customElements.get("pathway-button")||customElements.define("pathway-button",_0);var A8=S(D(),1),O8=S(Rr(),1);var Nt=S(D(),1);var jr="pw-focus-ring",Za="pw-focus-ring pw-focus-ring--inset",wu="pw-focus-ring pw-focus-ring--replace",Wi="pw-focus-ring pw-focus-ring--layer",So=`
|
|
67
67
|
.pw-focus-ring:focus{outline:none}
|
|
68
68
|
.pw-focus-ring:focus-visible{outline:var(--contextual-layout-units-focusring-width) solid var(--semantic-color-stroke-focusring-base);outline-offset:0}
|
|
69
69
|
.pw-focus-ring--inset:focus-visible{outline-offset:calc(-1 * var(--contextual-layout-units-focusring-width))}
|
|
70
70
|
.pw-focus-ring--replace:focus-visible{border-color:transparent !important;box-shadow:var(--pw-ring-keep-shadow, none) !important}
|
|
71
71
|
.pw-focus-ring--layer:focus-visible{outline:none}
|
|
72
72
|
.pw-focus-ring--layer:focus-visible [data-pw-ring-target]{outline:var(--contextual-layout-units-focusring-width) solid var(--semantic-color-stroke-focusring-base);outline-offset:0}
|
|
73
|
-
`,e8=!1;function qo(){if(e8||typeof document>"u")return;e8=!0;let e=document.createElement("style");e.setAttribute("data-pathway","focus-ring"),e.textContent=Da,document.head.appendChild(e)}var bp=S(D(),1);var tS=S(D(),1),r8=S($e(),1);var gp={wght:400,GRAD:0,opsz:24},t8={L:{frame:18,wrapper:26},M:{frame:16,wrapper:24},S:{frame:14,wrapper:20}};function Ee({name:e,size:t="M",fill:r=0,color:n,label:o,className:a="",style:i,...s}){let l=typeof t=="number"?t:(t8[t]||t8.M).frame;return(0,r8.jsx)("span",{className:`material-symbols-rounded ${a}`,role:o?"img":void 0,"aria-label":o||void 0,"aria-hidden":o?void 0:!0,style:{fontSize:l,lineHeight:1,display:"block",flexShrink:0,color:n,fontVariationSettings:`'FILL' ${r}, 'wght' ${gp.wght}, 'GRAD' ${gp.GRAD}, 'opsz' ${gp.opsz}`,...i},...s,children:e})}var pu=S(D(),1),n8="(prefers-reduced-motion: reduce)",Y$=()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(n8).matches:!1;function Ut(){let[e,t]=(0,pu.useState)(Y$);return(0,pu.useEffect)(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;let r=window.matchMedia(n8);t(r.matches);let n=o=>t(o.matches);return r.addEventListener("change",n),()=>r.removeEventListener("change",n)},[]),e}var hu=S($e(),1);qo();var Fa=e=>`var(--semantic-color-${e})`,X$=e=>`var(--semantic-layout-units-${e})`,Ki=e=>`var(--motion-${e})`,q$=e=>`var(--contextual-layout-units-${e})`,Vi=e=>`var(--semantic-layout-units-accessibility-touch-target-${e})`,o8={Small:{box:36,boxW:Vi("desktop-only-width"),boxH:Vi("desktop-only-height"),layer:24,glyph:14},Medium:{box:44,boxW:Vi("aa-width"),boxH:Vi("aa-height"),layer:28,glyph:16},Large:{box:48,boxW:Vi("aaa-width"),boxH:Vi("aaa-height"),layer:32,glyph:20}},mu={rest:Fa("foreground-action-secondary-rest"),hover:Fa("foreground-action-secondary-hover"),pressed:Fa("foreground-action-secondary-pressed"),layerHover:Fa("fill-action-primary-subtle-hover"),layerPress:Fa("fill-action-primary-subtle-pressed"),disabled:Fa("foreground-action-disabled"),focusOutline:`${q$("focusring-width")} solid ${Fa("stroke-focusring-base")}`};function Qo({name:e,size:t="Small",label:r,fill:n=0,color:o,states:a,forceState:i,disabled:s=!1,onClick:l,className:c="",style:d,...u}){let p=Ut(),[b,g]=(0,bp.useState)(!1),[y,$]=(0,bp.useState)(!1),m=!s&&(b||i==="hover"),f=!s&&(y||i==="pressed"),h=o8[t]||o8.Small,v={...mu,...a},x=s?mu.disabled:f?v.pressed:m?v.hover:o||mu.rest;return(0,hu.jsx)("button",{type:"button","aria-label":r,title:r,"aria-disabled":s||void 0,onClick:s?void 0:l,onMouseEnter:()=>g(!0),onMouseLeave:()=>{g(!1),$(!1)},onMouseDown:()=>$(!0),onMouseUp:()=>$(!1),onBlur:()=>$(!1),className:`pw-action-icon ${Cl} ${c}`,"data-size":t,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:h.boxW,height:h.boxH,flexShrink:0,boxSizing:"border-box",background:"transparent",border:"none",padding:0,outline:"none",cursor:s?"not-allowed":"pointer",color:x,...d},...u,children:(0,hu.jsx)("span",{"data-pw-ring-target":"",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:h.layer,height:h.layer,borderRadius:X$("cornerradius-base"),background:f?v.layerPress:m?v.layerHover:"transparent",outline:!s&&i==="focused"?mu.focusOutline:void 0,outlineOffset:!s&&i==="focused"?0:void 0,transition:p?"none":`background ${Ki("duration-2")} ${Ki("easing-standard")}, outline ${Ki("duration-2")} ${Ki("easing-standard")}`},children:(0,hu.jsx)(Ee,{name:e,size:h.glyph,fill:n,style:{transition:p?"none":`color ${Ki("duration-2")} ${Ki("easing-standard")}`}})})})}var Er=S(D(),1);var je=S($e(),1);qo();var Ve={barBg:"var(--semantic-color-fill-static-neutral-mono)",filterActiveFill:"var(--semantic-color-fill-action-primary-subtle-rest)",iconPillHover:"var(--semantic-color-fill-action-secondary-hover)",iconPillPressed:"var(--semantic-color-fill-action-secondary-pressed)",badgeFill:"var(--semantic-color-fill-action-primary-strong-rest)",disabledBg:"var(--primitive-color-cool-neutral-10)",borderIdle:"var(--semantic-color-stroke-static-neutral-faint)",borderHover:"var(--semantic-color-stroke-action-primary-strong-hover)",borderActive:"var(--semantic-color-stroke-action-primary-strong-pressed)",borderError:"var(--semantic-color-stroke-action-status-negative-rest)",borderDisabled:"var(--primitive-color-cool-neutral-25)",divider:"var(--semantic-color-stroke-action-secondary-rest)",textPlaceholder:"var(--semantic-color-foreground-static-neutral-base)",textValue:"var(--semantic-color-foreground-static-neutral-bold)",iconIdle:"var(--semantic-color-foreground-action-secondary-rest)",iconHover:"var(--semantic-color-foreground-action-secondary-hover)",iconDisabled:"var(--semantic-color-foreground-action-disabled)",iconError:"var(--semantic-color-foreground-action-status-negative-on-subtle-rest)",navIconFill:"var(--semantic-color-foreground-action-ghost-rest)",navIconHover:"var(--semantic-color-foreground-action-ghost-hover)",collapsedBtnFill:"var(--semantic-color-fill-action-ghost-rest)",collapsedBtnHover:"var(--semantic-color-fill-action-ghost-hover)",collapsedBtnPressed:"var(--semantic-color-fill-action-ghost-pressed)",collapsedBtnBorder:"var(--semantic-color-stroke-action-ghost-rest)",collapsedBtnBorderHov:"var(--semantic-color-stroke-action-ghost-hover)",navFieldFill:"var(--semantic-color-fill-static-neutral-mono)",navFieldBorder:"var(--semantic-color-stroke-static-neutral-faint)",navFieldBorderOpen:"var(--semantic-color-stroke-action-primary-strong-pressed)",navMenuFill:"var(--semantic-color-fill-surface-elevated)",navMenuBorder:"var(--semantic-color-stroke-static-neutral-faint)",badgeBorderColor:"var(--semantic-color-fill-static-neutral-faint)"},Ie={touchTarget:48,exitTarget:"var(--semantic-layout-units-accessibility-touch-target-aa-width)",exitGlyph:20,pillHeight:36,barRadius:64,iconBtnRadius:12,iconBtnSize:24,iconSize:16,iconSizeCollapsed:16,barPadH:8,barGap:8,iconPillPad:4,dividerPad:4,badgeSize:6,expandedWidth:320,containerPad:4},Q$={fontFamily:"'Red Hat Text', sans-serif",fontSize:"var(--semantic-type-font-size-s)",fontWeight:400,lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"};function a8({iconName:e,iconSize:t=Ie.iconSize,iconColor:r,label:n,onClick:o,style:a}){let[i,s]=(0,Er.useState)(!1),[l,c]=(0,Er.useState)(!1);return(0,je.jsx)("button",{type:"button","aria-label":n,onClick:o,onMouseEnter:()=>s(!0),onMouseLeave:()=>{s(!1),c(!1)},onMouseDown:()=>c(!0),onMouseUp:()=>c(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:Ie.iconBtnSize,height:Ie.iconBtnSize,borderRadius:Ie.iconBtnRadius,background:"transparent",border:"none",cursor:"pointer",padding:0,flexShrink:0,...a},children:(0,je.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",borderRadius:Ie.barRadius,padding:Ie.iconPillPad,background:l?Ve.iconPillPressed:i?Ve.iconPillHover:"transparent",transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,je.jsx)(Ee,{name:e,size:t,color:r,fill:1})})})}function $p({value:e="",placeholder:t="Search...",showFilter:r=!1,filterActive:n=!1,filterBadge:o=!1,disabled:a=!1,error:i=!1,onSearch:s,onFilterClick:l,onChange:c,onClear:d,className:u="",id:p,searchIconAriaLabel:b="Search",onSearchIconClick:g,inputRef:y}){let[$,m]=(0,Er.useState)(!1),[f,h]=(0,Er.useState)(!1),v=(0,Er.useRef)(null),x=y||v,w=e.length>0,P=a,k=i&&!a,T=()=>P?{border:`1px solid ${Ve.borderDisabled}`}:k?{border:`1px solid ${Ve.borderError}`}:n||f||w?{border:`1px solid ${Ve.borderActive}`}:$?{border:`1px solid ${Ve.borderHover}`}:{border:`0.75px solid ${Ve.borderIdle}`},E=P?Ve.iconDisabled:k?Ve.iconError:$||f?Ve.iconHover:Ve.iconIdle,F=_=>{_.key==="Enter"&&s?.(e)},R=()=>{d?.(),x.current?.focus()};return(0,je.jsx)("div",{className:u,style:{boxSizing:"border-box",minHeight:Ie.touchTarget,display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",opacity:P?.38:1,pointerEvents:P?"none":"auto"},onMouseEnter:()=>!P&&m(!0),onMouseLeave:()=>m(!1),children:(0,je.jsxs)("div",{role:"search","aria-label":"Search",style:{boxSizing:"border-box",display:"flex",alignItems:"center",gap:Ie.barGap,minHeight:Ie.pillHeight,borderRadius:Ie.barRadius,background:P?Ve.disabledBg:Ve.barBg,overflow:"hidden",paddingLeft:Ie.barPadH,paddingRight:Ie.barPadH,transition:"border-color var(--motion-duration-2) var(--motion-easing-standard), background var(--motion-duration-2) var(--motion-easing-standard)",...T()},children:[(0,je.jsx)("div",{style:{display:"flex",alignItems:"center",flexShrink:0},children:(0,je.jsx)(a8,{iconName:"search",iconColor:E,label:b,onClick:g||(()=>s?.(e))})}),(0,je.jsx)("input",{ref:x,id:p,type:"text",role:"searchbox",value:e,placeholder:t,disabled:P,autoComplete:"off","aria-label":"Search",onChange:_=>c?.(_.target.value),onFocus:()=>h(!0),onBlur:()=>h(!1),onKeyDown:F,style:{...Q$,flex:1,minWidth:0,background:"transparent",border:"none",outline:"none",color:w?Ve.textValue:Ve.textPlaceholder}}),w&&(0,je.jsx)(a8,{iconName:"cancel",iconColor:E,label:"Clear search",onClick:R}),r&&(0,je.jsx)("div",{style:{display:"flex",alignItems:"center",flexShrink:0,borderLeft:`0.75px solid ${Ve.divider}`,paddingLeft:Ie.dividerPad,position:"relative"},children:(0,je.jsxs)("div",{style:{position:"relative"},children:[(0,je.jsx)("button",{type:"button","aria-label":n?"Open filters (filters active)":"Open filters",onClick:l,style:{display:"flex",alignItems:"center",justifyContent:"center",width:Ie.iconBtnSize,height:Ie.iconBtnSize,borderRadius:Ie.iconBtnRadius,background:n?Ve.filterActiveFill:"transparent",border:"none",cursor:"pointer",padding:0,flexShrink:0,transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,je.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",borderRadius:Ie.barRadius,padding:Ie.iconPillPad},children:(0,je.jsx)(Ee,{name:"filter_alt",size:Ie.iconSize,color:E,fill:1})})}),o&&(0,je.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",top:1,right:1,width:Ie.badgeSize,height:Ie.badgeSize,borderRadius:"50%",background:Ve.badgeFill,border:`1.5px solid ${Ve.badgeBorderColor}`,display:"block"}})]})})]})})}if(typeof document<"u"&&!document.getElementById("pds-topnavsearch-anim")){let e=document.createElement("style");e.id="pds-topnavsearch-anim",e.textContent="@keyframes pwSearchExpand{from{clip-path:inset(0 0 0 calc(100% - 48px));opacity:.6}to{clip-path:inset(0 0 0 0);opacity:1}}@media (prefers-reduced-motion: reduce){@keyframes pwSearchExpand{from{clip-path:inset(0);opacity:1}to{clip-path:inset(0);opacity:1}}}",document.head.appendChild(e)}function vp({expanded:e,onExpandChange:t,searchProps:r={},onSearchOpen:n,breakpoint:o="desktop",className:a=""}){let i=(0,Er.useRef)(null),s=(0,Er.useRef)(null),[l,c]=(0,Er.useState)(!1),d=e!==void 0,[u,p]=(0,Er.useState)(!1),b=d?e:u,g=r.value!==void 0,[y,$]=(0,Er.useState)(""),m=g?r.value:y,f=x=>{g||$(x),r.onChange?.(x)},h=()=>{d||p(!0),t?.(!0),n?.(),requestAnimationFrame(()=>s.current?.focus())},v=()=>{d||p(!1),t?.(!1),setTimeout(()=>i.current?.focus(),0)};return(0,Er.useEffect)(()=>{if(!b)return;let x=w=>{w.key==="Escape"&&v()};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[b]),(0,je.jsxs)("div",{className:a,style:{position:b?"static":"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:Ie.touchTarget,height:Ie.touchTarget,minWidth:Ie.touchTarget,flexShrink:0},children:[(0,je.jsx)("button",{ref:i,className:Br,type:"button","aria-label":"Open search","aria-expanded":b,onClick:h,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:Ie.touchTarget,height:Ie.touchTarget,borderRadius:Ie.iconBtnRadius,background:"transparent",border:"none",cursor:"pointer",padding:0,flexShrink:0},children:(0,je.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:36,height:36,boxSizing:"border-box",borderRadius:"var(--semantic-layout-units-cornerradius-full)",background:l?Ve.collapsedBtnHover:Ve.collapsedBtnFill,border:`var(--contextual-layout-units-button-borderwidth-rest, 0.75px) solid ${l?Ve.collapsedBtnBorderHov:Ve.collapsedBtnBorder}`,transition:"background var(--motion-duration-2) var(--motion-easing-standard), border-color var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,je.jsx)(Ee,{name:"search",size:Ie.iconSizeCollapsed,color:l?Ve.navIconHover:Ve.navIconFill})})}),b&&(0,je.jsxs)("div",{"aria-hidden":!1,style:{position:"absolute",inset:0,display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xtight)",background:"var(--semantic-color-fill-surface-chrome)",padding:"var(--semantic-layout-units-padding-xxtight) var(--semantic-layout-units-padding-base)",boxSizing:"border-box",zIndex:60,animation:"pwSearchExpand var(--motion-duration-4) var(--motion-easing-spring) both"},children:[(0,je.jsx)("button",{type:"button","aria-label":"Back",onClick:v,style:{display:"flex",alignItems:"center",justifyContent:"center",width:Ie.exitTarget,height:Ie.exitTarget,flexShrink:0,background:"transparent",border:"none",cursor:"pointer",borderRadius:Ie.iconBtnRadius,color:Ve.navIconFill},children:(0,je.jsx)(Ee,{name:"arrow_back",size:Ie.exitGlyph,color:Ve.navIconFill,fill:1})}),(0,je.jsx)("div",{style:{flex:1,minWidth:0},children:(0,je.jsx)($p,{...r,value:m,onChange:f,inputRef:s,onSearch:x=>r.onSearch?.(x)})})]})]})}var yp=S(D(),1);var pt=S($e(),1);var J$=[{key:"people",color:"#877EC8",icon:"group"},{key:"giving",color:"#4BA8CB",icon:"volunteer_activism"},{key:"mobile-app",color:"#6FCEB7",icon:"smartphone"},{key:"website",color:"#4B6EC3",icon:"language"},{key:"streaming",color:"#FF894A",icon:"live_tv"},{key:"content",color:"#1E99AE",icon:"description"},{key:"communications",color:"#1FA79B",icon:"mail"},{key:"protections",color:"#E97272",icon:"shield"},{key:"events",color:"#7996FC",icon:"event"},{key:"accounting",color:"#F8C84F",icon:"account_balance"}],xp=[{id:"grace",name:"Grace Church",initials:"GC"},{id:"cityhope",name:"City Hope Church",initials:"CH"},{id:"nkbc",name:"Northern Kentucky Baptist Church",initials:"NK"},{id:"crosspoint",name:"Cross Point",initials:"CP"},{id:"cornerstone",name:"Cornerstone",initials:"CO"},{id:"elevate",name:"Elevate Life Church",initials:"EL"},{id:"crossbridge",name:"Crossbridge",initials:"CB"}],ho={bg:"var(--semantic-color-fill-static-neutral-faint)",header:"var(--semantic-color-foreground-static-neutral-base)",border:"var(--semantic-color-stroke-static-neutral-faint)",name:"var(--semantic-color-foreground-static-neutral-bold)",icon:"var(--semantic-color-foreground-static-neutral-base)",logoBg:"var(--semantic-color-fill-surface-chrome)",rowActive:"var(--semantic-color-fill-action-primary-subtle-rest)"};function ev(){return(0,pt.jsx)("div",{style:{display:"flex",alignItems:"center"},"aria-hidden":"true",children:J$.map(e=>(0,pt.jsx)("span",{style:{width:18,height:18,borderRadius:"50%",background:e.color,marginRight:-4,border:"1.5px solid var(--semantic-color-fill-static-neutral-mono)",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center"},children:(0,pt.jsx)(Ee,{name:e.icon,size:11,style:{color:"var(--semantic-color-foreground-static-neutral-mono)"}})},e.key))})}function tv({org:e,active:t,onSelect:r}){let n=Ut(),[o,a]=(0,yp.useState)(!1);return(0,pt.jsxs)("button",{type:"button",onClick:()=>r&&r(e),onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),"aria-current":t?"true":void 0,style:{position:"relative",display:"flex",alignItems:"center",gap:12,width:"100%",textAlign:"left",padding:"8px 8px",border:"none",cursor:"pointer",borderRadius:8,fontFamily:"inherit",background:t||o?ho.rowActive:"transparent",transition:n?"none":"background var(--motion-duration-2) var(--motion-easing-standard)"},children:[t&&(0,pt.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",width:4,height:44,borderRadius:"0 var(--semantic-layout-units-cornerradius-base) var(--semantic-layout-units-cornerradius-base) 0",background:"var(--semantic-color-fill-action-selection-indicator)"}}),(0,pt.jsx)("div",{style:{width:44,height:44,borderRadius:6,flexShrink:0,background:ho.logoBg,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},children:e.logoUrl?(0,pt.jsx)("img",{src:e.logoUrl,alt:"",style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}}):(0,pt.jsx)("span",{style:{fontSize:13,fontWeight:700,color:"var(--semantic-color-foreground-static-neutral-mono)"},children:e.initials})}),(0,pt.jsxs)("div",{style:{flex:1,minWidth:0,display:"flex",flexDirection:"column",gap:6},children:[(0,pt.jsx)("div",{style:{fontSize:14,fontWeight:600,lineHeight:"18px",color:ho.name,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.name}),(0,pt.jsx)(ev,{})]}),(0,pt.jsx)(Ee,{name:"chevron_right",size:12,style:{color:ho.icon,flexShrink:0}})]})}function Cp({orgs:e=xp,activeOrgId:t,query:r="",onQueryChange:n,onSearch:o,onSelect:a,style:i}){return(0,pt.jsxs)("div",{role:"dialog","aria-label":"Switch organisation",style:{width:360,boxSizing:"border-box",background:ho.bg,borderRadius:"var(--semantic-layout-units-cornerradius-base)",boxShadow:"var(--elevation-lift)",padding:"18px 18px 24px",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-medium)",fontFamily:"'Red Hat Text', sans-serif",...i},children:[(0,pt.jsx)("div",{style:{padding:"4px 10px",fontSize:"var(--semantic-type-font-size-s)",fontWeight:600,lineHeight:"var(--semantic-type-line-height-s-single)",color:ho.header},children:"My Organizations"}),(0,pt.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:"var(--semantic-layout-units-padding-xtight)",borderRadius:"var(--semantic-layout-units-cornerradius-base)",border:`1px solid ${ho.border}`},children:[(0,pt.jsx)(Ee,{name:"search",size:18,style:{color:ho.icon}}),(0,pt.jsx)("input",{type:"text",value:r,placeholder:"Search","aria-label":"Search organisations",onChange:s=>n&&n(s.target.value),onKeyDown:s=>{s.key==="Enter"&&o&&o(r)},style:{flex:1,minWidth:0,border:"none",outline:"none",background:"transparent",fontFamily:"inherit",fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",color:ho.name}})]}),(0,pt.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",maxHeight:320,overflowY:"auto",overflowX:"hidden"},children:e.map(s=>(0,pt.jsx)(tv,{org:s,active:s.id===t,onSelect:a},s.id))})]})}var l8=S(D(),1),go=S($e(),1),rv={"--module-accounting-base":"var(--primitive-color-saffron-200)","--module-accounting-subtle":"var(--primitive-color-saffron-100)","--module-communications-base":"var(--primitive-color-green-300)","--module-communications-subtle":"var(--primitive-color-green-150)","--module-equip-from":"var(--primitive-color-brand-200)","--module-equip-to":"var(--primitive-color-lagoon-150)","--module-giving-base":"var(--primitive-color-seabreeze-350)","--module-giving-subtle":"var(--primitive-color-seabreeze-150)","--module-home-base":"var(--primitive-color-brand-550)","--module-media-base":"var(--primitive-color-jade-300)","--module-media-subtle":"var(--primitive-color-jade-150)","--module-mobile-base":"var(--primitive-color-jade-200)","--module-mobile-subtle":"var(--primitive-color-jade-100)","--module-people-base":"var(--primitive-color-brand-300)","--module-people-subtle":"var(--primitive-color-brand-150)","--module-safety-base":"var(--primitive-color-red-300)","--module-safety-subtle":"var(--primitive-color-red-150)","--module-service-planning-base":"var(--primitive-color-lagoon-400)","--module-service-planning-subtle":"var(--primitive-color-lagoon-200)","--module-streaming-base":"var(--primitive-color-orange-200)","--module-streaming-subtle":"var(--primitive-color-orange-100)","--module-websites-base":"var(--primitive-color-mauve-300)","--module-websites-subtle":"var(--primitive-color-mauve-150)"},c8=["people","giving","service-planning","streaming","safety","mobile","accounting","communications","home","websites","media","equip"],d8={people:"People",giving:"Giving","service-planning":"Service Planning",streaming:"Streaming",safety:"Safety",mobile:"Mobile",accounting:"Accounting",communications:"Communications",home:"Amplify Home",websites:"Websites",media:"Media",equip:"Equip"};var wp=16,i8={base:{people:[["s","M12.4718 8.81324C11.766 8.68255 11.0733 8.77403 10.4524 9.02889C11.6745 10.1921 12.413 11.7474 12.5306 13.4399L12.6025 14.4789C12.6025 14.5246 12.6025 14.5704 12.6025 14.6227C13.4521 14.1587 14.2298 13.5836 14.9095 12.8975C15.282 12.5185 15.4388 11.9761 15.3081 11.4664C14.9683 10.1463 13.8965 9.08117 12.4718 8.81324Z"],["s","M12.2496 7.63689C13.7266 8.21195 15.2885 7.13371 15.282 5.55229C15.282 4.6701 14.7134 3.84671 13.89 3.52651C12.413 2.95145 10.8511 4.02969 10.8576 5.61111C10.8576 6.4933 11.4262 7.31669 12.2496 7.63689Z"],["b","M11.3216 12.9435C11.2235 12.3815 11.0406 11.8456 10.7922 11.3555C10.6223 11.0288 10.4262 10.7217 10.204 10.4341C9.98183 10.1466 9.72695 9.8852 9.45247 9.64995C8.4591 8.79389 7.17165 8.28418 5.78616 8.28418C5.65546 8.28418 5.51822 8.28418 5.38751 8.29725C3.41385 8.43448 1.75388 9.57806 0.858539 11.1922C0.472956 11.8914 0.623268 12.7866 1.21798 13.316C2.95637 14.8647 5.23066 15.8188 7.74022 15.8384C7.7729 15.8384 7.80557 15.8384 7.83825 15.8384C8.92965 15.8384 9.9753 15.6554 10.9556 15.3352C11.2824 15.2241 11.4915 14.8974 11.4653 14.551L11.3935 13.512C11.3804 13.316 11.3542 13.1265 11.3216 12.9369V12.9435Z"],["b","M7.75986 5.44826C7.84482 5.31757 7.91017 5.18034 7.97553 5.04311C7.99513 4.99736 8.01474 4.95162 8.03434 4.90588C8.08009 4.79479 8.1193 4.68369 8.15198 4.56607C8.16505 4.52033 8.17812 4.48112 8.19119 4.43537C8.22387 4.28507 8.25001 4.13477 8.26961 3.98447C8.27615 3.91912 8.27615 3.85378 8.28268 3.78843C8.28268 3.71655 8.28268 3.63813 8.28268 3.56625C8.28268 3.5009 8.28269 3.43555 8.27615 3.3702C8.27615 3.29832 8.26308 3.2199 8.25654 3.14802C8.25001 3.08267 8.23694 3.02386 8.22387 2.95851C8.2108 2.88663 8.19773 2.82128 8.17812 2.7494C8.15198 2.63831 8.11277 2.52721 8.07355 2.41612C8.05395 2.37038 8.04088 2.32464 8.02781 2.27889C7.96899 2.13513 7.8971 1.9979 7.81868 1.8672C7.79254 1.82799 7.7664 1.78878 7.74025 1.74957C7.6749 1.64502 7.59648 1.54046 7.51805 1.44244C7.49191 1.4163 7.47231 1.38363 7.44616 1.35749C7.2305 1.10917 6.98216 0.893517 6.70114 0.710543C6.66846 0.690939 6.63579 0.671335 6.60311 0.65173C6.49855 0.586382 6.38744 0.527569 6.26981 0.475291C6.22406 0.455687 6.18485 0.436082 6.1391 0.416478C5.99533 0.357665 5.85155 0.305386 5.70124 0.266178C5.65549 0.253108 5.60321 0.246573 5.55746 0.240039C5.44636 0.213899 5.32873 0.194295 5.21763 0.181225C5.12613 0.168156 5.04117 0.161621 4.94968 0.161621C4.92354 0.161621 4.90393 0.161621 4.87779 0.161621C4.79936 0.161621 4.71441 0.161621 4.62945 0.174691C4.57063 0.174691 4.51181 0.174691 4.45299 0.18776C4.36803 0.194295 4.27654 0.213899 4.19158 0.233504C4.13276 0.246573 4.07395 0.253108 4.02166 0.266178C3.87789 0.298852 3.73411 0.344595 3.59687 0.396873C3.53805 0.416478 3.48577 0.442617 3.43349 0.468756C3.32892 0.5145 3.22436 0.566778 3.12633 0.625591C3.08711 0.645195 3.05444 0.6648 3.01523 0.684404C2.87798 0.769356 2.74728 0.860843 2.62311 0.9654C2.6035 0.978469 2.59043 0.998074 2.57082 1.01114C2.45972 1.10917 2.35516 1.21372 2.25713 1.32481C2.23752 1.34442 2.22445 1.36402 2.20485 1.37709C2.09375 1.50779 1.99572 1.63848 1.90422 1.78225C1.81926 1.91294 1.75391 2.05017 1.68856 2.19394C1.66895 2.23968 1.64935 2.28543 1.62974 2.32464C1.58399 2.43573 1.54478 2.54682 1.5121 2.66444C1.49903 2.71019 1.48596 2.7494 1.47289 2.79514C1.43368 2.94544 1.41407 3.09574 1.39447 3.24604C1.38793 3.31139 1.38793 3.3702 1.3814 3.43555C1.3814 3.50743 1.3814 3.58585 1.3814 3.65773C1.3814 3.72308 1.3814 3.78843 1.38793 3.84724C1.38793 3.91912 1.401 3.99754 1.40754 4.06942C1.41407 4.13477 1.42715 4.19359 1.44022 4.25893C1.45329 4.33082 1.46636 4.39616 1.48596 4.46805C1.5121 4.57914 1.55132 4.69023 1.59053 4.80132C1.61013 4.84706 1.61667 4.89281 1.63628 4.93855C1.69509 5.08232 1.76698 5.21955 1.84541 5.35024C1.87155 5.38945 1.89769 5.42866 1.92383 5.46787C1.99572 5.57242 2.06761 5.67698 2.14603 5.775C2.17217 5.80114 2.19178 5.83382 2.21792 5.85996C2.43358 6.10828 2.68193 6.32393 2.96294 6.5069C2.99562 6.5265 3.0283 6.54611 3.05444 6.56571C3.16554 6.63106 3.27664 6.68987 3.38774 6.74215C3.43349 6.76176 3.4727 6.78136 3.51844 6.80097C3.66222 6.85978 3.806 6.91206 3.95631 6.95127C4.00206 6.96434 4.0478 6.97087 4.10009 6.97741C4.21119 7.00354 4.32882 7.02315 4.44646 7.03622C4.53795 7.04929 4.62291 7.05582 4.71441 7.05582C4.74055 7.05582 4.76015 7.05582 4.78629 7.05582C4.86472 7.05582 4.94968 7.05582 5.03464 7.04275C5.09345 7.04275 5.15227 7.04275 5.21109 7.02968C5.29605 7.02315 5.38754 7.00354 5.4725 6.98394C5.53132 6.97087 5.59014 6.96434 5.64242 6.95127C5.7862 6.91859 5.92997 6.87285 6.06721 6.82057C6.1195 6.80097 6.17832 6.77483 6.2306 6.74869C6.33516 6.70294 6.43973 6.65066 6.53776 6.59185C6.57697 6.57225 6.60964 6.55264 6.64886 6.53304C6.7861 6.44809 6.9168 6.3566 7.04098 6.25204C7.06058 6.23897 7.07365 6.21937 7.09326 6.2063C7.20436 6.10828 7.30892 6.00372 7.40695 5.89263C7.42656 5.87303 7.43963 5.85342 7.45924 5.83382C7.57034 5.70312 7.66837 5.57243 7.75986 5.42866V5.44826Z"]],giving:[["s","M4.46107 7.13333C4.9211 7.57333 5.40114 7.99333 5.89451 8.38667C6.1412 8.35333 6.38789 8.33333 6.63457 8.33333H9.1081C9.32812 8.33333 9.54814 8.38 9.75482 8.44C10.2749 8.03333 10.7749 7.6 11.2483 7.14C11.9417 6.44 12.4684 5.6 12.7951 4.66667C13.0818 3.78 13.0484 2.82667 12.7151 1.96C12.375 1.1 11.6683 0.433333 10.7882 0.153333C10.4816 0.0533333 10.1549 0 9.83483 0.00666667H9.81483C9.10811 0.00666667 8.42139 0.24 7.86134 0.673333C7.82134 0.64 7.77466 0.613333 7.72799 0.586667L7.70799 0.573333C7.70799 0.573333 7.66132 0.546667 7.63465 0.52C7.58798 0.486667 7.54131 0.453333 7.48798 0.42L7.29463 0.333333C7.19462 0.28 7.08128 0.233333 6.96793 0.2C6.9546 0.186667 6.94127 0.18 6.92126 0.166667H6.88793C6.58123 0.0666667 6.26788 0.00666667 5.94785 0H5.89451C5.74784 0 5.60782 0.00666667 5.46115 0.0333333H5.40114C5.2478 0.0533333 5.09445 0.0866667 4.9411 0.14C4.05437 0.426667 3.34098 1.09333 2.99428 1.96C2.65426 2.82667 2.62759 3.78667 2.92094 4.67333C3.24764 5.6 3.77435 6.44 4.46773 7.14L4.46107 7.13333Z"],["b","M15.4953 10.5133C15.2886 10.3267 15.0486 10.2533 14.7886 10.2533C14.4686 10.2533 14.1352 10.3667 13.8285 10.5133L11.9684 11.7067C11.355 11.9867 10.8949 12.3267 10.3282 12.3267H8.16805C7.59467 12.36 7.22797 12.5533 6.87461 13.0333C6.80127 13.1267 6.6946 13.18 6.58125 13.18C6.50792 13.18 6.42791 13.1533 6.36124 13.1067C6.23456 13.0133 6.18789 12.8533 6.22789 12.7133C6.24123 12.6733 6.25457 12.6333 6.2879 12.5933C6.36124 12.5 6.43458 12.4133 6.50791 12.3267C6.99462 11.8067 7.56134 11.58 8.3614 11.58H9.04145C9.58816 11.58 10.0615 11.2067 10.1415 10.7133C10.1949 10.4 10.1082 10.1 9.90819 9.86667C9.70817 9.63333 9.42148 9.5 9.11479 9.5H6.64126C5.54784 9.5 4.46775 9.88 3.61435 10.5733L2.74761 11.2733C2.74761 11.2733 2.70094 11.3 2.67427 11.3133C2.51426 11.4133 2.35425 11.4933 2.19424 11.5533C1.68087 11.7467 1.24749 11.7467 1.24749 11.7467H0.714121C0.367426 11.7467 0.0874023 12.0267 0.0874023 12.3733V15.3733C0.0874023 15.72 0.367426 16 0.714121 16H10.7616C11.3283 16 11.8817 15.8067 12.3217 15.4533L15.442 12.42C16.0353 11.9467 16.082 11.04 15.4953 10.5133Z"]],"service-planning":[["b","M7.26882 10.353C7.26882 9.63288 7.76897 8.95945 8.46912 8.73942L12.63 7.51257V3.0386C12.63 1.11166 11.5298 0.00483079 9.60935 0.00483079H4.34154C3.52135 -0.0418426 2.72116 0.251533 2.11435 0.804946C1.5609 1.4117 1.27417 2.21848 1.32084 3.04527V9.53286C1.32084 11.4665 2.42107 12.5733 4.34817 12.5733H7.2755V10.3463L7.26882 10.353ZM5.78184 3.02526H9.58937C9.90944 3.02526 10.1762 3.2853 10.1762 3.61201C10.1762 3.93873 9.91611 4.19877 9.58937 4.19877H5.78184C5.46177 4.19877 5.19504 3.93873 5.19504 3.61201C5.19504 3.2853 5.4551 3.02526 5.78184 3.02526ZM4.56156 6.73246C4.53488 6.80581 4.4882 6.87248 4.43486 6.92582C4.38151 6.97916 4.31485 7.01917 4.24817 7.05251C4.17482 7.07918 4.10145 7.09918 4.02144 7.09918C3.86807 7.09918 3.72137 7.03251 3.60801 6.92582C3.55467 6.87248 3.51466 6.80581 3.48799 6.73246C3.45465 6.66579 3.44131 6.58577 3.44131 6.51243C3.44131 6.43909 3.45465 6.35908 3.48799 6.2924C3.51466 6.21905 3.55467 6.15238 3.60801 6.09904C3.77472 5.93901 4.02812 5.88567 4.24817 5.97235C4.31485 6.00569 4.38151 6.0457 4.43486 6.09904C4.4882 6.15238 4.53488 6.21905 4.56156 6.2924C4.5949 6.35908 4.60824 6.43909 4.60824 6.51243C4.60824 6.58577 4.58823 6.66579 4.56156 6.73246ZM4.43486 4.01874C4.38151 4.07208 4.31485 4.11209 4.24817 4.14542C4.17482 4.1721 4.10145 4.1921 4.02144 4.1921C3.86807 4.1921 3.72137 4.12542 3.60801 4.01874C3.50132 3.91206 3.44131 3.7587 3.44131 3.60535C3.44131 3.532 3.45465 3.45199 3.48799 3.38532C3.51466 3.31197 3.55467 3.2453 3.60801 3.19195C3.77472 3.03193 4.03479 2.97859 4.24817 3.06527C4.31485 3.09861 4.38151 3.13861 4.43486 3.19195C4.4882 3.2453 4.53488 3.31197 4.56156 3.38532C4.5949 3.45199 4.60824 3.532 4.60824 3.60535C4.60824 3.7587 4.54155 3.91206 4.43486 4.01874ZM5.20171 6.51243C5.20171 6.19239 5.46177 5.92568 5.78851 5.92568H7.6956C8.01567 5.92568 8.2824 6.18572 8.2824 6.51243C8.2824 6.83914 8.02233 7.09918 7.6956 7.09918H5.78851C5.46844 7.09918 5.20171 6.83914 5.20171 6.51243Z"],["s","M14.1638 8.2989C14.1171 8.2989 14.0505 8.31223 14.0105 8.32557L8.80264 9.86579C8.6026 9.9258 8.43586 10.1525 8.43586 10.3592V13.9864C8.29583 13.953 8.06246 13.9264 7.91576 13.9197C7.05557 13.9197 6.3554 14.3864 6.3554 14.9599C6.3554 15.5333 7.05557 16 7.91576 16C8.77596 16 9.47609 15.5333 9.47609 14.9599V11.7861L12.3768 10.9393L13.6437 10.5659V12.9396C13.5037 12.9062 13.2703 12.8796 13.1236 12.8729C12.2634 12.8729 11.5632 13.3396 11.5632 13.913C11.5632 14.4865 12.2634 14.9532 13.1236 14.9532C13.9838 14.9532 14.6839 14.4865 14.6839 13.913V8.8123C14.6839 8.5256 14.4506 8.29223 14.1638 8.29223V8.2989Z"]],streaming:[["b","M15.0579 5.89623L13.8961 6.56138C13.6991 6.67272 13.5792 6.88111 13.5792 7.10949V11.3013C13.5792 11.5268 13.6991 11.7352 13.8961 11.8494L15.0579 12.5145C15.4776 12.7543 16 12.4517 16 11.9664V6.44719C16 5.96474 15.4776 5.65929 15.0579 5.89909V5.89623Z"],["b","M9.50832 4.04126C9.45694 4.04126 9.4027 4.04126 9.34846 4.04697L8.15233 5.25451C8.05527 5.36299 7.92966 5.45149 7.79263 5.51144C7.85258 5.68843 7.88398 5.87684 7.88398 6.07096C7.87827 7.01017 7.11035 7.77809 6.16259 7.78094C5.70868 7.78094 5.28333 7.60395 4.96075 7.28137C4.63816 6.95878 4.46688 6.53628 4.46117 6.06811C4.46117 5.87684 4.49543 5.69129 4.55538 5.51715C4.43262 5.46291 4.32129 5.38869 4.22708 5.29733L2.9967 4.04411H2.75975C1.17824 4.10977 -0.0578576 5.46576 0.00209165 7.07297V11.6073C0.0791692 13.1603 1.08118 14.365 2.58276 14.365C3.05355 14.365 3.52477 14.3629 3.99585 14.365H9.61109C11.1983 14.3022 12.4373 12.9434 12.3716 11.339V6.79892C12.2945 5.24595 11.0213 4.04126 9.50261 4.04126H9.50832Z"],["s","M3.35639 3.1994L3.6333 3.47631C3.67897 3.52198 3.74178 3.54482 3.80458 3.54482C3.86168 3.54482 3.91877 3.52484 3.96445 3.48487C4.07578 3.3821 4.21281 3.28789 4.36125 3.19654C4.90365 2.86254 5.63446 2.61989 6.19113 2.61418H6.19399C6.19399 2.61418 6.20255 2.61703 6.20541 2.61703C6.77064 2.61703 7.51001 2.85969 8.04956 3.19654C8.18373 3.27933 8.30648 3.36783 8.40925 3.45918C8.45207 3.49914 8.50631 3.51913 8.56341 3.51913C8.62907 3.51913 8.69473 3.49058 8.7404 3.4392L9.08297 3.09663C9.12008 3.05952 9.15434 2.98244 9.15434 2.92534C9.15434 2.8654 9.12008 2.78832 9.07726 2.7455H9.08011L9.0744 2.73693C8.29221 2.02325 7.29305 1.63501 6.2311 1.63501C6.22253 1.63501 6.21397 1.63501 6.20541 1.63501C5.13203 1.64072 4.12146 2.04038 3.32213 2.76834C3.2736 2.81116 3.23649 2.89394 3.23649 2.95675C3.23364 3.01099 3.26789 3.09092 3.2993 3.13374L3.3621 3.19654L3.35639 3.1994Z"],["s","M6.18261 5.20619C5.70587 5.20619 5.31763 5.59728 5.31477 6.07402C5.31477 6.31096 5.41183 6.52792 5.56599 6.68208C5.72014 6.83623 5.92854 6.93329 6.16833 6.93329C6.16833 6.93329 6.17119 6.93329 6.17404 6.93329C6.65078 6.93329 7.03903 6.5422 7.04188 6.06546C7.04188 5.82852 6.94482 5.61156 6.79067 5.4574C6.63651 5.30325 6.42812 5.20619 6.18832 5.20619C6.18832 5.20619 6.18546 5.20619 6.18261 5.20619Z"],["s","M7.36436 4.75554C7.42146 4.75554 7.49854 4.72414 7.52994 4.67847L7.87821 4.33019C7.92104 4.28737 7.95244 4.21315 7.95244 4.15605C7.95244 4.12179 7.93816 4.08183 7.91818 4.04757C7.90391 4.01902 7.88963 3.99333 7.86965 3.97335H7.87251L7.86394 3.96193C7.7155 3.83632 7.51566 3.71928 7.29585 3.62507C6.93616 3.46521 6.52222 3.36244 6.19964 3.36244C6.19678 3.36244 6.19393 3.36244 6.19107 3.36244C5.87134 3.36244 5.46883 3.46806 5.11199 3.62507C4.88075 3.72499 4.66951 3.84774 4.5125 3.98191C4.49251 3.99619 4.47824 4.02473 4.46111 4.04757C4.43542 4.09039 4.41829 4.13607 4.41829 4.17603C4.41829 4.23313 4.44969 4.31021 4.48395 4.35588L4.83222 4.70416C4.86934 4.74127 4.94641 4.77267 4.99494 4.77267C5.04062 4.77267 5.10628 4.74983 5.14053 4.72129C5.39175 4.5186 5.85707 4.35303 6.17965 4.35017C6.17965 4.35017 6.18251 4.35017 6.18536 4.35017C6.50795 4.35017 6.96756 4.51289 7.21592 4.70987C7.25018 4.73841 7.31583 4.7584 7.36151 4.7584L7.36436 4.75554Z"]],safety:[["b","M6.98424 10.5929C6.98424 7.76506 9.24798 5.46784 12.0346 5.46784C12.4847 5.46784 12.9216 5.53502 13.3386 5.6492L13.3254 3.27139C13.3187 2.65342 12.9216 2.10935 12.3457 1.92127L7.14309 0.147987C6.832 0.0405148 6.49443 0.0405148 6.17671 0.147987L0.993958 1.98173C0.418096 2.18324 0.0341797 2.72731 0.0341797 3.34527L0.0672873 8.61811C0.0805256 10.2302 0.676244 11.7751 1.74192 12.9707C2.29131 13.5685 2.93997 14.0522 3.66146 14.4149L6.48118 15.8993C6.56723 15.9464 6.65991 15.9665 6.75919 15.9665C6.85848 15.9665 6.95116 15.9396 7.03721 15.8926L9.10897 14.7642C7.81824 13.8372 6.97101 12.3125 6.97101 10.5862L6.98424 10.5929Z"],["s","M13.4022 6.83015C12.9892 6.68269 12.5429 6.59555 12.0833 6.59555C9.91842 6.59555 8.16655 8.35839 8.16655 10.5368C8.16655 12.0784 9.05248 13.4123 10.3314 14.0558C10.8576 14.3239 11.4505 14.4781 12.0833 14.4781C14.2481 14.4781 16 12.7152 16 10.5368C16 8.82759 14.9142 7.37978 13.4022 6.83015ZM14.4946 9.82631L12.1366 12.1656C12.0033 12.2996 11.8235 12.3667 11.6436 12.3667C11.4638 12.3667 11.3039 12.3063 11.164 12.179L10.0183 11.0931C9.7852 10.8719 9.77187 10.5033 9.99168 10.262C10.2115 10.0274 10.5779 10.014 10.8177 10.2352L11.637 11.006L13.3622 9.30349L13.6753 8.98846C13.9017 8.76056 14.2748 8.76726 14.5013 8.98846C14.7277 9.21635 14.7211 9.59171 14.5013 9.8196L14.4946 9.82631Z"]],mobile:[["b","M7.58039 10.9467V9.44667C7.58039 9.25333 7.62039 9.06667 7.68039 8.89333H6.42696C5.47355 8.89333 4.70015 8.12 4.70015 7.16667V5.66667C4.70015 4.71333 5.47355 3.94 6.42696 3.94H9.08051C9.28052 3.94 9.47387 3.98 9.65388 4.04667V3.98667C9.65388 3.03333 10.4273 2.26 11.3807 2.26H12.1874C11.9874 0.98 10.8807 0 9.54054 0H4.26679C2.78 0 1.57324 1.20667 1.57324 2.69333V13.3067C1.57324 14.7933 2.78 16 4.26679 16H9.54054C11.0273 16 12.2341 14.7933 12.2341 13.3067V12.6733H9.30053C8.34712 12.6733 7.57372 11.9 7.57372 10.9467H7.58039ZM6.907 15.1667C6.34696 15.1667 5.89359 14.7133 5.89359 14.1533C5.89359 13.5933 6.34696 13.14 6.907 13.14C7.46705 13.14 7.92041 13.5933 7.92041 14.1533C7.92041 14.7133 7.46705 15.1667 6.907 15.1667Z"],["s","M10.8273 3.98676V7.16676C10.8273 7.46676 11.0673 7.70676 11.3607 7.72009H13.1208C13.4142 7.70676 13.6542 7.46676 13.6542 7.16676V3.98676C13.6542 3.68009 13.4008 3.42676 13.0942 3.42676H11.3874C11.0807 3.42676 10.8273 3.68009 10.8273 3.98676Z"],["s","M9.08051 5.10547H6.42697C6.11766 5.10547 5.86691 5.35619 5.86691 5.66547V7.16547C5.86691 7.47475 6.11766 7.72547 6.42697 7.72547H9.08051C9.38981 7.72547 9.64055 7.47475 9.64055 7.16547V5.66547C9.64055 5.35619 9.38981 5.10547 9.08051 5.10547Z"],["s","M13.8675 8.88672H9.30711C9.00042 8.88672 8.74707 9.14005 8.74707 9.44672V10.9467C8.74707 11.2534 9.00042 11.5067 9.30711 11.5067H13.8675C14.1742 11.5067 14.4275 11.2534 14.4275 10.9467V9.44672C14.4275 9.14005 14.1742 8.88672 13.8675 8.88672Z"]],accounting:[["b","M9.55804 6.67528H14.2937C14.874 6.67528 15.3342 6.15506 15.2409 5.58149C14.774 2.74031 12.5395 0.499377 9.69812 0.0391856C9.1245 -0.0541866 8.60423 0.406005 8.60423 0.986246V5.72155C8.60423 6.24844 9.03111 6.67528 9.55804 6.67528Z"],["b","M7.71049 8.7765C7.32364 8.38967 7.1035 7.85612 7.1035 7.30922V2.47388C7.1035 1.89364 6.58991 1.44011 6.0163 1.53349C2.57459 2.09372 0.00667981 5.2617 0.420218 8.9499C0.453568 9.26337 0.520234 9.57016 0.593603 9.87029C1.22725 9.45011 1.98099 9.20334 2.79473 9.20334C4.98915 9.20334 6.77001 10.9841 6.77001 13.1783C6.77001 13.7786 6.62993 14.3522 6.38981 14.8657C6.39648 14.8657 6.40985 14.8657 6.41652 14.8657C8.13737 15.0324 9.73813 14.5589 11.0121 13.6519C11.4923 13.3117 11.5391 12.6114 11.1188 12.1913L7.71049 8.78317V8.7765Z"],["b","M15.0473 8.16878H11.6389C10.7918 8.16878 10.3717 9.1892 10.9653 9.78945L13.3798 12.2038C13.7867 12.6106 14.4737 12.5706 14.8072 12.1037C15.4008 11.2767 15.8143 10.303 15.9878 9.2559C16.0811 8.68233 15.6276 8.16878 15.0473 8.16878Z"],["s","M2.80136 10.3639C2.12102 10.3639 1.50072 10.6174 1.02049 11.0176C0.400177 11.5311 0 12.2981 0 13.1651C0 14.7124 1.25393 15.9729 2.80803 15.9729C3.82854 15.9729 4.70899 15.4261 5.20257 14.6124C5.45603 14.1922 5.61611 13.6987 5.61611 13.1651C5.61611 11.6178 4.36214 10.3573 2.80803 10.3573L2.80136 10.3639Z"]],communications:[["b","M9.00365 3.41285L7.77761 8.05006C7.5977 8.72299 6.9847 9.19604 6.28506 9.19604C6.03186 9.19604 5.77864 9.12941 5.55876 9.01614L4.5193 8.46314V10.7151C4.5193 12.0543 5.6054 13.1337 6.93804 13.1337H9.40343L12.4552 15.3257C12.6484 15.4589 12.9216 15.3257 12.9216 15.0992V13.1337H13.5813C14.9206 13.1337 16 12.0477 16 10.7151V5.83139C16 4.4922 14.9139 3.41285 13.5813 3.41285H9.00365Z"],["s","M6.09859 7.98975C6.15856 8.02306 6.21854 8.03639 6.27851 8.03639C6.44509 8.03639 6.59833 7.92978 6.64498 7.75656L8.40407 1.0939C8.4707 0.840717 8.27081 0.62085 8.0376 0.62085C7.98429 0.62085 7.931 0.634175 7.88436 0.654163L0.228323 4.16538C-0.0715206 4.29864 -0.0715059 4.6984 0.201685 4.84497L1.80087 5.69779L6.19855 2.55968C6.19855 2.55968 6.23854 2.53969 6.25187 2.53969C6.32517 2.53969 6.38512 2.63297 6.31849 2.6996L5.52557 3.51911L2.58712 6.53729L2.46718 7.79653C2.44053 8.04971 2.64043 8.21628 2.84699 8.21628C2.94028 8.21628 3.03354 8.18296 3.11349 8.10301L4.21961 6.98369L6.09196 7.98308L6.09859 7.98975Z"]],home:[["b","M5.68656 15.0234V12.5739C5.68656 11.9495 6.20426 11.4372 6.8352 11.4372H9.15676C9.46414 11.4372 9.75535 11.5573 9.97375 11.7654C10.1922 11.9736 10.3135 12.2617 10.3135 12.5659V15.0154C10.3135 15.2795 10.4186 15.5277 10.6047 15.7118C10.7907 15.8959 11.0415 16 11.3084 16H12.8939C13.63 16 14.3418 15.7118 14.8676 15.1995C15.3934 14.6872 15.6846 13.9908 15.6846 13.2623V6.29816C15.6846 5.70581 15.4177 5.15348 14.9566 4.77725L9.56121 0.542719C8.62288 -0.201726 7.2801 -0.177712 6.36604 0.598753L1.10007 4.76925C0.622814 5.13747 0.331608 5.6898 0.31543 6.29016V13.2543C0.31543 14.7752 1.56923 16.008 3.10615 16H4.65925C5.2093 16 5.6542 15.5677 5.66229 15.0234H5.68656Z"]],websites:[["b","M11.7413 12.9347L10.6088 9.50187C10.4584 9.05077 10.5352 8.55168 10.8136 8.16777C11.0919 7.78066 11.543 7.55031 12.0165 7.55031C12.1956 7.55031 12.3716 7.5823 12.5412 7.64629L14.3328 8.32133V5.27242C14.3328 2.90816 12.8099 1.31812 10.5448 1.31812H3.78474C1.52286 1.31812 0 2.90816 0 5.27242V10.7272C0 13.0915 1.52286 14.6815 3.78474 14.6815H10.5416C11.4726 14.6815 12.2724 14.4096 12.8995 13.9329C12.3652 13.8401 11.9141 13.4658 11.7413 12.9347ZM6.77607 4.45981H11.0119C11.3062 4.45981 11.543 4.69655 11.543 4.99089C11.543 5.28522 11.3062 5.52197 11.0119 5.52197H6.77607C6.48174 5.52197 6.24499 5.28522 6.24499 4.99089C6.24499 4.69655 6.48174 4.45981 6.77607 4.45981ZM4.36381 5.52197H3.13209C2.83776 5.52197 2.60101 5.28522 2.60101 4.99089C2.60101 4.69655 2.83776 4.45981 3.13209 4.45981H4.36381C4.65815 4.45981 4.89489 4.69655 4.89489 4.99089C4.89489 5.28522 4.65815 5.52197 4.36381 5.52197ZM7.5055 11.4662C7.10239 11.575 6.68329 11.9941 6.57451 12.3972C6.46574 12.8003 6.28658 12.8003 6.1778 12.3972C6.06903 11.9941 5.64992 11.575 5.24681 11.4662C4.84371 11.3574 4.84371 11.1783 5.24681 11.0695C5.64992 10.9607 6.06903 10.5416 6.1778 10.1385C6.28658 9.73541 6.46574 9.73541 6.57451 10.1385C6.68329 10.5416 7.10239 10.9607 7.5055 11.0695C7.90861 11.1783 7.90861 11.3574 7.5055 11.4662ZM8.75642 7.83824C8.52607 7.89903 8.28613 8.13898 8.22534 8.36932C8.16455 8.59967 8.06218 8.59967 7.99819 8.36932C7.93741 8.13898 7.69746 7.89903 7.46711 7.83824C7.23676 7.77746 7.23676 7.67508 7.46711 7.61109C7.69746 7.54711 7.93741 7.31036 7.99819 7.08001C8.05898 6.84967 8.16136 6.84967 8.22534 7.08001C8.28613 7.31036 8.52607 7.55031 8.75642 7.61109C8.98677 7.67188 8.98677 7.77426 8.75642 7.83824Z"],["s","M15.8139 12.0274L15.0525 11.234L15.6955 10.6165C15.9195 10.4022 15.8427 10.0247 15.5516 9.9159L12.1667 8.64579C12.1155 8.62659 12.0643 8.61699 12.0164 8.61699C11.7444 8.61699 11.5205 8.88893 11.6164 9.17367L12.749 12.6065C12.8098 12.7921 12.9793 12.8976 13.1521 12.8976C13.2545 12.8976 13.36 12.8592 13.4432 12.7793L14.0863 12.1618L14.1087 12.1842L14.8477 12.9552C14.9789 13.0928 15.1548 13.16 15.3308 13.16C15.5068 13.16 15.6635 13.0992 15.7947 12.9744C16.0602 12.7185 16.0698 12.2962 15.8139 12.0306V12.0274Z"]],media:[["s","M13.0054 0.794678H8.4102C7.06965 0.794678 6.06258 1.49491 5.63574 2.62862H8.17679C10.7712 2.62862 12.5786 4.49591 12.5786 7.17014V11.3916H12.9988C14.7928 11.3916 16 10.1311 16 8.25717V3.93573C16 2.06177 14.7928 0.801347 12.9988 0.801347L13.0054 0.794678ZM14.6528 8.95074C14.6528 9.26418 14.3993 9.51759 14.0859 9.51759H13.7924C13.479 9.51759 13.2255 9.26418 13.2255 8.95074V8.65731C13.2255 8.34387 13.479 8.09045 13.7924 8.09045H14.0859C14.3993 8.09045 14.6528 8.34387 14.6528 8.65731V8.95074ZM14.6528 6.24317C14.6528 6.5566 14.3993 6.81002 14.0859 6.81002H13.7924C13.479 6.81002 13.2255 6.5566 13.2255 6.24317V5.94973C13.2255 5.6363 13.479 5.38288 13.7924 5.38288H14.0859C14.3993 5.38288 14.6528 5.6363 14.6528 5.94973V6.24317ZM14.6528 3.53559C14.6528 3.84903 14.3993 4.10245 14.0859 4.10245H13.7924C13.479 4.10245 13.2255 3.84903 13.2255 3.53559V3.24216C13.2255 2.92872 13.479 2.67531 13.7924 2.67531H14.0859C14.3993 2.67531 14.6528 2.92872 14.6528 3.24216V3.53559Z"],["b","M8.18336 3.79468H3.23467C1.30054 3.79468 0 5.14846 0 7.16914V11.8307C0 13.8514 1.30054 15.2052 3.23467 15.2052H8.18336C10.1175 15.2052 11.418 13.8514 11.418 11.8307V7.16914C11.418 5.14846 10.1175 3.79468 8.18336 3.79468ZM4.28175 6.15547C4.75528 6.15547 5.16879 6.40222 5.40888 6.76901C5.54894 6.98241 5.62899 7.23583 5.62899 7.50925C5.62899 7.78268 5.54894 8.0361 5.40888 8.2495C5.16879 8.61629 4.75528 8.86304 4.28175 8.86304C3.53478 8.86304 2.92786 8.25617 2.92786 7.50925C2.92786 6.76234 3.53478 6.15547 4.28175 6.15547ZM10.0575 12.7443C9.82404 13.3112 9.35051 13.7513 8.77027 13.9514C8.51684 14.0314 8.25006 14.0714 7.98329 14.0714C7.98329 14.0714 7.96995 14.0714 7.96328 14.0714H3.15464C3.15464 14.0714 3.12128 14.0714 3.10127 14.0714C2.6811 14.0714 2.26759 13.9581 1.90744 13.7447C1.8074 13.6847 1.74071 13.5779 1.7207 13.4579C1.70069 13.3312 1.73405 13.1978 1.81408 13.0978C2.07419 12.771 2.34095 12.4376 2.59439 12.1108L2.6144 12.0841C3.01456 11.5706 3.31469 11.3572 3.60148 11.3572C3.69485 11.3572 3.78156 11.3772 3.8616 11.4172C4.02833 11.4973 4.18172 11.5906 4.33512 11.6973C4.65525 11.9574 5.04207 12.1108 5.45557 12.1441C5.69567 12.1441 5.93577 12.0774 6.14252 11.9507C6.48933 11.724 6.78946 11.4239 7.02289 11.0838C7.10959 10.9571 7.18962 10.8237 7.26298 10.6836L7.32302 10.5769C7.41639 10.4236 7.50308 10.2768 7.60313 10.1435C7.7832 9.88338 8.06332 9.71666 8.38346 9.68331C8.53685 9.68331 8.69024 9.73 8.81696 9.81669C9.20379 10.0768 9.56394 10.3835 9.88407 10.7303C10.0108 10.857 10.1108 11.0104 10.1775 11.1771C10.1975 11.2505 10.2109 11.3239 10.2242 11.3972C10.3176 11.8507 10.2642 12.3242 10.0641 12.7443H10.0575Z"]],equip:[["g","M15.7065 11.6492C15.9902 11.6492 16 11.9038 16 12.1947C16 13.0223 15.266 14.1883 13.6513 14.1884H2.34868C0.73399 14.1884 0 12.813 0 12.1947C1.26508e-05 11.9038 0.0597413 11.6492 0.343544 11.6492H15.7065Z"],["g","M14.1232 2.10404C14.4185 1.80875 15.0266 1.68506 15.3219 1.98035L15.7827 2.44079C16.0779 2.73608 15.9542 3.34415 15.659 3.63944L12.9364 6.36206C12.4939 6.80454 11.7535 6.93297 11.1568 7.05737C10.8633 7.11849 10.6612 6.91063 10.7167 6.61694C10.812 6.11297 10.9584 5.2689 11.4006 4.82665L14.1232 2.10404Z"],["g","M11.3194 2.33844C11.6177 2.33844 11.901 2.37115 12.1673 2.43353L10.8286 3.80627H5.37475C4.31034 3.80627 3.7381 4.09111 3.43717 4.38004C3.14277 4.66271 2.91596 5.13345 2.91596 5.91222V9.33479H3.09935V10.8023H1.44812V5.91222C1.44812 3.83508 2.65349 2.4286 5.13094 2.34273L5.37475 2.33844H11.3194Z"],["g","M8.05339 10.8023H3.09935V9.33479H8.05339V10.8023Z"],["g","M13.0074 10.8023H8.05339V9.33479H13.0074V10.8023Z"],["g","M14.659 10.8023H13.0074V9.33479H13.1908V7.32608C13.3914 7.21102 13.5903 7.06663 13.7699 6.88244L14.659 5.97085V10.8023Z"],["g","M5.84637 5.78923C5.88566 5.78923 5.92503 5.81591 5.94468 5.85608C5.94468 5.85608 6.05874 6.38796 6.28536 6.61967C6.51043 6.84963 7.02445 6.9662 7.03179 6.96786C7.07109 6.98795 7.09757 7.02813 7.09757 7.06831C7.09753 7.10846 7.07106 7.14859 7.03179 7.16197C7.02353 7.16391 6.50997 7.28539 6.28536 7.51696C6.06163 7.74765 5.94663 8.27125 5.94468 8.28019C5.92503 8.32037 5.88567 8.3474 5.84637 8.3474C5.80708 8.34738 5.76795 8.32036 5.75485 8.28019C5.7532 8.27283 5.6344 7.74689 5.40773 7.51696C5.18155 7.28765 4.66727 7.1702 4.66095 7.16876C4.62168 7.14869 4.60199 7.10846 4.60196 7.06831C4.60196 7.02813 4.62165 6.98795 4.66095 6.96786C4.66429 6.9671 5.18089 6.84964 5.40773 6.61967C5.63606 6.38816 5.75485 5.85608 5.75485 5.85608C5.76798 5.81595 5.80711 5.78924 5.84637 5.78923Z"],["g","M8.51277 4.43973C8.53816 4.43978 8.5637 4.45703 8.5764 4.48299C8.57732 4.48726 8.65089 4.82804 8.79661 4.97703C8.94142 5.12504 9.27127 5.20037 9.27957 5.20225C9.305 5.21525 9.32211 5.24131 9.32211 5.26731C9.3221 5.2933 9.30499 5.31942 9.27957 5.32808C9.27066 5.33018 8.94113 5.40858 8.79661 5.55759C8.65059 5.70815 8.5764 6.05163 8.5764 6.05163C8.5637 6.07759 8.53816 6.09484 8.51277 6.09489C8.48737 6.09489 8.46193 6.07758 8.45342 6.05163C8.45342 6.05163 8.37631 5.70738 8.22857 5.55759C8.08238 5.40947 7.75058 5.33351 7.7456 5.33237C7.72018 5.31938 7.70736 5.2933 7.70735 5.26731C7.70735 5.24131 7.72017 5.21525 7.7456 5.20225C7.74989 5.20127 8.0822 5.12529 8.22857 4.97703C8.37631 4.82724 8.45342 4.48299 8.45342 4.48299C8.46191 4.457 8.48735 4.43973 8.51277 4.43973Z"]]},rippled:{people:[["s","M11.9118 12.5101C12.9312 11.6436 13.6556 10.4438 13.9078 9.07867C13.441 8.38012 12.7032 7.8602 11.8071 7.6949C11.174 7.57759 10.5543 7.65757 10.0016 7.88687C11.0962 8.92403 11.7588 10.3051 11.8635 11.8142L11.9118 12.5074V12.5101Z"],["s","M11.6032 6.65229C12.9286 7.16154 14.3263 6.20703 14.321 4.79393C14.3183 4.01007 13.8085 3.27419 13.0734 2.99157C11.7481 2.47965 10.3504 3.43683 10.3557 4.84993C10.3584 5.63379 10.8681 6.36967 11.6032 6.65229Z"],["s","M15.6543 8.77189C15.6275 8.76656 15.6033 8.76656 15.5765 8.76656C15.3887 8.77456 15.2251 8.9132 15.1956 9.10517C15.1151 9.62242 14.9782 10.1317 14.7878 10.6196C14.718 10.7982 14.7878 10.9982 14.9434 11.0995C14.9648 11.1128 14.989 11.1262 15.0158 11.1368C15.0641 11.1555 15.1124 11.1635 15.1634 11.1635C15.3243 11.1635 15.4773 11.0675 15.539 10.9102C15.7509 10.369 15.9038 9.80105 15.995 9.22782C16.0299 9.00919 15.877 8.80655 15.6597 8.77189H15.6543Z"],["s","M8.04045 15.1974C5.50517 15.1974 3.27305 13.8963 1.97993 11.9313C1.66872 11.4594 1.41385 10.9501 1.22069 10.4116C0.949722 9.65968 0.802167 8.84915 0.802167 8.00396C0.802167 7.77999 0.815581 7.55603 0.837043 7.33474C0.866555 7.02279 0.912163 6.71351 0.981916 6.41222C1.03021 6.19626 0.896066 5.98296 0.678756 5.93497C0.461447 5.88431 0.246821 6.02029 0.19853 6.23625C0.0670708 6.81216 0 7.40939 0 8.00662C0 12.4139 3.60841 16 8.04313 16C8.2658 16 8.44555 15.8213 8.44555 15.6C8.44555 15.5734 8.44287 15.5494 8.43751 15.5227C8.40263 15.3387 8.23898 15.2001 8.04313 15.2001L8.04045 15.1974Z"],["s","M14.2834 12.4006C14.2619 12.382 14.2378 12.3686 14.2136 12.3553C14.0473 12.2727 13.838 12.3127 13.72 12.4646C12.8991 13.4938 11.8152 14.2803 10.5838 14.7416C10.4013 14.8109 10.2967 14.9949 10.3289 15.1788C10.3343 15.2055 10.3396 15.2295 10.3504 15.2562C10.4121 15.4161 10.565 15.5148 10.726 15.5148C10.7743 15.5148 10.8199 15.5068 10.8682 15.4881C12.2364 14.9789 13.441 14.1044 14.3532 12.9605C14.49 12.7872 14.4605 12.5366 14.2888 12.398L14.2834 12.4006Z"],["b","M10.903 12.8137L10.8386 11.8885C10.7769 11.022 10.4979 10.2221 10.0552 9.53957C9.78961 9.12897 9.46767 8.76103 9.10013 8.44642C8.21211 7.68655 7.05849 7.23062 5.81366 7.23062C5.69561 7.23062 5.57488 7.23596 5.45416 7.24395C4.1342 7.33727 2.96986 7.92651 2.13281 8.81703C2.53255 11.7045 5.02759 13.9335 8.04041 13.9335C8.24162 13.9335 8.44015 13.9228 8.636 13.9042C8.69234 13.8988 8.75136 13.8908 8.8077 13.8828C9.50792 13.7922 10.1679 13.5842 10.7715 13.2723C10.8654 13.1416 10.9164 12.9817 10.903 12.8137Z"],["b","M4.96592 6.14297C6.67283 6.14297 8.05655 4.76782 8.05655 3.07149C8.05655 1.37515 6.67283 0 4.96592 0C3.25902 0 1.8753 1.37515 1.8753 3.07149C1.8753 4.76782 3.25902 6.14297 4.96592 6.14297Z"]],giving:[["s","M6.05376 5.71666C6.40376 6.05544 6.77247 6.37288 7.15453 6.67698H10.1576C10.2351 6.67698 10.3099 6.69299 10.3847 6.70099C10.7721 6.39155 11.1488 6.06611 11.5042 5.722C12.0626 5.16182 12.4847 4.48693 12.7465 3.74001C12.9736 3.03045 12.9523 2.26486 12.6824 1.56863C12.4099 0.87774 11.8408 0.346899 11.1328 0.120157C10.8843 0.040131 10.6251 -0.00254965 10.366 0.00011789H10.3473C9.7782 0.00011789 9.22782 0.189514 8.77629 0.536294C8.74156 0.512286 8.70682 0.488278 8.66942 0.466938L8.65339 0.456268C8.63736 0.445598 8.61598 0.43226 8.59461 0.416255C8.5572 0.386912 8.51713 0.360236 8.47705 0.338896L8.31942 0.26954C8.23659 0.224192 8.14842 0.189514 8.06026 0.162838C8.04957 0.152168 8.03621 0.144165 8.02285 0.13883H7.9988C7.75567 0.0561363 7.50186 0.0107881 7.2427 0.00278543H7.19727C7.08239 0.00278543 6.96483 0.0107881 6.84995 0.0267933H6.79918C6.67361 0.0427986 6.55071 0.0721416 6.43315 0.112155C5.71979 0.341564 5.14803 0.875072 4.87017 1.56863C4.59765 2.2622 4.57627 3.03311 4.81139 3.74001C5.07589 4.48159 5.49803 5.15648 6.05376 5.71666Z"],["s","M13.126 13.2818C11.9584 14.3648 10.4809 15.021 8.90992 15.1704C8.68015 15.1917 8.45037 15.2024 8.21793 15.2024C6.09655 15.2024 4.18624 14.2821 2.86372 12.8203C2.2786 12.1721 1.80837 11.4172 1.48776 10.5876C1.17516 9.78196 1.00417 8.90967 1.00417 7.99737C1.00417 7.83998 0.910655 7.70394 0.777066 7.63725C0.723631 7.61058 0.664852 7.59724 0.603401 7.59724C0.381645 7.59724 0.202637 7.77596 0.202637 7.99737C0.202637 12.4095 3.79883 16 8.21793 16C10.2458 16 12.1828 15.2424 13.6683 13.8633C13.8313 13.7139 13.8393 13.4605 13.6897 13.2978C13.5401 13.1351 13.2863 13.1271 13.1233 13.2764L13.126 13.2818Z"],["s","M0.811802 6.1995C0.849207 6.21017 0.889283 6.2155 0.926688 6.2155C1.10035 6.2155 1.25799 6.10347 1.31142 5.93008C1.62669 4.8764 2.19577 3.89207 2.95188 3.08381C3.10417 2.92376 3.09349 2.67034 2.93318 2.51829C2.77288 2.36624 2.51906 2.37691 2.36677 2.53696C1.52516 3.43592 0.894626 4.52962 0.541953 5.70067C0.477831 5.91141 0.598061 6.13548 0.811802 6.1995Z"],["b","M15.4638 8.34956C15.2981 8.20018 15.1031 8.14149 14.8973 8.14149C14.6435 8.14149 14.3737 8.23219 14.1279 8.34956L12.0813 9.3819C11.5897 9.60598 11.221 9.88073 10.7614 9.88073H9.02747C8.56526 9.91008 8.27404 10.0621 7.98816 10.4463C7.92938 10.5236 7.84121 10.5636 7.75304 10.5636C7.69159 10.5636 7.63014 10.545 7.57671 10.5049C7.47518 10.4302 7.44045 10.3022 7.47251 10.1902C7.4832 10.1555 7.49655 10.1235 7.51793 10.0941C7.57671 10.0168 7.63548 9.94742 7.69426 9.8834C8.08434 9.4646 8.54121 9.2832 9.17976 9.2832H10.0935C10.5317 9.2832 10.9137 8.98444 10.9779 8.59231C11.0179 8.34423 10.9538 8.10148 10.7908 7.91209C10.6305 7.72536 10.3981 7.61599 10.1523 7.61599H6.72709C5.84807 7.61599 4.98242 7.92276 4.29578 8.4776L3.60112 9.04046C3.58242 9.05379 3.56372 9.0618 3.54501 9.07513C3.41677 9.15516 3.28585 9.21918 3.16028 9.2672C2.82097 9.39524 2.52707 9.41658 2.43623 9.42192C2.76753 10.809 3.59043 12.0094 4.70723 12.831H11.1061C11.5603 12.831 12.0038 12.6763 12.3592 12.3936L15.421 9.88607C15.8966 9.50728 15.934 8.7817 15.4611 8.3549L15.4638 8.34956Z"]],"service-planning":[["b","M8.9437 11.1697C8.9437 10.5565 9.37022 9.97806 9.97001 9.78879L12.3878 9.07437V4.9158C12.3878 3.26571 11.4468 2.31936 9.80474 2.31936H6.9284C4.49457 3.05778 2.71651 5.32366 2.71651 7.99474C2.71651 9.9674 3.69484 11.8068 5.33161 12.913C5.39559 12.9557 5.44891 13.009 5.49689 13.0677H8.9437V11.167V11.1697ZM6.53387 4.90781H9.78874C10.0633 4.90781 10.2872 5.13173 10.2872 5.4063C10.2872 5.68087 10.0633 5.9048 9.78874 5.9048H6.53387C6.25929 5.9048 6.03537 5.68087 6.03537 5.4063C6.03537 5.13173 6.25929 4.90781 6.53387 4.90781ZM5.38226 8.24266C5.29163 8.33863 5.16634 8.39194 5.03572 8.39194C4.90509 8.39194 4.77447 8.34129 4.68117 8.24266C4.63585 8.19734 4.59587 8.14669 4.57187 8.08271C4.54255 8.0214 4.53189 7.95742 4.53189 7.89345C4.53189 7.76282 4.58254 7.6322 4.68117 7.54157C4.86244 7.3523 5.20099 7.3523 5.38226 7.54157C5.47823 7.6322 5.53154 7.75749 5.53154 7.89345C5.53154 8.0294 5.4809 8.14936 5.38226 8.23999V8.24266ZM5.38226 5.75818C5.29163 5.85415 5.16634 5.90746 5.03572 5.90746C4.90509 5.90746 4.77447 5.85681 4.68117 5.75818C4.63585 5.71286 4.59587 5.65688 4.57187 5.59824C4.54255 5.53692 4.53189 5.47295 4.53189 5.40364C4.53189 5.27301 4.58254 5.14772 4.68117 5.05709C4.86244 4.86782 5.20099 4.86782 5.38226 5.05709C5.47823 5.14772 5.53154 5.27301 5.53154 5.40364C5.53154 5.53426 5.4809 5.66488 5.38226 5.75551V5.75818ZM8.16264 8.38927H6.53653C6.26196 8.38927 6.03804 8.16535 6.03804 7.89078C6.03804 7.61621 6.26196 7.39228 6.53653 7.39228H8.16264C8.43721 7.39228 8.66113 7.61621 8.66113 7.89078C8.66113 8.16535 8.43721 8.38927 8.16264 8.38927Z"],["s","M14.8377 9.41027C14.8004 9.41027 14.7391 9.41827 14.7044 9.4316L10.2526 10.7485C10.0794 10.8018 9.94074 10.9937 9.94074 11.1723V14.2726C9.82078 14.2433 9.62085 14.2193 9.49556 14.2193C8.75715 14.2193 8.16002 14.6191 8.16002 15.1096C8.16002 15.6001 8.75715 16 9.49556 16C10.234 16 10.8311 15.6001 10.8311 15.1096V12.3959L14.3925 11.3509V13.3822C14.2726 13.3529 14.0727 13.3289 13.9474 13.3289C13.209 13.3289 12.6118 13.7288 12.6118 14.2193C12.6118 14.7098 13.209 15.1096 13.9474 15.1096C14.6858 15.1096 15.2829 14.7098 15.2829 14.2193V9.86078C15.2829 9.61553 15.083 9.4156 14.8377 9.4156V9.41027Z"],["s","M1.9941 4.30518C2.01809 4.32118 2.04208 4.32918 2.06874 4.33717C2.11406 4.35317 2.15938 4.36383 2.20736 4.36383C2.34065 4.36383 2.47127 4.29719 2.54591 4.17723C2.70319 3.92398 2.87913 3.68406 3.06573 3.45481C3.27099 3.20423 3.48959 2.96698 3.72417 2.74839C4.27065 2.2339 4.89443 1.80471 5.57953 1.48216C6.54187 1.02898 7.57351 0.799725 8.64514 0.799725C8.86906 0.799725 9.09299 0.810388 9.31424 0.831714C10.983 0.983661 12.5345 1.70874 13.7341 2.90833C13.8913 3.06561 14.1446 3.06561 14.2992 2.90833C14.4538 2.75105 14.4565 2.49781 14.2992 2.34319C12.793 0.831714 10.7831 0 8.64781 0C7.45622 0 6.30995 0.255912 5.24098 0.759738C3.85213 1.41551 2.68453 2.44982 1.86881 3.75337C1.75152 3.93998 1.8075 4.18789 1.9941 4.30518Z"],["s","M1.11707 7.38682C1.11707 7.38682 1.13573 7.38148 1.14373 7.38148C1.33033 7.36816 1.48761 7.22954 1.51161 7.04027C1.56492 6.64307 1.65022 6.24854 1.77018 5.86734C1.82616 5.6834 1.74353 5.48614 1.57825 5.39817C1.55426 5.38484 1.53027 5.37418 1.50627 5.36618C1.29568 5.3022 1.07176 5.41949 1.00511 5.63009C0.874491 6.05394 0.778524 6.49379 0.719878 6.93364C0.690555 7.15223 0.845168 7.35483 1.06376 7.38415C1.08242 7.38415 1.09841 7.38682 1.11707 7.38682Z"],["s","M1.77024 10.13C1.71159 9.94603 1.53298 9.8314 1.34638 9.85006C1.31972 9.85273 1.29573 9.85806 1.26908 9.86605C1.05848 9.9327 0.941188 10.1566 1.00517 10.3672C1.46368 11.8467 2.33804 13.1529 3.53496 14.1499C3.6096 14.2112 3.70024 14.2432 3.79087 14.2432C3.9055 14.2432 4.02013 14.1952 4.09743 14.0993C4.11609 14.0779 4.12942 14.0566 4.14275 14.0326C4.23072 13.8673 4.19607 13.6594 4.04679 13.5368C2.96982 12.6411 2.18343 11.4628 1.77024 10.1326V10.13Z"]],streaming:[["b","M15.1202 4.95989L14.035 5.58013C13.851 5.68395 13.739 5.87828 13.739 6.09124V9.17119C13.739 9.38149 13.851 9.57582 14.035 9.6823L15.1202 10.3025C15.5121 10.5262 16 10.244 16 9.79144V5.47365C16 5.02377 15.5121 4.73894 15.1202 4.96255V4.95989Z"],["b","M4.83654 12.0304H10.0357C11.5181 11.9719 12.6752 10.7047 12.6139 9.20869V5.80398C12.5419 4.35584 11.3528 3.23247 9.93436 3.23247C9.88636 3.23247 9.83571 3.23247 9.78505 3.2378L8.6679 4.36383C8.57725 4.46498 8.45994 4.54751 8.33196 4.60341C8.38795 4.76845 8.41727 4.94415 8.41727 5.12516C8.41194 6.00097 7.69473 6.71705 6.80954 6.71971C6.38561 6.71971 5.98835 6.55466 5.68706 6.25386C5.39111 5.95837 5.22581 5.55907 5.22047 5.1225C5.22047 4.94415 5.25247 4.77112 5.30846 4.60873C5.19381 4.55815 5.08983 4.48894 5.00184 4.4011L3.8527 3.23247H3.63141C3.55942 3.23513 3.48743 3.24312 3.41544 3.25111C2.54092 4.30793 2.061 5.64692 2.061 7.01785C2.061 9.12351 3.16748 10.9736 4.82854 12.0251L4.83654 12.0304Z"],["s","M4.18864 2.44438L4.44726 2.70259C4.48992 2.74519 4.54858 2.76648 4.60724 2.76648C4.66056 2.76648 4.71388 2.74785 4.75654 2.71058C4.86053 2.61475 4.9885 2.5269 5.12714 2.44172C5.63373 2.13026 6.31628 1.90399 6.8362 1.89867H6.83886C6.83886 1.89867 6.84687 1.90133 6.84953 1.90133C7.37744 1.90133 8.06799 2.1276 8.57191 2.44172C8.69722 2.51892 8.81186 2.60144 8.90785 2.68662C8.94784 2.72389 8.9985 2.74252 9.05183 2.74252C9.11315 2.74252 9.17447 2.7159 9.21713 2.66799L9.53708 2.34855C9.57174 2.31394 9.60374 2.24207 9.60374 2.18883C9.60374 2.13292 9.57175 2.06105 9.53175 2.02112H9.53441L9.52908 2.01313C8.79854 1.34763 7.86536 0.985596 6.87353 0.985596C6.86553 0.985596 6.85753 0.985596 6.84953 0.985596C5.84703 0.99092 4.90319 1.3636 4.15664 2.04242C4.11132 2.08235 4.07665 2.15954 4.07665 2.21811C4.07399 2.26869 4.10598 2.34322 4.13531 2.38315L4.19397 2.44172L4.18864 2.44438Z"],["s","M6.8282 4.31838C6.38294 4.31838 6.02033 4.68307 6.01766 5.12763C6.01766 5.34858 6.10831 5.55089 6.25229 5.69464C6.39627 5.83839 6.59091 5.9289 6.81487 5.9289C6.81487 5.9289 6.81753 5.9289 6.8202 5.9289C7.26546 5.9289 7.62807 5.5642 7.63073 5.11964C7.63073 4.8987 7.54008 4.69638 7.3961 4.55263C7.25213 4.40889 7.05749 4.31838 6.83353 4.31838C6.83353 4.31838 6.83086 4.31838 6.8282 4.31838Z"],["s","M7.93467 3.89778C7.988 3.89778 8.05999 3.86849 8.08932 3.8259L8.4146 3.50114C8.45459 3.46121 8.48391 3.39199 8.48391 3.33875C8.48391 3.30681 8.47058 3.26954 8.45192 3.2376C8.43859 3.21098 8.42526 3.18702 8.4066 3.16838H8.40926L8.40126 3.15774C8.26262 3.04061 8.07598 2.93146 7.87069 2.84362C7.53474 2.69455 7.14814 2.59871 6.84686 2.59871C6.84419 2.59871 6.84152 2.59871 6.83886 2.59871C6.54024 2.59871 6.1643 2.69721 5.83103 2.84362C5.61506 2.93679 5.41776 3.05126 5.27112 3.17637C5.25245 3.18968 5.23912 3.2163 5.22313 3.2376C5.19913 3.27753 5.18314 3.32012 5.18314 3.35739C5.18314 3.41063 5.21246 3.4825 5.24445 3.52509L5.56973 3.84986C5.60439 3.88447 5.67638 3.91375 5.72171 3.91375C5.76437 3.91375 5.8257 3.89245 5.85769 3.86583C6.09232 3.67683 6.52691 3.52243 6.82819 3.51977C6.82819 3.51977 6.83085 3.51977 6.83352 3.51977C7.1348 3.51977 7.56407 3.6715 7.79603 3.85518C7.82803 3.8818 7.88935 3.90044 7.93201 3.90044L7.93467 3.89778Z"],["s","M1.08249 5.02384C1.17047 4.71504 1.28245 4.40891 1.4131 4.11343C1.49042 3.93773 1.43176 3.73808 1.28511 3.62894C1.26112 3.61297 1.23712 3.597 1.21046 3.58635C1.00783 3.49584 0.773204 3.58635 0.682553 3.78866C0.538577 4.11609 0.413263 4.45683 0.314613 4.80023C0.213296 5.14895 0.135977 5.50832 0.0826523 5.87036C0.0266616 6.24836 0 6.63702 0 7.02301C0 7.73643 0.0933146 8.44719 0.27995 9.12866C0.327942 9.30702 0.490585 9.42414 0.666556 9.42414C0.701217 9.42414 0.735876 9.41882 0.773203 9.41083C0.799866 9.40285 0.823861 9.39486 0.847857 9.38155C1.01316 9.29903 1.10381 9.10736 1.05315 8.92102C0.885182 8.3061 0.799867 7.66721 0.799867 7.02567C0.799867 6.67961 0.823863 6.33088 0.874521 5.98748C0.922513 5.66272 0.991835 5.34062 1.08249 5.0265V5.02384Z"],["s","M12.8992 12.2912C11.7288 13.3773 10.2463 14.0348 8.67061 14.1812C8.44931 14.2025 8.22534 14.2132 8.00138 14.2132C5.62844 14.2132 3.41015 13.0472 2.0637 11.0906C1.95439 10.9309 1.74909 10.8777 1.57845 10.9495C1.55445 10.9602 1.53046 10.9735 1.50646 10.9895C1.32516 11.1146 1.27716 11.3621 1.40248 11.5458C2.89823 13.718 5.36449 15.0144 7.99872 15.0144C10.0251 15.0144 11.9581 14.2557 13.4405 12.8821C13.6031 12.7331 13.6111 12.4802 13.4618 12.3178C13.3125 12.1554 13.0592 12.1474 12.8966 12.2965L12.8992 12.2912Z"]],safety:[["b","M8.24791 11.3415C8.24791 8.88911 10.2126 6.89418 12.6278 6.89418C13.0197 6.89418 13.3955 6.95102 13.7581 7.04847L13.7447 5.00211C13.7394 4.46886 13.3982 3.99787 12.897 3.83276L8.3972 2.30069C8.12529 2.20866 7.83205 2.20866 7.56281 2.3061L4.20926 3.4944C3.26824 4.29021 2.57248 5.37294 2.25525 6.60996L2.27392 9.63891C2.28458 11.0329 2.80174 12.3755 3.7241 13.4068C4.19861 13.9211 4.75841 14.3461 5.3822 14.6574L7.82406 15.9404C7.89871 15.9783 7.98133 16 8.06397 16H8.06931C8.15462 16 8.23725 15.9783 8.31189 15.9377L10.098 14.9659C8.981 14.1593 8.24791 12.8357 8.24791 11.3415Z"],["s","M13.7661 8.1258C13.4115 7.99587 13.0277 7.92279 12.6305 7.92279C10.7697 7.92279 9.26091 9.45485 9.26091 11.3442C9.26091 12.6841 10.0207 13.8399 11.1243 14.4002C11.5775 14.6303 12.0866 14.7629 12.6305 14.7629C14.4912 14.7629 16 13.2309 16 11.3415C16 9.85817 15.0696 8.59949 13.7687 8.1258H13.7661ZM14.7098 10.7271L12.6811 12.7545C12.5638 12.8736 12.4092 12.9331 12.2572 12.9331C12.1053 12.9331 11.9587 12.8763 11.8414 12.7653L10.8551 11.8287C10.6498 11.6338 10.6418 11.309 10.8311 11.1033C11.023 10.8949 11.3429 10.8841 11.5455 11.0789L12.2466 11.7448L13.7288 10.2642L13.9953 9.99892C14.1953 9.79862 14.5152 9.80132 14.7124 10.0043C14.9097 10.2073 14.907 10.5322 14.7071 10.7325L14.7098 10.7271Z"],["s","M0.831721 8.79986C0.810395 8.57519 0.799733 8.34782 0.799733 8.12044C0.799733 7.26779 0.943684 6.43409 1.22359 5.64099C1.29023 5.45692 1.2156 5.25391 1.05565 5.15647C1.03433 5.14293 1.01033 5.1321 0.983672 5.12128C0.775742 5.04549 0.546489 5.15376 0.471848 5.36489C0.159952 6.24732 0 7.17305 0 8.11774C0 9.12197 0.17861 10.0991 0.527827 11.0276C0.589139 11.19 0.741087 11.2874 0.901034 11.2874C0.949018 11.2874 0.997004 11.2793 1.04499 11.2604C1.25025 11.1792 1.35421 10.9437 1.27424 10.7352C1.03699 10.11 0.890374 9.46033 0.829061 8.79445L0.831721 8.79986Z"],["s","M11.5268 0.830997C10.4232 0.278803 9.23692 0 8 0C6.76308 0 5.66211 0.259856 4.59313 0.771447C3.30556 1.3886 2.20194 2.34411 1.39688 3.54053C1.27159 3.7246 1.31957 3.97904 1.50084 4.10355C1.52483 4.11979 1.54882 4.12792 1.57281 4.13874C1.62346 4.1604 1.67411 4.17393 1.72476 4.17393C1.85272 4.17393 1.97802 4.11167 2.05533 3.99799C2.78042 2.92338 3.77475 2.0599 4.93436 1.505C5.89671 1.04484 6.92836 0.812049 8 0.812049C8.22659 0.812049 8.44786 0.825583 8.67178 0.844531C9.54349 0.925736 10.3859 1.16394 11.1749 1.55913C11.3722 1.65929 11.6121 1.57537 11.7108 1.37507C11.8094 1.17476 11.7268 0.931149 11.5295 0.830997H11.5268Z"]],mobile:[["b","M13.2752 12.068C13.2752 12.052 13.2752 12.036 13.2752 12.02V10.3901H10.8652C10.0878 10.3901 9.45455 9.75791 9.45455 8.98165V7.74657C9.45455 7.58652 9.48661 7.43447 9.53737 7.29042H8.49805C7.72057 7.29042 7.08736 6.65821 7.08736 5.88195V4.64688C7.08736 3.87062 7.72057 3.23841 8.49805 3.23841H10.6836C10.8519 3.23841 11.0095 3.27309 11.1591 3.32644V3.26775C11.1591 2.49149 11.7923 1.85928 12.5698 1.85928H13.2378C13.0668 0.808269 12.1611 0 11.0603 0H6.72667C5.50299 0 4.51444 0.989662 4.51444 2.2114V11.98C5.60452 13.1884 7.18087 13.9486 8.93355 13.9486C10.6862 13.9486 12.1611 13.2604 13.2752 12.0707V12.068ZM8.06522 11.6065C8.06522 11.1477 8.43928 10.7742 8.89882 10.7742C9.35837 10.7742 9.73241 11.1477 9.73241 11.6065C9.73241 12.0653 9.35837 12.4388 8.89882 12.4388C8.43928 12.4388 8.06522 12.0653 8.06522 11.6065Z"],["s","M12.1156 3.2652V5.8794C12.1156 6.13282 12.3214 6.33555 12.5725 6.33555H13.9779C14.2317 6.33555 14.4347 6.13015 14.4347 5.8794V3.2652C14.4347 3.01178 14.229 2.80905 13.9779 2.80905H12.5725C12.3187 2.80905 12.1156 3.01445 12.1156 3.2652Z"],["s","M10.6889 4.1881H8.50073C8.2484 4.1881 8.04385 4.39233 8.04385 4.64425V5.87933C8.04385 6.13126 8.2484 6.33548 8.50073 6.33548H10.6889C10.9412 6.33548 11.1458 6.13126 11.1458 5.87933V4.64425C11.1458 4.39233 10.9412 4.1881 10.6889 4.1881Z"],["s","M15.0786 7.74392C15.0786 7.49051 14.8729 7.28777 14.6218 7.28777H10.8706C10.6168 7.28777 10.4137 7.49317 10.4137 7.74392V8.979C10.4137 9.23242 10.6194 9.43515 10.8706 9.43515H14.6218C14.8756 9.43515 15.0786 9.22975 15.0786 8.979V7.74392Z"],["s","M1.71976 7.9998C1.71976 7.77839 1.73312 7.55698 1.75449 7.33824C1.85067 6.2979 2.16594 5.28956 2.69228 4.38793C2.8045 4.19587 2.7377 3.95312 2.54801 3.84108C2.35831 3.72904 2.11251 3.79573 2.00029 3.98513C1.29494 5.19887 0.920898 6.58599 0.920898 7.9998C0.920898 10.2859 1.90411 12.4706 3.61939 13.9885C3.69687 14.0551 3.79038 14.0898 3.88389 14.0898C3.99344 14.0898 4.10565 14.0445 4.18313 13.9564C4.19916 13.9378 4.21519 13.9164 4.22588 13.8951C4.32206 13.7324 4.29535 13.519 4.1484 13.3909C2.60412 12.0251 1.71976 10.0591 1.71976 7.9998Z"],["s","M11.8511 14.9623C11.7576 14.7943 11.5546 14.7142 11.3675 14.7809C9.79386 15.3438 8.02515 15.3384 6.45415 14.7623C6.26979 14.6956 6.06674 14.7729 5.97056 14.9383C5.95987 14.9597 5.94918 14.9783 5.9385 15.0023C5.86369 15.2104 5.96789 15.4398 6.17628 15.5145C7.05797 15.8373 7.98507 16 8.93355 16C9.88203 16 10.7717 15.8426 11.6374 15.5332C11.8458 15.4585 11.9553 15.2291 11.8805 15.021C11.8725 14.9997 11.8618 14.9783 11.8511 14.9597V14.9623Z"],["s","M14.5042 13.095C14.3492 12.9856 14.1382 12.9936 13.9966 13.1297C13.7374 13.3831 13.4595 13.6178 13.1656 13.8312C13.0053 13.9486 12.9572 14.162 13.0427 14.3327C13.0534 14.3514 13.0641 14.3728 13.0775 14.3914C13.1549 14.4981 13.2779 14.5568 13.4034 14.5568C13.4862 14.5568 13.5664 14.5328 13.6385 14.4795C13.9645 14.2447 14.2744 13.9806 14.5603 13.7005C14.7179 13.5458 14.7206 13.2924 14.5656 13.135C14.5469 13.1163 14.5256 13.1083 14.5069 13.095H14.5042Z"]],accounting:[["b","M11.2553 3.23154C11.3541 3.3062 11.4502 3.38085 11.5437 3.46084C11.4502 3.38085 11.3541 3.30353 11.2553 3.23154Z"],["b","M10.9723 3.03403C11.0203 3.06602 11.0657 3.09535 11.1111 3.12735C11.0657 3.09535 11.0177 3.06336 10.9723 3.03403Z"],["b","M10.2806 2.64498C10.2806 2.64498 10.2966 2.65298 10.3047 2.65565C10.2966 2.65298 10.2886 2.64765 10.2806 2.64498Z"],["b","M8.80657 2.16751C8.88134 2.18084 8.95345 2.19684 9.02822 2.21284C8.95612 2.19684 8.88134 2.18084 8.80657 2.16751Z"],["b","M11.2553 3.23154C11.2072 3.19688 11.1592 3.16201 11.1111 3.12735C11.0657 3.09535 11.0177 3.06336 10.9723 3.03403C10.7586 2.89539 10.537 2.76763 10.3047 2.65565C10.2966 2.65298 10.2886 2.64765 10.2806 2.64498C10.1231 2.57033 9.96015 2.50089 9.79458 2.43957C9.77856 2.43424 9.76519 2.42891 9.74917 2.42357C9.66372 2.39425 9.58095 2.36492 9.49282 2.33826C9.46879 2.33026 9.44475 2.32493 9.42072 2.31693C9.29254 2.27693 9.15902 2.24494 9.0255 2.21561C8.9534 2.19961 8.87863 2.18362 8.80385 2.17029C8.7638 2.16229 8.72374 2.15429 8.68368 2.14896C8.19233 2.0823 7.75171 2.47423 7.75171 2.97281V7.08408C7.75171 7.54266 8.12557 7.91593 8.58488 7.91593H12.7026C13.21 7.91593 13.6106 7.46534 13.5278 6.9641C13.3035 5.58834 12.5932 4.37256 11.5837 3.49805C11.5704 3.48738 11.557 3.47405 11.5437 3.46339C11.4502 3.3834 11.3541 3.30875 11.2553 3.2341L11.2553 3.23154Z"],["b","M13.3623 9.21185H10.3955C9.66111 9.21185 9.29259 10.0997 9.81065 10.6196L11.9096 12.7152C12.2647 13.0698 12.8603 13.0352 13.1513 12.6299C13.6694 11.91 14.0299 11.0675 14.1794 10.1557C14.2595 9.65977 13.8643 9.21185 13.3623 9.21185Z"],["b","M6.98267 9.73958C6.64353 9.40097 6.45394 8.94239 6.45394 8.46514V4.26322C6.45394 3.75931 6.0053 3.36471 5.5086 3.4447C2.5124 3.92995 0.282616 6.68412 0.64045 9.88622C0.669825 10.1555 0.725905 10.4195 0.792666 10.6781C1.34277 10.3128 2.00236 10.0968 2.71002 10.0968C4.62203 10.0968 6.17888 11.6512 6.17888 13.5602C6.17888 14.0855 6.05871 14.5814 5.84775 15.0266C5.85309 15.0266 5.85576 15.0266 5.8611 15.0266C7.35653 15.1733 8.75316 14.76 9.85871 13.9708C10.2753 13.6722 10.3153 13.0643 9.95216 12.7017L6.98534 9.73958H6.98267Z"],["s","M2.70734 11.1209C2.11451 11.1209 1.57776 11.3395 1.15584 11.6914C0.616413 12.1394 0.266602 12.8059 0.266602 13.5604C0.266602 14.9069 1.35879 16 2.71002 16C3.59659 16 4.36567 15.5228 4.79293 14.8162C5.01458 14.4483 5.15077 14.0217 5.15077 13.5604C5.15077 12.214 4.05857 11.1209 2.70734 11.1209Z"],["s","M15.6081 6.57749C14.9245 2.76751 11.6078 0 7.72238 0C7.50074 0 7.32182 0.178635 7.32182 0.399929C7.32182 0.455919 7.33517 0.509242 7.35654 0.5599C7.41796 0.701208 7.55949 0.799857 7.72238 0.799857C11.2179 0.799857 14.2035 3.29008 14.8203 6.7188C14.8951 7.13739 14.9325 7.56932 14.9325 7.99857C14.9325 8.16388 15.0313 8.30252 15.1728 8.36384C15.2209 8.38517 15.277 8.3985 15.333 8.3985C15.5547 8.3985 15.7336 8.21987 15.7336 7.99857C15.7336 7.52132 15.6909 7.04408 15.6081 6.57749Z"],["s","M3.07051 2.38615C3.15597 2.38615 3.24142 2.35949 3.31619 2.3035C3.7301 1.98356 4.1814 1.70894 4.65407 1.48498C4.88906 1.373 5.13473 1.27435 5.38308 1.18903C5.59137 1.11705 5.70353 0.890419 5.63143 0.67979C5.55933 0.471827 5.33235 0.359847 5.12139 0.431834C4.84633 0.525151 4.57395 0.637131 4.31225 0.759776C3.78617 1.00773 3.28681 1.31168 2.8275 1.66895C2.65125 1.80492 2.6192 2.05554 2.75539 2.22885C2.8355 2.33016 2.953 2.38349 3.07317 2.38349L3.07051 2.38615Z"]],communications:[["b","M12.3544 3.08246H7.26884L6.10078 7.48639C5.9701 7.97631 5.52475 8.31712 5.01806 8.31712C4.83405 8.31712 4.65271 8.27186 4.4927 8.18399L3.60999 7.71271V8.91354C3.60999 9.98124 4.4767 10.8466 5.54609 10.8466H7.10083L9.53829 12.5959C9.69297 12.7051 9.91165 12.5959 9.91165 12.4149V10.8466H12.5998C13.4345 9.82681 13.9359 8.5248 13.9359 7.10564C13.9359 5.5853 13.3625 4.16081 12.3571 3.0798L12.3544 3.08246Z"],["s","M3.3753 6.66599L3.60731 6.78847L4.87671 7.46477C4.92205 7.48873 4.97004 7.49938 5.01804 7.49938C5.14872 7.49938 5.27407 7.41152 5.3114 7.27573L6.72213 1.95587C6.77547 1.75351 6.61546 1.57512 6.43145 1.57512C6.39144 1.57512 6.34878 1.5831 6.30611 1.60174L0.183123 4.40279C-0.0568892 4.51196 -0.0568801 4.8288 0.159131 4.94596L1.43919 5.63024L4.95671 3.12741C4.97271 3.11676 4.98604 3.11143 5.00204 3.11143C5.06071 3.11143 5.10872 3.18865 5.05538 3.2419L2.07123 6.30388L1.97522 7.31034C1.95656 7.5127 2.1139 7.64849 2.27658 7.64849C2.35125 7.64849 2.42591 7.62186 2.48725 7.55796L3.3753 6.66599Z"],["s","M8.32759 14.2892C7.99691 14.3051 7.66356 14.2945 7.33021 14.2652C7.01286 14.2359 6.6955 14.1853 6.38615 14.1161C6.17014 14.0682 5.9568 14.2013 5.90613 14.417C5.85546 14.6326 5.99147 14.8456 6.20748 14.8962C6.79151 15.0294 7.3942 15.0986 7.99957 15.0986C8.12224 15.0986 8.24226 15.0986 8.36226 15.0906C8.58361 15.0799 8.75428 14.8936 8.74361 14.6726C8.74361 14.6459 8.73827 14.6193 8.73294 14.5954C8.69027 14.4143 8.5276 14.2838 8.32492 14.2918L8.32759 14.2892Z"],["s","M13.1492 0.994679C12.9812 0.853561 12.7278 0.874862 12.5865 1.04261C12.5678 1.06391 12.5545 1.08521 12.5412 1.10917C12.4505 1.27159 12.4852 1.48193 12.6345 1.60707C14.2639 2.97831 15.2 4.98324 15.2 7.10799C15.2 10.1194 13.2985 12.8352 10.4664 13.8657C10.285 13.9322 10.181 14.1159 10.2077 14.2997C10.2104 14.3263 10.2184 14.3502 10.2264 14.3769C10.285 14.5393 10.4397 14.6405 10.6024 14.6405C10.6477 14.6405 10.6931 14.6325 10.7384 14.6165C13.8852 13.4716 16 10.4549 16 7.10799C16 4.74627 14.9599 2.51768 13.1492 0.994679Z"],["s","M4.65802 13.477C4.08199 13.1761 3.54863 12.7953 3.07127 12.3507C2.91126 12.1989 2.65792 12.2069 2.50591 12.3693C2.3539 12.5291 2.3619 12.782 2.52458 12.9338C3.05261 13.429 3.64463 13.8497 4.28466 14.1852C4.34333 14.2172 4.40734 14.2305 4.47134 14.2305C4.61535 14.2305 4.75403 14.1533 4.82603 14.0175C4.92737 13.8231 4.8527 13.5808 4.65802 13.477Z"]],home:[["b","M5.68656 15.0234V12.5739C5.68656 11.9495 6.20426 11.4372 6.8352 11.4372H9.15676C9.46414 11.4372 9.75535 11.5573 9.97375 11.7654C10.1922 11.9736 10.3135 12.2617 10.3135 12.5659V15.0154C10.3135 15.2795 10.4186 15.5277 10.6047 15.7118C10.7907 15.8959 11.0415 16 11.3084 16H12.8939C13.63 16 14.3418 15.7118 14.8676 15.1995C15.3934 14.6872 15.6846 13.9908 15.6846 13.2623V6.29816C15.6846 5.70581 15.4177 5.15348 14.9566 4.77725L9.56121 0.542719C8.62288 -0.201726 7.2801 -0.177712 6.36604 0.598753L1.10007 4.76925C0.622814 5.13747 0.331608 5.6898 0.31543 6.29016V13.2543C0.31543 14.7752 1.56923 16.008 3.10615 16H4.65925C5.2093 16 5.6542 15.5677 5.66229 15.0234H5.68656Z"]],websites:[["b","M12.4497 12.1146L11.5056 9.25328C11.3802 8.87728 11.4442 8.46128 11.6763 8.14128C11.9083 7.81861 12.2844 7.62661 12.6791 7.62661C12.8284 7.62661 12.9751 7.65328 13.1165 7.70661L14.61 8.26928V5.72795C14.61 3.75728 13.3405 2.43194 11.4522 2.43194H5.95282C3.68584 3.26661 2.06429 5.44794 2.06429 7.99994C2.06429 10.5519 3.68584 12.7333 5.95282 13.5706H11.4522C12.2284 13.5706 12.8951 13.3439 13.4178 12.9466C12.9725 12.8693 12.5964 12.5573 12.4524 12.1146H12.4497ZM8.31048 5.05061H11.8416C12.087 5.05061 12.2844 5.24794 12.2844 5.49328C12.2844 5.73861 12.087 5.93594 11.8416 5.93594H8.31048C8.06511 5.93594 7.86775 5.73861 7.86775 5.49328C7.86775 5.24794 8.06511 5.05061 8.31048 5.05061ZM6.03283 5.93594H5.00603C4.76066 5.93594 4.5633 5.73861 4.5633 5.49328C4.5633 5.24794 4.76066 5.05061 5.00603 5.05061H6.03283C6.2782 5.05061 6.47556 5.24794 6.47556 5.49328C6.47556 5.73861 6.2782 5.93594 6.03283 5.93594ZM8.91856 10.8906C8.58251 10.9813 8.23313 11.3306 8.14245 11.6666C8.05177 12.0026 7.90242 12.0026 7.81174 11.6666C7.72107 11.3306 7.37168 10.9813 7.03563 10.8906C6.69959 10.7999 6.69959 10.6506 7.03563 10.5599C7.37168 10.4693 7.72107 10.1199 7.81174 9.78394C7.90242 9.44794 8.05177 9.44794 8.14245 9.78394C8.23313 10.1199 8.58251 10.4693 8.91856 10.5599C9.25461 10.6506 9.25461 10.7999 8.91856 10.8906ZM9.96137 7.86661C9.76935 7.91728 9.56932 8.11728 9.51864 8.30928C9.46797 8.50128 9.38263 8.50128 9.32929 8.30928C9.27861 8.11728 9.07859 7.91728 8.88656 7.86661C8.69453 7.81594 8.69453 7.73061 8.88656 7.67728C9.07859 7.62661 9.27861 7.42661 9.32929 7.23461C9.37996 7.04261 9.4653 7.04261 9.51864 7.23461C9.56932 7.42661 9.76935 7.62661 9.96137 7.67728C10.1534 7.72794 10.1534 7.81328 9.96137 7.86661Z"],["s","M15.8449 11.3546L15.2101 10.6933L15.7462 10.1786C15.9329 9.99996 15.8689 9.68529 15.6262 9.59463L12.8044 8.53596C12.7618 8.51996 12.7191 8.51196 12.6791 8.51196C12.4524 8.51196 12.2657 8.73863 12.3457 8.97596L13.2898 11.8373C13.3405 11.992 13.4819 12.08 13.6259 12.08C13.7112 12.08 13.7992 12.048 13.8686 11.9813L14.4047 11.4666L14.4233 11.4853L15.0394 12.128C15.1488 12.2426 15.2955 12.2986 15.4421 12.2986C15.5888 12.2986 15.7195 12.248 15.8289 12.144C16.0502 11.9306 16.0582 11.5786 15.8449 11.3573V11.3546Z"],["s","M5.38741 0.933334C5.45675 1.06133 5.5901 1.144 5.73412 1.144C5.77413 1.144 5.81414 1.13867 5.85414 1.12533C6.54757 0.909333 7.26767 0.8 8.0011 0.8C8.16646 0.8 8.30514 0.701333 8.36648 0.56C8.38782 0.512 8.40116 0.456 8.40116 0.4C8.39849 0.178667 8.2198 0 7.99844 0C7.18499 0 6.38222 0.122667 5.61411 0.362667C5.40341 0.429333 5.28606 0.653333 5.35007 0.864C5.35807 0.890667 5.37407 0.912 5.38474 0.936L5.38741 0.933334Z"],["s","M10.8975 14.5946C10.5321 14.7546 10.1534 14.8853 9.76935 14.9813C9.41196 15.072 9.04392 15.1306 8.6732 15.1653C8.44917 15.1866 8.22513 15.2 8.0011 15.2C4.02989 15.2 0.80011 11.9706 0.80011 7.99995C0.80011 5.57062 2.01361 3.31995 4.04589 1.98395C4.20591 1.87729 4.26726 1.67462 4.19791 1.50129C4.18725 1.47729 4.17657 1.45062 4.16057 1.42929C4.03789 1.24529 3.78986 1.19462 3.60583 1.31462C1.34952 2.80262 0 5.30129 0 7.99995C0 12.4106 3.58982 16 8.0011 16C8.66519 16 9.32662 15.9173 9.96404 15.7573C10.3934 15.648 10.8148 15.504 11.2202 15.3253C11.4229 15.2373 11.5136 15 11.4256 14.7973C11.3376 14.5946 11.1002 14.504 10.8975 14.592V14.5946Z"]],media:[["s","M13.3769 1.69224H9.37286C8.42651 1.69224 7.67209 2.0968 7.22157 2.7755H9.17026C11.3429 2.7755 12.8624 4.34317 12.8624 6.58421V10.6431C12.8624 10.7363 12.857 10.8294 12.8517 10.9199H13.3795C14.947 10.9199 16 9.82334 16 8.18914V4.42035C16 2.78881 14.947 1.68958 13.3822 1.68958L13.3769 1.69224ZM14.8137 8.86518C14.8137 9.0994 14.6245 9.28837 14.3899 9.28837H13.99C13.7554 9.28837 13.5661 9.0994 13.5661 8.86518V8.46594C13.5661 8.23172 13.7554 8.04275 13.99 8.04275H14.3899C14.6245 8.04275 14.8137 8.23172 14.8137 8.46594V8.86518ZM14.8137 6.50703C14.8137 6.74124 14.6245 6.93022 14.3899 6.93022H13.99C13.7554 6.93022 13.5661 6.74124 13.5661 6.50703V6.10779C13.5661 5.87357 13.7554 5.6846 13.99 5.6846H14.3899C14.6245 5.6846 14.8137 5.87357 14.8137 6.10779V6.50703ZM14.8137 4.14887C14.8137 4.38309 14.6245 4.57206 14.3899 4.57206H13.99C13.7554 4.57206 13.5661 4.38309 13.5661 4.14887V3.74964C13.5661 3.51542 13.7554 3.32645 13.99 3.32645H14.3899C14.6245 3.32645 14.8137 3.51542 14.8137 3.74964V4.14887Z"],["s","M13.0277 13.3367C13.0117 13.3154 12.993 13.2968 12.9744 13.2808C12.8331 13.1584 12.6198 13.1504 12.4679 13.2728C11.1856 14.2896 9.63946 14.8272 7.99734 14.8272C7.80274 14.8272 7.64013 14.9656 7.60547 15.1493C7.60014 15.1732 7.59747 15.1998 7.59747 15.2264C7.59747 15.4473 7.77608 15.6257 7.99734 15.6257C9.82074 15.6257 11.5375 15.0295 12.9637 13.8983C13.137 13.7626 13.1663 13.5097 13.0277 13.3367Z"],["s","M0.799735 7.63816C0.799735 9.27768 1.34889 10.832 2.34056 12.0856L2.34082 12.0862C2.68198 12.5172 3.07376 12.9137 3.51616 13.2649C3.52821 13.2729 3.53874 13.284 3.5489 13.2946C3.5521 13.298 3.55526 13.3013 3.55841 13.3044L3.55882 13.3046C3.67345 13.4271 3.70011 13.6054 3.62547 13.7544C3.61214 13.7784 3.5988 13.8024 3.58014 13.8236C3.50284 13.9248 3.38555 13.9754 3.26825 13.9754C3.18295 13.9754 3.09498 13.9461 3.02034 13.8875C1.10097 12.3624 0 10.0841 0 7.63816C0 4.56138 1.80207 1.72415 4.59048 0.411991C4.79041 0.318836 5.03033 0.404007 5.12363 0.603624C5.21694 0.803242 5.13163 1.04278 4.9317 1.13594C4.71843 1.23708 4.51317 1.35153 4.31057 1.4713C2.15929 2.7595 0.799735 5.107 0.799735 7.63816Z"],["s","M5.99268 14.5423C5.57148 14.4199 5.16095 14.2602 4.76908 14.0633C4.59581 13.9781 4.39321 14.026 4.27591 14.1724C4.25992 14.1937 4.24392 14.2176 4.23059 14.2416C4.13196 14.4385 4.21193 14.6781 4.4092 14.7766C4.84372 14.9948 5.30224 15.1731 5.76875 15.3089C5.80607 15.3195 5.84339 15.3248 5.88071 15.3248C6.05399 15.3248 6.21393 15.2104 6.26458 15.0374C6.27258 15.0108 6.27792 14.9842 6.27792 14.9575C6.29391 14.7712 6.17661 14.5956 5.99001 14.5423H5.99268Z"],["b","M3.6654 11.6783C3.87599 11.4148 4.08926 11.146 4.29719 10.8851L4.31585 10.8612C4.66773 10.4167 4.92631 10.2251 5.17423 10.2251C5.2542 10.2251 5.33152 10.241 5.40349 10.2756C5.54745 10.3448 5.68606 10.4274 5.81402 10.5178C6.09126 10.7441 6.43248 10.8798 6.78969 10.9091C7.00029 10.9064 7.20822 10.8479 7.39216 10.7414C7.53345 10.6483 7.65874 10.5391 7.78137 10.4247C8.01862 10.1985 8.22122 9.93497 8.36784 9.63953V9.63421L8.42115 9.54904C8.50113 9.41596 8.57844 9.29086 8.66641 9.17109C8.82102 8.94486 9.07161 8.79848 9.34352 8.77186C9.47681 8.77186 9.61009 8.81444 9.72205 8.88897C10.0606 9.11786 10.3725 9.38402 10.6524 9.68478C10.7644 9.79656 10.8497 9.92698 10.9083 10.0734C10.9936 10.3502 11.007 10.6403 10.9616 10.9224C10.9323 11.0981 10.887 11.2711 10.8097 11.4361C10.6044 11.9311 10.1939 12.3144 9.68474 12.4847C9.46348 12.554 9.23155 12.5912 8.99963 12.5912C8.9943 12.5912 8.98897 12.5912 8.98364 12.5912H4.79036C4.79036 12.5912 4.76637 12.5912 4.75304 12.5912C5.68607 13.2034 6.80303 13.5627 7.99996 13.5627C9.26621 13.5627 10.4658 13.1714 11.4681 12.4475C11.7507 12.0296 11.9267 11.5133 11.9693 10.9251C11.9773 10.8319 11.9933 10.7441 11.9933 10.6483V6.58937C11.9933 4.83007 10.8603 3.64834 9.1729 3.64834H4.85967C4.23854 3.64834 3.69206 3.81069 3.24954 4.1008C2.49512 5.11486 2.0686 6.35515 2.0686 7.64069C2.0686 9.20037 2.6764 10.6217 3.66807 11.681L3.6654 11.6783ZM5.7687 5.70041C6.1819 5.70041 6.54178 5.91333 6.75238 6.23272C6.875 6.41903 6.94697 6.63994 6.94697 6.87682C6.94697 7.1137 6.875 7.33461 6.75238 7.52092C6.54178 7.84031 6.17923 8.05324 5.7687 8.05324C5.11825 8.05324 4.59042 7.52624 4.59042 6.87682C4.59042 6.2274 5.11825 5.70041 5.7687 5.70041Z"]],equip:[["g","M9.06176 15.1446C8.67491 15.2004 8.2831 15.225 7.89527 15.2155C7.53402 15.208 7.17102 15.1674 6.81174 15.1035C6.59453 15.0653 6.37939 15.0195 6.16772 14.9612C2.41567 13.9265 0.204248 10.0384 1.23722 6.29226C1.86921 4.00031 3.60125 2.19306 5.86894 1.46208C6.04788 1.40313 6.15856 1.22791 6.13814 1.04631C6.1343 1.02089 6.13116 0.992951 6.12159 0.968655C6.05354 0.763098 5.83238 0.650678 5.62729 0.715948C3.1084 1.53197 1.18332 3.53776 0.481265 6.08381C-0.666172 10.2451 1.79177 14.5667 5.9596 15.7159C6.58704 15.8889 7.23347 15.9833 7.87734 15.9984C8.31148 16.0071 8.74707 15.981 9.17657 15.9181C9.39097 15.8878 9.53839 15.6876 9.50795 15.4734C9.47752 15.2593 9.27685 15.1119 9.06245 15.1421L9.06176 15.1446Z"],["g","M15.5288 11.3818C15.7924 11.3818 15.8016 11.6183 15.8016 11.8885C15.8015 12.6573 15.1198 13.7406 13.6199 13.7406H6.9387C6.79392 13.7129 6.65811 13.6821 6.52968 13.6467C5.18433 13.2757 4.08499 12.4498 3.35144 11.3818H15.5288Z"],["g","M11.4537 2.73292C11.7309 2.73293 11.9941 2.76302 12.2415 2.82098L10.9979 4.0962H5.93112C4.94246 4.09622 4.41117 4.36103 4.13164 4.6294C3.85819 4.89196 3.64732 5.3289 3.64728 6.05219V9.23181H13.192V7.36594C13.3782 7.25902 13.5631 7.12488 13.73 6.95382L14.5556 6.10723V10.5954H2.89805C2.33302 9.4063 2.17537 8.01827 2.55129 6.65489C3.06099 4.80652 4.45575 3.35038 6.28681 2.76009L6.29129 2.75872L6.29507 2.75734C6.31848 2.74963 6.34166 2.74152 6.36456 2.73292H11.4537Z"],["g","M6.36937 5.93798C6.40588 5.93798 6.44263 5.96327 6.46088 6.00059C6.46322 6.01144 6.5692 6.49675 6.77736 6.70958C6.98689 6.92367 7.46609 7.03187 7.47087 7.03294C7.50731 7.05162 7.53141 7.08923 7.53141 7.12651C7.53135 7.16374 7.50726 7.20108 7.47087 7.21354C7.46725 7.21439 6.98697 7.32714 6.77736 7.5431C6.56774 7.75925 6.46088 8.25243 6.46088 8.25243C6.44262 8.28974 6.40587 8.3147 6.36937 8.3147C6.33295 8.31465 6.2966 8.28965 6.28441 8.25243C6.28441 8.25243 6.17384 7.75814 5.96173 7.5431C5.75127 7.32984 5.27271 7.22076 5.26822 7.21974C5.23178 7.2011 5.21358 7.16378 5.21353 7.12651C5.21353 7.0892 5.23173 7.0516 5.26822 7.03294C5.27323 7.03181 5.7514 6.92274 5.96173 6.70958C6.17181 6.49659 6.28232 6.00987 6.28441 6.00059C6.29656 5.9633 6.3329 5.93803 6.36937 5.93798Z"],["g","M14.0585 2.51482C14.3328 2.2406 14.8974 2.12572 15.1717 2.39992L15.5996 2.82786C15.8739 3.10217 15.759 3.6671 15.4847 3.9414L12.9556 6.4705C12.5446 6.88152 11.857 7.00099 11.3027 7.11654C11.0301 7.17327 10.8421 6.97997 10.8937 6.70717C10.9821 6.23905 11.1184 5.45511 11.5291 5.04427L14.0585 2.51482Z"],["g","M8.84619 4.68444C8.86979 4.68447 8.89356 4.7009 8.90536 4.72503C8.90717 4.73342 8.97565 5.04653 9.11004 5.18393C9.24492 5.32167 9.55227 5.39165 9.55862 5.39309C9.58219 5.40513 9.59811 5.42919 9.59818 5.45329C9.59818 5.47744 9.58224 5.50165 9.55862 5.5097C9.55277 5.51108 9.2449 5.58407 9.11004 5.72298C8.97602 5.86117 8.90699 6.17442 8.90536 6.18188C8.89356 6.20601 8.86979 6.2221 8.84619 6.22213C8.82258 6.22212 8.79902 6.20602 8.79115 6.18188C8.78984 6.17604 8.71831 5.86084 8.58234 5.72298C8.4455 5.58437 8.13342 5.51383 8.13342 5.51383C8.10989 5.50173 8.09833 5.47739 8.09833 5.45329C8.09838 5.42924 8.10995 5.40516 8.13342 5.39309C8.13342 5.39309 8.44549 5.32254 8.58234 5.18393C8.71806 5.04634 8.78958 4.73202 8.79115 4.72503C8.79902 4.70089 8.82258 4.68445 8.84619 4.68444Z"],["g","M8.07451 0.864748C8.39523 0.815523 8.72126 0.791981 9.04918 0.786607C9.36151 0.782861 9.67601 0.799878 9.9846 0.835877C10.2 0.860612 10.3945 0.709129 10.4219 0.493742C10.4493 0.278355 10.2951 0.0845615 10.0794 0.0572311C9.49653 -0.0131055 8.90199 -0.0192525 8.31189 0.0423538C8.19232 0.0548379 8.07533 0.0670516 7.95916 0.0870506C7.74448 0.119958 7.59708 0.319007 7.62997 0.533343C7.63268 0.559298 7.64059 0.584708 7.64823 0.607524C7.70825 0.779672 7.88009 0.890294 8.07684 0.861882L8.07451 0.864748Z"]]}},s8={base:{x1:3.74627,y1:2.1136,x2:14.0711,y2:11.6765},rippled:{x1:3.85239,y1:.390812,x2:16.4219,y2:9.17281}};function nv(e,t,r,n){return r==="mono"?"currentColor":t==="g"?`url(#${n})`:`var(${`--module-${e}-${r==="one-color"?"base":t==="s"?"subtle":"base"}`}, var(--module-${e}-base))`}function wl({module:e,size:t=wp,color:r="two-color",treatment:n="base",title:o,style:a,...i}){let l=`pw-equip-${(0,l8.useId)().replace(/[^a-zA-Z0-9_-]/g,"")}`,d=(i8[n]||i8.base)[e];if(!d)return null;let u=r==="full"?"two-color":r;n==="rippled"&&u==="one-color"&&(u="two-color");let p=u!=="mono"&&d.some(([y])=>y==="g"),b=u==="mono"?{}:rv,g=s8[n]||s8.base;return(0,go.jsxs)("svg",{width:t,height:t,viewBox:`0 0 ${wp} ${wp}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",role:o?"img":void 0,"aria-hidden":o?void 0:!0,"aria-label":o,style:{display:"block",flex:"0 0 auto",...b,...a},...i,children:[o&&(0,go.jsx)("title",{children:o}),p&&(0,go.jsx)("defs",{children:(0,go.jsxs)("linearGradient",{id:l,x1:g.x1,y1:g.y1,x2:g.x2,y2:g.y2,gradientUnits:"userSpaceOnUse",children:[(0,go.jsx)("stop",{stopColor:"var(--module-equip-from)"}),(0,go.jsx)("stop",{offset:"1",stopColor:"var(--module-equip-to)"})]})}),d.map(([y,$],m)=>(0,go.jsx)("path",{d:$,fill:nv(e,y,u,l)},m))]})}var O=S($e(),1);qo();if(typeof document<"u"&&!document.getElementById("pds-topnav-motion")){let e=document.createElement("style");e.id="pds-topnav-motion",e.textContent="@keyframes tnSearchExpand{from{clip-path:inset(0 0 0 calc(100% - 48px));opacity:.6}to{clip-path:inset(0 0 0 0);opacity:1}}@media (prefers-reduced-motion: reduce){@keyframes tnSearchExpand{from{clip-path:inset(0);opacity:1}to{clip-path:inset(0);opacity:1}}}",document.head.appendChild(e)}var u8=e=>`var(--semantic-color-${e})`,mt=u8,bo=u8,Sp=e=>`var(--responsive-layout-${e})`,Ge=e=>`var(--semantic-layout-units-${e})`,ov=e=>`var(--contextual-layout-units-${e})`,q={navBg:bo("fill-surface-chrome"),orgStroke:mt("stroke-action-ghost-rest"),orgStrokeHover:mt("stroke-action-ghost-hover"),orgStrokePressed:mt("stroke-action-ghost-pressed"),searchFill:mt("fill-action-ghost-rest"),controlHover:mt("fill-action-ghost-hover"),controlPressed:mt("fill-action-ghost-pressed"),noLogoBg:mt("fill-action-secondary-rest"),monoBase:mt("foreground-action-ghost-rest"),monoHover:mt("foreground-action-ghost-hover"),monoPressed:mt("foreground-action-ghost-pressed"),orgText:mt("foreground-action-ghost-rest"),orgChevron:mt("foreground-action-ghost-rest"),orgSubText:mt("foreground-action-ghost-rest"),avatarBg:mt("fill-action-primary-subtle-rest"),avatarBgHover:mt("fill-action-primary-subtle-hover"),avatarBgPressed:mt("fill-action-primary-subtle-pressed"),avatarText:mt("foreground-action-primary-on-subtle-rest"),avatarTextHover:mt("foreground-action-primary-on-subtle-hover"),avatarTextPressed:mt("foreground-action-primary-on-subtle-pressed"),panelBg:bo("fill-static-neutral-faint"),activeItem:bo("fill-action-primary-subtle-rest"),itemText:bo("foreground-static-neutral-bold"),itemTextBase:bo("foreground-static-neutral-base"),itemMeta:bo("foreground-static-neutral-base"),signOut:bo("foreground-action-status-negative-on-subtle-rest"),panelBorder:bo("stroke-static-neutral-base"),panelShadow:"var(--elevation-lift)",panelDivider:bo("stroke-static-neutral-faint")},H={navPadH:Sp("topnav-padding-horizontal"),navPadV:Sp("topnav-padding-vertical"),navH:ov("topnav-height"),navGap:Sp("topnav-gap-horizontal"),touchTarget:48,modInnerH:36,orgAvatarNav:16,orgAvatarSm:24,orgAvatarPanel:32,searchPill:32,avatarSize:32,modPadL:Ge("padding-xxtight"),profilePad:Ge("padding-xxxtight"),orgPadV:Ge("padding-xxtight"),orgPadL:Ge("padding-tight"),orgPadMobileR:Ge("padding-xxxtight"),orgPadMobileL:Ge("padding-xtight"),slotPadV:Ge("padding-xxtight"),slotPadNarrow:Ge("padding-xxxtight"),orgMainMax:308,orgMainMaxMobile:102,orgNameMax:200,orgCampusMax:72,orgNameMaxMobile:52,moduleMark:16,moduleMarkBox:20,chevronGlyph:12,modChevronBox:20,orgChevronBox:24,actionIconBox:28,actionIconGlyph:16,actionTarget:Ge("accessibility-touch-target-aa-width"),takeoverExit:Ge("accessibility-touch-target-aa-width"),takeoverExitGlyph:24,radius:Ge("cornerradius-base"),radiusSm:Ge("cornerradius-small")},f8=new Set(["the","a","an","of","in","at","for","and","or","but"]);function av(e){if(!e)return"???";let t=e.replace(/-/g," ").split(/\s+/).filter(r=>!f8.has(r.toLowerCase()));return t.length>=3?(t[0][0]+t[1][0]+t[2][0]).toUpperCase():t.length===2?(t[0][0]+t[1][0]+t[1][0]).toUpperCase():t[0].slice(0,3).toUpperCase()}var iv=["ville","field","burg","burgh","berg","town","port","ford","wood","land","dale","view","gate","bridge","worth","shire"];function sv(e){if(!e)return"";let t=e.replace(/-/g," ").split(/\s+/).filter(o=>!f8.has(o.toLowerCase()));if(!t.length)return e.slice(0,2).toUpperCase();if(t.length>=2)return(t[0][0]+t[1][0]).toUpperCase();let r=t[0],n=r.toLowerCase();for(let o of iv)if(n.endsWith(o)&&r.length>o.length+1)return(r[0]+o[0]).toUpperCase();return(r[0]+r[r.length-1]).toUpperCase()}function lv(e,t){let r=av(e);return t?`${r} | ${sv(t)}`:r}var kp=c8.map(e=>({id:e,label:d8[e]})),cv=[{icon:"help",label:"Help"},{icon:"settings",label:"Settings"},{icon:"notifications_unread",label:"Notifications"}],dv=(e,t)=>!!e&&(typeof t.composedPath=="function"?t.composedPath().includes(e):e.contains(t.target));function Ep({icon:e,label:t,onClick:r}){let[n,o]=(0,Tt.useState)(!1),[a,i]=(0,Tt.useState)(!1),s=a?q.controlPressed:n?q.controlHover:"transparent",l=a?q.monoPressed:n?q.monoHover:q.monoBase;return(0,O.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:H.actionTarget,height:H.actionTarget,flexShrink:0},children:(0,O.jsx)("button",{className:Cl,type:"button","aria-label":t,onClick:r,onMouseEnter:()=>o(!0),onMouseLeave:()=>{o(!1),i(!1)},onMouseDown:()=>i(!0),onMouseUp:()=>i(!1),onBlur:()=>i(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:0,background:"transparent",border:"none",cursor:"pointer"},children:(0,O.jsx)("span",{"data-pw-ring-target":"",style:{display:"flex",alignItems:"center",justifyContent:"center",width:H.actionIconBox,height:H.actionIconBox,borderRadius:H.radius,background:s,transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,O.jsx)(Ee,{name:e,size:H.actionIconGlyph,style:{color:l,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"}})})})})}function uv({breakpoint:e="desktop",actions:t,onNotifications:r,onMore:n}){let o=(t||cv).map(a=>({...a,onClick:a.onClick||(a.icon==="notifications_unread"?r:void 0)}));return e==="mobile"&&o.length>1?(0,O.jsx)("div",{style:{display:"flex",alignItems:"center"},children:(0,O.jsx)(Ep,{icon:"more_vert",label:"More actions",onClick:n})}):(0,O.jsx)("div",{style:{display:"flex",alignItems:"center"},children:o.map((a,i)=>(0,O.jsx)(Ep,{...a},`${a.icon}-${i}`))})}var p8={hover:q.monoHover,pressed:q.monoPressed,layerHover:q.controlHover,layerPress:q.controlPressed};function m8({user:e,open:t,onToggle:r,mobile:n=!1}){let[o,a]=(0,Tt.useState)(!1);return(0,O.jsx)("div",{style:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",minHeight:H.touchTarget,minWidth:H.touchTarget},children:(0,O.jsx)("button",{className:Cl,onClick:r,onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),"aria-haspopup":"true","aria-expanded":t,"aria-label":`Account: ${e.name}`,style:{display:"flex",alignItems:"center",justifyContent:"center",width:H.touchTarget,height:H.touchTarget,boxSizing:"border-box",background:"transparent",border:"none",borderRadius:"50%",cursor:"pointer",padding:H.profilePad,transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,O.jsx)("div",{"data-pw-ring-target":"",style:{width:H.avatarSize,height:H.avatarSize,borderRadius:"50%",background:t?q.avatarBgPressed:o?q.avatarBgHover:q.avatarBg,display:"flex",alignItems:"center",justifyContent:"center",transition:"background var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)",fontFamily:"var(--semantic-type-family-brand)",fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-semibold)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:t?q.avatarTextPressed:o?q.avatarTextHover:q.avatarText,flexShrink:0,overflow:"hidden"},children:e.avatarUrl?(0,O.jsx)("img",{src:e.avatarUrl,alt:"",style:{width:"100%",height:"100%",objectFit:"cover"}}):e.initials})})})}function fv({org:e,open:t,onToggle:r,mobile:n=!1,showCampus:o=!1}){let[a,i]=(0,Tt.useState)(!1),[s,l]=(0,Tt.useState)(!1),c=e.logoUrl&&!s,d=n?e.shortName||lv(e.name,o?e.campus:null):e.name,u=!n&&o&&e.campus?e.campus:null,p=t?q.monoPressed:a?q.monoHover:q.monoBase,b={fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)"},g={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",minWidth:0};return(0,O.jsx)("div",{style:{position:"relative",minWidth:0,padding:n?`${H.slotPadV} ${H.slotPadNarrow}`:H.slotPadV},children:(0,O.jsxs)("button",{className:fu,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),onClick:r,"aria-haspopup":"true","aria-expanded":t,"aria-label":`Switch organisation: ${e.name}${e.campus?", "+e.campus:""}`,style:{display:"flex",alignItems:"center",gap:n?"var(--semantic-layout-units-gap-xxxtight)":"var(--semantic-layout-units-gap-xxtight)",minHeight:H.modInnerH,boxSizing:"border-box",minWidth:0,maxWidth:n?H.orgMainMaxMobile:H.orgMainMax,padding:n?`${H.orgPadV} ${H.orgPadMobileR} ${H.orgPadV} ${H.orgPadMobileL}`:`${H.orgPadV} ${H.orgPadV} ${H.orgPadV} ${H.orgPadL}`,borderRadius:H.radius,background:t?q.controlPressed:a?q.controlHover:"transparent",border:"none",boxShadow:`inset 0 0 0 ${t||a?"var(--contextual-layout-units-button-borderwidth-selected, 1px)":"var(--contextual-layout-units-button-borderwidth-rest, 0.75px)"} ${t?q.orgStrokePressed:a?q.orgStrokeHover:q.orgStroke}`,cursor:"pointer",color:p,fontFamily:"inherit",transition:"background var(--motion-duration-3) var(--motion-easing-standard), box-shadow var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,O.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)",height:n?20:24,minWidth:0},children:[c&&(0,O.jsx)("div",{style:{width:H.orgAvatarSm,height:H.orgAvatarSm,padding:"var(--semantic-layout-units-padding-xxxtight)",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,O.jsx)("div",{style:{width:H.orgAvatarNav,height:H.orgAvatarNav,borderRadius:H.radiusSm,border:`1px solid ${mt("stroke-action-primary-strong-rest")}`,boxSizing:"border-box",background:"transparent",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative",flexShrink:0},children:(0,O.jsx)("img",{src:e.logoUrl,alt:"",onError:()=>l(!0),style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}})})}),(0,O.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",minWidth:0},children:[(0,O.jsx)("span",{"aria-hidden":"true",style:{...b,...g,maxWidth:n?H.orgNameMaxMobile:H.orgNameMax,color:p,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"},children:d}),u&&(0,O.jsx)("span",{"aria-hidden":"true",style:{...b,...g,maxWidth:H.orgCampusMax,flexShrink:0,color:t?q.monoPressed:a?q.monoHover:q.orgSubText,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"},children:`| ${u}`})]})]}),(0,O.jsx)("span",{style:{width:n?H.modChevronBox:H.orgChevronBox,height:n?H.modChevronBox:H.orgChevronBox,display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,transform:t?"rotate(180deg)":"none",transition:"transform var(--motion-duration-4) var(--motion-easing-standard)"},children:(0,O.jsx)(Ee,{name:"expand_more",size:H.chevronGlyph,style:{color:q.orgChevron}})})]})})}function pv({modules:e,activeId:t,open:r,onToggle:n,breakpoint:o="desktop",type:a="interactive"}){let[i,s]=(0,Tt.useState)(!1),[l,c]=(0,Tt.useState)(!1),d=e.find(y=>y.id===t)||e[0],u=o==="desktop",p=a==="static",b=p?q.monoBase:r||l?q.monoPressed:i?q.monoHover:q.monoBase,g=(0,O.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)"},children:[(0,O.jsx)("div",{style:{width:H.moduleMarkBox,height:H.moduleMarkBox,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,color:q.monoBase},children:(0,O.jsx)(wl,{module:d.id,size:H.moduleMark,color:"mono"})}),u&&(0,O.jsx)("span",{style:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:160,color:b,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"},children:d.label})]});return p?(0,O.jsx)("div",{style:{position:"relative",padding:`${H.slotPadV} ${H.slotPadNarrow}`},children:(0,O.jsx)("div",{"aria-label":`Current module: ${d.label}`,style:{display:"flex",alignItems:"center",maxHeight:H.modInnerH,minHeight:H.modInnerH,padding:`0 0 0 ${H.modPadL}`,borderRadius:H.radius,background:"transparent",border:"none",boxSizing:"border-box",color:q.monoBase,fontFamily:"inherit",cursor:"default"},children:g})}):(0,O.jsx)("div",{style:{position:"relative",padding:`${H.slotPadV} ${H.slotPadNarrow}`},children:(0,O.jsxs)("button",{className:Br,onMouseEnter:()=>s(!0),onMouseLeave:()=>{s(!1),c(!1)},onMouseDown:()=>c(!0),onMouseUp:()=>c(!1),onBlur:()=>c(!1),onClick:n,"aria-haspopup":"listbox","aria-expanded":r,"aria-label":`Switch module: ${d.label}`,style:{display:"flex",alignItems:"center",gap:u?"var(--semantic-layout-units-gap-xxxtight)":0,maxHeight:H.modInnerH,minHeight:H.modInnerH,padding:`0 0 0 ${H.modPadL}`,borderRadius:H.radius,background:r||l?q.controlPressed:i?q.controlHover:"transparent",border:"none",boxSizing:"border-box",cursor:"pointer",color:q.monoBase,fontFamily:"inherit",transition:"background var(--motion-duration-3) var(--motion-easing-standard)"},children:[g,(0,O.jsx)("div",{style:{width:H.modChevronBox,height:H.modChevronBox,display:"flex",alignItems:"center",justifyContent:"center",transform:r?"rotate(180deg)":"none",transition:"transform var(--motion-duration-4) var(--motion-easing-standard)"},children:(0,O.jsx)(Ee,{name:"expand_more",size:H.chevronGlyph,style:{color:q.monoBase}})})]})})}function h8({user:e}){return(0,O.jsxs)("div",{role:"menu","data-theme":"light",style:{position:"absolute",top:"calc(100% + 4px)",right:H.navPadH,width:200,background:q.panelBg,border:`1px solid ${q.panelBorder}`,borderRadius:H.radius,boxShadow:q.panelShadow,padding:"var(--semantic-layout-units-padding-xxxtight)",zIndex:300,animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:[(0,O.jsxs)("div",{style:{padding:" ",borderBottom:`1px solid ${q.panelDivider}`,marginBottom:4},children:[(0,O.jsx)("div",{style:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:600,color:q.itemText},children:e.name}),(0,O.jsx)("div",{style:{fontSize:"var(--semantic-type-font-size-xxs)",color:q.itemMeta,marginTop:1},children:e.email})]}),["Profile settings","Settings"].map(t=>(0,O.jsx)("button",{className:Bi,role:"menuitem",style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:"",borderRadius:"var(--semantic-layout-units-cornerradius-base)",fontFamily:"inherit",fontSize:"var(--semantic-type-font-size-s)",color:q.itemTextBase,background:"transparent",border:"none",width:"100%",textAlign:"left",cursor:"pointer"},children:t},t)),(0,O.jsx)("button",{className:Bi,role:"menuitem",style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:"",borderRadius:"var(--semantic-layout-units-cornerradius-base)",fontFamily:"inherit",fontSize:"var(--semantic-type-font-size-s)",color:q.signOut,background:"transparent",border:"none",width:"100%",textAlign:"left",cursor:"pointer"},children:"Sign out"})]})}var mv={search:["M11 17.5C14.5899 17.5 17.5 14.5899 17.5 11C17.5 7.41015 14.5899 4.5 11 4.5C7.41015 4.5 4.5 7.41015 4.5 11C4.5 14.5899 7.41015 17.5 11 17.5Z","M20 20L15.8 15.8"],help:["M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z","M9.5 9.49999C9.50157 9.04964 9.62476 8.60808 9.85656 8.22196C10.0884 7.83584 10.4202 7.5195 10.8169 7.30638C11.2136 7.09325 11.6606 6.99125 12.1105 7.01116C12.5604 7.03106 12.9966 7.17212 13.3729 7.41945C13.7493 7.66677 14.0519 8.01117 14.2487 8.41625C14.4455 8.82133 14.5292 9.27205 14.491 9.72078C14.4528 10.1695 14.2941 10.5996 14.0316 10.9656C13.7692 11.3316 13.4128 11.6199 13 11.8C12.3 12.1 12 12.7 12 13.5M12 17H12.01"],gear:["M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z","M19.4 15C19.2737 15.2975 19.2349 15.6249 19.288 15.9437C19.3411 16.2625 19.4841 16.5595 19.7 16.8L19.8 16.9C20.0292 17.0719 20.2189 17.2911 20.356 17.5427C20.4932 17.7943 20.5747 18.0724 20.595 18.3582C20.6153 18.644 20.5739 18.9309 20.4737 19.1994C20.3735 19.4678 20.2168 19.7116 20.0142 19.9142C19.8116 20.1168 19.5678 20.2735 19.2994 20.3737C19.0309 20.4739 18.744 20.5153 18.4582 20.495C18.1724 20.4747 17.8943 20.3932 17.6427 20.256C17.3911 20.1189 17.1719 19.9292 17 19.7L16.9 19.6C16.6595 19.3841 16.3625 19.2411 16.0437 19.188C15.7249 19.1349 15.3975 19.1737 15.1 19.3C14.8094 19.4311 14.5616 19.6413 14.3848 19.9065C14.208 20.1718 14.1093 20.4814 14.1 20.8V21C14.1 21.5304 13.8893 22.0391 13.5142 22.4142C13.1391 22.7893 12.6304 23 12.1 23C11.5696 23 11.0609 22.7893 10.6858 22.4142C10.3107 22.0391 10.1 21.5304 10.1 21V20.9C10.0822 20.5701 9.96871 20.2526 9.77335 19.9862C9.578 19.7198 9.30927 19.5161 9 19.4C8.70249 19.2737 8.37514 19.2349 8.05634 19.288C7.73753 19.3411 7.44048 19.4841 7.2 19.7L7.1 19.8C6.92807 20.0292 6.7089 20.2189 6.45731 20.356C6.20572 20.4932 5.9276 20.5747 5.64178 20.595C5.35595 20.6153 5.0691 20.5739 4.80065 20.4737C4.53219 20.3735 4.2884 20.2168 4.08579 20.0142C3.88317 19.8116 3.72646 19.5678 3.62626 19.2994C3.52606 19.0309 3.48472 18.744 3.50503 18.4582C3.52534 18.1724 3.60684 17.8943 3.74399 17.6427C3.88115 17.3911 4.07076 17.1719 4.3 17L4.4 16.9C4.61594 16.6595 4.75885 16.3625 4.81199 16.0437C4.86512 15.7249 4.82627 15.3975 4.7 15.1C4.56888 14.8094 4.3587 14.5616 4.09347 14.3848C3.82824 14.208 3.51863 14.1093 3.2 14.1H3C2.46957 14.1 1.96086 13.8893 1.58579 13.5142C1.21071 13.1391 1 12.6304 1 12.1C1 11.5696 1.21071 11.0609 1.58579 10.6858C1.96086 10.3107 2.46957 10.1 3 10.1H3.1C3.42986 10.0822 3.7474 9.96871 4.01379 9.77335C4.28018 9.578 4.48389 9.30927 4.6 9C4.72627 8.70249 4.76512 8.37514 4.71199 8.05634C4.65885 7.73753 4.51594 7.44048 4.3 7.2L4.2 7.1C3.97076 6.92807 3.78115 6.7089 3.64399 6.45731C3.50684 6.20572 3.42534 5.9276 3.40503 5.64178C3.38472 5.35595 3.42606 5.0691 3.52626 4.80065C3.62646 4.53219 3.78317 4.2884 3.98579 4.08579C4.1884 3.88317 4.43219 3.72646 4.70065 3.62626C4.9691 3.52606 5.25595 3.48472 5.54178 3.50503C5.8276 3.52534 6.10572 3.60684 6.35731 3.74399C6.6089 3.88115 6.82807 4.07076 7 4.3L7.1 4.4C7.34048 4.61594 7.63753 4.75885 7.95634 4.81199C8.27514 4.86512 8.60249 4.82627 8.9 4.7H9C9.29055 4.56888 9.53839 4.3587 9.71521 4.09347C9.89203 3.82824 9.99071 3.51863 10 3.2V3C10 2.46957 10.2107 1.96086 10.5858 1.58579C10.9609 1.21071 11.4696 1 12 1C12.5304 1 13.0391 1.21071 13.4142 1.58579C13.7893 1.96086 14 2.46957 14 3V3.1C14.0093 3.41863 14.108 3.72824 14.2848 3.99347C14.4616 4.2587 14.7094 4.46888 15 4.6C15.2975 4.72627 15.6249 4.76512 15.9437 4.71199C16.2625 4.65885 16.5595 4.51594 16.8 4.3L16.9 4.2C17.0719 3.97076 17.2911 3.78115 17.5427 3.64399C17.7943 3.50684 18.0724 3.42534 18.3582 3.40503C18.644 3.38472 18.9309 3.42606 19.1994 3.52626C19.4678 3.62646 19.7116 3.78317 19.9142 3.98579C20.1168 4.1884 20.2735 4.43219 20.3737 4.70065C20.4739 4.9691 20.5153 5.25595 20.495 5.54178C20.4747 5.8276 20.3932 6.10572 20.256 6.35731C20.1189 6.6089 19.9292 6.82807 19.7 7L19.6 7.1C19.3841 7.34048 19.2411 7.63753 19.188 7.95634C19.1349 8.27514 19.1737 8.60249 19.3 8.9V9C19.4311 9.29055 19.6413 9.53839 19.9065 9.71521C20.1718 9.89203 20.4814 9.99071 20.8 10H21C21.5304 10 22.0391 10.2107 22.4142 10.5858C22.7893 10.9609 23 11.4696 23 12C23 12.5304 22.7893 13.0391 22.4142 13.4142C22.0391 13.7893 21.5304 14 21 14H20.9C20.5814 14.0093 20.2718 14.108 20.0065 14.2848C19.7413 14.4616 19.5311 14.7094 19.4 15Z"],bell:["M10.3 21C10.4577 21.3159 10.7003 21.5816 11.0006 21.7674C11.3008 21.9531 11.6469 22.0515 12 22.0515C12.3531 22.0515 12.6992 21.9531 12.9994 21.7674C13.2997 21.5816 13.5423 21.3159 13.7 21M6 8C6 6.4087 6.63214 4.88258 7.75736 3.75736C8.88258 2.63214 10.4087 2 12 2C13.5913 2 15.1174 2.63214 16.2426 3.75736C17.3679 4.88258 18 6.4087 18 8C18 15 21 17 21 17H3C3 17 6 15 6 8Z"]};function hv({name:e}){return(0,O.jsx)("svg",{width:H.actionIconGlyph,height:H.actionIconGlyph,viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",stroke:"currentColor",strokeWidth:"2.16",strokeLinecap:"round",strokeLinejoin:"round",style:{display:"block"},children:mv[e].map((t,r)=>(0,O.jsx)("path",{d:t},r))})}function gv(){return(0,O.jsxs)("svg",{width:"27",height:"32",viewBox:"0 0 27 32",fill:"currentColor","aria-hidden":"true",style:{display:"block"},children:[(0,O.jsx)("path",{d:"M2.29958 25.2142C1.02842 25.2142 0 24.3456 0 23.277C0 22.2765 0.900517 21.4519 2.05683 21.3508L22.8862 19.5081C23.0036 19.4971 23.1237 19.4927 23.2438 19.4927C25.1205 19.4927 26.6422 20.7747 26.6422 22.3556C26.6422 23.9366 25.1205 25.2186 23.2438 25.2186H2.29958V25.2142Z"}),(0,O.jsx)("path",{d:"M22.2387 5.52125C23.6274 4.83081 25.418 5.22221 26.2376 6.392C27.0572 7.56179 26.5925 9.07021 25.2039 9.76065C25.0369 9.84201 24.8672 9.91018 24.6923 9.96295L15.2956 12.7643C14.429 13.0238 13.4398 12.7379 12.9543 12.0453C12.4061 11.2603 12.7168 10.2488 13.6486 9.78484L22.2413 5.52125H22.2387Z"}),(0,O.jsx)("path",{d:"M8.7547 19.5479C7.74194 19.6754 6.74224 19.1631 6.43424 18.3121C6.09491 17.3754 6.71875 16.3837 7.83069 16.0979L22.453 12.3334C24.1653 11.8936 25.9767 12.705 26.4988 14.1453C27.0208 15.5877 26.0577 17.1137 24.348 17.5535C24.1914 17.5931 24.0322 17.6239 23.8755 17.6437L8.7547 19.5457V19.5479Z"})]})}var Wi={menuBase:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)"},menuLarge:{fontSize:"var(--semantic-type-font-size-r)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-r-single)",letterSpacing:"var(--semantic-type-letter-spacing-wide)"},sectionSm:{fontSize:"var(--semantic-type-font-size-r)",fontWeight:"var(--semantic-type-weight-semibold)",lineHeight:"var(--semantic-type-line-height-r-single)",letterSpacing:"var(--semantic-type-letter-spacing-wide)"},localBase:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-semibold)",lineHeight:"var(--semantic-type-line-height-s-tight)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)"}};function gu(){let[e,t]=(0,Tt.useState)(!1),[r,n]=(0,Tt.useState)(!1);return{hov:e,press:r,handlers:{onMouseEnter:()=>t(!0),onMouseLeave:()=>{t(!1),n(!1)},onMouseDown:()=>n(!0),onMouseUp:()=>n(!1),onBlur:()=>n(!1)}}}function bv({label:e,active:t,brandItem:r,tablet:n,onClick:o}){let{hov:a,press:i,handlers:s}=gu(),l=t?q.controlHover:i?q.controlPressed:a?q.searchFill:"transparent",c=t||i?q.monoPressed:a?q.monoHover:q.monoBase,d=r?t?Wi.sectionSm:Wi.menuLarge:t?Wi.localBase:Wi.menuBase;return(0,O.jsx)("button",{className:Br,type:"button","aria-current":t?"page":void 0,onClick:o,...s,style:{display:"flex",alignItems:"center",minWidth:H.actionTarget,minHeight:H.actionTarget,padding:0,border:"none",background:"transparent",cursor:"pointer",fontFamily:"inherit"},children:(0,O.jsx)("span",{style:{display:"flex",alignItems:"center",height:H.modInnerH,boxSizing:"border-box",padding:`0 ${Ge(n?"padding-tight":"padding-base")}`,borderRadius:Ge("cornerradius-full"),background:l,color:c,whiteSpace:"nowrap",...d,transition:"background var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)"},children:e})})}function $v({org:e,open:t,onToggle:r,compact:n}){let{hov:o,press:a,handlers:i}=gu(),s=t||a?q.controlPressed:o?q.controlHover:"transparent";return(0,O.jsx)("div",{style:{position:"relative",padding:H.slotPadV,minWidth:0},children:(0,O.jsxs)("button",{className:Br,type:"button",onClick:r,...i,"aria-haspopup":"true","aria-expanded":t,"aria-label":`Switch organisation: ${e.name}${e.campus?", "+e.campus:""}`,style:{display:"flex",alignItems:"center",boxSizing:"border-box",minHeight:H.modInnerH,minWidth:0,maxWidth:n?H.orgMainMaxMobile:H.orgMainMax,gap:n?"var(--semantic-layout-units-gap-xxxtight)":"var(--semantic-layout-units-gap-xxtight)",padding:n?`${Ge("padding-xtight")} ${Ge("padding-xxxtight")} ${Ge("padding-xtight")} ${Ge("padding-xtight")}`:`${H.orgPadV} ${H.orgPadV} ${H.orgPadV} ${H.orgPadL}`,borderRadius:Ge("cornerradius-full"),border:"none",background:s,cursor:"pointer",fontFamily:"inherit",boxShadow:`inset 0 0 0 var(--contextual-layout-units-button-borderwidth-rest, 0.75px) ${q.orgStroke}`,transition:"background var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,O.jsx)("span",{"aria-hidden":"true",style:{...Wi.menuBase,color:q.monoBase,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",minWidth:0,maxWidth:n?H.orgNameMaxMobile:H.orgNameMax},children:n&&e.shortName||e.name}),(0,O.jsx)("span",{style:{width:n?H.modChevronBox:H.orgChevronBox,height:n?H.modChevronBox:H.orgChevronBox,display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,transform:t?"rotate(180deg)":"none",transition:"transform var(--motion-duration-4) var(--motion-easing-standard)"},children:(0,O.jsx)(Ee,{name:"expand_more",size:H.chevronGlyph,style:{color:q.orgChevron}})})]})})}function vv({label:e,open:t,onToggle:r}){let{hov:n,press:o,handlers:a}=gu(),i=t||o?q.controlPressed:n?q.controlHover:"transparent";return(0,O.jsx)("div",{style:{padding:`${H.slotPadV} ${H.slotPadNarrow}`},children:(0,O.jsxs)("button",{className:Br,type:"button",onClick:r,"aria-haspopup":"true","aria-expanded":t,...a,style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxxtight)",height:H.modInnerH,boxSizing:"border-box",padding:`0 10px 0 ${Ge("padding-medium")}`,borderRadius:Ge("cornerradius-full"),border:"none",background:i,cursor:"pointer",fontFamily:"inherit",boxShadow:`inset 0 0 0 var(--contextual-layout-units-button-borderwidth-rest, 0.75px) ${q.orgStroke}`,color:q.monoBase},children:[(0,O.jsx)("span",{style:{...Wi.sectionSm,whiteSpace:"nowrap"},children:e}),(0,O.jsx)("span",{style:{width:H.modChevronBox,height:H.modChevronBox,display:"inline-flex",alignItems:"center",justifyContent:"center"},children:(0,O.jsx)(Ee,{name:"expand_more",size:H.chevronGlyph,style:{color:q.monoBase}})})]})})}function yv({icon:e,label:t,badge:r,onClick:n}){let{hov:o,press:a,handlers:i}=gu();return(0,O.jsxs)("button",{className:Br,type:"button","aria-label":t,onClick:n,...i,style:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:H.actionTarget,height:H.actionTarget,padding:0,border:"none",cursor:"pointer",borderRadius:H.radius,background:a?q.controlPressed:o?q.controlHover:"transparent",color:a?q.monoPressed:o?q.monoHover:q.monoBase,transition:"background var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)"},children:[(0,O.jsx)(hv,{name:e}),r&&(0,O.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",left:26,top:10,width:8,height:8,boxSizing:"border-box",borderRadius:"50%",background:mt("fill-static-attention-strong"),boxShadow:`inset 0 0 0 var(--semantic-layout-units-borderwidth-medium) ${q.navBg}`}})]})}var xv=[{id:"newco",label:"NewCo",brand:!0},{id:"people",label:"People"},{id:"giving",label:"Giving"},{id:"financials",label:"Financials"},{id:"digital",label:"Digital"}],Cv=[{icon:"search",label:"Search"},{icon:"help",label:"Help"},{icon:"gear",label:"Settings"},{icon:"bell",label:"Notifications",badge:!0}];function wv({navRef:e,className:t,breakpoint:r,org:n,user:o,openPanel:a,toggle:i,close:s,orgs:l,onOrgSelect:c,pillars:d,activePillarId:u,onPillarSelect:p,ncActions:b,onSideNavToggle:g,onMore:y}){let $=r==="mobile",m=r==="tablet",f=d.find(x=>x.brand)||d[0],h=m?b.filter(x=>x.icon==="search"||x.icon==="bell"):b,v=(0,O.jsx)($v,{org:n,open:a==="org",onToggle:()=>{i("org"),c?.()},compact:$||m});return(0,O.jsx)("div",{style:{background:"var(--semantic-color-fill-surface-chrome)",position:"relative",zIndex:100},children:(0,O.jsxs)("nav",{ref:e,"aria-label":"Global navigation",className:t,style:{display:"flex",alignItems:"center",justifyContent:"space-between",height:H.navH,maxHeight:H.navH,boxSizing:"border-box",padding:`${H.navPadV} ${Ge($?"padding-xtight":"padding-base")}`,gap:H.navGap,position:"relative",fontFamily:"'Red Hat Text', sans-serif",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},children:[(0,O.jsx)("div",{style:{display:"flex",alignItems:"center",flexShrink:0,minWidth:0,gap:$?"var(--semantic-layout-units-gap-xxtight)":"var(--semantic-layout-units-gap-tight)"},children:$?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(Qo,{name:"menu",size:"Large",label:"Open navigation menu",color:q.monoBase,states:p8,onClick:g}),(0,O.jsx)(vv,{label:f.label,open:a==="pillar",onToggle:()=>i("pillar")}),v]}):(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("a",{href:"#","aria-label":"Home",onClick:x=>x.preventDefault(),style:{display:"flex",alignItems:"center",height:H.touchTarget,padding:`0 ${Ge("padding-xtight")}`,borderRadius:H.radius,color:q.monoBase},children:(0,O.jsx)(gv,{})}),(0,O.jsx)("span",{"aria-hidden":"true",style:{width:1,height:28,borderRadius:1,background:q.controlPressed,flexShrink:0}}),(0,O.jsx)("div",{role:"navigation","aria-label":"Products",style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)",paddingLeft:Ge("padding-xtight")},children:d.map(x=>(0,O.jsx)(bv,{label:x.label,brandItem:!!x.brand,tablet:m,active:x.brand?u===x.id||!u:u===x.id,onClick:()=>p?.(x.id)},x.id))})]})}),(0,O.jsxs)("div",{style:{display:"flex",alignItems:"center",flexShrink:0,gap:$||m?"var(--semantic-layout-units-gap-xxtight)":"var(--semantic-layout-units-gap-tight)"},children:[!$&&v,$?(0,O.jsx)(Ep,{icon:"more_vert",label:"More actions",onClick:y}):(0,O.jsx)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)"},children:h.map(x=>(0,O.jsx)(yv,{...x},x.label))}),(0,O.jsx)(m8,{user:o,open:a==="profile",onToggle:()=>i("profile"),mobile:$}),a==="profile"&&(0,O.jsx)(h8,{user:o})]}),a==="org"&&(0,O.jsx)("div",{style:{position:"absolute",top:"calc(100% + 4px)",right:H.navPadH,zIndex:300,animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:(0,O.jsx)(Cp,{orgs:l,activeOrgId:n.id,onSelect:x=>{s(),c?.(x)}})})]})})}function g8({modules:e=kp,activeModuleId:t="home",org:r={id:"shc",name:"Sacred Heart Church-ITD",campus:"Knoxville",initials:"SH"},orgs:n=xp,user:o={name:"Jo Lopez",initials:"JL",email:"jo@sacredheart.org"},breakpoint:a="desktop",brand:i="amplify",pillars:s=xv,activePillarId:l,onPillarSelect:c,newcoActions:d=Cv,showCampus:u=!1,moduleSwitcherType:p="interactive",initialOpenPanel:b=null,onModuleSelect:g,onOrgSelect:y,onSearchOpen:$,onSideNavToggle:m,actions:f,showSearch:h=!0,showActions:v=!0,onNotifications:x,onMore:w,className:P=""}){let[k,T]=(0,Tt.useState)(b),[E,F]=(0,Tt.useState)(t),[R,_]=(0,Tt.useState)(!1),[C,L]=(0,Tt.useState)(""),z=(0,Tt.useRef)(null),N=a==="mobile",Z=a==="tablet",I=G=>T(V=>V===G?null:G),te=()=>T(null);(0,Tt.useEffect)(()=>{let G=V=>{dv(z.current,V)||te()};return document.addEventListener("mousedown",G),()=>document.removeEventListener("mousedown",G)},[]),(0,Tt.useEffect)(()=>{let G=V=>{V.key==="Escape"&&(te(),_(!1))};return document.addEventListener("keydown",G),()=>document.removeEventListener("keydown",G)},[]);let X=G=>{F(G),te(),g?.(G)},B=R;return i==="newco"?(0,O.jsx)(wv,{navRef:z,className:P,breakpoint:a,org:r,user:o,orgs:n,openPanel:k,toggle:I,close:te,onOrgSelect:y,pillars:s,activePillarId:l,onPillarSelect:c,ncActions:d,onSideNavToggle:m,onMore:w}):(0,O.jsx)("div",{style:{background:"var(--semantic-color-fill-surface-chrome)",position:"relative",zIndex:100},children:(0,O.jsxs)("nav",{ref:z,"aria-label":"Global navigation",className:P,style:{background:"transparent",display:"flex",alignItems:"center",justifyContent:"space-between",height:H.navH,maxHeight:H.navH,boxSizing:"border-box",padding:`${H.navPadV} ${H.navPadH}`,gap:H.navGap,position:"relative",overflow:"visible",fontFamily:"'Red Hat Text', sans-serif",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},children:[(0,O.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:N?0:"var(--semantic-layout-units-gap-tight)",flexShrink:0},children:[N&&(0,O.jsx)(Qo,{name:"menu",size:"Large",label:"Open navigation menu",color:q.monoBase,states:p8,onClick:m}),(0,O.jsx)(pv,{modules:e,activeId:E,open:k==="module",onToggle:()=>I("module"),breakpoint:a,type:p}),k==="module"&&p!=="static"&&(0,O.jsx)("ul",{role:"listbox","data-theme":"light","aria-label":"Switch module",style:{position:"absolute",top:"calc(100% + 4px)",left:H.navPadH,width:243,background:q.panelBg,border:`1px solid ${q.panelBorder}`,borderRadius:H.radius,boxShadow:q.panelShadow,padding:"var(--semantic-layout-units-padding-xxxtight)",zIndex:300,margin:0,listStyle:"none",animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:e.map(G=>(0,O.jsx)("li",{role:"option","aria-selected":G.id===E,children:(0,O.jsxs)("button",{className:Bi,onClick:()=>X(G.id),style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-medium)",padding:"",borderRadius:"var(--semantic-layout-units-cornerradius-base)",width:"100%",textAlign:"left",color:G.id===E?q.itemText:q.itemTextBase,fontSize:"var(--semantic-type-font-size-s)",fontWeight:G.id===E?500:400,background:G.id===E?q.activeItem:"transparent",border:"none",fontFamily:"inherit",cursor:"pointer"},children:[(0,O.jsx)(wl,{module:G.id,size:18}),G.label]})},G.id))}),(0,O.jsx)(fv,{org:r,open:k==="org",onToggle:()=>{I("org"),y?.()},mobile:N,showCampus:u}),k==="org"&&(0,O.jsx)("div",{style:{position:"absolute",top:"calc(100% + 4px)",left:N?H.navPadH:`calc(${H.navPadH} + 40px)`,zIndex:300,animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:(0,O.jsx)(Cp,{orgs:n,activeOrgId:r.id,onSelect:G=>{te(),y?.(G)}})})]}),(0,O.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:N?0:"var(--semantic-layout-units-gap-tight)",flexShrink:0},children:[h&&(0,O.jsx)(vp,{expanded:!1,onExpandChange:_,breakpoint:a,onSearchOpen:$,searchProps:{value:C,onChange:L,onClear:()=>L("")}}),v&&(0,O.jsx)(uv,{breakpoint:a,actions:f,onNotifications:x,onMore:w}),(0,O.jsx)(m8,{user:o,open:k==="profile",onToggle:()=>I("profile"),mobile:N}),k==="profile"&&(0,O.jsx)(h8,{user:o})]}),B&&(0,O.jsxs)("div",{style:{position:"absolute",inset:0,zIndex:200,background:"var(--semantic-color-fill-surface-chrome)",animation:"tnSearchExpand var(--motion-duration-4) var(--motion-easing-emphasized) both",display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:`0 ${H.navPadH}`},children:[(0,O.jsx)("button",{className:Br,type:"button","aria-label":"Back",onClick:()=>_(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:H.takeoverExit,height:H.takeoverExit,flexShrink:0,background:"transparent",border:"none",cursor:"pointer",borderRadius:H.radius,color:q.monoBase},children:(0,O.jsx)(Ee,{name:"arrow_back",size:H.takeoverExitGlyph,style:{color:q.monoBase}})}),(0,O.jsx)("div",{style:{flex:1,minWidth:0},children:(0,O.jsx)($p,{value:C,onChange:L,onClear:()=>L(""),inputRef:G=>G&&G.focus(),placeholder:"Search\u2026"})})]})]})})}g8.Search=vp;var bu=g8;var Sv=`
|
|
73
|
+
`,x8=!1;function Xn(){if(x8||typeof document>"u")return;x8=!0;let e=document.createElement("style");e.setAttribute("data-pathway","focus-ring"),e.textContent=So,document.head.appendChild(e)}var I0=S(D(),1);var HS=S(D(),1),w8=S(he(),1);var M0={wght:400,GRAD:0,opsz:24},C8={L:{frame:18,wrapper:26},M:{frame:16,wrapper:24},S:{frame:14,wrapper:20}};function ye({name:e,size:t="M",fill:r=0,color:n,label:o,className:i="",style:a,...s}){let l=typeof t=="number"?t:(C8[t]||C8.M).frame;return(0,w8.jsx)("span",{className:`material-symbols-rounded ${i}`,role:o?"img":void 0,"aria-label":o||void 0,"aria-hidden":o?void 0:!0,style:{fontSize:l,lineHeight:1,display:"block",flexShrink:0,color:n,fontVariationSettings:`'FILL' ${r}, 'wght' ${M0.wght}, 'GRAD' ${M0.GRAD}, 'opsz' ${M0.opsz}`,...a},...s,children:e})}var Su=S(D(),1),S8="(prefers-reduced-motion: reduce)",Cv=()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(S8).matches:!1;function Et(){let[e,t]=(0,Su.useState)(Cv);return(0,Su.useEffect)(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;let r=window.matchMedia(S8);t(r.matches);let n=o=>t(o.matches);return r.addEventListener("change",n),()=>r.removeEventListener("change",n)},[]),e}var ku=S(he(),1);Xn();var Ui=e=>`var(--semantic-color-${e})`,wv=e=>`var(--semantic-layout-units-${e})`,Ya=e=>`var(--motion-${e})`,Sv=e=>`var(--contextual-layout-units-${e})`,Xa=e=>`var(--semantic-layout-units-accessibility-touch-target-${e})`,E8={Small:{box:36,boxW:Xa("desktop-only-width"),boxH:Xa("desktop-only-height"),layer:24,glyph:14},Medium:{box:44,boxW:Xa("aa-width"),boxH:Xa("aa-height"),layer:28,glyph:16},Large:{box:48,boxW:Xa("aaa-width"),boxH:Xa("aaa-height"),layer:32,glyph:20}},Eu={rest:Ui("foreground-action-secondary-rest"),hover:Ui("foreground-action-secondary-hover"),pressed:Ui("foreground-action-secondary-pressed"),layerHover:Ui("fill-action-primary-subtle-hover"),layerPress:Ui("fill-action-primary-subtle-pressed"),disabled:Ui("foreground-action-disabled"),focusOutline:`${Sv("focusring-width")} solid ${Ui("stroke-focusring-base")}`};function ai({name:e,size:t="Small",label:r,fill:n=0,color:o,states:i,forceState:a,disabled:s=!1,onClick:l,className:c="",style:d,...u}){let p=Et(),[b,g]=(0,I0.useState)(!1),[y,$]=(0,I0.useState)(!1),m=!s&&(b||a==="hover"),f=!s&&(y||a==="pressed"),h=E8[t]||E8.Small,v={...Eu,...i},x=s?Eu.disabled:f?v.pressed:m?v.hover:o||Eu.rest;return(0,ku.jsx)("button",{type:"button","aria-label":r,title:r,"aria-disabled":s||void 0,onClick:s?void 0:l,onMouseEnter:()=>g(!0),onMouseLeave:()=>{g(!1),$(!1)},onMouseDown:()=>$(!0),onMouseUp:()=>$(!1),onBlur:()=>$(!1),className:`pw-action-icon ${Wi} ${c}`,"data-size":t,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:h.boxW,height:h.boxH,flexShrink:0,boxSizing:"border-box",background:"transparent",border:"none",padding:0,outline:"none",cursor:s?"not-allowed":"pointer",color:x,...d},...u,children:(0,ku.jsx)("span",{"data-pw-ring-target":"",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:h.layer,height:h.layer,borderRadius:wv("cornerradius-base"),background:f?v.layerPress:m?v.layerHover:"transparent",outline:!s&&a==="focused"?Eu.focusOutline:void 0,outlineOffset:!s&&a==="focused"?0:void 0,transition:p?"none":`background ${Ya("duration-2")} ${Ya("easing-standard")}, outline ${Ya("duration-2")} ${Ya("easing-standard")}`},children:(0,ku.jsx)(ye,{name:e,size:h.glyph,fill:n,style:{transition:p?"none":`color ${Ya("duration-2")} ${Ya("easing-standard")}`}})})})}var _r=S(D(),1);var Ye=S(he(),1);Xn();var Ue={barBg:"var(--semantic-color-fill-static-neutral-mono)",filterActiveFill:"var(--semantic-color-fill-action-primary-subtle-rest)",iconPillHover:"var(--semantic-color-fill-action-secondary-hover)",iconPillPressed:"var(--semantic-color-fill-action-secondary-pressed)",badgeFill:"var(--semantic-color-fill-action-primary-strong-rest)",disabledBg:"var(--primitive-color-cool-neutral-10)",borderIdle:"var(--semantic-color-stroke-static-neutral-faint)",borderHover:"var(--semantic-color-stroke-action-primary-strong-hover)",borderActive:"var(--semantic-color-stroke-action-primary-strong-pressed)",borderError:"var(--semantic-color-stroke-action-status-negative-rest)",borderDisabled:"var(--primitive-color-cool-neutral-25)",divider:"var(--semantic-color-stroke-action-secondary-rest)",textPlaceholder:"var(--semantic-color-foreground-static-neutral-base)",textValue:"var(--semantic-color-foreground-static-neutral-bold)",iconIdle:"var(--semantic-color-foreground-action-secondary-rest)",iconHover:"var(--semantic-color-foreground-action-secondary-hover)",iconDisabled:"var(--semantic-color-foreground-action-disabled)",iconError:"var(--semantic-color-foreground-action-status-negative-on-subtle-rest)",navIconFill:"var(--semantic-color-foreground-action-ghost-rest)",navIconHover:"var(--semantic-color-foreground-action-ghost-hover)",collapsedBtnFill:"var(--semantic-color-fill-action-ghost-rest)",collapsedBtnHover:"var(--semantic-color-fill-action-ghost-hover)",collapsedBtnPressed:"var(--semantic-color-fill-action-ghost-pressed)",collapsedBtnBorder:"var(--semantic-color-stroke-action-ghost-rest)",collapsedBtnBorderHov:"var(--semantic-color-stroke-action-ghost-hover)",navFieldFill:"var(--semantic-color-fill-static-neutral-mono)",navFieldBorder:"var(--semantic-color-stroke-static-neutral-faint)",navFieldBorderOpen:"var(--semantic-color-stroke-action-primary-strong-pressed)",navMenuFill:"var(--semantic-color-fill-surface-elevated)",navMenuBorder:"var(--semantic-color-stroke-static-neutral-faint)",badgeBorderColor:"var(--semantic-color-fill-static-neutral-faint)"},De={touchTarget:48,exitTarget:"var(--semantic-layout-units-accessibility-touch-target-aa-width)",exitGlyph:20,pillHeight:36,barRadius:64,iconBtnRadius:12,iconBtnSize:24,iconSize:16,iconSizeCollapsed:16,barPadH:8,barGap:8,iconPillPad:4,dividerPad:4,badgeSize:6,expandedWidth:320,containerPad:4},Ev={fontFamily:"'Red Hat Text', sans-serif",fontSize:"var(--semantic-type-font-size-s)",fontWeight:400,lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"};function k8({iconName:e,iconSize:t=De.iconSize,iconColor:r,label:n,onClick:o,style:i}){let[a,s]=(0,_r.useState)(!1),[l,c]=(0,_r.useState)(!1);return(0,Ye.jsx)("button",{type:"button","aria-label":n,onClick:o,onMouseEnter:()=>s(!0),onMouseLeave:()=>{s(!1),c(!1)},onMouseDown:()=>c(!0),onMouseUp:()=>c(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:De.iconBtnSize,height:De.iconBtnSize,borderRadius:De.iconBtnRadius,background:"transparent",border:"none",cursor:"pointer",padding:0,flexShrink:0,...i},children:(0,Ye.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",borderRadius:De.barRadius,padding:De.iconPillPad,background:l?Ue.iconPillPressed:a?Ue.iconPillHover:"transparent",transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,Ye.jsx)(ye,{name:e,size:t,color:r,fill:1})})})}function N0({value:e="",placeholder:t="Search...",showFilter:r=!1,filterActive:n=!1,filterBadge:o=!1,disabled:i=!1,error:a=!1,onSearch:s,onFilterClick:l,onChange:c,onClear:d,className:u="",id:p,searchIconAriaLabel:b="Search",onSearchIconClick:g,inputRef:y}){let[$,m]=(0,_r.useState)(!1),[f,h]=(0,_r.useState)(!1),v=(0,_r.useRef)(null),x=y||v,w=e.length>0,P=i,k=a&&!i,T=()=>P?{border:`1px solid ${Ue.borderDisabled}`}:k?{border:`1px solid ${Ue.borderError}`}:n||f||w?{border:`1px solid ${Ue.borderActive}`}:$?{border:`1px solid ${Ue.borderHover}`}:{border:`0.75px solid ${Ue.borderIdle}`},E=P?Ue.iconDisabled:k?Ue.iconError:$||f?Ue.iconHover:Ue.iconIdle,F=I=>{I.key==="Enter"&&s?.(e)},_=()=>{d?.(),x.current?.focus()};return(0,Ye.jsx)("div",{className:u,style:{boxSizing:"border-box",minHeight:De.touchTarget,display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",opacity:P?.38:1,pointerEvents:P?"none":"auto"},onMouseEnter:()=>!P&&m(!0),onMouseLeave:()=>m(!1),children:(0,Ye.jsxs)("div",{role:"search","aria-label":"Search",style:{boxSizing:"border-box",display:"flex",alignItems:"center",gap:De.barGap,minHeight:De.pillHeight,borderRadius:De.barRadius,background:P?Ue.disabledBg:Ue.barBg,overflow:"hidden",paddingLeft:De.barPadH,paddingRight:De.barPadH,transition:"border-color var(--motion-duration-2) var(--motion-easing-standard), background var(--motion-duration-2) var(--motion-easing-standard)",...T()},children:[(0,Ye.jsx)("div",{style:{display:"flex",alignItems:"center",flexShrink:0},children:(0,Ye.jsx)(k8,{iconName:"search",iconColor:E,label:b,onClick:g||(()=>s?.(e))})}),(0,Ye.jsx)("input",{ref:x,id:p,type:"text",role:"searchbox",value:e,placeholder:t,disabled:P,autoComplete:"off","aria-label":"Search",onChange:I=>c?.(I.target.value),onFocus:()=>h(!0),onBlur:()=>h(!1),onKeyDown:F,style:{...Ev,flex:1,minWidth:0,background:"transparent",border:"none",outline:"none",color:w?Ue.textValue:Ue.textPlaceholder}}),w&&(0,Ye.jsx)(k8,{iconName:"cancel",iconColor:E,label:"Clear search",onClick:_}),r&&(0,Ye.jsx)("div",{style:{display:"flex",alignItems:"center",flexShrink:0,borderLeft:`0.75px solid ${Ue.divider}`,paddingLeft:De.dividerPad,position:"relative"},children:(0,Ye.jsxs)("div",{style:{position:"relative"},children:[(0,Ye.jsx)("button",{type:"button","aria-label":n?"Open filters (filters active)":"Open filters",onClick:l,style:{display:"flex",alignItems:"center",justifyContent:"center",width:De.iconBtnSize,height:De.iconBtnSize,borderRadius:De.iconBtnRadius,background:n?Ue.filterActiveFill:"transparent",border:"none",cursor:"pointer",padding:0,flexShrink:0,transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,Ye.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",borderRadius:De.barRadius,padding:De.iconPillPad},children:(0,Ye.jsx)(ye,{name:"filter_alt",size:De.iconSize,color:E,fill:1})})}),o&&(0,Ye.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",top:1,right:1,width:De.badgeSize,height:De.badgeSize,borderRadius:"50%",background:Ue.badgeFill,border:`1.5px solid ${Ue.badgeBorderColor}`,display:"block"}})]})})]})})}if(typeof document<"u"&&!document.getElementById("pds-topnavsearch-anim")){let e=document.createElement("style");e.id="pds-topnavsearch-anim",e.textContent="@keyframes pwSearchExpand{from{clip-path:inset(0 0 0 calc(100% - 48px));opacity:.6}to{clip-path:inset(0 0 0 0);opacity:1}}@media (prefers-reduced-motion: reduce){@keyframes pwSearchExpand{from{clip-path:inset(0);opacity:1}to{clip-path:inset(0);opacity:1}}}",document.head.appendChild(e)}function D0({expanded:e,onExpandChange:t,searchProps:r={},onSearchOpen:n,breakpoint:o="desktop",className:i=""}){let a=(0,_r.useRef)(null),s=(0,_r.useRef)(null),[l,c]=(0,_r.useState)(!1),d=e!==void 0,[u,p]=(0,_r.useState)(!1),b=d?e:u,g=r.value!==void 0,[y,$]=(0,_r.useState)(""),m=g?r.value:y,f=x=>{g||$(x),r.onChange?.(x)},h=()=>{d||p(!0),t?.(!0),n?.(),requestAnimationFrame(()=>s.current?.focus())},v=()=>{d||p(!1),t?.(!1),setTimeout(()=>a.current?.focus(),0)};return(0,_r.useEffect)(()=>{if(!b)return;let x=w=>{w.key==="Escape"&&v()};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[b]),(0,Ye.jsxs)("div",{className:i,style:{position:b?"static":"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:De.touchTarget,height:De.touchTarget,minWidth:De.touchTarget,flexShrink:0},children:[(0,Ye.jsx)("button",{ref:a,className:jr,type:"button","aria-label":"Open search","aria-expanded":b,onClick:h,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:De.touchTarget,height:De.touchTarget,borderRadius:De.iconBtnRadius,background:"transparent",border:"none",cursor:"pointer",padding:0,flexShrink:0},children:(0,Ye.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:36,height:36,boxSizing:"border-box",borderRadius:"var(--semantic-layout-units-cornerradius-full)",background:l?Ue.collapsedBtnHover:Ue.collapsedBtnFill,border:`var(--contextual-layout-units-button-borderwidth-rest, 0.75px) solid ${l?Ue.collapsedBtnBorderHov:Ue.collapsedBtnBorder}`,transition:"background var(--motion-duration-2) var(--motion-easing-standard), border-color var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,Ye.jsx)(ye,{name:"search",size:De.iconSizeCollapsed,color:l?Ue.navIconHover:Ue.navIconFill})})}),b&&(0,Ye.jsxs)("div",{"aria-hidden":!1,style:{position:"absolute",inset:0,display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xtight)",background:"var(--semantic-color-fill-surface-chrome)",padding:"var(--semantic-layout-units-padding-xxtight) var(--semantic-layout-units-padding-base)",boxSizing:"border-box",zIndex:60,animation:"pwSearchExpand var(--motion-duration-4) var(--motion-easing-spring) both"},children:[(0,Ye.jsx)("button",{type:"button","aria-label":"Back",onClick:v,style:{display:"flex",alignItems:"center",justifyContent:"center",width:De.exitTarget,height:De.exitTarget,flexShrink:0,background:"transparent",border:"none",cursor:"pointer",borderRadius:De.iconBtnRadius,color:Ue.navIconFill},children:(0,Ye.jsx)(ye,{name:"arrow_back",size:De.exitGlyph,color:Ue.navIconFill,fill:1})}),(0,Ye.jsx)("div",{style:{flex:1,minWidth:0},children:(0,Ye.jsx)(N0,{...r,value:m,onChange:f,inputRef:s,onSearch:x=>r.onSearch?.(x)})})]})]})}var F0=S(D(),1);var $t=S(he(),1);var kv=[{key:"people",color:"#877EC8",icon:"group"},{key:"giving",color:"#4BA8CB",icon:"volunteer_activism"},{key:"mobile-app",color:"#6FCEB7",icon:"smartphone"},{key:"website",color:"#4B6EC3",icon:"language"},{key:"streaming",color:"#FF894A",icon:"live_tv"},{key:"content",color:"#1E99AE",icon:"description"},{key:"communications",color:"#1FA79B",icon:"mail"},{key:"protections",color:"#E97272",icon:"shield"},{key:"events",color:"#7996FC",icon:"event"},{key:"accounting",color:"#F8C84F",icon:"account_balance"}],H0=[{id:"grace",name:"Grace Church",initials:"GC"},{id:"cityhope",name:"City Hope Church",initials:"CH"},{id:"nkbc",name:"Northern Kentucky Baptist Church",initials:"NK"},{id:"crosspoint",name:"Cross Point",initials:"CP"},{id:"cornerstone",name:"Cornerstone",initials:"CO"},{id:"elevate",name:"Elevate Life Church",initials:"EL"},{id:"crossbridge",name:"Crossbridge",initials:"CB"}],Eo={bg:"var(--semantic-color-fill-static-neutral-faint)",header:"var(--semantic-color-foreground-static-neutral-base)",border:"var(--semantic-color-stroke-static-neutral-faint)",name:"var(--semantic-color-foreground-static-neutral-bold)",icon:"var(--semantic-color-foreground-static-neutral-base)",logoBg:"var(--semantic-color-fill-surface-chrome)",rowActive:"var(--semantic-color-fill-action-primary-subtle-rest)"};function Pv(){return(0,$t.jsx)("div",{style:{display:"flex",alignItems:"center"},"aria-hidden":"true",children:kv.map(e=>(0,$t.jsx)("span",{style:{width:18,height:18,borderRadius:"50%",background:e.color,marginRight:-4,border:"1.5px solid var(--semantic-color-fill-static-neutral-mono)",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center"},children:(0,$t.jsx)(ye,{name:e.icon,size:11,style:{color:"var(--semantic-color-foreground-static-neutral-mono)"}})},e.key))})}function Tv({org:e,active:t,onSelect:r}){let n=Et(),[o,i]=(0,F0.useState)(!1);return(0,$t.jsxs)("button",{type:"button",onClick:()=>r&&r(e),onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),"aria-current":t?"true":void 0,style:{position:"relative",display:"flex",alignItems:"center",gap:12,width:"100%",textAlign:"left",padding:"8px 8px",border:"none",cursor:"pointer",borderRadius:8,fontFamily:"inherit",background:t||o?Eo.rowActive:"transparent",transition:n?"none":"background var(--motion-duration-2) var(--motion-easing-standard)"},children:[t&&(0,$t.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",width:4,height:44,borderRadius:"0 var(--semantic-layout-units-cornerradius-base) var(--semantic-layout-units-cornerradius-base) 0",background:"var(--semantic-color-fill-action-selection-indicator)"}}),(0,$t.jsx)("div",{style:{width:44,height:44,borderRadius:6,flexShrink:0,background:Eo.logoBg,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},children:e.logoUrl?(0,$t.jsx)("img",{src:e.logoUrl,alt:"",style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}}):(0,$t.jsx)("span",{style:{fontSize:13,fontWeight:700,color:"var(--semantic-color-foreground-static-neutral-mono)"},children:e.initials})}),(0,$t.jsxs)("div",{style:{flex:1,minWidth:0,display:"flex",flexDirection:"column",gap:6},children:[(0,$t.jsx)("div",{style:{fontSize:14,fontWeight:600,lineHeight:"18px",color:Eo.name,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.name}),(0,$t.jsx)(Pv,{})]}),(0,$t.jsx)(ye,{name:"chevron_right",size:12,style:{color:Eo.icon,flexShrink:0}})]})}function A0({orgs:e=H0,activeOrgId:t,query:r="",onQueryChange:n,onSearch:o,onSelect:i,style:a}){return(0,$t.jsxs)("div",{role:"dialog","aria-label":"Switch organisation",style:{width:360,boxSizing:"border-box",background:Eo.bg,borderRadius:"var(--semantic-layout-units-cornerradius-base)",boxShadow:"var(--elevation-lift)",padding:"18px 18px 24px",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-medium)",fontFamily:"'Red Hat Text', sans-serif",...a},children:[(0,$t.jsx)("div",{style:{padding:"4px 10px",fontSize:"var(--semantic-type-font-size-s)",fontWeight:600,lineHeight:"var(--semantic-type-line-height-s-single)",color:Eo.header},children:"My Organizations"}),(0,$t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:"var(--semantic-layout-units-padding-xtight)",borderRadius:"var(--semantic-layout-units-cornerradius-base)",border:`1px solid ${Eo.border}`},children:[(0,$t.jsx)(ye,{name:"search",size:18,style:{color:Eo.icon}}),(0,$t.jsx)("input",{type:"text",value:r,placeholder:"Search","aria-label":"Search organisations",onChange:s=>n&&n(s.target.value),onKeyDown:s=>{s.key==="Enter"&&o&&o(r)},style:{flex:1,minWidth:0,border:"none",outline:"none",background:"transparent",fontFamily:"inherit",fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",color:Eo.name}})]}),(0,$t.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",maxHeight:320,overflowY:"auto",overflowX:"hidden"},children:e.map(s=>(0,$t.jsx)(Tv,{org:s,active:s.id===t,onSelect:i},s.id))})]})}var L8=S(D(),1),ko=S(he(),1),Lv={"--module-accounting-base":"var(--primitive-color-saffron-200)","--module-accounting-subtle":"var(--primitive-color-saffron-100)","--module-communications-base":"var(--primitive-color-green-300)","--module-communications-subtle":"var(--primitive-color-green-150)","--module-equip-from":"var(--primitive-color-brand-200)","--module-equip-to":"var(--primitive-color-lagoon-150)","--module-giving-base":"var(--primitive-color-seabreeze-350)","--module-giving-subtle":"var(--primitive-color-seabreeze-150)","--module-home-base":"var(--primitive-color-brand-550)","--module-media-base":"var(--primitive-color-jade-300)","--module-media-subtle":"var(--primitive-color-jade-150)","--module-mobile-base":"var(--primitive-color-jade-200)","--module-mobile-subtle":"var(--primitive-color-jade-100)","--module-people-base":"var(--primitive-color-brand-300)","--module-people-subtle":"var(--primitive-color-brand-150)","--module-safety-base":"var(--primitive-color-red-300)","--module-safety-subtle":"var(--primitive-color-red-150)","--module-service-planning-base":"var(--primitive-color-lagoon-400)","--module-service-planning-subtle":"var(--primitive-color-lagoon-200)","--module-streaming-base":"var(--primitive-color-orange-200)","--module-streaming-subtle":"var(--primitive-color-orange-100)","--module-websites-base":"var(--primitive-color-mauve-300)","--module-websites-subtle":"var(--primitive-color-mauve-150)"},R8=["people","giving","service-planning","streaming","safety","mobile","accounting","communications","home","websites","media","equip"],_8={people:"People",giving:"Giving","service-planning":"Service Planning",streaming:"Streaming",safety:"Safety",mobile:"Mobile",accounting:"Accounting",communications:"Communications",home:"Amplify Home",websites:"Websites",media:"Media",equip:"Equip"};var O0=16,P8={base:{people:[["s","M12.4718 8.81324C11.766 8.68255 11.0733 8.77403 10.4524 9.02889C11.6745 10.1921 12.413 11.7474 12.5306 13.4399L12.6025 14.4789C12.6025 14.5246 12.6025 14.5704 12.6025 14.6227C13.4521 14.1587 14.2298 13.5836 14.9095 12.8975C15.282 12.5185 15.4388 11.9761 15.3081 11.4664C14.9683 10.1463 13.8965 9.08117 12.4718 8.81324Z"],["s","M12.2496 7.63689C13.7266 8.21195 15.2885 7.13371 15.282 5.55229C15.282 4.6701 14.7134 3.84671 13.89 3.52651C12.413 2.95145 10.8511 4.02969 10.8576 5.61111C10.8576 6.4933 11.4262 7.31669 12.2496 7.63689Z"],["b","M11.3216 12.9435C11.2235 12.3815 11.0406 11.8456 10.7922 11.3555C10.6223 11.0288 10.4262 10.7217 10.204 10.4341C9.98183 10.1466 9.72695 9.8852 9.45247 9.64995C8.4591 8.79389 7.17165 8.28418 5.78616 8.28418C5.65546 8.28418 5.51822 8.28418 5.38751 8.29725C3.41385 8.43448 1.75388 9.57806 0.858539 11.1922C0.472956 11.8914 0.623268 12.7866 1.21798 13.316C2.95637 14.8647 5.23066 15.8188 7.74022 15.8384C7.7729 15.8384 7.80557 15.8384 7.83825 15.8384C8.92965 15.8384 9.9753 15.6554 10.9556 15.3352C11.2824 15.2241 11.4915 14.8974 11.4653 14.551L11.3935 13.512C11.3804 13.316 11.3542 13.1265 11.3216 12.9369V12.9435Z"],["b","M7.75986 5.44826C7.84482 5.31757 7.91017 5.18034 7.97553 5.04311C7.99513 4.99736 8.01474 4.95162 8.03434 4.90588C8.08009 4.79479 8.1193 4.68369 8.15198 4.56607C8.16505 4.52033 8.17812 4.48112 8.19119 4.43537C8.22387 4.28507 8.25001 4.13477 8.26961 3.98447C8.27615 3.91912 8.27615 3.85378 8.28268 3.78843C8.28268 3.71655 8.28268 3.63813 8.28268 3.56625C8.28268 3.5009 8.28269 3.43555 8.27615 3.3702C8.27615 3.29832 8.26308 3.2199 8.25654 3.14802C8.25001 3.08267 8.23694 3.02386 8.22387 2.95851C8.2108 2.88663 8.19773 2.82128 8.17812 2.7494C8.15198 2.63831 8.11277 2.52721 8.07355 2.41612C8.05395 2.37038 8.04088 2.32464 8.02781 2.27889C7.96899 2.13513 7.8971 1.9979 7.81868 1.8672C7.79254 1.82799 7.7664 1.78878 7.74025 1.74957C7.6749 1.64502 7.59648 1.54046 7.51805 1.44244C7.49191 1.4163 7.47231 1.38363 7.44616 1.35749C7.2305 1.10917 6.98216 0.893517 6.70114 0.710543C6.66846 0.690939 6.63579 0.671335 6.60311 0.65173C6.49855 0.586382 6.38744 0.527569 6.26981 0.475291C6.22406 0.455687 6.18485 0.436082 6.1391 0.416478C5.99533 0.357665 5.85155 0.305386 5.70124 0.266178C5.65549 0.253108 5.60321 0.246573 5.55746 0.240039C5.44636 0.213899 5.32873 0.194295 5.21763 0.181225C5.12613 0.168156 5.04117 0.161621 4.94968 0.161621C4.92354 0.161621 4.90393 0.161621 4.87779 0.161621C4.79936 0.161621 4.71441 0.161621 4.62945 0.174691C4.57063 0.174691 4.51181 0.174691 4.45299 0.18776C4.36803 0.194295 4.27654 0.213899 4.19158 0.233504C4.13276 0.246573 4.07395 0.253108 4.02166 0.266178C3.87789 0.298852 3.73411 0.344595 3.59687 0.396873C3.53805 0.416478 3.48577 0.442617 3.43349 0.468756C3.32892 0.5145 3.22436 0.566778 3.12633 0.625591C3.08711 0.645195 3.05444 0.6648 3.01523 0.684404C2.87798 0.769356 2.74728 0.860843 2.62311 0.9654C2.6035 0.978469 2.59043 0.998074 2.57082 1.01114C2.45972 1.10917 2.35516 1.21372 2.25713 1.32481C2.23752 1.34442 2.22445 1.36402 2.20485 1.37709C2.09375 1.50779 1.99572 1.63848 1.90422 1.78225C1.81926 1.91294 1.75391 2.05017 1.68856 2.19394C1.66895 2.23968 1.64935 2.28543 1.62974 2.32464C1.58399 2.43573 1.54478 2.54682 1.5121 2.66444C1.49903 2.71019 1.48596 2.7494 1.47289 2.79514C1.43368 2.94544 1.41407 3.09574 1.39447 3.24604C1.38793 3.31139 1.38793 3.3702 1.3814 3.43555C1.3814 3.50743 1.3814 3.58585 1.3814 3.65773C1.3814 3.72308 1.3814 3.78843 1.38793 3.84724C1.38793 3.91912 1.401 3.99754 1.40754 4.06942C1.41407 4.13477 1.42715 4.19359 1.44022 4.25893C1.45329 4.33082 1.46636 4.39616 1.48596 4.46805C1.5121 4.57914 1.55132 4.69023 1.59053 4.80132C1.61013 4.84706 1.61667 4.89281 1.63628 4.93855C1.69509 5.08232 1.76698 5.21955 1.84541 5.35024C1.87155 5.38945 1.89769 5.42866 1.92383 5.46787C1.99572 5.57242 2.06761 5.67698 2.14603 5.775C2.17217 5.80114 2.19178 5.83382 2.21792 5.85996C2.43358 6.10828 2.68193 6.32393 2.96294 6.5069C2.99562 6.5265 3.0283 6.54611 3.05444 6.56571C3.16554 6.63106 3.27664 6.68987 3.38774 6.74215C3.43349 6.76176 3.4727 6.78136 3.51844 6.80097C3.66222 6.85978 3.806 6.91206 3.95631 6.95127C4.00206 6.96434 4.0478 6.97087 4.10009 6.97741C4.21119 7.00354 4.32882 7.02315 4.44646 7.03622C4.53795 7.04929 4.62291 7.05582 4.71441 7.05582C4.74055 7.05582 4.76015 7.05582 4.78629 7.05582C4.86472 7.05582 4.94968 7.05582 5.03464 7.04275C5.09345 7.04275 5.15227 7.04275 5.21109 7.02968C5.29605 7.02315 5.38754 7.00354 5.4725 6.98394C5.53132 6.97087 5.59014 6.96434 5.64242 6.95127C5.7862 6.91859 5.92997 6.87285 6.06721 6.82057C6.1195 6.80097 6.17832 6.77483 6.2306 6.74869C6.33516 6.70294 6.43973 6.65066 6.53776 6.59185C6.57697 6.57225 6.60964 6.55264 6.64886 6.53304C6.7861 6.44809 6.9168 6.3566 7.04098 6.25204C7.06058 6.23897 7.07365 6.21937 7.09326 6.2063C7.20436 6.10828 7.30892 6.00372 7.40695 5.89263C7.42656 5.87303 7.43963 5.85342 7.45924 5.83382C7.57034 5.70312 7.66837 5.57243 7.75986 5.42866V5.44826Z"]],giving:[["s","M4.46107 7.13333C4.9211 7.57333 5.40114 7.99333 5.89451 8.38667C6.1412 8.35333 6.38789 8.33333 6.63457 8.33333H9.1081C9.32812 8.33333 9.54814 8.38 9.75482 8.44C10.2749 8.03333 10.7749 7.6 11.2483 7.14C11.9417 6.44 12.4684 5.6 12.7951 4.66667C13.0818 3.78 13.0484 2.82667 12.7151 1.96C12.375 1.1 11.6683 0.433333 10.7882 0.153333C10.4816 0.0533333 10.1549 0 9.83483 0.00666667H9.81483C9.10811 0.00666667 8.42139 0.24 7.86134 0.673333C7.82134 0.64 7.77466 0.613333 7.72799 0.586667L7.70799 0.573333C7.70799 0.573333 7.66132 0.546667 7.63465 0.52C7.58798 0.486667 7.54131 0.453333 7.48798 0.42L7.29463 0.333333C7.19462 0.28 7.08128 0.233333 6.96793 0.2C6.9546 0.186667 6.94127 0.18 6.92126 0.166667H6.88793C6.58123 0.0666667 6.26788 0.00666667 5.94785 0H5.89451C5.74784 0 5.60782 0.00666667 5.46115 0.0333333H5.40114C5.2478 0.0533333 5.09445 0.0866667 4.9411 0.14C4.05437 0.426667 3.34098 1.09333 2.99428 1.96C2.65426 2.82667 2.62759 3.78667 2.92094 4.67333C3.24764 5.6 3.77435 6.44 4.46773 7.14L4.46107 7.13333Z"],["b","M15.4953 10.5133C15.2886 10.3267 15.0486 10.2533 14.7886 10.2533C14.4686 10.2533 14.1352 10.3667 13.8285 10.5133L11.9684 11.7067C11.355 11.9867 10.8949 12.3267 10.3282 12.3267H8.16805C7.59467 12.36 7.22797 12.5533 6.87461 13.0333C6.80127 13.1267 6.6946 13.18 6.58125 13.18C6.50792 13.18 6.42791 13.1533 6.36124 13.1067C6.23456 13.0133 6.18789 12.8533 6.22789 12.7133C6.24123 12.6733 6.25457 12.6333 6.2879 12.5933C6.36124 12.5 6.43458 12.4133 6.50791 12.3267C6.99462 11.8067 7.56134 11.58 8.3614 11.58H9.04145C9.58816 11.58 10.0615 11.2067 10.1415 10.7133C10.1949 10.4 10.1082 10.1 9.90819 9.86667C9.70817 9.63333 9.42148 9.5 9.11479 9.5H6.64126C5.54784 9.5 4.46775 9.88 3.61435 10.5733L2.74761 11.2733C2.74761 11.2733 2.70094 11.3 2.67427 11.3133C2.51426 11.4133 2.35425 11.4933 2.19424 11.5533C1.68087 11.7467 1.24749 11.7467 1.24749 11.7467H0.714121C0.367426 11.7467 0.0874023 12.0267 0.0874023 12.3733V15.3733C0.0874023 15.72 0.367426 16 0.714121 16H10.7616C11.3283 16 11.8817 15.8067 12.3217 15.4533L15.442 12.42C16.0353 11.9467 16.082 11.04 15.4953 10.5133Z"]],"service-planning":[["b","M7.26882 10.353C7.26882 9.63288 7.76897 8.95945 8.46912 8.73942L12.63 7.51257V3.0386C12.63 1.11166 11.5298 0.00483079 9.60935 0.00483079H4.34154C3.52135 -0.0418426 2.72116 0.251533 2.11435 0.804946C1.5609 1.4117 1.27417 2.21848 1.32084 3.04527V9.53286C1.32084 11.4665 2.42107 12.5733 4.34817 12.5733H7.2755V10.3463L7.26882 10.353ZM5.78184 3.02526H9.58937C9.90944 3.02526 10.1762 3.2853 10.1762 3.61201C10.1762 3.93873 9.91611 4.19877 9.58937 4.19877H5.78184C5.46177 4.19877 5.19504 3.93873 5.19504 3.61201C5.19504 3.2853 5.4551 3.02526 5.78184 3.02526ZM4.56156 6.73246C4.53488 6.80581 4.4882 6.87248 4.43486 6.92582C4.38151 6.97916 4.31485 7.01917 4.24817 7.05251C4.17482 7.07918 4.10145 7.09918 4.02144 7.09918C3.86807 7.09918 3.72137 7.03251 3.60801 6.92582C3.55467 6.87248 3.51466 6.80581 3.48799 6.73246C3.45465 6.66579 3.44131 6.58577 3.44131 6.51243C3.44131 6.43909 3.45465 6.35908 3.48799 6.2924C3.51466 6.21905 3.55467 6.15238 3.60801 6.09904C3.77472 5.93901 4.02812 5.88567 4.24817 5.97235C4.31485 6.00569 4.38151 6.0457 4.43486 6.09904C4.4882 6.15238 4.53488 6.21905 4.56156 6.2924C4.5949 6.35908 4.60824 6.43909 4.60824 6.51243C4.60824 6.58577 4.58823 6.66579 4.56156 6.73246ZM4.43486 4.01874C4.38151 4.07208 4.31485 4.11209 4.24817 4.14542C4.17482 4.1721 4.10145 4.1921 4.02144 4.1921C3.86807 4.1921 3.72137 4.12542 3.60801 4.01874C3.50132 3.91206 3.44131 3.7587 3.44131 3.60535C3.44131 3.532 3.45465 3.45199 3.48799 3.38532C3.51466 3.31197 3.55467 3.2453 3.60801 3.19195C3.77472 3.03193 4.03479 2.97859 4.24817 3.06527C4.31485 3.09861 4.38151 3.13861 4.43486 3.19195C4.4882 3.2453 4.53488 3.31197 4.56156 3.38532C4.5949 3.45199 4.60824 3.532 4.60824 3.60535C4.60824 3.7587 4.54155 3.91206 4.43486 4.01874ZM5.20171 6.51243C5.20171 6.19239 5.46177 5.92568 5.78851 5.92568H7.6956C8.01567 5.92568 8.2824 6.18572 8.2824 6.51243C8.2824 6.83914 8.02233 7.09918 7.6956 7.09918H5.78851C5.46844 7.09918 5.20171 6.83914 5.20171 6.51243Z"],["s","M14.1638 8.2989C14.1171 8.2989 14.0505 8.31223 14.0105 8.32557L8.80264 9.86579C8.6026 9.9258 8.43586 10.1525 8.43586 10.3592V13.9864C8.29583 13.953 8.06246 13.9264 7.91576 13.9197C7.05557 13.9197 6.3554 14.3864 6.3554 14.9599C6.3554 15.5333 7.05557 16 7.91576 16C8.77596 16 9.47609 15.5333 9.47609 14.9599V11.7861L12.3768 10.9393L13.6437 10.5659V12.9396C13.5037 12.9062 13.2703 12.8796 13.1236 12.8729C12.2634 12.8729 11.5632 13.3396 11.5632 13.913C11.5632 14.4865 12.2634 14.9532 13.1236 14.9532C13.9838 14.9532 14.6839 14.4865 14.6839 13.913V8.8123C14.6839 8.5256 14.4506 8.29223 14.1638 8.29223V8.2989Z"]],streaming:[["b","M15.0579 5.89623L13.8961 6.56138C13.6991 6.67272 13.5792 6.88111 13.5792 7.10949V11.3013C13.5792 11.5268 13.6991 11.7352 13.8961 11.8494L15.0579 12.5145C15.4776 12.7543 16 12.4517 16 11.9664V6.44719C16 5.96474 15.4776 5.65929 15.0579 5.89909V5.89623Z"],["b","M9.50832 4.04126C9.45694 4.04126 9.4027 4.04126 9.34846 4.04697L8.15233 5.25451C8.05527 5.36299 7.92966 5.45149 7.79263 5.51144C7.85258 5.68843 7.88398 5.87684 7.88398 6.07096C7.87827 7.01017 7.11035 7.77809 6.16259 7.78094C5.70868 7.78094 5.28333 7.60395 4.96075 7.28137C4.63816 6.95878 4.46688 6.53628 4.46117 6.06811C4.46117 5.87684 4.49543 5.69129 4.55538 5.51715C4.43262 5.46291 4.32129 5.38869 4.22708 5.29733L2.9967 4.04411H2.75975C1.17824 4.10977 -0.0578576 5.46576 0.00209165 7.07297V11.6073C0.0791692 13.1603 1.08118 14.365 2.58276 14.365C3.05355 14.365 3.52477 14.3629 3.99585 14.365H9.61109C11.1983 14.3022 12.4373 12.9434 12.3716 11.339V6.79892C12.2945 5.24595 11.0213 4.04126 9.50261 4.04126H9.50832Z"],["s","M3.35639 3.1994L3.6333 3.47631C3.67897 3.52198 3.74178 3.54482 3.80458 3.54482C3.86168 3.54482 3.91877 3.52484 3.96445 3.48487C4.07578 3.3821 4.21281 3.28789 4.36125 3.19654C4.90365 2.86254 5.63446 2.61989 6.19113 2.61418H6.19399C6.19399 2.61418 6.20255 2.61703 6.20541 2.61703C6.77064 2.61703 7.51001 2.85969 8.04956 3.19654C8.18373 3.27933 8.30648 3.36783 8.40925 3.45918C8.45207 3.49914 8.50631 3.51913 8.56341 3.51913C8.62907 3.51913 8.69473 3.49058 8.7404 3.4392L9.08297 3.09663C9.12008 3.05952 9.15434 2.98244 9.15434 2.92534C9.15434 2.8654 9.12008 2.78832 9.07726 2.7455H9.08011L9.0744 2.73693C8.29221 2.02325 7.29305 1.63501 6.2311 1.63501C6.22253 1.63501 6.21397 1.63501 6.20541 1.63501C5.13203 1.64072 4.12146 2.04038 3.32213 2.76834C3.2736 2.81116 3.23649 2.89394 3.23649 2.95675C3.23364 3.01099 3.26789 3.09092 3.2993 3.13374L3.3621 3.19654L3.35639 3.1994Z"],["s","M6.18261 5.20619C5.70587 5.20619 5.31763 5.59728 5.31477 6.07402C5.31477 6.31096 5.41183 6.52792 5.56599 6.68208C5.72014 6.83623 5.92854 6.93329 6.16833 6.93329C6.16833 6.93329 6.17119 6.93329 6.17404 6.93329C6.65078 6.93329 7.03903 6.5422 7.04188 6.06546C7.04188 5.82852 6.94482 5.61156 6.79067 5.4574C6.63651 5.30325 6.42812 5.20619 6.18832 5.20619C6.18832 5.20619 6.18546 5.20619 6.18261 5.20619Z"],["s","M7.36436 4.75554C7.42146 4.75554 7.49854 4.72414 7.52994 4.67847L7.87821 4.33019C7.92104 4.28737 7.95244 4.21315 7.95244 4.15605C7.95244 4.12179 7.93816 4.08183 7.91818 4.04757C7.90391 4.01902 7.88963 3.99333 7.86965 3.97335H7.87251L7.86394 3.96193C7.7155 3.83632 7.51566 3.71928 7.29585 3.62507C6.93616 3.46521 6.52222 3.36244 6.19964 3.36244C6.19678 3.36244 6.19393 3.36244 6.19107 3.36244C5.87134 3.36244 5.46883 3.46806 5.11199 3.62507C4.88075 3.72499 4.66951 3.84774 4.5125 3.98191C4.49251 3.99619 4.47824 4.02473 4.46111 4.04757C4.43542 4.09039 4.41829 4.13607 4.41829 4.17603C4.41829 4.23313 4.44969 4.31021 4.48395 4.35588L4.83222 4.70416C4.86934 4.74127 4.94641 4.77267 4.99494 4.77267C5.04062 4.77267 5.10628 4.74983 5.14053 4.72129C5.39175 4.5186 5.85707 4.35303 6.17965 4.35017C6.17965 4.35017 6.18251 4.35017 6.18536 4.35017C6.50795 4.35017 6.96756 4.51289 7.21592 4.70987C7.25018 4.73841 7.31583 4.7584 7.36151 4.7584L7.36436 4.75554Z"]],safety:[["b","M6.98424 10.5929C6.98424 7.76506 9.24798 5.46784 12.0346 5.46784C12.4847 5.46784 12.9216 5.53502 13.3386 5.6492L13.3254 3.27139C13.3187 2.65342 12.9216 2.10935 12.3457 1.92127L7.14309 0.147987C6.832 0.0405148 6.49443 0.0405148 6.17671 0.147987L0.993958 1.98173C0.418096 2.18324 0.0341797 2.72731 0.0341797 3.34527L0.0672873 8.61811C0.0805256 10.2302 0.676244 11.7751 1.74192 12.9707C2.29131 13.5685 2.93997 14.0522 3.66146 14.4149L6.48118 15.8993C6.56723 15.9464 6.65991 15.9665 6.75919 15.9665C6.85848 15.9665 6.95116 15.9396 7.03721 15.8926L9.10897 14.7642C7.81824 13.8372 6.97101 12.3125 6.97101 10.5862L6.98424 10.5929Z"],["s","M13.4022 6.83015C12.9892 6.68269 12.5429 6.59555 12.0833 6.59555C9.91842 6.59555 8.16655 8.35839 8.16655 10.5368C8.16655 12.0784 9.05248 13.4123 10.3314 14.0558C10.8576 14.3239 11.4505 14.4781 12.0833 14.4781C14.2481 14.4781 16 12.7152 16 10.5368C16 8.82759 14.9142 7.37978 13.4022 6.83015ZM14.4946 9.82631L12.1366 12.1656C12.0033 12.2996 11.8235 12.3667 11.6436 12.3667C11.4638 12.3667 11.3039 12.3063 11.164 12.179L10.0183 11.0931C9.7852 10.8719 9.77187 10.5033 9.99168 10.262C10.2115 10.0274 10.5779 10.014 10.8177 10.2352L11.637 11.006L13.3622 9.30349L13.6753 8.98846C13.9017 8.76056 14.2748 8.76726 14.5013 8.98846C14.7277 9.21635 14.7211 9.59171 14.5013 9.8196L14.4946 9.82631Z"]],mobile:[["b","M7.58039 10.9467V9.44667C7.58039 9.25333 7.62039 9.06667 7.68039 8.89333H6.42696C5.47355 8.89333 4.70015 8.12 4.70015 7.16667V5.66667C4.70015 4.71333 5.47355 3.94 6.42696 3.94H9.08051C9.28052 3.94 9.47387 3.98 9.65388 4.04667V3.98667C9.65388 3.03333 10.4273 2.26 11.3807 2.26H12.1874C11.9874 0.98 10.8807 0 9.54054 0H4.26679C2.78 0 1.57324 1.20667 1.57324 2.69333V13.3067C1.57324 14.7933 2.78 16 4.26679 16H9.54054C11.0273 16 12.2341 14.7933 12.2341 13.3067V12.6733H9.30053C8.34712 12.6733 7.57372 11.9 7.57372 10.9467H7.58039ZM6.907 15.1667C6.34696 15.1667 5.89359 14.7133 5.89359 14.1533C5.89359 13.5933 6.34696 13.14 6.907 13.14C7.46705 13.14 7.92041 13.5933 7.92041 14.1533C7.92041 14.7133 7.46705 15.1667 6.907 15.1667Z"],["s","M10.8273 3.98676V7.16676C10.8273 7.46676 11.0673 7.70676 11.3607 7.72009H13.1208C13.4142 7.70676 13.6542 7.46676 13.6542 7.16676V3.98676C13.6542 3.68009 13.4008 3.42676 13.0942 3.42676H11.3874C11.0807 3.42676 10.8273 3.68009 10.8273 3.98676Z"],["s","M9.08051 5.10547H6.42697C6.11766 5.10547 5.86691 5.35619 5.86691 5.66547V7.16547C5.86691 7.47475 6.11766 7.72547 6.42697 7.72547H9.08051C9.38981 7.72547 9.64055 7.47475 9.64055 7.16547V5.66547C9.64055 5.35619 9.38981 5.10547 9.08051 5.10547Z"],["s","M13.8675 8.88672H9.30711C9.00042 8.88672 8.74707 9.14005 8.74707 9.44672V10.9467C8.74707 11.2534 9.00042 11.5067 9.30711 11.5067H13.8675C14.1742 11.5067 14.4275 11.2534 14.4275 10.9467V9.44672C14.4275 9.14005 14.1742 8.88672 13.8675 8.88672Z"]],accounting:[["b","M9.55804 6.67528H14.2937C14.874 6.67528 15.3342 6.15506 15.2409 5.58149C14.774 2.74031 12.5395 0.499377 9.69812 0.0391856C9.1245 -0.0541866 8.60423 0.406005 8.60423 0.986246V5.72155C8.60423 6.24844 9.03111 6.67528 9.55804 6.67528Z"],["b","M7.71049 8.7765C7.32364 8.38967 7.1035 7.85612 7.1035 7.30922V2.47388C7.1035 1.89364 6.58991 1.44011 6.0163 1.53349C2.57459 2.09372 0.00667981 5.2617 0.420218 8.9499C0.453568 9.26337 0.520234 9.57016 0.593603 9.87029C1.22725 9.45011 1.98099 9.20334 2.79473 9.20334C4.98915 9.20334 6.77001 10.9841 6.77001 13.1783C6.77001 13.7786 6.62993 14.3522 6.38981 14.8657C6.39648 14.8657 6.40985 14.8657 6.41652 14.8657C8.13737 15.0324 9.73813 14.5589 11.0121 13.6519C11.4923 13.3117 11.5391 12.6114 11.1188 12.1913L7.71049 8.78317V8.7765Z"],["b","M15.0473 8.16878H11.6389C10.7918 8.16878 10.3717 9.1892 10.9653 9.78945L13.3798 12.2038C13.7867 12.6106 14.4737 12.5706 14.8072 12.1037C15.4008 11.2767 15.8143 10.303 15.9878 9.2559C16.0811 8.68233 15.6276 8.16878 15.0473 8.16878Z"],["s","M2.80136 10.3639C2.12102 10.3639 1.50072 10.6174 1.02049 11.0176C0.400177 11.5311 0 12.2981 0 13.1651C0 14.7124 1.25393 15.9729 2.80803 15.9729C3.82854 15.9729 4.70899 15.4261 5.20257 14.6124C5.45603 14.1922 5.61611 13.6987 5.61611 13.1651C5.61611 11.6178 4.36214 10.3573 2.80803 10.3573L2.80136 10.3639Z"]],communications:[["b","M9.00365 3.41285L7.77761 8.05006C7.5977 8.72299 6.9847 9.19604 6.28506 9.19604C6.03186 9.19604 5.77864 9.12941 5.55876 9.01614L4.5193 8.46314V10.7151C4.5193 12.0543 5.6054 13.1337 6.93804 13.1337H9.40343L12.4552 15.3257C12.6484 15.4589 12.9216 15.3257 12.9216 15.0992V13.1337H13.5813C14.9206 13.1337 16 12.0477 16 10.7151V5.83139C16 4.4922 14.9139 3.41285 13.5813 3.41285H9.00365Z"],["s","M6.09859 7.98975C6.15856 8.02306 6.21854 8.03639 6.27851 8.03639C6.44509 8.03639 6.59833 7.92978 6.64498 7.75656L8.40407 1.0939C8.4707 0.840717 8.27081 0.62085 8.0376 0.62085C7.98429 0.62085 7.931 0.634175 7.88436 0.654163L0.228323 4.16538C-0.0715206 4.29864 -0.0715059 4.6984 0.201685 4.84497L1.80087 5.69779L6.19855 2.55968C6.19855 2.55968 6.23854 2.53969 6.25187 2.53969C6.32517 2.53969 6.38512 2.63297 6.31849 2.6996L5.52557 3.51911L2.58712 6.53729L2.46718 7.79653C2.44053 8.04971 2.64043 8.21628 2.84699 8.21628C2.94028 8.21628 3.03354 8.18296 3.11349 8.10301L4.21961 6.98369L6.09196 7.98308L6.09859 7.98975Z"]],home:[["b","M5.68656 15.0234V12.5739C5.68656 11.9495 6.20426 11.4372 6.8352 11.4372H9.15676C9.46414 11.4372 9.75535 11.5573 9.97375 11.7654C10.1922 11.9736 10.3135 12.2617 10.3135 12.5659V15.0154C10.3135 15.2795 10.4186 15.5277 10.6047 15.7118C10.7907 15.8959 11.0415 16 11.3084 16H12.8939C13.63 16 14.3418 15.7118 14.8676 15.1995C15.3934 14.6872 15.6846 13.9908 15.6846 13.2623V6.29816C15.6846 5.70581 15.4177 5.15348 14.9566 4.77725L9.56121 0.542719C8.62288 -0.201726 7.2801 -0.177712 6.36604 0.598753L1.10007 4.76925C0.622814 5.13747 0.331608 5.6898 0.31543 6.29016V13.2543C0.31543 14.7752 1.56923 16.008 3.10615 16H4.65925C5.2093 16 5.6542 15.5677 5.66229 15.0234H5.68656Z"]],websites:[["b","M11.7413 12.9347L10.6088 9.50187C10.4584 9.05077 10.5352 8.55168 10.8136 8.16777C11.0919 7.78066 11.543 7.55031 12.0165 7.55031C12.1956 7.55031 12.3716 7.5823 12.5412 7.64629L14.3328 8.32133V5.27242C14.3328 2.90816 12.8099 1.31812 10.5448 1.31812H3.78474C1.52286 1.31812 0 2.90816 0 5.27242V10.7272C0 13.0915 1.52286 14.6815 3.78474 14.6815H10.5416C11.4726 14.6815 12.2724 14.4096 12.8995 13.9329C12.3652 13.8401 11.9141 13.4658 11.7413 12.9347ZM6.77607 4.45981H11.0119C11.3062 4.45981 11.543 4.69655 11.543 4.99089C11.543 5.28522 11.3062 5.52197 11.0119 5.52197H6.77607C6.48174 5.52197 6.24499 5.28522 6.24499 4.99089C6.24499 4.69655 6.48174 4.45981 6.77607 4.45981ZM4.36381 5.52197H3.13209C2.83776 5.52197 2.60101 5.28522 2.60101 4.99089C2.60101 4.69655 2.83776 4.45981 3.13209 4.45981H4.36381C4.65815 4.45981 4.89489 4.69655 4.89489 4.99089C4.89489 5.28522 4.65815 5.52197 4.36381 5.52197ZM7.5055 11.4662C7.10239 11.575 6.68329 11.9941 6.57451 12.3972C6.46574 12.8003 6.28658 12.8003 6.1778 12.3972C6.06903 11.9941 5.64992 11.575 5.24681 11.4662C4.84371 11.3574 4.84371 11.1783 5.24681 11.0695C5.64992 10.9607 6.06903 10.5416 6.1778 10.1385C6.28658 9.73541 6.46574 9.73541 6.57451 10.1385C6.68329 10.5416 7.10239 10.9607 7.5055 11.0695C7.90861 11.1783 7.90861 11.3574 7.5055 11.4662ZM8.75642 7.83824C8.52607 7.89903 8.28613 8.13898 8.22534 8.36932C8.16455 8.59967 8.06218 8.59967 7.99819 8.36932C7.93741 8.13898 7.69746 7.89903 7.46711 7.83824C7.23676 7.77746 7.23676 7.67508 7.46711 7.61109C7.69746 7.54711 7.93741 7.31036 7.99819 7.08001C8.05898 6.84967 8.16136 6.84967 8.22534 7.08001C8.28613 7.31036 8.52607 7.55031 8.75642 7.61109C8.98677 7.67188 8.98677 7.77426 8.75642 7.83824Z"],["s","M15.8139 12.0274L15.0525 11.234L15.6955 10.6165C15.9195 10.4022 15.8427 10.0247 15.5516 9.9159L12.1667 8.64579C12.1155 8.62659 12.0643 8.61699 12.0164 8.61699C11.7444 8.61699 11.5205 8.88893 11.6164 9.17367L12.749 12.6065C12.8098 12.7921 12.9793 12.8976 13.1521 12.8976C13.2545 12.8976 13.36 12.8592 13.4432 12.7793L14.0863 12.1618L14.1087 12.1842L14.8477 12.9552C14.9789 13.0928 15.1548 13.16 15.3308 13.16C15.5068 13.16 15.6635 13.0992 15.7947 12.9744C16.0602 12.7185 16.0698 12.2962 15.8139 12.0306V12.0274Z"]],media:[["s","M13.0054 0.794678H8.4102C7.06965 0.794678 6.06258 1.49491 5.63574 2.62862H8.17679C10.7712 2.62862 12.5786 4.49591 12.5786 7.17014V11.3916H12.9988C14.7928 11.3916 16 10.1311 16 8.25717V3.93573C16 2.06177 14.7928 0.801347 12.9988 0.801347L13.0054 0.794678ZM14.6528 8.95074C14.6528 9.26418 14.3993 9.51759 14.0859 9.51759H13.7924C13.479 9.51759 13.2255 9.26418 13.2255 8.95074V8.65731C13.2255 8.34387 13.479 8.09045 13.7924 8.09045H14.0859C14.3993 8.09045 14.6528 8.34387 14.6528 8.65731V8.95074ZM14.6528 6.24317C14.6528 6.5566 14.3993 6.81002 14.0859 6.81002H13.7924C13.479 6.81002 13.2255 6.5566 13.2255 6.24317V5.94973C13.2255 5.6363 13.479 5.38288 13.7924 5.38288H14.0859C14.3993 5.38288 14.6528 5.6363 14.6528 5.94973V6.24317ZM14.6528 3.53559C14.6528 3.84903 14.3993 4.10245 14.0859 4.10245H13.7924C13.479 4.10245 13.2255 3.84903 13.2255 3.53559V3.24216C13.2255 2.92872 13.479 2.67531 13.7924 2.67531H14.0859C14.3993 2.67531 14.6528 2.92872 14.6528 3.24216V3.53559Z"],["b","M8.18336 3.79468H3.23467C1.30054 3.79468 0 5.14846 0 7.16914V11.8307C0 13.8514 1.30054 15.2052 3.23467 15.2052H8.18336C10.1175 15.2052 11.418 13.8514 11.418 11.8307V7.16914C11.418 5.14846 10.1175 3.79468 8.18336 3.79468ZM4.28175 6.15547C4.75528 6.15547 5.16879 6.40222 5.40888 6.76901C5.54894 6.98241 5.62899 7.23583 5.62899 7.50925C5.62899 7.78268 5.54894 8.0361 5.40888 8.2495C5.16879 8.61629 4.75528 8.86304 4.28175 8.86304C3.53478 8.86304 2.92786 8.25617 2.92786 7.50925C2.92786 6.76234 3.53478 6.15547 4.28175 6.15547ZM10.0575 12.7443C9.82404 13.3112 9.35051 13.7513 8.77027 13.9514C8.51684 14.0314 8.25006 14.0714 7.98329 14.0714C7.98329 14.0714 7.96995 14.0714 7.96328 14.0714H3.15464C3.15464 14.0714 3.12128 14.0714 3.10127 14.0714C2.6811 14.0714 2.26759 13.9581 1.90744 13.7447C1.8074 13.6847 1.74071 13.5779 1.7207 13.4579C1.70069 13.3312 1.73405 13.1978 1.81408 13.0978C2.07419 12.771 2.34095 12.4376 2.59439 12.1108L2.6144 12.0841C3.01456 11.5706 3.31469 11.3572 3.60148 11.3572C3.69485 11.3572 3.78156 11.3772 3.8616 11.4172C4.02833 11.4973 4.18172 11.5906 4.33512 11.6973C4.65525 11.9574 5.04207 12.1108 5.45557 12.1441C5.69567 12.1441 5.93577 12.0774 6.14252 11.9507C6.48933 11.724 6.78946 11.4239 7.02289 11.0838C7.10959 10.9571 7.18962 10.8237 7.26298 10.6836L7.32302 10.5769C7.41639 10.4236 7.50308 10.2768 7.60313 10.1435C7.7832 9.88338 8.06332 9.71666 8.38346 9.68331C8.53685 9.68331 8.69024 9.73 8.81696 9.81669C9.20379 10.0768 9.56394 10.3835 9.88407 10.7303C10.0108 10.857 10.1108 11.0104 10.1775 11.1771C10.1975 11.2505 10.2109 11.3239 10.2242 11.3972C10.3176 11.8507 10.2642 12.3242 10.0641 12.7443H10.0575Z"]],equip:[["g","M15.7065 11.6492C15.9902 11.6492 16 11.9038 16 12.1947C16 13.0223 15.266 14.1883 13.6513 14.1884H2.34868C0.73399 14.1884 0 12.813 0 12.1947C1.26508e-05 11.9038 0.0597413 11.6492 0.343544 11.6492H15.7065Z"],["g","M14.1232 2.10404C14.4185 1.80875 15.0266 1.68506 15.3219 1.98035L15.7827 2.44079C16.0779 2.73608 15.9542 3.34415 15.659 3.63944L12.9364 6.36206C12.4939 6.80454 11.7535 6.93297 11.1568 7.05737C10.8633 7.11849 10.6612 6.91063 10.7167 6.61694C10.812 6.11297 10.9584 5.2689 11.4006 4.82665L14.1232 2.10404Z"],["g","M11.3194 2.33844C11.6177 2.33844 11.901 2.37115 12.1673 2.43353L10.8286 3.80627H5.37475C4.31034 3.80627 3.7381 4.09111 3.43717 4.38004C3.14277 4.66271 2.91596 5.13345 2.91596 5.91222V9.33479H3.09935V10.8023H1.44812V5.91222C1.44812 3.83508 2.65349 2.4286 5.13094 2.34273L5.37475 2.33844H11.3194Z"],["g","M8.05339 10.8023H3.09935V9.33479H8.05339V10.8023Z"],["g","M13.0074 10.8023H8.05339V9.33479H13.0074V10.8023Z"],["g","M14.659 10.8023H13.0074V9.33479H13.1908V7.32608C13.3914 7.21102 13.5903 7.06663 13.7699 6.88244L14.659 5.97085V10.8023Z"],["g","M5.84637 5.78923C5.88566 5.78923 5.92503 5.81591 5.94468 5.85608C5.94468 5.85608 6.05874 6.38796 6.28536 6.61967C6.51043 6.84963 7.02445 6.9662 7.03179 6.96786C7.07109 6.98795 7.09757 7.02813 7.09757 7.06831C7.09753 7.10846 7.07106 7.14859 7.03179 7.16197C7.02353 7.16391 6.50997 7.28539 6.28536 7.51696C6.06163 7.74765 5.94663 8.27125 5.94468 8.28019C5.92503 8.32037 5.88567 8.3474 5.84637 8.3474C5.80708 8.34738 5.76795 8.32036 5.75485 8.28019C5.7532 8.27283 5.6344 7.74689 5.40773 7.51696C5.18155 7.28765 4.66727 7.1702 4.66095 7.16876C4.62168 7.14869 4.60199 7.10846 4.60196 7.06831C4.60196 7.02813 4.62165 6.98795 4.66095 6.96786C4.66429 6.9671 5.18089 6.84964 5.40773 6.61967C5.63606 6.38816 5.75485 5.85608 5.75485 5.85608C5.76798 5.81595 5.80711 5.78924 5.84637 5.78923Z"],["g","M8.51277 4.43973C8.53816 4.43978 8.5637 4.45703 8.5764 4.48299C8.57732 4.48726 8.65089 4.82804 8.79661 4.97703C8.94142 5.12504 9.27127 5.20037 9.27957 5.20225C9.305 5.21525 9.32211 5.24131 9.32211 5.26731C9.3221 5.2933 9.30499 5.31942 9.27957 5.32808C9.27066 5.33018 8.94113 5.40858 8.79661 5.55759C8.65059 5.70815 8.5764 6.05163 8.5764 6.05163C8.5637 6.07759 8.53816 6.09484 8.51277 6.09489C8.48737 6.09489 8.46193 6.07758 8.45342 6.05163C8.45342 6.05163 8.37631 5.70738 8.22857 5.55759C8.08238 5.40947 7.75058 5.33351 7.7456 5.33237C7.72018 5.31938 7.70736 5.2933 7.70735 5.26731C7.70735 5.24131 7.72017 5.21525 7.7456 5.20225C7.74989 5.20127 8.0822 5.12529 8.22857 4.97703C8.37631 4.82724 8.45342 4.48299 8.45342 4.48299C8.46191 4.457 8.48735 4.43973 8.51277 4.43973Z"]]},rippled:{people:[["s","M11.9118 12.5101C12.9312 11.6436 13.6556 10.4438 13.9078 9.07867C13.441 8.38012 12.7032 7.8602 11.8071 7.6949C11.174 7.57759 10.5543 7.65757 10.0016 7.88687C11.0962 8.92403 11.7588 10.3051 11.8635 11.8142L11.9118 12.5074V12.5101Z"],["s","M11.6032 6.65229C12.9286 7.16154 14.3263 6.20703 14.321 4.79393C14.3183 4.01007 13.8085 3.27419 13.0734 2.99157C11.7481 2.47965 10.3504 3.43683 10.3557 4.84993C10.3584 5.63379 10.8681 6.36967 11.6032 6.65229Z"],["s","M15.6543 8.77189C15.6275 8.76656 15.6033 8.76656 15.5765 8.76656C15.3887 8.77456 15.2251 8.9132 15.1956 9.10517C15.1151 9.62242 14.9782 10.1317 14.7878 10.6196C14.718 10.7982 14.7878 10.9982 14.9434 11.0995C14.9648 11.1128 14.989 11.1262 15.0158 11.1368C15.0641 11.1555 15.1124 11.1635 15.1634 11.1635C15.3243 11.1635 15.4773 11.0675 15.539 10.9102C15.7509 10.369 15.9038 9.80105 15.995 9.22782C16.0299 9.00919 15.877 8.80655 15.6597 8.77189H15.6543Z"],["s","M8.04045 15.1974C5.50517 15.1974 3.27305 13.8963 1.97993 11.9313C1.66872 11.4594 1.41385 10.9501 1.22069 10.4116C0.949722 9.65968 0.802167 8.84915 0.802167 8.00396C0.802167 7.77999 0.815581 7.55603 0.837043 7.33474C0.866555 7.02279 0.912163 6.71351 0.981916 6.41222C1.03021 6.19626 0.896066 5.98296 0.678756 5.93497C0.461447 5.88431 0.246821 6.02029 0.19853 6.23625C0.0670708 6.81216 0 7.40939 0 8.00662C0 12.4139 3.60841 16 8.04313 16C8.2658 16 8.44555 15.8213 8.44555 15.6C8.44555 15.5734 8.44287 15.5494 8.43751 15.5227C8.40263 15.3387 8.23898 15.2001 8.04313 15.2001L8.04045 15.1974Z"],["s","M14.2834 12.4006C14.2619 12.382 14.2378 12.3686 14.2136 12.3553C14.0473 12.2727 13.838 12.3127 13.72 12.4646C12.8991 13.4938 11.8152 14.2803 10.5838 14.7416C10.4013 14.8109 10.2967 14.9949 10.3289 15.1788C10.3343 15.2055 10.3396 15.2295 10.3504 15.2562C10.4121 15.4161 10.565 15.5148 10.726 15.5148C10.7743 15.5148 10.8199 15.5068 10.8682 15.4881C12.2364 14.9789 13.441 14.1044 14.3532 12.9605C14.49 12.7872 14.4605 12.5366 14.2888 12.398L14.2834 12.4006Z"],["b","M10.903 12.8137L10.8386 11.8885C10.7769 11.022 10.4979 10.2221 10.0552 9.53957C9.78961 9.12897 9.46767 8.76103 9.10013 8.44642C8.21211 7.68655 7.05849 7.23062 5.81366 7.23062C5.69561 7.23062 5.57488 7.23596 5.45416 7.24395C4.1342 7.33727 2.96986 7.92651 2.13281 8.81703C2.53255 11.7045 5.02759 13.9335 8.04041 13.9335C8.24162 13.9335 8.44015 13.9228 8.636 13.9042C8.69234 13.8988 8.75136 13.8908 8.8077 13.8828C9.50792 13.7922 10.1679 13.5842 10.7715 13.2723C10.8654 13.1416 10.9164 12.9817 10.903 12.8137Z"],["b","M4.96592 6.14297C6.67283 6.14297 8.05655 4.76782 8.05655 3.07149C8.05655 1.37515 6.67283 0 4.96592 0C3.25902 0 1.8753 1.37515 1.8753 3.07149C1.8753 4.76782 3.25902 6.14297 4.96592 6.14297Z"]],giving:[["s","M6.05376 5.71666C6.40376 6.05544 6.77247 6.37288 7.15453 6.67698H10.1576C10.2351 6.67698 10.3099 6.69299 10.3847 6.70099C10.7721 6.39155 11.1488 6.06611 11.5042 5.722C12.0626 5.16182 12.4847 4.48693 12.7465 3.74001C12.9736 3.03045 12.9523 2.26486 12.6824 1.56863C12.4099 0.87774 11.8408 0.346899 11.1328 0.120157C10.8843 0.040131 10.6251 -0.00254965 10.366 0.00011789H10.3473C9.7782 0.00011789 9.22782 0.189514 8.77629 0.536294C8.74156 0.512286 8.70682 0.488278 8.66942 0.466938L8.65339 0.456268C8.63736 0.445598 8.61598 0.43226 8.59461 0.416255C8.5572 0.386912 8.51713 0.360236 8.47705 0.338896L8.31942 0.26954C8.23659 0.224192 8.14842 0.189514 8.06026 0.162838C8.04957 0.152168 8.03621 0.144165 8.02285 0.13883H7.9988C7.75567 0.0561363 7.50186 0.0107881 7.2427 0.00278543H7.19727C7.08239 0.00278543 6.96483 0.0107881 6.84995 0.0267933H6.79918C6.67361 0.0427986 6.55071 0.0721416 6.43315 0.112155C5.71979 0.341564 5.14803 0.875072 4.87017 1.56863C4.59765 2.2622 4.57627 3.03311 4.81139 3.74001C5.07589 4.48159 5.49803 5.15648 6.05376 5.71666Z"],["s","M13.126 13.2818C11.9584 14.3648 10.4809 15.021 8.90992 15.1704C8.68015 15.1917 8.45037 15.2024 8.21793 15.2024C6.09655 15.2024 4.18624 14.2821 2.86372 12.8203C2.2786 12.1721 1.80837 11.4172 1.48776 10.5876C1.17516 9.78196 1.00417 8.90967 1.00417 7.99737C1.00417 7.83998 0.910655 7.70394 0.777066 7.63725C0.723631 7.61058 0.664852 7.59724 0.603401 7.59724C0.381645 7.59724 0.202637 7.77596 0.202637 7.99737C0.202637 12.4095 3.79883 16 8.21793 16C10.2458 16 12.1828 15.2424 13.6683 13.8633C13.8313 13.7139 13.8393 13.4605 13.6897 13.2978C13.5401 13.1351 13.2863 13.1271 13.1233 13.2764L13.126 13.2818Z"],["s","M0.811802 6.1995C0.849207 6.21017 0.889283 6.2155 0.926688 6.2155C1.10035 6.2155 1.25799 6.10347 1.31142 5.93008C1.62669 4.8764 2.19577 3.89207 2.95188 3.08381C3.10417 2.92376 3.09349 2.67034 2.93318 2.51829C2.77288 2.36624 2.51906 2.37691 2.36677 2.53696C1.52516 3.43592 0.894626 4.52962 0.541953 5.70067C0.477831 5.91141 0.598061 6.13548 0.811802 6.1995Z"],["b","M15.4638 8.34956C15.2981 8.20018 15.1031 8.14149 14.8973 8.14149C14.6435 8.14149 14.3737 8.23219 14.1279 8.34956L12.0813 9.3819C11.5897 9.60598 11.221 9.88073 10.7614 9.88073H9.02747C8.56526 9.91008 8.27404 10.0621 7.98816 10.4463C7.92938 10.5236 7.84121 10.5636 7.75304 10.5636C7.69159 10.5636 7.63014 10.545 7.57671 10.5049C7.47518 10.4302 7.44045 10.3022 7.47251 10.1902C7.4832 10.1555 7.49655 10.1235 7.51793 10.0941C7.57671 10.0168 7.63548 9.94742 7.69426 9.8834C8.08434 9.4646 8.54121 9.2832 9.17976 9.2832H10.0935C10.5317 9.2832 10.9137 8.98444 10.9779 8.59231C11.0179 8.34423 10.9538 8.10148 10.7908 7.91209C10.6305 7.72536 10.3981 7.61599 10.1523 7.61599H6.72709C5.84807 7.61599 4.98242 7.92276 4.29578 8.4776L3.60112 9.04046C3.58242 9.05379 3.56372 9.0618 3.54501 9.07513C3.41677 9.15516 3.28585 9.21918 3.16028 9.2672C2.82097 9.39524 2.52707 9.41658 2.43623 9.42192C2.76753 10.809 3.59043 12.0094 4.70723 12.831H11.1061C11.5603 12.831 12.0038 12.6763 12.3592 12.3936L15.421 9.88607C15.8966 9.50728 15.934 8.7817 15.4611 8.3549L15.4638 8.34956Z"]],"service-planning":[["b","M8.9437 11.1697C8.9437 10.5565 9.37022 9.97806 9.97001 9.78879L12.3878 9.07437V4.9158C12.3878 3.26571 11.4468 2.31936 9.80474 2.31936H6.9284C4.49457 3.05778 2.71651 5.32366 2.71651 7.99474C2.71651 9.9674 3.69484 11.8068 5.33161 12.913C5.39559 12.9557 5.44891 13.009 5.49689 13.0677H8.9437V11.167V11.1697ZM6.53387 4.90781H9.78874C10.0633 4.90781 10.2872 5.13173 10.2872 5.4063C10.2872 5.68087 10.0633 5.9048 9.78874 5.9048H6.53387C6.25929 5.9048 6.03537 5.68087 6.03537 5.4063C6.03537 5.13173 6.25929 4.90781 6.53387 4.90781ZM5.38226 8.24266C5.29163 8.33863 5.16634 8.39194 5.03572 8.39194C4.90509 8.39194 4.77447 8.34129 4.68117 8.24266C4.63585 8.19734 4.59587 8.14669 4.57187 8.08271C4.54255 8.0214 4.53189 7.95742 4.53189 7.89345C4.53189 7.76282 4.58254 7.6322 4.68117 7.54157C4.86244 7.3523 5.20099 7.3523 5.38226 7.54157C5.47823 7.6322 5.53154 7.75749 5.53154 7.89345C5.53154 8.0294 5.4809 8.14936 5.38226 8.23999V8.24266ZM5.38226 5.75818C5.29163 5.85415 5.16634 5.90746 5.03572 5.90746C4.90509 5.90746 4.77447 5.85681 4.68117 5.75818C4.63585 5.71286 4.59587 5.65688 4.57187 5.59824C4.54255 5.53692 4.53189 5.47295 4.53189 5.40364C4.53189 5.27301 4.58254 5.14772 4.68117 5.05709C4.86244 4.86782 5.20099 4.86782 5.38226 5.05709C5.47823 5.14772 5.53154 5.27301 5.53154 5.40364C5.53154 5.53426 5.4809 5.66488 5.38226 5.75551V5.75818ZM8.16264 8.38927H6.53653C6.26196 8.38927 6.03804 8.16535 6.03804 7.89078C6.03804 7.61621 6.26196 7.39228 6.53653 7.39228H8.16264C8.43721 7.39228 8.66113 7.61621 8.66113 7.89078C8.66113 8.16535 8.43721 8.38927 8.16264 8.38927Z"],["s","M14.8377 9.41027C14.8004 9.41027 14.7391 9.41827 14.7044 9.4316L10.2526 10.7485C10.0794 10.8018 9.94074 10.9937 9.94074 11.1723V14.2726C9.82078 14.2433 9.62085 14.2193 9.49556 14.2193C8.75715 14.2193 8.16002 14.6191 8.16002 15.1096C8.16002 15.6001 8.75715 16 9.49556 16C10.234 16 10.8311 15.6001 10.8311 15.1096V12.3959L14.3925 11.3509V13.3822C14.2726 13.3529 14.0727 13.3289 13.9474 13.3289C13.209 13.3289 12.6118 13.7288 12.6118 14.2193C12.6118 14.7098 13.209 15.1096 13.9474 15.1096C14.6858 15.1096 15.2829 14.7098 15.2829 14.2193V9.86078C15.2829 9.61553 15.083 9.4156 14.8377 9.4156V9.41027Z"],["s","M1.9941 4.30518C2.01809 4.32118 2.04208 4.32918 2.06874 4.33717C2.11406 4.35317 2.15938 4.36383 2.20736 4.36383C2.34065 4.36383 2.47127 4.29719 2.54591 4.17723C2.70319 3.92398 2.87913 3.68406 3.06573 3.45481C3.27099 3.20423 3.48959 2.96698 3.72417 2.74839C4.27065 2.2339 4.89443 1.80471 5.57953 1.48216C6.54187 1.02898 7.57351 0.799725 8.64514 0.799725C8.86906 0.799725 9.09299 0.810388 9.31424 0.831714C10.983 0.983661 12.5345 1.70874 13.7341 2.90833C13.8913 3.06561 14.1446 3.06561 14.2992 2.90833C14.4538 2.75105 14.4565 2.49781 14.2992 2.34319C12.793 0.831714 10.7831 0 8.64781 0C7.45622 0 6.30995 0.255912 5.24098 0.759738C3.85213 1.41551 2.68453 2.44982 1.86881 3.75337C1.75152 3.93998 1.8075 4.18789 1.9941 4.30518Z"],["s","M1.11707 7.38682C1.11707 7.38682 1.13573 7.38148 1.14373 7.38148C1.33033 7.36816 1.48761 7.22954 1.51161 7.04027C1.56492 6.64307 1.65022 6.24854 1.77018 5.86734C1.82616 5.6834 1.74353 5.48614 1.57825 5.39817C1.55426 5.38484 1.53027 5.37418 1.50627 5.36618C1.29568 5.3022 1.07176 5.41949 1.00511 5.63009C0.874491 6.05394 0.778524 6.49379 0.719878 6.93364C0.690555 7.15223 0.845168 7.35483 1.06376 7.38415C1.08242 7.38415 1.09841 7.38682 1.11707 7.38682Z"],["s","M1.77024 10.13C1.71159 9.94603 1.53298 9.8314 1.34638 9.85006C1.31972 9.85273 1.29573 9.85806 1.26908 9.86605C1.05848 9.9327 0.941188 10.1566 1.00517 10.3672C1.46368 11.8467 2.33804 13.1529 3.53496 14.1499C3.6096 14.2112 3.70024 14.2432 3.79087 14.2432C3.9055 14.2432 4.02013 14.1952 4.09743 14.0993C4.11609 14.0779 4.12942 14.0566 4.14275 14.0326C4.23072 13.8673 4.19607 13.6594 4.04679 13.5368C2.96982 12.6411 2.18343 11.4628 1.77024 10.1326V10.13Z"]],streaming:[["b","M15.1202 4.95989L14.035 5.58013C13.851 5.68395 13.739 5.87828 13.739 6.09124V9.17119C13.739 9.38149 13.851 9.57582 14.035 9.6823L15.1202 10.3025C15.5121 10.5262 16 10.244 16 9.79144V5.47365C16 5.02377 15.5121 4.73894 15.1202 4.96255V4.95989Z"],["b","M4.83654 12.0304H10.0357C11.5181 11.9719 12.6752 10.7047 12.6139 9.20869V5.80398C12.5419 4.35584 11.3528 3.23247 9.93436 3.23247C9.88636 3.23247 9.83571 3.23247 9.78505 3.2378L8.6679 4.36383C8.57725 4.46498 8.45994 4.54751 8.33196 4.60341C8.38795 4.76845 8.41727 4.94415 8.41727 5.12516C8.41194 6.00097 7.69473 6.71705 6.80954 6.71971C6.38561 6.71971 5.98835 6.55466 5.68706 6.25386C5.39111 5.95837 5.22581 5.55907 5.22047 5.1225C5.22047 4.94415 5.25247 4.77112 5.30846 4.60873C5.19381 4.55815 5.08983 4.48894 5.00184 4.4011L3.8527 3.23247H3.63141C3.55942 3.23513 3.48743 3.24312 3.41544 3.25111C2.54092 4.30793 2.061 5.64692 2.061 7.01785C2.061 9.12351 3.16748 10.9736 4.82854 12.0251L4.83654 12.0304Z"],["s","M4.18864 2.44438L4.44726 2.70259C4.48992 2.74519 4.54858 2.76648 4.60724 2.76648C4.66056 2.76648 4.71388 2.74785 4.75654 2.71058C4.86053 2.61475 4.9885 2.5269 5.12714 2.44172C5.63373 2.13026 6.31628 1.90399 6.8362 1.89867H6.83886C6.83886 1.89867 6.84687 1.90133 6.84953 1.90133C7.37744 1.90133 8.06799 2.1276 8.57191 2.44172C8.69722 2.51892 8.81186 2.60144 8.90785 2.68662C8.94784 2.72389 8.9985 2.74252 9.05183 2.74252C9.11315 2.74252 9.17447 2.7159 9.21713 2.66799L9.53708 2.34855C9.57174 2.31394 9.60374 2.24207 9.60374 2.18883C9.60374 2.13292 9.57175 2.06105 9.53175 2.02112H9.53441L9.52908 2.01313C8.79854 1.34763 7.86536 0.985596 6.87353 0.985596C6.86553 0.985596 6.85753 0.985596 6.84953 0.985596C5.84703 0.99092 4.90319 1.3636 4.15664 2.04242C4.11132 2.08235 4.07665 2.15954 4.07665 2.21811C4.07399 2.26869 4.10598 2.34322 4.13531 2.38315L4.19397 2.44172L4.18864 2.44438Z"],["s","M6.8282 4.31838C6.38294 4.31838 6.02033 4.68307 6.01766 5.12763C6.01766 5.34858 6.10831 5.55089 6.25229 5.69464C6.39627 5.83839 6.59091 5.9289 6.81487 5.9289C6.81487 5.9289 6.81753 5.9289 6.8202 5.9289C7.26546 5.9289 7.62807 5.5642 7.63073 5.11964C7.63073 4.8987 7.54008 4.69638 7.3961 4.55263C7.25213 4.40889 7.05749 4.31838 6.83353 4.31838C6.83353 4.31838 6.83086 4.31838 6.8282 4.31838Z"],["s","M7.93467 3.89778C7.988 3.89778 8.05999 3.86849 8.08932 3.8259L8.4146 3.50114C8.45459 3.46121 8.48391 3.39199 8.48391 3.33875C8.48391 3.30681 8.47058 3.26954 8.45192 3.2376C8.43859 3.21098 8.42526 3.18702 8.4066 3.16838H8.40926L8.40126 3.15774C8.26262 3.04061 8.07598 2.93146 7.87069 2.84362C7.53474 2.69455 7.14814 2.59871 6.84686 2.59871C6.84419 2.59871 6.84152 2.59871 6.83886 2.59871C6.54024 2.59871 6.1643 2.69721 5.83103 2.84362C5.61506 2.93679 5.41776 3.05126 5.27112 3.17637C5.25245 3.18968 5.23912 3.2163 5.22313 3.2376C5.19913 3.27753 5.18314 3.32012 5.18314 3.35739C5.18314 3.41063 5.21246 3.4825 5.24445 3.52509L5.56973 3.84986C5.60439 3.88447 5.67638 3.91375 5.72171 3.91375C5.76437 3.91375 5.8257 3.89245 5.85769 3.86583C6.09232 3.67683 6.52691 3.52243 6.82819 3.51977C6.82819 3.51977 6.83085 3.51977 6.83352 3.51977C7.1348 3.51977 7.56407 3.6715 7.79603 3.85518C7.82803 3.8818 7.88935 3.90044 7.93201 3.90044L7.93467 3.89778Z"],["s","M1.08249 5.02384C1.17047 4.71504 1.28245 4.40891 1.4131 4.11343C1.49042 3.93773 1.43176 3.73808 1.28511 3.62894C1.26112 3.61297 1.23712 3.597 1.21046 3.58635C1.00783 3.49584 0.773204 3.58635 0.682553 3.78866C0.538577 4.11609 0.413263 4.45683 0.314613 4.80023C0.213296 5.14895 0.135977 5.50832 0.0826523 5.87036C0.0266616 6.24836 0 6.63702 0 7.02301C0 7.73643 0.0933146 8.44719 0.27995 9.12866C0.327942 9.30702 0.490585 9.42414 0.666556 9.42414C0.701217 9.42414 0.735876 9.41882 0.773203 9.41083C0.799866 9.40285 0.823861 9.39486 0.847857 9.38155C1.01316 9.29903 1.10381 9.10736 1.05315 8.92102C0.885182 8.3061 0.799867 7.66721 0.799867 7.02567C0.799867 6.67961 0.823863 6.33088 0.874521 5.98748C0.922513 5.66272 0.991835 5.34062 1.08249 5.0265V5.02384Z"],["s","M12.8992 12.2912C11.7288 13.3773 10.2463 14.0348 8.67061 14.1812C8.44931 14.2025 8.22534 14.2132 8.00138 14.2132C5.62844 14.2132 3.41015 13.0472 2.0637 11.0906C1.95439 10.9309 1.74909 10.8777 1.57845 10.9495C1.55445 10.9602 1.53046 10.9735 1.50646 10.9895C1.32516 11.1146 1.27716 11.3621 1.40248 11.5458C2.89823 13.718 5.36449 15.0144 7.99872 15.0144C10.0251 15.0144 11.9581 14.2557 13.4405 12.8821C13.6031 12.7331 13.6111 12.4802 13.4618 12.3178C13.3125 12.1554 13.0592 12.1474 12.8966 12.2965L12.8992 12.2912Z"]],safety:[["b","M8.24791 11.3415C8.24791 8.88911 10.2126 6.89418 12.6278 6.89418C13.0197 6.89418 13.3955 6.95102 13.7581 7.04847L13.7447 5.00211C13.7394 4.46886 13.3982 3.99787 12.897 3.83276L8.3972 2.30069C8.12529 2.20866 7.83205 2.20866 7.56281 2.3061L4.20926 3.4944C3.26824 4.29021 2.57248 5.37294 2.25525 6.60996L2.27392 9.63891C2.28458 11.0329 2.80174 12.3755 3.7241 13.4068C4.19861 13.9211 4.75841 14.3461 5.3822 14.6574L7.82406 15.9404C7.89871 15.9783 7.98133 16 8.06397 16H8.06931C8.15462 16 8.23725 15.9783 8.31189 15.9377L10.098 14.9659C8.981 14.1593 8.24791 12.8357 8.24791 11.3415Z"],["s","M13.7661 8.1258C13.4115 7.99587 13.0277 7.92279 12.6305 7.92279C10.7697 7.92279 9.26091 9.45485 9.26091 11.3442C9.26091 12.6841 10.0207 13.8399 11.1243 14.4002C11.5775 14.6303 12.0866 14.7629 12.6305 14.7629C14.4912 14.7629 16 13.2309 16 11.3415C16 9.85817 15.0696 8.59949 13.7687 8.1258H13.7661ZM14.7098 10.7271L12.6811 12.7545C12.5638 12.8736 12.4092 12.9331 12.2572 12.9331C12.1053 12.9331 11.9587 12.8763 11.8414 12.7653L10.8551 11.8287C10.6498 11.6338 10.6418 11.309 10.8311 11.1033C11.023 10.8949 11.3429 10.8841 11.5455 11.0789L12.2466 11.7448L13.7288 10.2642L13.9953 9.99892C14.1953 9.79862 14.5152 9.80132 14.7124 10.0043C14.9097 10.2073 14.907 10.5322 14.7071 10.7325L14.7098 10.7271Z"],["s","M0.831721 8.79986C0.810395 8.57519 0.799733 8.34782 0.799733 8.12044C0.799733 7.26779 0.943684 6.43409 1.22359 5.64099C1.29023 5.45692 1.2156 5.25391 1.05565 5.15647C1.03433 5.14293 1.01033 5.1321 0.983672 5.12128C0.775742 5.04549 0.546489 5.15376 0.471848 5.36489C0.159952 6.24732 0 7.17305 0 8.11774C0 9.12197 0.17861 10.0991 0.527827 11.0276C0.589139 11.19 0.741087 11.2874 0.901034 11.2874C0.949018 11.2874 0.997004 11.2793 1.04499 11.2604C1.25025 11.1792 1.35421 10.9437 1.27424 10.7352C1.03699 10.11 0.890374 9.46033 0.829061 8.79445L0.831721 8.79986Z"],["s","M11.5268 0.830997C10.4232 0.278803 9.23692 0 8 0C6.76308 0 5.66211 0.259856 4.59313 0.771447C3.30556 1.3886 2.20194 2.34411 1.39688 3.54053C1.27159 3.7246 1.31957 3.97904 1.50084 4.10355C1.52483 4.11979 1.54882 4.12792 1.57281 4.13874C1.62346 4.1604 1.67411 4.17393 1.72476 4.17393C1.85272 4.17393 1.97802 4.11167 2.05533 3.99799C2.78042 2.92338 3.77475 2.0599 4.93436 1.505C5.89671 1.04484 6.92836 0.812049 8 0.812049C8.22659 0.812049 8.44786 0.825583 8.67178 0.844531C9.54349 0.925736 10.3859 1.16394 11.1749 1.55913C11.3722 1.65929 11.6121 1.57537 11.7108 1.37507C11.8094 1.17476 11.7268 0.931149 11.5295 0.830997H11.5268Z"]],mobile:[["b","M13.2752 12.068C13.2752 12.052 13.2752 12.036 13.2752 12.02V10.3901H10.8652C10.0878 10.3901 9.45455 9.75791 9.45455 8.98165V7.74657C9.45455 7.58652 9.48661 7.43447 9.53737 7.29042H8.49805C7.72057 7.29042 7.08736 6.65821 7.08736 5.88195V4.64688C7.08736 3.87062 7.72057 3.23841 8.49805 3.23841H10.6836C10.8519 3.23841 11.0095 3.27309 11.1591 3.32644V3.26775C11.1591 2.49149 11.7923 1.85928 12.5698 1.85928H13.2378C13.0668 0.808269 12.1611 0 11.0603 0H6.72667C5.50299 0 4.51444 0.989662 4.51444 2.2114V11.98C5.60452 13.1884 7.18087 13.9486 8.93355 13.9486C10.6862 13.9486 12.1611 13.2604 13.2752 12.0707V12.068ZM8.06522 11.6065C8.06522 11.1477 8.43928 10.7742 8.89882 10.7742C9.35837 10.7742 9.73241 11.1477 9.73241 11.6065C9.73241 12.0653 9.35837 12.4388 8.89882 12.4388C8.43928 12.4388 8.06522 12.0653 8.06522 11.6065Z"],["s","M12.1156 3.2652V5.8794C12.1156 6.13282 12.3214 6.33555 12.5725 6.33555H13.9779C14.2317 6.33555 14.4347 6.13015 14.4347 5.8794V3.2652C14.4347 3.01178 14.229 2.80905 13.9779 2.80905H12.5725C12.3187 2.80905 12.1156 3.01445 12.1156 3.2652Z"],["s","M10.6889 4.1881H8.50073C8.2484 4.1881 8.04385 4.39233 8.04385 4.64425V5.87933C8.04385 6.13126 8.2484 6.33548 8.50073 6.33548H10.6889C10.9412 6.33548 11.1458 6.13126 11.1458 5.87933V4.64425C11.1458 4.39233 10.9412 4.1881 10.6889 4.1881Z"],["s","M15.0786 7.74392C15.0786 7.49051 14.8729 7.28777 14.6218 7.28777H10.8706C10.6168 7.28777 10.4137 7.49317 10.4137 7.74392V8.979C10.4137 9.23242 10.6194 9.43515 10.8706 9.43515H14.6218C14.8756 9.43515 15.0786 9.22975 15.0786 8.979V7.74392Z"],["s","M1.71976 7.9998C1.71976 7.77839 1.73312 7.55698 1.75449 7.33824C1.85067 6.2979 2.16594 5.28956 2.69228 4.38793C2.8045 4.19587 2.7377 3.95312 2.54801 3.84108C2.35831 3.72904 2.11251 3.79573 2.00029 3.98513C1.29494 5.19887 0.920898 6.58599 0.920898 7.9998C0.920898 10.2859 1.90411 12.4706 3.61939 13.9885C3.69687 14.0551 3.79038 14.0898 3.88389 14.0898C3.99344 14.0898 4.10565 14.0445 4.18313 13.9564C4.19916 13.9378 4.21519 13.9164 4.22588 13.8951C4.32206 13.7324 4.29535 13.519 4.1484 13.3909C2.60412 12.0251 1.71976 10.0591 1.71976 7.9998Z"],["s","M11.8511 14.9623C11.7576 14.7943 11.5546 14.7142 11.3675 14.7809C9.79386 15.3438 8.02515 15.3384 6.45415 14.7623C6.26979 14.6956 6.06674 14.7729 5.97056 14.9383C5.95987 14.9597 5.94918 14.9783 5.9385 15.0023C5.86369 15.2104 5.96789 15.4398 6.17628 15.5145C7.05797 15.8373 7.98507 16 8.93355 16C9.88203 16 10.7717 15.8426 11.6374 15.5332C11.8458 15.4585 11.9553 15.2291 11.8805 15.021C11.8725 14.9997 11.8618 14.9783 11.8511 14.9597V14.9623Z"],["s","M14.5042 13.095C14.3492 12.9856 14.1382 12.9936 13.9966 13.1297C13.7374 13.3831 13.4595 13.6178 13.1656 13.8312C13.0053 13.9486 12.9572 14.162 13.0427 14.3327C13.0534 14.3514 13.0641 14.3728 13.0775 14.3914C13.1549 14.4981 13.2779 14.5568 13.4034 14.5568C13.4862 14.5568 13.5664 14.5328 13.6385 14.4795C13.9645 14.2447 14.2744 13.9806 14.5603 13.7005C14.7179 13.5458 14.7206 13.2924 14.5656 13.135C14.5469 13.1163 14.5256 13.1083 14.5069 13.095H14.5042Z"]],accounting:[["b","M11.2553 3.23154C11.3541 3.3062 11.4502 3.38085 11.5437 3.46084C11.4502 3.38085 11.3541 3.30353 11.2553 3.23154Z"],["b","M10.9723 3.03403C11.0203 3.06602 11.0657 3.09535 11.1111 3.12735C11.0657 3.09535 11.0177 3.06336 10.9723 3.03403Z"],["b","M10.2806 2.64498C10.2806 2.64498 10.2966 2.65298 10.3047 2.65565C10.2966 2.65298 10.2886 2.64765 10.2806 2.64498Z"],["b","M8.80657 2.16751C8.88134 2.18084 8.95345 2.19684 9.02822 2.21284C8.95612 2.19684 8.88134 2.18084 8.80657 2.16751Z"],["b","M11.2553 3.23154C11.2072 3.19688 11.1592 3.16201 11.1111 3.12735C11.0657 3.09535 11.0177 3.06336 10.9723 3.03403C10.7586 2.89539 10.537 2.76763 10.3047 2.65565C10.2966 2.65298 10.2886 2.64765 10.2806 2.64498C10.1231 2.57033 9.96015 2.50089 9.79458 2.43957C9.77856 2.43424 9.76519 2.42891 9.74917 2.42357C9.66372 2.39425 9.58095 2.36492 9.49282 2.33826C9.46879 2.33026 9.44475 2.32493 9.42072 2.31693C9.29254 2.27693 9.15902 2.24494 9.0255 2.21561C8.9534 2.19961 8.87863 2.18362 8.80385 2.17029C8.7638 2.16229 8.72374 2.15429 8.68368 2.14896C8.19233 2.0823 7.75171 2.47423 7.75171 2.97281V7.08408C7.75171 7.54266 8.12557 7.91593 8.58488 7.91593H12.7026C13.21 7.91593 13.6106 7.46534 13.5278 6.9641C13.3035 5.58834 12.5932 4.37256 11.5837 3.49805C11.5704 3.48738 11.557 3.47405 11.5437 3.46339C11.4502 3.3834 11.3541 3.30875 11.2553 3.2341L11.2553 3.23154Z"],["b","M13.3623 9.21185H10.3955C9.66111 9.21185 9.29259 10.0997 9.81065 10.6196L11.9096 12.7152C12.2647 13.0698 12.8603 13.0352 13.1513 12.6299C13.6694 11.91 14.0299 11.0675 14.1794 10.1557C14.2595 9.65977 13.8643 9.21185 13.3623 9.21185Z"],["b","M6.98267 9.73958C6.64353 9.40097 6.45394 8.94239 6.45394 8.46514V4.26322C6.45394 3.75931 6.0053 3.36471 5.5086 3.4447C2.5124 3.92995 0.282616 6.68412 0.64045 9.88622C0.669825 10.1555 0.725905 10.4195 0.792666 10.6781C1.34277 10.3128 2.00236 10.0968 2.71002 10.0968C4.62203 10.0968 6.17888 11.6512 6.17888 13.5602C6.17888 14.0855 6.05871 14.5814 5.84775 15.0266C5.85309 15.0266 5.85576 15.0266 5.8611 15.0266C7.35653 15.1733 8.75316 14.76 9.85871 13.9708C10.2753 13.6722 10.3153 13.0643 9.95216 12.7017L6.98534 9.73958H6.98267Z"],["s","M2.70734 11.1209C2.11451 11.1209 1.57776 11.3395 1.15584 11.6914C0.616413 12.1394 0.266602 12.8059 0.266602 13.5604C0.266602 14.9069 1.35879 16 2.71002 16C3.59659 16 4.36567 15.5228 4.79293 14.8162C5.01458 14.4483 5.15077 14.0217 5.15077 13.5604C5.15077 12.214 4.05857 11.1209 2.70734 11.1209Z"],["s","M15.6081 6.57749C14.9245 2.76751 11.6078 0 7.72238 0C7.50074 0 7.32182 0.178635 7.32182 0.399929C7.32182 0.455919 7.33517 0.509242 7.35654 0.5599C7.41796 0.701208 7.55949 0.799857 7.72238 0.799857C11.2179 0.799857 14.2035 3.29008 14.8203 6.7188C14.8951 7.13739 14.9325 7.56932 14.9325 7.99857C14.9325 8.16388 15.0313 8.30252 15.1728 8.36384C15.2209 8.38517 15.277 8.3985 15.333 8.3985C15.5547 8.3985 15.7336 8.21987 15.7336 7.99857C15.7336 7.52132 15.6909 7.04408 15.6081 6.57749Z"],["s","M3.07051 2.38615C3.15597 2.38615 3.24142 2.35949 3.31619 2.3035C3.7301 1.98356 4.1814 1.70894 4.65407 1.48498C4.88906 1.373 5.13473 1.27435 5.38308 1.18903C5.59137 1.11705 5.70353 0.890419 5.63143 0.67979C5.55933 0.471827 5.33235 0.359847 5.12139 0.431834C4.84633 0.525151 4.57395 0.637131 4.31225 0.759776C3.78617 1.00773 3.28681 1.31168 2.8275 1.66895C2.65125 1.80492 2.6192 2.05554 2.75539 2.22885C2.8355 2.33016 2.953 2.38349 3.07317 2.38349L3.07051 2.38615Z"]],communications:[["b","M12.3544 3.08246H7.26884L6.10078 7.48639C5.9701 7.97631 5.52475 8.31712 5.01806 8.31712C4.83405 8.31712 4.65271 8.27186 4.4927 8.18399L3.60999 7.71271V8.91354C3.60999 9.98124 4.4767 10.8466 5.54609 10.8466H7.10083L9.53829 12.5959C9.69297 12.7051 9.91165 12.5959 9.91165 12.4149V10.8466H12.5998C13.4345 9.82681 13.9359 8.5248 13.9359 7.10564C13.9359 5.5853 13.3625 4.16081 12.3571 3.0798L12.3544 3.08246Z"],["s","M3.3753 6.66599L3.60731 6.78847L4.87671 7.46477C4.92205 7.48873 4.97004 7.49938 5.01804 7.49938C5.14872 7.49938 5.27407 7.41152 5.3114 7.27573L6.72213 1.95587C6.77547 1.75351 6.61546 1.57512 6.43145 1.57512C6.39144 1.57512 6.34878 1.5831 6.30611 1.60174L0.183123 4.40279C-0.0568892 4.51196 -0.0568801 4.8288 0.159131 4.94596L1.43919 5.63024L4.95671 3.12741C4.97271 3.11676 4.98604 3.11143 5.00204 3.11143C5.06071 3.11143 5.10872 3.18865 5.05538 3.2419L2.07123 6.30388L1.97522 7.31034C1.95656 7.5127 2.1139 7.64849 2.27658 7.64849C2.35125 7.64849 2.42591 7.62186 2.48725 7.55796L3.3753 6.66599Z"],["s","M8.32759 14.2892C7.99691 14.3051 7.66356 14.2945 7.33021 14.2652C7.01286 14.2359 6.6955 14.1853 6.38615 14.1161C6.17014 14.0682 5.9568 14.2013 5.90613 14.417C5.85546 14.6326 5.99147 14.8456 6.20748 14.8962C6.79151 15.0294 7.3942 15.0986 7.99957 15.0986C8.12224 15.0986 8.24226 15.0986 8.36226 15.0906C8.58361 15.0799 8.75428 14.8936 8.74361 14.6726C8.74361 14.6459 8.73827 14.6193 8.73294 14.5954C8.69027 14.4143 8.5276 14.2838 8.32492 14.2918L8.32759 14.2892Z"],["s","M13.1492 0.994679C12.9812 0.853561 12.7278 0.874862 12.5865 1.04261C12.5678 1.06391 12.5545 1.08521 12.5412 1.10917C12.4505 1.27159 12.4852 1.48193 12.6345 1.60707C14.2639 2.97831 15.2 4.98324 15.2 7.10799C15.2 10.1194 13.2985 12.8352 10.4664 13.8657C10.285 13.9322 10.181 14.1159 10.2077 14.2997C10.2104 14.3263 10.2184 14.3502 10.2264 14.3769C10.285 14.5393 10.4397 14.6405 10.6024 14.6405C10.6477 14.6405 10.6931 14.6325 10.7384 14.6165C13.8852 13.4716 16 10.4549 16 7.10799C16 4.74627 14.9599 2.51768 13.1492 0.994679Z"],["s","M4.65802 13.477C4.08199 13.1761 3.54863 12.7953 3.07127 12.3507C2.91126 12.1989 2.65792 12.2069 2.50591 12.3693C2.3539 12.5291 2.3619 12.782 2.52458 12.9338C3.05261 13.429 3.64463 13.8497 4.28466 14.1852C4.34333 14.2172 4.40734 14.2305 4.47134 14.2305C4.61535 14.2305 4.75403 14.1533 4.82603 14.0175C4.92737 13.8231 4.8527 13.5808 4.65802 13.477Z"]],home:[["b","M5.68656 15.0234V12.5739C5.68656 11.9495 6.20426 11.4372 6.8352 11.4372H9.15676C9.46414 11.4372 9.75535 11.5573 9.97375 11.7654C10.1922 11.9736 10.3135 12.2617 10.3135 12.5659V15.0154C10.3135 15.2795 10.4186 15.5277 10.6047 15.7118C10.7907 15.8959 11.0415 16 11.3084 16H12.8939C13.63 16 14.3418 15.7118 14.8676 15.1995C15.3934 14.6872 15.6846 13.9908 15.6846 13.2623V6.29816C15.6846 5.70581 15.4177 5.15348 14.9566 4.77725L9.56121 0.542719C8.62288 -0.201726 7.2801 -0.177712 6.36604 0.598753L1.10007 4.76925C0.622814 5.13747 0.331608 5.6898 0.31543 6.29016V13.2543C0.31543 14.7752 1.56923 16.008 3.10615 16H4.65925C5.2093 16 5.6542 15.5677 5.66229 15.0234H5.68656Z"]],websites:[["b","M12.4497 12.1146L11.5056 9.25328C11.3802 8.87728 11.4442 8.46128 11.6763 8.14128C11.9083 7.81861 12.2844 7.62661 12.6791 7.62661C12.8284 7.62661 12.9751 7.65328 13.1165 7.70661L14.61 8.26928V5.72795C14.61 3.75728 13.3405 2.43194 11.4522 2.43194H5.95282C3.68584 3.26661 2.06429 5.44794 2.06429 7.99994C2.06429 10.5519 3.68584 12.7333 5.95282 13.5706H11.4522C12.2284 13.5706 12.8951 13.3439 13.4178 12.9466C12.9725 12.8693 12.5964 12.5573 12.4524 12.1146H12.4497ZM8.31048 5.05061H11.8416C12.087 5.05061 12.2844 5.24794 12.2844 5.49328C12.2844 5.73861 12.087 5.93594 11.8416 5.93594H8.31048C8.06511 5.93594 7.86775 5.73861 7.86775 5.49328C7.86775 5.24794 8.06511 5.05061 8.31048 5.05061ZM6.03283 5.93594H5.00603C4.76066 5.93594 4.5633 5.73861 4.5633 5.49328C4.5633 5.24794 4.76066 5.05061 5.00603 5.05061H6.03283C6.2782 5.05061 6.47556 5.24794 6.47556 5.49328C6.47556 5.73861 6.2782 5.93594 6.03283 5.93594ZM8.91856 10.8906C8.58251 10.9813 8.23313 11.3306 8.14245 11.6666C8.05177 12.0026 7.90242 12.0026 7.81174 11.6666C7.72107 11.3306 7.37168 10.9813 7.03563 10.8906C6.69959 10.7999 6.69959 10.6506 7.03563 10.5599C7.37168 10.4693 7.72107 10.1199 7.81174 9.78394C7.90242 9.44794 8.05177 9.44794 8.14245 9.78394C8.23313 10.1199 8.58251 10.4693 8.91856 10.5599C9.25461 10.6506 9.25461 10.7999 8.91856 10.8906ZM9.96137 7.86661C9.76935 7.91728 9.56932 8.11728 9.51864 8.30928C9.46797 8.50128 9.38263 8.50128 9.32929 8.30928C9.27861 8.11728 9.07859 7.91728 8.88656 7.86661C8.69453 7.81594 8.69453 7.73061 8.88656 7.67728C9.07859 7.62661 9.27861 7.42661 9.32929 7.23461C9.37996 7.04261 9.4653 7.04261 9.51864 7.23461C9.56932 7.42661 9.76935 7.62661 9.96137 7.67728C10.1534 7.72794 10.1534 7.81328 9.96137 7.86661Z"],["s","M15.8449 11.3546L15.2101 10.6933L15.7462 10.1786C15.9329 9.99996 15.8689 9.68529 15.6262 9.59463L12.8044 8.53596C12.7618 8.51996 12.7191 8.51196 12.6791 8.51196C12.4524 8.51196 12.2657 8.73863 12.3457 8.97596L13.2898 11.8373C13.3405 11.992 13.4819 12.08 13.6259 12.08C13.7112 12.08 13.7992 12.048 13.8686 11.9813L14.4047 11.4666L14.4233 11.4853L15.0394 12.128C15.1488 12.2426 15.2955 12.2986 15.4421 12.2986C15.5888 12.2986 15.7195 12.248 15.8289 12.144C16.0502 11.9306 16.0582 11.5786 15.8449 11.3573V11.3546Z"],["s","M5.38741 0.933334C5.45675 1.06133 5.5901 1.144 5.73412 1.144C5.77413 1.144 5.81414 1.13867 5.85414 1.12533C6.54757 0.909333 7.26767 0.8 8.0011 0.8C8.16646 0.8 8.30514 0.701333 8.36648 0.56C8.38782 0.512 8.40116 0.456 8.40116 0.4C8.39849 0.178667 8.2198 0 7.99844 0C7.18499 0 6.38222 0.122667 5.61411 0.362667C5.40341 0.429333 5.28606 0.653333 5.35007 0.864C5.35807 0.890667 5.37407 0.912 5.38474 0.936L5.38741 0.933334Z"],["s","M10.8975 14.5946C10.5321 14.7546 10.1534 14.8853 9.76935 14.9813C9.41196 15.072 9.04392 15.1306 8.6732 15.1653C8.44917 15.1866 8.22513 15.2 8.0011 15.2C4.02989 15.2 0.80011 11.9706 0.80011 7.99995C0.80011 5.57062 2.01361 3.31995 4.04589 1.98395C4.20591 1.87729 4.26726 1.67462 4.19791 1.50129C4.18725 1.47729 4.17657 1.45062 4.16057 1.42929C4.03789 1.24529 3.78986 1.19462 3.60583 1.31462C1.34952 2.80262 0 5.30129 0 7.99995C0 12.4106 3.58982 16 8.0011 16C8.66519 16 9.32662 15.9173 9.96404 15.7573C10.3934 15.648 10.8148 15.504 11.2202 15.3253C11.4229 15.2373 11.5136 15 11.4256 14.7973C11.3376 14.5946 11.1002 14.504 10.8975 14.592V14.5946Z"]],media:[["s","M13.3769 1.69224H9.37286C8.42651 1.69224 7.67209 2.0968 7.22157 2.7755H9.17026C11.3429 2.7755 12.8624 4.34317 12.8624 6.58421V10.6431C12.8624 10.7363 12.857 10.8294 12.8517 10.9199H13.3795C14.947 10.9199 16 9.82334 16 8.18914V4.42035C16 2.78881 14.947 1.68958 13.3822 1.68958L13.3769 1.69224ZM14.8137 8.86518C14.8137 9.0994 14.6245 9.28837 14.3899 9.28837H13.99C13.7554 9.28837 13.5661 9.0994 13.5661 8.86518V8.46594C13.5661 8.23172 13.7554 8.04275 13.99 8.04275H14.3899C14.6245 8.04275 14.8137 8.23172 14.8137 8.46594V8.86518ZM14.8137 6.50703C14.8137 6.74124 14.6245 6.93022 14.3899 6.93022H13.99C13.7554 6.93022 13.5661 6.74124 13.5661 6.50703V6.10779C13.5661 5.87357 13.7554 5.6846 13.99 5.6846H14.3899C14.6245 5.6846 14.8137 5.87357 14.8137 6.10779V6.50703ZM14.8137 4.14887C14.8137 4.38309 14.6245 4.57206 14.3899 4.57206H13.99C13.7554 4.57206 13.5661 4.38309 13.5661 4.14887V3.74964C13.5661 3.51542 13.7554 3.32645 13.99 3.32645H14.3899C14.6245 3.32645 14.8137 3.51542 14.8137 3.74964V4.14887Z"],["s","M13.0277 13.3367C13.0117 13.3154 12.993 13.2968 12.9744 13.2808C12.8331 13.1584 12.6198 13.1504 12.4679 13.2728C11.1856 14.2896 9.63946 14.8272 7.99734 14.8272C7.80274 14.8272 7.64013 14.9656 7.60547 15.1493C7.60014 15.1732 7.59747 15.1998 7.59747 15.2264C7.59747 15.4473 7.77608 15.6257 7.99734 15.6257C9.82074 15.6257 11.5375 15.0295 12.9637 13.8983C13.137 13.7626 13.1663 13.5097 13.0277 13.3367Z"],["s","M0.799735 7.63816C0.799735 9.27768 1.34889 10.832 2.34056 12.0856L2.34082 12.0862C2.68198 12.5172 3.07376 12.9137 3.51616 13.2649C3.52821 13.2729 3.53874 13.284 3.5489 13.2946C3.5521 13.298 3.55526 13.3013 3.55841 13.3044L3.55882 13.3046C3.67345 13.4271 3.70011 13.6054 3.62547 13.7544C3.61214 13.7784 3.5988 13.8024 3.58014 13.8236C3.50284 13.9248 3.38555 13.9754 3.26825 13.9754C3.18295 13.9754 3.09498 13.9461 3.02034 13.8875C1.10097 12.3624 0 10.0841 0 7.63816C0 4.56138 1.80207 1.72415 4.59048 0.411991C4.79041 0.318836 5.03033 0.404007 5.12363 0.603624C5.21694 0.803242 5.13163 1.04278 4.9317 1.13594C4.71843 1.23708 4.51317 1.35153 4.31057 1.4713C2.15929 2.7595 0.799735 5.107 0.799735 7.63816Z"],["s","M5.99268 14.5423C5.57148 14.4199 5.16095 14.2602 4.76908 14.0633C4.59581 13.9781 4.39321 14.026 4.27591 14.1724C4.25992 14.1937 4.24392 14.2176 4.23059 14.2416C4.13196 14.4385 4.21193 14.6781 4.4092 14.7766C4.84372 14.9948 5.30224 15.1731 5.76875 15.3089C5.80607 15.3195 5.84339 15.3248 5.88071 15.3248C6.05399 15.3248 6.21393 15.2104 6.26458 15.0374C6.27258 15.0108 6.27792 14.9842 6.27792 14.9575C6.29391 14.7712 6.17661 14.5956 5.99001 14.5423H5.99268Z"],["b","M3.6654 11.6783C3.87599 11.4148 4.08926 11.146 4.29719 10.8851L4.31585 10.8612C4.66773 10.4167 4.92631 10.2251 5.17423 10.2251C5.2542 10.2251 5.33152 10.241 5.40349 10.2756C5.54745 10.3448 5.68606 10.4274 5.81402 10.5178C6.09126 10.7441 6.43248 10.8798 6.78969 10.9091C7.00029 10.9064 7.20822 10.8479 7.39216 10.7414C7.53345 10.6483 7.65874 10.5391 7.78137 10.4247C8.01862 10.1985 8.22122 9.93497 8.36784 9.63953V9.63421L8.42115 9.54904C8.50113 9.41596 8.57844 9.29086 8.66641 9.17109C8.82102 8.94486 9.07161 8.79848 9.34352 8.77186C9.47681 8.77186 9.61009 8.81444 9.72205 8.88897C10.0606 9.11786 10.3725 9.38402 10.6524 9.68478C10.7644 9.79656 10.8497 9.92698 10.9083 10.0734C10.9936 10.3502 11.007 10.6403 10.9616 10.9224C10.9323 11.0981 10.887 11.2711 10.8097 11.4361C10.6044 11.9311 10.1939 12.3144 9.68474 12.4847C9.46348 12.554 9.23155 12.5912 8.99963 12.5912C8.9943 12.5912 8.98897 12.5912 8.98364 12.5912H4.79036C4.79036 12.5912 4.76637 12.5912 4.75304 12.5912C5.68607 13.2034 6.80303 13.5627 7.99996 13.5627C9.26621 13.5627 10.4658 13.1714 11.4681 12.4475C11.7507 12.0296 11.9267 11.5133 11.9693 10.9251C11.9773 10.8319 11.9933 10.7441 11.9933 10.6483V6.58937C11.9933 4.83007 10.8603 3.64834 9.1729 3.64834H4.85967C4.23854 3.64834 3.69206 3.81069 3.24954 4.1008C2.49512 5.11486 2.0686 6.35515 2.0686 7.64069C2.0686 9.20037 2.6764 10.6217 3.66807 11.681L3.6654 11.6783ZM5.7687 5.70041C6.1819 5.70041 6.54178 5.91333 6.75238 6.23272C6.875 6.41903 6.94697 6.63994 6.94697 6.87682C6.94697 7.1137 6.875 7.33461 6.75238 7.52092C6.54178 7.84031 6.17923 8.05324 5.7687 8.05324C5.11825 8.05324 4.59042 7.52624 4.59042 6.87682C4.59042 6.2274 5.11825 5.70041 5.7687 5.70041Z"]],equip:[["g","M9.06176 15.1446C8.67491 15.2004 8.2831 15.225 7.89527 15.2155C7.53402 15.208 7.17102 15.1674 6.81174 15.1035C6.59453 15.0653 6.37939 15.0195 6.16772 14.9612C2.41567 13.9265 0.204248 10.0384 1.23722 6.29226C1.86921 4.00031 3.60125 2.19306 5.86894 1.46208C6.04788 1.40313 6.15856 1.22791 6.13814 1.04631C6.1343 1.02089 6.13116 0.992951 6.12159 0.968655C6.05354 0.763098 5.83238 0.650678 5.62729 0.715948C3.1084 1.53197 1.18332 3.53776 0.481265 6.08381C-0.666172 10.2451 1.79177 14.5667 5.9596 15.7159C6.58704 15.8889 7.23347 15.9833 7.87734 15.9984C8.31148 16.0071 8.74707 15.981 9.17657 15.9181C9.39097 15.8878 9.53839 15.6876 9.50795 15.4734C9.47752 15.2593 9.27685 15.1119 9.06245 15.1421L9.06176 15.1446Z"],["g","M15.5288 11.3818C15.7924 11.3818 15.8016 11.6183 15.8016 11.8885C15.8015 12.6573 15.1198 13.7406 13.6199 13.7406H6.9387C6.79392 13.7129 6.65811 13.6821 6.52968 13.6467C5.18433 13.2757 4.08499 12.4498 3.35144 11.3818H15.5288Z"],["g","M11.4537 2.73292C11.7309 2.73293 11.9941 2.76302 12.2415 2.82098L10.9979 4.0962H5.93112C4.94246 4.09622 4.41117 4.36103 4.13164 4.6294C3.85819 4.89196 3.64732 5.3289 3.64728 6.05219V9.23181H13.192V7.36594C13.3782 7.25902 13.5631 7.12488 13.73 6.95382L14.5556 6.10723V10.5954H2.89805C2.33302 9.4063 2.17537 8.01827 2.55129 6.65489C3.06099 4.80652 4.45575 3.35038 6.28681 2.76009L6.29129 2.75872L6.29507 2.75734C6.31848 2.74963 6.34166 2.74152 6.36456 2.73292H11.4537Z"],["g","M6.36937 5.93798C6.40588 5.93798 6.44263 5.96327 6.46088 6.00059C6.46322 6.01144 6.5692 6.49675 6.77736 6.70958C6.98689 6.92367 7.46609 7.03187 7.47087 7.03294C7.50731 7.05162 7.53141 7.08923 7.53141 7.12651C7.53135 7.16374 7.50726 7.20108 7.47087 7.21354C7.46725 7.21439 6.98697 7.32714 6.77736 7.5431C6.56774 7.75925 6.46088 8.25243 6.46088 8.25243C6.44262 8.28974 6.40587 8.3147 6.36937 8.3147C6.33295 8.31465 6.2966 8.28965 6.28441 8.25243C6.28441 8.25243 6.17384 7.75814 5.96173 7.5431C5.75127 7.32984 5.27271 7.22076 5.26822 7.21974C5.23178 7.2011 5.21358 7.16378 5.21353 7.12651C5.21353 7.0892 5.23173 7.0516 5.26822 7.03294C5.27323 7.03181 5.7514 6.92274 5.96173 6.70958C6.17181 6.49659 6.28232 6.00987 6.28441 6.00059C6.29656 5.9633 6.3329 5.93803 6.36937 5.93798Z"],["g","M14.0585 2.51482C14.3328 2.2406 14.8974 2.12572 15.1717 2.39992L15.5996 2.82786C15.8739 3.10217 15.759 3.6671 15.4847 3.9414L12.9556 6.4705C12.5446 6.88152 11.857 7.00099 11.3027 7.11654C11.0301 7.17327 10.8421 6.97997 10.8937 6.70717C10.9821 6.23905 11.1184 5.45511 11.5291 5.04427L14.0585 2.51482Z"],["g","M8.84619 4.68444C8.86979 4.68447 8.89356 4.7009 8.90536 4.72503C8.90717 4.73342 8.97565 5.04653 9.11004 5.18393C9.24492 5.32167 9.55227 5.39165 9.55862 5.39309C9.58219 5.40513 9.59811 5.42919 9.59818 5.45329C9.59818 5.47744 9.58224 5.50165 9.55862 5.5097C9.55277 5.51108 9.2449 5.58407 9.11004 5.72298C8.97602 5.86117 8.90699 6.17442 8.90536 6.18188C8.89356 6.20601 8.86979 6.2221 8.84619 6.22213C8.82258 6.22212 8.79902 6.20602 8.79115 6.18188C8.78984 6.17604 8.71831 5.86084 8.58234 5.72298C8.4455 5.58437 8.13342 5.51383 8.13342 5.51383C8.10989 5.50173 8.09833 5.47739 8.09833 5.45329C8.09838 5.42924 8.10995 5.40516 8.13342 5.39309C8.13342 5.39309 8.44549 5.32254 8.58234 5.18393C8.71806 5.04634 8.78958 4.73202 8.79115 4.72503C8.79902 4.70089 8.82258 4.68445 8.84619 4.68444Z"],["g","M8.07451 0.864748C8.39523 0.815523 8.72126 0.791981 9.04918 0.786607C9.36151 0.782861 9.67601 0.799878 9.9846 0.835877C10.2 0.860612 10.3945 0.709129 10.4219 0.493742C10.4493 0.278355 10.2951 0.0845615 10.0794 0.0572311C9.49653 -0.0131055 8.90199 -0.0192525 8.31189 0.0423538C8.19232 0.0548379 8.07533 0.0670516 7.95916 0.0870506C7.74448 0.119958 7.59708 0.319007 7.62997 0.533343C7.63268 0.559298 7.64059 0.584708 7.64823 0.607524C7.70825 0.779672 7.88009 0.890294 8.07684 0.861882L8.07451 0.864748Z"]]}},T8={base:{x1:3.74627,y1:2.1136,x2:14.0711,y2:11.6765},rippled:{x1:3.85239,y1:.390812,x2:16.4219,y2:9.17281}};function Rv(e,t,r,n){return r==="mono"?"currentColor":t==="g"?`url(#${n})`:`var(${`--module-${e}-${r==="one-color"?"base":t==="s"?"subtle":"base"}`}, var(--module-${e}-base))`}function Ml({module:e,size:t=O0,color:r="two-color",treatment:n="base",title:o,style:i,...a}){let l=`pw-equip-${(0,L8.useId)().replace(/[^a-zA-Z0-9_-]/g,"")}`,d=(P8[n]||P8.base)[e];if(!d)return null;let u=r==="full"?"two-color":r;n==="rippled"&&u==="one-color"&&(u="two-color");let p=u!=="mono"&&d.some(([y])=>y==="g"),b=u==="mono"?{}:Lv,g=T8[n]||T8.base;return(0,ko.jsxs)("svg",{width:t,height:t,viewBox:`0 0 ${O0} ${O0}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",role:o?"img":void 0,"aria-hidden":o?void 0:!0,"aria-label":o,style:{display:"block",flex:"0 0 auto",...b,...i},...a,children:[o&&(0,ko.jsx)("title",{children:o}),p&&(0,ko.jsx)("defs",{children:(0,ko.jsxs)("linearGradient",{id:l,x1:g.x1,y1:g.y1,x2:g.x2,y2:g.y2,gradientUnits:"userSpaceOnUse",children:[(0,ko.jsx)("stop",{stopColor:"var(--module-equip-from)"}),(0,ko.jsx)("stop",{offset:"1",stopColor:"var(--module-equip-to)"})]})}),d.map(([y,$],m)=>(0,ko.jsx)("path",{d:$,fill:Rv(e,y,u,l)},m))]})}var B=S(he(),1);Xn();if(typeof document<"u"&&!document.getElementById("pds-topnav-motion")){let e=document.createElement("style");e.id="pds-topnav-motion",e.textContent="@keyframes tnSearchExpand{from{clip-path:inset(0 0 0 calc(100% - 48px));opacity:.6}to{clip-path:inset(0 0 0 0);opacity:1}}@media (prefers-reduced-motion: reduce){@keyframes tnSearchExpand{from{clip-path:inset(0);opacity:1}to{clip-path:inset(0);opacity:1}}}",document.head.appendChild(e)}var M8=e=>`var(--semantic-color-${e})`,vt=M8,Po=M8,B0=e=>`var(--responsive-layout-${e})`,Xe=e=>`var(--semantic-layout-units-${e})`,_v=e=>`var(--contextual-layout-units-${e})`,Q={navBg:Po("fill-surface-chrome"),orgStroke:vt("stroke-action-ghost-rest"),orgStrokeHover:vt("stroke-action-ghost-hover"),orgStrokePressed:vt("stroke-action-ghost-pressed"),searchFill:vt("fill-action-ghost-rest"),controlHover:vt("fill-action-ghost-hover"),controlPressed:vt("fill-action-ghost-pressed"),noLogoBg:vt("fill-action-secondary-rest"),monoBase:vt("foreground-action-ghost-rest"),monoHover:vt("foreground-action-ghost-hover"),monoPressed:vt("foreground-action-ghost-pressed"),orgText:vt("foreground-action-ghost-rest"),orgChevron:vt("foreground-action-ghost-rest"),orgSubText:vt("foreground-action-ghost-rest"),avatarBg:vt("fill-action-primary-subtle-rest"),avatarBgHover:vt("fill-action-primary-subtle-hover"),avatarBgPressed:vt("fill-action-primary-subtle-pressed"),avatarText:vt("foreground-action-primary-on-subtle-rest"),avatarTextHover:vt("foreground-action-primary-on-subtle-hover"),avatarTextPressed:vt("foreground-action-primary-on-subtle-pressed"),panelBg:Po("fill-static-neutral-faint"),activeItem:Po("fill-action-primary-subtle-rest"),itemText:Po("foreground-static-neutral-bold"),itemTextBase:Po("foreground-static-neutral-base"),itemMeta:Po("foreground-static-neutral-base"),signOut:Po("foreground-action-status-negative-on-subtle-rest"),panelBorder:Po("stroke-static-neutral-base"),panelShadow:"var(--elevation-lift)",panelDivider:Po("stroke-static-neutral-faint")},A={navPadH:B0("topnav-padding-horizontal"),navPadV:B0("topnav-padding-vertical"),navH:_v("topnav-height"),navGap:B0("topnav-gap-horizontal"),touchTarget:48,modInnerH:36,orgAvatarNav:16,orgAvatarSm:24,orgAvatarPanel:32,searchPill:32,avatarSize:32,modPadL:Xe("padding-xxtight"),profilePad:Xe("padding-xxxtight"),orgPadV:Xe("padding-xxtight"),orgPadL:Xe("padding-tight"),orgPadMobileR:Xe("padding-xxxtight"),orgPadMobileL:Xe("padding-xtight"),slotPadV:Xe("padding-xxtight"),slotPadNarrow:Xe("padding-xxxtight"),orgMainMax:308,orgMainMaxMobile:102,orgNameMax:200,orgCampusMax:72,orgNameMaxMobile:52,moduleMark:16,moduleMarkBox:20,chevronGlyph:12,modChevronBox:20,orgChevronBox:24,actionIconBox:28,actionIconGlyph:16,actionTarget:Xe("accessibility-touch-target-aa-width"),takeoverExit:Xe("accessibility-touch-target-aa-width"),takeoverExitGlyph:24,radius:Xe("cornerradius-base"),radiusSm:Xe("cornerradius-small")},I8=new Set(["the","a","an","of","in","at","for","and","or","but"]);function Mv(e){if(!e)return"???";let t=e.replace(/-/g," ").split(/\s+/).filter(r=>!I8.has(r.toLowerCase()));return t.length>=3?(t[0][0]+t[1][0]+t[2][0]).toUpperCase():t.length===2?(t[0][0]+t[1][0]+t[1][0]).toUpperCase():t[0].slice(0,3).toUpperCase()}var Iv=["ville","field","burg","burgh","berg","town","port","ford","wood","land","dale","view","gate","bridge","worth","shire"];function Nv(e){if(!e)return"";let t=e.replace(/-/g," ").split(/\s+/).filter(o=>!I8.has(o.toLowerCase()));if(!t.length)return e.slice(0,2).toUpperCase();if(t.length>=2)return(t[0][0]+t[1][0]).toUpperCase();let r=t[0],n=r.toLowerCase();for(let o of Iv)if(n.endsWith(o)&&r.length>o.length+1)return(r[0]+o[0]).toUpperCase();return(r[0]+r[r.length-1]).toUpperCase()}function Dv(e,t){let r=Mv(e);return t?`${r} | ${Nv(t)}`:r}var z0=R8.map(e=>({id:e,label:_8[e]})),Fv=[{icon:"help",label:"Help"},{icon:"settings",label:"Settings"},{icon:"notifications_unread",label:"Notifications"}],Hv=(e,t)=>!!e&&(typeof t.composedPath=="function"?t.composedPath().includes(e):e.contains(t.target));function K0({icon:e,label:t,onClick:r}){let[n,o]=(0,Nt.useState)(!1),[i,a]=(0,Nt.useState)(!1),s=i?Q.controlPressed:n?Q.controlHover:"transparent",l=i?Q.monoPressed:n?Q.monoHover:Q.monoBase;return(0,B.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:A.actionTarget,height:A.actionTarget,flexShrink:0},children:(0,B.jsx)("button",{className:Wi,type:"button","aria-label":t,onClick:r,onMouseEnter:()=>o(!0),onMouseLeave:()=>{o(!1),a(!1)},onMouseDown:()=>a(!0),onMouseUp:()=>a(!1),onBlur:()=>a(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:0,background:"transparent",border:"none",cursor:"pointer"},children:(0,B.jsx)("span",{"data-pw-ring-target":"",style:{display:"flex",alignItems:"center",justifyContent:"center",width:A.actionIconBox,height:A.actionIconBox,borderRadius:A.radius,background:s,transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,B.jsx)(ye,{name:e,size:A.actionIconGlyph,style:{color:l,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"}})})})})}function Av({breakpoint:e="desktop",actions:t,onNotifications:r,onMore:n}){let o=(t||Fv).map(i=>({...i,onClick:i.onClick||(i.icon==="notifications_unread"?r:void 0)}));return e==="mobile"&&o.length>1?(0,B.jsx)("div",{style:{display:"flex",alignItems:"center"},children:(0,B.jsx)(K0,{icon:"more_vert",label:"More actions",onClick:n})}):(0,B.jsx)("div",{style:{display:"flex",alignItems:"center"},children:o.map((i,a)=>(0,B.jsx)(K0,{...i},`${i.icon}-${a}`))})}var N8={hover:Q.monoHover,pressed:Q.monoPressed,layerHover:Q.controlHover,layerPress:Q.controlPressed};function D8({user:e,open:t,onToggle:r,mobile:n=!1}){let[o,i]=(0,Nt.useState)(!1);return(0,B.jsx)("div",{style:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",minHeight:A.touchTarget,minWidth:A.touchTarget},children:(0,B.jsx)("button",{className:Wi,onClick:r,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),"aria-haspopup":"true","aria-expanded":t,"aria-label":`Account: ${e.name}`,style:{display:"flex",alignItems:"center",justifyContent:"center",width:A.touchTarget,height:A.touchTarget,boxSizing:"border-box",background:"transparent",border:"none",borderRadius:"50%",cursor:"pointer",padding:A.profilePad,transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,B.jsx)("div",{"data-pw-ring-target":"",style:{width:A.avatarSize,height:A.avatarSize,borderRadius:"50%",background:t?Q.avatarBgPressed:o?Q.avatarBgHover:Q.avatarBg,display:"flex",alignItems:"center",justifyContent:"center",transition:"background var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)",fontFamily:"var(--semantic-type-family-brand)",fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-semibold)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:t?Q.avatarTextPressed:o?Q.avatarTextHover:Q.avatarText,flexShrink:0,overflow:"hidden"},children:e.avatarUrl?(0,B.jsx)("img",{src:e.avatarUrl,alt:"",style:{width:"100%",height:"100%",objectFit:"cover"}}):e.initials})})})}function Ov({org:e,open:t,onToggle:r,mobile:n=!1,showCampus:o=!1}){let[i,a]=(0,Nt.useState)(!1),[s,l]=(0,Nt.useState)(!1),c=e.logoUrl&&!s,d=n?e.shortName||Dv(e.name,o?e.campus:null):e.name,u=!n&&o&&e.campus?e.campus:null,p=t?Q.monoPressed:i?Q.monoHover:Q.monoBase,b={fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)"},g={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",minWidth:0};return(0,B.jsx)("div",{style:{position:"relative",minWidth:0,padding:n?`${A.slotPadV} ${A.slotPadNarrow}`:A.slotPadV},children:(0,B.jsxs)("button",{className:wu,onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),onClick:r,"aria-haspopup":"true","aria-expanded":t,"aria-label":`Switch organisation: ${e.name}${e.campus?", "+e.campus:""}`,style:{display:"flex",alignItems:"center",gap:n?"var(--semantic-layout-units-gap-xxxtight)":"var(--semantic-layout-units-gap-xxtight)",minHeight:A.modInnerH,boxSizing:"border-box",minWidth:0,maxWidth:n?A.orgMainMaxMobile:A.orgMainMax,padding:n?`${A.orgPadV} ${A.orgPadMobileR} ${A.orgPadV} ${A.orgPadMobileL}`:`${A.orgPadV} ${A.orgPadV} ${A.orgPadV} ${A.orgPadL}`,borderRadius:A.radius,background:t?Q.controlPressed:i?Q.controlHover:"transparent",border:"none",boxShadow:`inset 0 0 0 ${t||i?"var(--contextual-layout-units-button-borderwidth-selected, 1px)":"var(--contextual-layout-units-button-borderwidth-rest, 0.75px)"} ${t?Q.orgStrokePressed:i?Q.orgStrokeHover:Q.orgStroke}`,cursor:"pointer",color:p,fontFamily:"inherit",transition:"background var(--motion-duration-3) var(--motion-easing-standard), box-shadow var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)",height:n?20:24,minWidth:0},children:[c&&(0,B.jsx)("div",{style:{width:A.orgAvatarSm,height:A.orgAvatarSm,padding:"var(--semantic-layout-units-padding-xxxtight)",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,B.jsx)("div",{style:{width:A.orgAvatarNav,height:A.orgAvatarNav,borderRadius:A.radiusSm,border:`1px solid ${vt("stroke-action-primary-strong-rest")}`,boxSizing:"border-box",background:"transparent",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative",flexShrink:0},children:(0,B.jsx)("img",{src:e.logoUrl,alt:"",onError:()=>l(!0),style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}})})}),(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",minWidth:0},children:[(0,B.jsx)("span",{"aria-hidden":"true",style:{...b,...g,maxWidth:n?A.orgNameMaxMobile:A.orgNameMax,color:p,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"},children:d}),u&&(0,B.jsx)("span",{"aria-hidden":"true",style:{...b,...g,maxWidth:A.orgCampusMax,flexShrink:0,color:t?Q.monoPressed:i?Q.monoHover:Q.orgSubText,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"},children:`| ${u}`})]})]}),(0,B.jsx)("span",{style:{width:n?A.modChevronBox:A.orgChevronBox,height:n?A.modChevronBox:A.orgChevronBox,display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,transform:t?"rotate(180deg)":"none",transition:"transform var(--motion-duration-4) var(--motion-easing-standard)"},children:(0,B.jsx)(ye,{name:"expand_more",size:A.chevronGlyph,style:{color:Q.orgChevron}})})]})})}function Bv({modules:e,activeId:t,open:r,onToggle:n,breakpoint:o="desktop",type:i="interactive"}){let[a,s]=(0,Nt.useState)(!1),[l,c]=(0,Nt.useState)(!1),d=e.find(y=>y.id===t)||e[0],u=o==="desktop",p=i==="static",b=p?Q.monoBase:r||l?Q.monoPressed:a?Q.monoHover:Q.monoBase,g=(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)"},children:[(0,B.jsx)("div",{style:{width:A.moduleMarkBox,height:A.moduleMarkBox,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,color:Q.monoBase},children:(0,B.jsx)(Ml,{module:d.id,size:A.moduleMark,color:"mono"})}),u&&(0,B.jsx)("span",{style:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:160,color:b,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"},children:d.label})]});return p?(0,B.jsx)("div",{style:{position:"relative",padding:`${A.slotPadV} ${A.slotPadNarrow}`},children:(0,B.jsx)("div",{"aria-label":`Current module: ${d.label}`,style:{display:"flex",alignItems:"center",maxHeight:A.modInnerH,minHeight:A.modInnerH,padding:`0 0 0 ${A.modPadL}`,borderRadius:A.radius,background:"transparent",border:"none",boxSizing:"border-box",color:Q.monoBase,fontFamily:"inherit",cursor:"default"},children:g})}):(0,B.jsx)("div",{style:{position:"relative",padding:`${A.slotPadV} ${A.slotPadNarrow}`},children:(0,B.jsxs)("button",{className:jr,onMouseEnter:()=>s(!0),onMouseLeave:()=>{s(!1),c(!1)},onMouseDown:()=>c(!0),onMouseUp:()=>c(!1),onBlur:()=>c(!1),onClick:n,"aria-haspopup":"listbox","aria-expanded":r,"aria-label":`Switch module: ${d.label}`,style:{display:"flex",alignItems:"center",gap:u?"var(--semantic-layout-units-gap-xxxtight)":0,maxHeight:A.modInnerH,minHeight:A.modInnerH,padding:`0 0 0 ${A.modPadL}`,borderRadius:A.radius,background:r||l?Q.controlPressed:a?Q.controlHover:"transparent",border:"none",boxSizing:"border-box",cursor:"pointer",color:Q.monoBase,fontFamily:"inherit",transition:"background var(--motion-duration-3) var(--motion-easing-standard)"},children:[g,(0,B.jsx)("div",{style:{width:A.modChevronBox,height:A.modChevronBox,display:"flex",alignItems:"center",justifyContent:"center",transform:r?"rotate(180deg)":"none",transition:"transform var(--motion-duration-4) var(--motion-easing-standard)"},children:(0,B.jsx)(ye,{name:"expand_more",size:A.chevronGlyph,style:{color:Q.monoBase}})})]})})}function F8({user:e}){return(0,B.jsxs)("div",{role:"menu","data-theme":"light",style:{position:"absolute",top:"calc(100% + 4px)",right:A.navPadH,width:200,background:Q.panelBg,border:`1px solid ${Q.panelBorder}`,borderRadius:A.radius,boxShadow:Q.panelShadow,padding:"var(--semantic-layout-units-padding-xxxtight)",zIndex:300,animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:[(0,B.jsxs)("div",{style:{padding:" ",borderBottom:`1px solid ${Q.panelDivider}`,marginBottom:4},children:[(0,B.jsx)("div",{style:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:600,color:Q.itemText},children:e.name}),(0,B.jsx)("div",{style:{fontSize:"var(--semantic-type-font-size-xxs)",color:Q.itemMeta,marginTop:1},children:e.email})]}),["Profile settings","Settings"].map(t=>(0,B.jsx)("button",{className:Za,role:"menuitem",style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:"",borderRadius:"var(--semantic-layout-units-cornerradius-base)",fontFamily:"inherit",fontSize:"var(--semantic-type-font-size-s)",color:Q.itemTextBase,background:"transparent",border:"none",width:"100%",textAlign:"left",cursor:"pointer"},children:t},t)),(0,B.jsx)("button",{className:Za,role:"menuitem",style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:"",borderRadius:"var(--semantic-layout-units-cornerradius-base)",fontFamily:"inherit",fontSize:"var(--semantic-type-font-size-s)",color:Q.signOut,background:"transparent",border:"none",width:"100%",textAlign:"left",cursor:"pointer"},children:"Sign out"})]})}var Kv={search:["M11 17.5C14.5899 17.5 17.5 14.5899 17.5 11C17.5 7.41015 14.5899 4.5 11 4.5C7.41015 4.5 4.5 7.41015 4.5 11C4.5 14.5899 7.41015 17.5 11 17.5Z","M20 20L15.8 15.8"],help:["M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z","M9.5 9.49999C9.50157 9.04964 9.62476 8.60808 9.85656 8.22196C10.0884 7.83584 10.4202 7.5195 10.8169 7.30638C11.2136 7.09325 11.6606 6.99125 12.1105 7.01116C12.5604 7.03106 12.9966 7.17212 13.3729 7.41945C13.7493 7.66677 14.0519 8.01117 14.2487 8.41625C14.4455 8.82133 14.5292 9.27205 14.491 9.72078C14.4528 10.1695 14.2941 10.5996 14.0316 10.9656C13.7692 11.3316 13.4128 11.6199 13 11.8C12.3 12.1 12 12.7 12 13.5M12 17H12.01"],gear:["M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z","M19.4 15C19.2737 15.2975 19.2349 15.6249 19.288 15.9437C19.3411 16.2625 19.4841 16.5595 19.7 16.8L19.8 16.9C20.0292 17.0719 20.2189 17.2911 20.356 17.5427C20.4932 17.7943 20.5747 18.0724 20.595 18.3582C20.6153 18.644 20.5739 18.9309 20.4737 19.1994C20.3735 19.4678 20.2168 19.7116 20.0142 19.9142C19.8116 20.1168 19.5678 20.2735 19.2994 20.3737C19.0309 20.4739 18.744 20.5153 18.4582 20.495C18.1724 20.4747 17.8943 20.3932 17.6427 20.256C17.3911 20.1189 17.1719 19.9292 17 19.7L16.9 19.6C16.6595 19.3841 16.3625 19.2411 16.0437 19.188C15.7249 19.1349 15.3975 19.1737 15.1 19.3C14.8094 19.4311 14.5616 19.6413 14.3848 19.9065C14.208 20.1718 14.1093 20.4814 14.1 20.8V21C14.1 21.5304 13.8893 22.0391 13.5142 22.4142C13.1391 22.7893 12.6304 23 12.1 23C11.5696 23 11.0609 22.7893 10.6858 22.4142C10.3107 22.0391 10.1 21.5304 10.1 21V20.9C10.0822 20.5701 9.96871 20.2526 9.77335 19.9862C9.578 19.7198 9.30927 19.5161 9 19.4C8.70249 19.2737 8.37514 19.2349 8.05634 19.288C7.73753 19.3411 7.44048 19.4841 7.2 19.7L7.1 19.8C6.92807 20.0292 6.7089 20.2189 6.45731 20.356C6.20572 20.4932 5.9276 20.5747 5.64178 20.595C5.35595 20.6153 5.0691 20.5739 4.80065 20.4737C4.53219 20.3735 4.2884 20.2168 4.08579 20.0142C3.88317 19.8116 3.72646 19.5678 3.62626 19.2994C3.52606 19.0309 3.48472 18.744 3.50503 18.4582C3.52534 18.1724 3.60684 17.8943 3.74399 17.6427C3.88115 17.3911 4.07076 17.1719 4.3 17L4.4 16.9C4.61594 16.6595 4.75885 16.3625 4.81199 16.0437C4.86512 15.7249 4.82627 15.3975 4.7 15.1C4.56888 14.8094 4.3587 14.5616 4.09347 14.3848C3.82824 14.208 3.51863 14.1093 3.2 14.1H3C2.46957 14.1 1.96086 13.8893 1.58579 13.5142C1.21071 13.1391 1 12.6304 1 12.1C1 11.5696 1.21071 11.0609 1.58579 10.6858C1.96086 10.3107 2.46957 10.1 3 10.1H3.1C3.42986 10.0822 3.7474 9.96871 4.01379 9.77335C4.28018 9.578 4.48389 9.30927 4.6 9C4.72627 8.70249 4.76512 8.37514 4.71199 8.05634C4.65885 7.73753 4.51594 7.44048 4.3 7.2L4.2 7.1C3.97076 6.92807 3.78115 6.7089 3.64399 6.45731C3.50684 6.20572 3.42534 5.9276 3.40503 5.64178C3.38472 5.35595 3.42606 5.0691 3.52626 4.80065C3.62646 4.53219 3.78317 4.2884 3.98579 4.08579C4.1884 3.88317 4.43219 3.72646 4.70065 3.62626C4.9691 3.52606 5.25595 3.48472 5.54178 3.50503C5.8276 3.52534 6.10572 3.60684 6.35731 3.74399C6.6089 3.88115 6.82807 4.07076 7 4.3L7.1 4.4C7.34048 4.61594 7.63753 4.75885 7.95634 4.81199C8.27514 4.86512 8.60249 4.82627 8.9 4.7H9C9.29055 4.56888 9.53839 4.3587 9.71521 4.09347C9.89203 3.82824 9.99071 3.51863 10 3.2V3C10 2.46957 10.2107 1.96086 10.5858 1.58579C10.9609 1.21071 11.4696 1 12 1C12.5304 1 13.0391 1.21071 13.4142 1.58579C13.7893 1.96086 14 2.46957 14 3V3.1C14.0093 3.41863 14.108 3.72824 14.2848 3.99347C14.4616 4.2587 14.7094 4.46888 15 4.6C15.2975 4.72627 15.6249 4.76512 15.9437 4.71199C16.2625 4.65885 16.5595 4.51594 16.8 4.3L16.9 4.2C17.0719 3.97076 17.2911 3.78115 17.5427 3.64399C17.7943 3.50684 18.0724 3.42534 18.3582 3.40503C18.644 3.38472 18.9309 3.42606 19.1994 3.52626C19.4678 3.62646 19.7116 3.78317 19.9142 3.98579C20.1168 4.1884 20.2735 4.43219 20.3737 4.70065C20.4739 4.9691 20.5153 5.25595 20.495 5.54178C20.4747 5.8276 20.3932 6.10572 20.256 6.35731C20.1189 6.6089 19.9292 6.82807 19.7 7L19.6 7.1C19.3841 7.34048 19.2411 7.63753 19.188 7.95634C19.1349 8.27514 19.1737 8.60249 19.3 8.9V9C19.4311 9.29055 19.6413 9.53839 19.9065 9.71521C20.1718 9.89203 20.4814 9.99071 20.8 10H21C21.5304 10 22.0391 10.2107 22.4142 10.5858C22.7893 10.9609 23 11.4696 23 12C23 12.5304 22.7893 13.0391 22.4142 13.4142C22.0391 13.7893 21.5304 14 21 14H20.9C20.5814 14.0093 20.2718 14.108 20.0065 14.2848C19.7413 14.4616 19.5311 14.7094 19.4 15Z"],bell:["M10.3 21C10.4577 21.3159 10.7003 21.5816 11.0006 21.7674C11.3008 21.9531 11.6469 22.0515 12 22.0515C12.3531 22.0515 12.6992 21.9531 12.9994 21.7674C13.2997 21.5816 13.5423 21.3159 13.7 21M6 8C6 6.4087 6.63214 4.88258 7.75736 3.75736C8.88258 2.63214 10.4087 2 12 2C13.5913 2 15.1174 2.63214 16.2426 3.75736C17.3679 4.88258 18 6.4087 18 8C18 15 21 17 21 17H3C3 17 6 15 6 8Z"]};function zv({name:e}){return(0,B.jsx)("svg",{width:A.actionIconGlyph,height:A.actionIconGlyph,viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",stroke:"currentColor",strokeWidth:"2.16",strokeLinecap:"round",strokeLinejoin:"round",style:{display:"block"},children:Kv[e].map((t,r)=>(0,B.jsx)("path",{d:t},r))})}function Vv(){return(0,B.jsxs)("svg",{width:"27",height:"32",viewBox:"0 0 27 32",fill:"currentColor","aria-hidden":"true",style:{display:"block"},children:[(0,B.jsx)("path",{d:"M2.29958 25.2142C1.02842 25.2142 0 24.3456 0 23.277C0 22.2765 0.900517 21.4519 2.05683 21.3508L22.8862 19.5081C23.0036 19.4971 23.1237 19.4927 23.2438 19.4927C25.1205 19.4927 26.6422 20.7747 26.6422 22.3556C26.6422 23.9366 25.1205 25.2186 23.2438 25.2186H2.29958V25.2142Z"}),(0,B.jsx)("path",{d:"M22.2387 5.52125C23.6274 4.83081 25.418 5.22221 26.2376 6.392C27.0572 7.56179 26.5925 9.07021 25.2039 9.76065C25.0369 9.84201 24.8672 9.91018 24.6923 9.96295L15.2956 12.7643C14.429 13.0238 13.4398 12.7379 12.9543 12.0453C12.4061 11.2603 12.7168 10.2488 13.6486 9.78484L22.2413 5.52125H22.2387Z"}),(0,B.jsx)("path",{d:"M8.7547 19.5479C7.74194 19.6754 6.74224 19.1631 6.43424 18.3121C6.09491 17.3754 6.71875 16.3837 7.83069 16.0979L22.453 12.3334C24.1653 11.8936 25.9767 12.705 26.4988 14.1453C27.0208 15.5877 26.0577 17.1137 24.348 17.5535C24.1914 17.5931 24.0322 17.6239 23.8755 17.6437L8.7547 19.5457V19.5479Z"})]})}var qa={menuBase:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)"},menuLarge:{fontSize:"var(--semantic-type-font-size-r)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-r-single)",letterSpacing:"var(--semantic-type-letter-spacing-wide)"},sectionSm:{fontSize:"var(--semantic-type-font-size-r)",fontWeight:"var(--semantic-type-weight-semibold)",lineHeight:"var(--semantic-type-line-height-r-single)",letterSpacing:"var(--semantic-type-letter-spacing-wide)"},localBase:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-semibold)",lineHeight:"var(--semantic-type-line-height-s-tight)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)"}};function Pu(){let[e,t]=(0,Nt.useState)(!1),[r,n]=(0,Nt.useState)(!1);return{hov:e,press:r,handlers:{onMouseEnter:()=>t(!0),onMouseLeave:()=>{t(!1),n(!1)},onMouseDown:()=>n(!0),onMouseUp:()=>n(!1),onBlur:()=>n(!1)}}}function Wv({label:e,active:t,brandItem:r,tablet:n,onClick:o}){let{hov:i,press:a,handlers:s}=Pu(),l=t?Q.controlHover:a?Q.controlPressed:i?Q.searchFill:"transparent",c=t||a?Q.monoPressed:i?Q.monoHover:Q.monoBase,d=r?t?qa.sectionSm:qa.menuLarge:t?qa.localBase:qa.menuBase;return(0,B.jsx)("button",{className:jr,type:"button","aria-current":t?"page":void 0,onClick:o,...s,style:{display:"flex",alignItems:"center",minWidth:A.actionTarget,minHeight:A.actionTarget,padding:0,border:"none",background:"transparent",cursor:"pointer",fontFamily:"inherit"},children:(0,B.jsx)("span",{style:{display:"flex",alignItems:"center",height:A.modInnerH,boxSizing:"border-box",padding:`0 ${Xe(n?"padding-tight":"padding-base")}`,borderRadius:Xe("cornerradius-full"),background:l,color:c,whiteSpace:"nowrap",...d,transition:"background var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)"},children:e})})}function Uv({org:e,open:t,onToggle:r,compact:n}){let{hov:o,press:i,handlers:a}=Pu(),s=t||i?Q.controlPressed:o?Q.controlHover:"transparent";return(0,B.jsx)("div",{style:{position:"relative",padding:A.slotPadV,minWidth:0},children:(0,B.jsxs)("button",{className:jr,type:"button",onClick:r,...a,"aria-haspopup":"true","aria-expanded":t,"aria-label":`Switch organisation: ${e.name}${e.campus?", "+e.campus:""}`,style:{display:"flex",alignItems:"center",boxSizing:"border-box",minHeight:A.modInnerH,minWidth:0,maxWidth:n?A.orgMainMaxMobile:A.orgMainMax,gap:n?"var(--semantic-layout-units-gap-xxxtight)":"var(--semantic-layout-units-gap-xxtight)",padding:n?`${Xe("padding-xtight")} ${Xe("padding-xxxtight")} ${Xe("padding-xtight")} ${Xe("padding-xtight")}`:`${A.orgPadV} ${A.orgPadV} ${A.orgPadV} ${A.orgPadL}`,borderRadius:Xe("cornerradius-full"),border:"none",background:s,cursor:"pointer",fontFamily:"inherit",boxShadow:`inset 0 0 0 var(--contextual-layout-units-button-borderwidth-rest, 0.75px) ${Q.orgStroke}`,transition:"background var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,B.jsx)("span",{"aria-hidden":"true",style:{...qa.menuBase,color:Q.monoBase,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",minWidth:0,maxWidth:n?A.orgNameMaxMobile:A.orgNameMax},children:n&&e.shortName||e.name}),(0,B.jsx)("span",{style:{width:n?A.modChevronBox:A.orgChevronBox,height:n?A.modChevronBox:A.orgChevronBox,display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,transform:t?"rotate(180deg)":"none",transition:"transform var(--motion-duration-4) var(--motion-easing-standard)"},children:(0,B.jsx)(ye,{name:"expand_more",size:A.chevronGlyph,style:{color:Q.orgChevron}})})]})})}function jv({label:e,open:t,onToggle:r}){let{hov:n,press:o,handlers:i}=Pu(),a=t||o?Q.controlPressed:n?Q.controlHover:"transparent";return(0,B.jsx)("div",{style:{padding:`${A.slotPadV} ${A.slotPadNarrow}`},children:(0,B.jsxs)("button",{className:jr,type:"button",onClick:r,"aria-haspopup":"true","aria-expanded":t,...i,style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxxtight)",height:A.modInnerH,boxSizing:"border-box",padding:`0 10px 0 ${Xe("padding-medium")}`,borderRadius:Xe("cornerradius-full"),border:"none",background:a,cursor:"pointer",fontFamily:"inherit",boxShadow:`inset 0 0 0 var(--contextual-layout-units-button-borderwidth-rest, 0.75px) ${Q.orgStroke}`,color:Q.monoBase},children:[(0,B.jsx)("span",{style:{...qa.sectionSm,whiteSpace:"nowrap"},children:e}),(0,B.jsx)("span",{style:{width:A.modChevronBox,height:A.modChevronBox,display:"inline-flex",alignItems:"center",justifyContent:"center"},children:(0,B.jsx)(ye,{name:"expand_more",size:A.chevronGlyph,style:{color:Q.monoBase}})})]})})}function Gv({icon:e,label:t,badge:r,onClick:n}){let{hov:o,press:i,handlers:a}=Pu();return(0,B.jsxs)("button",{className:jr,type:"button","aria-label":t,onClick:n,...a,style:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:A.actionTarget,height:A.actionTarget,padding:0,border:"none",cursor:"pointer",borderRadius:A.radius,background:i?Q.controlPressed:o?Q.controlHover:"transparent",color:i?Q.monoPressed:o?Q.monoHover:Q.monoBase,transition:"background var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)"},children:[(0,B.jsx)(zv,{name:e}),r&&(0,B.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",left:26,top:10,width:8,height:8,boxSizing:"border-box",borderRadius:"50%",background:vt("fill-static-attention-strong"),boxShadow:`inset 0 0 0 var(--semantic-layout-units-borderwidth-medium) ${Q.navBg}`}})]})}var Zv=[{id:"newco",label:"NewCo",brand:!0},{id:"people",label:"People"},{id:"giving",label:"Giving"},{id:"financials",label:"Financials"},{id:"digital",label:"Digital"}],Yv=[{icon:"search",label:"Search"},{icon:"help",label:"Help"},{icon:"gear",label:"Settings"},{icon:"bell",label:"Notifications",badge:!0}];function Xv({navRef:e,className:t,breakpoint:r,org:n,user:o,openPanel:i,toggle:a,close:s,orgs:l,onOrgSelect:c,pillars:d,activePillarId:u,onPillarSelect:p,ncActions:b,onSideNavToggle:g,onMore:y}){let $=r==="mobile",m=r==="tablet",f=d.find(x=>x.brand)||d[0],h=m?b.filter(x=>x.icon==="search"||x.icon==="bell"):b,v=(0,B.jsx)(Uv,{org:n,open:i==="org",onToggle:()=>{a("org"),c?.()},compact:$||m});return(0,B.jsx)("div",{style:{background:"var(--semantic-color-fill-surface-chrome)",position:"relative",zIndex:100},children:(0,B.jsxs)("nav",{ref:e,"aria-label":"Global navigation",className:t,style:{display:"flex",alignItems:"center",justifyContent:"space-between",height:A.navH,maxHeight:A.navH,boxSizing:"border-box",padding:`${A.navPadV} ${Xe($?"padding-xtight":"padding-base")}`,gap:A.navGap,position:"relative",fontFamily:"'Red Hat Text', sans-serif",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},children:[(0,B.jsx)("div",{style:{display:"flex",alignItems:"center",flexShrink:0,minWidth:0,gap:$?"var(--semantic-layout-units-gap-xxtight)":"var(--semantic-layout-units-gap-tight)"},children:$?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(ai,{name:"menu",size:"Large",label:"Open navigation menu",color:Q.monoBase,states:N8,onClick:g}),(0,B.jsx)(jv,{label:f.label,open:i==="pillar",onToggle:()=>a("pillar")}),v]}):(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)("a",{href:"#","aria-label":"Home",onClick:x=>x.preventDefault(),style:{display:"flex",alignItems:"center",height:A.touchTarget,padding:`0 ${Xe("padding-xtight")}`,borderRadius:A.radius,color:Q.monoBase},children:(0,B.jsx)(Vv,{})}),(0,B.jsx)("span",{"aria-hidden":"true",style:{width:1,height:28,borderRadius:1,background:Q.controlPressed,flexShrink:0}}),(0,B.jsx)("div",{role:"navigation","aria-label":"Products",style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)",paddingLeft:Xe("padding-xtight")},children:d.map(x=>(0,B.jsx)(Wv,{label:x.label,brandItem:!!x.brand,tablet:m,active:x.brand?u===x.id||!u:u===x.id,onClick:()=>p?.(x.id)},x.id))})]})}),(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center",flexShrink:0,gap:$||m?"var(--semantic-layout-units-gap-xxtight)":"var(--semantic-layout-units-gap-tight)"},children:[!$&&v,$?(0,B.jsx)(K0,{icon:"more_vert",label:"More actions",onClick:y}):(0,B.jsx)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)"},children:h.map(x=>(0,B.jsx)(Gv,{...x},x.label))}),(0,B.jsx)(D8,{user:o,open:i==="profile",onToggle:()=>a("profile"),mobile:$}),i==="profile"&&(0,B.jsx)(F8,{user:o})]}),i==="org"&&(0,B.jsx)("div",{style:{position:"absolute",top:"calc(100% + 4px)",right:A.navPadH,zIndex:300,animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:(0,B.jsx)(A0,{orgs:l,activeOrgId:n.id,onSelect:x=>{s(),c?.(x)}})})]})})}function H8({modules:e=z0,activeModuleId:t="home",org:r={id:"shc",name:"Sacred Heart Church-ITD",campus:"Knoxville",initials:"SH"},orgs:n=H0,user:o={name:"Jo Lopez",initials:"JL",email:"jo@sacredheart.org"},breakpoint:i="desktop",brand:a="amplify",pillars:s=Zv,activePillarId:l,onPillarSelect:c,newcoActions:d=Yv,showCampus:u=!1,moduleSwitcherType:p="interactive",initialOpenPanel:b=null,onModuleSelect:g,onOrgSelect:y,onSearchOpen:$,onSideNavToggle:m,actions:f,showSearch:h=!0,showActions:v=!0,onNotifications:x,onMore:w,className:P=""}){let[k,T]=(0,Nt.useState)(b),[E,F]=(0,Nt.useState)(t),[_,I]=(0,Nt.useState)(!1),[C,L]=(0,Nt.useState)(""),O=(0,Nt.useRef)(null),M=i==="mobile",Z=i==="tablet",R=j=>T(z=>z===j?null:j),te=()=>T(null);(0,Nt.useEffect)(()=>{let j=z=>{Hv(O.current,z)||te()};return document.addEventListener("mousedown",j),()=>document.removeEventListener("mousedown",j)},[]),(0,Nt.useEffect)(()=>{let j=z=>{z.key==="Escape"&&(te(),I(!1))};return document.addEventListener("keydown",j),()=>document.removeEventListener("keydown",j)},[]);let X=j=>{F(j),te(),g?.(j)},K=_;return a==="newco"?(0,B.jsx)(Xv,{navRef:O,className:P,breakpoint:i,org:r,user:o,orgs:n,openPanel:k,toggle:R,close:te,onOrgSelect:y,pillars:s,activePillarId:l,onPillarSelect:c,ncActions:d,onSideNavToggle:m,onMore:w}):(0,B.jsx)("div",{style:{background:"var(--semantic-color-fill-surface-chrome)",position:"relative",zIndex:100},children:(0,B.jsxs)("nav",{ref:O,"aria-label":"Global navigation",className:P,style:{background:"transparent",display:"flex",alignItems:"center",justifyContent:"space-between",height:A.navH,maxHeight:A.navH,boxSizing:"border-box",padding:`${A.navPadV} ${A.navPadH}`,gap:A.navGap,position:"relative",overflow:"visible",fontFamily:"'Red Hat Text', sans-serif",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},children:[(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:M?0:"var(--semantic-layout-units-gap-tight)",flexShrink:0},children:[M&&(0,B.jsx)(ai,{name:"menu",size:"Large",label:"Open navigation menu",color:Q.monoBase,states:N8,onClick:m}),(0,B.jsx)(Bv,{modules:e,activeId:E,open:k==="module",onToggle:()=>R("module"),breakpoint:i,type:p}),k==="module"&&p!=="static"&&(0,B.jsx)("ul",{role:"listbox","data-theme":"light","aria-label":"Switch module",style:{position:"absolute",top:"calc(100% + 4px)",left:A.navPadH,width:243,background:Q.panelBg,border:`1px solid ${Q.panelBorder}`,borderRadius:A.radius,boxShadow:Q.panelShadow,padding:"var(--semantic-layout-units-padding-xxxtight)",zIndex:300,margin:0,listStyle:"none",animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:e.map(j=>(0,B.jsx)("li",{role:"option","aria-selected":j.id===E,children:(0,B.jsxs)("button",{className:Za,onClick:()=>X(j.id),style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-medium)",padding:"",borderRadius:"var(--semantic-layout-units-cornerradius-base)",width:"100%",textAlign:"left",color:j.id===E?Q.itemText:Q.itemTextBase,fontSize:"var(--semantic-type-font-size-s)",fontWeight:j.id===E?500:400,background:j.id===E?Q.activeItem:"transparent",border:"none",fontFamily:"inherit",cursor:"pointer"},children:[(0,B.jsx)(Ml,{module:j.id,size:18}),j.label]})},j.id))}),(0,B.jsx)(Ov,{org:r,open:k==="org",onToggle:()=>{R("org"),y?.()},mobile:M,showCampus:u}),k==="org"&&(0,B.jsx)("div",{style:{position:"absolute",top:"calc(100% + 4px)",left:M?A.navPadH:`calc(${A.navPadH} + 40px)`,zIndex:300,animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:(0,B.jsx)(A0,{orgs:n,activeOrgId:r.id,onSelect:j=>{te(),y?.(j)}})})]}),(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:M?0:"var(--semantic-layout-units-gap-tight)",flexShrink:0},children:[h&&(0,B.jsx)(D0,{expanded:!1,onExpandChange:I,breakpoint:i,onSearchOpen:$,searchProps:{value:C,onChange:L,onClear:()=>L("")}}),v&&(0,B.jsx)(Av,{breakpoint:i,actions:f,onNotifications:x,onMore:w}),(0,B.jsx)(D8,{user:o,open:k==="profile",onToggle:()=>R("profile"),mobile:M}),k==="profile"&&(0,B.jsx)(F8,{user:o})]}),K&&(0,B.jsxs)("div",{style:{position:"absolute",inset:0,zIndex:200,background:"var(--semantic-color-fill-surface-chrome)",animation:"tnSearchExpand var(--motion-duration-4) var(--motion-easing-emphasized) both",display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:`0 ${A.navPadH}`},children:[(0,B.jsx)("button",{className:jr,type:"button","aria-label":"Back",onClick:()=>I(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:A.takeoverExit,height:A.takeoverExit,flexShrink:0,background:"transparent",border:"none",cursor:"pointer",borderRadius:A.radius,color:Q.monoBase},children:(0,B.jsx)(ye,{name:"arrow_back",size:A.takeoverExitGlyph,style:{color:Q.monoBase}})}),(0,B.jsx)("div",{style:{flex:1,minWidth:0},children:(0,B.jsx)(N0,{value:C,onChange:L,onClear:()=>L(""),inputRef:j=>j&&j.focus(),placeholder:"Search\u2026"})})]})]})})}H8.Search=D0;var Tu=H8;var qv=`
|
|
74
74
|
:host { display: block; }
|
|
75
75
|
:host([hidden]) { display: none; }
|
|
76
76
|
|
|
@@ -125,239 +125,238 @@ Error generating stack: `+a.message+`
|
|
|
125
125
|
from { clip-path: inset(0); opacity: 1 }
|
|
126
126
|
to { clip-path: inset(0); opacity: 1 }
|
|
127
127
|
}
|
|
128
|
-
}`,Ev=["active-module-id","breakpoint","module-switcher-type","hide-search","hide-actions"],Pp=class extends HTMLElement{static get observedAttributes(){return Ev}constructor(){super(),this._props={},this._reactRoot=null}set modules(t){this._props.modules=t,this._render()}get modules(){return this._props.modules}set org(t){this._props.org=t,this._render()}get org(){return this._props.org}set orgs(t){this._props.orgs=t,this._render()}get orgs(){return this._props.orgs}set user(t){this._props.user=t,this._render()}get user(){return this._props.user}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=Sv+Da,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-topnav-root",t.appendChild(this._mount),this._reactRoot=(0,$8.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readAttributes(){let t={};this.hasAttribute("active-module-id")&&(t.activeModuleId=this.getAttribute("active-module-id")),this.hasAttribute("breakpoint")&&(t.breakpoint=this.getAttribute("breakpoint")),this.hasAttribute("module-switcher-type")&&(t.moduleSwitcherType=this.getAttribute("module-switcher-type"));let r=n=>this.hasAttribute(n)&&this.getAttribute(n)!=="false"&&this.getAttribute(n)!=="0";return this.hasAttribute("hide-search")&&(t.showSearch=!r("hide-search")),this.hasAttribute("hide-actions")&&(t.showActions=!r("hide-actions")),t}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props};this._reactRoot.render(b8.default.createElement(bu,{...t,onModuleSelect:r=>this._emit("pathway-module-select",{id:r}),onOrgSelect:r=>this._emit("pathway-org-select",{id:r}),onSearchOpen:()=>this._emit("pathway-search-open",{}),onSideNavToggle:()=>this._emit("pathway-sidenav-toggle",{}),onNotifications:()=>this._emit("pathway-notifications",{}),onMore:()=>this._emit("pathway-more",{})}))}};customElements.get("pathway-top-nav")||customElements.define("pathway-top-nav",Pp);var Dc=S(D(),1),K9=S(Ar(),1);var nt=S(D(),1);var Kr=S(D(),1);var $o=S($e(),1),lr={thumbWidth:"var(--semantic-layout-units-padding-xtight)",thumbRadius:"var(--semantic-layout-units-cornerradius-full)",thumbMin:28,gutter:"var(--semantic-layout-units-padding-xxxtight)",grabZone:16,thumbRest:"var(--pw-scrollbar-thumb-rest)",thumbHover:"var(--pw-scrollbar-thumb-hover)",thumbBlur:"blur(8px) saturate(180%)",thumbEdge:"inset 0 0 0 0.5px color-mix(in srgb, var(--semantic-color-fill-static-neutral-faint) 35%, transparent)",fadeIn:"opacity var(--motion-duration-3) var(--motion-easing-decelerate), background var(--motion-duration-3) var(--motion-easing-standard)",fadeOut:"opacity var(--motion-duration-5) var(--motion-easing-standard), background var(--motion-duration-3) var(--motion-easing-standard)",idleHideMs:500};if(typeof document<"u"&&!document.getElementById("pds-scrollable-base")){let e=document.createElement("style");e.id="pds-scrollable-base",e.textContent=':root,[data-theme="light"]{--pw-scrollbar-thumb-rest:var(--primitive-color-warm-neutral-500-16);--pw-scrollbar-thumb-hover:var(--primitive-color-warm-neutral-500-24)}[data-theme="midnight"],[data-theme="dark"]{--pw-scrollbar-thumb-rest:var(--primitive-color-warm-neutral-100-16);--pw-scrollbar-thumb-hover:var(--primitive-color-warm-neutral-100-24)}.pds-scrollable__view{scrollbar-width:none;-ms-overflow-style:none}.pds-scrollable__view:-webkit-scrollbar{width:0;height:0;display:none}@media (hover: none){.pds-scrollable__grab{pointer-events:none!important}}',document.head.appendChild(e)}function $u({children:e,className:t="",style:r={},viewClassName:n="",viewStyle:o={}}){let a=Ut(),i=(0,Kr.useRef)(null),s=(0,Kr.useRef)(null),l=(0,Kr.useRef)(null),c=(0,Kr.useRef)(!1),[d,u]=(0,Kr.useState)({h:0,top:0,show:!1}),[p,b]=(0,Kr.useState)(!1),[g,y]=(0,Kr.useState)(!1),$=(0,Kr.useCallback)(()=>{let T=i.current;if(!T)return;let{scrollHeight:E,clientHeight:F,scrollTop:R}=T;if(E<=F+1){u(L=>L.show?{...L,show:!1}:L);return}let _=Math.max(lr.thumbMin,F/E*F),C=R/(E-F)*(F-_);u({h:_,top:C,show:!0})},[]);(0,Kr.useEffect)(()=>{$();let T=i.current;if(!T||typeof ResizeObserver>"u")return;let E=new ResizeObserver($);return E.observe(T),Array.from(T.children).forEach(F=>E.observe(F)),()=>E.disconnect()},[e,$]);let m=()=>{clearTimeout(l.current),l.current=setTimeout(()=>{!s.current&&!c.current&&b(!1)},lr.idleHideMs)},f=()=>{b(!0),m()},h=()=>{$(),f()},v=T=>{T.currentTarget.getBoundingClientRect().right-T.clientX<=lr.grabZone?(c.current=!0,b(!0),clearTimeout(l.current)):c.current&&(c.current=!1,m())},x=()=>{c.current=!1,s.current||m()},w=T=>{T.preventDefault();let E=i.current;if(!E)return;s.current={startY:T.clientY,startTop:E.scrollTop},y(!0),b(!0),clearTimeout(l.current);let F=_=>{let{scrollHeight:C,clientHeight:L}=E,z=Math.max(lr.thumbMin,L/C*L),N=(C-L)/(L-z);E.scrollTop=s.current.startTop+(_.clientY-s.current.startY)*N},R=()=>{s.current=null,y(!1),document.removeEventListener("mousemove",F),document.removeEventListener("mouseup",R),f()};document.addEventListener("mousemove",F),document.addEventListener("mouseup",R)},P=d.top,k=d.h;return(0,$o.jsxs)("div",{className:`pds-scrollable ${t}`,style:{position:"relative",minHeight:0,...r},onMouseMove:v,onMouseLeave:x,children:[(0,$o.jsx)("div",{ref:i,className:`pds-scrollable__view ${n}`,onScroll:h,style:{height:"100%",overflowY:"auto",overflowX:"hidden",...o},children:e}),d.show&&(0,$o.jsxs)($o.Fragment,{children:[(0,$o.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",top:P,right:lr.gutter,width:lr.thumbWidth,height:k,borderRadius:lr.thumbRadius,background:g?lr.thumbHover:lr.thumbRest,backdropFilter:lr.thumbBlur,WebkitBackdropFilter:lr.thumbBlur,boxShadow:lr.thumbEdge,opacity:p?1:0,transition:a?"none":p?lr.fadeIn:lr.fadeOut,pointerEvents:"none",zIndex:5}}),(0,$o.jsx)("div",{"aria-hidden":"true",className:"pds-scrollable__grab",onMouseDown:w,onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),style:{position:"absolute",top:P,right:0,width:lr.grabZone,height:k,pointerEvents:p?"auto":"none",zIndex:6,background:"transparent"}})]})]})}var zf=S(kn(),1);var rt=S(D(),1),D9=S(kn(),1);var _t=S(D(),1);function er(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}var v8=S(D(),1),de=typeof document<"u"?v8.default.useLayoutEffect:()=>{};var Ft=S(D(),1),vu={prefix:String(Math.round(Math.random()*1e10)),current:0},y8=Ft.default.createContext(vu),kv=Ft.default.createContext(!1);var Pv=!!(typeof window<"u"&&window.document&&window.document.createElement),Tp=new WeakMap;function Tv(e=!1){let t=(0,Ft.useContext)(y8),r=(0,Ft.useRef)(null);if(r.current===null&&!e){let n=Ft.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(n){let o=Tp.get(n);o==null?Tp.set(n,{id:t.current,state:n.memoizedState}):n.memoizedState!==o.state&&(t.current=o.id,Tp.delete(n))}r.current=++t.current}return r.current}function Lv(e){let t=(0,Ft.useContext)(y8),r=Tv(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function Rv(e){let t=Ft.default.useId(),[r]=(0,Ft.useState)(Jo()),n=r?"react-aria":`react-aria${vu.prefix}`;return e||`${n}-${t}`}var x8=typeof Ft.default.useId=="function"?Rv:Lv;function _v(){return!1}function Mv(){return!0}function Iv(e){return()=>{}}function Jo(){return typeof Ft.default.useSyncExternalStore=="function"?Ft.default.useSyncExternalStore(Iv,_v,Mv):(0,Ft.useContext)(kv)}var ea=S(D(),1);function C8(e){let[t,r]=(0,ea.useState)(e),n=(0,ea.useRef)(t),o=(0,ea.useRef)(null),a=(0,ea.useRef)(()=>{if(!o.current)return;let s=o.current.next();if(s.done){o.current=null;return}n.current===s.value?a.current():r(s.value)});de(()=>{n.current=t,o.current&&a.current()});let i=(0,ea.useCallback)(s=>{o.current=s(n.current),a.current()},[a]);return[t,i]}var vo=S(D(),1),Nv=!!(typeof window<"u"&&window.document&&window.document.createElement),ji=new Map,Ui;typeof FinalizationRegistry<"u"&&(Ui=new FinalizationRegistry(e=>{ji.delete(e)}));var Lp=new WeakMap;function xt(e){let[t,r]=(0,vo.useState)(e),n=(0,vo.useRef)(null),o=x8(t),a=(0,vo.useRef)(null),i=Lp.get(a);if(Ui&&i!==o&&(i!=null&&Ui.unregister(a),Ui.register(a,o,a),Lp.set(a,o)),Nv){let s=ji.get(o);s&&!s.includes(n)?s.push(n):ji.set(o,[n])}return de(()=>{let s=o;return()=>{Ui&&(Ui.unregister(a),Lp.delete(a)),ji.delete(s)}},[o]),(0,vo.useEffect)(()=>{let s=n.current;return s&&r(s),()=>{s&&(n.current=null)}}),o}function w8(e,t){if(e===t)return e;let r=ji.get(e);if(r)return r.forEach(o=>o.current=t),t;let n=ji.get(t);return n?(n.forEach(o=>o.current=e),e):t}function Wn(e=[]){let t=xt(),[r,n]=C8(t),o=(0,vo.useCallback)(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return de(o,[t,o,...e]),r}function ta(...e){return e.length===1&&e[0]?e[0]:t=>{let r=!1,n=e.map(o=>{let a=S8(o,t);return r||=typeof a=="function",a});if(r)return()=>{n.forEach((o,a)=>{typeof o=="function"?o():S8(e[a],null)})}}}function S8(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function E8(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=E8(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Dv(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=E8(e))&&(n&&(n+=" "),n+=t);return n}var k8=Dv;function se(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let a=t[o],i=n[o];typeof a=="function"&&typeof i=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=er(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=k8(a,i):o==="id"&&a&&i?t.id=w8(a,i):o==="ref"&&a&&i?t.ref=ta(a,i):t[o]=i!==void 0?i:a}}return t}var Ht=S(D(),1);var Ha=S(D(),1);function Un(e){let t=(0,Ha.useRef)(null),r=(0,Ha.useRef)(void 0),n=(0,Ha.useCallback)(o=>{if(typeof e=="function"){let a=e,i=a(o);return()=>{typeof i=="function"?i():a(null)}}else if(e)return e.current=o,()=>{e.current=null}},[e]);return(0,Ha.useMemo)(()=>({get current(){return t.current},set current(o){t.current=o,r.current&&(r.current(),r.current=void 0),o!=null&&(r.current=n(o))}}),[n])}var Gi=Symbol("default");function nn({values:e,children:t}){for(let[r,n]of e)t=Ht.default.createElement(r.Provider,{value:n},t);return t}function jt(e){let{className:t,style:r,children:n,defaultClassName:o,defaultChildren:a,defaultStyle:i,values:s,render:l}=e;return(0,Ht.useMemo)(()=>{let c,d,u;return typeof t=="function"?c=t({...s,defaultClassName:o}):c=t,typeof r=="function"?d=r({...s,defaultStyle:i||{}}):d=r,typeof n=="function"?u=n({...s,defaultChildren:a}):n==null?u=a:u=n,{className:c??o,style:d||i?{...i,...d}:void 0,children:u??a,"data-rac":"",render:l?p=>l(p,s):void 0}},[t,r,n,o,a,i,s,l])}function Aa(e,t){let r=(0,Ht.useContext)(e);if(t===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let n=t||Gi;if(!r.slots[n]){let o=new Intl.ListFormat().format(Object.keys(r.slots).map(i=>`"${i}"`)),a=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${a} Valid slot names are ${o}.`)}return r.slots[n]}return r}function Lt(e,t,r){let n=Aa(r,e.slot)||{},{ref:o,...a}=n,i=Un((0,Ht.useMemo)(()=>ta(t,o),[t,o])),s=se(a,e);return"style"in a&&a.style&&"style"in e&&e.style&&(typeof a.style=="function"||typeof e.style=="function"?s.style=l=>{let c=typeof a.style=="function"?a.style(l):a.style,d={...l.defaultStyle,...c},u=typeof e.style=="function"?e.style({...l,defaultStyle:d}):e.style;return{...d,...u}}:s.style={...a.style,...e.style}),[s,i]}function Zi(e=!0){let[t,r]=(0,Ht.useState)(e),n=(0,Ht.useRef)(!1),o=(0,Ht.useCallback)(a=>{n.current=!0,r(!!a)},[]);return de(()=>{n.current||r(!1)},[]),[o,t]}function T8(e){let t=/^(data-.*)$/,r={};for(let n in e)t.test(n)||(r[n]=e[n]);return r}function Fv(e,t,r){let{render:n,...o}=t,a=(0,Ht.useRef)(null),i=(0,Ht.useMemo)(()=>ta(r,a),[r,a]);de(()=>{},[e,n]);let s={...o,ref:i};return n?n(s,void 0):Ht.default.createElement(e,s)}var P8={},Je=new Proxy({},{get(e,t){if(typeof t!="string")return;let r=P8[t];return r||(r=(0,Ht.forwardRef)(Fv.bind(null,t)),P8[t]=r),r}});var L8="react-aria-clear-focus",R8="react-aria-focus";var ue=e=>Hv(e)?e.document:Av(e)?e:e?.ownerDocument??(typeof document<"u"?document:void 0),Fe=e=>ue(e)?.defaultView??(typeof window<"u"?window:void 0);function Sl(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function Hv(e){return typeof e=="object"&&e!=null&&"window"in e&&e.window===e}function Av(e){return Sl(e)&&e.nodeType===9}function Oa(e){return Sl(e)&&e.nodeType===11&&"host"in e}function Rt(e,t,r,n){if(r==null||e==null)return()=>{};let o=Array.isArray(e)?e:[e];for(let a of o)a.addEventListener(t,r,n);return()=>{for(let a of o)a.removeEventListener(t,r,n)}}function jn(e,t,r,n){if(e==null)return()=>{};let o=new Array,a=Array.isArray(e)?e:[e];for(let i of a){let s=i.style.getPropertyValue(t),l=i.style.getPropertyPriority(t);i.style.setProperty(t,r,n),o.unshift(()=>{s?i.style.setProperty(t,s,l):i.style.removeProperty(t)})}return()=>{for(let i of o)i()}}var Ov=!1;function kr(){return Ov}function pe(e,t){if(!kr())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let r=t;for(;r!=null;){if(r===e)return!0;typeof r.assignedElements!="function"&&r.assignedSlot?.parentNode?r=r.assignedSlot.parentNode:Oa(r)?r=r.host:r=r.parentNode}return!1}var ye=(e=document)=>{if(!kr())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function Y(e){if(kr()&&e.target instanceof Element&&e.target.shadowRoot){if("composedPath"in e)return e.composedPath()[0]??null;if("composedPath"in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function El(e,t){if(t===null)return[];t=t??Fe(e);let r=[t];if(!kr()||!e||e===t)return r;let n="getRootNode"in t?t.getRootNode():null,o=e.getRootNode()??null;for(;Oa(o)&&o!==n;)r.push(o),o=o.host.getRootNode();return r}function ra(e){if(!e)return!1;let t=e.getRootNode(),r=Fe(e);if(!(t instanceof r.Document||t instanceof r.ShadowRoot))return!1;let n=t.activeElement;return n!=null&&e.contains(n)}function yu(e){let t=Bv(ue(e));t!==e&&(t&&zv(t,e),e&&Rp(e,t))}function zv(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function Rp(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function Bv(e){let t=ye(e),r=t?.getAttribute("aria-activedescendant");return r&&e.getElementById(r)||t}function cr(e){e.focus({preventScroll:!0})}var Kv=typeof Element<"u"&&"checkVisibility"in Element.prototype;function Vv(e){let t=Fe(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,o=r!=="none"&&n!=="hidden"&&n!=="collapse";if(o){let{getComputedStyle:a}=Fe(e),{display:i,visibility:s}=a(e);o=i!=="none"&&s!=="hidden"&&s!=="collapse"}return o}function Wv(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function xu(e,t){return Kv?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&Vv(e)&&Wv(e,t)&&(!e.parentElement||xu(e.parentElement,e))}var _p=["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]:not([contenteditable^="false"])',"permission"],Uv=_p.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";_p.push('[tabindex]:not([tabindex="-1"]):not([disabled])');var jv=_p.join(':not([hidden]):not([tabindex="-1"]),');function Yi(e,t){return e.matches(Uv)&&!_8(e)&&(t?.skipVisibilityCheck||xu(e))}function Xi(e){return e.matches(jv)&&xu(e)&&!_8(e)}function _8(e){let t=e;for(;t!=null;){if(t instanceof Fe(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}var Cu=S(D(),1);function Pl(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function wu(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Su(e){let t=(0,Cu.useRef)({isFocused:!1,observer:null});return de(()=>{let r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]),(0,Cu.useCallback)(r=>{let n=Y(r);if(n instanceof HTMLButtonElement||n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement){t.current.isFocused=!0;let o=n,a=i=>{if(t.current.isFocused=!1,o.disabled){let s=Pl(i);e?.(s)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){t.current.observer?.disconnect();let i=o===ye()?null:ye();o.dispatchEvent(new FocusEvent("blur",{relatedTarget:i})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:i}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[e])}var kl=!1;function M8(e){for(;e&&!Yi(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=Fe(e),r=ye(t.document);if(!r||r===e)return;let n=e?.getRootNode(),o=n!=null&&Oa(n)?n:Fe(e),a=g=>g===e||Sl(g)&&pe(e,g),i=g=>g===r||r!=null&&Sl(g)&&pe(r,g);kl=!0;let s=!1,l=g=>{(i(Y(g))||s)&&g.stopImmediatePropagation()},c=g=>{(i(Y(g))||s)&&(g.stopImmediatePropagation(),!e&&!s&&(s=!0,cr(r),p()))},d=g=>{(a(Y(g))||s)&&g.stopImmediatePropagation()},u=g=>{(a(Y(g))||s)&&(g.stopImmediatePropagation(),s||(s=!0,cr(r),p()))};o.addEventListener("blur",l,!0),o.addEventListener("focusout",c,!0),o.addEventListener("focusin",u,!0),o.addEventListener("focus",d,!0);let p=()=>{cancelAnimationFrame(b),o.removeEventListener("blur",l,!0),o.removeEventListener("focusout",c,!0),o.removeEventListener("focusin",u,!0),o.removeEventListener("focus",d,!0),kl=!1,s=!1},b=requestAnimationFrame(p);return p}function Eu(e){if(typeof window>"u"||window.navigator==null)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function Mp(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function Gn(e){let t=null;return()=>(t==null&&(t=e()),t)}var tr=Gn(function(){return Mp(/^Mac/i)}),Gv=Gn(function(){return Mp(/^iPhone/i)}),Ip=Gn(function(){return Mp(/^iPad/i)||tr()&&navigator.maxTouchPoints>1}),yo=Gn(function(){return Gv()||Ip()}),I8=Gn(function(){return tr()||yo()}),rr=Gn(function(){return Eu(/AppleWebKit/i)&&(yo()||!ku())}),HE=Gn(function(){return rr()&&!ku()&&!Zv()}),ku=Gn(function(){return Eu(/Chrome|CriOS|CrMo/i)}),xo=Gn(function(){return Eu(/Android/i)}),Zv=Gn(function(){return Eu(/(Firefox|FxiOS)/i)});function Pu(e){return e.pointerType===""&&e.isTrusted?!0:xo()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function N8(e){return!xo()&&e.width===0&&e.height===0||xo()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}var qi=S(D(),1),Yv=(0,qi.createContext)({isNative:!0,open:Qv,useHref:e=>e});function za(){return(0,qi.useContext)(Yv)}function Xv(e,t){let r=e.getAttribute("target");return(!r||r==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function on(e,t,r=!0){let{metaKey:n,ctrlKey:o,altKey:a,shiftKey:i}=t,s=rr()&&tr()&&!Ip()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:n,ctrlKey:o,altKey:a,shiftKey:i}):new MouseEvent("click",{metaKey:n,ctrlKey:o,altKey:a,shiftKey:i,detail:1,bubbles:!0,cancelable:!0});on.isOpening=r,cr(e),e.dispatchEvent(s),on.isOpening=!1}on.isOpening=!1;function qv(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function Qv(e,t){qv(e,r=>on(r,t))}function Tu(e){let r=za().useHref(e?.href??""),n={};if(e)for(let o of["href","target","rel","download","ping","referrerPolicy"])o in e&&e[o]!==void 0&&(n[o]=o==="href"?r:e[o]);return n}function D8(e,t,r,n){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&Xv(e.currentTarget,e)&&r&&(e.preventDefault(),t.open(e.currentTarget,e,r,n))}var Fp=S(D(),1),Ka=null,Ll="keyboard",Np=new Set,Tl=new Map,Ba=!1,Lu=!1,Jv={Tab:!0,Escape:!0};function _u(e,t){for(let r of Np)r(e,t)}function ey(e){return!(e.metaKey||!tr()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Ru(e){Ba=!0,!on.isOpening&&ey(e)&&(Ka="keyboard",Ll="keyboard",_u("keyboard",e))}function Qi(e){Ka="pointer",Ll="pointerType"in e?e.pointerType:"mouse",(e.type==="mousedown"||e.type==="pointerdown")&&(Ba=!0,_u("pointer",e))}function F8(e){!on.isOpening&&Pu(e)&&(Ba=!0,Ka="virtual",Ll="virtual")}function H8(e){if(kl)return;let t=Y(e),r=Fe(t),n=ue(t);if(t===r){Lu=!0;return}t===n||!e.isTrusted||(!Ba&&!Lu&&(Ka="virtual",Ll="virtual",_u("virtual",e)),Ba=!1,Lu=!1)}function A8(){kl||(Ba=!1,Lu=!0)}function O8(e){let t=ye(ue(Y(e)));queueMicrotask(()=>{ye(ue(Y(e)))!==t&&na("keyboard")})}function Dp(e){if(typeof window>"u"||typeof document>"u")return;let t=Fe(e),r=ue(e);if(Tl.get(t))return;let n=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){Ba=!0,n.apply(this,arguments)}}),r.addEventListener("keydown",Ru,!0),r.addEventListener("keyup",Ru,!0),r.addEventListener("click",F8,!0),r.addEventListener("invalid",O8,!0),t.addEventListener("focus",H8,!0),t.addEventListener("blur",A8,!1),typeof PointerEvent<"u"&&(r.addEventListener("pointerdown",Qi,!0),r.addEventListener("pointermove",Qi,!0),r.addEventListener("pointerup",Qi,!0)),t.addEventListener("beforeunload",()=>{z8(e)},{once:!0}),Tl.set(t,{focus:n})}var z8=(e,t)=>{let r=Fe(e),n=ue(e);t&&n.removeEventListener("DOMContentLoaded",t),Tl.has(r)&&(Reflect.defineProperty(r.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:Tl.get(r).focus}),n.removeEventListener("keydown",Ru,!0),n.removeEventListener("keyup",Ru,!0),n.removeEventListener("click",F8,!0),n.removeEventListener("invalid",O8,!0),r.removeEventListener("focus",H8,!0),r.removeEventListener("blur",A8,!1),typeof PointerEvent<"u"&&(n.removeEventListener("pointerdown",Qi,!0),n.removeEventListener("pointermove",Qi,!0),n.removeEventListener("pointerup",Qi,!0)),Tl.delete(r))};function B8(e){let t=ue(e),r;return t.readyState!=="loading"?Dp(e):(r=()=>{Dp(e)},t.addEventListener("DOMContentLoaded",r)),()=>z8(e,r)}typeof document<"u"&&B8();function Pn(){return Ka!=="pointer"}function Zn(){return Ka}function na(e){Ka=e,Ll=e==="pointer"?"mouse":e,_u(e,null)}var ty=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ry(e,t,r){let n=r?Y(r):void 0,o=ue(n),a=Fe(n),i=typeof a<"u"?a.HTMLInputElement:HTMLInputElement,s=typeof a<"u"?a.HTMLTextAreaElement:HTMLTextAreaElement,l=typeof a<"u"?a.HTMLElement:HTMLElement,c=typeof a<"u"?a.KeyboardEvent:KeyboardEvent,d=ye(o);return e=e||d instanceof i&&!ty.has(d.type)||d instanceof s||d instanceof l&&d.isContentEditable,!(e&&t==="keyboard"&&r instanceof c&&!Jv[r.key])}function Hp(e,t,r){Dp(),(0,Fp.useEffect)(()=>{if(r?.enabled===!1)return;let n=(o,a)=>{ry(!!r?.isTextInput,o,a)&&e(Pn())};return Np.add(n),()=>{Np.delete(n)}},t)}function Rl(e,t){let r=Fe(t),n=ue(t);if(n==null||r==null)return;let o,a=`meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`,i=n.querySelector(a);return i&&i instanceof r.HTMLMetaElement&&(e==="csp-nonce"&&i.nonce&&(o??=i.nonce||void 0),i.content&&(o??=i.content||void 0)),e==="csp-nonce"&&(o??=r.__webpack_nonce__||globalThis.__webpack_nonce__||void 0),o}var _l=100,Mu=600,he={isOpen:!1,screenWidth:0,screenHeight:0,screenAngle:0,screenTimeout:0,startTimeStamp:0,endTimeStamp:0,resizeTimeStamp:0,resizeTimeout:0},ny=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ml(){let e=Number(window.visualViewport?.width??window.innerWidth),t=Number(window.visualViewport?.height??window.innerHeight),r=Number(window.visualViewport?.scale??1);return{width:e*r,height:t*r,angle:window.screen.orientation?.angle??0}}function oy(e){he.resizeTimeStamp<=e.timeStamp+50&&(he.resizeTimeStamp=e.timeStamp+150,window.clearTimeout(he.resizeTimeout),he.resizeTimeout=window.setTimeout(V8,150))}function V8(){let e=Rl("viewport");if(xo()&&e?.includes("overlays-content"))return;let t=performance.now(),r=Ml(),n=t-he.startTimeStamp,o=he.screenHeight-r.height,a=he.screenAngle-r.angle;Math.abs(a)%180&&he.screenWidth-r.height<_l&&(he.screenWidth=r.width,he.screenHeight=r.height,he.screenAngle=r.angle,o=0),n>Mu&&(window.clearTimeout(he.screenTimeout),he.screenTimeout=window.setTimeout(()=>{let i=document.hasFocus()?ye():null,s=Va(i),l=Ml();Math.abs(he.screenAngle-l.angle)%180||he.isOpen&&s||(he.screenWidth=l.width,he.screenHeight=l.height,he.screenAngle=l.angle,he.isOpen=!1)},Mu)),n<=Mu&&o>=_l&&(he.endTimeStamp=t),he.isOpen=o>=_l}function ay(){let e=Ml(),t=he.screenAngle-e.angle;if(Math.abs(t)%180&&!he.isOpen){let r=he.screenWidth,n=he.screenHeight;he.screenWidth=n,he.screenHeight=r}he.isOpen||(he.screenAngle=e.angle)}function iy(e){let t=Y(e),r=Va(t),n=performance.now(),o=Ml(),a=he.screenHeight-o.height;a<_l&&r&&(he.screenWidth=o.width,he.screenHeight=o.height,he.screenAngle=o.angle,he.startTimeStamp=n),r&&window.clearTimeout(he.screenTimeout),a>=_l&&r&&(he.endTimeStamp=n)}function K8(){let e=Ml();Rt(window.visualViewport,"resize",rr()?V8:oy),Rt(window.screen.orientation,"change",ay),Rt(window,"focus",iy,{capture:!0,passive:!0}),he.screenWidth=e.width,he.screenHeight=e.height,he.screenAngle=e.angle}typeof document<"u"&&(document.readyState!=="loading"?K8():Rt(document,"DOMContentLoaded",K8));function Il(){let e=Rl("viewport");return xo()&&e?.includes("overlays-content")?!1:he.isOpen?!0:he.startTimeStamp?he.endTimeStamp>=he.startTimeStamp?!0:performance.now()-he.startTimeStamp<=Mu?he.endTimeStamp>0||window.navigator.maxTouchPoints>0:!1:window.navigator.maxTouchPoints>0}function Va(e){if(!(e instanceof Element)||!Yi(e))return!1;let t=e instanceof HTMLTextAreaElement,r=e instanceof HTMLElement&&e.isContentEditable,n=e instanceof HTMLInputElement&&!ny.has(e.type);return t||r||n}function Wa(e){return tr()?e.metaKey:e.ctrlKey}function Ji(){return he.isOpen}var es=S(D(),1),sy=es.default.useInsertionEffect??de;function ht(e){let t=(0,es.useRef)(null);return sy(()=>{t.current=e},[e]),(0,es.useCallback)((...r)=>{let n=t.current;return n?.(...r)},[])}var W8=S(D(),1);function Nl(e,t,r,n){let o=ht(r),a=r==null;(0,W8.useEffect)(()=>{if(!(a||e.current==null))return Rt(e.current,t,o,n)},[e,t,n,a])}function Iu(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=xt(r),o&&n?o=[...new Set([r,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}var ly=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),cy=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function U8(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return ly.has(r.script)}let t=e.split("-")[0];return cy.has(t)}var Nu=S(D(),1),G8=Symbol.for("react-aria.i18n.locale");function Z8(){let e=typeof window<"u"&&window[G8]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:U8(e)?"rtl":"ltr"}}var Ap=Z8(),Dl=new Set;function j8(){Ap=Z8();for(let e of Dl)e(Ap)}function Y8(){let e=Jo(),[t,r]=(0,Nu.useState)(Ap);return(0,Nu.useEffect)(()=>(Dl.size===0&&window.addEventListener("languagechange",j8),Dl.add(r),()=>{Dl.delete(r),Dl.size===0&&window.removeEventListener("languagechange",j8)}),[]),e?{locale:typeof window<"u"&&window[G8]||"en-US",direction:"ltr"}:t}var Du=S(D(),1),dy=Du.default.createContext(null);function dr(){let e=Y8();return(0,Du.useContext)(dy)||e}var uy=Symbol.for("react-aria.i18n.locale"),fy=Symbol.for("react-aria.i18n.strings"),Fu,ts=class e{constructor(t,r="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,n])=>n)),this.defaultLocale=r}getStringForLocale(t,r){let o=this.getStringsForLocale(r)[t];if(!o)throw new Error(`Could not find intl message ${t} in ${r} locale`);return o}getStringsForLocale(t){let r=this.strings[t];return r||(r=py(t,this.strings,this.defaultLocale),this.strings[t]=r),r}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let r=window[uy];if(Fu===void 0){let o=window[fy];if(!o)return null;Fu={};for(let a in o)Fu[a]=new e({[r]:o[a]},r)}let n=Fu?.[t];if(!n)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}};function py(e,t,r="en-US"){if(t[e])return t[e];let n=my(e),o=hy(e);if(o&&t[`${n}-${o}`])return t[`${n}-${o}`];if(t[n])return t[n];for(let a in t)if(a.startsWith(n+"-"))return t[a];return t[r]}function my(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}function hy(e){if(Intl.Locale)return new Intl.Locale(e).script}var X8=new Map,q8=new Map,Fl=class{constructor(t,r){this.locale=t,this.strings=r}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 o=r["="+t];if(o)return typeof o=="function"?o():o;let a=this.locale+":"+n,i=X8.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),X8.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=q8.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),q8.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}};var J8=S(D(),1),Q8=new WeakMap;function gy(e){let t=Q8.get(e);return t||(t=new ts(e),Q8.set(e,t)),t}function by(e,t){return t&&ts.getGlobalDictionaryForPackage(t)||gy(e)}function e7(e,t){let{locale:r}=dr(),n=by(e,t);return(0,J8.useMemo)(()=>new Fl(r,n),[r,n])}var ur=S(D(),1),$y=typeof document<"u"||parseInt(ur.default.version,10)>=19?ur.default.useInsertionEffect??ur.default.useLayoutEffect:()=>{};function oa(e,t,r){let[n,o]=(0,ur.useState)(e||t),a=(0,ur.useRef)(n),i=(0,ur.useRef)(e!==void 0),s=e!==void 0;(0,ur.useEffect)(()=>{let u=i.current;i.current=s},[s]);let l=s?e:n;$y(()=>{a.current=l});let[,c]=(0,ur.useReducer)(()=>({}),{}),d=(0,ur.useCallback)((u,...p)=>{let b=typeof u=="function"?u(a.current):u;Object.is(a.current,b)||(a.current=b,o(b),c(),r?.(b,...p))},[r]);return[l,d]}var Hl=S(D(),1);var Al=(0,Hl.createContext)(null),t7=(0,Hl.createContext)(null);var an=class{constructor(t){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=t}get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new this.constructor(this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}filter(t,r,n){let o=this.clone();return r.addDescendants(o,t),o}},Ol=class extends an{filter(t,r,n){let[o,a]=r7(t,r,this.firstChildKey,n),i=this.clone();return i.firstChildKey=o,i.lastChildKey=a,i}},Op=class extends an{static{this.type="header"}},Ua=class extends an{static{this.type="loader"}},ja=class extends Ol{static{this.type="item"}filter(t,r,n){if(n(this.textValue,this)){let o=this.clone();return r.addDescendants(o,t),o}return null}},zl=class extends Ol{static{this.type="section"}filter(t,r,n){let o=super.filter(t,r,n);if(o&&o.lastChildKey!==null){let a=t.getItem(o.lastChildKey);if(a&&a.type!=="header")return o}return null}},Bl=class{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let r=this.keyMap;return{*[Symbol.iterator](){let n=r.get(t),o=n?.firstChildKey!=null?r.get(n.firstChildKey):null;for(;o;)yield o,o=o.nextKey!=null?r.get(o.nextKey):void 0}}}getKeyBefore(t){let r=this.keyMap.get(t);if(!r)return null;if(r.prevKey!=null){for(r=this.keyMap.get(r.prevKey);r&&r.type!=="item"&&r.lastChildKey!=null;)r=this.keyMap.get(r.lastChildKey);return r?.key??null}return r.parentKey}getKeyAfter(t){let r=this.keyMap.get(t);if(!r)return null;if(r.type!=="item"&&r.firstChildKey!=null)return r.firstChildKey;for(;r;){if(r.nextKey!=null)return r.nextKey;if(r.parentKey!=null)r=this.keyMap.get(r.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;t?.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}getItem(t){return this.keyMap.get(t)??null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,r=new t;return r.keyMap=new Map(this.keyMap),r.firstKey=this.firstKey,r.lastKey=this.lastKey,r.itemCount=this.itemCount,r}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");t.type==="item"&&this.keyMap.get(t.key)==null&&this.itemCount++,this.keyMap.set(t.key,t)}addDescendants(t,r){this.addNode(t);let n=r.getChildren(t.key);for(let o of n)this.addDescendants(o,r)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let r=this.keyMap.get(t);r!=null&&r.type==="item"&&this.itemCount--,this.keyMap.delete(t)}commit(t,r,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=r,this.frozen=!n}filter(t){let r=new this.constructor,[n,o]=r7(this,r,this.firstKey,t);return r?.commit(n,o),r}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}};function r7(e,t,r,n){if(r==null)return[null,null];let o=null,a=null,i=e.getItem(r);for(;i!=null;){let s=i.filter(e,t,n);s!=null&&(s.nextKey=null,a&&(s.prevKey=a.key,a.nextKey=s.key),o==null&&(o=s),t.addNode(s),a=s),i=i.nextKey!=null?e.getItem(i.nextKey):null}if(a&&a.type==="separator"){let s=a.prevKey;t.removeNode(a.key),s!=null?(a=t.getItem(s),a.nextKey=null):a=null}return[o?.key??null,a?.key??null]}var Hu=class{constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=t}*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(t){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||t.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=t,this.ownerDocument.markDirty(this))}updateChildIndices(){let t=this._minInvalidChildIndex;for(;t;)t.index=t.previousSibling?t.previousSibling.index+1:0,t=t.nextSibling;this._minInvalidChildIndex=null}appendChild(t){t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(t,r){if(r==null)return this.appendChild(t);t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=r,t.previousSibling=r.previousSibling,t.index=r.index-1,this.firstChild===r?this.firstChild=t:r.previousSibling&&(r.previousSibling.nextSibling=t),r.previousSibling=t,t.parentNode=r.parentNode,this.invalidateChildIndices(t),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(t){t.parentNode===this&&(this._minInvalidChildIndex===t&&(this._minInvalidChildIndex=null),t.nextSibling&&(this.invalidateChildIndices(t.nextSibling),t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.markDirty(t),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let t=this.previousSibling;for(;t&&t.isHidden;)t=t.previousSibling;return t}get nextVisibleSibling(){let t=this.nextSibling;for(;t&&t.isHidden;)t=t.nextSibling;return t}get firstVisibleChild(){let t=this.firstChild;for(;t&&t.isHidden;)t=t.nextSibling;return t}get lastVisibleChild(){let t=this.lastChild;for(;t&&t.isHidden;)t=t.previousSibling;return t}},Kl=class e extends Hu{constructor(t,r){super(r),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof e?this.parentNode.level+(this.parentNode.node?.type==="item"?1:0):0}getMutableNode(){return this.node==null?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,r=this.getMutableNode();if(r!=null&&(r.index=this.index,r.level=this.level,r.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,r.prevKey=this.previousVisibleSibling?.node?.key??null,r.nextKey=t?.node?.key??null,r.hasChildNodes=!!this.firstChild,r.firstChildKey=this.firstVisibleChild?.node?.key??null,r.lastChildKey=this.lastVisibleChild?.node?.key??null,(r.colSpan!=null||r.colIndex!=null)&&t)){let n=(r.colIndex??r.index)+(r.colSpan??1);if(t.node!=null&&n!==t.node.colIndex){let o=t.getMutableNode();o.colIndex=n}}}setProps(t,r,n,o,a){let i,{value:s,textValue:l,id:c,...d}=t;if(this.node==null?(i=new n(c??`react-aria-${++this.ownerDocument.nodeId}`),this.node=i):i=this.getMutableNode(),d.ref=r,i.props=d,i.rendered=o,i.render=a,i.value=s,t["aria-label"]&&(i["aria-label"]=t["aria-label"]),i.textValue=l||(typeof d.children=="string"?d.children:"")||t["aria-label"]||"",c!=null&&c!==i.key)throw new Error("Cannot change the id of an item");d.colSpan!=null&&(i.colSpan=d.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let t=this;return{get display(){return t.isHidden?"none":""},set display(r){let n=r==="none";if(t.isHidden!==n){(t.parentNode?.firstVisibleChild===t||t.parentNode?.lastVisibleChild===t)&&t.ownerDocument.markDirty(t.parentNode);let o=t.previousVisibleSibling,a=t.nextVisibleSibling;o&&t.ownerDocument.markDirty(o),a&&t.ownerDocument.markDirty(a),t.isHidden=n,t.ownerDocument.markDirty(t)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}},Au=class extends Hu{constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.keyOwners=new Map,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=t,this.nextCollection=t}get isConnected(){return!0}createElement(t){return new Kl(t,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(t){this.dirtyNodes.add(t)}addNode(t){if(t.isHidden||t.node==null)return;let r=this.getMutableCollection();if(!r.getItem(t.node.key))for(let n of t)this.addNode(n);r.addNode(t.node)}removeNode(t){for(let r of t)this.removeNode(r);t.node&&this.getMutableCollection().removeNode(t.node.key)}getCollection(){return this.inSubscription?this.collection:(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let t of this.dirtyNodes)t instanceof Kl&&(!t.isConnected||t.isHidden)?this.removeNode(t):t.updateChildIndices();for(let t of this.dirtyNodes)t instanceof Kl?(t.isConnected&&!t.isHidden&&(t.updateNode(),this.addNode(t)),t.node&&this.dirtyNodes.delete(t),t.isMutated=!1):this.dirtyNodes.delete(t);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone());for(let t of this.subscriptions)t();this.inSubscription=!1}}subscribe(t){return this.subscriptions.add(t),this.queuedRender&&t(),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0,this.keyOwners.clear())}};var rs=S(D(),1);function Vl(e){let{children:t,items:r,idScope:n,addIdAndValue:o,dependencies:a=[]}=e,i=(0,rs.useMemo)(()=>{},[t]),s=(0,rs.useMemo)(()=>new WeakMap,[...a,i]);return(0,rs.useMemo)(()=>{if(r&&typeof t=="function"){let l=[];for(let c of r){let d=vy(c)?c:null,u=d?s.get(d):null;if(!u){u=t(c);let p=u.props.id??c?.key??c?.id;n!=null&&u.props.id==null&&p!=null&&(p=n+":"+p);let b=p??l.length;u=(0,rs.cloneElement)(u,o?{key:b,id:p,value:c}:{key:b}),d&&s.set(d,u)}l.push(u)}return l}else if(typeof t!="function")return t},[t,r,s,n,o])}function vy(e){switch(typeof e){case"object":return e!=null;case"function":case"symbol":return!0;default:return!1}}var aa=new Map,Ou=new Set;function o7(e){return"propertyName"in e}function yy(e){let t=Y(e);if(!o7(e)||!t)return;let r=aa.get(t);r||(r=new Set,aa.set(t,r),t.addEventListener("transitioncancel",zp,{once:!0})),r.add(e.propertyName)}function zp(e){let t=Y(e);if(!o7(e)||!t)return;let r=aa.get(t);if(r&&(r.delete(e.propertyName),r.size===0&&(t.removeEventListener("transitioncancel",zp),aa.delete(t)),aa.size===0))for(let n of Ou)n(!0),Ou.delete(n)}function n7(){Rt(document,"transitionrun",yy),Rt(document,"transitionend",zp)}function xy(){for(let[e]of aa)"isConnected"in e&&!e.isConnected&&aa.delete(e)}typeof document<"u"&&(document.readyState!=="loading"?n7():Rt(document,"DOMContentLoaded",n7));function zu(e){let t=window.requestAnimationFrame(()=>{if(xy(),aa.size===0)return e(!1);Ou.add(e)});return()=>{window.cancelAnimationFrame(t),Ou.delete(e)}}function sn(e){if(!e.isConnected)return;let t=ue(e);if(Zn()==="virtual"){let r=ye(t);zu(()=>{let n=ye(t);(n===r||n===t.body)&&e.isConnected&&cr(e)})}else cr(e)}var Bp=S(D(),1);function Ga(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e,a=(0,Bp.useCallback)(l=>{if(Y(l)===l.currentTarget)return n&&n(l),o&&o(!1),!0},[n,o]),i=Su(a),s=(0,Bp.useCallback)(l=>{let c=Y(l),d=ue(c),u=d?ye(d):ye();c===l.currentTarget&&c===u&&(r&&r(l),o&&o(!0),i(l))},[o,r,i]);return{focusProps:{onFocus:!t&&(r||o||n)?s:void 0,onBlur:!t&&(n||o)?a:void 0}}}function Wl(e){if(e)return t=>{let r=!0,n={...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){r=!0},continuePropagation(){r=!1,typeof t.continuePropagation=="function"&&t.continuePropagation()},isPropagationStopped(){return r}};e(n),r&&!(typeof t.isPropagationStopped=="function"&&t.isPropagationStopped())&&t.stopPropagation()}}var Cy=new Set(["shift","alt","control","meta","mod"]),wy=["Alt","Control","Meta","Shift"];function Sy(e){let t=new Set;return e.alt&&t.add("Alt"),e.shift&&t.add("Shift"),e.ctrl&&t.add("Control"),e.meta&&t.add("Meta"),e.mod&&t.add(tr()?"Meta":"Control"),t}function Ey(e){let t=new Set;return e.altKey&&t.add("Alt"),e.ctrlKey&&t.add("Control"),e.metaKey&&t.add("Meta"),e.shiftKey&&t.add("Shift"),t}function a7(e){return wy.filter(t=>e.has(t))}function ky(e){let t=e.split("+").reduce((r,n)=>{let o=n.toLowerCase();return Cy.has(o)?o==="shift"?r.shift=!0:o==="alt"?r.alt=!0:o==="control"?r.ctrl=!0:o==="meta"?r.meta=!0:o==="mod"&&(r.mod=!0):r.key=n,r},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:""});if(t.key==="")throw new Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t}function i7(e){return e.toLowerCase()}var Py={space:" ",esc:"escape",del:"delete",ins:"insert",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",pageup:"pageup",pagedown:"pagedown"};function Ty(e){let t=i7(e),r=Py[t];return r??t}function Ly(e){let t=a7(Sy(e)),r=Ty(e.key);return t.length>0?`${t.join("+")}+${r}`:r}function Ry(e){let t=a7(Ey(e)),r=i7(e.key);return(t.length>0?`${t.join("+")}+`:"")+r}function s7(e){let t=new Map;for(let[r,n]of Object.entries(e)){let o=ky(r);t.set(Ly(o),n)}return r=>{let n=Ry(r),o=t.get(n),a=o?.(r);a===void 0&&o!==void 0?a={shouldContinuePropagation:!1,shouldPreventDefault:!0}:typeof a=="boolean"&&(a={shouldContinuePropagation:!a,shouldPreventDefault:a}),a?.shouldPreventDefault&&r.preventDefault(),(!o||a?.shouldContinuePropagation)&&r.continuePropagation()}}function Pr(e){let{shortcuts:t,allowRepeats:r=!1,allowComposing:n=!1}=e,o,a;if(t){let i=s7(t),s=Wl(c=>{if(!pe(c.currentTarget,Y(c))){c.continuePropagation();return}if(c.nativeEvent?.repeat&&!r||c.nativeEvent?.isComposing&&!n){c.continuePropagation();return}i(c)}),l=Wl(c=>{if(!pe(c.currentTarget,Y(c))){c.continuePropagation();return}if(c.nativeEvent?.repeat&&!r||c.nativeEvent?.isComposing&&!n){c.continuePropagation();return}c.continuePropagation()});o=e.onKeyDown?er(e.onKeyDown,s):s,a=e.onKeyUp?er(e.onKeyUp,l):l}else o=Wl(e.onKeyDown),a=Wl(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:o,onKeyUp:a}}}function Bu(e,t){de(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}var Co=S(D(),1),ns=Co.default.createContext(null);function _y(e){let t=(0,Co.useContext)(ns)||{};Bu(t,e);let{ref:r,...n}=t;return n}function Ku(e,t){let{focusProps:r}=Ga(e),{keyboardProps:n}=Pr(e),o=se(r,n),a=_y(t),i=e.isDisabled?{}:a,s=(0,Co.useRef)(e.autoFocus);(0,Co.useEffect)(()=>{s.current&&t.current&&sn(t.current),s.current=!1},[t]);let l=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(l=void 0),{focusableProps:se({...o,tabIndex:l},i)}}var Vr=S(D(),1);typeof HTMLTemplateElement<"u"&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));var Vu=(0,Vr.createContext)(!1);function l7(e){if((0,Vr.useContext)(Vu))return Vr.default.createElement(Vr.default.Fragment,null,e.children);let r=Vr.default.createElement(Vu.Provider,{value:!0},e.children);return Vr.default.createElement("template",null,r)}function Ul(e){let t=(r,n)=>(0,Vr.useContext)(Vu)?null:e(r,n);return t.displayName=e.displayName||e.name,(0,Vr.forwardRef)(t)}function Kp(){return(0,Vr.useContext)(Vu)}var m7=S(kn(),1),ve=S(D(),1),h7=S(f7(),1),g7=(0,ve.createContext)(!1),jl=(0,ve.createContext)(null);function Gl(e){if((0,ve.useContext)(jl))return e.content;let{collection:r,document:n}=Wy(e.createCollection);return ve.default.createElement(ve.default.Fragment,null,ve.default.createElement(l7,null,ve.default.createElement(jl.Provider,{value:n},e.content)),ve.default.createElement(By,{render:e.children,collection:r}))}function By({collection:e,render:t}){return t(e)}function Ky(e,t,r){let n=Jo(),o=(0,ve.useRef)(n);o.current=n;let a=(0,ve.useCallback)(()=>o.current?r():t(),[t,r]);return(0,h7.useSyncExternalStore)(e,a)}var Vy=typeof ve.default.useSyncExternalStore=="function"?ve.default.useSyncExternalStore:Ky;function Wy(e){let[t]=(0,ve.useState)(()=>new Au(e?.()||new Bl)),r=(0,ve.useCallback)(i=>t.subscribe(i),[t]),n=(0,ve.useCallback)(()=>{let i=t.getCollection();return t.isSSR&&t.resetAfterSSR(),i},[t]),o=(0,ve.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:Vy(r,n,o),document:t}}var Wp=(0,ve.createContext)(null);function Uy(e){return class extends an{static{this.type=e}}}function jy(e,t,r,n,o,a){typeof e=="string"&&(e=Uy(e));let i=(0,ve.useCallback)(l=>{l?.setProps(t,r,e,n,a)},[t,r,n,a,e]),s=(0,ve.useContext)(Wp);if(s){let l=s.ownerDocument.nodesByProps.get(t);return l||(l=s.ownerDocument.createElement(e.type),l.setProps(t,r,e,n,a),s.appendChild(l),s.ownerDocument.updateCollection(),s.ownerDocument.nodesByProps.set(t,l)),o?ve.default.createElement(Wp.Provider,{value:l},o):null}return ve.default.createElement(e.type,{ref:i},o)}function Za(e,t){let r=({node:o})=>t(o.props,o.props.ref,o),n=(0,ve.forwardRef)((o,a)=>{let i=(0,ve.useContext)(ns);if(!(0,ve.useContext)(g7)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(o,a)}return jy(e,o,a,"children"in o?o.children:null,null,l=>ve.default.createElement(ns.Provider,{value:i},ve.default.createElement(r,{node:l})))});return n.displayName=t.name,n}function Gy(e){return Vl({...e,addIdAndValue:!0})}var p7=(0,ve.createContext)(null);function Zl(e){let t=(0,ve.useContext)(p7),r=(t?.dependencies||[]).concat(e.dependencies),n=e.idScope??t?.idScope,o=Gy({...e,idScope:n,dependencies:r});return(0,ve.useContext)(jl)&&(o=ve.default.createElement(Zy,null,o)),t=(0,ve.useMemo)(()=>({dependencies:r,idScope:n}),[n,...r]),ve.default.createElement(p7.Provider,{value:t},o)}function Zy({children:e}){let t=(0,ve.useContext)(jl),r=(0,ve.useMemo)(()=>ve.default.createElement(jl.Provider,{value:null},ve.default.createElement(g7.Provider,{value:!0},e)),[e]);return Jo()?ve.default.createElement(Wp.Provider,{value:t},r):(0,m7.createPortal)(r,t)}var fr=S(D(),1);var Wu=(0,fr.createContext)(null);var Yy={CollectionRoot({collection:e,renderDropIndicator:t}){return $7(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:r}){return $7(e,t,r)}};function $7(e,t,r){return Vl({items:t?e.getChildren(t.key):e,dependencies:[r],children(n){if(n.type==="content")return fr.default.createElement(fr.default.Fragment,null);let o=n.render(n);return!r||n.type!=="item"?o:fr.default.createElement(fr.default.Fragment,null,r({type:"item",key:n.key,dropPosition:"before"}),o,Xy(e,n,r))}})}function Xy(e,t,r){let n=t.key,o=e.getKeyAfter(n),a=o!=null?e.getItem(o):null;for(;a!=null&&a.type!=="item";)o=e.getKeyAfter(a.key),a=o!=null?e.getItem(o):null;let i=t.nextKey!=null?e.getItem(t.nextKey):null;for(;i!=null&&i.type!=="item";)i=i.nextKey!=null?e.getItem(i.nextKey):null;let s=[];if(i==null){let l=t;for(;l?.type==="item"&&(!a||l.parentKey!==a.parentKey&&a.level<l.level);){let c=r({type:"item",key:l.key,dropPosition:"after"});(0,fr.isValidElement)(c)&&s.push((0,fr.cloneElement)(c,{key:`${l.key}-after`})),l=l.parentKey!=null?e.getItem(l.parentKey):null}}return s}var ia=(0,fr.createContext)(Yy);function v7(e){return(0,fr.useMemo)(()=>e!=null?new Set([e]):null,[e])}var qy=new Set(["id"]),Qy=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Jy=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),ex=new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"]),y7=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),tx=/^(data-.*)$/;function ze(e,t={}){let{labelable:r,isLink:n,global:o,events:a=o,propNames:i}=t,s={};for(let l in e)Object.prototype.hasOwnProperty.call(e,l)&&(qy.has(l)||r&&Qy.has(l)||n&&Jy.has(l)||o&&ex.has(l)||a&&(y7.has(l)||l.endsWith("Capture")&&y7.has(l.slice(0,-7)))||i?.has(l)||tx.test(l))&&(s[l]=e[l]);return s}var as="default",Up="",Uu=new WeakMap;function x7(e){if(yo()&&rr()){if(as==="default"){let t=ue(e);Up=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}as="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";Uu.set(e,e.style[t]),e.style[t]="none"}}function jp(e){if(yo()&&rr()){if(as!=="disabled")return;as="restoring",setTimeout(()=>{zu(()=>{if(as==="restoring"){let t=ue(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Up||""),Up="",as="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Uu.has(e)){let t=Uu.get(e),r="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[r]==="none"&&(e.style[r]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Uu.delete(e)}}var C7=new WeakMap;function ju(e){let t=ue(e),r=C7.get(t);return r??=Rl("csp-nonce",t),r!==void 0&&C7.set(t,r),r}var w7=S(D(),1),Yl=w7.default.createContext({register:()=>{}});Yl.displayName="PressResponderContext";var sa=S(D(),1);function la(){let e=(0,sa.useRef)(new Map),t=(0,sa.useCallback)((o,a,i,s)=>{let l=s?.once?(...c)=>{e.current.delete(i),i(...c)}:i;e.current.set(i,{type:a,eventTarget:o,fn:l,options:s}),o.addEventListener(a,l,s)},[]),r=(0,sa.useCallback)((o,a,i,s)=>{let l=e.current.get(i)?.fn||i;o.removeEventListener(a,l,s),e.current.delete(i)},[]),n=(0,sa.useCallback)(()=>{e.current.forEach((o,a)=>{r(o.eventTarget,o.type,a,o.options)})},[r]);return(0,sa.useEffect)(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}var ZP=S(kn(),1),Ct=S(D(),1);function rx(e){let t=(0,Ct.useContext)(Yl);if(t){let{register:r,ref:n,...o}=t;e=se(o,e),r()}return Bu(t,e.ref),e}var is=class{#e;constructor(t,r,n,o){this.#e=!0;let i=(o?.target??n.currentTarget)?.getBoundingClientRect(),s,l=0,c,d=null;n.clientX!=null&&n.clientY!=null&&(c=n.clientX,d=n.clientY),i&&(c!=null&&d!=null?(s=c-i.left,l=d-i.top):(s=i.width/2,l=i.height/2)),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,this.x=s,this.y=l,this.key=n.key}continuePropagation(){this.#e=!1}get shouldStopPropagation(){return this.#e}},S7=Symbol("linkClicked"),E7="react-aria-pressable-style",k7="data-react-aria-pressable";function wo(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,onClick:i,isDisabled:s,isPressed:l,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:u,ref:p,...b}=rx(e),[g,y]=(0,Ct.useState)(!1),$=(0,Ct.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:m,removeAllGlobalListeners:f}=la(),h=(0,Ct.useCallback)((C,L)=>{let z=$.current;if(s||z.didFirePressStart)return!1;let N=!0;if(z.isTriggeringEvent=!0,n){let Z=new is("pressstart",L,C);n(Z),N=Z.shouldStopPropagation}return r&&r(!0),z.isTriggeringEvent=!1,z.didFirePressStart=!0,y(!0),N},[s,n,r]),v=(0,Ct.useCallback)((C,L,z=!0)=>{let N=$.current;if(!N.didFirePressStart)return!1;N.didFirePressStart=!1,N.isTriggeringEvent=!0;let Z=!0;if(o){let I=new is("pressend",L,C);o(I),Z=I.shouldStopPropagation}if(r&&r(!1),y(!1),t&&z&&!s){let I=new is("press",L,C);t(I),Z&&=I.shouldStopPropagation}return N.isTriggeringEvent=!1,Z},[s,o,r,t]),x=ht(v),w=(0,Ct.useCallback)((C,L)=>{let z=$.current;if(s)return!1;if(a){z.isTriggeringEvent=!0;let N=new is("pressup",L,C);return a(N),z.isTriggeringEvent=!1,N.shouldStopPropagation}return!0},[s,a]),P=ht(w),k=(0,Ct.useCallback)(C=>{let L=$.current;if(L.isPressed&&L.target){L.didFirePressStart&&L.pointerType!=null&&v(Ya(L.target,C),L.pointerType,!1),L.isPressed=!1,L.isOverTarget=!1,L.activePointerId=null,L.pointerType=null,f(),u||jp(L.target);for(let z of L.disposables)z();L.disposables=[]}},[u,f,v]),T=ht(k);(0,Ct.useEffect)(()=>{s&&$.current.isPressed&&T({currentTarget:$.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[s]);let E=(0,Ct.useCallback)(C=>{d&&k(C)},[d,k]),F=(0,Ct.useCallback)(C=>{s||i?.(C)},[s,i]),R=(0,Ct.useCallback)((C,L)=>{if(!s&&i){let z=new MouseEvent("click",C);wu(z,L),i(Pl(z))}},[s,i]),_=(0,Ct.useMemo)(()=>{let C=$.current,L={onKeyDown(N){if(Gp(N.nativeEvent,N.currentTarget)&&pe(N.currentTarget,Y(N))){P7(Y(N),N.key)&&N.preventDefault();let Z=!0;!C.isPressed&&!N.repeat&&(C.target=N.currentTarget,C.isPressed=!0,C.pointerType="keyboard",Z=h(N,"keyboard"));let I=N.currentTarget,te=X=>{Gp(X,I)&&!X.repeat&&pe(I,Y(X))&&C.target&&P(Ya(C.target,X),"keyboard")};m(ue(N.currentTarget),"keyup",er(te,z),!0),Z&&N.stopPropagation(),N.metaKey&&tr()&&C.metaKeyEvents?.set(N.key,N.nativeEvent)}else N.key==="Meta"&&(C.metaKeyEvents=new Map)},onClick(N){if(!(N&&!pe(N.currentTarget,Y(N)))&&N&&N.button===0&&!C.isTriggeringEvent&&!on.isOpening){let Z=!0;if(s&&N.preventDefault(),!C.ignoreEmulatedMouseEvents&&!C.isPressed&&(C.pointerType==="virtual"||Pu(N.nativeEvent))){let I=h(N,"virtual"),te=P(N,"virtual"),X=x(N,"virtual");F(N),Z=I&&te&&X}else if(C.isPressed&&C.pointerType!=="keyboard"){let I=C.pointerType||N.nativeEvent.pointerType||"virtual",te=P(Ya(N.currentTarget,N),I),X=x(Ya(N.currentTarget,N),I,!0);Z=te&&X,C.isOverTarget=!1,F(N),T(N)}C.ignoreEmulatedMouseEvents=!1,Z&&N.stopPropagation()}}},z=N=>{if(C.isPressed&&C.target&&Gp(N,C.target)){P7(Y(N),N.key)&&N.preventDefault();let Z=Y(N),I=pe(C.target,Z);x(Ya(C.target,N),"keyboard",I),I&&R(N,C.target),f(),N.key!=="Enter"&&Zp(C.target)&&pe(C.target,Z)&&!N[S7]&&(N[S7]=!0,on(C.target,N,!1)),C.isPressed=!1,C.metaKeyEvents?.delete(N.key)}else if(N.key==="Meta"&&C.metaKeyEvents?.size){let Z=C.metaKeyEvents;C.metaKeyEvents=void 0;for(let I of Z.values())C.target?.dispatchEvent(new KeyboardEvent("keyup",I))}};if(typeof PointerEvent<"u"){L.onPointerDown=I=>{if(I.button!==0||!pe(I.currentTarget,Y(I)))return;if(N8(I.nativeEvent)){C.pointerType="virtual";return}C.pointerType=I.pointerType;let te=!0;if(!C.isPressed){C.isPressed=!0,C.isOverTarget=!0,C.activePointerId=I.pointerId,C.target=I.currentTarget,u||x7(C.target),te=h(I,C.pointerType);let X=Y(I);"releasePointerCapture"in X&&("hasPointerCapture"in X?X.hasPointerCapture(I.pointerId)&&X.releasePointerCapture(I.pointerId):X.releasePointerCapture(I.pointerId)),m(ue(I.currentTarget),"pointerup",N,!1),m(ue(I.currentTarget),"pointercancel",Z,!1)}te&&I.stopPropagation()},L.onMouseDown=I=>{if(pe(I.currentTarget,Y(I))&&I.button===0){if(c){let te=M8(I.target);te&&C.disposables.push(te)}I.stopPropagation()}},L.onPointerUp=I=>{!pe(I.currentTarget,Y(I))||C.pointerType==="virtual"||I.button===0&&!C.isPressed&&P(I,C.pointerType||I.pointerType)},L.onPointerEnter=I=>{I.pointerId===C.activePointerId&&C.target&&!C.isOverTarget&&C.pointerType!=null&&(C.isOverTarget=!0,h(Ya(C.target,I),C.pointerType))},L.onPointerLeave=I=>{I.pointerId===C.activePointerId&&C.target&&C.isOverTarget&&C.pointerType!=null&&(C.isOverTarget=!1,x(Ya(C.target,I),C.pointerType,!1),E(I))};let N=I=>{if(I.pointerId===C.activePointerId&&C.isPressed&&I.button===0&&C.target){if(pe(C.target,Y(I))&&C.pointerType!=null){let te=!1,X=setTimeout(()=>{C.isPressed&&C.target instanceof HTMLElement&&(te?T(I):(cr(C.target),C.target.click()))},80);m(I.currentTarget,"click",()=>te=!0,!0),C.disposables.push(()=>clearTimeout(X))}else T(I);C.isOverTarget=!1}},Z=I=>{T(I)};L.onDragStart=I=>{pe(I.currentTarget,Y(I))&&T(I)}}return L},[m,s,c,f,u,E,h,F,R]);return(0,Ct.useEffect)(()=>{if(!p)return;let C=ue(p.current);if(!C||!C.head||C.getElementById(E7))return;let L=C.createElement("style");L.id=E7;let z=ju(C);z&&(L.nonce=z),L.textContent=`
|
|
128
|
+
}`,Qv=["active-module-id","breakpoint","module-switcher-type","hide-search","hide-actions"],V0=class extends HTMLElement{static get observedAttributes(){return Qv}constructor(){super(),this._props={},this._reactRoot=null}set modules(t){this._props.modules=t,this._render()}get modules(){return this._props.modules}set org(t){this._props.org=t,this._render()}get org(){return this._props.org}set orgs(t){this._props.orgs=t,this._render()}get orgs(){return this._props.orgs}set user(t){this._props.user=t,this._render()}get user(){return this._props.user}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=qv+So,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-topnav-root",t.appendChild(this._mount),this._reactRoot=(0,O8.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readAttributes(){let t={};this.hasAttribute("active-module-id")&&(t.activeModuleId=this.getAttribute("active-module-id")),this.hasAttribute("breakpoint")&&(t.breakpoint=this.getAttribute("breakpoint")),this.hasAttribute("module-switcher-type")&&(t.moduleSwitcherType=this.getAttribute("module-switcher-type"));let r=n=>this.hasAttribute(n)&&this.getAttribute(n)!=="false"&&this.getAttribute(n)!=="0";return this.hasAttribute("hide-search")&&(t.showSearch=!r("hide-search")),this.hasAttribute("hide-actions")&&(t.showActions=!r("hide-actions")),t}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props};this._reactRoot.render(A8.default.createElement(Tu,{...t,onModuleSelect:r=>this._emit("pathway-module-select",{id:r}),onOrgSelect:r=>this._emit("pathway-org-select",{id:r}),onSearchOpen:()=>this._emit("pathway-search-open",{}),onSideNavToggle:()=>this._emit("pathway-sidenav-toggle",{}),onNotifications:()=>this._emit("pathway-notifications",{}),onMore:()=>this._emit("pathway-more",{})}))}};customElements.get("pathway-top-nav")||customElements.define("pathway-top-nav",V0);var Uc=S(D(),1),c9=S(Rr(),1);var at=S(D(),1);var Gr=S(D(),1);var To=S(he(),1),pr={thumbWidth:"var(--semantic-layout-units-padding-xtight)",thumbRadius:"var(--semantic-layout-units-cornerradius-full)",thumbMin:28,gutter:"var(--semantic-layout-units-padding-xxxtight)",grabZone:16,thumbRest:"var(--pw-scrollbar-thumb-rest)",thumbHover:"var(--pw-scrollbar-thumb-hover)",thumbBlur:"blur(8px) saturate(180%)",thumbEdge:"inset 0 0 0 0.5px color-mix(in srgb, var(--semantic-color-fill-static-neutral-faint) 35%, transparent)",fadeIn:"opacity var(--motion-duration-3) var(--motion-easing-decelerate), background var(--motion-duration-3) var(--motion-easing-standard)",fadeOut:"opacity var(--motion-duration-5) var(--motion-easing-standard), background var(--motion-duration-3) var(--motion-easing-standard)",idleHideMs:500};if(typeof document<"u"&&!document.getElementById("pds-scrollable-base")){let e=document.createElement("style");e.id="pds-scrollable-base",e.textContent=':root,[data-theme="light"]{--pw-scrollbar-thumb-rest:var(--primitive-color-warm-neutral-500-16);--pw-scrollbar-thumb-hover:var(--primitive-color-warm-neutral-500-24)}[data-theme="midnight"],[data-theme="dark"]{--pw-scrollbar-thumb-rest:var(--primitive-color-warm-neutral-100-16);--pw-scrollbar-thumb-hover:var(--primitive-color-warm-neutral-100-24)}.pds-scrollable__view{scrollbar-width:none;-ms-overflow-style:none}.pds-scrollable__view:-webkit-scrollbar{width:0;height:0;display:none}@media (hover: none){.pds-scrollable__grab{pointer-events:none!important}}',document.head.appendChild(e)}function Lu({children:e,className:t="",style:r={},viewClassName:n="",viewStyle:o={}}){let i=Et(),a=(0,Gr.useRef)(null),s=(0,Gr.useRef)(null),l=(0,Gr.useRef)(null),c=(0,Gr.useRef)(!1),[d,u]=(0,Gr.useState)({h:0,top:0,show:!1}),[p,b]=(0,Gr.useState)(!1),[g,y]=(0,Gr.useState)(!1),$=(0,Gr.useCallback)(()=>{let T=a.current;if(!T)return;let{scrollHeight:E,clientHeight:F,scrollTop:_}=T;if(E<=F+1){u(L=>L.show?{...L,show:!1}:L);return}let I=Math.max(pr.thumbMin,F/E*F),C=_/(E-F)*(F-I);u({h:I,top:C,show:!0})},[]);(0,Gr.useEffect)(()=>{$();let T=a.current;if(!T||typeof ResizeObserver>"u")return;let E=new ResizeObserver($);return E.observe(T),Array.from(T.children).forEach(F=>E.observe(F)),()=>E.disconnect()},[e,$]);let m=()=>{clearTimeout(l.current),l.current=setTimeout(()=>{!s.current&&!c.current&&b(!1)},pr.idleHideMs)},f=()=>{b(!0),m()},h=()=>{$(),f()},v=T=>{T.currentTarget.getBoundingClientRect().right-T.clientX<=pr.grabZone?(c.current=!0,b(!0),clearTimeout(l.current)):c.current&&(c.current=!1,m())},x=()=>{c.current=!1,s.current||m()},w=T=>{T.preventDefault();let E=a.current;if(!E)return;s.current={startY:T.clientY,startTop:E.scrollTop},y(!0),b(!0),clearTimeout(l.current);let F=I=>{let{scrollHeight:C,clientHeight:L}=E,O=Math.max(pr.thumbMin,L/C*L),M=(C-L)/(L-O);E.scrollTop=s.current.startTop+(I.clientY-s.current.startY)*M},_=()=>{s.current=null,y(!1),document.removeEventListener("mousemove",F),document.removeEventListener("mouseup",_),f()};document.addEventListener("mousemove",F),document.addEventListener("mouseup",_)},P=d.top,k=d.h;return(0,To.jsxs)("div",{className:`pds-scrollable ${t}`,style:{position:"relative",minHeight:0,...r},onMouseMove:v,onMouseLeave:x,children:[(0,To.jsx)("div",{ref:a,className:`pds-scrollable__view ${n}`,onScroll:h,style:{height:"100%",overflowY:"auto",overflowX:"hidden",...o},children:e}),d.show&&(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",top:P,right:pr.gutter,width:pr.thumbWidth,height:k,borderRadius:pr.thumbRadius,background:g?pr.thumbHover:pr.thumbRest,backdropFilter:pr.thumbBlur,WebkitBackdropFilter:pr.thumbBlur,boxShadow:pr.thumbEdge,opacity:p?1:0,transition:i?"none":p?pr.fadeIn:pr.fadeOut,pointerEvents:"none",zIndex:5}}),(0,To.jsx)("div",{"aria-hidden":"true",className:"pds-scrollable__grab",onMouseDown:w,onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),style:{position:"absolute",top:P,right:0,width:pr.grabZone,height:k,pointerEvents:p?"auto":"none",zIndex:6,background:"transparent"}})]})]})}var Jf=S(_n(),1);var it=S(D(),1),r9=S(_n(),1);var Rt=S(D(),1);function ir(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}var B8=S(D(),1),ue=typeof document<"u"?B8.default.useLayoutEffect:()=>{};var Bt=S(D(),1),Ru={prefix:String(Math.round(Math.random()*1e10)),current:0},K8=Bt.default.createContext(Ru),Jv=Bt.default.createContext(!1);var ey=!!(typeof window<"u"&&window.document&&window.document.createElement),W0=new WeakMap;function ty(e=!1){let t=(0,Bt.useContext)(K8),r=(0,Bt.useRef)(null);if(r.current===null&&!e){let n=Bt.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(n){let o=W0.get(n);o==null?W0.set(n,{id:t.current,state:n.memoizedState}):n.memoizedState!==o.state&&(t.current=o.id,W0.delete(n))}r.current=++t.current}return r.current}function ry(e){let t=(0,Bt.useContext)(K8),r=ty(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function ny(e){let t=Bt.default.useId(),[r]=(0,Bt.useState)(si()),n=r?"react-aria":`react-aria${Ru.prefix}`;return e||`${n}-${t}`}var z8=typeof Bt.default.useId=="function"?ny:ry;function oy(){return!1}function iy(){return!0}function ay(e){return()=>{}}function si(){return typeof Bt.default.useSyncExternalStore=="function"?Bt.default.useSyncExternalStore(ay,oy,iy):(0,Bt.useContext)(Jv)}var li=S(D(),1);function V8(e){let[t,r]=(0,li.useState)(e),n=(0,li.useRef)(t),o=(0,li.useRef)(null),i=(0,li.useRef)(()=>{if(!o.current)return;let s=o.current.next();if(s.done){o.current=null;return}n.current===s.value?i.current():r(s.value)});ue(()=>{n.current=t,o.current&&i.current()});let a=(0,li.useCallback)(s=>{o.current=s(n.current),i.current()},[i]);return[t,a]}var Lo=S(D(),1),sy=!!(typeof window<"u"&&window.document&&window.document.createElement),Ja=new Map,Qa;typeof FinalizationRegistry<"u"&&(Qa=new FinalizationRegistry(e=>{Ja.delete(e)}));var U0=new WeakMap;function kt(e){let[t,r]=(0,Lo.useState)(e),n=(0,Lo.useRef)(null),o=z8(t),i=(0,Lo.useRef)(null),a=U0.get(i);if(Qa&&a!==o&&(a!=null&&Qa.unregister(i),Qa.register(i,o,i),U0.set(i,o)),sy){let s=Ja.get(o);s&&!s.includes(n)?s.push(n):Ja.set(o,[n])}return ue(()=>{let s=o;return()=>{Qa&&(Qa.unregister(i),U0.delete(i)),Ja.delete(s)}},[o]),(0,Lo.useEffect)(()=>{let s=n.current;return s&&r(s),()=>{s&&(n.current=null)}}),o}function W8(e,t){if(e===t)return e;let r=Ja.get(e);if(r)return r.forEach(o=>o.current=t),t;let n=Ja.get(t);return n?(n.forEach(o=>o.current=e),e):t}function qn(e=[]){let t=kt(),[r,n]=V8(t),o=(0,Lo.useCallback)(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return ue(o,[t,o,...e]),r}function ci(...e){return e.length===1&&e[0]?e[0]:t=>{let r=!1,n=e.map(o=>{let i=U8(o,t);return r||=typeof i=="function",i});if(r)return()=>{n.forEach((o,i)=>{typeof o=="function"?o():U8(e[i],null)})}}}function U8(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function j8(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=j8(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ly(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=j8(e))&&(n&&(n+=" "),n+=t);return n}var G8=ly;function le(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let i=t[o],a=n[o];typeof i=="function"&&typeof a=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=ir(i,a):(o==="className"||o==="UNSAFE_className")&&typeof i=="string"&&typeof a=="string"?t[o]=G8(i,a):o==="id"&&i&&a?t.id=W8(i,a):o==="ref"&&i&&a?t.ref=ci(i,a):t[o]=a!==void 0?a:i}}return t}var Kt=S(D(),1);var ji=S(D(),1);function Qn(e){let t=(0,ji.useRef)(null),r=(0,ji.useRef)(void 0),n=(0,ji.useCallback)(o=>{if(typeof e=="function"){let i=e,a=i(o);return()=>{typeof a=="function"?a():i(null)}}else if(e)return e.current=o,()=>{e.current=null}},[e]);return(0,ji.useMemo)(()=>({get current(){return t.current},set current(o){t.current=o,r.current&&(r.current(),r.current=void 0),o!=null&&(r.current=n(o))}}),[n])}var es=Symbol("default");function ln({values:e,children:t}){for(let[r,n]of e)t=Kt.default.createElement(r.Provider,{value:n},t);return t}function qt(e){let{className:t,style:r,children:n,defaultClassName:o,defaultChildren:i,defaultStyle:a,values:s,render:l}=e;return(0,Kt.useMemo)(()=>{let c,d,u;return typeof t=="function"?c=t({...s,defaultClassName:o}):c=t,typeof r=="function"?d=r({...s,defaultStyle:a||{}}):d=r,typeof n=="function"?u=n({...s,defaultChildren:i}):n==null?u=i:u=n,{className:c??o,style:d||a?{...a,...d}:void 0,children:u??i,"data-rac":"",render:l?p=>l(p,s):void 0}},[t,r,n,o,i,a,s,l])}function Gi(e,t){let r=(0,Kt.useContext)(e);if(t===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let n=t||es;if(!r.slots[n]){let o=new Intl.ListFormat().format(Object.keys(r.slots).map(a=>`"${a}"`)),i=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${i} Valid slot names are ${o}.`)}return r.slots[n]}return r}function Dt(e,t,r){let n=Gi(r,e.slot)||{},{ref:o,...i}=n,a=Qn((0,Kt.useMemo)(()=>ci(t,o),[t,o])),s=le(i,e);return"style"in i&&i.style&&"style"in e&&e.style&&(typeof i.style=="function"||typeof e.style=="function"?s.style=l=>{let c=typeof i.style=="function"?i.style(l):i.style,d={...l.defaultStyle,...c},u=typeof e.style=="function"?e.style({...l,defaultStyle:d}):e.style;return{...d,...u}}:s.style={...i.style,...e.style}),[s,a]}function ts(e=!0){let[t,r]=(0,Kt.useState)(e),n=(0,Kt.useRef)(!1),o=(0,Kt.useCallback)(i=>{n.current=!0,r(!!i)},[]);return ue(()=>{n.current||r(!1)},[]),[o,t]}function Y8(e){let t=/^(data-.*)$/,r={};for(let n in e)t.test(n)||(r[n]=e[n]);return r}function cy(e,t,r){let{render:n,...o}=t,i=(0,Kt.useRef)(null),a=(0,Kt.useMemo)(()=>ci(r,i),[r,i]);ue(()=>{},[e,n]);let s={...o,ref:a};return n?n(s,void 0):Kt.default.createElement(e,s)}var Z8={},rt=new Proxy({},{get(e,t){if(typeof t!="string")return;let r=Z8[t];return r||(r=(0,Kt.forwardRef)(cy.bind(null,t)),Z8[t]=r),r}});var X8="react-aria-clear-focus",q8="react-aria-focus";var fe=e=>dy(e)?e.document:uy(e)?e:e?.ownerDocument??(typeof document<"u"?document:void 0),He=e=>fe(e)?.defaultView??(typeof window<"u"?window:void 0);function Il(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function dy(e){return typeof e=="object"&&e!=null&&"window"in e&&e.window===e}function uy(e){return Il(e)&&e.nodeType===9}function Zi(e){return Il(e)&&e.nodeType===11&&"host"in e}function Ft(e,t,r,n){if(r==null||e==null)return()=>{};let o=Array.isArray(e)?e:[e];for(let i of o)i.addEventListener(t,r,n);return()=>{for(let i of o)i.removeEventListener(t,r,n)}}function Jn(e,t,r,n){if(e==null)return()=>{};let o=new Array,i=Array.isArray(e)?e:[e];for(let a of i){let s=a.style.getPropertyValue(t),l=a.style.getPropertyPriority(t);a.style.setProperty(t,r,n),o.unshift(()=>{s?a.style.setProperty(t,s,l):a.style.removeProperty(t)})}return()=>{for(let a of o)a()}}var fy=!1;function Mr(){return fy}function me(e,t){if(!Mr())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let r=t;for(;r!=null;){if(r===e)return!0;typeof r.assignedElements!="function"&&r.assignedSlot?.parentNode?r=r.assignedSlot.parentNode:Zi(r)?r=r.host:r=r.parentNode}return!1}var xe=(e=document)=>{if(!Mr())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function q(e){if(Mr()&&e.target instanceof Element&&e.target.shadowRoot){if("composedPath"in e)return e.composedPath()[0]??null;if("composedPath"in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function Nl(e,t){if(t===null)return[];t=t??He(e);let r=[t];if(!Mr()||!e||e===t)return r;let n="getRootNode"in t?t.getRootNode():null,o=e.getRootNode()??null;for(;Zi(o)&&o!==n;)r.push(o),o=o.host.getRootNode();return r}function di(e){if(!e)return!1;let t=e.getRootNode(),r=He(e);if(!(t instanceof r.Document||t instanceof r.ShadowRoot))return!1;let n=t.activeElement;return n!=null&&e.contains(n)}function _u(e){let t=my(fe(e));t!==e&&(t&&py(t,e),e&&j0(e,t))}function py(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function j0(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function my(e){let t=xe(e),r=t?.getAttribute("aria-activedescendant");return r&&e.getElementById(r)||t}function mr(e){e.focus({preventScroll:!0})}var hy=typeof Element<"u"&&"checkVisibility"in Element.prototype;function gy(e){let t=He(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,o=r!=="none"&&n!=="hidden"&&n!=="collapse";if(o){let{getComputedStyle:i}=He(e),{display:a,visibility:s}=i(e);o=a!=="none"&&s!=="hidden"&&s!=="collapse"}return o}function by(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function Mu(e,t){return hy?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&gy(e)&&by(e,t)&&(!e.parentElement||Mu(e.parentElement,e))}var G0=["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]:not([contenteditable^="false"])',"permission"],$y=G0.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";G0.push('[tabindex]:not([tabindex="-1"]):not([disabled])');var vy=G0.join(':not([hidden]):not([tabindex="-1"]),');function rs(e,t){return e.matches($y)&&!Q8(e)&&(t?.skipVisibilityCheck||Mu(e))}function ns(e){return e.matches(vy)&&Mu(e)&&!Q8(e)}function Q8(e){let t=e;for(;t!=null;){if(t instanceof He(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}var Iu=S(D(),1);function Fl(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function Nu(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Du(e){let t=(0,Iu.useRef)({isFocused:!1,observer:null});return ue(()=>{let r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]),(0,Iu.useCallback)(r=>{let n=q(r);if(n instanceof HTMLButtonElement||n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement){t.current.isFocused=!0;let o=n,i=a=>{if(t.current.isFocused=!1,o.disabled){let s=Fl(a);e?.(s)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",i,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){t.current.observer?.disconnect();let a=o===xe()?null:xe();o.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[e])}var Dl=!1;function J8(e){for(;e&&!rs(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=He(e),r=xe(t.document);if(!r||r===e)return;let n=e?.getRootNode(),o=n!=null&&Zi(n)?n:He(e),i=g=>g===e||Il(g)&&me(e,g),a=g=>g===r||r!=null&&Il(g)&&me(r,g);Dl=!0;let s=!1,l=g=>{(a(q(g))||s)&&g.stopImmediatePropagation()},c=g=>{(a(q(g))||s)&&(g.stopImmediatePropagation(),!e&&!s&&(s=!0,mr(r),p()))},d=g=>{(i(q(g))||s)&&g.stopImmediatePropagation()},u=g=>{(i(q(g))||s)&&(g.stopImmediatePropagation(),s||(s=!0,mr(r),p()))};o.addEventListener("blur",l,!0),o.addEventListener("focusout",c,!0),o.addEventListener("focusin",u,!0),o.addEventListener("focus",d,!0);let p=()=>{cancelAnimationFrame(b),o.removeEventListener("blur",l,!0),o.removeEventListener("focusout",c,!0),o.removeEventListener("focusin",u,!0),o.removeEventListener("focus",d,!0),Dl=!1,s=!1},b=requestAnimationFrame(p);return p}function Fu(e){if(typeof window>"u"||window.navigator==null)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function Z0(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function eo(e){let t=null;return()=>(t==null&&(t=e()),t)}var ar=eo(function(){return Z0(/^Mac/i)}),yy=eo(function(){return Z0(/^iPhone/i)}),Y0=eo(function(){return Z0(/^iPad/i)||ar()&&navigator.maxTouchPoints>1}),Ro=eo(function(){return yy()||Y0()}),e7=eo(function(){return ar()||Ro()}),sr=eo(function(){return Fu(/AppleWebKit/i)&&(Ro()||!Hu())}),vk=eo(function(){return sr()&&!Hu()&&!xy()}),Hu=eo(function(){return Fu(/Chrome|CriOS|CrMo/i)}),_o=eo(function(){return Fu(/Android/i)}),xy=eo(function(){return Fu(/(Firefox|FxiOS)/i)});function Au(e){return e.pointerType===""&&e.isTrusted?!0:_o()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function t7(e){return!_o()&&e.width===0&&e.height===0||_o()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}var os=S(D(),1),Cy=(0,os.createContext)({isNative:!0,open:Ey,useHref:e=>e});function Yi(){return(0,os.useContext)(Cy)}function wy(e,t){let r=e.getAttribute("target");return(!r||r==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function cn(e,t,r=!0){let{metaKey:n,ctrlKey:o,altKey:i,shiftKey:a}=t,s=sr()&&ar()&&!Y0()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:n,ctrlKey:o,altKey:i,shiftKey:a}):new MouseEvent("click",{metaKey:n,ctrlKey:o,altKey:i,shiftKey:a,detail:1,bubbles:!0,cancelable:!0});cn.isOpening=r,mr(e),e.dispatchEvent(s),cn.isOpening=!1}cn.isOpening=!1;function Sy(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function Ey(e,t){Sy(e,r=>cn(r,t))}function Ou(e){let r=Yi().useHref(e?.href??""),n={};if(e)for(let o of["href","target","rel","download","ping","referrerPolicy"])o in e&&e[o]!==void 0&&(n[o]=o==="href"?r:e[o]);return n}function r7(e,t,r,n){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&wy(e.currentTarget,e)&&r&&(e.preventDefault(),t.open(e.currentTarget,e,r,n))}var Q0=S(D(),1),qi=null,Al="keyboard",X0=new Set,Hl=new Map,Xi=!1,Bu=!1,ky={Tab:!0,Escape:!0};function zu(e,t){for(let r of X0)r(e,t)}function Py(e){return!(e.metaKey||!ar()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Ku(e){Xi=!0,!cn.isOpening&&Py(e)&&(qi="keyboard",Al="keyboard",zu("keyboard",e))}function is(e){qi="pointer",Al="pointerType"in e?e.pointerType:"mouse",(e.type==="mousedown"||e.type==="pointerdown")&&(Xi=!0,zu("pointer",e))}function n7(e){!cn.isOpening&&Au(e)&&(Xi=!0,qi="virtual",Al="virtual")}function o7(e){if(Dl)return;let t=q(e),r=He(t),n=fe(t);if(t===r){Bu=!0;return}t===n||!e.isTrusted||(!Xi&&!Bu&&(qi="virtual",Al="virtual",zu("virtual",e)),Xi=!1,Bu=!1)}function i7(){Dl||(Xi=!1,Bu=!0)}function a7(e){let t=xe(fe(q(e)));queueMicrotask(()=>{xe(fe(q(e)))!==t&&ui("keyboard")})}function q0(e){if(typeof window>"u"||typeof document>"u")return;let t=He(e),r=fe(e);if(Hl.get(t))return;let n=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){Xi=!0,n.apply(this,arguments)}}),r.addEventListener("keydown",Ku,!0),r.addEventListener("keyup",Ku,!0),r.addEventListener("click",n7,!0),r.addEventListener("invalid",a7,!0),t.addEventListener("focus",o7,!0),t.addEventListener("blur",i7,!1),typeof PointerEvent<"u"&&(r.addEventListener("pointerdown",is,!0),r.addEventListener("pointermove",is,!0),r.addEventListener("pointerup",is,!0)),t.addEventListener("beforeunload",()=>{s7(e)},{once:!0}),Hl.set(t,{focus:n})}var s7=(e,t)=>{let r=He(e),n=fe(e);t&&n.removeEventListener("DOMContentLoaded",t),Hl.has(r)&&(Reflect.defineProperty(r.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:Hl.get(r).focus}),n.removeEventListener("keydown",Ku,!0),n.removeEventListener("keyup",Ku,!0),n.removeEventListener("click",n7,!0),n.removeEventListener("invalid",a7,!0),r.removeEventListener("focus",o7,!0),r.removeEventListener("blur",i7,!1),typeof PointerEvent<"u"&&(n.removeEventListener("pointerdown",is,!0),n.removeEventListener("pointermove",is,!0),n.removeEventListener("pointerup",is,!0)),Hl.delete(r))};function l7(e){let t=fe(e),r;return t.readyState!=="loading"?q0(e):(r=()=>{q0(e)},t.addEventListener("DOMContentLoaded",r)),()=>s7(e,r)}typeof document<"u"&&l7();function In(){return qi!=="pointer"}function to(){return qi}function ui(e){qi=e,Al=e==="pointer"?"mouse":e,zu(e,null)}var Ty=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ly(e,t,r){let n=r?q(r):void 0,o=fe(n),i=He(n),a=typeof i<"u"?i.HTMLInputElement:HTMLInputElement,s=typeof i<"u"?i.HTMLTextAreaElement:HTMLTextAreaElement,l=typeof i<"u"?i.HTMLElement:HTMLElement,c=typeof i<"u"?i.KeyboardEvent:KeyboardEvent,d=xe(o);return e=e||d instanceof a&&!Ty.has(d.type)||d instanceof s||d instanceof l&&d.isContentEditable,!(e&&t==="keyboard"&&r instanceof c&&!ky[r.key])}function J0(e,t,r){q0(),(0,Q0.useEffect)(()=>{if(r?.enabled===!1)return;let n=(o,i)=>{Ly(!!r?.isTextInput,o,i)&&e(In())};return X0.add(n),()=>{X0.delete(n)}},t)}function Ol(e,t){let r=He(t),n=fe(t);if(n==null||r==null)return;let o,i=`meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`,a=n.querySelector(i);return a&&a instanceof r.HTMLMetaElement&&(e==="csp-nonce"&&a.nonce&&(o??=a.nonce||void 0),a.content&&(o??=a.content||void 0)),e==="csp-nonce"&&(o??=r.__webpack_nonce__||globalThis.__webpack_nonce__||void 0),o}var Bl=100,Vu=600,ge={isOpen:!1,screenWidth:0,screenHeight:0,screenAngle:0,screenTimeout:0,startTimeStamp:0,endTimeStamp:0,resizeTimeStamp:0,resizeTimeout:0},Ry=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Kl(){let e=Number(window.visualViewport?.width??window.innerWidth),t=Number(window.visualViewport?.height??window.innerHeight),r=Number(window.visualViewport?.scale??1);return{width:e*r,height:t*r,angle:window.screen.orientation?.angle??0}}function _y(e){ge.resizeTimeStamp<=e.timeStamp+50&&(ge.resizeTimeStamp=e.timeStamp+150,window.clearTimeout(ge.resizeTimeout),ge.resizeTimeout=window.setTimeout(d7,150))}function d7(){let e=Ol("viewport");if(_o()&&e?.includes("overlays-content"))return;let t=performance.now(),r=Kl(),n=t-ge.startTimeStamp,o=ge.screenHeight-r.height,i=ge.screenAngle-r.angle;Math.abs(i)%180&&ge.screenWidth-r.height<Bl&&(ge.screenWidth=r.width,ge.screenHeight=r.height,ge.screenAngle=r.angle,o=0),n>Vu&&(window.clearTimeout(ge.screenTimeout),ge.screenTimeout=window.setTimeout(()=>{let a=document.hasFocus()?xe():null,s=Qi(a),l=Kl();Math.abs(ge.screenAngle-l.angle)%180||ge.isOpen&&s||(ge.screenWidth=l.width,ge.screenHeight=l.height,ge.screenAngle=l.angle,ge.isOpen=!1)},Vu)),n<=Vu&&o>=Bl&&(ge.endTimeStamp=t),ge.isOpen=o>=Bl}function My(){let e=Kl(),t=ge.screenAngle-e.angle;if(Math.abs(t)%180&&!ge.isOpen){let r=ge.screenWidth,n=ge.screenHeight;ge.screenWidth=n,ge.screenHeight=r}ge.isOpen||(ge.screenAngle=e.angle)}function Iy(e){let t=q(e),r=Qi(t),n=performance.now(),o=Kl(),i=ge.screenHeight-o.height;i<Bl&&r&&(ge.screenWidth=o.width,ge.screenHeight=o.height,ge.screenAngle=o.angle,ge.startTimeStamp=n),r&&window.clearTimeout(ge.screenTimeout),i>=Bl&&r&&(ge.endTimeStamp=n)}function c7(){let e=Kl();Ft(window.visualViewport,"resize",sr()?d7:_y),Ft(window.screen.orientation,"change",My),Ft(window,"focus",Iy,{capture:!0,passive:!0}),ge.screenWidth=e.width,ge.screenHeight=e.height,ge.screenAngle=e.angle}typeof document<"u"&&(document.readyState!=="loading"?c7():Ft(document,"DOMContentLoaded",c7));function zl(){let e=Ol("viewport");return _o()&&e?.includes("overlays-content")?!1:ge.isOpen?!0:ge.startTimeStamp?ge.endTimeStamp>=ge.startTimeStamp?!0:performance.now()-ge.startTimeStamp<=Vu?ge.endTimeStamp>0||window.navigator.maxTouchPoints>0:!1:window.navigator.maxTouchPoints>0}function Qi(e){if(!(e instanceof Element)||!rs(e))return!1;let t=e instanceof HTMLTextAreaElement,r=e instanceof HTMLElement&&e.isContentEditable,n=e instanceof HTMLInputElement&&!Ry.has(e.type);return t||r||n}function Ji(e){return ar()?e.metaKey:e.ctrlKey}function as(){return ge.isOpen}var ss=S(D(),1),Ny=ss.default.useInsertionEffect??ue;function yt(e){let t=(0,ss.useRef)(null);return Ny(()=>{t.current=e},[e]),(0,ss.useCallback)((...r)=>{let n=t.current;return n?.(...r)},[])}var u7=S(D(),1);function Vl(e,t,r,n){let o=yt(r),i=r==null;(0,u7.useEffect)(()=>{if(!(i||e.current==null))return Ft(e.current,t,o,n)},[e,t,n,i])}function Wu(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=kt(r),o&&n?o=[...new Set([r,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}var Dy=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Fy=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function f7(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return Dy.has(r.script)}let t=e.split("-")[0];return Fy.has(t)}var Uu=S(D(),1),m7=Symbol.for("react-aria.i18n.locale");function h7(){let e=typeof window<"u"&&window[m7]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:f7(e)?"rtl":"ltr"}}var e2=h7(),Wl=new Set;function p7(){e2=h7();for(let e of Wl)e(e2)}function g7(){let e=si(),[t,r]=(0,Uu.useState)(e2);return(0,Uu.useEffect)(()=>(Wl.size===0&&window.addEventListener("languagechange",p7),Wl.add(r),()=>{Wl.delete(r),Wl.size===0&&window.removeEventListener("languagechange",p7)}),[]),e?{locale:typeof window<"u"&&window[m7]||"en-US",direction:"ltr"}:t}var ju=S(D(),1),Hy=ju.default.createContext(null);function hr(){let e=g7();return(0,ju.useContext)(Hy)||e}var Ay=Symbol.for("react-aria.i18n.locale"),Oy=Symbol.for("react-aria.i18n.strings"),Gu,ls=class e{constructor(t,r="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,n])=>n)),this.defaultLocale=r}getStringForLocale(t,r){let o=this.getStringsForLocale(r)[t];if(!o)throw new Error(`Could not find intl message ${t} in ${r} locale`);return o}getStringsForLocale(t){let r=this.strings[t];return r||(r=By(t,this.strings,this.defaultLocale),this.strings[t]=r),r}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let r=window[Ay];if(Gu===void 0){let o=window[Oy];if(!o)return null;Gu={};for(let i in o)Gu[i]=new e({[r]:o[i]},r)}let n=Gu?.[t];if(!n)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}};function By(e,t,r="en-US"){if(t[e])return t[e];let n=Ky(e),o=zy(e);if(o&&t[`${n}-${o}`])return t[`${n}-${o}`];if(t[n])return t[n];for(let i in t)if(i.startsWith(n+"-"))return t[i];return t[r]}function Ky(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}function zy(e){if(Intl.Locale)return new Intl.Locale(e).script}var b7=new Map,$7=new Map,Ul=class{constructor(t,r){this.locale=t,this.strings=r}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 o=r["="+t];if(o)return typeof o=="function"?o():o;let i=this.locale+":"+n,a=b7.get(i);a||(a=new Intl.PluralRules(this.locale,{type:n}),b7.set(i,a));let s=a.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=$7.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),$7.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}};var y7=S(D(),1),v7=new WeakMap;function Vy(e){let t=v7.get(e);return t||(t=new ls(e),v7.set(e,t)),t}function Wy(e,t){return t&&ls.getGlobalDictionaryForPackage(t)||Vy(e)}function x7(e,t){let{locale:r}=hr(),n=Wy(e,t);return(0,y7.useMemo)(()=>new Ul(r,n),[r,n])}var gr=S(D(),1),Uy=typeof document<"u"||parseInt(gr.default.version,10)>=19?gr.default.useInsertionEffect??gr.default.useLayoutEffect:()=>{};function fi(e,t,r){let[n,o]=(0,gr.useState)(e||t),i=(0,gr.useRef)(n),a=(0,gr.useRef)(e!==void 0),s=e!==void 0;(0,gr.useEffect)(()=>{let u=a.current;a.current=s},[s]);let l=s?e:n;Uy(()=>{i.current=l});let[,c]=(0,gr.useReducer)(()=>({}),{}),d=(0,gr.useCallback)((u,...p)=>{let b=typeof u=="function"?u(i.current):u;Object.is(i.current,b)||(i.current=b,o(b),c(),r?.(b,...p))},[r]);return[l,d]}var jl=S(D(),1);var Gl=(0,jl.createContext)(null),C7=(0,jl.createContext)(null);var dn=class{constructor(t){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=t}get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new this.constructor(this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}filter(t,r,n){let o=this.clone();return r.addDescendants(o,t),o}},Zl=class extends dn{filter(t,r,n){let[o,i]=w7(t,r,this.firstChildKey,n),a=this.clone();return a.firstChildKey=o,a.lastChildKey=i,a}},t2=class extends dn{static{this.type="header"}},ea=class extends dn{static{this.type="loader"}},ta=class extends Zl{static{this.type="item"}filter(t,r,n){if(n(this.textValue,this)){let o=this.clone();return r.addDescendants(o,t),o}return null}},Yl=class extends Zl{static{this.type="section"}filter(t,r,n){let o=super.filter(t,r,n);if(o&&o.lastChildKey!==null){let i=t.getItem(o.lastChildKey);if(i&&i.type!=="header")return o}return null}},Xl=class{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let r=this.keyMap;return{*[Symbol.iterator](){let n=r.get(t),o=n?.firstChildKey!=null?r.get(n.firstChildKey):null;for(;o;)yield o,o=o.nextKey!=null?r.get(o.nextKey):void 0}}}getKeyBefore(t){let r=this.keyMap.get(t);if(!r)return null;if(r.prevKey!=null){for(r=this.keyMap.get(r.prevKey);r&&r.type!=="item"&&r.lastChildKey!=null;)r=this.keyMap.get(r.lastChildKey);return r?.key??null}return r.parentKey}getKeyAfter(t){let r=this.keyMap.get(t);if(!r)return null;if(r.type!=="item"&&r.firstChildKey!=null)return r.firstChildKey;for(;r;){if(r.nextKey!=null)return r.nextKey;if(r.parentKey!=null)r=this.keyMap.get(r.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;t?.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}getItem(t){return this.keyMap.get(t)??null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,r=new t;return r.keyMap=new Map(this.keyMap),r.firstKey=this.firstKey,r.lastKey=this.lastKey,r.itemCount=this.itemCount,r}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");t.type==="item"&&this.keyMap.get(t.key)==null&&this.itemCount++,this.keyMap.set(t.key,t)}addDescendants(t,r){this.addNode(t);let n=r.getChildren(t.key);for(let o of n)this.addDescendants(o,r)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let r=this.keyMap.get(t);r!=null&&r.type==="item"&&this.itemCount--,this.keyMap.delete(t)}commit(t,r,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=r,this.frozen=!n}filter(t){let r=new this.constructor,[n,o]=w7(this,r,this.firstKey,t);return r?.commit(n,o),r}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}};function w7(e,t,r,n){if(r==null)return[null,null];let o=null,i=null,a=e.getItem(r);for(;a!=null;){let s=a.filter(e,t,n);s!=null&&(s.nextKey=null,i&&(s.prevKey=i.key,i.nextKey=s.key),o==null&&(o=s),t.addNode(s),i=s),a=a.nextKey!=null?e.getItem(a.nextKey):null}if(i&&i.type==="separator"){let s=i.prevKey;t.removeNode(i.key),s!=null?(i=t.getItem(s),i.nextKey=null):i=null}return[o?.key??null,i?.key??null]}var Zu=class{constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=t}*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(t){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||t.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=t,this.ownerDocument.markDirty(this))}updateChildIndices(){let t=this._minInvalidChildIndex;for(;t;)t.index=t.previousSibling?t.previousSibling.index+1:0,t=t.nextSibling;this._minInvalidChildIndex=null}appendChild(t){t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(t,r){if(r==null)return this.appendChild(t);t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=r,t.previousSibling=r.previousSibling,t.index=r.index-1,this.firstChild===r?this.firstChild=t:r.previousSibling&&(r.previousSibling.nextSibling=t),r.previousSibling=t,t.parentNode=r.parentNode,this.invalidateChildIndices(t),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(t){t.parentNode===this&&(this._minInvalidChildIndex===t&&(this._minInvalidChildIndex=null),t.nextSibling&&(this.invalidateChildIndices(t.nextSibling),t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.markDirty(t),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let t=this.previousSibling;for(;t&&t.isHidden;)t=t.previousSibling;return t}get nextVisibleSibling(){let t=this.nextSibling;for(;t&&t.isHidden;)t=t.nextSibling;return t}get firstVisibleChild(){let t=this.firstChild;for(;t&&t.isHidden;)t=t.nextSibling;return t}get lastVisibleChild(){let t=this.lastChild;for(;t&&t.isHidden;)t=t.previousSibling;return t}},ql=class e extends Zu{constructor(t,r){super(r),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof e?this.parentNode.level+(this.parentNode.node?.type==="item"?1:0):0}getMutableNode(){return this.node==null?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,r=this.getMutableNode();if(r!=null&&(r.index=this.index,r.level=this.level,r.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,r.prevKey=this.previousVisibleSibling?.node?.key??null,r.nextKey=t?.node?.key??null,r.hasChildNodes=!!this.firstChild,r.firstChildKey=this.firstVisibleChild?.node?.key??null,r.lastChildKey=this.lastVisibleChild?.node?.key??null,(r.colSpan!=null||r.colIndex!=null)&&t)){let n=(r.colIndex??r.index)+(r.colSpan??1);if(t.node!=null&&n!==t.node.colIndex){let o=t.getMutableNode();o.colIndex=n}}}setProps(t,r,n,o,i){let a,{value:s,textValue:l,id:c,...d}=t;if(this.node==null?(a=new n(c??`react-aria-${++this.ownerDocument.nodeId}`),this.node=a):a=this.getMutableNode(),d.ref=r,a.props=d,a.rendered=o,a.render=i,a.value=s,t["aria-label"]&&(a["aria-label"]=t["aria-label"]),a.textValue=l||(typeof d.children=="string"?d.children:"")||t["aria-label"]||"",c!=null&&c!==a.key)throw new Error("Cannot change the id of an item");d.colSpan!=null&&(a.colSpan=d.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let t=this;return{get display(){return t.isHidden?"none":""},set display(r){let n=r==="none";if(t.isHidden!==n){(t.parentNode?.firstVisibleChild===t||t.parentNode?.lastVisibleChild===t)&&t.ownerDocument.markDirty(t.parentNode);let o=t.previousVisibleSibling,i=t.nextVisibleSibling;o&&t.ownerDocument.markDirty(o),i&&t.ownerDocument.markDirty(i),t.isHidden=n,t.ownerDocument.markDirty(t)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}},Yu=class extends Zu{constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.keyOwners=new Map,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=t,this.nextCollection=t}get isConnected(){return!0}createElement(t){return new ql(t,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(t){this.dirtyNodes.add(t)}addNode(t){if(t.isHidden||t.node==null)return;let r=this.getMutableCollection();if(!r.getItem(t.node.key))for(let n of t)this.addNode(n);r.addNode(t.node)}removeNode(t){for(let r of t)this.removeNode(r);t.node&&this.getMutableCollection().removeNode(t.node.key)}getCollection(){return this.inSubscription?this.collection:(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let t of this.dirtyNodes)t instanceof ql&&(!t.isConnected||t.isHidden)?this.removeNode(t):t.updateChildIndices();for(let t of this.dirtyNodes)t instanceof ql?(t.isConnected&&!t.isHidden&&(t.updateNode(),this.addNode(t)),t.node&&this.dirtyNodes.delete(t),t.isMutated=!1):this.dirtyNodes.delete(t);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone());for(let t of this.subscriptions)t();this.inSubscription=!1}}subscribe(t){return this.subscriptions.add(t),this.queuedRender&&t(),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0,this.keyOwners.clear())}};var cs=S(D(),1);function Ql(e){let{children:t,items:r,idScope:n,addIdAndValue:o,dependencies:i=[]}=e,a=(0,cs.useMemo)(()=>{},[t]),s=(0,cs.useMemo)(()=>new WeakMap,[...i,a]);return(0,cs.useMemo)(()=>{if(r&&typeof t=="function"){let l=[];for(let c of r){let d=jy(c)?c:null,u=d?s.get(d):null;if(!u){u=t(c);let p=u.props.id??c?.key??c?.id;n!=null&&u.props.id==null&&p!=null&&(p=n+":"+p);let b=p??l.length;u=(0,cs.cloneElement)(u,o?{key:b,id:p,value:c}:{key:b}),d&&s.set(d,u)}l.push(u)}return l}else if(typeof t!="function")return t},[t,r,s,n,o])}function jy(e){switch(typeof e){case"object":return e!=null;case"function":case"symbol":return!0;default:return!1}}var pi=new Map,Xu=new Set;function E7(e){return"propertyName"in e}function Gy(e){let t=q(e);if(!E7(e)||!t)return;let r=pi.get(t);r||(r=new Set,pi.set(t,r),t.addEventListener("transitioncancel",r2,{once:!0})),r.add(e.propertyName)}function r2(e){let t=q(e);if(!E7(e)||!t)return;let r=pi.get(t);if(r&&(r.delete(e.propertyName),r.size===0&&(t.removeEventListener("transitioncancel",r2),pi.delete(t)),pi.size===0))for(let n of Xu)n(!0),Xu.delete(n)}function S7(){Ft(document,"transitionrun",Gy),Ft(document,"transitionend",r2)}function Zy(){for(let[e]of pi)"isConnected"in e&&!e.isConnected&&pi.delete(e)}typeof document<"u"&&(document.readyState!=="loading"?S7():Ft(document,"DOMContentLoaded",S7));function qu(e){let t=window.requestAnimationFrame(()=>{if(Zy(),pi.size===0)return e(!1);Xu.add(e)});return()=>{window.cancelAnimationFrame(t),Xu.delete(e)}}function un(e){if(!e.isConnected)return;let t=fe(e);if(to()==="virtual"){let r=xe(t);qu(()=>{let n=xe(t);(n===r||n===t.body)&&e.isConnected&&mr(e)})}else mr(e)}var n2=S(D(),1);function ra(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e,i=(0,n2.useCallback)(l=>{if(q(l)===l.currentTarget)return n&&n(l),o&&o(!1),!0},[n,o]),a=Du(i),s=(0,n2.useCallback)(l=>{let c=q(l),d=fe(c),u=d?xe(d):xe();c===l.currentTarget&&c===u&&(r&&r(l),o&&o(!0),a(l))},[o,r,a]);return{focusProps:{onFocus:!t&&(r||o||n)?s:void 0,onBlur:!t&&(n||o)?i:void 0}}}function Jl(e){if(e)return t=>{let r=!0,n={...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){r=!0},continuePropagation(){r=!1,typeof t.continuePropagation=="function"&&t.continuePropagation()},isPropagationStopped(){return r}};e(n),r&&!(typeof t.isPropagationStopped=="function"&&t.isPropagationStopped())&&t.stopPropagation()}}var Yy=new Set(["shift","alt","control","meta","mod"]),Xy=["Alt","Control","Meta","Shift"];function qy(e){let t=new Set;return e.alt&&t.add("Alt"),e.shift&&t.add("Shift"),e.ctrl&&t.add("Control"),e.meta&&t.add("Meta"),e.mod&&t.add(ar()?"Meta":"Control"),t}function Qy(e){let t=new Set;return e.altKey&&t.add("Alt"),e.ctrlKey&&t.add("Control"),e.metaKey&&t.add("Meta"),e.shiftKey&&t.add("Shift"),t}function k7(e){return Xy.filter(t=>e.has(t))}function Jy(e){let t=e.split("+").reduce((r,n)=>{let o=n.toLowerCase();return Yy.has(o)?o==="shift"?r.shift=!0:o==="alt"?r.alt=!0:o==="control"?r.ctrl=!0:o==="meta"?r.meta=!0:o==="mod"&&(r.mod=!0):r.key=n,r},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:""});if(t.key==="")throw new Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t}function P7(e){return e.toLowerCase()}var ex={space:" ",esc:"escape",del:"delete",ins:"insert",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",pageup:"pageup",pagedown:"pagedown"};function tx(e){let t=P7(e),r=ex[t];return r??t}function rx(e){let t=k7(qy(e)),r=tx(e.key);return t.length>0?`${t.join("+")}+${r}`:r}function nx(e){let t=k7(Qy(e)),r=P7(e.key);return(t.length>0?`${t.join("+")}+`:"")+r}function T7(e){let t=new Map;for(let[r,n]of Object.entries(e)){let o=Jy(r);t.set(rx(o),n)}return r=>{let n=nx(r),o=t.get(n),i=o?.(r);i===void 0&&o!==void 0?i={shouldContinuePropagation:!1,shouldPreventDefault:!0}:typeof i=="boolean"&&(i={shouldContinuePropagation:!i,shouldPreventDefault:i}),i?.shouldPreventDefault&&r.preventDefault(),(!o||i?.shouldContinuePropagation)&&r.continuePropagation()}}function Ir(e){let{shortcuts:t,allowRepeats:r=!1,allowComposing:n=!1}=e,o,i;if(t){let a=T7(t),s=Jl(c=>{if(!me(c.currentTarget,q(c))){c.continuePropagation();return}if(c.nativeEvent?.repeat&&!r||c.nativeEvent?.isComposing&&!n){c.continuePropagation();return}a(c)}),l=Jl(c=>{if(!me(c.currentTarget,q(c))){c.continuePropagation();return}if(c.nativeEvent?.repeat&&!r||c.nativeEvent?.isComposing&&!n){c.continuePropagation();return}c.continuePropagation()});o=e.onKeyDown?ir(e.onKeyDown,s):s,i=e.onKeyUp?ir(e.onKeyUp,l):l}else o=Jl(e.onKeyDown),i=Jl(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:o,onKeyUp:i}}}function Qu(e,t){ue(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}var Mo=S(D(),1),ds=Mo.default.createContext(null);function ox(e){let t=(0,Mo.useContext)(ds)||{};Qu(t,e);let{ref:r,...n}=t;return n}function Ju(e,t){let{focusProps:r}=ra(e),{keyboardProps:n}=Ir(e),o=le(r,n),i=ox(t),a=e.isDisabled?{}:i,s=(0,Mo.useRef)(e.autoFocus);(0,Mo.useEffect)(()=>{s.current&&t.current&&un(t.current),s.current=!1},[t]);let l=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(l=void 0),{focusableProps:le({...o,tabIndex:l},a)}}var Zr=S(D(),1);typeof HTMLTemplateElement<"u"&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));var ef=(0,Zr.createContext)(!1);function L7(e){if((0,Zr.useContext)(ef))return Zr.default.createElement(Zr.default.Fragment,null,e.children);let r=Zr.default.createElement(ef.Provider,{value:!0},e.children);return Zr.default.createElement("template",null,r)}function ec(e){let t=(r,n)=>(0,Zr.useContext)(ef)?null:e(r,n);return t.displayName=e.displayName||e.name,(0,Zr.forwardRef)(t)}function o2(){return(0,Zr.useContext)(ef)}var D7=S(_n(),1),ve=S(D(),1),F7=S(I7(),1),H7=(0,ve.createContext)(!1),tc=(0,ve.createContext)(null);function rc(e){if((0,ve.useContext)(tc))return e.content;let{collection:r,document:n}=bx(e.createCollection);return ve.default.createElement(ve.default.Fragment,null,ve.default.createElement(L7,null,ve.default.createElement(tc.Provider,{value:n},e.content)),ve.default.createElement(mx,{render:e.children,collection:r}))}function mx({collection:e,render:t}){return t(e)}function hx(e,t,r){let n=si(),o=(0,ve.useRef)(n);o.current=n;let i=(0,ve.useCallback)(()=>o.current?r():t(),[t,r]);return(0,F7.useSyncExternalStore)(e,i)}var gx=typeof ve.default.useSyncExternalStore=="function"?ve.default.useSyncExternalStore:hx;function bx(e){let[t]=(0,ve.useState)(()=>new Yu(e?.()||new Xl)),r=(0,ve.useCallback)(a=>t.subscribe(a),[t]),n=(0,ve.useCallback)(()=>{let a=t.getCollection();return t.isSSR&&t.resetAfterSSR(),a},[t]),o=(0,ve.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:gx(r,n,o),document:t}}var a2=(0,ve.createContext)(null);function $x(e){return class extends dn{static{this.type=e}}}function vx(e,t,r,n,o,i){typeof e=="string"&&(e=$x(e));let a=(0,ve.useCallback)(l=>{l?.setProps(t,r,e,n,i)},[t,r,n,i,e]),s=(0,ve.useContext)(a2);if(s){let l=s.ownerDocument.nodesByProps.get(t);return l||(l=s.ownerDocument.createElement(e.type),l.setProps(t,r,e,n,i),s.appendChild(l),s.ownerDocument.updateCollection(),s.ownerDocument.nodesByProps.set(t,l)),o?ve.default.createElement(a2.Provider,{value:l},o):null}return ve.default.createElement(e.type,{ref:a},o)}function na(e,t){let r=({node:o})=>t(o.props,o.props.ref,o),n=(0,ve.forwardRef)((o,i)=>{let a=(0,ve.useContext)(ds);if(!(0,ve.useContext)(H7)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(o,i)}return vx(e,o,i,"children"in o?o.children:null,null,l=>ve.default.createElement(ds.Provider,{value:a},ve.default.createElement(r,{node:l})))});return n.displayName=t.name,n}function yx(e){return Ql({...e,addIdAndValue:!0})}var N7=(0,ve.createContext)(null);function nc(e){let t=(0,ve.useContext)(N7),r=(t?.dependencies||[]).concat(e.dependencies),n=e.idScope??t?.idScope,o=yx({...e,idScope:n,dependencies:r});return(0,ve.useContext)(tc)&&(o=ve.default.createElement(xx,null,o)),t=(0,ve.useMemo)(()=>({dependencies:r,idScope:n}),[n,...r]),ve.default.createElement(N7.Provider,{value:t},o)}function xx({children:e}){let t=(0,ve.useContext)(tc),r=(0,ve.useMemo)(()=>ve.default.createElement(tc.Provider,{value:null},ve.default.createElement(H7.Provider,{value:!0},e)),[e]);return si()?ve.default.createElement(a2.Provider,{value:t},r):(0,D7.createPortal)(r,t)}var br=S(D(),1);var tf=(0,br.createContext)(null);var Cx={CollectionRoot({collection:e,renderDropIndicator:t}){return O7(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:r}){return O7(e,t,r)}};function O7(e,t,r){return Ql({items:t?e.getChildren(t.key):e,dependencies:[r],children(n){if(n.type==="content")return br.default.createElement(br.default.Fragment,null);let o=n.render(n);return!r||n.type!=="item"?o:br.default.createElement(br.default.Fragment,null,r({type:"item",key:n.key,dropPosition:"before"}),o,wx(e,n,r))}})}function wx(e,t,r){let n=t.key,o=e.getKeyAfter(n),i=o!=null?e.getItem(o):null;for(;i!=null&&i.type!=="item";)o=e.getKeyAfter(i.key),i=o!=null?e.getItem(o):null;let a=t.nextKey!=null?e.getItem(t.nextKey):null;for(;a!=null&&a.type!=="item";)a=a.nextKey!=null?e.getItem(a.nextKey):null;let s=[];if(a==null){let l=t;for(;l?.type==="item"&&(!i||l.parentKey!==i.parentKey&&i.level<l.level);){let c=r({type:"item",key:l.key,dropPosition:"after"});(0,br.isValidElement)(c)&&s.push((0,br.cloneElement)(c,{key:`${l.key}-after`})),l=l.parentKey!=null?e.getItem(l.parentKey):null}}return s}var mi=(0,br.createContext)(Cx);function B7(e){return(0,br.useMemo)(()=>e!=null?new Set([e]):null,[e])}var Sx=new Set(["id"]),Ex=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),kx=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Px=new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"]),K7=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),Tx=/^(data-.*)$/;function ze(e,t={}){let{labelable:r,isLink:n,global:o,events:i=o,propNames:a}=t,s={};for(let l in e)Object.prototype.hasOwnProperty.call(e,l)&&(Sx.has(l)||r&&Ex.has(l)||n&&kx.has(l)||o&&Px.has(l)||i&&(K7.has(l)||l.endsWith("Capture")&&K7.has(l.slice(0,-7)))||a?.has(l)||Tx.test(l))&&(s[l]=e[l]);return s}var fs="default",s2="",rf=new WeakMap;function z7(e){if(Ro()&&sr()){if(fs==="default"){let t=fe(e);s2=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}fs="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";rf.set(e,e.style[t]),e.style[t]="none"}}function l2(e){if(Ro()&&sr()){if(fs!=="disabled")return;fs="restoring",setTimeout(()=>{qu(()=>{if(fs==="restoring"){let t=fe(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=s2||""),s2="",fs="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&rf.has(e)){let t=rf.get(e),r="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[r]==="none"&&(e.style[r]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),rf.delete(e)}}var V7=new WeakMap;function nf(e){let t=fe(e),r=V7.get(t);return r??=Ol("csp-nonce",t),r!==void 0&&V7.set(t,r),r}var W7=S(D(),1),oc=W7.default.createContext({register:()=>{}});oc.displayName="PressResponderContext";var hi=S(D(),1);function gi(){let e=(0,hi.useRef)(new Map),t=(0,hi.useCallback)((o,i,a,s)=>{let l=s?.once?(...c)=>{e.current.delete(a),a(...c)}:a;e.current.set(a,{type:i,eventTarget:o,fn:l,options:s}),o.addEventListener(i,l,s)},[]),r=(0,hi.useCallback)((o,i,a,s)=>{let l=e.current.get(a)?.fn||a;o.removeEventListener(i,l,s),e.current.delete(a)},[]),n=(0,hi.useCallback)(()=>{e.current.forEach((o,i)=>{r(o.eventTarget,o.type,i,o.options)})},[r]);return(0,hi.useEffect)(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}var RT=S(_n(),1),Pt=S(D(),1);function Lx(e){let t=(0,Pt.useContext)(oc);if(t){let{register:r,ref:n,...o}=t;e=le(o,e),r()}return Qu(t,e.ref),e}var ps=class{#e;constructor(t,r,n,o){this.#e=!0;let a=(o?.target??n.currentTarget)?.getBoundingClientRect(),s,l=0,c,d=null;n.clientX!=null&&n.clientY!=null&&(c=n.clientX,d=n.clientY),a&&(c!=null&&d!=null?(s=c-a.left,l=d-a.top):(s=a.width/2,l=a.height/2)),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,this.x=s,this.y=l,this.key=n.key}continuePropagation(){this.#e=!1}get shouldStopPropagation(){return this.#e}},U7=Symbol("linkClicked"),j7="react-aria-pressable-style",G7="data-react-aria-pressable";function Io(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:i,onClick:a,isDisabled:s,isPressed:l,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:u,ref:p,...b}=Lx(e),[g,y]=(0,Pt.useState)(!1),$=(0,Pt.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:m,removeAllGlobalListeners:f}=gi(),h=(0,Pt.useCallback)((C,L)=>{let O=$.current;if(s||O.didFirePressStart)return!1;let M=!0;if(O.isTriggeringEvent=!0,n){let Z=new ps("pressstart",L,C);n(Z),M=Z.shouldStopPropagation}return r&&r(!0),O.isTriggeringEvent=!1,O.didFirePressStart=!0,y(!0),M},[s,n,r]),v=(0,Pt.useCallback)((C,L,O=!0)=>{let M=$.current;if(!M.didFirePressStart)return!1;M.didFirePressStart=!1,M.isTriggeringEvent=!0;let Z=!0;if(o){let R=new ps("pressend",L,C);o(R),Z=R.shouldStopPropagation}if(r&&r(!1),y(!1),t&&O&&!s){let R=new ps("press",L,C);t(R),Z&&=R.shouldStopPropagation}return M.isTriggeringEvent=!1,Z},[s,o,r,t]),x=yt(v),w=(0,Pt.useCallback)((C,L)=>{let O=$.current;if(s)return!1;if(i){O.isTriggeringEvent=!0;let M=new ps("pressup",L,C);return i(M),O.isTriggeringEvent=!1,M.shouldStopPropagation}return!0},[s,i]),P=yt(w),k=(0,Pt.useCallback)(C=>{let L=$.current;if(L.isPressed&&L.target){L.didFirePressStart&&L.pointerType!=null&&v(oa(L.target,C),L.pointerType,!1),L.isPressed=!1,L.isOverTarget=!1,L.activePointerId=null,L.pointerType=null,f(),u||l2(L.target);for(let O of L.disposables)O();L.disposables=[]}},[u,f,v]),T=yt(k);(0,Pt.useEffect)(()=>{s&&$.current.isPressed&&T({currentTarget:$.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[s]);let E=(0,Pt.useCallback)(C=>{d&&k(C)},[d,k]),F=(0,Pt.useCallback)(C=>{s||a?.(C)},[s,a]),_=(0,Pt.useCallback)((C,L)=>{if(!s&&a){let O=new MouseEvent("click",C);Nu(O,L),a(Fl(O))}},[s,a]),I=(0,Pt.useMemo)(()=>{let C=$.current,L={onKeyDown(M){if(c2(M.nativeEvent,M.currentTarget)&&me(M.currentTarget,q(M))){Z7(q(M),M.key)&&M.preventDefault();let Z=!0;!C.isPressed&&!M.repeat&&(C.target=M.currentTarget,C.isPressed=!0,C.pointerType="keyboard",Z=h(M,"keyboard"));let R=M.currentTarget,te=X=>{c2(X,R)&&!X.repeat&&me(R,q(X))&&C.target&&P(oa(C.target,X),"keyboard")};m(fe(M.currentTarget),"keyup",ir(te,O),!0),Z&&M.stopPropagation(),M.metaKey&&ar()&&C.metaKeyEvents?.set(M.key,M.nativeEvent)}else M.key==="Meta"&&(C.metaKeyEvents=new Map)},onClick(M){if(!(M&&!me(M.currentTarget,q(M)))&&M&&M.button===0&&!C.isTriggeringEvent&&!cn.isOpening){let Z=!0;if(s&&M.preventDefault(),!C.ignoreEmulatedMouseEvents&&!C.isPressed&&(C.pointerType==="virtual"||Au(M.nativeEvent))){let R=h(M,"virtual"),te=P(M,"virtual"),X=x(M,"virtual");F(M),Z=R&&te&&X}else if(C.isPressed&&C.pointerType!=="keyboard"){let R=C.pointerType||M.nativeEvent.pointerType||"virtual",te=P(oa(M.currentTarget,M),R),X=x(oa(M.currentTarget,M),R,!0);Z=te&&X,C.isOverTarget=!1,F(M),T(M)}C.ignoreEmulatedMouseEvents=!1,Z&&M.stopPropagation()}}},O=M=>{if(C.isPressed&&C.target&&c2(M,C.target)){Z7(q(M),M.key)&&M.preventDefault();let Z=q(M),R=me(C.target,Z);x(oa(C.target,M),"keyboard",R),R&&_(M,C.target),f(),M.key!=="Enter"&&d2(C.target)&&me(C.target,Z)&&!M[U7]&&(M[U7]=!0,cn(C.target,M,!1)),C.isPressed=!1,C.metaKeyEvents?.delete(M.key)}else if(M.key==="Meta"&&C.metaKeyEvents?.size){let Z=C.metaKeyEvents;C.metaKeyEvents=void 0;for(let R of Z.values())C.target?.dispatchEvent(new KeyboardEvent("keyup",R))}};if(typeof PointerEvent<"u"){L.onPointerDown=R=>{if(R.button!==0||!me(R.currentTarget,q(R)))return;if(t7(R.nativeEvent)){C.pointerType="virtual";return}C.pointerType=R.pointerType;let te=!0;if(!C.isPressed){C.isPressed=!0,C.isOverTarget=!0,C.activePointerId=R.pointerId,C.target=R.currentTarget,u||z7(C.target),te=h(R,C.pointerType);let X=q(R);"releasePointerCapture"in X&&("hasPointerCapture"in X?X.hasPointerCapture(R.pointerId)&&X.releasePointerCapture(R.pointerId):X.releasePointerCapture(R.pointerId)),m(fe(R.currentTarget),"pointerup",M,!1),m(fe(R.currentTarget),"pointercancel",Z,!1)}te&&R.stopPropagation()},L.onMouseDown=R=>{if(me(R.currentTarget,q(R))&&R.button===0){if(c){let te=J8(R.target);te&&C.disposables.push(te)}R.stopPropagation()}},L.onPointerUp=R=>{!me(R.currentTarget,q(R))||C.pointerType==="virtual"||R.button===0&&!C.isPressed&&P(R,C.pointerType||R.pointerType)},L.onPointerEnter=R=>{R.pointerId===C.activePointerId&&C.target&&!C.isOverTarget&&C.pointerType!=null&&(C.isOverTarget=!0,h(oa(C.target,R),C.pointerType))},L.onPointerLeave=R=>{R.pointerId===C.activePointerId&&C.target&&C.isOverTarget&&C.pointerType!=null&&(C.isOverTarget=!1,x(oa(C.target,R),C.pointerType,!1),E(R))};let M=R=>{if(R.pointerId===C.activePointerId&&C.isPressed&&R.button===0&&C.target){if(me(C.target,q(R))&&C.pointerType!=null){let te=!1,X=setTimeout(()=>{C.isPressed&&C.target instanceof HTMLElement&&(te?T(R):(mr(C.target),C.target.click()))},80);m(R.currentTarget,"click",()=>te=!0,!0),C.disposables.push(()=>clearTimeout(X))}else T(R);C.isOverTarget=!1}},Z=R=>{T(R)};L.onDragStart=R=>{me(R.currentTarget,q(R))&&T(R)}}return L},[m,s,c,f,u,E,h,F,_]);return(0,Pt.useEffect)(()=>{if(!p)return;let C=fe(p.current);if(!C||!C.head||C.getElementById(j7))return;let L=C.createElement("style");L.id=j7;let O=nf(C);O&&(L.nonce=O),L.textContent=`
|
|
129
129
|
@layer {
|
|
130
|
-
[${
|
|
130
|
+
[${G7}] {
|
|
131
131
|
touch-action: pan-x pan-y pinch-zoom;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
`.trim(),C.head.prepend(L)},[p]),(0,Ct.useEffect)(()=>{let C=$.current;return()=>{u||jp(C.target??void 0);for(let L of C.disposables)L();C.disposables=[]}},[u]),{isPressed:l||g,pressProps:se(b,_,{[k7]:!0})}}function Zp(e){return e.tagName==="A"&&e.hasAttribute("href")}function Gp(e,t){let{key:r,code:n}=e,o=t,a=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof Fe(o).HTMLInputElement&&!T7(o,r)||o instanceof Fe(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&Zp(o))&&r!=="Enter")}function Ya(e,t){let r=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n,key:t.key}}function nx(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Zp(e)}function P7(e,t){return tr()&&t==="Enter"?!1:e instanceof HTMLInputElement?t==="Enter"&&(e.type==="checkbox"||e.type==="radio")?!1:!T7(e,t):nx(e)}var ox=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function T7(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":ox.has(e.type)}var Xl=S(D(),1);function ln(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=(0,Xl.useRef)({isFocusWithin:!1}),{addGlobalListener:i,removeAllGlobalListeners:s}=la(),l=(0,Xl.useCallback)(u=>{pe(u.currentTarget,Y(u))&&a.current.isFocusWithin&&!pe(u.currentTarget,u.relatedTarget)&&(a.current.isFocusWithin=!1,s(),r&&r(u),o&&o(!1))},[r,o,a,s]),c=Su(l),d=(0,Xl.useCallback)(u=>{if(!pe(u.currentTarget,Y(u)))return;let p=Y(u),b=ue(p),g=ye(b);if(!a.current.isFocusWithin&&g===p){n&&n(u),o&&o(!0),a.current.isFocusWithin=!0,c(u);let y=u.currentTarget;i(b,"focus",$=>{let m=Y($);if(a.current.isFocusWithin&&!pe(y,m)){let f=new b.defaultView.FocusEvent("blur",{relatedTarget:m});wu(f,y);let h=Pl(f);l(h)}},{capture:!0})}},[n,o,c,i,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:l}}}var ca=S(D(),1);function ql(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=(0,ca.useRef)({isFocused:!1,isFocusVisible:t||Pn()}),[a,i]=(0,ca.useState)(!1),[s,l]=(0,ca.useState)(()=>o.current.isFocused&&o.current.isFocusVisible),c=(0,ca.useCallback)(()=>l(o.current.isFocused&&o.current.isFocusVisible),[]),d=(0,ca.useCallback)(b=>{o.current.isFocused=b,o.current.isFocusVisible=Pn(),i(b),c()},[c]);Hp(b=>{o.current.isFocusVisible=b,c()},[r,a],{enabled:a,isTextInput:r});let{focusProps:u}=Ga({isDisabled:n,onFocusChange:d}),{focusWithinProps:p}=ln({isDisabled:!n,onFocusWithinChange:d});return{isFocused:a,isFocusVisible:s,focusProps:n?p:u}}var So=S(D(),1),Yp=!1,Gu=0;function ax(){Yp=!0,setTimeout(()=>{Yp=!1},500)}function L7(e){e.pointerType==="touch"&&ax()}function ix(){let e=ue(null);if(!(typeof e>"u"))return Gu===0&&typeof PointerEvent<"u"&&e.addEventListener("pointerup",L7),Gu++,()=>{Gu--,!(Gu>0)&&typeof PointerEvent<"u"&&e.removeEventListener("pointerup",L7)}}function Tn(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[a,i]=(0,So.useState)(!1),s=(0,So.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,So.useEffect)(ix,[]);let{addGlobalListener:l,removeAllGlobalListeners:c}=la(),{hoverProps:d,triggerHoverEnd:u}=(0,So.useMemo)(()=>{let p=(y,$)=>{if(s.pointerType=$,o||$==="touch"||s.isHovered||!pe(y.currentTarget,Y(y)))return;s.isHovered=!0;let m=y.currentTarget;s.target=m,l(ue(Y(y)),"pointerover",f=>{s.isHovered&&s.target&&!pe(s.target,Y(f))&&b(f,f.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:m,pointerType:$}),r&&r(!0),i(!0)},b=(y,$)=>{let m=s.target;s.pointerType="",s.target=null,!($==="touch"||!s.isHovered||!m)&&(s.isHovered=!1,c(),n&&n({type:"hoverend",target:m,pointerType:$}),r&&r(!1),i(!1))},g={};return typeof PointerEvent<"u"&&(g.onPointerEnter=y=>{Yp&&y.pointerType==="mouse"||p(y,y.pointerType)},g.onPointerLeave=y=>{!o&&pe(y.currentTarget,Y(y))&&b(y,y.pointerType)}),{hoverProps:g,triggerHoverEnd:b}},[t,r,n,o,s,l,c]);return(0,So.useEffect)(()=>{o&&u({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:d,isHovered:a}}var Zu=S(D(),1),Yu=(0,Zu.createContext)({}),Xp=Ul(function(t,r){[t,r]=Lt(t,r,Yu);let{elementType:n="label",...o}=t,a=Je[n];return Zu.default.createElement(a,{className:"react-aria-Label",...o,ref:r})});function Xu(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:a="label"}=e;t=xt(t);let i=xt(),s={};r&&(n=n?`${i} ${n}`:i,s={id:i,htmlFor:a==="label"?t:void 0});let l=Iu({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:s,fieldProps:l}}function Ql(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}var qu=S(D(),1),da=(0,qu.createContext)({}),Qu=Ul(function(t,r){[t,r]=Lt(t,r,da);let{elementType:n="span",...o}=t,a=Je[n];return qu.default.createElement(a,{className:"react-aria-Text",...o,ref:r})});function Yn(e,t){if(!e)return!1;let r=window.getComputedStyle(e),n=document.scrollingElement||document.documentElement,o=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return e===n&&r.overflow!=="hidden"&&(o=!0),o&&t&&(o=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),o}function Jl(e,t){let r=e;for(Yn(r,t)&&(r=r.parentElement);r&&!Yn(r,t);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function Ju(e,t){let r=[],n=document.scrollingElement||document.documentElement;for(;e&&(Yn(e,t)&&r.push(e),e!==n);)e=e.parentElement;return r}function ec(e,t,r={}){if(e===t)return;let n=t.getBoundingClientRect();sx(e,t,n,r)}function sx(e,t,r,n={}){let{block:o="nearest",inline:a="nearest"}=n,i=e.scrollTop,s=e.scrollLeft,l=e.getBoundingClientRect(),c=window.getComputedStyle(t),d=window.getComputedStyle(e),u=document.scrollingElement||document.documentElement,p=e===u,b=e===u?0:l.top,g=e===u?e.clientHeight:l.bottom,y=e===u?0:l.left,$=e===u?e.clientWidth:l.right,m=parseFloat(c.scrollMarginTop)||0,f=parseFloat(c.scrollMarginBottom)||0,h=parseFloat(c.scrollMarginLeft)||0,v=parseFloat(c.scrollMarginRight)||0,x=parseFloat(d.scrollPaddingTop)||0,w=parseFloat(d.scrollPaddingBottom)||0,P=parseFloat(d.scrollPaddingLeft)||0,k=parseFloat(d.scrollPaddingRight)||0,T=parseFloat(d.borderTopWidth)||0,E=parseFloat(d.borderBottomWidth)||0,F=parseFloat(d.borderLeftWidth)||0,R=parseFloat(d.borderRightWidth)||0,_=r.top-m,C=r.bottom+f,L=r.left-h,z=r.right+v,N=e===u?0:F+R,Z=e===u?0:T+E,I=e===u?0:e.offsetWidth-e.clientWidth-N,te=e===u?0:e.offsetHeight-e.clientHeight-Z,X=b+(p?0:T)+x,B=g-(p?0:E)-w-te,G=y+(p?0:F)+P,V=$-(p?0:R)-k;yo()&&rr()||d.direction==="ltr"?V-=I:d.direction==="rtl"&&(G+=I);let M=_<X||C>B,ae=L<G||z>V;if(M&&o==="start")i+=_-X;else if(M&&o==="center")i+=(_+C)/2-(X+B)/2;else if(M&&o==="end")i+=C-B;else if(M&&o==="nearest"){let Q=_-X,Se=C-B;i+=Math.abs(Q)<=Math.abs(Se)?Q:Se}if(ae&&a==="start")s+=L-G;else if(ae&&a==="center")s+=(L+z)/2-(G+V)/2;else if(ae&&a==="end")s+=z-V;else if(ae&&a==="nearest"){let Q=L-G,Se=z-V;s+=Math.abs(Q)<=Math.abs(Se)?Q:Se}e.scrollTo({left:s,top:i})}function qp(e,t={}){let{containingElement:r}=t;if(e&&e.isConnected){let n=document.scrollingElement||document.documentElement;if(window.getComputedStyle(n).overflow==="hidden"){let{left:a,top:i}=e.getBoundingClientRect(),s=Ju(e,!0);for(let d of s)ec(d,e);let{left:l,top:c}=e.getBoundingClientRect();if(Math.abs(a-l)>1||Math.abs(i-c)>1){s=r?Ju(r,!0):[];for(let d of s)ec(d,r,{block:"center",inline:"center"});for(let d of Ju(e,!0))ec(d,e)}}else{let{left:a,top:i}=e.getBoundingClientRect();e?.scrollIntoView?.({block:"nearest"});let{left:s,top:l}=e.getBoundingClientRect();(Math.abs(a-s)>1||Math.abs(i-l)>1)&&(r?.scrollIntoView?.({block:"center",inline:"center"}),e.scrollIntoView?.({block:"nearest"}))}}}var R7=S(D(),1),lx=0,Qp=new Map;function _7(e){let[t,r]=(0,R7.useState)();return de(()=>{if(!e)return;let n=Qp.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${lx++}`;r(o);let a=document.createElement("div");a.id=o,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},Qp.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),Qp.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}var ss=S(D(),1),M7={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 I7(e={}){let{style:t,isFocusable:r}=e,[n,o]=(0,ss.useState)(!1),{focusWithinProps:a}=ln({isDisabled:!r,onFocusWithinChange:s=>o(s)}),i=(0,ss.useMemo)(()=>n?t:t?{...M7,...t}:M7,[n]);return{visuallyHiddenProps:{...a,style:i}}}function tc(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...a}=e,{visuallyHiddenProps:i}=I7(e);return ss.default.createElement(r,se(a,i),t)}var rc=S(D(),1),N7=(0,rc.createContext)(null);var At=S(D(),1),H7={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},A7={...H7,customError:!0,valid:!1},nc={isInvalid:!1,validationDetails:H7,validationErrors:[]},cx=(0,At.createContext)({}),D7="__reactAriaFormValidationState";function O7(e){if(e[D7]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:a}=e[D7];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:a}}return dx(e)}function dx(e){let{isInvalid:t,validationState:r,name:n,value:o,builtinValidation:a,validate:i,validationBehavior:s="aria"}=e;r&&(t||=r==="invalid");let l=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:A7}:null,c=(0,At.useMemo)(()=>{if(!i||o==null)return null;let E=ux(i,o);return F7(E)},[i,o]);a?.validationDetails.valid&&(a=void 0);let d=(0,At.useContext)(cx),u=(0,At.useMemo)(()=>n?Array.isArray(n)?n.flatMap(E=>e2(d[E])):e2(d[n]):[],[d,n]),[p,b]=(0,At.useState)(d),[g,y]=(0,At.useState)(!1);d!==p&&(b(d),y(!1));let $=(0,At.useMemo)(()=>F7(g?[]:u),[g,u]),m=(0,At.useRef)(nc),[f,h]=(0,At.useState)(nc),v=(0,At.useRef)(nc),x=()=>{if(!w)return;P(!1);let E=c||a||m.current;Jp(E,v.current)||(v.current=E,h(E))},[w,P]=(0,At.useState)(!1);return(0,At.useEffect)(x),{realtimeValidation:l||$||c||a||nc,displayValidation:s==="native"?l||$||f:l||$||c||a||f,updateValidation(E){s==="aria"&&!Jp(f,E)?h(E):m.current=E},resetValidation(){let E=nc;Jp(E,v.current)||(v.current=E,h(E)),s==="native"&&P(!1),y(!0)},commitValidation(){s==="native"&&P(!0),y(!0)}}}function e2(e){return e?Array.isArray(e)?e:[e]:[]}function ux(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return e2(r)}return[]}function F7(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:A7}:null}function Jp(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,n)=>r===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([r,n])=>t.validationDetails[r]===n)}var ef=S(D(),1),z7=(0,ef.createContext)(null);function B7(e){let{description:t,errorMessage:r,isInvalid:n,validationState:o}=e,{labelProps:a,fieldProps:i}=Xu(e),s=Wn([!!t,!!r,n,o]),l=Wn([!!t,!!r,n,o]);return i=se(i,{"aria-describedby":[s,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:s},errorMessageProps:{id:l}}}var K7=S(D(),1);function V7(e,t,r){let n=ht(o=>{r&&!o.defaultPrevented&&r(t)});(0,K7.useEffect)(()=>{let o=e?.current?.form;return o?.addEventListener("reset",n),()=>{o?.removeEventListener("reset",n)}},[e])}var tf=S(D(),1);function W7(e,t,r){let{validationBehavior:n,focus:o}=e;de(()=>{if(n==="native"&&r?.current&&"setCustomValidity"in r.current&&!r.current.disabled){let c=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(c),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(px(r.current))}});let a=(0,tf.useRef)(!1),i=ht(()=>{a.current||t.resetValidation()}),s=ht(c=>{t.displayValidation.isInvalid||t.commitValidation();let d=r?.current?.form;!c.defaultPrevented&&r&&d&&mx(d)===r.current&&(o?o():r.current?.focus(),na("keyboard")),c.preventDefault()}),l=ht(()=>{t.commitValidation()});(0,tf.useEffect)(()=>{let c=r?.current;if(!c)return;let d=c.form,u=d?.reset;return d&&(d.reset=()=>{a.current=!window.event||window.event.type==="message"&&Y(window.event)instanceof MessagePort,u?.call(d),a.current=!1}),c.addEventListener("invalid",s),c.addEventListener("change",l),d?.addEventListener("reset",i),()=>{c.removeEventListener("invalid",s),c.removeEventListener("change",l),d?.removeEventListener("reset",i),d&&(d.reset=u)}},[r,n])}function fx(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function px(e){return{isInvalid:!e.validity.valid,validationDetails:fx(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function mx(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(r.validity?.valid===!1)return r}return null}var ls=S(D(),1);function hx(e=!0){let[t,r]=(0,ls.useState)(e),n=(0,ls.useRef)(!1),o=(0,ls.useCallback)(a=>{n.current=!0,r(!!a)},[]);return de(()=>{n.current||r(!1)},[]),[o,t]}function U7(e=!0){let t=xt(),[r,n]=hx(e);return{id:n?t:void 0,ref:r}}var pr=S(D(),1),oc=(0,pr.createContext)({}),t2=(0,pr.createContext)(null),gx=(0,pr.forwardRef)(function(t,r){let{render:n}=(0,pr.useContext)(t2);return pr.default.createElement(pr.default.Fragment,null,n(t,r))});function r2(e,t){let r=e?.renderDropIndicator,n=e?.isVirtualDragging?.(),o=(0,pr.useCallback)(a=>{if(n||t?.isDropTarget(a))return r?r(a):pr.default.createElement(gx,{target:a})},[t?.target,n,r]);return e?.useDropIndicator?o:void 0}function j7(e,t,r){let n=e.focusedKey,o=null;if(t?.isVirtualDragging?.()&&r?.target?.type==="item"&&(o=r.target.key,r.target.dropPosition==="after")){let a=r.collection.getKeyAfter(o),i=null;if(a!=null){let s=r.collection.getItem(o)?.level??0;for(;a!=null;){let l=r.collection.getItem(a);if(!l)break;if(l.type!=="item"){a=r.collection.getKeyAfter(a);continue}if((l.level??0)<=s)break;i=a,a=r.collection.getKeyAfter(a)}}o=a??i??o}return(0,pr.useMemo)(()=>new Set([n,o].filter(a=>a!=null)),[n,o])}var n2=S(D(),1),rf=(0,n2.createContext)({});var bx=S(kn(),1),Eo=S(D(),1);var $x=(0,Eo.createContext)(null);function cs(e){let t=(0,Eo.useRef)({});return Eo.default.createElement($x.Provider,{value:t},e.children)}var nf=S(D(),1),of=(0,nf.createContext)({isSelected:!1});var o2=S(D(),1),af=(0,o2.createContext)({}),G7=class extends an{static{this.type="separator"}filter(t,r){let n=r.getItem(this.prevKey);if(n&&n.type!=="separator"){let o=this.clone();return r.addDescendants(o,t),o}return null}};var ac=new WeakMap;function vx(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function Z7(e,t){let r=ac.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${vx(t)}`}var a2=class{constructor(t,r,n,o){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=i=>{if(i.nodeType===Node.ELEMENT_NODE){let s=i.shadowRoot;if(s){let l=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(l),NodeFilter.FILTER_ACCEPT}else{if(typeof this.filter=="function")return this.filter(i);if(this.filter?.acceptNode)return this.filter.acceptNode(i);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=r,this.filter=o??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=r,this._walkerStack.unshift(t.createTreeWalker(r,n,this._acceptNode));let a=r.shadowRoot;if(a){let i=this._doc.createTreeWalker(a,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(i)}}get currentNode(){return this._currentNode}set currentNode(t){if(!pe(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");let r=[],n=t,o=t;for(this._currentNode=t;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let i=n,s=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});r.push(s),s.currentNode=o,this._currentSetFor.add(s),n=o=i.host}else n=n.parentNode;let a=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});r.push(a),a.currentNode=o,this._currentSetFor.add(a),this._walkerStack=r}get doc(){return this._doc}firstChild(){let t=this.currentNode,r=this.nextNode();return pe(t,r)?(r&&(this.currentNode=r),r):(this.currentNode=t,null)}lastChild(){let r=this._walkerStack[0].lastChild();return r&&(this.currentNode=r),r}nextNode(){let t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){let n;if(typeof this.filter=="function"?n=this.filter(t):this.filter?.acceptNode&&(n=this.filter.acceptNode(t)),n===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let o=this.nextNode();return o&&(this.currentNode=o),o}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.nextNode();return r&&(this.currentNode=r),r}else return null}previousNode(){let t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let n=this.previousNode();return n&&(this.currentNode=n),n}else return null;return null}let r=t.previousNode();if(r){if(r.shadowRoot){let o;if(typeof this.filter=="function"?o=this.filter(r):this.filter?.acceptNode&&(o=this.filter.acceptNode(r)),o===NodeFilter.FILTER_ACCEPT)return r&&(this.currentNode=r),r;let a=this.lastChild();return a&&(this.currentNode=a),a}return r&&(this.currentNode=r),r}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.previousNode();return n&&(this.currentNode=n),n}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}};function sf(e,t,r,n){return kr()?new a2(e,t,r,n):e.createTreeWalker(t,r,n)}var dt=S(D(),1),Y7=dt.default.createContext(null),i2="react-aria-focus-scope-restore",Ze=null;function qa(e){let{children:t,contain:r,restoreFocus:n,autoFocus:o}=e,a=(0,dt.useRef)(null),i=(0,dt.useRef)(null),s=(0,dt.useRef)([]),{parentNode:l}=(0,dt.useContext)(Y7)||{},c=(0,dt.useMemo)(()=>new sc({scopeRef:s}),[s]);de(()=>{let p=l||wt.root;if(wt.getTreeNode(p.scopeRef)&&Ze&&!lf(Ze,p.scopeRef)){let b=wt.getTreeNode(Ze);b&&(p=b)}p.addChild(c),wt.addNode(c)},[c,l]),de(()=>{let p=wt.getTreeNode(s);p&&(p.contain=!!r)},[r]),de(()=>{let p=a.current?.nextSibling,b=[],g=y=>y.stopPropagation();for(;p&&p!==i.current;)b.push(p),p.addEventListener(i2,g),p=p.nextSibling;return s.current=b,()=>{for(let y of b)y.removeEventListener(i2,g)}},[t]),Ex(s,n,r),wx(s,r),kx(s,n,r),Sx(s,o),(0,dt.useEffect)(()=>{let p=ye(ue(s.current?s.current[0]:void 0)),b=null;if(dn(p,s.current)){for(let g of wt.traverse())g.scopeRef&&dn(p,g.scopeRef.current)&&(b=g);b===wt.getTreeNode(s)&&(Ze=b.scopeRef)}},[s]),de(()=>()=>{let p=wt.getTreeNode(s)?.parent?.scopeRef??null;(s===Ze||lf(s,Ze))&&(!p||wt.getTreeNode(p))&&(Ze=p),wt.removeTreeNode(s)},[s]);let d=(0,dt.useMemo)(()=>yx(s),[]),u=(0,dt.useMemo)(()=>({focusManager:d,parentNode:c}),[c,d]);return dt.default.createElement(Y7.Provider,{value:u},dt.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,dt.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function yx(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||ye(ue(r[0]??void 0)),l=r[0].previousElementSibling,c=Xa(r),d=cn(c,{tabbable:o,accept:i},r);d.currentNode=dn(s,r)?s:l;let u=d.nextNode();return!u&&a&&(d.currentNode=l,u=d.nextNode()),u&&Ln(u,!0),u},focusPrevious(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||ye(ue(r[0]??void 0)),l=r[r.length-1].nextElementSibling,c=Xa(r),d=cn(c,{tabbable:o,accept:i},r);d.currentNode=dn(s,r)?s:l;let u=d.previousNode();return!u&&a&&(d.currentNode=l,u=d.previousNode()),u&&Ln(u,!0),u},focusFirst(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Xa(r),i=cn(a,{tabbable:n,accept:o},r);i.currentNode=r[0].previousElementSibling;let s=i.nextNode();return s&&Ln(s,!0),s},focusLast(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Xa(r),i=cn(a,{tabbable:n,accept:o},r);i.currentNode=r[r.length-1].nextElementSibling;let s=i.previousNode();return s&&Ln(s,!0),s}}}function Xa(e){return e[0].parentElement}function ic(e){let t=wt.getTreeNode(Ze);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function xx(e){if(!e.form)return Array.from(ue(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(n=>!n.form);let t=e.form.elements.namedItem(e.name),r=Fe(e);return t instanceof r.RadioNodeList?Array.from(t).filter(n=>n instanceof r.HTMLInputElement):t instanceof r.HTMLInputElement?[t]:[]}function Cx(e){if(e.checked)return!0;let t=xx(e);return t.length>0&&!t.some(r=>r.checked)}function wx(e,t){let r=(0,dt.useRef)(void 0),n=(0,dt.useRef)(void 0);de(()=>{let o=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}let a=ue(o?o[0]:void 0),i=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!ic(e)||c.isComposing)return;let d=ye(a),u=e.current;if(!u||!dn(d,u))return;let p=Xa(u),b=cn(p,{tabbable:!0},u);if(!d)return;b.currentNode=d;let g=c.shiftKey?b.previousNode():b.nextNode();g||(b.currentNode=c.shiftKey?u[u.length-1].nextElementSibling:u[0].previousElementSibling,g=c.shiftKey?b.previousNode():b.nextNode()),c.preventDefault(),g&&(Ln(g,!0),g instanceof Fe(g).HTMLInputElement&&g.select())},s=c=>{(!Ze||lf(Ze,e))&&dn(Y(c),e.current)?(Ze=e,r.current=Y(c)):ic(e)&&!ua(Y(c),e)?r.current?Ln(r.current):Ze&&Ze.current&&s2(Ze.current):ic(e)&&(r.current=Y(c))},l=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let d=Zn(),u=(d==="virtual"||d===null)&&xo()&&ku(),p=ye(a);if(!u&&p&&ic(e)&&!ua(p,e)){Ze=e;let b=Y(c);b&&b.isConnected?(r.current=b,Ln(r.current)):Ze.current&&s2(Ze.current)}})};return a.addEventListener("keydown",i,!1),a.addEventListener("focusin",s,!1),o?.forEach(c=>c.addEventListener("focusin",s,!1)),o?.forEach(c=>c.addEventListener("focusout",l,!1)),()=>{a.removeEventListener("keydown",i,!1),a.removeEventListener("focusin",s,!1),o?.forEach(c=>c.removeEventListener("focusin",s,!1)),o?.forEach(c=>c.removeEventListener("focusout",l,!1))}},[e,t]),de(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Q7(e){return ua(e)}function dn(e,t){return!e||!t?!1:t.some(r=>pe(r,e))}function ua(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of wt.traverse(wt.getTreeNode(t)))if(r&&dn(e,r.current))return!0;return!1}function J7(e){return ua(e,Ze)}function lf(e,t){let r=wt.getTreeNode(t)?.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function Ln(e,t=!1){if(e!=null&&!t)try{sn(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function eh(e,t=!0){let r=e[0].previousElementSibling,n=Xa(e),o=cn(n,{tabbable:t},e);o.currentNode=r;let a=o.nextNode();return t&&!a&&(n=Xa(e),o=cn(n,{tabbable:!1},e),o.currentNode=r,a=o.nextNode()),a}function s2(e,t=!0){Ln(eh(e,t))}function Sx(e,t){let r=dt.default.useRef(t);(0,dt.useEffect)(()=>{if(r.current){Ze=e;let n=ue(e.current?e.current[0]:void 0);!dn(ye(n),Ze.current)&&e.current&&s2(e.current)}r.current=!1},[e])}function Ex(e,t,r){de(()=>{if(t||r)return;let n=e.current,o=ue(n?n[0]:void 0),a=i=>{let s=Y(i);dn(s,e.current)?Ze=e:Q7(s)||(Ze=null)};return o.addEventListener("focusin",a,!1),n?.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{o.removeEventListener("focusin",a,!1),n?.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,t,r])}function X7(e){let t=wt.getTreeNode(Ze);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function kx(e,t,r){let n=(0,dt.useRef)(typeof document<"u"?ye(ue(e.current?e.current[0]:void 0)):null);de(()=>{let o=e.current,a=ue(o?o[0]:void 0);if(!t||r)return;let i=()=>{(!Ze||lf(Ze,e))&&dn(ye(a),e.current)&&(Ze=e)};return a.addEventListener("focusin",i,!1),o?.forEach(s=>s.addEventListener("focusin",i,!1)),()=>{a.removeEventListener("focusin",i,!1),o?.forEach(s=>s.removeEventListener("focusin",i,!1))}},[e,r]),de(()=>{let o=ue(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!ic(e)||i.isComposing)return;let s=o.activeElement;if(!ua(s,e)||!X7(e))return;let l=wt.getTreeNode(e);if(!l)return;let c=l.nodeToRestore,d=cn(o.body,{tabbable:!0});d.currentNode=s;let u=i.shiftKey?d.previousNode():d.nextNode();if((!c||!c.isConnected||c===o.body)&&(c=void 0,l.nodeToRestore=void 0),(!u||!ua(u,e))&&c){d.currentNode=c;do u=i.shiftKey?d.previousNode():d.nextNode();while(ua(u,e));i.preventDefault(),i.stopPropagation(),u?Ln(u,!0):Q7(c)?Ln(c,!0):s.blur()}};return r||o.addEventListener("keydown",a,!0),()=>{r||o.removeEventListener("keydown",a,!0)}},[e,t,r]),de(()=>{let o=ue(e.current?e.current[0]:void 0);if(!t)return;let a=wt.getTreeNode(e);if(a)return a.nodeToRestore=n.current??void 0,()=>{let i=wt.getTreeNode(e);if(!i)return;let s=i.nodeToRestore,l=ye(o);if(t&&s&&(l&&ua(l,e)||l===o.body&&X7(e))){let c=wt.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let d=c.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){q7(d.nodeToRestore);return}d=d.parent}for(d=c.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&wt.getTreeNode(d.scopeRef)){let u=eh(d.scopeRef.current,!0);if(u){q7(u);return}}d=d.parent}}})}}},[e,t])}function q7(e){e.dispatchEvent(new CustomEvent(i2,{bubbles:!0,cancelable:!0}))&&Ln(e)}function cn(e,t,r){let n=t?.tabbable?Xi:Yi,o=e?.nodeType===Node.ELEMENT_NODE?e:null,a=ue(o),i=sf(a,e||a,NodeFilter.SHOW_ELEMENT,{acceptNode(s){return pe(t?.from,s)||t?.tabbable&&s.tagName==="INPUT"&&s.getAttribute("type")==="radio"&&(!Cx(s)||i.currentNode.tagName==="INPUT"&&i.currentNode.type==="radio"&&i.currentNode.name===s.name)?NodeFilter.FILTER_REJECT:n(s)&&(!r||dn(s,r))&&(!t?.accept||t.accept(s))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t?.from&&(i.currentNode=t.from),i}var l2=class e{constructor(){this.fastMap=new Map,this.root=new sc({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null);if(!o)return;let a=new sc({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t);if(!r)return;let n=r.parent;for(let a of this.traverse())a!==r&&r.nodeToRestore&&a.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&dn(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let o=r.children;n&&(n.removeChild(r),o.size>0&&o.forEach(a=>n&&n.addChild(a))),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 e;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent?.scopeRef??null,r.nodeToRestore);return t}},sc=class{constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}},wt=new l2;function lc(e){return I8()?e.altKey:e.ctrlKey}function Xn(e,t){let r=`[data-key="${CSS.escape(String(t))}"]`,n=e.current?.dataset.collection;return n&&(r=`[data-collection="${CSS.escape(n)}"]${r}`),e.current?.querySelector(r)}var th=new WeakMap;function rh(e){let t=xt();return th.set(e,t),t}function nh(e){return th.get(e)}var cf=S(D(),1),oh=1e3;function ah(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=(0,cf.useRef)({search:"",timeout:void 0}),a=s=>{if(o.current.search.length>0&&s.key===" "){if(s.preventDefault(),(!("continuePropagation"in s)||"continuePropagation"in s&&!s.isPropagationStopped())&&s.stopPropagation(),o.current.search+=" ",t.getKeyForSearch!=null){let l=t.getKeyForSearch(o.current.search,r.focusedKey);l==null&&(l=t.getKeyForSearch(o.current.search)),l!=null&&(r.setFocusedKey(l),n&&n(l))}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},oh)}},i=s=>{let l=Px(s.key);if(!(!l||s.ctrlKey||s.metaKey||s.altKey||!pe(s.currentTarget,Y(s))||o.current.search.length===0&&l===" ")){if(o.current.search+=l,t.getKeyForSearch!=null){let c=t.getKeyForSearch(o.current.search,r.focusedKey);if(c==null&&(c=t.getKeyForSearch(o.current.search)),c!=null)r.setFocusedKey(c),n&&n(c),s.preventDefault(),"continuePropagation"in s||s.stopPropagation();else{o.current.search="",clearTimeout(o.current.timeout),o.current.timeout=void 0;return}}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},oh)}};return(0,cf.useEffect)(()=>{let s=o.current.timeout;return()=>{clearTimeout(s)}},[o]),{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:void 0,onKeyDown:t.getKeyForSearch?i:void 0}}}function Px(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}var c2=S(D(),1);function d2(e,t){let r=(0,c2.useRef)(!0),n=(0,c2.useRef)(null);de(()=>(r.current=!0,()=>{r.current=!1}),[]),de(()=>{r.current?r.current=!1:(!n.current||t.some((o,a)=>!Object.is(o,n[a])))&&e(),n.current=t},t)}var ih=S(kn(),1),Rn=S(D(),1);function sh(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:s=!1,escapeKeyBehavior:l="clearSelection",selectOnFocus:c=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:u,allowsTabNavigation:p=!1,scrollRef:b=n,linkBehavior:g="action",UNSTABLE_focusOnEntry:y}=e,{direction:$}=dr(),m=za(),f=(A,W,ce)=>{if(W!=null){if(t.isLink(W)&&g==="selection"&&c&&!lc(A)){(0,ih.flushSync)(()=>{t.setFocusedKey(W,ce)});let me=Xn(n,W),It=t.getItemProps(W);if(me){m.open(me,A,It.href,It.routerOptions);return}return!1}if(t.setFocusedKey(W,ce),t.isLink(W)&&g==="override")return!1;if(A.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(W);return}else if(c&&!lc(A)){t.replaceSelection(W);return}}return!1},h=A=>{if(r.getKeyBelow){let W=t.focusedKey!=null?r.getKeyBelow?.(t.focusedKey):r.getFirstKey?.();if(W==null&&a&&(W=r.getFirstKey?.(t.focusedKey)),W!=null){f(A,W);return}}return!1},v=A=>{if(r.getKeyAbove){let W=t.focusedKey!=null?r.getKeyAbove?.(t.focusedKey):r.getLastKey?.();if(W==null&&a&&(W=r.getLastKey?.(t.focusedKey)),W!=null){f(A,W);return}}return!1},x=A=>{if(r.getFirstKey){if(t.focusedKey===null&&A.shiftKey)return!1;let W=r.getFirstKey(t.focusedKey,Wa(A));if(t.setFocusedKey(W),W!=null){if(Wa(A)&&A.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(W);return}else if(c){t.replaceSelection(W);return}}}return!1},w=A=>{if(r.getKeyLeftOf){let W=t.focusedKey!=null?r.getKeyLeftOf?.(t.focusedKey):r.getFirstKey?.();if(W==null&&a&&(W=$==="rtl"?r.getFirstKey?.(t.focusedKey):r.getLastKey?.(t.focusedKey)),W!=null){f(A,W,$==="rtl"?"first":"last");return}}return!1},P=A=>{if(r.getKeyRightOf){let W=t.focusedKey!=null?r.getKeyRightOf?.(t.focusedKey):r.getFirstKey?.();if(W==null&&a&&(W=$==="rtl"?r.getLastKey?.(t.focusedKey):r.getFirstKey?.(t.focusedKey)),W!=null){f(A,W,$==="rtl"?"last":"first");return}}return!1},k=A=>{if(r.getLastKey){if(t.focusedKey===null&&A.shiftKey)return!1;let W=r.getLastKey(t.focusedKey,Wa(A));if(t.setFocusedKey(W),W!=null){if(Wa(A)&&A.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(W);return}else if(c){t.replaceSelection(W);return}}}return!1},T=A=>{if(r.getKeyPageBelow&&t.focusedKey!=null){let W=r.getKeyPageBelow(t.focusedKey);if(W!=null)return f(A,W)}return!1},E=A=>{if(r.getKeyPageAbove&&t.focusedKey!=null){let W=r.getKeyPageAbove(t.focusedKey);if(W!=null)return f(A,W)}return!1},F=()=>{if(t.selectionMode==="multiple"&&s!==!0){t.selectAll();return}return!1},R=()=>{if(l==="clearSelection"&&!i&&t.selectedKeys.size!==0){t.clearSelection();return}return!1},_=()=>{if(!p&&n.current){let A=cn(n.current,{tabbable:!0}),W,ce;do ce=A.lastChild(),ce&&(W=ce);while(ce);let me=ye();W&&(!ra(W)||me&&!Xi(me))&&cr(W)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},C=()=>(!p&&n.current&&n.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1}),L=(A,W)=>({[tr()?A+"+Shift+Alt":A+"+Shift+Control"]:W,[A+"+Shift"]:W,[tr()?A+"+Alt":A+"+Control"]:W,[A]:W}),{keyboardProps:z}=Pr({shortcuts:{...L("ArrowDown",h),...L("ArrowUp",v),...L("ArrowLeft",w),...L("ArrowRight",P),...L("PageDown",T),...L("PageUp",E)},allowRepeats:!0}),{keyboardProps:N}=Pr({shortcuts:{...L("Home",x),...L("End",k),"Mod+A":F,Escape:R,Tab:_,"Tab+Shift":C}}),Z=(0,Rn.useRef)({top:0,left:0});Nl(b,"scroll",()=>{Z.current={top:b.current?.scrollTop??0,left:b.current?.scrollLeft??0}});let I=A=>{if(t.isFocused){pe(A.currentTarget,Y(A))||t.setFocused(!1);return}if(!pe(A.currentTarget,Y(A)))return;let W=Zn();t.setFocused(!0);let ce=me=>{me!=null&&(t.setFocusedKey(me),c&&!t.isSelected(me)&&t.replaceSelection(me))};if(y&&(W==="keyboard"||W==="virtual"))ce(y==="first"?r.getFirstKey?.():r.getLastKey?.());else if(t.focusedKey==null){let me=A.relatedTarget;me&&A.currentTarget.compareDocumentPosition(me)&Node.DOCUMENT_POSITION_FOLLOWING?ce(t.lastSelectedKey??r.getLastKey?.()):ce(t.firstSelectedKey??r.getFirstKey?.())}else b.current&&(b.current.scrollTop=Z.current.top,b.current.scrollLeft=Z.current.left);if(t.focusedKey!=null&&b.current){let me=Xn(n,t.focusedKey);me instanceof HTMLElement&&(!ra(me)&&!u&&cr(me),(W==="keyboard"||y&&W==="virtual")&&qp(me,{containingElement:n.current}))}},te=A=>{pe(A.currentTarget,A.relatedTarget)||t.setFocused(!1)},X=(0,Rn.useRef)(!1);Nl(n,R8,u?A=>{let{detail:W}=A;A.stopPropagation(),t.setFocused(!0),W?.focusStrategy==="first"&&(X.current=!0)}:void 0);let B=r.getFirstKey?.()??null;d2(()=>{if(X.current)if(B==null){let A=ye();yu(n.current),Rp(A,null),t.collection.size>0&&(X.current=!1)}else t.setFocusedKey(B),X.current=!1},[B,t.collection.size]),d2(()=>{t.collection.size>0&&(X.current=!1)},[t.focusedKey]),Nl(n,L8,u?A=>{A.stopPropagation(),t.setFocused(!1),A.detail?.clearFocusKey&&t.setFocusedKey(null)}:void 0);let G=(0,Rn.useRef)(o),V=(0,Rn.useRef)(!1);(0,Rn.useEffect)(()=>{if(G.current){let A=null;o==="first"&&(A=r.getFirstKey?.()??null),o==="last"&&(A=r.getLastKey?.()??null);let W=t.selectedKeys;if(W.size){for(let ce of W)if(t.canSelectItem(ce)){A=ce;break}}t.setFocused(!0),t.setFocusedKey(A),A!=null&&c&&!W.size&&t.canSelectItem(A)&&t.replaceSelection(A),A==null&&!u&&n.current&&sn(n.current),t.collection.size>0&&(G.current=!1,V.current=!0)}});let M=(0,Rn.useRef)(t.focusedKey),ae=(0,Rn.useRef)(null);(0,Rn.useEffect)(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==M.current||V.current)&&b.current&&n.current){let A=Zn(),W=Xn(n,t.focusedKey);if(!(W instanceof HTMLElement))return;(A==="keyboard"||V.current)&&(ae.current&&cancelAnimationFrame(ae.current),ae.current=requestAnimationFrame(()=>{b.current&&(ec(b.current,W),A!=="virtual"&&qp(W,{containingElement:n.current}))}))}!u&&t.isFocused&&t.focusedKey==null&&M.current!=null&&n.current&&sn(n.current),M.current=t.focusedKey,V.current=!1}),(0,Rn.useEffect)(()=>()=>{ae.current&&cancelAnimationFrame(ae.current)},[]),Nl(n,"react-aria-focus-scope-restore",A=>{A.preventDefault(),t.setFocused(!0)});let Q={...se(N,z),onFocus:I,onBlur:te,onMouseDown(A){b.current===Y(A)&&A.preventDefault()}},{typeSelectProps:Se}=ah({keyboardDelegate:r,selectionManager:t});d||(Q=se(Se,Q));let $t;u||($t=t.focusedKey==null?0:-1);let le=rh(t.collection);return{collectionProps:se(Q,{tabIndex:$t,"data-collection":le})}}var cc=class{constructor(t){this.ref=t}getItemRect(t){let r=this.ref.current;if(!r)return null;let n=t!=null?Xn(this.ref,t):null;if(!n)return null;let o=r.getBoundingClientRect(),a=n.getBoundingClientRect();return{x:a.left-o.left-r.clientLeft+r.scrollLeft,y:a.top-o.top-r.clientTop+r.scrollTop,width:a.width,height:a.height}}getContentSize(){let t=this.ref.current;return{width:t?.scrollWidth??0,height:t?.scrollHeight??0}}getVisibleRect(){let t=this.ref.current;return{x:t?.scrollLeft??0,y:t?.scrollTop??0,width:t?.clientWidth??0,height:t?.clientHeight??0}}};var Qa=class{constructor(...t){if(t.length===1){let r=t[0];this.collection=r.collection,this.ref=r.ref,this.collator=r.collator,this.disabledKeys=r.disabledKeys||new Set,this.disabledBehavior=r.disabledBehavior||"all",this.orientation=r.orientation||"vertical",this.direction=r.direction,this.layout=r.layout||"stack",this.layoutDelegate=r.layoutDelegate||new cc(r.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new cc(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(t){return this.disabledBehavior==="all"&&(t.props?.isDisabled||this.disabledKeys.has(t.key))&&t.props?.disabledBehavior!=="selection"}findNextNonDisabled(t,r,n=!1){let o=t;for(;o!=null;){let a=this.collection.getItem(o);if(a?.type==="item"&&(n||!this.isDisabled(a)))return o;o=r(o)}return null}getNextKey(t,r){let n=t;return n=this.collection.getKeyAfter(n),this.findNextNonDisabled(n,o=>this.collection.getKeyAfter(o),r?.includeDisabled)}getPreviousKey(t,r){let n=t;return n=this.collection.getKeyBefore(n),this.findNextNonDisabled(n,o=>this.collection.getKeyBefore(o),r?.includeDisabled)}findKey(t,r,n){let o=t,a=this.layoutDelegate.getItemRect(o);if(!a||o==null)return null;let i=a;do{if(o=r(o),o==null)break;a=this.layoutDelegate.getItemRect(o)}while(a&&n(i,a)&&o!=null);return o}isSameRow(t,r){return t.y===r.y||t.x!==r.x}isSameColumn(t,r){return t.x===r.x||t.y!==r.y}isReversed(t){let r=this.getNextKey(t),n=Xn(this.ref,t);if(r!=null){let a=Xn(this.ref,r);return!n||!a?!1:n.getBoundingClientRect().top>a.getBoundingClientRect().top}let o=this.getPreviousKey(t);if(o!=null){let a=Xn(this.ref,o);return!n||!a?!1:a.getBoundingClientRect().top>n.getBoundingClientRect().top}return!1}getKeyBelow(t,r){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getNextKey(n,r),this.isSameRow):this.orientation==="vertical"?this.isReversed(t)?this.getPreviousKey(t,r):this.getNextKey(t,r):this.getNextKey(t,r)}getKeyAbove(t,r){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getPreviousKey(n,r),this.isSameRow):this.orientation==="vertical"?this.isReversed(t)?this.getNextKey(t,r):this.getPreviousKey(t,r):this.getPreviousKey(t,r)}getNextColumn(t,r,n){return r?this.getPreviousKey(t,n):this.getNextKey(t,n)}getKeyRightOf(t,r){let n=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[n]?(t=this.layoutDelegate[n](t),this.findNextNonDisabled(t,o=>this.layoutDelegate[n](o),r?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl",r):this.findKey(t,o=>this.getNextColumn(o,this.direction==="rtl",r),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl",r):null}getKeyLeftOf(t,r){let n=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[n]?(t=this.layoutDelegate[n](t),this.findNextNonDisabled(t,o=>this.layoutDelegate[n](o),r?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr",r):this.findKey(t,o=>this.getNextColumn(o,this.direction==="ltr",r),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr",r):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,r=>this.collection.getKeyAfter(r))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,r=>this.collection.getKeyBefore(r))}getKeyPageAbove(t){let r=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;let o=this.isReversed(t);if(r&&!Yn(r))return this.getFirstKey();let a=t;if(this.orientation==="horizontal"){let i=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>i&&a!=null;)a=this.getKeyAbove(a),n=a==null?null:this.layoutDelegate.getItemRect(a)}else{let i=this.layoutDelegate.getVisibleRect(),s=o?n.y-i.height:Math.max(0,n.y+n.height-i.height);for(;n&&n.y>s&&a!=null;)a=this.getKeyAbove(a),n=a==null?null:this.layoutDelegate.getItemRect(a)}return a??(o?this.getLastKey():this.getFirstKey())}getKeyPageBelow(t){let r=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;let o=this.isReversed(t);if(r&&!Yn(r))return this.getLastKey();let a=t;if(this.orientation==="horizontal"){let i=Math.min(this.layoutDelegate.getContentSize().width,n.x-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<i&&a!=null;)a=this.getKeyBelow(a),n=a==null?null:this.layoutDelegate.getItemRect(a)}else{let i=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<i&&a!=null;)a=this.getKeyBelow(a),n=a==null?null:this.layoutDelegate.getItemRect(a)}return a??(o?this.getFirstKey():this.getLastKey())}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,o=r||this.getFirstKey();for(;o!=null;){let a=n.getItem(o);if(!a)return null;let i=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(i,t)===0)return o;o=this.getNextKey(o)}return null}};var u2=new Map;function dc(e){let{locale:t}=dr(),r=t+(e?Object.entries(e).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(u2.has(r))return u2.get(r);let n=new Intl.Collator(t,e);return u2.set(r,n),n}var lh=S(D(),1);function df(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:o,keyboardDelegate:a,layoutDelegate:i,orientation:s}=e,l=dc({usage:"search",sensitivity:"base"}),c=t.disabledBehavior,d=(0,lh.useMemo)(()=>a||new Qa({collection:r,disabledKeys:n,disabledBehavior:c,ref:o,collator:l,layoutDelegate:i,orientation:s}),[a,i,r,n,o,l,c,s]),{collectionProps:u}=sh({...e,ref:o,selectionManager:t,keyboardDelegate:d});return{listProps:u}}function f2(e,t,r){let n=ze(e,{labelable:!0}),o=e.selectionBehavior||"toggle",a=e.orientation||"vertical",i=e.linkBehavior||(o==="replace"?"action":"override");o==="toggle"&&i==="action"&&(i="override");let{listProps:s}=df({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:i}),{focusWithinProps:l}=ln({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),c=xt(e.id);ac.set(t,{id:c,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:i,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:d,fieldProps:u}=Xu({...e,id:c,labelElementType:"span"});return{labelProps:d,listBoxProps:se(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox","aria-orientation":a,...se(u,s)})}}var ch=S(D(),1),Tx=500;function dh(e){let{isDisabled:t,pointerType:r,onLongPressStart:n,onLongPressEnd:o,onLongPress:a,threshold:i=Tx,accessibilityDescription:s}=e,l=(0,ch.useRef)(void 0),{addGlobalListener:c,removeAllGlobalListeners:d}=la(),u=g=>r?g.pointerType===r:g.pointerType==="mouse"||g.pointerType==="touch",{pressProps:p}=wo({isDisabled:t,onPressStart(g){if(g.continuePropagation(),u(g)){n&&n({...g,type:"longpressstart"}),l.current=setTimeout(()=>{g.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),c(g.target,"click",$=>$.preventDefault(),{once:!0}),ue(g.target).activeElement!==g.target&&cr(g.target),a&&a({...g,type:"longpress"}),l.current=void 0},i),g.pointerType==="touch"&&c(g.target,"contextmenu",$=>$.preventDefault(),{once:!0});let y=Fe(g.target);c(y,"pointerup",()=>{setTimeout(()=>{d()},100)},{once:!0})}},onPressEnd(g){l.current&&clearTimeout(l.current),o&&u(g)&&o({...g,type:"longpressend"})}}),b=_7(a&&!t?s:void 0);return{longPressProps:se(p,b)}}var Ja=S(D(),1);function uf(e){let{id:t,selectionManager:r,key:n,ref:o,shouldSelectOnPressUp:a,shouldUseVirtualFocus:i,focus:s,isDisabled:l,onAction:c,allowsDifferentPressOrigin:d,linkBehavior:u="action"}=e,p=za();t=xt(t);let b=M=>{if(M.pointerType==="keyboard"&&lc(M))r.toggleSelection(n);else{if(r.selectionMode==="none")return;if(r.isLink(n)){if(u==="selection"&&o.current){let ae=r.getItemProps(n);p.open(o.current,M,ae.href,ae.routerOptions),r.setSelectedKeys(r.selectedKeys);return}else if(u==="override"||u==="none")return}r.selectionMode==="single"?r.isSelected(n)&&!r.disallowEmptySelection?r.toggleSelection(n):r.replaceSelection(n):M&&M.shiftKey?r.extendSelection(n):r.selectionBehavior==="toggle"||M&&(Wa(M)||M.pointerType==="touch"||M.pointerType==="virtual")?r.toggleSelection(n):r.replaceSelection(n)}};(0,Ja.useEffect)(()=>{n===r.focusedKey&&r.isFocused&&(i?yu(o.current):s?s():ye()!==o.current&&o.current&&sn(o.current))},[o,n,r.focusedKey,r.childFocusStrategy,r.isFocused,i]),l=l||r.isDisabled(n);let g={};!i&&!l?g={tabIndex:n===r.focusedKey?0:-1,onFocus(M){Y(M)===o.current&&r.setFocusedKey(n)}}:l&&(g.onMouseDown=M=>{M.preventDefault()}),(0,Ja.useEffect)(()=>{l&&r.focusedKey===n&&r.setFocusedKey(null)},[r,l,n]);let y=r.isLink(n)&&u==="override",$=c&&e.UNSTABLE_itemBehavior==="action",m=r.isLink(n)&&u!=="selection"&&u!=="none",f=!l&&r.canSelectItem(n)&&!y&&!$,h=(c||m)&&!l,v=h&&(r.selectionBehavior==="replace"?!f:!f||r.isEmpty),x=h&&f&&r.selectionBehavior==="replace",w=v||x,P=(0,Ja.useRef)(null),k=w&&f,T=(0,Ja.useRef)(!1),E=(0,Ja.useRef)(!1),F=r.getItemProps(n),R=M=>{c&&(c(),o.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),m&&o.current&&p.open(o.current,M,F.href,F.routerOptions)},_={ref:o};a?(_.onPressStart=M=>{P.current=M.pointerType,T.current=k,M.pointerType==="keyboard"&&(!w||fh(M.key))&&b(M)},d?(_.onPressUp=v?void 0:M=>{M.pointerType==="mouse"&&f&&b(M)},_.onPress=v?R:M=>{M.pointerType!=="keyboard"&&M.pointerType!=="mouse"&&f&&b(M)}):_.onPress=M=>{if(v||x&&M.pointerType!=="mouse"){if(M.pointerType==="keyboard"&&!uh(M.key))return;R(M)}else M.pointerType!=="keyboard"&&f&&b(M)}):(_.onPressStart=M=>{P.current=M.pointerType,T.current=k,E.current=v,f&&(M.pointerType==="mouse"&&!v||M.pointerType==="keyboard"&&(!h||fh(M.key)))&&b(M)},_.onPress=M=>{(M.pointerType==="touch"||M.pointerType==="pen"||M.pointerType==="virtual"||M.pointerType==="keyboard"&&w&&uh(M.key)||M.pointerType==="mouse"&&E.current)&&(w?R(M):f&&b(M))});let C=nh(r.collection);if(g["data-collection"]=C,g["data-key"]=n,_.preventFocusOnPress=i,i&&(_=se(_,{onPressStart(M){M.pointerType!=="touch"&&(r.setFocused(!0),r.setFocusedKey(n))},onPress(M){M.pointerType==="touch"&&(r.setFocused(!0),r.setFocusedKey(n))}})),F)for(let M of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])F[M]&&(_[M]=er(_[M],F[M]));let{pressProps:L,isPressed:z}=wo(_),N=x?M=>{P.current==="mouse"&&(M.stopPropagation(),M.preventDefault(),R(M))}:void 0,{longPressProps:Z}=dh({isDisabled:!k,onLongPress(M){M.pointerType==="touch"&&(b(M),r.setSelectionBehavior("toggle"))}}),I=M=>{P.current==="touch"&&T.current&&M.preventDefault()},te=u!=="none"&&r.isLink(n)?M=>{on.isOpening||M.preventDefault()}:void 0,X=se(g,f||v||i&&!l?L:{},k?Z:{},{onDoubleClick:N,onDragStartCapture:I,onClick:te,id:t},i?{onMouseDown:M=>M.preventDefault()}:void 0),B=M=>{let ae=M;for(;ae&&ae!==o.current;){let Q=ae.getAttribute("data-collection");if(Q!=null)return Q!==C;ae=ae.parentElement}return Xi(M)},G=X.onPointerDown;X.onPointerDown=M=>{let ae=Y(M);if(ae&&ae!==o.current&&B(ae)){M.stopPropagation();return}G?.(M)};let V=X.onMouseDown;return X.onMouseDown=M=>{let ae=Y(M);if(ae&&ae!==o.current&&B(ae)){M.stopPropagation();return}V?.(M)},{itemProps:X,isPressed:z,isSelected:r.isSelected(n),isFocused:r.isFocused&&r.focusedKey===n,isDisabled:l,allowsSelection:f,hasAction:w}}function uh(e){return e==="Enter"}function fh(e){return e===" "}function ff(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function mh(e){return Lx(e,0)}function Lx(e,t){if(t<0)return;let r=0;for(let n of e){if(r===t)return n;r++}}function pf(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...ph(e,t),t],o=[...ph(e,r),r],a=n.slice(0,o.length).findIndex((i,s)=>i!==o[s]);return a!==-1?(t=n[a],r=o[a],t.index-r.index):n.findIndex(i=>i===r)>=0?1:(o.findIndex(i=>i===t)>=0,-1)}function ph(e,t){let r=[],n=t;for(;n?.parentKey!=null;)n=e.getItem(n.parentKey),n&&r.unshift(n);return r}var hh=new WeakMap;function uc(e){let t=hh.get(e);if(t!=null)return t;let r=0,n=o=>{for(let a of o)a.type==="section"?n(ff(a,e)):a.type==="item"&&r++};return n(e),hh.set(e,r),r}function p2(e,t,r){let{key:n}=e,o=ac.get(t),a=e.isDisabled??t.selectionManager.isDisabled(n),i=e.isSelected??t.selectionManager.isSelected(n),s=e.shouldSelectOnPressUp??o?.shouldSelectOnPressUp,l=e.shouldFocusOnHover??o?.shouldFocusOnHover,c=e.shouldUseVirtualFocus??o?.shouldUseVirtualFocus,d=e.isVirtualized??o?.isVirtualized,u=Wn(),p=Wn(),b={role:"option","aria-disabled":a||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?i:void 0,"aria-label":e["aria-label"],"aria-labelledby":u,"aria-describedby":p},g=t.collection.getItem(n);if(d){let T=Number(g?.index);b["aria-posinset"]=Number.isNaN(T)?void 0:T+1,b["aria-setsize"]=uc(t.collection)}let y=o?.onAction?()=>o?.onAction?.(n):void 0,$=Z7(t,n),{itemProps:m,isPressed:f,isFocused:h,hasAction:v,allowsSelection:x}=uf({selectionManager:t.selectionManager,key:n,ref:r,shouldSelectOnPressUp:s,allowsDifferentPressOrigin:s&&l,isVirtualized:d,shouldUseVirtualFocus:c,isDisabled:a,onAction:y||g?.props?.onAction?er(g?.props?.onAction,y):void 0,linkBehavior:o?.linkBehavior,UNSTABLE_itemBehavior:o?.UNSTABLE_itemBehavior,id:$}),{hoverProps:w}=Tn({isDisabled:a||!l,onHoverStart(){Pn()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n))}}),P=ze(g?.props);delete P.id;let k=Tu(g?.props);return{optionProps:{...b,...se(P,m,w,k),id:$},labelProps:{id:u},descriptionProps:{id:p},isFocused:h,isFocusVisible:h&&t.selectionManager.isFocused&&Pn(),isSelected:i,isDisabled:a,isPressed:f,allowsSelection:x,hasAction:v}}function m2(e){let{heading:t,"aria-label":r}=e,n=xt();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation",onMouseDown:o=>{o.preventDefault()}}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}var gh=S(D(),1);function fc(e){let t=gh.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}var pc=class{constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let r=i=>{if(this.keyMap.set(i.key,i),i.childNodes&&i.type==="section")for(let s of i.childNodes)r(s)};for(let i of t)r(i);let n=null,o=0,a=0;for(let[i,s]of this.keyMap)n?(n.nextKey=i,s.prevKey=n.key):(this.firstKey=i,s.prevKey=void 0),s.type==="item"&&(s.index=o++),(s.type==="section"||s.type==="item")&&a++,n=s,n.nextKey=void 0;this._size=a,this.lastKey=n?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey??null:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){return this.keyMap.get(t)?.childNodes||[]}};var Wr=class e extends Set{constructor(t,r,n){super(t),t instanceof e?(this.anchorKey=r??t.anchorKey,this.currentKey=n??t.currentKey):(this.anchorKey=r??null,this.currentKey=n??null)}};var mr=S(D(),1);function Rx(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function ei(e){let{selectionMode:t="none",disallowEmptySelection:r=!1,allowDuplicateSelectionEvents:n,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,i=(0,mr.useRef)(!1),[,s]=(0,mr.useState)(!1),l=(0,mr.useRef)(null),c=(0,mr.useRef)(null),[,d]=(0,mr.useState)(null),u=(0,mr.useMemo)(()=>bh(e.selectedKeys),[e.selectedKeys]),p=(0,mr.useMemo)(()=>bh(e.defaultSelectedKeys,new Wr),[e.defaultSelectedKeys]),[b,g]=oa(u,p,e.onSelectionChange),y=(0,mr.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[$,m]=(0,mr.useState)(o);o==="replace"&&$==="toggle"&&typeof b=="object"&&b.size===0&&m("replace");let f=(0,mr.useRef)(o);return(0,mr.useEffect)(()=>{o!==f.current&&(m(o),f.current=o)},[o]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:$,setSelectionBehavior:m,get isFocused(){return i.current},setFocused(h){i.current=h,s(h)},get focusedKey(){return l.current},get childFocusStrategy(){return c.current},setFocusedKey(h,v="first"){l.current=h,c.current=v,d(h)},selectedKeys:b,setSelectedKeys(h){(n||!Rx(h,b))&&g(h)},disabledKeys:y,disabledBehavior:a}}function bh(e,t){return e?e==="all"?"all":new Wr(e):t}var ko=class e{constructor(t,r,n){this.collection=t,this.state=r,this.allowsCellSelection=n?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=n?.layoutDelegate||null,this.fullCollection=n?.fullCollection||null}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){if(this.state.selectionMode==="none")return!1;let r=this.getKey(t);return r==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(r):this.state.selectedKeys.has(r)}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&&pf(this.collection,n,t)<0)&&(t=n)}return t?.key??null}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&pf(this.collection,n,t)>0)&&(t=n)}return t?.key??null}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}let r=this.getKey(t);if(r==null)return;let n;if(this.state.selectedKeys==="all")n=new Wr([r],r,r);else{let o=this.state.selectedKeys,a=o.anchorKey??r;n=new Wr(o,a,r);for(let i of this.getKeyRange(a,o.currentKey??r))n.delete(i);for(let i of this.getKeyRange(r,a))this.canSelectItem(i)&&n.add(i)}this.state.setSelectedKeys(n)}getKeyRange(t,r){let n=this.collection.getItem(t),o=this.collection.getItem(r);return n&&o?pf(this.collection,n,o)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(t,r);let n=[],o=t;for(;o!=null;){let a=this.collection.getItem(o);if(a&&(a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&n.push(o),o===r)return n;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r&&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}let r=this.getKey(t);if(r==null)return;let n=new Wr(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(r)?n.delete(r):this.canSelectItem(r)&&(n.add(r),n.anchorKey=r,n.currentKey=r),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none")return;let r=this.getKey(t);if(r==null)return;let n=this.canSelectItem(r)?new Wr([r],r,r):new Wr;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new Wr;for(let n of t){let o=this.getKey(n);if(o!=null&&(r.add(o),this.selectionMode==="single"))break}this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=this.fullCollection??this.collection,r=[],n=o=>{for(;o!=null;){if(this.canSelectItemIn(o,t)){let a=t.getItem(o);a?.type==="item"&&r.push(o),a?.hasChildNodes&&(this.allowsCellSelection||a.type!=="item")&&n(mh(ff(a,t))?.key??null)}o=t.getKeyAfter(o)}};return n(t.getFirstKey()),r}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 Wr)}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){return this.canSelectItemIn(t,this.collection)}canSelectItemIn(t,r){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=r.getItem(t);return!(!n||n?.props?.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){let r=this.collection.getItem(t);return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!r?.props?.isDisabled)&&r?.props?.disabledBehavior!=="selection"}isLink(t){return!!this.collection.getItem(t)?.props?.href}getItemProps(t){return this.collection.getItem(t)?.props}withCollection(t){return new e(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}};var fa=S(D(),1),mf=class{build(t,r){return this.context=r,$h(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(fa.default.isValidElement(r)&&r.type===fa.default.Fragment)yield*this.iterateCollection({children:r.props.children,items:n});else if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");let o=0;for(let a of n)yield*this.getFullNode({value:a,index:o},{renderer:r}),o++}else{let o=[];fa.default.Children.forEach(r,i=>{i&&o.push(i)});let a=0;for(let i of o){let s=this.getFullNode({element:i,index:a},{});for(let l of s)a++,yield l}}}getKey(t,r,n,o){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${o}${r.key}`;let a=r.value;if(a!=null){let i=a.key??a.id;if(i==null)throw new Error("No key found for item");return i}return o?`${o}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,o){if(fa.default.isValidElement(t.element)&&t.element.type===fa.default.Fragment){let l=[];fa.default.Children.forEach(t.element.props.children,d=>{l.push(d)});let c=t.index??0;for(let d of l)yield*this.getFullNode({element:d,index:c++},r,n,o);return}let a=t.element;if(!a&&t.value&&r&&r.renderer){let l=this.cache.get(t.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=t.index,l.parentKey=o?o.key:null,yield l;return}a=r.renderer(t.value)}if(fa.default.isValidElement(a)){let l=a.type;if(typeof l!="function"&&typeof l.getCollectionNode!="function"){let p=a.type;throw new Error(`Unknown element <${p}> in collection.`)}let c=l.getCollectionNode(a.props,this.context),d=t.index??0,u=c.next();for(;!u.done&&u.value;){let p=u.value;t.index=d;let b=p.key??null;b==null&&(b=p.element?null:this.getKey(a,t,r,n));let y=[...this.getFullNode({...p,key:b,index:d,wrapper:_x(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${a.key}`:a.key,o)];for(let $ of y){if($.value=p.value??t.value??null,$.value&&this.cache.set($.value,$),t.type&&$.type!==t.type)throw new Error(`Unsupported type <${h2($.type)}> in <${h2(o?.type??"unknown parent type")}>. Only <${h2(t.type)}> is supported.`);d++,yield $}u=c.next(y)}return}if(t.key==null||t.type==null)return;let i=this,s={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value??null,level:(o?.level??0)+(o?.type==="item"?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||!1,childNodes:$h(function*(){if(!t.hasChildNodes||!t.childNodes)return;let l=0;for(let c of t.childNodes()){c.key!=null&&(c.key=`${s.key}${c.key}`);let d=i.getFullNode({...c,index:l},i.getChildState(r,c),s.key,s);for(let u of d)l++,yield u}})};yield s}constructor(){this.cache=new WeakMap}};function $h(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 _x(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function h2(e){return e[0].toUpperCase()+e.slice(1)}var g2=S(D(),1);function hf(e,t,r){let n=(0,g2.useMemo)(()=>new mf,[]),{children:o,items:a,collection:i}=e;return(0,g2.useMemo)(()=>{if(i)return i;let l=n.build({children:o,items:a},r);return t(l)},[n,o,a,i,r,t])}var _n=S(D(),1);function b2(e){let{filter:t,layoutDelegate:r}=e,n=ei(e),o=(0,_n.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=(0,_n.useCallback)(c=>t?new pc(t(c)):new pc(c),[t]),i=(0,_n.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),s=hf(e,a,i),l=(0,_n.useMemo)(()=>new ko(s,n,{layoutDelegate:r}),[s,n,r]);return vh(s,l),{collection:s,disabledKeys:o,selectionManager:l}}function $2(e,t){let r=(0,_n.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),n=e.selectionManager.withCollection(r);return vh(r,n),{collection:r,selectionManager:n,disabledKeys:e.disabledKeys}}function vh(e,t){let r=(0,_n.useRef)(null);(0,_n.useEffect)(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&r.current){let n=r.current.getKeyAfter(t.focusedKey),o=null;for(;n!=null;){let a=e.getItem(n);if(a&&a.type==="item"&&!t.isDisabled(n)){o=n;break}n=r.current.getKeyAfter(n)}if(o==null)for(n=r.current.getKeyBefore(t.focusedKey);n!=null;){let a=e.getItem(n);if(a&&a.type==="item"&&!t.isDisabled(n)){o=n;break}n=r.current.getKeyBefore(n)}t.setFocusedKey(o)}r.current=e},[e,t])}var yh=S(D(),1);function mc(e,t){let{collection:r,onLoadMore:n,scrollOffset:o=1,direction:a="end"}=e,i=(0,yh.useRef)(null),s=ht(l=>{for(let c of l)c.isIntersecting&&n&&n()});de(()=>{if(t.current){let l=100*o,c=a==="start"?`${l}% 0px 0px 0px`:`0px ${l}% ${l}% ${l}%`;i.current=new IntersectionObserver(s,{root:Jl(t?.current),rootMargin:c}),i.current.observe(t.current)}return()=>{i.current&&i.current.disconnect()}},[r,t,o,a])}var ie=S(D(),1);var v2=(0,ie.createContext)(null),ds=(0,ie.createContext)(null),y2=(0,ie.forwardRef)(function(t,r){[t,r]=Lt(t,r,v2);let n=(0,ie.useContext)(ds);return n?ie.default.createElement(xh,{state:n,props:t,listBoxRef:r}):ie.default.createElement(Gl,{content:ie.default.createElement(Zl,t)},o=>ie.default.createElement(Mx,{props:t,listBoxRef:r,collection:o}))});function Mx({props:e,listBoxRef:t,collection:r}){e={...e,collection:r,children:null,items:null};let{layoutDelegate:n}=(0,ie.useContext)(ia),o=b2({...e,layoutDelegate:n});return ie.default.createElement(xh,{state:o,props:e,listBoxRef:t})}function xh({state:e,props:t,listBoxRef:r}){[t,r]=Lt(t,r,Al);let{dragAndDropHooks:n,layout:o="stack",orientation:a="vertical",filter:i}=t,s=$2(e,i),{collection:l,selectionManager:c}=s,d=!!n?.useDraggableCollectionState,u=!!n?.useDroppableCollectionState,{direction:p}=dr(),{disabledBehavior:b,disabledKeys:g}=c,y=dc({usage:"search",sensitivity:"base"}),{isVirtualized:$,layoutDelegate:m,dropTargetDelegate:f,CollectionRoot:h}=(0,ie.useContext)(ia),v=(0,ie.useMemo)(()=>t.keyboardDelegate||new Qa({collection:l,collator:y,ref:r,disabledKeys:g,disabledBehavior:b,layout:o,orientation:a,direction:p,layoutDelegate:m}),[l,y,r,b,g,a,p,t.keyboardDelegate,o,m]),{listBoxProps:x}=f2({...t,shouldSelectOnPressUp:d||t.shouldSelectOnPressUp,keyboardDelegate:v,isVirtualized:$},s,r),w=(0,ie.useRef)(d),P=(0,ie.useRef)(u);(0,ie.useEffect)(()=>{},[d,u]);let k,T,E,F=!1,R=null,_=(0,ie.useRef)(null);if(d&&n){k=n.useDraggableCollectionState({collection:l,selectionManager:c,preview:n.renderDragPreview?_:void 0}),n.useDraggableCollection({},k,r);let B=n.DragPreview;R=n.renderDragPreview?ie.default.createElement(B,{ref:_},n.renderDragPreview):null}if(u&&n){T=n.useDroppableCollectionState({collection:l,selectionManager:c});let B=n.dropTargetDelegate||f||new n.ListDropTargetDelegate(l,r,{orientation:a,layout:o,direction:p});E=n.useDroppableCollection({keyboardDelegate:v,dropTargetDelegate:B},T,r),F=T.isDropTarget({type:"root"})}let{focusProps:C,isFocused:L,isFocusVisible:z}=ql(),N=s.collection.size===0,Z={isDropTarget:F,isEmpty:N,isFocused:L,isFocusVisible:z,layout:t.layout||"stack",orientation:a,state:s},I=jt({...t,children:void 0,defaultClassName:"react-aria-ListBox",values:Z}),te=null;N&&t.renderEmptyState&&(te=ie.default.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(Z)));let X=ze(t,{global:!0});return ie.default.createElement(qa,null,ie.default.createElement(Je.div,{...se(X,I,x,C,E?.collectionProps),ref:r,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":F||void 0,"data-empty":N||void 0,"data-focused":L||void 0,"data-focus-visible":z||void 0,"data-layout":t.layout||"stack","data-orientation":a},ie.default.createElement(nn,{values:[[v2,t],[ds,s],[oc,{dragAndDropHooks:n,dragState:k,dropState:T}],[af,{elementType:"div"}],[t2,{render:Nx}],[Wu,{name:"ListBoxSection",render:Ix}]]},ie.default.createElement(cs,null,ie.default.createElement(h,{collection:l,scrollRef:r,persistedKeys:j7(c,n,T),renderDropIndicator:r2(n,T)}))),te,R))}function Ix(e,t,r,n="react-aria-ListBoxSection"){let o=(0,ie.useContext)(ds),{dragAndDropHooks:a,dropState:i}=(0,ie.useContext)(oc),{CollectionBranch:s}=(0,ie.useContext)(ia),[l,c]=Zi(),{headingProps:d,groupProps:u}=m2({heading:c,"aria-label":e["aria-label"]??void 0}),p=jt({...e,id:void 0,children:void 0,defaultClassName:n,values:void 0}),b=ze(e,{global:!0});return delete b.id,ie.default.createElement(Je.section,{...se(b,p,u),ref:t},ie.default.createElement(rf.Provider,{value:{...d,ref:l}},ie.default.createElement(s,{collection:o.collection,parent:r,renderDropIndicator:r2(a,i)})))}var x2=Za(ja,function(t,r,n){let o=Un(r),a=(0,ie.useContext)(ds),{dragAndDropHooks:i,dragState:s,dropState:l}=(0,ie.useContext)(oc),c=s&&!(s.isDisabled||s.selectionManager.isDisabled(n.key)),{optionProps:d,labelProps:u,descriptionProps:p,...b}=p2({key:n.key,"aria-label":t?.["aria-label"]},a,o),{hoverProps:g,isHovered:y}=Tn({isDisabled:!b.allowsSelection&&!b.hasAction&&!c,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),{keyboardProps:$}=Pr(t),{focusProps:m}=Ga(t),f=null;s&&i&&(f=i.useDraggableItem({key:n.key,hasAction:b.hasAction},s));let h=null;l&&i&&(h=i.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},l,o));let v=s&&s.isDragging(n.key),x=jt({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...b,isHovered:y,selectionMode:a.selectionManager.selectionMode,selectionBehavior:a.selectionManager.selectionBehavior,allowsDragging:!!s,isDragging:v,isDropTarget:h?.isDropTarget}});(0,ie.useEffect)(()=>{n.textValue},[n.textValue]);let w=t.href?Je.a:Je.div,P=ze(t,{global:!0});return delete P.id,delete P.onClick,t.href&&d.tabIndex==null&&(d.tabIndex=-1),ie.default.createElement(w,{...se(P,x,d,g,$,m,f?.dragProps,h?.dropProps),ref:o,"data-allows-dragging":!!s||void 0,"data-selected":b.isSelected||void 0,"data-disabled":b.isDisabled||void 0,"data-hovered":y||void 0,"data-focused":b.isFocused||void 0,"data-focus-visible":b.isFocusVisible||void 0,"data-pressed":b.isPressed||void 0,"data-dragging":v||void 0,"data-drop-target":h?.isDropTarget||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode},ie.default.createElement(nn,{values:[[da,{slots:{[Gi]:u,label:u,description:p}}],[of,{isSelected:b.isSelected}]]},x.children))});function Nx(e,t){t=Un(t);let{dragAndDropHooks:r,dropState:n}=(0,ie.useContext)(oc),{dropIndicatorProps:o,isHidden:a,isDropTarget:i}=r.useDropIndicator(e,n,t);return a?null:ie.default.createElement(Fx,{...e,dropIndicatorProps:o,isDropTarget:i,ref:t})}function Dx(e,t){let{dropIndicatorProps:r,isDropTarget:n,...o}=e,a=jt({...o,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return ie.default.createElement(ie.default.Fragment,null,ie.default.createElement(Je.div,{...r,...a,role:"option",ref:t,"data-drop-target":n||void 0}))}var Fx=(0,ie.forwardRef)(Dx),Hx=Za(Ua,function(t,r,n){let o=(0,ie.useContext)(ds),{isLoading:a,onLoadMore:i,scrollOffset:s,...l}=t,c=(0,ie.useRef)(null),d=(0,ie.useMemo)(()=>({onLoadMore:i,collection:o?.collection,sentinelRef:c,scrollOffset:s}),[i,s,o?.collection]);mc(d,c);let u=jt({...l,id:void 0,children:n.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:void 0}),p={tabIndex:-1};return ie.default.createElement(ie.default.Fragment,null,ie.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:fc(!0)},ie.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),a&&u.children&&ie.default.createElement(ie.default.Fragment,null,ie.default.createElement(Je.div,{...se(ze(t,{global:!0}),p),...u,role:"option",ref:r},u.children)))});var gf=S(D(),1),Ch=(0,gf.createContext)({placement:"bottom"});var Ax=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;function wh(e){return e.dataset.liveAnnouncer==="true"||e.dataset.reactAriaTopLayer!==void 0}var hc=new WeakMap,Tr=[];function Sh(e,t){let r=Fe(e?.[0]),n=t instanceof r.Element?{root:t}:t,o=n?.root??document.body,a=n?.shouldUseInert&&Ax,i=new Set(e),s=new Set,l=$=>a&&$ instanceof r.HTMLElement?$.inert:$.getAttribute("aria-hidden")==="true",c=($,m)=>{a&&$ instanceof r.HTMLElement?$.inert=m:m?$.setAttribute("aria-hidden","true"):($.removeAttribute("aria-hidden"),$ instanceof r.HTMLElement&&($.inert=!1))},d=new Set;if(kr()){let $=o.getRootNode();for(let m of e){let f=m.getRootNode();for(;Oa(f)&&f!==$;)d.add(f),f=f.host.getRootNode()}}let u=$=>{for(let v of $.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))i.add(v);let m=v=>{if(s.has(v)||i.has(v)||v.parentElement&&s.has(v.parentElement)&&v.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let x of i)if(pe(v,x))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},f=sf(ue($),$,NodeFilter.SHOW_ELEMENT,{acceptNode:m}),h=m($);if(h===NodeFilter.FILTER_ACCEPT&&p($),h!==NodeFilter.FILTER_REJECT){let v=f.nextNode();for(;v!=null;)p(v),v=f.nextNode()}},p=$=>{let m=hc.get($)??0;l($)&&m===0||(m===0&&c($,!0),s.add($),hc.set($,m+1))};Tr.length&&Tr[Tr.length-1].disconnect(),u(o);let b=new MutationObserver($=>{for(let m of $)if(m.type==="childList"){if(m.target.isConnected&&![...i,...s].some(f=>pe(f,m.target)))for(let f of m.addedNodes)(f instanceof HTMLElement||f instanceof SVGElement)&&wh(f)?i.add(f):f instanceof Element&&u(f);if(kr()){for(let f of d)if(!f.isConnected){b.disconnect();break}}}});b.observe(o,{childList:!0,subtree:!0});let g=new Set;if(kr())for(let $ of d){let m=new MutationObserver(f=>{for(let h of f)if(h.type==="childList"){if(h.target.isConnected&&![...i,...s].some(v=>pe(v,h.target)))for(let v of h.addedNodes)(v instanceof HTMLElement||v instanceof SVGElement)&&wh(v)?i.add(v):v instanceof Element&&u(v);if(kr()){for(let v of d)if(!v.isConnected){b.disconnect();break}}}});m.observe($,{childList:!0,subtree:!0}),g.add(m)}let y={visibleNodes:i,hiddenNodes:s,observe(){b.observe(o,{childList:!0,subtree:!0})},disconnect(){b.disconnect()}};return Tr.push(y),()=>{if(b.disconnect(),kr())for(let $ of g)$.disconnect();for(let $ of s){let m=hc.get($);m!=null&&(m===1?(c($,!1),hc.delete($)):hc.set($,m-1))}y===Tr[Tr.length-1]?(Tr.pop(),Tr.length&&Tr[Tr.length-1].observe()):Tr.splice(Tr.indexOf(y),1)}}function Eh(e){let t=Tr[Tr.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}var un={top:"top",bottom:"top",left:"left",right:"left"},$f={top:"bottom",bottom:"top",left:"right",right:"left"},Ox={top:"left",left:"top"},w2={top:"height",left:"width"},Mh={width:"totalWidth",height:"totalHeight"},bf={},zx=()=>typeof document<"u"?window.visualViewport:null;function kh(e,t){let r=0,n=0,o=0,a=0,i=0,s=0,l={},c=(t?.scale??1)>1;if(e.tagName==="BODY"||e.tagName==="HTML"){let d=document.documentElement;o=d.clientWidth,a=d.clientHeight,r=t?.width??o,n=t?.height??a,l.top=d.scrollTop||e.scrollTop,l.left=d.scrollLeft||e.scrollLeft,t&&(i=Math.max(0,t.pageTop-(l.top??0)),s=Math.max(0,t.pageLeft-(l.left??0)))}else({width:r,height:n,top:i,left:s}=gc(e,!1)),l.top=e.scrollTop,l.left=e.scrollLeft,o=r,a=n;return rr()&&(e.tagName==="BODY"||e.tagName==="HTML")&&c&&(l.top=0,l.left=0,i=t?.pageTop??0,s=t?.pageLeft??0),{width:r,height:n,totalWidth:o,totalHeight:a,scroll:l,top:i,left:s}}function Bx(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Ph(e,t,r,n,o,a,i){let s=o.scroll[e]??0,l=n[w2[e]],c=i[e]+n.scroll[un[e]]+a,d=i[e]+n.scroll[un[e]]+l-a,u=t-s+n.scroll[un[e]]+i[e]-n[un[e]],p=t-s+r+n.scroll[un[e]]+i[e]-n[un[e]];return u<c?c-u:p>d?Math.max(d-p,c-u):0}function Kx(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 Th(e){if(bf[e])return bf[e];let[t,r]=e.split(" "),n=un[t]||"right",o=Ox[n];un[r]||(r="center");let a=w2[n],i=w2[o];return bf[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:a,crossSize:i},bf[e]}function C2(e,t,r,n,o,a,i,s,l,c,d){let{placement:u,crossPlacement:p,axis:b,crossAxis:g,size:y,crossSize:$}=n,m={};m[g]=e[g]??0,p==="center"?m[g]+=((e[$]??0)-(r[$]??0))/2:p!==g&&(m[g]+=(e[$]??0)-(r[$]??0)),m[g]+=a;let f=e[g]-r[$]+l+c,h=e[g]+e[$]-l-c;if(m[g]=Ql(m[g],f,h),u===b){let v=s?d[y]:d[Mh[y]];m[$f[b]]=Math.floor(v-e[b]+o)}else m[b]=Math.floor(e[b]+e[y]+o);return m}function Vx(e,t,r,n,o,a,i,s,l,c,d){let u=(e.top!=null?e.top:l[Mh.height]-(e.bottom??0)-i)-(l.scroll.top??0),p=c?r.top:0,b={top:Math.max(t.top+p,(d?.offsetTop??t.top)+p),bottom:Math.min(t.top+t.height+p,(d?.offsetTop??0)+(d?.height??0))};return s!=="top"?Math.max(0,b.bottom-u-((o.top??0)+(o.bottom??0)+a)):Math.max(0,u+i-b.top-((o.top??0)+(o.bottom??0)+a))}function Lh(e,t,r,n,o,a,i,s){let{placement:l,axis:c,size:d}=a;return l===c?Math.max(0,r[c]-(i.scroll[c]??0)-(e[c]+(s?t[c]:0))-(n[c]??0)-n[$f[c]]-o):Math.max(0,e[d]+e[c]+(s?t[c]:0)-r[c]-r[d]+(i.scroll[c]??0)-(n[c]??0)-n[$f[c]]-o)}function Wx(e,t,r,n,o,a,i,s,l,c,d,u,p,b,g,y,$,m){let f=Th(e),{size:h,crossAxis:v,crossSize:x,placement:w,crossPlacement:P}=f,k=C2(t,s,r,f,d,u,c,p,g,y,l),T=d,E=Lh(s,c,t,o,a+d,f,l,$);if(i&&r[h]>E){let M=Th(`${$f[w]} ${P}`),ae=C2(t,s,r,M,d,u,c,p,g,y,l);Lh(s,c,t,o,a+d,M,l,$)>E&&(f=M,k=ae,T=d)}let F="bottom";f.axis==="top"?f.placement==="top"?F="top":f.placement==="bottom"&&(F="bottom"):f.crossAxis==="top"&&(f.crossPlacement==="top"?F="bottom":f.crossPlacement==="bottom"&&(F="top"));let R=Ph(v,k[v],r[x],s,l,a,c);k[v]+=R;let _=Vx(k,s,c,p,o,a,r.height,F,l,$,m);b&&b<_&&(_=b),r.height=Math.min(r.height,_),k=C2(t,s,r,f,T,u,c,p,g,y,l),R=Ph(v,k[v],r[x],s,l,a,c),k[v]+=R;let C={},L=t[v]-k[v]-o[un[v]],z=L+.5*t[x],N=g/2+y,Z=un[v]==="left"?(o.left??0)+(o.right??0):(o.top??0)+(o.bottom??0),I=r[x]-Z-g/2-y,te=t[v]+g/2-(k[v]+o[un[v]]),X=t[v]+t[x]-g/2-(k[v]+o[un[v]]),B=Ql(z,te,X);C[v]=Ql(B,N,I),{placement:w,crossPlacement:P}=f,g?L=C[v]:P==="right"?L+=t[x]:P==="center"&&(L+=t[x]/2);let G=w==="left"||w==="top"?r[h]:0,V={x:w==="top"||w==="bottom"?L:G,y:w==="left"||w==="right"?L:G};return{position:k,maxHeight:_,arrowOffsetLeft:C.left,arrowOffsetTop:C.top,placement:w,triggerAnchorPoint:V}}function Ih(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:o,padding:a,shouldFlip:i,boundaryElement:s,offset:l,crossOffset:c,maxHeight:d,arrowSize:u=0,arrowBoundaryOffset:p=0,targetRect:b}=e,g=zx(),y=n instanceof HTMLElement?Ux(n):document.documentElement,$=y===document.documentElement,m=window.getComputedStyle(y).position,f=!!m&&m!=="static",h=$?gc(r,!1,b):Rh(r,y,!1,b);if(!$){let{marginTop:F,marginLeft:R}=window.getComputedStyle(r);h.top+=parseInt(F,10)||0,h.left+=parseInt(R,10)||0}let v=gc(n,!0),x=Kx(n);v.width+=(x.left??0)+(x.right??0),v.height+=(x.top??0)+(x.bottom??0);let w=Bx(o),P=kh(s,g),k=kh(y,g),T;if((s.tagName==="BODY"||s.tagName==="HTML")&&!$){let F=bc(y,!1);T={top:-(F.top-P.top),left:-(F.left-P.left),width:0,height:0}}else(s.tagName==="BODY"||s.tagName==="HTML")&&$?T={top:0,left:0,width:0,height:0}:T=Rh(s,y,!1);let E=pe(s,y);return Wx(t,h,v,w,x,a,i,P,k,T,l,c,f,d,u,p,E,g)}function bc(e,t){let{top:r,left:n,width:o,height:a}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(o=e.offsetWidth,a=e.offsetHeight),{top:r,left:n,width:o,height:a}}function gc(e,t,r){let{top:n,left:o,width:a,height:i}=r||bc(e,t),{scrollTop:s,scrollLeft:l,clientTop:c,clientLeft:d}=document.documentElement;return{top:n+s-c,left:o+l-d,width:a,height:i}}function Rh(e,t,r,n){let o=window.getComputedStyle(e),a;if(o.position==="fixed")a=n||bc(e,r);else{a=gc(e,r,n);let i=gc(t,r),s=window.getComputedStyle(t);i.top+=(parseInt(s.borderTopWidth,10)||0)-t.scrollTop,i.left+=(parseInt(s.borderLeftWidth,10)||0)-t.scrollLeft,a.top-=i.top,a.left-=i.left}return a.top-=parseInt(o.marginTop,10)||0,a.left-=parseInt(o.marginLeft,10)||0,a}function Ux(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!_h(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!_h(t);)t=t.parentElement;return t||document.documentElement}function _h(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"}var Nh=S(D(),1),jx=new WeakMap;function Dh(e){let{triggerRef:t,isOpen:r,onClose:n}=e;(0,Nh.useEffect)(()=>{if(!r||n===null)return;let o=a=>{let i=Y(a);if(!t.current||i instanceof Node&&!pe(i,t.current)||i instanceof HTMLInputElement||i instanceof HTMLTextAreaElement)return;let s=n||jx.get(t.current);s&&s()};return Rt(El(t.current),"scroll",o,!0)},[r,n,t])}var Fh=S(D(),1);function Gx(){return typeof window.ResizeObserver<"u"}function us(e){let{ref:t,box:r,onResize:n}=e,o=ht(n);(0,Fh.useEffect)(()=>{let a=t?.current;if(a)if(Gx()){let i=new window.ResizeObserver(s=>{s.length&&o()});return i.observe(a,{box:r}),()=>{a&&i.unobserve(a)}}else return window.addEventListener("resize",o,!1),()=>{window.removeEventListener("resize",o,!1)}},[t,r])}var qn=S(D(),1),ti=typeof document<"u"?window.visualViewport:null;function Hh(e){let{direction:t}=dr(),{arrowSize:r,targetRef:n,overlayRef:o,arrowRef:a,scrollRef:i=o,placement:s="bottom",containerPadding:l=12,shouldFlip:c=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:u=0,crossOffset:p=0,shouldUpdatePosition:b=!0,isOpen:g=!0,onClose:y,maxHeight:$,arrowBoundaryOffset:m=0,getTargetRect:f}=e,[h,v]=(0,qn.useState)(null),x=[b,s,o.current,n.current,a?.current,i.current,l,c,d,u,p,g,t,$,m,r],w=(0,qn.useRef)(ti?.scale);(0,qn.useEffect)(()=>{g&&(w.current=ti?.scale)},[g]);let P=(0,qn.useCallback)(()=>{if(b===!1||!g||!o.current||!n.current||!d||ti?.scale!==w.current)return;let E=null;if(i.current&&ra(i.current)){let C=ye()?.getBoundingClientRect(),L=i.current.getBoundingClientRect();E={type:"top",offset:(C?.top??0)-L.top},E.offset>L.height/2&&(E.type="bottom",E.offset=(C?.bottom??0)-L.bottom)}let F=o.current;!$&&o.current&&(F.style.top="0px",F.style.bottom="",F.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+"px");let R=Ih({placement:Yx(s,t),overlayNode:o.current,targetNode:n.current,scrollNode:i.current||o.current,padding:l,shouldFlip:c,boundaryElement:d,offset:u,crossOffset:p,maxHeight:$,arrowSize:r??(a?.current?bc(a.current,!0).width:0),arrowBoundaryOffset:m,targetRect:f?.(n.current)});if(!R.position)return;F.style.top="",F.style.bottom="",F.style.left="",F.style.right="",Object.keys(R.position).forEach(C=>F.style[C]=R.position[C]+"px"),F.style.maxHeight=R.maxHeight!=null?R.maxHeight+"px":"";let _=ye();if(E&&_&&i.current){let C=_.getBoundingClientRect(),L=i.current.getBoundingClientRect(),z=C[E.type]-L[E.type];i.current.scrollTop+=z-E.offset}v(R)},x);de(P,x),Zx(P),us({ref:o,onResize:P}),us({ref:n,onResize:P});let k=(0,qn.useRef)(!1);de(()=>{let E,F=()=>{k.current=!0,clearTimeout(E),E=setTimeout(()=>{k.current=!1},500),P()},R=()=>{k.current&&F()};ti?.addEventListener("resize",F),ti?.addEventListener("scroll",R);let _=Rt(El(window),"scroll",R);return()=>{ti?.removeEventListener("resize",F),ti?.removeEventListener("scroll",R),_()}},[P]);let T=(0,qn.useCallback)(()=>{k.current||y?.()},[y,k]);return Dh({triggerRef:n,isOpen:g,onClose:y&&T}),{overlayProps:{style:{position:h?"absolute":"fixed",top:h?void 0:0,left:h?void 0:0,zIndex:1e5,...h?.position,maxHeight:h?.maxHeight??"100vh"}},placement:h?.placement??null,triggerAnchorPoint:h?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:h?.arrowOffsetLeft,top:h?.arrowOffsetTop}},updatePosition:P}}function Zx(e){de(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function Yx(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}var vf=S(D(),1);function Oh(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:o}=e,a=(0,vf.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=ht(l=>{r&&Ah(l,t)&&(o&&o(l),a.current.isPointerDown=!0)}),s=ht(l=>{r&&r(l)});(0,vf.useEffect)(()=>{let l=a.current;if(n)return;let c=t.current,d=ue(c);if(typeof PointerEvent<"u"){let u=p=>{l.isPointerDown&&Ah(p,t)&&s(p),l.isPointerDown=!1};return d.addEventListener("pointerdown",i,!0),d.addEventListener("click",u,!0),()=>{d.removeEventListener("pointerdown",i,!0),d.removeEventListener("click",u,!0)}}},[t,n])}function Ah(e,t){if(e.button>0)return!1;let r=Y(e);if(r){let n=r.ownerDocument;if(!n||!pe(n.documentElement,r)||r.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}var yf=S(D(),1),Qn=[];function zh(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:s}=e,l=(0,yf.useRef)(void 0);(0,yf.useEffect)(()=>{if(o&&!Qn.includes(t))return Qn.push(t),()=>{let g=Qn.indexOf(t);g>=0&&Qn.splice(g,1)}},[o,t]);let c=()=>{Qn[Qn.length-1]===t&&r&&r()},d=g=>{let y=Qn[Qn.length-1];l.current=y,(!s||s(Y(g)))&&y===t&&g.stopPropagation()},u=g=>{(!s||s(Y(g)))&&(Qn[Qn.length-1]===t&&g.stopPropagation(),l.current===t&&c()),l.current=void 0},{keyboardProps:p}=Pr({shortcuts:{Escape:()=>{if(!i){c();return}return!1}}});Oh({ref:t,onInteractOutside:a&&o?u:void 0,onInteractOutsideStart:d});let{focusWithinProps:b}=ln({isDisabled:!n,onBlurWithin:g=>{!g.relatedTarget||J7(g.relatedTarget)||(!s||s(g.relatedTarget))&&r?.()}});return{overlayProps:{...p,...b},underlayProps:{}}}var Xx=200,qx=50,Qx=600,pa=new WeakMap,$c=new Set,vc=new Set;function Jx(e,t){let r=Ji();if(e!==r||t.aborted)for(let n of vc)n(r),vc.delete(n);if(!e&&r&&rr()&&!t.aborted){window.clearInterval(pa.get(window)),pa.set(window,S2(Xx));return}if(e!==r||t.aborted)for(let n of $c)n(r),$c.delete(n);(vc.size+$c.size<=0||t.aborted)&&(window.clearInterval(pa.get(window)),pa.delete(window))}function S2(e=Qx){return window.setInterval(Jx,qx,Ji(),AbortSignal.timeout(e))}function yc(e){if(!Il())return e(!1),()=>{};let t=window.requestAnimationFrame(()=>{t=window.requestAnimationFrame(()=>{let r=document.hasFocus()?ye():null,n=Va(r);if(Ji()===n||Ji()&&!n)return e(n);vc.add(e),pa.has(window)||pa.set(window,S2())})});return()=>{window.cancelAnimationFrame(t),vc.delete(e)}}function E2(e){if(!Il())return e(!1),()=>{};let t=window.requestAnimationFrame(()=>{t=window.requestAnimationFrame(()=>{let r=document.hasFocus()?ye():null,n=Va(r);if(Ji()===n)return e(n);$c.add(e),pa.has(window)||pa.set(window,S2())})});return()=>{window.cancelAnimationFrame(t),$c.delete(e)}}var k2=typeof document<"u"&&window.visualViewport,xf=0,P2;function Bh(e={}){let{isDisabled:t,UNSTABLE_overrideFocus:r}=e;de(()=>{if(!t)return xf++,xf===1&&(yo()&&rr()?P2=tC():P2=eC(r)),()=>{xf--,xf===0&&P2()}},[t,r])}function eC(e){let t=window.innerWidth-document.documentElement.clientWidth;return er(t>0&&("scrollbarGutter"in document.documentElement.style?jn(document.documentElement,"scrollbar-gutter","stable"):jn(document.documentElement,"padding-right",`${t}px`)),jn(document.documentElement,"overflow","hidden"),e&&Vh(),e&&Il()&&Kh())}function tC(){let e=jn(document.documentElement,"overflow","hidden"),t,r=!1,n=c=>{let d=Y(c);t=Yn(d,!0)?d:Jl(d,!0),r=!1;let u=d.ownerDocument.defaultView.getSelection();u&&!u.isCollapsed&&u.containsNode(d,!0)&&(r=!0),c.composedPath().some(p=>p instanceof HTMLInputElement&&p.type==="range")&&(r=!0),"selectionStart"in d&&"selectionEnd"in d&&d.selectionStart<d.selectionEnd&&d.ownerDocument.activeElement===d&&(r=!0)},o=document.createElement("style"),a=ju();a&&(o.nonce=a),o.textContent=`
|
|
134
|
+
`.trim(),C.head.prepend(L)},[p]),(0,Pt.useEffect)(()=>{let C=$.current;return()=>{u||l2(C.target??void 0);for(let L of C.disposables)L();C.disposables=[]}},[u]),{isPressed:l||g,pressProps:le(b,I,{[G7]:!0})}}function d2(e){return e.tagName==="A"&&e.hasAttribute("href")}function c2(e,t){let{key:r,code:n}=e,o=t,i=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof He(o).HTMLInputElement&&!Y7(o,r)||o instanceof He(o).HTMLTextAreaElement||o.isContentEditable)&&!((i==="link"||!i&&d2(o))&&r!=="Enter")}function oa(e,t){let r=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n,key:t.key}}function Rx(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!d2(e)}function Z7(e,t){return ar()&&t==="Enter"?!1:e instanceof HTMLInputElement?t==="Enter"&&(e.type==="checkbox"||e.type==="radio")?!1:!Y7(e,t):Rx(e)}var _x=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Y7(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":_x.has(e.type)}var ic=S(D(),1);function fn(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,i=(0,ic.useRef)({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:s}=gi(),l=(0,ic.useCallback)(u=>{me(u.currentTarget,q(u))&&i.current.isFocusWithin&&!me(u.currentTarget,u.relatedTarget)&&(i.current.isFocusWithin=!1,s(),r&&r(u),o&&o(!1))},[r,o,i,s]),c=Du(l),d=(0,ic.useCallback)(u=>{if(!me(u.currentTarget,q(u)))return;let p=q(u),b=fe(p),g=xe(b);if(!i.current.isFocusWithin&&g===p){n&&n(u),o&&o(!0),i.current.isFocusWithin=!0,c(u);let y=u.currentTarget;a(b,"focus",$=>{let m=q($);if(i.current.isFocusWithin&&!me(y,m)){let f=new b.defaultView.FocusEvent("blur",{relatedTarget:m});Nu(f,y);let h=Fl(f);l(h)}},{capture:!0})}},[n,o,c,a,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:l}}}var bi=S(D(),1);function ac(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=(0,bi.useRef)({isFocused:!1,isFocusVisible:t||In()}),[i,a]=(0,bi.useState)(!1),[s,l]=(0,bi.useState)(()=>o.current.isFocused&&o.current.isFocusVisible),c=(0,bi.useCallback)(()=>l(o.current.isFocused&&o.current.isFocusVisible),[]),d=(0,bi.useCallback)(b=>{o.current.isFocused=b,o.current.isFocusVisible=In(),a(b),c()},[c]);J0(b=>{o.current.isFocusVisible=b,c()},[r,i],{enabled:i,isTextInput:r});let{focusProps:u}=ra({isDisabled:n,onFocusChange:d}),{focusWithinProps:p}=fn({isDisabled:!n,onFocusWithinChange:d});return{isFocused:i,isFocusVisible:s,focusProps:n?p:u}}var No=S(D(),1),u2=!1,of=0;function Mx(){u2=!0,setTimeout(()=>{u2=!1},500)}function X7(e){e.pointerType==="touch"&&Mx()}function Ix(){let e=fe(null);if(!(typeof e>"u"))return of===0&&typeof PointerEvent<"u"&&e.addEventListener("pointerup",X7),of++,()=>{of--,!(of>0)&&typeof PointerEvent<"u"&&e.removeEventListener("pointerup",X7)}}function Nn(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[i,a]=(0,No.useState)(!1),s=(0,No.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,No.useEffect)(Ix,[]);let{addGlobalListener:l,removeAllGlobalListeners:c}=gi(),{hoverProps:d,triggerHoverEnd:u}=(0,No.useMemo)(()=>{let p=(y,$)=>{if(s.pointerType=$,o||$==="touch"||s.isHovered||!me(y.currentTarget,q(y)))return;s.isHovered=!0;let m=y.currentTarget;s.target=m,l(fe(q(y)),"pointerover",f=>{s.isHovered&&s.target&&!me(s.target,q(f))&&b(f,f.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:m,pointerType:$}),r&&r(!0),a(!0)},b=(y,$)=>{let m=s.target;s.pointerType="",s.target=null,!($==="touch"||!s.isHovered||!m)&&(s.isHovered=!1,c(),n&&n({type:"hoverend",target:m,pointerType:$}),r&&r(!1),a(!1))},g={};return typeof PointerEvent<"u"&&(g.onPointerEnter=y=>{u2&&y.pointerType==="mouse"||p(y,y.pointerType)},g.onPointerLeave=y=>{!o&&me(y.currentTarget,q(y))&&b(y,y.pointerType)}),{hoverProps:g,triggerHoverEnd:b}},[t,r,n,o,s,l,c]);return(0,No.useEffect)(()=>{o&&u({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:d,isHovered:i}}var af=S(D(),1),sf=(0,af.createContext)({}),f2=ec(function(t,r){[t,r]=Dt(t,r,sf);let{elementType:n="label",...o}=t,i=rt[n];return af.default.createElement(i,{className:"react-aria-Label",...o,ref:r})});function lf(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:i="label"}=e;t=kt(t);let a=kt(),s={};r&&(n=n?`${a} ${n}`:a,s={id:a,htmlFor:i==="label"?t:void 0});let l=Wu({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:s,fieldProps:l}}function sc(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}var cf=S(D(),1),$i=(0,cf.createContext)({}),df=ec(function(t,r){[t,r]=Dt(t,r,$i);let{elementType:n="span",...o}=t,i=rt[n];return cf.default.createElement(i,{className:"react-aria-Text",...o,ref:r})});function ro(e,t){if(!e)return!1;let r=window.getComputedStyle(e),n=document.scrollingElement||document.documentElement,o=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return e===n&&r.overflow!=="hidden"&&(o=!0),o&&t&&(o=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),o}function lc(e,t){let r=e;for(ro(r,t)&&(r=r.parentElement);r&&!ro(r,t);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function uf(e,t){let r=[],n=document.scrollingElement||document.documentElement;for(;e&&(ro(e,t)&&r.push(e),e!==n);)e=e.parentElement;return r}function cc(e,t,r={}){if(e===t)return;let n=t.getBoundingClientRect();Nx(e,t,n,r)}function Nx(e,t,r,n={}){let{block:o="nearest",inline:i="nearest"}=n,a=e.scrollTop,s=e.scrollLeft,l=e.getBoundingClientRect(),c=window.getComputedStyle(t),d=window.getComputedStyle(e),u=document.scrollingElement||document.documentElement,p=e===u,b=e===u?0:l.top,g=e===u?e.clientHeight:l.bottom,y=e===u?0:l.left,$=e===u?e.clientWidth:l.right,m=parseFloat(c.scrollMarginTop)||0,f=parseFloat(c.scrollMarginBottom)||0,h=parseFloat(c.scrollMarginLeft)||0,v=parseFloat(c.scrollMarginRight)||0,x=parseFloat(d.scrollPaddingTop)||0,w=parseFloat(d.scrollPaddingBottom)||0,P=parseFloat(d.scrollPaddingLeft)||0,k=parseFloat(d.scrollPaddingRight)||0,T=parseFloat(d.borderTopWidth)||0,E=parseFloat(d.borderBottomWidth)||0,F=parseFloat(d.borderLeftWidth)||0,_=parseFloat(d.borderRightWidth)||0,I=r.top-m,C=r.bottom+f,L=r.left-h,O=r.right+v,M=e===u?0:F+_,Z=e===u?0:T+E,R=e===u?0:e.offsetWidth-e.clientWidth-M,te=e===u?0:e.offsetHeight-e.clientHeight-Z,X=b+(p?0:T)+x,K=g-(p?0:E)-w-te,j=y+(p?0:F)+P,z=$-(p?0:_)-k;Ro()&&sr()||d.direction==="ltr"?z-=R:d.direction==="rtl"&&(j+=R);let N=I<X||C>K,ie=L<j||O>z;if(N&&o==="start")a+=I-X;else if(N&&o==="center")a+=(I+C)/2-(X+K)/2;else if(N&&o==="end")a+=C-K;else if(N&&o==="nearest"){let J=I-X,Ee=C-K;a+=Math.abs(J)<=Math.abs(Ee)?J:Ee}if(ie&&i==="start")s+=L-j;else if(ie&&i==="center")s+=(L+O)/2-(j+z)/2;else if(ie&&i==="end")s+=O-z;else if(ie&&i==="nearest"){let J=L-j,Ee=O-z;s+=Math.abs(J)<=Math.abs(Ee)?J:Ee}e.scrollTo({left:s,top:a})}function p2(e,t={}){let{containingElement:r}=t;if(e&&e.isConnected){let n=document.scrollingElement||document.documentElement;if(window.getComputedStyle(n).overflow==="hidden"){let{left:i,top:a}=e.getBoundingClientRect(),s=uf(e,!0);for(let d of s)cc(d,e);let{left:l,top:c}=e.getBoundingClientRect();if(Math.abs(i-l)>1||Math.abs(a-c)>1){s=r?uf(r,!0):[];for(let d of s)cc(d,r,{block:"center",inline:"center"});for(let d of uf(e,!0))cc(d,e)}}else{let{left:i,top:a}=e.getBoundingClientRect();e?.scrollIntoView?.({block:"nearest"});let{left:s,top:l}=e.getBoundingClientRect();(Math.abs(i-s)>1||Math.abs(a-l)>1)&&(r?.scrollIntoView?.({block:"center",inline:"center"}),e.scrollIntoView?.({block:"nearest"}))}}}var q7=S(D(),1),Dx=0,m2=new Map;function Q7(e){let[t,r]=(0,q7.useState)();return ue(()=>{if(!e)return;let n=m2.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${Dx++}`;r(o);let i=document.createElement("div");i.id=o,i.style.display="none",i.textContent=e,document.body.appendChild(i),n={refCount:0,element:i},m2.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),m2.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}var ms=S(D(),1),J7={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 eh(e={}){let{style:t,isFocusable:r}=e,[n,o]=(0,ms.useState)(!1),{focusWithinProps:i}=fn({isDisabled:!r,onFocusWithinChange:s=>o(s)}),a=(0,ms.useMemo)(()=>n?t:t?{...J7,...t}:J7,[n]);return{visuallyHiddenProps:{...i,style:a}}}function dc(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...i}=e,{visuallyHiddenProps:a}=eh(e);return ms.default.createElement(r,le(i,a),t)}var uc=S(D(),1),th=(0,uc.createContext)(null);var zt=S(D(),1),oh={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},ih={...oh,customError:!0,valid:!1},fc={isInvalid:!1,validationDetails:oh,validationErrors:[]},Fx=(0,zt.createContext)({}),rh="__reactAriaFormValidationState";function ah(e){if(e[rh]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:i}=e[rh];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:i}}return Hx(e)}function Hx(e){let{isInvalid:t,validationState:r,name:n,value:o,builtinValidation:i,validate:a,validationBehavior:s="aria"}=e;r&&(t||=r==="invalid");let l=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:ih}:null,c=(0,zt.useMemo)(()=>{if(!a||o==null)return null;let E=Ax(a,o);return nh(E)},[a,o]);i?.validationDetails.valid&&(i=void 0);let d=(0,zt.useContext)(Fx),u=(0,zt.useMemo)(()=>n?Array.isArray(n)?n.flatMap(E=>g2(d[E])):g2(d[n]):[],[d,n]),[p,b]=(0,zt.useState)(d),[g,y]=(0,zt.useState)(!1);d!==p&&(b(d),y(!1));let $=(0,zt.useMemo)(()=>nh(g?[]:u),[g,u]),m=(0,zt.useRef)(fc),[f,h]=(0,zt.useState)(fc),v=(0,zt.useRef)(fc),x=()=>{if(!w)return;P(!1);let E=c||i||m.current;h2(E,v.current)||(v.current=E,h(E))},[w,P]=(0,zt.useState)(!1);return(0,zt.useEffect)(x),{realtimeValidation:l||$||c||i||fc,displayValidation:s==="native"?l||$||f:l||$||c||i||f,updateValidation(E){s==="aria"&&!h2(f,E)?h(E):m.current=E},resetValidation(){let E=fc;h2(E,v.current)||(v.current=E,h(E)),s==="native"&&P(!1),y(!0)},commitValidation(){s==="native"&&P(!0),y(!0)}}}function g2(e){return e?Array.isArray(e)?e:[e]:[]}function Ax(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return g2(r)}return[]}function nh(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:ih}:null}function h2(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,n)=>r===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([r,n])=>t.validationDetails[r]===n)}var ff=S(D(),1),sh=(0,ff.createContext)(null);function lh(e){let{description:t,errorMessage:r,isInvalid:n,validationState:o}=e,{labelProps:i,fieldProps:a}=lf(e),s=qn([!!t,!!r,n,o]),l=qn([!!t,!!r,n,o]);return a=le(a,{"aria-describedby":[s,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:i,fieldProps:a,descriptionProps:{id:s},errorMessageProps:{id:l}}}var ch=S(D(),1);function dh(e,t,r){let n=yt(o=>{r&&!o.defaultPrevented&&r(t)});(0,ch.useEffect)(()=>{let o=e?.current?.form;return o?.addEventListener("reset",n),()=>{o?.removeEventListener("reset",n)}},[e])}var pf=S(D(),1);function uh(e,t,r){let{validationBehavior:n,focus:o}=e;ue(()=>{if(n==="native"&&r?.current&&"setCustomValidity"in r.current&&!r.current.disabled){let c=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(c),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(Bx(r.current))}});let i=(0,pf.useRef)(!1),a=yt(()=>{i.current||t.resetValidation()}),s=yt(c=>{t.displayValidation.isInvalid||t.commitValidation();let d=r?.current?.form;!c.defaultPrevented&&r&&d&&Kx(d)===r.current&&(o?o():r.current?.focus(),ui("keyboard")),c.preventDefault()}),l=yt(()=>{t.commitValidation()});(0,pf.useEffect)(()=>{let c=r?.current;if(!c)return;let d=c.form,u=d?.reset;return d&&(d.reset=()=>{i.current=!window.event||window.event.type==="message"&&q(window.event)instanceof MessagePort,u?.call(d),i.current=!1}),c.addEventListener("invalid",s),c.addEventListener("change",l),d?.addEventListener("reset",a),()=>{c.removeEventListener("invalid",s),c.removeEventListener("change",l),d?.removeEventListener("reset",a),d&&(d.reset=u)}},[r,n])}function Ox(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function Bx(e){return{isInvalid:!e.validity.valid,validationDetails:Ox(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function Kx(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(r.validity?.valid===!1)return r}return null}var hs=S(D(),1);function zx(e=!0){let[t,r]=(0,hs.useState)(e),n=(0,hs.useRef)(!1),o=(0,hs.useCallback)(i=>{n.current=!0,r(!!i)},[]);return ue(()=>{n.current||r(!1)},[]),[o,t]}function fh(e=!0){let t=kt(),[r,n]=zx(e);return{id:n?t:void 0,ref:r}}var $r=S(D(),1),pc=(0,$r.createContext)({}),b2=(0,$r.createContext)(null),Vx=(0,$r.forwardRef)(function(t,r){let{render:n}=(0,$r.useContext)(b2);return $r.default.createElement($r.default.Fragment,null,n(t,r))});function $2(e,t){let r=e?.renderDropIndicator,n=e?.isVirtualDragging?.(),o=(0,$r.useCallback)(i=>{if(n||t?.isDropTarget(i))return r?r(i):$r.default.createElement(Vx,{target:i})},[t?.target,n,r]);return e?.useDropIndicator?o:void 0}function ph(e,t,r){let n=e.focusedKey,o=null;if(t?.isVirtualDragging?.()&&r?.target?.type==="item"&&(o=r.target.key,r.target.dropPosition==="after")){let i=r.collection.getKeyAfter(o),a=null;if(i!=null){let s=r.collection.getItem(o)?.level??0;for(;i!=null;){let l=r.collection.getItem(i);if(!l)break;if(l.type!=="item"){i=r.collection.getKeyAfter(i);continue}if((l.level??0)<=s)break;a=i,i=r.collection.getKeyAfter(i)}}o=i??a??o}return(0,$r.useMemo)(()=>new Set([n,o].filter(i=>i!=null)),[n,o])}var v2=S(D(),1),mf=(0,v2.createContext)({});var Wx=S(_n(),1),Do=S(D(),1);var Ux=(0,Do.createContext)(null);function gs(e){let t=(0,Do.useRef)({});return Do.default.createElement(Ux.Provider,{value:t},e.children)}var hf=S(D(),1),gf=(0,hf.createContext)({isSelected:!1});var y2=S(D(),1),bf=(0,y2.createContext)({}),mh=class extends dn{static{this.type="separator"}filter(t,r){let n=r.getItem(this.prevKey);if(n&&n.type!=="separator"){let o=this.clone();return r.addDescendants(o,t),o}return null}};var mc=new WeakMap;function jx(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function hh(e,t){let r=mc.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${jx(t)}`}var x2=class{constructor(t,r,n,o){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=a=>{if(a.nodeType===Node.ELEMENT_NODE){let s=a.shadowRoot;if(s){let l=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(l),NodeFilter.FILTER_ACCEPT}else{if(typeof this.filter=="function")return this.filter(a);if(this.filter?.acceptNode)return this.filter.acceptNode(a);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=r,this.filter=o??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=r,this._walkerStack.unshift(t.createTreeWalker(r,n,this._acceptNode));let i=r.shadowRoot;if(i){let a=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(a)}}get currentNode(){return this._currentNode}set currentNode(t){if(!me(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");let r=[],n=t,o=t;for(this._currentNode=t;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let a=n,s=this._doc.createTreeWalker(a,this.whatToShow,{acceptNode:this._acceptNode});r.push(s),s.currentNode=o,this._currentSetFor.add(s),n=o=a.host}else n=n.parentNode;let i=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});r.push(i),i.currentNode=o,this._currentSetFor.add(i),this._walkerStack=r}get doc(){return this._doc}firstChild(){let t=this.currentNode,r=this.nextNode();return me(t,r)?(r&&(this.currentNode=r),r):(this.currentNode=t,null)}lastChild(){let r=this._walkerStack[0].lastChild();return r&&(this.currentNode=r),r}nextNode(){let t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){let n;if(typeof this.filter=="function"?n=this.filter(t):this.filter?.acceptNode&&(n=this.filter.acceptNode(t)),n===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let o=this.nextNode();return o&&(this.currentNode=o),o}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.nextNode();return r&&(this.currentNode=r),r}else return null}previousNode(){let t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let n=this.previousNode();return n&&(this.currentNode=n),n}else return null;return null}let r=t.previousNode();if(r){if(r.shadowRoot){let o;if(typeof this.filter=="function"?o=this.filter(r):this.filter?.acceptNode&&(o=this.filter.acceptNode(r)),o===NodeFilter.FILTER_ACCEPT)return r&&(this.currentNode=r),r;let i=this.lastChild();return i&&(this.currentNode=i),i}return r&&(this.currentNode=r),r}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.previousNode();return n&&(this.currentNode=n),n}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}};function $f(e,t,r,n){return Mr()?new x2(e,t,r,n):e.createTreeWalker(t,r,n)}var mt=S(D(),1),gh=mt.default.createContext(null),C2="react-aria-focus-scope-restore",qe=null;function aa(e){let{children:t,contain:r,restoreFocus:n,autoFocus:o}=e,i=(0,mt.useRef)(null),a=(0,mt.useRef)(null),s=(0,mt.useRef)([]),{parentNode:l}=(0,mt.useContext)(gh)||{},c=(0,mt.useMemo)(()=>new gc({scopeRef:s}),[s]);ue(()=>{let p=l||Tt.root;if(Tt.getTreeNode(p.scopeRef)&&qe&&!vf(qe,p.scopeRef)){let b=Tt.getTreeNode(qe);b&&(p=b)}p.addChild(c),Tt.addNode(c)},[c,l]),ue(()=>{let p=Tt.getTreeNode(s);p&&(p.contain=!!r)},[r]),ue(()=>{let p=i.current?.nextSibling,b=[],g=y=>y.stopPropagation();for(;p&&p!==a.current;)b.push(p),p.addEventListener(C2,g),p=p.nextSibling;return s.current=b,()=>{for(let y of b)y.removeEventListener(C2,g)}},[t]),Qx(s,n,r),Xx(s,r),Jx(s,n,r),qx(s,o),(0,mt.useEffect)(()=>{let p=xe(fe(s.current?s.current[0]:void 0)),b=null;if(mn(p,s.current)){for(let g of Tt.traverse())g.scopeRef&&mn(p,g.scopeRef.current)&&(b=g);b===Tt.getTreeNode(s)&&(qe=b.scopeRef)}},[s]),ue(()=>()=>{let p=Tt.getTreeNode(s)?.parent?.scopeRef??null;(s===qe||vf(s,qe))&&(!p||Tt.getTreeNode(p))&&(qe=p),Tt.removeTreeNode(s)},[s]);let d=(0,mt.useMemo)(()=>Gx(s),[]),u=(0,mt.useMemo)(()=>({focusManager:d,parentNode:c}),[c,d]);return mt.default.createElement(gh.Provider,{value:u},mt.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:i}),t,mt.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:a}))}function Gx(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:o,wrap:i,accept:a}=t,s=n||xe(fe(r[0]??void 0)),l=r[0].previousElementSibling,c=ia(r),d=pn(c,{tabbable:o,accept:a},r);d.currentNode=mn(s,r)?s:l;let u=d.nextNode();return!u&&i&&(d.currentNode=l,u=d.nextNode()),u&&Dn(u,!0),u},focusPrevious(t={}){let r=e.current,{from:n,tabbable:o,wrap:i,accept:a}=t,s=n||xe(fe(r[0]??void 0)),l=r[r.length-1].nextElementSibling,c=ia(r),d=pn(c,{tabbable:o,accept:a},r);d.currentNode=mn(s,r)?s:l;let u=d.previousNode();return!u&&i&&(d.currentNode=l,u=d.previousNode()),u&&Dn(u,!0),u},focusFirst(t={}){let r=e.current,{tabbable:n,accept:o}=t,i=ia(r),a=pn(i,{tabbable:n,accept:o},r);a.currentNode=r[0].previousElementSibling;let s=a.nextNode();return s&&Dn(s,!0),s},focusLast(t={}){let r=e.current,{tabbable:n,accept:o}=t,i=ia(r),a=pn(i,{tabbable:n,accept:o},r);a.currentNode=r[r.length-1].nextElementSibling;let s=a.previousNode();return s&&Dn(s,!0),s}}}function ia(e){return e[0].parentElement}function hc(e){let t=Tt.getTreeNode(qe);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Zx(e){if(!e.form)return Array.from(fe(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(n=>!n.form);let t=e.form.elements.namedItem(e.name),r=He(e);return t instanceof r.RadioNodeList?Array.from(t).filter(n=>n instanceof r.HTMLInputElement):t instanceof r.HTMLInputElement?[t]:[]}function Yx(e){if(e.checked)return!0;let t=Zx(e);return t.length>0&&!t.some(r=>r.checked)}function Xx(e,t){let r=(0,mt.useRef)(void 0),n=(0,mt.useRef)(void 0);ue(()=>{let o=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}let i=fe(o?o[0]:void 0),a=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!hc(e)||c.isComposing)return;let d=xe(i),u=e.current;if(!u||!mn(d,u))return;let p=ia(u),b=pn(p,{tabbable:!0},u);if(!d)return;b.currentNode=d;let g=c.shiftKey?b.previousNode():b.nextNode();g||(b.currentNode=c.shiftKey?u[u.length-1].nextElementSibling:u[0].previousElementSibling,g=c.shiftKey?b.previousNode():b.nextNode()),c.preventDefault(),g&&(Dn(g,!0),g instanceof He(g).HTMLInputElement&&g.select())},s=c=>{(!qe||vf(qe,e))&&mn(q(c),e.current)?(qe=e,r.current=q(c)):hc(e)&&!vi(q(c),e)?r.current?Dn(r.current):qe&&qe.current&&w2(qe.current):hc(e)&&(r.current=q(c))},l=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let d=to(),u=(d==="virtual"||d===null)&&_o()&&Hu(),p=xe(i);if(!u&&p&&hc(e)&&!vi(p,e)){qe=e;let b=q(c);b&&b.isConnected?(r.current=b,Dn(r.current)):qe.current&&w2(qe.current)}})};return i.addEventListener("keydown",a,!1),i.addEventListener("focusin",s,!1),o?.forEach(c=>c.addEventListener("focusin",s,!1)),o?.forEach(c=>c.addEventListener("focusout",l,!1)),()=>{i.removeEventListener("keydown",a,!1),i.removeEventListener("focusin",s,!1),o?.forEach(c=>c.removeEventListener("focusin",s,!1)),o?.forEach(c=>c.removeEventListener("focusout",l,!1))}},[e,t]),ue(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function vh(e){return vi(e)}function mn(e,t){return!e||!t?!1:t.some(r=>me(r,e))}function vi(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of Tt.traverse(Tt.getTreeNode(t)))if(r&&mn(e,r.current))return!0;return!1}function yh(e){return vi(e,qe)}function vf(e,t){let r=Tt.getTreeNode(t)?.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function Dn(e,t=!1){if(e!=null&&!t)try{un(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function xh(e,t=!0){let r=e[0].previousElementSibling,n=ia(e),o=pn(n,{tabbable:t},e);o.currentNode=r;let i=o.nextNode();return t&&!i&&(n=ia(e),o=pn(n,{tabbable:!1},e),o.currentNode=r,i=o.nextNode()),i}function w2(e,t=!0){Dn(xh(e,t))}function qx(e,t){let r=mt.default.useRef(t);(0,mt.useEffect)(()=>{if(r.current){qe=e;let n=fe(e.current?e.current[0]:void 0);!mn(xe(n),qe.current)&&e.current&&w2(e.current)}r.current=!1},[e])}function Qx(e,t,r){ue(()=>{if(t||r)return;let n=e.current,o=fe(n?n[0]:void 0),i=a=>{let s=q(a);mn(s,e.current)?qe=e:vh(s)||(qe=null)};return o.addEventListener("focusin",i,!1),n?.forEach(a=>a.addEventListener("focusin",i,!1)),()=>{o.removeEventListener("focusin",i,!1),n?.forEach(a=>a.removeEventListener("focusin",i,!1))}},[e,t,r])}function bh(e){let t=Tt.getTreeNode(qe);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function Jx(e,t,r){let n=(0,mt.useRef)(typeof document<"u"?xe(fe(e.current?e.current[0]:void 0)):null);ue(()=>{let o=e.current,i=fe(o?o[0]:void 0);if(!t||r)return;let a=()=>{(!qe||vf(qe,e))&&mn(xe(i),e.current)&&(qe=e)};return i.addEventListener("focusin",a,!1),o?.forEach(s=>s.addEventListener("focusin",a,!1)),()=>{i.removeEventListener("focusin",a,!1),o?.forEach(s=>s.removeEventListener("focusin",a,!1))}},[e,r]),ue(()=>{let o=fe(e.current?e.current[0]:void 0);if(!t)return;let i=a=>{if(a.key!=="Tab"||a.altKey||a.ctrlKey||a.metaKey||!hc(e)||a.isComposing)return;let s=o.activeElement;if(!vi(s,e)||!bh(e))return;let l=Tt.getTreeNode(e);if(!l)return;let c=l.nodeToRestore,d=pn(o.body,{tabbable:!0});d.currentNode=s;let u=a.shiftKey?d.previousNode():d.nextNode();if((!c||!c.isConnected||c===o.body)&&(c=void 0,l.nodeToRestore=void 0),(!u||!vi(u,e))&&c){d.currentNode=c;do u=a.shiftKey?d.previousNode():d.nextNode();while(vi(u,e));a.preventDefault(),a.stopPropagation(),u?Dn(u,!0):vh(c)?Dn(c,!0):s.blur()}};return r||o.addEventListener("keydown",i,!0),()=>{r||o.removeEventListener("keydown",i,!0)}},[e,t,r]),ue(()=>{let o=fe(e.current?e.current[0]:void 0);if(!t)return;let i=Tt.getTreeNode(e);if(i)return i.nodeToRestore=n.current??void 0,()=>{let a=Tt.getTreeNode(e);if(!a)return;let s=a.nodeToRestore,l=xe(o);if(t&&s&&(l&&vi(l,e)||l===o.body&&bh(e))){let c=Tt.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let d=c.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){$h(d.nodeToRestore);return}d=d.parent}for(d=c.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&Tt.getTreeNode(d.scopeRef)){let u=xh(d.scopeRef.current,!0);if(u){$h(u);return}}d=d.parent}}})}}},[e,t])}function $h(e){e.dispatchEvent(new CustomEvent(C2,{bubbles:!0,cancelable:!0}))&&Dn(e)}function pn(e,t,r){let n=t?.tabbable?ns:rs,o=e?.nodeType===Node.ELEMENT_NODE?e:null,i=fe(o),a=$f(i,e||i,NodeFilter.SHOW_ELEMENT,{acceptNode(s){return me(t?.from,s)||t?.tabbable&&s.tagName==="INPUT"&&s.getAttribute("type")==="radio"&&(!Yx(s)||a.currentNode.tagName==="INPUT"&&a.currentNode.type==="radio"&&a.currentNode.name===s.name)?NodeFilter.FILTER_REJECT:n(s)&&(!r||mn(s,r))&&(!t?.accept||t.accept(s))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t?.from&&(a.currentNode=t.from),a}var S2=class e{constructor(){this.fastMap=new Map,this.root=new gc({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null);if(!o)return;let i=new gc({scopeRef:t});o.addChild(i),i.parent=o,this.fastMap.set(t,i),n&&(i.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t);if(!r)return;let n=r.parent;for(let i of this.traverse())i!==r&&r.nodeToRestore&&i.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&mn(i.nodeToRestore,r.scopeRef.current)&&(i.nodeToRestore=r.nodeToRestore);let o=r.children;n&&(n.removeChild(r),o.size>0&&o.forEach(i=>n&&n.addChild(i))),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 e;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent?.scopeRef??null,r.nodeToRestore);return t}},gc=class{constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}},Tt=new S2;function bc(e){return e7()?e.altKey:e.ctrlKey}function no(e,t){let r=`[data-key="${CSS.escape(String(t))}"]`,n=e.current?.dataset.collection;return n&&(r=`[data-collection="${CSS.escape(n)}"]${r}`),e.current?.querySelector(r)}var Ch=new WeakMap;function wh(e){let t=kt();return Ch.set(e,t),t}function Sh(e){return Ch.get(e)}var yf=S(D(),1),Eh=1e3;function kh(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=(0,yf.useRef)({search:"",timeout:void 0}),i=s=>{if(o.current.search.length>0&&s.key===" "){if(s.preventDefault(),(!("continuePropagation"in s)||"continuePropagation"in s&&!s.isPropagationStopped())&&s.stopPropagation(),o.current.search+=" ",t.getKeyForSearch!=null){let l=t.getKeyForSearch(o.current.search,r.focusedKey);l==null&&(l=t.getKeyForSearch(o.current.search)),l!=null&&(r.setFocusedKey(l),n&&n(l))}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},Eh)}},a=s=>{let l=eC(s.key);if(!(!l||s.ctrlKey||s.metaKey||s.altKey||!me(s.currentTarget,q(s))||o.current.search.length===0&&l===" ")){if(o.current.search+=l,t.getKeyForSearch!=null){let c=t.getKeyForSearch(o.current.search,r.focusedKey);if(c==null&&(c=t.getKeyForSearch(o.current.search)),c!=null)r.setFocusedKey(c),n&&n(c),s.preventDefault(),"continuePropagation"in s||s.stopPropagation();else{o.current.search="",clearTimeout(o.current.timeout),o.current.timeout=void 0;return}}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},Eh)}};return(0,yf.useEffect)(()=>{let s=o.current.timeout;return()=>{clearTimeout(s)}},[o]),{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?i:void 0,onKeyDown:t.getKeyForSearch?a:void 0}}}function eC(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}var E2=S(D(),1);function k2(e,t){let r=(0,E2.useRef)(!0),n=(0,E2.useRef)(null);ue(()=>(r.current=!0,()=>{r.current=!1}),[]),ue(()=>{r.current?r.current=!1:(!n.current||t.some((o,i)=>!Object.is(o,n[i])))&&e(),n.current=t},t)}var Ph=S(_n(),1),Fn=S(D(),1);function Th(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:o=!1,shouldFocusWrap:i=!1,disallowEmptySelection:a=!1,disallowSelectAll:s=!1,escapeKeyBehavior:l="clearSelection",selectOnFocus:c=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:u,allowsTabNavigation:p=!1,scrollRef:b=n,linkBehavior:g="action",UNSTABLE_focusOnEntry:y}=e,{direction:$}=hr(),m=Yi(),f=(H,V,de)=>{if(V!=null){if(t.isLink(V)&&g==="selection"&&c&&!bc(H)){(0,Ph.flushSync)(()=>{t.setFocusedKey(V,de)});let Y=no(n,V),je=t.getItemProps(V);if(Y){m.open(Y,H,je.href,je.routerOptions);return}return!1}if(t.setFocusedKey(V,de),t.isLink(V)&&g==="override")return!1;if(H.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(V);return}else if(c&&!bc(H)){t.replaceSelection(V);return}}return!1},h=H=>{if(r.getKeyBelow){let V=t.focusedKey!=null?r.getKeyBelow?.(t.focusedKey):r.getFirstKey?.();if(V==null&&i&&(V=r.getFirstKey?.(t.focusedKey)),V!=null){f(H,V);return}}return!1},v=H=>{if(r.getKeyAbove){let V=t.focusedKey!=null?r.getKeyAbove?.(t.focusedKey):r.getLastKey?.();if(V==null&&i&&(V=r.getLastKey?.(t.focusedKey)),V!=null){f(H,V);return}}return!1},x=H=>{if(r.getFirstKey){if(t.focusedKey===null&&H.shiftKey)return!1;let V=r.getFirstKey(t.focusedKey,Ji(H));if(t.setFocusedKey(V),V!=null){if(Ji(H)&&H.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(V);return}else if(c){t.replaceSelection(V);return}}}return!1},w=H=>{if(r.getKeyLeftOf){let V=t.focusedKey!=null?r.getKeyLeftOf?.(t.focusedKey):r.getFirstKey?.();if(V==null&&i&&(V=$==="rtl"?r.getFirstKey?.(t.focusedKey):r.getLastKey?.(t.focusedKey)),V!=null){f(H,V,$==="rtl"?"first":"last");return}}return!1},P=H=>{if(r.getKeyRightOf){let V=t.focusedKey!=null?r.getKeyRightOf?.(t.focusedKey):r.getFirstKey?.();if(V==null&&i&&(V=$==="rtl"?r.getLastKey?.(t.focusedKey):r.getFirstKey?.(t.focusedKey)),V!=null){f(H,V,$==="rtl"?"last":"first");return}}return!1},k=H=>{if(r.getLastKey){if(t.focusedKey===null&&H.shiftKey)return!1;let V=r.getLastKey(t.focusedKey,Ji(H));if(t.setFocusedKey(V),V!=null){if(Ji(H)&&H.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(V);return}else if(c){t.replaceSelection(V);return}}}return!1},T=H=>{if(r.getKeyPageBelow&&t.focusedKey!=null){let V=r.getKeyPageBelow(t.focusedKey);if(V!=null)return f(H,V)}return!1},E=H=>{if(r.getKeyPageAbove&&t.focusedKey!=null){let V=r.getKeyPageAbove(t.focusedKey);if(V!=null)return f(H,V)}return!1},F=()=>{if(t.selectionMode==="multiple"&&s!==!0){t.selectAll();return}return!1},_=()=>{if(l==="clearSelection"&&!a&&t.selectedKeys.size!==0){t.clearSelection();return}return!1},I=()=>{if(!p&&n.current){let H=pn(n.current,{tabbable:!0}),V,de;do de=H.lastChild(),de&&(V=de);while(de);let Y=xe();V&&(!di(V)||Y&&!ns(Y))&&mr(V)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},C=()=>(!p&&n.current&&n.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1}),L=(H,V)=>({[ar()?H+"+Shift+Alt":H+"+Shift+Control"]:V,[H+"+Shift"]:V,[ar()?H+"+Alt":H+"+Control"]:V,[H]:V}),{keyboardProps:O}=Ir({shortcuts:{...L("ArrowDown",h),...L("ArrowUp",v),...L("ArrowLeft",w),...L("ArrowRight",P),...L("PageDown",T),...L("PageUp",E)},allowRepeats:!0}),{keyboardProps:M}=Ir({shortcuts:{...L("Home",x),...L("End",k),"Mod+A":F,Escape:_,Tab:I,"Tab+Shift":C}}),Z=(0,Fn.useRef)({top:0,left:0});Vl(b,"scroll",()=>{Z.current={top:b.current?.scrollTop??0,left:b.current?.scrollLeft??0}});let R=H=>{if(t.isFocused){me(H.currentTarget,q(H))||t.setFocused(!1);return}if(!me(H.currentTarget,q(H)))return;let V=to();t.setFocused(!0);let de=Y=>{Y!=null&&(t.setFocusedKey(Y),c&&!t.isSelected(Y)&&t.replaceSelection(Y))};if(y&&(V==="keyboard"||V==="virtual"))de(y==="first"?r.getFirstKey?.():r.getLastKey?.());else if(t.focusedKey==null){let Y=H.relatedTarget;Y&&H.currentTarget.compareDocumentPosition(Y)&Node.DOCUMENT_POSITION_FOLLOWING?de(t.lastSelectedKey??r.getLastKey?.()):de(t.firstSelectedKey??r.getFirstKey?.())}else b.current&&(b.current.scrollTop=Z.current.top,b.current.scrollLeft=Z.current.left);if(t.focusedKey!=null&&b.current){let Y=no(n,t.focusedKey);Y instanceof HTMLElement&&(!di(Y)&&!u&&mr(Y),(V==="keyboard"||y&&V==="virtual")&&p2(Y,{containingElement:n.current}))}},te=H=>{me(H.currentTarget,H.relatedTarget)||t.setFocused(!1)},X=(0,Fn.useRef)(!1);Vl(n,q8,u?H=>{let{detail:V}=H;H.stopPropagation(),t.setFocused(!0),V?.focusStrategy==="first"&&(X.current=!0)}:void 0);let K=r.getFirstKey?.()??null;k2(()=>{if(X.current)if(K==null){let H=xe();_u(n.current),j0(H,null),t.collection.size>0&&(X.current=!1)}else t.setFocusedKey(K),X.current=!1},[K,t.collection.size]),k2(()=>{t.collection.size>0&&(X.current=!1)},[t.focusedKey]),Vl(n,X8,u?H=>{H.stopPropagation(),t.setFocused(!1),H.detail?.clearFocusKey&&t.setFocusedKey(null)}:void 0);let j=(0,Fn.useRef)(o),z=(0,Fn.useRef)(!1);(0,Fn.useEffect)(()=>{if(j.current){let H=null;o==="first"&&(H=r.getFirstKey?.()??null),o==="last"&&(H=r.getLastKey?.()??null);let V=t.selectedKeys;if(V.size){for(let de of V)if(t.canSelectItem(de)){H=de;break}}t.setFocused(!0),t.setFocusedKey(H),H!=null&&c&&!V.size&&t.canSelectItem(H)&&t.replaceSelection(H),H==null&&!u&&n.current&&un(n.current),t.collection.size>0&&(j.current=!1,z.current=!0)}});let N=(0,Fn.useRef)(t.focusedKey),ie=(0,Fn.useRef)(null);(0,Fn.useEffect)(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==N.current||z.current)&&b.current&&n.current){let H=to(),V=no(n,t.focusedKey);if(!(V instanceof HTMLElement))return;(H==="keyboard"||z.current)&&(ie.current&&cancelAnimationFrame(ie.current),ie.current=requestAnimationFrame(()=>{b.current&&(cc(b.current,V),H!=="virtual"&&p2(V,{containingElement:n.current}))}))}!u&&t.isFocused&&t.focusedKey==null&&N.current!=null&&n.current&&un(n.current),N.current=t.focusedKey,z.current=!1}),(0,Fn.useEffect)(()=>()=>{ie.current&&cancelAnimationFrame(ie.current)},[]),Vl(n,"react-aria-focus-scope-restore",H=>{H.preventDefault(),t.setFocused(!0)});let J={...le(M,O),onFocus:R,onBlur:te,onMouseDown(H){b.current===q(H)&&H.preventDefault()}},{typeSelectProps:Ee}=kh({keyboardDelegate:r,selectionManager:t});d||(J=le(Ee,J));let ft;u||(ft=t.focusedKey==null?0:-1);let ce=wh(t.collection);return{collectionProps:le(J,{tabIndex:ft,"data-collection":ce})}}var $c=class{constructor(t){this.ref=t}getItemRect(t){let r=this.ref.current;if(!r)return null;let n=t!=null?no(this.ref,t):null;if(!n)return null;let o=r.getBoundingClientRect(),i=n.getBoundingClientRect();return{x:i.left-o.left-r.clientLeft+r.scrollLeft,y:i.top-o.top-r.clientTop+r.scrollTop,width:i.width,height:i.height}}getContentSize(){let t=this.ref.current;return{width:t?.scrollWidth??0,height:t?.scrollHeight??0}}getVisibleRect(){let t=this.ref.current;return{x:t?.scrollLeft??0,y:t?.scrollTop??0,width:t?.clientWidth??0,height:t?.clientHeight??0}}};var sa=class{constructor(...t){if(t.length===1){let r=t[0];this.collection=r.collection,this.ref=r.ref,this.collator=r.collator,this.disabledKeys=r.disabledKeys||new Set,this.disabledBehavior=r.disabledBehavior||"all",this.orientation=r.orientation||"vertical",this.direction=r.direction,this.layout=r.layout||"stack",this.layoutDelegate=r.layoutDelegate||new $c(r.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new $c(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(t){return this.disabledBehavior==="all"&&(t.props?.isDisabled||this.disabledKeys.has(t.key))&&t.props?.disabledBehavior!=="selection"}findNextNonDisabled(t,r,n=!1){let o=t;for(;o!=null;){let i=this.collection.getItem(o);if(i?.type==="item"&&(n||!this.isDisabled(i)))return o;o=r(o)}return null}getNextKey(t,r){let n=t;return n=this.collection.getKeyAfter(n),this.findNextNonDisabled(n,o=>this.collection.getKeyAfter(o),r?.includeDisabled)}getPreviousKey(t,r){let n=t;return n=this.collection.getKeyBefore(n),this.findNextNonDisabled(n,o=>this.collection.getKeyBefore(o),r?.includeDisabled)}findKey(t,r,n){let o=t,i=this.layoutDelegate.getItemRect(o);if(!i||o==null)return null;let a=i;do{if(o=r(o),o==null)break;i=this.layoutDelegate.getItemRect(o)}while(i&&n(a,i)&&o!=null);return o}isSameRow(t,r){return t.y===r.y||t.x!==r.x}isSameColumn(t,r){return t.x===r.x||t.y!==r.y}isReversed(t){let r=this.getNextKey(t),n=no(this.ref,t);if(r!=null){let i=no(this.ref,r);return!n||!i?!1:n.getBoundingClientRect().top>i.getBoundingClientRect().top}let o=this.getPreviousKey(t);if(o!=null){let i=no(this.ref,o);return!n||!i?!1:i.getBoundingClientRect().top>n.getBoundingClientRect().top}return!1}getKeyBelow(t,r){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getNextKey(n,r),this.isSameRow):this.orientation==="vertical"?this.isReversed(t)?this.getPreviousKey(t,r):this.getNextKey(t,r):this.getNextKey(t,r)}getKeyAbove(t,r){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getPreviousKey(n,r),this.isSameRow):this.orientation==="vertical"?this.isReversed(t)?this.getNextKey(t,r):this.getPreviousKey(t,r):this.getPreviousKey(t,r)}getNextColumn(t,r,n){return r?this.getPreviousKey(t,n):this.getNextKey(t,n)}getKeyRightOf(t,r){let n=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[n]?(t=this.layoutDelegate[n](t),this.findNextNonDisabled(t,o=>this.layoutDelegate[n](o),r?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl",r):this.findKey(t,o=>this.getNextColumn(o,this.direction==="rtl",r),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl",r):null}getKeyLeftOf(t,r){let n=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[n]?(t=this.layoutDelegate[n](t),this.findNextNonDisabled(t,o=>this.layoutDelegate[n](o),r?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr",r):this.findKey(t,o=>this.getNextColumn(o,this.direction==="ltr",r),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr",r):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,r=>this.collection.getKeyAfter(r))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,r=>this.collection.getKeyBefore(r))}getKeyPageAbove(t){let r=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;let o=this.isReversed(t);if(r&&!ro(r))return this.getFirstKey();let i=t;if(this.orientation==="horizontal"){let a=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>a&&i!=null;)i=this.getKeyAbove(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}else{let a=this.layoutDelegate.getVisibleRect(),s=o?n.y-a.height:Math.max(0,n.y+n.height-a.height);for(;n&&n.y>s&&i!=null;)i=this.getKeyAbove(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}return i??(o?this.getLastKey():this.getFirstKey())}getKeyPageBelow(t){let r=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;let o=this.isReversed(t);if(r&&!ro(r))return this.getLastKey();let i=t;if(this.orientation==="horizontal"){let a=Math.min(this.layoutDelegate.getContentSize().width,n.x-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<a&&i!=null;)i=this.getKeyBelow(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}else{let a=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<a&&i!=null;)i=this.getKeyBelow(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}return i??(o?this.getFirstKey():this.getLastKey())}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,o=r||this.getFirstKey();for(;o!=null;){let i=n.getItem(o);if(!i)return null;let a=i.textValue.slice(0,t.length);if(i.textValue&&this.collator.compare(a,t)===0)return o;o=this.getNextKey(o)}return null}};var P2=new Map;function vc(e){let{locale:t}=hr(),r=t+(e?Object.entries(e).sort((o,i)=>o[0]<i[0]?-1:1).join():"");if(P2.has(r))return P2.get(r);let n=new Intl.Collator(t,e);return P2.set(r,n),n}var Lh=S(D(),1);function xf(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:o,keyboardDelegate:i,layoutDelegate:a,orientation:s}=e,l=vc({usage:"search",sensitivity:"base"}),c=t.disabledBehavior,d=(0,Lh.useMemo)(()=>i||new sa({collection:r,disabledKeys:n,disabledBehavior:c,ref:o,collator:l,layoutDelegate:a,orientation:s}),[i,a,r,n,o,l,c,s]),{collectionProps:u}=Th({...e,ref:o,selectionManager:t,keyboardDelegate:d});return{listProps:u}}function T2(e,t,r){let n=ze(e,{labelable:!0}),o=e.selectionBehavior||"toggle",i=e.orientation||"vertical",a=e.linkBehavior||(o==="replace"?"action":"override");o==="toggle"&&a==="action"&&(a="override");let{listProps:s}=xf({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:l}=fn({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),c=kt(e.id);mc.set(t,{id:c,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:d,fieldProps:u}=lf({...e,id:c,labelElementType:"span"});return{labelProps:d,listBoxProps:le(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox","aria-orientation":i,...le(u,s)})}}var Rh=S(D(),1),tC=500;function _h(e){let{isDisabled:t,pointerType:r,onLongPressStart:n,onLongPressEnd:o,onLongPress:i,threshold:a=tC,accessibilityDescription:s}=e,l=(0,Rh.useRef)(void 0),{addGlobalListener:c,removeAllGlobalListeners:d}=gi(),u=g=>r?g.pointerType===r:g.pointerType==="mouse"||g.pointerType==="touch",{pressProps:p}=Io({isDisabled:t,onPressStart(g){if(g.continuePropagation(),u(g)){n&&n({...g,type:"longpressstart"}),l.current=setTimeout(()=>{g.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),c(g.target,"click",$=>$.preventDefault(),{once:!0}),fe(g.target).activeElement!==g.target&&mr(g.target),i&&i({...g,type:"longpress"}),l.current=void 0},a),g.pointerType==="touch"&&c(g.target,"contextmenu",$=>$.preventDefault(),{once:!0});let y=He(g.target);c(y,"pointerup",()=>{setTimeout(()=>{d()},100)},{once:!0})}},onPressEnd(g){l.current&&clearTimeout(l.current),o&&u(g)&&o({...g,type:"longpressend"})}}),b=Q7(i&&!t?s:void 0);return{longPressProps:le(p,b)}}var la=S(D(),1);function Cf(e){let{id:t,selectionManager:r,key:n,ref:o,shouldSelectOnPressUp:i,shouldUseVirtualFocus:a,focus:s,isDisabled:l,onAction:c,allowsDifferentPressOrigin:d,linkBehavior:u="action"}=e,p=Yi();t=kt(t);let b=N=>{if(N.pointerType==="keyboard"&&bc(N))r.toggleSelection(n);else{if(r.selectionMode==="none")return;if(r.isLink(n)){if(u==="selection"&&o.current){let ie=r.getItemProps(n);p.open(o.current,N,ie.href,ie.routerOptions),r.setSelectedKeys(r.selectedKeys);return}else if(u==="override"||u==="none")return}r.selectionMode==="single"?r.isSelected(n)&&!r.disallowEmptySelection?r.toggleSelection(n):r.replaceSelection(n):N&&N.shiftKey?r.extendSelection(n):r.selectionBehavior==="toggle"||N&&(Ji(N)||N.pointerType==="touch"||N.pointerType==="virtual")?r.toggleSelection(n):r.replaceSelection(n)}};(0,la.useEffect)(()=>{n===r.focusedKey&&r.isFocused&&(a?_u(o.current):s?s():xe()!==o.current&&o.current&&un(o.current))},[o,n,r.focusedKey,r.childFocusStrategy,r.isFocused,a]),l=l||r.isDisabled(n);let g={};!a&&!l?g={tabIndex:n===r.focusedKey?0:-1,onFocus(N){q(N)===o.current&&r.setFocusedKey(n)}}:l&&(g.onMouseDown=N=>{N.preventDefault()}),(0,la.useEffect)(()=>{l&&r.focusedKey===n&&r.setFocusedKey(null)},[r,l,n]);let y=r.isLink(n)&&u==="override",$=c&&e.UNSTABLE_itemBehavior==="action",m=r.isLink(n)&&u!=="selection"&&u!=="none",f=!l&&r.canSelectItem(n)&&!y&&!$,h=(c||m)&&!l,v=h&&(r.selectionBehavior==="replace"?!f:!f||r.isEmpty),x=h&&f&&r.selectionBehavior==="replace",w=v||x,P=(0,la.useRef)(null),k=w&&f,T=(0,la.useRef)(!1),E=(0,la.useRef)(!1),F=r.getItemProps(n),_=N=>{c&&(c(),o.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),m&&o.current&&p.open(o.current,N,F.href,F.routerOptions)},I={ref:o};i?(I.onPressStart=N=>{P.current=N.pointerType,T.current=k,N.pointerType==="keyboard"&&(!w||Ih(N.key))&&b(N)},d?(I.onPressUp=v?void 0:N=>{N.pointerType==="mouse"&&f&&b(N)},I.onPress=v?_:N=>{N.pointerType!=="keyboard"&&N.pointerType!=="mouse"&&f&&b(N)}):I.onPress=N=>{if(v||x&&N.pointerType!=="mouse"){if(N.pointerType==="keyboard"&&!Mh(N.key))return;_(N)}else N.pointerType!=="keyboard"&&f&&b(N)}):(I.onPressStart=N=>{P.current=N.pointerType,T.current=k,E.current=v,f&&(N.pointerType==="mouse"&&!v||N.pointerType==="keyboard"&&(!h||Ih(N.key)))&&b(N)},I.onPress=N=>{(N.pointerType==="touch"||N.pointerType==="pen"||N.pointerType==="virtual"||N.pointerType==="keyboard"&&w&&Mh(N.key)||N.pointerType==="mouse"&&E.current)&&(w?_(N):f&&b(N))});let C=Sh(r.collection);if(g["data-collection"]=C,g["data-key"]=n,I.preventFocusOnPress=a,a&&(I=le(I,{onPressStart(N){N.pointerType!=="touch"&&(r.setFocused(!0),r.setFocusedKey(n))},onPress(N){N.pointerType==="touch"&&(r.setFocused(!0),r.setFocusedKey(n))}})),F)for(let N of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])F[N]&&(I[N]=ir(I[N],F[N]));let{pressProps:L,isPressed:O}=Io(I),M=x?N=>{P.current==="mouse"&&(N.stopPropagation(),N.preventDefault(),_(N))}:void 0,{longPressProps:Z}=_h({isDisabled:!k,onLongPress(N){N.pointerType==="touch"&&(b(N),r.setSelectionBehavior("toggle"))}}),R=N=>{P.current==="touch"&&T.current&&N.preventDefault()},te=u!=="none"&&r.isLink(n)?N=>{cn.isOpening||N.preventDefault()}:void 0,X=le(g,f||v||a&&!l?L:{},k?Z:{},{onDoubleClick:M,onDragStartCapture:R,onClick:te,id:t},a?{onMouseDown:N=>N.preventDefault()}:void 0),K=N=>{let ie=N;for(;ie&&ie!==o.current;){let J=ie.getAttribute("data-collection");if(J!=null)return J!==C;ie=ie.parentElement}return ns(N)},j=X.onPointerDown;X.onPointerDown=N=>{let ie=q(N);if(ie&&ie!==o.current&&K(ie)){N.stopPropagation();return}j?.(N)};let z=X.onMouseDown;return X.onMouseDown=N=>{let ie=q(N);if(ie&&ie!==o.current&&K(ie)){N.stopPropagation();return}z?.(N)},{itemProps:X,isPressed:O,isSelected:r.isSelected(n),isFocused:r.isFocused&&r.focusedKey===n,isDisabled:l,allowsSelection:f,hasAction:w}}function Mh(e){return e==="Enter"}function Ih(e){return e===" "}function wf(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function Dh(e){return rC(e,0)}function rC(e,t){if(t<0)return;let r=0;for(let n of e){if(r===t)return n;r++}}function Sf(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...Nh(e,t),t],o=[...Nh(e,r),r],i=n.slice(0,o.length).findIndex((a,s)=>a!==o[s]);return i!==-1?(t=n[i],r=o[i],t.index-r.index):n.findIndex(a=>a===r)>=0?1:(o.findIndex(a=>a===t)>=0,-1)}function Nh(e,t){let r=[],n=t;for(;n?.parentKey!=null;)n=e.getItem(n.parentKey),n&&r.unshift(n);return r}var Fh=new WeakMap;function yc(e){let t=Fh.get(e);if(t!=null)return t;let r=0,n=o=>{for(let i of o)i.type==="section"?n(wf(i,e)):i.type==="item"&&r++};return n(e),Fh.set(e,r),r}function L2(e,t,r){let{key:n}=e,o=mc.get(t),i=e.isDisabled??t.selectionManager.isDisabled(n),a=e.isSelected??t.selectionManager.isSelected(n),s=e.shouldSelectOnPressUp??o?.shouldSelectOnPressUp,l=e.shouldFocusOnHover??o?.shouldFocusOnHover,c=e.shouldUseVirtualFocus??o?.shouldUseVirtualFocus,d=e.isVirtualized??o?.isVirtualized,u=qn(),p=qn(),b={role:"option","aria-disabled":i||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?a:void 0,"aria-label":e["aria-label"],"aria-labelledby":u,"aria-describedby":p},g=t.collection.getItem(n);if(d){let T=Number(g?.index);b["aria-posinset"]=Number.isNaN(T)?void 0:T+1,b["aria-setsize"]=yc(t.collection)}let y=o?.onAction?()=>o?.onAction?.(n):void 0,$=hh(t,n),{itemProps:m,isPressed:f,isFocused:h,hasAction:v,allowsSelection:x}=Cf({selectionManager:t.selectionManager,key:n,ref:r,shouldSelectOnPressUp:s,allowsDifferentPressOrigin:s&&l,isVirtualized:d,shouldUseVirtualFocus:c,isDisabled:i,onAction:y||g?.props?.onAction?ir(g?.props?.onAction,y):void 0,linkBehavior:o?.linkBehavior,UNSTABLE_itemBehavior:o?.UNSTABLE_itemBehavior,id:$}),{hoverProps:w}=Nn({isDisabled:i||!l,onHoverStart(){In()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n))}}),P=ze(g?.props);delete P.id;let k=Ou(g?.props);return{optionProps:{...b,...le(P,m,w,k),id:$},labelProps:{id:u},descriptionProps:{id:p},isFocused:h,isFocusVisible:h&&t.selectionManager.isFocused&&In(),isSelected:a,isDisabled:i,isPressed:f,allowsSelection:x,hasAction:v}}function R2(e){let{heading:t,"aria-label":r}=e,n=kt();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation",onMouseDown:o=>{o.preventDefault()}}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}var Hh=S(D(),1);function xc(e){let t=Hh.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}var Cc=class{constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let s of a.childNodes)r(s)};for(let a of t)r(a);let n=null,o=0,i=0;for(let[a,s]of this.keyMap)n?(n.nextKey=a,s.prevKey=n.key):(this.firstKey=a,s.prevKey=void 0),s.type==="item"&&(s.index=o++),(s.type==="section"||s.type==="item")&&i++,n=s,n.nextKey=void 0;this._size=i,this.lastKey=n?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey??null:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){return this.keyMap.get(t)?.childNodes||[]}};var Yr=class e extends Set{constructor(t,r,n){super(t),t instanceof e?(this.anchorKey=r??t.anchorKey,this.currentKey=n??t.currentKey):(this.anchorKey=r??null,this.currentKey=n??null)}};var vr=S(D(),1);function nC(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function ca(e){let{selectionMode:t="none",disallowEmptySelection:r=!1,allowDuplicateSelectionEvents:n,selectionBehavior:o="toggle",disabledBehavior:i="all"}=e,a=(0,vr.useRef)(!1),[,s]=(0,vr.useState)(!1),l=(0,vr.useRef)(null),c=(0,vr.useRef)(null),[,d]=(0,vr.useState)(null),u=(0,vr.useMemo)(()=>Ah(e.selectedKeys),[e.selectedKeys]),p=(0,vr.useMemo)(()=>Ah(e.defaultSelectedKeys,new Yr),[e.defaultSelectedKeys]),[b,g]=fi(u,p,e.onSelectionChange),y=(0,vr.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[$,m]=(0,vr.useState)(o);o==="replace"&&$==="toggle"&&typeof b=="object"&&b.size===0&&m("replace");let f=(0,vr.useRef)(o);return(0,vr.useEffect)(()=>{o!==f.current&&(m(o),f.current=o)},[o]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:$,setSelectionBehavior:m,get isFocused(){return a.current},setFocused(h){a.current=h,s(h)},get focusedKey(){return l.current},get childFocusStrategy(){return c.current},setFocusedKey(h,v="first"){l.current=h,c.current=v,d(h)},selectedKeys:b,setSelectedKeys(h){(n||!nC(h,b))&&g(h)},disabledKeys:y,disabledBehavior:i}}function Ah(e,t){return e?e==="all"?"all":new Yr(e):t}var Fo=class e{constructor(t,r,n){this.collection=t,this.state=r,this.allowsCellSelection=n?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=n?.layoutDelegate||null,this.fullCollection=n?.fullCollection||null}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){if(this.state.selectionMode==="none")return!1;let r=this.getKey(t);return r==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(r):this.state.selectedKeys.has(r)}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&&Sf(this.collection,n,t)<0)&&(t=n)}return t?.key??null}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&Sf(this.collection,n,t)>0)&&(t=n)}return t?.key??null}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}let r=this.getKey(t);if(r==null)return;let n;if(this.state.selectedKeys==="all")n=new Yr([r],r,r);else{let o=this.state.selectedKeys,i=o.anchorKey??r;n=new Yr(o,i,r);for(let a of this.getKeyRange(i,o.currentKey??r))n.delete(a);for(let a of this.getKeyRange(r,i))this.canSelectItem(a)&&n.add(a)}this.state.setSelectedKeys(n)}getKeyRange(t,r){let n=this.collection.getItem(t),o=this.collection.getItem(r);return n&&o?Sf(this.collection,n,o)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(t,r);let n=[],o=t;for(;o!=null;){let i=this.collection.getItem(o);if(i&&(i.type==="item"||i.type==="cell"&&this.allowsCellSelection)&&n.push(o),o===r)return n;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r&&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}let r=this.getKey(t);if(r==null)return;let n=new Yr(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(r)?n.delete(r):this.canSelectItem(r)&&(n.add(r),n.anchorKey=r,n.currentKey=r),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none")return;let r=this.getKey(t);if(r==null)return;let n=this.canSelectItem(r)?new Yr([r],r,r):new Yr;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new Yr;for(let n of t){let o=this.getKey(n);if(o!=null&&(r.add(o),this.selectionMode==="single"))break}this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=this.fullCollection??this.collection,r=[],n=o=>{for(;o!=null;){if(this.canSelectItemIn(o,t)){let i=t.getItem(o);i?.type==="item"&&r.push(o),i?.hasChildNodes&&(this.allowsCellSelection||i.type!=="item")&&n(Dh(wf(i,t))?.key??null)}o=t.getKeyAfter(o)}};return n(t.getFirstKey()),r}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 Yr)}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){return this.canSelectItemIn(t,this.collection)}canSelectItemIn(t,r){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=r.getItem(t);return!(!n||n?.props?.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){let r=this.collection.getItem(t);return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!r?.props?.isDisabled)&&r?.props?.disabledBehavior!=="selection"}isLink(t){return!!this.collection.getItem(t)?.props?.href}getItemProps(t){return this.collection.getItem(t)?.props}withCollection(t){return new e(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}};var yi=S(D(),1),Ef=class{build(t,r){return this.context=r,Oh(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(yi.default.isValidElement(r)&&r.type===yi.default.Fragment)yield*this.iterateCollection({children:r.props.children,items:n});else if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");let o=0;for(let i of n)yield*this.getFullNode({value:i,index:o},{renderer:r}),o++}else{let o=[];yi.default.Children.forEach(r,a=>{a&&o.push(a)});let i=0;for(let a of o){let s=this.getFullNode({element:a,index:i},{});for(let l of s)i++,yield l}}}getKey(t,r,n,o){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${o}${r.key}`;let i=r.value;if(i!=null){let a=i.key??i.id;if(a==null)throw new Error("No key found for item");return a}return o?`${o}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,o){if(yi.default.isValidElement(t.element)&&t.element.type===yi.default.Fragment){let l=[];yi.default.Children.forEach(t.element.props.children,d=>{l.push(d)});let c=t.index??0;for(let d of l)yield*this.getFullNode({element:d,index:c++},r,n,o);return}let i=t.element;if(!i&&t.value&&r&&r.renderer){let l=this.cache.get(t.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=t.index,l.parentKey=o?o.key:null,yield l;return}i=r.renderer(t.value)}if(yi.default.isValidElement(i)){let l=i.type;if(typeof l!="function"&&typeof l.getCollectionNode!="function"){let p=i.type;throw new Error(`Unknown element <${p}> in collection.`)}let c=l.getCollectionNode(i.props,this.context),d=t.index??0,u=c.next();for(;!u.done&&u.value;){let p=u.value;t.index=d;let b=p.key??null;b==null&&(b=p.element?null:this.getKey(i,t,r,n));let y=[...this.getFullNode({...p,key:b,index:d,wrapper:oC(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${i.key}`:i.key,o)];for(let $ of y){if($.value=p.value??t.value??null,$.value&&this.cache.set($.value,$),t.type&&$.type!==t.type)throw new Error(`Unsupported type <${_2($.type)}> in <${_2(o?.type??"unknown parent type")}>. Only <${_2(t.type)}> is supported.`);d++,yield $}u=c.next(y)}return}if(t.key==null||t.type==null)return;let a=this,s={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value??null,level:(o?.level??0)+(o?.type==="item"?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||!1,childNodes:Oh(function*(){if(!t.hasChildNodes||!t.childNodes)return;let l=0;for(let c of t.childNodes()){c.key!=null&&(c.key=`${s.key}${c.key}`);let d=a.getFullNode({...c,index:l},a.getChildState(r,c),s.key,s);for(let u of d)l++,yield u}})};yield s}constructor(){this.cache=new WeakMap}};function Oh(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 oC(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function _2(e){return e[0].toUpperCase()+e.slice(1)}var M2=S(D(),1);function kf(e,t,r){let n=(0,M2.useMemo)(()=>new Ef,[]),{children:o,items:i,collection:a}=e;return(0,M2.useMemo)(()=>{if(a)return a;let l=n.build({children:o,items:i},r);return t(l)},[n,o,i,a,r,t])}var Hn=S(D(),1);function I2(e){let{filter:t,layoutDelegate:r}=e,n=ca(e),o=(0,Hn.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=(0,Hn.useCallback)(c=>t?new Cc(t(c)):new Cc(c),[t]),a=(0,Hn.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),s=kf(e,i,a),l=(0,Hn.useMemo)(()=>new Fo(s,n,{layoutDelegate:r}),[s,n,r]);return Bh(s,l),{collection:s,disabledKeys:o,selectionManager:l}}function N2(e,t){let r=(0,Hn.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),n=e.selectionManager.withCollection(r);return Bh(r,n),{collection:r,selectionManager:n,disabledKeys:e.disabledKeys}}function Bh(e,t){let r=(0,Hn.useRef)(null);(0,Hn.useEffect)(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&r.current){let n=r.current.getKeyAfter(t.focusedKey),o=null;for(;n!=null;){let i=e.getItem(n);if(i&&i.type==="item"&&!t.isDisabled(n)){o=n;break}n=r.current.getKeyAfter(n)}if(o==null)for(n=r.current.getKeyBefore(t.focusedKey);n!=null;){let i=e.getItem(n);if(i&&i.type==="item"&&!t.isDisabled(n)){o=n;break}n=r.current.getKeyBefore(n)}t.setFocusedKey(o)}r.current=e},[e,t])}var Kh=S(D(),1);function wc(e,t){let{collection:r,onLoadMore:n,scrollOffset:o=1,direction:i="end"}=e,a=(0,Kh.useRef)(null),s=yt(l=>{for(let c of l)c.isIntersecting&&n&&n()});ue(()=>{if(t.current){let l=100*o,c=i==="start"?`${l}% 0px 0px 0px`:`0px ${l}% ${l}% ${l}%`;a.current=new IntersectionObserver(s,{root:lc(t?.current),rootMargin:c}),a.current.observe(t.current)}return()=>{a.current&&a.current.disconnect()}},[r,t,o,i])}var se=S(D(),1);var D2=(0,se.createContext)(null),bs=(0,se.createContext)(null),F2=(0,se.forwardRef)(function(t,r){[t,r]=Dt(t,r,D2);let n=(0,se.useContext)(bs);return n?se.default.createElement(zh,{state:n,props:t,listBoxRef:r}):se.default.createElement(rc,{content:se.default.createElement(nc,t)},o=>se.default.createElement(iC,{props:t,listBoxRef:r,collection:o}))});function iC({props:e,listBoxRef:t,collection:r}){e={...e,collection:r,children:null,items:null};let{layoutDelegate:n}=(0,se.useContext)(mi),o=I2({...e,layoutDelegate:n});return se.default.createElement(zh,{state:o,props:e,listBoxRef:t})}function zh({state:e,props:t,listBoxRef:r}){[t,r]=Dt(t,r,Gl);let{dragAndDropHooks:n,layout:o="stack",orientation:i="vertical",filter:a}=t,s=N2(e,a),{collection:l,selectionManager:c}=s,d=!!n?.useDraggableCollectionState,u=!!n?.useDroppableCollectionState,{direction:p}=hr(),{disabledBehavior:b,disabledKeys:g}=c,y=vc({usage:"search",sensitivity:"base"}),{isVirtualized:$,layoutDelegate:m,dropTargetDelegate:f,CollectionRoot:h}=(0,se.useContext)(mi),v=(0,se.useMemo)(()=>t.keyboardDelegate||new sa({collection:l,collator:y,ref:r,disabledKeys:g,disabledBehavior:b,layout:o,orientation:i,direction:p,layoutDelegate:m}),[l,y,r,b,g,i,p,t.keyboardDelegate,o,m]),{listBoxProps:x}=T2({...t,shouldSelectOnPressUp:d||t.shouldSelectOnPressUp,keyboardDelegate:v,isVirtualized:$},s,r),w=(0,se.useRef)(d),P=(0,se.useRef)(u);(0,se.useEffect)(()=>{},[d,u]);let k,T,E,F=!1,_=null,I=(0,se.useRef)(null);if(d&&n){k=n.useDraggableCollectionState({collection:l,selectionManager:c,preview:n.renderDragPreview?I:void 0}),n.useDraggableCollection({},k,r);let K=n.DragPreview;_=n.renderDragPreview?se.default.createElement(K,{ref:I},n.renderDragPreview):null}if(u&&n){T=n.useDroppableCollectionState({collection:l,selectionManager:c});let K=n.dropTargetDelegate||f||new n.ListDropTargetDelegate(l,r,{orientation:i,layout:o,direction:p});E=n.useDroppableCollection({keyboardDelegate:v,dropTargetDelegate:K},T,r),F=T.isDropTarget({type:"root"})}let{focusProps:C,isFocused:L,isFocusVisible:O}=ac(),M=s.collection.size===0,Z={isDropTarget:F,isEmpty:M,isFocused:L,isFocusVisible:O,layout:t.layout||"stack",orientation:i,state:s},R=qt({...t,children:void 0,defaultClassName:"react-aria-ListBox",values:Z}),te=null;M&&t.renderEmptyState&&(te=se.default.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(Z)));let X=ze(t,{global:!0});return se.default.createElement(aa,null,se.default.createElement(rt.div,{...le(X,R,x,C,E?.collectionProps),ref:r,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":F||void 0,"data-empty":M||void 0,"data-focused":L||void 0,"data-focus-visible":O||void 0,"data-layout":t.layout||"stack","data-orientation":i},se.default.createElement(ln,{values:[[D2,t],[bs,s],[pc,{dragAndDropHooks:n,dragState:k,dropState:T}],[bf,{elementType:"div"}],[b2,{render:sC}],[tf,{name:"ListBoxSection",render:aC}]]},se.default.createElement(gs,null,se.default.createElement(h,{collection:l,scrollRef:r,persistedKeys:ph(c,n,T),renderDropIndicator:$2(n,T)}))),te,_))}function aC(e,t,r,n="react-aria-ListBoxSection"){let o=(0,se.useContext)(bs),{dragAndDropHooks:i,dropState:a}=(0,se.useContext)(pc),{CollectionBranch:s}=(0,se.useContext)(mi),[l,c]=ts(),{headingProps:d,groupProps:u}=R2({heading:c,"aria-label":e["aria-label"]??void 0}),p=qt({...e,id:void 0,children:void 0,defaultClassName:n,values:void 0}),b=ze(e,{global:!0});return delete b.id,se.default.createElement(rt.section,{...le(b,p,u),ref:t},se.default.createElement(mf.Provider,{value:{...d,ref:l}},se.default.createElement(s,{collection:o.collection,parent:r,renderDropIndicator:$2(i,a)})))}var H2=na(ta,function(t,r,n){let o=Qn(r),i=(0,se.useContext)(bs),{dragAndDropHooks:a,dragState:s,dropState:l}=(0,se.useContext)(pc),c=s&&!(s.isDisabled||s.selectionManager.isDisabled(n.key)),{optionProps:d,labelProps:u,descriptionProps:p,...b}=L2({key:n.key,"aria-label":t?.["aria-label"]},i,o),{hoverProps:g,isHovered:y}=Nn({isDisabled:!b.allowsSelection&&!b.hasAction&&!c,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),{keyboardProps:$}=Ir(t),{focusProps:m}=ra(t),f=null;s&&a&&(f=a.useDraggableItem({key:n.key,hasAction:b.hasAction},s));let h=null;l&&a&&(h=a.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},l,o));let v=s&&s.isDragging(n.key),x=qt({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...b,isHovered:y,selectionMode:i.selectionManager.selectionMode,selectionBehavior:i.selectionManager.selectionBehavior,allowsDragging:!!s,isDragging:v,isDropTarget:h?.isDropTarget}});(0,se.useEffect)(()=>{n.textValue},[n.textValue]);let w=t.href?rt.a:rt.div,P=ze(t,{global:!0});return delete P.id,delete P.onClick,t.href&&d.tabIndex==null&&(d.tabIndex=-1),se.default.createElement(w,{...le(P,x,d,g,$,m,f?.dragProps,h?.dropProps),ref:o,"data-allows-dragging":!!s||void 0,"data-selected":b.isSelected||void 0,"data-disabled":b.isDisabled||void 0,"data-hovered":y||void 0,"data-focused":b.isFocused||void 0,"data-focus-visible":b.isFocusVisible||void 0,"data-pressed":b.isPressed||void 0,"data-dragging":v||void 0,"data-drop-target":h?.isDropTarget||void 0,"data-selection-mode":i.selectionManager.selectionMode==="none"?void 0:i.selectionManager.selectionMode},se.default.createElement(ln,{values:[[$i,{slots:{[es]:u,label:u,description:p}}],[gf,{isSelected:b.isSelected}]]},x.children))});function sC(e,t){t=Qn(t);let{dragAndDropHooks:r,dropState:n}=(0,se.useContext)(pc),{dropIndicatorProps:o,isHidden:i,isDropTarget:a}=r.useDropIndicator(e,n,t);return i?null:se.default.createElement(cC,{...e,dropIndicatorProps:o,isDropTarget:a,ref:t})}function lC(e,t){let{dropIndicatorProps:r,isDropTarget:n,...o}=e,i=qt({...o,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return se.default.createElement(se.default.Fragment,null,se.default.createElement(rt.div,{...r,...i,role:"option",ref:t,"data-drop-target":n||void 0}))}var cC=(0,se.forwardRef)(lC),dC=na(ea,function(t,r,n){let o=(0,se.useContext)(bs),{isLoading:i,onLoadMore:a,scrollOffset:s,...l}=t,c=(0,se.useRef)(null),d=(0,se.useMemo)(()=>({onLoadMore:a,collection:o?.collection,sentinelRef:c,scrollOffset:s}),[a,s,o?.collection]);wc(d,c);let u=qt({...l,id:void 0,children:n.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:void 0}),p={tabIndex:-1};return se.default.createElement(se.default.Fragment,null,se.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:xc(!0)},se.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),i&&u.children&&se.default.createElement(se.default.Fragment,null,se.default.createElement(rt.div,{...le(ze(t,{global:!0}),p),...u,role:"option",ref:r},u.children)))});var Pf=S(D(),1),Vh=(0,Pf.createContext)({placement:"bottom"});var uC=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;function Wh(e){return e.dataset.liveAnnouncer==="true"||e.dataset.reactAriaTopLayer!==void 0}var Sc=new WeakMap,Nr=[];function Uh(e,t){let r=He(e?.[0]),n=t instanceof r.Element?{root:t}:t,o=n?.root??document.body,i=n?.shouldUseInert&&uC,a=new Set(e),s=new Set,l=$=>i&&$ instanceof r.HTMLElement?$.inert:$.getAttribute("aria-hidden")==="true",c=($,m)=>{i&&$ instanceof r.HTMLElement?$.inert=m:m?$.setAttribute("aria-hidden","true"):($.removeAttribute("aria-hidden"),$ instanceof r.HTMLElement&&($.inert=!1))},d=new Set;if(Mr()){let $=o.getRootNode();for(let m of e){let f=m.getRootNode();for(;Zi(f)&&f!==$;)d.add(f),f=f.host.getRootNode()}}let u=$=>{for(let v of $.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))a.add(v);let m=v=>{if(s.has(v)||a.has(v)||v.parentElement&&s.has(v.parentElement)&&v.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let x of a)if(me(v,x))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},f=$f(fe($),$,NodeFilter.SHOW_ELEMENT,{acceptNode:m}),h=m($);if(h===NodeFilter.FILTER_ACCEPT&&p($),h!==NodeFilter.FILTER_REJECT){let v=f.nextNode();for(;v!=null;)p(v),v=f.nextNode()}},p=$=>{let m=Sc.get($)??0;l($)&&m===0||(m===0&&c($,!0),s.add($),Sc.set($,m+1))};Nr.length&&Nr[Nr.length-1].disconnect(),u(o);let b=new MutationObserver($=>{for(let m of $)if(m.type==="childList"){if(m.target.isConnected&&![...a,...s].some(f=>me(f,m.target)))for(let f of m.addedNodes)(f instanceof HTMLElement||f instanceof SVGElement)&&Wh(f)?a.add(f):f instanceof Element&&u(f);if(Mr()){for(let f of d)if(!f.isConnected){b.disconnect();break}}}});b.observe(o,{childList:!0,subtree:!0});let g=new Set;if(Mr())for(let $ of d){let m=new MutationObserver(f=>{for(let h of f)if(h.type==="childList"){if(h.target.isConnected&&![...a,...s].some(v=>me(v,h.target)))for(let v of h.addedNodes)(v instanceof HTMLElement||v instanceof SVGElement)&&Wh(v)?a.add(v):v instanceof Element&&u(v);if(Mr()){for(let v of d)if(!v.isConnected){b.disconnect();break}}}});m.observe($,{childList:!0,subtree:!0}),g.add(m)}let y={visibleNodes:a,hiddenNodes:s,observe(){b.observe(o,{childList:!0,subtree:!0})},disconnect(){b.disconnect()}};return Nr.push(y),()=>{if(b.disconnect(),Mr())for(let $ of g)$.disconnect();for(let $ of s){let m=Sc.get($);m!=null&&(m===1?(c($,!1),Sc.delete($)):Sc.set($,m-1))}y===Nr[Nr.length-1]?(Nr.pop(),Nr.length&&Nr[Nr.length-1].observe()):Nr.splice(Nr.indexOf(y),1)}}function jh(e){let t=Nr[Nr.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}var hn={top:"top",bottom:"top",left:"left",right:"left"},Lf={top:"bottom",bottom:"top",left:"right",right:"left"},fC={top:"left",left:"top"},O2={top:"height",left:"width"},Jh={width:"totalWidth",height:"totalHeight"},Tf={},pC=()=>typeof document<"u"?window.visualViewport:null;function Gh(e,t){let r=0,n=0,o=0,i=0,a=0,s=0,l={},c=(t?.scale??1)>1;if(e.tagName==="BODY"||e.tagName==="HTML"){let d=document.documentElement;o=d.clientWidth,i=d.clientHeight,r=t?.width??o,n=t?.height??i,l.top=d.scrollTop||e.scrollTop,l.left=d.scrollLeft||e.scrollLeft,t&&(a=Math.max(0,t.pageTop-(l.top??0)),s=Math.max(0,t.pageLeft-(l.left??0)))}else({width:r,height:n,top:a,left:s}=Ec(e,!1)),l.top=e.scrollTop,l.left=e.scrollLeft,o=r,i=n;return sr()&&(e.tagName==="BODY"||e.tagName==="HTML")&&c&&(l.top=0,l.left=0,a=t?.pageTop??0,s=t?.pageLeft??0),{width:r,height:n,totalWidth:o,totalHeight:i,scroll:l,top:a,left:s}}function mC(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Zh(e,t,r,n,o,i,a){let s=o.scroll[e]??0,l=n[O2[e]],c=a[e]+n.scroll[hn[e]]+i,d=a[e]+n.scroll[hn[e]]+l-i,u=t-s+n.scroll[hn[e]]+a[e]-n[hn[e]],p=t-s+r+n.scroll[hn[e]]+a[e]-n[hn[e]];return u<c?c-u:p>d?Math.max(d-p,c-u):0}function hC(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 Yh(e){if(Tf[e])return Tf[e];let[t,r]=e.split(" "),n=hn[t]||"right",o=fC[n];hn[r]||(r="center");let i=O2[n],a=O2[o];return Tf[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:i,crossSize:a},Tf[e]}function A2(e,t,r,n,o,i,a,s,l,c,d){let{placement:u,crossPlacement:p,axis:b,crossAxis:g,size:y,crossSize:$}=n,m={};m[g]=e[g]??0,p==="center"?m[g]+=((e[$]??0)-(r[$]??0))/2:p!==g&&(m[g]+=(e[$]??0)-(r[$]??0)),m[g]+=i;let f=e[g]-r[$]+l+c,h=e[g]+e[$]-l-c;if(m[g]=sc(m[g],f,h),u===b){let v=s?d[y]:d[Jh[y]];m[Lf[b]]=Math.floor(v-e[b]+o)}else m[b]=Math.floor(e[b]+e[y]+o);return m}function gC(e,t,r,n,o,i,a,s,l,c,d){let u=(e.top!=null?e.top:l[Jh.height]-(e.bottom??0)-a)-(l.scroll.top??0),p=c?r.top:0,b={top:Math.max(t.top+p,(d?.offsetTop??t.top)+p),bottom:Math.min(t.top+t.height+p,(d?.offsetTop??0)+(d?.height??0))};return s!=="top"?Math.max(0,b.bottom-u-((o.top??0)+(o.bottom??0)+i)):Math.max(0,u+a-b.top-((o.top??0)+(o.bottom??0)+i))}function Xh(e,t,r,n,o,i,a,s){let{placement:l,axis:c,size:d}=i;return l===c?Math.max(0,r[c]-(a.scroll[c]??0)-(e[c]+(s?t[c]:0))-(n[c]??0)-n[Lf[c]]-o):Math.max(0,e[d]+e[c]+(s?t[c]:0)-r[c]-r[d]+(a.scroll[c]??0)-(n[c]??0)-n[Lf[c]]-o)}function bC(e,t,r,n,o,i,a,s,l,c,d,u,p,b,g,y,$,m){let f=Yh(e),{size:h,crossAxis:v,crossSize:x,placement:w,crossPlacement:P}=f,k=A2(t,s,r,f,d,u,c,p,g,y,l),T=d,E=Xh(s,c,t,o,i+d,f,l,$);if(a&&r[h]>E){let N=Yh(`${Lf[w]} ${P}`),ie=A2(t,s,r,N,d,u,c,p,g,y,l);Xh(s,c,t,o,i+d,N,l,$)>E&&(f=N,k=ie,T=d)}let F="bottom";f.axis==="top"?f.placement==="top"?F="top":f.placement==="bottom"&&(F="bottom"):f.crossAxis==="top"&&(f.crossPlacement==="top"?F="bottom":f.crossPlacement==="bottom"&&(F="top"));let _=Zh(v,k[v],r[x],s,l,i,c);k[v]+=_;let I=gC(k,s,c,p,o,i,r.height,F,l,$,m);b&&b<I&&(I=b),r.height=Math.min(r.height,I),k=A2(t,s,r,f,T,u,c,p,g,y,l),_=Zh(v,k[v],r[x],s,l,i,c),k[v]+=_;let C={},L=t[v]-k[v]-o[hn[v]],O=L+.5*t[x],M=g/2+y,Z=hn[v]==="left"?(o.left??0)+(o.right??0):(o.top??0)+(o.bottom??0),R=r[x]-Z-g/2-y,te=t[v]+g/2-(k[v]+o[hn[v]]),X=t[v]+t[x]-g/2-(k[v]+o[hn[v]]),K=sc(O,te,X);C[v]=sc(K,M,R),{placement:w,crossPlacement:P}=f,g?L=C[v]:P==="right"?L+=t[x]:P==="center"&&(L+=t[x]/2);let j=w==="left"||w==="top"?r[h]:0,z={x:w==="top"||w==="bottom"?L:j,y:w==="left"||w==="right"?L:j};return{position:k,maxHeight:I,arrowOffsetLeft:C.left,arrowOffsetTop:C.top,placement:w,triggerAnchorPoint:z}}function eg(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:o,padding:i,shouldFlip:a,boundaryElement:s,offset:l,crossOffset:c,maxHeight:d,arrowSize:u=0,arrowBoundaryOffset:p=0,targetRect:b}=e,g=pC(),y=n instanceof HTMLElement?$C(n):document.documentElement,$=y===document.documentElement,m=window.getComputedStyle(y).position,f=!!m&&m!=="static",h=$?Ec(r,!1,b):qh(r,y,!1,b);if(!$){let{marginTop:F,marginLeft:_}=window.getComputedStyle(r);h.top+=parseInt(F,10)||0,h.left+=parseInt(_,10)||0}let v=Ec(n,!0),x=hC(n);v.width+=(x.left??0)+(x.right??0),v.height+=(x.top??0)+(x.bottom??0);let w=mC(o),P=Gh(s,g),k=Gh(y,g),T;if((s.tagName==="BODY"||s.tagName==="HTML")&&!$){let F=kc(y,!1);T={top:-(F.top-P.top),left:-(F.left-P.left),width:0,height:0}}else(s.tagName==="BODY"||s.tagName==="HTML")&&$?T={top:0,left:0,width:0,height:0}:T=qh(s,y,!1);let E=me(s,y);return bC(t,h,v,w,x,i,a,P,k,T,l,c,f,d,u,p,E,g)}function kc(e,t){let{top:r,left:n,width:o,height:i}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(o=e.offsetWidth,i=e.offsetHeight),{top:r,left:n,width:o,height:i}}function Ec(e,t,r){let{top:n,left:o,width:i,height:a}=r||kc(e,t),{scrollTop:s,scrollLeft:l,clientTop:c,clientLeft:d}=document.documentElement;return{top:n+s-c,left:o+l-d,width:i,height:a}}function qh(e,t,r,n){let o=window.getComputedStyle(e),i;if(o.position==="fixed")i=n||kc(e,r);else{i=Ec(e,r,n);let a=Ec(t,r),s=window.getComputedStyle(t);a.top+=(parseInt(s.borderTopWidth,10)||0)-t.scrollTop,a.left+=(parseInt(s.borderLeftWidth,10)||0)-t.scrollLeft,i.top-=a.top,i.left-=a.left}return i.top-=parseInt(o.marginTop,10)||0,i.left-=parseInt(o.marginLeft,10)||0,i}function $C(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Qh(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Qh(t);)t=t.parentElement;return t||document.documentElement}function Qh(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"}var tg=S(D(),1),vC=new WeakMap;function rg(e){let{triggerRef:t,isOpen:r,onClose:n}=e;(0,tg.useEffect)(()=>{if(!r||n===null)return;let o=i=>{let a=q(i);if(!t.current||a instanceof Node&&!me(a,t.current)||a instanceof HTMLInputElement||a instanceof HTMLTextAreaElement)return;let s=n||vC.get(t.current);s&&s()};return Ft(Nl(t.current),"scroll",o,!0)},[r,n,t])}var ng=S(D(),1);function yC(){return typeof window.ResizeObserver<"u"}function $s(e){let{ref:t,box:r,onResize:n}=e,o=yt(n);(0,ng.useEffect)(()=>{let i=t?.current;if(i)if(yC()){let a=new window.ResizeObserver(s=>{s.length&&o()});return a.observe(i,{box:r}),()=>{i&&a.unobserve(i)}}else return window.addEventListener("resize",o,!1),()=>{window.removeEventListener("resize",o,!1)}},[t,r])}var oo=S(D(),1),da=typeof document<"u"?window.visualViewport:null;function og(e){let{direction:t}=hr(),{arrowSize:r,targetRef:n,overlayRef:o,arrowRef:i,scrollRef:a=o,placement:s="bottom",containerPadding:l=12,shouldFlip:c=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:u=0,crossOffset:p=0,shouldUpdatePosition:b=!0,isOpen:g=!0,onClose:y,maxHeight:$,arrowBoundaryOffset:m=0,getTargetRect:f}=e,[h,v]=(0,oo.useState)(null),x=[b,s,o.current,n.current,i?.current,a.current,l,c,d,u,p,g,t,$,m,r],w=(0,oo.useRef)(da?.scale);(0,oo.useEffect)(()=>{g&&(w.current=da?.scale)},[g]);let P=(0,oo.useCallback)(()=>{if(b===!1||!g||!o.current||!n.current||!d||da?.scale!==w.current)return;let E=null;if(a.current&&di(a.current)){let C=xe()?.getBoundingClientRect(),L=a.current.getBoundingClientRect();E={type:"top",offset:(C?.top??0)-L.top},E.offset>L.height/2&&(E.type="bottom",E.offset=(C?.bottom??0)-L.bottom)}let F=o.current;!$&&o.current&&(F.style.top="0px",F.style.bottom="",F.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+"px");let _=eg({placement:CC(s,t),overlayNode:o.current,targetNode:n.current,scrollNode:a.current||o.current,padding:l,shouldFlip:c,boundaryElement:d,offset:u,crossOffset:p,maxHeight:$,arrowSize:r??(i?.current?kc(i.current,!0).width:0),arrowBoundaryOffset:m,targetRect:f?.(n.current)});if(!_.position)return;F.style.top="",F.style.bottom="",F.style.left="",F.style.right="",Object.keys(_.position).forEach(C=>F.style[C]=_.position[C]+"px"),F.style.maxHeight=_.maxHeight!=null?_.maxHeight+"px":"";let I=xe();if(E&&I&&a.current){let C=I.getBoundingClientRect(),L=a.current.getBoundingClientRect(),O=C[E.type]-L[E.type];a.current.scrollTop+=O-E.offset}v(_)},x);ue(P,x),xC(P),$s({ref:o,onResize:P}),$s({ref:n,onResize:P});let k=(0,oo.useRef)(!1);ue(()=>{let E,F=()=>{k.current=!0,clearTimeout(E),E=setTimeout(()=>{k.current=!1},500),P()},_=()=>{k.current&&F()};da?.addEventListener("resize",F),da?.addEventListener("scroll",_);let I=Ft(Nl(window),"scroll",_);return()=>{da?.removeEventListener("resize",F),da?.removeEventListener("scroll",_),I()}},[P]);let T=(0,oo.useCallback)(()=>{k.current||y?.()},[y,k]);return rg({triggerRef:n,isOpen:g,onClose:y&&T}),{overlayProps:{style:{position:h?"absolute":"fixed",top:h?void 0:0,left:h?void 0:0,zIndex:1e5,...h?.position,maxHeight:h?.maxHeight??"100vh"}},placement:h?.placement??null,triggerAnchorPoint:h?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:h?.arrowOffsetLeft,top:h?.arrowOffsetTop}},updatePosition:P}}function xC(e){ue(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function CC(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}var Rf=S(D(),1);function ag(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:o}=e,i=(0,Rf.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),a=yt(l=>{r&&ig(l,t)&&(o&&o(l),i.current.isPointerDown=!0)}),s=yt(l=>{r&&r(l)});(0,Rf.useEffect)(()=>{let l=i.current;if(n)return;let c=t.current,d=fe(c);if(typeof PointerEvent<"u"){let u=p=>{l.isPointerDown&&ig(p,t)&&s(p),l.isPointerDown=!1};return d.addEventListener("pointerdown",a,!0),d.addEventListener("click",u,!0),()=>{d.removeEventListener("pointerdown",a,!0),d.removeEventListener("click",u,!0)}}},[t,n])}function ig(e,t){if(e.button>0)return!1;let r=q(e);if(r){let n=r.ownerDocument;if(!n||!me(n.documentElement,r)||r.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}var _f=S(D(),1),io=[];function sg(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:i=!1,isKeyboardDismissDisabled:a=!1,shouldCloseOnInteractOutside:s}=e,l=(0,_f.useRef)(void 0);(0,_f.useEffect)(()=>{if(o&&!io.includes(t))return io.push(t),()=>{let g=io.indexOf(t);g>=0&&io.splice(g,1)}},[o,t]);let c=()=>{io[io.length-1]===t&&r&&r()},d=g=>{let y=io[io.length-1];l.current=y,(!s||s(q(g)))&&y===t&&g.stopPropagation()},u=g=>{(!s||s(q(g)))&&(io[io.length-1]===t&&g.stopPropagation(),l.current===t&&c()),l.current=void 0},{keyboardProps:p}=Ir({shortcuts:{Escape:()=>{if(!a){c();return}return!1}}});ag({ref:t,onInteractOutside:i&&o?u:void 0,onInteractOutsideStart:d});let{focusWithinProps:b}=fn({isDisabled:!n,onBlurWithin:g=>{!g.relatedTarget||yh(g.relatedTarget)||(!s||s(g.relatedTarget))&&r?.()}});return{overlayProps:{...p,...b},underlayProps:{}}}var wC=200,SC=50,EC=600,xi=new WeakMap,Pc=new Set,Tc=new Set;function kC(e,t){let r=as();if(e!==r||t.aborted)for(let n of Tc)n(r),Tc.delete(n);if(!e&&r&&sr()&&!t.aborted){window.clearInterval(xi.get(window)),xi.set(window,B2(wC));return}if(e!==r||t.aborted)for(let n of Pc)n(r),Pc.delete(n);(Tc.size+Pc.size<=0||t.aborted)&&(window.clearInterval(xi.get(window)),xi.delete(window))}function B2(e=EC){return window.setInterval(kC,SC,as(),AbortSignal.timeout(e))}function Lc(e){if(!zl())return e(!1),()=>{};let t=window.requestAnimationFrame(()=>{t=window.requestAnimationFrame(()=>{let r=document.hasFocus()?xe():null,n=Qi(r);if(as()===n||as()&&!n)return e(n);Tc.add(e),xi.has(window)||xi.set(window,B2())})});return()=>{window.cancelAnimationFrame(t),Tc.delete(e)}}function K2(e){if(!zl())return e(!1),()=>{};let t=window.requestAnimationFrame(()=>{t=window.requestAnimationFrame(()=>{let r=document.hasFocus()?xe():null,n=Qi(r);if(as()===n)return e(n);Pc.add(e),xi.has(window)||xi.set(window,B2())})});return()=>{window.cancelAnimationFrame(t),Pc.delete(e)}}var z2=typeof document<"u"&&window.visualViewport,Mf=0,V2;function lg(e={}){let{isDisabled:t,UNSTABLE_overrideFocus:r}=e;ue(()=>{if(!t)return Mf++,Mf===1&&(Ro()&&sr()?V2=TC():V2=PC(r)),()=>{Mf--,Mf===0&&V2()}},[t,r])}function PC(e){let t=window.innerWidth-document.documentElement.clientWidth;return ir(t>0&&("scrollbarGutter"in document.documentElement.style?Jn(document.documentElement,"scrollbar-gutter","stable"):Jn(document.documentElement,"padding-right",`${t}px`)),Jn(document.documentElement,"overflow","hidden"),e&&dg(),e&&zl()&&cg())}function TC(){let e=Jn(document.documentElement,"overflow","hidden"),t,r=!1,n=c=>{let d=q(c);t=ro(d,!0)?d:lc(d,!0),r=!1;let u=d.ownerDocument.defaultView.getSelection();u&&!u.isCollapsed&&u.containsNode(d,!0)&&(r=!0),c.composedPath().some(p=>p instanceof HTMLInputElement&&p.type==="range")&&(r=!0),"selectionStart"in d&&"selectionEnd"in d&&d.selectionStart<d.selectionEnd&&d.ownerDocument.activeElement===d&&(r=!0)},o=document.createElement("style"),i=nf();i&&(o.nonce=i),o.textContent=`
|
|
135
135
|
@layer {
|
|
136
136
|
* {
|
|
137
137
|
overscroll-behavior: contain;
|
|
138
138
|
}
|
|
139
|
-
}`.trim(),document.head.prepend(o);let i=c=>{if(!(c.touches.length===2||r)){if(!t||t===document.documentElement||t===document.body){c.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&c.preventDefault()}},s=Vh(),l=er(Rt(document,"touchstart",n,{passive:!1,capture:!0}),Rt(document,"touchmove",i,{passive:!1,capture:!0}),Kh());return()=>{e(),l(),o.remove(),s()}}function Kh(){return Rt(document,"blur",t=>{let r=Y(t),n=t.relatedTarget;n&&Va(n)?n.focus():n||r.parentElement?.closest("[tabindex]")?.focus({preventScroll:!0})},!0)}function Vh(){let e=HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(t){if(e.call(this,{...t,preventScroll:!0}),!t||!t.preventScroll){let r=()=>{ye()===this&&rC(this)};yc(n=>n?r():E2(()=>r()))}}}),()=>{Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:e})}}function rC(e){let t=document.scrollingElement||document.documentElement,r=e;for(;r&&r!==t&&r.isConnected;){let n=Jl(r);if(n!==document.documentElement&&n!==document.body&&n!==r){let o=n.getBoundingClientRect(),a=r.getBoundingClientRect();if(a.top<o.top||a.bottom>o.top+r.clientHeight){let i=o.bottom;k2&&(i=Math.min(i,k2.offsetTop+k2.height));let s=a.top-o.top-((i-o.top)/2-a.height/2);n.scrollTo({top:Math.max(0,Math.min(n.scrollHeight-n.clientHeight,n.scrollTop+s)),behavior:"smooth"})}}r=n.parentElement}}var Wh=S(D(),1);function T2(e,t){let{triggerRef:r,popoverRef:n,groupRef:o,isNonModal:a,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:s,...l}=e,c=l.trigger==="SubmenuTrigger",{overlayProps:d,underlayProps:u}=zh({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a||c,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:s},o??n),{overlayProps:p,arrowProps:b,placement:g,triggerAnchorPoint:y}=Hh({...l,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:a&&!c?t.close:null,getTargetRect:l.getTargetRect??(t.point?()=>new DOMRect(t.point.x,t.point.y,0,0):void 0)});Bh({isDisabled:a||!t.isOpen}),(0,Wh.useEffect)(()=>{if(t.isOpen&&n.current)return a?Eh(o?.current??n.current):Sh([o?.current??n.current],{shouldUseInert:!0})},[a,t.isOpen,n,o]);let{focusWithinProps:$}=ln(e);return{popoverProps:se(d,p,$),arrowProps:b,underlayProps:u,placement:g,triggerAnchorPoint:y}}var L2={};L2={dismiss:"\u062A\u062C\u0627\u0647\u0644"};var R2={};R2={dismiss:"\u041E\u0442\u0445\u0432\u044A\u0440\u043B\u044F\u043D\u0435"};var _2={};_2={dismiss:"Odstranit"};var M2={};M2={dismiss:"Luk"};var I2={};I2={dismiss:"Schlie\xDFen"};var N2={};N2={dismiss:"\u0391\u03C0\u03CC\u03C1\u03C1\u03B9\u03C8\u03B7"};var D2={};D2={dismiss:"Dismiss"};var F2={};F2={dismiss:"Descartar"};var H2={};H2={dismiss:"L\xF5peta"};var A2={};A2={dismiss:"Hylk\xE4\xE4"};var O2={};O2={dismiss:"Rejeter"};var z2={};z2={dismiss:"\u05D4\u05EA\u05E2\u05DC\u05DD"};var B2={};B2={dismiss:"Odbaci"};var K2={};K2={dismiss:"Elutas\xEDt\xE1s"};var V2={};V2={dismiss:"Ignora"};var W2={};W2={dismiss:"\u9589\u3058\u308B"};var U2={};U2={dismiss:"\uBB34\uC2DC"};var j2={};j2={dismiss:"Atmesti"};var G2={};G2={dismiss:"Ner\u0101d\u012Bt"};var Z2={};Z2={dismiss:"Lukk"};var Y2={};Y2={dismiss:"Negeren"};var X2={};X2={dismiss:"Zignoruj"};var q2={};q2={dismiss:"Descartar"};var Q2={};Q2={dismiss:"Dispensar"};var J2={};J2={dismiss:"Revocare"};var e3={};e3={dismiss:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C"};var t3={};t3={dismiss:"Zru\u0161i\u0165"};var r3={};r3={dismiss:"Opusti"};var n3={};n3={dismiss:"Odbaci"};var o3={};o3={dismiss:"Avvisa"};var a3={};a3={dismiss:"Kapat"};var i3={};i3={dismiss:"\u0421\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438"};var s3={};s3={dismiss:"\u53D6\u6D88"};var l3={};l3={dismiss:"\u95DC\u9589"};var c3={};c3={"ar-AE":L2,"bg-BG":R2,"cs-CZ":_2,"da-DK":M2,"de-DE":I2,"el-GR":N2,"en-US":D2,"es-ES":F2,"et-EE":H2,"fi-FI":A2,"fr-FR":O2,"he-IL":z2,"hr-HR":B2,"hu-HU":K2,"it-IT":V2,"ja-JP":W2,"ko-KR":U2,"lt-LT":j2,"lv-LV":G2,"nb-NO":Z2,"nl-NL":Y2,"pl-PL":X2,"pt-BR":q2,"pt-PT":Q2,"ro-RO":J2,"ru-RU":e3,"sk-SK":t3,"sl-SI":r3,"sr-SP":n3,"sv-SE":o3,"tr-TR":a3,"uk-UA":i3,"zh-CN":s3,"zh-TW":l3};var d3=S(D(),1);function nC(e){return e&&e.__esModule?e.default:e}function Cf(e){let{onDismiss:t,...r}=e,n=e7(nC(c3),"@react-aria/overlays"),o=Iu(r,n.format("dismiss")),a=()=>{t&&t()};return d3.default.createElement(tc,null,d3.default.createElement("button",{...o,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}var ri=S(D(),1);function Uh({children:e}){let t=(0,ri.useMemo)(()=>({register:()=>{}}),[]);return ri.default.createElement(Yl.Provider,{value:t},e)}var xc=S(D(),1),oC=(0,xc.createContext)({});function jh(){return(0,xc.useContext)(oC)??{}}var Mn=S(D(),1),Gh=S(kn(),1),aC=Mn.default.createContext(null);function wf(e){let t=Jo(),{portalContainer:r=t?null:document.body,isExiting:n}=e,[o,a]=(0,Mn.useState)(!1),i=(0,Mn.useMemo)(()=>({contain:o,setContain:a}),[o,a]),{getContainer:s}=jh();if(!e.portalContainer&&s&&(r=s()),!r)return null;let l=e.children;return e.disableFocusManagement||(l=Mn.default.createElement(qa,{restoreFocus:!0,contain:(e.shouldContainFocus||o)&&!n},l)),l=Mn.default.createElement(aC.Provider,{value:i},Mn.default.createElement(Uh,null,Mn.default.createElement(ns.Provider,{value:null},l))),Gh.default.createPortal(l,r)}var fs=S(D(),1);function Cc(e){let[t,r]=oa(e.isOpen,e.defaultOpen||!1,e.onOpenChange),[n,o]=(0,fs.useState)(null),a=(0,fs.useCallback)(()=>{r(!0)},[r]),i=(0,fs.useCallback)(()=>{r(!1)},[r]),s=(0,fs.useCallback)(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:a,close:i,toggle:s,point:n,setPoint:o}}var Le=S(D(),1);var Zh=S(kn(),1),ma=S(D(),1);function u3(e,t=!0,r){let[n,o]=(0,ma.useState)(!0),a=n&&t;return de(()=>{if(!t&&e.current)return er(jn(e.current,"opacity","0"),jn(e.current,"clip","rect(0 0 0 0)"),jn(e.current,"clip-path","inset(50%)"),jn(e.current,"mask-image","linear-gradient(#0000, #0000)"))},[e,t]),de(()=>{if(a&&e.current&&"getAnimations"in e.current)for(let i of e.current.getAnimations())i instanceof CSSTransition&&i.cancel()},[e,a]),Yh(e,a,r,(0,ma.useCallback)(()=>o(!1),[])),a}function f3(e,t,r){let[n,o]=(0,ma.useState)(t?"open":"closed");switch(n){case"open":t||o("exiting");break;case"closed":case"exiting":t&&o("open");break}let a=n==="exiting";return Yh(e,a,r,(0,ma.useCallback)(()=>{o(i=>i==="exiting"?"closed":i)},[])),a}function Yh(e,t,r,n){let o=(0,ma.useRef)(null),a=ht(r);de(()=>{if(t&&e.current&&o.current!==t){if(o.current=t,!("getAnimations"in e.current)){n();return}let i=a?.(e.current),s=e.current.getAnimations().filter(l=>(typeof DocumentTimeline>"u"||l.timeline instanceof DocumentTimeline)&&l.playState==="running");if(s.length===0&&!i){n();return}Promise.all([i,...s.map(l=>l.finished)]).then(()=>{(0,Zh.flushSync)(()=>{n()})}).catch(()=>{})}o.current=t},[e,t,n])}var wc=(0,Le.createContext)(null),Xh=(0,Le.createContext)(null),p3=(0,Le.forwardRef)(function(t,r){[t,r]=Lt(t,r,wc);let n=(0,Le.useContext)(Sc),o=Cc(t),a=t.isOpen!=null||t.defaultOpen!=null||!n?o:n,i=f3(r,a.isOpen),s=t.isExiting||!t.shouldSkipAnimation&&i||!1,l=Kp(),{direction:c}=dr();if(l){let d=t.children;return typeof d=="function"&&(d=d({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),Le.default.createElement(Le.default.Fragment,null,d)}return a&&!a.isOpen&&!s?null:Le.default.createElement(iC,{...t,triggerRef:t.triggerRef,state:a,popoverRef:r,isExiting:s,dir:c})});function iC({state:e,isExiting:t,UNSTABLE_portalContainer:r,clearContexts:n,...o}){let a=(0,Le.useRef)(null),i=(0,Le.useRef)(null),s=(0,Le.useContext)(Xh),l=s&&o.trigger==="SubmenuTrigger",[c,d]=(0,Le.useState)(!1),{popoverProps:u,underlayProps:p,arrowProps:b,placement:g,triggerAnchorPoint:y}=T2({...o,offset:o.offset??8,arrowRef:a,groupRef:l?s:i},e),$=o.popoverRef,m=u3($,!!g&&c),f=o.isEntering||!o.shouldSkipAnimation&&m||!1,h=jt({...o,defaultClassName:"react-aria-Popover",values:{trigger:o.trigger||null,placement:g,isEntering:f,isExiting:t}}),v=!o.isNonModal||o.trigger==="SubmenuTrigger"||o.trigger==="PreviewTrigger",[x,w]=(0,Le.useState)(o.trigger==="PreviewTrigger");de(()=>{$.current&&w(v&&!$.current.querySelector("[role=dialog]"))},[$,v]),(0,Le.useEffect)(()=>{x&&o.trigger!=="PreviewTrigger"&&(o.trigger!=="SubmenuTrigger"||Zn()!=="pointer")&&$.current&&!ra($.current)&&sn($.current)},[x,$,o.trigger]);let P=(0,Le.useMemo)(()=>{let _=h.children;for(let C of[wc,...n??[]])_=Le.default.createElement(C.Provider,{value:null},_);return _},[h.children,n]),[k,T]=(0,Le.useState)(null),E=(0,Le.useCallback)(()=>{o.triggerRef.current&&T(o.triggerRef.current.getBoundingClientRect().width+"px")},[o.triggerRef]);de(E,[E]),us({ref:h.style?.["--trigger-width"]?void 0:o.triggerRef,onResize:E});let F={...u.style,"--trigger-anchor-point":y?`${y.x}px ${y.y}px`:void 0,...h.style,"--trigger-width":h.style?.["--trigger-width"]||k};de(()=>yc(()=>d(!0)),[]);let R=Le.default.createElement(Je.div,{...se(ze(o,{global:!0}),u),...h,id:x?o.id:void 0,role:x?"dialog":void 0,tabIndex:x?-1:void 0,"aria-label":o["aria-label"],"aria-labelledby":o["aria-labelledby"],ref:$,slot:o.slot||void 0,style:F,dir:o.dir,"data-trigger":o.trigger,"data-placement":g,"data-entering":f||void 0,"data-exiting":t||void 0},!o.isNonModal&&Le.default.createElement(Cf,{onDismiss:e.close}),Le.default.createElement(Ch.Provider,{value:{...b,placement:g,ref:a}},P),Le.default.createElement(Cf,{onDismiss:e.close}));return l?Le.default.createElement(wf,{...o,shouldContainFocus:x&&o.trigger!=="PreviewTrigger",isExiting:t,portalContainer:r??s?.current??void 0},R):Le.default.createElement(wf,{...o,shouldContainFocus:x&&o.trigger!=="PreviewTrigger",isExiting:t,portalContainer:r},!o.isNonModal&&e.isOpen&&Le.default.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),Le.default.createElement("div",{ref:i,style:{display:"contents"}},Le.default.createElement(Xh.Provider,{value:i},R)))}var ps=S(D(),1),Sf=(0,ps.createContext)({}),m3=(0,ps.forwardRef)(function(t,r){return[t,r]=Lt(t,r,Sf),ps.default.createElement(Je.kbd,{dir:"ltr",...t,ref:r})});var Ef=new WeakMap;function h3(e,t,r){let{shouldFocusWrap:n=!0,onKeyDown:o,onKeyUp:a,...i}=e;!e["aria-label"]&&e["aria-labelledby"];let s=ze(e,{labelable:!0}),{listProps:l}=df({...i,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return Ef.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:se(s,{onKeyDown:o,onKeyUp:a},{role:"menu",...l,onKeyDown:c=>{(c.key!=="Escape"||e.shouldUseVirtualFocus)&&l.onKeyDown?.(c)}})}}var g3=S(D(),1);function b3(e,t,r){let{id:n,key:o,closeOnSelect:a,shouldCloseOnSelect:i,isVirtualized:s,"aria-haspopup":l,onPressStart:c,onPressUp:d,onPress:u,onPressChange:p,onPressEnd:b,onClick:g,onHoverStart:y,onHoverChange:$,onHoverEnd:m,onKeyDown:f,onKeyUp:h,onFocus:v,onFocusChange:x,onBlur:w,selectionManager:P=t.selectionManager}=e,k=!!l,T=k&&e["aria-expanded"]==="true",E=e.isDisabled??P.isDisabled(o),F=e.isSelected??P.isSelected(o),R=Ef.get(t),_=t.collection.getItem(o),C=e.onClose||R.onClose,L=za(),z=()=>{if(!k&&(_?.props?.onAction?_.props.onAction():e.onAction&&e.onAction(o),R.onAction)){let De=R.onAction;De(o,_?.value)}},N="menuitem";k||(P.selectionMode==="single"?N="menuitemradio":P.selectionMode==="multiple"&&(N="menuitemcheckbox"));let Z=Wn(),I=Wn(),te=Wn(),X={id:n,"aria-disabled":E||void 0,role:N,"aria-label":e["aria-label"],"aria-labelledby":Z,"aria-describedby":[e["aria-describedby"],I,te].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};if(P.selectionMode!=="none"&&!k&&(X["aria-checked"]=F),s){let De=Number(_?.index);X["aria-posinset"]=Number.isNaN(De)?void 0:De+1,X["aria-setsize"]=uc(t.collection)}let B=(0,g3.useRef)(!1),G=De=>{p?.(De),B.current=De},V=(0,g3.useRef)(null),M=De=>{De.pointerType!=="keyboard"&&(V.current={pointerType:De.pointerType}),De.pointerType==="mouse"&&(B.current||De.target.click()),d?.(De)},ae=De=>{g?.(De),z(),D8(De,L,_.props.href,_?.props.routerOptions);let Yr=V.current?.pointerType==="keyboard"?V.current?.key==="Enter"||P.selectionMode==="none"||P.isLink(o):P.selectionMode!=="multiple"||P.isLink(o);Yr=i??a??Yr,C&&!k&&Yr&&C(),V.current=null},{itemProps:Q,isFocused:Se}=uf({id:n,selectionManager:P,key:o,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:R.shouldUseVirtualFocus}),{pressProps:$t,isPressed:le}=wo({onPressStart:c,onPress:u,onPressUp:M,onPressChange:G,onPressEnd:b,isDisabled:E}),{hoverProps:A}=Tn({isDisabled:E,onHoverStart(De){!Pn()&&!(T&&l)&&(P.setFocused(!0),P.setFocusedKey(o)),y?.(De)},onHoverChange:$,onHoverEnd:m}),{keyboardProps:W}=Pr({shortcuts:{" ":De=>{V.current={pointerType:"keyboard",key:" "},Y(De).click(),na("keyboard")},Enter:De=>{V.current={pointerType:"keyboard",key:"Enter"};let Yr=Y(De);if(Yr.tagName!=="A"){Yr.click(),na("keyboard");return}return na("keyboard"),{shouldPreventDefault:!1,shouldContinuePropagation:!1}}},onKeyDown:f,onKeyUp:h}),{focusableProps:ce}=Ku({onBlur:w,onFocus:v,onFocusChange:x},r),me=ze(_?.props);delete me.id;let It=Tu(_?.props);return{menuItemProps:{...X,...se(me,It,k?{onFocus:Q.onFocus,"data-collection":Q["data-collection"],"data-key":Q["data-key"]}:Q,$t,A,W,ce,R.shouldUseVirtualFocus||k?{onMouseDown:De=>De.preventDefault()}:void 0,E?void 0:{onClick:ae}),tabIndex:Q.tabIndex!=null&&T&&!R.shouldUseVirtualFocus?-1:Q.tabIndex},labelProps:{id:Z},descriptionProps:{id:I},keyboardShortcutProps:{id:te},isFocused:Se,isFocusVisible:Se&&P.isFocused&&Pn()&&!T,isSelected:F,isPressed:le,isDisabled:E}}function $3(e){let{heading:t,"aria-label":r}=e,n=xt();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}var v3=S(D(),1);function ms(e){let t=Cc(e),[r,n]=(0,v3.useState)(null),[o,a]=(0,v3.useState)([]),i=()=>{a([]),t.close()};return{focusStrategy:r,...t,open(c=null){n(c),t.open()},toggle(c=null){n(c),t.toggle()},close(){i()},expandedKeysStack:o,openSubmenu:(c,d)=>{a(u=>d>u.length?u:[...u.slice(0,d),c])},closeSubmenu:(c,d)=>{a(u=>u[d]===c?u.slice(0,d):u)}}}var ge=S(D(),1);var kf=class{constructor(t,{expandedKeys:r}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t,r=r||new Set;let n=i=>{if(this.keyMap.set(i.key,i),i.childNodes&&(i.type==="section"||r.has(i.key)))for(let s of i.childNodes)n(s)};for(let i of t)n(i);let o=null,a=0;for(let[i,s]of this.keyMap)o?(o.nextKey=i,s.prevKey=o.key):(this.firstKey=i,s.prevKey=void 0),s.type==="item"&&(s.index=a++),o=s,o.nextKey=void 0;this.lastKey=o?.key??null}*[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:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}};var hs=S(D(),1);function y3(e){let{onExpandedChange:t}=e,[r,n]=oa(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),o=ei(e),a=(0,hs.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=hf(e,(0,hs.useCallback)(l=>new kf(l,{expandedKeys:r}),[r]),null);return(0,hs.useEffect)(()=>{o.focusedKey!=null&&!i.getItem(o.focusedKey)&&o.setFocusedKey(null)},[i,o.focusedKey]),{collection:i,expandedKeys:r,disabledKeys:a,toggleKey:l=>{n(sC(r,l))},setExpandedKeys:n,selectionManager:new ko(i,o)}}function sC(e,t){let r=new Set(e);return r.has(t)?r.delete(t):r.add(t),r}var Tf=(0,ge.createContext)(null),Pc=(0,ge.createContext)(null),Ec=(0,ge.createContext)(null),Pf=(0,ge.createContext)(null);var lC=(0,ge.createContext)(null),qh=class extends an{static{this.type="submenutrigger"}filter(t,r,n){let o=t.getItem(this.firstChildKey);if(o&&n(o.textValue,this)){let a=this.clone();return r.addDescendants(a,t),a}return null}};var C3=(0,ge.forwardRef)(function(t,r){return[t,r]=Lt(t,r,Tf),ge.default.createElement(Gl,{content:ge.default.createElement(Zl,t)},n=>ge.default.createElement(cC,{props:t,collection:n,menuRef:r}))});function cC({props:e,collection:t,menuRef:r}){[e,r]=Lt(e,r,Al);let{filter:n,...o}=e,a=(0,ge.useMemo)(()=>n?t.filter(n):t,[t,n]),i=y3({...e,collection:a,children:void 0}),s=(0,ge.useContext)(Ec),{isVirtualized:l,CollectionRoot:c}=(0,ge.useContext)(ia),{menuProps:d}=h3({...e,isVirtualized:l,onClose:e.onClose||s?.close},i,r),u=jt({...e,children:void 0,defaultClassName:"react-aria-Menu",values:{isEmpty:i.collection.size===0}}),p=null;i.collection.size===0&&e.renderEmptyState&&(p=ge.default.createElement("div",{role:"menuitem",style:{display:"contents"}},e.renderEmptyState()));let b=ze(e,{global:!0});return ge.default.createElement(qa,null,ge.default.createElement(Je.div,{...se(b,u,d),ref:r,slot:e.slot||void 0,"data-empty":i.collection.size===0||void 0,onScroll:e.onScroll},ge.default.createElement(nn,{values:[[Pc,i],[af,{elementType:"div"}],[Wu,{name:"MenuSection",render:dC}],[lC,{parentMenuRef:r,shouldUseVirtualFocus:o?.shouldUseVirtualFocus}],[kc,{shouldCloseOnSelect:e.shouldCloseOnSelect}],[Al,null],[t7,null],[Pf,i.selectionManager],[Ec,s??ms({})]]},ge.default.createElement(cs,null,ge.default.createElement(c,{collection:i.collection,persistedKeys:v7(i.selectionManager.focusedKey),scrollRef:r}))),p))}var x3=class extends ko{constructor(t,r){super(t.collection,r),this.parent=t}get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(t,r){return this.parent.setFocusedKey(t,r)}setFocused(t){this.parent.setFocused(t)}get childFocusStrategy(){return this.parent.childFocusStrategy}};function dC(e,t,r,n="react-aria-MenuSection"){let o=(0,ge.useContext)(Pc),{CollectionBranch:a}=(0,ge.useContext)(ia),[i,s]=Zi(),{headingProps:l,groupProps:c}=$3({heading:s,"aria-label":r.props["aria-label"]??void 0}),d=jt({...e,id:void 0,children:void 0,defaultClassName:n,className:r.props?.className,style:r.props?.style,values:void 0}),u=(0,ge.useContext)(Pf),p=ei(e),b=e.selectionMode!=null?new x3(u,p):u,g=Aa(kc)?.shouldCloseOnSelect,y=ze(e,{global:!0});return delete y.id,ge.default.createElement(Je.section,{...se(y,d,c),ref:t},ge.default.createElement(nn,{values:[[rf,{...l,ref:i}],[Pf,b],[kc,{shouldCloseOnSelect:e.shouldCloseOnSelect??g}]]},ge.default.createElement(a,{collection:o.collection,parent:r})))}var kc=(0,ge.createContext)(null),w3=Za(ja,function(t,r,n){[t,r]=Lt(t,r,kc);let o=Aa(kc)?.id,a=(0,ge.useContext)(Pc),i=Un(r),s=(0,ge.useContext)(Pf),{isVirtualized:l}=(0,ge.useContext)(ia),{menuItemProps:c,labelProps:d,descriptionProps:u,keyboardShortcutProps:p,...b}=b3({...t,id:o,key:n.key,selectionManager:s,isVirtualized:l},a,i),{hoverProps:g,isHovered:y}=Tn({isDisabled:b.isDisabled}),$=jt({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...b,isHovered:y,isFocusVisible:b.isFocusVisible,selectionMode:s.selectionMode,selectionBehavior:s.selectionBehavior,hasSubmenu:!!t["aria-haspopup"],isOpen:t["aria-expanded"]==="true"}}),m=t.href?Je.a:Je.div,f=ze(t,{global:!0});return delete f.id,delete f.onClick,ge.default.createElement(m,{...se(f,$,c,g),ref:i,"data-disabled":b.isDisabled||void 0,"data-hovered":y||void 0,"data-focused":b.isFocused||void 0,"data-focus-visible":b.isFocusVisible||void 0,"data-pressed":b.isPressed||void 0,"data-selected":b.isSelected||void 0,"data-selection-mode":s.selectionMode==="none"?void 0:s.selectionMode,"data-has-submenu":!!t["aria-haspopup"]||void 0,"data-open":t["aria-expanded"]==="true"||void 0},ge.default.createElement(nn,{values:[[da,{slots:{[Gi]:d,label:d,description:u}}],[Sf,p],[of,{isSelected:b.isSelected}]]},$.children))}),uC=Za(Ua,function(t,r,n){let o=(0,ge.useContext)(Pc),{isLoading:a,onLoadMore:i,scrollOffset:s,...l}=t,c=(0,ge.useRef)(null),d=(0,ge.useMemo)(()=>({onLoadMore:i,collection:o?.collection,sentinelRef:c,scrollOffset:s}),[i,s,o?.collection]);mc(d,c);let u=jt({...l,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuLoadingIndicator",values:void 0}),p={tabIndex:-1};return ge.default.createElement(ge.default.Fragment,null,ge.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:fc(!0)},ge.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),a&&u.children&&ge.default.createElement(ge.default.Fragment,null,ge.default.createElement(Je.div,{...se(ze(t,{global:!0}),p),...u,role:"menuitem",ref:r},u.children)))});var gs=S(D(),1);var Sc=(0,gs.createContext)(null);var Lf=new WeakMap;var Qh=S(D(),1);function S3(e,t,r){let{value:n,children:o,"aria-label":a,"aria-labelledby":i,onPressStart:s,onPressEnd:l,onPressChange:c,onPress:d,onPressUp:u,onClick:p}=e,b=e.isDisabled||t.isDisabled,g=o!=null,y=a!=null||i!=null,$=t.selectedValue===n,m=z=>{z.stopPropagation(),t.setSelectedValue(n)},{pressProps:f,isPressed:h}=wo({onPressStart:s,onPressEnd:l,onPressChange:c,onPress:d,onPressUp:u,onClick:p,isDisabled:b}),{pressProps:v,isPressed:x}=wo({onPressStart:s,onPressEnd:l,onPressChange:c,onPressUp:u,onClick:p,isDisabled:b,onPress(z){d?.(z),t.setSelectedValue(n),r.current?.focus()}}),{focusableProps:w}=Ku(se(e,{onFocus:()=>t.setLastFocusedValue(n)}),r),P=se(f,w),k=ze(e,{labelable:!0}),T=-1;t.selectedValue!=null?t.selectedValue===n&&(T=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(T=0),b&&(T=void 0);let{name:E,form:F,descriptionId:R,errorMessageId:_,validationBehavior:C}=Lf.get(t);V7(r,t.defaultSelectedValue,t.setSelectedValue),W7({validationBehavior:C},t,r);let L=U7();return{labelProps:se(v,(0,Qh.useMemo)(()=>({onClick:z=>z.preventDefault(),onMouseDown:z=>z.preventDefault()}),[])),inputProps:se(k,{...P,type:"radio",name:E,form:F,tabIndex:T,disabled:b,required:t.isRequired&&C==="native",checked:$,value:n,onChange:m,"aria-describedby":[e["aria-describedby"],L.id,t.isInvalid?_:null,R].filter(Boolean).join(" ")||void 0}),descriptionProps:L,isDisabled:b,isSelected:$,isPressed:h||x}}function E3(e,t){let{name:r,form:n,isReadOnly:o,isRequired:a,isDisabled:i,orientation:s="vertical",validationBehavior:l="aria"}=e,{direction:c}=dr(),{isInvalid:d,validationErrors:u,validationDetails:p}=t.displayValidation,{labelProps:b,fieldProps:g,descriptionProps:y,errorMessageProps:$}=B7({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||u}),m=ze(e,{labelable:!0}),{focusWithinProps:f}=ln({onBlurWithin(w){e.onBlur?.(w),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});function h(w,P){let k=cn(P.currentTarget,{from:Y(P),accept:E=>E instanceof Fe(E).HTMLInputElement&&E.type==="radio"}),T;return w==="next"?(T=k.nextNode(),T||(k.currentNode=P.currentTarget,T=k.firstChild())):(T=k.previousNode(),T||(k.currentNode=P.currentTarget,T=k.lastChild())),T?(T.focus(),t.setSelectedValue(T.value),!0):!1}let{keyboardProps:v}=Pr({shortcuts:{ArrowRight:w=>h(c==="rtl"&&s!=="vertical"?"prev":"next",w),ArrowLeft:w=>h(c==="rtl"&&s!=="vertical"?"next":"prev",w),ArrowDown:w=>h("next",w),ArrowUp:w=>h("prev",w)},allowRepeats:!0}),x=xt(r);return Lf.set(t,{name:x,form:n,descriptionId:y.id,errorMessageId:$.id,validationBehavior:l}),{radioGroupProps:se(m,{role:"radiogroup",...v,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":o||void 0,"aria-required":a||void 0,"aria-disabled":i||void 0,"aria-orientation":s,...g,...f}),labelProps:b,descriptionProps:y,errorMessageProps:$,isInvalid:d,validationErrors:u,validationDetails:p}}var Tc=S(D(),1),fC=Math.round(Math.random()*1e10),pC=0;function k3(e){let t=(0,Tc.useMemo)(()=>e.name||`radio-group-${fC}-${++pC}`,[e.name]),[r,n]=oa(e.value,e.defaultValue??null,e.onChange),[o]=(0,Tc.useState)(r),[a,i]=(0,Tc.useState)(null),s=O7({...e,value:r}),l=d=>{!e.isReadOnly&&!e.isDisabled&&(n(d),s.commitValidation())},c=s.displayValidation.isInvalid;return{...s,name:t,selectedValue:r,defaultSelectedValue:e.value!==void 0?o:e.defaultValue??null,setSelectedValue:l,lastFocusedValue:a,setLastFocusedValue:i,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(c?"invalid":null),isInvalid:c}}var et=S(D(),1);var Jh=(0,et.createContext)(null),e9=(0,et.createContext)(null);var Rf=(0,et.createContext)(null),P3=(0,et.forwardRef)(function(t,r){[t,r]=Lt(t,r,Jh);let{validationBehavior:n}=Aa(z7)||{},o=t.validationBehavior??n??"native",a=k3({...t,validationBehavior:o}),[i,s]=Zi(!t["aria-label"]&&!t["aria-labelledby"]),{radioGroupProps:l,labelProps:c,descriptionProps:d,errorMessageProps:u,...p}=E3({...t,label:s,validationBehavior:o},a),b=jt({...t,values:{orientation:t.orientation||"vertical",isDisabled:a.isDisabled,isReadOnly:a.isReadOnly,isRequired:a.isRequired,isInvalid:a.isInvalid,state:a},defaultClassName:"react-aria-RadioGroup"}),g=ze(t,{global:!0});return et.default.createElement(Je.div,{...se(g,b,l),ref:r,slot:t.slot||void 0,"data-orientation":t.orientation||"vertical","data-invalid":a.isInvalid||void 0,"data-disabled":a.isDisabled||void 0,"data-readonly":a.isReadOnly||void 0,"data-required":a.isRequired||void 0},et.default.createElement(nn,{values:[[Rf,a],[Yu,{...c,ref:i,elementType:"span"}],[da,{slots:{description:d,errorMessage:u}}],[N7,p]]},et.default.createElement(cs,null,b.children)))}),T3=(0,et.forwardRef)(function(t,r){let{inputRef:n=null,...o}=t;[t,r]=Lt(o,r,e9);let a=et.default.useContext(Rf),i=Un((0,et.useMemo)(()=>ta(n,t.inputRef!==void 0?t.inputRef:null),[n,t.inputRef])),s=S3({...T8(t),children:typeof t.children=="function"?!0:t.children},a,i);return et.default.createElement(t9.Provider,{value:{...s,inputRef:i,defaultClassName:"react-aria-Radio"}},et.default.createElement(r9,{...t,ref:r}))}),t9=(0,et.createContext)(null);var r9=(0,et.forwardRef)(function(t,r){let{labelProps:n,inputProps:o,isSelected:a,isDisabled:i,isPressed:s,defaultClassName:l,inputRef:c}=(0,et.useContext)(t9),d=et.default.useContext(Rf),{isFocused:u,isFocusVisible:p,focusProps:b}=ql(),g=i||d.isReadOnly,{hoverProps:y,isHovered:$}=Tn({...t,isDisabled:g}),m=jt({...t,defaultClassName:l,values:{isSelected:a,isPressed:s,isHovered:$,isFocused:u,isFocusVisible:p,isDisabled:i,isReadOnly:d.isReadOnly,isInvalid:d.isInvalid,isRequired:d.isRequired}}),f=ze(t,{global:!0});return delete f.id,delete f.onClick,et.default.createElement(Je.label,{...se(f,n,y,m),ref:r,"data-selected":a||void 0,"data-pressed":s||void 0,"data-hovered":$||void 0,"data-focused":u||void 0,"data-focus-visible":p||void 0,"data-disabled":i||void 0,"data-readonly":d.isReadOnly||void 0,"data-invalid":d.isInvalid||void 0,"data-required":d.isRequired||void 0},et.default.createElement(tc,{elementType:"span"},et.default.createElement("input",{...se(o,b),ref:c})),m.children)});var Po=S(D(),1);var Ur=S($e(),1),Te={focusOutline:"var(--contextual-layout-units-focusring-width) solid var(--semantic-color-stroke-focusring-base)",focusOffset:"0",fillCheckedBase:"var(--semantic-color-fill-action-primary-strong-rest)",fillCheckedHover:"var(--semantic-color-fill-action-primary-strong-hover)",fillCheckedFocused:"var(--semantic-color-fill-action-primary-strong-hover)",fillCheckedPressed:"var(--semantic-color-fill-action-primary-strong-pressed)",fillCheckedDisabled:"var(--semantic-color-fill-action-disabled)",borderBase:"var(--semantic-color-stroke-action-secondary-rest)",borderHover:"var(--semantic-color-stroke-action-secondary-hover)",borderFocused:"var(--semantic-color-stroke-action-secondary-hover)",borderPressed:"var(--semantic-color-stroke-action-secondary-pressed)",borderDisabled:"var(--semantic-color-stroke-action-disabled)",iconPrimary:"var(--semantic-color-foreground-action-primary-on-strong)",iconError:"var(--semantic-color-foreground-action-status-negative-on-strong)",stateLayerUncheckedHover:"var(--semantic-color-fill-action-secondary-hover)",stateLayerCheckedHover:"var(--semantic-color-fill-action-primary-subtle-hover)",stateLayerCheckedFocused:"var(--semantic-color-fill-action-primary-subtle-hover)",stateLayerCheckedPressed:"var(--semantic-color-fill-action-primary-subtle-pressed)",fillErrorBase:"var(--semantic-color-fill-action-status-negative-strong-rest)",fillErrorHover:"var(--semantic-color-fill-action-status-negative-strong-hover)",fillErrorFocused:"var(--semantic-color-fill-action-status-negative-strong-hover)",fillErrorPressed:"var(--semantic-color-fill-action-status-negative-strong-pressed)",fillErrorDisabled:"var(--semantic-color-fill-action-disabled)",borderErrorBase:"var(--semantic-color-stroke-action-status-negative-rest)",borderErrorHover:"var(--semantic-color-stroke-action-status-negative-hover)",borderErrorFocused:"var(--semantic-color-stroke-action-status-negative-hover)",borderErrorPressed:"var(--semantic-color-stroke-action-status-negative-pressed)",borderErrorDisabled:"var(--semantic-color-stroke-action-disabled)",stateLayerErrorHover:"var(--semantic-color-fill-action-status-negative-subtle-hover)",stateLayerHighlightHover:"var(--semantic-color-fill-action-primary-subtle-hover)",labelColor:"var(--semantic-color-foreground-static-neutral-base)",radius:"var(--semantic-layout-units-cornerradius-small)",radiusFull:"100px"},n9={default:18,s:16},o9=44,L3=1.5,bC=16;function $C({color:e,size:t}){return(0,Ur.jsx)("svg",{width:t,height:t,viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",focusable:"false",children:(0,Ur.jsx)("path",{d:"M4 9.5L7.5 13L14 6",stroke:e,strokeWidth:L3,strokeLinecap:"round",strokeLinejoin:"round"})})}function vC({color:e,size:t}){return(0,Ur.jsx)("svg",{width:t,height:t,viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",focusable:"false",children:(0,Ur.jsx)("path",{d:"M5 9H13",stroke:e,strokeWidth:L3,strokeLinecap:"round"})})}function _f({checked:e=!1,indeterminate:t=!1,error:r=!1,highlight:n=!1,secondary:o=!1,disabled:a=!1,size:i="default",label:s,onChange:l,id:c,name:d,value:u,className:p="",describedBy:b}){let g=Ut(),y=(0,Po.useRef)(null),[$,m]=(0,Po.useState)(!1),[f,h]=(0,Po.useState)(!1),[v,x]=(0,Po.useState)(!1),[w,P]=(0,Po.useState)(!1);(0,Po.useEffect)(()=>{y.current&&(y.current.indeterminate=t)},[t]);let k=n9[i]||n9.default,T="transparent";a&&(e||t)?T=r?Te.fillErrorDisabled:Te.fillCheckedDisabled:!a&&(e||t)&&(r?T=w?Te.fillErrorPressed:f?Te.fillErrorFocused:$?Te.fillErrorHover:Te.fillErrorBase:T=w?Te.fillCheckedPressed:f?Te.fillCheckedFocused:$?Te.fillCheckedHover:Te.fillCheckedBase);let E;e||t?E=T:a?E=r?Te.borderErrorDisabled:Te.borderDisabled:r?E=w?Te.borderErrorPressed:f?Te.borderErrorFocused:$?Te.borderErrorHover:Te.borderErrorBase:E=w?Te.borderPressed:f?Te.borderFocused:$?Te.borderHover:Te.borderBase;let F="transparent";a||(w?F=e||t?Te.stateLayerCheckedPressed:r?Te.stateLayerErrorHover:Te.stateLayerUncheckedHover:($||f)&&(e||t?F=r?Te.stateLayerErrorHover:f?Te.stateLayerCheckedFocused:Te.stateLayerCheckedHover:F=r?Te.stateLayerErrorHover:n?Te.stateLayerHighlightHover:Te.stateLayerUncheckedHover));let R=f&&r?"0 0 0 3px var(--semantic-color-fill-static-negative-subtle)":"none",_=r?Te.iconError:Te.iconPrimary,C=e||t;return(0,Ur.jsxs)("label",{className:`pds-checkbox${i==="s"?" pds-checkbox--s":""}${r?" pds-checkbox--error":""}${n?" pds-checkbox--highlight":""}${a?" pds-checkbox--disabled":""}${p?` ${p}`:""}`,style:{display:"inline-flex",alignItems:"center",gap:s?bC:0,cursor:a?"not-allowed":"pointer",userSelect:"none",fontFamily:"'Red Hat Text', sans-serif"},onMouseEnter:()=>!a&&m(!0),onMouseLeave:()=>{m(!1),P(!1)},onMouseDown:()=>!a&&P(!0),onMouseUp:()=>P(!1),children:[(0,Ur.jsxs)("span",{"aria-hidden":"true",style:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:o9,height:o9,borderRadius:Te.radiusFull,backgroundColor:F,transition:g?"none":"background-color var(--motion-duration-3) var(--motion-easing-standard)",boxShadow:R,flexShrink:0},children:[(0,Ur.jsx)("input",{ref:y,type:"checkbox",id:c,name:d,value:u,checked:t?!1:e,disabled:a,"aria-describedby":b,onChange:L=>l&&l(L.target.checked),onFocus:L=>{h(!0),x(L.target.matches(":focus-visible"))},onBlur:()=>{h(!1),x(!1)},style:{position:"absolute",width:k,height:k,opacity:0,margin:0,padding:0,cursor:a?"not-allowed":"pointer",zIndex:1}}),(0,Ur.jsx)("span",{"aria-hidden":"true",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:k,height:k,borderRadius:Te.radius,border:`${L3}px solid ${v&&!a?"transparent":E}`,backgroundColor:T,boxSizing:"border-box",outline:v&&!a?Te.focusOutline:"none",outlineOffset:Te.focusOffset,transition:g?"none":"background-color var(--motion-duration-2) var(--motion-easing-decelerate), border-color var(--motion-duration-2) var(--motion-easing-decelerate)",flexShrink:0},children:C&&(t?(0,Ur.jsx)(vC,{color:_,size:k}):(0,Ur.jsx)($C,{color:_,size:k}))})]}),s&&(0,Ur.jsx)("span",{style:{fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",fontWeight:400,color:a?"var(--semantic-color-foreground-static-neutral-base)":Te.labelColor},children:s})]})}var bs=S(D(),1);var gt=S($e(),1),Oe=e=>`var(--semantic-color-${e})`,In=e=>`var(--semantic-layout-units-${e})`,a9=e=>`var(--contextual-layout-units-${e})`,Ot=e=>`var(--semantic-type-${e})`,Jn=e=>`var(--motion-${e})`;var He={ring:Oe("stroke-action-secondary-rest"),ringHover:Oe("stroke-action-secondary-hover"),ringPressed:Oe("stroke-action-secondary-pressed"),ringOn:Oe("stroke-action-primary-strong-rest"),ringOnHover:Oe("stroke-action-primary-strong-hover"),ringOnPressed:Oe("stroke-action-primary-strong-pressed"),ringError:Oe("stroke-action-status-negative-rest"),ringErrorHover:Oe("stroke-action-status-negative-hover"),ringErrorPressed:Oe("stroke-action-status-negative-pressed"),ringDisabled:Oe("stroke-action-disabled"),dot:Oe("fill-action-primary-strong-rest"),dotHover:Oe("fill-action-primary-strong-hover"),dotPressed:Oe("fill-action-primary-strong-pressed"),dotError:Oe("fill-action-status-negative-strong-rest"),dotErrorHover:Oe("fill-action-status-negative-strong-hover"),dotErrorPressed:Oe("fill-action-status-negative-strong-pressed"),dotDisabled:Oe("fill-action-disabled"),layerHover:Oe("fill-action-selection-hover"),layerPressed:Oe("fill-action-selection-selected"),focusFill:Oe("fill-surface-elevated"),focusRing:Oe("stroke-focusring-base"),label:Oe("foreground-static-neutral-base"),labelDisabled:Oe("foreground-action-disabled"),groupLabel:Oe("foreground-action-secondary-rest"),groupLabelError:Oe("foreground-action-status-negative-on-subtle-hover"),required:Oe("foreground-static-negative-on-subtle"),help:Oe("foreground-action-secondary-rest"),helpError:Oe("foreground-static-negative-on-subtle"),helpErrorIcon:Oe("fill-action-status-negative-strong-rest")},Ne={target:In("accessibility-touch-target-aa-width"),targetH:In("accessibility-touch-target-aa-height"),ringWidth:a9("selection-controls-borderwidth"),radius:In("cornerradius-full"),controlGap:In("gap-xxtight"),requiredGap:In("gap-xxxtight"),rowGap:In("gap-base"),labelEnd:In("padding-base"),labelBlock:{Base:In("padding-tight"),Large:In("padding-xtight")},helpGap:In("gap-tight"),helpIconTop:In("borderwidth-base"),ring:{Base:20,Large:24},dot:{Base:10,Large:12},labelMax:480,helpMax:360,helpIcon:16},jr={Base:{fontSize:Ot("font-size-s"),lineHeight:Ot("line-height-s-single"),letterSpacing:Ot("letter-spacing-spacious")},Large:{fontSize:Ot("font-size-r"),lineHeight:Ot("line-height-r-single"),letterSpacing:Ot("letter-spacing-wide")},group:{fontSize:Ot("font-size-s"),lineHeight:Ot("line-height-s-single"),letterSpacing:Ot("letter-spacing-spacious"),fontWeight:Ot("weight-medium")},help:{fontSize:Ot("font-size-xs"),lineHeight:Ot("line-height-xs-single"),letterSpacing:Ot("letter-spacing-extraspacious")}},yC=`
|
|
140
|
-
.pw-radio-group{display:flex;flex-direction:column;align-items:flex-start;gap:${
|
|
141
|
-
font-family:${
|
|
142
|
-
.pw-radio-group__label{display:inline-flex;gap:${
|
|
143
|
-
font-size:${
|
|
144
|
-
.pw-radio-group__required{color:${
|
|
145
|
-
.pw-radio-group[data-invalid] .pw-radio-group__label{color:${
|
|
146
|
-
.pw-radio-group[data-disabled] .pw-radio-group__label,.pw-radio-group[data-disabled] .pw-radio-group__required{color:${
|
|
139
|
+
}`.trim(),document.head.prepend(o);let a=c=>{if(!(c.touches.length===2||r)){if(!t||t===document.documentElement||t===document.body){c.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&c.preventDefault()}},s=dg(),l=ir(Ft(document,"touchstart",n,{passive:!1,capture:!0}),Ft(document,"touchmove",a,{passive:!1,capture:!0}),cg());return()=>{e(),l(),o.remove(),s()}}function cg(){return Ft(document,"blur",t=>{let r=q(t),n=t.relatedTarget;n&&Qi(n)?n.focus():n||r.parentElement?.closest("[tabindex]")?.focus({preventScroll:!0})},!0)}function dg(){let e=HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(t){if(e.call(this,{...t,preventScroll:!0}),!t||!t.preventScroll){let r=()=>{xe()===this&&LC(this)};Lc(n=>n?r():K2(()=>r()))}}}),()=>{Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:e})}}function LC(e){let t=document.scrollingElement||document.documentElement,r=e;for(;r&&r!==t&&r.isConnected;){let n=lc(r);if(n!==document.documentElement&&n!==document.body&&n!==r){let o=n.getBoundingClientRect(),i=r.getBoundingClientRect();if(i.top<o.top||i.bottom>o.top+r.clientHeight){let a=o.bottom;z2&&(a=Math.min(a,z2.offsetTop+z2.height));let s=i.top-o.top-((a-o.top)/2-i.height/2);n.scrollTo({top:Math.max(0,Math.min(n.scrollHeight-n.clientHeight,n.scrollTop+s)),behavior:"smooth"})}}r=n.parentElement}}var ug=S(D(),1);function W2(e,t){let{triggerRef:r,popoverRef:n,groupRef:o,isNonModal:i,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:s,...l}=e,c=l.trigger==="SubmenuTrigger",{overlayProps:d,underlayProps:u}=sg({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!i||c,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:s},o??n),{overlayProps:p,arrowProps:b,placement:g,triggerAnchorPoint:y}=og({...l,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:i&&!c?t.close:null,getTargetRect:l.getTargetRect??(t.point?()=>new DOMRect(t.point.x,t.point.y,0,0):void 0)});lg({isDisabled:i||!t.isOpen}),(0,ug.useEffect)(()=>{if(t.isOpen&&n.current)return i?jh(o?.current??n.current):Uh([o?.current??n.current],{shouldUseInert:!0})},[i,t.isOpen,n,o]);let{focusWithinProps:$}=fn(e);return{popoverProps:le(d,p,$),arrowProps:b,underlayProps:u,placement:g,triggerAnchorPoint:y}}var U2={};U2={dismiss:"\u062A\u062C\u0627\u0647\u0644"};var j2={};j2={dismiss:"\u041E\u0442\u0445\u0432\u044A\u0440\u043B\u044F\u043D\u0435"};var G2={};G2={dismiss:"Odstranit"};var Z2={};Z2={dismiss:"Luk"};var Y2={};Y2={dismiss:"Schlie\xDFen"};var X2={};X2={dismiss:"\u0391\u03C0\u03CC\u03C1\u03C1\u03B9\u03C8\u03B7"};var q2={};q2={dismiss:"Dismiss"};var Q2={};Q2={dismiss:"Descartar"};var J2={};J2={dismiss:"L\xF5peta"};var e3={};e3={dismiss:"Hylk\xE4\xE4"};var t3={};t3={dismiss:"Rejeter"};var r3={};r3={dismiss:"\u05D4\u05EA\u05E2\u05DC\u05DD"};var n3={};n3={dismiss:"Odbaci"};var o3={};o3={dismiss:"Elutas\xEDt\xE1s"};var i3={};i3={dismiss:"Ignora"};var a3={};a3={dismiss:"\u9589\u3058\u308B"};var s3={};s3={dismiss:"\uBB34\uC2DC"};var l3={};l3={dismiss:"Atmesti"};var c3={};c3={dismiss:"Ner\u0101d\u012Bt"};var d3={};d3={dismiss:"Lukk"};var u3={};u3={dismiss:"Negeren"};var f3={};f3={dismiss:"Zignoruj"};var p3={};p3={dismiss:"Descartar"};var m3={};m3={dismiss:"Dispensar"};var h3={};h3={dismiss:"Revocare"};var g3={};g3={dismiss:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C"};var b3={};b3={dismiss:"Zru\u0161i\u0165"};var $3={};$3={dismiss:"Opusti"};var v3={};v3={dismiss:"Odbaci"};var y3={};y3={dismiss:"Avvisa"};var x3={};x3={dismiss:"Kapat"};var C3={};C3={dismiss:"\u0421\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438"};var w3={};w3={dismiss:"\u53D6\u6D88"};var S3={};S3={dismiss:"\u95DC\u9589"};var E3={};E3={"ar-AE":U2,"bg-BG":j2,"cs-CZ":G2,"da-DK":Z2,"de-DE":Y2,"el-GR":X2,"en-US":q2,"es-ES":Q2,"et-EE":J2,"fi-FI":e3,"fr-FR":t3,"he-IL":r3,"hr-HR":n3,"hu-HU":o3,"it-IT":i3,"ja-JP":a3,"ko-KR":s3,"lt-LT":l3,"lv-LV":c3,"nb-NO":d3,"nl-NL":u3,"pl-PL":f3,"pt-BR":p3,"pt-PT":m3,"ro-RO":h3,"ru-RU":g3,"sk-SK":b3,"sl-SI":$3,"sr-SP":v3,"sv-SE":y3,"tr-TR":x3,"uk-UA":C3,"zh-CN":w3,"zh-TW":S3};var k3=S(D(),1);function RC(e){return e&&e.__esModule?e.default:e}function If(e){let{onDismiss:t,...r}=e,n=x7(RC(E3),"@react-aria/overlays"),o=Wu(r,n.format("dismiss")),i=()=>{t&&t()};return k3.default.createElement(dc,null,k3.default.createElement("button",{...o,tabIndex:-1,onClick:i,style:{width:1,height:1}}))}var ua=S(D(),1);function fg({children:e}){let t=(0,ua.useMemo)(()=>({register:()=>{}}),[]);return ua.default.createElement(oc.Provider,{value:t},e)}var Rc=S(D(),1),_C=(0,Rc.createContext)({});function pg(){return(0,Rc.useContext)(_C)??{}}var An=S(D(),1),mg=S(_n(),1),MC=An.default.createContext(null);function Nf(e){let t=si(),{portalContainer:r=t?null:document.body,isExiting:n}=e,[o,i]=(0,An.useState)(!1),a=(0,An.useMemo)(()=>({contain:o,setContain:i}),[o,i]),{getContainer:s}=pg();if(!e.portalContainer&&s&&(r=s()),!r)return null;let l=e.children;return e.disableFocusManagement||(l=An.default.createElement(aa,{restoreFocus:!0,contain:(e.shouldContainFocus||o)&&!n},l)),l=An.default.createElement(MC.Provider,{value:a},An.default.createElement(fg,null,An.default.createElement(ds.Provider,{value:null},l))),mg.default.createPortal(l,r)}var vs=S(D(),1);function _c(e){let[t,r]=fi(e.isOpen,e.defaultOpen||!1,e.onOpenChange),[n,o]=(0,vs.useState)(null),i=(0,vs.useCallback)(()=>{r(!0)},[r]),a=(0,vs.useCallback)(()=>{r(!1)},[r]),s=(0,vs.useCallback)(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:i,close:a,toggle:s,point:n,setPoint:o}}var _e=S(D(),1);var hg=S(_n(),1),Ci=S(D(),1);function P3(e,t=!0,r){let[n,o]=(0,Ci.useState)(!0),i=n&&t;return ue(()=>{if(!t&&e.current)return ir(Jn(e.current,"opacity","0"),Jn(e.current,"clip","rect(0 0 0 0)"),Jn(e.current,"clip-path","inset(50%)"),Jn(e.current,"mask-image","linear-gradient(#0000, #0000)"))},[e,t]),ue(()=>{if(i&&e.current&&"getAnimations"in e.current)for(let a of e.current.getAnimations())a instanceof CSSTransition&&a.cancel()},[e,i]),gg(e,i,r,(0,Ci.useCallback)(()=>o(!1),[])),i}function T3(e,t,r){let[n,o]=(0,Ci.useState)(t?"open":"closed");switch(n){case"open":t||o("exiting");break;case"closed":case"exiting":t&&o("open");break}let i=n==="exiting";return gg(e,i,r,(0,Ci.useCallback)(()=>{o(a=>a==="exiting"?"closed":a)},[])),i}function gg(e,t,r,n){let o=(0,Ci.useRef)(null),i=yt(r);ue(()=>{if(t&&e.current&&o.current!==t){if(o.current=t,!("getAnimations"in e.current)){n();return}let a=i?.(e.current),s=e.current.getAnimations().filter(l=>(typeof DocumentTimeline>"u"||l.timeline instanceof DocumentTimeline)&&l.playState==="running");if(s.length===0&&!a){n();return}Promise.all([a,...s.map(l=>l.finished)]).then(()=>{(0,hg.flushSync)(()=>{n()})}).catch(()=>{})}o.current=t},[e,t,n])}var Mc=(0,_e.createContext)(null),bg=(0,_e.createContext)(null),L3=(0,_e.forwardRef)(function(t,r){[t,r]=Dt(t,r,Mc);let n=(0,_e.useContext)(Ic),o=_c(t),i=t.isOpen!=null||t.defaultOpen!=null||!n?o:n,a=T3(r,i.isOpen),s=t.isExiting||!t.shouldSkipAnimation&&a||!1,l=o2(),{direction:c}=hr();if(l){let d=t.children;return typeof d=="function"&&(d=d({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),_e.default.createElement(_e.default.Fragment,null,d)}return i&&!i.isOpen&&!s?null:_e.default.createElement(IC,{...t,triggerRef:t.triggerRef,state:i,popoverRef:r,isExiting:s,dir:c})});function IC({state:e,isExiting:t,UNSTABLE_portalContainer:r,clearContexts:n,...o}){let i=(0,_e.useRef)(null),a=(0,_e.useRef)(null),s=(0,_e.useContext)(bg),l=s&&o.trigger==="SubmenuTrigger",[c,d]=(0,_e.useState)(!1),{popoverProps:u,underlayProps:p,arrowProps:b,placement:g,triggerAnchorPoint:y}=W2({...o,offset:o.offset??8,arrowRef:i,groupRef:l?s:a},e),$=o.popoverRef,m=P3($,!!g&&c),f=o.isEntering||!o.shouldSkipAnimation&&m||!1,h=qt({...o,defaultClassName:"react-aria-Popover",values:{trigger:o.trigger||null,placement:g,isEntering:f,isExiting:t}}),v=!o.isNonModal||o.trigger==="SubmenuTrigger"||o.trigger==="PreviewTrigger",[x,w]=(0,_e.useState)(o.trigger==="PreviewTrigger");ue(()=>{$.current&&w(v&&!$.current.querySelector("[role=dialog]"))},[$,v]),(0,_e.useEffect)(()=>{x&&o.trigger!=="PreviewTrigger"&&(o.trigger!=="SubmenuTrigger"||to()!=="pointer")&&$.current&&!di($.current)&&un($.current)},[x,$,o.trigger]);let P=(0,_e.useMemo)(()=>{let I=h.children;for(let C of[Mc,...n??[]])I=_e.default.createElement(C.Provider,{value:null},I);return I},[h.children,n]),[k,T]=(0,_e.useState)(null),E=(0,_e.useCallback)(()=>{o.triggerRef.current&&T(o.triggerRef.current.getBoundingClientRect().width+"px")},[o.triggerRef]);ue(E,[E]),$s({ref:h.style?.["--trigger-width"]?void 0:o.triggerRef,onResize:E});let F={...u.style,"--trigger-anchor-point":y?`${y.x}px ${y.y}px`:void 0,...h.style,"--trigger-width":h.style?.["--trigger-width"]||k};ue(()=>Lc(()=>d(!0)),[]);let _=_e.default.createElement(rt.div,{...le(ze(o,{global:!0}),u),...h,id:x?o.id:void 0,role:x?"dialog":void 0,tabIndex:x?-1:void 0,"aria-label":o["aria-label"],"aria-labelledby":o["aria-labelledby"],ref:$,slot:o.slot||void 0,style:F,dir:o.dir,"data-trigger":o.trigger,"data-placement":g,"data-entering":f||void 0,"data-exiting":t||void 0},!o.isNonModal&&_e.default.createElement(If,{onDismiss:e.close}),_e.default.createElement(Vh.Provider,{value:{...b,placement:g,ref:i}},P),_e.default.createElement(If,{onDismiss:e.close}));return l?_e.default.createElement(Nf,{...o,shouldContainFocus:x&&o.trigger!=="PreviewTrigger",isExiting:t,portalContainer:r??s?.current??void 0},_):_e.default.createElement(Nf,{...o,shouldContainFocus:x&&o.trigger!=="PreviewTrigger",isExiting:t,portalContainer:r},!o.isNonModal&&e.isOpen&&_e.default.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),_e.default.createElement("div",{ref:a,style:{display:"contents"}},_e.default.createElement(bg.Provider,{value:a},_)))}var ys=S(D(),1),Df=(0,ys.createContext)({}),R3=(0,ys.forwardRef)(function(t,r){return[t,r]=Dt(t,r,Df),ys.default.createElement(rt.kbd,{dir:"ltr",...t,ref:r})});var Ff=new WeakMap;function _3(e,t,r){let{shouldFocusWrap:n=!0,onKeyDown:o,onKeyUp:i,...a}=e;!e["aria-label"]&&e["aria-labelledby"];let s=ze(e,{labelable:!0}),{listProps:l}=xf({...a,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return Ff.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:le(s,{onKeyDown:o,onKeyUp:i},{role:"menu",...l,onKeyDown:c=>{(c.key!=="Escape"||e.shouldUseVirtualFocus)&&l.onKeyDown?.(c)}})}}var M3=S(D(),1);function I3(e,t,r){let{id:n,key:o,closeOnSelect:i,shouldCloseOnSelect:a,isVirtualized:s,"aria-haspopup":l,onPressStart:c,onPressUp:d,onPress:u,onPressChange:p,onPressEnd:b,onClick:g,onHoverStart:y,onHoverChange:$,onHoverEnd:m,onKeyDown:f,onKeyUp:h,onFocus:v,onFocusChange:x,onBlur:w,selectionManager:P=t.selectionManager}=e,k=!!l,T=k&&e["aria-expanded"]==="true",E=e.isDisabled??P.isDisabled(o),F=e.isSelected??P.isSelected(o),_=Ff.get(t),I=t.collection.getItem(o),C=e.onClose||_.onClose,L=Yi(),O=()=>{if(!k&&(I?.props?.onAction?I.props.onAction():e.onAction&&e.onAction(o),_.onAction)){let Le=_.onAction;Le(o,I?.value)}},M="menuitem";k||(P.selectionMode==="single"?M="menuitemradio":P.selectionMode==="multiple"&&(M="menuitemcheckbox"));let Z=qn(),R=qn(),te=qn(),X={id:n,"aria-disabled":E||void 0,role:M,"aria-label":e["aria-label"],"aria-labelledby":Z,"aria-describedby":[e["aria-describedby"],R,te].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};if(P.selectionMode!=="none"&&!k&&(X["aria-checked"]=F),s){let Le=Number(I?.index);X["aria-posinset"]=Number.isNaN(Le)?void 0:Le+1,X["aria-setsize"]=yc(t.collection)}let K=(0,M3.useRef)(!1),j=Le=>{p?.(Le),K.current=Le},z=(0,M3.useRef)(null),N=Le=>{Le.pointerType!=="keyboard"&&(z.current={pointerType:Le.pointerType}),Le.pointerType==="mouse"&&(K.current||Le.target.click()),d?.(Le)},ie=Le=>{g?.(Le),O(),r7(Le,L,I.props.href,I?.props.routerOptions);let Oe=z.current?.pointerType==="keyboard"?z.current?.key==="Enter"||P.selectionMode==="none"||P.isLink(o):P.selectionMode!=="multiple"||P.isLink(o);Oe=a??i??Oe,C&&!k&&Oe&&C(),z.current=null},{itemProps:J,isFocused:Ee}=Cf({id:n,selectionManager:P,key:o,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:_.shouldUseVirtualFocus}),{pressProps:ft,isPressed:ce}=Io({onPressStart:c,onPress:u,onPressUp:N,onPressChange:j,onPressEnd:b,isDisabled:E}),{hoverProps:H}=Nn({isDisabled:E,onHoverStart(Le){!In()&&!(T&&l)&&(P.setFocused(!0),P.setFocusedKey(o)),y?.(Le)},onHoverChange:$,onHoverEnd:m}),{keyboardProps:V}=Ir({shortcuts:{" ":Le=>{z.current={pointerType:"keyboard",key:" "},q(Le).click(),ui("keyboard")},Enter:Le=>{z.current={pointerType:"keyboard",key:"Enter"};let Oe=q(Le);if(Oe.tagName!=="A"){Oe.click(),ui("keyboard");return}return ui("keyboard"),{shouldPreventDefault:!1,shouldContinuePropagation:!1}}},onKeyDown:f,onKeyUp:h}),{focusableProps:de}=Ju({onBlur:w,onFocus:v,onFocusChange:x},r),Y=ze(I?.props);delete Y.id;let je=Ou(I?.props);return{menuItemProps:{...X,...le(Y,je,k?{onFocus:J.onFocus,"data-collection":J["data-collection"],"data-key":J["data-key"]}:J,ft,H,V,de,_.shouldUseVirtualFocus||k?{onMouseDown:Le=>Le.preventDefault()}:void 0,E?void 0:{onClick:ie}),tabIndex:J.tabIndex!=null&&T&&!_.shouldUseVirtualFocus?-1:J.tabIndex},labelProps:{id:Z},descriptionProps:{id:R},keyboardShortcutProps:{id:te},isFocused:Ee,isFocusVisible:Ee&&P.isFocused&&In()&&!T,isSelected:F,isPressed:ce,isDisabled:E}}function N3(e){let{heading:t,"aria-label":r}=e,n=kt();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}var D3=S(D(),1);function xs(e){let t=_c(e),[r,n]=(0,D3.useState)(null),[o,i]=(0,D3.useState)([]),a=()=>{i([]),t.close()};return{focusStrategy:r,...t,open(c=null){n(c),t.open()},toggle(c=null){n(c),t.toggle()},close(){a()},expandedKeysStack:o,openSubmenu:(c,d)=>{i(u=>d>u.length?u:[...u.slice(0,d),c])},closeSubmenu:(c,d)=>{i(u=>u[d]===c?u.slice(0,d):u)}}}var be=S(D(),1);var Hf=class{constructor(t,{expandedKeys:r}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,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 s of a.childNodes)n(s)};for(let a of t)n(a);let o=null,i=0;for(let[a,s]of this.keyMap)o?(o.nextKey=a,s.prevKey=o.key):(this.firstKey=a,s.prevKey=void 0),s.type==="item"&&(s.index=i++),o=s,o.nextKey=void 0;this.lastKey=o?.key??null}*[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:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}};var Cs=S(D(),1);function F3(e){let{onExpandedChange:t}=e,[r,n]=fi(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),o=ca(e),i=(0,Cs.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=kf(e,(0,Cs.useCallback)(l=>new Hf(l,{expandedKeys:r}),[r]),null);return(0,Cs.useEffect)(()=>{o.focusedKey!=null&&!a.getItem(o.focusedKey)&&o.setFocusedKey(null)},[a,o.focusedKey]),{collection:a,expandedKeys:r,disabledKeys:i,toggleKey:l=>{n(NC(r,l))},setExpandedKeys:n,selectionManager:new Fo(a,o)}}function NC(e,t){let r=new Set(e);return r.has(t)?r.delete(t):r.add(t),r}var Of=(0,be.createContext)(null),Fc=(0,be.createContext)(null),Nc=(0,be.createContext)(null),Af=(0,be.createContext)(null);var DC=(0,be.createContext)(null),$g=class extends dn{static{this.type="submenutrigger"}filter(t,r,n){let o=t.getItem(this.firstChildKey);if(o&&n(o.textValue,this)){let i=this.clone();return r.addDescendants(i,t),i}return null}};var A3=(0,be.forwardRef)(function(t,r){return[t,r]=Dt(t,r,Of),be.default.createElement(rc,{content:be.default.createElement(nc,t)},n=>be.default.createElement(FC,{props:t,collection:n,menuRef:r}))});function FC({props:e,collection:t,menuRef:r}){[e,r]=Dt(e,r,Gl);let{filter:n,...o}=e,i=(0,be.useMemo)(()=>n?t.filter(n):t,[t,n]),a=F3({...e,collection:i,children:void 0}),s=(0,be.useContext)(Nc),{isVirtualized:l,CollectionRoot:c}=(0,be.useContext)(mi),{menuProps:d}=_3({...e,isVirtualized:l,onClose:e.onClose||s?.close},a,r),u=qt({...e,children:void 0,defaultClassName:"react-aria-Menu",values:{isEmpty:a.collection.size===0}}),p=null;a.collection.size===0&&e.renderEmptyState&&(p=be.default.createElement("div",{role:"menuitem",style:{display:"contents"}},e.renderEmptyState()));let b=ze(e,{global:!0});return be.default.createElement(aa,null,be.default.createElement(rt.div,{...le(b,u,d),ref:r,slot:e.slot||void 0,"data-empty":a.collection.size===0||void 0,onScroll:e.onScroll},be.default.createElement(ln,{values:[[Fc,a],[bf,{elementType:"div"}],[tf,{name:"MenuSection",render:HC}],[DC,{parentMenuRef:r,shouldUseVirtualFocus:o?.shouldUseVirtualFocus}],[Dc,{shouldCloseOnSelect:e.shouldCloseOnSelect}],[Gl,null],[C7,null],[Af,a.selectionManager],[Nc,s??xs({})]]},be.default.createElement(gs,null,be.default.createElement(c,{collection:a.collection,persistedKeys:B7(a.selectionManager.focusedKey),scrollRef:r}))),p))}var H3=class extends Fo{constructor(t,r){super(t.collection,r),this.parent=t}get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(t,r){return this.parent.setFocusedKey(t,r)}setFocused(t){this.parent.setFocused(t)}get childFocusStrategy(){return this.parent.childFocusStrategy}};function HC(e,t,r,n="react-aria-MenuSection"){let o=(0,be.useContext)(Fc),{CollectionBranch:i}=(0,be.useContext)(mi),[a,s]=ts(),{headingProps:l,groupProps:c}=N3({heading:s,"aria-label":r.props["aria-label"]??void 0}),d=qt({...e,id:void 0,children:void 0,defaultClassName:n,className:r.props?.className,style:r.props?.style,values:void 0}),u=(0,be.useContext)(Af),p=ca(e),b=e.selectionMode!=null?new H3(u,p):u,g=Gi(Dc)?.shouldCloseOnSelect,y=ze(e,{global:!0});return delete y.id,be.default.createElement(rt.section,{...le(y,d,c),ref:t},be.default.createElement(ln,{values:[[mf,{...l,ref:a}],[Af,b],[Dc,{shouldCloseOnSelect:e.shouldCloseOnSelect??g}]]},be.default.createElement(i,{collection:o.collection,parent:r})))}var Dc=(0,be.createContext)(null),O3=na(ta,function(t,r,n){[t,r]=Dt(t,r,Dc);let o=Gi(Dc)?.id,i=(0,be.useContext)(Fc),a=Qn(r),s=(0,be.useContext)(Af),{isVirtualized:l}=(0,be.useContext)(mi),{menuItemProps:c,labelProps:d,descriptionProps:u,keyboardShortcutProps:p,...b}=I3({...t,id:o,key:n.key,selectionManager:s,isVirtualized:l},i,a),{hoverProps:g,isHovered:y}=Nn({isDisabled:b.isDisabled}),$=qt({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...b,isHovered:y,isFocusVisible:b.isFocusVisible,selectionMode:s.selectionMode,selectionBehavior:s.selectionBehavior,hasSubmenu:!!t["aria-haspopup"],isOpen:t["aria-expanded"]==="true"}}),m=t.href?rt.a:rt.div,f=ze(t,{global:!0});return delete f.id,delete f.onClick,be.default.createElement(m,{...le(f,$,c,g),ref:a,"data-disabled":b.isDisabled||void 0,"data-hovered":y||void 0,"data-focused":b.isFocused||void 0,"data-focus-visible":b.isFocusVisible||void 0,"data-pressed":b.isPressed||void 0,"data-selected":b.isSelected||void 0,"data-selection-mode":s.selectionMode==="none"?void 0:s.selectionMode,"data-has-submenu":!!t["aria-haspopup"]||void 0,"data-open":t["aria-expanded"]==="true"||void 0},be.default.createElement(ln,{values:[[$i,{slots:{[es]:d,label:d,description:u}}],[Df,p],[gf,{isSelected:b.isSelected}]]},$.children))}),AC=na(ea,function(t,r,n){let o=(0,be.useContext)(Fc),{isLoading:i,onLoadMore:a,scrollOffset:s,...l}=t,c=(0,be.useRef)(null),d=(0,be.useMemo)(()=>({onLoadMore:a,collection:o?.collection,sentinelRef:c,scrollOffset:s}),[a,s,o?.collection]);wc(d,c);let u=qt({...l,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuLoadingIndicator",values:void 0}),p={tabIndex:-1};return be.default.createElement(be.default.Fragment,null,be.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:xc(!0)},be.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),i&&u.children&&be.default.createElement(be.default.Fragment,null,be.default.createElement(rt.div,{...le(ze(t,{global:!0}),p),...u,role:"menuitem",ref:r},u.children)))});var ws=S(D(),1);var Ic=(0,ws.createContext)(null);var Bf=new WeakMap;var vg=S(D(),1);function B3(e,t,r){let{value:n,children:o,"aria-label":i,"aria-labelledby":a,onPressStart:s,onPressEnd:l,onPressChange:c,onPress:d,onPressUp:u,onClick:p}=e,b=e.isDisabled||t.isDisabled,g=o!=null,y=i!=null||a!=null,$=t.selectedValue===n,m=O=>{O.stopPropagation(),t.setSelectedValue(n)},{pressProps:f,isPressed:h}=Io({onPressStart:s,onPressEnd:l,onPressChange:c,onPress:d,onPressUp:u,onClick:p,isDisabled:b}),{pressProps:v,isPressed:x}=Io({onPressStart:s,onPressEnd:l,onPressChange:c,onPressUp:u,onClick:p,isDisabled:b,onPress(O){d?.(O),t.setSelectedValue(n),r.current?.focus()}}),{focusableProps:w}=Ju(le(e,{onFocus:()=>t.setLastFocusedValue(n)}),r),P=le(f,w),k=ze(e,{labelable:!0}),T=-1;t.selectedValue!=null?t.selectedValue===n&&(T=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(T=0),b&&(T=void 0);let{name:E,form:F,descriptionId:_,errorMessageId:I,validationBehavior:C}=Bf.get(t);dh(r,t.defaultSelectedValue,t.setSelectedValue),uh({validationBehavior:C},t,r);let L=fh();return{labelProps:le(v,(0,vg.useMemo)(()=>({onClick:O=>O.preventDefault(),onMouseDown:O=>O.preventDefault()}),[])),inputProps:le(k,{...P,type:"radio",name:E,form:F,tabIndex:T,disabled:b,required:t.isRequired&&C==="native",checked:$,value:n,onChange:m,"aria-describedby":[e["aria-describedby"],L.id,t.isInvalid?I:null,_].filter(Boolean).join(" ")||void 0}),descriptionProps:L,isDisabled:b,isSelected:$,isPressed:h||x}}function K3(e,t){let{name:r,form:n,isReadOnly:o,isRequired:i,isDisabled:a,orientation:s="vertical",validationBehavior:l="aria"}=e,{direction:c}=hr(),{isInvalid:d,validationErrors:u,validationDetails:p}=t.displayValidation,{labelProps:b,fieldProps:g,descriptionProps:y,errorMessageProps:$}=lh({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||u}),m=ze(e,{labelable:!0}),{focusWithinProps:f}=fn({onBlurWithin(w){e.onBlur?.(w),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});function h(w,P){let k=pn(P.currentTarget,{from:q(P),accept:E=>E instanceof He(E).HTMLInputElement&&E.type==="radio"}),T;return w==="next"?(T=k.nextNode(),T||(k.currentNode=P.currentTarget,T=k.firstChild())):(T=k.previousNode(),T||(k.currentNode=P.currentTarget,T=k.lastChild())),T?(T.focus(),t.setSelectedValue(T.value),!0):!1}let{keyboardProps:v}=Ir({shortcuts:{ArrowRight:w=>h(c==="rtl"&&s!=="vertical"?"prev":"next",w),ArrowLeft:w=>h(c==="rtl"&&s!=="vertical"?"next":"prev",w),ArrowDown:w=>h("next",w),ArrowUp:w=>h("prev",w)},allowRepeats:!0}),x=kt(r);return Bf.set(t,{name:x,form:n,descriptionId:y.id,errorMessageId:$.id,validationBehavior:l}),{radioGroupProps:le(m,{role:"radiogroup",...v,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":o||void 0,"aria-required":i||void 0,"aria-disabled":a||void 0,"aria-orientation":s,...g,...f}),labelProps:b,descriptionProps:y,errorMessageProps:$,isInvalid:d,validationErrors:u,validationDetails:p}}var Hc=S(D(),1),OC=Math.round(Math.random()*1e10),BC=0;function z3(e){let t=(0,Hc.useMemo)(()=>e.name||`radio-group-${OC}-${++BC}`,[e.name]),[r,n]=fi(e.value,e.defaultValue??null,e.onChange),[o]=(0,Hc.useState)(r),[i,a]=(0,Hc.useState)(null),s=ah({...e,value:r}),l=d=>{!e.isReadOnly&&!e.isDisabled&&(n(d),s.commitValidation())},c=s.displayValidation.isInvalid;return{...s,name:t,selectedValue:r,defaultSelectedValue:e.value!==void 0?o:e.defaultValue??null,setSelectedValue:l,lastFocusedValue:i,setLastFocusedValue:a,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(c?"invalid":null),isInvalid:c}}var nt=S(D(),1);var yg=(0,nt.createContext)(null),xg=(0,nt.createContext)(null);var Kf=(0,nt.createContext)(null),V3=(0,nt.forwardRef)(function(t,r){[t,r]=Dt(t,r,yg);let{validationBehavior:n}=Gi(sh)||{},o=t.validationBehavior??n??"native",i=z3({...t,validationBehavior:o}),[a,s]=ts(!t["aria-label"]&&!t["aria-labelledby"]),{radioGroupProps:l,labelProps:c,descriptionProps:d,errorMessageProps:u,...p}=K3({...t,label:s,validationBehavior:o},i),b=qt({...t,values:{orientation:t.orientation||"vertical",isDisabled:i.isDisabled,isReadOnly:i.isReadOnly,isRequired:i.isRequired,isInvalid:i.isInvalid,state:i},defaultClassName:"react-aria-RadioGroup"}),g=ze(t,{global:!0});return nt.default.createElement(rt.div,{...le(g,b,l),ref:r,slot:t.slot||void 0,"data-orientation":t.orientation||"vertical","data-invalid":i.isInvalid||void 0,"data-disabled":i.isDisabled||void 0,"data-readonly":i.isReadOnly||void 0,"data-required":i.isRequired||void 0},nt.default.createElement(ln,{values:[[Kf,i],[sf,{...c,ref:a,elementType:"span"}],[$i,{slots:{description:d,errorMessage:u}}],[th,p]]},nt.default.createElement(gs,null,b.children)))}),W3=(0,nt.forwardRef)(function(t,r){let{inputRef:n=null,...o}=t;[t,r]=Dt(o,r,xg);let i=nt.default.useContext(Kf),a=Qn((0,nt.useMemo)(()=>ci(n,t.inputRef!==void 0?t.inputRef:null),[n,t.inputRef])),s=B3({...Y8(t),children:typeof t.children=="function"?!0:t.children},i,a);return nt.default.createElement(Cg.Provider,{value:{...s,inputRef:a,defaultClassName:"react-aria-Radio"}},nt.default.createElement(wg,{...t,ref:r}))}),Cg=(0,nt.createContext)(null);var wg=(0,nt.forwardRef)(function(t,r){let{labelProps:n,inputProps:o,isSelected:i,isDisabled:a,isPressed:s,defaultClassName:l,inputRef:c}=(0,nt.useContext)(Cg),d=nt.default.useContext(Kf),{isFocused:u,isFocusVisible:p,focusProps:b}=ac(),g=a||d.isReadOnly,{hoverProps:y,isHovered:$}=Nn({...t,isDisabled:g}),m=qt({...t,defaultClassName:l,values:{isSelected:i,isPressed:s,isHovered:$,isFocused:u,isFocusVisible:p,isDisabled:a,isReadOnly:d.isReadOnly,isInvalid:d.isInvalid,isRequired:d.isRequired}}),f=ze(t,{global:!0});return delete f.id,delete f.onClick,nt.default.createElement(rt.label,{...le(f,n,y,m),ref:r,"data-selected":i||void 0,"data-pressed":s||void 0,"data-hovered":$||void 0,"data-focused":u||void 0,"data-focus-visible":p||void 0,"data-disabled":a||void 0,"data-readonly":d.isReadOnly||void 0,"data-invalid":d.isInvalid||void 0,"data-required":d.isRequired||void 0},nt.default.createElement(dc,{elementType:"span"},nt.default.createElement("input",{...le(o,b),ref:c})),m.children)});var Ho=S(D(),1);var Xr=S(he(),1),Re={focusOutline:"var(--contextual-layout-units-focusring-width) solid var(--semantic-color-stroke-focusring-base)",focusOffset:"0",fillCheckedBase:"var(--semantic-color-fill-action-primary-strong-rest)",fillCheckedHover:"var(--semantic-color-fill-action-primary-strong-hover)",fillCheckedFocused:"var(--semantic-color-fill-action-primary-strong-hover)",fillCheckedPressed:"var(--semantic-color-fill-action-primary-strong-pressed)",fillCheckedDisabled:"var(--semantic-color-fill-action-disabled)",borderBase:"var(--semantic-color-stroke-action-secondary-rest)",borderHover:"var(--semantic-color-stroke-action-secondary-hover)",borderFocused:"var(--semantic-color-stroke-action-secondary-hover)",borderPressed:"var(--semantic-color-stroke-action-secondary-pressed)",borderDisabled:"var(--semantic-color-stroke-action-disabled)",iconPrimary:"var(--semantic-color-foreground-action-primary-on-strong)",iconError:"var(--semantic-color-foreground-action-status-negative-on-strong)",stateLayerUncheckedHover:"var(--semantic-color-fill-action-secondary-hover)",stateLayerCheckedHover:"var(--semantic-color-fill-action-primary-subtle-hover)",stateLayerCheckedFocused:"var(--semantic-color-fill-action-primary-subtle-hover)",stateLayerCheckedPressed:"var(--semantic-color-fill-action-primary-subtle-pressed)",fillErrorBase:"var(--semantic-color-fill-action-status-negative-strong-rest)",fillErrorHover:"var(--semantic-color-fill-action-status-negative-strong-hover)",fillErrorFocused:"var(--semantic-color-fill-action-status-negative-strong-hover)",fillErrorPressed:"var(--semantic-color-fill-action-status-negative-strong-pressed)",fillErrorDisabled:"var(--semantic-color-fill-action-disabled)",borderErrorBase:"var(--semantic-color-stroke-action-status-negative-rest)",borderErrorHover:"var(--semantic-color-stroke-action-status-negative-hover)",borderErrorFocused:"var(--semantic-color-stroke-action-status-negative-hover)",borderErrorPressed:"var(--semantic-color-stroke-action-status-negative-pressed)",borderErrorDisabled:"var(--semantic-color-stroke-action-disabled)",stateLayerErrorHover:"var(--semantic-color-fill-action-status-negative-subtle-hover)",stateLayerHighlightHover:"var(--semantic-color-fill-action-primary-subtle-hover)",labelColor:"var(--semantic-color-foreground-static-neutral-base)",radius:"var(--semantic-layout-units-cornerradius-small)",radiusFull:"100px"},Sg={default:18,s:16},Eg=44,U3=1.5,WC=16;function UC({color:e,size:t}){return(0,Xr.jsx)("svg",{width:t,height:t,viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",focusable:"false",children:(0,Xr.jsx)("path",{d:"M4 9.5L7.5 13L14 6",stroke:e,strokeWidth:U3,strokeLinecap:"round",strokeLinejoin:"round"})})}function jC({color:e,size:t}){return(0,Xr.jsx)("svg",{width:t,height:t,viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",focusable:"false",children:(0,Xr.jsx)("path",{d:"M5 9H13",stroke:e,strokeWidth:U3,strokeLinecap:"round"})})}function zf({checked:e=!1,indeterminate:t=!1,error:r=!1,highlight:n=!1,secondary:o=!1,disabled:i=!1,size:a="default",label:s,onChange:l,id:c,name:d,value:u,className:p="",describedBy:b}){let g=Et(),y=(0,Ho.useRef)(null),[$,m]=(0,Ho.useState)(!1),[f,h]=(0,Ho.useState)(!1),[v,x]=(0,Ho.useState)(!1),[w,P]=(0,Ho.useState)(!1);(0,Ho.useEffect)(()=>{y.current&&(y.current.indeterminate=t)},[t]);let k=Sg[a]||Sg.default,T="transparent";i&&(e||t)?T=r?Re.fillErrorDisabled:Re.fillCheckedDisabled:!i&&(e||t)&&(r?T=w?Re.fillErrorPressed:f?Re.fillErrorFocused:$?Re.fillErrorHover:Re.fillErrorBase:T=w?Re.fillCheckedPressed:f?Re.fillCheckedFocused:$?Re.fillCheckedHover:Re.fillCheckedBase);let E;e||t?E=T:i?E=r?Re.borderErrorDisabled:Re.borderDisabled:r?E=w?Re.borderErrorPressed:f?Re.borderErrorFocused:$?Re.borderErrorHover:Re.borderErrorBase:E=w?Re.borderPressed:f?Re.borderFocused:$?Re.borderHover:Re.borderBase;let F="transparent";i||(w?F=e||t?Re.stateLayerCheckedPressed:r?Re.stateLayerErrorHover:Re.stateLayerUncheckedHover:($||f)&&(e||t?F=r?Re.stateLayerErrorHover:f?Re.stateLayerCheckedFocused:Re.stateLayerCheckedHover:F=r?Re.stateLayerErrorHover:n?Re.stateLayerHighlightHover:Re.stateLayerUncheckedHover));let _=f&&r?"0 0 0 3px var(--semantic-color-fill-static-negative-subtle)":"none",I=r?Re.iconError:Re.iconPrimary,C=e||t;return(0,Xr.jsxs)("label",{className:`pds-checkbox${a==="s"?" pds-checkbox--s":""}${r?" pds-checkbox--error":""}${n?" pds-checkbox--highlight":""}${i?" pds-checkbox--disabled":""}${p?` ${p}`:""}`,style:{display:"inline-flex",alignItems:"center",gap:s?WC:0,cursor:i?"not-allowed":"pointer",userSelect:"none",fontFamily:"'Red Hat Text', sans-serif"},onMouseEnter:()=>!i&&m(!0),onMouseLeave:()=>{m(!1),P(!1)},onMouseDown:()=>!i&&P(!0),onMouseUp:()=>P(!1),children:[(0,Xr.jsxs)("span",{"aria-hidden":"true",style:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:Eg,height:Eg,borderRadius:Re.radiusFull,backgroundColor:F,transition:g?"none":"background-color var(--motion-duration-3) var(--motion-easing-standard)",boxShadow:_,flexShrink:0},children:[(0,Xr.jsx)("input",{ref:y,type:"checkbox",id:c,name:d,value:u,checked:t?!1:e,disabled:i,"aria-describedby":b,onChange:L=>l&&l(L.target.checked),onFocus:L=>{h(!0),x(L.target.matches(":focus-visible"))},onBlur:()=>{h(!1),x(!1)},style:{position:"absolute",width:k,height:k,opacity:0,margin:0,padding:0,cursor:i?"not-allowed":"pointer",zIndex:1}}),(0,Xr.jsx)("span",{"aria-hidden":"true",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:k,height:k,borderRadius:Re.radius,border:`${U3}px solid ${v&&!i?"transparent":E}`,backgroundColor:T,boxSizing:"border-box",outline:v&&!i?Re.focusOutline:"none",outlineOffset:Re.focusOffset,transition:g?"none":"background-color var(--motion-duration-2) var(--motion-easing-decelerate), border-color var(--motion-duration-2) var(--motion-easing-decelerate)",flexShrink:0},children:C&&(t?(0,Xr.jsx)(jC,{color:I,size:k}):(0,Xr.jsx)(UC,{color:I,size:k}))})]}),s&&(0,Xr.jsx)("span",{style:{fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",fontWeight:400,color:i?"var(--semantic-color-foreground-static-neutral-base)":Re.labelColor},children:s})]})}var Ss=S(D(),1);var xt=S(he(),1),Ke=e=>`var(--semantic-color-${e})`,On=e=>`var(--semantic-layout-units-${e})`,kg=e=>`var(--contextual-layout-units-${e})`,Vt=e=>`var(--semantic-type-${e})`,ao=e=>`var(--motion-${e})`;var Ae={ring:Ke("stroke-action-secondary-rest"),ringHover:Ke("stroke-action-secondary-hover"),ringPressed:Ke("stroke-action-secondary-pressed"),ringOn:Ke("stroke-action-primary-strong-rest"),ringOnHover:Ke("stroke-action-primary-strong-hover"),ringOnPressed:Ke("stroke-action-primary-strong-pressed"),ringError:Ke("stroke-action-status-negative-rest"),ringErrorHover:Ke("stroke-action-status-negative-hover"),ringErrorPressed:Ke("stroke-action-status-negative-pressed"),ringDisabled:Ke("stroke-action-disabled"),dot:Ke("fill-action-primary-strong-rest"),dotHover:Ke("fill-action-primary-strong-hover"),dotPressed:Ke("fill-action-primary-strong-pressed"),dotError:Ke("fill-action-status-negative-strong-rest"),dotErrorHover:Ke("fill-action-status-negative-strong-hover"),dotErrorPressed:Ke("fill-action-status-negative-strong-pressed"),dotDisabled:Ke("fill-action-disabled"),layerHover:Ke("fill-action-selection-hover"),layerPressed:Ke("fill-action-selection-selected"),focusFill:Ke("fill-surface-elevated"),focusRing:Ke("stroke-focusring-base"),label:Ke("foreground-static-neutral-base"),labelDisabled:Ke("foreground-action-disabled"),groupLabel:Ke("foreground-action-secondary-rest"),groupLabelError:Ke("foreground-action-status-negative-on-subtle-hover"),required:Ke("foreground-static-negative-on-subtle"),help:Ke("foreground-action-secondary-rest"),helpError:Ke("foreground-static-negative-on-subtle"),helpErrorIcon:Ke("fill-action-status-negative-strong-rest")},Fe={target:On("accessibility-touch-target-aa-width"),targetH:On("accessibility-touch-target-aa-height"),ringWidth:kg("selection-controls-borderwidth"),radius:On("cornerradius-full"),controlGap:On("gap-xxtight"),requiredGap:On("gap-xxxtight"),rowGap:On("gap-base"),labelEnd:On("padding-base"),labelBlock:{Base:On("padding-tight"),Large:On("padding-xtight")},helpGap:On("gap-tight"),helpIconTop:On("borderwidth-base"),ring:{Base:20,Large:24},dot:{Base:10,Large:12},labelMax:480,helpMax:360,helpIcon:16},qr={Base:{fontSize:Vt("font-size-s"),lineHeight:Vt("line-height-s-single"),letterSpacing:Vt("letter-spacing-spacious")},Large:{fontSize:Vt("font-size-r"),lineHeight:Vt("line-height-r-single"),letterSpacing:Vt("letter-spacing-wide")},group:{fontSize:Vt("font-size-s"),lineHeight:Vt("line-height-s-single"),letterSpacing:Vt("letter-spacing-spacious"),fontWeight:Vt("weight-medium")},help:{fontSize:Vt("font-size-xs"),lineHeight:Vt("line-height-xs-single"),letterSpacing:Vt("letter-spacing-extraspacious")}},GC=`
|
|
140
|
+
.pw-radio-group{display:flex;flex-direction:column;align-items:flex-start;gap:${Fe.controlGap};min-width:0;
|
|
141
|
+
font-family:${Vt("family-brand")},sans-serif}
|
|
142
|
+
.pw-radio-group__label{display:inline-flex;gap:${Fe.requiredGap};color:${Ae.groupLabel};
|
|
143
|
+
font-size:${qr.group.fontSize};line-height:${qr.group.lineHeight};letter-spacing:${qr.group.letterSpacing};font-weight:${qr.group.fontWeight}}
|
|
144
|
+
.pw-radio-group__required{color:${Ae.required}}
|
|
145
|
+
.pw-radio-group[data-invalid] .pw-radio-group__label{color:${Ae.groupLabelError}}
|
|
146
|
+
.pw-radio-group[data-disabled] .pw-radio-group__label,.pw-radio-group[data-disabled] .pw-radio-group__required{color:${Ae.labelDisabled}}
|
|
147
147
|
.pw-radio-group__options{display:flex;flex-direction:column;max-width:100%}
|
|
148
|
-
.pw-radio-group[data-orientation=horizontal] .pw-radio-group__options{flex-direction:row;flex-wrap:wrap;column-gap:${
|
|
149
|
-
.pw-radio-group__help{display:flex;align-items:center;gap:${
|
|
150
|
-
font-size:${
|
|
151
|
-
.pw-radio-group__help[data-error]{color:${
|
|
152
|
-
.pw-radio-group__help-icon{flex:none;display:inline-flex;padding-top:${
|
|
153
|
-
.pw-radio-group__help-icon .material-symbols-rounded{font-family:"Material Symbols Rounded";font-size:${
|
|
148
|
+
.pw-radio-group[data-orientation=horizontal] .pw-radio-group__options{flex-direction:row;flex-wrap:wrap;column-gap:${Fe.rowGap}}
|
|
149
|
+
.pw-radio-group__help{display:flex;align-items:center;gap:${Fe.helpGap};max-width:${Fe.helpMax}px;color:${Ae.help};
|
|
150
|
+
font-size:${qr.help.fontSize};line-height:${qr.help.lineHeight};letter-spacing:${qr.help.letterSpacing};font-weight:${Vt("weight-regular")}}
|
|
151
|
+
.pw-radio-group__help[data-error]{color:${Ae.helpError};font-weight:${Vt("weight-semibold")}}
|
|
152
|
+
.pw-radio-group__help-icon{flex:none;display:inline-flex;padding-top:${Fe.helpIconTop};color:${Ae.helpErrorIcon}}
|
|
153
|
+
.pw-radio-group__help-icon .material-symbols-rounded{font-family:"Material Symbols Rounded";font-size:${Fe.helpIcon}px;line-height:1;
|
|
154
154
|
font-variation-settings:'FILL' 1,'wght' 400,'GRAD' 0,'opsz' 24}
|
|
155
155
|
|
|
156
|
-
.pw-radio{display:flex;align-items:flex-start;gap:${
|
|
157
|
-
min-width:${
|
|
158
|
-
font-family:${
|
|
156
|
+
.pw-radio{display:flex;align-items:flex-start;gap:${Fe.controlGap};box-sizing:border-box;width:fit-content;max-width:100%;
|
|
157
|
+
min-width:${Fe.target};min-height:${Fe.targetH};cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;
|
|
158
|
+
font-family:${Vt("family-brand")},sans-serif}
|
|
159
159
|
.pw-radio[data-disabled]{cursor:not-allowed}
|
|
160
|
-
.pw-radio__control{flex:none;display:inline-grid;place-items:center;width:${
|
|
161
|
-
transition:background-color ${
|
|
162
|
-
.pw-radio__mark{box-sizing:border-box;display:inline-grid;place-items:center;width:${
|
|
163
|
-
border-radius:${
|
|
164
|
-
transition:border-color ${
|
|
165
|
-
.pw-radio__dot{width:${
|
|
166
|
-
transition:transform ${
|
|
167
|
-
.pw-radio[data-size=Large] .pw-radio__mark{width:${
|
|
168
|
-
.pw-radio[data-size=Large] .pw-radio__dot{width:${
|
|
169
|
-
.pw-radio__label{box-sizing:border-box;min-width:0;max-width:${
|
|
170
|
-
padding:${
|
|
171
|
-
font-size:${
|
|
172
|
-
.pw-radio[data-size=Large] .pw-radio__label{padding-block:${
|
|
173
|
-
font-size:${
|
|
174
|
-
|
|
175
|
-
.pw-radio[data-selected] .pw-radio__mark{border-color:${
|
|
160
|
+
.pw-radio__control{flex:none;display:inline-grid;place-items:center;width:${Fe.target};height:${Fe.targetH};border-radius:${Fe.radius};
|
|
161
|
+
transition:background-color ${ao("duration-2")} ${ao("easing-standard")}}
|
|
162
|
+
.pw-radio__mark{box-sizing:border-box;display:inline-grid;place-items:center;width:${Fe.ring.Base}px;height:${Fe.ring.Base}px;
|
|
163
|
+
border-radius:${Fe.radius};border:${Fe.ringWidth} solid ${Ae.ring};background:transparent;
|
|
164
|
+
transition:border-color ${ao("duration-2")} ${ao("easing-standard")},background-color ${ao("duration-2")} ${ao("easing-standard")}}
|
|
165
|
+
.pw-radio__dot{width:${Fe.dot.Base}px;height:${Fe.dot.Base}px;border-radius:${Fe.radius};background:${Ae.dot};transform:scale(0);
|
|
166
|
+
transition:transform ${ao("duration-3")} ${ao("easing-burst")},background-color ${ao("duration-2")} ${ao("easing-standard")}}
|
|
167
|
+
.pw-radio[data-size=Large] .pw-radio__mark{width:${Fe.ring.Large}px;height:${Fe.ring.Large}px}
|
|
168
|
+
.pw-radio[data-size=Large] .pw-radio__dot{width:${Fe.dot.Large}px;height:${Fe.dot.Large}px}
|
|
169
|
+
.pw-radio__label{box-sizing:border-box;min-width:0;max-width:${Fe.labelMax}px;overflow-wrap:anywhere;color:${Ae.label};
|
|
170
|
+
padding:${Fe.labelBlock.Base} ${Fe.labelEnd} ${Fe.labelBlock.Base} 0;
|
|
171
|
+
font-size:${qr.Base.fontSize};line-height:${qr.Base.lineHeight};letter-spacing:${qr.Base.letterSpacing};font-weight:${Vt("weight-regular")}}
|
|
172
|
+
.pw-radio[data-size=Large] .pw-radio__label{padding-block:${Fe.labelBlock.Large};
|
|
173
|
+
font-size:${qr.Large.fontSize};line-height:${qr.Large.lineHeight};letter-spacing:${qr.Large.letterSpacing}}
|
|
174
|
+
|
|
175
|
+
.pw-radio[data-selected] .pw-radio__mark{border-color:${Ae.ringOn}}
|
|
176
176
|
.pw-radio[data-selected] .pw-radio__dot{transform:scale(1)}
|
|
177
177
|
|
|
178
|
-
.pw-radio:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__control{background:${
|
|
179
|
-
.pw-radio:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__control{background:${
|
|
180
|
-
.pw-radio:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__mark{border-color:${
|
|
181
|
-
.pw-radio:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__mark{border-color:${
|
|
182
|
-
.pw-radio[data-selected]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__mark{border-color:${
|
|
183
|
-
.pw-radio[data-selected]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__dot{background:${
|
|
184
|
-
.pw-radio[data-selected]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__mark{border-color:${
|
|
185
|
-
.pw-radio[data-selected]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__dot{background:${
|
|
178
|
+
.pw-radio:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__control{background:${Ae.layerHover}}
|
|
179
|
+
.pw-radio:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__control{background:${Ae.layerPressed}}
|
|
180
|
+
.pw-radio:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__mark{border-color:${Ae.ringHover}}
|
|
181
|
+
.pw-radio:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__mark{border-color:${Ae.ringPressed}}
|
|
182
|
+
.pw-radio[data-selected]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__mark{border-color:${Ae.ringOnHover}}
|
|
183
|
+
.pw-radio[data-selected]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__dot{background:${Ae.dotHover}}
|
|
184
|
+
.pw-radio[data-selected]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__mark{border-color:${Ae.ringOnPressed}}
|
|
185
|
+
.pw-radio[data-selected]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__dot{background:${Ae.dotPressed}}
|
|
186
186
|
|
|
187
|
-
.pw-radio[data-invalid] .pw-radio__mark{border-color:${
|
|
188
|
-
.pw-radio[data-invalid] .pw-radio__dot{background:${
|
|
189
|
-
.pw-radio[data-invalid]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__mark{border-color:${
|
|
190
|
-
.pw-radio[data-invalid]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__dot{background:${
|
|
191
|
-
.pw-radio[data-invalid]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__mark{border-color:${
|
|
192
|
-
.pw-radio[data-invalid]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__dot{background:${
|
|
187
|
+
.pw-radio[data-invalid] .pw-radio__mark{border-color:${Ae.ringError}}
|
|
188
|
+
.pw-radio[data-invalid] .pw-radio__dot{background:${Ae.dotError}}
|
|
189
|
+
.pw-radio[data-invalid]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__mark{border-color:${Ae.ringErrorHover}}
|
|
190
|
+
.pw-radio[data-invalid]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__dot{background:${Ae.dotErrorHover}}
|
|
191
|
+
.pw-radio[data-invalid]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__mark{border-color:${Ae.ringErrorPressed}}
|
|
192
|
+
.pw-radio[data-invalid]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__dot{background:${Ae.dotErrorPressed}}
|
|
193
193
|
|
|
194
|
-
.pw-radio[data-disabled] .pw-radio__mark{border-color:${
|
|
195
|
-
.pw-radio[data-disabled] .pw-radio__dot{background:${
|
|
196
|
-
.pw-radio[data-disabled] .pw-radio__label{color:${
|
|
194
|
+
.pw-radio[data-disabled] .pw-radio__mark{border-color:${Ae.ringDisabled}}
|
|
195
|
+
.pw-radio[data-disabled] .pw-radio__dot{background:${Ae.dotDisabled}}
|
|
196
|
+
.pw-radio[data-disabled] .pw-radio__label{color:${Ae.labelDisabled}}
|
|
197
197
|
|
|
198
|
-
.pw-radio:is([data-focus-visible],[data-force=Focused]) .pw-radio__mark{background:${
|
|
199
|
-
outline:${
|
|
198
|
+
.pw-radio:is([data-focus-visible],[data-force=Focused]) .pw-radio__mark{background:${Ae.focusFill};border-color:transparent;
|
|
199
|
+
outline:${kg("focusring-width")} solid ${Ae.focusRing};outline-offset:0}
|
|
200
200
|
|
|
201
|
-
.pw-radio-mark{display:inline-grid;place-items:center;width:${
|
|
201
|
+
.pw-radio-mark{display:inline-grid;place-items:center;width:${Fe.target};height:${Fe.targetH};flex:none}
|
|
202
202
|
|
|
203
203
|
@media (prefers-reduced-motion: reduce){.pw-radio__control,.pw-radio__mark,.pw-radio__dot{transition:none}}
|
|
204
|
-
`,R3=!1;function _3(){(0,bs.useEffect)(()=>{if(R3||typeof document>"u"||document.getElementById("pw-radio-css")){R3=!0;return}let e=document.createElement("style");e.id="pw-radio-css",e.textContent=yC,document.head.appendChild(e),R3=!0},[])}var i9=(0,bs.createContext)({size:"Base"});function s9({label:e,showLabel:t=!0,required:r=!1,helpText:n,error:o=!1,errorMessage:a,disabled:i=!1,orientation:s="Vertical",size:l="Base",value:c,defaultValue:d,onChange:u,name:p,className:b="",children:g,...y}){_3();let $=o&&a;return(0,gt.jsxs)(P3,{...y,name:p,value:c,defaultValue:d,onChange:u,isInvalid:o,isRequired:r,isDisabled:i,orientation:s==="Horizontal"?"horizontal":"vertical","aria-label":t?void 0:e,"data-size":l,className:`pw-radio-group${b?` ${b}`:""}`,children:[t&&e&&(0,gt.jsxs)(Xp,{className:"pw-radio-group__label",children:[e,r&&(0,gt.jsx)("span",{className:"pw-radio-group__required","aria-hidden":"true",children:"*"})]}),(0,gt.jsx)(i9.Provider,{value:{size:l},children:(0,gt.jsx)("div",{className:"pw-radio-group__options",children:g})}),$?(0,gt.jsxs)(Qu,{slot:"errorMessage",className:"pw-radio-group__help","data-error":"",children:[(0,gt.jsx)("span",{className:"pw-radio-group__help-icon","aria-hidden":"true",children:(0,gt.jsx)("span",{className:"material-symbols-rounded",children:"error"})}),(0,gt.jsx)("span",{children:a})]}):n?(0,gt.jsx)(Qu,{slot:"description",className:"pw-radio-group__help",children:n}):null]})}function l9({selected:e=!1,error:t=!1,disabled:r=!1,size:n="Base"}){return _3(),(0,gt.jsx)("span",{className:"pw-radio pw-radio-mark","aria-hidden":"true","data-size":n,"data-selected":e||void 0,"data-invalid":t||void 0,"data-disabled":r||void 0,children:(0,gt.jsx)("span",{className:"pw-radio__control",children:(0,gt.jsx)("span",{className:"pw-radio__mark",children:(0,gt.jsx)("span",{className:"pw-radio__dot"})})})})}function c9({value:e,text:t,children:r,showText:n=!0,size:o,disabled:a=!1,forceState:i,className:s="",...l}){_3();let c=(0,bs.useContext)(i9),d=o||c.size||"Base",u=r??t;return(0,gt.jsxs)(T3,{...l,value:e,isDisabled:a,"data-size":d,"data-force":i,className:`pw-radio${s?` ${s}`:""}`,children:[(0,gt.jsx)("span",{className:"pw-radio__control","aria-hidden":"true",children:(0,gt.jsx)("span",{className:"pw-radio__mark",children:(0,gt.jsx)("span",{className:"pw-radio__dot"})})}),n&&u!=null&&u!==""&&(0,gt.jsx)("span",{className:"pw-radio__label",children:u})]})}var NA=S(D(),1),ha=S($e(),1),d9=["neutral","brand","info","warning","danger","negative","positive","accent-amethyst","accent-jade","accent-seabreeze"],u9=["light","subtle","base","contrast","bold"],Lr=e=>`var(--semantic-color-${e})`,f9={neutral:{light:Lr("foreground-static-neutral-faint"),subtle:Lr("foreground-static-neutral-base"),base:Lr("foreground-static-neutral-base"),contrast:Lr("foreground-static-neutral-strong"),bold:Lr("foreground-static-neutral-bold")},brand:Lr("foreground-action-primary-on-subtle-rest"),info:Lr("foreground-static-info-on-subtle"),warning:Lr("foreground-static-attention-on-subtle"),danger:Lr("foreground-static-negative-on-subtle"),negative:Lr("foreground-static-negative-on-subtle"),positive:Lr("foreground-static-positive-on-subtle"),"accent-amethyst":Lr("foreground-static-info-on-subtle"),"accent-jade":Lr("foreground-static-accent-jade-on-subtle"),"accent-seabreeze":Lr("foreground-static-accent-seabreeze-on-subtle")};function xC(e,t){let r=f9[e]??f9.neutral;return typeof r=="string"?r:r[t]??r.base}var CC=[{d:"M6 1V3",opacity:1},{d:"M8.1 3.9L9.55 2.45",opacity:.87},{d:"M9 6H11",opacity:.75},{d:"M8.1 8.1L9.55 9.55",opacity:.62},{d:"M6 9V11",opacity:.5},{d:"M2.45 9.55L3.9 8.1",opacity:.37},{d:"M1 6H3",opacity:.25},{d:"M2.45 2.45L3.9 3.9",opacity:.12}],wC=[{frac:.32,off:0,opacity:1},{frac:.19,off:.4,opacity:.7},{frac:.09,off:.68,opacity:.45}];function p9({variant:e="ring",size:t,tone:r="neutral",emphasis:n="base",label:o="Loading",className:a,style:i}){d9.includes(r)||console.error(`[Spinner] Invalid tone "${r}". Allowed: ${d9.join(", ")}`),u9.includes(n)||console.error(`[Spinner] Invalid emphasis "${n}". Allowed: ${u9.join(", ")}`);let s=t==null?"1em":typeof t=="number"?`${t}px`:t,l={display:"inline-flex",alignItems:"center",justifyContent:"center",width:s,height:s,flexShrink:0,color:xC(r,n)},c=24,d=2.5,u=(c-d)/2,p=2*Math.PI*u;return(0,ha.jsxs)("span",{role:"status","aria-live":"polite","aria-label":o,className:a,"data-tone":r,"data-emphasis":n,"data-variant":e,style:{...l,...i},children:[e==="sunburst"?(0,ha.jsx)("svg",{viewBox:"0 0 12 12",width:"100%",height:"100%","aria-hidden":"true",focusable:"false",style:{animation:"pw-spin var(--motion-duration-loop) var(--motion-easing-linear) infinite"},children:CC.map((b,g)=>(0,ha.jsx)("path",{d:b.d,opacity:b.opacity,stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"},g))}):(0,ha.jsx)("svg",{viewBox:`0 0 ${c} ${c}`,width:"100%",height:"100%",fill:"none","aria-hidden":"true",focusable:"false",style:{animation:"pw-spin 1400ms var(--motion-easing-linear) infinite"},children:wC.map((b,g)=>(0,ha.jsx)("circle",{cx:c/2,cy:c/2,r:u,stroke:"currentColor",strokeOpacity:b.opacity,strokeWidth:d,strokeLinecap:"round",strokeDasharray:`${b.frac*p} ${p}`,strokeDashoffset:-b.off*p},g))}),(0,ha.jsx)("span",{style:{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0 0 0 0)",whiteSpace:"nowrap",border:0},children:o})]})}var Lc=S(D(),1);var Bt=S($e(),1),zt=e=>`var(--semantic-color-${e})`,Rr=e=>`var(--semantic-layout-units-${e})`,m9=e=>`var(--contextual-layout-units-${e})`,Mf=e=>`var(--semantic-type-${e})`;var SC=["Neutral","Info","Positive","Negative"];var If={Neutral:{fill:"fill-static-neutral-base",strokeStrong:"stroke-static-neutral-bold",strokeSubtle:"stroke-static-neutral-bold",text:"foreground-static-neutral-bold",textNaked:"foreground-static-neutral-base"},Severe:{fill:"fill-static-severe-subtle",strokeStrong:"stroke-static-severe-strong",strokeSubtle:"stroke-static-severe-subtle",text:"foreground-static-severe-on-subtle"},Negative:{fill:"fill-static-negative-subtle",strokeStrong:"stroke-static-negative-strong",strokeSubtle:"stroke-static-negative-subtle",text:"foreground-static-negative-on-subtle"},Positive:{fill:"fill-static-positive-subtle",strokeStrong:"stroke-static-positive-strong",strokeSubtle:"stroke-static-positive-subtle",text:"foreground-static-positive-on-subtle"},Attention:{fill:"fill-static-attention-subtle",strokeStrong:"stroke-static-attention-strong",strokeSubtle:"stroke-static-attention-strong",text:"foreground-static-attention-on-subtle"},Info:{fill:"fill-static-info-subtle",strokeStrong:"stroke-static-info-strong",strokeSubtle:"stroke-static-info-subtle",text:"foreground-static-info-on-subtle"},"Accent 2":{fill:"fill-static-accent-jade-subtle",strokeStrong:"stroke-static-accent-jade",strokeSubtle:"stroke-static-accent-jade",text:"foreground-static-accent-jade-on-subtle"},"Accent 3":{fill:"fill-static-accent-mauve-subtle",strokeStrong:"stroke-static-accent-mauve",strokeSubtle:"stroke-static-accent-mauve",text:"foreground-static-accent-mauve-on-subtle"}},EC=e=>{let t=(SC.includes(e)?e:"Neutral").toLowerCase(),r=n=>zt(n.replace("$",t));return{off:{fill:{rest:r("fill-action-status-$-subtle-rest"),hover:r("fill-action-status-$-subtle-hover"),pressed:r("fill-action-status-$-subtle-pressed")},stroke:{rest:r("stroke-action-status-$-rest"),hover:r("stroke-action-status-$-hover"),pressed:r("stroke-action-status-$-pressed")},text:{rest:r("foreground-action-status-$-on-subtle-rest"),hover:r("foreground-action-status-$-on-subtle-hover"),pressed:r("foreground-action-status-$-on-subtle-pressed")}},on:{fill:{rest:r("fill-action-status-$-strong-rest"),hover:r("fill-action-status-$-strong-hover"),pressed:r("fill-action-status-$-strong-pressed")},text:r("foreground-action-status-$-on-strong")}}},h9={Small:{fontSize:"font-size-xs",lineHeight:"line-height-xs-single",icon:11,ico:12,contentMax:200,height:20},Medium:{fontSize:"font-size-xs",lineHeight:"line-height-xs-single",icon:12,ico:14,contentMax:196,height:22},Large:{fontSize:"font-size-s",lineHeight:"line-height-xs-single",icon:14,ico:16,contentMax:192,height:24}},fn={radius:Rr("cornerradius-large"),radiusX:Rr("cornerradius-full"),border:Rr("borderwidth-base"),padTop:Rr("padding-xxxxtight"),padBottom:Rr("padding-xxxxtight"),padLeft:Rr("padding-xxxtight"),padRight:Rr("padding-xxtight"),gap:Rr("gap-xxxtight")},St={pill:Rr("padding-xxxtight"),text:Rr("padding-xxxtight"),fieldGap:Rr("gap-xxtight"),rowGap:Rr("gap-xtight"),touchW:Rr("accessibility-touch-target-aa-width"),touchH:Rr("accessibility-touch-target-aa-height"),ring:zt("stroke-focusring-base"),ringWidth:m9("focusring-width"),ringOffset:m9("focusring-offset"),fieldMax:80,badgeMax:240,duration:"var(--motion-duration-2)",easing:"var(--motion-easing-standard)"},g9=(e,t="weight-medium")=>({fontFamily:"inherit",fontSize:Mf(e.fontSize),lineHeight:Mf(e.lineHeight),fontWeight:Mf(t),letterSpacing:Mf("letter-spacing-extraspacious"),whiteSpace:"nowrap"}),M3={minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},b9={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,minWidth:St.touchW,minHeight:St.touchH,boxSizing:"border-box",padding:0,margin:0,border:0,background:"transparent",font:"inherit",color:"inherit",textDecoration:"none",outline:"none"},$9=e=>e?`inset 0 0 0 ${fn.border} ${e}`:"none",v9=e=>e?{outline:`${St.ringWidth} solid ${St.ring}`,outlineOffset:St.ringOffset}:{outline:"none"},y9=e=>e.height?{height:e.height,paddingTop:0,paddingBottom:0}:{},x9=`background ${St.duration} ${St.easing}, color ${St.duration} ${St.easing}, box-shadow ${St.duration} ${St.easing}`;function Nf({type:e="static",label:t,fieldLabel:r,showFieldLabel:n=!1,status:o="Neutral",size:a="Small",badgeStyle:i="Outline & Fill",leadingIcon:s,selectedIcon:l="check",trailingIcon:c,showTrailingIcon:d=!1,selected:u,defaultSelected:p=!1,onChange:b,onRemove:g,href:y,disabled:$=!1,removeDisabled:m=!1,forceState:f,className:h="",style:v,...x}){let w=h9[a]||h9.Small,[P,k]=(0,Lc.useState)(p),[T,E]=(0,Lc.useState)(!1),[F,R]=(0,Lc.useState)(!1),[_,C]=(0,Lc.useState)(!1),L=T||f==="hover",z=F||f==="pressed",N=_||f==="focused",Z={"Outline & Fill":{fill:!0,stroke:"strong"},Fill:{fill:!0,stroke:null},Outline:{fill:!1,stroke:"subtle"},Naked:{fill:!1,stroke:null}}[i]||{fill:!0,stroke:"strong"};if(e==="static"){let ce=If[o]||If.Neutral,me=Z.stroke==="strong"?zt(ce.strokeStrong):Z.stroke==="subtle"?zt(ce.strokeSubtle):null;return(0,Bt.jsxs)("span",{className:`pw-badge ${h}`,"data-type":"static","data-status":o,"data-size":a,style:{display:"inline-flex",alignItems:"center",boxSizing:"border-box",gap:fn.gap,paddingTop:fn.padTop,paddingRight:fn.padRight,paddingBottom:fn.padBottom,paddingLeft:fn.padLeft,...y9(w),borderRadius:fn.radius,background:Z.fill?zt(ce.fill):"transparent",boxShadow:me?`inset 0 0 0 ${fn.border} ${me}`:"none",color:zt(i==="Naked"&&ce.textNaked?ce.textNaked:ce.text),...g9(w),...v},...x,children:[s&&(0,Bt.jsx)(Ee,{name:s,size:w.icon,fill:1}),t,c&&(0,Bt.jsx)(Ee,{name:c,size:w.icon})]})}let I={display:"inline-flex",alignItems:"center",boxSizing:"border-box",gap:0,paddingTop:fn.padTop,paddingBottom:fn.padBottom,paddingLeft:St.pill,paddingRight:St.pill,borderRadius:fn.radius,maxWidth:n?"none":St.badgeMax,minWidth:0,transition:x9,...g9(w),...y9(w)},te={display:"inline-flex",minWidth:0,paddingLeft:St.text,paddingRight:St.text},X=(ce,me=0)=>(0,Bt.jsx)(Ee,{name:ce,size:w.ico,fill:me,style:{flexShrink:0}});if(e==="dismissible"){let ce=If[o]||If.Neutral,me=Z.stroke==="strong"?zt(ce.strokeStrong):Z.stroke==="subtle"?zt(ce.strokeSubtle):null,It=$||m,De=n&&r?`${r} ${t}`:t,Yr=It?"transparent":z?zt("fill-action-secondary-pressed"):L?zt("fill-action-secondary-hover"):"transparent",si=zt(It?"foreground-action-disabled":z?"foreground-action-secondary-pressed":L?"foreground-action-secondary-hover":"foreground-action-secondary-rest");return(0,Bt.jsx)("span",{className:`pw-badge pw-badge--dismissible ${h}`,"data-type":"dismissible","data-status":o,"data-size":a,style:{...b9,...v},...x,children:(0,Bt.jsxs)("span",{className:"pw-badge__pill",style:{...I,background:Z.fill?zt(ce.fill):"transparent",color:zt(i==="Naked"&&ce.textNaked?ce.textNaked:ce.text),boxShadow:$9(me),...v9(N)},children:[s&&X(s,1),(0,Bt.jsxs)("span",{className:"pw-badge__label",style:{...te,gap:St.fieldGap},children:[n&&r&&(0,Bt.jsx)("span",{style:{...M3,maxWidth:St.fieldMax},children:r}),(0,Bt.jsx)("span",{style:{...M3,maxWidth:w.contentMax},children:t})]}),(0,Bt.jsxs)("button",{type:"button",className:"pw-badge__remove","aria-label":`Remove ${De}`,"aria-disabled":It||void 0,onClick:_r=>{if(It){_r.preventDefault();return}g?.(_r)},onMouseEnter:()=>!It&&E(!0),onMouseLeave:()=>{E(!1),R(!1)},onMouseDown:()=>!It&&R(!0),onMouseUp:()=>R(!1),onFocus:_r=>{_r.target.matches?.(":focus-visible")&&C(!0)},onBlur:()=>{C(!1),R(!1)},onKeyDown:_r=>{(_r.key===" "||_r.key==="Enter")&&!It&&R(!0)},onKeyUp:()=>R(!1),style:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:w.ico,height:w.ico,padding:0,margin:0,border:0,outline:"none",borderRadius:fn.radiusX,background:Yr,color:si,flexShrink:0,cursor:It?"not-allowed":"pointer",transition:x9},children:[(0,Bt.jsx)(Ee,{name:"close",size:w.ico}),(0,Bt.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:St.touchW,height:St.touchH}})]})]})})}let B=u!==void 0?u:P,G=EC(o),V=z?"pressed":L?"hover":"rest",M=Z.fill||V!=="rest",ae=$?zt("fill-action-disabled"):B?G.on.fill[V]:M?G.off.fill[V]:"transparent",Q=$?zt("foreground-action-disabled"):B?G.on.text:G.off.text[V],Se=$||B||!Z.stroke?null:G.off.stroke[V],$t=!!y||d,le=B?l:s,A=y?"a":"button",W={onMouseEnter:()=>!$&&E(!0),onMouseLeave:()=>{E(!1),R(!1)},onMouseDown:()=>!$&&R(!0),onMouseUp:()=>R(!1),onFocus:ce=>{ce.target.matches?.(":focus-visible")&&C(!0)},onBlur:()=>{C(!1),R(!1)},onKeyDown:ce=>{(ce.key===" "||ce.key==="Enter")&&!$&&R(!0)},onKeyUp:()=>R(!1),onClick:ce=>{if($){ce.preventDefault();return}if($t){x.onClick?.(ce);return}let me=!B;u===void 0&&k(me),b?.(me)}};return(0,Bt.jsx)(A,{className:`pw-badge pw-badge--interactive ${h}`,"data-type":"interactive","data-status":o,"data-size":a,...y?{href:y}:{type:"button"},...$t?null:{"aria-pressed":B},"aria-disabled":$||void 0,...x,...W,style:{...b9,cursor:$?"not-allowed":"pointer",...v},children:(0,Bt.jsxs)("span",{className:"pw-badge__pill",style:{...I,background:ae,color:Q,boxShadow:$9(Se),...v9(N)},children:[le&&X(le,B?0:1),(0,Bt.jsx)("span",{className:"pw-badge__label",style:te,children:(0,Bt.jsx)("span",{style:{...M3,display:"block",maxWidth:w.contentMax},children:t})}),d&&X(c||"chevron_right")]})})}var Ff=S(D(),1),eo=S($e(),1),ga=e=>`var(--semantic-color-${e})`,Nn=e=>`var(--semantic-layout-units-${e})`,nr=e=>`var(--semantic-type-${e})`;var Df={XXXS:{px:16,fontSize:nr("font-size-xxxs"),lineHeight:nr("line-height-xxxs-single"),radius:Nn("cornerradius-small"),icon:10,badge:6},XXS:{px:20,fontSize:nr("font-size-xxxs"),lineHeight:nr("line-height-xxxs-single"),radius:Nn("cornerradius-small"),icon:12,badge:7},XS:{px:24,fontSize:nr("font-size-xxs"),lineHeight:nr("line-height-xxs-single"),radius:Nn("cornerradius-small"),icon:14,badge:8},S:{px:32,fontSize:nr("font-size-s"),lineHeight:nr("line-height-s-single"),radius:Nn("cornerradius-small"),icon:20,badge:10},M:{px:40,fontSize:nr("font-size-r"),lineHeight:nr("line-height-r-single"),radius:Nn("cornerradius-base"),icon:24,badge:12},L:{px:56,fontSize:nr("font-size-l"),lineHeight:nr("line-height-l-single"),radius:Nn("cornerradius-large"),icon:34,badge:16},XL:{px:96,fontSize:nr("font-size-xxl"),lineHeight:nr("line-height-xxl-single"),radius:Nn("cornerradius-xlarge"),icon:58,badge:28}},hr={fill:ga("fill-static-brand-subtle"),foreground:ga("foreground-static-brand-on-subtle"),imageFill:ga("fill-static-neutral-faint"),stroke:ga("stroke-static-neutral-base"),strokeWidth:Nn("borderwidth-thin"),circle:Nn("cornerradius-full"),badgeRing:ga("stroke-static-neutral-mono"),badgeRingW:Nn("borderwidth-base"),badge:{Positive:ga("fill-static-positive-strong"),Attention:ga("fill-static-attention-strong")},groupRing:ga("fill-surface-elevated"),groupRingW:Nn("borderwidth-thick"),family:nr("family-brand"),weight:nr("weight-semibold")};function I3(e=""){let t=String(e).trim().split(/\s+/).filter(Boolean);if(!t.length)return"";let r=t[0][0]||"",n=t.length>1?t[t.length-1][0]:"";return(r+n).toUpperCase()}function $s({size:e="M",content:t,shape:r="Circle",avatarStyle:n="Fill",src:o,text:a,icon:i="person",name:s,showBadge:l=!1,badgeStatus:c="Positive",style:d,...u}){let p=Df[e]||Df.M,[b,g]=(0,Ff.useState)(!1);(0,Ff.useEffect)(()=>g(!1),[o]);let y=(a||"").slice(0,2),$=t==="Icon"?"Icon":t==="Text"?y?"Text":"Icon":o&&!b?"Image":y?"Text":"Icon",m=$==="Image"?"Fill":n,f=r==="Square"?p.radius:hr.circle,h={position:"relative",flex:"none",boxSizing:"border-box",display:"inline-flex",alignItems:"center",justifyContent:"center",width:p.px,height:p.px,borderRadius:f,background:$==="Image"?hr.imageFill:m==="Stroke"?"transparent":hr.fill,boxShadow:m==="Stroke"?`inset 0 0 0 ${hr.strokeWidth} ${hr.stroke}`:"none",color:hr.foreground,fontFamily:hr.family,...d};return(0,eo.jsxs)("span",{"data-pw-avatar":"","data-size":e,"data-content":$,style:h,...s?{role:"img","aria-label":s}:{"aria-hidden":!0},...u,children:[$==="Image"&&(0,eo.jsx)("img",{src:o,alt:"",onError:()=>g(!0),style:{width:"100%",height:"100%",objectFit:"cover",display:"block",borderRadius:f}}),$==="Text"&&(0,eo.jsx)("span",{"aria-hidden":"true",style:{fontSize:p.fontSize,lineHeight:p.lineHeight,fontWeight:hr.weight,letterSpacing:0,whiteSpace:"nowrap"},children:y}),$==="Icon"&&(0,eo.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:p.icon,width:p.icon,height:p.icon,fontVariationSettings:"'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24",lineHeight:1},children:i}),l&&(0,eo.jsx)("span",{"aria-hidden":"true","data-pw-avatar-badge":"",style:{position:"absolute",right:0,bottom:0,boxSizing:"border-box",width:p.badge,height:p.badge,borderRadius:hr.circle,background:hr.badge[c]||hr.badge.Positive,boxShadow:`inset 0 0 0 ${hr.badgeRingW} ${hr.badgeRing}`}})]})}function C9({people:e=[],size:t="XS",max:r=3,showMore:n=!0,label:o,style:a,...i}){let s=Df[t]||Df.XS,l=e.slice(0,r),c=e.length-l.length,d=l.map(b=>b.name).filter(Boolean),u=o||d.join(", ")+(c>0?`, and ${c} more`:""),p={boxShadow:`0 0 0 ${hr.groupRingW} ${hr.groupRing}`};return(0,eo.jsxs)("span",{"data-pw-avatar-group":"",role:"img","aria-label":u,style:{display:"inline-flex",alignItems:"center",...a},...i,children:[l.map((b,g)=>(0,eo.jsx)($s,{size:t,src:b.src,text:b.text||I3(b.name),icon:b.icon,style:{...p,marginLeft:g?-s.px/4:0}},(b.name||"")+g)),n&&c>0&&(0,eo.jsx)($s,{size:t,content:"Text",text:`+${c}`.slice(0,3),style:{...p,marginLeft:l.length?-s.px/4:0}})]})}var ke=S(D(),1),E9=S(kn(),1);var To=S($e(),1),N3=e=>`var(--semantic-color-${e})`,ba=e=>`var(--semantic-layout-units-${e})`,Rc=e=>`var(--semantic-type-${e})`,Hf=e=>`var(--motion-${e})`,vs={fill:N3("fill-surface-elevated"),stroke:N3("stroke-static-neutral-base"),fg:N3("foreground-static-neutral-base"),shadow:"var(--elevation-widget)"},lt={padY:ba("padding-xxtight"),padX:ba("padding-xtight"),radius:ba("cornerradius-small"),stroke:ba("borderwidth-base"),offset:"--semantic-layout-units-gap-xxtight",edge:"--semantic-layout-units-padding-xtight",maxW:240,arrowW:12,arrowH:6,arrowInset:8,bridgeMs:120,tapMs:2600},_c={fontFamily:Rc("family-brand"),fontSize:Rc("font-size-s"),fontWeight:Rc("weight-regular"),lineHeight:Rc("line-height-s-single"),letterSpacing:Rc("letter-spacing-wide")},kC={"amplify-light":"amplify-dark",light:"dark","amplify-dark":"amplify-light",dark:"light",midnight:"light"},PC=`
|
|
204
|
+
`,j3=!1;function G3(){(0,Ss.useEffect)(()=>{if(j3||typeof document>"u"||document.getElementById("pw-radio-css")){j3=!0;return}let e=document.createElement("style");e.id="pw-radio-css",e.textContent=GC,document.head.appendChild(e),j3=!0},[])}var Pg=(0,Ss.createContext)({size:"Base"});function Tg({label:e,showLabel:t=!0,required:r=!1,helpText:n,error:o=!1,errorMessage:i,disabled:a=!1,orientation:s="Vertical",size:l="Base",value:c,defaultValue:d,onChange:u,name:p,className:b="",children:g,...y}){G3();let $=o&&i;return(0,xt.jsxs)(V3,{...y,name:p,value:c,defaultValue:d,onChange:u,isInvalid:o,isRequired:r,isDisabled:a,orientation:s==="Horizontal"?"horizontal":"vertical","aria-label":t?void 0:e,"data-size":l,className:`pw-radio-group${b?` ${b}`:""}`,children:[t&&e&&(0,xt.jsxs)(f2,{className:"pw-radio-group__label",children:[e,r&&(0,xt.jsx)("span",{className:"pw-radio-group__required","aria-hidden":"true",children:"*"})]}),(0,xt.jsx)(Pg.Provider,{value:{size:l},children:(0,xt.jsx)("div",{className:"pw-radio-group__options",children:g})}),$?(0,xt.jsxs)(df,{slot:"errorMessage",className:"pw-radio-group__help","data-error":"",children:[(0,xt.jsx)("span",{className:"pw-radio-group__help-icon","aria-hidden":"true",children:(0,xt.jsx)("span",{className:"material-symbols-rounded",children:"error"})}),(0,xt.jsx)("span",{children:i})]}):n?(0,xt.jsx)(df,{slot:"description",className:"pw-radio-group__help",children:n}):null]})}function Lg({selected:e=!1,error:t=!1,disabled:r=!1,size:n="Base"}){return G3(),(0,xt.jsx)("span",{className:"pw-radio pw-radio-mark","aria-hidden":"true","data-size":n,"data-selected":e||void 0,"data-invalid":t||void 0,"data-disabled":r||void 0,children:(0,xt.jsx)("span",{className:"pw-radio__control",children:(0,xt.jsx)("span",{className:"pw-radio__mark",children:(0,xt.jsx)("span",{className:"pw-radio__dot"})})})})}function Rg({value:e,text:t,children:r,showText:n=!0,size:o,disabled:i=!1,forceState:a,className:s="",...l}){G3();let c=(0,Ss.useContext)(Pg),d=o||c.size||"Base",u=r??t;return(0,xt.jsxs)(W3,{...l,value:e,isDisabled:i,"data-size":d,"data-force":a,className:`pw-radio${s?` ${s}`:""}`,children:[(0,xt.jsx)("span",{className:"pw-radio__control","aria-hidden":"true",children:(0,xt.jsx)("span",{className:"pw-radio__mark",children:(0,xt.jsx)("span",{className:"pw-radio__dot"})})}),n&&u!=null&&u!==""&&(0,xt.jsx)("span",{className:"pw-radio__label",children:u})]})}var gO=S(D(),1),wi=S(he(),1),_g=["neutral","brand","info","warning","danger","negative","positive","accent-amethyst","accent-jade","accent-seabreeze"],Mg=["light","subtle","base","contrast","bold"],Dr=e=>`var(--semantic-color-${e})`,Ig={neutral:{light:Dr("foreground-static-neutral-faint"),subtle:Dr("foreground-static-neutral-base"),base:Dr("foreground-static-neutral-base"),contrast:Dr("foreground-static-neutral-strong"),bold:Dr("foreground-static-neutral-bold")},brand:Dr("foreground-action-primary-on-subtle-rest"),info:Dr("foreground-static-info-on-subtle"),warning:Dr("foreground-static-attention-on-subtle"),danger:Dr("foreground-static-negative-on-subtle"),negative:Dr("foreground-static-negative-on-subtle"),positive:Dr("foreground-static-positive-on-subtle"),"accent-amethyst":Dr("foreground-static-info-on-subtle"),"accent-jade":Dr("foreground-static-accent-jade-on-subtle"),"accent-seabreeze":Dr("foreground-static-accent-seabreeze-on-subtle")};function ZC(e,t){let r=Ig[e]??Ig.neutral;return typeof r=="string"?r:r[t]??r.base}var YC=[{d:"M6 1V3",opacity:1},{d:"M8.1 3.9L9.55 2.45",opacity:.87},{d:"M9 6H11",opacity:.75},{d:"M8.1 8.1L9.55 9.55",opacity:.62},{d:"M6 9V11",opacity:.5},{d:"M2.45 9.55L3.9 8.1",opacity:.37},{d:"M1 6H3",opacity:.25},{d:"M2.45 2.45L3.9 3.9",opacity:.12}],XC=[{frac:.32,off:0,opacity:1},{frac:.19,off:.4,opacity:.7},{frac:.09,off:.68,opacity:.45}];function Ng({variant:e="ring",size:t,tone:r="neutral",emphasis:n="base",label:o="Loading",className:i,style:a}){_g.includes(r)||console.error(`[Spinner] Invalid tone "${r}". Allowed: ${_g.join(", ")}`),Mg.includes(n)||console.error(`[Spinner] Invalid emphasis "${n}". Allowed: ${Mg.join(", ")}`);let s=t==null?"1em":typeof t=="number"?`${t}px`:t,l={display:"inline-flex",alignItems:"center",justifyContent:"center",width:s,height:s,flexShrink:0,color:ZC(r,n)},c=24,d=2.5,u=(c-d)/2,p=2*Math.PI*u;return(0,wi.jsxs)("span",{role:"status","aria-live":"polite","aria-label":o,className:i,"data-tone":r,"data-emphasis":n,"data-variant":e,style:{...l,...a},children:[e==="sunburst"?(0,wi.jsx)("svg",{viewBox:"0 0 12 12",width:"100%",height:"100%","aria-hidden":"true",focusable:"false",style:{animation:"pw-spin var(--motion-duration-loop) var(--motion-easing-linear) infinite"},children:YC.map((b,g)=>(0,wi.jsx)("path",{d:b.d,opacity:b.opacity,stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"},g))}):(0,wi.jsx)("svg",{viewBox:`0 0 ${c} ${c}`,width:"100%",height:"100%",fill:"none","aria-hidden":"true",focusable:"false",style:{animation:"pw-spin 1400ms var(--motion-easing-linear) infinite"},children:XC.map((b,g)=>(0,wi.jsx)("circle",{cx:c/2,cy:c/2,r:u,stroke:"currentColor",strokeOpacity:b.opacity,strokeWidth:d,strokeLinecap:"round",strokeDasharray:`${b.frac*p} ${p}`,strokeDashoffset:-b.off*p},g))}),(0,wi.jsx)("span",{style:{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0 0 0 0)",whiteSpace:"nowrap",border:0},children:o})]})}var Ac=S(D(),1);var Ut=S(he(),1),Wt=e=>`var(--semantic-color-${e})`,Fr=e=>`var(--semantic-layout-units-${e})`,Dg=e=>`var(--contextual-layout-units-${e})`,Vf=e=>`var(--semantic-type-${e})`;var qC=["Neutral","Info","Positive","Negative"];var Wf={Neutral:{fill:"fill-static-neutral-base",strokeStrong:"stroke-static-neutral-bold",strokeSubtle:"stroke-static-neutral-bold",text:"foreground-static-neutral-bold",textNaked:"foreground-static-neutral-base"},Severe:{fill:"fill-static-severe-subtle",strokeStrong:"stroke-static-severe-strong",strokeSubtle:"stroke-static-severe-subtle",text:"foreground-static-severe-on-subtle"},Negative:{fill:"fill-static-negative-subtle",strokeStrong:"stroke-static-negative-strong",strokeSubtle:"stroke-static-negative-subtle",text:"foreground-static-negative-on-subtle"},Positive:{fill:"fill-static-positive-subtle",strokeStrong:"stroke-static-positive-strong",strokeSubtle:"stroke-static-positive-subtle",text:"foreground-static-positive-on-subtle"},Attention:{fill:"fill-static-attention-subtle",strokeStrong:"stroke-static-attention-strong",strokeSubtle:"stroke-static-attention-strong",text:"foreground-static-attention-on-subtle"},Info:{fill:"fill-static-info-subtle",strokeStrong:"stroke-static-info-strong",strokeSubtle:"stroke-static-info-subtle",text:"foreground-static-info-on-subtle"},"Accent 2":{fill:"fill-static-accent-jade-subtle",strokeStrong:"stroke-static-accent-jade",strokeSubtle:"stroke-static-accent-jade",text:"foreground-static-accent-jade-on-subtle"},"Accent 3":{fill:"fill-static-accent-mauve-subtle",strokeStrong:"stroke-static-accent-mauve",strokeSubtle:"stroke-static-accent-mauve",text:"foreground-static-accent-mauve-on-subtle"}},QC=e=>{let t=(qC.includes(e)?e:"Neutral").toLowerCase(),r=n=>Wt(n.replace("$",t));return{off:{fill:{rest:r("fill-action-status-$-subtle-rest"),hover:r("fill-action-status-$-subtle-hover"),pressed:r("fill-action-status-$-subtle-pressed")},stroke:{rest:r("stroke-action-status-$-rest"),hover:r("stroke-action-status-$-hover"),pressed:r("stroke-action-status-$-pressed")},text:{rest:r("foreground-action-status-$-on-subtle-rest"),hover:r("foreground-action-status-$-on-subtle-hover"),pressed:r("foreground-action-status-$-on-subtle-pressed")}},on:{fill:{rest:r("fill-action-status-$-strong-rest"),hover:r("fill-action-status-$-strong-hover"),pressed:r("fill-action-status-$-strong-pressed")},text:r("foreground-action-status-$-on-strong")}}},Fg={Small:{fontSize:"font-size-xs",lineHeight:"line-height-xs-single",icon:11,ico:12,contentMax:200,height:20},Medium:{fontSize:"font-size-xs",lineHeight:"line-height-xs-single",icon:12,ico:14,contentMax:196,height:22},Large:{fontSize:"font-size-s",lineHeight:"line-height-xs-single",icon:14,ico:16,contentMax:192,height:24}},gn={radius:Fr("cornerradius-large"),radiusX:Fr("cornerradius-full"),border:Fr("borderwidth-base"),padTop:Fr("padding-xxxxtight"),padBottom:Fr("padding-xxxxtight"),padLeft:Fr("padding-xxxtight"),padRight:Fr("padding-xxtight"),gap:Fr("gap-xxxtight")},Lt={pill:Fr("padding-xxxtight"),text:Fr("padding-xxxtight"),fieldGap:Fr("gap-xxtight"),rowGap:Fr("gap-xtight"),touchW:Fr("accessibility-touch-target-aa-width"),touchH:Fr("accessibility-touch-target-aa-height"),ring:Wt("stroke-focusring-base"),ringWidth:Dg("focusring-width"),ringOffset:Dg("focusring-offset"),fieldMax:80,badgeMax:240,duration:"var(--motion-duration-2)",easing:"var(--motion-easing-standard)"},Hg=(e,t="weight-medium")=>({fontFamily:"inherit",fontSize:Vf(e.fontSize),lineHeight:Vf(e.lineHeight),fontWeight:Vf(t),letterSpacing:Vf("letter-spacing-extraspacious"),whiteSpace:"nowrap"}),Z3={minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},Ag={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,minWidth:Lt.touchW,minHeight:Lt.touchH,boxSizing:"border-box",padding:0,margin:0,border:0,background:"transparent",font:"inherit",color:"inherit",textDecoration:"none",outline:"none"},Og=e=>e?`inset 0 0 0 ${gn.border} ${e}`:"none",Bg=e=>e?{outline:`${Lt.ringWidth} solid ${Lt.ring}`,outlineOffset:Lt.ringOffset}:{outline:"none"},Kg=e=>e.height?{height:e.height,paddingTop:0,paddingBottom:0}:{},zg=`background ${Lt.duration} ${Lt.easing}, color ${Lt.duration} ${Lt.easing}, box-shadow ${Lt.duration} ${Lt.easing}`;function Uf({type:e="static",label:t,fieldLabel:r,showFieldLabel:n=!1,status:o="Neutral",size:i="Small",badgeStyle:a="Outline & Fill",leadingIcon:s,selectedIcon:l="check",trailingIcon:c,showTrailingIcon:d=!1,selected:u,defaultSelected:p=!1,onChange:b,onRemove:g,href:y,disabled:$=!1,removeDisabled:m=!1,forceState:f,className:h="",style:v,...x}){let w=Fg[i]||Fg.Small,[P,k]=(0,Ac.useState)(p),[T,E]=(0,Ac.useState)(!1),[F,_]=(0,Ac.useState)(!1),[I,C]=(0,Ac.useState)(!1),L=T||f==="hover",O=F||f==="pressed",M=I||f==="focused",Z={"Outline & Fill":{fill:!0,stroke:"strong"},Fill:{fill:!0,stroke:null},Outline:{fill:!1,stroke:"subtle"},Naked:{fill:!1,stroke:null}}[a]||{fill:!0,stroke:"strong"};if(e==="static"){let de=Wf[o]||Wf.Neutral,Y=Z.stroke==="strong"?Wt(de.strokeStrong):Z.stroke==="subtle"?Wt(de.strokeSubtle):null;return(0,Ut.jsxs)("span",{className:`pw-badge ${h}`,"data-type":"static","data-status":o,"data-size":i,style:{display:"inline-flex",alignItems:"center",boxSizing:"border-box",gap:gn.gap,paddingTop:gn.padTop,paddingRight:gn.padRight,paddingBottom:gn.padBottom,paddingLeft:gn.padLeft,...Kg(w),borderRadius:gn.radius,background:Z.fill?Wt(de.fill):"transparent",boxShadow:Y?`inset 0 0 0 ${gn.border} ${Y}`:"none",color:Wt(a==="Naked"&&de.textNaked?de.textNaked:de.text),...Hg(w),...v},...x,children:[s&&(0,Ut.jsx)(ye,{name:s,size:w.icon,fill:1}),t,c&&(0,Ut.jsx)(ye,{name:c,size:w.icon})]})}let R={display:"inline-flex",alignItems:"center",boxSizing:"border-box",gap:0,paddingTop:gn.padTop,paddingBottom:gn.padBottom,paddingLeft:Lt.pill,paddingRight:Lt.pill,borderRadius:gn.radius,maxWidth:n?"none":Lt.badgeMax,minWidth:0,transition:zg,...Hg(w),...Kg(w)},te={display:"inline-flex",minWidth:0,paddingLeft:Lt.text,paddingRight:Lt.text},X=(de,Y=0)=>(0,Ut.jsx)(ye,{name:de,size:w.ico,fill:Y,style:{flexShrink:0}});if(e==="dismissible"){let de=Wf[o]||Wf.Neutral,Y=Z.stroke==="strong"?Wt(de.strokeStrong):Z.stroke==="subtle"?Wt(de.strokeSubtle):null,je=$||m,Le=n&&r?`${r} ${t}`:t,Oe=je?"transparent":O?Wt("fill-action-secondary-pressed"):L?Wt("fill-action-secondary-hover"):"transparent",yn=Wt(je?"foreground-action-disabled":O?"foreground-action-secondary-pressed":L?"foreground-action-secondary-hover":"foreground-action-secondary-rest");return(0,Ut.jsx)("span",{className:`pw-badge pw-badge--dismissible ${h}`,"data-type":"dismissible","data-status":o,"data-size":i,style:{...Ag,...v},...x,children:(0,Ut.jsxs)("span",{className:"pw-badge__pill",style:{...R,background:Z.fill?Wt(de.fill):"transparent",color:Wt(a==="Naked"&&de.textNaked?de.textNaked:de.text),boxShadow:Og(Y),...Bg(M)},children:[s&&X(s,1),(0,Ut.jsxs)("span",{className:"pw-badge__label",style:{...te,gap:Lt.fieldGap},children:[n&&r&&(0,Ut.jsx)("span",{style:{...Z3,maxWidth:Lt.fieldMax},children:r}),(0,Ut.jsx)("span",{style:{...Z3,maxWidth:w.contentMax},children:t})]}),(0,Ut.jsxs)("button",{type:"button",className:"pw-badge__remove","aria-label":`Remove ${Le}`,"aria-disabled":je||void 0,onClick:Hr=>{if(je){Hr.preventDefault();return}g?.(Hr)},onMouseEnter:()=>!je&&E(!0),onMouseLeave:()=>{E(!1),_(!1)},onMouseDown:()=>!je&&_(!0),onMouseUp:()=>_(!1),onFocus:Hr=>{Hr.target.matches?.(":focus-visible")&&C(!0)},onBlur:()=>{C(!1),_(!1)},onKeyDown:Hr=>{(Hr.key===" "||Hr.key==="Enter")&&!je&&_(!0)},onKeyUp:()=>_(!1),style:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:w.ico,height:w.ico,padding:0,margin:0,border:0,outline:"none",borderRadius:gn.radiusX,background:Oe,color:yn,flexShrink:0,cursor:je?"not-allowed":"pointer",transition:zg},children:[(0,Ut.jsx)(ye,{name:"close",size:w.ico}),(0,Ut.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:Lt.touchW,height:Lt.touchH}})]})]})})}let K=u!==void 0?u:P,j=QC(o),z=O?"pressed":L?"hover":"rest",N=Z.fill||z!=="rest",ie=$?Wt("fill-action-disabled"):K?j.on.fill[z]:N?j.off.fill[z]:"transparent",J=$?Wt("foreground-action-disabled"):K?j.on.text:j.off.text[z],Ee=$||K||!Z.stroke?null:j.off.stroke[z],ft=!!y||d,ce=K?l:s,H=y?"a":"button",V={onMouseEnter:()=>!$&&E(!0),onMouseLeave:()=>{E(!1),_(!1)},onMouseDown:()=>!$&&_(!0),onMouseUp:()=>_(!1),onFocus:de=>{de.target.matches?.(":focus-visible")&&C(!0)},onBlur:()=>{C(!1),_(!1)},onKeyDown:de=>{(de.key===" "||de.key==="Enter")&&!$&&_(!0)},onKeyUp:()=>_(!1),onClick:de=>{if($){de.preventDefault();return}if(ft){x.onClick?.(de);return}let Y=!K;u===void 0&&k(Y),b?.(Y)}};return(0,Ut.jsx)(H,{className:`pw-badge pw-badge--interactive ${h}`,"data-type":"interactive","data-status":o,"data-size":i,...y?{href:y}:{type:"button"},...ft?null:{"aria-pressed":K},"aria-disabled":$||void 0,...x,...V,style:{...Ag,cursor:$?"not-allowed":"pointer",...v},children:(0,Ut.jsxs)("span",{className:"pw-badge__pill",style:{...R,background:ie,color:J,boxShadow:Og(Ee),...Bg(M)},children:[ce&&X(ce,K?0:1),(0,Ut.jsx)("span",{className:"pw-badge__label",style:te,children:(0,Ut.jsx)("span",{style:{...Z3,display:"block",maxWidth:w.contentMax},children:t})}),d&&X(c||"chevron_right")]})})}var Gf=S(D(),1),so=S(he(),1),Si=e=>`var(--semantic-color-${e})`,Bn=e=>`var(--semantic-layout-units-${e})`,lr=e=>`var(--semantic-type-${e})`;var jf={XXXS:{px:16,fontSize:lr("font-size-xxxs"),lineHeight:lr("line-height-xxxs-single"),radius:Bn("cornerradius-small"),icon:10,badge:6},XXS:{px:20,fontSize:lr("font-size-xxxs"),lineHeight:lr("line-height-xxxs-single"),radius:Bn("cornerradius-small"),icon:12,badge:7},XS:{px:24,fontSize:lr("font-size-xxs"),lineHeight:lr("line-height-xxs-single"),radius:Bn("cornerradius-small"),icon:14,badge:8},S:{px:32,fontSize:lr("font-size-s"),lineHeight:lr("line-height-s-single"),radius:Bn("cornerradius-small"),icon:20,badge:10},M:{px:40,fontSize:lr("font-size-r"),lineHeight:lr("line-height-r-single"),radius:Bn("cornerradius-base"),icon:24,badge:12},L:{px:56,fontSize:lr("font-size-l"),lineHeight:lr("line-height-l-single"),radius:Bn("cornerradius-large"),icon:34,badge:16},XL:{px:96,fontSize:lr("font-size-xxl"),lineHeight:lr("line-height-xxl-single"),radius:Bn("cornerradius-xlarge"),icon:58,badge:28}},yr={fill:Si("fill-static-brand-subtle"),foreground:Si("foreground-static-brand-on-subtle"),imageFill:Si("fill-static-neutral-faint"),stroke:Si("stroke-static-neutral-base"),strokeWidth:Bn("borderwidth-thin"),circle:Bn("cornerradius-full"),badgeRing:Si("stroke-static-neutral-mono"),badgeRingW:Bn("borderwidth-base"),badge:{Positive:Si("fill-static-positive-strong"),Attention:Si("fill-static-attention-strong")},groupRing:Si("fill-surface-elevated"),groupRingW:Bn("borderwidth-thick"),family:lr("family-brand"),weight:lr("weight-semibold")};function Oc(e=""){let t=String(e).trim().split(/\s+/).filter(Boolean);if(!t.length)return"";let r=t[0][0]||"",n=t.length>1?t[t.length-1][0]:"";return(r+n).toUpperCase()}function Ei({size:e="M",content:t,shape:r="Circle",avatarStyle:n="Fill",src:o,text:i,icon:a="person",name:s,showBadge:l=!1,badgeStatus:c="Positive",style:d,...u}){let p=jf[e]||jf.M,[b,g]=(0,Gf.useState)(!1);(0,Gf.useEffect)(()=>g(!1),[o]);let y=(i||"").slice(0,2),$=t==="Icon"?"Icon":t==="Text"?y?"Text":"Icon":o&&!b?"Image":y?"Text":"Icon",m=$==="Image"?"Fill":n,f=r==="Square"?p.radius:yr.circle,h={position:"relative",flex:"none",boxSizing:"border-box",display:"inline-flex",alignItems:"center",justifyContent:"center",width:p.px,height:p.px,borderRadius:f,background:$==="Image"?yr.imageFill:m==="Stroke"?"transparent":yr.fill,boxShadow:m==="Stroke"?`inset 0 0 0 ${yr.strokeWidth} ${yr.stroke}`:"none",color:yr.foreground,fontFamily:yr.family,...d};return(0,so.jsxs)("span",{"data-pw-avatar":"","data-size":e,"data-content":$,style:h,...s?{role:"img","aria-label":s}:{"aria-hidden":!0},...u,children:[$==="Image"&&(0,so.jsx)("img",{src:o,alt:"",onError:()=>g(!0),style:{width:"100%",height:"100%",objectFit:"cover",display:"block",borderRadius:f}}),$==="Text"&&(0,so.jsx)("span",{"aria-hidden":"true",style:{fontSize:p.fontSize,lineHeight:p.lineHeight,fontWeight:yr.weight,letterSpacing:0,whiteSpace:"nowrap"},children:y}),$==="Icon"&&(0,so.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:p.icon,width:p.icon,height:p.icon,fontVariationSettings:"'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24",lineHeight:1},children:a}),l&&(0,so.jsx)("span",{"aria-hidden":"true","data-pw-avatar-badge":"",style:{position:"absolute",right:0,bottom:0,boxSizing:"border-box",width:p.badge,height:p.badge,borderRadius:yr.circle,background:yr.badge[c]||yr.badge.Positive,boxShadow:`inset 0 0 0 ${yr.badgeRingW} ${yr.badgeRing}`}})]})}function Vg({people:e=[],size:t="XS",max:r=3,showMore:n=!0,label:o,style:i,...a}){let s=jf[t]||jf.XS,l=e.slice(0,r),c=e.length-l.length,d=l.map(b=>b.name).filter(Boolean),u=o||d.join(", ")+(c>0?`, and ${c} more`:""),p={boxShadow:`0 0 0 ${yr.groupRingW} ${yr.groupRing}`};return(0,so.jsxs)("span",{"data-pw-avatar-group":"",role:"img","aria-label":u,style:{display:"inline-flex",alignItems:"center",...i},...a,children:[l.map((b,g)=>(0,so.jsx)(Ei,{size:t,src:b.src,text:b.text||Oc(b.name),icon:b.icon,style:{...p,marginLeft:g?-s.px/4:0}},(b.name||"")+g)),n&&c>0&&(0,so.jsx)(Ei,{size:t,content:"Text",text:`+${c}`.slice(0,3),style:{...p,marginLeft:l.length?-s.px/4:0}})]})}var Pe=S(D(),1),jg=S(_n(),1);var lo=S(he(),1),Y3=e=>`var(--semantic-color-${e})`,ki=e=>`var(--semantic-layout-units-${e})`,Bc=e=>`var(--semantic-type-${e})`,Zf=e=>`var(--motion-${e})`,Es={fill:Y3("fill-surface-elevated"),stroke:Y3("stroke-static-neutral-base"),fg:Y3("foreground-static-neutral-base"),shadow:"var(--elevation-widget)"},ut={padY:ki("padding-xxtight"),padX:ki("padding-xtight"),radius:ki("cornerradius-small"),stroke:ki("borderwidth-base"),offset:"--semantic-layout-units-gap-xxtight",edge:"--semantic-layout-units-padding-xtight",maxW:240,arrowW:12,arrowH:6,arrowInset:8,bridgeMs:120,tapMs:2600},Kc={fontFamily:Bc("family-brand"),fontSize:Bc("font-size-s"),fontWeight:Bc("weight-regular"),lineHeight:Bc("line-height-s-single"),letterSpacing:Bc("letter-spacing-wide")},JC={"amplify-light":"amplify-dark",light:"dark","amplify-dark":"amplify-light",dark:"light",midnight:"light"},ew=`
|
|
205
205
|
.pw-tooltip{position:fixed;left:0;top:0;z-index:1000;box-sizing:border-box;width:max-content;
|
|
206
|
-
max-width:min(${
|
|
207
|
-
padding:${
|
|
208
|
-
box-shadow:inset 0 0 0 ${
|
|
209
|
-
font-family:${
|
|
210
|
-
line-height:${
|
|
206
|
+
max-width:min(${ut.maxW}px, calc(100vw - 2 * var(${ut.edge})));
|
|
207
|
+
padding:${ut.padY} ${ut.padX};border-radius:${ut.radius};background:${Es.fill};color:${Es.fg};
|
|
208
|
+
box-shadow:inset 0 0 0 ${ut.stroke} ${Es.stroke},${Es.shadow};
|
|
209
|
+
font-family:${Kc.fontFamily},sans-serif;font-size:${Kc.fontSize};font-weight:${Kc.fontWeight};
|
|
210
|
+
line-height:${Kc.lineHeight};letter-spacing:${Kc.letterSpacing};
|
|
211
211
|
overflow-wrap:anywhere;text-align:start;pointer-events:auto;user-select:none}
|
|
212
|
-
.pw-tooltip[data-state=open]{animation:pw-tooltip-in ${
|
|
213
|
-
.pw-tooltip[data-state=closed]{animation:pw-tooltip-out ${
|
|
214
|
-
.pw-tooltip[data-side=top]{--pw-tooltip-dx:0;--pw-tooltip-dy:${
|
|
215
|
-
.pw-tooltip[data-side=bottom]{--pw-tooltip-dx:0;--pw-tooltip-dy:calc(-1 * ${
|
|
216
|
-
.pw-tooltip[data-side=left]{--pw-tooltip-dx:${
|
|
217
|
-
.pw-tooltip[data-side=right]{--pw-tooltip-dx:calc(-1 * ${
|
|
212
|
+
.pw-tooltip[data-state=open]{animation:pw-tooltip-in ${Zf("duration-2")} ${Zf("easing-decelerate")}}
|
|
213
|
+
.pw-tooltip[data-state=closed]{animation:pw-tooltip-out ${Zf("duration-1")} ${Zf("easing-accelerate")} forwards}
|
|
214
|
+
.pw-tooltip[data-side=top]{--pw-tooltip-dx:0;--pw-tooltip-dy:${ki("gap-xxtight")}}
|
|
215
|
+
.pw-tooltip[data-side=bottom]{--pw-tooltip-dx:0;--pw-tooltip-dy:calc(-1 * ${ki("gap-xxtight")})}
|
|
216
|
+
.pw-tooltip[data-side=left]{--pw-tooltip-dx:${ki("gap-xxtight")};--pw-tooltip-dy:0}
|
|
217
|
+
.pw-tooltip[data-side=right]{--pw-tooltip-dx:calc(-1 * ${ki("gap-xxtight")});--pw-tooltip-dy:0}
|
|
218
218
|
.pw-tooltip[data-reduced][data-state=open]{animation-name:pw-tooltip-fade}
|
|
219
219
|
@keyframes pw-tooltip-in{from{opacity:0;transform:translate(var(--pw-tooltip-dx),var(--pw-tooltip-dy))}to{opacity:1;transform:none}}
|
|
220
220
|
@keyframes pw-tooltip-fade{from{opacity:0}to{opacity:1}}
|
|
221
221
|
@keyframes pw-tooltip-out{from{opacity:1}to{opacity:0}}
|
|
222
|
-
.pw-tooltip__arrow{position:absolute;display:block;width:${
|
|
222
|
+
.pw-tooltip__arrow{position:absolute;display:block;width:${ut.arrowW}px;height:calc(${ut.arrowH}px + ${ut.stroke});overflow:hidden;transform-origin:0 0;pointer-events:none}
|
|
223
223
|
.pw-tooltip__arrow::before{content:"";position:absolute;left:50%;top:0;width:8px;height:8px;box-sizing:border-box;
|
|
224
|
-
transform:translate(-50%,-50%) rotate(45deg);background:${
|
|
224
|
+
transform:translate(-50%,-50%) rotate(45deg);background:${Es.fill};box-shadow:inset 0 0 0 ${ut.stroke} ${Es.stroke}}
|
|
225
225
|
.pw-tooltip__sr{display:none}
|
|
226
226
|
.pw-tooltip__trigger{display:inline-flex}
|
|
227
|
-
`,D3=!1;function TC(){(0,ke.useEffect)(()=>{if(D3||typeof document>"u"||document.getElementById("pw-tooltip-css")){D3=!0;return}let e=document.createElement("style");e.id="pw-tooltip-css",e.textContent=PC,document.head.appendChild(e),D3=!0},[])}function Af(e,t){if(typeof document>"u")return t;let r=parseFloat(getComputedStyle(document.documentElement).getPropertyValue(e));return Number.isFinite(r)?r:t}var ys=(e,t,r)=>Math.min(Math.max(e,t),Math.max(t,r));function w9(e,t){let r=e;for(;r;){let n=r.closest?.(t);if(n)return n;r=r.getRootNode?.().host||null}return null}function LC(e){let t=w9(e,"[data-theme]")||document.documentElement,r=w9(e,"[data-brand]")||document.documentElement;return{theme:t.getAttribute("data-theme")||"light",brand:r.getAttribute("data-brand")}}var S9=0,RC=(0,ke.createContext)(null),_C=(0,ke.createContext)({arrow:!0});function MC(e,t,{side:r,align:n,arrow:o,boundary:a}){let i=e.getBoundingClientRect(),s=t.offsetWidth,l=t.offsetHeight,c=a?a.getBoundingClientRect():{left:0,top:0,right:window.innerWidth,bottom:window.innerHeight},d=Af(lt.edge,8),u=Af(lt.offset,4)+(o?lt.arrowH:0),p={top:i.top-u-l>=c.top+d,bottom:i.bottom+u+l<=c.bottom-d,left:i.left-u-s>=c.left+d,right:i.right+u+s<=c.right-d},b={top:"bottom",bottom:"top",left:"right",right:"left"},g=!p[r]&&p[b[r]]?b[r]:r,y=g==="top"||g==="bottom",$,m;y?(m=g==="top"?i.top-u-l:i.bottom+u,$=n==="start"?i.left:n==="end"?i.right-s:i.left+i.width/2-s/2):($=g==="left"?i.left-u-s:i.right+u,m=n==="start"?i.top:n==="end"?i.bottom-l:i.top+i.height/2-l/2);let f=lt.arrowInset+lt.arrowW/2,h=n;if(y){let x=i.left+i.width/2,w=ys(ys($,c.left+d,c.right-d-s),x-(s-f),x-f);Math.abs(w-$)>.5&&(h=w>$?"start":"end"),$=w}else{let x=i.top+i.height/2,w=ys(ys(m,c.top+d,c.bottom-d-l),x-(l-f),x-f);Math.abs(w-m)>.5&&(h=w>m?"start":"end"),m=w}let v=y?ys(i.left+i.width/2-$,f,s-f):ys(i.top+i.height/2-m,f,l-f);return{x:$,y:m,side:g,align:h,along:v}}function IC(e,t){let r=lt.stroke;switch(e){case"bottom":return{top:r,left:t+lt.arrowW/2,transform:"rotate(180deg)"};case"left":return{left:`calc(100% - ${r})`,top:t+lt.arrowW/2,transform:"rotate(-90deg)"};case"right":return{left:r,top:t-lt.arrowW/2,transform:"rotate(90deg)"};default:return{top:`calc(100% - ${r})`,left:t-lt.arrowW/2}}}function ni({children:e,content:t,describe:r,purpose:n="description",side:o="top",align:a="center",arrow:i,disabled:s=!1,persistOnPress:l=!1,boundary:c,open:d,onOpenChange:u,manageAria:p=!0}){TC();let b=(0,ke.useContext)(_C),g=(0,ke.useContext)(RC),y=i??b.arrow??!0,$=Ut(),m=(0,ke.useId)(),f=(0,ke.useRef)(null),h=(0,ke.useRef)(null),[v,x]=(0,ke.useState)(!1),[w,P]=(0,ke.useState)(!1),[k,T]=(0,ke.useState)(!1),[E,F]=(0,ke.useState)(!1),[R,_]=(0,ke.useState)(!1),[C,L]=(0,ke.useState)(null),[z,N]=(0,ke.useState)(null),Z=(0,ke.useRef)(null),I=(0,ke.useRef)(null),te=(0,ke.useRef)(null),X=(0,ke.useRef)(null);(0,ke.useEffect)(()=>()=>[Z,I,te,X].forEach(Re=>clearTimeout(Re.current)),[]);let B=!s&&!!t&&(d??(k||!E&&(v||w))),G=(0,ke.useRef)(!1);(0,ke.useEffect)(()=>{clearTimeout(X.current),B?_(!0):G.current&&(S9=Date.now(),X.current=setTimeout(()=>{_(!1),L(null)},$?0:Af("--motion-duration-1",100))),G.current!==B&&u?.(B),G.current=B},[B]),(0,ke.useEffect)(()=>{if(!B)return;let Re=()=>{let{theme:gn,brand:va}=LC(f.current);N({theme:kC[gn]||"dark",brand:va})};Re();let vt=typeof MutationObserver<"u"?new MutationObserver(Re):null;return vt?.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme","data-brand"]}),()=>vt?.disconnect()},[B]);let V=(0,ke.useCallback)(()=>{!f.current||!h.current||L(MC(f.current,h.current,{side:o,align:a,arrow:y,boundary:c}))},[o,a,y,c]);if((0,ke.useLayoutEffect)(()=>{if(!R)return;V();let Re=()=>V();window.addEventListener("scroll",Re,!0),window.addEventListener("resize",Re);let vt=typeof ResizeObserver<"u"?new ResizeObserver(Re):null;vt&&h.current&&vt.observe(h.current);let gn=0,va="",ci=()=>{let Ts=f.current?.getBoundingClientRect(),dm=Ts?`${Ts.left},${Ts.top},${Ts.width},${Ts.height}`:"";dm!==va&&(va=dm,V()),gn=requestAnimationFrame(ci)};return gn=requestAnimationFrame(ci),()=>{window.removeEventListener("scroll",Re,!0),window.removeEventListener("resize",Re),vt?.disconnect(),cancelAnimationFrame(gn)}},[R,V,t,z]),(0,ke.useEffect)(()=>{if(!B)return;let Re=gn=>{gn.key==="Escape"&&(F(!0),T(!1))},vt=gn=>{let va=ci=>!!ci&&(typeof gn.composedPath=="function"?gn.composedPath().includes(ci):ci.contains(gn.target));!va(f.current)&&!va(h.current)&&(x(!1),T(!1))};return document.addEventListener("keydown",Re),document.addEventListener("pointerdown",vt),()=>{document.removeEventListener("keydown",Re),document.removeEventListener("pointerdown",vt)}},[B]),s||!t)return e;let M=ke.default.Children.only(e),ae=typeof M.type=="string"||M.type?.$$typeof===Symbol.for("react.forward_ref")||!!M.type?.prototype?.isReactComponent,Q=(Re,vt)=>{ae&&M.props[Re]?.(vt)},Se=g?.delay??Af("--motion-duration-4",300),$t=g?.skipDelay??Se,le=Re=>{Q("onPointerEnter",Re),Re.pointerType!=="touch"&&(clearTimeout(I.current),F(!1),!v&&(Date.now()-S9<$t?x(!0):(clearTimeout(Z.current),Z.current=setTimeout(()=>x(!0),Se))))},A=Re=>{Q("onPointerLeave",Re),clearTimeout(Z.current),clearTimeout(I.current),I.current=setTimeout(()=>x(!1),lt.bridgeMs)},W=()=>clearTimeout(I.current),ce=()=>{clearTimeout(I.current),I.current=setTimeout(()=>x(!1),lt.bridgeMs)},me=Re=>{Q("onFocus",Re);let vt=!0;try{vt=Re.target.matches(":focus-visible")}catch{}vt&&(F(!1),P(!0))},It=Re=>{Q("onBlur",Re),P(!1),T(!1)},De=Re=>{Q("onPointerDown",Re),clearTimeout(Z.current),Re.pointerType==="touch"||l?(T(!0),clearTimeout(te.current),te.current=setTimeout(()=>T(!1),lt.tapMs)):(x(!1),F(!0))},Yr=n==="description"?[M.props["aria-describedby"],m].filter(Boolean).join(" "):M.props["aria-describedby"],si=Re=>{f.current=Re;let vt=M.ref;typeof vt=="function"?vt(Re):vt&&typeof vt=="object"&&(vt.current=Re)},_r={onPointerEnter:le,onPointerLeave:A,onPointerDown:De,onFocus:me,onBlur:It},li=p?{"aria-label":n==="label"&&typeof t=="string"?t:M.props["aria-label"],"aria-describedby":Yr||void 0}:{},Et=ae?ke.default.cloneElement(M,{ref:si,..._r,...li}):(0,To.jsx)("span",{ref:Re=>{f.current=Re},className:"pw-tooltip__trigger",..._r,children:ke.default.cloneElement(M,li)}),Fn=R&&typeof document<"u"?(0,E9.createPortal)((0,To.jsxs)("div",{ref:h,className:"pw-tooltip",role:"tooltip","aria-hidden":"true","data-state":B?"open":"closed","data-side":C?.side??o,"data-align":C?.align??a,"data-theme":z?.theme,"data-brand":z?.brand||void 0,"data-reduced":$||void 0,onPointerEnter:W,onPointerLeave:ce,style:{left:C?C.x:0,top:C?C.y:0,visibility:C?"visible":"hidden"},children:[t,y&&C&&(0,To.jsx)("span",{className:"pw-tooltip__arrow",style:IC(C.side,C.along)})]}),document.body):null;return(0,To.jsxs)(To.Fragment,{children:[Et,p&&n==="description"&&(0,To.jsx)("span",{id:m,className:"pw-tooltip__sr",hidden:!0,children:r??t}),Fn]})}var re=S($e(),1),we=e=>`var(--semantic-color-${e})`,Ce=e=>`var(--semantic-layout-units-${e})`,NC=e=>`var(--contextual-layout-units-${e})`,br=e=>`var(--semantic-type-${e})`,tt=e=>`var(--motion-${e})`;var fe={panel:we("fill-surface-elevated"),panelBorder:we("stroke-static-neutral-faint"),slotDivider:we("stroke-static-neutral-base"),separator:we("stroke-static-neutral-base"),fillHover:we("fill-static-neutral-subtle"),fillPressed:we("fill-static-neutral-base"),fillSelected:we("fill-action-selection-selected"),fillDangerHover:we("fill-action-status-negative-subtle-hover"),fillDangerPressed:we("fill-action-status-negative-subtle-pressed"),stripe:we("fill-action-primary-strong-pressed"),label:we("foreground-static-neutral-strong"),labelHover:we("foreground-static-neutral-bold"),labelDanger:we("foreground-action-status-negative-on-subtle-rest"),labelDangerHover:we("foreground-action-status-negative-on-subtle-hover"),labelDangerPressed:we("foreground-action-status-negative-on-subtle-pressed"),disabled:we("foreground-action-disabled"),secondary:we("foreground-static-neutral-subtle"),reason:we("foreground-static-neutral-base"),check:we("foreground-action-primary-on-subtle-rest"),countFill:we("fill-static-neutral-base"),countText:we("foreground-static-neutral-bold"),countFillDisabled:we("fill-action-disabled"),swatchEdge:we("stroke-static-neutral-base"),dot:{positive:we("fill-static-positive-strong"),attention:we("fill-static-attention-strong"),negative:we("fill-static-negative-strong"),neutral:we("fill-static-neutral-strong")},statusTitle:we("foreground-static-neutral-bold"),statusBody:we("foreground-static-neutral-base"),focusRing:we("stroke-focusring-base"),trigger:we("foreground-action-secondary-rest"),triggerHover:we("foreground-action-secondary-hover"),buttonFill:we("fill-surface-elevated"),buttonFillHover:we("fill-action-selection-hover"),buttonBorder:we("stroke-action-secondary-rest"),avatarFill:we("fill-action-primary-subtle-rest"),avatarText:we("foreground-action-primary-on-subtle-rest")},j={panelRadius:Ce("cornerradius-large"),panelBorder:Ce("borderwidth-xthin"),shadow:"var(--elevation-lift)",listPadV:Ce("padding-xtight"),listPadH:Ce("padding-xxtight"),itemGap:Ce("gap-xxxtight"),slotPad:Ce("padding-xtight"),footerPad:Ce("padding-tight"),footerGap:Ce("gap-tight"),itemMinH:Ce("accessibility-touch-target-aa-height"),itemPad:Ce("padding-tight"),itemContentGap:Ce("gap-medium"),leadGroupGap:Ce("gap-tight"),textGap:Ce("gap-xxxtight"),inlineGap:Ce("gap-tight"),badgeGap:Ce("gap-xxtight"),reasonGap:Ce("gap-xxtight"),trailGap:Ce("gap-xxtight"),itemRadius:Ce("cornerradius-base"),fullRadius:Ce("cornerradius-full"),swatchRadius:Ce("cornerradius-small"),headerPadTop:{First:Ce("padding-xxtight"),"After Separator":Ce("padding-xtight"),Default:Ce("padding-base")},headerPadL:Ce("padding-tight"),headerPadR:Ce("padding-xtight"),headerPadB:Ce("padding-xxtight"),separatorMargin:Ce("padding-xtight"),stripeW:Ce("borderwidth-xthick"),stripeInset:Ce("padding-xtight"),countPadH:Ce("padding-xtight"),statusPadV:Ce("padding-base"),statusPadH:Ce("padding-tight"),statusGap:Ce("gap-xxtight"),offset:8,width:280,minWidth:220,maxWidth:360,maxHeight:440,searchHeight:360,leadBox:20,glyph:18,dot:8,swatch:16,spinner:16,countMin:24,focusWidth:NC("focusring-width"),triggerTarget:Ce("accessibility-touch-target-aa-width"),triggerTargetH:Ce("accessibility-touch-target-aa-height"),triggerGlyph:20,avatarBox:28,buttonPadV:Ce("padding-xtight"),buttonPadH:Ce("padding-tight"),buttonBorder:Ce("borderwidth-base")},qe={label:{fontSize:br("font-size-s"),lineHeight:br("line-height-s-single"),fontWeight:br("weight-medium")},support:{fontSize:br("font-size-xs"),lineHeight:br("line-height-xs-single"),fontWeight:br("weight-regular")},header:{fontSize:br("font-size-xs"),lineHeight:br("line-height-xs-single"),fontWeight:br("weight-semibold"),letterSpacing:br("letter-spacing-wide")}},F3={surface:we("fill-surface-elevated"),overlay:we("scrim-subtle"),handle:we("fill-static-neutral-strong")},Dn={radius:Ce("cornerradius-xlarge"),pillRadius:Ce("cornerradius-full"),maxWidth:640,topClearance:56,handleZone:20,pillWidth:32,pillHeight:4},gr=".pw-menu-item",k9=e=>`${gr}:not([data-disabled]):is(${e})`,P9="[data-hovered],[data-focused],[data-open],[data-force=Hover],[data-force=Focus]",T9="[data-pressed],[data-force=Pressed]",DC=`
|
|
227
|
+
`,X3=!1;function tw(){(0,Pe.useEffect)(()=>{if(X3||typeof document>"u"||document.getElementById("pw-tooltip-css")){X3=!0;return}let e=document.createElement("style");e.id="pw-tooltip-css",e.textContent=ew,document.head.appendChild(e),X3=!0},[])}function Yf(e,t){if(typeof document>"u")return t;let r=parseFloat(getComputedStyle(document.documentElement).getPropertyValue(e));return Number.isFinite(r)?r:t}var ks=(e,t,r)=>Math.min(Math.max(e,t),Math.max(t,r));function Wg(e,t){let r=e;for(;r;){let n=r.closest?.(t);if(n)return n;r=r.getRootNode?.().host||null}return null}function rw(e){let t=Wg(e,"[data-theme]")||document.documentElement,r=Wg(e,"[data-brand]")||document.documentElement;return{theme:t.getAttribute("data-theme")||"light",brand:r.getAttribute("data-brand")}}var Ug=0,Gg=(0,Pe.createContext)(null),nw=(0,Pe.createContext)({arrow:!0});function Zg({children:e,delay:t,skipDelay:r}){return(0,lo.jsx)(Gg.Provider,{value:{delay:t,skipDelay:r},children:e})}function ow(e,t,{side:r,align:n,arrow:o,boundary:i}){let a=e.getBoundingClientRect(),s=t.offsetWidth,l=t.offsetHeight,c=i?i.getBoundingClientRect():{left:0,top:0,right:window.innerWidth,bottom:window.innerHeight},d=Yf(ut.edge,8),u=Yf(ut.offset,4)+(o?ut.arrowH:0),p={top:a.top-u-l>=c.top+d,bottom:a.bottom+u+l<=c.bottom-d,left:a.left-u-s>=c.left+d,right:a.right+u+s<=c.right-d},b={top:"bottom",bottom:"top",left:"right",right:"left"},g=!p[r]&&p[b[r]]?b[r]:r,y=g==="top"||g==="bottom",$,m;y?(m=g==="top"?a.top-u-l:a.bottom+u,$=n==="start"?a.left:n==="end"?a.right-s:a.left+a.width/2-s/2):($=g==="left"?a.left-u-s:a.right+u,m=n==="start"?a.top:n==="end"?a.bottom-l:a.top+a.height/2-l/2);let f=ut.arrowInset+ut.arrowW/2,h=n;if(y){let x=a.left+a.width/2,w=ks(ks($,c.left+d,c.right-d-s),x-(s-f),x-f);Math.abs(w-$)>.5&&(h=w>$?"start":"end"),$=w}else{let x=a.top+a.height/2,w=ks(ks(m,c.top+d,c.bottom-d-l),x-(l-f),x-f);Math.abs(w-m)>.5&&(h=w>m?"start":"end"),m=w}let v=y?ks(a.left+a.width/2-$,f,s-f):ks(a.top+a.height/2-m,f,l-f);return{x:$,y:m,side:g,align:h,along:v}}function iw(e,t){let r=ut.stroke;switch(e){case"bottom":return{top:r,left:t+ut.arrowW/2,transform:"rotate(180deg)"};case"left":return{left:`calc(100% - ${r})`,top:t+ut.arrowW/2,transform:"rotate(-90deg)"};case"right":return{left:r,top:t-ut.arrowW/2,transform:"rotate(90deg)"};default:return{top:`calc(100% - ${r})`,left:t-ut.arrowW/2}}}function co({children:e,content:t,describe:r,purpose:n="description",side:o="top",align:i="center",arrow:a,disabled:s=!1,persistOnPress:l=!1,boundary:c,open:d,onOpenChange:u,manageAria:p=!0}){tw();let b=(0,Pe.useContext)(nw),g=(0,Pe.useContext)(Gg),y=a??b.arrow??!0,$=Et(),m=(0,Pe.useId)(),f=(0,Pe.useRef)(null),h=(0,Pe.useRef)(null),[v,x]=(0,Pe.useState)(!1),[w,P]=(0,Pe.useState)(!1),[k,T]=(0,Pe.useState)(!1),[E,F]=(0,Pe.useState)(!1),[_,I]=(0,Pe.useState)(!1),[C,L]=(0,Pe.useState)(null),[O,M]=(0,Pe.useState)(null),Z=(0,Pe.useRef)(null),R=(0,Pe.useRef)(null),te=(0,Pe.useRef)(null),X=(0,Pe.useRef)(null);(0,Pe.useEffect)(()=>()=>[Z,R,te,X].forEach(Me=>clearTimeout(Me.current)),[]);let K=!s&&!!t&&(d??(k||!E&&(v||w))),j=(0,Pe.useRef)(!1);(0,Pe.useEffect)(()=>{clearTimeout(X.current),K?I(!0):j.current&&(Ug=Date.now(),X.current=setTimeout(()=>{I(!1),L(null)},$?0:Yf("--motion-duration-1",100))),j.current!==K&&u?.(K),j.current=K},[K]),(0,Pe.useEffect)(()=>{if(!K)return;let Me=()=>{let{theme:xn,brand:Ti}=rw(f.current);M({theme:JC[xn]||"dark",brand:Ti})};Me();let wt=typeof MutationObserver<"u"?new MutationObserver(Me):null;return wt?.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme","data-brand"]}),()=>wt?.disconnect()},[K]);let z=(0,Pe.useCallback)(()=>{!f.current||!h.current||L(ow(f.current,h.current,{side:o,align:i,arrow:y,boundary:c}))},[o,i,y,c]);if((0,Pe.useLayoutEffect)(()=>{if(!_)return;z();let Me=()=>z();window.addEventListener("scroll",Me,!0),window.addEventListener("resize",Me);let wt=typeof ResizeObserver<"u"?new ResizeObserver(Me):null;wt&&h.current&&wt.observe(h.current);let xn=0,Ti="",ga=()=>{let As=f.current?.getBoundingClientRect(),_m=As?`${As.left},${As.top},${As.width},${As.height}`:"";_m!==Ti&&(Ti=_m,z()),xn=requestAnimationFrame(ga)};return xn=requestAnimationFrame(ga),()=>{window.removeEventListener("scroll",Me,!0),window.removeEventListener("resize",Me),wt?.disconnect(),cancelAnimationFrame(xn)}},[_,z,t,O]),(0,Pe.useEffect)(()=>{if(!K)return;let Me=xn=>{xn.key==="Escape"&&(F(!0),T(!1))},wt=xn=>{let Ti=ga=>!!ga&&(typeof xn.composedPath=="function"?xn.composedPath().includes(ga):ga.contains(xn.target));!Ti(f.current)&&!Ti(h.current)&&(x(!1),T(!1))};return document.addEventListener("keydown",Me),document.addEventListener("pointerdown",wt),()=>{document.removeEventListener("keydown",Me),document.removeEventListener("pointerdown",wt)}},[K]),s||!t)return e;let N=Pe.default.Children.only(e),ie=typeof N.type=="string"||N.type?.$$typeof===Symbol.for("react.forward_ref")||!!N.type?.prototype?.isReactComponent,J=(Me,wt)=>{ie&&N.props[Me]?.(wt)},Ee=g?.delay??Yf("--motion-duration-4",300),ft=g?.skipDelay??Ee,ce=Me=>{J("onPointerEnter",Me),Me.pointerType!=="touch"&&(clearTimeout(R.current),F(!1),!v&&(Date.now()-Ug<ft?x(!0):(clearTimeout(Z.current),Z.current=setTimeout(()=>x(!0),Ee))))},H=Me=>{J("onPointerLeave",Me),clearTimeout(Z.current),clearTimeout(R.current),R.current=setTimeout(()=>x(!1),ut.bridgeMs)},V=()=>clearTimeout(R.current),de=()=>{clearTimeout(R.current),R.current=setTimeout(()=>x(!1),ut.bridgeMs)},Y=Me=>{J("onFocus",Me);let wt=!0;try{wt=Me.target.matches(":focus-visible")}catch{}wt&&(F(!1),P(!0))},je=Me=>{J("onBlur",Me),P(!1),T(!1)},Le=Me=>{J("onPointerDown",Me),clearTimeout(Z.current),Me.pointerType==="touch"||l?(T(!0),clearTimeout(te.current),te.current=setTimeout(()=>T(!1),ut.tapMs)):(x(!1),F(!0))},Oe=n==="description"?[N.props["aria-describedby"],m].filter(Boolean).join(" "):N.props["aria-describedby"],yn=Me=>{f.current=Me;let wt=N.ref;typeof wt=="function"?wt(Me):wt&&typeof wt=="object"&&(wt.current=Me)},Hr={onPointerEnter:ce,onPointerLeave:H,onPointerDown:Le,onFocus:Y,onBlur:je},ha=p?{"aria-label":n==="label"&&typeof t=="string"?t:N.props["aria-label"],"aria-describedby":Oe||void 0}:{},_t=ie?Pe.default.cloneElement(N,{ref:yn,...Hr,...ha}):(0,lo.jsx)("span",{ref:Me=>{f.current=Me},className:"pw-tooltip__trigger",...Hr,children:Pe.default.cloneElement(N,ha)}),zn=_&&typeof document<"u"?(0,jg.createPortal)((0,lo.jsxs)("div",{ref:h,className:"pw-tooltip",role:"tooltip","aria-hidden":"true","data-state":K?"open":"closed","data-side":C?.side??o,"data-align":C?.align??i,"data-theme":O?.theme,"data-brand":O?.brand||void 0,"data-reduced":$||void 0,onPointerEnter:V,onPointerLeave:de,style:{left:C?C.x:0,top:C?C.y:0,visibility:C?"visible":"hidden"},children:[t,y&&C&&(0,lo.jsx)("span",{className:"pw-tooltip__arrow",style:iw(C.side,C.along)})]}),document.body):null;return(0,lo.jsxs)(lo.Fragment,{children:[_t,p&&n==="description"&&(0,lo.jsx)("span",{id:m,className:"pw-tooltip__sr",hidden:!0,children:r??t}),zn]})}var ne=S(he(),1),ke=e=>`var(--semantic-color-${e})`,Se=e=>`var(--semantic-layout-units-${e})`,aw=e=>`var(--contextual-layout-units-${e})`,Cr=e=>`var(--semantic-type-${e})`,ot=e=>`var(--motion-${e})`;var pe={panel:ke("fill-surface-elevated"),panelBorder:ke("stroke-static-neutral-faint"),slotDivider:ke("stroke-static-neutral-base"),separator:ke("stroke-static-neutral-base"),fillHover:ke("fill-static-neutral-subtle"),fillPressed:ke("fill-static-neutral-base"),fillSelected:ke("fill-action-selection-selected"),fillDangerHover:ke("fill-action-status-negative-subtle-hover"),fillDangerPressed:ke("fill-action-status-negative-subtle-pressed"),stripe:ke("fill-action-primary-strong-pressed"),label:ke("foreground-static-neutral-strong"),labelHover:ke("foreground-static-neutral-bold"),labelDanger:ke("foreground-action-status-negative-on-subtle-rest"),labelDangerHover:ke("foreground-action-status-negative-on-subtle-hover"),labelDangerPressed:ke("foreground-action-status-negative-on-subtle-pressed"),disabled:ke("foreground-action-disabled"),secondary:ke("foreground-static-neutral-subtle"),reason:ke("foreground-static-neutral-base"),check:ke("foreground-action-primary-on-subtle-rest"),countFill:ke("fill-static-neutral-base"),countText:ke("foreground-static-neutral-bold"),countFillDisabled:ke("fill-action-disabled"),swatchEdge:ke("stroke-static-neutral-base"),dot:{positive:ke("fill-static-positive-strong"),attention:ke("fill-static-attention-strong"),negative:ke("fill-static-negative-strong"),neutral:ke("fill-static-neutral-strong")},statusTitle:ke("foreground-static-neutral-bold"),statusBody:ke("foreground-static-neutral-base"),focusRing:ke("stroke-focusring-base"),trigger:ke("foreground-action-secondary-rest"),triggerHover:ke("foreground-action-secondary-hover"),buttonFill:ke("fill-surface-elevated"),buttonFillHover:ke("fill-action-selection-hover"),buttonBorder:ke("stroke-action-secondary-rest"),avatarFill:ke("fill-action-primary-subtle-rest"),avatarText:ke("foreground-action-primary-on-subtle-rest")},G={panelRadius:Se("cornerradius-large"),panelBorder:Se("borderwidth-xthin"),shadow:"var(--elevation-lift)",listPadV:Se("padding-xtight"),listPadH:Se("padding-xxtight"),itemGap:Se("gap-xxxtight"),slotPad:Se("padding-xtight"),footerPad:Se("padding-tight"),footerGap:Se("gap-tight"),itemMinH:Se("accessibility-touch-target-aa-height"),itemPad:Se("padding-tight"),itemContentGap:Se("gap-medium"),leadGroupGap:Se("gap-tight"),textGap:Se("gap-xxxtight"),inlineGap:Se("gap-tight"),badgeGap:Se("gap-xxtight"),reasonGap:Se("gap-xxtight"),trailGap:Se("gap-xxtight"),itemRadius:Se("cornerradius-base"),fullRadius:Se("cornerradius-full"),swatchRadius:Se("cornerradius-small"),headerPadTop:{First:Se("padding-xxtight"),"After Separator":Se("padding-xtight"),Default:Se("padding-base")},headerPadL:Se("padding-tight"),headerPadR:Se("padding-xtight"),headerPadB:Se("padding-xxtight"),separatorMargin:Se("padding-xtight"),stripeW:Se("borderwidth-xthick"),stripeInset:Se("padding-xtight"),countPadH:Se("padding-xtight"),statusPadV:Se("padding-base"),statusPadH:Se("padding-tight"),statusGap:Se("gap-xxtight"),offset:8,width:280,minWidth:220,maxWidth:360,maxHeight:440,searchHeight:360,leadBox:20,glyph:18,dot:8,swatch:16,spinner:16,countMin:24,focusWidth:aw("focusring-width"),triggerTarget:Se("accessibility-touch-target-aa-width"),triggerTargetH:Se("accessibility-touch-target-aa-height"),triggerGlyph:20,avatarBox:28,buttonPadV:Se("padding-xtight"),buttonPadH:Se("padding-tight"),buttonBorder:Se("borderwidth-base")},et={label:{fontSize:Cr("font-size-s"),lineHeight:Cr("line-height-s-single"),fontWeight:Cr("weight-medium")},support:{fontSize:Cr("font-size-xs"),lineHeight:Cr("line-height-xs-single"),fontWeight:Cr("weight-regular")},header:{fontSize:Cr("font-size-xs"),lineHeight:Cr("line-height-xs-single"),fontWeight:Cr("weight-semibold"),letterSpacing:Cr("letter-spacing-wide")}},q3={surface:ke("fill-surface-elevated"),overlay:ke("scrim-subtle"),handle:ke("fill-static-neutral-strong")},Kn={radius:Se("cornerradius-xlarge"),pillRadius:Se("cornerradius-full"),maxWidth:640,topClearance:56,handleZone:20,pillWidth:32,pillHeight:4},xr=".pw-menu-item",Yg=e=>`${xr}:not([data-disabled]):is(${e})`,Xg="[data-hovered],[data-focused],[data-open],[data-force=Hover],[data-force=Focus]",qg="[data-pressed],[data-force=Pressed]",sw=`
|
|
228
228
|
.pw-menu-panel{--trigger-width:0px;--visual-viewport-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;outline:none;
|
|
229
|
-
width:clamp(${
|
|
230
|
-
max-width:min(${
|
|
231
|
-
max-height:min(${
|
|
232
|
-
background:${
|
|
233
|
-
font-family:${
|
|
234
|
-
.pw-menu-panel[data-searchable]{height:${
|
|
229
|
+
width:clamp(${G.minWidth}px,max(${G.width}px,var(--trigger-width,0px)),${G.maxWidth}px);
|
|
230
|
+
max-width:min(${G.maxWidth}px,calc(100vw - 2 * ${Se("padding-tight")}));
|
|
231
|
+
max-height:min(${G.maxHeight}px,var(--visual-viewport-height,100vh));
|
|
232
|
+
background:${pe.panel};border:${G.panelBorder} solid ${pe.panelBorder};border-radius:${G.panelRadius};box-shadow:${G.shadow};
|
|
233
|
+
font-family:${Cr("family-brand")},sans-serif}
|
|
234
|
+
.pw-menu-panel[data-searchable]{height:${G.searchHeight}px}
|
|
235
235
|
/* React Aria stacks the panel at 100000 inline; a truncated label's Tooltip
|
|
236
236
|
(portalled to the body at 1000) has to sit above it. */
|
|
237
237
|
body:has(.pw-menu-panel) .pw-tooltip{z-index:100001}
|
|
238
|
-
.pw-menu-panel[data-entering]{animation:pw-menu-in ${
|
|
238
|
+
.pw-menu-panel[data-entering]{animation:pw-menu-in ${ot("duration-4")} ${ot("easing-decelerate")} both}
|
|
239
239
|
.pw-menu-panel[data-placement=top][data-entering]{animation-name:pw-menu-in-up}
|
|
240
|
-
.pw-menu-panel[data-exiting]{animation:pw-menu-out ${
|
|
240
|
+
.pw-menu-panel[data-exiting]{animation:pw-menu-out ${ot("duration-2")} ${ot("easing-standard")} both}
|
|
241
241
|
@keyframes pw-menu-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
|
|
242
242
|
@keyframes pw-menu-in-up{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
|
|
243
243
|
@keyframes pw-menu-out{from{opacity:1}to{opacity:0}}
|
|
244
244
|
|
|
245
|
-
.pw-menu{display:flex;flex-direction:column;min-height:0;flex:1 1 auto;font-family:${
|
|
246
|
-
.pw-menu--static{box-sizing:border-box;width:${
|
|
247
|
-
border:${
|
|
245
|
+
.pw-menu{display:flex;flex-direction:column;min-height:0;flex:1 1 auto;font-family:${Cr("family-brand")},sans-serif}
|
|
246
|
+
.pw-menu--static{box-sizing:border-box;width:${G.width}px;max-width:100%;background:${pe.panel};
|
|
247
|
+
border:${G.panelBorder} solid ${pe.panelBorder};border-radius:${G.panelRadius};box-shadow:${G.shadow};overflow:hidden}
|
|
248
248
|
.pw-menu--bare{width:100%}
|
|
249
|
-
.pw-menu__header{flex:none;padding:${
|
|
250
|
-
.pw-menu__footer{flex:none;display:flex;justify-content:flex-end;gap:${
|
|
251
|
-
padding:${
|
|
249
|
+
.pw-menu__header{flex:none;padding:${G.slotPad};border-bottom:${G.panelBorder} solid ${pe.slotDivider}}
|
|
250
|
+
.pw-menu__footer{flex:none;display:flex;justify-content:flex-end;gap:${G.footerGap};
|
|
251
|
+
padding:${G.slotPad} ${G.footerPad} ${G.footerPad};border-top:${G.panelBorder} solid ${pe.slotDivider}}
|
|
252
252
|
.pw-menu__scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
|
|
253
|
-
.pw-menu__list{display:flex;flex-direction:column;gap:${
|
|
253
|
+
.pw-menu__list{display:flex;flex-direction:column;gap:${G.itemGap};padding:${G.listPadV} ${G.listPadH};outline:none}
|
|
254
254
|
.pw-menu--bare .pw-menu__list{padding:0}
|
|
255
|
-
.pw-menu__list[data-empty]:focus-visible{outline:${
|
|
255
|
+
.pw-menu__list[data-empty]:focus-visible{outline:${G.focusWidth} solid ${pe.focusRing};outline-offset:calc(-1 * ${G.focusWidth});border-radius:${G.panelRadius}}
|
|
256
256
|
|
|
257
|
-
${
|
|
258
|
-
min-height:${
|
|
259
|
-
color:${
|
|
257
|
+
${xr}{position:relative;display:flex;align-items:flex-start;gap:${G.itemContentGap};box-sizing:border-box;
|
|
258
|
+
min-height:${G.itemMinH};padding:${G.itemPad};border-radius:${G.itemRadius};
|
|
259
|
+
color:${pe.label};font-size:${et.label.fontSize};line-height:${et.label.lineHeight};font-weight:${et.label.fontWeight};letter-spacing:normal;
|
|
260
260
|
cursor:pointer;outline:none;text-decoration:none;-webkit-tap-highlight-color:transparent;
|
|
261
|
-
transition:background-color ${
|
|
262
|
-
${
|
|
263
|
-
${
|
|
264
|
-
${
|
|
265
|
-
${
|
|
266
|
-
${
|
|
267
|
-
${
|
|
268
|
-
${
|
|
269
|
-
${
|
|
270
|
-
${
|
|
271
|
-
|
|
272
|
-
.pw-menu-item__lead-group{flex:none;display:inline-flex;align-items:center;gap:${
|
|
273
|
-
.pw-menu-item__lead{flex:none;width:${
|
|
274
|
-
.pw-menu-item__lead .material-symbols-rounded,.pw-menu-item__trail .material-symbols-rounded{font-size:${
|
|
275
|
-
.pw-menu-item__check{color:${
|
|
276
|
-
${
|
|
261
|
+
transition:background-color ${ot("duration-2")} ${ot("easing-standard")},color ${ot("duration-2")} ${ot("easing-standard")}}
|
|
262
|
+
${Yg(Xg)}{background:${pe.fillHover};color:${pe.labelHover}}
|
|
263
|
+
${Yg(qg)}{background:${pe.fillPressed};color:${pe.label}}
|
|
264
|
+
${xr}:not([data-disabled]):is([data-selected],[data-current]){background:${pe.fillSelected};color:${pe.label}}
|
|
265
|
+
${xr}:is([data-focus-visible],[data-force=Focus]){outline:${G.focusWidth} solid ${pe.focusRing};outline-offset:calc(-1 * ${G.focusWidth})}
|
|
266
|
+
${xr}[role=option][data-focused][data-hovered]:not([data-focus-visible]){outline:none}
|
|
267
|
+
${xr}[data-tone=Destructive]{color:${pe.labelDanger}}
|
|
268
|
+
${xr}[data-tone=Destructive]:not([data-disabled]):is(${Xg}){background:${pe.fillDangerHover};color:${pe.labelDangerHover}}
|
|
269
|
+
${xr}[data-tone=Destructive]:not([data-disabled]):is(${qg}){background:${pe.fillDangerPressed};color:${pe.labelDangerPressed}}
|
|
270
|
+
${xr}[data-disabled]{color:${pe.disabled};background:transparent;cursor:default}
|
|
271
|
+
|
|
272
|
+
.pw-menu-item__lead-group{flex:none;display:inline-flex;align-items:center;gap:${G.leadGroupGap};min-height:${et.label.lineHeight}}
|
|
273
|
+
.pw-menu-item__lead{flex:none;width:${G.leadBox}px;height:${G.leadBox}px;display:inline-flex;align-items:center;justify-content:center}
|
|
274
|
+
.pw-menu-item__lead .material-symbols-rounded,.pw-menu-item__trail .material-symbols-rounded{font-size:${G.glyph}px}
|
|
275
|
+
.pw-menu-item__check{color:${pe.check}}
|
|
276
|
+
${xr}[data-disabled] .pw-menu-item__check{color:${pe.disabled}}
|
|
277
277
|
.pw-menu-item__lead--hidden{visibility:hidden}
|
|
278
278
|
.pw-menu-item__control{overflow:hidden}
|
|
279
279
|
.pw-menu-item__control > *{flex:none;pointer-events:none}
|
|
280
280
|
.pw-menu-item__lead--avatar{width:auto;height:auto}
|
|
281
|
-
.pw-menu-item__dot{width:${
|
|
282
|
-
.pw-menu-item__swatch{box-sizing:border-box;width:${
|
|
281
|
+
.pw-menu-item__dot{width:${G.dot}px;height:${G.dot}px;border-radius:${G.fullRadius}}
|
|
282
|
+
.pw-menu-item__swatch{box-sizing:border-box;width:${G.swatch}px;height:${G.swatch}px;border-radius:${G.swatchRadius};border:${G.panelBorder} solid ${pe.swatchEdge}}
|
|
283
283
|
|
|
284
|
-
.pw-menu-item__text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:${
|
|
285
|
-
.pw-menu-item__text[data-inline]{flex-direction:row;align-items:baseline;gap:${
|
|
286
|
-
.pw-menu-item__label-row{display:flex;align-items:center;gap:${
|
|
284
|
+
.pw-menu-item__text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:${G.textGap}}
|
|
285
|
+
.pw-menu-item__text[data-inline]{flex-direction:row;align-items:baseline;gap:${G.inlineGap}}
|
|
286
|
+
.pw-menu-item__label-row{display:flex;align-items:center;gap:${G.badgeGap};min-width:0}
|
|
287
287
|
.pw-menu-item__label{display:block;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
288
288
|
.pw-menu-item__label-row > :not(.pw-menu-item__label){flex:none}
|
|
289
|
-
.pw-menu-item__desc{font-size:${
|
|
290
|
-
color:${
|
|
289
|
+
.pw-menu-item__desc{font-size:${et.support.fontSize};line-height:${et.support.lineHeight};font-weight:${et.support.fontWeight};
|
|
290
|
+
color:${pe.secondary};overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
|
|
291
291
|
.pw-menu-item__text[data-inline] .pw-menu-item__desc{flex:0 1 auto;display:block;white-space:nowrap;text-overflow:ellipsis}
|
|
292
|
-
.pw-menu-item__reason{display:flex;align-items:center;gap:${
|
|
293
|
-
font-size:${
|
|
294
|
-
.pw-menu-item__reason .material-symbols-rounded{font-size:${
|
|
295
|
-
${
|
|
292
|
+
.pw-menu-item__reason{display:flex;align-items:center;gap:${G.reasonGap};color:${pe.reason};
|
|
293
|
+
font-size:${et.support.fontSize};line-height:${et.support.lineHeight};font-weight:${et.support.fontWeight}}
|
|
294
|
+
.pw-menu-item__reason .material-symbols-rounded{font-size:${G.spinner}px}
|
|
295
|
+
${xr}[data-disabled] .pw-menu-item__desc{color:${pe.disabled}}
|
|
296
296
|
|
|
297
|
-
.pw-menu-item__trail{flex:none;display:inline-flex;align-items:center;gap:${
|
|
298
|
-
color:${
|
|
297
|
+
.pw-menu-item__trail{flex:none;display:inline-flex;align-items:center;gap:${G.trailGap};margin-left:auto;min-height:${et.label.lineHeight};
|
|
298
|
+
color:${pe.secondary};font-size:${et.support.fontSize};line-height:${et.support.lineHeight};font-weight:${et.support.fontWeight};font-variant-numeric:tabular-nums}
|
|
299
299
|
.pw-menu-item__kbd{font-family:inherit;font-size:inherit}
|
|
300
|
-
.pw-menu-item__count{box-sizing:border-box;min-width:${
|
|
301
|
-
background:${
|
|
302
|
-
${
|
|
303
|
-
${
|
|
304
|
-
${
|
|
305
|
-
|
|
306
|
-
.pw-menu-item__stripe{position:absolute;left:0;top:${
|
|
307
|
-
border-radius:0 ${
|
|
308
|
-
${
|
|
309
|
-
|
|
310
|
-
.pw-menu-section{display:flex;flex-direction:column;gap:${
|
|
311
|
-
.pw-menu-section__header{padding:${
|
|
312
|
-
font-size:${
|
|
313
|
-
.pw-menu__list > .pw-menu-section:first-child > .pw-menu-section__header,.pw-menu-section__header[data-position=First]{padding-top:${
|
|
314
|
-
.pw-menu-separator + .pw-menu-section > .pw-menu-section__header,.pw-menu-section__header[data-position="After Separator"]{padding-top:${
|
|
315
|
-
.pw-menu-separator{height:0;border:0;border-top:${
|
|
316
|
-
|
|
317
|
-
.pw-menu-status{display:flex;flex-direction:column;align-items:flex-start;gap:${
|
|
318
|
-
color:${
|
|
319
|
-
.pw-menu-status__row{display:flex;align-items:center;gap:${
|
|
320
|
-
.pw-menu-status__title{color:${
|
|
321
|
-
.pw-menu-status__body{font-size:${
|
|
300
|
+
.pw-menu-item__count{box-sizing:border-box;min-width:${G.countMin}px;text-align:center;padding:0 ${G.countPadH};border-radius:${G.fullRadius};
|
|
301
|
+
background:${pe.countFill};color:${pe.countText}}
|
|
302
|
+
${xr}[data-selected] .pw-menu-item__count{background:${pe.panel}}
|
|
303
|
+
${xr}[data-disabled] .pw-menu-item__trail{color:${pe.disabled}}
|
|
304
|
+
${xr}[data-disabled] .pw-menu-item__count{background:${pe.countFillDisabled};color:${pe.disabled}}
|
|
305
|
+
|
|
306
|
+
.pw-menu-item__stripe{position:absolute;left:0;top:${G.stripeInset};bottom:${G.stripeInset};width:${G.stripeW};
|
|
307
|
+
border-radius:0 ${G.itemRadius} ${G.itemRadius} 0;background:transparent}
|
|
308
|
+
${xr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${pe.stripe}}
|
|
309
|
+
|
|
310
|
+
.pw-menu-section{display:flex;flex-direction:column;gap:${G.itemGap}}
|
|
311
|
+
.pw-menu-section__header{padding:${G.headerPadTop.Default} ${G.headerPadR} ${G.headerPadB} ${G.headerPadL};color:${pe.secondary};
|
|
312
|
+
font-size:${et.header.fontSize};line-height:${et.header.lineHeight};font-weight:${et.header.fontWeight};letter-spacing:${et.header.letterSpacing}}
|
|
313
|
+
.pw-menu__list > .pw-menu-section:first-child > .pw-menu-section__header,.pw-menu-section__header[data-position=First]{padding-top:${G.headerPadTop.First}}
|
|
314
|
+
.pw-menu-separator + .pw-menu-section > .pw-menu-section__header,.pw-menu-section__header[data-position="After Separator"]{padding-top:${G.headerPadTop["After Separator"]}}
|
|
315
|
+
.pw-menu-separator{height:0;border:0;border-top:${G.panelBorder} solid ${pe.separator};margin:${G.separatorMargin}}
|
|
316
|
+
|
|
317
|
+
.pw-menu-status{display:flex;flex-direction:column;align-items:flex-start;gap:${G.statusGap};padding:${G.statusPadV} ${G.statusPadH};
|
|
318
|
+
color:${pe.statusBody};font-size:${et.label.fontSize};line-height:${et.label.lineHeight};font-weight:${Cr("weight-regular")}}
|
|
319
|
+
.pw-menu-status__row{display:flex;align-items:center;gap:${G.leadGroupGap}}
|
|
320
|
+
.pw-menu-status__title{color:${pe.statusTitle};font-weight:${et.label.fontWeight}}
|
|
321
|
+
.pw-menu-status__body{font-size:${et.support.fontSize};line-height:${et.support.lineHeight}}
|
|
322
322
|
|
|
323
323
|
.pw-menu-trigger{position:relative;display:inline-flex}
|
|
324
324
|
.pw-menu-trigger__icon,.pw-menu-trigger__button,.pw-menu-trigger__avatar{font-family:inherit;cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;
|
|
325
|
-
transition:color ${
|
|
326
|
-
.pw-menu-trigger__icon{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:0;border:0;background:transparent;color:${
|
|
327
|
-
.pw-menu-trigger__icon:is(:hover,[aria-expanded=true]){color:${
|
|
328
|
-
.pw-menu-trigger__button{display:inline-flex;align-items:center;gap:${
|
|
329
|
-
background:${
|
|
330
|
-
font-size:${
|
|
331
|
-
.pw-menu-trigger__button:hover{background:${
|
|
332
|
-
.pw-menu-trigger__avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:${
|
|
333
|
-
border:0;border-radius:${
|
|
334
|
-
.pw-menu-trigger :is(.pw-menu-trigger__icon,.pw-menu-trigger__button,.pw-menu-trigger__avatar):focus-visible{outline:${
|
|
335
|
-
|
|
336
|
-
/*
|
|
337
|
-
|
|
338
|
-
approved demo draws it. The scrim is a spread shadow, so a press outside
|
|
325
|
+
transition:color ${ot("duration-2")} ${ot("easing-standard")},background-color ${ot("duration-2")} ${ot("easing-standard")}}
|
|
326
|
+
.pw-menu-trigger__icon{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:0;border:0;background:transparent;color:${pe.trigger}}
|
|
327
|
+
.pw-menu-trigger__icon:is(:hover,[aria-expanded=true]){color:${pe.triggerHover}}
|
|
328
|
+
.pw-menu-trigger__button{display:inline-flex;align-items:center;gap:${G.badgeGap};white-space:nowrap;box-sizing:border-box;min-height:${G.triggerTargetH};padding:${G.buttonPadV} ${G.buttonPadH};
|
|
329
|
+
background:${pe.buttonFill};border:${G.buttonBorder} solid ${pe.buttonBorder};border-radius:${G.itemRadius};color:${pe.trigger};
|
|
330
|
+
font-size:${et.label.fontSize};line-height:${et.label.lineHeight}}
|
|
331
|
+
.pw-menu-trigger__button:hover{background:${pe.buttonFillHover}}
|
|
332
|
+
.pw-menu-trigger__avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:${G.avatarBox}px;height:${G.avatarBox}px;
|
|
333
|
+
border:0;border-radius:${G.itemRadius};background:${pe.avatarFill};color:${pe.avatarText};font-size:${Cr("font-size-xxs")};font-weight:${Cr("weight-semibold")}}
|
|
334
|
+
.pw-menu-trigger :is(.pw-menu-trigger__icon,.pw-menu-trigger__button,.pw-menu-trigger__avatar):focus-visible{outline:${G.focusWidth} solid ${pe.focusRing}}
|
|
335
|
+
|
|
336
|
+
/* Below 768 the panel opens as a bottom sheet from the BottomSheet tokens, the
|
|
337
|
+
way the approved demo draws it (smallScreen="float" keeps it floating). The scrim is a spread shadow, so a press outside
|
|
339
338
|
still reaches the page and closes the menu. */
|
|
340
339
|
@media (max-width: 767px){
|
|
341
340
|
.pw-menu-panel[data-small-screen=sheet]{position:fixed !important;top:auto !important;bottom:0 !important;left:0 !important;right:0 !important;
|
|
342
|
-
width:auto;max-width:${
|
|
343
|
-
padding-top:${
|
|
344
|
-
background:${
|
|
345
|
-
.pw-menu-panel[data-small-screen=sheet]::before{content:"";position:absolute;top:${(
|
|
346
|
-
width:${
|
|
347
|
-
.pw-menu-panel[data-small-screen=sheet][data-entering],.pw-menu-panel[data-small-screen=sheet][data-placement=top][data-entering]{animation:pw-menu-sheet-in ${
|
|
348
|
-
.pw-menu-panel[data-small-screen=sheet][data-exiting]{animation:pw-menu-sheet-out ${
|
|
341
|
+
width:auto;max-width:${Kn.maxWidth}px;margin:0 auto;max-height:calc(var(--visual-viewport-height,100vh) - ${Kn.topClearance}px) !important;
|
|
342
|
+
padding-top:${Kn.handleZone}px;padding-bottom:env(safe-area-inset-bottom,0);
|
|
343
|
+
background:${q3.surface};border-bottom:0;border-radius:${Kn.radius} ${Kn.radius} 0 0;box-shadow:0 0 0 100vmax ${q3.overlay}}
|
|
344
|
+
.pw-menu-panel[data-small-screen=sheet]::before{content:"";position:absolute;top:${(Kn.handleZone-Kn.pillHeight)/2}px;left:50%;
|
|
345
|
+
width:${Kn.pillWidth}px;height:${Kn.pillHeight}px;margin-left:-${Kn.pillWidth/2}px;border-radius:${Kn.pillRadius};background:${q3.handle}}
|
|
346
|
+
.pw-menu-panel[data-small-screen=sheet][data-entering],.pw-menu-panel[data-small-screen=sheet][data-placement=top][data-entering]{animation:pw-menu-sheet-in ${ot("duration-5")} ${ot("easing-emphasized")} both}
|
|
347
|
+
.pw-menu-panel[data-small-screen=sheet][data-exiting]{animation:pw-menu-sheet-out ${ot("duration-4")} ${ot("easing-accelerate")} both}
|
|
349
348
|
@keyframes pw-menu-sheet-in{from{transform:translateY(100%)}to{transform:none}}
|
|
350
349
|
@keyframes pw-menu-sheet-out{from{transform:none}to{transform:translateY(100%)}}
|
|
351
350
|
}
|
|
352
351
|
|
|
353
352
|
@media (prefers-reduced-motion: reduce){
|
|
354
|
-
.pw-menu-panel[data-small-screen=sheet][data-entering],.pw-menu-panel[data-small-screen=sheet][data-placement=top][data-entering]{animation:pw-menu-fade ${
|
|
355
|
-
.pw-menu-panel[data-small-screen=sheet][data-exiting]{animation:pw-menu-out ${
|
|
356
|
-
.pw-menu-panel[data-entering],.pw-menu-panel[data-placement=top][data-entering]{animation:pw-menu-fade ${
|
|
357
|
-
.pw-menu-panel[data-exiting]{animation:pw-menu-out ${
|
|
353
|
+
.pw-menu-panel[data-small-screen=sheet][data-entering],.pw-menu-panel[data-small-screen=sheet][data-placement=top][data-entering]{animation:pw-menu-fade ${ot("duration-2")} ${ot("easing-standard")} both}
|
|
354
|
+
.pw-menu-panel[data-small-screen=sheet][data-exiting]{animation:pw-menu-out ${ot("duration-2")} ${ot("easing-standard")} both}
|
|
355
|
+
.pw-menu-panel[data-entering],.pw-menu-panel[data-placement=top][data-entering]{animation:pw-menu-fade ${ot("duration-2")} ${ot("easing-standard")} both}
|
|
356
|
+
.pw-menu-panel[data-exiting]{animation:pw-menu-out ${ot("duration-2")} ${ot("easing-standard")} both}
|
|
358
357
|
@keyframes pw-menu-fade{from{opacity:0}to{opacity:1}}
|
|
359
358
|
}
|
|
360
|
-
`,H3=!1;function A3(){(0,_t.useEffect)(()=>{if(H3||typeof document>"u"||document.getElementById("pw-popover-menu-css")){H3=!0;return}let e=document.createElement("style");e.id="pw-popover-menu-css",e.textContent=DC,document.head.appendChild(e),H3=!0},[])}var R9=(e,t)=>typeof document<"u"&&parseFloat(getComputedStyle(document.documentElement).getPropertyValue(e))||t,FC=()=>R9("--motion-duration-3",200),_9=(0,_t.createContext)("actions"),O3=(0,_t.createContext)(null);function HC({leading:e,loading:t,disabled:r}){if(t)return(0,re.jsx)("span",{className:"pw-menu-item__lead",children:(0,re.jsx)(p9,{size:j.spinner,label:"Loading"})});if(!e)return null;let n=typeof e=="string"?{type:"icon",name:e}:e;return n.type==="icon"?(0,re.jsx)("span",{className:"pw-menu-item__lead",children:(0,re.jsx)(Ee,{name:n.name,size:j.glyph})}):n.type==="dot"?(0,re.jsx)("span",{className:"pw-menu-item__lead",children:(0,re.jsx)("span",{className:"pw-menu-item__dot",style:{background:r?fe.disabled:fe.dot[n.tone]||fe.dot.neutral}})}):n.type==="avatar"?(0,re.jsx)("span",{className:"pw-menu-item__lead pw-menu-item__lead--avatar","aria-hidden":"true",children:(0,re.jsx)($s,{size:n.size||"M",shape:"Circle",src:n.src,text:n.initials||I3(n.name||"")})}):n.type==="swatch"?(0,re.jsx)("span",{className:"pw-menu-item__lead",children:(0,re.jsx)("span",{className:"pw-menu-item__swatch",style:{background:n.color}})}):null}var AC=(e,t=99)=>e>t?`${t}+`:String(e);function OC({trailing:e,hasSubmenu:t}){if(t)return(0,re.jsx)("span",{className:"pw-menu-item__trail",children:(0,re.jsx)(Ee,{name:"chevron_right",size:j.glyph})});if(!e)return null;let r=e;return r.type==="shortcut"?(0,re.jsx)("span",{className:"pw-menu-item__trail",children:(0,re.jsx)(m3,{className:"pw-menu-item__kbd",children:r.keys})}):r.type==="text"?(0,re.jsx)("span",{className:"pw-menu-item__trail",children:r.text}):r.type==="count"?(0,re.jsx)("span",{className:"pw-menu-item__trail",children:(0,re.jsx)("span",{className:"pw-menu-item__count",children:AC(r.count)})}):r.type==="chevron"?(0,re.jsx)("span",{className:"pw-menu-item__trail",children:(0,re.jsx)(Ee,{name:"chevron_right",size:j.glyph})}):r.type==="icon"?(0,re.jsx)("span",{className:"pw-menu-item__trail",children:(0,re.jsx)(Ee,{name:r.name,size:j.glyph})}):null}function L9({label:e,s:t}){let r=(0,_t.useRef)(null),[n,o]=(0,_t.useState)(!1),[a,i]=(0,_t.useState)(!1),s=!!(t.isHovered||t.isFocusVisible);(0,_t.useEffect)(()=>{let c=r.current;o(!!c&&c.scrollWidth>c.clientWidth+1)},[s,e]),(0,_t.useEffect)(()=>{if(!t.isHovered){i(!1);return}let c=setTimeout(()=>i(!0),R9("--motion-duration-4",300));return()=>clearTimeout(c)},[t.isHovered]);let l=n&&typeof e=="string"&&(!!t.isFocusVisible||a);return(0,re.jsx)(ni,{content:typeof e=="string"?e:void 0,open:l,manageAria:!1,align:"start",children:(0,re.jsx)("span",{ref:r,className:"pw-menu-item__label",children:e})})}function zC({p:e,s:t}){let r=e.indicator||"none",n=!!t.isSelected,o=!!t.isDisabled,a=!!e.inlineText;return(0,re.jsxs)(re.Fragment,{children:[r==="stripe"&&(0,re.jsx)("span",{className:"pw-menu-item__stripe","aria-hidden":"true"}),(r==="check-start"||r==="radio"||r==="checkbox"||e.leading||e.loading)&&(0,re.jsxs)("span",{className:"pw-menu-item__lead-group",children:[r==="check-start"&&(0,re.jsx)("span",{className:`pw-menu-item__lead${n?"":" pw-menu-item__lead--hidden"}`,children:(0,re.jsx)(Ee,{name:"check",size:j.glyph,className:"pw-menu-item__check"})}),r==="radio"&&(0,re.jsx)("span",{className:"pw-menu-item__lead pw-menu-item__control",inert:"","aria-hidden":"true",children:(0,re.jsx)(l9,{selected:n,disabled:o})}),r==="checkbox"&&(0,re.jsx)("span",{className:"pw-menu-item__lead pw-menu-item__control",inert:"","aria-hidden":"true",children:(0,re.jsx)(_f,{checked:n,indeterminate:!!e.mixed,disabled:o,size:"s"})}),(0,re.jsx)(HC,{leading:e.leading,loading:e.loading,disabled:o})]}),(0,re.jsxs)("span",{className:"pw-menu-item__text","data-inline":a||void 0,children:[e.badges&&e.badges.length?(0,re.jsxs)("span",{className:"pw-menu-item__label-row",children:[(0,re.jsx)(L9,{label:e.label,s:t}),e.badges.map(i=>(0,re.jsx)(Nf,{label:i.label,status:i.status||"Neutral",size:"Medium",badgeStyle:"Outline & Fill"},i.label))]}):(0,re.jsx)(L9,{label:e.label,s:t}),a?(0,re.jsx)("span",{className:"pw-menu-item__desc",children:e.inlineText}):e.description?(0,re.jsx)("span",{className:"pw-menu-item__desc",children:e.description}):null,e.reason&&(0,re.jsxs)("span",{className:"pw-menu-item__reason",children:[(0,re.jsx)(Ee,{name:"info",size:j.spinner}),e.reason]})]}),(0,re.jsx)(OC,{trailing:e.trailing,hasSubmenu:t.hasSubmenu}),r==="check"&&n&&(0,re.jsx)("span",{className:"pw-menu-item__trail",children:(0,re.jsx)(Ee,{name:"check",size:j.glyph,className:"pw-menu-item__check"})})]})}function M9({id:e,label:t,description:r,inlineText:n,reason:o,indicator:a="none",leading:i,trailing:s,badges:l,tone:c="Default",disabled:d=!1,loading:u=!1,mixed:p=!1,current:b=!1,selected:g=!1,closeOnAction:y,onAction:$,href:m,textValue:f,forceState:h}){A3();let v=(0,_t.useContext)(_9),x=(0,_t.useContext)(O3),w={label:t,description:r,inlineText:n,reason:o,indicator:a,leading:i,trailing:s,badges:l,loading:u,mixed:p,selected:g},k={id:e??t,textValue:f||t,isDisabled:!!(d||o),className:"pw-menu-item","data-tone":c,"data-current":b||w.selected||void 0,"data-force":h,"aria-current":b?"page":void 0},T=E=>(0,re.jsx)(zC,{p:w,s:{...E,isSelected:E.isSelected||!!w.selected}});return v==="options"?(0,re.jsx)(x2,{...k,href:m,children:T}):(0,re.jsx)(w3,{...k,href:m,target:m&&/^https?:/.test(m)?"_blank":void 0,shouldCloseOnSelect:y,onAction:()=>{$?.(),y!==!1&&x?.()},children:T})}function z3({mode:e="actions",label:t,header:r,footer:n,emptyState:o,maxHeight:a,framed:i=!1,bare:s=!1,className:l="",children:c,...d}){A3();let u=e==="options"?y2:C3,p={...d,escapeKeyBehavior:d.escapeKeyBehavior??"none"};return(0,re.jsx)(_9.Provider,{value:e,children:(0,re.jsxs)("div",{className:`pw-menu${i?" pw-menu--static":""}${s?" pw-menu--bare":""}${l?` ${l}`:""}`,children:[r&&(0,re.jsx)("div",{className:"pw-menu__header",children:r}),(0,re.jsx)("div",{className:"pw-menu__scroll",style:a?{maxHeight:a}:void 0,children:(0,re.jsx)(u,{"aria-label":t,className:"pw-menu__list",renderEmptyState:o?()=>o:void 0,...p,children:c})}),n&&(0,re.jsx)("div",{className:"pw-menu__footer",children:n})]})})}function I9({type:e="icon",label:t,text:r,initials:n,icon:o="more_vert",iconStyle:a="bare",renderTrigger:i,align:s="end",open:l,defaultOpen:c,onOpenChange:d,mode:u="actions",selectionMode:p,selectedKeys:b,defaultSelectedKeys:g,onSelectionChange:y,onAction:$,header:m,footer:f,emptyState:h,searchable:v=!1,smallScreen:x="float",maxHeight:w,className:P="",style:k,children:T}){A3();let E=ms({isOpen:l,defaultOpen:c,onOpenChange:d}),F=(0,_t.useRef)(null),R=`pwmenu${(0,_t.useId)().replace(/[^a-zA-Z0-9]/g,"")}`,[_,C]=(0,_t.useState)(!1),L=()=>setTimeout(()=>E.close(),FC()),z=X=>{$?.(X),p!=="multiple"&&L()},N=X=>{y?.(X),p!=="multiple"&&u==="options"&&L()},Z={id:R,"aria-haspopup":u==="options"?"listbox":"menu","aria-expanded":E.isOpen,onClick:()=>E.toggle(null),onKeyDown:X=>{E.isOpen||(X.key==="ArrowDown"||X.key==="ArrowUp")&&(X.preventDefault(),E.open(X.key==="ArrowDown"?"first":"last"))}},I;i?I=i({...Z,"aria-label":t,title:t}):e==="button"?I=(0,re.jsxs)("button",{type:"button",className:"pw-menu-trigger__button",...Z,"aria-label":r?void 0:t,children:[r,(0,re.jsx)(Ee,{name:E.isOpen?"expand_less":"expand_more",size:16})]}):e==="avatar"?I=(0,re.jsx)("button",{type:"button",className:"pw-menu-trigger__avatar",...Z,"aria-label":t,children:n}):a==="action"?I=(0,re.jsx)(Qo,{name:o,size:"Medium",label:t,...Z}):I=(0,re.jsx)("button",{type:"button",className:"pw-menu-trigger__icon",...Z,"aria-label":t,title:t,style:{width:j.triggerTarget,height:j.triggerTarget},children:(0,re.jsx)(Ee,{name:o,size:j.triggerGlyph})});let te=(0,re.jsx)(z3,{mode:u,label:t,selectionMode:p,selectedKeys:b,defaultSelectedKeys:g,onSelectionChange:N,onAction:u==="options"?void 0:z,autoFocus:u==="options"?E.focusStrategy==="last"?"last":!0:void 0,shouldFocusWrap:!0,header:m,footer:f,emptyState:h,maxHeight:w,children:T});return(0,re.jsxs)("span",{ref:F,className:`pw-menu-trigger ${P}`,"data-open":E.isOpen||void 0,onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1),"data-hovered":_||void 0,style:k,children:[I,(0,re.jsx)(nn,{values:[[Tf,{"aria-labelledby":t?void 0:R,autoFocus:E.focusStrategy||!0,onClose:E.close,shouldCloseOnSelect:!1}],[Sc,E],[Ec,E],[wc,{trigger:"MenuTrigger",triggerRef:F,placement:`bottom ${s}`}]],children:(0,re.jsx)(p3,{className:"pw-menu-panel",offset:j.offset,"data-searchable":v||void 0,"data-small-screen":x==="sheet"?"sheet":void 0,children:te})})]})}var bt=S($e(),1),Mc=e=>`var(--semantic-color-${e})`,$r=e=>`var(--semantic-layout-units-${e})`,Ic=e=>`var(--semantic-type-${e})`,to=e=>`var(--motion-${e})`,xs={surface:Mc("fill-surface-elevated"),overlay:Mc("scrim-subtle"),handle:Mc("fill-static-neutral-strong"),title:Mc("foreground-static-neutral-strong"),footerBorder:Mc("stroke-static-neutral-faint"),shadow:"var(--elevation-sheet)"},Be={radius:$r("cornerradius-xlarge"),sheetGap:$r("gap-tight"),maxWidth:640,topClearance:56,handleZone:20,pillWidth:32,pillHeight:4,pillRadius:$r("cornerradius-full"),headerMinH:$r("accessibility-touch-target-aa-height"),headerPadTop:$r("padding-xtight"),headerPadX:$r("padding-xxxxtight"),headerPadBottom:$r("padding-xxxtight"),headerGap:$r("gap-xxtight"),titleInset:$r("padding-base"),bodyPad:$r("padding-xtight"),bodyGap:$r("gap-xxtight"),footerBorder:$r("borderwidth-base"),footerPadTop:$r("padding-tight"),footerPad:$r("padding-base"),footerGap:$r("gap-tight"),dismissDistance:80,flickSpeed:.5},BC={title:{fontFamily:Ic("family-brand"),fontSize:Ic("font-size-s"),fontWeight:Ic("weight-semibold"),lineHeight:Ic("line-height-s-tight"),letterSpacing:Ic("letter-spacing-wide")}},oi={enter:`pw-bottom-sheet-up ${to("duration-5")} ${to("easing-emphasized")} both`,exit:`pw-bottom-sheet-down ${to("duration-4")} ${to("easing-accelerate")} both`,fadeIn:`pw-bottom-sheet-fade-in ${to("duration-4")} ${to("easing-standard")} both`,fadeOut:`pw-bottom-sheet-fade-out ${to("duration-4")} ${to("easing-standard")} both`,settle:`transform ${to("duration-4")} ${to("easing-decelerate")}`},KC="@keyframes pw-bottom-sheet-up{from{transform:translateY(100%)}to{transform:none}}@keyframes pw-bottom-sheet-down{from{transform:none}to{transform:translateY(100%)}}@keyframes pw-bottom-sheet-fade-in{from{opacity:0}to{opacity:1}}@keyframes pw-bottom-sheet-fade-out{from{opacity:1}to{opacity:0}}.pw-bottom-sheet__body{scrollbar-width:thin}";function VC(){(0,rt.useLayoutEffect)(()=>{if(typeof document>"u"||document.getElementById("pw-bottom-sheet-css"))return;let e=document.createElement("style");e.id="pw-bottom-sheet-css",e.textContent=KC,document.head.appendChild(e)},[])}var N9='button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',WC=':is([role="menuitem"], [role="menuitemradio"], [role="menuitemcheckbox"]):not([aria-disabled="true"])';function UC(){return(0,bt.jsx)("div",{"aria-hidden":"true","data-part":"handle",style:{height:Be.handleZone,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,bt.jsx)("div",{style:{width:Be.pillWidth,height:Be.pillHeight,borderRadius:Be.pillRadius,background:xs.handle}})})}function jC({title:e,titleId:t,titleRef:r,showBack:n=!1,onBack:o,onClose:a,backLabel:i="Back",closeLabel:s="Close"}){return(0,bt.jsxs)("div",{"data-part":"header",style:{display:"flex",alignItems:"center",gap:Be.headerGap,minHeight:Be.headerMinH,boxSizing:"border-box",padding:`${Be.headerPadTop} ${Be.headerPadX} ${Be.headerPadBottom}`},children:[n&&(0,bt.jsx)(Qo,{name:"arrow_back",size:"Medium",label:i,onClick:o}),(0,bt.jsx)("div",{style:{flex:1,minWidth:0,paddingLeft:Be.titleInset},children:(0,bt.jsx)("h2",{id:t,ref:r,tabIndex:-1,style:{margin:0,outline:"none",color:xs.title,...BC.title,overflowWrap:"anywhere",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:e})}),(0,bt.jsx)(Qo,{name:"close",size:"Medium",label:s,onClick:a})]})}function GC({children:e}){return(0,bt.jsx)("div",{"data-part":"footer",style:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:Be.footerGap,flexShrink:0,borderTop:`${Be.footerBorder} solid ${xs.footerBorder}`,padding:`${Be.footerPadTop} ${Be.footerPad} calc(${Be.footerPad} + env(safe-area-inset-bottom, 0px))`},children:e})}function ZC({onClick:e,animation:t,opacity:r}){return(0,bt.jsx)("div",{"data-part":"overlay","aria-hidden":"true",onClick:e,style:{position:"absolute",inset:0,background:xs.overlay,animation:t,opacity:r}})}function Of({open:e,onOpenChange:t,title:r,children:n,menu:o=!1,menuProps:a,showHandle:i=!0,footer:s,showBack:l=!1,onBack:c,initialFocus:d="auto",returnFocusRef:u,closeLabel:p="Close",backLabel:b="Back",container:g,contained:y=!1,className:$="",style:m}){VC();let f=Ut(),h=`pwbs${(0,rt.useId)().replace(/[^a-zA-Z0-9]/g,"")}`,[v,x]=(0,rt.useState)(!!e),[w,P]=(0,rt.useState)(!1),[k,T]=(0,rt.useState)(0),[E,F]=(0,rt.useState)(!1),R=(0,rt.useRef)(null),_=(0,rt.useRef)(null),C=(0,rt.useRef)(null),L=(0,rt.useRef)(null),z=(0,rt.useRef)(null),N=(0,rt.useRef)(null),Z=()=>t?.(!1);(0,rt.useEffect)(()=>{e?(typeof document<"u"&&(z.current=document.activeElement),P(!1),T(0),x(!0)):v&&P(!0)},[e]);let I=le=>{le.target!==R.current||!w||(x(!1),P(!1),T(0),te.current=!0)},te=(0,rt.useRef)(!1);(0,rt.useEffect)(()=>{if(!v||!L.current||y)return;let le=L.current,A=document.body.style.overflow;document.body.style.overflow="hidden";let ce=[...le.parentNode?.children||[]].filter(me=>me!==le&&!me.inert&&me.tagName!=="SCRIPT"&&me.tagName!=="STYLE");return ce.forEach(me=>{me.inert=!0}),()=>{document.body.style.overflow=A,ce.forEach(me=>{me.inert=!1})}},[v]),(0,rt.useEffect)(()=>{if(v||!te.current)return;te.current=!1;let le=u?.current||z.current;le&&le.isConnected&&typeof le.focus=="function"&&le.focus()},[v]),(0,rt.useEffect)(()=>{if(!v||w||!R.current||y)return;let le=_.current?[..._.current.querySelectorAll(WC)]:[],A=C.current;d==="first"?A=le[0]||R.current.querySelector(N9)||A:d==="auto"&&o&&le.length&&(A=le.find(W=>W.getAttribute("aria-checked")==="true")||le[0]),A?.focus({preventScroll:!0})},[v,w]);let X=(0,rt.useRef)(!0);(0,rt.useEffect)(()=>{if(X.current){X.current=!1;return}v&&!y&&C.current?.focus({preventScroll:!0})},[l]);let B=le=>{if(le.key==="Escape"){le.stopPropagation(),le.nativeEvent?.stopImmediatePropagation?.(),Z();return}if(le.key==="Tab"&&R.current){let A=[...R.current.querySelectorAll(N9)].filter(me=>me.offsetParent!==null||me===document.activeElement);if(!A.length){le.preventDefault();return}let W=A[0],ce=A[A.length-1];le.shiftKey&&(document.activeElement===W||document.activeElement===C.current)?(le.preventDefault(),ce.focus()):!le.shiftKey&&document.activeElement===ce&&(le.preventDefault(),W.focus());return}},G=le=>{le.button!==void 0&&le.button!==0||_.current?.contains(le.target)&&_.current.scrollTop>0||(N.current={y:le.clientY,t:performance.now(),id:le.pointerId,active:!1})},V=le=>{let A=N.current;if(!A||A.id!==le.pointerId)return;let W=le.clientY-A.y;if(!A.active){if(W<-4){N.current=null;return}if(W<8)return;A.active=!0,F(!0),R.current?.setPointerCapture?.(le.pointerId)}T(Math.max(0,W))},M=le=>{let A=N.current;if(N.current=null,!A||!A.active)return;F(!1);let W=Math.max(0,le.clientY-A.y),ce=W/Math.max(1,performance.now()-A.t);W>Be.dismissDistance||ce>Be.flickSpeed?Z():T(0)};if(!v||typeof document>"u")return null;let ae=f?w?oi.fadeOut:oi.fadeIn:w?oi.exit:oi.enter,Q=k>0&&!w,Se=Q&&R.current?Math.max(0,1-k/R.current.offsetHeight):void 0,$t=(0,bt.jsxs)("div",{ref:L,className:`pw-bottom-sheet ${$}`,"data-open":!w||void 0,style:{position:y?"absolute":"fixed",inset:0,zIndex:y?1:1e3,display:"flex",flexDirection:"column",justifyContent:"flex-end",alignItems:"center",...m},children:[(0,bt.jsx)(ZC,{onClick:Z,animation:w?oi.fadeOut:oi.fadeIn,opacity:Se}),(0,bt.jsxs)("div",{ref:R,role:"dialog","aria-modal":"true","aria-labelledby":h,onKeyDown:B,onAnimationEnd:I,onPointerDown:G,onPointerMove:V,onPointerUp:M,onPointerCancel:M,style:{position:"relative",width:"100%",maxWidth:Be.maxWidth,boxSizing:"border-box",maxHeight:y?`calc(100% - ${Be.topClearance}px)`:`calc(100dvh - ${Be.topClearance}px)`,display:"flex",flexDirection:"column",gap:Be.sheetGap,background:xs.surface,boxShadow:xs.shadow,borderRadius:`${Be.radius} ${Be.radius} 0 0`,animation:Q?"none":ae,transform:Q?`translateY(${k}px)`:void 0,transition:E||f?"none":oi.settle,touchAction:"pan-y"},children:[(0,bt.jsxs)("div",{"data-part":"top",style:{display:"flex",flexDirection:"column",flexShrink:0},children:[i&&(0,bt.jsx)(UC,{}),(0,bt.jsx)(jC,{title:r,titleId:h,titleRef:C,showBack:l,onBack:c,onClose:Z,closeLabel:p,backLabel:b})]}),(0,bt.jsx)("div",{ref:_,className:"pw-bottom-sheet__body","data-part":"body",style:{display:"flex",flexDirection:"column",gap:Be.bodyGap,minHeight:0,flex:"0 1 auto",overflowY:"auto",overflowX:"hidden",overscrollBehavior:"contain",padding:s?`0 ${Be.bodyPad} ${Be.bodyPad}`:`0 ${Be.bodyPad} calc(${Be.bodyPad} + env(safe-area-inset-bottom, 0px))`},children:(0,bt.jsx)(O3.Provider,{value:Z,children:o?(0,bt.jsx)(z3,{bare:!0,label:r,...a,children:n}):n})}),s&&(0,bt.jsx)(GC,{children:s})]})]});return y?$t:(0,D9.createPortal)($t,g||document.body)}var K=S($e(),1),B3=e=>e?{inert:"","aria-hidden":!0}:{};qo();var _e=e=>`var(--semantic-color-${e})`,K3=e=>`var(${e})`,vr=e=>`var(--semantic-layout-units-${e})`,ai=e=>`var(--contextual-layout-units-${e})`,F9=e=>typeof e=="number"?-e:`calc(-1 * ${e})`,xe={fill:{navBase:"transparent",navHover:_e("fill-action-selection-hover"),navActive:_e("fill-action-selection-selected"),navTrail:_e("fill-action-selection-trail"),infoSubtle:_e("stroke-static-neutral-faint")},surface:{navLight:_e("fill-surface-elevated"),navElevated:_e("fill-surface-elevated")},text:{navBase:_e("foreground-action-secondary-rest"),navHover:_e("foreground-action-secondary-hover"),navActive:_e("foreground-action-secondary-pressed"),navDisabled:_e("foreground-action-disabled"),secondary:_e("foreground-static-neutral-subtle"),secondarySubtle:_e("foreground-static-neutral-subtle"),strong:_e("foreground-static-neutral-strong")},icon:{navBase:_e("foreground-action-secondary-rest"),navHover:_e("foreground-action-secondary-hover"),navActive:_e("foreground-action-secondary-pressed"),navDisabled:_e("foreground-action-disabled"),actionSecondary:_e("foreground-action-secondary-rest")},indicator:_e("fill-action-selection-indicator"),radius:ai("navitem-cornerradius")},ee={navPadH:ai("sidenav-padding-horizontal-expanded"),navColPadH:ai("sidenav-padding-horizontal-collapsed"),navPadTop:ai("sidenav-padding-vertical"),navW:ai("sidenav-width-expanded"),navWcol:ai("sidenav-width-collapsed"),menuGap:ai("sidenav-gap-vertical"),menuPadT:vr("padding-tight"),menuPadB:vr("padding-xxwide"),itemH:vr("accessibility-touch-target-aa-height"),iconWrap:24,iconInner:16,rowPadH:vr("padding-tight"),railIconInset:vr("padding-xxtight"),textPad:vr("padding-xtight"),childIndent:24,stripeW:4,stripeOuterPadV:vr("padding-xxxtight"),stripeInnerPadV:vr("padding-xxtight"),stripeRadius:vr("cornerradius-base"),itemPadH:vr("padding-xxtight"),chevPad:"var(--semantic-layout-units-padding-xxxxtight, 2px)",chevBox:20,chevFrame:16,chevGlyph:12,childRowPadL:vr("padding-tight"),childMainPadL:vr("padding-relaxed"),colPadL:vr("padding-medium"),colPadR:vr("padding-tight"),collapseGap:vr("padding-xxtight")};function O9({visible:e,inset:t}){return(0,K.jsx)("div",{style:{width:ee.stripeW,alignSelf:"stretch",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",padding:t?`${t} 0`:`calc(${ee.stripeOuterPadV} + ${ee.stripeInnerPadV}) 0`,boxSizing:"border-box",flexShrink:0},children:(0,K.jsx)("div",{style:{flex:"1 0 0",width:ee.stripeW,minHeight:1,borderRadius:`0 ${ee.stripeRadius} ${ee.stripeRadius} 0`,backgroundColor:e?xe.indicator:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"}})})}function H9({item:e,isActive:t,isTrail:r,isExpanded:n,isSidebarCollapsed:o,isChild:a,onClick:i,onToggle:s,popoverOpen:l,anchorRect:c,onPopoverEnter:d,onPopoverLeave:u,activeId:p,chevronUp:b,chevronDown:g,collapseIcon:y,expandIcon:$}){let[m,f]=(0,nt.useState)(!1),h=!!(e.children&&e.children.length),v=(0,nt.useRef)(null),x=h&&n&&!o,w=r&&(!n||o),k=w||t&&!(o&&h),T=!!e.disabled,E=T?xe.fill.navBase:t||w?xe.fill.navActive:x?xe.fill.navTrail:m?xe.fill.navHover:xe.fill.navBase,F=T?xe.text.navDisabled:t||w||x?xe.text.navActive:m?xe.text.navHover:xe.text.navBase,R=T?xe.icon.navDisabled:t||w||x?xe.icon.navActive:m?xe.icon.navHover:xe.icon.navBase,_=()=>{T||(h&&!o?s(e.id):i(e.id))};return(0,K.jsxs)("div",{ref:v,style:{position:"relative"},children:[(0,K.jsxs)("div",{className:Br,role:"button",tabIndex:T?-1:0,"aria-current":t?"page":void 0,"aria-disabled":T?!0:void 0,"aria-expanded":h&&!o?n:void 0,onClick:_,onKeyDown:C=>!T&&(C.key==="Enter"||C.key===" ")&&_(),onMouseEnter:()=>{if(!T&&(f(!0),o&&d)){let C=v.current?v.current.getBoundingClientRect():null;d(e.id,C)}},onMouseLeave:()=>{T||(f(!1),o&&u&&u())},style:{display:"flex",alignItems:"center",minHeight:ee.itemH,width:o?ee.itemH:"100%",marginLeft:o?"auto":void 0,marginRight:o?"auto":void 0,paddingRight:o?ee.railIconInset:void 0,boxSizing:"border-box",borderRadius:xe.radius,backgroundColor:E,cursor:T?"not-allowed":"pointer",overflow:"hidden",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)",userSelect:"none"},children:[(0,K.jsx)(O9,{visible:k}),!a&&e.icon&&(0,K.jsx)("div",{style:{width:ee.iconWrap,height:ee.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:o?"auto":ee.itemPadH,marginRight:o?"auto":void 0,color:R},children:typeof e.icon=="function"?e.icon({size:ee.iconInner,color:R}):typeof e.icon=="string"?(0,K.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:ee.iconInner,lineHeight:1,color:R,display:"block",fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24"},children:e.icon}):nt.default.cloneElement(e.icon,{style:{color:R}})}),(0,K.jsx)("div",{style:{flex:o?"0 0 0px":1,minWidth:0,paddingLeft:o?0:a?`calc(${ee.childRowPadL} + ${ee.childMainPadL} + ${ee.textPad})`:ee.textPad,paddingRight:o?0:a?ee.childRowPadL:ee.itemPadH,maxWidth:o?0:200,opacity:o?0:1,overflow:"hidden",pointerEvents:o?"none":"auto",transition:"max-width var(--motion-duration-6) var(--motion-easing-emphasized), opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:(0,K.jsx)("p",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:F,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:e.label})}),!a&&h&&!o&&(0,K.jsx)("div",{style:{width:ee.chevBox,height:ee.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,opacity:o?0:1,overflow:"hidden",transition:"max-width var(--motion-duration-6) var(--motion-easing-emphasized), opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:(0,K.jsx)("div",{style:{transform:n?"rotate(180deg)":"rotate(0deg)",transition:"transform var(--motion-duration-5) var(--motion-easing-accordion)"},children:g?g({size:ee.chevGlyph,color:R}):(0,K.jsx)(nw,{size:ee.chevGlyph,color:R})})})]}),o&&l&&c&&(0,K.jsx)("div",{style:{position:"fixed",left:c.right,top:c.top,width:8,height:c.height,zIndex:999},onMouseEnter:()=>{let C=v.current?v.current.getBoundingClientRect():c;d&&d(e.id,C)}}),o&&h&&l&&c&&(0,K.jsx)(qC,{item:e,onClick:i,anchorRect:c,activeId:p,onMouseEnter:()=>{let C=v.current?v.current.getBoundingClientRect():c;d&&d(e.id,C)},onMouseLeave:u}),o&&!h&&l&&c&&(0,K.jsx)(YC,{label:e.label,anchorRect:c,onMouseEnter:()=>{let C=v.current?v.current.getBoundingClientRect():c;d&&d(e.id,C)},onMouseLeave:u})]})}function YC({label:e,anchorRect:t,onMouseEnter:r,onMouseLeave:n}){return t?zf.default.createPortal((0,K.jsx)("div",{onMouseEnter:r,onMouseLeave:n,style:{position:"fixed",left:t.right+8,top:t.top+t.height/2,zIndex:1e3,backgroundColor:xe.surface.navLight,border:`0.5px solid ${_e("stroke-static-neutral-faint")}`,borderRadius:"var(--semantic-layout-units-cornerradius-base)",boxShadow:K3("--elevation-widget"),padding:"var(--semantic-layout-units-padding-xxtight) var(--semantic-layout-units-padding-xtight)",whiteSpace:"nowrap",pointerEvents:"auto",animation:"popoverInCentered var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:(0,K.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:400,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:xe.text.strong},children:e})}),document.body):null}function XC({label:e}){return(0,K.jsx)("div",{style:{display:"flex",alignItems:"center",width:"100%",boxSizing:"border-box",paddingLeft:"var(--semantic-layout-units-padding-tight)",paddingRight:"var(--semantic-layout-units-padding-xtight)",paddingTop:"var(--semantic-layout-units-padding-xxtight)",paddingBottom:"var(--semantic-layout-units-padding-xxtight)"},children:(0,K.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:600,fontSize:"var(--semantic-type-font-size-xs)",lineHeight:"var(--semantic-type-line-height-xs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",color:xe.text.secondary,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})})}function qC({item:e,onClick:t,anchorRect:r,onMouseEnter:n,onMouseLeave:o,activeId:a}){return r?zf.default.createPortal((0,K.jsxs)("div",{onMouseEnter:n,onMouseLeave:o,style:{position:"fixed",left:r.right+8,top:r.top,zIndex:1e3,backgroundColor:xe.surface.navElevated,border:`0.5px solid ${_e("stroke-static-neutral-faint")}`,borderRadius:"var(--primitive-unit-unit-10)",boxShadow:K3("--elevation-lift"),padding:"var(--semantic-layout-units-padding-xtight) var(--semantic-layout-units-padding-xxtight)",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",boxSizing:"border-box",minWidth:220,maxWidth:360,pointerEvents:"auto",animation:"popoverIn var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:[(0,K.jsx)(XC,{label:e.label}),e.children.map(i=>(0,K.jsx)(Nc,{item:i,onClick:t,activeId:a},i.id))]}),document.body):null}function Nc({item:e,onClick:t,activeId:r}){let[n,o]=(0,nt.useState)(!1),a=e.id===r,i=a?xe.fill.navActive:n?xe.fill.navHover:"transparent",s=xe.text.strong;return(0,K.jsxs)("div",{onClick:()=>t(e.id),className:Bi,role:"menuitem",tabIndex:0,"aria-current":a?"page":void 0,onKeyDown:l=>(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),t(e.id)),onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),onFocus:()=>o(!0),onBlur:()=>o(!1),style:{position:"relative",display:"flex",alignItems:"center",minHeight:ee.itemH,boxSizing:"border-box",padding:"var(--semantic-layout-units-padding-tight)",borderRadius:"var(--semantic-layout-units-cornerradius-base)",overflow:"hidden",backgroundColor:i,cursor:"pointer",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,K.jsx)("div",{style:{position:"absolute",left:0,top:"var(--semantic-layout-units-padding-xtight)",bottom:"var(--semantic-layout-units-padding-xtight)",width:ee.stripeW,borderRadius:`0 ${ee.stripeRadius} ${ee.stripeRadius} 0`,backgroundColor:a?xe.indicator:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"}}),(0,K.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:s,flex:1},children:e.label})]})}var A9=(e,t)=>!!e&&(typeof t.composedPath=="function"?t.composedPath().includes(e):e.contains(t.target)),ro={restStroke:_e("stroke-action-primary-subtle-rest"),hoverFill:_e("fill-action-primary-subtle-hover"),hoverStroke:_e("stroke-action-primary-strong-hover"),hoverFg:_e("foreground-action-primary-on-subtle-hover"),openFill:_e("fill-action-primary-subtle-pressed"),openStroke:_e("stroke-action-primary-strong-pressed"),openFg:_e("foreground-action-primary-on-subtle-pressed"),restFg:_e("foreground-static-neutral-bold"),separator:_e("stroke-static-neutral-base")};function QC({label:e,icon:t="apps",home:r,apps:n=[],activeId:o,onSelect:a,collapsed:i=!1,presentation:s="popover",sheetTitle:l}){let c=[r,...n].filter(Boolean).find(_=>_.id===o),d=c&&c.label||e||r&&r.label,[u,p]=(0,nt.useState)(!1),[b,g]=(0,nt.useState)(!1),[y,$]=(0,nt.useState)(!1),[m,f]=(0,nt.useState)(null),h=(0,nt.useRef)(null),v=(0,nt.useRef)(null),x=(0,nt.useRef)(null),w=(0,nt.useRef)(!1),P=()=>{if(y){$(!1);return}f(h.current?h.current.getBoundingClientRect():null),$(!0)};(0,nt.useEffect)(()=>{if(!y||s==="sheet"||!w.current)return;w.current=!1;let _=setTimeout(()=>{let C=x.current?[...x.current.querySelectorAll('[role="menuitem"]')]:[];(C.find(L=>L.getAttribute("aria-current"))||C[0])?.focus()},0);return()=>clearTimeout(_)},[y,s]);let k=_=>{let C=[..._.currentTarget.querySelectorAll('[role="menuitem"]')],L=C.indexOf(document.activeElement),z=null;_.key==="ArrowDown"?z=(L+1)%C.length:_.key==="ArrowUp"?z=(L-1+C.length)%C.length:_.key==="Home"?z=0:_.key==="End"&&(z=C.length-1),!(z===null||!C.length)&&(_.preventDefault(),C[z].focus())},T=_=>{$(!1),a&&a(_),v.current&&v.current.focus()};(0,nt.useEffect)(()=>{if(!y||s==="sheet")return;let _=L=>{A9(h.current,L)||A9(x.current,L)||$(!1)},C=L=>{L.key==="Escape"&&($(!1),v.current&&v.current.focus())};return document.addEventListener("mousedown",_),document.addEventListener("keydown",C),()=>{document.removeEventListener("mousedown",_),document.removeEventListener("keydown",C)}},[y,s]);let E=y||b,F=E?ro.openFg:u?ro.hoverFg:ro.restFg,R=r||{id:"__home",label:e};return(0,K.jsxs)("div",{ref:h,style:{boxSizing:"border-box",width:"100%",minHeight:ee.itemH,flexShrink:0,padding:i?`${ee.textPad} 0`:`${ee.textPad} ${ee.chevPad}`},children:[(0,K.jsxs)("button",{ref:v,className:fu,type:"button",onClick:P,onKeyDown:_=>{(_.key==="Enter"||_.key===" "||_.key==="ArrowDown")&&(w.current=!0),_.key==="ArrowDown"&&!y&&(_.preventDefault(),P())},"aria-haspopup":"menu","aria-expanded":y,"aria-label":i?`Switch application: ${d}`:void 0,onMouseEnter:()=>p(!0),onMouseLeave:()=>{p(!1),g(!1)},onMouseDown:()=>g(!0),onMouseUp:()=>g(!1),onBlur:()=>g(!1),style:{display:"flex",alignItems:"center",width:"100%",height:ee.itemH,boxSizing:"border-box",margin:0,cursor:"pointer",fontFamily:"inherit",justifyContent:i?"center":"flex-start",gap:i?0:"var(--semantic-layout-units-gap-xxxtight)",paddingLeft:ee.itemPadH,paddingRight:ee.itemPadH,borderRadius:"var(--semantic-layout-units-cornerradius-base)",background:E?ro.openFill:u?ro.hoverFill:"transparent",border:"none","--pw-ring-keep-shadow":"var(--elevation-lift)",boxShadow:`inset 0 0 0 ${E?"var(--contextual-layout-units-button-borderwidth-selected, 1px)":"var(--contextual-layout-units-button-borderwidth-rest, 0.75px)"} ${E?ro.openStroke:u?ro.hoverStroke:ro.restStroke}, var(--elevation-lift)`,transition:"background-color var(--motion-duration-3) var(--motion-easing-standard), box-shadow var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,K.jsx)("span",{style:{width:36,height:36,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,K.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:ee.iconInner,lineHeight:1,display:"block",color:F,fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:t})}),!i&&(0,K.jsx)("span",{style:{flex:1,minWidth:0,textAlign:"left",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:F,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:d})]}),s==="sheet"&&(0,K.jsxs)(Of,{open:y,title:l||d,menu:!0,returnFocusRef:v,onOpenChange:_=>{_||$(!1)},children:[(0,K.jsx)(Nc,{item:R,onClick:T,activeId:o}),n.length>0&&(0,K.jsx)("div",{role:"separator",style:{padding:"var(--semantic-layout-units-padding-xtight)"},children:(0,K.jsx)("div",{style:{borderTop:`0.5px solid ${ro.separator}`}})}),n.map(_=>(0,K.jsx)(Nc,{item:_,onClick:T,activeId:o},_.id))]}),y&&s!=="sheet"&&m&&zf.default.createPortal((0,K.jsxs)("div",{ref:x,role:"menu","aria-label":d,onKeyDown:k,style:{position:"fixed",left:`calc(${m.right}px + var(--semantic-layout-units-gap-xxxtight))`,top:m.top,zIndex:1e3,boxSizing:"border-box",minWidth:220,maxWidth:360,maxHeight:`calc(100vh - ${Math.round(m.top)}px - var(--semantic-layout-units-padding-base))`,overflowY:"auto",background:xe.surface.navElevated,border:`var(--semantic-layout-units-borderwidth-xthin, 0.5px) solid ${_e("stroke-static-neutral-faint")}`,borderRadius:"var(--semantic-layout-units-cornerradius-large)",boxShadow:K3("--elevation-lift"),padding:"var(--semantic-layout-units-padding-xtight) var(--semantic-layout-units-padding-xxtight)",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",animation:"popoverIn var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:[(0,K.jsx)(Nc,{item:R,onClick:T,activeId:o}),n.length>0&&(0,K.jsx)("div",{role:"separator",style:{padding:"var(--semantic-layout-units-padding-xtight)"},children:(0,K.jsx)("div",{style:{borderTop:`0.5px solid ${ro.separator}`}})}),n.map(_=>(0,K.jsx)(Nc,{item:_,onClick:T,activeId:o},_.id))]}),document.body)]})}function z9({label:e,icon:t=null}){return(0,K.jsxs)("span",{style:{display:"flex",alignItems:"center",minWidth:0,flex:1,gap:"var(--semantic-layout-units-gap-xxtight)"},children:[t&&(0,K.jsx)("span",{"aria-hidden":"true",style:{width:28,height:28,flexShrink:0,overflow:"hidden",display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--semantic-layout-units-cornerradius-base)",background:_e("fill-static-brand-strong"),color:_e("fill-static-neutral-mono")},children:t}),(0,K.jsx)("span",{style:{flex:1,minWidth:0,fontFamily:"var(--semantic-type-family-brand)",fontWeight:"var(--semantic-type-weight-semibold)",fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-tight)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:_e("foreground-static-neutral-strong"),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})]})}function JC({isSidebarCollapsed:e,onToggle:t,collapseIcon:r,expandIcon:n,headerStart:o=null,hideToggle:a=!1}){let[i,s]=(0,nt.useState)(!1),l=xe.icon.actionSecondary,c=!e&&o;return(0,K.jsxs)("div",{style:{width:"100%",flexShrink:0},children:[(0,K.jsxs)("div",{style:{display:"flex",alignItems:"center",height:ee.itemH,width:"100%",justifyContent:c?"space-between":e?"center":"flex-end",gap:"var(--semantic-layout-units-gap-xxtight)"},children:[c&&(0,K.jsx)("div",{style:{display:"flex",alignItems:"center",minWidth:0,flex:1},children:o}),!a&&(0,K.jsx)("div",{onClick:t,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),"aria-label":e?"Expand navigation":"Collapse navigation",className:Br,role:"button",tabIndex:0,onKeyDown:d=>(d.key==="Enter"||d.key===" ")&&t(),style:{display:"flex",alignItems:"center",height:ee.itemH,flexShrink:0,cursor:"pointer"},children:(0,K.jsx)("div",{style:{width:ee.itemH,height:ee.itemH,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,K.jsx)("div",{style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--primitive-unit-unit-10)",backgroundColor:i?xe.fill.navHover:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"},children:e?n?n({size:12,color:l}):(0,K.jsx)(aw,{color:l}):r?r({size:12,color:l}):(0,K.jsx)(ow,{color:l})})})})]}),(0,K.jsx)("div",{style:{padding:"var(--semantic-layout-units-padding-xxxtight) 0"},children:(0,K.jsx)("div",{style:{height:1,backgroundColor:xe.fill.infoSubtle}})})]})}function B9({label:e}){return(0,K.jsx)("div",{style:{display:"flex",alignItems:"center",height:40,width:"100%",boxSizing:"border-box",paddingLeft:"var(--semantic-layout-units-padding-xxtight)",paddingRight:"var(--semantic-layout-units-padding-xxtight)",paddingTop:"var(--semantic-layout-units-padding-tight)",paddingBottom:"var(--semantic-layout-units-padding-tight)",flexShrink:0},children:(0,K.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:600,fontSize:"var(--semantic-type-font-size-xxs)",lineHeight:"var(--semantic-type-line-height-xxs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",textTransform:"uppercase",color:xe.text.secondarySubtle,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})})}function ew({color:e}){return(0,K.jsx)("svg",{width:ee.iconInner,height:ee.iconInner,viewBox:"0 0 16 16","aria-hidden":"true",style:{display:"block",flexShrink:0},children:(0,K.jsx)("circle",{cx:"8",cy:"8",r:"6.6667",fill:e})})}function tw({item:e,isActive:t,onClick:r}){let[n,o]=(0,nt.useState)(!1),a=t?xe.fill.navActive:n?xe.fill.navHover:"transparent",i=t?xe.text.navActive:n?xe.text.navHover:xe.text.navBase,s=t?xe.icon.navActive:n?xe.icon.navHover:xe.icon.navBase;return(0,K.jsxs)("div",{onClick:()=>r&&r(e.id),onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),className:Br,role:"button",tabIndex:0,onKeyDown:l=>(l.key==="Enter"||l.key===" ")&&r&&r(e.id),style:{display:"flex",alignItems:"center",height:48,minHeight:ee.itemH,width:"100%",borderRadius:xe.radius,backgroundColor:a,cursor:"pointer",overflow:"hidden",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)",userSelect:"none"},children:[(0,K.jsx)(O9,{visible:t,inset:ee.stripeInnerPadV}),(0,K.jsx)("div",{style:{width:ee.iconWrap,height:ee.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:ee.rowPadH},children:(0,K.jsx)(ew,{color:s})}),(0,K.jsx)("div",{style:{flex:1,minWidth:0,paddingLeft:ee.textPad,paddingRight:`calc(${ee.textPad} + ${ee.rowPadH})`},children:(0,K.jsx)("p",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:400,fontSize:"var(--semantic-type-font-size-xs)",lineHeight:"var(--semantic-type-line-height-xs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",color:i,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:e.label})})]})}function rw({label:e,items:t,activeId:r,onNavigate:n}){return(0,K.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xtight)",width:"100%",flexShrink:0},children:[(0,K.jsx)(B9,{label:e}),(0,K.jsx)("div",{style:{display:"flex",flexDirection:"column"},children:t.map(o=>(0,K.jsx)(tw,{item:o,isActive:o.id===r,onClick:n},o.id))})]})}function Cs({items:e,sections:t,listSection:r,activeId:n,onNavigate:o,collapsed:a=!1,onCollapseChange:i,hideCollapseButton:s=!1,defaultExpanded:l={},className:c="",headerEnd:d=null,children:u=null,footer:p=null,appSwitcher:b=null,headerStart:g=null}){let[y,$]=(0,nt.useState)(l),[m,f]=(0,nt.useState)(null),[h,v]=(0,nt.useState)(null),x=(0,nt.useRef)(null),w=t?t.flatMap(R=>R.items):e||[],P=(()=>{let R=w.find(_=>_.children&&_.children.some(C=>C.id===n));return R?R.id:null})(),k=R=>$(_=>{if(!_[R])return{[R]:!0};let L={..._};return delete L[R],L}),T=(R,_)=>{clearTimeout(x.current),f(R),_&&v(_)},E=()=>{x.current=setTimeout(()=>{f(null),v(null)},300)},F=R=>{let _=!!(R.children&&R.children.length),C=R.id===n,L=R.id===P,z=!!y[R.id];return(0,K.jsxs)("div",{children:[(0,K.jsx)(H9,{item:R,isActive:C,isTrail:L,isExpanded:z,isSidebarCollapsed:a,isChild:!1,onClick:o,onToggle:k,popoverOpen:m===R.id,anchorRect:m===R.id?h:null,onPopoverEnter:T,onPopoverLeave:E,activeId:n}),_&&!a&&(0,K.jsx)("div",{...B3(!z),style:{display:"grid",gridTemplateRows:z?"1fr":"0fr",marginTop:z?ee.menuGap:0,transition:"grid-template-rows var(--motion-duration-5) var(--motion-easing-accordion), margin-top var(--motion-duration-5) var(--motion-easing-accordion)"},children:(0,K.jsx)("div",{style:{overflow:"hidden",display:"flex",flexDirection:"column",gap:ee.menuGap,opacity:z?1:0,transition:z?"opacity var(--motion-duration-4) var(--motion-easing-standard) 70ms":"opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:R.children.map(N=>(0,K.jsx)(H9,{item:N,isActive:N.id===n,isTrail:!1,isExpanded:!1,isSidebarCollapsed:!1,isChild:!0,onClick:o,onToggle:()=>{}},N.id))})})]},R.id)};return(0,K.jsxs)("nav",{className:c,style:{width:a?ee.navWcol:ee.navW,height:"100%",backgroundColor:xe.surface.navLight,display:"flex",flexDirection:"column",paddingTop:ee.navPadTop,paddingBottom:0,paddingLeft:a?ee.navColPadH:ee.navPadH,paddingRight:a?ee.navColPadH:ee.navPadH,boxSizing:"border-box",flexShrink:0,transition:"width var(--motion-duration-6) var(--motion-easing-emphasized)",borderRight:`1px solid ${xe.fill.infoSubtle}`,overflow:"hidden"},children:[(!s||d||g)&&(0,K.jsxs)("div",{style:{flexShrink:0},children:[(!s||g)&&(0,K.jsx)(JC,{isSidebarCollapsed:a,headerStart:g,hideToggle:s,onToggle:()=>i&&i(!a)}),d&&(0,K.jsx)("div",{...B3(a),style:{opacity:a?0:1,maxHeight:a?0:200,overflow:"hidden",pointerEvents:a?"none":"auto",padding:a?0:`0 ${ee.navPadH}`,transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)"},children:d})]}),(0,K.jsxs)($u,{style:{flex:1,minHeight:0,marginRight:F9(a?ee.navColPadH:ee.navPadH),marginLeft:F9("var(--contextual-layout-units-focusring-width)")},viewStyle:{display:"flex",flexDirection:"column",gap:ee.menuGap,paddingTop:ee.menuPadT,paddingRight:a?ee.navColPadH:ee.navPadH,paddingLeft:"var(--contextual-layout-units-focusring-width)"},children:[b&&(0,K.jsx)(QC,{...b,collapsed:a}),t&&t.map(({section:R,items:_},C)=>(0,K.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:ee.menuGap,flexShrink:0},children:[(0,K.jsx)("div",{style:{opacity:a?0:1,maxHeight:a?0:40,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)",flexShrink:0},children:(0,K.jsx)(B9,{label:R})}),C>0&&(0,K.jsx)("div",{style:{opacity:a?1:0,maxHeight:a?5:0,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)",padding:"2px 0",flexShrink:0},children:(0,K.jsx)("div",{style:{height:1,backgroundColor:xe.fill.infoSubtle}})}),_.map(F)]},R)),!t&&(e||[]).map(F),r&&(0,K.jsx)("div",{...B3(a),style:{opacity:a?0:1,maxHeight:a?0:400,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)"},children:(0,K.jsx)(rw,{label:r.label,items:r.items,activeId:n,onNavigate:o})}),u&&(0,K.jsx)("div",{style:{flexShrink:0},children:u}),(0,K.jsx)("div",{style:{flex:1,minHeight:ee.menuPadB}})]}),p&&(0,K.jsx)("div",{style:{flexShrink:0,borderTop:`0.5px solid ${xe.fill.infoSubtle}`,padding:a?`8px ${ee.navColPadH}`:`8px ${ee.navPadH}`,transition:"padding var(--motion-duration-6) var(--motion-easing-emphasized)"},children:p})]})}function nw({size:e=12,color:t}){return(0,K.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:(0,K.jsx)("path",{d:"M6 7.475C5.93333 7.475 5.87083 7.46458 5.8125 7.44375C5.75417 7.42292 5.7 7.3875 5.65 7.3375L3.35 5.0375C3.25833 4.94583 3.2125 4.82917 3.2125 4.6875C3.2125 4.54583 3.25833 4.42917 3.35 4.3375C3.44167 4.24583 3.55833 4.2 3.7 4.2C3.84167 4.2 3.95833 4.24583 4.05 4.3375L6 6.2875L7.95 4.3375C8.04167 4.24583 8.15833 4.2 8.3 4.2C8.44167 4.2 8.55833 4.24583 8.65 4.3375C8.74167 4.42917 8.7875 4.54583 8.7875 4.6875C8.7875 4.82917 8.74167 4.94583 8.65 5.0375L6.35 7.3375C6.3 7.3875 6.24583 7.42292 6.1875 7.44375C6.12917 7.46458 6.06667 7.475 6 7.475Z",fill:t})})}function ow({size:e=12,color:t=xe.icon.actionSecondary}){return(0,K.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",children:(0,K.jsx)("path",{d:"M5.66667 7.86667V4.13333C5.66667 3.97778 5.6 3.87222 5.46667 3.81667C5.33333 3.76111 5.21111 3.78889 5.1 3.9L3.46667 5.53333C3.33333 5.66667 3.26667 5.82222 3.26667 6C3.26667 6.17778 3.33333 6.33333 3.46667 6.46667L5.1 8.1C5.21111 8.21111 5.33333 8.23889 5.46667 8.18333C5.6 8.12778 5.66667 8.02222 5.66667 7.86667ZM1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H10.6667C11.0333 0 11.3472 0.130556 11.6083 0.391667C11.8694 0.652778 12 0.966667 12 1.33333V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM8.66667 10.6667H10.6667V1.33333H8.66667V10.6667ZM7.33333 10.6667V1.33333H1.33333V10.6667H7.33333Z",fill:t})})}function aw({size:e=12,color:t=xe.icon.actionSecondary}){return(0,K.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",children:(0,K.jsx)("path",{d:"M6.33333 4.13333V7.86667C6.33333 8.02222 6.4 8.12778 6.53333 8.18333C6.66667 8.23889 6.78889 8.21111 6.9 8.1L8.53333 6.46667C8.66667 6.33333 8.73333 6.17778 8.73333 6C8.73333 5.82222 8.66667 5.66667 8.53333 5.53333L6.9 3.9C6.78889 3.78889 6.66667 3.76111 6.53333 3.81667C6.4 3.87222 6.33333 3.97778 6.33333 4.13333ZM1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H10.6667C11.0333 0 11.3472 0.130556 11.6083 0.391667C11.8694 0.652778 12 0.966667 12 1.33333V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM3.33333 10.6667V1.33333H1.33333V10.6667H3.33333ZM4.66667 10.6667H10.6667V1.33333H4.66667V10.6667Z",fill:t})})}var iw={collapsed:"collapsed","hide-collapse-button":"hideCollapseButton"},sw=`
|
|
359
|
+
`,Q3=!1;function J3(){(0,Rt.useEffect)(()=>{if(Q3||typeof document>"u"||document.getElementById("pw-popover-menu-css")){Q3=!0;return}let e=document.createElement("style");e.id="pw-popover-menu-css",e.textContent=sw,document.head.appendChild(e),Q3=!0},[])}var Jg=(e,t)=>typeof document<"u"&&parseFloat(getComputedStyle(document.documentElement).getPropertyValue(e))||t,lw=()=>Jg("--motion-duration-3",200),e9=(0,Rt.createContext)("actions"),cw=(0,Rt.createContext)("sheet"),em=(0,Rt.createContext)(null);function dw({leading:e,loading:t,disabled:r}){if(t)return(0,ne.jsx)("span",{className:"pw-menu-item__lead",children:(0,ne.jsx)(Ng,{size:G.spinner,label:"Loading"})});if(!e)return null;let n=typeof e=="string"?{type:"icon",name:e}:e;return n.type==="icon"?(0,ne.jsx)("span",{className:"pw-menu-item__lead",children:(0,ne.jsx)(ye,{name:n.name,size:G.glyph})}):n.type==="dot"?(0,ne.jsx)("span",{className:"pw-menu-item__lead",children:(0,ne.jsx)("span",{className:"pw-menu-item__dot",style:{background:r?pe.disabled:pe.dot[n.tone]||pe.dot.neutral}})}):n.type==="avatar"?(0,ne.jsx)("span",{className:"pw-menu-item__lead pw-menu-item__lead--avatar","aria-hidden":"true",children:(0,ne.jsx)(Ei,{size:n.size||"M",shape:"Circle",src:n.src,text:n.initials||Oc(n.name||"")})}):n.type==="swatch"?(0,ne.jsx)("span",{className:"pw-menu-item__lead",children:(0,ne.jsx)("span",{className:"pw-menu-item__swatch",style:{background:n.color}})}):null}var uw=(e,t=99)=>e>t?`${t}+`:String(e);function fw({trailing:e,hasSubmenu:t}){if(t)return(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(ye,{name:"chevron_right",size:G.glyph})});if(!e)return null;let r=e;return r.type==="shortcut"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(R3,{className:"pw-menu-item__kbd",children:r.keys})}):r.type==="text"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:r.text}):r.type==="count"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)("span",{className:"pw-menu-item__count",children:uw(r.count)})}):r.type==="chevron"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(ye,{name:"chevron_right",size:G.glyph})}):r.type==="icon"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(ye,{name:r.name,size:G.glyph})}):null}function Qg({label:e,s:t}){let r=(0,Rt.useRef)(null),[n,o]=(0,Rt.useState)(!1),[i,a]=(0,Rt.useState)(!1),s=!!(t.isHovered||t.isFocusVisible);(0,Rt.useEffect)(()=>{let c=r.current;o(!!c&&c.scrollWidth>c.clientWidth+1)},[s,e]),(0,Rt.useEffect)(()=>{if(!t.isHovered){a(!1);return}let c=setTimeout(()=>a(!0),Jg("--motion-duration-4",300));return()=>clearTimeout(c)},[t.isHovered]);let l=n&&typeof e=="string"&&(!!t.isFocusVisible||i);return(0,ne.jsx)(co,{content:typeof e=="string"?e:void 0,open:l,manageAria:!1,align:"start",children:(0,ne.jsx)("span",{ref:r,className:"pw-menu-item__label",children:e})})}function pw({p:e,s:t}){let r=e.indicator||"none",n=!!t.isSelected,o=!!t.isDisabled,i=!!e.inlineText;return(0,ne.jsxs)(ne.Fragment,{children:[r==="stripe"&&(0,ne.jsx)("span",{className:"pw-menu-item__stripe","aria-hidden":"true"}),(r==="check-start"||r==="radio"||r==="checkbox"||e.leading||e.loading)&&(0,ne.jsxs)("span",{className:"pw-menu-item__lead-group",children:[r==="check-start"&&(0,ne.jsx)("span",{className:`pw-menu-item__lead${n?"":" pw-menu-item__lead--hidden"}`,children:(0,ne.jsx)(ye,{name:"check",size:G.glyph,className:"pw-menu-item__check"})}),r==="radio"&&(0,ne.jsx)("span",{className:"pw-menu-item__lead pw-menu-item__control",inert:"","aria-hidden":"true",children:(0,ne.jsx)(Lg,{selected:n,disabled:o})}),r==="checkbox"&&(0,ne.jsx)("span",{className:"pw-menu-item__lead pw-menu-item__control",inert:"","aria-hidden":"true",children:(0,ne.jsx)(zf,{checked:n,indeterminate:!!e.mixed,disabled:o,size:"s"})}),(0,ne.jsx)(dw,{leading:e.leading,loading:e.loading,disabled:o})]}),(0,ne.jsxs)("span",{className:"pw-menu-item__text","data-inline":i||void 0,children:[e.badges&&e.badges.length?(0,ne.jsxs)("span",{className:"pw-menu-item__label-row",children:[(0,ne.jsx)(Qg,{label:e.label,s:t}),e.badges.map(a=>(0,ne.jsx)(Uf,{label:a.label,status:a.status||"Neutral",size:"Medium",badgeStyle:"Outline & Fill"},a.label))]}):(0,ne.jsx)(Qg,{label:e.label,s:t}),i?(0,ne.jsx)("span",{className:"pw-menu-item__desc",children:e.inlineText}):e.description?(0,ne.jsx)("span",{className:"pw-menu-item__desc",children:e.description}):null,e.reason&&(0,ne.jsxs)("span",{className:"pw-menu-item__reason",children:[(0,ne.jsx)(ye,{name:"info",size:G.spinner}),e.reason]})]}),(0,ne.jsx)(fw,{trailing:e.trailing,hasSubmenu:t.hasSubmenu}),r==="check"&&n&&(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(ye,{name:"check",size:G.glyph,className:"pw-menu-item__check"})})]})}function Xf({id:e,label:t,description:r,inlineText:n,reason:o,indicator:i="none",leading:a,trailing:s,badges:l,tone:c="Default",disabled:d=!1,loading:u=!1,mixed:p=!1,current:b=!1,selected:g=!1,closeOnAction:y,onAction:$,href:m,textValue:f,forceState:h}){J3();let v=(0,Rt.useContext)(e9),x=(0,Rt.useContext)(em),w={label:t,description:r,inlineText:n,reason:o,indicator:i,leading:a,trailing:s,badges:l,loading:u,mixed:p,selected:g},k={id:e??t,textValue:f||t,isDisabled:!!(d||o),className:"pw-menu-item","data-tone":c,"data-current":b||w.selected||void 0,"data-force":h,"aria-current":b?"page":void 0},T=E=>(0,ne.jsx)(pw,{p:w,s:{...E,isSelected:E.isSelected||!!w.selected}});return v==="options"?(0,ne.jsx)(H2,{...k,href:m,children:T}):(0,ne.jsx)(O3,{...k,href:m,target:m&&/^https?:/.test(m)?"_blank":void 0,shouldCloseOnSelect:y,onAction:()=>{$?.(),y!==!1&&x?.()},children:T})}function tm({mode:e="actions",label:t,header:r,footer:n,emptyState:o,maxHeight:i,framed:a=!1,bare:s=!1,className:l="",children:c,...d}){J3();let u=e==="options"?F2:A3,p={...d,escapeKeyBehavior:d.escapeKeyBehavior??"none"};return(0,ne.jsx)(e9.Provider,{value:e,children:(0,ne.jsxs)("div",{className:`pw-menu${a?" pw-menu--static":""}${s?" pw-menu--bare":""}${l?` ${l}`:""}`,children:[r&&(0,ne.jsx)("div",{className:"pw-menu__header",children:r}),(0,ne.jsx)("div",{className:"pw-menu__scroll",style:i?{maxHeight:i}:void 0,children:(0,ne.jsx)(u,{"aria-label":t,className:"pw-menu__list",renderEmptyState:o?()=>o:void 0,...p,children:c})}),n&&(0,ne.jsx)("div",{className:"pw-menu__footer",children:n})]})})}function qf({type:e="icon",label:t,text:r,initials:n,icon:o="more_vert",iconStyle:i="bare",renderTrigger:a,align:s="end",open:l,defaultOpen:c,onOpenChange:d,mode:u="actions",selectionMode:p,selectedKeys:b,defaultSelectedKeys:g,onSelectionChange:y,onAction:$,header:m,footer:f,emptyState:h,searchable:v=!1,smallScreen:x="sheet",maxHeight:w,className:P="",style:k,children:T}){J3();let E=xs({isOpen:l,defaultOpen:c,onOpenChange:d}),F=(0,Rt.useRef)(null),_=`pwmenu${(0,Rt.useId)().replace(/[^a-zA-Z0-9]/g,"")}`,[I,C]=(0,Rt.useState)(!1),L=()=>setTimeout(()=>E.close(),lw()),O=X=>{$?.(X),p!=="multiple"&&L()},M=X=>{y?.(X),p!=="multiple"&&u==="options"&&L()},Z={id:_,"aria-haspopup":u==="options"?"listbox":"menu","aria-expanded":E.isOpen,onClick:()=>E.toggle(null),onKeyDown:X=>{E.isOpen||(X.key==="ArrowDown"||X.key==="ArrowUp")&&(X.preventDefault(),E.open(X.key==="ArrowDown"?"first":"last"))}},R;a?R=a({...Z,"aria-label":t,title:t}):e==="button"?R=(0,ne.jsxs)("button",{type:"button",className:"pw-menu-trigger__button",...Z,"aria-label":r?void 0:t,children:[r,(0,ne.jsx)(ye,{name:E.isOpen?"expand_less":"expand_more",size:16})]}):e==="avatar"?R=(0,ne.jsx)("button",{type:"button",className:"pw-menu-trigger__avatar",...Z,"aria-label":t,children:n}):i==="action"?R=(0,ne.jsx)(ai,{name:o,size:"Medium",label:t,...Z}):R=(0,ne.jsx)("button",{type:"button",className:"pw-menu-trigger__icon",...Z,"aria-label":t,title:t,style:{width:G.triggerTarget,height:G.triggerTarget},children:(0,ne.jsx)(ye,{name:o,size:G.triggerGlyph})});let te=(0,ne.jsx)(tm,{mode:u,label:t,selectionMode:p,selectedKeys:b,defaultSelectedKeys:g,onSelectionChange:M,onAction:u==="options"?void 0:O,autoFocus:u==="options"?E.focusStrategy==="last"?"last":!0:void 0,shouldFocusWrap:!0,header:m,footer:f,emptyState:h,maxHeight:w,children:T});return(0,ne.jsxs)("span",{ref:F,className:`pw-menu-trigger ${P}`,"data-open":E.isOpen||void 0,onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1),"data-hovered":I||void 0,style:k,children:[R,(0,ne.jsx)(ln,{values:[[Of,{"aria-labelledby":t?void 0:_,autoFocus:E.focusStrategy||!0,onClose:E.close,shouldCloseOnSelect:!1}],[Ic,E],[Nc,E],[Mc,{trigger:"MenuTrigger",triggerRef:F,placement:`bottom ${s}`}]],children:(0,ne.jsx)(cw.Provider,{value:x,children:(0,ne.jsx)(L3,{className:"pw-menu-panel",offset:G.offset,"data-searchable":v||void 0,"data-small-screen":x==="sheet"?"sheet":void 0,children:te})})})]})}var Ct=S(he(),1),zc=e=>`var(--semantic-color-${e})`,wr=e=>`var(--semantic-layout-units-${e})`,Vc=e=>`var(--semantic-type-${e})`,uo=e=>`var(--motion-${e})`,Ps={surface:zc("fill-surface-elevated"),overlay:zc("scrim-subtle"),handle:zc("fill-static-neutral-strong"),title:zc("foreground-static-neutral-strong"),footerBorder:zc("stroke-static-neutral-faint"),shadow:"var(--elevation-sheet)"},Ve={radius:wr("cornerradius-xlarge"),sheetGap:wr("gap-tight"),maxWidth:640,topClearance:56,handleZone:20,pillWidth:32,pillHeight:4,pillRadius:wr("cornerradius-full"),headerMinH:wr("accessibility-touch-target-aa-height"),headerPadTop:wr("padding-xtight"),headerPadX:wr("padding-xxxxtight"),headerPadBottom:wr("padding-xxxtight"),headerGap:wr("gap-xxtight"),titleInset:wr("padding-base"),bodyPad:wr("padding-xtight"),bodyGap:wr("gap-xxtight"),footerBorder:wr("borderwidth-base"),footerPadTop:wr("padding-tight"),footerPad:wr("padding-base"),footerGap:wr("gap-tight"),dismissDistance:80,flickSpeed:.5},mw={title:{fontFamily:Vc("family-brand"),fontSize:Vc("font-size-s"),fontWeight:Vc("weight-semibold"),lineHeight:Vc("line-height-s-tight"),letterSpacing:Vc("letter-spacing-wide")}},fa={enter:`pw-bottom-sheet-up ${uo("duration-5")} ${uo("easing-emphasized")} both`,exit:`pw-bottom-sheet-down ${uo("duration-4")} ${uo("easing-accelerate")} both`,fadeIn:`pw-bottom-sheet-fade-in ${uo("duration-4")} ${uo("easing-standard")} both`,fadeOut:`pw-bottom-sheet-fade-out ${uo("duration-4")} ${uo("easing-standard")} both`,settle:`transform ${uo("duration-4")} ${uo("easing-decelerate")}`},hw="@keyframes pw-bottom-sheet-up{from{transform:translateY(100%)}to{transform:none}}@keyframes pw-bottom-sheet-down{from{transform:none}to{transform:translateY(100%)}}@keyframes pw-bottom-sheet-fade-in{from{opacity:0}to{opacity:1}}@keyframes pw-bottom-sheet-fade-out{from{opacity:1}to{opacity:0}}.pw-bottom-sheet__body{scrollbar-width:thin}";function gw(){(0,it.useLayoutEffect)(()=>{if(typeof document>"u"||document.getElementById("pw-bottom-sheet-css"))return;let e=document.createElement("style");e.id="pw-bottom-sheet-css",e.textContent=hw,document.head.appendChild(e)},[])}var t9='button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',bw=':is([role="menuitem"], [role="menuitemradio"], [role="menuitemcheckbox"]):not([aria-disabled="true"])';function $w(){return(0,Ct.jsx)("div",{"aria-hidden":"true","data-part":"handle",style:{height:Ve.handleZone,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,Ct.jsx)("div",{style:{width:Ve.pillWidth,height:Ve.pillHeight,borderRadius:Ve.pillRadius,background:Ps.handle}})})}function vw({title:e,titleId:t,titleRef:r,showBack:n=!1,onBack:o,onClose:i,backLabel:a="Back",closeLabel:s="Close"}){return(0,Ct.jsxs)("div",{"data-part":"header",style:{display:"flex",alignItems:"center",gap:Ve.headerGap,minHeight:Ve.headerMinH,boxSizing:"border-box",padding:`${Ve.headerPadTop} ${Ve.headerPadX} ${Ve.headerPadBottom}`},children:[n&&(0,Ct.jsx)(ai,{name:"arrow_back",size:"Medium",label:a,onClick:o}),(0,Ct.jsx)("div",{style:{flex:1,minWidth:0,paddingLeft:Ve.titleInset},children:(0,Ct.jsx)("h2",{id:t,ref:r,tabIndex:-1,style:{margin:0,outline:"none",color:Ps.title,...mw.title,overflowWrap:"anywhere",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:e})}),(0,Ct.jsx)(ai,{name:"close",size:"Medium",label:s,onClick:i})]})}function yw({children:e}){return(0,Ct.jsx)("div",{"data-part":"footer",style:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:Ve.footerGap,flexShrink:0,borderTop:`${Ve.footerBorder} solid ${Ps.footerBorder}`,padding:`${Ve.footerPadTop} ${Ve.footerPad} calc(${Ve.footerPad} + env(safe-area-inset-bottom, 0px))`},children:e})}function xw({onClick:e,animation:t,opacity:r}){return(0,Ct.jsx)("div",{"data-part":"overlay","aria-hidden":"true",onClick:e,style:{position:"absolute",inset:0,background:Ps.overlay,animation:t,opacity:r}})}function Qf({open:e,onOpenChange:t,title:r,children:n,menu:o=!1,menuProps:i,showHandle:a=!0,footer:s,showBack:l=!1,onBack:c,initialFocus:d="auto",returnFocusRef:u,closeLabel:p="Close",backLabel:b="Back",container:g,contained:y=!1,className:$="",style:m}){gw();let f=Et(),h=`pwbs${(0,it.useId)().replace(/[^a-zA-Z0-9]/g,"")}`,[v,x]=(0,it.useState)(!!e),[w,P]=(0,it.useState)(!1),[k,T]=(0,it.useState)(0),[E,F]=(0,it.useState)(!1),_=(0,it.useRef)(null),I=(0,it.useRef)(null),C=(0,it.useRef)(null),L=(0,it.useRef)(null),O=(0,it.useRef)(null),M=(0,it.useRef)(null),Z=()=>t?.(!1);(0,it.useEffect)(()=>{e?(typeof document<"u"&&(O.current=document.activeElement),P(!1),T(0),x(!0)):v&&P(!0)},[e]);let R=ce=>{ce.target!==_.current||!w||(x(!1),P(!1),T(0),te.current=!0)},te=(0,it.useRef)(!1);(0,it.useEffect)(()=>{if(!v||!L.current||y)return;let ce=L.current,H=document.body.style.overflow;document.body.style.overflow="hidden";let de=[...ce.parentNode?.children||[]].filter(Y=>Y!==ce&&!Y.inert&&Y.tagName!=="SCRIPT"&&Y.tagName!=="STYLE");return de.forEach(Y=>{Y.inert=!0}),()=>{document.body.style.overflow=H,de.forEach(Y=>{Y.inert=!1})}},[v]),(0,it.useEffect)(()=>{if(v||!te.current)return;te.current=!1;let ce=u?.current||O.current;ce&&ce.isConnected&&typeof ce.focus=="function"&&ce.focus()},[v]),(0,it.useEffect)(()=>{if(!v||w||!_.current||y)return;let ce=I.current?[...I.current.querySelectorAll(bw)]:[],H=C.current;d==="first"?H=ce[0]||_.current.querySelector(t9)||H:d==="auto"&&o&&ce.length&&(H=ce.find(V=>V.getAttribute("aria-checked")==="true")||ce[0]),H?.focus({preventScroll:!0})},[v,w]);let X=(0,it.useRef)(!0);(0,it.useEffect)(()=>{if(X.current){X.current=!1;return}v&&!y&&C.current?.focus({preventScroll:!0})},[l]);let K=ce=>{if(ce.key==="Escape"){ce.stopPropagation(),ce.nativeEvent?.stopImmediatePropagation?.(),Z();return}if(ce.key==="Tab"&&_.current){let H=[..._.current.querySelectorAll(t9)].filter(Y=>Y.offsetParent!==null||Y===document.activeElement);if(!H.length){ce.preventDefault();return}let V=H[0],de=H[H.length-1];ce.shiftKey&&(document.activeElement===V||document.activeElement===C.current)?(ce.preventDefault(),de.focus()):!ce.shiftKey&&document.activeElement===de&&(ce.preventDefault(),V.focus());return}},j=ce=>{ce.button!==void 0&&ce.button!==0||I.current?.contains(ce.target)&&I.current.scrollTop>0||(M.current={y:ce.clientY,t:performance.now(),id:ce.pointerId,active:!1})},z=ce=>{let H=M.current;if(!H||H.id!==ce.pointerId)return;let V=ce.clientY-H.y;if(!H.active){if(V<-4){M.current=null;return}if(V<8)return;H.active=!0,F(!0),_.current?.setPointerCapture?.(ce.pointerId)}T(Math.max(0,V))},N=ce=>{let H=M.current;if(M.current=null,!H||!H.active)return;F(!1);let V=Math.max(0,ce.clientY-H.y),de=V/Math.max(1,performance.now()-H.t);V>Ve.dismissDistance||de>Ve.flickSpeed?Z():T(0)};if(!v||typeof document>"u")return null;let ie=f?w?fa.fadeOut:fa.fadeIn:w?fa.exit:fa.enter,J=k>0&&!w,Ee=J&&_.current?Math.max(0,1-k/_.current.offsetHeight):void 0,ft=(0,Ct.jsxs)("div",{ref:L,className:`pw-bottom-sheet ${$}`,"data-open":!w||void 0,style:{position:y?"absolute":"fixed",inset:0,zIndex:y?1:1e3,display:"flex",flexDirection:"column",justifyContent:"flex-end",alignItems:"center",...m},children:[(0,Ct.jsx)(xw,{onClick:Z,animation:w?fa.fadeOut:fa.fadeIn,opacity:Ee}),(0,Ct.jsxs)("div",{ref:_,role:"dialog","aria-modal":"true","aria-labelledby":h,onKeyDown:K,onAnimationEnd:R,onPointerDown:j,onPointerMove:z,onPointerUp:N,onPointerCancel:N,style:{position:"relative",width:"100%",maxWidth:Ve.maxWidth,boxSizing:"border-box",maxHeight:y?`calc(100% - ${Ve.topClearance}px)`:`calc(100dvh - ${Ve.topClearance}px)`,display:"flex",flexDirection:"column",gap:Ve.sheetGap,background:Ps.surface,boxShadow:Ps.shadow,borderRadius:`${Ve.radius} ${Ve.radius} 0 0`,animation:J?"none":ie,transform:J?`translateY(${k}px)`:void 0,transition:E||f?"none":fa.settle,touchAction:"pan-y"},children:[(0,Ct.jsxs)("div",{"data-part":"top",style:{display:"flex",flexDirection:"column",flexShrink:0},children:[a&&(0,Ct.jsx)($w,{}),(0,Ct.jsx)(vw,{title:r,titleId:h,titleRef:C,showBack:l,onBack:c,onClose:Z,closeLabel:p,backLabel:b})]}),(0,Ct.jsx)("div",{ref:I,className:"pw-bottom-sheet__body","data-part":"body",style:{display:"flex",flexDirection:"column",gap:Ve.bodyGap,minHeight:0,flex:"0 1 auto",overflowY:"auto",overflowX:"hidden",overscrollBehavior:"contain",padding:s?`0 ${Ve.bodyPad} ${Ve.bodyPad}`:`0 ${Ve.bodyPad} calc(${Ve.bodyPad} + env(safe-area-inset-bottom, 0px))`},children:(0,Ct.jsx)(em.Provider,{value:Z,children:o?(0,Ct.jsx)(tm,{bare:!0,label:r,...i,children:n}):n})}),s&&(0,Ct.jsx)(yw,{children:s})]})]});return y?ft:(0,r9.createPortal)(ft,g||document.body)}var W=S(he(),1),rm=e=>e?{inert:"","aria-hidden":!0}:{};Xn();var Ie=e=>`var(--semantic-color-${e})`,nm=e=>`var(${e})`,Sr=e=>`var(--semantic-layout-units-${e})`,pa=e=>`var(--contextual-layout-units-${e})`,n9=e=>typeof e=="number"?-e:`calc(-1 * ${e})`,Ce={fill:{navBase:"transparent",navHover:Ie("fill-action-selection-hover"),navActive:Ie("fill-action-selection-selected"),navTrail:Ie("fill-action-selection-trail"),infoSubtle:Ie("stroke-static-neutral-faint")},surface:{navLight:Ie("fill-surface-elevated"),navElevated:Ie("fill-surface-elevated")},text:{navBase:Ie("foreground-action-secondary-rest"),navHover:Ie("foreground-action-secondary-hover"),navActive:Ie("foreground-action-secondary-pressed"),navDisabled:Ie("foreground-action-disabled"),secondary:Ie("foreground-static-neutral-subtle"),secondarySubtle:Ie("foreground-static-neutral-subtle"),strong:Ie("foreground-static-neutral-strong")},icon:{navBase:Ie("foreground-action-secondary-rest"),navHover:Ie("foreground-action-secondary-hover"),navActive:Ie("foreground-action-secondary-pressed"),navDisabled:Ie("foreground-action-disabled"),actionSecondary:Ie("foreground-action-secondary-rest")},indicator:Ie("fill-action-selection-indicator"),radius:pa("navitem-cornerradius")},re={navPadH:pa("sidenav-padding-horizontal-expanded"),navColPadH:pa("sidenav-padding-horizontal-collapsed"),navPadTop:pa("sidenav-padding-vertical"),navW:pa("sidenav-width-expanded"),navWcol:pa("sidenav-width-collapsed"),menuGap:pa("sidenav-gap-vertical"),menuPadT:Sr("padding-tight"),menuPadB:Sr("padding-xxwide"),itemH:Sr("accessibility-touch-target-aa-height"),iconWrap:24,iconInner:16,rowPadH:Sr("padding-tight"),railIconInset:Sr("padding-xxtight"),textPad:Sr("padding-xtight"),childIndent:24,stripeW:4,stripeOuterPadV:Sr("padding-xxxtight"),stripeInnerPadV:Sr("padding-xxtight"),stripeRadius:Sr("cornerradius-base"),itemPadH:Sr("padding-xxtight"),chevPad:"var(--semantic-layout-units-padding-xxxxtight, 2px)",chevBox:20,chevFrame:16,chevGlyph:12,childRowPadL:Sr("padding-tight"),childMainPadL:Sr("padding-relaxed"),colPadL:Sr("padding-medium"),colPadR:Sr("padding-tight"),collapseGap:Sr("padding-xxtight")};function a9({visible:e,inset:t}){return(0,W.jsx)("div",{style:{width:re.stripeW,alignSelf:"stretch",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",padding:t?`${t} 0`:`calc(${re.stripeOuterPadV} + ${re.stripeInnerPadV}) 0`,boxSizing:"border-box",flexShrink:0},children:(0,W.jsx)("div",{style:{flex:"1 0 0",width:re.stripeW,minHeight:1,borderRadius:`0 ${re.stripeRadius} ${re.stripeRadius} 0`,backgroundColor:e?Ce.indicator:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"}})})}function o9({item:e,isActive:t,isTrail:r,isExpanded:n,isSidebarCollapsed:o,isChild:i,onClick:a,onToggle:s,popoverOpen:l,anchorRect:c,onPopoverEnter:d,onPopoverLeave:u,activeId:p,chevronUp:b,chevronDown:g,collapseIcon:y,expandIcon:$}){let[m,f]=(0,at.useState)(!1),h=!!(e.children&&e.children.length),v=(0,at.useRef)(null),x=h&&n&&!o,w=r&&(!n||o),k=w||t&&!(o&&h),T=!!e.disabled,E=T?Ce.fill.navBase:t||w?Ce.fill.navActive:x?Ce.fill.navTrail:m?Ce.fill.navHover:Ce.fill.navBase,F=T?Ce.text.navDisabled:t||w||x?Ce.text.navActive:m?Ce.text.navHover:Ce.text.navBase,_=T?Ce.icon.navDisabled:t||w||x?Ce.icon.navActive:m?Ce.icon.navHover:Ce.icon.navBase,I=()=>{T||(h&&!o?s(e.id):a(e.id))};return(0,W.jsxs)("div",{ref:v,style:{position:"relative"},children:[(0,W.jsxs)("div",{className:jr,role:"button",tabIndex:T?-1:0,"aria-current":t?"page":void 0,"aria-disabled":T?!0:void 0,"aria-expanded":h&&!o?n:void 0,onClick:I,onKeyDown:C=>!T&&(C.key==="Enter"||C.key===" ")&&I(),onMouseEnter:()=>{if(!T&&(f(!0),o&&d)){let C=v.current?v.current.getBoundingClientRect():null;d(e.id,C)}},onMouseLeave:()=>{T||(f(!1),o&&u&&u())},style:{display:"flex",alignItems:"center",minHeight:re.itemH,width:o?re.itemH:"100%",marginLeft:o?"auto":void 0,marginRight:o?"auto":void 0,paddingRight:o?re.railIconInset:void 0,boxSizing:"border-box",borderRadius:Ce.radius,backgroundColor:E,cursor:T?"not-allowed":"pointer",overflow:"hidden",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)",userSelect:"none"},children:[(0,W.jsx)(a9,{visible:k}),!i&&e.icon&&(0,W.jsx)("div",{style:{width:re.iconWrap,height:re.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:o?"auto":re.itemPadH,marginRight:o?"auto":void 0,color:_},children:typeof e.icon=="function"?e.icon({size:re.iconInner,color:_}):typeof e.icon=="string"?(0,W.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:re.iconInner,lineHeight:1,color:_,display:"block",fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24"},children:e.icon}):at.default.cloneElement(e.icon,{style:{color:_}})}),(0,W.jsx)("div",{style:{flex:o?"0 0 0px":1,minWidth:0,paddingLeft:o?0:i?`calc(${re.childRowPadL} + ${re.childMainPadL} + ${re.textPad})`:re.textPad,paddingRight:o?0:i?re.childRowPadL:re.itemPadH,maxWidth:o?0:200,opacity:o?0:1,overflow:"hidden",pointerEvents:o?"none":"auto",transition:"max-width var(--motion-duration-6) var(--motion-easing-emphasized), opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:(0,W.jsx)("p",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:F,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:e.label})}),!i&&h&&!o&&(0,W.jsx)("div",{style:{width:re.chevBox,height:re.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,opacity:o?0:1,overflow:"hidden",transition:"max-width var(--motion-duration-6) var(--motion-easing-emphasized), opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:(0,W.jsx)("div",{style:{transform:n?"rotate(180deg)":"rotate(0deg)",transition:"transform var(--motion-duration-5) var(--motion-easing-accordion)"},children:g?g({size:re.chevGlyph,color:_}):(0,W.jsx)(Rw,{size:re.chevGlyph,color:_})})})]}),o&&l&&c&&(0,W.jsx)("div",{style:{position:"fixed",left:c.right,top:c.top,width:8,height:c.height,zIndex:999},onMouseEnter:()=>{let C=v.current?v.current.getBoundingClientRect():c;d&&d(e.id,C)}}),o&&h&&l&&c&&(0,W.jsx)(Sw,{item:e,onClick:a,anchorRect:c,activeId:p,onMouseEnter:()=>{let C=v.current?v.current.getBoundingClientRect():c;d&&d(e.id,C)},onMouseLeave:u}),o&&!h&&l&&c&&(0,W.jsx)(Cw,{label:e.label,anchorRect:c,onMouseEnter:()=>{let C=v.current?v.current.getBoundingClientRect():c;d&&d(e.id,C)},onMouseLeave:u})]})}function Cw({label:e,anchorRect:t,onMouseEnter:r,onMouseLeave:n}){return t?Jf.default.createPortal((0,W.jsx)("div",{onMouseEnter:r,onMouseLeave:n,style:{position:"fixed",left:t.right+8,top:t.top+t.height/2,zIndex:1e3,backgroundColor:Ce.surface.navLight,border:`0.5px solid ${Ie("stroke-static-neutral-faint")}`,borderRadius:"var(--semantic-layout-units-cornerradius-base)",boxShadow:nm("--elevation-widget"),padding:"var(--semantic-layout-units-padding-xxtight) var(--semantic-layout-units-padding-xtight)",whiteSpace:"nowrap",pointerEvents:"auto",animation:"popoverInCentered var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:(0,W.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:400,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:Ce.text.strong},children:e})}),document.body):null}function ww({label:e}){return(0,W.jsx)("div",{style:{display:"flex",alignItems:"center",width:"100%",boxSizing:"border-box",paddingLeft:"var(--semantic-layout-units-padding-tight)",paddingRight:"var(--semantic-layout-units-padding-xtight)",paddingTop:"var(--semantic-layout-units-padding-xxtight)",paddingBottom:"var(--semantic-layout-units-padding-xxtight)"},children:(0,W.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:600,fontSize:"var(--semantic-type-font-size-xs)",lineHeight:"var(--semantic-type-line-height-xs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",color:Ce.text.secondary,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})})}function Sw({item:e,onClick:t,anchorRect:r,onMouseEnter:n,onMouseLeave:o,activeId:i}){return r?Jf.default.createPortal((0,W.jsxs)("div",{onMouseEnter:n,onMouseLeave:o,style:{position:"fixed",left:r.right+8,top:r.top,zIndex:1e3,backgroundColor:Ce.surface.navElevated,border:`0.5px solid ${Ie("stroke-static-neutral-faint")}`,borderRadius:"var(--primitive-unit-unit-10)",boxShadow:nm("--elevation-lift"),padding:"var(--semantic-layout-units-padding-xtight) var(--semantic-layout-units-padding-xxtight)",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",boxSizing:"border-box",minWidth:220,maxWidth:360,pointerEvents:"auto",animation:"popoverIn var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:[(0,W.jsx)(ww,{label:e.label}),e.children.map(a=>(0,W.jsx)(Wc,{item:a,onClick:t,activeId:i},a.id))]}),document.body):null}function Wc({item:e,onClick:t,activeId:r}){let[n,o]=(0,at.useState)(!1),i=e.id===r,a=i?Ce.fill.navActive:n?Ce.fill.navHover:"transparent",s=Ce.text.strong;return(0,W.jsxs)("div",{onClick:()=>t(e.id),className:Za,role:"menuitem",tabIndex:0,"aria-current":i?"page":void 0,onKeyDown:l=>(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),t(e.id)),onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),onFocus:()=>o(!0),onBlur:()=>o(!1),style:{position:"relative",display:"flex",alignItems:"center",minHeight:re.itemH,boxSizing:"border-box",padding:"var(--semantic-layout-units-padding-tight)",borderRadius:"var(--semantic-layout-units-cornerradius-base)",overflow:"hidden",backgroundColor:a,cursor:"pointer",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,W.jsx)("div",{style:{position:"absolute",left:0,top:"var(--semantic-layout-units-padding-xtight)",bottom:"var(--semantic-layout-units-padding-xtight)",width:re.stripeW,borderRadius:`0 ${re.stripeRadius} ${re.stripeRadius} 0`,backgroundColor:i?Ce.indicator:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"}}),(0,W.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:s,flex:1},children:e.label})]})}var i9=(e,t)=>!!e&&(typeof t.composedPath=="function"?t.composedPath().includes(e):e.contains(t.target)),fo={restStroke:Ie("stroke-action-primary-subtle-rest"),hoverFill:Ie("fill-action-primary-subtle-hover"),hoverStroke:Ie("stroke-action-primary-strong-hover"),hoverFg:Ie("foreground-action-primary-on-subtle-hover"),openFill:Ie("fill-action-primary-subtle-pressed"),openStroke:Ie("stroke-action-primary-strong-pressed"),openFg:Ie("foreground-action-primary-on-subtle-pressed"),restFg:Ie("foreground-static-neutral-bold"),separator:Ie("stroke-static-neutral-base")};function Ew({label:e,icon:t="apps",home:r,apps:n=[],activeId:o,onSelect:i,collapsed:a=!1,presentation:s="popover",sheetTitle:l}){let c=[r,...n].filter(Boolean).find(I=>I.id===o),d=c&&c.label||e||r&&r.label,[u,p]=(0,at.useState)(!1),[b,g]=(0,at.useState)(!1),[y,$]=(0,at.useState)(!1),[m,f]=(0,at.useState)(null),h=(0,at.useRef)(null),v=(0,at.useRef)(null),x=(0,at.useRef)(null),w=(0,at.useRef)(!1),P=()=>{if(y){$(!1);return}f(h.current?h.current.getBoundingClientRect():null),$(!0)};(0,at.useEffect)(()=>{if(!y||s==="sheet"||!w.current)return;w.current=!1;let I=setTimeout(()=>{let C=x.current?[...x.current.querySelectorAll('[role="menuitem"]')]:[];(C.find(L=>L.getAttribute("aria-current"))||C[0])?.focus()},0);return()=>clearTimeout(I)},[y,s]);let k=I=>{let C=[...I.currentTarget.querySelectorAll('[role="menuitem"]')],L=C.indexOf(document.activeElement),O=null;I.key==="ArrowDown"?O=(L+1)%C.length:I.key==="ArrowUp"?O=(L-1+C.length)%C.length:I.key==="Home"?O=0:I.key==="End"&&(O=C.length-1),!(O===null||!C.length)&&(I.preventDefault(),C[O].focus())},T=I=>{$(!1),i&&i(I),v.current&&v.current.focus()};(0,at.useEffect)(()=>{if(!y||s==="sheet")return;let I=L=>{i9(h.current,L)||i9(x.current,L)||$(!1)},C=L=>{L.key==="Escape"&&($(!1),v.current&&v.current.focus())};return document.addEventListener("mousedown",I),document.addEventListener("keydown",C),()=>{document.removeEventListener("mousedown",I),document.removeEventListener("keydown",C)}},[y,s]);let E=y||b,F=E?fo.openFg:u?fo.hoverFg:fo.restFg,_=r||{id:"__home",label:e};return(0,W.jsxs)("div",{ref:h,style:{boxSizing:"border-box",width:"100%",minHeight:re.itemH,flexShrink:0,padding:a?`${re.textPad} 0`:`${re.textPad} ${re.chevPad}`},children:[(0,W.jsxs)("button",{ref:v,className:wu,type:"button",onClick:P,onKeyDown:I=>{(I.key==="Enter"||I.key===" "||I.key==="ArrowDown")&&(w.current=!0),I.key==="ArrowDown"&&!y&&(I.preventDefault(),P())},"aria-haspopup":"menu","aria-expanded":y,"aria-label":a?`Switch application: ${d}`:void 0,onMouseEnter:()=>p(!0),onMouseLeave:()=>{p(!1),g(!1)},onMouseDown:()=>g(!0),onMouseUp:()=>g(!1),onBlur:()=>g(!1),style:{display:"flex",alignItems:"center",width:"100%",height:re.itemH,boxSizing:"border-box",margin:0,cursor:"pointer",fontFamily:"inherit",justifyContent:a?"center":"flex-start",gap:a?0:"var(--semantic-layout-units-gap-xxxtight)",paddingLeft:re.itemPadH,paddingRight:re.itemPadH,borderRadius:"var(--semantic-layout-units-cornerradius-base)",background:E?fo.openFill:u?fo.hoverFill:"transparent",border:"none","--pw-ring-keep-shadow":"var(--elevation-lift)",boxShadow:`inset 0 0 0 ${E?"var(--contextual-layout-units-button-borderwidth-selected, 1px)":"var(--contextual-layout-units-button-borderwidth-rest, 0.75px)"} ${E?fo.openStroke:u?fo.hoverStroke:fo.restStroke}, var(--elevation-lift)`,transition:"background-color var(--motion-duration-3) var(--motion-easing-standard), box-shadow var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,W.jsx)("span",{style:{width:36,height:36,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,W.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:re.iconInner,lineHeight:1,display:"block",color:F,fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:t})}),!a&&(0,W.jsx)("span",{style:{flex:1,minWidth:0,textAlign:"left",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:F,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:d})]}),s==="sheet"&&(0,W.jsxs)(Qf,{open:y,title:l||d,menu:!0,returnFocusRef:v,onOpenChange:I=>{I||$(!1)},children:[(0,W.jsx)(Wc,{item:_,onClick:T,activeId:o}),n.length>0&&(0,W.jsx)("div",{role:"separator",style:{padding:"var(--semantic-layout-units-padding-xtight)"},children:(0,W.jsx)("div",{style:{borderTop:`0.5px solid ${fo.separator}`}})}),n.map(I=>(0,W.jsx)(Wc,{item:I,onClick:T,activeId:o},I.id))]}),y&&s!=="sheet"&&m&&Jf.default.createPortal((0,W.jsxs)("div",{ref:x,role:"menu","aria-label":d,onKeyDown:k,style:{position:"fixed",left:`calc(${m.right}px + var(--semantic-layout-units-gap-xxxtight))`,top:m.top,zIndex:1e3,boxSizing:"border-box",minWidth:220,maxWidth:360,maxHeight:`calc(100vh - ${Math.round(m.top)}px - var(--semantic-layout-units-padding-base))`,overflowY:"auto",background:Ce.surface.navElevated,border:`var(--semantic-layout-units-borderwidth-xthin, 0.5px) solid ${Ie("stroke-static-neutral-faint")}`,borderRadius:"var(--semantic-layout-units-cornerradius-large)",boxShadow:nm("--elevation-lift"),padding:"var(--semantic-layout-units-padding-xtight) var(--semantic-layout-units-padding-xxtight)",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",animation:"popoverIn var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:[(0,W.jsx)(Wc,{item:_,onClick:T,activeId:o}),n.length>0&&(0,W.jsx)("div",{role:"separator",style:{padding:"var(--semantic-layout-units-padding-xtight)"},children:(0,W.jsx)("div",{style:{borderTop:`0.5px solid ${fo.separator}`}})}),n.map(I=>(0,W.jsx)(Wc,{item:I,onClick:T,activeId:o},I.id))]}),document.body)]})}function s9({label:e,icon:t=null}){return(0,W.jsxs)("span",{style:{display:"flex",alignItems:"center",minWidth:0,flex:1,gap:"var(--semantic-layout-units-gap-xxtight)"},children:[t&&(0,W.jsx)("span",{"aria-hidden":"true",style:{width:28,height:28,flexShrink:0,overflow:"hidden",display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--semantic-layout-units-cornerradius-base)",background:Ie("fill-static-brand-strong"),color:Ie("fill-static-neutral-mono")},children:t}),(0,W.jsx)("span",{style:{flex:1,minWidth:0,fontFamily:"var(--semantic-type-family-brand)",fontWeight:"var(--semantic-type-weight-semibold)",fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-tight)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:Ie("foreground-static-neutral-strong"),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})]})}function kw({isSidebarCollapsed:e,onToggle:t,collapseIcon:r,expandIcon:n,headerStart:o=null,hideToggle:i=!1}){let[a,s]=(0,at.useState)(!1),l=Ce.icon.actionSecondary,c=!e&&o;return(0,W.jsxs)("div",{style:{width:"100%",flexShrink:0},children:[(0,W.jsxs)("div",{style:{display:"flex",alignItems:"center",height:re.itemH,width:"100%",justifyContent:c?"space-between":e?"center":"flex-end",gap:"var(--semantic-layout-units-gap-xxtight)"},children:[c&&(0,W.jsx)("div",{style:{display:"flex",alignItems:"center",minWidth:0,flex:1},children:o}),!i&&(0,W.jsx)("div",{onClick:t,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),"aria-label":e?"Expand navigation":"Collapse navigation",className:jr,role:"button",tabIndex:0,onKeyDown:d=>(d.key==="Enter"||d.key===" ")&&t(),style:{display:"flex",alignItems:"center",height:re.itemH,flexShrink:0,cursor:"pointer"},children:(0,W.jsx)("div",{style:{width:re.itemH,height:re.itemH,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,W.jsx)("div",{style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--primitive-unit-unit-10)",backgroundColor:a?Ce.fill.navHover:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"},children:e?n?n({size:12,color:l}):(0,W.jsx)(Mw,{color:l}):r?r({size:12,color:l}):(0,W.jsx)(_w,{color:l})})})})]}),(0,W.jsx)("div",{style:{padding:"var(--semantic-layout-units-padding-xxxtight) 0"},children:(0,W.jsx)("div",{style:{height:1,backgroundColor:Ce.fill.infoSubtle}})})]})}function l9({label:e}){return(0,W.jsx)("div",{style:{display:"flex",alignItems:"center",height:40,width:"100%",boxSizing:"border-box",paddingLeft:"var(--semantic-layout-units-padding-xxtight)",paddingRight:"var(--semantic-layout-units-padding-xxtight)",paddingTop:"var(--semantic-layout-units-padding-tight)",paddingBottom:"var(--semantic-layout-units-padding-tight)",flexShrink:0},children:(0,W.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:600,fontSize:"var(--semantic-type-font-size-xxs)",lineHeight:"var(--semantic-type-line-height-xxs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",textTransform:"uppercase",color:Ce.text.secondarySubtle,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})})}function Pw({color:e}){return(0,W.jsx)("svg",{width:re.iconInner,height:re.iconInner,viewBox:"0 0 16 16","aria-hidden":"true",style:{display:"block",flexShrink:0},children:(0,W.jsx)("circle",{cx:"8",cy:"8",r:"6.6667",fill:e})})}function Tw({item:e,isActive:t,onClick:r}){let[n,o]=(0,at.useState)(!1),i=t?Ce.fill.navActive:n?Ce.fill.navHover:"transparent",a=t?Ce.text.navActive:n?Ce.text.navHover:Ce.text.navBase,s=t?Ce.icon.navActive:n?Ce.icon.navHover:Ce.icon.navBase;return(0,W.jsxs)("div",{onClick:()=>r&&r(e.id),onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),className:jr,role:"button",tabIndex:0,onKeyDown:l=>(l.key==="Enter"||l.key===" ")&&r&&r(e.id),style:{display:"flex",alignItems:"center",height:48,minHeight:re.itemH,width:"100%",borderRadius:Ce.radius,backgroundColor:i,cursor:"pointer",overflow:"hidden",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)",userSelect:"none"},children:[(0,W.jsx)(a9,{visible:t,inset:re.stripeInnerPadV}),(0,W.jsx)("div",{style:{width:re.iconWrap,height:re.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:re.rowPadH},children:(0,W.jsx)(Pw,{color:s})}),(0,W.jsx)("div",{style:{flex:1,minWidth:0,paddingLeft:re.textPad,paddingRight:`calc(${re.textPad} + ${re.rowPadH})`},children:(0,W.jsx)("p",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:400,fontSize:"var(--semantic-type-font-size-xs)",lineHeight:"var(--semantic-type-line-height-xs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",color:a,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:e.label})})]})}function Lw({label:e,items:t,activeId:r,onNavigate:n}){return(0,W.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xtight)",width:"100%",flexShrink:0},children:[(0,W.jsx)(l9,{label:e}),(0,W.jsx)("div",{style:{display:"flex",flexDirection:"column"},children:t.map(o=>(0,W.jsx)(Tw,{item:o,isActive:o.id===r,onClick:n},o.id))})]})}function Ts({items:e,sections:t,listSection:r,activeId:n,onNavigate:o,collapsed:i=!1,onCollapseChange:a,hideCollapseButton:s=!1,defaultExpanded:l={},className:c="",headerEnd:d=null,children:u=null,footer:p=null,appSwitcher:b=null,headerStart:g=null}){let[y,$]=(0,at.useState)(l),[m,f]=(0,at.useState)(null),[h,v]=(0,at.useState)(null),x=(0,at.useRef)(null),w=t?t.flatMap(_=>_.items):e||[],P=(()=>{let _=w.find(I=>I.children&&I.children.some(C=>C.id===n));return _?_.id:null})(),k=_=>$(I=>{if(!I[_])return{[_]:!0};let L={...I};return delete L[_],L}),T=(_,I)=>{clearTimeout(x.current),f(_),I&&v(I)},E=()=>{x.current=setTimeout(()=>{f(null),v(null)},300)},F=_=>{let I=!!(_.children&&_.children.length),C=_.id===n,L=_.id===P,O=!!y[_.id];return(0,W.jsxs)("div",{children:[(0,W.jsx)(o9,{item:_,isActive:C,isTrail:L,isExpanded:O,isSidebarCollapsed:i,isChild:!1,onClick:o,onToggle:k,popoverOpen:m===_.id,anchorRect:m===_.id?h:null,onPopoverEnter:T,onPopoverLeave:E,activeId:n}),I&&!i&&(0,W.jsx)("div",{...rm(!O),style:{display:"grid",gridTemplateRows:O?"1fr":"0fr",marginTop:O?re.menuGap:0,transition:"grid-template-rows var(--motion-duration-5) var(--motion-easing-accordion), margin-top var(--motion-duration-5) var(--motion-easing-accordion)"},children:(0,W.jsx)("div",{style:{overflow:"hidden",display:"flex",flexDirection:"column",gap:re.menuGap,opacity:O?1:0,transition:O?"opacity var(--motion-duration-4) var(--motion-easing-standard) 70ms":"opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:_.children.map(M=>(0,W.jsx)(o9,{item:M,isActive:M.id===n,isTrail:!1,isExpanded:!1,isSidebarCollapsed:!1,isChild:!0,onClick:o,onToggle:()=>{}},M.id))})})]},_.id)};return(0,W.jsxs)("nav",{className:c,style:{width:i?re.navWcol:re.navW,height:"100%",backgroundColor:Ce.surface.navLight,display:"flex",flexDirection:"column",paddingTop:re.navPadTop,paddingBottom:0,paddingLeft:i?re.navColPadH:re.navPadH,paddingRight:i?re.navColPadH:re.navPadH,boxSizing:"border-box",flexShrink:0,transition:"width var(--motion-duration-6) var(--motion-easing-emphasized)",borderRight:`1px solid ${Ce.fill.infoSubtle}`,overflow:"hidden"},children:[(!s||d||g)&&(0,W.jsxs)("div",{style:{flexShrink:0},children:[(!s||g)&&(0,W.jsx)(kw,{isSidebarCollapsed:i,headerStart:g,hideToggle:s,onToggle:()=>a&&a(!i)}),d&&(0,W.jsx)("div",{...rm(i),style:{opacity:i?0:1,maxHeight:i?0:200,overflow:"hidden",pointerEvents:i?"none":"auto",padding:i?0:`0 ${re.navPadH}`,transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)"},children:d})]}),(0,W.jsxs)(Lu,{style:{flex:1,minHeight:0,marginRight:n9(i?re.navColPadH:re.navPadH),marginLeft:n9("var(--contextual-layout-units-focusring-width)")},viewStyle:{display:"flex",flexDirection:"column",gap:re.menuGap,paddingTop:re.menuPadT,paddingRight:i?re.navColPadH:re.navPadH,paddingLeft:"var(--contextual-layout-units-focusring-width)"},children:[b&&(0,W.jsx)(Ew,{...b,collapsed:i}),t&&t.map(({section:_,items:I},C)=>(0,W.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:re.menuGap,flexShrink:0},children:[(0,W.jsx)("div",{style:{opacity:i?0:1,maxHeight:i?0:40,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)",flexShrink:0},children:(0,W.jsx)(l9,{label:_})}),C>0&&(0,W.jsx)("div",{style:{opacity:i?1:0,maxHeight:i?5:0,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)",padding:"2px 0",flexShrink:0},children:(0,W.jsx)("div",{style:{height:1,backgroundColor:Ce.fill.infoSubtle}})}),I.map(F)]},_)),!t&&(e||[]).map(F),r&&(0,W.jsx)("div",{...rm(i),style:{opacity:i?0:1,maxHeight:i?0:400,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)"},children:(0,W.jsx)(Lw,{label:r.label,items:r.items,activeId:n,onNavigate:o})}),u&&(0,W.jsx)("div",{style:{flexShrink:0},children:u}),(0,W.jsx)("div",{style:{flex:1,minHeight:re.menuPadB}})]}),p&&(0,W.jsx)("div",{style:{flexShrink:0,borderTop:`0.5px solid ${Ce.fill.infoSubtle}`,padding:i?`8px ${re.navColPadH}`:`8px ${re.navPadH}`,transition:"padding var(--motion-duration-6) var(--motion-easing-emphasized)"},children:p})]})}function Rw({size:e=12,color:t}){return(0,W.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:(0,W.jsx)("path",{d:"M6 7.475C5.93333 7.475 5.87083 7.46458 5.8125 7.44375C5.75417 7.42292 5.7 7.3875 5.65 7.3375L3.35 5.0375C3.25833 4.94583 3.2125 4.82917 3.2125 4.6875C3.2125 4.54583 3.25833 4.42917 3.35 4.3375C3.44167 4.24583 3.55833 4.2 3.7 4.2C3.84167 4.2 3.95833 4.24583 4.05 4.3375L6 6.2875L7.95 4.3375C8.04167 4.24583 8.15833 4.2 8.3 4.2C8.44167 4.2 8.55833 4.24583 8.65 4.3375C8.74167 4.42917 8.7875 4.54583 8.7875 4.6875C8.7875 4.82917 8.74167 4.94583 8.65 5.0375L6.35 7.3375C6.3 7.3875 6.24583 7.42292 6.1875 7.44375C6.12917 7.46458 6.06667 7.475 6 7.475Z",fill:t})})}function _w({size:e=12,color:t=Ce.icon.actionSecondary}){return(0,W.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",children:(0,W.jsx)("path",{d:"M5.66667 7.86667V4.13333C5.66667 3.97778 5.6 3.87222 5.46667 3.81667C5.33333 3.76111 5.21111 3.78889 5.1 3.9L3.46667 5.53333C3.33333 5.66667 3.26667 5.82222 3.26667 6C3.26667 6.17778 3.33333 6.33333 3.46667 6.46667L5.1 8.1C5.21111 8.21111 5.33333 8.23889 5.46667 8.18333C5.6 8.12778 5.66667 8.02222 5.66667 7.86667ZM1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H10.6667C11.0333 0 11.3472 0.130556 11.6083 0.391667C11.8694 0.652778 12 0.966667 12 1.33333V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM8.66667 10.6667H10.6667V1.33333H8.66667V10.6667ZM7.33333 10.6667V1.33333H1.33333V10.6667H7.33333Z",fill:t})})}function Mw({size:e=12,color:t=Ce.icon.actionSecondary}){return(0,W.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",children:(0,W.jsx)("path",{d:"M6.33333 4.13333V7.86667C6.33333 8.02222 6.4 8.12778 6.53333 8.18333C6.66667 8.23889 6.78889 8.21111 6.9 8.1L8.53333 6.46667C8.66667 6.33333 8.73333 6.17778 8.73333 6C8.73333 5.82222 8.66667 5.66667 8.53333 5.53333L6.9 3.9C6.78889 3.78889 6.66667 3.76111 6.53333 3.81667C6.4 3.87222 6.33333 3.97778 6.33333 4.13333ZM1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H10.6667C11.0333 0 11.3472 0.130556 11.6083 0.391667C11.8694 0.652778 12 0.966667 12 1.33333V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM3.33333 10.6667V1.33333H1.33333V10.6667H3.33333ZM4.66667 10.6667H10.6667V1.33333H4.66667V10.6667Z",fill:t})})}var Iw={collapsed:"collapsed","hide-collapse-button":"hideCollapseButton"},Nw=`
|
|
361
360
|
:host { display: block; height: 100%; }
|
|
362
361
|
:host([hidden]) { display: none; }
|
|
363
362
|
|
|
@@ -435,7 +434,7 @@ ${gr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${fe.s
|
|
|
435
434
|
font-size: var(--semantic-type-font-size-s);
|
|
436
435
|
line-height: var(--semantic-type-line-height-s-single);
|
|
437
436
|
color: var(--semantic-color-foreground-action-secondary-rest);
|
|
438
|
-
}`,lw=(e,t)=>{if(e!=null)try{return JSON.parse(e)}catch(r){console.error(`<pathway-sidenav>: the "${t}" attribute is not valid JSON.`,r);return}},Fc=class extends HTMLElement{static get observedAttributes(){return["active-id","collapsed","hide-collapse-button","items","sections","list-section","default-expanded"]}constructor(){super(),this._props={},this._reactRoot=null}set items(t){this._props.items=t,this._render()}get items(){return this._props.items}set sections(t){this._props.sections=t,this._render()}get sections(){return this._props.sections}set listSection(t){this._props.listSection=t,this._render()}get listSection(){return this._props.listSection}set defaultExpanded(t){this._props.defaultExpanded=t,this._render()}get defaultExpanded(){return this._props.defaultExpanded}set activeId(t){this._props.activeId=t,this._render()}get activeId(){return"activeId"in this._props?this._props.activeId:this.getAttribute("active-id")??void 0}set collapsed(t){this._props.collapsed=!!t,this._render()}get collapsed(){if("collapsed"in this._props)return!!this._props.collapsed;let t=this.getAttribute("collapsed");return t!==null&&t!=="false"&&t!=="0"}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=sw+Da,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pathway-sidenav-root",this._mount.style.height="100%",t.appendChild(this._mount),this._reactRoot=(0,K9.createRoot)(this._mount)}this._slotObserver||(this._slotObserver=new MutationObserver(()=>this._render()),this._slotObserver.observe(this,{childList:!0,attributeFilter:["slot"]})),this._render()}disconnectedCallback(){this._slotObserver&&(this._slotObserver.disconnect(),this._slotObserver=null);let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readAttributes(){let t={};this.hasAttribute("active-id")&&(t.activeId=this.getAttribute("active-id"));for(let[r,n]of Object.entries(iw))if(this.hasAttribute(r)){let o=this.getAttribute(r);t[n]=o!=="false"&&o!=="0"}for(let r of["items","sections","list-section","default-expanded"]){if(!this.hasAttribute(r))continue;let n=r.replace(/-([a-z])/g,(a,i)=>i.toUpperCase()),o=lw(this.getAttribute(r),r);o!==void 0&&(t[n]=o)}return t}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_readSlots(){let t=n=>n===null?[...this.childNodes].some(o=>o.nodeType===1&&!o.getAttribute("slot")||o.nodeType===3&&o.textContent.trim()):!!this.querySelector(`[slot="${n}"]`),r={};return t("header")&&(r.headerEnd=Dc.default.createElement("slot",{name:"header"})),t("footer")&&(r.footer=Dc.default.createElement("slot",{name:"footer"})),t(null)&&(r.children=Dc.default.createElement("slot",null)),r}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props,...this._readSlots()};this._reactRoot.render(Dc.default.createElement(Cs,{...t,onNavigate:r=>{this._emit("pathway-navigate",{id:r}),typeof this.onnavigate=="function"&&this.onnavigate({id:r})},onCollapseChange:r=>{r?this.setAttribute("collapsed",""):this.removeAttribute("collapsed"),this._emit("pathway-collapse-change",{collapsed:!!r})}}))}};customElements.get("pathway-sidenav")||customElements.define("pathway-sidenav",Fc);var W9=S(D(),1);var Ss=S(D(),1);var Bf=S($e(),1),ws=(e,t)=>t.map(r=>({id:`${e}-${r.toLowerCase().replace(/\s+/g,"-")}`,label:r,icon:cw[r]})),cw={Dashboard:"space_dashboard",Enter:"input",Manage:"bookmark_manager",View:"visibility",Reports:"insert_chart",Modify:"edit_square",Help:"help",Utilities:"tools_wrench","Security Setup":"security"},V3=["Dashboard","Enter","Manage","View","Reports","Modify","Utilities","Help"],Es={label:"Financials Home",icon:"apps",moduleMark:{module:"accounting",label:"Financials"},topNav:{showSearch:!1,showActions:!1},sheetTitle:"Financial Applications",home:{id:"financials-home",label:"Financials Home",navItems:ws("fh",["Dashboard","Enter","Manage","View","Reports","Modify","Help","Utilities","Security Setup"])},apps:[{id:"accounts-payable",label:"Accounts Payable",navItems:ws("ap",V3)},{id:"accounts-receivable",label:"Accounts Receivable",navItems:ws("ar",V3)},{id:"general-ledger",label:"General Ledger",navItems:ws("gl",V3)},{id:"fixed-assets",label:"Fixed Assets",navItems:ws("fa",["Dashboard","Manage","Reports","Modify","Help"])},{id:"purchasing-management",label:"Purchasing Management",navItems:ws("pm",["Dashboard","Enter","Manage","Reports","Modify","Help"])}]};function W3(e){let t=e&&e.moduleMark;return t?(0,Bf.jsx)(z9,{label:t.label,icon:t.module?(0,Bf.jsx)(wl,{module:t.module,size:14,color:"mono"}):null}):null}var dw=767;function uw(){let e=()=>typeof window<"u"&&window.innerWidth<=dw,[t,r]=(0,Ss.useState)(e);return(0,Ss.useEffect)(()=>{let n=()=>r(e());return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]),t}function V9({appSwitcher:e=Es,activeAppId:t,defaultAppId:r,onAppSelect:n,activeId:o,onNavigate:a,presentation:i="auto",...s}){let l=[e.home,...e.apps||[]].filter(Boolean),[c,d]=(0,Ss.useState)(r??(e.home&&e.home.id)),u=t??c,p=l.find(x=>x.id===u)||l[0],b=p&&p.navItems||[],[g,y]=(0,Ss.useState)(b[0]&&b[0].id),$=o??g,m=uw(),f=i==="auto"?m?"sheet":"popover":i,h=x=>{y(x),a&&a(x)},v=x=>{d(x),n&&n(x);let w=l.find(k=>k.id===x),P=w&&w.navItems&&w.navItems[0];P&&h(P.id)};return(0,Bf.jsx)(Cs,{items:b,activeId:$,onNavigate:h,headerStart:W3(e),appSwitcher:{...e,activeId:p&&p.id,onSelect:v,presentation:f},...s},p&&p.id)}var U3=class extends Fc{static get observedAttributes(){return["active-app-id","active-id","collapsed","hide-collapse-button","presentation"]}set appSwitcher(t){this._appSwitcher=t,this._render()}get appSwitcher(){return this._appSwitcher}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props,...this._readSlots()};delete t.items,delete t.sections,delete t.listSection,this._reactRoot.render(W9.default.createElement(V9,{...t,appSwitcher:this._appSwitcher||Es,activeAppId:this.getAttribute("active-app-id")||void 0,presentation:this.getAttribute("presentation")||"auto",onAppSelect:r=>{this.setAttribute("active-app-id",r),this._emit("pathway-app-select",{id:r})},onNavigate:r=>{this.setAttribute("active-id",r),this._emit("pathway-navigate",{id:r}),typeof this.onnavigate=="function"&&this.onnavigate({id:r})},onCollapseChange:r=>{r?this.setAttribute("collapsed",""):this.removeAttribute("collapsed"),this._emit("pathway-collapse-change",{collapsed:!!r})}}))}};customElements.get("pathway-accounting-sidenav")||customElements.define("pathway-accounting-sidenav",U3);var Hc=S(D(),1),Z9=S(Ar(),1);var Gt=S(D(),1);var pn=S($e(),1),Kf=60,j9=e=>`var(--contextual-layout-units-${e})`,U9=j9("sidenav-width-expanded"),fw=j9("sidenav-width-collapsed");function pw(){let e=()=>typeof window>"u"?"desktop":window.innerWidth<768?"mobile":window.innerWidth<1024?"tablet":"desktop",[t,r]=(0,Gt.useState)(e);return(0,Gt.useEffect)(()=>{let n=()=>r(e());return window.addEventListener("resize",n,{passive:!0}),()=>window.removeEventListener("resize",n)},[]),t}function G9({modules:e=kp,activeModuleId:t="home",org:r,orgs:n,user:o,onModuleSelect:a,onOrgSelect:i,showSearch:s,showActions:l,navItems:c,navSections:d,activeNavId:u,onNavigate:p,navHeaderEnd:b=null,navChildren:g=null,navFooter:y=null,appSwitcher:$=null,defaultCollapsed:m=!1,children:f}){let h=pw(),v=h==="mobile",x=h==="tablet",[w,P]=(0,Gt.useState)(m),[k,T]=(0,Gt.useState)(!1),E=x?!0:v?!1:w,[F,R]=(0,Gt.useState)(u);(0,Gt.useEffect)(()=>{R(u)},[u]);let _=$?[$.home,...$.apps||[]].filter(Boolean):[],[C,L]=(0,Gt.useState)($&&($.activeId??($.home&&$.home.id)));(0,Gt.useEffect)(()=>{$&&$.activeId!==void 0&&L($.activeId)},[$&&$.activeId]);let z=_.find(Q=>Q.id===C),N=z&&(z.navItems||z.navSections),Z=N?z.navItems:c,I=N?z.navSections:d,te=N?(z.navItems||z.navSections.flatMap(Q=>Q.items)).flatMap(Q=>[Q.id,...(Q.children||[]).map(Se=>Se.id)]):null,X=te&&!te.includes(F)?te[0]:F,B=(0,Gt.useCallback)(Q=>{R(Q),p&&p(Q)},[p]),G=(0,Gt.useCallback)(Q=>{L(Q),$&&$.onSelect&&$.onSelect(Q);let Se=_.find(le=>le.id===Q),$t=Se&&(Se.navItems?Se.navItems[0]:Se.navSections&&Se.navSections[0]&&Se.navSections[0].items[0]);$t&&B($t.id)},[$,_,B]),V=v?0:E?fw:U9,M=(0,Gt.useCallback)(Q=>{!x&&!v&&P(Q)},[x,v]),ae=(0,Gt.useCallback)(()=>{v?T(Q=>!Q):x||P(Q=>!Q)},[v,x]);return(0,Gt.useEffect)(()=>{if(!k)return;let Q=Se=>{Se.key==="Escape"&&T(!1)};return document.addEventListener("keydown",Q),()=>document.removeEventListener("keydown",Q)},[k]),(0,Gt.useEffect)(()=>{v||T(!1)},[v]),(0,pn.jsxs)(pn.Fragment,{children:[(0,pn.jsx)("a",{href:"#main-content",style:{position:"absolute",top:-48,left:8,zIndex:300,background:"var(--semantic-color-fill-action-primary-strong-rest)",color:"var(--semantic-color-foreground-action-ghost-rest)",padding:"8px 12px",borderRadius:6,fontSize:14,fontWeight:500,textDecoration:"none",transition:"top var(--motion-duration-2) var(--motion-easing-standard)"},onFocus:Q=>{Q.currentTarget.style.top="8px"},onBlur:Q=>{Q.currentTarget.style.top="-48px"},children:"Skip to content"}),(0,pn.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,zIndex:100},children:(0,pn.jsx)(bu,{modules:e,activeModuleId:t,org:r,orgs:n,user:o,breakpoint:h,onModuleSelect:a,onOrgSelect:i,onSideNavToggle:ae,showSearch:s??($&&$.topNav&&$.topNav.showSearch)??!0,showActions:l??($&&$.topNav&&$.topNav.showActions)??!0})}),v&&k&&(0,pn.jsx)("div",{"aria-hidden":"true",onClick:()=>T(!1),style:{position:"fixed",inset:0,top:Kf,background:"rgba(0,0,0,0.32)",zIndex:49}}),(0,pn.jsx)("div",{"aria-hidden":v&&!k,style:{position:"fixed",top:Kf,left:0,bottom:0,zIndex:v?51:10,overflow:"hidden",...v&&{width:k?U9:0,transition:"width var(--motion-duration-6) var(--motion-easing-emphasized)"}},children:(0,pn.jsx)(Cs,{items:Z,sections:I,activeId:X,onNavigate:B,collapsed:E,onCollapseChange:M,hideCollapseButton:x||v,headerEnd:b,footer:y,headerStart:W3($),appSwitcher:$?{...$,activeId:C,onSelect:G,presentation:v?"sheet":"popover"}:null,children:g},N?z.id:"shell")}),(0,pn.jsx)("main",{id:"main-content",role:"main",style:{marginTop:Kf,marginLeft:V,minHeight:`calc(100vh - ${Kf}px)`,overflowY:"auto",overflowX:"hidden",background:"var(--semantic-color-fill-surface-canvas)",transition:"margin-left var(--motion-duration-6) var(--motion-easing-emphasized)"},children:f})]})}if(typeof document<"u"&&!document.getElementById("pathway-navshell-portal-keyframes")){let e=document.createElement("style");e.id="pathway-navshell-portal-keyframes",e.textContent="@keyframes popoverIn{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:translateX(0)}}@keyframes popoverInCentered{from{opacity:0;transform:translateX(-6px) translateY(-50%)}to{opacity:1;transform:translateX(0) translateY(-50%)}}@media(prefers-reduced-motion:reduce){@keyframes popoverIn{from{opacity:0}to{opacity:1}}@keyframes popoverInCentered{from{opacity:0;transform:translateY(-50%)}to{opacity:1;transform:translateY(-50%)}}}",document.head.appendChild(e)}var mw=`
|
|
437
|
+
}`,Dw=(e,t)=>{if(e!=null)try{return JSON.parse(e)}catch(r){console.error(`<pathway-sidenav>: the "${t}" attribute is not valid JSON.`,r);return}},jc=class extends HTMLElement{static get observedAttributes(){return["active-id","collapsed","hide-collapse-button","items","sections","list-section","default-expanded"]}constructor(){super(),this._props={},this._reactRoot=null}set items(t){this._props.items=t,this._render()}get items(){return this._props.items}set sections(t){this._props.sections=t,this._render()}get sections(){return this._props.sections}set listSection(t){this._props.listSection=t,this._render()}get listSection(){return this._props.listSection}set defaultExpanded(t){this._props.defaultExpanded=t,this._render()}get defaultExpanded(){return this._props.defaultExpanded}set activeId(t){this._props.activeId=t,this._render()}get activeId(){return"activeId"in this._props?this._props.activeId:this.getAttribute("active-id")??void 0}set collapsed(t){this._props.collapsed=!!t,this._render()}get collapsed(){if("collapsed"in this._props)return!!this._props.collapsed;let t=this.getAttribute("collapsed");return t!==null&&t!=="false"&&t!=="0"}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=Nw+So,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pathway-sidenav-root",this._mount.style.height="100%",t.appendChild(this._mount),this._reactRoot=(0,c9.createRoot)(this._mount)}this._slotObserver||(this._slotObserver=new MutationObserver(()=>this._render()),this._slotObserver.observe(this,{childList:!0,attributeFilter:["slot"]})),this._render()}disconnectedCallback(){this._slotObserver&&(this._slotObserver.disconnect(),this._slotObserver=null);let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readAttributes(){let t={};this.hasAttribute("active-id")&&(t.activeId=this.getAttribute("active-id"));for(let[r,n]of Object.entries(Iw))if(this.hasAttribute(r)){let o=this.getAttribute(r);t[n]=o!=="false"&&o!=="0"}for(let r of["items","sections","list-section","default-expanded"]){if(!this.hasAttribute(r))continue;let n=r.replace(/-([a-z])/g,(i,a)=>a.toUpperCase()),o=Dw(this.getAttribute(r),r);o!==void 0&&(t[n]=o)}return t}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_readSlots(){let t=n=>n===null?[...this.childNodes].some(o=>o.nodeType===1&&!o.getAttribute("slot")||o.nodeType===3&&o.textContent.trim()):!!this.querySelector(`[slot="${n}"]`),r={};return t("header")&&(r.headerEnd=Uc.default.createElement("slot",{name:"header"})),t("footer")&&(r.footer=Uc.default.createElement("slot",{name:"footer"})),t(null)&&(r.children=Uc.default.createElement("slot",null)),r}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props,...this._readSlots()};this._reactRoot.render(Uc.default.createElement(Ts,{...t,onNavigate:r=>{this._emit("pathway-navigate",{id:r}),typeof this.onnavigate=="function"&&this.onnavigate({id:r})},onCollapseChange:r=>{r?this.setAttribute("collapsed",""):this.removeAttribute("collapsed"),this._emit("pathway-collapse-change",{collapsed:!!r})}}))}};customElements.get("pathway-sidenav")||customElements.define("pathway-sidenav",jc);var u9=S(D(),1);var Rs=S(D(),1);var e1=S(he(),1),Ls=(e,t)=>t.map(r=>({id:`${e}-${r.toLowerCase().replace(/\s+/g,"-")}`,label:r,icon:Fw[r]})),Fw={Dashboard:"space_dashboard",Enter:"input",Manage:"bookmark_manager",View:"visibility",Reports:"insert_chart",Modify:"edit_square",Help:"help",Utilities:"tools_wrench","Security Setup":"security"},om=["Dashboard","Enter","Manage","View","Reports","Modify","Utilities","Help"],_s={label:"Financials Home",icon:"apps",moduleMark:{module:"accounting",label:"Financials"},topNav:{showSearch:!1,showActions:!1},sheetTitle:"Financial Applications",home:{id:"financials-home",label:"Financials Home",navItems:Ls("fh",["Dashboard","Enter","Manage","View","Reports","Modify","Help","Utilities","Security Setup"])},apps:[{id:"accounts-payable",label:"Accounts Payable",navItems:Ls("ap",om)},{id:"accounts-receivable",label:"Accounts Receivable",navItems:Ls("ar",om)},{id:"general-ledger",label:"General Ledger",navItems:Ls("gl",om)},{id:"fixed-assets",label:"Fixed Assets",navItems:Ls("fa",["Dashboard","Manage","Reports","Modify","Help"])},{id:"purchasing-management",label:"Purchasing Management",navItems:Ls("pm",["Dashboard","Enter","Manage","Reports","Modify","Help"])}]};function im(e){let t=e&&e.moduleMark;return t?(0,e1.jsx)(s9,{label:t.label,icon:t.module?(0,e1.jsx)(Ml,{module:t.module,size:14,color:"mono"}):null}):null}var Hw=767;function Aw(){let e=()=>typeof window<"u"&&window.innerWidth<=Hw,[t,r]=(0,Rs.useState)(e);return(0,Rs.useEffect)(()=>{let n=()=>r(e());return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]),t}function d9({appSwitcher:e=_s,activeAppId:t,defaultAppId:r,onAppSelect:n,activeId:o,onNavigate:i,presentation:a="auto",...s}){let l=[e.home,...e.apps||[]].filter(Boolean),[c,d]=(0,Rs.useState)(r??(e.home&&e.home.id)),u=t??c,p=l.find(x=>x.id===u)||l[0],b=p&&p.navItems||[],[g,y]=(0,Rs.useState)(b[0]&&b[0].id),$=o??g,m=Aw(),f=a==="auto"?m?"sheet":"popover":a,h=x=>{y(x),i&&i(x)},v=x=>{d(x),n&&n(x);let w=l.find(k=>k.id===x),P=w&&w.navItems&&w.navItems[0];P&&h(P.id)};return(0,e1.jsx)(Ts,{items:b,activeId:$,onNavigate:h,headerStart:im(e),appSwitcher:{...e,activeId:p&&p.id,onSelect:v,presentation:f},...s},p&&p.id)}var am=class extends jc{static get observedAttributes(){return["active-app-id","active-id","collapsed","hide-collapse-button","presentation"]}set appSwitcher(t){this._appSwitcher=t,this._render()}get appSwitcher(){return this._appSwitcher}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props,...this._readSlots()};delete t.items,delete t.sections,delete t.listSection,this._reactRoot.render(u9.default.createElement(d9,{...t,appSwitcher:this._appSwitcher||_s,activeAppId:this.getAttribute("active-app-id")||void 0,presentation:this.getAttribute("presentation")||"auto",onAppSelect:r=>{this.setAttribute("active-app-id",r),this._emit("pathway-app-select",{id:r})},onNavigate:r=>{this.setAttribute("active-id",r),this._emit("pathway-navigate",{id:r}),typeof this.onnavigate=="function"&&this.onnavigate({id:r})},onCollapseChange:r=>{r?this.setAttribute("collapsed",""):this.removeAttribute("collapsed"),this._emit("pathway-collapse-change",{collapsed:!!r})}}))}};customElements.get("pathway-accounting-sidenav")||customElements.define("pathway-accounting-sidenav",am);var Gc=S(D(),1),h9=S(Rr(),1);var Qt=S(D(),1);var bn=S(he(),1),t1=60,p9=e=>`var(--contextual-layout-units-${e})`,f9=p9("sidenav-width-expanded"),Ow=p9("sidenav-width-collapsed");function Bw(){let e=()=>typeof window>"u"?"desktop":window.innerWidth<768?"mobile":window.innerWidth<1024?"tablet":"desktop",[t,r]=(0,Qt.useState)(e);return(0,Qt.useEffect)(()=>{let n=()=>r(e());return window.addEventListener("resize",n,{passive:!0}),()=>window.removeEventListener("resize",n)},[]),t}function m9({modules:e=z0,activeModuleId:t="home",org:r,orgs:n,user:o,onModuleSelect:i,onOrgSelect:a,showSearch:s,showActions:l,navItems:c,navSections:d,activeNavId:u,onNavigate:p,navHeaderEnd:b=null,navChildren:g=null,navFooter:y=null,appSwitcher:$=null,defaultCollapsed:m=!1,children:f}){let h=Bw(),v=h==="mobile",x=h==="tablet",[w,P]=(0,Qt.useState)(m),[k,T]=(0,Qt.useState)(!1),E=x?!0:v?!1:w,[F,_]=(0,Qt.useState)(u);(0,Qt.useEffect)(()=>{_(u)},[u]);let I=$?[$.home,...$.apps||[]].filter(Boolean):[],[C,L]=(0,Qt.useState)($&&($.activeId??($.home&&$.home.id)));(0,Qt.useEffect)(()=>{$&&$.activeId!==void 0&&L($.activeId)},[$&&$.activeId]);let O=I.find(J=>J.id===C),M=O&&(O.navItems||O.navSections),Z=M?O.navItems:c,R=M?O.navSections:d,te=M?(O.navItems||O.navSections.flatMap(J=>J.items)).flatMap(J=>[J.id,...(J.children||[]).map(Ee=>Ee.id)]):null,X=te&&!te.includes(F)?te[0]:F,K=(0,Qt.useCallback)(J=>{_(J),p&&p(J)},[p]),j=(0,Qt.useCallback)(J=>{L(J),$&&$.onSelect&&$.onSelect(J);let Ee=I.find(ce=>ce.id===J),ft=Ee&&(Ee.navItems?Ee.navItems[0]:Ee.navSections&&Ee.navSections[0]&&Ee.navSections[0].items[0]);ft&&K(ft.id)},[$,I,K]),z=v?0:E?Ow:f9,N=(0,Qt.useCallback)(J=>{!x&&!v&&P(J)},[x,v]),ie=(0,Qt.useCallback)(()=>{v?T(J=>!J):x||P(J=>!J)},[v,x]);return(0,Qt.useEffect)(()=>{if(!k)return;let J=Ee=>{Ee.key==="Escape"&&T(!1)};return document.addEventListener("keydown",J),()=>document.removeEventListener("keydown",J)},[k]),(0,Qt.useEffect)(()=>{v||T(!1)},[v]),(0,bn.jsxs)(bn.Fragment,{children:[(0,bn.jsx)("a",{href:"#main-content",style:{position:"absolute",top:-48,left:8,zIndex:300,background:"var(--semantic-color-fill-action-primary-strong-rest)",color:"var(--semantic-color-foreground-action-ghost-rest)",padding:"8px 12px",borderRadius:6,fontSize:14,fontWeight:500,textDecoration:"none",transition:"top var(--motion-duration-2) var(--motion-easing-standard)"},onFocus:J=>{J.currentTarget.style.top="8px"},onBlur:J=>{J.currentTarget.style.top="-48px"},children:"Skip to content"}),(0,bn.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,zIndex:100},children:(0,bn.jsx)(Tu,{modules:e,activeModuleId:t,org:r,orgs:n,user:o,breakpoint:h,onModuleSelect:i,onOrgSelect:a,onSideNavToggle:ie,showSearch:s??($&&$.topNav&&$.topNav.showSearch)??!0,showActions:l??($&&$.topNav&&$.topNav.showActions)??!0})}),v&&k&&(0,bn.jsx)("div",{"aria-hidden":"true",onClick:()=>T(!1),style:{position:"fixed",inset:0,top:t1,background:"rgba(0,0,0,0.32)",zIndex:49}}),(0,bn.jsx)("div",{"aria-hidden":v&&!k,style:{position:"fixed",top:t1,left:0,bottom:0,zIndex:v?51:10,overflow:"hidden",...v&&{width:k?f9:0,transition:"width var(--motion-duration-6) var(--motion-easing-emphasized)"}},children:(0,bn.jsx)(Ts,{items:Z,sections:R,activeId:X,onNavigate:K,collapsed:E,onCollapseChange:N,hideCollapseButton:x||v,headerEnd:b,footer:y,headerStart:im($),appSwitcher:$?{...$,activeId:C,onSelect:j,presentation:v?"sheet":"popover"}:null,children:g},M?O.id:"shell")}),(0,bn.jsx)("main",{id:"main-content",role:"main",style:{marginTop:t1,marginLeft:z,minHeight:`calc(100vh - ${t1}px)`,overflowY:"auto",overflowX:"hidden",background:"var(--semantic-color-fill-surface-canvas)",transition:"margin-left var(--motion-duration-6) var(--motion-easing-emphasized)"},children:f})]})}if(typeof document<"u"&&!document.getElementById("pathway-navshell-portal-keyframes")){let e=document.createElement("style");e.id="pathway-navshell-portal-keyframes",e.textContent="@keyframes popoverIn{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:translateX(0)}}@keyframes popoverInCentered{from{opacity:0;transform:translateX(-6px) translateY(-50%)}to{opacity:1;transform:translateX(0) translateY(-50%)}}@media(prefers-reduced-motion:reduce){@keyframes popoverIn{from{opacity:0}to{opacity:1}}@keyframes popoverInCentered{from{opacity:0;transform:translateY(-50%)}to{opacity:1;transform:translateY(-50%)}}}",document.head.appendChild(e)}var Kw=`
|
|
439
438
|
/* The shell is a full-page layout.
|
|
440
439
|
display:block + no overflow so fixed children anchor to the viewport. */
|
|
441
440
|
:host { display: block; width: 100%; min-height: 100vh; }
|
|
@@ -505,7 +504,7 @@ ${gr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${fe.s
|
|
|
505
504
|
font-family: var(--semantic-type-family-brand), system-ui, sans-serif;
|
|
506
505
|
font-size: var(--semantic-type-font-size-s);
|
|
507
506
|
line-height: var(--semantic-type-line-height-s-single);
|
|
508
|
-
}`,
|
|
507
|
+
}`,sm=class extends HTMLElement{static get observedAttributes(){return["active-module-id","active-nav-id","default-collapsed","app-switcher","active-app-id","hide-search","hide-actions"]}constructor(){super(),this._props={},this._reactRoot=null,this._slotObserver=null}set modules(t){this._props.modules=t,this._render()}get modules(){return this._props.modules}set org(t){this._props.org=t,this._render()}get org(){return this._props.org}set orgs(t){this._props.orgs=t,this._render()}get orgs(){return this._props.orgs}set user(t){this._props.user=t,this._render()}get user(){return this._props.user}set navItems(t){this._props.navItems=t,this._render()}get navItems(){return this._props.navItems}set navSections(t){this._props.navSections=t,this._render()}get navSections(){return this._props.navSections}set appSwitcher(t){this._appSwitcher=t,this._render()}get appSwitcher(){return this._appSwitcher}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=Kw+So,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-navshell-root",t.appendChild(this._mount),this._reactRoot=(0,h9.createRoot)(this._mount)}this._slotObserver||(this._slotObserver=new MutationObserver(()=>this._render()),this._slotObserver.observe(this,{childList:!0,attributeFilter:["slot"]})),this._render()}disconnectedCallback(){this._slotObserver&&(this._slotObserver.disconnect(),this._slotObserver=null);let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readAttributes(){let t={};if(this.hasAttribute("active-module-id")&&(t.activeModuleId=this.getAttribute("active-module-id")),this.hasAttribute("active-nav-id")&&(t.activeNavId=this.getAttribute("active-nav-id")),this.hasAttribute("default-collapsed")){let n=this.getAttribute("default-collapsed");t.defaultCollapsed=n!=="false"&&n!=="0"}let r=n=>this.hasAttribute(n)&&this.getAttribute(n)!=="false"&&this.getAttribute(n)!=="0";return this.hasAttribute("hide-search")&&(t.showSearch=!r("hide-search")),this.hasAttribute("hide-actions")&&(t.showActions=!r("hide-actions")),t}_readSlots(){let t=n=>n===null?[...this.childNodes].some(o=>o.nodeType===1&&!o.getAttribute("slot")||o.nodeType===3&&o.textContent.trim()):!!this.querySelector(`[slot="${n}"]`),r={};return t(null)&&(r.children=Gc.default.createElement("slot",null)),t("nav-header-end")&&(r.navHeaderEnd=Gc.default.createElement("slot",{name:"nav-header-end"})),t("nav-footer")&&(r.navFooter=Gc.default.createElement("slot",{name:"nav-footer"})),r}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props,...this._readSlots()},r=this.getAttribute("app-switcher"),n=this.hasAttribute("app-switcher")&&r!=="false"&&r!=="0";t.appSwitcher=n?{...this._appSwitcher||_s,activeId:this.getAttribute("active-app-id")||void 0,onSelect:o=>{this.setAttribute("active-app-id",o),this._emit("pathway-app-select",{id:o})}}:null,this._reactRoot.render(Gc.default.createElement(m9,{...t,onModuleSelect:o=>this._emit("pathway-module-select",{id:o}),onOrgSelect:o=>this._emit("pathway-org-select",{id:o}),onNavigate:o=>{this.setAttribute("active-nav-id",o),this._emit("pathway-navigate",{id:o})}}))}};customElements.get("pathway-nav-shell")||customElements.define("pathway-nav-shell",sm);var n1=S(D(),1),b9=S(Rr(),1);var gB=S(D(),1),Ao=S(he(),1),Ms=e=>`var(--responsive-layout-${e})`,cm=e=>`var(--semantic-layout-units-${e})`,r1=e=>`var(--semantic-color-${e})`,lm={canvas:r1("fill-surface-canvas"),sheet:r1("fill-surface-elevated"),divider:r1("stroke-static-neutral-faint")},$n={screenPadH:Ms("sheetcontainer-padding-horizontal"),screenPadT:Ms("sheetcontainer-padding-top"),sheetPadH:Ms("sheet-padding-horizontal"),sheetPadT:Ms("sheet-padding-top"),sheetPadB:Ms("sheet-padding-bottom"),sheetRadius:Ms("sheet-corner-radius-cornerradius"),sheetGap:cm("gap-tight"),contentGap:cm("gap-base"),navHeight:49};function g9({children:e,navigation:t,grid:r=!1,className:n="",style:o}){return(0,Ao.jsx)("div",{className:`pw-screen ${n}`,style:{background:lm.canvas,minHeight:"100%",boxSizing:"border-box",paddingLeft:$n.screenPadH,paddingRight:$n.screenPadH,paddingTop:$n.screenPadT,paddingBottom:0,...o},children:(0,Ao.jsxs)("div",{className:"pw-screen-main",style:{display:"flex",flexDirection:"column",gap:$n.sheetGap,background:lm.sheet,boxSizing:"border-box",paddingLeft:$n.sheetPadH,paddingRight:$n.sheetPadH,paddingTop:$n.sheetPadT,paddingBottom:$n.sheetPadB,borderTopLeftRadius:$n.sheetRadius,borderTopRightRadius:$n.sheetRadius,boxShadow:"var(--elevation-sheet)",minHeight:"100%"},children:[t?(0,Ao.jsx)("div",{className:"pw-screen-nav",style:{flex:"0 0 auto",minHeight:$n.navHeight,boxSizing:"border-box",borderBottom:`1px solid ${lm.divider}`},children:t}):null,(0,Ao.jsxs)("div",{className:"pw-screen-content",style:{display:"flex",flexDirection:"column",gap:$n.contentGap,flex:1,minHeight:0,position:"relative"},children:[r?(0,Ao.jsx)(zw,{}):null,e]})]})})}function zw(){return(0,Ao.jsx)("div",{"aria-hidden":"true",className:"pw-screen-guides",style:{position:"absolute",inset:0,pointerEvents:"none",display:"grid",gap:cm("gap-base")},children:Array.from({length:12}).map((e,t)=>(0,Ao.jsx)("span",{style:{gridRow:1,background:r1("fill-action-primary-subtle-rest"),opacity:.35}},t))})}var Vw=`
|
|
509
508
|
:host { display: block; min-height: 100%; }
|
|
510
509
|
:host([hidden]) { display: none; }
|
|
511
510
|
|
|
@@ -538,11 +537,11 @@ ${gr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${fe.s
|
|
|
538
537
|
font-family: var(--semantic-type-family-brand), system-ui, sans-serif;
|
|
539
538
|
font-size: var(--semantic-type-font-size-s);
|
|
540
539
|
line-height: var(--semantic-type-line-height-s-single);
|
|
541
|
-
}`,
|
|
540
|
+
}`,dm=class extends HTMLElement{static get observedAttributes(){return["grid"]}constructor(){super(),this._reactRoot=null,this._slotObserver=null}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=Vw,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-pagetemplate-root",t.appendChild(this._mount),this._reactRoot=(0,b9.createRoot)(this._mount)}this._slotObserver||(this._slotObserver=new MutationObserver(()=>this._render()),this._slotObserver.observe(this,{childList:!0,attributeFilter:["slot"]})),this._render()}disconnectedCallback(){this._slotObserver&&(this._slotObserver.disconnect(),this._slotObserver=null);let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readSlots(){let t=n=>n===null?[...this.childNodes].some(o=>o.nodeType===1&&!o.getAttribute("slot")||o.nodeType===3&&o.textContent.trim()):!!this.querySelector(`[slot="${n}"]`),r={};return t(null)&&(r.children=n1.default.createElement("slot",null)),t("navigation")&&(r.navigation=n1.default.createElement("slot",{name:"navigation"})),r}_render(){if(!this._reactRoot)return;let t=this.getAttribute("grid"),r=this.hasAttribute("grid")&&t!=="false"&&t!=="0",{children:n,navigation:o}=this._readSlots();this._reactRoot.render(n1.default.createElement(g9,{grid:r,navigation:o},n??null))}};customElements.get("pathway-page-template")||customElements.define("pathway-page-template",dm);var o1=S(D(),1),$9=S(Rr(),1);var Ww=`
|
|
542
541
|
:host { display: inline-flex; }
|
|
543
542
|
:host([hidden]) { display: none; }
|
|
544
543
|
.pw-tooltip-wc-trigger { display: inline-flex; }
|
|
545
|
-
`,$w=["content","describe","purpose","side","align","arrow","persist-on-press","disabled"],vw=0,X3=class extends HTMLElement{static get observedAttributes(){return $w}constructor(){super(),this._reactRoot=null,this._descId=`pw-tooltip-desc-${++vw}`}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=bw,t.appendChild(r),this._mount=document.createElement("span"),t.appendChild(this._mount),this._reactRoot=(0,q9.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t){if(!this.hasAttribute(t))return;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_wireAria(t,r,n){let o=[...this.children].find(s=>s.getAttribute("slot")!=="pw-description");if(!o)return;let a=this.querySelector(`#${this._descId}`);if(t==="label"){r&&o.setAttribute("aria-label",r),a?.remove();return}a||(a=document.createElement("span"),a.id=this._descId,a.hidden=!0,a.slot="pw-description",this.appendChild(a)),a.textContent=n||r||"";let i=new Set((o.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean));i.add(this._descId),o.setAttribute("aria-describedby",[...i].join(" "))}_render(){if(!this._reactRoot)return;let t=this.getAttribute("content")||"",r=this.getAttribute("describe")||void 0,n=this.getAttribute("purpose")==="label"?"label":"description";this._wireAria(n,t,r);let o=this.hasAttribute("arrow")?this._bool("arrow"):void 0;this._reactRoot.render(Uf.default.createElement(ni,{content:t,purpose:n,manageAria:!1,side:this.getAttribute("side")||"top",align:this.getAttribute("align")||"center",arrow:o,persistOnPress:!!this._bool("persist-on-press"),disabled:!!this._bool("disabled")},Uf.default.createElement("span",{className:"pw-tooltip-wc-trigger"},Uf.default.createElement("slot"))))}};customElements.get("pathway-tooltip")||customElements.define("pathway-tooltip",X3);var Q3=S(D(),1),ng=S(Ar(),1);var Ke=S(D(),1);var be=S($e(),1),Gr=e=>`var(--semantic-color-${e})`,ot=e=>`var(--semantic-layout-units-${e})`,yw=e=>`var(--contextual-layout-units-${e})`,q3=e=>`var(--responsive-layout-${e})`,Ac=e=>`var(--semantic-type-${e})`,Ps=(e,t,r,n)=>({fontFamily:Ac("family-brand"),fontSize:Ac(`font-size-${e}`),lineHeight:Ac(`line-height-${t}`),fontWeight:Ac(`weight-${r}`),letterSpacing:Ac(`letter-spacing-${n}`)}),oe={noticeFill:Gr("fill-surface-elevated"),noticeStroke:Gr("stroke-static-neutral-faint"),hintFill:Gr("fill-surface-overlay"),hintStroke:Gr("stroke-static-neutral-bold"),messageFill:Gr("fill-static-negative-subtle"),messageFg:Gr("foreground-static-negative-on-subtle"),progressFill:Gr("fill-static-brand-strong"),progressTrack:Gr("stroke-static-neutral-faint"),sheetFill:Gr("fill-surface-overlay"),scrim:Gr("scrim-base"),fgStrong:Gr("foreground-static-neutral-strong"),fgBase:Gr("foreground-static-neutral-base"),focusRing:Gr("stroke-focusring-base"),hintShadow:"var(--elevation-lift)",sheetShadow:"var(--elevation-sheet)",borderWidth:ot("borderwidth-thin"),noticeRadius:ot("cornerradius-base"),pillRadius:ot("cornerradius-full"),messageRadius:ot("cornerradius-small"),sheetRadius:q3("sheet-corner-radius-cornerradius"),focusWidth:yw("focusring-width"),focusOffset:"0",sectionGap:ot("gap-medium"),progressGap:ot("gap-xtight"),titleGap:ot("gap-tight"),agreementGap:ot("gap-xtight"),paragraphGap:ot("gap-base"),toolbarPad:`${ot("padding-xxtight")} ${ot("padding-xtight")} ${ot("padding-xxxtight")}`,contentPad:`${ot("padding-xtight")} ${ot("padding-base")} ${ot("padding-base")}`,hintPad:`${ot("padding-xxxtight")} ${ot("padding-xtight")}`,hintGap:ot("gap-xxtight"),hintOffset:ot("padding-xtight"),messagePad:ot("padding-xtight"),messageGap:ot("gap-tight"),sheetPad:`${q3("sheet-padding-top")} ${q3("sheet-padding-horizontal")} ${ot("padding-wide")}`,sheetGap:ot("gap-base"),sheetHeaderPad:ot("padding-medium"),noticeType:Ps("s","s-single","regular","spacious"),titleType:Ps("r","r-single","medium","wide"),progressType:Ps("xs","xs-single","regular","extraspacious"),hintType:Ps("xs","xs-single","semibold","extraspacious"),messageType:Ps("xs","xs-single","semibold","extraspacious"),sheetTitleType:Ps("m","m-relaxed","semibold","wide"),progressMotion:"width var(--motion-duration-2) var(--motion-easing-standard)",scrimMotion:"pds-ste-fade var(--motion-duration-3) var(--motion-easing-standard)",sheetMotion:"pds-ste-rise var(--motion-duration-4) var(--motion-easing-emphasized)",noticeHeight:200,progressHeight:4,minWidth:320,readThreshold:8,breakpoint:768,sheetFrameHeight:560},xw={scrollInline:"Scroll to the end of the notice before you continue.",readAgreement:"Read the agreement before you agree to it.",scrollSheet:"Scroll to the end of the notice to finish reading.",agree:"Check the box to confirm you have read the notice."},Cw={Unread:{},Reading:{progress:.5},Read:{progress:1,read:!0},Agreed:{progress:1,read:!0,checked:!0},Blocked:{msg:"blocked"},"Agreement Missing":{progress:1,read:!0,msg:"agree",missing:!0},"Sheet Unread":{sheetOpen:!0},"Sheet Blocked":{sheetOpen:!0,progress:.4,sheetMsg:"scrollSheet"},"Sheet Read":{sheetOpen:!0,progress:1}};function ww(){if(typeof document>"u"||document.getElementById("pds-ste-styles"))return;let e=document.createElement("style");e.id="pds-ste-styles",e.textContent="@keyframes pds-ste-fade{from{opacity:0}to{opacity:1}}@keyframes pds-ste-rise{from{transform:translateY(100%)}to{transform:translateY(0)}}.pds-ste__region{outline:none}.pds-ste__region p{margin:0}",document.head.appendChild(e)}var Q9=()=>typeof window<"u"&&typeof window.matchMedia=="function",J9=`(min-width: ${oe.breakpoint}px)`;function Sw(e){let[t,r]=(0,Ke.useState)(()=>Q9()?window.matchMedia(J9).matches:!0);return(0,Ke.useEffect)(()=>{if(e!=="auto"||!Q9())return;let n=window.matchMedia(J9);r(n.matches);let o=a=>r(a.matches);return n.addEventListener("change",o),()=>n.removeEventListener("change",o)},[e]),e==="inline"||e==="sheet"?e:t?"inline":"sheet"}var ii=e=>{e&&typeof e.focus=="function"&&e.focus()};function Ew({value:e,labelId:t}){let r=Ut(),n=Math.round(e*100);return(0,be.jsxs)("div",{className:"pds-ste__progress",style:{display:"flex",flexDirection:"column",gap:oe.progressGap},children:[(0,be.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",...oe.progressType,color:oe.fgBase},children:[(0,be.jsx)("span",{id:t,children:"Reading progress"}),(0,be.jsxs)("span",{"aria-hidden":"true",children:[n,"%"]})]}),(0,be.jsx)("div",{role:"progressbar","aria-labelledby":t,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n,style:{height:oe.progressHeight,borderRadius:oe.pillRadius,background:oe.progressTrack,overflow:"hidden"},children:(0,be.jsx)("div",{style:{width:`${n}%`,height:"100%",borderRadius:oe.pillRadius,background:oe.progressFill,transition:r?"none":oe.progressMotion}})})]})}function eg({id:e,text:t,nonce:r}){return(0,be.jsx)("div",{id:e,children:t&&(0,be.jsxs)("div",{role:"alert",style:{display:"flex",alignItems:"flex-start",gap:oe.messageGap,padding:oe.messagePad,borderRadius:oe.messageRadius,background:oe.messageFill,color:oe.messageFg,...oe.messageType},children:[(0,be.jsx)(Ee,{name:"error",size:"M",fill:1}),(0,be.jsx)("span",{children:t})]},r)})}function kw(){return(0,be.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",left:0,right:0,bottom:oe.hintOffset,display:"flex",justifyContent:"center",pointerEvents:"none"},children:(0,be.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:oe.hintGap,padding:oe.hintPad,borderRadius:oe.pillRadius,background:oe.hintFill,boxShadow:oe.hintShadow,border:`${oe.borderWidth} solid ${oe.hintStroke}`,...oe.hintType,color:oe.fgStrong},children:[(0,be.jsx)(Ee,{name:"arrow_downward",size:"M"}),"Scroll to continue"]})})}function tg({children:e,height:t,titleId:r,regionRef:n,showPrint:o,onPrint:a,showHint:i,onProgress:s,startAt:l}){let c=(0,Ke.useRef)(null),[d,u]=(0,Ke.useState)(!1),p=(0,Ke.useCallback)(g=>{if(!g)return;let y=g.scrollHeight-g.clientHeight;s(y<=oe.readThreshold?1:Math.min(1,g.scrollTop/(y-oe.readThreshold)))},[s]);(0,Ke.useLayoutEffect)(()=>{let g=c.current&&c.current.querySelector(".pds-scrollable__view");if(!g||(l!=null&&(g.scrollTop=(g.scrollHeight-g.clientHeight)*l),p(g),typeof ResizeObserver>"u"))return;let y=new ResizeObserver(()=>p(g));return y.observe(g),()=>y.disconnect()},[p,t,l]);let b=g=>{let y=!0;try{y=g.target.matches(":focus-visible")||g.target.dataset.moved==="1"}catch{}delete g.target.dataset.moved,u(y)};return(0,be.jsxs)("div",{ref:c,className:"pds-ste__notice",onScrollCapture:g=>p(g.target),style:{position:"relative",background:oe.noticeFill,border:`${oe.borderWidth} solid ${oe.noticeStroke}`,borderRadius:oe.noticeRadius,outline:d?`${oe.focusWidth} solid ${oe.focusRing}`:"none",outlineOffset:oe.focusOffset},children:[o&&(0,be.jsx)("div",{style:{padding:oe.toolbarPad},children:(0,be.jsx)(mo,{buttonStyle:"Naked",type:"Secondary",size:"S",text:"Print",showLeadingIcon:!0,leadingIcon:"print",onClick:a})}),(0,be.jsx)($u,{style:{height:t},children:(0,be.jsx)("div",{ref:n,className:"pds-ste__region",role:"region",tabIndex:0,"aria-labelledby":r,onFocus:b,onBlur:()=>u(!1),style:{padding:oe.contentPad,display:"flex",flexDirection:"column",gap:oe.paragraphGap,...oe.noticeType,color:oe.fgStrong},children:e})}),i&&(0,be.jsx)(kw,{})]})}function Pw({title:e,titleId:t,stepLabel:r,onClose:n,children:o,footer:a,initialFocusRef:i,contained:s}){let l=Ut(),c=(0,Ke.useRef)(null);(0,Ke.useEffect)(()=>{if(s)return;let u=document.body.style.overflow;document.body.style.overflow="hidden";let p=setTimeout(()=>ii(i.current),0);return()=>{clearTimeout(p),document.body.style.overflow=u}},[i,s]);let d=u=>{if(u.key==="Escape"){u.stopPropagation(),n();return}if(u.key!=="Tab"||!c.current)return;let p=c.current.querySelectorAll("button, input, [tabindex='0']");if(!p.length)return;let b=p[0],g=p[p.length-1];u.shiftKey&&document.activeElement===b?(u.preventDefault(),ii(g)):!u.shiftKey&&document.activeElement===g&&(u.preventDefault(),ii(b))};return(0,be.jsxs)("div",{className:"pds-ste-sheet",style:{position:s?"absolute":"fixed",inset:0,zIndex:s?1:1e3,display:"flex",flexDirection:"column",justifyContent:"flex-end"},children:[(0,be.jsx)("div",{className:"pds-ste-sheet__scrim",onClick:n,style:{position:"absolute",inset:0,background:oe.scrim,animation:l?"none":oe.scrimMotion}}),(0,be.jsxs)("div",{ref:c,role:"dialog","aria-modal":"true","aria-labelledby":t,onKeyDown:d,style:{position:"relative",background:oe.sheetFill,boxShadow:oe.sheetShadow,borderRadius:`${oe.sheetRadius} ${oe.sheetRadius} 0 0`,padding:oe.sheetPad,display:"flex",flexDirection:"column",gap:oe.sheetGap,maxHeight:"85vh",animation:l?"none":oe.sheetMotion},children:[(0,be.jsxs)("div",{className:"pds-ste-sheet__header",style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:oe.sheetHeaderPad,paddingRight:oe.sheetHeaderPad},children:[(0,be.jsx)("span",{style:{...oe.progressType,color:oe.fgBase},children:r}),(0,be.jsx)(mo,{buttonStyle:"Naked",type:"Secondary",size:"S",showText:!1,showLeadingIcon:!0,leadingIcon:"close",text:"Close",ariaLabel:"Close",onClick:n})]}),(0,be.jsx)("h2",{id:t,style:{margin:0,textAlign:"center",...oe.sheetTitleType,color:oe.fgStrong},children:e}),o,a]})]})}function rg({title:e,children:t,agreementLabel:r,onContinue:n,layout:o="auto",noticeHeight:a=oe.noticeHeight,showPrint:i=!0,onPrint:s,continueLabel:l="Continue",readAgreementLabel:c="Read Agreement",readLabel:d="Agreement read",doneReadingLabel:u="Done Reading",stepLabel:p,messages:b,onAgreeChange:g,demoState:y,className:$=""}){ww();let m=Sw(o),f=(0,Ke.useId)().replace(/:/g,""),h={title:`${f}-title`,progress:`${f}-rp`,msg:`${f}-msg`,sheetTitle:`${f}-sheet-title`,sheetMsg:`${f}-sheet-msg`,checkbox:`${f}-cb`},v={...xw,...b},x=y&&Cw[y]||{},w=!!y,P=x.msg==="blocked"?m==="inline"?"scrollInline":"readAgreement":x.msg||null,[k,T]=(0,Ke.useState)(x.progress||0),[E,F]=(0,Ke.useState)(!!x.read),[R,_]=(0,Ke.useState)(!!x.checked),[C,L]=(0,Ke.useState)(P),[z,N]=(0,Ke.useState)(x.sheetMsg||null),[Z,I]=(0,Ke.useState)(0),[te,X]=(0,Ke.useState)(!!x.sheetOpen),[B,G]=(0,Ke.useState)(!!x.missing),V=(0,Ke.useRef)(null),M=(0,Ke.useRef)(null),ae=(0,Ke.useRef)(null),Q=Et=>{L(Et),I(Fn=>Fn+1)},Se=Et=>{Et&&(Et.dataset.moved="1",ii(Et))},$t=()=>ae.current&&ae.current.querySelector("button"),le=(0,Ke.useCallback)(Et=>{T(Fn=>Math.max(Fn,Et)),Et>=1&&(F(!0),L(Fn=>Fn==="scrollInline"?null:Fn))},[]),A=(0,Ke.useCallback)(Et=>{T(Fn=>Math.max(Fn,Et)),Et>=1&&N(null)},[]),W=()=>{m==="inline"?(Q("scrollInline"),Se(V.current)):(Q("readAgreement"),ii($t()))},ce=Et=>{if(!E){W();return}_(Et),Et&&(L(null),G(!1)),g&&g(Et)},me=()=>{if(!E){W();return}if(!R){G(!0),Q("agree"),ii(document.getElementById(h.checkbox));return}n&&n()},It=()=>{X(!1),N(null),setTimeout(()=>ii($t()),0)},De=()=>{if(k<1){N("scrollSheet"),I(Et=>Et+1),Se(M.current);return}F(!0),L(null),It()},Yr=s||(()=>{typeof window<"u"&&window.print()}),si=(0,be.jsxs)("div",{className:"pds-ste__agreement",style:{display:"flex",flexDirection:"column",gap:oe.agreementGap},children:[(0,be.jsx)(_f,{id:h.checkbox,checked:R,error:B&&!R,label:r,onChange:ce,describedBy:h.msg}),(0,be.jsx)(eg,{id:h.msg,text:C?v[C]:null,nonce:Z})]}),_r=(0,be.jsx)("div",{className:"pds-ste__actions",style:{display:"flex",justifyContent:"center"},children:(0,be.jsx)(mo,{buttonStyle:"Fill",type:"Primary",size:"L",text:l,onClick:me,"aria-describedby":h.msg})}),li={display:"flex",flexDirection:"column",gap:oe.sectionGap,minWidth:oe.minWidth,width:"100%"};return m==="inline"?(0,be.jsxs)("div",{className:`pds-ste ${$}`,style:li,children:[(0,be.jsx)(Ew,{value:k,labelId:h.progress}),(0,be.jsxs)("div",{className:"pds-ste__notice-group",style:{display:"flex",flexDirection:"column",gap:oe.titleGap},children:[(0,be.jsx)("div",{id:h.title,style:{...oe.titleType,color:oe.fgStrong},children:e}),(0,be.jsx)(tg,{height:a,titleId:h.title,regionRef:V,showPrint:i,onPrint:Yr,showHint:!E,onProgress:le,startAt:x.read?1:x.progress,children:t})]}),si,_r]}):(0,be.jsxs)("div",{className:`pds-ste ${$}`,style:w&&te?{...li,position:"relative",minHeight:oe.sheetFrameHeight}:li,children:[(0,be.jsx)("span",{ref:ae,style:{display:"flex"},children:(0,be.jsx)(mo,{buttonStyle:"Fill",type:"Tertiary",size:"M",text:E?d:c,showTrailingIcon:!0,trailingIcon:E?"check":"open_in_new","aria-haspopup":"dialog",onClick:()=>{X(!0),N(null)}})}),si,_r,te&&(0,be.jsxs)(Pw,{title:e,titleId:h.sheetTitle,stepLabel:p,onClose:It,initialFocusRef:M,contained:w,footer:(0,be.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,be.jsx)(mo,{buttonStyle:"Fill",type:"Primary",size:"L",text:u,onClick:De,"aria-describedby":h.sheetMsg})}),children:[(0,be.jsx)(tg,{height:a,titleId:h.sheetTitle,regionRef:M,showPrint:!1,showHint:k<1,onProgress:A,startAt:x.sheetOpen?x.progress:void 0,children:t}),(0,be.jsx)(eg,{id:h.sheetMsg,text:z?v[z]:null,nonce:Z})]})]})}var Tw=["notice-title","agreement-label","layout","notice-height","show-print","continue-label","read-agreement-label","read-label","done-reading-label","step-label"],J3=class extends HTMLElement{static get observedAttributes(){return Tw}constructor(){super(),this._reactRoot=null,this._notice=""}connectedCallback(){this._reactRoot||(this._notice=this.innerHTML,this.innerHTML="",this._mount=document.createElement("div"),this.appendChild(this._mount),this._reactRoot=(0,ng.createRoot)(this._mount)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_attr(t){return this.getAttribute(t)||void 0}_emit(t,r,n=!1){return this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0,cancelable:n}))}_render(){if(!this._reactRoot)return;let t=parseInt(this.getAttribute("notice-height"),10),r=this.getAttribute("show-print");this._reactRoot.render(Q3.default.createElement(rg,{title:this._attr("notice-title"),agreementLabel:this._attr("agreement-label"),layout:this._attr("layout")||"auto",noticeHeight:Number.isFinite(t)?t:void 0,showPrint:r!=="false"&&r!=="0",continueLabel:this._attr("continue-label"),readAgreementLabel:this._attr("read-agreement-label"),readLabel:this._attr("read-label"),doneReadingLabel:this._attr("done-reading-label"),stepLabel:this._attr("step-label"),onContinue:()=>this._emit("pathway-continue"),onPrint:()=>{this._emit("pathway-print",void 0,!0)&&window.print()},onAgreeChange:n=>this._emit("pathway-agree",{checked:n})},Q3.default.createElement("div",{dangerouslySetInnerHTML:{__html:this._notice},style:{display:"contents"}})))}};customElements.get("pathway-scroll-to-enable")||customElements.define("pathway-scroll-to-enable",J3);var em=S(D(),1),og=S(Ar(),1);var Lw=["open","sheet-title","menu","show-handle","show-back","close-label","back-label"],tm=class extends HTMLElement{static get observedAttributes(){return Lw}constructor(){super(),this._reactRoot=null,this._body=""}connectedCallback(){this._reactRoot||(this._body=this.innerHTML,this.innerHTML="",this._mount=document.createElement("div"),this.appendChild(this._mount),this._reactRoot=(0,og.createRoot)(this._mount)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_close(){this.removeAttribute("open"),this._emit("pathway-close")}_render(){if(!this._reactRoot)return;let t=this.getAttribute("show-handle"),r=n=>{let o=n.target.closest?.('[role^="menuitem"]');!o||o.hasAttribute("disabled")||o.getAttribute("aria-disabled")==="true"||(this._emit("pathway-select",{value:o.dataset.value}),this._close())};this._reactRoot.render(em.default.createElement(Of,{open:this.hasAttribute("open"),onOpenChange:n=>{n||this._close()},title:this.getAttribute("sheet-title")||"",menu:this.hasAttribute("menu"),showHandle:t!=="false"&&t!=="0",showBack:this.hasAttribute("show-back"),onBack:()=>this._emit("pathway-back"),closeLabel:this.getAttribute("close-label")||void 0,backLabel:this.getAttribute("back-label")||void 0},em.default.createElement("div",{dangerouslySetInnerHTML:{__html:this._body},onClick:r,style:{display:"contents"}})))}};customElements.get("pathway-bottom-sheet")||customElements.define("pathway-bottom-sheet",tm);var ag=S(D(),1),ig=S(Ar(),1);var Rw=["type","label","field-label","show-field-label","status","size","badge-style","leading-icon","selected-icon","show-trailing-icon","href","selected","disabled","remove-disabled"],rm=class extends HTMLElement{static get observedAttributes(){return Rw}constructor(){super(),this._reactRoot=null}connectedCallback(){this._reactRoot||(this.style.display=this.style.display||"inline-flex",this._reactRoot=(0,ig.createRoot)(this)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t){if(!this.hasAttribute(t))return;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_render(){if(!this._reactRoot)return;let t=this._bool("selected");this._reactRoot.render(ag.default.createElement(Nf,{type:this.getAttribute("type")||"static",label:this.getAttribute("label")||"",fieldLabel:this.getAttribute("field-label")||void 0,showFieldLabel:!!this._bool("show-field-label"),status:this.getAttribute("status")||"Neutral",size:this.getAttribute("size")||"Small",badgeStyle:this.getAttribute("badge-style")||"Outline & Fill",leadingIcon:this.getAttribute("leading-icon")||void 0,selectedIcon:this.getAttribute("selected-icon")||"check",showTrailingIcon:!!this._bool("show-trailing-icon"),href:this.getAttribute("href")||void 0,selected:t,disabled:!!this._bool("disabled"),removeDisabled:!!this._bool("remove-disabled"),onChange:r=>{t!==void 0&&this.toggleAttribute("selected",r),this._emit("pathway-badge-change",{selected:r})},onRemove:()=>this._emit("pathway-badge-remove",{})}))}};customElements.get("pathway-badge")||customElements.define("pathway-badge",rm);var dg=S(D(),1),ug=S(Ar(),1);var ut=S(D(),1);var Mt=S($e(),1),hn=e=>`var(--semantic-color-${e})`,Zt=e=>`var(--semantic-layout-units-${e})`,_w=e=>`var(--contextual-layout-units-${e})`,Oc=e=>`var(--semantic-type-${e})`,jf=e=>`var(--motion-${e})`,nm=e=>`var(--primitive-unit-unit-${e})`,$a=e=>({rest:hn(`${e}-rest`),hover:hn(`${e}-hover`),pressed:hn(`${e}-pressed`)}),Mw={fill:{...$a("fill-action-secondary"),disabled:hn("fill-action-disabled")},fg:{...$a("foreground-action-secondary"),disabled:hn("foreground-action-disabled")},stroke:null},sg={Primary:{fill:$a("fill-action-primary-strong"),fg:{rest:hn("foreground-action-primary-on-strong"),hover:hn("foreground-action-primary-on-strong"),pressed:hn("foreground-action-primary-on-strong")},stroke:null},Secondary:{fill:{rest:hn("fill-surface-elevated"),hover:hn("fill-surface-elevated"),pressed:hn("fill-surface-elevated")},fg:$a("foreground-action-secondary"),stroke:$a("stroke-action-secondary")},Tertiary:{fill:$a("fill-action-primary-subtle"),fg:$a("foreground-action-primary-on-subtle"),stroke:$a("stroke-action-primary-strong")}},Zr={gap:Zt("gap-xxxtight"),border:Zt("borderwidth-base"),touchW:Zt("accessibility-touch-target-aa-width"),touchH:Zt("accessibility-touch-target-aa-height"),focusOutline:`${_w("focusring-width")} solid ${hn("stroke-focusring-base")}`,focusOffset:"0",colour:`${jf("duration-2")} ${jf("easing-standard")}`,shape:`${jf("duration-4")} ${jf("easing-spring-soft")}`},Gf=(e,t,r)=>({fontFamily:Oc("family-brand"),fontSize:Oc(`font-size-${e}`),fontWeight:Oc("weight-medium"),lineHeight:Oc(`line-height-${t}`),letterSpacing:Oc(`letter-spacing-${r}`)}),lg={XS:{height:28,padH:Zt("padding-xtight"),inner:Zt("cornerradius-small"),outer:nm(14),gap:Zt("gap-xtight"),icon:14,...Gf("xs","xs-single","extraspacious")},S:{height:32,padH:Zt("padding-tight"),inner:Zt("cornerradius-small"),outer:Zt("cornerradius-xlarge"),gap:Zt("gap-tight"),icon:16,...Gf("s","s-single","spacious")},M:{height:40,padH:Zt("padding-base"),inner:Zt("cornerradius-base"),outer:nm(20),gap:Zt("gap-tight"),icon:18,...Gf("r","r-single","wide")},L:{height:48,padH:Zt("padding-relaxed"),inner:Zt("cornerradius-base"),outer:nm(24),gap:Zt("gap-tight"),icon:20,...Gf("m","m-single","wide")}},Iw=(e,t,r)=>{if(r)return e.outer;let n=e.outer,o=e.inner;return t==="Only"?n:t==="First"?`${n} ${o} ${o} ${n}`:t==="Last"?`${o} ${n} ${n} ${o}`:o},Zf=(0,ut.forwardRef)(function({toggleStyle:t="Secondary",size:r="S",selected:n=!1,position:o="Middle",label:a="Label",icon:i,showIcon:s=!0,showLabel:l=!0,disabled:c=!1,fill:d=!1,forceState:u=null,as:p="radio",onPointerEnter:b,onPointerLeave:g,onPointerDown:y,onPointerUp:$,onFocus:m,onBlur:f,onKeyDown:h,onKeyUp:v,onClick:x,className:w="",...P},k){let T=Ut(),[E,F]=(0,ut.useState)(!1),[R,_]=(0,ut.useState)(!1),[C,L]=(0,ut.useState)(!1),z=lg[r]||lg.S,N=n?sg[t]||sg.Secondary:Mw,Z=c?"disabled":u==="pressed"||R?"pressed":u==="hover"||E?"hover":"rest",I=!c&&(u==="focused"||C),te=s&&!l,X={display:"flex",alignItems:"center",justifyContent:"center",gap:z.gap,boxSizing:"border-box",height:z.height,minWidth:Zr.touchW,width:d?"100%":void 0,paddingLeft:te?0:z.padH,paddingRight:te?0:z.padH,borderRadius:Iw(z,o,n),background:N.fill[Z]||N.fill.rest,color:N.fg[Z]||N.fg.rest,boxShadow:N.stroke&&!I?`inset 0 0 0 ${Zr.border} ${N.stroke[Z]||N.stroke.rest}`:"none",outline:I?Zr.focusOutline:"none",outlineOffset:I?Zr.focusOffset:void 0,fontFamily:z.fontFamily,fontSize:z.fontSize,fontWeight:z.fontWeight,lineHeight:z.lineHeight,letterSpacing:z.letterSpacing,whiteSpace:"nowrap",transition:T?"none":`background-color ${Zr.colour}, color ${Zr.colour}, box-shadow ${Zr.colour}, border-radius ${Zr.shape}`},B={position:"relative",zIndex:I?1:void 0,display:"inline-flex",alignItems:"center",justifyContent:"center",minHeight:Zr.touchH,minWidth:Zr.touchW,flex:d?"1 1 0":"0 0 auto",padding:0,margin:0,border:0,background:"transparent",outline:"none",font:"inherit",color:"inherit",cursor:c?"not-allowed":"pointer",WebkitTapHighlightColor:"transparent"},G=p==="radio";return(0,Mt.jsx)("button",{ref:k,type:"button",role:G?"radio":void 0,"aria-checked":G?n:void 0,"aria-disabled":c||void 0,"aria-label":te?a:void 0,"data-selected":n||void 0,className:`pw-toggle-button__option ${w}`.trim(),style:B,...P,onPointerEnter:V=>{F(!0),b?.(V)},onPointerLeave:V=>{F(!1),_(!1),g?.(V)},onPointerDown:V=>{c||_(!0),y?.(V)},onPointerUp:V=>{_(!1),$?.(V)},onFocus:V=>{let M=!0;try{M=V.target.matches(":focus-visible")}catch{}L(M),m?.(V)},onBlur:V=>{L(!1),_(!1),f?.(V)},onKeyDown:V=>{!c&&(V.key===" "||V.key==="Enter")&&_(!0),h?.(V)},onKeyUp:V=>{_(!1),v?.(V)},onClick:x,children:(0,Mt.jsxs)("span",{className:"pw-toggle-button__main",style:X,children:[s&&i&&(0,Mt.jsx)(Ee,{name:i,size:z.icon,fill:n?1:0}),l&&(0,Mt.jsx)("span",{className:"pw-toggle-button__label",children:a})]})})});function Nw(e,t,r,n,o,a){let i=d=>d.reduce((u,p)=>u+t[p],0)+Math.max(0,d.length-1)*a,s=e.map((d,u)=>u);if(i(s)<=n)return{visible:s,hidden:[]};let l=n-o-a,c=[...s.filter(d=>e[d].disabled).reverse(),...s.filter(d=>!e[d].disabled&&e[d].value!==r).reverse()];for(let d of c){if(i(s)<=l)break;s=s.filter(u=>u!==d)}return{visible:s,hidden:e.map((d,u)=>u).filter(d=>!s.includes(d))}}var Dw=(e,t,r)=>{if(typeof window>"u"||!e)return r;let n=parseFloat(getComputedStyle(e).getPropertyValue(t));return Number.isFinite(n)?n:r};function cg({options:e=[],value:t,defaultValue:r,onChange:n,label:o,toggleStyle:a="Secondary",size:i="S",showIcon:s=!1,showLabel:l=!0,fill:c=!1,moreLabel:d="More",className:u="",style:p}){let b=e.find(B=>!B.disabled)?.value,g=t!==void 0,[y,$]=(0,ut.useState)(r??b),m=g?t:y,f=(0,ut.useCallback)(B=>{let G=e.find(V=>V.value===B);!G||G.disabled||B===m||(g||$(B),n?.(B))},[e,m,g,n]),h=(0,ut.useRef)(null),v=(0,ut.useRef)(null),x=(0,ut.useRef)({}),[w,P]=(0,ut.useState)({visible:e.map((B,G)=>G),hidden:[],natural:null}),[k,T]=(0,ut.useState)(null),E=(0,ut.useRef)(null),F=(0,ut.useCallback)(()=>{let B=h.current,G=v.current;if(!B||!G)return;let V=[...G.querySelectorAll("[data-measure]")],M=V.slice(0,e.length).map(A=>A.getBoundingClientRect().width),ae=V[e.length]?.getBoundingClientRect().width||0,Q=Dw(B,"--semantic-layout-units-gap-xxxtight",2),Se=M.reduce((A,W)=>A+W,0)+Math.max(0,M.length-1)*Q,$t=B.getBoundingClientRect().width,le=Nw(e,M,m,Math.max($t,0),ae,Q);P(A=>A.natural===Se&&A.visible.join()===le.visible.join()?A:{...le,natural:Se})},[e,m]);(0,ut.useLayoutEffect)(()=>{F()},[F,i,s,l,a]),(0,ut.useEffect)(()=>{if(typeof ResizeObserver>"u")return;let B=new ResizeObserver(()=>F());return h.current&&B.observe(h.current),v.current&&B.observe(v.current),()=>B.disconnect()},[F]),(0,ut.useEffect)(()=>{if(k==null)return;let B=requestAnimationFrame(()=>{x.current[k]?.focus(),T(null)});return()=>cancelAnimationFrame(B)},[k,w]);let R=w.visible.filter(B=>B<e.length),_=w.hidden.filter(B=>B<e.length),C=_.length>0,L=s&&!l,z=(B,G)=>{let V=R.indexOf(G),M=Q=>{let Se=e[R[Q]];x.current[Se.value]?.focus(),Se.disabled||f(Se.value)},ae=R.filter(Q=>!e[Q].disabled);B.key==="ArrowRight"||B.key==="ArrowDown"?(B.preventDefault(),M((V+1)%R.length)):B.key==="ArrowLeft"||B.key==="ArrowUp"?(B.preventDefault(),M((V-1+R.length)%R.length)):B.key==="Home"&&ae.length?(B.preventDefault(),M(R.indexOf(ae[0]))):B.key==="End"&&ae.length?(B.preventDefault(),M(R.indexOf(ae[ae.length-1]))):(B.key===" "||B.key==="Enter")&&(B.preventDefault(),f(e[G].value))},N=R.length+(C?1:0),Z=B=>N===1?"Only":B===0?"First":B===N-1?"Last":"Middle",I={toggleStyle:a,size:i,showIcon:s,showLabel:l,fill:c},te=(B,G)=>{let V=e[B],M=V.value===m,ae=(0,Mt.jsx)(Zf,{ref:Q=>{x.current[V.value]=Q},...I,label:V.label,icon:V.icon,selected:M,disabled:!!V.disabled,position:Z(G),tabIndex:M?0:-1,onClick:()=>f(V.value),onKeyDown:Q=>z(Q,B)},V.value);return V.disabled&&V.reason?(0,Mt.jsx)(ni,{content:L?`${V.label}. ${V.reason}`:V.reason,describe:V.reason,purpose:"description",persistOnPress:!0,children:ae},V.value):L?(0,Mt.jsx)(ni,{content:V.label,purpose:"label",children:ae},V.value):ae},X={display:c?"flex":"inline-flex",alignItems:"center",gap:Zr.gap,width:c?"100%":w.natural!=null?w.natural:void 0,maxWidth:"100%",minWidth:0,flexShrink:1,position:"relative",verticalAlign:"middle",...p};return(0,Mt.jsxs)("div",{ref:h,className:`pw-toggle-button ${u}`.trim(),style:X,children:[(0,Mt.jsx)("div",{role:"radiogroup","aria-label":o,style:{display:"flex",alignItems:"center",gap:Zr.gap,flex:c?"1 1 auto":"0 0 auto",minWidth:0},children:R.map((B,G)=>te(B,G))}),C&&(0,Mt.jsx)(I9,{align:"end",label:L?"More options":d,renderTrigger:({title:B,...G})=>(0,Mt.jsx)(Zf,{...I,...G,as:"button",fill:!1,onFocus:()=>{if(E.current==null)return;let V=E.current;E.current=null,T(V)},label:L?"More options":d,icon:L?"more_horiz":void 0,position:Z(N-1)}),children:_.map(B=>{let G=e[B];return(0,Mt.jsx)(M9,{id:G.value,label:G.label,leading:s?G.icon:void 0,disabled:!!G.disabled,reason:G.disabled?G.reason:void 0,onAction:()=>{f(G.value),E.current=G.value}},G.value)})}),(0,Mt.jsxs)("div",{ref:v,"aria-hidden":"true",inert:"",style:{position:"absolute",left:0,top:0,visibility:"hidden",pointerEvents:"none",display:"flex",gap:Zr.gap,whiteSpace:"nowrap"},children:[e.map(B=>(0,Mt.jsx)("span",{"data-measure":"",style:{display:"inline-flex"},children:(0,Mt.jsx)(Zf,{...I,fill:!1,label:B.label,icon:B.icon,selected:B.value===m,tabIndex:-1})},B.value)),(0,Mt.jsx)("span",{"data-measure":"",style:{display:"inline-flex"},children:(0,Mt.jsx)(Zf,{...I,fill:!1,as:"button",label:L?"More options":d,icon:L?"more_horiz":void 0,tabIndex:-1})})]})]})}var Fw=`
|
|
544
|
+
`,Uw=["content","describe","purpose","side","align","arrow","persist-on-press","disabled"],jw=0,um=class extends HTMLElement{static get observedAttributes(){return Uw}constructor(){super(),this._reactRoot=null,this._descId=`pw-tooltip-desc-${++jw}`}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=Ww,t.appendChild(r),this._mount=document.createElement("span"),t.appendChild(this._mount),this._reactRoot=(0,$9.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t){if(!this.hasAttribute(t))return;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_wireAria(t,r,n){let o=[...this.children].find(s=>s.getAttribute("slot")!=="pw-description");if(!o)return;let i=this.querySelector(`#${this._descId}`);if(t==="label"){r&&o.setAttribute("aria-label",r),i?.remove();return}i||(i=document.createElement("span"),i.id=this._descId,i.hidden=!0,i.slot="pw-description",this.appendChild(i)),i.textContent=n||r||"";let a=new Set((o.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean));a.add(this._descId),o.setAttribute("aria-describedby",[...a].join(" "))}_render(){if(!this._reactRoot)return;let t=this.getAttribute("content")||"",r=this.getAttribute("describe")||void 0,n=this.getAttribute("purpose")==="label"?"label":"description";this._wireAria(n,t,r);let o=this.hasAttribute("arrow")?this._bool("arrow"):void 0;this._reactRoot.render(o1.default.createElement(co,{content:t,purpose:n,manageAria:!1,side:this.getAttribute("side")||"top",align:this.getAttribute("align")||"center",arrow:o,persistOnPress:!!this._bool("persist-on-press"),disabled:!!this._bool("disabled")},o1.default.createElement("span",{className:"pw-tooltip-wc-trigger"},o1.default.createElement("slot"))))}};customElements.get("pathway-tooltip")||customElements.define("pathway-tooltip",um);var pm=S(D(),1),S9=S(Rr(),1);var We=S(D(),1);var $e=S(he(),1),Qr=e=>`var(--semantic-color-${e})`,st=e=>`var(--semantic-layout-units-${e})`,Gw=e=>`var(--contextual-layout-units-${e})`,fm=e=>`var(--responsive-layout-${e})`,Zc=e=>`var(--semantic-type-${e})`,Is=(e,t,r,n)=>({fontFamily:Zc("family-brand"),fontSize:Zc(`font-size-${e}`),lineHeight:Zc(`line-height-${t}`),fontWeight:Zc(`weight-${r}`),letterSpacing:Zc(`letter-spacing-${n}`)}),ae={noticeFill:Qr("fill-surface-elevated"),noticeStroke:Qr("stroke-static-neutral-faint"),hintFill:Qr("fill-surface-overlay"),hintStroke:Qr("stroke-static-neutral-bold"),messageFill:Qr("fill-static-negative-subtle"),messageFg:Qr("foreground-static-negative-on-subtle"),progressFill:Qr("fill-static-brand-strong"),progressTrack:Qr("stroke-static-neutral-faint"),sheetFill:Qr("fill-surface-overlay"),scrim:Qr("scrim-base"),fgStrong:Qr("foreground-static-neutral-strong"),fgBase:Qr("foreground-static-neutral-base"),focusRing:Qr("stroke-focusring-base"),hintShadow:"var(--elevation-lift)",sheetShadow:"var(--elevation-sheet)",borderWidth:st("borderwidth-thin"),noticeRadius:st("cornerradius-base"),pillRadius:st("cornerradius-full"),messageRadius:st("cornerradius-small"),sheetRadius:fm("sheet-corner-radius-cornerradius"),focusWidth:Gw("focusring-width"),focusOffset:"0",sectionGap:st("gap-medium"),progressGap:st("gap-xtight"),titleGap:st("gap-tight"),agreementGap:st("gap-xtight"),paragraphGap:st("gap-base"),toolbarPad:`${st("padding-xxtight")} ${st("padding-xtight")} ${st("padding-xxxtight")}`,contentPad:`${st("padding-xtight")} ${st("padding-base")} ${st("padding-base")}`,hintPad:`${st("padding-xxxtight")} ${st("padding-xtight")}`,hintGap:st("gap-xxtight"),hintOffset:st("padding-xtight"),messagePad:st("padding-xtight"),messageGap:st("gap-tight"),sheetPad:`${fm("sheet-padding-top")} ${fm("sheet-padding-horizontal")} ${st("padding-wide")}`,sheetGap:st("gap-base"),sheetHeaderPad:st("padding-medium"),noticeType:Is("s","s-single","regular","spacious"),titleType:Is("r","r-single","medium","wide"),progressType:Is("xs","xs-single","regular","extraspacious"),hintType:Is("xs","xs-single","semibold","extraspacious"),messageType:Is("xs","xs-single","semibold","extraspacious"),sheetTitleType:Is("m","m-relaxed","semibold","wide"),progressMotion:"width var(--motion-duration-2) var(--motion-easing-standard)",scrimMotion:"pds-ste-fade var(--motion-duration-3) var(--motion-easing-standard)",sheetMotion:"pds-ste-rise var(--motion-duration-4) var(--motion-easing-emphasized)",noticeHeight:200,progressHeight:4,minWidth:320,readThreshold:8,breakpoint:768,sheetFrameHeight:560},Zw={scrollInline:"Scroll to the end of the notice before you continue.",readAgreement:"Read the agreement before you agree to it.",scrollSheet:"Scroll to the end of the notice to finish reading.",agree:"Check the box to confirm you have read the notice."},Yw={Unread:{},Reading:{progress:.5},Read:{progress:1,read:!0},Agreed:{progress:1,read:!0,checked:!0},Blocked:{msg:"blocked"},"Agreement Missing":{progress:1,read:!0,msg:"agree",missing:!0},"Sheet Unread":{sheetOpen:!0},"Sheet Blocked":{sheetOpen:!0,progress:.4,sheetMsg:"scrollSheet"},"Sheet Read":{sheetOpen:!0,progress:1}};function Xw(){if(typeof document>"u"||document.getElementById("pds-ste-styles"))return;let e=document.createElement("style");e.id="pds-ste-styles",e.textContent="@keyframes pds-ste-fade{from{opacity:0}to{opacity:1}}@keyframes pds-ste-rise{from{transform:translateY(100%)}to{transform:translateY(0)}}.pds-ste__region{outline:none}.pds-ste__region p{margin:0}",document.head.appendChild(e)}var v9=()=>typeof window<"u"&&typeof window.matchMedia=="function",y9=`(min-width: ${ae.breakpoint}px)`;function qw(e){let[t,r]=(0,We.useState)(()=>v9()?window.matchMedia(y9).matches:!0);return(0,We.useEffect)(()=>{if(e!=="auto"||!v9())return;let n=window.matchMedia(y9);r(n.matches);let o=i=>r(i.matches);return n.addEventListener("change",o),()=>n.removeEventListener("change",o)},[e]),e==="inline"||e==="sheet"?e:t?"inline":"sheet"}var ma=e=>{e&&typeof e.focus=="function"&&e.focus()};function Qw({value:e,labelId:t}){let r=Et(),n=Math.round(e*100);return(0,$e.jsxs)("div",{className:"pds-ste__progress",style:{display:"flex",flexDirection:"column",gap:ae.progressGap},children:[(0,$e.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",...ae.progressType,color:ae.fgBase},children:[(0,$e.jsx)("span",{id:t,children:"Reading progress"}),(0,$e.jsxs)("span",{"aria-hidden":"true",children:[n,"%"]})]}),(0,$e.jsx)("div",{role:"progressbar","aria-labelledby":t,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n,style:{height:ae.progressHeight,borderRadius:ae.pillRadius,background:ae.progressTrack,overflow:"hidden"},children:(0,$e.jsx)("div",{style:{width:`${n}%`,height:"100%",borderRadius:ae.pillRadius,background:ae.progressFill,transition:r?"none":ae.progressMotion}})})]})}function x9({id:e,text:t,nonce:r}){return(0,$e.jsx)("div",{id:e,children:t&&(0,$e.jsxs)("div",{role:"alert",style:{display:"flex",alignItems:"flex-start",gap:ae.messageGap,padding:ae.messagePad,borderRadius:ae.messageRadius,background:ae.messageFill,color:ae.messageFg,...ae.messageType},children:[(0,$e.jsx)(ye,{name:"error",size:"M",fill:1}),(0,$e.jsx)("span",{children:t})]},r)})}function Jw(){return(0,$e.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",left:0,right:0,bottom:ae.hintOffset,display:"flex",justifyContent:"center",pointerEvents:"none"},children:(0,$e.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:ae.hintGap,padding:ae.hintPad,borderRadius:ae.pillRadius,background:ae.hintFill,boxShadow:ae.hintShadow,border:`${ae.borderWidth} solid ${ae.hintStroke}`,...ae.hintType,color:ae.fgStrong},children:[(0,$e.jsx)(ye,{name:"arrow_downward",size:"M"}),"Scroll to continue"]})})}function C9({children:e,height:t,titleId:r,regionRef:n,showPrint:o,onPrint:i,showHint:a,onProgress:s,startAt:l}){let c=(0,We.useRef)(null),[d,u]=(0,We.useState)(!1),p=(0,We.useCallback)(g=>{if(!g)return;let y=g.scrollHeight-g.clientHeight;s(y<=ae.readThreshold?1:Math.min(1,g.scrollTop/(y-ae.readThreshold)))},[s]);(0,We.useLayoutEffect)(()=>{let g=c.current&&c.current.querySelector(".pds-scrollable__view");if(!g||(l!=null&&(g.scrollTop=(g.scrollHeight-g.clientHeight)*l),p(g),typeof ResizeObserver>"u"))return;let y=new ResizeObserver(()=>p(g));return y.observe(g),()=>y.disconnect()},[p,t,l]);let b=g=>{let y=!0;try{y=g.target.matches(":focus-visible")||g.target.dataset.moved==="1"}catch{}delete g.target.dataset.moved,u(y)};return(0,$e.jsxs)("div",{ref:c,className:"pds-ste__notice",onScrollCapture:g=>p(g.target),style:{position:"relative",background:ae.noticeFill,border:`${ae.borderWidth} solid ${ae.noticeStroke}`,borderRadius:ae.noticeRadius,outline:d?`${ae.focusWidth} solid ${ae.focusRing}`:"none",outlineOffset:ae.focusOffset},children:[o&&(0,$e.jsx)("div",{style:{padding:ae.toolbarPad},children:(0,$e.jsx)(Mn,{buttonStyle:"Naked",type:"Secondary",size:"S",text:"Print",showLeadingIcon:!0,leadingIcon:"print",onClick:i})}),(0,$e.jsx)(Lu,{style:{height:t},children:(0,$e.jsx)("div",{ref:n,className:"pds-ste__region",role:"region",tabIndex:0,"aria-labelledby":r,onFocus:b,onBlur:()=>u(!1),style:{padding:ae.contentPad,display:"flex",flexDirection:"column",gap:ae.paragraphGap,...ae.noticeType,color:ae.fgStrong},children:e})}),a&&(0,$e.jsx)(Jw,{})]})}function eS({title:e,titleId:t,stepLabel:r,onClose:n,children:o,footer:i,initialFocusRef:a,contained:s}){let l=Et(),c=(0,We.useRef)(null);(0,We.useEffect)(()=>{if(s)return;let u=document.body.style.overflow;document.body.style.overflow="hidden";let p=setTimeout(()=>ma(a.current),0);return()=>{clearTimeout(p),document.body.style.overflow=u}},[a,s]);let d=u=>{if(u.key==="Escape"){u.stopPropagation(),n();return}if(u.key!=="Tab"||!c.current)return;let p=c.current.querySelectorAll("button, input, [tabindex='0']");if(!p.length)return;let b=p[0],g=p[p.length-1];u.shiftKey&&document.activeElement===b?(u.preventDefault(),ma(g)):!u.shiftKey&&document.activeElement===g&&(u.preventDefault(),ma(b))};return(0,$e.jsxs)("div",{className:"pds-ste-sheet",style:{position:s?"absolute":"fixed",inset:0,zIndex:s?1:1e3,display:"flex",flexDirection:"column",justifyContent:"flex-end"},children:[(0,$e.jsx)("div",{className:"pds-ste-sheet__scrim",onClick:n,style:{position:"absolute",inset:0,background:ae.scrim,animation:l?"none":ae.scrimMotion}}),(0,$e.jsxs)("div",{ref:c,role:"dialog","aria-modal":"true","aria-labelledby":t,onKeyDown:d,style:{position:"relative",background:ae.sheetFill,boxShadow:ae.sheetShadow,borderRadius:`${ae.sheetRadius} ${ae.sheetRadius} 0 0`,padding:ae.sheetPad,display:"flex",flexDirection:"column",gap:ae.sheetGap,maxHeight:"85vh",animation:l?"none":ae.sheetMotion},children:[(0,$e.jsxs)("div",{className:"pds-ste-sheet__header",style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:ae.sheetHeaderPad,paddingRight:ae.sheetHeaderPad},children:[(0,$e.jsx)("span",{style:{...ae.progressType,color:ae.fgBase},children:r}),(0,$e.jsx)(Mn,{buttonStyle:"Naked",type:"Secondary",size:"S",showText:!1,showLeadingIcon:!0,leadingIcon:"close",text:"Close",ariaLabel:"Close",onClick:n})]}),(0,$e.jsx)("h2",{id:t,style:{margin:0,textAlign:"center",...ae.sheetTitleType,color:ae.fgStrong},children:e}),o,i]})]})}function w9({title:e,children:t,agreementLabel:r,onContinue:n,layout:o="auto",noticeHeight:i=ae.noticeHeight,showPrint:a=!0,onPrint:s,continueLabel:l="Continue",readAgreementLabel:c="Read Agreement",readLabel:d="Agreement read",doneReadingLabel:u="Done Reading",stepLabel:p,messages:b,onAgreeChange:g,demoState:y,className:$=""}){Xw();let m=qw(o),f=(0,We.useId)().replace(/:/g,""),h={title:`${f}-title`,progress:`${f}-rp`,msg:`${f}-msg`,sheetTitle:`${f}-sheet-title`,sheetMsg:`${f}-sheet-msg`,checkbox:`${f}-cb`},v={...Zw,...b},x=y&&Yw[y]||{},w=!!y,P=x.msg==="blocked"?m==="inline"?"scrollInline":"readAgreement":x.msg||null,[k,T]=(0,We.useState)(x.progress||0),[E,F]=(0,We.useState)(!!x.read),[_,I]=(0,We.useState)(!!x.checked),[C,L]=(0,We.useState)(P),[O,M]=(0,We.useState)(x.sheetMsg||null),[Z,R]=(0,We.useState)(0),[te,X]=(0,We.useState)(!!x.sheetOpen),[K,j]=(0,We.useState)(!!x.missing),z=(0,We.useRef)(null),N=(0,We.useRef)(null),ie=(0,We.useRef)(null),J=_t=>{L(_t),R(zn=>zn+1)},Ee=_t=>{_t&&(_t.dataset.moved="1",ma(_t))},ft=()=>ie.current&&ie.current.querySelector("button"),ce=(0,We.useCallback)(_t=>{T(zn=>Math.max(zn,_t)),_t>=1&&(F(!0),L(zn=>zn==="scrollInline"?null:zn))},[]),H=(0,We.useCallback)(_t=>{T(zn=>Math.max(zn,_t)),_t>=1&&M(null)},[]),V=()=>{m==="inline"?(J("scrollInline"),Ee(z.current)):(J("readAgreement"),ma(ft()))},de=_t=>{if(!E){V();return}I(_t),_t&&(L(null),j(!1)),g&&g(_t)},Y=()=>{if(!E){V();return}if(!_){j(!0),J("agree"),ma(document.getElementById(h.checkbox));return}n&&n()},je=()=>{X(!1),M(null),setTimeout(()=>ma(ft()),0)},Le=()=>{if(k<1){M("scrollSheet"),R(_t=>_t+1),Ee(N.current);return}F(!0),L(null),je()},Oe=s||(()=>{typeof window<"u"&&window.print()}),yn=(0,$e.jsxs)("div",{className:"pds-ste__agreement",style:{display:"flex",flexDirection:"column",gap:ae.agreementGap},children:[(0,$e.jsx)(zf,{id:h.checkbox,checked:_,error:K&&!_,label:r,onChange:de,describedBy:h.msg}),(0,$e.jsx)(x9,{id:h.msg,text:C?v[C]:null,nonce:Z})]}),Hr=(0,$e.jsx)("div",{className:"pds-ste__actions",style:{display:"flex",justifyContent:"center"},children:(0,$e.jsx)(Mn,{buttonStyle:"Fill",type:"Primary",size:"L",text:l,onClick:Y,"aria-describedby":h.msg})}),ha={display:"flex",flexDirection:"column",gap:ae.sectionGap,minWidth:ae.minWidth,width:"100%"};return m==="inline"?(0,$e.jsxs)("div",{className:`pds-ste ${$}`,style:ha,children:[(0,$e.jsx)(Qw,{value:k,labelId:h.progress}),(0,$e.jsxs)("div",{className:"pds-ste__notice-group",style:{display:"flex",flexDirection:"column",gap:ae.titleGap},children:[(0,$e.jsx)("div",{id:h.title,style:{...ae.titleType,color:ae.fgStrong},children:e}),(0,$e.jsx)(C9,{height:i,titleId:h.title,regionRef:z,showPrint:a,onPrint:Oe,showHint:!E,onProgress:ce,startAt:x.read?1:x.progress,children:t})]}),yn,Hr]}):(0,$e.jsxs)("div",{className:`pds-ste ${$}`,style:w&&te?{...ha,position:"relative",minHeight:ae.sheetFrameHeight}:ha,children:[(0,$e.jsx)("span",{ref:ie,style:{display:"flex"},children:(0,$e.jsx)(Mn,{buttonStyle:"Fill",type:"Tertiary",size:"M",text:E?d:c,showTrailingIcon:!0,trailingIcon:E?"check":"open_in_new","aria-haspopup":"dialog",onClick:()=>{X(!0),M(null)}})}),yn,Hr,te&&(0,$e.jsxs)(eS,{title:e,titleId:h.sheetTitle,stepLabel:p,onClose:je,initialFocusRef:N,contained:w,footer:(0,$e.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,$e.jsx)(Mn,{buttonStyle:"Fill",type:"Primary",size:"L",text:u,onClick:Le,"aria-describedby":h.sheetMsg})}),children:[(0,$e.jsx)(C9,{height:i,titleId:h.sheetTitle,regionRef:N,showPrint:!1,showHint:k<1,onProgress:H,startAt:x.sheetOpen?x.progress:void 0,children:t}),(0,$e.jsx)(x9,{id:h.sheetMsg,text:O?v[O]:null,nonce:Z})]})]})}var tS=["notice-title","agreement-label","layout","notice-height","show-print","continue-label","read-agreement-label","read-label","done-reading-label","step-label"],mm=class extends HTMLElement{static get observedAttributes(){return tS}constructor(){super(),this._reactRoot=null,this._notice=""}connectedCallback(){this._reactRoot||(this._notice=this.innerHTML,this.innerHTML="",this._mount=document.createElement("div"),this.appendChild(this._mount),this._reactRoot=(0,S9.createRoot)(this._mount)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_attr(t){return this.getAttribute(t)||void 0}_emit(t,r,n=!1){return this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0,cancelable:n}))}_render(){if(!this._reactRoot)return;let t=parseInt(this.getAttribute("notice-height"),10),r=this.getAttribute("show-print");this._reactRoot.render(pm.default.createElement(w9,{title:this._attr("notice-title"),agreementLabel:this._attr("agreement-label"),layout:this._attr("layout")||"auto",noticeHeight:Number.isFinite(t)?t:void 0,showPrint:r!=="false"&&r!=="0",continueLabel:this._attr("continue-label"),readAgreementLabel:this._attr("read-agreement-label"),readLabel:this._attr("read-label"),doneReadingLabel:this._attr("done-reading-label"),stepLabel:this._attr("step-label"),onContinue:()=>this._emit("pathway-continue"),onPrint:()=>{this._emit("pathway-print",void 0,!0)&&window.print()},onAgreeChange:n=>this._emit("pathway-agree",{checked:n})},pm.default.createElement("div",{dangerouslySetInnerHTML:{__html:this._notice},style:{display:"contents"}})))}};customElements.get("pathway-scroll-to-enable")||customElements.define("pathway-scroll-to-enable",mm);var hm=S(D(),1),E9=S(Rr(),1);var rS=["open","sheet-title","menu","show-handle","show-back","close-label","back-label"],gm=class extends HTMLElement{static get observedAttributes(){return rS}constructor(){super(),this._reactRoot=null,this._body=""}connectedCallback(){this._reactRoot||(this._body=this.innerHTML,this.innerHTML="",this._mount=document.createElement("div"),this.appendChild(this._mount),this._reactRoot=(0,E9.createRoot)(this._mount)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_close(){this.removeAttribute("open"),this._emit("pathway-close")}_render(){if(!this._reactRoot)return;let t=this.getAttribute("show-handle"),r=n=>{let o=n.target.closest?.('[role^="menuitem"]');!o||o.hasAttribute("disabled")||o.getAttribute("aria-disabled")==="true"||(this._emit("pathway-select",{value:o.dataset.value}),this._close())};this._reactRoot.render(hm.default.createElement(Qf,{open:this.hasAttribute("open"),onOpenChange:n=>{n||this._close()},title:this.getAttribute("sheet-title")||"",menu:this.hasAttribute("menu"),showHandle:t!=="false"&&t!=="0",showBack:this.hasAttribute("show-back"),onBack:()=>this._emit("pathway-back"),closeLabel:this.getAttribute("close-label")||void 0,backLabel:this.getAttribute("back-label")||void 0},hm.default.createElement("div",{dangerouslySetInnerHTML:{__html:this._body},onClick:r,style:{display:"contents"}})))}};customElements.get("pathway-bottom-sheet")||customElements.define("pathway-bottom-sheet",gm);var k9=S(D(),1),P9=S(Rr(),1);var nS=["type","label","field-label","show-field-label","status","size","badge-style","leading-icon","selected-icon","show-trailing-icon","href","selected","disabled","remove-disabled"],bm=class extends HTMLElement{static get observedAttributes(){return nS}constructor(){super(),this._reactRoot=null}connectedCallback(){this._reactRoot||(this.style.display=this.style.display||"inline-flex",this._reactRoot=(0,P9.createRoot)(this)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t){if(!this.hasAttribute(t))return;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_render(){if(!this._reactRoot)return;let t=this._bool("selected");this._reactRoot.render(k9.default.createElement(Uf,{type:this.getAttribute("type")||"static",label:this.getAttribute("label")||"",fieldLabel:this.getAttribute("field-label")||void 0,showFieldLabel:!!this._bool("show-field-label"),status:this.getAttribute("status")||"Neutral",size:this.getAttribute("size")||"Small",badgeStyle:this.getAttribute("badge-style")||"Outline & Fill",leadingIcon:this.getAttribute("leading-icon")||void 0,selectedIcon:this.getAttribute("selected-icon")||"check",showTrailingIcon:!!this._bool("show-trailing-icon"),href:this.getAttribute("href")||void 0,selected:t,disabled:!!this._bool("disabled"),removeDisabled:!!this._bool("remove-disabled"),onChange:r=>{t!==void 0&&this.toggleAttribute("selected",r),this._emit("pathway-badge-change",{selected:r})},onRemove:()=>this._emit("pathway-badge-remove",{})}))}};customElements.get("pathway-badge")||customElements.define("pathway-badge",bm);var _9=S(D(),1),M9=S(Rr(),1);var ht=S(D(),1);var Ht=S(he(),1),vn=e=>`var(--semantic-color-${e})`,Jt=e=>`var(--semantic-layout-units-${e})`,oS=e=>`var(--contextual-layout-units-${e})`,Yc=e=>`var(--semantic-type-${e})`,i1=e=>`var(--motion-${e})`,$m=e=>`var(--primitive-unit-unit-${e})`,Pi=e=>({rest:vn(`${e}-rest`),hover:vn(`${e}-hover`),pressed:vn(`${e}-pressed`)}),iS={fill:{...Pi("fill-action-secondary"),disabled:vn("fill-action-disabled")},fg:{...Pi("foreground-action-secondary"),disabled:vn("foreground-action-disabled")},stroke:null},T9={Primary:{fill:Pi("fill-action-primary-strong"),fg:{rest:vn("foreground-action-primary-on-strong"),hover:vn("foreground-action-primary-on-strong"),pressed:vn("foreground-action-primary-on-strong")},stroke:null},Secondary:{fill:{rest:vn("fill-surface-elevated"),hover:vn("fill-surface-elevated"),pressed:vn("fill-surface-elevated")},fg:Pi("foreground-action-secondary"),stroke:Pi("stroke-action-secondary")},Tertiary:{fill:Pi("fill-action-primary-subtle"),fg:Pi("foreground-action-primary-on-subtle"),stroke:Pi("stroke-action-primary-strong")}},Jr={gap:Jt("gap-xxxtight"),border:Jt("borderwidth-base"),touchW:Jt("accessibility-touch-target-aa-width"),touchH:Jt("accessibility-touch-target-aa-height"),focusOutline:`${oS("focusring-width")} solid ${vn("stroke-focusring-base")}`,focusOffset:"0",colour:`${i1("duration-2")} ${i1("easing-standard")}`,shape:`${i1("duration-4")} ${i1("easing-spring-soft")}`},a1=(e,t,r)=>({fontFamily:Yc("family-brand"),fontSize:Yc(`font-size-${e}`),fontWeight:Yc("weight-medium"),lineHeight:Yc(`line-height-${t}`),letterSpacing:Yc(`letter-spacing-${r}`)}),L9={XS:{height:28,padH:Jt("padding-xtight"),inner:Jt("cornerradius-small"),outer:$m(14),gap:Jt("gap-xtight"),icon:14,...a1("xs","xs-single","extraspacious")},S:{height:32,padH:Jt("padding-tight"),inner:Jt("cornerradius-small"),outer:Jt("cornerradius-xlarge"),gap:Jt("gap-tight"),icon:16,...a1("s","s-single","spacious")},M:{height:40,padH:Jt("padding-base"),inner:Jt("cornerradius-base"),outer:$m(20),gap:Jt("gap-tight"),icon:18,...a1("r","r-single","wide")},L:{height:48,padH:Jt("padding-relaxed"),inner:Jt("cornerradius-base"),outer:$m(24),gap:Jt("gap-tight"),icon:20,...a1("m","m-single","wide")}},aS=(e,t,r)=>{if(r)return e.outer;let n=e.outer,o=e.inner;return t==="Only"?n:t==="First"?`${n} ${o} ${o} ${n}`:t==="Last"?`${o} ${n} ${n} ${o}`:o},s1=(0,ht.forwardRef)(function({toggleStyle:t="Secondary",size:r="S",selected:n=!1,position:o="Middle",label:i="Label",icon:a,showIcon:s=!0,showLabel:l=!0,disabled:c=!1,fill:d=!1,forceState:u=null,as:p="radio",onPointerEnter:b,onPointerLeave:g,onPointerDown:y,onPointerUp:$,onFocus:m,onBlur:f,onKeyDown:h,onKeyUp:v,onClick:x,className:w="",...P},k){let T=Et(),[E,F]=(0,ht.useState)(!1),[_,I]=(0,ht.useState)(!1),[C,L]=(0,ht.useState)(!1),O=L9[r]||L9.S,M=n?T9[t]||T9.Secondary:iS,Z=c?"disabled":u==="pressed"||_?"pressed":u==="hover"||E?"hover":"rest",R=!c&&(u==="focused"||C),te=s&&!l,X={display:"flex",alignItems:"center",justifyContent:"center",gap:O.gap,boxSizing:"border-box",height:O.height,minWidth:Jr.touchW,width:d?"100%":void 0,paddingLeft:te?0:O.padH,paddingRight:te?0:O.padH,borderRadius:aS(O,o,n),background:M.fill[Z]||M.fill.rest,color:M.fg[Z]||M.fg.rest,boxShadow:M.stroke&&!R?`inset 0 0 0 ${Jr.border} ${M.stroke[Z]||M.stroke.rest}`:"none",outline:R?Jr.focusOutline:"none",outlineOffset:R?Jr.focusOffset:void 0,fontFamily:O.fontFamily,fontSize:O.fontSize,fontWeight:O.fontWeight,lineHeight:O.lineHeight,letterSpacing:O.letterSpacing,whiteSpace:"nowrap",transition:T?"none":`background-color ${Jr.colour}, color ${Jr.colour}, box-shadow ${Jr.colour}, border-radius ${Jr.shape}`},K={position:"relative",zIndex:R?1:void 0,display:"inline-flex",alignItems:"center",justifyContent:"center",minHeight:Jr.touchH,minWidth:Jr.touchW,flex:d?"1 1 0":"0 0 auto",padding:0,margin:0,border:0,background:"transparent",outline:"none",font:"inherit",color:"inherit",cursor:c?"not-allowed":"pointer",WebkitTapHighlightColor:"transparent"},j=p==="radio";return(0,Ht.jsx)("button",{ref:k,type:"button",role:j?"radio":void 0,"aria-checked":j?n:void 0,"aria-disabled":c||void 0,"aria-label":te?i:void 0,"data-selected":n||void 0,className:`pw-toggle-button__option ${w}`.trim(),style:K,...P,onPointerEnter:z=>{F(!0),b?.(z)},onPointerLeave:z=>{F(!1),I(!1),g?.(z)},onPointerDown:z=>{c||I(!0),y?.(z)},onPointerUp:z=>{I(!1),$?.(z)},onFocus:z=>{let N=!0;try{N=z.target.matches(":focus-visible")}catch{}L(N),m?.(z)},onBlur:z=>{L(!1),I(!1),f?.(z)},onKeyDown:z=>{!c&&(z.key===" "||z.key==="Enter")&&I(!0),h?.(z)},onKeyUp:z=>{I(!1),v?.(z)},onClick:x,children:(0,Ht.jsxs)("span",{className:"pw-toggle-button__main",style:X,children:[s&&a&&(0,Ht.jsx)(ye,{name:a,size:O.icon,fill:n?1:0}),l&&(0,Ht.jsx)("span",{className:"pw-toggle-button__label",children:i})]})})});function sS(e,t,r,n,o,i){let a=d=>d.reduce((u,p)=>u+t[p],0)+Math.max(0,d.length-1)*i,s=e.map((d,u)=>u);if(a(s)<=n)return{visible:s,hidden:[]};let l=n-o-i,c=[...s.filter(d=>e[d].disabled).reverse(),...s.filter(d=>!e[d].disabled&&e[d].value!==r).reverse()];for(let d of c){if(a(s)<=l)break;s=s.filter(u=>u!==d)}return{visible:s,hidden:e.map((d,u)=>u).filter(d=>!s.includes(d))}}var lS=(e,t,r)=>{if(typeof window>"u"||!e)return r;let n=parseFloat(getComputedStyle(e).getPropertyValue(t));return Number.isFinite(n)?n:r};function R9({options:e=[],value:t,defaultValue:r,onChange:n,label:o,toggleStyle:i="Secondary",size:a="S",showIcon:s=!1,showLabel:l=!0,fill:c=!1,moreLabel:d="More",className:u="",style:p}){let b=e.find(K=>!K.disabled)?.value,g=t!==void 0,[y,$]=(0,ht.useState)(r??b),m=g?t:y,f=(0,ht.useCallback)(K=>{let j=e.find(z=>z.value===K);!j||j.disabled||K===m||(g||$(K),n?.(K))},[e,m,g,n]),h=(0,ht.useRef)(null),v=(0,ht.useRef)(null),x=(0,ht.useRef)({}),[w,P]=(0,ht.useState)({visible:e.map((K,j)=>j),hidden:[],natural:null}),[k,T]=(0,ht.useState)(null),E=(0,ht.useRef)(null),F=(0,ht.useCallback)(()=>{let K=h.current,j=v.current;if(!K||!j)return;let z=[...j.querySelectorAll("[data-measure]")],N=z.slice(0,e.length).map(H=>H.getBoundingClientRect().width),ie=z[e.length]?.getBoundingClientRect().width||0,J=lS(K,"--semantic-layout-units-gap-xxxtight",2),Ee=N.reduce((H,V)=>H+V,0)+Math.max(0,N.length-1)*J,ft=K.getBoundingClientRect().width,ce=sS(e,N,m,Math.max(ft,0),ie,J);P(H=>H.natural===Ee&&H.visible.join()===ce.visible.join()?H:{...ce,natural:Ee})},[e,m]);(0,ht.useLayoutEffect)(()=>{F()},[F,a,s,l,i]),(0,ht.useEffect)(()=>{if(typeof ResizeObserver>"u")return;let K=new ResizeObserver(()=>F());return h.current&&K.observe(h.current),v.current&&K.observe(v.current),()=>K.disconnect()},[F]),(0,ht.useEffect)(()=>{if(k==null)return;let K=requestAnimationFrame(()=>{x.current[k]?.focus(),T(null)});return()=>cancelAnimationFrame(K)},[k,w]);let _=w.visible.filter(K=>K<e.length),I=w.hidden.filter(K=>K<e.length),C=I.length>0,L=s&&!l,O=(K,j)=>{let z=_.indexOf(j),N=J=>{let Ee=e[_[J]];x.current[Ee.value]?.focus(),Ee.disabled||f(Ee.value)},ie=_.filter(J=>!e[J].disabled);K.key==="ArrowRight"||K.key==="ArrowDown"?(K.preventDefault(),N((z+1)%_.length)):K.key==="ArrowLeft"||K.key==="ArrowUp"?(K.preventDefault(),N((z-1+_.length)%_.length)):K.key==="Home"&&ie.length?(K.preventDefault(),N(_.indexOf(ie[0]))):K.key==="End"&&ie.length?(K.preventDefault(),N(_.indexOf(ie[ie.length-1]))):(K.key===" "||K.key==="Enter")&&(K.preventDefault(),f(e[j].value))},M=_.length+(C?1:0),Z=K=>M===1?"Only":K===0?"First":K===M-1?"Last":"Middle",R={toggleStyle:i,size:a,showIcon:s,showLabel:l,fill:c},te=(K,j)=>{let z=e[K],N=z.value===m,ie=(0,Ht.jsx)(s1,{ref:J=>{x.current[z.value]=J},...R,label:z.label,icon:z.icon,selected:N,disabled:!!z.disabled,position:Z(j),tabIndex:N?0:-1,onClick:()=>f(z.value),onKeyDown:J=>O(J,K)},z.value);return z.disabled&&z.reason?(0,Ht.jsx)(co,{content:L?`${z.label}. ${z.reason}`:z.reason,describe:z.reason,purpose:"description",persistOnPress:!0,children:ie},z.value):L?(0,Ht.jsx)(co,{content:z.label,purpose:"label",children:ie},z.value):ie},X={display:c?"flex":"inline-flex",alignItems:"center",gap:Jr.gap,width:c?"100%":w.natural!=null?w.natural:void 0,maxWidth:"100%",minWidth:0,flexShrink:1,position:"relative",verticalAlign:"middle",...p};return(0,Ht.jsxs)("div",{ref:h,className:`pw-toggle-button ${u}`.trim(),style:X,children:[(0,Ht.jsx)("div",{role:"radiogroup","aria-label":o,style:{display:"flex",alignItems:"center",gap:Jr.gap,flex:c?"1 1 auto":"0 0 auto",minWidth:0},children:_.map((K,j)=>te(K,j))}),C&&(0,Ht.jsx)(qf,{align:"end",label:L?"More options":d,renderTrigger:({title:K,...j})=>(0,Ht.jsx)(s1,{...R,...j,as:"button",fill:!1,onFocus:()=>{if(E.current==null)return;let z=E.current;E.current=null,T(z)},label:L?"More options":d,icon:L?"more_horiz":void 0,position:Z(M-1)}),children:I.map(K=>{let j=e[K];return(0,Ht.jsx)(Xf,{id:j.value,label:j.label,leading:s?j.icon:void 0,disabled:!!j.disabled,reason:j.disabled?j.reason:void 0,onAction:()=>{f(j.value),E.current=j.value}},j.value)})}),(0,Ht.jsxs)("div",{ref:v,"aria-hidden":"true",inert:"",style:{position:"absolute",left:0,top:0,visibility:"hidden",pointerEvents:"none",display:"flex",gap:Jr.gap,whiteSpace:"nowrap"},children:[e.map(K=>(0,Ht.jsx)("span",{"data-measure":"",style:{display:"inline-flex"},children:(0,Ht.jsx)(s1,{...R,fill:!1,label:K.label,icon:K.icon,selected:K.value===m,tabIndex:-1})},K.value)),(0,Ht.jsx)("span",{"data-measure":"",style:{display:"inline-flex"},children:(0,Ht.jsx)(s1,{...R,fill:!1,as:"button",label:L?"More options":d,icon:L?"more_horiz":void 0,tabIndex:-1})})]})]})}var cS=`
|
|
546
545
|
:host { display: inline-flex; max-width: 100%; min-width: 0; }
|
|
547
546
|
:host([fill]) { display: flex; width: 100%; }
|
|
548
547
|
:host([hidden]) { display: none; }
|
|
@@ -563,7 +562,27 @@ ${gr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${fe.s
|
|
|
563
562
|
text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal;
|
|
564
563
|
direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
|
|
565
564
|
}
|
|
566
|
-
`,Hw=["options","value","label","toggle-style","size","show-icon","show-label","fill","more-label"],om=class extends HTMLElement{static get observedAttributes(){return Hw}constructor(){super(),this._reactRoot=null,this._options=null}get options(){return this._options??this._parseOptions()}set options(t){this._options=Array.isArray(t)?t:null,this._render()}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=Fw,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-tb-wc-root",t.appendChild(this._mount),this._reactRoot=(0,ug.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t,r){if(!this.hasAttribute(t))return r;let n=this.getAttribute(t);return n!=="false"&&n!=="0"}_parseOptions(){try{let t=JSON.parse(this.getAttribute("options")||"[]");return Array.isArray(t)?t:[]}catch{return[]}}_render(){if(!this._reactRoot)return;let t=r=>{this.setAttribute("value",r),this.dispatchEvent(new CustomEvent("pathway-change",{detail:{value:r},bubbles:!0,composed:!0}))};this._reactRoot.render(dg.default.createElement(cg,{options:this.options,value:this.getAttribute("value")??void 0,onChange:t,label:this.getAttribute("label")||void 0,toggleStyle:this.getAttribute("toggle-style")||"Secondary",size:this.getAttribute("size")||"S",showIcon:!!this._bool("show-icon",!1),showLabel:this._bool("show-label",!0),fill:!!this._bool("fill",!1),moreLabel:this.getAttribute("more-label")||"More"}))}};customElements.get("pathway-toggle-button")||customElements.define("pathway-toggle-button",om);var am=S(D(),1),fg=S(Ar(),1);var Aw=["label","hide-label","required","help-text","error","error-message","disabled","orientation","size","name","value"],im=class extends HTMLElement{static get observedAttributes(){return Aw}constructor(){super(),this._reactRoot=null,this._options=[]}connectedCallback(){this._reactRoot||(this._options=Array.from(this.querySelectorAll("option")).map(t=>({value:t.value,text:t.textContent.trim(),disabled:t.disabled})),this.textContent="",this.style.display=this.style.display||"block",this._reactRoot=(0,fg.createRoot)(this)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}get value(){return this.getAttribute("value")}set value(t){this.setAttribute("value",t)}_bool(t){if(!this.hasAttribute(t))return!1;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_render(){this._reactRoot&&this._reactRoot.render(am.default.createElement(s9,{label:this.getAttribute("label")||"",showLabel:!this._bool("hide-label"),required:this._bool("required"),helpText:this.getAttribute("help-text")||void 0,error:this._bool("error"),errorMessage:this.getAttribute("error-message")||void 0,disabled:this._bool("disabled"),orientation:this.getAttribute("orientation")||"Vertical",size:this.getAttribute("size")||"Base",name:this.getAttribute("name")||void 0,value:this.hasAttribute("value")?this.getAttribute("value"):null,onChange:t=>{this.setAttribute("value",t),this.dispatchEvent(new CustomEvent("pathway-radio-change",{detail:{value:t},bubbles:!0,composed:!0}))}},this._options.map(t=>am.default.createElement(c9,{key:t.value,value:t.value,text:t.text,disabled:t.disabled}))))}};customElements.get("pathway-radio-group")||customElements.define("pathway-radio-group",im);var cm=S(D(),1),pg=S(Ar(),1);var Yf=class extends HTMLElement{constructor(){super(),this._reactRoot=null}connectedCallback(){this._reactRoot||(this.style.display=this.style.display||"inline-flex",this._reactRoot=(0,pg.createRoot)(this)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t){if(!this.hasAttribute(t))return!1;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_attr(t){return this.getAttribute(t)||void 0}},sm=class extends Yf{static get observedAttributes(){return["size","content","shape","avatar-style","src","text","icon","name","show-badge","badge-status"]}_render(){this._reactRoot&&this._reactRoot.render(cm.default.createElement($s,{size:this._attr("size")||"M",content:this._attr("content"),shape:this._attr("shape")||"Circle",avatarStyle:this._attr("avatar-style")||"Fill",src:this._attr("src"),text:this._attr("text"),icon:this._attr("icon")||"person",name:this._attr("name"),showBadge:this._bool("show-badge"),badgeStatus:this._attr("badge-status")||"Positive"}))}},lm=class extends Yf{static get observedAttributes(){return["size","people","max","label"]}_render(){if(!this._reactRoot)return;let t=[];try{t=JSON.parse(this.getAttribute("people")||"[]")}catch{t=[]}let r=parseInt(this.getAttribute("max")||"3",10);this._reactRoot.render(cm.default.createElement(C9,{size:this._attr("size")||"XS",people:Array.isArray(t)?t:[],max:Number.isFinite(r)?r:3,label:this._attr("label")}))}};customElements.get("pathway-avatar")||customElements.define("pathway-avatar",sm);customElements.get("pathway-avatar-group")||customElements.define("pathway-avatar-group",lm);if(typeof document<"u"&&!document.getElementById("pathway-components-keyframes")){let e=document.createElement("style");e.id="pathway-components-keyframes",e.textContent="@keyframes popoverIn{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:translateX(0)}}@keyframes popoverInCentered{from{opacity:0;transform:translateX(-6px) translateY(-50%)}to{opacity:1;transform:translateX(0) translateY(-50%)}}@media(prefers-reduced-motion:reduce){@keyframes popoverIn{from{opacity:0}to{opacity:1}}@keyframes popoverInCentered{from{opacity:0;transform:translateY(-50%)}to{opacity:1;transform:translateY(-50%)}}}",document.head.appendChild(e)}export{Es as ACCOUNTING_APP_SWITCHER,U3 as PathwayAccountingSideNav,sm as PathwayAvatar,lm as PathwayAvatarGroup,rm as PathwayBadge,tm as PathwayBottomSheet,hp as PathwayButton,j3 as PathwayNavShell,Y3 as PathwayPageTemplate,im as PathwayRadioGroup,J3 as PathwayScrollToEnable,Fc as PathwaySideNav,om as PathwayToggleButton,X3 as PathwayTooltip,Pp as PathwayTopNav};
|
|
565
|
+
`,dS=["options","value","label","toggle-style","size","show-icon","show-label","fill","more-label"],vm=class extends HTMLElement{static get observedAttributes(){return dS}constructor(){super(),this._reactRoot=null,this._options=null}get options(){return this._options??this._parseOptions()}set options(t){this._options=Array.isArray(t)?t:null,this._render()}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=cS,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-tb-wc-root",t.appendChild(this._mount),this._reactRoot=(0,M9.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t,r){if(!this.hasAttribute(t))return r;let n=this.getAttribute(t);return n!=="false"&&n!=="0"}_parseOptions(){try{let t=JSON.parse(this.getAttribute("options")||"[]");return Array.isArray(t)?t:[]}catch{return[]}}_render(){if(!this._reactRoot)return;let t=r=>{this.setAttribute("value",r),this.dispatchEvent(new CustomEvent("pathway-change",{detail:{value:r},bubbles:!0,composed:!0}))};this._reactRoot.render(_9.default.createElement(R9,{options:this.options,value:this.getAttribute("value")??void 0,onChange:t,label:this.getAttribute("label")||void 0,toggleStyle:this.getAttribute("toggle-style")||"Secondary",size:this.getAttribute("size")||"S",showIcon:!!this._bool("show-icon",!1),showLabel:this._bool("show-label",!0),fill:!!this._bool("fill",!1),moreLabel:this.getAttribute("more-label")||"More"}))}};customElements.get("pathway-toggle-button")||customElements.define("pathway-toggle-button",vm);var Sm=S(D(),1),A9=S(Rr(),1);var gt=S(D(),1);var we=S(he(),1),Gt=e=>`var(--semantic-color-${e})`,po=e=>`var(--semantic-layout-units-${e})`,Xc=e=>`var(--contextual-layout-units-${e})`,Ds=e=>`var(--semantic-type-${e})`,l1=e=>`var(--motion-${e})`,N9=e=>({rest:Gt(`${e}-rest`),hover:Gt(`${e}-hover`),pressed:Gt(`${e}-pressed`)});var uS={fill:{rest:"transparent",hover:Gt("fill-action-secondary-rest"),pressed:Gt("fill-action-secondary-hover")},stroke:{rest:Gt("stroke-static-neutral-strong"),hover:Gt("stroke-action-secondary-rest"),pressed:Gt("stroke-action-secondary-hover")},fg:N9("foreground-action-secondary")},c1=Gt("foreground-action-primary-on-subtle-pressed"),D9={fill:{rest:Gt("fill-action-selection-selected"),hover:Gt("fill-action-selection-hover"),pressed:Gt("fill-action-selection-hover")},stroke:N9("stroke-action-primary-strong"),fg:{rest:c1,hover:c1,pressed:c1}},Hs={fill:Gt("fill-action-disabled"),stroke:Gt("stroke-action-disabled"),fg:Gt("foreground-action-disabled")},ym={fill:Gt("fill-surface-elevated"),stroke:Gt("stroke-action-primary-subtle-rest"),fg:c1},jt={radius:Xc("field-cornerradius"),border:po("borderwidth-base"),pillBorder:po("borderwidth-thin"),pillRadius:po("cornerradius-full"),pillPadH:po("padding-xxtight"),textGap:po("gap-xxtight"),touchW:po("accessibility-touch-target-aa-width"),touchH:po("accessibility-touch-target-aa-height"),focusOutline:`${Xc("focusring-width")} solid ${Gt("stroke-focusring-base")}`,colour:`${l1("duration-2")} ${l1("easing-standard")}`,chevron:`transform ${l1("duration-4")} ${l1("easing-standard")}`},Ns=(e,t,r)=>({fontFamily:Ds("family-brand"),fontSize:Ds(`font-size-${e}`),lineHeight:Ds(`line-height-${t}`),letterSpacing:Ds(`letter-spacing-${r}`)}),I9={XS:{height:30,square:28,padH:Xc("button-padding-xsmall-horizontal"),slotPad:po("padding-xxxtight"),slot:16,icon:12,chevSlot:16,chev:16,valueMax:140,labelMax:168,...Ns("xs","xs-single","extraspacious"),pill:Ns("xs","xs-single","extraspacious")},S:{height:34,square:34,padH:Xc("button-padding-small-horizontal"),slotPad:po("padding-xxtight"),slot:22,icon:14,chevSlot:22,chev:18,valueMax:140,labelMax:168,...Ns("s","s-single","spacious"),pill:Ns("xs","xs-single","extraspacious")},M:{height:40,square:40,padH:Xc("button-padding-medium-horizontal"),slotPad:po("padding-xxxtight"),slot:24,icon:16,chevSlot:24,chev:20,valueMax:170,labelMax:200,...Ns("r","r-single","wide"),pill:Ns("s","s-single","spacious")}},d1={medium:Ds("weight-medium"),semibold:Ds("weight-semibold")},fS=e=>{try{return e.target.matches(":focus-visible")}catch{return!0}},Fs=({size:e,children:t})=>(0,we.jsx)("span",{"aria-hidden":"true",style:{width:e,height:e,display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:t}),xm=e=>({display:"block",minWidth:0,maxWidth:e,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),F9=({sz:e,disabled:t,children:r,flush:n=!1})=>(0,we.jsx)("span",{"aria-hidden":"true",className:"pw-select__count",style:{flexShrink:0,boxSizing:"border-box",display:"inline-flex",alignItems:"center",marginLeft:n?0:jt.textGap,paddingLeft:jt.pillPadH,paddingRight:jt.pillPadH,borderRadius:jt.pillRadius,border:`${jt.pillBorder} solid ${t?Hs.stroke:ym.stroke}`,background:t?Hs.fill:ym.fill,color:t?Hs.fg:ym.fg,...e.pill,fontWeight:d1.medium},children:r}),Cm=(0,gt.forwardRef)(function({sz:t,on:r,disabled:n,forceState:o,square:i,width:a,children:s,tooltip:l,tooltipPurpose:c="description",...d},u){let p=Et(),[b,g]=(0,gt.useState)(!1),[y,$]=(0,gt.useState)(!1),[m,f]=(0,gt.useState)(!1),h=d["aria-expanded"]===!0,v=r?D9:uS,x=n?"disabled":o==="pressed"||y||h?"pressed":o==="hover"||b?"hover":"rest",w=!n&&(o==="focused"||m),P={display:"flex",alignItems:"center",justifyContent:i?"center":"flex-start",boxSizing:"border-box",height:i?t.square:t.height,width:i?t.square:a,minWidth:0,paddingLeft:i?0:t.padH,paddingRight:i?0:t.padH,borderRadius:jt.radius,background:n?Hs.fill:v.fill[x],color:n?Hs.fg:v.fg[x],boxShadow:w?"none":`inset 0 0 0 ${jt.border} ${n?Hs.stroke:v.stroke[x]}`,outline:w?jt.focusOutline:"none",outlineOffset:0,fontFamily:t.fontFamily,fontSize:t.fontSize,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,fontWeight:d1.medium,whiteSpace:"nowrap",transition:p?"none":`background-color ${jt.colour}, color ${jt.colour}, box-shadow ${jt.colour}`},k={position:"relative",zIndex:w?1:void 0,display:"inline-flex",alignItems:"center",justifyContent:"center",minHeight:jt.touchH,minWidth:jt.touchW,maxWidth:"100%",padding:0,margin:0,border:0,background:"transparent",outline:"none",font:"inherit",color:"inherit",cursor:n?"not-allowed":"pointer",WebkitTapHighlightColor:"transparent"},{onPointerEnter:T,onPointerLeave:E,onPointerDown:F,onPointerUp:_,onFocus:I,onBlur:C,onKeyDown:L,onKeyUp:O,...M}=d,Z=(0,we.jsx)("button",{ref:u,type:"button",disabled:n,"data-selected":r||void 0,style:k,...M,onPointerEnter:R=>{g(!0),T?.(R)},onPointerLeave:R=>{g(!1),$(!1),E?.(R)},onPointerDown:R=>{$(!0),F?.(R)},onPointerUp:R=>{$(!1),_?.(R)},onFocus:R=>{f(fS(R)),I?.(R)},onBlur:R=>{f(!1),$(!1),C?.(R)},onKeyDown:R=>{(R.key===" "||R.key==="Enter")&&$(!0),L?.(R)},onKeyUp:R=>{$(!1),O?.(R)},children:(0,we.jsx)("span",{className:"pw-select__main",style:P,children:s})});return(0,we.jsx)(co,{content:l,purpose:c,disabled:!l||n||h,manageAria:!1,children:Z})});function wm(e){let t=(0,gt.useRef)(null),[r,n]=(0,gt.useState)(!1);return(0,gt.useLayoutEffect)(()=>{let o=t.current;if(!o)return;let i=()=>n([...o.querySelectorAll("[data-cut]")].some(s=>s.scrollWidth>s.clientWidth+.5));if(i(),typeof ResizeObserver>"u")return;let a=new ResizeObserver(i);return a.observe(o),()=>a.disconnect()},e),[t,r]}var pS=(0,gt.forwardRef)(function({sz:t,label:r,icon:n,showLabel:o,selected:i,defaultSelected:a=!1,onSelectedChange:s,disabled:l,forceState:c,width:d,...u},p){let b=i!==void 0,[g,y]=(0,gt.useState)(a),$=b?i:g,[m,f]=wm([r,o,t]),h=!o;return(0,we.jsx)("span",{ref:m,style:{display:"inline-flex",maxWidth:"100%"},children:(0,we.jsxs)(Cm,{ref:p,sz:t,on:$,disabled:l,forceState:c,square:h,width:d,"aria-pressed":$,"aria-label":h?r:void 0,tooltip:h||f?r:void 0,tooltipPurpose:h?"label":"description",onClick:()=>{if(l)return;let x=!$;b||y(x),s?.(x)},...u,children:[n&&(0,we.jsx)(Fs,{size:t.slot,children:(0,we.jsx)(ye,{name:n,size:t.icon,fill:$?1:0})}),o&&(0,we.jsx)("span",{style:{minWidth:0,paddingLeft:t.slotPad,paddingRight:t.slotPad},children:(0,we.jsx)("span",{"data-cut":!0,style:xm(t.labelMax),children:r})})]})})}),mS=(0,gt.forwardRef)(function({sz:t,label:r="Filters",icon:n,showLabel:o,count:i=0,showCount:a=!1,selected:s,onPress:l,isOpen:c=!1,disabled:d,forceState:u,width:p,...b},g){let y=s??i>0,[$,m]=wm([r,o,t]),f=!o,h=y?`${r}, ${i} applied`:r;return(0,we.jsx)("span",{ref:$,style:{display:"inline-flex",maxWidth:"100%"},children:(0,we.jsxs)(Cm,{ref:g,sz:t,on:y,disabled:d,forceState:u,square:f&&!(y&&a),width:p,"aria-haspopup":"dialog","aria-expanded":c,"aria-label":h,tooltip:f||m?r:void 0,tooltipPurpose:f?"label":"description",onClick:()=>{d||l?.()},...b,children:[n&&(0,we.jsx)(Fs,{size:t.slot,children:(0,we.jsx)(ye,{name:n,size:t.icon,fill:y?1:0})}),o&&(0,we.jsx)("span",{style:{minWidth:0,paddingLeft:t.slotPad,paddingRight:t.slotPad},children:(0,we.jsx)("span",{"data-cut":!0,style:xm(t.labelMax),children:r})}),y&&a&&(0,we.jsx)(F9,{sz:t,disabled:d,flush:!0,children:i})]})})});function hS({label:e,options:t=[],mode:r="single",value:n,showPrefix:o=!0,restValue:i}){let a=t[0],s=r==="multiple"?(Array.isArray(n)?n:[]).map(u=>t.find(p=>p.id===u)).filter(u=>u&&u!==a):[t.find(u=>u.id===n)].filter(u=>u&&u!==a),l=s[0]||a,c=s.length?l.label:i??(l?l.label:""),d=s.length?s.map(u=>u.label).join(", "):c;return{on:s.length>0,picks:s,shown:c,more:Math.max(0,s.length-1),name:o?`${e}: ${d}`:d}}var gS={XS:"XXXS",S:"XXS",M:"XS"},bS=(0,gt.forwardRef)(function({sz:t,size:r,label:n,options:o=[],mode:i="single",value:a,defaultValue:s,onChange:l,showPrefix:c=!0,showLeading:d=!0,leading:u="filter_list",disabled:p,forceState:b,width:g,open:y,onOpenChange:$,restValue:m,...f},h){let v=i==="multiple",x=o[0],w=a!==void 0,[P,k]=(0,gt.useState)(s??(v?[]:x?.id)),T=w?a:P,[E,F]=(0,gt.useState)(!1),_=y??E,I=Et(),C=(0,gt.useRef)(null),L=(0,gt.useCallback)(Y=>{w||k(Y),l?.(Y)},[w,l]),O=(0,gt.useCallback)(Y=>{y===void 0&&F(Y),$?.(Y)},[y,$]),M=hS({label:n,options:o,mode:i,value:T,showPrefix:c,restValue:m}),[Z,R]=wm([M.name,t]),te=v?M.picks.length?M.picks.map(Y=>Y.id):[x?.id]:[T??x?.id],X=Y=>{let je=[...Y];if(!v){L(je[0]??x?.id);return}let Le=je.filter(Oe=>!te.includes(Oe));L(Le.includes(x?.id)?[]:je.filter(Oe=>Oe!==x?.id))},K=()=>{L(v?[]:x?.id),C.current?.focus()},j=Y=>{if(p||v||_||Y.key.length!==1||!/\S/.test(Y.key)||Y.metaKey||Y.ctrlKey||Y.altKey)return;let je=Y.key.toLowerCase(),Le=Math.max(0,o.findIndex(Oe=>Oe.id===T));for(let Oe=1;Oe<=o.length;Oe++){let yn=o[(Le+Oe)%o.length];if(yn&&!yn.disabled&&yn.label.toLowerCase().startsWith(je)){L(yn.id);break}}},z=gS[r]||"XXXS",N=M.picks.find(Y=>Y.avatar),ie=N?(0,we.jsx)(Fs,{size:t.slot,children:(0,we.jsx)(Ei,{size:z,name:N.avatar.name||N.label,src:N.avatar.src,text:Oc(N.avatar.name||N.label),"aria-hidden":"true"})}):d&&u?(0,we.jsx)(Fs,{size:t.slot,children:typeof u=="string"?(0,we.jsx)(ye,{name:u,size:t.icon}):u}):null,J=!p&&M.on&&!v,Ee=!J,ft=({title:Y,onKeyDown:je,...Le})=>(0,we.jsxs)(Cm,{ref:Oe=>{C.current=Oe,typeof h=="function"?h(Oe):h&&(h.current=Oe)},sz:t,on:M.on,disabled:p,forceState:b,width:g,...Le,"aria-label":M.name,tooltip:R?M.name:void 0,onKeyDown:Oe=>{je?.(Oe),j(Oe)},...f,children:[ie,(0,we.jsxs)("span",{style:{display:"flex",alignItems:"center",minWidth:0,flex:"1 1 auto",paddingLeft:t.slotPad,paddingRight:t.slotPad},children:[c&&(0,we.jsxs)("span",{style:{flexShrink:0,marginRight:jt.textGap},children:[n,":"]}),(0,we.jsx)("span",{"data-cut":!0,style:{...xm(t.valueMax),fontWeight:c?d1.semibold:d1.medium},children:M.shown}),M.more>0&&(0,we.jsxs)(F9,{sz:t,disabled:p,children:["+",M.more]})]}),J&&(0,we.jsx)(Fs,{size:t.chevSlot}),Ee&&(0,we.jsx)(Fs,{size:t.chevSlot,children:(0,we.jsx)(ye,{name:"arrow_drop_down",size:t.chev,style:{transform:_?"rotate(180deg)":"none",transition:I?"none":jt.chevron}})})]});Xn();let ce=`Clear ${n||"filter"}`,H=J&&(0,we.jsx)(co,{content:ce,purpose:"label",manageAria:!1,children:(0,we.jsx)("button",{type:"button","aria-label":ce,onClick:K,className:`pw-select__clear ${Wi}`,style:{position:"absolute",top:"50%",transform:"translateY(-50%)",right:`calc(${t.padH} - ${(44-t.chevSlot)/2}px)`,width:jt.touchW,height:jt.touchH,display:"inline-flex",alignItems:"center",justifyContent:"center",padding:0,margin:0,border:0,background:"transparent",cursor:"pointer",color:D9.fg.rest,zIndex:2},children:(0,we.jsx)("span",{"data-pw-ring-target":"",style:{width:t.chevSlot,height:t.chevSlot,borderRadius:jt.pillRadius,display:"inline-flex",alignItems:"center",justifyContent:"center"},children:(0,we.jsx)(ye,{name:"close",size:t.icon})})})}),V=o.some(Y=>Y.avatar),de=Y=>Y.avatar?{type:"avatar",size:"XS",name:Y.avatar.name||Y.label,src:Y.avatar.src}:Y.leading?Y.leading:V&&Y===x&&typeof u=="string"?u:void 0;return(0,we.jsxs)("span",{ref:Z,style:{position:"relative",display:"inline-flex",maxWidth:"100%"},children:[(0,we.jsx)(qf,{mode:"options",label:n||M.name,align:"start",smallScreen:"sheet",selectionMode:v?"multiple":"single",selectedKeys:new Set(te),onSelectionChange:X,open:p?!1:_,onOpenChange:O,renderTrigger:ft,footer:v&&M.picks.length?(0,we.jsx)(Mn,{size:"S",buttonStyle:"Outlined",type:"Secondary",text:"Clear all",onClick:()=>L([])}):void 0,children:o.map(Y=>(0,we.jsx)(Xf,{id:Y.id,label:Y.label,disabled:Y.disabled,leading:de(Y),indicator:v?"checkbox":"check"},Y.id))}),H]})}),H9=(0,gt.forwardRef)(function({type:t="Dropdown",size:r="XS",showLabel:n=!0,icon:o="filter_alt",...i},a){let s=I9[r]||I9.XS;return t==="Single click"?(0,we.jsx)(pS,{ref:a,sz:s,icon:o,showLabel:n,...i}):t==="Opens panel"?(0,we.jsx)(mS,{ref:a,sz:s,icon:o,showLabel:n,...i}):(0,we.jsx)(bS,{ref:a,sz:s,size:r,...i})});var $S=`
|
|
566
|
+
:host { display: inline-flex; max-width: 100%; min-width: 0; }
|
|
567
|
+
:host([hidden]) { display: none; }
|
|
568
|
+
/* INHERITANCE FIREWALL: the same rationale as pathway-button.js. Host-page
|
|
569
|
+
rules cannot reach inside the shadow tree, so inherited text properties are
|
|
570
|
+
reset and the component's own tokens drive everything. */
|
|
571
|
+
.pw-select-wc-root {
|
|
572
|
+
font-family: var(--semantic-type-family-brand), system-ui, sans-serif;
|
|
573
|
+
font-style: normal; text-transform: none; text-indent: 0; text-shadow: none;
|
|
574
|
+
white-space: normal; direction: ltr; color: inherit;
|
|
575
|
+
display: contents;
|
|
576
|
+
}
|
|
577
|
+
/* The icon font FILE is document-scoped; this class rule is needed in the
|
|
578
|
+
shadow root for the ligatures to render on the icon spans inside it. */
|
|
579
|
+
.material-symbols-rounded {
|
|
580
|
+
font-family: 'Material Symbols Rounded';
|
|
581
|
+
font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal;
|
|
582
|
+
text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal;
|
|
583
|
+
direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
|
|
584
|
+
}
|
|
585
|
+
`,vS=["type","size","label","options","mode","value","show-prefix","rest-value","show-leading","leading","icon","show-label","selected","count","show-count","open","disabled"],Em=class extends HTMLElement{static get observedAttributes(){return vS}constructor(){super(),this._reactRoot=null,this._options=null}get options(){return this._options??this._json("options",[])}set options(t){this._options=Array.isArray(t)?t:null,this._render()}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=$S+So,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-select-wc-root",t.appendChild(this._mount),this._reactRoot=(0,A9.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t,r){if(!this.hasAttribute(t))return r;let n=this.getAttribute(t);return n!=="false"&&n!=="0"}_json(t,r){try{let n=this.getAttribute(t);return n==null?r:JSON.parse(n)}catch{return r}}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_adoptMenuCss(){let t=this.shadowRoot;if(!t||t.getElementById("pw-popover-menu-css"))return;let r=document.getElementById("pw-popover-menu-css");r?t.appendChild(r.cloneNode(!0)):requestAnimationFrame(()=>this._adoptMenuCss())}_render(){if(!this._reactRoot)return;this._adoptMenuCss();let t=this.getAttribute("type")||"Dropdown",r=this.getAttribute("mode")==="multiple"?"multiple":"single",n=this.options,o=r==="multiple"?this._json("value",[]):this.getAttribute("value")??n[0]?.id;this._reactRoot.render(Sm.default.createElement(Zg,null,Sm.default.createElement(H9,{type:t,size:this.getAttribute("size")||"XS",label:this.getAttribute("label")||(t==="Opens panel"?"Filters":void 0),options:n,mode:r,value:o,onChange:i=>{this.setAttribute("value",Array.isArray(i)?JSON.stringify(i):i),this._emit("pathway-change",{value:i})},showPrefix:this._bool("show-prefix",!0),restValue:this.getAttribute("rest-value")??void 0,showLeading:this._bool("show-leading",!0),leading:this.getAttribute("leading")||"filter_list",icon:this.getAttribute("icon")||"filter_alt",showLabel:this._bool("show-label",!0),selected:t==="Single click"?!!this._bool("selected",!1):void 0,onSelectedChange:i=>{i?this.setAttribute("selected",""):this.removeAttribute("selected"),this._emit("pathway-change",{selected:i})},count:Number(this.getAttribute("count"))||0,showCount:!!this._bool("show-count",!1),isOpen:!!this._bool("open",!1),onPress:()=>this._emit("pathway-press",{}),disabled:!!this._bool("disabled",!1)})))}};customElements.get("pathway-select")||customElements.define("pathway-select",Em);var km=S(D(),1),O9=S(Rr(),1);var yS=["label","hide-label","required","help-text","error","error-message","disabled","orientation","size","name","value"],Pm=class extends HTMLElement{static get observedAttributes(){return yS}constructor(){super(),this._reactRoot=null,this._options=[]}connectedCallback(){this._reactRoot||(this._options=Array.from(this.querySelectorAll("option")).map(t=>({value:t.value,text:t.textContent.trim(),disabled:t.disabled})),this.textContent="",this.style.display=this.style.display||"block",this._reactRoot=(0,O9.createRoot)(this)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}get value(){return this.getAttribute("value")}set value(t){this.setAttribute("value",t)}_bool(t){if(!this.hasAttribute(t))return!1;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_render(){this._reactRoot&&this._reactRoot.render(km.default.createElement(Tg,{label:this.getAttribute("label")||"",showLabel:!this._bool("hide-label"),required:this._bool("required"),helpText:this.getAttribute("help-text")||void 0,error:this._bool("error"),errorMessage:this.getAttribute("error-message")||void 0,disabled:this._bool("disabled"),orientation:this.getAttribute("orientation")||"Vertical",size:this.getAttribute("size")||"Base",name:this.getAttribute("name")||void 0,value:this.hasAttribute("value")?this.getAttribute("value"):null,onChange:t=>{this.setAttribute("value",t),this.dispatchEvent(new CustomEvent("pathway-radio-change",{detail:{value:t},bubbles:!0,composed:!0}))}},this._options.map(t=>km.default.createElement(Rg,{key:t.value,value:t.value,text:t.text,disabled:t.disabled}))))}};customElements.get("pathway-radio-group")||customElements.define("pathway-radio-group",Pm);var Rm=S(D(),1),B9=S(Rr(),1);var u1=class extends HTMLElement{constructor(){super(),this._reactRoot=null}connectedCallback(){this._reactRoot||(this.style.display=this.style.display||"inline-flex",this._reactRoot=(0,B9.createRoot)(this)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t){if(!this.hasAttribute(t))return!1;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_attr(t){return this.getAttribute(t)||void 0}},Tm=class extends u1{static get observedAttributes(){return["size","content","shape","avatar-style","src","text","icon","name","show-badge","badge-status"]}_render(){this._reactRoot&&this._reactRoot.render(Rm.default.createElement(Ei,{size:this._attr("size")||"M",content:this._attr("content"),shape:this._attr("shape")||"Circle",avatarStyle:this._attr("avatar-style")||"Fill",src:this._attr("src"),text:this._attr("text"),icon:this._attr("icon")||"person",name:this._attr("name"),showBadge:this._bool("show-badge"),badgeStatus:this._attr("badge-status")||"Positive"}))}},Lm=class extends u1{static get observedAttributes(){return["size","people","max","label"]}_render(){if(!this._reactRoot)return;let t=[];try{t=JSON.parse(this.getAttribute("people")||"[]")}catch{t=[]}let r=parseInt(this.getAttribute("max")||"3",10);this._reactRoot.render(Rm.default.createElement(Vg,{size:this._attr("size")||"XS",people:Array.isArray(t)?t:[],max:Number.isFinite(r)?r:3,label:this._attr("label")}))}};customElements.get("pathway-avatar")||customElements.define("pathway-avatar",Tm);customElements.get("pathway-avatar-group")||customElements.define("pathway-avatar-group",Lm);if(typeof document<"u"&&!document.getElementById("pathway-components-keyframes")){let e=document.createElement("style");e.id="pathway-components-keyframes",e.textContent="@keyframes popoverIn{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:translateX(0)}}@keyframes popoverInCentered{from{opacity:0;transform:translateX(-6px) translateY(-50%)}to{opacity:1;transform:translateX(0) translateY(-50%)}}@media(prefers-reduced-motion:reduce){@keyframes popoverIn{from{opacity:0}to{opacity:1}}@keyframes popoverInCentered{from{opacity:0;transform:translateY(-50%)}to{opacity:1;transform:translateY(-50%)}}}",document.head.appendChild(e)}export{_s as ACCOUNTING_APP_SWITCHER,am as PathwayAccountingSideNav,Tm as PathwayAvatar,Lm as PathwayAvatarGroup,bm as PathwayBadge,gm as PathwayBottomSheet,_0 as PathwayButton,sm as PathwayNavShell,dm as PathwayPageTemplate,Pm as PathwayRadioGroup,mm as PathwayScrollToEnable,Em as PathwaySelect,jc as PathwaySideNav,vm as PathwayToggleButton,um as PathwayTooltip,V0 as PathwayTopNav};
|
|
567
586
|
/*! Bundled license information:
|
|
568
587
|
|
|
569
588
|
react/cjs/react.production.min.js:
|