@techdocs/cli 1.11.1 → 1.11.2-next.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.
Files changed (66) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/embedded-app/.config-schema.json +1967 -1200
  3. package/dist/embedded-app/index.html +1 -1
  4. package/dist/embedded-app/index.html.tmpl +1 -1
  5. package/dist/embedded-app/static/123.bcb96abf.chunk.js +2 -0
  6. package/dist/embedded-app/static/123.bcb96abf.chunk.js.map +1 -0
  7. package/dist/embedded-app/static/1659.fe3e020b.chunk.js +2 -0
  8. package/dist/embedded-app/static/1659.fe3e020b.chunk.js.map +1 -0
  9. package/dist/embedded-app/static/3641.2f6dbbcb.chunk.js +2 -0
  10. package/dist/embedded-app/static/3641.2f6dbbcb.chunk.js.map +1 -0
  11. package/dist/embedded-app/static/3641.3641.9c1b1a2e.css +2 -0
  12. package/dist/embedded-app/static/3641.3641.9c1b1a2e.css.map +1 -0
  13. package/dist/embedded-app/static/4587.9946f651.chunk.js +2 -0
  14. package/dist/embedded-app/static/4587.9946f651.chunk.js.map +1 -0
  15. package/dist/embedded-app/static/{5443.fa47af87.chunk.js → 5443.835e027f.chunk.js} +2 -2
  16. package/dist/embedded-app/static/{5443.fa47af87.chunk.js.map → 5443.835e027f.chunk.js.map} +1 -1
  17. package/dist/embedded-app/static/{3939.3939.44355183.css → 5954.5954.8056ed76.css} +1 -1
  18. package/dist/embedded-app/static/{3939.3939.44355183.css.map → 5954.5954.8056ed76.css.map} +1 -1
  19. package/dist/embedded-app/static/5954.f0710c0b.chunk.js +2 -0
  20. package/dist/embedded-app/static/5954.f0710c0b.chunk.js.map +1 -0
  21. package/dist/embedded-app/static/{4815.b2bde1a3.chunk.js → 7213.e2116c72.chunk.js} +2 -2
  22. package/dist/embedded-app/static/7213.e2116c72.chunk.js.map +1 -0
  23. package/dist/embedded-app/static/{7226.8c68c3d3.chunk.js → 7226.07a43ca6.chunk.js} +2 -2
  24. package/dist/embedded-app/static/7226.07a43ca6.chunk.js.map +1 -0
  25. package/dist/embedded-app/static/{7477.a970d20a.chunk.js → 7227.69beafef.chunk.js} +5 -5
  26. package/dist/embedded-app/static/7227.69beafef.chunk.js.map +1 -0
  27. package/dist/embedded-app/static/{main.728cdf6e.css → main.2a45aed3.css} +2 -2
  28. package/dist/embedded-app/static/main.2a45aed3.css.map +1 -0
  29. package/dist/embedded-app/static/main.3aa6c085.js +523 -0
  30. package/dist/embedded-app/static/main.3aa6c085.js.map +1 -0
  31. package/dist/embedded-app/static/{module-material-ui.972bd852.js → module-material-ui.0bea4977.js} +2 -2
  32. package/dist/embedded-app/static/module-material-ui.0bea4977.js.map +1 -0
  33. package/dist/embedded-app/static/module-react-aria-components.edebf589.js +2 -0
  34. package/dist/embedded-app/static/module-react-aria-components.edebf589.js.map +1 -0
  35. package/dist/embedded-app/static/module-react-aria.84a78dd1.js +13 -0
  36. package/dist/embedded-app/static/module-react-aria.84a78dd1.js.map +1 -0
  37. package/dist/embedded-app/static/{module-react-stately.97fc37eb.js → module-react-stately.3db88231.js} +2 -2
  38. package/dist/embedded-app/static/module-react-stately.3db88231.js.map +1 -0
  39. package/dist/embedded-app/static/module-remixicon.4e40b5b6.js +2 -0
  40. package/dist/embedded-app/static/{module-remixicon.0feb7353.js.map → module-remixicon.4e40b5b6.js.map} +1 -1
  41. package/dist/embedded-app/static/{runtime.8fda57a9.js → runtime.9fcbc8ae.js} +2 -2
  42. package/dist/embedded-app/static/runtime.9fcbc8ae.js.map +1 -0
  43. package/dist/package.json.cjs.js +1 -1
  44. package/package.json +7 -7
  45. package/dist/embedded-app/static/123.59719fa4.chunk.js +0 -2
  46. package/dist/embedded-app/static/123.59719fa4.chunk.js.map +0 -1
  47. package/dist/embedded-app/static/1659.6b3694d1.chunk.js +0 -2
  48. package/dist/embedded-app/static/1659.6b3694d1.chunk.js.map +0 -1
  49. package/dist/embedded-app/static/3939.265160c5.chunk.js +0 -2
  50. package/dist/embedded-app/static/3939.265160c5.chunk.js.map +0 -1
  51. package/dist/embedded-app/static/4587.baab3514.chunk.js +0 -2
  52. package/dist/embedded-app/static/4587.baab3514.chunk.js.map +0 -1
  53. package/dist/embedded-app/static/4815.b2bde1a3.chunk.js.map +0 -1
  54. package/dist/embedded-app/static/7226.8c68c3d3.chunk.js.map +0 -1
  55. package/dist/embedded-app/static/7477.a970d20a.chunk.js.map +0 -1
  56. package/dist/embedded-app/static/main.728cdf6e.css.map +0 -1
  57. package/dist/embedded-app/static/main.fbc1b502.js +0 -523
  58. package/dist/embedded-app/static/main.fbc1b502.js.map +0 -1
  59. package/dist/embedded-app/static/module-material-ui.972bd852.js.map +0 -1
  60. package/dist/embedded-app/static/module-react-aria-components.ab7cc6df.js +0 -2
  61. package/dist/embedded-app/static/module-react-aria-components.ab7cc6df.js.map +0 -1
  62. package/dist/embedded-app/static/module-react-aria.e3e38de1.js +0 -13
  63. package/dist/embedded-app/static/module-react-aria.e3e38de1.js.map +0 -1
  64. package/dist/embedded-app/static/module-react-stately.97fc37eb.js.map +0 -1
  65. package/dist/embedded-app/static/module-remixicon.0feb7353.js +0 -2
  66. package/dist/embedded-app/static/runtime.8fda57a9.js.map +0 -1
