@techdocs/cli 1.10.8-next.0 → 1.11.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/commands/generate/generate.cjs.js +2 -0
- package/dist/commands/generate/generate.cjs.js.map +1 -1
- package/dist/commands/index.cjs.js +4 -0
- package/dist/commands/index.cjs.js.map +1 -1
- package/dist/embedded-app/.config-schema.json +85 -85
- package/dist/embedded-app/index.html +1 -1
- package/dist/embedded-app/index.html.tmpl +1 -1
- package/dist/embedded-app/static/{1659.d3caa6c5.chunk.js → 1659.d55e1e7e.chunk.js} +2 -2
- package/dist/embedded-app/static/{1659.d3caa6c5.chunk.js.map → 1659.d55e1e7e.chunk.js.map} +1 -1
- package/dist/embedded-app/static/1749.1749.9bd71ea7.css +2 -0
- package/dist/embedded-app/static/1749.1749.9bd71ea7.css.map +1 -0
- package/dist/embedded-app/static/1749.3363c017.chunk.js +2 -0
- package/dist/embedded-app/static/1749.3363c017.chunk.js.map +1 -0
- package/dist/embedded-app/static/1994.1994.c97915be.css +2 -0
- package/dist/embedded-app/static/1994.1994.c97915be.css.map +1 -0
- package/dist/embedded-app/static/1994.807cdf9c.chunk.js +2 -0
- package/dist/embedded-app/static/1994.807cdf9c.chunk.js.map +1 -0
- package/dist/embedded-app/static/2295.2295.a6e701d5.css +2 -0
- package/dist/embedded-app/static/2295.2295.a6e701d5.css.map +1 -0
- package/dist/embedded-app/static/2295.affbb231.chunk.js +5 -0
- package/dist/embedded-app/static/2295.affbb231.chunk.js.map +1 -0
- package/dist/embedded-app/static/{4587.e2b4e8d1.chunk.js → 4587.5bdade78.chunk.js} +2 -2
- package/dist/embedded-app/static/{4587.e2b4e8d1.chunk.js.map → 4587.5bdade78.chunk.js.map} +1 -1
- package/dist/embedded-app/static/4648.4648.5cd21ea2.css +2 -0
- package/dist/embedded-app/static/4648.4648.5cd21ea2.css.map +1 -0
- package/dist/embedded-app/static/4648.f4e33ba3.chunk.js +2 -0
- package/dist/embedded-app/static/4648.f4e33ba3.chunk.js.map +1 -0
- package/dist/embedded-app/static/6138.6138.22c5a34e.css +2 -0
- package/dist/embedded-app/static/6138.6138.22c5a34e.css.map +1 -0
- package/dist/embedded-app/static/6138.9f69a7c7.chunk.js +2 -0
- package/dist/embedded-app/static/6138.9f69a7c7.chunk.js.map +1 -0
- package/dist/embedded-app/static/7203.68fb62b5.chunk.js +2 -0
- package/dist/embedded-app/static/7203.68fb62b5.chunk.js.map +1 -0
- package/dist/embedded-app/static/7203.7203.a1eea317.css +2 -0
- package/dist/embedded-app/static/7203.7203.a1eea317.css.map +1 -0
- package/dist/embedded-app/static/9050.5b9e5c7b.chunk.js +2 -0
- package/dist/embedded-app/static/9050.5b9e5c7b.chunk.js.map +1 -0
- package/dist/embedded-app/static/9050.9050.0395ba44.css +2 -0
- package/dist/embedded-app/static/9050.9050.0395ba44.css.map +1 -0
- package/dist/embedded-app/static/9230.306648d7.chunk.js +2 -0
- package/dist/embedded-app/static/9230.306648d7.chunk.js.map +1 -0
- package/dist/embedded-app/static/9230.9230.219d1ca0.css +2 -0
- package/dist/embedded-app/static/9230.9230.219d1ca0.css.map +1 -0
- package/dist/embedded-app/static/main.b226bb87.css +2 -0
- package/dist/embedded-app/static/main.b226bb87.css.map +1 -0
- package/dist/embedded-app/static/main.bf467822.js +523 -0
- package/dist/embedded-app/static/main.bf467822.js.map +1 -0
- package/dist/embedded-app/static/module-react-aria-components.92fb2156.js +2 -0
- package/dist/embedded-app/static/{module-react-aria-components.d7b73980.js.map → module-react-aria-components.92fb2156.js.map} +1 -1
- package/dist/embedded-app/static/{module-react-aria.ee611fa4.js → module-react-aria.e3e38de1.js} +2 -2
- package/dist/embedded-app/static/{module-react-aria.ee611fa4.js.map → module-react-aria.e3e38de1.js.map} +1 -1
- package/dist/embedded-app/static/module-remixicon.341273f1.js.map +1 -1
- package/dist/embedded-app/static/{runtime.c1e06c6b.js → runtime.4ae6f2de.js} +2 -2
- package/dist/embedded-app/static/{runtime.c1e06c6b.js.map → runtime.4ae6f2de.js.map} +1 -1
- package/dist/embedded-app/static/vendor.d9ce079c.js +16 -0
- package/dist/embedded-app/static/vendor.d9ce079c.js.map +1 -0
- package/dist/package.json.cjs.js +1 -1
- package/package.json +5 -5
- package/dist/embedded-app/static/1749.1749.8baddcfb.css +0 -2
- package/dist/embedded-app/static/1749.1749.8baddcfb.css.map +0 -1
- package/dist/embedded-app/static/1749.be57cbd0.chunk.js +0 -2
- package/dist/embedded-app/static/1749.be57cbd0.chunk.js.map +0 -1
- package/dist/embedded-app/static/1994.1994.ffd8676b.css +0 -2
- package/dist/embedded-app/static/1994.1994.ffd8676b.css.map +0 -1
- package/dist/embedded-app/static/1994.2981f452.chunk.js +0 -2
- package/dist/embedded-app/static/1994.2981f452.chunk.js.map +0 -1
- package/dist/embedded-app/static/2295.2295.936ed793.css +0 -2
- package/dist/embedded-app/static/2295.2295.936ed793.css.map +0 -1
- package/dist/embedded-app/static/2295.ee548019.chunk.js +0 -5
- package/dist/embedded-app/static/2295.ee548019.chunk.js.map +0 -1
- package/dist/embedded-app/static/4648.07315500.chunk.js +0 -2
- package/dist/embedded-app/static/4648.07315500.chunk.js.map +0 -1
- package/dist/embedded-app/static/4648.4648.c470d11c.css +0 -2
- package/dist/embedded-app/static/4648.4648.c470d11c.css.map +0 -1
- package/dist/embedded-app/static/6138.6138.e2289b5d.css +0 -2
- package/dist/embedded-app/static/6138.6138.e2289b5d.css.map +0 -1
- package/dist/embedded-app/static/6138.ba8a0164.chunk.js +0 -2
- package/dist/embedded-app/static/6138.ba8a0164.chunk.js.map +0 -1
- package/dist/embedded-app/static/7203.6919bbc3.chunk.js +0 -2
- package/dist/embedded-app/static/7203.6919bbc3.chunk.js.map +0 -1
- package/dist/embedded-app/static/7203.7203.cefa9a1b.css +0 -2
- package/dist/embedded-app/static/7203.7203.cefa9a1b.css.map +0 -1
- package/dist/embedded-app/static/9050.164f67fc.chunk.js +0 -2
- package/dist/embedded-app/static/9050.164f67fc.chunk.js.map +0 -1
- package/dist/embedded-app/static/9050.9050.90aa6155.css +0 -2
- package/dist/embedded-app/static/9050.9050.90aa6155.css.map +0 -1
- package/dist/embedded-app/static/9230.18c2fa11.chunk.js +0 -2
- package/dist/embedded-app/static/9230.18c2fa11.chunk.js.map +0 -1
- package/dist/embedded-app/static/9230.9230.a84ae986.css +0 -2
- package/dist/embedded-app/static/9230.9230.a84ae986.css.map +0 -1
- package/dist/embedded-app/static/main.c8ae213c.js +0 -523
- package/dist/embedded-app/static/main.c8ae213c.js.map +0 -1
- package/dist/embedded-app/static/main.f9ce547f.css +0 -2
- package/dist/embedded-app/static/main.f9ce547f.css.map +0 -1
- package/dist/embedded-app/static/module-react-aria-components.d7b73980.js +0 -2
- package/dist/embedded-app/static/vendor.4c22115e.js +0 -6
- package/dist/embedded-app/static/vendor.4c22115e.js.map +0 -1
package/dist/embedded-app/static/{module-react-aria.ee611fa4.js → module-react-aria.e3e38de1.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
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,{OJ:()=>l,Pt:()=>r,Wk:()=>u,_B:()=>s,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=`
|
|
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
2
|
@layer {
|
|
3
3
|
[${S}] {
|
|
4
4
|
touch-action: pan-x pan-y pinch-zoom;
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
overscroll-behavior: contain;
|
|
11
11
|
}
|
|
12
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.
|
|
13
|
+
//# sourceMappingURL=module-react-aria.e3e38de1.js.map
|