@@ -1,13 +0,0 @@
1
- "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["5331"],{60806(e,t,n){n.d(t,{m:()=>E});var r=n(26157),i=n(61988),o=n(34122),l=n(81901),s=n(3837),a={};a={"ar-AE":{collectionLabel:"مقترحات"},"bg-BG":{collectionLabel:"Предложения"},"cs-CZ":{collectionLabel:"N\xe1vrhy"},"da-DK":{collectionLabel:"Forslag"},"de-DE":{collectionLabel:"Empfehlungen"},"el-GR":{collectionLabel:"Προτάσεις"},"en-US":{collectionLabel:"Suggestions"},"es-ES":{collectionLabel:"Sugerencias"},"et-EE":{collectionLabel:"Soovitused"},"fi-FI":{collectionLabel:"Ehdotukset"},"fr-FR":{collectionLabel:"Suggestions"},"he-IL":{collectionLabel:"הצעות"},"hr-HR":{collectionLabel:"Prijedlozi"},"hu-HU":{collectionLabel:"Javaslatok"},"it-IT":{collectionLabel:"Suggerimenti"},"ja-JP":{collectionLabel:"候補"},"ko-KR":{collectionLabel:"제안"},"lt-LT":{collectionLabel:"Pasiūlymai"},"lv-LV":{collectionLabel:"Ieteikumi"},"nb-NO":{collectionLabel:"Forslag"},"nl-NL":{collectionLabel:"Suggesties"},"pl-PL":{collectionLabel:"Sugestie"},"pt-BR":{collectionLabel:"Sugest\xf5es"},"pt-PT":{collectionLabel:"Sugest\xf5es"},"ro-RO":{collectionLabel:"Sugestii"},"ru-RU":{collectionLabel:"Предложения"},"sk-SK":{collectionLabel:"N\xe1vrhy"},"sl-SI":{collectionLabel:"Predlogi"},"sr-SP":{collectionLabel:"Predlozi"},"sv-SE":{collectionLabel:"F\xf6rslag"},"tr-TR":{collectionLabel:"\xd6neriler"},"uk-UA":{collectionLabel:"Пропозиції"},"zh-CN":{collectionLabel:"建议"},"zh-TW":{collectionLabel:"建議"}};var u=n(93523),c=n(99597),d=n(28052),f=n(92032),p=n(23900),h=n(55273),m=n(47499),g=n(5554),v=n(29226),y=n(44018),b=n(54469),w=n(14041);function E(e,t){var n;let{inputRef:E,collectionRef:P,filter:k,disableAutoFocusFirst:C=!1,disableVirtualFocus:T=!1}=e,S=(0,m.Bi)(),L=(0,w.useRef)(void 0),N=(0,w.useRef)(!1),x=(0,w.useRef)(null),K="virtual"===(0,l.ME)()&&((0,u.un)()||(0,u.m0)()),[M,D]=(0,w.useState)(!K&&!T),[R,F]=(0,w.useState)(!1);(0,w.useEffect)(()=>()=>clearTimeout(L.current),[]);let A=(0,p.J)(e=>{!e.isTrusted&&M&&E.current&&(0,o.bq)((0,s.TW)(E.current))!==E.current&&"touch"!==(0,l._q)()&&E.current.focus();let n=(0,o.wt)(e);!e.isTrusted&&n&&x.current!==n.id&&(clearTimeout(L.current),n!==P.current?N.current?(x.current=n.id,L.current=setTimeout(()=>{t.setFocusedNodeId(n.id)},500)):(x.current=n.id,t.setFocusedNodeId(n.id)):x.current&&!document.getElementById(x.current)&&(x.current=null,t.setFocusedNodeId(null)),N.current=!1)}),[I,O]=(0,w.useState)(null),H=(0,w.useCallback)(e=>{O(e),null!=e?(null!=e.getAttribute("tabindex")&&D(!1),F(!0)):F(!1)},[]);(0,v.N)(()=>(null!=I&&I.addEventListener("focusin",A),()=>{I?.removeEventListener("focusin",A)}),[I]);let B=(0,b.U)((0,w.useMemo)(()=>(0,f.P)(P,H),[P,H])),_=(0,w.useCallback)(()=>{N.current=!0,P.current?.dispatchEvent(new CustomEvent(r.C,{cancelable:!0,bubbles:!0,detail:{focusStrategy:"first"}}))},[P]),z=(0,w.useCallback)(e=>{(0,i.vX)((0,o.bq)()),x.current=null,t.setFocusedNodeId(null);let n=new CustomEvent(r.m,{cancelable:!0,bubbles:!0,detail:{clearFocusKey:e}});clearTimeout(L.current),N.current=!1,P.current?.dispatchEvent(n)},[P,t]),$=(0,w.useRef)("");(0,h._)(E,"input",e=>{let{inputType:t}=e;$.current=t});let W=(0,w.useRef)(null),V=(0,p.J)(e=>{if((0,o.wt)(e)===W.current){e.stopImmediatePropagation();let t=x.current;if(null==t)P.current?.dispatchEvent(new KeyboardEvent(e.type,e));else{let n=document.getElementById(t);n?.dispatchEvent(new KeyboardEvent(e.type,e))}}});(0,w.useEffect)(()=>(document.addEventListener("keyup",V,!0),()=>{document.removeEventListener("keyup",V,!0)}),[]);let U=(0,y.o)((n=a)&&n.__esModule?n.default:n,"@react-aria/autocomplete"),j=(0,g.b)({id:S,"aria-label":U.format("collectionLabel")}),q=(0,w.useCallback)((e,n)=>!k||k(e,t.inputValue,n),[t.inputValue,k]),G={value:t.inputValue,onChange:e=>{"insertText"!==$.current||C?$.current&&($.current.includes("insert")||$.current.includes("delete")||$.current.includes("history"))&&(z(!0),(0,i._P)(document)===E.current&&(0,i.Ig)(E.current,null)):_(),t.setInputValue(e)}},J={onKeyDown:e=>{if(W.current=(0,o.wt)(e),e.nativeEvent.isComposing)return;let n=x.current;switch(null!==n&&null==(0,s.TW)(E.current).getElementById(n)&&(x.current=null,n=null),e.key){case"a":if((0,c.B)(e))return;break;case"Escape":if(e.isDefaultPrevented())return;break;case" ":return;case"Tab":"continuePropagation"in e&&e.continuePropagation();return;case"Home":case"End":case"PageDown":case"PageUp":case"ArrowUp":case"ArrowDown":case"ArrowRight":case"ArrowLeft":{if(("Home"===e.key||"End"===e.key)&&null==n&&e.shiftKey)return;if(("ArrowRight"===e.key||"ArrowLeft"===e.key)&&t.inputValue.length>0){if(null==n){e.isPropagationStopped()||e.stopPropagation();return}break}e.preventDefault();let i=new CustomEvent(r.C,{cancelable:!0,bubbles:!0});P.current?.dispatchEvent(i)}}e.isPropagationStopped()||e.stopPropagation();let i=!0;if(null!==P.current)if(null==n)i=P.current?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent))||!1;else{let t=document.getElementById(n);t&&(i=t?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent))||!1)}if(i)switch(e.key){case"ArrowLeft":case"ArrowRight":z();break;case"Enter":if(null!=n){let t=document.getElementById(n);t?.dispatchEvent(new PointerEvent("click",e.nativeEvent))}}else e.preventDefault()},"aria-activedescendant":t.focusedNodeId??void 0,onBlur:e=>{if(!e.isTrusted)return;let t=x.current?document.getElementById(x.current):null;t&&(0,i.jo)(t,e.relatedTarget)},onFocus:e=>{if(e.isTrusted&&(x.current?document.getElementById(x.current):null)){let t=(0,o.wt)(e);queueMicrotask(()=>{(0,i.jo)(t,P.current),(0,i.Ig)(P.current,t)})}},onPointerDown:e=>{0===e.button&&"touch"!==e.pointerType&&null!=x.current&&null!=E.current&&(0,o.wt)(e)===E.current&&z()}};return R&&(G={...G,...M&&J,enterKeyHint:"go","aria-controls":S,"aria-autocomplete":"list",autoCorrect:"off",spellCheck:"false",autoComplete:"off"}),{inputProps:G,collectionProps:(0,d.v)(j,{shouldUseVirtualFocus:M,disallowTypeAhead:M}),collectionRef:B,filter:null!=k?q:void 0}}},4784(e,t,n){n.d(t,{s:()=>s});var r=n(59878),i=n(28052),o=n(73817),l=n(99278);function s(e,t){let n,{elementType:s="button",isDisabled:a,onPress:u,onPressStart:c,onPressEnd:d,onPressUp:f,onPressChange:p,preventFocusOnPress:h,allowFocusWhenDisabled:m,onClick:g,href:v,target:y,rel:b,type:w="button"}=e;n="button"===s?{type:w,disabled:a,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:{role:"button",href:"a"!==s||a?void 0:v,target:"a"===s?y:void 0,type:"input"===s?w:void 0,disabled:"input"===s?a:void 0,"aria-disabled":a&&"input"!==s?a:void 0,rel:"a"===s?b:void 0};let{pressProps:E,isPressed:P}=(0,l.d)({onPressStart:c,onPressEnd:d,onPressChange:p,onPress:u,onPressUp:f,onClick:g,isDisabled:a,preventFocusOnPress:h,ref:t}),{focusableProps:k}=(0,o.Wc)(e,t);m&&(k.tabIndex=a?-1:k.tabIndex);let C=(0,i.v)(k,E,(0,r.$)(e,{labelable:!0}));return{isPressed:P,buttonProps:(0,i.v)(n,C,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}},3453(e,t,n){n.d(t,{EH:()=>o,OJ:()=>l,Pt:()=>r,Wk:()=>u,_B:()=>s,ox:()=>a,ru:()=>i});class r{constructor(e){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=e}get childNodes(){throw Error("childNodes is not supported")}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e["aria-label"]=this["aria-label"],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}}class i extends r{filter(e,t,n){let[r,i]=c(e,t,this.firstChildKey,n),o=this.clone();return o.firstChildKey=r,o.lastChildKey=i,o}}class o extends r{static{this.type="header"}}class l extends r{static{this.type="loader"}}class s extends i{static{this.type="item"}filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}}class a extends i{static{this.type="section"}filter(e,t,n){let r=super.filter(e,t,n);if(r&&null!==r.lastChildKey){let t=e.getItem(r.lastChildKey);if(t&&"header"!==t.type)return r}return null}}class u{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=null!=this.firstKey?this.keyMap.get(this.firstKey):void 0;for(;e;)yield e,e=null!=e.nextKey?this.keyMap.get(e.nextKey):void 0}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let n=t.get(e),r=n?.firstChildKey!=null?t.get(n.firstChildKey):null;for(;r;)yield r,r=null!=r.nextKey?t.get(r.nextKey):void 0}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(null!=t.prevKey){for(t=this.keyMap.get(t.prevKey);t&&"item"!==t.type&&null!=t.lastChildKey;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if("item"!==t.type&&null!=t.firstChildKey)return t.firstChildKey;for(;t;){if(null!=t.nextKey)return t.nextKey;if(null!=t.parentKey)t=this.keyMap.get(t.parentKey);else break}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=null!=this.lastKey?this.keyMap.get(this.lastKey):null;for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??null}at(){throw Error("Not implemented")}clone(){let e=new this.constructor;return e.keyMap=new Map(this.keyMap),e.firstKey=this.firstKey,e.lastKey=this.lastKey,e.itemCount=this.itemCount,e}addNode(e){if(this.frozen)throw Error("Cannot add a node to a frozen collection");"item"===e.type&&null==this.keyMap.get(e.key)&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){for(let n of(this.addNode(e),t.getChildren(e.key)))this.addDescendants(n,t)}removeNode(e){if(this.frozen)throw Error("Cannot remove a node to a frozen collection");let t=this.keyMap.get(e);null!=t&&"item"===t.type&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,n=!1){if(this.frozen)throw Error("Cannot commit a frozen collection");this.firstKey=e,this.lastKey=t,this.frozen=!n}filter(e){let t=new this.constructor,[n,r]=c(this,t,this.firstKey,e);return t?.commit(n,r),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function c(e,t,n,r){if(null==n)return[null,null];let i=null,o=null,l=e.getItem(n);for(;null!=l;){let n=l.filter(e,t,r);null!=n&&(n.nextKey=null,o&&(n.prevKey=o.key,o.nextKey=n.key),null==i&&(i=n),t.addNode(n),o=n),l=l.nextKey?e.getItem(l.nextKey):null}if(o&&"separator"===o.type){let e=o.prevKey;t.removeNode(o.key),e?(o=t.getItem(e)).nextKey=null:o=null}return[i?.key??null,o?.key??null]}},87426(e,t,n){n.d(t,{pM:()=>T,GQ:()=>g,KU:()=>E,yq:()=>P});var r=n(3453);class i{constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(null==this._minInvalidChildIndex||!this._minInvalidChildIndex.isConnected||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e,this.ownerDocument.markDirty(this))}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),null==this.firstChild&&(this.firstChild=e),this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(e,t){if(null==t)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index-1,this.firstChild===t?this.firstChild=e:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode,this.invalidateChildIndices(e),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode===this&&(this._minInvalidChildIndex===e&&(this._minInvalidChildIndex=null),e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}}class o extends i{constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof o?this.parentNode.level+ +(this.parentNode.node?.type==="item"):0}getMutableNode(){return null==this.node?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let e=this.nextVisibleSibling,t=this.getMutableNode();if(null!=t&&(t.index=this.index,t.level=this.level,t.parentKey=this.parentNode instanceof o?this.parentNode.node?.key??null:null,t.prevKey=this.previousVisibleSibling?.node?.key??null,t.nextKey=e?.node?.key??null,t.hasChildNodes=!!this.firstChild,t.firstChildKey=this.firstVisibleChild?.node?.key??null,t.lastChildKey=this.lastVisibleChild?.node?.key??null,(null!=t.colSpan||null!=t.colIndex)&&e)){let n=(t.colIndex??t.index)+(t.colSpan??1);null!=e.node&&n!==e.node.colIndex&&(e.getMutableNode().colIndex=n)}}setProps(e,t,n,r,i){let o,{value:l,textValue:s,id:a,...u}=e;if(null==this.node?(o=new n(a??`react-aria-${++this.ownerDocument.nodeId}`),this.node=o):o=this.getMutableNode(),u.ref=t,o.props=u,o.rendered=r,o.render=i,o.value=l,e["aria-label"]&&(o["aria-label"]=e["aria-label"]),o.textValue=s||("string"==typeof u.children?u.children:"")||e["aria-label"]||"",null!=a&&a!==o.key)throw Error("Cannot change the id of an item");null!=u.colSpan&&(o.colSpan=u.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?"none":""},set display(value){let t="none"===value;if(e.isHidden!==t){(e.parentNode?.firstVisibleChild===e||e.parentNode?.lastVisibleChild===e)&&e.ownerDocument.markDirty(e.parentNode);let n=e.previousVisibleSibling,r=e.nextVisibleSibling;n&&e.ownerDocument.markDirty(n),r&&e.ownerDocument.markDirty(r),e.isHidden=t,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}}class l extends i{constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}get isConnected(){return!0}createElement(e){return new o(e,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden||null==e.node)return;let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let t of e)this.addNode(t);t.addNode(e.node)}removeNode(e){for(let t of e)this.removeNode(t);e.node&&this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription||(this.queuedRender=!1,this.updateCollection()),this.collection}updateCollection(){for(let e of this.dirtyNodes)e instanceof o&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof o?(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.node&&this.dirtyNodes.delete(e),e.isMutated=!1):this.dirtyNodes.delete(e);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(0!==this.dirtyNodes.size&&!this.queuedRender){for(let e of(this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone()),this.subscriptions))e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}}var s=n(24932),a=n(73817),u=n(30290),c=n(83146),d=n(43144),f=n(14041),p=n(58139);let h=(0,f.createContext)(!1),m=(0,f.createContext)(null);function g(e){if((0,f.useContext)(m))return e.content;let{collection:t,document:n}=function(e){let[t]=(0,f.useState)(()=>new l(e?.()||new(0,r.Wk)));return{collection:y((0,f.useCallback)(e=>t.subscribe(e),[t]),(0,f.useCallback)(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),(0,f.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t])),document:t}}(e.createCollection);return f.createElement(f.Fragment,null,f.createElement(u.jZ,null,f.createElement(m.Provider,{value:n},e.content)),f.createElement(v,{render:e.children,collection:t}))}function v({collection:e,render:t}){return t(e)}let y="function"==typeof f.useSyncExternalStore?f.useSyncExternalStore:function(e,t,n){let r=(0,c.wR)(),i=(0,f.useRef)(r);i.current=r;let o=(0,f.useCallback)(()=>i.current?n():t(),[t,n]);return(0,p.useSyncExternalStore)(e,o)},b=(0,f.createContext)(null);function w(e,t,n,i,o,l){"string"==typeof e&&(e=function(e){return class extends r.Pt{static{this.type=e}}}(e));let s=(0,f.useCallback)(r=>{r?.setProps(t,n,e,i,l)},[t,n,i,l,e]),a=(0,f.useContext)(b);if(a){let r=a.ownerDocument.nodesByProps.get(t);return r||((r=a.ownerDocument.createElement(e.type)).setProps(t,n,e,i,l),a.appendChild(r),a.ownerDocument.updateCollection(),a.ownerDocument.nodesByProps.set(t,r)),o?f.createElement(b.Provider,{value:r},o):null}return f.createElement(e.type,{ref:s},o)}function E(e,t){let n=({node:e})=>t(e.props,e.props.ref,e),r=(0,f.forwardRef)((r,i)=>{let o=(0,f.useContext)(a.gY);if(!(0,f.useContext)(h)){if(t.length>=3)throw Error(t.name+" cannot be rendered outside a collection.");return t(r,i)}return w(e,r,i,"children"in r?r.children:null,null,e=>f.createElement(a.gY.Provider,{value:o},f.createElement(n,{node:e})))});return r.displayName=t.name,r}function P(e,t,n=k){let r=({node:e})=>t(e.props,e.props.ref,e),i=(0,f.forwardRef)((t,i)=>{let o=n(t);return w(e,t,i,null,o,e=>f.createElement(r,{node:e}))??f.createElement(f.Fragment,null)});return i.displayName=t.name,i}function k(e){return(0,s.p)({...e,addIdAndValue:!0})}let C=(0,f.createContext)(null);function T(e){let t=(0,f.useContext)(C),n=(t?.dependencies||[]).concat(e.dependencies),r=e.idScope??t?.idScope,i=k({...e,idScope:r,dependencies:n});return(0,f.useContext)(m)&&(i=f.createElement(S,null,i)),t=(0,f.useMemo)(()=>({dependencies:n,idScope:r}),[r,...n]),f.createElement(C.Provider,{value:t},i)}function S({children:e}){let t=(0,f.useContext)(m),n=(0,f.useMemo)(()=>f.createElement(m.Provider,{value:null},f.createElement(h.Provider,{value:!0},e)),[e]);return(0,c.wR)()?f.createElement(b.Provider,{value:t},n):(0,d.createPortal)(n,t)}},30290(e,t,n){n.d(t,{U7:()=>l,jZ:()=>o,m_:()=>s});var r=n(14041);"u">typeof HTMLTemplateElement&&(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)}}));let i=(0,r.createContext)(!1);function o(e){if((0,r.useContext)(i))return r.createElement(r.Fragment,null,e.children);let t=r.createElement(i.Provider,{value:!0},e.children);return r.createElement("template",null,t)}function l(e){let t=(t,n)=>(0,r.useContext)(i)?null:e(t,n);return t.displayName=e.displayName||e.name,(0,r.forwardRef)(t)}function s(){return(0,r.useContext)(i)}},24932(e,t,n){n.d(t,{p:()=>i});var r=n(14041);function i(e){let{children:t,items:n,idScope:i,addIdAndValue:o,dependencies:l=[]}=e,s=(0,r.useMemo)(()=>new WeakMap,l);return(0,r.useMemo)(()=>{if(n&&"function"==typeof t){let e=[];for(let l of n){let n=s.get(l);if(!n){let e=(n=t(l)).props.id??l.key??l.id;if(null==e)throw Error("Could not determine key for item");null!=i&&null==n.props.id&&(e=i+":"+e),n=(0,r.cloneElement)(n,o?{key:e,id:e,value:l}:{key:e}),s.set(l,n)}e.push(n)}return e}if("function"!=typeof t)return t},[t,n,s,i,o])}},62296(e,t,n){n.d(t,{s:()=>u});var r=n(59878),i=n(78484),o=n(34122),l=n(63321),s=n(47499),a=n(14041);function u(e,t){let{role:n="dialog"}=e,u=(0,s.X1)();u=e["aria-label"]?void 0:u;let c=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{if(t.current&&!(0,o.ae)(t.current)){(0,i.l)(t.current);let e=setTimeout(()=>{((0,o.bq)()===t.current||(0,o.bq)()===document.body)&&(c.current=!0,t.current&&(t.current.blur(),(0,i.l)(t.current)),c.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),(0,l.Se)(),(0,a.useRef)(!1),(0,a.useEffect)(()=>{}),{dialogProps:{...(0,r.$)(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||u,onBlur:e=>{c.current&&e.stopPropagation()}},titleProps:{id:u}}}},65716(e,t,n){n.d(t,{j:()=>u});var r=n(55273),i=n(47499),o=n(83146),l=n(29226),s=n(43144),a=n(14041);function u(e,t,n){let{isDisabled:u}=e,c=(0,i.Bi)(),d=(0,i.Bi)(),f=(0,o.wR)(),p=(0,a.useRef)(null),h=(0,a.useCallback)(()=>{p.current=requestAnimationFrame(()=>{n.current&&n.current.setAttribute("hidden","until-found")}),(0,s.flushSync)(()=>{t.toggle()})},[n,t]);(0,r._)(n,"beforematch",h);let m=(0,a.useRef)(null);return(0,l.N)(()=>{if(p.current&&cancelAnimationFrame(p.current),n.current&&!f){let e=n.current;null==m.current||"function"!=typeof e.getAnimations?t.isExpanded?(e.removeAttribute("hidden"),e.style.setProperty("--disclosure-panel-width","auto"),e.style.setProperty("--disclosure-panel-height","auto")):(e.setAttribute("hidden","until-found"),e.style.setProperty("--disclosure-panel-width","0px"),e.style.setProperty("--disclosure-panel-height","0px")):t.isExpanded!==m.current&&(t.isExpanded?(e.removeAttribute("hidden"),e.style.setProperty("--disclosure-panel-width",e.scrollWidth+"px"),e.style.setProperty("--disclosure-panel-height",e.scrollHeight+"px"),Promise.all(e.getAnimations().map(e=>e.finished)).then(()=>{e.style.setProperty("--disclosure-panel-width","auto"),e.style.setProperty("--disclosure-panel-height","auto")}).catch(()=>{})):(e.style.setProperty("--disclosure-panel-width",e.scrollWidth+"px"),e.style.setProperty("--disclosure-panel-height",e.scrollHeight+"px"),window.getComputedStyle(e).height,e.style.setProperty("--disclosure-panel-width","0px"),e.style.setProperty("--disclosure-panel-height","0px"),Promise.all(e.getAnimations().map(e=>e.finished)).then(()=>e.setAttribute("hidden","until-found")).catch(()=>{}))),m.current=t.isExpanded}},[u,n,t.isExpanded,f]),(0,a.useEffect)(()=>()=>{p.current&&cancelAnimationFrame(p.current)},[]),{buttonProps:{id:c,"aria-expanded":t.isExpanded,"aria-controls":d,onPress:e=>{u||"keyboard"===e.pointerType||t.toggle()},isDisabled:u,onPressStart(e){"keyboard"!==e.pointerType||u||t.toggle()}},panelProps:{id:d,role:"group","aria-labelledby":c,"aria-hidden":!t.isExpanded,hidden:f?!t.isExpanded:void 0}}}},56059(e,t,n){n.d(t,{N$:()=>L,Pu:()=>w,n1:()=>m});var r=n(22139),i=n(78484),o=n(34122),l=n(81901),s=n(3837),a=n(93523),u=n(68509),c=n(29226),d=n(14041);let f=d.createContext(null),p="react-aria-focus-scope-restore",h=null;function m(e){var t,n,r,i,u,m,w,N,M,D;let R,F,A,I,{children:O,contain:H,restoreFocus:B,autoFocus:_}=e,z=(0,d.useRef)(null),$=(0,d.useRef)(null),W=(0,d.useRef)([]),{parentNode:V}=(0,d.useContext)(f)||{},U=(0,d.useMemo)(()=>new x({scopeRef:W}),[W]);(0,c.N)(()=>{let e=V||K.root;if(K.getTreeNode(e.scopeRef)&&h&&!E(h,e.scopeRef)){let t=K.getTreeNode(h);t&&(e=t)}e.addChild(U),K.addNode(U)},[U,V]),(0,c.N)(()=>{let e=K.getTreeNode(W);e&&(e.contain=!!H)},[H]),(0,c.N)(()=>{let e=z.current?.nextSibling,t=[],n=e=>e.stopPropagation();for(;e&&e!==$.current;)t.push(e),e.addEventListener(p,n),e=e.nextSibling;return W.current=t,()=>{for(let e of t)e.removeEventListener(p,n)}},[O]),t=W,n=B,r=H,(0,c.N)(()=>{if(n||r)return;let e=t.current,i=(0,s.TW)(e?e[0]:void 0),l=e=>{let n=(0,o.wt)(e);y(n,t.current)?h=t:b(n)||(h=null)};return i.addEventListener("focusin",l,!1),e?.forEach(e=>e.addEventListener("focusin",l,!1)),()=>{i.removeEventListener("focusin",l,!1),e?.forEach(e=>e.removeEventListener("focusin",l,!1))}},[t,n,r]),i=W,u=H,R=(0,d.useRef)(void 0),F=(0,d.useRef)(void 0),(0,c.N)(()=>{let e=i.current;if(!u){F.current&&(cancelAnimationFrame(F.current),F.current=void 0);return}let t=(0,s.TW)(e?e[0]:void 0),n=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!v(i)||e.isComposing)return;let n=(0,o.bq)(t),r=i.current;if(!r||!y(n,r))return;let l=L(g(r),{tabbable:!0},r);if(!n)return;l.currentNode=n;let a=e.shiftKey?l.previousNode():l.nextNode();a||(l.currentNode=e.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,a=e.shiftKey?l.previousNode():l.nextNode()),e.preventDefault(),a&&(P(a,!0),a instanceof(0,s.mD)(a).HTMLInputElement&&a.select())},r=e=>{(!h||E(h,i))&&y((0,o.wt)(e),i.current)?(h=i,R.current=(0,o.wt)(e)):v(i)&&!b((0,o.wt)(e),i)?R.current?R.current.focus():h&&h.current&&C(h.current):v(i)&&(R.current=(0,o.wt)(e))},c=e=>{F.current&&cancelAnimationFrame(F.current),F.current=requestAnimationFrame(()=>{let n=(0,l.ME)(),r=("virtual"===n||null===n)&&(0,a.m0)()&&(0,a.H8)(),s=(0,o.bq)(t);if(!r&&s&&v(i)&&!b(s,i)){h=i;let t=(0,o.wt)(e);t&&t.isConnected?(R.current=t,R.current?.focus()):h.current&&C(h.current)}})};return t.addEventListener("keydown",n,!1),t.addEventListener("focusin",r,!1),e?.forEach(e=>e.addEventListener("focusin",r,!1)),e?.forEach(e=>e.addEventListener("focusout",c,!1)),()=>{t.removeEventListener("keydown",n,!1),t.removeEventListener("focusin",r,!1),e?.forEach(e=>e.removeEventListener("focusin",r,!1)),e?.forEach(e=>e.removeEventListener("focusout",c,!1))}},[i,u]),(0,c.N)(()=>()=>{F.current&&cancelAnimationFrame(F.current)},[F]),m=W,w=B,N=H,A=(0,d.useRef)("u">typeof document?(0,o.bq)((0,s.TW)(m.current?m.current[0]:void 0)):null),(0,c.N)(()=>{let e=m.current,t=(0,s.TW)(e?e[0]:void 0);if(!w||N)return;let n=()=>{(!h||E(h,m))&&y((0,o.bq)(t),m.current)&&(h=m)};return t.addEventListener("focusin",n,!1),e?.forEach(e=>e.addEventListener("focusin",n,!1)),()=>{t.removeEventListener("focusin",n,!1),e?.forEach(e=>e.removeEventListener("focusin",n,!1))}},[m,N]),(0,c.N)(()=>{let e=(0,s.TW)(m.current?m.current[0]:void 0);if(!w)return;let t=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!v(m)||t.isComposing)return;let n=e.activeElement;if(!b(n,m)||!T(m))return;let r=K.getTreeNode(m);if(!r)return;let i=r.nodeToRestore,o=L(e.body,{tabbable:!0});o.currentNode=n;let l=t.shiftKey?o.previousNode():o.nextNode();if(i&&i.isConnected&&i!==e.body||(i=void 0,r.nodeToRestore=void 0),(!l||!b(l,m))&&i){o.currentNode=i;do l=t.shiftKey?o.previousNode():o.nextNode();while(b(l,m));(t.preventDefault(),t.stopPropagation(),l)?P(l,!0):b(i)?P(i,!0):n.blur()}};return N||e.addEventListener("keydown",t,!0),()=>{N||e.removeEventListener("keydown",t,!0)}},[m,w,N]),(0,c.N)(()=>{let e=(0,s.TW)(m.current?m.current[0]:void 0);if(!w)return;let t=K.getTreeNode(m);if(t)return t.nodeToRestore=A.current??void 0,()=>{let t=K.getTreeNode(m);if(!t)return;let n=t.nodeToRestore,r=(0,o.bq)(e);if(w&&n&&(r&&b(r,m)||r===e.body&&T(m))){let t=K.clone();requestAnimationFrame(()=>{if(e.activeElement===e.body){let e=t.getTreeNode(m);for(;e;){if(e.nodeToRestore&&e.nodeToRestore.isConnected)return void S(e.nodeToRestore);e=e.parent}for(e=t.getTreeNode(m);e;){if(e.scopeRef&&e.scopeRef.current&&K.getTreeNode(e.scopeRef))return void S(k(e.scopeRef.current,!0));e=e.parent}}})}}},[m,w]),M=W,D=_,I=d.useRef(D),(0,d.useEffect)(()=>{if(I.current){h=M;let e=(0,s.TW)(M.current?M.current[0]:void 0);!y((0,o.bq)(e),h.current)&&M.current&&C(M.current)}I.current=!1},[M]),(0,d.useEffect)(()=>{let e=(0,o.bq)((0,s.TW)(W.current?W.current[0]:void 0)),t=null;if(y(e,W.current)){for(let n of K.traverse())n.scopeRef&&y(e,n.scopeRef.current)&&(t=n);t===K.getTreeNode(W)&&(h=t.scopeRef)}},[W]),(0,c.N)(()=>()=>{let e=K.getTreeNode(W)?.parent?.scopeRef??null;(W===h||E(W,h))&&(!e||K.getTreeNode(e))&&(h=e),K.removeTreeNode(W)},[W]);let j=(0,d.useMemo)(()=>{var e;return e=W,{focusNext(t={}){let n=e.current,{from:r,tabbable:i,wrap:l,accept:a}=t,u=r||(0,o.bq)((0,s.TW)(n[0]??void 0)),c=n[0].previousElementSibling,d=L(g(n),{tabbable:i,accept:a},n);d.currentNode=y(u,n)?u:c;let f=d.nextNode();return!f&&l&&(d.currentNode=c,f=d.nextNode()),f&&P(f,!0),f},focusPrevious(t={}){let n=e.current,{from:r,tabbable:i,wrap:l,accept:a}=t,u=r||(0,o.bq)((0,s.TW)(n[0]??void 0)),c=n[n.length-1].nextElementSibling,d=L(g(n),{tabbable:i,accept:a},n);d.currentNode=y(u,n)?u:c;let f=d.previousNode();return!f&&l&&(d.currentNode=c,f=d.previousNode()),f&&P(f,!0),f},focusFirst(t={}){let n=e.current,{tabbable:r,accept:i}=t,o=L(g(n),{tabbable:r,accept:i},n);o.currentNode=n[0].previousElementSibling;let l=o.nextNode();return l&&P(l,!0),l},focusLast(t={}){let n=e.current,{tabbable:r,accept:i}=t,o=L(g(n),{tabbable:r,accept:i},n);o.currentNode=n[n.length-1].nextElementSibling;let l=o.previousNode();return l&&P(l,!0),l}}},[]),q=(0,d.useMemo)(()=>({focusManager:j,parentNode:U}),[U,j]);return d.createElement(f.Provider,{value:q},d.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:z}),O,d.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:$}))}function g(e){return e[0].parentElement}function v(e){let t=K.getTreeNode(h);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function y(e,t){return!!e&&!!t&&t.some(t=>(0,o.sD)(t,e))}function b(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of K.traverse(K.getTreeNode(t)))if(n&&y(e,n.current))return!0;return!1}function w(e){return b(e,h)}function E(e,t){let n=K.getTreeNode(t)?.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function P(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{(0,i.l)(e)}catch{}}function k(e,t=!0){let n=e[0].previousElementSibling,r=g(e),i=L(r,{tabbable:t},e);i.currentNode=n;let o=i.nextNode();return t&&!o&&((i=L(r=g(e),{tabbable:!1},e)).currentNode=n,o=i.nextNode()),o}function C(e,t=!0){P(k(e,t))}function T(e){let t=K.getTreeNode(h);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function S(e){e.dispatchEvent(new CustomEvent(p,{bubbles:!0,cancelable:!0}))&&P(e)}function L(e,t,n){let i=t?.tabbable?u.A:u.t,l=e?.nodeType===Node.ELEMENT_NODE?e:null,a=(0,s.TW)(l),c=(0,r.H)(a,e||a,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>(0,o.sD)(t?.from,e)||t?.tabbable&&"INPUT"===e.tagName&&"radio"===e.getAttribute("type")&&(!function(e){if(e.checked)return!0;let t=function(e){if(!e.form)return Array.from((0,s.TW)(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(e=>!e.form);let t=e.form.elements.namedItem(e.name),n=(0,s.mD)(e);return t instanceof n.RadioNodeList?Array.from(t).filter(e=>e instanceof n.HTMLInputElement):t instanceof n.HTMLInputElement?[t]:[]}(e);return t.length>0&&!t.some(e=>e.checked)}(e)||"INPUT"===c.currentNode.tagName&&"radio"===c.currentNode.type&&c.currentNode.name===e.name)?NodeFilter.FILTER_REJECT:i(e)&&(!n||y(e,n))&&(!t?.accept||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});return t?.from&&(c.currentNode=t.from),c}class N{constructor(){this.fastMap=new Map,this.root=new x({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(t??null);if(!r)return;let i=new x({scopeRef:e});r.addChild(i),i.parent=r,this.fastMap.set(e,i),n&&(i.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&y(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){let e=new N;for(let t of this.traverse())e.addTreeNode(t.scopeRef,t.parent?.scopeRef??null,t.nodeToRestore);return e}}class x{constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}}let K=new N},86414(e,t,n){n.d(t,{o:()=>s});var r=n(81901),i=n(65433),o=n(28176),l=n(14041);function s(e={}){let{autoFocus:t=!1,isTextInput:n,within:a}=e,u=(0,l.useRef)({isFocused:!1,isFocusVisible:t||(0,r.pP)()}),[c,d]=(0,l.useState)(!1),[f,p]=(0,l.useState)(()=>u.current.isFocused&&u.current.isFocusVisible),h=(0,l.useCallback)(()=>p(u.current.isFocused&&u.current.isFocusVisible),[]),m=(0,l.useCallback)(e=>{u.current.isFocused=e,u.current.isFocusVisible=(0,r.pP)(),d(e),h()},[h]);(0,r.K7)(e=>{u.current.isFocusVisible=e,h()},[n,c],{enabled:c,isTextInput:n});let{focusProps:g}=(0,i.i)({isDisabled:a,onFocusChange:m}),{focusWithinProps:v}=(0,o.R)({isDisabled:!a,onFocusWithinChange:m});return{isFocused:c,isFocusVisible:f,focusProps:a?v:g}}},46713(e,t,n){n.d(t,{$:()=>l});var r=n(56059),i=n(29226),o=n(14041);function l(e,t){let n=t?.isDisabled,[l,s]=(0,o.useState)(!1);return(0,i.N)(()=>{if(e?.current&&!n){let t=()=>{e.current&&s(!!(0,r.N$)(e.current,{tabbable:!0}).nextNode())};t();let n=new MutationObserver(t);return n.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{n.disconnect()}}}),!n&&l}},61988(e,t,n){n.d(t,{Ig:()=>s,_P:()=>a,jo:()=>l,vX:()=>o});var r=n(34122),i=n(3837);function o(e){let t=a((0,i.TW)(e));t!==e&&(t&&l(t,e),e&&s(e,t))}function l(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function s(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function a(e){let t=(0,r.bq)(e),n=t?.getAttribute("aria-activedescendant");return n&&e.getElementById(n)||t}},91821(e,t,n){n.d(t,{X:()=>a});var r=n(34122),i=n(81901),o=n(23900),l=n(29226),s=n(14041);function a(e,t,n){let{validationBehavior:a,focus:u}=e;(0,l.N)(()=>{if("native"===a&&n?.current&&!n.current.disabled){var e;let r,i=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(i),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation({isInvalid:!(e=n.current).validity.valid,validationDetails:{badInput:(r=e.validity).badInput,customError:r.customError,patternMismatch:r.patternMismatch,rangeOverflow:r.rangeOverflow,rangeUnderflow:r.rangeUnderflow,stepMismatch:r.stepMismatch,tooLong:r.tooLong,tooShort:r.tooShort,typeMismatch:r.typeMismatch,valueMissing:r.valueMissing,valid:r.valid},validationErrors:e.validationMessage?[e.validationMessage]:[]})}});let c=(0,s.useRef)(!1),d=(0,o.J)(()=>{c.current||t.resetValidation()}),f=(0,o.J)(e=>{t.displayValidation.isInvalid||t.commitValidation();let r=n?.current?.form;!e.defaultPrevented&&n&&r&&function(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(n.validity?.valid===!1)return n}return null}(r)===n.current&&(u?u():n.current?.focus(),(0,i.Cl)("keyboard")),e.preventDefault()}),p=(0,o.J)(()=>{t.commitValidation()});(0,s.useEffect)(()=>{let e=n?.current;if(!e)return;let t=e.form,i=t?.reset;return t&&(t.reset=()=>{c.current=!window.event||"message"===window.event.type&&(0,r.wt)(window.event)instanceof MessagePort,i?.call(t),c.current=!1}),e.addEventListener("invalid",f),e.addEventListener("change",p),t?.addEventListener("reset",d),()=>{e.removeEventListener("invalid",f),e.removeEventListener("change",p),t?.removeEventListener("reset",d),t&&(t.reset=i)}},[n,a])}},66030(e,t,n){n.d(t,{Y:()=>p});let r=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),i=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);var o=n(83146),l=n(14041);let s=Symbol.for("react-aria.i18n.locale");function a(){let e="u">typeof window&&window[s]||"u">typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:!function(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return r.has(t.script)}let t=e.split("-")[0];return i.has(t)}(e)?"ltr":"rtl"}}let u=a(),c=new Set;function d(){for(let e of(u=a(),c))e(u)}let f=l.createContext(null);function p(){let e=function(){let e=(0,o.wR)(),[t,n]=(0,l.useState)(u);return((0,l.useEffect)(()=>(0===c.size&&window.addEventListener("languagechange",d),c.add(n),()=>{c.delete(n),0===c.size&&window.removeEventListener("languagechange",d)}),[]),e)?{locale:"u">typeof window&&window[s]||"en-US",direction:"ltr"}:t}();return(0,l.useContext)(f)||e}},25678(e,t,n){n.d(t,{Q:()=>o});var r=n(66030);let i=new Map;function o(e){let{locale:t}=(0,r.Y)(),n=t+(e?Object.entries(e).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(i.has(n))return i.get(n);let o=new Intl.Collator(t,e);return i.set(n,o),o}},44018(e,t,n){n.d(t,{o:()=>a});var r=n(66030),i=n(34895),o=n(76987),l=n(14041);let s=new WeakMap;function a(e,t){let n,{locale:a}=(0,r.Y)(),u=t&&i.B.getGlobalDictionaryForPackage(t)||((n=s.get(e))||(n=new(0,i.B)(e),s.set(e,n)),n);return(0,l.useMemo)(()=>new(0,o.J)(a,u),[a,u])}},12743(e,t,n){n.d(t,{N:()=>u,Y:()=>a});var r=n(28052),i=n(24447),o=n(54469),l=n(58801),s=n(14041);let a=s.forwardRef(({children:e,...t},n)=>{let a=(0,s.useRef)(!1),u=(0,s.useContext)(i.F),c=(0,r.v)(u||{},{...t,register(){a.current=!0,u&&u.register()}});return c.ref=(0,o.U)(n||u?.ref),(0,l.w)(u,c.ref),(0,s.useEffect)(()=>{a.current||(a.current=!0)},[]),s.createElement(i.F.Provider,{value:c},e)});function u({children:e}){let t=(0,s.useMemo)(()=>({register:()=>{}}),[]);return s.createElement(i.F.Provider,{value:t},e)}},24447(e,t,n){n.d(t,{F:()=>r});let r=n(14041).createContext({register:()=>{}});r.displayName="PressResponderContext"},78484(e,t,n){n.d(t,{l:()=>a});var r=n(88563),i=n(34122),o=n(81901),l=n(3837),s=n(59792);function a(e){if(!e.isConnected)return;let t=(0,l.TW)(e);if("virtual"===(0,o.ME)()){let n=(0,i.bq)(t);(0,s.v)(()=>{let o=(0,i.bq)(t);(o===n||o===t.body)&&e.isConnected&&(0,r.e)(e)})}else(0,r.e)(e)}},65433(e,t,n){n.d(t,{i:()=>s});var r=n(34122),i=n(3837),o=n(19793),l=n(14041);function s(e){let{isDisabled:t,onFocus:n,onBlur:s,onFocusChange:a}=e,u=(0,l.useCallback)(e=>{if((0,r.wt)(e)===e.currentTarget)return s&&s(e),a&&a(!1),!0},[s,a]),c=(0,o.yB)(u),d=(0,l.useCallback)(e=>{let t=(0,r.wt)(e),o=(0,i.TW)(t),l=o?(0,r.bq)(o):(0,r.bq)();t===e.currentTarget&&t===l&&(n&&n(e),a&&a(!0),c(e))},[a,n,c]);return{focusProps:{onFocus:!t&&(n||a||s)?d:void 0,onBlur:!t&&(s||a)?u:void 0}}}},81901(e,t,n){let r;n.d(t,{Cl:()=>x,K7:()=>F,ME:()=>N,Y0:()=>R,_q:()=>K,lb:()=>M,pP:()=>L});var i=n(34122),o=n(3837),l=n(19793),s=n(93523),a=n(54649),u=n(90970),c=n(83146),d=n(14041);let f=null,p="keyboard",h=new Set,m=new Map,g=!1,v=!1,y={Tab:!0,Escape:!0};function b(e,t){for(let n of h)n(e,t)}function w(e){g=!0,u.Fe.isOpening||e.metaKey||!(0,s.cX)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(f="keyboard",p="keyboard",b("keyboard",e))}function E(e){f="pointer",p="pointerType"in e?e.pointerType:"mouse",("mousedown"===e.type||"pointerdown"===e.type)&&(g=!0,b("pointer",e))}function P(e){!u.Fe.isOpening&&(0,a.Y)(e)&&(g=!0,f="virtual",p="virtual")}function k(e){let t=(0,o.mD)((0,i.wt)(e)),n=(0,o.TW)((0,i.wt)(e));(0,i.wt)(e)!==t&&(0,i.wt)(e)!==n&&!l.lR&&e.isTrusted&&(g||v||(f="virtual",p="virtual",b("virtual",e)),g=!1,v=!1)}function C(){l.lR||(g=!1,v=!0)}function T(e){if("u"<typeof window||"u"<typeof document)return;let t=(0,o.mD)(e),n=(0,o.TW)(e);if(m.get(t))return;let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){g=!0,r.apply(this,arguments)},n.addEventListener("keydown",w,!0),n.addEventListener("keyup",w,!0),n.addEventListener("click",P,!0),t.addEventListener("focus",k,!0),t.addEventListener("blur",C,!1),"u">typeof PointerEvent&&(n.addEventListener("pointerdown",E,!0),n.addEventListener("pointermove",E,!0),n.addEventListener("pointerup",E,!0)),t.addEventListener("beforeunload",()=>{S(e)},{once:!0}),m.set(t,{focus:r})}let S=(e,t)=>{let n=(0,o.mD)(e),r=(0,o.TW)(e);t&&r.removeEventListener("DOMContentLoaded",t),m.has(n)&&(n.HTMLElement.prototype.focus=m.get(n).focus,r.removeEventListener("keydown",w,!0),r.removeEventListener("keyup",w,!0),r.removeEventListener("click",P,!0),n.removeEventListener("focus",k,!0),n.removeEventListener("blur",C,!1),"u">typeof PointerEvent&&(r.removeEventListener("pointerdown",E,!0),r.removeEventListener("pointermove",E,!0),r.removeEventListener("pointerup",E,!0)),m.delete(n))};function L(){return"pointer"!==f}function N(){return f}function x(e){f=e,p="pointer"===e?"mouse":e,b(e,null)}function K(){return p}function M(){T();let[e,t]=(0,d.useState)(f);return(0,d.useEffect)(()=>{let e=()=>{t(f)};return h.add(e),()=>{h.delete(e)}},[]),(0,c.wR)()?null:e}"u">typeof document&&("loading"!==(r=(0,o.TW)(void 0)).readyState?T(void 0):r.addEventListener("DOMContentLoaded",()=>{T(void 0)}));let D=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function R(e={}){let{isTextInput:t,autoFocus:n}=e,[r,i]=(0,d.useState)(n||L());return F(e=>{i(e)},[t],{isTextInput:t}),{isFocusVisible:r}}function F(e,t,n){T(),(0,d.useEffect)(()=>{if(n?.enabled===!1)return;let t=(t,r)=>{var l;let s,a,u,c,d,f,p,h;l=!!n?.isTextInput,s=r?(0,i.wt)(r):void 0,a=(0,o.TW)(s),c=void 0!==(u=(0,o.mD)(s))?u.HTMLInputElement:HTMLInputElement,d=void 0!==u?u.HTMLTextAreaElement:HTMLTextAreaElement,f=void 0!==u?u.HTMLElement:HTMLElement,p=void 0!==u?u.KeyboardEvent:KeyboardEvent,h=(0,i.bq)(a),(l=l||h instanceof c&&!D.has(h.type)||h instanceof d||h instanceof f&&h.isContentEditable)&&"keyboard"===t&&r instanceof p&&!y[r.key]||e(L())};return h.add(t),()=>{h.delete(t)}},t)}},28176(e,t,n){n.d(t,{R:()=>a});var r=n(19793),i=n(34122),o=n(3837),l=n(98417),s=n(14041);function a(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:a,onFocusWithinChange:u}=e,c=(0,s.useRef)({isFocusWithin:!1}),{addGlobalListener:d,removeAllGlobalListeners:f}=(0,l.A)(),p=(0,s.useCallback)(e=>{(0,i.sD)(e.currentTarget,(0,i.wt)(e))&&c.current.isFocusWithin&&!(0,i.sD)(e.currentTarget,e.relatedTarget)&&(c.current.isFocusWithin=!1,f(),n&&n(e),u&&u(!1))},[n,u,c,f]),h=(0,r.yB)(p),m=(0,s.useCallback)(e=>{if(!(0,i.sD)(e.currentTarget,(0,i.wt)(e)))return;let t=(0,i.wt)(e),n=(0,o.TW)(t),l=(0,i.bq)(n);if(!c.current.isFocusWithin&&l===t){a&&a(e),u&&u(!0),c.current.isFocusWithin=!0,h(e);let t=e.currentTarget;d(n,"focus",e=>{let o=(0,i.wt)(e);if(c.current.isFocusWithin&&!(0,i.sD)(t,o)){let e=new n.defaultView.FocusEvent("blur",{relatedTarget:o});(0,r.o1)(e,t),p((0,r.eg)(e))}},{capture:!0})}},[a,u,h,d,p]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:m,onBlur:p}}}},73817(e,t,n){n.d(t,{Wc:()=>d,gY:()=>c});var r=n(78484),i=n(28052),o=n(65433),l=n(59163),s=n(54469),a=n(58801),u=n(14041);let c=u.createContext(null);function d(e,t){let{focusProps:n}=(0,o.i)(e),{keyboardProps:s}=(0,l.d)(e),d=(0,i.v)(n,s),f=function(e){let t=(0,u.useContext)(c)||{};(0,a.w)(t,e);let{ref:n,...r}=t;return r}(t),p=e.isDisabled?{}:f,h=(0,u.useRef)(e.autoFocus);(0,u.useEffect)(()=>{h.current&&t.current&&(0,r.l)(t.current),h.current=!1},[t]);let m=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(m=void 0),{focusableProps:(0,i.v)({...d,tabIndex:m},p)}}u.forwardRef(function(e,t){let{children:n,...r}=e,i=(0,s.U)(t),o={...r,ref:i};return u.createElement(c.Provider,{value:o},n)})},44031(e,t,n){n.d(t,{M:()=>d});var r=n(34122),i=n(3837),o=n(98417),l=n(14041);let s=!1,a=0;function u(e){"touch"===e.pointerType&&(s=!0,setTimeout(()=>{s=!1},500))}function c(){let e=(0,i.TW)(null);if(void 0!==e)return 0===a&&"u">typeof PointerEvent&&e.addEventListener("pointerup",u),a++,()=>{!(--a>0)&&"u">typeof PointerEvent&&e.removeEventListener("pointerup",u)}}function d(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:a,isDisabled:u}=e,[d,f]=(0,l.useState)(!1),p=(0,l.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,l.useEffect)(c,[]);let{addGlobalListener:h,removeAllGlobalListeners:m}=(0,o.A)(),{hoverProps:g,triggerHoverEnd:v}=(0,l.useMemo)(()=>{let e=(e,t)=>{let r=p.target;p.pointerType="",p.target=null,"touch"!==t&&p.isHovered&&r&&(p.isHovered=!1,m(),a&&a({type:"hoverend",target:r,pointerType:t}),n&&n(!1),f(!1))},o={};return"u">typeof PointerEvent&&(o.onPointerEnter=o=>{s&&"mouse"===o.pointerType||((o,l)=>{if(p.pointerType=l,u||"touch"===l||p.isHovered||!(0,r.sD)(o.currentTarget,(0,r.wt)(o)))return;p.isHovered=!0;let s=o.currentTarget;p.target=s,h((0,i.TW)((0,r.wt)(o)),"pointerover",t=>{p.isHovered&&p.target&&!(0,r.sD)(p.target,(0,r.wt)(t))&&e(t,t.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:s,pointerType:l}),n&&n(!0),f(!0)})(o,o.pointerType)},o.onPointerLeave=t=>{!u&&(0,r.sD)(t.currentTarget,(0,r.wt)(t))&&e(t,t.pointerType)}),{hoverProps:o,triggerHoverEnd:e}},[t,n,a,u,p,h,m]);return(0,l.useEffect)(()=>{u&&v({currentTarget:p.target},p.pointerType)},[u]),{hoverProps:g,isHovered:d}}},71806(e,t,n){n.d(t,{$:()=>s});var r=n(34122),i=n(3837),o=n(23900),l=n(14041);function s(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:s}=e,u=(0,l.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),c=(0,o.J)(e=>{n&&a(e,t)&&(s&&s(e),u.current.isPointerDown=!0)}),d=(0,o.J)(e=>{n&&n(e)});(0,l.useEffect)(()=>{let e=u.current;if(r)return;let n=t.current,o=(0,i.TW)(n);if("u">typeof PointerEvent){let n=n=>{e.isPointerDown&&a(n,t)&&d(n),e.isPointerDown=!1};return o.addEventListener("pointerdown",c,!0),o.addEventListener("click",n,!0),()=>{o.removeEventListener("pointerdown",c,!0),o.removeEventListener("click",n,!0)}}},[t,r])}function a(e,t){if(e.button>0)return!1;let n=(0,r.wt)(e);if(n){let e=n.ownerDocument;if(!e||!(0,r.sD)(e.documentElement,n)||n.closest("[data-react-aria-top-layer]"))return!1}return!!t.current&&!e.composedPath().includes(t.current)}},59163(e,t,n){function r(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){t=!0},continuePropagation(){t=!1},isPropagationStopped:()=>t}),t&&n.stopPropagation()}}function i(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:r(e.onKeyDown),onKeyUp:r(e.onKeyUp)}}}n.d(t,{d:()=>i})},98458(e,t,n){n.d(t,{H:()=>c});var r=n(88563),i=n(3837),o=n(28052),l=n(38919),s=n(98417),a=n(99278),u=n(14041);function c(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:c,onLongPress:d,threshold:f=500,accessibilityDescription:p}=e,h=(0,u.useRef)(void 0),{addGlobalListener:m,removeGlobalListener:g}=(0,s.A)(),{pressProps:v}=(0,a.d)({isDisabled:t,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(n&&n({...e,type:"longpressstart"}),h.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),(0,i.TW)(e.target).activeElement!==e.target&&(0,r.e)(e.target),d&&d({...e,type:"longpress"}),h.current=void 0},f),"touch"===e.pointerType)){let t=e=>{e.preventDefault()},n=(0,i.mD)(e.target);m(e.target,"contextmenu",t,{once:!0}),m(n,"pointerup",()=>{setTimeout(()=>{g(e.target,"contextmenu",t)},30)},{once:!0})}},onPressEnd(e){h.current&&clearTimeout(h.current),c&&("mouse"===e.pointerType||"touch"===e.pointerType)&&c({...e,type:"longpressend"})}}),y=(0,l.I)(d&&!t?p:void 0);return{longPressProps:(0,o.v)(v,y)}}},99278(e,t,n){n.d(t,{d:()=>L});var r=n(23977),i=n(19793),o=n(3837),l=n(93523),s=n(59792);let a="default",u="",c=new WeakMap;function d(e){if((0,l.un)())"disabled"===a&&(a="restoring",setTimeout(()=>{(0,s.v)(()=>{if("restoring"===a){let t=(0,o.TW)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=u||""),u="",a="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&c.has(e)){let t=c.get(e),n="userSelect"in e.style?"userSelect":"webkitUserSelect";"none"===e.style[n]&&(e.style[n]=t),""===e.getAttribute("style")&&e.removeAttribute("style"),c.delete(e)}}var f=n(88563),p=n(34122),h=n(28059),m=n(54649),g=n(28052),v=n(90970),y=n(24447),b=n(23900),w=n(98417),E=n(58801);n(43144);var P=n(14041);class k{#e;constructor(e,t,n,r){this.#e=!0;let i=r?.target??n.currentTarget;const o=i?.getBoundingClientRect();let l,s=0,a,u=null;null!=n.clientX&&null!=n.clientY&&(a=n.clientX,u=n.clientY),o&&(null!=a&&null!=u?(l=a-o.left,s=u-o.top):(l=o.width/2,s=o.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=l,this.y=s,this.key=n.key}continuePropagation(){this.#e=!1}get shouldStopPropagation(){return this.#e}}let C=Symbol("linkClicked"),T="react-aria-pressable-style",S="data-react-aria-pressable";function L(e){let{onPress:t,onPressChange:n,onPressStart:s,onPressEnd:L,onPressUp:D,onClick:R,isDisabled:F,isPressed:A,preventFocusOnPress:I,shouldCancelOnPointerExit:O,allowTextSelectionOnPress:H,ref:B,..._}=function(e){let t=(0,P.useContext)(y.F);if(t){let{register:n,ref:r,...i}=t;e=(0,g.v)(i,e),n()}return(0,E.w)(t,e.ref),e}(e),[z,$]=(0,P.useState)(!1),W=(0,P.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:V,removeAllGlobalListeners:U}=(0,w.A)(),j=(0,P.useCallback)((e,t)=>{let r=W.current;if(F||r.didFirePressStart)return!1;let i=!0;if(r.isTriggeringEvent=!0,s){let n=new k("pressstart",t,e);s(n),i=n.shouldStopPropagation}return n&&n(!0),r.isTriggeringEvent=!1,r.didFirePressStart=!0,$(!0),i},[F,s,n]),q=(0,P.useCallback)((e,r,i=!0)=>{let o=W.current;if(!o.didFirePressStart)return!1;o.didFirePressStart=!1,o.isTriggeringEvent=!0;let l=!0;if(L){let t=new k("pressend",r,e);L(t),l=t.shouldStopPropagation}if(n&&n(!1),$(!1),t&&i&&!F){let n=new k("press",r,e);t(n),l&&=n.shouldStopPropagation}return o.isTriggeringEvent=!1,l},[F,L,n,t]),G=(0,b.J)(q),J=(0,P.useCallback)((e,t)=>{let n=W.current;if(F)return!1;if(D){n.isTriggeringEvent=!0;let r=new k("pressup",t,e);return D(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0},[F,D]),Y=(0,b.J)(J),X=(0,P.useCallback)(e=>{let t=W.current;if(t.isPressed&&t.target){for(let n of(t.didFirePressStart&&null!=t.pointerType&&q(K(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,U(),H||d(t.target),t.disposables))n();t.disposables=[]}},[H,U,q]),Z=(0,b.J)(X),Q=(0,P.useCallback)(e=>{O&&X(e)},[O,X]),ee=(0,P.useCallback)(e=>{F||R?.(e)},[F,R]),et=(0,P.useCallback)((e,t)=>{if(!F&&R){let n=new MouseEvent("click",e);(0,i.o1)(n,t),R((0,i.eg)(n))}},[F,R]),en=(0,P.useMemo)(()=>{let e=W.current,t={onKeyDown(t){if(x(t.nativeEvent,t.currentTarget)&&(0,p.sD)(t.currentTarget,(0,p.wt)(t))){M((0,p.wt)(t),t.key)&&t.preventDefault();let i=!0;e.isPressed||t.repeat||(e.target=t.currentTarget,e.isPressed=!0,e.pointerType="keyboard",i=j(t,"keyboard"));let s=t.currentTarget;V((0,o.TW)(t.currentTarget),"keyup",(0,r.c)(t=>{x(t,s)&&!t.repeat&&(0,p.sD)(s,(0,p.wt)(t))&&e.target&&Y(K(e.target,t),"keyboard")},n),!0),i&&t.stopPropagation(),t.metaKey&&(0,l.cX)()&&e.metaKeyEvents?.set(t.key,t.nativeEvent)}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||(0,p.sD)(t.currentTarget,(0,p.wt)(t)))&&t&&0===t.button&&!e.isTriggeringEvent&&!v.Fe.isOpening){let n=!0;if(F&&t.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,m.Y)(t.nativeEvent))){let e=j(t,"virtual"),r=Y(t,"virtual"),i=G(t,"virtual");ee(t),n=e&&r&&i}else if(e.isPressed&&"keyboard"!==e.pointerType){let r=e.pointerType||t.nativeEvent.pointerType||"virtual",i=Y(K(t.currentTarget,t),r),o=G(K(t.currentTarget,t),r,!0);n=i&&o,e.isOverTarget=!1,ee(t),Z(t)}e.ignoreEmulatedMouseEvents=!1,n&&t.stopPropagation()}}},n=t=>{if(e.isPressed&&e.target&&x(t,e.target)){M((0,p.wt)(t),t.key)&&t.preventDefault();let n=(0,p.wt)(t),r=(0,p.sD)(e.target,n);G(K(e.target,t),"keyboard",r),r&&et(t,e.target),U(),"Enter"!==t.key&&N(e.target)&&(0,p.sD)(e.target,n)&&!t[C]&&(t[C]=!0,(0,v.Fe)(e.target,t,!1)),e.isPressed=!1,e.metaKeyEvents?.delete(t.key)}else if("Meta"===t.key&&e.metaKeyEvents?.size){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))e.target?.dispatchEvent(new KeyboardEvent("keyup",n))}};if("u">typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!(0,p.sD)(t.currentTarget,(0,p.wt)(t)))return;if((0,m.P)(t.nativeEvent)){e.pointerType="virtual";return}e.pointerType=t.pointerType;let i=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,H||function(e){if((0,l.un)()){if("default"===a){let t=(0,o.TW)(e);u=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}a="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";c.set(e,e.style[t]),e.style[t]="none"}}(e.target),i=j(t,e.pointerType);let s=(0,p.wt)(t);"releasePointerCapture"in s&&("hasPointerCapture"in s?s.hasPointerCapture(t.pointerId)&&s.releasePointerCapture(t.pointerId):s.releasePointerCapture(t.pointerId)),V((0,o.TW)(t.currentTarget),"pointerup",n,!1),V((0,o.TW)(t.currentTarget),"pointercancel",r,!1)}i&&t.stopPropagation()},t.onMouseDown=t=>{if((0,p.sD)(t.currentTarget,(0,p.wt)(t))&&0===t.button){if(I){let n=(0,i.LE)(t.target);n&&e.disposables.push(n)}t.stopPropagation()}},t.onPointerUp=t=>{(0,p.sD)(t.currentTarget,(0,p.wt)(t))&&"virtual"!==e.pointerType&&(0!==t.button||e.isPressed||Y(t,e.pointerType||t.pointerType))},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,j(K(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,G(K(e.target,t),e.pointerType,!1),Q(t))};let n=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target){if((0,p.sD)(e.target,(0,p.wt)(t))&&null!=e.pointerType){let n=!1,r=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(n?Z(t):((0,f.e)(e.target),e.target.click()))},80);V(t.currentTarget,"click",()=>n=!0,!0),e.disposables.push(()=>clearTimeout(r))}else Z(t);e.isOverTarget=!1}},r=e=>{Z(e)};t.onDragStart=e=>{(0,p.sD)(e.currentTarget,(0,p.wt)(e))&&Z(e)}}return t},[V,F,I,U,H,Q,j,ee,et]);return(0,P.useEffect)(()=>{if(!B)return;let e=(0,o.TW)(B.current);if(!e||!e.head||e.getElementById(T))return;let t=e.createElement("style");t.id=T;let n=(0,h.m)(e);n&&(t.nonce=n),t.textContent=`
2
- @layer {
3
- [${S}] {
4
- touch-action: pan-x pan-y pinch-zoom;
5
- }
6
- }
7
- `.trim(),e.head.prepend(t)},[B]),(0,P.useEffect)(()=>{let e=W.current;return()=>{for(let t of(H||d(e.target??void 0),e.disposables))t();e.disposables=[]}},[H]),{isPressed:A||z,pressProps:(0,g.v)(_,en,{[S]:!0})}}function N(e){return"A"===e.tagName&&e.hasAttribute("href")}function x(e,t){let{key:n,code:r}=e,i=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===r)&&!(t instanceof(0,o.mD)(t).HTMLInputElement&&!R(t,n)||t instanceof(0,o.mD)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===i||!i&&N(t))&&"Enter"!==n)}function K(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r,key:t.key}}function M(e,t){return e instanceof HTMLInputElement?!R(e,t):!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!N(e))}let D=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function R(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:D.has(e.type)}},19793(e,t,n){n.d(t,{LE:()=>p,eg:()=>u,lR:()=>f,o1:()=>c,yB:()=>d});var r=n(88563),i=n(34122),o=n(3837),l=n(68509),s=n(29226),a=n(14041);function u(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function c(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function d(e){let t=(0,a.useRef)({isFocused:!1,observer:null});return(0,s.N)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,a.useCallback)(n=>{let r=(0,i.wt)(n);(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement)&&(t.current.isFocused=!0,r.addEventListener("focusout",n=>{if(t.current.isFocused=!1,r.disabled){let t=u(n);e?.(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){t.current.observer?.disconnect();let e=r===(0,i.bq)()?null:(0,i.bq)();r.dispatchEvent(new FocusEvent("blur",{relatedTarget:e})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:e}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]}))},[e])}let f=!1;function p(e){for(;e&&!(0,l.t)(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=(0,o.mD)(e),n=t.document.activeElement;if(!n||n===e)return;f=!0;let s=!1,a=e=>{((0,i.wt)(e)===n||s)&&e.stopImmediatePropagation()},u=t=>{((0,i.wt)(t)===n||s)&&(t.stopImmediatePropagation(),e||s||(s=!0,(0,r.e)(n),p()))},c=t=>{((0,i.wt)(t)===e||s)&&t.stopImmediatePropagation()},d=t=>{((0,i.wt)(t)===e||s)&&(t.stopImmediatePropagation(),s||(s=!0,(0,r.e)(n),p()))};t.addEventListener("blur",a,!0),t.addEventListener("focusout",u,!0),t.addEventListener("focusin",d,!0),t.addEventListener("focus",c,!0);let p=()=>{cancelAnimationFrame(h),t.removeEventListener("blur",a,!0),t.removeEventListener("focusout",u,!0),t.removeEventListener("focusin",d,!0),t.removeEventListener("focus",c,!0),f=!1,s=!1},h=requestAnimationFrame(p);return p}},64306(e,t,n){n.d(t,{M:()=>l});var r=n(14612),i=n(28052),o=n(47499);function l(e){let{description:t,errorMessage:n,isInvalid:l,validationState:s}=e,{labelProps:a,fieldProps:u}=(0,r.M)(e),c=(0,o.X1)([!!t,!!n,l,s]),d=(0,o.X1)([!!t,!!n,l,s]);return{labelProps:a,fieldProps:u=(0,i.v)(u,{"aria-describedby":[c,d,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),descriptionProps:{id:c},errorMessageProps:{id:d}}}},14612(e,t,n){n.d(t,{M:()=>o});var r=n(47499),i=n(5554);function o(e){let{id:t,label:n,"aria-labelledby":o,"aria-label":l,labelElementType:s="label"}=e;t=(0,r.Bi)(t);let a=(0,r.Bi)(),u={};return n&&(o=o?`${a} ${o}`:a,u={id:a,htmlFor:"label"===s?t:void 0}),{labelProps:u,fieldProps:(0,i.b)({id:t,"aria-label":l,"aria-labelledby":o})}}},90024(e,t,n){n.d(t,{i:()=>a});var r=n(59878),i=n(90970),o=n(28052),l=n(73817),s=n(99278);function a(e,t){let{elementType:n="a",onPress:a,onPressStart:u,onPressEnd:c,onClick:d,isDisabled:f,...p}=e,h={};"a"!==n&&(h={role:"link",tabIndex:f?void 0:0});let{focusableProps:m}=(0,l.Wc)(e,t),{pressProps:g,isPressed:v}=(0,s.d)({onPress:a,onPressStart:u,onPressEnd:c,onClick:d,isDisabled:f,ref:t}),y=(0,r.$)(p,{labelable:!0}),b=(0,o.v)(m,g),w=(0,i.rd)(),E=(0,i._h)(e);return{isPressed:v,linkProps:(0,o.v)(y,E,{...b,...h,"aria-disabled":f||void 0,"aria-current":e["aria-current"],onClick:t=>{g.onClick?.(t),(0,i.PJ)(t,w,e.href,e.routerOptions)}})}}},64818(e,t,n){n.d(t,{X:()=>c});var r=n(59878),i=n(83113),o=n(28052),l=n(28176),s=n(47499),a=n(14612),u=n(36794);function c(e,t,n){let c=(0,r.$)(e,{labelable:!0}),d=e.selectionBehavior||"toggle",f=e.orientation||"vertical",p=e.linkBehavior||("replace"===d?"action":"override");"toggle"===d&&"action"===p&&(p="override");let{listProps:h}=(0,u.y)({...e,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:p}),{focusWithinProps:m}=(0,l.R)({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),g=(0,s.Bi)(e.id);i.b.set(t,{id:g,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:p,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:v,fieldProps:y}=(0,a.M)({...e,id:g,labelElementType:"span"});return{labelProps:v,listBoxProps:(0,o.v)(c,m,"multiple"===t.selectionManager.selectionMode?{"aria-multiselectable":"true"}:{},{role:"listbox","aria-orientation":f,...(0,o.v)(y,h)})}}},88527(e,t,n){n.d(t,{u:()=>i});var r=n(47499);function i(e){let{heading:t,"aria-label":n}=e,i=(0,r.Bi)();return{itemProps:{role:"presentation"},headingProps:t?{id:i,role:"presentation",onMouseDown:e=>{e.preventDefault()}}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":t?i:void 0}}}},47108(e,t,n){n.d(t,{x:()=>p});var r=n(23977),i=n(59878),o=n(83113),l=n(81901),s=n(28052),a=n(95783),u=n(44031),c=n(90970),d=n(47499),f=n(35955);function p(e,t,n){let{key:p}=e,h=o.b.get(t),m=e.isDisabled??t.selectionManager.isDisabled(p),g=e.isSelected??t.selectionManager.isSelected(p),v=e.shouldSelectOnPressUp??h?.shouldSelectOnPressUp,y=e.shouldFocusOnHover??h?.shouldFocusOnHover,b=e.shouldUseVirtualFocus??h?.shouldUseVirtualFocus,w=e.isVirtualized??h?.isVirtualized,E=(0,d.X1)(),P=(0,d.X1)(),k={role:"option","aria-disabled":m||void 0,"aria-selected":"none"!==t.selectionManager.selectionMode?g:void 0,"aria-label":e["aria-label"],"aria-labelledby":E,"aria-describedby":P},C=t.collection.getItem(p);if(w){let e=Number(C?.index);k["aria-posinset"]=Number.isNaN(e)?void 0:e+1,k["aria-setsize"]=(0,f.v)(t.collection)}let T=h?.onAction?()=>h?.onAction?.(p):void 0,S=(0,o.H)(t,p),{itemProps:L,isPressed:N,isFocused:x,hasAction:K,allowsSelection:M}=(0,a.p)({selectionManager:t.selectionManager,key:p,ref:n,shouldSelectOnPressUp:v,allowsDifferentPressOrigin:v&&y,isVirtualized:w,shouldUseVirtualFocus:b,isDisabled:m,onAction:T||C?.props?.onAction?(0,r.c)(C?.props?.onAction,T):void 0,linkBehavior:h?.linkBehavior,UNSTABLE_itemBehavior:h?.UNSTABLE_itemBehavior,id:S}),{hoverProps:D}=(0,u.M)({isDisabled:m||!y,onHoverStart(){(0,l.pP)()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(p))}}),R=(0,i.$)(C?.props);delete R.id;let F=(0,c._h)(C?.props);return{optionProps:{...k,...(0,s.v)(R,L,D,F),id:S},labelProps:{id:E},descriptionProps:{id:P},isFocused:x,isFocusVisible:x&&t.selectionManager.isFocused&&(0,l.pP)(),isSelected:g,isDisabled:m,isPressed:N,allowsSelection:M,hasAction:K}}},83113(e,t,n){n.d(t,{H:()=>i,b:()=>r});let r=new WeakMap;function i(e,t){let n=r.get(e);if(!n)throw Error("Unknown list");return`${n.id}-option-${"string"==typeof t?t.replace(/\s*/g,""):""+t}`}},59438(e,t,n){n.d(t,{iP:()=>i});let r=null;function i(e,t="assertive",n=7e3){r?r.announce(e,t,n):(r=new o,("boolean"==typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:"u">typeof jest)?r.announce(e,t,n):setTimeout(()=>{r?.isAttached()&&r?.announce(e,t,n)},100))}class o{constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,"u">typeof document&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}isAttached(){return this.node?.isConnected}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",n=7e3){if(!this.node)return;let r=document.createElement("div");"object"==typeof e?(r.setAttribute("role","img"),r.setAttribute("aria-labelledby",e["aria-labelledby"])):r.textContent=e,"assertive"===t?this.assertiveLog?.appendChild(r):this.politeLog?.appendChild(r),""!==e&&setTimeout(()=>{r.remove()},n)}clear(e){this.node&&((!e||"assertive"===e)&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||"polite"===e)&&this.politeLog&&(this.politeLog.innerHTML=""))}}},38152(e,t,n){n.d(t,{b:()=>s});var r=n(59878),i=n(50747),o=n(28052),l=n(36794);function s(e,t,n){let{shouldFocusWrap:s=!0,onKeyDown:a,onKeyUp:u,...c}=e;e["aria-label"]||e["aria-labelledby"];let d=(0,r.$)(e,{labelable:!0}),{listProps:f}=(0,l.y)({...c,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:s,linkBehavior:"override"});return i.K.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:(0,o.v)(d,{onKeyDown:a,onKeyUp:u},{role:"menu",...f,onKeyDown:t=>{("Escape"!==t.key||e.shouldUseVirtualFocus)&&f.onKeyDown?.(t)}})}}},4517(e,t,n){n.d(t,{O:()=>v});var r=n(59878),i=n(34122),o=n(90970),l=n(81901),s=n(50747),a=n(28052),u=n(73817),c=n(44031),d=n(59163),f=n(99278),p=n(95783),h=n(47499),m=n(35955),g=n(14041);function v(e,t,n){let{id:v,key:y,closeOnSelect:b,shouldCloseOnSelect:w,isVirtualized:E,"aria-haspopup":P,onPressStart:k,onPressUp:C,onPress:T,onPressChange:S,onPressEnd:L,onClick:N,onHoverStart:x,onHoverChange:K,onHoverEnd:M,onKeyDown:D,onKeyUp:R,onFocus:F,onFocusChange:A,onBlur:I,selectionManager:O=t.selectionManager}=e,H=!!P,B=H&&"true"===e["aria-expanded"],_=e.isDisabled??O.isDisabled(y),z=e.isSelected??O.isSelected(y),$=s.K.get(t),W=t.collection.getItem(y),V=e.onClose||$.onClose,U=(0,o.rd)(),j="menuitem";H||("single"===O.selectionMode?j="menuitemradio":"multiple"===O.selectionMode&&(j="menuitemcheckbox"));let q=(0,h.X1)(),G=(0,h.X1)(),J=(0,h.X1)(),Y={id:v,"aria-disabled":_||void 0,role:j,"aria-label":e["aria-label"],"aria-labelledby":q,"aria-describedby":[e["aria-describedby"],G,J].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":P,"aria-expanded":e["aria-expanded"]};if("none"===O.selectionMode||H||(Y["aria-checked"]=z),E){let e=Number(W?.index);Y["aria-posinset"]=Number.isNaN(e)?void 0:e+1,Y["aria-setsize"]=(0,m.v)(t.collection)}let X=(0,g.useRef)(!1),Z=(0,g.useRef)(null),{itemProps:Q,isFocused:ee}=(0,p.p)({id:v,selectionManager:O,key:y,ref:n,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:$.shouldUseVirtualFocus}),{pressProps:et,isPressed:en}=(0,f.d)({onPressStart:k,onPress:T,onPressUp:e=>{"keyboard"!==e.pointerType&&(Z.current={pointerType:e.pointerType}),"mouse"!==e.pointerType||X.current||e.target.click(),C?.(e)},onPressChange:e=>{S?.(e),X.current=e},onPressEnd:L,isDisabled:_}),{hoverProps:er}=(0,c.M)({isDisabled:_,onHoverStart(e){(0,l.pP)()||B&&P||(O.setFocused(!0),O.setFocusedKey(y)),x?.(e)},onHoverChange:K,onHoverEnd:M}),{keyboardProps:ei}=(0,d.d)({onKeyDown:e=>{if(e.repeat)return void e.continuePropagation();switch(e.key){case" ":Z.current={pointerType:"keyboard",key:" "},(0,i.wt)(e).click(),(0,l.Cl)("keyboard");break;case"Enter":Z.current={pointerType:"keyboard",key:"Enter"},"A"!==(0,i.wt)(e).tagName&&(0,i.wt)(e).click(),(0,l.Cl)("keyboard");break;default:H||e.continuePropagation(),D?.(e)}},onKeyUp:R}),{focusableProps:eo}=(0,u.Wc)({onBlur:I,onFocus:F,onFocusChange:A},n),el=(0,r.$)(W?.props);delete el.id;let es=(0,o._h)(W?.props);return{menuItemProps:{...Y,...(0,a.v)(el,es,H?{onFocus:Q.onFocus,"data-collection":Q["data-collection"],"data-key":Q["data-key"]}:Q,et,er,ei,eo,$.shouldUseVirtualFocus||H?{onMouseDown:e=>e.preventDefault()}:void 0,_?void 0:{onClick:t=>{N?.(t),!H&&(W?.props?.onAction?W.props.onAction():e.onAction&&e.onAction(y),$.onAction&&(0,$.onAction)(y)),(0,o.PJ)(t,U,W.props.href,W?.props.routerOptions);let n=Z.current?.pointerType==="keyboard"?Z.current?.key==="Enter"||"none"===O.selectionMode||O.isLink(y):"multiple"!==O.selectionMode||O.isLink(y);n=w??b??n,V&&!H&&n&&V(),Z.current=null}}),tabIndex:null!=Q.tabIndex&&B&&!$.shouldUseVirtualFocus?-1:Q.tabIndex},labelProps:{id:q},descriptionProps:{id:G},keyboardShortcutProps:{id:J},isFocused:ee,isFocusVisible:ee&&O.isFocused&&(0,l.pP)()&&!B,isSelected:z,isPressed:en,isDisabled:_}}},49777(e,t,n){n.d(t,{y:()=>i});var r=n(47499);function i(e){let{heading:t,"aria-label":n}=e,i=(0,r.Bi)();return{itemProps:{role:"presentation"},headingProps:t?{id:i,role:"presentation"}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":t?i:void 0}}}},21426(e,t,n){n.d(t,{V:()=>c});var r=n(88563),i={};i={"ar-AE":{longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"},"bg-BG":{longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"},"cs-CZ":{longPressMessage:"Dlouh\xfdm stiskem nebo stisknut\xedm kl\xe1ves Alt + šipka dolů otevřete nab\xeddku"},"da-DK":{longPressMessage:"Langt tryk eller tryk p\xe5 Alt + pil ned for at \xe5bne menuen"},"de-DE":{longPressMessage:"Dr\xfccken Sie lange oder dr\xfccken Sie Alt + Nach-unten, um das Men\xfc zu \xf6ffnen"},"el-GR":{longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"},"en-US":{longPressMessage:"Long press or press Alt + ArrowDown to open menu"},"es-ES":{longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\xfa"},"et-EE":{longPressMessage:"Men\xfc\xfc avamiseks vajutage pikalt v\xf5i vajutage klahve Alt + allanool"},"fi-FI":{longPressMessage:"Avaa valikko painamalla pohjassa tai n\xe4pp\xe4inyhdistelm\xe4ll\xe4 Alt + Alanuoli"},"fr-FR":{longPressMessage:"Appuyez de mani\xe8re prolong\xe9e ou appuyez sur Alt\xa0+\xa0Fl\xe8che vers le bas pour ouvrir le menu."},"he-IL":{longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"},"hr-HR":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"},"hu-HU":{longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\xedl gombot a men\xfc megnyit\xe1s\xe1hoz"},"it-IT":{longPressMessage:"Premi a lungo o premi Alt + Freccia gi\xf9 per aprire il menu"},"ja-JP":{longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"},"ko-KR":{longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"},"lt-LT":{longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."},"lv-LV":{longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"},"nb-NO":{longPressMessage:"Langt trykk eller trykk Alt + PilNed for \xe5 \xe5pne menyen"},"nl-NL":{longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"},"pl-PL":{longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w d\xf3ł, aby otworzyć menu"},"pt-BR":{longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"},"pt-PT":{longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"},"ro-RO":{longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată \xeen jos pentru a deschide meniul"},"ru-RU":{longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"},"sk-SK":{longPressMessage:"Ponuku otvor\xedte dlh\xfdm stlačen\xedm alebo stlačen\xedm kl\xe1vesu Alt + kl\xe1vesu so š\xedpkou nadol"},"sl-SI":{longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"},"sr-SP":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"},"sv-SE":{longPressMessage:"H\xe5ll nedtryckt eller tryck p\xe5 Alt + pil ned\xe5t f\xf6r att \xf6ppna menyn"},"tr-TR":{longPressMessage:"Men\xfcy\xfc a\xe7mak i\xe7in uzun basın veya Alt + Aşağı Ok tuşuna basın"},"uk-UA":{longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"},"zh-CN":{longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"},"zh-TW":{longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"}};var o=n(47499),l=n(44018),s=n(98458),a=n(32257),u=n(14041);function c(e,t,n){var c;let{type:d="menu",isDisabled:f,trigger:p="press"}=e,h=(0,o.Bi)(),{triggerProps:m,overlayProps:g}=function(e,t,n){let r,{type:i}=e,{isOpen:l}=t;(0,u.useEffect)(()=>{n&&n.current&&a.a.set(n.current,t.close)}),"menu"===i?r=!0:"listbox"===i&&(r="listbox");let s=(0,o.Bi)();return{triggerProps:{"aria-haspopup":r,"aria-expanded":l,"aria-controls":l?s:void 0,onPress:t.toggle},overlayProps:{id:s}}}({type:d},t,n),v=(0,l.o)((c=i)&&c.__esModule?c.default:c,"@react-aria/menu"),{longPressProps:y}=(0,s.H)({isDisabled:f||"longPress"!==p,accessibilityDescription:v.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}});return delete m.onPress,{menuTriggerProps:{...m,..."press"===p?{preventFocusOnPress:!0,onPressStart(e){"touch"===e.pointerType||"keyboard"===e.pointerType||f||((0,r.e)(e.target),t.open("virtual"===e.pointerType?"first":null))},onPress(e){"touch"!==e.pointerType||f||((0,r.e)(e.target),t.toggle())}}:y,id:h,onKeyDown:e=>{if(!f&&("longPress"!==p||e.altKey)&&n&&n.current)switch(e.key){case"Enter":case" ":if("longPress"===p||e.isDefaultPrevented())return;case"ArrowDown":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("last");break;default:"continuePropagation"in e&&e.continuePropagation()}}},menuProps:{...g,"aria-labelledby":h,autoFocus:t.focusStrategy||!0,onClose:t.close}}}},50747(e,t,n){n.d(t,{K:()=>r});let r=new WeakMap},50660(e,t,n){n.d(t,{R:()=>a});var r={};r={"ar-AE":{dismiss:"تجاهل"},"bg-BG":{dismiss:"Отхвърляне"},"cs-CZ":{dismiss:"Odstranit"},"da-DK":{dismiss:"Luk"},"de-DE":{dismiss:"Schlie\xdfen"},"el-GR":{dismiss:"Απόρριψη"},"en-US":{dismiss:"Dismiss"},"es-ES":{dismiss:"Descartar"},"et-EE":{dismiss:"L\xf5peta"},"fi-FI":{dismiss:"Hylk\xe4\xe4"},"fr-FR":{dismiss:"Rejeter"},"he-IL":{dismiss:"התעלם"},"hr-HR":{dismiss:"Odbaci"},"hu-HU":{dismiss:"Elutas\xedt\xe1s"},"it-IT":{dismiss:"Ignora"},"ja-JP":{dismiss:"閉じる"},"ko-KR":{dismiss:"무시"},"lt-LT":{dismiss:"Atmesti"},"lv-LV":{dismiss:"Nerādīt"},"nb-NO":{dismiss:"Lukk"},"nl-NL":{dismiss:"Negeren"},"pl-PL":{dismiss:"Zignoruj"},"pt-BR":{dismiss:"Descartar"},"pt-PT":{dismiss:"Dispensar"},"ro-RO":{dismiss:"Revocare"},"ru-RU":{dismiss:"Пропустить"},"sk-SK":{dismiss:"Zrušiť"},"sl-SI":{dismiss:"Opusti"},"sr-SP":{dismiss:"Odbaci"},"sv-SE":{dismiss:"Avvisa"},"tr-TR":{dismiss:"Kapat"},"uk-UA":{dismiss:"Скасувати"},"zh-CN":{dismiss:"取消"},"zh-TW":{dismiss:"關閉"}};var i=n(5554),o=n(44018),l=n(32120),s=n(14041);function a(e){var t;let{onDismiss:n,...a}=e,u=(0,o.o)((t=r)&&t.__esModule?t.default:t,"@react-aria/overlays"),c=(0,i.b)(a,u.format("dismiss"));return s.createElement(l.s,null,s.createElement("button",{...c,tabIndex:-1,onClick:()=>{n&&n()},style:{width:1,height:1}}))}},63321(e,t,n){n.d(t,{Se:()=>f,hJ:()=>d});var r=n(12743),i=n(56059),o=n(83146),l=n(29226),s=n(14041);let a=(0,s.createContext)({});var u=n(43144);let c=s.createContext(null);function d(e){let t=(0,o.wR)(),{portalContainer:n=t?null:document.body,isExiting:l}=e,[d,f]=(0,s.useState)(!1),p=(0,s.useMemo)(()=>({contain:d,setContain:f}),[d,f]),{getContainer:h}=(0,s.useContext)(a)??{};if(!e.portalContainer&&h&&(n=h()),!n)return null;let m=e.children;return e.disableFocusManagement||(m=s.createElement(i.n1,{restoreFocus:!0,contain:(e.shouldContainFocus||d)&&!l},m)),m=s.createElement(c.Provider,{value:p},s.createElement(r.N,null,m)),u.createPortal(m,n)}function f(){let e=(0,s.useContext)(c),t=e?.setContain;(0,l.N)(()=>{t?.(!0)},[t])}},34162(e,t,n){n.d(t,{O:()=>f,h:()=>d});var r=n(22139),i=n(3837),o=n(34122),l=n(17876);let s="u">typeof HTMLElement&&"inert"in HTMLElement.prototype;function a(e){return"true"===e.dataset.liveAnnouncer||void 0!==e.dataset.reactAriaTopLayer}let u=new WeakMap,c=[];function d(e,t){let n=(0,i.mD)(e?.[0]),d=t instanceof n.Element?{root:t}:t,f=d?.root??document.body,p=d?.shouldUseInert&&s,h=new Set(e),m=new Set,g=(e,t)=>{p&&e instanceof n.HTMLElement?e.inert=t:t?e.setAttribute("aria-hidden","true"):(e.removeAttribute("aria-hidden"),e instanceof n.HTMLElement&&(e.inert=!1))},v=new Set;if((0,l.Nf)())for(let t of e){let e=t;for(;e&&e!==f;){let t=e.getRootNode();"shadowRoot"in t&&v.add(t.shadowRoot),e=t.parentNode}}let y=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))h.add(t);let t=e=>{if(m.has(e)||h.has(e)||e.parentElement&&m.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of h)if((0,o.sD)(e,t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},n=(0,r.H)((0,i.TW)(e),e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),l=t(e);if(l===NodeFilter.FILTER_ACCEPT&&b(e),l!==NodeFilter.FILTER_REJECT){let e=n.nextNode();for(;null!=e;)b(e),e=n.nextNode()}},b=e=>{let t=u.get(e)??0;(p&&e instanceof n.HTMLElement?e.inert:"true"===e.getAttribute("aria-hidden"))&&0===t||(0===t&&g(e,!0),m.add(e),u.set(e,t+1))};c.length&&c[c.length-1].disconnect(),y(f);let w=new MutationObserver(e=>{for(let t of e)if("childList"===t.type){if(t.target.isConnected&&![...h,...m].some(e=>(0,o.sD)(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&a(e)?h.add(e):e instanceof Element&&y(e);if((0,l.Nf)()){for(let e of v)if(!e.isConnected){w.disconnect();break}}}});w.observe(f,{childList:!0,subtree:!0});let E=new Set;if((0,l.Nf)())for(let e of v){let t=new MutationObserver(e=>{for(let t of e)if("childList"===t.type){if(t.target.isConnected&&![...h,...m].some(e=>(0,o.sD)(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&a(e)?h.add(e):e instanceof Element&&y(e);if((0,l.Nf)()){for(let e of v)if(!e.isConnected){w.disconnect();break}}}});t.observe(e,{childList:!0,subtree:!0}),E.add(t)}let P={visibleNodes:h,hiddenNodes:m,observe(){w.observe(f,{childList:!0,subtree:!0})},disconnect(){w.disconnect()}};return c.push(P),()=>{if(w.disconnect(),(0,l.Nf)())for(let e of E)e.disconnect();for(let e of m){let t=u.get(e);null!=t&&(1===t?(g(e,!1),u.delete(e)):u.set(e,t-1))}P===c[c.length-1]?(c.pop(),c.length&&c[c.length-1].observe()):c.splice(c.indexOf(P),1)}}function f(e){let t=c[c.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}},32257(e,t,n){n.d(t,{a:()=>o,o:()=>l});var r=n(34122),i=n(14041);let o=new WeakMap;function l(e){let{triggerRef:t,isOpen:n,onClose:l}=e;(0,i.useEffect)(()=>{if(!n||null===l)return;let e=e=>{let n=(0,r.wt)(e);if(!t.current||n instanceof Node&&!(0,r.sD)(n,t.current)||n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement)return;let i=l||o.get(t.current);i&&i()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[n,l,t])}},95882(e,t,n){n.d(t,{l:()=>u});var r=n(34162),i=n(87501),o=n(28052),l=n(63321),s=n(10296),a=n(14041);function u(e,t,n){let{overlayProps:u,underlayProps:c}=(0,i.e)({...e,isOpen:t.isOpen,onClose:t.close},n);return(0,s.H)({isDisabled:!t.isOpen}),(0,l.Se)(),(0,a.useEffect)(()=>{if(t.isOpen&&n.current)return(0,r.h)([n.current],{shouldUseInert:!0})},[t.isOpen,n]),{modalProps:(0,o.v)(u),underlayProps:c}}},87501(e,t,n){n.d(t,{e:()=>u});var r=n(34122),i=n(56059),o=n(28176),l=n(71806),s=n(14041);let a=[];function u(e,t){let{onClose:n,shouldCloseOnBlur:u,isOpen:c,isDismissable:d=!1,isKeyboardDismissDisabled:f=!1,shouldCloseOnInteractOutside:p}=e,h=(0,s.useRef)(void 0);(0,s.useEffect)(()=>{if(c&&!a.includes(t))return a.push(t),()=>{let e=a.indexOf(t);e>=0&&a.splice(e,1)}},[c,t]);let m=()=>{a[a.length-1]===t&&n&&n()};(0,l.$)({ref:t,onInteractOutside:d&&c?e=>{(!p||p((0,r.wt)(e)))&&(a[a.length-1]===t&&e.stopPropagation(),h.current===t&&m()),h.current=void 0}:void 0,onInteractOutsideStart:e=>{let n=a[a.length-1];h.current=n,(!p||p((0,r.wt)(e)))&&n===t&&e.stopPropagation()}});let{focusWithinProps:g}=(0,o.R)({isDisabled:!u,onBlurWithin:e=>{!(!e.relatedTarget||(0,i.Pu)(e.relatedTarget))&&(!p||p(e.relatedTarget))&&n?.()}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||f||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),m())},...g},underlayProps:{}}}},75524(e,t,n){n.d(t,{f:()=>M});var r=n(34162),i=n(93523),o=n(34122),l=n(73858);let s={top:"top",bottom:"top",left:"left",right:"left"},a={top:"bottom",bottom:"top",left:"right",right:"left"},u={top:"left",left:"top"},c={top:"height",left:"width"},d={width:"totalWidth",height:"totalHeight"},f={};function p(e,t){let n=0,r=0,o=0,l=0,s=0,a=0,u={},c=(t?.scale??1)>1;if("BODY"===e.tagName||"HTML"===e.tagName){let i=document.documentElement;o=i.clientWidth,l=i.clientHeight,n=t?.width??o,r=t?.height??l,u.top=i.scrollTop||e.scrollTop,u.left=i.scrollLeft||e.scrollLeft,t&&(s=t.offsetTop,a=t.offsetLeft)}else({width:n,height:r,top:s,left:a}=b(e,!1)),u.top=e.scrollTop,u.left=e.scrollLeft,o=n,l=r;return(0,i.Tc)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&c&&(u.top=0,u.left=0,s=t?.pageTop??0,a=t?.pageLeft??0),{width:n,height:r,totalWidth:o,totalHeight:l,scroll:u,top:s,left:a}}function h(e,t,n,r,i,o,l){let a=i.scroll[e]??0,u=r[c[e]],d=l[e]+r.scroll[s[e]]+o,f=l[e]+r.scroll[s[e]]+u-o,p=t-a+r.scroll[s[e]]+l[e]-r[s[e]],h=t-a+n+r.scroll[s[e]]+l[e]-r[s[e]];return p<d?d-p:h>f?Math.max(f-h,d-p):0}function m(e){if(f[e])return f[e];let[t,n]=e.split(" "),r=s[t]||"right",i=u[r];s[n]||(n="center");let o=c[r],l=c[i];return f[e]={placement:t,crossPlacement:n,axis:r,crossAxis:i,size:o,crossSize:l},f[e]}function g(e,t,n,r,i,o,s,u,c,f,p){let{placement:h,crossPlacement:m,axis:g,crossAxis:v,size:y,crossSize:b}=r,w={};w[v]=e[v]??0,"center"===m?w[v]+=((e[b]??0)-(n[b]??0))/2:m!==v&&(w[v]+=(e[b]??0)-(n[b]??0)),w[v]+=o;let E=e[v]-n[b]+c+f,P=e[v]+e[b]-c-f;if(w[v]=(0,l.qE)(w[v],E,P),h===g){let t=u?p[y]:p[d[y]];w[a[g]]=Math.floor(t-e[g]+i)}else w[g]=Math.floor(e[g]+e[y]+i);return w}function v(e,t,n,r,i,o,l,s){let{placement:u,axis:c,size:d}=o;return u===c?Math.max(0,n[c]-(l.scroll[c]??0)-(e[c]+(s?t[c]:0))-(r[c]??0)-r[a[c]]-i):Math.max(0,e[d]+e[c]+(s?t[c]:0)-n[c]-n[d]+(l.scroll[c]??0)-(r[c]??0)-r[a[c]]-i)}function y(e,t){let{top:n,left:r,width:i,height:o}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(i=e.offsetWidth,o=e.offsetHeight),{top:n,left:r,width:i,height:o}}function b(e,t){let{top:n,left:r,width:i,height:o}=y(e,t),{scrollTop:l,scrollLeft:s,clientTop:a,clientLeft:u}=document.documentElement;return{top:n+l-a,left:r+s-u,width:i,height:o}}function w(e,t,n){let r,i=window.getComputedStyle(e);if("fixed"===i.position)r=y(e,n);else{r=b(e,n);let i=b(t,n),o=window.getComputedStyle(t);i.top+=(parseInt(o.borderTopWidth,10)||0)-t.scrollTop,i.left+=(parseInt(o.borderLeftWidth,10)||0)-t.scrollLeft,r.top-=i.top,r.left-=i.left}return r.top-=parseInt(i.marginTop,10)||0,r.left-=parseInt(i.marginLeft,10)||0,r}function E(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}var P=n(32257),k=n(29226),C=n(66030),T=n(83869),S=n(14041);let L="u">typeof document?window.visualViewport:null;var N=n(28052),x=n(87501),K=n(10296);function M(e,t){let{triggerRef:n,popoverRef:i,groupRef:u,isNonModal:c,isKeyboardDismissDisabled:f,shouldCloseOnInteractOutside:M,...D}=e,R="SubmenuTrigger"===D.trigger,{overlayProps:F,underlayProps:A}=(0,x.e)({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!c||R,isKeyboardDismissDisabled:f,shouldCloseOnInteractOutside:M},u??i),{overlayProps:I,arrowProps:O,placement:H,triggerAnchorPoint:B}=function(e){var t;let{direction:n}=(0,C.Y)(),{arrowSize:r,targetRef:i,overlayRef:u,arrowRef:c,scrollRef:f=u,placement:N="bottom",containerPadding:x=12,shouldFlip:K=!0,boundaryElement:M="u">typeof document?document.body:null,offset:D=0,crossOffset:R=0,shouldUpdatePosition:F=!0,isOpen:A=!0,onClose:I,maxHeight:O,arrowBoundaryOffset:H=0}=e,[B,_]=(0,S.useState)(null),z=[F,N,u.current,i.current,c?.current,f.current,x,K,M,D,R,A,n,O,H,r],$=(0,S.useRef)(L?.scale);(0,S.useEffect)(()=>{A&&($.current=L?.scale)},[A]);let W=(0,S.useCallback)(()=>{var e;if(!1===F||!A||!u.current||!i.current||!M||L?.scale!==$.current)return;let t=null;if(f.current&&(0,o.ae)(f.current)){let e=(0,o.bq)()?.getBoundingClientRect(),n=f.current.getBoundingClientRect();(t={type:"top",offset:(e?.top??0)-n.top}).offset>n.height/2&&(t.type="bottom",t.offset=(e?.bottom??0)-n.bottom)}let P=u.current;!O&&u.current&&(P.style.top="0px",P.style.bottom="",P.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+"px");let k=function(e){let t,n,{placement:r,targetNode:i,overlayNode:u,scrollNode:c,padding:f,shouldFlip:P,boundaryElement:k,offset:C,crossOffset:T,maxHeight:S,arrowSize:L=0,arrowBoundaryOffset:N=0}=e,x="u">typeof document?window.visualViewport:null,K=u instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!E(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!E(t);)t=t.parentElement;return t||document.documentElement}(u):document.documentElement,M=K===document.documentElement,D=window.getComputedStyle(K).position,R=M?b(i,!1):w(i,K,!1);if(!M){let{marginTop:e,marginLeft:t}=window.getComputedStyle(i);R.top+=parseInt(e,10)||0,R.left+=parseInt(t,10)||0}let F=b(u,!0),A={top:parseInt((t=window.getComputedStyle(u)).marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0};F.width+=(A.left??0)+(A.right??0),F.height+=(A.top??0)+(A.bottom??0),c.scrollTop,c.scrollLeft,c.scrollWidth,c.scrollHeight;let I=p(k,x),O=p(K,x);if("BODY"!==k.tagName&&"HTML"!==k.tagName||M)n=("BODY"===k.tagName||"HTML"===k.tagName)&&M?{top:0,left:0,width:0,height:0}:w(k,K,!1);else{let e=y(K,!1);n={top:-(e.top-I.top),left:-(e.left-I.left),width:0,height:0}}return function(e,t,n,r,i,o,u,c,f,p,y,b,w,E,P,k,C){var T,S,L;let N,x,K,M=m(e),{size:D,crossAxis:R,crossSize:F,placement:A,crossPlacement:I}=M,O=g(t,u,n,M,p,y,f,b,E,P,c),H=p,B=v(u,f,t,r,i+p,M,c,k);if(o&&n[D]>B){let e=m(`${a[A]} ${I}`),o=g(t,u,n,e,p,y,f,b,E,P,c);v(u,f,t,r,i+p,e,c,k)>B&&(M=e,O=o,H=p)}let _="bottom";"top"===M.axis?"top"===M.placement?_="top":"bottom"===M.placement&&(_="bottom"):"top"===M.crossAxis&&("top"===M.crossPlacement?_="bottom":"bottom"===M.crossPlacement&&(_="top"));let z=h(R,O[R],n[F],u,c,i,f);O[R]+=z;let $=(T=O,S=n.height,L=_,N=(null!=T.top?T.top:c[d.height]-(T.bottom??0)-S)-(c.scroll.top??0),x=k?f.top:0,K={top:Math.max(u.top+x,(C?.offsetTop??u.top)+x),bottom:Math.min(u.top+u.height+x,(C?.offsetTop??0)+(C?.height??0))},"top"!==L?Math.max(0,K.bottom-N-((r.top??0)+(r.bottom??0)+i)):Math.max(0,N+S-K.top-((r.top??0)+(r.bottom??0)+i)));w&&w<$&&($=w),n.height=Math.min(n.height,$),z=h(R,(O=g(t,u,n,M,H,y,f,b,E,P,c))[R],n[F],u,c,i,f),O[R]+=z;let W={},V=t[R]-O[R]-r[s[R]],U=V+.5*t[F],j=E/2+P,q="left"===s[R]?(r.left??0)+(r.right??0):(r.top??0)+(r.bottom??0),G=n[F]-q-E/2-P,J=t[R]+E/2-(O[R]+r[s[R]]),Y=t[R]+t[F]-E/2-(O[R]+r[s[R]]),X=(0,l.qE)(U,J,Y);W[R]=(0,l.qE)(X,j,G),({placement:A,crossPlacement:I}=M),E?V=W[R]:"right"===I?V+=t[F]:"center"===I&&(V+=t[F]/2);let Z="left"===A||"top"===A?n[D]:0,Q={x:"top"===A||"bottom"===A?V:Z,y:"left"===A||"right"===A?V:Z};return{position:O,maxHeight:$,arrowOffsetLeft:W.left,arrowOffsetTop:W.top,placement:A,triggerAnchorPoint:Q}}(r,R,F,A,f,P,I,O,n,C,T,!!D&&"static"!==D,S,L,N,(0,o.sD)(k,K),x)}({placement:(e=N,"rtl"===n?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")),overlayNode:u.current,targetNode:i.current,scrollNode:f.current||u.current,padding:x,shouldFlip:K,boundaryElement:M,offset:D,crossOffset:R,maxHeight:O,arrowSize:r??(c?.current?y(c.current,!0).width:0),arrowBoundaryOffset:H});if(!k.position)return;P.style.top="",P.style.bottom="",P.style.left="",P.style.right="",Object.keys(k.position).forEach(e=>P.style[e]=k.position[e]+"px"),P.style.maxHeight=null!=k.maxHeight?k.maxHeight+"px":"";let C=(0,o.bq)();if(t&&C&&f.current){let e=C.getBoundingClientRect(),n=f.current.getBoundingClientRect(),r=e[t.type]-n[t.type];f.current.scrollTop+=r-t.offset}_(k)},z);(0,k.N)(W,z),t=W,(0,k.N)(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t]),(0,T.w)({ref:u,onResize:W}),(0,T.w)({ref:i,onResize:W});let V=(0,S.useRef)(!1);(0,k.N)(()=>{let e,t=()=>{V.current=!0,clearTimeout(e),e=setTimeout(()=>{V.current=!1},500),W()},n=()=>{V.current&&t()};return L?.addEventListener("resize",t),L?.addEventListener("scroll",n),()=>{L?.removeEventListener("resize",t),L?.removeEventListener("scroll",n)}},[W]);let U=(0,S.useCallback)(()=>{V.current||I?.()},[I,V]);return(0,P.o)({triggerRef:i,isOpen:A,onClose:I&&U}),{overlayProps:{style:{position:B?"absolute":"fixed",top:B?void 0:0,left:B?void 0:0,zIndex:1e5,...B?.position,maxHeight:B?.maxHeight??"100vh"}},placement:B?.placement??null,triggerAnchorPoint:B?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:B?.arrowOffsetLeft,top:B?.arrowOffsetTop}},updatePosition:W}}({...D,targetRef:n,overlayRef:i,isOpen:t.isOpen,onClose:c&&!R?t.close:null});return(0,K.H)({isDisabled:c||!t.isOpen}),(0,S.useEffect)(()=>{if(t.isOpen&&i.current)if(c)return(0,r.O)(u?.current??i.current);else return(0,r.h)([u?.current??i.current],{shouldUseInert:!0})},[c,t.isOpen,i,u]),{popoverProps:(0,N.v)(F,I),arrowProps:O,underlayProps:A,placement:H,triggerAnchorPoint:B}}},10296(e,t,n){let r;n.d(t,{H:()=>h});var i=n(23977),o=n(34122),l=n(28059),s=n(21317),a=n(93523),u=n(43121),c=n(29226),d=n(99597);let f="u">typeof document&&window.visualViewport,p=0;function h(e={}){let{isDisabled:t}=e;(0,c.N)(()=>{if(!t){let e,t,n,c,f,h,y,b;return 1==++p&&(r=(0,a.un)()?(t=m(document.documentElement,"overflow","hidden"),n=!1,c=document.createElement("style"),(f=(0,l.m)())&&(c.nonce=f),c.textContent=`
8
- @layer {
9
- * {
10
- overscroll-behavior: contain;
11
- }
12
- }`.trim(),document.head.prepend(c),h=HTMLElement.prototype.focus,HTMLElement.prototype.focus=function(e){let t=(0,o.bq)(),n=null!=t&&(0,d.o)(t);h.call(this,{...e,preventScroll:!0}),e&&e.preventScroll||v(this,n)},y=(0,i.c)(g(document,"touchstart",t=>{let r=(0,o.wt)(t);e=(0,u.o)(r)?r:(0,s.m)(r,!0),n=!1;let i=r.ownerDocument.defaultView.getSelection();i&&!i.isCollapsed&&i.containsNode(r,!0)&&(n=!0),t.composedPath().some(e=>e instanceof HTMLInputElement&&"range"===e.type)&&(n=!0),"selectionStart"in r&&"selectionEnd"in r&&r.selectionStart<r.selectionEnd&&r.ownerDocument.activeElement===r&&(n=!0)},{passive:!1,capture:!0}),g(document,"touchmove",t=>{if(2!==t.touches.length&&!n){if(!e||e===document.documentElement||e===document.body)return void t.preventDefault();e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&t.preventDefault()}},{passive:!1,capture:!0}),g(document,"blur",e=>{let t=(0,o.wt)(e),n=e.relatedTarget;if(n&&(0,d.o)(n))n.focus({preventScroll:!0}),v(n,(0,d.o)(t));else if(!n){let e=t.parentElement?.closest("[tabindex]");e?.focus({preventScroll:!0})}},!0)),()=>{t(),y(),c.remove(),HTMLElement.prototype.focus=h}):(b=window.innerWidth-document.documentElement.clientWidth,(0,i.c)(b>0&&("scrollbarGutter"in document.documentElement.style?m(document.documentElement,"scrollbarGutter","stable"):m(document.documentElement,"paddingRight",`${b}px`)),m(document.documentElement,"overflow","hidden")))),()=>{0==--p&&r()}}},[t])}function m(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function g(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function v(e,t){t||!f?y(e):f.addEventListener("resize",()=>y(e),{once:!0})}function y(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=(0,s.m)(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect(),r=n.getBoundingClientRect();if(r.top<t.top||r.bottom>t.top+n.clientHeight){let n=t.bottom;f&&(n=Math.min(n,f.offsetTop+f.height));let i=r.top-t.top-((n-t.top)/2-r.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+i)),behavior:"smooth"})}}n=e.parentElement}}},63492(e,t,n){n.d(t,{E:()=>c});var r=n(59878),i=n(28052),o=n(14612),l=n(66030),s=n(19264),a=n(14041),u=n(73858);function c(e){let{value:t=0,minValue:n=0,maxValue:c=100,valueLabel:d,isIndeterminate:f,formatOptions:p={style:"percent"}}=e,h=(0,r.$)(e,{labelable:!0}),{labelProps:m,fieldProps:g}=(0,o.M)({...e,labelElementType:"span"}),v=((t=(0,u.qE)(t,n,c))-n)/(c-n),y=function(e={}){let{locale:t}=(0,l.Y)();return(0,a.useMemo)(()=>new(0,s.K)(t,e),[t,e])}(p);if(!f&&!d){let e="percent"===p.style?v:t;d=y.format(e)}return{progressBarProps:(0,i.v)(h,{...g,"aria-valuenow":f?void 0:t,"aria-valuemin":n,"aria-valuemax":c,"aria-valuetext":f?void 0:d,role:"progressbar"}),labelProps:m}}},20955(e,t,n){n.d(t,{Q:()=>g});var r=n(59878),i=n(34122),o=n(28052),l=n(64306),s=n(73817),a=n(75230),u=n(91821),c=n(14041),d=n(59155),f=n(73465),p=n(23977),h={};h={"ar-AE":{"Clear search":"مسح البحث"},"bg-BG":{"Clear search":"Изчистване на търсене"},"cs-CZ":{"Clear search":"Vymazat hled\xe1n\xed"},"da-DK":{"Clear search":"Ryd s\xf8gning"},"de-DE":{"Clear search":"Suche zur\xfccksetzen"},"el-GR":{"Clear search":"Απαλοιφή αναζήτησης"},"en-US":{"Clear search":"Clear search"},"es-ES":{"Clear search":"Borrar b\xfasqueda"},"et-EE":{"Clear search":"T\xfchjenda otsing"},"fi-FI":{"Clear search":"Tyhjenn\xe4 haku"},"fr-FR":{"Clear search":"Effacer la recherche"},"he-IL":{"Clear search":"נקה חיפוש"},"hr-HR":{"Clear search":"Obriši pretragu"},"hu-HU":{"Clear search":"Keres\xe9s t\xf6rl\xe9se"},"it-IT":{"Clear search":"Cancella ricerca"},"ja-JP":{"Clear search":"検索をクリア"},"ko-KR":{"Clear search":"검색 지우기"},"lt-LT":{"Clear search":"Išvalyti iešką"},"lv-LV":{"Clear search":"Notīrīt meklēšanu"},"nb-NO":{"Clear search":"T\xf8m s\xf8k"},"nl-NL":{"Clear search":"Zoekactie wissen"},"pl-PL":{"Clear search":"Wyczyść zawartość wyszukiwania"},"pt-BR":{"Clear search":"Limpar pesquisa"},"pt-PT":{"Clear search":"Limpar pesquisa"},"ro-RO":{"Clear search":"Ştergeţi căutarea"},"ru-RU":{"Clear search":"Очистить поиск"},"sk-SK":{"Clear search":"Vymazať vyhľad\xe1vanie"},"sl-SI":{"Clear search":"Počisti iskanje"},"sr-SP":{"Clear search":"Obriši pretragu"},"sv-SE":{"Clear search":"Rensa s\xf6kning"},"tr-TR":{"Clear search":"Aramayı temizle"},"uk-UA":{"Clear search":"Очистити пошук"},"zh-CN":{"Clear search":"清除搜索"},"zh-TW":{"Clear search":"清除搜尋條件"}};var m=n(44018);function g(e,t,n){var g;let v=(0,m.o)((g=h)&&g.__esModule?g.default:g,"@react-aria/searchfield"),{isDisabled:y,isReadOnly:b,onSubmit:w,onClear:E,type:P="search"}=e,{labelProps:k,inputProps:C,descriptionProps:T,errorMessageProps:S,...L}=function(e,t){let{inputElementType:n="input",isDisabled:p=!1,isRequired:h=!1,isReadOnly:m=!1,type:g="text",validationBehavior:v="aria"}=e,[y,b]=(0,d.P)(e.value,e.defaultValue||"",e.onChange),{focusableProps:w}=(0,s.Wc)(e,t),E=(0,f.KZ)({...e,value:y}),{isInvalid:P,validationErrors:k,validationDetails:C}=E.displayValidation,{labelProps:T,fieldProps:S,descriptionProps:L,errorMessageProps:N}=(0,l.M)({...e,isInvalid:P,errorMessage:e.errorMessage||k}),x=(0,r.$)(e,{labelable:!0}),K={type:g,pattern:e.pattern},[M]=(0,c.useState)(y);return(0,a.F)(t,e.defaultValue??M,b),(0,u.X)(e,E,t),{labelProps:T,inputProps:(0,o.v)(x,"input"===n?K:void 0,{disabled:p,readOnly:m,required:h&&"native"===v,"aria-required":h&&"aria"===v||void 0,"aria-invalid":P||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:y,onChange:e=>b((0,i.wt)(e).value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,form:e.form,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(c.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...w,...S}),descriptionProps:L,errorMessageProps:N,isInvalid:P,validationErrors:k,validationDetails:C}}({...e,value:t.value,onChange:t.setValue,onKeyDown:b?e.onKeyDown:(0,p.c)(e=>{let r=e.key;"Enter"===r&&(y||b)&&e.preventDefault(),y||b||("Enter"===r&&w&&(e.preventDefault(),w(t.value)),"Escape"===r&&(""!==t.value||n.current&&""!==n.current.value?(e.preventDefault(),t.setValue(""),E&&E()):e.continuePropagation()))},e.onKeyDown),type:P},n);return{labelProps:k,inputProps:{...C,defaultValue:void 0},clearButtonProps:{"aria-label":v.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:y||b,onPress:()=>{t.setValue(""),E&&E()},onPressStart:()=>{n.current?.focus()}},descriptionProps:T,errorMessageProps:S,...L}}},80572(e,t,n){n.d(t,{K:()=>i});var r=n(23452);class i{constructor(e){this.ref=e}getItemRect(e){let t=this.ref.current;if(!t)return null;let n=null!=e?(0,r.au)(this.ref,e):null;if(!n)return null;let i=t.getBoundingClientRect(),o=n.getBoundingClientRect();return{x:o.left-i.left-t.clientLeft+t.scrollLeft,y:o.top-i.top-t.clientTop+t.scrollTop,width:o.width,height:o.height}}getContentSize(){let e=this.ref.current;return{width:e?.scrollWidth??0,height:e?.scrollHeight??0}}getVisibleRect(){let e=this.ref.current;return{x:e?.scrollLeft??0,y:e?.scrollTop??0,width:e?.clientWidth??0,height:e?.clientHeight??0}}}},33875(e,t,n){n.d(t,{n:()=>o});var r=n(80572),i=n(43121);class o{constructor(...e){if(1===e.length){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||"all",this.orientation=t.orientation||"vertical",this.direction=t.direction,this.layout=t.layout||"stack",this.layoutDelegate=t.layoutDelegate||new(0,r.K)(t.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new(0,r.K)(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(e){return"all"===this.disabledBehavior&&(e.props?.isDisabled||this.disabledKeys.has(e.key))}findNextNonDisabled(e,t){let n=e;for(;null!=n;){let e=this.collection.getItem(n);if(e?.type==="item"&&!this.isDisabled(e))return n;n=t(n)}return null}getNextKey(e){let t=e;return t=this.collection.getKeyAfter(t),this.findNextNonDisabled(t,e=>this.collection.getKeyAfter(e))}getPreviousKey(e){let t=e;return t=this.collection.getKeyBefore(t),this.findNextNonDisabled(t,e=>this.collection.getKeyBefore(e))}findKey(e,t,n){let r=e,i=this.layoutDelegate.getItemRect(r);if(!i||null==r)return null;let o=i;do{if(null==(r=t(r)))break;i=this.layoutDelegate.getItemRect(r)}while(i&&n(o,i)&&null!=r);return r}isSameRow(e,t){return e.y===t.y||e.x!==t.x}isSameColumn(e,t){return e.x===t.x||e.y!==t.y}getKeyBelow(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getNextKey(e),this.isSameRow):this.getNextKey(e)}getKeyAbove(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getPreviousKey(e),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,t){return t?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){let t="ltr"===this.direction?"getKeyRightOf":"getKeyLeftOf";if(this.layoutDelegate[t])return e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[t](e));if("grid"===this.layout)if("vertical"===this.orientation)return this.getNextColumn(e,"rtl"===this.direction);else return this.findKey(e,e=>this.getNextColumn(e,"rtl"===this.direction),this.isSameColumn);return"horizontal"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):null}getKeyLeftOf(e){let t="ltr"===this.direction?"getKeyLeftOf":"getKeyRightOf";if(this.layoutDelegate[t])return e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[t](e));if("grid"===this.layout)if("vertical"===this.orientation)return this.getNextColumn(e,"ltr"===this.direction);else return this.findKey(e,e=>this.getNextColumn(e,"ltr"===this.direction),this.isSameColumn);return"horizontal"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyAfter(e))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyBefore(e))}getKeyPageAbove(e){let t=this.ref.current,n=this.layoutDelegate.getItemRect(e);if(!n)return null;if(t&&!(0,i.o)(t))return this.getFirstKey();let r=e;if("horizontal"===this.orientation){let e=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>e&&null!=r;)n=null==(r=this.getKeyAbove(r))?null:this.layoutDelegate.getItemRect(r)}else{let e=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>e&&null!=r;)n=null==(r=this.getKeyAbove(r))?null:this.layoutDelegate.getItemRect(r)}return r??this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,n=this.layoutDelegate.getItemRect(e);if(!n)return null;if(t&&!(0,i.o)(t))return this.getLastKey();let r=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,n.x-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<e&&null!=r;)n=null==(r=this.getKeyBelow(r))?null:this.layoutDelegate.getItemRect(r)}else{let e=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<e&&null!=r;)n=null==(r=this.getKeyBelow(r))?null:this.layoutDelegate.getItemRect(r)}return r??this.getLastKey()}getKeyForSearch(e,t){if(!this.collator)return null;let n=this.collection,r=t||this.getFirstKey();for(;null!=r;){let t=n.getItem(r);if(!t)break;let i=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(i,e))return r;r=this.getNextKey(r)}return null}}},16115(e,t,n){n.d(t,{y:()=>k});var r=n(26157),i=n(61988),o=n(78484),l=n(88563),s=n(34122),a=n(56059),u=n(81901),c=n(23452),d=n(99597),f=n(68509),p=n(28052),h=n(25435),m=n(55273),g=n(66030),v=n(90970),y=n(96930),b=n(29226),w=n(14041);function E(e,t){let n=(0,w.useRef)(!0),r=(0,w.useRef)(null);(0,b.N)(()=>(n.current=!0,()=>{n.current=!1}),[]),(0,b.N)(()=>{n.current?n.current=!1:(!r.current||t.some((e,t)=>!Object.is(e,r[t])))&&e(),r.current=t},t)}var P=n(43144);function k(e){let t,{selectionManager:n,keyboardDelegate:b,ref:k,autoFocus:C=!1,shouldFocusWrap:T=!1,disallowEmptySelection:S=!1,disallowSelectAll:L=!1,escapeKeyBehavior:N="clearSelection",selectOnFocus:x="replace"===n.selectionBehavior,disallowTypeAhead:K=!1,shouldUseVirtualFocus:M,allowsTabNavigation:D=!1,scrollRef:R=k,linkBehavior:F="action"}=e,{direction:A}=(0,g.Y)(),I=(0,v.rd)(),O=(0,w.useRef)({top:0,left:0});(0,m._)(R,"scroll",()=>{O.current={top:R.current?.scrollTop??0,left:R.current?.scrollLeft??0}});let H=(0,w.useRef)(!1);(0,m._)(k,r.C,M?e=>{let{detail:t}=e;e.stopPropagation(),n.setFocused(!0),t?.focusStrategy==="first"&&(H.current=!0)}:void 0),E(()=>{if(H.current){let e=b.getFirstKey?.()??null;if(null==e){let e=(0,s.bq)();(0,i.vX)(k.current),(0,i.Ig)(e,null),n.collection.size>0&&(H.current=!1)}else n.setFocusedKey(e),H.current=!1}},[n.collection]),E(()=>{n.collection.size>0&&(H.current=!1)},[n.focusedKey]),(0,m._)(k,r.m,M?e=>{e.stopPropagation(),n.setFocused(!1),e.detail?.clearFocusKey&&n.setFocusedKey(null)}:void 0);let B=(0,w.useRef)(C),_=(0,w.useRef)(!1);(0,w.useEffect)(()=>{if(B.current){let e=null;"first"===C&&(e=b.getFirstKey?.()??null),"last"===C&&(e=b.getLastKey?.()??null);let t=n.selectedKeys;if(t.size){for(let r of t)if(n.canSelectItem(r)){e=r;break}}n.setFocused(!0),n.setFocusedKey(e),null==e&&!M&&k.current&&(0,o.l)(k.current),n.collection.size>0&&(B.current=!1,_.current=!0)}});let z=(0,w.useRef)(n.focusedKey),$=(0,w.useRef)(null);(0,w.useEffect)(()=>{if(n.isFocused&&null!=n.focusedKey&&(n.focusedKey!==z.current||_.current)&&R.current&&k.current){let e=(0,u.ME)(),t=(0,c.au)(k,n.focusedKey);if(!(t instanceof HTMLElement))return;("keyboard"===e||_.current)&&($.current&&cancelAnimationFrame($.current),$.current=requestAnimationFrame(()=>{R.current&&((0,h.R)(R.current,t),"virtual"!==e&&(0,h.o)(t,{containingElement:k.current}))}))}!M&&n.isFocused&&null==n.focusedKey&&null!=z.current&&k.current&&(0,o.l)(k.current),z.current=n.focusedKey,_.current=!1}),(0,w.useEffect)(()=>()=>{$.current&&cancelAnimationFrame($.current)},[]),(0,m._)(k,"react-aria-focus-scope-restore",e=>{e.preventDefault(),n.setFocused(!0)});let W={onKeyDown:e=>{if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!k.current||!(0,s.sD)(k.current,(0,s.wt)(e)))return;let t=(t,r)=>{if(null!=t){if(n.isLink(t)&&"selection"===F&&x&&!(0,c.N9)(e)){(0,P.flushSync)(()=>{n.setFocusedKey(t,r)});let i=(0,c.au)(k,t),o=n.getItemProps(t);i&&I.open(i,e,o.href,o.routerOptions);return}n.setFocusedKey(t,r),n.isLink(t)&&"override"===F||(e.shiftKey&&"multiple"===n.selectionMode?n.extendSelection(t):x&&!(0,c.N9)(e)&&n.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(b.getKeyBelow){let r=null!=n.focusedKey?b.getKeyBelow?.(n.focusedKey):b.getFirstKey?.();null==r&&T&&(r=b.getFirstKey?.(n.focusedKey)),null!=r&&(e.preventDefault(),t(r))}break;case"ArrowUp":if(b.getKeyAbove){let r=null!=n.focusedKey?b.getKeyAbove?.(n.focusedKey):b.getLastKey?.();null==r&&T&&(r=b.getLastKey?.(n.focusedKey)),null!=r&&(e.preventDefault(),t(r))}break;case"ArrowLeft":if(b.getKeyLeftOf){let r=null!=n.focusedKey?b.getKeyLeftOf?.(n.focusedKey):b.getFirstKey?.();null==r&&T&&(r="rtl"===A?b.getFirstKey?.(n.focusedKey):b.getLastKey?.(n.focusedKey)),null!=r&&(e.preventDefault(),t(r,"rtl"===A?"first":"last"))}break;case"ArrowRight":if(b.getKeyRightOf){let r=null!=n.focusedKey?b.getKeyRightOf?.(n.focusedKey):b.getFirstKey?.();null==r&&T&&(r="rtl"===A?b.getLastKey?.(n.focusedKey):b.getFirstKey?.(n.focusedKey)),null!=r&&(e.preventDefault(),t(r,"rtl"===A?"last":"first"))}break;case"Home":if(b.getFirstKey){if(null===n.focusedKey&&e.shiftKey)return;e.preventDefault();let t=b.getFirstKey(n.focusedKey,(0,d.B)(e));n.setFocusedKey(t),null!=t&&((0,d.B)(e)&&e.shiftKey&&"multiple"===n.selectionMode?n.extendSelection(t):x&&n.replaceSelection(t))}break;case"End":if(b.getLastKey){if(null===n.focusedKey&&e.shiftKey)return;e.preventDefault();let t=b.getLastKey(n.focusedKey,(0,d.B)(e));n.setFocusedKey(t),null!=t&&((0,d.B)(e)&&e.shiftKey&&"multiple"===n.selectionMode?n.extendSelection(t):x&&n.replaceSelection(t))}break;case"PageDown":if(b.getKeyPageBelow&&null!=n.focusedKey){let r=b.getKeyPageBelow(n.focusedKey);null!=r&&(e.preventDefault(),t(r))}break;case"PageUp":if(b.getKeyPageAbove&&null!=n.focusedKey){let r=b.getKeyPageAbove(n.focusedKey);null!=r&&(e.preventDefault(),t(r))}break;case"a":(0,d.B)(e)&&"multiple"===n.selectionMode&&!0!==L&&(e.preventDefault(),n.selectAll());break;case"Escape":"clearSelection"!==N||S||0===n.selectedKeys.size||(e.stopPropagation(),e.preventDefault(),n.clearSelection());break;case"Tab":if(!D)if(e.shiftKey)k.current.focus();else{let e,t,n=(0,a.N$)(k.current,{tabbable:!0});do(t=n.lastChild())&&(e=t);while(t);let r=(0,s.bq)();e&&(!(0,s.ae)(e)||r&&!(0,f.A)(r))&&(0,l.e)(e)}}},onFocus:e=>{if(n.isFocused){(0,s.sD)(e.currentTarget,(0,s.wt)(e))||n.setFocused(!1);return}if((0,s.sD)(e.currentTarget,(0,s.wt)(e))){if(n.setFocused(!0),null==n.focusedKey){let t=e=>{null!=e&&(n.setFocusedKey(e),x&&!n.isSelected(e)&&n.replaceSelection(e))},r=e.relatedTarget;r&&e.currentTarget.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING?t(n.lastSelectedKey??b.getLastKey?.()):t(n.firstSelectedKey??b.getFirstKey?.())}else R.current&&(R.current.scrollTop=O.current.top,R.current.scrollLeft=O.current.left);if(null!=n.focusedKey&&R.current){let e=(0,c.au)(k,n.focusedKey);e instanceof HTMLElement&&((0,s.ae)(e)||M||(0,l.e)(e),"keyboard"===(0,u.ME)()&&(0,h.o)(e,{containingElement:k.current}))}}},onBlur:e=>{(0,s.sD)(e.currentTarget,e.relatedTarget)||n.setFocused(!1)},onMouseDown(e){R.current===(0,s.wt)(e)&&e.preventDefault()}},{typeSelectProps:V}=(0,y.I)({keyboardDelegate:b,selectionManager:n});K||(W=(0,p.v)(V,W)),M||(t=null==n.focusedKey?0:-1);let U=(0,c.j5)(n.collection);return{collectionProps:(0,p.v)(W,{tabIndex:t,"data-collection":U})}}},95783(e,t,n){n.d(t,{p:()=>m});var r=n(23977),i=n(78484),o=n(34122),l=n(23452),s=n(99597),a=n(28052),u=n(61988),c=n(90970),d=n(99278),f=n(47499),p=n(98458),h=n(14041);function m(e){let{id:t,selectionManager:n,key:m,ref:g,shouldSelectOnPressUp:v,shouldUseVirtualFocus:y,focus:b,isDisabled:w,onAction:E,allowsDifferentPressOrigin:P,linkBehavior:k="action"}=e,C=(0,c.rd)();t=(0,f.Bi)(t);let T=e=>{if("keyboard"===e.pointerType&&(0,l.N9)(e))n.toggleSelection(m);else{if("none"===n.selectionMode)return;if(n.isLink(m)){if("selection"===k&&g.current){let t=n.getItemProps(m);C.open(g.current,e,t.href,t.routerOptions),n.setSelectedKeys(n.selectedKeys);return}else if("override"===k||"none"===k)return}"single"===n.selectionMode?n.isSelected(m)&&!n.disallowEmptySelection?n.toggleSelection(m):n.replaceSelection(m):e&&e.shiftKey?n.extendSelection(m):"toggle"===n.selectionBehavior||e&&((0,s.B)(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?n.toggleSelection(m):n.replaceSelection(m)}};(0,h.useEffect)(()=>{m===n.focusedKey&&n.isFocused&&(y?(0,u.vX)(g.current):b?b():(0,o.bq)()!==g.current&&g.current&&(0,i.l)(g.current))},[g,m,n.focusedKey,n.childFocusStrategy,n.isFocused,y]),w=w||n.isDisabled(m);let S={};y||w?w&&(S.onMouseDown=e=>{e.preventDefault()}):S={tabIndex:m===n.focusedKey?0:-1,onFocus(e){(0,o.wt)(e)===g.current&&n.setFocusedKey(m)}},(0,h.useEffect)(()=>{w&&n.focusedKey===m&&n.setFocusedKey(null)},[n,w,m]);let L=n.isLink(m)&&"override"===k,N=E&&"action"===e.UNSTABLE_itemBehavior,x=n.isLink(m)&&"selection"!==k&&"none"!==k,K=!w&&n.canSelectItem(m)&&!L&&!N,M=(E||x)&&!w,D=M&&("replace"===n.selectionBehavior?!K:!K||n.isEmpty),R=M&&K&&"replace"===n.selectionBehavior,F=D||R,A=(0,h.useRef)(null),I=F&&K,O=(0,h.useRef)(!1),H=(0,h.useRef)(!1),B=n.getItemProps(m),_=e=>{E&&(E(),g.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),x&&g.current&&C.open(g.current,e,B.href,B.routerOptions)},z={ref:g};if(v?(z.onPressStart=e=>{A.current=e.pointerType,O.current=I,"keyboard"!==e.pointerType||F&&" "!==e.key||T(e)},P?(z.onPressUp=D?void 0:e=>{"mouse"===e.pointerType&&K&&T(e)},z.onPress=D?_:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&K&&T(e)}):z.onPress=e=>{D||R&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||"Enter"===e.key)&&_(e):"keyboard"!==e.pointerType&&K&&T(e)}):(z.onPressStart=e=>{A.current=e.pointerType,O.current=I,H.current=D,!K||("mouse"!==e.pointerType||D)&&("keyboard"!==e.pointerType||M&&" "!==e.key)||T(e)},z.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"keyboard"===e.pointerType&&F&&"Enter"===e.key||"mouse"===e.pointerType&&H.current)&&(F?_(e):K&&T(e))}),S["data-collection"]=(0,l.EG)(n.collection),S["data-key"]=m,z.preventFocusOnPress=y,y&&(z=(0,a.v)(z,{onPressStart(e){"touch"!==e.pointerType&&(n.setFocused(!0),n.setFocusedKey(m))},onPress(e){"touch"===e.pointerType&&(n.setFocused(!0),n.setFocusedKey(m))}})),B)for(let e of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])B[e]&&(z[e]=(0,r.c)(z[e],B[e]));let{pressProps:$,isPressed:W}=(0,d.d)(z),V=R?e=>{"mouse"===A.current&&(e.stopPropagation(),e.preventDefault(),_(e))}:void 0,{longPressProps:U}=(0,p.H)({isDisabled:!I,onLongPress(e){"touch"===e.pointerType&&(T(e),n.setSelectionBehavior("toggle"))}}),j="none"!==k&&n.isLink(m)?e=>{c.Fe.isOpening||e.preventDefault()}:void 0;return{itemProps:(0,a.v)(S,K||D||y&&!w?$:{},I?U:{},{onDoubleClick:V,onDragStartCapture:e=>{"touch"===A.current&&O.current&&e.preventDefault()},onClick:j,id:t},y?{onMouseDown:e=>e.preventDefault()}:void 0),isPressed:W,isSelected:n.isSelected(m),isFocused:n.isFocused&&n.focusedKey===m,isDisabled:w,allowsSelection:K,hasAction:F}}},36794(e,t,n){n.d(t,{y:()=>s});var r=n(16115),i=n(33875),o=n(25678),l=n(14041);function s(e){let{selectionManager:t,collection:n,disabledKeys:s,ref:a,keyboardDelegate:u,layoutDelegate:c,orientation:d}=e,f=(0,o.Q)({usage:"search",sensitivity:"base"}),p=t.disabledBehavior,h=(0,l.useMemo)(()=>u||new(0,i.n)({collection:n,disabledKeys:s,disabledBehavior:p,ref:a,collator:f,layoutDelegate:c,orientation:d}),[u,c,n,s,a,f,p,d]),{collectionProps:m}=(0,r.y)({...e,ref:a,selectionManager:t,keyboardDelegate:h});return{listProps:m}}},96930(e,t,n){n.d(t,{I:()=>o});var r=n(34122),i=n(14041);function o(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:o}=e,l=(0,i.useRef)({search:"",timeout:void 0}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var i;let s=1!==(i=e.key).length&&/^[A-Z]/i.test(i)?"":i;if(s&&!e.ctrlKey&&!e.metaKey&&(0,r.sD)(e.currentTarget,(0,r.wt)(e))&&(0!==l.search.length||" "!==s)){if(" "===s&&l.search.trim().length>0&&(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),l.search+=s,null!=t.getKeyForSearch){let e=t.getKeyForSearch(l.search,n.focusedKey);null==e&&(e=t.getKeyForSearch(l.search)),null!=e&&(n.setFocusedKey(e),o&&o(e))}clearTimeout(l.timeout),l.timeout=setTimeout(()=>{l.search=""},1e3)}}:void 0}}}},23452(e,t,n){n.d(t,{EG:()=>u,N9:()=>o,au:()=>l,j5:()=>a});var r=n(93523),i=n(47499);function o(e){return(0,r.lg)()?e.altKey:e.ctrlKey}function l(e,t){let n=`[data-key="${CSS.escape(String(t))}"]`,r=e.current?.dataset.collection;return r&&(n=`[data-collection="${CSS.escape(r)}"]${n}`),e.current?.querySelector(n)}let s=new WeakMap;function a(e){let t=(0,i.Bi)();return s.set(e,t),t}function u(e){return s.get(e)}},83146(e,t,n){n.d(t,{Cc:()=>a,wR:()=>f});var r=n(14041);let i={prefix:String(Math.round(1e10*Math.random())),current:0},o=r.createContext(i),l=r.createContext(!1),s=("u">typeof window&&window.document&&window.document.createElement,new WeakMap),a="function"==typeof r.useId?function(e){let t=r.useId(),[n]=(0,r.useState)(f()),o=n?"react-aria":`react-aria${i.prefix}`;return e||`${o}-${t}`}:function(e){let t=(0,r.useContext)(o),n=function(e=!1){let t=(0,r.useContext)(o),n=(0,r.useRef)(null);if(null===n.current&&!e){let e=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(e){let n=s.get(e);null==n?s.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,s.delete(e))}n.current=++t.current}return n.current}(!!e),i=`react-aria${t.prefix}`;return e||`${i}-${n}`};function u(){return!1}function c(){return!0}function d(e){return()=>{}}function f(){return"function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(d,u,c):(0,r.useContext)(l)}},63065(e,t,n){n.d(t,{V:()=>u});var r=n(59878),i=n(37518),o=n(28052),l=n(73817),s=n(90970),a=n(95783);function u(e,t,n){let{key:u,isDisabled:c,shouldSelectOnPressUp:d}=e,{selectionManager:f,selectedKey:p}=t,h=u===p,m=c||t.isDisabled||t.selectionManager.isDisabled(u),g=t.collection.getItem(u),{itemProps:v,isPressed:y}=(0,a.p)({selectionManager:f,key:u,ref:n,isDisabled:m,shouldSelectOnPressUp:d??g?.props.href!=null,linkBehavior:"selection"}),b=(0,i.$)(t,u,"tab"),w=(0,i.$)(t,u,"tabpanel"),{tabIndex:E}=v,P=(0,r.$)(g?.props,{labelable:!0});delete P.id;let k=(0,s._h)(g?.props),{focusableProps:C}=(0,l.Wc)({...g?.props,isDisabled:m},n);return{tabProps:(0,o.v)(P,C,k,v,{id:b,"aria-selected":h,"aria-disabled":m||void 0,"aria-controls":h?w:void 0,tabIndex:m?void 0:E,role:"tab"}),isSelected:h,isDisabled:m,isPressed:y}}},16525(e,t,n){n.d(t,{$:()=>d});var r=n(28052),i=n(37518);class o{constructor(e,t,n,r=new Set){this.collection=e,this.flipDirection="rtl"===t&&"horizontal"===n,this.disabledKeys=r,this.tabDirection="horizontal"===n}getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){return this.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled}getFirstKey(){let e=this.collection.getFirstKey();return null!=e&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return null!=e&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do null==(t=this.collection.getKeyAfter(t))&&(t=this.collection.getFirstKey());while(null!=t&&this.isDisabled(t));return t}getPreviousKey(e){let t=e;do null==(t=this.collection.getKeyBefore(t))&&(t=this.collection.getLastKey());while(null!=t&&this.isDisabled(t));return t}}var l=n(47499),s=n(5554),a=n(66030),u=n(16115),c=n(14041);function d(e,t,n){let{orientation:d="horizontal",keyboardActivation:f="automatic"}=e,{collection:p,selectionManager:h,disabledKeys:m}=t,{direction:g}=(0,a.Y)(),v=(0,c.useMemo)(()=>new o(p,g,d,m),[p,m,d,g]),{collectionProps:y}=(0,u.y)({ref:n,selectionManager:h,keyboardDelegate:v,selectOnFocus:"automatic"===f,disallowEmptySelection:!0,scrollRef:n,linkBehavior:"selection"}),b=(0,l.Bi)();i.H.set(t,b);let w=(0,s.b)({...e,id:b});return{tabListProps:{...(0,r.v)(y,w),role:"tablist","aria-orientation":d,tabIndex:void 0}}}},37385(e,t,n){n.d(t,{J:()=>s});var r=n(37518),i=n(28052),o=n(46713),l=n(5554);function s(e,t,n){let s=(0,o.$)(n)?void 0:0,a=(0,r.$)(t,e.id??t?.selectedKey,"tabpanel"),u=(0,l.b)({...e,id:a,"aria-labelledby":(0,r.$)(t,t?.selectedKey,"tab")});return{tabPanelProps:(0,i.v)(u,{tabIndex:s,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}},37518(e,t,n){n.d(t,{$:()=>i,H:()=>r});let r=new WeakMap;function i(e,t,n){if(!e)return"";"string"==typeof t&&(t=t.replace(/\s+/g,""));let i=r.get(e);return`${i}-${n}-${t}`}},56798(e,t,n){n.d(t,{A:()=>r});var r={};r={"ar-AE":{close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{625}\u{634}\u{639}\u{627}\u{631}`,other:()=>`${t.number(e.count)} \u{625}\u{634}\u{639}\u{627}\u{631}\u{627}\u{62A}`})}.`},"bg-BG":{close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{438}\u{437}\u{432}\u{435}\u{441}\u{442}\u{438}\u{435}`,other:()=>`${t.number(e.count)} \u{438}\u{437}\u{432}\u{435}\u{441}\u{442}\u{438}\u{44F}`})}.`},"cs-CZ":{close:"Zavř\xedt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ozn\xe1men\xed`,other:()=>`${t.number(e.count)} ozn\xe1men\xed`})}.`},"da-DK":{close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`},"de-DE":{close:"Schlie\xdfen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`},"el-GR":{close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{3B5}\u{3B9}\u{3B4}\u{3BF}\u{3C0}\u{3BF}\u{3AF}\u{3B7}\u{3C3}\u{3B7}`,other:()=>`${t.number(e.count)} \u{3B5}\u{3B9}\u{3B4}\u{3BF}\u{3C0}\u{3BF}\u{3B9}\u{3AE}\u{3C3}\u{3B5}\u{3B9}\u{3C2}`})}.`},"en-US":{close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`},"es-ES":{close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificaci\xf3n`,other:()=>`${t.number(e.count)} notificaciones`})}.`},"et-EE":{close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`},"fi-FI":{close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`},"fr-FR":{close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`},"he-IL":{close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{5D4}\u{5EA}\u{5E8}\u{5D0}\u{5D4}`,other:()=>`${t.number(e.count)} \u{5D4}\u{5EA}\u{5E8}\u{5D0}\u{5D5}\u{5EA}`})}.`},"hr-HR":{close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`},"hu-HU":{close:"Bez\xe1r\xe1s",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \xe9rtes\xedt\xe9s`,other:()=>`${t.number(e.count)} \xe9rtes\xedt\xe9s`})}.`},"it-IT":{close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`},"ja-JP":{close:"閉じる",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{306E}\u{901A}\u{77E5}`,other:()=>`${t.number(e.count)} \u{500B}\u{306E}\u{901A}\u{77E5}`})}\u{3002}`},"ko-KR":{close:"닫기",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\u{AC1C} \u{C54C}\u{B9BC}`,other:()=>`${t.number(e.count)}\u{AC1C} \u{C54C}\u{B9BC}`})}.`},"lt-LT":{close:"Uždaryti",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} prane\u{161}imas`,other:()=>`${t.number(e.count)} prane\u{161}imai`})}.`},"lv-LV":{close:"Aizvērt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} pazi\u{146}ojums`,other:()=>`${t.number(e.count)} pazi\u{146}ojumi`})}.`},"nb-NO":{close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`},"nl-NL":{close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`},"pl-PL":{close:"Zamknij",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} powiadomienie`,few:()=>`${t.number(e.count)} powiadomienia`,many:()=>`${t.number(e.count)} powiadomie\u{144}`,other:()=>`${t.number(e.count)} powiadomienia`})}.`},"pt-BR":{close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica\xe7\xe3o`,other:()=>`${t.number(e.count)} notifica\xe7\xf5es`})}.`},"pt-PT":{close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica\xe7\xe3o`,other:()=>`${t.number(e.count)} notifica\xe7\xf5es`})}.`},"ro-RO":{close:"\xcenchideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notific\u{103}ri`})}.`},"ru-RU":{close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{443}\u{432}\u{435}\u{434}\u{43E}\u{43C}\u{43B}\u{435}\u{43D}\u{438}\u{435}`,other:()=>`${t.number(e.count)} \u{443}\u{432}\u{435}\u{434}\u{43E}\u{43C}\u{43B}\u{435}\u{43D}\u{438}\u{44F}`})}.`},"sk-SK":{close:"Zatvoriť",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ozn\xe1menie`,few:()=>`${t.number(e.count)} ozn\xe1menia`,other:()=>`${t.number(e.count)} ozn\xe1men\xed`})}.`},"sl-SI":{close:"Zapri",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obvestilo`,two:()=>`${t.number(e.count)} obvestili`,few:()=>`${t.number(e.count)} obvestila`,other:()=>`${t.number(e.count)} obvestil`})}.`},"sr-SP":{close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obave\u{161}tenje`,other:()=>`${t.number(e.count)} obave\u{161}tenja`})}.`},"sv-SE":{close:"St\xe4ng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`},"tr-TR":{close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`},"uk-UA":{close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{441}\u{43F}\u{43E}\u{432}\u{456}\u{449}\u{435}\u{43D}\u{43D}\u{44F}`,other:()=>`${t.number(e.count)} \u{441}\u{43F}\u{43E}\u{432}\u{456}\u{449}\u{435}\u{43D}\u{43D}\u{44F}`})}.`},"zh-CN":{close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{4E2A}\u{901A}\u{77E5}`,other:()=>`${t.number(e.count)} \u{4E2A}\u{901A}\u{77E5}`})}\u{3002}`},"zh-TW":{close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{901A}\u{77E5}`,other:()=>`${t.number(e.count)} \u{500B}\u{901A}\u{77E5}`})}\u{3002}`}}},11630(e,t,n){n.d(t,{d:()=>u});var r=n(59878),i=n(56798),o=n(47499),l=n(29226),s=n(44018),a=n(14041);function u(e,t,n){var u;let{key:c,timer:d,timeout:f}=e.toast;(0,a.useEffect)(()=>{if(null!=d&&null!=f)return d.reset(f),()=>{d.pause()}},[d,f]);let p=(0,o.Bi)(),h=(0,o.X1)(),m=(0,s.o)((u=i.A)&&u.__esModule?u.default:u,"@react-aria/toast"),[g,v]=(0,a.useState)(!1);return(0,l.N)(()=>{v(!0)},[]),{toastProps:{...(0,r.$)(e,{labelable:!0}),role:"alertdialog","aria-modal":"false","aria-labelledby":e["aria-labelledby"]||p,"aria-describedby":e["aria-describedby"]||h,tabIndex:0},contentProps:{role:"alert","aria-atomic":"true","aria-hidden":g?void 0:"true"},titleProps:{id:p},descriptionProps:{id:h},closeButtonProps:{"aria-label":m.format("close"),onPress:()=>t.close(c)}}}},43403(e,t,n){n.d(t,{J:()=>y});var r=n(88563),i=n(34122),o=n(81901),l=n(56798),s=n(28052),a=n(28176),u=n(44031),c=n(29226),d=n(14041),f=n(58139);let p=Symbol.for("react-aria-landmark-manager");function h(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function m(){if("u"<typeof document)return null;let e=document[p];return e&&e.version>=1?e:(document[p]=new g,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[p])}class g{constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=1,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}setupIfNeeded(){this.isListening||(document.addEventListener("keydown",this.f6Handler,{capture:!0}),document.addEventListener("focusin",this.focusinHandler,{capture:!0}),document.addEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!0)}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener("keydown",this.f6Handler,{capture:!0}),document.removeEventListener("focusin",this.focusinHandler,{capture:!0}),document.removeEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!1)}focusLandmark(e,t){this.landmarks.find(t=>t.ref.current===e)?.focus?.(t)}getLandmarksByRole(e){return new Set(this.landmarks.filter(t=>t.role===e))}getLandmarkByRole(e){return this.landmarks.find(t=>t.role===e)}addLandmark(e){if(this.setupIfNeeded(),this.landmarks.find(t=>t.ref===e.ref)||!e.ref.current)return;if(this.landmarks.filter(e=>"main"===e.role).length,0===this.landmarks.length){this.landmarks=[e],this.checkLabels(e.role);return}let t=0,n=this.landmarks.length-1;for(;t<=n;){let r=Math.floor((t+n)/2),i=e.ref.current.compareDocumentPosition(this.landmarks[r].ref.current);i&Node.DOCUMENT_POSITION_PRECEDING||i&Node.DOCUMENT_POSITION_CONTAINS?t=r+1:n=r-1}this.landmarks.splice(t,0,e),this.checkLabels(e.role)}updateLandmark(e){let t=this.landmarks.findIndex(t=>t.ref===e.ref);t>=0&&(this.landmarks[t]={...this.landmarks[t],...e},this.checkLabels(this.landmarks[t].role))}removeLandmark(e){this.landmarks=this.landmarks.filter(t=>t.ref!==e),this.teardownIfNeeded()}checkLabels(e){let t=this.getLandmarksByRole(e);t.size>1&&[...t].filter(e=>!e.label).length}closestLandmark(e){let t=new Map(this.landmarks.map(e=>[e.ref.current,e])),n=e;for(;n&&!t.has(n)&&n!==document.body&&n.parentElement;)n=n.parentElement;return t.get(n)}getNextLandmark(e,{backward:t}){let n=this.closestLandmark(e),r=t?this.landmarks.length-1:0;n&&(r=this.landmarks.indexOf(n)+(t?-1:1));let i=()=>{if(r<0){if(!e.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:!0,cancelable:!0})))return!0;r=this.landmarks.length-1}else if(r>=this.landmarks.length){if(!e.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:!0,cancelable:!0})))return!0;r=0}return!!(r<0)||!!(r>=this.landmarks.length)};if(i())return;let o=r;for(;this.landmarks[r].ref.current?.closest("[aria-hidden=true]");){if(r+=t?-1:1,i())return;if(r===o)break}return this.landmarks[r]}f6Handler(e){"F6"===e.key&&(e.altKey?this.focusMain():this.navigate((0,i.wt)(e),e.shiftKey))&&(e.preventDefault(),e.stopPropagation())}focusMain(){let e=this.getLandmarkByRole("main");return!!e&&!!e.ref.current&&!!e.ref.current.isConnected&&(this.focusLandmark(e.ref.current,"forward"),!0)}navigate(e,t){let n=this.getNextLandmark(e,{backward:t});if(!n)return!1;if(n.lastFocused){let e=n.lastFocused;if((0,i.sD)(document.body,e))return e.focus(),!0}return!!n.ref.current&&!!n.ref.current.isConnected&&(this.focusLandmark(n.ref.current,t?"backward":"forward"),!0)}focusinHandler(e){let t=this.closestLandmark((0,i.wt)(e));t&&t.ref.current!==(0,i.wt)(e)&&this.updateLandmark({ref:t.ref,lastFocused:(0,i.wt)(e)});let n=e.relatedTarget;if(n){let e=this.closestLandmark(n);e&&e.ref.current===n&&e.blur()}}focusoutHandler(e){let t=(0,i.wt)(e),n=e.relatedTarget;if(!n||n===document){let e=this.closestLandmark(t);e&&e.ref.current===t&&e.blur()}}createLandmarkController(){let e=this;return e.refCount++,e.setupIfNeeded(),{navigate(t,n){let r=n?.from||document.activeElement;return e.navigate(r,"backward"===t)},focusNext(t){let n=t?.from||document.activeElement;return e.navigate(n,!1)},focusPrevious(t){let n=t?.from||document.activeElement;return e.navigate(n,!0)},focusMain:()=>e.focusMain(),dispose(){e&&(e.refCount--,e.teardownIfNeeded(),e=null)}}}registerLandmark(e){return this.landmarks.find(t=>t.ref===e.ref)?this.updateLandmark(e):this.addLandmark(e),()=>this.removeLandmark(e.ref)}}var v=n(44018);function y(e,t,n){var p;let g=(0,v.o)((p=l.A)&&p.__esModule?p.default:p,"@react-aria/toast"),{landmarkProps:y}=function(e,t){let{role:n,"aria-label":r,"aria-labelledby":i,focus:o}=e,l=(0,f.useSyncExternalStore)(h,m,m),s=r||i,[a,u]=(0,d.useState)(!1),p=(0,d.useCallback)(()=>{u(!0)},[u]),g=(0,d.useCallback)(()=>{u(!1)},[u]);return(0,c.N)(()=>{if(l)return l.registerLandmark({ref:t,label:s,role:n,focus:o||p,blur:g})},[l,s,t,n,o,p,g]),(0,d.useEffect)(()=>{a&&t.current?.focus()},[a,t]),{landmarkProps:{role:n,tabIndex:a?-1:void 0,"aria-label":r,"aria-labelledby":i}}}({role:"region","aria-label":e["aria-label"]||g.format("notifications",{count:t.visibleToasts.length})},n),b=(0,d.useRef)(!1),w=(0,d.useRef)(!1),E=(0,d.useCallback)(()=>{b.current||w.current?t.pauseAll():t.resumeAll()},[t]),{hoverProps:P}=(0,u.M)({onHoverStart:()=>{b.current=!0,E()},onHoverEnd:()=>{b.current=!1,E()}}),k=(0,d.useRef)([]),C=(0,d.useRef)(t.visibleToasts),T=(0,d.useRef)(null);(0,c.N)(()=>{if(-1===T.current||0===t.visibleToasts.length||!n.current){k.current=[],C.current=t.visibleToasts;return}if(k.current=[...n.current.querySelectorAll('[role="alertdialog"]')],C.current.length===t.visibleToasts.length&&t.visibleToasts.every((e,t)=>e.key===C.current[t].key)){C.current=t.visibleToasts;return}let e=C.current.map((e,n)=>({...e,i:n,isRemoved:!t.visibleToasts.some(t=>e.key===t.key)})),i=e.findIndex(e=>e.i===T.current&&e.isRemoved);if(i>-1)if("pointer"===(0,o.ME)()&&S.current?.isConnected)(0,r.e)(S.current);else{let t,n,o=0;for(;o<=i;)e[o].isRemoved||(n=Math.max(0,o-1)),o++;for(;o<e.length;){if(!e[o].isRemoved){t=o-1;break}o++}void 0===n&&void 0===t&&(n=0),n>=0&&n<k.current.length?(0,r.e)(k.current[n]):t>=0&&t<k.current.length&&(0,r.e)(k.current[t])}C.current=t.visibleToasts},[t.visibleToasts,n]);let S=(0,d.useRef)(null),{focusWithinProps:L}=(0,a.R)({onFocusWithin:e=>{w.current=!0,S.current=e.relatedTarget,E()},onBlurWithin:()=>{w.current=!1,S.current=null,E()}});return(0,d.useEffect)(()=>{0===t.visibleToasts.length&&S.current?.isConnected&&("pointer"===(0,o.ME)()?(0,r.e)(S.current):S.current.focus(),S.current=null)},[n,t.visibleToasts.length]),(0,d.useEffect)(()=>()=>{S.current?.isConnected&&("pointer"===(0,o.ME)()?(0,r.e)(S.current):S.current.focus(),S.current=null)},[n]),{regionProps:(0,s.v)(y,P,L,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:e=>{let t=(0,i.wt)(e).closest('[role="alertdialog"]');T.current=k.current.findIndex(e=>e===t)},onBlur:()=>{T.current=-1}})}}},77440(e,t,n){n.d(t,{O:()=>s,_:()=>l});var r=n(29226),i=n(43144),o=n(14041);function l(e,t=!0){let[n,i]=(0,o.useState)(!0),s=n&&t;return(0,r.N)(()=>{if(s&&e.current&&"getAnimations"in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,s]),a(e,s,(0,o.useCallback)(()=>i(!1),[])),s}function s(e,t){let[n,r]=(0,o.useState)(t?"open":"closed");switch(n){case"open":t||r("exiting");break;case"closed":case"exiting":t&&r("open")}let i="exiting"===n;return a(e,i,(0,o.useCallback)(()=>{r(e=>"exiting"===e?"closed":e)},[])),i}function a(e,t,n){(0,r.N)(()=>{if(t&&e.current){if(!("getAnimations"in e.current))return void n();let t=e.current.getAnimations();if(0===t.length)return void n();let r=!1;return Promise.allSettled(t.map(e=>e.finished)).then(()=>{r||(0,i.flushSync)(()=>{n()})}),()=>{r=!0}}},[e,t,n])}},23977(e,t,n){n.d(t,{c:()=>r});function r(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}},26157(e,t,n){n.d(t,{C:()=>i,m:()=>r});let r="react-aria-clear-focus",i="react-aria-focus"},3837(e,t,n){n.d(t,{Ng:()=>o,TW:()=>r,mD:()=>i});let r=e=>e?.ownerDocument??document,i=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window;function o(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}},59878(e,t,n){n.d(t,{$:()=>u});let r=new Set(["id"]),i=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),o=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),l=new Set(["dir","lang","hidden","inert","translate"]),s=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"]),a=/^(data-.*)$/;function u(e,t={}){let{labelable:n,isLink:c,global:d,events:f=d,propNames:p}=t,h={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&i.has(t)||c&&o.has(t)||d&&l.has(t)||f&&(s.has(t)||t.endsWith("Capture")&&s.has(t.slice(0,-7)))||p?.has(t)||a.test(t))&&(h[t]=e[t]);return h}},88563(e,t,n){function r(e){if(function(){if(null==i){i=!1;try{document.createElement("div").focus({get preventScroll(){return i=!0,!0}})}catch{}}return i}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}n.d(t,{e:()=>r});let i=null},28059(e,t,n){n.d(t,{m:()=>l});var r=n(3837);function i(e){let t=e?.defaultView;return t?.__webpack_nonce__||globalThis.__webpack_nonce__||void 0}let o=new WeakMap;function l(e){let t=e??("u">typeof document?document:void 0);if(!t)return i(t);if(o.has(t))return o.get(t);let n=t.querySelector('meta[property="csp-nonce"]'),l=n&&n instanceof(0,r.mD)(n).HTMLMetaElement&&(n.nonce||n.content)||i(t)||void 0;return void 0!==l&&o.set(t,l),l}},21317(e,t,n){n.d(t,{m:()=>i});var r=n(43121);function i(e,t){let n=e;for((0,r.o)(n,t)&&(n=n.parentElement);n&&!(0,r.o)(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}},87737(e,t,n){n.d(t,{Y:()=>i});var r=n(14041);function i(e){return parseInt(r.version.split(".")[0],10)>=19?e:e?"true":void 0}},68509(e,t,n){n.d(t,{A:()=>c,t:()=>u});var r=n(3837);let i="u">typeof Element&&"checkVisibility"in Element.prototype;function o(e,t){return i?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):"#comment"!==e.nodeName&&function(e){let t=(0,r.mD)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:i}=e.style,o="none"!==n&&"hidden"!==i&&"collapse"!==i;if(o){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);o="none"!==n&&"hidden"!==r&&"collapse"!==r}return o}(e)&&!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==e.nodeName||!t||"SUMMARY"===t.nodeName||e.hasAttribute("open"))&&(!e.parentElement||o(e.parentElement,e))}let l=["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"],s=l.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";l.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let a=l.join(':not([hidden]):not([tabindex="-1"]),');function u(e,t){return e.matches(s)&&!d(e)&&(t?.skipVisibilityCheck||o(e))}function c(e){return e.matches(a)&&o(e)&&!d(e)}function d(e){let t=e;for(;null!=t;){if(t instanceof t.ownerDocument.defaultView.HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}},43121(e,t,n){n.d(t,{o:()=>r});function r(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=document.scrollingElement||document.documentElement,i=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return e===r&&"hidden"!==n.overflow&&(i=!0),i&&t&&(i=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),i}},54649(e,t,n){n.d(t,{P:()=>o,Y:()=>i});var r=n(93523);function i(e){return""===e.pointerType&&!!e.isTrusted||((0,r.m0)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function o(e){return!(0,r.m0)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}},99597(e,t,n){n.d(t,{B:()=>i,o:()=>l});var r=n(93523);function i(e){return(0,r.cX)()?e.metaKey:e.ctrlKey}let o=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function l(e){return e instanceof HTMLInputElement&&!o.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}},28052(e,t,n){n.d(t,{v:()=>s});var r=n(23977),i=n(47499),o=n(92032),l=n(54357);function s(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let s=e[n];for(let e in s){let n=t[e],a=s[e];"function"==typeof n&&"function"==typeof a&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=(0,r.c)(n,a):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof a?t[e]=(0,l.A)(n,a):"id"===e&&n&&a?t.id=(0,i.Tw)(n,a):"ref"===e&&n&&a?t.ref=(0,o.P)(n,a):t[e]=void 0!==a?a:n}}return t}},92032(e,t,n){function r(...e){return 1===e.length&&e[0]?e[0]:t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return n||="function"==typeof r,r});if(n)return()=>{r.forEach((t,n)=>{"function"==typeof t?t():i(e[n],null)})}}}function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}n.d(t,{P:()=>r})},90970(e,t,n){n.d(t,{Fe:()=>c,HI:()=>f,PJ:()=>h,_h:()=>p,pg:()=>s,rd:()=>a});var r=n(88563),i=n(93523),o=n(14041);let l=(0,o.createContext)({isNative:!0,open:function(e,t){d(e,e=>c(e,t))},useHref:e=>e});function s(e){let{children:t,navigate:n,useHref:r}=e,i=(0,o.useMemo)(()=>({isNative:!1,open:(e,t,r,i)=>{d(e,e=>{u(e,t)?n(r,i):c(e,t)})},useHref:r||(e=>e)}),[n,r]);return o.createElement(l.Provider,{value:i},t)}function a(){return(0,o.useContext)(l)}function u(e,t){let n=e.getAttribute("target");return(!n||"_self"===n)&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function c(e,t,n=!0){let{metaKey:o,ctrlKey:l,altKey:s,shiftKey:a}=t;(0,i.gm)()&&window.event?.type?.startsWith("key")&&"_blank"===e.target&&((0,i.cX)()?o=!0:l=!0);let u=(0,i.Tc)()&&(0,i.cX)()&&!(0,i.bh)()&&1?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:o,ctrlKey:l,altKey:s,shiftKey:a}):new MouseEvent("click",{metaKey:o,ctrlKey:l,altKey:s,shiftKey:a,detail:1,bubbles:!0,cancelable:!0});c.isOpening=n,(0,r.e)(e),e.dispatchEvent(u),c.isOpening=!1}function d(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function f(e){let t=a().useHref(e.href??"");return{"data-href":e.href?t:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function p(e){let t=a().useHref(e?.href??"");return{href:e?.href?t:void 0,target:e?.target,rel:e?.rel,download:e?.download,ping:e?.ping,referrerPolicy:e?.referrerPolicy}}function h(e,t,n,r){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&u(e.currentTarget,e)&&n&&(e.preventDefault(),t.open(e.currentTarget,e,n,r))}c.isOpening=!1},93523(e,t,n){function r(e){if("u"<typeof window||null==window.navigator)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function i(e){return"u">typeof window&&null!=window.navigator&&e.test(window.navigator.userAgentData?.platform||window.navigator.platform)}function o(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{H8:()=>f,Tc:()=>d,bh:()=>a,cX:()=>l,gm:()=>h,lg:()=>c,m0:()=>p,un:()=>u});let l=o(function(){return i(/^Mac/i)}),s=o(function(){return i(/^iPhone/i)}),a=o(function(){return i(/^iPad/i)||l()&&navigator.maxTouchPoints>1}),u=o(function(){return s()||a()}),c=o(function(){return l()||u()}),d=o(function(){return r(/AppleWebKit/i)&&!f()}),f=o(function(){return r(/Chrome/i)}),p=o(function(){return r(/Android/i)}),h=o(function(){return r(/Firefox/i)})},59792(e,t,n){n.d(t,{v:()=>s});var r=n(34122);let i=new Map,o=new Set;function l(){if("u"<typeof window)return;function e(e){return"propertyName"in e}let t=n=>{let l=(0,r.wt)(n);if(!e(n)||!l)return;let s=i.get(l);if(s&&(s.delete(n.propertyName),0===s.size&&(l.removeEventListener("transitioncancel",t),i.delete(l)),0===i.size)){for(let e of o)e();o.clear()}};document.body.addEventListener("transitionrun",n=>{let o=(0,r.wt)(n);if(!e(n)||!o)return;let l=i.get(o);l||(l=new Set,i.set(o,l),o.addEventListener("transitioncancel",t,{once:!0})),l.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function s(e){requestAnimationFrame(()=>{for(let[e]of i)"isConnected"in e&&!e.isConnected&&i.delete(e);0===i.size?e():o.add(e)})}"u">typeof document&&("loading"!==document.readyState?l():document.addEventListener("DOMContentLoaded",l))},25435(e,t,n){n.d(t,{R:()=>l,o:()=>s});var r=n(43121);function i(e,t){let n=[],i=document.scrollingElement||document.documentElement;do(0,r.o)(e,t)&&n.push(e),e=e.parentElement;while(e&&e!==i);return n}var o=n(93523);function l(e,t,n={}){let{block:r="nearest",inline:i="nearest"}=n;if(e===t)return;let s=e.scrollTop,a=e.scrollLeft,u=t.getBoundingClientRect(),c=e.getBoundingClientRect(),d=window.getComputedStyle(t),f=window.getComputedStyle(e),p=document.scrollingElement||document.documentElement,h=e===p?0:c.top,m=e===p?e.clientHeight:c.bottom,g=e===p?0:c.left,v=e===p?e.clientWidth:c.right,y=parseInt(d.scrollMarginTop,10)||0,b=parseInt(d.scrollMarginBottom,10)||0,w=parseInt(d.scrollMarginLeft,10)||0,E=parseInt(d.scrollMarginRight,10)||0,P=parseInt(f.scrollPaddingTop,10)||0,k=parseInt(f.scrollPaddingBottom,10)||0,C=parseInt(f.scrollPaddingLeft,10)||0,T=parseInt(f.scrollPaddingRight,10)||0,S=parseInt(f.borderTopWidth,10)||0,L=parseInt(f.borderBottomWidth,10)||0,N=parseInt(f.borderLeftWidth,10)||0,x=parseInt(f.borderRightWidth,10)||0,K=u.top-y,M=u.bottom+b,D=u.left-w,R=u.right+E,F=e===p?0:N+x,A=e===p?0:S+L,I=e.offsetWidth-e.clientWidth-F,O=e.offsetHeight-e.clientHeight-A,H=h+S+P,B=m-L-k-O,_=g+N+C,z=v-x-T;"rtl"!==f.direction||(0,o.un)()?z-=I:_+=I;let $=K<H||M>B,W=D<_||R>z;if($&&"start"===r)s+=K-H;else if($&&"center"===r)s+=(K+M)/2-(H+B)/2;else if($&&"end"===r)s+=M-B;else if($&&"nearest"===r){let e=K-H,t=M-B;s+=Math.abs(e)<=Math.abs(t)?e:t}if(W&&"start"===i)a+=D-_;else if(W&&"center"===i)a+=(D+R)/2-(_+z)/2;else if(W&&"end"===i)a+=R-z;else if(W&&"nearest"===i){let e=D-_,t=R-z;a+=Math.abs(e)<=Math.abs(t)?e:t}e.scrollTo({left:a,top:s})}function s(e,t={}){let{containingElement:n}=t;if(e&&e.isConnected){let t=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(t).overflow){let{left:t,top:r}=e.getBoundingClientRect(),o=i(e,!0);for(let t of o)l(t,e);let{left:s,top:a}=e.getBoundingClientRect();if(Math.abs(t-s)>1||Math.abs(r-a)>1)for(let e of o=n?i(n,!0):[])l(e,n,{block:"center",inline:"center"})}else{let{left:t,top:r}=e.getBoundingClientRect();e?.scrollIntoView?.({block:"nearest"});let{left:i,top:o}=e.getBoundingClientRect();(Math.abs(t-i)>1||Math.abs(r-o)>1)&&(n?.scrollIntoView?.({block:"center",inline:"center"}),e.scrollIntoView?.({block:"nearest"}))}}}},34122(e,t,n){n.d(t,{ae:()=>a,bq:()=>l,sD:()=>o,wt:()=>s});var r=n(3837),i=n(17876);function o(e,t){if(!(0,i.Nf)())return!!t&&!!e&&e.contains(t);if(!e||!t)return!1;let n=t;for(;null!==n;){if(n===e)return!0;n="SLOT"===n.tagName&&n.assignedSlot?n.assignedSlot.parentNode:(0,r.Ng)(n)?n.host:n.parentNode}return!1}let l=(e=document)=>{if(!(0,i.Nf)())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function s(e){if((0,i.Nf)()&&e.target instanceof Element&&e.target.shadowRoot){if("composedPath"in e)return e.composedPath()[0]??null;else if("composedPath"in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function a(e){if(!e)return!1;let t=e.getRootNode(),n=(0,r.mD)(e);if(!(t instanceof n.Document||t instanceof n.ShadowRoot))return!1;let i=t.activeElement;return null!=i&&e.contains(i)}},22139(e,t,n){n.d(t,{H:()=>l});var r=n(34122),i=n(17876);class o{constructor(e,t,n,r){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){let t=e.shadowRoot;if(t){let e=this._doc.createTreeWalker(t,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(e),NodeFilter.FILTER_ACCEPT}if("function"==typeof this.filter)return this.filter(e);if(this.filter?.acceptNode)return this.filter.acceptNode(e);else if(null===this.filter)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=r??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));const i=t.shadowRoot;if(i){const e=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}get currentNode(){return this._currentNode}set currentNode(e){if(!(0,r.sD)(this.root,e))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t=[],n=e,i=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let e=n,r=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});t.push(r),r.currentNode=i,this._currentSetFor.add(r),n=i=e.host}else n=n.parentNode;let o=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(o),o.currentNode=i,this._currentSetFor.add(o),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return(0,r.sD)(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let e=this._walkerStack[0].lastChild();return e&&(this.currentNode=e),e}nextNode(){let e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){let t;if("function"==typeof this.filter?t=this.filter(e):this.filter?.acceptNode&&(t=this.filter.acceptNode(e)),t===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let n=this.nextNode();return n&&(this.currentNode=n),n}return e&&(this.currentNode=e),e}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.nextNode();return e&&(this.currentNode=e),e}}previousNode(){let e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e)&&(this._currentSetFor.delete(e),this._walkerStack.length>1)){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}let t=e.previousNode();if(t){if(t.shadowRoot){let e;if("function"==typeof this.filter?e=this.filter(t):this.filter?.acceptNode&&(e=this.filter.acceptNode(t)),e===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let n=this.lastChild();return n&&(this.currentNode=n),n}return t&&(this.currentNode=t),t}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function l(e,t,n,r){return(0,i.Nf)()?new o(e,t,n,r):e.createTreeWalker(t,n,r)}},38919(e,t,n){n.d(t,{I:()=>s});var r=n(29226),i=n(14041);let o=0,l=new Map;function s(e){let[t,n]=(0,i.useState)();return(0,r.N)(()=>{if(!e)return;let t=l.get(e);if(t)n(t.element.id);else{let r=`react-aria-description-${o++}`;n(r);let i=document.createElement("div");i.id=r,i.style.display="none",i.textContent=e,document.body.appendChild(i),t={refCount:0,element:i},l.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),l.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}},23900(e,t,n){n.d(t,{J:()=>l});var r=n(29226),i=n(14041);let o=i.useInsertionEffect??r.N;function l(e){let t=(0,i.useRef)(null);return o(()=>{t.current=e},[e]),(0,i.useCallback)((...e)=>{let n=t.current;return n?.(...e)},[])}},55273(e,t,n){n.d(t,{_:()=>o});var r=n(23900),i=n(14041);function o(e,t,n,o){let l=(0,r.J)(n),s=null==n;(0,i.useEffect)(()=>{if(s||!e.current)return;let n=e.current;return n.addEventListener(t,l,o),()=>{n.removeEventListener(t,l,o)}},[e,t,o,s])}},75230(e,t,n){n.d(t,{F:()=>o});var r=n(23900),i=n(14041);function o(e,t,n){let o=(0,r.J)(e=>{n&&!e.defaultPrevented&&n(t)});(0,i.useEffect)(()=>{let t=e?.current?.form;return t?.addEventListener("reset",o),()=>{t?.removeEventListener("reset",o)}},[e])}},98417(e,t,n){n.d(t,{A:()=>i});var r=n(14041);function i(){let e=(0,r.useRef)(new Map),t=(0,r.useCallback)((t,n,r,i)=>{let o=i?.once?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:o,options:i}),t.addEventListener(n,o,i)},[]),n=(0,r.useCallback)((t,n,r,i)=>{let o=e.current.get(r)?.fn||r;t.removeEventListener(n,o,i),e.current.delete(r)},[]),i=(0,r.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,r.useEffect)(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:i}}},47499(e,t,n){let r;n.d(t,{X1:()=>d,Tw:()=>c,Bi:()=>u});var i=n(29226),o=n(83146),l=n(14041);let s=!!("u">typeof window&&window.document&&window.document.createElement),a=new Map;function u(e){let[t,n]=(0,l.useState)(e),u=(0,l.useRef)(null),c=(0,o.Cc)(t),d=(0,l.useRef)(null);if(r&&r.register(d,c),s){let e=a.get(c);e&&!e.includes(u)?e.push(u):a.set(c,[u])}return(0,i.N)(()=>()=>{r&&r.unregister(d),a.delete(c)},[c]),(0,l.useEffect)(()=>{let e=u.current;return e&&n(e),()=>{e&&(u.current=null)}}),c}function c(e,t){if(e===t)return e;let n=a.get(e);if(n)return n.forEach(e=>e.current=t),t;let r=a.get(t);return r?(r.forEach(t=>t.current=e),e):t}function d(e=[]){let t=u(),[n,r]=function(e){let[t,n]=(0,l.useState)(e),r=(0,l.useRef)(t),o=(0,l.useRef)(null),s=(0,l.useRef)(()=>{if(!o.current)return;let e=o.current.next();if(e.done){o.current=null;return}r.current===e.value?s.current():n(e.value)});return(0,i.N)(()=>{r.current=t,o.current&&s.current()}),[t,(0,l.useCallback)(e=>{o.current=e(r.current),s.current()},[s])]}(t),o=(0,l.useCallback)(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return(0,i.N)(o,[t,o,...e]),n}"u">typeof FinalizationRegistry&&(r=new FinalizationRegistry(e=>{a.delete(e)}))},5554(e,t,n){n.d(t,{b:()=>i});var r=n(47499);function i(e,t){let{id:n,"aria-label":i,"aria-labelledby":o}=e;return n=(0,r.Bi)(n),o&&i?o=[...new Set([n,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),i||o||!t||(i=t),{id:n,"aria-label":i,"aria-labelledby":o}}},29226(e,t,n){n.d(t,{N:()=>i});var r=n(14041);let i="u">typeof document?r.useLayoutEffect:()=>{}},5548(e,t,n){n.d(t,{n:()=>s});var r=n(21317),i=n(23900),o=n(29226),l=n(14041);function s(e,t){let{collection:n,onLoadMore:s,scrollOffset:a=1}=e,u=(0,l.useRef)(null),c=(0,i.J)(e=>{for(let t of e)t.isIntersecting&&s&&s()});(0,o.N)(()=>(t.current&&(u.current=new IntersectionObserver(c,{root:(0,r.m)(t?.current),rootMargin:`0px ${100*a}% ${100*a}% ${100*a}%`}),u.current.observe(t.current)),()=>{u.current&&u.current.disconnect()}),[n,t,a])}},54469(e,t,n){n.d(t,{U:()=>i});var r=n(14041);function i(e){let t=(0,r.useRef)(null),n=(0,r.useRef)(void 0),i=(0,r.useCallback)(t=>{if("function"==typeof e){let n=e(t);return()=>{"function"==typeof n?n():e(null)}}if(e)return e.current=t,()=>{e.current=null}},[e]);return(0,r.useMemo)(()=>({get current(){return t.current},set current(value){t.current=value,n.current&&(n.current(),n.current=void 0),null!=value&&(n.current=i(value))}}),[i])}},83869(e,t,n){n.d(t,{w:()=>o});var r=n(23900),i=n(14041);function o(e){let{ref:t,box:n,onResize:o}=e,l=(0,r.J)(o);(0,i.useEffect)(()=>{let e=t?.current;if(e)if(void 0===window.ResizeObserver)return window.addEventListener("resize",l,!1),()=>{window.removeEventListener("resize",l,!1)};else{let t=new window.ResizeObserver(e=>{e.length&&l()});return t.observe(e,{box:n}),()=>{e&&t.unobserve(e)}}},[t,n])}},58801(e,t,n){n.d(t,{w:()=>i});var r=n(29226);function i(e,t){(0,r.N)(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}},47090(e,t,n){n.d(t,{l:()=>u});var r=n(34122),i=n(93523),o=n(83146),l=n(99597),s=n(14041);let a="u">typeof document&&window.visualViewport;function u(){let e=(0,o.wR)(),[t,n]=(0,s.useState)(()=>e?{width:0,height:0}:c());return(0,s.useEffect)(()=>{let e,t=e=>{n(t=>e.width===t.width&&e.height===t.height?t:e)},o=()=>{a&&a.scale>1||t(c())},s=n=>{a&&a.scale>1||(0,l.o)((0,r.wt)(n))&&(e=requestAnimationFrame(()=>{let e=(0,r.bq)();e&&(0,l.o)(e)||t({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return t(c()),(0,i.un)()&&window.addEventListener("blur",s,!0),a?a.addEventListener("resize",o):window.addEventListener("resize",o),()=>{cancelAnimationFrame(e),(0,i.un)()&&window.removeEventListener("blur",s,!0),a?a.removeEventListener("resize",o):window.removeEventListener("resize",o)}},[]),t}function c(){return{width:a?Math.min(a.width*a.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:a?a.height*a.scale:document.documentElement.clientHeight}}},84112(e,t,n){n.d(t,{w:()=>m});var r=n(34122);let i=null;var o=n(23900),l=n(29226),s=n(66030),a=n(54469),u=n(83869),c=n(43144),d=n(13215),f=n(35616),p=n(13377),h=n(14041);function m(e,t){let{contentSize:n,onVisibleRectChange:a,onSizeChange:m,innerStyle:g,onScrollStart:v,onScrollEnd:y,scrollDirection:b="both",onScroll:w,allowsWindowScrolling:E,...P}=e,k=(0,h.useRef)({scrollPosition:new(0,d.b),size:new(0,f.o),viewportOffset:new(0,d.b),viewportSize:new(0,f.o),scrollEndTime:0,scrollTimeout:null,isScrolling:!1,lastVisibleRect:new(0,p.r)}).current,{direction:C}=(0,s.Y)(),T=(0,h.useCallback)(()=>{let e=E?new(0,p.r)(k.viewportOffset.x+k.scrollPosition.x,k.viewportOffset.y+k.scrollPosition.y,Math.max(0,Math.min(k.size.width-k.viewportOffset.x,k.viewportSize.width)),Math.max(0,Math.min(k.size.height-k.viewportOffset.y,k.viewportSize.height))):new(0,p.r)(k.scrollPosition.x,k.scrollPosition.y,k.size.width,k.size.height);(e.area>0||k.lastVisibleRect.area>0)&&(a(e),k.lastVisibleRect=e)},[k,E,a]),[S,L]=(0,h.useState)(!1),N=(0,h.useCallback)(e=>{let o=(0,r.wt)(e);if((0,r.sD)(o,t.current)){if(w&&o===t.current&&w(e),o!==t.current){let e=t.current.getBoundingClientRect(),n=e.x<0?-e.x:0,r=e.y<0?-e.y:0;if(n===k.viewportOffset.x&&r===k.viewportOffset.y)return;k.viewportOffset=new(0,d.b)(n,r)}else{let e=o.scrollTop,t=function(e,t){let{scrollLeft:n}=e;if("rtl"===t){let{scrollWidth:t,clientWidth:r}=e;switch(function(e=!1){if(null===i||e){let e=document.createElement("div"),t=e.style;t.width="50px",t.height="50px",t.overflow="scroll",t.direction="rtl";let n=document.createElement("div"),r=n.style;r.width="100px",r.height="100px",e.appendChild(n),document.body.appendChild(e),e.scrollLeft>0?i="positive-descending":(e.scrollLeft=1,i=0===e.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(e)}return i}()){case"negative":n=-n;break;case"positive-descending":n=t-r-n}}return n}(o,C);k.scrollPosition=new(0,d.b)(Math.max(0,Math.min(t,n.width-k.size.width)),Math.max(0,Math.min(e,n.height-k.size.height)))}(0,c.flushSync)(()=>{T(),!k.isScrolling&&(k.isScrolling=!0,L(!0),window.dispatchEvent(new Event("tk.disconnect-observer")),v&&v());let e=Date.now();k.scrollEndTime<=e+50&&(k.scrollEndTime=e+300,null!=k.scrollTimeout&&clearTimeout(k.scrollTimeout),k.scrollTimeout=setTimeout(()=>{k.isScrolling=!1,L(!1),k.scrollTimeout=null,window.dispatchEvent(new Event("tk.connect-observer")),y&&y()},300))})}},[w,t,C,k,n,T,v,y]);(0,h.useEffect)(()=>(document.addEventListener("scroll",N,!0),()=>document.removeEventListener("scroll",N,!0)),[N]),(0,h.useEffect)(()=>()=>{null!=k.scrollTimeout&&clearTimeout(k.scrollTimeout),k.isScrolling&&window.dispatchEvent(new Event("tk.connect-observer"))},[]);let x=(0,h.useRef)(!1),K=(0,h.useCallback)(e=>{let n=t.current;if(!n||x.current)return;x.current=!0,Object.getOwnPropertyNames(window.HTMLElement.prototype).includes("clientWidth"),Object.getOwnPropertyNames(window.HTMLElement.prototype).includes("clientHeight");let r=n.clientWidth,i=n.clientHeight,o=window.innerWidth,l=window.innerHeight,s=k.viewportSize.width!==o||k.viewportSize.height!==l;s&&(k.viewportSize=new(0,f.o)(o,l)),(k.size.width!==r||k.size.height!==i||s)&&(k.size=new(0,f.o)(r,i),e(()=>{T(),m?.(k.size)}),(r!==n.clientWidth||i!==n.clientHeight)&&(k.size=new(0,f.o)(n.clientWidth,n.clientHeight),e(()=>{T(),m?.(k.size)}))),x.current=!1},[t,k,T,m]),M=(0,o.J)(K);(0,l.N)(()=>{k.viewportSize=new(0,f.o)(window.innerWidth,window.innerHeight);let e=()=>{M(c.flushSync)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[k]);let D=(0,h.useRef)(null),[R,F]=(0,h.useState)({});(0,l.N)(()=>{if(!x.current&&(null==D.current||!n.equals(D.current)))if("boolean"==typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:"u">typeof jest){F({}),D.current=n;return}else queueMicrotask(()=>M(c.flushSync));D.current=n}),(0,l.N)(()=>{M(e=>e())},[R]);let A=(0,h.useCallback)(()=>{K(c.flushSync)},[K]);(0,u.w)({ref:t,box:"border-box",onResize:A});let I={padding:0,...P.style};return"horizontal"===b?(I.overflowX="auto",I.overflowY="hidden"):"vertical"===b||n.width===k.size.width?(I.overflowY="auto",I.overflowX="hidden"):I.overflow="auto",g={width:Number.isFinite(n.width)?n.width:void 0,height:Number.isFinite(n.height)?n.height:void 0,pointerEvents:S?"none":"auto",position:"relative",...g},{isScrolling:S,scrollViewProps:{...P,style:I},contentProps:{role:"presentation",style:g}}}h.forwardRef(function(e,t){let{scrollViewProps:n,contentProps:r}=m(e,t=(0,a.U)(t));return h.createElement("div",{role:"presentation",...n,ref:t},h.createElement("div",r,e.children))})},72898(e,t,n){n.d(t,{D:()=>s});var r=n(66030),i=n(29226),o=n(35616),l=n(14041);function s(e){let{style:t,className:n,layoutInfo:s,virtualizer:u,parent:c,children:d}=e,{direction:f}=(0,r.Y)(),p=(0,l.useRef)(null);return!function(e){let{layoutInfo:t,virtualizer:n,ref:r}=e,s=t?.key,a=(0,l.useCallback)(()=>{if(null!=s&&r.current){var e;let t,i,l=(t=(e=r.current).style.height,e.style.height="",i=new(0,o.o)(e.scrollWidth,e.scrollHeight),e.style.height=t,i);n.updateItemSize(s,l)}},[n,s,r]);(0,i.N)(()=>{t?.estimatedSize&&a()})}({layoutInfo:s,virtualizer:u,ref:p}),l.createElement("div",{role:"presentation",ref:p,className:n,style:{...function(e,t,n){let r="rtl"===t?"right":"left",i=a.get(e);if(i&&null!=i[r]){if(!n)return i;let t=e.rect.y-n.rect.y,o=e.rect.x-n.rect.x;if(i.top===t&&i[r]===o)return i}let o={top:e.rect.y-(n&&!(n.allowOverflow&&e.isSticky)?n.rect.y:0),[r]:e.rect.x-(n&&!(n.allowOverflow&&e.isSticky)?n.rect.x:0),width:e.rect.width,height:e.rect.height};Object.entries(o).forEach(([e,t])=>{Number.isFinite(t)||(o[e]=void 0)});let l={position:e.isSticky?"sticky":"absolute",display:e.isSticky?"inline-block":void 0,overflow:e.allowOverflow?"visible":"hidden",opacity:e.opacity,zIndex:e.zIndex,transform:e.transform??void 0,contain:"size layout style",...o};return a.set(e,l),l}(s,f,c),...t}},d)}let a=new WeakMap},32120(e,t,n){n.d(t,{B:()=>s,s:()=>a});var r=n(28052),i=n(28176),o=n(14041);let l={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 s(e={}){let{style:t,isFocusable:n}=e,[r,a]=(0,o.useState)(!1),{focusWithinProps:u}=(0,i.R)({isDisabled:!n,onFocusWithinChange:e=>a(e)}),c=(0,o.useMemo)(()=>r?t:t?{...l,...t}:l,[r]);return{visuallyHiddenProps:{...u,style:c}}}function a(e){let{children:t,elementType:n="div",isFocusable:i,style:l,...a}=e,{visuallyHiddenProps:u}=s(e);return o.createElement(n,(0,r.v)(a,u),t)}}}]);
13
- //# sourceMappingURL=module-react-aria.e3e38de1.js.map